@zeniai/web-cockpit-ui 1.13.93-qa → 1.13.94-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/dist/assets/{ACHDetailsPage-B7Osqlyb-B_Z7r9BP.js → ACHDetailsPage-C77hriAS-Bp9UERQr.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-CEGqk2vj-DPbJQcO4.js → AIPerformancePage-DWLZz5fl-xe6YeuvR.js} +23 -23
  3. package/dist/assets/{AccountInfoPage-Dsi_xY1U-57CoJCvB.js → AccountInfoPage-CHH8xpX7-OTuTPmWc.js} +5 -5
  4. package/dist/assets/AccountInfoPageContent-CslCCxyA-CKIHtSb5.js +149 -0
  5. package/dist/assets/{AccountReconDetailsDrawerPage-Bwc-VZmp-9tNR08JA.js → AccountReconDetailsDrawerPage-Bg65723V-z_C0MUXO.js} +15 -15
  6. package/dist/assets/{AccountRow-DMeCdEPJ-BTasbb-7.js → AccountRow-CBhTc-CO-BhHbolQV.js} +24 -24
  7. package/dist/assets/{AccountsPromoCardStack-NYQHh0uE-KwuGDIiT.js → AccountsPromoCardStack-C1FN6ldb-CTHlY162.js} +28 -28
  8. package/dist/assets/{AddAddressForCardDrawer-3WPrDfNL-fOwdSnNu.js → AddAddressForCardDrawer-DKbwVrFG-IuCuUpQj.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-IjvBXyuu-KvZO3w5z.js → AddToWalletPage-BLH7hMIs-p7f4w_jj.js} +11 -11
  10. package/dist/assets/{AgingReportsPage-CIJTKbrN-Brsc1odM.js → AgingReportsPage-iXp5N9xa-BuwByTSa.js} +6 -6
  11. package/dist/assets/{AllUserItems-BuX43aPo-DioQ0mzE.js → AllUserItems-SiwAGR6X-CB3qDmMz.js} +12 -12
  12. package/dist/assets/{ApAgingDetailPage-02ejdrQy-BvI-rm07.js → ApAgingDetailPage-CSv-Yx3u-CQfdnkLR.js} +3 -3
  13. package/dist/assets/{AppBasePage-CC3bbnnu-DsRrQjex.js → AppBasePage-BVhJh2iM-DhwgHBUl.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-B_EAPC9w-Dvsq28k3.js → AppDrawerContent-TBHNokFo-a7xFQjLd.js} +5 -5
  15. package/dist/assets/ApprovalRulesSettingsPage-DmPsbDZd-DdnQZTKs.js +47 -0
  16. package/dist/assets/ArAgingChart-CPyAljB5-C1xslsyT.js +24 -0
  17. package/dist/assets/{ArAgingDetailPage-CMUpR-2N-BRTN7gMO.js → ArAgingDetailPage-BLc5FDm2-BOdfR_tV.js} +1 -1
  18. package/dist/assets/{AttachmentView-sbbFtu9R-Izzia16X.js → AttachmentView-sMKTopf8-CQuqGqLW.js} +5 -5
  19. package/dist/assets/{BankAccountSection-BJPkV-qV-CzS6kxRW.js → BankAccountSection-DoGfRREZ-B2ezqzYk.js} +2 -2
  20. package/dist/assets/{BankAccountWarningSection-D9R1VhzE-V6Y4aUEl.js → BankAccountWarningSection-BhSSRCzK-DNfJcwlK.js} +8 -8
  21. package/dist/assets/BankConnectionsSettingsPage-DIKMwQoQ-OeAXgZvH.js +425 -0
  22. package/dist/assets/{BillDetailPage-C_JDjRL0-B8Sa9pQS.js → BillDetailPage-DSYeib0o-BwJVgfN9.js} +8 -8
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-B_XMuvzZ-gu71vbc9.js → BillPayApprovalRuleDetailPage-DDFr9CL_-CYlqmWUc.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-CyZjNIsQ-DKZ0FGH6.js → BillPayApprovalRulesPage-3Yak-MB--CaAqhGEn.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-ByDsqYfw-iMNoM9Kg.js → BillPayPromoPage-nRvSJMZU-aGHL9LIB.js} +2 -2
  26. package/dist/assets/{BillPaySetUpPage-yTO-xwRJ-DiUozoOu.js → BillPaySetUpPage-BWrp4v6b-DQFkIYKy.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-BIAy1QHr-C5IDBl0Y.js → BillingSettingsPage-DtBZmdxq-BCytA-g_.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-Cw1XCs0q-C5g5voDh.js → BillsBulkReviewDrawerPage-DCz41OgH-BEoVAqH0.js} +1 -1
  29. package/dist/assets/{BoxItem-UCX7eqiN-CxXWJqhl.js → BoxItem-DBi8kqn3-BDAOAuEh.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-CSsout2C-zWzxb-1t.js → BusinessVerificationPage-BfPqcCH3-Dr7d8VRo.js} +9 -9
  31. package/dist/assets/{CardNumberSubText-DuTv0ip1-BnZjxVHu.js → CardNumberSubText-CkmaTF_l-Kwic4R2k.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-KdHf-_ZF-DZ-5eozY.js → CashbackDetailPage-BlcEXdet-B9yAfRkP.js} +19 -19
  33. package/dist/assets/ChargeCardDetailPage-BARovLsv-j69HZx4R.js +1447 -0
  34. package/dist/assets/ChargeCardListPage-C1XbbZJ2-BE2YBCij.js +355 -0
  35. package/dist/assets/{ChargeCardListTable-B1a9-RYl-C_trAFfC.js → ChargeCardListTable-HXAc8Lqx-wKEbgM6d.js} +21 -21
  36. package/dist/assets/ChargeCardPromoPage-B8aTlJ8l-5K-z8G1R.js +219 -0
  37. package/dist/assets/{ChargeCardSetupPage-DOrs_Bw8-DvKjxZsP.js → ChargeCardSetupPage-XI-WplXI-vUgUcPsh.js} +2 -2
  38. package/dist/assets/{ChargeCardStatementsPage-xvq2HeEr-DIPvFYAp.js → ChargeCardStatementsPage-CYopWAg4-fr_o5tML.js} +4 -4
  39. package/dist/assets/{ChargeCardUtils-Dt303NN_-BJthP303.js → ChargeCardUtils-BEtXxds6-iY4L_brM.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-BK2ISNjj-DZnlqtpO.js → ChaseOverlay-BySoceqB-DYKQzq4d.js} +6 -6
  41. package/dist/assets/CheckDepositDrawerPage-DOyXGzFg-BAQPRuRk.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-D5D0ufUn-ghspgAwM.js → CollapsableReportTable-FShSCFEn-62FniBRb.js} +29 -29
  43. package/dist/assets/{CompanyOfficerDetailsSection-C7fuDGQk-gQYRZKRE.js → CompanyOfficerDetailsSection-QQIIHW41-xH4MKkl5.js} +25 -25
  44. package/dist/assets/{CompanyPassportCard-DwUqLcAr-BFBYLv_8.js → CompanyPassportCard-D2b6Ztes-ot6tMI66.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-ClToBIAw-BeY6Jzwo.js → CompanyPassportPage-Bkd2l8Xj-psAfEsoz.js} +10 -10
  46. package/dist/assets/{CompleteProfile-CLDWG3QK-TwaY_UV5.js → CompleteProfile-DYv1reCa-3AIo6bvw.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-DoZB9Us7-DkYeJgKW.js → ConfettiBurst-CDUVssuw-hjqW22eh.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-B837xw8A-D4X9dHl7.js → CreateOrEditVendorPage-mlx8B4Jv-DUHw5PtN.js} +10 -10
  49. package/dist/assets/{CreditCardPaymentDrawerPage-zGaAOnnB-B0aHCgrm.js → CreditCardPaymentDrawerPage-DBTT4Ptu-Dc8GvYzf.js} +6 -6
  50. package/dist/assets/{CreditCardPaymentPlgSection-BLbZFCcL-BKv30VTO.js → CreditCardPaymentPlgSection-CH8Ic2sK-CXQECn24.js} +7 -7
  51. package/dist/assets/{CurrencySelectField-DS3dOR3F-DfDyF-bz.js → CurrencySelectField-BpuAi_Wp-COgh-Qif.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-WWVaQenb-CqYIrAsU.js → CustomerOnboardingActivationPage-CJn_cLk6-D6OFbgAy.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-Dln-_Yb0-BjXolAob.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BSXKMQ77-5cFdc0uI.js → CustomerOnboardingDetailPageSkeleton-Cr10sdrX-B55KDkTQ.js} +10 -10
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-Dd5kCuRE-B1UHu9bc.js → CustomerOnboardingNoStepsPage-9Jl0VpUx-BiS5ICyP.js} +5 -5
  56. package/dist/assets/{CustomerOnboardingPage-CGJpD875-Dw-iXvXQ.js → CustomerOnboardingPage-OCG7AjuD-DJnYkmg8.js} +5 -5
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BFmVLk0l-BJFTzvmu.js → CustomerOnboardingProductSuitePage-vXKRghjP-hldhfPSg.js} +2 -2
  58. package/dist/assets/Dashboard-BOJNXopc-byUhih3W.js +1253 -0
  59. package/dist/assets/{DashboardReportPage-BbYtKYEH-Bu7QpJ1d.js → DashboardReportPage-Cuiynx8W-ac_35yhz.js} +8 -8
  60. package/dist/assets/{DepositAccTransactionItem-BMXQpKVB-CkyUtSxG.js → DepositAccTransactionItem-BVGKoyyZ-CtkDwopW.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-bwEdSihi-CohU_Y5O.js → DepositAccTransactionListPage-kkdrU5Mo-3snjZA89.js} +8 -8
  62. package/dist/assets/{DocumentSecurityBanner-DV9HE3MK-DHA392ey.js → DocumentSecurityBanner-C_LxmFZ8-Bt6Lz_p3.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-OI-gqVNE-FukCXOQC.js → DomesticWireDetailsPage-BhE0GcbL-CklyzXqp.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-De5uIGOt-fe6EK_62.js → DownloadOverlay-LH6MXphu-kt8sJEjY.js} +16 -16
  65. package/dist/assets/{DrawerPage-n421ewDm-V0Ldc4CU.js → DrawerPage-C3wbST4Q-CLJNN7bG.js} +8 -8
  66. package/dist/assets/{EditPeoplePage-sO1qN6Uw-ChlFb2l3.js → EditPeoplePage-C53vRVhe-BSK-mQZ3.js} +15 -15
  67. package/dist/assets/{EditReimbursementDetailPage-D5iKVGl3-D6axPaby.js → EditReimbursementDetailPage-BBQIYJrj-a2qRFgyX.js} +60 -60
  68. package/dist/assets/{EntityDetailPage-CDk-oyYB-DUNhaeNM.js → EntityDetailPage-Ba0fzVNR-DpkKGCO_.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-C4cC9rOJ-BbOIRL3t.js → EntitySummarySection-DA6Vsjwj-DPw5fEaJ.js} +9 -9
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BojhuW5i-DndVOG_2.js → ExpenseAutomationOverviewPage-glEgQT6c-Dj_Wb6rt.js} +19 -19
  71. package/dist/assets/{ExpenseAutomationPage-D0BViJ7J-CVjlySFW.js → ExpenseAutomationPage-CsJiE1ap-BnkOrNDa.js} +73 -73
  72. package/dist/assets/{ExpressPayPage-DdgtFYep-rsUEwVea.js → ExpressPayPage-i9LGeqy_-wmqq-4AX.js} +7 -7
  73. package/dist/assets/{FeaturePreviewPage-CW0YmOgl-CZs71GTx.js → FeaturePreviewPage-Bl2C_tQd-DJQ0amFl.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-BfnTsu_D-JwuskYSG.js → FollowStepsSection-KcgZahKS-BPKITv3B.js} +12 -12
  75. package/dist/assets/{GlobalReviewListPage-C0U7Y6dI-hBZ0JIdn.js → GlobalReviewListPage-D2NH1omi-CTNsB5Nb.js} +11 -11
  76. package/dist/assets/HelpButton-YqQNv-UM-CruBHlAV.js +28 -0
  77. package/dist/assets/{InformationCardStack-6BD3n76T-C6n7H91r.js → InformationCardStack-OhjUoNBj-DBwYrPQy.js} +5 -5
  78. package/dist/assets/{InsightsCardStack-CwxJP-ic-HgjLIYZH.js → InsightsCardStack-CDrOBeoJ-DTHqugyU.js} +10 -10
  79. package/dist/assets/{InsightsSection-DYyHpcUE-CVS4D7Rl.js → InsightsSection-CBaItqYN-Dz4Ilz30.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-ZkvKZqwD-Dh9_Y5r9.js → IntegrationsSettingsPage-CuPS5otW-BirDKZz3.js} +2 -2
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-D3nyRM06-Bvm0rISQ.js → InternationalWireSwiftDetailsPage-DQsW7Uzb-CUGMa7hJ.js} +6 -6
  82. package/dist/assets/{InternationalWireVerificationPage-BOdAP6dN-BRgvAPQo.js → InternationalWireVerificationPage-BE1xcmQo-s1fsXNah.js} +15 -15
  83. package/dist/assets/{InviteFormPage-HJMhfa_f-7mLTKV2K.js → InviteFormPage-CUDsc0Y3-BT3er91i.js} +21 -21
  84. package/dist/assets/{InvitePageListView-CjneWRfJ-Do8_-Wzf.js → InvitePageListView-DJildrs1-BRenHpuK.js} +31 -31
  85. package/dist/assets/InvitePeoplePage-6upCRZjT-Cy37Dy58.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-CfAnZsV9-CXlIUrR5.js → InvoiceUploadSection-CyacFv78-bjw3W0fU.js} +3 -3
  87. package/dist/assets/{IssueChargeCardPage-pKF4dRNw-BtTzBIAW.js → IssueChargeCardPage-6iTrYJEM-BjNouHGB.js} +25 -25
  88. package/dist/assets/{LabeledAddressValue-UYEy_1W0-BrLnlk5a.js → LabeledAddressValue-CDy1Q4J--CkXQxeFy.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-BmSVDTMx-Jv07dYGB.js → LabeledAddressValueField-DbR_ehJJ-kXFBzBc8.js} +2 -2
  90. package/dist/assets/{LabeledControlledCheckBoxField-BFnLx9E0-DltjlqGq.js → LabeledControlledCheckBoxField-CXNDX5oe-Cc00saAR.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-Bh-cfR9F-BSOcL1XZ.js → LabeledCreatableSingleSelectField-B_TreAUT-DzJBfD6q.js} +3 -3
  92. package/dist/assets/{LabeledDocumentField-YBoeNDoD-CyLWW2Xq.js → LabeledDocumentField-CUTXDuQL-CB7-inDg.js} +5 -5
  93. package/dist/assets/{LabeledDropDownFormattedTextField-jrOUW9Ig-Cb_hd6Cs.js → LabeledDropDownFormattedTextField-yPu_zrn8-f9OAJ2TU.js} +2 -2
  94. package/dist/assets/{LabeledText-BqO1wHro-yEfY3Vib.js → LabeledText-gvxUV2ku-Cf06N418.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DiWgp4aE-GkGK06mY.js → LabeledUserSingleSelectWithSubtitlesField-Bh1Ts3Yn-DTgSGsxS.js} +3 -3
  96. package/dist/assets/{LabeledZeniRolesDropDownField-Cgy0v5oD-CE6fgMqo.js → LabeledZeniRolesDropDownField-xA0_8wFb-Dd3nBqBN.js} +24 -24
  97. package/dist/assets/{LinkJETransactionPage-PZAQ79zW-Be0NFT0x.js → LinkJETransactionPage-f4-YwvQe-D8ooeWsr.js} +10 -10
  98. package/dist/assets/{LowBalancePopup-BYeSnxBp-CWB9fGay.js → LowBalancePopup-C7oCDqcx-2Rje4uhG.js} +6 -6
  99. package/dist/assets/{MagicLinkACHDetailsPage-D_FaPCmn-C524CU_C.js → MagicLinkACHDetailsPage-Bqe3RDsV-CZa4p9hj.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-rnZdulCr-BIvVFjqJ.js → MagicLinkDomesticWireDetailsPage-DPU-8FAH-CSBTwaek.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-B7ScwCJc-CedT3IVK.js → MagicLinkInternationalWireDetailsPage-DeXZfP0h-D3k-uGEY.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-DVhVWuCR-C6_bXRZW.js → MagicLinkSuccessPage-CArToNjz-DqyiFP-T.js} +4 -4
  103. package/dist/assets/{MagicLinkTitleSection-CjV-_WEQ-DLRFZKyQ.js → MagicLinkTitleSection-CP0OhLNZ-BeBei-_2.js} +3 -3
  104. package/dist/assets/{MailingDetailsSection-CW6ShqHJ-D8V4HzFw.js → MailingDetailsSection-TgN7VRhK-CYe74YT_.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-BhC8pSjM-Dwxk7RjP.js → MeetingCalenderPopup-vr7DE2aj-DAZs4R6M.js} +3 -3
  106. package/dist/assets/{Menu-LDwLOgxI-DlYH_4Kt.js → Menu-DNn9-W-C-DaYpba-h.js} +4 -4
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BzxtuXEu-CJN51V3R.js → MyBankConnectionsSettingsPage-TawXQ1Zb-BllmvVI4.js} +14 -14
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-9jGJWmds-D9P1jnqV.js → MyPendingActivationChargeCardListPage-CPgV9E8n-BAkl0Cop.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-9yk4H_yu-G514pPEm.js → MyProfileSettingsPage-DuXTV0pM-5CplCRBg.js} +7 -7
  110. package/dist/assets/{NavBarWithPicker-DUpJ0EXp-DsJc75Xr.js → NavBarWithPicker-Cdali7jG-B142_aE-.js} +4 -4
  111. package/dist/assets/{NavigationArrow-lL3Ug8Mk-CFERmT7S.js → NavigationArrow-DaoZtCA8-BHc3euQ9.js} +9 -6
  112. package/dist/assets/{NavigationDots-6Q5ZVqKl-Bii0GTV2.js → NavigationDots-BhF2AV0Y-DUHF5KEe.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-nrWvsRy4-B2bsxNA0.js → NewGlobalMerchantPage-BaoJ7yB8-BF04eMSd.js} +8 -8
  114. package/dist/assets/{NoDataChart-DGbfWo33-lORHrY9i.js → NoDataChart-IPJ1xGPZ-BKJQDDL9.js} +1 -1
  115. package/dist/assets/{NoDataTable-CsvWc_ok-Bsp9MWne.js → NoDataTable-D5U81gbD-BirLBEpp.js} +1 -1
  116. package/dist/assets/{NotFoundPage-CzfiPkml-B4WoheH3.js → NotFoundPage-C7BswX2A-DQWUyCMU.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-Dmfqzy1H-7Yghyu9r.js → NotificationSettingsPage-BQyqFWby-GjMlWRuD.js} +13 -13
  118. package/dist/assets/NotificationsListConfig-kLqWFg2Q-DecPdYAb.js +1 -0
  119. package/dist/assets/{NotificationsPage-BAj5p1zx-DVMRgL-y.js → NotificationsPage-DjRkTZVT-udgcPcnZ.js} +12 -12
  120. package/dist/assets/{OpExByVendorPage-CRt-VUTi-Co9wh_XC.js → OpExByVendorPage-CSasi7Uo-CoBJ4a1U.js} +7 -7
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-ARc4wBU5.js → OverlayContainerPage-C0rUb6-5-CokciX1J.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-lT9GgcG2-Dup1SAcO.js → PandLWithForecastPage-D8YwSYiz-BlQ8i7AP.js} +7 -7
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DY4eeS5C-BT81M9QN.js → PaymentAccountSetupBillingAddressSection-BWwcQZfk-DK-YnIzr.js} +7 -7
  124. package/dist/assets/{PeoplePage-CDQl7HVr-BcsR0YPU.js → PeoplePage-mrXiZ4VG-Cp2NcBr2.js} +14 -14
  125. package/dist/assets/PortfolioAllocationFormPage-DAFisXnQ-DjoPfEuL.js +207 -0
  126. package/dist/assets/{PortfolioDetails-Dk_IIRuG-By4sZlSG.js → PortfolioDetails-BBOVIetI-BvRwtbCV.js} +12 -12
  127. package/dist/assets/{ProductsCarousel-0-ksFQos-Cboqtj5A.js → ProductsCarousel-DpevGHyq-M7sMCRPA.js} +6 -6
  128. package/dist/assets/{PromoBaseCards-DNSnqS61-RNj48nzF.js → PromoBaseCards-BreO0rHq-CmneT-LE.js} +23 -23
  129. package/dist/assets/{QBOConnectionDialog-BmIUfW_i-BTfGqMCC.js → QBOConnectionDialog-BCWc6AK--ExlTvgR6.js} +7 -7
  130. package/dist/assets/{QBOSetupSection-BaNFiEPB-Dd4E79Yb.js → QBOSetupSection-D_doa7hh-C2_irMwi.js} +11 -11
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CtTk4HV2-B_OXotse.js → ReimbursementApprovalRuleDetailPage-BSFxsbcx-5oswA6u0.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-IhKSiGK_-CJ28iUD0.js → ReimbursementApprovalRulesPage-X9bJFM6L-DS04bVT9.js} +29 -29
  133. package/dist/assets/{ReimbursementDetailPage-B2rT1dKM-B4mKbjVG.js → ReimbursementDetailPage-BJmSB65P-B9Io-y6T.js} +11 -11
  134. package/dist/assets/{ReimbursementPromoPage-d7XBUzip-BPhyjPfw.js → ReimbursementPromoPage-DO7dI9S7-IIxWWc2q.js} +9 -9
  135. package/dist/assets/{ReimbursementSetUpPage-DWCUtN5c-B9oGu4ct.js → ReimbursementSetUpPage-Wjj6aNpc-BXv92xHK.js} +9 -9
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-ByNvcTCn-CrVDh7-F.js → ReimbursementsBulkReviewDrawerPage-GPuEjGqi-qY4F19Li.js} +1 -1
  137. package/dist/assets/{ReloadCard-DZy28iWR-jty26kIg.js → ReloadCard-cApojDpl-BTIiWZRj.js} +5 -5
  138. package/dist/assets/{ReportTableViewSelector-DdZm4cOJ-2EdstowW.js → ReportTableViewSelector-BVUqQ9hl-WfosyobX.js} +5 -5
  139. package/dist/assets/{ReportsPage-CJDkY9FT-9nMZ-tT_.js → ReportsPage-CdiHHtXH-B1iwxprE.js} +1 -1
  140. package/dist/assets/{RevenueChart-B_jdFFPm-DtuAQXDC.js → RevenueChart-xoOc_3W3-Dzhhcd2T.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-DjPVGzeL-xNY3UvCJ.js → ReviewDetailsPage-CF-R6wwN-BMnS8ktk.js} +10 -10
  142. package/dist/assets/{ReviewOverlay-DGYnF07r-DCUh9U9_.js → ReviewOverlay-Bora7h_H-BkZGLYKt.js} +10 -10
  143. package/dist/assets/{RoleWithToolTip-VlYG_GPv-teaAu_UP.js → RoleWithToolTip-k62RaqAZ-Bav1TewG.js} +7 -7
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-oPFQEE8g-5R4xRxD7.js → ScheduleDetailsFixedAssetsPage-Bd6qfpob-BxOEwKtI.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-BdBgJEAl-DzgQbYnG.js → ScheduleDetailsPage-scOS36lS-CAMrRW5Y.js} +4 -4
  146. package/dist/assets/{ScheduleSequenceTable-Ncft3mZN-B-_JYZVo.js → ScheduleSequenceTable-BIhbFnjb-DCpkIU0H.js} +51 -51
  147. package/dist/assets/{ScreenRoutes-D25ajt3P.js → ScreenRoutes-C1ZbXccz.js} +35 -35
  148. package/dist/assets/{SetUpAccountSection-BrYiljyO-CSo_3my8.js → SetUpAccountSection-ehZfUFEf-BgFNCBNu.js} +17 -17
  149. package/dist/assets/{SetUpDefaultSection-B361ojb9-NxiVWfIP.js → SetUpDefaultSection-DnYtx3XN-CNoT73Ow.js} +16 -16
  150. package/dist/assets/{SignIn-B_-FUZwZ-CHisArfT.js → SignIn-k9MFplB1-eud7vdJb.js} +14 -14
  151. package/dist/assets/{SignInScreen-Uf5HkVEL.js → SignInScreen-CqP6hQef.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-XbjqwHXx-D5vMfDvw.js → SpendManagementListViewPage-B11exjM8-CE2MaiYn.js} +12 -12
  153. package/dist/assets/{SpendManagementPerTabPage-D-4W-Ru9-Bl38LM1S.js → SpendManagementPerTabPage-ByXU-omE-DWwC2JuF.js} +34 -34
  154. package/dist/assets/{SpendManagementSection-B7pMvj7Z-nyvHm07T.js → SpendManagementSection-CAewVL0Z-GsJe1fhq.js} +8 -8
  155. package/dist/assets/{SpendMgmtSetupAccountSection-DdUs96r9-IQ5cFujk.js → SpendMgmtSetupAccountSection-BY2LT0qv-CgVflLnR.js} +11 -11
  156. package/dist/assets/StatementItem-BJoMxmJY-BVhb_2i3.js +31 -0
  157. package/dist/assets/StatementsPage-C_O76V3t-DoehdMaa.js +58 -0
  158. package/dist/assets/{StatusSwitcher-DGOwA8qO-CCwch543.js → StatusSwitcher-39NGxygM-8g3Kr8Ie.js} +5 -5
  159. package/dist/assets/{SubTabSwitcher-Be-6o_mE-DpR4kDa2.js → SubTabSwitcher-BcL8UKX8-CtPS6-C1.js} +1 -1
  160. package/dist/assets/{SummaryCard-CD1amg78-D7-gBvS2.js → SummaryCard-VT7YJ6jy-DeCNM95f.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-C2UYhTtL-BS6ZhKAX.js → TaskManagementPage-p-3BLn0_-TCdTn4Be.js} +30 -30
  162. package/dist/assets/{TimeRangeSwitcher-DxAmlHGP-DP9j4Y0h.js → TimeRangeSwitcher-Cjs5znYy-Dn_2XKTn.js} +2 -2
  163. package/dist/assets/{TimeframeSwitcher-ndYSpUa6-JIaAkiT0.js → TimeframeSwitcher-BJrFD5A7-CapG6nwB.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-CrWRqA_S-Bvp4VoyC.js +31 -0
  165. package/dist/assets/{TopExCard-CcpyunQ3-D5X1AP2D.js → TopExCard-DAwlJbbc-Ch08mChi.js} +5 -5
  166. package/dist/assets/{TopExDetailPage-C_B0c8iP-DT-CcqaQ.js → TopExDetailPage-BgUJytuV-V8CGIoou.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-DVPGLobu-Cg4nJAIA.js → TransactionDetailPage-C8yIuCvF-lo-j_-eB.js} +20 -20
  168. package/dist/assets/{TransactionList-CvGyadHZ-CzScKnWB.js → TransactionList-DG-KZUjZ-CV9wox71.js} +12 -12
  169. package/dist/assets/{TransactionListBig-BeZjYsO0-BowcwIlG.js → TransactionListBig-iGiOjwVK-Dc9vBqnr.js} +16 -16
  170. package/dist/assets/{TransactionListPage-C8h-sa3V-BI2zdvtJ.js → TransactionListPage-C9Z_z4mC-UBhyOHuK.js} +3 -3
  171. package/dist/assets/{TransactionVendorDetailPage-BcV8h3xR-Br1j6Ll5.js → TransactionVendorDetailPage-5uo1FPul-BOddX9Sk.js} +5 -5
  172. package/dist/assets/{TransferDrawerPage-B_AJgZWp-Yyh6CuZY.js → TransferDrawerPage-BKzo-4Wj-D-t2nTop.js} +32 -32
  173. package/dist/assets/{TreasuryOverviewPage-kG1jZF28-DHtmQ0RS.js → TreasuryOverviewPage-C6kTg0L3-DDk4OCh2.js} +32 -32
  174. package/dist/assets/{TreasuryPromoPage-Dy3ExIiy-gkUV5xBf.js → TreasuryPromoPage-CAS0pdES-D8v7EASC.js} +11 -11
  175. package/dist/assets/{TreasurySetupPage-Cjr-dp6O-BEQP_lhU.js → TreasurySetupPage-CcLiQWOT-B7yrMsSh.js} +2 -2
  176. package/dist/assets/TreasuryStatementsPage-Dm-3SPtA-C2bOR_YK.js +58 -0
  177. package/dist/assets/{TreasuryTaxLetterPage-CWLf1Zxq-DbsCHDsw.js → TreasuryTaxLetterPage-0RsINpqA-DJWdIr-H.js} +7 -7
  178. package/dist/assets/{TreasuryTransferOrReviewPage-C5F3fmoI-DNtPmYKq.js → TreasuryTransferOrReviewPage-C_4CQVIe-BOkn6wNn.js} +21 -21
  179. package/dist/assets/{TrendChart-CtjfgQ9g-DPYHbjBV.js → TrendChart-CkPRxjLa-ClAmXRdb.js} +3 -3
  180. package/dist/assets/{TrendWithTransactions-SmcM2UIp-DTMdisoH.js → TrendWithTransactions-DJYMqIOI-wnxxIB4C.js} +2 -2
  181. package/dist/assets/{UncategorizedAccountsMappingPage-CXoadwja-BcH1WDHa.js → UncategorizedAccountsMappingPage-BapLceo--CgdItlB5.js} +15 -15
  182. package/dist/assets/{UnitIntegrationPage-wYQVQqP7-xfmP0ZaV.js → UnitIntegrationPage-C9zNzH3B-gVQYcxZB.js} +3 -3
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-8_c7UpvB-CAx-wuMo.js → UploadAdditionalDocumentOverlay-BNaV6i2S-BuH4CmLJ.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-DtNSOXbK-CcK6Drxw.js → Vendor2FAPopup-_Cn9FJ7D-cKAPYes9.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-zNbGGe4q--raVyiyg.js → VendorACHDetailsPage-B1vHY6rG-VScnw-FL.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-Cv-MG9iR-YJohQISw.js → VendorDetailPage-Dkl7AlIZ-5XPeaOqt.js} +9 -9
  187. package/dist/assets/{VendorDomesticWireDetailsPage-BkqtoYAw-CueaVPRI.js → VendorDomesticWireDetailsPage-Co8Uc_OS-I5CTiy_-.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-DYJudj3c-DtjWMkp6.js → VendorFiling1099EditablePage-M0gQJLkE-DzG8EXIY.js} +7 -7
  189. package/dist/assets/{VendorFirstReviewPage-BNFIAB9n-CRV8hhmi.js → VendorFirstReviewPage-Bte87pqn-DeG8_h9I.js} +46 -46
  190. package/dist/assets/{VendorInternationalWireDetailsPage-DHa8JoNl-CB0R2wQi.js → VendorInternationalWireDetailsPage-DdfkKEFx-sHwHhQTJ.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-a5nSOMXK-ZmWLuE7C.js → VendorInternationalWireSwiftDetailsPage-CtQifsRT-BsMO6lfl.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-DwDGbjey-BapIbdiL.js → VendorsAccountsSection-CxyObm3T-BgRsSYOY.js} +13 -13
  193. package/dist/assets/{WarningsDrawerPage-CaSTx_8h-06WKhZXP.js → WarningsDrawerPage-D5nPLGJh-5sMWIR75.js} +5 -5
  194. package/dist/assets/{ZeniAccountDetailPage-BSOpxKiJ-By7m3S08.js → ZeniAccountDetailPage-CKS9mcn3-BBMilYy5.js} +34 -34
  195. package/dist/assets/{ZeniAccountListViewPage-CZM1ODEE-Cc-U9qmc.js → ZeniAccountListViewPage-CORl7azj-By_13T1c.js} +18 -18
  196. package/dist/assets/{ZeniAccountNavBarPieces-CjNAr1N9-RsiaZAh1.js → ZeniAccountNavBarPieces-88z7CFPI-kEgSzIRo.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-PcyNGe7A-D6DBVv8X.js → ZeniAccountPromoPage-Car62P8Q-Bdd82q-1.js} +11 -11
  198. package/dist/assets/{ZeniAccountSetupPage-DhJ2zm6A-DdBOSG23.js → ZeniAccountSetupPage-B5uOzSDL-B_JyTC9y.js} +5 -5
  199. package/dist/assets/{ZeniCopyright-CSUSID-7-D956iA9P.js → ZeniCopyright-BcMyDAdQ-B3RH4DR7.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-DPl7porw-DozHMrHt.js → ZeniTransferAmountSlider-Css3_ojA-DueYRoaC.js} +1 -1
  201. package/dist/assets/analytics-CBL_L82S.js +7 -0
  202. package/dist/assets/{analyticsHelper-D6tpOug6.js → analyticsHelper-DsBQxHgn.js} +1 -1
  203. package/dist/assets/{analyticsHelper-Cex5LOMD-C4BwPSdy.js → analyticsHelper-X-GRY9hH-MGNhQKMp.js} +1 -1
  204. package/dist/assets/{chartTypes-Df8u7la0-Brzx7O5o.js → chartTypes-C5XZr0AA-C8J0rp67.js} +1 -1
  205. package/dist/assets/{commonDimensions-OJhakpB_-DiUt9j4S.js → commonDimensions-DBedC6J7-SSiZbAOc.js} +1 -1
  206. package/dist/assets/{detailCommon-4wAnHr6n-Bingj457.js → detailCommon-CIjWXBC2-K-4pS5u-.js} +6 -6
  207. package/dist/assets/{downloadPdf-D02UNVHu-C-bMa4LF.js → downloadPdf-B21yi0DO-ZMTPTkC7.js} +1 -1
  208. package/dist/assets/{index-CKO1Ko85.js → index-ji6aa7AC.js} +3296 -3257
  209. package/dist/assets/{mapLoadingInProgressToTreeNode-HsZI6Bdg-p8sExms0.js → mapLoadingInProgressToTreeNode-CPDYMovk-DjQU3oZy.js} +1 -1
  210. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B9KMXCTi-Cj1lgpjj.js → mapSectionWithAcOnlyToTreeNode-XPbCtxen-DAUQseD_.js} +1 -1
  211. package/dist/assets/{mapSpacerToTreeNode-BIZ_jwXi-CLKBLO3f.js → mapSpacerToTreeNode-CJ13HyFX-D7QAWDUL.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-BOFrVlzJ-F8pebh8y.js → mapTimeframeBalancesToTreeNode-D8UCPznF-C5zbYkry.js} +1 -1
  213. package/dist/assets/{play-icon-BDRoJBSV-BPJEHfZz.js → play-icon-D7s0M2vV-zKqEqpdy.js} +3 -3
  214. package/dist/assets/{toCOABalancesWithID-RJhTPgAt-CfuoDOsP.js → toCOABalancesWithID-CWk-QcRU-Db3b2mU1.js} +1 -1
  215. package/dist/assets/{toChartData-K68FB3Iy-Ds_boAOT.js → toChartData-BMMsnVqz-Cij6F0sj.js} +1 -1
  216. package/dist/assets/{treasuryColorHelper-DjASf5JB-Clmu45xq.js → treasuryColorHelper-CDRG_Dxk-BbsHEkM1.js} +1 -1
  217. package/dist/assets/{uploadAttachment-D7Rju7jS-BbgF_xIh.js → uploadAttachment-5FffgOcW-DgFFpcCF.js} +25 -25
  218. package/dist/assets/{uploadReceipts-Buvz7DfG-BpsqF6VB.js → uploadReceipts-Buvz7DfG-Dl3fgjOi.js} +1 -1
  219. package/dist/index.html +1 -1
  220. package/package.json +4 -4
  221. package/dist/assets/AccountInfoPageContent-CmRpq4eF-DDfUCfgt.js +0 -149
  222. package/dist/assets/ApprovalRulesSettingsPage-1AQm08qF-DSSyDlgY.js +0 -47
  223. package/dist/assets/ArAgingChart-UnY648RV-BOEQqhql.js +0 -24
  224. package/dist/assets/BankConnectionsSettingsPage-BG99PtV_-CepU1gQp.js +0 -379
  225. package/dist/assets/ChargeCardDetailPage-DYGcQs0M-NBwd05Wz.js +0 -1447
  226. package/dist/assets/ChargeCardListPage-CNrRrNbd-Db66aANm.js +0 -355
  227. package/dist/assets/ChargeCardPromoPage-DZ1f8Sus-CBXiRWXX.js +0 -175
  228. package/dist/assets/CheckDepositDrawerPage-CbsRUWnx-CNd5wiU_.js +0 -206
  229. package/dist/assets/CustomerOnboardingContainerPage-BmFfAaO1-B6jyQS1g.js +0 -1
  230. package/dist/assets/Dashboard-BLIK_ZsD-DLzG8p7Y.js +0 -778
  231. package/dist/assets/HelpButton-DXFYhUL5-DrvcpPIO.js +0 -28
  232. package/dist/assets/InvitePeoplePage-By6TWsVZ-DAOsQYGZ.js +0 -12
  233. package/dist/assets/NotificationsListConfig-Cc3hEei0-CMelH0ma.js +0 -1
  234. package/dist/assets/PortfolioAllocationFormPage-StMDGc2G-CenaxepD.js +0 -207
  235. package/dist/assets/StatementItem-B4DJRmwy-NoG4m8iV.js +0 -31
  236. package/dist/assets/StatementsPage-DzFEOmFA-oaH9OYzs.js +0 -58
  237. package/dist/assets/TimeframeSwitcherWithToggle-B3bxr-_s-28Eu1Q5j.js +0 -31
  238. package/dist/assets/TreasuryStatementsPage-CzOSIKGQ-BjAps3jh.js +0 -58
  239. package/dist/assets/analytics-DThoELaW.js +0 -7
