{"version":3,"sources":["styles/_info-page.module.scss","components/SolutionsSection/_solutions-section.module.scss","components/Slider/_slider.module.scss","components/QuotesSection/_quotes-section.module.scss","http/configs.js","utilities/guid.js","components/Notifications/actions.js","http/base.js","features/Loading/loadingTypes.js","features/Loading/loadingActions.js","components/Notifications/constants.js","components/Login/loginActions.js","components/Login/loginTypes.js","http/resources.js","http/interception.js","features/App/types.js","features/App/initials.js","features/App/reducers.js","components/Notifications/initials.js","components/Notifications/reducers.js","features/MemberProfile/GeneralInfo/types.js","features/MemberProfile/GeneralInfo/initials.js","features/MemberProfile/GeneralInfo/reducers.js","features/MemberProfile/FacilityInfo/FacilitiesSection/types.js","features/MemberProfile/FacilityInfo/FacilitiesSection/initials.js","features/MemberProfile/FacilityInfo/FacilitiesSection/reducers.js","features/MemberProfile/UsageLog/types.js","features/MemberProfile/UsageLog/initials.js","features/MemberProfile/UsageLog/reducers.js","features/AccountInfo/types.js","features/AccountInfo/initials.js","features/AccountInfo/reducers.js","features/AccountInfo/InsuranceInfo/types.js","features/AccountInfo/InsuranceInfo/initials.js","features/AccountInfo/InsuranceInfo/reducers.js","features/Partners/PartnersList/partnerListTypes.js","features/Partners/PartnersList/partnersListInitialState.js","features/Partners/PartnersList/partnersListReducer.js","features/Members/memberListTypes.js","features/Members/membersListInitialState.js","features/Members/membersListReducer.js","features/PartnerInfo/BankingInfo/partnerBankingInfoTypes.js","features/PartnerInfo/BankingInfo/partnerBankingInfoInitials.js","features/PartnerInfo/BankingInfo/partnerBankingInfoReducer.js","features/PartnerInfo/BillingInfo/partnerBillingInfoTypes.js","features/PartnerInfo/BillingInfo/partnerBillingInfoInitials.js","features/PartnerInfo/BillingInfo/partnerBillingInfoReducer.js","features/Shared/Partners/managePartnerTypes.js","features/Shared/Partners/managePartnerInitialState.js","features/Shared/Partners/managePartnerReducer.js","features/States/stateTypes.js","features/States/stateInitialState.js","features/States/stateReducer.js","features/Shared/PartnerManager/managePartnerManagerTypes.js","features/Shared/PartnerManager/managePartnerManagerInitialState.js","features/Shared/PartnerManager/managePartnerManagerReducer.js","features/Loading/loadingInitialState.js","features/Loading/loadingReducer.js","features/PartnerInfo/PartnerManagers/PartnerManagersList/partnerManagersListTypes.js","features/PartnerInfo/PartnerManagers/PartnerManagersList/partnerManagersListInitialState.js","features/PartnerInfo/PartnerManagers/PartnerManagersList/partnerManagersListReducer.js","features/ProgramTypes/programTypeTypes.js","features/ProgramTypes/programTypeInitialState.js","features/ProgramTypes/programTypeReducer.js","enums/programPaymentTypes.js","features/ProgramPaymentTypes/programPaymentTypeInitialState.js","features/ProgramPaymentTypes/programPaymentTypeReducer.js","enums/paymentTypes.js","features/PaymentTypes/partnerBillingTypeInitialState.js","features/PaymentTypes/partnerBillingTypeReducer.js","features/PaymentTypes/memberPaymentTypeInitialState.js","features/PaymentTypes/memberPaymentTypeReducer.js","features/GroupMemberships/GeneralInfo/groupMembershipsTypes.js","features/GroupMemberships/GeneralInfo/groupMembershipInitialState.js","features/GroupMemberships/GeneralInfo/groupMembershipsReducer.js","features/GroupMemberships/EmployeeManagement/employeeManagementTypes.js","features/GroupMemberships/EmployeeManagement/employeeManagementInitialState.js","features/GroupMemberships/EmployeeManagement/employeeManagementReducer.js","features/MemberArea/Dashboard/FacilityLocator/facilityLocatorTypes.js","features/MemberArea/Dashboard/FacilityLocator/facilityLocatorInitials.js","features/MemberArea/Dashboard/FacilityLocator/facilityLocatorReducer.js","features/MemberArea/Dashboard/FacilityLocator/FacilityLocatorMap/facilityLocatorMapTypes.js","features/MemberArea/Dashboard/FacilityLocator/FacilityLocatorMap/facilityLocatorMapInitials.js","utilities/geometry.js","features/MemberArea/Dashboard/FacilityLocator/FacilityLocatorMap/facilityLocatorMapReducer.js","features/Facilities/facilityTypes.js","features/Facilities/facilityInitialState.js","features/Facilities/facilityReducer.js","features/MemberProfile/FacilityInfo/LegalContract/legalContractInitialState.js","features/MemberProfile/FacilityInfo/LegalContract/legalContractReducer.js","features/MemberProfile/FacilityInfo/LegalContract/legalContractTypes.js","features/PartnerOwnerArea/partnerOwnerAreaTypes.js","features/PartnerOwnerArea/partnerOwnerAreaInitials.js","features/PartnerOwnerArea/partnerOwnerAreaReducer.js","features/PartnerManagerArea/partnerManagerAreaTypes.js","features/PartnerManagerArea/partnerManagerAreaInitials.js","features/PartnerManagerArea/partnerManagerAreaReducer.js","features/MemberArea/memberAreaTypes.js","features/MemberArea/memberAreaInitials.js","features/MemberArea/memberAreaReducer.js","features/WellnessProgramPayments/PartnerPaymentsSection/partnerPaymentsSectionTypes.js","enums/programTypes.js","features/WellnessProgramPayments/PartnerPaymentsSection/partnerPaymentsSectionInitialState.js","features/WellnessProgramPayments/wellnessProgramPaymentsResources.js","features/WellnessProgramPayments/PartnerPaymentsSection/partnerPaymentsSectionReducer.js","features/Shared/Periods/periodsTypes.js","features/Shared/Periods/periodsInitialState.js","features/Shared/Periods/periodsReducer.js","features/WellnessProgramPayments/PartnerPaymentWithdrawalSection/partnerPaymentWithdrawalSectionInitialState.js","features/WellnessProgramPayments/PartnerPaymentWithdrawalSection/partnerPaymentWithdrawalSectionTypes.js","features/WellnessProgramPayments/PartnerPaymentWithdrawalSection/partnerPaymentWithdrawalSectionReducer.js","features/WellnessProgramPayments/FacilityPaymentDepositSection/facilityPaymentDepositSectionInitialState.js","features/WellnessProgramPayments/FacilityPaymentDepositSection/facilityPaymentDepositSectionTypes.js","features/WellnessProgramPayments/FacilityPaymentDepositSection/facilityPaymentDepositSectionReducer.js","features/GroupMemberships/VisitLog/visitLogTabTypes.js","features/GroupMemberships/VisitLog/visitLogTabInitialState.js","features/GroupMemberships/VisitLog/visitLogTabReducer.js","features/GroupMemberships/PartnerGroupMembershipsPayments/partnerGroupMemberhipsPaymentsTypes.js","features/GroupMemberships/PartnerGroupMembershipsPayments/partnerGroupMemberhipsPaymentsInitialState.js","features/GroupMemberships/PartnerGroupMembershipsPayments/partnerGroupMemberhipsPaymentsReducer.js","features/WellnessProgramPayments/PartnerPaymentsGenerationSection/partnerPaymentsGenerationSectionInitialState.js","features/WellnessProgramPayments/PartnerPaymentsGenerationSection/partnerPaymentsGenerationSectionTypes.js","features/WellnessProgramPayments/PartnerPaymentsGenerationSection/partnerPaymentsGenerationSectionReducer.js","features/WellnessProgramPayments/FacilityPaymentsGenerationSection/facilityPaymentsGenerationSectionInitialState.js","features/WellnessProgramPayments/FacilityPaymentsGenerationSection/facilityPaymentsGenerationSectionTypes.js","features/WellnessProgramPayments/FacilityPaymentsGenerationSection/facilityPaymentsGenerationSectionReducer.js","features/WellnessProgramPayments/FacilityPaymentsSection/facilityPaymentsSectionTypes.js","features/WellnessProgramPayments/FacilityPaymentsSection/facilityPaymentsSectionInitialState.js","features/WellnessProgramPayments/FacilityPaymentsSection/facilityPaymentsSectionReducer.js","features/WellnessProgramPayments/MemberPaymentsTab/memberPaymentsInitialState.js","features/WellnessProgramPayments/MemberPaymentsTab/memberPaymentsTypes.js","features/WellnessProgramPayments/MemberPaymentsTab/memberPaymentsReducer.js","features/WellnessProgramPayments/wellnessProgramPaymentsInitialState.js","features/WellnessProgramPayments/wellnessProgramPaymentsTypes.js","features/WellnessProgramPayments/wellnessProgramPaymentsReducer.js","features/VoucherPrograms/VoucherProgramsList/voucherProgramsListTypes.js","features/VoucherPrograms/VoucherProgramsList/voucherProgramsListInitialState.js","features/VoucherPrograms/VoucherProgramsList/voucherProgramsListReducer.js","features/VoucherPrograms/VoucherProgram/voucherProgramTypes.js","features/VoucherPrograms/VoucherProgram/voucherProgramInitialState.js","features/VoucherPrograms/VoucherProgram/voucherProgramReducer.js","features/VoucherPrograms/RecipientsList/recipientsListTypes.js","features/VoucherPrograms/RecipientsList/recipientsListInitialState.js","features/VoucherPrograms/RecipientsList/recipientsListReducer.js","components/ClubLocatorSection/clubLocatorSectionTypes.js","components/ClubLocatorSection/clubLocatorSectionInitials.js","components/ClubLocatorSection/clubLocatorSectionReducer.js","components/Login/loginInitialState.js","components/Login/loginReducer.js","components/ForgotPassword/forgotPasswordTypes.js","components/ForgotPassword/forgotPasswordState.js","components/ForgotPassword/forgotPasswordReducer.js","features/App/GuestArea/ContactUs/contactUsTypes.js","features/App/GuestArea/ContactUs/contactUsInitialState.js","features/App/GuestArea/ContactUs/contactUsReducer.js","features/Members/FacilitySearchBox/facilitySearchBoxTypes.js","features/Members/FacilitySearchBox/facilitySearchBoxState.js","features/Members/FacilitySearchBox/facilitySearchBoxReducer.js","features/Members/MemberTransfer/MemberTransferTypes.js","features/Members/MemberTransfer/MemberTransferInitialState.js","features/Members/MemberTransfer/memberTransferReducer.js","features/Shared/UploadRecipientsResults/uploadRecipientsResultsTypes.js","features/Shared/UploadRecipientsResults/uploadRecipientsResultsInitialState.js","features/Shared/UploadRecipientsResults/uploadRecipientsResultsReducer.js","features/PaymentTypes/paymentTypeInitialState.js","features/PaymentTypes/paymentTypeReducer.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/agreementFormTypes.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/agreementFormInitialState.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/agreementFormReducer.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractForm/legalContractFormTypes.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractForm/legalContractFormInitialState.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractForm/legalContractFormReducer.js","components/PlansFilter/plansFilterInitials.js","components/PlansFilter/plansFilterTypes.js","components/PlansFilter/plansFilterReducer.js","features/AccountInfo/BillingInfo/billingInfoTypes.js","features/AccountInfo/BillingInfo/billingInfoInitialState.js","enums/bankOperationTypes.js","features/AccountInfo/BillingInfo/billingInfoReducer.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/paymentDetailsFormTypes.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/paymentDetailsFormInitialState.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/paymentDetailsFormReducer.js","features/AccountInfo/Reimbursement/reimbursementTypes.js","features/AccountInfo/Reimbursement/reimbursementInitials.js","features/AccountInfo/Reimbursement/reimbursementReducers.js","features/MemberArea/Dashboard/Home/homeTypes.js","features/MemberArea/Dashboard/Home/homeInitials.js","features/MemberArea/Dashboard/Home/homeReducer.js","store/rootReducer.js","features/App/service.js","features/Shared/ChangePassword/changePasswordService.js","utilities/routeHelper.js","features/Partners/PartnersList/partnersListService.js","features/Shared/Partners/managePartnerService.js","features/States/stateService.js","features/Shared/PartnerManager/managePartnerManagerService.js","features/ProgramTypes/programTypeService.js","http/services.js","features/MemberProfile/UsageLog/service.js","features/MemberProfile/GeneralInfo/service.js","features/AccountInfo/service.js","features/MemberProfile/FacilityInfo/FacilitiesSection/service.js","features/AccountInfo/InsuranceInfo/service.js","utilities/next.js","store/configureStore.js","enums/roles.js","assets/icons/ic-icon-success.svg","assets/icons/ic-icon-error.svg","assets/icons/ic-icon-warning.svg","assets/icons/ic-menu-icon-account.svg","assets/icons/ic-menu-icon-member.svg","assets/icons/ic-menu-icon-dashboard.svg","assets/icons/ic-icon-close.svg","assets/icons/ic-action-icon-login.svg","assets/icons/ic-action-icon-user.svg","assets/icons/ic-action-eye-visible.svg","assets/icons/ic-action-eye-invisible.svg","assets/icons/ic-icon-attention.svg","assets/icons/ic-action-icon-arrow-input.svg","assets/icons/ic-icon-yes.svg","assets/icons/ic-icon-no.svg","assets/icons/ic-action-arrow-up.svg","assets/icons/ic-action-arrow-down.svg","assets/icons/pin_72px_1x.svg","assets/icons/pin_selected_72px_1x.svg","assets/icons/warning.svg","assets/icons/warning-red.svg","assets/icons/warning-yellow.svg","assets/icons/new-arrow-up.svg","assets/icons/new-arrow-down.svg","routing/routes.js","layouts/CustomRoute.jsx","features/Partners/PartnersPage.jsx","components/controls/InputSelect.jsx","components/Icon/Icon.jsx","components/controls/InputText.jsx","components/InfoBox/SortIcon.jsx","components/InfoBox/tableResources.js","components/InfoBox/Table.jsx","components/controls/Button.jsx","components/InfoBox/ActionCell.jsx","components/Spinner/Spinner.jsx","features/Partners/PartnersList/partnersListActions.js","features/Shared/Partners/partnerResources.js","features/Partners/PartnersList/partnersListSelectors.js","components/InfoBox/InfoBox.jsx","components/InfoBox/InfoBoxRow.jsx","features/Partners/PartnersList/PartnersList.jsx","features/PartnerOwnerArea/partnerOwnerAreaActions.js","features/Shared/Partners/managePartnerActions.js","components/controls/FormGroup.jsx","components/MaterialIcon/MaterialIcon.jsx","components/controls/MuiInputText.jsx","components/controls/MuiButton.jsx","utilities/form.js","utilities/parseBigInt.js","utilities/validationRules.js","constants/formats.js","features/Shared/Partners/partnerValidation.js","components/controls/MuiTextArea.jsx","components/controls/InputCheckbox.jsx","components/controls/CheckBoxGroup.jsx","features/Shared/resources.js","features/Shared/Partners/ManagePartnerForm.jsx","features/States/stateActions.js","features/Partners/AddPartner/addPartnerPageSelectors.js","components/CardInfo/CardInfo.jsx","features/ProgramTypes/programTypeActions.js","features/Partners/AddPartner/AddPartnerPage.jsx","features/PartnerInfo/partnerInfoSelectors.js","components/NavigationTabControl/NavigationTabControl.jsx","constants/keyCodes.js","routing/conditionalRedirect.jsx","features/PartnerInfo/BankingInfo/partnerBankingInfoService.js","features/PartnerInfo/BankingInfo/partnerBankingInfoActions.js","features/PartnerInfo/PartnerInfoPage.jsx","features/PartnerInfo/GeneralInfo/generalInfoSelectors.js","features/PartnerInfo/GeneralInfo/GeneralInfoTab.jsx","features/PartnerInfo/BankingInfo/partnerBankingInfoSelectors.js","components/controls/MuiRadioGroup.jsx","enums/bankAccountTypes.js","features/Shared/BankingInfo/bankingInfoResources.js","features/Shared/BankingInfo/validate.js","features/Shared/BankingInfo/BankingInfoForm.jsx","components/AdditionalDetails/AdditionalDetails.jsx","features/Shared/BankingInfo/BankingInfoSecurityNote.jsx","features/Shared/BankingInfo/BankingInfoStatus.jsx","features/PartnerInfo/BankingInfo/PartnerBankingInfoTab.jsx","enums/partnerBillingTypes.js","features/PartnerInfo/BillingInfo/partnerBillingInfoResources.js","features/PartnerInfo/BillingInfo/partnerBillingInfoSelectors.js","components/controls/MuiInputSelect.jsx","features/PartnerInfo/BillingInfo/partnerBillingInfoValidations.js","features/PartnerInfo/BillingInfo/partnerBillingInfoService.js","features/PartnerInfo/BillingInfo/partnerBillingInfoActions.js","components/InfoBox/MuiInfoBox.jsx","features/Shared/BankingInfo/BankAccountInfoRetriver.jsx","features/Shared/BankingInfo/BankAccountDetails.jsx","components/WarningBox/WarningBox.jsx","features/Shared/BankingInfo/BankAccountSecurityNote.jsx","features/PartnerInfo/BillingInfo/PartnerBillingInfoForm.jsx","features/PartnerInfo/BillingInfo/PartnerBillingInfoTab.jsx","features/Dashboard/DashboardImagesSection.jsx","features/Dashboard/DashboardDescriptionSection.jsx","features/Dashboard/DashboardPartner.jsx","features/MemberArea/Dashboard/dashboardMemberSelectors.js","features/MemberArea/Dashboard/DashboardMember.jsx","features/Shared/Storage/storageActions.js","features/Shared/Storage/storageService.js","features/MemberArea/Dashboard/Home/homeSelectors.js","enums/documentAgreementVersions.js","components/IconCaption/IconCaption.jsx","components/controls/CustomLink.jsx","utilities/formatters/currencyFormatter.js","features/MemberArea/Dashboard/Home/homeResources.js","features/MemberArea/Dashboard/Home/Home.jsx","features/MemberArea/Dashboard/Home/homeActions.js","utilities/formatters/urlFormatter.js","constants/websites.js","constants/phones.js","features/MemberProfile/memberProfileSelectors.js","features/MemberProfile/MemberProfile.jsx","components/Image/Images.js","components/Image/Image.jsx","features/MemberProfile/GeneralInfo/selectors.js","features/MemberProfile/GeneralInfo/actions.js","hoc/withMemberGroup.jsx","features/MemberProfile/GeneralInfo/view.jsx","features/MemberProfile/FacilityInfo/FacilityInfoTab.jsx","features/MemberProfile/UsageLog/selectors.js","features/MemberProfile/UsageLog/actions.js","components/InfoBox/InfoBoxTable.jsx","features/MemberProfile/UsageLog/FacilityUsagesGroup/facilityUsagesGroupResources.js","features/MemberProfile/UsageLog/FacilityUsagesGroup/view.jsx","features/MemberProfile/UsageLog/view.jsx","features/AccountInfo/selectors.js","features/AccountInfo/AccountInfo.jsx","features/AccountInfo/actions.js","features/AccountInfo/InsuranceInfo/selectors.js","features/AccountInfo/InsuranceInfo/actions.js","features/AccountInfo/InsuranceInfo/insuranceInfoResources.js","features/AccountInfo/InsuranceInfo/view.jsx","features/AccountInfo/Reimbursement/reimbursementResources.js","features/AccountInfo/Reimbursement/reimbursementSelectors.js","components/NewInfoBox/SortIcon.jsx","components/NewInfoBox/tableResources.js","constants/table.js","components/controls/IndeterminateCheckbox.jsx","components/NewInfoBox/IndeterminateCheckboxCell.jsx","components/NewInfoBox/IndeterminateCheckboxHeader.jsx","components/controls/ToolTip.jsx","components/IconButton/IconButton.jsx","components/SearchBox/SearchBox.jsx","components/NewInfoBox/NewTable.jsx","components/NewInfoBox/BulletCell.jsx","features/AccountInfo/Reimbursement/ReimbursementsGroup/reimbursementGroupSelectors.js","features/Shared/Periods/periodResources.js","features/Shared/Periods/PeriodsFilterForm.jsx","features/Shared/Periods/validate.js","features/AccountInfo/Reimbursement/ReimbursementsGroup/ReimbursementsGroup.jsx","features/Shared/Periods/periodsService.js","features/Shared/Periods/periodsActions.js","features/AccountInfo/Reimbursement/Reimbursement.jsx","features/AccountInfo/Reimbursement/reimbursementActions.js","features/AccountInfo/Reimbursement/reimbursementService.js","features/Shared/Navigation/backToPartnersTopbarContentSelectors.js","features/Shared/Navigation/BackToPartnersTopbarContent.jsx","features/PartnerInfo/PartnerManagers/PartnerManagersTab.jsx","components/ConfirmPassword/confirmPasswordResources.js","components/ConfirmPassword/confirmPasswordValidation.js","components/ConfirmPassword/ConfirmPassword.jsx","features/Shared/PartnerManager/partnerManagerResources.js","features/Shared/PartnerManager/partnerManagerValidation.js","features/Shared/PartnerManager/ManagePartnerManagerForm.jsx","utilities/localStorage.js","features/App/actions.js","features/Shared/PartnerManager/managePartnerManagerActions.js","features/PartnerInfo/PartnerManagers/AddPartnerManager/addPartnerManagerSelectors.js","features/PartnerInfo/PartnerManagers/AddPartnerManager/addPartnerManagerResources.js","features/PartnerInfo/PartnerManagers/AddPartnerManager/AddPartnerManagerPage.jsx","features/PartnerInfo/PartnerManagers/PartnerManagersList/partnerManagersListActions.js","features/PartnerInfo/PartnerManagers/PartnerManagersList/partnerManagersListSelectors.js","components/Popups/PopupBody.jsx","components/Popups/ConfirmAlert/WrappedConfirmPopup.jsx","features/PartnerInfo/PartnerManagers/PartnerManagersList/PartnerManagersList.jsx","features/PartnerInfo/PartnerManagers/PartnerManagersList/managersListService.js","features/PartnerManagerProfile/PartnerManagerProfilePage.jsx","features/PartnerManagerProfile/GeneralInfo/partnerManagerProfileGeneralInfoTabSelectors.js","features/PartnerManagerProfile/GeneralInfo/PartnerManagerProfileGeneralInfoTab.jsx","features/Shared/ChangePassword/changePasswordActions.js","features/Shared/ChangePassword/changePasswordTypes.js","features/Shared/ChangePassword/changePasswordResources.js","features/Shared/ChangePassword/changePasswordValidate.js","features/Shared/ChangePassword/ChangePasswordForm.jsx","features/Shared/ChangePassword/changePasswordSelectors.js","features/Shared/ChangePassword/ChangePasswordTab.jsx","features/GroupMemberships/GroupMembershipsPage.jsx","components/Popups/ConfirmAlert/ConfirmPopup.jsx","enums/reimbursementTypes.js","features/GroupMemberships/GeneralInfo/GroupMembershipsInfoForm/groupMembershipsInfoResources.js","features/GroupMemberships/GeneralInfo/groupMembershipsGeneralInfoTabSelectors.js","components/controls/MuiInputCurrency.jsx","components/controls/MuiInputNumeric.jsx","features/GroupMemberships/GeneralInfo/GroupMembershipsInfoForm/groupMembershipsInfoValidations.js","utilities/asyncFormValidation.js","features/GroupMemberships/GeneralInfo/groupMembershipsService.js","features/GroupMemberships/EmployeeManagement/employeeManagementService.js","enums/facilityFeesBillingTypes.js","enums/installmentTypes.js","features/GroupMemberships/GeneralInfo/groupMembershipsActions.js","components/controls/MuiInputDatePicker.jsx","components/controls/MuiInputCheckbox.jsx","features/GroupMemberships/GeneralInfo/GroupMembershipsInfoForm/GroupMembershipsInfoForm.jsx","features/GroupMemberships/GeneralInfo/GroupMembershipsGeneralInfoTab.jsx","features/GroupMemberships/EmployeeManagement/employeeManagementTabSelectors.js","features/GroupMemberships/EmployeeManagement/AddKeyfobsForm/addKeyfobsResources.js","features/GroupMemberships/EmployeeManagement/AddKeyfobsForm/addKeyfobsFormValidations.js","features/Shared/Keyfobs/keyfobConstants.js","features/GroupMemberships/EmployeeManagement/AddKeyfobsForm/AddKeyfobsForm.jsx","features/GroupMemberships/PartnerGroupMembershipsPayments/partnerGroupMemberhipsPaymentsService.js","features/GroupMemberships/EmployeeManagement/employeeManagementActions.js","features/GroupMemberships/EmployeeManagement/AddKeyfobConfirmBody.jsx","features/GroupMemberships/EmployeeManagement/KeyfobsAndEmployeesList/keyfobsAndEmployeesListResources.js","utilities/date.js","enums/invitationStatuses.js","features/GroupMemberships/EmployeeManagement/KeyfobsAndEmployeesList/KeyfobActionsCell.jsx","features/GroupMemberships/EmployeeManagement/KeyfobsAndEmployeesList/keyfobsAndEmployeesListSelectors.js","components/NewInfoBox/NewEditableCell.jsx","enums/keyfobStatuses.js","enums/preferredAccessTypes.js","features/GroupMemberships/EmployeeManagement/KeyfobsAndEmployeesList/KeyfobReplacementConfirmationForm/keyfobReplacementConfirmationFormValidation.js","components/NewInfoBox/TooltipCell.jsx","hooks/useWindowSize.js","utilities/windowSize.js","constants/responsiveBreakpoints.js","features/Shared/GeneralInfo/generalInfoConstants.js","features/Shared/Validations/emailValidations.js","features/GroupMemberships/EmployeeManagement/KeyfobsAndEmployeesList/KeyfobsAndEmployeesList.jsx","features/GroupMemberships/EmployeeManagement/UploadMemberRecipients/uploadMemberRecipientsResources.js","features/Shared/UploadRecipientsResults/uploadRecipientsResultsActions.js","components/controls/DragDropFileUploader.jsx","features/GroupMemberships/EmployeeManagement/UploadMemberRecipients/UploadMemberRecipientsForm/UploadMemberRecipientsForm.jsx","constants/contentTypes.js","features/GroupMemberships/EmployeeManagement/EmployeeManagementTab.jsx","features/GroupMemberships/VisitLog/visitLogTabResources.js","features/GroupMemberships/VisitLog/visitLogTabSelectors.js","features/GroupMemberships/VisitLog/visitLogTabService.js","features/GroupMemberships/VisitLog/visitLogTabActions.js","features/GroupMemberships/VisitLog/VisitLogTab.jsx","features/GroupMemberships/VisitLog/HCAdminVisitLogTab.jsx","features/GroupMemberships/EmployeeManagement/partnerManagerEmployeeManagementSelectors.js","features/GroupMemberships/EmployeeManagement/PartnerManagerEmployeeManagementTab.jsx","features/GroupMemberships/VisitLog/partnerManagerVisitLogTabSelectors.js","features/GroupMemberships/VisitLog/PartnerManagerVisitLogTab.jsx","features/MemberArea/Dashboard/FacilityLocator/FacilityLocatorMap/facilityLocatorMapActions.js","enums/facilityLocationTypes.js","features/MemberArea/Dashboard/FacilityLocator/FacilityLocatorMap/FacilityPin/FacilityPin.jsx","features/MemberArea/Dashboard/FacilityLocator/FacilityLocatorMap/facilityLocatorMapSelectors.js","components/BulletCaption/BulletCaption.jsx","features/MemberArea/Dashboard/FacilityLocator/FacilityLocatorMap/FacilityDetailedInfoPanel/FacilityDetailedInfoPanelResources.js","features/MemberArea/Dashboard/FacilityLocator/FacilityLocatorMap/FacilityDetailedInfoPanel/FacilityDetailedInfoPanel.jsx","features/MemberArea/Dashboard/FacilityLocator/facilityLocatorResources.js","features/MemberArea/Dashboard/FacilityLocator/FacilityLocatorMap/FacilityLocatorMapLegend/FacilityLocatorMapLegend.jsx","components/PlansFilter/plansFilterSelectors.js","components/PlansFilter/plansFilterResources.js","components/PlansFilter/SelectedPlan/SelectedPlan.jsx","components/PlansFilter/PlansFilter.jsx","components/PlansFilter/plansFilterActions.js","features/MemberArea/Dashboard/FacilityLocator/FacilityLocatorMap/FacilitiesInMapPanel/FacilitiesInMapPanel.jsx","constants/googleMapsAutocompleteFields.js","constants/abbreviations.js","features/MemberArea/Dashboard/FacilityLocator/FacilityLocatorMap/FacilityCluster/FacilityCluster.jsx","features/MemberArea/Dashboard/FacilityLocator/FacilityLocatorMap/FacilityLocatorMap.jsx","features/MemberArea/Dashboard/FacilityLocator/facilityLocatorService.js","features/MemberArea/Dashboard/FacilityLocator/facilityLocatorSelectors.js","features/MemberArea/Dashboard/FacilityLocator/FacilityLocator.jsx","features/MemberArea/Dashboard/FacilityLocator/facilityLocatorActions.js","components/controls/InputRadio.jsx","components/controls/RadioGroup.jsx","features/MemberProfile/FacilityInfo/FacilitiesSection/selectors.js","features/MemberProfile/FacilityInfo/FacilityEnrollmentPage/facilityEnrollmentPageTypes.js","features/MemberProfile/FacilityInfo/FacilitiesSection/actions.js","features/MemberProfile/FacilityInfo/FacilitiesSection/FacilitiesSectionResources.js","features/MemberProfile/FacilityInfo/FacilitiesSection/FacilitiesSection.jsx","features/MemberProfile/FacilityInfo/FacilityEnrollmentPage/facilityEnrollmentPageSelectors.js","features/Facilities/facilityActions.js","features/Facilities/facilityService.js","features/MemberProfile/FacilityInfo/LegalContract/legalContractResources.js","features/MemberProfile/FacilityInfo/LegalContract/legalContractSelectors.js","features/MemberProfile/FacilityInfo/LegalContract/legalContractActions.js","features/MemberProfile/FacilityInfo/LegalContract/legalContractService.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractForm/legalContractFormResources.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractForm/legalContractFormValidations.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractForm/legalContractFormSelectors.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractForm/legalContractForm.jsx","features/MemberProfile/FacilityInfo/LegalContract/LegalContractForm/legalContractFormActions.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractForm/legalContractFormService.js","components/FormStep/FormStep.jsx","components/FormStep/MultiStepForms.jsx","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/keyfobFormResources.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/keyfobFormValidations.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/keyfobFormSelectors.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/KeyfobForm.jsx","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/agreementFormResources.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/agreementFormValidations.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/agreementFormSelectors.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/AgreementForm.jsx","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/agreementFormActions.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/agreementFormService.js","features/Shared/BankingInfo/BankAccount.jsx","features/Shared/BankingInfo/bankingInfoStepFormSelectors.js","features/Shared/BankingInfo/BankingInfoStepForm.jsx","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/paymentDetailsFormResources.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/MonthlyDuesPaymentDetailsInfoBox.jsx","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/paymentDetailsFormActions.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/paymentDetailsFormService.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/gmspPaymentDetailsFormSelectors.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/GMSPPaymentDetailsForm.jsx","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/gmrPaymentDetailsFormSelectors.js","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/GMRPaymentDetailsForm.jsx","features/MemberProfile/FacilityInfo/LegalContract/LegalContract.jsx","features/MemberArea/memberAreaService.js","features/MemberArea/memberAreaActions.js","features/MemberProfile/FacilityInfo/FacilityEnrollmentPage/FacilityEnrollmentPage.jsx","features/MemberProfile/FacilityInfo/FacilityEnrollmentPage/facilityEnrollmentPageActions.js","features/MemberProfile/FacilityInfo/FacilityEnrollmentPage/facilityEnrollmentPageService.js","features/MemberProfile/FacilityInfo/MemberLegalContractPage/memberLegalContractPageSelectors.js","features/MemberProfile/FacilityInfo/MemberLegalContractPage/MemberLegalContractPage.jsx","components/Header/headerSelectors.js","components/Login/loginResources.js","propTypes/customTypes.js","components/Header/GuestHeaderNavList.jsx","components/Header/HeaderPublic.jsx","components/Topbar/Topbar.jsx","constants/legal.js","components/Footer/footerResources.js","components/Footer/FooterMenuItem.jsx","components/Footer/FooterPublic/FooterPublic.jsx","constants/companyNames.js","components/Sidebar/SidebarItem.jsx","components/Sidebar/SidebarResources.js","components/Sidebar/Sidebar.jsx","components/ErrorBoundary/ErrorBoundary.jsx","components/Popups/CustomPopup/CustomPopupBody.jsx","components/Popups/CustomPopup/CustomPopup.jsx","components/Login/loginValidations.js","components/ForgotPassword/forgotPasswordService.js","components/ForgotPassword/forgotPasswordActions.js","components/Login/LoginDataForm.jsx","components/Login/loginSelectors.js","components/Login/LoginBody.jsx","components/Login/loginService.js","utilities/urlHelper.js","components/Login/LoginPopup.jsx","components/ForgotPassword/forgotPasswordResources.js","components/ForgotPassword/forgotPasswordValidations.js","components/ForgotPassword/forgotPasswordSelectors.js","components/Captcha/Сaptcha.jsx","components/ForgotPassword/ForgotPasswordForm.jsx","components/ForgotPassword/ForgotPasswordPopup.jsx","components/ForgotPassword/ForgotPasswordResultBody.jsx","components/ForgotPassword/ForgotPasswordResultPopup.jsx","layouts/mainLayoutPublic.jsx","features/AdminArea/adminAreaSelectors.js","features/AdminArea/AdminArea.jsx","features/PartnerOwnerArea/partnerOwnerAreaSelectors.js","features/PartnerOwnerArea/PartnerOwnerArea.jsx","features/PartnerManagerArea/partnerManagerAreaSelectors.js","features/PartnerManagerArea/partnerManagerAreaService.js","features/PartnerManagerArea/partnerManagerAreaActions.js","features/PartnerManagerArea/PartnerManagerArea.jsx","enums/invalidationTypes.js","features/MemberArea/memberAreaSelectors.js","features/MemberArea/memberAreaResources.js","features/MemberArea/MemberArea.jsx","features/WellnessProgramPayments/wellnessProgramPaymentsSelectors.js","features/WellnessProgramPayments/WellnessProgramPaymentsPage.jsx","features/GroupMemberships/PartnerGroupMembershipsPayments/partnerGroupMemberhipsPaymentsResources.js","features/GroupMemberships/PartnerGroupMembershipsPayments/partnerGroupMemberhipsPaymentsActions.js","features/GroupMemberships/PartnerGroupMembershipsPayments/partnerGroupMemberhipsPaymentsSelectors.js","components/Image/ExcelImage/ExcelImage.jsx","features/GroupMemberships/PartnerGroupMembershipsPayments/PartnerGroupMembershipsPayments.jsx","features/GroupMemberships/PartnerGroupMembershipsPayments/PartnerOwnerGroupMembershipsPaymentsTab.jsx","features/GroupMemberships/PartnerGroupMembershipsPayments/partnerManagerGroupMembershipsPaymentsTabSelectors.js","features/GroupMemberships/PartnerGroupMembershipsPayments/PartnerManagerGroupMembershipsPaymentsTab.jsx","features/Shared/Programs/groupMembershipResources.js","features/PaymentTypes/paymentTypeService.js","features/WellnessProgramPayments/PartnerPaymentsSection/partnerPaymentsSectionActions.js","features/WellnessProgramPayments/PartnerPaymentsSection/partnerPaymentsSectionService.js","features/WellnessProgramPayments/PartnerPaymentsSection/partnerPaymentsSectionSelectors.js","enums/paymentStatuses.js","features/WellnessProgramPayments/UndoAmountCorrectionActionCell.jsx","components/InfoBox/EditableCell.jsx","features/WellnessProgramPayments/editAmountToBeSentValidation.js","features/WellnessProgramPayments/EditAmountToBeSentEditableCell.js","features/WellnessProgramPayments/PartnerPaymentsSection/PartnerPaymentsSection.jsx","components/Popups/ConfirmAlert/ConnectedConfirmPopup.jsx","features/WellnessProgramPayments/PaymentViaACHForm/paymentViaACHFormValidation.js","features/WellnessProgramPayments/PaymentViaACHForm/PaymentViaACHForm.jsx","features/WellnessProgramPayments/PaymentConfirmationForm/paymentConfirmationFormResources.js","features/WellnessProgramPayments/PaymentConfirmationForm/paymentConfrimationFormValidation.js","features/WellnessProgramPayments/PaymentConfirmationForm/PaymentConfirmationForm.jsx","features/WellnessProgramPayments/PartnerPaymentWithdrawalSection/partnerPaymentWithdrawalSectionSelectors.js","features/WellnessProgramPayments/PartnerPaymentWithdrawalSection/partnerPaymentWithdrawalSectionActions.js","features/WellnessProgramPayments/PartnerPaymentWithdrawalSection/partnerPaymentWithdrawalSectionService.js","features/WellnessProgramPayments/PartnerPaymentWithdrawalSection/PartnerPaymentWithdrawalSection.jsx","features/WellnessProgramPayments/PartnerPaymentsGenerationForm/partnerPaymentsGenerationFormValidation.js","features/WellnessProgramPayments/PartnerPaymentsGenerationForm/PatnerPaymentsGenerationForm.jsx","features/WellnessProgramPayments/PartnerPaymentsGenerationSection/partnerPaymentsGenerationSectionActions.js","features/WellnessProgramPayments/PartnerPaymentsGenerationSection/partnerPaymentsGenerationSectionService.js","features/WellnessProgramPayments/PartnerPaymentsGenerationSection/partnerPaymentsGenerationSectionResources.js","utilities/formatters/partnerProgramNameFormatter.js","features/WellnessProgramPayments/PartnerPaymentsGenerationSection/partnerPaymentsGenerationSectionSelectors.js","features/WellnessProgramPayments/PartnerPaymentsFeesConfirmationForm/partnerPaymentsFeesConfirmationFormResources.js","features/WellnessProgramPayments/PartnerPaymentsFeesConfirmationForm/partnerPaymentsFeesConfirmationFormValidation.js","features/WellnessProgramPayments/PartnerPaymentsFeesConfirmationForm/partnerPaymentsFeesConfirmationForm.jsx","features/WellnessProgramPayments/PartnerPaymentsGenerationSection/PartnerPaymentsGenerationSection.jsx","features/WellnessProgramPayments/PartnerPaymentsTab/PartnerPaymentsTab.jsx","features/WellnessProgramPayments/FacilityPaymentsTab/facilityPaymentsSelectors.js","features/Shared/Facilities/facilityResources.js","features/WellnessProgramPayments/FacilityPaymentsSection/facilityPaymentsSectionActions.js","features/WellnessProgramPayments/FacilityPaymentsSection/facilityPaymentsSectionService.js","features/WellnessProgramPayments/FacilityPaymentsSection/facilityPaymentsSectionSelectors.js","features/WellnessProgramPayments/FacilityPaymentsSection/facilityPaymentsSectionResources.js","features/WellnessProgramPayments/FacilityPaymentsSection/FacilityPaymentsSection.jsx","features/WellnessProgramPayments/FacilityPaymentDepositSection/facilityPaymentDepositSectionSelectors.js","features/WellnessProgramPayments/FacilityPaymentDepositSection/facilityPaymentDepositSectionActions.js","features/WellnessProgramPayments/FacilityPaymentDepositSection/facilityPaymentDepositSectionService.js","features/WellnessProgramPayments/FacilityPaymentDepositSection/FacilityPaymentDepositSection.jsx","features/WellnessProgramPayments/FacilityPaymentsGenerationForm/facilityPaymentsGenerationFormValidation.js","features/WellnessProgramPayments/FacilityPaymentsGenerationForm/FacilityPatnerPaymentsGenerationForm.jsx","features/WellnessProgramPayments/FacilityPaymentsGenerationSection/facilityPaymentGenerationSectionActions.js","features/WellnessProgramPayments/FacilityPaymentsGenerationSection/facilityPaymentsGenerationSectionService.js","features/WellnessProgramPayments/FacilityPaymentsGenerationSection/facilityPaymentsGenerationSectionResources.js","features/WellnessProgramPayments/FacilityPaymentsGenerationSection/facilityPaymentsGenerationSectionSelectors.js","features/WellnessProgramPayments/FacilityPaymentsGenerationSection/FacilityPaymentsGenerationSection.jsx","features/WellnessProgramPayments/FacilityPaymentsTab/FacilityPaymentsTab.jsx","features/VoucherPrograms/voucherProgramsPageSelectors.js","features/VoucherPrograms/VoucherProgramsPage.jsx","features/VoucherPrograms/VoucherProgramsList/voucherProgramsListSelectors.js","features/VoucherPrograms/VoucherProgramsList/voucherProgramsListResources.js","features/VoucherPrograms/VoucherProgramsList/VoucherProgramsList.jsx","features/VoucherPrograms/VoucherProgramsList/voucherProgramsListActions.js","features/VoucherPrograms/VoucherProgramsList/voucherProgramsListService.js","features/VoucherPrograms/VoucherProgram/voucherProgramActions.js","features/VoucherPrograms/VoucherProgramForm/voucherProgramFormResources.js","constants/partnerLogo.js","features/VoucherPrograms/VoucherProgramForm/voucherProgramFormValidation.js","components/controls/InputFile.jsx","features/VoucherPrograms/VoucherProgramForm/VoucherProgramForm.jsx","features/VoucherPrograms/VoucherProgram/voucherProgramResources.js","features/VoucherPrograms/VoucherProgram/voucherProgramSelectors.js","features/VoucherPrograms/VoucherProgram/VoucherProgram.jsx","features/VoucherPrograms/VoucherProgram/voucherProgramService.js","components/ErrorSummary/ErrorSummary.jsx","features/VoucherPrograms/UploadRecipientsForm/uploadRecipientsFormResources.js","features/VoucherPrograms/UploadRecipientsForm/uploadRecipientsFormValidation.js","features/VoucherPrograms/UploadRecipientsForm/UploadRecipientsForm.jsx","features/VoucherPrograms/RecipientsList/recipientsListSelectors.js","utilities/emailTemplate.js","features/VoucherPrograms/RecipientsList/recipientsListActions.js","features/VoucherPrograms/RecipientsList/recipientsListResources.js","features/VoucherPrograms/RecipientsList/RecipientsList.jsx","features/VoucherPrograms/RecipientsList/recipientsListService.js","features/MemberProfile/FacilityInfo/StaffLegalContractPage/staffLegalContractPageSelectors.js","features/MemberProfile/FacilityInfo/StaffLegalContractPage/StaffLegalContractPage.jsx","features/FacilityManagerArea/facilityManagerAreaSelectors.js","features/FacilityManagerArea/FacilityManagerArea.jsx","features/App/GuestArea/GuestArea.jsx","components/TextSection/TextSection.jsx","components/MetricsSection/MetricsSection.jsx","components/MetricsSection/MetricsSectionItem.jsx","components/SectionsDivider/SectionsDivider.jsx","components/SolutionsSection/solutionsSectionResources.js","components/SolutionsSection/SolutionsSectionItem.jsx","components/SolutionsSection/SolutionsSection.jsx","components/Slider/CustomArrow/CustomArrow.jsx","components/Slider/CustomArrow/NextArrow.jsx","components/Slider/CustomArrow/PrevArrow.jsx","components/Slider/CustomPaging.jsx","components/TestimonialSection/TestimonialSection.jsx","components/TestimonialSection/TestimonialSectionItem.jsx","components/CallToAction/CallToAction.jsx","components/CallToAction/CallToActionBody.jsx","components/CallToAction/CallToActionImage.jsx","features/App/GuestArea/guestAreaSharedResources.js","features/App/GuestArea/ContactUs/ContactUsSection.jsx","constants/partnerImageGroups.js","components/MetaData/MetaData.jsx","constants/seo.js","utilities/formatters/pageTitleFormatter.js","features/App/GuestArea/Home/homeResources.js","features/App/GuestArea/Home/Home.jsx","components/PartnerSection/PartnersSection.jsx","components/PartnerSection/PartnersSectionItems.jsx","features/App/GuestArea/ForFacilities/forFacilitiesResources.js","features/App/GuestArea/ForFacilities/ForFacilities.jsx","components/BenefitsSection/BenefitsSection.jsx","components/BenefitsSection/BenefitsSectionItems.jsx","features/App/GuestArea/ForEmployers/forEmployersResources.js","features/App/GuestArea/ForEmployers/ForEmployers.jsx","features/App/GuestArea/ForInsurers/forInsurersResources.js","features/App/GuestArea/ForInsurers/ForInsurers.jsx","components/ClubLocatorSection/clubLocatorSectionService.js","components/ClubLocatorSection/clubLocatorSectionResources.js","components/ClubLocatorSection/clubLocatorSectionSelectors.js","components/ClubLocatorSection/ClubLocatorSection.jsx","components/ClubLocatorSection/clubLocatorSectionActions.js","features/App/GuestArea/ForMembers/forMembersResources.js","features/App/GuestArea/ForMembers/ForMembersSection.jsx","features/App/GuestArea/ForMembers/ForMembers.jsx","components/QuotesSection/QuotesSection.jsx","features/App/GuestArea/AboutUs/aboutUsResources.js","features/App/GuestArea/AboutUs/AboutUs.jsx","constants/emails.js","features/App/GuestArea/TermsOfUse/TermsOfUse.jsx","features/App/GuestArea/PrivacyNotice/authorizedAgentDesignationFormActions.js","features/App/GuestArea/PrivacyNotice/authorizedAgentDesignationFormService.js","utilities/formatters/privacyPolicyEffectiveDateFormatter.js","features/App/GuestArea/PrivacyNotice/PrivacyNotice.jsx","utilities/formatters/privacyPolicyArchiveTitleFormatter.js","features/App/GuestArea/PrivacyArchives/PrivacyNotice_20230824.jsx","features/App/GuestArea/PrivacyArchives/PrivacyArchives.jsx","features/App/GuestArea/PrivacyArchives/PrivacyPolicy_20230110.jsx","features/App/GuestArea/PrivacyArchives/CaliforniaPrivacyPolicy_20230110.jsx","features/App/GuestArea/AccessibilityAndMaintenance/AccessibilityAndMaintenance.jsx","features/FacilityManagerArea/Dashboard/dashboardSelectors.js","features/FacilityManagerArea/Dashboard/dashboardTypes.js","features/FacilityManagerArea/Dashboard/Dashboard.jsx","features/FacilityManagerArea/Dashboard/dashboardActions.js","features/App/GuestArea/ContactUs/contactUsResources.js","features/App/GuestArea/ContactUs/contactUsSelectors.js","features/App/GuestArea/ContactUs/contactUsValidations.js","features/App/GuestArea/ContactUs/ContactUsForm.jsx","features/App/GuestArea/ContactUs/contactUsActions.js","features/App/GuestArea/ContactUs/contactUsService.js","features/App/GuestArea/ContactUs/ContactUs.jsx","features/App/GuestArea/NominateClub/nominateClubResources.js","features/App/GuestArea/NominateClub/nominateClubValidations.js","features/Shared/NominateClub/nominateClubConstants.js","features/App/GuestArea/NominateClub/nominateClubSelectors.js","features/App/GuestArea/NominateClub/nominateClubTypes.js","features/App/GuestArea/NominateClub/ClubInfoDataForm.jsx","features/App/GuestArea/NominateClub/nominateClubAction.js","features/App/GuestArea/NominateClub/nominateClubService.js","features/App/GuestArea/NominateClub/GeneralInfoDataForm.jsx","features/App/GuestArea/NominateClub/NominateClub.jsx","features/HealthCheck/HealthCheck.jsx","features/Members/memberResources.js","features/Members/membersListSelectors.js","components/controls/MuiAutocomplete.jsx","features/Members/FacilitySearchBox/facilitySearchBoxSelectors.js","features/Members/FacilitySearchBox/facilitySearchBoxResources.js","features/Members/FacilitySearchBox/FacilitySearchBox.jsx","features/Members/FacilitySearchBox/facilitySearchBoxAction.js","features/Members/FacilitySearchBox/facilitySearchBoxService.js","constants/dropdown.js","features/Members/membersListActions.js","components/NewInfoBox/WarningCell.jsx","enums/memberStatuses.js","features/Members/MemberTransfer/MemberTransferActions.js","components/controls/MuiSplitButton.jsx","features/Members/MemberTransfer/memberTransferSelectors.js","features/Members/MemberTransfer/membersTransferResources.js","enums/facilityEnrollmentStatuses.js","features/Members/MemberTransfer/MemberTransfer.jsx","features/Members/MemberTransfer/memberTransferService.js","features/Members/MemberTransfer/MemberTransferPopup.jsx","features/Members/membersActionsCell.jsx","features/Members/MembersList.jsx","features/Members/membersService.js","features/Members/MemberTransfer/MembersTransferResult.jsx","features/App/GuestArea/PrivacyArchives/PrivacyArchiveArea.jsx","features/Shared/UploadRecipientsResults/uploadRecipientsResultsSelector.js","features/Shared/UploadRecipientsResults/uploadRecipientsResultsResources.js","features/Shared/UploadRecipientsResults/uploadRecipientsResults.jsx","features/App/GuestArea/EmployeeWellness/employeeWellnessResources.js","features/App/GuestArea/EmployeeWellness/EmployeeWellness.jsx","features/WellnessProgramPayments/MemberPaymentsTab/memberPaymentsResources.js","features/WellnessProgramPayments/MemberPaymentsTab/memberPaymentsSelectors.js","components/NewInfoBox/TableFiltersPanel.jsx","features/WellnessProgramPayments/MemberPaymentsTab/MemberPaymentsFiltersForm.jsx","features/WellnessProgramPayments/MemberPaymentsTab/memberPaymentsActions.js","features/WellnessProgramPayments/MemberPaymentsTab/memberPaymentsService.js","components/NewInfoBox/CurrencyCell.jsx","enums/memberBillingTypes.js","features/WellnessProgramPayments/MemberPaymentsTab/MemberPaymentsTab.jsx","features/AccountInfo/BillingInfo/billingInfoSelectors.js","features/AccountInfo/BillingInfo/billingInfoActions.js","features/AccountInfo/BillingInfo/billingInfoService.js","features/AccountInfo/BillingInfo/billingInfoResources.js","features/AccountInfo/BillingInfo/BankAccountForm.jsx","features/AccountInfo/BillingInfo/BillingInfoTab.jsx","features/Shared/Storage/storageSelectors.js","features/Shared/Storage/Storage.jsx","features/Shared/Navigation/messagesTopbarContentSelectors.js","features/Shared/Navigation/MessagesTopbarContent.jsx","components/Header/AdminHeaderNavList.jsx","components/Header/HeaderInternal.jsx","components/Footer/FooterInternal/FooterInternal.jsx","layouts/mainLayoutInternal.jsx","routing/routesConfig.js","features/App/GuestArea/DataPrivacyRequest/DataPrivacyRequest.jsx","utilities/authorization.js","features/App/selectors.js","components/Notifications/selectors.js","components/Portal/Portal.jsx","utilities/enclose.js","components/Notifications/Notification.jsx","components/Notifications/Notifications.jsx","features/App/appResources.js","features/App/App.jsx","features/Shared/LaunchDarkly/launchDarklySettings.js","features/App/AppWithFlagsSupport.jsx","serviceWorker.js","routing/ScrollTo.jsx","index.js","http/helpers.js","assets/images/optum.svg","assets/images/FitOn-Health-logo.png","assets/images/ash.svg","components/MetricsSection/_metrics-section.module.scss","components/BenefitsSection/_benefits-section.module.scss","features/AccountInfo/BillingInfo/_billing_info.module.scss","components/PartnerSection/_partner-section.module.scss","components/TextSection/_text-section.module.scss","components/Footer/allyant.png","features/Shared/Periods/_period.module.scss","components/controls/_dragdropfileuploader.module.scss","styles/_utils.module.scss","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/_paymentDetailsForm.module.scss","assets/icons/quotes.svg","features/AccountInfo/Reimbursement/reimbursement.module.scss","components/controls/_muibutton.module.scss","components/Image/_image.module.scss","features/MemberArea/Dashboard/Home/_home.module.scss","features/WellnessProgramPayments/MemberPaymentsTab/_member-payments.module.scss","features/Dashboard/images/img1.jpg","features/Dashboard/images/img2.jpg","features/Dashboard/images/img3.jpg","assets/images/logo_green.png","assets/images/logo_green_hover.png","assets/images/logo_white.svg","assets/images/IconAccessible.png","assets/images/GeneralInfoBanner.jpg","assets/images/excel.png","assets/images/10gym.svg","assets/images/Kroc-Center.svg","assets/images/Golds-Gym.svg","assets/images/New-Zumama.svg","assets/images/Pool-Logo.svg","assets/images/Fruitta.svg","assets/images/ucare.svg","assets/images/avera.svg","assets/images/healthpartners.svg","assets/images/medica.svg","assets/images/preferredone.svg","assets/images/tivity.svg","assets/images/Group-Yoga.png","assets/images/Grandma-Tutu-Blue.png","assets/images/Fitness-Group-1.png","assets/images/Fitness-Park.png","assets/images/Fitness-Hr.png","assets/images/Health-Screen.png","assets/images/Scrubs-Women.png","assets/images/Man-Wprosthetic-Workout.png","assets/images/Woman-Daughter-Swim.png","assets/images/Floatie-Blue.png","assets/images/Fitness-Group-2.png","assets/images/bar-method.svg","assets/images/anytime-fitness.svg","assets/images/progress.png","assets/images/FitOnHealthlogoLarge.png","components/controls/_muiinputcheckbox.module.scss","features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/_keyfobform.module.scss","components/SectionsDivider/_section-divider.module.scss","assets/images/corvallis.svg","components/NewInfoBox/_table-filters-panel.module.scss","components/NewInfoBox/_currency-cell.module.scss","components/controls/_muiinput.module.scss","components/CallToAction/_call-to-action.module.scss","components/TestimonialSection/_testimonial-section.module.scss","styles/_public-page.module.scss"],"names":["module","exports","BASE_URLS","HC_Site","process","api","API_PATHS","login","concat","logout","homeSiteMap","accessibilityMaintenance","privacyNotice","termsOfUse","HCDashboard","HCFacilities","HCUsers","HCPlans","HCSettings","facilityEnrollment","memberEnrollment","calendlyUrl","calendlyCalenderUrl","allyant","me","changePassword","generalInfo","bankingInfo","facilityInfo","bankingCheck","reimbursementCheck","memberHasActiveFacilityEnrollments","getMemberInvalidations","usageLog","facilityUsagesGroup","reimbursementHistory","reimbursement","planReimbursementsGroup","insuranceInfo","listPartners","listPartnersByProgramType","listPartnersByProgramPaymentType","members","savePartner","getPartner","partnerBankingInfo","partnerBillingInfo","partnerBillingTypes","updatePartnerBillingInfo","partnerBankAccountDetails","listStates","getManager","createManager","updateManager","listManagers","deleteManager","listProgramTypes","getGroupMembership","updateGroupMembership","addGroupMembership","createKeyfobs","listKeyfobs","membersCount","deactivateMembership","deleteMemberGroupMembership","updateMember","reassignKeyfob","deleteKeyfob","uploadMemberRecipients","listFacilities","getFacility","getMemberFacility","getFacilitiesForMap","getPartnerPayments","downloadPartnerPayments","getPartnerSpecificPayments","downloadPartnerSpecificPayments","getPeriods","getClosedUsagePeriods","getPeriodsUntilCurrent","checkPartnerPaymentsWithdrawal","sendPartnerPaymentsWithdrawal","dowloadPaymentWithdrawal","checkFacilityPaymentsDeposit","sendFacilityPaymentsDeposit","dowloadPaymentDeposit","enrollIntoAFFacilityWithinProgram","getMemberLegalContractInfo","resignMemberLegalContract","getVisits","downloadVisits","downloadKeyfobsAndEmployees","generatePartnerPayments","checkPartnerPaymentsExist","generateFacilityPayments","checkFacilityPaymentsExist","downloadFacilityProgramPayments","getFacilityPayments","downloadMemberPayments","getMemberPayments","checkMemberPaymentsProcessed","sendMemberPayments","updateFacilityPaymentAmountToBeSent","undoFacilityPaymentAmountCorrection","updatePartnerPaymentAmountToBeSent","undoPartnerPaymentAmountCorrection","getEquipmentAndFacilitiesPolicies","isGroupMembershipAddedToPartner","getVoucherPrograms","publishVoucherProgram","checkVoucherProgramPublished","getVoucherProgram","saveVoucherProgram","getVoucherProgramVouchers","uploadRecipients","previewVoucherEmail","isReassignKeyfobFeatureEnabled","getFacilitiesForClubLocatorMap","getPlansForClubLocatorMap","resetPassword","contactUs","nominateClub","listUserDescription","facilityDropdownList","memberTransfer","getAuthorizedAgentDesignationForm","deactivateMember","getProgramPaymentTypeID","getMembersWaitingToInviteCount","getPartnerPaymentTypesByProgramPaymentType","getMemberPaymentTypesByProgramPaymentType","getFile","membersBillingInfo","getCalculatedDues","hasEnrolledOrInvitedMembers","s4","Math","floor","random","toString","substring","guid","postNotification","notification","dispatch","type","payload","postNotificationAction","fromJS","_objectSpread","id","clearNotification","notificationId","clearNotificationAction","url","config","arguments","length","undefined","axios","get","data","post","put","patch","delete","setLoading","key","unsetLoading","ERROR","setIsLoginPopupOpen","isLoginPopupOpen","resources","defaultParams","withCredentials","paramsSerializer","params","qs","stringify","indices","validateStatus","status","axiosInstance","create","SET_LOADING","UNSET_LOADING","LOAD_ME","CHANGE_SELECTED_MEMBER_GROUP","SET_GLOBAL_ERROR_MESSAGE","initialState","isLoading","selectedMemberGroup","reducer","state","action","_action$payload","types","set","globalErrorMessage","push","targetNotificationIndex","findIndex","PREFIX","SET_FIELDS","Record","fieldsData","stateRecord","label","content","firstName","middleInitial","lastName","Date","dateOfBirth","toLocaleDateString","contactNumber","email","address1","address2","city","zipCode","country","GET_FACILITIES","RENDER_FACILITIES","facilities","SET_FACILITY_USAGES_GROUP","GET_USAGE_LOG_SUCCESS","SET_SELECTED_USAGE_PERIOD","SET_FACILITY_USAGES_GROUP_LOADING","UNSET_FACILITY_USAGES_GROUP_LOADING","availableUsagePeriods","facilityUsagesGroups","getFacilityUsagesGroupIndex","memberGuid","getIn","_payload$facilityUsag","dailyUsages","monthlyTotal","index","mergeIn","_payload$selectedPeri","selectedPeriodData","usagePeriod","SET_IS_BANKING_REQUIRED","SET_IS_REIMBURSEMENT_ENABLED","isBankingRequired","isReimbursementEnabled","GET_INSURANCE_INFO_SUCCESS","GET_PARTNERS_LIST_SUCCESS","partners","partnerReducer","updateIn","arr","partner","map","facility","membersTotalCount","selectedMembers","memberToDeactivate","memberReducer","totalCount","member","GET_BANKING_INFO","GET_BANKING_INFO_SUCCESS","UPDATE_BANKING_INFO","SET_BANK_ACCOUNT","bankAccount","GET_BILLING_INFO","SET_BILLING_INFO","GET_PAYMENT_TYPES_LIST","SET_PAYMENT_TYPES_LIST","UPDATE_BILLING_INFO","GET_BANK_ACCOUNT_DETAILS","SET_BANK_ACCOUNT_DETAILS","billingInfo","bankAccountDetails","paymentTypesList","GET_STATES_LIST_SUCCESS","states","stateReducer","manager","partnerManagerReducer","loadings","loadingReducer","update","filter","GET_MANAGERS_LIST_SUCCESS","DELETE_MANAGER_SUCCESS","managers","managerId","GET_PROGRAM_TYPES_SUCCESS","programTypes","programTypeReducer","programPaymentTypes","Object","freeze","partnerPaid","memberPaid","partnerMemberPaid","programPaymentTypesFullNamesMap","_defineProperty","_toConsumableArray","entries","_ref","_ref2","_slicedToArray","name","Number","programPaymentTypeReducer","paymentTypes","reimbursements","facilityFees","gmFacilityPayments","gmPartnerFees","gmPartnerDues","gmMemberDues","gmMemberReimbursements","gmPartnerReimbursements","partnerPortionPaymentTypeNamesMap","memberPortionPaymentTypeNamesMap","partnerBillingTypeReducer","memberPaymentTypes","memberPaymentTypeReducer","UPDATE_GROUP_MEMBERSHIP","SET_GROUP_MEMBERSHIP","GET_GROUP_MEMBERSHIP","ADD_GROUP_MEMBERSHIP","SET_GROUP_MEMBERSHIP_TO_ADD","GET_GROUP_MEMBERSHIP_HAS_ENROLLED_OR_INVITED_MEMBERS","SET_GROUP_MEMBERSHIP_HAS_ENROLLED_OR_INVITED_MEMBERS","groupMembership","groupMembershipToAdd","groupMembershipsReducer","keyfobs","memberToDeactivateMembership","keyfobToReassign","memberToDelete","membersWaitingToInviteCount","employeeManagementReducer","programPaymentTypeID","GET_FACILITIES_FOR_MAP","SET_FACILITIES_FOR_MAP","SET_FACILITIES","TOGGLE_SELECTED_FACILITY","SET_FACILITIES_IN_MAP_BOUNDS","SET_LIST_VIEW_FOR_MAP","facilitiesInMapBounds","selectedFacility","isListView","getDistanceFromLatLngInMiles","lat1","lng1","lat2","lng2","dLat","deg2rad","dLng","sinHalfDLat","sin","sinHalfDLng","intermediateResult","cos","asin","sqrt","deg","PI","initialFacilities","allFacilities","toJS","find","facilityId","oldSelectedFacility","facilitiesNearest","nearestLocationDistanceInMiles","googleMap","getZoom","maxClusterZoom","mapCenter","getCenter","i","distanceToCenter","lat","lng","latitude","longitude","sort","facility1","facility2","setCenter","getBounds","contains","distanceToCenterForDisplay","toFixed","facilityReducer","extendFacilityObject","fullAddress","address","assign","description","displayName","membersAFFacilityWithinProgramEnrollment","facilityMemberID","isMemberAgreed","date","documentAgreementVersion","programPaymentType","memberReimbursementTypeID","signatureMemberInfo","mergeDeep","SET_IS_GROUP_MEMBERSHIP_ADDED_TO_PARTNER","SET_PARTNER_NAME","SET_PROGRAM_PAYMENT_TYPE","partnerName","GET_IS_GROUP_MEMBERSHIP_ADDED_TO_PARTNER","SET_MEMBER_HAS_ACTIVE_FACILITY_ENROLLMENTS","CHECK_MEMBER_HAS_ACTIVE_FACILITY_ENROLLMENTS","GET_MEMBER_INVALIDATIONS","SET_MEMBER_INVALIDATIONS","RESIGN_MEMBER_LEGAL_CONTRACT","memberInvalidations","GET_PAYMENTS","SET_PAYMENTS","SET_PERIOD","SET_PARTNER","SET_PAYMENT_TYPE","DOWNLOAD_PAYMENTS","SET_SHOW_CORRECTED_ONLY","SET_AMOUNT_TO_BE_SENT","UNDO_AMOUNT_CORRECTION","GET_PARTNERS","SET_PARTNERS","GET_PAYMENT_TYPES","SET_PAYMENT_TYPES","groupMemberships","programTypesNamesMap","paymentsFilter","showCorrectedOnly","programType","payments","WellnessProgramPaymentResources","labelForProgramType","labelProgramType","labelForPaymentType","labelForPartner","labelPartner","labelForUsagePeriod","labelVisitMonth","labelShowAllCorrectedPayments","titlePartnerPayments","titleWellnessProgramPayments","titlePartnerPaymentWithdrawalViaACHFiles","titleFacilityPaymentDepositViaACHFiles","titleConfirmACHUpload","titleFacilityPayments","buttonSendToUSBank","buttonDownloadForPreview","buttonGenerate","buttonUndo","accessorStatus","accessorTotalPayments","accessorId","accessorAmountToBeSent","buttonGenerateWithFees","formPartnerPaymentsGeneration","formFacilityPaymentsGeneration","fieldProgramPaymentType","fieldProgramType","labelPaymentType","fieldPaymentType","buttonCancel","fieldPartner","fieldPeriod","formFacilityPaymentDepositViaACH","formfacilityPaymentDepositConfirmation","formPaymentWithdrawalConfirmation","formPaymentWithdrawalViaACHForm","setIn","paymentType","period","value","indexOfPaymentToUpdateAmount","payment","paymentId","amountToBeSent","paymentPredicate","paymentToUndoAmountCorrection","indexOfPaymentToUndoAmountCorrection","wellnessProgramPaymentsResources","GET_PERIODS","SET_PERIODS","GET_CLOSED_USAGE_PERIODS","SET_CLOSED_USAGE_PERIODS","GET_PERIODS_UNTIL_CURRENT","SET_PERIODS_UNTIL_CURRENT","periods","closedUsagePeriods","periodsUntilCurrent","periodsReducer","paymentWithdrawal","popupData","isAchUploadAvailable","achUploadErrorMessage","SET_POPUP_DATA","SET_PROGRAM_TYPE","SEND_PAYMENT_WITHDRAWAL","CHECK_PAYMENT_WITHDRAWAL","DOWNLOAD_PAYMENT_WITHDRAWAL","paymentDeposit","SEND_PAYMENT_DEPOSIT","DOWNLOAD_PAYMENT_DEPOSIT","CHECK_FACILITY_DEPOSIT","GET_VISITS","SET_VISITS","DOWNLOAD_VISITS","visits","SET_INITIAL_PERIODS_RANGE","GET_USAGE_PERIODS","SET_USAGE_PERIODS","GET_PROGRAM_PAYMENT_TYPE_ID","SET_PROGRAM_PAYMENT_TYPE_ID","periodFrom","yearMonth","periodTo","usagePeriods","periodIDFrom","periodIDTo","paymentsGenerationSettings","paymentsFees","startupFeeAmount","renewalFeeAmount","facilityAccessFeeAmount","oneTimeFeeAmount","isAdditionalFeesPopupVisible","GENERATE_PAYMENTS","CHECK_PAYMENTS_EXISTENCE","SET_PAYMENTS_EXIST","SET_IS_GENERATION_WITH_FEES","SET_IS_ADDITIONAL_FEES_POPUP_VISIBLE","doPaymentsExist","isGenerationWithFees","filters","programTypeID","programPaymentTypesEnum","paymentTypeID","paymentTypesEnum","partnerID","periodID","pin","SET_PERIOD_ID","CHECK_PAYMENTS_PROCESSED","SEND_PAYMENTS","achUploadAvailability","errorMessage","SET_ACH_UPLOAD_AVAILABILITY","CHECK_ACH_UPLOAD_AVAILABLE","GET_VOUCHER_PROGRAMS","SET_VOUCHER_PROGRAMS","voucherPrograms","GET_VOUCHER_PROGRAM","SAVE_VOUCHER_PROGRAM","SET_VOUCHER_PROGRAM","voucherProgram","GET_VOUCHERS","SET_VOUCHERS","UPLOAD_RECIPIENTS_LIST","SET_RECIPIENTS_FILE_CONTENT_VALIDATION_ERRORS","PREVIEW_VOUCHER","SET_VOUCHER_EMAIL_PREVIEW","SET_IS_PUBLISH_POPUP_VISIBLE","GET_IS_VOUCHER_PROGRAM_PUBLISHED","SET_IS_VOUCHER_PROGRAM_PUBLISHED","PUBLISH_VOUCHER_PROGRAM","SET_IS_PREVIEW_POPUP_VISIBLE","vouchers","recipientsFile","recipientsFileContentValidationErrors","voucherEmailPeview","isPublishPopupVisible","isVoucherProgramPublished","isPreviewPopupVisible","voucher","recipientMetaDataDictionary","GET_PLANS_FOR_MAP","SET_PLANS_FOR_MAP","plans","loginReducer","redirectUrl","isForgotPasswordPopupOpen","isForgotPasswordResultPopupOpen","username","forgotPasswordReducer","userDescriptions","contactUsReducer","descriptions","facilitySearchBoxReducer","isMemberTransferPopupOpen","membersTransferResult","memberTransferReducer","goodRecords","badRecords","uploadRecipientsResultsReducer","uploadResults","fileName","paymentTypeReducer","equipmentAndFacilitiesPolicies","agreementFormReducer","legalContractFormReducer","checkedPlans","SET_PLANS_FILTERS","plansFilters","UPDATE_BANK_ACCOUNT","bankOperationTypes","Credit","Debit","bankOperationTypesNamesMap","bankOperationTypesModelNamesMap","specificBankingInfoIndex","specificBankingInfo","operationTypeID","GET_CALCULATED_DUES","SET_CALCULATED_DUES","calculatedDues","paymentDetailsFormReducer","SET_REIMBURSEMENTS_GROUP","SET_REIMBURSEMENTS_ITEMS","GET_REIMBURSEMENTS_GROUP","GET_REIMBURSEMENTS_GROUP_LIST","SET_REIMBURSEMENTS_GROUP_LIST","reimbursementsGroups","reimbursementGroups","reimbursementGroup","planOrProgramID","enrollmentEntity","items","GET_MEMBER_INSURANCE_INFO_SUCCESS","homeReducer","rootReducer","history","combineReducers","router","connectRouter","form","app","notifications","memberProfileGeneralInfo","memberProfileFacilityInfo","memberProfileUsageLog","accountInfo","accountInsuranceInfo","partnerBankingInfoReducer","partnerBillingInfoReducer","managePartnerReducer","partnersListReducer","memberListReducer","partnerManagersListReducer","facilityLocatorReducer","facilityLocatorMapReducer","partnerOwnerAreaReducer","partnerManagerAreaReducer","memberAreaReducer","partnerPaymentsSectionReducer","partnerPaymentWithdrawalSectionReducer","facilityPaymentDepositSectionReducer","visitLogTabReducer","partnerGroupMemberhipsPaymentsReducer","partnerPaymentsGenerationSectionReducer","facilityPaymentsGenerationSectionReducer","facilityPaymentsSectionReducer","wellnessProgramPaymentsReducer","voucherProgramsListReducer","voucherProgramReducer","recipientsListReducer","legalContractReducer","clubLocatorSectionReducer","memberPaymentsReducer","plansFilterReducer","accountBillingInfoReducer","membershipReimbursementReducer","getMe","http","passwords","replaceRouteParams","route","result","replace","encodeURIComponent","getPartnersList","getPartnersListByProgramType","getPartnersListByProgramPaymentType","programPaymentTypeId","partnerBillingType","getStatesList","managerID","getProgramTypes","AppService","UsageLogService","getUsageLog","memberGuids","getFacilityUsagesGroup","usagePeriodId","GeneralInfoService","getGeneralInfo","memberId","AccountInfoService","checkBankingRequired","membersGuids","checkReimbursementEnabled","FacilityInfoService","getFacilityInfo","membersIds","ChangePasswordService","InsuranceInfoService","getInsuranceInfo","PartnersListService","ManagePartnerService","StatesService","ManagePartnerManagerService","ProgramTypeService","isServer","window","isStatic","IS_STATIC","createBrowserHistory","roles","guest","facilityManager","systemAdmin","mpsAdmin","partnerManager","roleType","PropTypes","oneOf","_g","bind","n","e","t","r","hasOwnProperty","call","apply","SvgIcMenuIconAccount","props","className","width","height","viewBox","xmlns","stroke","strokeWidth","fill","fillRule","transform","d","SvgIcMenuIconMember","SvgIcMenuIconDashboard","SvgIcIconClose","focusable","SvgIcActionEyeVisible","SvgIcActionEyeInvisible","SvgIcIconAttention","_defs","SvgIcIconYes","xmlnsXlink","xlinkHref","SvgIcIconNo","_title","_desc","_mask","SvgIcActionArrowUp","style","x","y","SvgIcActionArrowDown","SvgPin72Px1X","cx","cy","fillOpacity","SvgPinSelected72Px1X","SvgWarning","SvgWarningRed","SvgWarningYellow","SvgNewArrowUp","SvgNewArrowDown","root","path","healthCheck","privacynotice","privacyarchivearea","privacyarchives","privacypolicy20230110","californiaprivacypolicy20230110","privacynotice20230824","consumerhealthprivacynotice","dataprivacyrequest","authorizedagentform","termsofuse","guestArea","home","forFacilities","forEmployers","forInsurers","forMembers","aboutUs","accessibilityAndMaintenance","employeeWellness","adminArea","partnersList","partnersAdd","wellnessProgramPayments","partnerPayments","facilityPayments","memberPayments","adminLegalContractPage","isHiddenOnUI","partnerOwnerArea","partnerDashboard","icon","React","createElement","Dashboard","groupMembershipsGeneral","groupMembershipsEmployeeManagement","groupMembershipsVisitLog","partnerOwnerGroupMembershipsPayments","partnerGeneral","partnerManagers","partnerManagersList","partnerManagersAdd","voucherProgramsList","voucherProgramsCreate","voucherProgramsEdit","voucherProgramsView","voucherProgramRecipientsList","partnerManagerArea","partnerManagerDashboard","partnerManagerProfile","Member","partnerManagerProfileGeneral","partnerManagerProfileChangePassword","partnerManagerGroupMemberships","partnerManagerGroupMembershipsEmployeeManagement","partnerManagerGroupMembershipsVisitLog","partnerManagerGroupMembershipsPayments","memberArea","memberDashboard","memberDashboardHome","facilityLocator","profile","general","facilityInformation","facilityEnrollmentPage","memberLegalContractPage","account","Account","insurance","billing","facilityManagerArea","facilityManagerLegalContractPage","facilityManagerDashboard","storage","routeTypeShape","string","isRequired","element","component","elementType","authorize","arrayOf","routes","shape","CustomRoute","currentRoute","filteredRoutes","rest","_objectWithoutProperties","Route","render","layout","topbarContent","hideSidebar","PartnersPage","Switch","Redirect","from","to","InputSelect","_props$meta","meta","inline","_props$size","size","mode","defaultValue","hideValidationMessage","onChange","_props$onBlur","onBlur","_props$isSearchable","isSearchable","restProps","error","touched","initial","showError","classNames","Select","classNamePrefix","Immutable","Iterable","isIterable","options","objectKey","keySeq","first","foundValue","option","setValue","menuPlacement","menuPortalTarget","document","body","maxMenuHeight","ReduxSelectInput","input","custom","Icon","onClick","disabled","event","InputText","_Component","_this","_classCallCheck","_possibleConstructorReturn","_getPrototypeOf","handleChangeSecureMode","_assertThisInitialized","secureMode","secureTextEntry","_inherits","_createClass","this","setState","_this$props","noMargin","transparentBorder","highlightInputValidationError","readOnly","hidden","isNotEmpty","showSecureModeSwitcher","filled","htmlFor","EyeVisible","EyeInvisible","Component","defaultProps","ReduxTextInput","SortIcon","isSortedDesc","ArrowDown","ArrowUp","tableResources","labelShow","labelPage","labelOf","textNoDataFound","Table","columns","_ref$defaultSorted","defaultSorted","updateCellHandler","_ref$validateCellRule","validateCellRules","pageSizes","pageSize","_useTable","useTable","disableMultiSort","sortBy","useSortBy","usePagination","getTableProps","getTableBodyProps","headerGroups","page","prepareRow","canPreviousPage","canNextPage","pageOptions","pageCount","gotoPage","nextPage","previousPage","setPageSize","pageIndex","_useState","useState","_useState2","pageIndexInputValue","setPageIndexInputValue","useEffect","headerGroup","getHeaderGroupProps","headers","column","getHeaderProps","minWidth","getSortByToggleProps","isSorted","row","getRowProps","cells","cell","getCellProps","colSpan","target","isNaN","Button","theme","isMaxWidth","keepLabelCase","buttonRef","ref","children","ActionCell","getProps","handler","Spinner","messageText","getPartnersListSuccess","loadingActions","partnersListService","then","finally","PartnerResources","labelPartnerIdNumber","labelName","labelUSBankPartnerCode","labelIndustry","labelAddress1","labelAddress2","labelCity","labelState","labelZipCode","labelCountry","labelWebsite","labelFirstName","labelLastName","labelPhoneNumber","labelEmailAddress","labelNotes","labelPrograms","addPartnerButtomText","createSelector","InfoBox","title","_props$bordered","bordered","InfoBoxRow","labelComponent","contentposition","_props$bold","bold","_props$bottomborder","bottomborder","mapDispatchToProps","connectStateToProps","connect","selectors","administerHandler","partnerId","generatePath","useMemo","Header","accessor","disableSortBy","Cell","Fragment","setPartnerForPartnerOwnerArea","partnerPrograms","setProgramPaymentType","setIsGroupMembershipAddedToPartner","updatePartner","getState","managePartnerService","success","createPartnerSuccess","updatePartnersSuccess","catch","errorResponse","FormGroup","helperText","onSubmit","MaterialIcon","role","variant","ariaHidden","tabIndex","filterExpandContentId","ariaExpanded","aria-hidden","aria-controls","aria-expanded","aria-label","MuiInputText","_props$input","addAsteriskToLabel","fullWidth","showErrorMessage","startAdornment","masked","adornmentVariant","labelVariant","autoFocus","required","autocompleteType","textBoxRef","muiLabel","onFocus","setSecureMode","showHelperText","displayValue","slice","TextField","inputRef","inputProps","autoComplete","InputProps","styles","input_readOnly","endAdornment","InputAdornment","position","IconButton","edge","inputAdornment","InputLabelProps","label_readOnly","MuiButton","noPadding","mui_button_container","mui_button_container_no_padding","defaultFormProperties","enableReinitialize","shouldAsyncValidate","pristine","syncValidationPasses","onSubmitFail","errors","invalidInputName","keys","invalidInput","getElementsByName","scrollIntoView","behavior","parseBigInt","radix","BigInt","isBroke","_i","_arr","symbol","currentSymbolAsDeciaml","parseInt","validationRules","customMessage","test","regex","message","RegExp","passwordRegex","numericRegex","numericOrEmpty","indexOf","requiredIfGreaterThan","nameField","valueToCompare","allValues","requiredIf","requiredIfAny","valuesToCompare","includes","fileRequired","min","max","valueLength","numericOrEmptyWithWildcard","wildcardAllowed","formProps","phoneNumber","range","valueToTest","minValueToCompare","maxValueToCompare","greaterThanMultiplicationIf","fieldName1","fieldName2","lessThanOrEqual","nameFieldToCompare","labelFieldToTest","labelFieldToCompare","fieldToTestValue","fieldToCompareValue","greaterThanOrEqual","greaterThanOrEqualSpecificValue","dateFormat","formattedValueToCompare","moment","format","integer","bigInt","base","usBankCode","alphanumeric","decimalWithTwoPlaces","notEqualTo","notExist","itemsSet","Set","has","trim","toLowerCase","partnerIdNumberRequired","partnerIdNumberLength","partnerIdNumberAlphanumeric","partnerNameRequired","partnerNameMaxLength","partnerUSBankPartnerCodeRequired","partnerUSBankPartnerCodeFormat","partnerIndustryRequired","partnerIndustryMaxLength","partnerAddress1Required","partnerAddress1MaxLength","partnerAddress2MaxLength","partnerCityRequired","partnerCityMaxLength","partnerStateRequired","partnerZipCodeRequired","partnerZipCodeNumeric","partnerZipCodeLength","partnerCountryRequired","partnerCountryMaxLength","partnerWebsiteMaxLength","partnerFirstNameRequired","partnerFirstNameMaxLength","partnerLastNameRequired","partnerLastNameMaxLength","partnerPhoneNumberRequired","partnerPhoneNumberMaxLength","partnerPhoneNumberFormat","partnerEmailAddressRequired","partnerEmailAddressMaxLength","partnerEmailAddressFormat","partnerNotesMaxLength","MuiTextArea","minRows","maxRows","multiline","InputCheckbox","checked","ReduxInputCheckbox","_ref3","CheckBoxGroup","isImmutable","Map","initialValues","getInitialValues","values","handleChange","handleBlur","reduce","initialValue","withMutations","_this$props$input","_this2","_ref3$target","_this$props2","_this$props2$input","_ref4","_this3","_this$props3","_this$props3$meta","_this$props3$input","areDisabledCheckedInitials","submitFailed","SharedResources","imageTextExportToExcel","showButtonText","addButtonText","saveButtonText","saveChangesButtonText","updateButtonText","cancelButtonText","closeButtonText","uploadButtonText","backButtonText","editLabel","okLabel","cancelLabel","confirmLabel","toggleShowToolTip","toggleHideToolTip","resetButtonText","showMoreButtonText","showLessButtonText","applyButtonText","clearButtonText","downloadButtonText","reduxForm","submitting","handleSubmit","isAdd","gmrAddProgram","useFlags","Field","validate","getOptionLabel","getOptionValue","pt","rows","getStatesListSuccess","CardInfo","subtitle","shadow","halfSpace","noInnerMargin","programTypeService","getProgramTypesSuccess","getStates","ManagePartnerForm","getIsGroupMembershipAddedToPartner","checkShouldRedirect","shouldRedirect","NavigationTabControl","handleKeyPress","tab","which","preventDefault","onNavigate","tabs","NavLink","onKeyPress","activeClassName","ConditionalRedirect","condition","fromRoute","toRoute","payeeToken","getBankingInfoSuccess","setBankAccount","getBankingInfo","PartnerBankingInfoService","submit","getBankAccountDetails","bankingAccount","resetBankAccount","match","routesForNavigation","getIsAdmin","accountNumber","routingNumber","isAdmin","MuiRadioGroup","labelId","stringValue","FormControl","FormLabel","RadioGroup","aria-labelledby","FormControlLabel","control","Radio","FormHelperText","bankAccountTypes","Checking","Savings","BankingInfoResources","routingNumberLabel","accountNumberLabel","accountTypeLabel","payeeTokenLabel","retrieveButtonLabel","linkButtonNext","linkButtonPrevious","warningBoxDescription","descriptionForWithdrawalBankingInfo","descriptionForDepositinfoBankingInfo","labelSavings","labelChecking","labelCurrentLinkedAccount","fieldRoutingNumber","fieldAccountNumber","fieldPayeeToken","fieldBankAccountType","buttonRetrieve","warningBoxTitle","checkboxLabel","fieldCheckbox","BankAccountTypeOptions","routingNumberRequired","routingNumberNumeric","routingNumberLength","routingNumberSpecialCombination","numbers","split","accountNumberRequired","accountNumberNumericWithWildcard","accountNumberLength","accountTypeRequired","inputsDisabled","setInputsDisabled","_useState3","_useState4","accountNumberExists","setAccountNumberExists","AdditionalDetails","text","BankingInfoSecurityNote","Attention","BankingInfoStatus","actions","BankingInfoForm","ACHPaymentToHC","DirectFromBankAccount","partnerBillingTypesNamesMap","PartnerBillingInfoResources","labelBillingType","titleWithdrawalFromBankingInfo","formPartnerBillingInfo","fieldPartnerBillingTypeID","bankAccountModelName","getBillingInfoSelector","getPayeeToken","formSelector","formValueSelector","partnerBillingInfoResources","getIsWithdrawalInfoVisible","partnerBillingTypeID","isWithdrawalInfoVisible","MuiInputSelect","placeholder","iconComponent","classes","setTouched","open","setOpen","InputLabel","onClose","onOpen","IconComponent","select","select_input_disabled","select_icon_disabled","MenuProps","getContentAnchorEl","anchorOrigin","vertical","horizontal","transformOrigin","paper","MenuItem","selected","withStyles","border","partnerBillingTypeRequired","labelRoutingNumber","labelAccountNumber","labelAccountType","getBillingInfo","setBillingInfo","setBankAccountDetails","MuiInfoBox","onEdit","defaultExpanded","showEditButton","expandable","expanded","setExpanded","handleClick","stopPropagation","Accordion","AccordionSummary","expandIcon","AccordionDetails","BankAccountInfoRetriver","retrievePartnerBankAccountDetails","BankAccountDetails","buttons","isCopyBankAccountChecked","prefix","bankingValidationRules","WarningBox","BankAccountSecurityNote","PartnerBillingInfoService","partnerBillingValidationRules","sharedResources","getPaymentTypesList","setPaymentTypesList","updateBillingInfo","PartnerBillingInfoForm","DashboardImagesSection","src","image1","alt","image2","image3","DashboardDescriptionSection","marginTop","color","DashboardPartner","partitionKey","rowKey","filePartitionKey","fileRowKey","getHasGroupMembership","hasGroupMembership","documentAgreementVersions","V1","V2","V3","V4","IconCaption","CustomLink","linkPath","isExternalLink","isNewTab","href","Intl","NumberFormat","currency","homeResources","dashboardTitle","groupMembershipTitle","labelMonthlyDues","labelRequiredVisit","labelReimbursementAmount","labelBillingDetails","labelMemberAgreement","viewText","actiueClubTitle","enrollInFacilityTitle","noFacilitiesEnrolledText","findFacilityButtonText","getMemberInsuranceInfo","getMemberInsuranceInfoSuccess","item","hasFacilityEnrollment","formatFacilityAddress","facilityAddress","facilityCity","facilityState","facilityZipcode","dashboard__description","dashboard__content__widget","dashboard__content__widget__box_icon","dashboard__content__widget_header","dashboard__content__widget__body","dashboard__content__widget__body__row_label","currencyFormatter","facilityIndex","dashboard__content__widget__body__blue","dashboard__content__widget__box_icon_blue","facilityPhone","facilityWebsite","startsWith","dashboard__content__widget__body__actions","getFilteredRoutes","authorizedRoutes","allRoutes","logoGreen","logoGreenHover","logoWhite","accessible","generalInfoBanner","excel","gold","ten","kroc","zumama","pool","fruita","ucare","avera","healthpartners","medica","preferredone","tivity","groupYoga","grandmaTutuBlue","fitnessGroup1","fitnessPark","fitnessHr","healthScreen","scrubsWomen","manWprostheticWorkout","womanDaughterSwim","floatieBlue","fitnessGroup2","barMethod","anytimeFitness","progress","fitOnLarge","Image","image","imageHover","hovered","setHovered","images","onMouseOut","onMouseOver","setFields","loadFieldsData","memberIds","withMemberGroup","actionName","WrappedComponent","WithMemberGroup","shouldActionWait","performAction","prevProps","ReferenceError","TypeError","GeneralInfo","withMemberGroupObserved","FacilityInfoTab","unsetFacilityUsagesGroupLoading","getUsageLogSuccess","reloadFacilityUsagesGroup","setFacilityUsagesGroupLoading","setFacilityUsagesGroup","InfoBoxTable","header","columnName","object","propertyName","columnIndex","Yes","No","facilityUsagesGroupResources","labelAddress","labelMonthlyTotal","headerVisitDate","headerVisitTime","warningMessage","FacilityUsagesGroup","selectedOption","onRefresh","isEmpty","UsageLog","handleReloadFacilityUsagesGroup","getIsBankingRequired","getIsReimbursementEnabled","selectFilteredRoutes","doChecks","Promise","all","setIsBankingRequiredAction","setIsReimbursementEnabledAction","getInsuranceInfoSuccess","insuranceInfoResources","linkLegalContract","reimbursementResources","defaultSortColumn","accessorYearMonth","accessorVisitCount","accessorReimbursementAmount","accessorHasBeenReimbursed","accessorDescription","labelYearMonth","labelVisitCount","labelHasBeenReimbursed","labelDescription","noReimbursementDetailsText","defaultMonthCount","getDefaultPeriodIDFrom","getDefaultPeriodIDTo","last","defaultPeriodIDFrom","defaultPeriodIDTo","ArrowIcon","NewArrowDown","NewArrowUp","SELECTION","IndeterminateCheckbox","forwardRef","indeterminate","resolvedRef","useRef","current","Checkbox","IndeterminateCheckboxCell","getToggleRowSelectedProps","IndeterminateCheckboxCellHeader","getToggleAllRowsSelectedProps","ToolTip","arrow","placement","isOpen","Tooltip","clickHandler","iconClassName","buttonClassName","SearchBox","externalRef","_props$onChange","showFilterIcon","onShowFilter","filterTooltip","hasFilterSelection","searchInputId","listBoxId","ariaHasPopup","ariaAutocomplete","showFilterPanel","activeDescendant","isExpanded","searchResultsCount","searchBoxInGrid","clearable","validationTooltip","clearIconVisible","setClearIconVisible","onChangeDebounced","debounce","searchInputLabelId","isInstructionsHidden","setIsInstructionsHidden","_useState5","_useState6","isHovered","setIsHovered","onMouseEnter","onMouseLeave","aria-activedescendant","aria-haspopup","aria-autocomplete","aria-describedby","aria-live","focus","Badge","invisible","NewTable","initialData","initialSortBy","updateSelectedItems","selectedItems","getItemId","warningRowCondition","errorRowCondition","tableClassName","requireSelect","tableButton","manualSortBy","tableIndex","scrollableDiv","setItems","selectedRows","setSelectedRows","updateFilteredData","pageNumber","desc","getRowTheme","defaultColumn","getRowId","autoResetSelectedRows","sortTypes","caseInsensitiveAlphaNumeric","prev","curr","columnId","original","useRowSelect","useSticky","hooks","visibleColumns","sticky","canSort","maxWidth","left","IndeterminateCheckboxHeader","selectedFlatRows","isAllRowSelected","_useTable$state","selectedRowIds","scrollTop","sortBySelection","selectedRowsToAdd","newSelectedRows","sr","isSortingChange","second","isFirstSelected","isSecondSelected","si","useImperativeHandle","refreshTable","scrollableDivID","InfiniteScroll","dataLength","next","hasMore","scrollableTarget","scrollThreshold","right","searchBox","BulletCell","getIsLoading","periodResources","periodFromIDLabel","periodToIDLabel","PeriodsFilterForm","setPeriodFrom","setPeriodTo","period__container","period__field","period__button","periodRangeErrorText","_error","getPlanReimbursementsGroup","reimbursementsGroup","reimbursementItems","reimbursementsGroupJS","hideReimbursementHistory","hasBeenReimbursed","reimbursement__title","reimbursement__group_container","usagePeriodIDFrom","usagePeriodIDTo","reimbursement__table_container","sortColumn","sortOrder","periodsService","setClosedUsagePeriods","setPeriodsUntilCurrent","getReimbursementsGroupList","ReimbursementService","setReimbursementsGroupList","getReimbursementsGroupType","setReimbursementsItemsAction","ReimbursementsGroup","fontWeight","toUpperCase","PartnerManagersTab","confirmPasswordResources","labelNewPasword","labelPassword","labelConfirmPassword","newPasswordRequired","labelNewPassword","passwordRequired","confirmPasswordRequired","newPasswordMaxLength30","passwordMaxLength30","confirmPasswordMaxLength30","ConfirmPassword","isForChange","partnerManagerResources","errorMessagePasswordConfirmPasswordMatch","addManagerButtonText","firstNameRequired","firstNameMaxLength","lastNameRequired","lastNameMaxLength","emailAddressRequired","emailAddressMaxLength","emailAddressFormat","ManagePartnerManagerForm","isShowPasswordControls","onCancel","partnerManagerValidation","confirmPassword","setLoadingAction","unsetLoadingAction","loadMeAction","changeSelectedMemberGroup","fullName","localStorage","setItem","preserveMemberGroup","changeSelectedMemberGroupAction","setGlobalErrorMessage","setGlobalErrorMessageAction","unsetAppLoading","loadMe","memberGroups","preservedMemberGroupName","getItem","extractMemberGroup","resetMe","setManager","partnerManagerService","addPartnerManagerResources","titleAddPartnerManager","createManagerSuccess","partnerManagersPath","PopupBody","labelCancel","labelOk","onOk","buttonSize","WrappedConfirmPopup","onConfirm","confirmAlert","customUI","store","RenderConfirmBody","getManagersList","managersListService","getManagersListSuccess","deleteManagerSuccess","partnerManagersAddPath","onDeleteButtonClick","PartnerManagerProfilePage","isLogoutRequired","appActions","updatedManager","oldManager","localeCompare","oldPasswordRequired","oldPasswordMaxLength30","newPassword","changePasswordResources","changePasswordSelectors","ChangePasswordForm","changePasswordModel","GroupMembershipsPage","useSelector","ConfirmPopup","showPopup","ReactConfirmAlert","reimbursementTypes","none","toMember","toFacility","toBilling","check","byPaycheck","corpWellness","noReimbursements","reimbursementTypesFullNamesMap","groupMembershipsInfoResources","labelProgramSettings","labelPartnerSettings","labelFacilitySettings","labelMemberSettings","labelProgramFee","labelProgramPaymentType","labelNumberOfMemberships","labelReimbursementType","labelFeesBillingType","labelDuesForOneMemberPerMonthPaidToFacility","labelAdminFee","labelDuesAmount","labelNumberOfVisitsToReimburse","fieldProgramFee","fieldNumberOfMemberships","fieldReimbursementType","fieldFeesBillingType","fieldDuesForOneMemberPerMonthPaidToFacility","fieldAdminFee","fieldDuesAmount","fieldReimbursementAmount","fieldNumberOfVisitsToReimburse","fieldMemberReimbursementType","placeholderProgramPaymentType","fieldLaunchDate","labelLaunchDate","fieldPaymentForActivatedMembersOnly","labelPaymentForActivatedMembersOnly","programPaymentTypeOptions","reimbursementTypeOptions","GetLaunchDateMinValue","GetLaunchDateMaxValue","add","getGroupMembershipToAdd","getIsConfirmationPopupVisible","getSavingConfirmationPopupMessage","ppto","isConfirmationPopupVisible","savingConfirmationPopupMessage","isExisting","MuiInputCurrency","currencySymbol","decimalScale","fixedDecimalScale","thousandSeparator","thousandsGroupStyle","decimalSeparator","materialUITextFieldProps","NumericFormat","displayType","valueIsNumericString","customInput","MuiInputNumeric","programFeeRequired","programFeeRange","programFeeGreaterThanNumberOfMembershipsAndDuesForOneMemberPerMonthPaidToFacilityRequiredMultiplication","numberOfMembershipsRequired","numberOfMembershipsRange","duesForOneMemberPerMonthPaidToFacilityRequired","duesForOneMemberPerMonthPaidToFacilityRange","numberOfMembershipsValidation","resolve","reject","numberOfMemberships","adminFeeRequired","adminFeeRange","programPaymentTypeRequired","reimbursementTypeGreater","memberReimbursementTypeRequired","reimbursementAmountRequired","reimbursementAmountRange","numberOfVisitsToReimburseRequired","numberOfVisitsToReimburseRange","duesAmountRequired","duesAmountRange","launchDateRequired","launchDateRange","asyncFormValidation","validation","response","getKeyfobsList","facilityFeesBillingTypes","directFromFacility","optumHealth","invoiceFacility","feesWaived","humanaInvoice","atYourBest","renewActive","uprLifetimeFitness","renewActiveInvoiceAndCheck","facilityInvoiceCheck","aarpMedSupInvoiceCheck","facilityInvoiceAarpMedSupCheck","onePassCommercial","onePassCommercialInvoiceAndCheck","facilityFeesBillingTypesFullNamesMap","_Object$freeze","installmentTypes","directFromPartner","installmentTypesFullNamesMap","setGroupMembership","setGroupMembershipToAddAction","resetGroupMembership","getDefaultGroupMembership","setHasEnrolledOrInvitedMembers","groupMembershipsService","getMembersCount","MuiInputDatePicker","formatString","inputVariant","minDate","maxDate","MuiPickersUtilsProvider","utils","MomentUtils","KeyboardDatePicker","disableToolbar","autoOk","momentDate","isValid","KeyboardButtonProps","InputAdornmentProps","inputAdornment_readOnly","PopoverProps","PaperProps","elevation8","elevation","MuiInputCheckbox","asyncValidate","asyncValidation","asyncBlurFields","initialProgramPaymentType","initialPaymentForActivatedMembersOnly","onPartnerProgramSettingsEditMode","setOnPartnerProgramSettingsEditMode","onMemberSettingsEditMode","setOnMemberSettingsEditMode","_useState7","_useState8","paymentForActivatedMembersOnly","setPaymentForActivatedMembersOnly","_useState9","_useState10","isDisabledReimbursementField","setIsDisabledReimbursementField","handlePartnerProgramSettingsEdit","reset","handleMemberSettingsEdit","readOnlyPartnerProgramSettingsMode","readOnlyMemberSettingsMode","change","resetGroupMembershipToAdd","setGroupMembershipToAdd","getHasEnrolledOrInvitedMembers","location","reload","GroupMembershipsInfoForm","groupMembershipItem","isGmrFeatureEnabled","notSize","numberOfMembership","employeesList","launchDate","addKeyfobsResources","labelKeyfob","labelFirstKeyfob","labelLastKeyfob","firstKeyfobRequired","firstKeyfobValidRadixNumber","keyfobMinMaxLength","keyfobsSameLength","firstKeyfob","lastKeyfob","firstKeyfobLessThanOrEqual","lastKeyfobRequired","lastKeyfobValidRadixNumber","lastKeyfobGreaterThanOrEqual","lastKeyfobMaxNumberOfKeyfobs","lastKeyfobDecimal","firstKeyfobDecimal","setKeyfobsList","setTotalKeyfobsCount","setMemberToDeactivateMembershipAction","setKeyfobToReassignAction","setMemberToDeleteAction","setProgramPaymentTypeID","AddKeyfobConfirmBody","overflow","keyfob","GetMemberDeleteAtNextMonthConfirmationMessage","startOf","keyfobsAndEmployeesResources","labelKeyfobAccessPass","labelKeyfobStatus","labelFacilityID","labelFacilityName","labelProgramEnrollmentDate","labelEmployeeName","labelDateOfBirth","labelEmail","labelMobilePhone","labelLastMonthUsageCount","labelLastMonthVisitsCount","labelActions","buttonReassign","buttonEditEmail","buttonDelete","buttonDeactivate","titleKeyfobsList","buttonDownload","searchValidation","invitationStatuses","waitingToInvite","invited","enrolledWaitingForPayment","activated","suspended","waitingToDelete","onHold","deleted","invitationStatusesColorsMap","setMemberToDeactivate","setMemberToDelete","isVisible","keyfobsAndEmployeeResources","memberFirstName","invitationStatus","getMemberToDeactivate","getKeyfobToReassign","getMemberToDelete","getDeactivationConfirmationPopupMessage","memberLastName","getEmployeeDeletionConfirmationPopupMessage","getEmployeeDeletionConfirmationPopupTitle","getKeyfobIdToDelete","keyfobID","getIsDeleteKeyfobConfirmationPopupVisible","getDeleteKeyfobConfirmationPopupMessage","getIsKeyfobReassignConfirmationPopupVisible","getKeyfobReassignConfirmationPopupMessage","oldFacilityMemberID","isPartnerManager","keyfobIdToDelete","deactivationConfirmationPopupMessage","deleteKeyfobConfirmationMessage","deleteMemberConfirmationMessage","deleteMemberConfirmationTitle","reassignConfirmationPopupMessage","isReassignConfirmationPopupVisible","isDeleteKeyfobConfirmationPopupVisible","NewEditableCell","setOldValue","setIsEditMode","isEditMode","oldValue","validationError","setValidationError","setShowErrorMessage","_useState11","_useState12","blurTimeoutRef","undoChangeHandler","clearTimeout","isEditButtonEnabled","setTimeout","display","_step","_iterator","_createForOfIteratorHelper","s","done","err","f","editTooltip","keyfobStatuses","availableForActivation","banned","keyfobStatusesColorsMap","preferredAccessTypes","physicalKey","digitalKey","keyfobRequired","keyfobsAndEmployeesListResources","keyfobValidRadixNumber","newKeyfobNotEqualToOldKeyfob","TooltipCell","decodedValue","decode","useWindowSize","getWindowSize","innerWidth","innerHeight","windowSize","setWindowSize","handleResize","addEventListener","removeEventListener","isMobileSize","isTabletSize","emailRegex","emailMaxLength","maxLength","KeyfobsAndEmployeesList","getIsReassignKeyfobFeatureEnabled","resetMemberToDeactivate","resetKeyfobToReassign","resetKeyfobIdToDelete","isDesktop","tableRef","refreshGrid","exportToExcel","newFacilityIDNumberSubmitHandler","newFacilityMemberID","newEmailSubmitHandler","memberEmail","emailValidationRules","preferredAccessType","keyfobStatusID","ReplaceKeyfobActionsCell","employeeManagementService","joinKeyfobsList","responseType","setKeyfobToReassign","partnerGroupMemberhipsPaymentsService","groupMembershipEnrollmentID","uploadMemberRecipientsResources","uploadSectionTitle","uploadSectionDescription","resultsPopupTitle","buttonViewDetails","validateUniqueEmailError","validateNumberOfMembersError","validateExistingMembersError","resultsProcessed","resultsUploaded","resultsFailed","extensionAccepted","fileSizeError","memberRecipientsFileUploaderName","setUploadResults","setUploadResultsAction","setUploadResultsFileName","setFileNameAction","DragDropFileUploader","buttonName","fileTypes","FileUploader","upload_dropzone","upload_container","upload_title","upload_subtitle","uploadRequest","formData","FormData","append","showFileUploadErrorAlert","setGoodRecords","setBadRecords","showConfirmation","setShowConfirmation","setFileName","useHistory","file","good","bad","forEach","reason","keyfobsInitialRange","keyfobsInitials","setKeyfobsInitials","UploadMemberRecipientsForm","AddKeyfobsForm","firstKeyfobBigInt","lastKeyfobBigInt","keyfobsLength","paddedKeyfob","padStart","visitLogResources","labelFaciityName","labelEmployeeFirstName","labelEmployeeLastName","labelVisits","labelStatus","formVisitMonth","getDefaultPeriod","selectedPeriod","defaultPeriod","usagePeriodID","visitLogTabService","setVisits","periodId","destroyOnUnmount","forceUnregisterOnUnmount","isTablet","HCAdminVisitLogTab","VisitLogTab","employeesListRef","toggleSelectedFacility","toggleSelectedFacilityAction","facilityLocationTypes","FitnessFacility","FitnessClass","FlexInstructor","facilityLocationTypeNamesMap","facilityLocationTypeColorsMap","FacilityPin","isActive","MapPinSelected","MapPin","facilityLocationType","FacilityTypes","BulletCaption","_ref$size","_ref$textColor","textColor","facilityDetailedInfoPanelResources","enrollInFacilityButtonText","FacilityDetailedInfoPanel","showFilter","isEnrollButtonVisible","visibility","website","activePlanAndProgramNames","planName","facilityLocatorResources","labelBack","labelFitnessFacility","labelFitnessClass","labelFlexInstructor","placeholderSearch","headerLocator","noClubsInThisArea","plansInitial","plansFilterResources","filterPlansTitle","SelectedPlan","plan","onRemove","programNames","pn","every","join","setPlansFilters","setPlansFiltersAction","onFilterChange","showSelected","plansFilterId","setPlans","showMore","setShowMore","toggleCheckboxValue","updatedList","updatedProgramNames","program","toggleChildCheckboxValue","subId","programName","newPlanChecked","resetFilter","plansReset","removeItem","newPlans","morePlans","some","filtersHasChanged","aria-selected","toggleListView","toggleIsListView","mapApi","setIsActive","searchInputRef","setShowFilterPanel","setHasFilterSelection","setIsExpanded","setSearchResultsCount","googleAutoCompleteOptions","fields","componentRestrictions","places","Autocomplete","setPlace","place","geometry","viewport","fitBounds","setZoom","autocompleteService","AutocompleteService","placeService","PlacesService","addListener","getPlace","predictionList","getElementsByClassName","firstElement","textContent","getPlacePredictions","predictions","getDetails","placeId","place_id","placeFound","blur","bindTo","inputListener","focusListener","querySelectorAll","blurListener","setActiveDescendant","pacItemObserver","MutationObserver","mutationsList","mutation","attributeName","classList","pacContainerObserver","pacItems","setAttribute","observe","attributes","pacContainer","querySelector","childList","subtree","disconnect","PlansFilter","onKeyDown","selectedFacilityKeyDownHandler","FacilityLocatorMapLegend","FacilityCluster","pointCount","clusterId","supercluster","facilitiesCount","clusterSize","expansionZoom","getClusterExpansionZoom","panTo","showGeolocationIsNotSupportedAlert","setFacilitiesInMapBounds","setFacilitiesInMapBoundsAction","setFacilities","setFacilitiesAction","facilitiesInitial","clusterRadius","zoom","center","Marker","setGoogleMap","googleMapApi","setGoogleMapApi","resetLocationIsVisible","setResetLocationIsVisible","bounds","setBounds","points","properties","cluster","coordinates","_useSupercluster","useSupercluster","radius","maxZoom","clusters","resetLocation","navigator","geolocation","getCurrentPosition","coords","code","refreshSearchResultsPanel","FacilitiesInMapPanel","GoogleMapReact","defaultZoom","defaultCenter","bootstrapURLKeys","language","region","libraries","yesIWantToUseGoogleMapApiInternals","onGoogleApiLoaded","apiLoadedParams","maps","onChildClick","distanceToMouse","markerPos","mousePos","fullscreenControl","scaleControl","nw","se","_cluster$geometry$coo","_cluster$properties","isCluster","point_count","FacilityLocatorService","setFacilitiesForMap","FacilityLocatorMap","InputRadio","uniqueId","_ref$meta","_ref$input","computedValue","getFacilities","getMemberHasFacilityEnrollments","memberHasFacilityEnrollments","renderFacilities","loadFacilities","facilitiesSectionResources","FacilitiesSection","getFacilityDescription","getFacilityId","getFacilityAFNumber","memberFacilityEnrollmentIsInProgress","facilityDescription","facilityAFNumber","setFacility","facilityService","legalContractResources","legalCotractTitleEnroll","legalCotractTitleEnrolled","legalCotractTitleFormat","legalContractTitleKeyfobStep","legalContractTitleDepositDetailsStep","legalContractTitleWithdrawalDetailsStep","legalContractTitleAgreementStep","legalContractTitlePaymentDetailsStep","formNameLegalContract","depositToBankAccountModelName","withdrawalFromBankAccountModelName","linkButtonNextText","getEnrollIntoAFFacilityWithinProgramViewModel","getFacilityDisplayName","getFacilityFullAddress","getDocumentAgreementVersion","enrollIntoAFFacilityWithinProgramViewModel","getProgramPaymentType","getMemberReimbursementTypeID","getIsDepositInfoVisible","getPartnerID","getAgreementDate","dataLoadingIsInProgress","facilityDisplayName","facilityFullAddress","formValues","agreementDate","isDepositInfoVisible","memberIdGuid","legalContractService","getMemberLegalContractInfoSuccessAction","legalContractFormResources","labelIsMemberAgreed","labelButton","customValidationMessagelabelIsMemberAgreed","labelContactNumber","labelDate","labelDownloadEquipmentAndFacilitiesPolicies","isMemberAgreedRequired","phoneNumberRequired","phoneNumberMaxLength","phoneNumberRegex","emailAddressRegex","legalContractFormService","setEquipmentAndFacilitiesPolicies","dangerouslySetInnerHTML","__html","FormStep","currentStep","onClickHandler","clickable","narrow","MultiStepForms","forms","formName","filledStage","setFilledStage","step","setStep","onPrevStep","scrollToTop","onNextStep","scrollTo","formComponent","onFormSubmit","formParams","keyfobFormResources","labelKeyfobStep","infoKeyfob","info_text","agreementFormResources","labelButtonSave","getMembersAFFacilityWithinProgramEnrollment","initialize","is","mergeWith","newValue","BankAccount","setBankAccountInfo","setCopyBankAccountValue","getIsEmpty","bankingInfoResources","keepDirtyOnReinitialize","paymentDetailsFormResources","captionPaymentOnFirstOfEveryMonth","labelTodaysPayment","labelTodaysTotalPayment","labelMonthlyReimbursements","captionPaymentAfterTwentyFifthOfEveryMonth","labelRequiredVisits","MonthlyDuesPaymentDetailsInfoBox","monthlyDues","todaysPayment","description_text","startingDate","startingDateToCalculate","paymentDetailsFormService","getMonthlyDues","getMonthlyReimbursements","getRequiredVisits","monthlyReimbursements","requiredVisits","_useFlags","gmAccessPassFeature","KeyfobForm","BankingInfoStepForm","GMSPPaymentDetailsForm","GMRPaymentDetailsForm","AgreementForm","LegalContractForm","checkIfMemberHasActiveFacilityEnrollments","MemberAreaService","setMemberHasActiveFacilityEnrollments","membersInvalidations","facilityEnrollmentPageService","LegalContract","legalcontractmodel","membersaffacilitywithinprogramenrollment","MemberIds","OperationTypeID","getFirstMembersGuid","firstMembersGuid","getSelectedMemberGroup","getAbreviatedName","abbreviatedName","getPortalDashboardLink","portalDashboardLink","loginResources","userId","number","loginButtonText","linkForgotUsername","linkForgotPassword","facilitySignupButtonId","facilitySignupButtonText","memberSignupButtonText","labelUsernameOrEmail","fieldNameUserName","fieldNamePassword","loginDataForm","signupText","isLoginPopupOpenParamName","errorParamName","redirectUrlParamName","memberSignupButtonId","cancelButtonId","loginButtonId","isMobile","isNavigationMenuExpanded","setIsNavigationMenuExpanded","isAccountMenuExpanded","setIsAccountMenuExpanded","headerProfileLinkRef","handleWindowClick","GuestHeaderNavList","group","memberGroupsClickHandler","Topbar","PRIVACY_NOTICE","footerResources","linkNameForFacilities","linkNameForEmployers","linkNameForPartner","linkNameForMembers","linkNameForInsurers","linkNameAbout","linkNamePrivacyNotice","linkNameConsumerHealthPrivacyNotice","linkNameTermsOfUse","headerAllyant","sectionNameSolutions","sectionNameContact","sectionNameLegal","linkNameAccessibilityAndMaintenance","linkSiteMap","FooterMenuItem","active","divId","listId","divRef","_React$useState","_React$useState2","setActive","onKeyUp","keyCode","click","FooterPublic","getFullYear","SidebarItem","SidebarResources","defaultToggleBtnClassName","defaultIconBtnClassName","containerClassName","tooltipClassName","itemsClassName","Sidebar","ErrorBoundary","info","CustomPopupBody","aria-modal","CustomPopup","closeOnClickOutside","overlayClassName","onClickOutside","userNameOrEmailRequired","returnUrl","setIsForgotPasswordPopupOpen","setIsForgotPasswordResultPopupOpen","forgotPassword","captchaToken","userName","forgotPasswordService","setUsername","passwordInputDisabled","setPasswordInputDisabled","loginData","loginService","closePopup","signupButtonRef","LoginDataForm","isValidPath","showErrorAlert","setRedirectUrl","search","useLocation","queryParams","URLSearchParams","redirectUrlParamValue","useCallback","firstFocusableElement","getElementById","getAttribute","shiftKey","urlString","allowedSites","URL","parse","origin","IsRedirectToAllowedSite","LoginBody","forgotPasswordResources","forgotButtonText","labelUsername","fieldNameUsername","forgotPasswordDataForm","resendButtonText","resultTitle","resultSubtitle","paramName","sendButtonId","userNameTextBoxId","emailRequired","Captcha","changeCaptchaHandler","captchaRef","ReCAPTCHA","sitekey","sendButtonRef","userNameTextBoxRef","useCaptcha","setCaptchaToken","ForgotPasswordForm","resend","isCaptchaValid","forgotPopupResources","ForgotPasswordResultBody","MainLayoutPublic","LoginPopup","ForgotPasswordPopup","ForgotPasswordResultPopup","HeaderPublic","conditionedRoutes","getIsLoadingOrRoutesNotFilteredYet","getUserId","partnerManagerAreaService","invalidationTypes","Suspended","getMemberHasActiveFacilityEnrollments","getMemberLegalContract","memberLegalContract","getIsAgreementResigningRequired","hasActiveFacilityEnrollments","isAgreementResigningRequired","isShowTopbar","memberAreaResources","titleResignAgreementPopup","labelActionRequiredForMember","linkText","renderToString","contract","getDefaultProgramType","programTypesEnum","getProgramPaymentTypes","getDefaultProgramPaymentType","defaultProgramType","defaultProgramPaymentType","defaultPaymentType","wellnessProgramPaymentResources","PartnerGroupMemberhipsPaymentsResources","labelStartVisitMonth","labelEndVisitMonth","labelPaymentForOneMember","labelTotalNumberOfMemberships","labelNumberOfActivatedMemberships","labelTotalPayment","titlePartnerGroupMemberhipsPayments","errorMessagePeriodRange","buttonShowPayments","labelMonthlyInstallment","labelRenewalFee","labelFacilityAccessFee","labelOneTimeFee","labelOneTimeFeeReason","labelStartupFee","labelRegisteredMembers","labelTotalMonthlyDuesAmount","labelReimbursedMembers","labelTotalMonthlyReimbursementAmount","periodFormName","periodIDFromFieldName","periodIDToFieldName","setInitialPeriodsRange","setUsagePeriods","getPayments","periodIdFrom","periodIdTo","setPayments","downloadPayments","getUsagePeriods","getDefaultPeriodID","getForm","partnerGroupMemberhipsPaymentsResources","defaultPeriodID","selectedPeriodIDFrom","selectedPeriodIDTo","ExcelImage","programPaymentTypeIDLoaded","setProgramPaymentTypeIDLoaded","gmColumns","toLocaleString","minimumFractionDigits","gmrColumns","gmspColumns","columnsForProgramPaymentType","paymentsFilterSubmitted","paymentsFilterSubmittedJS","PartnerOwnerGroupMembershipsPaymentsTab","PartnerGroupMembershipsPayments","GroupMembershipResources","labelUsagePeriod","labelNumberOfMembershipsPaid","labelDuesPaidForOneMember","labelPartnerAmountToBeSent","labelFacilityAmountToBeSent","labelPayeeToken","labelBillingInfo","labelStatusDate","setPaymentTypesAction","setProgramPaymentTypeAction","setPartner","setPartnerAction","paymentTypeId","partnerPaymentSectionService","setPeriod","setPeriodAction","setPaymentType","setPaymentTypeAction","programTypeId","updateAmountToBeSentAction","undoAmountCorrectionAction","setShowCorrectedOnly","setShowCorrectedOnlyAction","setPartnersAction","getPaymentTypesByProgramPaymentType","paymentTypeService","getPaymentsFilter","getProgramPaymentTypeId","getPeriodId","getPartnerId","getShowCorrectedOnly","getProgramTypeId","getPaymentTypeId","selectedProgramPaymentTypeID","selectedPaymentTypeID","paymentStatuses","pending","receivedByUSBank","submittedToACH","returnedByUSBank","canceledByHC","completed","sentExternally","paymentStatusesNamesMap","paymentStatusesColorsMap","UndoAmountCorrectionActionCell","rowData","columnProps","paymentStatus","handleUndo","EditableCell","isEditable","amountToBeSentRequired","amountToBeSentNumeric","amountToBeSentLessThanTotalAmount","groupMembershipResources","amountToBeSentIsPositive","amountToBeSentIsDecimalWithTwoPlaces","EditAmountToBeSentEditableCell","undoHandler","feesColumns","partnerResources","duesAndReimbursementsColumns","isDisabled","rowIndex","partnerRequired","visitMonthRequired","forPartnerRequired","periodRequired","onSubmitSend","onSubmitDownload","isSendDisabled","sendErrorMessage","paymentTypeFilterVisible","programPaymentTypeFilterDisabled","onProgramPaymentTypeChange","paymentConfirmationFormResources","labelForPIN","pinRequired","pinNumeric","submitText","popupMessage","popupSubmitText","setProgramType","setProgramTypeAction","partnerPaymentWithdrawalSectionService","downloadPaymentWithdrawal","isPopupOpened","setIsPopupOpened","paymentWithdrawalWithPIN","setPaymentWithdrawal","ConnectedConfirmPopup","PaymentConfirmationForm","paymentToSend","PaymentViaACHForm","paymentToDownload","programTypeRequired","paymentTypeRequired","onSubmitGenerate","onSubmitGenerateWithFees","onPaymentTypeChange","isGenerateWithFeesDisabled","setIsGenerateWithFeesDisabled","setSelectedProgramPaymentTypeID","setCheckPaymentsExistAction","resetPaymentsExistenceCheck","checkPaymentsExistence","partnerPaymentsGenerationSectionService","generate","generateParams","setIsGenerationWithFees","setIsGenerationWithFeesAction","setIsAdditionalFeesPopupVisible","setIsAdditionalFeesPopupVisibleAction","partnerPaymentsGenerationSectionResources","partnerPaymentWarningMessageFormat","partnerPaymentConfirmationMessageFormat","getPartners","getPaymentsGenerationSettings","getSelectedProgramTypeID","settings","getSelectedProgramPaymentTypeID","selectedProgramPaymentType","getSelectedPeriodID","getSelectedPartnerID","getConfirmationMessage","selectedPartnerID","selectedPartner","partnerProgramNameFormatter","getSelectedPaymentTypeID","selectedPaymentType","selectedProgramTypeID","getMessage","selectedPeriodID","confirmationMessage","partnerPaymentsFeesConfirmationFormResources","labelForStartupFeeAmount","labelForRenewalFeeAmount","labelForFacilityAccessFeeAmount","labelForOneTimeFeeAmount","labelForOneTimeFeeReason","startupFeeAmountRange","startupFeeAmountDecimalWithTwoPlaces","startupFeeAmountNumeric","renewalFeeAmountRange","renewalFeeAmountDecimalWithTwoPlaces","renewalFeeAmountNumeric","facilityAccessFeeAmountRange","facilityAccessFeeAmountDecimalWithTwoPlaces","facilityAccessFeeAmountNumeric","oneTimeFeeAmountRange","oneTimeFeeAmountDecimalWithTwoPlaces","oneTimeFeeAmountNumeric","oneTimeFeeReasonRequiredIfGreaterThan","oneTimeFeeReasonMaxLength","isOneTimeFeeAmountGreaterThanZero","setIsOneTimeFeeAmountGreaterThanZero","parseFloat","programPaymentTypeChangeHandler","confirmGenerate","handleGenerate","createGenerateParams","paymentTypeChangeHandler","PartnerPaymentsFeesConfirmationForm","formObj","startupFee","renewalFee","facilityAccessFee","oneTimeFee","oneTimeFeeReason","PatnerPaymentsGenerationForm","PartnerPaymentsGenerationSection","PartnerPaymentWithdrawalSection","PartnerPaymentsSection","baseSelectors","baseProps","FacilityResources","labelFacilityIdNumber","labelUSBankFacilityCode","facilityPaymentSectionService","getFacilityPaymentsFilter","partnersByProgramPaymentType","FacilityPaymentsSectionResources","accessorPartnerIdNumber","accessorFacilityIdNumber","accessorUsagePeriod","accessorTotalFacilityPayments","accessorPayeeToken","accessorStatusDate","facilityPaymentsSectionResources","facilityResources","facilityPaymentDepositSectionService","downloadPaymentDeposit","paymentDepositWithPIN","confirmationData","forPeriodRequired","facilityPaymentsGenerationSectionService","facilityPaymentsGenerationSectionResources","facilityPaymentWarningMessageFormat","FacilityPatnerPaymentsGenerationForm","FacilityPaymentsGenerationSection","FacilityPaymentDepositSection","FacilityPaymentsSection","VoucherProgramsListResources","headerVoucherPrograms","headerActions","labelView","labelEdit","addVoucherProgramButtonText","voucherProgramsListService","setVoucherPrograms","editHandler","voucherProgramId","voucherProgramsListResources","publishedOn","setVoucherProgramAction","VoucherProgramFormResources","headerCreateVoucherProgram","labelProgramName","labelRedemptionAmount","labelStartDate","labelEndDate","recipientsButtonText","partnerLogo","existingPartnerLogo","ALLOWED_TYPES","programNameRequired","voucherProgramFormResources","programNameMaxLength","redemptionAmountRequired","redemptionAmountNumeric","redemptionAmountIsPositive","redemptionAmountIsDecimalWithTwoPlaces","redemptionAmountRange","startDateRequired","startDateLessThanOrEqualEndDate","endDateRequired","endDateGreaterThanOrEqualStartDate","fileMaxSize","fileList","MAX_SIZE_MB","fileType","InputFile","note","ReduxInputFile","isPublished","partnerLogoFileName","headerEditVoucherProgram","headerViewVoucherProgram","getIsPublished","voucherProgramJs","getIsAdd","_","getTitle","voucherProgramResources","getPartnerLogoFileName","voucherProgramsCreateService","partnerLogoFile","JSON","setVoucherProgram","VoucherProgramForm","voucherProgramFromForm","voucherProgramFromFormJs","savePromise","ErrorSummary","UploadRecipientsFormResources","headerUploadRecipients","labelRecipientsFile","recipientsFileRequired","uploadRecipientsFormResources","getVouchers","getRecipientMetadataDictionary","firstVoucher","getHasVouchers","hasVouchers","isEmailPreviewLoading","addImagesFromAttachments","emailBody","attachments","attachment","replaceAll","contentId","mediaType","setRecipientsFileContentValidationErrorsAction","setVouchersEmailPreviewAction","setIsPublishPopupVisibleAction","headerRecipients","columnNameVoucherCode","columnNameEmailAddress","columnNameStatus","columnNameFacilityID","columnNameFacilityName","columnNameFacilityManagerName","columnNameRedemptionDate","labelPreview","labelPublish","textPublishConfirmation","recipientsListService","voucherProgramID","setVouchersAction","setIsPublishPopupVisible","setRecipientsFileContentValidationErrors","setIsPreviewPopupVisible","setIsPreviewPopupVisibleAction","recipientsListResources","UploadRecipientsForm","ReactSrcDocIframe","srcDoc","GuestArea","TextSection","MetricsSection","MetricsSectionItem","SectionsDivider","sections_divider","solutionsSectionResources","linkLearnMore","SolutionsSectionItem","materialIconName","SolutionsSection","headerTheme","CustomArrow","NextArrow","PrevArrow","CustomPaging","buttonId","dotSpanText","aria-current","Array","array","currentTarget","TestimonialSection","Slider","nextArrow","prevArrow","dots","speed","dotsClass","sliderStyles","customPaging","accessibility","TestimonialSectionItem","logoName","logoAlt","ariaLabel","QuotesIcon","CallToAction","CallToActionBody","buttonText","buttonClickHandler","CallToActionImage","imageAlt","imageClassName","guestAreaSharedResources","contactUsDescriptionText","contactUsButtonText","contactUsTitle","callToActionSubtitle","signUpButtonText","requestDemoButtonText","requestDemoDescriptionText","activateKeyFobButtonText","groupYogaImageAlt","grandmaGrandDaughterDancingImageAlt","fitnessGroupImageAlt","fitnessParkImageAlt","fitnessHrImageAlt","firefighterImageAlt","healthVisitImageAlt","workoutImageAlt","groupFitnessDumbellImageAlt","motherDaughterSwimImageAlt","tubeFloatingImageAlt","ContactUsSection","ASH_ALT_TAG","GYM_PARTNER_IMAGES","imageName","link","MEDICAL_PARTNER_IMAGES","MetaData","keywords","metaTags","Head","Helmet","Home","pageTitleFormatter","public_page","optum","fitonhealth","ash","PartnersSection","PartnersSectionItem","imageObject","forFacilitiesResources","ForFacilities","corvallis","imageInfo","BenefitsSection","BenefitsSectionItem","forEmployersResources","ForEmployers","forInsurersResources","ForInsurers","_regeneratorRuntime","prototype","o","defineProperty","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","Context","makeInvokeMethod","tryCatch","arg","h","GeneratorFunction","GeneratorFunctionPrototype","p","getPrototypeOf","v","g","defineIteratorMethods","_invoke","AsyncIterator","invoke","__await","callInvokeWithMethodAndArg","Error","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","resultName","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","isGeneratorFunction","constructor","mark","setPrototypeOf","__proto__","awrap","async","reverse","pop","charAt","stop","rval","handle","complete","finish","delegateYield","_getFacilitiesForMap","_asyncToGenerator","_callee","planIds","programIds","hasGroupMemberships","_context","indexes","_x","_x2","_x3","getPlansForMap","clubLocatorResources","nominateDescription","groupMembershipsOptionText","plansFilter","hasFilter","clubLocatorSectionService","flat","setPlansForMap","hasRestrictedOptions","forMembersResources","ForMembersSection","clubLocatorSection","ForMembers","ClubLocatorSection","QuotesSection","signature","aboutUsResources","AboutUs","HEALTHY_CONTRIBUTIONS_PRIVACY","TermsOfUse","downloadAuthorizedAgentDesignationForm","DateTimeFormat","year","month","day","PrivacyNotice","effectiveDate","formattedEffectiveDate","privacyPolicyEffectiveDateFormatter","utilsStyles","scope","rowSpan","offset","getTimezoneOffset","getTime","toISOString","privacyPolicyArchiveTitleFormatter","PrivacyArchives","PrivacyPolicy20230110","rel","CaliforniaPrivacyPolicy20230110","utilStyles","AccessibilityAndMaintenance","setDashboardIsLoading","contactUsResources","labelFullName","fieldFullName","fieldEmailAddress","labelCompanyName","fieldCompanyName","fieldContactNumber","labelSelfDescription","fieldSelfDescription","labelMessage","fieldMessage","contactUsDataForm","sendButtonText","fullNameRequired","fullNameMaxLength","companyNameMaxLength","contactNumberRequired","contactNumberMaxLength","contactNumberRegex","descriptionRequired","messageRequired","messageMaxLength","sendContactUsNotification","emailModel","contactUsService","getUserDescriptionList","getUserDescriptionListSuccess","setIsCaptchaValid","ContactUsForm","nominateClubResources","labelProvider","labelClubName","labelContactName","labelPhone","labelClubEmail","fieldName","fieldEmail","fieldProvider","fieldClubName","fieldCity","fieldState","fieldContactName","fieldPhone","fieldClubEmail","linkButtonPreviousText","nominateButtonSubmitText","nominateClubInfo","generalInfoText","clubInfoText","generalInfoStepText","clubInfoStepText","providerNameMaxLength","clubNameRequired","clubNameMaxLength","cityRequired","cityMaxLength","clubStateRequired","contactNameMaxLength","phoneRegex","clubEmailRegex","clubEmailMaxLength","nominate","nominateClubData","nominateClubService","NominateClub","ClubInfo","HealthCheck","MemberResources","labelFacilityMemberID","labelPlans","facilitySearchBoxInputLabel","placeholderMemberSearch","accessorFacilityMemberID","accessorEmployeeName","accessorMemberDateOfBirth","accessorFacilityName","accessorFacilityIDNumber","accessorPlanName","accessorMemberStatus","textNoMemberFound","bulkOptionsButtonText","tooltipDeactivate","MuiAutocomplete","onInputChange","filterOptions","noOptionsText","inputLabel","loading","renderInput","facilitySearchBoxResources","getFacilitiesForDropDown","afOnly","searchTerm","takeCount","facilitySearchBoxService","inputChangeHandler","newInputValue","debouncedChangeHandler","facilityIDNumber","setMemberToDeactivateAction","WarningCell","isInvalid","isPending","invalidMessage","WarningRed","WarningYellow","memberStatuses","invalid","setIsMemberTransferPopupOpen","MuiSplitButton","anchorRef","_React$useState3","_React$useState4","selectedIndex","setSelectedIndex","handleClose","ButtonGroup","prevOpen","Popper","sx","zIndex","anchorEl","transition","disablePortal","TransitionProps","Grow","Paper","ClickAwayListener","onClickAway","MenuList","autoFocusItem","handleMenuItemClick","membersTransferResources","labelFacilityFromName","labelFacilityFromID","labelFacilityToName","labelFacilityToID","labelTransferStatus","labelTransferReason","accessorFacilityFromName","accessorFacilityFromIDNumber","accessorFacilityToName","accessorFacilityToIDNumber","accessorTransferStatus","accessorTransferReason","transferButtonText","backToMemberButtonText","labelSelectFacility","placeholderSelectFacility","warnMessageClosingFacility","facilityEnrollmentStatuses","Active","OnHold","Closing","transferMembers","facilityID","memberDatas","memberID","res","facilityFromName","facilityName","facilityFromIDNumber","facilityToName","facilityToIDNumber","transferStatus","transferMessage","setSelectedFacility","FacilitySearchBox","enrollmentStatus","MemberTransfer","isPpv","isAF","getMembersList","membersService","setMembersList","joinMembersList","updateSelectedMembers","allPlansShouldBeIneligible","defaultFacilityID","selectedFacilityID","setSelectedFacilityID","setFilter","filteredSelectedMembers","setFilteredSelectedMembers","filterLowercased","WarningGray","sortDescFirst","memberStatus","MembersStatuses","ReplaceMemberActionsCell","MemberTransferPopup","PrivacyArchiveArea","uploadRecipientsResources","uploadResultsLabel","uploadResultsTitle","labelRowNumber","labelReason","UploadRecipientsResults","goBack","employeeWellnessResources","EmployeeWellness","contactUsWellnessImageAlt","memberPaymentsFiltersFormName","fieldProgramTypeID","fieldPaymentTypeID","fieldPartnerID","fieldPeriodID","buttonTextView","columnNameEmployeeName","columnNameFacilityId","accessorFacilityId","columnNameAmountToBeWithdrawn","columnNameAmountToBeDeposited","accessorAmountToBeWithdrawn","columnNameMemberPaymentType","accessorMemberPaymentType","columnNameBillingInfo","accessorBillingInfo","columnNameDate","accessorDate","headerTotalDuesAmount","buttonSend","monthlyDuesCollectingIsLocked","getProgramTypeID","getPaymentTypeID","getPeriodID","getTotalPaymentsAmount","total","acc","obj","getMemberPaymentsCount","currentPeriod","getIsViewButtonDisabled","getCurrentPeriodId","ppt","totalPaymentsAmount","memberPaymentsCount","initialFilterValues","isViewButtonDisabled","currentPeriodId","TableFiltersPanel","table_filters_panel","viewButtonDisabled","setPeriodID","setPeriodIDAction","setProgramTypeID","setProgramTypeIDAction","memberPaymentsService","setPaymentsAction","paymentsProcessedData","CurrencyCell","currency_cell","memberBillingTypes","memberBillingTypesNamesMap","sortType","paymentStatusID","setPeriods","isMemberDuesSendingLocked","submittedFilters","setSubmittedFilters","MemberPaymentsFiltersForm","member_payments_total","download_button_container","memberFullName","BillingInfoService","updateBankAccount","billingInfoResources","withdrawalFormName","depositFormName","bankAccountCheckboxLabel","billingInfoRequiredText","updateCallBack","bankInfoRequiredError","billing_info__error","billing_info","withdrawalFromBankAccount","depositToBankAccount","billing_info__title","billing_info__subtitle","billing_info__box_icon","billing_info__bank_accounts_container","isWithdrawalFromBankAccountRequired","BankAccountForm","isDepositToBankAccountRequired","withdrawalBillingInfo","redirectPath","globalInformationMessage","globalWarningMessage","AdminHeaderNavList","showMenuButton","renderHeader","FooterInternal","MainLayoutInternal","HeaderInternal","AdminArea","PartnersList","AddPartnerPage","WellnessProgramPaymentsPage","MessagesTopbarContent","PartnerPaymentsTab","FacilityPaymentsTab","MemberPaymentsTab","StaffLegalContractPage","MembersList","MembersTransferResult","PartnerOwnerArea","BackToPartnersTopbarContent","PartnerInfoPage","GeneralInfoTab","PartnerBankingInfoTab","PartnerBillingInfoTab","PartnerManagersList","AddPartnerManagerPage","GroupMembershipsGeneralInfoTab","EmployeeManagementTab","VoucherProgramsPage","VoucherProgramsList","VoucherProgram","RecipientsList","PartnerManagerArea","PartnerManagerProfileGeneralInfoTab","ChangePasswordTab","PartnerManagerEmployeeManagementTab","PartnerManagerVisitLogTab","PartnerManagerGroupMembershipsPaymentsTab","MemberArea","DashboardMember","DashboardMemberHome","FacilityLocator","MemberProfile","FacilityEnrollmentPage","MemberLegalContractPage","AccountInfo","InsuranceInfo","BillingInfo","Reimbursement","FacilityManagerArea","FacilityManagerDashboard","ContactUs","PrivacyNotice20230824","Storage","authorizeRoutes","routesToRender","hasRole","authorizeChildRoutes","subroute","requiredRoles","userRole","checkIfPathMatchesAnyInCollection","currentPath","pathsCollection","matchPath","exact","getPathsRecursive","flatMap","getAuthorizedPaths","definedPaths","authorizedPaths","Portal","defaultNode","removeChild","node","appendChild","createPortal","enclose","lowerBound","upperBound","Notification","onClearNotification","displayTimeout","minAnimationTime","defaultAnimationTime","notificationType","isAppeared","setIsAppeared","clearTimer","setClearTimer","handleClearNotification","getClearAnimationTime","Close","appResources","unauthorizedPathErrorMessage","withRouter","redirectRoutePath","setRedirectRoutePath","isDefinedPath","pathname","query","Notifications","launchDarklySettings","clientSideID","context","kind","reactOptions","useCamelCaseFlagKeys","flags","AppWithFlagsSupport","LDProvider","setLDProvider","asyncWithLDProvider","provider","App","Boolean","hostname","ScrollTo","hash","elementId","interval","setInterval","$element","clearInterval","middlewares","thunk","withExtraArgument","services","routerMiddleware","createStore","composeWithDevTools","applyMiddleware","configureStore","_ref$endpoint","endpoint","defaults","baseURL","interceptors","request","use","_response$status","_response$data","filename","newWindow","documentElement","innerHTML","anchor","createObjectURL","Blob","download","handleSucceededResponse","handleFailedResponse","configureInterception","ReactGA","send_to","TagManager","gtmId","rootElement","APP","StylesProvider","injectFirst","Provider","ConnectedRouter","hasChildNodes","ReactDOM","hydrate","serviceWorker","ready","registration","unregister"],"mappings":"2EACAA,EAAOC,QAAU,CAAC,IAAM,wBAAwB,MAAQ,0BAA0B,KAAO,yBAAyB,WAAa,+BAA+B,KAAO,yBAAyB,KAAO,yBAAyB,KAAO,yBAAyB,MAAQ,0BAA0B,MAAQ,0BAA0B,QAAU,4BAA4B,MAAQ,0BAA0B,UAAY,8BAA8B,MAAQ,0BAA0B,MAAQ,0BAA0B,QAAU,4BAA4B,SAAW,6BAA6B,YAAY,8BAA8B,mBAAmB,qCAAqC,sBAAsB,wCAAwC,8BAA8B,gDAAgD,qBAAqB,uCAAuC,KAAO,yBAAyB,aAAa,+BAA+B,sBAAs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/main.f5655ad7.chunk.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"sub\":\"_info-page_sub__gk3LY\",\"light\":\"_info-page_light__bgC01\",\"sub2\":\"_info-page_sub2__57y86\",\"underlined\":\"_info-page_underlined__fPvj6\",\"bold\":\"_info-page_bold__ZCee6\",\"blue\":\"_info-page_blue__s9YVk\",\"dark\":\"_info-page_dark__aq2yk\",\"white\":\"_info-page_white__TOejX\",\"green\":\"_info-page_green__4XY7r\",\"poppins\":\"_info-page_poppins__WXS0R\",\"black\":\"_info-page_black__hb7N8\",\"subtitle1\":\"_info-page_subtitle1__CHQ0D\",\"body1\":\"_info-page_body1__NQULT\",\"body2\":\"_info-page_body2__So9lu\",\"caption\":\"_info-page_caption__0Q+Db\",\"overline\":\"_info-page_overline__zY3K9\",\"info-page\":\"_info-page_info-page__6fq8g\",\"info-page__title\":\"_info-page_info-page__title__Vmm/B\",\"info-page__subtitle\":\"_info-page_info-page__subtitle__cLC3R\",\"info-page__subtitle-content\":\"_info-page_info-page__subtitle-content__y9iIB\",\"info-page__content\":\"_info-page_info-page__content__Ek5qP\",\"link\":\"_info-page_link__9j2LI\",\"link--blue\":\"_info-page_link--blue__uwsIR\",\"link--overflow-wrap\":\"_info-page_link--overflow-wrap__oqN0A\",\"info-page__primary-content\":\"_info-page_info-page__primary-content__JHqVY\",\"info-page__primary-content-section-title\":\"_info-page_info-page__primary-content-section-title__vFiSf\",\"info-page__primary-content-section-subtitle\":\"_info-page_info-page__primary-content-section-subtitle__NHZes\",\"info-page__primary-content-section-subtitle--regular\":\"_info-page_info-page__primary-content-section-subtitle--regular__6CVaP\",\"info-page__primary-content-section-subtitle--regular--italic\":\"_info-page_info-page__primary-content-section-subtitle--regular--italic__dDVWm\",\"info-page__primary-content-section-paragraph\":\"_info-page_info-page__primary-content-section-paragraph__pYXsA\",\"info-page__primary-content-section-paragraph--bold\":\"_info-page_info-page__primary-content-section-paragraph--bold__gvA92\",\"info-page__primary-content-section-list\":\"_info-page_info-page__primary-content-section-list__AB43v\",\"info-page__primary-content-section-list-item\":\"_info-page_info-page__primary-content-section-list-item__x1Epl\",\"info-page__primary-content-section-list-item-title\":\"_info-page_info-page__primary-content-section-list-item-title__HaTWd\",\"info-page__primary-content-section-list-item--disc\":\"_info-page_info-page__primary-content-section-list-item--disc__wHI75\",\"info-page__primary-content-section-list--no-bullets\":\"_info-page_info-page__primary-content-section-list--no-bullets__aulsv\",\"info-page__primary-content-section-address\":\"_info-page_info-page__primary-content-section-address__kUU8y\",\"info-page__primary-content-section-table\":\"_info-page_info-page__primary-content-section-table__kwABT\",\"info-page__primary-content-section-table-header-row\":\"_info-page_info-page__primary-content-section-table-header-row__rXKOX\",\"info-page__primary-content-section-table-header-row-cell\":\"_info-page_info-page__primary-content-section-table-header-row-cell__jUGqv\",\"info-page__primary-content-section-table-header-row-cell--break-all\":\"_info-page_info-page__primary-content-section-table-header-row-cell--break-all__vof7e\",\"info-page__primary-content-section-table-body-row\":\"_info-page_info-page__primary-content-section-table-body-row__Q2siR\",\"info-page__primary-content-section-table-body-row-header-cell\":\"_info-page_info-page__primary-content-section-table-body-row-header-cell__YDmxm\",\"info-page__primary-content-section-table-body-row-header-cell-content\":\"_info-page_info-page__primary-content-section-table-body-row-header-cell-content__V5Wy7\",\"info-page__primary-content-section-table-body-row-header-cell-content--bold\":\"_info-page_info-page__primary-content-section-table-body-row-header-cell-content--bold__VjOwY\",\"info-page__primary-content-section-table-body-row-cell\":\"_info-page_info-page__primary-content-section-table-body-row-cell__VJRjp\",\"info-page__primary-content-section-table-body-row-cell-content\":\"_info-page_info-page__primary-content-section-table-body-row-cell-content__npHXf\",\"info-page__primary-content-section-table-body-row-cell-content--bold\":\"_info-page_info-page__primary-content-section-table-body-row-cell-content--bold__B8Wp+\",\"info-page__primary-content-section-table-body-row-cell--break-all\":\"_info-page_info-page__primary-content-section-table-body-row-cell--break-all__cBwtH\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"sub\":\"_solutions-section_sub__foM26\",\"light\":\"_solutions-section_light__5ityV\",\"sub2\":\"_solutions-section_sub2__aHxAH\",\"underlined\":\"_solutions-section_underlined__WMM8i\",\"bold\":\"_solutions-section_bold__UjgQa\",\"blue\":\"_solutions-section_blue__U6Q4G\",\"dark\":\"_solutions-section_dark__A7UJ2\",\"white\":\"_solutions-section_white__7d1LP\",\"green\":\"_solutions-section_green__N0LZb\",\"poppins\":\"_solutions-section_poppins__peQZ8\",\"black\":\"_solutions-section_black__4Vjav\",\"subtitle1\":\"_solutions-section_subtitle1__D0zeV\",\"body1\":\"_solutions-section_body1__QsCEh\",\"body2\":\"_solutions-section_body2__teuGi\",\"caption\":\"_solutions-section_caption__ChYoN\",\"overline\":\"_solutions-section_overline__BObvz\",\"solutions-section\":\"_solutions-section_solutions-section__ghn/E\",\"solutions-section__items\":\"_solutions-section_solutions-section__items__mVCgP\",\"solutions-section__item\":\"_solutions-section_solutions-section__item__mThvG\",\"solutions-section__item-icon\":\"_solutions-section_solutions-section__item-icon__8iXku\",\"solutions-section__item-header\":\"_solutions-section_solutions-section__item-header__lWNIU\",\"solutions-section__item-description\":\"_solutions-section_solutions-section__item-description__VGEhS\",\"solutions-section__link-spacer\":\"_solutions-section_solutions-section__link-spacer__X8JdG\",\"solutions-section__link-container\":\"_solutions-section_solutions-section__link-container__Pyx06\",\"solutions-section__link\":\"_solutions-section_solutions-section__link__hKlW4\",\"solutions-section__link-icon\":\"_solutions-section_solutions-section__link-icon__clPOJ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"sub\":\"_slider_sub__1NRK6\",\"light\":\"_slider_light__OrXqh\",\"sub2\":\"_slider_sub2__sbl2e\",\"underlined\":\"_slider_underlined__1WLB6\",\"bold\":\"_slider_bold__mpWE7\",\"blue\":\"_slider_blue__/OEtS\",\"dark\":\"_slider_dark__Tr5BT\",\"white\":\"_slider_white__WlzxE\",\"green\":\"_slider_green__ALJCJ\",\"poppins\":\"_slider_poppins__O5se1\",\"black\":\"_slider_black__/AKpU\",\"subtitle1\":\"_slider_subtitle1__n4rcQ\",\"body1\":\"_slider_body1__8tG0n\",\"body2\":\"_slider_body2__g9GLb\",\"caption\":\"_slider_caption__vL5Qv\",\"overline\":\"_slider_overline__YGm0Q\",\"arrow\":\"_slider_arrow__5v7Ch\",\"next-arrow\":\"_slider_next-arrow__UlAVr\",\"prev-arrow\":\"_slider_prev-arrow__0E4DO\",\"custom-slick-dots\":\"_slider_custom-slick-dots__f1B7e\",\"slick-active\":\"_slider_slick-active__dtguo\",\"custom-dot\":\"_slider_custom-dot__B4uyb\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"sub\":\"_quotes-section_sub__e9bLJ\",\"light\":\"_quotes-section_light__K3m5p\",\"sub2\":\"_quotes-section_sub2__WLz8Z\",\"underlined\":\"_quotes-section_underlined__2p87V\",\"bold\":\"_quotes-section_bold__9YYtH\",\"blue\":\"_quotes-section_blue__jTcF4\",\"dark\":\"_quotes-section_dark__3hntZ\",\"white\":\"_quotes-section_white__w+fgD\",\"green\":\"_quotes-section_green__GIBG9\",\"poppins\":\"_quotes-section_poppins__GEoYT\",\"black\":\"_quotes-section_black__arb8S\",\"subtitle1\":\"_quotes-section_subtitle1__YWk9P\",\"body1\":\"_quotes-section_body1__eOl6n\",\"body2\":\"_quotes-section_body2__zVY2I\",\"caption\":\"_quotes-section_caption__zDt9b\",\"overline\":\"_quotes-section_overline__Vho2i\",\"quotes-section\":\"_quotes-section_quotes-section__H0Zr8\",\"quotes-section__description-wrapper\":\"_quotes-section_quotes-section__description-wrapper__rAy1T\",\"quotes-section__description\":\"_quotes-section_quotes-section__description__Mvjfh\",\"quotes-section__item-wrapper\":\"_quotes-section_quotes-section__item-wrapper__x6Bjh\",\"quotes-section__item\":\"_quotes-section_quotes-section__item__LmqbF\",\"quotes-section__header\":\"_quotes-section_quotes-section__header__KuEN3\",\"quotes-section__quotes\":\"_quotes-section_quotes-section__quotes__K99N8\",\"quotes-section__item-text\":\"_quotes-section_quotes-section__item-text__G7SPG\",\"quotes-section__item-signature\":\"_quotes-section_quotes-section__item-signature__byblA\"};","export const BASE_URLS = {\r\n HC_Site: process.env.REACT_APP_HC_SITE,\r\n api: process.env.REACT_APP_API_URL\r\n};\r\n\r\nexport const API_PATHS = {\r\n login: `${BASE_URLS.HC_Site}/HCLogin/login`,\r\n logout: `${BASE_URLS.HC_Site}/HCLogin/logout`,\r\n homeSiteMap: `${BASE_URLS.HC_Site}/Home/SiteMap`,\r\n accessibilityMaintenance: `${BASE_URLS.HC_Site}/Info/Accessibility`,\r\n privacyNotice: '/privacy',\r\n termsOfUse: '/termsofuse',\r\n HCDashboard: `${BASE_URLS.HC_Site}/HCLogin/Dashboard`,\r\n HCFacilities: `${BASE_URLS.HC_Site}/Admin/Facilities`,\r\n HCUsers: `${BASE_URLS.HC_Site}/Admin/Users`,\r\n HCPlans: `${BASE_URLS.HC_Site}/Plans`,\r\n HCSettings: `${BASE_URLS.HC_Site}/Settings`,\r\n facilityEnrollment: `${BASE_URLS.HC_Site}/OnlineFacilityEnrollment/LocationStep?isNew=True`,\r\n memberEnrollment: `${BASE_URLS.HC_Site}/Member/CheckMemberEnrollment?isNew=True`,\r\n calendlyUrl: 'https://calendly.com/healthycontributions',\r\n calendlyCalenderUrl: 'https://calendly.com/hcmarketing-qyuy/30min',\r\n allyant: 'https://allyant.com/',\r\n me: 'user/me',\r\n changePassword: '/user/changePassword',\r\n generalInfo: '/profile/generalInfo',\r\n bankingInfo: '/account/bankingInfo',\r\n facilityInfo: '/profile/facilityInfo',\r\n bankingCheck: '/account/bankingcheck',\r\n reimbursementCheck: '/account/reimbursementcheck',\r\n memberHasActiveFacilityEnrollments: '/members/hasActiveFacilityEnrollments',\r\n getMemberInvalidations: '/members/invalidations',\r\n usageLog: '/profile/usageLog',\r\n facilityUsagesGroup: '/profile/facilityUsagesGroup',\r\n reimbursementHistory: '/account/reimbursementHistory',\r\n reimbursement: '/account/reimbursement',\r\n planReimbursementsGroup: '/account/reimbursementsGroup/{enrollmentEntity}/{planOrProgramID}',\r\n insuranceInfo: '/account/insuranceInfo',\r\n listPartners: '/partners/list',\r\n listPartnersByProgramType: '/partners/list/programtype',\r\n listPartnersByProgramPaymentType: '/partners/programpaymenttype/{programPaymentTypeId}',\r\n members: 'members',\r\n savePartner: '/partners/save',\r\n getPartner: '/partners/get',\r\n partnerBankingInfo: 'partners/bankingInfo',\r\n partnerBillingInfo: 'partners/{partnerID}/billingInfo',\r\n partnerBillingTypes: 'partners/billingTypes',\r\n updatePartnerBillingInfo: 'partners/{partnerID}/billingInfo',\r\n partnerBankAccountDetails: 'partners/bankAccountDetails',\r\n listStates: '/states/list',\r\n getManager: '/partnermanagers/get',\r\n createManager: '/partnermanagers/create',\r\n updateManager: '/partnermanagers/update',\r\n listManagers: '/partnermanagers/list',\r\n deleteManager: '/partnermanagers/delete',\r\n listProgramTypes: '/programtypes/list',\r\n getGroupMembership: '/groupmemberships/get',\r\n updateGroupMembership: '/groupmemberships/save',\r\n addGroupMembership: '/groupmemberships',\r\n createKeyfobs: '/employeemanagement/keyfobs/create',\r\n listKeyfobs: '/employeemanagement/keyfobs',\r\n membersCount: '/employeemanagement/membership/count',\r\n deactivateMembership: '/employeemanagement/membership/deactivate',\r\n deleteMemberGroupMembership: '/employeemanagement/membership/enrollment/{groupMembershipEnrollmentID}/{programPaymentTypeID}',\r\n updateMember: '/employeemanagement/members/{memberID}',\r\n reassignKeyfob: '/employeemanagement/membership/reassign',\r\n deleteKeyfob: '/employeemanagement/keyfob/{keyfobID}',\r\n uploadMemberRecipients: '/employeemanagement/members/upload',\r\n listFacilities: '/facility/list',\r\n getFacility: '/facility/get',\r\n getMemberFacility: '/facility/memberfacility',\r\n getFacilitiesForMap: '/facility/map',\r\n getPartnerPayments: '/payments/partner/groupMemberships/{programPaymentTypeId}/paymentType/{paymentTypeId}/periods/{periodId}',\r\n downloadPartnerPayments: '/payments/partner/groupMemberships/{programPaymentTypeId}/paymentType/{paymentTypeId}/periods/{periodId}/download',\r\n getPartnerSpecificPayments: '/payments/partner/groupmemberships/{programPaymentTypeId}/list',\r\n downloadPartnerSpecificPayments: '/payments/partner/groupmemberships/download',\r\n getPeriods: '/periods/list',\r\n getClosedUsagePeriods: '/periods/closedusageperiod/list',\r\n getPeriodsUntilCurrent: '/periods/untilCurrent',\r\n checkPartnerPaymentsWithdrawal: '/payments/partner/ach/check',\r\n sendPartnerPaymentsWithdrawal: '/payments/partner/ach/send',\r\n dowloadPaymentWithdrawal: '/payments/partner/ach/download',\r\n checkFacilityPaymentsDeposit: '/payments/facility/groupMemberships/{programPaymentTypeId}/partners/{partnerId}/periods/{periodId}/ach/check',\r\n sendFacilityPaymentsDeposit: '/payments/facility/groupMemberships/{programPaymentTypeId}/partners/{partnerId}/periods/{periodId}/ach/send',\r\n dowloadPaymentDeposit: '/payments/facility/groupMemberships/{programPaymentTypeId}/partners/{partnerId}/periods/{periodId}/ach/download',\r\n enrollIntoAFFacilityWithinProgram: '/members/membersaffacilitywithinprogram/enroll',\r\n getMemberLegalContractInfo: '/members/memberlegalcontract',\r\n resignMemberLegalContract: '/members/memberlegalcontract',\r\n getVisits: '/visits/list',\r\n downloadVisits: '/visits/download',\r\n downloadKeyfobsAndEmployees: '/employeemanagement/keyfobs/excelreport',\r\n generatePartnerPayments: '/payments/partner/generate',\r\n checkPartnerPaymentsExist: '/payments/partner/check',\r\n generateFacilityPayments: '/payments/facility/generate',\r\n checkFacilityPaymentsExist: '/payments/facility/check',\r\n downloadFacilityProgramPayments: '/payments/facility/groupMemberships/{programPaymentTypeId}/periods/{periodId}/download',\r\n getFacilityPayments: '/payments/facility/groupMemberships/{programPaymentTypeId}/periods/{periodId}',\r\n downloadMemberPayments: 'v1/payments/members/groupMemberships/{programPaymentTypeID}/paymentTypes/{paymentTypeID}/partners/{partnerID}/periods/{periodID}/download',\r\n getMemberPayments: 'v1/payments/members/groupMemberships/{programPaymentTypeID}/paymentTypes/{paymentTypeID}/partners/{partnerID}/periods/{periodID}',\r\n checkMemberPaymentsProcessed: 'v1/payments/members/groupMemberships/{programPaymentTypeID}/paymentTypes/{paymentTypeID}/partners/{partnerId}/periods/{periodId}/ach/check',\r\n sendMemberPayments: 'v1/payments/members/groupMemberships/{programPaymentTypeID}/paymentTypes/{paymentTypeID}/partners/{partnerId}/periods/{periodId}/ach/send',\r\n updateFacilityPaymentAmountToBeSent: '/payments/facility/amount/correct',\r\n undoFacilityPaymentAmountCorrection: '/payments/facility/amount/undo',\r\n updatePartnerPaymentAmountToBeSent: '/payments/partner/amount/correct',\r\n undoPartnerPaymentAmountCorrection: '/payments/partner/amount/undo',\r\n getEquipmentAndFacilitiesPolicies: '/facility/equipmentandfacilitiespolicies',\r\n isGroupMembershipAddedToPartner: '/groupmemberships/isgroupmembershipaddedtopartner',\r\n getVoucherPrograms: '/voucherprograms/partner',\r\n publishVoucherProgram: '/voucherprograms/{voucherProgramID}/publish',\r\n checkVoucherProgramPublished: '/voucherprograms/{voucherProgramID}/check-published',\r\n getVoucherProgram: '/voucherprograms',\r\n saveVoucherProgram: '/voucherprograms/save',\r\n getVoucherProgramVouchers: '/vouchers/voucherprogram/{voucherProgramID}',\r\n uploadRecipients: '/vouchers/recipients',\r\n previewVoucherEmail: '/vouchers/preview/voucherprogram/{voucherProgramID}',\r\n isReassignKeyfobFeatureEnabled: '/applicationsettings/isreassignkeyfobfeatureenabled',\r\n getFacilitiesForClubLocatorMap: 'facility/clubLocatorMap',\r\n getPlansForClubLocatorMap: 'v1/plans/clubLocatorMap',\r\n resetPassword: 'user/password/reset',\r\n contactUs: 'contactUs',\r\n nominateClub: 'nominateClub/email',\r\n listUserDescription: '/contactUs/userDescription/list',\r\n facilityDropdownList: 'facility/search',\r\n memberTransfer: 'v1/member/transfer',\r\n getAuthorizedAgentDesignationForm: 'v1/resources/authorizedagentdesignationform',\r\n deactivateMember: '/members/deactivate',\r\n getProgramPaymentTypeID: '/groupmemberships/programPaymentTypeID',\r\n getMembersWaitingToInviteCount: '/employeemanagement/partners/{partnerID}/countWaitingToInvite',\r\n getPartnerPaymentTypesByProgramPaymentType: '/paymenttypes/partners/programPaymentType/{id}',\r\n getMemberPaymentTypesByProgramPaymentType: '/paymenttypes/members/programPaymentType/{id}',\r\n getFile: 'v1/storage/{partitionKey}/{rowKey}',\r\n membersBillingInfo: '/account/billingInfo',\r\n getCalculatedDues: '/members/calculateddues',\r\n hasEnrolledOrInvitedMembers: '/groupmemberships/hasEnrolledOrInvitedMembers',\r\n};\r\nexport default { BASE_URLS, API_PATHS };\r\n","export const s4 = () => Math\r\n .floor((1 + Math.random()) * 0x10000)\r\n .toString(16)\r\n .substring(1);\r\n\r\nconst guid = () => `${s4()}${s4()}-${s4()}-${s4()}-${s4()}-${s4()}${s4()}${s4()}`;\r\n\r\nexport default guid;\r\n","import guid from '../../utilities/guid';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport const CLEAR_NOTIFICATION = 'CLEAR_NOTIFICATION';\r\nexport const POST_NOTIFICATION = 'POST_NOTIFICATION';\r\n\r\nexport const clearNotificationAction = notificationId => ({\r\n type: CLEAR_NOTIFICATION,\r\n payload: {\r\n notificationId\r\n }\r\n});\r\n\r\nexport const postNotificationAction = notification => ({\r\n type: POST_NOTIFICATION,\r\n payload: {\r\n notification\r\n }\r\n});\r\n\r\n\r\nconst clearNotification = notificationId => (dispatch) => {\r\n dispatch(clearNotificationAction(notificationId));\r\n};\r\n\r\nexport const postNotification = notification => (dispatch) => {\r\n dispatch(postNotificationAction(fromJS({ ...notification, id: guid() })));\r\n};\r\n\r\n\r\nexport default {\r\n clearNotification,\r\n postNotification\r\n};\r\n","import axios from './interception';\r\n\r\nexport default {\r\n get: (url, config = {}) => axios.get(url, config),\r\n post: (url, data = {}, config = {}) => axios.post(url, data, config),\r\n put: (url, data = {}, config = {}) => axios.put(url, data, config),\r\n patch: (url, data = {}, config = {}) => axios.patch(url, data, config),\r\n delete: (url, config = {}) => axios.delete(url, config)\r\n};\r\n","export const SET_LOADING = 'SET_LOADING';\r\nexport const UNSET_LOADING = 'UNSET_LOADING';\r\n","import * as types from './loadingTypes';\r\n\r\nexport const setLoading = key => ({\r\n type: types.SET_LOADING,\r\n key,\r\n});\r\n\r\nexport const unsetLoading = key => ({\r\n type: types.UNSET_LOADING,\r\n key,\r\n});\r\n","export const ERROR = 'error';\r\nexport const WARNING = 'warning';\r\nexport const OK = 'success';","import * as types from './loginTypes';\r\nimport * as loginService from './loginService';\r\nimport * as loadingActions from '../../features/Loading/loadingActions';\r\nimport { ERROR } from '../../components/Notifications/constants';\r\nimport { postNotification } from '../../components/Notifications/actions';\r\n\r\nexport const setIsLoginPopupOpen = isLoginPopupOpen => ({\r\n type: types.SET_IS_LOGIN_POPUP_OPEN,\r\n isLoginPopupOpen\r\n});\r\n\r\nexport function showErrorAlert(message) {\r\n return function (dispatch) {\r\n dispatch(postNotification({ type: ERROR, message }));\r\n };\r\n}\r\n\r\nexport const setRedirectUrl = redirectUrl => ({\r\n type: types.SET_LOGIN_REDIRECT_URL,\r\n redirectUrl\r\n});\r\n\r\nexport function login(loginData, redirectUrl) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.LOGIN));\r\n return loginService.login(loginData)\r\n .then((result) => {\r\n if (result.success) {\r\n dispatch(setIsLoginPopupOpen(false));\r\n window.location = result.redirectUrl || redirectUrl;\r\n }\r\n })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.LOGIN)));\r\n };\r\n}\r\n","export const SET_IS_LOGIN_POPUP_OPEN = 'SET_IS_LOGIN_POPUP_OPEN';\r\nexport const LOGIN = 'LOGIN';\r\nexport const SET_LOGIN_REDIRECT_URL = 'SET_LOGIN_REDIRECT_URL';","export const resources = {\r\n forbidenErrorMessage: 'Access to the resource is denied.',\r\n commonErrorMessage: 'Request failed. Please try again.',\r\n notFoundErrorMessage: 'Resource not found.'\r\n};","import qs from 'qs';\r\nimport axios from 'axios';\r\nimport { BASE_URLS } from './configs';\r\nimport { handleFailedResponse, handleSucceededResponse } from './helpers';\r\nimport { APPLICATION_JSON } from '../constants/contentTypes';\r\n\r\nconst defaultParams = {\r\n withCredentials: true,\r\n paramsSerializer: params => qs.stringify(params, { indices: false }),\r\n validateStatus: status => status < 500\r\n};\r\n\r\nconst axiosInstance = axios.create();\r\n\r\nlet httpRequestsInterceptor = null;\r\nlet httpResponseInterceptor = null;\r\n\r\nconst resetInterceptor = (type, interceptor) => axiosInstance.interceptors[type].eject(interceptor);\r\n\r\nexport const resetInterceptors = () => {\r\n resetInterceptor('request', httpRequestsInterceptor);\r\n resetInterceptor('response', httpResponseInterceptor);\r\n};\r\n\r\nexport const configureInterception = ({ endpoint = BASE_URLS.api, dispatch }) => {\r\n\r\n if (!endpoint) {\r\n throw new Error('No endpoint was specified for http!!!');\r\n } else {\r\n axiosInstance.defaults.baseURL = endpoint;\r\n }\r\n\r\n axiosInstance.defaults.headers.post['Content-Type'] = APPLICATION_JSON;\r\n axiosInstance.defaults.headers['Pragma'] = 'no-cache';\r\n\r\n httpRequestsInterceptor = axiosInstance.interceptors.request.use((config) =>\r\n {\r\n return {\r\n ...config,\r\n ...defaultParams\r\n };\r\n }, Promise.reject\r\n );\r\n\r\n httpResponseInterceptor = axiosInstance.interceptors.response.use(\r\n handleSucceededResponse(dispatch), handleFailedResponse(dispatch)\r\n );\r\n};\r\n\r\nexport default axiosInstance;","const PREFIX = 'APP_';\r\n\r\nexport const SET_LOADING = `${PREFIX}SET_LOADING`;\r\nexport const UNSET_LOADING = `${PREFIX}UNSET_LOADING`;\r\nexport const LOAD_ME = `${PREFIX}LOAD_ME`;\r\nexport const CHANGE_SELECTED_MEMBER_GROUP = `${PREFIX}CHANGE_SELECTED_MEMBER_GROUP`;\r\nexport const SET_GLOBAL_ERROR_MESSAGE = `${PREFIX}_SET_GLOBAL_ERROR_MESSAGE`;\r\n","import { fromJS } from 'immutable';\r\n\r\nexport const initialState = fromJS({\r\n isLoading: true,\r\n me: undefined,\r\n selectedMemberGroup: {}\r\n});","import * as types from './types';\r\nimport { initialState } from './initials';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n const { type, payload = {} } = action;\r\n switch (type) {\r\n case types.SET_LOADING:\r\n return state.set('isLoading', true);\r\n case types.UNSET_LOADING:\r\n return state.set('isLoading', false);\r\n case types.LOAD_ME:\r\n return state.set('me', payload.me);\r\n case types.CHANGE_SELECTED_MEMBER_GROUP:\r\n return state.set(\r\n 'selectedMemberGroup',\r\n payload.selectedMemberGroup\r\n );\r\n case types.SET_GLOBAL_ERROR_MESSAGE:\r\n return state.set('globalErrorMessage', fromJS(action.globalErrorMessage));\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { fromJS } from 'immutable';\r\n\r\nexport const initialState = fromJS([]);","import { CLEAR_NOTIFICATION, POST_NOTIFICATION } from './actions';\r\nimport { initialState } from './initials';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n const { type, payload = {} } = action;\r\n switch (type) {\r\n case POST_NOTIFICATION: {\r\n const { notification } = payload;\r\n return state.push(notification);\r\n }\r\n\r\n case CLEAR_NOTIFICATION: {\r\n const { notificationId } = payload;\r\n const targetNotificationIndex = state\r\n .findIndex(notification => notification.get('id') === notificationId)\r\n .toString();\r\n return state.delete(targetNotificationIndex);\r\n }\r\n\r\n default: {\r\n return state;\r\n }\r\n }\r\n};\r\n\r\n\r\n","const PREFIX = 'MEMBER_PROFILE_GENERAL_INFO_';\r\n\r\nexport const SET_LOADING = `${PREFIX}SET_LOADING`;\r\nexport const UNSET_LOADING = `${PREFIX}UNSET_LOADING`;\r\nexport const SET_FIELDS = `${PREFIX}SET_FIELDS`;","import { Record } from 'immutable';\r\n\r\nconst stateRecord = Record({\r\n isLoading: false,\r\n fieldsData: []\r\n});\r\n\r\nexport const initialState = stateRecord();","import { SET_LOADING, UNSET_LOADING, SET_FIELDS } from './types';\r\nimport { initialState } from './initials';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n switch (action.type) {\r\n case SET_LOADING:\r\n return state.set('isLoading', true);\r\n case UNSET_LOADING:\r\n return state.set('isLoading', false);\r\n case SET_FIELDS: {\r\n const data = action.payload.fieldsData;\r\n\r\n return state.set('fieldsData', [\r\n { label: 'First Name', content: data.firstName },\r\n { label: 'Middle Initial', content: data.middleInitial },\r\n { label: 'Last Name', content: data.lastName },\r\n { label: 'Date of Birth', content: new Date(data.dateOfBirth).toLocaleDateString() },\r\n { label: 'Contact Number', content: data.contactNumber },\r\n { label: 'Email Address', content: data.email },\r\n { label: 'Address', content: data.address1 },\r\n { label: 'Address 2', content: data.address2 },\r\n { label: 'City', content: data.city },\r\n { label: 'State/Territory', content: data.state },\r\n { label: 'ZIP Code', content: data.zipCode },\r\n { label: 'Country', content: data.country }\r\n ]);\r\n }\r\n default:\r\n return state;\r\n }\r\n}","const PREFIX = 'MEMBER_PROFILE_FACILITY_INFO_';\r\n\r\nexport const GET_FACILITIES = `${PREFIX}GET_FACILITIES`;\r\nexport const RENDER_FACILITIES = `${PREFIX}RENDER_FACILITIES`;","import { fromJS } from 'immutable';\r\n\r\nexport const initialState = fromJS({\r\n isLoading: false,\r\n facilities: []\r\n});","import {\r\n RENDER_FACILITIES\r\n} from './types';\r\nimport { fromJS } from 'immutable';\r\nimport { initialState } from './initials';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n const { type, payload = {} } = action;\r\n switch (type) {\r\n case RENDER_FACILITIES:\r\n return state.set('facilities', fromJS(payload.facilities));\r\n default:\r\n return state;\r\n }\r\n}","const PREFIX = 'MEMBER_PROFILE_USAGE_LOG_';\r\n\r\nexport const SET_LOADING = `${PREFIX}SET_LOADING`;\r\nexport const UNSET_LOADING = `${PREFIX}UNSET_LOADING`;\r\nexport const SET_FACILITY_USAGES_GROUP = `${PREFIX}SET_FACILITY_USAGES_GROUP`;\r\nexport const GET_USAGE_LOG_SUCCESS = `${PREFIX}GET_USAGE_LOG_SUCCESS`;\r\nexport const SET_SELECTED_USAGE_PERIOD = `${PREFIX}SET_SELECTED_USAGE_PERIOD`;\r\nexport const SET_FACILITY_USAGES_GROUP_LOADING = `${PREFIX}SET_FACILITY_USAGES_GROUP_LOADING`;\r\nexport const UNSET_FACILITY_USAGES_GROUP_LOADING = `${PREFIX}UNSET_FACILITY_USAGES_GROUP_LOADING`;","import { fromJS } from 'immutable';\r\n\r\nexport const initialState = fromJS({\r\n isLoading: false,\r\n usageLog: {\r\n availableUsagePeriods: [],\r\n facilityUsagesGroups: []\r\n }\r\n});","import { fromJS } from 'immutable';\r\n\r\nimport {\r\n SET_LOADING,\r\n UNSET_LOADING,\r\n GET_USAGE_LOG_SUCCESS,\r\n SET_FACILITY_USAGES_GROUP,\r\n SET_SELECTED_USAGE_PERIOD,\r\n SET_FACILITY_USAGES_GROUP_LOADING,\r\n UNSET_FACILITY_USAGES_GROUP_LOADING\r\n} from './types';\r\n\r\nimport { initialState } from './initials';\r\n\r\nconst getFacilityUsagesGroupIndex = (state, memberGuid) => {\r\n return state.getIn(['usageLog', 'facilityUsagesGroups'])\r\n .findIndex(facilityUsagesGroup => facilityUsagesGroup.get('memberGuid') === memberGuid);\r\n};\r\n\r\nexport default function reducer(state = initialState, action) {\r\n const { type, payload = {} } = action;\r\n switch (type) {\r\n case SET_LOADING:\r\n return state.set('isLoading', true);\r\n\r\n case UNSET_LOADING:\r\n return state.set('isLoading', false);\r\n\r\n case GET_USAGE_LOG_SUCCESS:\r\n return state.set('usageLog', fromJS(payload.usageLog));\r\n\r\n case SET_FACILITY_USAGES_GROUP: {\r\n const { facilityUsagesGroup: { memberGuid, dailyUsages, monthlyTotal } } = payload;\r\n\r\n const index = getFacilityUsagesGroupIndex(state, memberGuid);\r\n\r\n return state.mergeIn(['usageLog', 'facilityUsagesGroups', index], { dailyUsages: fromJS(dailyUsages), monthlyTotal });\r\n }\r\n\r\n case SET_SELECTED_USAGE_PERIOD: {\r\n const { selectedPeriodData: { usagePeriod, memberGuid } } = payload;\r\n\r\n const index = getFacilityUsagesGroupIndex(state, memberGuid);\r\n\r\n return state.mergeIn(['usageLog', 'facilityUsagesGroups', index], { usagePeriod });\r\n }\r\n\r\n case SET_FACILITY_USAGES_GROUP_LOADING: {\r\n const { memberGuid } = payload;\r\n\r\n const index = getFacilityUsagesGroupIndex(state, memberGuid);\r\n\r\n return state.mergeIn(['usageLog', 'facilityUsagesGroups', index], { isLoading: true });\r\n }\r\n\r\n case UNSET_FACILITY_USAGES_GROUP_LOADING: {\r\n const { memberGuid } = payload;\r\n\r\n const index = getFacilityUsagesGroupIndex(state, memberGuid);\r\n\r\n return state.mergeIn(['usageLog', 'facilityUsagesGroups', index], { isLoading: false });\r\n }\r\n\r\n default:\r\n return state;\r\n }\r\n}","const PREFIX = 'ACCOUNT_INFO_';\r\n\r\nexport const SET_LOADING = `${PREFIX}SET_LOADING`;\r\nexport const UNSET_LOADING = `${PREFIX}UNSET_LOADING`;\r\nexport const SET_IS_BANKING_REQUIRED = `${PREFIX}SET_IS_BANKING_REQUIRED`;\r\nexport const SET_IS_REIMBURSEMENT_ENABLED = `${PREFIX}SET_IS_REIMBURSEMENT_ENABLED`;\r\n","import { fromJS } from 'immutable';\r\n\r\nexport const initialState = fromJS({\r\n isLoading: false,\r\n isBankingRequired: undefined,\r\n});\r\n","import * as types from './types';\r\n\r\nimport { initialState } from './initials';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n const { type, payload = {} } = action;\r\n switch (type) {\r\n case types.SET_LOADING:\r\n return state.set('isLoading', true);\r\n case types.UNSET_LOADING:\r\n return state.set('isLoading', false);\r\n case types.SET_IS_BANKING_REQUIRED:\r\n return state.set('isBankingRequired', payload.isBankingRequired);\r\n case types.SET_IS_REIMBURSEMENT_ENABLED:\r\n return state.set('isReimbursementEnabled', payload.isReimbursementEnabled);\r\n default:\r\n return state;\r\n }\r\n}\r\n","const PREFIX = 'ACCOUNT_INSURANCE_INFO_';\r\n\r\nexport const SET_LOADING = `${PREFIX}SET_LOADING`;\r\nexport const UNSET_LOADING = `${PREFIX}UNSET_LOADING`;\r\nexport const GET_INSURANCE_INFO_SUCCESS = `${PREFIX}GET_INSURANCE_INFO_SUCCESS`;","import { fromJS } from 'immutable';\r\n\r\nexport const initialState = fromJS({\r\n isLoading: false,\r\n insuranceInfo:[]\r\n});","import { fromJS } from 'immutable';\r\nimport {\r\n SET_LOADING,\r\n UNSET_LOADING,\r\n GET_INSURANCE_INFO_SUCCESS,\r\n} from './types';\r\n\r\nimport { initialState } from './initials';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n const { type, payload = {} } = action;\r\n\r\n switch (type) {\r\n case SET_LOADING:\r\n return state.set('isLoading', true);\r\n\r\n case UNSET_LOADING:\r\n return state.set('isLoading', false);\r\n\r\n case GET_INSURANCE_INFO_SUCCESS: {\r\n return state.set('insuranceInfo', fromJS(payload.insuranceInfo));\r\n }\r\n default:\r\n return state;\r\n }\r\n}","export const CREATE_PARTNER_SUCCESS = 'CREATE_PARTNER_SUCCESS';\r\nexport const GET_PARTNERS_LIST = 'GET_PARTNERS_LIST';\r\nexport const GET_PARTNERS_LIST_SUCCESS = `${GET_PARTNERS_LIST}_SUCCESS`;\r\nexport const UPDATE_PARTNERS_SUCCESS = 'UPDATE_PARTNERS_SUCCESS';\r\n","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n partners: [],\r\n});\r\n","import * as types from './partnerListTypes';\r\nimport initialState from './partnersListInitialState';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function partnerReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.CREATE_PARTNER_SUCCESS:\r\n return state.updateIn(['partners'], arr =>\r\n arr.push(fromJS(action.partner))\r\n );\r\n case types.GET_PARTNERS_LIST_SUCCESS:\r\n return state.set('partners', fromJS(action.partners));\r\n case types.UPDATE_PARTNERS_SUCCESS:\r\n return state.updateIn(['partners'], partners =>\r\n partners.map((partner) => {\r\n return partner.get('id') === action.partner.id\r\n ? fromJS(action.partner)\r\n : partner;\r\n })\r\n );\r\n default:\r\n return state;\r\n }\r\n}\r\n","export const GET_MEMBERS_LIST = 'GET_MEMBERS_LIST';\r\nexport const SET_MEMBERS_LIST = 'SET_MEMBERS_LIST';\r\nexport const SET_SELECTED_FACILITY_ID = 'SET_SELECTED_FACILITY_ID';\r\nexport const SET_MEMBERS_TOTAL_COUNT = 'SET_MEMBERS_TOTAL_COUNT';\r\nexport const SET_SELECTED_MEMBERS = 'SET_SELECTED_MEMBERS';\r\nexport const JOIN_MEMBERS_LIST = 'JOIN_MEMBERS_LIST';\r\nexport const SET_MEMBER_TO_DEACTIVATE = 'SET_MEMBER_TO_DEACTIVATE';\r\nexport const DEACTIVATE_MEMBER = 'DEACTIVATE_MEMBER';\r\n\r\n","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n members: [],\r\n facility: null,\r\n membersTotalCount: 0,\r\n selectedMembers: [],\r\n memberToDeactivate: undefined,\r\n});\r\n","import * as types from './memberListTypes';\r\nimport initialState from './membersListInitialState';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function memberReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.JOIN_MEMBERS_LIST:\r\n return state.set('members', state.get('members').concat(fromJS(action.members)));\r\n case types.SET_MEMBERS_LIST:\r\n return state.set('members', fromJS(action.members));\r\n case types.SET_MEMBERS_TOTAL_COUNT:\r\n return state.set('membersTotalCount', fromJS(action.totalCount));\r\n case types.SET_SELECTED_MEMBERS: {\r\n return state.set('selectedMembers', fromJS(action.selectedMembers));\r\n }\r\n case types.SET_MEMBER_TO_DEACTIVATE:\r\n return state.set('memberToDeactivate', action.member);\r\n default:\r\n return state;\r\n }\r\n}","const PREFIX = 'PARTNER_BANKING_INFO_';\r\n\r\nexport const GET_BANKING_INFO = `${PREFIX}GET_BANKING_INFO`;\r\nexport const GET_BANKING_INFO_SUCCESS = `${PREFIX}GET_BANKING_INFO_SUCCESS`;\r\nexport const UPDATE_BANKING_INFO = `${PREFIX}UPDATE_BANKING_INFO`;\r\nexport const SET_BANK_ACCOUNT = `${PREFIX}SET_BANKACCOUNT_INFO`;\r\n","import { fromJS } from 'immutable';\r\n\r\nexport const initialState = fromJS({\r\n bankingInfo: {},\r\n bankAccount: {}\r\n});\r\n","import { GET_BANKING_INFO_SUCCESS, SET_BANK_ACCOUNT } from './partnerBankingInfoTypes';\r\nimport { fromJS } from 'immutable';\r\nimport { initialState } from './partnerBankingInfoInitials';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n switch (action.type) {\r\n case GET_BANKING_INFO_SUCCESS:\r\n return state.set('bankingInfo', fromJS(action.payload.bankingInfo));\r\n case SET_BANK_ACCOUNT:\r\n return state.set('bankAccount', fromJS(action.payload.bankAccount));\r\n default:\r\n return state;\r\n }\r\n}","const PREFIX = 'PARTNER_BILLING_INFO_';\r\n\r\nexport const GET_BILLING_INFO = `${PREFIX}GET_BILLING_INFO`;\r\nexport const SET_BILLING_INFO = `${PREFIX}SET_BILLING_INFO`;\r\nexport const GET_PAYMENT_TYPES_LIST = `${PREFIX}GET_PAYMENT_TYPES_LIST`;\r\nexport const SET_PAYMENT_TYPES_LIST = `${PREFIX}SET_PAYMENT_TYPES_LIST`;\r\nexport const UPDATE_BILLING_INFO = `${PREFIX}UPDATE_BILLING_INFO`;\r\nexport const GET_BANK_ACCOUNT_DETAILS = `${PREFIX}GET_BANK_ACCOUNT_DETAILS`;\r\nexport const SET_BANK_ACCOUNT_DETAILS = `${PREFIX}SET_BANK_ACCOUNT_DETAILS`;\r\n\r\n","import { fromJS } from 'immutable';\r\n\r\nexport const initialState = fromJS({\r\n billingInfo: {},\r\n bankAccountDetails: {},\r\n paymentTypesList: []\r\n});\r\n","import { SET_BILLING_INFO, SET_PAYMENT_TYPES_LIST, SET_BANK_ACCOUNT_DETAILS } from './partnerBillingInfoTypes';\r\nimport { fromJS } from 'immutable';\r\nimport { initialState } from './partnerBillingInfoInitials';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n switch (action.type) {\r\n case SET_BILLING_INFO:\r\n return state.set('billingInfo', fromJS(action.payload.billingInfo));\r\n case SET_PAYMENT_TYPES_LIST:\r\n return state.set('paymentTypesList', fromJS(action.payload.paymentTypesList));\r\n case SET_BANK_ACCOUNT_DETAILS:\r\n return state.set('bankAccountDetails', fromJS(action.payload.bankAccountDetails));\r\n default:\r\n return state;\r\n }\r\n}","export const SAVE_PARTNER = 'SAVE_PARTNER';\r\nexport const UPDATE_PARTNER = 'UPDATE_PARTNER';\r\nexport const GET_PARTNER = 'GET_PARTNER';\r\n","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n partner: {},\r\n});\r\n","import * as types from './managePartnerTypes';\r\nimport initialState from './managePartnerInitialState';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function partnerReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.UPDATE_PARTNER:\r\n return state.set('partner', fromJS(action.partner));\r\n default:\r\n return state;\r\n }\r\n}\r\n","export const GET_STATES_LIST = 'GET_STATES_LIST';\r\nexport const GET_STATES_LIST_SUCCESS = `${GET_STATES_LIST}_SUCCESS`;\r\n","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n states: [],\r\n});\r\n","import { GET_STATES_LIST_SUCCESS } from './stateTypes';\r\nimport initialState from './stateInitialState';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function stateReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case GET_STATES_LIST_SUCCESS:\r\n return state.set('states', fromJS(action.states));\r\n default:\r\n return state;\r\n }\r\n}\r\n","export const CREATE_MANAGER = 'SAVE_MANAGER';\r\nexport const GET_MANAGER = 'GET_MANAGER';\r\nexport const SET_MANAGER = 'SET_MANAGER';\r\nexport const UPDATE_MANAGER = 'UPDATE_MANAGER';\r\n","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n manager: {},\r\n});\r\n","import * as types from './managePartnerManagerTypes';\r\nimport initialState from './managePartnerManagerInitialState';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function partnerManagerReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_MANAGER:\r\n return state.set('manager', fromJS(action.manager));\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n loadings: [],\r\n});\r\n","import * as types from './loadingTypes';\r\nimport initialState from './loadingInitialState';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function loadingReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_LOADING: {\r\n return state.update('loadings', loadings =>\r\n loadings.push(fromJS(action.key))\r\n );\r\n }\r\n case types.UNSET_LOADING:\r\n return state.update('loadings', loadings =>\r\n loadings.filter(key => key !== action.key)\r\n );\r\n default:\r\n return state;\r\n }\r\n}\r\n","export const GET_MANAGERS_LIST = 'GET_MANAGERS_LIST';\r\nexport const GET_MANAGERS_LIST_SUCCESS = `${GET_MANAGERS_LIST}_SUCCESS`;\r\nexport const CREATE_MANAGER_SUCCESS = 'CREATE_MANAGER_SUCCESS';\r\nexport const DELETE_MANAGER = 'DELETE_MANAGER';\r\nexport const DELETE_MANAGER_SUCCESS = `${DELETE_MANAGER}_SUCCESS`;\r\n","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n managers: [],\r\n});\r\n","import * as types from './partnerManagersListTypes';\r\nimport initialState from './partnerManagersListInitialState';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function partnerManagerReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.CREATE_MANAGER_SUCCESS:\r\n return state.updateIn(['managers'], arr =>\r\n arr.push(fromJS(action.manager))\r\n );\r\n case types.GET_MANAGERS_LIST_SUCCESS:\r\n return state.set('managers', fromJS(action.managers));\r\n case types.DELETE_MANAGER_SUCCESS: {\r\n return state.updateIn(['managers'], arr =>\r\n arr.filter(manager => manager.get('id') !== action.managerId)\r\n );\r\n }\r\n default:\r\n return state;\r\n }\r\n}\r\n","export const GET_PROGRAM_TYPES = 'GET_PROGRAM_TYPES';\r\nexport const GET_PROGRAM_TYPES_SUCCESS = `${GET_PROGRAM_TYPES}_SUCCESS`;\r\n","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n programTypes: []\r\n});\r\n","import { GET_PROGRAM_TYPES_SUCCESS } from './programTypeTypes';\r\nimport initialState from './programTypeInitialState';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function programTypeReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case GET_PROGRAM_TYPES_SUCCESS:\r\n return state.set('programTypes', fromJS(action.programTypes));\r\n default:\r\n return state;\r\n }\r\n}\r\n","const programPaymentTypes = Object.freeze({\r\n partnerPaid: 1,\r\n memberPaid: 2,\r\n partnerMemberPaid: 3\r\n});\r\nexport const programPaymentTypesFullNamesMap = Object.freeze({\r\n [programPaymentTypes.partnerPaid]: 'GM - Partner Paid',\r\n [programPaymentTypes.memberPaid]: 'GMR - Member Paid',\r\n [programPaymentTypes.partnerMemberPaid]: 'GMSP - Partner&Member Paid'\r\n});\r\nexport const programPaymentTypesShortNamesMap = Object.freeze({\r\n [programPaymentTypes.partnerPaid]: 'GM',\r\n [programPaymentTypes.memberPaid]: 'GMR',\r\n [programPaymentTypes.partnerMemberPaid]: 'GMSP',\r\n});\r\nexport default programPaymentTypes;\r\n","import { fromJS } from 'immutable';\r\nimport { programPaymentTypesFullNamesMap } from '../../enums/programPaymentTypes';\r\n\r\nexport default fromJS({\r\n programPaymentTypes: [...Object.entries(programPaymentTypesFullNamesMap)].map(([id, name]) => ({ id: Number(id), name }))\r\n});","import initialState from './programPaymentTypeInitialState';\r\n\r\nexport default function programPaymentTypeReducer(state = initialState) {\r\n return state;\r\n}\r\n","const paymentTypes = Object.freeze({\r\n reimbursements: 1,\r\n facilityFees: 2,\r\n gmFacilityPayments: 3,\r\n gmPartnerFees: 4,\r\n gmPartnerDues: 5,\r\n gmMemberDues: 6,\r\n gmMemberReimbursements: 7,\r\n gmPartnerReimbursements: 8\r\n});\r\nexport const partnerPortionPaymentTypeNamesMap = Object.freeze({\r\n [paymentTypes.gmPartnerFees]: 'Fees',\r\n [paymentTypes.gmPartnerDues]: 'Dues'\r\n});\r\nexport const memberPortionPaymentTypeNamesMap = Object.freeze({\r\n [paymentTypes.gmMemberDues]: 'Dues',\r\n [paymentTypes.gmMemberReimbursements]: 'Reimbursements'\r\n});\r\nexport default paymentTypes;\r\n","import { fromJS } from 'immutable';\r\nimport { partnerPortionPaymentTypeNamesMap } from '../../enums/paymentTypes';\r\n\r\nexport default fromJS({\r\n paymentTypes: [...Object.entries(partnerPortionPaymentTypeNamesMap)].map(([id, name]) => ({ id: Number(id), name }))\r\n});\r\n","import initialState from './partnerBillingTypeInitialState';\r\n\r\nexport default function partnerBillingTypeReducer(state = initialState) {\r\n return state;\r\n}","import { fromJS } from 'immutable';\r\nimport { memberPortionPaymentTypeNamesMap } from '../../enums/paymentTypes';\r\n\r\nexport default fromJS({\r\n memberPaymentTypes: [...Object.entries(memberPortionPaymentTypeNamesMap)].map(([id, name]) => ({ id: Number(id), name }))\r\n});","import initialState from './memberPaymentTypeInitialState';\r\n\r\nexport default function memberPaymentTypeReducer(state = initialState) {\r\n return state;\r\n}\r\n","const GROUP_MEMBERSHIP = 'GROUP_MEMBERSHIP';\r\nexport const UPDATE_GROUP_MEMBERSHIP = `UPDATE_${GROUP_MEMBERSHIP}`;\r\nexport const SET_GROUP_MEMBERSHIP = `SET_${GROUP_MEMBERSHIP}`;\r\nexport const GET_GROUP_MEMBERSHIP = `GET_${GROUP_MEMBERSHIP}`;\r\nexport const ADD_GROUP_MEMBERSHIP = `ADD_${GROUP_MEMBERSHIP}`;\r\nexport const SET_GROUP_MEMBERSHIP_TO_ADD = `SET_${GROUP_MEMBERSHIP}_TO_ADD`;\r\nexport const GET_GROUP_MEMBERSHIP_HAS_ENROLLED_OR_INVITED_MEMBERS = `GET_${GROUP_MEMBERSHIP}_HAS_ENROLLED_OR_INVITED_MEMBERS`;\r\nexport const SET_GROUP_MEMBERSHIP_HAS_ENROLLED_OR_INVITED_MEMBERS = `SET_${GROUP_MEMBERSHIP}_HAS_ENROLLED_OR_INVITED_MEMBERS`;","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n groupMembership: {},\r\n groupMembershipToAdd: undefined,\r\n hasEnrolledOrInvitedMembers: false\r\n});","import * as types from './groupMembershipsTypes';\r\nimport initialState from './groupMembershipInitialState';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function groupMembershipsReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_GROUP_MEMBERSHIP:\r\n return state.set('groupMembership', fromJS(action.groupMembership));\r\n case types.SET_GROUP_MEMBERSHIP_TO_ADD:\r\n return state.set('groupMembershipToAdd', action.groupMembershipToAdd);\r\n case types.SET_GROUP_MEMBERSHIP_HAS_ENROLLED_OR_INVITED_MEMBERS:\r\n return state.set('hasEnrolledOrInvitedMembers', action.hasEnrolledOrInvitedMembers);\r\n default:\r\n return state;\r\n }\r\n}","export const CREATE_KEYFOBS = 'CREATE_KEYFOBS';\r\nexport const GET_KEYFOBS_LIST = 'GET_KEYFOBS_LIST';\r\nexport const SET_KEYFOBS_LIST = 'SET_KEYFOBS_LIST';\r\nexport const SET_MEMBER_TO_DEACTIVATE_MEMBERSHIP = 'SET_MEMBER_TO_DEACTIVATE_MEMBERSHIP';\r\nexport const SET_KEYFOB_TO_REASSIGN = 'SET_KEYFOB_TO_REASSIGN';\r\nexport const DELETE_KEYFOB = 'DELETE_KEYFOB';\r\nexport const DELETE_MEMBERSHIP = 'DELETE_MEMBERSHIP';\r\nexport const DEACTIVATE_MEMBERSHIP = 'DEACTIVATE_MEMBERSHIP';\r\nexport const REASSIGN_KEYFOB = 'REASSIGN_KEYFOB';\r\nexport const GET_IS_REASSIGN_KEYFOB_FEATURE_ENABLED = 'GET_IS_REASSIGN_KEYFOB_FEATURE_ENABLED';\r\nexport const SET_IS_REASSIGN_KEYFOB_FEATURE_ENABLED = 'SET_IS_REASSIGN_KEYFOB_FEATURE_ENABLED';\r\nexport const SET_MEMBER_TO_BAN_KEYFOB = 'SET_MEMBER_TO_BAN_KEYFOB';\r\nexport const SET_MEMBER_TO_DELETE = 'SET_MEMBER_TO_DELETE';\r\nexport const GET_KEYFOBS_EMPLOYEES_REPORT = 'GET_KEYFOBS_EMPLOYEES_REPORT';\r\nexport const SET_KEYFOBS_TOTAL_COUNT = 'SET_KEYFOBS_TOTAL_COUNT';\r\nexport const JOIN_KEYFOBS_LIST = 'JOIN_KEYFOBS_LIST';\r\nexport const UPLOAD_MEMBER_RECIPIENTS = 'UPLOAD_MEMBER_RECIPIENTS';\r\nexport const GET_MEMBERS_WAITING_TO_INVITE_COUNT = 'GET_MEMBERS_WAITING_TO_INVITE_COUNT';\r\nexport const SET_MEMBERS_WAITING_TO_INVITE_COUNT = 'SET_MEMBERS_WAITING_TO_INVITE_COUNT';\r\nexport const GET_PROGRAM_PAYMENT_TYPE_ID = 'GET_PROGRAM_PAYMENT_TYPE_ID';\r\nexport const SET_PROGRAM_PAYMENT_TYPE_ID = 'SET_PROGRAM_PAYMENT_TYPE_ID';\r\nexport const UPDATE_EMPLOYEE_DATA = 'UPDATE_EMPLOYEE_DATA';","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n keyfobs: [],\r\n memberToDeactivateMembership: undefined,\r\n keyfobToReassign: undefined,\r\n isReassignKeyfobFeatureEnabled: false,\r\n memberToDelete: undefined,\r\n membersWaitingToInviteCount: 0\r\n});","import * as types from './employeeManagementTypes';\r\nimport initialState from './employeeManagementInitialState';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function employeeManagementReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.JOIN_KEYFOBS_LIST:\r\n return state.set('keyfobs', state.get('keyfobs').concat(fromJS(action.keyfobs)));\r\n case types.SET_KEYFOBS_LIST:\r\n return state.set('keyfobs', fromJS(action.keyfobs));\r\n case types.SET_MEMBER_TO_DEACTIVATE_MEMBERSHIP:\r\n return state.set('memberToDeactivateMembership', action.member);\r\n case types.SET_KEYFOB_TO_REASSIGN:\r\n return state.set('keyfobToReassign', action.keyfobToReassign);\r\n case types.SET_MEMBER_TO_DELETE:\r\n return state.set('memberToDelete', action.memberToDelete);\r\n case types.SET_IS_REASSIGN_KEYFOB_FEATURE_ENABLED:\r\n return state.set('isReassignKeyfobFeatureEnabled', fromJS(action.isReassignKeyfobFeatureEnabled));\r\n case types.SET_KEYFOBS_TOTAL_COUNT:\r\n return state.set('keyfobsTotalCount', fromJS(action.totalCount));\r\n case types.SET_PROGRAM_PAYMENT_TYPE_ID:\r\n return state.set('programPaymentTypeID', fromJS(action.programPaymentTypeID));\r\n default:\r\n return state;\r\n }\r\n}\r\n","const PREFIX = 'FACILITY_LOCATOR_';\r\n\r\nexport const GET_FACILITIES_FOR_MAP = `${PREFIX}GET_FACILITIES_FOR_MAP`;\r\nexport const SET_FACILITIES_FOR_MAP = `${PREFIX}SET_FACILITIES_FOR_MAP`;\r\n","import { fromJS } from 'immutable';\r\n\r\nexport const initialState = fromJS({\r\n facilities: []\r\n});\r\n","import * as types from './facilityLocatorTypes';\r\nimport { initialState } from './facilityLocatorInitials';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_FACILITIES_FOR_MAP:\r\n return state.set(\r\n 'facilities',\r\n fromJS(action.facilities)\r\n );\r\n default:\r\n return state;\r\n }\r\n}\r\n","const PREFIX = 'FACILITY_LOCATOR_MAP_';\r\n\r\nexport const SET_FACILITIES = `${PREFIX}SET_FACILITES`;\r\nexport const TOGGLE_SELECTED_FACILITY = `${PREFIX}SET_SELECTED_FACILITY`;\r\nexport const SET_FACILITIES_IN_MAP_BOUNDS = `${PREFIX}SET_FACILITIES_IN_MAP_BOUNDS`;\r\nexport const SET_LIST_VIEW_FOR_MAP = `${PREFIX}SET_LIST_VIEW_FOR_MAP`;\r\n","import { fromJS } from 'immutable';\r\n\r\nexport const initialState = fromJS({\r\n facilities: [],\r\n facilitiesInMapBounds: [],\r\n selectedFacility: undefined,\r\n isListView: false\r\n});\r\n","const earthRadiusInMiles = 3958.8;\r\n\r\n// using Haversine formula for distance https://en.wikipedia.org/wiki/Haversine_formula\r\nexport function getDistanceFromLatLngInMiles(lat1, lng1, lat2, lng2) {\r\n const dLat = deg2rad(lat2 - lat1);\r\n const dLng = deg2rad(lng2 - lng1);\r\n const sinHalfDLat = Math.sin(dLat / 2);\r\n const sinHalfDLng = Math.sin(dLng / 2);\r\n const intermediateResult =\r\n sinHalfDLat * sinHalfDLat +\r\n Math.cos(deg2rad(lat1)) * Math.cos(deg2rad(lat2)) *\r\n sinHalfDLng * sinHalfDLng;\r\n const res = 2 * earthRadiusInMiles * Math.asin(Math.sqrt(intermediateResult));\r\n return res;\r\n}\r\n\r\nexport function deg2rad(deg) {\r\n return deg * (Math.PI / 180);\r\n}\r\n","import * as types from './facilityLocatorMapTypes';\r\nimport { initialState } from './facilityLocatorMapInitials';\r\nimport { fromJS } from 'immutable';\r\nimport { getDistanceFromLatLngInMiles } from '../../../../../utilities/geometry';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_FACILITIES: {\r\n return state.set(\r\n 'facilities', fromJS(action.initialFacilities)\r\n );\r\n }\r\n case types.TOGGLE_SELECTED_FACILITY: {\r\n const allFacilities = state.get('facilities').toJS();\r\n const selectedFacility = allFacilities.find((facility) => {\r\n return facility.id === action.facilityId;\r\n });\r\n const oldSelectedFacility = state.get('selectedFacility');\r\n return state.set(\r\n 'selectedFacility',\r\n selectedFacility && oldSelectedFacility && selectedFacility.id === oldSelectedFacility.toJS().id\r\n ? undefined\r\n : fromJS(selectedFacility)\r\n );\r\n }\r\n case types.SET_FACILITIES_IN_MAP_BOUNDS: {\r\n const facilitiesInMapBounds = [];\r\n const facilitiesNearest = [];\r\n const nearestLocationDistanceInMiles = 40;\r\n if (action.googleMap.getZoom() <= action.maxClusterZoom) {\r\n return state.set(\r\n 'facilitiesInMapBounds',\r\n fromJS(facilitiesInMapBounds)\r\n );\r\n }\r\n const allFacilities = state.get('facilities').toJS();\r\n const mapCenter = action.googleMap.getCenter();\r\n for (let i = 0; i < allFacilities.length; i++) {\r\n const facility = allFacilities[i];\r\n const distanceToCenter = getDistanceFromLatLngInMiles(mapCenter.lat(), mapCenter.lng(), facility.latitude, facility.longitude);\r\n facility.distanceToCenter = distanceToCenter;\r\n if(facility.distanceToCenter <= nearestLocationDistanceInMiles) {\r\n facilitiesNearest.push(facility);\r\n }\r\n }\r\n\r\n if(facilitiesNearest.length > 0) {\r\n facilitiesNearest.sort((facility1, facility2) => {\r\n return facility1.distanceToCenter - facility2.distanceToCenter;\r\n });\r\n action.googleMap.setCenter({ lat: facilitiesNearest[0].latitude, lng: facilitiesNearest[0].longitude });\r\n }\r\n for (let i = 0; i < allFacilities.length; i++) {\r\n const facility = allFacilities[i];\r\n if (action.googleMap.getBounds().contains({ lat: facility.latitude, lng: facility.longitude })) {\r\n const distanceToCenter = getDistanceFromLatLngInMiles(mapCenter.lat(), mapCenter.lng(), facility.latitude, facility.longitude);\r\n facility.distanceToCenter = distanceToCenter;\r\n facility.distanceToCenterForDisplay = `${distanceToCenter.toFixed(2)} miles`;\r\n facilitiesInMapBounds.push(facility);\r\n }\r\n }\r\n facilitiesInMapBounds.sort((facility1, facility2) => {\r\n return facility1.distanceToCenter - facility2.distanceToCenter;\r\n });\r\n return state.set(\r\n 'facilitiesInMapBounds',\r\n fromJS(facilitiesInMapBounds)\r\n );\r\n }\r\n case types.SET_LIST_VIEW_FOR_MAP: {\r\n return state.set('isListView', action.isListView);\r\n }\r\n default:\r\n return state;\r\n }\r\n}\r\n","export const GET_FACILITIES = 'GET_FACILITIES';\r\nexport const SET_FACILITIES = 'SET_FACILITIES';\r\nexport const GET_FACILITY = 'GET_FACILITY';\r\nexport const SET_FACILITY = 'SET_FACILITY';","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n facilities: [],\r\n facility: {}\r\n});","import * as types from './facilityTypes';\r\nimport initialState from './facilityInitialState';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function facilityReducer(state = initialState, action) {\r\n const extendFacilityObject = (facility) => {\r\n const fullAddress = `${facility.address} ${facility.city}, ${facility.state.name} ${facility.zipCode}`;\r\n return Object.assign(facility,\r\n {\r\n fullAddress,\r\n description: `${facility.displayName} - ${fullAddress}`\r\n }\r\n );\r\n };\r\n switch (action.type) {\r\n case types.SET_FACILITIES:\r\n return state.set('facilities', fromJS(\r\n action.facilities.map(facility => extendFacilityObject(facility)))\r\n );\r\n case types.SET_FACILITY:\r\n return state.set('facility', fromJS(extendFacilityObject(action.facility)));\r\n default:\r\n return state;\r\n }\r\n}","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n membersAFFacilityWithinProgramEnrollment: {\r\n facilityMemberID: undefined,\r\n isMemberAgreed: false,\r\n firstName: undefined,\r\n lastName: undefined,\r\n contactNumber: undefined,\r\n email: undefined,\r\n date: undefined,\r\n documentAgreementVersion: 4,\r\n programPaymentType: undefined,\r\n memberReimbursementTypeID: undefined\r\n }\r\n});","import initialState from './legalContractInitialState';\r\nimport * as types from './legalContractTypes';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.GET_SIGNATURE_MEMBER_INFO_SUCCESS:\r\n if (!action.signatureMemberInfo.documentAgreementVersion) {\r\n action.signatureMemberInfo.documentAgreementVersion = state.getIn(['membersAFFacilityWithinProgramEnrollment', 'documentAgreementVersion']);\r\n }\r\n if (!action.signatureMemberInfo.date) {\r\n action.signatureMemberInfo.date = action.signatureMemberInfo.date.toLocaleDateString();\r\n }\r\n return state.mergeDeep({ membersAFFacilityWithinProgramEnrollment: action.signatureMemberInfo });\r\n default:\r\n return state;\r\n }\r\n}","export const GET_SIGNATURE_MEMBER_INFO = 'GET_SIGNATURE_MEMBER_INFO';\r\nexport const GET_SIGNATURE_MEMBER_INFO_SUCCESS = 'GET_SIGNATURE_MEMBER_INFO_SUCCESS';\r\n","const PREFIX = 'PARTNER_OWNER_AREA_';\r\n\r\nexport const SET_IS_GROUP_MEMBERSHIP_ADDED_TO_PARTNER = `${PREFIX}SET_IS_GROUP_MEMBERSHIP_ADDED_TO_PARTNER`;\r\nexport const SET_PARTNER_NAME = `${PREFIX}SET_PARTNER_NAME`;\r\nexport const SET_PROGRAM_PAYMENT_TYPE = `${PREFIX}SET_PROGRAM_PAYMENT_TYPE`;\r\n\r\n","import { fromJS } from 'immutable';\r\n\r\nexport const initialState = fromJS({\r\n isGroupMembershipAddedToPartner: undefined,\r\n partnerName: undefined\r\n});\r\n","import * as types from './partnerOwnerAreaTypes';\r\nimport { initialState } from './partnerOwnerAreaInitials';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n const { type, payload = {} } = action;\r\n switch (type) {\r\n case types.SET_IS_GROUP_MEMBERSHIP_ADDED_TO_PARTNER:\r\n return state.set(\r\n 'isGroupMembershipAddedToPartner',\r\n payload.isGroupMembershipAddedToPartner\r\n );\r\n case types.SET_PARTNER_NAME:\r\n return state.set(\r\n 'partnerName',\r\n payload.partnerName\r\n );\r\n case types.SET_PROGRAM_PAYMENT_TYPE:\r\n return state.set(\r\n 'programPaymentTypeID',\r\n payload.programPaymentType\r\n );\r\n default:\r\n return state;\r\n }\r\n}\r\n","const PREFIX = 'PARTNER_MANAGER_AREA_';\r\nconst GROUP_MEMBERSHIP = 'GROUP_MEMBERSHIP';\r\n\r\nexport const GET_IS_GROUP_MEMBERSHIP_ADDED_TO_PARTNER = `${PREFIX}GET_IS_${GROUP_MEMBERSHIP}_ADDED_TO_PARTNER`;\r\nexport const SET_IS_GROUP_MEMBERSHIP_ADDED_TO_PARTNER = `${PREFIX}SET_IS_${GROUP_MEMBERSHIP}_ADDED_TO_PARTNER`;\r\nexport const GET_GROUP_MEMBERSHIP = `GET_${GROUP_MEMBERSHIP}`;\r\nexport const SET_GROUP_MEMBERSHIP = `SET_${GROUP_MEMBERSHIP}`;\r\n\r\n","import { fromJS } from 'immutable';\r\n\r\nexport const initialState = fromJS({\r\n isGroupMembershipAddedToPartner: undefined\r\n});\r\n","import * as types from './partnerManagerAreaTypes';\r\nimport { initialState } from './partnerManagerAreaInitials';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n const { type, payload = {} } = action;\r\n switch (type) {\r\n case types.SET_IS_GROUP_MEMBERSHIP_ADDED_TO_PARTNER:\r\n {\r\n return state.set(\r\n 'isGroupMembershipAddedToPartner', payload.isGroupMembershipAddedToPartner\r\n );\r\n }\r\n default:\r\n return state;\r\n }\r\n}\r\n","const PREFIX = 'MEMBER_AREA_';\r\n\r\nexport const SET_MEMBER_HAS_ACTIVE_FACILITY_ENROLLMENTS = `${PREFIX}SET_MEMBER_HAS_ACTIVE_FACILITY_ENROLLMENTS`;\r\nexport const CHECK_MEMBER_HAS_ACTIVE_FACILITY_ENROLLMENTS = `${PREFIX}CHECK_MEMBER_HAS_ACTIVE_FACILITY_ENROLLMENTS`;\r\nexport const GET_MEMBER_INVALIDATIONS = `${PREFIX}GET_MEMBER_INVALIDATIONS`;\r\nexport const SET_MEMBER_INVALIDATIONS = `${PREFIX}SET_MEMBER_INVALIDATIONS`;\r\nexport const RESIGN_MEMBER_LEGAL_CONTRACT = `${PREFIX}RESIGN_MEMBER_LEGAL_CONTRACT`;\r\n\r\n","import { fromJS } from 'immutable';\r\n\r\nexport const initialState = fromJS({\r\n memberHasActiveFacilityEnrollments: undefined,\r\n memberInvalidations: undefined,\r\n});\r\n","import * as types from './memberAreaTypes';\r\nimport { initialState } from './memberAreaInitials';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n const { type, payload = {} } = action;\r\n switch (type) {\r\n case types.SET_MEMBER_HAS_ACTIVE_FACILITY_ENROLLMENTS:\r\n return state.set(\r\n 'memberHasActiveFacilityEnrollments',\r\n payload.memberHasActiveFacilityEnrollments\r\n );\r\n case types.SET_MEMBER_INVALIDATIONS:\r\n return state.set('memberInvalidations', fromJS(payload.memberInvalidations));\r\n default:\r\n return state;\r\n }\r\n}\r\n","const PREFIX = 'WELLNESS_PROGRAM_PAYMENTS_';\r\n\r\nexport const GET_PAYMENTS = `${PREFIX}GET`;\r\nexport const SET_PAYMENTS = `${PREFIX}SET`;\r\nexport const SET_PROGRAM_PAYMENT_TYPE = `${PREFIX}SET_PROGRAM_PAYMENT_TYPE`;\r\nexport const SET_PERIOD = `${PREFIX}SET_PERIOD`;\r\nexport const SET_PARTNER = `${PREFIX}SET_PARTNER`;\r\nexport const SET_PAYMENT_TYPE = `${PREFIX}SET_PAYMENT_TYPE`;\r\nexport const DOWNLOAD_PAYMENTS = `${PREFIX}DOWNLOAD`;\r\nexport const SET_SHOW_CORRECTED_ONLY = `${PREFIX}SET_SHOW_CORRECTED_ONLY`;\r\nexport const SET_AMOUNT_TO_BE_SENT = `${PREFIX}SET_AMOUNT_TO_BE_SENT`;\r\nexport const UNDO_AMOUNT_CORRECTION = `${PREFIX}UNDO_AMOUNT_CORRECTION`;\r\nexport const GET_PARTNERS = `${PREFIX}_GET_PARTNERS`;\r\nexport const SET_PARTNERS = `${PREFIX}_SET_PARTNERS`;\r\nexport const GET_PAYMENT_TYPES = `${PREFIX}_GET_PAYMENT_TYPES`;\r\nexport const SET_PAYMENT_TYPES = `${PREFIX}_SET_PAYMENT_TYPES`;","const programTypes = Object.freeze({\r\n groupMemberships: 1\r\n});\r\nexport const programTypesNamesMap = Object.freeze({\r\n [programTypes.groupMemberships]: 'Group Memberships'\r\n});\r\nexport default programTypes;\r\n","import { fromJS } from 'immutable';\r\nimport programPaymentTypes, { programPaymentTypesFullNamesMap } from '../../../enums/programPaymentTypes';\r\nimport programTypes, { programTypesNamesMap } from '../../../enums/programTypes';\r\n\r\nexport default fromJS({\r\n paymentsFilter: {\r\n showCorrectedOnly: false,\r\n programPaymentType: fromJS({ id: Number(programPaymentTypes.partnerPaid), name: programPaymentTypesFullNamesMap[programPaymentTypes.partnerPaid] }),\r\n programType: fromJS({ id: Number(programTypes.groupMemberships), name: programTypesNamesMap[programTypes.groupMemberships] }),\r\n },\r\n partners: [],\r\n payments: [],\r\n paymentTypes: []\r\n});\r\n","const WellnessProgramPaymentResources = {\r\n labelForProgramType: 'For Program Type',\r\n labelProgramType: 'Program Type',\r\n labelForPaymentType: 'Payment Type',\r\n labelForPartner: 'For Partner',\r\n labelPartner: 'Partner',\r\n labelForUsagePeriod: 'For Usage Period',\r\n labelVisitMonth: 'Visit Month',\r\n labelShowAllCorrectedPayments: 'Show All Corrected Payments',\r\n titlePartnerPayments: 'Partner Payments',\r\n titleWellnessProgramPayments: 'Wellness Program Payments',\r\n titlePartnerPaymentWithdrawalViaACHFiles: 'Partner Payment Withdrawal via US Bank',\r\n titleFacilityPaymentDepositViaACHFiles: 'Facility Payment Deposit via US Bank',\r\n titleConfirmACHUpload: 'Confirm your action',\r\n titleFacilityPayments: 'Facility Payments',\r\n buttonSendToUSBank: 'Send To US Bank',\r\n buttonDownloadForPreview: 'Download For Preview',\r\n buttonGenerate: 'Generate',\r\n buttonUndo: 'Undo',\r\n accessorStatus: 'status',\r\n accessorTotalPayments: 'totalPayment',\r\n accessorId: 'id',\r\n accessorAmountToBeSent: 'amountToBeSent',\r\n buttonGenerateWithFees: 'Generate with fees',\r\n formPartnerPaymentsGeneration: 'partnerPaymentsGenerationForm',\r\n formFacilityPaymentsGeneration: 'facilityPaymentsGenerationForm',\r\n fieldProgramPaymentType: 'programPaymentType',\r\n fieldProgramType: 'programType',\r\n labelPaymentType: 'Payment Type',\r\n fieldPaymentType: 'paymentType',\r\n buttonCancel: 'Cancel',\r\n fieldPartner: 'partner',\r\n fieldPeriod: 'period',\r\n formFacilityPaymentDepositViaACH: 'facilityPaymentDepositViaACHForm',\r\n formfacilityPaymentDepositConfirmation: 'facilityPaymentDepositConfirmationForm',\r\n formPaymentWithdrawalConfirmation: 'paymentWithdrawalConfirmationForm',\r\n formPaymentWithdrawalViaACHForm: 'paymentWithdrawalViaACHForm'\r\n};\r\nexport default WellnessProgramPaymentResources;\r\n","import * as types from './partnerPaymentsSectionTypes';\r\nimport initialState from './partnerPaymentsSectionInitialState';\r\nimport { fromJS } from 'immutable';\r\nimport wellnessProgramPaymentsResources from '../wellnessProgramPaymentsResources';\r\n\r\nexport default function (state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_PAYMENTS:\r\n return state.set('payments', fromJS(action.payments));\r\n case types.SET_PROGRAM_PAYMENT_TYPE:\r\n return state.setIn(['paymentsFilter', 'programPaymentType'], fromJS(action.programPaymentType));\r\n case types.SET_PAYMENT_TYPE:\r\n return state.setIn(['paymentsFilter', 'paymentType'], fromJS(action.paymentType));\r\n case types.SET_PARTNER:\r\n return state.setIn(['paymentsFilter', 'partner'], fromJS(action.partner));\r\n case types.SET_PERIOD:\r\n return state.setIn(['paymentsFilter', 'period'], fromJS(action.period));\r\n case types.SET_SHOW_CORRECTED_ONLY:\r\n return state.setIn(['paymentsFilter', 'showCorrectedOnly'], fromJS(action.value));\r\n case types.SET_AMOUNT_TO_BE_SENT: {\r\n const payments = state.get('payments');\r\n const indexOfPaymentToUpdateAmount = payments.findIndex(payment => payment.get('id') === action.paymentId);\r\n return state.setIn(['payments', indexOfPaymentToUpdateAmount, 'amountToBeSent'], action.amountToBeSent);\r\n }\r\n case types.UNDO_AMOUNT_CORRECTION: {\r\n const payments = state.get('payments');\r\n const paymentPredicate = payment => payment.get('id') === action.paymentId;\r\n const paymentToUndoAmountCorrection = payments.find(paymentPredicate);\r\n const indexOfPaymentToUndoAmountCorrection = payments.findIndex(paymentPredicate);\r\n return state.setIn(['payments', indexOfPaymentToUndoAmountCorrection, 'amountToBeSent'], paymentToUndoAmountCorrection.get(wellnessProgramPaymentsResources.accessorTotalPayments));\r\n }\r\n case types.SET_PARTNERS:\r\n return state.set('partners', fromJS(action.partners));\r\n case types.SET_PAYMENT_TYPES:\r\n return state.set('paymentTypes', fromJS(action.paymentTypes));\r\n default:\r\n return state;\r\n }\r\n}\r\n","const PREFIX = 'PERIODS_';\r\nexport const GET_PERIODS = `${PREFIX}GET`;\r\nexport const SET_PERIODS = `${PREFIX}SET`;\r\nexport const GET_CLOSED_USAGE_PERIODS = `${PREFIX}GET_CLOSED_USAGE_PERIODS`;\r\nexport const SET_CLOSED_USAGE_PERIODS = `${PREFIX}SET_CLOSED_USAGE_PERIODS`;\r\nexport const GET_PERIODS_UNTIL_CURRENT = `${PREFIX}GET_PERIODS_UNTIL_CURRENT`;\r\nexport const SET_PERIODS_UNTIL_CURRENT = `${PREFIX}SET_PERIODS_UNTIL_CURRENT`;","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n periods: [],\r\n closedUsagePeriods: [],\r\n periodsUntilCurrent: []\r\n});\r\n","import { SET_PERIODS, SET_CLOSED_USAGE_PERIODS, SET_PERIODS_UNTIL_CURRENT } from './periodsTypes';\r\nimport initialState from './periodsInitialState';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function periodsReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case SET_PERIODS:\r\n return state.set('periods', fromJS(action.periods));\r\n case SET_CLOSED_USAGE_PERIODS:\r\n return state.set('closedUsagePeriods', fromJS(action.periods));\r\n case SET_PERIODS_UNTIL_CURRENT:\r\n return state.set('periodsUntilCurrent', fromJS(action.periods));\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n paymentWithdrawal: {},\r\n periods: [],\r\n partners: [],\r\n popupData: {\r\n isAchUploadAvailable: false,\r\n achUploadErrorMessage: null\r\n },\r\n});","const prefix = 'PARTNER_PAYMENT_WITHDRAWAL';\r\nexport const SET_POPUP_DATA = `${prefix}_SET_POPUP_DATA`;\r\nexport const SET_PROGRAM_TYPE = `${prefix}_SET_PROGRAM_TYPE`;\r\nexport const SET_PROGRAM_PAYMENT_TYPE = `${prefix}_SET_PROGRAM_PAYMENT_TYPE`;\r\nexport const SEND_PAYMENT_WITHDRAWAL = `${prefix}_SEND`;\r\nexport const CHECK_PAYMENT_WITHDRAWAL = `${prefix}_CHECK`;\r\nexport const DOWNLOAD_PAYMENT_WITHDRAWAL = `${prefix}_DOWNLOAD`;\r\nexport const GET_PARTNERS = `${prefix}_GET_PARTNERS`;\r\nexport const SET_PARTNERS = `${prefix}_SET_PARTNERS`;\r\nexport const SET_PAYMENT_TYPE = `${prefix}_SET_PAYMENT_TYPE`;\r\nexport const SET_PAYMENT_TYPES = `${prefix}_SET_PAYMENT_TYPES`;\r\nexport const GET_PAYMENT_TYPES = `${prefix}_GET_PAYMENT_TYPES`;\r\nexport const SET_PERIOD = `${prefix}_SET_PERIOD`;\r\nexport const SET_PARTNER = `${prefix}_SET_PARTNER`;","import initialState from './partnerPaymentWithdrawalSectionInitialState';\r\nimport * as types from './partnerPaymentWithdrawalSectionTypes';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function (state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_PROGRAM_TYPE:\r\n return state.setIn(['paymentWithdrawal', 'programType'], action.programType);\r\n case types.SET_PROGRAM_PAYMENT_TYPE:\r\n return state.setIn(['paymentWithdrawal', 'programPaymentType'], action.programPaymentType);\r\n case types.SET_POPUP_DATA:\r\n return state.set('popupData', action.popupData);\r\n case types.SET_PARTNERS:\r\n return state.set('partners', fromJS(action.partners));\r\n case types.SET_PAYMENT_TYPE:\r\n return state.setIn(['paymentWithdrawal', 'paymentType'], action.paymentType);\r\n case types.SET_PAYMENT_TYPES:\r\n return state.set('paymentTypes', fromJS(action.paymentTypes));\r\n default:\r\n return state;\r\n }\r\n}","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n paymentDeposit: {\r\n programPaymentType: null,\r\n programType: null,\r\n partner: undefined,\r\n period: null\r\n },\r\n partners: [],\r\n popupData: {\r\n isAchUploadAvailable: false,\r\n achUploadErrorMessage: null\r\n },\r\n});","const prefix = 'FACILITY_PAYMENT_DEPOSIT';\r\nexport const SET_POPUP_DATA = `${prefix}_SET_POPUP_DATA`;\r\nexport const GET_PARTNERS = `${prefix}_GET_PARTNERS`;\r\nexport const SET_PARTNERS = `${prefix}_SET_PARTNERS`;\r\nexport const SET_PARTNER = `${prefix}_SET_PARTNER`;\r\nexport const SET_PROGRAM_TYPE = `${prefix}_SET_PROGRAM_TYPE`;\r\nexport const SET_PROGRAM_PAYMENT_TYPE = `${prefix}_SET_PROGRAM_PAYMENT_TYPE`;\r\nexport const SEND_PAYMENT_DEPOSIT = `${prefix}_SEND`;\r\nexport const DOWNLOAD_PAYMENT_DEPOSIT = `${prefix}_DOWNLOAD`;\r\nexport const CHECK_FACILITY_DEPOSIT = `${prefix}_CHECK`;","import { fromJS } from 'immutable';\r\nimport initialState from './facilityPaymentDepositSectionInitialState';\r\nimport * as types from './facilityPaymentDepositSectionTypes';\r\n\r\nexport default function (state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_PROGRAM_TYPE:\r\n return state.setIn(['paymentDeposit', 'programType'], fromJS(action.programType));\r\n case types.SET_PROGRAM_PAYMENT_TYPE:\r\n return state.setIn(['paymentDeposit', 'programPaymentType'], fromJS(action.programPaymentType));\r\n case types.SET_PARTNER:\r\n return state.setIn(['paymentDeposit', 'partner'], fromJS(action.partner));\r\n case types.SET_POPUP_DATA:\r\n return state.set('popupData', fromJS(action.popupData));\r\n case types.SET_PARTNERS:\r\n return state.set('partners', fromJS(action.partners));\r\n default:\r\n return state;\r\n }\r\n}","const PREFIX = 'VISIT_LOG_';\r\n\r\nexport const GET_VISITS = `${PREFIX}GET`;\r\nexport const SET_VISITS = `${PREFIX}SET`;\r\nexport const DOWNLOAD_VISITS = `${PREFIX}DOWNLOAD_VISITS`;\r\n","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n visits: []\r\n});","import * as types from './visitLogTabTypes';\r\nimport initialState from './visitLogTabInitialState';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function(state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_VISITS:\r\n return state.set('visits', fromJS(action.visits));\r\n default:\r\n return state;\r\n }\r\n}","const PREFIX = 'PARTNER_GROUP_MEMBERSHIPS_PAYMENTS_';\r\n\r\nexport const GET_PAYMENTS = `${PREFIX}GET`;\r\nexport const DOWNLOAD_PAYMENTS = `${PREFIX}DOWNLOAD`;\r\nexport const SET_PAYMENTS = `${PREFIX}SET`;\r\nexport const SET_INITIAL_PERIODS_RANGE = `${PREFIX}SET_INITIAL_PERIODS_RANGE`;\r\nexport const GET_USAGE_PERIODS = `${PREFIX}GET_USAGE_PERIODS`;\r\nexport const SET_USAGE_PERIODS = `${PREFIX}SET_USAGE_PERIODS`;\r\nexport const GET_PROGRAM_PAYMENT_TYPE_ID = `${PREFIX}GET_PROGRAM_PAYMENT_TYPE_ID`;\r\nexport const SET_PROGRAM_PAYMENT_TYPE_ID = `${PREFIX}SET_PROGRAM_PAYMENT_TYPE_ID`;\r\n\r\n\r\n","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n paymentsFilter: {\r\n periodFrom: {\r\n id: 0,\r\n yearMonth: ''\r\n },\r\n periodTo: {\r\n id: 0,\r\n yearMonth: ''\r\n }\r\n },\r\n payments: [],\r\n usagePeriods: [],\r\n programPaymentTypeID: undefined,\r\n});\r\n","import * as types from './partnerGroupMemberhipsPaymentsTypes';\r\nimport initialState from './partnerGroupMemberhipsPaymentsInitialState';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function (state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_PAYMENTS:\r\n return state.set('payments', fromJS(action.payments));\r\n case types.SET_USAGE_PERIODS:\r\n return state.set('usagePeriods', fromJS(action.usagePeriods));\r\n case types.SET_INITIAL_PERIODS_RANGE:\r\n return state.set('paymentsFilter', fromJS({\r\n periodIDFrom: action.periods.periodIDFrom,\r\n periodIDTo: action.periods.periodIDTo\r\n }));\r\n case types.SET_PROGRAM_PAYMENT_TYPE_ID:\r\n return state.set('programPaymentTypeID', fromJS(action.programPaymentTypeID));\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n paymentsGenerationSettings: {},\r\n paymentsFees: {\r\n startupFeeAmount: '0.00',\r\n renewalFeeAmount: '0.00',\r\n facilityAccessFeeAmount: '0.00',\r\n oneTimeFeeAmount: '0.00'\r\n },\r\n partners: [],\r\n isAdditionalFeesPopupVisible: false\r\n});","const prefix = 'PARTNER_PAYMENTS';\r\nexport const SET_PERIOD = `${prefix}_GENERATION_SET_PERIOD`;\r\nexport const SET_PROGRAM_TYPE = `${prefix}_GENERATION_SET_PROGRAM_TYPE`;\r\nexport const SET_PROGRAM_PAYMENT_TYPE = `${prefix}_GENERATION_SET_PROGRAM_PAYMENT_TYPE`;\r\nexport const GENERATE_PAYMENTS = `${prefix}_GENERATION_GENERATE`;\r\nexport const CHECK_PAYMENTS_EXISTENCE = `CHECK_${prefix}_EXISTENCE`;\r\nexport const SET_PAYMENTS_EXIST = `${prefix}_EXIST`;\r\nexport const GET_PARTNERS = `${prefix}_GET_PARTNERS`;\r\nexport const SET_PARTNERS = `${prefix}_SET_PARTNERS`;\r\nexport const SET_PARTNER = `${prefix}_SET_PARTNER`;\r\nexport const SET_IS_GENERATION_WITH_FEES = `${prefix}_IS_GENERATION_WITH_FEES`;\r\nexport const SET_IS_ADDITIONAL_FEES_POPUP_VISIBLE = `${prefix}_IS_ADDITIONAL_FEES_POPUP_VISIBLE`;\r\nexport const GET_PAYMENT_TYPES = `${prefix}_GET_PAYMENT_TYPES`;\r\nexport const SET_PAYMENT_TYPES = `${prefix}_SET_PAYMENT_TYPES`;\r\nexport const SET_PAYMENT_TYPE = `${prefix}_SET_PAYMENT_TYPE`;\r\n","import initialState from './partnerPaymentsGenerationSectionInitialState';\r\nimport * as types from './partnerPaymentsGenerationSectionTypes';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function (state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_PERIOD:\r\n return state.setIn(['paymentsGenerationSettings', 'period'], action.period);\r\n case types.SET_PARTNER:\r\n return state.setIn(['paymentsGenerationSettings', 'partner'], action.partner);\r\n case types.SET_PROGRAM_TYPE:\r\n return state.setIn(['paymentsGenerationSettings', 'programType'], action.programType);\r\n case types.SET_PROGRAM_PAYMENT_TYPE:\r\n return state.setIn(['paymentsGenerationSettings', 'programPaymentType'], action.programPaymentType);\r\n case types.SET_PAYMENT_TYPE:\r\n return state.setIn(['paymentsGenerationSettings', 'paymentType'], action.paymentType);\r\n case types.SET_PAYMENTS_EXIST:\r\n return state.set('doPaymentsExist', action.doPaymentsExist);\r\n case types.SET_PARTNERS:\r\n return state.set('partners', fromJS(action.partners));\r\n case types.SET_IS_GENERATION_WITH_FEES:\r\n return state.set('isGenerationWithFees', action.isGenerationWithFees);\r\n case types.SET_IS_ADDITIONAL_FEES_POPUP_VISIBLE:\r\n return state.set('isAdditionalFeesPopupVisible', action.isAdditionalFeesPopupVisible);\r\n case types.SET_PAYMENT_TYPES:\r\n return state.set('paymentTypes', fromJS(action.paymentTypes));\r\n default:\r\n return state;\r\n }\r\n}","import { fromJS } from 'immutable';\r\nimport programPaymentTypes, { programPaymentTypesFullNamesMap } from '../../../enums/programPaymentTypes';\r\n\r\nexport default fromJS({\r\n paymentsGenerationSettings: {\r\n programPaymentType: fromJS({ id: Number(programPaymentTypes.partnerPaid), name: programPaymentTypesFullNamesMap[programPaymentTypes.partnerPaid] })\r\n },\r\n partners: []\r\n});","const prefix = 'FACILITY_PAYMENTS_GENERATION';\r\nexport const SET_PERIOD = `${prefix}_SET_PERIOD`;\r\nexport const SET_PROGRAM_TYPE = `${prefix}_SET_PROGRAM_TYPE`;\r\nexport const SET_PROGRAM_PAYMENT_TYPE = `${prefix}_SET_PROGRAM_PAYMENT_TYPE`;\r\nexport const GENERATE_PAYMENTS = `${prefix}_GENERATE`;\r\nexport const CHECK_PAYMENTS_EXISTENCE = `CHECK_${prefix}_EXISTENCE`;\r\nexport const SET_PAYMENTS_EXIST = `${prefix}_EXIST`;\r\nexport const GET_PARTNERS = `${prefix}_GET_PARTNERS`;\r\nexport const SET_PARTNERS = `${prefix}_SET_PARTNERS`;\r\nexport const SET_PARTNER = `${prefix}_SET_PARTNER`;","import { fromJS } from 'immutable';\r\nimport initialState from './facilityPaymentsGenerationSectionInitialState';\r\nimport * as types from './facilityPaymentsGenerationSectionTypes';\r\n\r\nexport default function (state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_PERIOD:\r\n return state.setIn(['paymentsGenerationSettings', 'period'], action.period);\r\n case types.SET_PROGRAM_TYPE:\r\n return state.setIn(['paymentsGenerationSettings', 'programType'], action.programType);\r\n case types.SET_PROGRAM_PAYMENT_TYPE:\r\n return state.setIn(['paymentsGenerationSettings', 'programPaymentType'], action.programPaymentType);\r\n case types.SET_PARTNER:\r\n return state.setIn(['paymentsGenerationSettings', 'partner'], action.partner);\r\n case types.SET_PARTNERS:\r\n return state.set('partners', fromJS(action.partners));\r\n case types.SET_PAYMENTS_EXIST:\r\n return state.set('doPaymentsExist', action.doPaymentsExist);\r\n default:\r\n return state;\r\n }\r\n}","const PREFIX = 'WELLNESS_PROGRAM_FACILITY_PAYMENTS_';\r\n\r\nexport const GET_PAYMENTS = `${PREFIX}GET`;\r\nexport const SET_PAYMENTS = `${PREFIX}SET`;\r\nexport const SET_PROGRAM_TYPE = `${PREFIX}SET_PROGRAM_TYPE`;\r\nexport const SET_PROGRAM_PAYMENT_TYPE = `${PREFIX}SET_PROGRAM_PAYMENT_TYPE`;\r\nexport const SET_PERIOD = `${PREFIX}SET_PERIOD`;\r\nexport const SET_PARTNER = `${PREFIX}SET_PARTNER`;\r\nexport const SET_SHOW_CORRECTED_ONLY = `${PREFIX}SET_SHOW_CORRECTED_ONLY`;\r\nexport const SET_AMOUNT_TO_BE_SENT = `${PREFIX}SET_AMOUNT_TO_BE_SENT`;\r\nexport const DOWNLOAD_PAYMENTS = `${PREFIX}DOWNLOAD`;\r\nexport const UNDO_AMOUNT_CORRECTION = `${PREFIX}UNDO_AMOUNT_CORRECTION`;\r\nexport const GET_PARTNERS = `${PREFIX}_GET_PARTNERS`;\r\nexport const SET_PARTNERS = `${PREFIX}_SET_PARTNERS`;","import { fromJS } from 'immutable';\r\nimport programPaymentTypes, { programPaymentTypesFullNamesMap } from '../../../enums/programPaymentTypes';\r\n\r\nexport default fromJS({\r\n paymentsFilter: {\r\n period: {},\r\n partner: undefined,\r\n programPaymentType: fromJS({ id: Number(programPaymentTypes.partnerPaid), name: programPaymentTypesFullNamesMap[programPaymentTypes.partnerPaid] }),\r\n programType: {},\r\n showCorrectedOnly: false\r\n },\r\n payments: [],\r\n partners: []\r\n});\r\n","import * as types from './facilityPaymentsSectionTypes';\r\nimport initialState from './facilityPaymentsSectionInitialState';\r\nimport { fromJS } from 'immutable';\r\nimport wellnessProgramPaymentsResources from '../wellnessProgramPaymentsResources';\r\n\r\nexport default function(state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_PAYMENTS:\r\n return state.set('payments', fromJS(action.payments));\r\n case types.SET_PROGRAM_PAYMENT_TYPE:\r\n return state.setIn(['paymentsFilter', 'programPaymentType'], fromJS(action.programPaymentType));\r\n case types.SET_PROGRAM_TYPE:\r\n return state.setIn(['paymentsFilter', 'programType'], fromJS(action.programType));\r\n case types.SET_PARTNER:\r\n return state.setIn(['paymentsFilter', 'partner'], fromJS(action.partner));\r\n case types.SET_PERIOD:\r\n return state.setIn(['paymentsFilter', 'period'], fromJS(action.period));\r\n case types.SET_SHOW_CORRECTED_ONLY:\r\n return state.setIn(['paymentsFilter', 'showCorrectedOnly'], fromJS(action.value));\r\n case types.SET_AMOUNT_TO_BE_SENT: {\r\n const payments = state.get('payments');\r\n const indexOfPaymentToUpdateAmount = payments.findIndex(payment => payment.get('id') === action.paymentId);\r\n return state.setIn(['payments', indexOfPaymentToUpdateAmount, 'amountToBeSent'], action.amountToBeSent);\r\n }\r\n case types.UNDO_AMOUNT_CORRECTION: {\r\n const payments = state.get('payments');\r\n const paymentPredicate = payment => payment.get('id') === action.paymentId;\r\n const paymentToUndoAmountCorrection = payments.find(paymentPredicate);\r\n const indexOfPaymentToUndoAmountCorrection = payments.findIndex(paymentPredicate);\r\n return state.setIn(['payments', indexOfPaymentToUndoAmountCorrection, 'amountToBeSent'], paymentToUndoAmountCorrection.get(wellnessProgramPaymentsResources.accessorTotalPayments));\r\n }\r\n case types.SET_PARTNERS:\r\n return state.set('partners', fromJS(action.partners));\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { fromJS } from 'immutable';\r\nimport programPaymentTypesEnum from '../../../enums/programPaymentTypes';\r\nimport paymentTypesEnum from '../../../enums/paymentTypes';\r\n\r\nexport default fromJS({\r\n payments: [],\r\n partners: [],\r\n paymentTypes: [],\r\n filters: {\r\n programTypeID: programPaymentTypesEnum.partnerMemberPaid,\r\n paymentTypeID: paymentTypesEnum.gmMemberDues,\r\n partnerID: undefined,\r\n periodID: undefined\r\n },\r\n popupData: {\r\n pin: undefined\r\n }\r\n});","const PREFIX = 'MEMBER_PAYMENTS_';\r\n\r\nexport const GET_PARTNERS = `${PREFIX}GET_PARTNERS`;\r\nexport const SET_PARTNERS = `${PREFIX}SET_PARTNERS`;\r\nexport const SET_PERIOD_ID = `${PREFIX}SET_PERIOD_ID`;\r\nexport const SET_IS_CURRENT_PERIOD = `${PREFIX}SET_IS_CURRENT_PERIOD`;\r\nexport const SET_PROGRAM_PAYMENT_TYPE_ID = `${PREFIX}SET_PROGRAM_PAYMENT_TYPE_ID`;\r\nexport const GET_PAYMENTS = `${PREFIX}GET`;\r\nexport const SET_PAYMENTS = `${PREFIX}SET`;\r\nexport const CHECK_PAYMENTS_PROCESSED = `${PREFIX}CHECK_PAYMENTS_PROCESSED`;\r\nexport const SEND_PAYMENTS = `${PREFIX}SEND_PAYMENTS`;\r\nexport const SET_POPUP_DATA = `${PREFIX}SET_POPUP_DATA`;\r\nexport const GET_PAYMENT_TYPES = `${PREFIX}_GET_PAYMENT_TYPES`;\r\nexport const SET_PAYMENT_TYPES = `${PREFIX}_SET_PAYMENT_TYPES`;\r\nexport const DOWNLOAD_PAYMENTS = `${PREFIX}DOWNLOAD`;","import { fromJS } from 'immutable';\r\nimport initialState from './memberPaymentsInitialState';\r\nimport * as types from './memberPaymentsTypes';\r\n\r\nexport default function (state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_PARTNERS:\r\n return state.set('partners', fromJS(action.partners));\r\n case types.SET_PERIOD_ID:\r\n return state.setIn(['filters', 'periodID'], fromJS(action.periodID));\r\n case types.SET_PROGRAM_PAYMENT_TYPE_ID:\r\n return state.setIn(['filters', 'programTypeID'], fromJS(action.programTypeID));\r\n case types.SET_PAYMENTS:\r\n return state.set('payments', fromJS(action.payments));\r\n case types.SET_POPUP_DATA:\r\n return state.set('popupData', fromJS(action.popupData));\r\n case types.SET_PAYMENT_TYPES:\r\n return state.set('paymentTypes', fromJS(action.paymentTypes));\r\n default:\r\n return state;\r\n }\r\n}","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n achUploadAvailability: {\r\n isAchUploadAvailable: true,\r\n errorMessage: null\r\n },\r\n});","const prefix = 'WELLNESS_PROGRAM_PAYMENTS_';\r\nexport const SET_ACH_UPLOAD_AVAILABILITY = `${prefix}_SET_ACH_UPLOAD_AVAILABILITY`;\r\nexport const CHECK_ACH_UPLOAD_AVAILABLE = `${prefix}_CHECK_ACH_UPLOAD_AVAILABLE`;","import initialState from './wellnessProgramPaymentsInitialState';\r\nimport * as types from './wellnessProgramPaymentsTypes';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function(state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_ACH_UPLOAD_AVAILABILITY:\r\n return state.set('achUploadAvailability', fromJS(action.achUploadAvailability));\r\n default:\r\n return state;\r\n }\r\n}","const PREFIX = 'VOUCHER_PROGRAMS_LIST_';\r\n\r\nexport const GET_VOUCHER_PROGRAMS = `${PREFIX}GET_VOUCHER_PROGRAMS`;\r\nexport const SET_VOUCHER_PROGRAMS = `${PREFIX}SET_VOUCHER_PROGRAMS`;","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n voucherPrograms: [],\r\n});\r\n","import { fromJS } from 'immutable';\r\nimport * as types from './voucherProgramsListTypes';\r\nimport initialState from './voucherProgramsListInitialState';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n const { type } = action;\r\n switch (type) {\r\n case types.SET_VOUCHER_PROGRAMS:\r\n {\r\n return state.set(\r\n 'voucherPrograms',\r\n fromJS(action.voucherPrograms)\r\n );\r\n }\r\n default:\r\n return state;\r\n }\r\n}\r\n","const PREFIX = 'VOUCHER_PROGRAM_';\r\n\r\nexport const GET_VOUCHER_PROGRAM = `${PREFIX}GET_VOUCHER_PROGRAM`;\r\nexport const SAVE_VOUCHER_PROGRAM = `${PREFIX}SAVE_VOUCHER_PROGRAM`;\r\nexport const SET_VOUCHER_PROGRAM = `${PREFIX}SET_VOUCHER_PROGRAM`;","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n voucherProgram: {},\r\n});\r\n","import { fromJS } from 'immutable';\r\nimport * as types from './voucherProgramTypes';\r\nimport initialState from './voucherProgramInitialState';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n const { type } = action;\r\n switch (type) {\r\n case types.SET_VOUCHER_PROGRAM:\r\n return state.set(\r\n 'voucherProgram',\r\n fromJS(action.voucherProgram)\r\n );\r\n default:\r\n return state;\r\n }\r\n}\r\n","const PREFIX = 'RECIPIENTS_LIST_';\r\n\r\nexport const GET_VOUCHERS = `${PREFIX}GET_VOUCHERS`;\r\nexport const SET_VOUCHERS = `${PREFIX}SET_VOUCHERS`;\r\nexport const UPLOAD_RECIPIENTS_LIST = `${PREFIX}UPLOAD`;\r\nexport const SET_RECIPIENTS_FILE_CONTENT_VALIDATION_ERRORS = `${PREFIX}SET_RECIPIENTS_FILE_CONTENT_VALIDATION_ERRORS`;\r\nexport const PREVIEW_VOUCHER = `${PREFIX}PREVIEW_VOUCHER`;\r\nexport const SET_VOUCHER_EMAIL_PREVIEW = `${PREFIX}SET_VOUCHER_EMAIL_PREVIEW`;\r\nexport const SET_IS_PUBLISH_POPUP_VISIBLE = `${PREFIX}SET_IS_PUBLISH_POPUP_VISIBLE`;\r\nexport const GET_IS_VOUCHER_PROGRAM_PUBLISHED = `${PREFIX}GET_IS_VOUCHER_PROGRAM_PUBLISHED`;\r\nexport const SET_IS_VOUCHER_PROGRAM_PUBLISHED = `${PREFIX}SET_IS_VOUCHER_PROGRAM_PUBLISHED`;\r\nexport const PUBLISH_VOUCHER_PROGRAM = `${PREFIX}PUBLISH_VOUCHER_PROGRAM`;\r\nexport const SET_IS_PREVIEW_POPUP_VISIBLE = `${PREFIX}SET_IS_PREVIEW_POPUP_VISIBLE`;","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n vouchers: [],\r\n recipientsFile: undefined,\r\n recipientsFileContentValidationErrors: [],\r\n voucherEmailPeview: '',\r\n isPublishPopupVisible: false,\r\n isVoucherProgramPublished: false,\r\n isPreviewPopupVisible: false\r\n});\r\n","import { fromJS } from 'immutable';\r\nimport * as types from './recipientsListTypes';\r\nimport initialState from './recipientsListInitialState';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n const { type } = action;\r\n switch (type) {\r\n case types.SET_VOUCHERS:\r\n if (!action.vouchers) {\r\n action.vouchers = [];\r\n }\r\n for (let i = 0; i < action.vouchers.length; i++) {\r\n const voucher = action.vouchers[i];\r\n for (const key in voucher.recipientMetaDataDictionary) {\r\n voucher[key] = voucher.recipientMetaDataDictionary[key];\r\n }\r\n }\r\n return state.set(\r\n 'vouchers',\r\n fromJS(action.vouchers)\r\n );\r\n case types.SET_RECIPIENTS_FILE_CONTENT_VALIDATION_ERRORS:\r\n return state.set(\r\n 'recipientsFileContentValidationErrors',\r\n fromJS(action.recipientsFileContentValidationErrors)\r\n );\r\n case types.SET_VOUCHER_EMAIL_PREVIEW:\r\n return state.set(\r\n 'voucherEmailPeview',\r\n fromJS(action.voucherEmailPeview)\r\n );\r\n case types.SET_IS_PUBLISH_POPUP_VISIBLE:\r\n return state.set(\r\n 'isPublishPopupVisible',\r\n fromJS(action.isPublishPopupVisible)\r\n );\r\n case types.SET_IS_VOUCHER_PROGRAM_PUBLISHED:\r\n return state.set(\r\n 'isVoucherProgramPublished',\r\n fromJS(action.isVoucherProgramPublished)\r\n );\r\n case types.SET_IS_PREVIEW_POPUP_VISIBLE:\r\n return state.set(\r\n 'isPreviewPopupVisible',\r\n fromJS(action.isPreviewPopupVisible)\r\n );\r\n default:\r\n return state;\r\n }\r\n}\r\n","const PREFIX = 'CLUB_LOCATOR_';\r\n\r\nexport const GET_FACILITIES_FOR_MAP = `${PREFIX}GET_FACILITIES_FOR_MAP`;\r\nexport const SET_FACILITIES_FOR_MAP = `${PREFIX}SET_FACILITIES_FOR_MAP`;\r\nexport const SET_LIST_VIEW_FOR_MAP = `${PREFIX}SET_LIST_VIEW_FOR_MAP`;\r\nexport const GET_PLANS_FOR_MAP = `${PREFIX}GET_PLANS_FOR_MAP`;\r\nexport const SET_PLANS_FOR_MAP = `${PREFIX}SET_PLANS_FOR_MAP`;\r\n","import { fromJS } from 'immutable';\r\n\r\nexport const initialState = fromJS({\r\n facilities: []\r\n});\r\n","import * as types from './clubLocatorSectionTypes';\r\nimport { initialState } from './clubLocatorSectionInitials';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_FACILITIES_FOR_MAP:\r\n return state.set(\r\n 'facilities',\r\n fromJS(action.facilities)\r\n );\r\n case types.SET_PLANS_FOR_MAP:\r\n return state.set(\r\n 'plans',\r\n fromJS(action.plans)\r\n );\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n isLoginPopupOpen: false\r\n});","import * as types from './loginTypes';\r\nimport initialState from './loginInitialState';\r\n\r\nexport default function loginReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_IS_LOGIN_POPUP_OPEN:\r\n return state.set('isLoginPopupOpen', action.isLoginPopupOpen);\r\n case types.SET_LOGIN_REDIRECT_URL:\r\n return state.set('redirectUrl', action.redirectUrl);\r\n default:\r\n return state;\r\n }\r\n}\r\n","export const SET_IS_FORGOT_PASSWORD_POPUP_OPEN = 'SET_IS_FORGOT_PASSWORD_POPUP_OPEN';\r\nexport const SET_IS_FORGOT_PASSWORD_RESULT_POPUP_OPEN = 'SET_IS_FORGOT_PASSWORD_RESULT_POPUP_OPEN';\r\nexport const SET_USERNAME = 'SET_USERNAME';\r\nexport const FORGOT_PASSWORD = 'FORGOT_PASSWORD';\r\nexport const RESEND = 'RESEND';","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n isForgotPasswordPopupOpen: false,\r\n isForgotPasswordResultPopupOpen: false,\r\n username: null\r\n});","import * as types from './forgotPasswordTypes';\r\nimport initialState from './forgotPasswordState';\r\n\r\nexport default function forgotPasswordReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_IS_FORGOT_PASSWORD_POPUP_OPEN:\r\n return state.set('isForgotPasswordPopupOpen', action.isForgotPasswordPopupOpen);\r\n case types.SET_IS_FORGOT_PASSWORD_RESULT_POPUP_OPEN:\r\n return state.set('isForgotPasswordResultPopupOpen', action.isForgotPasswordResultPopupOpen);\r\n case types.SET_USERNAME:\r\n return state.set('username', action.username);\r\n default:\r\n return state;\r\n }\r\n}\r\n","export const CONTACT_US_NOTIFICATION = 'CONTACT_US_NOTIFICATION';\r\nexport const GET_USER_DESCRIPTION_LIST = 'GET_USER_DESCRIPTION_LIST';\r\nexport const GET_USER_DESCRIPTION_LIST_SUCCESS = 'GET_USER_DESCRIPTION_LIST_SUCCESS';","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n userDescriptions: [],\r\n});\r\n","import { GET_USER_DESCRIPTION_LIST_SUCCESS } from './contactUsTypes';\r\nimport initialState from './contactUsInitialState';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function contactUsReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case GET_USER_DESCRIPTION_LIST_SUCCESS:\r\n return state.set('userDescriptions', fromJS(action.descriptions));\r\n default:\r\n return state;\r\n }\r\n}\r\n","export const SET_FACILITIES_FOR_DROPDOWN = 'SET_FACILITIES_FOR_DROPDOWN';\r\nexport const GET_FACILITIES_FOR_DROPDOWN = 'GET_FACILITIES_FOR_DROPDOWN';","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n facilities: []\r\n});","import * as types from './facilitySearchBoxTypes';\r\nimport initialState from './facilitySearchBoxState';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function facilitySearchBoxReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_FACILITIES_FOR_DROPDOWN:\r\n return state.set('facilities', fromJS(action.facilities));\r\n default:\r\n return state;\r\n }\r\n}\r\n","export const SET_IS_MEMBERTRANSFER_POPUP_OPEN = 'SET_IS_MEMBERTRANSFER_POPUP_OPEN';\r\nexport const MEMBERTRANSFER = 'MEMBERTRANSFER';\r\nexport const MEMBERSTRANSFER_RESULT = 'MEMBERTRANSFER_RESULT';\r\n","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n isMemberTransferPopupOpen: false,\r\n membersTransferResult: []\r\n});","import * as types from './MemberTransferTypes';\r\nimport initialState from './MemberTransferInitialState';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function memberTransferReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_IS_MEMBERTRANSFER_POPUP_OPEN:\r\n return state.set('isMemberTransferPopupOpen', action.isMemberTransferPopupOpen);\r\n case types.MEMBERSTRANSFER_RESULT:\r\n return state.set('membersTransferResult', fromJS(action.membersTransferResult));\r\n default:\r\n return state;\r\n }\r\n}\r\n","export const SET_UPLOAD_RESULTS = 'SET_UPLOAD_RESULTS';\r\nexport const SET_FILE_NAME = 'SET_FILE_NAME';","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n goodRecords: {}, badRecords: {},\r\n});","import * as types from './uploadRecipientsResultsTypes';\r\nimport initialState from './uploadRecipientsResultsInitialState';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function uploadRecipientsResultsReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_UPLOAD_RESULTS:\r\n return state.set('uploadResults', fromJS(action.uploadResults));\r\n case types.SET_FILE_NAME:\r\n return state.set('fileName', action.fileName);\r\n default:\r\n return state;\r\n }\r\n}","import { fromJS } from 'immutable';\r\nimport { partnerPortionPaymentTypeNamesMap } from '../../enums/paymentTypes';\r\n\r\nexport default fromJS({\r\n paymentTypes: [...Object.entries(partnerPortionPaymentTypeNamesMap)].map(([id, name]) => ({ id: Number(id), name }))\r\n});","import initialState from './paymentTypeInitialState';\r\n\r\nexport default function paymentTypeReducer(state = initialState) {\r\n return state;\r\n}\r\n","export const GET_EQUIPMENT_AND_FACILITIES_POLICIES = 'GET_EQUIPMENT_AND_FACILITIES_POLICIES';\r\n","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n equipmentAndFacilitiesPolicies: undefined\r\n});","import * as types from './agreementFormTypes';\r\nimport initialState from './agreementFormInitialState';\r\n\r\nexport default function agreementFormReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.GET_EQUIPMENT_AND_FACILITIES_POLICIES:\r\n return state.set('equipmentAndFacilitiesPolicies', action.equipmentAndFacilitiesPolicies);\r\n default:\r\n return state;\r\n }\r\n}\r\n","export const GET_EQUIPMENT_AND_FACILITIES_POLICIES = 'GET_EQUIPMENT_AND_FACILITIES_POLICIES';\r\n","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n equipmentAndFacilitiesPolicies: undefined\r\n});","import * as types from './legalContractFormTypes';\r\nimport initialState from './legalContractFormInitialState';\r\n\r\nexport default function legalContractFormReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.GET_EQUIPMENT_AND_FACILITIES_POLICIES:\r\n return state.set('equipmentAndFacilitiesPolicies', action.equipmentAndFacilitiesPolicies);\r\n default:\r\n return state;\r\n }\r\n}\r\n","import { fromJS } from 'immutable';\r\n\r\nexport const initialState = fromJS({\r\n checkedPlans: {}\r\n});\r\n","const PREFIX = 'PLANS_FILTER_MAP_';\r\n\r\nexport const SET_PLANS_FILTERS = `${PREFIX}SET_PLANS_FILTERS`;","import { initialState } from './plansFilterInitials';\r\nimport { fromJS } from 'immutable';\r\nimport * as types from './plansFilterTypes';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_PLANS_FILTERS: {\r\n return state.set(\r\n 'plansFilters', fromJS(action.plansFilters)\r\n );\r\n }\r\n default:\r\n return state;\r\n }\r\n}","const PREFIX = 'ACCOUNT_BILLING_INFO_';\r\n\r\nexport const GET_BILLING_INFO = `${PREFIX}GET_BILLING_INFO`;\r\nexport const SET_BILLING_INFO = `${PREFIX}SET_BILLING_INFO`;\r\nexport const UPDATE_BANK_ACCOUNT = `${PREFIX}UPDATE_BANK_ACCOUNT`;","import { fromJS } from 'immutable';\r\n\r\nexport const initialState = fromJS({\r\n isLoading: false,\r\n billingInfo: []\r\n});","const bankOperationTypes = Object.freeze({\r\n Credit: 2,\r\n Debit: 3\r\n});\r\n\r\nexport const bankOperationTypesNamesMap = Object.freeze({\r\n [bankOperationTypes.Credit]: 'Deposit',\r\n [bankOperationTypes.Debit]: 'Withdrawal'\r\n});\r\n\r\nexport const bankOperationTypesModelNamesMap = Object.freeze({\r\n [bankOperationTypes.Credit]: 'depositToBankAccount',\r\n [bankOperationTypes.Debit]: 'withdrawalFromBankAccount'\r\n});\r\n\r\nexport default bankOperationTypes;\r\n","import {\r\n SET_BILLING_INFO,\r\n UPDATE_BANK_ACCOUNT\r\n} from './billingInfoTypes';\r\nimport { fromJS } from 'immutable';\r\nimport { initialState } from './billingInfoInitialState';\r\nimport { bankOperationTypesModelNamesMap } from '../../../enums/bankOperationTypes';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n switch (action.type) {\r\n case SET_BILLING_INFO:\r\n return state.set('billingInfo', fromJS(action.payload.billingInfo));\r\n case UPDATE_BANK_ACCOUNT: {\r\n const bankingInfo = action.payload.bankAccount;\r\n const specificBankingInfoIndex = state.get('billingInfo')\r\n .findIndex(specificBankingInfo => specificBankingInfo.get('memberGuid') === bankingInfo.memberGuid);\r\n return state.setIn(['billingInfo', specificBankingInfoIndex, bankOperationTypesModelNamesMap[bankingInfo.bankAccount.operationTypeID]], fromJS(bankingInfo.bankAccount));\r\n }\r\n default:\r\n return state;\r\n }\r\n};","const CALCULATED_DUES = 'CALCULATED_DUES';\r\nexport const GET_CALCULATED_DUES = `GET_${CALCULATED_DUES}`;\r\nexport const SET_CALCULATED_DUES = `SET_${CALCULATED_DUES}`;\r\n","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n calculatedDues: {}\r\n});","import * as types from './paymentDetailsFormTypes';\r\nimport initialState from './paymentDetailsFormInitialState';\r\n\r\nexport default function paymentDetailsFormReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_CALCULATED_DUES:\r\n return state.set('calculatedDues', action.calculatedDues);\r\n default:\r\n return state;\r\n }\r\n}\r\n","const PREFIX = 'MEMBERSHIPS_REIMBURSEMENT';\r\n\r\nexport const SET_REIMBURSEMENTS_GROUP = `${PREFIX}SET_REIMBURSEMENTS_GROUP`;\r\nexport const SET_REIMBURSEMENTS_ITEMS = `${PREFIX}SET_REIMBURSEMENTS_ITEMS`;\r\nexport const GET_REIMBURSEMENTS_GROUP = `${PREFIX}GET_REIMBURSEMENTS_GROUP`;\r\nexport const GET_REIMBURSEMENTS_GROUP_LIST = `${PREFIX}GET_REIMBURSEMENTS_GROUP_LIST`;\r\nexport const SET_REIMBURSEMENTS_GROUP_LIST = `${PREFIX}SET_REIMBURSEMENTS_GROUP_LIST`;","import { fromJS } from 'immutable';\r\n\r\nexport const initialState = fromJS({\r\n isLoading: false,\r\n reimbursement: {\r\n reimbursementsGroups: [],\r\n }\r\n});","import { fromJS } from 'immutable';\r\nimport * as types from './reimbursementTypes';\r\nimport { initialState } from './reimbursementInitials';\r\n\r\nexport default function reducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.SET_REIMBURSEMENTS_GROUP_LIST: {\r\n return state.set('reimbursementGroups', fromJS(action.reimbursements));\r\n }\r\n case types.SET_REIMBURSEMENTS_GROUP: {\r\n return state.updateIn(['reimbursementGroups'], reimbursementGroups =>\r\n reimbursementGroups.map((reimbursementGroup) => {\r\n return reimbursementGroup.get('planOrProgramID') === action.planReimbursementsGroup.planOrProgramID\r\n && reimbursementGroup.get('enrollmentEntity') === action.planReimbursementsGroup.enrollmentEntity\r\n ? fromJS(action.planReimbursementsGroup)\r\n : reimbursementGroup;\r\n })\r\n );\r\n }\r\n case types.SET_REIMBURSEMENTS_ITEMS: {\r\n return state.updateIn(['reimbursementGroups'], reimbursementGroups =>\r\n reimbursementGroups.map((reimbursementGroup) => {\r\n return reimbursementGroup.get('planOrProgramID') === action.planReimbursementsGroup.planOrProgramID\r\n && reimbursementGroup.get('enrollmentEntity') === action.planReimbursementsGroup.enrollmentEntity\r\n ? reimbursementGroup.setIn(['reimbursements', 'items'], reimbursementGroup.getIn(['reimbursements', 'items'])\r\n .concat(fromJS(action.planReimbursementsGroup.reimbursements.items)))\r\n : reimbursementGroup;\r\n })\r\n );\r\n }\r\n default:\r\n return state;\r\n }\r\n}","export const GET_MEMBER_INSURANCE_INFO = 'GET_MEMBER_INSURANCE_INFO';\r\nexport const GET_MEMBER_INSURANCE_INFO_SUCCESS = `${GET_MEMBER_INSURANCE_INFO}_SUCCESS`;\r\n","import { fromJS } from 'immutable';\r\n\r\nexport default fromJS({\r\n insuranceInfo: undefined,\r\n});\r\n","import * as types from './homeTypes';\r\nimport initialState from './homeInitials';\r\nimport { fromJS } from 'immutable';\r\n\r\nexport default function homeReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case types.GET_MEMBER_INSURANCE_INFO_SUCCESS:\r\n return state.set('insuranceInfo', fromJS(action.insuranceInfo));\r\n default:\r\n return state;\r\n }\r\n}","import { combineReducers } from 'redux';\r\nimport { connectRouter } from 'connected-react-router';\r\nimport { reducer as form } from 'redux-form/immutable';\r\n\r\nimport { appReducer as app } from '../features/App';\r\nimport { notifications } from '../components/Notifications';\r\nimport { memberProfileGeneralInfoReducer as memberProfileGeneralInfo } from '../features/MemberProfile/GeneralInfo';\r\nimport { memberProfileFacilityInfoReducer as memberProfileFacilityInfo } from '../features/MemberProfile/FacilityInfo/FacilitiesSection';\r\nimport { memberProfileUsageLogReducer as memberProfileUsageLog } from '../features/MemberProfile/UsageLog';\r\nimport { accountInfoReducer as accountInfo } from '../features/AccountInfo';\r\nimport { accountInsuranceInfoReducer as accountInsuranceInfo } from '../features/AccountInfo/InsuranceInfo';\r\n\r\nimport partnersListReducer from '../features/Partners/PartnersList/partnersListReducer';\r\nimport memberListReducer from '../features/Members/membersListReducer';\r\nimport partnerBankingInfoReducer from '../features/PartnerInfo/BankingInfo/partnerBankingInfoReducer';\r\nimport partnerBillingInfoReducer from '../features/PartnerInfo/BillingInfo/partnerBillingInfoReducer';\r\nimport managePartnerReducer from '../features/Shared/Partners/managePartnerReducer';\r\nimport stateReducer from '../features/States/stateReducer';\r\nimport partnerManagerReducer from '../features/Shared/PartnerManager/managePartnerManagerReducer';\r\nimport loadingReducer from '../features/Loading/loadingReducer';\r\nimport partnerManagersListReducer from '../features/PartnerInfo/PartnerManagers/PartnerManagersList/partnerManagersListReducer';\r\nimport programTypeReducer from '../features/ProgramTypes/programTypeReducer';\r\nimport programPaymentTypeReducer from '../features/ProgramPaymentTypes/programPaymentTypeReducer';\r\nimport partnerBillingTypeReducer from '../features/PaymentTypes/partnerBillingTypeReducer';\r\nimport memberPaymentTypeReducer from '../features/PaymentTypes/memberPaymentTypeReducer';\r\nimport groupMembershipsReducer from '../features/GroupMemberships/GeneralInfo/groupMembershipsReducer';\r\nimport employeeManagementReducer from '../features/GroupMemberships/EmployeeManagement/employeeManagementReducer';\r\nimport facilityLocatorReducer from '../features/MemberArea/Dashboard/FacilityLocator/facilityLocatorReducer';\r\nimport facilityLocatorMapReducer from '../features/MemberArea/Dashboard/FacilityLocator/FacilityLocatorMap/facilityLocatorMapReducer';\r\nimport facilityReducer from '../features/Facilities/facilityReducer';\r\nimport legalContractReducer from '../features/MemberProfile/FacilityInfo/LegalContract/legalContractReducer';\r\nimport partnerOwnerAreaReducer from '../features/PartnerOwnerArea/partnerOwnerAreaReducer';\r\nimport partnerManagerAreaReducer from '../features/PartnerManagerArea/partnerManagerAreaReducer';\r\nimport memberAreaReducer from '../features/MemberArea/memberAreaReducer';\r\nimport partnerPaymentsSectionReducer from '../features/WellnessProgramPayments/PartnerPaymentsSection/partnerPaymentsSectionReducer';\r\nimport periodsReducer from '../features/Shared/Periods/periodsReducer';\r\nimport partnerPaymentWithdrawalSectionReducer from '../features/WellnessProgramPayments/PartnerPaymentWithdrawalSection/partnerPaymentWithdrawalSectionReducer';\r\nimport facilityPaymentDepositSectionReducer from '../features/WellnessProgramPayments/FacilityPaymentDepositSection/facilityPaymentDepositSectionReducer';\r\nimport visitLogTabReducer from '../features/GroupMemberships/VisitLog/visitLogTabReducer';\r\nimport partnerGroupMemberhipsPaymentsReducer from '../features/GroupMemberships/PartnerGroupMembershipsPayments/partnerGroupMemberhipsPaymentsReducer';\r\nimport partnerPaymentsGenerationSectionReducer from '../features/WellnessProgramPayments/PartnerPaymentsGenerationSection/partnerPaymentsGenerationSectionReducer';\r\nimport facilityPaymentsGenerationSectionReducer from '../features/WellnessProgramPayments/FacilityPaymentsGenerationSection/facilityPaymentsGenerationSectionReducer';\r\nimport facilityPaymentsSectionReducer from '../features/WellnessProgramPayments/FacilityPaymentsSection/facilityPaymentsSectionReducer';\r\nimport memberPaymentsReducer from '../features/WellnessProgramPayments/MemberPaymentsTab/memberPaymentsReducer';\r\nimport wellnessProgramPaymentsReducer from '../features/WellnessProgramPayments/wellnessProgramPaymentsReducer';\r\nimport voucherProgramsListReducer from '../features/VoucherPrograms/VoucherProgramsList/voucherProgramsListReducer';\r\nimport voucherProgramReducer from '../features/VoucherPrograms/VoucherProgram/voucherProgramReducer';\r\nimport recipientsListReducer from '../features/VoucherPrograms/RecipientsList/recipientsListReducer';\r\nimport clubLocatorSectionReducer from '../components/ClubLocatorSection/clubLocatorSectionReducer';\r\nimport loginReducer from '../components/Login/loginReducer';\r\nimport forgotPasswordReducer from '../components/ForgotPassword/forgotPasswordReducer';\r\nimport contactUsReducer from '../features/App/GuestArea/ContactUs/contactUsReducer';\r\nimport facilitySearchBoxReducer from '../features/Members/FacilitySearchBox/facilitySearchBoxReducer';\r\nimport memberTransferReducer from '../features/Members/MemberTransfer/memberTransferReducer';\r\nimport uploadRecipientsResultsReducer from '../features/Shared/UploadRecipientsResults/uploadRecipientsResultsReducer';\r\nimport paymentTypeReducer from '../features/PaymentTypes/paymentTypeReducer';\r\nimport agreementFormReducer from '../features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/agreementFormReducer';\r\nimport legalContractFormReducer from '../features/MemberProfile/FacilityInfo/LegalContract/LegalContractForm/legalContractFormReducer';\r\nimport plansFilterReducer from '../components/PlansFilter/plansFilterReducer';\r\nimport accountBillingInfoReducer from '../features/AccountInfo/BillingInfo/billingInfoReducer';\r\nimport paymentDetailsFormReducer from '../features/MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/paymentDetailsFormReducer';\r\nimport membershipReimbursementReducer from '../features/AccountInfo/Reimbursement/reimbursementReducers';\r\nimport homeReducer from '../features/MemberArea/Dashboard/Home/homeReducer';\r\n\r\nconst rootReducer = history => combineReducers({\r\n router: history ? connectRouter(history) : (state = {}) => state,\r\n form,\r\n app,\r\n notifications,\r\n memberProfileGeneralInfo,\r\n memberProfileFacilityInfo,\r\n memberProfileUsageLog,\r\n accountInfo,\r\n accountInsuranceInfo,\r\n partnerBankingInfoReducer,\r\n partnerBillingInfoReducer,\r\n managePartnerReducer,\r\n partnersListReducer,\r\n memberListReducer,\r\n stateReducer,\r\n partnerManagerReducer,\r\n loadingReducer,\r\n partnerManagersListReducer,\r\n programTypeReducer,\r\n programPaymentTypeReducer,\r\n partnerBillingTypeReducer,\r\n memberPaymentTypeReducer,\r\n groupMembershipsReducer,\r\n employeeManagementReducer,\r\n facilityLocatorReducer,\r\n facilityLocatorMapReducer,\r\n facilityReducer,\r\n partnerOwnerAreaReducer,\r\n partnerManagerAreaReducer,\r\n memberAreaReducer,\r\n partnerPaymentsSectionReducer,\r\n periodsReducer,\r\n partnerPaymentWithdrawalSectionReducer,\r\n facilityPaymentDepositSectionReducer,\r\n visitLogTabReducer,\r\n partnerGroupMemberhipsPaymentsReducer,\r\n partnerPaymentsGenerationSectionReducer,\r\n facilityPaymentsGenerationSectionReducer,\r\n facilityPaymentsSectionReducer,\r\n wellnessProgramPaymentsReducer,\r\n voucherProgramsListReducer,\r\n voucherProgramReducer,\r\n recipientsListReducer,\r\n legalContractReducer,\r\n clubLocatorSectionReducer,\r\n loginReducer,\r\n forgotPasswordReducer,\r\n contactUsReducer,\r\n facilitySearchBoxReducer,\r\n memberTransferReducer,\r\n uploadRecipientsResultsReducer,\r\n memberPaymentsReducer,\r\n paymentTypeReducer,\r\n agreementFormReducer,\r\n legalContractFormReducer,\r\n plansFilterReducer,\r\n accountBillingInfoReducer,\r\n paymentDetailsFormReducer,\r\n membershipReimbursementReducer,\r\n homeReducer\r\n});\r\n\r\nexport default rootReducer;\r\n","import http from '../../http/base';\r\nimport { API_PATHS } from '../../http/configs';\r\n\r\nexport default {\r\n getMe: () => http.get(API_PATHS.me)\r\n};","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\n\r\nexport default {\r\n changePassword: (passwords) => {\r\n return http.post(API_PATHS.changePassword, passwords);\r\n }\r\n};\r\n","export function replaceRouteParams(route, ...args) {\r\n let result = route;\r\n for (let i = 0; i < args.length; i++) {\r\n result = result.replace(/{.*?}/, encodeURIComponent(args[i]));\r\n }\r\n return result;\r\n}","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\nimport { replaceRouteParams } from '../../../utilities/routeHelper';\r\n\r\nexport function getPartnersList() {\r\n return http.get(API_PATHS.listPartners);\r\n}\r\n\r\nexport function getPartnersListByProgramType(programTypeID) {\r\n return http.get(API_PATHS.listPartnersByProgramType, { params: { programTypeID } });\r\n}\r\n\r\nexport function getPartnersListByProgramPaymentType(programPaymentTypeId, partnerBillingType, paymentType) {\r\n return http.get(replaceRouteParams(API_PATHS.listPartnersByProgramPaymentType, programPaymentTypeId), { params: { partnerBillingType, paymentType } });\r\n}\r\n","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\n\r\nexport function savePartner(partner) {\r\n return http.post(API_PATHS.savePartner, partner);\r\n}\r\n\r\nexport function getPartner(partnerID) {\r\n return http.get(API_PATHS.getPartner, {\r\n params: { partnerID: partnerID ? partnerID : null }\r\n });\r\n}\r\n","import http from '../../http/base';\r\nimport { API_PATHS } from '../../http/configs';\r\n\r\nexport function getStatesList() {\r\n return http.get(API_PATHS.listStates);\r\n}\r\n","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\n\r\nexport function createManager(manager) {\r\n return http.post(API_PATHS.createManager, manager);\r\n}\r\n\r\nexport function updateManager(manager) {\r\n return http.put(API_PATHS.updateManager, manager);\r\n}\r\n\r\nexport function getManager(managerID) {\r\n return http.get(API_PATHS.getManager, {\r\n params: { managerID: managerID ? managerID : null }\r\n });\r\n}\r\n","import http from '../../http/base';\r\nimport { API_PATHS } from '../../http/configs';\r\n\r\nexport function getProgramTypes() {\r\n return http.get(API_PATHS.listProgramTypes);\r\n}\r\n","import config from './configs';\r\nimport AppService from '../features/App/service';\r\nimport UsageLogService from '../features/MemberProfile/UsageLog/service';\r\nimport FacilityInfoService from '../features/MemberProfile/FacilityInfo/FacilitiesSection/service';\r\nimport GeneralInfoService from '../features/MemberProfile/GeneralInfo/service';\r\nimport AccountInfoService from '../features/AccountInfo/service';\r\nimport ChangePasswordService from '../features/Shared/ChangePassword/changePasswordService';\r\nimport InsuranceInfoService from '../features/AccountInfo/InsuranceInfo/service';\r\nimport * as PartnersListService from '../features/Partners/PartnersList/partnersListService';\r\nimport * as ManagePartnerService from '../features/Shared/Partners/managePartnerService';\r\nimport * as StatesService from '../features/States/stateService';\r\nimport * as ManagePartnerManagerService from '../features/Shared/PartnerManager/managePartnerManagerService';\r\nimport * as ProgramTypeService from '../features/ProgramTypes/programTypeService';\r\n\r\nexport default {\r\n AppService,\r\n UsageLogService: UsageLogService(config),\r\n GeneralInfoService: GeneralInfoService(config),\r\n AccountInfoService: AccountInfoService(config),\r\n FacilityInfoService: FacilityInfoService(config),\r\n ChangePasswordService,\r\n InsuranceInfoService: InsuranceInfoService(config),\r\n PartnersListService,\r\n ManagePartnerService,\r\n StatesService,\r\n ManagePartnerManagerService,\r\n ProgramTypeService\r\n};\r\n","import http from '../../../http/base';\r\n\r\nexport default ({ API_PATHS }) => ({\r\n getUsageLog: memberGuids => http.get(API_PATHS.usageLog, { params: { memberGuids } }),\r\n getFacilityUsagesGroup: (memberGuid, usagePeriod) => http.get(API_PATHS.facilityUsagesGroup, {\r\n params: {\r\n memberGuid,\r\n usagePeriodId: usagePeriod.get('id')\r\n }\r\n })\r\n});","import http from '../../../http/base';\r\n\r\nexport default ({ API_PATHS }) => ({\r\n getGeneralInfo: memberId => http.get(API_PATHS.generalInfo, { params: { memberId } })\r\n});","import http from '../../http/base';\r\n\r\nexport default ({ API_PATHS }) => ({\r\n checkBankingRequired: membersGuids =>\r\n http.get(API_PATHS.bankingCheck, { params: { membersGuids } }),\r\n\r\n checkReimbursementEnabled: membersGuids =>\r\n http.get(API_PATHS.reimbursementCheck, { params: { membersGuids } }),\r\n});\r\n","import http from '../../../../http/base';\r\n\r\nexport default ({ API_PATHS }) => ({\r\n getFacilityInfo: membersIds => http.get(API_PATHS.facilityInfo, { params: { membersIds } })\r\n});","import http from '../../../http/base';\r\n\r\nexport default ({ API_PATHS }) => ({\r\n getInsuranceInfo: memberGuids => http.get(API_PATHS.insuranceInfo, { params: { memberGuids } })\r\n});","export function isServer() {\r\n return typeof window === 'undefined';\r\n}\r\n\r\nexport function isStatic() {\r\n return process.env.IS_STATIC;\r\n}","import { createStore, applyMiddleware } from 'redux';\r\nimport { composeWithDevTools } from 'redux-devtools-extension';\r\nimport { routerMiddleware } from 'connected-react-router';\r\nimport thunk from 'redux-thunk';\r\nimport { createBrowserHistory } from 'history';\r\nimport rootReducer from './rootReducer';\r\nimport services from '../http/services';\r\nimport { isServer } from '../utilities/next';\r\n\r\nexport const history = isServer() ? null : createBrowserHistory();\r\n\r\nexport default function configureStore(initialState) {\r\n const middlewares = [thunk.withExtraArgument(services)];\r\n if (history) {\r\n middlewares.push(routerMiddleware(history));\r\n }\r\n\r\n return createStore(\r\n rootReducer(history),\r\n initialState,\r\n composeWithDevTools(\r\n applyMiddleware(...middlewares)\r\n )\r\n );\r\n};","import PropTypes from 'prop-types';\r\n\r\nconst roles = Object.freeze({\r\n guest: 0,\r\n member: 1,\r\n facilityManager: 2,\r\n systemAdmin: 4,\r\n mpsAdmin: -1,\r\n partnerManager: 1026\r\n});\r\n\r\nexport const roleType = PropTypes.oneOf([\r\n roles.guest,\r\n roles.member,\r\n roles.facilityManager,\r\n roles.systemAdmin,\r\n roles.mpsAdmin,\r\n roles.partnerManager\r\n]);\r\n\r\nexport default roles;\r\n","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgIcIconSuccess(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 12,\n height: 9,\n viewBox: \"0 0 12 9\",\n focusable: \"false\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n d: \"M.14 5.429a.482.482 0 0 1 0-.68l1.2-1.2a.482.482 0 0 1 .68 0l1.948 1.944a.481.481 0 0 0 .678 0L9.986.14a.483.483 0 0 1 .68-.002l1.193 1.185a.48.48 0 0 1 .002.678l-6.475 6.49c-.187.188-.555.34-.82.34h-.559c-.264 0-.632-.153-.818-.34L.139 5.43z\"\n })));\n}\nexport default __webpack_public_path__ + \"static/media/ic-icon-success.4e68d87f.svg\";\nexport { SvgIcIconSuccess as ReactComponent };","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgIcIconError(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 14,\n height: 14,\n viewBox: \"0 0 14 14\",\n focusable: \"false\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7 5.586L1.707.293A1 1 0 1 0 .293 1.707L5.586 7 .293 12.293a1 1 0 0 0 1.414 1.414L7 8.414l5.293 5.293a1 1 0 0 0 1.414-1.414L8.414 7l5.293-5.293A1 1 0 1 0 12.293.293L7 5.586z\"\n })));\n}\nexport default __webpack_public_path__ + \"static/media/ic-icon-error.9c1141a7.svg\";\nexport { SvgIcIconError as ReactComponent };","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgIcIconWarning(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 3,\n height: 11,\n viewBox: \"0 0 3 11\",\n focusable: \"false\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n d: \"M1.5 10.25a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5zM0 0h3l-.5 7h-2L0 0z\"\n })));\n}\nexport default __webpack_public_path__ + \"static/media/ic-icon-warning.a9766b9b.svg\";\nexport { SvgIcIconWarning as ReactComponent };","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgIcMenuIconAccount(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n className: \"icon icon_account\",\n width: \"24px\",\n height: \"30px\",\n viewBox: \"0 0 24 30\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\",\n id: \"ic_Menu_Account\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(-0.500000, 0.300000)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10.026969,2.06896549 C8.43076207,2.06896549 7.13145175,3.64137926 7.13145175,5.56551717 C7.13145175,7.48965508 8.43076207,9.06206885 10.026969,9.06206885 C11.6231758,9.06206885 12.9224862,7.48965508 12.9224862,5.56551717 C12.9224862,3.64137926 11.6231758,2.06896549 10.026969,2.06896549 Z M10.026969,11.1310343 C7.28869312,11.1310343 5.06248626,8.63793092 5.06248626,5.56551717 C5.06248626,2.49310342 7.28869312,-4.6629367e-14 10.026969,-4.6629367e-14 C12.7642103,-4.6629367e-14 14.9914516,2.49310342 14.9914516,5.56551717 C14.9914516,8.63793092 12.7642103,11.1310343 10.026969,11.1310343 Z M16.5731758,26.6999997 C16.290762,26.6999997 16.0197275,26.5862066 15.8231758,26.37931 L14.1266241,24.5999997 C13.7324861,24.1862066 13.7490379,23.5241376 14.162831,23.1310342 C14.5745551,22.7379307 15.2293827,22.7586204 15.6255896,23.1724135 L16.5142102,24.103448 L19.5193826,20.441379 C19.8804171,19.9965515 20.5331757,19.9344825 20.9738654,20.2965515 C21.416624,20.6586204 21.4807619,21.3103446 21.1197274,21.7551721 L17.3738654,26.317241 C17.1855895,26.5448272 16.9062792,26.6896548 16.6114516,26.6999997 L16.5731758,26.6999997 Z M17.6117964,17.5965515 C14.6417965,17.5965515 12.2252448,20.0068963 12.2252448,22.9862066 C12.2252448,25.9551721 14.6417965,28.3655169 17.6117964,28.3655169 C20.5817964,28.3655169 23.0004171,25.9551721 23.0004171,22.9862066 C23.0004171,20.0068963 20.5817964,17.5965515 17.6117964,17.5965515 Z M11.2612084,23.9379307 L2.3738656,23.9379307 C1.82972768,23.9379307 1.37972768,23.5137928 1.34041734,22.9758618 L1.0073139,18.0931032 C0.886279414,16.2931032 2.28283112,14.2241377 4.05490006,13.5724136 C7.85455519,12.2068964 12.0276586,12.2068964 15.8159344,13.5620688 C17.1166256,14.0415863 18.2205131,15.244647 18.6729617,16.6495385 C21.7117649,17.155903 24.0348998,19.7999529 24.0348998,22.9862066 C24.0348998,26.5241376 21.1538654,29.3999996 17.6117964,29.3999996 C14.3934401,29.3999996 11.7225225,27.0257724 11.2612084,23.9379307 Z M11.2876389,21.8689652 C11.7487936,19.2409505 13.8080053,17.1630074 16.4222792,16.6722878 C16.1005734,16.1375293 15.6184848,15.6975134 15.1104172,15.5068964 C11.7783482,14.3172412 8.10179656,14.3172412 4.76145178,15.5172412 C3.76524489,15.8793101 3.01834835,17.1517239 3.07214145,17.9586205 L3.339038,21.8689652 L11.2876389,21.8689652 Z\",\n id: \"path-account\",\n fill: \"#FFFFFF\",\n fillRule: \"nonzero\"\n })))));\n}\nexport default __webpack_public_path__ + \"static/media/ic-menu-icon-account.e8bbe9e7.svg\";\nexport { SvgIcMenuIconAccount as ReactComponent };","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgIcMenuIconMember(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n className: \"icon icon_login\",\n width: \"24px\",\n height: \"24px\",\n viewBox: \"0 0 24 24\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\",\n id: \"ic_Menu_Member\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12.0038213,2.03735144 C9.34423097,2.03735144 6.83749071,3.07640068 4.96253052,4.95076401 C3.07738032,6.83531409 2.03800021,9.34125637 2.03800021,12 C2.03800021,14.6587436 3.07738032,17.1646859 4.95234052,19.0390492 C6.83749071,20.9235993 9.34423097,21.9626486 12.0038213,21.9626486 C14.6634115,21.9626486 17.1701518,20.9235993 19.045112,19.0390492 C22.9275024,15.1578947 22.9275024,8.84210526 19.045112,4.95076401 C17.1701518,3.07640068 14.6634115,2.03735144 12.0038213,2.03735144 Z M12.0038213,24 C8.79397092,24 5.7879206,22.7470289 3.51555037,20.4855688 C1.25337013,18.2139219 0,15.2088285 0,12 C0,8.79117148 1.25337013,5.77589134 3.51555037,3.51443124 C5.7879206,1.25297114 8.79397092,-8.8817842e-16 12.0038213,-8.8817842e-16 C15.2136716,-8.8817842e-16 18.2197219,1.25297114 20.4920921,3.51443124 C25.1693026,8.1901528 25.1693026,15.7996604 20.4920921,20.475382 C18.2197219,22.7470289 15.2034816,24 12.0038213,24 Z M5.3125578,19.4254658 L5.36060624,19.4720497 C7.12878886,21.1863354 9.49277214,22.136646 12.0009007,22.136646 C14.5090293,22.136646 16.8730126,21.1863354 18.6411952,19.4627329 L18.6892437,19.4254658 C17.2189614,18.7826087 15.6141435,18.3540373 13.9420577,18.1583851 C13.6922058,18.1304348 13.4519636,18 13.2982086,17.8043478 C13.1444536,17.5993789 13.0771858,17.3478261 13.1060149,17.1055901 L13.2982086,15.8291925 C13.3462571,15.5590062 13.5000121,15.326087 13.7306446,15.1770186 C13.9132287,15.0652174 14.0093256,14.9347826 14.0285449,14.8881988 L14.1630806,13.7329193 C14.211129,13.3695652 14.4705906,13.0714286 14.826149,12.9596273 L14.8357587,12.9503106 L14.9030266,12.2888199 L14.8549781,12.2608696 C14.5570778,12.0652174 14.4033228,11.7298137 14.4417615,11.3850932 L14.5859068,10.1925466 C14.643565,9.59627329 14.6627843,8.98136646 14.2207387,8.59937888 C13.7210349,8.13354037 12.9042114,7.86335404 12.0009007,7.86335404 C11.0975901,7.86335404 10.2807666,8.13354037 9.81950153,8.57142857 C9.33901713,8.98136646 9.3582365,9.59627329 9.41589463,10.2018634 L9.55043026,11.3850932 C9.5984787,11.7298137 9.43511401,12.0745342 9.13721367,12.2608696 L9.08916523,12.2888199 L9.16604274,12.9503106 L9.17565243,12.9596273 C9.53121089,13.0714286 9.79067247,13.3695652 9.82911122,13.7329193 C9.88676935,14.1335404 9.9252081,14.5248447 9.97325654,14.9254658 C9.98286623,14.9254658 10.0789631,15.0652174 10.2711569,15.1770186 C10.5017894,15.326087 10.6651541,15.5590062 10.7035928,15.8291925 L10.8861769,17.0962733 C10.9246157,17.3478261 10.8573478,17.5993789 10.7035928,17.8043478 C10.5402281,18 10.3095956,18.1304348 10.050134,18.1583851 C8.387658,18.3540373 6.80205946,18.7732919 5.3125578,19.4254658 Z M12.0009007,24 C8.97384898,24 6.13899098,22.8540373 3.99603053,20.7857143 C3.71734957,20.5062112 3.45788799,20.2360248 3.21764579,19.947205 C2.9677939,19.6490683 2.92935515,19.2298137 3.12154891,18.8944099 C3.39062018,18.447205 3.73656895,18.1024845 4.14978554,17.8975155 C5.6392872,17.2080745 7.20566636,16.7236025 8.82970365,16.4534161 C8.387658,16.0621118 8.10897705,15.5869565 8.0609286,15.1118012 C8.05131892,14.9906832 8.03209954,14.8695652 8.02248985,14.7391304 C7.63810233,14.552795 7.35942137,14.1801242 7.31137293,13.742236 L7.11917917,11.9254658 C7.07113073,11.5062112 7.2537148,11.1055901 7.55161513,10.8447205 L7.50356669,10.378882 C7.43629888,9.74534161 7.29215355,8.25465839 8.50297426,7.21118012 C9.29096868,6.45652174 10.5786669,6 12.0009007,6 C13.4135249,6 14.7108328,6.45652174 15.5276563,7.23913043 C16.7096479,8.25465839 16.5558929,9.73602484 16.4982348,10.3695652 L16.4501863,10.8447205 C16.7480867,11.1055901 16.9210611,11.5062112 16.8730126,11.9254658 L16.6808189,13.742236 C16.6423801,14.1801242 16.3636991,14.552795 15.9793116,14.7391304 L15.9312632,15.1304348 C15.8928244,15.5869565 15.6141435,16.0621118 15.1720978,16.4534161 C16.7961351,16.7236025 18.3529046,17.2080745 19.8135772,17.878882 C20.2556228,18.1024845 20.6111813,18.4565217 20.8706429,18.9037267 C21.0724463,19.2298137 21.0340076,19.6490683 20.7841557,19.947205 C20.5439135,20.2360248 20.2844519,20.515528 20.0057709,20.7763975 C17.8628105,22.8540373 15.0183428,24 12.0009007,24 Z\",\n id: \"path-member\",\n fill: \"#FFFFFF\",\n fillRule: \"nonzero\"\n }))));\n}\nexport default __webpack_public_path__ + \"static/media/ic-menu-icon-member.3a912233.svg\";\nexport { SvgIcMenuIconMember as ReactComponent };","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgIcMenuIconDashboard(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n className: \"icon icon_dashboard\",\n width: \"24px\",\n height: \"24px\",\n viewBox: \"0 0 24 24\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\",\n id: \"ic_Menu_Dashboard\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2.10028223,9.48535342 L9.48592467,9.48535342 L9.48592467,2.10085347 L2.10028223,2.10085347 L2.10028223,9.48535342 Z M10.5360658,11.5862069 L1.05014111,11.5862069 C0.469413077,11.5862069 0,11.1135149 0,10.5357802 L0,1.05042674 C0,0.462187764 0.469413077,0 1.05014111,0 L10.5360658,0 C11.1167938,0 11.5862069,0.462187764 11.5862069,1.05042674 L11.5862069,10.5357802 C11.5862069,11.1135149 11.1167938,11.5862069 10.5360658,11.5862069 Z M14.5140753,9.48535342 L21.8997178,9.48535342 L21.8997178,2.10085347 L14.5140753,2.10085347 L14.5140753,9.48535342 Z M22.9498589,11.5862069 L13.4639342,11.5862069 C12.8832062,11.5862069 12.4137931,11.1135149 12.4137931,10.5357802 L12.4137931,1.05042674 C12.4137931,0.462187764 12.8832062,-8.8817842e-16 13.4639342,-8.8817842e-16 L22.9498589,-8.8817842e-16 C23.5305869,-8.8817842e-16 24,0.462187764 24,1.05042674 L24,10.5357802 C24,11.1135149 23.5305869,11.5862069 22.9498589,11.5862069 Z M2.10028223,21.9010495 L9.48592467,21.9010495 L9.48592467,14.5127436 L2.10028223,14.5127436 L2.10028223,21.9010495 Z M10.5360658,24 L1.05014111,24 C0.469413077,24 0,23.5277361 0,22.9505247 L0,13.4632684 C0,12.886057 0.469413077,12.4137931 1.05014111,12.4137931 L10.5360658,12.4137931 C11.1167938,12.4137931 11.5862069,12.886057 11.5862069,13.4632684 L11.5862069,22.9505247 C11.5862069,23.5277361 11.1167938,24 10.5360658,24 Z M14.5140753,21.9010495 L21.8997178,21.9010495 L21.8997178,14.5127436 L14.5140753,14.5127436 L14.5140753,21.9010495 Z M22.9498589,24 L13.4639342,24 C12.8832062,24 12.4137931,23.5277361 12.4137931,22.9505247 L12.4137931,13.4632684 C12.4137931,12.886057 12.8832062,12.4137931 13.4639342,12.4137931 L22.9498589,12.4137931 C23.5305869,12.4137931 24,12.886057 24,13.4632684 L24,22.9505247 C24,23.5277361 23.5305869,24 22.9498589,24 Z\",\n id: \"path-dashboard\",\n fill: \"#FFFFFF\",\n fillRule: \"nonzero\"\n }))));\n}\nexport default __webpack_public_path__ + \"static/media/ic-menu-icon-dashboard.959e7218.svg\";\nexport { SvgIcMenuIconDashboard as ReactComponent };","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgIcIconClose(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n width: 14,\n height: 14,\n viewBox: \"0 0 14 14\",\n focusable: \"false\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7 5.586L1.707.293A1 1 0 1 0 .293 1.707L5.586 7 .293 12.293a1 1 0 0 0 1.414 1.414L7 8.414l5.293 5.293a1 1 0 0 0 1.414-1.414L8.414 7l5.293-5.293A1 1 0 1 0 12.293.293L7 5.586z\"\n })));\n}\nexport default __webpack_public_path__ + \"static/media/ic-icon-close.9c1141a7.svg\";\nexport { SvgIcIconClose as ReactComponent };","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgIcActionIconLogin(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n className: \"icon icon_login\",\n width: \"16px\",\n height: \"16px\",\n viewBox: \"0 0 16 16\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\",\n id: \"ic_action_Login\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(-2.000000, -2.000000)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M8.40833333,12.9916667 L9.58333333,14.1666667 L13.75,10 L9.58333333,5.83333333 L8.40833333,7.00833333 L10.5583333,9.16666667 L2.5,9.16666667 L2.5,10.8333333 L10.5583333,10.8333333 L8.40833333,12.9916667 Z M15.8333333,2.5 L4.16666667,2.5 C3.24166667,2.5 2.5,3.25 2.5,4.16666667 L2.5,7.5 L4.16666667,7.5 L4.16666667,4.16666667 L15.8333333,4.16666667 L15.8333333,15.8333333 L4.16666667,15.8333333 L4.16666667,12.5 L2.5,12.5 L2.5,15.8333333 C2.5,16.75 3.24166667,17.5 4.16666667,17.5 L15.8333333,17.5 C16.75,17.5 17.5,16.75 17.5,15.8333333 L17.5,4.16666667 C17.5,3.25 16.75,2.5 15.8333333,2.5 Z\",\n id: \"path-login\",\n fill: \"#0079ad\",\n fillRule: \"nonzero\"\n })))));\n}\nexport default __webpack_public_path__ + \"static/media/ic-action-icon-login.0bcf769d.svg\";\nexport { SvgIcActionIconLogin as ReactComponent };","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgIcActionIconUser(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n className: \"icon icon_user\",\n width: \"16px\",\n height: \"16px\",\n viewBox: \"0 0 16 16\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\",\n id: \"ic_action_User\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(-2.000000, -2.000000)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10,3.9 C11.16,3.9 12.1,4.84 12.1,6 C12.1,7.16 11.16,8.1 10,8.1 C8.84,8.1 7.9,7.16 7.9,6 C7.9,4.84 8.84,3.9 10,3.9 Z M10,12.9 C12.97,12.9 16.1,14.36 16.1,15 L16.1,16.1 L3.9,16.1 L3.9,15 C3.9,14.36 7.03,12.9 10,12.9 Z M10,2 C7.79,2 6,3.79 6,6 C6,8.21 7.79,10 10,10 C12.21,10 14,8.21 14,6 C14,3.79 12.21,2 10,2 Z M10,11 C7.33,11 2,12.34 2,15 L2,18 L18,18 L18,15 C18,12.34 12.67,11 10,11 Z\",\n id: \"path-user\",\n fill: \"#0079ad\",\n fillRule: \"nonzero\"\n })))));\n}\nexport default __webpack_public_path__ + \"static/media/ic-action-icon-user.2019d53d.svg\";\nexport { SvgIcActionIconUser as ReactComponent };","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgIcActionEyeVisible(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n className: \"icon icon-eye icon-eye_visible\",\n width: \"17px\",\n height: \"15px\",\n viewBox: \"0 0 17 15\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\",\n id: \"ic_action_Visible\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(-2.000000, -3.000000)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10,5 C6.36363636,5 3.25818182,7.26181818 2,10.4545455 C3.25818182,13.6472727 6.36363636,15.9090909 10,15.9090909 C13.6363636,15.9090909 16.7418182,13.6472727 18,10.4545455 C16.7418182,7.26181818 13.6363636,5 10,5 Z M10,14.0909091 C7.99272727,14.0909091 6.36363636,12.4618182 6.36363636,10.4545455 C6.36363636,8.44727273 7.99272727,6.81818182 10,6.81818182 C12.0072727,6.81818182 13.6363636,8.44727273 13.6363636,10.4545455 C13.6363636,12.4618182 12.0072727,14.0909091 10,14.0909091 Z M10,8.27272727 C8.79272727,8.27272727 7.81818182,9.24727273 7.81818182,10.4545455 C7.81818182,11.6618182 8.79272727,12.6363636 10,12.6363636 C11.2072727,12.6363636 12.1818182,11.6618182 12.1818182,10.4545455 C12.1818182,9.24727273 11.2072727,8.27272727 10,8.27272727 Z\",\n id: \"path-eye\",\n fill: \"#9B9B9B\",\n fillRule: \"nonzero\"\n })))));\n}\nexport default __webpack_public_path__ + \"static/media/ic-action-eye-visible.7d848e1d.svg\";\nexport { SvgIcActionEyeVisible as ReactComponent };","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgIcActionEyeInvisible(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n className: \"icon icon-eye icon-eye_invisible\",\n width: \"17px\",\n height: \"15px\",\n viewBox: \"0 0 17 15\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\",\n id: \"ic_action_Invisible\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(-2.000000, -3.000000)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10.498863,6.09049564 C12.631305,6.09049564 14.3619826,7.8211732 14.3619826,9.95361519 C14.3619826,10.4558207 14.2615414,10.9271213 14.0838379,11.3675169 L16.3398998,13.6235788 C17.5065619,12.6500726 18.4259843,11.3906957 18.9899998,9.95361519 C17.6533604,6.56179622 14.3542563,4.15893586 10.4911368,4.15893586 C9.40946329,4.15893586 8.37414725,4.35209184 7.41609361,4.6997726 L9.08496125,6.36864025 C9.52535688,6.19093675 9.99665746,6.09049564 10.498863,6.09049564 Z M2.77262391,3.98123237 L4.53420642,5.74281488 L4.88961342,6.09822188 C3.60705773,7.09490672 2.60264665,8.42381985 2,9.95361519 C3.33663936,13.3454341 6.63574346,15.7482945 10.498863,15.7482945 C11.6964301,15.7482945 12.8399135,15.5165073 13.8829557,15.0992904 L14.2074578,15.4237925 L16.4712458,17.6798543 L17.4524782,16.6986219 L3.75385627,3 L2.77262391,3.98123237 Z M7.04523413,8.25384258 L8.24280119,9.45140964 C8.20416999,9.61366067 8.18099128,9.78363793 8.18099128,9.95361519 C8.18099128,11.2361709 9.21630732,12.2714869 10.498863,12.2714869 C10.6688403,12.2714869 10.8388175,12.2483082 11.0010685,12.209677 L12.1986356,13.4072441 C11.6809776,13.66221 11.1092359,13.8167347 10.498863,13.8167347 C8.36642101,13.8167347 6.63574346,12.0860572 6.63574346,9.95361519 C6.63574346,9.3432423 6.79026824,8.7715006 7.04523413,8.25384258 Z M10.3752432,7.65119594 L12.8090085,10.0849613 L12.824461,9.96134143 C12.824461,8.67878574 11.7891449,7.6434697 10.5065892,7.6434697 L10.3752432,7.65119594 Z\",\n id: \"path-eye-closed\",\n fill: \"#9B9B9B\",\n fillRule: \"nonzero\"\n })))));\n}\nexport default __webpack_public_path__ + \"static/media/ic-action-eye-invisible.1a0ecdd3.svg\";\nexport { SvgIcActionEyeInvisible as ReactComponent };","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgIcIconAttention(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n className: \"icon icon_login\",\n width: \"24px\",\n height: \"24px\",\n viewBox: \"0 0 24 24\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\",\n id: \"ic_Attention\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(-3.000000, -3.000000)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M16.0027172,13.5611415 L16.0027172,19.5448372 C16.0027172,19.959579 15.900815,20.2724187 15.7072009,20.4853942 C15.5135867,20.6973507 15.2588313,20.803329 14.9531248,20.803329 C14.6474182,20.803329 14.402853,20.6942937 14.2194291,20.477242 C14.025815,20.2601904 13.934103,19.9493888 13.934103,19.5448372 L13.934103,13.6222828 C13.934103,13.2126361 14.025815,12.9048915 14.2194291,12.6970111 C14.402853,12.4901497 14.6474182,12.3862095 14.9531248,12.3862095 C15.2588313,12.3862095 15.5135867,12.4901497 15.7072009,12.6970111 C15.900815,12.9048915 16.0027172,13.1922557 16.0027172,13.5611415 Z M14.9836954,11.4232337 C14.6881791,11.4232337 14.4436139,11.3345788 14.2398095,11.157269 C14.0360052,10.9809783 13.934103,10.7302989 13.934103,10.407269 C13.934103,10.1137908 14.0360052,9.87228261 14.2499998,9.68274456 C14.4538041,9.49320652 14.6983693,9.3984375 14.9836954,9.3984375 C15.2486411,9.3984375 15.4830161,9.48403533 15.6868204,9.65625 C15.900815,9.82846467 16.0027172,10.078125 16.0027172,10.407269 C16.0027172,10.7252038 15.900815,10.9748641 15.6970107,11.1531929 C15.4932063,11.3335598 15.2588313,11.4232337 14.9836954,11.4232337 Z M15.0040758,5.03804344 C12.3444291,5.03804344 9.83763572,6.07438857 7.96263577,7.95448372 C6.07744559,9.83661691 5.03804344,12.3393344 5.03804344,15.0000002 C5.03804344,17.662704 6.07744559,20.1644025 7.96263577,22.0455166 C9.83763572,23.9266308 12.3444291,24.9619569 15.0040758,24.9619569 C17.6637225,24.9619569 20.1705159,23.9256118 22.0455159,22.0434786 C25.9381788,18.1589676 25.9279886,11.8389947 22.0455159,7.95448372 C20.1705159,6.07438857 17.6637225,5.03804344 15.0040758,5.03804344 Z M15.004076,27 C11.7941575,27 8.78804342,25.7527174 6.51562496,23.4874321 C4.25339673,21.2211277 3,18.2068614 3,15 C3,11.7941576 4.25339673,8.7798913 6.51562496,6.51358696 C8.78804342,4.24830163 11.7941575,3 15.004076,3 C18.2139944,3 21.2201085,4.24830163 23.492527,6.51358696 C28.1698367,11.1919158 28.1698367,18.8050272 23.492527,23.485394 C21.2201085,25.7516984 18.2139944,27 15.004076,27 Z\",\n id: \"path-attention\",\n fill: \"#0079ad\",\n fillRule: \"nonzero\"\n })))));\n}\nexport default __webpack_public_path__ + \"static/media/ic-icon-attention.93f23ba7.svg\";\nexport { SvgIcIconAttention as ReactComponent };","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgIcActionIconArrowInput(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n className: \"icon icon_arrow\",\n width: \"10px\",\n height: \"7px\",\n viewBox: \"0 0 10 7\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\",\n id: \"ic_action_Arrow\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n transform: \"translate(-3.000000, -4.000000)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7.99897282,10.4225636 C7.78531992,10.4225636 7.57166702,10.3354589 7.42375348,10.1817932 L3.44652258,6.20291887 C3.11782581,5.88161778 3.11782581,5.36145516 3.44652258,5.04097581 C3.76700193,4.71967473 4.28469934,4.71967473 4.60517869,5.04097581 L7.99897282,8.43805685 L11.4009844,5.04097581 C11.7214637,4.71967473 12.2391611,4.71967473 12.5596405,5.04097581 C12.8801198,5.36145516 12.8801198,5.88161778 12.5596405,6.20291887 L8.58240959,10.1817932 C8.42627862,10.3354589 8.22084314,10.4225636 7.99897282,10.4225636\",\n id: \"path-arrow\",\n fill: \"#0079ad\",\n fillRule: \"nonzero\"\n })))));\n}\nexport default __webpack_public_path__ + \"static/media/ic-action-icon-arrow-input.c2c00bf9.svg\";\nexport { SvgIcActionIconArrowInput as ReactComponent };","var _defs, _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgIcIconYes(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"20px\",\n height: \"20px\",\n viewBox: \"0 0 20 20\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\"\n }, props), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10.8660001,15.0375996 C10.6420001,15.0375996 10.4340001,14.9487996 10.2820001,14.7895996 L8.21000004,12.6103997 C7.90600003,12.2903997 7.91400003,11.7839997 8.23400004,11.4799997 C8.55400005,11.1751997 9.05800006,11.1863997 9.37000007,11.5071997 L10.8180001,13.0311996 L14.8260002,8.14719983 C15.1060002,7.80719984 15.6100002,7.75519984 15.9460003,8.03519983 C16.2900003,8.31599982 16.3380003,8.8199998 16.0580003,9.16159979 L11.4820001,14.7455996 C11.3380001,14.9223996 11.1220001,15.0287996 10.8900001,15.0375996 L10.8660001,15.0375996 M11.8180002,4.00000005 C9.73000019,4.00000005 7.76200014,4.81360007 6.2900001,6.28960011 C3.24200002,9.33920019 3.24200002,14.3016003 6.2900001,17.3520004 C7.76200014,18.8288004 9.73000019,19.6416005 11.8180002,19.6416005 C13.9060003,19.6416005 15.8740003,18.8280004 17.3460004,17.3504004 C20.4020005,14.3008003 20.4020005,9.33920019 17.3460004,6.28960011 C15.8740003,4.81360007 13.9060003,4.00000005 11.8180002,4.00000005 Z M11.818,21.2415997 C9.29800002,21.2415997 6.93800001,20.2623997 5.15400001,18.4839997 C1.482,14.8095998 1.482,8.83199988 5.15400001,5.15839995 C6.93800001,3.37999998 9.30600002,2.4 11.818,2.4 C14.338,2.4 16.698,3.37999998 18.4820001,5.15839995 C22.1540001,8.83119988 22.1540001,14.8079998 18.4820001,18.4823997 C16.698,20.2615997 14.338,21.2415997 11.818,21.2415997 Z\",\n id: \"path-1\"\n }))), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n id: \"Fitness-Style\",\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Fitness-Style---Dashboard---Account---Reimbursement-History\",\n transform: \"translate(-625.000000, -942.000000)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Content\",\n transform: \"translate(190.000000, 149.000000)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: 2,\n transform: \"translate(0.000000, 339.000000)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group\",\n transform: \"translate(30.000000, 211.000000)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Item\",\n transform: \"translate(403.000000, 61.000000)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Icons/Action/ic_action_Check-Copy-3\",\n transform: \"translate(0.000000, 180.000000)\"\n }, /*#__PURE__*/React.createElement(\"use\", {\n id: \"ic_action_Check\",\n fill: \"#C3D941\",\n fillRule: \"nonzero\",\n xlinkHref: \"#path-1\"\n }))))))))));\n}\nexport default __webpack_public_path__ + \"static/media/ic-icon-yes.2dbdc049.svg\";\nexport { SvgIcIconYes as ReactComponent };","var _defs, _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgIcIconNo(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"20px\",\n height: \"20px\",\n viewBox: \"0 0 20 20\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\"\n }, props), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10.5652979,11.9997466 L8.45757043,9.89164061 C8.06081016,9.49589508 8.06081016,8.85356964 8.45757043,8.45680938 C8.85331596,8.06106385 9.49564139,8.06106385 9.89240166,8.45680938 L12.0000003,10.5647865 L14.1075989,8.45680938 C14.5043592,8.06106385 15.1466846,8.06106385 15.5424301,8.45680938 C15.9391904,8.85356964 15.9391904,9.49589508 15.5424301,9.89164061 L13.4347027,11.9997466 L15.5424301,14.1078526 C15.9391904,14.5035981 15.9391904,15.1459236 15.5424301,15.5426838 C15.3445574,15.7405566 15.084786,15.8400003 14.8250145,15.8400003 C14.5652431,15.8400003 14.3054717,15.7405566 14.1075989,15.5426838 L12.0000003,13.4347067 L9.89240166,15.5426838 C9.69452889,15.7405566 9.43475747,15.8400003 9.17498604,15.8400003 C8.91521462,15.8400003 8.65544319,15.7405566 8.45757043,15.5426838 C8.06081016,15.1459236 8.06081016,14.5035981 8.45757043,14.1078526 L10.5652979,11.9997466 Z M11.8200018,4.00000005 C9.73120185,4.00000005 7.76720187,4.81360007 6.29040188,6.28960011 C4.8136019,7.76720015 4.00000191,9.7312002 4.00000191,11.8208003 C4.00000191,13.9112003 4.8120019,15.8752004 6.28880188,17.3520004 C7.76560187,18.8288004 9.72960185,19.6416005 11.8184018,19.6416005 C13.9088018,19.6416005 15.8728018,18.8280004 17.3512018,17.3504004 C20.4000017,14.3016003 20.4000017,9.33920019 17.3512018,6.28960011 C15.8728018,4.81360007 13.9088018,4.00000005 11.8200018,4.00000005 Z M11.8184017,21.2415997 C9.30320175,21.2415997 6.93760182,20.2623997 5.15760187,18.4839997 C3.37760193,16.7039997 2.39840196,14.3383998 2.40000196,11.8207998 C2.40000196,9.30399987 3.37920193,6.93759992 5.15920187,5.15839995 C6.93840182,3.37999998 9.30400175,2.4 11.8200017,2.4 C14.3376016,2.4 16.7032015,3.37999998 18.4824015,5.15839995 C22.1544014,8.83199988 22.1560014,14.8087998 18.4824015,18.4823997 C16.7032015,20.2615997 14.3360016,21.2415997 11.8184017,21.2415997 Z\",\n id: \"path-2\"\n }))), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n id: \"Fitness-Style\",\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Fitness-Style---Dashboard---Account---Reimbursement-History\",\n transform: \"translate(-625.000000, -882.000000)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Content\",\n transform: \"translate(190.000000, 149.000000)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: 2,\n transform: \"translate(0.000000, 339.000000)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Group\",\n transform: \"translate(30.000000, 211.000000)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Item\",\n transform: \"translate(403.000000, 61.000000)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Icons/Action/ic_action_Check-Copy-2\",\n transform: \"translate(0.000000, 120.000000)\"\n }, /*#__PURE__*/React.createElement(\"use\", {\n id: \"ic_action_Error\",\n fill: \"#FF5A69\",\n fillRule: \"nonzero\",\n xlinkHref: \"#path-2\"\n }))))))))));\n}\nexport default __webpack_public_path__ + \"static/media/ic-icon-no.8b1c70a9.svg\";\nexport { SvgIcIconNo as ReactComponent };","var _title, _desc, _defs, _mask;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgIcActionArrowUp(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\",\n width: \"10px\",\n height: \"7px\",\n viewBox: \"0 0 10 7\",\n id: \"svg2\"\n }, props), _title || (_title = /*#__PURE__*/React.createElement(\"title\", {\n id: \"title4\"\n }, \"4D36904D-75A6-46DF-8A5D-43A5A9A4FA00\")), _desc || (_desc = /*#__PURE__*/React.createElement(\"desc\", {\n id: \"desc6\"\n }, \"Created with sketchtool.\")), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", {\n id: \"defs8\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7.99897282,10.4225636 C7.78531992,10.4225636 7.57166702,10.3354589 7.42375348,10.1817932 L3.44652258,6.20291887 C3.11782581,5.88161778 3.11782581,5.36145516 3.44652258,5.04097581 C3.76700193,4.71967473 4.28469934,4.71967473 4.60517869,5.04097581 L7.99897282,8.43805685 L11.4009844,5.04097581 C11.7214637,4.71967473 12.2391611,4.71967473 12.5596405,5.04097581 C12.8801198,5.36145516 12.8801198,5.88161778 12.5596405,6.20291887 L8.58240959,10.1817932 C8.42627862,10.3354589 8.22084314,10.4225636 7.99897282,10.4225636\",\n id: \"path-1\"\n }))), /*#__PURE__*/React.createElement(\"g\", {\n id: \"Fitness-Style\",\n transform: \"matrix(1,0,0,-1,0,7.2225636)\",\n style: {\n fill: \"none\",\n fillRule: \"evenodd\",\n stroke: \"none\",\n strokeWidth: 1\n }\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Fitness-Style---Dashboard---Account---Reimbursement-History\",\n transform: \"translate(-389,-615)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Content\",\n transform: \"translate(190,149)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: 2,\n transform: \"translate(0,339)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Filter\",\n transform: \"translate(29,89)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: 1\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Icons/Action/ic_action_Arrow-Input\",\n transform: \"translate(167,34)\"\n }, _mask || (_mask = /*#__PURE__*/React.createElement(\"mask\", {\n id: \"mask-2\",\n fill: \"white\"\n }, /*#__PURE__*/React.createElement(\"use\", {\n xlinkHref: \"#path-1\",\n id: \"use19\",\n x: 0,\n y: 0,\n width: \"100%\",\n height: \"100%\"\n }))), /*#__PURE__*/React.createElement(\"use\", {\n id: \"ic_action_Arrow-Input\",\n xlinkHref: \"#path-1\",\n style: {\n fill: \"#9b9b9b\",\n fillRule: \"nonzero\"\n },\n x: 0,\n y: 0,\n width: \"100%\",\n height: \"100%\"\n })))))))));\n}\nexport default __webpack_public_path__ + \"static/media/ic-action-arrow-up.9e956a70.svg\";\nexport { SvgIcActionArrowUp as ReactComponent };","var _title, _desc, _defs, _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgIcActionArrowDown(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"10px\",\n height: \"7px\",\n viewBox: \"0 0 10 7\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\"\n }, props), _title || (_title = /*#__PURE__*/React.createElement(\"title\", null, \"4D36904D-75A6-46DF-8A5D-43A5A9A4FA00\")), _desc || (_desc = /*#__PURE__*/React.createElement(\"desc\", null, \"Created with sketchtool.\")), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7.99897282,10.4225636 C7.78531992,10.4225636 7.57166702,10.3354589 7.42375348,10.1817932 L3.44652258,6.20291887 C3.11782581,5.88161778 3.11782581,5.36145516 3.44652258,5.04097581 C3.76700193,4.71967473 4.28469934,4.71967473 4.60517869,5.04097581 L7.99897282,8.43805685 L11.4009844,5.04097581 C11.7214637,4.71967473 12.2391611,4.71967473 12.5596405,5.04097581 C12.8801198,5.36145516 12.8801198,5.88161778 12.5596405,6.20291887 L8.58240959,10.1817932 C8.42627862,10.3354589 8.22084314,10.4225636 7.99897282,10.4225636\",\n id: \"path-1\"\n }))), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n id: \"Fitness-Style\",\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Fitness-Style---Dashboard---Account---Reimbursement-History\",\n transform: \"translate(-389.000000, -615.000000)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Content\",\n transform: \"translate(190.000000, 149.000000)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: 2,\n transform: \"translate(0.000000, 339.000000)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Filter\",\n transform: \"translate(29.000000, 89.000000)\"\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: 1\n }, /*#__PURE__*/React.createElement(\"g\", {\n id: \"Icons/Action/ic_action_Arrow-Input\",\n transform: \"translate(167.000000, 34.000000)\"\n }, /*#__PURE__*/React.createElement(\"mask\", {\n id: \"mask-2\",\n fill: \"white\"\n }, /*#__PURE__*/React.createElement(\"use\", {\n xlinkHref: \"#path-1\"\n })), /*#__PURE__*/React.createElement(\"use\", {\n id: \"ic_action_Arrow-Input\",\n fill: \"#9B9B9B\",\n fillRule: \"nonzero\",\n xlinkHref: \"#path-1\"\n }))))))))));\n}\nexport default __webpack_public_path__ + \"static/media/ic-action-arrow-down.529968fb.svg\";\nexport { SvgIcActionArrowDown as ReactComponent };","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgPin72Px1X(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"72px\",\n height: \"72px\",\n viewBox: \"0 0 72 72\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n id: \"icon/map/pin/blue_72px\",\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\"\n }, /*#__PURE__*/React.createElement(\"rect\", {\n id: \"Rectangle\",\n x: 0,\n y: 0,\n width: 72,\n height: 72\n }), /*#__PURE__*/React.createElement(\"circle\", {\n id: \"Oval\",\n fill: \"#FFFFFF\",\n cx: 36,\n cy: 31,\n r: 10\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M35.286918,11.012689 C25.3261356,11.3602364 17.0511822,19.0880546 16.0951938,28.9522671 C15.8998843,30.9251096 16.0129582,32.8366202 16.3624594,34.666355 L16.3624594,34.666355 C16.3624594,34.666355 16.3932977,34.8810166 16.4960922,35.2898959 C16.8044755,36.6596414 17.2670506,37.9884991 17.8426995,39.2355809 C19.8471913,43.9581365 24.4832211,51.8597284 34.8860196,60.4564152 C35.5233452,60.9879582 36.4587747,60.9879582 37.1063798,60.4564152 C47.5091783,51.8699504 52.1452081,43.9683585 54.1599793,39.2253589 C54.7459077,37.9782771 55.1982033,36.6596414 55.5065866,35.2796739 C55.5991016,34.8810166 55.6402194,34.656133 55.6402194,34.656133 L55.6402194,34.656133 C55.8766467,33.4294952 56,32.1721914 56,30.8842217 C56,19.6604856 46.6559843,10.6140317 35.286918,11.012689 Z M35.9961997,40.7791001 C30.6303293,40.7791001 26.282124,36.4552018 26.282124,31.1193273 C26.282124,25.7834528 30.6303293,21.4595544 35.9961997,21.4595544 C41.3620701,21.4595544 45.7102754,25.7834528 45.7102754,31.1193273 C45.7102754,36.4552018 41.3620701,40.7791001 35.9961997,40.7791001 Z\",\n id: \"Shape\",\n fill: \"#000000\",\n fillRule: \"nonzero\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M35.286918,11.012689 C46.6559843,10.6140317 56,19.6604856 56,30.8842217 C56,31.9881957 55.9093731,33.0696397 55.7345925,34.1285536 L55.6153261,34.782894 L55.5065866,35.2796739 C55.1982033,36.6596414 54.7459077,37.9782771 54.1599793,39.2253589 L53.9600705,39.6865438 L53.6291669,40.413094 L53.2592035,41.1799472 L52.9898549,41.7127818 C52.9434077,41.8029945 52.8961744,41.8939041 52.8481422,41.9855007 L52.5502629,42.5432451 L52.2326083,43.1170024 L51.8945747,43.7062978 L51.5355581,44.3106564 L51.1549548,44.9296033 C50.9591559,45.2426448 50.7550355,45.5609788 50.542254,45.8843382 L50.1050421,46.5376786 C49.8805615,46.8676199 49.6471934,47.2024086 49.404598,47.5417775 L48.9070037,48.2265433 L48.3841998,48.9230483 C48.0271265,49.3911925 47.6528441,49.8668462 47.2605476,50.3493763 L46.6584918,51.0782496 C46.5558638,51.2005616 46.4520848,51.3232837 46.3471422,51.4464058 L45.7034224,52.1898606 C43.4008267,54.8082023 40.5739793,57.5942603 37.1063798,60.4564152 C36.4587747,60.9879582 35.5233452,60.9879582 34.8860196,60.4564152 C30.9230487,57.1814869 27.7969785,54.007434 25.3344759,51.0715828 L24.7325743,50.3426621 C24.5364816,50.1013956 24.3448968,49.8618628 24.1577194,49.6241432 L23.6093095,48.916503 C23.3416155,48.565482 23.0836126,48.2187194 22.8349624,47.8764834 L22.3500317,47.1981261 C22.192478,46.9740718 22.0389807,46.7521088 21.8894396,46.5323165 L21.452584,45.8795313 C21.3108547,45.66416 21.1729812,45.4510388 21.0388632,45.2402474 L20.6476753,44.6149416 L20.2784185,44.0040907 C20.1589212,43.8029359 20.0429788,43.6042697 19.9304909,43.4081716 L19.6032907,42.827661 L19.2962159,42.2630359 L19.0086648,41.7147729 L18.7400356,41.1833491 L18.4897262,40.6692411 L18.257135,40.1729259 L18.0416601,39.6948802 L17.8426995,39.2355809 C17.3390067,38.1443843 16.9218861,36.9905781 16.6188834,35.801554 L16.4377715,35.046307 L16.3624594,34.666355 L16.2730568,34.1653243 C15.994948,32.488566 15.9176398,30.7457603 16.0951938,28.9522671 C17.0511822,19.0880546 25.3261356,11.3602364 35.286918,11.012689 Z M55,30.8842217 C55,20.1990408 46.0978005,11.6342191 35.3219615,12.0120748 C25.8582241,12.3422795 17.9977392,19.6878414 17.0903291,29.0507845 C16.9446456,30.5223504 16.9763498,31.9913542 17.1751462,33.4452031 L17.2575072,33.9896615 L17.3643512,34.5928063 L17.4149951,34.8338677 L17.4716728,35.0702545 C17.75786,36.3414111 18.1908419,37.6037391 18.7632123,38.8448686 C21.5316502,45.3672708 26.8631091,52.5291562 35.5265157,59.6884537 C35.7938869,59.911447 36.1941514,59.911447 36.4698135,59.6851932 C45.131318,52.5359916 50.4591171,45.3799036 53.2548997,38.8001167 C53.7330778,37.7823691 54.1151387,36.7188175 54.3988333,35.6111292 L54.5666678,34.90402 L54.6210655,34.6537303 L54.6582925,34.4668724 C54.8852958,33.2891282 55,32.0951072 55,30.8842217 Z\",\n id: \"Shape\",\n fillOpacity: 0.16,\n fill: \"#000000\",\n fillRule: \"nonzero\"\n }))));\n}\nexport default __webpack_public_path__ + \"static/media/pin_72px_1x.b7f7353b.svg\";\nexport { SvgPin72Px1X as ReactComponent };","var _g;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgPinSelected72Px1X(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: \"72px\",\n height: \"72px\",\n viewBox: \"0 0 72 72\",\n xmlns: \"http://www.w3.org/2000/svg\",\n xmlnsXlink: \"http://www.w3.org/1999/xlink\"\n }, props), _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n id: \"icon/map/pin/blue_selected_72px\",\n stroke: \"none\",\n strokeWidth: 1,\n fill: \"none\",\n fillRule: \"evenodd\"\n }, /*#__PURE__*/React.createElement(\"rect\", {\n id: \"Rectangle\",\n x: 0,\n y: 0,\n width: 72,\n height: 72\n }), /*#__PURE__*/React.createElement(\"circle\", {\n id: \"Oval\",\n fill: \"#287F80\",\n cx: 36,\n stroke: \"#FFFFFF\",\n strokeWidth: 6,\n cy: 31,\n r: 10\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M35.286918,11.012689 C25.3261356,11.3602364 17.0511822,19.0880546 16.0951938,28.9522671 C15.8998843,30.9251096 16.0129582,32.8366202 16.3624594,34.666355 L16.3624594,34.666355 C16.3624594,34.666355 16.3932977,34.8810166 16.4960922,35.2898959 C16.8044755,36.6596414 17.2670506,37.9884991 17.8426995,39.2355809 C19.8471913,43.9581365 24.4832211,51.8597284 34.8860196,60.4564152 C35.5233452,60.9879582 36.4587747,60.9879582 37.1063798,60.4564152 C47.5091783,51.8699504 52.1452081,43.9683585 54.1599793,39.2253589 C54.7459077,37.9782771 55.1982033,36.6596414 55.5065866,35.2796739 C55.5991016,34.8810166 55.6402194,34.656133 55.6402194,34.656133 L55.6402194,34.656133 C55.8766467,33.4294952 56,32.1721914 56,30.8842217 C56,19.6604856 46.6559843,10.6140317 35.286918,11.012689 Z M35.9961997,40.7791001 C30.6303293,40.7791001 26.282124,36.4552018 26.282124,31.1193273 C26.282124,25.7834528 30.6303293,21.4595544 35.9961997,21.4595544 C41.3620701,21.4595544 45.7102754,25.7834528 45.7102754,31.1193273 C45.7102754,36.4552018 41.3620701,40.7791001 35.9961997,40.7791001 Z\",\n id: \"Shape\",\n fill: \"#000000\",\n fillRule: \"nonzero\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M35.286918,11.012689 C46.6559843,10.6140317 56,19.6604856 56,30.8842217 C56,31.9881957 55.9093731,33.0696397 55.7345925,34.1285536 L55.6153261,34.782894 L55.5065866,35.2796739 C55.1982033,36.6596414 54.7459077,37.9782771 54.1599793,39.2253589 L53.9600705,39.6865438 L53.6291669,40.413094 L53.2592035,41.1799472 L52.9898549,41.7127818 C52.9434077,41.8029945 52.8961744,41.8939041 52.8481422,41.9855007 L52.5502629,42.5432451 L52.2326083,43.1170024 L51.8945747,43.7062978 L51.5355581,44.3106564 L51.1549548,44.9296033 C50.9591559,45.2426448 50.7550355,45.5609788 50.542254,45.8843382 L50.1050421,46.5376786 C49.8805615,46.8676199 49.6471934,47.2024086 49.404598,47.5417775 L48.9070037,48.2265433 L48.3841998,48.9230483 C48.0271265,49.3911925 47.6528441,49.8668462 47.2605476,50.3493763 L46.6584918,51.0782496 C46.5558638,51.2005616 46.4520848,51.3232837 46.3471422,51.4464058 L45.7034224,52.1898606 C43.4008267,54.8082023 40.5739793,57.5942603 37.1063798,60.4564152 C36.4587747,60.9879582 35.5233452,60.9879582 34.8860196,60.4564152 C30.9230487,57.1814869 27.7969785,54.007434 25.3344759,51.0715828 L24.7325743,50.3426621 C24.5364816,50.1013956 24.3448968,49.8618628 24.1577194,49.6241432 L23.6093095,48.916503 C23.3416155,48.565482 23.0836126,48.2187194 22.8349624,47.8764834 L22.3500317,47.1981261 C22.192478,46.9740718 22.0389807,46.7521088 21.8894396,46.5323165 L21.452584,45.8795313 C21.3108547,45.66416 21.1729812,45.4510388 21.0388632,45.2402474 L20.6476753,44.6149416 L20.2784185,44.0040907 C20.1589212,43.8029359 20.0429788,43.6042697 19.9304909,43.4081716 L19.6032907,42.827661 L19.2962159,42.2630359 L19.0086648,41.7147729 L18.7400356,41.1833491 L18.4897262,40.6692411 L18.257135,40.1729259 L18.0416601,39.6948802 L17.8426995,39.2355809 C17.3390067,38.1443843 16.9218861,36.9905781 16.6188834,35.801554 L16.4377715,35.046307 L16.3624594,34.666355 L16.2730568,34.1653243 C15.994948,32.488566 15.9176398,30.7457603 16.0951938,28.9522671 C17.0511822,19.0880546 25.3261356,11.3602364 35.286918,11.012689 Z M55,30.8842217 C55,20.1990408 46.0978005,11.6342191 35.3219615,12.0120748 C25.8582241,12.3422795 17.9977392,19.6878414 17.0903291,29.0507845 C16.9446456,30.5223504 16.9763498,31.9913542 17.1751462,33.4452031 L17.2575072,33.9896615 L17.3643512,34.5928063 L17.4149951,34.8338677 L17.4716728,35.0702545 C17.75786,36.3414111 18.1908419,37.6037391 18.7632123,38.8448686 C21.5316502,45.3672708 26.8631091,52.5291562 35.5265157,59.6884537 C35.7938869,59.911447 36.1941514,59.911447 36.4698135,59.6851932 C45.131318,52.5359916 50.4591171,45.3799036 53.2548997,38.8001167 C53.7330778,37.7823691 54.1151387,36.7188175 54.3988333,35.6111292 L54.5666678,34.90402 L54.6210655,34.6537303 L54.6582925,34.4668724 C54.8852958,33.2891282 55,32.0951072 55,30.8842217 Z\",\n id: \"Shape\",\n fillOpacity: 0.16,\n fill: \"#000000\",\n fillRule: \"nonzero\"\n }))));\n}\nexport default __webpack_public_path__ + \"static/media/pin_selected_72px_1x.a3931166.svg\";\nexport { SvgPinSelected72Px1X as ReactComponent };","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgWarning(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 16,\n height: 14,\n viewBox: \"0 0 16 14\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0.666992 13.3337H15.3337L8.00033 0.666992L0.666992 13.3337ZM8.66699 11.3337H7.33366V10.0003H8.66699V11.3337ZM8.66699 8.66699H7.33366V6.00033H8.66699V8.66699Z\",\n fill: \"#205274\"\n })));\n}\nexport default __webpack_public_path__ + \"static/media/warning.0faa9e09.svg\";\nexport { SvgWarning as ReactComponent };","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgWarningRed(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 16,\n height: 14,\n viewBox: \"0 0 16 14\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0.666992 13.3337H15.3337L8.00033 0.666992L0.666992 13.3337ZM8.66699 11.3337H7.33366V10.0003H8.66699V11.3337ZM8.66699 8.66699H7.33366V6.00033H8.66699V8.66699Z\",\n fill: \"#E81B46\"\n })));\n}\nexport default __webpack_public_path__ + \"static/media/warning-red.c39c96e2.svg\";\nexport { SvgWarningRed as ReactComponent };","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgWarningYellow(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 16,\n height: 14,\n viewBox: \"0 0 16 14\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0.666992 13.3337H15.3337L8.00033 0.666992L0.666992 13.3337ZM8.66699 11.3337H7.33366V10.0003H8.66699V11.3337ZM8.66699 8.66699H7.33366V6.00033H8.66699V8.66699Z\",\n fill: \"#FFCC16\"\n })));\n}\nexport default __webpack_public_path__ + \"static/media/warning-yellow.f8d6266a.svg\";\nexport { SvgWarningYellow as ReactComponent };","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgNewArrowUp(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 8,\n height: 4,\n viewBox: \"0 0 8 4\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0.666992 3.33301L4.00033 -0.00032568L7.33366 3.33301H0.666992Z\",\n fill: \"#205274\"\n })));\n}\nexport default __webpack_public_path__ + \"static/media/new-arrow-up.5b441766.svg\";\nexport { SvgNewArrowUp as ReactComponent };","var _path;\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nimport * as React from \"react\";\nfunction SvgNewArrowDown(props) {\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 8,\n height: 4,\n viewBox: \"0 0 8 4\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, props), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0.666992 0.333008L4.00033 3.66634L7.33366 0.333008H0.666992Z\",\n fill: \"#205274\"\n })));\n}\nexport default __webpack_public_path__ + \"static/media/new-arrow-down.4b503b7b.svg\";\nexport { SvgNewArrowDown as ReactComponent };","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport guid from '../utilities/guid';\r\nimport { roleType } from '../enums/roles';\r\nimport { Dashboard, Member, Account } from '../components/Icon/Icons';\r\n\r\nexport default Object.freeze({\r\n root: {\r\n id: guid(),\r\n name: 'root',\r\n displayName: 'Root',\r\n path: '/'\r\n },\r\n healthCheck: {\r\n id: guid(),\r\n name: 'healthcheck',\r\n displayName: '',\r\n path: '/healthcheck'\r\n },\r\n privacynotice: {\r\n id: guid(),\r\n name: 'privacynotice',\r\n displayName: '',\r\n path: '/privacy'\r\n },\r\n privacyarchivearea: {\r\n id: guid(),\r\n name: 'privacyarchives',\r\n displayName: '',\r\n path: '/privacyarchives'\r\n },\r\n privacyarchives: {\r\n id: guid(),\r\n name: 'privacyarchives',\r\n displayName: '',\r\n path: '/privacyarchives/index'\r\n },\r\n privacypolicy20230110: {\r\n id: guid(),\r\n name: 'privacypolicy20230110',\r\n displayName: '',\r\n path: '/privacyarchives/privacypolicy20230110'\r\n },\r\n californiaprivacypolicy20230110: {\r\n id: guid(),\r\n name: 'californiaprivacypolicy20230110',\r\n displayName: '',\r\n path: '/privacyarchives/californiaprivacypolicy20230110'\r\n },\r\n privacynotice20230824: {\r\n id: guid(),\r\n name: 'privacynotice20230824',\r\n displayName: '',\r\n path: '/privacyarchives/privacynotice20230824'\r\n },\r\n consumerhealthprivacynotice: {\r\n id: guid(),\r\n name: 'consumerhealthprivacynotice',\r\n displayName: '',\r\n path: '/privacy#additional-information-for-washington-residents'\r\n },\r\n dataprivacyrequest: {\r\n id: guid(),\r\n name: 'dataPrivacyRequest',\r\n displayName: '',\r\n path: '/dataprivacyrequest'\r\n },\r\n authorizedagentform: {\r\n id: guid(),\r\n name: 'authorizedagentdesignationform',\r\n displayName: '',\r\n path: '/resources/authorizedagentdesignationform'\r\n },\r\n termsofuse: {\r\n id: guid(),\r\n name: 'termsofuse',\r\n displayName: '',\r\n path: '/termsofuse'\r\n },\r\n // guest\r\n guestArea: {\r\n id: guid(),\r\n name: 'guestArea',\r\n displayName: '',\r\n path: '/guest'\r\n },\r\n home: {\r\n id: guid(),\r\n name: 'home',\r\n displayName: '',\r\n path: '/guest/home'\r\n },\r\n forFacilities: {\r\n id: guid(),\r\n name: 'forFacilities',\r\n displayName: '',\r\n path: '/guest/forfacilities'\r\n },\r\n forEmployers: {\r\n id: guid(),\r\n name: 'forEmployers',\r\n displayName: '',\r\n path: '/guest/foremployers'\r\n },\r\n forInsurers: {\r\n id: guid(),\r\n name: 'forInsurers',\r\n displayName: '',\r\n path: '/guest/forinsurers'\r\n },\r\n forMembers: {\r\n id: guid(),\r\n name: 'forMembers',\r\n displayName: '',\r\n path: '/guest/formembers'\r\n },\r\n aboutUs: {\r\n id: guid(),\r\n name: 'aboutUs',\r\n displayName: '',\r\n path: '/guest/aboutus'\r\n },\r\n accessibilityAndMaintenance: {\r\n id: guid(),\r\n name: 'accessibilityAndMaintenance',\r\n displayName: '',\r\n path: '/accessibilityAndMaintenance'\r\n },\r\n contactUs: {\r\n id: guid(),\r\n name: 'contactUs',\r\n displayName: '',\r\n path: '/guest/contactus'\r\n },\r\n nominateClub: {\r\n id: guid(),\r\n name: 'nominateClub',\r\n displayName: '',\r\n path: '/guest/nominateclub'\r\n },\r\n employeeWellness: {\r\n id: guid(),\r\n name: 'employeeWellness',\r\n displayName: '',\r\n path: '/guest/employeewellness'\r\n },\r\n // admin\r\n adminArea: {\r\n id: guid(),\r\n name: 'adminArea',\r\n displayName: '',\r\n path: '/admin'\r\n },\r\n partners: {\r\n id: guid(),\r\n name: 'partners',\r\n displayName: 'Partners',\r\n path: '/admin/partners'\r\n },\r\n partnersList: {\r\n id: guid(),\r\n name: 'partnersList',\r\n displayName: 'Partners list',\r\n path: '/admin/partners/list'\r\n },\r\n partnersAdd: {\r\n id: guid(),\r\n name: 'partnersAdd',\r\n displayName: 'Add new partner',\r\n path: '/admin/partners/add'\r\n },\r\n wellnessProgramPayments: {\r\n id: guid(),\r\n name: 'wellnessProgramPayments',\r\n displayName: 'Wellness Program Payments',\r\n path: '/admin/wellnessprogrampayments'\r\n },\r\n members: {\r\n id: guid(),\r\n name: 'members',\r\n displayName: 'Members',\r\n path: '/admin/members'\r\n },\r\n membersTransferResult: {\r\n id: guid(),\r\n name: 'membersTransferResults',\r\n path: '/admin/member/transfers',\r\n displayName: 'Members Transfer Results'\r\n },\r\n partnerPayments: {\r\n id: guid(),\r\n name: 'partnerPayments',\r\n displayName: 'Partner Payments',\r\n path: '/admin/wellnessprogrampayments/partnerpayments'\r\n },\r\n facilityPayments: {\r\n id: guid(),\r\n name: 'facilityPayments',\r\n displayName: 'Facility Payments',\r\n path: '/admin/wellnessprogrampayments/facilitypayments'\r\n },\r\n memberPayments: {\r\n id: guid(),\r\n name: 'memberPayments',\r\n displayName: 'Member Payments',\r\n path: '/admin/wellnessprogrampayments/memberpayments'\r\n },\r\n adminLegalContractPage: {\r\n id: guid(),\r\n path: '/admin/members/:memberIdGuid/legalcontract',\r\n name: 'adminLegalContractPage',\r\n displayName: 'Legal Contract',\r\n isHiddenOnUI: true\r\n },\r\n // partnerOwner\r\n partnerOwnerArea: {\r\n id: guid(),\r\n name: 'partnerOwnerArea',\r\n displayName: '',\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)'\r\n },\r\n partnerDashboard: {\r\n id: guid(),\r\n name: 'dashboard',\r\n displayName: 'Dashboard',\r\n icon: ,\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)/dashboard'\r\n },\r\n groupMemberships: {\r\n id: guid(),\r\n name: 'groupMemberships',\r\n displayName: 'Group Memberships',\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)/groupmemberships'\r\n },\r\n groupMembershipsGeneral: {\r\n id: guid(),\r\n name: 'groupMembershipsGeneral',\r\n displayName: 'General',\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)/groupmemberships/general'\r\n },\r\n groupMembershipsEmployeeManagement: {\r\n id: guid(),\r\n name: 'groupMembershipsEmployeeManagement',\r\n displayName: 'Employee Management',\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)/groupmemberships/employeemanagement'\r\n },\r\n groupMembershipsVisitLog: {\r\n id: guid(),\r\n name: 'groupMembershipsVisitLog',\r\n displayName: 'Visits',\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)/groupmemberships/visitlog'\r\n },\r\n partnerOwnerGroupMembershipsPayments: {\r\n id: guid(),\r\n name: 'partnerOwnerGroupMembershipsPayments',\r\n displayName: 'Group Memberships Payments',\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)/groupmemberships/payments'\r\n },\r\n partner: {\r\n id: guid(),\r\n name: 'partner',\r\n displayName: 'Partner Info',\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)/partnerInfo'\r\n },\r\n partnerGeneral: {\r\n id: guid(),\r\n name: 'partnerGeneral',\r\n displayName: 'General Info',\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)/partnerInfo/general'\r\n },\r\n partnerManagers: {\r\n id: guid(),\r\n name: 'partnerManagers',\r\n displayName: 'Partner Managers',\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)/partnerInfo/managers'\r\n },\r\n partnerManagersList: {\r\n id: guid(),\r\n name: 'partnerManagersList',\r\n displayName: 'Partner managers list',\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)/partnerInfo/managers/list'\r\n },\r\n partnerManagersAdd: {\r\n id: guid(),\r\n name: 'partnerManagersAdd',\r\n displayName: 'Add partner manager',\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)/partnerInfo/managers/add'\r\n },\r\n partnerBankingInfo: {\r\n id: guid(),\r\n name: 'partnerBankingInfo',\r\n displayName: 'Banking Info',\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)/partnerInfo/banking',\r\n },\r\n partnerBillingInfo: {\r\n id: guid(),\r\n name: 'partnerBillingInfo',\r\n displayName: 'Billing Info',\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)/partnerInfo/billing',\r\n },\r\n voucherPrograms: {\r\n id: guid(),\r\n name: 'voucherPrograms',\r\n displayName: 'Voucher Programs',\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)/voucherprograms'\r\n },\r\n voucherProgramsList: {\r\n id: guid(),\r\n name: 'voucherProgramsList',\r\n displayName: 'Voucher Programs List',\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)/voucherprograms/list'\r\n },\r\n voucherProgramsCreate: {\r\n id: guid(),\r\n name: 'voucherProgramsCreate',\r\n displayName: 'Voucher Program Create',\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)/voucherprograms/create'\r\n },\r\n voucherProgramsEdit: {\r\n id: guid(),\r\n name: 'voucherProgramsEdit',\r\n displayName: 'Voucher Program Edit',\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)/voucherprograms/edit/:voucherProgramId(\\\\d+)'\r\n },\r\n voucherProgramsView: {\r\n id: guid(),\r\n name: 'voucherProgramsView',\r\n displayName: 'Voucher Program View',\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)/voucherprograms/view/:voucherProgramId(\\\\d+)'\r\n },\r\n voucherProgramRecipientsList: {\r\n id: guid(),\r\n name: 'voucherProgramRecipientsList',\r\n displayName: 'Voucher Program Recipients List',\r\n path: '/partnerowner/partners/:partnerId(\\\\d+)/voucherprograms/recipients/:voucherProgramId(\\\\d+)'\r\n },\r\n // partnerManager\r\n partnerManagerArea: {\r\n id: guid(),\r\n name: 'partnerManager',\r\n displayName: '',\r\n path: '/partnermanager'\r\n },\r\n partnerManagerDashboard: {\r\n id: guid(),\r\n name: 'partnerManagerDashboard',\r\n displayName: 'Dashboard',\r\n icon: ,\r\n path: '/partnermanager/dashboard'\r\n },\r\n partnerManagerProfile: {\r\n id: guid(),\r\n name: 'partnerManagerProfile',\r\n displayName: 'User Profile',\r\n icon: ,\r\n path: '/partnermanager/profile'\r\n },\r\n partnerManagerProfileGeneral: {\r\n id: guid(),\r\n name: 'partnerManagerProfileGeneral',\r\n displayName: 'General Info',\r\n path: '/partnermanager/profile/general'\r\n },\r\n partnerManagerProfileChangePassword: {\r\n id: guid(),\r\n name: 'partnerManagerProfileChangePassword',\r\n displayName: 'Change Password',\r\n path: '/partnermanager/profile/changepassword'\r\n },\r\n partnerManagerGroupMemberships: {\r\n id: guid(),\r\n name: 'groupMemberships',\r\n displayName: 'Group Memberships',\r\n path: '/partnermanager/groupmemberships/'\r\n },\r\n partnerManagerGroupMembershipsEmployeeManagement: {\r\n id: guid(),\r\n name: 'groupMembershipsEmployeeManagement',\r\n displayName: 'Employee Management',\r\n path: '/partnermanager/groupmemberships/employeemanagement'\r\n },\r\n partnerManagerGroupMembershipsVisitLog: {\r\n id: guid(),\r\n name: 'groupMembershipsVisitLog',\r\n displayName: 'Visits',\r\n path: '/partnermanager/groupmemberships/visitlog'\r\n },\r\n partnerManagerGroupMembershipsPayments: {\r\n id: guid(),\r\n name: 'partnerManagerGroupMembershipsPayments',\r\n displayName: 'Group Memberships Payments',\r\n path: '/partnermanager/groupmemberships/payments'\r\n },\r\n // member\r\n memberArea: {\r\n id: guid(),\r\n name: 'memberArea',\r\n displayName: '',\r\n path: '/member'\r\n },\r\n memberDashboard: {\r\n id: guid(),\r\n name: 'memberDashboard',\r\n displayName: 'Dashboard',\r\n icon: ,\r\n path: '/member/dashboard'\r\n },\r\n memberDashboardHome: {\r\n id: guid(),\r\n name: 'memberDashboardHome',\r\n path: '/member/dashboard/home'\r\n },\r\n facilityLocator: {\r\n id: guid(),\r\n name: 'facilityLocator',\r\n path: '/member/dashboard/facilitylocator'\r\n },\r\n profile: {\r\n id: guid(),\r\n name: 'profile',\r\n displayName: 'My Member Profile',\r\n path: '/member/profile',\r\n icon: \r\n },\r\n general: {\r\n id: guid(),\r\n path: '/member/profile/general',\r\n name: 'general',\r\n displayName: 'General Info'\r\n },\r\n facilityInformation: {\r\n id: guid(),\r\n path: '/member/profile/facilityinformation',\r\n name: 'facilityinformation',\r\n displayName: 'Facility Info'\r\n },\r\n facilities: {\r\n id: guid(),\r\n path: '/member/profile/facilityinformation/facilities',\r\n name: 'facilities',\r\n displayName: 'Facilities'\r\n },\r\n facilityEnrollmentPage: {\r\n id: guid(),\r\n path: '/member/profile/facilityinformation/:facilityId(\\\\d+)/facilityenrollment',\r\n name: 'facilityenrollment',\r\n displayName: 'Facility Enrollment'\r\n },\r\n memberLegalContractPage: {\r\n id: guid(),\r\n path: '/member/profile/facilityinformation/legalcontract',\r\n name: 'memberLegalContractPage',\r\n displayName: 'Legal Contract'\r\n },\r\n usageLog: {\r\n id: guid(),\r\n path: '/member/profile/usagelog',\r\n name: 'usageLog',\r\n displayName: 'Visits'\r\n },\r\n changePassword: {\r\n id: guid(),\r\n path: '/member/profile/changepassword',\r\n name: 'changePassword',\r\n displayName: 'Change Password'\r\n },\r\n account: {\r\n id: guid(),\r\n name: 'account',\r\n displayName: 'Memberships',\r\n path: '/member/account',\r\n icon: \r\n },\r\n insurance: {\r\n id: guid(),\r\n path: '/member/account/insurance',\r\n name: 'insurance',\r\n displayName: 'General'\r\n },\r\n billing: {\r\n id: guid(),\r\n path: '/member/account/billing',\r\n name: 'billing',\r\n displayName: 'Billing'\r\n },\r\n reimbursement: {\r\n id: guid(),\r\n path: '/member/account/reimbursement',\r\n name: 'reimbursement',\r\n displayName: 'Reimbursements'\r\n },\r\n // facilityManager\r\n facilityManagerArea: {\r\n id: guid(),\r\n name: 'facilityManagerArea',\r\n displayName: '',\r\n path: '/facilitymanager'\r\n },\r\n facilityManagerLegalContractPage: {\r\n id: guid(),\r\n path: '/facilitymanager/members/:memberIdGuid/legalcontract',\r\n name: 'facilityManagerLegalContractPage',\r\n displayName: 'Legal Contract',\r\n isHiddenOnUI: true\r\n },\r\n facilityManagerDashboard: {\r\n id: guid(),\r\n path: '/facilitymanager/dashboard',\r\n name: 'facilityManagerDashboard',\r\n isHiddenOnUI: true\r\n },\r\n // general uploads\r\n uploadResults: {\r\n id: guid(),\r\n name: 'uploadResults',\r\n displayName: '',\r\n path: '/uploadresults'\r\n },\r\n storage: {\r\n path: '/storage/:filePartitionKey/:fileRowKey',\r\n name: 'storage',\r\n isHiddenOnUI: true\r\n },\r\n});\r\n\r\nconst routeTypeShape = {\r\n id: PropTypes.string.isRequired,\r\n name: PropTypes.string.isRequired,\r\n displayName: PropTypes.string,\r\n path: PropTypes.string.isRequired,\r\n icon: PropTypes.element,\r\n component: PropTypes.elementType,\r\n authorize: PropTypes.arrayOf(roleType)\r\n};\r\n\r\nrouteTypeShape.routes = PropTypes.arrayOf(PropTypes.shape(routeTypeShape));\r\n\r\nexport const routeType = PropTypes.shape(routeTypeShape);\r\n","import React from 'react';\r\nimport { Route } from 'react-router-dom';\r\n\r\nconst CustomRoute = ({ currentRoute, filteredRoutes, ...rest }) => {\r\n return (\r\n {\r\n return currentRoute.layout ?\r\n (\r\n React.createElement(\r\n currentRoute.layout,\r\n {\r\n topbarContent: currentRoute.topbarContent,\r\n hideSidebar: currentRoute.hideSidebar,\r\n filteredRoutes,\r\n ...props,\r\n },\r\n React.createElement(currentRoute.component, {\r\n currentRoute,\r\n ...props,\r\n })\r\n ))\r\n : (\r\n React.createElement(currentRoute.component, {\r\n currentRoute,\r\n ...props,\r\n })\r\n );\r\n }}\r\n />\r\n );\r\n};\r\n\r\nexport default CustomRoute;\r\n","import React from 'react';\r\nimport { Switch, Redirect } from 'react-router-dom';\r\nimport { routeType } from '../../routing/routes';\r\nimport CustomRoute from '../../layouts/CustomRoute';\r\n\r\nconst PartnersPage = ({ currentRoute }) => {\r\n const { routes } = currentRoute;\r\n\r\n return (\r\n \r\n {routes.map((route, i) => (\r\n \r\n ))}\r\n\r\n \r\n \r\n );\r\n};\r\n\r\nPartnersPage.propTypes = {\r\n currentRoute: routeType.isRequired,\r\n};\r\n\r\nexport default PartnersPage;\r\n","/* eslint-disable react/no-multi-comp*/\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport Select from 'react-select';\r\nimport './_c-select.scss';\r\nimport Immutable from 'immutable';\r\n\r\nexport function InputSelect(props) {\r\n const {\r\n meta = {},\r\n label,\r\n inline,\r\n size = 'medium',\r\n mode,\r\n value,\r\n defaultValue,\r\n hideValidationMessage,\r\n onChange,\r\n onBlur = () => undefined,\r\n isSearchable = false,\r\n ...restProps\r\n } = props;\r\n const { error, touched, initial } = meta;\r\n const showError = error && touched;\r\n /* https://github.com/JedWatson/react-select/issues/1129#issuecomment-248240544 */\r\n const handleBlur = () =>\r\n onBlur(\r\n value\r\n );\r\n const setValue = (value) => {\r\n /* issue with selected value for react-select https://github.com/JedWatson/react-select/issues/3648 */\r\n if (Immutable.Iterable.isIterable(props.options) && value) {\r\n const objectKey = value.keySeq().first();\r\n const foundValue = props.options.filter(option => option.get(objectKey) === value.get(objectKey)).first();\r\n return foundValue\r\n ? foundValue\r\n : '';\r\n }\r\n return value;\r\n };\r\n return (\r\n \r\n {label && }\r\n \r\n {!hideValidationMessage && showError && (\r\n
{error}
\r\n )}\r\n \r\n );\r\n}\r\n\r\nInputSelect.propTypes = {\r\n label: PropTypes.string,\r\n inline: PropTypes.bool,\r\n size: PropTypes.string,\r\n mode: PropTypes.string,\r\n onChange: PropTypes.func,\r\n hideValidationMessage: PropTypes.bool\r\n};\r\n\r\nconst ReduxSelectInput = ({ input, meta, ...custom }) => {\r\n return (\r\n );\r\n};\r\n\r\nexport default ReduxSelectInput;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport './_icon.scss';\r\n\r\nfunction Icon({ icon, className, onClick, disabled }) {\r\n const handleClick = (event) => {\r\n onClick && !disabled && onClick(event);\r\n };\r\n return \r\n {icon}\r\n ;\r\n}\r\n\r\nIcon.propTypes = {\r\n style: PropTypes.object,\r\n icon: PropTypes.element.isRequired,\r\n title: PropTypes.string,\r\n className: PropTypes.string,\r\n onClick: PropTypes.func,\r\n disabled: PropTypes.bool\r\n};\r\n\r\nexport default Icon;\r\n","/* eslint-disable react/no-multi-comp*/\r\nimport React, { Component } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport Icon from '../Icon/Icon';\r\nimport { EyeVisible, EyeInvisible } from '../Icon/Icons';\r\n\r\nexport class InputText extends Component {\r\n constructor(props) {\r\n super(props);\r\n\r\n this.handleChangeSecureMode = this.handleChangeSecureMode.bind(this);\r\n\r\n this.state = {\r\n secureMode: this.props.secureTextEntry\r\n };\r\n }\r\n\r\n handleChangeSecureMode() {\r\n this.setState(({ secureMode }) => ({ secureMode: !secureMode }));\r\n }\r\n\r\n render() {\r\n const { secureMode } = this.state;\r\n const { label, size, id, value,\r\n onChange, error, touched,\r\n disabled, name, onBlur,\r\n noMargin, transparentBorder, defaultValue, onClick, highlightInputValidationError, readOnly, hidden } = this.props;\r\n const isNotEmpty = value && value.length;\r\n const showError = error && touched;\r\n const showSecureModeSwitcher = this.props.secureTextEntry && isNotEmpty;\r\n\r\n return (\r\n \r\n {label && }\r\n
\r\n
\r\n {\r\n showError &&\r\n
\r\n {error}\r\n
\r\n }\r\n \r\n );\r\n }\r\n}\r\n\r\nInputText.defaultProps = {\r\n onChange: () => {\r\n },\r\n onBlur: () => {\r\n },\r\n onClick: () => {\r\n },\r\n size: 'medium',\r\n secureTextEntry: false,\r\n highlightInputValidationError: false\r\n};\r\n\r\nInputText.propTypes = {\r\n label: PropTypes.string,\r\n name: PropTypes.string,\r\n secureTextEntry: PropTypes.bool,\r\n onChange: PropTypes.func,\r\n onBlur: PropTypes.func,\r\n onClick: PropTypes.func,\r\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n defaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n size: PropTypes.string,\r\n id: PropTypes.string,\r\n error: PropTypes.string,\r\n touched: PropTypes.bool,\r\n disabled: PropTypes.bool,\r\n noMargin: PropTypes.bool,\r\n transparentBorder: PropTypes.bool,\r\n highlightInputValidationError: PropTypes.bool,\r\n readOnly: PropTypes.bool,\r\n hidden: PropTypes.bool,\r\n};\r\n\r\nconst ReduxTextInput = ({ input, meta, ...custom }) => {\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default ReduxTextInput;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { ArrowDown, ArrowUp } from '../Icon/Icons';\r\n\r\nfunction SortIcon({ isSortedDesc }) {\r\n return isSortedDesc ? : ;\r\n}\r\n\r\nSortIcon.propTypes = {\r\n isSortedDesc: PropTypes.bool,\r\n};\r\n\r\nexport default SortIcon;\r\n","const tableResources = {\r\n labelShow:'Show',\r\n labelPage: 'Page',\r\n labelOf:'of',\r\n textNoDataFound:'No data found'\r\n};\r\nexport default tableResources;","import React, { useEffect, useState } from 'react';\r\nimport { useTable, useSortBy, usePagination } from 'react-table';\r\nimport InputSelect from '../controls/InputSelect';\r\nimport InputText from '../controls/InputText';\r\nimport SortIcon from './SortIcon';\r\nimport tableResources from './tableResources';\r\n\r\nfunction Table({ columns, data, defaultSorted = [], updateCellHandler, validateCellRules = [] }) {\r\n const pageSizes = [10, 20, 30, 40].map((pageSize) => {\r\n return { value: pageSize, label: pageSize };\r\n });\r\n const {\r\n getTableProps,\r\n getTableBodyProps,\r\n headerGroups,\r\n page,\r\n prepareRow,\r\n canPreviousPage,\r\n canNextPage,\r\n pageOptions,\r\n pageCount,\r\n gotoPage,\r\n nextPage,\r\n previousPage,\r\n setPageSize,\r\n state: { pageIndex }\r\n } = useTable(\r\n {\r\n columns,\r\n data,\r\n disableMultiSort: true,\r\n initialState: {\r\n sortBy: defaultSorted,\r\n pageSize: pageSizes[0].value,\r\n },\r\n updateCellHandler,\r\n validateCellRules\r\n },\r\n useSortBy,\r\n usePagination\r\n );\r\n const [pageIndexInputValue, setPageIndexInputValue] = useState(pageIndex + 1);\r\n useEffect(() => {\r\n setPageIndexInputValue(pageIndex + 1);\r\n }, [pageIndex]);\r\n return (\r\n
\r\n
\r\n \r\n \r\n {headerGroups.map((headerGroup, i) => (\r\n \r\n {headerGroup.headers.map((column, i) => (\r\n \r\n \r\n {column.render('Header')}\r\n {/* Add a sort direction indicator */}\r\n {column.isSorted ?\r\n (\r\n \r\n )\r\n : (\r\n ''\r\n )}\r\n \r\n \r\n ))}\r\n \r\n ))}\r\n \r\n \r\n {data.length > 0\r\n ? page.map((row, i) => {\r\n prepareRow(row);\r\n return (\r\n \r\n {row.cells.map((cell, i) => {\r\n return (\r\n \r\n {cell.render('Cell')}\r\n \r\n );\r\n })}\r\n \r\n );\r\n })\r\n : \r\n \r\n \r\n }\r\n \r\n
\r\n {tableResources.textNoDataFound}\r\n
\r\n
\r\n
\r\n
\r\n \r\n {\r\n setPageSize(Number(e.value));\r\n }}\r\n />\r\n
\r\n
\r\n gotoPage(0)}\r\n disabled={!canPreviousPage}\r\n />\r\n previousPage()}\r\n disabled={!canPreviousPage}\r\n />\r\n \r\n
\r\n
\r\n {\r\n gotoPage(pageIndexInputValue - 1);\r\n }}\r\n onChange={(e) => {\r\n setPageIndexInputValue(e.target.value && !isNaN(e.target.value) ? Number(e.target.value) : 1);\r\n }}\r\n />\r\n
\r\n
\r\n
\r\n {tableResources.labelOf} {pageOptions.length !== 0 ? pageOptions.length : 1}\r\n
\r\n nextPage()}\r\n disabled={!canNextPage}\r\n />\r\n gotoPage(pageCount - 1)}\r\n disabled={!canNextPage}\r\n />\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default Table;\r\n","import React from 'react';\r\nimport classNames from 'classnames';\r\n\r\nfunction Button({ id, theme, label, size, isMaxWidth, keepLabelCase, icon, className, buttonRef, ...props }) {\r\n return (\r\n {props.children});\r\n}\r\n\r\nButton.defaultProps = {\r\n size: 'medium',\r\n isMaxWidth: false,\r\n keepLabelCase: false,\r\n className: ''\r\n};\r\n\r\nexport default Button;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport Button from '../../components/controls/Button';\r\n\r\nfunction ActionCell({ value, column, row }) {\r\n const props = column.getProps(row);\r\n return (\r\n props.handler(value, row)}\r\n >\r\n {props.label}\r\n \r\n );\r\n}\r\n\r\nActionCell.propTypes = {\r\n column: PropTypes.object.isRequired,\r\n row: PropTypes.object.isRequired,\r\n value: PropTypes.oneOfType([PropTypes.object, PropTypes.string, PropTypes.number]),\r\n label: PropTypes.string,\r\n handler: PropTypes.func,\r\n theme: PropTypes.string,\r\n};\r\n\r\nexport default ActionCell;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport './_spinner.scss';\r\n\r\nfunction Spinner({ messageText, className }) {\r\n return (\r\n \r\n
\r\n
\r\n
{messageText}
\r\n
\r\n
\r\n );\r\n}\r\n\r\nSpinner.propTypes = {\r\n className: PropTypes.string,\r\n messageText: PropTypes.string\r\n};\r\n\r\nexport default Spinner;","import * as types from './partnerListTypes';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport * as partnersListService from './partnersListService';\r\n\r\nconst getPartnersListSuccess = (partners) => {\r\n return { type: types.GET_PARTNERS_LIST_SUCCESS, partners };\r\n};\r\n\r\nexport const updatePartnersSuccess = (partner) => {\r\n return { type: types.UPDATE_PARTNERS_SUCCESS, partner };\r\n};\r\n\r\nexport const createPartnerSuccess = (partner) => {\r\n return { type: types.CREATE_PARTNER_SUCCESS, partner };\r\n};\r\n\r\nexport function getPartnersList() {\r\n return function(dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PARTNERS_LIST));\r\n return partnersListService\r\n .getPartnersList()\r\n .then((partners) => {\r\n dispatch(getPartnersListSuccess(partners));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PARTNERS_LIST));\r\n });\r\n };\r\n}\r\n\r\nexport function getPartnersListByProgramType(programTypeID) {\r\n return function(dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PARTNERS_LIST));\r\n return partnersListService\r\n .getPartnersListByProgramType(programTypeID)\r\n .then((partners) => {\r\n dispatch(getPartnersListSuccess(partners));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PARTNERS_LIST));\r\n });\r\n };\r\n}\r\n","const PartnerResources = {\r\n labelPartnerIdNumber: 'Partner ID',\r\n labelName: 'Partner Name',\r\n labelUSBankPartnerCode: 'US Bank Partner Code',\r\n labelIndustry: 'Industry',\r\n labelAddress1: 'Address 1',\r\n labelAddress2: 'Address 2',\r\n labelCity: 'City',\r\n labelState: 'State/Territory',\r\n labelZipCode: 'Zip Code',\r\n labelCountry: 'Country',\r\n labelWebsite: 'Website',\r\n labelFirstName: 'First Name',\r\n labelLastName: 'Last Name',\r\n labelPhoneNumber: 'Contact Number',\r\n labelEmailAddress: 'Email Address',\r\n labelNotes: 'Notes',\r\n labelPrograms: 'Programs',\r\n addPartnerButtomText: 'Add Partner',\r\n};\r\nexport default PartnerResources;\r\n","import { createSelector } from 'reselect';\r\nimport { GET_PARTNERS_LIST } from './partnerListTypes';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === GET_PARTNERS_LIST)\r\n .size;\r\n\r\n return size > 0;\r\n};\r\n\r\nconst getPartners = state => state.partnersListReducer.get('partners');\r\n\r\nexport default createSelector(\r\n [getIsLoading, getPartners],\r\n (isLoading, partners) => ({\r\n isLoading,\r\n partners,\r\n })\r\n);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport './_info-box.scss';\r\n\r\nconst InfoBox = (props) => {\r\n const { title, bordered = false, className } = props;\r\n return (\r\n
\r\n {title &&
{title}
}\r\n
\r\n {props.children}\r\n
\r\n
\r\n );\r\n};\r\n\r\nInfoBox.propTypes = {\r\n children: PropTypes.node,\r\n title: PropTypes.string,\r\n bordered: PropTypes.bool,\r\n className: PropTypes.string\r\n};\r\n\r\nexport default InfoBox;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport './_info-box.scss';\r\n\r\nexport const InfoBoxRow = (props) => {\r\n const { className, label, labelComponent, content, children, contentposition, bold = false, bottomborder = false } = props;\r\n return (\r\n \r\n {label && (\r\n
\r\n {labelComponent ? labelComponent : label}\r\n
\r\n )}\r\n \r\n {content == null ? children : content}\r\n \r\n \r\n );\r\n};\r\n\r\nInfoBoxRow.defaultProps = {\r\n contentposition: 'left'\r\n};\r\n\r\nInfoBoxRow.propTypes = {\r\n children: PropTypes.node,\r\n content: PropTypes.node,\r\n label: PropTypes.string,\r\n labelComponent: PropTypes.node,\r\n className: PropTypes.string,\r\n contentposition: PropTypes.string,\r\n bold: PropTypes.bool,\r\n bottomborder: PropTypes.bool\r\n};\r\n\r\nexport default InfoBoxRow;\r\n","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { generatePath } from 'react-router-dom';\r\nimport Table from '../../../components/InfoBox/Table';\r\nimport ActionCell from '../../../components/InfoBox/ActionCell';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport { getPartnersList } from './partnersListActions';\r\nimport { connect } from 'react-redux';\r\nimport Button from '../../../components/controls/Button';\r\nimport routes from '../../../routing/routes';\r\nimport PartnerResources from '../../Shared/Partners/partnerResources';\r\nimport selectors from './partnersListSelectors';\r\nimport InfoBox from '../../../components/InfoBox/InfoBox';\r\nimport InfoBoxRow from '../../../components/InfoBox/InfoBoxRow';\r\n\r\nfunction PartnersList({ partners, isLoading, getPartnersList, history }) {\r\n useEffect(() => {\r\n getPartnersList();\r\n }, []);\r\n const administerHandler = (partnerId) => {\r\n history.push(\r\n generatePath(routes.partnerDashboard.path, {\r\n partnerId\r\n })\r\n );\r\n };\r\n const columns = React.useMemo(\r\n () => [\r\n {\r\n Header: PartnerResources.labelPartnerIdNumber,\r\n accessor: 'partnerIDNumber',\r\n minWidth: 160,\r\n },\r\n {\r\n Header: PartnerResources.labelName,\r\n accessor: 'name',\r\n minWidth: 195,\r\n },\r\n {\r\n Header: PartnerResources.labelPrograms,\r\n accessor: 'programsDescription',\r\n disableSortBy: true,\r\n minWidth: 185\r\n },\r\n {\r\n Header: PartnerResources.labelCity,\r\n accessor: 'city',\r\n },\r\n {\r\n Header: PartnerResources.labelState,\r\n accessor: 'state.abbr',\r\n minWidth: 100\r\n },\r\n {\r\n Header: PartnerResources.labelCountry,\r\n accessor: 'country',\r\n minWidth: 130\r\n },\r\n {\r\n Header: 'Actions',\r\n disableSortBy: true,\r\n accessor: 'id',\r\n Cell: ActionCell,\r\n getProps: () => ({\r\n handler: administerHandler,\r\n label: 'Administer'\r\n }),\r\n minWidth: 200\r\n }\r\n ],\r\n [PartnerResources]\r\n );\r\n return isLoading ?\r\n (\r\n \r\n )\r\n : (\r\n <>\r\n

Partners

\r\n \r\n \r\n {\r\n history.push(routes.partnersAdd.path);\r\n }}\r\n >\r\n {PartnerResources.addPartnerButtomText}\r\n \r\n \r\n \r\n
\r\n \r\n \r\n );\r\n}\r\nPartnersList.propTypes = {\r\n partners: PropTypes.object.isRequired,\r\n isLoading: PropTypes.bool.isRequired,\r\n getPartnersList: PropTypes.func.isRequired,\r\n history: PropTypes.object.isRequired\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getPartnersList\r\n};\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default connectStateToProps(PartnersList);\r\n","import * as types from './partnerOwnerAreaTypes';\r\nimport programTypes from '../../enums/programTypes';\r\n\r\nconst setIsGroupMembershipAddedToPartner = isGroupMembershipAddedToPartner => ({\r\n type: types.SET_IS_GROUP_MEMBERSHIP_ADDED_TO_PARTNER,\r\n payload: { isGroupMembershipAddedToPartner }\r\n});\r\n\r\nconst setPartnerName = partnerName => ({\r\n type: types.SET_PARTNER_NAME,\r\n payload: { partnerName }\r\n});\r\n\r\nconst setProgramPaymentType = programPaymentType => ({\r\n type: types.SET_PROGRAM_PAYMENT_TYPE,\r\n payload: { programPaymentType }\r\n});\r\n\r\nexport const setPartnerForPartnerOwnerArea = partner => (dispatch) => {\r\n const isGroupMembershipAddedToPartner = partner.programTypes\r\n && partner.programTypes[programTypes.groupMemberships] !== undefined\r\n && partner.programTypes[programTypes.groupMemberships];\r\n\r\n if (partner.partnerPrograms) {\r\n const groupMemberships = partner.partnerPrograms.find(x => x.programType.id === programTypes.groupMemberships);\r\n const programPaymentType = groupMemberships\r\n ? groupMemberships.programPaymentTypeID\r\n : undefined;\r\n dispatch(setProgramPaymentType(programPaymentType));\r\n }\r\n dispatch(setPartnerName(partner.name));\r\n dispatch(setIsGroupMembershipAddedToPartner(isGroupMembershipAddedToPartner));\r\n};","import * as types from './managePartnerTypes';\r\nimport * as managePartnerService from './managePartnerService';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport {\r\n createPartnerSuccess,\r\n updatePartnersSuccess\r\n} from '../../Partners/PartnersList/partnersListActions';\r\nimport { setPartnerForPartnerOwnerArea } from '../../PartnerOwnerArea/partnerOwnerAreaActions';\r\n\r\nconst updatePartner = (partner) => {\r\n return { type: types.UPDATE_PARTNER, partner };\r\n};\r\n\r\nexport function savePartner(partner) {\r\n return function(dispatch, getState) {\r\n dispatch(loadingActions.setLoading(types.SAVE_PARTNER));\r\n return managePartnerService\r\n .savePartner(partner)\r\n .then((result) => {\r\n if (result.success) {\r\n if (partner.id === 0) {\r\n dispatch(createPartnerSuccess(result.data));\r\n } else {\r\n dispatch(updatePartner(result.data));\r\n dispatch(updatePartnersSuccess(result.data));\r\n dispatch(setPartnerForPartnerOwnerArea(result.data));\r\n }\r\n }\r\n })\r\n .catch((errorResponse) => {\r\n dispatch(updatePartner(errorResponse.data.data));\r\n throw errorResponse;\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.SAVE_PARTNER));\r\n });\r\n };\r\n}\r\n\r\nexport function getPartner(partnerId) {\r\n return function(dispatch, getState) {\r\n dispatch(loadingActions.setLoading(types.GET_PARTNER));\r\n return managePartnerService\r\n .getPartner(partnerId)\r\n .then((partner) => {\r\n dispatch(updatePartner(partner));\r\n dispatch(setPartnerForPartnerOwnerArea(partner));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PARTNER));\r\n });\r\n };\r\n}\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './_form-group.scss';\r\n\r\nconst FormGroup = ({ children, label, helperText, onSubmit, name }) => {\r\n return (\r\n \r\n {label && }\r\n {children}\r\n {helperText && {helperText}}\r\n \r\n );\r\n};\r\n\r\nFormGroup.propTypes = {\r\n label: PropTypes.string,\r\n helperText: PropTypes.string,\r\n children: PropTypes.oneOfType([PropTypes.element, PropTypes.arrayOf(PropTypes.element)]),\r\n onSubmit: PropTypes.func,\r\n name: PropTypes.string\r\n};\r\n\r\nexport default FormGroup;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\n\r\n// All available icons: https://fonts.google.com/icons?icon.style=Outlined&icon.set=Material+Icons and https://fonts.google.com/icons?icon.style=Filled&icon.set=Material+Icons\r\nfunction MaterialIcon({ id, role, icon, className, variant, onClick, ariaHidden, tabIndex, filterExpandContentId, ariaExpanded, label }) {\r\n return (\r\n \r\n {icon}\r\n \r\n );\r\n}\r\n\r\nMaterialIcon.defaultProps = {\r\n variant: 'outlined'\r\n};\r\n\r\nMaterialIcon.propTypes = {\r\n id: PropTypes.string,\r\n icon: PropTypes.string.isRequired,\r\n className: PropTypes.string,\r\n onClick: PropTypes.func,\r\n variant: PropTypes.string,\r\n role: PropTypes.string,\r\n ariaHidden: PropTypes.bool,\r\n tabIndex: PropTypes.string,\r\n filterExpandContentId: PropTypes.string,\r\n ariaExpanded: PropTypes.bool,\r\n label: PropTypes.string\r\n};\r\n\r\nexport default MaterialIcon;\r\n","/* eslint-disable react/no-multi-comp*/\r\n/* eslint-disable react/jsx-no-duplicate-props*/\r\nimport React, { useState, useMemo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './_muiinput.scss';\r\nimport styles from './_muiinput.module.scss';\r\nimport MaterialIcon from '../MaterialIcon/MaterialIcon';\r\nimport { TextField, InputAdornment, IconButton } from '@material-ui/core';\r\n\r\nexport function MuiInputText(props) {\r\n const {\r\n meta = {},\r\n input = {},\r\n label,\r\n addAsteriskToLabel,\r\n variant,\r\n defaultValue,\r\n id,\r\n disabled,\r\n onClick,\r\n fullWidth,\r\n secureTextEntry,\r\n showErrorMessage,\r\n readOnly,\r\n startAdornment,\r\n masked,\r\n adornmentVariant,\r\n labelVariant,\r\n autoFocus,\r\n required,\r\n autocompleteType,\r\n textBoxRef\r\n } = props;\r\n\r\n const muiLabel = useMemo(() => {\r\n return addAsteriskToLabel ? `${label} *` : label;\r\n }, [addAsteriskToLabel]);\r\n\r\n const { value, name, onChange, onBlur, onFocus } = input;\r\n const { error, touched } = meta;\r\n const [secureMode, setSecureMode] = useState(secureTextEntry);\r\n const isNotEmpty = value && value.length;\r\n const showError = (error && touched) || false;\r\n const showSecureModeSwitcher = secureTextEntry && isNotEmpty;\r\n const showHelperText = showError && showErrorMessage;\r\n\r\n const displayValue = useMemo(() => {\r\n return masked && value\r\n ? `***${value.slice(-4)}`\r\n : value;\r\n }, [value, masked]);\r\n\r\n return
\r\n \r\n setSecureMode(!secureMode)}\r\n edge=\"end\"\r\n >\r\n \r\n \r\n \r\n )\r\n : null,\r\n startAdornment: startAdornment ?\r\n ({startAdornment} variant={adornmentVariant} className={styles.inputAdornment})\r\n : null\r\n }}\r\n InputLabelProps= {{\r\n variant: labelVariant,\r\n className: readOnly ? styles.label_readOnly : ''\r\n }}\r\n error={showError}\r\n helperText={showHelperText ? error : ''}\r\n type={secureMode ? 'password' : 'text'}\r\n defaultValue={defaultValue}\r\n onChange={onChange}\r\n onBlur={onBlur}\r\n onClick={onClick}\r\n disabled={disabled}\r\n value={displayValue}\r\n variant={readOnly ? 'filled' : variant}\r\n fullWidth={fullWidth}\r\n onFocus={onFocus}\r\n autoFocus={autoFocus}\r\n />\r\n
;\r\n}\r\n\r\nMuiInputText.defaultProps = {\r\n secureTextEntry: false,\r\n addAsteriskToLabel: false,\r\n variant: 'outlined',\r\n fullWidth: true,\r\n showErrorMessage: true,\r\n readOnly: false,\r\n masked: false,\r\n adornmentVariant: 'outlined',\r\n labelVariant: 'outlined',\r\n autoFocus: false,\r\n required: false,\r\n autocompleteType: ''\r\n};\r\n\r\nMuiInputText.propTypes = {\r\n label: PropTypes.string,\r\n name: PropTypes.string,\r\n secureTextEntry: PropTypes.bool,\r\n onChange: PropTypes.func,\r\n onBlur: PropTypes.func,\r\n onClick: PropTypes.func,\r\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n defaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n id: PropTypes.string,\r\n error: PropTypes.string,\r\n touched: PropTypes.bool,\r\n disabled: PropTypes.bool,\r\n addAsteriskToLabel: PropTypes.bool,\r\n meta: PropTypes.object,\r\n input: PropTypes.object,\r\n variant: PropTypes.string,\r\n fullWidth: PropTypes.bool,\r\n onFocus: PropTypes.func,\r\n showErrorMessage: PropTypes.bool,\r\n readOnly: PropTypes.bool,\r\n startAdornment: PropTypes.string,\r\n masked: PropTypes.bool,\r\n adornmentVariant: PropTypes.string,\r\n labelVariant: PropTypes.string,\r\n autoFocus: PropTypes.bool,\r\n required: PropTypes.bool,\r\n autocompleteType: PropTypes.string,\r\n textBoxRef: PropTypes.object\r\n};\r\n","import React from 'react';\r\nimport styles from './_muibutton.module.scss';\r\nimport classNames from 'classnames';\r\nimport { Button } from '@material-ui/core';\r\nimport './_muibutton.scss';\r\n\r\nfunction MuiButton({ theme, label, size, isMaxWidth, keepLabelCase, icon, className, noPadding, ...props }) {\r\n return (
\r\n \r\n
);\r\n};\r\n\r\nMuiButton.defaultProps = {\r\n size: 'medium',\r\n isMaxWidth: false,\r\n keepLabelCase: false,\r\n className: '',\r\n noPadding: false\r\n};\r\n\r\nexport default MuiButton;\r\n","export const defaultFormProperties = {\r\n enableReinitialize: true,\r\n shouldAsyncValidate: ({ pristine, syncValidationPasses }) => !pristine && syncValidationPasses,\r\n onSubmitFail: (errors) => {\r\n if (!errors || typeof errors !== 'object') {\r\n return;\r\n }\r\n const invalidInputName = Object.keys(errors)[0];\r\n if (!invalidInputName) {\r\n return;\r\n }\r\n const invalidInput = document.getElementsByName(invalidInputName)[0];\r\n if (!invalidInput) {\r\n return;\r\n }\r\n invalidInput.scrollIntoView({\r\n behavior: 'smooth'\r\n });\r\n }\r\n};","function parseBigInt(value, radix) {\r\n let result = BigInt(0);\r\n let isBroke = false;\r\n for (const symbol of [...value.toString()]) {\r\n const currentSymbolAsDeciaml = parseInt(symbol, radix);\r\n if (isNaN(currentSymbolAsDeciaml)) {\r\n isBroke = true;\r\n break;\r\n }\r\n result = result * BigInt(radix) + BigInt(currentSymbolAsDeciaml);\r\n }\r\n return isBroke ? null : result;\r\n}\r\n\r\nexport default parseBigInt;","import parseBigInt from './parseBigInt';\r\nimport moment from 'moment';\r\nimport { SLASHED_US_DATE_FORMAT } from '../constants/formats';\r\n\r\nconst validationRules = () => {\r\n const required = (label = '', customMessage) => (value) => {\r\n if ((typeof (value) === 'string' && /^\\s*$/.test(value)) || value === undefined || value === null) {\r\n return customMessage ? customMessage : `${label} is required.`;\r\n }\r\n return undefined;\r\n };\r\n\r\n const requiredIfGreaterThan = (nameField, label, valueToCompare) => (value, allValues) => {\r\n return allValues.get(nameField) > valueToCompare ? required(label)(value) : undefined;\r\n };\r\n\r\n const requiredIf = (nameField, label, valueToCompare) => (value, allValues) => {\r\n return allValues.get(nameField) === valueToCompare ? required(label)(value) : undefined;\r\n };\r\n\r\n const requiredIfAny = (nameField, label, valuesToCompare) => (value, allValues) => {\r\n return valuesToCompare.includes(allValues.get(nameField)) ? required(label)(value) : undefined;\r\n };\r\n\r\n const fileRequired = label => (value) => {\r\n return required(label, 'Please select a file.')(value);\r\n };\r\n\r\n const regex = (regex, message) => (value) => {\r\n if (!value || new RegExp(regex, 'g').test(value)) {\r\n return undefined;\r\n }\r\n return message;\r\n };\r\n\r\n const passwordRegex = regex(\r\n '^(?=.*\\\\d)(?=.*[a-zA-Z])[a-zA-Z\\\\d!\"\"#$%&\\'()*+,-.\\\\/:;<=>?@\\\\[\\\\\\\\\\\\]^_`{|}~]{8,}$',\r\n 'A password must be at least 8 characters and contain at least 1 letter and 1 number: letters A-Z (lowercase and uppercase), digits 0-9.'\r\n );\r\n\r\n const numericRegex = /[^0-9.-]+/g;\r\n\r\n const length = (label, min, max) => (value) => {\r\n const valueLength = value ? value.length : 0;\r\n\r\n if (min && max && (valueLength < min || valueLength > max)) {\r\n return min === max\r\n ? `${label} must be ${min} symbols.`\r\n : `${label} must be between ${min} and ${max}`;\r\n } else if (min && valueLength < min) {\r\n return `${label} must be at least ${min} symbols.`;\r\n } else if (max && valueLength > max) {\r\n return `${label} must be at most ${max} symbols.`;\r\n }\r\n\r\n return undefined;\r\n };\r\n\r\n const numericOrEmpty = (label = '') => (value) => {\r\n return isNaN(value) || (typeof (value) === 'string' && value.indexOf(' ') >= 0)\r\n ? `${label} must be numeric.`\r\n : undefined;\r\n };\r\n\r\n const numericOrEmptyWithWildcard = (label, wildcardAllowed) => (\r\n value,\r\n allValues,\r\n formProps\r\n ) => {\r\n value = value.replace(new RegExp(wildcardAllowed, 'gi'), '');\r\n return numericOrEmpty(label)(value);\r\n };\r\n\r\n const phoneNumber = (label) => {\r\n return regex(\r\n '^\\\\+1\\\\d{10}$',\r\n `${label} is invalid. ${label} must be +1XXXXXXXXXX.`,\r\n true\r\n );\r\n };\r\n\r\n const email = (label) => {\r\n return regex(\r\n '^([a-zA-Z0-9.!#$%&\\'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\\\.[a-zA-Z0-9-]+)+)$',\r\n `${label} is not valid.`,\r\n true\r\n );\r\n };\r\n\r\n const alphanumeric = (label) => {\r\n return regex(\r\n '^[a-zA-Z0-9-]+$',\r\n `${label} must be alphanumeric.`\r\n );\r\n };\r\n\r\n const decimalWithTwoPlaces = (label) => {\r\n return regex(\r\n '^\\\\d+(\\\\.\\\\d{0,2})?$',\r\n `${label} can't contain more than two decimal places.`\r\n );\r\n };\r\n\r\n const range = (label, min, max, type = undefined) => (value) => {\r\n let valueToTest = value !== undefined && type !== 'dateString' && isNaN(value) ? Number(value.replace(numericRegex, '')) : value;\r\n let minValueToCompare = min;\r\n let maxValueToCompare = max;\r\n if (valueToTest && type === 'dateString') {\r\n valueToTest = new Date(valueToTest);\r\n minValueToCompare = new Date(min);\r\n maxValueToCompare = new Date(max);\r\n }\r\n return valueToTest < minValueToCompare || valueToTest > maxValueToCompare ? `${label} must be between ${min} and ${max}.` : undefined;\r\n };\r\n\r\n const greaterThanMultiplicationIf = (fieldName1, fieldName2, message, nameField = undefined, valueToCompare = undefined) =>\r\n (value, allValues, formProps) => {\r\n if (value !== undefined && isNaN(value)) {\r\n value = Number(value.replace(numericRegex, ''));\r\n }\r\n return (nameField === undefined || valueToCompare === undefined || allValues.get(nameField) === valueToCompare)\r\n && value < allValues.get(fieldName1) * allValues.get(fieldName2)\r\n ? message\r\n : undefined;\r\n };\r\n\r\n const greaterThanOrEqualSpecificValue = (valueToCompare, labelFieldToTest = '', type = undefined, dateFormat = SLASHED_US_DATE_FORMAT) => (value) => {\r\n let fieldToTestValue = value !== undefined && isNaN(value) ? Number(value.replace(numericRegex, '')) : value;\r\n let formattedValueToCompare = valueToCompare;\r\n if (fieldToTestValue && type === 'dateString') {\r\n fieldToTestValue = new Date(fieldToTestValue);\r\n formattedValueToCompare = moment(formattedValueToCompare).format(dateFormat);\r\n }\r\n return fieldToTestValue >= valueToCompare ? undefined : `${labelFieldToTest} can't be less than ${formattedValueToCompare}.`;\r\n };\r\n\r\n const greaterThanOrEqual = (nameFieldToCompare, labelFieldToTest, labelFieldToCompare, type = undefined) => (value, allValues) => {\r\n let fieldToTestValue = value !== undefined && type !== 'dateString' && isNaN(value) ? Number(value.replace(numericRegex, '')) : value;\r\n let fieldToCompareValue = allValues.get(nameFieldToCompare);\r\n if (fieldToTestValue && fieldToCompareValue && type === 'dateString') {\r\n fieldToTestValue = new Date(fieldToTestValue);\r\n fieldToCompareValue = new Date(fieldToCompareValue);\r\n }\r\n return !fieldToCompareValue || fieldToTestValue >= fieldToCompareValue ? undefined : `${labelFieldToTest} can't be less than ${labelFieldToCompare}.`;\r\n };\r\n\r\n const lessThanOrEqual = (nameFieldToCompare, labelFieldToTest, labelFieldToCompare, type = undefined) => (value, allValues) => {\r\n let fieldToTestValue = value !== undefined && type !== 'dateString' && isNaN(value) ? Number(value.replace(numericRegex, '')) : value;\r\n let fieldToCompareValue = allValues.get(nameFieldToCompare);\r\n if (fieldToTestValue && fieldToCompareValue && type === 'dateString') {\r\n fieldToTestValue = new Date(fieldToTestValue);\r\n fieldToCompareValue = new Date(fieldToCompareValue);\r\n }\r\n return !fieldToCompareValue || fieldToTestValue <= fieldToCompareValue ? undefined : `${labelFieldToTest} can't be greater than ${labelFieldToCompare}.`;\r\n };\r\n\r\n const integer = label => (value) => {\r\n const parsed = parseInt(value);\r\n return parsed.toString() === value.toString() ? undefined : `${label} is not valid.`;\r\n };\r\n\r\n const bigInt = (base, label) => (value) => {\r\n return parseBigInt(value, base) === null ? `${label} is not valid.` : undefined;\r\n };\r\n\r\n const usBankCode = () => {\r\n return regex(\r\n '^[a-zA-Z/\\\\d]{2}$',\r\n 'US Bank Code must consist of 2 latin letters or digits.'\r\n );\r\n };\r\n\r\n const notEqualTo = (nameFieldToCompare, customMessage) => (value, allValues) => {\r\n return value === allValues.get(nameFieldToCompare) ? customMessage : undefined;\r\n };\r\n\r\n const notExist = (label = '', customMessage, itemsSet = new Set()) => (value) => {\r\n if (value && itemsSet.has(value.trim().toLowerCase())) {\r\n return customMessage ? customMessage : `${label} must be unique. Item with ${value} already exist.`;\r\n }\r\n return undefined;\r\n };\r\n\r\n return {\r\n required,\r\n requiredIfGreaterThan,\r\n requiredIf,\r\n requiredIfAny,\r\n fileRequired,\r\n regex,\r\n passwordRegex,\r\n length,\r\n numericOrEmpty,\r\n numericOrEmptyWithWildcard,\r\n phoneNumber,\r\n email,\r\n range,\r\n greaterThanMultiplicationIf,\r\n lessThanOrEqual,\r\n greaterThanOrEqual,\r\n greaterThanOrEqualSpecificValue,\r\n integer,\r\n bigInt,\r\n usBankCode,\r\n alphanumeric,\r\n decimalWithTwoPlaces,\r\n notEqualTo,\r\n notExist\r\n };\r\n};\r\n\r\nexport default validationRules();\r\n","export const MONTH_YEAR = 'MMMM YYYY';\r\nexport const JSON_DATE_TIME = 'yyyy-MM-dd\\'T\\'HH:mm:ss';\r\nexport const SLASHED_US_DATE_FORMAT = 'MM/DD/YYYY';\r\nexport const MONTH_DATE_FORMAT = 'MM/DD';","import validationRules from '../../../utilities/validationRules';\r\nimport PartnerResources from './partnerResources';\r\n\r\nexport const partnerIdNumberRequired = validationRules.required(\r\n PartnerResources.labelPartnerIdNumber\r\n);\r\nexport const partnerIdNumberLength = validationRules.length(\r\n PartnerResources.labelPartnerIdNumber,\r\n 3,\r\n 8\r\n);\r\nexport const partnerIdNumberAlphanumeric = validationRules.alphanumeric(\r\n PartnerResources.labelPartnerIdNumber\r\n);\r\nexport const partnerNameRequired = validationRules.required(\r\n PartnerResources.labelName\r\n);\r\nexport const partnerNameMaxLength = validationRules.length(\r\n PartnerResources.labelName,\r\n null,\r\n 300\r\n);\r\nexport const partnerUSBankPartnerCodeRequired = validationRules.required(\r\n PartnerResources.labelUSBankPartnerCode\r\n);\r\nexport const partnerUSBankPartnerCodeFormat = validationRules.usBankCode();\r\nexport const partnerIndustryRequired = validationRules.required(\r\n PartnerResources.labelIndustry\r\n);\r\nexport const partnerIndustryMaxLength = validationRules.length(\r\n PartnerResources.labelIndustry,\r\n null,\r\n 100\r\n);\r\nexport const partnerAddress1Required = validationRules.required(\r\n PartnerResources.labelAddress1\r\n);\r\nexport const partnerAddress1MaxLength = validationRules.length(\r\n PartnerResources.labelAddress1,\r\n null,\r\n 150\r\n);\r\nexport const partnerAddress2MaxLength = validationRules.length(\r\n PartnerResources.labelAddress2,\r\n null,\r\n 150\r\n);\r\nexport const partnerCityRequired = validationRules.required(\r\n PartnerResources.labelCity\r\n);\r\nexport const partnerCityMaxLength = validationRules.length(\r\n PartnerResources.labelCity,\r\n null,\r\n 50\r\n);\r\nexport const partnerStateRequired = validationRules.required(\r\n PartnerResources.labelState\r\n);\r\nexport const partnerZipCodeRequired = validationRules.required(\r\n PartnerResources.labelZipCode\r\n);\r\nexport const partnerZipCodeNumeric = validationRules.numericOrEmpty(\r\n PartnerResources.labelZipCode\r\n);\r\nexport const partnerZipCodeLength = validationRules.length(\r\n PartnerResources.labelZipCode,\r\n 5,\r\n 5\r\n);\r\nexport const partnerCountryRequired = validationRules.required(\r\n PartnerResources.labelCountry\r\n);\r\nexport const partnerCountryMaxLength = validationRules.length(\r\n PartnerResources.labelCountry,\r\n null,\r\n 10\r\n);\r\nexport const partnerWebsiteMaxLength = validationRules.length(\r\n PartnerResources.labelWebsite,\r\n null,\r\n 100\r\n);\r\nexport const partnerFirstNameRequired = validationRules.required(\r\n PartnerResources.labelFirstName\r\n);\r\nexport const partnerFirstNameMaxLength = validationRules.length(\r\n PartnerResources.labelFirstName,\r\n null,\r\n 50\r\n);\r\nexport const partnerLastNameRequired = validationRules.required(\r\n PartnerResources.labelLastName\r\n);\r\nexport const partnerLastNameMaxLength = validationRules.length(\r\n PartnerResources.labelLastName,\r\n null,\r\n 50\r\n);\r\nexport const partnerPhoneNumberRequired = validationRules.required(\r\n PartnerResources.labelPhoneNumber\r\n);\r\nexport const partnerPhoneNumberMaxLength = validationRules.length(\r\n PartnerResources.labelPhoneNumber,\r\n null,\r\n 25\r\n);\r\nexport const partnerPhoneNumberFormat = validationRules.phoneNumber(\r\n PartnerResources.labelPhoneNumber\r\n);\r\nexport const partnerEmailAddressRequired = validationRules.required(\r\n PartnerResources.labelEmailAddress\r\n);\r\nexport const partnerEmailAddressMaxLength = validationRules.length(\r\n PartnerResources.labelEmailAddress,\r\n null,\r\n 320\r\n);\r\nexport const partnerEmailAddressFormat = validationRules.email(\r\n PartnerResources.labelEmailAddress\r\n);\r\nexport const partnerNotesMaxLength = validationRules.length(\r\n PartnerResources.labelNotes,\r\n null,\r\n 2020\r\n);\r\n","import React, { useMemo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './_muiinput.scss';\r\nimport { TextField } from '@material-ui/core';\r\n\r\nexport function MuiTextArea(props) {\r\n const {\r\n meta = {},\r\n input = {},\r\n label,\r\n addAsteriskToLabel,\r\n variant,\r\n defaultValue,\r\n id,\r\n disabled,\r\n onClick,\r\n fullWidth,\r\n minRows,\r\n maxRows\r\n } = props;\r\n const muiLabel = useMemo(() => {\r\n return addAsteriskToLabel ? `${label} *` : label;\r\n }, [addAsteriskToLabel]);\r\n const { value, name, onChange, onBlur } = input;\r\n const { error, touched } = meta;\r\n const showError = error && touched;\r\n return
\r\n {\r\n (\r\n \r\n )\r\n }\r\n
;\r\n}\r\n\r\nMuiTextArea.defaultProps = {\r\n addAsteriskToLabel: false,\r\n variant: 'outlined',\r\n fullWidth: true,\r\n minRows: 4,\r\n maxRows: 4,\r\n};\r\n\r\nMuiTextArea.propTypes = {\r\n label: PropTypes.string,\r\n name: PropTypes.string,\r\n onChange: PropTypes.func,\r\n onBlur: PropTypes.func,\r\n onClick: PropTypes.func,\r\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n defaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n id: PropTypes.string,\r\n error: PropTypes.string,\r\n touched: PropTypes.bool,\r\n disabled: PropTypes.bool,\r\n addAsteriskToLabel: PropTypes.bool,\r\n meta: PropTypes.object,\r\n input: PropTypes.object,\r\n variant: PropTypes.string,\r\n fullWidth: PropTypes.bool,\r\n minRows: PropTypes.number,\r\n maxRows: PropTypes.number\r\n};\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\n\r\nconst InputCheckbox = ({ label, id, disabled, value,\r\n onChange, error, touched, name, onBlur, checked }) => {\r\n const controlClass = 'c-control';\r\n const inputTypeClass = 'c-checkbox';\r\n const showError = error && touched;\r\n return (<>\r\n
\r\n
\r\n \r\n \r\n
\r\n {\r\n showError &&\r\n
\r\n {error}\r\n
\r\n }\r\n
\r\n \r\n );\r\n};\r\n\r\nInputCheckbox.propTypes = {\r\n label: PropTypes.string.isRequired,\r\n id: PropTypes.string.isRequired,\r\n name: PropTypes.string,\r\n error: PropTypes.string,\r\n disabled: PropTypes.bool,\r\n checked: PropTypes.bool,\r\n touched: PropTypes.bool,\r\n onChange: PropTypes.func,\r\n onBlur: PropTypes.func\r\n};\r\n\r\nconst ReduxInputCheckbox = ({ input, meta, ...custom }) => {\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default ReduxInputCheckbox;","import React, { Component } from 'react';\r\nimport { Map, fromJS } from 'immutable';\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport InputCheckbox from './InputCheckbox';\r\nimport './_checkbox-group.scss';\r\n\r\nclass CheckBoxGroup extends Component {\r\n static getInitialValues({ meta, options }, isImmutable) {\r\n return meta\r\n ? meta.initial\r\n : options.reduce(\r\n (values, { name, initialValue }) => {\r\n if (initialValue) {\r\n isImmutable\r\n ? (values = values.withMutations(map =>\r\n map.set(name, !!initialValue)\r\n\t\t\t\t\t\t\t\t ))\r\n : (values[name] = !!initialValue);\r\n }\r\n return values;\r\n },\r\n isImmutable ? fromJS({}) : {}\r\n\t\t\t );\r\n }\r\n\r\n constructor(props) {\r\n super(props);\r\n this.isImmutable = props.meta.initial instanceof Map;\r\n const initialValues = CheckBoxGroup.getInitialValues(this.props, this.isImmutable);\r\n this.state = {\r\n values: initialValues,\r\n initialValues\r\n };\r\n this.handleChange = this.handleChange.bind(this);\r\n this.handleBlur = this.handleBlur.bind(this);\r\n }\r\n\r\n handleBlur() {\r\n const { input = {}, onBlur } = this.props;\r\n (input.onBlur || onBlur)(this.state.values);\r\n }\r\n\r\n handleChange({ target: { checked, name } }) {\r\n const { input = {}, onChange } = this.props;\r\n this.setState(\r\n ({ values }) => ({\r\n values: this.isImmutable\r\n ? values.set(name, checked)\r\n : { ...values, [name]: checked }\r\n }),\r\n () => {\r\n (input.onChange || onChange)(this.state.values);\r\n }\r\n );\r\n }\r\n\r\n render() {\r\n const {\r\n meta = {},\r\n input = {},\r\n options,\r\n label,\r\n inline,\r\n ...props\r\n } = this.props;\r\n return (\r\n
\r\n {label && (\r\n \r\n )}\r\n \r\n {options.map(option => (\r\n \r\n ))}\r\n
\r\n {meta.submitFailed && meta.error && (\r\n
{meta.error}
\r\n )}\r\n \r\n );\r\n }\r\n}\r\n\r\nCheckBoxGroup.propTypes = {\r\n label: PropTypes.string,\r\n options: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n id: PropTypes.string.isRequired,\r\n name: PropTypes.string.isRequired,\r\n label: PropTypes.string.isRequired\r\n })\r\n ).isRequired,\r\n inline: PropTypes.bool,\r\n input: PropTypes.object,\r\n meta: PropTypes.object,\r\n areDisabledCheckedInitials: PropTypes.bool\r\n};\r\n\r\nCheckBoxGroup.defaultProps = {\r\n onChange: () => undefined,\r\n onBlur: () => undefined\r\n};\r\n\r\nexport default CheckBoxGroup;\r\n","const SharedResources = {\r\n imageTextExportToExcel: 'Export to Excel',\r\n showButtonText: 'show',\r\n addButtonText: 'Add',\r\n saveButtonText: 'Save',\r\n saveChangesButtonText: 'Save Changes',\r\n updateButtonText: 'Update',\r\n cancelButtonText: 'Cancel',\r\n closeButtonText: 'Close',\r\n uploadButtonText: 'Upload',\r\n backButtonText: 'Back',\r\n editLabel: 'Edit',\r\n okLabel: 'Ok',\r\n cancelLabel: 'Cancel',\r\n confirmLabel: 'Confirm',\r\n toggleShowToolTip: 'Expand side panel',\r\n toggleHideToolTip: 'Collapse side panel',\r\n resetButtonText: 'Reset',\r\n showMoreButtonText: '... show more',\r\n showLessButtonText: '... show less',\r\n applyButtonText: 'Apply',\r\n clearButtonText: 'Clear',\r\n downloadButtonText: 'Download'\r\n};\r\nexport default SharedResources;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport FormGroup from '../../../components/controls/FormGroup';\r\nimport { MuiInputText } from '../../../components/controls/MuiInputText';\r\nimport MuiButton from '../../../components/controls/MuiButton';\r\nimport { defaultFormProperties } from '../../../utilities/form';\r\nimport InputSelect from '../../../components/controls/InputSelect';\r\nimport PartnerResources from './partnerResources';\r\nimport * as validationRules from './partnerValidation';\r\nimport { MuiTextArea } from '../../../components/controls/MuiTextArea';\r\nimport InfoBox from '../../../components/InfoBox/InfoBox';\r\nimport CheckBoxGroup from '../../../components/controls/CheckBoxGroup';\r\nimport routes from '../../../routing/routes';\r\nimport resources from '../../Shared/resources';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\n\r\nconst ManagePartnerForm = ({\r\n pristine,\r\n submitting,\r\n handleSubmit,\r\n states,\r\n programTypes,\r\n history,\r\n isAdd\r\n}) => {\r\n const backToPartners = function () {\r\n history.push(routes.partners.path);\r\n };\r\n const { gmrAddProgram } = useFlags();\r\n return (\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n option.get('name')}\r\n getOptionValue={option => option.get('abbr')}\r\n component={InputSelect}\r\n validate={validationRules.partnerStateRequired}\r\n isSearchable\r\n />\r\n \r\n \r\n \r\n \r\n
\r\n {programTypes && !gmrAddProgram && (\r\n
\r\n \r\n {\r\n return {\r\n id: pt.get('id').toString(),\r\n name: pt.get('id').toString(),\r\n label: pt.get('name')\r\n };\r\n })\r\n .toJS()}\r\n areDisabledCheckedInitials\r\n />\r\n \r\n
\r\n )}\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n {resources.saveButtonText}\r\n \r\n
\r\n
\r\n {isAdd && (\r\n \r\n {resources.cancelButtonText}\r\n \r\n )}\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nManagePartnerForm.propTypes = {\r\n pristine: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n handleSubmit: PropTypes.func.isRequired,\r\n states: PropTypes.object.isRequired,\r\n history: PropTypes.object.isRequired,\r\n programTypes: PropTypes.object,\r\n isAdd: PropTypes.bool\r\n};\r\n\r\nexport default reduxForm({\r\n form: 'managePartnerForm',\r\n ...defaultFormProperties\r\n})(ManagePartnerForm);\r\n","import * as types from './stateTypes';\r\nimport * as StatesService from './stateService';\r\nimport * as loadingActions from '../Loading/loadingActions';\r\n\r\nconst getStatesListSuccess = (states) => {\r\n return { type: types.GET_STATES_LIST_SUCCESS, states };\r\n};\r\n\r\nexport function getStatesList() {\r\n return function(dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_STATES_LIST));\r\n return StatesService.getStatesList()\r\n .then((states) => {\r\n dispatch(getStatesListSuccess(states));\r\n })\r\n .finally(() =>\r\n dispatch(loadingActions.unsetLoading(types.GET_STATES_LIST))\r\n );\r\n };\r\n}\r\n","import { createSelector } from 'reselect';\r\nimport {\r\n SAVE_PARTNER,\r\n GET_PARTNER\r\n} from '../../Shared/Partners/managePartnerTypes';\r\nimport { GET_PROGRAM_TYPES } from '../../ProgramTypes/programTypeTypes';\r\nimport { GET_STATES_LIST } from '../../States/stateTypes';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(\r\n i =>\r\n i === SAVE_PARTNER ||\r\n\t\t\t\ti === GET_PARTNER ||\r\n\t\t\t\ti === GET_PROGRAM_TYPES ||\r\n\t\t\t\ti === GET_STATES_LIST\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\nconst getPartner = state => state.managePartnerReducer.get('partner');\r\nconst getStates = state => state.stateReducer.get('states');\r\nconst getProgramTypes = state => state.programTypeReducer.get('programTypes');\r\n\r\nexport default createSelector(\r\n [getIsLoading, getPartner, getStates, getProgramTypes],\r\n (isLoading, partner, states, programTypes) => ({\r\n isLoading,\r\n partner,\r\n states,\r\n programTypes\r\n })\r\n);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport './_card-info.scss';\r\n\r\nconst CardInfo = ({ children, title, subtitle, shadow, halfSpace, noPadding, noInnerMargin }) => {\r\n return (\r\n
\r\n {title &&

{title}

}\r\n {subtitle &&

{subtitle}

}\r\n
{children}
\r\n
\r\n );\r\n};\r\n\r\nCardInfo.defaultProps = {\r\n shadow: true,\r\n noPadding: false,\r\n noInnerMargin: false\r\n};\r\n\r\nCardInfo.propTypes = {\r\n title: PropTypes.string,\r\n subtitle: PropTypes.string,\r\n children: PropTypes.oneOfType([\r\n PropTypes.arrayOf(PropTypes.node),\r\n PropTypes.node,\r\n ]),\r\n shadow: PropTypes.bool,\r\n halfSpace: PropTypes.bool,\r\n noPadding: PropTypes.bool,\r\n noInnerMargin: PropTypes.bool\r\n};\r\n\r\nexport default CardInfo;\r\n","import * as types from './programTypeTypes';\r\nimport * as programTypeService from './programTypeService';\r\nimport * as loadingActions from '../Loading/loadingActions';\r\n\r\nconst getProgramTypesSuccess = (programTypes) => {\r\n return { type: types.GET_PROGRAM_TYPES_SUCCESS, programTypes };\r\n};\r\n\r\nexport function getProgramTypes() {\r\n return function(dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PROGRAM_TYPES));\r\n return programTypeService\r\n .getProgramTypes()\r\n .then((programTypes) => {\r\n dispatch(getProgramTypesSuccess(programTypes));\r\n })\r\n .finally(() =>\r\n dispatch(loadingActions.unsetLoading(types.GET_PROGRAM_TYPES))\r\n );\r\n };\r\n}\r\n","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport routes from '../../../routing/routes';\r\nimport { connect } from 'react-redux';\r\nimport {\r\n savePartner,\r\n getPartner\r\n} from '../../Shared/Partners/managePartnerActions';\r\nimport ManagePartnerForm from '../../Shared/Partners/ManagePartnerForm';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport { getStatesList } from '../../States/stateActions';\r\nimport selectors from './addPartnerPageSelectors';\r\nimport CardInfo from '../../../components/CardInfo/CardInfo';\r\nimport { getProgramTypes } from '../../ProgramTypes/programTypeActions';\r\n\r\nfunction AddPartnerPage({\r\n savePartner,\r\n history,\r\n isLoading,\r\n getStates,\r\n states,\r\n partner,\r\n getPartner,\r\n getProgramTypes,\r\n programTypes\r\n}) {\r\n useEffect(() => {\r\n getPartner();\r\n getStates();\r\n getProgramTypes();\r\n }, []);\r\n function handleSave(partner) {\r\n savePartner(partner.toJS()).then(() => {\r\n history.push(routes.partners.path);\r\n });\r\n }\r\n return isLoading ?\r\n (\r\n \r\n )\r\n : (\r\n
\r\n

Add Partner

\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n );\r\n}\r\n\r\nAddPartnerPage.propTypes = {\r\n history: PropTypes.object.isRequired,\r\n isLoading: PropTypes.bool.isRequired,\r\n savePartner: PropTypes.func.isRequired,\r\n getPartner: PropTypes.func.isRequired,\r\n states: PropTypes.object.isRequired,\r\n getStates: PropTypes.func.isRequired,\r\n partner: PropTypes.object.isRequired,\r\n programTypes: PropTypes.object.isRequired,\r\n getProgramTypes: PropTypes.func.isRequired,\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n savePartner,\r\n getPartner,\r\n getStates: getStatesList,\r\n getProgramTypes\r\n};\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default connectStateToProps(AddPartnerPage);\r\n","import { createSelector } from 'reselect';\r\n\r\nconst getIsGroupMembershipAddedToPartner = (state) => {\r\n return state.partnerOwnerAreaReducer.get('isGroupMembershipAddedToPartner');\r\n};\r\n\r\nconst checkShouldRedirect = createSelector(\r\n [getIsGroupMembershipAddedToPartner],\r\n (isGroupMembershipAddedToPartner) => {\r\n return isGroupMembershipAddedToPartner !== undefined;\r\n }\r\n);\r\n\r\nconst getRoutes = (state, props) => {\r\n return props.currentRoute.routes;\r\n};\r\n\r\nexport default createSelector(\r\n [\r\n checkShouldRedirect,\r\n getRoutes,\r\n getIsGroupMembershipAddedToPartner\r\n ],\r\n (shouldRedirect, filteredRoutes, isGroupMembershipAddedToPartner) => ({\r\n shouldRedirect, filteredRoutes, isGroupMembershipAddedToPartner\r\n })\r\n);\r\n","import React, { Component } from 'react';\r\nimport classNames from 'classnames';\r\nimport { NavLink } from 'react-router-dom';\r\nimport PropTypes from 'prop-types';\r\nimport { SPACE } from '../../constants/keyCodes';\r\nimport './_tabs.scss';\r\n\r\nclass NavigationTabControl extends Component {\r\n constructor(props) {\r\n super(props);\r\n\r\n this.handleKeyPress = this.handleKeyPress.bind(this);\r\n }\r\n\r\n handleKeyPress(event, tab) {\r\n if (event.which === SPACE) {\r\n event.preventDefault();\r\n this.props.onNavigate(tab.path);\r\n }\r\n }\r\n\r\n render() {\r\n const tabs = this.props.tabs.filter(\r\n tab => !tab.isHiddenOnUI\r\n );\r\n\r\n return (\r\n
\r\n
    \r\n {tabs.map(tab => (\r\n this.handleKeyPress(event, tab)}\r\n activeClassName=\"tabs__item_active\"\r\n >\r\n {tab.displayName}\r\n \r\n ))}\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nNavigationTabControl.defaultProps = {\r\n onNavigate: () => { },\r\n};\r\n\r\nNavigationTabControl.propTypes = {\r\n children: PropTypes.node,\r\n onNavigate: PropTypes.func,\r\n tabs: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n id: PropTypes.string.isRequired,\r\n displayName: PropTypes.string,\r\n path: PropTypes.string,\r\n })\r\n ),\r\n};\r\n\r\nexport default NavigationTabControl;\r\n","export const SPACE = 32;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Redirect } from 'react-router-dom';\r\nimport { routeType } from '../routing/routes';\r\n\r\nconst ConditionalRedirect = ({ condition, fromRoute, toRoute }) => {\r\n return condition ?\r\n (\r\n \r\n )\r\n : (\r\n ''\r\n );\r\n};\r\n\r\nConditionalRedirect.propTypes = {\r\n condition: PropTypes.bool.isRequired,\r\n fromRoute: routeType,\r\n toRoute: routeType,\r\n};\r\n\r\nexport default ConditionalRedirect;\r\n","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\n\r\nexport default {\r\n getBankingInfo: partnerId =>\r\n http.get(API_PATHS.partnerBankingInfo, { params: { partnerId } }),\r\n updateBankingInfo: bankingInfo =>\r\n http.post(API_PATHS.partnerBankingInfo, bankingInfo.toJS()),\r\n getBankAccountDetails: payeeToken =>\r\n http.get(API_PATHS.partnerBankAccountDetails, { params: { payeeToken } }),\r\n};\r\n","import {\r\n GET_BANKING_INFO,\r\n GET_BANKING_INFO_SUCCESS,\r\n UPDATE_BANKING_INFO,\r\n SET_BANK_ACCOUNT\r\n} from './partnerBankingInfoTypes';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport PartnerBankingInfoService from './partnerBankingInfoService';\r\n\r\nconst getBankingInfoSuccess = bankingInfo => ({\r\n type: GET_BANKING_INFO_SUCCESS,\r\n payload: {\r\n bankingInfo\r\n }\r\n});\r\n\r\nconst setBankAccount = bankAccount => ({\r\n type: SET_BANK_ACCOUNT,\r\n payload: {\r\n bankAccount\r\n }\r\n});\r\n\r\nconst getBankingInfo = partnerId => (dispatch, getState) => {\r\n dispatch(loadingActions.setLoading(GET_BANKING_INFO));\r\n\r\n PartnerBankingInfoService.getBankingInfo(partnerId)\r\n .then((bankingInfo) => {\r\n dispatch(getBankingInfoSuccess(bankingInfo));\r\n dispatch(loadingActions.unsetLoading(GET_BANKING_INFO));\r\n })\r\n .catch(() => {\r\n dispatch(loadingActions.unsetLoading(GET_BANKING_INFO));\r\n });\r\n};\r\n\r\nconst getBankAccountDetails = payeeToken => (dispatch, getState) => {\r\n dispatch(loadingActions.setLoading(SET_BANK_ACCOUNT));\r\n\r\n PartnerBankingInfoService.getBankAccountDetails(payeeToken)\r\n .then((bankingAccount) => {\r\n dispatch(setBankAccount(bankingAccount));\r\n dispatch(loadingActions.unsetLoading(SET_BANK_ACCOUNT));\r\n })\r\n .catch(() => {\r\n dispatch(loadingActions.unsetLoading(SET_BANK_ACCOUNT));\r\n });\r\n};\r\n\r\nconst submit = bankingInfo => (dispatch, getState) => {\r\n dispatch(loadingActions.setLoading(UPDATE_BANKING_INFO));\r\n\r\n PartnerBankingInfoService.updateBankingInfo(bankingInfo)\r\n .then((result) => {\r\n dispatch(getBankingInfoSuccess(result.data));\r\n dispatch(setBankAccount(undefined));\r\n dispatch(loadingActions.unsetLoading(UPDATE_BANKING_INFO));\r\n })\r\n .catch(() => {\r\n dispatch(loadingActions.unsetLoading(UPDATE_BANKING_INFO));\r\n });\r\n};\r\n\r\nexport const resetBankAccount = () => (dispatch) => {\r\n dispatch(setBankAccount(undefined));\r\n};\r\n\r\nexport default {\r\n getBankingInfo,\r\n submit,\r\n getBankAccountDetails\r\n};\r\n","import React, { useEffect } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport { Switch, generatePath } from 'react-router-dom';\r\nimport selectors from './partnerInfoSelectors';\r\nimport NavigationTabControl from '../../components/NavigationTabControl/NavigationTabControl';\r\nimport routes, { routeType } from '../../routing/routes';\r\nimport ConditionalRedirect from '../../routing/conditionalRedirect';\r\nimport CustomRoute from '../../layouts/CustomRoute';\r\nimport { resetBankAccount } from './BankingInfo/partnerBankingInfoActions';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\n\r\nfunction PartnerInfoPage({ match, history, currentRoute, filteredRoutes, shouldRedirect, resetBankAccount, isGroupMembershipAddedToPartner }) {\r\n useEffect(() => {\r\n resetBankAccount();\r\n }, []);\r\n const { gmrAddProgram } = useFlags();\r\n const conditionedRoutes = currentRoute.routes.filter(\r\n (route) => {\r\n switch (route.path) {\r\n case routes.partnerBankingInfo.path:\r\n return !gmrAddProgram && isGroupMembershipAddedToPartner;\r\n case routes.partnerBillingInfo.path:\r\n return gmrAddProgram;\r\n default:\r\n return true;\r\n }\r\n }\r\n );\r\n const routesForNavigation = conditionedRoutes.map((route) => {\r\n return { ...route, path: generatePath(route.path, match.params) };\r\n });\r\n return
\r\n

Partner Information

\r\n \r\n \r\n {filteredRoutes.map((route, i) => (\r\n \r\n ))}\r\n\r\n \r\n \r\n
;\r\n};\r\n\r\nPartnerInfoPage.propTypes = {\r\n match: PropTypes.object.isRequired,\r\n history: PropTypes.shape({\r\n push: PropTypes.func.isRequired\r\n }).isRequired,\r\n currentRoute: routeType.isRequired,\r\n shouldRedirect: PropTypes.bool,\r\n filteredRoutes: PropTypes.arrayOf(routeType),\r\n resetBankAccount: PropTypes.func.isRequired,\r\n isGroupMembershipAddedToPartner: PropTypes.bool\r\n};\r\n\r\nexport default connect(selectors, { resetBankAccount })(PartnerInfoPage);\r\n","import { createSelector } from 'reselect';\r\nimport {\r\n SAVE_PARTNER,\r\n GET_PARTNER\r\n} from '../../Shared/Partners/managePartnerTypes';\r\nimport { GET_PROGRAM_TYPES } from '../../ProgramTypes/programTypeTypes';\r\nimport { GET_STATES_LIST } from '../../States/stateTypes';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i => i === SAVE_PARTNER ||\r\n\t\t\t\ti === GET_PARTNER ||\r\n\t\t\t\ti === GET_PROGRAM_TYPES ||\r\n\t\t\t\ti === GET_STATES_LIST\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\nconst getPartner = state => state.managePartnerReducer.get('partner');\r\nconst getStates = state => state.stateReducer.get('states');\r\nconst getProgramTypes = state => state.programTypeReducer.get('programTypes');\r\n\r\nexport default createSelector(\r\n [getIsLoading, getPartner, getStates, getProgramTypes],\r\n (isLoading, partner, states, programTypes) => ({\r\n isLoading,\r\n partner,\r\n states,\r\n programTypes,\r\n })\r\n);\r\n","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport {\r\n savePartner\r\n} from '../../Shared/Partners/managePartnerActions';\r\nimport ManagePartnerForm from '../../Shared/Partners/ManagePartnerForm';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport { getStatesList } from '../../States/stateActions';\r\nimport selectors from './generalInfoSelectors';\r\nimport CardInfo from '../../../components/CardInfo/CardInfo';\r\nimport { getProgramTypes } from '../../ProgramTypes/programTypeActions';\r\n\r\nfunction GeneralInfoTab({\r\n savePartner,\r\n isLoading,\r\n getStates,\r\n states,\r\n partner,\r\n getProgramTypes,\r\n programTypes,\r\n history\r\n}) {\r\n useEffect(() => {\r\n getStates();\r\n getProgramTypes();\r\n }, []);\r\n\r\n function handleSave(partner) {\r\n savePartner(partner.toJS());\r\n }\r\n return isLoading ?\r\n (\r\n \r\n )\r\n : (\r\n \r\n
\r\n \r\n
\r\n
\r\n );\r\n}\r\n\r\nGeneralInfoTab.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n savePartner: PropTypes.func.isRequired,\r\n states: PropTypes.object.isRequired,\r\n getStates: PropTypes.func.isRequired,\r\n partner: PropTypes.object.isRequired,\r\n getProgramTypes: PropTypes.func.isRequired,\r\n programTypes: PropTypes.object.isRequired,\r\n history: PropTypes.object.isRequired,\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n savePartner,\r\n getStates: getStatesList,\r\n getProgramTypes\r\n};\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default connectStateToProps(GeneralInfoTab);\r\n","import { createSelector } from 'reselect';\r\nimport {\r\n GET_BANKING_INFO,\r\n UPDATE_BANKING_INFO\r\n} from './partnerBankingInfoTypes';\r\nimport roles from '../../../enums/roles';\r\n\r\nexport const getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i => i === GET_BANKING_INFO || i === UPDATE_BANKING_INFO\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\n\r\nconst getMe = state => state.app.get('me');\r\n\r\nexport const getBankingInfoSelector = state =>\r\n state.partnerBankingInfoReducer.get('bankingInfo');\r\n\r\nconst getPayeeToken = (state) => {\r\n return state.partnerBankingInfoReducer.getIn(['bankingInfo', 'bankAccount', 'payeeToken']);\r\n};\r\nconst getAccountNumber = (state) => {\r\n return state.partnerBankingInfoReducer.getIn(['bankAccount', 'accountNumber']);\r\n};\r\n\r\nconst getRoutingNumber = (state) => {\r\n return state.partnerBankingInfoReducer.getIn(['bankAccount', 'routingNumber']);\r\n};\r\n\r\nconst getIsAdmin = createSelector(\r\n [getMe], (me) => {\r\n return me.role === roles.systemAdmin;\r\n }\r\n);\r\n\r\nexport default createSelector(\r\n [getIsLoading, getBankingInfoSelector, getPayeeToken, getAccountNumber, getRoutingNumber, getIsAdmin],\r\n (isLoading, bankingInfo, payeeToken, accountNumber, routingNumber, isAdmin) => ({\r\n isLoading,\r\n bankingInfo,\r\n payeeToken,\r\n accountNumber,\r\n routingNumber,\r\n isAdmin\r\n })\r\n);\r\n","import React, { useMemo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { FormControl, FormLabel, FormControlLabel, RadioGroup, Radio, FormHelperText } from '@material-ui/core';\r\nimport './_mui-radio-group.scss';\r\n\r\nexport function MuiRadioGroup({ label, options, input, meta, disabled }) {\r\n const { value, name, onChange } = input;\r\n const { error, touched } = meta;\r\n const showError = (error && touched) || false;\r\n const labelId = `${label}-label`;\r\n const stringValue = useMemo(() => {\r\n if (value !== null || value !== undefined) {\r\n return input.value.toString();\r\n }\r\n return value;\r\n }, [value]);\r\n return \r\n {label}\r\n \r\n {\r\n options.map(option =>\r\n }\r\n {...option}\r\n />\r\n )\r\n }\r\n \r\n {showError ? error : ''}\r\n ;\r\n}\r\n\r\nMuiRadioGroup.propTypes = {\r\n label: PropTypes.string.isRequired,\r\n input: PropTypes.object.isRequired,\r\n options: PropTypes.array.isRequired,\r\n meta: PropTypes.object.isRequired,\r\n disabled: PropTypes.bool\r\n};","const bankAccountTypes = Object.freeze({\r\n Checking: 0,\r\n Savings: 1\r\n});\r\n\r\nexport default bankAccountTypes;\r\n","import bankAccountTypes from '../../../enums/bankAccountTypes';\r\n\r\nconst BankingInfoResources = {\r\n routingNumberLabel: 'Routing Number',\r\n accountNumberLabel: 'Account Number',\r\n accountTypeLabel: 'Account Type',\r\n payeeTokenLabel: 'Payee Token',\r\n retrieveButtonLabel: 'Retrieve',\r\n linkButtonNext: 'Next',\r\n linkButtonPrevious: 'Back',\r\n warningBoxDescription: 'Your privacy, and compliance to HIPAA & PCI requirements are of the utmost importance. It is with industry leading technology safeguards we protect your information from the moment its types in and on through our Web and processing systems. We feel these extensive privacy features gives everyone peace of mind.',\r\n descriptionForWithdrawalBankingInfo: 'Please provide your payment information to pay for your monthly membership dues',\r\n descriptionForDepositinfoBankingInfo: 'Please provide your deposit bank account to receive reimbursements',\r\n labelSavings: 'Savings',\r\n labelChecking: 'Checking',\r\n labelCurrentLinkedAccount: 'Current linked account',\r\n fieldRoutingNumber: 'routingNumber',\r\n fieldAccountNumber: 'accountNumber',\r\n fieldPayeeToken: 'payeeToken',\r\n fieldBankAccountType: 'bankAccountType',\r\n buttonRetrieve: 'Retrieve',\r\n warningBoxTitle: 'Please, know',\r\n checkboxLabel: 'Use the same bank account as for withdrawals',\r\n fieldCheckbox: 'IsSameAsWithdrawal'\r\n};\r\nexport const BankAccountTypeOptions = Object.freeze([\r\n {\r\n id: 'account_type_savings',\r\n label: BankingInfoResources.labelSavings,\r\n value: bankAccountTypes.Savings.toString()\r\n },\r\n {\r\n id: 'account_type_checking',\r\n label: BankingInfoResources.labelChecking,\r\n value: bankAccountTypes.Checking.toString()\r\n }\r\n]);\r\nexport default BankingInfoResources;","import validationRules from '../../../utilities/validationRules';\r\nimport BankingInfoResources from './bankingInfoResources';\r\n\r\nexport const routingNumberRequired = validationRules.required(\r\n BankingInfoResources.routingNumberLabel\r\n);\r\nexport const routingNumberNumeric = validationRules.numericOrEmpty(\r\n BankingInfoResources.routingNumberLabel\r\n);\r\nexport const routingNumberLength = validationRules.length(\r\n BankingInfoResources.routingNumberLabel,\r\n 9,\r\n 9\r\n);\r\nexport const routingNumberSpecialCombination = (\r\n value,\r\n allValues,\r\n formProps\r\n) => {\r\n const errorMessage = 'The Routing Number field is invalid.';\r\n\r\n if (value.length !== 9) return errorMessage;\r\n\r\n const numbers = value.split('').map(Number);\r\n\r\n const firstSum = 3 * (numbers[0] + numbers[3] + numbers[6]);\r\n const secondSum = 7 * (numbers[1] + numbers[4] + numbers[7]);\r\n const thirdSum = numbers[2] + numbers[5] + numbers[8];\r\n\r\n return (firstSum + secondSum + thirdSum) % 10 === 0\r\n ? undefined\r\n : errorMessage;\r\n};\r\n\r\nexport const accountNumberRequired = validationRules.required(\r\n BankingInfoResources.accountNumberLabel\r\n);\r\nexport const accountNumberNumericWithWildcard = validationRules.numericOrEmptyWithWildcard(\r\n BankingInfoResources.accountNumberLabel,\r\n 'x'\r\n);\r\nexport const accountNumberNumeric = validationRules.numericOrEmpty(\r\n BankingInfoResources.accountNumberLabel\r\n);\r\nexport const accountNumberLength = validationRules.length(\r\n BankingInfoResources.accountNumberLabel,\r\n 4,\r\n 17\r\n);\r\n\r\nexport const accountTypeRequired = validationRules.required('Account Type');\r\n","import React, { useState, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Map } from 'immutable';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport { defaultFormProperties } from '../../../utilities/form';\r\nimport { MuiInputText } from '../../../components/controls/MuiInputText';\r\nimport MuiButton from '../../../components/controls/MuiButton';\r\nimport FormGroup from '../../../components/controls/FormGroup';\r\nimport { MuiRadioGroup } from '../../../components/controls/MuiRadioGroup';\r\nimport BankingInfoResources, { BankAccountTypeOptions } from './bankingInfoResources';\r\nimport {\r\n routingNumberRequired,\r\n routingNumberNumeric,\r\n routingNumberLength,\r\n routingNumberSpecialCombination,\r\n accountNumberRequired,\r\n accountNumberNumericWithWildcard,\r\n accountNumberLength,\r\n accountTypeRequired\r\n} from './validate';\r\nimport resources from '../../Shared/resources';\r\n\r\nfunction BankingInfoForm({ handleSubmit, submitting, pristine, payeeToken, getBankAccountDetails, accountNumber, routingNumber, isAdmin, initialValues }) {\r\n const [inputsDisabled, setInputsDisabled] = useState(false);\r\n const [accountNumberExists, setAccountNumberExists] = useState(false);\r\n useEffect(() => {\r\n setInputsDisabled(initialValues.get('bankAccountRequest') &&\r\n !initialValues.getIn([\r\n 'bankAccountRequest',\r\n 'bankAccountEditingAllowed'\r\n ]));\r\n setAccountNumberExists(accountNumber || initialValues.getIn(['bankAccount', 'accountNumber']));\r\n }, [initialValues, accountNumber]);\r\n return (\r\n \r\n {isAdmin\r\n ?\r\n
\r\n
\r\n
\r\n \r\n {payeeToken && (\r\n
\r\n

{payeeToken}

\r\n getBankAccountDetails(payeeToken)}\r\n >\r\n {BankingInfoResources.retrieveButtonLabel}\r\n \r\n
\r\n )}\r\n {accountNumberExists && (
\r\n

{BankingInfoResources.routingNumberLabel}: {routingNumber}

\r\n

{BankingInfoResources.accountNumberLabel}: {accountNumber}

\r\n
)}\r\n
\r\n
\r\n
\r\n :\r\n <>\r\n {accountNumberExists && (\r\n
\r\n
\r\n {BankingInfoResources.labelCurrentLinkedAccount}\r\n
\r\n
\r\n )}\r\n \r\n }\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n {resources.updateButtonText}\r\n \r\n
\r\n
\r\n );\r\n}\r\n\r\nBankingInfoForm.propTypes = {\r\n handleSubmit: PropTypes.func.isRequired,\r\n initialValues: PropTypes.instanceOf(Map).isRequired,\r\n submitting: PropTypes.bool,\r\n pristine: PropTypes.bool,\r\n payeeToken: PropTypes.string,\r\n getBankAccountDetails: PropTypes.func,\r\n accountNumber: PropTypes.string,\r\n routingNumber: PropTypes.string,\r\n isAdmin: PropTypes.bool\r\n};\r\n\r\nexport default reduxForm({\r\n ...defaultFormProperties\r\n})(BankingInfoForm);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './_additional-details.scss';\r\n\r\nconst AdditionalDetails = ({ title, text, icon }) => {\r\n return (\r\n
\r\n
\r\n {icon}\r\n
\r\n
\r\n {title &&

{title}

}\r\n \r\n {text}\r\n \r\n
\r\n
\r\n );\r\n};\r\n\r\nAdditionalDetails.propTypes = {\r\n title: PropTypes.string,\r\n text: PropTypes.string,\r\n icon: PropTypes.element\r\n};\r\n\r\nexport default AdditionalDetails;\r\n","import React from 'react';\r\nimport AdditionalDetails from '../../../components/AdditionalDetails/AdditionalDetails';\r\nimport Icon from '../../../components/Icon/Icon';\r\nimport { Attention } from '../../../components/Icon/Icons';\r\n\r\nfunction BankingInfoSecurityNote() {\r\n return (\r\n } />}\r\n title=\"Please, know\"\r\n text=\"Your privacy, and compliance to HIPAA & PCI requirements are of the utmost importance. It is with industry leading technology safeguards we protect your information from the moment its typed in and on through our Web and processing systems. We feel these extensive privacy features gives everyone peace of mind.\"\r\n />\r\n );\r\n}\r\n\r\nexport default BankingInfoSecurityNote;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nfunction BankingInfoStatus({ bankingInfo }) {\r\n const bankAccount = bankingInfo.get('bankAccount');\r\n if (!bankAccount) {\r\n return (\r\n
\r\n\t\t\t\tBanking information is required. Please, update!\r\n
\r\n );\r\n }\r\n return <>;\r\n}\r\n\r\nBankingInfoStatus.propTypes = {\r\n bankingInfo: PropTypes.oneOfType([PropTypes.object, PropTypes.node]).isRequired\r\n};\r\n\r\nexport default BankingInfoStatus;\r\n","import React, { Fragment, useEffect } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport selectors from './partnerBankingInfoSelectors';\r\nimport actions from './partnerBankingInfoActions';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport CardInfo from '../../../components/CardInfo/CardInfo';\r\nimport InfoBox from '../../../components/InfoBox/InfoBox';\r\nimport BankingInfoForm from '../../Shared/BankingInfo/BankingInfoForm';\r\nimport BankingInfoSecurityNote from '../../Shared/BankingInfo/BankingInfoSecurityNote';\r\nimport BankingInfoStatus from '../../Shared/BankingInfo/BankingInfoStatus';\r\nimport '../../Shared/BankingInfo/_banking-info.scss';\r\n\r\nfunction PartnerBankingInfoTab({\r\n match,\r\n isLoading,\r\n submit,\r\n bankingInfo,\r\n getBankingInfo,\r\n getBankAccountDetails,\r\n payeeToken,\r\n accountNumber,\r\n routingNumber,\r\n isAdmin\r\n}) {\r\n useEffect(() => {\r\n getBankingInfo(match.params.partnerId);\r\n }, []);\r\n\r\n return (\r\n
\r\n {isLoading ?\r\n (\r\n \r\n )\r\n : (\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n {\r\n \r\n }\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n )}\r\n
\r\n );\r\n}\r\n\r\nPartnerBankingInfoTab.propTypes = {\r\n match: PropTypes.object.isRequired,\r\n getBankingInfo: PropTypes.func.isRequired,\r\n submit: PropTypes.func.isRequired,\r\n isLoading: PropTypes.bool.isRequired,\r\n bankingInfo: PropTypes.object.isRequired,\r\n payeeToken: PropTypes.string,\r\n getBankAccountDetails: PropTypes.func,\r\n accountNumber: PropTypes.string,\r\n routingNumber: PropTypes.string,\r\n isAdmin: PropTypes.bool\r\n};\r\n\r\nexport default connect(selectors, actions)(PartnerBankingInfoTab);\r\n","const partnerBillingTypes = Object.freeze({\r\n ACHPaymentToHC: 1,\r\n DirectFromBankAccount: 2\r\n});\r\nexport const partnerBillingTypesNamesMap = Object.freeze({\r\n [partnerBillingTypes.ACHPaymentToHC]: 'ACH payment to HC',\r\n [partnerBillingTypes.DirectFromBankAccount]: 'Direct from Bank Account'\r\n});\r\nexport default partnerBillingTypes;\r\n","const PartnerBillingInfoResources = {\r\n labelBillingType: 'Billing Type',\r\n titleWithdrawalFromBankingInfo: 'Withdrawal from banking info',\r\n formPartnerBillingInfo: 'partnerBillingInfoForm',\r\n fieldPartnerBillingTypeID: 'partnerBillingTypeID',\r\n bankAccountModelName: 'bankAccount'\r\n};\r\n\r\nexport default PartnerBillingInfoResources;\r\n","import { createSelector } from 'reselect';\r\nimport { formValueSelector } from 'redux-form';\r\nimport {\r\n GET_BILLING_INFO,\r\n GET_PAYMENT_TYPES_LIST,\r\n UPDATE_BILLING_INFO,\r\n GET_BANK_ACCOUNT_DETAILS\r\n} from './partnerBillingInfoTypes';\r\nimport partnerBillingTypes from '../../../enums/partnerBillingTypes';\r\nimport partnerBillingInfoResources from './partnerBillingInfoResources';\r\n\r\nexport const getIsLoading = (state) => {\r\n return state.loadingReducer.get('loadings').filter(\r\n i => i === GET_BILLING_INFO || i === GET_PAYMENT_TYPES_LIST || i === UPDATE_BILLING_INFO || i === GET_BANK_ACCOUNT_DETAILS\r\n ).size > 0;\r\n};\r\n\r\nexport const getBillingInfoSelector = state => state.partnerBillingInfoReducer.get('billingInfo');\r\nexport const getPaymentTypesListSelector = state => state.partnerBillingInfoReducer.get('paymentTypesList');\r\n\r\nconst getPayeeToken = createSelector([getBillingInfoSelector], billingInfo => billingInfo.getIn(['bankAccount', 'payeeToken']));\r\nconst getAccountNumber = state => state.partnerBillingInfoReducer.getIn(['bankAccountDetails', 'accountNumber']);\r\nconst getRoutingNumber = state => state.partnerBillingInfoReducer.getIn(['bankAccountDetails', 'routingNumber']);\r\n\r\nconst formSelector = formValueSelector(partnerBillingInfoResources.formPartnerBillingInfo, state => state.form.toJS());\r\nconst getPartnerBillingTypeID = state => formSelector(state, partnerBillingInfoResources.fieldPartnerBillingTypeID);\r\nconst getIsWithdrawalInfoVisible = createSelector([getPartnerBillingTypeID],\r\n partnerBillingTypeID => partnerBillingTypeID === partnerBillingTypes.DirectFromBankAccount);\r\n\r\nexport default createSelector(\r\n [getIsLoading, getBillingInfoSelector, getPaymentTypesListSelector, getIsWithdrawalInfoVisible, getPayeeToken, getAccountNumber, getRoutingNumber],\r\n (isLoading, billingInfo, paymentTypesList, isWithdrawalInfoVisible, payeeToken, accountNumber, routingNumber) => ({\r\n isLoading,\r\n billingInfo,\r\n paymentTypesList,\r\n isWithdrawalInfoVisible,\r\n payeeToken,\r\n accountNumber,\r\n routingNumber\r\n })\r\n);\r\n","import React, { useState, useEffect, useMemo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { InputLabel, MenuItem, Select, FormControl, FormHelperText } from '@material-ui/core';\r\nimport { withStyles } from '@material-ui/core/styles';\r\nimport './_muiinput.scss';\r\nimport styles from './_muiinput.module.scss';\r\n\r\nconst classes = {\r\n root: {\r\n '& .MuiOutlinedInput-root.Mui-disabled': {\r\n '& .MuiOutlinedInput-notchedOutline': {\r\n border: 'none',\r\n 'border-color': 'transparent'\r\n }\r\n }\r\n },\r\n};\r\n\r\nfunction MuiInputSelect(props) {\r\n const {\r\n meta = {},\r\n input = {},\r\n label,\r\n addAsteriskToLabel,\r\n variant,\r\n defaultValue,\r\n options,\r\n id,\r\n labelId,\r\n getOptionLabel,\r\n getOptionValue,\r\n disabled,\r\n fullWidth,\r\n placeholder,\r\n readOnly,\r\n iconComponent,\r\n classes,\r\n hideValidationMessage\r\n } = props;\r\n useEffect(() => {\r\n setTouched(meta.touched);\r\n }, [meta.touched]);\r\n const muiLabel = useMemo(() => {\r\n return addAsteriskToLabel ? `${label} *` : label;\r\n }, [addAsteriskToLabel]);\r\n const [touched, setTouched] = useState(false);\r\n const { value, onChange, name } = input;\r\n const { error } = meta;\r\n const [open, setOpen] = useState(false);\r\n const showError = error && touched;\r\n const handleClose = () => {\r\n setOpen(false);\r\n setTouched(true);\r\n };\r\n const handleOpen = () => {\r\n setOpen(true);\r\n };\r\n return
\r\n \r\n {muiLabel}\r\n null : iconComponent}\r\n className={readOnly ? styles.input_readOnly : ''}\r\n classes={{\r\n select: disabled ? styles.select_input_disabled : '',\r\n icon: disabled ? styles.select_icon_disabled : ''\r\n }}\r\n inputProps={{\r\n readOnly,\r\n className: readOnly ? styles.input_readOnly : ''\r\n }}\r\n MenuProps={{\r\n getContentAnchorEl: null,\r\n anchorOrigin: {\r\n vertical: 'bottom',\r\n horizontal: 'left',\r\n },\r\n transformOrigin: {\r\n vertical: 'top',\r\n horizontal: 'left',\r\n },\r\n classes: { paper: styles.paper }\r\n }}\r\n >\r\n {placeholder !== undefined && (\r\n \r\n {placeholder}\r\n \r\n )}\r\n {options.map(option => (\r\n \r\n {getOptionLabel(option)}\r\n \r\n ))}\r\n \r\n {!hideValidationMessage && showError && (\r\n {error}\r\n )}\r\n \r\n
;\r\n}\r\n\r\nMuiInputSelect.defaultProps = {\r\n addAsteriskToLabel: false,\r\n variant: 'outlined',\r\n disabled: false,\r\n fullWidth: true,\r\n readOnly: false\r\n};\r\n\r\nMuiInputSelect.propTypes = {\r\n labelId: PropTypes.string,\r\n label: PropTypes.string,\r\n onChange: PropTypes.func,\r\n onBlur: PropTypes.func,\r\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n defaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n id: PropTypes.string,\r\n error: PropTypes.string,\r\n touched: PropTypes.bool,\r\n disabled: PropTypes.bool,\r\n addAsteriskToLabel: PropTypes.bool,\r\n meta: PropTypes.object,\r\n input: PropTypes.object,\r\n variant: PropTypes.string,\r\n options: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),\r\n getOptionValue: PropTypes.func,\r\n getOptionLabel: PropTypes.func,\r\n fullWidth: PropTypes.bool,\r\n placeholder: PropTypes.string,\r\n readOnly: PropTypes.bool,\r\n iconComponent: PropTypes.elementType,\r\n classes: PropTypes.object,\r\n hideValidationMessage: PropTypes.bool\r\n};\r\n\r\nexport default withStyles(classes)(MuiInputSelect);","import validationRules from '../../../utilities/validationRules';\r\nimport partnerBillingInfoResources from './partnerBillingInfoResources';\r\n\r\nexport const partnerBillingTypeRequired = validationRules.required(\r\n partnerBillingInfoResources.labelBillingType\r\n);\r\n\r\nexport const routingNumberRequired = validationRules.required(\r\n partnerBillingInfoResources.labelRoutingNumber\r\n);\r\n\r\nexport const accountNumberRequired = validationRules.required(\r\n partnerBillingInfoResources.labelAccountNumber\r\n);\r\n\r\nexport const accountTypeRequired = validationRules.required(\r\n partnerBillingInfoResources.labelAccountType\r\n);","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\nimport { replaceRouteParams } from '../../../utilities/routeHelper';\r\n\r\nexport function getBillingInfo(partnerId) {\r\n return http.get(replaceRouteParams(API_PATHS.partnerBillingInfo, partnerId));\r\n}\r\n\r\nexport function getPaymentTypesList() {\r\n return http.get(API_PATHS.partnerBillingTypes);\r\n}\r\n\r\nexport function updateBillingInfo(partnerId, billingInfo) {\r\n return http.patch(replaceRouteParams(API_PATHS.updatePartnerBillingInfo, partnerId), billingInfo);\r\n}\r\n\r\nexport function getBankAccountDetails(payeeToken) {\r\n return http.get(API_PATHS.partnerBankAccountDetails, { params: { payeeToken } });\r\n}","import {\r\n GET_BILLING_INFO,\r\n SET_BILLING_INFO,\r\n GET_PAYMENT_TYPES_LIST,\r\n SET_PAYMENT_TYPES_LIST,\r\n UPDATE_BILLING_INFO,\r\n GET_BANK_ACCOUNT_DETAILS,\r\n SET_BANK_ACCOUNT_DETAILS\r\n} from './partnerBillingInfoTypes';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport * as PartnerBillingInfoService from './partnerBillingInfoService';\r\nimport partnerBillingTypes from '../../../enums/partnerBillingTypes';\r\n\r\nconst setBillingInfo = billingInfo => ({\r\n type: SET_BILLING_INFO,\r\n payload: {\r\n billingInfo\r\n }\r\n});\r\n\r\nconst setPaymentTypesList = paymentTypesList => ({\r\n type: SET_PAYMENT_TYPES_LIST,\r\n payload: {\r\n paymentTypesList\r\n }\r\n});\r\n\r\nconst setBankAccountDetails = bankAccountDetails => ({\r\n type: SET_BANK_ACCOUNT_DETAILS,\r\n payload: {\r\n bankAccountDetails\r\n }\r\n});\r\n\r\nexport const getBillingInfo = partnerId => (dispatch) => {\r\n dispatch(loadingActions.setLoading(GET_BILLING_INFO));\r\n return PartnerBillingInfoService.getBillingInfo(partnerId)\r\n .then((billingInfo) => {\r\n dispatch(setBillingInfo(billingInfo));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(GET_BILLING_INFO));\r\n });\r\n};\r\n\r\nexport const getPaymentTypesList = () => (dispatch) => {\r\n dispatch(loadingActions.setLoading(GET_PAYMENT_TYPES_LIST));\r\n return PartnerBillingInfoService.getPaymentTypesList()\r\n .then((paymentTypesList) => {\r\n dispatch(setPaymentTypesList(paymentTypesList));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(GET_PAYMENT_TYPES_LIST));\r\n });\r\n};\r\n\r\nexport const updateBillingInfo = (partnerId, billingInfo) => (dispatch) => {\r\n dispatch(loadingActions.setLoading(UPDATE_BILLING_INFO));\r\n if (billingInfo.partnerBillingTypeID === partnerBillingTypes.ACHPaymentToHC) {\r\n billingInfo.bankAccount = null;\r\n }\r\n return PartnerBillingInfoService.updateBillingInfo(partnerId, billingInfo)\r\n .then(() => {\r\n return PartnerBillingInfoService.getBillingInfo(partnerId)\r\n .then((billingInfo) => {\r\n dispatch(setBillingInfo(billingInfo));\r\n dispatch(setBankAccountDetails(undefined));\r\n });\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(UPDATE_BILLING_INFO));\r\n });\r\n};\r\n\r\nexport const getBankAccountDetails = payeeToken => (dispatch) => {\r\n dispatch(loadingActions.setLoading(GET_BANK_ACCOUNT_DETAILS));\r\n return PartnerBillingInfoService.getBankAccountDetails(payeeToken)\r\n .then((bankAccountDetails) => {\r\n dispatch(setBankAccountDetails(bankAccountDetails));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(GET_BANK_ACCOUNT_DETAILS));\r\n });\r\n};","import React, { useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport './_mui-info-box.scss';\r\nimport MaterialIcon from '../MaterialIcon/MaterialIcon';\r\nimport { Accordion, AccordionSummary, AccordionDetails } from '@material-ui/core';\r\n\r\nconst MuiInfoBox = (props) => {\r\n const {\r\n title, className, onEdit, name, bordered, defaultExpanded, showEditButton, expandable\r\n } = props;\r\n const [expanded, setExpanded] = useState(defaultExpanded);\r\n\r\n const handleClick = (event) => {\r\n event.stopPropagation();\r\n setExpanded(!expanded);\r\n };\r\n return (\r\n \r\n \r\n : undefined}\r\n id={`${name}-header\"`}\r\n >\r\n {title &&\r\n
\r\n {title}\r\n
}\r\n {showEditButton &&\r\n }\r\n \r\n \r\n {props.children}\r\n \r\n \r\n );\r\n};\r\n\r\nMuiInfoBox.defaultProps = {\r\n name: 'defaultPanelName',\r\n bordered: false,\r\n defaultExpanded: true,\r\n showEditButton: false,\r\n expandable: false\r\n};\r\n\r\nMuiInfoBox.propTypes = {\r\n name: PropTypes.string,\r\n children: PropTypes.node,\r\n title: PropTypes.string,\r\n bordered: PropTypes.bool,\r\n className: PropTypes.string,\r\n defaultExpanded: PropTypes.bool,\r\n showEditButton: PropTypes.bool,\r\n expandable: PropTypes.bool,\r\n onEdit: PropTypes.func\r\n};\r\n\r\nexport default MuiInfoBox;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Field } from 'redux-form/immutable';\r\nimport classNames from 'classnames';\r\nimport { MuiInputText } from '../../../components/controls/MuiInputText';\r\nimport BankingInfoResources from '../BankingInfo/bankingInfoResources';\r\nimport Button from '../../../components/controls/Button';\r\n\r\nfunction BankAccountInfoRetriver({ payeeToken, retrievePartnerBankAccountDetails, accountNumber, routingNumber }) {\r\n return
\r\n
\r\n \r\n {\r\n routingNumber && accountNumber ?\r\n (\r\n
\r\n
\r\n {BankingInfoResources.routingNumberLabel}:\r\n {routingNumber}\r\n
\r\n
\r\n {BankingInfoResources.accountNumberLabel}:\r\n {accountNumber}\r\n
\r\n
\r\n )\r\n : undefined\r\n }\r\n
\r\n {\r\n payeeToken ?\r\n (\r\n
\r\n \r\n {BankingInfoResources.buttonRetrieve}\r\n \r\n
\r\n )\r\n : undefined\r\n }\r\n
;\r\n}\r\n\r\nBankAccountInfoRetriver.propTypes = {\r\n payeeToken: PropTypes.string,\r\n accountNumber: PropTypes.string,\r\n routingNumber: PropTypes.string,\r\n retrievePartnerBankAccountDetails: PropTypes.func.isRequired\r\n};\r\n\r\nexport default BankAccountInfoRetriver;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Field } from 'redux-form/immutable';\r\nimport { MuiInputText } from '../../../components/controls/MuiInputText';\r\nimport BankingInfoResources, { BankAccountTypeOptions } from './bankingInfoResources';\r\nimport { MuiRadioGroup } from '../../../components/controls/MuiRadioGroup';\r\nimport * as bankingValidationRules from './validate';\r\n\r\nfunction BankAccountDetails({ buttons,\r\n bankAccountModelName,\r\n isCopyBankAccountChecked\r\n}) {\r\n const prefix = bankAccountModelName ? `${bankAccountModelName}.` : '';\r\n return
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {buttons &&
\r\n {buttons}\r\n
}\r\n
;\r\n}\r\n\r\nBankAccountDetails.propTypes = {\r\n buttons: PropTypes.object,\r\n bankAccountModelName: PropTypes.string.isRequired,\r\n isCopyBankAccountChecked: PropTypes.bool.isRequired\r\n};\r\n\r\nexport default BankAccountDetails;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport MaterialIcon from '../MaterialIcon/MaterialIcon';\r\nimport './_warning-box.scss';\r\n\r\nconst WarningBox = (props) => {\r\n const {\r\n title,\r\n description\r\n } = props;\r\n return
\r\n
\r\n \r\n
\r\n
\r\n {title &&
{title}
}\r\n
{description}
\r\n
\r\n
;\r\n};\r\n\r\nWarningBox.propTypes = {\r\n title: PropTypes.string,\r\n description: PropTypes.string.isRequired\r\n};\r\n\r\nexport default WarningBox;\r\n","import React from 'react';\r\nimport WarningBox from '../../../components/WarningBox/WarningBox';\r\nimport BankingInfoResources from '../BankingInfo/bankingInfoResources';\r\n\r\nfunction BankAccountSecurityNote() {\r\n return (\r\n \r\n );\r\n}\r\n\r\nexport default BankAccountSecurityNote;","import React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport FormGroup from '../../../components/controls/FormGroup';\r\nimport MuiInputSelect from '../../../components/controls/MuiInputSelect';\r\nimport partnerBillingInfoResources from './partnerBillingInfoResources';\r\nimport Button from '../../../components/controls/Button';\r\nimport sharedResources from '../../Shared/resources';\r\nimport { defaultFormProperties } from '../../../utilities/form';\r\nimport selectors from './partnerBillingInfoSelectors';\r\nimport * as partnerBillingValidationRules from './partnerBillingInfoValidations';\r\nimport { getBankAccountDetails } from './partnerBillingInfoActions';\r\nimport MuiInfoBox from '../../../components/InfoBox/MuiInfoBox';\r\nimport BankAccountInfoRetriver from '../../Shared/BankingInfo/BankAccountInfoRetriver';\r\nimport BankAccountDetails from '../../Shared/BankingInfo/BankAccountDetails';\r\nimport BankAccountSecurityNote from '../../Shared/BankingInfo/BankAccountSecurityNote';\r\n\r\nfunction PartnerBillingInfoForm({ pristine, submitting, handleSubmit, paymentTypesList, isWithdrawalInfoVisible, payeeToken, getBankAccountDetails, accountNumber, routingNumber }) {\r\n const retrievePartnerBankAccountDetails = () => {\r\n getBankAccountDetails(payeeToken);\r\n };\r\n return \r\n
\r\n
\r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n validate={[\r\n partnerBillingValidationRules.partnerBillingTypeRequired\r\n ]}\r\n />\r\n
\r\n
\r\n \r\n {sharedResources.saveButtonText}\r\n \r\n
\r\n
\r\n {\r\n isWithdrawalInfoVisible ?\r\n \r\n \r\n \r\n \r\n \r\n : undefined\r\n }\r\n
;\r\n}\r\n\r\nPartnerBillingInfoForm.propTypes = {\r\n handleSubmit: PropTypes.func.isRequired,\r\n pristine: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n paymentTypesList: PropTypes.object,\r\n isWithdrawalInfoVisible: PropTypes.bool.isRequired,\r\n payeeToken: PropTypes.string,\r\n accountNumber: PropTypes.string,\r\n routingNumber: PropTypes.string,\r\n getBankAccountDetails: PropTypes.func.isRequired\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getBankAccountDetails\r\n};\r\n\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default reduxForm({\r\n form: partnerBillingInfoResources.formPartnerBillingInfo,\r\n ...defaultFormProperties\r\n})(connectStateToProps(PartnerBillingInfoForm));\r\n","import React, { useEffect } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport selectors from './partnerBillingInfoSelectors';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport PartnerBillingInfoForm from './PartnerBillingInfoForm';\r\nimport { getPaymentTypesList, getBillingInfo, updateBillingInfo } from './partnerBillingInfoActions';\r\nimport './_partner-billing-info.scss';\r\n\r\nfunction PartnerBillingInfoTab({\r\n isLoading,\r\n match,\r\n billingInfo,\r\n getPaymentTypesList,\r\n getBillingInfo,\r\n updateBillingInfo\r\n}) {\r\n useEffect(() => {\r\n getPaymentTypesList();\r\n }, []);\r\n useEffect(() => {\r\n getBillingInfo(match.params.partnerId);\r\n }, [match.params.partnerId]);\r\n\r\n function handleUpdateBillingInfo(billingInfo) {\r\n updateBillingInfo(match.params.partnerId, billingInfo.toJS());\r\n }\r\n return (\r\n
\r\n {\r\n isLoading ?\r\n
\r\n \r\n
\r\n : <>\r\n }\r\n \r\n
\r\n );\r\n}\r\n\r\nPartnerBillingInfoTab.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n match: PropTypes.object.isRequired,\r\n billingInfo: PropTypes.object.isRequired,\r\n getPaymentTypesList: PropTypes.func.isRequired,\r\n getBillingInfo: PropTypes.func.isRequired,\r\n updateBillingInfo: PropTypes.func.isRequired,\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getPaymentTypesList,\r\n getBillingInfo,\r\n updateBillingInfo\r\n};\r\n\r\nexport default connect(selectors, mapDispatchToProps)(PartnerBillingInfoTab);\r\n","import React from 'react';\r\nimport image1 from './images/img1.jpg';\r\nimport image2 from './images/img2.jpg';\r\nimport image3 from './images/img3.jpg';\r\n\r\nfunction DashboardImagesSection() {\r\n return (\r\n
\r\n
\r\n {''}\r\n\r\n
\r\n
\r\n {''}\r\n\r\n
\r\n
\r\n {''}\r\n\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default DashboardImagesSection;\r\n","import React from 'react';\r\n\r\nfunction DashboardDescriptionSection() {\r\n return (\r\n
\r\n

\r\n\t\t\t\tSincerely,\r\n
\r\n\t\t\t\tYour Healthy Contributions Team\r\n
\r\n\t\t\t\t(800) 317-2739\r\n

\r\n
\r\n );\r\n}\r\n\r\nexport default DashboardDescriptionSection;\r\n","import React from 'react';\r\nimport DashboardImagesSection from './DashboardImagesSection';\r\nimport DashboardDescriptionSection from './DashboardDescriptionSection';\r\n\r\nfunction DashboardPartner() {\r\n return (\r\n
\r\n

Healthy Contributions Partner Portal

\r\n
\r\n
\r\n

\r\n\t\t\t\t\t\tWelcome to your own personal Healthy Contributions portal and\r\n\t\t\t\t\t\tdashboard. We are excited and pleased to have you here!\r\n

\r\n

\r\n\t\t\t\t\t\tWe want you to have the best possible experience while navigating\r\n\t\t\t\t\t\tyour HC portal. Your Healthy Contributions team is here to help you\r\n\t\t\t\t\t\tas well. Don’t hesitate to reach out!\r\n

\r\n \r\n
\r\n \r\n
\r\n
\r\n );\r\n}\r\nexport default DashboardPartner;\r\n","import { createSelector } from 'reselect';\r\n\r\nconst getRoutes = (state, props) => {\r\n return props.currentRoute.routes;\r\n};\r\n\r\nexport default createSelector(\r\n [\r\n getRoutes,\r\n ],\r\n filteredRoutes => ({\r\n filteredRoutes,\r\n })\r\n);\r\n","import React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport { Switch, Redirect } from 'react-router-dom';\r\nimport { routeType } from '../../../routing/routes';\r\nimport CustomRoute from '../../../layouts/CustomRoute';\r\nimport selectors from './dashboardMemberSelectors';\r\n\r\nfunction DashboardMember({ currentRoute, filteredRoutes }) {\r\n return
\r\n \r\n {filteredRoutes.map((route, i) => (\r\n \r\n ))}\r\n \r\n \r\n
;\r\n};\r\n\r\nDashboardMember.propTypes = {\r\n currentRoute: routeType.isRequired,\r\n filteredRoutes: PropTypes.arrayOf(routeType)\r\n};\r\n\r\nexport default connect(selectors)(DashboardMember);\r\n","import * as loadingActions from '../../Loading/loadingActions';\r\nimport * as service from './storageService';\r\n\r\nexport const getFile = (partitionKey, rowKey) => (dispatch, getState) => {\r\n dispatch(loadingActions.setLoading());\r\n return service.getFile(partitionKey, rowKey)\r\n .finally(() => { dispatch(loadingActions.unsetLoading()); });\r\n};\r\n\r\n\r\n","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\nimport { replaceRouteParams } from '../../../utilities/routeHelper';\r\n\r\nexport const getFile = (filePartitionKey, fileRowKey) => http.get(replaceRouteParams(API_PATHS.getFile, filePartitionKey, fileRowKey));","import { createSelector } from 'reselect';\r\nimport { GET_MEMBER_INSURANCE_INFO } from './homeTypes';\r\n\r\nconst currentUser = state => state.app.get('me');\r\nconst getHasGroupMembership = createSelector([currentUser], me => me.hasGroupMembership);\r\nconst getSelectedMemberGroup = state =>state.app.get('selectedMemberGroup');\r\nconst getInsuranceInfo = state => state.homeReducer.get('insuranceInfo');\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === GET_MEMBER_INSURANCE_INFO)\r\n .size;\r\n\r\n return size > 0;\r\n};\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n getHasGroupMembership,\r\n getInsuranceInfo,\r\n getSelectedMemberGroup\r\n ],\r\n (isLoading, hasGroupMembership, insuranceInfo, selectedMemberGroup) => ({\r\n isLoading,\r\n hasGroupMembership,\r\n insuranceInfo,\r\n selectedMemberGroup\r\n })\r\n);","const documentAgreementVersions = Object.freeze({\r\n V1: 1,\r\n V2: 2,\r\n V3: 3,\r\n V4: 4\r\n});\r\n\r\nexport default documentAgreementVersions;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './_icon-caption.scss';\r\nimport MaterialIcon from '../MaterialIcon/MaterialIcon';\r\n\r\nfunction IconCaption({ children, icon, className }) {\r\n return \r\n \r\n \r\n \r\n {children}\r\n ;\r\n}\r\n\r\nIconCaption.propTypes = {\r\n icon: PropTypes.string.isRequired,\r\n children: PropTypes.node.isRequired,\r\n className: PropTypes.string\r\n};\r\n\r\nexport default IconCaption;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { NavLink } from 'react-router-dom';\r\nimport { isStatic } from '../../utilities/next';\r\n\r\nfunction CustomLink({ className, linkPath, children, isExternalLink, isNewTab, activeClassName }) {\r\n return <>\r\n {\r\n isExternalLink || isStatic()\r\n ?\r\n \r\n {children}\r\n \r\n :\r\n \r\n {children}\r\n \r\n }\r\n ;\r\n};\r\n\r\nCustomLink.propTypes = {\r\n className: PropTypes.string.isRequired,\r\n linkPath: PropTypes.string.isRequired,\r\n children: PropTypes.node.isRequired,\r\n isExternalLink: PropTypes.bool,\r\n isNewTab: PropTypes.bool,\r\n activeClassName: PropTypes.string\r\n};\r\n\r\nexport default CustomLink;","export default {\r\n formatToUSDollar: (value) => {\r\n const formatter = new Intl.NumberFormat('en-US', {\r\n style: 'currency',\r\n currency: 'USD',\r\n });\r\n return formatter.format(value);\r\n }\r\n};","const homeResources = {\r\n dashboardTitle: 'Dashboard',\r\n groupMembershipTitle: 'Group Membership',\r\n labelPartner: 'Partner',\r\n labelMonthlyDues: 'Monthly Dues',\r\n labelRequiredVisit: 'Required Visits',\r\n labelReimbursementAmount: 'Reimbursement Amount',\r\n labelBillingDetails: 'Billing Details',\r\n labelMemberAgreement: 'Member Agreement',\r\n viewText: 'View',\r\n actiueClubTitle: 'Active Club',\r\n enrollInFacilityTitle: 'Enroll in Facility',\r\n noFacilitiesEnrolledText: 'No facilities enrolled. Please find facility below',\r\n findFacilityButtonText: 'Find Facility',\r\n};\r\nexport default homeResources;","import React, { useEffect, useMemo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { NavLink } from 'react-router-dom';\r\nimport { getFile } from '../../../Shared/Storage/storageActions';\r\nimport DashboardImagesSection from '../../../Dashboard/DashboardImagesSection';\r\nimport DashboardDescriptionSection from '../../../Dashboard/DashboardDescriptionSection';\r\nimport selectors from './homeSelectors';\r\nimport routes from '../../../../routing/routes';\r\nimport Spinner from '../../../../components/Spinner/Spinner';\r\nimport InfoBox from '../../../../components/InfoBox/InfoBox';\r\nimport InfoBoxRow from '../../../../components/InfoBox/InfoBoxRow';\r\nimport documentAgreementVersions from '../../../../enums/documentAgreementVersions';\r\nimport styles from './_home.module.scss';\r\nimport Button from '../../../../components/controls/Button';\r\nimport IconCaption from '../../../../components/IconCaption/IconCaption';\r\nimport { getMemberInsuranceInfo } from './homeActions';\r\nimport CustomLink from '../../../../components/controls/CustomLink';\r\nimport programPaymentTypes from '../../../../enums/programPaymentTypes';\r\nimport currencyFormatter from '../../../../utilities/formatters/currencyFormatter';\r\nimport * as urlFormatter from '../../../../utilities/formatters/urlFormatter';\r\nimport homeResources from './homeResources';\r\n\r\nfunction Home({\r\n isLoading,\r\n hasGroupMembership,\r\n insuranceInfo,\r\n history,\r\n selectedMemberGroup,\r\n getMemberInsuranceInfo,\r\n getFile }) {\r\n useEffect(() => {\r\n if (selectedMemberGroup) {\r\n getMemberInsuranceInfo(selectedMemberGroup.membersIds);\r\n }\r\n }, []);\r\n\r\n const programPaymentType = useMemo(() => {\r\n if (!insuranceInfo) return null;\r\n return Number(insuranceInfo.get('insuranceInfoItems').toJS()\r\n .find(item => item.key === 'Program Payment Type ID').value);\r\n }, [insuranceInfo]);\r\n\r\n const hasFacilityEnrollment = useMemo(() => {\r\n if (!insuranceInfo) return null;\r\n return insuranceInfo.get('relatedFacilities').size > 0;\r\n }, [insuranceInfo]);\r\n\r\n const formatFacilityAddress = (facility) => {\r\n return `${facility.facilityAddress} ${facility.facilityCity}, ${facility.facilityState} ${facility.facilityZipcode}`;\r\n };\r\n if (isLoading) {\r\n return ;\r\n } else {\r\n return hasGroupMembership && insuranceInfo\r\n ?
\r\n

{homeResources.dashboardTitle}

\r\n
\r\n
\r\n
\r\n \r\n \r\n {homeResources.groupMembershipTitle}\r\n \r\n
\r\n {homeResources.labelPartner}
}\r\n content={insuranceInfo.get('insuranceInfoItems').toJS()\r\n .find(item => item.key === 'Partner Name').value}\r\n />\r\n {\r\n (programPaymentType === programPaymentTypes.memberPaid || programPaymentType === programPaymentTypes.partnerMemberPaid) &&\r\n {homeResources.labelMonthlyDues}
}\r\n content={currencyFormatter.formatToUSDollar(insuranceInfo.get('insuranceInfoItems').toJS()\r\n .find(item => item.key === 'Monthly Dues').value)}\r\n />\r\n }\r\n {\r\n programPaymentType === programPaymentTypes.memberPaid &&\r\n {homeResources.labelRequiredVisit}
}\r\n content={insuranceInfo.get('insuranceInfoItems').toJS()\r\n .find(item => item.key === 'Required Visits').value}\r\n />\r\n }\r\n {\r\n programPaymentType === programPaymentTypes.memberPaid &&\r\n {homeResources.labelReimbursementAmount}
}\r\n content={currencyFormatter.formatToUSDollar(insuranceInfo.get('insuranceInfoItems').toJS()\r\n .find(item => item.key === 'Reimbursement Amount').value)}\r\n />\r\n }\r\n {\r\n (programPaymentType === programPaymentTypes.partnerMemberPaid || programPaymentType === programPaymentTypes.memberPaid) && hasFacilityEnrollment &&\r\n {homeResources.labelBillingDetails}
}\r\n content={ { history.push(routes.billing.path); }}>\r\n {homeResources.viewText}\r\n }\r\n />\r\n }\r\n {\r\n hasFacilityEnrollment &&\r\n {homeResources.labelMemberAgreement}}\r\n content={\r\n insuranceInfo.get('showMemberLegalContractLink') && insuranceInfo.get('documentAgreementVersion') >= documentAgreementVersions.V4\r\n ? (\r\n getFile(insuranceInfo.get('agreementPartitionKey'), insuranceInfo.get('agreementRowKey'))}>\r\n {homeResources.viewText}\r\n \r\n )\r\n : (\r\n insuranceInfo.get('showMemberLegalContractLink') && insuranceInfo.get('documentAgreementVersion') < documentAgreementVersions.V4 && (\r\n \r\n {homeResources.viewText}\r\n \r\n )\r\n )\r\n }\r\n />\r\n }\r\n \r\n \r\n \r\n\r\n
\r\n \r\n {\r\n hasFacilityEnrollment\r\n ? (\r\n insuranceInfo.get('relatedFacilities').toJS()\r\n .map((facility, facilityIndex) => (\r\n \r\n \r\n {homeResources.actiueClubTitle}\r\n \r\n
\r\n {facility['facilityName']}\r\n
\r\n \r\n {formatFacilityAddress(facility)}\r\n \r\n \r\n {facility.facilityPhone}\r\n \r\n {\r\n facility.facilityWebsite && \r\n {{facility.facilityWebsite}}\r\n \r\n }\r\n
\r\n
\r\n
\r\n ))\r\n )\r\n : (\r\n <>\r\n \r\n {homeResources.enrollInFacilityTitle}\r\n \r\n
\r\n {homeResources.noFacilitiesEnrolledText}\r\n
\r\n \r\n
\r\n
\r\n \r\n )\r\n }\r\n
\r\n
\r\n \r\n \r\n \r\n : (
\r\n

Healthy Contributions Portal

\r\n
\r\n

Hello!

\r\n
\r\n

\r\n Welcome to your own personal Healthy Contributions portal and\r\n dashboard. We are excited and pleased to have you here!\r\n

\r\n

\r\n Take a look around to see your facility, your personal information,\r\n and updates we may have for you regarding your monthly fitness\r\n reimbursement. We care about our individual members and want you to\r\n have the best possible experience while navigating your HC portal.\r\n

\r\n

\r\n We hope you enjoy checking on your own information, updating your\r\n own banking when needed and taking your fitness benefit to the next\r\n level of satisfaction. Your Healthy Contributions team is here to\r\n help you as well. Don't hesitate to reach out!\r\n

\r\n \r\n
\r\n \r\n
\r\n
);\r\n }\r\n}\r\n\r\nHome.propTypes = {\r\n history: PropTypes.object.isRequired,\r\n isLoading: PropTypes.bool.isRequired,\r\n hasGroupMembership: PropTypes.bool.isRequired,\r\n insuranceInfo: PropTypes.object,\r\n getMemberInsuranceInfo: PropTypes.func.isRequired,\r\n selectedMemberGroup: PropTypes.shape({\r\n membersIds: PropTypes.array,\r\n }),\r\n getFile: PropTypes.func,\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getMemberInsuranceInfo,\r\n getFile\r\n};\r\n\r\nexport default connect(selectors, mapDispatchToProps)(Home);\r\n","import * as loadingActions from '../../../Loading/loadingActions';\r\nimport * as types from './homeTypes';\r\n\r\nconst getMemberInsuranceInfoSuccess = (insuranceInfo) => {\r\n return { type: types.GET_MEMBER_INSURANCE_INFO_SUCCESS, insuranceInfo };\r\n};\r\n\r\nexport function getMemberInsuranceInfo(memberGuids) {\r\n return function(dispatch, getState, { InsuranceInfoService }) {\r\n dispatch(loadingActions.setLoading(types.GET_MEMBER_INSURANCE_INFO));\r\n return InsuranceInfoService.getInsuranceInfo(memberGuids)\r\n .then((insuranceInfo) => {\r\n dispatch(getMemberInsuranceInfoSuccess(insuranceInfo[0]));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_MEMBER_INSURANCE_INFO));\r\n });\r\n };\r\n}","import { HTTPS_PREFIX, GOOGLE_MAPS_URL } from '../../constants/websites';\r\nimport { TEL_PREFIX } from '../../constants/phones';\r\n\r\n\r\nexport const formatFacilityUrl = (url) => {\r\n if(!url.startsWith(HTTPS_PREFIX)) {\r\n return HTTPS_PREFIX.concat(url);\r\n }\r\n return url;\r\n};\r\n\r\nexport const formatPhoneUrl = (phoneNumber) => {\r\n return TEL_PREFIX.concat(phoneNumber);\r\n};\r\n\r\nexport const formatGoogleMapsUrl = function(facilityAddress) {\r\n return GOOGLE_MAPS_URL.concat(facilityAddress);\r\n};","export const HEALTHY_CONTRIBUTIONS = 'healthycontributions.com';\r\nexport const AMERICAN_ARBITRATION_ASSOCIATION = 'https://www.adr.org/Rules';\r\nexport const HEALTHY_CONTRIBUTIONS_WWW = 'www.healthycontributions.com';\r\nexport const GOOGLE_MAPS_URL = 'https://maps.google.com/?q=';\r\nexport const HTTPS_PREFIX = 'https://';","export const HC_PHONE_NUMBER = '1-800-317-2739';\r\nexport const TEL_PREFIX = 'tel:';","import { createSelector } from 'reselect';\r\nimport allRoutes from '../../routing/routes';\r\n\r\nconst getRoutes = (state, props) => {\r\n return props.currentRoute.routes;\r\n};\r\n\r\nexport const getMemberHasActiveFacilityEnrollments = state =>\r\n state.memberAreaReducer.get('memberHasActiveFacilityEnrollments');\r\n\r\nconst getFilteredRoutes = createSelector(\r\n [getMemberHasActiveFacilityEnrollments, getRoutes],\r\n (memberHasActiveFacilityEnrollments, authorizedRoutes) => {\r\n return authorizedRoutes.filter((route) => {\r\n if (route.name === allRoutes.usageLog.name) {\r\n return memberHasActiveFacilityEnrollments;\r\n }\r\n return true;\r\n });\r\n }\r\n);\r\n\r\nexport default createSelector(\r\n [\r\n getFilteredRoutes,\r\n ],\r\n filteredRoutes => ({\r\n filteredRoutes\r\n })\r\n);","import React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport { Switch, Redirect } from 'react-router-dom';\r\nimport selectors from './memberProfileSelectors';\r\nimport NavigationTabControl from '../../components/NavigationTabControl/NavigationTabControl';\r\nimport { routeType } from '../../routing/routes';\r\nimport CustomRoute from '../../layouts/CustomRoute';\r\n\r\nconst MemberProfile = (props) => {\r\n const {\r\n filteredRoutes\r\n } = props;\r\n\r\n return (\r\n
\r\n

My Member Profile

\r\n \r\n \r\n {filteredRoutes.map((route, i) => (\r\n \r\n ))}\r\n\r\n \r\n \r\n
\r\n );\r\n};\r\n\r\nMemberProfile.propTypes = {\r\n history: PropTypes.shape({\r\n push: PropTypes.func,\r\n }),\r\n currentRoute: routeType,\r\n filteredRoutes: PropTypes.arrayOf(routeType),\r\n};\r\n\r\nexport default connect(selectors, null)(MemberProfile);\r\n","import logoGreen from '../../assets/images/logo_green.png';\r\nimport logoGreenHover from '../../assets/images/logo_green_hover.png';\r\nimport logoWhite from '../../assets/images/logo_white.svg';\r\nimport accessible from '../../assets/images/IconAccessible.png';\r\nimport generalInfoBanner from '../../assets/images/GeneralInfoBanner.jpg';\r\nimport excel from '../../assets/images/excel.png';\r\nimport ten from '../../assets/images/10gym.svg';\r\nimport kroc from '../../assets/images/Kroc-Center.svg';\r\nimport gold from '../../assets/images/Golds-Gym.svg';\r\nimport zumama from '../../assets/images/New-Zumama.svg';\r\nimport pool from '../../assets/images/Pool-Logo.svg';\r\nimport fruita from '../../assets/images/Fruitta.svg';\r\nimport ucare from '../../assets/images/ucare.svg';\r\nimport avera from '../../assets/images/avera.svg';\r\nimport healthpartners from '../../assets/images/healthpartners.svg';\r\nimport medica from '../../assets/images/medica.svg';\r\nimport preferredone from '../../assets/images/preferredone.svg';\r\nimport tivity from '../../assets/images/tivity.svg';\r\nimport groupYoga from '../../assets/images/Group-Yoga.png';\r\nimport grandmaTutuBlue from '../../assets/images/Grandma-Tutu-Blue.png';\r\nimport fitnessGroup1 from '../../assets/images/Fitness-Group-1.png';\r\nimport fitnessPark from '../../assets/images/Fitness-Park.png';\r\nimport fitnessHr from '../../assets/images/Fitness-Hr.png';\r\nimport healthScreen from '../../assets/images/Health-Screen.png';\r\nimport scrubsWomen from '../../assets/images/Scrubs-Women.png';\r\nimport manWprostheticWorkout from '../../assets/images/Man-Wprosthetic-Workout.png';\r\nimport womanDaughterSwim from '../../assets/images/Woman-Daughter-Swim.png';\r\nimport floatieBlue from '../../assets/images/Floatie-Blue.png';\r\nimport fitnessGroup2 from '../../assets/images/Fitness-Group-2.png';\r\nimport barMethod from '../../assets/images/bar-method.svg';\r\nimport anytimeFitness from '../../assets/images/anytime-fitness.svg';\r\nimport progress from '../../assets/images/progress.png';\r\nimport fitOnLarge from '../../assets/images/FitOnHealthlogoLarge.png';\r\n\r\n\r\nexport default {\r\n logoGreen,\r\n logoGreenHover,\r\n logoWhite,\r\n accessible,\r\n generalInfoBanner,\r\n excel,\r\n gold,\r\n ten,\r\n kroc,\r\n zumama,\r\n pool,\r\n fruita,\r\n ucare,\r\n avera,\r\n healthpartners,\r\n medica,\r\n preferredone,\r\n tivity,\r\n groupYoga,\r\n grandmaTutuBlue,\r\n fitnessGroup1,\r\n fitnessPark,\r\n fitnessHr,\r\n healthScreen,\r\n scrubsWomen,\r\n manWprostheticWorkout,\r\n womanDaughterSwim,\r\n floatieBlue,\r\n fitnessGroup2,\r\n barMethod,\r\n anytimeFitness,\r\n progress,\r\n fitOnLarge\r\n};","import React, { useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport images from './Images.js';\r\nimport styles from './_image.module.scss';\r\n\r\nfunction Image({ image, imageHover, alt, className, onClick, disabled, ...props }) {\r\n const [hovered, setHovered] = useState(false);\r\n const handleClick = (event) => {\r\n onClick && !disabled && onClick(event);\r\n };\r\n if (!imageHover) {\r\n imageHover = image;\r\n }\r\n return (\r\n setHovered(false)}\r\n onMouseOver={() => setHovered(true)}\r\n {...props}\r\n />\r\n );\r\n}\r\n\r\nImage.propTypes = {\r\n image: PropTypes.string.isRequired,\r\n title: PropTypes.string,\r\n alt: PropTypes.string.isRequired,\r\n className: PropTypes.string,\r\n onClick: PropTypes.func,\r\n disabled: PropTypes.bool\r\n};\r\n\r\nexport default Image;\r\n","import { createSelector } from 'reselect';\r\n\r\nexport const getIsLoading = state => state.memberProfileGeneralInfo.get('isLoading');\r\nexport const getFieldsData = state => state.memberProfileGeneralInfo.get('fieldsData');\r\nexport const getSelectedMemberGroup = state => state.app.get('selectedMemberGroup');\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n getFieldsData,\r\n getSelectedMemberGroup\r\n ],\r\n (\r\n isLoading,\r\n fieldsData,\r\n selectedMemberGroup\r\n ) => ({\r\n isLoading,\r\n fieldsData,\r\n selectedMemberGroup\r\n })\r\n);","import {\r\n SET_LOADING,\r\n UNSET_LOADING,\r\n SET_FIELDS\r\n} from './types';\r\n\r\nconst setLoading = () => ({\r\n type: SET_LOADING\r\n});\r\n\r\nconst unsetLoading = () => ({\r\n type: UNSET_LOADING\r\n});\r\n\r\nconst setFields = fieldsData => ({\r\n type: SET_FIELDS,\r\n payload: { fieldsData }\r\n});\r\n\r\nconst loadFieldsData = memberIds => (dispatch, getState, { GeneralInfoService }) => {\r\n dispatch(setLoading());\r\n GeneralInfoService.getGeneralInfo(memberIds[0])\r\n .then((data) => {\r\n dispatch(setFields(data));\r\n dispatch(unsetLoading());\r\n })\r\n .catch(() => {\r\n dispatch(unsetLoading());\r\n });\r\n};\r\n\r\nexport default {\r\n setLoading,\r\n unsetLoading,\r\n loadFieldsData,\r\n setFields\r\n};\r\n","import React, { Component } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport routes from '../routing/routes';\r\n\r\nfunction withMemberGroup({ actionName }) {\r\n return function (WrappedComponent) {\r\n class WithMemberGroup extends Component {\r\n componentDidMount() {\r\n if (!this.props.shouldActionWait) {\r\n this.performAction(this.props.selectedMemberGroup);\r\n }\r\n }\r\n\r\n componentDidUpdate(prevProps) {\r\n if ((!this.props.shouldActionWait\r\n && this.props.shouldActionWait !== prevProps.shouldActionWait)\r\n || this.props.selectedMemberGroup !== prevProps.selectedMemberGroup) {\r\n this.performAction(this.props.selectedMemberGroup);\r\n }\r\n }\r\n\r\n performAction(selectedMemberGroup) {\r\n const { history } = this.props;\r\n if (selectedMemberGroup.membersIds) {\r\n if (!this.props[actionName]) {\r\n throw new ReferenceError(\r\n `There is no action \"${actionName}\" on instance of ${WrappedComponent.name\r\n }`\r\n );\r\n } else if (typeof this.props[actionName] !== 'function') {\r\n throw new TypeError(\r\n `\"${actionName}\" is not a function. Make sure ${WrappedComponent.name\r\n } gets ${actionName} as a function`\r\n );\r\n }\r\n\r\n this.props[actionName](selectedMemberGroup.membersIds);\r\n } else {\r\n history.push(routes.memberDashboard.path);\r\n }\r\n }\r\n\r\n render() {\r\n return ;\r\n }\r\n }\r\n\r\n return WithMemberGroup;\r\n };\r\n}\r\n\r\nwithMemberGroup.propTypes = {\r\n actionName: PropTypes.string.isRequired,\r\n};\r\n\r\nexport default withMemberGroup;\r\n","import React, { Component, Fragment } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport Image from '../../../components/Image/Image';\r\nimport selectors from './selectors';\r\nimport actions from './actions';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport InfoBox from '../../../components/InfoBox/InfoBox';\r\nimport InfoBoxRow from '../../../components/InfoBox/InfoBoxRow';\r\nimport withMemberGroup from '../../../hoc/withMemberGroup';\r\nimport './_general-info.scss';\r\n\r\nclass GeneralInfo extends Component {\r\n render() {\r\n return (\r\n
\r\n {this.props.isLoading ?\r\n (\r\n \r\n )\r\n : (\r\n \r\n
\r\n \r\n {this.props.fieldsData.map((item, i) => (\r\n \r\n ))}\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n )}\r\n
\r\n );\r\n }\r\n}\r\n\r\nGeneralInfo.propTypes = {\r\n selectedMemberGroup: PropTypes.shape({\r\n fullName: PropTypes.string,\r\n }),\r\n loadFieldsData: PropTypes.func,\r\n isLoading: PropTypes.bool,\r\n fieldsData: PropTypes.array,\r\n allMemberGroups: PropTypes.array,\r\n};\r\n\r\nconst withMemberGroupObserved = withMemberGroup({\r\n actionName: 'loadFieldsData',\r\n})(GeneralInfo);\r\n\r\nexport default connect(\r\n selectors,\r\n actions\r\n)(withMemberGroupObserved);\r\n","import React from 'react';\r\nimport { Switch, Redirect } from 'react-router-dom';\r\nimport { routeType } from '../../../routing/routes';\r\nimport CustomRoute from '../../../layouts/CustomRoute';\r\n\r\nfunction FacilityInfoTab({ currentRoute }) {\r\n const { routes } = currentRoute;\r\n return (\r\n \r\n {\r\n routes.map((route, i) => (\r\n \r\n ))\r\n }\r\n\r\n \r\n \r\n );\r\n}\r\nFacilityInfoTab.propTypes = {\r\n currentRoute: routeType.isRequired,\r\n};\r\n\r\nexport default FacilityInfoTab;\r\n","import { createSelector } from 'reselect';\r\n\r\nexport const getIsLoading = state => state.memberProfileUsageLog.get('isLoading');\r\nexport const getUsageLogData = state => state.memberProfileUsageLog.get('usageLog');\r\nexport const getFacilityUsagesGroups = state => state.memberProfileUsageLog.getIn(['usageLog', 'facilityUsagesGroups']);\r\nexport const getAvailableUsagePeriods = state => state.memberProfileUsageLog.getIn(['usageLog', 'availableUsagePeriods']);\r\nexport const getSelectedMemberGroup = state => state.app.get('selectedMemberGroup');\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n getUsageLogData,\r\n getFacilityUsagesGroups,\r\n getAvailableUsagePeriods,\r\n getSelectedMemberGroup\r\n ],\r\n (\r\n isLoading,\r\n usageLog,\r\n facilityUsagesGroups,\r\n availableUsagePeriods,\r\n selectedMemberGroup\r\n ) => ({\r\n isLoading,\r\n usageLog,\r\n facilityUsagesGroups,\r\n availableUsagePeriods,\r\n selectedMemberGroup\r\n })\r\n);","import {\r\n SET_FACILITY_USAGES_GROUP,\r\n GET_USAGE_LOG_SUCCESS,\r\n SET_LOADING,\r\n UNSET_LOADING,\r\n SET_SELECTED_USAGE_PERIOD,\r\n SET_FACILITY_USAGES_GROUP_LOADING,\r\n UNSET_FACILITY_USAGES_GROUP_LOADING\r\n} from './types';\r\n\r\nconst setLoading = () => ({\r\n type: SET_LOADING\r\n});\r\n\r\nconst unsetLoading = () => ({\r\n type: UNSET_LOADING\r\n});\r\n\r\nconst getUsageLogSuccess = usageLog => ({\r\n type: GET_USAGE_LOG_SUCCESS,\r\n payload: { usageLog }\r\n});\r\n\r\nconst getUsageLog = membersIds => (dispatch, getState, { UsageLogService }) => {\r\n dispatch(setLoading());\r\n\r\n UsageLogService.getUsageLog(membersIds)\r\n .then((usageLog) => {\r\n dispatch(getUsageLogSuccess(usageLog));\r\n dispatch(unsetLoading());\r\n })\r\n .catch(() => {\r\n dispatch(unsetLoading());\r\n });\r\n};\r\n\r\nconst setFacilityUsagesGroup = facilityUsagesGroup => ({\r\n type: SET_FACILITY_USAGES_GROUP,\r\n payload: { facilityUsagesGroup }\r\n});\r\n\r\nconst setSelectedUsagePeriod = selectedPeriodData => ({\r\n type: SET_SELECTED_USAGE_PERIOD,\r\n payload: { selectedPeriodData }\r\n});\r\n\r\nconst setFacilityUsagesGroupLoading = memberGuid => ({\r\n type: SET_FACILITY_USAGES_GROUP_LOADING,\r\n payload: { memberGuid }\r\n});\r\n\r\nconst unsetFacilityUsagesGroupLoading = memberGuid => ({\r\n type: UNSET_FACILITY_USAGES_GROUP_LOADING,\r\n payload: { memberGuid }\r\n});\r\n\r\nconst reloadFacilityUsagesGroup = (usagePeriod, memberGuid) => (dispatch, getState, { UsageLogService }) => {\r\n dispatch(setFacilityUsagesGroupLoading(memberGuid));\r\n\r\n dispatch(setSelectedUsagePeriod({\r\n usagePeriod,\r\n memberGuid\r\n }));\r\n\r\n UsageLogService.getFacilityUsagesGroup(memberGuid, usagePeriod)\r\n .then((facilityUsagesGroup) => {\r\n dispatch(setFacilityUsagesGroup(facilityUsagesGroup));\r\n dispatch(unsetFacilityUsagesGroupLoading(memberGuid));\r\n })\r\n .catch(() => {\r\n dispatch(unsetFacilityUsagesGroupLoading(memberGuid));\r\n });\r\n};\r\n\r\nexport default { getUsageLog, reloadFacilityUsagesGroup };\r\n","/*eslint-disable react/no-multi-comp*/\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport Icon from '../Icon/Icon';\r\nimport { Yes, No } from '../Icon/Icons';\r\nimport './_info-box.scss';\r\n\r\nconst InfoBoxTable = (props) => {\r\n const { header, data } = props;\r\n\r\n const getTableCellContent = (item) => {\r\n return typeof item === 'boolean'\r\n ? (\r\n : }\r\n />\r\n )\r\n : item;\r\n };\r\n\r\n return (\r\n
\r\n
\r\n {\r\n data.length > 0 &&\r\n \r\n {\r\n header &&\r\n \r\n \r\n {\r\n header.map((columnName, i) => (\r\n \r\n ))\r\n }\r\n \r\n \r\n }\r\n \r\n {\r\n data.map((object, i) => (\r\n \r\n {\r\n Object.keys(object).map((propertyName, columnIndex) => (\r\n \r\n ))\r\n }\r\n \r\n ))\r\n }\r\n \r\n \r\n }\r\n
\r\n {columnName}\r\n
\r\n {getTableCellContent(object[propertyName])}\r\n
\r\n \r\n );\r\n};\r\n\r\nInfoBoxTable.propTypes = {\r\n header: PropTypes.arrayOf(PropTypes.string),\r\n data: PropTypes.arrayOf(PropTypes.object)\r\n};\r\n\r\nexport default InfoBoxTable;","const facilityUsagesGroupResources = {\r\n labelAddress: 'Address',\r\n labelVisitMonth: 'Visit Month',\r\n labelMonthlyTotal: 'Monthly Total',\r\n headerVisitDate: 'Visit Date',\r\n headerVisitTime: 'Visit Time',\r\n warningMessage: 'All visits will be shown under the home club’s location.'\r\n};\r\nexport default facilityUsagesGroupResources;","import React, { Component } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Map, List } from 'immutable';\r\nimport InfoBox from '../../../../components/InfoBox/InfoBox';\r\nimport InfoBoxRow from '../../../../components/InfoBox/InfoBoxRow';\r\nimport InfoBoxTable from '../../../../components/InfoBox/InfoBoxTable';\r\nimport AdditionalDetails from '../../../../components/AdditionalDetails/AdditionalDetails';\r\nimport CardInfo from '../../../../components/CardInfo/CardInfo';\r\nimport Icon from '../../../../components/Icon/Icon';\r\nimport Spinner from '../../../../components/Spinner/Spinner';\r\nimport InputSelect from '../../../../components/controls/InputSelect';\r\nimport facilityUsagesGroupResources from './facilityUsagesGroupResources';\r\nimport { Attention } from '../../../../components/Icon/Icons';\r\n\r\nclass FacilityUsagesGroup extends Component {\r\n constructor(props) {\r\n super(props);\r\n\r\n this.handleChange = this.handleChange.bind(this);\r\n }\r\n\r\n handleChange(selectedOption) {\r\n this.props.onRefresh(selectedOption, this.props.facilityUsagesGroup.get('memberGuid'));\r\n }\r\n\r\n render() {\r\n return (\r\n \r\n {this.props.facilityUsagesGroup.get('isLoading') &&
}\r\n \r\n
\r\n \r\n \r\n option.get('yearMonth')}\r\n getOptionValue={option => option.get('id')}\r\n onChange={this.handleChange}\r\n />\r\n \r\n
\r\n {!this.props.facilityUsagesGroup.get('dailyUsages').isEmpty() &&
}\r\n \r\n
\r\n \r\n {\r\n this.props.facilityUsagesGroup.get('isAfFacility') &&\r\n } />}\r\n text={facilityUsagesGroupResources.warningMessage}\r\n />\r\n }\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nFacilityUsagesGroup.defaultProps = {\r\n onRefresh: () => {\r\n }\r\n};\r\n\r\nFacilityUsagesGroup.propTypes = {\r\n onRefresh: PropTypes.func,\r\n facilityUsagesGroup: PropTypes.instanceOf(Map),\r\n availableUsagePeriods: PropTypes.instanceOf(List)\r\n};\r\n\r\nexport default FacilityUsagesGroup;\r\n","import React, { Component } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { List } from 'immutable';\r\nimport { connect } from 'react-redux';\r\nimport selectors from './selectors';\r\nimport actions from './actions';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport FacilityUsagesGroup from './FacilityUsagesGroup/view';\r\nimport withMemberGroup from '../../../hoc/withMemberGroup';\r\n\r\nclass UsageLog extends Component {\r\n constructor(props) {\r\n super(props);\r\n\r\n this.handleReloadFacilityUsagesGroup = this.handleReloadFacilityUsagesGroup.bind(this);\r\n }\r\n\r\n handleReloadFacilityUsagesGroup(usagePeriod, memberGuid) {\r\n this.props.reloadFacilityUsagesGroup(usagePeriod, memberGuid);\r\n };\r\n\r\n render() {\r\n return (\r\n this.props.isLoading\r\n ?
\r\n :
\r\n
\r\n {\r\n this.props.facilityUsagesGroups.map((facilityUsagesGroup, index) => (\r\n \r\n ))\r\n }\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nUsageLog.propTypes = {\r\n getUsageLog: PropTypes.func,\r\n reloadFacilityUsagesGroup: PropTypes.func,\r\n availableUsagePeriods: PropTypes.instanceOf(List),\r\n selectedMemberGroup: PropTypes.object,\r\n facilityUsagesGroups: PropTypes.instanceOf(List),\r\n isLoading: PropTypes.bool\r\n};\r\n\r\n\r\nconst withMemberGroupObserved = withMemberGroup({\r\n actionName: 'getUsageLog'\r\n})(UsageLog);\r\n\r\nexport default connect(selectors, actions)(withMemberGroupObserved);\r\n","import { createSelector } from 'reselect';\r\nimport allRoutes from '../../routing/routes';\r\n\r\nexport const getSelectedMemberGroup = state =>\r\n state.app.get('selectedMemberGroup');\r\n\r\nexport const getIsLoading = state => state.accountInfo.get('isLoading');\r\nexport const getIsBankingRequired = (state, props) =>\r\n state.accountInfo.get('isBankingRequired');\r\nexport const getIsReimbursementEnabled = (state, props) =>\r\n state.accountInfo.get('isReimbursementEnabled');\r\nexport const getRoutes = (state, props) => {\r\n return props.currentRoute.routes;\r\n};\r\n\r\nconst selectFilteredRoutes = createSelector(\r\n [getIsBankingRequired, getIsReimbursementEnabled, getRoutes],\r\n (isBankingRequired, isReimbursementEnabled, routes) => {\r\n return routes.filter(\r\n route => (isBankingRequired || route.path !== allRoutes.billing.path) && (isReimbursementEnabled || route.path !== allRoutes.reimbursement.path)\r\n );\r\n }\r\n);\r\n\r\nexport default createSelector(\r\n [\r\n getSelectedMemberGroup,\r\n getIsLoading,\r\n getIsBankingRequired,\r\n getIsReimbursementEnabled,\r\n selectFilteredRoutes,\r\n ],\r\n (selectedMemberGroup, isLoading, isBankingRequired, isReimbursementEnabled, filteredRoutes) => ({\r\n selectedMemberGroup,\r\n isLoading,\r\n isBankingRequired,\r\n isReimbursementEnabled,\r\n filteredRoutes,\r\n })\r\n);\r\n","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { Switch } from 'react-router-dom';\r\nimport selectors from './selectors';\r\nimport { doChecks } from './actions';\r\nimport NavigationTabControl from '../../components/NavigationTabControl/NavigationTabControl';\r\nimport Spinner from '../../components/Spinner/Spinner';\r\nimport ConditionalRedirect from '../../routing/conditionalRedirect';\r\nimport { routeType } from '../../routing/routes';\r\nimport CustomRoute from '../../layouts/CustomRoute';\r\n\r\nfunction AccountInfo({ filteredRoutes, currentRoute, isBankingRequired, isReimbursementEnabled, match, isLoading, selectedMemberGroup, doChecks, history }) {\r\n useEffect(() => {\r\n if (selectedMemberGroup) {\r\n doChecks(selectedMemberGroup.membersIds);\r\n }\r\n }, [selectedMemberGroup]);\r\n return isLoading ?\r\n (\r\n
\r\n
\r\n \r\n
\r\n
\r\n )\r\n : (\r\n
\r\n

Memberships

\r\n \r\n \r\n {filteredRoutes.map((route, i) => (\r\n \r\n ))}\r\n\r\n \r\n \r\n
\r\n );\r\n}\r\n\r\nAccountInfo.propTypes = {\r\n isBankingRequired: PropTypes.bool,\r\n isReimbursementEnabled: PropTypes.bool,\r\n isLoading: PropTypes.bool,\r\n filteredRoutes: PropTypes.arrayOf(routeType),\r\n currentRoute: routeType,\r\n selectedMemberGroup: PropTypes.shape({\r\n fullName: PropTypes.string,\r\n }),\r\n history: PropTypes.object.isRequired,\r\n doChecks: PropTypes.func.isRequired,\r\n match: PropTypes.object.isRequired\r\n};\r\n\r\nexport default connect(selectors, { doChecks })(AccountInfo);\r\n","import * as types from './types';\r\n\r\nconst setLoading = () => ({\r\n type: types.SET_LOADING,\r\n});\r\n\r\nconst unsetLoading = () => ({\r\n type: types.UNSET_LOADING,\r\n});\r\n\r\nconst setIsBankingRequiredAction = isBankingRequired => ({\r\n type: types.SET_IS_BANKING_REQUIRED,\r\n payload: { isBankingRequired },\r\n});\r\n\r\nconst setIsReimbursementEnabledAction = isReimbursementEnabled => ({\r\n type: types.SET_IS_REIMBURSEMENT_ENABLED,\r\n payload: { isReimbursementEnabled },\r\n});\r\n\r\nexport const doChecks = membersIds => (\r\n dispatch,\r\n getState,\r\n { AccountInfoService }\r\n) => {\r\n dispatch(setLoading());\r\n const checkBankingRequired = AccountInfoService.checkBankingRequired(membersIds);\r\n const checkReimbursementEnabled = AccountInfoService.checkReimbursementEnabled(membersIds);\r\n Promise.all([checkBankingRequired, checkReimbursementEnabled]).then((data) => {\r\n const isBankingRequired = data[0];\r\n const isReimbursementEnabled = data[1];\r\n dispatch(setIsBankingRequiredAction(isBankingRequired));\r\n dispatch(setIsReimbursementEnabledAction(isReimbursementEnabled));\r\n })\r\n .finally((error) => {\r\n dispatch(unsetLoading());\r\n });\r\n};\r\n","import { createSelector } from 'reselect';\r\n\r\nexport const getIsLoading = state => state.accountInsuranceInfo.get('isLoading');\r\nexport const getSelectedMemberGroup = state => state.app.get('selectedMemberGroup');\r\nexport const getInsuranceInfo = state => state.accountInsuranceInfo.get('insuranceInfo');\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n getSelectedMemberGroup,\r\n getInsuranceInfo\r\n ],\r\n (\r\n isLoading,\r\n selectedMemberGroup,\r\n insuranceInfo\r\n ) => ({\r\n isLoading,\r\n selectedMemberGroup,\r\n insuranceInfo\r\n })\r\n);","import {\r\n SET_LOADING,\r\n UNSET_LOADING,\r\n GET_INSURANCE_INFO_SUCCESS\r\n} from './types';\r\n\r\nconst setLoading = () => ({\r\n type: SET_LOADING\r\n});\r\n\r\nconst unsetLoading = () => ({\r\n type: UNSET_LOADING\r\n});\r\n\r\nconst getInsuranceInfoSuccess = insuranceInfo => ({\r\n type: GET_INSURANCE_INFO_SUCCESS,\r\n payload: { insuranceInfo }\r\n});\r\n\r\nconst getInsuranceInfo = membersGuids => (dispatch, getState, { InsuranceInfoService }) => {\r\n dispatch(setLoading());\r\n\r\n InsuranceInfoService.getInsuranceInfo(membersGuids)\r\n .then((insuranceInfo) => {\r\n dispatch(getInsuranceInfoSuccess(insuranceInfo));\r\n dispatch(unsetLoading());\r\n })\r\n .catch(() => {\r\n dispatch(unsetLoading());\r\n });\r\n};\r\n\r\nexport default { getInsuranceInfo };\r\n","const insuranceInfoResources = {\r\n linkLegalContract: 'Legal Contract'\r\n};\r\nexport default insuranceInfoResources;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { List } from 'immutable';\r\nimport selectors from './selectors';\r\nimport actions from './actions';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport withMemberGroup from '../../../hoc/withMemberGroup';\r\nimport CardInfo from '../../../components/CardInfo/CardInfo';\r\nimport InfoBox from '../../../components/InfoBox/InfoBox';\r\nimport InfoBoxTable from '../../../components/InfoBox/InfoBoxTable';\r\nimport InfoBoxRow from '../../../components/InfoBox/InfoBoxRow';\r\nimport { NavLink } from 'react-router-dom';\r\nimport routes from '../../../routing/routes';\r\nimport insuranceInfoResources from './insuranceInfoResources';\r\nimport { getFile } from '../../Shared/Storage/storageActions';\r\nimport documentAgreementVersions from '../../../enums/documentAgreementVersions';\r\n\r\nfunction InsuranceInfo({ isLoading, insuranceInfo, getFile }) {\r\n return (\r\n
\r\n {\r\n isLoading\r\n ? \r\n : (\r\n
\r\n {insuranceInfo.map((insuranceInfo, index) => (\r\n \r\n
\r\n \r\n {\r\n insuranceInfo.get('insuranceInfoItems').toJS()\r\n .map((item, index) => (\r\n )\r\n )\r\n }\r\n {\r\n insuranceInfo.get('showMemberLegalContractLink') && insuranceInfo.get('documentAgreementVersion') >= documentAgreementVersions.V4 && \r\n }\r\n {\r\n insuranceInfo.get('showMemberLegalContractLink') && insuranceInfo.get('documentAgreementVersion') < documentAgreementVersions.V4 && \r\n {insuranceInfoResources.linkLegalContract}\r\n \r\n }\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n ))}\r\n
\r\n )\r\n }\r\n
\r\n );\r\n}\r\n\r\nInsuranceInfo.propTypes = {\r\n getInsuranceInfo: PropTypes.func,\r\n insuranceInfo: PropTypes.instanceOf(List),\r\n selectedMemberGroup: PropTypes.object,\r\n isLoading: PropTypes.bool,\r\n getFile: PropTypes.func,\r\n};\r\n\r\nconst withMemberGroupObserved = withMemberGroup({\r\n actionName: 'getInsuranceInfo'\r\n})(InsuranceInfo);\r\n\r\nexport default connect(selectors, { getFile, ...actions })(withMemberGroupObserved);\r\n","const reimbursementResources = {\r\n defaultSortColumn: 'usagePeriodStartDate',\r\n accessorYearMonth: 'yearMonth',\r\n accessorVisitCount: 'visitCount',\r\n accessorReimbursementAmount: 'reimbursementAmount',\r\n accessorHasBeenReimbursed: 'hasBeenReimbursed',\r\n accessorDescription: 'description',\r\n labelYearMonth: 'Month',\r\n labelVisitCount: 'Visit',\r\n labelReimbursementAmount: 'Amount',\r\n labelHasBeenReimbursed: 'Status',\r\n labelDescription: 'Reason',\r\n noReimbursementDetailsText: 'There are no reimbursement details.',\r\n defaultMonthCount: 6,\r\n};\r\nexport default reimbursementResources;","import { createSelector } from 'reselect';\r\nimport { GET_REIMBURSEMENTS_GROUP_LIST } from './reimbursementTypes';\r\nimport reimbursementResources from './reimbursementResources';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === GET_REIMBURSEMENTS_GROUP_LIST)\r\n .size;\r\n return size > 0;\r\n};\r\nexport const getReimbursementsGroups = state => state.membershipReimbursementReducer.get('reimbursementGroups');\r\nexport const getSelectedMemberGroup = state => state.app.get('selectedMemberGroup');\r\n\r\nconst getPeriods = state => state.periodsReducer.get('closedUsagePeriods');\r\nconst getDefaultPeriodIDFrom = createSelector([getPeriods], (periods) => {\r\n if (periods.size === 0) return undefined;\r\n return periods.first().get('id');\r\n});\r\nconst getDefaultPeriodIDTo = createSelector([getPeriods], (periods) => {\r\n if (periods.size === 0) return undefined;\r\n if (periods.size >= reimbursementResources.defaultMonthCount) {\r\n return periods.get(reimbursementResources.defaultMonthCount - 1).get('id');\r\n }\r\n return periods.last().get('id');\r\n});\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n getReimbursementsGroups,\r\n getSelectedMemberGroup,\r\n getDefaultPeriodIDTo,\r\n getDefaultPeriodIDFrom,\r\n getPeriods\r\n ],\r\n (\r\n isLoading,\r\n reimbursementsGroups,\r\n selectedMemberGroup,\r\n defaultPeriodIDFrom,\r\n defaultPeriodIDTo,\r\n periods\r\n ) => ({\r\n isLoading,\r\n reimbursementsGroups,\r\n selectedMemberGroup,\r\n defaultPeriodIDFrom,\r\n defaultPeriodIDTo,\r\n periods\r\n })\r\n);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { NewArrowDown, NewArrowUp } from '../Icon/Icons';\r\n\r\nfunction SortIcon({ isSortedDesc, ...props }) {\r\n const ArrowIcon = isSortedDesc ? NewArrowDown : NewArrowUp;\r\n return {isSortedDesc == null ? <> : };\r\n}\r\nSortIcon.propTypes = {\r\n isSortedDesc: PropTypes.bool,\r\n props: PropTypes.object\r\n};\r\n\r\nexport default SortIcon;\r\n","const tableResources = {\r\n labelShow:'Show',\r\n labelPage: 'Page',\r\n labelOf:'of',\r\n textNoDataFound:'No data found'\r\n};\r\nexport default tableResources;","export const PAGE_SIZE = 20;\r\nexport const SORT_ORDER_DESC = 'desc';\r\nexport const SORT_ORDER_ASC = 'asc';\r\nexport const SELECTION = 'selection';\r\n","import React, { useEffect, useRef, forwardRef } from 'react';\r\nimport Checkbox from '@material-ui/core/Checkbox';\r\nimport './_indeterminate-checkbox.scss';\r\n\r\nexport const IndeterminateCheckbox = forwardRef(\r\n ({ indeterminate, ...rest }, ref) => {\r\n const resolvedRef = ref || useRef();\r\n useEffect(() => {\r\n resolvedRef.current.indeterminate = indeterminate;\r\n }, [resolvedRef, indeterminate]);\r\n return
\r\n \r\n
;\r\n }\r\n);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { IndeterminateCheckbox } from '../../components/controls/IndeterminateCheckbox';\r\n\r\nfunction IndeterminateCheckboxCell({ row }) {\r\n return ;\r\n}\r\n\r\nIndeterminateCheckboxCell.propTypes = {\r\n row: PropTypes.object.isRequired\r\n};\r\n\r\nexport default IndeterminateCheckboxCell;\r\n","\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { IndeterminateCheckbox } from '../../components/controls/IndeterminateCheckbox';\r\n\r\nfunction IndeterminateCheckboxCellHeader({ column }) {\r\n const props = column.getProps();\r\n return ;\r\n}\r\n\r\nIndeterminateCheckboxCellHeader.propTypes = {\r\n column: PropTypes.object.isRequired\r\n};\r\n\r\nexport default IndeterminateCheckboxCellHeader;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './tooltip.scss';\r\nimport Tooltip from '@material-ui/core/Tooltip';\r\n\r\nfunction ToolTip({ title, arrow, placement, children, isOpen, id }) {\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n};\r\n\r\nToolTip.propTypes = {\r\n title: PropTypes.string.isRequired,\r\n arrow: PropTypes.bool,\r\n placement: PropTypes.string,\r\n children: PropTypes.node.isRequired,\r\n isOpen: PropTypes.bool,\r\n id: PropTypes.string\r\n};\r\n\r\nexport default ToolTip;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './_icon-button.scss';\r\nimport MaterialIcon from '../MaterialIcon/MaterialIcon';\r\nimport classNames from 'classnames';\r\n\r\nfunction IconButton({ icon, clickHandler, text, iconClassName, buttonClassName, role, tabIndex, filterExpandContentId, ariaExpanded }) {\r\n return text ?\r\n
\r\n \r\n \r\n \r\n \r\n {text}\r\n \r\n
\r\n :\r\n \r\n \r\n ;\r\n}\r\n\r\nIconButton.propTypes = {\r\n icon: PropTypes.string.isRequired,\r\n text: PropTypes.string,\r\n clickHandler: PropTypes.func.isRequired,\r\n iconClassName: PropTypes.string,\r\n buttonClassName: PropTypes.string,\r\n role: PropTypes.string,\r\n tabIndex: PropTypes.string,\r\n filterExpandContentId: PropTypes.string,\r\n ariaExpanded: PropTypes.bool,\r\n};\r\n\r\nexport default IconButton;","import React, { useState, forwardRef, useRef, useMemo } from 'react';\r\nimport debounce from 'lodash.debounce';\r\nimport PropTypes from 'prop-types';\r\nimport MaterialIcon from '../MaterialIcon/MaterialIcon';\r\nimport './_search-box.scss';\r\nimport ToolTip from '../controls/ToolTip';\r\nimport { Badge } from '@material-ui/core';\r\nimport IconButton from '../../components/IconButton/IconButton';\r\n\r\nconst SearchBox = forwardRef(function SearchBox(props, externalRef) {\r\n const { placeholder, onChange = () => { }, className, showFilterIcon, onShowFilter, filterTooltip, hasFilterSelection, searchInputId, listBoxId, ariaHasPopup, ariaAutocomplete, filterExpandContentId, showFilterPanel, activeDescendant, isExpanded, searchResultsCount, searchBoxInGrid, clearable, validationTooltip } = props;\r\n const [clearIconVisible, setClearIconVisible] = useState(false);\r\n const ref = externalRef || useRef(null);\r\n const emptyString = '';\r\n const onChangeDebounced = useMemo(() => debounce(onChange, 400), []);\r\n const searchInputLabelId = `label_${searchInputId}`;\r\n const searchboxInstructionsId = 'searchboxInstructionsId';\r\n const [isInstructionsHidden, setIsInstructionsHidden] = useState(true);\r\n const [isHovered, setIsHovered] = useState(false);\r\n\r\n const changeHandler = (e) => {\r\n setIsHovered(false);\r\n const hasValue = !!e.target.value;\r\n if (hasValue) {\r\n setClearIconVisible(true);\r\n }\r\n onChangeDebounced(e.target.value);\r\n };\r\n\r\n const focusHandler = () => {\r\n setIsInstructionsHidden(false);\r\n };\r\n\r\n const blurHandler = () => {\r\n setIsInstructionsHidden(true);\r\n };\r\n\r\n const clearButtonClickHandler = () => {\r\n if (clearIconVisible) {\r\n ref.current.value = emptyString;\r\n onChangeDebounced(emptyString);\r\n ref.current.focus();\r\n setClearIconVisible(false);\r\n }\r\n };\r\n\r\n return
\r\n
setIsHovered(true)}\r\n onMouseLeave={() => setIsHovered(false)}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n
Begin typing to search, use arrow keys to navigate, Enter to select
\r\n
{`${searchResultsCount} results found`}
\r\n {clearable && clearIconVisible &&\r\n \r\n }\r\n {showFilterIcon\r\n && \r\n \r\n
\r\n \r\n
\r\n
\r\n
}\r\n
\r\n {isHovered && validationTooltip\r\n &&
\r\n
\r\n {validationTooltip}\r\n
\r\n
\r\n }\r\n
;\r\n});\r\n\r\nSearchBox.defaultProps = {\r\n filterTooltip: 'Filter',\r\n searchBoxInGrid: false,\r\n clearable: true,\r\n};\r\n\r\nSearchBox.propTypes = {\r\n placeholder: PropTypes.string.isRequired,\r\n onChange: PropTypes.func,\r\n className: PropTypes.string,\r\n showFilterIcon: PropTypes.bool,\r\n onShowFilter: PropTypes.func,\r\n filterTooltip: PropTypes.string,\r\n searchInputId: PropTypes.string,\r\n listBoxId: PropTypes.string,\r\n ariaHasPopup: PropTypes.string,\r\n ariaAutocomplete: PropTypes.string,\r\n filterExpandContentId: PropTypes.string,\r\n showFilterPanel: PropTypes.bool,\r\n activeDescendant: PropTypes.string,\r\n isExpanded: PropTypes.bool,\r\n searchResultsCount: PropTypes.number,\r\n searchBoxInGrid: PropTypes.bool,\r\n clearable: PropTypes.bool,\r\n validationTooltip: PropTypes.string,\r\n};\r\n\r\nexport default SearchBox;\r\n","import React, { useEffect, useRef, useMemo, useState, forwardRef, useImperativeHandle } from 'react';\r\nimport { useTable, useSortBy, useRowSelect } from 'react-table';\r\nimport SortIcon from './SortIcon';\r\nimport tableResources from './tableResources';\r\nimport InfiniteScroll from 'react-infinite-scroll-component';\r\nimport './_new-info-box.scss';\r\nimport { useSticky } from 'react-table-sticky';\r\nimport './_sticky-table.scss';\r\nimport { PAGE_SIZE, SELECTION } from '../../constants/table';\r\nimport classNames from 'classnames';\r\nimport IndeterminateCheckboxCell from './IndeterminateCheckboxCell';\r\nimport IndeterminateCheckboxHeader from './IndeterminateCheckboxHeader';\r\nimport { getSortOrder } from '../../utilities/sorting';\r\nimport PropTypes from 'prop-types';\r\nimport SearchBox from '../SearchBox/SearchBox';\r\n\r\nconst NewTable = forwardRef(function NewTable({\r\n columns,\r\n initialData,\r\n update,\r\n initialSortBy,\r\n totalCount,\r\n updateSelectedItems,\r\n selectedItems,\r\n getItemId,\r\n warningRowCondition,\r\n errorRowCondition,\r\n tableClassName,\r\n textNoDataFound,\r\n requireSelect,\r\n tableButton,\r\n manualSortBy,\r\n tableIndex\r\n}, externalRef) {\r\n const ref = externalRef || useRef();\r\n const scrollableDiv = useRef(null);\r\n const [items, setItems] = useState([]);\r\n const [selectedRows, setSelectedRows] = useState([]);\r\n\r\n const updateFilteredData = (pageNumber, value) => {\r\n const page = pageNumber || Math.floor(initialData.size / PAGE_SIZE) + 1;\r\n if (!sortBy[0]) {\r\n sortBy[0] = initialSortBy;\r\n }\r\n update(page, sortBy[0].id, getSortOrder(sortBy[0].desc), value);\r\n };\r\n\r\n const getRowTheme = (row) => {\r\n if (errorRowCondition && errorRowCondition(row)) {\r\n return 'red';\r\n }\r\n if (warningRowCondition && warningRowCondition(row)) {\r\n return 'yellow';\r\n }\r\n return 'white';\r\n };\r\n\r\n const defaultColumn = useMemo(\r\n () => ({\r\n minWidth: 42,\r\n }),\r\n []\r\n );\r\n const data = useMemo(() => items, [items]);\r\n const caseInsensitiveAlphaNumericSort = (prev, curr, columnId) => {\r\n if (prev.original[columnId].toLowerCase() > curr.original[columnId].toLowerCase()) {\r\n return 1;\r\n } else if (prev.original[columnId].toLowerCase() < curr.original[columnId].toLowerCase()) {\r\n return -1;\r\n } else {\r\n return 0;\r\n }\r\n };\r\n const {\r\n getTableProps,\r\n getTableBodyProps,\r\n headerGroups,\r\n rows,\r\n prepareRow,\r\n selectedFlatRows,\r\n isAllRowSelected,\r\n getToggleAllRowsSelectedProps,\r\n state: { sortBy, selectedRowIds }\r\n } = useTable(\r\n {\r\n columns,\r\n data,\r\n defaultColumn,\r\n manualSortBy,\r\n getRowId: getItemId,\r\n autoResetSelectedRows: false,\r\n sortTypes: { caseInsensitiveAlphaNumeric: caseInsensitiveAlphaNumericSort },\r\n initialState: {\r\n sortBy: [\r\n initialSortBy\r\n ]\r\n }\r\n },\r\n useSortBy,\r\n useRowSelect,\r\n useSticky,\r\n (hooks) => {\r\n requireSelect && hooks.visibleColumns.push(columns => [\r\n {\r\n id: SELECTION,\r\n sticky: 'left',\r\n canSort: true,\r\n width: 42,\r\n maxWidth: 42,\r\n left: 0,\r\n Header: IndeterminateCheckboxHeader,\r\n Cell: IndeterminateCheckboxCell,\r\n getProps: () => ({\r\n getToggleAllRowsSelectedProps\r\n }),\r\n },\r\n ...columns\r\n ]);\r\n }\r\n );\r\n useEffect(() => {\r\n if (data.length > 0) {\r\n scrollableDiv.current.scrollTop = 0;\r\n if (sortBy[0] != null && sortBy[0].id === SELECTION) {\r\n sortBySelection(true);\r\n return;\r\n }\r\n updateFilteredData(1);\r\n }\r\n }, [sortBy]);\r\n useEffect(() => {\r\n if (initialData.size === PAGE_SIZE) {\r\n scrollableDiv.current.scrollTop = 0;\r\n }\r\n setItems(initialData.toJS());\r\n if (sortBy[0] && sortBy[0].id === SELECTION) {\r\n sortBySelection(false);\r\n }\r\n }, [initialData]);\r\n useEffect(() => {\r\n const selectedRowsToAdd = selectedFlatRows.filter(x => !selectedRows.find(row => row.id === x.id));\r\n const newSelectedRows = selectedRows.filter(x => Object.keys(selectedRowIds).map(Number)\r\n .find(sr => sr === x.id)).concat(selectedRowsToAdd);\r\n setSelectedRows(newSelectedRows);\r\n updateSelectedItems(newSelectedRows.map(row => row.original));\r\n }, [selectedRowIds]);\r\n\r\n const sortBySelection = (isSortingChange) => {\r\n if (selectedItems.length === 0 || isAllRowSelected) {\r\n return;\r\n }\r\n let pageNumber = Math.floor(items.length / PAGE_SIZE) + 1;\r\n if ((!isSortingChange && initialData.size === PAGE_SIZE) || isSortingChange) {\r\n scrollableDiv.current.scrollTop = 0;\r\n pageNumber = 1;\r\n }\r\n if (sortBy[0].desc) {\r\n setItems(initialData.toJS().sort((first, second) => {\r\n const isFirstSelected = selectedRowIds[getItemId(first)] || false;\r\n const isSecondSelected = selectedRowIds[getItemId(second)] || false;\r\n if (isFirstSelected > isSecondSelected) return 1;\r\n if (isFirstSelected < isSecondSelected) return -1;\r\n return 0;\r\n }));\r\n }\r\n else {\r\n if (selectedItems.length >= PAGE_SIZE * pageNumber) {\r\n setItems(selectedItems.slice(0, PAGE_SIZE * pageNumber));\r\n }\r\n else if (selectedItems.length + initialData.size >= PAGE_SIZE * pageNumber) {\r\n setItems(selectedItems.concat(initialData.toJS().filter(x => !selectedItems.find(si => getItemId(si) === getItemId(x)))));\r\n }\r\n else {\r\n update();\r\n }\r\n }\r\n };\r\n useImperativeHandle(ref, () => {\r\n return { refreshTable: () => updateFilteredData(1) };\r\n });\r\n const scrollableDivID = `planReimbursementsGroup_${tableIndex}`;\r\n return (\r\n
\r\n
\r\n
0 ? `new-info-box__table-container-scrollable ${tableClassName}` : 'new-info-box__table-container-nonscrollable'} id={scrollableDivID}\r\n ref={scrollableDiv}\r\n >\r\n data.length}\r\n scrollableTarget={scrollableDivID}\r\n scrollThreshold={0.99}\r\n >\r\n \r\n \r\n {headerGroups.map((headerGroup, i) => (\r\n \r\n {headerGroup.headers.map((column, i) => (\r\n \r\n
\r\n
\r\n {column.render('Header')}\r\n
\r\n {!column.disableSortBy && (\r\n
{column.canSort ? : ''}
\r\n )}\r\n
\r\n \r\n ))}\r\n
\r\n ))}\r\n {headerGroups.map((headerGroup, i) => (\r\n \r\n {headerGroup.headers.map((column, i) => (\r\n \r\n {column.searchBox\r\n ? updateFilteredData(1, value)}\r\n clearable={column.clearable}\r\n validationTooltip={column.validationTooltip}\r\n searchBoxInGrid={column.searchBox}\r\n />\r\n : <>}\r\n \r\n ))}\r\n \r\n ))}\r\n \r\n \r\n {rows.map((row, i) => {\r\n prepareRow(row);\r\n return (\r\n \r\n {row.cells.map((cell, i) => {\r\n return (\r\n \r\n {cell.render('Cell')}\r\n \r\n );\r\n })}\r\n \r\n );\r\n })}\r\n \r\n
\r\n \r\n
\r\n
\r\n {rows.length > 0 ?\r\n
\r\n
\r\n
Total records: {totalCount}
\r\n {requireSelect &&
Selected: {Object.keys(selectedRowIds).length}
}\r\n
\r\n {tableButton &&
\r\n {tableButton}\r\n
}\r\n
\r\n :\r\n
\r\n {textNoDataFound}\r\n
}\r\n
\r\n );\r\n});\r\n\r\nNewTable.defaultProps = {\r\n textNoDataFound: tableResources.textNoDataFound,\r\n updateSelectedItems: () => { },\r\n update: () => { },\r\n manualSortBy: true,\r\n tableIndex: 0\r\n};\r\n\r\nNewTable.propTypes = {\r\n update: PropTypes.func.isRequired,\r\n initialData: PropTypes.object.isRequired,\r\n updateSelectedItems: PropTypes.func.isRequired,\r\n columns: PropTypes.array.isRequired,\r\n initialSortBy: PropTypes.object.isRequired,\r\n getItemId: PropTypes.func.isRequired,\r\n tableButtons: PropTypes.node,\r\n manualSortBy: PropTypes.bool\r\n};\r\nexport default NewTable;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport './_bullet-cell.scss';\r\n\r\nfunction BulletCell({ column, row, value }) {\r\n const props = column.getProps(row);\r\n return \r\n \r\n \r\n {value}\r\n \r\n ;\r\n}\r\n\r\nBulletCell.propTypes = {\r\n value: PropTypes.string.isRequired,\r\n theme: PropTypes.oneOf(['blue', 'green', 'yellow', 'beet', 'orange']),\r\n row: PropTypes.object.isRequired,\r\n column: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default BulletCell;","import { createSelector } from 'reselect';\r\nimport { GET_REIMBURSEMENTS_GROUP } from '../reimbursementTypes';\r\n\r\nconst getState = state => state;\r\nconst getIndex = (state, index) => index;\r\nconst getIsLoading = createSelector([getState, getIndex], (state, index) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === `${GET_REIMBURSEMENTS_GROUP}_${index}`)\r\n .size;\r\n return size > 0;\r\n});\r\n\r\nexport default getIsLoading;","const periodResources = {\r\n placeholder: 'Select Month',\r\n periodFromIDLabel: 'Start visit month',\r\n periodToIDLabel: 'End visit month',\r\n};\r\n\r\nexport default periodResources;","import React from 'react';\r\nimport { List } from 'immutable';\r\nimport PropTypes from 'prop-types';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport validate from './validate';\r\nimport resources from '../../Shared/resources';\r\nimport periodResources from './periodResources';\r\nimport styles from './_period.module.scss';\r\nimport FormGroup from '../../../components/controls/FormGroup';\r\nimport MuiInputSelect from '../../../components/controls/MuiInputSelect';\r\nimport MuiButton from '../../../components/controls/MuiButton';\r\nimport { defaultFormProperties } from '../../../utilities/form';\r\n\r\nfunction PeriodsFilterForm({ handleSubmit, periods, error, submitting, periodFromIDLabel, periodToIDLabel, setPeriodFrom, setPeriodTo }) {\r\n return
\r\n \r\n
\r\n
\r\n
\r\n option.get('yearMonth')}\r\n getOptionValue={option => option.get('id')}\r\n onChange={setPeriodFrom}\r\n hideValidationMessage\r\n />\r\n
\r\n
\r\n option.get('yearMonth')}\r\n getOptionValue={option => option.get('id')}\r\n onChange={setPeriodTo}\r\n hideValidationMessage\r\n />\r\n
\r\n
\r\n \r\n {resources.applyButtonText}\r\n \r\n
\r\n
\r\n {error &&
{error}
}\r\n
\r\n
\r\n
;\r\n};\r\n\r\nPeriodsFilterForm.propTypes = {\r\n handleSubmit: PropTypes.func,\r\n submitFailed: PropTypes.bool,\r\n invalid: PropTypes.bool,\r\n submitting: PropTypes.bool,\r\n periods: PropTypes.instanceOf(List),\r\n error: PropTypes.string,\r\n periodFromIDLabel: PropTypes.string,\r\n periodToIDLabel: PropTypes.string,\r\n setPeriodFrom: PropTypes.func,\r\n setPeriodTo: PropTypes.func\r\n};\r\n\r\nPeriodsFilterForm.defaultProps = {\r\n periodFromIDLabel: periodResources.periodFromIDLabel,\r\n periodToIDLabel: periodResources.periodToIDLabel,\r\n setPeriodFrom: () => {},\r\n setPeriodTo: () => {}\r\n};\r\n\r\nexport default reduxForm({\r\n validate,\r\n ...defaultFormProperties\r\n})(PeriodsFilterForm);\r\n","export default (values, props) => {\r\n const errors = {};\r\n if (values.get('periodIDFrom') > values.get('periodIDTo')) {\r\n const periodRangeErrorText = 'End month should be greater than start month.';\r\n\r\n errors.periodIDFrom = periodRangeErrorText;\r\n errors.periodIDTo = periodRangeErrorText;\r\n\r\n errors._error = periodRangeErrorText;\r\n }\r\n\r\n return errors;\r\n};","import React, { useMemo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Map, List } from 'immutable';\r\nimport NewTable from '../../../../components/NewInfoBox/NewTable';\r\nimport BulletCell from '../../../../components/NewInfoBox/BulletCell';\r\nimport styles from '../reimbursement.module.scss';\r\nimport reimbursementResources from '../reimbursementResources';\r\nimport getIsLoading from './reimbursementGroupSelectors';\r\nimport { PAGE_SIZE } from '../../../../constants/table';\r\nimport { connect } from 'react-redux';\r\nimport Spinner from '../../../../components/Spinner/Spinner';\r\nimport PeriodsFilterForm from '../../../Shared/Periods/PeriodsFilterForm';\r\n\r\nfunction ReimbursementsGroup({ getPlanReimbursementsGroup,\r\n periods,\r\n reimbursementsGroup,\r\n index,\r\n isLoading\r\n}) {\r\n const reimbursementItems = reimbursementsGroup.getIn(['reimbursements', 'items']);\r\n const reimbursementsGroupJS = reimbursementsGroup.toJS();\r\n const { reimbursements, name, hideReimbursementHistory } = reimbursementsGroupJS;\r\n const columns = useMemo(\r\n () => [\r\n {\r\n id: 'usagePeriodStartDate',\r\n Header: reimbursementResources.labelYearMonth,\r\n accessor: reimbursementResources.accessorYearMonth,\r\n minWidth: 128,\r\n width: 128\r\n },\r\n {\r\n Header: reimbursementResources.labelVisitCount,\r\n accessor: reimbursementResources.accessorVisitCount,\r\n minWidth: 128,\r\n width: 128\r\n },\r\n {\r\n Header: reimbursementResources.labelReimbursementAmount,\r\n accessor: reimbursementResources.accessorReimbursementAmount,\r\n width: 128,\r\n maxWidth: 128,\r\n },\r\n {\r\n Header: reimbursementResources.labelHasBeenReimbursed,\r\n accessor: reimbursementResources.accessorHasBeenReimbursed,\r\n Cell: cell => BulletCell({ ...cell, value: cell.value ? 'Reimbursed' : 'Failed' }),\r\n getProps: row => ({\r\n theme: row.original.hasBeenReimbursed ? 'green' : 'beet'\r\n }),\r\n width: 190,\r\n minWidth: 190,\r\n },\r\n {\r\n Header: reimbursementResources.labelDescription,\r\n accessor: reimbursementResources.accessorDescription,\r\n minWidth: 300,\r\n width: 300\r\n },\r\n ],\r\n [reimbursements]\r\n );\r\n const yearMonthAccessor = (item) => {\r\n return item.yearMonth;\r\n };\r\n const updateHandler = (pageNumber, sortColumn, sortOrder) => {\r\n if (reimbursementsGroupJS) {\r\n getPlanReimbursementsGroup(reimbursementsGroupJS, index, pageNumber, PAGE_SIZE, sortColumn, sortOrder);\r\n }\r\n };\r\n const handleSubmit = (items) => {\r\n reimbursementsGroupJS.usagePeriodIDFrom = items.get('periodIDFrom');\r\n reimbursementsGroupJS.usagePeriodIDTo = items.get('periodIDTo');\r\n getPlanReimbursementsGroup(reimbursementsGroupJS, index, 1, PAGE_SIZE);\r\n };\r\n return (\r\n
\r\n {name &&

{name}

}\r\n {hideReimbursementHistory\r\n ?
{reimbursementResources.noReimbursementDetailsText}
\r\n :
\r\n {isLoading && }\r\n \r\n
\r\n \r\n
\r\n
\r\n }\r\n
\r\n );\r\n}\r\n\r\nReimbursementsGroup.propTypes = {\r\n index: PropTypes.number,\r\n getPlanReimbursementsGroup: PropTypes.func,\r\n reimbursementsGroup: PropTypes.instanceOf(Map),\r\n periods: PropTypes.instanceOf(List),\r\n isLoading: PropTypes.bool,\r\n loadings: PropTypes.instanceOf(List)\r\n};\r\n\r\nconst mapStateToProps = (state, props) => {\r\n const { index } = props;\r\n return {\r\n isLoading: getIsLoading(state, index),\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, null)(ReimbursementsGroup);\r\n","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\n\r\nexport function getPeriods() {\r\n return http.get(API_PATHS.getPeriods);\r\n};\r\n\r\nexport function getClosedUsagePeriods() {\r\n return http.get(API_PATHS.getClosedUsagePeriods);\r\n};\r\n\r\nexport function getPeriodsUntilCurrent() {\r\n return http.get(API_PATHS.getPeriodsUntilCurrent);\r\n};\r\n","import * as types from './periodsTypes';\r\nimport * as periodsService from './periodsService';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\n\r\nconst setPeriods = (periods) => {\r\n return { type: types.SET_PERIODS, periods };\r\n};\r\n\r\nexport function getPeriods() {\r\n return function (dispatch, getState) {\r\n dispatch(loadingActions.setLoading(types.GET_PERIODS));\r\n\r\n return periodsService\r\n .getPeriods()\r\n .then((payments) => {\r\n dispatch(setPeriods(payments));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PERIODS));\r\n });\r\n };\r\n}\r\n\r\nconst setClosedUsagePeriods = (periods) => {\r\n return { type: types.SET_CLOSED_USAGE_PERIODS, periods };\r\n};\r\n\r\nexport function getClosedUsagePeriods() {\r\n return function (dispatch, getState) {\r\n dispatch(loadingActions.setLoading(types.GET_CLOSED_USAGE_PERIODS));\r\n\r\n return periodsService\r\n .getClosedUsagePeriods()\r\n .then((periods) => {\r\n dispatch(setClosedUsagePeriods(periods));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_CLOSED_USAGE_PERIODS));\r\n });\r\n };\r\n}\r\n\r\nconst setPeriodsUntilCurrent = (periods) => {\r\n return { type: types.SET_PERIODS_UNTIL_CURRENT, periods };\r\n};\r\n\r\nexport function getPeriodsUntilCurrent() {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PERIODS_UNTIL_CURRENT));\r\n return periodsService\r\n .getPeriodsUntilCurrent()\r\n .then((periods) => {\r\n dispatch(setPeriodsUntilCurrent(periods));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PERIODS_UNTIL_CURRENT));\r\n });\r\n };\r\n}","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { List } from 'immutable';\r\nimport { connect } from 'react-redux';\r\nimport selectors from './reimbursementSelectors';\r\nimport { getReimbursementsGroupList, getPlanReimbursementsGroup } from './reimbursementActions';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport ReimbursementsGroup from './ReimbursementsGroup/ReimbursementsGroup';\r\nimport { getClosedUsagePeriods } from '../../Shared/Periods/periodsActions';\r\n\r\nfunction Reimbursement({ getReimbursementsGroupList,\r\n isLoading,\r\n reimbursementsGroups,\r\n getPlanReimbursementsGroup,\r\n selectedMemberGroup,\r\n defaultPeriodIDFrom,\r\n defaultPeriodIDTo,\r\n getClosedUsagePeriods,\r\n periods\r\n}) {\r\n useEffect(() => {\r\n if (selectedMemberGroup && defaultPeriodIDFrom && defaultPeriodIDTo) {\r\n getReimbursementsGroupList(selectedMemberGroup.membersIds, defaultPeriodIDFrom, defaultPeriodIDTo);\r\n }\r\n }, [selectedMemberGroup, defaultPeriodIDFrom, defaultPeriodIDTo]);\r\n useEffect(() => {\r\n getClosedUsagePeriods();\r\n }, []);\r\n return isLoading\r\n ? ()\r\n :\r\n (
\r\n {reimbursementsGroups && reimbursementsGroups.map((reimbursementsGroup, index) => (\r\n \r\n ))\r\n }\r\n
);\r\n}\r\n\r\nReimbursement.propTypes = {\r\n getReimbursementsGroupList: PropTypes.func,\r\n getPlanReimbursementsGroup: PropTypes.func,\r\n availableSubmissionPeriods: PropTypes.instanceOf(List),\r\n selectedMemberGroup: PropTypes.object,\r\n reimbursementsGroups: PropTypes.instanceOf(List),\r\n isLoading: PropTypes.bool,\r\n periods: PropTypes.object,\r\n defaultPeriodIDFrom: PropTypes.number,\r\n defaultPeriodIDTo: PropTypes.number,\r\n getClosedUsagePeriods: PropTypes.func.isRequired\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getReimbursementsGroupList,\r\n getPlanReimbursementsGroup,\r\n getClosedUsagePeriods\r\n};\r\n\r\nexport default connect(selectors, mapDispatchToProps)(Reimbursement);","import * as types from './reimbursementTypes';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport * as ReimbursementService from './reimbursementService';\r\n\r\nconst setReimbursementsGroupList = (reimbursements) => {\r\n return { type: types.SET_REIMBURSEMENTS_GROUP_LIST, reimbursements };\r\n};\r\n\r\nexport const getReimbursementsGroupList = (membersGuids, usagePeriodIDFrom, usagePeriodIDTo) => (dispatch) => {\r\n dispatch(loadingActions.setLoading(types.GET_REIMBURSEMENTS_GROUP_LIST));\r\n return ReimbursementService.getReimbursementsGroupList(membersGuids, usagePeriodIDFrom, usagePeriodIDTo)\r\n .then((reimbursements) => {\r\n dispatch(setReimbursementsGroupList(reimbursements));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_REIMBURSEMENTS_GROUP_LIST));\r\n });\r\n};\r\n\r\nconst setReimbursementsGroupAction = (planReimbursementsGroup) => {\r\n return { type: types.SET_REIMBURSEMENTS_GROUP, planReimbursementsGroup };\r\n};\r\n\r\nexport const setReimbursementsItemsAction = (planReimbursementsGroup) => {\r\n return { type: types.SET_REIMBURSEMENTS_ITEMS, planReimbursementsGroup };\r\n};\r\n\r\nexport const getPlanReimbursementsGroup = (reimbursementsGroup, index, pageNumber, pageSize, sortBy, sortOrder) => (dispatch) => {\r\n const getReimbursementsGroupType = `${types.GET_REIMBURSEMENTS_GROUP}_${index}`;\r\n dispatch(loadingActions.setLoading(getReimbursementsGroupType));\r\n return ReimbursementService.getPlanReimbursementsGroup(reimbursementsGroup, pageNumber, pageSize, sortBy, sortOrder)\r\n .then((result) => {\r\n result.usagePeriodIDFrom = reimbursementsGroup.usagePeriodIDFrom;\r\n result.usagePeriodIDTo = reimbursementsGroup.usagePeriodIDTo;\r\n if (pageNumber === 1) {\r\n dispatch(setReimbursementsGroupAction(result));\r\n }\r\n else {\r\n dispatch(setReimbursementsItemsAction(result));\r\n }\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(getReimbursementsGroupType));\r\n });\r\n};\r\n","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\nimport { replaceRouteParams } from '../../../utilities/routeHelper';\r\n\r\nexport function getReimbursementsGroupList(memberGuids, usagePeriodIDFrom, usagePeriodIDTo) {\r\n return http.get(API_PATHS.reimbursementHistory, { params: { memberGuids, usagePeriodIDFrom, usagePeriodIDTo } });\r\n}\r\n\r\nexport function getPlanReimbursementsGroup(planReimbursementsGroup, pageNumber, pageSize, sortBy, sortOrder) {\r\n const { memberGuids, planOrProgramID, usagePeriodIDFrom, usagePeriodIDTo, enrollmentEntity } = planReimbursementsGroup;\r\n return http.get(replaceRouteParams(API_PATHS.planReimbursementsGroup, enrollmentEntity, planOrProgramID), { params: { memberGuids, usagePeriodIDFrom, usagePeriodIDTo, page: pageNumber, pageSize, sortBy, sortOrder } });\r\n}","import { createSelector } from 'reselect';\r\n\r\nconst getPartnerName = state => state.partnerOwnerAreaReducer.get('partnerName');\r\n\r\nexport default createSelector(\r\n [getPartnerName],\r\n partnerName => ({\r\n partnerName\r\n })\r\n);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { NavLink } from 'react-router-dom';\r\nimport routes from '../../../routing/routes';\r\nimport { connect } from 'react-redux';\r\nimport selectors from './backToPartnersTopbarContentSelectors';\r\n\r\nfunction BackToPartnersTopbarContent({ partnerName }) {\r\n return (
\r\n You are currently controlling\r\n  {partnerName ? partnerName.toUpperCase() : ''} \r\n partner, to go back to the administration\r\n site, \r\n \r\n click here\r\n \r\n
);\r\n}\r\n\r\nBackToPartnersTopbarContent.propTypes = {\r\n partnerName: PropTypes.string\r\n};\r\n\r\nexport default connect(selectors)(BackToPartnersTopbarContent);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Switch, Redirect, generatePath } from 'react-router-dom';\r\nimport { routeType } from '../../../routing/routes';\r\nimport CustomRoute from '../../../layouts/CustomRoute';\r\n\r\nfunction PartnerManagersTab({ currentRoute, match }) {\r\n const { routes } = currentRoute;\r\n const routesForNavigation = routes.map((route) => {\r\n return { ...route, path: generatePath(route.path, match.params) };\r\n });\r\n return (\r\n \r\n {routes.map((route, i) => {\r\n return ;\r\n })}\r\n\r\n \r\n \r\n );\r\n}\r\n\r\nPartnerManagersTab.propTypes = {\r\n currentRoute: routeType.isRequired,\r\n match: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default PartnerManagersTab;\r\n","const confirmPasswordResources = {\r\n labelNewPasword: 'New Password',\r\n labelPassword: 'Password',\r\n labelConfirmPassword: 'Confirm Password',\r\n};\r\nexport default confirmPasswordResources;\r\n","import validationRules from '../../utilities/validationRules';\r\nimport confirmPasswordResources from './confirmPasswordResources';\r\n\r\nexport const passwordRegex = validationRules.passwordRegex;\r\n\r\nexport const newPasswordRequired = validationRules.required(\r\n confirmPasswordResources.labelNewPassword\r\n);\r\nexport const passwordRequired = validationRules.required(\r\n confirmPasswordResources.labelPassword\r\n);\r\nexport const confirmPasswordRequired = validationRules.required(\r\n confirmPasswordResources.labelConfirmPassword\r\n);\r\nexport const newPasswordMaxLength30 = validationRules.length(\r\n confirmPasswordResources.labelNewPassword,\r\n undefined,\r\n 30\r\n);\r\nexport const passwordMaxLength30 = validationRules.length(\r\n confirmPasswordResources.labelPassword,\r\n undefined,\r\n 30\r\n);\r\nexport const confirmPasswordMaxLength30 = validationRules.length(\r\n confirmPasswordResources.labelConfirmPassword,\r\n undefined,\r\n 30\r\n);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Field } from 'redux-form/immutable';\r\nimport { MuiInputText } from '../controls/MuiInputText';\r\nimport * as validationRules from './confirmPasswordValidation';\r\nimport confirmPasswordResources from './confirmPasswordResources';\r\n\r\nfunction ConfirmPassword({ isForChange }) {\r\n return (\r\n <>\r\n {isForChange ?\r\n (\r\n \r\n )\r\n : (\r\n \r\n )}\r\n \r\n \r\n );\r\n}\r\n\r\nConfirmPassword.propTypes = {\r\n isForChange: PropTypes.bool,\r\n};\r\n\r\nexport default ConfirmPassword;\r\n","const partnerManagerResources = {\r\n labelFirstName: 'First Name',\r\n labelLastName: 'Last Name',\r\n labelEmailAddress: 'Email Address',\r\n errorMessagePasswordConfirmPasswordMatch: 'Password and Confirm Password must match.',\r\n addManagerButtonText: 'Add Manager'\r\n};\r\nexport default partnerManagerResources;\r\n","import validationRules from '../../../utilities/validationRules';\r\nimport partnerManagerResources from './partnerManagerResources';\r\n\r\nexport const firstNameRequired = validationRules.required(\r\n partnerManagerResources.labelFirstName\r\n);\r\nexport const firstNameMaxLength = validationRules.length(\r\n partnerManagerResources.labelFirstName,\r\n null,\r\n 50\r\n);\r\nexport const lastNameRequired = validationRules.required(\r\n partnerManagerResources.labelLastName\r\n);\r\nexport const lastNameMaxLength = validationRules.length(\r\n partnerManagerResources.labelLastName,\r\n null,\r\n 50\r\n);\r\nexport const emailAddressRequired = validationRules.required(\r\n partnerManagerResources.labelEmailAddress\r\n);\r\nexport const emailAddressMaxLength = validationRules.length(\r\n partnerManagerResources.labelEmailAddress,\r\n null,\r\n 50\r\n);\r\nexport const emailAddressFormat = validationRules.email(\r\n partnerManagerResources.labelEmailAddress\r\n);\r\n\r\nexport default (values, props) => {\r\n const errors = {};\r\n\r\n if (values.get('password') !== values.get('confirmPassword')) {\r\n errors.confirmPassword = partnerManagerResources.errorMessagePasswordConfirmPasswordMatch;\r\n }\r\n\r\n return errors;\r\n};","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport FormGroup from '../../../components/controls/FormGroup';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport { MuiInputText } from '../../../components/controls/MuiInputText';\r\nimport MuiButton from '../../../components/controls/MuiButton';\r\nimport ConfirmPassword from '../../../components/ConfirmPassword/ConfirmPassword';\r\nimport partnerManagerResources from './partnerManagerResources';\r\nimport { defaultFormProperties } from '../../../utilities/form';\r\nimport validate, * as partnerManagerValidation from './partnerManagerValidation';\r\nimport resources from '../../Shared/resources';\r\n\r\nfunction ManagePartnerManagerForm({\r\n pristine,\r\n submitting,\r\n handleSubmit,\r\n isShowPasswordControls,\r\n onCancel\r\n}) {\r\n return (\r\n \r\n \r\n \r\n \r\n {isShowPasswordControls ? : <>}\r\n
\r\n
\r\n \r\n {resources.saveButtonText}\r\n \r\n
\r\n
\r\n {\r\n onCancel && \r\n {resources.cancelButtonText}\r\n \r\n }\r\n
\r\n
\r\n
\r\n );\r\n}\r\n\r\nManagePartnerManagerForm.propTypes = {\r\n pristine: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n handleSubmit: PropTypes.func.isRequired,\r\n isShowPasswordControls: PropTypes.bool.isRequired,\r\n onCancel: PropTypes.func,\r\n};\r\n\r\nManagePartnerManagerForm.defaultProps = {\r\n isShowPasswordControls: true\r\n};\r\n\r\nexport default reduxForm({\r\n form: 'managePartnerManagerForm',\r\n validate,\r\n ...defaultFormProperties\r\n})(ManagePartnerManagerForm);\r\n","const MEMBER_GROUP_NAME = 'member_group_name';\r\n\r\nexport const preserveMemberGroup = ({ fullName }) => {\r\n localStorage.setItem(MEMBER_GROUP_NAME, fullName);\r\n};\r\n\r\nexport const extractMemberGroup = (memberGroups) => {\r\n const preservedMemberGroupName = localStorage.getItem(MEMBER_GROUP_NAME);\r\n if (preservedMemberGroupName) {\r\n const targetMemberGroup = memberGroups.find(({ fullName }) => fullName === preservedMemberGroupName);\r\n return targetMemberGroup || memberGroups[0];\r\n } else {\r\n return memberGroups[0];\r\n }\r\n};","import * as types from './types';\r\nimport {\r\n extractMemberGroup,\r\n preserveMemberGroup\r\n} from '../../utilities/localStorage';\r\nimport AppService from './service';\r\n\r\nconst setLoadingAction = () => ({\r\n type: types.SET_LOADING\r\n});\r\n\r\nconst unsetLoadingAction = () => ({\r\n type: types.UNSET_LOADING\r\n});\r\n\r\nconst loadMeAction = me => ({\r\n type: types.LOAD_ME,\r\n payload: { me }\r\n});\r\n\r\nconst changeSelectedMemberGroupAction = selectedMemberGroup => ({\r\n type: types.CHANGE_SELECTED_MEMBER_GROUP,\r\n payload: { selectedMemberGroup }\r\n});\r\n\r\nconst changeSelectedMemberGroup = selectedMemberGroup => (dispatch) => {\r\n preserveMemberGroup(selectedMemberGroup);\r\n dispatch(changeSelectedMemberGroupAction(selectedMemberGroup));\r\n};\r\n\r\nconst loadMe = () => (dispatch) => {\r\n dispatch(setLoadingAction());\r\n AppService.getMe()\r\n .then((me) => {\r\n if (!me) {\r\n // 'me' wasn't loaded - this means that we are not authorized (and redirection is in progress) or server is unavailable;\r\n // in this case we need to leave global spinner, because 'me' is critical for the entire application's code;\r\n // so just return from function.\r\n return;\r\n }\r\n dispatch(loadMeAction(me));\r\n dispatch(\r\n changeSelectedMemberGroup(\r\n me.memberGroups && me.memberGroups.length ? extractMemberGroup(me.memberGroups) : me\r\n )\r\n );\r\n dispatch(unsetLoadingAction());\r\n })\r\n // don't use finally here to unset loading, otherwise you'll see yellow error page for a second before redirect to login page;\r\n .catch(() => {\r\n dispatch(unsetLoadingAction());\r\n });\r\n};\r\n\r\nconst unsetAppLoading = () => (dispatch) => {\r\n dispatch(unsetLoadingAction());\r\n};\r\n\r\nconst resetMe = () => (dispatch) => {\r\n dispatch(loadMeAction(null));\r\n};\r\n\r\nconst setGlobalErrorMessageAction = (globalErrorMessage) => {\r\n return { type: types.SET_GLOBAL_ERROR_MESSAGE, globalErrorMessage };\r\n};\r\n\r\nexport function setGlobalErrorMessage(globalErrorMessage) {\r\n return function (dispatch) {\r\n dispatch(setGlobalErrorMessageAction(globalErrorMessage));\r\n };\r\n}\r\nexport default {\r\n setLoadingAction,\r\n unsetAppLoading,\r\n loadMe,\r\n changeSelectedMemberGroup,\r\n resetMe,\r\n setGlobalErrorMessage\r\n};","import * as types from './managePartnerManagerTypes';\r\nimport * as partnerManagerService from './managePartnerManagerService';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport { createManagerSuccess } from '../../PartnerInfo/PartnerManagers/PartnerManagersList/partnerManagersListActions';\r\nimport appActions from '../../App/actions';\r\n\r\nconst setManager = (manager) => {\r\n return { type: types.SET_MANAGER, manager };\r\n};\r\n\r\nexport function getManager(managerId) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_MANAGER));\r\n return partnerManagerService\r\n .getManager(managerId)\r\n .then((manager) => {\r\n dispatch(setManager(manager));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_MANAGER));\r\n });\r\n };\r\n}\r\n\r\nexport function createManager(manager) {\r\n return function (dispatch, getState) {\r\n dispatch(loadingActions.setLoading(types.CREATE_MANAGER));\r\n return partnerManagerService\r\n .createManager(manager)\r\n .then((result) => {\r\n if (result.success) {\r\n dispatch(createManagerSuccess(result.data));\r\n }\r\n })\r\n .catch((errorResponse) => {\r\n dispatch(setManager(errorResponse.data.data));\r\n throw errorResponse;\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.CREATE_MANAGER));\r\n });\r\n };\r\n}\r\n\r\nexport function updateManager(manager, isLogoutRequired) {\r\n return function (dispatch, getState) {\r\n dispatch(loadingActions.setLoading(types.UPDATE_MANAGER));\r\n return partnerManagerService\r\n .updateManager(manager)\r\n .then((result) => {\r\n if (result.success) {\r\n if (isLogoutRequired) {\r\n dispatch(appActions.resetMe());\r\n }\r\n else {\r\n dispatch(setManager(result.data));\r\n }\r\n }\r\n })\r\n .catch((errorResponse) => {\r\n dispatch(setManager(errorResponse.data.data));\r\n throw errorResponse;\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.UPDATE_MANAGER));\r\n });\r\n };\r\n}\r\n","import { createSelector } from 'reselect';\r\nimport {\r\n GET_MANAGER,\r\n CREATE_MANAGER\r\n} from '../../../Shared/PartnerManager/managePartnerManagerTypes';\r\n\r\nconst getManager = state => state.partnerManagerReducer.get('manager');\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === CREATE_MANAGER || i === GET_MANAGER)\r\n .size;\r\n\r\n return size > 0;\r\n};\r\n\r\nexport default createSelector(\r\n [getIsLoading, getManager],\r\n (isLoading, manager) => ({\r\n isLoading,\r\n manager\r\n })\r\n);\r\n","const addPartnerManagerResources = {\r\n titleAddPartnerManager: 'Add New Partner Manager'\r\n};\r\nexport default addPartnerManagerResources;\r\n","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { generatePath } from 'react-router-dom';\r\nimport Spinner from '../../../../components/Spinner/Spinner';\r\nimport ManagePartnerManagerForm from '../../../Shared/PartnerManager/ManagePartnerManagerForm';\r\nimport {\r\n createManager,\r\n getManager\r\n} from '../../../Shared/PartnerManager/managePartnerManagerActions';\r\nimport selectors from './addPartnerManagerSelectors';\r\nimport routes from '../../../../routing/routes';\r\nimport CardInfo from '../../../../components/CardInfo/CardInfo';\r\nimport addPartnerManagerResources from './addPartnerManagerResources';\r\n\r\nfunction AddPartnerManagerPage({\r\n isLoading,\r\n manager,\r\n history,\r\n getManager,\r\n createManager,\r\n match\r\n}) {\r\n const partnerId = match.params.partnerId;\r\n useEffect(() => {\r\n getManager();\r\n }, []);\r\n const partnerManagersPath = generatePath(\r\n routes.partnerManagers.path,\r\n match.params\r\n );\r\n function handleSave(manager) {\r\n manager = manager.toJS();\r\n manager.partnerId = partnerId;\r\n createManager(manager).then(() => {\r\n history.push(partnerManagersPath);\r\n });\r\n }\r\n const backToPartnerManagers = function() {\r\n history.push(partnerManagersPath);\r\n };\r\n return isLoading\r\n ? (\r\n\r\n \r\n )\r\n : (\r\n \r\n
\r\n \r\n
\r\n
\r\n );\r\n}\r\n\r\nAddPartnerManagerPage.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n manager: PropTypes.object.isRequired,\r\n history: PropTypes.object.isRequired,\r\n createManager: PropTypes.func.isRequired,\r\n getManager: PropTypes.func.isRequired,\r\n match: PropTypes.object.isRequired\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n createManager,\r\n getManager\r\n};\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default connectStateToProps(AddPartnerManagerPage);\r\n","import * as types from './partnerManagersListTypes';\r\nimport * as loadingActions from '../../../Loading/loadingActions';\r\nimport * as managersListService from './managersListService';\r\n\r\nconst getManagersListSuccess = (managers) => {\r\n return { type: types.GET_MANAGERS_LIST_SUCCESS, managers };\r\n};\r\n\r\nconst deleteManagerSuccess = (managerId) => {\r\n return { type: types.DELETE_MANAGER_SUCCESS, managerId };\r\n};\r\n\r\nexport const createManagerSuccess = (manager) => {\r\n return { type: types.CREATE_MANAGER_SUCCESS, manager };\r\n};\r\n\r\nexport function getManagersList(partnerId) {\r\n return function(dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_MANAGERS_LIST));\r\n return managersListService\r\n .getManagersList(partnerId)\r\n .then((managers) => {\r\n dispatch(getManagersListSuccess(managers));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_MANAGERS_LIST));\r\n });\r\n };\r\n}\r\n\r\nexport function deleteManager(managerId) {\r\n return function(dispatch) {\r\n dispatch(loadingActions.setLoading(types.DELETE_MANAGER));\r\n return managersListService\r\n .deleteManager(managerId)\r\n .then(() => {\r\n dispatch(deleteManagerSuccess(managerId));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.DELETE_MANAGER));\r\n });\r\n };\r\n}\r\n","import { createSelector } from 'reselect';\r\nimport { GET_MANAGERS_LIST, DELETE_MANAGER } from './partnerManagersListTypes';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === GET_MANAGERS_LIST || i === DELETE_MANAGER)\r\n .size;\r\n\r\n return size > 0;\r\n};\r\n\r\nconst getManagers = state => state.partnerManagersListReducer.get('managers');\r\n\r\nexport default createSelector(\r\n [getIsLoading, getManagers],\r\n (isLoading, managers) => ({\r\n isLoading,\r\n managers\r\n })\r\n);\r\n","import React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport Button from '../controls/Button';\r\nimport MaterialIcon from '../MaterialIcon/MaterialIcon';\r\nimport 'react-confirm-alert/src/react-confirm-alert.css';\r\nimport './_popup-body.scss';\r\nimport sharedResources from '../../features/Shared/resources';\r\n\r\nexport function PopupBody({ title, body, labelCancel, labelOk, onOk, onClose, onCancel, dispatch, buttonSize }) {\r\n return (\r\n
\r\n
\r\n \r\n {title &&
{title}
}\r\n
{body}
\r\n {(onOk || onCancel) &&
\r\n {onOk && (\r\n {\r\n onOk(dispatch);\r\n if (onClose) {\r\n onClose();\r\n }\r\n }}\r\n >\r\n {labelOk}\r\n \r\n )}\r\n {\r\n onCancel && (\r\n \r\n {labelCancel}\r\n \r\n )}\r\n
}\r\n
\r\n
\r\n );\r\n}\r\n\r\nPopupBody.defaultProps = {\r\n labelCancel: sharedResources.cancelLabel,\r\n labelOk: sharedResources.okLabel,\r\n buttonSize: 'small',\r\n};\r\n\r\nPopupBody.propTypes = {\r\n body: PropTypes.oneOfType([PropTypes.string, PropTypes.object]).isRequired,\r\n labelCancel: PropTypes.string.isRequired,\r\n labelOk: PropTypes.string.isRequired,\r\n onOk: PropTypes.func,\r\n onClose: PropTypes.func,\r\n onCancel: PropTypes.func,\r\n title: PropTypes.string,\r\n dispatch: PropTypes.func,\r\n buttonSize: PropTypes.string,\r\n};\r\n\r\nexport default connect()(PopupBody);\r\n","import React from 'react';\r\nimport { confirmAlert } from 'react-confirm-alert';\r\nimport { PopupBody } from '../PopupBody';\r\n\r\nfunction RenderConfirmBody(onClose, body, onConfirm, store) {\r\n return React.createElement(PopupBody, {\r\n body,\r\n onClose,\r\n onOk: onConfirm,\r\n });\r\n}\r\n\r\nfunction WrappedConfirmPopup({ body, onConfirm }) {\r\n confirmAlert({\r\n customUI: ({ onClose }) => RenderConfirmBody(onClose, body, onConfirm)\r\n });\r\n}\r\n\r\nexport default WrappedConfirmPopup;\r\n","import React, { useEffect, useMemo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport Spinner from '../../../../components/Spinner/Spinner';\r\nimport Button from '../../../../components/controls/Button';\r\nimport { connect } from 'react-redux';\r\nimport selectors from './partnerManagersListSelectors';\r\nimport routes from '../../../../routing/routes';\r\nimport { generatePath } from 'react-router-dom';\r\nimport InfoBox from '../../../../components/InfoBox/InfoBox';\r\nimport InfoBoxRow from '../../../../components/InfoBox/InfoBoxRow';\r\nimport partnerManagerResources from '../../../Shared/PartnerManager/partnerManagerResources';\r\nimport Table from '../../../../components/InfoBox/Table';\r\nimport { getManagersList, deleteManager } from './partnerManagersListActions';\r\nimport ActionCell from '../../../../components/InfoBox/ActionCell';\r\nimport WrappedConfirmPopup from '../../../../components/Popups/ConfirmAlert/WrappedConfirmPopup';\r\n\r\nfunction PartnerManagersList({\r\n isLoading,\r\n history,\r\n match,\r\n managers,\r\n getManagersList,\r\n deleteManager\r\n}) {\r\n const partnerManagersAddPath = generatePath(\r\n routes.partnerManagersAdd.path,\r\n match.params\r\n );\r\n useEffect(() => {\r\n getManagersList(match.params.partnerId);\r\n }, []);\r\n const onDeleteButtonClick = value =>\r\n WrappedConfirmPopup({\r\n body:
Are you sure you want to delete this user?
,\r\n onConfirm: () => deleteManager(value)\r\n });\r\n const columns = useMemo(\r\n () => [\r\n {\r\n Header: partnerManagerResources.labelFirstName,\r\n accessor: 'firstName'\r\n },\r\n {\r\n Header: partnerManagerResources.labelLastName,\r\n accessor: 'lastName'\r\n },\r\n {\r\n Header: partnerManagerResources.labelEmailAddress,\r\n accessor: 'email'\r\n },\r\n {\r\n Header: 'Actions',\r\n disableSortBy: true,\r\n accessor: 'id',\r\n Cell: ActionCell,\r\n getProps: () => ({\r\n handler: onDeleteButtonClick,\r\n label: 'Delete',\r\n theme: 'red'\r\n })\r\n }\r\n ],\r\n [partnerManagerResources]\r\n );\r\n const defaultSorted = useMemo(() => [{ id: 'firstName' }]);\r\n return isLoading ?\r\n (\r\n \r\n )\r\n : (\r\n \r\n \r\n {\r\n history.push(partnerManagersAddPath);\r\n }}\r\n >\r\n {partnerManagerResources.addManagerButtonText}\r\n \r\n \r\n \r\n
\r\n
\r\n );\r\n}\r\n\r\nPartnerManagersList.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n history: PropTypes.object.isRequired,\r\n match: PropTypes.object.isRequired,\r\n managers: PropTypes.object.isRequired,\r\n getManagersList: PropTypes.func.isRequired,\r\n deleteManager: PropTypes.func.isRequired\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getManagersList,\r\n deleteManager\r\n};\r\n\r\nexport default connect(selectors, mapDispatchToProps)(PartnerManagersList);\r\n","import http from '../../../../http/base';\r\nimport { API_PATHS } from '../../../../http/configs';\r\n\r\nexport function getManagersList(partnerId) {\r\n return http.get(API_PATHS.listManagers, { params: { partnerId } });\r\n}\r\nexport function deleteManager(managerId) {\r\n return http.delete(API_PATHS.deleteManager, { params: { managerId } });\r\n}\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Switch, Redirect, generatePath } from 'react-router-dom';\r\nimport NavigationTabControl from '../../components/NavigationTabControl/NavigationTabControl';\r\nimport { routeType } from '../../routing/routes';\r\nimport CustomRoute from '../../layouts/CustomRoute';\r\n\r\nconst PartnerManagerProfilePage = ({ match, history, currentRoute }) => {\r\n const { routes } = currentRoute;\r\n\r\n const routesForNavigation = routes.map((route) => {\r\n return { ...route, path: generatePath(route.path, match.params) };\r\n });\r\n\r\n return (\r\n
\r\n

User Profile

\r\n \r\n \r\n {routes.map((route, i) => (\r\n \r\n ))}\r\n\r\n \r\n \r\n
\r\n );\r\n};\r\n\r\nPartnerManagerProfilePage.propTypes = {\r\n match: PropTypes.object.isRequired,\r\n history: PropTypes.shape({\r\n push: PropTypes.func.isRequired\r\n }).isRequired,\r\n currentRoute: routeType.isRequired\r\n};\r\n\r\nexport default PartnerManagerProfilePage;\r\n","import { createSelector } from 'reselect';\r\nimport {\r\n UPDATE_MANAGER\r\n} from '../../Shared/PartnerManager/managePartnerManagerTypes';\r\n\r\nconst getManager = state => state.partnerManagerReducer.get('manager');\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === UPDATE_MANAGER)\r\n .size;\r\n\r\n return size > 0;\r\n};\r\n\r\nexport default createSelector(\r\n [getIsLoading, getManager],\r\n (isLoading, manager) => ({\r\n isLoading,\r\n manager\r\n })\r\n);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport CardInfo from '../../../components/CardInfo/CardInfo';\r\nimport selectors from './partnerManagerProfileGeneralInfoTabSelectors.js';\r\nimport ManagePartnerManagerForm from '../../Shared/PartnerManager/ManagePartnerManagerForm';\r\nimport {\r\n updateManager,\r\n getManager\r\n} from '../../Shared/PartnerManager/managePartnerManagerActions';\r\nimport WrappedConfirmPopup from '../../../components/Popups/ConfirmAlert/WrappedConfirmPopup';\r\n\r\nfunction PartnerManagerProfileGeneralInfoTab({\r\n isLoading,\r\n manager,\r\n updateManager\r\n}) {\r\n function handleSave(updatedManager) {\r\n const oldManager = manager.toJS();\r\n updatedManager = updatedManager.toJS();\r\n if (\r\n updatedManager.email\r\n .toLowerCase()\r\n .localeCompare(oldManager.email.toLowerCase()) !== 0\r\n ) {\r\n WrappedConfirmPopup({\r\n body: (\r\n <>\r\n
\r\n You will be logged out as we've noticed email\r\n address change.\r\n
\r\n
Please confirm to procceed.
\r\n \r\n ),\r\n onConfirm: () => {\r\n updateManager(updatedManager, true);\r\n }\r\n });\r\n } else {\r\n updateManager(updatedManager);\r\n }\r\n }\r\n return isLoading ?\r\n (\r\n \r\n )\r\n : (\r\n \r\n
\r\n \r\n
\r\n
\r\n );\r\n}\r\n\r\nPartnerManagerProfileGeneralInfoTab.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n manager: PropTypes.object.isRequired,\r\n updateManager: PropTypes.func.isRequired\r\n};\r\n\r\nconst mapDispatchToProps = { getManager, updateManager };\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default connectStateToProps(PartnerManagerProfileGeneralInfoTab);\r\n","import * as loadingActions from '../../Loading/loadingActions';\r\nimport * as types from './changePasswordTypes';\r\nimport appActions from '../../App/actions';\r\n\r\nexport default {\r\n changePassword: passwords => (\r\n dispatch,\r\n getState,\r\n { ChangePasswordService }\r\n ) => {\r\n dispatch(loadingActions.setLoading(types.CHANGE_PASSWORD));\r\n\r\n return ChangePasswordService.changePassword(passwords.toJS())\r\n .then(() => {\r\n dispatch(appActions.resetMe());\r\n })\r\n .catch((errorResponse) => {\r\n throw errorResponse;\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.CHANGE_PASSWORD));\r\n });\r\n }\r\n};\r\n","export const CHANGE_PASSWORD = 'CHANGE_PASSWORD';\r\n","export default {\r\n labelOldPassword: 'Old Password',\r\n labelNewPassword: 'New Password',\r\n labelConfirmPassword: 'Confirm Password',\r\n buttonSave: 'Save',\r\n};\r\n","import validationRules from '../../../utilities/validationRules';\r\n\r\nexport const passwordRegex = validationRules.passwordRegex;\r\n\r\nconst oldPasswordLabel = 'Old Password';\r\nconst newPasswordLabel = 'New Password';\r\nconst confirmPasswordLabel = 'Confirm Password';\r\n\r\nexport const oldPasswordRequired = validationRules.required(oldPasswordLabel);\r\nexport const newPasswordRequired = validationRules.required(newPasswordLabel);\r\nexport const confirmPasswordRequired = validationRules.required(confirmPasswordLabel);\r\nexport const oldPasswordMaxLength30 = validationRules.length(oldPasswordLabel, undefined, 30);\r\nexport const newPasswordMaxLength30 = validationRules.length(newPasswordLabel, undefined, 30);\r\nexport const confirmPasswordMaxLength30 = validationRules.length(confirmPasswordLabel, undefined, 30);\r\n\r\nexport default (values, props) => {\r\n const errors = {};\r\n\r\n if (values.get('oldPassword') === values.get('newPassword')) {\r\n errors.newPassword = 'New Password should be different from Old Password.';\r\n }\r\n\r\n if (values.get('newPassword') !== values.get('confirmPassword')) {\r\n errors.confirmPassword = 'New Password and Confirm Password must match.';\r\n }\r\n\r\n return errors;\r\n};","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport { defaultFormProperties } from '../../../utilities/form';\r\nimport { MuiInputText } from '../../../components/controls/MuiInputText';\r\nimport MuiButton from '../../../components/controls/MuiButton';\r\nimport FormGroup from '../../../components/controls/FormGroup';\r\nimport changePasswordResources from './changePasswordResources';\r\nimport validate, {\r\n oldPasswordRequired,\r\n newPasswordRequired,\r\n confirmPasswordRequired,\r\n passwordRegex,\r\n oldPasswordMaxLength30,\r\n newPasswordMaxLength30,\r\n confirmPasswordMaxLength30\r\n} from './changePasswordValidate';\r\n\r\nfunction ChangePasswordForm({ handleSubmit, submitting }) {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n {changePasswordResources.buttonSave}\r\n \r\n \r\n );\r\n}\r\n\r\nChangePasswordForm.propTypes = {\r\n handleSubmit: PropTypes.func.isRequired,\r\n submitting: PropTypes.bool.isRequired\r\n};\r\n\r\nexport default reduxForm({\r\n form: 'changePassword',\r\n validate,\r\n ...defaultFormProperties\r\n})(ChangePasswordForm);\r\n","import { createSelector } from 'reselect';\r\nimport * as types from './changePasswordTypes';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === types.CHANGE_PASSWORD)\r\n .size;\r\n\r\n return size > 0;\r\n};\r\n\r\nexport default createSelector([getIsLoading], isLoading => ({\r\n isLoading\r\n}));\r\n","import React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport CardInfo from '../../../components/CardInfo/CardInfo';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport actions from './changePasswordActions';\r\nimport ChangePasswordForm from './ChangePasswordForm';\r\nimport changePasswordSelectors from './changePasswordSelectors';\r\nimport WrappedConfirmPopup from '../../../components/Popups/ConfirmAlert/WrappedConfirmPopup';\r\n\r\nfunction ChangePassword({ isLoading, changePassword }) {\r\n function handleSave(changePasswordModel) {\r\n WrappedConfirmPopup({\r\n body: (\r\n <>\r\n
You will be logged out.
\r\n
Please confirm to procceed.
\r\n \r\n ),\r\n onConfirm: () => {\r\n changePassword(changePasswordModel);\r\n }\r\n });\r\n }\r\n\r\n return isLoading ?\r\n (\r\n \r\n )\r\n : (\r\n \r\n
\r\n \r\n
\r\n
\r\n );\r\n}\r\n\r\nChangePassword.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n changePassword: PropTypes.func.isRequired\r\n};\r\n\r\nexport default connect(changePasswordSelectors, actions)(ChangePassword);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Switch, Redirect, generatePath } from 'react-router-dom';\r\nimport NavigationTabControl from '../../components/NavigationTabControl/NavigationTabControl';\r\nimport allRoutes, { routeType } from '../../routing/routes';\r\nimport CustomRoute from '../../layouts/CustomRoute';\r\nimport { useSelector } from 'react-redux';\r\n\r\n\r\nfunction GroupMembershipsPage({ match, history, currentRoute }) {\r\n const { routes } = currentRoute;\r\n const partnerOwnerAreaReducer = useSelector(state => state.partnerOwnerAreaReducer);\r\n const programPaymentTypeID = partnerOwnerAreaReducer.get('programPaymentTypeID');\r\n const filteredRoutes = routes.filter(\r\n (route) => {\r\n switch (route.path) {\r\n case allRoutes.partnerOwnerGroupMembershipsPayments.path:\r\n case allRoutes.groupMembershipsEmployeeManagement.path:\r\n return programPaymentTypeID !== undefined;\r\n default:\r\n return true;\r\n }\r\n }\r\n );\r\n const routesForNavigation = filteredRoutes.map((route) => {\r\n return { ...route, path: generatePath(route.path, match.params) };\r\n });\r\n\r\n return (\r\n
\r\n

Group Memberships

\r\n \r\n \r\n {filteredRoutes.map((route, i) => (\r\n \r\n ))}\r\n\r\n \r\n \r\n
\r\n );\r\n};\r\n\r\nGroupMembershipsPage.propTypes = {\r\n match: PropTypes.object.isRequired,\r\n history: PropTypes.shape({\r\n push: PropTypes.func.isRequired\r\n }).isRequired,\r\n currentRoute: routeType.isRequired\r\n};\r\n\r\nexport default GroupMembershipsPage;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport ReactConfirmAlert from 'react-confirm-alert';\r\nimport { PopupBody } from '../PopupBody';\r\n\r\nfunction ConfirmPopup({ showPopup, body, onConfirm, onCancel, labelOk, buttonSize, labelCancel, title }) {\r\n return showPopup\r\n ? \r\n }\r\n />\r\n : <>;\r\n}\r\n\r\nConfirmPopup.propTypes = {\r\n showPopup: PropTypes.bool.isRequired,\r\n body: PropTypes.object.isRequired,\r\n onConfirm: PropTypes.func,\r\n onCancel: PropTypes.func.isRequired,\r\n labelOk: PropTypes.string,\r\n labelCancel: PropTypes.string,\r\n buttonSize: PropTypes.string,\r\n title: PropTypes.string\r\n};\r\n\r\nexport default ConfirmPopup;","const reimbursementTypes = Object.freeze({\r\n none: 0,\r\n toMember: 4,\r\n toFacility: 5,\r\n toBilling: 6,\r\n check: 7,\r\n byPaycheck: 8,\r\n corpWellness: 9,\r\n noReimbursements: 10,\r\n});\r\n\r\nexport const reimbursementTypesFullNamesMap = Object.freeze({\r\n [reimbursementTypes.none]: 'None',\r\n [reimbursementTypes.toMember]: 'Direct To Member',\r\n [reimbursementTypes.toFacility]: 'Direct To Bank Account',\r\n [reimbursementTypes.toBilling]: 'Direct To Billing Co',\r\n [reimbursementTypes.check]: 'Check To Facility',\r\n [reimbursementTypes.byPaycheck]: 'By Employee Paycheck',\r\n [reimbursementTypes.corpWellness]: 'Corporate Wellness',\r\n [reimbursementTypes.noReimbursements]: 'No Reimbursements'\r\n});\r\nexport default reimbursementTypes;\r\n","import programPaymentTypes, { programPaymentTypesFullNamesMap } from '../../../../enums/programPaymentTypes';\r\nimport reimbursementTypes, { reimbursementTypesFullNamesMap } from '../../../../enums/reimbursementTypes';\r\nimport moment from 'moment';\r\nimport { SLASHED_US_DATE_FORMAT } from '../../../../constants/formats';\r\n\r\nconst groupMembershipsInfoResources = {\r\n labelProgramSettings: 'Program Settings',\r\n labelPartnerSettings: 'Partner Settings',\r\n labelFacilitySettings: 'Facility Settings',\r\n labelMemberSettings: 'Member Settings',\r\n labelProgramFee: 'Program Fee',\r\n labelProgramPaymentType: 'Program Payment Type',\r\n labelNumberOfMemberships: 'Number Of Memberships',\r\n labelReimbursementType: 'Reimbursement Billing Type',\r\n labelFeesBillingType: 'Fees Billing Type',\r\n labelDuesForOneMemberPerMonthPaidToFacility: 'Dues Paid For 1 Member To Facility',\r\n labelNotes: 'Notes',\r\n labelAdminFee: 'Admin Fee',\r\n labelDuesAmount: 'Dues Amount',\r\n labelReimbursementAmount: 'Reimbursement Amount',\r\n labelNumberOfVisitsToReimburse: 'Number Of Visits to be Reimbursed',\r\n fieldProgramFee: 'monthlyInstallment',\r\n fieldProgramPaymentType: 'programPaymentTypeID',\r\n fieldNumberOfMemberships: 'numberOfMemberships',\r\n fieldReimbursementType: 'reimbursementTypeName',\r\n fieldFeesBillingType: 'facilityFeesBillingTypeName',\r\n fieldDuesForOneMemberPerMonthPaidToFacility: 'duesForOneMemberPerMonthPaidToFacility',\r\n fieldAdminFee: 'adminFee',\r\n fieldDuesAmount: 'memberDuesAmount',\r\n fieldReimbursementAmount: 'memberReimbursementAmount',\r\n fieldNumberOfVisitsToReimburse: 'numberOfVisitsToReimburse',\r\n fieldMemberReimbursementType: 'memberReimbursementTypeID',\r\n placeholderProgramPaymentType: 'Select Program Payment Type',\r\n fieldLaunchDate: 'launchDate',\r\n labelLaunchDate: 'Launch Date',\r\n fieldPaymentForActivatedMembersOnly: 'paymentForActivatedMembersOnly',\r\n labelPaymentForActivatedMembersOnly: 'Payment for activated members only',\r\n programPaymentTypeOptions: [\r\n { value: programPaymentTypes.partnerPaid, label: programPaymentTypesFullNamesMap[programPaymentTypes.partnerPaid] },\r\n { value: programPaymentTypes.memberPaid, label: programPaymentTypesFullNamesMap[programPaymentTypes.memberPaid] },\r\n { value: programPaymentTypes.partnerMemberPaid, label: programPaymentTypesFullNamesMap[programPaymentTypes.partnerMemberPaid] }],\r\n reimbursementTypeOptions: [\r\n { value: reimbursementTypes.toMember, label: reimbursementTypesFullNamesMap[reimbursementTypes.toFacility] }, // the label in the form should say \"Direct To Bank Account\" but the corresponding value to be stored is \"Direct To Member\"\r\n { value: reimbursementTypes.byPaycheck, label: reimbursementTypesFullNamesMap[reimbursementTypes.byPaycheck] },\r\n { value: reimbursementTypes.noReimbursements, label: reimbursementTypesFullNamesMap[reimbursementTypes.noReimbursements] },\r\n ],\r\n};\r\n\r\nexport function GetAddingConfirmationMessage(programPaymentType) {\r\n return `Are you sure you want to create a ${groupMembershipsInfoResources.programPaymentTypeOptions.find(ppto => ppto.value === programPaymentType).label} program?`;\r\n};\r\n\r\nexport function GetLaunchDateMinValue() {\r\n return moment().format(SLASHED_US_DATE_FORMAT);\r\n};\r\n\r\nexport function GetLaunchDateMaxValue() {\r\n return moment().add(6, 'M')\r\n .format(SLASHED_US_DATE_FORMAT);\r\n};\r\n\r\nexport default groupMembershipsInfoResources;","import { createSelector } from 'reselect';\r\nimport { GET_GROUP_MEMBERSHIP, UPDATE_GROUP_MEMBERSHIP, ADD_GROUP_MEMBERSHIP } from './groupMembershipsTypes';\r\nimport { GetAddingConfirmationMessage } from './GroupMembershipsInfoForm/groupMembershipsInfoResources';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(\r\n i =>\r\n i === GET_GROUP_MEMBERSHIP || i === UPDATE_GROUP_MEMBERSHIP || i === ADD_GROUP_MEMBERSHIP\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\nconst getIsGroupMembershipAddedToPartner = state => state.partnerOwnerAreaReducer.get('isGroupMembershipAddedToPartner');\r\nconst getGroupMembership = state => state.groupMembershipsReducer.get('groupMembership');\r\nconst getGroupMembershipToAdd = state => state.groupMembershipsReducer.get('groupMembershipToAdd');\r\nconst getIsExisting = state => state.groupMembershipsReducer.getIn(['groupMembership', 'id']) > 0;\r\nconst getHasEnrolledOrInvitedMembers = state => state.groupMembershipsReducer.get('hasEnrolledOrInvitedMembers');\r\n\r\nconst getIsConfirmationPopupVisible = createSelector(\r\n [getGroupMembershipToAdd],\r\n (groupMembershipToAdd) => {\r\n return groupMembershipToAdd !== undefined;\r\n }\r\n);\r\nconst getSavingConfirmationPopupMessage = createSelector(\r\n [getGroupMembershipToAdd],\r\n (groupMembershipToAdd) => {\r\n if (groupMembershipToAdd === undefined) {\r\n return;\r\n }\r\n return GetAddingConfirmationMessage(groupMembershipToAdd.get('programPaymentTypeID'));\r\n }\r\n);\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n getGroupMembership,\r\n getIsConfirmationPopupVisible,\r\n getGroupMembershipToAdd,\r\n getSavingConfirmationPopupMessage,\r\n getIsGroupMembershipAddedToPartner,\r\n getIsExisting,\r\n getHasEnrolledOrInvitedMembers\r\n ],\r\n (\r\n isLoading,\r\n groupMembership,\r\n isConfirmationPopupVisible,\r\n groupMembershipToAdd,\r\n savingConfirmationPopupMessage,\r\n isGroupMembershipAddedToPartner,\r\n isExisting,\r\n hasEnrolledOrInvitedMembers\r\n ) => ({\r\n isLoading,\r\n groupMembership,\r\n isConfirmationPopupVisible,\r\n groupMembershipToAdd,\r\n savingConfirmationPopupMessage,\r\n isGroupMembershipAddedToPartner,\r\n isExisting,\r\n hasEnrolledOrInvitedMembers\r\n })\r\n);\r\n","/* eslint-disable react/no-multi-comp*/\r\nimport React, { useMemo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { NumericFormat } from 'react-number-format';\r\nimport { TextField, InputAdornment } from '@material-ui/core';\r\nimport './_muiinput.scss';\r\nimport styles from './_muiinput.module.scss';\r\n\r\nexport function MuiInputCurrency(props) {\r\n const {\r\n meta = {},\r\n input = {},\r\n label,\r\n addAsteriskToLabel,\r\n variant,\r\n defaultValue,\r\n id,\r\n disabled,\r\n onClick,\r\n fullWidth,\r\n showErrorMessage,\r\n readOnly,\r\n currencySymbol,\r\n decimalScale,\r\n fixedDecimalScale,\r\n thousandSeparator,\r\n thousandsGroupStyle,\r\n decimalSeparator,\r\n adornmentVariant,\r\n labelVariant\r\n } = props;\r\n const muiLabel = useMemo(() => {\r\n return addAsteriskToLabel ? `${label} *` : label;\r\n }, [addAsteriskToLabel]);\r\n const { value, name, onChange, onBlur, onFocus } = input;\r\n const { error, touched } = meta;\r\n const showError = (error && touched) || false;\r\n const showHelperText = showError && showErrorMessage;\r\n const materialUITextFieldProps = {\r\n name,\r\n label: muiLabel,\r\n error: showError,\r\n helperText: showHelperText ? error : '',\r\n defaultValue,\r\n onChange,\r\n onBlur,\r\n onClick,\r\n disabled,\r\n variant: readOnly ? 'filled' : variant,\r\n fullWidth,\r\n onFocus,\r\n id,\r\n InputProps: {\r\n startAdornment: {currencySymbol},\r\n readOnly,\r\n className: readOnly ? styles.input_readOnly : ''\r\n },\r\n InputLabelProps: {\r\n variant: labelVariant,\r\n className: readOnly ? styles.label_readOnly : ''\r\n }\r\n };\r\n return
\r\n \r\n
;\r\n}\r\n\r\nMuiInputCurrency.defaultProps = {\r\n currencySymbol: '$',\r\n fixedDecimalScale: true,\r\n decimalScale: 2,\r\n decimalSeparator: '.',\r\n thousandSeparator: ',',\r\n thousandsGroupStyle: 'thousand',\r\n addAsteriskToLabel: false,\r\n variant: 'outlined',\r\n fullWidth: true,\r\n showErrorMessage: true,\r\n readOnly: false,\r\n adornmentVariant: 'outlined',\r\n labelVariant: 'outlined',\r\n};\r\n\r\nMuiInputCurrency.propTypes = {\r\n label: PropTypes.string,\r\n name: PropTypes.string,\r\n currencySymbol: PropTypes.string,\r\n decimalScale: PropTypes.number,\r\n decimalSeparator: PropTypes.string,\r\n fixedDecimalScale: PropTypes.bool,\r\n thousandSeparator: PropTypes.string,\r\n thousandsGroupStyle: PropTypes.string,\r\n onChange: PropTypes.func,\r\n onBlur: PropTypes.func,\r\n onClick: PropTypes.func,\r\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n defaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n id: PropTypes.string,\r\n error: PropTypes.string,\r\n touched: PropTypes.bool,\r\n disabled: PropTypes.bool,\r\n addAsteriskToLabel: PropTypes.bool,\r\n meta: PropTypes.object,\r\n input: PropTypes.object,\r\n variant: PropTypes.string,\r\n fullWidth: PropTypes.bool,\r\n onFocus: PropTypes.func,\r\n showErrorMessage: PropTypes.bool,\r\n readOnly: PropTypes.bool,\r\n adornmentVariant: PropTypes.string,\r\n labelVariant: PropTypes.string\r\n};\r\n","/* eslint-disable react/no-multi-comp*/\r\nimport React, { useMemo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './_muiinput.scss';\r\nimport styles from './_muiinput.module.scss';\r\nimport { NumericFormat } from 'react-number-format';\r\nimport { TextField, InputAdornment } from '@material-ui/core';\r\n\r\nexport function MuiInputNumeric(props) {\r\n const {\r\n meta = {},\r\n input = {},\r\n label,\r\n addAsteriskToLabel,\r\n variant,\r\n defaultValue,\r\n id,\r\n disabled,\r\n onClick,\r\n fullWidth,\r\n showErrorMessage,\r\n readOnly,\r\n prefix,\r\n decimalScale,\r\n fixedDecimalScale,\r\n thousandSeparator,\r\n thousandsGroupStyle,\r\n decimalSeparator,\r\n adornmentVariant,\r\n labelVariant\r\n } = props;\r\n const muiLabel = useMemo(() => {\r\n return addAsteriskToLabel ? `${label} *` : label;\r\n }, [addAsteriskToLabel]);\r\n const { value, name, onChange, onBlur, onFocus } = input;\r\n const { error, touched } = meta;\r\n const showError = (error && touched) || false;\r\n const showHelperText = showError && showErrorMessage;\r\n const materialUITextFieldProps = {\r\n name,\r\n label: muiLabel,\r\n error: showError,\r\n helperText: showHelperText ? error : '',\r\n defaultValue,\r\n onChange,\r\n onBlur,\r\n onClick,\r\n disabled,\r\n variant: readOnly ? 'filled' : variant,\r\n fullWidth,\r\n onFocus,\r\n id,\r\n InputProps: {\r\n startAdornment: prefix ? ({prefix}) : null,\r\n readOnly,\r\n className: readOnly ? styles.input_readOnly : ''\r\n },\r\n InputLabelProps: {\r\n variant: labelVariant,\r\n className: readOnly ? styles.label_readOnly : ''\r\n }\r\n };\r\n return
\r\n {\r\n \r\n }\r\n
;\r\n}\r\n\r\nMuiInputNumeric.defaultProps = {\r\n fixedDecimalScale: true,\r\n decimalScale: 0,\r\n decimalSeparator: '.',\r\n thousandSeparator: '',\r\n thousandsGroupStyle: 'thousand',\r\n addAsteriskToLabel: false,\r\n variant: 'outlined',\r\n fullWidth: true,\r\n showErrorMessage: true,\r\n readOnly: false,\r\n adornmentVariant: 'outlined',\r\n labelVariant: 'outlined',\r\n};\r\n\r\nMuiInputNumeric.propTypes = {\r\n label: PropTypes.string,\r\n name: PropTypes.string,\r\n prefix: PropTypes.string,\r\n decimalScale: PropTypes.number,\r\n decimalSeparator: PropTypes.string,\r\n fixedDecimalScale: PropTypes.bool,\r\n thousandSeparator: PropTypes.string,\r\n thousandsGroupStyle: PropTypes.string,\r\n onChange: PropTypes.func,\r\n onBlur: PropTypes.func,\r\n onClick: PropTypes.func,\r\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n defaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n id: PropTypes.string,\r\n error: PropTypes.string,\r\n touched: PropTypes.bool,\r\n disabled: PropTypes.bool,\r\n addAsteriskToLabel: PropTypes.bool,\r\n meta: PropTypes.object,\r\n input: PropTypes.object,\r\n variant: PropTypes.string,\r\n fullWidth: PropTypes.bool,\r\n onFocus: PropTypes.func,\r\n showErrorMessage: PropTypes.bool,\r\n readOnly: PropTypes.bool,\r\n adornmentVariant: PropTypes.string,\r\n labelVariant: PropTypes.string\r\n};\r\n","import validationRules from '../../../../utilities/validationRules';\r\nimport groupMembershipsInfoResources, { GetLaunchDateMinValue, GetLaunchDateMaxValue } from './groupMembershipsInfoResources';\r\nimport programPaymentTypes from '../../../../enums/programPaymentTypes';\r\nimport reimbursementTypes from '../../../../enums/reimbursementTypes';\r\n\r\nexport const programFeeRequired = validationRules.required(\r\n groupMembershipsInfoResources.labelProgramFee\r\n);\r\nexport const programFeeRange = validationRules.range(\r\n groupMembershipsInfoResources.labelProgramFee,\r\n 0,\r\n 99999999.99\r\n);\r\n\r\nexport const programFeeGreaterThanNumberOfMembershipsAndDuesForOneMemberPerMonthPaidToFacilityRequiredMultiplication = validationRules.greaterThanMultiplicationIf(\r\n 'numberOfMemberships',\r\n 'duesForOneMemberPerMonthPaidToFacility',\r\n 'Dues for 1 member per month paid to the facility multiplied by Number Of Memberships cannot be greater than Program Fee.',\r\n groupMembershipsInfoResources.fieldProgramPaymentType,\r\n programPaymentTypes.partnerPaid\r\n);\r\n\r\nexport const numberOfMembershipsRequired = validationRules.required(\r\n groupMembershipsInfoResources.labelNumberOfMemberships\r\n);\r\nexport const numberOfMembershipsRange = validationRules.range(\r\n groupMembershipsInfoResources.labelNumberOfMemberships,\r\n 0,\r\n 999999\r\n);\r\n\r\nexport const duesForOneMemberPerMonthPaidToFacilityRequired = validationRules.required(\r\n groupMembershipsInfoResources.labelDuesForOneMemberPerMonthPaidToFacility\r\n);\r\nexport const duesForOneMemberPerMonthPaidToFacilityRange = validationRules.range(\r\n groupMembershipsInfoResources.labelDuesForOneMemberPerMonthPaidToFacility,\r\n 0,\r\n 999.99\r\n);\r\n\r\nexport const numberOfMembershipsValidation = function (values, membersCount, resolve, reject) {\r\n if (membersCount >= 0 && values.get('numberOfMemberships') < membersCount) {\r\n reject({ numberOfMemberships: 'Number of memberships cannot be less than the number of members added to Partner. If you want to reduce number of memberships then remove extra members.' });\r\n }\r\n else resolve();\r\n};\r\n\r\nexport const adminFeeRequired = validationRules.required(\r\n groupMembershipsInfoResources.labelAdminFee\r\n);\r\nexport const adminFeeRange = validationRules.range(\r\n groupMembershipsInfoResources.labelAdminFee,\r\n 0,\r\n 999.99\r\n);\r\n\r\nexport const programPaymentTypeRequired = validationRules.required(\r\n groupMembershipsInfoResources.labelProgramPaymentType\r\n);\r\n\r\nexport const reimbursementTypeGreater = validationRules.greaterThanOrEqualSpecificValue(\r\n 1,\r\n groupMembershipsInfoResources.labelReimbursementType\r\n);\r\n\r\nexport const memberReimbursementTypeRequired = validationRules.requiredIf(\r\n groupMembershipsInfoResources.fieldProgramPaymentType,\r\n groupMembershipsInfoResources.labelReimbursementType,\r\n programPaymentTypes.memberPaid\r\n);\r\n\r\nexport const reimbursementAmountRequired = validationRules.requiredIfAny(\r\n groupMembershipsInfoResources.fieldMemberReimbursementType,\r\n groupMembershipsInfoResources.labelReimbursementAmount,\r\n [reimbursementTypes.toMember,\r\n reimbursementTypes.byPaycheck]\r\n);\r\nexport const reimbursementAmountRange = validationRules.range(\r\n groupMembershipsInfoResources.labelReimbursementAmount,\r\n 0,\r\n 999.99\r\n);\r\n\r\nexport const numberOfVisitsToReimburseRequired = validationRules.requiredIfAny(\r\n groupMembershipsInfoResources.fieldMemberReimbursementType,\r\n groupMembershipsInfoResources.labelNumberOfVisitsToReimburse,\r\n [reimbursementTypes.toMember,\r\n reimbursementTypes.byPaycheck]\r\n);\r\n\r\nexport const numberOfVisitsToReimburseRange = validationRules.range(\r\n groupMembershipsInfoResources.labelNumberOfVisitsToReimburse,\r\n 0,\r\n 31\r\n);\r\n\r\nexport const duesAmountRequired = validationRules.required(\r\n groupMembershipsInfoResources.labelDuesAmount\r\n);\r\nexport const duesAmountRange = validationRules.range(\r\n groupMembershipsInfoResources.labelDuesAmount,\r\n 0,\r\n 999.99\r\n);\r\nexport const launchDateRequired = validationRules.required(\r\n groupMembershipsInfoResources.labelLaunchDate\r\n);\r\n\r\nexport const launchDateRange =\r\n validationRules.range(\r\n groupMembershipsInfoResources.labelLaunchDate,\r\n GetLaunchDateMinValue(),\r\n GetLaunchDateMaxValue(),\r\n 'dateString'\r\n );","const asyncFormValidation = (values, dispatch, action, validation) => {\r\n return new Promise((resolve, reject) => {\r\n dispatch(action(values))\r\n .then((response) => {\r\n validation(values, response, resolve, reject);\r\n\t });\r\n });\r\n};\r\n\r\nexport default asyncFormValidation;","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\n\r\nexport function getGroupMembership(partnerId) {\r\n return http.get(API_PATHS.getGroupMembership, {\r\n params: { partnerId: partnerId ? partnerId : null }\r\n });\r\n}\r\n\r\nexport function updateGroupMembership(groupMembership)\r\n{\r\n return http.put(API_PATHS.updateGroupMembership, groupMembership);\r\n}\r\n\r\nexport function addGroupMembership(groupMembership)\r\n{\r\n return http.post(API_PATHS.addGroupMembership, groupMembership);\r\n}\r\n\r\nexport function getHasEnrolledOrInvitedMembers(partnerID)\r\n{\r\n return http.get(API_PATHS.hasEnrolledOrInvitedMembers, { params: { partnerID } });\r\n}","import { MULTIPART_FORM_DATA } from '../../../constants/contentTypes';\r\nimport http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\nimport { replaceRouteParams } from '../../../utilities/routeHelper';\r\n\r\nexport function createKeyfobs(keyfobs) {\r\n return http.post(API_PATHS.createKeyfobs, keyfobs);\r\n}\r\n\r\nexport function getKeyfobsList(partnerID, pageNumber, pageSize, sortBy, sortOrder, filter) {\r\n return http.get(API_PATHS.listKeyfobs, { params: { page: pageNumber, pageSize, sortBy, sortOrder, partnerID, filter } });\r\n}\r\n\r\nexport function downloadKeyfobsAndEmployees(partnerID) {\r\n return http.get(API_PATHS.downloadKeyfobsAndEmployees, { responseType: 'blob', params: { partnerID } });\r\n};\r\n\r\nexport function deleteKeyfob(keyfobID) {\r\n return http.delete(replaceRouteParams(API_PATHS.deleteKeyfob, keyfobID));\r\n}\r\n\r\nexport function deactivateMembership(facilityMemberID) {\r\n return http.post(API_PATHS.deactivateMembership, null, { params: { facilityMemberID } });\r\n}\r\n\r\nexport function getMembersCount(partnerId) {\r\n return http.get(API_PATHS.membersCount, { params: { partnerId } });\r\n}\r\n\r\nexport function reassignKeyfob(keyfobToReassign) {\r\n return http.post(API_PATHS.reassignKeyfob, keyfobToReassign);\r\n}\r\n\r\nexport function getIsReassignKeyfobFeatureEnabled() {\r\n return http.get(API_PATHS.isReassignKeyfobFeatureEnabled);\r\n}\r\n\r\nexport function uploadMemberRecipients(partnerId, recipientsFile) {\r\n const formData = new FormData();\r\n formData.append('file', recipientsFile);\r\n const config = {\r\n headers: {\r\n 'content-type': MULTIPART_FORM_DATA\r\n },\r\n params: { partnerId }\r\n };\r\n return http.post(API_PATHS.uploadMemberRecipients, formData, config);\r\n}\r\n\r\nexport function getMembersWaitingToInviteCount(partnerID) {\r\n return http.get(replaceRouteParams(API_PATHS.getMembersWaitingToInviteCount, partnerID));\r\n}\r\n\r\nexport function deleteMemberGroupMembershipEnrollment(groupMembershipEnrollmentID, programPaymentTypeID) {\r\n return http.delete(replaceRouteParams(API_PATHS.deleteMemberGroupMembership, groupMembershipEnrollmentID, programPaymentTypeID));\r\n}\r\n\r\nexport function updateMember(member) {\r\n return http.patch(replaceRouteParams(API_PATHS.updateMember, member.memberId), { 'id': member.memberId, 'email': member.memberEmail });\r\n}","const facilityFeesBillingTypes = Object.freeze({\r\n none: 0,\r\n directFromFacility: 1,\r\n optumHealth: 2, //Removed\r\n invoiceFacility: 3,\r\n feesWaived: 4, //Removed\r\n humanaInvoice: 5, //Removed\r\n atYourBest: 6,\r\n renewActive: 7,\r\n uprLifetimeFitness: 8,\r\n renewActiveInvoiceAndCheck: 9,\r\n facilityInvoiceCheck: 10,\r\n aarpMedSupInvoiceCheck: 11,\r\n facilityInvoiceAarpMedSupCheck: 12,\r\n onePassCommercial: 13,\r\n onePassCommercialInvoiceAndCheck: 14\r\n});\r\n\r\nexport const facilityFeesBillingTypesFullNamesMap = Object.freeze({\r\n [facilityFeesBillingTypes.none]: 'None',\r\n [facilityFeesBillingTypes.directFromFacility]: 'Direct From Bank Account',\r\n [facilityFeesBillingTypes.optumHealth]: 'Optum FRP invoice', //Removed\r\n [facilityFeesBillingTypes.invoiceFacility]: 'Invoice Facility',\r\n [facilityFeesBillingTypes.feesWaived]: 'Fees Waived', //Removed\r\n [facilityFeesBillingTypes.humanaInvoice]: 'Humana invoice', //Removed\r\n [facilityFeesBillingTypes.atYourBest]: 'AARP/At Your Best invoice',\r\n [facilityFeesBillingTypes.renewActive]: 'Renew Active/One Pass Medicare & Medicaid Invoice',\r\n [facilityFeesBillingTypes.uprLifetimeFitness]: 'UPR Lifetime Fitness invoice',\r\n [facilityFeesBillingTypes.renewActiveInvoiceAndCheck]: 'Renew Active/One Pass Medicare & Medicaid Invoice & Check',\r\n [facilityFeesBillingTypes.facilityInvoiceCheck]: 'Facility Invoice & Check',\r\n [facilityFeesBillingTypes.aarpMedSupInvoiceCheck]: 'AARP Med Sup Invoice & Check',\r\n [facilityFeesBillingTypes.facilityInvoiceAarpMedSupCheck]: 'Facility Invoice & AARP Med Sup Check',\r\n [facilityFeesBillingTypes.onePassCommercial]: 'One Pass Select (Commercial)/Aaptiv Access Invoice',\r\n [facilityFeesBillingTypes.onePassCommercialInvoiceAndCheck]: 'One Pass Select (Commercial)/Aaptiv Access Invoice & Check'\r\n});\r\n\r\nexport default facilityFeesBillingTypes;\r\n","const installmentTypes = Object.freeze({\r\n directFromPartner: 1\r\n});\r\nexport const installmentTypesFullNamesMap = Object.freeze({\r\n [installmentTypes.directFromPartner]: 'Direct From Partner'\r\n});\r\nexport default installmentTypes;\r\n","import * as types from './groupMembershipsTypes';\r\nimport * as groupMembershipsService from './groupMembershipsService';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport * as employeeManagementService from '../EmployeeManagement/employeeManagementService';\r\nimport facilityFeesBillingTypes, { facilityFeesBillingTypesFullNamesMap } from '../../../enums/facilityFeesBillingTypes';\r\nimport installmentTypes, { installmentTypesFullNamesMap } from '../../../enums/installmentTypes';\r\nimport reimbursementTypes, { reimbursementTypesFullNamesMap } from '../../../enums/reimbursementTypes';\r\nimport groupMembershipsInfoResources from './GroupMembershipsInfoForm/groupMembershipsInfoResources';\r\n\r\nconst setGroupMembership = (groupMembership) => {\r\n return { type: types.SET_GROUP_MEMBERSHIP, groupMembership };\r\n};\r\nconst setGroupMembershipToAddAction = (groupMembershipToAdd) => {\r\n return { type: types.SET_GROUP_MEMBERSHIP_TO_ADD, groupMembershipToAdd };\r\n};\r\nconst getDefaultGroupMembership = (partnerId) => {\r\n return {\r\n partnerId,\r\n [groupMembershipsInfoResources.fieldProgramPaymentType]: undefined,\r\n [groupMembershipsInfoResources.fieldAdminFee]: undefined,\r\n [groupMembershipsInfoResources.fieldProgramFee]: undefined,\r\n [groupMembershipsInfoResources.fieldNumberOfMemberships]: undefined,\r\n [groupMembershipsInfoResources.fieldDuesForOneMemberPerMonthPaidToFacility]: undefined,\r\n [groupMembershipsInfoResources.fieldDuesAmount]: undefined,\r\n [groupMembershipsInfoResources.fieldMemberReimbursementType]: undefined,\r\n [groupMembershipsInfoResources.fieldReimbursementAmount]: undefined,\r\n [groupMembershipsInfoResources.fieldNumberOfVisitsToReimburse]: undefined,\r\n [groupMembershipsInfoResources.fieldPaymentForActivatedMembersOnly]: false,\r\n facilityFeesBillingTypeID: facilityFeesBillingTypes.directFromFacility, //Direct From Bank Account\r\n facilityFeesBillingTypeName: facilityFeesBillingTypesFullNamesMap[facilityFeesBillingTypes.directFromFacility],\r\n installmentTypeID: installmentTypes.directFromPartner, //Direct From Partner\r\n installmentTypeIName: installmentTypesFullNamesMap[installmentTypes.directFromPartner],\r\n reimbursementTypeID: reimbursementTypes.toFacility, //Direct To Bank Account\r\n reimbursementTypeName: reimbursementTypesFullNamesMap[reimbursementTypes.toFacility]\r\n };\r\n};\r\nexport function resetGroupMembershipToAdd() {\r\n return function (dispatch) {\r\n dispatch(setGroupMembershipToAddAction(undefined));\r\n };\r\n}\r\nexport function resetGroupMembership(partnerId) {\r\n return function (dispatch) {\r\n dispatch(setGroupMembership(getDefaultGroupMembership(partnerId)));\r\n dispatch(setGroupMembershipToAddAction(undefined));\r\n dispatch(setHasEnrolledOrInvitedMembers(false));\r\n };\r\n}\r\n\r\nexport function setGroupMembershipToAdd(groupMembership) {\r\n return function (dispatch) {\r\n dispatch(setGroupMembershipToAddAction(groupMembership));\r\n };\r\n}\r\n\r\nexport function getGroupMembership(partnerId) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_GROUP_MEMBERSHIP));\r\n return groupMembershipsService\r\n .getGroupMembership(partnerId)\r\n .then((groupMembership) => {\r\n dispatch(setGroupMembership(groupMembership));\r\n })\r\n .catch((errorResponse) => {\r\n if (errorResponse.status === 404) {\r\n dispatch(resetGroupMembership(partnerId));\r\n } else {\r\n throw errorResponse;\r\n }\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_GROUP_MEMBERSHIP));\r\n dispatch(setGroupMembershipToAddAction(undefined));\r\n });\r\n };\r\n}\r\n\r\nexport function updateGroupMembership(groupMembership) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.UPDATE_GROUP_MEMBERSHIP));\r\n return groupMembershipsService\r\n .updateGroupMembership(groupMembership)\r\n .then((result) => {\r\n if (result.success) {\r\n dispatch(setGroupMembership(result.data));\r\n }\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.UPDATE_GROUP_MEMBERSHIP));\r\n dispatch(setGroupMembershipToAddAction(undefined));\r\n });\r\n };\r\n}\r\n\r\nexport function addGroupMembership(groupMembership) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.ADD_GROUP_MEMBERSHIP));\r\n return groupMembershipsService\r\n .addGroupMembership(groupMembership)\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.ADD_GROUP_MEMBERSHIP));\r\n dispatch(setGroupMembershipToAddAction(undefined));\r\n });\r\n };\r\n}\r\n\r\nexport function getMembersCount(values) {\r\n return function () {\r\n return employeeManagementService.getMembersCount(values.get('partnerId'));\r\n };\r\n}\r\n\r\nconst setHasEnrolledOrInvitedMembers = (hasEnrolledOrInvitedMembers) => {\r\n return { type: types.SET_GROUP_MEMBERSHIP_HAS_ENROLLED_OR_INVITED_MEMBERS, hasEnrolledOrInvitedMembers };\r\n};\r\n\r\nexport function getHasEnrolledOrInvitedMembers(partnerID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_GROUP_MEMBERSHIP_HAS_ENROLLED_OR_INVITED_MEMBERS));\r\n groupMembershipsService.getHasEnrolledOrInvitedMembers(partnerID)\r\n .then((response) => {\r\n dispatch(setHasEnrolledOrInvitedMembers(response.data));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_GROUP_MEMBERSHIP_HAS_ENROLLED_OR_INVITED_MEMBERS));\r\n });\r\n };\r\n}\r\n","import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { SLASHED_US_DATE_FORMAT } from '../../constants/formats';\r\nimport MomentUtils from '@date-io/moment';\r\nimport moment from 'moment';\r\nimport { MuiPickersUtilsProvider, KeyboardDatePicker } from '@material-ui/pickers';\r\nimport './_muiinput.scss';\r\nimport styles from './_muiinput.module.scss';\r\n\r\nfunction MuiInputDatePicker({\r\n input,\r\n meta,\r\n formatString,\r\n label,\r\n readOnly,\r\n variant,\r\n inputVariant,\r\n fullWidth,\r\n id,\r\n minDate,\r\n maxDate,\r\n labelVariant\r\n}) {\r\n useEffect(() => {\r\n setTouched(meta.touched);\r\n }, [meta.touched]);\r\n const [touched, setTouched] = useState(false);\r\n const handleClose = () => {\r\n setOpen(false);\r\n setTouched(true);\r\n };\r\n const handleOpen = () => {\r\n if (!readOnly) {\r\n setTouched(true);\r\n setOpen(true);\r\n }\r\n };\r\n const handleDateChange = (date) => {\r\n if (date === null) {\r\n onChange(date);\r\n return;\r\n }\r\n const momentDate = moment(date, formatString, true);\r\n if (momentDate.isValid()) {\r\n onChange(momentDate.format(formatString));\r\n }\r\n };\r\n const { error } = meta;\r\n const showError = error && touched;\r\n const { value, onChange } = input;\r\n const [open, setOpen] = useState(false);\r\n return
\r\n \r\n \r\n \r\n
;\r\n}\r\n\r\nMuiInputDatePicker.propTypes = {\r\n input: PropTypes.shape({\r\n onChange: PropTypes.func.isRequired,\r\n value: PropTypes.string,\r\n }).isRequired,\r\n formatString: PropTypes.string.isRequired,\r\n meta: PropTypes.shape({\r\n touched: PropTypes.bool,\r\n error: PropTypes.string,\r\n }),\r\n label: PropTypes.string,\r\n readOnly: PropTypes.bool,\r\n id: PropTypes.string,\r\n variant: PropTypes.string,\r\n inputVariant: PropTypes.string,\r\n fullWidth: PropTypes.bool,\r\n minDate: PropTypes.oneOfType([PropTypes.string, PropTypes.instanceOf(Date)]),\r\n maxDate: PropTypes.oneOfType([PropTypes.string, PropTypes.instanceOf(Date)]),\r\n labelVariant: PropTypes.string\r\n};\r\n\r\nMuiInputDatePicker.defaultProps = {\r\n formatString: SLASHED_US_DATE_FORMAT,\r\n variant: 'inline',\r\n inputVariant: 'outlined',\r\n fullWidth: true,\r\n labelVariant: 'outlined',\r\n};\r\n\r\nexport default MuiInputDatePicker;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { FormControl, FormControlLabel, FormHelperText, Checkbox, FormGroup } from '@material-ui/core';\r\nimport styles from './_muiinputcheckbox.module.scss';\r\n\r\nconst MuiInputCheckbox = ({ label, id, input, meta, ...props }) => {\r\n const { value, name, onChange, checked, disabled, onBlur } = input || props;\r\n const { error, touched } = meta;\r\n const showError = error && touched;\r\n return (\r\n \r\n \r\n \r\n }\r\n label={label}\r\n />\r\n \r\n {showError ? error : ''}\r\n \r\n );\r\n};\r\n\r\nMuiInputCheckbox.propTypes = {\r\n label: PropTypes.string.isRequired,\r\n id: PropTypes.string.isRequired,\r\n input: PropTypes.object,\r\n meta: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default MuiInputCheckbox;","import React, { useState, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport MuiInfoBox from '../../../../components/InfoBox/MuiInfoBox';\r\nimport FormGroup from '../../../../components/controls/FormGroup';\r\nimport { Field, reduxForm, reset, change } from 'redux-form/immutable';\r\nimport MuiInputSelect from '../../../../components/controls/MuiInputSelect';\r\nimport { MuiInputText } from '../../../../components/controls/MuiInputText';\r\nimport { MuiInputCurrency } from '../../../../components/controls/MuiInputCurrency';\r\nimport { MuiInputNumeric } from '../../../../components/controls/MuiInputNumeric';\r\nimport Button from '../../../../components/controls/Button';\r\nimport { defaultFormProperties } from '../../../../utilities/form';\r\nimport groupMembershipsInfoResources, { GetLaunchDateMinValue, GetLaunchDateMaxValue } from './groupMembershipsInfoResources';\r\nimport * as validationRules from './groupMembershipsInfoValidations';\r\nimport asyncValidation from '../../../../utilities/asyncFormValidation';\r\nimport { getMembersCount } from '../groupMembershipsActions';\r\nimport resources from '../../../Shared/resources';\r\nimport programPaymentTypes from '../../../../enums/programPaymentTypes';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\nimport reimbursementTypes from '../../../../enums/reimbursementTypes';\r\nimport MuiInputDatePicker from '../../../../components/controls/MuiInputDatePicker';\r\nimport MuiInputCheckbox from '../../../../components/controls/MuiInputCheckbox';\r\nimport './_group-memberships-info-form.scss';\r\n\r\nfunction GroupMembershipsInfoForm(\r\n {\r\n pristine,\r\n submitting,\r\n handleSubmit,\r\n dispatch,\r\n form,\r\n initialProgramPaymentType,\r\n initialPaymentForActivatedMembersOnly,\r\n isExisting,\r\n hasEnrolledOrInvitedMembers\r\n }) {\r\n const [programPaymentType, setProgramPaymentType] = useState(-1);\r\n const [onPartnerProgramSettingsEditMode, setOnPartnerProgramSettingsEditMode] = useState(false);\r\n const [onMemberSettingsEditMode, setOnMemberSettingsEditMode] = useState(false);\r\n const [paymentForActivatedMembersOnly, setPaymentForActivatedMembersOnly] = useState(false);\r\n const { gmrAddProgram } = useFlags();\r\n const [isDisabledReimbursementField, setIsDisabledReimbursementField] = useState(false);\r\n useEffect(() => {\r\n setProgramPaymentType(initialProgramPaymentType);\r\n setPaymentForActivatedMembersOnly(initialPaymentForActivatedMembersOnly);\r\n }, [isExisting]);\r\n function handleChange(event) {\r\n setProgramPaymentType(event.target.value);\r\n setOnPartnerProgramSettingsEditMode(true);\r\n setOnMemberSettingsEditMode(true);\r\n }\r\n function handleCheckboxChange(value) {\r\n if (value.target.checked) {\r\n dispatch(change(form, groupMembershipsInfoResources.fieldProgramFee, null));\r\n }\r\n setPaymentForActivatedMembersOnly(value.target.checked);\r\n }\r\n function handlePartnerProgramSettingsEdit(event) {\r\n event.stopPropagation();\r\n if (onMemberSettingsEditMode || onPartnerProgramSettingsEditMode) {\r\n dispatch(reset(form));\r\n }\r\n setOnMemberSettingsEditMode(false);\r\n setOnPartnerProgramSettingsEditMode(!onPartnerProgramSettingsEditMode);\r\n }\r\n function handleMemberSettingsEdit(event) {\r\n event.stopPropagation();\r\n if (onMemberSettingsEditMode || onPartnerProgramSettingsEditMode) {\r\n dispatch(reset(form));\r\n }\r\n setOnPartnerProgramSettingsEditMode(false);\r\n setOnMemberSettingsEditMode(!onMemberSettingsEditMode);\r\n }\r\n function readOnlyPartnerProgramSettingsMode() {\r\n return !onPartnerProgramSettingsEditMode && programPaymentType > 0;\r\n }\r\n function readOnlyMemberSettingsMode() {\r\n return !onMemberSettingsEditMode && programPaymentType > 0;\r\n }\r\n const handleBillingTypeChange = (event) => {\r\n if (event.target.value === reimbursementTypes.noReimbursements) {\r\n setIsDisabledReimbursementField(true);\r\n dispatch(change(form, groupMembershipsInfoResources.fieldReimbursementAmount, 0));\r\n dispatch(change(form, groupMembershipsInfoResources.fieldNumberOfVisitsToReimburse, 0));\r\n }\r\n else {\r\n setIsDisabledReimbursementField(false);\r\n dispatch(change(form, groupMembershipsInfoResources.fieldReimbursementAmount, null));\r\n dispatch(change(form, groupMembershipsInfoResources.fieldNumberOfVisitsToReimburse, null));\r\n }\r\n };\r\n return (\r\n \r\n
\r\n
\r\n
\r\n (option ? option.label : '')}\r\n getOptionValue={option => (option ? option.value : undefined)}\r\n validate={[\r\n validationRules.programPaymentTypeRequired\r\n ]}\r\n readOnly={initialProgramPaymentType > 0}\r\n onChange={handleChange}\r\n defaultValue={undefined}\r\n />\r\n
\r\n {!(isExisting) && gmrAddProgram && (\r\n
\r\n \r\n {resources.saveButtonText}\r\n \r\n
)}\r\n
\r\n {programPaymentType > 0 && (\r\n \r\n
\r\n {programPaymentType === programPaymentTypes.partnerPaid && (\r\n
\r\n \r\n
)}\r\n
\r\n
\r\n {programPaymentType === programPaymentTypes.partnerMemberPaid && (\r\n
\r\n \r\n
)}\r\n {(programPaymentType === programPaymentTypes.partnerPaid && !paymentForActivatedMembersOnly) && (\r\n
\r\n \r\n
)}\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n {programPaymentType === programPaymentTypes.partnerPaid && (\r\n
\r\n \r\n
)}\r\n
\r\n \r\n
\r\n
\r\n {isExisting && onPartnerProgramSettingsEditMode && (\r\n
\r\n
\r\n \r\n {resources.saveChangesButtonText}\r\n \r\n
\r\n
\r\n \r\n {resources.cancelButtonText}\r\n \r\n
\r\n
)}\r\n
)}\r\n {(programPaymentType === programPaymentTypes.memberPaid\r\n || programPaymentType === programPaymentTypes.partnerMemberPaid)\r\n && gmrAddProgram && (\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {programPaymentType === programPaymentTypes.memberPaid\r\n && (\r\n
\r\n
\r\n (option ? option.label : '')}\r\n getOptionValue={option => (option ? option.value : undefined)}\r\n validate={[\r\n validationRules.memberReimbursementTypeRequired,\r\n validationRules.reimbursementTypeGreater\r\n ]}\r\n readOnly={readOnlyMemberSettingsMode()}\r\n onChange={handleBillingTypeChange}\r\n />\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
)}\r\n {isExisting && onMemberSettingsEditMode && (\r\n
\r\n
\r\n \r\n {resources.saveChangesButtonText}\r\n \r\n
\r\n
\r\n \r\n {resources.cancelButtonText}\r\n \r\n
\r\n
)}\r\n
)\r\n }\r\n {programPaymentType > 0 && (\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
)\r\n }\r\n
\r\n
\r\n );\r\n}\r\n\r\nGroupMembershipsInfoForm.propTypes = {\r\n pristine: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n handleSubmit: PropTypes.func.isRequired,\r\n dispatch: PropTypes.func,\r\n form: PropTypes.string,\r\n initialProgramPaymentType: PropTypes.number,\r\n initialPaymentForActivatedMembersOnly: PropTypes.bool,\r\n isExisting: PropTypes.bool.isRequired,\r\n isGmrFeatureEnabled: PropTypes.bool,\r\n hasEnrolledOrInvitedMembers: PropTypes.bool\r\n};\r\n\r\nexport default reduxForm({\r\n form: 'groupMembershipsInfoForm',\r\n asyncValidate: (values, dispatch) => asyncValidation(values, dispatch, getMembersCount, validationRules.numberOfMembershipsValidation),\r\n asyncBlurFields: ['numberOfMemberships'],\r\n ...defaultFormProperties\r\n})(GroupMembershipsInfoForm);\r\n","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport ConfirmPopup from '../../../components/Popups/ConfirmAlert/ConfirmPopup';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport selectors from './groupMembershipsGeneralInfoTabSelectors';\r\nimport GroupMembershipsInfoForm from './GroupMembershipsInfoForm/GroupMembershipsInfoForm';\r\nimport {\r\n getGroupMembership,\r\n updateGroupMembership,\r\n addGroupMembership,\r\n resetGroupMembershipToAdd,\r\n setGroupMembershipToAdd,\r\n resetGroupMembership,\r\n getHasEnrolledOrInvitedMembers\r\n} from './groupMembershipsActions';\r\nimport resources from '../../Shared/resources';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\n\r\nfunction GroupMembershipsGeneralInfoTab({\r\n match,\r\n isLoading,\r\n groupMembership,\r\n getGroupMembership,\r\n updateGroupMembership,\r\n addGroupMembership,\r\n resetGroupMembershipToAdd,\r\n setGroupMembershipToAdd,\r\n resetGroupMembership,\r\n isConfirmationPopupVisible,\r\n savingConfirmationPopupMessage,\r\n groupMembershipToAdd,\r\n isGroupMembershipAddedToPartner,\r\n isExisting,\r\n hasEnrolledOrInvitedMembers,\r\n getHasEnrolledOrInvitedMembers }) {\r\n const { gmrAddProgram } = useFlags();\r\n useEffect(() => {\r\n if (isGroupMembershipAddedToPartner) {\r\n getGroupMembership(match.params.partnerId);\r\n getHasEnrolledOrInvitedMembers(match.params.partnerId);\r\n } else {\r\n resetGroupMembership(match.params.partnerId);\r\n }\r\n }, [match.params.partnerId, isExisting, isGroupMembershipAddedToPartner]);\r\n function handleConfirmation() {\r\n if (!gmrAddProgram) {\r\n return false;\r\n }\r\n return addGroupMembership(groupMembershipToAdd.toJS())\r\n .then((result) => {\r\n if (result.success) {\r\n window.location.reload();\r\n }\r\n });\r\n }\r\n function handleGroupMembershipSave(groupMembershipItem) {\r\n if (!isExisting && gmrAddProgram) {\r\n return setGroupMembershipToAdd(groupMembershipItem);\r\n }\r\n groupMembershipItem = groupMembershipItem.toJS();\r\n return updateGroupMembership(groupMembershipItem);\r\n }\r\n return isLoading ?\r\n (\r\n \r\n )\r\n : (\r\n
\r\n {savingConfirmationPopupMessage}
}\r\n onConfirm={handleConfirmation}\r\n onCancel={resetGroupMembershipToAdd}\r\n labelOk={resources.confirmLabel}\r\n />\r\n \r\n );\r\n}\r\n\r\nGroupMembershipsGeneralInfoTab.propTypes = {\r\n match: PropTypes.object.isRequired,\r\n history: PropTypes.object.isRequired,\r\n isLoading: PropTypes.bool.isRequired,\r\n isExisting: PropTypes.bool.isRequired,\r\n groupMembership: PropTypes.object.isRequired,\r\n getGroupMembership: PropTypes.func.isRequired,\r\n updateGroupMembership: PropTypes.func.isRequired,\r\n addGroupMembership: PropTypes.func.isRequired,\r\n isGroupMembershipAddedToPartner: PropTypes.bool,\r\n resetGroupMembershipToAdd: PropTypes.func.isRequired,\r\n setGroupMembershipToAdd: PropTypes.func.isRequired,\r\n resetGroupMembership: PropTypes.func.isRequired,\r\n groupMembershipToAdd: PropTypes.object,\r\n isConfirmationPopupVisible: PropTypes.bool.isRequired,\r\n savingConfirmationPopupMessage: PropTypes.string,\r\n isGmrFeatureEnabled: PropTypes.bool,\r\n hasEnrolledOrInvitedMembers: PropTypes.bool,\r\n getHasEnrolledOrInvitedMembers: PropTypes.func.isRequired\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getGroupMembership,\r\n updateGroupMembership,\r\n addGroupMembership,\r\n resetGroupMembershipToAdd,\r\n setGroupMembershipToAdd,\r\n resetGroupMembership,\r\n getHasEnrolledOrInvitedMembers\r\n};\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default connectStateToProps(GroupMembershipsGeneralInfoTab);\r\n","import { createSelector } from 'reselect';\r\nimport {\r\n CREATE_KEYFOBS,\r\n UPLOAD_MEMBER_RECIPIENTS,\r\n GET_KEYFOBS_LIST,\r\n DEACTIVATE_MEMBERSHIP,\r\n REASSIGN_KEYFOB,\r\n GET_IS_REASSIGN_KEYFOB_FEATURE_ENABLED,\r\n GET_PROGRAM_PAYMENT_TYPE_ID,\r\n DELETE_MEMBERSHIP,\r\n UPDATE_EMPLOYEE_DATA\r\n} from './employeeManagementTypes';\r\nimport { GET_PARTNER } from '../../Shared/Partners/managePartnerTypes';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i =>\r\n i === CREATE_KEYFOBS || i === UPLOAD_MEMBER_RECIPIENTS || i === GET_KEYFOBS_LIST\r\n || DEACTIVATE_MEMBERSHIP || REASSIGN_KEYFOB || i === GET_IS_REASSIGN_KEYFOB_FEATURE_ENABLED || i === GET_PROGRAM_PAYMENT_TYPE_ID || i === DELETE_MEMBERSHIP || i === UPDATE_EMPLOYEE_DATA\r\n ).size;\r\n const notSize = state.loadingReducer.get('loadings').filter(\r\n i => i === GET_PARTNER\r\n ).size;\r\n return size > 0 && notSize === 0;\r\n};\r\nconst getPartner = state => state.managePartnerReducer.get('partner');\r\nconst getNumberOfMembership = state => state.groupMembershipsReducer.getIn(['groupMembership', 'numberOfMemberships']);\r\nconst getLaunchDate = state => new Date(state.groupMembershipsReducer.getIn(['groupMembership', 'launchDate']));\r\nconst getEmployeesList = state => state.employeeManagementReducer.get('keyfobs').toJS();\r\n\r\nexport default createSelector(\r\n [getIsLoading, getPartner, getNumberOfMembership, getEmployeesList, getLaunchDate],\r\n (isLoading, partner, numberOfMembership, employeesList, launchDate) => ({\r\n isLoading,\r\n partner,\r\n numberOfMembership,\r\n employeesList,\r\n launchDate\r\n })\r\n);","const addKeyfobsResources = {\r\n labelKeyfob: 'Keyfob',\r\n labelFirstKeyfob: 'First Key fob',\r\n labelLastKeyfob: 'Last Key fob',\r\n};\r\nexport default addKeyfobsResources;","import parseBigInt from '../../../../utilities/parseBigInt';\r\nimport validationRules from '../../../../utilities/validationRules';\r\nimport addKeyfobsResources from './addKeyfobsResources';\r\nimport * as keyfobConstants from '../../../Shared/Keyfobs/keyfobConstants';\r\n\r\nexport const firstKeyfobRequired = validationRules.required(\r\n addKeyfobsResources.labelFirstKeyfob\r\n);\r\nexport const firstKeyfobValidRadixNumber = validationRules.bigInt(\r\n keyfobConstants.KEYFOB_RADIX,\r\n addKeyfobsResources.labelFirstKeyfob\r\n);\r\nexport const keyfobMinMaxLength = validationRules.length(\r\n addKeyfobsResources.labelKeyfob,\r\n keyfobConstants.MIN_KEYFOB_LENGTH,\r\n keyfobConstants.MAX_KEYFOB_LENGTH\r\n);\r\nexport const keyfobsSameLength = (value, allValues, formProps) => {\r\n const firstKeyfob = allValues.get('firstKeyfob');\r\n const lastKeyfob = allValues.get('lastKeyfob');\r\n return firstKeyfob.length === lastKeyfob.length ? undefined : `${addKeyfobsResources.labelFirstKeyfob} and ${addKeyfobsResources.labelLastKeyfob} must be the same length.`;\r\n};\r\nexport const firstKeyfobLessThanOrEqual = (value, allValues, formProps) => {\r\n const firstKeyfobDecimal = parseBigInt(value, keyfobConstants.KEYFOB_RADIX);\r\n const lastKeyfobDecimal = parseBigInt(allValues.get('lastKeyfob'), keyfobConstants.KEYFOB_RADIX);\r\n return firstKeyfobDecimal <= lastKeyfobDecimal ? undefined : `${addKeyfobsResources.labelFirstKeyfob} can't be greater than ${addKeyfobsResources.labelLastKeyfob}.`;\r\n};\r\n\r\nexport const lastKeyfobRequired = validationRules.required(\r\n addKeyfobsResources.labelLastKeyfob\r\n);\r\nexport const lastKeyfobValidRadixNumber = validationRules.bigInt(\r\n keyfobConstants.KEYFOB_RADIX,\r\n addKeyfobsResources.labelLastKeyfob\r\n);\r\nexport const lastKeyfobGreaterThanOrEqual = (value, allValues, formProps) => {\r\n const lastKeyfobDecimal = parseBigInt(value, keyfobConstants.KEYFOB_RADIX);\r\n const firstKeyfobDecimal = parseBigInt(allValues.get('firstKeyfob'), keyfobConstants.KEYFOB_RADIX);\r\n return lastKeyfobDecimal >= firstKeyfobDecimal ? undefined : `${addKeyfobsResources.labelLastKeyfob} can't be less than ${addKeyfobsResources.labelFirstKeyfob}.`;\r\n};\r\nexport const lastKeyfobMaxNumberOfKeyfobs = (value, allValues, formProps) => {\r\n const lastKeyfobDecimal = parseBigInt(value, keyfobConstants.KEYFOB_RADIX);\r\n const firstKeyfobDecimal = parseBigInt(allValues.get('firstKeyfob'), keyfobConstants.KEYFOB_RADIX);\r\n return !firstKeyfobDecimal || !lastKeyfobDecimal || lastKeyfobDecimal - firstKeyfobDecimal < BigInt(keyfobConstants.MAX_KEYFOBS_COUNT_TO_GENERATE) ? undefined : `More than ${keyfobConstants.MAX_KEYFOBS_COUNT_TO_GENERATE} key fobs cannot be created at a time.`;\r\n};","export const KEYFOB_RADIX = 15;\r\nexport const MIN_KEYFOB_LENGTH = 6;\r\nexport const MAX_KEYFOB_LENGTH = 7;\r\nexport const MAX_KEYFOBS_COUNT_TO_GENERATE = 5000;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport InfoBox from '../../../../components/InfoBox/InfoBox';\r\nimport FormGroup from '../../../../components/controls/FormGroup';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport { MuiInputText } from '../../../../components/controls/MuiInputText';\r\nimport Button from '../../../../components/controls/Button';\r\nimport { defaultFormProperties } from '../../../../utilities/form';\r\nimport addKeyfobsResources from './addKeyfobsResources';\r\nimport * as validationRules from './addKeyfobsFormValidations';\r\nimport resources from '../../../Shared/resources';\r\n\r\nfunction AddKeyfobsForm({\r\n pristine,\r\n submitting,\r\n handleSubmit\r\n}) {\r\n return (\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n {resources.addButtonText}\r\n \r\n
\r\n );\r\n}\r\n\r\nAddKeyfobsForm.propTypes = {\r\n pristine: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n handleSubmit: PropTypes.func.isRequired,\r\n};\r\n\r\nexport default reduxForm({\r\n form: 'addKeyfobsForm',\r\n ...defaultFormProperties\r\n})(AddKeyfobsForm);\r\n","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\nimport { replaceRouteParams } from '../../../utilities/routeHelper';\r\n\r\nexport function getPartnerPayments(programPaymentTypeId, partnerId, periodIdFrom, periodIdTo) {\r\n return http.get(replaceRouteParams(API_PATHS.getPartnerSpecificPayments, programPaymentTypeId), { params: { partnerId, periodIdFrom, periodIdTo } });\r\n};\r\n\r\nexport function dowloadPartnerPayments(partnerId, periodIdFrom, periodIdTo) {\r\n const config = {\r\n responseType: 'blob',\r\n params: { partnerId, periodIdFrom, periodIdTo }\r\n };\r\n return http.get(API_PATHS.downloadPartnerSpecificPayments, config);\r\n};\r\n\r\nexport function getProgramPaymentTypeID(partnerID) {\r\n return http.get(API_PATHS.getProgramPaymentTypeID, { params: { partnerID } });\r\n};","import * as types from './employeeManagementTypes';\r\nimport * as employeeManagementService from './employeeManagementService';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport { postNotification } from '../../../components/Notifications/actions';\r\nimport { ERROR } from '../../../components/Notifications/constants';\r\nimport * as partnerGroupMemberhipsPaymentsService from '../PartnerGroupMembershipsPayments/partnerGroupMemberhipsPaymentsService';\r\n\r\nconst setKeyfobsList = (keyfobs) => {\r\n return { type: types.SET_KEYFOBS_LIST, keyfobs };\r\n};\r\n\r\nconst setTotalKeyfobsCount = (totalCount) => {\r\n return { type: types.SET_KEYFOBS_TOTAL_COUNT, totalCount };\r\n};\r\n\r\nconst joinKeyfobsList = (keyfobs) => {\r\n return { type: types.JOIN_KEYFOBS_LIST, keyfobs };\r\n};\r\n\r\nexport function createKeyfobs(keyfobs, partnerID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.CREATE_KEYFOBS));\r\n return employeeManagementService\r\n .createKeyfobs(keyfobs)\r\n .then(() => {\r\n return employeeManagementService\r\n .getKeyfobsList(partnerID)\r\n .then((keyfobs) => {\r\n dispatch(setKeyfobsList(keyfobs.items));\r\n });\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.CREATE_KEYFOBS));\r\n });\r\n };\r\n}\r\n\r\nexport function getKeyfobsList(pageNumber, pageSize, sortBy, sortOrder, partnerID, filter) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_KEYFOBS_LIST));\r\n return employeeManagementService\r\n .getKeyfobsList(partnerID, pageNumber, pageSize, sortBy, sortOrder, filter)\r\n .then((keyfobs) => {\r\n if (pageNumber === 1) {\r\n dispatch(setKeyfobsList(keyfobs.items));\r\n }\r\n else {\r\n dispatch(joinKeyfobsList(keyfobs.items));\r\n }\r\n dispatch(setTotalKeyfobsCount(keyfobs.totalCount));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_KEYFOBS_LIST));\r\n });\r\n };\r\n}\r\n\r\nconst setMemberToDeactivateMembershipAction = (member) => {\r\n return { type: types.SET_MEMBER_TO_DEACTIVATE_MEMBERSHIP, member };\r\n};\r\n\r\nconst setKeyfobToReassignAction = (keyfobToReassign) => {\r\n return { type: types.SET_KEYFOB_TO_REASSIGN, keyfobToReassign };\r\n};\r\n\r\nconst setMemberToDeleteAction = (memberToDelete) => {\r\n return { type: types.SET_MEMBER_TO_DELETE, memberToDelete };\r\n};\r\n\r\nexport function setMemberToDeactivateMembership(member) {\r\n return function (dispatch) {\r\n dispatch(setMemberToDeactivateMembershipAction(member));\r\n };\r\n}\r\n\r\nexport function setKeyfobToReassign(keyfob) {\r\n return function (dispatch) {\r\n const keyfobToReassign = { oldFacilityMemberID: keyfob };\r\n dispatch(setKeyfobToReassignAction(keyfobToReassign));\r\n };\r\n}\r\n\r\nexport function setMemberToDelete(member) {\r\n return function (dispatch) {\r\n dispatch(setMemberToDeleteAction(member));\r\n };\r\n}\r\n\r\nexport function resetMemberToDeactivateMembership() {\r\n return function (dispatch) {\r\n dispatch(setMemberToDeactivateMembershipAction(undefined));\r\n };\r\n}\r\n\r\nexport function resetKeyfobToReassign() {\r\n return function (dispatch) {\r\n dispatch(setKeyfobToReassignAction(undefined));\r\n };\r\n}\r\n\r\nexport function resetKeyfobIdToDelete() {\r\n return function (dispatch) {\r\n dispatch(setMemberToDeleteAction(undefined));\r\n };\r\n}\r\n\r\nexport function deleteKeyfob(keyfobID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.DELETE_KEYFOB));\r\n return employeeManagementService\r\n .deleteKeyfob(keyfobID)\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.DELETE_KEYFOB));\r\n });\r\n };\r\n}\r\n\r\nexport function uploadMemberRecipients(partnerId, uploadRequest) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.UPLOAD_MEMBER_RECIPIENTS));\r\n return employeeManagementService\r\n .uploadMemberRecipients(partnerId, uploadRequest)\r\n .then((response) => {\r\n return employeeManagementService\r\n .getKeyfobsList(partnerId)\r\n .then((keyfobs) => {\r\n dispatch(setKeyfobsList(keyfobs.items));\r\n dispatch(setTotalKeyfobsCount(keyfobs.totalCount));\r\n return response;\r\n });\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.UPLOAD_MEMBER_RECIPIENTS));\r\n });\r\n };\r\n}\r\n\r\nexport function deactivateMembership(facilityMemberID, partnerID, pageNumber, pageSize, sortBy, sortOrder) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.DEACTIVATE_MEMBERSHIP));\r\n return employeeManagementService\r\n .deactivateMembership(facilityMemberID)\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.DEACTIVATE_MEMBERSHIP));\r\n });\r\n };\r\n}\r\n\r\nexport function reassignKeyfob(keyfobToReassign) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.REASSIGN_KEYFOB));\r\n return employeeManagementService\r\n .reassignKeyfob(keyfobToReassign)\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.REASSIGN_KEYFOB));\r\n });\r\n };\r\n}\r\n\r\nconst setIsReassignKeyfobFeatureEnabled = isReassignKeyfobFeatureEnabled => ({\r\n type: types.SET_IS_REASSIGN_KEYFOB_FEATURE_ENABLED,\r\n isReassignKeyfobFeatureEnabled\r\n});\r\n\r\nexport function getIsReassignKeyfobFeatureEnabled() {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_IS_REASSIGN_KEYFOB_FEATURE_ENABLED));\r\n return employeeManagementService\r\n .getIsReassignKeyfobFeatureEnabled()\r\n .then((result) => {\r\n dispatch(setIsReassignKeyfobFeatureEnabled(result.data));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_IS_REASSIGN_KEYFOB_FEATURE_ENABLED));\r\n });\r\n };\r\n}\r\n\r\nexport function downloadKeyfobsAndEmployees(partnerId) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_KEYFOBS_EMPLOYEES_REPORT));\r\n return employeeManagementService\r\n .downloadKeyfobsAndEmployees(partnerId)\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_KEYFOBS_EMPLOYEES_REPORT));\r\n });\r\n };\r\n}\r\n\r\nexport const showFileUploadErrorAlert = message => (dispatch) => {\r\n dispatch(postNotification({ type: ERROR, message }));\r\n};\r\n\r\nexport function getProgramPaymentTypeID(partnerID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PROGRAM_PAYMENT_TYPE_ID));\r\n return partnerGroupMemberhipsPaymentsService\r\n .getProgramPaymentTypeID(partnerID)\r\n .then((programPaymentTypeID) => {\r\n dispatch(setProgramPaymentTypeID(programPaymentTypeID));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PROGRAM_PAYMENT_TYPE_ID));\r\n });\r\n };\r\n}\r\n\r\nconst setProgramPaymentTypeID = (programPaymentTypeID) => {\r\n return { type: types.SET_PROGRAM_PAYMENT_TYPE_ID, programPaymentTypeID };\r\n};\r\n\r\nexport function deleteMemberGroupMembership(memberToDelete, programPaymentTypeID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.DELETE_MEMBERSHIP));\r\n return employeeManagementService\r\n .deleteMemberGroupMembershipEnrollment(memberToDelete.groupMembershipEnrollmentID, programPaymentTypeID)\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.DELETE_MEMBERSHIP));\r\n });\r\n };\r\n}\r\n\r\nexport function updateMember(member) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.UPDATE_EMPLOYEE_DATA));\r\n return employeeManagementService\r\n .updateMember(member)\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.UPDATE_EMPLOYEE_DATA));\r\n });\r\n };\r\n}\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nfunction AddKeyfobConfirmBody({ keyfobs, partnerName }) {\r\n return <>\r\n
{keyfobs.length} keyfobs will be added to {partnerName}
\r\n
    \r\n {keyfobs.map((keyfob, i) =>
  1. {keyfob.facilityMemberID}
  2. )}\r\n
\r\n ;\r\n}\r\n\r\nAddKeyfobConfirmBody.propTypes = {\r\n keyfobs: PropTypes.array.isRequired,\r\n partnerName: PropTypes.string.isRequired\r\n};\r\n\r\nexport default AddKeyfobConfirmBody;","import moment from 'moment';\r\nimport { getFirstDayOfNextMonth } from '../../../../utilities/date';\r\nimport { SLASHED_US_DATE_FORMAT } from '../../../../constants/formats';\r\n\r\nconst keyfobsAndEmployeesResources = {\r\n labelKeyfob: 'Keyfob',\r\n labelKeyfobAccessPass: 'Access Pass',\r\n labelKeyfobStatus: 'Status',\r\n labelFacilityID: 'Facility ID',\r\n labelFacilityName: 'Facility Name',\r\n labelProgramEnrollmentDate: 'Program Enrollment Date',\r\n labelEmployeeName: 'Employee Name',\r\n labelDateOfBirth: 'Date Of Birth',\r\n labelEmailAddress: 'Email Address',\r\n labelEmail: 'Email',\r\n labelMobilePhone: 'Mobile phone',\r\n labelLastMonthUsageCount: 'Last month usage',\r\n labelLastMonthVisitsCount: 'Last month visits',\r\n labelActions: 'Actions',\r\n buttonReassign: 'Edit Key Fob',\r\n buttonEditEmail: 'Edit Email',\r\n buttonDelete: 'Delete',\r\n buttonDeactivate: 'Deactivate',\r\n titleKeyfobsList: 'Keyfobs And Employees',\r\n buttonDownload: 'Download',\r\n searchValidation: 'Please use letters, numbers.\\nSpaces are prohibited.',\r\n};\r\n\r\nexport function GetDeactivationConfirmationMessage(memberFirstName, memberLastName, facilityMemberID) {\r\n return `Are you sure you want to deactivate ${memberFirstName} ${memberLastName} with keyfob ${facilityMemberID}?`;\r\n};\r\n\r\nexport function GetReassignConfirmationMessage(oldFacilityMemberID) {\r\n return `Are you sure you want to replace keyfob ${oldFacilityMemberID}?`;\r\n};\r\n\r\nexport function GetKeyfobDeleteConfirmationMessage(facilityMemberID) {\r\n return `Are you sure you want to delete keyfob ${facilityMemberID}?`;\r\n};\r\n\r\nexport function GetMemberDeleteConfirmationMessage() {\r\n return 'Once you click \"Delete\" the member will be deleted immediately.';\r\n};\r\n\r\nexport function GetMemberDeleteAtNextMonthConfirmationMessage() {\r\n return `Once you click \"Delete\" the member will be deleted as of ${moment(getFirstDayOfNextMonth()).format(SLASHED_US_DATE_FORMAT)}.`;\r\n};\r\n\r\nexport function GetMemberDeleteConfirmationTitle(memberFirstName, memberLastName) {\r\n return `Delete a member \"${memberFirstName} ${memberLastName}\"?`;\r\n};\r\n\r\nexport default keyfobsAndEmployeesResources;\r\n","import moment from 'moment';\r\n\r\nexport const getFirstDayOfNextMonth = () => {\r\n const nextMonth = moment().add(1, 'months');\r\n return nextMonth.startOf('month');\r\n};","const invitationStatuses = Object.freeze({\r\n waitingToInvite: 1,\r\n invited: 2,\r\n enrolledWaitingForPayment: 3,\r\n activated: 4,\r\n suspended: 5,\r\n waitingToDelete: 6,\r\n onHold: 7,\r\n deleted: 8\r\n});\r\n\r\nexport const invitationStatusesNamesMap = Object.freeze({\r\n [invitationStatuses.waitingToInvite]: 'Waiting to Invite',\r\n [invitationStatuses.invited]: 'Invited',\r\n [invitationStatuses.enrolledWaitingForPayment]: 'Enrolled Waiting For Payment',\r\n [invitationStatuses.activated]: 'Activated',\r\n [invitationStatuses.suspended]: 'Suspended',\r\n [invitationStatuses.waitingToDelete]: 'Waiting to Delete',\r\n [invitationStatuses.onHold]: 'On Hold',\r\n [invitationStatuses.deleted]: 'Deleted'\r\n});\r\n\r\nexport const invitationStatusesColorsMap = Object.freeze({\r\n [invitationStatuses.waitingToInvite]: 'yellow',\r\n [invitationStatuses.invited]: 'green',\r\n [invitationStatuses.enrolledWaitingForPayment]: 'orange',\r\n [invitationStatuses.activated]: 'green',\r\n [invitationStatuses.suspended]: 'beet',\r\n [invitationStatuses.waitingToDelete]: 'beet',\r\n [invitationStatuses.onHold]: 'orange',\r\n [invitationStatuses.deleted]: 'beet'\r\n});\r\n\r\nexport default invitationStatuses;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport {\r\n setMemberToDeactivateMembership,\r\n setMemberToDelete,\r\n} from '../employeeManagementActions';\r\nimport MaterialIcon from '../../../../components/MaterialIcon/MaterialIcon';\r\nimport ToolTip from '../../../../components/controls/ToolTip';\r\nimport keyfobsAndEmployeeResources from './keyfobsAndEmployeesListResources';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\nimport invitationStatuses from '../../../../enums/invitationStatuses';\r\n\r\nfunction KeyfobActionsCell({ value, setMemberToDeactivate, setMemberToDelete }) {\r\n const deleteMemberHandler = () => {\r\n setMemberToDelete(value.row);\r\n };\r\n const deactivateHandler = () => {\r\n setMemberToDeactivate(value.row);\r\n };\r\n const { gmrAddProgram } = useFlags();\r\n return (\r\n value.isVisible ?\r\n
\r\n {gmrAddProgram ?\r\n <>\r\n : \r\n
\r\n \r\n
\r\n
}\r\n \r\n \r\n \r\n
\r\n : <>\r\n );\r\n}\r\n\r\nKeyfobActionsCell.propTypes = {\r\n value: PropTypes.object.isRequired,\r\n setMemberToDeactivate: PropTypes.func.isRequired,\r\n setMemberToDelete: PropTypes.func.isRequired\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n setMemberToDeactivate: setMemberToDeactivateMembership,\r\n setMemberToDelete\r\n};\r\n\r\nexport default connect(null, mapDispatchToProps)(KeyfobActionsCell);","import { createSelector } from 'reselect';\r\nimport {\r\n GetDeactivationConfirmationMessage,\r\n GetReassignConfirmationMessage,\r\n GetKeyfobDeleteConfirmationMessage,\r\n GetMemberDeleteConfirmationMessage,\r\n GetMemberDeleteConfirmationTitle,\r\n GetMemberDeleteAtNextMonthConfirmationMessage\r\n} from './keyfobsAndEmployeesListResources';\r\nimport roles from '../../../../enums/roles';\r\nimport programPaymentTypes from '../../../../enums/programPaymentTypes';\r\nimport invitationStatuses from '../../../../enums/invitationStatuses';\r\n\r\nconst getKeyfobs = state => state.employeeManagementReducer.get('keyfobs');\r\nconst getMemberToDeactivate = state => state.employeeManagementReducer.get('memberToDeactivateMembership');\r\nconst getKeyfobToReassign = state => state.employeeManagementReducer.get('keyfobToReassign');\r\nconst getMemberToDelete = state => state.employeeManagementReducer.get('memberToDelete');\r\nconst getMe = state => state.app.get('me');\r\nconst getIsReassignKeyfobFeatureEnabled = state => state.employeeManagementReducer.get('isReassignKeyfobFeatureEnabled');\r\nconst getKeyfobsTotalCount = state => state.employeeManagementReducer.get('keyfobsTotalCount');\r\nconst getProgramPaymentTypeID = state => state.employeeManagementReducer.get('programPaymentTypeID');\r\nconst getIsConfirmationPopupVisible = createSelector(\r\n [getMemberToDeactivate],\r\n (memberToDeactivateMembership) => {\r\n return memberToDeactivateMembership !== undefined;\r\n }\r\n);\r\n\r\nconst getDeactivationConfirmationPopupMessage = createSelector(\r\n [getMemberToDeactivate],\r\n (memberToDeactivateMembership) => {\r\n if (memberToDeactivateMembership === undefined) {\r\n return;\r\n }\r\n return GetDeactivationConfirmationMessage(memberToDeactivateMembership.memberFirstName, memberToDeactivateMembership.memberLastName, memberToDeactivateMembership.facilityMemberID);\r\n }\r\n);\r\n\r\nconst getEmployeeDeletionConfirmationPopupMessage = createSelector(\r\n [getProgramPaymentTypeID, getMemberToDelete],\r\n (programPaymentTypeID, memberToDelete) => {\r\n if (memberToDelete === undefined) {\r\n return;\r\n }\r\n if ((programPaymentTypeID === programPaymentTypes.partnerMemberPaid || programPaymentTypeID === programPaymentTypes.memberPaid) && memberToDelete.invitationStatus === invitationStatuses.activated) {\r\n return GetMemberDeleteAtNextMonthConfirmationMessage();\r\n }\r\n return GetMemberDeleteConfirmationMessage();\r\n }\r\n);\r\n\r\nconst getEmployeeDeletionConfirmationPopupTitle = createSelector(\r\n [getMemberToDelete],\r\n (memberToDelete) => {\r\n if (memberToDelete === undefined) {\r\n return;\r\n }\r\n return GetMemberDeleteConfirmationTitle(memberToDelete.memberFirstName, memberToDelete.memberLastName);\r\n }\r\n);\r\n\r\nconst getKeyfobIdToDelete = createSelector(\r\n [getMemberToDelete], (memberToDelete) => {\r\n if (memberToDelete === undefined) {\r\n return;\r\n }\r\n return memberToDelete.keyfobID;\r\n }\r\n);\r\n\r\nconst getIsDeleteKeyfobConfirmationPopupVisible = createSelector(\r\n [getMemberToDelete],\r\n (memberToDelete) => {\r\n return memberToDelete !== undefined && memberToDelete.facilityMemberID !== undefined;\r\n }\r\n);\r\n\r\nconst getDeleteKeyfobConfirmationPopupMessage = createSelector(\r\n [getMemberToDelete],\r\n (memberToDelete) => {\r\n if (memberToDelete === undefined) {\r\n return;\r\n }\r\n return GetKeyfobDeleteConfirmationMessage(memberToDelete.facilityMemberID);\r\n }\r\n);\r\n\r\nconst getIsKeyfobReassignConfirmationPopupVisible = createSelector(\r\n [getKeyfobToReassign],\r\n (keyfobToReassign) => {\r\n return keyfobToReassign !== undefined;\r\n }\r\n);\r\n\r\nconst getKeyfobReassignConfirmationPopupMessage = createSelector(\r\n [getKeyfobToReassign],\r\n (keyfobToReassign) => {\r\n if (keyfobToReassign === undefined) {\r\n return;\r\n }\r\n return GetReassignConfirmationMessage(keyfobToReassign.oldFacilityMemberID);\r\n }\r\n);\r\n\r\nconst isAdmin = createSelector(\r\n [getMe], (me) => {\r\n return me.role === roles.systemAdmin;\r\n }\r\n);\r\n\r\nconst isPartnerManager = createSelector(\r\n [getMe], (me) => {\r\n return me.role === roles.partnerManager;\r\n }\r\n);\r\n\r\nexport default createSelector(\r\n [\r\n getKeyfobs,\r\n getMemberToDeactivate,\r\n getKeyfobToReassign,\r\n getKeyfobIdToDelete,\r\n getMemberToDelete,\r\n getIsReassignKeyfobFeatureEnabled,\r\n getDeactivationConfirmationPopupMessage,\r\n getDeleteKeyfobConfirmationPopupMessage,\r\n getEmployeeDeletionConfirmationPopupMessage,\r\n getEmployeeDeletionConfirmationPopupTitle,\r\n getIsConfirmationPopupVisible,\r\n getKeyfobReassignConfirmationPopupMessage,\r\n getIsKeyfobReassignConfirmationPopupVisible,\r\n isAdmin,\r\n getIsDeleteKeyfobConfirmationPopupVisible,\r\n getKeyfobsTotalCount,\r\n getProgramPaymentTypeID,\r\n isPartnerManager\r\n ],\r\n (\r\n keyfobs,\r\n memberToDeactivateMembership,\r\n keyfobToReassign,\r\n keyfobIdToDelete,\r\n memberToDelete,\r\n isReassignKeyfobFeatureEnabled,\r\n deactivationConfirmationPopupMessage,\r\n deleteKeyfobConfirmationMessage,\r\n deleteMemberConfirmationMessage,\r\n deleteMemberConfirmationTitle,\r\n isConfirmationPopupVisible,\r\n reassignConfirmationPopupMessage,\r\n isReassignConfirmationPopupVisible,\r\n isAdmin,\r\n isDeleteKeyfobConfirmationPopupVisible,\r\n totalCount,\r\n programPaymentTypeID,\r\n isPartnerManager\r\n ) => ({\r\n keyfobs,\r\n memberToDeactivateMembership,\r\n keyfobToReassign,\r\n keyfobIdToDelete,\r\n memberToDelete,\r\n isReassignKeyfobFeatureEnabled,\r\n deactivationConfirmationPopupMessage,\r\n deleteKeyfobConfirmationMessage,\r\n deleteMemberConfirmationMessage,\r\n deleteMemberConfirmationTitle,\r\n isConfirmationPopupVisible,\r\n reassignConfirmationPopupMessage,\r\n isReassignConfirmationPopupVisible,\r\n isAdmin,\r\n isDeleteKeyfobConfirmationPopupVisible,\r\n totalCount,\r\n programPaymentTypeID,\r\n isPartnerManager\r\n })\r\n);\r\n","import React, { useEffect, useState, useRef } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { MuiInputText } from '../controls/MuiInputText';\r\nimport './_new-editable-cell.scss';\r\nimport { fromJS } from 'immutable';\r\nimport MaterialIcon from '../../components/MaterialIcon/MaterialIcon';\r\nimport ToolTip from '../../components/controls/ToolTip';\r\nimport sharedResources from '../../features/Shared/resources';\r\n\r\nfunction NewEditableCell({\r\n value: initialValue,\r\n row,\r\n column\r\n}) {\r\n useEffect(() => {\r\n setValue(initialValue);\r\n setOldValue(initialValue);\r\n setIsEditMode(false);\r\n }, [initialValue]);\r\n const [value, setValue] = useState();\r\n const [isEditMode, setIsEditMode] = useState(false);\r\n const [oldValue, setOldValue] = useState();\r\n const [validationError, setValidationError] = useState('');\r\n const [showErrorMessage, setShowErrorMessage] = useState(false);\r\n const [touched, setTouched] = useState(false);\r\n const props = column.getProps(row);\r\n const blurTimeoutRef = useRef(null);\r\n const onBlur = () => {\r\n blurTimeoutRef.current = setTimeout(() => {\r\n undoChangeHandler();\r\n }, 200);\r\n };\r\n const onFocus = () => {\r\n setTouched(true);\r\n setShowErrorMessage(false);\r\n };\r\n const onChange = (e) => {\r\n setValue(e.target.value);\r\n };\r\n const undoChangeHandler = () => {\r\n if (blurTimeoutRef.current) {\r\n clearTimeout(blurTimeoutRef.current); // Cancel the blur\r\n }\r\n setValue(oldValue);\r\n setValidationError('');\r\n setShowErrorMessage(false);\r\n setIsEditMode(!isEditMode);\r\n setOldValue(oldValue);\r\n };\r\n const updateCellHandler = () => {\r\n if (blurTimeoutRef.current) {\r\n clearTimeout(blurTimeoutRef.current); // Cancel the blur\r\n }\r\n for (const validate of props.validateCellRules) {\r\n const errorMessage = validate(value, fromJS(row.original));\r\n if (errorMessage) {\r\n setValidationError(errorMessage);\r\n setShowErrorMessage(true);\r\n return;\r\n }\r\n }\r\n props.updateCellHandler(value, oldValue, row.original);\r\n setIsEditMode(!isEditMode);\r\n };\r\n\r\n return
\r\n {!isEditMode\r\n ?\r\n <>\r\n
{value}
\r\n {props.isEditButtonEnabled &&\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
}\r\n \r\n :\r\n <>\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n }\r\n
;\r\n};\r\n\r\nNewEditableCell.defaultProps = {\r\n updateCellHandler: () => { },\r\n editTooltip: sharedResources.editLabel,\r\n maxWidth: '135px',\r\n};\r\n\r\nNewEditableCell.propTypes = {\r\n value: PropTypes.oneOfType([\r\n PropTypes.string,\r\n PropTypes.number\r\n ]),\r\n row: PropTypes.object.isRequired,\r\n column: PropTypes.object.isRequired,\r\n updateCellHandler: PropTypes.func.isRequired,\r\n validateCellRules: PropTypes.arrayOf(PropTypes.func),\r\n disabled: PropTypes.bool,\r\n isEditButtonEnabled: PropTypes.bool,\r\n editTooltip: PropTypes.string,\r\n maxWidth: PropTypes.string.isRequired,\r\n};\r\n\r\nexport default NewEditableCell;","const keyfobStatuses = Object.freeze({\r\n availableForActivation: 0,\r\n activated: 1,\r\n onHold: 2,\r\n banned: 3,\r\n});\r\n\r\nexport const keyfobStatusesColorsMap = Object.freeze({\r\n [keyfobStatuses.availableForActivation]: 'yellow',\r\n [keyfobStatuses.activated]: 'green',\r\n [keyfobStatuses.onHold]: 'blue',\r\n});\r\n\r\nexport default keyfobStatuses;","const preferredAccessTypes = Object.freeze({\r\n physicalKey: 0, //KeyFob\r\n digitalKey: 1 //AccessPass\r\n});\r\n\r\nexport default preferredAccessTypes;","import validationRules from '../../../../../utilities/validationRules';\r\nimport keyfobsAndEmployeesListResources from '../keyfobsAndEmployeesListResources';\r\nimport * as keyfobConstants from '../../../../Shared/Keyfobs/keyfobConstants';\r\n\r\nexport const keyfobRequired = validationRules.required(\r\n keyfobsAndEmployeesListResources.labelKeyfob\r\n);\r\n\r\nexport const keyfobMinMaxLength = validationRules.length(\r\n keyfobsAndEmployeesListResources.labelKeyfob,\r\n keyfobConstants.MIN_KEYFOB_LENGTH,\r\n keyfobConstants.MAX_KEYFOB_LENGTH\r\n);\r\n\r\nexport const keyfobValidRadixNumber = validationRules.bigInt(\r\n keyfobConstants.KEYFOB_RADIX,\r\n keyfobsAndEmployeesListResources.labelKeyfob\r\n);\r\n\r\nexport const newKeyfobNotEqualToOldKeyfob = validationRules.notEqualTo(\r\n 'facilityMemberID',\r\n 'New keyfob cannot match old keyfob.'\r\n);","\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport ToolTip from '../../components/controls/ToolTip';\r\nimport './_tooltip-cell.scss';\r\nimport { decode } from 'html-entities';\r\n\r\nfunction TooltipCell({ value }) {\r\n const decodedValue = decode(value);\r\n return decodedValue\r\n ? \r\n
{decodedValue}
\r\n
\r\n : <>;\r\n}\r\n\r\nTooltipCell.propTypes = {\r\n value: PropTypes.oneOfType([PropTypes.object, PropTypes.string, PropTypes.number]),\r\n};\r\n\r\nexport default TooltipCell;\r\n","import { useState, useEffect } from 'react';\r\n\r\nexport default function useWindowSize() {\r\n const getWindowSize = () => { return { width: window.innerWidth, height: window.innerHeight }; };\r\n const [windowSize, setWindowSize] = useState(getWindowSize());\r\n useEffect(() => {\r\n const handleResize = () => {\r\n setWindowSize(getWindowSize());\r\n };\r\n window.addEventListener('resize', handleResize);\r\n return () => { window.removeEventListener('resize', handleResize); };\r\n }, []);\r\n return windowSize;\r\n}","import useWindowSize from '../hooks/useWindowSize';\r\nimport { MEDIUM, LARGE } from '../constants/responsiveBreakpoints';\r\n\r\nexport function isMobileSize() {\r\n const windowSize = useWindowSize();\r\n return windowSize.width < MEDIUM;\r\n}\r\n\r\nexport function isTabletSize() {\r\n const windowSize = useWindowSize();\r\n return windowSize.width >= MEDIUM && windowSize.width < LARGE;\r\n}\r\n\r\nexport function isDesktopSize() {\r\n const windowSize = useWindowSize();\r\n return windowSize.width >= LARGE;\r\n}","// keep in sync with media.scss\r\nexport const SMALL = 360;\r\nexport const MEDIUM = 744;\r\nexport const LARGE = 1366;\r\nexport const MAX_WIDTH = 1920;","export const MAX_FIRSTNAME_LENGTH = 50;\r\nexport const MAX_LASTNAME_LENGTH = 50;\r\nexport const MAX_PHONE_NUMBER_LENGTH = 14;\r\nexport const MAX_EMAIL50_LENGTH = 50;\r\nexport const MAX_FULLNAME_LENGTH = 100;\r\nexport const MAX_MESSAGE_LENGTH = 300;\r\nexport const MAX_COMPANY_NAME_LENGTH = 300;\r\nexport const MAX_EMAIL320_LENGTH = 320;","import validationRules from '../../../utilities/validationRules';\r\nimport * as generalInfoConstants from '../GeneralInfo/generalInfoConstants';\r\n\r\nexport const emailRegex = (labelEmail) => {\r\n return validationRules.email(\r\n labelEmail\r\n );\r\n};\r\n\r\nexport const emailRequired = (labelEmail) => {\r\n return validationRules.required(\r\n labelEmail\r\n );\r\n};\r\n\r\nexport const emailMaxLength = (labelEmail, maxLength = generalInfoConstants.MAX_EMAIL320_LENGTH) => validationRules.length(\r\n labelEmail,\r\n 0,\r\n maxLength\r\n);","import React, { forwardRef, useEffect, useImperativeHandle, useMemo, useRef } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport ConfirmPopup from '../../../../components/Popups/ConfirmAlert/ConfirmPopup';\r\nimport InfoBox from '../../../../components/InfoBox/InfoBox';\r\nimport ReplaceKeyfobActionsCell from './KeyfobActionsCell';\r\nimport NewTable from '../../../../components/NewInfoBox/NewTable';\r\nimport keyfobsAndEmployeeResources from './keyfobsAndEmployeesListResources';\r\nimport { PAGE_SIZE } from '../../../../constants/table';\r\nimport {\r\n getKeyfobsList,\r\n getIsReassignKeyfobFeatureEnabled,\r\n resetMemberToDeactivateMembership,\r\n deleteKeyfob,\r\n deactivateMembership,\r\n reassignKeyfob,\r\n resetKeyfobToReassign,\r\n resetKeyfobIdToDelete,\r\n downloadKeyfobsAndEmployees,\r\n setKeyfobToReassign,\r\n getProgramPaymentTypeID,\r\n deleteMemberGroupMembership,\r\n updateMember\r\n} from '../employeeManagementActions';\r\nimport selectors from './keyfobsAndEmployeesListSelectors';\r\nimport NewEditableCell from '../../../../components/NewInfoBox/NewEditableCell';\r\nimport keyfobStatuses, { keyfobStatusesColorsMap } from '../../../../enums/keyfobStatuses';\r\nimport preferredAccessTypes from '../../../../enums/preferredAccessTypes';\r\nimport invitationStatuses, { invitationStatusesColorsMap } from '../../../../enums/invitationStatuses';\r\nimport * as validationRules from './KeyfobReplacementConfirmationForm/keyfobReplacementConfirmationFormValidation';\r\nimport './_keyfobs-employees-list.scss';\r\nimport BulletCell from '../../../../components/NewInfoBox/BulletCell';\r\nimport TooltipCell from '../../../../components/NewInfoBox/TooltipCell';\r\nimport Button from '../../../../components/controls/Button';\r\nimport MaterialIcon from '../../../../components/MaterialIcon/MaterialIcon';\r\nimport { isDesktopSize } from '../../../../utilities/windowSize';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\nimport * as emailValidationRules from '../../../Shared/Validations/emailValidations';\r\n\r\nconst KeyfobsAndEmployeesList = forwardRef(function KeyfobsAndEmployeesList({\r\n partnerId,\r\n keyfobs,\r\n getKeyfobsList,\r\n getIsReassignKeyfobFeatureEnabled,\r\n memberToDeactivateMembership,\r\n isReassignKeyfobFeatureEnabled,\r\n deleteKeyfobConfirmationMessage,\r\n deactivationConfirmationPopupMessage,\r\n deleteMemberConfirmationMessage,\r\n deleteMemberConfirmationTitle,\r\n isConfirmationPopupVisible,\r\n resetMemberToDeactivate,\r\n deleteKeyfob,\r\n deactivateMembership,\r\n deleteMemberGroupMembership,\r\n reassignKeyfob,\r\n resetKeyfobToReassign,\r\n isAdmin,\r\n keyfobIdToDelete,\r\n memberToDelete,\r\n resetKeyfobIdToDelete,\r\n isDeleteKeyfobConfirmationPopupVisible,\r\n downloadKeyfobsAndEmployees,\r\n totalCount,\r\n getProgramPaymentTypeID,\r\n programPaymentTypeID,\r\n isPartnerManager,\r\n updateMember,\r\n}, externalRef) {\r\n const ref = externalRef || useRef();\r\n const { gmrAddProgram } = useFlags();\r\n const isDesktop = isDesktopSize();\r\n const tableRef = useRef();\r\n const refreshGrid = () => {\r\n tableRef.current.refreshTable();\r\n };\r\n useEffect(() => {\r\n refreshGrid();\r\n getIsReassignKeyfobFeatureEnabled();\r\n }, []);\r\n useEffect(() => {\r\n if (partnerId && gmrAddProgram) {\r\n getProgramPaymentTypeID(partnerId);\r\n }\r\n }, [partnerId]);\r\n const exportToExcel = () => {\r\n if (partnerId) {\r\n downloadKeyfobsAndEmployees(partnerId);\r\n }\r\n };\r\n\r\n const deleteKeyfobHandler = () => {\r\n if (gmrAddProgram) {\r\n deleteMemberGroupMembership(memberToDelete, programPaymentTypeID).then(() => {\r\n refreshGrid();\r\n });\r\n } else {\r\n deleteKeyfob(keyfobIdToDelete).then(() => {\r\n refreshGrid();\r\n });\r\n }\r\n resetKeyfobIdToDelete();\r\n };\r\n\r\n const deactivateHandler = () => {\r\n resetMemberToDeactivate();\r\n deactivateMembership(memberToDeactivateMembership.facilityMemberID).then(() => {\r\n refreshGrid();\r\n });\r\n };\r\n\r\n const newFacilityIDNumberSubmitHandler = (value, oldValue) => {\r\n resetKeyfobToReassign();\r\n const reassignKeyfobParams = {\r\n oldFacilityMemberID: oldValue,\r\n newFacilityMemberID: value,\r\n partnerID: partnerId,\r\n };\r\n reassignKeyfob(reassignKeyfobParams).finally(() => {\r\n refreshGrid();\r\n });\r\n };\r\n\r\n const newEmailSubmitHandler = (value, oldValue, member) => {\r\n member.memberEmail = value;\r\n updateMember(member).finally(refreshGrid);\r\n };\r\n\r\n const updateHandler = (pageNumber, sortColumn, sortOrder, filter) => {\r\n if (partnerId) {\r\n getKeyfobsList(pageNumber, PAGE_SIZE, sortColumn, sortOrder, partnerId, filter);\r\n }\r\n };\r\n\r\n const columns = useMemo(() => {\r\n return gmrAddProgram ?\r\n [\r\n {\r\n id: 'memberFirstName',\r\n Header: keyfobsAndEmployeeResources.labelEmployeeName,\r\n accessor: (x) => {\r\n return x.memberFirstName ? `${x.memberFirstName} ${x.memberLastName}` : '';\r\n },\r\n width: 200,\r\n minWidth: 200,\r\n sticky: isDesktop ? 'left' : null,\r\n left: 0,\r\n searchBox: true,\r\n clearable: false,\r\n validationTooltip: keyfobsAndEmployeeResources.searchValidation,\r\n },\r\n {\r\n Header: keyfobsAndEmployeeResources.labelEmail,\r\n accessor: 'memberEmail',\r\n Cell: NewEditableCell,\r\n getProps: row => ({\r\n updateCellHandler: newEmailSubmitHandler,\r\n disabled: false,\r\n maxWidth: '150px',\r\n isEditButtonEnabled: (isAdmin || isPartnerManager) && (row.original.invitationStatus === invitationStatuses.waitingToInvite || row.original.invitationStatus === invitationStatuses.invited),\r\n editTooltip: keyfobsAndEmployeeResources.buttonEditEmail,\r\n validateCellRules: [\r\n emailValidationRules.emailRequired(keyfobsAndEmployeeResources.labelEmail),\r\n emailValidationRules.emailRegex(keyfobsAndEmployeeResources.labelEmail),\r\n emailValidationRules.emailMaxLength(keyfobsAndEmployeeResources.labelEmail)\r\n ]\r\n }),\r\n width: 200,\r\n minWidth: 200,\r\n sticky: isDesktop ? 'left' : null,\r\n left: 200\r\n },\r\n {\r\n Header: keyfobsAndEmployeeResources.labelKeyfobStatus,\r\n accessor: 'invitationStatusDescription',\r\n Cell: BulletCell,\r\n getProps: row => ({\r\n theme: invitationStatusesColorsMap[row.original.invitationStatus]\r\n }),\r\n width: 190,\r\n minWidth: 190,\r\n sticky: isDesktop ? 'left' : null,\r\n left: 384\r\n },\r\n {\r\n Header: keyfobsAndEmployeeResources.labelDateOfBirth,\r\n accessor: 'memberDateOfBirth',\r\n width: 98,\r\n minWidth: 98,\r\n },\r\n {\r\n Header: keyfobsAndEmployeeResources.labelProgramEnrollmentDate,\r\n accessor: 'programEnrollmentDate',\r\n width: 135,\r\n minWidth: 135,\r\n },\r\n {\r\n Header: keyfobsAndEmployeeResources.labelLastMonthVisitsCount,\r\n accessor: 'lastMonthUsagesCount',\r\n width: 86,\r\n minWidth: 86,\r\n },\r\n {\r\n Header: keyfobsAndEmployeeResources.labelFacilityID,\r\n accessor: 'facilityIDNumber',\r\n width: 100,\r\n minWidth: 100\r\n },\r\n {\r\n Header: keyfobsAndEmployeeResources.labelFacilityName,\r\n accessor: 'facilityName',\r\n Cell: TooltipCell,\r\n width: 132,\r\n minWidth: 132\r\n },\r\n {\r\n Header: keyfobsAndEmployeeResources.labelKeyfob,\r\n accessor: (x) => {\r\n return x.preferredAccessType === preferredAccessTypes.digitalKey ? keyfobsAndEmployeeResources.labelKeyfobAccessPass : x.facilityMemberID;\r\n },\r\n Cell: NewEditableCell,\r\n getProps: row => ({\r\n updateCellHandler: newFacilityIDNumberSubmitHandler,\r\n disabled: row.original.keyfobStatusID === keyfobStatuses.onHold,\r\n isEditButtonEnabled: row.original.preferredAccessType === preferredAccessTypes.physicalKey && isAdmin && isReassignKeyfobFeatureEnabled && row.original.invitationStatus === invitationStatuses.activated,\r\n isReassignKeyfobFeatureEnabled,\r\n isVisible: true,\r\n editTooltip: keyfobsAndEmployeeResources.buttonReassign,\r\n validateCellRules: [\r\n validationRules.keyfobRequired,\r\n validationRules.keyfobMinMaxLength,\r\n validationRules.keyfobValidRadixNumber,\r\n validationRules.newKeyfobNotEqualToOldKeyfob\r\n ]\r\n }),\r\n width: 135,\r\n minWidth: 135,\r\n maxWidth: 135,\r\n },\r\n {\r\n Header: keyfobsAndEmployeeResources.labelMobilePhone,\r\n accessor: 'memberPhoneNumber',\r\n Cell: TooltipCell,\r\n width: 136,\r\n minWidth: 136\r\n },\r\n {\r\n Header: keyfobsAndEmployeeResources.labelActions,\r\n id: 'actions',\r\n accessor: (row) => { return { row, isVisible: true }; },\r\n Cell: ReplaceKeyfobActionsCell,\r\n minWidth: 88,\r\n width: 88,\r\n sticky: 'right',\r\n right: 0,\r\n disableSortBy: true\r\n }\r\n ]\r\n : [\r\n {\r\n Header: keyfobsAndEmployeeResources.labelKeyfob,\r\n accessor: 'facilityMemberID',\r\n Cell: NewEditableCell,\r\n getProps: row => ({\r\n updateCellHandler: newFacilityIDNumberSubmitHandler,\r\n disabled: row.original.keyfobStatusID === keyfobStatuses.onHold,\r\n isEditButtonEnabled: isAdmin && isReassignKeyfobFeatureEnabled,\r\n isReassignKeyfobFeatureEnabled,\r\n isVisible: true,\r\n editTooltip: keyfobsAndEmployeeResources.buttonReassign,\r\n validateCellRules: [\r\n validationRules.keyfobRequired,\r\n validationRules.keyfobMinMaxLength,\r\n validationRules.keyfobValidRadixNumber,\r\n validationRules.newKeyfobNotEqualToOldKeyfob\r\n ]\r\n }),\r\n width: 135,\r\n minWidth: 135,\r\n maxWidth: 135,\r\n sticky: 'left',\r\n left: 0,\r\n },\r\n {\r\n Header: keyfobsAndEmployeeResources.labelKeyfobStatus,\r\n accessor: 'keyfobStatusDisplayName',\r\n Cell: BulletCell,\r\n getProps: row => ({\r\n theme: keyfobStatusesColorsMap[row.original.keyfobStatusID]\r\n }),\r\n width: 190,\r\n minWidth: 190,\r\n sticky: isDesktop ? 'left' : null,\r\n left: 135,\r\n },\r\n {\r\n id: 'memberFirstName',\r\n Header: keyfobsAndEmployeeResources.labelEmployeeName,\r\n accessor: (x) => {\r\n return x.memberFirstName ? `${x.memberFirstName} ${x.memberLastName}` : '';\r\n },\r\n width: 200,\r\n minWidth: 200,\r\n sticky: isDesktop ? 'left' : null,\r\n left: 325\r\n },\r\n {\r\n Header: keyfobsAndEmployeeResources.labelDateOfBirth,\r\n accessor: 'memberDateOfBirth',\r\n width: 98,\r\n minWidth: 98,\r\n },\r\n {\r\n Header: keyfobsAndEmployeeResources.labelProgramEnrollmentDate,\r\n accessor: 'programEnrollmentDate',\r\n width: 135,\r\n minWidth: 135,\r\n },\r\n {\r\n Header: keyfobsAndEmployeeResources.labelLastMonthUsageCount,\r\n accessor: 'lastMonthUsagesCount',\r\n width: 86,\r\n minWidth: 86,\r\n },\r\n {\r\n Header: keyfobsAndEmployeeResources.labelFacilityID,\r\n accessor: 'facilityIDNumber',\r\n width: 100,\r\n minWidth: 100\r\n },\r\n {\r\n Header: keyfobsAndEmployeeResources.labelFacilityName,\r\n accessor: 'facilityName',\r\n Cell: TooltipCell,\r\n width: 132,\r\n minWidth: 132\r\n },\r\n {\r\n Header: keyfobsAndEmployeeResources.labelMobilePhone,\r\n accessor: 'memberPhoneNumber',\r\n Cell: TooltipCell,\r\n width: 136,\r\n minWidth: 136\r\n },\r\n {\r\n Header: keyfobsAndEmployeeResources.labelEmailAddress,\r\n accessor: 'memberEmail',\r\n Cell: TooltipCell,\r\n width: 184,\r\n minWidth: 184\r\n },\r\n {\r\n Header: keyfobsAndEmployeeResources.labelActions,\r\n id: 'actions',\r\n accessor: (row) => { return { row, isVisible: true }; },\r\n Cell: ReplaceKeyfobActionsCell,\r\n minWidth: 88,\r\n width: 88,\r\n sticky: 'right',\r\n right: 0,\r\n disableSortBy: true\r\n }\r\n ];\r\n }, [keyfobsAndEmployeeResources, isAdmin, isReassignKeyfobFeatureEnabled, isDesktop, gmrAddProgram]);\r\n\r\n const getMemberId = (item) => {\r\n return gmrAddProgram ? item.memberId : item.facilityMemberID;\r\n };\r\n\r\n useImperativeHandle(ref, () => {\r\n return { refreshGrid: () => refreshGrid() };\r\n });\r\n return
\r\n {gmrAddProgram ?\r\n
\r\n \r\n
\r\n :
\r\n

{keyfobsAndEmployeeResources.titleKeyfobsList}

\r\n
\r\n \r\n
\r\n
\r\n }\r\n \r\n {deactivationConfirmationPopupMessage}
}\r\n onConfirm={deactivateHandler}\r\n onCancel={resetMemberToDeactivate}\r\n labelOk={keyfobsAndEmployeeResources.buttonDeactivate}\r\n />\r\n {gmrAddProgram ? deleteMemberConfirmationMessage : deleteKeyfobConfirmationMessage}}\r\n title={gmrAddProgram ? deleteMemberConfirmationTitle : null}\r\n onConfirm={deleteKeyfobHandler}\r\n onCancel={resetKeyfobIdToDelete}\r\n labelOk={keyfobsAndEmployeeResources.buttonDelete}\r\n />\r\n \r\n
\r\n ;\r\n});\r\n\r\nKeyfobsAndEmployeesList.propTypes = {\r\n partnerId: PropTypes.number,\r\n keyfobs: PropTypes.object.isRequired,\r\n getKeyfobsList: PropTypes.func.isRequired,\r\n getIsReassignKeyfobFeatureEnabled: PropTypes.func.isRequired,\r\n memberToDeactivateMembership: PropTypes.object,\r\n keyfobToReassign: PropTypes.object,\r\n keyfobIdToDelete: PropTypes.number,\r\n memberToDelete: PropTypes.object,\r\n isReassignKeyfobFeatureEnabled: PropTypes.bool.isRequired,\r\n deactivationConfirmationPopupMessage: PropTypes.string,\r\n isConfirmationPopupVisible: PropTypes.bool.isRequired,\r\n reassignConfirmationPopupMessage: PropTypes.string,\r\n deleteKeyfobConfirmationMessage: PropTypes.string,\r\n deleteMemberConfirmationMessage: PropTypes.string,\r\n deleteMemberConfirmationTitle: PropTypes.string,\r\n isReassignConfirmationPopupVisible: PropTypes.bool.isRequired,\r\n resetMemberToDeactivate: PropTypes.func.isRequired,\r\n deactivateMembership: PropTypes.func.isRequired,\r\n reassignKeyfob: PropTypes.func.isRequired,\r\n resetKeyfobToReassign: PropTypes.func.isRequired,\r\n deleteKeyfob: PropTypes.func.isRequired,\r\n deleteMemberGroupMembership: PropTypes.func.isRequired,\r\n isAdmin: PropTypes.bool.isRequired,\r\n isDeleteKeyfobConfirmationPopupVisible: PropTypes.bool.isRequired,\r\n resetKeyfobIdToDelete: PropTypes.func.isRequired,\r\n downloadKeyfobsAndEmployees: PropTypes.func.isRequired,\r\n setKeyfobToReassign: PropTypes.func.isRequired,\r\n totalCount: PropTypes.number,\r\n programPaymentTypeID: PropTypes.number,\r\n isPartnerManager: PropTypes.bool.isRequired,\r\n updateMember: PropTypes.func.isRequired\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getKeyfobsList,\r\n getIsReassignKeyfobFeatureEnabled,\r\n resetMemberToDeactivate: resetMemberToDeactivateMembership,\r\n deactivateMembership,\r\n deleteKeyfob,\r\n reassignKeyfob,\r\n resetKeyfobToReassign,\r\n resetKeyfobIdToDelete,\r\n downloadKeyfobsAndEmployees,\r\n setKeyfobToReassign,\r\n getProgramPaymentTypeID,\r\n deleteMemberGroupMembership,\r\n updateMember\r\n};\r\n\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\nexport default connectStateToProps(KeyfobsAndEmployeesList);\r\n","const uploadMemberRecipientsResources = {\r\n uploadSectionTitle: 'Invite Recipients',\r\n uploadSectionDescription: launchDate => `Please upload recipient's emails (25KB max file size). Either click the Upload button or Drag and Drop a file here. \\n Available invitations will be automatically sent after program launch (${launchDate}).`,\r\n resultsPopupTitle: 'Recipients Upload Results',\r\n buttonViewDetails: 'View Details',\r\n validateUniqueEmailError: 'Email Address must be unique. Row(s) {0} have the same email address.',\r\n validateNumberOfMembersError: 'The total number of recipients exceeds the Number of Memberships.',\r\n validateExistingMembersError: 'Email Address must be unique. Recipient with {0} has already been uploaded.',\r\n resultsProcessed: 'PROCESSED',\r\n resultsUploaded: 'UPLOADED',\r\n resultsFailed: 'FAILED',\r\n extensionAccepted: ['xlsx'],\r\n fileSizeError: 'File size exceeds the limit of 25KB',\r\n memberRecipientsFileUploaderName: 'MemberRecipientsFileUploader'\r\n};\r\n\r\nexport default uploadMemberRecipientsResources;","import * as types from './uploadRecipientsResultsTypes';\r\n\r\nconst setUploadResultsAction = (uploadResults) => {\r\n return {\r\n type: types.SET_UPLOAD_RESULTS,\r\n uploadResults\r\n };\r\n};\r\nconst setFileNameAction = (fileName) => {\r\n return {\r\n type: types.SET_FILE_NAME,\r\n fileName\r\n };\r\n};\r\nexport function setUploadResults(uploadResults) {\r\n return function(dispatch) {\r\n dispatch(setUploadResultsAction(uploadResults));\r\n };\r\n}\r\n\r\nexport function setUploadResultsFileName(fileName) {\r\n return function(dispatch) {\r\n dispatch(setFileNameAction(fileName));\r\n };\r\n}","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { FileUploader } from 'react-drag-drop-files';\r\nimport Button from './Button';\r\nimport MaterialIcon from '../MaterialIcon/MaterialIcon';\r\nimport styles from './_dragdropfileuploader.module.scss';\r\n\r\nfunction DragDropFileUploader({\r\n name,\r\n title,\r\n subtitle,\r\n buttonName,\r\n handleChange,\r\n fileTypes\r\n}) {\r\n return (\r\n \r\n
\r\n
\r\n {title &&

{title}

}\r\n {subtitle && }\r\n
\r\n \r\n
\r\n \r\n );\r\n};\r\n\r\nDragDropFileUploader.propTypes = {\r\n name: PropTypes.string.isRequired,\r\n handleChange: PropTypes.func.isRequired,\r\n fileTypes: PropTypes.array,\r\n title: PropTypes.string,\r\n subtitle: PropTypes.string,\r\n buttonName: PropTypes.string,\r\n};\r\n\r\nDragDropFileUploader.defaultProps = {\r\n buttonName: 'upload',\r\n};\r\n\r\nexport default DragDropFileUploader;","import React, { useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport { useHistory } from 'react-router-dom';\r\nimport './uploadMemberRecipientsForm.scss';\r\nimport uploadMemberRecipientsResources from '../uploadMemberRecipientsResources';\r\nimport resources from '../../../../Shared/resources';\r\nimport ConfirmPopup from '../../../../../components/Popups/ConfirmAlert/ConfirmPopup';\r\nimport { uploadMemberRecipients, showFileUploadErrorAlert } from '../../employeeManagementActions';\r\nimport { setUploadResults, setUploadResultsFileName } from '../../../../Shared/UploadRecipientsResults/uploadRecipientsResultsActions';\r\nimport moment from 'moment';\r\nimport { MONTH_DATE_FORMAT } from '../../../../../constants/formats';\r\nimport DragDropFileUploader from '../../../../../components/controls/DragDropFileUploader';\r\n\r\nconst UploadMemberRecipientsForm = ({\r\n partnerId,\r\n launchDate,\r\n uploadMemberRecipients,\r\n setUploadResults,\r\n showFileUploadErrorAlert\r\n}) => {\r\n const [goodRecords, setGoodRecords] = useState([]);\r\n const [badRecords, setBadRecords] = useState([]);\r\n const [showConfirmation, setShowConfirmation] = useState(false);\r\n const [fileName, setFileName] = useState('');\r\n const history = useHistory();\r\n const fileSize = 25600;\r\n const uploadFile = (file) => {\r\n if (!file) {\r\n return;\r\n }\r\n if (file.size > fileSize) {\r\n showFileUploadErrorAlert(uploadMemberRecipientsResources.fileSizeError);\r\n return;\r\n }\r\n setGoodRecords([]);\r\n setBadRecords([]);\r\n setFileName(file.name);\r\n uploadMemberRecipients(partnerId, file)\r\n .then((response) => {\r\n const good = [];\r\n const bad = [];\r\n response.data.forEach((item) => {\r\n if (item.reason === null || item.reason === '') {\r\n good.push(item);\r\n } else {\r\n bad.push(item);\r\n }\r\n }\r\n );\r\n setGoodRecords(good);\r\n setBadRecords(bad);\r\n setShowConfirmation(true);\r\n })\r\n .catch(() => {\r\n setShowConfirmation(false);\r\n });\r\n };\r\n\r\n const handleViewDetails = () => {\r\n setUploadResultsFileName(fileName);\r\n setUploadResults({ goodRecords, badRecords });\r\n setShowConfirmation(false);\r\n history.push('/uploadresults');\r\n };\r\n\r\n const handleCloseConfirmation = () => {\r\n setShowConfirmation(false);\r\n };\r\n\r\n const totalRecords = () => goodRecords.length + badRecords.length;\r\n\r\n return (\r\n <>\r\n \r\n

{uploadMemberRecipientsResources.resultsPopupTitle}

\r\n

{fileName}

\r\n
\r\n
{uploadMemberRecipientsResources.resultsProcessed}: {totalRecords()}
\r\n
{uploadMemberRecipientsResources.resultsUploaded}: {goodRecords.length}
\r\n
{uploadMemberRecipientsResources.resultsFailed}: {badRecords.length}
\r\n
\r\n \r\n }\r\n onConfirm={badRecords && badRecords.length === 0 ? null : handleViewDetails}\r\n onCancel={handleCloseConfirmation}\r\n labelOk={uploadMemberRecipientsResources.buttonViewDetails}\r\n labelCancel={resources.closeButtonText}\r\n buttonSize=\"large\"\r\n />\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\nUploadMemberRecipientsForm.propTypes = {\r\n partnerId: PropTypes.number.isRequired,\r\n launchDate: PropTypes.instanceOf(Date).isRequired,\r\n uploadMemberRecipients: PropTypes.func.isRequired,\r\n setUploadResults: PropTypes.func.isRequired,\r\n showFileUploadErrorAlert: PropTypes.func.isRequired,\r\n};\r\nconst mapDispatchToProps = {\r\n uploadMemberRecipients,\r\n setUploadResults,\r\n showFileUploadErrorAlert\r\n};\r\n\r\nconst connectStateToProps = connect(null, mapDispatchToProps);\r\nexport default connectStateToProps(UploadMemberRecipientsForm);\r\n","export const MULTIPART_FORM_DATA = 'multipart/form-data';\r\nexport const APPLICATION_JSON = 'application/json';\r\nexport const APPLICATION_OCTET_STREAM = 'application/octet-stream';","import React, { useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport CardInfo from '../../../components/CardInfo/CardInfo';\r\nimport selectors from './employeeManagementTabSelectors';\r\nimport AddKeyfobsForm from './AddKeyfobsForm/AddKeyfobsForm';\r\nimport { fromJS } from 'immutable';\r\nimport WrappedConfirmPopup from '../../../components/Popups/ConfirmAlert/WrappedConfirmPopup';\r\nimport { createKeyfobs } from './employeeManagementActions';\r\nimport AddKeyfobConfirmBody from './AddKeyfobConfirmBody';\r\nimport KeyfobsAndEmployeesList from './KeyfobsAndEmployeesList/KeyfobsAndEmployeesList';\r\nimport parseBigInt from '../../../utilities/parseBigInt';\r\nimport * as keyfobConstants from '../../Shared/Keyfobs/keyfobConstants';\r\nimport UploadMemberRecipientsForm from './UploadMemberRecipients/UploadMemberRecipientsForm/UploadMemberRecipientsForm';\r\n\r\nfunction EmployeeManagementTab({ match, isLoading, partner, createKeyfobs, launchDate }) {\r\n const keyfobsInitialRange = fromJS({ firstKeyfob: '', lastKeyfob: '' });\r\n const [keyfobsInitials, setKeyfobsInitials] = useState(keyfobsInitialRange);\r\n const partnerId = Number(match.params.partnerId);\r\n const { gmrAddProgram } = useFlags();\r\n\r\n const handleSubmit = (keyfobsInitials) => {\r\n const firstKeyfob = keyfobsInitials.get('firstKeyfob');\r\n const lastKeyfob = keyfobsInitials.get('lastKeyfob');\r\n const firstKeyfobBigInt = parseBigInt(firstKeyfob, keyfobConstants.KEYFOB_RADIX);\r\n const lastKeyfobBigInt = parseBigInt(lastKeyfob, keyfobConstants.KEYFOB_RADIX);\r\n const keyfobs = [];\r\n const keyfobsLength = firstKeyfob.length;\r\n for (let i = firstKeyfobBigInt; i <= lastKeyfobBigInt; i++) {\r\n const keyfobValuePart = i.toString(keyfobConstants.KEYFOB_RADIX);\r\n const paddedKeyfob = keyfobValuePart.padStart(keyfobsLength, '0');\r\n keyfobs.push({ partnerId, facilityMemberID: paddedKeyfob });\r\n }\r\n WrappedConfirmPopup({\r\n body: ,\r\n onConfirm: () => createKeyfobs(keyfobs, partnerId).then(setKeyfobsInitials(keyfobsInitialRange))\r\n });\r\n };\r\n\r\n return \r\n {isLoading ? : null}\r\n {gmrAddProgram ?\r\n \r\n :\r\n
\r\n \r\n
\r\n }\r\n \r\n
;\r\n}\r\n\r\nEmployeeManagementTab.propTypes = {\r\n match: PropTypes.object.isRequired,\r\n isLoading: PropTypes.bool.isRequired,\r\n partner: PropTypes.object.isRequired,\r\n createKeyfobs: PropTypes.func.isRequired,\r\n employeesList: PropTypes.array,\r\n launchDate: PropTypes.instanceOf(Date).isRequired,\r\n};\r\nconst mapDispatchToProps = {\r\n createKeyfobs\r\n};\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\nexport default connectStateToProps(EmployeeManagementTab);\r\n","const visitLogResources = {\r\n labelVisitMonth: 'Visit Month',\r\n labelKeyfob: 'Keyfob',\r\n labelFacilityID: 'Facility ID',\r\n labelFaciityName: 'Facility Name',\r\n labelEmployeeFirstName: 'Employee First Name',\r\n labelEmployeeLastName: 'Employee Last Name',\r\n labelVisits: 'Visits',\r\n labelEmployeeName: 'Employee Name',\r\n labelStatus: 'Last Status',\r\n labelEmail: 'Email',\r\n formVisitMonth: 'visitMonthForm',\r\n fieldPeriod: 'id',\r\n};\r\nexport default visitLogResources;","import { createSelector } from 'reselect';\r\nimport { GET_VISITS, DOWNLOAD_VISITS } from './visitLogTabTypes';\r\nimport { GET_CLOSED_USAGE_PERIODS } from '../../Shared/Periods/periodsTypes';\r\nimport { formValueSelector } from 'redux-form';\r\nimport visitLogResources from './visitLogTabResources';\r\nimport { fromJS } from 'immutable';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i =>\r\n i === GET_VISITS || i === GET_CLOSED_USAGE_PERIODS || i === DOWNLOAD_VISITS\r\n ).size;\r\n return size > 0;\r\n};\r\n\r\nconst getPeriods = state => state.periodsReducer.get('periodsUntilCurrent');\r\nconst getVisits = state => state.visitLogTabReducer.get('visits');\r\nconst getDefaultPeriod = createSelector([getPeriods], (periods) => {\r\n return periods.first() || fromJS({ id : '' });\r\n});\r\n\r\nconst formSelector = formValueSelector(visitLogResources.formVisitMonth, state => state.form.toJS());\r\nconst getSelectedPeriod = state => (\r\n formSelector\r\n ? formSelector(state, visitLogResources.fieldPeriod)\r\n : getDefaultPeriod()\r\n .get(visitLogResources.fieldPeriod));\r\n\r\nexport default createSelector(\r\n [getIsLoading, getPeriods, getSelectedPeriod, getVisits, getDefaultPeriod],\r\n (isLoading, periods, selectedPeriod, visits, defaultPeriod) => ({\r\n isLoading,\r\n periods,\r\n selectedPeriod,\r\n visits,\r\n defaultPeriod\r\n })\r\n);","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\n\r\nfunction getVisits(partnerID, periodID) {\r\n return http.get(API_PATHS.getVisits, { params: { partnerID, periodID } });\r\n}\r\n\r\nfunction downloadVisits(partnerID, periodID) {\r\n return http.get(API_PATHS.downloadVisits, { responseType: 'blob', params: { partnerID, usagePeriodID: periodID } });\r\n};\r\n\r\nexport default {\r\n getVisits,\r\n downloadVisits\r\n};","import * as types from './visitLogTabTypes';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport visitLogTabService from './visitLogTabService';\r\n\r\nconst setVisits = (visits) => {\r\n return { type: types.SET_VISITS, visits };\r\n};\r\n\r\nfunction getVisits(partnerID, periodID) {\r\n return function (dispatch, getState) {\r\n dispatch(loadingActions.setLoading(types.GET_VISITS));\r\n return visitLogTabService\r\n .getVisits(partnerID, periodID)\r\n .then((visits) => {\r\n dispatch(setVisits(visits));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_VISITS));\r\n });\r\n };\r\n}\r\n\r\n\r\nfunction downloadVisits(partnerId, periodId) {\r\n return function (dispatch, getState) {\r\n dispatch(loadingActions.setLoading(types.DOWNLOAD_VISITS));\r\n return visitLogTabService\r\n .downloadVisits(partnerId, periodId)\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.DOWNLOAD_VISITS)));\r\n };\r\n}\r\n\r\nexport default {\r\n getVisits,\r\n downloadVisits\r\n};","import React, { useMemo, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport selectors from './visitLogTabSelectors';\r\nimport visitLogResources from './visitLogTabResources';\r\nimport { getPeriodsUntilCurrent } from '../../Shared/Periods/periodsActions';\r\nimport actions from './visitLogTabActions';\r\nimport { isTabletSize } from '../../../utilities/windowSize';\r\nimport NewTable from '../../../components/NewInfoBox/NewTable';\r\nimport Button from '../../../components/controls/Button';\r\nimport MaterialIcon from '../../../components/MaterialIcon/MaterialIcon';\r\nimport BulletCell from '../../../components/NewInfoBox/BulletCell';\r\nimport { invitationStatusesColorsMap } from '../../../enums/invitationStatuses';\r\nimport MuiInputSelect from '../../../components/controls/MuiInputSelect';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport FormGroup from '../../../components/controls/FormGroup';\r\nimport { defaultFormProperties } from '../../../utilities/form';\r\nfunction VisitLogTab({\r\n isLoading,\r\n periods,\r\n getPeriodsUntilCurrent,\r\n selectedPeriod,\r\n getVisits,\r\n visits,\r\n partnerID,\r\n defaultPeriod,\r\n downloadVisits }) {\r\n const isTablet = isTabletSize();\r\n useEffect(() => {\r\n getPeriodsUntilCurrent();\r\n }, []);\r\n useEffect(() => {\r\n if (partnerID && selectedPeriod > 0) {\r\n getVisits(partnerID, selectedPeriod);\r\n }\r\n }, [selectedPeriod]);\r\n const exportToExcel = () => {\r\n if (partnerID && selectedPeriod > 0) {\r\n downloadVisits(partnerID, selectedPeriod);\r\n }\r\n };\r\n const columns = useMemo(\r\n () => [\r\n {\r\n Header: visitLogResources.labelEmployeeName,\r\n accessor: (x) => {\r\n return x.memberFirstName ? `${x.memberFirstName} ${x.memberLastName}` : '';\r\n },\r\n sticky: isTablet ? 'left' : null,\r\n left: isTablet ? 0 : null\r\n },\r\n {\r\n Header: visitLogResources.labelStatus,\r\n accessor: 'invitationStatusDescription',\r\n Cell: BulletCell,\r\n getProps: row => ({\r\n theme: invitationStatusesColorsMap[row.original.invitationStatus]\r\n })\r\n },\r\n {\r\n Header: visitLogResources.labelEmail,\r\n accessor: 'memberEmail',\r\n minWidth: 200\r\n },\r\n {\r\n Header: visitLogResources.labelFacilityID,\r\n accessor: 'facilityIDNumber'\r\n },\r\n {\r\n Header: visitLogResources.labelFaciityName,\r\n accessor: 'facilityName',\r\n minWidth: 200\r\n },\r\n {\r\n Header: visitLogResources.labelVisits,\r\n accessor: 'usagesCount',\r\n maxWidth: 50\r\n }\r\n ],\r\n [visitLogResources]\r\n );\r\n return isLoading ?\r\n (\r\n \r\n )\r\n : (\r\n <>\r\n
\r\n
\r\n {defaultPeriod.get(visitLogResources.fieldPeriod) > 0\r\n ? \r\n (option ? option.get('yearMonth') : '')}\r\n getOptionValue={option => (option ? option.get('id') : '')}\r\n />\r\n \r\n : null}\r\n
\r\n
\r\n \r\n
\r\n
\r\n item.memberEmail}\r\n initialSortBy={{\r\n id: 'memberFirstName',\r\n desc: false\r\n }}\r\n />\r\n \r\n );\r\n}\r\n\r\nVisitLogTab.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n periods: PropTypes.object.isRequired,\r\n getPeriodsUntilCurrent: PropTypes.func.isRequired,\r\n selectedPeriod: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n getVisits: PropTypes.func.isRequired,\r\n visits: PropTypes.object.isRequired,\r\n partnerID: PropTypes.number,\r\n defaultPeriod: PropTypes.object,\r\n downloadVisits: PropTypes.func.isRequired\r\n};\r\nconst mapDispatchToProps = {\r\n getPeriodsUntilCurrent,\r\n ...actions\r\n};\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default reduxForm({\r\n form: visitLogResources.formVisitMonth,\r\n destroyOnUnmount: false,\r\n forceUnregisterOnUnmount: true,\r\n ...defaultFormProperties\r\n})(connectStateToProps(VisitLogTab));\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport VisitLogTab from './VisitLogTab';\r\n\r\nfunction HCAdminVisitLogTab({ match })\r\n{\r\n return ;\r\n}\r\n\r\nHCAdminVisitLogTab.propTypes = {\r\n match: PropTypes.object.isRequired\r\n};\r\n\r\nexport default HCAdminVisitLogTab;","import { createSelector } from 'reselect';\r\nimport {\r\n UPLOAD_MEMBER_RECIPIENTS,\r\n GET_KEYFOBS_LIST\r\n} from './employeeManagementTypes';\r\nconst getPartnerId = state => state.partnerManagerReducer.getIn(['manager', 'partnerID']);\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i =>\r\n i === UPLOAD_MEMBER_RECIPIENTS || i === GET_KEYFOBS_LIST\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\n\r\nconst getLaunchDate = (state) => {\r\n const launchDate = state.groupMembershipsReducer.getIn(['groupMembership', 'launchDate']);\r\n return launchDate ? new Date(launchDate) : new Date();\r\n};\r\n\r\nexport default createSelector(\r\n [getPartnerId, getIsLoading, getLaunchDate],\r\n (partnerId, isLoading, launchDate) => ({\r\n partnerId,\r\n isLoading,\r\n launchDate\r\n })\r\n);\r\n","import React, { useRef } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport selectors from './partnerManagerEmployeeManagementSelectors';\r\nimport KeyfobsAndEmployeesList from './KeyfobsAndEmployeesList/KeyfobsAndEmployeesList';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport CardInfo from '../../../components/CardInfo/CardInfo';\r\nimport UploadMemberRecipientsForm from './UploadMemberRecipients/UploadMemberRecipientsForm/UploadMemberRecipientsForm';\r\n\r\nfunction PartnerManagerEmployeeManagementTab({ partnerId, isLoading, launchDate }) {\r\n const { gmrAddProgram } = useFlags();\r\n const employeesListRef = useRef();\r\n return \r\n {isLoading ? : null}\r\n {gmrAddProgram &&\r\n \r\n }\r\n \r\n ;\r\n}\r\n\r\nPartnerManagerEmployeeManagementTab.propTypes = {\r\n partnerId: PropTypes.number.isRequired,\r\n isLoading: PropTypes.bool.isRequired,\r\n launchDate: PropTypes.instanceOf(Date).isRequired,\r\n};\r\nconst connectStateToProps = connect(selectors);\r\nexport default connectStateToProps(PartnerManagerEmployeeManagementTab);\r\n","import { createSelector } from 'reselect';\r\n\r\nconst getPartnerId = state => state.partnerManagerReducer.getIn(['manager', 'partnerID']);\r\n\r\nexport default createSelector(\r\n [getPartnerId],\r\n partnerId => ({\r\n partnerId\r\n })\r\n);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport selectors from './partnerManagerVisitLogTabSelectors';\r\nimport VisitLogTab from './VisitLogTab';\r\n\r\nfunction PartnerManagerVisitLogTab({ partnerId })\r\n{\r\n return ;\r\n}\r\n\r\nPartnerManagerVisitLogTab.propTypes = {\r\n partnerId: PropTypes.number.isRequired\r\n};\r\nconst connectStateToProps = connect(selectors);\r\nexport default connectStateToProps(PartnerManagerVisitLogTab);","import { postNotification } from '../../../../../components/Notifications/actions';\r\nimport { ERROR } from '../../../../../components/Notifications/constants';\r\nimport * as types from './facilityLocatorMapTypes';\r\n\r\nexport const showGeolocationIsNotSupportedAlert = () => (dispatch) => {\r\n dispatch(postNotification({ type: ERROR, message: 'Geolocation is not supported by this browser.' }));\r\n};\r\n\r\nconst setFacilitiesAction = initialFacilities => ({\r\n type: types.SET_FACILITIES,\r\n initialFacilities\r\n});\r\n\r\nexport const setFacilities = initialFacilities => (dispatch) => {\r\n dispatch(setFacilitiesAction(initialFacilities));\r\n};\r\n\r\nconst toggleSelectedFacilityAction = facilityId => ({\r\n type: types.TOGGLE_SELECTED_FACILITY,\r\n facilityId\r\n});\r\n\r\nexport const toggleSelectedFacility = facilityId => (dispatch) => {\r\n dispatch(toggleSelectedFacilityAction(facilityId));\r\n};\r\n\r\nconst setFacilitiesInMapBoundsAction = (googleMap, maxClusterZoom) => ({\r\n type: types.SET_FACILITIES_IN_MAP_BOUNDS,\r\n googleMap,\r\n maxClusterZoom\r\n});\r\n\r\nexport const setFacilitiesInMapBounds = (googleMap, maxClusterZoom) => (dispatch) => {\r\n dispatch(setFacilitiesInMapBoundsAction(googleMap, maxClusterZoom));\r\n};\r\n\r\nconst toggleIsListView = isListView => ({\r\n type: types.SET_LIST_VIEW_FOR_MAP,\r\n isListView\r\n});\r\n\r\nexport const toggleListView = isListView => (dispatch) => {\r\n dispatch(toggleIsListView(!isListView));\r\n};\r\n","\r\nconst facilityLocationTypes = Object.freeze({\r\n FitnessFacility: 0,\r\n FitnessClass: 1,\r\n FlexInstructor: 2\r\n});\r\n\r\nexport const facilityLocationTypeNamesMap = Object.freeze({\r\n [facilityLocationTypes.FitnessFacility]: 'Fitness Facility',\r\n [facilityLocationTypes.FitnessClass]: 'Fitness Class',\r\n [facilityLocationTypes.FlexInstructor]: 'Flex Instructor',\r\n});\r\n\r\nexport const facilityLocationTypeColorsMap = Object.freeze({\r\n [facilityLocationTypes.FitnessFacility]: 'blue',\r\n [facilityLocationTypes.FitnessClass]: 'green',\r\n [facilityLocationTypes.FlexInstructor]: 'beet',\r\n});\r\n\r\nexport default facilityLocationTypes;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport Icon from '../../../../../../components/Icon/Icon';\r\nimport FacilityTypes from '../../../../../../enums/facilityLocationTypes';\r\nimport { MapPin, MapPinSelected } from '../../../../../../components/Icon/Icons';\r\n\r\nfunction FacilityPin({ facility, isActive }) {\r\n return <>\r\n : }\r\n className={classNames([\r\n 'facility-locator__pin-container',\r\n { 'facility-locator__pin-container_blue': facility.facilityLocationType === FacilityTypes.FitnessFacility },\r\n { 'facility-locator__pin-container_green': facility.facilityLocationType === FacilityTypes.FitnessClass },\r\n { 'facility-locator__pin-container_beet': facility.facilityLocationType === FacilityTypes.FlexInstructor },\r\n { 'facility-locator__pin-container_blue-active': isActive && facility.facilityLocationType === FacilityTypes.FitnessFacility },\r\n { 'facility-locator__pin-container_green-active': isActive && facility.facilityLocationType === FacilityTypes.FitnessClass },\r\n { 'facility-locator__pin-container_beet-active': isActive && facility.facilityLocationType === FacilityTypes.FlexInstructor },\r\n ])}\r\n />\r\n ;\r\n}\r\n\r\nFacilityPin.propTypes = {\r\n facility: PropTypes.object.isRequired,\r\n isActive: PropTypes.bool.isRequired\r\n};\r\n\r\nexport default FacilityPin;\r\n","import { createSelector } from 'reselect';\r\n\r\nconst getFacilities = state => state.facilityLocatorMapReducer.get('facilities');\r\nconst getSelectedFacility = state => state.facilityLocatorMapReducer.get('selectedFacility');\r\nconst getFacilitiesInMapBounds = state => state.facilityLocatorMapReducer.get('facilitiesInMapBounds');\r\nconst getIsListView = state => state.facilityLocatorMapReducer.get('isListView');\r\n\r\nexport default createSelector(\r\n [\r\n getFacilities,\r\n getSelectedFacility,\r\n getFacilitiesInMapBounds,\r\n getIsListView\r\n ],\r\n (facilities, selectedFacility, facilitiesInMapBounds, isListView) => ({\r\n facilities, selectedFacility, facilitiesInMapBounds, isListView\r\n })\r\n);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport './_bullet-caption.scss';\r\n\r\nfunction BulletCaption({ text, color, size = 'small', textColor = 'grey' }) {\r\n return \r\n \r\n \r\n {text}\r\n \r\n ;\r\n}\r\n\r\nBulletCaption.propTypes = {\r\n text: PropTypes.string.isRequired,\r\n color: PropTypes.oneOf(['blue', 'green', 'beet', 'yellow']),\r\n size: PropTypes.oneOf(['big', 'small', 'medium']),\r\n textColor: PropTypes.oneOf(['blue', 'grey']),\r\n};\r\n\r\nexport default BulletCaption;","const facilityDetailedInfoPanelResources = {\r\n enrollInFacilityButtonText: 'Enroll in facility'\r\n};\r\nexport default facilityDetailedInfoPanelResources;\r\n","import React, { Fragment } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { generatePath } from 'react-router';\r\nimport { facilityLocationTypeNamesMap, facilityLocationTypeColorsMap } from '../../../../../../enums/facilityLocationTypes';\r\nimport BulletCaption from '../../../../../../components/BulletCaption/BulletCaption';\r\nimport IconCaption from '../../../../../../components/IconCaption/IconCaption';\r\nimport Button from '../../../../../../components/controls/Button';\r\nimport routes from '../../../../../../routing/routes';\r\nimport classNames from 'classnames';\r\nimport resources from './FacilityDetailedInfoPanelResources';\r\nimport CustomLink from '../../../../../../components/controls/CustomLink';\r\nimport { HTTPS_PREFIX, GOOGLE_MAPS_URL } from '../../../../../../constants/websites';\r\nimport { TEL_PREFIX } from '../../../../../../constants/phones';\r\n\r\nfunction FacilityDetailedInfoPanel({ showFilter, facility, history, isEnrollButtonVisible, isListView }) {\r\n function handleEnroll() {\r\n history.push(generatePath(routes.facilityEnrollmentPage.path, {\r\n facilityId: facility.id\r\n }));\r\n };\r\n\r\n const formatFacilityUrl = function(url) {\r\n if(!url.startsWith(HTTPS_PREFIX)) {\r\n return HTTPS_PREFIX.concat(url);\r\n }\r\n return url;\r\n };\r\n\r\n const formatFacilityAddress = function() {\r\n return `${facility.address1} ${facility.city}, ${facility.state} ${facility.zipCode}`;\r\n };\r\n\r\n const formatGoogleMapsUrl = function(facilityAddress) {\r\n return GOOGLE_MAPS_URL.concat(facilityAddress);\r\n };\r\n\r\n const formatPhoneUrl = function() {\r\n return TEL_PREFIX.concat(facility.contactNumber);\r\n };\r\n\r\n return
\r\n
\r\n
\r\n
\r\n

{facility.displayName}

\r\n
\r\n \r\n
\r\n {isEnrollButtonVisible &&\r\n \r\n }\r\n
\r\n
\r\n
\r\n {formatFacilityAddress()}\r\n
\r\n
\r\n {facility.contactNumber}\r\n
\r\n
\r\n {facility.website && {facility.website}}\r\n
\r\n
\r\n
Programs
\r\n
\r\n {facility.activePlanAndProgramNames.map((planName, i) => {\r\n return \r\n {`${i !== 0\r\n ? '\\u00A0\\u00A0\\u0387\\u00A0\\u00A0'// dot separator with double nbsp around\r\n : ''}\r\n ${planName}`}\r\n ;\r\n })}\r\n
\r\n
\r\n
\r\n
;\r\n}\r\n\r\nFacilityDetailedInfoPanel.propTypes = {\r\n showFilter: PropTypes.bool.isRequired,\r\n history: PropTypes.object.isRequired,\r\n facility: PropTypes.object.isRequired,\r\n isEnrollButtonVisible: PropTypes.bool.isRequired,\r\n isListView: PropTypes.bool.isRequired\r\n};\r\n\r\nexport default FacilityDetailedInfoPanel;\r\n","const facilityLocatorResources = {\r\n labelBack: 'Back',\r\n labelFitnessFacility: 'Fitness Facility',\r\n labelFitnessClass: 'Fitness Class',\r\n labelFlexInstructor: 'Flex Instructor',\r\n placeholderSearch: 'Search by City & State or Zip Code',\r\n headerLocator: 'Use this map to find facility',\r\n backButtonText: 'Back to results',\r\n noClubsInThisArea: 'There are no clubs in your search area. Please try a different search area.',\r\n filterTooltip: 'Filter by program',\r\n};\r\nexport default facilityLocatorResources;","import React from 'react';\r\nimport facilityLocatorResources from '../../facilityLocatorResources';\r\nimport BulletCaption from '../../../../../../components/BulletCaption/BulletCaption';\r\nimport { connect } from 'react-redux';\r\n\r\nfunction FacilityLocatorMapLegend() {\r\n return
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
;\r\n}\r\n\r\nexport default connect(null, null)(FacilityLocatorMapLegend);","import { createSelector } from 'reselect';\r\n\r\nconst getPlansFilters = state => state.plansFilterReducer.get('plansFilters');\r\nconst getPlans = state => state.clubLocatorSectionReducer.get('plans');\r\n\r\nexport default createSelector(\r\n [\r\n getPlans,\r\n getPlansFilters\r\n ],\r\n (plansInitial, checkedPlans) => ({\r\n plansInitial, checkedPlans\r\n })\r\n);\r\n","const plansFilterResources = {\r\n filterPlansTitle: 'Select Health Programs'\r\n};\r\nexport default plansFilterResources;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport IconButton from '../../IconButton/IconButton';\r\n\r\nfunction SelectedPlan({ plan, onRemove }) {\r\n const removePlan = () => {\r\n onRemove(plan);\r\n };\r\n\r\n return (\r\n
  • \r\n \r\n {\r\n plan.programNames && plan.programNames.length > 0\r\n && !plan.programNames.filter(pn => pn.name && pn.name.length > 0).every(pn => pn.checked)\r\n ? `${plan.name} - ${plan.programNames.filter(pn => pn.checked && pn.name && pn.name.length > 0).map(pn => pn.name)\r\n .join(', ')}`\r\n : plan.name}\r\n
  • \r\n );\r\n}\r\n\r\n\r\nSelectedPlan.propTypes = {\r\n plan: PropTypes.object.isRequired,\r\n onRemove: PropTypes.func.isRequired\r\n};\r\n\r\nexport default SelectedPlan;","import React, { useEffect, useState } from 'react';\r\nimport './_plans-filter.scss';\r\nimport { connect } from 'react-redux';\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport selectors from './plansFilterSelectors';\r\nimport { setPlansFilters } from './plansFilterActions';\r\nimport resources from '../../features/Shared/resources';\r\nimport plansFilterResources from './plansFilterResources';\r\nimport { Checkbox, FormControlLabel } from '@material-ui/core';\r\nimport SelectedPlan from './SelectedPlan/SelectedPlan';\r\nimport MuiButton from '../controls/MuiButton';\r\n\r\nfunction PlansFilter({\r\n plansInitial,\r\n onFilterChange,\r\n showFilter,\r\n checkedPlans,\r\n setPlansFilters,\r\n showSelected,\r\n isListView,\r\n searchInputId,\r\n listBoxId,\r\n plansFilterId }) {\r\n const classPrefix = 'filter-box';\r\n const [plans, setPlans] = useState([]);\r\n const [showMore, setShowMore] = useState(false);\r\n\r\n useEffect(() => {\r\n if (!checkedPlans || checkedPlans.size === 0) {\r\n setPlansFilters(plansInitial ? plansInitial.toJS() : []);\r\n }\r\n }, [plansInitial]);\r\n\r\n useEffect(() => {\r\n setPlans(checkedPlans && checkedPlans.size > 0 ? checkedPlans.toJS() : []);\r\n }, [checkedPlans]);\r\n\r\n const toggleCheckboxValue = (id) => {\r\n const updatedList = plans.map((plan) => {\r\n if (plan.id !== id) {\r\n return plan;\r\n }\r\n const updatedProgramNames = !plan.checked\r\n // to identify parent checked intention, set virtually unckecked children, UI control should be shown as expected\r\n ? plan.programNames.map(program => ({ ...program, checked: false }))\r\n : plan.programNames;\r\n return { ...plan, programNames: updatedProgramNames, checked: !plan.checked };\r\n });\r\n\r\n setPlans(updatedList);\r\n return updatedList;\r\n };\r\n\r\n const toggleChildCheckboxValue = (id, subId) => {\r\n const updatedList = plans.map((plan) => {\r\n if (plan.id !== id) {\r\n return plan;\r\n }\r\n\r\n const programName = plan.programNames.find(program => program.id === subId);\r\n // to identify children checked intention, set virtually unckecked parent, UI control should be shown as expected\r\n if (programName && !programName.checked && plan.checked) {\r\n return {\r\n ...plan,\r\n programNames: plan.programNames.map(program => ({ ...program, checked: program.id !== subId })),\r\n checked: false\r\n };\r\n }\r\n const updatedProgramNames = plan.programNames\r\n .map(program => (program.id === subId ? { ...program, checked: !program.checked } : program));\r\n const newPlanChecked = plan.checked || (updatedProgramNames && updatedProgramNames.every(program => program.checked));\r\n return {\r\n ...plan,\r\n // to identify parent checked intention as all children are checked, UI control should be shown as expected\r\n programNames: updatedProgramNames.map(program => (newPlanChecked ? { ...program, checked: false } : program)),\r\n checked: newPlanChecked\r\n };\r\n });\r\n\r\n setPlans(updatedList);\r\n return updatedList;\r\n };\r\n\r\n const resetFilter = () => {\r\n const plansReset = plansInitial ? plansInitial.toJS() : [];\r\n setPlansFilters(plansReset);\r\n if (onFilterChange) {\r\n onFilterChange(plansReset);\r\n }\r\n };\r\n\r\n const applyFilter = () => {\r\n setPlansFilters(plans);\r\n if (onFilterChange) {\r\n onFilterChange(plans);\r\n }\r\n };\r\n\r\n const removeItem = (plan) => {\r\n let newPlans;\r\n\r\n if (plan.programNames) {\r\n const ids = plan.programNames.filter(program => program.checked).map(program => program.id);\r\n ids.forEach((program) => {\r\n newPlans = toggleChildCheckboxValue(plan.id, program);\r\n });\r\n }\r\n newPlans = toggleCheckboxValue(plan.id);\r\n\r\n setPlansFilters(newPlans);\r\n if (onFilterChange) {\r\n onFilterChange(newPlans);\r\n }\r\n };\r\n\r\n const toggleShowMore = () => {\r\n setShowMore(!showMore);\r\n };\r\n\r\n const morePlans = () => plans && plans.filter(plan => plan.checked\r\n || (plan.programNames && plan.programNames.some(program => program.checked))).length > 3;\r\n\r\n const filtersHasChanged =\r\n (plans && plans.some(plan => plan.checked\r\n || (plan.programNames && plan.programNames.some(program => program.checked)))\r\n ) || (checkedPlans\r\n && checkedPlans.toJS().some(plan => plan.checked\r\n || (plan.programNames && plan.programNames.some(program => program.checked))));\r\n\r\n return <>\r\n {showFilter &&
    \r\n
    ${plans ? `${plans.length} results found` : 'No results found'}
    \r\n
    \r\n

    \r\n {`${plansFilterResources.filterPlansTitle} (${plans ? plans.length : 0})`}\r\n

    \r\n
    \r\n
      \r\n
      \r\n Select Health Programs\r\n {plans && plans.filter(plan => plan.name).map(plan => (\r\n
    • \r\n 0\r\n && plan.programNames.every(program => program.checked))\r\n }\r\n size=\"medium\"\r\n onChange={() => toggleCheckboxValue(plan.id)}\r\n indeterminate={plan.programNames && plan.programNames.length > 0\r\n && plan.programNames.some(program => program.checked)\r\n && plan.programNames.some(program => !program.checked)}\r\n />\r\n }\r\n label={plan.name}\r\n />\r\n
      \r\n {plan.name}\r\n {plan.programNames && plan.programNames.some(programName => programName.name)\r\n &&
        \r\n {plan.programNames.filter(programName => programName.name).map(programName => (\r\n
      • \r\n toggleChildCheckboxValue(plan.id, programName.id)}\r\n label={programName.name}\r\n />\r\n }\r\n label={programName.name}\r\n />\r\n
      • \r\n ))}\r\n
      }\r\n
      \r\n
    • \r\n )\r\n )}\r\n
      \r\n
    \r\n
    \r\n
    \r\n \r\n {resources.applyButtonText}\r\n \r\n
    \r\n
    \r\n <>\r\n
    \r\n
    \r\n \r\n {resources.resetButtonText}\r\n \r\n
    \r\n
    \r\n
    }\r\n {\r\n showSelected && !showFilter\r\n && checkedPlans && checkedPlans.size > 0\r\n && checkedPlans.toJS().some(plan => plan.checked || (plan.programNames && plan.programNames.some(program => program.checked)))\r\n &&
    \r\n
      \r\n {\r\n checkedPlans.toJS().filter(plan => plan.checked || (plan.programNames && plan.programNames.some(program => program.checked)))\r\n .slice(0, morePlans() && !showMore ? 3 : plans.length)\r\n .map(plan =>\r\n \r\n )\r\n }\r\n {morePlans()\r\n &&
    • \r\n {showMore ? resources.showLessButtonText : resources.showMoreButtonText}\r\n
    • }\r\n
    \r\n \r\n
    \r\n }\r\n ;\r\n}\r\n\r\nPlansFilter.propTypes = {\r\n plansInitial: PropTypes.object,\r\n checkedPlans: PropTypes.object,\r\n onFilterChange: PropTypes.func,\r\n showFilter: PropTypes.bool.isRequired,\r\n setPlansFilters: PropTypes.func.isRequired,\r\n showSelected: PropTypes.bool,\r\n isListView: PropTypes.bool,\r\n searchInputId: PropTypes.string,\r\n listBoxId: PropTypes.string,\r\n plansFilterId: PropTypes.string,\r\n};\r\n\r\nconst actions = {\r\n setPlansFilters\r\n};\r\n\r\nexport default connect(selectors, actions)(PlansFilter);\r\n","import * as types from './plansFilterTypes';\r\n\r\nconst setPlansFiltersAction = plansFilters => ({\r\n type: types.SET_PLANS_FILTERS,\r\n plansFilters\r\n});\r\n\r\nexport const setPlansFilters = plansFilters => (dispatch) => {\r\n dispatch(setPlansFiltersAction(plansFilters));\r\n};\r\n","import React, { useState, useEffect, useRef } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { PropTypes } from 'prop-types';\r\nimport { facilityLocationTypeNamesMap, facilityLocationTypeColorsMap } from '../../../../../../enums/facilityLocationTypes';\r\nimport BulletCaption from '../../../../../../components/BulletCaption/BulletCaption';\r\nimport SearchBox from '../../../../../../components/SearchBox/SearchBox';\r\nimport FacilityDetailedInfoPanel from '../FacilityDetailedInfoPanel/FacilityDetailedInfoPanel';\r\nimport { toggleSelectedFacility, toggleListView } from '../facilityLocatorMapActions';\r\nimport IconButton from '../../../../../../components/IconButton/IconButton';\r\nimport MaterialIcon from '../../../../../../components/MaterialIcon/MaterialIcon';\r\nimport classNames from 'classnames';\r\nimport FacilityLocatorMapLegend from '../FacilityLocatorMapLegend/FacilityLocatorMapLegend';\r\nimport facilityLocatorResources from '../../facilityLocatorResources';\r\nimport ToolTip from '../../../../../../components/controls/ToolTip';\r\nimport { GEOMETRY } from '../../../../../../constants/googleMapsAutocompleteFields';\r\nimport { USA } from '../../../../../../constants/abbreviations';\r\nimport SharedResources from '../../../../../Shared/resources';\r\nimport PlansFilter from '../../../../../../components/PlansFilter/PlansFilter';\r\n\r\nfunction FacilitiesInMapPanel({\r\n facilities,\r\n map,\r\n mapApi,\r\n selectedFacility,\r\n history,\r\n toggleSelectedFacility,\r\n isEnrollButtonVisible,\r\n isListView,\r\n toggleListView,\r\n showFilter\r\n}) {\r\n const [isActive, setIsActive] = useState(false);\r\n const searchInputRef = useRef(null);\r\n const controlClass = 'active no-click';\r\n const inputTypeClass = 'btn_new btn_new--white btn-group-primary';\r\n const defaultToggleBtnClassName = 'facility-locator__facilities-panel-wrapper_toggle-btn';\r\n const defaultIconBtnClassName = 'facility-locator__chevron_icon-button';\r\n const [showFilterPanel, setShowFilterPanel] = useState(false);\r\n const [hasFilterSelection, setHasFilterSelection] = useState(false);\r\n const searchInputId = 'mapPanelSearchInputBoxId';\r\n const listBoxId = 'searchListBoxId';\r\n const plansFilterId = 'plansFilterId';\r\n const [isExpanded, setIsExpanded] = useState(false);\r\n const [searchResultsCount, setSearchResultsCount] = useState(0);\r\n const facilitiesPanelId = 'facilitiesPanel';\r\n\r\n useEffect(() => {\r\n const googleAutoCompleteOptions = {\r\n fields: [GEOMETRY],\r\n componentRestrictions: { country: [USA] },\r\n };\r\n\r\n const autoComplete = new mapApi.places.Autocomplete(\r\n searchInputRef.current,\r\n googleAutoCompleteOptions,\r\n );\r\n\r\n const setPlace = (place) => {\r\n if (place.geometry.viewport) {\r\n map.fitBounds(place.geometry.viewport);\r\n } else {\r\n map.setCenter(place.geometry.location);\r\n map.setZoom(17);\r\n }\r\n };\r\n\r\n const autocompleteService = new mapApi.places.AutocompleteService();\r\n const placeService = new mapApi.places.PlacesService(map);\r\n\r\n const onPlaceChanged = () => {\r\n setIsExpanded(false);\r\n const place = autoComplete.getPlace();\r\n\r\n if (!place.geometry) {\r\n const predictionList = document.getElementsByClassName('pac-item');\r\n if (predictionList && predictionList.length > 0) {\r\n const firstElement = predictionList[0].textContent;\r\n autocompleteService.getPlacePredictions({ input: firstElement, componentRestrictions: { country: [USA] } }, (predictions) => {\r\n if (predictions && predictions.length > 0) {\r\n placeService.getDetails({ placeId: predictions[0].place_id }, (placeFound, status) => {\r\n if (status === 'OK') {\r\n searchInputRef.current.value = predictions[0].description;\r\n setPlace(placeFound);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n }\r\n else {\r\n setPlace(place);\r\n }\r\n\r\n searchInputRef.current.blur();\r\n };\r\n autoComplete.addListener('place_changed', onPlaceChanged);\r\n autoComplete.bindTo('bounds', map);\r\n //the code below handles expanded autocomplete menu state to pass it to the aria-expanded attribute\r\n const inputListener = searchInputRef.current.addEventListener('input', (e) => {\r\n setIsExpanded(true);\r\n });\r\n const focusListener = searchInputRef.current.addEventListener('focus', (e) => {\r\n const pacItems = document.querySelectorAll('.pac-item');\r\n if (pacItems.length > 0 && e.target.value.trim() !== '') {\r\n setIsExpanded(true);\r\n }\r\n });\r\n const blurListener = searchInputRef.current.addEventListener('blur', () => {\r\n setIsExpanded(false);\r\n });\r\n\r\n return () => {\r\n searchInputRef.current.removeEventListener('input', inputListener);\r\n searchInputRef.current.removeEventListener('focus', focusListener);\r\n searchInputRef.current.removeEventListener('blur', blurListener);\r\n };\r\n }, [searchInputRef]);\r\n\r\n const [activeDescendant, setActiveDescendant] = useState('');\r\n //the useEffect code below is responsible for getting the right value for the aria-activedescendant attribute\r\n //it also adds some additional accessibility attributes to the Google elements.\r\n useEffect(() => {\r\n const pacItemObserver = new MutationObserver((mutationsList) => {\r\n mutationsList.forEach((mutation) => {\r\n if (mutation.type === 'attributes' && mutation.attributeName === 'class') {\r\n if (mutation.target.classList.contains('pac-item-selected')) {\r\n setActiveDescendant(mutation.target.id);\r\n }\r\n else {\r\n setActiveDescendant('');\r\n }\r\n }\r\n });\r\n });\r\n\r\n const pacContainerObserver = new MutationObserver(() => {\r\n const pacItems = document.querySelectorAll('.pac-item');\r\n setSearchResultsCount(pacItems.length);\r\n pacItems.forEach((item, index) => {\r\n item.setAttribute('id', `pac-item-${index}`);\r\n item.setAttribute('role', 'option');\r\n pacItemObserver.observe(item, { attributes: true });\r\n });\r\n });\r\n\r\n const pacContainer = document.querySelector('.pac-container');\r\n if (pacContainer) {\r\n pacContainer.setAttribute('id', listBoxId);\r\n pacContainer.setAttribute('role', 'listbox');\r\n pacContainer.setAttribute('aria-labelledby', `label_${searchInputId}`);\r\n pacContainerObserver.observe(pacContainer, {\r\n childList: true,\r\n subtree: true,\r\n });\r\n }\r\n\r\n return () => {\r\n pacContainerObserver.disconnect();\r\n pacItemObserver.disconnect();\r\n };\r\n }, [facilities]);\r\n\r\n const handleShowFilterPanel = () => {\r\n setShowFilterPanel(!showFilterPanel);\r\n };\r\n\r\n const handleFilterChange = (items) => {\r\n setShowFilterPanel(false);\r\n setHasFilterSelection(\r\n items && items.length > 0\r\n && items.some(plan => plan.checked\r\n || (plan.programNames && plan.programNames.some(program => program.checked))\r\n )\r\n );\r\n };\r\n\r\n const selectedFacilityKeyDownHandler = (e, facilityId) => {\r\n if (e.key === 'Enter' || e.key === ' ') {\r\n e.preventDefault();\r\n toggleSelectedFacility(facilityId);\r\n }\r\n };\r\n\r\n\r\n return facilities &&
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n {map && mapApi &&\r\n }\r\n
    \r\n \r\n \r\n
    \r\n {showFilter &&\r\n \r\n }\r\n
    \r\n {selectedFacility &&\r\n \r\n } {!selectedFacility &&\r\n (facilities.length > 0 ?

    {`Found ${facilities.length} items`}

    :

    {facilityLocatorResources.noClubsInThisArea}

    )}\r\n
    \r\n
    \r\n {selectedFacility &&\r\n \r\n }\r\n {!selectedFacility &&\r\n
      \r\n {facilities.map((facility, i) => {\r\n return
    • \r\n
      toggleSelectedFacility(facility.id)} role=\"button\" aria-label=\"Club\" tabIndex={0}\r\n onKeyDown={e => selectedFacilityKeyDownHandler(e, facility.id)}\r\n >\r\n
      \r\n

      {facility.displayName}

      \r\n
      {facility.distanceToCenterForDisplay}
      \r\n
      \r\n \r\n
      {`${facility.address1} ${facility.city}, ${facility.state} ${facility.zipCode}`}
      \r\n
      {facility.contactNumber}
      \r\n
      \r\n
    • ;\r\n })}\r\n
    }\r\n {
    \r\n \r\n
    \r\n }\r\n
    \r\n
    ;\r\n}\r\n\r\nFacilitiesInMapPanel.propTypes = {\r\n facilities: PropTypes.arrayOf(PropTypes.object),\r\n selectedFacility: PropTypes.object,\r\n map: PropTypes.object.isRequired,\r\n mapApi: PropTypes.object.isRequired,\r\n toggleSelectedFacility: PropTypes.func.isRequired,\r\n isEnrollButtonVisible: PropTypes.bool.isRequired,\r\n toggleListView: PropTypes.func.isRequired,\r\n isListView: PropTypes.bool,\r\n showFilter: PropTypes.bool\r\n};\r\n\r\nconst actions = {\r\n toggleSelectedFacility,\r\n toggleListView\r\n};\r\n\r\nexport default connect(null, actions)(FacilitiesInMapPanel);\r\n","export const GEOMETRY = 'geometry';","export const GROUP_MEMBERSHIPS = 'GM';\r\nexport const USA = 'us';","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nfunction FacilityCluster({ pointCount, googleMap, clusterId, longitude, latitude, supercluster, facilitiesCount, clusterSize }) {\r\n const onClickCallback = () => {\r\n const expansionZoom = Math.min(supercluster.getClusterExpansionZoom(clusterId), 20);\r\n if (googleMap) {\r\n googleMap.setZoom(expansionZoom);\r\n googleMap.panTo({ lat: latitude, lng: longitude });\r\n }\r\n };\r\n clusterSize = clusterSize + (pointCount / facilitiesCount) * 100;\r\n\r\n return <>\r\n \r\n {pointCount}\r\n \r\n ;\r\n}\r\n\r\nFacilityCluster.propTypes = {\r\n pointCount: PropTypes.number.isRequired,\r\n googleMap: PropTypes.object,\r\n clusterId: PropTypes.number.isRequired,\r\n latitude: PropTypes.number.isRequired,\r\n longitude: PropTypes.number.isRequired,\r\n supercluster: PropTypes.object.isRequired,\r\n facilitiesCount: PropTypes.number.isRequired,\r\n clusterSize: PropTypes.number.isRequired\r\n};\r\n\r\nexport default FacilityCluster;","import React, { useEffect, useState, useMemo } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport GoogleMapReact from 'google-map-react';\r\nimport PropTypes from 'prop-types';\r\nimport {\r\n showGeolocationIsNotSupportedAlert,\r\n toggleSelectedFacility,\r\n setFacilitiesInMapBounds,\r\n setFacilities\r\n} from './facilityLocatorMapActions';\r\nimport MaterialIcon from '../../../../../components/MaterialIcon/MaterialIcon';\r\nimport FacilityPin from './FacilityPin/FacilityPin';\r\nimport selectors from './facilityLocatorMapSelectors';\r\nimport FacilitiesInMapPanel from './FacilitiesInMapPanel/FacilitiesInMapPanel';\r\nimport './_facility-locator-map.scss';\r\nimport useSupercluster from 'react-supercluster';\r\nimport FacilityCluster from './FacilityCluster/FacilityCluster';\r\nimport classNames from 'classnames';\r\n\r\nfunction FacilityLocatorMap({\r\n showGeolocationIsNotSupportedAlert,\r\n facilitiesInitial,\r\n history,\r\n toggleSelectedFacility,\r\n selectedFacility,\r\n setFacilitiesInMapBounds,\r\n facilitiesInMapBounds,\r\n isEnrollButtonVisible,\r\n maxClusterZoom,\r\n clusterRadius,\r\n clusterSize,\r\n isListView,\r\n facilities,\r\n setFacilities,\r\n checkedPlans,\r\n showFilter\r\n}) {\r\n const defaultProps = {\r\n zoom: 4,\r\n // Center of USA\r\n center: {\r\n lat: 39.8097343,\r\n lng: -98.5556199,\r\n }\r\n };\r\n const onGoogleApiLoadedCallback = (apiLoadedParams) => {\r\n setGoogleMap(apiLoadedParams.map);\r\n setGoogleMapApi(apiLoadedParams.maps);\r\n };\r\n const onChildClickCallback = (facilityIndex) => {\r\n toggleSelectedFacility(parseInt(facilityIndex));\r\n };\r\n const onChangeCallback = ({ zoom, bounds }) => {\r\n setZoom(zoom);\r\n setBounds([\r\n bounds.nw.lng,\r\n bounds.se.lat,\r\n bounds.se.lng,\r\n bounds.nw.lat\r\n ]);\r\n };\r\n const Marker = ({ children }) => children;\r\n const [googleMap, setGoogleMap] = useState(undefined);\r\n const [googleMapApi, setGoogleMapApi] = useState(undefined);\r\n const [resetLocationIsVisible, setResetLocationIsVisible] = useState(false);\r\n const [bounds, setBounds] = useState(null);\r\n const [zoom, setZoom] = useState(4);\r\n\r\n const points = useMemo(() => {\r\n return facilitiesInitial.toJS()\r\n .map(facility => ({\r\n type: 'Feature',\r\n properties: {\r\n cluster: false,\r\n facility\r\n },\r\n geometry: {\r\n type: 'Point',\r\n coordinates: [\r\n facility.longitude,\r\n facility.latitude\r\n ]\r\n }\r\n }));\r\n }, [facilitiesInitial]);\r\n const { clusters, supercluster } = useSupercluster({\r\n points,\r\n bounds,\r\n zoom,\r\n options: { radius: clusterRadius, maxZoom: maxClusterZoom }\r\n });\r\n const resetLocation = () => {\r\n if (googleMap && navigator.geolocation) {\r\n navigator.geolocation.getCurrentPosition(\r\n (position) => {\r\n setResetLocationIsVisible(true);\r\n googleMap.setCenter({\r\n lat: position.coords.latitude,\r\n lng: position.coords.longitude,\r\n });\r\n googleMap.setZoom(11);\r\n },\r\n (error) => {\r\n setResetLocationIsVisible(error.code !== 1);// User denied Geolocation\r\n }\r\n );\r\n } else {\r\n showGeolocationIsNotSupportedAlert();\r\n }\r\n };\r\n\r\n // affects distance of triggering marker events such as click, hover, etc\r\n const distanceToMouse = (markerPos, mousePos) => {\r\n const x = markerPos.x;\r\n const y = markerPos.y - 30;\r\n\r\n return Math.sqrt((x - mousePos.x) * (x - mousePos.x) + (y - mousePos.y) * (y - mousePos.y));\r\n };\r\n\r\n const refreshSearchResultsPanel = () => {\r\n if (googleMap) {\r\n setFacilitiesInMapBounds(googleMap, maxClusterZoom);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (googleMap) {\r\n resetLocation();\r\n googleMap.addListener('idle', refreshSearchResultsPanel);\r\n }\r\n }, [googleMap]);\r\n\r\n useEffect(() => {\r\n if (googleMap && selectedFacility) {\r\n const facility = selectedFacility.toJS();\r\n googleMap.panTo({ lat: facility.latitude, lng: facility.longitude });\r\n }\r\n }, [googleMap, selectedFacility]);\r\n\r\n useEffect(() => {\r\n setFacilities(facilitiesInitial);\r\n refreshSearchResultsPanel();\r\n }, [facilitiesInitial]);\r\n\r\n useEffect(() => {\r\n refreshSearchResultsPanel();\r\n }, [checkedPlans]);\r\n\r\n return
    \r\n {\r\n googleMap && googleMapApi &&\r\n \r\n }\r\n {resetLocationIsVisible && }\r\n
    \r\n \r\n {clusters && clusters.map((cluster) => {\r\n const [longitude, latitude] = cluster.geometry.coordinates;\r\n const {\r\n cluster: isCluster,\r\n point_count: pointCount,\r\n facility\r\n } = cluster.properties;\r\n\r\n if (isCluster) {\r\n return (\r\n \r\n \r\n \r\n );\r\n }\r\n return (\r\n \r\n );\r\n })}\r\n \r\n
    \r\n
    ;\r\n}\r\n\r\nFacilityLocatorMap.propTypes = {\r\n showGeolocationIsNotSupportedAlert: PropTypes.func.isRequired,\r\n toggleSelectedFacility: PropTypes.func.isRequired,\r\n setFacilitiesInMapBounds: PropTypes.func.isRequired,\r\n facilitiesInitial: PropTypes.object,\r\n facilitiesInMapBounds: PropTypes.object,\r\n history: PropTypes.object.isRequired,\r\n selectedFacility: PropTypes.object,\r\n isEnrollButtonVisible: PropTypes.bool.isRequired,\r\n maxClusterZoom: PropTypes.number.isRequired,\r\n clusterSize: PropTypes.number.isRequired,\r\n clusterRadius: PropTypes.number.isRequired,\r\n isListView: PropTypes.bool,\r\n setFacilities: PropTypes.func.isRequired,\r\n facilities: PropTypes.object,\r\n checkedPlans: PropTypes.object,\r\n showFilter: PropTypes.bool\r\n};\r\n\r\nconst actions = {\r\n showGeolocationIsNotSupportedAlert,\r\n toggleSelectedFacility,\r\n setFacilitiesInMapBounds,\r\n setFacilities\r\n};\r\n\r\nexport default connect(selectors, actions)(FacilityLocatorMap);","import http from '../../../../http/base';\r\nimport { API_PATHS } from '../../../../http/configs';\r\n\r\nexport default {\r\n getFacilitiesForMap: () => http.get(API_PATHS.getFacilitiesForMap)\r\n};","import { createSelector } from 'reselect';\r\nimport { GET_FACILITIES_FOR_MAP } from './facilityLocatorTypes';\r\n\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i => i === GET_FACILITIES_FOR_MAP\r\n ).size;\r\n return size > 0;\r\n};\r\n\r\nconst getFacilities = state => state.facilityLocatorReducer.get('facilities');\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n getFacilities\r\n ],\r\n (isLoading, facilities) => ({\r\n isLoading,\r\n facilities\r\n })\r\n);\r\n","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport Spinner from '../../../../components/Spinner/Spinner';\r\nimport routes from '../../../../routing/routes';\r\nimport FacilityLocatorMap from './FacilityLocatorMap/FacilityLocatorMap';\r\nimport { getFacilitiesForMap } from './facilityLocatorActions';\r\nimport selectors from './facilityLocatorSelectors';\r\nimport IconButton from '../../../../components/IconButton/IconButton';\r\nimport facilityLocatorResources from './facilityLocatorResources';\r\nimport './_facility-locator.scss';\r\nimport FacilityLocatorMapLegend from './FacilityLocatorMap/FacilityLocatorMapLegend/FacilityLocatorMapLegend';\r\n\r\nfunction FacilityLocator({ isLoading, getFacilitiesForMap, facilities, history }) {\r\n useEffect(() => {\r\n getFacilitiesForMap();\r\n }, []);\r\n return isLoading\r\n ? \r\n : (
    \r\n
    \r\n { history.push(routes.memberDashboardHome.path); }} text={facilityLocatorResources.labelBack}\r\n icon={'arrow_back'}\r\n />\r\n

    {facilityLocatorResources.headerLocator}

    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    );\r\n}\r\n\r\nFacilityLocator.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n getFacilitiesForMap: PropTypes.func.isRequired,\r\n facilities: PropTypes.object,\r\n history: PropTypes.object.isRequired\r\n};\r\n\r\nconst actions = {\r\n getFacilitiesForMap\r\n};\r\n\r\nexport default connect(selectors, actions)(FacilityLocator);","import * as types from './facilityLocatorTypes';\r\nimport FacilityLocatorService from './facilityLocatorService';\r\nimport * as loadingActions from '../../../Loading/loadingActions';\r\n\r\nconst setFacilitiesForMap = facilities => ({\r\n type: types.SET_FACILITIES_FOR_MAP,\r\n facilities\r\n});\r\n\r\nexport const getFacilitiesForMap = () => (dispatch, getState) => {\r\n dispatch(loadingActions.setLoading(types.GET_FACILITIES_FOR_MAP));\r\n FacilityLocatorService.getFacilitiesForMap()\r\n .then((facilities) => {\r\n dispatch(setFacilitiesForMap(facilities));\r\n })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.GET_FACILITIES_FOR_MAP)));\r\n};","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport guid from '../../utilities/guid';\r\n\r\nconst InputRadio = ({ label, id, disabled, ...props }) => {\r\n const controlClass = 'c-control';\r\n const inputTypeClass = 'c-radio';\r\n const uniqueId = `id_${guid()}`;\r\n\r\n return (\r\n
    \r\n \r\n \r\n
    \r\n );\r\n};\r\n\r\nInputRadio.propTypes = {\r\n id: PropTypes.string.isRequired,\r\n checked: PropTypes.bool.isRequired,\r\n value: PropTypes.string.isRequired,\r\n onChange: PropTypes.func\r\n};\r\n\r\nexport default InputRadio;","import React, { useMemo } from 'react';\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport InputRadio from './InputRadio';\r\nimport './_radio-group.scss';\r\n\r\nconst RadioGroup = ({ value, meta = {}, input = {}, options, label, inline, ...props }) => {\r\n const computedValue = useMemo(() => {\r\n if (input.value) return input.value.toString();\r\n if (value) return value.toString();\r\n return value;\r\n }, [value, input.value]);\r\n return (\r\n
    \r\n {label && }\r\n
    \r\n {\r\n options.map(option =>\r\n \r\n )\r\n }\r\n
    \r\n {\r\n meta.submitFailed && meta.error &&\r\n
    \r\n {meta.error}\r\n
    \r\n }\r\n
    \r\n );\r\n};\r\n\r\nRadioGroup.propTypes = {\r\n label: PropTypes.string,\r\n value: PropTypes.string,\r\n options: PropTypes.arrayOf(PropTypes.shape({\r\n id: PropTypes.string.isRequired,\r\n value: PropTypes.string,\r\n label: PropTypes.string.isRequired\r\n })),\r\n inline: PropTypes.bool,\r\n input: PropTypes.object,\r\n meta: PropTypes.object\r\n};\r\n\r\nexport default RadioGroup;\r\n","import { createSelector } from 'reselect';\r\nimport { GET_FACILITIES } from './types';\r\nimport { ENROLL_MEMBER_IN_FACILITTY } from '../FacilityEnrollmentPage/facilityEnrollmentPageTypes';\r\n\r\nexport const getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === ENROLL_MEMBER_IN_FACILITTY || i === GET_FACILITIES)\r\n .size;\r\n return size > 0;\r\n};\r\n\r\nexport function getFacilities(state) {\r\n return state.memberProfileFacilityInfo.get('facilities');\r\n}\r\nexport const getSelectedMemberGroup = state => state.app.get('selectedMemberGroup');\r\n\r\nexport const getMemberHasFacilityEnrollments = createSelector(\r\n [getFacilities],\r\n (facilities) => {\r\n return facilities && facilities.size !== 0;\r\n }\r\n);\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n getFacilities,\r\n getSelectedMemberGroup,\r\n getMemberHasFacilityEnrollments\r\n ],\r\n (\r\n isLoading,\r\n facilities,\r\n selectedMemberGroup,\r\n memberHasFacilityEnrollments\r\n ) => ({\r\n isLoading,\r\n facilities,\r\n selectedMemberGroup,\r\n memberHasFacilityEnrollments\r\n })\r\n);","export const ENROLL_MEMBER_IN_FACILITTY = 'ENROLL_MEMBER_IN_FACILITTY';\r\n","import { GET_FACILITIES, RENDER_FACILITIES } from './types';\r\nimport * as loadingActions from '../../../Loading/loadingActions';\r\n\r\nconst renderFacilities = facilities => ({\r\n type: RENDER_FACILITIES,\r\n payload: { facilities }\r\n});\r\n\r\nconst loadFacilities = membersIds => (\r\n dispatch,\r\n getState,\r\n { FacilityInfoService }\r\n) => {\r\n dispatch(loadingActions.setLoading(GET_FACILITIES));\r\n FacilityInfoService.getFacilityInfo(membersIds)\r\n .then((facilities) => {\r\n dispatch(renderFacilities(facilities));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(GET_FACILITIES));\r\n });\r\n};\r\n\r\nexport default {\r\n renderFacilities,\r\n loadFacilities\r\n};\r\n","const facilitiesSectionResources = {\r\n findFacilityButtonText: 'Find Facility'\r\n};\r\nexport default facilitiesSectionResources;\r\n","import React, { Component } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { NavLink } from 'react-router-dom';\r\nimport { List } from 'immutable';\r\nimport { connect } from 'react-redux';\r\nimport RadioGroup from '../../../../components/controls/RadioGroup';\r\nimport CardInfo from '../../../../components/CardInfo/CardInfo';\r\nimport InfoBox from '../../../../components/InfoBox/InfoBox';\r\nimport InfoBoxRow from '../../../../components/InfoBox/InfoBoxRow';\r\nimport Spinner from '../../../../components/Spinner/Spinner';\r\nimport Button from '../../../../components/controls/Button';\r\nimport withMemberGroup from '../../../../hoc/withMemberGroup';\r\nimport selectors from './selectors';\r\nimport actions from './actions';\r\nimport routes from '../../../../routing/routes';\r\nimport facilitiesSectionResources from './FacilitiesSectionResources';\r\nimport preferredAccessTypes from '../../../../enums/preferredAccessTypes';\r\n\r\nclass FacilitiesSection extends Component {\r\n render() {\r\n const { isLoading, facilities, history, memberHasFacilityEnrollments } = this.props;\r\n return isLoading\r\n ? \r\n :
    \r\n
    \r\n {\r\n facilities.size > 0\r\n ? facilities.map((facility, i) => (\r\n
    \r\n \r\n
    \r\n \r\n {\r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n }\r\n
    \r\n
    \r\n\r\n
    \r\n \r\n {\r\n
    \r\n {\r\n facility.get('preferredAccessType') === preferredAccessTypes.physicalKey &&\r\n \r\n }\r\n \r\n \r\n \r\n }\r\n />\r\n
    \r\n }\r\n
    \r\n
    \r\n\r\n
    \r\n \r\n {\r\n
    \r\n \r\n \r\n
    \r\n }\r\n
    \r\n
    \r\n\r\n
    \r\n \r\n {facility.get('memberRelatedPlanAndProgramNames').map((name, index) => (\r\n \r\n {name}\r\n \r\n ))}\r\n \r\n
    \r\n
    \r\n
    \r\n ))\r\n : 'Here you will see an information about the facilities you were registered in.'\r\n }\r\n
    \r\n {\r\n memberHasFacilityEnrollments\r\n ? <>\r\n :
    \r\n \r\n
    \r\n }\r\n
    ;\r\n }\r\n}\r\n\r\nFacilitiesSection.propTypes = {\r\n history: PropTypes.object.isRequired,\r\n selectedMemberGroup: PropTypes.shape({\r\n fullName: PropTypes.string,\r\n }),\r\n loadFacilities: PropTypes.func,\r\n isLoading: PropTypes.bool,\r\n facilities: PropTypes.instanceOf(List),\r\n allMemberGroups: PropTypes.array,\r\n memberHasFacilityEnrollments: PropTypes.bool.isRequired\r\n};\r\n\r\nconst withMemberGroupObserved = withMemberGroup({\r\n actionName: 'loadFacilities',\r\n})(FacilitiesSection);\r\n\r\nexport default connect(\r\n selectors,\r\n actions\r\n)(withMemberGroupObserved);\r\n","import { createSelector } from 'reselect';\r\nimport { ENROLL_MEMBER_IN_FACILITTY } from './facilityEnrollmentPageTypes';\r\n\r\nconst getMemberFacilityEnrollmentIsInProgress = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === ENROLL_MEMBER_IN_FACILITTY)\r\n .size;\r\n return size > 0;\r\n};\r\nconst getSelectedMemberGroup = state => state.app.get('selectedMemberGroup');\r\nconst getFacility = state => state.facilityReducer.get('facility');\r\n\r\nconst membersIds = createSelector(\r\n [getSelectedMemberGroup],\r\n (selectedMemberGroup) =>\r\n {\r\n return selectedMemberGroup.membersIds;\r\n });\r\n\r\nconst getFacilityDescription = createSelector(\r\n [getFacility],\r\n (facility) =>\r\n {\r\n return facility.get('description');\r\n });\r\n\r\nconst getFacilityId = createSelector(\r\n [getFacility],\r\n (facility) =>\r\n {\r\n return facility.get('id');\r\n });\r\n\r\nconst getFacilityAFNumber = createSelector(\r\n [getFacility],\r\n (facility) => {\r\n return facility.get('afNumber');\r\n }\r\n);\r\n\r\nconst isLoading = createSelector(\r\n [ getMemberFacilityEnrollmentIsInProgress,\r\n getFacilityDescription,\r\n getFacilityAFNumber\r\n ],\r\n (\r\n memberFacilityEnrollmentIsInProgress,\r\n facilityDescription,\r\n facilityAFNumber\r\n ) => (\r\n memberFacilityEnrollmentIsInProgress || !facilityDescription || !facilityAFNumber\r\n ));\r\n\r\nexport default createSelector(\r\n [\r\n isLoading,\r\n getFacilityDescription,\r\n getFacilityId,\r\n membersIds,\r\n getFacilityAFNumber\r\n ],\r\n (\r\n isLoading,\r\n facilityDescription,\r\n facilityId,\r\n membersIds,\r\n facilityAFNumber\r\n ) => (\r\n {\r\n isLoading,\r\n facilityDescription,\r\n facilityId,\r\n membersIds,\r\n facilityAFNumber\r\n }));\r\n\r\n","import * as loadingActions from '../Loading/loadingActions';\r\nimport * as types from './facilityTypes';\r\nimport * as facilityService from './facilityService';\r\n\r\nconst setFacilities = (facilities) => {\r\n return { type: types.SET_FACILITIES, facilities };\r\n};\r\n\r\nconst setFacility = (facility) => {\r\n return { type: types.SET_FACILITY, facility };\r\n};\r\n\r\nexport function getFacilitiesByProgramType(programTypeId) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_FACILITIES));\r\n return facilityService\r\n .getFacilitiesByProgramType(programTypeId)\r\n .then((facilities) => {\r\n dispatch(setFacilities(facilities));\r\n })\r\n .finally(() =>\r\n dispatch(loadingActions.unsetLoading(types.GET_FACILITIES))\r\n );\r\n };\r\n}\r\n\r\nexport function getFacility(facilityId) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_FACILITY));\r\n return facilityService\r\n .getFacility(facilityId)\r\n .then(facility =>\r\n dispatch(setFacility(facility))\r\n )\r\n .finally(() =>\r\n dispatch(loadingActions.unsetLoading(types.GET_FACILITY))\r\n );\r\n };\r\n}\r\n\r\nexport function getMemberFacility(memberGuid) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_FACILITY));\r\n return facilityService\r\n .getMemberFacility(memberGuid)\r\n .then(facility =>\r\n dispatch(setFacility(facility))\r\n )\r\n .finally(() =>\r\n dispatch(loadingActions.unsetLoading(types.GET_FACILITY))\r\n );\r\n };\r\n}","import http from '../../http/base';\r\nimport { API_PATHS } from '../../http/configs';\r\n\r\nexport function getFacilitiesByProgramType(programTypeId)\r\n{\r\n return http.get(API_PATHS.listFacilities, { params: { programTypeId } });\r\n}\r\nexport function getFacility(facilityId)\r\n{\r\n return http.get(API_PATHS.getFacility, { params: { facilityId } });\r\n}\r\nexport function getMemberFacility(memberGuid)\r\n{\r\n return http.get(API_PATHS.getMemberFacility, { params: { memberGuid } });\r\n}","const legalContractResources = {\r\n legalCotractTitleEnroll: 'Enroll',\r\n legalCotractTitleEnrolled: 'Enrolled',\r\n legalCotractTitleFormat: '{0} in {1}',\r\n legalContractTitleKeyfobStep: 'Key Fob',\r\n legalContractTitleDepositDetailsStep: 'Deposit Details',\r\n legalContractTitleWithdrawalDetailsStep: 'Withdrawal Details',\r\n legalContractTitleAgreementStep: 'Agreement',\r\n legalContractTitlePaymentDetailsStep: 'Payment Details',\r\n formNameLegalContract: 'legalcontract',\r\n depositToBankAccountModelName: 'depositToBankAccount',\r\n withdrawalFromBankAccountModelName: 'withdrawalFromBankAccount',\r\n linkButtonNextText: 'Next',\r\n linkButtonPrevious: 'Back',\r\n};\r\nexport default legalContractResources;","import { createSelector } from 'reselect';\r\nimport { GET_SIGNATURE_MEMBER_INFO } from './legalContractTypes';\r\nimport { GET_FACILITY } from '../../../Facilities/facilityTypes';\r\nimport legalContractResources from './legalContractResources';\r\nimport reimbursementTypes from '../../../../enums/reimbursementTypes';\r\n\r\nconst getDataLoadingIsInProgress = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === GET_SIGNATURE_MEMBER_INFO || i === GET_FACILITY)\r\n .size;\r\n return size > 0;\r\n};\r\n\r\nconst getFacility = state => state.facilityReducer.get('facility');\r\nconst getEnrollIntoAFFacilityWithinProgramViewModel = state => state.legalContractReducer.get('membersAFFacilityWithinProgramEnrollment');\r\n\r\nconst getFacilityDisplayName = createSelector(\r\n [getFacility],\r\n (facility) => {\r\n return facility.get('displayName');\r\n }\r\n);\r\n\r\nconst getFacilityFullAddress = createSelector(\r\n [getFacility],\r\n (facility) => {\r\n return facility.get('fullAddress');\r\n }\r\n);\r\n\r\nconst getDocumentAgreementVersion = createSelector(\r\n [getEnrollIntoAFFacilityWithinProgramViewModel],\r\n (enrollIntoAFFacilityWithinProgramViewModel) => {\r\n return enrollIntoAFFacilityWithinProgramViewModel.get('documentAgreementVersion');\r\n }\r\n);\r\n\r\nconst getProgramPaymentType = createSelector(\r\n [getEnrollIntoAFFacilityWithinProgramViewModel],\r\n (membersAFFacilityWithinProgramEnrollment) => {\r\n return membersAFFacilityWithinProgramEnrollment.get('programPaymentType');\r\n }\r\n);\r\n\r\nconst getMemberReimbursementTypeID = createSelector(\r\n [getEnrollIntoAFFacilityWithinProgramViewModel],\r\n (membersAFFacilityWithinProgramEnrollment) => {\r\n return membersAFFacilityWithinProgramEnrollment.get('memberReimbursementTypeID');\r\n }\r\n);\r\n\r\nconst getIsDepositInfoVisible = createSelector([getMemberReimbursementTypeID],\r\n memberReimbursementTypeID => memberReimbursementTypeID === reimbursementTypes.toMember);\r\n\r\nconst getPartnerID = createSelector([getEnrollIntoAFFacilityWithinProgramViewModel], enrollIntoAFFacilityWithinProgramViewModel => enrollIntoAFFacilityWithinProgramViewModel.get('partnerID'));\r\nconst getAgreementDate = createSelector([getEnrollIntoAFFacilityWithinProgramViewModel], enrollIntoAFFacilityWithinProgramViewModel => enrollIntoAFFacilityWithinProgramViewModel.get('date'));\r\n\r\nconst isLoading = createSelector(\r\n [\r\n getDataLoadingIsInProgress,\r\n getProgramPaymentType\r\n ],\r\n (\r\n dataLoadingIsInProgress,\r\n programPaymentType\r\n ) => (\r\n dataLoadingIsInProgress || programPaymentType === undefined\r\n ));\r\n\r\nconst getFormValues = state => state.form.getIn([legalContractResources.formNameLegalContract, 'values']);\r\n\r\nexport default createSelector(\r\n [\r\n isLoading,\r\n getEnrollIntoAFFacilityWithinProgramViewModel,\r\n getFacilityDisplayName,\r\n getFacilityFullAddress,\r\n getProgramPaymentType,\r\n getDocumentAgreementVersion,\r\n getFormValues,\r\n getPartnerID,\r\n getAgreementDate,\r\n getIsDepositInfoVisible\r\n ],\r\n (\r\n isLoading,\r\n membersAFFacilityWithinProgramEnrollment,\r\n facilityDisplayName,\r\n facilityFullAddress,\r\n programPaymentType,\r\n documentAgreementVersion,\r\n formValues,\r\n partnerID,\r\n agreementDate,\r\n isDepositInfoVisible\r\n ) => (\r\n {\r\n isLoading,\r\n membersAFFacilityWithinProgramEnrollment,\r\n facilityDisplayName,\r\n facilityFullAddress,\r\n programPaymentType,\r\n documentAgreementVersion,\r\n formValues,\r\n partnerID,\r\n agreementDate,\r\n isDepositInfoVisible\r\n }));\r\n\r\n","import * as loadingActions from '../../../Loading/loadingActions';\r\nimport * as legalContractService from './legalContractService';\r\nimport * as types from './legalContractTypes';\r\n\r\nconst getMemberLegalContractInfoSuccessAction = (signatureMemberInfo) => {\r\n return { type: types.GET_SIGNATURE_MEMBER_INFO_SUCCESS, signatureMemberInfo };\r\n};\r\n\r\nexport function getMemberLegalContractInfo(memberIdGuid) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_SIGNATURE_MEMBER_INFO));\r\n legalContractService.getMemberLegalContractInfo(memberIdGuid)\r\n .then((signatureMemberInfo) => {\r\n dispatch(getMemberLegalContractInfoSuccessAction(signatureMemberInfo));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_SIGNATURE_MEMBER_INFO));\r\n });\r\n };\r\n}","import http from '../../../../http/base';\r\nimport { API_PATHS } from '../../../../http/configs';\r\n\r\nexport function getMemberLegalContractInfo(memberIdGuid) {\r\n return http.get(API_PATHS.getMemberLegalContractInfo, { params: { memberIdGuid } });\r\n}\r\n\r\nexport function createMemberLegalContract(memberLegalContract) {\r\n return http.post(API_PATHS.resignMemberLegalContract, memberLegalContract);\r\n}","const legalContractFormResources = {\r\n labelKeyfob: 'Keyfob',\r\n labelIsMemberAgreed: 'I have read this release and understand the contents, and I knowingly and voluntarily sign this release. I agree to abide by all posted signage and warnings',\r\n labelButton: 'Save',\r\n customValidationMessagelabelIsMemberAgreed: 'You must check to agree.',\r\n labelFirstName: 'First Name',\r\n labelLastName: 'Last Name',\r\n labelContactNumber: 'Contact Number',\r\n labelEmailAddress: 'Email Address',\r\n labelDate: 'Date',\r\n labelDownloadEquipmentAndFacilitiesPolicies: 'Download Equipment and Facilities Policies'\r\n};\r\nexport default legalContractFormResources;","import validationRules from '../../../../../utilities/validationRules';\r\nimport legalContractFormResources from './legalContractFormResources';\r\nimport * as keyfobConstants from '../../../../Shared/Keyfobs/keyfobConstants';\r\nimport * as generalInfoConstants from '../../../../Shared/GeneralInfo/generalInfoConstants';\r\n\r\nexport const keyfobRequired = validationRules.required(\r\n legalContractFormResources.labelKeyfob\r\n);\r\nexport const keyfobMinMaxLength = validationRules.length(\r\n legalContractFormResources.labelKeyfob,\r\n keyfobConstants.MIN_KEYFOB_LENGTH,\r\n keyfobConstants.MAX_KEYFOB_LENGTH\r\n);\r\nexport const keyfobValidRadixNumber = validationRules.bigInt(\r\n keyfobConstants.KEYFOB_RADIX,\r\n legalContractFormResources.labelKeyfob\r\n);\r\nexport const isMemberAgreedRequired = validationRules.required(\r\n legalContractFormResources.labelIsMemberAgreed, legalContractFormResources.customValidationMessagelabelIsMemberAgreed\r\n);\r\nexport const firstNameRequired = validationRules.required(\r\n legalContractFormResources.labelFirstName\r\n);\r\nexport const firstNameMaxLength = validationRules.length(\r\n legalContractFormResources.labelFirstName,\r\n 0,\r\n generalInfoConstants.MAX_FIRSTNAME_LENGTH\r\n);\r\nexport const lastNameRequired = validationRules.required(\r\n legalContractFormResources.labelLastName\r\n);\r\nexport const lastNameMaxLength = validationRules.length(\r\n legalContractFormResources.labelLastName,\r\n 0,\r\n generalInfoConstants.MAX_LASTNAME_LENGTH\r\n);\r\nexport const phoneNumberRequired = validationRules.required(\r\n legalContractFormResources.labelContactNumber\r\n);\r\nexport const phoneNumberMaxLength = validationRules.length(\r\n legalContractFormResources.labelContactNumber,\r\n 0,\r\n generalInfoConstants.MAX_PHONE_NUMBER_LENGTH\r\n);\r\nexport const phoneNumberRegex = validationRules.phoneNumber(\r\n legalContractFormResources.labelContactNumber\r\n);\r\nexport const emailAddressRequired = validationRules.required(\r\n legalContractFormResources.labelEmailAddress\r\n);\r\nexport const emailAddressMaxLength = validationRules.length(\r\n legalContractFormResources.labelEmailAddress,\r\n 0,\r\n generalInfoConstants.MAX_EMAIL50_LENGTH\r\n);\r\nexport const emailAddressRegex = validationRules.email(\r\n legalContractFormResources.labelEmailAddress\r\n);","import { createSelector } from 'reselect';\r\nimport { GET_EQUIPMENT_AND_FACILITIES_POLICIES } from './legalContractFormTypes';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === GET_EQUIPMENT_AND_FACILITIES_POLICIES)\r\n .size;\r\n return size > 0;\r\n};\r\n\r\nconst getEquipmentAndFacilitiesPolicies = state => state.legalContractFormReducer.get('equipmentAndFacilitiesPolicies');\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n getEquipmentAndFacilitiesPolicies,\r\n ],\r\n (\r\n isLoading,\r\n equipmentAndFacilitiesPolicies\r\n ) => (\r\n {\r\n isLoading,\r\n equipmentAndFacilitiesPolicies\r\n }));\r\n\r\n","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport FormGroup from '../../../../../components/controls/FormGroup';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport { MuiInputText } from '../../../../../components/controls/MuiInputText';\r\nimport InputCheckbox from '../../../../../components/controls/InputCheckbox';\r\nimport Button from '../../../../../components/controls/Button';\r\nimport { defaultFormProperties } from '../../../../../utilities/form';\r\nimport legalContractFormResources from './legalContractFormResources';\r\nimport * as validationRules from './legalContractFormValidations';\r\nimport { connect } from 'react-redux';\r\nimport selectors from './legalContractFormSelectors';\r\nimport { getEquipmentAndFacilitiesPolicies } from './legalContractFormActions';\r\nimport Spinner from '../../../../../components/Spinner/Spinner';\r\n\r\nfunction LegalContractForm({\r\n isLoading,\r\n equipmentAndFacilitiesPolicies,\r\n pristine,\r\n submitting,\r\n handleSubmit,\r\n readOnly,\r\n documentAgreementVersion,\r\n programPaymentType,\r\n facilityAFNumber,\r\n getEquipmentAndFacilitiesPolicies }) {\r\n useEffect(() => {\r\n getEquipmentAndFacilitiesPolicies(documentAgreementVersion, programPaymentType, facilityAFNumber);\r\n }, [documentAgreementVersion, programPaymentType, facilityAFNumber]);\r\n return isLoading\r\n ? \r\n : \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n {\r\n readOnly\r\n ? (<>)\r\n : (
    \r\n
    \r\n \r\n {legalContractFormResources.labelButton}\r\n \r\n
    \r\n
    )\r\n }\r\n ;\r\n}\r\n\r\nLegalContractForm.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n equipmentAndFacilitiesPolicies:PropTypes.string,\r\n pristine: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n handleSubmit: PropTypes.func.isRequired,\r\n getEquipmentAndFacilitiesPolicies: PropTypes.func.isRequired,\r\n readOnly: PropTypes.bool.isRequired,\r\n documentAgreementVersion: PropTypes.number.isRequired,\r\n programPaymentType: PropTypes.number.isRequired,\r\n facilityAFNumber: PropTypes.string.isRequired\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getEquipmentAndFacilitiesPolicies\r\n};\r\n\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default reduxForm({\r\n form: 'legalContractForm',\r\n ...defaultFormProperties\r\n})(connectStateToProps(LegalContractForm));\r\n","import * as loadingActions from '../../../../Loading/loadingActions';\r\nimport * as legalContractFormService from './legalContractFormService';\r\nimport * as types from './legalContractFormTypes';\r\n\r\nexport const setEquipmentAndFacilitiesPolicies = (equipmentAndFacilitiesPolicies) => {\r\n return { type: types.GET_EQUIPMENT_AND_FACILITIES_POLICIES, equipmentAndFacilitiesPolicies };\r\n};\r\n\r\nexport function getEquipmentAndFacilitiesPolicies(documentAgreementVersion, programPaymentType, facilityAFNumber) {\r\n return function(dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_EQUIPMENT_AND_FACILITIES_POLICIES));\r\n return legalContractFormService\r\n .getEquipmentAndFacilitiesPolicies(documentAgreementVersion, programPaymentType, facilityAFNumber)\r\n .then((equipmentAndFacilitiesPolicies) => {\r\n\r\n dispatch(setEquipmentAndFacilitiesPolicies(equipmentAndFacilitiesPolicies));\r\n })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.GET_EQUIPMENT_AND_FACILITIES_POLICIES)));\r\n };\r\n}","import http from '../../../../../http/base';\r\nimport { API_PATHS } from '../../../../../http/configs';\r\n\r\nexport function getEquipmentAndFacilitiesPolicies(documentAgreementVersion, programPaymentType, facilityAFNumber) {\r\n return http.get(API_PATHS.getEquipmentAndFacilitiesPolicies, { params: { documentAgreementVersion, programPaymentType, facilityAFNumber } });\r\n};","import React from 'react';\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport './_formStep.scss';\r\nimport Image from '../Image/Image';\r\n\r\nconst FormStep = ({ index, currentStep, form, title, onClickHandler, clickable, narrow }) => {\r\n\r\n return (\r\n
    \r\n
    \r\n {title}\r\n index }\r\n ])}\r\n alt=\"logo\"\r\n image=\"progress\"\r\n />\r\n
    \r\n
    \r\n { /*Redux forms doesn't work with multiple rendered forms with same name*/\r\n index === currentStep\r\n ? form\r\n : <>\r\n }\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nFormStep.propTypes = {\r\n index: PropTypes.number.isRequired,\r\n title: PropTypes.string.isRequired,\r\n currentStep: PropTypes.number.isRequired,\r\n onClickHandler: PropTypes.func.isRequired,\r\n clickable: PropTypes.bool.isRequired,\r\n narrow: PropTypes.bool,\r\n form: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\r\n};\r\nexport default FormStep;","import React, { useState } from 'react';\r\nimport FormStep from './FormStep';\r\nimport PropTypes from 'prop-types';\r\nimport './_formStep.scss';\r\n\r\nexport default function MultiStepForms({ forms, onSubmit, formName, narrow }) {\r\n const [filledStage, setFilledStage] = useState([0]);\r\n const [step, setStep] = useState(0);\r\n const [open, setOpen] = useState(false);\r\n const onPrevStep = () => {\r\n setStep(step - 1);\r\n scrollToTop();\r\n };\r\n const onNextStep = () => {\r\n setFilledStage([...filledStage, step + 1]);\r\n setStep(step + 1);\r\n };\r\n const scrollToTop = () => window.scrollTo(0, 0);\r\n return (\r\n
    \r\n {forms.map((form, index, forms) =>\r\n {\r\n if (!open || index !== step) {\r\n if (filledStage.includes(index)) {\r\n setStep(index);\r\n setOpen(true);\r\n }\r\n }\r\n else {\r\n if (filledStage.includes(index + 1)) {\r\n setOpen(false);\r\n setStep(index + 1);\r\n }\r\n }\r\n\r\n }}\r\n clickable={filledStage.includes(index)}\r\n form={React.createElement(form.formComponent, {\r\n onPrevStep,\r\n onNextStep,\r\n scrollToTop,\r\n onFormSubmit: index + 1 === forms.length ? onSubmit : undefined,\r\n form: formName,\r\n formParams: form.formParams\r\n })}\r\n narrow={narrow}\r\n />\r\n )}\r\n
    \r\n );\r\n}\r\n\r\nMultiStepForms.propTypes = {\r\n forms: PropTypes.arrayOf(PropTypes.object).isRequired,\r\n onSubmit: PropTypes.func,\r\n formName: PropTypes.string.isRequired,\r\n narrow: PropTypes.bool,\r\n};","const keyfobFormResources = {\r\n labelKeyfobStep: '1. Key Fob',\r\n infoKeyfob: 'Please enter your key fob',\r\n labelKeyfob: 'Key Fob',\r\n facilityMemberID: 'facilityMemberID'\r\n};\r\nexport default keyfobFormResources;","import validationRules from '../../../../../utilities/validationRules';\r\nimport keyfobFormResources from './keyfobFormResources';\r\nimport * as keyfobConstants from '../../../../Shared/Keyfobs/keyfobConstants';\r\n\r\nexport const keyfobRequired = validationRules.required(\r\n keyfobFormResources.labelKeyfob\r\n);\r\nexport const keyfobMinMaxLength = validationRules.length(\r\n keyfobFormResources.labelKeyfob,\r\n keyfobConstants.MIN_KEYFOB_LENGTH,\r\n keyfobConstants.MAX_KEYFOB_LENGTH\r\n);\r\nexport const keyfobValidRadixNumber = validationRules.bigInt(\r\n keyfobConstants.KEYFOB_RADIX,\r\n keyfobFormResources.labelKeyfob\r\n);","import { createSelector } from 'reselect';\r\nimport { formValueSelector } from 'redux-form';\r\nimport legalContractResources from '../legalContractResources';\r\nimport keyfobFormResources from './keyfobFormResources';\r\n\r\nconst formSelector = formValueSelector(legalContractResources.formNameLegalContract, state => state.form.toJS());\r\nconst getIsEmpty = state => !formSelector(state, keyfobFormResources.facilityMemberID);\r\n\r\nexport default createSelector([getIsEmpty], isEmpty => ({ isEmpty }));","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport FormGroup from '../../../../../components/controls/FormGroup';\r\nimport { defaultFormProperties } from '../../../../../utilities/form';\r\nimport * as validationRules from './keyfobFormValidations';\r\nimport { MuiInputText } from '../../../../../components/controls/MuiInputText';\r\nimport MuiButton from '../../../../../components/controls/MuiButton';\r\nimport keyfobFormResources from './keyfobFormResources';\r\nimport styles from './_keyfobform.module.scss';\r\nimport legalContractResources from '../legalContractResources';\r\nimport { connect } from 'react-redux';\r\nimport selectors from './keyfobFormSelectors';\r\n\r\nfunction KeyfobForm({ isEmpty, submitting, onNextStep, handleSubmit }) {\r\n return (\r\n \r\n
    \r\n
    \r\n {keyfobFormResources.infoKeyfob}\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {legalContractResources.linkButtonNextText}\r\n \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nKeyfobForm.propTypes = {\r\n isEmpty: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n onNextStep: PropTypes.func.isRequired,\r\n handleSubmit: PropTypes.func.isRequired\r\n};\r\n\r\nexport default reduxForm({\r\n ...defaultFormProperties,\r\n destroyOnUnmount: false,\r\n forceUnregisterOnUnmount: true\r\n})(connect(selectors)(KeyfobForm));\r\n","const agreementFormResources = {\r\n labelIsMemberAgreed: 'I have read this release and understand the contents, and I knowingly and voluntarily sign this release. I agree to abide by all posted signage and warnings',\r\n labelButtonSave: 'Submit',\r\n customValidationMessagelabelIsMemberAgreed: 'You must check to agree.',\r\n labelFirstName: 'First Name',\r\n labelLastName: 'Last Name',\r\n labelContactNumber: 'Contact Number',\r\n labelEmailAddress: 'Email Address',\r\n labelDate: 'Date',\r\n labelDownloadEquipmentAndFacilitiesPolicies: 'Download Equipment and Facilities Policies'\r\n};\r\nexport default agreementFormResources;","import validationRules from '../../../../../utilities/validationRules';\r\nimport agreementFormResources from './agreementFormResources';\r\nimport * as generalInfoConstants from '../../../../Shared/GeneralInfo/generalInfoConstants';\r\n\r\nexport const isMemberAgreedRequired = validationRules.required(\r\n agreementFormResources.labelIsMemberAgreed, agreementFormResources.customValidationMessagelabelIsMemberAgreed\r\n);\r\nexport const firstNameRequired = validationRules.required(\r\n agreementFormResources.labelFirstName\r\n);\r\nexport const firstNameMaxLength = validationRules.length(\r\n agreementFormResources.labelFirstName,\r\n 0,\r\n generalInfoConstants.MAX_FIRSTNAME_LENGTH\r\n);\r\nexport const lastNameRequired = validationRules.required(\r\n agreementFormResources.labelLastName\r\n);\r\nexport const lastNameMaxLength = validationRules.length(\r\n agreementFormResources.labelLastName,\r\n 0,\r\n generalInfoConstants.MAX_LASTNAME_LENGTH\r\n);\r\nexport const phoneNumberRequired = validationRules.required(\r\n agreementFormResources.labelContactNumber\r\n);\r\nexport const phoneNumberMaxLength = validationRules.length(\r\n agreementFormResources.labelContactNumber,\r\n 0,\r\n generalInfoConstants.MAX_PHONE_NUMBER_LENGTH\r\n);\r\nexport const phoneNumberRegex = validationRules.phoneNumber(\r\n agreementFormResources.labelContactNumber\r\n);\r\nexport const emailAddressRequired = validationRules.required(\r\n agreementFormResources.labelEmailAddress\r\n);\r\nexport const emailAddressMaxLength = validationRules.length(\r\n agreementFormResources.labelEmailAddress,\r\n 0,\r\n generalInfoConstants.MAX_EMAIL50_LENGTH\r\n);\r\nexport const emailAddressRegex = validationRules.email(\r\n agreementFormResources.labelEmailAddress\r\n);","import { createSelector } from 'reselect';\r\nimport legalContractResources from '../legalContractResources';\r\nimport { GET_EQUIPMENT_AND_FACILITIES_POLICIES } from './agreementFormTypes';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === GET_EQUIPMENT_AND_FACILITIES_POLICIES)\r\n .size;\r\n return size > 0;\r\n};\r\n\r\nconst getMembersAFFacilityWithinProgramEnrollment = state => state.legalContractReducer.get('membersAFFacilityWithinProgramEnrollment');\r\nconst getFormValues = state => state.form.getIn([legalContractResources.formNameLegalContract, 'values']);\r\nconst getEquipmentAndFacilitiesPolicies = state => state.agreementFormReducer.get('equipmentAndFacilitiesPolicies');\r\nconst getDocumentAgreementVersion = createSelector(\r\n [getMembersAFFacilityWithinProgramEnrollment],\r\n (membersAFFacilityWithinProgramEnrollment) => {\r\n return membersAFFacilityWithinProgramEnrollment.get('documentAgreementVersion');\r\n }\r\n);\r\n\r\nexport default createSelector([getIsLoading, getMembersAFFacilityWithinProgramEnrollment, getDocumentAgreementVersion, getFormValues, getEquipmentAndFacilitiesPolicies], (isLoading, initialValues, documentAgreementVersion, formValues, equipmentAndFacilitiesPolicies) => ({ isLoading, initialValues, documentAgreementVersion, formValues, equipmentAndFacilitiesPolicies }));","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport FormGroup from '../../../../../components/controls/FormGroup';\r\nimport { Field, reduxForm, initialize } from 'redux-form/immutable';\r\nimport { defaultFormProperties } from '../../../../../utilities/form';\r\nimport { connect } from 'react-redux';\r\nimport { MuiInputText } from '../../../../../components/controls/MuiInputText';\r\nimport MuiButton from '../../../../../components/controls/MuiButton';\r\nimport MuiInputCheckbox from '../../../../../components/controls/MuiInputCheckbox';\r\nimport agreementFormResources from './agreementFormResources';\r\nimport * as validationRules from './agreementFormValidations';\r\nimport selectors from './agreementFormSelectors';\r\nimport { mergeWith, is } from 'immutable';\r\nimport { getEquipmentAndFacilitiesPolicies } from './agreementFormActions';\r\nimport Spinner from '../../../../../components/Spinner/Spinner';\r\nimport legalContractResources from '../legalContractResources';\r\n\r\nfunction AgreementForm({\r\n isLoading,\r\n pristine,\r\n submitting,\r\n handleSubmit,\r\n onPrevStep,\r\n initialize,\r\n initialValues,\r\n documentAgreementVersion,\r\n formValues,\r\n form,\r\n onFormSubmit,\r\n getEquipmentAndFacilitiesPolicies,\r\n equipmentAndFacilitiesPolicies,\r\n formParams }) {\r\n useEffect(() => {\r\n if (formValues && !is(formValues, initialValues)) {\r\n initialValues = mergeWith((oldValue, newValue, key) => {\r\n return key === 'isMemberAgreed' ? oldValue : newValue;\r\n }, initialValues, formValues);\r\n }\r\n initialize(form, initialValues);\r\n }, [initialValues]);\r\n useEffect(() => {\r\n getEquipmentAndFacilitiesPolicies(documentAgreementVersion, formParams.programPaymentType, formParams.facilityAFNumber);\r\n }, [documentAgreementVersion, formParams.programPaymentType, formParams.facilityAFNumber]);\r\n return <>\r\n {\r\n isLoading\r\n ? \r\n : <>\r\n }\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {agreementFormResources.labelButtonSave}\r\n \r\n {onPrevStep ?\r\n \r\n {legalContractResources.linkButtonPrevious}\r\n \r\n : <>\r\n }\r\n
    \r\n \r\n ;\r\n}\r\n\r\nAgreementForm.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n pristine: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n handleSubmit: PropTypes.func.isRequired,\r\n onPrevStep: PropTypes.func,\r\n initialValues: PropTypes.object,\r\n documentAgreementVersion: PropTypes.number.isRequired,\r\n formValues: PropTypes.object,\r\n initialize: PropTypes.func,\r\n form: PropTypes.string.isRequired,\r\n onFormSubmit: PropTypes.func.isRequired,\r\n getEquipmentAndFacilitiesPolicies: PropTypes.func.isRequired,\r\n equipmentAndFacilitiesPolicies: PropTypes.string,\r\n formParams: PropTypes.object.isRequired,\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n initialize,\r\n getEquipmentAndFacilitiesPolicies\r\n};\r\n\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default reduxForm({\r\n ...defaultFormProperties,\r\n enableReinitialize: false,\r\n destroyOnUnmount: false,\r\n forceUnregisterOnUnmount: true,\r\n}\r\n)(connectStateToProps(AgreementForm));\r\n","import * as loadingActions from '../../../../Loading/loadingActions';\r\nimport * as legalContractFormService from './agreementFormService';\r\nimport * as types from './agreementFormTypes';\r\n\r\nexport const setEquipmentAndFacilitiesPolicies = (equipmentAndFacilitiesPolicies) => {\r\n return { type: types.GET_EQUIPMENT_AND_FACILITIES_POLICIES, equipmentAndFacilitiesPolicies };\r\n};\r\n\r\nexport function getEquipmentAndFacilitiesPolicies(documentAgreementVersion, programPaymentType, facilityAFNumber) {\r\n return function(dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_EQUIPMENT_AND_FACILITIES_POLICIES));\r\n return legalContractFormService\r\n .getEquipmentAndFacilitiesPolicies(documentAgreementVersion, programPaymentType, facilityAFNumber)\r\n .then((equipmentAndFacilitiesPolicies) => {\r\n dispatch(setEquipmentAndFacilitiesPolicies(equipmentAndFacilitiesPolicies));\r\n })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.GET_EQUIPMENT_AND_FACILITIES_POLICIES)));\r\n };\r\n}","import http from '../../../../../http/base';\r\nimport { API_PATHS } from '../../../../../http/configs';\r\n\r\nexport function getEquipmentAndFacilitiesPolicies(documentAgreementVersion, programPaymentType, facilityAFNumber) {\r\n return http.get(API_PATHS.getEquipmentAndFacilitiesPolicies, { params: { documentAgreementVersion, programPaymentType, facilityAFNumber } });\r\n};","import React, { useState, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Field } from 'redux-form/immutable';\r\nimport BankingInfoResources from '../BankingInfo/bankingInfoResources';\r\nimport BankAccountSecurityNote from './BankAccountSecurityNote';\r\nimport MuiInputCheckbox from '../../../components/controls/MuiInputCheckbox';\r\nimport BankAccountDetails from './BankAccountDetails';\r\n\r\nfunction BankAccount({ buttons,\r\n description,\r\n bankAccountModelName,\r\n checkboxLabel,\r\n setBankAccountInfo,\r\n errorMessage\r\n}) {\r\n const [isCopyBankAccountChecked, setCopyBankAccountValue] = useState(false);\r\n useEffect(() => {\r\n if (isCopyBankAccountChecked) {\r\n setBankAccountInfo();\r\n }\r\n }, [isCopyBankAccountChecked]);\r\n const onChangeHandler = (event) => {\r\n setCopyBankAccountValue(event.target.checked);\r\n };\r\n const prefix = bankAccountModelName ? `${bankAccountModelName}.` : '';\r\n return
    \r\n {errorMessage &&
    \r\n
    \r\n {errorMessage}\r\n
    \r\n
    }\r\n {description &&
    \r\n
    \r\n {description}\r\n
    \r\n
    }\r\n {setBankAccountInfo &&\r\n }\r\n \r\n \r\n
    ;\r\n}\r\n\r\nBankAccount.propTypes = {\r\n payeeToken: PropTypes.string,\r\n accountNumber: PropTypes.string,\r\n routingNumber: PropTypes.string,\r\n retrieveBankAccountDetails: PropTypes.func,\r\n buttons: PropTypes.object,\r\n description: PropTypes.string,\r\n operationTypeID: PropTypes.number,\r\n setBankAccountInfo: PropTypes.func,\r\n bankAccountModelName: PropTypes.string.isRequired,\r\n checkboxLabel: PropTypes.string,\r\n errorMessage: PropTypes.string\r\n};\r\n\r\nexport default BankAccount;","import { createSelector } from 'reselect';\r\nimport { formValueSelector } from 'redux-form';\r\nimport bankingInfoResources from './bankingInfoResources';\r\n\r\nconst getState = state => state;\r\nconst getFormName = (state, formName) => formName;\r\nconst formSelector = formName => formValueSelector(formName, state => state.form.toJS());\r\nconst getPrefix = (state, formName, prefix) => prefix;\r\nconst getIsEmpty = createSelector([getState, getFormName, getPrefix], (state, formName, prefix) => {\r\n let fieldAccountNumber = bankingInfoResources.fieldAccountNumber;\r\n let fieldRoutingNumber = bankingInfoResources.fieldRoutingNumber;\r\n let fieldBankAccountType = bankingInfoResources.fieldBankAccountType;\r\n if (prefix) {\r\n fieldAccountNumber = `${prefix}.${fieldAccountNumber}`;\r\n fieldRoutingNumber = `${prefix}.${fieldRoutingNumber}`;\r\n fieldBankAccountType = `${prefix}.${fieldBankAccountType}`;\r\n }\r\n return !formSelector(formName)(state, fieldRoutingNumber) && !formSelector(formName)(state, fieldAccountNumber) && !formSelector(formName)(state, fieldBankAccountType);\r\n});\r\n\r\nexport default getIsEmpty;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { change, reduxForm } from 'redux-form/immutable';\r\nimport { defaultFormProperties } from '../../../utilities/form';\r\nimport MuiButton from '../../../components/controls/MuiButton';\r\nimport FormGroup from '../../../components/controls/FormGroup';\r\nimport BankingInfoResources from './bankingInfoResources';\r\nimport BankAccount from './BankAccount';\r\nimport './_banking-info.scss';\r\nimport { connect } from 'react-redux';\r\nimport getIsEmpty from './bankingInfoStepFormSelectors';\r\n\r\nfunction BankingInfoStepForm({ handleSubmit,\r\n submitting,\r\n isEmpty,\r\n onPrevStep,\r\n onNextStep,\r\n formParams,\r\n form,\r\n change }) {\r\n return (\r\n {\r\n change(form, `${formParams.bankAccountModelName}.operationTypeID`, formParams.operationTypeID);\r\n onNextStep();\r\n })}\r\n >\r\n \r\n \r\n {BankingInfoResources.linkButtonNext}\r\n \r\n \r\n {BankingInfoResources.linkButtonPrevious}\r\n \r\n \r\n }\r\n />\r\n \r\n );\r\n}\r\n\r\nBankingInfoStepForm.propTypes = {\r\n handleSubmit: PropTypes.func.isRequired,\r\n submitting: PropTypes.bool,\r\n isEmpty: PropTypes.bool.isRequired,\r\n onPrevStep: PropTypes.func.isRequired,\r\n onNextStep: PropTypes.func.isRequired,\r\n formParams: PropTypes.object.isRequired,\r\n form: PropTypes.string.isRequired,\r\n change: PropTypes.func.isRequired\r\n};\r\n\r\nconst mapStateToProps = (state, props) => {\r\n const { form, formParams } = props;\r\n return {\r\n isEmpty: getIsEmpty(state, form, formParams.bankAccountModelName),\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n change\r\n};\r\n\r\nconst connectStateToProps = connect(mapStateToProps, mapDispatchToProps);\r\n\r\nexport default reduxForm({\r\n ...defaultFormProperties,\r\n destroyOnUnmount: false,\r\n forceUnregisterOnUnmount: true,\r\n keepDirtyOnReinitialize: true\r\n})(connectStateToProps(BankingInfoStepForm));\r\n","const paymentDetailsFormResources = {\r\n labelMonthlyDues: 'Monthly Dues',\r\n captionPaymentOnFirstOfEveryMonth: '* Payment on the 1st of every month',\r\n labelTodaysPayment: 'Today\\'s Payment',\r\n labelTodaysTotalPayment: 'Today\\'s Total Payment',\r\n labelMonthlyReimbursements: 'Monthly Reimbursements',\r\n captionPaymentAfterTwentyFifthOfEveryMonth: '* Payment after 25th of every month',\r\n labelRequiredVisits: 'Required Visits'\r\n};\r\nexport default paymentDetailsFormResources;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport InfoBox from '../../../../../components/InfoBox/InfoBox';\r\nimport InfoBoxRow from '../../../../../components/InfoBox/InfoBoxRow';\r\nimport paymentDetailsFormResources from './paymentDetailsFormResources';\r\nimport styles from './_paymentDetailsForm.module.scss';\r\n\r\nfunction MonthlyDuesPaymentDetailsInfoBox({ monthlyDues, todaysPayment }) {\r\n return \r\n \r\n {paymentDetailsFormResources.captionPaymentOnFirstOfEveryMonth}\r\n \r\n \r\n ;\r\n}\r\n\r\nMonthlyDuesPaymentDetailsInfoBox.propTypes = {\r\n monthlyDues: PropTypes.string,\r\n todaysPayment: PropTypes.string,\r\n};\r\n\r\nexport default MonthlyDuesPaymentDetailsInfoBox;","import * as loadingActions from '../../../../Loading/loadingActions';\r\nimport * as paymentDetailsFormService from './paymentDetailsFormService';\r\nimport * as types from './paymentDetailsFormTypes';\r\n\r\nexport const setCalculatedDues = (calculatedDues) => {\r\n return { type: types.SET_CALCULATED_DUES, calculatedDues };\r\n};\r\n\r\nexport function getCalculatedDues(partnerId, startingDate) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_CALCULATED_DUES));\r\n return paymentDetailsFormService\r\n .getCalculatedDues(partnerId, startingDate)\r\n .then((response) => {\r\n dispatch(setCalculatedDues(response.data));\r\n })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.GET_CALCULATED_DUES)));\r\n };\r\n};","import http from '../../../../../http/base';\r\nimport { API_PATHS } from '../../../../../http/configs';\r\n\r\nexport function getCalculatedDues(partnerId, startingDateToCalculate) {\r\n return http.get(API_PATHS.getCalculatedDues, { params: { partnerId, startingDateToCalculate } });\r\n};","import { createSelector } from 'reselect';\r\nimport { GET_GROUP_MEMBERSHIP } from '../../../../GroupMemberships/GeneralInfo/groupMembershipsTypes';\r\nimport { GET_CALCULATED_DUES } from './paymentDetailsFormTypes';\r\nimport currencyFormatter from '../../../../../utilities/formatters/currencyFormatter';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === GET_GROUP_MEMBERSHIP || i === GET_CALCULATED_DUES)\r\n .size;\r\n return size > 0;\r\n};\r\n\r\nconst getGroupMembership = state => state.groupMembershipsReducer.get('groupMembership');\r\nconst getMonthlyDues = createSelector([getGroupMembership], groupMembership => currencyFormatter.formatToUSDollar(groupMembership.get('memberDuesAmount')));\r\nconst getTodaysPayment = state => currencyFormatter.formatToUSDollar(state.paymentDetailsFormReducer.getIn(['calculatedDues', 'duesAmount']));\r\n\r\nexport default createSelector([getIsLoading, getMonthlyDues, getTodaysPayment], (isLoading, monthlyDues, todaysPayment) => ({ isLoading, monthlyDues, todaysPayment }));","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { reduxForm } from 'redux-form/immutable';\r\nimport { connect } from 'react-redux';\r\nimport FormGroup from '../../../../../components/controls/FormGroup';\r\nimport MonthlyDuesPaymentDetailsInfoBox from './MonthlyDuesPaymentDetailsInfoBox';\r\nimport { defaultFormProperties } from '../../../../../utilities/form';\r\nimport MuiButton from '../../../../../components/controls/MuiButton';\r\nimport legalContractResources from '../legalContractResources';\r\nimport Spinner from '../../../../../components/Spinner/Spinner';\r\nimport { getGroupMembership } from '../../../../GroupMemberships/GeneralInfo/groupMembershipsActions';\r\nimport { getCalculatedDues } from './paymentDetailsFormActions';\r\nimport selectors from './gmspPaymentDetailsFormSelectors';\r\n\r\nfunction GMSPPaymentDetailsForm({ submitting, onNextStep, onPrevStep, handleSubmit, formParams, isLoading, getGroupMembership, getCalculatedDues, monthlyDues, todaysPayment }) {\r\n useEffect(() => {\r\n getGroupMembership(formParams.partnerID);\r\n getCalculatedDues(formParams.partnerID, formParams.agreementDate);\r\n }, [formParams.partnerID]);\r\n return (isLoading\r\n ? \r\n : \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {legalContractResources.linkButtonNextText}\r\n \r\n \r\n {legalContractResources.linkButtonPrevious}\r\n \r\n
    \r\n
    \r\n );\r\n}\r\n\r\nGMSPPaymentDetailsForm.propTypes = {\r\n submitting: PropTypes.bool.isRequired,\r\n onNextStep: PropTypes.func.isRequired,\r\n onPrevStep: PropTypes.func.isRequired,\r\n handleSubmit: PropTypes.func.isRequired,\r\n formParams: PropTypes.object.isRequired,\r\n getGroupMembership: PropTypes.func.isRequired,\r\n getCalculatedDues: PropTypes.func.isRequired,\r\n isLoading: PropTypes.bool.isRequired,\r\n monthlyDues: PropTypes.string,\r\n todaysPayment: PropTypes.string,\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getGroupMembership,\r\n getCalculatedDues\r\n};\r\n\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default reduxForm({\r\n ...defaultFormProperties,\r\n destroyOnUnmount: false,\r\n forceUnregisterOnUnmount: true\r\n})(connectStateToProps(GMSPPaymentDetailsForm));\r\n","import { createSelector } from 'reselect';\r\nimport { GET_GROUP_MEMBERSHIP } from '../../../../GroupMemberships/GeneralInfo/groupMembershipsTypes';\r\nimport { GET_CALCULATED_DUES } from './paymentDetailsFormTypes';\r\nimport currencyFormatter from '../../../../../utilities/formatters/currencyFormatter';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === GET_GROUP_MEMBERSHIP || i === GET_CALCULATED_DUES)\r\n .size;\r\n return size > 0;\r\n};\r\n\r\nconst getGroupMembership = state => state.groupMembershipsReducer.get('groupMembership');\r\nconst getMonthlyDues = createSelector([getGroupMembership], groupMembership => currencyFormatter.formatToUSDollar(groupMembership.get('memberDuesAmount')));\r\nconst getTodaysPayment = state => currencyFormatter.formatToUSDollar(state.paymentDetailsFormReducer.getIn(['calculatedDues', 'duesAmount']));\r\nconst getMonthlyReimbursements = createSelector([getGroupMembership], groupMembership => currencyFormatter.formatToUSDollar(groupMembership.get('memberReimbursementAmount')));\r\nconst getRequiredVisits = createSelector([getGroupMembership], groupMembership => groupMembership.get('numberOfVisitsToReimburse'));\r\n\r\nexport default createSelector([getIsLoading, getMonthlyDues, getTodaysPayment, getMonthlyReimbursements, getRequiredVisits], (isLoading, monthlyDues, todaysPayment, monthlyReimbursements, requiredVisits) => ({ isLoading, monthlyDues, todaysPayment, monthlyReimbursements, requiredVisits }));","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { reduxForm } from 'redux-form/immutable';\r\nimport { connect } from 'react-redux';\r\nimport FormGroup from '../../../../../components/controls/FormGroup';\r\nimport InfoBox from '../../../../../components/InfoBox/InfoBox';\r\nimport InfoBoxRow from '../../../../../components/InfoBox/InfoBoxRow';\r\nimport { defaultFormProperties } from '../../../../../utilities/form';\r\nimport styles from './_paymentDetailsForm.module.scss';\r\nimport MuiButton from '../../../../../components/controls/MuiButton';\r\nimport paymentDetailsFormResources from './paymentDetailsFormResources';\r\nimport MonthlyDuesPaymentDetailsInfoBox from './MonthlyDuesPaymentDetailsInfoBox';\r\nimport Spinner from '../../../../../components/Spinner/Spinner';\r\nimport legalContractResources from '../legalContractResources';\r\nimport { getGroupMembership } from '../../../../GroupMemberships/GeneralInfo/groupMembershipsActions';\r\nimport { getCalculatedDues } from './paymentDetailsFormActions';\r\nimport selectors from './gmrPaymentDetailsFormSelectors';\r\n\r\nfunction GMRPaymentDetailsForm({ submitting, onNextStep, onPrevStep, handleSubmit, formParams, getGroupMembership, getCalculatedDues, isLoading, monthlyDues, todaysPayment, monthlyReimbursements, requiredVisits }) {\r\n useEffect(() => {\r\n getGroupMembership(formParams.partnerID);\r\n getCalculatedDues(formParams.partnerID, formParams.agreementDate);\r\n }, [formParams.partnerID]);\r\n return (isLoading\r\n ? \r\n : \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n {paymentDetailsFormResources.captionPaymentAfterTwentyFifthOfEveryMonth}\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {legalContractResources.linkButtonNextText}\r\n \r\n \r\n {legalContractResources.linkButtonPrevious}\r\n \r\n
    \r\n
    \r\n );\r\n}\r\n\r\nGMRPaymentDetailsForm.propTypes = {\r\n submitting: PropTypes.bool.isRequired,\r\n onNextStep: PropTypes.func.isRequired,\r\n onPrevStep: PropTypes.func.isRequired,\r\n handleSubmit: PropTypes.func.isRequired,\r\n formParams: PropTypes.object.isRequired,\r\n getGroupMembership: PropTypes.func.isRequired,\r\n getCalculatedDues: PropTypes.func.isRequired,\r\n isLoading: PropTypes.bool.isRequired,\r\n monthlyDues: PropTypes.string,\r\n todaysPayment: PropTypes.string,\r\n monthlyReimbursements: PropTypes.string,\r\n requiredVisits: PropTypes.number,\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getGroupMembership,\r\n getCalculatedDues\r\n};\r\n\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default reduxForm({\r\n ...defaultFormProperties,\r\n destroyOnUnmount: false,\r\n forceUnregisterOnUnmount: true\r\n})(connectStateToProps(GMRPaymentDetailsForm));\r\n","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport Spinner from '../../../../components/Spinner/Spinner';\r\nimport selectors from './legalContractSelectors';\r\nimport { getMemberLegalContractInfo } from './legalContractActions';\r\nimport LegalContractForm from './LegalContractForm/legalContractForm';\r\nimport legalContractResources from './legalContractResources';\r\nimport { format } from 'react-string-format';\r\nimport './_legalContract.scss';\r\nimport IconCaption from '../../../../components/IconCaption/IconCaption';\r\nimport MultiStepForms from '../../../../components/FormStep/MultiStepForms';\r\nimport KeyfobForm from './LegalContractSteppedFormForms/KeyfobForm';\r\nimport AgreementForm from './LegalContractSteppedFormForms/AgreementForm';\r\nimport BankingInfoStepForm from '../../../Shared/BankingInfo/BankingInfoStepForm';\r\nimport GMSPPaymentDetailsForm from './LegalContractSteppedFormForms/GMSPPaymentDetailsForm';\r\nimport GMRPaymentDetailsForm from './LegalContractSteppedFormForms/GMRPaymentDetailsForm';\r\nimport programPaymentTypes from '../../../../enums/programPaymentTypes';\r\nimport bankOperationTypes from '../../../../enums/bankOperationTypes';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\nimport { change } from 'redux-form';\r\nimport BankingInfoResources from '../../../Shared/BankingInfo/bankingInfoResources';\r\nimport MaterialIcon from '../../../../components/MaterialIcon/MaterialIcon';\r\nimport routes from '../../../../routing/routes';\r\n\r\nfunction LegalContract({\r\n isLoading,\r\n facilityDisplayName,\r\n facilityFullAddress,\r\n memberIdGuid,\r\n readOnly,\r\n membersAFFacilityWithinProgramEnrollment,\r\n getMemberLegalContractInfo,\r\n handleSubmit,\r\n programPaymentType,\r\n facilityAFNumber,\r\n documentAgreementVersion,\r\n formValues,\r\n history,\r\n change,\r\n partnerID,\r\n agreementDate,\r\n isDepositInfoVisible }) {\r\n useEffect(() => {\r\n if (!membersAFFacilityWithinProgramEnrollment) {\r\n getMemberLegalContractInfo(memberIdGuid);\r\n }\r\n }, [memberIdGuid]);\r\n const { gmrAddProgram, gmAccessPassFeature } = useFlags();\r\n const forms = gmrAddProgram && gmAccessPassFeature ? [] : [{ title: legalContractResources.legalContractTitleKeyfobStep, formComponent: KeyfobForm }];\r\n if (gmrAddProgram) {\r\n if (programPaymentType === programPaymentTypes.partnerMemberPaid) {\r\n forms.push({\r\n title: legalContractResources.legalContractTitleWithdrawalDetailsStep, formComponent: BankingInfoStepForm,\r\n formParams: {\r\n bankAccountModelName: legalContractResources.withdrawalFromBankAccountModelName,\r\n operationTypeID: bankOperationTypes.Debit,\r\n description: BankingInfoResources.descriptionForWithdrawalBankingInfo\r\n }\r\n });\r\n forms.push({ title: legalContractResources.legalContractTitlePaymentDetailsStep, formComponent: GMSPPaymentDetailsForm, formParams: { partnerID, agreementDate } });\r\n };\r\n if (programPaymentType === programPaymentTypes.memberPaid) {\r\n forms.push({\r\n title: legalContractResources.legalContractTitleWithdrawalDetailsStep, formComponent: BankingInfoStepForm,\r\n formParams: {\r\n bankAccountModelName: legalContractResources.withdrawalFromBankAccountModelName,\r\n operationTypeID: bankOperationTypes.Debit,\r\n description: BankingInfoResources.descriptionForWithdrawalBankingInfo\r\n }\r\n });\r\n if (isDepositInfoVisible) {\r\n const setWithdrawalFromBankAccountInfo = () => {\r\n if (formValues) {\r\n change(legalContractResources.formNameLegalContract, legalContractResources.depositToBankAccountModelName, formValues.get(legalContractResources.withdrawalFromBankAccountModelName));\r\n }\r\n };\r\n forms.push({\r\n title: legalContractResources.legalContractTitleDepositDetailsStep, formComponent: BankingInfoStepForm,\r\n formParams: {\r\n bankAccountModelName: legalContractResources.depositToBankAccountModelName,\r\n operationTypeID: bankOperationTypes.Credit,\r\n setBankAccountInfo: setWithdrawalFromBankAccountInfo,\r\n description: BankingInfoResources.descriptionForWithdrawalBankingInfo\r\n }\r\n });\r\n }\r\n forms.push({ title: legalContractResources.legalContractTitlePaymentDetailsStep, formComponent: GMRPaymentDetailsForm, formParams: { partnerID, agreementDate } });\r\n }\r\n };\r\n forms.push({ title: legalContractResources.legalContractTitleAgreementStep, formComponent: AgreementForm, formParams: { programPaymentType, facilityAFNumber } });\r\n return isLoading || (readOnly && !documentAgreementVersion)\r\n ? \r\n :
    \r\n
    \r\n {\r\n history\r\n ?
    {\r\n history.push(routes.facilityLocator.path);\r\n }}>\r\n \r\n
    \r\n : <>\r\n }\r\n

    {format(legalContractResources.legalCotractTitleFormat, handleSubmit ? legalContractResources.legalCotractTitleEnroll : legalContractResources.legalCotractTitleEnrolled, facilityDisplayName)}

    \r\n
    \r\n {\r\n facilityFullAddress ?\r\n
    \r\n \r\n
    \r\n : <>\r\n }\r\n {\r\n readOnly ?\r\n \r\n : \r\n }\r\n
    ;\r\n}\r\n\r\nLegalContract.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n getMemberLegalContractInfo: PropTypes.func.isRequired,\r\n membersAFFacilityWithinProgramEnrollment: PropTypes.object.isRequired,\r\n handleSubmit: PropTypes.func,\r\n memberIdGuid: PropTypes.string.isRequired,\r\n readOnly: PropTypes.bool.isRequired,\r\n facilityDisplayName: PropTypes.string,\r\n facilityFullAddress: PropTypes.string,\r\n programPaymentType: PropTypes.number,\r\n facilityAFNumber: PropTypes.string.isRequired,\r\n documentAgreementVersion: PropTypes.number,\r\n formValues: PropTypes.object,\r\n history: PropTypes.object,\r\n change: PropTypes.func,\r\n partnerID: PropTypes.number,\r\n agreementDate: PropTypes.string,\r\n isDepositInfoVisible: PropTypes.bool\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getMemberLegalContractInfo,\r\n change\r\n};\r\n\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default connectStateToProps(LegalContract);","import http from '../../http/base';\r\nimport { API_PATHS } from '../../http/configs';\r\n\r\nexport default {\r\n getMemberHasActiveFacilityEnrollments: membersGuids => http.get(API_PATHS.memberHasActiveFacilityEnrollments, { params: { membersGuids } }),\r\n getMemberInvalidations: membersGuids => http.get(API_PATHS.getMemberInvalidations, { params: { membersGuids } })\r\n};","import * as types from './memberAreaTypes';\r\nimport MemberAreaService from './memberAreaService';\r\nimport * as loadingActions from '../Loading/loadingActions';\r\nimport * as legalContractService from '../MemberProfile/FacilityInfo/LegalContract/legalContractService';\r\n\r\n\r\nconst setMemberHasActiveFacilityEnrollments = memberHasActiveFacilityEnrollments => ({\r\n type: types.SET_MEMBER_HAS_ACTIVE_FACILITY_ENROLLMENTS,\r\n payload: { memberHasActiveFacilityEnrollments }\r\n});\r\n\r\nconst setMemberInvalidations = memberInvalidations => ({ type: types.SET_MEMBER_INVALIDATIONS, payload: { memberInvalidations } });\r\n\r\nexport const checkIfMemberHasActiveFacilityEnrollments = membersGuids => (dispatch, getState) => {\r\n dispatch(loadingActions.setLoading(types.CHECK_MEMBER_HAS_ACTIVE_FACILITY_ENROLLMENTS));\r\n\r\n return MemberAreaService.getMemberHasActiveFacilityEnrollments(membersGuids)\r\n .then((memberHasActiveFacilityEnrollments) => {\r\n dispatch(setMemberHasActiveFacilityEnrollments(memberHasActiveFacilityEnrollments));\r\n })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.CHECK_MEMBER_HAS_ACTIVE_FACILITY_ENROLLMENTS)));\r\n};\r\n\r\nexport const getMemberInvalidations = membersGuids => (dispatch) => {\r\n dispatch(loadingActions.setLoading(types.GET_MEMBER_INVALIDATIONS));\r\n\r\n return MemberAreaService.getMemberInvalidations(membersGuids)\r\n .then((membersInvalidations) => {\r\n dispatch(setMemberInvalidations(membersInvalidations));\r\n })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.GET_MEMBER_INVALIDATIONS)));\r\n};\r\n\r\nexport const resignMemberLegalContract = memberLegalContract => (dispatch) => {\r\n dispatch(loadingActions.setLoading(types.RESIGN_MEMBER_LEGAL_CONTRACT));\r\n\r\n return legalContractService.createMemberLegalContract(memberLegalContract)\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.RESIGN_MEMBER_LEGAL_CONTRACT));\r\n });\r\n};\r\n","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport Spinner from '../../../../components/Spinner/Spinner';\r\nimport selectors from './facilityEnrollmentPageSelectors';\r\nimport { enrollIntoAFFacilityWithinProgram } from './facilityEnrollmentPageActions';\r\nimport { getFacility } from '../../../Facilities/facilityActions';\r\nimport LegalContract from '../LegalContract/LegalContract';\r\nimport routes from '../../../../routing/routes';\r\nimport { checkIfMemberHasActiveFacilityEnrollments } from '../../../MemberArea/memberAreaActions';\r\nimport bankOperationTypes from '../../../../enums/bankOperationTypes';\r\n\r\nfunction FacilityEnrollmentPage({\r\n history,\r\n match,\r\n isLoading,\r\n enrollIntoAFFacilityWithinProgram,\r\n getFacility,\r\n membersIds,\r\n facilityDescription,\r\n facilityId,\r\n checkIfMemberHasActiveFacilityEnrollments,\r\n facilityAFNumber }) {\r\n useEffect(() => {\r\n getFacility(match.params.facilityId);\r\n }, [match.params.facilityId]);\r\n const handleSubmit = (legalcontractmodel) => {\r\n const membersaffacilitywithinprogramenrollment = legalcontractmodel.toJS();\r\n membersaffacilitywithinprogramenrollment.facilityId = facilityId;\r\n membersaffacilitywithinprogramenrollment.MemberIds = membersIds;\r\n membersaffacilitywithinprogramenrollment.OperationTypeID = bankOperationTypes.Debit;\r\n return enrollIntoAFFacilityWithinProgram(membersaffacilitywithinprogramenrollment)\r\n .then(() => {\r\n checkIfMemberHasActiveFacilityEnrollments(membersIds).then(() => {\r\n history.push(routes.facilityInformation.path);\r\n });\r\n });\r\n };\r\n return isLoading\r\n ? \r\n :
    \r\n \r\n
    ;\r\n}\r\n\r\nFacilityEnrollmentPage.propTypes = {\r\n history: PropTypes.object.isRequired,\r\n match: PropTypes.object.isRequired,\r\n isLoading: PropTypes.bool.isRequired,\r\n enrollIntoAFFacilityWithinProgram: PropTypes.func.isRequired,\r\n getFacility: PropTypes.func.isRequired,\r\n membersIds: PropTypes.array.isRequired,\r\n checkIfMemberHasActiveFacilityEnrollments: PropTypes.func.isRequired,\r\n facilityDescription: PropTypes.string,\r\n facilityId: PropTypes.number,\r\n facilityAFNumber: PropTypes.string\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n enrollIntoAFFacilityWithinProgram,\r\n getFacility,\r\n checkIfMemberHasActiveFacilityEnrollments,\r\n};\r\n\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default connectStateToProps(FacilityEnrollmentPage);","import * as loadingActions from '../../../Loading/loadingActions';\r\nimport * as facilityEnrollmentPageService from './facilityEnrollmentPageService';\r\nimport * as types from './facilityEnrollmentPageTypes';\r\n\r\nexport function enrollIntoAFFacilityWithinProgram(membersAFFacilityWithinProgramEnrollment)\r\n{\r\n return function(dispatch) {\r\n dispatch(loadingActions.setLoading(types.ENROLL_MEMBER_IN_FACILITTY));\r\n return facilityEnrollmentPageService.enrollIntoAFFacilityWithinProgram(membersAFFacilityWithinProgramEnrollment)\r\n .finally(()=>dispatch(loadingActions.unsetLoading(types.ENROLL_MEMBER_IN_FACILITTY)));\r\n };\r\n}","import http from '../../../../http/base';\r\nimport { API_PATHS } from '../../../../http/configs';\r\n\r\nexport function enrollIntoAFFacilityWithinProgram(membersAFFacilityWithinProgramEnrollment)\r\n{\r\n return http.post(API_PATHS.enrollIntoAFFacilityWithinProgram, membersAFFacilityWithinProgramEnrollment);\r\n}","import { createSelector } from 'reselect';\r\n\r\nconst getSelectedMemberGroup = state => state.app.get('selectedMemberGroup');\r\nconst getFacility = state => state.facilityReducer.get('facility');\r\n\r\nconst getFirstMembersGuid = createSelector(\r\n [getSelectedMemberGroup],\r\n (selectedMemberGroup) =>\r\n {\r\n return selectedMemberGroup.membersIds[0];\r\n });\r\n\r\nconst getFacilityDescription = createSelector(\r\n [getFacility],\r\n (facility) => {\r\n return facility.get('description');\r\n }\r\n);\r\n\r\nconst getFacilityAFNumber = createSelector(\r\n [getFacility],\r\n (facility) => {\r\n return facility.get('afNumber');\r\n }\r\n);\r\n\r\nconst getIsLoading = createSelector(\r\n [ getFacilityDescription,\r\n getFacilityAFNumber\r\n ],\r\n (\r\n facilityDescription,\r\n facilityAFNumber\r\n ) => (\r\n !facilityDescription || !facilityAFNumber\r\n ));\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n getFirstMembersGuid,\r\n getFacilityDescription,\r\n getFacilityAFNumber\r\n ],\r\n (\r\n isLoading,\r\n firstMembersGuid,\r\n facilityDescription,\r\n facilityAFNumber\r\n ) => (\r\n {\r\n isLoading,\r\n firstMembersGuid,\r\n facilityDescription,\r\n facilityAFNumber\r\n }));\r\n\r\n","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport LegalContract from '../LegalContract/LegalContract';\r\nimport selectors from './memberLegalContractPageSelectors';\r\nimport { connect } from 'react-redux';\r\nimport { getMemberFacility } from '../../../Facilities/facilityActions';\r\nimport Spinner from '../../../../components/Spinner/Spinner';\r\n\r\nfunction MemberLegalContractPage({\r\n isLoading,\r\n firstMembersGuid,\r\n getMemberFacility,\r\n facilityDescription,\r\n facilityAFNumber }) {\r\n useEffect(() => {\r\n getMemberFacility(firstMembersGuid);\r\n }, [firstMembersGuid]);\r\n return isLoading\r\n ? \r\n :
    \r\n \r\n
    ;\r\n}\r\n\r\nMemberLegalContractPage.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n firstMembersGuid: PropTypes.string.isRequired,\r\n getMemberFacility: PropTypes.func.isRequired,\r\n facilityDescription: PropTypes.string,\r\n facilityAFNumber: PropTypes.string\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getMemberFacility\r\n};\r\n\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default connectStateToProps(MemberLegalContractPage);","import { createSelector } from 'reselect';\r\nimport roles from '../../enums/roles';\r\nimport routes from '../../routing/routes';\r\n\r\nconst getMe = state => state.app.get('me');\r\nexport const getSelectedMemberGroup = state => state.app.get('selectedMemberGroup');\r\nconst getAbreviatedName = createSelector([getSelectedMemberGroup],\r\n selectedMemberGroup => (selectedMemberGroup.abbreviatedName ? selectedMemberGroup.abbreviatedName.replace(' ', '') : ''));\r\n\r\nconst getPortalDashboardLink = createSelector(\r\n [getMe],\r\n (me) => {\r\n if (!me) {\r\n return;\r\n }\r\n switch (me.role) {\r\n case roles.member:\r\n return routes.memberArea.path;\r\n case roles.partnerManager:\r\n return routes.partnerManagerArea.path;\r\n default:\r\n return null;\r\n }\r\n }\r\n);\r\n\r\nexport default createSelector(\r\n [getMe, getSelectedMemberGroup, getPortalDashboardLink, getAbreviatedName],\r\n (me, selectedMemberGroup, portalDashboardLink, abbreviatedName) => ({\r\n me, selectedMemberGroup, portalDashboardLink, abbreviatedName\r\n })\r\n);","const loginResources = {\r\n loginButtonText: 'Log in',\r\n linkForgotUsername: 'Forgot username?',\r\n linkForgotPassword: 'Forgot password?',\r\n facilitySignupButtonId: 'facilitySignupButtonId',\r\n facilitySignupButtonText: 'facility signup',\r\n memberSignupButtonText: 'member signup',\r\n labelUsernameOrEmail: 'Username or Email',\r\n labelPassword: 'Password',\r\n title: 'Log in',\r\n fieldNameUserName: 'userName',\r\n fieldNamePassword: 'password',\r\n loginDataForm: 'loginDataForm',\r\n signupText: 'Don’t have an account yet?',\r\n isLoginPopupOpenParamName: 'isLoginPopupOpen',\r\n errorParamName: 'error',\r\n redirectUrlParamName: 'redirectUrl',\r\n memberSignupButtonId: 'memberSignupButtonId',\r\n cancelButtonId: 'cancelButtonId',\r\n loginButtonId: 'loginButtonId'\r\n};\r\nexport default loginResources;","import PropTypes from 'prop-types';\r\nimport { roleType } from '../enums/roles';\r\n\r\nexport const authUserType = PropTypes.shape({\r\n userId: PropTypes.number,\r\n role: roleType,\r\n fullName: PropTypes.string,\r\n memberGroups: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n fullName: PropTypes.string\r\n })\r\n )\r\n});\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { API_PATHS } from '../../http/configs';\r\nimport selectors from './headerSelectors';\r\nimport { connect } from 'react-redux';\r\nimport { authUserType } from '../../propTypes/customTypes';\r\nimport routes from '../../routing/routes';\r\nimport CustomLink from '../controls/CustomLink';\r\n\r\nfunction GuestHeaderNavList({ isMobile, me, portalDashboardLink }) {\r\n\r\n return (\r\n
      \r\n {me && me.role &&
    • \r\n {portalDashboardLink ?\r\n \r\n dashboard\r\n \r\n :\r\n \r\n dashboard\r\n \r\n }\r\n
    • \r\n }\r\n {isMobile &&
    • \r\n \r\n home page\r\n \r\n
    • }\r\n
    • \r\n \r\n for facilities\r\n \r\n
    • \r\n
    • \r\n \r\n for employers\r\n \r\n
    • \r\n
    • \r\n \r\n for insurers\r\n \r\n
    • \r\n
    • \r\n \r\n for members\r\n \r\n
    • \r\n
    • \r\n \r\n about us\r\n \r\n
    • \r\n
    \r\n );\r\n}\r\n\r\nGuestHeaderNavList.propTypes = {\r\n me: authUserType,\r\n isMobile: PropTypes.bool.isRequired,\r\n portalDashboardLink: PropTypes.string\r\n\r\n};\r\nexport default connect(selectors, null)(GuestHeaderNavList);","import React, { useState, useEffect, useRef } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport selectors from './headerSelectors';\r\nimport actions from '../../features/App/actions';\r\nimport { API_PATHS } from '../../http/configs';\r\nimport { authUserType } from '../../propTypes/customTypes';\r\nimport routes from '../../routing/routes';\r\nimport MaterialIcon from '../MaterialIcon/MaterialIcon';\r\nimport Image from '../Image/Image';\r\nimport { setIsLoginPopupOpen } from '../Login/loginActions';\r\nimport { isMobileSize } from '../../utilities/windowSize';\r\nimport loginResources from '../Login/loginResources';\r\nimport GuestHeaderNavList from './GuestHeaderNavList';\r\nimport CustomLink from '../controls/CustomLink';\r\nimport { isStatic } from '../../utilities/next';\r\n\r\nfunction HeaderPublic({ selectedMemberGroup, me, changeSelectedMemberGroup, setIsLoginPopupOpen, abbreviatedName }) {\r\n const [isNavigationMenuExpanded, setIsNavigationMenuExpanded] = useState(false);\r\n const [isAccountMenuExpanded, setIsAccountMenuExpanded] = useState(false);\r\n const isMobile = !isStatic() && isMobileSize();\r\n\r\n useEffect(() => {\r\n if (!isMobile) {\r\n setIsNavigationMenuExpanded(false);\r\n }\r\n }, [isMobile]);\r\n\r\n const headerProfileLinkRef = useRef();\r\n\r\n const handleWindowClick = function (e) {\r\n if (headerProfileLinkRef.current && !headerProfileLinkRef.current.contains(e.target)) {\r\n setIsAccountMenuExpanded(false);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n window.addEventListener('click', handleWindowClick);\r\n return () => { window.removeEventListener('click', handleWindowClick); };\r\n }, []);\r\n\r\n const memberGroupsClickHandler = (group) => {\r\n setIsAccountMenuExpanded(false);\r\n changeSelectedMemberGroup(group);\r\n };\r\n\r\n const logoutClickHandler = (e) => {\r\n e.preventDefault();\r\n setIsAccountMenuExpanded(false);\r\n window.location.href = API_PATHS.logout;\r\n };\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \"Healthy\r\n \r\n \r\n {\r\n !isMobile || (isMobile && isNavigationMenuExpanded) ?\r\n \r\n : <>\r\n }\r\n
    \r\n {me && me.role ?\r\n <>\r\n
    \r\n
    setIsAccountMenuExpanded(!isAccountMenuExpanded)}\r\n >{abbreviatedName}
    \r\n {\r\n isAccountMenuExpanded\r\n ?
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    {abbreviatedName}
    \r\n {selectedMemberGroup.fullName}\r\n
    \r\n {\r\n me.memberGroups && me.memberGroups.length > 1\r\n ?
    \r\n {\r\n me.memberGroups.map((group, i) =>\r\n memberGroupsClickHandler(group)} key={i}\r\n >\r\n {group.fullName}\r\n \r\n )\r\n }\r\n
    \r\n : <>\r\n }\r\n \r\n
    \r\n : <>\r\n }\r\n
    \r\n \r\n :\r\n \r\n }\r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n}\r\n\r\nHeaderPublic.propTypes = {\r\n selectedMemberGroup: PropTypes.shape({\r\n fullName: PropTypes.string,\r\n }),\r\n me: authUserType,\r\n changeSelectedMemberGroup: PropTypes.func,\r\n setIsLoginPopupOpen: PropTypes.func,\r\n abbreviatedName: PropTypes.string\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n setIsLoginPopupOpen,\r\n ...actions\r\n};\r\n\r\nexport default connect(selectors, mapDispatchToProps)(HeaderPublic);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './_topbar.scss';\r\n\r\nfunction Topbar({ topbarContent }) {\r\n if (!topbarContent) {\r\n return false;\r\n }\r\n return
    \r\n
    \r\n {React.createElement(topbarContent)}\r\n
    \r\n
    ;\r\n};\r\n\r\nTopbar.propTypes = {\r\n topbarContent: PropTypes.object\r\n};\r\n\r\nexport default Topbar;","export const PRIVACY_NOTICE = 'Privacy Notice';","import { PRIVACY_NOTICE } from '../../constants/legal';\r\n\r\nconst footerResources = {\r\n linkNameForFacilities: 'For Facilities',\r\n linkNameForEmployers: 'For Employers',\r\n linkNameForPartner: 'Keyfob',\r\n linkNameForMembers: 'For Members',\r\n linkNameForInsurers: 'For Insurers',\r\n linkNameAbout: 'About us',\r\n linkNamePrivacyNotice: PRIVACY_NOTICE,\r\n linkNameConsumerHealthPrivacyNotice: 'Consumer Health Privacy Notice',\r\n linkNameTermsOfUse: 'Terms of Use',\r\n headerAllyant: 'Reviewed by Allyant',\r\n sectionNameSolutions: 'Solutions',\r\n sectionNameContact: 'Contact',\r\n sectionNameLegal: 'Legal',\r\n linkNameAccessibilityAndMaintenance: 'Accessibility & Maintenance',\r\n linkSiteMap: 'Site Map',\r\n};\r\nexport default footerResources;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport MaterialIcon from '../MaterialIcon/MaterialIcon';\r\n\r\nfunction FooterMenuItem({ id, description, active, children }) {\r\n const defaultClassName = 'footer-menu-item';\r\n const activeClassName = `${defaultClassName}--active`;\r\n const divId = `${id}-header`;\r\n const listId = `${id}-list`;\r\n\r\n const divRef = React.useRef();\r\n\r\n const [isActive, setActive] = React.useState(active);\r\n\r\n const handleKeypress = (e) => {\r\n // keyboard enter (13) and space (32) for keyboard users\r\n if (e.keyCode === 13 || e.keyCode === 32) {\r\n e.preventDefault();\r\n\r\n divRef.current.click();\r\n }\r\n };\r\n\r\n return (\r\n
  • \r\n

    \r\n
    setActive(!isActive)}\r\n role=\"button\"\r\n tabIndex=\"0\"\r\n onKeyUp={handleKeypress}\r\n aria-controls={listId} aria-expanded={isActive ? 'true' : 'false'}\r\n >\r\n \r\n \r\n
    \r\n

    \r\n {children}\r\n
  • \r\n );\r\n}\r\n\r\nFooterMenuItem.propTypes = {\r\n id: PropTypes.string.isRequired,\r\n description: PropTypes.string.isRequired,\r\n active: PropTypes.bool,\r\n children: PropTypes.element.isRequired,\r\n};\r\n\r\nexport default FooterMenuItem;","import React from 'react';\r\nimport routes from '../../../routing/routes';\r\nimport allyant from '../allyant.png';\r\nimport { API_PATHS } from '../../../http/configs';\r\nimport footerResources from '../footerResources';\r\nimport Image from '../../Image/Image';\r\nimport FooterMenuItem from '../FooterMenuItem';\r\nimport { HEALTHY_CONTRIBUTIONS_LEGAL_NAME } from '../../../constants/companyNames';\r\nimport CustomLink from '../../controls/CustomLink';\r\n\r\nfunction FooterPublic() {\r\n const solutionsSubMenuId = 'solutionsSubMenu';\r\n const contactSubMenuId = 'contactSubMenu';\r\n const legalSubMenuId = 'legalSubMenu';\r\n return (\r\n
    \r\n
    \r\n
    \r\n
    \r\n
      \r\n \r\n
        \r\n
      • \r\n \r\n {footerResources.linkNameForFacilities}\r\n \r\n
      • \r\n
      • \r\n \r\n {footerResources.linkNameForEmployers}\r\n \r\n
      • \r\n
      • \r\n \r\n {footerResources.linkNameForMembers}\r\n \r\n
      • \r\n
      • \r\n \r\n {footerResources.linkNameForInsurers}\r\n \r\n
      • \r\n
      \r\n
      \r\n \r\n
        \r\n
      • \r\n \r\n {footerResources.linkNameAbout}\r\n \r\n
      • \r\n
      \r\n
      \r\n \r\n
        \r\n
      • \r\n \r\n {footerResources.linkNamePrivacyNotice}\r\n \r\n
      • \r\n
      • \r\n \r\n {footerResources.linkNameConsumerHealthPrivacyNotice}\r\n \r\n
      • \r\n
      • \r\n \r\n {footerResources.linkNameTermsOfUse}\r\n \r\n
      • \r\n
      • \r\n \r\n {footerResources.linkNameAccessibilityAndMaintenance}\r\n \r\n
      • \r\n
      \r\n
      \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \"Healthy\r\n \r\n
    \r\n Copyright © {new Date().getFullYear()} {HEALTHY_CONTRIBUTIONS_LEGAL_NAME}. All rights reserved.\r\n
    \r\n
    \r\n
    Cookie Settings' }} />\r\n
    \r\n
    \r\n
    \r\n {footerResources.headerAllyant}\r\n
    \r\n \r\n \"Reviewed\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n}\r\n\r\nexport default FooterPublic;\r\n","export const HEALTHY_CONTRIBUTIONS_LEGAL_NAME_WITH_COPYRIGHT = 'Healthy Contributions SPV® LLC';\r\nexport const HEALTHY_CONTRIBUTIONS_LEGAL_NAME = 'Healthy Contributions SPV LLC';\r\nexport const HEALTHY_CONTRIBUTIONS_NAME = 'Healthy Contributions';","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { NavLink } from 'react-router-dom';\r\nimport Icon from '../Icon/Icon';\r\n\r\nconst SidebarItem = ({ icon, displayName, path }) => (\r\n \r\n {icon && }\r\n {displayName}\r\n \r\n);\r\n\r\nSidebarItem.propTypes = {\r\n path: PropTypes.string,\r\n displayName: PropTypes.string,\r\n icon: PropTypes.element,\r\n};\r\n\r\nexport default SidebarItem;\r\n","const prefix = 'sidebar__';\r\nconst SidebarResources = {\r\n defaultToggleBtnClassName: `${prefix}toggle-btn`,\r\n defaultIconBtnClassName: `${prefix}chevron_icon-button`,\r\n containerClassName: `${prefix}container`,\r\n tooltipClassName: `${prefix}tooltip`,\r\n itemsClassName: `${prefix}items`,\r\n iconClassName: `${prefix}chevron-icon`\r\n};\r\nexport default SidebarResources;","import React, { useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport SidebarItem from './SidebarItem';\r\nimport { routeType } from '../../routing/routes';\r\nimport './_sidebar.scss';\r\nimport ToolTip from '../controls/ToolTip';\r\nimport classNames from 'classnames';\r\nimport MaterialIcon from '../MaterialIcon/MaterialIcon';\r\nimport SidebarResources from './SidebarResources';\r\nimport SharedResources from '../../features/Shared/resources';\r\n\r\nconst Sidebar = (props) => {\r\n let { filteredRoutes } = props;\r\n const [isActive, setIsActive] = useState(false);\r\n\r\n filteredRoutes = filteredRoutes.filter(\r\n route => !route.isHiddenOnUI\r\n );\r\n\r\n return (\r\n
    \r\n \r\n setIsActive(!isActive)}\r\n >\r\n \r\n \r\n \r\n
    \r\n {\r\n filteredRoutes.map((item, i) => (\r\n \r\n ))\r\n }\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nSidebar.propTypes = {\r\n isLoading: PropTypes.bool,\r\n filteredRoutes: PropTypes.arrayOf(routeType),\r\n match: PropTypes.object\r\n};\r\n\r\nexport default Sidebar;\r\n","import React, { Component } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './_error-boundary.scss';\r\n\r\nclass ErrorBoundary extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n error: null,\r\n info: null\r\n };\r\n }\r\n\r\n componentDidCatch(error, info) {\r\n this.setState({ error, info });\r\n }\r\n\r\n render() {\r\n if (this.state.error) {\r\n return (\r\n
    \r\n

    {this.state.error.message}

    \r\n
    \r\n );\r\n }\r\n return this.props.children;\r\n }\r\n}\r\n\r\n\r\nErrorBoundary.propTypes = {\r\n children: PropTypes.node,\r\n};\r\n\r\nexport default ErrorBoundary;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport 'react-confirm-alert/src/react-confirm-alert.css';\r\nimport './_custom-popup-body.scss';\r\nimport MaterialIcon from '../../MaterialIcon/MaterialIcon';\r\nimport { connect } from 'react-redux';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\n\r\nexport function CustomPopupBody({ onCancel, body, title, isLoading, subtitle, cancelButtonId }) {\r\n return isLoading ?\r\n
    \r\n \r\n
    \r\n :
    \r\n {onCancel ?\r\n \r\n : <>\r\n }\r\n
    \r\n {title &&

    \r\n {title}\r\n

    }\r\n {subtitle &&

    \r\n {subtitle}\r\n

    }\r\n
    \r\n {body}\r\n
    ;\r\n};\r\n\r\nCustomPopupBody.propTypes = {\r\n onCancel: PropTypes.func,\r\n onConfirm: PropTypes.func,\r\n onLogin: PropTypes.func,\r\n dispatch: PropTypes.func,\r\n loginHandler: PropTypes.func,\r\n body: PropTypes.object.isRequired,\r\n title: PropTypes.string,\r\n isLoading: PropTypes.bool,\r\n subtitle: PropTypes.string,\r\n cancelButtonId: PropTypes.string\r\n};\r\n\r\nexport default connect()(CustomPopupBody);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport ReactConfirmAlert from 'react-confirm-alert';\r\nimport { CustomPopupBody } from './CustomPopupBody';\r\n\r\nfunction CustomPopup({ showPopup, body, title, onCancel, isLoading, subtitle, closeOnClickOutside, cancelButtonId, overlayClassName }) {\r\n return showPopup ?\r\n { }}\r\n customUI={() =>\r\n }\r\n overlayClassName={overlayClassName}\r\n />\r\n : <>;\r\n}\r\n\r\nCustomPopup.propTypes = {\r\n showPopup: PropTypes.bool.isRequired,\r\n body: PropTypes.object.isRequired,\r\n onCancel: PropTypes.func,\r\n title: PropTypes.string,\r\n isLoading: PropTypes.bool,\r\n subtitle: PropTypes.string,\r\n closeOnClickOutside: PropTypes.bool,\r\n cancelButtonId: PropTypes.string,\r\n overlayClassName: PropTypes.string\r\n};\r\n\r\nexport default CustomPopup;","import validationRules from '../../utilities/validationRules';\r\nimport loginResources from './loginResources';\r\n\r\nexport const userNameOrEmailRequired = validationRules.required(\r\n loginResources.labelUsernameOrEmail\r\n);\r\n\r\nexport const passwordRequired = validationRules.required(\r\n loginResources.labelPassword\r\n);\r\n\r\n","import http from '../../http/base';\r\nimport { API_PATHS } from '../../http/configs';\r\nimport routes from '../../routing/routes';\r\n\r\nconst returnUrl = routes.home.path.concat('?isLoginPopupOpen=true');\r\n\r\nexport function forgotPassword(userName, captchaToken) {\r\n return http.post(API_PATHS.resetPassword, null, { params: { userName, returnUrl }, headers: { 'g-recaptcha-response': captchaToken } });\r\n}\r\n\r\nexport function resend(userName, isCaptchaValid) {\r\n return http.post(API_PATHS.resetPassword, null, { params: { userName, returnUrl, isCaptchaValid } });\r\n}\r\n","import * as types from './forgotPasswordTypes';\r\nimport * as forgotPasswordService from './forgotPasswordService';\r\nimport * as loadingActions from '../../features/Loading/loadingActions';\r\n\r\nexport const setIsForgotPasswordPopupOpen = isForgotPasswordPopupOpen => ({\r\n type: types.SET_IS_FORGOT_PASSWORD_POPUP_OPEN,\r\n isForgotPasswordPopupOpen\r\n});\r\n\r\nexport const setIsForgotPasswordResultPopupOpen = isForgotPasswordResultPopupOpen => ({\r\n type: types.SET_IS_FORGOT_PASSWORD_RESULT_POPUP_OPEN,\r\n isForgotPasswordResultPopupOpen\r\n});\r\n\r\nexport const setUsername = username => ({\r\n type: types.SET_USERNAME,\r\n username\r\n});\r\n\r\nexport function forgotPassword(username, captchaToken) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.FORGOT_PASSWORD));\r\n return forgotPasswordService.forgotPassword(username, captchaToken)\r\n .then((result) => {\r\n if (result.success) {\r\n dispatch(setUsername(username));\r\n dispatch(setIsForgotPasswordPopupOpen(false));\r\n dispatch(setIsForgotPasswordResultPopupOpen(true));\r\n }\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.FORGOT_PASSWORD));\r\n });\r\n\r\n };\r\n}\r\n\r\nexport function resend(username) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.RESEND));\r\n return forgotPasswordService.resend(username, true)\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.RESEND)));\r\n };\r\n}\r\n","import React, { useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './_login.scss';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport FormGroup from '../controls/FormGroup';\r\nimport { defaultFormProperties } from '../../utilities/form';\r\nimport * as validationRules from './loginValidations';\r\nimport { MuiInputText } from '../controls/MuiInputText';\r\nimport loginResources from './loginResources';\r\nimport Button from '../../components/controls/Button';\r\nimport { setIsForgotPasswordPopupOpen } from '../ForgotPassword/forgotPasswordActions';\r\nimport { setIsLoginPopupOpen } from './loginActions';\r\nimport { connect } from 'react-redux';\r\n\r\nfunction LoginDataForm({ pristine, submitting, handleSubmit, setIsForgotPasswordPopupOpen, setIsLoginPopupOpen }) {\r\n const [passwordInputDisabled, setPasswordInputDisabled] = useState(true);\r\n const forgotPasswordHandler = () => {\r\n setIsLoginPopupOpen(false);\r\n setIsForgotPasswordPopupOpen(true);\r\n };\r\n\r\n return
    \r\n \r\n
    \r\n setPasswordInputDisabled(false)}\r\n autoFocus\r\n required\r\n autocompleteType=\"username\"\r\n />\r\n setPasswordInputDisabled(false)}\r\n required\r\n autocompleteType=\"current-password\"\r\n />\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n {loginResources.linkForgotPassword}\r\n \r\n
    \r\n
    \r\n
    \r\n
    ;\r\n};\r\n\r\nLoginDataForm.propTypes = {\r\n handleSubmit: PropTypes.func.isRequired,\r\n pristine: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n setIsForgotPasswordPopupOpen: PropTypes.func.isRequired,\r\n setIsLoginPopupOpen: PropTypes.func.isRequired\r\n};\r\n\r\n\r\nconst mapDispatchToProps = {\r\n setIsForgotPasswordPopupOpen,\r\n setIsLoginPopupOpen\r\n};\r\n\r\nconst connectStateToProps = connect(null, mapDispatchToProps);\r\n\r\nexport default reduxForm({\r\n form: loginResources.loginDataForm,\r\n ...defaultFormProperties\r\n})(connectStateToProps(LoginDataForm));\r\n","import { createSelector } from 'reselect';\r\nimport { LOGIN } from './loginTypes';\r\n\r\nexport const getIsLoginPopupOpen = (state) => {\r\n return state.loginReducer.get('isLoginPopupOpen');\r\n};\r\n\r\nexport const getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i => i === LOGIN\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\n\r\nexport const getRedirectUrl = (state) => {\r\n return state.loginReducer.get('redirectUrl');\r\n};\r\n\r\nexport default createSelector([getIsLoginPopupOpen, getIsLoading, getRedirectUrl], (isLoginPopupOpen, isLoading, redirectUrl) => ({\r\n isLoginPopupOpen,\r\n isLoading,\r\n redirectUrl\r\n}));\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './_login.scss';\r\nimport loginResources from './loginResources';\r\nimport Button from '../../components/controls/Button';\r\nimport { API_PATHS } from '../../http/configs';\r\nimport LoginDataForm from './LoginDataForm';\r\nimport { connect } from 'react-redux';\r\nimport { login } from './loginActions';\r\nimport selectors from './loginSelectors';\r\n\r\nexport function LoginBody({ closePopup, login, redirectUrl, signupButtonRef }) {\r\n const facilityEnrollmentHandler = () => {\r\n closePopup();\r\n window.location = API_PATHS.facilityEnrollment;\r\n };\r\n const memberEnrollmentHandler = () => {\r\n closePopup();\r\n window.location = API_PATHS.memberEnrollment;\r\n };\r\n\r\n return
    \r\n
    \r\n {login(loginData, redirectUrl);}} />\r\n
    \r\n
    \r\n
    \r\n

    \r\n {loginResources.signupText}\r\n

    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    ;\r\n};\r\n\r\nLoginBody.propTypes = {\r\n closePopup: PropTypes.func.isRequired,\r\n login: PropTypes.func.isRequired,\r\n redirectUrl: PropTypes.string,\r\n signupButtonRef: PropTypes.object\r\n};\r\n\r\nexport default connect(selectors, { login })(LoginBody);\r\n","import http from '../../http/base';\r\nimport { API_PATHS } from '../../http/configs';\r\n\r\nexport function login(loginData) {\r\n return http.post(API_PATHS.login, loginData);\r\n}\r\n","export function IsRedirectToAllowedSite(urlString, allowedSites) {\r\n const url = URL.parse(urlString);\r\n if (url === null) {\r\n return isValidPath(urlString);\r\n }\r\n return allowedSites.includes(url.origin);\r\n}\r\n\r\nconst isValidPath = (path) => {\r\n const validPathRegex = /^\\/?([A-Za-z0-9\\-._~!$&'()*+,;=:@]+\\/?)*$/;\r\n return validPathRegex.test(path);\r\n};","import React, { useCallback, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './_login.scss';\r\nimport { connect } from 'react-redux';\r\nimport { setIsLoginPopupOpen, showErrorAlert, setRedirectUrl } from './loginActions';\r\nimport CustomPopup from '../Popups/CustomPopup/CustomPopup';\r\nimport LoginBody from './LoginBody';\r\nimport loginResources from './loginResources';\r\nimport selectors from './loginSelectors';\r\nimport { useLocation } from 'react-router-dom';\r\nimport { IsRedirectToAllowedSite } from '../../utilities/urlHelper';\r\nimport { API_PATHS, BASE_URLS } from '../../http/configs';\r\nfunction LoginPopup({ isLoginPopupOpen, setIsLoginPopupOpen, isLoading, showErrorAlert, history, setRedirectUrl }) {\r\n const search = useLocation().search;\r\n const queryParams = new URLSearchParams(search);\r\n const showPopup = queryParams.get(loginResources.isLoginPopupOpenParamName) === 'true';\r\n const error = queryParams.get(loginResources.errorParamName);\r\n const redirectUrlParamValue = queryParams.get(loginResources.redirectUrlParamName);\r\n\r\n const signupButtonRef = React.useRef();\r\n\r\n const handleKeyPress = useCallback((e) => {\r\n const firstFocusableElement = document.getElementById(loginResources.cancelButtonId);\r\n\r\n const targetId = e.target.getAttribute('id');\r\n\r\n if (targetId === loginResources.cancelButtonId && e.key === 'Tab' && e.shiftKey) {\r\n e.preventDefault();\r\n\r\n if (signupButtonRef.current) {\r\n signupButtonRef.current.focus();\r\n }\r\n } else if (e.target && signupButtonRef.current && e.target === signupButtonRef.current && e.key === 'Tab' && !e.shiftKey) {\r\n e.preventDefault();\r\n\r\n if (firstFocusableElement) {\r\n firstFocusableElement.focus();\r\n }\r\n }\r\n }, []);\r\n\r\n const handleClose = () => {\r\n document.getElementById(loginResources.loginButtonId).focus();\r\n\r\n setIsLoginPopupOpen(false);\r\n };\r\n\r\n useEffect(() => {\r\n const redirectUrl = redirectUrlParamValue && IsRedirectToAllowedSite(redirectUrlParamValue, [BASE_URLS.HC_Site])\r\n ? redirectUrlParamValue\r\n : API_PATHS.HCDashboard;\r\n\r\n setRedirectUrl(redirectUrl);\r\n\r\n if (showPopup) {\r\n setIsLoginPopupOpen(showPopup);\r\n }\r\n\r\n if (error) {\r\n showErrorAlert(error);\r\n\r\n queryParams.delete(loginResources.errorParamName);\r\n\r\n history.replace({ search: queryParams.toString() });\r\n }\r\n\r\n window.addEventListener('keydown', handleKeyPress);\r\n\r\n return () => { window.removeEventListener('keydown', handleKeyPress); };\r\n }, []);\r\n\r\n return
    \r\n setIsLoginPopupOpen(false)} />}\r\n />\r\n
    ;\r\n}\r\n\r\nLoginPopup.propTypes = {\r\n isLoginPopupOpen: PropTypes.bool.isRequired,\r\n setIsLoginPopupOpen: PropTypes.func.isRequired,\r\n setRedirectUrl: PropTypes.func.isRequired,\r\n isLoading: PropTypes.bool.isRequired,\r\n showErrorAlert: PropTypes.func,\r\n history: PropTypes.object.isRequired,\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n setIsLoginPopupOpen,\r\n showErrorAlert,\r\n setRedirectUrl\r\n};\r\n\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\nexport default connectStateToProps(LoginPopup);","const forgotPasswordResources = {\r\n forgotButtonText: 'Send',\r\n labelUsername: 'Username',\r\n title: 'Forgot your password',\r\n fieldNameUsername: 'username',\r\n forgotPasswordDataForm: 'forgotPasswordDataForm',\r\n subtitle: 'Please enter your username to receive a link to reset your password.',\r\n resendButtonText: 'Resend',\r\n loginButtonText: 'Return to login',\r\n resultTitle: 'Reset password link sent',\r\n resultSubtitle: 'An email with a link to reset your password has been sent.',\r\n paramName: 'isForgotPasswordPopupOpen',\r\n cancelButtonId: 'cancelButtonId',\r\n loginButtonId: 'loginButtonId',\r\n sendButtonId: 'sendButtonId',\r\n userNameTextBoxId: 'userNameTextBoxId'\r\n};\r\nexport default forgotPasswordResources;","import validationRules from '../../utilities/validationRules';\r\nimport forgotPasswordResources from './forgotPasswordResources';\r\n\r\nexport const emailRequired = validationRules.required(\r\n forgotPasswordResources.labelUsername\r\n);\r\n\r\n","import { createSelector } from 'reselect';\r\nimport { FORGOT_PASSWORD, RESEND } from './forgotPasswordTypes';\r\n\r\nexport const getIsForgotPasswordPopupOpen = (state) => {\r\n return state.forgotPasswordReducer.get('isForgotPasswordPopupOpen');\r\n};\r\n\r\nexport const getIsForgotPasswordResultPopupOpen = (state) => {\r\n return state.forgotPasswordReducer.get('isForgotPasswordResultPopupOpen');\r\n};\r\n\r\nexport const getUsername = (state) => {\r\n return state.forgotPasswordReducer.get('username');\r\n};\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === FORGOT_PASSWORD || i === RESEND)\r\n .size;\r\n return size > 0;\r\n};\r\n\r\nexport default createSelector(\r\n [\r\n getIsForgotPasswordPopupOpen,\r\n getIsForgotPasswordResultPopupOpen,\r\n getUsername,\r\n getIsLoading,\r\n ],\r\n (isForgotPasswordPopupOpen, isForgotPasswordResultPopupOpen, username, isLoading) => ({\r\n isForgotPasswordPopupOpen,\r\n isForgotPasswordResultPopupOpen,\r\n username,\r\n isLoading,\r\n }));\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport ReCAPTCHA from 'react-google-recaptcha';\r\n\r\nfunction Captcha({ changeCaptchaHandler, captchaRef }) {\r\n return (\r\n \r\n );\r\n}\r\n\r\nCaptcha.propTypes = {\r\n changeCaptchaHandler: PropTypes.func.isRequired,\r\n captchaRef: PropTypes.object.isRequired\r\n};\r\n\r\nexport default Captcha;","import React, { useRef, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './_forgot-password.scss';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport FormGroup from '../controls/FormGroup';\r\nimport { defaultFormProperties } from '../../utilities/form';\r\nimport * as validationRules from './forgotPasswordValidations';\r\nimport { MuiInputText } from '../controls/MuiInputText';\r\nimport forgotPasswordResources from './forgotPasswordResources';\r\nimport Button from '../controls/Button';\r\nimport selectors from './forgotPasswordSelectors';\r\nimport { connect } from 'react-redux';\r\nimport Captcha from '../Captcha/Сaptcha';\r\nimport { forgotPassword } from './forgotPasswordActions';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\n\r\nfunction ForgotPasswordForm({ pristine, submitting, handleSubmit, forgotPassword, sendButtonRef, userNameTextBoxRef }) {\r\n const { useCaptcha } = useFlags();\r\n const captchaRef = useRef(null);\r\n const [captchaToken, setCaptchaToken] = useState(null);\r\n\r\n const changeCaptchaHandler = (captchaToken) => {\r\n setCaptchaToken(captchaToken);\r\n };\r\n\r\n const forgotPasswordHandler = (data) => {\r\n const username = data.get('username');\r\n forgotPassword(username, captchaToken).finally(() => {\r\n if (captchaRef.current != null) {\r\n captchaRef.current.reset();\r\n }\r\n });\r\n };\r\n\r\n return
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n {\r\n useCaptcha &&
    \r\n \r\n
    \r\n }\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    ;\r\n};\r\n\r\nForgotPasswordForm.propTypes = {\r\n pristine: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n forgotPassword: PropTypes.func.isRequired,\r\n handleSubmit: PropTypes.func.isRequired,\r\n sendButtonRef: PropTypes.object,\r\n userNameTextBoxRef: PropTypes.object\r\n};\r\n\r\nconst connectStateToProps = connect(selectors, { forgotPassword });\r\n\r\nexport default reduxForm({\r\n form: forgotPasswordResources.forgotPasswordDataForm,\r\n ...defaultFormProperties\r\n})(connectStateToProps(ForgotPasswordForm));\r\n","import React, { useCallback, useEffect, useRef } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { setIsForgotPasswordPopupOpen } from './forgotPasswordActions';\r\nimport CustomPopup from '../Popups/CustomPopup/CustomPopup';\r\nimport ForgotPasswordForm from './ForgotPasswordForm';\r\nimport forgotPasswordResources from './forgotPasswordResources';\r\nimport selectors from './forgotPasswordSelectors';\r\nimport { useLocation } from 'react-router-dom';\r\n\r\nfunction ForgotPasswordPopup({ isForgotPasswordPopupOpen, setIsForgotPasswordPopupOpen, isLoading }) {\r\n const search = useLocation().search;\r\n const queryParams = new URLSearchParams(search);\r\n const showPopup = queryParams.get(forgotPasswordResources.paramName);\r\n\r\n const sendButtonRef = useRef();\r\n const userNameTextBoxRef = useRef();\r\n const captchaRef = useRef();\r\n\r\n const handleKeyPress = useCallback((e) => {\r\n const firstFocusableElement = document.getElementById(forgotPasswordResources.cancelButtonId);\r\n\r\n const targetId = e.target.getAttribute('id');\r\n\r\n if (targetId === forgotPasswordResources.cancelButtonId && e.key === 'Tab' && e.shiftKey) {\r\n e.preventDefault();\r\n\r\n if (sendButtonRef.current) {\r\n sendButtonRef.current.focus();\r\n }\r\n } else if (e.target && sendButtonRef.current && e.target === sendButtonRef.current && e.key === 'Tab' && !e.shiftKey) {\r\n e.preventDefault();\r\n\r\n if (firstFocusableElement) {\r\n firstFocusableElement.focus();\r\n }\r\n }\r\n }, []);\r\n\r\n const handleClose = () => {\r\n document.getElementById(forgotPasswordResources.loginButtonId).focus();\r\n\r\n setIsForgotPasswordPopupOpen(false);\r\n };\r\n\r\n useEffect(() => {\r\n window.addEventListener('keydown', handleKeyPress);\r\n\r\n return () => { window.removeEventListener('keydown', handleKeyPress); };\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (showPopup) {\r\n setIsForgotPasswordPopupOpen(showPopup);\r\n }\r\n }, [showPopup]);\r\n\r\n return setIsForgotPasswordPopupOpen(false)} />}\r\n />;\r\n}\r\n\r\nForgotPasswordPopup.propTypes = {\r\n isForgotPasswordPopupOpen: PropTypes.bool.isRequired,\r\n setIsForgotPasswordPopupOpen: PropTypes.func.isRequired,\r\n isLoading: PropTypes.bool.isRequired,\r\n captchaRef: PropTypes.object\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n setIsForgotPasswordPopupOpen\r\n};\r\n\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\nexport default connectStateToProps(ForgotPasswordPopup);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport './_forgot-password.scss';\r\nimport forgotPopupResources from './forgotPasswordResources';\r\nimport Button from '../controls/Button';\r\nimport { connect } from 'react-redux';\r\nimport { setIsLoginPopupOpen } from '../Login/loginActions';\r\nimport { forgotPassword, resend } from './forgotPasswordActions';\r\nimport selectors from './forgotPasswordSelectors';\r\n\r\nexport function ForgotPasswordResultBody({ closePopup, setIsLoginPopupOpen, username, resend }) {\r\n const openLoginPopupHandler = () => {\r\n closePopup();\r\n setIsLoginPopupOpen(true);\r\n };\r\n return
    \r\n
    \r\n \r\n \r\n
    \r\n
    ;\r\n};\r\n\r\nForgotPasswordResultBody.propTypes = {\r\n closePopup: PropTypes.func.isRequired,\r\n setIsLoginPopupOpen: PropTypes.func.isRequired,\r\n forgotPassword: PropTypes.func.isRequired,\r\n username: PropTypes.string,\r\n captchaToken: PropTypes.string,\r\n resend: PropTypes.func.isRequired,\r\n};\r\n\r\nexport default connect(selectors, { forgotPassword, setIsLoginPopupOpen, resend })(ForgotPasswordResultBody);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { setIsForgotPasswordResultPopupOpen } from './forgotPasswordActions';\r\nimport CustomPopup from '../Popups/CustomPopup/CustomPopup';\r\nimport ForgotPasswordResultBody from './ForgotPasswordResultBody';\r\nimport forgotPasswordResources from './forgotPasswordResources';\r\nimport selectors from './forgotPasswordSelectors';\r\n\r\nfunction ForgotPasswordResultPopup({ isForgotPasswordResultPopupOpen, setIsForgotPasswordResultPopupOpen, isLoading }) {\r\n return setIsForgotPasswordResultPopupOpen(false)}\r\n title={forgotPasswordResources.resultTitle}\r\n subtitle={forgotPasswordResources.resultSubtitle}\r\n body={ setIsForgotPasswordResultPopupOpen(false)}/>}\r\n />;\r\n}\r\n\r\nForgotPasswordResultPopup.propTypes = {\r\n isForgotPasswordResultPopupOpen: PropTypes.bool.isRequired,\r\n setIsForgotPasswordResultPopupOpen: PropTypes.func,\r\n isLoading: PropTypes.bool.isRequired\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n setIsForgotPasswordResultPopupOpen,\r\n};\r\n\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\nexport default connectStateToProps(ForgotPasswordResultPopup);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport HeaderPublic from '../components/Header/HeaderPublic';\r\nimport Topbar from '../components/Topbar/Topbar';\r\nimport FooterPublic from '../components/Footer/FooterPublic/FooterPublic';\r\nimport Sidebar from '../components/Sidebar/Sidebar';\r\nimport ErrorBoundary from '../components/ErrorBoundary/ErrorBoundary';\r\nimport { routeType } from '../routing/routes';\r\nimport classNames from 'classnames';\r\nimport './_layout.scss';\r\nimport './_skiplink.scss';\r\nimport LoginPopup from '../components/Login/LoginPopup';\r\nimport ForgotPasswordPopup from '../components/ForgotPassword/ForgotPasswordPopup';\r\nimport ForgotPasswordResultPopup from '../components/ForgotPassword/ForgotPasswordResultPopup';\r\n\r\nconst MainLayoutPublic = ({ children, match, history, topbarContent, filteredRoutes, hideSidebar }) => {\r\n return (\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n {hideSidebar\r\n ? <>\r\n : \r\n }\r\n
    \r\n \r\n
    {children}
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n );\r\n};\r\n\r\nMainLayoutPublic.propTypes = {\r\n children: PropTypes.node,\r\n topbarContent: PropTypes.object,\r\n filteredRoutes: PropTypes.arrayOf(routeType),\r\n match: PropTypes.object,\r\n history: PropTypes.object.isRequired,\r\n hideSidebar: PropTypes.bool\r\n};\r\n\r\nexport default MainLayoutPublic;\r\n","import { createSelector } from 'reselect';\r\n\r\nconst getRoutes = (state, props) => {\r\n return props.currentRoute.routes;\r\n};\r\n\r\nexport default createSelector(\r\n [\r\n getRoutes,\r\n ],\r\n filteredRoutes => ({\r\n filteredRoutes,\r\n })\r\n);\r\n","import React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport { Switch, Redirect } from 'react-router-dom';\r\nimport selectors from './adminAreaSelectors';\r\nimport { routeType } from '../../routing/routes';\r\nimport CustomRoute from '../../layouts/CustomRoute';\r\n\r\nfunction AdminArea({ currentRoute, filteredRoutes }) {\r\n return
    \r\n \r\n {filteredRoutes.map((route, i) => (\r\n \r\n ))}\r\n\r\n \r\n \r\n
    ;\r\n};\r\n\r\nAdminArea.propTypes = {\r\n currentRoute: routeType.isRequired,\r\n filteredRoutes: PropTypes.arrayOf(routeType)\r\n};\r\n\r\nexport default connect(selectors)(AdminArea);\r\n","import { createSelector } from 'reselect';\r\nimport { GET_PARTNER } from '../Shared/Partners/managePartnerTypes';\r\n\r\nconst getIsGroupMembershipAddedToPartner = state => state.partnerOwnerAreaReducer.get('isGroupMembershipAddedToPartner');\r\n\r\nconst getPartnerName = state => state.partnerOwnerAreaReducer.get('partnerName');\r\n\r\nexport const getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i => i === GET_PARTNER\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\n\r\nconst checkShouldRedirect = createSelector(\r\n [getIsGroupMembershipAddedToPartner, getPartnerName],\r\n (isGroupMembershipAddedToPartner, partnerName) => {\r\n return isGroupMembershipAddedToPartner !== undefined && partnerName !== undefined;\r\n }\r\n);\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n checkShouldRedirect,\r\n getIsGroupMembershipAddedToPartner\r\n ],\r\n (\r\n isLoading,\r\n shouldRedirect,\r\n isGroupMembershipAddedToPartner\r\n ) => ({\r\n isLoading,\r\n shouldRedirect,\r\n isGroupMembershipAddedToPartner\r\n })\r\n);\r\n","import React, { useEffect } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport { Switch, generatePath } from 'react-router-dom';\r\nimport selectors from './partnerOwnerAreaSelectors';\r\nimport routes, { routeType } from '../../routing/routes';\r\nimport ConditionalRedirect from '../../routing/conditionalRedirect';\r\nimport CustomRoute from '../../layouts/CustomRoute';\r\nimport Spinner from '../../components/Spinner/Spinner';\r\nimport { getPartner } from '../Shared/Partners/managePartnerActions';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\n\r\nfunction PartnerOwnerArea({\r\n isLoading,\r\n history,\r\n match,\r\n currentRoute,\r\n shouldRedirect,\r\n getPartner,\r\n isGroupMembershipAddedToPartner\r\n}) {\r\n useEffect(() => {\r\n getPartner(match.params.partnerId)\r\n .catch(() => {\r\n history.push(routes.partnersList.path);\r\n });\r\n }, [match.params.partnerId]);\r\n const { gmrAddProgram } = useFlags();\r\n const conditionedRoutes = currentRoute.routes.filter(\r\n (route) => {\r\n switch (route.path) {\r\n case routes.groupMemberships.path:\r\n return isGroupMembershipAddedToPartner || gmrAddProgram;\r\n default:\r\n return true;\r\n }\r\n }\r\n );\r\n const routesForNavigation = conditionedRoutes.map((route) => {\r\n return { ...route, path: generatePath(route.path, match.params) };\r\n });\r\n return <>\r\n {\r\n isLoading\r\n ? \r\n : \r\n {conditionedRoutes.map((route, i) => (\r\n \r\n ))}\r\n\r\n \r\n \r\n }\r\n ;\r\n};\r\n\r\nPartnerOwnerArea.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n match: PropTypes.object.isRequired,\r\n history: PropTypes.object.isRequired,\r\n currentRoute: routeType.isRequired,\r\n shouldRedirect: PropTypes.bool,\r\n getPartner: PropTypes.func.isRequired,\r\n isGroupMembershipAddedToPartner: PropTypes.bool\r\n};\r\n\r\nconst actions = {\r\n getPartner\r\n};\r\n\r\nexport default connect(selectors, actions)(PartnerOwnerArea);\r\n","import { createSelector } from 'reselect';\r\nimport allRoutes from '../../routing/routes';\r\nimport { GET_IS_GROUP_MEMBERSHIP_ADDED_TO_PARTNER } from './partnerManagerAreaTypes';\r\nimport { GET_MANAGER } from '../Shared/PartnerManager/managePartnerManagerTypes';\r\n\r\nconst getRoutes = (state, props) => {\r\n return props.currentRoute.routes;\r\n};\r\n\r\nconst getIsGroupMembershipAddedToPartner = (state) => {\r\n return state.partnerManagerAreaReducer.get('isGroupMembershipAddedToPartner');\r\n};\r\n\r\nconst selectFilteredRoutes = createSelector(\r\n [getIsGroupMembershipAddedToPartner, getRoutes],\r\n (isGroupMembershipAddedToPartner, routes) => {\r\n return routes.filter(\r\n (route) => {\r\n if (route.path === allRoutes.partnerManagerGroupMemberships.path) {\r\n return isGroupMembershipAddedToPartner;\r\n }\r\n return true;\r\n }\r\n );\r\n }\r\n);\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i => i === GET_IS_GROUP_MEMBERSHIP_ADDED_TO_PARTNER || i === GET_MANAGER\r\n ).size;\r\n return size > 0;\r\n};\r\n\r\nconst getIsLoadingOrRoutesNotFilteredYet = createSelector(\r\n [getIsGroupMembershipAddedToPartner, getIsLoading],\r\n (isGroupMembershipAddedToPartner, isLoading) => {\r\n return isGroupMembershipAddedToPartner === undefined || isLoading;\r\n }\r\n);\r\n\r\nconst getMe = (state) => {\r\n return state.app.get('me');\r\n};\r\n\r\nconst getUserId = createSelector(\r\n [getMe], (me) => {\r\n return me.userId;\r\n }\r\n);\r\n\r\nconst getPartnerId = (state) => {\r\n return state.partnerManagerReducer.getIn(['manager', 'partnerID']);\r\n};\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoadingOrRoutesNotFilteredYet,\r\n selectFilteredRoutes,\r\n getUserId,\r\n getPartnerId\r\n ],\r\n (isLoading, filteredRoutes, userId, partnerId) => ({\r\n isLoading,\r\n filteredRoutes,\r\n userId,\r\n partnerId\r\n })\r\n);\r\n","import http from '../../http/base';\r\nimport { API_PATHS } from '../../http/configs';\r\n\r\nexport default {\r\n getIsGroupMembershipAddedToPartner: partnerId =>\r\n http.get(API_PATHS.isGroupMembershipAddedToPartner, { params: { partnerId } }),\r\n};\r\n","import {\r\n GET_IS_GROUP_MEMBERSHIP_ADDED_TO_PARTNER,\r\n SET_IS_GROUP_MEMBERSHIP_ADDED_TO_PARTNER,\r\n GET_GROUP_MEMBERSHIP,\r\n SET_GROUP_MEMBERSHIP,\r\n} from './partnerManagerAreaTypes';\r\nimport * as loadingActions from '../Loading/loadingActions';\r\nimport partnerManagerAreaService from './partnerManagerAreaService';\r\nimport * as groupMembershipsService from '../GroupMemberships/GeneralInfo/groupMembershipsService';\r\n\r\nconst setIsGroupMembershipAddedToPartner = isGroupMembershipAddedToPartner => ({\r\n type: SET_IS_GROUP_MEMBERSHIP_ADDED_TO_PARTNER,\r\n payload: {\r\n isGroupMembershipAddedToPartner\r\n }\r\n});\r\n\r\nexport const getIsGroupMembershipAddedToPartner = partnerId => (dispatch, getState) => {\r\n dispatch(loadingActions.setLoading(GET_IS_GROUP_MEMBERSHIP_ADDED_TO_PARTNER));\r\n partnerManagerAreaService.getIsGroupMembershipAddedToPartner(partnerId)\r\n .then((response) => {\r\n dispatch(setIsGroupMembershipAddedToPartner(response.data));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(GET_IS_GROUP_MEMBERSHIP_ADDED_TO_PARTNER));\r\n });\r\n};\r\n\r\nexport const getGroupMembership = partnerId => (dispatch, getState) => {\r\n dispatch(loadingActions.setLoading(GET_GROUP_MEMBERSHIP));\r\n groupMembershipsService.getGroupMembership(partnerId)\r\n .then((groupMembership) => {\r\n dispatch(setGroupMembership(groupMembership));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(GET_GROUP_MEMBERSHIP));\r\n });\r\n};\r\n\r\nconst setGroupMembership = (groupMembership) => {\r\n return { type: SET_GROUP_MEMBERSHIP, groupMembership };\r\n};\r\n","import React, { useEffect } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport { Switch, Redirect } from 'react-router-dom';\r\nimport selectors from './partnerManagerAreaSelectors';\r\nimport { routeType } from '../../routing/routes';\r\nimport CustomRoute from '../../layouts/CustomRoute';\r\nimport { getIsGroupMembershipAddedToPartner, getGroupMembership } from './partnerManagerAreaActions';\r\nimport { getManager } from '../Shared/PartnerManager/managePartnerManagerActions';\r\nimport Spinner from '../../components/Spinner/Spinner';\r\n\r\nfunction PartnerManagerArea({ getManager, getIsGroupMembershipAddedToPartner, getGroupMembership, isLoading, currentRoute, filteredRoutes, userId, partnerId }) {\r\n useEffect(() => {\r\n getManager(userId);\r\n }, [userId]);\r\n useEffect(() => {\r\n if (partnerId) {\r\n getGroupMembership(partnerId);\r\n getIsGroupMembershipAddedToPartner(partnerId);\r\n }\r\n }, [partnerId]);\r\n return <>\r\n {\r\n isLoading\r\n ? \r\n : \r\n {filteredRoutes.map((route, i) => (\r\n \r\n ))}\r\n\r\n \r\n \r\n }\r\n ;\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getManager,\r\n getIsGroupMembershipAddedToPartner,\r\n getGroupMembership\r\n};\r\n\r\nPartnerManagerArea.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n currentRoute: routeType.isRequired,\r\n filteredRoutes: PropTypes.arrayOf(routeType),\r\n userId: PropTypes.number.isRequired,\r\n partnerId: PropTypes.number,\r\n getManager: PropTypes.func.isRequired,\r\n getIsGroupMembershipAddedToPartner: PropTypes.func.isRequired,\r\n getGroupMembership: PropTypes.func.isRequired,\r\n};\r\n\r\nexport default connect(selectors, mapDispatchToProps)(PartnerManagerArea);\r\n","const invalidationTypes = Object.freeze({\r\n Suspended: 19,\r\n});\r\n\r\nexport default invalidationTypes;\r\n","import { createSelector } from 'reselect';\r\nimport allRoutes from '../../routing/routes';\r\nimport { CHECK_MEMBER_HAS_ACTIVE_FACILITY_ENROLLMENTS, GET_MEMBER_INVALIDATIONS, RESIGN_MEMBER_LEGAL_CONTRACT } from './memberAreaTypes';\r\nimport { GET_SIGNATURE_MEMBER_INFO } from '../MemberProfile/FacilityInfo/LegalContract/legalContractTypes';\r\nimport invalidationTypes from '../../enums/invalidationTypes';\r\n\r\nconst getMemberHasActiveFacilityEnrollments = (state) => {\r\n return state.memberAreaReducer.get('memberHasActiveFacilityEnrollments');\r\n};\r\n\r\nexport const getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i => i === CHECK_MEMBER_HAS_ACTIVE_FACILITY_ENROLLMENTS || i === GET_MEMBER_INVALIDATIONS || i === GET_SIGNATURE_MEMBER_INFO || i === RESIGN_MEMBER_LEGAL_CONTRACT\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\n\r\nconst checkShouldRedirect = createSelector(\r\n [getMemberHasActiveFacilityEnrollments],\r\n (memberHasActiveFacilityEnrollments) => {\r\n return memberHasActiveFacilityEnrollments !== undefined;\r\n }\r\n);\r\n\r\nconst getRoutes = (state, props) => {\r\n return props.currentRoute.routes;\r\n};\r\n\r\nconst selectFilteredRoutes = createSelector(\r\n [getMemberHasActiveFacilityEnrollments, getRoutes],\r\n (memberHasActiveFacilityEnrollments, routes) => {\r\n return routes.filter(\r\n (route) => {\r\n if (route.path === allRoutes.account.path) {\r\n return memberHasActiveFacilityEnrollments;\r\n }\r\n\r\n return true;\r\n }\r\n );\r\n }\r\n);\r\n\r\nconst getSelectedMemberGroup = state => state.app.get('selectedMemberGroup');\r\n\r\nconst getFirstMembersGuid = createSelector(\r\n [getSelectedMemberGroup],\r\n (selectedMemberGroup) => {\r\n return selectedMemberGroup.membersIds[0];\r\n });\r\n\r\nconst getMemberLegalContract = state => state.legalContractReducer.get('membersAFFacilityWithinProgramEnrollment');\r\n\r\nconst getProgramPaymentType = createSelector([getMemberLegalContract], (memberLegalContract) => { return memberLegalContract ? memberLegalContract.get('programPaymentType') : undefined; });\r\n\r\nconst getFacility = state => state.facilityReducer.get('facility');\r\n\r\nconst getFacilityAFNumber = createSelector(\r\n [getFacility],\r\n (facility) => {\r\n return facility.get('afNumber');\r\n }\r\n);\r\n\r\nconst getIsAgreementResigningRequired = createSelector([getMemberHasActiveFacilityEnrollments, getMemberLegalContract], (hasActiveFacilityEnrollments, memberLegalContract) => {\r\n if (!hasActiveFacilityEnrollments) {\r\n return false;\r\n }\r\n if (!memberLegalContract) {\r\n return false;\r\n }\r\n return !memberLegalContract.get('isMemberAgreed');\r\n});\r\n\r\nconst getFacilityId = createSelector([getFacility], facility => facility.get('id'));\r\n\r\nconst getIsShowTopbar = (state) => {\r\n return !!(state.memberAreaReducer.get('memberInvalidations')) && state.memberAreaReducer.get('memberInvalidations').filter(\r\n i => i.get('memberInvalidationTypeID') === invalidationTypes.Suspended).size > 0;\r\n};\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n checkShouldRedirect,\r\n selectFilteredRoutes,\r\n getSelectedMemberGroup,\r\n getFirstMembersGuid,\r\n getProgramPaymentType,\r\n getIsAgreementResigningRequired,\r\n getFacilityAFNumber,\r\n getFacilityId,\r\n getMemberHasActiveFacilityEnrollments,\r\n getIsShowTopbar\r\n ],\r\n (\r\n isLoading,\r\n shouldRedirect,\r\n filteredRoutes,\r\n selectedMemberGroup,\r\n firstMembersGuid,\r\n programPaymentType,\r\n isAgreementResigningRequired,\r\n facilityAFNumber,\r\n facilityId,\r\n hasActiveFacilityEnrollments,\r\n isShowTopbar\r\n ) => ({\r\n isLoading,\r\n shouldRedirect,\r\n filteredRoutes,\r\n selectedMemberGroup,\r\n firstMembersGuid,\r\n programPaymentType,\r\n isAgreementResigningRequired,\r\n facilityAFNumber,\r\n facilityId,\r\n hasActiveFacilityEnrollments,\r\n isShowTopbar\r\n })\r\n);\r\n","const memberAreaResources = {\r\n titleResignAgreementPopup: 'Resign Anytime Fitness Agreement',\r\n labelActionRequiredForMember: 'Action required: update withdrawal billing info',\r\n linkText: 'click here',\r\n};\r\nexport default memberAreaResources;","import React, { useEffect } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport { Switch } from 'react-router-dom';\r\nimport selectors from './memberAreaSelectors';\r\nimport { checkIfMemberHasActiveFacilityEnrollments, getMemberInvalidations, resignMemberLegalContract } from './memberAreaActions';\r\nimport { getMemberLegalContractInfo } from '../MemberProfile/FacilityInfo/LegalContract/legalContractActions';\r\nimport routes, { routeType } from '../../routing/routes';\r\nimport ConditionalRedirect from '../../routing/conditionalRedirect';\r\nimport CustomRoute from '../../layouts/CustomRoute';\r\nimport Spinner from '../../components/Spinner/Spinner';\r\nimport CustomPopup from '../../components/Popups/CustomPopup/CustomPopup';\r\nimport AgreementForm from '../MemberProfile/FacilityInfo/LegalContract/LegalContractSteppedFormForms/AgreementForm';\r\nimport '../MemberProfile/FacilityInfo/LegalContract/_legalContract.scss';\r\nimport './_memberArea.scss';\r\nimport { getMemberFacility } from '../Facilities/facilityActions';\r\nimport bankOperationTypes from '../../enums/bankOperationTypes';\r\nimport memberAreaResources from './memberAreaResources';\r\nimport { setGlobalErrorMessage } from '../App/actions';\r\nimport { renderToString } from 'react-dom/server';\r\n\r\nfunction MemberArea({ isLoading, currentRoute, filteredRoutes, shouldRedirect, selectedMemberGroup, firstMembersGuid,\r\n getMemberInvalidations, checkIfMemberHasActiveFacilityEnrollments, getMemberLegalContractInfo, programPaymentType, isAgreementResigningRequired,\r\n getMemberFacility, facilityAFNumber, facilityId, resignMemberLegalContract, hasActiveFacilityEnrollments, setGlobalErrorMessage, isShowTopbar }) {\r\n\r\n useEffect(() => {\r\n if (selectedMemberGroup) {\r\n checkIfMemberHasActiveFacilityEnrollments(selectedMemberGroup.membersIds);\r\n getMemberInvalidations(selectedMemberGroup.membersIds);\r\n }\r\n }, []);\r\n\r\n useEffect(() => {\r\n getMemberLegalContractInfo(firstMembersGuid);\r\n if (hasActiveFacilityEnrollments) {\r\n getMemberFacility(firstMembersGuid);\r\n }\r\n }, [hasActiveFacilityEnrollments]);\r\n\r\n useEffect(() => {\r\n setGlobalErrorMessage(renderToString((isShowTopbar && <>{memberAreaResources.labelActionRequiredForMember}  \r\n \r\n {memberAreaResources.linkText}\r\n )));\r\n }, [isShowTopbar]);\r\n\r\n const handleSubmit = (legalcontractmodel) => {\r\n const contract = legalcontractmodel.toJS();\r\n contract.facilityId = facilityId;\r\n contract.memberIds = selectedMemberGroup.membersIds;\r\n contract.operationTypeID = bankOperationTypes.Debit;\r\n return resignMemberLegalContract(contract).then(() => {\r\n getMemberLegalContractInfo(firstMembersGuid);\r\n });\r\n };\r\n\r\n return (isLoading\r\n ? \r\n : <>\r\n \r\n {filteredRoutes.map((route, i) => (\r\n \r\n ))}\r\n\r\n \r\n \r\n {facilityAFNumber &&
    } title={memberAreaResources.titleResignAgreementPopup} />}\r\n \r\n );\r\n};\r\n\r\nMemberArea.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n currentRoute: routeType.isRequired,\r\n shouldRedirect: PropTypes.bool,\r\n filteredRoutes: PropTypes.arrayOf(routeType),\r\n checkIfMemberHasActiveFacilityEnrollments: PropTypes.func.isRequired,\r\n getMemberInvalidations: PropTypes.func.isRequired,\r\n selectedMemberGroup: PropTypes.object.isRequired,\r\n firstMembersGuid: PropTypes.string.isRequired,\r\n history: PropTypes.object.isRequired,\r\n getMemberLegalContractInfo: PropTypes.func.isRequired,\r\n isAgreementResigningRequired: PropTypes.bool.isRequired,\r\n programPaymentType: PropTypes.number,\r\n getMemberFacility: PropTypes.func.isRequired,\r\n facilityAFNumber: PropTypes.string,\r\n facilityId: PropTypes.number,\r\n resignMemberLegalContract: PropTypes.func.isRequired,\r\n hasActiveFacilityEnrollments: PropTypes.bool,\r\n setGlobalErrorMessage: PropTypes.func.isRequired,\r\n isShowTopbar: PropTypes.bool.isRequired\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n checkIfMemberHasActiveFacilityEnrollments,\r\n getMemberInvalidations,\r\n getMemberLegalContractInfo,\r\n getMemberFacility,\r\n resignMemberLegalContract,\r\n setGlobalErrorMessage\r\n};\r\n\r\nexport default connect(selectors, mapDispatchToProps)(MemberArea);\r\n","import { createSelector } from 'reselect';\r\nimport { CHECK_ACH_UPLOAD_AVAILABLE } from './wellnessProgramPaymentsTypes';\r\nimport { GET_PROGRAM_TYPES } from '../ProgramTypes/programTypeTypes';\r\nimport programTypesEnum from '../../enums/programTypes';\r\nimport programPaymentTypesEnum from '../../enums/programPaymentTypes';\r\nimport paymentTypesEnum from '../../enums/paymentTypes';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i => i === CHECK_ACH_UPLOAD_AVAILABLE || i === GET_PROGRAM_TYPES\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\n\r\nconst getIsAchUploadAvailable = state => state.wellnessProgramPaymentsReducer.getIn(['achUploadAvailability', 'isAchUploadAvailable']);\r\nconst getAchUploadErrorMessage = state => state.wellnessProgramPaymentsReducer.getIn(['achUploadAvailability', 'errorMessage']);\r\nconst getProgramTypes = state => state.programTypeReducer.get('programTypes');\r\nconst getDefaultProgramType = createSelector([getProgramTypes], programTypes => programTypes.find(x => x.get('id') === programTypesEnum.groupMemberships));\r\nconst getProgramPaymentTypes = state => state.programPaymentTypeReducer.get('programPaymentTypes');\r\nconst getDefaultProgramPaymentType = createSelector([getProgramPaymentTypes], programPaymentTypes => programPaymentTypes.find(x => x.get('id') === programPaymentTypesEnum.partnerPaid));\r\nconst getDefaultPaymentType = state => state.paymentTypeReducer.get('paymentTypes').filter(pt => pt.get('id') === paymentTypesEnum.gmPartnerFees)\r\n .first();\r\n\r\nexport default createSelector(\r\n [getIsLoading, getIsAchUploadAvailable, getAchUploadErrorMessage, getProgramPaymentTypes, getProgramTypes, getDefaultProgramType, getDefaultProgramPaymentType, getDefaultPaymentType],\r\n (isLoading, isAchUploadAvailable, achUploadErrorMessage, programPaymentTypes, programTypes, defaultProgramType, defaultProgramPaymentType, defaultPaymentType) => ({\r\n isLoading,\r\n isAchUploadAvailable,\r\n achUploadErrorMessage,\r\n programPaymentTypes,\r\n programTypes,\r\n defaultProgramType,\r\n defaultProgramPaymentType,\r\n defaultPaymentType\r\n })\r\n);","import React, { useEffect } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\nimport { Switch, Redirect, generatePath } from 'react-router-dom';\r\nimport NavigationTabControl from '../../components/NavigationTabControl/NavigationTabControl';\r\nimport routes, { routeType } from '../../routing/routes';\r\nimport CustomRoute from '../../layouts/CustomRoute';\r\nimport wellnessProgramPaymentResources from './wellnessProgramPaymentsResources';\r\nimport { getProgramTypes } from '../ProgramTypes/programTypeActions';\r\nimport selectors from './wellnessProgramPaymentsSelectors';\r\n\r\nfunction WellnessProgramPaymentsPage({ match, history, currentRoute, getProgramTypes }) {\r\n useEffect(() => {\r\n getProgramTypes();\r\n }, []);\r\n const { gmrAddProgram } = useFlags();\r\n const filteredRoutes = currentRoute.routes.filter(\r\n (route) => {\r\n switch (route.path) {\r\n case routes.memberPayments.path:\r\n return gmrAddProgram;\r\n default:\r\n return true;\r\n }\r\n }\r\n );\r\n const routesForNavigation = filteredRoutes.map((route) => {\r\n return { ...route, path: generatePath(route.path, match.params) };\r\n });\r\n\r\n return (\r\n
    \r\n

    {wellnessProgramPaymentResources.titleWellnessProgramPayments}

    \r\n \r\n \r\n {filteredRoutes.map((route, i) => (\r\n \r\n ))}\r\n\r\n \r\n \r\n
    \r\n );\r\n};\r\n\r\nWellnessProgramPaymentsPage.propTypes = {\r\n match: PropTypes.object.isRequired,\r\n history: PropTypes.shape({\r\n push: PropTypes.func.isRequired\r\n }).isRequired,\r\n currentRoute: routeType.isRequired,\r\n getProgramTypes: PropTypes.func.isRequired,\r\n};\r\n\r\nconst actions = {\r\n getProgramTypes,\r\n};\r\n\r\nexport default connect(selectors, actions)(WellnessProgramPaymentsPage);\r\n","const PartnerGroupMemberhipsPaymentsResources = {\r\n labelStartVisitMonth: 'Start Visit Month',\r\n labelEndVisitMonth: 'End Visit Month',\r\n labelVisitMonth: 'Visit Month',\r\n labelPaymentForOneMember: 'Payment For 1 Member',\r\n labelTotalNumberOfMemberships: 'Total Number of Memberships',\r\n labelNumberOfActivatedMemberships: 'Number of Activated Memberships',\r\n labelTotalPayment: 'Total Payment',\r\n titlePartnerGroupMemberhipsPayments: 'Monthly Payments',\r\n errorMessagePeriodRange: 'End visit month should be greater than start visit month.',\r\n buttonShowPayments: 'Run Report',\r\n labelMonthlyInstallment: 'Monthly Installment',\r\n labelProgramFee: 'Program Fee',\r\n labelAdminFee: 'Admin Fee',\r\n labelRenewalFee: 'Renewal Fee',\r\n labelFacilityAccessFee: 'Facility Access Fee',\r\n labelOneTimeFee: 'One-Time Fee',\r\n labelOneTimeFeeReason: 'One-Time Fee Reason',\r\n labelStartupFee: 'Startup Fee',\r\n labelRegisteredMembers: 'Registered Members',\r\n labelTotalMonthlyDuesAmount: 'Total Monthly Dues Amount',\r\n labelReimbursedMembers: 'Reimbursed Members',\r\n labelTotalMonthlyReimbursementAmount: 'Total Monthly Reimbursement Amount',\r\n periodFormName: 'partnerGroupMembershipsPeriodFiltersForm',\r\n periodIDFromFieldName: 'periodIDFrom',\r\n periodIDToFieldName: 'periodIDTo'\r\n};\r\nexport default PartnerGroupMemberhipsPaymentsResources;\r\n","import * as types from './partnerGroupMemberhipsPaymentsTypes';\r\nimport * as partnerGroupMemberhipsPaymentsService from './partnerGroupMemberhipsPaymentsService';\r\nimport * as periodsService from '../../Shared/Periods/periodsService';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\n\r\nconst setPayments = (payments) => {\r\n return { type: types.SET_PAYMENTS, payments };\r\n};\r\n\r\nfunction getPayments(programPaymentTypeId, partnerId, periodIDFrom, periodIDTo) {\r\n return function (dispatch, getState) {\r\n dispatch(loadingActions.setLoading(types.GET_PAYMENTS));\r\n return partnerGroupMemberhipsPaymentsService\r\n .getPartnerPayments(programPaymentTypeId, partnerId, periodIDFrom, periodIDTo)\r\n .then((payments) => {\r\n dispatch(setPayments(payments));\r\n dispatch(setInitialPeriodsRange({ periodIDFrom, periodIDTo }));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PAYMENTS));\r\n });\r\n };\r\n}\r\n\r\nfunction downloadPayments(partnerId, periodIDFrom, periodIDTo) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.DOWNLOAD_PAYMENTS));\r\n return partnerGroupMemberhipsPaymentsService\r\n .dowloadPartnerPayments(partnerId, periodIDFrom, periodIDTo)\r\n .then(() => {\r\n dispatch(setInitialPeriodsRange({ periodIDFrom, periodIDTo }));\r\n })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.DOWNLOAD_PAYMENTS)));\r\n };\r\n}\r\n\r\nconst setInitialPeriodsRange = (periods) => {\r\n return { type: types.SET_INITIAL_PERIODS_RANGE, periods };\r\n};\r\n\r\nconst setUsagePeriods = (usagePeriods) => {\r\n return { type: types.SET_USAGE_PERIODS, usagePeriods };\r\n};\r\n\r\nexport function getClosedUsagePeriods() {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_USAGE_PERIODS));\r\n return periodsService\r\n .getClosedUsagePeriods()\r\n .then((closedUsagePeriods) => {\r\n dispatch(setUsagePeriods(closedUsagePeriods));\r\n dispatch(setInitialPeriodsRange({ periodIDFrom: closedUsagePeriods[0].id, periodIDTo: closedUsagePeriods[0].id }));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_USAGE_PERIODS));\r\n });\r\n };\r\n}\r\n\r\nexport function getPeriodsUntilCurrent() {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_USAGE_PERIODS));\r\n return periodsService\r\n .getPeriodsUntilCurrent()\r\n .then((periods) => {\r\n dispatch(setUsagePeriods(periods));\r\n dispatch(setInitialPeriodsRange(periods[0]));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_USAGE_PERIODS));\r\n });\r\n };\r\n};\r\n\r\nfunction getProgramPaymentTypeID(partnerID) {\r\n return function (dispatch, getState) {\r\n dispatch(loadingActions.setLoading(types.GET_PROGRAM_PAYMENT_TYPE_ID));\r\n return partnerGroupMemberhipsPaymentsService\r\n .getProgramPaymentTypeID(partnerID)\r\n .then((programPaymentTypeID) => {\r\n dispatch(setProgramPaymentTypeID(programPaymentTypeID));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PROGRAM_PAYMENT_TYPE_ID));\r\n });\r\n };\r\n}\r\n\r\nconst setProgramPaymentTypeID = (programPaymentTypeID) => {\r\n return { type: types.SET_PROGRAM_PAYMENT_TYPE_ID, programPaymentTypeID };\r\n};\r\n\r\nexport default {\r\n getClosedUsagePeriods,\r\n getPayments,\r\n downloadPayments,\r\n getPeriodsUntilCurrent,\r\n getProgramPaymentTypeID\r\n};\r\n","import { createSelector } from 'reselect';\r\nimport * as types from './partnerGroupMemberhipsPaymentsTypes';\r\nimport { formValueSelector } from 'redux-form';\r\nimport partnerGroupMemberhipsPaymentsResources from './partnerGroupMemberhipsPaymentsResources';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i =>\r\n i === types.GET_PAYMENTS || i === types.GET_USAGE_PERIODS || types.DOWNLOAD_PAYMENTS\r\n || i === types.GET_PROGRAM_PAYMENT_TYPE_ID\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\nconst getPaymentsFilter = state => state.partnerGroupMemberhipsPaymentsReducer.get('paymentsFilter');\r\nconst getPayments = state => state.partnerGroupMemberhipsPaymentsReducer.get('payments');\r\nconst getUsagePeriods = state => state.partnerGroupMemberhipsPaymentsReducer.get('usagePeriods');\r\nconst getProgramPaymentTypeID = state => state.partnerGroupMemberhipsPaymentsReducer.get('programPaymentTypeID');\r\nconst getDefaultPeriodID = createSelector([getUsagePeriods], (periods) => {\r\n if (periods.size === 0) return undefined;\r\n return periods.first().get('id');\r\n});\r\nconst getForm = formValueSelector(partnerGroupMemberhipsPaymentsResources.periodFormName, state => state.form.toJS());\r\n\r\nconst getSelectedPeriodIDFrom = (state) => {\r\n return getForm(state, partnerGroupMemberhipsPaymentsResources.periodIDFromFieldName);\r\n};\r\n\r\nconst getSelectedPeriodIDTo = (state) => {\r\n return getForm(state, partnerGroupMemberhipsPaymentsResources.periodIDToFieldName);\r\n};\r\n\r\nexport default createSelector([getIsLoading, getPaymentsFilter, getPayments, getUsagePeriods, getProgramPaymentTypeID, getDefaultPeriodID, getSelectedPeriodIDFrom, getSelectedPeriodIDTo],\r\n (isLoading, paymentsFilter, payments, usagePeriods, programPaymentTypeID, defaultPeriodID, selectedPeriodIDFrom, selectedPeriodIDTo) => ({\r\n isLoading, paymentsFilter, payments, usagePeriods, programPaymentTypeID, defaultPeriodID, selectedPeriodIDFrom, selectedPeriodIDTo\r\n }));","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport Image from '../Image';\r\nimport './_excelImage.scss';\r\nimport sharedResources from '../../../features/Shared/resources';\r\n\r\nfunction ExcelImage({ onClick }) {\r\n return (\r\n
    \r\n \r\n
    \r\n );\r\n}\r\n\r\nExcelImage.propTypes = {\r\n onClick: PropTypes.func.isRequired\r\n};\r\n\r\nexport default ExcelImage;","import React, { useEffect, useMemo, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport InfoBox from '../../../components/InfoBox/InfoBox';\r\nimport Table from '../../../components/InfoBox/Table';\r\nimport partnerGroupMemberhipsPaymentsResources from './partnerGroupMemberhipsPaymentsResources';\r\nimport actions from './partnerGroupMemberhipsPaymentsActions';\r\nimport selectors from './partnerGroupMemberhipsPaymentsSelectors';\r\nimport moment from 'moment';\r\nimport { MONTH_YEAR } from '../../../constants/formats';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\nimport programPaymentTypes from '../../../enums/programPaymentTypes';\r\nimport './_partner-group-memberships-payments.scss';\r\nimport PeriodsFilterForm from '../../Shared/Periods/PeriodsFilterForm';\r\nimport ExcelImage from '../../../components/Image/ExcelImage/ExcelImage';\r\n\r\nfunction PartnerGroupMembershipsPayments({\r\n isLoading,\r\n getClosedUsagePeriods,\r\n payments,\r\n getPayments,\r\n downloadPayments,\r\n paymentsFilter,\r\n usagePeriods,\r\n partnerId,\r\n programPaymentTypeID,\r\n getPeriodsUntilCurrent,\r\n getProgramPaymentTypeID,\r\n defaultPeriodID,\r\n selectedPeriodIDFrom,\r\n selectedPeriodIDTo,\r\n}) {\r\n const { gmrAddProgram } = useFlags();\r\n const [programPaymentTypeIDLoaded, setProgramPaymentTypeIDLoaded] = useState(false);\r\n useEffect(() => {\r\n getProgramPaymentTypeID(partnerId).then(() => { setProgramPaymentTypeIDLoaded(true); });\r\n }, [partnerId]);\r\n useEffect(() => {\r\n if (!programPaymentTypeIDLoaded) {\r\n return;\r\n }\r\n if (programPaymentTypeID === programPaymentTypes.memberPaid || programPaymentTypeID === programPaymentTypes.partnerMemberPaid) {\r\n getPeriodsUntilCurrent();\r\n }\r\n else if (programPaymentTypeID === programPaymentTypes.partnerPaid) {\r\n getClosedUsagePeriods();\r\n }\r\n }, [programPaymentTypeIDLoaded]);\r\n useEffect(() => {\r\n if (!programPaymentTypeIDLoaded) {\r\n return;\r\n }\r\n if (defaultPeriodID) {\r\n getPayments(programPaymentTypeID, partnerId, defaultPeriodID, defaultPeriodID);\r\n }\r\n }, [defaultPeriodID]);\r\n\r\n const gmColumns = useMemo(\r\n () => [\r\n {\r\n Header: partnerGroupMemberhipsPaymentsResources.labelVisitMonth,\r\n accessor: 'visitPeriodStartDate',\r\n Cell: cell => moment(cell.value).format(MONTH_YEAR)\r\n },\r\n {\r\n Header: partnerGroupMemberhipsPaymentsResources.labelTotalNumberOfMemberships,\r\n accessor: 'totalNumberOfMemberships'\r\n },\r\n {\r\n Header: partnerGroupMemberhipsPaymentsResources.labelNumberOfActivatedMemberships,\r\n accessor: 'numberOfActivatedMemberships'\r\n },\r\n ...(gmrAddProgram\r\n ?\r\n [{\r\n Header: partnerGroupMemberhipsPaymentsResources.labelProgramFee,\r\n accessor: 'monthlyInstallment',\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 })\r\n }]\r\n :\r\n [{\r\n Header: partnerGroupMemberhipsPaymentsResources.labelMonthlyInstallment,\r\n accessor: 'monthlyInstallment',\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 })\r\n },\r\n {\r\n Header: partnerGroupMemberhipsPaymentsResources.labelStartupFee,\r\n accessor: 'startupFee',\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 })\r\n }]),\r\n {\r\n Header: partnerGroupMemberhipsPaymentsResources.labelAdminFee,\r\n accessor: 'adminFee',\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 })\r\n },\r\n {\r\n Header: partnerGroupMemberhipsPaymentsResources.labelRenewalFee,\r\n accessor: 'renewalFee',\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 })\r\n },\r\n {\r\n Header: partnerGroupMemberhipsPaymentsResources.labelFacilityAccessFee,\r\n accessor: 'facilityAccessFee',\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 })\r\n },\r\n {\r\n Header: partnerGroupMemberhipsPaymentsResources.labelOneTimeFee,\r\n accessor: 'oneTimeFee',\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 }),\r\n minWidth: 120\r\n },\r\n {\r\n Header: partnerGroupMemberhipsPaymentsResources.labelOneTimeFeeReason,\r\n accessor: 'oneTimeFeeReason'\r\n },\r\n {\r\n Header: partnerGroupMemberhipsPaymentsResources.labelTotalPayment,\r\n accessor: 'totalPayment',\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 })\r\n }\r\n ],\r\n [partnerGroupMemberhipsPaymentsResources]\r\n );\r\n\r\n const gmrColumns = useMemo(\r\n () => [\r\n {\r\n Header: partnerGroupMemberhipsPaymentsResources.labelVisitMonth,\r\n accessor: 'visitPeriodStartDate',\r\n Cell: cell => moment(cell.value).format(MONTH_YEAR)\r\n },\r\n {\r\n Header: partnerGroupMemberhipsPaymentsResources.labelAdminFee,\r\n accessor: 'adminFee',\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 })\r\n },\r\n {\r\n Header: partnerGroupMemberhipsPaymentsResources.labelRegisteredMembers,\r\n accessor: 'numberOfActivatedMemberships'\r\n },\r\n {\r\n Header: partnerGroupMemberhipsPaymentsResources.labelReimbursedMembers,\r\n accessor: 'numberOfProcessedMembers'\r\n },\r\n {\r\n Header: partnerGroupMemberhipsPaymentsResources.labelTotalMonthlyReimbursementAmount,\r\n accessor: 'totalPayment',\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 })\r\n }\r\n ],\r\n [partnerGroupMemberhipsPaymentsResources]\r\n );\r\n\r\n const gmspColumns = useMemo(\r\n () => [\r\n {\r\n Header: partnerGroupMemberhipsPaymentsResources.labelVisitMonth,\r\n accessor: 'visitPeriodStartDate',\r\n Cell: cell => moment(cell.value).format(MONTH_YEAR)\r\n },\r\n {\r\n Header: partnerGroupMemberhipsPaymentsResources.labelAdminFee,\r\n accessor: 'adminFee',\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 })\r\n },\r\n {\r\n Header: partnerGroupMemberhipsPaymentsResources.labelRegisteredMembers,\r\n accessor: 'numberOfActivatedMemberships'\r\n },\r\n {\r\n Header: partnerGroupMemberhipsPaymentsResources.labelTotalMonthlyDuesAmount,\r\n accessor: 'totalPayment',\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 })\r\n }\r\n ],\r\n [partnerGroupMemberhipsPaymentsResources]\r\n );\r\n\r\n const columnsForProgramPaymentType = Object.freeze({\r\n [programPaymentTypes.partnerPaid]: gmColumns,\r\n [programPaymentTypes.memberPaid]: gmrColumns,\r\n [programPaymentTypes.partnerMemberPaid]: gmspColumns,\r\n });\r\n\r\n const defaultSorted = useMemo(() => [{ id: 'visitPeriodStartDate', desc: true }]);\r\n const handleSubmit = (paymentsFilterSubmitted) => {\r\n const paymentsFilterSubmittedJS = paymentsFilterSubmitted.toJS();\r\n getPayments(programPaymentTypeID, partnerId, paymentsFilterSubmittedJS.periodIDFrom, paymentsFilterSubmittedJS.periodIDTo);\r\n };\r\n const exportToExcel = () => {\r\n if (selectedPeriodIDFrom && selectedPeriodIDTo) {\r\n downloadPayments(partnerId, selectedPeriodIDFrom, selectedPeriodIDTo);\r\n }\r\n };\r\n return
    \r\n {(isLoading || !programPaymentTypeIDLoaded) && }\r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n {programPaymentTypeIDLoaded &&
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    }\r\n
    \r\n
    ;\r\n}\r\nPartnerGroupMembershipsPayments.propTypes = {\r\n partnerId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\r\n isLoading: PropTypes.bool.isRequired,\r\n usagePeriods: PropTypes.object.isRequired,\r\n payments: PropTypes.object.isRequired,\r\n paymentsFilter: PropTypes.object.isRequired,\r\n getPayments: PropTypes.func.isRequired,\r\n downloadPayments: PropTypes.func.isRequired,\r\n getClosedUsagePeriods: PropTypes.func.isRequired,\r\n programPaymentTypeID: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n getPeriodsUntilCurrent: PropTypes.func.isRequired,\r\n getProgramPaymentTypeID: PropTypes.func.isRequired,\r\n defaultPeriodID: PropTypes.number,\r\n selectedPeriodIDFrom: PropTypes.number,\r\n selectedPeriodIDTo: PropTypes.number\r\n};\r\nconst mapDispatchToProps = {\r\n ...actions\r\n};\r\nexport default connect(selectors, mapDispatchToProps)(PartnerGroupMembershipsPayments);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport PartnerGroupMembershipsPayments from './PartnerGroupMembershipsPayments';\r\n\r\nfunction PartnerOwnerGroupMembershipsPaymentsTab({ match }) {\r\n return ;\r\n}\r\n\r\nPartnerOwnerGroupMembershipsPaymentsTab.propTypes = {\r\n match: PropTypes.object.isRequired\r\n};\r\n\r\nexport default PartnerOwnerGroupMembershipsPaymentsTab;","import { createSelector } from 'reselect';\r\n\r\nconst getPartnerId = state => state.partnerManagerReducer.getIn(['manager', 'partnerID']);\r\n\r\nexport default createSelector(\r\n [getPartnerId],\r\n partnerId => ({\r\n partnerId\r\n })\r\n);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport PartnerGroupMembershipsPayments from './PartnerGroupMembershipsPayments';\r\nimport selectors from './partnerManagerGroupMembershipsPaymentsTabSelectors';\r\n\r\nfunction PartnerManagerGroupMembershipsPaymentsTab({ partnerId }) {\r\n return ;\r\n}\r\n\r\nPartnerManagerGroupMembershipsPaymentsTab.propTypes = {\r\n partnerId: PropTypes.number.isRequired\r\n};\r\n\r\nexport default connect(selectors)(PartnerManagerGroupMembershipsPaymentsTab);","const GroupMembershipResources = {\r\n labelUsagePeriod: 'Usage Period',\r\n labelVisitMonth: 'Visit Month',\r\n labelNumberOfMembershipsPaid: 'Number of Memberships Paid',\r\n labelDuesPaidForOneMember: 'Dues paid for 1 member',\r\n labelTotalPayment: 'Total Payment',\r\n labelPartnerAmountToBeSent: 'Amount to be Withdrawn',\r\n labelFacilityAmountToBeSent: 'Amount to be Deposited',\r\n labelPayeeToken: 'Payee Token',\r\n labelBillingInfo: 'Billing Info',\r\n labelStatus: 'Status',\r\n labelStatusDate: 'Date',\r\n labelMonthlyInstallment: 'Monthly Installment',\r\n labelProgramFee: 'Program Fee',\r\n labelAdminFee: 'Admin Fee',\r\n labelStartupFee: 'Startup Fee',\r\n labelRenewalFee: 'Renewal Fee',\r\n labelFacilityAccessFee: 'Facility Access Fee',\r\n labelOneTimeFee: 'One-Time Fee',\r\n labelOneTimeFeeReason: 'One-Time Fee Reason',\r\n labelBillingType: 'Billing Type'\r\n};\r\nexport default GroupMembershipResources;\r\n","import http from '../../http/base';\r\nimport { API_PATHS } from '../../http/configs';\r\nimport { replaceRouteParams } from '../../utilities/routeHelper';\r\n\r\nexport function getPartnerPaymentTypesByProgramPaymentType(programPaymentTypeID) {\r\n return http.get(replaceRouteParams(API_PATHS.getPartnerPaymentTypesByProgramPaymentType, programPaymentTypeID));\r\n}\r\n\r\nexport function getMemberPaymentTypesByProgramPaymentType(programPaymentTypeID) {\r\n return http.get(replaceRouteParams(API_PATHS.getMemberPaymentTypesByProgramPaymentType, programPaymentTypeID));\r\n}\r\n","import * as types from './partnerPaymentsSectionTypes';\r\nimport * as partnerPaymentSectionService from './partnerPaymentsSectionService';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport * as partnersListService from '../../Partners/PartnersList/partnersListService';\r\nimport * as paymentTypeService from '../../../features/PaymentTypes/paymentTypeService';\r\n\r\nconst setPayments = (payments) => {\r\n return { type: types.SET_PAYMENTS, payments };\r\n};\r\n\r\nfunction getPayments(programPaymentTypeId, paymentTypeId, periodId, partnerId, showCorrectedOnly) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PAYMENTS));\r\n return partnerPaymentSectionService\r\n .getPayments(programPaymentTypeId, paymentTypeId, periodId, partnerId, showCorrectedOnly)\r\n .then((payments) => {\r\n dispatch(setPayments(payments));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PAYMENTS));\r\n });\r\n };\r\n}\r\n\r\nfunction downloadPayments(programPaymentTypeId, paymentTypeId, periodId, partnerId, showCorrectedOnly) {\r\n return function (dispatch, getState) {\r\n dispatch(loadingActions.setLoading(types.DOWNLOAD_PAYMENTS));\r\n return partnerPaymentSectionService\r\n .downloadPayments(programPaymentTypeId, paymentTypeId, periodId, partnerId, showCorrectedOnly)\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.DOWNLOAD_PAYMENTS)));\r\n };\r\n}\r\n\r\nconst setProgramPaymentTypeAction = (programPaymentType) => {\r\n return { type: types.SET_PROGRAM_PAYMENT_TYPE, programPaymentType };\r\n};\r\n\r\nfunction setProgramPaymentType(programPaymentType) {\r\n return function (dispatch) {\r\n dispatch(setProgramPaymentTypeAction(programPaymentType));\r\n };\r\n}\r\n\r\nconst setPeriodAction = (period) => {\r\n return { type: types.SET_PERIOD, period };\r\n};\r\n\r\nfunction setPeriod(period) {\r\n return function (dispatch) {\r\n dispatch(setPeriodAction(period));\r\n };\r\n}\r\n\r\nconst setPartnerAction = (partner) => {\r\n return { type: types.SET_PARTNER, partner };\r\n};\r\n\r\nfunction setPartner(partner) {\r\n return function (dispatch) {\r\n dispatch(setPartnerAction(partner));\r\n };\r\n}\r\n\r\nconst setPaymentTypeAction = (paymentType) => {\r\n return { type: types.SET_PAYMENT_TYPE, paymentType };\r\n};\r\n\r\nfunction setPaymentType(paymentType) {\r\n return function (dispatch) {\r\n dispatch(setPaymentTypeAction(paymentType));\r\n };\r\n}\r\n\r\nconst setShowCorrectedOnlyAction = (value) => {\r\n return { type: types.SET_SHOW_CORRECTED_ONLY, value };\r\n};\r\n\r\nfunction setShowCorrectedOnly(value) {\r\n return function (dispatch) {\r\n dispatch(setShowCorrectedOnlyAction(value));\r\n };\r\n}\r\n\r\nconst updateAmountToBeSentAction = (paymentId, amountToBeSent) => {\r\n return { type: types.SET_AMOUNT_TO_BE_SENT, paymentId, amountToBeSent };\r\n};\r\n\r\nfunction updatePartnerPaymentAmountToBeSent(programTypeId, programPaymentTypeId, paymentId, amountToBeSent) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PAYMENTS));\r\n return partnerPaymentSectionService\r\n .updatePartnerPaymentAmountToBeSent(programTypeId, programPaymentTypeId, paymentId, amountToBeSent)\r\n .then(() => {\r\n dispatch(updateAmountToBeSentAction(paymentId, amountToBeSent));\r\n })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.GET_PAYMENTS)));\r\n };\r\n}\r\n\r\nconst undoAmountCorrectionAction = (paymentId) => {\r\n return { type: types.UNDO_AMOUNT_CORRECTION, paymentId };\r\n};\r\n\r\nfunction undoPartnerPaymentAmountCorrection(programTypeId, programPaymentTypeId, paymentId) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PAYMENTS));\r\n return partnerPaymentSectionService\r\n .undoPartnerPaymentAmountCorrection(programTypeId, programPaymentTypeId, paymentId)\r\n .then(() => {\r\n dispatch(undoAmountCorrectionAction(paymentId));\r\n })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.GET_PAYMENTS)));\r\n };\r\n}\r\n\r\nconst setPartnersAction = (partners) => {\r\n return { type: types.SET_PARTNERS, partners };\r\n};\r\n\r\nexport function getPartnersListByProgramPaymentType(programPaymentTypeID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PARTNERS));\r\n return partnersListService\r\n .getPartnersListByProgramPaymentType(programPaymentTypeID, null)\r\n .then((partners) => {\r\n dispatch(setPartnersAction(partners));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PARTNERS));\r\n });\r\n };\r\n}\r\n\r\nexport function getPaymentTypesByProgramPaymentType(programPaymentTypeID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PAYMENT_TYPES));\r\n return paymentTypeService\r\n .getPartnerPaymentTypesByProgramPaymentType(programPaymentTypeID)\r\n .then((paymentTypes) => {\r\n dispatch(setPaymentTypesAction(paymentTypes));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PAYMENT_TYPES));\r\n });\r\n };\r\n}\r\n\r\nconst setPaymentTypesAction = (paymentTypes) => {\r\n return { type: types.SET_PAYMENT_TYPES, paymentTypes };\r\n};\r\n\r\nexport default {\r\n setProgramPaymentType,\r\n setPartner,\r\n getPayments,\r\n setPeriod,\r\n setPaymentType,\r\n downloadPayments,\r\n updatePartnerPaymentAmountToBeSent,\r\n undoPartnerPaymentAmountCorrection,\r\n setShowCorrectedOnly,\r\n getPartnersListByProgramPaymentType,\r\n getPaymentTypesByProgramPaymentType\r\n};\r\n","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\n\r\nexport function getPayments(programPaymentTypeId, paymentTypeId, periodId, partnerId, showCorrectedOnly) {\r\n return http.get(API_PATHS.getPartnerPayments, { params: { programPaymentTypeId, paymentTypeId, periodId, partnerId, showCorrectedOnly } });\r\n};\r\n\r\nexport function downloadPayments(programPaymentTypeId, paymentTypeId, periodId, partnerId, showCorrectedOnly) {\r\n return http.get(API_PATHS.downloadPartnerPayments, { responseType: 'blob', params: { programPaymentTypeId, paymentTypeId, periodId, partnerId, showCorrectedOnly } });\r\n};\r\n\r\nexport function updatePartnerPaymentAmountToBeSent(programTypeId, programPaymentTypeId, paymentId, amountToBeSent) {\r\n return http.put(API_PATHS.updatePartnerPaymentAmountToBeSent, null, { params: { programTypeId, programPaymentTypeId, paymentId, amountToBeSent } });\r\n};\r\n\r\nexport function undoPartnerPaymentAmountCorrection(programTypeId, programPaymentTypeId, paymentId) {\r\n return http.put(API_PATHS.undoPartnerPaymentAmountCorrection, null, { params: { programTypeId, programPaymentTypeId, paymentId } });\r\n};","import { createSelector } from 'reselect';\r\nimport * as types from './partnerPaymentsSectionTypes';\r\nimport { GET_CLOSED_USAGE_PERIODS, GET_PERIODS } from '../../Shared/Periods/periodsTypes';\r\nimport programPaymentTypesEnum from '../../../enums/programPaymentTypes';\r\nimport paymentTypesEnum from '../../../enums/paymentTypes';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i =>\r\n i === types.GET_PAYMENTS || types.DOWNLOAD_PAYMENTS || i === types.GET_PARTNERS || i === GET_CLOSED_USAGE_PERIODS || i === GET_PERIODS\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\nconst getPaymentsFilter = state => state.partnerPaymentsSectionReducer.get('paymentsFilter');\r\nconst getPayments = state => state.partnerPaymentsSectionReducer.get('payments');\r\nconst getProgramPaymentTypeId = createSelector([getPaymentsFilter], (paymentsFilter) => {\r\n return paymentsFilter.getIn(['programPaymentType', 'id']);\r\n});\r\nconst getSelf = state => state;\r\nconst getPaymentTypes = state => state.partnerPaymentsSectionReducer.get('paymentTypes');\r\nconst getPeriodId = createSelector([getPaymentsFilter], (paymentsFilter) => {\r\n return paymentsFilter.getIn(['period', 'id']);\r\n});\r\nconst getPartnerId = createSelector([getPaymentsFilter], (paymentsFilter) => {\r\n return paymentsFilter.getIn(['partner', 'id']);\r\n});\r\nconst getShowCorrectedOnly = createSelector([getPaymentsFilter], (paymentsFilter) => {\r\n return paymentsFilter.get('showCorrectedOnly');\r\n});\r\nconst getProgramTypeId = createSelector([getPaymentsFilter], (paymentsFilter) => {\r\n return paymentsFilter.getIn(['programType', 'id']);\r\n});\r\nconst getPaymentTypeId = createSelector([getPaymentsFilter], (paymentsFilter) => {\r\n return paymentsFilter.getIn(['paymentType', 'id']);\r\n});\r\nconst getPartners = state => state.partnerPaymentsSectionReducer.get('partners');\r\nconst getPeriods = createSelector([getProgramPaymentTypeId, getPaymentTypeId, getSelf], (selectedProgramPaymentTypeID, selectedPaymentTypeID, state) => {\r\n if (selectedProgramPaymentTypeID === programPaymentTypesEnum.partnerPaid\r\n || (selectedProgramPaymentTypeID === programPaymentTypesEnum.memberPaid && selectedPaymentTypeID === paymentTypesEnum.gmPartnerReimbursements)\r\n || (selectedProgramPaymentTypeID === programPaymentTypesEnum.partnerMemberPaid && selectedPaymentTypeID === paymentTypesEnum.gmPartnerDues)) {\r\n return state.periodsReducer.get('closedUsagePeriods');\r\n }\r\n else if ((selectedProgramPaymentTypeID === programPaymentTypesEnum.memberPaid || selectedProgramPaymentTypeID === programPaymentTypesEnum.partnerMemberPaid)\r\n && selectedPaymentTypeID === paymentTypesEnum.gmPartnerFees) {\r\n return state.periodsReducer.get('periodsUntilCurrent');\r\n }\r\n});\r\nconst getDefaultPeriod = createSelector([getPeriods], (periods) => {\r\n if (!periods || periods.size === 0) return undefined;\r\n return periods.first();\r\n});\r\n\r\nexport default createSelector([getIsLoading, getPaymentsFilter, getPayments, getPartners, getProgramPaymentTypeId, getPeriodId, getPartnerId, getShowCorrectedOnly, getPeriods, getDefaultPeriod, getProgramTypeId, getPaymentTypes, getPaymentTypeId],\r\n (isLoading, paymentsFilter, payments, partners, programPaymentTypeId, periodId, partnerId, showCorrectedOnly, periods, defaultPeriod, programTypeId, paymentTypes, paymentTypeId) => ({\r\n isLoading, paymentsFilter, payments, partners, programPaymentTypeId, periodId, partnerId, showCorrectedOnly, periods, defaultPeriod, programTypeId, paymentTypes, paymentTypeId\r\n }));","const paymentStatuses = Object.freeze({\r\n pending: 0,\r\n receivedByUSBank: 1,\r\n submittedToACH: 2,\r\n returnedByUSBank: 3,\r\n canceledByHC: 4,\r\n completed: 5,\r\n sentExternally: 6\r\n});\r\n\r\nexport const paymentStatusesNamesMap = Object.freeze({\r\n [paymentStatuses.pending]: 'Pending',\r\n [paymentStatuses.receivedByUSBank]: 'Received by US Bank',\r\n [paymentStatuses.submittedToACH]: 'Submitted to ACH',\r\n [paymentStatuses.returnedByUSBank]: 'Returned by US Bank',\r\n [paymentStatuses.canceledByHC]: 'Canceled by HC',\r\n [paymentStatuses.completed]: 'Request completed',\r\n [paymentStatuses.sentExternally]: 'Sent Externally',\r\n});\r\n\r\nexport const paymentStatusesColorsMap = Object.freeze({\r\n [paymentStatuses.pending]: 'yellow',\r\n [paymentStatuses.receivedByUSBank]: 'orange',\r\n [paymentStatuses.submittedToACH]: 'orange',\r\n [paymentStatuses.returnedByUSBank]: 'beet',\r\n [paymentStatuses.canceledByHC]: 'beet',\r\n [paymentStatuses.completed]: 'green',\r\n [paymentStatuses.sentExternally]: 'green',\r\n});\r\n\r\nexport default paymentStatuses;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport Button from '../../components/controls/Button';\r\nimport wellnessProgramPaymentsResources from './wellnessProgramPaymentsResources';\r\nimport paymentStatuses, { paymentStatusesNamesMap } from '../../enums/paymentStatuses';\r\n\r\nfunction UndoAmountCorrectionActionCell({ value, column }) {\r\n const rowData = value;\r\n const columnProps = column.getProps();\r\n const clickHandler = () => {\r\n columnProps.handleUndo(rowData[wellnessProgramPaymentsResources.accessorId]);\r\n };\r\n const paymentStatus = rowData[wellnessProgramPaymentsResources.accessorStatus];\r\n const disabled = rowData && (rowData[wellnessProgramPaymentsResources.accessorAmountToBeSent] >= rowData[wellnessProgramPaymentsResources.accessorTotalPayments]\r\n || (paymentStatus !== paymentStatusesNamesMap[paymentStatuses.pending]\r\n && paymentStatus !== paymentStatusesNamesMap[paymentStatuses.returnedByUSBank] && paymentStatus !== paymentStatusesNamesMap[paymentStatuses.sentExternally]));\r\n return (\r\n \r\n {wellnessProgramPaymentsResources.buttonUndo}\r\n \r\n );\r\n}\r\n\r\nUndoAmountCorrectionActionCell.propTypes = {\r\n value: PropTypes.object.isRequired,\r\n column: PropTypes.object.isRequired\r\n};\r\n\r\nexport default UndoAmountCorrectionActionCell;\r\n","import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport InputText from '../controls/InputText';\r\nimport './_editable-cell.scss';\r\nimport { fromJS } from 'immutable';\r\n\r\nfunction EditableCell({\r\n value: initialValue,\r\n row,\r\n column,\r\n updateCellHandler,\r\n validateCellRules,\r\n isEditable\r\n}) {\r\n useEffect(() => {\r\n setValue(initialValue.toString());\r\n }, [initialValue]);\r\n const [value, setValue] = useState();\r\n const [validationError, setValidationError] = useState('');\r\n const onBlur = () => {\r\n let error = null;\r\n for (const validate of validateCellRules) {\r\n const errorMessage = validate(value, fromJS(row.original));\r\n if (errorMessage) {\r\n error = `${column.render('Header')} ${errorMessage}`;\r\n\t\t\t break;\r\n }\r\n }\r\n setValidationError(error);\r\n if (!error) {\r\n updateCellHandler(row.index, column.id, value, row.original);\r\n }\r\n };\r\n const onChange = (e) => {\r\n setValue(e.target.value);\r\n };\r\n return
    \r\n {\r\n isEditable\r\n ? \r\n :
    {value}
    \r\n }\r\n
    ;\r\n};\r\n\r\nEditableCell.propTypes = {\r\n value: PropTypes.oneOfType([\r\n PropTypes.string,\r\n PropTypes.number\r\n ]),\r\n row: PropTypes.object.isRequired,\r\n column: PropTypes.object.isRequired,\r\n updateCellHandler: PropTypes.func.isRequired,\r\n validateCellRules: PropTypes.arrayOf(PropTypes.func),\r\n isEditable: PropTypes.bool.isRequired,\r\n};\r\n\r\nexport default EditableCell;","import validationRules from '../../utilities/validationRules';\r\nimport groupMembershipResources from '../Shared/Programs/groupMembershipResources';\r\nimport wellnessProgramPaymentsResources from './wellnessProgramPaymentsResources';\r\n\r\nexport const amountToBeSentRequired = validationRules.required();\r\n\r\nexport const amountToBeSentNumeric = validationRules.numericOrEmpty();\r\n\r\nexport const amountToBeSentLessThanTotalAmount = validationRules.lessThanOrEqual(\r\n wellnessProgramPaymentsResources.accessorTotalPayments, '', groupMembershipResources.labelTotalPayment\r\n);\r\n\r\nexport const amountToBeSentIsPositive = validationRules.greaterThanOrEqualSpecificValue(0);\r\n\r\nexport const amountToBeSentIsDecimalWithTwoPlaces = validationRules.decimalWithTwoPlaces();\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport EditableCell from '../../components/InfoBox/EditableCell';\r\nimport { amountToBeSentRequired, amountToBeSentIsDecimalWithTwoPlaces, amountToBeSentLessThanTotalAmount, amountToBeSentIsPositive, amountToBeSentNumeric } from './editAmountToBeSentValidation';\r\nimport wellnessProgramPaymentsResources from './wellnessProgramPaymentsResources';\r\nimport paymentStatuses, { paymentStatusesNamesMap } from '../../enums/paymentStatuses';\r\n\r\nfunction EditAmountToBeSentEditableCell({ value,\r\n row,\r\n column,\r\n updateCellHandler }) {\r\n const paymentStatus = row.values[wellnessProgramPaymentsResources.accessorStatus];\r\n const isEditable = row && (paymentStatus === paymentStatusesNamesMap[paymentStatuses.pending]\r\n || paymentStatus === paymentStatusesNamesMap[paymentStatuses.returnedByUSBank] || paymentStatus === paymentStatusesNamesMap[paymentStatuses.sentExternally]);\r\n return (\r\n \r\n );\r\n}\r\n\r\nEditAmountToBeSentEditableCell.propTypes = {\r\n value: PropTypes.oneOfType([\r\n PropTypes.string,\r\n PropTypes.number\r\n ]),\r\n row: PropTypes.object.isRequired,\r\n column: PropTypes.object.isRequired,\r\n updateCellHandler: PropTypes.func.isRequired,\r\n};\r\n\r\nexport default EditAmountToBeSentEditableCell;","import React, { useEffect, useMemo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport InfoBox from '../../../components/InfoBox/InfoBox';\r\nimport Table from '../../../components/InfoBox/Table';\r\nimport InputSelect from '../../../components/controls/InputSelect';\r\nimport InputCheckbox from '../../../components/controls/InputCheckbox';\r\nimport ExcelImage from '../../../components/Image/ExcelImage/ExcelImage';\r\nimport partnerResources from '../../Shared/Partners/partnerResources';\r\nimport groupMembershipResources from '../../Shared/Programs/groupMembershipResources';\r\nimport wellnessProgramPaymentResources from '../wellnessProgramPaymentsResources';\r\nimport actions from './partnerPaymentsSectionActions';\r\nimport selectors from './partnerPaymentsSectionSelectors';\r\nimport UndoAmountCorrectionActionCell from '../UndoAmountCorrectionActionCell';\r\nimport EditAmountToBeSentEditableCell from '../EditAmountToBeSentEditableCell';\r\nimport { getClosedUsagePeriods, getPeriodsUntilCurrent } from '../../Shared/Periods/periodsActions';\r\nimport programPaymentTypesEnum from '../../../enums/programPaymentTypes';\r\nimport { partnerBillingTypesNamesMap } from '../../../enums/partnerBillingTypes';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\nimport paymentTypesEnum from '../../../enums/paymentTypes';\r\n\r\nfunction PartnerPaymentsSection({\r\n isLoading,\r\n programTypes,\r\n programPaymentTypes,\r\n partners,\r\n periods,\r\n payments,\r\n paymentTypes,\r\n getPayments,\r\n paymentsFilter,\r\n setProgramPaymentType,\r\n setPeriod,\r\n setPartner,\r\n setPaymentType,\r\n defaultPeriod,\r\n downloadPayments,\r\n programPaymentTypeId,\r\n periodId,\r\n partnerId,\r\n showCorrectedOnly,\r\n setShowCorrectedOnly,\r\n getPartnersListByProgramPaymentType,\r\n updatePartnerPaymentAmountToBeSent,\r\n undoPartnerPaymentAmountCorrection,\r\n getClosedUsagePeriods,\r\n getPeriodsUntilCurrent,\r\n programTypeId,\r\n paymentTypeId,\r\n defaultPaymentType,\r\n getPaymentTypesByProgramPaymentType\r\n}) {\r\n useEffect(() => {\r\n if (programPaymentTypeId) {\r\n getPartnersListByProgramPaymentType(programPaymentTypeId);\r\n getPaymentTypesByProgramPaymentType(programPaymentTypeId);\r\n if ((programPaymentTypeId === programPaymentTypesEnum.memberPaid || programPaymentTypeId === programPaymentTypesEnum.partnerMemberPaid)\r\n && paymentTypeId === paymentTypesEnum.gmPartnerFees) {\r\n getPeriodsUntilCurrent();\r\n }\r\n else if (programPaymentTypeId === programPaymentTypesEnum.partnerPaid\r\n || (programPaymentTypeId === programPaymentTypesEnum.memberPaid && paymentTypeId === paymentTypesEnum.gmPartnerReimbursements)\r\n || (programPaymentTypeId === programPaymentTypesEnum.partnerMemberPaid && paymentTypeId === paymentTypesEnum.gmPartnerDues)) {\r\n getClosedUsagePeriods();\r\n }\r\n setPartner(null);\r\n setPaymentType(defaultPaymentType);\r\n setPeriod(null);\r\n }\r\n }, [programPaymentTypeId]);\r\n useEffect(() => {\r\n if (defaultPeriod) {\r\n setPeriod(defaultPeriod);\r\n }\r\n }, [defaultPeriod]);\r\n useEffect(() => {\r\n if (programPaymentTypeId && paymentTypeId && periodId) {\r\n getPayments(programPaymentTypeId, paymentTypeId, periodId, partnerId, showCorrectedOnly);\r\n }\r\n }, [programPaymentTypeId, paymentTypeId, periodId, partnerId, showCorrectedOnly]);\r\n const exportToExcel = () => {\r\n if (programPaymentTypeId && periodId) {\r\n downloadPayments(programPaymentTypeId, paymentTypeId, periodId, partnerId, showCorrectedOnly);\r\n }\r\n };\r\n const updateAmountToBeSentHandler = (rowIndex, columnId, value, rowData) => {\r\n updatePartnerPaymentAmountToBeSent(programTypeId, programPaymentTypeId, rowData[wellnessProgramPaymentResources.accessorId], value);\r\n };\r\n const undoHandler = (paymentId) => {\r\n undoPartnerPaymentAmountCorrection(programTypeId, programPaymentTypeId, paymentId)\r\n .then(() => {\r\n getPayments(programPaymentTypeId, paymentTypeId, periodId, partnerId, showCorrectedOnly);\r\n });\r\n };\r\n const onChangeShowCorrectedOnly = (event) => {\r\n setShowCorrectedOnly(event.target.checked);\r\n };\r\n const { gmrAddProgram } = useFlags();\r\n const feesColumns = useMemo(\r\n () => [\r\n {\r\n Header: partnerResources.labelPartnerIdNumber,\r\n accessor: 'partnerIDNumber',\r\n minWidth: 180\r\n },\r\n {\r\n Header: partnerResources.labelName,\r\n accessor: 'partnerName',\r\n minWidth: 300\r\n },\r\n {\r\n Header: gmrAddProgram ? groupMembershipResources.labelVisitMonth : groupMembershipResources.labelUsagePeriod,\r\n accessor: 'usagePeriod',\r\n minWidth: 200\r\n },\r\n {\r\n Header: gmrAddProgram ? groupMembershipResources.labelProgramFee : groupMembershipResources.labelMonthlyInstallment,\r\n accessor: 'monthlyInstallment',\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 })\r\n },\r\n {\r\n Header: groupMembershipResources.labelAdminFee,\r\n accessor: 'adminFee',\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 })\r\n },\r\n ...gmrAddProgram ?\r\n []\r\n : [{\r\n Header: groupMembershipResources.labelStartupFee,\r\n accessor: 'startupFee',\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 })\r\n }],\r\n {\r\n Header: groupMembershipResources.labelRenewalFee,\r\n accessor: 'renewalFee',\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 }),\r\n minWidth: 150\r\n },\r\n {\r\n Header: groupMembershipResources.labelFacilityAccessFee,\r\n accessor: 'facilityAccessFee',\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 }),\r\n minWidth: 150\r\n },\r\n {\r\n Header: groupMembershipResources.labelOneTimeFee,\r\n accessor: 'oneTimeFee',\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 }),\r\n minWidth: 150\r\n },\r\n {\r\n Header: groupMembershipResources.labelOneTimeFeeReason,\r\n accessor: 'oneTimeFeeReason',\r\n minWidth: 180\r\n },\r\n {\r\n Header: groupMembershipResources.labelTotalPayment,\r\n accessor: 'totalPayment'\r\n },\r\n {\r\n Header: groupMembershipResources.labelPartnerAmountToBeSent,\r\n accessor: 'amountToBeSent',\r\n Cell: EditAmountToBeSentEditableCell,\r\n width: 100\r\n },\r\n ...gmrAddProgram ?\r\n [{\r\n Header: groupMembershipResources.labelBillingType,\r\n accessor: 'partnerBillingTypeID',\r\n minWidth: 250,\r\n Cell: (cell) => { return cell.value ? partnerBillingTypesNamesMap[cell.value] : null; },\r\n },\r\n {\r\n Header: groupMembershipResources.labelBillingInfo,\r\n accessor: 'billingInfo',\r\n }]\r\n : [{\r\n Header: groupMembershipResources.labelPayeeToken,\r\n accessor: 'payeeToken',\r\n minWidth: 340\r\n }],\r\n {\r\n Header: groupMembershipResources.labelStatus,\r\n accessor: 'status',\r\n minWidth: 200\r\n },\r\n {\r\n Header: groupMembershipResources.labelStatusDate,\r\n accessor: 'paymentStatusDate'\r\n },\r\n {\r\n Header: 'Actions',\r\n disableSortBy: true,\r\n getProps: () => ({\r\n handleUndo: undoHandler\r\n }),\r\n Cell: UndoAmountCorrectionActionCell,\r\n accessor: row => row,\r\n minWidth: 200\r\n }\r\n ],\r\n [partnerResources, groupMembershipResources, undoHandler, gmrAddProgram]\r\n );\r\n const duesAndReimbursementsColumns = useMemo(\r\n () => [\r\n {\r\n Header: partnerResources.labelPartnerIdNumber,\r\n accessor: 'partnerIDNumber',\r\n minWidth: 180\r\n },\r\n {\r\n Header: partnerResources.labelName,\r\n accessor: 'partnerName',\r\n minWidth: 300\r\n },\r\n {\r\n Header: groupMembershipResources.labelTotalPayment,\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 }),\r\n accessor: 'totalPayment'\r\n },\r\n {\r\n Header: groupMembershipResources.labelPartnerAmountToBeSent,\r\n Cell: cell => cell.value.toLocaleString('en-US', { minimumFractionDigits: 2 }),\r\n accessor: 'amountToBeSent',\r\n width: 100\r\n },\r\n {\r\n Header: groupMembershipResources.labelBillingType,\r\n accessor: 'partnerBillingTypeID',\r\n minWidth: 250,\r\n Cell: (cell) => { return cell.value ? partnerBillingTypesNamesMap[cell.value] : null; },\r\n },\r\n {\r\n Header: groupMembershipResources.labelBillingInfo,\r\n accessor: 'billingInfo',\r\n },\r\n {\r\n Header: groupMembershipResources.labelStatus,\r\n accessor: 'status',\r\n minWidth: 200\r\n },\r\n {\r\n Header: groupMembershipResources.labelStatusDate,\r\n accessor: 'paymentStatusDate'\r\n },\r\n {\r\n Header: 'Actions',\r\n disableSortBy: true,\r\n getProps: () => ({\r\n handleUndo: undoHandler\r\n }),\r\n Cell: UndoAmountCorrectionActionCell,\r\n accessor: row => row,\r\n minWidth: 200\r\n }\r\n ],\r\n [partnerResources, groupMembershipResources, undoHandler]\r\n );\r\n const defaultSorted = useMemo(() => [{ id: 'partnerIDNumber' }]);\r\n return \r\n {isLoading ?\r\n
    \r\n \r\n
    \r\n : <>\r\n }\r\n
    \r\n
    \r\n {\r\n gmrAddProgram ?\r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n onChange={setProgramPaymentType}\r\n />\r\n :\r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n isDisabled\r\n />\r\n }\r\n
    \r\n
    \r\n {gmrAddProgram ?\r\n
    \r\n
    \r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n onChange={setPaymentType}\r\n />\r\n
    \r\n
    \r\n : null\r\n }\r\n
    \r\n
    \r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n onChange={setPartner}\r\n />\r\n
    \r\n
    \r\n
    \r\n
    \r\n option.get('yearMonth')}\r\n getOptionValue={option => option.get('id')}\r\n onChange={setPeriod}\r\n />\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    ;\r\n}\r\nPartnerPaymentsSection.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n programTypes: PropTypes.object.isRequired,\r\n programPaymentTypes: PropTypes.object.isRequired,\r\n periods: PropTypes.object,\r\n payments: PropTypes.object.isRequired,\r\n partners: PropTypes.object.isRequired,\r\n paymentTypes: PropTypes.object.isRequired,\r\n paymentsFilter: PropTypes.object.isRequired,\r\n setProgramPaymentType: PropTypes.func.isRequired,\r\n setPeriod: PropTypes.func.isRequired,\r\n setPartner: PropTypes.func.isRequired,\r\n setPaymentType: PropTypes.func.isRequired,\r\n getPayments: PropTypes.func.isRequired,\r\n defaultPeriod: PropTypes.object,\r\n downloadPayments: PropTypes.func.isRequired,\r\n programPaymentTypeId: PropTypes.number,\r\n partnerId: PropTypes.number,\r\n periodId: PropTypes.number,\r\n updatePartnerPaymentAmountToBeSent: PropTypes.func.isRequired,\r\n undoPartnerPaymentAmountCorrection: PropTypes.func.isRequired,\r\n showCorrectedOnly: PropTypes.bool.isRequired,\r\n getPartnersListByProgramPaymentType: PropTypes.func.isRequired,\r\n setShowCorrectedOnly: PropTypes.func.isRequired,\r\n getClosedUsagePeriods: PropTypes.func.isRequired,\r\n getPeriodsUntilCurrent: PropTypes.func.isRequired,\r\n programTypeId: PropTypes.number,\r\n paymentTypeId: PropTypes.number,\r\n defaultPaymentType: PropTypes.object.isRequired,\r\n getPaymentTypesByProgramPaymentType: PropTypes.func.isRequired\r\n};\r\nconst mapDispatchToProps = {\r\n getClosedUsagePeriods,\r\n getPeriodsUntilCurrent,\r\n ...actions,\r\n};\r\nexport default connect(selectors, mapDispatchToProps)(PartnerPaymentsSection);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport ReactConfirmAlert from 'react-confirm-alert';\r\nimport PopupBody from '../PopupBody';\r\n\r\nfunction ConnectedConfirmPopup({ showPopup, title, body, onConfirm, onCancel, labelOk, labelCancel }) {\r\n return showPopup\r\n ? \r\n }\r\n />\r\n : <>;\r\n}\r\n\r\nConnectedConfirmPopup.propTypes = {\r\n showPopup: PropTypes.bool.isRequired,\r\n title: PropTypes.string,\r\n labelOk: PropTypes.string,\r\n labelCancel: PropTypes.string,\r\n body: PropTypes.object.isRequired,\r\n onConfirm: PropTypes.func.isRequired,\r\n onCancel: PropTypes.func.isRequired\r\n};\r\n\r\nexport default connect()(ConnectedConfirmPopup);\r\n","import validationRules from '../../../utilities/validationRules';\r\nimport wellnessProgramPaymentResources from '../wellnessProgramPaymentsResources';\r\n\r\nexport const partnerRequired = validationRules.required(\r\n wellnessProgramPaymentResources.labelPartner\r\n);\r\n\r\nexport const visitMonthRequired = validationRules.required(\r\n wellnessProgramPaymentResources.labelVisitMonth\r\n);\r\n\r\nexport const forPartnerRequired = validationRules.required(\r\n wellnessProgramPaymentResources.labelForPartner\r\n);\r\n\r\nexport const periodRequired = validationRules.required(\r\n wellnessProgramPaymentResources.labelForUsagePeriod\r\n);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport FormGroup from '../../../components/controls/FormGroup';\r\nimport InputSelect from '../../../components/controls/InputSelect';\r\nimport MuiButton from '../../../components/controls/MuiButton';\r\nimport { defaultFormProperties } from '../../../utilities/form';\r\nimport wellnessProgramPaymentResources from '../wellnessProgramPaymentsResources';\r\nimport * as validationRules from './paymentViaACHFormValidation';\r\nimport './_payment-via-ach-from.scss';\r\n\r\nconst PaymentViaACHForm = ({\r\n gmrAddProgram,\r\n pristine,\r\n submitting,\r\n handleSubmit,\r\n onSubmitSend,\r\n onSubmitDownload,\r\n programTypes,\r\n programPaymentTypes,\r\n partners,\r\n periods,\r\n isSendDisabled,\r\n sendErrorMessage,\r\n paymentTypes,\r\n paymentTypeFilterVisible,\r\n programPaymentTypeFilterDisabled,\r\n onProgramPaymentTypeChange\r\n}) => {\r\n return \r\n {\r\n gmrAddProgram ?\r\n <>\r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n component={InputSelect}\r\n isDisabled={programPaymentTypeFilterDisabled}\r\n onChange={onProgramPaymentTypeChange}\r\n />\r\n {paymentTypeFilterVisible ?\r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n component={InputSelect}\r\n />\r\n : <>\r\n }\r\n \r\n :\r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n component={InputSelect}\r\n isDisabled\r\n />\r\n }\r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n validate={gmrAddProgram ? [validationRules.partnerRequired] : [validationRules.forPartnerRequired]}\r\n />\r\n option.get('yearMonth')}\r\n getOptionValue={option => option.get('id')}\r\n validate={gmrAddProgram ? [validationRules.visitMonthRequired] : [validationRules.periodRequired]}\r\n />\r\n
    \r\n
    \r\n onSubmitSend(values))}\r\n >\r\n {wellnessProgramPaymentResources.buttonSendToUSBank}\r\n \r\n
    \r\n
    \r\n onSubmitDownload(values))}\r\n >\r\n {wellnessProgramPaymentResources.buttonDownloadForPreview}\r\n \r\n
    \r\n {sendErrorMessage && (\r\n
    {sendErrorMessage}
    \r\n )}\r\n
    \r\n
    ;\r\n};\r\n\r\nPaymentViaACHForm.propTypes = {\r\n pristine: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n gmrAddProgram: PropTypes.bool,\r\n handleSubmit: PropTypes.func.isRequired,\r\n onSubmitSend: PropTypes.func.isRequired,\r\n onSubmitDownload: PropTypes.func.isRequired,\r\n programTypes: PropTypes.object.isRequired,\r\n programPaymentTypes: PropTypes.object.isRequired,\r\n partners: PropTypes.object.isRequired,\r\n periods: PropTypes.object,\r\n isSendDisabled: PropTypes.bool.isRequired,\r\n sendErrorMessage: PropTypes.string,\r\n paymentTypes: PropTypes.object,\r\n paymentTypeFilterVisible: PropTypes.bool,\r\n programPaymentTypeFilterDisabled: PropTypes.bool,\r\n onProgramPaymentTypeChange: PropTypes.func\r\n};\r\n\r\nexport default reduxForm({\r\n ...defaultFormProperties\r\n})(PaymentViaACHForm);\r\n","const paymentConfirmationFormResources = {\r\n labelForPIN: 'PIN Code',\r\n};\r\nexport default paymentConfirmationFormResources;\r\n","import validationRules from '../../../utilities/validationRules';\r\nimport paymentConfirmationFormResources from './paymentConfirmationFormResources';\r\n\r\nexport const pinRequired = validationRules.required(\r\n paymentConfirmationFormResources.labelForPIN\r\n);\r\nexport const pinNumeric = validationRules.numericOrEmpty(\r\n paymentConfirmationFormResources.labelForPIN\r\n);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport FormGroup from '../../../components/controls/FormGroup';\r\nimport { MuiInputText } from '../../../components/controls/MuiInputText';\r\nimport { defaultFormProperties } from '../../../utilities/form';\r\nimport paymentConfirmationFormResources from './paymentConfirmationFormResources';\r\nimport * as validationRules from './paymentConfrimationFormValidation';\r\n\r\nconst PaymentConfirmationForm = ({\r\n handleSubmit,\r\n message\r\n}) => {\r\n return \r\n \r\n
    \r\n {message}\r\n
    \r\n
    ;\r\n};\r\n\r\nPaymentConfirmationForm.propTypes = {\r\n handleSubmit: PropTypes.func.isRequired,\r\n message: PropTypes.string.isRequired,\r\n};\r\n\r\nexport default reduxForm({\r\n ...defaultFormProperties\r\n})(PaymentConfirmationForm);\r\n\r\n","import { createSelector } from 'reselect';\r\nimport { SEND_PAYMENT_WITHDRAWAL, DOWNLOAD_PAYMENT_WITHDRAWAL, CHECK_PAYMENT_WITHDRAWAL, GET_PARTNERS } from './partnerPaymentWithdrawalSectionTypes';\r\nimport programPaymentTypesEnum from '../../../enums/programPaymentTypes';\r\nimport paymentTypesEnum from '../../../enums/paymentTypes';\r\nimport { GET_CLOSED_USAGE_PERIODS, GET_PERIODS_UNTIL_CURRENT } from '../../Shared/Periods/periodsTypes';\r\nimport wellnessProgramPaymentResources from '../wellnessProgramPaymentsResources';\r\nimport { formValueSelector } from 'redux-form';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i =>\r\n i === SEND_PAYMENT_WITHDRAWAL\r\n || i === GET_PARTNERS\r\n || i === DOWNLOAD_PAYMENT_WITHDRAWAL\r\n || i === CHECK_PAYMENT_WITHDRAWAL\r\n || i === GET_CLOSED_USAGE_PERIODS\r\n || i === GET_PERIODS_UNTIL_CURRENT\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\nconst getPaymentWithdrawal = state => state.partnerPaymentWithdrawalSectionReducer.get('paymentWithdrawal');\r\nconst getPartners = state => state.partnerPaymentWithdrawalSectionReducer.get('partners');\r\nconst getPopupMessage = state => state.partnerPaymentWithdrawalSectionReducer.get('popupData').message;\r\nconst getPopupSubmitText = state => state.partnerPaymentWithdrawalSectionReducer.get('popupData').submitText;\r\nconst getIsAchUploadAvailable = state => state.wellnessProgramPaymentsReducer.getIn(['achUploadAvailability', 'isAchUploadAvailable']);\r\nconst getAchUploadErrorMessage = state => state.wellnessProgramPaymentsReducer.getIn(['achUploadAvailability', 'errorMessage']);\r\nconst formSelector = formValueSelector(wellnessProgramPaymentResources.formPaymentWithdrawalViaACHForm, state => state.form.toJS());\r\nconst getProgramPaymentTypeId = (state) => {\r\n const programPaymentType = formSelector(state, wellnessProgramPaymentResources.fieldProgramPaymentType);\r\n if (programPaymentType) {\r\n return programPaymentType.id;\r\n } else {\r\n return programPaymentTypesEnum.partnerPaid;\r\n }\r\n};\r\nconst getPaymentTypeId = (state) => {\r\n const paymentType = formSelector(state, wellnessProgramPaymentResources.fieldPaymentType);\r\n if (paymentType) {\r\n return paymentType.id;\r\n } else {\r\n return paymentTypesEnum.gmPartnerFees;\r\n }\r\n};\r\n\r\nconst getProgramTypeId = (state) => {\r\n const programType = formSelector(state, wellnessProgramPaymentResources.fieldProgramType);\r\n if (programType) {\r\n return programType.id;\r\n }\r\n};\r\n\r\nconst getSelf = state => state;\r\n\r\nconst getPaymentTypes = state => state.partnerPaymentWithdrawalSectionReducer.get('paymentTypes');\r\nconst getPeriods = createSelector([getProgramPaymentTypeId, getPaymentTypeId, getSelf], (selectedProgramPaymentTypeID, selectedPaymentTypeID, state) => {\r\n if (selectedProgramPaymentTypeID === programPaymentTypesEnum.partnerPaid\r\n || (selectedProgramPaymentTypeID === programPaymentTypesEnum.memberPaid && selectedPaymentTypeID === paymentTypesEnum.gmPartnerReimbursements)\r\n || (selectedProgramPaymentTypeID === programPaymentTypesEnum.partnerMemberPaid && selectedPaymentTypeID === paymentTypesEnum.gmPartnerDues)) {\r\n return state.periodsReducer.get('closedUsagePeriods');\r\n }\r\n else {\r\n return state.periodsReducer.get('periodsUntilCurrent');\r\n }\r\n});\r\n\r\nexport default createSelector(\r\n [getIsLoading, getPaymentWithdrawal, getPartners, getPopupMessage, getPopupSubmitText, getIsAchUploadAvailable, getAchUploadErrorMessage, getProgramPaymentTypeId, getPeriods, getProgramTypeId, getPaymentTypeId, getPaymentTypes],\r\n (isLoading, paymentWithdrawal, partners, popupMessage, popupSubmitText, isAchUploadAvailable, achUploadErrorMessage, programPaymentTypeId, periods, programTypeId, paymentTypeId, paymentTypes) => ({\r\n isLoading,\r\n paymentWithdrawal,\r\n partners,\r\n popupMessage,\r\n popupSubmitText,\r\n isAchUploadAvailable,\r\n achUploadErrorMessage,\r\n programPaymentTypeId,\r\n periods,\r\n programTypeId,\r\n paymentTypeId,\r\n paymentTypes\r\n })\r\n);","import * as types from './partnerPaymentWithdrawalSectionTypes';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport * as partnerPaymentWithdrawalSectionService from './partnerPaymentWithdrawalSectionService';\r\nimport * as partnersListService from '../../Partners/PartnersList/partnersListService';\r\nimport * as paymentTypeService from '../../../features/PaymentTypes/paymentTypeService';\r\n\r\nconst setProgramTypeAction = (programType) => {\r\n return { type: types.SET_PROGRAM_TYPE, programType };\r\n};\r\n\r\nfunction setProgramType(programType) {\r\n return function (dispatch) {\r\n dispatch(setProgramTypeAction(programType));\r\n };\r\n}\r\n\r\nconst setProgramPaymentTypeAction = (programPaymentType) => {\r\n return { type: types.SET_PROGRAM_PAYMENT_TYPE, programPaymentType };\r\n};\r\n\r\nfunction setProgramPaymentType(programPaymentType) {\r\n return function (dispatch) {\r\n dispatch(setProgramPaymentTypeAction(programPaymentType));\r\n };\r\n}\r\n\r\nconst setPopupDataAction = (popupData) => {\r\n return { type: types.SET_POPUP_DATA, popupData };\r\n};\r\n\r\nfunction checkPartnerPaymentsWithdrawal(programPaymentTypeId, partnerId, periodId, paymentTypeId) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.CHECK_PAYMENT_WITHDRAWAL));\r\n return partnerPaymentWithdrawalSectionService\r\n .checkPartnerPaymentsWithdrawal(programPaymentTypeId, partnerId, periodId, paymentTypeId)\r\n .then((response) => { dispatch(setPopupDataAction(response.data)); })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.CHECK_PAYMENT_WITHDRAWAL)));\r\n };\r\n}\r\n\r\nfunction sendPartnerPaymentsWithdrawal(payment) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.SEND_PAYMENT_WITHDRAWAL));\r\n return partnerPaymentWithdrawalSectionService\r\n .sendPartnerPaymentsWithdrawal(payment)\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.SEND_PAYMENT_WITHDRAWAL)));\r\n };\r\n}\r\n\r\nfunction downloadPaymentWithdrawal(payment) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.DOWNLOAD_PAYMENT_WITHDRAWAL));\r\n return partnerPaymentWithdrawalSectionService\r\n .dowloadPaymentWithdrawal(payment)\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.DOWNLOAD_PAYMENT_WITHDRAWAL)));\r\n };\r\n}\r\n\r\nconst setPartnersAction = (partners) => {\r\n return { type: types.SET_PARTNERS, partners };\r\n};\r\n\r\nfunction getPartnersListByProgramPaymentType(programPaymentTypeID, partnerBillingTypeID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PARTNERS));\r\n return partnersListService\r\n .getPartnersListByProgramPaymentType(programPaymentTypeID, partnerBillingTypeID)\r\n .then((partners) => {\r\n dispatch(setPartnersAction(partners));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PARTNERS));\r\n });\r\n };\r\n}\r\n\r\nfunction getPartnersListByProgramType(programTypeID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PARTNERS));\r\n return partnersListService\r\n .getPartnersListByProgramType(programTypeID)\r\n .then((partners) => {\r\n dispatch(setPartnersAction(partners));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PARTNERS));\r\n });\r\n };\r\n}\r\n\r\nconst setPaymentTypeAction = (paymentType) => {\r\n return { type: types.SET_PAYMENT_TYPE, paymentType };\r\n};\r\n\r\nfunction setPaymentType(paymentType) {\r\n return function (dispatch) {\r\n dispatch(setPaymentTypeAction(paymentType));\r\n };\r\n}\r\n\r\nfunction getPaymentTypesByProgramPaymentType(programPaymentTypeID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PAYMENT_TYPES));\r\n return paymentTypeService\r\n .getPartnerPaymentTypesByProgramPaymentType(programPaymentTypeID)\r\n .then((paymentTypes) => {\r\n dispatch(setPaymentTypesAction(paymentTypes));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PAYMENT_TYPES));\r\n });\r\n };\r\n}\r\n\r\nconst setPaymentTypesAction = (paymentTypes) => {\r\n return { type: types.SET_PAYMENT_TYPES, paymentTypes };\r\n};\r\n\r\nconst setPeriodAction = (period) => {\r\n return { type: types.SET_PERIOD, period };\r\n};\r\n\r\nfunction setPeriod(period) {\r\n return function (dispatch) {\r\n dispatch(setPeriodAction(period));\r\n };\r\n};\r\n\r\nconst setPartnerAction = (partner) => {\r\n return { type: types.SET_PARTNER, partner };\r\n};\r\n\r\nfunction setPartner(partner) {\r\n return function (dispatch) {\r\n dispatch(setPartnerAction(partner));\r\n };\r\n}\r\n\r\nexport default {\r\n setProgramType,\r\n setProgramPaymentType,\r\n sendPartnerPaymentsWithdrawal,\r\n downloadPaymentWithdrawal,\r\n checkPartnerPaymentsWithdrawal,\r\n getPartnersListByProgramPaymentType,\r\n getPartnersListByProgramType,\r\n setPaymentType,\r\n getPaymentTypesByProgramPaymentType,\r\n setPeriod,\r\n setPartner\r\n};","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\n\r\nexport function checkPartnerPaymentsWithdrawal(programPaymentTypeId, partnerId, periodId, paymentTypeId) {\r\n return http.get(API_PATHS.checkPartnerPaymentsWithdrawal, { params: { programPaymentTypeId, partnerId, periodId, paymentTypeId } });\r\n};\r\n\r\nexport function sendPartnerPaymentsWithdrawal(payment) {\r\n return http.post(API_PATHS.sendPartnerPaymentsWithdrawal, payment);\r\n};\r\n\r\nexport function dowloadPaymentWithdrawal(payment) {\r\n const config = {\r\n responseType: 'blob'\r\n };\r\n return http.post(API_PATHS.dowloadPaymentWithdrawal, payment, config);\r\n}","import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { submit } from 'redux-form';\r\nimport InfoBox from '../../../components/InfoBox/InfoBox';\r\nimport ConnectedConfirmPopup from '../../../components/Popups/ConfirmAlert/ConnectedConfirmPopup';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport PaymentViaACHForm from '../PaymentViaACHForm/PaymentViaACHForm';\r\nimport PaymentConfirmationForm from '../PaymentConfirmationForm/PaymentConfirmationForm';\r\nimport selectors from './partnerPaymentWithdrawalSectionSelectors';\r\nimport wellnessProgramPaymentResources from '../wellnessProgramPaymentsResources';\r\nimport actions from './partnerPaymentWithdrawalSectionActions';\r\nimport { getClosedUsagePeriods, getPeriodsUntilCurrent } from '../../Shared/Periods/periodsActions';\r\nimport programPaymentTypesEnum from '../../../enums/programPaymentTypes';\r\nimport partnerBillingTypes from '../../../enums/partnerBillingTypes';\r\nimport paymentTypesEnum from '../../../enums/paymentTypes';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\n\r\nfunction PartnerPaymentWithdrawalSection({\r\n isLoading,\r\n programTypes,\r\n defaultProgramType,\r\n setProgramType,\r\n programPaymentTypes,\r\n defaultProgramPaymentType,\r\n setProgramPaymentType,\r\n partners,\r\n periods,\r\n paymentWithdrawal,\r\n getPartnersListByProgramPaymentType,\r\n sendPartnerPaymentsWithdrawal,\r\n downloadPaymentWithdrawal,\r\n checkPartnerPaymentsWithdrawal,\r\n popupMessage,\r\n popupSubmitText,\r\n isAchUploadAvailable,\r\n achUploadErrorMessage,\r\n getClosedUsagePeriods,\r\n defaultPaymentType,\r\n paymentTypes,\r\n setPaymentType,\r\n getPaymentTypesByProgramPaymentType,\r\n getPeriodsUntilCurrent,\r\n setPeriod,\r\n programPaymentTypeId,\r\n paymentTypeId,\r\n setPartner\r\n}) {\r\n const { gmrAddProgram } = useFlags();\r\n useEffect(() => {\r\n setProgramPaymentType(defaultProgramPaymentType);\r\n setProgramType(defaultProgramType);\r\n }, []);\r\n useEffect(() => {\r\n if (programPaymentTypeId) {\r\n setPaymentType(defaultPaymentType);\r\n getPartnersListByProgramPaymentType(programPaymentTypeId, partnerBillingTypes.DirectFromBankAccount);\r\n getPaymentTypesByProgramPaymentType(programPaymentTypeId);\r\n }\r\n }, [programPaymentTypeId]);\r\n useEffect(() => {\r\n if (programPaymentTypeId && paymentTypeId) {\r\n if (paymentTypeId === paymentTypesEnum.gmPartnerFees\r\n && (programPaymentTypeId === programPaymentTypesEnum.memberPaid\r\n || programPaymentTypeId === programPaymentTypesEnum.partnerMemberPaid)) {\r\n getPeriodsUntilCurrent();\r\n }\r\n else {\r\n getClosedUsagePeriods();\r\n }\r\n setPeriod();\r\n setPartner();\r\n }\r\n }, [programPaymentTypeId, paymentTypeId]);\r\n const programPaymentTypeChangeHandler = (programPaymentType) => {\r\n setProgramPaymentType(programPaymentType);\r\n };\r\n const [isPopupOpened, setIsPopupOpened] = useState(false);\r\n const handlePINSubmit = (payment) => {\r\n const paymentToSend = {\r\n programTypeID: payment.getIn(['programType', 'id']),\r\n programPaymentTypeID: payment.getIn(['programPaymentType', 'id']),\r\n partnerID: payment.getIn(['partner', 'id']),\r\n periodID: payment.getIn(['period', 'id']),\r\n pin: payment.get('pin'),\r\n paymentTypeID: payment.getIn(['paymentType', 'id'])\r\n };\r\n sendPartnerPaymentsWithdrawal(paymentToSend);\r\n setIsPopupOpened(false);\r\n };\r\n const [paymentWithdrawalWithPIN, setPaymentWithdrawal] = useState(paymentWithdrawal);\r\n const handleSubmitSend = (payment) => {\r\n const programPaymentTypeId = payment.getIn(['programPaymentType', 'id']);\r\n const partnerId = payment.getIn(['partner', 'id']);\r\n const periodId = payment.getIn(['period', 'id']);\r\n const paymentTypeId = payment.getIn(['paymentType', 'id']);\r\n setPaymentWithdrawal(payment);\r\n checkPartnerPaymentsWithdrawal(programPaymentTypeId, partnerId, periodId, paymentTypeId).then(() => {\r\n setIsPopupOpened(true);\r\n });\r\n };\r\n const handleSubmitDownload = (payment) => {\r\n const paymentToDownload = {\r\n programTypeId: payment.getIn(['programType', 'id']),\r\n programPaymentTypeId: payment.getIn(['programPaymentType', 'id']),\r\n partnerID: payment.getIn(['partner', 'id']),\r\n periodID: payment.getIn(['period', 'id']),\r\n paymentTypeID: payment.getIn(['paymentType', 'id'])\r\n };\r\n downloadPaymentWithdrawal(paymentToDownload);\r\n };\r\n return \r\n {isLoading\r\n ? \r\n : <>\r\n }\r\n }\r\n onConfirm={(dispatch) => {\r\n dispatch(submit(wellnessProgramPaymentResources.formPaymentWithdrawalConfirmation));\r\n }}\r\n onCancel={() => setIsPopupOpened(false)}\r\n labelOk={popupSubmitText}\r\n labelCancel={wellnessProgramPaymentResources.buttonCancel}\r\n />\r\n \r\n ;\r\n}\r\n\r\nPartnerPaymentWithdrawalSection.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n programTypes: PropTypes.object.isRequired,\r\n programPaymentTypes: PropTypes.object.isRequired,\r\n setProgramType: PropTypes.func.isRequired,\r\n setProgramPaymentType: PropTypes.func.isRequired,\r\n periods: PropTypes.object,\r\n partners: PropTypes.object.isRequired,\r\n paymentWithdrawal: PropTypes.object.isRequired,\r\n getPartnersListByProgramType: PropTypes.func.isRequired,\r\n getPartnersListByProgramPaymentType: PropTypes.func.isRequired,\r\n sendPartnerPaymentsWithdrawal: PropTypes.func.isRequired,\r\n downloadPaymentWithdrawal: PropTypes.func.isRequired,\r\n checkPartnerPaymentsWithdrawal: PropTypes.func.isRequired,\r\n defaultProgramType: PropTypes.object,\r\n defaultProgramPaymentType: PropTypes.object,\r\n popupMessage: PropTypes.string,\r\n popupSubmitText: PropTypes.string,\r\n isAchUploadAvailable: PropTypes.bool.isRequired,\r\n achUploadErrorMessage: PropTypes.string,\r\n programPaymentTypeId: PropTypes.number,\r\n getClosedUsagePeriods: PropTypes.func.isRequired,\r\n programTypeId: PropTypes.number,\r\n setPaymentType: PropTypes.func.isRequired,\r\n defaultPaymentType: PropTypes.object,\r\n paymentTypes: PropTypes.object,\r\n getPaymentTypesByProgramPaymentType: PropTypes.func.isRequired,\r\n getPeriodsUntilCurrent: PropTypes.func.isRequired,\r\n setPeriod: PropTypes.func.isRequired,\r\n paymentTypeId: PropTypes.number,\r\n setPartner: PropTypes.func.isRequired\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getClosedUsagePeriods,\r\n getPeriodsUntilCurrent,\r\n ...actions\r\n};\r\n\r\nexport default connect(selectors, mapDispatchToProps)(PartnerPaymentWithdrawalSection);","import validationRules from '../../../utilities/validationRules';\r\nimport wellnessProgramPaymentResources from '../wellnessProgramPaymentsResources';\r\n\r\nexport const programTypeRequired = validationRules.required(\r\n wellnessProgramPaymentResources.labelProgramType\r\n);\r\n\r\nexport const visitMonthRequired = validationRules.required(\r\n wellnessProgramPaymentResources.labelVisitMonth\r\n);\r\n\r\nexport const partnerRequired = validationRules.required(\r\n wellnessProgramPaymentResources.labelPartner\r\n);\r\n\r\nexport const periodRequired = validationRules.required(\r\n wellnessProgramPaymentResources.labelForUsagePeriod\r\n);\r\n\r\nexport const forPartnerRequired = validationRules.required(\r\n wellnessProgramPaymentResources.labelForPartner\r\n);\r\n\r\nexport const paymentTypeRequired = validationRules.required(\r\n wellnessProgramPaymentResources.labelPaymentType\r\n);","import React, { useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport FormGroup from '../../../components/controls/FormGroup';\r\nimport InputSelect from '../../../components/controls/InputSelect';\r\nimport MuiButton from '../../../components/controls/MuiButton';\r\nimport { defaultFormProperties } from '../../../utilities/form';\r\nimport wellnessProgramPaymentResources from '../wellnessProgramPaymentsResources';\r\nimport * as validationRules from './partnerPaymentsGenerationFormValidation';\r\nimport programPaymentTypesEnum from '../../../enums/programPaymentTypes';\r\n\r\nconst PatnerPaymentsGenerationForm = ({\r\n gmrAddProgram,\r\n pristine,\r\n submitting,\r\n handleSubmit,\r\n programTypes,\r\n programPaymentTypes,\r\n partners,\r\n onSubmitGenerate,\r\n onSubmitGenerateWithFees,\r\n periods,\r\n onProgramPaymentTypeChange,\r\n onPaymentTypeChange,\r\n paymentTypes }) => {\r\n const [isGenerateWithFeesDisabled, setIsGenerateWithFeesDisabled] = useState(false);\r\n const [selectedProgramPaymentTypeID, setSelectedProgramPaymentTypeID] = useState(null);\r\n return \r\n {\r\n gmrAddProgram ?\r\n <>\r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n component={InputSelect}\r\n validate={[\r\n validationRules.programTypeRequired\r\n ]}\r\n onChange={(option) => {\r\n const programPaymentTypeID = option.get('id');\r\n setSelectedProgramPaymentTypeID(programPaymentTypeID);\r\n onProgramPaymentTypeChange(programPaymentTypeID);\r\n if (programPaymentTypeID === programPaymentTypesEnum.partnerPaid) {\r\n setIsGenerateWithFeesDisabled(false);\r\n }\r\n else {\r\n setIsGenerateWithFeesDisabled(true);\r\n }\r\n }}\r\n />\r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n component={InputSelect}\r\n validate={[\r\n validationRules.paymentTypeRequired\r\n ]}\r\n onChange={option => onPaymentTypeChange(selectedProgramPaymentTypeID, option.get('id'))}\r\n />\r\n \r\n :\r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n component={InputSelect}\r\n isDisabled\r\n />\r\n }\r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n component={InputSelect}\r\n validate={gmrAddProgram ? [validationRules.partnerRequired] : [validationRules.forPartnerRequired]}\r\n />\r\n option.get('yearMonth')}\r\n getOptionValue={option => option.get('id')}\r\n validate={gmrAddProgram ? [validationRules.visitMonthRequired] : [validationRules.periodRequired]}\r\n />\r\n
    \r\n
    \r\n onSubmitGenerate(values))}\r\n >\r\n {wellnessProgramPaymentResources.buttonGenerate}\r\n \r\n
    \r\n
    \r\n onSubmitGenerateWithFees(values))}\r\n >\r\n {wellnessProgramPaymentResources.buttonGenerateWithFees}\r\n \r\n
    \r\n
    \r\n
    ;\r\n};\r\n\r\nPatnerPaymentsGenerationForm.propTypes = {\r\n pristine: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n handleSubmit: PropTypes.func.isRequired,\r\n programTypes: PropTypes.object.isRequired,\r\n programPaymentTypes: PropTypes.object.isRequired,\r\n partners: PropTypes.object.isRequired,\r\n periods: PropTypes.object,\r\n onSubmitGenerateWithFees: PropTypes.func.isRequired,\r\n onSubmitGenerate: PropTypes.func.isRequired,\r\n onProgramPaymentTypeChange: PropTypes.func.isRequired,\r\n gmrAddProgram: PropTypes.bool,\r\n paymentTypes: PropTypes.object,\r\n onPaymentTypeChange: PropTypes.func.isRequired\r\n};\r\n\r\nexport default reduxForm({\r\n form: wellnessProgramPaymentResources.formPartnerPaymentsGeneration,\r\n ...defaultFormProperties\r\n})(PatnerPaymentsGenerationForm);\r\n","import * as types from './partnerPaymentsGenerationSectionTypes';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport * as partnerPaymentsGenerationSectionService from './partnerPaymentsGenerationSectionService';\r\nimport * as partnersListService from '../../Partners/PartnersList/partnersListService';\r\nimport * as paymentTypeService from '../../../features/PaymentTypes/paymentTypeService';\r\n\r\n\r\nconst setProgramTypeAction = (programType) => {\r\n return { type: types.SET_PROGRAM_TYPE, programType };\r\n};\r\n\r\nfunction setProgramType(programType) {\r\n return function (dispatch) {\r\n dispatch(setProgramTypeAction(programType));\r\n };\r\n}\r\n\r\nconst setProgramPaymentTypeAction = (programPaymentType) => {\r\n return { type: types.SET_PROGRAM_PAYMENT_TYPE, programPaymentType };\r\n};\r\n\r\nfunction setProgramPaymentType(programPaymentType) {\r\n return function (dispatch) {\r\n dispatch(setProgramPaymentTypeAction(programPaymentType));\r\n };\r\n}\r\n\r\nconst setPeriodAction = (period) => {\r\n return { type: types.SET_PERIOD, period };\r\n};\r\n\r\nfunction setPeriod(period) {\r\n return function (dispatch) {\r\n dispatch(setPeriodAction(period));\r\n };\r\n};\r\n\r\nconst setCheckPaymentsExistAction = (doPaymentsExist) => {\r\n return { type: types.SET_PAYMENTS_EXIST, doPaymentsExist };\r\n};\r\n\r\nfunction resetPaymentsExistenceCheck() {\r\n return function (dispatch) {\r\n dispatch(setCheckPaymentsExistAction(null));\r\n };\r\n};\r\n\r\nfunction checkPaymentsExistence(programTypeID, programPaymentTypeID, periodID, partnerID, paymentTypeID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.CHECK_PAYMENTS_EXISTENCE));\r\n return partnerPaymentsGenerationSectionService\r\n .checkPaymentsExist(programTypeID, programPaymentTypeID, periodID, partnerID, paymentTypeID)\r\n .then((response) => {\r\n dispatch(setCheckPaymentsExistAction(response.data));\r\n })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.CHECK_PAYMENTS_EXISTENCE)));\r\n };\r\n}\r\n\r\nfunction generate(generateParams) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GENERATE_PAYMENTS));\r\n return partnerPaymentsGenerationSectionService\r\n .generate(generateParams)\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.GENERATE_PAYMENTS)));\r\n };\r\n}\r\n\r\nconst setPartnersAction = (partners) => {\r\n return { type: types.SET_PARTNERS, partners };\r\n};\r\n\r\nconst setIsGenerationWithFeesAction = (isGenerationWithFees) => {\r\n return { type: types.SET_IS_GENERATION_WITH_FEES, isGenerationWithFees };\r\n};\r\n\r\nexport function setIsGenerationWithFees(isGenerationWithFees) {\r\n return function (dispatch) {\r\n dispatch(setIsGenerationWithFeesAction(isGenerationWithFees));\r\n };\r\n}\r\n\r\nconst setIsAdditionalFeesPopupVisibleAction = (isAdditionalFeesPopupVisible) => {\r\n return { type: types.SET_IS_ADDITIONAL_FEES_POPUP_VISIBLE, isAdditionalFeesPopupVisible };\r\n};\r\n\r\nexport function setIsAdditionalFeesPopupVisible(isAdditionalFeesPopupVisible) {\r\n return function (dispatch) {\r\n dispatch(setIsAdditionalFeesPopupVisibleAction(isAdditionalFeesPopupVisible));\r\n };\r\n}\r\n\r\nexport function getPartnersListByProgramPaymentType(programPaymentTypeID, paymentType) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PARTNERS));\r\n return partnersListService\r\n .getPartnersListByProgramPaymentType(programPaymentTypeID, null, paymentType)\r\n .then((partners) => {\r\n dispatch(setPartnersAction(partners));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PARTNERS));\r\n });\r\n };\r\n}\r\n\r\nexport function getPartnersListByProgramType(programTypeID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PARTNERS));\r\n return partnersListService\r\n .getPartnersListByProgramType(programTypeID)\r\n .then((partners) => {\r\n dispatch(setPartnersAction(partners));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PARTNERS));\r\n });\r\n };\r\n}\r\n\r\nconst setPartnerAction = (partner) => {\r\n return { type: types.SET_PARTNER, partner };\r\n};\r\n\r\nfunction setPartner(partner) {\r\n return function (dispatch) {\r\n dispatch(setPartnerAction(partner));\r\n };\r\n};\r\n\r\nexport function getPaymentTypesByProgramPaymentType(programPaymentTypeID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PAYMENT_TYPES));\r\n return paymentTypeService\r\n .getPartnerPaymentTypesByProgramPaymentType(programPaymentTypeID)\r\n .then((paymentTypes) => {\r\n dispatch(setPaymentTypesAction(paymentTypes));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PAYMENT_TYPES));\r\n });\r\n };\r\n}\r\n\r\nconst setPaymentTypesAction = (paymentTypes) => {\r\n return { type: types.SET_PAYMENT_TYPES, paymentTypes };\r\n};\r\n\r\nfunction setPaymentType(paymentType) {\r\n return function (dispatch) {\r\n dispatch(setPaymentTypeAction(paymentType));\r\n };\r\n};\r\n\r\nconst setPaymentTypeAction = (paymentType) => {\r\n return { type: types.SET_PAYMENT_TYPE, paymentType };\r\n};\r\n\r\nexport default {\r\n setProgramType,\r\n setProgramPaymentType,\r\n setPartner,\r\n setPeriod,\r\n getPartnersListByProgramPaymentType,\r\n resetPaymentsExistenceCheck,\r\n checkPaymentsExistence,\r\n generate,\r\n setIsGenerationWithFees,\r\n setIsAdditionalFeesPopupVisible,\r\n getPartnersListByProgramType,\r\n setPaymentType,\r\n getPaymentTypesByProgramPaymentType\r\n};","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\n\r\nexport function checkPaymentsExist(programTypeID, programPaymentTypeID, periodID, partnerID, paymentTypeID) {\r\n return http.get(API_PATHS.checkPartnerPaymentsExist, { params: { programTypeID, programPaymentTypeID, periodID, partnerID, paymentTypeID } });\r\n}\r\n\r\nexport function generate(generateParams) {\r\n return http.post(API_PATHS.generatePartnerPayments, generateParams);\r\n};","const partnerPaymentsGenerationSectionResources = {\r\n partnerPaymentWarningMessageFormat: 'Partner Payments have already been generated. Are you sure you want to re-generate them?',\r\n partnerPaymentConfirmationMessageFormat: 'Please specify fees that need to be added to {0} Partner Payments.'\r\n};\r\nexport default partnerPaymentsGenerationSectionResources;\r\n","import { GROUP_MEMBERSHIPS } from '../../constants/abbreviations';\r\n\r\nexport default {\r\n formatGroupMembershipsPartnerName: (partnerName) => {\r\n return partnerName ? `${partnerName} - ${GROUP_MEMBERSHIPS}` : GROUP_MEMBERSHIPS;\r\n }\r\n};","import { createSelector } from 'reselect';\r\nimport { CHECK_PAYMENTS_EXISTENCE, GENERATE_PAYMENTS, GET_PARTNERS } from './partnerPaymentsGenerationSectionTypes';\r\nimport partnerPaymentsGenerationSectionResources from './partnerPaymentsGenerationSectionResources';\r\nimport { format } from 'react-string-format';\r\nimport partnerProgramNameFormatter from '../../../utilities/formatters/partnerProgramNameFormatter';\r\nimport { GET_CLOSED_USAGE_PERIODS, GET_PERIODS } from '../../Shared/Periods/periodsTypes';\r\nimport programPaymentTypesEnum from '../../../enums/programPaymentTypes';\r\nimport paymentTypesEnum from '../../../enums/paymentTypes';\r\nimport wellnessProgramPaymentResources from '../../WellnessProgramPayments/wellnessProgramPaymentsResources';\r\nimport { formValueSelector } from 'redux-form';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i => i === CHECK_PAYMENTS_EXISTENCE || i === GENERATE_PAYMENTS || i === GET_PARTNERS || i === GET_PERIODS || i === GET_CLOSED_USAGE_PERIODS\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\nconst getSelf = state => state;\r\nconst getPartners = state => state.partnerPaymentsGenerationSectionReducer.get('partners');\r\nconst getPaymentsGenerationSettings = state => state.partnerPaymentsGenerationSectionReducer.get('paymentsGenerationSettings');\r\nconst getForm = formValueSelector(wellnessProgramPaymentResources.formPartnerPaymentsGeneration, state => state.form.toJS());\r\nconst getSelectedProgramTypeID = createSelector([getPaymentsGenerationSettings], settings => settings.getIn(['programType', 'id']));\r\nconst getSelectedProgramPaymentTypeID = (state) => {\r\n const selectedProgramPaymentType = getForm(state, wellnessProgramPaymentResources.fieldProgramPaymentType);\r\n if (selectedProgramPaymentType) {\r\n return selectedProgramPaymentType.id;\r\n }\r\n};\r\nconst getSelectedPeriodID = createSelector([getPaymentsGenerationSettings], settings => settings.getIn(['period', 'id']));\r\nconst getSelectedPartnerID = createSelector([getPaymentsGenerationSettings], settings => settings.getIn(['partner', 'id']));\r\nconst getDoPaymentsExist = state => state.partnerPaymentsGenerationSectionReducer.get('doPaymentsExist');\r\nconst getPaymentsFees = state => state.partnerPaymentsGenerationSectionReducer.get('paymentsFees');\r\nconst getIsGenerationWithFees = state => state.partnerPaymentsGenerationSectionReducer.get('isGenerationWithFees');\r\nconst getisAdditionalFeesPopupVisible = state => state.partnerPaymentsGenerationSectionReducer.get('isAdditionalFeesPopupVisible');\r\nconst getConfirmationMessage = createSelector([getSelectedPartnerID, getPartners], (selectedPartnerID, partners) => {\r\n if (partners && partners.size > 0 && selectedPartnerID) {\r\n const selectedPartner = partners.find(x => x.get('id') === selectedPartnerID);\r\n if (selectedPartner) {\r\n const partnerName = selectedPartner.get('name');\r\n return format(partnerPaymentsGenerationSectionResources.partnerPaymentConfirmationMessageFormat, partnerProgramNameFormatter.formatGroupMembershipsPartnerName(partnerName));\r\n }\r\n }\r\n return '';\r\n});\r\nconst getPaymentTypes = state => state.partnerPaymentsGenerationSectionReducer.get('paymentTypes');\r\nconst getSelectedPaymentTypeID = (state) => {\r\n const selectedPaymentType = getForm(state, wellnessProgramPaymentResources.fieldPaymentType);\r\n if (selectedPaymentType) {\r\n return selectedPaymentType.id;\r\n }\r\n};\r\nconst getPeriods = createSelector([getSelectedProgramPaymentTypeID, getSelectedProgramTypeID, getSelectedPaymentTypeID, getSelf], (selectedProgramPaymentTypeID, selectedProgramTypeID, selectedPaymentTypeID, state) => {\r\n if (selectedProgramPaymentTypeID === programPaymentTypesEnum.partnerPaid\r\n || (selectedProgramPaymentTypeID === programPaymentTypesEnum.memberPaid && selectedPaymentTypeID === paymentTypesEnum.gmPartnerReimbursements)\r\n || (selectedProgramPaymentTypeID === programPaymentTypesEnum.partnerMemberPaid && selectedPaymentTypeID === paymentTypesEnum.gmPartnerDues)) {\r\n return state.periodsReducer.get('closedUsagePeriods');\r\n }\r\n else if (selectedProgramPaymentTypeID === programPaymentTypesEnum.memberPaid || selectedProgramPaymentTypeID === programPaymentTypesEnum.partnerMemberPaid) {\r\n return state.periodsReducer.get('periodsUntilCurrent');\r\n }\r\n else if (selectedProgramTypeID) {\r\n return state.periodsReducer.get('closedUsagePeriods');\r\n }\r\n});\r\nconst getMessage = createSelector([getPeriods, getSelectedPeriodID, getSelectedPartnerID, getPartners], (periods, selectedPeriodID, selectedPartnerID, partners) => {\r\n if (periods && selectedPeriodID && partners && selectedPartnerID) {\r\n return partnerPaymentsGenerationSectionResources.partnerPaymentWarningMessageFormat;\r\n }\r\n return '';\r\n});\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n getPaymentsGenerationSettings,\r\n getPartners,\r\n getDoPaymentsExist,\r\n getMessage,\r\n getSelectedProgramPaymentTypeID,\r\n getSelectedPeriodID,\r\n getIsGenerationWithFees,\r\n getPaymentsFees,\r\n getSelectedPartnerID,\r\n getConfirmationMessage,\r\n getisAdditionalFeesPopupVisible,\r\n getPeriods,\r\n getSelectedProgramTypeID,\r\n getPaymentTypes,\r\n getSelectedPaymentTypeID\r\n ],\r\n (\r\n isLoading,\r\n paymentsGenerationSettings,\r\n partners,\r\n doPaymentsExist,\r\n message,\r\n selectedProgramPaymentTypeID,\r\n selectedPeriodID,\r\n isGenerationWithFees,\r\n paymentsFees,\r\n selectedPartnerID,\r\n confirmationMessage,\r\n isAdditionalFeesPopupVisible,\r\n periods,\r\n selectedProgramTypeID,\r\n paymentTypes,\r\n selectedPaymentTypeID\r\n ) => ({\r\n isLoading,\r\n paymentsGenerationSettings,\r\n partners,\r\n doPaymentsExist,\r\n message,\r\n selectedProgramPaymentTypeID,\r\n selectedPeriodID,\r\n isGenerationWithFees,\r\n paymentsFees,\r\n selectedPartnerID,\r\n confirmationMessage,\r\n isAdditionalFeesPopupVisible,\r\n periods,\r\n selectedProgramTypeID,\r\n paymentTypes,\r\n selectedPaymentTypeID\r\n })\r\n);","const partnerPaymentsFeesConfirmationFormResources = {\r\n labelForStartupFeeAmount: 'Startup Fee Amount',\r\n labelForRenewalFeeAmount: 'Renewal Fee Amount',\r\n labelForFacilityAccessFeeAmount: 'Facility Access Fee Amount',\r\n labelForOneTimeFeeAmount: 'One-Time Fee Amount',\r\n labelForOneTimeFeeReason: 'One-time Fee Reason',\r\n};\r\n\r\nexport default partnerPaymentsFeesConfirmationFormResources;\r\n","import validationRules from '../../../utilities/validationRules';\r\nimport partnerPaymentsFeesConfirmationFormResources from './partnerPaymentsFeesConfirmationFormResources';\r\n\r\nexport const startupFeeAmountRange = validationRules.range(\r\n partnerPaymentsFeesConfirmationFormResources.labelForStartupFeeAmount,\r\n 0,\r\n 999999.99\r\n);\r\nexport const startupFeeAmountDecimalWithTwoPlaces = validationRules.decimalWithTwoPlaces(partnerPaymentsFeesConfirmationFormResources.labelForStartupFeeAmount);\r\nexport const startupFeeAmountNumeric = validationRules.numericOrEmpty(partnerPaymentsFeesConfirmationFormResources.labelForStartupFeeAmount);\r\n\r\nexport const renewalFeeAmountRange = validationRules.range(\r\n partnerPaymentsFeesConfirmationFormResources.labelForRenewalFeeAmount,\r\n 0,\r\n 999999.99\r\n);\r\nexport const renewalFeeAmountDecimalWithTwoPlaces = validationRules.decimalWithTwoPlaces(partnerPaymentsFeesConfirmationFormResources.labelForRenewalFeeAmount);\r\nexport const renewalFeeAmountNumeric = validationRules.numericOrEmpty(partnerPaymentsFeesConfirmationFormResources.labelForRenewalFeeAmount);\r\n\r\nexport const facilityAccessFeeAmountRange = validationRules.range(\r\n partnerPaymentsFeesConfirmationFormResources.labelForFacilityAccessFeeAmount,\r\n 0,\r\n 999999.99\r\n);\r\nexport const facilityAccessFeeAmountDecimalWithTwoPlaces = validationRules.decimalWithTwoPlaces(partnerPaymentsFeesConfirmationFormResources.labelForFacilityAccessFeeAmount);\r\nexport const facilityAccessFeeAmountNumeric = validationRules.numericOrEmpty(partnerPaymentsFeesConfirmationFormResources.labelForFacilityAccessFeeAmount);\r\n\r\nexport const oneTimeFeeAmountRange = validationRules.range(\r\n partnerPaymentsFeesConfirmationFormResources.labelForOneTimeFeeAmount,\r\n 0,\r\n 999999.99\r\n);\r\nexport const oneTimeFeeAmountDecimalWithTwoPlaces = validationRules.decimalWithTwoPlaces(partnerPaymentsFeesConfirmationFormResources.labelForOneTimeFeeAmount);\r\nexport const oneTimeFeeAmountNumeric = validationRules.numericOrEmpty(partnerPaymentsFeesConfirmationFormResources.labelForOneTimeFeeAmount);\r\n\r\nexport const oneTimeFeeReasonRequiredIfGreaterThan = validationRules.requiredIfGreaterThan(\r\n 'oneTimeFeeAmount',\r\n partnerPaymentsFeesConfirmationFormResources.labelForOneTimeFeeReason,\r\n 0\r\n);\r\n\r\nexport const oneTimeFeeReasonMaxLength = validationRules.length(\r\n partnerPaymentsFeesConfirmationFormResources.labelForOneTimeFeeReason,\r\n null,\r\n 250\r\n);\r\n\r\nexport default (values, props) => {\r\n const errors = {};\r\n\r\n if (values.get('startupFeeAmount') <= 0 && values.get('renewalFeeAmount') <= 0\r\n && values.get('facilityAccessFeeAmount') <= 0 && values.get('oneTimeFeeAmount') <= 0) {\r\n const errorMessage = 'At least one Fee must be greater than $0.00.';\r\n errors._error = errorMessage;\r\n }\r\n\r\n return errors;\r\n};","import React, { useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport FormGroup from '../../../components/controls/FormGroup';\r\nimport { MuiInputText } from '../../../components/controls/MuiInputText';\r\nimport { defaultFormProperties } from '../../../utilities/form';\r\nimport partnerPaymentsFeesConfirmationFormResources from './partnerPaymentsFeesConfirmationFormResources';\r\nimport validate, * as validationRules from './partnerPaymentsFeesConfirmationFormValidation';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\nimport './_fees-confirmation.scss';\r\n\r\nconst PartnerPaymentsFeesConfirmationForm = ({\r\n handleSubmit,\r\n error,\r\n submitFailed\r\n}) => {\r\n const oneTimeFeeAmountChanged = function (e, value) {\r\n setIsOneTimeFeeAmountGreaterThanZero(parseFloat(value) > 0);\r\n };\r\n const [isOneTimeFeeAmountGreaterThanZero, setIsOneTimeFeeAmountGreaterThanZero] = useState(false);\r\n const { gmrAddProgram } = useFlags();\r\n return \r\n
    \r\n { !gmrAddProgram &&
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    }\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n {error && submitFailed &&
    {error}
    }\r\n
    \r\n
    ;\r\n};\r\n\r\nPartnerPaymentsFeesConfirmationForm.propTypes = {\r\n handleSubmit: PropTypes.func.isRequired,\r\n error: PropTypes.string,\r\n submitFailed: PropTypes.bool\r\n};\r\n\r\nexport default reduxForm({\r\n form: 'partnerPaymentsFeesConfirmationForm',\r\n validate,\r\n ...defaultFormProperties\r\n})(PartnerPaymentsFeesConfirmationForm);\r\n","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport InfoBox from '../../../components/InfoBox/InfoBox';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport PatnerPaymentsGenerationForm from '../PartnerPaymentsGenerationForm/PatnerPaymentsGenerationForm';\r\nimport wellnessProgramPaymentResources from '../wellnessProgramPaymentsResources';\r\nimport actions from './partnerPaymentsGenerationSectionActions';\r\nimport selectors from './partnerPaymentsGenerationSectionSelectors';\r\nimport ConfirmPopup from '../../../components/Popups/ConfirmAlert/ConfirmPopup';\r\nimport ConnectedConfirmPopup from '../../../components/Popups/ConfirmAlert/ConnectedConfirmPopup';\r\nimport PartnerPaymentsFeesConfirmationForm from '../PartnerPaymentsFeesConfirmationForm/partnerPaymentsFeesConfirmationForm';\r\nimport { submit } from 'redux-form';\r\nimport { getClosedUsagePeriods, getPeriodsUntilCurrent } from '../../Shared/Periods/periodsActions';\r\nimport programPaymentTypesEnum from '../../../enums/programPaymentTypes';\r\nimport paymentTypesEnum from '../../../enums/paymentTypes';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\n\r\nconst PartnerPaymentsGenerationSection = ({\r\n isLoading,\r\n programTypes,\r\n programPaymentTypes,\r\n partners,\r\n periods,\r\n paymentsGenerationSettings,\r\n setProgramType,\r\n setProgramPaymentType,\r\n setPartner,\r\n setPeriod,\r\n generate,\r\n checkPaymentsExistence,\r\n doPaymentsExist,\r\n message,\r\n selectedPeriodID,\r\n selectedPartnerID,\r\n selectedProgramPaymentTypeID,\r\n selectedProgramTypeID,\r\n resetPaymentsExistenceCheck,\r\n getPartnersListByProgramPaymentType,\r\n setIsGenerationWithFees,\r\n isGenerationWithFees,\r\n paymentsFees,\r\n confirmationMessage,\r\n setIsAdditionalFeesPopupVisible,\r\n isAdditionalFeesPopupVisible,\r\n getClosedUsagePeriods,\r\n getPeriodsUntilCurrent,\r\n defaultProgramType,\r\n getPartnersListByProgramType,\r\n defaultProgramPaymentType,\r\n paymentTypes,\r\n getPaymentTypesByProgramPaymentType,\r\n setPaymentType,\r\n selectedPaymentTypeID,\r\n defaultPaymentType\r\n}) => {\r\n const { gmrAddProgram } = useFlags();\r\n useEffect(() => {\r\n if (!gmrAddProgram) {\r\n setProgramType(defaultProgramType);\r\n if (defaultProgramType) {\r\n getPartnersListByProgramType(defaultProgramType.get('id'));\r\n }\r\n getClosedUsagePeriods();\r\n }\r\n else {\r\n setProgramPaymentType(defaultProgramPaymentType);\r\n if (defaultProgramPaymentType && defaultPaymentType) {\r\n programPaymentTypeChangeHandler(defaultProgramPaymentType.get('id'));\r\n }\r\n }\r\n }, []);\r\n useEffect(() => {\r\n if (gmrAddProgram && selectedProgramPaymentTypeID && selectedPeriodID && selectedPartnerID && selectedPaymentTypeID) {\r\n checkPaymentsExistence(0, selectedProgramPaymentTypeID, selectedPeriodID, selectedPartnerID, selectedPaymentTypeID);\r\n }\r\n else if (!gmrAddProgram && selectedProgramTypeID && selectedPeriodID && selectedPartnerID) {\r\n checkPaymentsExistence(selectedProgramTypeID, 0, selectedPeriodID, selectedPartnerID, paymentTypesEnum.gmPartnerFees);\r\n }\r\n }, [selectedProgramTypeID, selectedProgramPaymentTypeID, selectedPeriodID, selectedPartnerID, selectedPaymentTypeID]);\r\n useEffect(() => {\r\n if (doPaymentsExist === false) {\r\n confirmGenerate();\r\n }\r\n }, [doPaymentsExist]);\r\n const handleGenerate = (settings) => {\r\n const programPaymentType = settings.get('programPaymentType');\r\n const programType = settings.get('programType');\r\n const partner = settings.get('partner');\r\n const period = settings.get('period');\r\n const paymentType = settings.get('paymentType');\r\n setProgramType(programType);\r\n setProgramPaymentType(programPaymentType);\r\n setPartner(partner);\r\n setPeriod(period);\r\n setPaymentType(paymentType);\r\n };\r\n const handleGenerateWithFees = (settings) => {\r\n handleGenerate(settings);\r\n setIsGenerationWithFees(true);\r\n };\r\n const confirmGenerate = () => {\r\n if (isGenerationWithFees) {\r\n resetPaymentsExistenceCheck();\r\n setIsAdditionalFeesPopupVisible(true);\r\n return;\r\n }\r\n closePopup();\r\n const generateParams = createGenerateParams();\r\n generate(generateParams);\r\n };\r\n const confirmGenerateWithFees = (formObj) => {\r\n closePopup();\r\n const generateParams = createGenerateParams();\r\n generateParams.startupFee = formObj.get('startupFeeAmount');\r\n generateParams.renewalFee = formObj.get('renewalFeeAmount');\r\n generateParams.facilityAccessFee = formObj.get('facilityAccessFeeAmount');\r\n generateParams.oneTimeFee = formObj.get('oneTimeFeeAmount');\r\n generateParams.oneTimeFeeReason = formObj.get('oneTimeFeeReason');\r\n generate(generateParams);\r\n };\r\n const closePopup = () => {\r\n resetPaymentsExistenceCheck();\r\n setPartner();\r\n setPeriod();\r\n setPaymentType(defaultPaymentType);\r\n setIsGenerationWithFees(false);\r\n setIsAdditionalFeesPopupVisible(false);\r\n };\r\n const createGenerateParams = () => {\r\n return {\r\n usagePeriodID: selectedPeriodID,\r\n programTypeID: selectedProgramTypeID,\r\n programPaymentTypeID: selectedProgramPaymentTypeID,\r\n partnerID: selectedPartnerID,\r\n paymentTypeID: selectedPaymentTypeID\r\n };\r\n };\r\n const programPaymentTypeChangeHandler = (programPaymentTypeID) => {\r\n getPartnersListByProgramPaymentType(programPaymentTypeID, null);\r\n getPaymentTypesByProgramPaymentType(programPaymentTypeID);\r\n paymentTypeChangeHandler(programPaymentTypeID, defaultPaymentType.get('id'));\r\n setPaymentType(defaultPaymentType);\r\n setPartner();\r\n setProgramType();\r\n };\r\n const paymentTypeChangeHandler = (programPaymentTypeID, paymentTypeID) => {\r\n if (paymentTypeID === paymentTypesEnum.gmPartnerFees\r\n && (programPaymentTypeID === programPaymentTypesEnum.memberPaid\r\n || programPaymentTypeID === programPaymentTypesEnum.partnerMemberPaid)) {\r\n getPeriodsUntilCurrent();\r\n }\r\n else if (programPaymentTypeID === programPaymentTypesEnum.partnerPaid\r\n || (programPaymentTypeID === programPaymentTypesEnum.partnerMemberPaid && paymentTypeID === paymentTypesEnum.gmPartnerDues)\r\n || (programPaymentTypeID === programPaymentTypesEnum.memberPaid && paymentTypeID === paymentTypesEnum.gmPartnerReimbursements)) {\r\n getClosedUsagePeriods();\r\n }\r\n getPartnersListByProgramPaymentType(programPaymentTypeID, paymentTypeID);\r\n setPeriod();\r\n };\r\n const partnerPaymentsFeesConfirmationForm = 'partnerPaymentsFeesConfirmationForm';\r\n return \r\n {\r\n isLoading\r\n ? \r\n : <>\r\n }\r\n {message}
    }\r\n onConfirm={confirmGenerate}\r\n onCancel={closePopup}\r\n />\r\n }\r\n onConfirm={(dispatch) => {\r\n dispatch(submit(partnerPaymentsFeesConfirmationForm));\r\n }}\r\n onCancel={closePopup}\r\n />\r\n \r\n ;\r\n};\r\n\r\nPartnerPaymentsGenerationSection.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n programTypes: PropTypes.object.isRequired,\r\n defaultProgramType: PropTypes.object,\r\n programPaymentTypes: PropTypes.object.isRequired,\r\n partners: PropTypes.object.isRequired,\r\n periods: PropTypes.object,\r\n paymentsGenerationSettings: PropTypes.object.isRequired,\r\n message: PropTypes.string.isRequired,\r\n setProgramType: PropTypes.func.isRequired,\r\n setProgramPaymentType: PropTypes.func.isRequired,\r\n setPartner: PropTypes.func.isRequired,\r\n setPeriod: PropTypes.func.isRequired,\r\n generate: PropTypes.func.isRequired,\r\n checkPaymentsExistence: PropTypes.func.isRequired,\r\n resetPaymentsExistenceCheck: PropTypes.func.isRequired,\r\n doPaymentsExist: PropTypes.bool,\r\n selectedProgramTypeID: PropTypes.number,\r\n selectedProgramPaymentTypeID: PropTypes.number,\r\n selectedPartnerID: PropTypes.number,\r\n selectedPeriodID: PropTypes.number,\r\n getPartnersListByProgramPaymentType: PropTypes.func.isRequired,\r\n isGenerationWithFees: PropTypes.bool,\r\n setIsGenerationWithFees: PropTypes.func.isRequired,\r\n paymentsFees: PropTypes.object.isRequired,\r\n confirmationMessage: PropTypes.string.isRequired,\r\n isAdditionalFeesPopupVisible: PropTypes.bool.isRequired,\r\n setIsAdditionalFeesPopupVisible: PropTypes.func.isRequired,\r\n getClosedUsagePeriods: PropTypes.func.isRequired,\r\n getPeriodsUntilCurrent: PropTypes.func.isRequired,\r\n getPartnersListByProgramType: PropTypes.func.isRequired,\r\n defaultProgramPaymentType: PropTypes.object,\r\n paymentTypes: PropTypes.object,\r\n getPaymentTypesByProgramPaymentType: PropTypes.func.isRequired,\r\n setPaymentType: PropTypes.func.isRequired,\r\n selectedPaymentTypeID: PropTypes.number,\r\n defaultPaymentType: PropTypes.object\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getClosedUsagePeriods,\r\n getPeriodsUntilCurrent,\r\n ...actions\r\n};\r\n\r\nexport default connect(selectors, mapDispatchToProps)(PartnerPaymentsGenerationSection);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport { connect } from 'react-redux';\r\nimport selectors from '../wellnessProgramPaymentsSelectors';\r\nimport CardInfo from '../../../components/CardInfo/CardInfo';\r\nimport PartnerPaymentsSection from '../PartnerPaymentsSection/PartnerPaymentsSection';\r\nimport PartnerPaymentWithdrawalSection from '../PartnerPaymentWithdrawalSection/PartnerPaymentWithdrawalSection';\r\nimport PartnerPaymentsGenerationSection from '../PartnerPaymentsGenerationSection/PartnerPaymentsGenerationSection';\r\n\r\nfunction PartnerPaymentsTab({\r\n isLoading,\r\n programPaymentTypes,\r\n programTypes,\r\n defaultProgramType,\r\n defaultProgramPaymentType,\r\n defaultPaymentType\r\n}) {\r\n return isLoading ?\r\n (\r\n \r\n )\r\n : (\r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n );\r\n}\r\n\r\nPartnerPaymentsTab.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n history: PropTypes.object.isRequired,\r\n match: PropTypes.object.isRequired,\r\n programPaymentTypes: PropTypes.object.isRequired,\r\n programTypes: PropTypes.object.isRequired,\r\n defaultProgramType: PropTypes.object,\r\n defaultProgramPaymentType: PropTypes.object,\r\n defaultPartnerBillingType: PropTypes.object,\r\n defaultPaymentType: PropTypes.object,\r\n setGlobalErrorMessage: PropTypes.func\r\n};\r\n\r\nexport default connect(selectors)(PartnerPaymentsTab);\r\n","import { createSelector } from 'reselect';\r\nimport { GET_CLOSED_USAGE_PERIODS } from '../../Shared/Periods/periodsTypes';\r\nimport moment from 'moment';\r\nimport { MONTH_YEAR } from '../../../constants/formats';\r\nimport baseSelectors from '../wellnessProgramPaymentsSelectors';\r\nimport programPaymentTypesEnum from '../../../enums/programPaymentTypes';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i => i === GET_CLOSED_USAGE_PERIODS\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\n\r\nconst getClosedUsagePeriods = state => state.periodsReducer.get('closedUsagePeriods');\r\nconst getDefaultPeriod = createSelector([getClosedUsagePeriods], (periods) => {\r\n return periods.find(x => x.get('yearMonth') === moment().add(1, 'M')\r\n .format(MONTH_YEAR)) || periods.first();\r\n});\r\nconst getProgramPaymentTypes = state => state.programPaymentTypeReducer.get('programPaymentTypes');\r\nconst getDefaultProgramPaymentType = createSelector([getProgramPaymentTypes], programPaymentTypes => programPaymentTypes.find(x => x.get('id') === programPaymentTypesEnum.partnerPaid));\r\n\r\nexport default createSelector(\r\n [getIsLoading, baseSelectors, getClosedUsagePeriods, getProgramPaymentTypes, getDefaultPeriod, getDefaultProgramPaymentType],\r\n (isLoading, baseProps, periods, programPaymentTypes, defaultPeriod, defaultProgramPaymentType) => {\r\n return {\r\n isLoading,\r\n programTypes: baseProps.programTypes,\r\n defaultProgramType: baseProps.defaultProgramType,\r\n defaultProgramPaymentType: baseProps.defaultProgramPaymentType,\r\n periods,\r\n defaultPeriod,\r\n programPaymentTypes\r\n };\r\n }\r\n);","const FacilityResources = {\r\n labelFacilityIdNumber: 'Facility ID',\r\n labelName: 'Facility Name',\r\n labelUSBankFacilityCode: 'US Bank Facility Code',\r\n labelIndustry: 'Industry',\r\n labelAddress1: 'Address 1',\r\n labelAddress2: 'Address 2',\r\n labelCity: 'City',\r\n labelState: 'State/Territory',\r\n labelZipCode: 'Zip Code',\r\n labelCountry: 'Country',\r\n labelWebsite: 'Website',\r\n labelFirstName: 'First Name',\r\n labelLastName: 'Last Name',\r\n labelPhoneNumber: 'Contact Number',\r\n labelEmailAddress: 'Email Address',\r\n labelNotes: 'Notes',\r\n labelPrograms: 'Programs',\r\n};\r\nexport default FacilityResources;\r\n","import * as types from './facilityPaymentsSectionTypes';\r\nimport * as facilityPaymentSectionService from './facilityPaymentsSectionService';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport * as partnersListService from '../../Partners/PartnersList/partnersListService';\r\n\r\nconst setPayments = (payments) => {\r\n return { type: types.SET_PAYMENTS, payments };\r\n};\r\n\r\nfunction getPayments(programPaymentTypeId, periodId, partnerId, showCorrectedOnly) {\r\n return function(dispatch, getState) {\r\n dispatch(loadingActions.setLoading(types.GET_PAYMENTS));\r\n\r\n return facilityPaymentSectionService\r\n .getPayments(programPaymentTypeId, periodId, partnerId, showCorrectedOnly)\r\n .then((payments) => {\r\n dispatch(setPayments(payments));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PAYMENTS));\r\n });\r\n };\r\n}\r\n\r\nfunction downloadPayments(programPaymentTypeId, periodId, partnerId, showCorrectedOnly) {\r\n return function(dispatch, getState) {\r\n dispatch(loadingActions.setLoading(types.DOWNLOAD_PAYMENTS));\r\n return facilityPaymentSectionService\r\n .downloadPayments(programPaymentTypeId, periodId, partnerId, showCorrectedOnly)\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.DOWNLOAD_PAYMENTS)));\r\n };\r\n}\r\n\r\nconst setProgramTypeAction = (programType) => {\r\n return { type: types.SET_PROGRAM_TYPE, programType };\r\n};\r\n\r\nfunction setProgramType(programType) {\r\n return function(dispatch)\r\n {\r\n dispatch(setProgramTypeAction(programType));\r\n };\r\n}\r\n\r\nconst setProgramPaymentTypeAction = (programPaymentType) => {\r\n return { type: types.SET_PROGRAM_PAYMENT_TYPE, programPaymentType };\r\n};\r\n\r\nfunction setProgramPaymentType(programPaymentType) {\r\n return function (dispatch) {\r\n dispatch(setProgramPaymentTypeAction(programPaymentType));\r\n };\r\n}\r\n\r\nconst setPeriodAction = (period) => {\r\n return { type: types.SET_PERIOD, period };\r\n};\r\n\r\nfunction setPeriod(period) {\r\n return function(dispatch)\r\n {\r\n dispatch(setPeriodAction(period));\r\n };\r\n}\r\n\r\nconst setPartnerAction = (partner) => {\r\n return { type: types.SET_PARTNER, partner };\r\n};\r\n\r\nfunction setPartner(partner) {\r\n return function(dispatch)\r\n {\r\n dispatch(setPartnerAction(partner));\r\n };\r\n}\r\n\r\nconst setShowCorrectedOnlyAction = (value) => {\r\n return { type: types.SET_SHOW_CORRECTED_ONLY, value };\r\n};\r\n\r\nfunction setShowCorrectedOnly(value) {\r\n return function(dispatch)\r\n {\r\n dispatch(setShowCorrectedOnlyAction(value));\r\n };\r\n}\r\n\r\nconst updateAmountToBeSentAction = (paymentId, amountToBeSent) => {\r\n return { type: types.SET_AMOUNT_TO_BE_SENT, paymentId, amountToBeSent };\r\n};\r\n\r\nfunction updateFacilityPaymentAmountToBeSent(programTypeId, programPaymentTypeId, paymentId, amountToBeSent) {\r\n return function(dispatch)\r\n {\r\n dispatch(loadingActions.setLoading(types.GET_PAYMENTS));\r\n return facilityPaymentSectionService\r\n .updateFacilityPaymentAmountToBeSent(programTypeId, programPaymentTypeId, paymentId, amountToBeSent)\r\n .then(() => {\r\n dispatch(updateAmountToBeSentAction(paymentId, amountToBeSent));\r\n })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.GET_PAYMENTS)));\r\n };\r\n}\r\n\r\nconst undoAmountCorrectionAction = (paymentId) => {\r\n return { type: types.UNDO_AMOUNT_CORRECTION, paymentId };\r\n};\r\n\r\nfunction undoFacilityPaymentAmountCorrection(programTypeId, programPaymentTypeId, paymentId) {\r\n return function(dispatch)\r\n {\r\n dispatch(loadingActions.setLoading(types.GET_PAYMENTS));\r\n return facilityPaymentSectionService\r\n .undoFacilityPaymentAmountCorrection(programTypeId, programPaymentTypeId, paymentId)\r\n .then(() => {\r\n dispatch(undoAmountCorrectionAction(paymentId));\r\n })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.GET_PAYMENTS)));\r\n };\r\n}\r\n\r\nconst setPartnersAction = (partners) => {\r\n return { type: types.SET_PARTNERS, partners };\r\n};\r\n\r\nexport function getPartnersListByProgramPaymentType(programPaymentTypeID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PARTNERS));\r\n return partnersListService\r\n .getPartnersListByProgramPaymentType(programPaymentTypeID, null)\r\n .then((partners) => {\r\n dispatch(setPartnersAction(partners));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PARTNERS));\r\n });\r\n };\r\n}\r\n\r\nexport default {\r\n setProgramType,\r\n setProgramPaymentType,\r\n getPayments,\r\n setPeriod,\r\n setPartner,\r\n setShowCorrectedOnly,\r\n downloadPayments,\r\n updateFacilityPaymentAmountToBeSent,\r\n undoFacilityPaymentAmountCorrection,\r\n getPartnersListByProgramPaymentType\r\n};\r\n","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\nimport { replaceRouteParams } from '../../../utilities/routeHelper';\r\n\r\nexport function getPayments(programPaymentTypeId, periodId, partnerId, showCorrectedOnly) {\r\n return http.get(replaceRouteParams(API_PATHS.getFacilityPayments, programPaymentTypeId, periodId), { params: { partnerId, showCorrectedOnly } });\r\n};\r\n\r\nexport function downloadPayments(programPaymentTypeId, periodId, partnerId, showCorrectedOnly) {\r\n return http.get(replaceRouteParams(API_PATHS.downloadFacilityProgramPayments, programPaymentTypeId, periodId), { responseType: 'blob', params: { partnerId, showCorrectedOnly } });\r\n};\r\n\r\nexport function updateFacilityPaymentAmountToBeSent(programTypeId, programPaymentTypeId, paymentId, amountToBeSent) {\r\n return http.put(API_PATHS.updateFacilityPaymentAmountToBeSent, null, { params: { programTypeId, programPaymentTypeId, paymentId, amountToBeSent } } );\r\n};\r\n\r\nexport function undoFacilityPaymentAmountCorrection(programTypeId, programPaymentTypeId, paymentId) {\r\n return http.put(API_PATHS.undoFacilityPaymentAmountCorrection, null, { params: { programTypeId, programPaymentTypeId, paymentId } } );\r\n};","import { createSelector } from 'reselect';\r\nimport * as types from './facilityPaymentsSectionTypes';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i =>\r\n i === types.GET_PAYMENTS || i === types.DOWNLOAD_PAYMENTS || i === types.GET_PARTNERS\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\nconst getFacilityPaymentsFilter = state => state.facilityPaymentsSectionReducer.get('paymentsFilter');\r\nconst getFacilityPayments = state => state.facilityPaymentsSectionReducer.get('payments');\r\nconst getProgramTypeId = createSelector([getFacilityPaymentsFilter], (paymentsFilter) => {\r\n return paymentsFilter.getIn(['programType', 'id']);\r\n});\r\nconst getPeriodId = createSelector([getFacilityPaymentsFilter], (paymentsFilter) => {\r\n return paymentsFilter.getIn(['period', 'id']);\r\n});\r\nconst getPartnerId = createSelector([getFacilityPaymentsFilter], (paymentsFilter) => {\r\n return paymentsFilter.getIn(['partner', 'id']);\r\n});\r\nconst getShowCorrectedOnly = createSelector([getFacilityPaymentsFilter], (paymentsFilter) => {\r\n return paymentsFilter.get('showCorrectedOnly');\r\n});\r\nconst getProgramPaymentTypeId = createSelector([getFacilityPaymentsFilter], (paymentsFilter) => {\r\n return paymentsFilter.getIn(['programPaymentType', 'id']);\r\n});\r\nconst getPartnersByProgramPaymentType = state => state.facilityPaymentsSectionReducer.get('partners');\r\nconst getPartners = state => state.partnersListReducer.get('partners');\r\nexport default createSelector([getIsLoading, getFacilityPaymentsFilter, getFacilityPayments, getPartners, getPartnersByProgramPaymentType, getProgramPaymentTypeId, getProgramTypeId, getPeriodId, getPartnerId, getShowCorrectedOnly],\r\n (isLoading, paymentsFilter, payments, partners, partnersByProgramPaymentType, programPaymentTypeId, programTypeId, periodId, partnerId, showCorrectedOnly) => ({\r\n isLoading, paymentsFilter, payments, partners, partnersByProgramPaymentType, programPaymentTypeId, programTypeId, periodId, partnerId, showCorrectedOnly\r\n }));","const FacilityPaymentsSectionResources = {\r\n accessorPartnerIdNumber: 'partnerIDNumber',\r\n accessorFacilityIdNumber: 'facilityIDNumber',\r\n accessorUsagePeriod: 'usagePeriod',\r\n accessorTotalFacilityPayments: 'totalPayment',\r\n accessorStatus: 'status',\r\n accessorPayeeToken: 'payeeToken',\r\n accessorStatusDate: 'paymentStatusDate',\r\n billingInfo: 'billingInfo'\r\n};\r\nexport default FacilityPaymentsSectionResources;","import React, { useEffect, useMemo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport InfoBox from '../../../components/InfoBox/InfoBox';\r\nimport Table from '../../../components/InfoBox/Table';\r\nimport InputSelect from '../../../components/controls/InputSelect';\r\nimport InputCheckbox from '../../../components/controls/InputCheckbox';\r\nimport ExcelImage from '../../../components/Image/ExcelImage/ExcelImage';\r\nimport facilityResources from '../../Shared/Facilities/facilityResources';\r\nimport partnerResources from '../../Shared/Partners/partnerResources';\r\nimport groupMembershipResources from '../../Shared/Programs/groupMembershipResources';\r\nimport wellnessProgramPaymentResources from '../wellnessProgramPaymentsResources';\r\nimport actions from './facilityPaymentsSectionActions';\r\nimport selectors from './facilityPaymentsSectionSelectors';\r\nimport { getPartnersListByProgramType } from '../../Partners/PartnersList/partnersListActions';\r\nimport UndoAmountCorrectionActionCell from '../UndoAmountCorrectionActionCell';\r\nimport facilityPaymentsSectionResources from './facilityPaymentsSectionResources';\r\nimport EditAmountToBeSentEditableCell from '../EditAmountToBeSentEditableCell';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\n\r\nfunction FacilityPaymentsSection({\r\n isLoading,\r\n programTypes,\r\n programPaymentTypes,\r\n partners,\r\n partnersByProgramPaymentType,\r\n periods,\r\n payments,\r\n getPayments,\r\n paymentsFilter,\r\n setProgramPaymentType,\r\n setPeriod,\r\n setPartner,\r\n setProgramType,\r\n setShowCorrectedOnly,\r\n defaultPeriod,\r\n defaultProgramType,\r\n defaultProgramPaymentType,\r\n downloadPayments,\r\n programTypeId,\r\n programPaymentTypeId,\r\n periodId,\r\n partnerId,\r\n showCorrectedOnly,\r\n getPartnersListByProgramType,\r\n getPartnersListByProgramPaymentType,\r\n updateFacilityPaymentAmountToBeSent,\r\n undoFacilityPaymentAmountCorrection\r\n}) {\r\n useEffect(() => {\r\n setProgramType(defaultProgramType);\r\n }, []);\r\n useEffect(() => {\r\n setPeriod(defaultPeriod);\r\n }, []);\r\n useEffect(() => {\r\n if (programTypeId) {\r\n getPartnersListByProgramType(programTypeId);\r\n }\r\n }, [programTypeId]);\r\n useEffect(() => {\r\n if (programPaymentTypeId) {\r\n getPartnersListByProgramPaymentType(programPaymentTypeId);\r\n }\r\n }, [programPaymentTypeId]);\r\n useEffect(() => {\r\n if (programPaymentTypeId && periodId) {\r\n getPayments(programPaymentTypeId, periodId, partnerId, showCorrectedOnly);\r\n }\r\n }, [programPaymentTypeId, partnerId, periodId, showCorrectedOnly]);\r\n const exportToExcel = () => {\r\n if (programPaymentTypeId && periodId) {\r\n downloadPayments(programPaymentTypeId, periodId, partnerId, showCorrectedOnly);\r\n }\r\n };\r\n const updateAmountToBeSentHandler = (rowIndex, columnId, value, rowData) => {\r\n updateFacilityPaymentAmountToBeSent(programTypeId, programPaymentTypeId, rowData[wellnessProgramPaymentResources.accessorId], value);\r\n };\r\n const undoHandler = (paymentId) => {\r\n undoFacilityPaymentAmountCorrection(programTypeId, programPaymentTypeId, paymentId)\r\n .then(() => {\r\n getPayments(programPaymentTypeId, periodId, partnerId, showCorrectedOnly);\r\n });\r\n };\r\n const onChangeShowCorrectedOnly = (event) => {\r\n setShowCorrectedOnly(event.target.checked);\r\n };\r\n const { gmrAddProgram } = useFlags();\r\n const columns = useMemo(\r\n () => [\r\n {\r\n Header: partnerResources.labelPartnerIdNumber,\r\n accessor: facilityPaymentsSectionResources.accessorPartnerIdNumber\r\n },\r\n {\r\n Header: partnerResources.labelName,\r\n accessor: 'partnerName'\r\n },\r\n {\r\n Header: facilityResources.labelFacilityIdNumber,\r\n accessor: facilityPaymentsSectionResources.accessorFacilityIdNumber\r\n },\r\n {\r\n Header: facilityResources.labelName,\r\n accessor: 'facilityName'\r\n },\r\n {\r\n Header: gmrAddProgram ? groupMembershipResources.labelVisitMonth : groupMembershipResources.labelUsagePeriod,\r\n accessor: facilityPaymentsSectionResources.accessorUsagePeriod\r\n },\r\n {\r\n Header: groupMembershipResources.labelNumberOfMembershipsPaid,\r\n accessor: 'numberOfMembersWhoWillBePaid'\r\n },\r\n {\r\n Header: groupMembershipResources.labelDuesPaidForOneMember,\r\n accessor: 'duesPaidForOneMember'\r\n },\r\n {\r\n Header: groupMembershipResources.labelTotalPayment,\r\n accessor: facilityPaymentsSectionResources.accessorTotalFacilityPayments\r\n },\r\n {\r\n Header: groupMembershipResources.labelFacilityAmountToBeSent,\r\n accessor: wellnessProgramPaymentResources.accessorAmountToBeSent,\r\n Cell: EditAmountToBeSentEditableCell\r\n },\r\n ...gmrAddProgram ?\r\n [{\r\n Header: groupMembershipResources.labelBillingInfo,\r\n accessor: facilityPaymentsSectionResources.billingInfo,\r\n }]\r\n : [{\r\n Header: groupMembershipResources.labelPayeeToken,\r\n accessor: facilityPaymentsSectionResources.accessorPayeeToken,\r\n minWidth: 340\r\n }],\r\n {\r\n Header: groupMembershipResources.labelStatus,\r\n accessor: facilityPaymentsSectionResources.accessorStatus\r\n },\r\n {\r\n Header: groupMembershipResources.labelStatusDate,\r\n accessor: facilityPaymentsSectionResources.accessorStatusDate\r\n },\r\n {\r\n Header: 'Actions',\r\n disableSortBy: true,\r\n getProps: () => ({\r\n handleUndo: undoHandler\r\n }),\r\n Cell: UndoAmountCorrectionActionCell,\r\n accessor: row => row,\r\n minWidth: 200\r\n }\r\n ],\r\n [partnerResources, facilityResources, groupMembershipResources, undoHandler, gmrAddProgram]\r\n );\r\n const defaultSorted = useMemo(() => [{ id: 'partnerIDNumber' }]);\r\n return \r\n {isLoading ?\r\n
    \r\n \r\n
    \r\n : <>\r\n }\r\n
    \r\n
    \r\n {\r\n gmrAddProgram ?\r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n onChange={setProgramPaymentType}\r\n />\r\n :\r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n isDisabled\r\n onChange={() => { }}\r\n />\r\n }\r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n gmrAddProgram ?\r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n onChange={setPartner}\r\n />\r\n :\r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n onChange={setPartner}\r\n />\r\n }\r\n
    \r\n
    \r\n
    \r\n
    \r\n option.get('yearMonth')}\r\n getOptionValue={option => option.get('id')}\r\n onChange={setPeriod}\r\n />\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    ;\r\n}\r\nFacilityPaymentsSection.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n programTypes: PropTypes.object.isRequired,\r\n programPaymentTypes: PropTypes.object.isRequired,\r\n periods: PropTypes.object.isRequired,\r\n payments: PropTypes.object.isRequired,\r\n partners: PropTypes.object.isRequired,\r\n partnersByProgramPaymentType: PropTypes.object.isRequired,\r\n paymentsFilter: PropTypes.object.isRequired,\r\n setProgramType: PropTypes.func.isRequired,\r\n setProgramPaymentType: PropTypes.func.isRequired,\r\n setPeriod: PropTypes.func.isRequired,\r\n setPartner: PropTypes.func.isRequired,\r\n setShowCorrectedOnly: PropTypes.func.isRequired,\r\n getPayments: PropTypes.func.isRequired,\r\n defaultPeriod: PropTypes.object,\r\n defaultProgramType: PropTypes.object,\r\n defaultProgramPaymentType: PropTypes.object,\r\n downloadPayments: PropTypes.func.isRequired,\r\n programTypeId: PropTypes.number,\r\n periodId: PropTypes.number,\r\n partnerId: PropTypes.number,\r\n showCorrectedOnly: PropTypes.bool.isRequired,\r\n getPartnersListByProgramType: PropTypes.func.isRequired,\r\n getPartnersListByProgramPaymentType: PropTypes.func.isRequired,\r\n updateFacilityPaymentAmountToBeSent: PropTypes.func.isRequired,\r\n undoFacilityPaymentAmountCorrection: PropTypes.func.isRequired,\r\n programPaymentTypeId: PropTypes.number\r\n};\r\nconst mapDispatchToProps = {\r\n getPartnersListByProgramType,\r\n ...actions,\r\n};\r\nexport default connect(selectors, mapDispatchToProps)(FacilityPaymentsSection);\r\n","import { createSelector } from 'reselect';\r\nimport { formValueSelector } from 'redux-form';\r\nimport { SEND_PAYMENT_DEPOSIT, DOWNLOAD_PAYMENT_DEPOSIT, CHECK_FACILITY_DEPOSIT, GET_PARTNERS } from './facilityPaymentDepositSectionTypes';\r\nimport wellnessProgramPaymentResources from '../wellnessProgramPaymentsResources';\r\nimport programPaymentTypes from '../../../enums/programPaymentTypes';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i =>\r\n i === SEND_PAYMENT_DEPOSIT\r\n || i === GET_PARTNERS\r\n || i === DOWNLOAD_PAYMENT_DEPOSIT\r\n || i === CHECK_FACILITY_DEPOSIT\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\n\r\nconst getPaymentDeposit = state => state.facilityPaymentDepositSectionReducer.get('paymentDeposit');\r\nconst getPartners = state => state.facilityPaymentDepositSectionReducer.get('partners');\r\nconst getPopupMessage = state => state.facilityPaymentDepositSectionReducer.getIn(['popupData', 'message']);\r\nconst getPopupSubmitText = state => state.facilityPaymentDepositSectionReducer.getIn(['popupData', 'submitText']);\r\nconst getIsAchUploadAvailable = state => state.wellnessProgramPaymentsReducer.getIn(['achUploadAvailability', 'isAchUploadAvailable']);\r\nconst getAchUploadErrorMessage = state => state.wellnessProgramPaymentsReducer.getIn(['achUploadAvailability', 'errorMessage']);\r\nconst getForm = formValueSelector(wellnessProgramPaymentResources.formFacilityPaymentDepositViaACH, state => state.form.toJS());\r\nconst getProgramPaymentTypeID = (state) => {\r\n const programPaymentType = getForm(state, wellnessProgramPaymentResources.fieldProgramPaymentType);\r\n if (programPaymentType) {\r\n return programPaymentType.id;\r\n } else {\r\n return programPaymentTypes.partnerPaid;\r\n }\r\n};\r\nconst getProgramTypeID = (state) => {\r\n const programType = getForm(state, wellnessProgramPaymentResources.fieldProgramType);\r\n if (programType) {\r\n return programType.id;\r\n }\r\n};\r\nconst getPartnerID = (state) => {\r\n const partner = getForm(state, wellnessProgramPaymentResources.fieldPartner);\r\n if (partner) {\r\n return partner.id;\r\n }\r\n};\r\nconst getPeriodID = (state) => {\r\n const period = getForm(state, wellnessProgramPaymentResources.fieldPeriod);\r\n if (period) {\r\n return period.id;\r\n }\r\n};\r\n\r\nexport default createSelector(\r\n [getIsLoading, getPaymentDeposit, getPartners, getPopupMessage, getPopupSubmitText, getIsAchUploadAvailable, getAchUploadErrorMessage, getProgramPaymentTypeID, getProgramTypeID, getPartnerID, getPeriodID],\r\n (isLoading, paymentDeposit, partners, popupMessage, popupSubmitText, isAchUploadAvailable, achUploadErrorMessage, programPaymentTypeId, programTypeId, partnerId, periodId) => ({\r\n isLoading,\r\n paymentDeposit,\r\n partners,\r\n popupMessage,\r\n popupSubmitText,\r\n isAchUploadAvailable,\r\n achUploadErrorMessage,\r\n programPaymentTypeId,\r\n programTypeId,\r\n partnerId,\r\n periodId\r\n })\r\n);","import * as types from './facilityPaymentDepositSectionTypes';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport * as facilityPaymentDepositSectionService from './facilityPaymentDepositSectionService';\r\nimport * as partnersListService from '../../Partners/PartnersList/partnersListService';\r\n\r\nconst setProgramTypeAction = (programType) => {\r\n return { type: types.SET_PROGRAM_TYPE, programType };\r\n};\r\n\r\nfunction setProgramType(programType) {\r\n return function (dispatch) {\r\n dispatch(setProgramTypeAction(programType));\r\n };\r\n}\r\n\r\nconst setProgramPaymentTypeAction = (programPaymentType) => {\r\n return { type: types.SET_PROGRAM_PAYMENT_TYPE, programPaymentType };\r\n};\r\n\r\nfunction setProgramPaymentType(programPaymentType) {\r\n return function (dispatch) {\r\n dispatch(setProgramPaymentTypeAction(programPaymentType));\r\n };\r\n}\r\n\r\nconst setPopupDataAction = (popupData) => {\r\n return { type: types.SET_POPUP_DATA, popupData };\r\n};\r\n\r\nfunction checkFacilityPaymentsDeposit(programPaymentTypeId, partnerId, periodId) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.CHECK_FACILITY_DEPOSIT));\r\n return facilityPaymentDepositSectionService\r\n .checkFacilityPaymentsDeposit(programPaymentTypeId, partnerId, periodId)\r\n .then((response) => { dispatch(setPopupDataAction(response.data)); })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.CHECK_FACILITY_DEPOSIT)));\r\n };\r\n}\r\n\r\nfunction sendFacilityPaymentsDeposit(programPaymentTypeId, partnerId, periodId, pin) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.SEND_PAYMENT_DEPOSIT));\r\n return facilityPaymentDepositSectionService\r\n .sendFacilityPaymentsDeposit(programPaymentTypeId, partnerId, periodId, pin)\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.SEND_PAYMENT_DEPOSIT)));\r\n };\r\n}\r\n\r\nfunction downloadPaymentDeposit(programPaymentTypeId, partnerId, periodId) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.DOWNLOAD_PAYMENT_DEPOSIT));\r\n return facilityPaymentDepositSectionService\r\n .dowloadPaymentDeposit(programPaymentTypeId, partnerId, periodId)\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.DOWNLOAD_PAYMENT_DEPOSIT)));\r\n };\r\n}\r\n\r\nconst setPartnersAction = (partners) => {\r\n return { type: types.SET_PARTNERS, partners };\r\n};\r\n\r\nfunction getPartnersListByProgramPaymentType(programPaymentTypeID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PARTNERS));\r\n return partnersListService\r\n .getPartnersListByProgramPaymentType(programPaymentTypeID)\r\n .then((partners) => {\r\n dispatch(setPartnersAction(partners));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PARTNERS));\r\n });\r\n };\r\n}\r\n\r\nfunction getPartnersListByProgramType(programTypeID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PARTNERS));\r\n return partnersListService\r\n .getPartnersListByProgramType(programTypeID)\r\n .then((partners) => {\r\n dispatch(setPartnersAction(partners));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PARTNERS));\r\n });\r\n };\r\n}\r\n\r\n\r\nconst setPartnerAction = (partner) => {\r\n return { type: types.SET_PARTNER, partner };\r\n};\r\n\r\nfunction setPartner(partner) {\r\n return function (dispatch) {\r\n dispatch(setPartnerAction(partner));\r\n };\r\n};\r\n\r\nexport default {\r\n setProgramType,\r\n setProgramPaymentType,\r\n sendFacilityPaymentsDeposit,\r\n downloadPaymentDeposit,\r\n checkFacilityPaymentsDeposit,\r\n getPartnersListByProgramType,\r\n getPartnersListByProgramPaymentType,\r\n setPartner\r\n};","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\nimport { replaceRouteParams } from '../../../utilities/routeHelper';\r\n\r\nexport function checkFacilityPaymentsDeposit(programPaymentTypeId, partnerId, periodId) {\r\n return http.get(replaceRouteParams(API_PATHS.checkFacilityPaymentsDeposit, programPaymentTypeId, partnerId, periodId));\r\n};\r\n\r\nexport function sendFacilityPaymentsDeposit(programPaymentTypeId, partnerId, periodId, pin) {\r\n return http.post(replaceRouteParams(API_PATHS.sendFacilityPaymentsDeposit, programPaymentTypeId, partnerId, periodId), { pin });\r\n};\r\n\r\nexport function dowloadPaymentDeposit(programPaymentTypeId, partnerId, periodId) {\r\n const config = {\r\n responseType: 'blob'\r\n };\r\n return http.get(replaceRouteParams(API_PATHS.dowloadPaymentDeposit, programPaymentTypeId, partnerId, periodId), config);\r\n}","import React, { useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { submit } from 'redux-form';\r\nimport InfoBox from '../../../components/InfoBox/InfoBox';\r\nimport ConnectedConfirmPopup from '../../../components/Popups/ConfirmAlert/ConnectedConfirmPopup';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport PaymentViaACHForm from '../PaymentViaACHForm/PaymentViaACHForm';\r\nimport PaymentConfirmationForm from '../PaymentConfirmationForm/PaymentConfirmationForm';\r\nimport selectors from './facilityPaymentDepositSectionSelectors';\r\nimport wellnessProgramPaymentResources from '../wellnessProgramPaymentsResources';\r\nimport actions from './facilityPaymentDepositSectionActions';\r\nimport { getPartnersListByProgramType } from '../../Partners/PartnersList/partnersListActions';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\n\r\nfunction FacilityPaymentDepositSection({\r\n isLoading,\r\n programTypes,\r\n programPaymentTypes,\r\n partners,\r\n periods,\r\n paymentDeposit,\r\n defaultProgramType,\r\n setProgramType,\r\n setProgramPaymentType,\r\n getPartnersListByProgramType,\r\n getPartnersListByProgramPaymentType,\r\n sendFacilityPaymentsDeposit,\r\n downloadPaymentDeposit,\r\n checkFacilityPaymentsDeposit,\r\n popupMessage,\r\n popupSubmitText,\r\n isAchUploadAvailable,\r\n achUploadErrorMessage,\r\n defaultProgramPaymentType,\r\n programTypeId,\r\n programPaymentTypeId,\r\n partnerId,\r\n periodId,\r\n setPartner\r\n}) {\r\n const { gmrAddProgram } = useFlags();\r\n useEffect(() => {\r\n if (gmrAddProgram) {\r\n setProgramPaymentType(defaultProgramPaymentType);\r\n } else {\r\n setProgramType(defaultProgramType);\r\n }\r\n }, []);\r\n useEffect(() => {\r\n if (programPaymentTypeId) {\r\n getPartnersListByProgramPaymentType(programPaymentTypeId);\r\n setPartner(null);\r\n }\r\n }, [programPaymentTypeId]);\r\n useEffect(() => {\r\n if (programTypeId) {\r\n getPartnersListByProgramType(programTypeId);\r\n }\r\n }, [programTypeId]);\r\n const [isPopupOpened, setIsPopupOpened] = useState(false);\r\n const [paymentDepositWithPIN] = useState(paymentDeposit);\r\n const handleSubmitSend = () => {\r\n checkFacilityPaymentsDeposit(programPaymentTypeId, partnerId, periodId).then(() => {\r\n setIsPopupOpened(true);\r\n });\r\n };\r\n const handlePINSubmit = (confirmationData) => {\r\n sendFacilityPaymentsDeposit(programPaymentTypeId, partnerId, periodId, confirmationData.get('pin'));\r\n setIsPopupOpened(false);\r\n };\r\n const handleSubmitDownload = () => {\r\n downloadPaymentDeposit(programPaymentTypeId, partnerId, periodId);\r\n };\r\n const programPaymentTypeChangeHandler = (programPaymentType) => {\r\n setProgramPaymentType(programPaymentType);\r\n };\r\n return \r\n {isLoading\r\n ? \r\n : <>\r\n }\r\n {\r\n \r\n }\r\n onConfirm={(dispatch) => {\r\n dispatch(submit(wellnessProgramPaymentResources.formfacilityPaymentDepositConfirmation));\r\n }}\r\n onCancel={() => setIsPopupOpened(false)}\r\n labelOk={popupSubmitText}\r\n labelCancel={wellnessProgramPaymentResources.buttonCancel}\r\n />\r\n }\r\n \r\n ;\r\n}\r\n\r\nFacilityPaymentDepositSection.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n programTypes: PropTypes.object.isRequired,\r\n programPaymentTypes: PropTypes.object.isRequired,\r\n periods: PropTypes.object.isRequired,\r\n partners: PropTypes.object.isRequired,\r\n paymentDeposit: PropTypes.object.isRequired,\r\n setProgramType: PropTypes.func.isRequired,\r\n setProgramPaymentType: PropTypes.func.isRequired,\r\n getPartnersListByProgramType: PropTypes.func.isRequired,\r\n getPartnersListByProgramPaymentType: PropTypes.func.isRequired,\r\n defaultProgramType: PropTypes.object,\r\n sendFacilityPaymentsDeposit: PropTypes.func.isRequired,\r\n downloadPaymentDeposit: PropTypes.func.isRequired,\r\n checkFacilityPaymentsDeposit: PropTypes.func.isRequired,\r\n popupMessage: PropTypes.string,\r\n popupSubmitText: PropTypes.string,\r\n isAchUploadAvailable: PropTypes.bool.isRequired,\r\n achUploadErrorMessage: PropTypes.string,\r\n defaultProgramPaymentType: PropTypes.object,\r\n programTypeId: PropTypes.number,\r\n programPaymentTypeId: PropTypes.number,\r\n setPartner: PropTypes.func,\r\n partnerId: PropTypes.number,\r\n periodId: PropTypes.number,\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getPartnersListByProgramType,\r\n ...actions\r\n};\r\n\r\nexport default connect(selectors, mapDispatchToProps)(FacilityPaymentDepositSection);","import validationRules from '../../../utilities/validationRules';\r\nimport wellnessProgramPaymentResources from '../wellnessProgramPaymentsResources';\r\n\r\nexport const forProgramTypeRequired = validationRules.required(\r\n wellnessProgramPaymentResources.labelForProgramType\r\n);\r\nexport const forPeriodRequired = validationRules.required(\r\n wellnessProgramPaymentResources.labelForUsagePeriod\r\n);\r\nexport const forPartnerRequired = validationRules.required(\r\n wellnessProgramPaymentResources.labelForPartner\r\n);\r\n\r\nexport const programTypeRequired = validationRules.required(\r\n wellnessProgramPaymentResources.labelProgramType\r\n);\r\nexport const periodRequired = validationRules.required(\r\n wellnessProgramPaymentResources.labelVisitMonth\r\n);\r\nexport const partnerRequired = validationRules.required(\r\n wellnessProgramPaymentResources.labelPartner\r\n);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport FormGroup from '../../../components/controls/FormGroup';\r\nimport InputSelect from '../../../components/controls/InputSelect';\r\nimport MuiButton from '../../../components/controls/MuiButton';\r\nimport { defaultFormProperties } from '../../../utilities/form';\r\nimport wellnessProgramPaymentResources from '../wellnessProgramPaymentsResources';\r\nimport * as validationRules from './facilityPaymentsGenerationFormValidation';\r\n\r\nconst FacilityPatnerPaymentsGenerationForm = ({\r\n gmrAddProgram,\r\n pristine,\r\n submitting,\r\n handleSubmit,\r\n programTypes,\r\n programPaymentTypes,\r\n periods,\r\n partners,\r\n onProgramPaymentTypeChange }) => {\r\n return \r\n {\r\n gmrAddProgram ?\r\n <>\r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n component={InputSelect}\r\n validate={[\r\n validationRules.programTypeRequired\r\n ]}\r\n onChange={(option) => {\r\n const programPaymentTypeID = option.get('id');\r\n onProgramPaymentTypeChange(programPaymentTypeID);\r\n }}\r\n />\r\n \r\n :\r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n component={InputSelect}\r\n isDisabled\r\n />\r\n }\r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n validate={[\r\n gmrAddProgram ? validationRules.partnerRequired : validationRules.forPartnerRequired\r\n ]}\r\n />\r\n option.get('yearMonth')}\r\n getOptionValue={option => option.get('id')}\r\n validate={[\r\n gmrAddProgram ? validationRules.periodRequired : validationRules.forPeriodRequired\r\n ]}\r\n />\r\n
    \r\n
    \r\n \r\n {wellnessProgramPaymentResources.buttonGenerate}\r\n \r\n
    \r\n
    \r\n
    ;\r\n};\r\n\r\nFacilityPatnerPaymentsGenerationForm.propTypes = {\r\n pristine: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n handleSubmit: PropTypes.func.isRequired,\r\n programTypes: PropTypes.object.isRequired,\r\n programPaymentTypes: PropTypes.object.isRequired,\r\n periods: PropTypes.object.isRequired,\r\n partners: PropTypes.object.isRequired,\r\n gmrAddProgram: PropTypes.bool,\r\n onProgramPaymentTypeChange: PropTypes.func.isRequired\r\n};\r\n\r\nexport default reduxForm({\r\n form: wellnessProgramPaymentResources.formFacilityPaymentsGeneration,\r\n ...defaultFormProperties\r\n})(FacilityPatnerPaymentsGenerationForm);\r\n","import * as types from './facilityPaymentsGenerationSectionTypes';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport * as facilityPaymentsGenerationSectionService from './facilityPaymentsGenerationSectionService';\r\nimport * as partnersListService from '../../Partners/PartnersList/partnersListService';\r\n\r\nconst setProgramTypeAction = (programType) => {\r\n return { type: types.SET_PROGRAM_TYPE, programType };\r\n};\r\n\r\nfunction setProgramType(programType) {\r\n return function (dispatch) {\r\n dispatch(setProgramTypeAction(programType));\r\n };\r\n}\r\n\r\nconst setProgramPaymentTypeAction = (programPaymentType) => {\r\n return { type: types.SET_PROGRAM_PAYMENT_TYPE, programPaymentType };\r\n};\r\n\r\nfunction setProgramPaymentType(programPaymentType) {\r\n return function (dispatch) {\r\n dispatch(setProgramPaymentTypeAction(programPaymentType));\r\n };\r\n}\r\n\r\nconst setPeriodAction = (period) => {\r\n return { type: types.SET_PERIOD, period };\r\n};\r\n\r\nfunction setPeriod(period) {\r\n return function (dispatch) {\r\n dispatch(setPeriodAction(period));\r\n };\r\n};\r\n\r\nconst setPartnerAction = (partner) => {\r\n return { type: types.SET_PARTNER, partner };\r\n};\r\n\r\nfunction setPartner(partner) {\r\n return function (dispatch) {\r\n dispatch(setPartnerAction(partner));\r\n };\r\n};\r\n\r\nconst setPartnersAction = (partners) => {\r\n return { type: types.SET_PARTNERS, partners };\r\n};\r\n\r\nconst setCheckPaymentsExistAction = (doPaymentsExist) => {\r\n return { type: types.SET_PAYMENTS_EXIST, doPaymentsExist };\r\n};\r\n\r\nfunction resetPaymentsExistenceCheck() {\r\n return function (dispatch) {\r\n dispatch(setCheckPaymentsExistAction(null));\r\n };\r\n};\r\n\r\nfunction checkPaymentsExistence(programTypeID, programPaymentTypeID, partnerID, periodID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.CHECK_PAYMENTS_EXISTENCE));\r\n return facilityPaymentsGenerationSectionService\r\n .checkPaymentsExist(programTypeID, programPaymentTypeID, partnerID, periodID)\r\n .then((response) => {\r\n dispatch(setCheckPaymentsExistAction(response.data));\r\n })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.CHECK_PAYMENTS_EXISTENCE)));\r\n };\r\n}\r\n\r\nexport function getPartnersListByProgramPaymentType(programPaymentTypeID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PARTNERS));\r\n return partnersListService\r\n .getPartnersListByProgramPaymentType(programPaymentTypeID, null)\r\n .then((partners) => {\r\n dispatch(setPartnersAction(partners));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PARTNERS));\r\n });\r\n };\r\n}\r\n\r\nexport function getPartnersListByProgramType(programTypeID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PARTNERS));\r\n return partnersListService\r\n .getPartnersListByProgramType(programTypeID)\r\n .then((partners) => {\r\n dispatch(setPartnersAction(partners));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PARTNERS));\r\n });\r\n };\r\n}\r\n\r\nfunction generate(generateParams) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GENERATE_PAYMENTS));\r\n return facilityPaymentsGenerationSectionService\r\n .generate(generateParams)\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.GENERATE_PAYMENTS)));\r\n };\r\n}\r\n\r\nexport default {\r\n setProgramType,\r\n setProgramPaymentType,\r\n setPeriod,\r\n generate,\r\n getPartnersListByProgramType,\r\n getPartnersListByProgramPaymentType,\r\n setPartner,\r\n checkPaymentsExistence,\r\n resetPaymentsExistenceCheck\r\n};","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\n\r\nexport function checkPaymentsExist(programTypeID, programPaymentTypeID, partnerID, periodID) {\r\n return http.get(API_PATHS.checkFacilityPaymentsExist, { params: { programTypeID, programPaymentTypeID, partnerID, periodID } });\r\n}\r\n\r\nexport function generate(generateParams) {\r\n return http.post(API_PATHS.generateFacilityPayments, generateParams);\r\n};","const facilityPaymentsGenerationSectionResources = {\r\n facilityPaymentWarningMessageFormat: 'Facility Payments have already been generated. Are you sure you want to re-generate them?',\r\n};\r\nexport default facilityPaymentsGenerationSectionResources;\r\n","import { createSelector } from 'reselect';\r\nimport { CHECK_PAYMENTS_EXISTENCE, GENERATE_PAYMENTS, GET_PARTNERS } from './facilityPaymentsGenerationSectionTypes';\r\nimport baseSelectors from '../FacilityPaymentsTab/facilityPaymentsSelectors';\r\nimport { GET_CLOSED_USAGE_PERIODS } from '../../Shared/Periods/periodsTypes';\r\nimport facilityPaymentsGenerationSectionResources from './facilityPaymentsGenerationSectionResources';\r\nimport wellnessProgramPaymentResources from '../../WellnessProgramPayments/wellnessProgramPaymentsResources';\r\nimport { formValueSelector } from 'redux-form';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i => i === CHECK_PAYMENTS_EXISTENCE || i === GENERATE_PAYMENTS || i === GET_PARTNERS || i === GET_CLOSED_USAGE_PERIODS\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\n\r\nconst getPaymentsGenerationSettings = state => state.facilityPaymentsGenerationSectionReducer.get('paymentsGenerationSettings');\r\nconst getForm = formValueSelector(wellnessProgramPaymentResources.formFacilityPaymentsGeneration, state => state.form.toJS());\r\nconst getSelectedProgramTypeID = state => state.facilityPaymentsGenerationSectionReducer.getIn(['paymentsGenerationSettings', 'programType', 'id']);\r\nconst getSelectedProgramPaymentTypeID = (state) => {\r\n const selectedProgramPaymentType = getForm(state, wellnessProgramPaymentResources.fieldProgramPaymentType);\r\n if (selectedProgramPaymentType) {\r\n return selectedProgramPaymentType.id;\r\n }\r\n};\r\nconst getSelectedPeriodID = state => state.facilityPaymentsGenerationSectionReducer.getIn(['paymentsGenerationSettings', 'period', 'id']);\r\nconst getSelectedPartnerID = state => state.facilityPaymentsGenerationSectionReducer.getIn(['paymentsGenerationSettings', 'partner', 'id']);\r\nconst getPartners = state => state.facilityPaymentsGenerationSectionReducer.get('partners');\r\nconst getDoPaymentsExist = state => state.facilityPaymentsGenerationSectionReducer.get('doPaymentsExist');\r\n\r\nconst getMessage = createSelector([baseSelectors, getSelectedPeriodID, getPartners, getSelectedPartnerID], (baseProps, selectedPeriodID, partners, selectedPartnerID) => {\r\n if (baseProps.periods && selectedPeriodID && partners && selectedPartnerID) {\r\n return facilityPaymentsGenerationSectionResources.facilityPaymentWarningMessageFormat;\r\n }\r\n return '';\r\n});\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n getPaymentsGenerationSettings,\r\n getMessage,\r\n getSelectedProgramTypeID,\r\n getSelectedProgramPaymentTypeID,\r\n getSelectedPeriodID,\r\n getSelectedPartnerID,\r\n getPartners,\r\n getDoPaymentsExist\r\n ],\r\n (\r\n isLoading,\r\n paymentsGenerationSettings,\r\n message,\r\n selectedProgramTypeID,\r\n selectedProgramPaymentTypeID,\r\n selectedPeriodID,\r\n selectedPartnerID,\r\n partners,\r\n doPaymentsExist\r\n ) => ({\r\n isLoading,\r\n paymentsGenerationSettings,\r\n message,\r\n selectedProgramTypeID,\r\n selectedProgramPaymentTypeID,\r\n selectedPeriodID,\r\n selectedPartnerID,\r\n partners,\r\n doPaymentsExist\r\n })\r\n);","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport InfoBox from '../../../components/InfoBox/InfoBox';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport FacilityPatnerPaymentsGenerationForm from '../FacilityPaymentsGenerationForm/FacilityPatnerPaymentsGenerationForm';\r\nimport wellnessProgramPaymentResources from '../wellnessProgramPaymentsResources';\r\nimport actions from './facilityPaymentGenerationSectionActions';\r\nimport selectors from './facilityPaymentsGenerationSectionSelectors';\r\nimport ConfirmPopup from '../../../components/Popups/ConfirmAlert/ConfirmPopup';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\n\r\nconst FacilityPaymentsGenerationSection = ({\r\n isLoading,\r\n programTypes,\r\n programPaymentTypes,\r\n periods,\r\n paymentsGenerationSettings,\r\n defaultProgramType,\r\n defaultProgramPaymentType,\r\n setProgramType,\r\n setProgramPaymentType,\r\n setPeriod,\r\n setPartner,\r\n doPaymentsExist,\r\n generate,\r\n message,\r\n selectedPeriodID,\r\n selectedProgramTypeID,\r\n selectedProgramPaymentTypeID,\r\n selectedPartnerID,\r\n getPartnersListByProgramType,\r\n getPartnersListByProgramPaymentType,\r\n partners,\r\n checkPaymentsExistence,\r\n resetPaymentsExistenceCheck\r\n}) => {\r\n const { gmrAddProgram } = useFlags();\r\n useEffect(() => {\r\n if (!gmrAddProgram) {\r\n setProgramType(defaultProgramType);\r\n if (defaultProgramType) {\r\n getPartnersListByProgramType(defaultProgramType.get('id'));\r\n }\r\n }\r\n else {\r\n setProgramPaymentType(defaultProgramPaymentType);\r\n if (defaultProgramPaymentType) {\r\n getPartnersListByProgramPaymentType(defaultProgramPaymentType.get('id'));\r\n }\r\n }\r\n }, []);\r\n useEffect(() => {\r\n if (!gmrAddProgram && selectedProgramTypeID) {\r\n getPartnersListByProgramType(selectedProgramTypeID);\r\n }\r\n }, [selectedProgramTypeID]);\r\n useEffect(() => {\r\n if(gmrAddProgram && selectedProgramPaymentTypeID && selectedPeriodID && selectedPartnerID) {\r\n checkPaymentsExistence(0, selectedProgramPaymentTypeID, selectedPartnerID, selectedPeriodID);\r\n }\r\n else if (!gmrAddProgram && selectedProgramTypeID && selectedPeriodID && selectedPartnerID) {\r\n checkPaymentsExistence(selectedProgramTypeID, 0, selectedPartnerID, selectedPeriodID);\r\n }\r\n }, [selectedProgramPaymentTypeID, selectedProgramTypeID, selectedPeriodID, selectedPartnerID]);\r\n useEffect(() => {\r\n if (doPaymentsExist === false) {\r\n confirmGenerate();\r\n }\r\n }, [doPaymentsExist]);\r\n const handleGenerate = (settings) => {\r\n const programPaymentType = settings.get('programPaymentType');\r\n const programType = settings.get('programType');\r\n const partner = settings.get('partner');\r\n const period = settings.get('period');\r\n setProgramPaymentType(programPaymentType);\r\n setProgramType(programType);\r\n setPartner(partner);\r\n setPeriod(period);\r\n };\r\n const closePopup = () => {\r\n resetPaymentsExistenceCheck();\r\n setPartner();\r\n setPeriod();\r\n };\r\n const confirmGenerate = () => {\r\n closePopup();\r\n const generateParams = createGenerateParams();\r\n generate(generateParams);\r\n };\r\n const createGenerateParams = () => {\r\n return {\r\n programTypeID: selectedProgramTypeID,\r\n programPaymentTypeID: selectedProgramPaymentTypeID,\r\n partnerID: selectedPartnerID,\r\n periodID: selectedPeriodID\r\n };\r\n };\r\n return \r\n {\r\n isLoading\r\n ? \r\n : <>\r\n }\r\n {message}}\r\n onConfirm={confirmGenerate}\r\n onCancel={closePopup}\r\n />\r\n \r\n ;\r\n};\r\n\r\nFacilityPaymentsGenerationSection.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n programTypes: PropTypes.object.isRequired,\r\n programPaymentTypes: PropTypes.object.isRequired,\r\n periods: PropTypes.object.isRequired,\r\n partners: PropTypes.object.isRequired,\r\n paymentsGenerationSettings: PropTypes.object.isRequired,\r\n message: PropTypes.string.isRequired,\r\n setProgramType: PropTypes.func.isRequired,\r\n setProgramPaymentType: PropTypes.func.isRequired,\r\n setPeriod: PropTypes.func.isRequired,\r\n setPartner: PropTypes.func.isRequired,\r\n generate: PropTypes.func.isRequired,\r\n doPaymentsExist: PropTypes.bool,\r\n defaultProgramType: PropTypes.object,\r\n defaultProgramPaymentType: PropTypes.object,\r\n selectedProgramTypeID: PropTypes.number,\r\n selectedProgramPaymentTypeID: PropTypes.number,\r\n selectedPeriodID: PropTypes.number,\r\n selectedPartnerID: PropTypes.number,\r\n checkPaymentsExistence: PropTypes.func.isRequired,\r\n resetPaymentsExistenceCheck: PropTypes.func.isRequired,\r\n getPartnersListByProgramType: PropTypes.func.isRequired,\r\n getPartnersListByProgramPaymentType: PropTypes.func.isRequired\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n ...actions\r\n};\r\n\r\nexport default connect(selectors, mapDispatchToProps)(FacilityPaymentsGenerationSection);","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport { connect } from 'react-redux';\r\nimport selectors from './facilityPaymentsSelectors';\r\nimport CardInfo from '../../../components/CardInfo/CardInfo';\r\nimport FacilityPaymentsSection from '../FacilityPaymentsSection/FacilityPaymentsSection';\r\nimport FacilityPaymentDepositSection from '../FacilityPaymentDepositSection/FacilityPaymentDepositSection';\r\nimport FacilityPaymentsGenerationSection from '../FacilityPaymentsGenerationSection/FacilityPaymentsGenerationSection';\r\nimport { getClosedUsagePeriods } from '../../Shared/Periods/periodsActions';\r\n\r\nfunction FacilityPaymentsTab({\r\n isLoading,\r\n programPaymentTypes,\r\n programTypes,\r\n periods,\r\n defaultPeriod,\r\n defaultProgramType,\r\n defaultProgramPaymentType,\r\n getClosedUsagePeriods\r\n}) {\r\n useEffect(() => {\r\n getClosedUsagePeriods();\r\n }, []);\r\n return isLoading ?\r\n (\r\n \r\n )\r\n : (\r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n );\r\n}\r\n\r\nFacilityPaymentsTab.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n history: PropTypes.object.isRequired,\r\n match: PropTypes.object.isRequired,\r\n programPaymentTypes: PropTypes.object.isRequired,\r\n programTypes: PropTypes.object.isRequired,\r\n periods: PropTypes.object.isRequired,\r\n partners: PropTypes.object,\r\n defaultProgramType: PropTypes.object,\r\n defaultProgramPaymentType: PropTypes.object,\r\n defaultPeriod: PropTypes.object,\r\n getClosedUsagePeriods: PropTypes.func.isRequired\r\n};\r\n\r\nconst actions = {\r\n getClosedUsagePeriods\r\n};\r\n\r\nexport default connect(selectors, actions)(FacilityPaymentsTab);\r\n","import { createSelector } from 'reselect';\r\nimport allRoutes from '../../routing/routes';\r\n\r\nconst getFilteredRoutes = (state, props) => {\r\n return props.currentRoute.routes.filter((route) => {\r\n return route.name !== allRoutes.voucherProgramsEdit.name\r\n && route.name !== allRoutes.voucherProgramsCreate.name\r\n && route.name !== allRoutes.voucherProgramRecipientsList.name;\r\n });\r\n};\r\n\r\nexport default createSelector(\r\n [\r\n getFilteredRoutes,\r\n ],\r\n filteredRoutes => ({\r\n filteredRoutes\r\n })\r\n);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Switch, Redirect, generatePath } from 'react-router-dom';\r\nimport { connect } from 'react-redux';\r\nimport { routeType } from '../../routing/routes';\r\nimport CustomRoute from '../../layouts/CustomRoute';\r\nimport selectors from './voucherProgramsPageSelectors';\r\n\r\nfunction VoucherProgramsPage({ match, currentRoute, filteredRoutes }) {\r\n const routesForNavigation = filteredRoutes.map((route) => {\r\n return { ...route, path: generatePath(route.path, match.params) };\r\n });\r\n\r\n return (\r\n \r\n {currentRoute.routes.map((route, i) => (\r\n \r\n ))}\r\n \r\n \r\n );\r\n};\r\n\r\nVoucherProgramsPage.propTypes = {\r\n match: PropTypes.object.isRequired,\r\n currentRoute: routeType.isRequired,\r\n filteredRoutes: PropTypes.arrayOf(routeType)\r\n};\r\n\r\nexport default connect(selectors)(VoucherProgramsPage);\r\n","import { createSelector } from 'reselect';\r\nimport { GET_VOUCHER_PROGRAMS } from './voucherProgramsListTypes';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === GET_VOUCHER_PROGRAMS)\r\n .size;\r\n\r\n return size > 0;\r\n};\r\n\r\nconst getVoucherPrograms = state => state.voucherProgramsListReducer.get('voucherPrograms');\r\n\r\nexport default createSelector(\r\n [getIsLoading, getVoucherPrograms],\r\n (isLoading, voucherPrograms) => ({\r\n isLoading,\r\n voucherPrograms,\r\n })\r\n);\r\n","const VoucherProgramsListResources = {\r\n headerVoucherPrograms: 'Voucher Programs',\r\n programName: 'program name',\r\n headerActions: 'Actions',\r\n labelView: 'View',\r\n labelEdit: 'Edit',\r\n addVoucherProgramButtonText: 'Add Voucher Program'\r\n};\r\nexport default VoucherProgramsListResources;\r\n","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { generatePath } from 'react-router-dom';\r\nimport { connect } from 'react-redux';\r\nimport allRoutes from '../../../routing/routes';\r\nimport Button from '../../../components/controls/Button';\r\nimport InfoBox from '../../../components/InfoBox/InfoBox';\r\nimport InfoBoxRow from '../../../components/InfoBox/InfoBoxRow';\r\nimport Table from '../../../components/InfoBox/Table';\r\nimport ActionCell from '../../../components/InfoBox/ActionCell';\r\nimport selectors from './voucherProgramsListSelectors';\r\nimport { getVoucherPrograms } from './voucherProgramsListActions';\r\nimport voucherProgramsListResources from './voucherProgramsListResources';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\n\r\nfunction VoucherProgramsList({ match, history, isLoading, getVoucherPrograms, voucherPrograms }) {\r\n const partnerId = match.params.partnerId;\r\n useEffect(() => {\r\n getVoucherPrograms(partnerId);\r\n }, []);\r\n const editHandler = (voucherProgramId) => {\r\n history.push(generatePath(allRoutes.voucherProgramsEdit.path, { partnerId, voucherProgramId }));\r\n };\r\n const columns = React.useMemo(\r\n () => [\r\n {\r\n Header: voucherProgramsListResources.programName,\r\n accessor: 'displayName',\r\n },\r\n {\r\n Header: voucherProgramsListResources.headerActions,\r\n disableSortBy: true,\r\n accessor: 'id',\r\n Cell: ActionCell,\r\n getProps: (row) => {\r\n return ({\r\n handler: editHandler,\r\n label: row.original.publishedOn === null ? voucherProgramsListResources.labelEdit : voucherProgramsListResources.labelView,\r\n theme: row.original.publishedOn === null ? 'blue' : 'white'\r\n });\r\n }\r\n }\r\n ],\r\n []\r\n );\r\n\r\n return <>\r\n {isLoading ?\r\n (\r\n \r\n )\r\n : (
    \r\n

    {voucherProgramsListResources.headerVoucherPrograms}

    \r\n \r\n \r\n {\r\n history.push(generatePath(allRoutes.voucherProgramsCreate.path, { partnerId }));\r\n }\r\n }\r\n >\r\n {voucherProgramsListResources.addVoucherProgramButtonText}\r\n \r\n \r\n \r\n
    \r\n \r\n \r\n )};\r\n}\r\n\r\nVoucherProgramsList.propTypes = {\r\n voucherPrograms: PropTypes.object.isRequired,\r\n isLoading: PropTypes.bool.isRequired,\r\n getVoucherPrograms: PropTypes.func.isRequired,\r\n history: PropTypes.object.isRequired,\r\n match: PropTypes.object.isRequired,\r\n};\r\n\r\nconst actions = {\r\n getVoucherPrograms\r\n};\r\n\r\nexport default connect(selectors, actions)(VoucherProgramsList);\r\n","import * as types from './voucherProgramsListTypes';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport * as voucherProgramsListService from './voucherProgramsListService';\r\n\r\nconst setVoucherPrograms = (voucherPrograms) => {\r\n return { type: types.SET_VOUCHER_PROGRAMS, voucherPrograms };\r\n};\r\n\r\nexport function getVoucherPrograms(partnerId) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_VOUCHER_PROGRAMS));\r\n return voucherProgramsListService\r\n .getVoucherPrograms(partnerId)\r\n .then((voucherPrograms) => {\r\n dispatch(setVoucherPrograms(voucherPrograms));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_VOUCHER_PROGRAMS));\r\n });\r\n };\r\n}\r\n","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\n\r\nexport function getVoucherPrograms(partnerId) {\r\n return http.get(API_PATHS.getVoucherPrograms, { params: { partnerId } });\r\n}\r\n","import * as loadingActions from '../../Loading/loadingActions';\r\nimport * as types from './voucherProgramTypes';\r\nimport * as voucherProgramsCreateService from './voucherProgramService';\r\n\r\nconst setVoucherProgramAction = (voucherProgram) => {\r\n return { type: types.SET_VOUCHER_PROGRAM, voucherProgram };\r\n};\r\n\r\nexport function getVoucherProgram(voucherProgramId) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_VOUCHER_PROGRAM));\r\n return voucherProgramsCreateService\r\n .getVoucherProgram(voucherProgramId)\r\n .then((voucherProgram) => {\r\n dispatch(setVoucherProgramAction(voucherProgram));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_VOUCHER_PROGRAM));\r\n });\r\n };\r\n}\r\n\r\nexport function saveVoucherProgram(voucherProgram, partnerLogoFile) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.SAVE_VOUCHER_PROGRAM));\r\n return voucherProgramsCreateService\r\n .saveVoucherProgram(voucherProgram, partnerLogoFile)\r\n .then((result) => {\r\n if (result.success) {\r\n dispatch(setVoucherProgramAction(result.data));\r\n return result.data;\r\n }\r\n })\r\n .catch((errorResponse) => {\r\n dispatch(setVoucherProgramAction(errorResponse.data.data));\r\n throw errorResponse;\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.SAVE_VOUCHER_PROGRAM));\r\n });\r\n };\r\n}\r\n\r\nexport function setVoucherProgram(voucherProgram) {\r\n return function (dispatch) {\r\n dispatch(setVoucherProgramAction(voucherProgram));\r\n };\r\n}","const VoucherProgramFormResources = {\r\n headerCreateVoucherProgram: 'voucher program',\r\n labelProgramName: 'Program Name',\r\n labelRedemptionAmount: 'Redemption Amount',\r\n labelStartDate: 'Start Date',\r\n labelEndDate: 'Expiration Date',\r\n recipientsButtonText: 'Recipients',\r\n partnerLogo: 'Upload Partner',\r\n existingPartnerLogo: 'Existing Partner:'\r\n};\r\nexport default VoucherProgramFormResources;\r\n","export const ALLOWED_TYPES = ['image/jpeg', 'image/png', 'image/jpg'];\r\nexport const MAX_SIZE_MB = 1;\r\nexport const MAX_SIZE_BYTES = MAX_SIZE_MB * 1024 * 1024;\r\nexport const ALLOWED_FILE_EXTENSIONS = '.jpeg, .jpg, .png';\r\nexport const DIMENSIONS = '178 x 60 pixels';","import validationRules from '../../../utilities/validationRules';\r\nimport voucherProgramFormResources from './voucherProgramFormResources';\r\nimport { ALLOWED_TYPES, MAX_SIZE_BYTES, ALLOWED_FILE_EXTENSIONS, MAX_SIZE_MB } from '../../../constants/partnerLogo';\r\n\r\nexport const programNameRequired = validationRules.required(\r\n voucherProgramFormResources.labelProgramName\r\n);\r\nexport const programNameMaxLength = validationRules.length(\r\n voucherProgramFormResources.labelProgramName,\r\n null,\r\n 100\r\n);\r\nexport const redemptionAmountRequired = validationRules.required(\r\n voucherProgramFormResources.labelRedemptionAmount\r\n);\r\nexport const redemptionAmountNumeric = validationRules.numericOrEmpty(\r\n voucherProgramFormResources.labelRedemptionAmount\r\n);\r\nexport const redemptionAmountIsPositive = validationRules.greaterThanOrEqualSpecificValue(0, voucherProgramFormResources.labelRedemptionAmount);\r\nexport const redemptionAmountIsDecimalWithTwoPlaces = validationRules.decimalWithTwoPlaces(voucherProgramFormResources.labelRedemptionAmount);\r\nexport const redemptionAmountRange = validationRules.range(\r\n voucherProgramFormResources.labelRedemptionAmount,\r\n 0.01,\r\n 99999999.99\r\n);\r\nexport const startDateRequired = validationRules.required(\r\n voucherProgramFormResources.labelStartDate\r\n);\r\nexport const startDateLessThanOrEqualEndDate = validationRules.lessThanOrEqual('endDate',\r\n voucherProgramFormResources.labelStartDate, voucherProgramFormResources.labelEndDate, 'dateString'\r\n);\r\nexport const endDateRequired = validationRules.required(\r\n voucherProgramFormResources.labelEndDate\r\n);\r\nexport const endDateGreaterThanOrEqualStartDate = validationRules.greaterThanOrEqual('startDate',\r\n voucherProgramFormResources.labelEndDate, voucherProgramFormResources.labelStartDate, 'dateString'\r\n);\r\n\r\nexport const fileMaxSize = (fileList) => {\r\n return !fileList || fileList.length === 0 || fileList[0].size <= MAX_SIZE_BYTES\r\n ? undefined\r\n : `File with maximum size of ${MAX_SIZE_MB} MB is allowed`;\r\n};\r\n\r\nexport const fileType = (fileList) => {\r\n return !fileList || fileList.length === 0 || ALLOWED_TYPES.includes(fileList[0].type)\r\n ? undefined\r\n : `Invalid file format. Please make sure that you are using ${ALLOWED_FILE_EXTENSIONS} file formats.`;\r\n};","/* eslint-disable react/no-multi-comp*/\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport MaterialIcon from '../MaterialIcon/MaterialIcon';\r\nimport './_input-file.scss';\r\n\r\nfunction InputFile({ label, size, id,\r\n onChange, error, touched,\r\n disabled, name, onBlur,\r\n noMargin, transparentBorder, value, onClick, note }) {\r\n const isNotEmpty = value && value.length;\r\n const showError = error && touched;\r\n return (\r\n \r\n {label &&\r\n }\r\n {note &&
    \r\n \r\n {note}\r\n
    }\r\n
    \r\n \r\n
    \r\n {\r\n showError &&\r\n
    \r\n {error}\r\n
    \r\n }\r\n \r\n );\r\n}\r\n\r\nInputFile.defaultProps = {\r\n onChange: () => {\r\n },\r\n onBlur: () => {\r\n },\r\n onClick: () => {\r\n },\r\n size: 'medium',\r\n secureTextEntry: false\r\n};\r\n\r\nInputFile.propTypes = {\r\n label: PropTypes.string,\r\n name: PropTypes.string,\r\n onChange: PropTypes.func,\r\n onBlur: PropTypes.func,\r\n onClick: PropTypes.func,\r\n size: PropTypes.string,\r\n id: PropTypes.string,\r\n error: PropTypes.string,\r\n touched: PropTypes.bool,\r\n disabled: PropTypes.bool,\r\n noMargin: PropTypes.bool,\r\n transparentBorder: PropTypes.bool,\r\n value: PropTypes.oneOfType([\r\n PropTypes.string,\r\n PropTypes.instanceOf(FileList)\r\n ]),\r\n note: PropTypes.oneOfType([PropTypes.string, PropTypes.node])\r\n};\r\n\r\nconst ReduxInputFile = ({ input, meta, ...custom }) => {\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default ReduxInputFile;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport { generatePath } from 'react-router';\r\nimport FormGroup from '../../../components/controls/FormGroup';\r\nimport { MuiInputText } from '../../../components/controls/MuiInputText';\r\nimport Button from '../../../components/controls/Button';\r\nimport { defaultFormProperties } from '../../../utilities/form';\r\nimport InfoBox from '../../../components/InfoBox/InfoBox';\r\nimport routes from '../../../routing/routes';\r\nimport voucherProgramFormResources from './voucherProgramFormResources';\r\nimport * as validationRules from './voucherProgramFormValidation';\r\nimport sharedResources from '../../Shared/resources';\r\nimport InputFile from '../../../components/controls/InputFile';\r\nimport { ALLOWED_FILE_EXTENSIONS, DIMENSIONS, MAX_SIZE_MB } from '../../../constants/partnerLogo';\r\nimport './_voucher-program-form.scss';\r\nimport MuiInputDatePicker from '../../../components/controls/MuiInputDatePicker';\r\n\r\nconst VoucherProgramForm = ({\r\n pristine,\r\n submitting,\r\n handleSubmit,\r\n history,\r\n match,\r\n isPublished,\r\n isAdd,\r\n partnerLogoFileName\r\n}) => {\r\n const toVoucherProgramsList = function () {\r\n history.push(generatePath(routes.voucherProgramsList.path, match.params));\r\n };\r\n const toRecipientsList = function () {\r\n history.push(generatePath(routes.voucherProgramRecipientsList.path, match.params));\r\n };\r\n return (\r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Please be aware that supported file formats are {ALLOWED_FILE_EXTENSIONS} ;\r\n the file must be up to {MAX_SIZE_MB} MB \r\n and recommended size of picture is {DIMENSIONS}}\r\n component={InputFile}\r\n validate={[\r\n validationRules.fileMaxSize,\r\n validationRules.fileType,\r\n ]}\r\n noMargin={!!partnerLogoFileName}\r\n />\r\n {partnerLogoFileName && (
    \r\n \r\n

    {partnerLogoFileName}

    \r\n
    \r\n )}\r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n {sharedResources.saveButtonText}\r\n \r\n
    \r\n {!isAdd &&
    \r\n \r\n {voucherProgramFormResources.recipientsButtonText}\r\n \r\n
    }\r\n
    \r\n \r\n {isPublished ? sharedResources.backButtonText : sharedResources.cancelButtonText}\r\n \r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nVoucherProgramForm.propTypes = {\r\n pristine: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n handleSubmit: PropTypes.func.isRequired,\r\n history: PropTypes.object.isRequired,\r\n match: PropTypes.object.isRequired,\r\n isPublished: PropTypes.bool,\r\n isAdd: PropTypes.bool,\r\n partnerLogoFileName: PropTypes.string\r\n};\r\n\r\nexport default reduxForm({\r\n form: 'voucherProgramForm',\r\n ...defaultFormProperties\r\n})(VoucherProgramForm);\r\n","const VoucherProgramFormResources = {\r\n headerCreateVoucherProgram: 'Add Voucher Program',\r\n headerEditVoucherProgram: 'Edit Voucher Program',\r\n headerViewVoucherProgram: 'View Voucher Program',\r\n};\r\nexport default VoucherProgramFormResources;\r\n","import { createSelector } from 'reselect';\r\nimport { SAVE_VOUCHER_PROGRAM, GET_VOUCHER_PROGRAM } from './voucherProgramTypes';\r\nimport voucherProgramResources from './voucherProgramResources';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === SAVE_VOUCHER_PROGRAM || i === GET_VOUCHER_PROGRAM)\r\n .size;\r\n\r\n return size > 0;\r\n};\r\n\r\nconst getVoucherProgram = state => state.voucherProgramReducer.get('voucherProgram');\r\n\r\nconst getIsPublished = createSelector(\r\n [getVoucherProgram],\r\n (voucherProgram) => {\r\n if (!voucherProgram) {\r\n return false;\r\n };\r\n const voucherProgramJs = voucherProgram.toJS();\r\n return !!(voucherProgramJs.id && voucherProgramJs.publishedOn);\r\n }\r\n);\r\n\r\nconst getIsAdd = (_, props) => { return props.match.params.voucherProgramId === undefined; };\r\n\r\nconst getTitle = createSelector(\r\n [getIsPublished, getIsAdd],\r\n (isPublished, isAdd) => {\r\n if (isAdd) {\r\n return voucherProgramResources.headerCreateVoucherProgram;\r\n } else {\r\n return isPublished ? voucherProgramResources.headerViewVoucherProgram : voucherProgramResources.headerEditVoucherProgram;\r\n }\r\n }\r\n);\r\n\r\nconst getPartnerLogoFileName = createSelector(\r\n [getVoucherProgram],\r\n (voucherProgram) => {\r\n if (!voucherProgram) {\r\n return null;\r\n };\r\n const voucherProgramJs = voucherProgram.toJS();\r\n return voucherProgramJs.partnerLogoFileName;\r\n }\r\n);\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n getVoucherProgram,\r\n getIsPublished,\r\n getIsAdd,\r\n getTitle,\r\n getPartnerLogoFileName],\r\n (\r\n isLoading,\r\n voucherProgram,\r\n isPublished,\r\n isAdd,\r\n title,\r\n partnerLogoFileName\r\n ) => (\r\n {\r\n isLoading,\r\n voucherProgram,\r\n isPublished,\r\n isAdd,\r\n title,\r\n partnerLogoFileName\r\n }\r\n )\r\n);\r\n","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { generatePath } from 'react-router';\r\nimport routes from '../../../routing/routes';\r\nimport {\r\n getVoucherProgram,\r\n saveVoucherProgram,\r\n setVoucherProgram\r\n} from './voucherProgramActions';\r\nimport VoucherProgramForm from '../VoucherProgramForm/VoucherProgramForm';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport selectors from './voucherProgramSelectors';\r\nimport CardInfo from '../../../components/CardInfo/CardInfo';\r\nimport './_voucher-program.scss';\r\n\r\nfunction VoucherProgram({\r\n getVoucherProgram,\r\n saveVoucherProgram,\r\n setVoucherProgram,\r\n history,\r\n isLoading,\r\n voucherProgram,\r\n match,\r\n isPublished,\r\n isAdd,\r\n title,\r\n partnerLogoFileName\r\n}) {\r\n useEffect(() => {\r\n if (isAdd) {\r\n setVoucherProgram({});\r\n } else {\r\n getVoucherProgram(match.params.voucherProgramId);\r\n }\r\n }, [match.params.voucherProgramId]);\r\n function handleSave(voucherProgramFromForm) {\r\n const voucherProgramFromFormJs = voucherProgramFromForm.toJS();\r\n voucherProgramFromFormJs.partnerID = match.params.partnerId;\r\n voucherProgramFromFormJs.id = match.params.voucherProgramId;\r\n const partnerLogoFile = voucherProgramFromFormJs.partnerLogo ? voucherProgramFromFormJs.partnerLogo[0] : null;\r\n const savePromise = saveVoucherProgram(voucherProgramFromFormJs, partnerLogoFile);\r\n if (isAdd) {\r\n savePromise.then(() => {\r\n history.push(generatePath(routes.voucherProgramsList.path, match.params));\r\n });\r\n }\r\n }\r\n return isLoading ?\r\n (\r\n \r\n )\r\n : (\r\n
    \r\n

    {title}

    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n );\r\n}\r\n\r\nVoucherProgram.propTypes = {\r\n history: PropTypes.object.isRequired,\r\n match: PropTypes.object.isRequired,\r\n isLoading: PropTypes.bool.isRequired,\r\n isPublished: PropTypes.bool.isRequired,\r\n getVoucherProgram: PropTypes.func.isRequired,\r\n saveVoucherProgram: PropTypes.func.isRequired,\r\n setVoucherProgram: PropTypes.func.isRequired,\r\n voucherProgram: PropTypes.object.isRequired,\r\n isAdd: PropTypes.bool.isRequired,\r\n title: PropTypes.string.isRequired,\r\n partnerLogoFileName: PropTypes.string\r\n};\r\n\r\nconst actions = {\r\n getVoucherProgram,\r\n saveVoucherProgram,\r\n setVoucherProgram\r\n};\r\n\r\nexport default connect(selectors, actions)(VoucherProgram);\r\n","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\nimport { MULTIPART_FORM_DATA } from '../../../constants/contentTypes';\r\n\r\nexport function getVoucherProgram(voucherProgramId) {\r\n return http.get(API_PATHS.getVoucherProgram, { params: { voucherProgramId } });\r\n}\r\n\r\nexport function saveVoucherProgram(voucherProgram, partnerLogoFile) {\r\n const formData = new FormData();\r\n formData.append('voucherProgram', JSON.stringify(voucherProgram));\r\n formData.append('partnerLogoFile', partnerLogoFile);\r\n const config = {\r\n headers: {\r\n 'content-type': MULTIPART_FORM_DATA\r\n }\r\n };\r\n return http.post(API_PATHS.saveVoucherProgram, formData, config);\r\n}","import React from 'react';\r\nimport './_error-summary.scss';\r\n\r\nconst ErrorSummary = function ({ errors }) {\r\n return <>\r\n {\r\n errors && errors.toJS().length > 0\r\n ?
    \r\n

    The following data is invalid:

    \r\n
      \r\n {errors.toJS().map((error, i) =>
    • {error}
    • )}\r\n
    \r\n
    \r\n : null\r\n }\r\n ;\r\n};\r\n\r\nexport default ErrorSummary;","const UploadRecipientsFormResources = {\r\n headerUploadRecipients: 'Upload Recipients',\r\n labelRecipientsFile: 'Recipient File Upload',\r\n};\r\nexport default UploadRecipientsFormResources;\r\n","import validationRules from '../../../utilities/validationRules';\r\nimport uploadRecipientsFormResources from './uploadRecipientsFormResources';\r\n\r\nexport const recipientsFileRequired = validationRules.fileRequired(\r\n uploadRecipientsFormResources.labelRecipientsFile\r\n);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport FormGroup from '../../../components/controls/FormGroup';\r\nimport InputFile from '../../../components/controls/InputFile';\r\nimport Button from '../../../components/controls/Button';\r\nimport { defaultFormProperties } from '../../../utilities/form';\r\nimport InfoBox from '../../../components/InfoBox/InfoBox';\r\nimport uploadRecipientsFormResources from './uploadRecipientsFormResources';\r\nimport * as validationRules from './uploadRecipientsFormValidation';\r\nimport resources from '../../Shared/resources';\r\n\r\nconst UploadRecipientsForm = ({\r\n pristine,\r\n submitting,\r\n handleSubmit,\r\n match,\r\n history\r\n}) => {\r\n return (\r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n {resources.uploadButtonText}\r\n \r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nUploadRecipientsForm.propTypes = {\r\n pristine: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n handleSubmit: PropTypes.func.isRequired,\r\n history: PropTypes.object.isRequired,\r\n match: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default reduxForm({\r\n form: 'uploadRecipientsForm',\r\n ...defaultFormProperties\r\n})(UploadRecipientsForm);\r\n","import { createSelector } from 'reselect';\r\nimport { GET_VOUCHERS, UPLOAD_RECIPIENTS_LIST, PUBLISH_VOUCHER_PROGRAM, PREVIEW_VOUCHER } from './recipientsListTypes';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === GET_VOUCHERS || i === UPLOAD_RECIPIENTS_LIST || i === PUBLISH_VOUCHER_PROGRAM)\r\n .size;\r\n return size > 0;\r\n};\r\n\r\nconst getIsEmailPreviewLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === PREVIEW_VOUCHER)\r\n .size;\r\n return size > 0;\r\n};\r\n\r\nconst getRecipientsFile = (state) => {\r\n return state.recipientsListReducer.get('recipientsFile');\r\n};\r\n\r\nconst getRecipientsFileContentValidationErrors = (state) => {\r\n return state.recipientsListReducer.get('recipientsFileContentValidationErrors');\r\n};\r\n\r\nconst getVouchers = (state) => {\r\n return state.recipientsListReducer.get('vouchers');\r\n};\r\n\r\nconst getVoucherEmailPeview = (state) => {\r\n return state.recipientsListReducer.get('voucherEmailPeview');\r\n};\r\n\r\nconst getIsPublishPopupVisible = (state) => {\r\n return state.recipientsListReducer.get('isPublishPopupVisible');\r\n};\r\n\r\nconst getIsVoucherProgramPublished = (state) => {\r\n return state.recipientsListReducer.get('isVoucherProgramPublished');\r\n};\r\n\r\nconst getRecipientMetadataDictionary = createSelector([getVouchers], (vouchers) => {\r\n const firstVoucher = vouchers && vouchers.toJS()[0];\r\n return firstVoucher\r\n ? firstVoucher.recipientMetaDataDictionary\r\n : {};\r\n});\r\n\r\nconst getHasVouchers = createSelector([getVouchers], (vouchers) => {\r\n const firstVoucher = vouchers && vouchers.toJS()[0];\r\n return !!firstVoucher;\r\n});\r\n\r\nconst getIsPreviewPopupVisible = (state) => {\r\n return state.recipientsListReducer.get('isPreviewPopupVisible');\r\n};\r\n\r\nexport default createSelector(\r\n [getIsLoading, getRecipientsFile, getRecipientsFileContentValidationErrors,\r\n getVouchers, getVoucherEmailPeview, getIsPublishPopupVisible,\r\n getIsVoucherProgramPublished, getRecipientMetadataDictionary, getHasVouchers, getIsPreviewPopupVisible, getIsEmailPreviewLoading],\r\n (isLoading, recipientsFile, recipientsFileContentValidationErrors,\r\n vouchers, voucherEmailPeview, isPublishPopupVisible,\r\n isVoucherProgramPublished, recipientMetaDataDictionary, hasVouchers, isPreviewPopupVisible, isEmailPreviewLoading) => (\r\n {\r\n isLoading,\r\n recipientsFile,\r\n recipientsFileContentValidationErrors,\r\n vouchers,\r\n voucherEmailPeview,\r\n isPublishPopupVisible,\r\n isVoucherProgramPublished,\r\n recipientMetaDataDictionary,\r\n hasVouchers,\r\n isPreviewPopupVisible,\r\n isEmailPreviewLoading\r\n }\r\n )\r\n);\r\n","function addImagesFromAttachments(emailBody, attachments) {\r\n for (let i = 0; i < attachments.length; i++) {\r\n const attachment = attachments[i];\r\n emailBody = emailBody.replaceAll(`cid:${attachment.contentId}`, `data:${attachment.mediaType};base64, ${attachment.content}`);\r\n }\r\n return emailBody;\r\n}\r\n\r\nexport default addImagesFromAttachments;","import * as types from './recipientsListTypes';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport * as recipientsListService from './recipientsListService';\r\nimport addImagesFromAttachments from '../../../utilities/emailTemplate';\r\n\r\nconst setRecipientsFileContentValidationErrorsAction = (recipientsFileContentValidationErrors) => {\r\n return { type: types.SET_RECIPIENTS_FILE_CONTENT_VALIDATION_ERRORS, recipientsFileContentValidationErrors };\r\n};\r\n\r\nexport function setRecipientsFileContentValidationErrors(recipientsFileContentValidationErrors) {\r\n return function (dispatch) {\r\n dispatch(setRecipientsFileContentValidationErrorsAction(recipientsFileContentValidationErrors));\r\n };\r\n}\r\n\r\nexport function uploadRecipients(voucherProgramId, recipientsFile) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.UPLOAD_RECIPIENTS_LIST));\r\n return recipientsListService\r\n .uploadRecipients(voucherProgramId, recipientsFile)\r\n .then((response) => {\r\n if (response.success) {\r\n dispatch(setRecipientsFileContentValidationErrorsAction([]));\r\n }\r\n })\r\n .catch((response) => {\r\n if (response.data) {\r\n dispatch(setRecipientsFileContentValidationErrorsAction(response.data.data || []));\r\n }\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.UPLOAD_RECIPIENTS_LIST));\r\n });\r\n };\r\n}\r\n\r\nconst setVouchersAction = (vouchers) => {\r\n return { type: types.SET_VOUCHERS, vouchers };\r\n};\r\n\r\nexport function getVouchers(voucherProgramId) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_VOUCHERS));\r\n return recipientsListService\r\n .getVouchers(voucherProgramId)\r\n .then((vouchers) => {\r\n dispatch(setVouchersAction(vouchers));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_VOUCHERS));\r\n });\r\n };\r\n}\r\n\r\nconst setVouchersEmailPreviewAction = (voucherEmailPeview) => {\r\n return { type: types.SET_VOUCHER_EMAIL_PREVIEW, voucherEmailPeview };\r\n};\r\n\r\nexport function previewVoucherEmail(voucherProgramId) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.PREVIEW_VOUCHER));\r\n return recipientsListService\r\n .previewVoucherEmail(voucherProgramId)\r\n .then((response) => {\r\n if (response !== null) {\r\n const emailBody = addImagesFromAttachments(response.body, response.attachments);\r\n dispatch(setVouchersEmailPreviewAction(emailBody));\r\n }\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.PREVIEW_VOUCHER));\r\n });\r\n };\r\n}\r\n\r\nexport function setVouchersEmailPreview(vouchersEmailPreview) {\r\n return function (dispatch) {\r\n dispatch(setVouchersEmailPreviewAction(vouchersEmailPreview));\r\n };\r\n}\r\n\r\nexport function publishVoucherProgram(voucherProgramID) {\r\n return function (dispatch) {\r\n dispatch(setIsPublishPopupVisibleAction(false));\r\n dispatch(loadingActions.setLoading(types.PUBLISH_VOUCHER_PROGRAM));\r\n return recipientsListService\r\n .publishVoucherProgram(voucherProgramID)\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.PUBLISH_VOUCHER_PROGRAM));\r\n });\r\n };\r\n}\r\n\r\nconst setIsPublishPopupVisibleAction = (isPublishPopupVisible) => {\r\n return { type: types.SET_IS_PUBLISH_POPUP_VISIBLE, isPublishPopupVisible };\r\n};\r\n\r\nexport function setIsPublishPopupVisible(isPublishPopupVisible) {\r\n return function (dispatch) {\r\n dispatch(setIsPublishPopupVisibleAction(isPublishPopupVisible));\r\n };\r\n}\r\n\r\nconst setIsVoucherProgramPublished = (isVoucherProgramPublished) => {\r\n return { type: types.SET_IS_VOUCHER_PROGRAM_PUBLISHED, isVoucherProgramPublished };\r\n};\r\n\r\nexport function checkVoucherProgramPublished(voucherProgramID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_IS_VOUCHER_PROGRAM_PUBLISHED));\r\n return recipientsListService\r\n .checkVoucherProgramPublished(voucherProgramID)\r\n .then((response) => {\r\n dispatch(setIsVoucherProgramPublished(response.data));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_IS_VOUCHER_PROGRAM_PUBLISHED));\r\n });\r\n };\r\n}\r\n\r\nconst setIsPreviewPopupVisibleAction = (isPreviewPopupVisible) => {\r\n return { type: types.SET_IS_PREVIEW_POPUP_VISIBLE, isPreviewPopupVisible };\r\n};\r\n\r\nexport function setIsPreviewPopupVisible(isPreviewPopupVisible) {\r\n return function (dispatch) {\r\n dispatch(setIsPreviewPopupVisibleAction(isPreviewPopupVisible));\r\n };\r\n};","const VoucherProgramFormResources = {\r\n headerActions: 'Actions',\r\n headerRecipients: 'Voucher Codes and Recipients',\r\n columnNameVoucherCode: 'Voucher Code',\r\n columnNameEmailAddress: 'Email',\r\n columnNameStatus: 'Status',\r\n columnNameFacilityID: 'Facility ID',\r\n columnNameFacilityName: 'Facility Name',\r\n columnNameFacilityManagerName: 'Facility Manager Name',\r\n columnNameRedemptionDate: 'Redemption Date',\r\n labelPreview: 'Email Preview',\r\n labelBack: 'Back',\r\n labelPublish: 'Publish',\r\n textPublishConfirmation: 'Are you sure you want to publish the program? After this action, all vouchers will be sent to the specified email addresses and you will not be able to edit anything.'\r\n};\r\nexport default VoucherProgramFormResources;\r\n","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { generatePath } from 'react-router';\r\nimport ErrorSummary from '../../../components/ErrorSummary/ErrorSummary';\r\nimport InfoBox from '../../../components/InfoBox/InfoBox';\r\nimport Button from '../../../components/controls/Button';\r\nimport Table from '../../../components/InfoBox/Table';\r\nimport UploadRecipientsForm from '../UploadRecipientsForm/UploadRecipientsForm';\r\nimport selectors from './recipientsListSelectors';\r\nimport ReactSrcDocIframe from 'react-srcdoc-iframe';\r\nimport {\r\n uploadRecipients,\r\n getVouchers,\r\n previewVoucherEmail,\r\n setIsPublishPopupVisible,\r\n publishVoucherProgram,\r\n checkVoucherProgramPublished,\r\n setRecipientsFileContentValidationErrors,\r\n setIsPreviewPopupVisible\r\n} from './recipientsListActions';\r\nimport recipientsListResources from './recipientsListResources';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport ConfirmPopup from '../../../components/Popups/ConfirmAlert/ConfirmPopup';\r\nimport IconButton from '../../../components/IconButton/IconButton';\r\nimport routes from '../../../routing/routes';\r\nimport CustomPopup from '../../../components/Popups/CustomPopup/CustomPopup';\r\nimport './_recipients.scss';\r\n\r\nfunction RecipientsList({ match, history, isLoading,\r\n uploadRecipients, recipientsFile, recipientsFileContentValidationErrors,\r\n vouchers, getVouchers, previewVoucherEmail,\r\n voucherEmailPeview, isPublishPopupVisible,\r\n setIsPublishPopupVisible, publishVoucherProgram, checkVoucherProgramPublished,\r\n isVoucherProgramPublished, setRecipientsFileContentValidationErrors, recipientMetaDataDictionary,\r\n hasVouchers, isPreviewPopupVisible, setIsPreviewPopupVisible, isEmailPreviewLoading }) {\r\n useEffect(() => {\r\n setRecipientsFileContentValidationErrors([]);\r\n }, []);\r\n useEffect(() => {\r\n checkVoucherProgramPublished(match.params.voucherProgramId);\r\n getVouchers(match.params.voucherProgramId);\r\n previewVoucherEmail(match.params.voucherProgramId);\r\n }, [match.params.voucherProgramId]);\r\n const uploadRecipientsHandler = (formData) => {\r\n uploadRecipients(match.params.voucherProgramId, formData.toJS().recipientsFile[0])\r\n .then(() => {\r\n getVouchers(match.params.voucherProgramId);\r\n previewVoucherEmail(match.params.voucherProgramId);\r\n });\r\n };\r\n const previewHandler = () => {\r\n setIsPreviewPopupVisible(true);\r\n };\r\n const closePopupHandler = () => {\r\n setIsPreviewPopupVisible(false);\r\n };\r\n const columns = [\r\n {\r\n Header: recipientsListResources.columnNameVoucherCode,\r\n accessor: 'code',\r\n },\r\n {\r\n Header: recipientsListResources.columnNameEmailAddress,\r\n accessor: 'recipientEmail',\r\n },\r\n ];\r\n for (const key in recipientMetaDataDictionary) {\r\n columns.push({\r\n Header: key,\r\n accessor: key\r\n });\r\n }\r\n columns.push({\r\n Header: recipientsListResources.columnNameStatus,\r\n accessor: 'status',\r\n });\r\n columns.push({\r\n Header: recipientsListResources.columnNameFacilityID,\r\n accessor: 'facilityIDNumber',\r\n });\r\n columns.push({\r\n Header: recipientsListResources.columnNameFacilityName,\r\n accessor: 'facilityName',\r\n });\r\n columns.push({\r\n Header: recipientsListResources.columnNameFacilityManagerName,\r\n accessor: 'redeemedBy',\r\n });\r\n columns.push({\r\n Header: recipientsListResources.columnNameRedemptionDate,\r\n accessor: 'redeemedOn',\r\n });\r\n const publishVoucherProgramHandler = () => {\r\n publishVoucherProgram(match.params.voucherProgramId).then(() => {\r\n checkVoucherProgramPublished(match.params.voucherProgramId);\r\n });\r\n };\r\n const showPublishPopup = () => {\r\n setIsPublishPopupVisible(true);\r\n };\r\n const hidePublishPopup = () => {\r\n setIsPublishPopupVisible(false);\r\n };\r\n return <>\r\n {isLoading ?\r\n (\r\n \r\n )\r\n : (
    \r\n

    {recipientsListResources.headerRecipients}

    \r\n \r\n { history.push(generatePath(routes.voucherProgramsEdit.path, match.params)); }} text={recipientsListResources.labelBack}\r\n icon={'arrow_back'}\r\n />\r\n {!isVoucherProgramPublished &&
    \r\n \r\n \r\n
    }\r\n
    \r\n
    \r\n }\r\n title={recipientsListResources.labelPreview}\r\n onCancel={closePopupHandler}\r\n isLoading={isEmailPreviewLoading}\r\n closeOnClickOutside\r\n />\r\n {recipientsListResources.textPublishConfirmation}}\r\n onConfirm={publishVoucherProgramHandler}\r\n onCancel={hidePublishPopup}\r\n />\r\n
    \r\n
    \r\n \r\n {recipientsListResources.labelPreview}\r\n \r\n
    \r\n {!isVoucherProgramPublished &&
    \r\n \r\n {recipientsListResources.labelPublish}\r\n \r\n
    }\r\n
    \r\n \r\n \r\n )};\r\n}\r\n\r\nRecipientsList.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n match: PropTypes.object.isRequired,\r\n history: PropTypes.object.isRequired,\r\n uploadRecipients: PropTypes.func.isRequired,\r\n getVouchers: PropTypes.func.isRequired,\r\n previewVoucherEmail: PropTypes.func.isRequired,\r\n vouchers: PropTypes.object.isRequired,\r\n recipientsFileContentValidationErrors: PropTypes.object.isRequired,\r\n voucherEmailPeview: PropTypes.string,\r\n isPublishPopupVisible: PropTypes.bool.isRequired,\r\n setIsPublishPopupVisible: PropTypes.func.isRequired,\r\n publishVoucherProgram: PropTypes.func.isRequired,\r\n isVoucherProgramPublished: PropTypes.bool.isRequired,\r\n setRecipientsFileContentValidationErrors: PropTypes.func.isRequired,\r\n recipientMetaDataDictionary: PropTypes.object.isRequired,\r\n hasVouchers: PropTypes.bool.isRequired,\r\n isPreviewPopupVisible: PropTypes.bool.isRequired,\r\n setIsPreviewPopupVisible: PropTypes.func.isRequired,\r\n isEmailPreviewLoading: PropTypes.bool.isRequired,\r\n};\r\n\r\nconst actions = {\r\n uploadRecipients,\r\n getVouchers,\r\n previewVoucherEmail,\r\n setIsPublishPopupVisible,\r\n publishVoucherProgram,\r\n checkVoucherProgramPublished,\r\n setRecipientsFileContentValidationErrors,\r\n setIsPreviewPopupVisible\r\n};\r\n\r\nexport default connect(selectors, actions)(RecipientsList);\r\n","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\nimport { replaceRouteParams } from '../../../utilities/routeHelper';\r\nimport { MULTIPART_FORM_DATA } from '../../../constants/contentTypes';\r\n\r\nexport function getVouchers(voucherProgramID) {\r\n return http.get(replaceRouteParams(API_PATHS.getVoucherProgramVouchers, voucherProgramID));\r\n}\r\n\r\nexport function uploadRecipients(voucherProgramId, recipientsFile) {\r\n const formData = new FormData();\r\n formData.append('recipientsFile', recipientsFile);\r\n const config = {\r\n headers: {\r\n 'content-type': MULTIPART_FORM_DATA\r\n },\r\n params: { voucherProgramId }\r\n };\r\n return http.post(API_PATHS.uploadRecipients, formData, config);\r\n}\r\n\r\nexport function previewVoucherEmail(voucherProgramId) {\r\n return http.get(replaceRouteParams(API_PATHS.previewVoucherEmail, voucherProgramId));\r\n}\r\n\r\nexport function publishVoucherProgram(voucherProgramID) {\r\n return http.put(replaceRouteParams(API_PATHS.publishVoucherProgram, voucherProgramID));\r\n}\r\n\r\nexport function checkVoucherProgramPublished(voucherProgramID) {\r\n return http.get(replaceRouteParams(API_PATHS.checkVoucherProgramPublished, voucherProgramID));\r\n}\r\n","import { createSelector } from 'reselect';\r\n\r\nconst getFacility = state => state.facilityReducer.get('facility');\r\n\r\nconst getFacilityDescription = createSelector(\r\n [getFacility],\r\n (facility) => {\r\n return facility.get('description');\r\n }\r\n);\r\n\r\nconst getFacilityAFNumber = createSelector(\r\n [getFacility],\r\n (facility) => {\r\n return facility.get('afNumber');\r\n }\r\n);\r\n\r\nconst getIsLoading = createSelector(\r\n [ getFacilityDescription,\r\n getFacilityAFNumber\r\n ],\r\n (\r\n facilityDescription,\r\n facilityAFNumber\r\n ) => (\r\n !facilityDescription || !facilityAFNumber\r\n ));\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n getFacilityDescription,\r\n getFacilityAFNumber\r\n ],\r\n (\r\n isLoading,\r\n facilityDescription,\r\n facilityAFNumber\r\n ) => (\r\n {\r\n isLoading,\r\n facilityDescription,\r\n facilityAFNumber\r\n }));\r\n\r\n","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport LegalContract from '../LegalContract/LegalContract';\r\nimport selectors from './staffLegalContractPageSelectors';\r\nimport { connect } from 'react-redux';\r\nimport { getMemberFacility } from '../../../Facilities/facilityActions';\r\nimport Spinner from '../../../../components/Spinner/Spinner';\r\n\r\nfunction StaffLegalContractPage({\r\n isLoading,\r\n match,\r\n getMemberFacility,\r\n facilityDescription,\r\n facilityAFNumber }) {\r\n useEffect(() => {\r\n getMemberFacility(match.params.memberIdGuid);\r\n }, [match.params.memberIdGuid]);\r\n return isLoading\r\n ? \r\n :
    \r\n \r\n
    ;\r\n}\r\n\r\nStaffLegalContractPage.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n match: PropTypes.object.isRequired,\r\n getMemberFacility: PropTypes.func.isRequired,\r\n facilityDescription: PropTypes.string,\r\n facilityAFNumber: PropTypes.string\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getMemberFacility\r\n};\r\n\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default connectStateToProps(StaffLegalContractPage);","import { createSelector } from 'reselect';\r\n\r\nconst getRoutes = (state, props) => {\r\n return props.currentRoute.routes;\r\n};\r\n\r\nexport default createSelector(\r\n [\r\n getRoutes,\r\n ],\r\n filteredRoutes => ({\r\n filteredRoutes,\r\n })\r\n);\r\n","import React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport { Switch, Redirect } from 'react-router-dom';\r\nimport selectors from './facilityManagerAreaSelectors';\r\nimport { routeType } from '../../routing/routes';\r\nimport CustomRoute from '../../layouts/CustomRoute';\r\n\r\nfunction FacilityManagerArea({ currentRoute, filteredRoutes }) {\r\n return
    \r\n \r\n {filteredRoutes.map((route, i) => (\r\n \r\n ))}\r\n\r\n \r\n \r\n
    ;\r\n};\r\n\r\nFacilityManagerArea.propTypes = {\r\n currentRoute: routeType.isRequired,\r\n filteredRoutes: PropTypes.arrayOf(routeType)\r\n};\r\n\r\nexport default connect(selectors)(FacilityManagerArea);\r\n","import React from 'react';\r\nimport { Redirect, Switch } from 'react-router-dom';\r\nimport CustomRoute from '../../../layouts/CustomRoute';\r\nimport { routeType } from '../../../routing/routes';\r\n\r\nfunction GuestArea({ currentRoute }) {\r\n return \r\n {currentRoute.routes.map((route, i) => (\r\n \r\n ))}\r\n \r\n ;\r\n}\r\n\r\nGuestArea.propTypes = {\r\n currentRoute: routeType,\r\n};\r\n\r\nexport default GuestArea;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styles from './_text-section.module.scss';\r\nimport classNames from 'classnames';\r\n\r\nfunction TextSection({ title, text, theme }) {\r\n return (\r\n
    \r\n

    \r\n {title}\r\n

    \r\n {text\r\n ?\r\n
    \r\n {text}\r\n
    \r\n :\r\n <>\r\n }\r\n
    \r\n );\r\n}\r\nTextSection.propTypes = {\r\n title: PropTypes.element.isRequired,\r\n text: PropTypes.string,\r\n theme: PropTypes.string\r\n};\r\n\r\nexport default TextSection;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styles from './_metrics-section.module.scss';\r\nimport TextSection from '../TextSection/TextSection';\r\n\r\nfunction MetricsSection({ header, description, children, columns }) {\r\n return
    \r\n \r\n
      \r\n {children}\r\n
    \r\n
    ;\r\n}\r\n\r\nMetricsSection.defaultProps = {\r\n columns: 3\r\n};\r\n\r\nMetricsSection.propTypes = {\r\n header: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,\r\n description: PropTypes.string.isRequired,\r\n children: PropTypes.arrayOf(PropTypes.node).isRequired,\r\n columns: PropTypes.number\r\n};\r\n\r\nexport default MetricsSection;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styles from './_metrics-section.module.scss';\r\n\r\nfunction MetricsSectionItem({ header, description }) {\r\n return
  • \r\n

    {header}

    \r\n
    {description}
    \r\n
  • ;\r\n}\r\n\r\nMetricsSectionItem.propTypes = {\r\n header: PropTypes.string.isRequired,\r\n description: PropTypes.string.isRequired\r\n};\r\n\r\nexport default MetricsSectionItem;","import React from 'react';\r\nimport styles from './_section-divider.module.scss';\r\n\r\nfunction SectionsDivider() {\r\n return
    ;\r\n}\r\n\r\nexport default SectionsDivider;","const solutionsSectionResources = {\r\n linkLearnMore: 'Learn more'\r\n};\r\nexport default solutionsSectionResources;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport MaterialIcon from '../MaterialIcon/MaterialIcon';\r\nimport solutionsSectionResources from './solutionsSectionResources';\r\nimport CustomLink from '../controls/CustomLink';\r\nimport styles from './_solutions-section.module.scss';\r\n\r\nfunction SolutionsSectionItem({ materialIconName, header, description, linkPath, isExternalLink }) {\r\n return
  • \r\n \r\n

    {header}

    \r\n
    {description}
    \r\n {linkPath\r\n ?
    \r\n
    \r\n \r\n {solutionsSectionResources.linkLearnMore}\r\n \r\n \r\n
    \r\n :\r\n <>\r\n }\r\n
  • ;\r\n}\r\n\r\nSolutionsSectionItem.propTypes = {\r\n materialIconName: PropTypes.string.isRequired,\r\n header: PropTypes.string.isRequired,\r\n description: PropTypes.string,\r\n linkPath: PropTypes.string,\r\n isExternalLink: PropTypes.bool\r\n};\r\n\r\nexport default SolutionsSectionItem;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styles from './_solutions-section.module.scss';\r\nimport TextSection from '../TextSection/TextSection';\r\n\r\nfunction SolutionsSection({ headerTheme, header, description, children }) {\r\n return
    \r\n
    \r\n \r\n
    \r\n
      \r\n {children}\r\n
    \r\n
    ;\r\n}\r\n\r\nSolutionsSection.propTypes = {\r\n headerTheme: PropTypes.string,\r\n header: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,\r\n description: PropTypes.string,\r\n children: PropTypes.arrayOf(PropTypes.node).isRequired\r\n};\r\n\r\nexport default SolutionsSection;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport MaterialIcon from '../../MaterialIcon/MaterialIcon';\r\nimport classNames from 'classnames';\r\nimport styles from '../_slider.module.scss';\r\n\r\nfunction CustomArrow({ className, icon, onClick }) {\r\n return (\r\n
    \r\n \r\n
    \r\n );\r\n}\r\n\r\nCustomArrow.propTypes = {\r\n onClick: PropTypes.func,\r\n className: PropTypes.string,\r\n icon: PropTypes.string.isRequired\r\n};\r\n\r\nexport default CustomArrow;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport CustomArrow from './CustomArrow';\r\nimport styles from '../_slider.module.scss';\r\n\r\nfunction NextArrow(props) {\r\n return (\r\n \r\n );\r\n}\r\n\r\nNextArrow.propTypes = {\r\n onClick: PropTypes.func\r\n};\r\n\r\nexport default NextArrow;","import React from 'react';\r\nimport CustomArrow from './CustomArrow';\r\nimport PropTypes from 'prop-types';\r\nimport styles from '../_slider.module.scss';\r\n\r\nfunction PrevArrow(props) {\r\n return (\r\n \r\n );\r\n}\r\n\r\nPrevArrow.propTypes = {\r\n onClick: PropTypes.func\r\n};\r\nexport default PrevArrow;","import React from 'react';\r\nimport styles from './_slider.module.scss';\r\n\r\nfunction CustomPaging(index) {\r\n const buttonId = `slider_${index}`;\r\n const dotSpanText = `Go to slide ${index + 1}`;\r\n\r\n function onClickHandler(e) {\r\n Array.from(document.getElementsByName('customDot')).forEach(\r\n function(element, index, array) {\r\n element.setAttribute('aria-current', 'false');\r\n }\r\n );\r\n\r\n e.currentTarget.setAttribute('aria-current', 'true');\r\n };\r\n\r\n return (\r\n
    \r\n \r\n
    \r\n );\r\n}\r\n\r\nexport default CustomPaging;","import React, { useEffect } from 'react';\r\nimport NextArrow from '../Slider/CustomArrow/NextArrow';\r\nimport PrevArrow from '../Slider/CustomArrow/PrevArrow';\r\nimport CustomPaging from '../Slider/CustomPaging';\r\nimport 'slick-carousel/slick/slick.css';\r\nimport 'slick-carousel/slick/slick-theme.css';\r\nimport styles from './_testimonial-section.module.scss';\r\nimport sliderStyles from '../Slider/_slider.module.scss';\r\nimport Slider from 'react-slick';\r\nimport PropTypes from 'prop-types';\r\n\r\nfunction TestimonialSection({ header, children }) {\r\n useEffect(() => {\r\n const activeDot = document.getElementById('slider_0');\r\n\r\n activeDot.setAttribute('aria-current', 'true');\r\n }, []);\r\n\r\n return (\r\n
    \r\n

    {header}

    \r\n
    \r\n

    This is a carousel. Use Next and Previous buttons to navigate, or jump to a slide with the slide dots.

    \r\n
    \r\n }\r\n prevArrow={}\r\n dots\r\n speed={400}\r\n dotsClass={`${sliderStyles['custom-slick-dots']} ${styles['testimonial-section__custom-slick-dots']}`}\r\n customPaging={CustomPaging}\r\n accessibility\r\n >\r\n {children}\r\n \r\n
    \r\n
    \r\n );\r\n}\r\n\r\nTestimonialSection.propTypes = {\r\n header: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\r\n children: PropTypes.arrayOf(PropTypes.node)\r\n};\r\n\r\nexport default TestimonialSection;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport QuotesIcon from '../../assets/icons/quotes.svg';\r\nimport styles from './_testimonial-section.module.scss';\r\n\r\nfunction TestimonialSectionItem({ name, description, logoName, position, logoAlt, ariaLabel }) {\r\n return (\r\n
    \r\n
    \r\n
    \r\n \"\"\r\n
    \r\n
    \r\n
    \r\n {description}\r\n
    \r\n
    \r\n {(name || position) &&
    \r\n {name &&
    \r\n {name}\r\n
    }\r\n {position &&
    \r\n {position}\r\n
    }\r\n
    }\r\n {logoName &&
    \r\n {logoAlt}\r\n
    }\r\n
    \r\n
    \r\n
    \r\n );\r\n}\r\n\r\nTestimonialSectionItem.propTypes = {\r\n name: PropTypes.string,\r\n description: PropTypes.string.isRequired,\r\n logoName: PropTypes.string,\r\n position: PropTypes.string,\r\n logoAlt: PropTypes.string,\r\n ariaLabel: PropTypes.string.isRequired,\r\n};\r\n\r\nexport default TestimonialSectionItem;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styles from './_call-to-action.module.scss';\r\n\r\nfunction CallToAction(props) {\r\n return (\r\n
    \r\n {props.children}\r\n
    \r\n );\r\n}\r\n\r\nCallToAction.defaultProps = {\r\n theme: 'right-image'\r\n};\r\n\r\nCallToAction.propTypes = {\r\n children: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),\r\n theme: PropTypes.string\r\n};\r\n\r\nexport default CallToAction;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport Button from '../controls/Button';\r\nimport styles from './_call-to-action.module.scss';\r\n\r\nfunction CallToActionBody({ title, subtitle, description, buttonText, buttonClickHandler, columns }) {\r\n return (\r\n
    \r\n
    \r\n {subtitle &&

    \r\n {subtitle}\r\n

    }\r\n

    \r\n {title}\r\n

    \r\n
    \r\n
    \r\n
    \r\n {description}\r\n
    \r\n {buttonClickHandler &&
    \r\n \r\n
    }\r\n
    \r\n
    \r\n );\r\n}\r\n\r\nCallToActionBody.defaultProps = {\r\n columns: 1\r\n};\r\n\r\nCallToActionBody.propTypes = {\r\n subtitle: PropTypes.string,\r\n title: PropTypes.element.isRequired,\r\n description: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,\r\n buttonText: PropTypes.string,\r\n buttonClickHandler: PropTypes.func,\r\n columns: PropTypes.number\r\n};\r\n\r\nexport default CallToActionBody;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport Image from '../Image/Image';\r\nimport styles from './_call-to-action.module.scss';\r\n\r\nfunction CallToActionImage({ image, imageAlt, imageClassName }) {\r\n return (\r\n
    \r\n \r\n
    \r\n );\r\n}\r\n\r\nCallToActionImage.propTypes = {\r\n image:PropTypes.string.isRequired,\r\n imageAlt:PropTypes.string.isRequired,\r\n imageClassName:PropTypes.string.isRequired\r\n};\r\n\r\nexport default CallToActionImage;\r\n","const guestAreaSharedResources = {\r\n contactUsDescriptionText: 'Everyone’s wellness journey is different, and our Healthy Contributions Customer Support is with you 24/7. Our goal is to ensure no wellness goal is left unattained or questions left unanswered. If at any time you have questions, need platform help or additional information, contact our Healthy Contributions Customer Support team at any time.',\r\n contactUsButtonText: 'CONTACT US',\r\n contactUsTitle: 'Your wellness journey with Healthy Contributions is designed to be your way',\r\n callToActionSubtitle: 'Wellness. Rewarded.',\r\n signUpButtonText: 'Sign Up',\r\n requestDemoButtonText: 'Request Demo',\r\n requestDemoDescriptionText: 'See how Healthy Contributions helps employers, health insurers and partners engage and activate members to participate in wellness programs and reward healthy behaviors to change lives for better health.',\r\n activateKeyFobButtonText: 'Activate Your AF Group Membership',\r\n groupYogaImageAlt: 'Group Yoga',\r\n grandmaGrandDaughterDancingImageAlt: 'Grandmother Granddaughter Dancing',\r\n fitnessGroupImageAlt: 'Fitness Group',\r\n fitnessParkImageAlt: 'Fitness in the Park',\r\n fitnessHrImageAlt: 'Work Meeting',\r\n firefighterImageAlt: 'Firefighter',\r\n healthVisitImageAlt: 'Healthcare Visit',\r\n workoutImageAlt: 'Gym Workout',\r\n groupFitnessDumbellImageAlt: 'Group Fitness with Dumbell',\r\n motherDaughterSwimImageAlt: 'Mother Daughter Swimming',\r\n tubeFloatingImageAlt: 'Floating in Tube'\r\n};\r\nexport default guestAreaSharedResources;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport routes from '../../../../routing/routes';\r\nimport CallToAction from '../../../../components/CallToAction/CallToAction';\r\nimport CallToActionBody from '../../../../components/CallToAction/CallToActionBody';\r\nimport guestAreaSharedResources from '../guestAreaSharedResources';\r\n\r\nfunction ContactUsSection(props) {\r\n function contactUsHandler() {\r\n if (props.history) {\r\n props.history.push(routes.contactUs.path);\r\n return;\r\n }\r\n window.location = window.location.origin;\r\n };\r\n return
    \r\n \r\n {props.title || guestAreaSharedResources.contactUsTitle}}\r\n buttonClickHandler={contactUsHandler}\r\n />\r\n {props.children}\r\n \r\n
    ;\r\n};\r\n\r\nContactUsSection.propTypes = {\r\n children: PropTypes.object,\r\n history: PropTypes.object.isRequired,\r\n title: PropTypes.string\r\n};\r\n\r\nexport default ContactUsSection;\r\n","export const OPTUM_ALT_TAG = 'Optum';\r\nexport const FITON_HEALTH_ALT_TAG = 'FitOn Health';\r\nexport const ASH_ALT_TAG = 'American Specialty Health';\r\nexport const CORVALLIS_ALT_TAG = 'Corvallis';\r\nexport const UCARE_ALT_TAG = 'UCare';\r\nexport const AVERA_ALT_TAG = 'Avera';\r\nexport const HEALTHPARTNERS_ALT_TAG = 'HealthPartners';\r\nexport const TIVITY_ALT_TAG = 'Tivity';\r\nexport const ANYTIME_FITNESS_ALT_TAG = 'Anytime Fitness';\r\nexport const GOLDS_ALT_TAG = 'Gold\\'s Gym';\r\nexport const BAR_METHOD_ALT_TAG = 'The Bar Method';\r\nexport const TEN_GYM_ALT_TAG = '10 Gym';\r\nexport const KROC_CENTER_ALT_TAG = 'Kroc Center';\r\nexport const FRUITA_ALT_TAG = 'Fruita';\r\n\r\nexport const GYM_PARTNER_IMAGES = [{ imageName: 'anytimeFitness', alt: ANYTIME_FITNESS_ALT_TAG, link: 'https://www.anytimefitness.com/' }, { imageName: 'gold', alt: GOLDS_ALT_TAG, link: 'https://www.goldsgym.com/' }, { imageName: 'barMethod', alt: BAR_METHOD_ALT_TAG, link: 'https://barmethod.com/' }, { imageName: 'ten', alt: TEN_GYM_ALT_TAG, link: 'https://10gym.com/' }, { imageName: 'kroc', alt: KROC_CENTER_ALT_TAG, link: 'https://www.kroccda.org/kroc-cda/' }, { imageName: 'fruita', alt: FRUITA_ALT_TAG, link: 'https://www.fruita.org/parksrec' }];\r\nexport const MEDICAL_PARTNER_IMAGES = [{ imageName: 'ucare', alt: UCARE_ALT_TAG, link: 'https://www.ucare.org/' }, { imageName: 'avera', alt: AVERA_ALT_TAG, link: 'https://www.avera.org/' }, { imageName: 'healthpartners', alt: HEALTHPARTNERS_ALT_TAG, link: 'https://www.healthpartners.com/' }, { imageName: 'fitOnLarge', alt: FITON_HEALTH_ALT_TAG, link: 'https://www.fitonhealth.com/' }, { imageName: 'tivity', alt: TIVITY_ALT_TAG, link: 'https://www.tivityhealth.com/' }];\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Helmet } from 'react-helmet';\r\nimport Head from 'next/head';\r\nimport { GOOGLE_SEO_TAG, BING_SEO_TAG } from '../../constants/seo';\r\nimport { isServer } from '../../utilities/next';\r\n\r\nfunction MetaData({ keywords, title, description }) {\r\n const metaTags = [\r\n ,\r\n ,\r\n ,\r\n ,\r\n \r\n ];\r\n return isServer() ?\r\n {metaTags}\r\n : {metaTags};\r\n}\r\n\r\nMetaData.propTypes = {\r\n keywords: PropTypes.string,\r\n title: PropTypes.string,\r\n description: PropTypes.string\r\n};\r\n\r\nexport default MetaData;\r\n","export const GOOGLE_SEO_TAG = 'jKteFe9v46zuYwxMBOI0rP5PB5Ope9td-Kj_SP1O280';\r\nexport const BING_SEO_TAG = 'B210BEFE44C3BC2CB0AEE1325BDC4DE0';\r\n","import { HEALTHY_CONTRIBUTIONS_NAME } from '../../constants/companyNames';\r\n\r\nexport default {\r\n formatPageTitle: (title) => {\r\n return `${title} | ${HEALTHY_CONTRIBUTIONS_NAME}`;\r\n }\r\n};","const homeResources = {\r\n title: 'Employee Wellness Programs',\r\n};\r\nexport default homeResources;","import React, { useEffect } from 'react';\r\nimport MetricsSection from '../../../../components/MetricsSection/MetricsSection';\r\nimport MetricsSectionItem from '../../../../components/MetricsSection/MetricsSectionItem';\r\nimport SectionsDivider from '../../../../components/SectionsDivider/SectionsDivider';\r\nimport SolutionsSectionItem from '../../../../components/SolutionsSection/SolutionsSectionItem';\r\nimport SolutionsSection from '../../../../components/SolutionsSection/SolutionsSection';\r\nimport routes from '../../../../routing/routes';\r\nimport TestimonialSection from '../../../../components/TestimonialSection/TestimonialSection';\r\nimport TestimonialSectionItem from '../../../../components/TestimonialSection/TestimonialSectionItem';\r\nimport optum from '../../../../assets/images/optum.svg';\r\nimport fitonhealth from '../../../../assets/images/FitOn-Health-logo.png';\r\nimport CallToAction from '../../../../components/CallToAction/CallToAction';\r\nimport CallToActionBody from '../../../../components/CallToAction/CallToActionBody';\r\nimport CallToActionImage from '../../../../components/CallToAction/CallToActionImage';\r\nimport guestAreaSharedResources from '../guestAreaSharedResources';\r\nimport { API_PATHS } from '../../../../http/configs';\r\nimport ash from '../../../../assets/images/ash.svg';\r\nimport PropTypes from 'prop-types';\r\nimport ContactUsSection from '../ContactUs/ContactUsSection';\r\nimport { ASH_ALT_TAG, OPTUM_ALT_TAG, FITON_HEALTH_ALT_TAG } from '../../../../constants/partnerImageGroups';\r\nimport MetaData from '../../../../components/MetaData/MetaData';\r\nimport { HEALTHY_CONTRIBUTIONS_NAME } from '../../../../constants/companyNames';\r\nimport { HC_PHONE_NUMBER } from '../../../../constants/phones';\r\nimport styles from '../../../../styles/_public-page.module.scss';\r\nimport pageTitleFormatter from '../../../../utilities/formatters/pageTitleFormatter';\r\nimport resources from './homeResources';\r\n\r\nfunction Home({ history }) {\r\n function joinUsHandler() {\r\n window.location = API_PATHS.calendlyUrl;\r\n };\r\n\r\n useEffect(() => {\r\n document.title = pageTitleFormatter.formatPageTitle(resources.title);\r\n }, []);\r\n\r\n return
    \r\n \r\n \r\n Improving health, one wellness program at a time}\r\n description={guestAreaSharedResources.requestDemoDescriptionText}\r\n buttonText={guestAreaSharedResources.requestDemoButtonText}\r\n buttonClickHandler={joinUsHandler}\r\n />\r\n \r\n \r\n \r\n Making it easy to live a healthy lifestyle}\r\n description=\"No other provider combines both wellness and data expertise, resulting in superior solutions that help people live healthier lives.\"\r\n >\r\n \r\n \r\n \r\n \r\n \r\n Wellness solutions for Everyone}\r\n description=\"Healthy Contributions has helped over 20,000+ fitness facilities and wellness partners create, implement, and sustain wellness programs that help people live healthier lives.\"\r\n headerTheme=\"column-on-large-screen\"\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n What sets
    Healthy Contributions apart}>\r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    ;\r\n}\r\n\r\nHome.propTypes = {\r\n history: PropTypes.object.isRequired\r\n};\r\n\r\nexport default Home;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styles from './_partner-section.module.scss';\r\n\r\nfunction PartnersSection({ header, children }) {\r\n return
    \r\n

    {header}

    \r\n
      \r\n {children}\r\n
    \r\n
    ;\r\n}\r\n\r\nPartnersSection.propTypes = {\r\n header: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,\r\n children: PropTypes.arrayOf(PropTypes.node).isRequired\r\n};\r\n\r\nexport default PartnersSection;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport Image from '../Image/Image';\r\nimport styles from './_partner-section.module.scss';\r\n\r\nfunction PartnersSectionItem({ imageObject, alt, link }) {\r\n const image = ;\r\n return
  • \r\n {link ? {image} :
    {image}
    }\r\n
  • ;\r\n}\r\n\r\nPartnersSectionItem.propTypes = {\r\n imageObject: PropTypes.string.isRequired,\r\n alt: PropTypes.string.isRequired,\r\n link: PropTypes.string\r\n};\r\n\r\nexport default PartnersSectionItem;","const forFacilitiesResources = {\r\n title: 'For Facilities',\r\n};\r\nexport default forFacilitiesResources;","import React, { useEffect } from 'react';\r\nimport MetricsSection from '../../../../components/MetricsSection/MetricsSection';\r\nimport MetricsSectionItem from '../../../../components/MetricsSection/MetricsSectionItem';\r\nimport SectionsDivider from '../../../../components/SectionsDivider/SectionsDivider';\r\nimport PartnersSection from '../../../../components/PartnerSection/PartnersSection';\r\nimport PartnersSectionItem from '../../../../components/PartnerSection/PartnersSectionItems';\r\nimport CallToAction from '../../../../components/CallToAction/CallToAction';\r\nimport CallToActionBody from '../../../../components/CallToAction/CallToActionBody';\r\nimport CallToActionImage from '../../../../components/CallToAction/CallToActionImage';\r\nimport guestAreaSharedResources from '../guestAreaSharedResources';\r\nimport { API_PATHS } from '../../../../http/configs';\r\nimport TestimonialSection from '../../../../components/TestimonialSection/TestimonialSection';\r\nimport TestimonialSectionItem from '../../../../components/TestimonialSection/TestimonialSectionItem';\r\nimport corvallis from '../../../../assets/images/corvallis.svg';\r\nimport PropTypes from 'prop-types';\r\nimport ContactUsSection from '../ContactUs/ContactUsSection';\r\nimport { GYM_PARTNER_IMAGES, CORVALLIS_ALT_TAG } from '../../../../constants/partnerImageGroups';\r\nimport MetaData from '../../../../components/MetaData/MetaData';\r\nimport { HEALTHY_CONTRIBUTIONS_NAME } from '../../../../constants/companyNames';\r\nimport { HC_PHONE_NUMBER } from '../../../../constants/phones';\r\nimport styles from '../../../../styles/_public-page.module.scss';\r\nimport pageTitleFormatter from '../../../../utilities/formatters/pageTitleFormatter';\r\nimport resources from './forFacilitiesResources';\r\n\r\nfunction ForFacilities({ history }) {\r\n useEffect(() => {\r\n document.title = pageTitleFormatter.formatPageTitle(resources.title);\r\n }, []);\r\n function joinUsHandler() {\r\n window.location = API_PATHS.facilityEnrollment;\r\n };\r\n return
    \r\n \r\n

    {resources.title}

    \r\n \r\n Join Healthy Contributions’ growing fitness facility network }\r\n description={'Our growing network of national partners includes businesses, organizations, health plans, and individuals who share our commitment to improving the health and well-being of their employees, members, and communities. For fitness facilities, our partners benefit from exclusive resources, marketing materials, a dedicated customer support team, and more to help maximize revenue and build their membership base.\\n\\nJoin our wellness community. Getting started is easy!'}\r\n buttonText={guestAreaSharedResources.signUpButtonText}\r\n buttonClickHandler={joinUsHandler}\r\n />\r\n \r\n \r\n \r\n Build your brand and grow your revenue}\r\n description=\"For fitness facilities, as a member of our wellness network you will have access to hard-to-reach employees and health plan members who have wellness dollars to invest in a healthier lifestyle.\"\r\n columns={2}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n Testimonials}>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Our Partners}>\r\n {GYM_PARTNER_IMAGES.map((imageInfo, index) =>\r\n \r\n )\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    ;\r\n}\r\n\r\nForFacilities.propTypes = {\r\n history: PropTypes.object.isRequired\r\n};\r\n\r\nexport default ForFacilities;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styles from './_benefits-section.module.scss';\r\nimport TextSection from '../TextSection/TextSection';\r\n\r\nfunction BenefitsSection({ header, description, children }) {\r\n return
    \r\n
    \r\n \r\n
    \r\n
      \r\n {children}\r\n
    \r\n
    ;\r\n}\r\n\r\nBenefitsSection.propTypes = {\r\n header: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,\r\n description: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,\r\n children: PropTypes.arrayOf(PropTypes.node).isRequired\r\n};\r\n\r\nexport default BenefitsSection;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport MaterialIcon from '../MaterialIcon/MaterialIcon';\r\nimport styles from './_benefits-section.module.scss';\r\n\r\nfunction BenefitsSectionItem({ icon, description }) {\r\n return
  • \r\n \r\n
    \r\n {description}\r\n
    \r\n
  • ;\r\n}\r\n\r\nBenefitsSectionItem.propTypes = {\r\n icon: PropTypes.string.isRequired,\r\n description: PropTypes.string.isRequired\r\n};\r\n\r\nexport default BenefitsSectionItem;","const forEmployersResources = {\r\n title: 'For Employers',\r\n};\r\nexport default forEmployersResources;","import React, { useEffect } from 'react';\r\nimport SectionsDivider from '../../../../components/SectionsDivider/SectionsDivider';\r\nimport SolutionsSectionItem from '../../../../components/SolutionsSection/SolutionsSectionItem';\r\nimport SolutionsSection from '../../../../components/SolutionsSection/SolutionsSection';\r\nimport BenefitsSection from '../../../../components/BenefitsSection/BenefitsSection';\r\nimport BenefitsSectionItem from '../../../../components/BenefitsSection/BenefitsSectionItems';\r\nimport TextSection from '../../../../components/TextSection/TextSection';\r\nimport CallToAction from '../../../../components/CallToAction/CallToAction';\r\nimport CallToActionBody from '../../../../components/CallToAction/CallToActionBody';\r\nimport CallToActionImage from '../../../../components/CallToAction/CallToActionImage';\r\nimport guestAreaSharedResources from '../guestAreaSharedResources';\r\nimport TestimonialSection from '../../../../components/TestimonialSection/TestimonialSection';\r\nimport TestimonialSectionItem from '../../../../components/TestimonialSection/TestimonialSectionItem';\r\nimport optum from '../../../../assets/images/optum.svg';\r\nimport fitonhealth from '../../../../assets/images/FitOn-Health-logo.png';\r\nimport { API_PATHS } from '../../../../http/configs';\r\nimport ash from '../../../../assets/images/ash.svg';\r\nimport PropTypes from 'prop-types';\r\nimport ContactUsSection from '../ContactUs/ContactUsSection';\r\nimport styles from '../../../../styles/_public-page.module.scss';\r\nimport { OPTUM_ALT_TAG, FITON_HEALTH_ALT_TAG, ASH_ALT_TAG } from '../../../../constants/partnerImageGroups';\r\nimport MetaData from '../../../../components/MetaData/MetaData';\r\nimport { HEALTHY_CONTRIBUTIONS_NAME } from '../../../../constants/companyNames';\r\nimport { HC_PHONE_NUMBER } from '../../../../constants/phones';\r\nimport pageTitleFormatter from '../../../../utilities/formatters/pageTitleFormatter';\r\nimport resources from './forEmployersResources';\r\n\r\nfunction ForEmployers({ history }) {\r\n useEffect(() => {\r\n document.title = pageTitleFormatter.formatPageTitle(resources.title);\r\n }, []);\r\n function joinUsHandler() {\r\n window.location = API_PATHS.calendlyUrl;\r\n };\r\n return
    \r\n \r\n

    {resources.title}

    \r\n \r\n Corporate Wellness Programs designed to empower your employees}\r\n description={<>For employers, see how Healthy Contributions helps engage and activate members to participate in wellness programs and reward healthy behaviors to change lives for better health.
    Transform your workplace and increase productivity with a flexible, secure, and HIPPA compliant wellness solution from Healthy Contributions.}\r\n buttonText={guestAreaSharedResources.requestDemoButtonText}\r\n buttonClickHandler={joinUsHandler}\r\n />\r\n \r\n
    \r\n \r\n For employers, help your employees manage their health to manage your costs}\r\n text=\"Create a Healthier Workplace by Engaging Your Employees With Corporate Fitness Programs.\"\r\n theme=\"column-on-large-screen\"\r\n />\r\n \r\n Benefits of having a wellness program}\r\n description=\"Leverage rewards and incentives to activate your employees to participate in wellness programs that positively shape their health outcomes, while simultaneously boosting productivity and lowering healthcare costs.\"\r\n >\r\n \r\n \r\n \r\n \r\n \r\n Customized corporate health and wellness solutions for employers}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n Employer testimonials}>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    ;\r\n}\r\n\r\nForEmployers.propTypes = {\r\n history: PropTypes.object.isRequired\r\n};\r\n\r\nexport default ForEmployers;","const forInsurersResources = {\r\n title: 'For Insurers',\r\n};\r\nexport default forInsurersResources;","import React, { useEffect } from 'react';\r\nimport MetricsSection from '../../../../components/MetricsSection/MetricsSection';\r\nimport MetricsSectionItem from '../../../../components/MetricsSection/MetricsSectionItem';\r\nimport SectionsDivider from '../../../../components/SectionsDivider/SectionsDivider';\r\nimport SolutionsSectionItem from '../../../../components/SolutionsSection/SolutionsSectionItem';\r\nimport SolutionsSection from '../../../../components/SolutionsSection/SolutionsSection';\r\nimport PartnersSection from '../../../../components/PartnerSection/PartnersSection';\r\nimport PartnersSectionItem from '../../../../components/PartnerSection/PartnersSectionItems';\r\nimport TestimonialSection from '../../../../components/TestimonialSection/TestimonialSection';\r\nimport TestimonialSectionItem from '../../../../components/TestimonialSection/TestimonialSectionItem';\r\nimport optum from '../../../../assets/images/optum.svg';\r\nimport fitonhealth from '../../../../assets/images/FitOn-Health-logo.png';\r\nimport CallToAction from '../../../../components/CallToAction/CallToAction';\r\nimport CallToActionBody from '../../../../components/CallToAction/CallToActionBody';\r\nimport CallToActionImage from '../../../../components/CallToAction/CallToActionImage';\r\nimport guestAreaSharedResources from '../guestAreaSharedResources';\r\nimport { API_PATHS } from '../../../../http/configs';\r\nimport ash from '../../../../assets/images/ash.svg';\r\nimport PropTypes from 'prop-types';\r\nimport ContactUsSection from '../ContactUs/ContactUsSection';\r\nimport { MEDICAL_PARTNER_IMAGES, OPTUM_ALT_TAG, FITON_HEALTH_ALT_TAG, ASH_ALT_TAG } from '../../../../constants/partnerImageGroups';\r\nimport MetaData from '../../../../components/MetaData/MetaData';\r\nimport { HEALTHY_CONTRIBUTIONS_NAME } from '../../../../constants/companyNames';\r\nimport { HC_PHONE_NUMBER } from '../../../../constants/phones';\r\nimport styles from '../../../../styles/_public-page.module.scss';\r\nimport pageTitleFormatter from '../../../../utilities/formatters/pageTitleFormatter';\r\nimport resources from './forInsurersResources';\r\n\r\nfunction ForInsurers({ history }) {\r\n useEffect(() => {\r\n document.title = pageTitleFormatter.formatPageTitle(resources.title);\r\n }, []);\r\n function joinUsHandler() {\r\n window.location = API_PATHS.calendlyUrl;\r\n };\r\n return
    \r\n \r\n

    {resources.title}

    \r\n \r\n Improving health, one wellness program at a time}\r\n description={<>{guestAreaSharedResources.requestDemoDescriptionText}

    Be seen as a population health and wellness leader.}\r\n buttonText={guestAreaSharedResources.requestDemoButtonText}\r\n buttonClickHandler={joinUsHandler}\r\n />\r\n \r\n
    \r\n \r\n Give your members the benefit of wellness with insurance-compliant health incentives}\r\n description=\"Healthy Contributions’ solutions are trusted by health plans across the US to provide their customers with secure data processing and wellness solutions.\"\r\n >\r\n \r\n \r\n \r\n \r\n \r\n Health and wellness solutions for Insurers}\r\n description=\"Expand your reach by leveraging Healthy Contributions’ strategic partnerships, proprietary processing digital platform, and growing fitness network to deliver health solutions designed with your members’ health in mind. \"\r\n headerTheme=\"column-on-large-screen\"\r\n >\r\n \r\n \r\n \r\n \r\n Testimonials}>\r\n \r\n \r\n \r\n \r\n \r\n Our Partners}>\r\n {MEDICAL_PARTNER_IMAGES.map((imageInfo, index) =>\r\n \r\n )\r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    ;\r\n}\r\n\r\nForInsurers.propTypes = {\r\n history: PropTypes.object.isRequired\r\n};\r\n\r\nexport default ForInsurers;","import http from '../../http/base';\r\nimport { API_PATHS } from '../../http/configs';\r\n\r\nexport default {\r\n getFacilitiesForMap: async (planIds, programIds, hasGroupMemberships) => await http.get(\r\n `${API_PATHS.getFacilitiesForClubLocatorMap}?hasGroupMemberships=${hasGroupMemberships === true}`,\r\n {\r\n params: {\r\n planIds: planIds && planIds.length > 0 ? planIds : [],\r\n programIds: programIds && programIds.length > 0 ? programIds : [] },\r\n paramsSerializer: { indexes: null }\r\n }\r\n ),\r\n getPlansForMap: () => http.get(API_PATHS.getPlansForClubLocatorMap)\r\n};","const clubLocatorResources = {\r\n labelFitnessFacility: 'Fitness Facility',\r\n labelFitnessClass: 'Fitness Class',\r\n labelFlexInstructor: 'Flex Instructor',\r\n placeholderSearch: 'Search',\r\n nominateDescription: 'Didn’t find the club you were looking for?',\r\n buttonText: 'NOMINATE A CLUB',\r\n groupMembershipsOptionText: 'Group Memberships',\r\n};\r\nexport default clubLocatorResources;","import { createSelector } from 'reselect';\r\nimport { GET_FACILITIES_FOR_MAP } from './clubLocatorSectionTypes';\r\n\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i => i === GET_FACILITIES_FOR_MAP\r\n ).size;\r\n return size > 0;\r\n};\r\n\r\nconst getFacilities = state => state.clubLocatorSectionReducer.get('facilities');\r\nconst getPlansFilters = state => state.plansFilterReducer.get('plansFilters');\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n getFacilities,\r\n getPlansFilters\r\n ],\r\n (isLoading, facilities, checkedPlans) => ({\r\n isLoading,\r\n facilities,\r\n checkedPlans\r\n })\r\n);\r\n","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { generatePath } from 'react-router-dom';\r\nimport Spinner from '../../components/Spinner/Spinner';\r\nimport FacilityLocatorMap from '../../features/MemberArea/Dashboard/FacilityLocator/FacilityLocatorMap/FacilityLocatorMap';\r\nimport { connect } from 'react-redux';\r\nimport BulletCaption from '../BulletCaption/BulletCaption';\r\nimport { getFacilitiesForMap, getPlansForMap } from './clubLocatorSectionActions';\r\nimport selectors from './clubLocatorSectionSelectors';\r\nimport clubLocatorResources from './clubLocatorSectionResources';\r\nimport './_club-locator-section.scss';\r\nimport Button from '../../components/controls/Button';\r\nimport routes from '../../routing/routes';\r\n\r\nfunction ClubLocatorSection({ header, history, isLoading, getFacilitiesForMap, facilities, getPlansForMap, checkedPlans }) {\r\n useEffect(() => {\r\n getFacilitiesForMap();\r\n getPlansForMap();\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (checkedPlans && checkedPlans.size > 0) {\r\n getFacilitiesForMap(checkedPlans.toJS());\r\n }\r\n }, [checkedPlans]);\r\n\r\n const nominateHandler = () => {\r\n history.push(\r\n generatePath(routes.nominateClub.path)\r\n );\r\n };\r\n return
    \r\n {isLoading ?\r\n
    \r\n \r\n
    \r\n : <>\r\n }\r\n
    \r\n

    \r\n {header}\r\n

    \r\n
      \r\n
    • \r\n \r\n
    • \r\n
    • \r\n \r\n
    • \r\n
    • \r\n \r\n
    • \r\n
    \r\n
    \r\n \r\n
    \r\n

    \r\n {clubLocatorResources.nominateDescription}\r\n

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    ;\r\n}\r\n\r\nClubLocatorSection.propTypes = {\r\n header: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,\r\n isLoading: PropTypes.bool.isRequired,\r\n getFacilitiesForMap: PropTypes.func.isRequired,\r\n facilities: PropTypes.object,\r\n history: PropTypes.object.isRequired,\r\n getPlansForMap: PropTypes.func.isRequired,\r\n checkedPlans: PropTypes.object\r\n};\r\n\r\nexport default connect(selectors, { getFacilitiesForMap, getPlansForMap })(ClubLocatorSection);\r\n","import * as types from './clubLocatorSectionTypes';\r\nimport clubLocatorSectionService from './clubLocatorSectionService';\r\nimport * as loadingActions from '../../features/Loading/loadingActions';\r\nimport clubLocatorResources from './clubLocatorSectionResources';\r\n\r\nconst setFacilitiesForMap = facilities => ({\r\n type: types.SET_FACILITIES_FOR_MAP,\r\n facilities\r\n});\r\n\r\nconst setPlansForMap = plans => ({\r\n type: types.SET_PLANS_FOR_MAP,\r\n plans\r\n});\r\n\r\nexport const getFacilitiesForMap = plansFilter => (dispatch, getState) => {\r\n dispatch(loadingActions.setLoading(types.GET_FACILITIES_FOR_MAP));\r\n const hasFilter = plansFilter && plansFilter.length > 0;\r\n clubLocatorSectionService.getFacilitiesForMap(\r\n hasFilter ?\r\n plansFilter.filter(filter => (filter.checked && filter.name !== clubLocatorResources.groupMembershipsOptionText))\r\n .map(filter => filter.id)\r\n : null,\r\n hasFilter ?\r\n plansFilter\r\n .filter(filter => filter.name !== clubLocatorResources.groupMembershipsOptionText\r\n && filter.programNames && filter.programNames.some(program => program.checked))\r\n .map(filter =>\r\n filter.programNames.filter(program => program.checked).map(program => program.id))\r\n .flat(1)\r\n : null,\r\n hasFilter && plansFilter.some(filter => filter.checked && filter.name === clubLocatorResources.groupMembershipsOptionText))\r\n .then((facilities) => {\r\n dispatch(setFacilitiesForMap(facilities));\r\n })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.GET_FACILITIES_FOR_MAP)));\r\n};\r\n\r\nexport const getPlansForMap = () => (dispatch, getState) => {\r\n dispatch(loadingActions.setLoading(types.GET_PLANS_FOR_MAP));\r\n clubLocatorSectionService.getPlansForMap()\r\n .then((plans) => {\r\n dispatch(setPlansForMap([\r\n ...[\r\n {\r\n id: 0,\r\n name: clubLocatorResources.groupMembershipsOptionText,\r\n checked: false,\r\n hasRestrictedOptions: false,\r\n programNames: []\r\n }],\r\n ...plans]));\r\n })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.GET_PLANS_FOR_MAP)));\r\n};","const forMembersResources = {\r\n title: 'For Members',\r\n};\r\nexport default forMembersResources;","import React, { useEffect } from 'react';\r\nimport SectionsDivider from '../../../../components/SectionsDivider/SectionsDivider';\r\nimport CallToAction from '../../../../components/CallToAction/CallToAction';\r\nimport CallToActionBody from '../../../../components/CallToAction/CallToActionBody';\r\nimport CallToActionImage from '../../../../components/CallToAction/CallToActionImage';\r\nimport guestAreaSharedResources from '../guestAreaSharedResources';\r\nimport PropTypes from 'prop-types';\r\nimport { API_PATHS } from '../../../../http/configs';\r\nimport ContactUsSection from '../ContactUs/ContactUsSection';\r\nimport MetaData from '../../../../components/MetaData/MetaData';\r\nimport { HEALTHY_CONTRIBUTIONS_NAME } from '../../../../constants/companyNames';\r\nimport { HC_PHONE_NUMBER } from '../../../../constants/phones';\r\nimport styles from '../../../../styles/_public-page.module.scss';\r\nimport SolutionsSectionItem from '../../../../components/SolutionsSection/SolutionsSectionItem';\r\nimport SolutionsSection from '../../../../components/SolutionsSection/SolutionsSection';\r\nimport TextSection from '../../../../components/TextSection/TextSection';\r\nimport pageTitleFormatter from '../../../../utilities/formatters/pageTitleFormatter';\r\nimport resources from './forMembersResources';\r\n\r\nfunction ForMembersSection({ history, clubLocatorSection }) {\r\n useEffect(() => {\r\n document.title = pageTitleFormatter.formatPageTitle(resources.title);\r\n }, []);\r\n function joinUsHandler() {\r\n window.location = API_PATHS.memberEnrollment;\r\n };\r\n return
    \r\n \r\n

    {resources.title}

    \r\n \r\n Start your wellness journey}\r\n description=\"Everyone's wellness journey is different. For members, Healthy Contributions helps make it easy to maximize your fitness benefit and live a healthier, happier lifestyle.\"\r\n />\r\n \r\n \r\n \r\n \r\n Anytime Fitness Group Memberships}\r\n description={<>When your employer partners with Healthy Contributions on your Anytime Fitness Group Membership, you get a tailored fitness program, personalized support, anytime access, the AF app, and an entire community to help motivate you on your wellness journey.

    Sign up for your Group Membership today by creating your member profile and activating your key fob below.}\r\n buttonText={guestAreaSharedResources.activateKeyFobButtonText} buttonClickHandler={joinUsHandler}\r\n columns={2}\r\n />\r\n
    \r\n \r\n Fitness Reimbursement Programs}\r\n text=\"For members, when you have an eligible insurance- or employer-sponsored wellness plan, you may be eligible to receive a monthly reimbursement for visiting your gym once you meet your monthly visit requirement at a participating fitness facility.\"\r\n theme=\"column\"\r\n />\r\n \r\n Get paid to work out - we make it easy to participate!}>\r\n \r\n \r\n \r\n \r\n \r\n \r\n <>\r\n { clubLocatorSection ? clubLocatorSection : <>}\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    ;\r\n}\r\n\r\nForMembersSection.propTypes = {\r\n history: PropTypes.object.isRequired,\r\n clubLocatorSection: PropTypes.node\r\n};\r\n\r\nexport default ForMembersSection;","import React from 'react';\r\nimport ClubLocatorSection from '../../../../components/ClubLocatorSection/ClubLocatorSection';\r\nimport ForMembersSection from './ForMembersSection';\r\nimport PropTypes from 'prop-types';\r\n\r\nfunction ForMembers({ history }) {\r\n return Find your club} history={history} />}\r\n />;\r\n};\r\n\r\nForMembers.propTypes = {\r\n history: PropTypes.object.isRequired,\r\n};\r\n\r\nexport default ForMembers;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport QuotesIcon from '../../assets/icons/quotes.svg';\r\nimport styles from './_quotes-section.module.scss';\r\n\r\nfunction QuotesSection({ header, description, text, signature }) {\r\n return (\r\n
    \r\n
    \r\n

    {header}

    \r\n
    {description}
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \"\"\r\n
    \r\n
    \r\n {text}\r\n
    \r\n
    \r\n {signature}\r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n}\r\n\r\nQuotesSection.propTypes = {\r\n header: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,\r\n description: PropTypes.string.isRequired,\r\n text: PropTypes.string.isRequired,\r\n signature: PropTypes.string.isRequired\r\n};\r\n\r\nexport default QuotesSection;","const aboutUsResources = {\r\n title: 'About Us',\r\n};\r\nexport default aboutUsResources;","import React, { useEffect } from 'react';\r\nimport SolutionsSectionItem from '../../../../components/SolutionsSection/SolutionsSectionItem';\r\nimport SolutionsSection from '../../../../components/SolutionsSection/SolutionsSection';\r\nimport SectionsDivider from '../../../../components/SectionsDivider/SectionsDivider';\r\nimport QuotesSection from '../../../../components/QuotesSection/QuotesSection';\r\nimport BenefitsSection from '../../../../components/BenefitsSection/BenefitsSection';\r\nimport BenefitsSectionItem from '../../../../components/BenefitsSection/BenefitsSectionItems';\r\nimport PartnersSection from '../../../../components/PartnerSection/PartnersSection';\r\nimport PartnersSectionItem from '../../../../components/PartnerSection/PartnersSectionItems';\r\nimport TextSection from '../../../../components/TextSection/TextSection';\r\nimport CallToAction from '../../../../components/CallToAction/CallToAction';\r\nimport guestAreaSharedResources from '../guestAreaSharedResources';\r\nimport { API_PATHS } from '../../../../http/configs';\r\nimport PropTypes from 'prop-types';\r\nimport ContactUsSection from '../ContactUs/ContactUsSection';\r\nimport CallToActionBody from '../../../../components/CallToAction/CallToActionBody';\r\nimport CallToActionImage from '../../../../components/CallToAction/CallToActionImage';\r\nimport { MEDICAL_PARTNER_IMAGES } from '../../../../constants/partnerImageGroups';\r\nimport MetaData from '../../../../components/MetaData/MetaData';\r\nimport { HEALTHY_CONTRIBUTIONS_NAME } from '../../../../constants/companyNames';\r\nimport { HC_PHONE_NUMBER } from '../../../../constants/phones';\r\nimport styles from '../../../../styles/_public-page.module.scss';\r\nimport pageTitleFormatter from '../../../../utilities/formatters/pageTitleFormatter';\r\nimport resources from './aboutUsResources';\r\n\r\nfunction AboutUs({ history }) {\r\n useEffect(() => {\r\n document.title = pageTitleFormatter.formatPageTitle(resources.title);\r\n }, []);\r\n function joinUsHandler() {\r\n window.location = API_PATHS.calendlyUrl;\r\n };\r\n return
    \r\n \r\n

    {resources.title}

    \r\n \r\n We make wellness easy}\r\n description={<>{guestAreaSharedResources.requestDemoDescriptionText}
    Unlock your potential with a tailored wellness solution.}\r\n buttonText={guestAreaSharedResources.requestDemoButtonText} buttonClickHandler={joinUsHandler}\r\n />\r\n \r\n
    \r\n \r\n About Healthy Contributions}\r\n text=\"We create and manage wellness programs for small-to-mid-sized businesses, health insurance providers, benefit networks, and more. No other provider combines both wellness and data processing expertise, resulting in superior solutions that help people live healthier lives.\"\r\n />\r\n \r\n We make it happen}\r\n description=\"At Healthy Contributions, we provide customized wellness solutions for organizations and their people. Work with our knowledgeable professionals who specialize in designing effective programs to help organizations and their people achieve their health goals.\"\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Join our growing wellness network}>\r\n {MEDICAL_PARTNER_IMAGES.map((imageInfo, index) =>\r\n \r\n )\r\n }\r\n \r\n \r\n Wellness solutions for Everyone}\r\n description=\"Healthy Contributions has helped over 20,000+ fitness facilities and wellness partners create, implement, and sustain wellness programs that help people live healthier lives.\"\r\n headerTheme=\"column-on-large-screen\"\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n Dedicated Account Management}\r\n description=\"Get expert support. Lean on a dedicated account manager to help guide your wellness program from the start. Our team of professionals will monitor program engagement and rewards to make your wellness efforts are a success.\"\r\n text=\"I enjoy my position at Healthy Contributions as I get to develop relationships with our new and existing partners! I am fulfilled everyday helping wellness partners achieve their company’s wellness goals for their employees and members.\"\r\n signature=\"Josie C., Senior Account Manager, Healthy Contributions\"\r\n />\r\n \r\n \r\n \r\n \r\n \r\n
    ;\r\n}\r\n\r\nAboutUs.propTypes = {\r\n history: PropTypes.object.isRequired\r\n};\r\n\r\nexport default AboutUs;","export const HEALTHY_CONTRIBUTIONS_INFO = 'info@healthycontributions.com';\r\nexport const HEALTHY_CONTRIBUTIONS_PRIVACY = 'privacy@healthycontributions.com';","import React from 'react';\r\nimport { HEALTHY_CONTRIBUTIONS_LEGAL_NAME } from '../../../../constants/companyNames';\r\nimport { HEALTHY_CONTRIBUTIONS_INFO } from '../../../../constants/emails';\r\nimport { AMERICAN_ARBITRATION_ASSOCIATION } from '../../../../constants/websites';\r\nimport { API_PATHS } from '../../../../http/configs';\r\nimport styles from '../../../../styles/_info-page.module.scss';\r\nimport { PRIVACY_NOTICE } from '../../../../constants/legal';\r\n\r\nfunction TermsOfUse() {\r\n return
    \r\n

    Terms of Use

    \r\n
    Effective Date: January 12, 2023
    \r\n
    \r\n
    \r\n
    \r\n
    THESE TERMS OF USE CONTAIN A DISPUTE RESOLUTION PROVISION THAT REQUIRES INDIVIDUAL ARBITRATION AND YOU ARE NOT ALLOWED TO BRING YOUR CLAIMS IN COURT, OTHER THAN ON INDIVIDUAL BASIS IN SMALL CLAIMS COURT. PLEASE SEE SECTION “DISPUTE RESOLUTION”.
    \r\n
    Please read the following Terms of Use (“Terms of Use”) carefully as they constitute a binding agreement between you and {HEALTHY_CONTRIBUTIONS_LEGAL_NAME}, a Delaware Limited Liability Company (“Healthy Contributions,” “we,” “us” and “our”).
    \r\n
    These Terms of Use are entered into by and between you and us and govern your use of the website on which these Terms of Use appear, including any content, functionality, products and services offered therein (collectively, the “Site”).
    \r\n
    These Terms of Use apply to your access to and use of this Site and do not alter in any way the terms and conditions of any other agreement you may have with us. If you breach any of these terms and conditions, your authorization to use this Site automatically terminates and you must immediately discontinue use of this Site.
    \r\n
    \r\n
    \r\n

    1. Acceptance of these Terms of Use.

    \r\n
    By using the Site, you accept these Terms of Use and agree to be bound by them. By using the Site, you represent that you are capable of entering into a binding agreement, and that you agree to be bound by these Terms of Use. Use of the Site is strictly voluntary. IF YOU DO NOT AGREE TO THESE TERMS OF USE AND OUR {PRIVACY_NOTICE.toUpperCase()}, YOU MUST IMMEDIATELY LEAVE THE SITE AND MAY NOT USE THE SITE.
    \r\n
    To access and use certain services available through the Site, you may be required to have a user account with us and you must agree to be bound by any additional applicable terms and conditions contained there.
    \r\n
    \r\n
    \r\n

    2. Collection of Visitor Information on the Site.

    \r\n
    Any information collected at this Site and the purposes for which we may use this information are set forth in our {PRIVACY_NOTICE}. The terms of our {PRIVACY_NOTICE} are incorporated herein by this reference. Please carefully review the information contained in our {PRIVACY_NOTICE}. By using the Site, you agree to waive and release us from any claim or liability in connection with the collection, use, or disclosure of information that is consistent with the terms of our {PRIVACY_NOTICE}.
    \r\n
    \r\n
    \r\n

    3. Changes to these Terms of Use.

    \r\n
    We may change these Terms of Use without notice to you. Your access or use of the Site following the date on which changes to these Terms of Use or the {PRIVACY_NOTICE} are published in this location shall constitute your acceptance of all such changes. You expressly agree that we shall have no obligation to provide you with any notice of any changes, and you hereby expressly waive any right you may have to receive notice of any changes to these Terms of Use or the {PRIVACY_NOTICE}.
    \r\n
    \r\n
    \r\n

    4. Copyright.

    \r\n
    All software, technology, and content included in the Site or used in the operation of the Site, is our owned or licensed property, or our software, technology, and content providers' property, and is protected by U.S. and international copyright laws. In addition, the compilation (meaning the collection, arrangement, and assembly) of all content in the Site is our exclusive property and is protected by U.S. and international copyright laws. Subject to your compliance with these Terms of Use, we grant you a limited, non- exclusive, non-sublicensable, revocable, non-transferable right to access and use the content, information, and functionality made available on the Site, for your personal and noncommercial use of the Site. Any other use, including the reproduction, modification, distribution, transmission, republication, display, or performance, of the content, software, and technology on the Site is strictly prohibited without our written permission.
    \r\n
    \r\n
    \r\n

    5. Trademarks.

    \r\n
    The trademarks, service marks, trade dress, and “look and feel” (the “Trademarks”) used and displayed in the Site are registered and unregistered Trademarks of us and others. Nothing in the Site shall be construed as granting, by implication, estoppel or otherwise, any license or right to use any Trademark displayed in the Site, without the prior written permission of the Trademark owner. Other product and company names mentioned in the Site may be the Trademarks of their respective owners.
    \r\n
    \r\n
    \r\n

    6. Other Intellectual Property.

    \r\n
    All other intellectual property rights related to the software, technology, and content included in the Site or used in the operation of the Site, including without limitation, patents, trade secrets, trade dress, publicity rights, character rights, titles, and artistic and moral rights are our owned or licensed property. Any use of these rights without our prior written permission is strictly prohibited.
    \r\n
    \r\n
    \r\n

    7. Reserved Rights.

    \r\n
    We or our licensors own and reserve all right, title, and interest in and to the Site. These Terms of Use do not grant you any rights in or to the Site or any of its components except for the limited rights to use the Site expressly granted by these Terms of Use.
    \r\n
    \r\n
    \r\n

    8. Termination.

    \r\n
    Your license to the Site and our obligations under these Terms of Use will automatically terminate if you fail to comply with any provision of these Terms of Use or if the reason you were granted access to the Site terminates. No notice will be required from us to effectuate such termination. Upon termination of these Terms of Use, all of your rights to use the Site shall terminate immediately and we may delete or remove your account and User Content.
    \r\n
    \r\n
    \r\n

    9. Restrictions.

    \r\n
    You may not: (i) reproduce, modify, prepare derivative works based upon, translate, tamper with, distribute, sublicense, lease, sell, resell, transfer, publicly display, publicly perform, transmit, stream, broadcast or otherwise exploit the Site except as expressly permitted by us; (ii) reverse engineer, disassemble, or decompile the Site or apply any other process or procedure to derive the source code of any software included in the Site; (iii) use the Site in a manner that interferes with other users' use of the Site; (iv) link to, mirror or frame any portion of the Site; or (v) attempt to gain unauthorized access to or impair any aspect of the Site or its related systems or networks.
    \r\n
    \r\n
    \r\n

    10. Additional Prohibited Activities and Visitor Obligations.

    \r\n
    As a visitor to or user of the Site you shall not:
    \r\n
      \r\n
    • Violate any applicable law, rule, or regulation;
    • \r\n
    • Upload, post, use, transmit, or otherwise make available, including by e-mail, (each, a “Post”) any content or information that is false or inaccurate;
    • \r\n
    • Post any content that is unlawful, harmful, threatening, abusive, harassing, tortious, defamatory, vulgar, obscene, libelous, invasive of another’s privacy, or content that could otherwise be considered to be objectionable;
    • \r\n
    • Post any publicly available content that is subject to any disclosure restrictions;
    • \r\n
    • Post any materials, items, information or content that infringes or otherwise violates any patent, copyright, trademark, or any other intellectual property rights;
    • \r\n
    • Post any unsolicited or unauthorized advertising or promotional materials, including without limitation, junk mail, spam, “chain letters, “pyramid schemes, or any other form of solicitation;
    • \r\n
    • Post any material that contains software viruses or any other corrupt computer code, files or programs that impair the use of any computer software or hardware or telecommunications equipment;
    • \r\n
    • Impersonate or use the identity of another person or organization, or falsely state or otherwise misrepresent your affiliation with a person or organization;
    • \r\n
    • Engage in any activities or manipulate identifying material to misrepresent the origin of content;
    • \r\n
    • Use the Site for any activity that is unlawful, harmful, threatening, abusive, harassing, tortious, defamatory, vulgar, obscene, libelous, invasive of another’s privacy, or information or content that could otherwise be considered to be objectionable;
    • \r\n
    • Interfere with or otherwise limit the use of the Site by other users;
    • \r\n
    • Collect, compile, or store personal information about other users of the Site;
    • \r\n
    • Disrupt or interfere with the security of, operation of, or otherwise cause harm to, the Site or the systems resources; accounts; usernames and passwords; servers; or networks connected to or accessible through this Site or any affiliated or linked sites;
    • \r\n
    • Modify, reverse engineer, disassemble, decompile, translate, create derivative works from, or otherwise alter the Site;
    • \r\n
    • Use the Site in a manner that could cause us to violate any law, rule or regulation; or
    • \r\n
    • Use any robot, spider, scripts, other automatic device, or manual process to “screen scrape,” index, monitor, “mine,” or copy the web pages on the Site or the content contained therein without our prior, express, and written permission; or
    • \r\n
    • Use the Site for your own commercial purposes.
    • \r\n
    \r\n
    \r\n
    \r\n

    11. User Content; Monitoring Activity.

    \r\n
    You agree that you are solely responsible for the Post of any content that you make available on or send through this Site (“User Content”). Although we have no obligation to screen, edit or monitor any of the User Content or user conduct on this Site, we reserve the right, and have absolute discretion, to remove, screen or edit any User Content and to monitor any user conduct on this Site at any time and for any reason without notice. By the Post of User Content to this Site, you represent and warrant that (a) the User Content is non-confidential; (b) you have all necessary rights to Post the User Content to this Site and to grant us the rights you grant in these Terms of Use; (c) the User Content is accurate and not misleading or harmful in any manner; (d) the User Content, and your use and the Post thereof in connection with this Site, does not and will not violate these Terms of Use or any applicable local, state, national or international statute, regulation, or law.
    \r\n
    \r\n
    \r\n

    12. Your Account.

    \r\n
    You agree to maintain accurate, complete, and up-to-date information in your user account on the Site. If you have a user account on this Site, you are responsible for maintaining the confidentiality of your account and password and for restricting access to your computer. You agree to accept responsibility for all activities that occur under your account or password. We reserve the right, without notice and in our sole discretion, to refuse or restrict access or service, terminate accounts, or remove or edit content. If we, in our sole reasonable determination, believe that you have violated any of these Terms of Use, we may suspend or terminate your account. YOU WILL NOT SHARE YOUR USERNAME OR PASSWORD FOR ACCESSING THE SITE WITH ANY OTHER INDIVIDUAL OR THIRD PARTY.
    \r\n
    \r\n
    \r\n

    13. Accuracy.

    \r\n
    Information on the Site may contain typographical errors, inaccuracies, or omissions. We reserve the right, but have no obligation, to correct any errors, inaccuracies, or omissions and to discontinue, change or update information or products or services at any time without notice to you.
    \r\n
    \r\n
    \r\n

    14. Disclaimer of Warranties and Limitation of Liability.

    \r\n
    THE SITE AND ALL CONTENT, PRODUCTS, DATA, MATERIALS, AND SERVICES AVAILABLE THROUGH THE SITE ARE PROVIDED ON AN “AS IS, WITH ALL DEFECTS” AND “AS AVAILABLE” BASIS WITHOUT WARRANTIES OF ANY KIND, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE. WE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, SATISFACTORY QUALITY, ACCURACY OF INFORMATIONAL CONTENT, AND ANY WARRANTIES ARISING OUT OF ANY COURSE OF DEALING OR USAGE OF TRADE. WE MAKE NO REPRESENTATION THAT THE SITE OR ANY CONTENT, DATA OR MATERIAL IS FREE FROM ERRORS, VIRUSES, BUGS, OR OTHER HARMFUL COMPONENTS. FURTHER, WE MAKE NO REPRESENTATION OR WARRANTY THAT CONTENT, DATA OR MATERIAL PROVIDED ON THE SITE IS APPLICABLE OR APPROPRIATE FOR USE IN LOCATIONS OUTSIDE OF THE UNITED STATES.
    \r\n
    NOTHING IN THESE TERMS OF USE OR IN ANY ORAL OR WRITTEN DESCRIPTION OF THE SITE WILL CONSTITUTE A REPRESENTATION OR WARRANTY WITH RESPECT TO THE SITE.
    \r\n
    YOU ACKNOWLEDGE, BY YOUR USE OF THE SITE, THAT SUCH USE IS AT YOUR SOLE RISK.
    \r\n
    TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL WE BE LIABLE FOR ANY DIRECT, INDIRECT, PUNITIVE, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR IN ANY WAY CONNECTED WITH THE USE OF, OR THE INABILITY TO USE, THE SITE, WHETHER BASED ON CONTRACT, TORT, STRICT LIABILITY OR OTHERWISE, EVEN IF ADVISED OF THE POSSIBILITY OF ANY SUCH DAMAGES.
    \r\n
    Certain state laws do not allow the exclusion of or limitations on implied warranties or the exclusion or limitation of certain damages. If these laws apply to you, some or all of the above disclaimers, exclusions, or limitations may not apply to you, and you might have additional rights. In these states, our liability shall be limited to the extent permitted by law.
    \r\n
    UNDER NO CIRCUMSTANCES WHATSOEVER SHALL OUR AGGREGATE LIABILITY RESULTING FROM OR RELATING TO YOUR USE OF THE SITE EXCEED FIVE U.S. DOLLARS (USD $5.00).
    \r\n
    \r\n
    \r\n

    15. Indemnification.

    \r\n
    You agree to indemnify and hold us, our related entities, and our and their respective successors and assigns harmless from and against any claims, demands, damages, losses, liabilities, costs, and expenses (including reasonable attorneys' fees) that we incur or suffer which relate or arise out of any third party claim concerning your use of the Site, your failure to perform any of your obligations under these Terms of Use, or your breach of any of your representations or warranties made under these Terms of Use.
    \r\n
    \r\n
    \r\n

    16. Links to Other Websites.

    \r\n
    The Site may contain links to other websites. Additionally, other websites may contain links to the Site. We do not review or monitor the websites linked to the Site and we are not responsible for the content or policies of any other websites. Any link established by us does not in any respect whatsoever constitute an endorsement of the other websites or create a relationship between us and the operators of other websites. We disclaim any liability with respect to your use of any other website, and you release us from any liability related to your use of any link to another website or your use of any other website. Where the Site contain a link to another website owned and/or operated by us, such website use may be subject to different and additional terms of use and privacy policy terms and conditions.
    \r\n
    \r\n
    \r\n

    17. Third Party Providers of Functionality.

    \r\n
    We may have functionality in the Site that is provided, in whole or in part, by a third-party service provider. You can usually identify such third-party functionality by the use of a trademark not owned by us on or near the functionality. For such third-party functionality, you will need to review the terms of use and privacy policy for that third party, which in some cases may require you to visit that party's website and locate the terms of use and privacy policy. Your review should include determining whether such terms and policy are acceptable to you. If they are not, do not use the associated functionality on the Site.
    \r\n
    \r\n
    \r\n

    18. Continued Operation, Accessibility, and Maintenance of the Site.

    \r\n
    We may modify, change, suspend, terminate, or discontinue the operation of the Site or the provision of any services therein without notice and we reserve the right to refuse service to anyone at any time, with or without cause.
    \r\n
    \r\n
    \r\n

    19. Submissions.

    \r\n
    Any and all comments, suggestions, and similar materials or information that you send or submit to us in connection with the Site, by a Post or otherwise (collectively, “Submissions“), shall become our property; and you hereby transfer, sell, and assign to us all of your right, title, and interest in and to any such Submissions, including without limitation, any and all related patent, copyright, trademark, and other intellectual property rights. We have no obligation of any kind whatsoever to maintain any confidentiality with respect to any such Submissions. We shall be free to use them for any purpose whatsoever without providing you notice or receiving your consent, and without restriction or compensation.
    \r\n
    \r\n
    \r\n

    20. General Provisions.

    \r\n
    English has been used in the preparation of these Terms of Use, and English shall be the controlling language with respect to these Terms of Use and their interpretation. Any and all communications relating to the Site must be in the English language.
    \r\n
    Any failure by us to enforce any provision of these Terms of Use shall not be construed as a waiver of any provision or the right to enforce same.
    \r\n
    These Terms of Use shall be governed by the laws of the State of Minnesota without giving effect to any principles or conflicts of laws. These Terms of Use do not, and will not be construed to, create any partnership, joint venture, employer-employee, agency or franchisor-franchisee relationship between you and us. If any portion of these Terms of Use is held to be invalid, such holding shall not invalidate the other provisions of these Terms of Use..
    \r\n
    Use of the Site is unauthorized in any jurisdiction that does not give full effect to all provisions of these Terms of Use, including without limitation this paragraph and the warranty disclaimers and liability exclusions above. Use of the Site is unauthorized in any jurisdiction where all or any portion of the Site may violate any legal requirements and you agree not to access the Site in any such jurisdiction.
    \r\n
    You are responsible for compliance with applicable laws.
    \r\n
    \r\n
    \r\n

    21. Dispute Resolution.

    \r\n
    a. Any dispute, controversy, or claim arising out of or relating to your relationship with Healthy Contributions, whether based in contract, tort, statute, fraud, misrepresentation or any other legal theory and expressly including any claims for violation of any state consumer protection act or the federal Telephonic Consumer Protection Act or any state or international law equivalents (collectively, “Claims”), shall be resolved by binding arbitration. The sole exception is that you and we retain the right to pursue in small claims court any Claim that is within that court's jurisdiction and proceeds on an individual basis. Aside from this sole exception, all other Claims must be resolved by binding arbitration pursuant to the terms set forth below.
    \r\n
    b. The arbitration shall be administrated by the American Arbitration Association or its successor (“AAA”) in accordance with its Consumer Rules or any other applicable AAA rules. (The AAA’s Consumer Rules are available at {AMERICAN_ARBITRATION_ASSOCIATION}). To the extent there is a conflict between this arbitration provision and the AAA’s Consumer Rules, the arbitration provision controls. In the event that the AAA is no longer in business, then the parties will attempt to agree on an alternative agency. If one cannot be agreed to, then the parties agree that a court of competent jurisdiction may select the arbitration agency for them. The arbitration shall be conducted before a single arbitrator. The arbitration will be conducted in a mutually agreeable location in your state of residence. The decision of the arbitrator shall be final and binding and may be entered as a judgment by any court of competent jurisdiction.
    \r\n
    c. Before initiating an arbitration, you must first send, by certified mail or a nationally recognized courier service like FedEx or UPS, a written Notice of Dispute (\"Notice\") addressed to: Healthy Contributions, 111 Weir Drive, Woodbury, MN 55125 (\"Notice Address\"). The Notice must (i) describe the nature and basis of the Claim; and (ii) set forth the specific relief sought. If the you and we do not reach an agreement to resolve the Claim within 60 days after the Notice is received, you may commence an arbitration proceeding with the AAA by submitting the Notice of Dispute to the AAA and initiating the arbitration and sending a copy, by certified mail or courier service, of the initiated arbitration to the Notice Address. During the arbitration, other than informing the arbitrator that the Notice was properly provided, no information regarding any settlement offer made by either party shall be disclosed to the arbitrator. Unless prohibited by applicable law, any Claim must be submitted to us in a Notice of Dispute within one (1) year from the occurrence of the facts giving rise to such Claim.
    \r\n
    d. If the AAA determines that your Claim is part of a filing of multiple or mass case filings, then you agree that the AAA Supplementary Rules for Multiple Case Filings apply and you further agree not to oppose any motion by us for an order requiring you to initially advance all filing fees and arbitrator costs. If you succeed on your Claim in any multiple or mass case filing, the arbitrator may award you costs in any amount that would place you in an equal position as you had been in if you filed your Claim individually.
    \r\n
    e. Neither party shall pursue any class, collective, or representative claims. Unless the Supplementary Rules for Multiple Case Filings apply, the parties may not consolidate the arbitration with any other proceedings to which we are a party, except for an arbitration in which the parties to this agreement are the sole parties.
    \r\n
    f. The arbitrator shall be entitled to award injunctive relief, if applicable, specific to you and to award damages. To the extent allowed by applicable law, the parties agree that neither party will be liable to the other (whether in contract, tort, negligence, strict liability in tort or by statute or otherwise) for any indirect, special, incidental, consequential, exemplary or punitive damages or for any form of damages other than direct damages. The arbitrator shall award attorney’s fees and costs, including the expenses of the arbitration, to the prevailing party if the arbitrator finds that the non-prevailing party asserted frivolous or bad faith defenses or claims.
    \r\n
    g. Any award of the arbitrator shall have no preclusive effect in any future proceeding, except any future proceeding in which you and we are the sole parties.
    \r\n
    h. The Federal Arbitration Act, applicable federal law, and the laws of the state of Minnesota, without regard to principles of conflict of laws, will govern this agreement and any dispute, controversy, or claim of any sort that might arise between us.
    \r\n
    i. The parties agree that the arbitration proceedings and results are confidential and, except as required by law, neither party nor the arbitrator may disclose the existence, content, or results of any arbitration conducted pursuant to this agreement without the prior written consent of the parties.
    \r\n
    j. For the avoidance of doubt, this agreement applies to Claims involving any of Healthy Contributions’ staff, agents, subsidiaries, affiliates, employees, board of directors, parents, franchisees, predecessors, successors, and assigns, each of which is an intended third-party beneficiary of this agreement. This agreement shall survive the termination of any other contractual or non-contractual relationship between us and you, including any membership relationship you may have with a franchisee.
    \r\n
    k. With the exception of subparts (d) and (e) above (the class action waiver and mass action rules), if any part of this arbitration provision is held to be invalid, unenforceable, or illegal, then the balance of this arbitration provision shall remain in effect and shall be construed in accordance with its terms as if the invalid, unenforceable, illegal or conflicting provision were not in it. If, however, subpart (d) or (e) above (the class action waiver and mass action rules) is held to be invalid, unenforceable or illegal, then the entirety of this arbitration provision shall be null and void, and neither you nor us shall be entitled to arbitrate their dispute. If this agreement is found to be unenforceable on inapplicable for any reason, including because the class action waiver is found invalid, unenforceable, or illegal, then the sole and exclusive venue for the resolution of any Claim shall be the United States District Court for District of Minnesota or, if there is no federal jurisdiction over the action, in the courts of the State of Minnesota located in Minneapolis. Further, you hereby consent and submit to the personal jurisdiction of such courts for the purposes of litigating any such Claim that is determined not to be subject to the arbitration provision.
    \r\n
    \r\n
    \r\n

    22. Contact.

    \r\n
    For questions or comments related to this Site or these Terms of Use, please email us at {HEALTHY_CONTRIBUTIONS_INFO} or send us a letter to Healthy Contributions, 111 Weir Drive, Woodbury, MN 55125.
    \r\n
    \r\n
    \r\n
    \r\n
    ;\r\n}\r\n\r\nexport default TermsOfUse;","import * as authorizedAgentDesignationFormService from './authorizedAgentDesignationFormService';\r\n\r\nexport function downloadAuthorizedAgentDesignationForm() {\r\n return authorizedAgentDesignationFormService\r\n .downloadAuthorizedAgentDesignationForm();\r\n}","import http from '../../../../http/base';\r\nimport { API_PATHS } from '../../../../http/configs';\r\n\r\nexport function downloadAuthorizedAgentDesignationForm() {\r\n return http.get(API_PATHS.getAuthorizedAgentDesignationForm, { responseType: 'blob', params: {} });\r\n};","export default {\r\n formatPrivacyPolicyEffectiveDate: (date) => {\r\n const formatter = new Intl.DateTimeFormat('en-US', { year: 'numeric', month: 'long', day: 'numeric' });\r\n return formatter.format(date);\r\n }\r\n};","import React, { useEffect } from 'react';\r\nimport routes from '../../../../routing/routes';\r\nimport { HEALTHY_CONTRIBUTIONS_NAME, HEALTHY_CONTRIBUTIONS_LEGAL_NAME, HEALTHY_CONTRIBUTIONS_LEGAL_NAME_WITH_COPYRIGHT } from '../../../../constants/companyNames';\r\nimport { PRIVACY_NOTICE } from '../../../../constants/legal';\r\nimport { HEALTHY_CONTRIBUTIONS_PRIVACY } from '../../../../constants/emails';\r\nimport { HC_PHONE_NUMBER } from '../../../../constants/phones';\r\nimport styles from '../../../../styles/_info-page.module.scss';\r\nimport utilsStyles from '../../../../styles/_utils.module.scss';\r\nimport { downloadAuthorizedAgentDesignationForm } from './authorizedAgentDesignationFormActions';\r\nimport privacyPolicyEffectiveDateFormatter from '../../../../utilities/formatters/privacyPolicyEffectiveDateFormatter';\r\nimport pageTitleFormatter from '../../../../utilities/formatters/pageTitleFormatter';\r\nimport CustomLink from '../../../../components/controls/CustomLink';\r\n\r\nfunction PrivacyNotice() {\r\n const effectiveDate = new Date(2024, 2, 14);\r\n const formattedEffectiveDate = privacyPolicyEffectiveDateFormatter.formatPrivacyPolicyEffectiveDate(effectiveDate);\r\n const handleDownloadAuthorizedAgentForm = (e) => {\r\n e.preventDefault();\r\n downloadAuthorizedAgentDesignationForm();\r\n };\r\n useEffect(() => {\r\n document.title = pageTitleFormatter.formatPageTitle(PRIVACY_NOTICE);\r\n }, []);\r\n return
    \r\n

    {`${HEALTHY_CONTRIBUTIONS_NAME} ${PRIVACY_NOTICE}`}

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n To review our previous Privacy Policies, please refer to the previous Privacy Policies.\r\n
    \r\n
    \r\n
    \r\n
    \r\n This {PRIVACY_NOTICE} describes how {HEALTHY_CONTRIBUTIONS_LEGAL_NAME_WITH_COPYRIGHT}, including its officers, directors, employees, affiliates, volunteers, agents and authorized representatives including independent contractors (collectively, “Healthy Contributions,” “we,” “us,” or “our”) collects, uses, shares, and protects personal information. This {PRIVACY_NOTICE} also tells you about your rights and choices with respect to your personal information, and how you can reach us to get answers to your questions.\r\n
    \r\n
    \r\n
    \r\n

    You can jump to particular topics by going to the headings below:

    \r\n \r\n
    \r\n
    \r\n

    Information We Collect

    \r\n
    \r\n We collect information about you in a variety of ways depending on how you interact with us and our websites, mobile applications (where applicable), products, and services, including:\r\n
    \r\n
      \r\n
    • \r\n Directly from you when you provide it to us, such as when you register for an account, sign up to receive communications from us, make a purchase, or contact us by phone, email, or otherwise.\r\n
    • \r\n
    • \r\n Automatically through the use of cookies, web beacons, server logs, and other similar technologies when you interact with our websites, mobile applications, advertisements, and emails.\r\n
    • \r\n
    • \r\n From other sources, including, for example, our affiliates, business partners, service providers, online social media networks, and other third parties, or from publicly available sources. For example, if you submit a job application or an application for a franchise, we may conduct a background check.\r\n
    • \r\n
    \r\n
    \r\n The following provides examples of the type of information that we collect in a variety of contexts and how we use that information.\r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    ContextTypes of InformationPrimary Purpose for Collection and Use of Information
    \r\n Account Registration\r\n \r\n When you create an account or register for our services, we collect your name, contact information (such as your email address, and phone number), profile username and password. We also collect information relating to the actions that you perform while logged into your account.\r\n \r\n We have a legitimate interest in providing account related functionalities to our users.\r\n
    \r\n Cookies and First-Party Tracking\r\n \r\n Cookie Settings for more information.' }} />\r\n \r\n We have a legitimate interest in making our website operate efficiently.\r\n
    \r\n Cookies and Third-Party Tracking\r\n \r\n Cookie Settings for more information.' }} />\r\n \r\n Where required by law, we base the use of third-party cookies upon consent.\r\n
    \r\n Demographic Information\r\n \r\n We collect personal information, such as your age or location.\r\n \r\n We have a legitimate interest in understanding our users and providing tailored services.\r\n
    \r\n Inquiries, Comments, and Feedback\r\n \r\n If you contact us, we will collect your name and contact information (such as email address), as well as any other content that you send to us, in order to reply.\r\n \r\n We have a legitimate interest in receiving, and acting upon, your feedback or issues.\r\n
    \r\n Mailing List\r\n \r\n When you sign up for one of our mailing lists, we collect your email address or postal address (as applicable).\r\n \r\n We share information about our products and services with individuals that consent to receive such information, where required by law. We also have a legitimate interest in sharing information about our products or services.\r\n
    \r\n Mobile Application Integrations\r\n \r\n We collect information through integrations with HealthKit™ and/or Google Fit™, to allow us to personalize your app experience, to allow our coaches to measure your progress and adjust programming, and for other related uses.\r\n \r\n We base mobile application integrations upon consent.\r\n
    \r\n Payments\r\n \r\n We collect your name, mailing address, billing address, email address, phone number, and credit card number when you make a purchase, using a third-party payment processing vendor.\r\n \r\n We use your information to perform our contract to provide you with products or services.\r\n
    \r\n Partner Promotion\r\n \r\n We collect information that you provide as part of a co-branded promotion with another company.\r\n \r\n We have a legitimate interest in fulfilling our promotions.\r\n
    \r\n Prospective Employees\r\n \r\n If you are a prospective employee or employee, we may collect detailed information such as your first name, last name, email address, phone number, address, and related information to evaluate your qualifications for employment. This may include, among other things, your Social Security Number. Providing this information is required to be considered for employment.\r\n \r\n In some contexts, we are required by law to collect information about potential employees or applicants. We also have a legitimate interest in using your information to have efficient staffing and work force operations.\r\n
    \r\n Public Health and Safety\r\n \r\n In certain situations where a serious public health threat has been identified (e.g., Covid-19), we may collect information from employees, guests, and other individuals accessing our facilities. This may include medical and health information, such as body temperature, symptoms, and underlying health conditions.\r\n \r\n We have a legitimate interest in protecting the health and safety of our employees and guests. In some jurisdictions we may be required by law, regulation, or governmental order to collect and retain information related to issues of public health and safety. We have a legitimate interest in complying with the laws in the jurisdictions in which we operate.\r\n
    \r\n Surveys\r\n \r\n When you participate in a survey, we collect information that you provide through the survey. If the survey is provided by a third party service provider, the third party's Privacy Notice applies to the collection, use, and disclosure of your information.\r\n \r\n We have a legitimate interest in understanding your opinions, and collecting information relevant to our organization.\r\n
    \r\n Sweepstakes or Contests\r\n \r\n When you participate in a sweepstakes, contest, or other promotional activity, we collect information about you which includes contact information to notify you if you are selected.\r\n \r\n We have a legitimate interest in operating our sweepstakes, contests, and other promotional activities. In some contexts, we are also required by law to collect information about those that enter into our sweepstakes, and we have a legitimate interest in complying with those laws.\r\n
    \r\n Website Interactions\r\n \r\n We use technology to monitor how you interact with our website. This may include which links you click on, or information that you type into our online forms. This may also include information about your device or browser.\r\n \r\n We have a legitimate interest in understanding how you interact with our website to better improve it, and to understand your preferences and interests in order to select offerings that you might find most useful. We also have a legitimate interest in detecting and preventing fraud.\r\n
    \r\n Web Logs\r\n \r\n When you visit our website, we automatically collect certain information, including your browser type, operating system, Internet Protocol (IP) address (a number that is automatically assigned to a computer when the internet is used), domain name, click-activity, referring website, and/or a date/time stamp for visitors.\r\n \r\n We have a legitimate interest in monitoring our networks and the visitors to our websites. Among other things, it helps us understand which of our services is the most popular.\r\n
    \r\n
    \r\n Please note, some of the information described above is mandatory for the performance of certain services, and if not provided, you may not be able to utilize or participate in some of our online services or features.\r\n
    \r\n \r\n
    \r\n

    How We Use Information

    \r\n
    \r\n In addition to the purposes and uses described above, we use information in the following ways:\r\n
    \r\n
      \r\n
    • \r\n To identify you when you visit our websites or any of our locations.\r\n
    • \r\n
    • \r\n To provide products and services or to process returns or refunds.\r\n
    • \r\n
    • \r\n To process payments (using a third-party payment processing vendor).\r\n
    • \r\n
    • \r\n To create and manage your account and/or membership.\r\n
    • \r\n
    • \r\n To improve our websites, mobile applications, services, and product offerings.\r\n
    • \r\n
    • \r\n To conduct analytics and research.\r\n
    • \r\n
    • \r\n To communicate with you, such as to respond to and/or follow-up on your requests, inquiries, issues, or feedback.\r\n
    • \r\n
    • \r\n To send you electronic communications you have requested, such as text messages, push notifications, notifications through our mobile application or through your mobile device.\r\n
    • \r\n
    • \r\n To send marketing and promotional materials including information relating to our products, services, sales, or promotions, or those of our business partners.\r\n
    • \r\n
    • \r\n To develop and display content and advertising tailored to your interests and preferences.\r\n
    • \r\n
    • \r\n To detect and protect against malicious, deceptive, fraudulent, or illegal activity, including violation of our policies and terms and conditions, security incidents, and harm to the rights, property, or safety of our company and our users, employees, or others.\r\n
    • \r\n
    • \r\n To debug, identify and repair errors that impair existing intended functionality of our website and services.\r\n
    • \r\n
    • \r\n To comply with our legal or regulatory obligations, to establish or exercise our rights, and to defend against a legal claim.\r\n
    • \r\n
    • \r\n For internal administrative purposes, as well as to manage our relationships.\r\n
    • \r\n
    • \r\n For such other purposes as you may consent (from time to time).\r\n
    • \r\n
    \r\n
    \r\n Although the sections above describe our primary purpose in collecting your information, in many situations we have more than one purpose. For example, if you complete an online purchase, we may collect your information to perform our contract with you, but we also collect your information as we have a legitimate interest in maintaining your information after your transaction is complete so that we can quickly and easily respond to any questions about your order. As a result, our collection and processing of your information is based in different contexts upon your consent, our need to perform a contract, our obligations under law, and/or our legitimate interest in conducting our business.\r\n
    \r\n
    \r\n To the extent we maintain and use personal information in a deidentified form, we will not attempt to reidentify the information, except for the purpose of determining whether our deidentification processes satisfy our legal obligations.\r\n
    \r\n
    \r\n
    \r\n

    How We Share Information

    \r\n
    \r\n In addition to the specific situations discussed elsewhere in this {PRIVACY_NOTICE}, we may disclose personal information in the following situations:\r\n
    \r\n
      \r\n
    • \r\n \r\n Affiliates and Acquisitions.\r\n \r\n  We may share information with our corporate affiliates (e.g., parent company, sister companies, subsidiaries, joint ventures, or other companies under common control). If another company acquires, or plans to acquire, our company, business, or our assets, we will also share information with that company, including at the negotiation stage.\r\n
    • \r\n
    • \r\n \r\n Franchisees and Business Partners.\r\n \r\n  We may share information with our franchisees, or other business partners with whom we collaborate or work with to provide specific services to you.\r\n
    • \r\n
    • \r\n \r\n Other Disclosures without Your Consent.\r\n \r\n  We may disclose information in response to subpoenas, warrants, or court orders, or in connection with any legal process, or to comply with relevant laws or regulations. We may also disclose your information in order to establish or exercise our rights, to defend against a legal claim, to investigate, prevent, or take action regarding possible illegal activities, suspected fraud, safety of person or property, or a violation of our policies.\r\n
    • \r\n
    • \r\n \r\n Partner Promotion.\r\n \r\n  We may offer contests, sweepstakes, or other promotions with third-party partners. If you decide to enter a contest, sweepstakes, or promotion that is sponsored by a third-party partner, the information that you provide will be shared with us and with them. Their use of your information is not governed by this {PRIVACY_NOTICE}.\r\n
    • \r\n
    • \r\n \r\n Service Providers.\r\n \r\n  We may share your information with service providers. Among other things service providers may help us to maintain our website and/or mobile applications, conduct analytics, administer surveys, provide technical support, process payments, assist with customer services, and manage direct marketing programs on our behalf.\r\n
    • \r\n
    • \r\n \r\n Other Disclosures with Your Consent.\r\n \r\n  We may disclose your information to other third parties when we have your consent or direction to do so.\r\n
    • \r\n
    \r\n
    \r\n
    \r\n

    Your Choices

    \r\n
    \r\n Some jurisdictions give you a right to make the following choices regarding your personal information:\r\n
    \r\n
      \r\n
    • \r\n \r\n Access To Your Personal Information.\r\n \r\n  You may request access to your personal information or confirmation that we have information about you. In certain limited circumstances, you may also request to receive access to your data in a portable, machine-readable format.\r\n
    • \r\n
    • \r\n \r\n Changes To Your Personal Information.\r\n \r\n  You may ask us to correct information that is inaccurate or incomplete. Note that we may keep historical information in our backup files as permitted by law. We rely on you to update and correct your personal information. You may edit or deactivate your account information or account at any time by signing into your account on the website or mobile application and navigating through your settings. If our website or mobile application does not permit you to update or correct certain information, you can contact us at the address described below in order to request that your information by modified.\r\n
    • \r\n
    • \r\n \r\n Deletion Of Your Personal Information.\r\n \r\n  You may request that we delete your personal information. If required by law, we will grant a request to delete information, but you should note that in many situations we must keep your personal information to comply with our legal obligations, resolve disputes, enforce our agreements, or for another business purposes.\r\n
    • \r\n
    • \r\n \r\n Opt-out of Sharing for Targeted Advertising.\r\n \r\n here. Please note that if you change browsers or computers, or if you clear your browser's cache, you may need to click the link again to apply your preference. You may also opt-out of other forms of targeted advertising by submitting a request via the “Do Not Sell or Share My Information” button in our ' }} />\r\n \r\n online portal\r\n .\r\n
    • \r\n
    • \r\n \r\n Objection to or Restriction of Certain Processing.\r\n \r\n  In certain limited circumstances, you may object to or restrict our processing of your personal information.\r\n
    • \r\n
    • \r\n \r\n Revocation Of Consent.\r\n \r\n  Where we process your personal information based upon consent, you may revoke consent. Please note, if you revoke your consent for the processing of personal information then we may no longer be able to provide you services.\r\n
    • \r\n
    • \r\n \r\n Online Tracking.\r\n \r\n  We do not currently recognize the “Do Not Track” signal.\r\n
    • \r\n
    • \r\n \r\n Promotional Emails.\r\n \r\n  You may choose to provide us with your email address for the purpose of allowing us to send free newsletters, surveys, offers, and other promotional materials to you, as well as targeted offers from third parties. You can stop receiving promotional emails by following the unsubscribe instructions in emails that you receive. If you decide not to receive promotional emails, we may still send you service related communications.\r\n
    • \r\n
    • \r\n \r\n Promotional Mailings.\r\n \r\n  If at any time you do not want to receive offers and/or circulars from us you can remove yourself from our mailing lists by emailing us (our contact information is below) with “NO SNAIL MAIL” in the subject line along with your name, address, and zip code. Please note that our mailings are prepared in advance of their being sent. Although we will remove your name from our mailing list after receiving your request, you may still receive mailings from us that had been initiated prior to your name being removed.\r\n
    • \r\n
    • \r\n \r\n Promotional Text Messages.\r\n \r\n  If you receive a text message from us that contains promotional information you can opt-out of receiving future text messages by replying “STOP.”\r\n
    • \r\n
    \r\n
    \r\n Please note, not all of the rights described above are absolute, and they do not apply in all circumstances. In some cases, we may limit or deny your request because the law permits or requires us to do so, or if we are unable to adequately verify your identity. We will not discriminate against individuals who exercise their privacy rights under applicable law.\r\n
    \r\n

    \r\n Submitting Requests\r\n

    \r\n
    \r\n You may exercise the rights described above through our \r\n \r\n online portal\r\n \r\n  or by contacting us as indicated in the “Contact Information” section below. If you are a California resident, you may also call our toll-free number at {HC_PHONE_NUMBER}. If we refuse to honor a request, you may appeal our refusal by contacting us with the subject line “Appeal.”\r\n
    \r\n
    \r\n Note that, as required by law, we will require you to prove your identity. We may verify your identity by phone call or email. Depending on your request, we will ask for information such as your name, email address and telephone number. Following a request, we will use reasonable efforts to supply, correct or delete personal information about you in our files.\r\n
    \r\n

    \r\n Authorized Agents\r\n

    \r\n
    \r\n In some circumstances, you may designate an authorized agent to submit requests to exercise certain privacy rights on your behalf. If you are an authorized agent submitting a request on behalf of an individual, you must attach a copy of a completed \r\n \r\n Authorized Agent Designation Form\r\n  \r\n indicating that you have permission to act on another person's behalf.\r\n
    \r\n
    \r\n
    \r\n

    How We Protect and Retain Information

    \r\n
    \r\n No method of transmission over the internet, or method of electronic storage, is fully secure. While we use reasonable efforts to protect your personal information from unauthorized access, use, or disclosure, we cannot guarantee the security of your personal information. In the event that we are required by law to inform you of a breach to your personal information we may notify you electronically, in writing, or by telephone, if permitted to do so by law.\r\n
    \r\n
    \r\n Some of our websites and mobile applications permit you to create an account. When you do you will be prompted to create a password. You are responsible for maintaining the confidentiality of your password, and you are responsible for any access to or use of your account by someone else that has obtained your password, whether or not such access or use has been authorized by you. You should notify us of any unauthorized use of your password or account.\r\n
    \r\n
    \r\n We retain your personal information for only as long as necessary to fulfill the purposes outlined in this {PRIVACY_NOTICE}, including for the purposes of satisfying any legal, accounting, or reporting requirements, unless a longer retention period is required or permitted by law. To determine the appropriate retention period for personal information, we consider the amount, nature, and sensitivity of the information, the potential risk of harm from unauthorized use or disclosure of the information, the purposes for which we obtained the information and whether we can achieve those purposes through other means, as well as applicable legal requirements.\r\n
    \r\n
    \r\n
    \r\n

    Transmission Of Information To Other Countries

    \r\n
    \r\n As a multi-national company, we transmit information between and among our affiliates. As a result, your information may be processed in a foreign country where privacy laws may be less stringent than the laws in your country. Nonetheless, where possible we take steps to treat personal information using the same privacy principles that apply pursuant to the law of the country in which we first received your information. By submitting your personal information to us you agree to the transfer, storage, and processing of your information in a country other than your country of residence including, but not necessarily limited to, the United States.\r\n
    \r\n
    \r\n
    \r\n

    Third-Party Applications/Websites

    \r\n
    \r\n For your convenience, we may provide links to websites and other third-party content or services that we do not own or operate. The websites and third-party content to which we link may have separate privacy notices or policies. Please note, we have no control over the privacy practices websites, or services that we do not own. We encourage you to review the privacy policies of any third-party website or application for details about such third party’s privacy practices.\r\n
    \r\n
    \r\n
    \r\n

    Changes To This {PRIVACY_NOTICE}

    \r\n
    \r\n Our {PRIVACY_NOTICE} includes an “effective” and “last updated” date. The effective date refers to the date that the current version took effect. The last updated date refers to the date that the current version was last substantively modified.\r\n
    \r\n
    \r\n
    \r\n

    Children

    \r\n
    \r\n Our websites and online services are not intended for children under the age of 13 and we do not knowingly collect personal information from children under age 16, without parental consent. Children under the age of 13 should not provide their personal information to us.\r\n
    \r\n
    \r\n
    \r\n

    Contact Information

    \r\n
    \r\n If you have any questions, comments, or complaints concerning our privacy practices, or if you need to access this {PRIVACY_NOTICE} in an alternative format due to having a disability, please contact us at the appropriate address below. We will attempt to respond to your requests and to provide you with additional privacy-related information.\r\n
    \r\n
    \r\n
      \r\n
    • {HEALTHY_CONTRIBUTIONS_PRIVACY}
    • \r\n
    •  
    • \r\n
    • {HEALTHY_CONTRIBUTIONS_LEGAL_NAME}
    • \r\n
    • Attention: Privacy Department
    • \r\n
    • 111 Weir Drive
    • \r\n
    • Woodbury, Minnesota 55125
    • \r\n
    \r\n
    \r\n
    \r\n If you are not satisfied with our response, and are in the European Union or United Kingdom, you may have a right to lodge a complaint with your local supervisory authority.\r\n
    \r\n
    \r\n
    \r\n

    Additional Information For California Residents

    \r\n
    \r\n California law requires us to disclose the following additional information related to our privacy practices. If you are a California resident, the following privacy disclosures apply to you in addition to the rest of the {PRIVACY_NOTICE}.\r\n
    \r\n
      \r\n
    • \r\n \r\n California Shine the Light.\r\n \r\n  If you would like more information concerning the categories of personal information (if any) we share with third parties or affiliates for those parties to use for direct marketing, please submit a written request to us using the information in the Contact Information section above.\r\n
    • \r\n
    • \r\n \r\n California Notice of Financial Incentive.\r\n \r\n  We offer programs that provides certain perks, such as rewards, discounts, and exclusive offers (the “Loyalty Programs”). When you sign up for a Loyalty Program, we may ask you to provide your name, email address, and in some cases your telephone number. Under California law, our Loyalty Programs might be interpreted as “financial incentive” programs as they involve the collection of personal information. We do not assign a monetary value to the information we collect. Based on our reasonable estimate, the value of your personal information to us is related to the value of the expense related to the offer. This value is based on the expense related to offering those free or discounted products or services. You may withdraw from participating in a Loyalty Program at any time by contacting us at the address described in the Loyalty Program terms and conditions. Visit the applicable loyalty program terms to view full program rules, including how to join.\r\n
    • \r\n
    • \r\n \r\n Notice of Collection.\r\n \r\n Cookie Settings. For details regarding how we use personal information, please see the Information We Collect section of the ${PRIVACY_NOTICE}. For information regarding how long we retain personal information, please refer to the How We Protect And Retain Information section of the ${PRIVACY_NOTICE}.` }} />\r\n
    • \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
      Category of Personal InformationCategory of Recipients
      Disclosures for a Business PurposeSharing for Cross-Context Behavioral Advertising
      \r\n \r\n Identifiers \r\n - this may include real name, alias, postal address, unique personal identifier, online identifier, email address, account name, or other similar identifiers.\r\n \r\n \r\n
        \r\n
      • \r\n Affiliates or subsidiaries\r\n
      • \r\n
      • \r\n Business partners\r\n
      • \r\n
      • \r\n Data analytics providers\r\n
      • \r\n
      • \r\n Internet service providers\r\n
      • \r\n
      • \r\n Joint marketing partners\r\n
      • \r\n
      • \r\n Operating systems and platforms\r\n
      • \r\n
      • \r\n Other Service Providers\r\n
      • \r\n
      • \r\n Payment processors and financial institutions\r\n
      • \r\n
      • \r\n Social networks\r\n
      • \r\n
      \r\n
      \r\n
        \r\n
      • \r\n Advertising networks\r\n
      • \r\n
      \r\n
      \r\n \r\n Government Issued Identification \r\n - this may include social security number, driver's license number, or state issued identification number, passport number from our job applicants.\r\n \r\n \r\n
        \r\n
      • \r\n Affiliates or subsidiaries\r\n
      • \r\n
      • \r\n Other Service Providers\r\n
      • \r\n
      \r\n
      \r\n Not Shared.\r\n
      \r\n \r\n Financial Information \r\n - this may include bank account number, credit card number, debit card number, and other financial information.\r\n \r\n \r\n
        \r\n
      • \r\n Affiliates or subsidiaries\r\n
      • \r\n
      • \r\n Payment processors and financial institutions\r\n
      • \r\n
      • \r\n Other Service Providers\r\n
      • \r\n
      \r\n
      \r\n Not Shared.\r\n
      \r\n \r\n Health Related Information \r\n - this may include medical information, mental or physical condition or treatment.\r\n \r\n \r\n Not disclosed.\r\n \r\n Not Shared.\r\n
      \r\n \r\n Commercial information \r\n - this may include information about products or services purchased, obtained, or considered, or other purchasing or consuming histories or tendencies.\r\n \r\n \r\n
        \r\n
      • \r\n Affiliates or subsidiaries\r\n
      • \r\n
      • \r\n Business partners\r\n
      • \r\n
      • \r\n Data analytics providers\r\n
      • \r\n
      • \r\n Joint marketing partners\r\n
      • \r\n
      • \r\n Payment processors and financial institutions\r\n
      • \r\n
      • \r\n Other Service Providers\r\n
      • \r\n
      \r\n
      \r\n
        \r\n
      • \r\n Advertising networks\r\n
      • \r\n
      \r\n
      \r\n \r\n Internet or other electronic network activity information \r\n - this may include browsing history, search history, and information regarding an individual’s interaction with an internet website, application, or advertisement.\r\n \r\n \r\n
        \r\n
      • \r\n Affiliates or subsidiaries\r\n
      • \r\n
      • \r\n Business partners\r\n
      • \r\n
      • \r\n Data analytics providers\r\n
      • \r\n
      • \r\n Joint marketing partners\r\n
      • \r\n
      • \r\n Operating systems and platforms\r\n
      • \r\n
      • \r\n Other Service Providers\r\n
      • \r\n
      \r\n
      \r\n
        \r\n
      • \r\n Advertising networks\r\n
      • \r\n
      \r\n
      \r\n Geolocation data\r\n \r\n Not disclosed.\r\n \r\n Not Shared.\r\n
      \r\n Audio, electronic, visual, or similar information\r\n \r\n Not disclosed.\r\n \r\n Not Shared.\r\n
      \r\n Inferences drawn from any of the information listed above\r\n \r\n
        \r\n
      • \r\n Affiliates or subsidiaries\r\n
      • \r\n
      • \r\n Business partners\r\n
      • \r\n
      • \r\n Data analytics providers\r\n
      • \r\n
      • \r\n Joint marketing partners\r\n
      • \r\n
      • \r\n Other Service Providers\r\n
      • \r\n
      \r\n
      \r\n
        \r\n
      • \r\n Advertising networks\r\n
      • \r\n
      \r\n
      \r\n \r\n Additional categories of personal information described in the California Customer Records statute (Cal. Civ. Code § 1798.80(e)) \r\n - this may include signature and physical characteristics or description.\r\n \r\n \r\n
        \r\n
      • \r\n Affiliates or subsidiaries\r\n
      • \r\n
      • \r\n Other Service Providers\r\n
      • \r\n
      \r\n
      \r\n Not Shared.\r\n
      \r\n
    • \r\n \r\n California Sensitive Information Disclosure.\r\n \r\n  We collect the following categories of sensitive personal information (as defined under California law): Social security, driver's license, state identification card, or passport number; precise geolocation; and personal information concerning a consumer’s health. This information is collected in order to locate the nearest business, provide tailored services, evaluate job applicants or franchise applicants, manage our business, or otherwise provide you with services. Note that we do not use such information for any purposes that are not identified within the California Privacy Rights Act Section 1798.121. We do not “sell” or “share” sensitive personal information for purposes of cross-context behavioral advertising.\r\n
    • \r\n
    \r\n
    \r\n
    \r\n

    Additional Information For Washington Residents

    \r\n

    Consumer Health Data Privacy Notice

    \r\n
    \r\n Because we offer services to consumers in Washington, we are required to disclose the following additional information related to our data handling practices. If you are a Washington resident, the following privacy disclosures apply to you in addition to the rest of the Privacy Notice. For purposes of this notice, ‘consumer health data’ includes personal information that is linked or reasonably linkable to you and that identifies your past, present, or future physical or mental health status. This also includes any information that we process to associate or identify you with consumer health data.\r\n
    \r\n
    \r\n The following chart describes (a) the categories of consumer health data collected; (b) the categories of recipients of such data, (c) the purpose for which the data is collected, including how the data will be used, and (d) the categories of sources from which the data is collected:\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    Categories of Consumer Health DataList of Categories of RecipientsPurpose/s for which the Data is Collected & How the Data will be UsedCategories of Sources from Which the Data is Collected
    \r\n Personal identifiers\r\n , which may include name, postal address, unique personal identifier, online identifier, email address, account name, or other similar identifiers.\r\n \r\n
      \r\n
    • \r\n Internet service providers\r\n
    • \r\n
    • \r\n Operating systems and platforms\r\n
    • \r\n
    • \r\n Approved processors\r\n
    • \r\n
    • \r\n Joint marketing partners, with consent\r\n
    • \r\n
    • \r\n Payment processors and financial institutions\r\n
    • \r\n
    \r\n
    \r\n When you create an account or register for our services, we collect certain personal identifiers. We use this information to manage your studio membership, account, and related services.\r\n \r\n
      \r\n
    • \r\n From the consumer\r\n
    • \r\n
    \r\n
    \r\n Financial Information\r\n , which may include bank account number, credit card number, debit card number, and other financial information.\r\n \r\n
      \r\n
    • \r\n Payment processors and financial institutions\r\n
    • \r\n
    \r\n
    \r\n When you purchase a studio membership or register for our services, our third-party payment processors and financial institutions collect financial information.\r\n \r\n
      \r\n
    • \r\n From consumer to our payment processors and/or financial institutions\r\n
    • \r\n
    \r\n
    \r\n Wellness and exercise information\r\n , which may include exercise goals, progress, sessions, and related information depending on how you interact with us and use our websites, mobile applications, products, and services.\r\n \r\n
      \r\n
    • \r\n Approved processors\r\n
    • \r\n
    \r\n
    \r\n To help you meet your wellness goals and track progress\r\n \r\n
      \r\n
    • \r\n From the consumer\r\n
    • \r\n
    • \r\n Indirectly via certain third-party applications, outlined directly below\r\n
    • \r\n
    \r\n
    \r\n Health related information\r\n , which may include medical information, mental or physical treatment\r\n \r\n Not disclosed\r\n \r\n If you are a member, where you choose to share this information with the studio.\r\n \r\n
      \r\n
    • \r\n From the consumer\r\n
    • \r\n
    \r\n
    \r\n Commercial information\r\n , which may include information about products or services purchased, obtained, or considered, or other purchasing or consuming histories or tendencies.\r\n \r\n
      \r\n
    • \r\n Internet service providers\r\n
    • \r\n
    • \r\n Joint marketing partners with consent\r\n
    • \r\n
    • \r\n Operating systems and platforms\r\n
    • \r\n
    • \r\n Approved processors\r\n
    • \r\n
    \r\n
    \r\n We use this information to better understand consumer preferences so we can continue to improve our products and services.\r\n \r\n
      \r\n
    • \r\n Approved processors\r\n
    • \r\n
    • \r\n From the consumer\r\n
    • \r\n
    \r\n
    \r\n Internet or other electronic network activity information\r\n , which may include browsing history, search history, and information regarding an individual’s interaction with an internet website, application, or advertisement.\r\n \r\n Not disclosed\r\n \r\n We use this information to better understand consumer preferences so we can continue to improve our products and services.\r\n \r\n
      \r\n
    • \r\n From the consumer\r\n
    • \r\n
    \r\n
    \r\n Audio, electronic, visual, or similar information\r\n \r\n Not disclosed\r\n \r\n We may collect this kind of information, such as during promotional opportunities, and related services.\r\n \r\n
      \r\n
    • \r\n From the consumer\r\n
    • \r\n
    \r\n
    \r\n

    How You May Exercise your Privacy Rights

    \r\n
    \r\n Consumers in the state of Washington have the following rights:\r\n
    \r\n
      \r\n
    • \r\n To confirm whether an entity is collecting, sharing, or selling consumer health data and to access such data (along with a list of all third parties and affiliates with whom the entity has shared or sold the consumer health data and an active email address or other online mechanism for contacting these third parties)\r\n
    • \r\n
    • \r\n To withdraw consent, and\r\n
    • \r\n
    • \r\n To request deletion of consumer health data, including information shared or processed by affiliates, processors, contractors, or other third parties ,as well as archived or back-up systems.\r\n
    • \r\n
    \r\n
    \r\n We have 45 days to respond to your request for access or to withdraw consent, and 30 days to respond to an authenticated deletion request. Note that we will require you to prove your identity. We may verify your identity by phone call or email. Depending on your request, we will ask for information such as your name, email address, telephone number and studio location.\r\n
    \r\n
    \r\n You may exercise the rights described above through our \r\n online portal\r\n or by contacting us as indicated directly below. If we refuse to honor a request, you may appeal our refusal by contacting us with the subject line “Appeal.”\r\n
    \r\n
    \r\n
      \r\n
    • {HEALTHY_CONTRIBUTIONS_PRIVACY}
    • \r\n
    •  
    • \r\n
    • {HEALTHY_CONTRIBUTIONS_LEGAL_NAME}
    • \r\n
    • Attention: Privacy Department
    • \r\n
    • 111 Weir Drive
    • \r\n
    • Woodbury, Minnesota 55125
    • \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    Effective Date: {formattedEffectiveDate}
    \r\n
    Last Update: {formattedEffectiveDate}
    \r\n
    \r\n ;\r\n}\r\nexport default PrivacyNotice;","export default {\r\n formatPrivacyPolicyTitle: (date) => {\r\n const offset = date.getTimezoneOffset();\r\n date = new Date(date.getTime() - (offset * 60 * 1000));\r\n return `Privacy Policy Archive ${date.toISOString().split('T')[0]}`;\r\n }\r\n};","import React, { useEffect } from 'react';\r\nimport routes from '../../../../routing/routes';\r\nimport { HEALTHY_CONTRIBUTIONS_NAME, HEALTHY_CONTRIBUTIONS_LEGAL_NAME, HEALTHY_CONTRIBUTIONS_LEGAL_NAME_WITH_COPYRIGHT } from '../../../../constants/companyNames';\r\nimport { PRIVACY_NOTICE } from '../../../../constants/legal';\r\nimport { HEALTHY_CONTRIBUTIONS_PRIVACY } from '../../../../constants/emails';\r\nimport { HC_PHONE_NUMBER } from '../../../../constants/phones';\r\nimport styles from '../../../../styles/_info-page.module.scss';\r\nimport utilsStyles from '../../../../styles/_utils.module.scss';\r\nimport { downloadAuthorizedAgentDesignationForm } from '../PrivacyNotice/authorizedAgentDesignationFormActions';\r\nimport privacyPolicyArchiveTitleFormatter from '../../../../utilities/formatters/privacyPolicyArchiveTitleFormatter';\r\nimport privacyPolicyEffectiveDateFormatter from '../../../../utilities/formatters/privacyPolicyEffectiveDateFormatter';\r\nimport CustomLink from '../../../../components/controls/CustomLink';\r\n\r\nfunction PrivacyNotice() {\r\n const effectiveDate = new Date(2023, 7, 24);\r\n const formattedEffectiveDate = privacyPolicyEffectiveDateFormatter.formatPrivacyPolicyEffectiveDate(effectiveDate);\r\n useEffect(() => {\r\n document.title = privacyPolicyArchiveTitleFormatter.formatPrivacyPolicyTitle(effectiveDate);\r\n }, []);\r\n const handleDownloadAuthorizedAgentForm = (e) => {\r\n e.preventDefault();\r\n downloadAuthorizedAgentDesignationForm();\r\n };\r\n return
    \r\n
    {`${HEALTHY_CONTRIBUTIONS_NAME} ${PRIVACY_NOTICE}`}
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n To review our previous Privacy Policies, please refer to the previous Privacy Policies.\r\n
    \r\n
    \r\n
    \r\n
    \r\n This {PRIVACY_NOTICE} describes how {HEALTHY_CONTRIBUTIONS_LEGAL_NAME_WITH_COPYRIGHT}, including its officers, directors, employees, affiliates, volunteers, agents and authorized representatives including independent contractors (collectively, “Healthy Contributions,” “we,” “us,” or “our”) collects, uses, shares, and protects personal information. This {PRIVACY_NOTICE} also tells you about your rights and choices with respect to your personal information, and how you can reach us to get answers to your questions.\r\n
    \r\n
    \r\n
    \r\n
    You can jump to particular topics by going to the headings below:
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    Information We Collect
    \r\n
    \r\n We collect information about you in a variety of ways depending on how you interact with us and our websites, mobile applications (where applicable), products, and services, including:\r\n
    \r\n
      \r\n
    • \r\n Directly from you when you provide it to us, such as when you register for an account, sign up to receive communications from us, make a purchase, or contact us by phone, email, or otherwise.\r\n
    • \r\n
    • \r\n Automatically through the use of cookies, web beacons, server logs, and other similar technologies when you interact with our websites, mobile applications, advertisements, and emails.\r\n
    • \r\n
    • \r\n From other sources, including, for example, our affiliates, business partners, service providers, online social media networks, and other third parties, or from publicly available sources. For example, if you submit a job application or an application for a franchise, we may conduct a background check.\r\n
    • \r\n
    \r\n
    \r\n The following provides examples of the type of information that we collect in a variety of contexts and how we use that information.\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    ContextTypes of InformationPrimary Purpose for Collection and Use of Information
    \r\n Account Registration\r\n \r\n When you create an account or register for our services, we collect your name, contact information (such as your email address, and phone number), profile username and password. We also collect information relating to the actions that you perform while logged into your account.\r\n \r\n We have a legitimate interest in providing account related functionalities to our users.\r\n
    \r\n Cookies and First-Party Tracking\r\n \r\n Cookie Settings for more information.' }} />\r\n \r\n We have a legitimate interest in making our website operate efficiently.\r\n
    \r\n Cookies and Third-Party Tracking\r\n \r\n Cookie Settings for more information.' }} />\r\n \r\n Where required by law, we base the use of third-party cookies upon consent.\r\n
    \r\n Demographic Information\r\n \r\n We collect personal information, such as your age or location.\r\n \r\n We have a legitimate interest in understanding our users and providing tailored services.\r\n
    \r\n Inquiries, Comments, and Feedback\r\n \r\n If you contact us, we will collect your name and contact information (such as email address), as well as any other content that you send to us, in order to reply.\r\n \r\n We have a legitimate interest in receiving, and acting upon, your feedback or issues.\r\n
    \r\n Mailing List\r\n \r\n When you sign up for one of our mailing lists, we collect your email address or postal address (as applicable).\r\n \r\n We share information about our products and services with individuals that consent to receive such information, where required by law. We also have a legitimate interest in sharing information about our products or services.\r\n
    \r\n Mobile Application Integrations\r\n \r\n We collect information through integrations with HealthKit™ and/or Google Fit™, to allow us to personalize your app experience, to allow our coaches to measure your progress and adjust programming, and for other related uses.\r\n \r\n We base mobile application integrations upon consent.\r\n
    \r\n Payments\r\n \r\n We collect your name, mailing address, billing address, email address, phone number, and credit card number when you make a purchase, using a third-party payment processing vendor.\r\n \r\n We use your information to perform our contract to provide you with products or services.\r\n
    \r\n Partner Promotion\r\n \r\n We collect information that you provide as part of a co-branded promotion with another company.\r\n \r\n We have a legitimate interest in fulfilling our promotions.\r\n
    \r\n Prospective Employees\r\n \r\n If you are a prospective employee or employee, we may collect detailed information such as your first name, last name, email address, phone number, address, and related information to evaluate your qualifications for employment. This may include, among other things, your Social Security Number. Providing this information is required to be considered for employment.\r\n \r\n In some contexts, we are required by law to collect information about potential employees or applicants. We also have a legitimate interest in using your information to have efficient staffing and work force operations.\r\n
    \r\n Public Health and Safety\r\n \r\n In certain situations where a serious public health threat has been identified (e.g., Covid-19), we may collect information from employees, guests, and other individuals accessing our facilities. This may include medical and health information, such as body temperature, symptoms, and underlying health conditions.\r\n \r\n We have a legitimate interest in protecting the health and safety of our employees and guests. In some jurisdictions we may be required by law, regulation, or governmental order to collect and retain information related to issues of public health and safety. We have a legitimate interest in complying with the laws in the jurisdictions in which we operate.\r\n
    \r\n Surveys\r\n \r\n When you participate in a survey, we collect information that you provide through the survey. If the survey is provided by a third party service provider, the third party's Privacy Notice applies to the collection, use, and disclosure of your information.\r\n \r\n We have a legitimate interest in understanding your opinions, and collecting information relevant to our organization.\r\n
    \r\n Sweepstakes or Contests\r\n \r\n When you participate in a sweepstakes, contest, or other promotional activity, we collect information about you which includes contact information to notify you if you are selected.\r\n \r\n We have a legitimate interest in operating our sweepstakes, contests, and other promotional activities. In some contexts, we are also required by law to collect information about those that enter into our sweepstakes, and we have a legitimate interest in complying with those laws.\r\n
    \r\n Website Interactions\r\n \r\n We use technology to monitor how you interact with our website. This may include which links you click on, or information that you type into our online forms. This may also include information about your device or browser.\r\n \r\n We have a legitimate interest in understanding how you interact with our website to better improve it, and to understand your preferences and interests in order to select offerings that you might find most useful. We also have a legitimate interest in detecting and preventing fraud.\r\n
    \r\n Web Logs\r\n \r\n When you visit our website, we automatically collect certain information, including your browser type, operating system, Internet Protocol (IP) address (a number that is automatically assigned to a computer when the internet is used), domain name, click-activity, referring website, and/or a date/time stamp for visitors.\r\n \r\n We have a legitimate interest in monitoring our networks and the visitors to our websites. Among other things, it helps us understand which of our services is the most popular.\r\n
    \r\n
    \r\n Please note, some of the information described above is mandatory for the performance of certain services, and if not provided, you may not be able to utilize or participate in some of our online services or features.\r\n
    \r\n
    \r\n
    \r\n
    How We Use Information
    \r\n
    \r\n In addition to the purposes and uses described above, we use information in the following ways:\r\n
    \r\n
      \r\n
    • \r\n To identify you when you visit our websites or any of our locations.\r\n
    • \r\n
    • \r\n To provide products and services or to process returns or refunds.\r\n
    • \r\n
    • \r\n To process payments (using a third-party payment processing vendor).\r\n
    • \r\n
    • \r\n To create and manage your account and/or membership.\r\n
    • \r\n
    • \r\n To improve our websites, mobile applications, services, and product offerings.\r\n
    • \r\n
    • \r\n To conduct analytics and research.\r\n
    • \r\n
    • \r\n To communicate with you, such as to respond to and/or follow-up on your requests, inquiries, issues, or feedback.\r\n
    • \r\n
    • \r\n To send you electronic communications you have requested, such as text messages, push notifications, notifications through our mobile application or through your mobile device.\r\n
    • \r\n
    • \r\n To send marketing and promotional materials including information relating to our products, services, sales, or promotions, or those of our business partners.\r\n
    • \r\n
    • \r\n To develop and display content and advertising tailored to your interests and preferences.\r\n
    • \r\n
    • \r\n To detect and protect against malicious, deceptive, fraudulent, or illegal activity, including violation of our policies and terms and conditions, security incidents, and harm to the rights, property, or safety of our company and our users, employees, or others.\r\n
    • \r\n
    • \r\n To debug, identify and repair errors that impair existing intended functionality of our website and services.\r\n
    • \r\n
    • \r\n To comply with our legal or regulatory obligations, to establish or exercise our rights, and to defend against a legal claim.\r\n
    • \r\n
    • \r\n For internal administrative purposes, as well as to manage our relationships.\r\n
    • \r\n
    • \r\n For such other purposes as you may consent (from time to time).\r\n
    • \r\n
    \r\n
    \r\n Although the sections above describe our primary purpose in collecting your information, in many situations we have more than one purpose. For example, if you complete an online purchase, we may collect your information to perform our contract with you, but we also collect your information as we have a legitimate interest in maintaining your information after your transaction is complete so that we can quickly and easily respond to any questions about your order. As a result, our collection and processing of your information is based in different contexts upon your consent, our need to perform a contract, our obligations under law, and/or our legitimate interest in conducting our business.\r\n
    \r\n
    \r\n To the extent we maintain and use personal information in a deidentified form, we will not attempt to reidentify the information, except for the purpose of determining whether our deidentification processes satisfy our legal obligations.\r\n
    \r\n
    \r\n
    \r\n
    How We Share Information
    \r\n
    \r\n In addition to the specific situations discussed elsewhere in this {PRIVACY_NOTICE}, we may disclose personal information in the following situations:\r\n
    \r\n
      \r\n
    • \r\n \r\n Affiliates and Acquisitions.\r\n \r\n  We may share information with our corporate affiliates (e.g., parent company, sister companies, subsidiaries, joint ventures, or other companies under common control). If another company acquires, or plans to acquire, our company, business, or our assets, we will also share information with that company, including at the negotiation stage.\r\n
    • \r\n
    • \r\n \r\n Franchisees and Business Partners.\r\n \r\n  We may share information with our franchisees, or other business partners with whom we collaborate or work with to provide specific services to you.\r\n
    • \r\n
    • \r\n \r\n Other Disclosures without Your Consent.\r\n \r\n  We may disclose information in response to subpoenas, warrants, or court orders, or in connection with any legal process, or to comply with relevant laws or regulations. We may also disclose your information in order to establish or exercise our rights, to defend against a legal claim, to investigate, prevent, or take action regarding possible illegal activities, suspected fraud, safety of person or property, or a violation of our policies.\r\n
    • \r\n
    • \r\n \r\n Partner Promotion.\r\n \r\n  We may offer contests, sweepstakes, or other promotions with third-party partners. If you decide to enter a contest, sweepstakes, or promotion that is sponsored by a third-party partner, the information that you provide will be shared with us and with them. Their use of your information is not governed by this {PRIVACY_NOTICE}.\r\n
    • \r\n
    • \r\n \r\n Service Providers.\r\n \r\n  We may share your information with service providers. Among other things service providers may help us to maintain our website and/or mobile applications, conduct analytics, administer surveys, provide technical support, process payments, assist with customer services, and manage direct marketing programs on our behalf.\r\n
    • \r\n
    • \r\n \r\n Other Disclosures with Your Consent.\r\n \r\n  We may disclose your information to other third parties when we have your consent or direction to do so.\r\n
    • \r\n
    \r\n
    \r\n
    \r\n
    Your Choices
    \r\n
    \r\n Some jurisdictions give you a right to make the following choices regarding your personal information:\r\n
    \r\n
      \r\n
    • \r\n \r\n Access To Your Personal Information.\r\n \r\n  You may request access to your personal information or confirmation that we have information about you. In certain limited circumstances, you may also request to receive access to your data in a portable, machine-readable format.\r\n
    • \r\n
    • \r\n \r\n Changes To Your Personal Information.\r\n \r\n  You may ask us to correct information that is inaccurate or incomplete. Note that we may keep historical information in our backup files as permitted by law. We rely on you to update and correct your personal information. You may edit or deactivate your account information or account at any time by signing into your account on the website or mobile application and navigating through your settings. If our website or mobile application does not permit you to update or correct certain information, you can contact us at the address described below in order to request that your information by modified.\r\n
    • \r\n
    • \r\n \r\n Deletion Of Your Personal Information.\r\n \r\n  You may request that we delete your personal information. If required by law, we will grant a request to delete information, but you should note that in many situations we must keep your personal information to comply with our legal obligations, resolve disputes, enforce our agreements, or for another business purposes.\r\n
    • \r\n
    • \r\n \r\n Opt-out of Sharing for Targeted Advertising.\r\n \r\n here. Please note that if you change browsers or computers, or if you clear your browser's cache, you may need to click the link again to apply your preference. You may also opt-out of other forms of targeted advertising by submitting a request via the “Do Not Sell or Share My Information” button in our ' }} />\r\n \r\n online portal\r\n .\r\n
    • \r\n
    • \r\n \r\n Objection to or Restriction of Certain Processing.\r\n \r\n  In certain limited circumstances, you may object to or restrict our processing of your personal information.\r\n
    • \r\n
    • \r\n \r\n Revocation Of Consent.\r\n \r\n  Where we process your personal information based upon consent, you may revoke consent. Please note, if you revoke your consent for the processing of personal information then we may no longer be able to provide you services.\r\n
    • \r\n
    • \r\n \r\n Online Tracking.\r\n \r\n  We do not currently recognize the “Do Not Track” signal.\r\n
    • \r\n
    • \r\n \r\n Promotional Emails.\r\n \r\n  You may choose to provide us with your email address for the purpose of allowing us to send free newsletters, surveys, offers, and other promotional materials to you, as well as targeted offers from third parties. You can stop receiving promotional emails by following the unsubscribe instructions in emails that you receive. If you decide not to receive promotional emails, we may still send you service related communications.\r\n
    • \r\n
    • \r\n \r\n Promotional Mailings.\r\n \r\n  If at any time you do not want to receive offers and/or circulars from us you can remove yourself from our mailing lists by emailing us (our contact information is below) with “NO SNAIL MAIL” in the subject line along with your name, address, and zip code. Please note that our mailings are prepared in advance of their being sent. Although we will remove your name from our mailing list after receiving your request, you may still receive mailings from us that had been initiated prior to your name being removed.\r\n
    • \r\n
    • \r\n \r\n Promotional Text Messages.\r\n \r\n  If you receive a text message from us that contains promotional information you can opt-out of receiving future text messages by replying “STOP.”\r\n
    • \r\n
    \r\n
    \r\n Please note, not all of the rights described above are absolute, and they do not apply in all circumstances. In some cases, we may limit or deny your request because the law permits or requires us to do so, or if we are unable to adequately verify your identity. We will not discriminate against individuals who exercise their privacy rights under applicable law.\r\n
    \r\n
    Submitting Requests
    \r\n
    \r\n You may exercise the rights described above through our \r\n \r\n online portal\r\n \r\n  or by contacting us as indicated in the “Contact Information” section below. If you are a California resident, you may also call our toll-free number at {HC_PHONE_NUMBER}. If we refuse to honor a request, you may appeal our refusal by contacting us with the subject line “Appeal.”\r\n
    \r\n
    \r\n Note that, as required by law, we will require you to prove your identity. We may verify your identity by phone call or email. Depending on your request, we will ask for information such as your name, email address and telephone number. Following a request, we will use reasonable efforts to supply, correct or delete personal information about you in our files.\r\n
    \r\n
    Authorized Agents
    \r\n
    \r\n In some circumstances, you may designate an authorized agent to submit requests to exercise certain privacy rights on your behalf. If you are an authorized agent submitting a request on behalf of an individual, you must attach a copy of a completed \r\n \r\n Authorized Agent Designation Form\r\n  \r\n indicating that you have permission to act on another person's behalf.\r\n
    \r\n
    \r\n
    \r\n
    How We Protect and Retain Information
    \r\n
    \r\n No method of transmission over the internet, or method of electronic storage, is fully secure. While we use reasonable efforts to protect your personal information from unauthorized access, use, or disclosure, we cannot guarantee the security of your personal information. In the event that we are required by law to inform you of a breach to your personal information we may notify you electronically, in writing, or by telephone, if permitted to do so by law.\r\n
    \r\n
    \r\n Some of our websites and mobile applications permit you to create an account. When you do you will be prompted to create a password. You are responsible for maintaining the confidentiality of your password, and you are responsible for any access to or use of your account by someone else that has obtained your password, whether or not such access or use has been authorized by you. You should notify us of any unauthorized use of your password or account.\r\n
    \r\n
    \r\n We retain your personal information for only as long as necessary to fulfill the purposes outlined in this {PRIVACY_NOTICE}, including for the purposes of satisfying any legal, accounting, or reporting requirements, unless a longer retention period is required or permitted by law. To determine the appropriate retention period for personal information, we consider the amount, nature, and sensitivity of the information, the potential risk of harm from unauthorized use or disclosure of the information, the purposes for which we obtained the information and whether we can achieve those purposes through other means, as well as applicable legal requirements.\r\n
    \r\n
    \r\n
    \r\n
    Transmission Of Information To Other Countries
    \r\n
    \r\n As a multi-national company, we transmit information between and among our affiliates. As a result, your information may be processed in a foreign country where privacy laws may be less stringent than the laws in your country. Nonetheless, where possible we take steps to treat personal information using the same privacy principles that apply pursuant to the law of the country in which we first received your information. By submitting your personal information to us you agree to the transfer, storage, and processing of your information in a country other than your country of residence including, but not necessarily limited to, the United States.\r\n
    \r\n
    \r\n
    \r\n
    Third-Party Applications/Websites
    \r\n
    \r\n For your convenience, we may provide links to websites and other third-party content or services that we do not own or operate. The websites and third-party content to which we link may have separate privacy notices or policies. Please note, we have no control over the privacy practices websites, or services that we do not own. We encourage you to review the privacy policies of any third-party website or application for details about such third party’s privacy practices.\r\n
    \r\n
    \r\n
    \r\n
    Changes To This {PRIVACY_NOTICE}
    \r\n
    \r\n Our {PRIVACY_NOTICE} includes an “effective” and “last updated” date. The effective date refers to the date that the current version took effect. The last updated date refers to the date that the current version was last substantively modified.\r\n
    \r\n
    \r\n
    \r\n
    Children
    \r\n
    \r\n Our websites and online services are not intended for children under the age of 13 and we do not knowingly collect personal information from children under age 16, without parental consent. Children under the age of 13 should not provide their personal information to us.\r\n
    \r\n
    \r\n
    \r\n
    Contact Information
    \r\n
    \r\n If you have any questions, comments, or complaints concerning our privacy practices, or if you need to access this {PRIVACY_NOTICE} in an alternative format due to having a disability, please contact us at the appropriate address below. We will attempt to respond to your requests and to provide you with additional privacy-related information.\r\n
    \r\n
    \r\n {HEALTHY_CONTRIBUTIONS_PRIVACY}
    \r\n {HEALTHY_CONTRIBUTIONS_LEGAL_NAME}
    \r\n Attention: Privacy Department
    \r\n 111 Weir Drive
    \r\n Woodbury, Minnesota 55125
    \r\n
    \r\n
    \r\n If you are not satisfied with our response, and are in the European Union or United Kingdom, you may have a right to lodge a complaint with your local supervisory authority.\r\n
    \r\n
    \r\n
    \r\n
    Additional Information For California Residents
    \r\n
    \r\n California law requires us to disclose the following additional information related to our privacy practices. If you are a California resident, the following privacy disclosures apply to you in addition to the rest of the {PRIVACY_NOTICE}.\r\n
    \r\n
      \r\n
    • \r\n \r\n California Shine the Light.\r\n \r\n  If you would like more information concerning the categories of personal information (if any) we share with third parties or affiliates for those parties to use for direct marketing, please submit a written request to us using the information in the Contact Information section above.\r\n
    • \r\n
    • \r\n \r\n California Notice of Financial Incentive.\r\n \r\n  We offer programs that provides certain perks, such as rewards, discounts, and exclusive offers (the “Loyalty Programs”). When you sign up for a Loyalty Program, we may ask you to provide your name, email address, and in some cases your telephone number. Under California law, our Loyalty Programs might be interpreted as “financial incentive” programs as they involve the collection of personal information. We do not assign a monetary value to the information we collect. Based on our reasonable estimate, the value of your personal information to us is related to the value of the expense related to the offer. This value is based on the expense related to offering those free or discounted products or services. You may withdraw from participating in a Loyalty Program at any time by contacting us at the address described in the Loyalty Program terms and conditions. Visit the applicable loyalty program terms to view full program rules, including how to join.\r\n
    • \r\n
    • \r\n \r\n Notice of Collection.\r\n \r\n Cookie Settings. For details regarding how we use personal information, please see the Information We Collect section of the ${PRIVACY_NOTICE}. For information regarding how long we retain personal information, please refer to the How We Protect And Retain Information section of the ${PRIVACY_NOTICE}.` }} />\r\n
    • \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
      Category of Personal InformationCategory of Recipients
      Disclosures for a Business PurposeSharing for Cross-Context Behavioral Advertising
      \r\n \r\n Identifiers \r\n - this may include real name, alias, postal address, unique personal identifier, online identifier, email address, account name, or other similar identifiers.\r\n \r\n \r\n
        \r\n
      • \r\n Affiliates or subsidiaries\r\n
      • \r\n
      • \r\n Business partners\r\n
      • \r\n
      • \r\n Data analytics providers\r\n
      • \r\n
      • \r\n Internet service providers\r\n
      • \r\n
      • \r\n Joint marketing partners\r\n
      • \r\n
      • \r\n Operating systems and platforms\r\n
      • \r\n
      • \r\n Other Service Providers\r\n
      • \r\n
      • \r\n Payment processors and financial institutions\r\n
      • \r\n
      • \r\n Social networks\r\n
      • \r\n
      \r\n
      \r\n
        \r\n
      • \r\n Advertising networks\r\n
      • \r\n
      \r\n
      \r\n \r\n Government Issued Identification \r\n - this may include social security number, driver's license number, or state issued identification number, passport number from our job applicants.\r\n \r\n \r\n
        \r\n
      • \r\n Affiliates or subsidiaries\r\n
      • \r\n
      • \r\n Other Service Providers\r\n
      • \r\n
      \r\n
      \r\n Not Shared.\r\n
      \r\n \r\n Financial Information \r\n - this may include bank account number, credit card number, debit card number, and other financial information.\r\n \r\n \r\n
        \r\n
      • \r\n Affiliates or subsidiaries\r\n
      • \r\n
      • \r\n Payment processors and financial institutions\r\n
      • \r\n
      • \r\n Other Service Providers\r\n
      • \r\n
      \r\n
      \r\n Not Shared.\r\n
      \r\n \r\n Health Related Information \r\n - this may include medical information, mental or physical condition or treatment.\r\n \r\n \r\n Not disclosed.\r\n \r\n Not Shared.\r\n
      \r\n \r\n Commercial information \r\n - this may include information about products or services purchased, obtained, or considered, or other purchasing or consuming histories or tendencies.\r\n \r\n \r\n
        \r\n
      • \r\n Affiliates or subsidiaries\r\n
      • \r\n
      • \r\n Business partners\r\n
      • \r\n
      • \r\n Data analytics providers\r\n
      • \r\n
      • \r\n Joint marketing partners\r\n
      • \r\n
      • \r\n Payment processors and financial institutions\r\n
      • \r\n
      • \r\n Other Service Providers\r\n
      • \r\n
      \r\n
      \r\n
        \r\n
      • \r\n Advertising networks\r\n
      • \r\n
      \r\n
      \r\n \r\n Internet or other electronic network activity information \r\n - this may include browsing history, search history, and information regarding an individual’s interaction with an internet website, application, or advertisement.\r\n \r\n \r\n
        \r\n
      • \r\n Affiliates or subsidiaries\r\n
      • \r\n
      • \r\n Business partners\r\n
      • \r\n
      • \r\n Data analytics providers\r\n
      • \r\n
      • \r\n Joint marketing partners\r\n
      • \r\n
      • \r\n Operating systems and platforms\r\n
      • \r\n
      • \r\n Other Service Providers\r\n
      • \r\n
      \r\n
      \r\n
        \r\n
      • \r\n Advertising networks\r\n
      • \r\n
      \r\n
      \r\n Geolocation data\r\n \r\n Not disclosed.\r\n \r\n Not Shared.\r\n
      \r\n Audio, electronic, visual, or similar information\r\n \r\n Not disclosed.\r\n \r\n Not Shared.\r\n
      \r\n Inferences drawn from any of the information listed above\r\n \r\n
        \r\n
      • \r\n Affiliates or subsidiaries\r\n
      • \r\n
      • \r\n Business partners\r\n
      • \r\n
      • \r\n Data analytics providers\r\n
      • \r\n
      • \r\n Joint marketing partners\r\n
      • \r\n
      • \r\n Other Service Providers\r\n
      • \r\n
      \r\n
      \r\n
        \r\n
      • \r\n Advertising networks\r\n
      • \r\n
      \r\n
      \r\n \r\n Additional categories of personal information described in the California Customer Records statute (Cal. Civ. Code § 1798.80(e)) \r\n - this may include signature and physical characteristics or description.\r\n \r\n \r\n
        \r\n
      • \r\n Affiliates or subsidiaries\r\n
      • \r\n
      • \r\n Other Service Providers\r\n
      • \r\n
      \r\n
      \r\n Not Shared.\r\n
      \r\n
    • \r\n \r\n California Sensitive Information Disclosure.\r\n \r\n  We collect the following categories of sensitive personal information (as defined under California law): Social security, driver's license, state identification card, or passport number; precise geolocation; and personal information concerning a consumer’s health. This information is collected in order to locate the nearest business, provide tailored services, evaluate job applicants or franchise applicants, manage our business, or otherwise provide you with services. Note that we do not use such information for any purposes that are not identified within the California Privacy Rights Act Section 1798.121. We do not “sell” or “share” sensitive personal information for purposes of cross-context behavioral advertising.\r\n
    • \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    Effective Date: {formattedEffectiveDate}
    \r\n
    Last Update: {formattedEffectiveDate}
    \r\n
    ;\r\n}\r\nexport default PrivacyNotice;","import React, { useEffect } from 'react';\r\nimport routes from '../../../../routing/routes';\r\nimport { HEALTHY_CONTRIBUTIONS_NAME } from '../../../../constants/companyNames';\r\nimport CustomLink from '../../../../components/controls/CustomLink';\r\nimport styles from '../../../../styles/_info-page.module.scss';\r\n\r\nfunction PrivacyArchives() {\r\n useEffect(() => {\r\n document.title = 'Privacy Policy Archive Index';\r\n }, []);\r\n return
    \r\n

    {HEALTHY_CONTRIBUTIONS_NAME} Privacy Policy Archives

    \r\n
    \r\n
    \r\n
    \r\n
    Below is a list of past Privacy Policies
    \r\n
    \r\n
    \r\n
    Privacy Policy January 10, 2023
    \r\n
    California Privacy Policy January 10, 2023
    \r\n
    Privacy Notice August 24, 2023
    \r\n
    \r\n
    \r\n
    \r\n
    ;\r\n}\r\n\r\nexport default PrivacyArchives;","import React, { useEffect } from 'react';\r\nimport routes from '../../../../routing/routes';\r\nimport { HEALTHY_CONTRIBUTIONS_LEGAL_NAME } from '../../../../constants/companyNames';\r\nimport { HEALTHY_CONTRIBUTIONS_PRIVACY } from '../../../../constants/emails';\r\nimport { HEALTHY_CONTRIBUTIONS } from '../../../../constants/websites';\r\nimport styles from '../../../../styles/_info-page.module.scss';\r\nimport utilsStyles from '../../../../styles/_utils.module.scss';\r\nimport privacyPolicyArchiveTitleFormatter from '../../../../utilities/formatters/privacyPolicyArchiveTitleFormatter';\r\nimport privacyPolicyEffectiveDateFormatter from '../../../../utilities/formatters/privacyPolicyEffectiveDateFormatter';\r\nimport CustomLink from '../../../../components/controls/CustomLink';\r\n\r\nfunction PrivacyPolicy20230110() {\r\n const effectiveDate = new Date(2023, 0, 10);\r\n const formattedEffectiveDate = privacyPolicyEffectiveDateFormatter.formatPrivacyPolicyEffectiveDate(effectiveDate);\r\n useEffect(() => {\r\n document.title = privacyPolicyArchiveTitleFormatter.formatPrivacyPolicyTitle(effectiveDate);\r\n }, []);\r\n return
    \r\n
    Privacy Policy
    \r\n
    Effective Date: {formattedEffectiveDate}
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n This Privacy Policy outlines {HEALTHY_CONTRIBUTIONS_LEGAL_NAME}’s (“we” or “us”) current policy on personal information concerning program partners, participating facilities, their owners, employees and members, and covers the operations of our fitness incentive data and/or payment processing and/or reimbursement programs, business development, and use of our website: {HEALTHY_CONTRIBUTIONS} (the “Sites”).\r\n
    \r\n
    \r\n By using Healthy Contributions® services, products, tools or resources, you agree to the terms of this Privacy Policy and our Terms of Use. You may refuse or withdraw your consent at any time; however, we may not then be able to provide you with our full range of products and services. You may not use the Sites or our products or services if you do not agree to the Privacy Policy.\r\n
    \r\n
    \r\n This policy may change from time to time. Your continued use after we make changes is deemed to be acceptance of those changes, so please check the policy periodically for updates.\r\n
    \r\n
    \r\n We encourage you to read this whenever you visit our fitness clubs or Sites, since we may change this policy from time to time. A copy of the current policy is always posted at \r\n \r\n https://portal.healthycontributions.com/privacy\r\n \r\n
    \r\n
    \r\n
    \r\n
    Territories
    \r\n
    This Privacy Policy covers our activities throughout the world. We may host the Sites or information within the Sites on servers located within these countries or in any other country we, our service providers, or our service providers’ vendors maintain facilities, including the United States. This means that your personal information may be stored on servers located within any country. The locations of our servers may change from time-to-time. Further, our participating facilities may maintain individual websites in the country or territory they service.
    \r\n
    Privacy requirements and treatment of personal information varies from state to state, and country to country. To meet these requirements, we have included certain “Location-Specific Notices” at the end of this Privacy Policy. These “Location-Specific Notices” are intended to supplement this Privacy Policy. For a more complete review of how we handle your personal information, please review this Privacy Policy in its entirety.
    \r\n
    \r\n
    \r\n
    Consent
    \r\n
    BY SUBMITTING YOUR PERSONAL INFORMATION TO US, YOU ARE CONSENTING TO THE PROCESSING OF YOUR PERSONAL INFORMATION IN THE UNITED STATES OR IN ANY OTHER COUNTRY IN THE WORLD AND TO OUR USE OF YOUR PERSONAL INFORMATION AS SET FORTH IN THIS PRIVACY POLICY. IF YOU ARE SUBMITTING PERSONAL INFORMATION OF THIRD PARTIES TO US, YOU WARRANT AND REPRESENT YOU HAVE THEIR CONSENT TO PROVIDE THEIR PERSONAL INFORMATION TO US AND WILL HOLD US HARMLESS FROM AND AGAINST CLAIMS BY SUCH INDIVIDUALS RELATING TO OUR PROCESSING AND USE OF SUCH PERSONAL INFORMATION WITHIN THE TERMS OF THIS PRIVACY POLICY.
    \r\n
    \r\n
    \r\n
    1. Personal Information We Collect through the Site
    \r\n
    In general, you can browse the non-password protected portions of our Sites without telling us who you are or revealing any personal information about yourself, except for our collection of “cookies” as described in Section 3.
    \r\n
    We may collect personal information from you on our Site or through any other digital or personal communication with you. Information collected by us is voluntarily provided by you and may be integrated with other information you have provided to us or our participating facilities upon signing up for a membership or fitness incentive and/or reimbursement program.
    \r\n
    Our Site may also collect general information about your technology interface or preferences (such as the type of browser used or the files requested). Some of the information described below is mandatory for the performance of certain services, and if not entered, you may not be able to utilize or participate in some of our online services or features.
    \r\n
    The information we may collect through your use of the Site may include, but is not limited to:
    \r\n
      \r\n
    • Where the account registration feature is available, your contact information to create an Healthy Contributions account, such as your first name, last name, phone number, and email address;
    • \r\n
    • Where the account registration feature is available, your profile username and password to enter the password-protected portion of the Site;
    • \r\n
    • Your transaction history relating to the use of participating facilities, purchase of certain products or other information you wish to share with us and integrate with the Site;
    • \r\n
    • If integration with your membership is available to you, membership-related information, such as your home address, participating facility location, key FOB number, and membership number;
    • \r\n
    • Fitness-related information provided in the membership process, such as your height, weight, general fitness-related goals or other information helpful to achieving your fitness goal;
    • \r\n
    • Information regarding training sessions, classes, or other information regarding your utilization of services at the club-level;
    • \r\n
    • Information provided by you when you participate in a survey or communication to you regarding your use of the Site, or utilizing Healthy Contributions services;
    • \r\n
    • Information provided by you to participate in advertising contests or sweepstakes;
    • \r\n
    • Various account information related to your Healthy Contributions account to allow you to update credit card, bank account, other payment information, or any other information regarding your profile;
    • \r\n
    • Computer data or files, often called “cookies,” which may be sent by your web browser and stored on an individual computer to allow our server to “recognize” you through the navigation of the Site and for us to credit your account for various online transactions;
    • \r\n
    • Computer data files, often called “web beacons” that are collected from emails or links on third-party sites that allow our server to evaluate the popularity of those links or the information contained in emails or on third-party sites; and
    • \r\n
    • Your IP address to measure our website traffic and to help provide a more personalized experience.
    • \r\n
    \r\n
    \r\n
    \r\n
    Children Under the Age of 13
    \r\n
    Our Site is not designed for children and we do not knowingly collect information from any person under the age of 13. If you are under the age of 13, please do not submit any personal information to us through the Site. If we learn we have collected or received personal information from a child under 13, we will delete that information.
    \r\n
    \r\n
    \r\n
    2. How We Use and Share Your Personal Information
    \r\n
    We will use your personal information to provide the services we offer on the Site, including:
    \r\n
      \r\n
    • Processing and updating your account and/or membership information, including personal information you provide, credit card information or other electronic payment processing;
    • \r\n
    • Processing your incentive or reimbursement information;
    • \r\n
    • Contacting you regarding services you have engaged in or with;
    • \r\n
    • Providing you with information regarding participating facility locations nearest to you or certain information regarding your facility;
    • \r\n
    • Conducting marketing and research, through direct surveys to you, but also through our or participating facilities’ communication with you;
    • \r\n
    • Providing you with information you have requested from us, our facilities or their employees;
    • \r\n
    • Developing and displaying content and advertising tailored to your interests and preferences;
    • \r\n
    • Sending you electronic communications you have requested, such as text messages, push notifications, notifications through our Site; or
    • \r\n
    • Contact you regarding updates to the Site or provide administrative notices to you.
    • \r\n
    \r\n
    \r\n
    \r\n
    We strive to offer you integrated, comprehensive fitness incentive and reimbursement programs. In order to operate the Site as one seamless experience, however, we must share your personal information with our parent company, subsidiaries, and affiliates to provide you with the integrated services offered through the Site. We may also share such information with our participating facilities and program partners, or other business partners with whom we collaborate or work with to provide specific services to you or if we think the products or services they offer would be of interest to you. We may provide user information to third-party service providers or vendors for purposes of, including without limitation, initiating direct marketing programs on our behalf, data tracking, maintenance or development of our Site, development of online products and services, customer service or new product development, or other contracted promotional opportunities provided to our users. We, as well as our franchisees, vendors, or other business partners may use this information for marketing and solicitation purposes.
    \r\n
    Your fitness club visit data and personal information may be made available to participating facilities and program partners for the administration of fitness incentive and reimbursement programs and therefore may be available to participating facilities, including their management and employees, or other contracted service providers whom you have engaged to provide services to you. Each of those parties is obligated to maintain the confidentiality of your personal information, and is permitted to access and use your personal information solely for the purpose of providing or enhancing services you use through our programs.
    \r\n
    While we try to be selective in working with third parties, we are not responsible for their use of your personal information. Where payments are involved, we must release your credit card information to credit card authorization service providers and associated banks to process your fitness incentive reimbursements, if applicable. We may transfer to our online service providers personal information you provide to us so that these parties may store and process your personal information.‎
    \r\n
    We may share aggregate information with vendors, potential advertisers, business partners, or other third parties. Aggregate information does not include personally identifiable information.
    \r\n
    Except as described in this section, we will not give or sell your personal information to any other party for its use in marketing or solicitation.
    \r\n
    \r\n
    \r\n
    Additional Disclosures
    \r\n
    We may also disclose personal information in any of the following circumstances: (1) in response to a subpoena, search warrant, court order, or other legal process or request, or as may otherwise be required by applicable law or regulation; (2) to protect and defend our rights or property or those of its franchisees, suppliers, related entities, affiliates, business partners, or others; or (3) as we, in our sole discretion, believe is appropriate under exigent circumstances in response to a perceived threat to the personal safety, property, or rights of any other person or organization.
    \r\n
    In addition, since member information on our Site is a business asset, in the event we are reorganized or sold to or merged with another company, we may sell, assign, or transfer your personal information to a purchaser of all or substantially all of our business assets, or to an affiliate, as applicable.
    \r\n
    \r\n
    \r\n
    3. Our Use of Your “Cookie” Information on the Site
    \r\n
    A “cookie” is a small data file stored on your web browser or on your mobile device that allows us to recognize your computer or mobile device when you visit the Site by associating identification numbers with other user information you have provided us. Some cookies will remain on the hard drive of your computer or mobile device for the duration of your browser or user session, while others will remain until deleted by you. You may also be able to configure your computer or mobile device to limit the collection of these “cookies,” but that limitation may also limit our ability to provide all the services or functionality of the Site. Some third party service providers may use “flash cookies,” which are saved on your computer, but cannot be rejected, disabled, turned off, opted out of, or deleted in the same way as regular cookies. To learn how to manage your flash cookie settings, visit the Flash player settings page on Adobe’s website.
    \r\n
    We may also use third-party vendors, such as Google Analytics, to advertise to our users online. These third-party vendors may display Healthy Contributions product advertisements on other websites based on your internet usage. More specifically, these vendors use first-party cookies (such as the Google Analytic cookie) and third-party cookies (such as the DoubleClick cookie) together to inform, optimize, and serve ads based on your past visits to the Site or another site affiliated with Healthy Contributions products or services. Any information that these third parties collect via cookies is not linked to any personally identifiable information (name, address, email address, or phone number) we collect or you provide on the website. You can opt-out of Google Analytics for Display Advertising by using Google’s Ads Settings.
    \r\n
    \r\n
    \r\n
    4. Our Relationship with the Websites
    \r\n
    Other websites may contain links to the Sites. We do not review or monitor the websites linked to the Sites and are not responsible for the contents or privacy policies related to any other websites. If you visit one of these other websites, you may want to review the privacy policy on that website. Where the Sites contains a link to another website owned and/or operated by us, such website use may be subject to different and additional terms of service and privacy policy terms and conditions.
    \r\n
    \r\n
    \r\n
    5. Access and Correction of your Personal Information
    \r\n
    We strive to maintain the accuracy and integrity of the personal information in our databases and to keep that information up-to-date. We encourage you to promptly update your personal information if it changes. You may edit or deactivate your account information or account at any time by signing into your account on the Site and navigating through your settings. You may request a copy of the personal information we have about you. You may send a request by letter to: {HEALTHY_CONTRIBUTIONS_LEGAL_NAME}, Attention: Data Protection Officer, 111 Weir Drive, Woodbury, Minnesota 55125 U.S.A.
    \r\n
    Unless otherwise stated in an addendum, all communications must be in the English language. We will respond to reasonable requests within the time limits established by applicable law or within a reasonable time if no time limit is established by applicable law. For your protection, we may ask you for additional information to verify your identity. In most cases, we will provide the information you request and correct or delete any inaccurate personal information you discover. We reserve the right, however, to limit or deny your request to the extent permitted by applicable law if: (1) the disclosure may be threat to the personal safety, property, or rights of any other person or organization; (2) the disclosure may lead to a violation of applicable laws or regulations; or (3) where you have failed to provide sufficient evidence to verify your identity.
    \r\n
    \r\n
    \r\n
    Opting Out or Unsubscribing
    \r\n
    You may opt out of certain collections of cookies or other web- or mobile device based enhancements, including geolocation data collection, by changing your browser settings or going into your preferences on your mobile device and restricting the transmission of certain information. Your limitation of the collection of this information, however, may disable our ability to provide you with the most relevant products or information regarding the Site. Currently, our servers do not respond to browser “do not track” signals. If you would like more information regarding online marketing practices and know your choices about not having this information used by our third party service providers, you may visit \r\n \r\n www.networkadvertising.org/choices\r\n .\r\n
    \r\n
    To unsubscribe from our emails or other communication from us or a third party, you may follow the “unsubscribe” link at the bottom of the email or sign onto your account and change your email settings. To unsubscribe from text messages or any other mobile messages, you may follow the instructions provided at the time of opt-in or contact us at {HEALTHY_CONTRIBUTIONS_PRIVACY}.
    \r\n
    \r\n
    \r\n
    6. Security of Your Personal Information
    \r\n
    We take reasonable precautions and have implemented managerial and technical procedures to try to protect the security of data and information, including personal information. However, we cannot guarantee against any loss, misuse, unauthorized disclosure, or alteration or destruction of data or personal information. You provide your personal information to us at your own risk. You acknowledge that: (1) there are security and privacy limitations in computer systems and on the Internet which are beyond our control; (2) the security, integrity, and privacy of any and all information and data exchanged between you and us through the Sites, including personal information, cannot be guaranteed; and (3) any such information and data, including personal information, may be viewed or tampered with by a third party while such information or data is being used, transmitted, processed, or stored. We collect, maintain, utilize and disclose your information only as required by law and as described in this Privacy Policy.
    \r\n
    \r\n
    \r\n
    7. Retention of Your Personal Information
    \r\n
    We keep your personal information only as long as we need it for the purposes for which it was originally collected (or to which you have subsequently consented) or for other legitimate purposes (such as regulatory compliance), or as permitted by applicable law.
    \r\n
    \r\n
    \r\n
    8. Changes to our Privacy Policy
    \r\n
    We reserve the right to modify this Privacy Policy, completely or in part, from time to time through the posting of notices on the Sites, at any time and without notice to you, that this Privacy Policy has changed (“Notices”). You expressly waive any right to receive Notices. You should check the Sites frequently for Notices to identify modifications of the Privacy Policy that may be of interest to you. Any use of the Sites following the date on which we implement changes to this Privacy Policy or post a Notice constitutes your acceptance of all such changes.
    \r\n
    For questions or comments related to this Privacy Policy, please email us at {HEALTHY_CONTRIBUTIONS_PRIVACY}.
    \r\n
    \r\n
    \r\n
    9. How to Contact Us
    \r\n
    For further information or enquiries regarding your personal information (including to request access to or correction of your personal information or to make a privacy complaint), please contact our Data Protection Officer at:
    \r\n
    \r\n {HEALTHY_CONTRIBUTIONS_LEGAL_NAME}
    \r\n Attention: Data Protection Officer
    \r\n 111 Weir Drive, Woodbury
    \r\n Minnesota 55125 U.S.A.
    \r\n {HEALTHY_CONTRIBUTIONS_PRIVACY}\r\n
    \r\n
    If you have a complaint about how we have collected or handled your personal information, please contact our Data Protection Officer at the mail address set forth above.
    \r\n
    \r\n
    \r\n
    10. Location-Specific Notices
    \r\n
    Your California Privacy Rights
    \r\n
    If you are a California resident, please also visit our Privacy Notice for California Residents, which supplements this Privacy Policy at \r\n \r\n https://portal.healthycontributions.com/ccpa/\r\n .\r\n
    \r\n
    In addition, California Civil Code Section § 1798.83 permits users of our Site or Apps that are California residents to request certain information regarding our disclosure of personal information to third parties for their direct marketing purposes. To make such a request, please contact our Data Protection Officer.
    \r\n
    Your Nevada Privacy Rights
    \r\n
    Nevada law allows consumers to direct certain businesses not to license or sell their personally identifiable information to third parties. If you are a Nevada resident, you may submit such opt-out requests to {HEALTHY_CONTRIBUTIONS_PRIVACY}. To be effective, your request must include your full name, address, phone number, and email address. Healthy Contributions will endeavor to respond to your verified request within 60 days of receiving the request. However, due to unforeseen circumstances, Healthy Contributions may need to extend this period by up to 30 days. If an extension is reasonably necessary, Healthy Contributions will notify you of this during the initial 60-day period.
    \r\n
    Your Virginia Privacy Rights
    \r\n
    If you are a Virginia resident, please refer to the information below. This section describes how we, as the “controller”, process your personal data under Virginia’s Consumer Data Protection Act (“VCDPA”), effective as of January 1, 2023. For purposes of this section, “controller”, “personal data” and other terms used herein have the meanings provided for in the VCDPA.
    \r\n
    The law offers Virginia residents various rights to access and control their personal data, and sets certain notice obligations, outlined below.
    \r\n
    Consumer Privacy Rights. The Virginia law grants consumers the right to:
    \r\n
      \r\n
    • Know whether we are processing your personal data;
    • \r\n
    • Access personal data we process;
    • \r\n
    • Correct inaccuracies in your personal data;
    • \r\n
    • Delete your personal data;
    • \r\n
    • Obtain a copy of your personal data;
    • \r\n
    • Opt-out of processing your personal data for: targeted advertising, personal data sales, or automated decision-making, including profiling, which has legal or other significant effects on you
    • \r\n
    \r\n
    If we refuse to honor any one of your privacy requests outlined above, you may appeal our refusal. In this case, please contact us within a reasonable time as outlined in Section 9, “How to Contact Us”, of this Privacy Policy.
    \r\n
    To submit a verifiable request to us, please complete the online Data Privacy Request form located here: \r\n \r\n https://portal.healthycontributions.com/dataprivacyrequest/\r\n \r\n . Please also refer to Section 5, “Access and Correction of your Personal Information”, of this Privacy Policy for more information.
    \r\n
    How We Use and Share Your Personal Information. This section is intended to supplement the information contained in other applicable sections of this Privacy Policy. It outlines the broad categories of personal data we process, examples of personal data we collect, the purposes for processing this data, and the categories of third parties that we “sell” and/or share your data with.
    \r\n
      \r\n
    • Categories of personal data. The following categories of personal data we collect includes: сontact information, transaction history relating to the use of clubs, information regarding utilization of services, identifiers, geolocation data, information related to becoming an employee;
    • \r\n
    • Personal data we collect. The personal data we collect includes but is not limited to (see also personal data we collect under Section 1 and other applicable sections of this Privacy Policy): personal data we may collect includes but is not limited to: Contact information to create an account (e.g., full name, phone number, email address, physical address, birth date); computer data or files which may be sent by your web browser to allow our server to “recognize” you through the navigation of the site; your IP address to measure our website traffic and to help provide a more personalized experience; contact information for marketing purposes where you have consented to receive such communications where applicable; information collected where you use our application;
    • \r\n
    • Categories of sources of data. We receive your personal data from the following sources: yourself by providing the data to us, as a result of certain interactions with third parties, and public sources;
    • \r\n
    • Purposes for processing your data. We process your data for the following purposes: creating and managing your account, improving our services, sending marketing communications with your consent, processing your payments (using a third-party payment provider) and related purposes;
    • \r\n
    • Categories of entities with whom we “sell” or share your data (if applicable). Wellness partners, marketing providers, cloud-hosting services, our affiliates
    • \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    ;\r\n}\r\n\r\nexport default PrivacyPolicy20230110;","import React, { useEffect } from 'react';\r\nimport routes from '../../../../routing/routes';\r\nimport { HEALTHY_CONTRIBUTIONS_LEGAL_NAME } from '../../../../constants/companyNames';\r\nimport { HEALTHY_CONTRIBUTIONS_PRIVACY } from '../../../../constants/emails';\r\nimport { HEALTHY_CONTRIBUTIONS, HEALTHY_CONTRIBUTIONS_WWW } from '../../../../constants/websites';\r\nimport styles from '../../../../styles/_info-page.module.scss';\r\nimport utilStyles from '../../../../styles/_utils.module.scss';\r\nimport privacyPolicyArchiveTitleFormatter from '../../../../utilities/formatters/privacyPolicyArchiveTitleFormatter';\r\nimport privacyPolicyEffectiveDateFormatter from '../../../../utilities/formatters/privacyPolicyEffectiveDateFormatter';\r\nimport CustomLink from '../../../../components/controls/CustomLink';\r\n\r\nfunction CaliforniaPrivacyPolicy20230110() {\r\n const effectiveDate = new Date(2023, 0, 10);\r\n const formattedEffectiveDate = privacyPolicyEffectiveDateFormatter.formatPrivacyPolicyEffectiveDate(effectiveDate);\r\n useEffect(() => {\r\n document.title = `California ${privacyPolicyArchiveTitleFormatter.formatPrivacyPolicyTitle(effectiveDate)}`;\r\n }, []);\r\n return
    \r\n
    Privacy Notice for California Residents
    \r\n
    Effective Date: {formattedEffectiveDate}
    \r\n
    \r\n
    \r\n
    \r\n
    To review our previous Privacy Policy, please refer to \r\n \r\n https://portal.healthycontributions.com/privacy\r\n . If you are a California resident, please read the following Privacy Notice for California Residents (“Policy”).
    \r\n
    This Policy describes how information obtained from California consumers, including visitors to the Healthy Contributions SPV LLC (“Healthy Contributions”, “we”, “us” or “our”) website found at {HEALTHY_CONTRIBUTIONS_WWW}. (“Website”) is collected, used, and disclosed. This Policy also explains how you can make privacy requests.
    \r\n
    Terms included in this Policy, including but not limited to, personal information and service provider, carry the same meaning in this Policy as they do in the California Consumer Privacy Act of 2018, Cal. Civ. Code Section 1798.100, et seq., as may be amended from time to time, including but not limited to those amendments enacted by the California Privacy Rights Act of 2020 (“CPRA”) and any modifications thereof.
    \r\n
    These Terms of Use apply to your access to and use of this Site and do not alter in any way the terms and conditions of any other agreement you may have with us. If you breach any of these terms and conditions, your authorization to use this Site automatically terminates and you must immediately discontinue use of this Site.
    \r\n
    \r\n
    \r\n
    CALIFORNIA’S SHINE THE LIGHT LAW
    \r\n
    Subject to certain limits under California Civil Code section 1798.83, California residents may ask us to provide them with (i) a list of certain categories of personal data that we have disclosed to third parties for their direct marketing purposes during the immediately preceding calendar year, and (ii) the identity of those third parties. California residents may make one request per calendar year.
    \r\n
    Except with respect to the limited exceptions described in the Privacy Policy, we do not share your personal information with any third parties for direct marketing purposes. To make this request, you may contact us at the mail or email address listed in the “Contact Us for More Information” section below. In your request, please state that you are a California resident and provide a current California address for our response. Please allow up to thirty (30) days for a response. We reserve our right not to respond to such requests submitted to addresses other than those specified in the “Contact Us for More Information” section below.
    \r\n
    \r\n
    \r\n
    CALIFORNIA PRIVACY RIGHTS ACT
    \r\n
    1. California Residents’ Rights.
    \r\n
    If you are a California resident, you have certain rights regarding information that is treated as personal information under the CPRA.
    \r\n
      \r\n
    • The right to know what categories of personal information are being collected or disclosed and the categories of sources of that personal information
    • \r\n
      You have the right to know what categories of personal information we collect, sell, or disclose about you, as well as the categories of third parties who received your personal information and the categories of sources of that personal information. These categories are described in the “Categories of California Consumers’ personal information Collected or Disclosed” section below. We are also required to provide to you, before or at the point of collection, with a general notice about the categories of personal information collected by us and how we intend to use the collected personal information.
      \r\n
      \r\n
    • The right to access collected personal information
    • \r\n
      You have the right to request that we provide a copy of your personal information that we collected or disclosed in the preceding twelve (12) months. Only you, or someone you legally authorize to act on your behalf, may make a request related to your personal information. You may submit a maximum of two requests in a 12-month period.
      \r\n
      You must provide sufficient information to enable us to reasonably verify your identity or that of your authorized agent. We will only use the personal information provided in your request to verify your identity or that of your authorized agent. Please note that we cannot provide any personal information in response to a request if we cannot verify your or your authorized agent’s identity, or your authorized agent’s authority to make the request on your behalf, and/or if we cannot confirm that the collected personal information relates to you.
      \r\n
      You are not required to create an account with us before submitting a verifiable request. Please submit your request using the online Data Privacy Request form found at https://portal.healthycontributions.com/dataprivacyrequest. After receiving and verifying your request, we will provide the following information (depending on your request):
      \r\n
        \r\n
      • The categories of personal information collected about you in the preceding twelve (12) months;
      • \r\n
      • The sources of that personal information by category;
      • \r\n
      • The business or commercial purpose(s) for collecting that personal information;
      • \r\n
      • The categories of third parties with whom we shared that personal information, if applicable;
      • \r\n
      • The specific pieces of personal information collected about you.
      • \r\n
      \r\n
      If we disclosed your personal information for a business purpose, we will provide:
      \r\n
        \r\n
      • The categories of personal information disclosed for a business purpose in the previous twelve (12) months and the categories of third parties, if applicable, to whom the personal information was disclosed.
      • \r\n
      \r\n
    \r\n
    See the “Methods for Submitting CPRA Requests to Us” section below for information on how you can exercise your right to access collected personal information. For more information, see also the “Response Timing and Format” section below.
    \r\n
      \r\n
    • The right to request deletion of personal information
    • \r\n
      With certain exceptions, you have the right to request that we and our service providers (where applicable) delete personal information we or our service providers collected or maintained. Once we receive and verify your request, we will delete and instruct any applicable service providers to delete your personal information from our records, unless an exception applies.
      \r\n
      We and our service providers may deny a verified deletion request if we must maintain your personal information to:
      \r\n
        \r\n
      • Complete the transaction or provide a good or service requested by you for which we collected the personal information, or otherwise perform a contract between us;
      • \r\n
      • Detect security incidents, protect against malicious, deceptive, fraudulent, or illegal activity, or prosecute those responsible for that activity;
      • \r\n
      • Debug to identify and repair errors that impair existing intended functionality of our systems;
      • \r\n
      • Exercise a legal right provided for by law, including exercising or ensuring free speech rights;
      • \r\n
      • Comply with the California Electronic Communications Privacy Act (California Penal Code sections 1546 to 1546.4);
      • \r\n
      • Engage in public or peer-reviewed scientific, historical, or statistical research in the public interest if the research adheres to all other applicable ethics and privacy laws; deleting the personal information is likely to make the research impossible or seriously impair it; and you provided informed consent during the initial data collection;
      • \r\n
      • Enable our internal use in a manner that you would reasonably expect based on your relationship with us;
      • \r\n
      • Comply with our legal obligations;
      • \r\n
      • Otherwise use your personal information internally in a lawful manner that is compatible with the context in which you provided the information.
      • \r\n
      \r\n
      See the “Methods for Submitting CPRA Requests to Us” section below for information on how you can exercise your right to delete collected personal information.
      \r\n
      \r\n
    • The right to be free from discrimination
    • \r\n
      You have the right to equal service, and we will not discriminate against you if you exercise your rights under the CPRA. However, under certain circumstances, we may offer you special discounts or other incentives for the right to continue to collect or use your personal information. In that event, we will notify you of the relevant program’s material terms and obtain your voluntary opt-in consent to the program.
      \r\n
    \r\n
    \r\n
    \r\n
    2. Categories of California Consumers’ Personal Information Collected or Disclosed.
    \r\n
    We collect a variety of categories of personal information about California consumers, their household, and/or their devices from both online and offline (such as hard-copy forms) sources. We will not collect additional categories of personal information or use the personal information we collect for materially different, unrelated, or incompatible purposes without providing advance notice.
    \r\n
    In particular, the following types of personal information we may have collected and reason for collection in the last twelve (12) months includes but is not limited to:
    \r\n
      \r\n
    • Your contact information to create an account, such as your first name, last name, phone number, and email address;
    • \r\n
    • Your transaction history relating to the use of clubs, or other information you wish to share with us;
    • \r\n
    • Information regarding club usage;
    • \r\n
    • Information provided by you when you participate in a survey or communication to you regarding your use of the Website, or utilizing any of our Healthy Contributions services;
    • \r\n
    • Information provided by you to participate in advertising contests or sweepstakes;
    • \r\n
    • Various account information related to your accounts to allow you to update credit card, bank account, other payment information, or any other information regarding your profile;
    • \r\n
    • If you are a wellness partner, we may collect detailed information such as your first name, last name, email address, phone number, address;
    • \r\n
    • If we offer alternative sign-ins, we may collect certain sign on information you have provided to third parties, such as Facebook or Twitter, when you sign on to use our Website through these third parties;
    • \r\n
    • Computer data or files, often called “cookies,” which may be sent by your web browser and stored on an individual computer to allow our server to “recognize” you through the navigation of the Website;
    • \r\n
    • Computer data files, often called “web beacons” that are collected from emails or links on third-party sites that allow our server to evaluate the popularity of those links or the information contained in emails or on third-party sites; and
    • \r\n
    • Your IP address to measure our website traffic and to help provide a more personalized experience.
    • \r\n
    \r\n
    Information obtained from your Social Media Accounts, where applicable:
    \r\n
      \r\n
    • You may choose to log into your account with Healthy Contributions on the Website via certain social media networking services, such as Facebook and Twitter (“Social Media Accounts”). By integrating these Social Media Accounts into your account, we can offer you more personalized services, but may also collect certain personal information provided in your Social Media Accounts, such as your profile information, email address, profile picture and friend list. If you do not want us to have access to this information, do not utilize the Social Media Account sign-in feature.
    • \r\n
    \r\n
    We may have shared or disclosed for a business purposes the following personal information with the following categories of recipients:
    \r\n
      \r\n
    • Personal Identifiers. Recipients of this information may include affiliates and subsidiaries, website development and (cloud) hosting providers, email platform provider, marketing analytics companies, if applicable, and business partners.
    • \r\n
    \r\n
    \r\n
    \r\n
    3. Methods for Submitting CPRA Requests to Us.
    \r\n
    You have the right to submit a verifiable request to us using the following method:
    \r\n
      \r\n
    • Online Request Form. You may submit a data privacy request by completing the online Data Privacy Request form located here: https://portal.healthycontributions.com/dataprivacyrequest.\r\n
    • \r\n
    \r\n
    Further, the CPRA requires that businesses recognize browser-based signals as a means for consumers to opt-out of sales and sharing of personal information, and targeted advertising. As such, we recognize browser-based opt-out preference signals such as the Global Privacy Control.
    \r\n
    \r\n
    \r\n
    4. Verification Process.
    \r\n
    Once we receive a request to know or to delete, we must verify your identity before we can respond. You may be required to provide the following information for verification purposes and efficiency when applicable:
    \r\n
      \r\n
    • Your first and last name;
    • \r\n
    • Your home address;
    • \r\n
    • Your e-mail address;
    • \r\n
    • Your telephone number
    • \r\n
    \r\n
    If you submit either a request to know specific pieces of personal information collected, or a request to delete sensitive, irreplaceable, or otherwise valuable personal information, you (or your authorized agent, if applicable) will be required to provide a signed declaration affirming your identity (or your authorized agent’s identity, if applicable).
    \r\n
    \r\n
    \r\n
    5. Authorized Agents.
    \r\n
    An authorized agent is either a natural person or a business entity registered with the California Secretary of State that a consumer has authorized to act on his or her behalf. You may use an authorized agent to submit a request to know or request to delete. You may make such a designation by providing the agent with written permission to act on your behalf. We will require the authorized agent provide either (1) a power of attorney or (2) proof of your written permission. In addition to proof of your written permission, we may require you to verify your own identity and directly confirm that you provided the agent permission to submit the request.
    \r\n
    \r\n
    \r\n
    6. Response Timing and Format.
    \r\n
      \r\n
    • Acknowledgement of receipt of request
    • \r\n
      We will confirm receipt of a request from you within ten (10) days. This confirmation will provide information about how we will process the request, including a description of our verification process and an approximation of when we will send you a substantive response.
      \r\n
    \r\n
      \r\n
    • Substantive response
    • \r\n
      We will respond to a verifiable request from you within forty-five (45) days. If we cannot respond in that time, we will notify you in writing that we need an additional forty-five (45) days and explain the reason for the needed additional time. If you have an account with us, we will respond to that account. If you do not have an account with us, we will deliver the written response by mail or e-mail, at your option.
      \r\n
      Any disclosures we provide will cover only the 12-month period preceding our receipt of your verifiable request. If we cannot comply with your request, we will explain why. If you have requested to know specific personal information we collected, we will provide that information to you.
      \r\n
      We do not charge a fee to process or respond to a verifiable consumer request unless it is excessive, repetitive, or manifestly unfounded. If we determine that the request warrants a fee, we will tell you why and provide you with a cost estimate before completing the request.
      \r\n
    \r\n
    \r\n
    \r\n
    7. Sale or Sharing of Your Personal Information.
    \r\n
    California residents have the right to opt-out of the sale or sharing of their Personal Information. California law defines “sale” very broadly and so, for example, placing certain types of cookies on our website may fall within scope. We have implemented technical controls to limit the sale or sharing of personal information with other entities. However, we may share information about you with our affiliates in accordance with applicable requirements. Under California, this could be considered a “sale” and so we want to share this information with you. Even though we do not sell your personal information as one generally thinks of the word “sale”, you have the right to opt-out of the sale or sharing of your personal information.
    \r\n
    \r\n
    \r\n
    8. Financial Incentive Offers.
    \r\n
    At this time, we do not offer any financial incentives or price or service differences that relate to our collection, retention, or use of your Personal Information. However, if this changes, we will provide a written description of the material terms of the financial incentive or price or service difference to you in a written Notice of Financial Incentive and you will only be enrolled as a participant if you affirmatively opt-in to the program. You may revoke your opt-in consent at any time. The Notice of Financial Incentive will explain the processes for opting-in to participate and revoking your consent (opting-out).
    \r\n
    \r\n
    \r\n
    9. Metrics Regarding CPRA Requests and Responses During the Previous Calendar Year.
    \r\n
    At the end of each calendar year, we will report as applicable regarding the number of requests to know or requests to delete that we received, complied with in whole or in part, or denied, and the median length of our response time.
    \r\n
    \r\n
    \r\n
    10. The Rights of California Consumers Who are Less than 16 Years of Age.
    \r\n
    Under California law, consumers who are less than 16 years of age must provide affirmative authorization, or a parent or guardian of a consumer less than 13 must provide affirmative authorization, before a business may sell their Personal information. This is referred to as the “right to opt-in.” We do not have actual knowledge that we sell the Personal Information of California consumers who are less than 16 years of age.
    \r\n
    \r\n
    \r\n
    11. Contact Us for More Information.
    \r\n
    California consumers who have questions or concerns about our privacy policies and practices may contact us via:
    \r\n
      \r\n
    • Email: {HEALTHY_CONTRIBUTIONS_PRIVACY}
    • \r\n
    • Mail:
      {HEALTHY_CONTRIBUTIONS_LEGAL_NAME}
      Attention: Data Protection Officer
      111 Weir Drive
      Woodbury, Minnesota 55125 U.S.A.
    • \r\n
    \r\n
    When contacting us, please include in the communication or have available the information listed under the “Verification Process” section above. If using an authorized agent, please include in the communication or have available proof of authorization.
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    ;\r\n}\r\n\r\nexport default CaliforniaPrivacyPolicy20230110;","import React, { useEffect } from 'react';\r\nimport { HEALTHY_CONTRIBUTIONS_LEGAL_NAME } from '../../../../constants/companyNames';\r\nimport { HEALTHY_CONTRIBUTIONS_PRIVACY } from '../../../../constants/emails';\r\nimport pageTitleFormatter from '../../../../utilities/formatters/pageTitleFormatter';\r\nimport styles from '../../../../styles/_info-page.module.scss';\r\n\r\nfunction AccessibilityAndMaintenance() {\r\n useEffect(() => {\r\n document.title = pageTitleFormatter.formatPageTitle('Accessibility and Maintenance');\r\n }, []);\r\n return
    \r\n

    Accessibility and Maintenance

    \r\n
    \r\n {HEALTHY_CONTRIBUTIONS_LEGAL_NAME} (“we”) or (“us”) may modify, change, suspend, terminate or discontinue the\r\n operation of our sites and apps or the provision of any services without notice and we reserve the right\r\n to refuse service to anyone at any time, with or without cause.\r\n
    \r\n
    \r\n
    \r\n
    \r\n

    Our commitment to accessibility

    \r\n
    We’re committed to accessibility, diversity and inclusion. Whether you’re accessing this website using\r\n assistive technologies like a screen reader, a magnifier, voice recognition software, or switch technology,\r\n our mission is to provide the highest level of service that we can.
    \r\n
    \r\n
    \r\n

    Steps we’ve taken and are taking to improve accessibility

    \r\n
    Here are some of the items we are addressing to make sure our sites and apps are easy to use for all guests:
    \r\n
      \r\n
    • Site Structure. We are working to use headings, lists, paragraphs and other formatting features on the site so that anyone can easily use the site with assistive technology.
    • \r\n
    • Text Equivalents. People who either can’t see images or hear audio may need some form of a text equivalent to interact with our sites. We are working to ensure all of our images and multimedia are fully accessible through alternative text, captions and transcripts.
    • \r\n
    • Full Keyboard Access. We are working to ensure that our sites and apps can be fully accessed using a keyboard.
    • \r\n
    • Site Consistency. We’re generally consistent in the way we build our site and apps so that once you understand how our menus and pages work, our sites function in generally the same way.
    • \r\n
    \r\n
    Please be aware that our efforts are ongoing. To that end, we are in the process of implementing functional\r\n improvements consistent with relevant portions of the World Wide Web Consortium’s Web Content Accessibility\r\n Guidelines 2.1 Level AA (“WCAG 2.1 AA”). You can find additional information about WCAG 2.1 AA here: \r\n Web Content Accessibility Guidelines (WCAG) 2.1 (w3.org)\r\n .\r\n
    \r\n
    \r\n
    \r\n

    Need help or have feedback?

    \r\n
    If you experience any issues or would like to contact us with suggestions for improvement, please email us at \r\n {HEALTHY_CONTRIBUTIONS_PRIVACY}.\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    ;\r\n}\r\n\r\nexport default AccessibilityAndMaintenance;","import { createSelector } from 'reselect';\r\nimport { DASHBOARD_LOADING } from './dashboardTypes';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === DASHBOARD_LOADING)\r\n .size;\r\n return size > 0;\r\n};\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading\r\n ],\r\n isLoading => ({ isLoading })\r\n);","export const DASHBOARD_LOADING = 'FACILITY_DASHBOARD_LOADING';","import PropTypes from 'prop-types';\r\nimport React, { useEffect } from 'react';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport { API_PATHS } from '../../../http/configs';\r\nimport { connect } from 'react-redux';\r\nimport selectors from './dashboardSelectors';\r\nimport { setDashboardIsLoading } from './dashboardActions';\r\n\r\nfunction Dashboard({ isLoading, setDashboardIsLoading }) {\r\n useEffect(() => {\r\n setDashboardIsLoading();\r\n window.location.href = API_PATHS.HCDashboard;\r\n }, []);\r\n return isLoading\r\n ? \r\n : null;\r\n}\r\n\r\nDashboard.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n setDashboardIsLoading: PropTypes.func.isRequired\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n setDashboardIsLoading\r\n};\r\n\r\nexport default connect(selectors, mapDispatchToProps)(Dashboard);\r\n","import * as loadingActions from '../../Loading/loadingActions';\r\nimport * as types from './dashboardTypes';\r\n\r\nexport function setDashboardIsLoading()\r\n{\r\n return function(dispatch) {\r\n dispatch(loadingActions.setLoading(types.DASHBOARD_LOADING));\r\n };\r\n}","const contactUsResources = {\r\n loginButtonText: 'Log in',\r\n labelFullName: 'Full Name',\r\n labelEmailAddress: 'Email Address',\r\n title: 'Contact Us',\r\n fieldFullName: 'fullName',\r\n fieldEmailAddress: 'emailAddress',\r\n labelCompanyName: 'Company Name',\r\n labelContactNumber: 'Contact Number',\r\n fieldCompanyName: 'companyName',\r\n fieldContactNumber: 'contactNumber',\r\n labelSelfDescription: 'Which best describes you?',\r\n fieldSelfDescription: 'userDescriptionId',\r\n labelMessage: 'What should we be prepared to discuss',\r\n fieldMessage: 'Message',\r\n contactUsDataForm: 'contactUsDataForm',\r\n sendButtonText: 'Submit'\r\n};\r\nexport default contactUsResources;","import { createSelector } from 'reselect';\r\nimport { CONTACT_US_NOTIFICATION, GET_USER_DESCRIPTION_LIST } from './contactUsTypes';\r\n\r\nexport const getUserDescriptions = (state) => {\r\n return state.contactUsReducer.get('userDescriptions');\r\n};\r\n\r\nexport const getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i => i === CONTACT_US_NOTIFICATION || i === GET_USER_DESCRIPTION_LIST\r\n ).size;\r\n return size > 0;\r\n};\r\n\r\nexport default createSelector([getUserDescriptions, getIsLoading], (userDescriptions, isLoading) => ({\r\n userDescriptions,\r\n isLoading\r\n}));\r\n","import validationRules from '../../../../utilities/validationRules';\r\nimport contactUsResources from './contactUsResources';\r\nimport * as generalInfoConstants from '../../../Shared/GeneralInfo/generalInfoConstants';\r\n\r\nexport const fullNameRequired = validationRules.required(\r\n contactUsResources.labelFullName\r\n);\r\n\r\nexport const fullNameMaxLength = validationRules.length(\r\n contactUsResources.labelFullName,\r\n 0,\r\n generalInfoConstants.MAX_FULLNAME_LENGTH\r\n);\r\n\r\nexport const companyNameMaxLength = validationRules.length(\r\n contactUsResources.labelCompanyName,\r\n 0,\r\n generalInfoConstants.MAX_COMPANY_NAME_LENGTH\r\n);\r\n\r\nexport const emailAddressRequired = validationRules.required(\r\n contactUsResources.labelEmailAddress\r\n);\r\n\r\nexport const emailAddressMaxLength = validationRules.length(\r\n contactUsResources.labelEmailAddress,\r\n 0,\r\n generalInfoConstants.MAX_EMAIL320_LENGTH\r\n);\r\nexport const emailAddressRegex = validationRules.email(\r\n contactUsResources.labelEmailAddress\r\n);\r\n\r\nexport const contactNumberRequired = validationRules.required(\r\n contactUsResources.labelContactNumber\r\n);\r\n\r\nexport const contactNumberMaxLength = validationRules.length(\r\n contactUsResources.labelContactNumber,\r\n 0,\r\n generalInfoConstants.MAX_PHONE_NUMBER_LENGTH\r\n);\r\n\r\nexport const contactNumberRegex = validationRules.phoneNumber(\r\n contactUsResources.labelContactNumber,\r\n);\r\n\r\nexport const descriptionRequired = validationRules.required(\r\n contactUsResources.labelSelfDescription\r\n);\r\n\r\nexport const messageRequired = validationRules.required(\r\n contactUsResources.labelMessage\r\n);\r\n\r\nexport const messageMaxLength = validationRules.length(\r\n contactUsResources.labelMessage,\r\n 0,\r\n generalInfoConstants.MAX_MESSAGE_LENGTH\r\n);","import React, { useRef, useState, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport FormGroup from '../../../../components/controls/FormGroup';\r\nimport { defaultFormProperties } from '../../../../utilities/form';\r\nimport { MuiInputText } from '../../../../components/controls/MuiInputText';\r\nimport { MuiTextArea } from '../../../../components/controls/MuiTextArea';\r\nimport MuiInputSelect from '../../../../components/controls/MuiInputSelect';\r\nimport { connect } from 'react-redux';\r\nimport contactUsResources from './contactUsResources';\r\nimport './_contact-us.scss';\r\nimport Captcha from '../../../../components/Captcha/Сaptcha';\r\nimport Button from '../../../../components/controls/Button';\r\nimport * as validationRules from './contactUsValidations';\r\nimport { sendContactUsNotification, getUserDescriptionList } from './contactUsActions';\r\nimport selectors from './contactUsSelectors';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\n\r\nfunction ContactUsForm({ pristine, submitting, handleSubmit, sendContactUsNotification, userDescriptions, getUserDescriptionList }) {\r\n const { useCaptcha } = useFlags();\r\n\r\n useEffect(() => {\r\n getUserDescriptionList();\r\n }, []);\r\n\r\n const captchaRef = useRef(null);\r\n const [isCaptchaValid, setIsCaptchaValid] = useState(false);\r\n const [captchaToken, setCaptchaToken] = useState(null);\r\n const changeCaptchaHandler = (captchaToken) => {\r\n const isValid = captchaToken != null;\r\n setIsCaptchaValid(isValid);\r\n setCaptchaToken(captchaToken);\r\n };\r\n const sendHandler = (data) => {\r\n sendContactUsNotification(data, captchaToken).finally(() => {\r\n if (captchaRef.current != null) {\r\n captchaRef.current.reset();\r\n setIsCaptchaValid(false);\r\n }\r\n });\r\n };\r\n\r\n return \r\n
    \r\n \r\n \r\n \r\n \r\n option.get('value')}\r\n getOptionValue={option => option.get('key')}\r\n validate={[\r\n validationRules.descriptionRequired\r\n ]}\r\n addAsteriskToLabel\r\n />\r\n \r\n
    \r\n {\r\n useCaptcha &&
    \r\n \r\n
    \r\n }\r\n \r\n
    ;\r\n};\r\n\r\nContactUsForm.propTypes = {\r\n handleSubmit: PropTypes.func.isRequired,\r\n pristine: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n sendContactUsNotification: PropTypes.func,\r\n getUserDescriptionList: PropTypes.func,\r\n userDescriptions: PropTypes.object\r\n};\r\n\r\n\r\nconst mapDispatchToProps = {\r\n sendContactUsNotification,\r\n getUserDescriptionList\r\n};\r\n\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default reduxForm({\r\n form: contactUsResources.contactUsDataForm,\r\n ...defaultFormProperties\r\n})(connectStateToProps(ContactUsForm));\r\n","import * as types from './contactUsTypes';\r\nimport * as contactUsService from './contactUsService';\r\nimport * as loadingActions from '../../../../features/Loading/loadingActions';\r\n\r\nconst getUserDescriptionListSuccess = (descriptions) => {\r\n return { type: types.GET_USER_DESCRIPTION_LIST_SUCCESS, descriptions };\r\n};\r\n\r\nexport function getUserDescriptionList() {\r\n return function(dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_USER_DESCRIPTION_LIST));\r\n return contactUsService.getUserDescriptionList()\r\n .then((descriptions) => {\r\n dispatch(getUserDescriptionListSuccess(descriptions));\r\n })\r\n .finally(() =>\r\n dispatch(loadingActions.unsetLoading(types.GET_USER_DESCRIPTION_LIST))\r\n );\r\n };\r\n}\r\n\r\nexport function sendContactUsNotification(emailModel, captchaToken) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.CONTACT_US_NOTIFICATION));\r\n return contactUsService.sendContactUsNotification(emailModel, captchaToken)\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.CONTACT_US_NOTIFICATION));\r\n });\r\n\r\n };\r\n}\r\n","import http from '../../../../http/base';\r\nimport { API_PATHS } from '../../../../http/configs';\r\n\r\nexport function getUserDescriptionList() {\r\n return http.get(API_PATHS.listUserDescription);\r\n}\r\n\r\nexport function sendContactUsNotification(emailModel, captchaToken) {\r\n return http.post(API_PATHS.contactUs, emailModel, { headers: { 'g-recaptcha-response': captchaToken } });\r\n}\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport contactUsResources from './contactUsResources';\r\nimport './_contact-us.scss';\r\nimport selectors from './contactUsSelectors';\r\nimport Spinner from '../../../../components/Spinner/Spinner';\r\nimport ContactUsForm from './ContactUsForm';\r\n\r\nfunction ContactUs({ isLoading }) {\r\n return
    \r\n {\r\n isLoading ?\r\n
    \r\n \r\n
    \r\n : <>\r\n }\r\n
    \r\n
    \r\n
    \r\n

    {contactUsResources.title}

    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n

    \r\n Here To Help\r\n

    \r\n
    \r\n
    \r\n Contact\r\n
    \r\n
    \r\n \r\n
    \r\n Support:\r\n info@healthycontributions.com\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    ;\r\n\r\n};\r\n\r\nContactUs.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n};\r\n\r\nexport default connect(selectors, null)(ContactUs);\r\n","const nominateClubResources = {\r\n labelName: 'Full Name',\r\n labelEmail: 'Email Address',\r\n labelProvider: 'Program or Provider Name',\r\n labelClubName: 'Club Name',\r\n labelCity: 'City',\r\n labelState: 'State',\r\n labelContactName: 'Contact Name',\r\n labelPhone: 'Contact number',\r\n labelClubEmail: 'Email Address',\r\n fieldName: 'name',\r\n fieldEmail: 'email',\r\n fieldProvider: 'provider',\r\n fieldClubName: 'clubName',\r\n fieldCity: 'city',\r\n fieldState: 'state',\r\n fieldContactName: 'clubContactName',\r\n fieldPhone: 'clubContactNumber',\r\n fieldClubEmail: 'clubEmail',\r\n linkButtonNextText: 'Next',\r\n linkButtonPreviousText: 'Back',\r\n nominateButtonSubmitText: 'Submit',\r\n nominateClubInfo: 'nominateClubBody',\r\n generalInfoText: 'General Info',\r\n clubInfoText: 'Club Info',\r\n generalInfoStepText: 'Please enter general information below',\r\n clubInfoStepText: 'Please enter club related information below'\r\n};\r\nexport default nominateClubResources;","import validationRules from '../../../../utilities/validationRules';\r\nimport nominateClubResources from './nominateClubResources';\r\nimport * as nominateClubConstants from '../../../Shared/NominateClub/nominateClubConstants';\r\n\r\nexport const fullNameRequired = validationRules.required(\r\n nominateClubResources.labelName\r\n);\r\n\r\nexport const fullNameMaxLength = validationRules.length(\r\n nominateClubResources.labelName,\r\n nominateClubConstants.MIN_FULL_NAME_LENGTH,\r\n nominateClubConstants.MAX_FULL_NAME_LENGTH\r\n);\r\n\r\nexport const emailRegex = validationRules.email(\r\n nominateClubResources.labelEmail\r\n);\r\n\r\nexport const emailRequired = validationRules.required(\r\n nominateClubResources.labelEmail\r\n);\r\n\r\nexport const emailMaxLength = validationRules.length(\r\n nominateClubResources.labelEmail,\r\n nominateClubConstants.MIN_EMAIL_LENGTH,\r\n nominateClubConstants.MAX_EMAIL_LENGTH\r\n);\r\n\r\nexport const providerNameMaxLength = validationRules.length(\r\n nominateClubResources.labelProvider,\r\n nominateClubConstants.MIN_PROVIDER_NAME_LENGTH,\r\n nominateClubConstants.MAX_PROVIDER_NAME_LENGTH\r\n);\r\n\r\nexport const clubNameRequired = validationRules.required(\r\n nominateClubResources.labelClubName\r\n);\r\n\r\nexport const clubNameMaxLength = validationRules.length(\r\n nominateClubResources.labelClubName,\r\n nominateClubConstants.MIN_CLUB_NAME_LENGTH,\r\n nominateClubConstants.MAX_CLUB_NAME_LENGTH\r\n);\r\n\r\nexport const cityRequired = validationRules.required(\r\n nominateClubResources.labelCity\r\n);\r\n\r\nexport const cityMaxLength = validationRules.length(\r\n nominateClubResources.labelCity,\r\n nominateClubConstants.MIN_CITY_LENGTH,\r\n nominateClubConstants.MAX_CITY_LENGTH\r\n);\r\n\r\nexport const clubStateRequired = validationRules.required(\r\n nominateClubResources.labelState\r\n);\r\n\r\nexport const contactNameMaxLength = validationRules.length(\r\n nominateClubResources.labelContactName,\r\n nominateClubConstants.MIN_CONTACT_NAME_LENGTH,\r\n nominateClubConstants.MAX_CONTACT_NAME_LENGTH\r\n);\r\n\r\nexport const phoneRegex = validationRules.phoneNumber(\r\n nominateClubResources.labelPhone\r\n);\r\n\r\nexport const clubEmailRegex = validationRules.email(\r\n nominateClubResources.labelClubEmail\r\n);\r\n\r\nexport const clubEmailMaxLength = validationRules.length(\r\n nominateClubResources.labelClubEmail,\r\n nominateClubConstants.MIN_CONTACT_EMAIL_LENGTH,\r\n nominateClubConstants.MAX_CONTACT_EMAIL_LENGTH\r\n);","export const MIN_FULL_NAME_LENGTH = 0;\r\nexport const MAX_FULL_NAME_LENGTH = 50;\r\nexport const MIN_EMAIL_LENGTH = 0;\r\nexport const MAX_EMAIL_LENGTH = 300;\r\nexport const MIN_PROVIDER_NAME_LENGTH = 0;\r\nexport const MAX_PROVIDER_NAME_LENGTH = 300;\r\nexport const MIN_CLUB_NAME_LENGTH = 0;\r\nexport const MAX_CLUB_NAME_LENGTH = 300;\r\nexport const MIN_CITY_LENGTH = 0;\r\nexport const MAX_CITY_LENGTH = 50;\r\nexport const MIN_CONTACT_NAME_LENGTH = 0;\r\nexport const MAX_CONTACT_NAME_LENGTH = 300;\r\nexport const MIN_CONTACT_EMAIL_LENGTH = 0;\r\nexport const MAX_CONTACT_EMAIL_LENGTH = 300;","import { createSelector } from 'reselect';\r\nimport { NOMINATE } from './nominateClubTypes';\r\n\r\nexport const getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i => i === NOMINATE\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\n\r\nconst getStates = state => state.stateReducer.get('states');\r\n\r\nexport default createSelector(\r\n [getStates, getIsLoading],\r\n (states, isLoading) => ({\r\n states, isLoading\r\n })\r\n);","export const NOMINATE = 'NOMINATE';","import React, { useRef, useState, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport FormGroup from '../../../../components/controls/FormGroup';\r\nimport { defaultFormProperties } from '../../../../utilities/form';\r\nimport * as validationRules from './nominateClubValidations';\r\nimport { MuiInputText } from '../../../../components/controls/MuiInputText';\r\nimport nominateClubResources from './nominateClubResources';\r\nimport MuiInputSelect from '../../../../components/controls/MuiInputSelect';\r\nimport selectors from './nominateClubSelectors';\r\nimport { getStatesList } from '../../../../features/States/stateActions';\r\nimport Button from '../../../../components/controls/Button';\r\nimport { connect } from 'react-redux';\r\nimport { nominate } from './nominateClubAction';\r\nimport './_nominateClub.scss';\r\nimport Captcha from '../../../../components/Captcha/Сaptcha';\r\nimport Spinner from '../../../../components/Spinner/Spinner';\r\nimport { useFlags } from 'launchdarkly-react-client-sdk';\r\n\r\nfunction ClubInfoDataForm({ pristine, submitting, handleSubmit, states, isLoading, getStates, onPrevStep, nominate, scrollToTop }) {\r\n const { useCaptcha } = useFlags();\r\n useEffect(() => {\r\n getStates();\r\n }, []);\r\n const captchaRef = useRef(null);\r\n const [isCaptchaValid, setIsCaptchaValid] = useState(false);\r\n const [captchaToken, setCaptchaToken] = useState(null);\r\n const changeCaptchaHandler = (captchaToken) => {\r\n const isValid = captchaToken != null;\r\n setIsCaptchaValid(isValid);\r\n setCaptchaToken(captchaToken);\r\n };\r\n const nominateClubHandler = (data) => {\r\n nominate(data, captchaToken).finally(() => {\r\n if (captchaRef.current !== null) {\r\n captchaRef.current.reset();\r\n setIsCaptchaValid(false);\r\n setCaptchaToken(null);\r\n }\r\n });\r\n };\r\n return isLoading ?\r\n
    \r\n \r\n {scrollToTop()}\r\n
    \r\n :
    \r\n
    {nominateClubResources.clubInfoStepText}
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n option.get('name')}\r\n getOptionValue={option => option.get('abbr')}\r\n validate={[\r\n validationRules.clubStateRequired\r\n ]}\r\n isSearchable\r\n addAsteriskToLabel\r\n />\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n {\r\n useCaptcha &&
    \r\n \r\n
    \r\n }\r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    ;\r\n};\r\n\r\nClubInfoDataForm.propTypes = {\r\n handleSubmit: PropTypes.func.isRequired,\r\n pristine: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n states: PropTypes.object.isRequired,\r\n getStates: PropTypes.func.isRequired,\r\n onPrevStep: PropTypes.func.isRequired,\r\n isLoading: PropTypes.bool.isRequired,\r\n nominate: PropTypes.func.isRequired,\r\n scrollToTop: PropTypes.func.isRequired,\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n nominate,\r\n getStates: getStatesList\r\n};\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default reduxForm({\r\n ...defaultFormProperties,\r\n destroyOnUnmount: false,\r\n forceUnregisterOnUnmount: true\r\n})(connectStateToProps(ClubInfoDataForm));\r\n","import * as nominateClubService from './nominateClubService';\r\nimport nominateClubResources from './nominateClubResources';\r\nimport { reset } from 'redux-form';\r\nimport * as types from './nominateClubTypes';\r\nimport * as loadingActions from '../../../../features/Loading/loadingActions';\r\n\r\nexport function nominate(nominateClubData, captchaToken) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.NOMINATE));\r\n return nominateClubService.nominate(nominateClubData, captchaToken)\r\n .then((result) => {\r\n if (result.success) {\r\n dispatch(reset(nominateClubResources.nominateClubInfo));\r\n }\r\n })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.NOMINATE)));\r\n };\r\n}\r\n","import http from '../../../../http/base';\r\nimport { API_PATHS } from '../../../../http/configs';\r\n\r\nexport function nominate(nominateClubData, captchaToken) {\r\n return http.post(API_PATHS.nominateClub, nominateClubData, { headers: { 'g-recaptcha-response': captchaToken } });\r\n}","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport FormGroup from '../../../../components/controls/FormGroup';\r\nimport { defaultFormProperties } from '../../../../utilities/form';\r\nimport * as validationRules from './nominateClubValidations';\r\nimport { MuiInputText } from '../../../../components/controls/MuiInputText';\r\nimport nominateClubResources from './nominateClubResources';\r\nimport Button from '../../../../components/controls/Button';\r\nimport './_nominateClub.scss';\r\n\r\nfunction GeneralInfoDataForm({ pristine, submitting, onNextStep, handleSubmit }) {\r\n return (\r\n
    \r\n
    {nominateClubResources.generalInfoStepText}
    \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nGeneralInfoDataForm.propTypes = {\r\n pristine: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n onNextStep: PropTypes.func.isRequired,\r\n handleSubmit: PropTypes.func.isRequired\r\n};\r\n\r\nexport default reduxForm({\r\n ...defaultFormProperties,\r\n destroyOnUnmount: false,\r\n forceUnregisterOnUnmount: true\r\n})(GeneralInfoDataForm);\r\n","import React from 'react';\r\nimport nominateClubResources from './nominateClubResources';\r\nimport './_nominateClub.scss';\r\nimport ClubInfo from './ClubInfoDataForm';\r\nimport GeneralInfo from './GeneralInfoDataForm';\r\nimport MultiStepForms from '../../../../components/FormStep/MultiStepForms';\r\n\r\nfunction NominateClub() {\r\n const forms = [{ title: nominateClubResources.generalInfoText, formComponent: GeneralInfo }, { title: nominateClubResources.clubInfoText, formComponent: ClubInfo }];\r\n return
    \r\n
    \r\n Nominate a club\r\n
    \r\n
    \r\n Not seeing the Fitness Center you were looking for?\r\n
    \r\n
    \r\n We would love to work with you to get them involved in the Fitness Reimbursement Programs. Simply fill in the information below as completely as possible and this will get to one of our friendly staff who will determine the best method for that facility to work with us. Thank you for your interest in Healthy Contributions, we look forward to serving you!\r\n
    \r\n
    \r\n \r\n
    \r\n
    ;\r\n}\r\n\r\nexport default NominateClub;","import React from 'react';\r\n\r\nfunction HealthCheck() {\r\n return
    \r\n OK!\r\n
    ;\r\n}\r\n\r\nexport default HealthCheck;","const MemberResources = {\r\n labelActions: 'Actions',\r\n labelFacilityMemberID: 'Key fob/Facility Member ID',\r\n labelEmployeeName: 'Employee Name',\r\n labelDateOfBirth: 'Date of Birth',\r\n labelPlans: 'Plans',\r\n labelFacilityName: 'Facility Name',\r\n labelFacilityID: 'Facility ID',\r\n labelKeyfobAccessPass: 'Access Pass',\r\n facilitySearchBoxInputLabel: 'Facilities',\r\n title: 'Members',\r\n defaultSortColumn: 'memberFirstName',\r\n placeholderMemberSearch: 'Search by member or key fob',\r\n accessorFacilityMemberID: 'facilityMemberID',\r\n accessorEmployeeName: 'memberFirstName',\r\n accessorMemberDateOfBirth: 'memberDateOfBirth',\r\n accessorFacilityName: 'facilityName',\r\n accessorFacilityIDNumber: 'facilityIDNumber',\r\n accessorStatus: 'memberStatus',\r\n accessorPlanName: 'planName',\r\n accessorMemberStatus: 'memberStatus',\r\n textNoMemberFound: 'Member wasn’t found',\r\n bulkOptionsButtonText: 'BULK OPTIONS',\r\n buttonDeactivate: 'Deactivate',\r\n tooltipDeactivate: 'Deactivate key fob',\r\n};\r\n\r\nexport function GetDeactivationConfirmationMessage(memberFirstName, memberLastName, facilityMemberID)\r\n{\r\n return `Are you sure you want to deactivate ${memberFirstName} ${memberLastName} with keyfob ${facilityMemberID}?`;\r\n};\r\n\r\nexport default MemberResources;\r\n","import { createSelector } from 'reselect';\r\nimport { GET_MEMBERS_LIST, DEACTIVATE_MEMBER } from './memberListTypes';\r\nimport { GET_FACILITY } from '../Facilities/facilityTypes';\r\nimport { GetDeactivationConfirmationMessage } from './memberResources';\r\nimport roles from '../../enums/roles';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === GET_MEMBERS_LIST || i === GET_FACILITY || i === DEACTIVATE_MEMBER)\r\n .size;\r\n\r\n return size > 0;\r\n};\r\n\r\nconst getMembers = state => state.memberListReducer.get('members');\r\nconst getFacility = state => state.facilityReducer.get('facility');\r\nconst getMembersTotalCount = state => state.memberListReducer.get('membersTotalCount');\r\nconst getSelectedMembers = state => state.memberListReducer.get('selectedMembers');\r\nconst getMe = state => state.app.get('me');\r\nconst getMemberToDeactivate = state => state.memberListReducer.get('memberToDeactivate');\r\n\r\nconst getIsConfirmationPopupVisible = createSelector(\r\n [getMemberToDeactivate],\r\n (memberToDeactivate) => {\r\n return memberToDeactivate !== undefined;\r\n }\r\n);\r\n\r\nconst getDeactivationConfirmationPopupMessage = createSelector(\r\n [getMemberToDeactivate],\r\n (memberToDeactivate) => {\r\n if (memberToDeactivate === undefined) {\r\n return;\r\n }\r\n return GetDeactivationConfirmationMessage(\r\n memberToDeactivate.memberFirstName,\r\n memberToDeactivate.memberLastName,\r\n memberToDeactivate.facilityMemberID);\r\n }\r\n);\r\n\r\nconst isAdmin = createSelector(\r\n [getMe], (me) => {\r\n return me.role === roles.systemAdmin;\r\n }\r\n);\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n getMembers,\r\n getFacility,\r\n getMembersTotalCount,\r\n getSelectedMembers,\r\n getIsConfirmationPopupVisible,\r\n getMemberToDeactivate,\r\n getDeactivationConfirmationPopupMessage,\r\n isAdmin],\r\n (\r\n isLoading,\r\n members,\r\n facility,\r\n membersTotalCount,\r\n selectedMembers,\r\n isConfirmationPopupVisible,\r\n memberToDeactivate,\r\n deactivationConfirmationPopupMessage,\r\n isAdmin\r\n ) => ({\r\n isLoading,\r\n members,\r\n facility,\r\n membersTotalCount,\r\n selectedMembers,\r\n isConfirmationPopupVisible,\r\n memberToDeactivate,\r\n deactivationConfirmationPopupMessage,\r\n isAdmin\r\n })\r\n);\r\n","import React from 'react';\r\nimport TextField from '@material-ui/core/TextField';\r\nimport Autocomplete from '@material-ui/lab/Autocomplete';\r\nimport PropTypes from 'prop-types';\r\n\r\nexport function MuiAutocomplete(props) {\r\n const {\r\n defaultValue,\r\n onInputChange,\r\n options,\r\n getOptionLabel,\r\n filterOptions,\r\n autoComplete,\r\n id,\r\n noOptionsText,\r\n inputLabel,\r\n variant,\r\n disabled,\r\n fullWidth,\r\n onChange,\r\n placeholder,\r\n value,\r\n loading\r\n } = props;\r\n return (\r\n (\r\n \r\n )}\r\n />\r\n );\r\n}\r\n\r\nMuiAutocomplete.defaultProps = {\r\n variant: 'outlined',\r\n disabled: false,\r\n fullWidth: true,\r\n loading: false\r\n};\r\n\r\nMuiAutocomplete.propTypes = {\r\n defaultValue: PropTypes.object,\r\n onInputChange: PropTypes.func,\r\n options: PropTypes.array,\r\n getOptionLabel: PropTypes.func,\r\n id: PropTypes.string,\r\n disabled: PropTypes.bool,\r\n variant: PropTypes.string,\r\n fullWidth: PropTypes.bool,\r\n filterOptions: PropTypes.func,\r\n onChange: PropTypes.func,\r\n value: PropTypes.object,\r\n placeholder: PropTypes.string\r\n};","import { createSelector } from 'reselect';\r\nimport { GET_FACILITIES_FOR_DROPDOWN } from './facilitySearchBoxTypes';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === GET_FACILITIES_FOR_DROPDOWN)\r\n .size;\r\n\r\n return size > 0;\r\n};\r\n\r\nexport const getFacilities = (state) => {\r\n return state.facilitySearchBoxReducer.get('facilities').toJS();\r\n};\r\n\r\nexport default createSelector(\r\n [\r\n getFacilities,\r\n getIsLoading\r\n ],\r\n (facilities, isLoading) => ({\r\n facilities,\r\n isLoading\r\n })\r\n);\r\n","const facilitySearchBoxResources = {\r\n noOptionsText: 'No results'\r\n};\r\nexport default facilitySearchBoxResources;\r\n","import React, { useMemo, useState, useEffect } from 'react';\r\nimport { getFacilitiesForDropDown } from './facilitySearchBoxAction';\r\nimport { connect } from 'react-redux';\r\nimport { MuiAutocomplete } from '../../../components/controls/MuiAutocomplete';\r\nimport selectors from './facilitySearchBoxSelectors';\r\nimport PropTypes from 'prop-types';\r\nimport debounce from 'lodash.debounce';\r\nimport facilitySearchBoxResources from './facilitySearchBoxResources';\r\nimport './_facility-search-box.scss';\r\n\r\nfunction FacilitySearchBox({ facilities, getFacilitiesForDropDown, onChange, placeholder, isLoading, facility, inputLabel, className, afOnly }) {\r\n const [value, setValue] = useState(null);\r\n useEffect(() => {\r\n if (facility && facility.size > 0) {\r\n setValue(facility.toJS());\r\n }\r\n }, [facility]);\r\n const inputChangeHandler = (event, newInputValue) => {\r\n getFacilitiesForDropDown(newInputValue, afOnly);\r\n };\r\n const debouncedChangeHandler = useMemo(\r\n () => debounce(inputChangeHandler, 400)\r\n , [inputChangeHandler]);\r\n const changeHandler = (event, value) => {\r\n setValue(value);\r\n onChange(value);\r\n };\r\n return
    \r\n `${option.facilityIDNumber} ${option.name}`}\r\n noOptionsText={facilitySearchBoxResources.noOptionsText}\r\n onChange={changeHandler}\r\n placeholder={placeholder}\r\n value={value}\r\n loading={isLoading}\r\n inputLabel={inputLabel}\r\n />\r\n
    ;\r\n}\r\n\r\nFacilitySearchBox.propTypes = {\r\n facilities: PropTypes.array.isRequired,\r\n getFacilitiesForDropDown: PropTypes.func.isRequired,\r\n disabled: PropTypes.bool,\r\n changeHandler: PropTypes.func,\r\n placeholder: PropTypes.string,\r\n currentFacilityIDNumber: PropTypes.number,\r\n onChange: PropTypes.func,\r\n isLoading: PropTypes.bool,\r\n getFacility: PropTypes.func,\r\n facility: PropTypes.object,\r\n inputLabel: PropTypes.string,\r\n className: PropTypes.string,\r\n afOnly: PropTypes.bool\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getFacilitiesForDropDown\r\n};\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default connectStateToProps(FacilitySearchBox);","import * as types from './facilitySearchBoxTypes';\r\nimport * as facilitySearchBoxService from './facilitySearchBoxService';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\n\r\nexport const setFacilities = facilities => ({\r\n type: types.SET_FACILITIES_FOR_DROPDOWN,\r\n facilities\r\n});\r\n\r\nexport function getFacilitiesForDropDown(filter, afOnly) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_FACILITIES_FOR_DROPDOWN));\r\n return facilitySearchBoxService.getFacilities(filter, afOnly)\r\n .then((facilities) => {\r\n dispatch(setFacilities(facilities));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_FACILITIES_FOR_DROPDOWN));\r\n });\r\n };\r\n}\r\n","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\nimport { TAKEN_COUNT } from '../../../constants/dropdown';\r\n\r\nexport function getFacilities(filter, afOnly) {\r\n return http.get(API_PATHS.facilityDropdownList, { params: { searchTerm: filter, takeCount: TAKEN_COUNT, afOnly } });\r\n}\r\n","export const TAKEN_COUNT = 50;\r\n","import * as types from './memberListTypes';\r\nimport * as membersService from './membersService';\r\nimport * as loadingActions from '../Loading/loadingActions';\r\n\r\nexport const setMembersList = (members) => {\r\n return { type: types.SET_MEMBERS_LIST, members };\r\n};\r\n\r\nexport const joinMembersList = (members) => {\r\n return { type: types.JOIN_MEMBERS_LIST, members };\r\n};\r\n\r\nconst setTotalMembersCount = (totalCount) => {\r\n return { type: types.SET_MEMBERS_TOTAL_COUNT, totalCount };\r\n};\r\n\r\nexport const updateSelectedMembers = (selectedMembers) => {\r\n return { type: types.SET_SELECTED_MEMBERS, selectedMembers };\r\n};\r\n\r\nexport function getMembersList(pageNumber, pageSize, facilityID, sortBy, sortOrder, filter) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_MEMBERS_LIST));\r\n return membersService\r\n .getMembersList(pageNumber, pageSize, facilityID, sortBy, sortOrder, filter)\r\n .then((members) => {\r\n if (pageNumber === 1) {\r\n dispatch(setMembersList(members.items));\r\n }\r\n else {\r\n dispatch(joinMembersList(members.items));\r\n }\r\n dispatch(setTotalMembersCount(members.totalCount));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_MEMBERS_LIST));\r\n });\r\n };\r\n}\r\n\r\nconst setMemberToDeactivateAction = (member) => {\r\n return { type: types.SET_MEMBER_TO_DEACTIVATE, member };\r\n};\r\n\r\nexport function resetMemberToDeactivate() {\r\n return function(dispatch) {\r\n dispatch(setMemberToDeactivateAction(undefined));\r\n };\r\n}\r\n\r\nexport function setMemberToDeactivate(member) {\r\n return function(dispatch) {\r\n dispatch(setMemberToDeactivateAction(member));\r\n };\r\n}\r\nexport function deactivateMember(memberID) {\r\n return function(dispatch) {\r\n dispatch(loadingActions.setLoading(types.DEACTIVATE_MEMBER));\r\n return membersService\r\n .deactivateMember(memberID)\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.DEACTIVATE_MEMBER));\r\n });\r\n };\r\n}","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { WarningRed, WarningYellow } from '../Icon/Icons';\r\nimport ToolTip from '../controls/ToolTip';\r\n\r\nfunction WarningCell({ column, row }) {\r\n const props = column.getProps(row);\r\n if (props.isInvalid || props.isPending) {\r\n return \r\n
    \r\n {props.isInvalid ? : }\r\n
    \r\n
    ;\r\n }\r\n return null;\r\n}\r\n\r\nWarningCell.propTypes = {\r\n row: PropTypes.object.isRequired,\r\n column: PropTypes.object.isRequired,\r\n isInvalid: PropTypes.bool,\r\n isPending: PropTypes.bool,\r\n invalidMessage: PropTypes.string\r\n};\r\n\r\nexport default WarningCell;\r\n","const memberStatuses = Object.freeze({\r\n active: 0,\r\n pending: 1,\r\n invalid: 2,\r\n});\r\n\r\nexport default memberStatuses;\r\n","import * as types from './MemberTransferTypes';\r\nimport * as memberService from './memberTransferService';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport { ERROR } from '../../../components/Notifications/constants';\r\nimport { postNotification } from '../../../components/Notifications/actions';\r\n\r\nexport const setIsMemberTransferPopupOpen = isMemberTransferPopupOpen => ({\r\n type: types.SET_IS_MEMBERTRANSFER_POPUP_OPEN,\r\n isMemberTransferPopupOpen\r\n});\r\n\r\nexport function showErrorAlert(message) {\r\n return function (dispatch) {\r\n dispatch(postNotification({ type: ERROR, message }));\r\n };\r\n}\r\n\r\nexport const setMembersTransferResult = (membersTransferResult) => {\r\n return { type: types.MEMBERSTRANSFER_RESULT, membersTransferResult };\r\n};\r\n\r\nexport function transferMembers(facility, selectedMembers) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.MEMBERTRANSFER));\r\n return memberService.transferMembers(facility.id, selectedMembers.toJS().map(member => member.memberID))\r\n .then((result) => {\r\n if (result.success) {\r\n dispatch(setMembersTransferResult(result.data.map((res) => {\r\n const member = selectedMembers.toJS().find(member => member.memberID === res.memberID);\r\n return {\r\n facilityMemberID: member.facilityMemberID,\r\n memberFirstName: member.memberFirstName,\r\n memberLastName: member.memberLastName,\r\n planName: member.planName,\r\n facilityFromName: member.facilityName,\r\n facilityFromIDNumber: member.facilityIDNumber,\r\n facilityToName: facility.name,\r\n facilityToIDNumber: facility.facilityIDNumber,\r\n transferStatus: res.success,\r\n transferMessage: res.message\r\n };\r\n })));\r\n dispatch(setIsMemberTransferPopupOpen(false));\r\n }\r\n })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.MEMBERTRANSFER)));\r\n };\r\n}\r\n","import * as React from 'react';\r\nimport Button from '@material-ui/core/Button';\r\nimport ButtonGroup from '@material-ui/core/ButtonGroup';\r\nimport ClickAwayListener from '@material-ui/core/ClickAwayListener';\r\nimport Grow from '@material-ui/core/Grow';\r\nimport Paper from '@material-ui/core/Paper';\r\nimport Popper from '@material-ui/core/Popper';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\nimport MenuList from '@material-ui/core/MenuList';\r\nimport PropTypes from 'prop-types';\r\nimport MaterialIcon from '../MaterialIcon/MaterialIcon';\r\nimport './_c-splitbutton.scss';\r\n\r\nexport function MuiSplitButton(props) {\r\n const {\r\n options,\r\n label,\r\n classNames,\r\n size,\r\n variant,\r\n disabled\r\n } = props;\r\n\r\n const [open, setOpen] = React.useState(false);\r\n const anchorRef = React.useRef();\r\n const [selectedIndex, setSelectedIndex] = React.useState(0);\r\n\r\n const handleToggle = () => {\r\n setOpen(prevOpen => !prevOpen);\r\n };\r\n\r\n const handleClose = (event) => {\r\n if (anchorRef.current && anchorRef.current.contains(event.target)) {\r\n return;\r\n }\r\n\r\n setOpen(false);\r\n };\r\n\r\n const handleMenuItemClick = (event, index) => {\r\n const selectedOption = options[index];\r\n setSelectedIndex(index);\r\n handleClose(event);\r\n\r\n if (selectedOption.action) {\r\n selectedOption.action(selectedOption);\r\n }\r\n };\r\n\r\n return (\r\n
    \r\n \r\n \r\n {label.value}\r\n \r\n \r\n \r\n \r\n {({ TransitionProps, placement }) => (\r\n \r\n \r\n \r\n \r\n {options.map((option, index) => (\r\n handleMenuItemClick(event, index)}\r\n >\r\n {option.value}\r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n )}\r\n \r\n
    \r\n );\r\n};\r\n\r\nMuiSplitButton.defaultProps = {\r\n size: 'large',\r\n variant: 'contained'\r\n};\r\n\r\nMuiSplitButton.propTypes = {\r\n id: PropTypes.string,\r\n options: PropTypes.arrayOf(\r\n PropTypes.shape({\r\n value: PropTypes.string.isRequired,\r\n disabled: PropTypes.bool,\r\n action: PropTypes.func,\r\n })\r\n ).isRequired,\r\n label: PropTypes.shape({\r\n value: PropTypes.string.isRequired,\r\n description: PropTypes.string,\r\n }).isRequired,\r\n classNames: PropTypes.array,\r\n disabled: PropTypes.bool,\r\n size: PropTypes.string,\r\n variant: PropTypes.string\r\n};","import { createSelector } from 'reselect';\r\nimport { MEMBERTRANSFER } from './MemberTransferTypes';\r\n\r\nconst getIsMemberTransferPopupOpen = state => state.memberTransferReducer.get('isMemberTransferPopupOpen');\r\nconst getSelectedMembers = state => state.memberListReducer.get('selectedMembers');\r\nconst getMembersTransferResult = state => state.memberTransferReducer.get('membersTransferResult');\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i => i === MEMBERTRANSFER\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\n\r\nexport default createSelector(\r\n [getIsMemberTransferPopupOpen, getIsLoading, getSelectedMembers, getMembersTransferResult],\r\n (isMemberTransferPopupOpen, isLoading, selectedMembers, membersTransferResult) => ({\r\n isMemberTransferPopupOpen,\r\n isLoading,\r\n selectedMembers,\r\n membersTransferResult\r\n }));\r\n","const membersTransferResources = {\r\n labelFacilityMemberID: 'Key fob/Facility Member ID',\r\n labelEmployeeName: 'Employee Name',\r\n labelPlans: 'Plans',\r\n labelFacilityFromName: 'Facility Name From',\r\n labelFacilityFromID: 'Facility ID From',\r\n labelFacilityToName: 'Facility Name To',\r\n labelFacilityToID: 'Facility ID To',\r\n labelTransferStatus: 'Status',\r\n labelTransferReason: 'Reason',\r\n title: 'Members',\r\n defaultSortColumn: 'memberFirstName',\r\n accessorFacilityMemberID: 'facilityMemberID',\r\n accessorEmployeeName: 'memberFirstName',\r\n accessorFacilityFromName: 'facilityFromName',\r\n accessorFacilityFromIDNumber: 'facilityFromIDNumber',\r\n accessorFacilityToName: 'facilityToName',\r\n accessorFacilityToIDNumber: 'facilityToIDNumber',\r\n accessorTransferStatus: 'transferStatus',\r\n accessorTransferReason: 'transferMessage',\r\n accessorPlanName: 'planName',\r\n transferButtonText: 'Transfer',\r\n backToMemberButtonText: 'Back To Member Page',\r\n labelSelectFacility: 'Please select facility to:',\r\n placeholderSelectFacility: 'Search by Facility ID, Facility name',\r\n warnMessageClosingFacility: 'has the \"Closing\" status. If you select this facility, members will be transferred into closed facility.'\r\n};\r\nexport default membersTransferResources;\r\n","\r\nconst facilityEnrollmentStatuses = Object.freeze({\r\n Active: 1,\r\n OnHold: 2,\r\n Closing: 3\r\n});\r\n\r\nexport default facilityEnrollmentStatuses;","import React, { useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport PropTypes from 'prop-types';\r\nimport { transferMembers } from './MemberTransferActions';\r\nimport Button from '../../../components/controls/Button';\r\nimport FacilitySearchBox from '../FacilitySearchBox/FacilitySearchBox';\r\nimport './_member-transfer.scss';\r\nimport selectors from './memberTransferSelectors';\r\nimport routes from '../../../routing/routes';\r\nimport membersTransferResources from './membersTransferResources';\r\nimport WarningBox from '../../../components/WarningBox/WarningBox';\r\nimport facilityEnrollmentStatuses from '../../../enums/facilityEnrollmentStatuses';\r\n\r\nexport function MemberTransfer({ selectedMembers, transferMembers, history }) {\r\n const [selectedFacility, setSelectedFacility] = useState(null);\r\n const changeHandler = (value) => {\r\n setSelectedFacility(value);\r\n };\r\n\r\n const memberTransferHandler = () => {\r\n transferMembers(selectedFacility, selectedMembers)\r\n .then(() => {\r\n history.push(routes.membersTransferResult.path);\r\n });\r\n };\r\n\r\n return (\r\n <>\r\n
    \r\n
    \r\n
    \r\n {membersTransferResources.labelSelectFacility}\r\n
    \r\n \r\n {\r\n selectedFacility\r\n && selectedFacility.enrollmentStatus === facilityEnrollmentStatuses.Closing\r\n && \r\n }\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n );\r\n};\r\n\r\nMemberTransfer.propTypes = {\r\n selectedMembers: PropTypes.object.isRequired,\r\n transferMembers: PropTypes.func.isRequired,\r\n history: PropTypes.object.isRequired\r\n};\r\n\r\nconst connectStateToProps = connect(selectors, { transferMembers });\r\n\r\nexport default connectStateToProps(MemberTransfer);\r\n\r\n\r\n","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\n\r\nexport function transferMembers(facilityID, memberDatas) {\r\n return http.post(`${API_PATHS.memberTransfer}/${facilityID}`, memberDatas);\r\n}","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { setIsMemberTransferPopupOpen } from './MemberTransferActions';\r\nimport CustomPopup from '../../../components/Popups/CustomPopup/CustomPopup';\r\nimport MemberTransfer from './MemberTransfer';\r\nimport selectors from './memberTransferSelectors';\r\n\r\nfunction MemberTransferPopup({ isMemberTransferPopupOpen, setIsMemberTransferPopupOpen, isLoading, history }) {\r\n return setIsMemberTransferPopupOpen(false)}\r\n title=\"Members transfer\"\r\n body={ setIsMemberTransferPopupOpen(false)} history={history} />}\r\n />;\r\n}\r\n\r\nMemberTransferPopup.propTypes = {\r\n isMemberTransferPopupOpen: PropTypes.bool.isRequired,\r\n setIsMemberTransferPopupOpen: PropTypes.func,\r\n isLoading: PropTypes.bool.isRequired,\r\n history: PropTypes.object.isRequired\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n setIsMemberTransferPopupOpen,\r\n};\r\n\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\nexport default connectStateToProps(MemberTransferPopup);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { setMemberToDeactivate } from './membersListActions';\r\nimport MaterialIcon from '../../components/MaterialIcon/MaterialIcon';\r\nimport ToolTip from '../../components/controls/ToolTip';\r\nimport MemberResources from './memberResources';\r\n\r\nfunction MembersActionsCell({ value, setMemberToDeactivate }) {\r\n\r\n const deactivateHandler = () => {\r\n setMemberToDeactivate(value.row);\r\n };\r\n return (\r\n
    \r\n {value.isAdmin && value.row.isPpv && value.row.isAF &&\r\n \r\n
    \r\n \r\n
    \r\n
    }\r\n
    \r\n );\r\n}\r\n\r\nMembersActionsCell.propTypes = {\r\n value: PropTypes.object.isRequired,\r\n setMemberToDeactivate: PropTypes.func.isRequired\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n setMemberToDeactivate\r\n};\r\n\r\nexport default connect(null, mapDispatchToProps)(MembersActionsCell);","import React, { useState, useEffect, useMemo, useRef } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport NewTable from '../../components/NewInfoBox/NewTable';\r\nimport { connect } from 'react-redux';\r\nimport ConfirmPopup from '../../components/Popups/ConfirmAlert/ConfirmPopup';\r\nimport MemberResources from './memberResources';\r\nimport selectors from './membersListSelectors';\r\nimport InfoBox from '../../components/InfoBox/InfoBox';\r\nimport moment from 'moment';\r\nimport { SLASHED_US_DATE_FORMAT } from '../../constants/formats';\r\nimport { WarningGray } from '../../components/Icon/Icons';\r\nimport FacilitySearchBox from './FacilitySearchBox/FacilitySearchBox';\r\nimport { useLocation } from 'react-router-dom';\r\nimport Spinner from '../../components/Spinner/Spinner';\r\nimport {\r\n getMembersList,\r\n updateSelectedMembers,\r\n resetMemberToDeactivate,\r\n deactivateMember\r\n} from './membersListActions';\r\nimport { PAGE_SIZE } from '../../constants/table';\r\nimport { getFacility } from '../Facilities/facilityActions';\r\nimport './_member-list.scss';\r\nimport SearchBox from '../../components/SearchBox/SearchBox';\r\nimport WarningCell from '../../components/NewInfoBox/WarningCell';\r\nimport TooltipCell from '../../components/NewInfoBox/TooltipCell';\r\nimport MembersStatuses from '../../enums/memberStatuses';\r\nimport { setIsMemberTransferPopupOpen } from '../Members/MemberTransfer/MemberTransferActions';\r\nimport { MuiSplitButton } from '../../components/controls/MuiSplitButton';\r\nimport MemberTransferPopup from '../Members/MemberTransfer/MemberTransferPopup';\r\nimport ReplaceMemberActionsCell from './membersActionsCell';\r\nimport preferredAccessTypes from '../../enums/preferredAccessTypes';\r\n\r\nfunction MembersList({\r\n members,\r\n getMembersList,\r\n isLoading,\r\n getFacility,\r\n facility,\r\n membersTotalCount,\r\n updateSelectedMembers,\r\n selectedMembers,\r\n setIsMemberTransferPopupOpen,\r\n history,\r\n isConfirmationPopupVisible,\r\n memberToDeactivate,\r\n deactivationConfirmationPopupMessage,\r\n isAdmin,\r\n resetMemberToDeactivate,\r\n deactivateMember\r\n}) {\r\n const search = useLocation().search;\r\n const queryParams = new URLSearchParams(search);\r\n const defaultFacilityID = queryParams.get('facilityID');\r\n const [selectedFacilityID, setSelectedFacilityID] = useState(defaultFacilityID ? parseInt(defaultFacilityID) : null);\r\n const [filter, setFilter] = useState(null);\r\n const [filteredSelectedMembers, setFilteredSelectedMembers] = useState([]);\r\n const options = [{ value: 'Transfer', disabled: false, selected: false, action: () => setIsMemberTransferPopupOpen(true) }];\r\n const tableRef = useRef(null);\r\n useEffect(() => {\r\n if (defaultFacilityID) {\r\n getFacility(defaultFacilityID);\r\n }\r\n }, []);\r\n useEffect(() => {\r\n tableRef.current.refreshTable();\r\n }, [selectedFacilityID, filter]);\r\n useEffect(() => {\r\n setFilteredSelectedMembers(selectedMembers.toJS().filter((x) => {\r\n let filterLowercased;\r\n if (filter) {\r\n filterLowercased = filter.toLowerCase();\r\n }\r\n return ((!selectedFacilityID || x.facilityID === selectedFacilityID)\r\n && (!filterLowercased\r\n || (x.facilityMemberID && x.facilityMemberID.toLowerCase().includes(filterLowercased))\r\n || (x.memberFirstName && x.memberFirstName.toLowerCase().includes(filterLowercased))\r\n || (x.memberLastName && x.memberLastName.toLowerCase().includes(filterLowercased))\r\n || (`${x.memberFirstName} ${x.memberLastName}`.toLowerCase().includes(filterLowercased))\r\n || (`${x.memberLastName} ${x.memberFirstName}`.toLowerCase().includes(filterLowercased))));\r\n }));\r\n }, [selectedMembers, selectedFacilityID, filter]);\r\n const columns = useMemo(\r\n () => [\r\n {\r\n id: MemberResources.accessorMemberStatus,\r\n Header: ,\r\n Cell: WarningCell,\r\n canSort: true,\r\n sticky: 'left',\r\n width: 42,\r\n maxWidth: 42,\r\n left: 45,\r\n accessor: MemberResources.accessorStatus,\r\n sortDescFirst: true,\r\n getProps: (row) => {\r\n return ({\r\n isInvalid: row.original.memberStatus === MembersStatuses.invalid,\r\n isPending: row.original.memberStatus === MembersStatuses.pending,\r\n invalidMessage: row.original.invalidMessage\r\n });\r\n }\r\n },\r\n {\r\n Header: MemberResources.labelFacilityMemberID,\r\n sticky: 'left',\r\n accessor: (x) => {\r\n return x.preferredAccessType === preferredAccessTypes.digitalKey ? MemberResources.labelKeyfobAccessPass : x.facilityMemberID;\r\n },\r\n minWidth: 128,\r\n width: 128,\r\n left: 87\r\n },\r\n {\r\n id: MemberResources.accessorEmployeeName,\r\n Header: MemberResources.labelEmployeeName,\r\n sticky: 'left',\r\n accessor: (x) => {\r\n return x.memberFirstName ? `${x.memberFirstName} ${x.memberLastName}` : '';\r\n },\r\n minWidth: 200,\r\n width: 200,\r\n left: 219,\r\n isSorted: true,\r\n isSortedDesc: false\r\n },\r\n {\r\n Header: MemberResources.labelDateOfBirth,\r\n accessor: MemberResources.accessorMemberDateOfBirth,\r\n minWidth: 140,\r\n width: 140,\r\n maxWidth: 160,\r\n Cell: cell => (cell.value !== null ? moment(cell.value).format(SLASHED_US_DATE_FORMAT) : null)\r\n },\r\n {\r\n Header: MemberResources.labelPlans,\r\n accessor: MemberResources.accessorPlanName,\r\n width: 200,\r\n maxWidth: 400,\r\n disableSortBy: true,\r\n Cell: TooltipCell\r\n },\r\n {\r\n Header: MemberResources.labelFacilityName,\r\n accessor: MemberResources.accessorFacilityName,\r\n width: 128,\r\n maxWidth: 224,\r\n Cell: TooltipCell\r\n },\r\n {\r\n Header: MemberResources.labelFacilityID,\r\n accessor: MemberResources.accessorFacilityIDNumber,\r\n minWidth: 102,\r\n width: 102\r\n },\r\n {\r\n Header: MemberResources.labelActions,\r\n id: 'actions',\r\n accessor: (row) => { return { row, isAdmin }; },\r\n Cell: ReplaceMemberActionsCell,\r\n minWidth: 85,\r\n width: 85,\r\n sticky: 'right',\r\n right: 0,\r\n disableSortBy: true\r\n }\r\n ],\r\n [MemberResources, isAdmin]\r\n );\r\n const deactivateHandler = () => {\r\n resetMemberToDeactivate();\r\n deactivateMember(memberToDeactivate.memberID).then(() => {\r\n tableRef.current.refreshTable();\r\n });\r\n };\r\n const updateHandler = (pageNumber, sortColumn, sortOrder) => {\r\n getMembersList(pageNumber, PAGE_SIZE, selectedFacilityID, sortColumn, sortOrder, filter);\r\n };\r\n\r\n const changeFacilityHandler = (value) => {\r\n const facilityID = value ? value.id : null;\r\n setSelectedFacilityID(facilityID);\r\n };\r\n\r\n const onFilterChange = (value) => {\r\n setFilter(value);\r\n };\r\n const getMemberId = (item) => {\r\n return item.memberID;\r\n };\r\n return (\r\n
    \r\n \r\n

    {MemberResources.title}

    \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n {isLoading ? : null}\r\n {deactivationConfirmationPopupMessage}
    }\r\n onConfirm={deactivateHandler}\r\n onCancel={resetMemberToDeactivate}\r\n labelOk={MemberResources.buttonDeactivate}\r\n />\r\n row.original.memberStatus === MembersStatuses.invalid}\r\n warningRowCondition={row => row.original.memberStatus === MembersStatuses.pending}\r\n textNoDataFound={MemberResources.textNoMemberFound}\r\n requireSelect\r\n ref={tableRef}\r\n />\r\n \r\n \r\n );\r\n}\r\nMembersList.propTypes = {\r\n isLoading: PropTypes.bool.isRequired,\r\n facility: PropTypes.object,\r\n membersTotalCount: PropTypes.number,\r\n members: PropTypes.object.isRequired,\r\n getMembersList: PropTypes.func.isRequired,\r\n selectedMembers: PropTypes.object.isRequired,\r\n getFacility: PropTypes.func.isRequired,\r\n updateSelectedMembers: PropTypes.func.isRequired,\r\n setIsMemberTransferPopupOpen: PropTypes.func.isRequired,\r\n history: PropTypes.object.isRequired,\r\n isAdmin: PropTypes.bool.isRequired,\r\n memberToDeactivate: PropTypes.object,\r\n deactivationConfirmationPopupMessage: PropTypes.string,\r\n isConfirmationPopupVisible: PropTypes.bool.isRequired,\r\n resetMemberToDeactivate: PropTypes.func.isRequired,\r\n deactivateMember: PropTypes.func.isRequired,\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n getMembersList,\r\n getFacility,\r\n updateSelectedMembers,\r\n setIsMemberTransferPopupOpen,\r\n resetMemberToDeactivate,\r\n deactivateMember\r\n};\r\nconst connectStateToProps = connect(selectors, mapDispatchToProps);\r\n\r\nexport default connectStateToProps(MembersList);\r\n","import http from '../../http/base';\r\nimport { API_PATHS } from '../../http/configs';\r\n\r\nexport function getMembersList(pageNumber, pageSize, facilityID, sortBy, sortOrder, filter) {\r\n return http.get(API_PATHS.members, { params: { page: pageNumber, pageSize, sortBy, sortOrder, facilityID, filter } });\r\n}\r\n\r\nexport function deactivateMember(memberID) {\r\n return http.post(API_PATHS.deactivateMember, null, { params: { memberID, allPlansShouldBeIneligible: false } });\r\n}\r\n","import React, { useMemo } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport membersTransferResources from './membersTransferResources';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport NewTable from '../../../components/NewInfoBox/NewTable';\r\nimport InfoBox from '../../../components/InfoBox/InfoBox';\r\nimport routes from '../../../routing/routes';\r\nimport selectors from './memberTransferSelectors';\r\nimport TooltipCell from '../../../components/NewInfoBox/TooltipCell';\r\nimport InfoBoxRow from '../../../components/InfoBox/InfoBoxRow';\r\nimport Button from '../../../components/controls/Button';\r\nimport './_member-transfer.scss';\r\nimport MaterialIcon from '../../../components/MaterialIcon/MaterialIcon';\r\n\r\nfunction MembersTransferResult({ membersTransferResult, isLoading, history }) {\r\n const columns = useMemo(\r\n () => [\r\n {\r\n Header: membersTransferResources.labelFacilityMemberID,\r\n accessor: membersTransferResources.accessorFacilityMemberID,\r\n minWidth: 128,\r\n width: 128\r\n },\r\n {\r\n id: membersTransferResources.accessorEmployeeName,\r\n Header: membersTransferResources.labelEmployeeName,\r\n accessor: (x) => {\r\n return x.memberFirstName ? `${x.memberFirstName} ${x.memberLastName}` : '';\r\n },\r\n minWidth: 200,\r\n width: 200\r\n },\r\n {\r\n Header: membersTransferResources.labelPlans,\r\n accessor: membersTransferResources.accessorPlanName,\r\n width: 200,\r\n maxWidth: 400,\r\n disableSortBy: true,\r\n Cell: TooltipCell\r\n },\r\n {\r\n Header: membersTransferResources.labelFacilityFromName,\r\n accessor: membersTransferResources.accessorFacilityFromName,\r\n width: 128,\r\n maxWidth: 224,\r\n Cell: TooltipCell\r\n },\r\n {\r\n Header: membersTransferResources.labelFacilityFromID,\r\n accessor: membersTransferResources.accessorFacilityFromIDNumber,\r\n minWidth: 102,\r\n width: 102\r\n },\r\n {\r\n Header: membersTransferResources.labelFacilityToName,\r\n accessor: membersTransferResources.accessorFacilityToName,\r\n width: 128,\r\n maxWidth: 224,\r\n Cell: TooltipCell\r\n },\r\n {\r\n Header: membersTransferResources.labelFacilityToID,\r\n accessor: membersTransferResources.accessorFacilityToIDNumber,\r\n minWidth: 102,\r\n width: 102\r\n },\r\n {\r\n Header: membersTransferResources.labelTransferStatus,\r\n accessor: (x) => {\r\n return x.transferStatus ? 'transferred' : 'failed';\r\n },\r\n minWidth: 102,\r\n width: 102\r\n },\r\n {\r\n Header: membersTransferResources.labelTransferReason,\r\n accessor: membersTransferResources.accessorTransferReason,\r\n minWidth: 102,\r\n width: 102\r\n }\r\n ],\r\n [membersTransferResources]\r\n );\r\n const getMemberId = (item) => {\r\n return item.facilityMemberID;\r\n };\r\n return isLoading ?\r\n (\r\n \r\n )\r\n : (\r\n
    \r\n

    {membersTransferResources.title}

    \r\n \r\n row.original.transferStatus === false}\r\n update={() => { }}\r\n updateSelectedItems={() => {}}\r\n totalCount={membersTransferResult.toJS().length}\r\n getItemId={getMemberId}\r\n />\r\n \r\n \r\n \r\n \r\n
    \r\n );\r\n}\r\n\r\nMembersTransferResult.propTypes = {\r\n membersTransferResult: PropTypes.object.isRequired,\r\n isLoading: PropTypes.bool.isRequired,\r\n history: PropTypes.object.isRequired\r\n};\r\n\r\nconst connectStateToProps = connect(selectors, {});\r\n\r\nexport default connectStateToProps(MembersTransferResult);","import React from 'react';\r\nimport { Redirect, Switch } from 'react-router-dom';\r\nimport CustomRoute from '../../../../layouts/CustomRoute';\r\nimport { routeType } from '../../../../routing/routes';\r\n\r\nfunction PrivacyArchiveArea({ currentRoute }) {\r\n return \r\n {currentRoute.routes.map((route, i) => (\r\n \r\n ))}\r\n \r\n ;\r\n}\r\n\r\nPrivacyArchiveArea.propTypes = {\r\n currentRoute: routeType,\r\n};\r\n\r\nexport default PrivacyArchiveArea;","import { createSelector } from 'reselect';\r\n\r\nconst getGoodRecords = state => state.uploadRecipientsResultsReducer.getIn(['uploadResults', 'goodRecords']);\r\nconst getBadRecords = state => state.uploadRecipientsResultsReducer.getIn(['uploadResults', 'badRecords']);\r\nconst getFileName = state => state.uploadRecipientsResultsReducer.get('fileName');\r\n\r\nexport default createSelector(\r\n [getGoodRecords, getBadRecords, getFileName],\r\n (goodRecords, badRecords, fileName) => ({\r\n goodRecords,\r\n badRecords,\r\n fileName\r\n })\r\n);","const uploadRecipientsResources = {\r\n uploadResultsLabel: '*Here is the list of members that have not been uploaded. Please fix their information in file and try again',\r\n uploadResultsTitle: 'Recipients Upload Results',\r\n labelRowNumber: 'Row Number',\r\n labelFullName: 'Employee Name',\r\n labelEmail: 'Email',\r\n labelReason: 'Failure Reason',\r\n};\r\n\r\nexport default uploadRecipientsResources;","import React, { useMemo } from 'react';\r\nimport './uploadRecipientsResults.scss';\r\nimport { useHistory } from 'react-router-dom';\r\nimport PropTypes from 'prop-types';\r\nimport NewTable from '../../../components/NewInfoBox/NewTable';\r\nimport TooltipCell from '../../../components/NewInfoBox/TooltipCell';\r\nimport MaterialIcon from '../../../components/MaterialIcon/MaterialIcon';\r\nimport selectors from './uploadRecipientsResultsSelector';\r\nimport uploadRecipientsResources from './uploadRecipientsResultsResources';\r\nimport { connect } from 'react-redux';\r\nimport { fromJS } from 'immutable';\r\nimport { setUploadResultsFileName, setUploadResults } from './uploadRecipientsResultsActions';\r\nimport Button from '../../../components/controls/Button';\r\nimport resources from '../resources';\r\n\r\nfunction UploadRecipientsResults({\r\n fileName,\r\n badRecords\r\n}) {\r\n const history = useHistory();\r\n const updateHandler = () => {\r\n };\r\n const goBack = () => {\r\n history.goBack();\r\n };\r\n const totalRecords = () => {\r\n return badRecords ? (badRecords.size || 0) : 0;\r\n };\r\n const columns = useMemo(() => [\r\n {\r\n Header: uploadRecipientsResources.labelRowNumber,\r\n accessor: 'row',\r\n width: 80,\r\n minWidth: 80\r\n },\r\n {\r\n id: 'fullName',\r\n Header: uploadRecipientsResources.labelFullName,\r\n accessor: (x) => {\r\n return `${x.firstName ? x.firstName : ''} ${x.lastName ? x.lastName : ''}`;\r\n },\r\n width: 200,\r\n minWidth: 150\r\n },\r\n {\r\n Header: uploadRecipientsResources.labelEmail,\r\n accessor: 'email',\r\n Cell: TooltipCell,\r\n width: 184,\r\n minWidth: 184\r\n },\r\n {\r\n Header: uploadRecipientsResources.labelReason,\r\n accessor: 'reason',\r\n Cell: TooltipCell,\r\n width: 300,\r\n minWidth: 200\r\n }\r\n ], [uploadRecipientsResources]);\r\n\r\n return
    \r\n
    \r\n

    \r\n \r\n {uploadRecipientsResources.uploadResultsTitle}

    \r\n

    {fileName}

    \r\n

    {uploadRecipientsResources.uploadResultsLabel}

    \r\n
    \r\n item.row}\r\n />\r\n
    \r\n \r\n\r\n
    \r\n
    ;\r\n}\r\nUploadRecipientsResults.defaultProps = {\r\n fileName: '',\r\n badRecords: []\r\n};\r\n\r\nUploadRecipientsResults.propTypes = {\r\n fileName: PropTypes.string,\r\n badRecords: PropTypes.oneOfType([PropTypes.array, PropTypes.object])\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n setUploadResultsFileName,\r\n setUploadResults\r\n};\r\nexport default connect(selectors, mapDispatchToProps)(UploadRecipientsResults);","const employeeWellnessResources = {\r\n title: 'Employee Wellness',\r\n};\r\nexport default employeeWellnessResources;","import React from 'react';\r\nimport SectionsDivider from '../../../../components/SectionsDivider/SectionsDivider';\r\nimport SolutionsSectionItem from '../../../../components/SolutionsSection/SolutionsSectionItem';\r\nimport SolutionsSection from '../../../../components/SolutionsSection/SolutionsSection';\r\nimport BenefitsSection from '../../../../components/BenefitsSection/BenefitsSection';\r\nimport BenefitsSectionItem from '../../../../components/BenefitsSection/BenefitsSectionItems';\r\nimport TextSection from '../../../../components/TextSection/TextSection';\r\nimport CallToAction from '../../../../components/CallToAction/CallToAction';\r\nimport CallToActionBody from '../../../../components/CallToAction/CallToActionBody';\r\nimport CallToActionImage from '../../../../components/CallToAction/CallToActionImage';\r\nimport guestAreaSharedResources from '../guestAreaSharedResources';\r\nimport TestimonialSection from '../../../../components/TestimonialSection/TestimonialSection';\r\nimport TestimonialSectionItem from '../../../../components/TestimonialSection/TestimonialSectionItem';\r\nimport optum from '../../../../assets/images/optum.svg';\r\nimport fitonhealth from '../../../../assets/images/FitOn-Health-logo.png';\r\nimport { API_PATHS } from '../../../../http/configs';\r\nimport ash from '../../../../assets/images/ash.svg';\r\nimport PropTypes from 'prop-types';\r\nimport ContactUsSection from '../ContactUs/ContactUsSection';\r\nimport styles from '../../../../styles/_public-page.module.scss';\r\nimport { OPTUM_ALT_TAG, FITON_HEALTH_ALT_TAG, ASH_ALT_TAG } from '../../../../constants/partnerImageGroups';\r\nimport MetaData from '../../../../components/MetaData/MetaData';\r\nimport { HEALTHY_CONTRIBUTIONS_NAME } from '../../../../constants/companyNames';\r\nimport { HC_PHONE_NUMBER } from '../../../../constants/phones';\r\nimport resources from './employeeWellnessResources';\r\n\r\nfunction EmployeeWellness({ history }) {\r\n function joinUsHandler() {\r\n window.location = API_PATHS.calendlyCalenderUrl;\r\n };\r\n\r\n return
    \r\n \r\n \r\n Empower your employees to prioritize their health and wellness}\r\n description={<>For employers, see how Healthy Contributions helps engage and activate members to participate in wellness programs and reward healthy behaviors to change lives for better health.
    Transform your workplace and increase productivity with a flexible, secure, and HIPPA compliant wellness solution from Healthy Contributions.}\r\n buttonText=\"Schedule a Consultation\"\r\n buttonClickHandler={joinUsHandler}\r\n />\r\n \r\n
    \r\n \r\n For employers, help your employees manage their health to manage your costs}\r\n text=\"No other provider combines both wellness and data expertise, resulting in superior solutions that help people live healthier lives. Our service-driven model offers flexible pricing tailored to fit your organization’s budget and wellness goals.\"\r\n theme=\"column-on-large-screen\"\r\n />\r\n \r\n Benefits of having a wellness program}\r\n description=\"Leverage rewards and incentives to activate your employees to participate in wellness programs that positively shape their health outcomes, while simultaneously boosting productivity and lowering healthcare costs.\"\r\n >\r\n \r\n \r\n \r\n \r\n \r\n Customized wellness solutions for employers}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n Employer testimonials}>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    ;\r\n}\r\n\r\nEmployeeWellness.propTypes = {\r\n history: PropTypes.object.isRequired\r\n};\r\n\r\nexport default EmployeeWellness;","export default Object.freeze({\r\n memberPaymentsFiltersFormName: 'memberPaymentsFiltersForm',\r\n fieldProgramTypeID: 'programTypeID',\r\n labelProgramType: 'Program Type',\r\n fieldPaymentTypeID: 'paymentTypeID',\r\n labelPaymentType: 'Payment Type',\r\n fieldPartnerID: 'partnerID',\r\n labelPartner: 'Partner',\r\n fieldPeriodID: 'periodID',\r\n labelVisitMonth: 'Visit Month',\r\n buttonTextView: 'View',\r\n columnNameEmployeeName: 'employee name',\r\n accessorEmployeeName: 'memberFullName',\r\n columnNameFacilityId: 'facility id',\r\n accessorFacilityId: 'facilityIDNumber',\r\n columnNameAmountToBeWithdrawn: 'amount to be withdrawn',\r\n columnNameAmountToBeDeposited: 'amount to be deposited',\r\n accessorAmountToBeWithdrawn: 'amountToBeSent',\r\n columnNameMemberPaymentType: 'billing type',\r\n accessorMemberPaymentType: 'memberBillingTypeID',\r\n columnNameBillingInfo: 'billing info',\r\n accessorBillingInfo: 'billingInfo',\r\n columnNameStatus: 'status',\r\n accessorStatus: 'paymentStatusID',\r\n columnNameDate: 'date',\r\n accessorDate: 'paymentStatusDate',\r\n headerTotalDuesAmount: 'Total Dues Amount',\r\n buttonSend: 'Send',\r\n monthlyDuesCollectingIsLocked : 'Closed period: Monthly dues collecting is locked',\r\n});","import { createSelector } from 'reselect';\r\nimport { formValueSelector } from 'redux-form';\r\nimport moment from 'moment';\r\nimport { GET_PAYMENTS, GET_PARTNERS, CHECK_PAYMENTS_PROCESSED, SEND_PAYMENTS } from './memberPaymentsTypes';\r\nimport { GET_PERIODS_UNTIL_CURRENT, GET_CLOSED_USAGE_PERIODS } from '../../Shared/Periods/periodsTypes';\r\nimport resources from './memberPaymentsResources';\r\nimport { MONTH_YEAR } from '../../../constants/formats';\r\nimport programPaymentTypes from '../../../enums/programPaymentTypes';\r\nimport paymentTypes from '../../../enums/paymentTypes';\r\nimport currencyFormatter from '../../../utilities/formatters/currencyFormatter';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings').filter(\r\n i => i === GET_PAYMENTS || i === GET_PARTNERS || i === GET_PERIODS_UNTIL_CURRENT || i === CHECK_PAYMENTS_PROCESSED || i === SEND_PAYMENTS || i === GET_CLOSED_USAGE_PERIODS\r\n ).size;\r\n\r\n return size > 0;\r\n};\r\n\r\nconst getProgramPaymentTypes = (state) => {\r\n return state.programPaymentTypeReducer.get('programPaymentTypes').filter(ppt => ppt.get('id') !== programPaymentTypes.partnerPaid);\r\n};\r\n\r\nconst getSelf = state => state;\r\nconst getMemberPaymentTypes = state => state.memberPaymentsReducer.get('paymentTypes');\r\nconst getPartners = state => state.memberPaymentsReducer.get('partners');\r\nconst formSelector = formValueSelector(resources.memberPaymentsFiltersFormName, state => state.form.toJS());\r\nconst getProgramTypeID = state => formSelector(state, resources.fieldProgramTypeID);\r\nconst getPaymentTypeID = state => formSelector(state, resources.fieldPaymentTypeID);\r\nconst getPartnerID = state => formSelector(state, resources.fieldPartnerID);\r\nconst getPeriodID = state => formSelector(state, resources.fieldPeriodID);\r\nconst getPeriods = createSelector([getProgramTypeID, getPaymentTypeID, getSelf], (programTypeID, paymentTypeID, state) => {\r\n if (programTypeID && programTypeID === programPaymentTypes.memberPaid && paymentTypeID && paymentTypeID === paymentTypes.gmMemberReimbursements) {\r\n return state.periodsReducer.get('closedUsagePeriods');\r\n }\r\n else {\r\n return state.periodsReducer.get('periodsUntilCurrent');\r\n }\r\n});\r\nconst getMemberPayments = state => state.memberPaymentsReducer.get('payments');\r\nconst getTotalPaymentsAmount = createSelector([getMemberPayments], (payments) => {\r\n let total = 0;\r\n if (payments.size !== 0) {\r\n total = payments.toJS().reduce((acc, obj) => acc + obj.amountToBeSent, 0);\r\n }\r\n return currencyFormatter.formatToUSDollar(total);\r\n});\r\nconst getMemberPaymentsCount = createSelector([getMemberPayments], (payments) => {\r\n return payments.size;\r\n});\r\nconst getInitialFilterValues = state => state.memberPaymentsReducer.get('filters');\r\nconst getDefaultPeriodID = createSelector([getPeriods], (periods) => {\r\n if (!periods || periods.size === 0) return undefined;\r\n const currentPeriod = periods.find(x => x.get('yearMonth') === moment().format(MONTH_YEAR));\r\n if (currentPeriod) {\r\n return currentPeriod.toJS().id;\r\n }\r\n return periods.first().toJS().id;\r\n});\r\n\r\nconst getIsViewButtonDisabled = createSelector([getProgramTypeID, getPaymentTypeID, getPartnerID, getPeriodID], (programTypeID, paymentTypeID, partnerID, periodID) => {\r\n return !programTypeID || !paymentTypeID || !partnerID || !periodID;\r\n});\r\nconst getPopupData = state => state.memberPaymentsReducer.get('popupData');\r\nconst getPopupMessage = state => state.memberPaymentsReducer.getIn(['popupData', 'message']);\r\nconst getSubmitText = state => state.memberPaymentsReducer.getIn(['popupData', 'submitText']);\r\nconst getCurrentPeriodId = createSelector([getPeriods], (periods) => {\r\n const currentPeriod = periods.find(x => x.get('yearMonth') === moment().format(MONTH_YEAR));\r\n if (currentPeriod && currentPeriod.toJS()) {\r\n return currentPeriod.toJS().id;\r\n }\r\n if (periods && periods.first() && periods.first().toJS()) {\r\n return periods.first().toJS().id;\r\n }\r\n return undefined;\r\n});\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n getMemberPayments,\r\n getTotalPaymentsAmount,\r\n getMemberPaymentsCount,\r\n getProgramPaymentTypes,\r\n getInitialFilterValues,\r\n getMemberPaymentTypes,\r\n getProgramTypeID,\r\n getPartners,\r\n getPeriods,\r\n getDefaultPeriodID,\r\n getPaymentTypeID,\r\n getPartnerID,\r\n getPeriodID,\r\n getIsViewButtonDisabled,\r\n getPopupData,\r\n getPopupMessage,\r\n getSubmitText,\r\n getCurrentPeriodId\r\n ],\r\n (\r\n isLoading,\r\n payments,\r\n totalPaymentsAmount,\r\n memberPaymentsCount,\r\n programPaymentTypes,\r\n initialFilterValues,\r\n memberPaymentTypes,\r\n programTypeID,\r\n partners,\r\n periods,\r\n defaultPeriodID,\r\n paymentTypeID,\r\n partnerID,\r\n periodID,\r\n isViewButtonDisabled,\r\n popupData,\r\n popupMessage,\r\n popupSubmitText,\r\n currentPeriodId\r\n ) => {\r\n return {\r\n isLoading,\r\n payments,\r\n totalPaymentsAmount,\r\n memberPaymentsCount,\r\n programPaymentTypes,\r\n initialFilterValues,\r\n memberPaymentTypes,\r\n programTypeID,\r\n partners,\r\n periods,\r\n defaultPeriodID,\r\n paymentTypeID,\r\n partnerID,\r\n periodID,\r\n isViewButtonDisabled,\r\n popupData,\r\n popupMessage,\r\n popupSubmitText,\r\n currentPeriodId\r\n };\r\n }\r\n);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styles from './_table-filters-panel.module.scss';\r\n\r\nconst TableFiltersPanel = function ({ children }) {\r\n return
    {children}
    ;\r\n};\r\n\r\nTableFiltersPanel.propTypes = {\r\n children: PropTypes.oneOfType([\r\n PropTypes.arrayOf(PropTypes.node),\r\n PropTypes.node,\r\n ]),\r\n};\r\n\r\nexport default TableFiltersPanel;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Field, reduxForm } from 'redux-form/immutable';\r\nimport FormGroup from '../../../components/controls/FormGroup';\r\nimport MuiButton from '../../../components/controls/MuiButton';\r\nimport { defaultFormProperties } from '../../../utilities/form';\r\nimport MuiInputSelect from '../../../components/controls/MuiInputSelect';\r\nimport resources from './memberPaymentsResources';\r\n\r\nconst MemberPaymentsFiltersForm = ({\r\n pristine,\r\n submitting,\r\n handleSubmit,\r\n programPaymentTypes,\r\n onProgramPaymentTypeChange,\r\n paymentTypes,\r\n partners,\r\n periods,\r\n viewButtonDisabled\r\n}) => {\r\n\r\n function handleChange(event) {\r\n onProgramPaymentTypeChange(event.target.value);\r\n }\r\n\r\n return (\r\n \r\n
    \r\n
    \r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n onChange={handleChange}\r\n />\r\n
    \r\n
    \r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n />\r\n
    \r\n
    \r\n option.get('name')}\r\n getOptionValue={option => option.get('id')}\r\n />\r\n
    \r\n
    \r\n option.get('yearMonth')}\r\n getOptionValue={option => option.get('id')}\r\n />\r\n
    \r\n
    \r\n
    \r\n \r\n {resources.buttonTextView}\r\n \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nMemberPaymentsFiltersForm.propTypes = {\r\n pristine: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n handleSubmit: PropTypes.func.isRequired,\r\n programPaymentTypes: PropTypes.object.isRequired,\r\n onProgramPaymentTypeChange: PropTypes.func.isRequired,\r\n paymentTypes: PropTypes.object.isRequired,\r\n partners: PropTypes.object.isRequired,\r\n periods: PropTypes.object.isRequired,\r\n viewButtonDisabled: PropTypes.bool.isRequired\r\n};\r\n\r\nexport default reduxForm({\r\n form: resources.memberPaymentsFiltersFormName,\r\n ...defaultFormProperties\r\n})(MemberPaymentsFiltersForm);\r\n","import * as types from './memberPaymentsTypes';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport * as partnersListService from '../../Partners/PartnersList/partnersListService';\r\nimport * as memberPaymentsService from './memberPaymentsService';\r\nimport * as paymentTypeService from '../../../features/PaymentTypes/paymentTypeService';\r\n\r\nconst setPartnersAction = (partners) => {\r\n return { type: types.SET_PARTNERS, partners };\r\n};\r\n\r\nexport function getPartnersListByProgramPaymentType(programPaymentTypeID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PARTNERS));\r\n return partnersListService\r\n .getPartnersListByProgramPaymentType(programPaymentTypeID, null)\r\n .then((partners) => {\r\n dispatch(setPartnersAction(partners));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PARTNERS));\r\n });\r\n };\r\n}\r\n\r\nconst setPeriodIDAction = (periodID) => {\r\n return { type: types.SET_PERIOD_ID, periodID };\r\n};\r\n\r\nexport function setPeriodID(periodID) {\r\n return function (dispatch) {\r\n dispatch(setPeriodIDAction(periodID));\r\n };\r\n}\r\n\r\nconst setProgramTypeIDAction = (programTypeID) => {\r\n return { type: types.SET_PROGRAM_PAYMENT_TYPE_ID, programTypeID };\r\n};\r\n\r\nexport function setProgramTypeID(programTypeID) {\r\n return function (dispatch) {\r\n dispatch(setProgramTypeIDAction(programTypeID));\r\n };\r\n}\r\n\r\nconst setPaymentsAction = (payments) => {\r\n return { type: types.SET_PAYMENTS, payments };\r\n};\r\n\r\nexport function getPayments(programPaymentTypeID, paymentTypeID, partnerId, periodId) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PAYMENTS));\r\n return memberPaymentsService\r\n .getPayments(programPaymentTypeID, paymentTypeID, partnerId, periodId)\r\n .then((payments) => {\r\n dispatch(setPaymentsAction(payments));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PAYMENTS));\r\n });\r\n };\r\n}\r\n\r\nexport function downloadPayments(programPaymentTypeID, paymentTypeID, partnerID, periodID) {\r\n return function(dispatch, getState) {\r\n dispatch(loadingActions.setLoading(types.DOWNLOAD_PAYMENTS));\r\n return memberPaymentsService\r\n .downloadPayments(programPaymentTypeID, paymentTypeID, partnerID, periodID)\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.DOWNLOAD_PAYMENTS)));\r\n };\r\n}\r\n\r\nconst setPopupDataAction = (popupData) => {\r\n return { type: types.SET_POPUP_DATA, popupData };\r\n};\r\n\r\nexport function checkMemberPaymentsProcessed(programPaymentTypeID, paymentTypeID, partnerID, periodID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.CHECK_PAYMENTS_PROCESSED));\r\n return memberPaymentsService\r\n .checkMemberPaymentsProcessed(programPaymentTypeID, paymentTypeID, partnerID, periodID)\r\n .then((paymentsProcessedData) => { dispatch(setPopupDataAction(paymentsProcessedData)); })\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.CHECK_PAYMENTS_PROCESSED)));\r\n };\r\n}\r\n\r\nfunction sendMemberPayments(programPaymentTypeID, paymentTypeID, partnerID, periodID, pin) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.SEND_PAYMENTS));\r\n return memberPaymentsService\r\n .sendMemberPayments(programPaymentTypeID, paymentTypeID, partnerID, periodID, pin)\r\n .finally(() => dispatch(loadingActions.unsetLoading(types.SEND_PAYMENTS)));\r\n };\r\n}\r\n\r\nexport function getPaymentTypesByProgramPaymentType(programPaymentTypeID) {\r\n return function (dispatch) {\r\n dispatch(loadingActions.setLoading(types.GET_PAYMENT_TYPES));\r\n return paymentTypeService\r\n .getMemberPaymentTypesByProgramPaymentType(programPaymentTypeID)\r\n .then((paymentTypes) => {\r\n dispatch(setPaymentTypesAction(paymentTypes));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(types.GET_PAYMENT_TYPES));\r\n });\r\n };\r\n}\r\n\r\nconst setPaymentTypesAction = (paymentTypes) => {\r\n return { type: types.SET_PAYMENT_TYPES, paymentTypes };\r\n};\r\n\r\nexport default {\r\n getPartnersListByProgramPaymentType,\r\n setPeriodID,\r\n setProgramTypeID,\r\n getPayments,\r\n downloadPayments,\r\n checkMemberPaymentsProcessed,\r\n sendMemberPayments,\r\n getPaymentTypesByProgramPaymentType\r\n};","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\nimport { replaceRouteParams } from '../../../utilities/routeHelper';\r\n\r\nexport function getPayments(programPaymentTypeID, paymentTypeID, partnerID, periodID) {\r\n return http.get(replaceRouteParams(API_PATHS.getMemberPayments, programPaymentTypeID, paymentTypeID, partnerID, periodID));\r\n};\r\n\r\nexport function downloadPayments(programPaymentTypeID, paymentTypeID, partnerID, periodID) {\r\n return http.get(replaceRouteParams(API_PATHS.downloadMemberPayments, programPaymentTypeID, paymentTypeID, partnerID, periodID), { responseType: 'blob' });\r\n};\r\n\r\nexport function checkMemberPaymentsProcessed(programPaymentTypeID, paymentTypeID, partnerID, periodID) {\r\n return http.get(replaceRouteParams(API_PATHS.checkMemberPaymentsProcessed, programPaymentTypeID, paymentTypeID, partnerID, periodID));\r\n};\r\n\r\nexport function sendMemberPayments(programPaymentTypeID, paymentTypeID, partnerID, periodID, pin) {\r\n return http.post(replaceRouteParams(API_PATHS.sendMemberPayments, programPaymentTypeID, paymentTypeID, partnerID, periodID), { pin });\r\n};","\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport styles from './_currency-cell.module.scss';\r\nimport currencyFormatter from '../../utilities/formatters/currencyFormatter';\r\n\r\nfunction CurrencyCell({ value }) {\r\n return
    {currencyFormatter.formatToUSDollar(value)}
    ;\r\n}\r\n\r\nCurrencyCell.propTypes = {\r\n value: PropTypes.number,\r\n};\r\n\r\nexport default CurrencyCell;\r\n","const memberBillingTypes = Object.freeze({\r\n DirectFromBankAccount: 1\r\n});\r\nexport const memberBillingTypesNamesMap = Object.freeze({\r\n [memberBillingTypes.DirectFromBankAccount]: 'Direct from Bank Account'\r\n});\r\nexport default memberBillingTypes;\r\n","import React, { useMemo, useRef, useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { submit } from 'redux-form';\r\nimport moment from 'moment';\r\nimport { SLASHED_US_DATE_FORMAT } from '../../../constants/formats';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport selectors from './memberPaymentsSelectors';\r\nimport NewTable from '../../../components/NewInfoBox/NewTable';\r\nimport resources from './memberPaymentsResources';\r\nimport TableFiltersPanel from '../../../components/NewInfoBox/TableFiltersPanel';\r\nimport MemberPaymentsFiltersForm from './MemberPaymentsFiltersForm';\r\nimport actions from './memberPaymentsActions';\r\nimport { getPeriodsUntilCurrent, getClosedUsagePeriods } from '../../Shared/Periods/periodsActions';\r\nimport CurrencyCell from '../../../components/NewInfoBox/CurrencyCell';\r\nimport BulletCell from '../../../components/NewInfoBox/BulletCell';\r\nimport { paymentStatusesColorsMap, paymentStatusesNamesMap } from '../../../enums/paymentStatuses';\r\nimport programPaymentTypesEnum from '../../../enums/programPaymentTypes';\r\nimport paymentTypes from '../../../enums/paymentTypes';\r\nimport { memberBillingTypesNamesMap } from '../../../enums/memberBillingTypes';\r\nimport { isTabletSize } from '../../../utilities/windowSize';\r\nimport styles from './_member-payments.module.scss';\r\nimport MuiButton from '../../../components/controls/MuiButton';\r\nimport Button from '../../../components/controls/Button';\r\nimport MaterialIcon from '../../../components/MaterialIcon/MaterialIcon';\r\nimport ConnectedConfirmPopup from '../../../components/Popups/ConfirmAlert/ConnectedConfirmPopup';\r\nimport wellnessProgramPaymentResources from '../wellnessProgramPaymentsResources';\r\nimport PaymentConfirmationForm from '../PaymentConfirmationForm/PaymentConfirmationForm';\r\nimport { setGlobalErrorMessage } from '../../App/actions';\r\n\r\nfunction MemberPaymentsTab({\r\n payments,\r\n totalPaymentsAmount,\r\n memberPaymentsCount,\r\n isLoading,\r\n programPaymentTypes,\r\n initialFilterValues,\r\n memberPaymentTypes,\r\n getPartnersListByProgramPaymentType,\r\n programTypeID,\r\n paymentTypeID,\r\n partnerID,\r\n periodID,\r\n partners,\r\n getPeriodsUntilCurrent,\r\n getClosedUsagePeriods,\r\n periods,\r\n setPeriodID,\r\n setProgramTypeID,\r\n getPayments,\r\n downloadPayments,\r\n isViewButtonDisabled,\r\n popupMessage,\r\n popupSubmitText,\r\n checkMemberPaymentsProcessed,\r\n sendMemberPayments,\r\n popupData,\r\n getPaymentTypesByProgramPaymentType,\r\n currentPeriodId,\r\n setGlobalErrorMessage }) {\r\n const tableRef = useRef();\r\n const isTablet = isTabletSize();\r\n const columns = useMemo(\r\n () => [\r\n {\r\n Header: resources.columnNameEmployeeName,\r\n accessor: resources.accessorEmployeeName,\r\n sticky: isTablet ? 'left' : null,\r\n left: 0,\r\n sortType: 'caseInsensitiveAlphaNumeric'\r\n },\r\n {\r\n Header: resources.columnNameFacilityId,\r\n accessor: resources.accessorFacilityId,\r\n sortType: 'caseInsensitiveAlphaNumeric'\r\n },\r\n {\r\n Header: paymentTypeID === paymentTypes.gmMemberReimbursements ? resources.columnNameAmountToBeDeposited : resources.columnNameAmountToBeWithdrawn,\r\n accessor: resources.accessorAmountToBeWithdrawn,\r\n Cell: CurrencyCell\r\n },\r\n {\r\n Header: resources.columnNameMemberPaymentType,\r\n accessor: resources.accessorMemberPaymentType,\r\n Cell: cell => memberBillingTypesNamesMap[cell.value]\r\n },\r\n {\r\n Header: resources.columnNameBillingInfo,\r\n accessor: resources.accessorBillingInfo\r\n },\r\n {\r\n Header: resources.columnNameStatus,\r\n accessor: resources.accessorStatus,\r\n Cell: cell => BulletCell({ ...cell, value: paymentStatusesNamesMap[cell.value] }),\r\n getProps: row => ({\r\n theme: paymentStatusesColorsMap[row.original.paymentStatusID]\r\n }),\r\n },\r\n {\r\n Header: resources.columnNameDate,\r\n accessor: resources.accessorDate,\r\n Cell: cell => moment(cell.value).format(SLASHED_US_DATE_FORMAT)\r\n }\r\n ],\r\n [resources, isTablet, paymentTypeID]\r\n );\r\n\r\n useEffect(() => {\r\n if (programTypeID) {\r\n getPartnersListByProgramPaymentType(programTypeID);\r\n getPaymentTypesByProgramPaymentType(programTypeID);\r\n }\r\n }, [programTypeID]);\r\n\r\n useEffect(() => {\r\n if (programTypeID && paymentTypeID) {\r\n setPeriods(programTypeID, paymentTypeID);\r\n }\r\n }, [programTypeID, paymentTypeID]);\r\n\r\n useEffect(() => {\r\n setGlobalErrorMessage(\r\n isMemberDuesSendingLocked()\r\n ? resources.monthlyDuesCollectingIsLocked\r\n : null);\r\n // run when unmount\r\n return () => {\r\n setGlobalErrorMessage(null);\r\n };\r\n }, [paymentTypeID, periodID, currentPeriodId]);\r\n\r\n const exportToExcel = () => {\r\n if (programTypeID && paymentTypeID && periodID) {\r\n downloadPayments(programTypeID, paymentTypeID, partnerID, periodID);\r\n }\r\n };\r\n\r\n const programPaymentTypeChangeHandler = (programPaymentTypeID) => {\r\n setProgramTypeID(programPaymentTypeID);\r\n };\r\n\r\n const setPeriods = (programPaymentTypeID, paymentTypeID) => {\r\n if (programPaymentTypeID === programPaymentTypesEnum.memberPaid && paymentTypeID === paymentTypes.gmMemberReimbursements) {\r\n getClosedUsagePeriods();\r\n }\r\n else {\r\n getPeriodsUntilCurrent();\r\n }\r\n setPeriodID();\r\n };\r\n\r\n const [submittedFilters, setSubmittedFilters] = useState({});\r\n const handleSubmit = (filters) => {\r\n filters = filters.toJS();\r\n getPayments(filters.programTypeID, filters.paymentTypeID, filters.partnerID, filters.periodID);\r\n setSubmittedFilters(filters);\r\n };\r\n const employeeNameAccessor = (item) => {\r\n return item.memberFullName;\r\n };\r\n const [isPopupOpened, setIsPopupOpened] = useState(false);\r\n const handlePINSubmit = (confirmationData) => {\r\n sendMemberPayments(\r\n programTypeID, paymentTypeID, partnerID, periodID,\r\n confirmationData.get('pin')).then(() => getPayments(programTypeID, paymentTypeID, partnerID, periodID));\r\n setIsPopupOpened(false);\r\n };\r\n const handleSend = () => {\r\n checkMemberPaymentsProcessed(programTypeID, paymentTypeID, partnerID, periodID).then(() => {\r\n setIsPopupOpened(true);\r\n });\r\n };\r\n\r\n const isSendAchLocked = () =>\r\n submittedFilters.paymentTypeID\r\n && submittedFilters.periodID && currentPeriodId\r\n && submittedFilters.paymentTypeID === paymentTypes.gmMemberDues\r\n && submittedFilters.periodID !== currentPeriodId;\r\n\r\n const isMemberDuesSendingLocked = () =>\r\n paymentTypeID && periodID && currentPeriodId\r\n && paymentTypeID === paymentTypes.gmMemberDues\r\n && periodID !== currentPeriodId;\r\n\r\n const tableButton = \r\n {resources.buttonSend}\r\n ;\r\n const memberPaymentWithdrawalConfirmationForm = 'memberPaymentWithdrawalConfirmationForm';\r\n return
    \r\n {isLoading ? : null}\r\n {\r\n \r\n }\r\n onConfirm={(dispatch) => {\r\n dispatch(submit(memberPaymentWithdrawalConfirmationForm));\r\n }}\r\n onCancel={() => setIsPopupOpened(false)}\r\n labelOk={popupSubmitText}\r\n labelCancel={wellnessProgramPaymentResources.buttonCancel}\r\n />\r\n }\r\n \r\n \r\n \r\n\r\n
    \r\n
    \r\n
    {resources.headerTotalDuesAmount}: {totalPaymentsAmount}
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n \r\n
    ;\r\n}\r\n\r\nMemberPaymentsTab.propTypes = {\r\n initialFilterValues: PropTypes.object.isRequired,\r\n programPaymentTypes: PropTypes.object.isRequired,\r\n memberPaymentTypes: PropTypes.object.isRequired,\r\n partners: PropTypes.object.isRequired,\r\n periods: PropTypes.object.isRequired,\r\n payments: PropTypes.object.isRequired,\r\n isLoading: PropTypes.bool.isRequired,\r\n totalPaymentsAmount: PropTypes.string.isRequired,\r\n memberPaymentsCount: PropTypes.number.isRequired,\r\n getPartnersListByProgramPaymentType: PropTypes.func.isRequired,\r\n programTypeID: PropTypes.number,\r\n paymentTypeID: PropTypes.number,\r\n partnerID: PropTypes.number,\r\n periodID: PropTypes.number,\r\n getPeriodsUntilCurrent: PropTypes.func.isRequired,\r\n getClosedUsagePeriods: PropTypes.func.isRequired,\r\n defaultPeriodID: PropTypes.number,\r\n setPeriodID: PropTypes.func.isRequired,\r\n setProgramTypeID: PropTypes.func.isRequired,\r\n getPayments: PropTypes.func.isRequired,\r\n downloadPayments: PropTypes.func.isRequired,\r\n isViewButtonDisabled: PropTypes.bool.isRequired,\r\n popupMessage: PropTypes.string,\r\n popupSubmitText: PropTypes.string,\r\n checkMemberPaymentsProcessed: PropTypes.func.isRequired,\r\n sendMemberPayments: PropTypes.func.isRequired,\r\n popupData: PropTypes.object.isRequired,\r\n getPaymentTypesByProgramPaymentType: PropTypes.func.isRequired,\r\n currentPeriodId: PropTypes.number,\r\n setGlobalErrorMessage: PropTypes.func\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n ...actions,\r\n getPeriodsUntilCurrent,\r\n getClosedUsagePeriods,\r\n setGlobalErrorMessage\r\n};\r\n\r\nexport default connect(selectors, mapDispatchToProps)(MemberPaymentsTab);\r\n","import { createSelector } from 'reselect';\r\nimport { GET_BILLING_INFO, UPDATE_BANK_ACCOUNT } from './billingInfoTypes';\r\n\r\nconst getIsLoading = (state) => {\r\n const size = state.loadingReducer.get('loadings')\r\n .filter(i => i === GET_BILLING_INFO || i === UPDATE_BANK_ACCOUNT)\r\n .size;\r\n return size > 0;\r\n};\r\nconst getBillingInfo = state => state.accountBillingInfoReducer.get('billingInfo');\r\nconst getSelectedMemberGroup = state => state.app.get('selectedMemberGroup');\r\n\r\nexport default createSelector(\r\n [\r\n getIsLoading,\r\n getBillingInfo,\r\n getSelectedMemberGroup,\r\n ],\r\n (\r\n isLoading,\r\n billingInfo,\r\n selectedMemberGroup,\r\n ) => ({\r\n isLoading,\r\n billingInfo,\r\n selectedMemberGroup,\r\n })\r\n);","import { GET_BILLING_INFO, SET_BILLING_INFO, UPDATE_BANK_ACCOUNT } from './billingInfoTypes';\r\nimport * as loadingActions from '../../Loading/loadingActions';\r\nimport * as BillingInfoService from './billingInfoService';\r\n\r\nconst setBillingInfo = billingInfo => ({\r\n type: SET_BILLING_INFO,\r\n payload: {\r\n billingInfo\r\n }\r\n});\r\n\r\nconst setBankAccount = bankAccount => ({\r\n type: UPDATE_BANK_ACCOUNT,\r\n payload: {\r\n bankAccount\r\n }\r\n});\r\n\r\nexport const getBillingInfo = membersGuids => (dispatch) => {\r\n dispatch(loadingActions.setLoading(GET_BILLING_INFO));\r\n return BillingInfoService.getBillingInfo(membersGuids)\r\n .then((billingInfo) => {\r\n dispatch(setBillingInfo(billingInfo));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(GET_BILLING_INFO));\r\n });\r\n};\r\n\r\nexport const updateBankAccount = bankingInfo => (dispatch) => {\r\n dispatch(loadingActions.setLoading(UPDATE_BANK_ACCOUNT));\r\n return BillingInfoService.updateBankingInfo(bankingInfo)\r\n .then((result) => {\r\n dispatch(setBankAccount(result.data));\r\n })\r\n .finally(() => {\r\n dispatch(loadingActions.unsetLoading(UPDATE_BANK_ACCOUNT));\r\n });\r\n};\r\n\r\nexport default {\r\n getBillingInfo,\r\n updateBankAccount\r\n};\r\n","import http from '../../../http/base';\r\nimport { API_PATHS } from '../../../http/configs';\r\n\r\nexport function getBillingInfo(membersGuids) {\r\n return http.get(API_PATHS.membersBillingInfo, { params: { membersGuids } });\r\n}\r\n\r\nexport function updateBankingInfo(bankingInfo) {\r\n return http.post(API_PATHS.bankingInfo, bankingInfo);\r\n}","const billingInfoResources = {\r\n title: 'Details',\r\n updateButtonText: 'Update',\r\n withdrawalFormName: 'withdrawalBankAccountForm',\r\n depositFormName: 'depositBankAccountForm',\r\n bankAccountModelName: 'bankAccount',\r\n bankAccountCheckboxLabel: 'Use the same bank account as submitted for withdrawals.',\r\n billingInfoRequiredText: 'Billing Info is required.'\r\n};\r\nexport default billingInfoResources;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport MuiInfoBox from '../../../components/InfoBox/MuiInfoBox';\r\nimport BankAccount from '../../Shared/BankingInfo/BankAccount';\r\nimport FormGroup from '../../../components/controls/FormGroup';\r\nimport MuiButton from '../../../components/controls/MuiButton';\r\nimport { reduxForm } from 'redux-form/immutable';\r\nimport { defaultFormProperties } from '../../../utilities/form';\r\nimport { bankOperationTypesNamesMap } from '../../../enums/bankOperationTypes';\r\nimport billingInfoResources from './billingInfoResources';\r\nimport { updateBankAccount } from './billingInfoActions';\r\nimport { connect } from 'react-redux';\r\nimport styles from './_billing_info.module.scss';\r\n\r\nfunction BankAccountForm({ handleSubmit,\r\n description,\r\n pristine,\r\n submitting,\r\n operationTypeID,\r\n updateBankAccount,\r\n initialValues,\r\n setBankAccountInfo,\r\n updateCallBack\r\n}) {\r\n const updateBankAccountHandler = (formData) => {\r\n const data = formData.toJS();\r\n data.bankAccount.operationTypeID = operationTypeID;\r\n updateBankAccount(data).then(() => {\r\n if (updateCallBack) {\r\n updateCallBack();\r\n };\r\n });\r\n };\r\n const bankInfoRequiredError = !initialValues.get(billingInfoResources.bankAccountModelName);\r\n return \r\n \r\n \r\n {billingInfoResources.updateButtonText}\r\n }\r\n description={bankInfoRequiredError ? null : description}\r\n />\r\n \r\n ;\r\n}\r\n\r\nBankAccountForm.propTypes = {\r\n pristine: PropTypes.bool.isRequired,\r\n submitting: PropTypes.bool.isRequired,\r\n handleSubmit: PropTypes.func.isRequired,\r\n operationTypeID: PropTypes.number,\r\n onFormSubmit: PropTypes.func,\r\n setBankAccountInfo: PropTypes.func,\r\n description: PropTypes.string,\r\n updateBankAccount: PropTypes.func.isRequired,\r\n initialValues: PropTypes.object.isRequired,\r\n updateCallBack: PropTypes.func,\r\n};\r\n\r\nconst connectStateToProps = connect(null, { updateBankAccount });\r\n\r\nexport default reduxForm({\r\n ...defaultFormProperties\r\n})(connectStateToProps(BankAccountForm));\r\n","import React, { Fragment, useEffect } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { List } from 'immutable';\r\nimport PropTypes from 'prop-types';\r\nimport selectors from './billingInfoSelectors';\r\nimport { getBillingInfo } from './billingInfoActions';\r\nimport Spinner from '../../../components/Spinner/Spinner';\r\nimport '../../Shared/BankingInfo/_banking-info.scss';\r\nimport BankAccountForm from './BankAccountForm';\r\nimport IconCaption from '../../../components/IconCaption/IconCaption';\r\nimport bankOperationTypes from '../../../enums/bankOperationTypes';\r\nimport { change } from 'redux-form';\r\nimport billingInfoResources from './billingInfoResources';\r\nimport BankingInfoResources from '../../Shared/BankingInfo/bankingInfoResources';\r\nimport classNames from 'classnames';\r\nimport styles from './_billing_info.module.scss';\r\nimport { getMemberInvalidations } from '../../MemberArea/memberAreaActions';\r\n\r\nfunction BillingInfoTab({\r\n isLoading,\r\n billingInfo,\r\n getBillingInfo,\r\n selectedMemberGroup,\r\n change,\r\n getMemberInvalidations\r\n}) {\r\n useEffect(() => {\r\n if (selectedMemberGroup) {\r\n getBillingInfo(selectedMemberGroup.membersIds);\r\n }\r\n }, [selectedMemberGroup]);\r\n const setWithdrawalBillingInfo = (form, withdrawalBillingInfo) => {\r\n if (withdrawalBillingInfo) {\r\n change(form, billingInfoResources.bankAccountModelName, withdrawalBillingInfo);\r\n }\r\n };\r\n return (\r\n
    \r\n {isLoading ?\r\n
    \r\n \r\n
    \r\n : <>\r\n }\r\n {\r\n billingInfo.map(\r\n (billingInfo, index) => {\r\n const data = billingInfo.toJS();\r\n const withdrawalFromBankAccount = data.withdrawalFromBankAccount;\r\n const depositToBankAccount = data.depositToBankAccount;\r\n const memberGuid = data.memberGuid;\r\n const depositFormName = `${billingInfoResources.depositFormName}_${index}`;\r\n return (\r\n \r\n
    \r\n

    {billingInfo.get('facilityName')}

    \r\n
    \r\n \r\n
    \r\n
    \r\n {data.isWithdrawalFromBankAccountRequired &&\r\n getMemberInvalidations(selectedMemberGroup.membersIds)}\r\n />}\r\n {data.isDepositToBankAccountRequired &&\r\n setWithdrawalBillingInfo(depositFormName, withdrawalFromBankAccount) : null}\r\n />}\r\n
    \r\n
    \r\n
    \r\n );\r\n }\r\n )\r\n }\r\n
    \r\n );\r\n}\r\n\r\nBillingInfoTab.propTypes = {\r\n selectedMemberGroup: PropTypes.shape({ fullName: PropTypes.string }),\r\n getBillingInfo: PropTypes.func.isRequired,\r\n isLoading: PropTypes.bool,\r\n billingInfo: PropTypes.instanceOf(List),\r\n change: PropTypes.func,\r\n getMemberInvalidations: PropTypes.func.isRequired\r\n};\r\nconst mapDispatchToProps = {\r\n getBillingInfo,\r\n change,\r\n getMemberInvalidations\r\n};\r\n\r\nexport default connect(selectors, mapDispatchToProps)(BillingInfoTab);","import { createSelector } from 'reselect';\r\n\r\nconst getMe = state => state.app.get('me');\r\n\r\nexport default createSelector([getMe], me => ({ me }));","import React, { Fragment, useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport routes from '../../../routing/routes';\r\nimport * as actions from './storageActions';\r\nimport selectors from './storageSelectors';\r\nimport { authUserType } from '../../../propTypes/customTypes';\r\nimport roles from '../../../enums/roles';\r\n\r\nfunction Storage({ history, match, me, getFile }) {\r\n useEffect(() => {\r\n let redirectPath;\r\n switch (me.role) {\r\n case roles.systemAdmin:\r\n redirectPath = routes.adminArea.path;\r\n break;\r\n case roles.member:\r\n redirectPath = routes.memberArea.path;\r\n break;\r\n default:\r\n redirectPath = routes.root.path;\r\n };\r\n getFile(match.params.filePartitionKey, match.params.fileRowKey)\r\n .then(() => {\r\n history.push(redirectPath);\r\n });\r\n }, []);\r\n return ;\r\n};\r\n\r\nStorage.propTypes = {\r\n history: PropTypes.object.isRequired,\r\n match: PropTypes.object.isRequired,\r\n me: authUserType,\r\n getFile: PropTypes.func\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n ...actions\r\n};\r\n\r\nexport default connect(selectors, mapDispatchToProps)(Storage);","import { createSelector } from 'reselect';\r\n\r\nconst getInformationMessage = state => state.app.get('globalInformationMessage');\r\nconst getWarningMessage = state => state.app.get('globalWarningMessage');\r\nconst getErrorMessage = state => state.app.get('globalErrorMessage');\r\n\r\nexport default createSelector(\r\n [getInformationMessage, getWarningMessage, getErrorMessage],\r\n (globalInformationMessage, globalWarningMessage, globalErrorMessage) => ({\r\n globalInformationMessage, globalWarningMessage, globalErrorMessage\r\n })\r\n);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport selectors from './messagesTopbarContentSelectors';\r\n\r\nfunction MessagesTopbarContent({ globalInformationMessage, globalWarningMessage, globalErrorMessage }) {\r\n return (<>\r\n {globalInformationMessage &&
    {globalInformationMessage}
    }\r\n {globalWarningMessage &&
    {globalWarningMessage}
    }\r\n {globalErrorMessage &&
    }\r\n );\r\n}\r\n\r\nMessagesTopbarContent.propTypes = {\r\n globalErrorMessage: PropTypes.string,\r\n globalInformationMessage: PropTypes.string,\r\n globalWarningMessage: PropTypes.string,\r\n};\r\n\r\nexport default connect(selectors)(MessagesTopbarContent);\r\n","import React from 'react';\r\nimport { NavLink } from 'react-router-dom';\r\nimport { API_PATHS } from '../../http/configs';\r\nimport routes from '../../routing/routes';\r\n\r\nfunction AdminHeaderNavList() {\r\n return (\r\n \r\n );\r\n}\r\n\r\nexport default AdminHeaderNavList;\r\n","import React, { useState, useEffect, useRef, Fragment } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { connect } from 'react-redux';\r\nimport { NavLink } from 'react-router-dom';\r\nimport selectors from './headerSelectors';\r\nimport actions from '../../features/App/actions';\r\nimport { API_PATHS } from '../../http/configs';\r\nimport { authUserType } from '../../propTypes/customTypes';\r\nimport routes from '../../routing/routes';\r\nimport MaterialIcon from '../MaterialIcon/MaterialIcon';\r\nimport Image from '../Image/Image';\r\nimport { setIsLoginPopupOpen } from '../Login/loginActions';\r\nimport { isMobileSize } from '../../utilities/windowSize';\r\nimport loginResources from '../Login/loginResources';\r\nimport roles from '../../enums/roles';\r\nimport AdminHeaderNavList from './AdminHeaderNavList';\r\nimport GuestHeaderNavList from './GuestHeaderNavList';\r\n\r\nfunction HeaderInternal({ selectedMemberGroup, me, changeSelectedMemberGroup, setIsLoginPopupOpen, abbreviatedName }) {\r\n const [isNavigationMenuExpanded, setIsNavigationMenuExpanded] = useState(false);\r\n const [isAccountMenuExpanded, setIsAccountMenuExpanded] = useState(false);\r\n const isMobile = isMobileSize();\r\n\r\n useEffect(() => {\r\n if (!isMobile) {\r\n setIsNavigationMenuExpanded(false);\r\n }\r\n }, [isMobile]);\r\n\r\n const headerProfileLinkRef = useRef();\r\n\r\n const handleWindowClick = function (e) {\r\n if (headerProfileLinkRef.current && !headerProfileLinkRef.current.contains(e.target)) {\r\n setIsAccountMenuExpanded(false);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n window.addEventListener('click', handleWindowClick);\r\n return () => { window.removeEventListener('click', handleWindowClick); };\r\n }, []);\r\n\r\n const showMenuButton = !me || (me.role !== roles.member && me.role !== roles.partnerManager);\r\n const renderHeader = () => {\r\n if (!me) {\r\n return ;\r\n }\r\n switch (me.role) {\r\n case roles.member:\r\n case roles.partnerManager:\r\n return ;\r\n case roles.systemAdmin:\r\n return ;\r\n default:\r\n return ;\r\n }\r\n };\r\n\r\n const memberGroupsClickHandler = (group) => {\r\n setIsAccountMenuExpanded(false);\r\n changeSelectedMemberGroup(group);\r\n };\r\n\r\n const logoutClickHandler = (e) => {\r\n e.preventDefault();\r\n setIsAccountMenuExpanded(false);\r\n window.location.href = API_PATHS.logout;\r\n };\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n {showMenuButton ?\r\n \r\n : <>\r\n }\r\n {!me || !me.role || me.role === roles.guest ?\r\n \r\n \r\n \"Healthy\r\n \r\n \r\n : \r\n \"Healthy\r\n \r\n }\r\n {\r\n !isMobile || (isMobile && isNavigationMenuExpanded) ?\r\n \r\n : <>\r\n }\r\n
    \r\n {me && me.role ?\r\n <>\r\n
    \r\n
    setIsAccountMenuExpanded(!isAccountMenuExpanded)}\r\n >{abbreviatedName}
    \r\n {\r\n isAccountMenuExpanded\r\n ?
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    {abbreviatedName}
    \r\n {selectedMemberGroup.fullName}\r\n
    \r\n {\r\n me.memberGroups && me.memberGroups.length > 1\r\n ?
    \r\n {\r\n me.memberGroups.map((group, i) =>\r\n memberGroupsClickHandler(group)} key={i}\r\n >\r\n {group.fullName}\r\n \r\n )\r\n }\r\n
    \r\n : <>\r\n }\r\n \r\n
    \r\n : <>\r\n }\r\n
    \r\n \r\n :\r\n \r\n }\r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n}\r\n\r\nHeaderInternal.propTypes = {\r\n selectedMemberGroup: PropTypes.shape({\r\n fullName: PropTypes.string,\r\n }),\r\n me: authUserType,\r\n changeSelectedMemberGroup: PropTypes.func,\r\n setIsLoginPopupOpen: PropTypes.func,\r\n abbreviatedName: PropTypes.string\r\n};\r\n\r\nconst mapDispatchToProps = {\r\n setIsLoginPopupOpen,\r\n ...actions\r\n};\r\n\r\nexport default connect(selectors, mapDispatchToProps)(HeaderInternal);\r\n","import React from 'react';\r\nimport routes from '../../../routing/routes';\r\nimport { NavLink } from 'react-router-dom';\r\nimport allyant from '../allyant.png';\r\nimport { API_PATHS } from '../../../http/configs';\r\nimport footerResources from '../footerResources';\r\nimport './footerInternal.scss';\r\nimport Image from '../../Image/Image';\r\nimport { HEALTHY_CONTRIBUTIONS_LEGAL_NAME } from '../../../constants/companyNames';\r\n\r\nfunction FooterInternal() {\r\n return (\r\n
    \r\n
    \r\n
    \r\n
      \r\n
    • \r\n \r\n {footerResources.linkNamePrivacyNotice}\r\n \r\n
    • \r\n
    • \r\n \r\n {footerResources.linkNameConsumerHealthPrivacyNotice}\r\n \r\n
    • \r\n
    • \r\n \r\n {footerResources.linkNameTermsOfUse}\r\n \r\n
    • \r\n
    • \r\n \r\n {footerResources.linkNameAccessibilityAndMaintenance}\r\n \r\n
    • \r\n
    • \r\n \r\n {footerResources.linkSiteMap}\r\n \r\n
    • \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n {footerResources.headerAllyant}\r\n
    \r\n \r\n \"Reviewed\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \"Healthy\r\n \r\n
    \r\n Copyright © {new Date().getFullYear()} {HEALTHY_CONTRIBUTIONS_LEGAL_NAME}. All rights reserved.\r\n
    \r\n
    Cookie Settings' }} />\r\n
    \r\n
    \r\n
    \r\n
      \r\n
    • \r\n \r\n {footerResources.linkNamePrivacyNotice}\r\n \r\n
    • \r\n
    • \r\n \r\n {footerResources.linkNameConsumerHealthPrivacyNotice}\r\n \r\n
    • \r\n
    • \r\n \r\n {footerResources.linkNameTermsOfUse}\r\n \r\n
    • \r\n
    • \r\n \r\n {footerResources.linkNameAccessibilityAndMaintenance}\r\n \r\n
    • \r\n
    • \r\n \r\n {footerResources.linkSiteMap}\r\n \r\n
    • \r\n
    \r\n
    \r\n
    \r\n
    \r\n {footerResources.headerAllyant}\r\n
    \r\n \r\n \"Reviewed\r\n \r\n
    \r\n
    \r\n
    \r\n );\r\n}\r\n\r\nexport default FooterInternal;\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport HeaderInternal from '../components/Header/HeaderInternal';\r\nimport Topbar from '../components/Topbar/Topbar';\r\nimport Sidebar from '../components/Sidebar/Sidebar';\r\nimport ErrorBoundary from '../components/ErrorBoundary/ErrorBoundary';\r\nimport { routeType } from '../routing/routes';\r\nimport classNames from 'classnames';\r\nimport './_layout.scss';\r\nimport './_skiplink.scss';\r\nimport LoginPopup from '../components/Login/LoginPopup';\r\nimport ForgotPasswordPopup from '../components/ForgotPassword/ForgotPasswordPopup';\r\nimport ForgotPasswordResultPopup from '../components/ForgotPassword/ForgotPasswordResultPopup';\r\nimport FooterInternal from '../components/Footer/FooterInternal/FooterInternal';\r\n\r\nconst MainLayoutInternal = ({ children, match, history, topbarContent, filteredRoutes, hideSidebar }) => {\r\n return (\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n {hideSidebar\r\n ? <>\r\n : \r\n }\r\n
    \r\n \r\n
    {children}
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n );\r\n};\r\n\r\nMainLayoutInternal.propTypes = {\r\n children: PropTypes.node,\r\n topbarContent: PropTypes.object,\r\n filteredRoutes: PropTypes.arrayOf(routeType),\r\n match: PropTypes.object,\r\n history: PropTypes.object.isRequired,\r\n hideSidebar: PropTypes.bool\r\n};\r\n\r\nexport default MainLayoutInternal;\r\n","import roles from '../enums/roles';\r\nimport routes from './routes';\r\nimport PartnersPage from '../features/Partners/PartnersPage';\r\nimport PartnersList from '../features/Partners/PartnersList/PartnersList';\r\nimport AddPartnerPage from '../features/Partners/AddPartner/AddPartnerPage';\r\nimport PartnerInfoPage from '../features/PartnerInfo/PartnerInfoPage';\r\nimport GeneralInfoTab from '../features/PartnerInfo/GeneralInfo/GeneralInfoTab';\r\nimport PartnerBankingInfoTab from '../features/PartnerInfo/BankingInfo/PartnerBankingInfoTab';\r\nimport PartnerBillingInfoTab from '../features/PartnerInfo/BillingInfo/PartnerBillingInfoTab';\r\nimport DashboardPartner from '../features/Dashboard/DashboardPartner';\r\nimport DashboardMember from '../features/MemberArea/Dashboard/DashboardMember';\r\nimport DashboardMemberHome from '../features/MemberArea/Dashboard/Home/Home';\r\nimport MemberProfile from '../features/MemberProfile/MemberProfile';\r\nimport GeneralInfo from '../features/MemberProfile/GeneralInfo/view';\r\nimport FacilityInfoTab from '../features/MemberProfile/FacilityInfo/FacilityInfoTab';\r\nimport UsageLog from '../features/MemberProfile/UsageLog/view';\r\nimport AccountInfo from '../features/AccountInfo/AccountInfo';\r\nimport InsuranceInfo from '../features/AccountInfo/InsuranceInfo/view';\r\nimport Reimbursement from '../features/AccountInfo/Reimbursement/Reimbursement';\r\nimport BackToPartnersTopbarContent from '../features/Shared/Navigation/BackToPartnersTopbarContent';\r\nimport PartnerManagersTab from '../features/PartnerInfo/PartnerManagers/PartnerManagersTab';\r\nimport AddPartnerManagerPage from '../features/PartnerInfo/PartnerManagers/AddPartnerManager/AddPartnerManagerPage';\r\nimport PartnerManagersList from '../features/PartnerInfo/PartnerManagers/PartnerManagersList/PartnerManagersList';\r\nimport PartnerManagerProfilePage from '../features/PartnerManagerProfile/PartnerManagerProfilePage';\r\nimport PartnerManagerProfileGeneralInfoTab from '../features/PartnerManagerProfile/GeneralInfo/PartnerManagerProfileGeneralInfoTab';\r\nimport ChangePasswordTab from '../features/Shared/ChangePassword/ChangePasswordTab';\r\nimport GroupMembershipsPage from '../features/GroupMemberships/GroupMembershipsPage';\r\nimport GroupMembershipsGeneralInfoTab from '../features/GroupMemberships/GeneralInfo/GroupMembershipsGeneralInfoTab';\r\nimport EmployeeManagementTab from '../features/GroupMemberships/EmployeeManagement/EmployeeManagementTab';\r\nimport HCAdminVisitLogTab from '../features/GroupMemberships/VisitLog/HCAdminVisitLogTab';\r\nimport PartnerManagerEmployeeManagementTab from '../features/GroupMemberships/EmployeeManagement/PartnerManagerEmployeeManagementTab';\r\nimport PartnerManagerVisitLogTab from '../features/GroupMemberships/VisitLog/PartnerManagerVisitLogTab';\r\nimport FacilityLocator from '../features/MemberArea/Dashboard/FacilityLocator/FacilityLocator';\r\nimport FacilitiesSection from '../features/MemberProfile/FacilityInfo/FacilitiesSection/FacilitiesSection';\r\nimport FacilityEnrollmentPage from '../features/MemberProfile/FacilityInfo/FacilityEnrollmentPage/FacilityEnrollmentPage';\r\nimport MemberLegalContractPage from '../features/MemberProfile/FacilityInfo/MemberLegalContractPage/MemberLegalContractPage';\r\nimport MainLayoutPublic from '../layouts/mainLayoutPublic';\r\nimport AdminArea from '../features/AdminArea/AdminArea';\r\nimport PartnerOwnerArea from '../features/PartnerOwnerArea/PartnerOwnerArea';\r\nimport PartnerManagerArea from '../features/PartnerManagerArea/PartnerManagerArea';\r\nimport MemberArea from '../features/MemberArea/MemberArea';\r\nimport WellnessProgramPaymentsPage from '../features/WellnessProgramPayments/WellnessProgramPaymentsPage';\r\nimport PartnerOwnerGroupMembershipsPaymentsTab from '../features/GroupMemberships/PartnerGroupMembershipsPayments/PartnerOwnerGroupMembershipsPaymentsTab';\r\nimport PartnerManagerGroupMembershipsPaymentsTab from '../features/GroupMemberships/PartnerGroupMembershipsPayments/PartnerManagerGroupMembershipsPaymentsTab';\r\nimport PartnerPaymentsTab from '../features/WellnessProgramPayments/PartnerPaymentsTab/PartnerPaymentsTab';\r\nimport FacilityPaymentsTab from '../features/WellnessProgramPayments/FacilityPaymentsTab/FacilityPaymentsTab';\r\nimport VoucherProgramsPage from '../features/VoucherPrograms/VoucherProgramsPage';\r\nimport VoucherProgramsList from '../features/VoucherPrograms/VoucherProgramsList/VoucherProgramsList';\r\nimport VoucherProgram from '../features/VoucherPrograms/VoucherProgram/VoucherProgram';\r\nimport RecipientsList from '../features/VoucherPrograms/RecipientsList/RecipientsList';\r\nimport StaffLegalContractPage from '../features/MemberProfile/FacilityInfo/StaffLegalContractPage/StaffLegalContractPage';\r\nimport FacilityManagerArea from '../features/FacilityManagerArea/FacilityManagerArea';\r\nimport GuestArea from '../features/App/GuestArea/GuestArea';\r\nimport Home from '../features/App/GuestArea/Home/Home';\r\nimport ForFacilities from '../features/App/GuestArea/ForFacilities/ForFacilities';\r\nimport ForEmployers from '../features/App/GuestArea/ForEmployers/ForEmployers';\r\nimport ForInsurers from '../features/App/GuestArea/ForInsurers/ForInsurers';\r\nimport ForMembers from '../features/App/GuestArea/ForMembers/ForMembers';\r\nimport AboutUs from '../features/App/GuestArea/AboutUs/AboutUs';\r\nimport TermsOfUse from '../features/App/GuestArea/TermsOfUse/TermsOfUse';\r\nimport PrivacyNotice from '../features/App/GuestArea/PrivacyNotice/PrivacyNotice';\r\nimport PrivacyNotice20230824 from '../features/App/GuestArea/PrivacyArchives/PrivacyNotice_20230824';\r\nimport PrivacyArchives from '../features/App/GuestArea/PrivacyArchives/PrivacyArchives';\r\nimport PrivacyPolicy20230110 from '../features/App/GuestArea/PrivacyArchives/PrivacyPolicy_20230110';\r\nimport CaliforniaPrivacyPolicy20230110 from '../features/App/GuestArea/PrivacyArchives/CaliforniaPrivacyPolicy_20230110';\r\nimport DataPrivacyRequest from '../features/App/GuestArea/DataPrivacyRequest/DataPrivacyRequest';\r\nimport AccessibilityAndMaintenance from '../features/App/GuestArea/AccessibilityAndMaintenance/AccessibilityAndMaintenance';\r\nimport FacilityManagerDashboard from '../features/FacilityManagerArea/Dashboard/Dashboard';\r\nimport ContactUs from '../features/App/GuestArea/ContactUs/ContactUs';\r\nimport NominateClub from '../features/App/GuestArea/NominateClub/NominateClub';\r\nimport HealthCheck from '../features/HealthCheck/HealthCheck';\r\nimport MembersList from '../features/Members/MembersList';\r\nimport MembersTransferResult from '../features/Members/MemberTransfer/MembersTransferResult';\r\nimport PrivacyArchiveArea from '../features/App/GuestArea/PrivacyArchives/PrivacyArchiveArea';\r\nimport UploadRecipientsResults from '../features/Shared/UploadRecipientsResults/uploadRecipientsResults';\r\nimport EmployeeWellness from '../features/App/GuestArea/EmployeeWellness/EmployeeWellness';\r\nimport MemberPaymentsTab from '../features/WellnessProgramPayments/MemberPaymentsTab/MemberPaymentsTab';\r\nimport BillingInfo from '../features/AccountInfo/BillingInfo/BillingInfoTab';\r\nimport Storage from '../features/Shared/Storage/Storage';\r\nimport MessagesTopbarContent from '../features/Shared/Navigation/MessagesTopbarContent';\r\nimport MainLayoutInternal from '../layouts/mainLayoutInternal';\r\n\r\nexport default {\r\n ...routes.root,\r\n routes: [\r\n {\r\n ...routes.adminArea,\r\n component: AdminArea,\r\n authorize: [roles.systemAdmin],\r\n routes: [\r\n {\r\n ...routes.partners,\r\n component: PartnersPage,\r\n layout: MainLayoutInternal,\r\n routes: [\r\n { ...routes.partnersList, component: PartnersList },\r\n { ...routes.partnersAdd, component: AddPartnerPage }\r\n ]\r\n },\r\n {\r\n ...routes.wellnessProgramPayments,\r\n component: WellnessProgramPaymentsPage,\r\n layout: MainLayoutInternal,\r\n topbarContent: MessagesTopbarContent,\r\n routes: [\r\n { ...routes.partnerPayments, component: PartnerPaymentsTab },\r\n { ...routes.facilityPayments, component: FacilityPaymentsTab },\r\n { ...routes.memberPayments, component: MemberPaymentsTab },\r\n ]\r\n },\r\n {\r\n ...routes.adminLegalContractPage,\r\n component: StaffLegalContractPage,\r\n layout: MainLayoutInternal\r\n },\r\n {\r\n ...routes.members,\r\n component: MembersList,\r\n layout: MainLayoutInternal\r\n },\r\n {\r\n ...routes.membersTransferResult,\r\n component: MembersTransferResult,\r\n layout: MainLayoutInternal,\r\n isHiddenOnUI: true\r\n }\r\n ]\r\n },\r\n {\r\n ...routes.partnerOwnerArea,\r\n component: PartnerOwnerArea,\r\n authorize: [roles.systemAdmin],\r\n routes: [\r\n {\r\n ...routes.partnerDashboard,\r\n component: DashboardPartner,\r\n layout: MainLayoutInternal,\r\n topbarContent: BackToPartnersTopbarContent,\r\n },\r\n {\r\n ...routes.partner,\r\n component: PartnerInfoPage,\r\n layout: MainLayoutInternal,\r\n topbarContent: BackToPartnersTopbarContent,\r\n routes: [\r\n { ...routes.partnerGeneral, component: GeneralInfoTab },\r\n { ...routes.partnerBankingInfo, component: PartnerBankingInfoTab },\r\n { ...routes.partnerBillingInfo, component: PartnerBillingInfoTab },\r\n {\r\n ...routes.partnerManagers,\r\n component: PartnerManagersTab,\r\n routes: [\r\n {\r\n ...routes.partnerManagersList,\r\n component: PartnerManagersList\r\n },\r\n {\r\n ...routes.partnerManagersAdd,\r\n component: AddPartnerManagerPage\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n ...routes.groupMemberships,\r\n component: GroupMembershipsPage,\r\n layout: MainLayoutInternal,\r\n topbarContent: BackToPartnersTopbarContent,\r\n routes: [{\r\n ...routes.groupMembershipsGeneral,\r\n component: GroupMembershipsGeneralInfoTab\r\n }, {\r\n ...routes.groupMembershipsEmployeeManagement,\r\n component: EmployeeManagementTab\r\n },\r\n {\r\n ...routes.groupMembershipsVisitLog,\r\n component: HCAdminVisitLogTab\r\n },\r\n {\r\n ...routes.partnerOwnerGroupMembershipsPayments,\r\n component: PartnerOwnerGroupMembershipsPaymentsTab\r\n }]\r\n },\r\n {\r\n ...routes.voucherPrograms,\r\n component: VoucherProgramsPage,\r\n layout: MainLayoutInternal,\r\n topbarContent: BackToPartnersTopbarContent,\r\n routes: [\r\n {\r\n ...routes.voucherProgramsList,\r\n component: VoucherProgramsList,\r\n },\r\n {\r\n ...routes.voucherProgramsCreate,\r\n component: VoucherProgram\r\n },\r\n {\r\n ...routes.voucherProgramsEdit,\r\n component: VoucherProgram\r\n },\r\n {\r\n ...routes.voucherProgramRecipientsList,\r\n component: RecipientsList\r\n },\r\n ]\r\n }\r\n ],\r\n },\r\n {\r\n ...routes.partnerManagerArea,\r\n component: PartnerManagerArea,\r\n authorize: [roles.partnerManager],\r\n routes: [{\r\n ...routes.partnerManagerDashboard,\r\n component: DashboardPartner,\r\n layout: MainLayoutInternal,\r\n },\r\n {\r\n ...routes.partnerManagerProfile,\r\n component: PartnerManagerProfilePage,\r\n layout: MainLayoutInternal,\r\n routes: [\r\n {\r\n ...routes.partnerManagerProfileGeneral,\r\n component: PartnerManagerProfileGeneralInfoTab\r\n },\r\n {\r\n ...routes.partnerManagerProfileChangePassword,\r\n component: ChangePasswordTab\r\n }\r\n ]\r\n },\r\n {\r\n ...routes.partnerManagerGroupMemberships,\r\n component: GroupMembershipsPage,\r\n layout: MainLayoutInternal,\r\n routes: [{\r\n ...routes.partnerManagerGroupMembershipsEmployeeManagement,\r\n component: PartnerManagerEmployeeManagementTab\r\n },\r\n {\r\n ...routes.partnerManagerGroupMembershipsVisitLog,\r\n component: PartnerManagerVisitLogTab\r\n },\r\n {\r\n ...routes.partnerManagerGroupMembershipsPayments,\r\n component: PartnerManagerGroupMembershipsPaymentsTab\r\n }]\r\n }]\r\n },\r\n {\r\n ...routes.memberArea,\r\n component: MemberArea,\r\n authorize: [roles.member],\r\n routes: [{\r\n ...routes.memberDashboard,\r\n component: DashboardMember,\r\n layout: MainLayoutInternal,\r\n topbarContent: MessagesTopbarContent,\r\n routes: [\r\n {\r\n ...routes.memberDashboardHome,\r\n component: DashboardMemberHome\r\n },\r\n {\r\n ...routes.facilityLocator,\r\n component: FacilityLocator\r\n }]\r\n },\r\n {\r\n ...routes.profile,\r\n component: MemberProfile,\r\n layout: MainLayoutInternal,\r\n topbarContent: MessagesTopbarContent,\r\n routes: [\r\n {\r\n ...routes.general,\r\n component: GeneralInfo\r\n },\r\n {\r\n ...routes.facilityInformation,\r\n component: FacilityInfoTab,\r\n routes: [\r\n {\r\n ...routes.facilities,\r\n component: FacilitiesSection\r\n },\r\n {\r\n ...routes.facilityEnrollmentPage,\r\n component: FacilityEnrollmentPage\r\n },\r\n {\r\n ...routes.memberLegalContractPage,\r\n component: MemberLegalContractPage\r\n }\r\n ]\r\n },\r\n {\r\n ...routes.usageLog,\r\n component: UsageLog\r\n },\r\n {\r\n ...routes.changePassword,\r\n component: ChangePasswordTab\r\n }\r\n ]\r\n },\r\n {\r\n ...routes.account,\r\n component: AccountInfo,\r\n layout: MainLayoutInternal,\r\n topbarContent: MessagesTopbarContent,\r\n routes: [\r\n {\r\n ...routes.insurance,\r\n component: InsuranceInfo\r\n },\r\n {\r\n ...routes.billing,\r\n component: BillingInfo\r\n },\r\n {\r\n ...routes.reimbursement,\r\n component: Reimbursement\r\n }\r\n ]\r\n }]\r\n },\r\n {\r\n ...routes.facilityManagerArea,\r\n component: FacilityManagerArea,\r\n authorize: [roles.facilityManager],\r\n routes: [\r\n {\r\n ...routes.facilityManagerDashboard,\r\n component: FacilityManagerDashboard,\r\n layout: MainLayoutInternal\r\n },\r\n {\r\n ...routes.facilityManagerLegalContractPage,\r\n component: StaffLegalContractPage,\r\n layout: MainLayoutInternal\r\n },\r\n ]\r\n },\r\n {\r\n ...routes.guestArea,\r\n component: GuestArea,\r\n routes: [\r\n {\r\n ...routes.home,\r\n component: Home,\r\n layout: MainLayoutPublic,\r\n hideSidebar: true\r\n },\r\n {\r\n ...routes.forFacilities,\r\n component: ForFacilities,\r\n layout: MainLayoutPublic,\r\n hideSidebar: true\r\n },\r\n {\r\n ...routes.forEmployers,\r\n component: ForEmployers,\r\n layout: MainLayoutPublic,\r\n hideSidebar: true\r\n },\r\n {\r\n ...routes.forInsurers,\r\n component: ForInsurers,\r\n layout: MainLayoutPublic,\r\n hideSidebar: true\r\n },\r\n {\r\n ...routes.forMembers,\r\n component: ForMembers,\r\n layout: MainLayoutPublic,\r\n hideSidebar: true\r\n },\r\n {\r\n ...routes.aboutUs,\r\n component: AboutUs,\r\n layout: MainLayoutPublic,\r\n hideSidebar: true\r\n },\r\n {\r\n ...routes.contactUs,\r\n component: ContactUs,\r\n layout: MainLayoutPublic,\r\n hideSidebar: true\r\n },\r\n {\r\n ...routes.nominateClub,\r\n component: NominateClub,\r\n layout: MainLayoutPublic,\r\n hideSidebar: true\r\n },\r\n {\r\n ...routes.employeeWellness,\r\n component: EmployeeWellness,\r\n layout: MainLayoutPublic,\r\n hideSidebar: true\r\n }\r\n ]\r\n },\r\n {\r\n ...routes.privacynotice,\r\n component: PrivacyNotice,\r\n layout: MainLayoutPublic,\r\n hideSidebar: true\r\n },\r\n {\r\n ...routes.consumerhealthprivacynotice,\r\n component: PrivacyNotice,\r\n layout: MainLayoutPublic,\r\n hideSidebar: true\r\n },\r\n {\r\n ...routes.privacyarchivearea,\r\n component: PrivacyArchiveArea,\r\n routes: [\r\n {\r\n ...routes.privacyarchives,\r\n component: PrivacyArchives,\r\n layout: MainLayoutPublic,\r\n hideSidebar: true\r\n },\r\n {\r\n ...routes.privacypolicy20230110,\r\n component: PrivacyPolicy20230110,\r\n layout: MainLayoutPublic,\r\n hideSidebar: true\r\n },\r\n {\r\n ...routes.californiaprivacypolicy20230110,\r\n component: CaliforniaPrivacyPolicy20230110,\r\n layout: MainLayoutPublic,\r\n hideSidebar: true\r\n },\r\n {\r\n ...routes.privacynotice20230824,\r\n component: PrivacyNotice20230824,\r\n layout: MainLayoutPublic,\r\n hideSidebar: true\r\n }\r\n ]\r\n },\r\n {\r\n ...routes.dataprivacyrequest,\r\n component: DataPrivacyRequest,\r\n layout: MainLayoutPublic,\r\n hideSidebar: true\r\n },\r\n {\r\n ...routes.termsofuse,\r\n component: TermsOfUse,\r\n layout: MainLayoutPublic,\r\n hideSidebar: true\r\n },\r\n {\r\n ...routes.accessibilityAndMaintenance,\r\n component: AccessibilityAndMaintenance,\r\n layout: MainLayoutPublic,\r\n hideSidebar: true\r\n },\r\n {\r\n ...routes.healthCheck,\r\n component: HealthCheck,\r\n hideSidebar: true\r\n },\r\n {\r\n ...routes.uploadResults,\r\n authorize: [roles.systemAdmin, roles.partnerManager],\r\n component: UploadRecipientsResults,\r\n layout: MainLayoutPublic,\r\n hideSidebar: true\r\n },\r\n {\r\n ...routes.storage,\r\n authorize: [roles.member, roles.systemAdmin, roles.facilityManager],\r\n component: Storage,\r\n hideSidebar: true\r\n }\r\n ]\r\n};\r\n","import React, { useEffect } from 'react';\r\nimport './_data-privacy-request.scss';\r\nimport pageTitleFormatter from '../../../../utilities/formatters/pageTitleFormatter';\r\n\r\nexport default function DataPrivacyRequest() {\r\n useEffect(() => {\r\n document.title = pageTitleFormatter.formatPageTitle('Data Privacy Request');\r\n }, []);\r\n return
    \r\n
    Data Privacy Request
    \r\n
    \r\n