@@ -1,4 +1,4 @@
1
- import{X as Y,u as V,j as o,Y as w,M as Z,ds as u,o as i,C as a,e_ as D,e$ as j,g as C,f0 as ee,Q as ie,bd as oe,q as l,p as te,a9 as E,b5 as se,v as B,ak as re,m as ne,b0 as le,f4 as ae}from"./index-CKO1Ko85.js";import{b as de,n as t}from"./vendor-CnQcJ2Lu.js";const n={sectionWidth:new a(343,580,726),descriptionMarginBottom:new a(12,l[3]),iconContainerMaxWidthHeight:new a(l[6],l[7]),iconContainerMarginRight:new a(12,l[3]),iconPadding:new a(10,12),rowGap:new a(l[2],l[3]),containerPadding:new a(l[3],l[4]),navIconLeftMargin:new a(12,l[4]),tagIconContainerDivMarginTop:new a(l[2],l[0])},_={title:new ie("standardSemiBold","largeSemiBold")},{commonSetUp:{setUp:S}}=Z.getLocalizedStrings(),ce=t(le)`
1
+ import{X as q,u as J,j as o,Y as w,M as V,dr as u,o as i,C as a,eY as D,eZ as j,g as C,e_ as ee,Q as ie,bc as oe,n as l,m as te,a5 as B,b4 as se,w as E,ae as re,f as ne,b0 as le,f2 as ae}from"./index-ji6aa7AC.js";import{b as de,n as t}from"./vendor-CnQcJ2Lu.js";const n={sectionWidth:new a(343,580,726),descriptionMarginBottom:new a(12,l[3]),iconContainerMaxWidthHeight:new a(l[6],l[7]),iconContainerMarginRight:new a(12,l[3]),iconPadding:new a(10,12),rowGap:new a(l[2],l[3]),containerPadding:new a(l[3],l[4]),navIconLeftMargin:new a(12,l[4]),tagIconContainerDivMarginTop:new a(l[2],l[0])},W={title:new ie("standardSemiBold","largeSemiBold")},{commonSetUp:{setUp:S}}=V.getLocalizedStrings(),ce=t(le)`
2
2
  margin-left: 6px;
3
3
  width: 12px;
4
4
  height: 12px;
@@ -26,7 +26,7 @@ import{X as Y,u as V,j as o,Y as w,M as Z,ds as u,o as i,C as a,e_ as D,e$ as j,
26
26
  height: ${i.sp4};
27
27
  margin-right: ${i.sp2};
28
28
  margin-left: ${i.sp4};
29
- `,ue=t(E)`
29
+ `,ue=t(B)`
30
30
  color: ${e=>e.theme.colors.hero};
31
31
  cursor: pointer;
32
32
  `,xe=t.div`
@@ -39,7 +39,7 @@ import{X as Y,u as V,j as o,Y as w,M as Z,ds as u,o as i,C as a,e_ as D,e$ as j,
39
39
  border-bottom-right-radius: ${i.sp0};
40
40
  border-bottom-left-radius: ${i.sp0};
41
41
  `}
42
- `,we=({windowSize:e,title:P,isError:p,isCardPaymentMethod:$=!1,showAddPaymentMethodDropDown:f=!1,addPaymentMethodDropdownOpen:r,isDisabled:m,updateCardPaymentModalState:x,setAddPaymentMethodDropdownOpen:d,openPlaidDialog:y,productType:h,setEventSourceType:v,referrer:M,analytics:b})=>{const z=()=>{r===!0&&d!=null&&d(!1)};return o.jsxs(pe,{children:[o.jsx(ve,{windowSize:e,isDisabled:m,isError:p,children:P}),f?o.jsxs(he,{"data-testid":w("add-payment-method-wrapper",h),children:[o.jsx(ce,{"data-testid":w("add-payment-method",h),onClick:g=>{g.stopPropagation(),d?.(!(r??!1))}}),r===!0?o.jsx(te,{onClickAway:z,children:o.jsxs(ge,{children:[o.jsx(me,{}),o.jsx(ue,{onClick:g=>{g.stopPropagation(),$&&x!=null?(x(!0),v!=null&&b!=null&&h!=null&&(v("link_new_credit_card"),b.trackCreditCardConnect(h,"link_new_credit_card",M))):y?.(g,"link_new_bank_account"),d?.(!1)},"data-testid":w("add-card",h),children:$?S.addNewCard:S.linkNewAccount})]})}):null]}):null]})};function Qe({style:e,header:P,footNote:p,title:$,subTitle:f,status:r,statusInfoIcon:m,icon:x,isActive:d=!0,isDisabled:y=!1,isClickable:h=!0,isCompleted:v=!1,showCompletedIcon:M=!1,isError:b,hasError:z=!1,subTitleIcon:g,isLoading:c,isTagLoading:A,isActiveWhileLoading:I=!1,shouldHover:N=!0,showRightArrow:W=!0,onClick:H,showAddPaymentMethodDropDown:R=!1,updateCardPaymentModalState:G,openPlaidDialog:O,isCardPaymentMethod:F,analytics:J,productType:k,referrer:Q,setEventSourceType:U,additionalInfo:L}){const s=Y(),K=V(),[X,q]=de.useState(!1);return o.jsxs($e,{windowSize:s,style:e,isActive:d&&!y,isLoading:c??!1,isActiveWhileLoading:I,"data-testid":w("setup-default-section",k),children:[o.jsxs(Ae,{children:[M===!0?o.jsx(_e,{children:v?o.jsx(Ie,{}):o.jsx(Ne,{})}):null,o.jsxs(Le,{windowSize:s,children:[P,d===!1?o.jsx(Ee,{children:S.comingSoon}):null]})]}),o.jsxs(ze,{windowSize:s,width:e?.width,shouldHover:N,isClickable:h,children:[o.jsxs(xe,{isFootNoteAvailable:p!=null,children:[o.jsxs(ke,{windowSize:s,width:e?.width,isfootNoteAvailable:p!=null,onClick:d&&!y?H:void 0,"data-testid":w("setup-approval-section-elements",k),children:[o.jsxs(fe,{children:[o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp7,height:i.sp7,borderRadius:"50%",marginRight:i.sp3},children:o.jsx(Me,{iconColor:x.color,windowSize:s,isDarkMode:K.mode==="dark",children:x.element})}),o.jsxs(De,{children:[o.jsxs(Te,{children:[o.jsx(u,{isLoading:c??!1,customStyle:{width:"200px",height:i.sp4,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`,marginTop:i.sp2},children:o.jsx(we,{windowSize:s,title:$,isError:b,showAddPaymentMethodDropDown:R,setAddPaymentMethodDropdownOpen:q,addPaymentMethodDropdownOpen:X,updateCardPaymentModalState:G,isCardPaymentMethod:F??!1,openPlaidDialog:O,analytics:J,productType:k,referrer:Q,setEventSourceType:U})}),f.length>0?o.jsx(be,{children:o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:`${i.sp4}`,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsxs(je,{children:[f,g!=null?o.jsx(Se,{children:g.element}):null]})})}):null]}),r!=null&&s==="small"?o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:i.sp4,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsxs(T,{windowSize:s,children:[m??m,o.jsx(D,{style:{width:"max-content",padding:0},tagTitle:r.name,textColor:j(r.code),showLoader:A})]})}):null,c===!1&&L!=null?o.jsxs(He,{children:[o.jsx(Re,{statusColor:r!=null?j(r.code).color:void 0}),o.jsx(Ge,{statusColor:r!=null?j(r.code).color:void 0,children:L})]}):null]})]}),o.jsxs(ye,{children:[r!=null&&s!=="small"?o.jsxs(T,{windowSize:s,children:[o.jsx(We,{children:m??m}),o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:`${i.sp4}`,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsx(D,{style:{width:"max-content",padding:0},tagTitle:r.name,textColor:j(r.code),showLoader:A})})]}):null,W===!0?o.jsx(Ce,{windowSize:s,children:o.jsx(Pe,{width:i.sp4,height:i.sp4})}):null]})]}),z?o.jsx(Oe,{children:S.bankAccountLinkingError}):null]}),o.jsx(u,{isLoading:c??!1,customStyle:{marginTop:n.rowGap.valuePx(s),width:"48%",height:i.sp3,marginBottom:i.sp2,marginLeft:i.sp3},children:typeof p=="string"?o.jsx(Be,{children:p}):p})]})]})}const $e=t.div`
42
+ `,we=({windowSize:e,title:P,isError:p,isCardPaymentMethod:$=!1,showAddPaymentMethodDropDown:f=!1,addPaymentMethodDropdownOpen:r,isDisabled:m,updateCardPaymentModalState:x,setAddPaymentMethodDropdownOpen:d,openPlaidDialog:y,productType:h,setEventSourceType:v,referrer:M,analytics:b})=>{const z=()=>{r===!0&&d!=null&&d(!1)};return o.jsxs(pe,{children:[o.jsx(ve,{windowSize:e,isDisabled:m,isError:p,children:P}),f?o.jsxs(he,{"data-testid":w("add-payment-method-wrapper",h),children:[o.jsx(ce,{"data-testid":w("add-payment-method",h),onClick:g=>{g.stopPropagation(),d?.(!(r??!1))}}),r===!0?o.jsx(te,{onClickAway:z,children:o.jsxs(ge,{children:[o.jsx(me,{}),o.jsx(ue,{onClick:g=>{g.stopPropagation(),$&&x!=null?(x(!0),v!=null&&b!=null&&h!=null&&(v("link_new_credit_card"),b.trackCreditCardConnect(h,"link_new_credit_card",M))):y?.(g,"link_new_bank_account"),d?.(!1)},"data-testid":w("add-card",h),children:$?S.addNewCard:S.linkNewAccount})]})}):null]}):null]})};function Fe({style:e,header:P,footNote:p,title:$,subTitle:f,status:r,statusInfoIcon:m,icon:x,isActive:d=!0,isDisabled:y=!1,isClickable:h=!0,isCompleted:v=!1,showCompletedIcon:M=!1,isError:b,hasError:z=!1,subTitleIcon:g,isLoading:c,isTagLoading:A,isActiveWhileLoading:_=!1,shouldHover:I=!0,showRightArrow:N=!0,onClick:H,showAddPaymentMethodDropDown:G=!1,updateCardPaymentModalState:O,openPlaidDialog:R,isCardPaymentMethod:K,analytics:Q,productType:k,referrer:F,setEventSourceType:U,additionalInfo:L}){const s=q(),X=J(),[Y,Z]=de.useState(!1);return o.jsxs($e,{windowSize:s,style:e,isActive:d&&!y,isLoading:c??!1,isActiveWhileLoading:_,"data-testid":w("setup-default-section",k),children:[o.jsxs(Ae,{children:[M===!0?o.jsx(We,{children:v?o.jsx(_e,{}):o.jsx(Ie,{})}):null,o.jsxs(Le,{windowSize:s,children:[P,d===!1?o.jsx(Be,{children:S.comingSoon}):null]})]}),o.jsxs(ze,{windowSize:s,width:e?.width,shouldHover:I,isClickable:h,children:[o.jsxs(xe,{isFootNoteAvailable:p!=null,children:[o.jsxs(ke,{windowSize:s,width:e?.width,isfootNoteAvailable:p!=null,onClick:d&&!y?H:void 0,"data-testid":w("setup-approval-section-elements",k),children:[o.jsxs(fe,{children:[o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp7,height:i.sp7,borderRadius:"50%",marginRight:i.sp3},children:o.jsx(Me,{iconColor:x.color,windowSize:s,isDarkMode:X.mode==="dark",children:x.element})}),o.jsxs(De,{children:[o.jsxs(Te,{children:[o.jsx(u,{isLoading:c??!1,customStyle:{width:"200px",height:i.sp4,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`,marginTop:i.sp2},children:o.jsx(we,{windowSize:s,title:$,isError:b,showAddPaymentMethodDropDown:G,setAddPaymentMethodDropdownOpen:Z,addPaymentMethodDropdownOpen:Y,updateCardPaymentModalState:O,isCardPaymentMethod:K??!1,openPlaidDialog:R,analytics:Q,productType:k,referrer:F,setEventSourceType:U})}),f.length>0?o.jsx(be,{children:o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:`${i.sp4}`,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsxs(je,{children:[f,g!=null?o.jsx(Se,{children:g.element}):null]})})}):null]}),r!=null&&s==="small"?o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:i.sp4,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsxs(T,{windowSize:s,children:[m??m,o.jsx(D,{style:{width:"max-content",padding:0},tagTitle:r.name,textColor:j(r.code),showLoader:A})]})}):null,c===!1&&L!=null?o.jsxs(He,{children:[o.jsx(Ge,{statusColor:r!=null?j(r.code).color:void 0}),o.jsx(Oe,{statusColor:r!=null?j(r.code).color:void 0,children:L})]}):null]})]}),o.jsxs(ye,{children:[r!=null&&s!=="small"?o.jsxs(T,{windowSize:s,children:[o.jsx(Ne,{children:m??m}),o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:`${i.sp4}`,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsx(D,{style:{width:"max-content",padding:0},tagTitle:r.name,textColor:j(r.code),showLoader:A})})]}):null,N===!0?o.jsx(Ce,{windowSize:s,children:o.jsx(Pe,{width:i.sp4,height:i.sp4})}):null]})]}),z?o.jsx(Re,{children:S.bankAccountLinkingError}):null]}),o.jsx(u,{isLoading:c??!1,customStyle:{marginTop:n.rowGap.valuePx(s),width:"48%",height:i.sp3,marginBottom:i.sp2,marginLeft:i.sp3},children:typeof p=="string"?o.jsx(Ee,{children:p}):p})]})]})}const $e=t.div`
43
43
  display: flex;
44
44
  flex-direction: column;
45
45
  pointer-events: ${e=>(e.isLoading===!0||e.isActive===!1)&&e.isActiveWhileLoading===!1?"none":"initial"};
@@ -58,13 +58,13 @@ import{X as Y,u as V,j as o,Y as w,M as Z,ds as u,o as i,C as a,e_ as D,e$ as j,
58
58
  margin-top: ${e=>n.tagIconContainerDivMarginTop.valuePx(e.windowSize)};
59
59
  gap: ${i.sp2};
60
60
  `,ve=t.div`
61
- ${e=>`${_.title.style(e.windowSize)}`};
61
+ ${e=>`${W.title.style(e.windowSize)}`};
62
62
  color: ${e=>e.isError===!0?C.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
63
63
  `,be=t.div`
64
64
  display: flex;
65
65
  align-items: center;
66
66
  justify-content: flex-start;
67
- `,je=t(E)`
67
+ `,je=t(B)`
68
68
  color: ${e=>e.theme.colors.hero};
69
69
  `,Se=t.span`
70
70
  padding-left: ${i.sp1};
@@ -124,14 +124,14 @@ import{X as Y,u as V,j as o,Y as w,M as Z,ds as u,o as i,C as a,e_ as D,e$ as j,
124
124
  display: flex;
125
125
  align-items: center;
126
126
  color: ${e=>e.theme.colors.primary};
127
- ${e=>`${_.title.style(e.windowSize)}`};
127
+ ${e=>`${W.title.style(e.windowSize)}`};
128
128
  `,De=t.div`
129
129
  display: flex;
130
130
  flex-direction: column;
131
- `,Te=t.div``,Ee=t(oe)`
131
+ `,Te=t.div``,Be=t(oe)`
132
132
  color: ${e=>e.theme.colors.comingSoon};
133
133
  margin-left: ${i.sp3};
134
- `,Be=t(ne)`
134
+ `,Ee=t(ne)`
135
135
  padding: ${i.sp2} ${i.sp4};
136
136
  background: ${e=>e.theme.colors.grey4};
137
137
  border-radius: ${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2};
@@ -139,18 +139,18 @@ import{X as Y,u as V,j as o,Y as w,M as Z,ds as u,o as i,C as a,e_ as D,e$ as j,
139
139
  box-sizing: border-box;
140
140
  text-align: center;
141
141
  color: ${e=>e.theme.colors.grey1};
142
- `,_e=t.div`
142
+ `,We=t.div`
143
143
  margin-right: ${i.sp2};
144
- `,Ie=t(ee)`
144
+ `,_e=t(ee)`
145
145
  width: ${i.sp3};
146
146
  height: ${i.sp3};
147
147
  color: ${C.success};
148
- `,Ne=t.div`
148
+ `,Ie=t.div`
149
149
  height: 14px;
150
150
  width: 14px;
151
151
  border: 1px solid ${e=>e.theme.colors.primary};
152
152
  border-radius: 50%;
153
- `,We=t.div`
153
+ `,Ne=t.div`
154
154
  width: ${i.sp3};
155
155
  height: ${i.sp3};
156
156
  margin: auto;
@@ -159,16 +159,16 @@ import{X as Y,u as V,j as o,Y as w,M as Z,ds as u,o as i,C as a,e_ as D,e$ as j,
159
159
  align-items: center;
160
160
  gap: ${i.sp1};
161
161
  margin-top: ${i.sp1};
162
- `,Re=t(se)`
162
+ `,Ge=t(se)`
163
163
  width: ${i.sp3};
164
164
  height: ${i.sp3};
165
165
  color: ${e=>e.statusColor!=null?e.statusColor.toString():e.theme.colors.grey1};
166
- `,Ge=t(B)`
166
+ `,Oe=t(E)`
167
167
  color: ${e=>e.statusColor!=null?e.statusColor.toString():e.theme.colors.grey1};
168
- `,Oe=t(B)`
168
+ `,Re=t(E)`
169
169
  display: flex;
170
170
  color: ${C.important};
171
171
  margin-left: 88px;
172
172
  margin-bottom: ${i.sp3};
173
173
  border-radius: ${i.sp1};
174
- `;export{we as $,Qe as J,Be as L};
174
+ `;export{we as $,Fe as K,Ee as T};
@@ -1,4 +1,4 @@
1
- import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as i,i as re,C as $,$ as Ae,Q as te,h as xe,g as c,k as Je,b as Ge,v as fe,c as $e,d as Ne,l as se,e as qe,f as Xe,K as Ce,n as Qe,m as ke,p as Ke,q as L,r as O,Z as Ye,s as eo,t as oo,x as io,w as no}from"./index-CKO1Ko85.js";import{b as t,n,f as ro,k as Se,j as to}from"./vendor-CnQcJ2Lu.js";import{i as so}from"./ZeniCopyright-CSUSID-7-D956iA9P.js";import{f as lo}from"./ProductsCarousel-0-ksFQos-Cboqtj5A.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ao=e=>t.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M5.49686 0.437846C3.50884 1.1044 1.81485 2.56223 0.871312 4.40709C0.542169 5.04355 0.305187 5.71871 0.160364 6.41967C-0.199498 8.15702 0.0506501 10.0105 0.866923 11.593C1.39794 12.6251 2.16155 13.5454 3.08315 14.2636C3.95647 14.943 4.97023 15.4505 6.04982 15.73C7.41028 16.0869 8.8585 16.0783 10.2277 15.773C11.4653 15.4935 12.6371 14.9129 13.5718 14.07C14.5592 13.1799 15.2658 12.0102 15.6388 10.7502C16.047 9.37833 16.0996 7.9119 15.8451 6.50138C13.2866 6.50138 10.7236 6.50138 8.16511 6.50138C8.16511 7.54207 8.16511 8.58276 8.16511 9.62345C9.64844 9.62345 11.1318 9.62345 12.6151 9.62345C12.444 10.6211 11.8383 11.5328 10.9826 12.0962C10.4428 12.4531 9.82399 12.681 9.18326 12.7928C8.54253 12.9003 7.87546 12.9132 7.23473 12.7885C6.58084 12.6595 5.96205 12.3929 5.41787 12.0188C4.54893 11.421 3.88626 10.548 3.54834 9.56325C3.20164 8.56126 3.19725 7.44746 3.54834 6.44977C3.7941 5.74451 4.19784 5.09515 4.73325 4.56191C5.39153 3.89965 6.24731 3.42661 7.17329 3.23309C7.96323 3.06968 8.79706 3.09978 9.56945 3.3277C10.2277 3.52122 10.8334 3.87815 11.3293 4.34259C11.8296 3.85235 12.3299 3.3621 12.8302 2.87186C13.0935 2.60954 13.3699 2.35581 13.6245 2.08489C12.8653 1.39683 11.97 0.842081 10.9957 0.48945C9.24031 -0.147006 7.26545 -0.159907 5.49686 0.437846Z",fill:"white"}),t.createElement("path",{d:"M5.49686 0.43784C7.26106 -0.159913 9.2403 -0.147012 10.9957 0.485144C11.97 0.837775 12.8609 1.38822 13.6245 2.08058C13.3699 2.35151 13.0935 2.60523 12.8302 2.86755C12.3299 3.3578 11.8296 3.84804 11.3293 4.33828C10.8334 3.87384 10.2277 3.52121 9.56945 3.32339C8.79706 3.09547 7.96323 3.06107 7.17329 3.22879C6.25169 3.4223 5.39592 3.89534 4.73325 4.5576C4.19784 5.08655 3.79409 5.74021 3.54833 6.44547C2.65745 5.76601 1.76657 5.09085 0.871307 4.41139C1.81485 2.56223 3.50884 1.1044 5.49686 0.43784Z",fill:"#EA4335"}),t.createElement("path",{d:"M0.164771 6.41539C0.309594 5.71873 0.546576 5.03927 0.875719 4.40282C1.7666 5.08228 2.65748 5.75744 3.55274 6.4369C3.20166 7.43888 3.20166 8.55268 3.55274 9.55037C2.66186 10.2298 1.77099 10.9093 0.880107 11.5844C0.0550569 10.0062 -0.195091 8.15275 0.164771 6.41539Z",fill:"#FBBC05"}),t.createElement("path",{d:"M8.16515 6.49707C10.7237 6.49707 13.2866 6.49707 15.8451 6.49707C16.0997 7.90329 16.0426 9.36972 15.6389 10.7458C15.2659 12.0059 14.5593 13.1756 13.5719 14.0657C12.7073 13.4078 11.8428 12.7498 10.9782 12.0919C11.834 11.5285 12.4396 10.6168 12.6108 9.61914C11.1274 9.61914 9.6441 9.61914 8.16077 9.61914C8.16516 8.57845 8.16515 7.53776 8.16515 6.49707Z",fill:"#4285F4"}),t.createElement("path",{d:"M0.871338 11.5887C1.76222 10.9135 2.6531 10.2341 3.54397 9.55461C3.88628 10.5394 4.54457 11.4124 5.4135 12.0101C5.95769 12.3843 6.58086 12.6509 7.23037 12.7799C7.8711 12.9089 8.53377 12.8917 9.17889 12.7842C9.81962 12.6724 10.4384 12.4445 10.9782 12.0875C11.8428 12.7455 12.7073 13.4034 13.5718 14.0614C12.6371 14.9086 11.4653 15.4848 10.2278 15.7644C8.85853 16.0697 7.4103 16.0783 6.04985 15.7214C4.97026 15.4418 3.9565 14.9387 3.08317 14.2549C2.16596 13.5411 1.40235 12.6208 0.871338 11.5887Z",fill:"#34A853"})),co=e=>t.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M0 0H7.58546V7.58546H0V0Z",fill:"#F25022"}),t.createElement("path",{d:"M8.37742 0H15.9629V7.58546H8.37742V0Z",fill:"#7FBA00"}),t.createElement("path",{d:"M0 8.37741H7.58546V15.9629H0V8.37741Z",fill:"#00A4EF"}),t.createElement("path",{d:"M8.41454 8.41454H16V16H8.41454V8.41454Z",fill:"#FFB900"})),go=n.div`
1
+ import{X as N,V as Oe,a as Re,M as C,j as o,T as z,G as De,F as Ue,E as Ae,o as i,i as re,C as $,$ as We,Q as te,h as xe,g as c,k as Je,R as Ge,w as fe,b as $e,c as Ne,l as se,d as qe,e as Xe,K as Ce,r as Qe,f as ke,m as Ke,n as L,v as O,Z as Ye,p as eo,q as oo,x as io,s as no}from"./index-ji6aa7AC.js";import{b as t,n,f as ro,k as Se,j as to}from"./vendor-CnQcJ2Lu.js";import{i as so}from"./ZeniCopyright-BcMyDAdQ-B3RH4DR7.js";import{f as lo}from"./ProductsCarousel-DpevGHyq-M7sMCRPA.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ao=e=>t.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M5.49686 0.437846C3.50884 1.1044 1.81485 2.56223 0.871312 4.40709C0.542169 5.04355 0.305187 5.71871 0.160364 6.41967C-0.199498 8.15702 0.0506501 10.0105 0.866923 11.593C1.39794 12.6251 2.16155 13.5454 3.08315 14.2636C3.95647 14.943 4.97023 15.4505 6.04982 15.73C7.41028 16.0869 8.8585 16.0783 10.2277 15.773C11.4653 15.4935 12.6371 14.9129 13.5718 14.07C14.5592 13.1799 15.2658 12.0102 15.6388 10.7502C16.047 9.37833 16.0996 7.9119 15.8451 6.50138C13.2866 6.50138 10.7236 6.50138 8.16511 6.50138C8.16511 7.54207 8.16511 8.58276 8.16511 9.62345C9.64844 9.62345 11.1318 9.62345 12.6151 9.62345C12.444 10.6211 11.8383 11.5328 10.9826 12.0962C10.4428 12.4531 9.82399 12.681 9.18326 12.7928C8.54253 12.9003 7.87546 12.9132 7.23473 12.7885C6.58084 12.6595 5.96205 12.3929 5.41787 12.0188C4.54893 11.421 3.88626 10.548 3.54834 9.56325C3.20164 8.56126 3.19725 7.44746 3.54834 6.44977C3.7941 5.74451 4.19784 5.09515 4.73325 4.56191C5.39153 3.89965 6.24731 3.42661 7.17329 3.23309C7.96323 3.06968 8.79706 3.09978 9.56945 3.3277C10.2277 3.52122 10.8334 3.87815 11.3293 4.34259C11.8296 3.85235 12.3299 3.3621 12.8302 2.87186C13.0935 2.60954 13.3699 2.35581 13.6245 2.08489C12.8653 1.39683 11.97 0.842081 10.9957 0.48945C9.24031 -0.147006 7.26545 -0.159907 5.49686 0.437846Z",fill:"white"}),t.createElement("path",{d:"M5.49686 0.43784C7.26106 -0.159913 9.2403 -0.147012 10.9957 0.485144C11.97 0.837775 12.8609 1.38822 13.6245 2.08058C13.3699 2.35151 13.0935 2.60523 12.8302 2.86755C12.3299 3.3578 11.8296 3.84804 11.3293 4.33828C10.8334 3.87384 10.2277 3.52121 9.56945 3.32339C8.79706 3.09547 7.96323 3.06107 7.17329 3.22879C6.25169 3.4223 5.39592 3.89534 4.73325 4.5576C4.19784 5.08655 3.79409 5.74021 3.54833 6.44547C2.65745 5.76601 1.76657 5.09085 0.871307 4.41139C1.81485 2.56223 3.50884 1.1044 5.49686 0.43784Z",fill:"#EA4335"}),t.createElement("path",{d:"M0.164771 6.41539C0.309594 5.71873 0.546576 5.03927 0.875719 4.40282C1.7666 5.08228 2.65748 5.75744 3.55274 6.4369C3.20166 7.43888 3.20166 8.55268 3.55274 9.55037C2.66186 10.2298 1.77099 10.9093 0.880107 11.5844C0.0550569 10.0062 -0.195091 8.15275 0.164771 6.41539Z",fill:"#FBBC05"}),t.createElement("path",{d:"M8.16515 6.49707C10.7237 6.49707 13.2866 6.49707 15.8451 6.49707C16.0997 7.90329 16.0426 9.36972 15.6389 10.7458C15.2659 12.0059 14.5593 13.1756 13.5719 14.0657C12.7073 13.4078 11.8428 12.7498 10.9782 12.0919C11.834 11.5285 12.4396 10.6168 12.6108 9.61914C11.1274 9.61914 9.6441 9.61914 8.16077 9.61914C8.16516 8.57845 8.16515 7.53776 8.16515 6.49707Z",fill:"#4285F4"}),t.createElement("path",{d:"M0.871338 11.5887C1.76222 10.9135 2.6531 10.2341 3.54397 9.55461C3.88628 10.5394 4.54457 11.4124 5.4135 12.0101C5.95769 12.3843 6.58086 12.6509 7.23037 12.7799C7.8711 12.9089 8.53377 12.8917 9.17889 12.7842C9.81962 12.6724 10.4384 12.4445 10.9782 12.0875C11.8428 12.7455 12.7073 13.4034 13.5718 14.0614C12.6371 14.9086 11.4653 15.4848 10.2278 15.7644C8.85853 16.0697 7.4103 16.0783 6.04985 15.7214C4.97026 15.4418 3.9565 14.9387 3.08317 14.2549C2.16596 13.5411 1.40235 12.6208 0.871338 11.5887Z",fill:"#34A853"})),co=e=>t.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M0 0H7.58546V7.58546H0V0Z",fill:"#F25022"}),t.createElement("path",{d:"M8.37742 0H15.9629V7.58546H8.37742V0Z",fill:"#7FBA00"}),t.createElement("path",{d:"M0 8.37741H7.58546V15.9629H0V8.37741Z",fill:"#00A4EF"}),t.createElement("path",{d:"M8.41454 8.41454H16V16H8.41454V8.41454Z",fill:"#FFB900"})),go=n.div`
2
2
  margin-left: ${i.sp3};
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  font-family: ${no.Roboto};
@@ -36,7 +36,7 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
36
36
  `,uo=n(co)`
37
37
  height: ${i.sp3};
38
38
  width: ${i.sp3};
39
- `;function be({type:e,titleText:g,disabled:a,loadingIndication:h,onClick:u}){const d=N(),x=o.jsxs(ho,{children:[e==="Google"?o.jsx(mo,{}):o.jsx(uo,{}),o.jsx(go,{windowSize:d,children:g})]});return o.jsx(po,{windowSize:d,disabled:a===!0,onClick:a===!0?void 0:u,children:h===!0?o.jsx(qe,{size:"Standard",start:h===!0}):x})}const wo=({inProgress:e,disabled:g,onSuccess:a,onSignedInCallback:h,getSignedInUser:u,onError:d})=>{const x=Ne({onSuccess:a,flow:"auth-code",onError:d}),w=()=>{if(u()!=null){h();return}x()};return o.jsx(be,{onClick:w,disabled:g,type:"Google",titleText:C.getLocalizedStrings().signIn.signInGoogleButton,loadingIndication:e})},xo=e=>{const{clientId:g,scopes:a,getSignedInUser:h,onSignedInCallback:u,render:d,onSuccess:x,onFailure:w,disabled:T}=e;let{responseType:f,responseMode:k,prompt:y,redirectUri:v}=e,E,s;const I="https://login.microsoftonline.com/common/oauth2/v2.0/authorize",_=["openid","profile"];f=f??"code",k=k??"fragment",y=y??"consent",ro.useEffect(()=>{const m=se.toZeniUrl(window.location[k==="fragment"?"hash":"search"],!0).query;(window.location.search||window.location.hash)&&(m.code!=null||m.access_token!=null||m.error!=null)&&V()},[]);const M=()=>{const m=encodeURIComponent((a??_).join(" "));return v=v??window.location.origin+window.location.pathname,`${I}?client_id=${g}&response_type=${f}&redirect_uri=${encodeURIComponent(v)}&scope=${m}&prompt=${y}&response_mode=${k}`},V=()=>{window.opener?.authScope.authCompletedCB(se.toZeniUrl(window.location[k==="fragment"?"hash":"search"],!0).query),window.close()};return d({onClick:()=>{if(h()!=null){u();return}E=!1;const m=(p,Z)=>{const P=window.screen.width/2-287.5,F=window.screen.height/2-600/2,B=window.open(p,Z,`toolbar=0,status=0, width=575, height=600, top=${F}, left=${P}`);s=setInterval(()=>{B.closed&&!E&&(w({error:C.getLocalizedStrings().signIn.signInError,errorDetail:{reason:"Signin popup window was closed"}}),clearInterval(s))},500)};window.authScope={authCompletedCB:p=>{E=!0,clearInterval(s),f==="code"&&p.code?x({code:p.code}):f==="token"&&p.access_token?x({accessToken:p.access_token,tokenType:p.token_type,scope:p.scope}):p.error==="access_denied"?w({error:C.getLocalizedStrings().signIn.signInAuthError,errorDetail:p}):w({error:C.getLocalizedStrings().signIn.signInError,errorDetail:p})}},m(M(),"Microsoft Sign In")},disabled:T})},fo=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M14.4966 8.6752L11.3135 9.72133C11.0597 9.80325 10.7843 9.78641 10.5423 9.67418C10.3004 9.56195 10.1096 9.36259 10.0082 9.1159C9.90679 8.86922 9.90213 8.59335 9.99519 8.34338C10.0882 8.09341 10.2721 7.88773 10.5102 7.76741L13.5941 6.22588C13.8572 6.09531 14.1441 6.01959 14.4373 6.00333C14.7305 5.98706 15.024 6.03059 15.2999 6.13126L19.8522 7.78259V14.0308L14.4912 15.0493",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M4.67786 14.0308H6.90938L10.1138 17.6227C10.2769 17.812 10.4939 17.9469 10.7359 18.0093C10.9778 18.0716 11.2331 18.0584 11.4673 17.9714C11.7015 17.8845 11.9035 17.7279 12.0461 17.5227C12.1887 17.3175 12.2651 17.0736 12.265 16.8238V16.2623L12.4248 16.3266C12.6541 16.4182 12.9023 16.4522 13.1477 16.4257C13.3932 16.3991 13.6284 16.3129 13.8328 16.1744C14.0372 16.036 14.2046 15.8496 14.3203 15.6315C14.436 15.4134 14.4965 15.1703 14.4965 14.9234H14.9428C15.1915 14.9234 15.4352 14.8542 15.6468 14.7234C15.8583 14.5927 16.0292 14.4057 16.1404 14.1833C16.2516 13.9609 16.2987 13.7119 16.2763 13.4643C16.254 13.2166 16.1632 12.9801 16.014 12.7812L13.1576 9.12146",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M10.9725 7.53178L10.6458 7.264C10.3838 7.06988 10.0765 6.94592 9.75318 6.9039C9.42981 6.86187 9.10106 6.90318 8.79813 7.02389L4.67786 8.67521",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M2 6.89001H3.78522C4.02195 6.89001 4.24899 6.98406 4.41638 7.15145C4.58378 7.31885 4.67782 7.54589 4.67782 7.78262V14.0309C4.67782 14.2676 4.58378 14.4946 4.41638 14.662C4.24899 14.8294 4.02195 14.9235 3.78522 14.9235H2",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M22.53 14.9235H20.7448C20.508 14.9235 20.281 14.8294 20.1136 14.662C19.9462 14.4946 19.8522 14.2676 19.8522 14.0309V7.78262C19.8522 7.54589 19.9462 7.31885 20.1136 7.15145C20.281 6.98406 20.508 6.89001 20.7448 6.89001H22.53",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M12.265 16.2624L11.3724 15.3698",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.1576 13.5846L14.4965 14.9235",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),D={width:new $(343,572,572),containerTop:new $(17,25,25)},{signIn:{emailNotFoundPopup:H},common:{gotIt:$o}}=C.getLocalizedStrings();function Co({signInError:e,onClose:g}){const a=N(),[h,u]=t.useState(!1),d=e?.email;return o.jsx(ko,{windowSize:a,role:"presentation",style:{background:c.overlayDark},children:o.jsx(Ke,{onClickAway:()=>{u(!0),g()},children:o.jsxs(jo,{windowSize:a,className:h?"containerClass fade":"containerClass",fade:h,children:[o.jsxs(yo,{children:[H.title,o.jsx(Lo,{children:d})]}),o.jsxs(Eo,{children:[o.jsxs(G,{children:[o.jsx(A,{children:o.jsx(vo,{})}),o.jsx(J,{windowSize:a,children:H.confirmEmail})]}),o.jsxs(G,{children:[o.jsx(A,{children:o.jsx(zo,{})}),o.jsx(J,{windowSize:a,children:H.checkAccess})]}),o.jsxs(G,{children:[o.jsx(A,{children:o.jsx(Io,{})}),o.jsx(J,{windowSize:a,children:H.contactZeni})]})]}),o.jsx(Ce,{label:$o,variant:"primary",onClick:()=>{u(!0),g()}})]})})})}const ko=n.div`
39
+ `;function be({type:e,titleText:g,disabled:a,loadingIndication:h,onClick:u}){const d=N(),x=o.jsxs(ho,{children:[e==="Google"?o.jsx(mo,{}):o.jsx(uo,{}),o.jsx(go,{windowSize:d,children:g})]});return o.jsx(po,{windowSize:d,disabled:a===!0,onClick:a===!0?void 0:u,children:h===!0?o.jsx(qe,{size:"Standard",start:h===!0}):x})}const wo=({inProgress:e,disabled:g,onSuccess:a,onSignedInCallback:h,getSignedInUser:u,onError:d})=>{const x=Ne({onSuccess:a,flow:"auth-code",onError:d}),w=()=>{if(u()!=null){h();return}x()};return o.jsx(be,{onClick:w,disabled:g,type:"Google",titleText:C.getLocalizedStrings().signIn.signInGoogleButton,loadingIndication:e})},xo=e=>{const{clientId:g,scopes:a,getSignedInUser:h,onSignedInCallback:u,render:d,onSuccess:x,onFailure:w,disabled:T}=e;let{responseType:f,responseMode:k,prompt:y,redirectUri:I}=e,E,s;const v="https://login.microsoftonline.com/common/oauth2/v2.0/authorize",_=["openid","profile"];f=f??"code",k=k??"fragment",y=y??"consent",ro.useEffect(()=>{const m=se.toZeniUrl(window.location[k==="fragment"?"hash":"search"],!0).query;(window.location.search||window.location.hash)&&(m.code!=null||m.access_token!=null||m.error!=null)&&V()},[]);const M=()=>{const m=encodeURIComponent((a??_).join(" "));return I=I??window.location.origin+window.location.pathname,`${v}?client_id=${g}&response_type=${f}&redirect_uri=${encodeURIComponent(I)}&scope=${m}&prompt=${y}&response_mode=${k}`},V=()=>{window.opener?.authScope.authCompletedCB(se.toZeniUrl(window.location[k==="fragment"?"hash":"search"],!0).query),window.close()};return d({onClick:()=>{if(h()!=null){u();return}E=!1;const m=(p,Z)=>{const P=window.screen.width/2-287.5,F=window.screen.height/2-600/2,B=window.open(p,Z,`toolbar=0,status=0, width=575, height=600, top=${F}, left=${P}`);s=setInterval(()=>{B.closed&&!E&&(w({error:C.getLocalizedStrings().signIn.signInError,errorDetail:{reason:"Signin popup window was closed"}}),clearInterval(s))},500)};window.authScope={authCompletedCB:p=>{E=!0,clearInterval(s),f==="code"&&p.code?x({code:p.code}):f==="token"&&p.access_token?x({accessToken:p.access_token,tokenType:p.token_type,scope:p.scope}):p.error==="access_denied"?w({error:C.getLocalizedStrings().signIn.signInAuthError,errorDetail:p}):w({error:C.getLocalizedStrings().signIn.signInError,errorDetail:p})}},m(M(),"Microsoft Sign In")},disabled:T})},fo=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M14.4966 8.6752L11.3135 9.72133C11.0597 9.80325 10.7843 9.78641 10.5423 9.67418C10.3004 9.56195 10.1096 9.36259 10.0082 9.1159C9.90679 8.86922 9.90213 8.59335 9.99519 8.34338C10.0882 8.09341 10.2721 7.88773 10.5102 7.76741L13.5941 6.22588C13.8572 6.09531 14.1441 6.01959 14.4373 6.00333C14.7305 5.98706 15.024 6.03059 15.2999 6.13126L19.8522 7.78259V14.0308L14.4912 15.0493",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M4.67786 14.0308H6.90938L10.1138 17.6227C10.2769 17.812 10.4939 17.9469 10.7359 18.0093C10.9778 18.0716 11.2331 18.0584 11.4673 17.9714C11.7015 17.8845 11.9035 17.7279 12.0461 17.5227C12.1887 17.3175 12.2651 17.0736 12.265 16.8238V16.2623L12.4248 16.3266C12.6541 16.4182 12.9023 16.4522 13.1477 16.4257C13.3932 16.3991 13.6284 16.3129 13.8328 16.1744C14.0372 16.036 14.2046 15.8496 14.3203 15.6315C14.436 15.4134 14.4965 15.1703 14.4965 14.9234H14.9428C15.1915 14.9234 15.4352 14.8542 15.6468 14.7234C15.8583 14.5927 16.0292 14.4057 16.1404 14.1833C16.2516 13.9609 16.2987 13.7119 16.2763 13.4643C16.254 13.2166 16.1632 12.9801 16.014 12.7812L13.1576 9.12146",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M10.9725 7.53178L10.6458 7.264C10.3838 7.06988 10.0765 6.94592 9.75318 6.9039C9.42981 6.86187 9.10106 6.90318 8.79813 7.02389L4.67786 8.67521",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M2 6.89001H3.78522C4.02195 6.89001 4.24899 6.98406 4.41638 7.15145C4.58378 7.31885 4.67782 7.54589 4.67782 7.78262V14.0309C4.67782 14.2676 4.58378 14.4946 4.41638 14.662C4.24899 14.8294 4.02195 14.9235 3.78522 14.9235H2",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M22.53 14.9235H20.7448C20.508 14.9235 20.281 14.8294 20.1136 14.662C19.9462 14.4946 19.8522 14.2676 19.8522 14.0309V7.78262C19.8522 7.54589 19.9462 7.31885 20.1136 7.15145C20.281 6.98406 20.508 6.89001 20.7448 6.89001H22.53",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M12.265 16.2624L11.3724 15.3698",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.1576 13.5846L14.4965 14.9235",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),R={width:new $(343,572,572),containerTop:new $(17,25,25)},{signIn:{emailNotFoundPopup:H},common:{gotIt:$o}}=C.getLocalizedStrings();function Co({signInError:e,onClose:g}){const a=N(),[h,u]=t.useState(!1),d=e?.email;return o.jsx(ko,{windowSize:a,role:"presentation",style:{background:c.overlayDark},children:o.jsx(Ke,{onClickAway:()=>{u(!0),g()},children:o.jsxs(jo,{windowSize:a,className:h?"containerClass fade":"containerClass",fade:h,children:[o.jsxs(yo,{children:[H.title,o.jsx(Lo,{children:d})]}),o.jsxs(Eo,{children:[o.jsxs(G,{children:[o.jsx(W,{children:o.jsx(Io,{})}),o.jsx(J,{windowSize:a,children:H.confirmEmail})]}),o.jsxs(G,{children:[o.jsx(W,{children:o.jsx(zo,{})}),o.jsx(J,{windowSize:a,children:H.checkAccess})]}),o.jsxs(G,{children:[o.jsx(W,{children:o.jsx(vo,{})}),o.jsx(J,{windowSize:a,children:H.contactZeni})]})]}),o.jsx(Ce,{label:$o,variant:"primary",onClick:()=>{u(!0),g()}})]})})})}const ko=n.div`
40
40
  position: fixed;
41
41
  top: 0;
42
42
  left: 0;
@@ -55,11 +55,11 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
55
55
  top: 100%;
56
56
  }
57
57
  100% {
58
- top: ${D.containerTop.valuePercentage(e)};
58
+ top: ${R.containerTop.valuePercentage(e)};
59
59
  }
60
60
  `,bo=({windowSize:e})=>Se`
61
61
  0% {
62
- top: ${D.containerTop.valuePercentage(e)};
62
+ top: ${R.containerTop.valuePercentage(e)};
63
63
  }
64
64
  100% {
65
65
  top: 100%;
@@ -73,9 +73,9 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
73
73
  background: ${e=>e.theme.colors.grey5};
74
74
  border-radius: ${i.sp2};
75
75
  position: relative;
76
- top: ${e=>e.fade?"100%":D.containerTop.valuePercentage(e.windowSize)};
76
+ top: ${e=>e.fade?"100%":R.containerTop.valuePercentage(e.windowSize)};
77
77
  padding: ${i.sp5} ${i.sp0};
78
- width: ${e=>D.width.valuePx(e.windowSize)};
78
+ width: ${e=>R.width.valuePx(e.windowSize)};
79
79
  animation: ${e=>So(e)} 0.25s linear;
80
80
  box-shadow: ${c.Elevation2Dark};
81
81
  overflow: hidden;
@@ -99,7 +99,7 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
99
99
  margin-bottom: ${i.sp6};
100
100
  color: ${c.important};
101
101
  padding: ${i.sp0} ${i.sp6};
102
- `,A=n.div`
102
+ `,W=n.div`
103
103
  margin-right: 12px;
104
104
  height: ${i.sp7};
105
105
  width: ${i.sp7};
@@ -120,9 +120,9 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
120
120
  width: ${i.sp4};
121
121
  height: ${i.sp4};
122
122
  color: ${e.theme.colors.primary};
123
- `,vo=n($e)`
123
+ `,Io=n($e)`
124
124
  ${q};
125
- `,Io=n(fo)`
125
+ `,vo=n(fo)`
126
126
  ${q};
127
127
  `,zo=n(io)`
128
128
  ${q};
@@ -281,7 +281,7 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
281
281
  align-items: center;
282
282
  width: ${e=>e.windowSize==="small"?"100%":"unset"};
283
283
  margin-top: ${e=>j.signInContainerPaddingTop.valuePx(e.windowSize)};
284
- `,Do=n.div`
284
+ `,Ro=n.div`
285
285
  display: flex;
286
286
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
287
287
  justify-content: center;
@@ -289,7 +289,7 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
289
289
  gap: ${i.sp4};
290
290
  flex-wrap: ${e=>e.windowSize==="small"?"wrap":"nowrap"};
291
291
  max-width: 100%;
292
- `,Ro=n.div`
292
+ `,Do=n.div`
293
293
  margin-top: ${i.sp4};
294
294
  width: 100%;
295
295
  `,we=n.div`
@@ -308,10 +308,10 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
308
308
  .zeni-logo {
309
309
  align-self: ${e=>e.windowSize==="small"?"center":"self-start"};
310
310
  }
311
- `,Wo=n(Ae)`
311
+ `,Ao=n(We)`
312
312
  color: ${e=>e.theme.colors.primary};
313
313
  height: ${i.sp4};
314
- `,Ao=n.div`
314
+ `,Wo=n.div`
315
315
  width: 100%;
316
316
  `,Jo=n.div`
317
317
  width: 1328px;
@@ -322,4 +322,4 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
322
322
  overflow: visible;
323
323
  `,Go=n(Ce)`
324
324
  padding: ${i.sp2} ${i.sp3};
325
- `;function ti({googleClientId:e,microsoftClientId:g,fetchState:a,signInError:h={},showEmailLogin:u=!0,sendMagicLinkStatus:d,magicLinkExpired:x,magicLinkExpiredEmail:w,getSignedInUser:T,onSignedInCallback:f,clearSignInError:k,onOAuthSuccess:y,onOAuthError:v,sendMagicLink:E}){const s=N(),{dark:I}=Oe(),_=a==="In-Progress",M=a==="Error",[V,m]=t.useState(void 0),[p,Z]=t.useState(""),[P,F]=t.useState(!1),[B,R]=t.useState(!1),ye=a==="In-Progress"&&p==="google",ve=a==="In-Progress"&&p==="microsoft",X=De({mode:"onSubmit",defaultValues:{email:""}}),{register:Ie,handleSubmit:ze,formState:{errors:Q},setValue:K,watch:Le,clearErrors:Ee}=X,Y=Le("email"),Me=!!Q.email||B,ee=!!Q.email;t.useEffect(()=>{x===!0&&w!=null&&w.trim()!==""&&(K("email",w),R(!0))},[x,w,K]);const Pe=r=>{R(!1),r.email.trim()&&E(r.email)},Te=()=>{R(!1),Ee("email")},U=d.fetchState==="Error"&&d.error?.error?.type==="email_not_found",oe=M&&h.type==="email_not_found";t.useEffect(()=>{(oe||U)&&F(!0)},[U,oe]);const _e=r=>{console.log(JSON.stringify(r)),m(void 0),y(r.code,"google"),Z("google")},Ve=r=>{const b="Error = "+r?.error+" Error Description = "+r?.error_description;m(b),v?.(JSON.stringify(r),"google")},Ze=r=>{console.log(JSON.stringify(r)),m(void 0),y(r.code,"microsoft"),Z("microsoft")},Fe=r=>{console.log(JSON.stringify(r)),m(r.error??"Microsoft authorization failed."),v?.(JSON.stringify(r),"microsoft")},Be=()=>{let r="";return(M||V!=null)&&P===!1&&(r=V??l.signIn.signInAuthError),r},ie=d.fetchState==="Completed"?l.signIn.confirmationLinkSent:l.signIn.heading,ne=l.signIn.message,S=d.fetchState==="Completed",He=U&&d.error?.error?d.error.error:h;return o.jsxs(Mo,{windowSize:s,children:[o.jsxs(Po,{children:[o.jsxs(Ao,{children:[o.jsx(Uo,{windowSize:s,children:o.jsx(Wo,{className:"zeni-logo"})}),o.jsxs(we,{isMagicLinkSent:S,windowSize:s,style:{display:s==="small"?"flex":"none"},children:[o.jsx(le,{windowSize:s,children:ie}),o.jsx(z,{controller:!S,children:o.jsx(ae,{windowSize:s,children:ne})}),o.jsx(z,{controller:S,children:o.jsxs(ge,{children:[o.jsx(pe,{isDarkTheme:I,children:o.jsx(he,{isDarkTheme:I,children:C.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((r,b,W)=>o.jsxs("span",{children:[r,b<W.length-1&&o.jsx(me,{children:Y})]},b))})}),o.jsx(ue,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),o.jsxs(we,{isMagicLinkSent:S,windowSize:s,style:{display:s==="small"?"none":"flex"},children:[o.jsx(le,{windowSize:s,children:ie}),o.jsx(z,{controller:!S,children:o.jsx(ae,{windowSize:s,children:ne})}),o.jsx(z,{controller:S,children:o.jsxs(ge,{children:[o.jsxs(pe,{isDarkTheme:I,children:[o.jsx(Ho,{children:o.jsx(Bo,{})}),o.jsx(he,{isDarkTheme:I,children:C.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((r,b,W)=>o.jsxs("span",{children:[r,b<W.length-1&&o.jsx(me,{children:Y})]},b))})]}),o.jsx(ue,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),o.jsx(z,{controller:!S,children:o.jsxs(Oo,{windowSize:s,children:[o.jsxs(Do,{windowSize:s,children:[o.jsx(Re,{clientId:e,children:o.jsx(wo,{disabled:_,inProgress:ye,getSignedInUser:T,onSuccess:_e,onSignedInCallback:f,onError:Ve})}),o.jsx(xo,{clientId:g,scopes:["openid","profile","email","offline_access","User.Read"],getSignedInUser:T,prompt:"select_account",responseType:"code",responseMode:"query",render:r=>o.jsx(be,{onClick:r.onClick,disabled:_||r.disabled,type:"Microsoft",titleText:l.signIn.signInMicrosoftButton,loadingIndication:ve}),onSignedInCallback:f,onSuccess:Ze,onFailure:Fe}),u&&o.jsx(Ue,{...X,children:o.jsxs(_o,{windowSize:s,children:[o.jsx("form",{onSubmit:ze(Pe),children:o.jsxs(Vo,{windowSize:s,hasError:ee,children:[o.jsx(Zo,{windowSize:s,type:"text",placeholder:l.signIn.workEmailExample,variant:"outlined",fullWidth:!0,isValid:!ee,autoComplete:"off",...Ie("email",{required:l.signIn.invalidEmailMessage,pattern:{value:We,message:l.signIn.invalidEmailMessage},onChange:Te})}),o.jsx(Go,{variant:"primary",type:"submit",label:l.signIn.signInButton,loading:d.fetchState==="In-Progress"})]})}),Me&&o.jsx(Fo,{children:B?l.signIn.magicLinkExpired:l.signIn.invalidEmailMessage})]})})]}),P===!1&&M&&o.jsx(Ro,{children:o.jsx(To,{children:Be()})})]})})]}),o.jsx(z,{controller:s!=="small",children:o.jsx(Jo,{children:o.jsx(lo,{})})}),o.jsx(de,{style:{maxWidth:"100%",textAlign:"center",marginBottom:s==="small"?i.sp5:i.sp1},children:o.jsxs(de,{children:[o.jsxs(ce,{children:[l.signIn.termsPrivacyFinePrintPart,l.signIn.agreeWith,o.jsx(re,{href:l.signIn.termsUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.termsOfService})," ",l.signIn.and," ",o.jsx(re,{href:l.signIn.privacyPolicyUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.privacyPolicy}),"."]}),o.jsx(ce,{children:o.jsx(so,{})})]})})]}),P&&o.jsx(Co,{signInError:He,onClose:()=>{k(),F(!1)}})]})}export{ti as default};
325
+ `;function ti({googleClientId:e,microsoftClientId:g,fetchState:a,signInError:h={},showEmailLogin:u=!0,sendMagicLinkStatus:d,magicLinkExpired:x,magicLinkExpiredEmail:w,getSignedInUser:T,onSignedInCallback:f,clearSignInError:k,onOAuthSuccess:y,onOAuthError:I,sendMagicLink:E}){const s=N(),{dark:v}=Oe(),_=a==="In-Progress",M=a==="Error",[V,m]=t.useState(void 0),[p,Z]=t.useState(""),[P,F]=t.useState(!1),[B,D]=t.useState(!1),ye=a==="In-Progress"&&p==="google",Ie=a==="In-Progress"&&p==="microsoft",X=Re({mode:"onSubmit",defaultValues:{email:""}}),{register:ve,handleSubmit:ze,formState:{errors:Q},setValue:K,watch:Le,clearErrors:Ee}=X,Y=Le("email"),Me=!!Q.email||B,ee=!!Q.email;t.useEffect(()=>{x===!0&&w!=null&&w.trim()!==""&&(K("email",w),D(!0))},[x,w,K]);const Pe=r=>{D(!1),r.email.trim()&&E(r.email)},Te=()=>{D(!1),Ee("email")},U=d.fetchState==="Error"&&d.error?.error?.type==="email_not_found",oe=M&&h.type==="email_not_found";t.useEffect(()=>{(oe||U)&&F(!0)},[U,oe]);const _e=r=>{console.log(JSON.stringify(r)),m(void 0),y(r.code,"google"),Z("google")},Ve=r=>{const b="Error = "+r?.error+" Error Description = "+r?.error_description;m(b),I?.(JSON.stringify(r),"google")},Ze=r=>{console.log(JSON.stringify(r)),m(void 0),y(r.code,"microsoft"),Z("microsoft")},Fe=r=>{console.log(JSON.stringify(r)),m(r.error??"Microsoft authorization failed."),I?.(JSON.stringify(r),"microsoft")},Be=()=>{let r="";return(M||V!=null)&&P===!1&&(r=V??l.signIn.signInAuthError),r},ie=d.fetchState==="Completed"?l.signIn.confirmationLinkSent:l.signIn.heading,ne=l.signIn.message,S=d.fetchState==="Completed",He=U&&d.error?.error?d.error.error:h;return o.jsxs(Mo,{windowSize:s,children:[o.jsxs(Po,{children:[o.jsxs(Wo,{children:[o.jsx(Uo,{windowSize:s,children:o.jsx(Ao,{className:"zeni-logo"})}),o.jsxs(we,{isMagicLinkSent:S,windowSize:s,style:{display:s==="small"?"flex":"none"},children:[o.jsx(le,{windowSize:s,children:ie}),o.jsx(z,{controller:!S,children:o.jsx(ae,{windowSize:s,children:ne})}),o.jsx(z,{controller:S,children:o.jsxs(ge,{children:[o.jsx(pe,{isDarkTheme:v,children:o.jsx(he,{isDarkTheme:v,children:C.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((r,b,A)=>o.jsxs("span",{children:[r,b<A.length-1&&o.jsx(me,{children:Y})]},b))})}),o.jsx(ue,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),o.jsxs(we,{isMagicLinkSent:S,windowSize:s,style:{display:s==="small"?"none":"flex"},children:[o.jsx(le,{windowSize:s,children:ie}),o.jsx(z,{controller:!S,children:o.jsx(ae,{windowSize:s,children:ne})}),o.jsx(z,{controller:S,children:o.jsxs(ge,{children:[o.jsxs(pe,{isDarkTheme:v,children:[o.jsx(Ho,{children:o.jsx(Bo,{})}),o.jsx(he,{isDarkTheme:v,children:C.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((r,b,A)=>o.jsxs("span",{children:[r,b<A.length-1&&o.jsx(me,{children:Y})]},b))})]}),o.jsx(ue,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),o.jsx(z,{controller:!S,children:o.jsxs(Oo,{windowSize:s,children:[o.jsxs(Ro,{windowSize:s,children:[o.jsx(De,{clientId:e,children:o.jsx(wo,{disabled:_,inProgress:ye,getSignedInUser:T,onSuccess:_e,onSignedInCallback:f,onError:Ve})}),o.jsx(xo,{clientId:g,scopes:["openid","profile","email","offline_access","User.Read"],getSignedInUser:T,prompt:"select_account",responseType:"code",responseMode:"query",render:r=>o.jsx(be,{onClick:r.onClick,disabled:_||r.disabled,type:"Microsoft",titleText:l.signIn.signInMicrosoftButton,loadingIndication:Ie}),onSignedInCallback:f,onSuccess:Ze,onFailure:Fe}),u&&o.jsx(Ue,{...X,children:o.jsxs(_o,{windowSize:s,children:[o.jsx("form",{onSubmit:ze(Pe),children:o.jsxs(Vo,{windowSize:s,hasError:ee,children:[o.jsx(Zo,{windowSize:s,type:"text",placeholder:l.signIn.workEmailExample,variant:"outlined",fullWidth:!0,isValid:!ee,autoComplete:"off",...ve("email",{required:l.signIn.invalidEmailMessage,pattern:{value:Ae,message:l.signIn.invalidEmailMessage},onChange:Te})}),o.jsx(Go,{variant:"primary",type:"submit",label:l.signIn.signInButton,loading:d.fetchState==="In-Progress"})]})}),Me&&o.jsx(Fo,{children:B?l.signIn.magicLinkExpired:l.signIn.invalidEmailMessage})]})})]}),P===!1&&M&&o.jsx(Do,{children:o.jsx(To,{children:Be()})})]})})]}),o.jsx(z,{controller:s!=="small",children:o.jsx(Jo,{children:o.jsx(lo,{})})}),o.jsx(de,{style:{maxWidth:"100%",textAlign:"center",marginBottom:s==="small"?i.sp5:i.sp1},children:o.jsxs(de,{children:[o.jsxs(ce,{children:[l.signIn.termsPrivacyFinePrintPart,l.signIn.agreeWith,o.jsx(re,{href:l.signIn.termsUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.termsOfService})," ",l.signIn.and," ",o.jsx(re,{href:l.signIn.privacyPolicyUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.privacyPolicy}),"."]}),o.jsx(ce,{children:o.jsx(so,{})})]})})]}),P&&o.jsx(Co,{signInError:He,onClose:()=>{k(),F(!1)}})]})}export{ti as default};
@@ -1 +1 @@
1
- import{j as d}from"./mui-C5LQ0bMa.js";import{b as S,f as m}from"./vendor-CnQcJ2Lu.js";import{g as f,u as l,f as I}from"./redux-ByjIRbhZ.js";import{kh as u,u as h,l as r,M as w,kg as C,B as E,kO as v,kk as p}from"./index-CKO1Ko85.js";import{f as U}from"./analyticsHelper-D6tpOug6.js";import{a as k,u as x,N as y}from"./routing-Cpaypegg.js";import{c as L}from"./sentry-HDxG13yk.js";import"./analytics-DThoELaW.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";function T(o){const a=o.tenantState.fetchState,i=o.tenantState.sendEmailMagicLinkFetchState;return{googleClientId:p.googleClientId,microsoftClientId:p.microsoftClientId,signInError:o.tenantState.error?.error,fetchState:a,sendMagicLinkStatus:i,showEmailLogin:!1}}function P(o,a){const{location:i,navigate:s}=a;return console.warn(JSON.stringify(window.location)),{onOAuthError:(t,e)=>{L({message:`OAuth error from provider ${e} with error ${t}`,level:"error",tags:{authProvider:e,errorType:"zeni.login.error"},extra:{error:t,windowLocation:window.location.href}})},onOAuthSuccess:(t,e)=>{const g=e==="google"?window.location.origin:window.location.origin+window.location.pathname;o(r.doSignIn({authCode:t,oauthProvider:e,appType:"web",redirectUri:r.toZeniUrl(g),sourceUri:r.toZeniUrl(i.state!=null?i.state.origin:"")}))},getSignedInUser:()=>u.getSignedInUser(),onSignedInCallback:()=>{const t=i.state?.origin;t&&t!=="/"?s(t,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{o(r.resetSignInState())}}}const z=I(T,P)(v),A=m.memo(z);function F(){const o=f(),a=k(),i=u.getSignedInUser(),s=l(n=>n.tenantState.fetchState),t=l(n=>n.tenantState.signInState),e=l(n=>n.tenantState.loggedInUser),g=h().mode,c=x();if(S.useEffect(()=>{if(t==="In-Progress"&&s==="Completed"&&e?.zeniSessionId!=null){u.saveSignedInUserWithSession(e,e.zeniSessionId),r.updateZeniAPIClientConfig(e.userId,e.zeniSessionId),o(r.updateSignInState("Completed")),w.updateAppLocaleID("en"),U(e,g);const n=c.state?.queryParams;setTimeout(()=>{C.trackLogin(E.Event.loginSuccess,e.authProvider??"google",n?.utmSource,n?.utmMedium)},2e3)}},[]),t==="In-Progress"&&s==="Completed"&&e?.zeniSessionId!=null||i!=null){const n=c.state?.origin??"/";return d.jsx(y,{to:n,state:{...c.state,origin:""}})}else return d.jsx(A,{navigate:a,location:c})}export{F as default};
1
+ import{j as d}from"./mui-C5LQ0bMa.js";import{b as S,f as m}from"./vendor-CnQcJ2Lu.js";import{g as f,u as l,f as I}from"./redux-ByjIRbhZ.js";import{ke as u,u as h,l as r,M as w,kd as C,D as E,kL as v,kh as p}from"./index-ji6aa7AC.js";import{f as U}from"./analyticsHelper-DsBQxHgn.js";import{a as x,u as y,N as L}from"./routing-Cpaypegg.js";import{c as k}from"./sentry-HDxG13yk.js";import"./analytics-CBL_L82S.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";function T(o){const a=o.tenantState.fetchState,i=o.tenantState.sendEmailMagicLinkFetchState;return{googleClientId:p.googleClientId,microsoftClientId:p.microsoftClientId,signInError:o.tenantState.error?.error,fetchState:a,sendMagicLinkStatus:i,showEmailLogin:!1}}function P(o,a){const{location:i,navigate:s}=a;return console.warn(JSON.stringify(window.location)),{onOAuthError:(t,e)=>{k({message:`OAuth error from provider ${e} with error ${t}`,level:"error",tags:{authProvider:e,errorType:"zeni.login.error"},extra:{error:t,windowLocation:window.location.href}})},onOAuthSuccess:(t,e)=>{const g=e==="google"?window.location.origin:window.location.origin+window.location.pathname;o(r.doSignIn({authCode:t,oauthProvider:e,appType:"web",redirectUri:r.toZeniUrl(g),sourceUri:r.toZeniUrl(i.state!=null?i.state.origin:"")}))},getSignedInUser:()=>u.getSignedInUser(),onSignedInCallback:()=>{const t=i.state?.origin;t&&t!=="/"?s(t,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{o(r.resetSignInState())}}}const z=I(T,P)(v),A=m.memo(z);function B(){const o=f(),a=x(),i=u.getSignedInUser(),s=l(n=>n.tenantState.fetchState),t=l(n=>n.tenantState.signInState),e=l(n=>n.tenantState.loggedInUser),g=h().mode,c=y();if(S.useEffect(()=>{if(t==="In-Progress"&&s==="Completed"&&e?.zeniSessionId!=null){u.saveSignedInUserWithSession(e,e.zeniSessionId),r.updateZeniAPIClientConfig(e.userId,e.zeniSessionId),o(r.updateSignInState("Completed")),w.updateAppLocaleID("en"),U(e,g);const n=c.state?.queryParams;setTimeout(()=>{C.trackLogin(E.Event.loginSuccess,e.authProvider??"google",n?.utmSource,n?.utmMedium)},2e3)}},[]),t==="In-Progress"&&s==="Completed"&&e?.zeniSessionId!=null||i!=null){const n=c.state?.origin??"/";return d.jsx(L,{to:n,state:{...c.state,origin:""}})}else return d.jsx(A,{navigate:a,location:c})}export{B as default};
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-D-4W-Ru9-Bl38LM1S.js","assets/index-CKO1Ko85.js","assets/mui-C5LQ0bMa.js","assets/vendor-CnQcJ2Lu.js","assets/analytics-DThoELaW.js","assets/routing-Cpaypegg.js","assets/sentry-HDxG13yk.js","assets/redux-ByjIRbhZ.js","assets/liveblocks-sSQ9JElv.js","assets/crypto-BURQLTgV.js","assets/index-BAKoUD4u.css","assets/useLongPress-GCK2COYQ-gxLtL5O4.js","assets/StatusSwitcher-DGOwA8qO-CCwch543.js"])))=>i.map(i=>d[i]);
2
- import{u as Ue,V as He,X as z,l as y,M as U,fK as Ve,fM as Ge,j as o,g4 as We,aW as qe,r as Ye,o as t,dw as Je,gj as M,cZ as Ke,fV as Xe,C,gk as Ze,fe as Qe,ff as et,g as S,p as tt,q as x,gl as ot,a6 as at,eY as it,t as nt,ah as st,fg as lt,ee as rt,m as ct}from"./index-CKO1Ko85.js";import{b as u,n as r,k as H}from"./vendor-CnQcJ2Lu.js";import{_ as dt}from"./liveblocks-sSQ9JElv.js";import{Y as mt}from"./SpendManagementSection-B7pMvj7Z-nyvHm07T.js";import{K as ut}from"./StatusSwitcher-DGOwA8qO-CCwch543.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./crypto-BURQLTgV.js";const F=e=>u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},u.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),f={width:new C(343,545,545),containerTop:new C(17,25,25),containerPaddingLeftRight:new C(x[4],x[7])},pt=r.div`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-ByXU-omE-DWwC2JuF.js","assets/index-ji6aa7AC.js","assets/mui-C5LQ0bMa.js","assets/vendor-CnQcJ2Lu.js","assets/analytics-CBL_L82S.js","assets/routing-Cpaypegg.js","assets/sentry-HDxG13yk.js","assets/redux-ByjIRbhZ.js","assets/liveblocks-sSQ9JElv.js","assets/crypto-BURQLTgV.js","assets/index-BAKoUD4u.css","assets/useLongPress-GCK2COYQ-gxLtL5O4.js","assets/StatusSwitcher-39NGxygM-8g3Kr8Ie.js"])))=>i.map(i=>d[i]);
2
+ import{u as Ue,t as Ge,X as z,l as y,M as U,fI as He,fK as We,j as o,g2 as qe,aW as Ke,v as Ve,o as t,dv as Ye,gh as M,aA as Je,fT as Xe,C,gi as Ze,fc as Qe,fd as et,g as S,m as tt,n as x,gj as ot,a2 as at,eW as it,q as nt,bG as st,fe as lt,ax as rt,f as ct}from"./index-ji6aa7AC.js";import{b as u,n as r,k as G}from"./vendor-CnQcJ2Lu.js";import{_ as dt}from"./liveblocks-sSQ9JElv.js";import{Y as mt}from"./SpendManagementSection-CAewVL0Z-GsJe1fhq.js";import{K as ut}from"./StatusSwitcher-39NGxygM-8g3Kr8Ie.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./crypto-BURQLTgV.js";const F=e=>u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},u.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),w={width:new C(343,545,545),containerTop:new C(17,25,25),containerPaddingLeftRight:new C(x[4],x[7])},pt=r.div`
3
3
  position: fixed;
4
4
  top: 0;
5
5
  left: 0;
@@ -13,16 +13,16 @@ import{u as Ue,V as He,X as z,l as y,M as U,fK as Ve,fM as Ge,j as o,g4 as We,aW
13
13
  .fade {
14
14
  animation: ${e=>bt(e)} 0.25s linear;
15
15
  }
16
- `,ht=({windowSize:e})=>H`
16
+ `,ht=({windowSize:e})=>G`
17
17
  0% {
18
18
  top: 100%;
19
19
  }
20
20
  100% {
21
- top: ${f.containerTop.valuePercentage(e)};
21
+ top: ${w.containerTop.valuePercentage(e)};
22
22
  }
23
- `,bt=({windowSize:e})=>H`
23
+ `,bt=({windowSize:e})=>G`
24
24
  0% {
25
- top: ${f.containerTop.valuePercentage(e)};
25
+ top: ${w.containerTop.valuePercentage(e)};
26
26
  }
27
27
  100% {
28
28
  top: 100%;
@@ -36,16 +36,16 @@ import{u as Ue,V as He,X as z,l as y,M as U,fK as Ve,fM as Ge,j as o,g4 as We,aW
36
36
  background: ${e=>e.theme.colors.grey5};
37
37
  border-radius: ${t.sp2};
38
38
  position: relative;
39
- top: ${e=>e.fade?"100%":f.containerTop.valuePercentage(e.windowSize)};
40
- padding: ${e=>`${t.sp7} ${f.containerPaddingLeftRight.valuePx(e.windowSize)}`};
41
- width: ${e=>f.width.valuePx(e.windowSize)};
39
+ top: ${e=>e.fade?"100%":w.containerTop.valuePercentage(e.windowSize)};
40
+ padding: ${e=>`${t.sp7} ${w.containerPaddingLeftRight.valuePx(e.windowSize)}`};
41
+ width: ${e=>w.width.valuePx(e.windowSize)};
42
42
  animation: ${e=>ht(e)} 0.25s linear;
43
43
  box-shadow: ${S.Elevation2Dark};
44
44
  `,gt=r(it)`
45
45
  margin-bottom: ${t.sp5};
46
46
  color: ${e=>e.theme.colors.primary};
47
47
  word-break: break-word;
48
- `,wt=r.div`
48
+ `,ft=r.div`
49
49
  margin-right: ${t.sp3};
50
50
  height: ${t.sp7};
51
51
  width: ${t.sp7};
@@ -54,7 +54,7 @@ import{u as Ue,V as He,X as z,l as y,M as U,fK as Ve,fM as Ge,j as o,g4 as We,aW
54
54
  display: flex;
55
55
  align-items: center;
56
56
  justify-content: center;
57
- `,ft=r(nt)`
57
+ `,wt=r(nt)`
58
58
  width: calc(100% - ${t.sp7});
59
59
  color: ${e=>e.theme.colors.primary};
60
60
  text-align: start;
@@ -106,7 +106,7 @@ import{u as Ue,V as He,X as z,l as y,M as U,fK as Ve,fM as Ge,j as o,g4 as We,aW
106
106
  color: ${e=>e.theme.colors.primary};
107
107
  position: absolute;
108
108
  bottom: 22px;
109
- `,N=U.getLocalizedStrings().common.copyToClipBoard;function Et(e){const p=z(),[,h]=Qe(),[c,d]=u.useState(!0),[i,a]=u.useState(!1),[s,n]=u.useState(!1),{isMobileOrTabletScreen:g}=et(),T=()=>{if(c){const w=e.botEmail;h(w),d(!1)}},v=()=>{a(!0)},k=()=>{a(!1)};return u.useEffect(()=>{c===!1&&setTimeout(()=>{d(!0)},2e3)},[c]),o.jsx(pt,{windowSize:p,role:"presentation",style:{background:S.overlayDark,...e.style},children:o.jsx(tt,{onClickAway:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:o.jsxs(yt,{windowSize:p,className:s?"fade":"",fade:s,children:[o.jsx(It,{onClick:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),o.jsx(gt,{children:e.title}),o.jsx($t,{children:e.descriptionLines.map((w,l)=>o.jsxs(Ct,{children:[o.jsx(wt,{children:w.icon}),o.jsx(ft,{windowSize:p,children:w.text})]},l))}),o.jsxs(xt,{onClick:T,onMouseOver:v,onMouseLeave:k,showCopyIcon:c,showCopyText:i,children:[o.jsx(vt,{showCopyText:i,children:e.botEmail}),c?o.jsx(Tt,{windowSize:p,showCopyText:i&&!g,children:o.jsx(St,{})}):o.jsx(kt,{})]}),o.jsx(Bt,{children:c?i&&!g?N.copy:null:N.copied})]})})})}const V=U.getLocalizedStrings(),m=V.spendManagement,{common:{texts:{comments:At}},collaboration:{threads:{placeholder:{addANewComment:Lt,replyAComment:jt},tooltip:{resolveComment:Rt,unResolveComment:Pt}}}}=V,Ot={drawerSectionPaddingLeftRight:new C(x[4],x[5])},_t=Ze(()=>ot(()=>import("./SpendManagementPerTabPage-D-4W-Ru9-Bl38LM1S.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]))),Zt=e=>{const p=Ue(),h=He(),c=z(),{transactionList:d,allSubTabs:i,isAdmin:a,botEmail:s,isEmployee:n=!1,currentTab:g,currentSubTab:T,approvalCount:v,fetchState:k,analytics:w,entity:l,uiState:G,searchText:B,filters:W,vendorSearchAutoCompleteData:q,vendorSearchAutoCompleteActions:Y,createdByUserList:J,createdByUserListFetchState:E,downloadParams:K,downloadState:X,isDownloadEnabled:Z,isShowDeletedBillsEnabled:Q,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:A,isReimbursementCommentingEnabled:L,isDetectInsufficientFundsEnabled:te=!1,updateTabToState:oe,onSubtabChange:j,onReloadTransactions:ae,onTransactionClick:R,onClickSetupIcon:P,onBackClick:ie,onAddTransactionClick:ne,onColumnSortConfigChanged:se,onSearchTextChanged:le,onClickMenuIcon:re,onFiltersChange:ce,updateDownloadStateHandler:de,bulkSubmissionLimit:me=10,isBulkActionAllowed:ue=!1,isRecurringBillInBulkActionList:pe=!1,transactionsSelectedForBulkAction:he=[],allowedBulkActions:be=[],bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:we,onProceedForBulkActionClick:fe}=e,Ce=["draft","pending_approval","scheduled","paid"],xe=b=>{R(b,g)},Se=o.jsx(_t,{botEmail:s,transactionList:d,allSubTabs:i,isAdmin:a,selectedTab:g,selectedSubTab:T,fetchState:k,onSubtabChange:j,onTransactionRowClick:xe,onReloadTransactions:ae,onColumnSortConfigChanged:se,analytics:w,entity:l,uiState:G,searchText:B,isShowDeletedBillsEnabled:Q,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:A,isReimbursementCommentingEnabled:L,bulkSubmissionLimit:me,isBulkActionAllowed:ue,isRecurringBillInBulkActionList:pe,transactionsSelectedForBulkAction:he,isDetectInsufficientFundsEnabled:te,allowedBulkActions:be,bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:we,onProceedForBulkActionClick:fe}),Te=b=>{oe(b),j("all")},ve=y.hasOnlyBillPayAccess(h.loggedInUserRoleMap),[O,ke]=u.useState(!1),[Ie,_]=u.useState(!1),$e=b=>{ke(b)},Be=l==="bill_pay"?y.hasBillPayAdminLevelAccess(h.loggedInUserRoleMap):y.hasReimbursementAdminLevelAccess(h.loggedInUserRoleMap),Ee={entity:l,showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!0,newButtonLabel:"New",isSearchOpen:O,searchPlaceHolder:l==="bill_pay"?m.billPay.billsByTabs.searchPlaceHolder:m.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:B,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:Be,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:Z===!1,downloadParams:K,downloadState:X,filters:W,vendorSearchAutoCompleteData:q,vendorSearchAutoCompleteActions:Y,createdByUserListLoaded:l==="bill_pay"||y.hideCreatedByFilter(h.loggedInUserRole??[])?!0:E==="Completed"||E==="Error",analytics:w,onNewButtonClick:ne,onSearchOpen:$e,onSearchTextChanged:le,onClickSetupIcon:P,onClickEmailInfoIcon:()=>_(!0),onFiltersChange:ce,getFilterOptions:l==="bill_pay"||l==="reimbursement"?()=>Dt(l,J??[],h.loggedInUserRole??[],[]):void 0,updateDownloadStateHandler:de},Ae=o.jsx(mt,{spendManagementSectionProps:Ee}),[Le,je]=u.useState(null),[Re,I]=u.useState(!1),{setRequestToOpenThread:Pe}=u.useContext(Ve),Oe=`dashboard_${h.currentTenant?.companyId}`,D=l==="bill_pay"?"bill":"reimbursement",{threads:_e}=Ge({application:"dashboard",companyId:h.currentTenant?.companyId,tab:D,entityId:Le?.entityId,isGlobalComment:!1},"both",!1),De={openAllThreadsDrawer:b=>{je({...b}),I(!0)}},Me=(b,$)=>{const{companyId:Fe,entityId:Ne,entityType:ze}=b;I(!1),Pe({threadId:$,companyId:Fe,entityType:ze}),R(Ne,g)};return o.jsx(We,{sharedItems:{sharedFunctions:{subtreeFunctions:De},sharedRef:void 0},children:o.jsxs(Mt,{children:[o.jsx(qe,{source:"SpendManagementListViewPage",title:l==="bill_pay"?m.billPay.billsByTabs.pageTitle:m.reimbursement.reimbursementByTabs.pageTitle,showBackButton:!n&&!ve,showMenuIcon:c==="medium-compact"||c==="small",backgroundColor:p.colors.grey4,style:{zIndex:3,...Ye.largeSemiBold.cssObject},onBackClick:ie,rightSideComponent:Ae,onClickMenuIcon:re,isSearchOpen:O}),o.jsxs(Ft,{children:[o.jsx(Nt,{children:o.jsx(ut,{tabIds:Ce,approvalCount:v,selectedTab:g,entity:l,onTabSelectedChange:Te,onClickSetupIcon:P})}),Se]}),Ie?o.jsx(Et,{botEmail:s,onCancelClick:()=>_(!1),title:l==="bill_pay"?m.billPay.billsByTabs.emailInfoTitle:m.reimbursement.reimbursementByTabs.emailInfoTitle,descriptionLines:l==="bill_pay"?[{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription1},{icon:o.jsx(Je,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription2},{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription3}]:[{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription1},{icon:o.jsx(Ke,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription2},{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription3}]}):null,l==="bill_pay"&&A||l==="reimbursement"&&L?o.jsx(dt,{id:Oe,children:o.jsx(Xe,{isDrawerOpen:Re,allowComposer:!1,drawerTitle:At,threads:_e,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:h.currentTenant?.companyId,isGlobalComment:!1,tab:D},isLoading:!1,textOverrides:{composerPlaceholder:Lt,replyComposerPlaceholder:jt,threadResolve:Rt,threadUnResolve:Pt},onThreadClick:(b,$)=>Me(b,$),onCloseAllThreadsDrawer:()=>I(!1),drawerSectionStyle:{width:c==="small"?"100%":"400px",boxSizing:c==="small"?"border-box":"content-box",padding:`${t.sp0} ${Ot.drawerSectionPaddingLeftRight.valuePx(c)}`,backgroundColor:p.colors.background},collapsibleThreadStyle:{width:c==="small"?"100%":"360px"}})}):null]})})},Dt=(e,p,h,c)=>{const d=m.filters.filterOptions;return e==="bill_pay"?y.BILL_PAY_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"amount":return{...i,[a.value]:d.billAmountOptions};case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:[...d.commonStatusOptions,...d.billStatusOptions]};case"paymentType":return{...i,[a.value]:d.billPaymentTypeOptions};default:return{...i,[a.value]:[]}}},{}):e==="reimbursement"?(y.hideCreatedByFilter(h)?y.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED:y.REIMBURSEMENT_FILTER_CATEGORIES).reduce((i,a)=>{switch(a.value){case"createdBy":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:d.commonStatusOptions};case"amount":return{...i,[a.value]:d.reimbursementAmountOptions};default:return{...i,[a.value]:[]}}},{}):y.TASK_LIST_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"assignee":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"status":return{...i,[a.value]:[...y.allTaskStatus.map(s=>({label:s.name,value:s.code}))]};case"priority":return{...i,[a.value]:[...y.allTaskPriority.map(s=>({label:s.name,value:s.code}))]};case"tag":return{...i,[a.value]:[...c.map(s=>({label:s.name,value:s.tagId}))]};default:return{...i,[a.value]:[]}}},{})},Mt=r.div`
109
+ `,N=U.getLocalizedStrings().common.copyToClipBoard;function Et(e){const p=z(),[,h]=Qe(),[c,d]=u.useState(!0),[i,a]=u.useState(!1),[s,n]=u.useState(!1),{isMobileOrTabletScreen:g}=et(),T=()=>{if(c){const f=e.botEmail;h(f),d(!1)}},v=()=>{a(!0)},k=()=>{a(!1)};return u.useEffect(()=>{c===!1&&setTimeout(()=>{d(!0)},2e3)},[c]),o.jsx(pt,{windowSize:p,role:"presentation",style:{background:S.overlayDark,...e.style},children:o.jsx(tt,{onClickAway:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:o.jsxs(yt,{windowSize:p,className:s?"fade":"",fade:s,children:[o.jsx(It,{onClick:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),o.jsx(gt,{children:e.title}),o.jsx($t,{children:e.descriptionLines.map((f,l)=>o.jsxs(Ct,{children:[o.jsx(ft,{children:f.icon}),o.jsx(wt,{windowSize:p,children:f.text})]},l))}),o.jsxs(xt,{onClick:T,onMouseOver:v,onMouseLeave:k,showCopyIcon:c,showCopyText:i,children:[o.jsx(vt,{showCopyText:i,children:e.botEmail}),c?o.jsx(Tt,{windowSize:p,showCopyText:i&&!g,children:o.jsx(St,{})}):o.jsx(kt,{})]}),o.jsx(Bt,{children:c?i&&!g?N.copy:null:N.copied})]})})})}const H=U.getLocalizedStrings(),m=H.spendManagement,{common:{texts:{comments:At}},collaboration:{threads:{placeholder:{addANewComment:Lt,replyAComment:jt},tooltip:{resolveComment:Rt,unResolveComment:Pt}}}}=H,Ot={drawerSectionPaddingLeftRight:new C(x[4],x[5])},_t=Ze(()=>ot(()=>import("./SpendManagementPerTabPage-ByXU-omE-DWwC2JuF.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]))),Zt=e=>{const p=Ue(),h=Ge(),c=z(),{transactionList:d,allSubTabs:i,isAdmin:a,botEmail:s,isEmployee:n=!1,currentTab:g,currentSubTab:T,approvalCount:v,fetchState:k,analytics:f,entity:l,uiState:W,searchText:B,filters:q,vendorSearchAutoCompleteData:K,vendorSearchAutoCompleteActions:V,createdByUserList:Y,createdByUserListFetchState:E,downloadParams:J,downloadState:X,isDownloadEnabled:Z,isShowDeletedBillsEnabled:Q,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:A,isReimbursementCommentingEnabled:L,isDetectInsufficientFundsEnabled:te=!1,updateTabToState:oe,onSubtabChange:j,onReloadTransactions:ae,onTransactionClick:R,onClickSetupIcon:P,onBackClick:ie,onAddTransactionClick:ne,onColumnSortConfigChanged:se,onSearchTextChanged:le,onClickMenuIcon:re,onFiltersChange:ce,updateDownloadStateHandler:de,bulkSubmissionLimit:me=10,isBulkActionAllowed:ue=!1,isRecurringBillInBulkActionList:pe=!1,transactionsSelectedForBulkAction:he=[],allowedBulkActions:be=[],bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:fe,onProceedForBulkActionClick:we}=e,Ce=["draft","pending_approval","scheduled","paid"],xe=b=>{R(b,g)},Se=o.jsx(_t,{botEmail:s,transactionList:d,allSubTabs:i,isAdmin:a,selectedTab:g,selectedSubTab:T,fetchState:k,onSubtabChange:j,onTransactionRowClick:xe,onReloadTransactions:ae,onColumnSortConfigChanged:se,analytics:f,entity:l,uiState:W,searchText:B,isShowDeletedBillsEnabled:Q,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:A,isReimbursementCommentingEnabled:L,bulkSubmissionLimit:me,isBulkActionAllowed:ue,isRecurringBillInBulkActionList:pe,transactionsSelectedForBulkAction:he,isDetectInsufficientFundsEnabled:te,allowedBulkActions:be,bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:fe,onProceedForBulkActionClick:we}),Te=b=>{oe(b),j("all")},ve=y.hasOnlyBillPayAccess(h.loggedInUserRoleMap),[O,ke]=u.useState(!1),[Ie,_]=u.useState(!1),$e=b=>{ke(b)},Be=l==="bill_pay"?y.hasBillPayAdminLevelAccess(h.loggedInUserRoleMap):y.hasReimbursementAdminLevelAccess(h.loggedInUserRoleMap),Ee={entity:l,showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!0,newButtonLabel:"New",isSearchOpen:O,searchPlaceHolder:l==="bill_pay"?m.billPay.billsByTabs.searchPlaceHolder:m.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:B,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:Be,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:Z===!1,downloadParams:J,downloadState:X,filters:q,vendorSearchAutoCompleteData:K,vendorSearchAutoCompleteActions:V,createdByUserListLoaded:l==="bill_pay"||y.hideCreatedByFilter(h.loggedInUserRole??[])?!0:E==="Completed"||E==="Error",analytics:f,onNewButtonClick:ne,onSearchOpen:$e,onSearchTextChanged:le,onClickSetupIcon:P,onClickEmailInfoIcon:()=>_(!0),onFiltersChange:ce,getFilterOptions:l==="bill_pay"||l==="reimbursement"?()=>Dt(l,Y??[],h.loggedInUserRole??[],[]):void 0,updateDownloadStateHandler:de},Ae=o.jsx(mt,{spendManagementSectionProps:Ee}),[Le,je]=u.useState(null),[Re,I]=u.useState(!1),{setRequestToOpenThread:Pe}=u.useContext(He),Oe=`dashboard_${h.currentTenant?.companyId}`,D=l==="bill_pay"?"bill":"reimbursement",{threads:_e}=We({application:"dashboard",companyId:h.currentTenant?.companyId,tab:D,entityId:Le?.entityId,isGlobalComment:!1},"both",!1),De={openAllThreadsDrawer:b=>{je({...b}),I(!0)}},Me=(b,$)=>{const{companyId:Fe,entityId:Ne,entityType:ze}=b;I(!1),Pe({threadId:$,companyId:Fe,entityType:ze}),R(Ne,g)};return o.jsx(qe,{sharedItems:{sharedFunctions:{subtreeFunctions:De},sharedRef:void 0},children:o.jsxs(Mt,{children:[o.jsx(Ke,{source:"SpendManagementListViewPage",title:l==="bill_pay"?m.billPay.billsByTabs.pageTitle:m.reimbursement.reimbursementByTabs.pageTitle,showBackButton:!n&&!ve,showMenuIcon:c==="medium-compact"||c==="small",backgroundColor:p.colors.grey4,style:{zIndex:3,...Ve.largeSemiBold.cssObject},onBackClick:ie,rightSideComponent:Ae,onClickMenuIcon:re,isSearchOpen:O}),o.jsxs(Ft,{children:[o.jsx(Nt,{children:o.jsx(ut,{tabIds:Ce,approvalCount:v,selectedTab:g,entity:l,onTabSelectedChange:Te,onClickSetupIcon:P})}),Se]}),Ie?o.jsx(Et,{botEmail:s,onCancelClick:()=>_(!1),title:l==="bill_pay"?m.billPay.billsByTabs.emailInfoTitle:m.reimbursement.reimbursementByTabs.emailInfoTitle,descriptionLines:l==="bill_pay"?[{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription1},{icon:o.jsx(Ye,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription2},{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription3}]:[{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription1},{icon:o.jsx(Je,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription2},{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription3}]}):null,l==="bill_pay"&&A||l==="reimbursement"&&L?o.jsx(dt,{id:Oe,children:o.jsx(Xe,{isDrawerOpen:Re,allowComposer:!1,drawerTitle:At,threads:_e,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:h.currentTenant?.companyId,isGlobalComment:!1,tab:D},isLoading:!1,textOverrides:{composerPlaceholder:Lt,replyComposerPlaceholder:jt,threadResolve:Rt,threadUnResolve:Pt},onThreadClick:(b,$)=>Me(b,$),onCloseAllThreadsDrawer:()=>I(!1),drawerSectionStyle:{width:c==="small"?"100%":"400px",boxSizing:c==="small"?"border-box":"content-box",padding:`${t.sp0} ${Ot.drawerSectionPaddingLeftRight.valuePx(c)}`,backgroundColor:p.colors.background},collapsibleThreadStyle:{width:c==="small"?"100%":"360px"}})}):null]})})},Dt=(e,p,h,c)=>{const d=m.filters.filterOptions;return e==="bill_pay"?y.BILL_PAY_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"amount":return{...i,[a.value]:d.billAmountOptions};case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:[...d.commonStatusOptions,...d.billStatusOptions]};case"paymentType":return{...i,[a.value]:d.billPaymentTypeOptions};default:return{...i,[a.value]:[]}}},{}):e==="reimbursement"?(y.hideCreatedByFilter(h)?y.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED:y.REIMBURSEMENT_FILTER_CATEGORIES).reduce((i,a)=>{switch(a.value){case"createdBy":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:d.commonStatusOptions};case"amount":return{...i,[a.value]:d.reimbursementAmountOptions};default:return{...i,[a.value]:[]}}},{}):y.TASK_LIST_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"assignee":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"status":return{...i,[a.value]:[...y.allTaskStatus.map(s=>({label:s.name,value:s.code}))]};case"priority":return{...i,[a.value]:[...y.allTaskPriority.map(s=>({label:s.name,value:s.code}))]};case"tag":return{...i,[a.value]:[...c.map(s=>({label:s.name,value:s.tagId}))]};default:return{...i,[a.value]:[]}}},{})},Mt=r.div`
110
110
  display: flex;
111
111
  min-height: 100%;
112
112
  flex-direction: column;