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

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-epHr8z2g.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-CEGqk2vj-DPbJQcO4.js → AIPerformancePage-DWLZz5fl-Dm7QRJj4.js} +23 -23
  3. package/dist/assets/{AccountInfoPage-Dsi_xY1U-57CoJCvB.js → AccountInfoPage-CHH8xpX7-BHYJnROD.js} +5 -5
  4. package/dist/assets/AccountInfoPageContent-CslCCxyA-D2tLaaG2.js +149 -0
  5. package/dist/assets/{AccountReconDetailsDrawerPage-Bwc-VZmp-9tNR08JA.js → AccountReconDetailsDrawerPage-Bg65723V-D_ZML_kQ.js} +15 -15
  6. package/dist/assets/{AccountRow-DMeCdEPJ-BTasbb-7.js → AccountRow-CBhTc-CO-BjcmviyZ.js} +24 -24
  7. package/dist/assets/{AccountsPromoCardStack-NYQHh0uE-KwuGDIiT.js → AccountsPromoCardStack-C1FN6ldb-CN7XbnjJ.js} +28 -28
  8. package/dist/assets/{AddAddressForCardDrawer-3WPrDfNL-fOwdSnNu.js → AddAddressForCardDrawer-DKbwVrFG-C30N_SSc.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-IjvBXyuu-KvZO3w5z.js → AddToWalletPage-BLH7hMIs-w5hZoUjL.js} +11 -11
  10. package/dist/assets/{AgingReportsPage-CIJTKbrN-Brsc1odM.js → AgingReportsPage-iXp5N9xa-C2HbeoRB.js} +6 -6
  11. package/dist/assets/{AllUserItems-BuX43aPo-DioQ0mzE.js → AllUserItems-SiwAGR6X-DyfdiVWI.js} +12 -12
  12. package/dist/assets/{ApAgingDetailPage-02ejdrQy-BvI-rm07.js → ApAgingDetailPage-CSv-Yx3u-_eGctaGZ.js} +3 -3
  13. package/dist/assets/{AppBasePage-CC3bbnnu-DsRrQjex.js → AppBasePage-BVhJh2iM-CsZKSSoU.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-B_EAPC9w-Dvsq28k3.js → AppDrawerContent-TBHNokFo-HdMO-5cD.js} +5 -5
  15. package/dist/assets/ApprovalRulesSettingsPage-DmPsbDZd-DJttXulK.js +47 -0
  16. package/dist/assets/ArAgingChart-CPyAljB5-CLy2h2n0.js +24 -0
  17. package/dist/assets/{ArAgingDetailPage-CMUpR-2N-BRTN7gMO.js → ArAgingDetailPage-BLc5FDm2-Be-OlsGd.js} +1 -1
  18. package/dist/assets/{AttachmentView-sbbFtu9R-Izzia16X.js → AttachmentView-sMKTopf8-BrSABus_.js} +5 -5
  19. package/dist/assets/{BankAccountSection-BJPkV-qV-CzS6kxRW.js → BankAccountSection-DoGfRREZ-C_O3HwHq.js} +2 -2
  20. package/dist/assets/{BankAccountWarningSection-D9R1VhzE-V6Y4aUEl.js → BankAccountWarningSection-BhSSRCzK-cqdLPfFO.js} +8 -8
  21. package/dist/assets/BankConnectionsSettingsPage-DIKMwQoQ-mwbG1_6c.js +425 -0
  22. package/dist/assets/{BillDetailPage-C_JDjRL0-B8Sa9pQS.js → BillDetailPage-DSYeib0o-B-SbZjhQ.js} +8 -8
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-B_XMuvzZ-gu71vbc9.js → BillPayApprovalRuleDetailPage-DDFr9CL_-1JlYMwAi.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-CyZjNIsQ-DKZ0FGH6.js → BillPayApprovalRulesPage-3Yak-MB--abeek7Sw.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-ByDsqYfw-iMNoM9Kg.js → BillPayPromoPage-nRvSJMZU-Rhcrtpcf.js} +2 -2
  26. package/dist/assets/{BillPaySetUpPage-yTO-xwRJ-DiUozoOu.js → BillPaySetUpPage-BWrp4v6b-CihMrJIy.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-BIAy1QHr-C5IDBl0Y.js → BillingSettingsPage-DtBZmdxq-Cy48ODMg.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-Cw1XCs0q-C5g5voDh.js → BillsBulkReviewDrawerPage-DCz41OgH-i28Lv2An.js} +1 -1
  29. package/dist/assets/{BoxItem-UCX7eqiN-CxXWJqhl.js → BoxItem-DBi8kqn3-D5LjrUcM.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-CSsout2C-zWzxb-1t.js → BusinessVerificationPage-BfPqcCH3-BqsIOqpP.js} +9 -9
  31. package/dist/assets/{CardNumberSubText-DuTv0ip1-BnZjxVHu.js → CardNumberSubText-CkmaTF_l-DvsnqpP8.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-KdHf-_ZF-DZ-5eozY.js → CashbackDetailPage-BlcEXdet-GeQCDP8V.js} +19 -19
  33. package/dist/assets/ChargeCardDetailPage-BARovLsv-LaoQ2YQy.js +1447 -0
  34. package/dist/assets/ChargeCardListPage-C1XbbZJ2-BmIRbwwO.js +355 -0
  35. package/dist/assets/{ChargeCardListTable-B1a9-RYl-C_trAFfC.js → ChargeCardListTable-HXAc8Lqx-D1dyarlQ.js} +21 -21
  36. package/dist/assets/ChargeCardPromoPage-B8aTlJ8l-CnziFXNJ.js +219 -0
  37. package/dist/assets/{ChargeCardSetupPage-DOrs_Bw8-DvKjxZsP.js → ChargeCardSetupPage-XI-WplXI-CYL9y3aW.js} +2 -2
  38. package/dist/assets/{ChargeCardStatementsPage-xvq2HeEr-DIPvFYAp.js → ChargeCardStatementsPage-CYopWAg4-BO-P7Ch8.js} +4 -4
  39. package/dist/assets/{ChargeCardUtils-Dt303NN_-BJthP303.js → ChargeCardUtils-BEtXxds6-_ZInojp1.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-BK2ISNjj-DZnlqtpO.js → ChaseOverlay-BySoceqB-CUyJY5pE.js} +6 -6
  41. package/dist/assets/CheckDepositDrawerPage-DOyXGzFg-FFdsEDTs.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-D5D0ufUn-ghspgAwM.js → CollapsableReportTable-FShSCFEn-BL6XmmKf.js} +29 -29
  43. package/dist/assets/{CompanyOfficerDetailsSection-C7fuDGQk-gQYRZKRE.js → CompanyOfficerDetailsSection-QQIIHW41-d_NYr_cs.js} +25 -25
  44. package/dist/assets/{CompanyPassportCard-DwUqLcAr-BFBYLv_8.js → CompanyPassportCard-D2b6Ztes-BFHyredr.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-ClToBIAw-BeY6Jzwo.js → CompanyPassportPage-Bkd2l8Xj-Dicp0LXN.js} +10 -10
  46. package/dist/assets/{CompleteProfile-CLDWG3QK-TwaY_UV5.js → CompleteProfile-DYv1reCa-BSD0oAlQ.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-DoZB9Us7-DkYeJgKW.js → ConfettiBurst-CDUVssuw-Bnrrgzra.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-B837xw8A-D4X9dHl7.js → CreateOrEditVendorPage-mlx8B4Jv-CrG_41vA.js} +10 -10
  49. package/dist/assets/{CreditCardPaymentDrawerPage-zGaAOnnB-B0aHCgrm.js → CreditCardPaymentDrawerPage-DBTT4Ptu-B_5MLdSD.js} +6 -6
  50. package/dist/assets/{CreditCardPaymentPlgSection-BLbZFCcL-BKv30VTO.js → CreditCardPaymentPlgSection-CH8Ic2sK-B9lriErU.js} +7 -7
  51. package/dist/assets/{CurrencySelectField-DS3dOR3F-DfDyF-bz.js → CurrencySelectField-BpuAi_Wp-B-bKRrpe.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-WWVaQenb-CqYIrAsU.js → CustomerOnboardingActivationPage-CJn_cLk6-DH-o3_5G.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-Dln-_Yb0-DsL81Hx1.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BSXKMQ77-5cFdc0uI.js → CustomerOnboardingDetailPageSkeleton-Cr10sdrX-qJeOaFkC.js} +10 -10
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-Dd5kCuRE-B1UHu9bc.js → CustomerOnboardingNoStepsPage-9Jl0VpUx-DIQ-Emh9.js} +5 -5
  56. package/dist/assets/{CustomerOnboardingPage-CGJpD875-Dw-iXvXQ.js → CustomerOnboardingPage-OCG7AjuD-BH-cZdFY.js} +5 -5
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BFmVLk0l-BJFTzvmu.js → CustomerOnboardingProductSuitePage-vXKRghjP-Dl2MuVA6.js} +2 -2
  58. package/dist/assets/Dashboard-BOJNXopc-bSZdmbj5.js +1253 -0
  59. package/dist/assets/{DashboardReportPage-BbYtKYEH-Bu7QpJ1d.js → DashboardReportPage-Cuiynx8W-CPlRExnA.js} +8 -8
  60. package/dist/assets/{DepositAccTransactionItem-BMXQpKVB-CkyUtSxG.js → DepositAccTransactionItem-BVGKoyyZ-oxdduuwb.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-bwEdSihi-CohU_Y5O.js → DepositAccTransactionListPage-kkdrU5Mo-C9LuI_bm.js} +8 -8
  62. package/dist/assets/{DocumentSecurityBanner-DV9HE3MK-DHA392ey.js → DocumentSecurityBanner-C_LxmFZ8-Q_2DF47a.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-OI-gqVNE-FukCXOQC.js → DomesticWireDetailsPage-BhE0GcbL-bcvkA4iI.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-De5uIGOt-fe6EK_62.js → DownloadOverlay-LH6MXphu-C5hU8KdL.js} +16 -16
  65. package/dist/assets/{DrawerPage-n421ewDm-V0Ldc4CU.js → DrawerPage-C3wbST4Q-shEpZUr-.js} +8 -8
  66. package/dist/assets/{EditPeoplePage-sO1qN6Uw-ChlFb2l3.js → EditPeoplePage-C53vRVhe-CzbvSTok.js} +15 -15
  67. package/dist/assets/{EditReimbursementDetailPage-D5iKVGl3-D6axPaby.js → EditReimbursementDetailPage-BBQIYJrj-q88G9Yb-.js} +60 -60
  68. package/dist/assets/{EntityDetailPage-CDk-oyYB-DUNhaeNM.js → EntityDetailPage-Ba0fzVNR-IqVNFn9T.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-C4cC9rOJ-BbOIRL3t.js → EntitySummarySection-DA6Vsjwj-BAvsommc.js} +9 -9
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BojhuW5i-DndVOG_2.js → ExpenseAutomationOverviewPage-glEgQT6c-SrdF-MNl.js} +19 -19
  71. package/dist/assets/{ExpenseAutomationPage-D0BViJ7J-CVjlySFW.js → ExpenseAutomationPage-CsJiE1ap-DphoVjtl.js} +73 -73
  72. package/dist/assets/{ExpressPayPage-DdgtFYep-rsUEwVea.js → ExpressPayPage-i9LGeqy_-BY_7W3kL.js} +7 -7
  73. package/dist/assets/{FeaturePreviewPage-CW0YmOgl-CZs71GTx.js → FeaturePreviewPage-Bl2C_tQd-CKwGYgno.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-BfnTsu_D-JwuskYSG.js → FollowStepsSection-KcgZahKS-CFYzCfr3.js} +12 -12
  75. package/dist/assets/{GlobalReviewListPage-C0U7Y6dI-hBZ0JIdn.js → GlobalReviewListPage-D2NH1omi-BAcPfulT.js} +11 -11
  76. package/dist/assets/HelpButton-YqQNv-UM-Cr9H_2qh.js +28 -0
  77. package/dist/assets/{InformationCardStack-6BD3n76T-C6n7H91r.js → InformationCardStack-OhjUoNBj-wQIEpyF_.js} +5 -5
  78. package/dist/assets/{InsightsCardStack-CwxJP-ic-HgjLIYZH.js → InsightsCardStack-CDrOBeoJ-D2_U2exZ.js} +10 -10
  79. package/dist/assets/{InsightsSection-DYyHpcUE-CVS4D7Rl.js → InsightsSection-CBaItqYN-CICeCHeL.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-ZkvKZqwD-Dh9_Y5r9.js → IntegrationsSettingsPage-CuPS5otW-CPeXnDum.js} +2 -2
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-D3nyRM06-Bvm0rISQ.js → InternationalWireSwiftDetailsPage-DQsW7Uzb-B3eW1tDG.js} +6 -6
  82. package/dist/assets/{InternationalWireVerificationPage-BOdAP6dN-BRgvAPQo.js → InternationalWireVerificationPage-BE1xcmQo-B2CmYqd7.js} +15 -15
  83. package/dist/assets/{InviteFormPage-HJMhfa_f-7mLTKV2K.js → InviteFormPage-CUDsc0Y3-CQHW8huZ.js} +21 -21
  84. package/dist/assets/{InvitePageListView-CjneWRfJ-Do8_-Wzf.js → InvitePageListView-DJildrs1-D8BkazXd.js} +31 -31
  85. package/dist/assets/InvitePeoplePage-6upCRZjT-D3FVLYQY.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-CfAnZsV9-CXlIUrR5.js → InvoiceUploadSection-CyacFv78-B5mvyX1V.js} +3 -3
  87. package/dist/assets/{IssueChargeCardPage-pKF4dRNw-BtTzBIAW.js → IssueChargeCardPage-6iTrYJEM-GZ3SqXP5.js} +25 -25
  88. package/dist/assets/{LabeledAddressValue-UYEy_1W0-BrLnlk5a.js → LabeledAddressValue-CDy1Q4J--BYLGzIE_.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-BmSVDTMx-Jv07dYGB.js → LabeledAddressValueField-DbR_ehJJ-DhvqYYqM.js} +2 -2
  90. package/dist/assets/{LabeledControlledCheckBoxField-BFnLx9E0-DltjlqGq.js → LabeledControlledCheckBoxField-CXNDX5oe-B87w-Mys.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-Bh-cfR9F-BSOcL1XZ.js → LabeledCreatableSingleSelectField-B_TreAUT-CQAo_PVZ.js} +3 -3
  92. package/dist/assets/{LabeledDocumentField-YBoeNDoD-CyLWW2Xq.js → LabeledDocumentField-CUTXDuQL-C_2Z86ZM.js} +5 -5
  93. package/dist/assets/{LabeledDropDownFormattedTextField-jrOUW9Ig-Cb_hd6Cs.js → LabeledDropDownFormattedTextField-yPu_zrn8-BUFKtUfX.js} +2 -2
  94. package/dist/assets/{LabeledText-BqO1wHro-yEfY3Vib.js → LabeledText-gvxUV2ku-DUsv1Tg3.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DiWgp4aE-GkGK06mY.js → LabeledUserSingleSelectWithSubtitlesField-Bh1Ts3Yn-zvRfFSR2.js} +3 -3
  96. package/dist/assets/{LabeledZeniRolesDropDownField-Cgy0v5oD-CE6fgMqo.js → LabeledZeniRolesDropDownField-xA0_8wFb-DPAY6GB_.js} +24 -24
  97. package/dist/assets/{LinkJETransactionPage-PZAQ79zW-Be0NFT0x.js → LinkJETransactionPage-f4-YwvQe-B098ON-u.js} +10 -10
  98. package/dist/assets/{LowBalancePopup-BYeSnxBp-CWB9fGay.js → LowBalancePopup-C7oCDqcx-DEQSXlzt.js} +6 -6
  99. package/dist/assets/{MagicLinkACHDetailsPage-D_FaPCmn-C524CU_C.js → MagicLinkACHDetailsPage-Bqe3RDsV-CIlhSzhZ.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-rnZdulCr-BIvVFjqJ.js → MagicLinkDomesticWireDetailsPage-DPU-8FAH-91upKqrx.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-B7ScwCJc-CedT3IVK.js → MagicLinkInternationalWireDetailsPage-DeXZfP0h-B3Fe9sAP.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-DVhVWuCR-C6_bXRZW.js → MagicLinkSuccessPage-CArToNjz-iytAkmyP.js} +4 -4
  103. package/dist/assets/{MagicLinkTitleSection-CjV-_WEQ-DLRFZKyQ.js → MagicLinkTitleSection-CP0OhLNZ-BvI71Hw2.js} +3 -3
  104. package/dist/assets/{MailingDetailsSection-CW6ShqHJ-D8V4HzFw.js → MailingDetailsSection-TgN7VRhK-DHVERiTV.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-BhC8pSjM-Dwxk7RjP.js → MeetingCalenderPopup-vr7DE2aj-D_6bTorg.js} +3 -3
  106. package/dist/assets/{Menu-LDwLOgxI-DlYH_4Kt.js → Menu-DNn9-W-C-4a4WLl_B.js} +4 -4
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BzxtuXEu-CJN51V3R.js → MyBankConnectionsSettingsPage-TawXQ1Zb-DvzW5ml0.js} +14 -14
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-9jGJWmds-D9P1jnqV.js → MyPendingActivationChargeCardListPage-CPgV9E8n-B8UHYJyP.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-9yk4H_yu-G514pPEm.js → MyProfileSettingsPage-DuXTV0pM-BUEudvSx.js} +7 -7
  110. package/dist/assets/{NavBarWithPicker-DUpJ0EXp-DsJc75Xr.js → NavBarWithPicker-Cdali7jG-CZxJ0sMq.js} +4 -4
  111. package/dist/assets/{NavigationArrow-lL3Ug8Mk-CFERmT7S.js → NavigationArrow-DaoZtCA8-CCGN51vq.js} +9 -6
  112. package/dist/assets/{NavigationDots-6Q5ZVqKl-Bii0GTV2.js → NavigationDots-BhF2AV0Y-DlgWFx6V.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-nrWvsRy4-B2bsxNA0.js → NewGlobalMerchantPage-BaoJ7yB8-CAVyspba.js} +8 -8
  114. package/dist/assets/{NoDataChart-DGbfWo33-lORHrY9i.js → NoDataChart-IPJ1xGPZ-BxHj0A2f.js} +1 -1
  115. package/dist/assets/{NoDataTable-CsvWc_ok-Bsp9MWne.js → NoDataTable-D5U81gbD-C1gpddUk.js} +1 -1
  116. package/dist/assets/{NotFoundPage-CzfiPkml-B4WoheH3.js → NotFoundPage-C7BswX2A-C9lHyXTs.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-Dmfqzy1H-7Yghyu9r.js → NotificationSettingsPage-BQyqFWby-CU2cWhAA.js} +13 -13
  118. package/dist/assets/NotificationsListConfig-kLqWFg2Q-CGD5rAvQ.js +1 -0
  119. package/dist/assets/{NotificationsPage-BAj5p1zx-DVMRgL-y.js → NotificationsPage-DjRkTZVT-CmwgHKC8.js} +12 -12
  120. package/dist/assets/{OpExByVendorPage-CRt-VUTi-Co9wh_XC.js → OpExByVendorPage-CSasi7Uo-CpF03xbR.js} +7 -7
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-ARc4wBU5.js → OverlayContainerPage-C0rUb6-5-BNaMtK2f.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-lT9GgcG2-Dup1SAcO.js → PandLWithForecastPage-D8YwSYiz-Dmh0WzGR.js} +7 -7
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DY4eeS5C-BT81M9QN.js → PaymentAccountSetupBillingAddressSection-BWwcQZfk-lDsDJFAt.js} +7 -7
  124. package/dist/assets/{PeoplePage-CDQl7HVr-BcsR0YPU.js → PeoplePage-mrXiZ4VG-olvrm2qK.js} +14 -14
  125. package/dist/assets/PortfolioAllocationFormPage-DAFisXnQ-DGwA3tha.js +207 -0
  126. package/dist/assets/{PortfolioDetails-Dk_IIRuG-By4sZlSG.js → PortfolioDetails-BBOVIetI-lceZN-Gt.js} +12 -12
  127. package/dist/assets/{ProductsCarousel-0-ksFQos-Cboqtj5A.js → ProductsCarousel-DpevGHyq-BgTQFmaG.js} +6 -6
  128. package/dist/assets/{PromoBaseCards-DNSnqS61-RNj48nzF.js → PromoBaseCards-BreO0rHq-BEQoVHCh.js} +23 -23
  129. package/dist/assets/{QBOConnectionDialog-BmIUfW_i-BTfGqMCC.js → QBOConnectionDialog-BCWc6AK--BjS8lhnT.js} +7 -7
  130. package/dist/assets/{QBOSetupSection-BaNFiEPB-Dd4E79Yb.js → QBOSetupSection-D_doa7hh-DBMB3UsE.js} +11 -11
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CtTk4HV2-B_OXotse.js → ReimbursementApprovalRuleDetailPage-BSFxsbcx-DiMrtevs.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-IhKSiGK_-CJ28iUD0.js → ReimbursementApprovalRulesPage-X9bJFM6L-Bydqg-gE.js} +29 -29
  133. package/dist/assets/{ReimbursementDetailPage-B2rT1dKM-B4mKbjVG.js → ReimbursementDetailPage-BJmSB65P-DKzdVUkm.js} +11 -11
  134. package/dist/assets/{ReimbursementPromoPage-d7XBUzip-BPhyjPfw.js → ReimbursementPromoPage-DO7dI9S7-DYK25m4Q.js} +9 -9
  135. package/dist/assets/{ReimbursementSetUpPage-DWCUtN5c-B9oGu4ct.js → ReimbursementSetUpPage-Wjj6aNpc-CuJqBvGc.js} +9 -9
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-ByNvcTCn-CrVDh7-F.js → ReimbursementsBulkReviewDrawerPage-GPuEjGqi-BEo9uzX9.js} +1 -1
  137. package/dist/assets/{ReloadCard-DZy28iWR-jty26kIg.js → ReloadCard-cApojDpl-CORBkU9q.js} +5 -5
  138. package/dist/assets/{ReportTableViewSelector-DdZm4cOJ-2EdstowW.js → ReportTableViewSelector-BVUqQ9hl-wtnAxUVW.js} +5 -5
  139. package/dist/assets/{ReportsPage-CJDkY9FT-9nMZ-tT_.js → ReportsPage-CdiHHtXH-NQUf3nnZ.js} +1 -1
  140. package/dist/assets/{RevenueChart-B_jdFFPm-DtuAQXDC.js → RevenueChart-xoOc_3W3-B5t9XtXu.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-DjPVGzeL-xNY3UvCJ.js → ReviewDetailsPage-CF-R6wwN-DUw9JDlV.js} +10 -10
  142. package/dist/assets/{ReviewOverlay-DGYnF07r-DCUh9U9_.js → ReviewOverlay-Bora7h_H-Dbg4Ccge.js} +10 -10
  143. package/dist/assets/{RoleWithToolTip-VlYG_GPv-teaAu_UP.js → RoleWithToolTip-k62RaqAZ-CqsyYYHM.js} +7 -7
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-oPFQEE8g-5R4xRxD7.js → ScheduleDetailsFixedAssetsPage-Bd6qfpob-CpWHZIr1.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-BdBgJEAl-DzgQbYnG.js → ScheduleDetailsPage-scOS36lS-uWq_jX8t.js} +4 -4
  146. package/dist/assets/{ScheduleSequenceTable-Ncft3mZN-B-_JYZVo.js → ScheduleSequenceTable-BIhbFnjb-LCuZm1qd.js} +51 -51
  147. package/dist/assets/{ScreenRoutes-D25ajt3P.js → ScreenRoutes-BVnz5jkt.js} +35 -35
  148. package/dist/assets/{SetUpAccountSection-BrYiljyO-CSo_3my8.js → SetUpAccountSection-ehZfUFEf-C1rT3hvC.js} +17 -17
  149. package/dist/assets/{SetUpDefaultSection-B361ojb9-NxiVWfIP.js → SetUpDefaultSection-DnYtx3XN-CyhzApD5.js} +16 -16
  150. package/dist/assets/{SignIn-B_-FUZwZ-CHisArfT.js → SignIn-k9MFplB1-D7A5rQL5.js} +14 -14
  151. package/dist/assets/{SignInScreen-Uf5HkVEL.js → SignInScreen-BAVVV3T9.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-XbjqwHXx-D5vMfDvw.js → SpendManagementListViewPage-B11exjM8-BIuiIskJ.js} +12 -12
  153. package/dist/assets/{SpendManagementPerTabPage-D-4W-Ru9-Bl38LM1S.js → SpendManagementPerTabPage-ByXU-omE-p0GZ8nMK.js} +34 -34
  154. package/dist/assets/{SpendManagementSection-B7pMvj7Z-nyvHm07T.js → SpendManagementSection-CAewVL0Z-C93aoqiW.js} +8 -8
  155. package/dist/assets/{SpendMgmtSetupAccountSection-DdUs96r9-IQ5cFujk.js → SpendMgmtSetupAccountSection-BY2LT0qv-NxcSCOP_.js} +11 -11
  156. package/dist/assets/StatementItem-BJoMxmJY-DdWJk3p9.js +31 -0
  157. package/dist/assets/StatementsPage-C_O76V3t-Ddr8hlSd.js +58 -0
  158. package/dist/assets/{StatusSwitcher-DGOwA8qO-CCwch543.js → StatusSwitcher-39NGxygM-BPhOaGQc.js} +5 -5
  159. package/dist/assets/{SubTabSwitcher-Be-6o_mE-DpR4kDa2.js → SubTabSwitcher-BcL8UKX8-CKNW3Pw7.js} +1 -1
  160. package/dist/assets/{SummaryCard-CD1amg78-D7-gBvS2.js → SummaryCard-VT7YJ6jy-tBlhatMr.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-C2UYhTtL-BS6ZhKAX.js → TaskManagementPage-p-3BLn0_-Bcx7Pxb9.js} +30 -30
  162. package/dist/assets/{TimeRangeSwitcher-DxAmlHGP-DP9j4Y0h.js → TimeRangeSwitcher-Cjs5znYy-D4kRF9_6.js} +2 -2
  163. package/dist/assets/{TimeframeSwitcher-ndYSpUa6-JIaAkiT0.js → TimeframeSwitcher-BJrFD5A7-CAhgNQgf.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-CrWRqA_S-D9lemXj0.js +31 -0
  165. package/dist/assets/{TopExCard-CcpyunQ3-D5X1AP2D.js → TopExCard-DAwlJbbc-DbZ2c89C.js} +5 -5
  166. package/dist/assets/{TopExDetailPage-C_B0c8iP-DT-CcqaQ.js → TopExDetailPage-BgUJytuV-Bsa_Vd6D.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-DVPGLobu-Cg4nJAIA.js → TransactionDetailPage-C8yIuCvF-B6_GYtAj.js} +20 -20
  168. package/dist/assets/{TransactionList-CvGyadHZ-CzScKnWB.js → TransactionList-DG-KZUjZ-CuJBXO4t.js} +12 -12
  169. package/dist/assets/{TransactionListBig-BeZjYsO0-BowcwIlG.js → TransactionListBig-iGiOjwVK-D2c6mnYz.js} +16 -16
  170. package/dist/assets/{TransactionListPage-C8h-sa3V-BI2zdvtJ.js → TransactionListPage-C9Z_z4mC-IehdBGn-.js} +3 -3
  171. package/dist/assets/{TransactionVendorDetailPage-BcV8h3xR-Br1j6Ll5.js → TransactionVendorDetailPage-5uo1FPul-CqZDwRJV.js} +5 -5
  172. package/dist/assets/{TransferDrawerPage-B_AJgZWp-Yyh6CuZY.js → TransferDrawerPage-BKzo-4Wj-SHQa14qt.js} +32 -32
  173. package/dist/assets/{TreasuryOverviewPage-kG1jZF28-DHtmQ0RS.js → TreasuryOverviewPage-C6kTg0L3-CPdQqTRa.js} +32 -32
  174. package/dist/assets/{TreasuryPromoPage-Dy3ExIiy-gkUV5xBf.js → TreasuryPromoPage-CAS0pdES-B2XViccf.js} +11 -11
  175. package/dist/assets/{TreasurySetupPage-Cjr-dp6O-BEQP_lhU.js → TreasurySetupPage-CcLiQWOT-COavxyNk.js} +2 -2
  176. package/dist/assets/TreasuryStatementsPage-Dm-3SPtA-DswTDr0G.js +58 -0
  177. package/dist/assets/{TreasuryTaxLetterPage-CWLf1Zxq-DbsCHDsw.js → TreasuryTaxLetterPage-0RsINpqA-BqimRkRt.js} +7 -7
  178. package/dist/assets/{TreasuryTransferOrReviewPage-C5F3fmoI-DNtPmYKq.js → TreasuryTransferOrReviewPage-C_4CQVIe-BB3eLDB4.js} +21 -21
  179. package/dist/assets/{TrendChart-CtjfgQ9g-DPYHbjBV.js → TrendChart-CkPRxjLa-rT4Fx4jx.js} +3 -3
  180. package/dist/assets/{TrendWithTransactions-SmcM2UIp-DTMdisoH.js → TrendWithTransactions-DJYMqIOI-C71ViENi.js} +2 -2
  181. package/dist/assets/{UncategorizedAccountsMappingPage-CXoadwja-BcH1WDHa.js → UncategorizedAccountsMappingPage-BapLceo--ClXmsPLA.js} +15 -15
  182. package/dist/assets/{UnitIntegrationPage-wYQVQqP7-xfmP0ZaV.js → UnitIntegrationPage-C9zNzH3B-CzAMSb0g.js} +3 -3
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-8_c7UpvB-CAx-wuMo.js → UploadAdditionalDocumentOverlay-BNaV6i2S-BTRoYpWx.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-DtNSOXbK-CcK6Drxw.js → Vendor2FAPopup-_Cn9FJ7D-DkBu3XqN.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-zNbGGe4q--raVyiyg.js → VendorACHDetailsPage-B1vHY6rG-CRWSfKnu.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-Cv-MG9iR-YJohQISw.js → VendorDetailPage-Dkl7AlIZ-BvHdeerK.js} +9 -9
  187. package/dist/assets/{VendorDomesticWireDetailsPage-BkqtoYAw-CueaVPRI.js → VendorDomesticWireDetailsPage-Co8Uc_OS-BmnLexzN.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-DYJudj3c-DtjWMkp6.js → VendorFiling1099EditablePage-M0gQJLkE-Bf3W7Lh5.js} +7 -7
  189. package/dist/assets/{VendorFirstReviewPage-BNFIAB9n-CRV8hhmi.js → VendorFirstReviewPage-Bte87pqn-03KnLKUj.js} +46 -46
  190. package/dist/assets/{VendorInternationalWireDetailsPage-DHa8JoNl-CB0R2wQi.js → VendorInternationalWireDetailsPage-DdfkKEFx-BTKk0Hux.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-a5nSOMXK-ZmWLuE7C.js → VendorInternationalWireSwiftDetailsPage-CtQifsRT-CTsn85No.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-DwDGbjey-BapIbdiL.js → VendorsAccountsSection-CxyObm3T-BVYChzQx.js} +13 -13
  193. package/dist/assets/{WarningsDrawerPage-CaSTx_8h-06WKhZXP.js → WarningsDrawerPage-D5nPLGJh-CIkog_Md.js} +5 -5
  194. package/dist/assets/{ZeniAccountDetailPage-BSOpxKiJ-By7m3S08.js → ZeniAccountDetailPage-CKS9mcn3-Cjdhp9IX.js} +34 -34
  195. package/dist/assets/{ZeniAccountListViewPage-CZM1ODEE-Cc-U9qmc.js → ZeniAccountListViewPage-CORl7azj-Cd-ZJFdh.js} +18 -18
  196. package/dist/assets/{ZeniAccountNavBarPieces-CjNAr1N9-RsiaZAh1.js → ZeniAccountNavBarPieces-88z7CFPI-BfmK5qgt.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-PcyNGe7A-D6DBVv8X.js → ZeniAccountPromoPage-Car62P8Q-CUkUqbSZ.js} +11 -11
  198. package/dist/assets/{ZeniAccountSetupPage-DhJ2zm6A-DdBOSG23.js → ZeniAccountSetupPage-B5uOzSDL-C788uiEV.js} +5 -5
  199. package/dist/assets/{ZeniCopyright-CSUSID-7-D956iA9P.js → ZeniCopyright-BcMyDAdQ-DFA6qmc2.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-DPl7porw-DozHMrHt.js → ZeniTransferAmountSlider-Css3_ojA-m4ib9kly.js} +1 -1
  201. package/dist/assets/analytics-CBL_L82S.js +7 -0
  202. package/dist/assets/{analyticsHelper-D6tpOug6.js → analyticsHelper-Mvl-blWA.js} +1 -1
  203. package/dist/assets/{analyticsHelper-Cex5LOMD-C4BwPSdy.js → analyticsHelper-X-GRY9hH-BvOopcRl.js} +1 -1
  204. package/dist/assets/{chartTypes-Df8u7la0-Brzx7O5o.js → chartTypes-C5XZr0AA-D9SG3OGZ.js} +1 -1
  205. package/dist/assets/{commonDimensions-OJhakpB_-DiUt9j4S.js → commonDimensions-DBedC6J7-DP0Wahv_.js} +1 -1
  206. package/dist/assets/{detailCommon-4wAnHr6n-Bingj457.js → detailCommon-CIjWXBC2-D71_miWl.js} +6 -6
  207. package/dist/assets/{downloadPdf-D02UNVHu-C-bMa4LF.js → downloadPdf-B21yi0DO-DRHbr36D.js} +1 -1
  208. package/dist/assets/{index-CKO1Ko85.js → index-CGBUJKSm.js} +3296 -3257
  209. package/dist/assets/{mapLoadingInProgressToTreeNode-HsZI6Bdg-p8sExms0.js → mapLoadingInProgressToTreeNode-CPDYMovk-Dx35_lJM.js} +1 -1
  210. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B9KMXCTi-Cj1lgpjj.js → mapSectionWithAcOnlyToTreeNode-XPbCtxen-B2Oh8oRB.js} +1 -1
  211. package/dist/assets/{mapSpacerToTreeNode-BIZ_jwXi-CLKBLO3f.js → mapSpacerToTreeNode-CJ13HyFX-Byq8Z4W-.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-BOFrVlzJ-F8pebh8y.js → mapTimeframeBalancesToTreeNode-D8UCPznF-CVfbdB0r.js} +1 -1
  213. package/dist/assets/{play-icon-BDRoJBSV-BPJEHfZz.js → play-icon-D7s0M2vV-3hPond_q.js} +3 -3
  214. package/dist/assets/{toCOABalancesWithID-RJhTPgAt-CfuoDOsP.js → toCOABalancesWithID-CWk-QcRU-CC-X8z50.js} +1 -1
  215. package/dist/assets/{toChartData-K68FB3Iy-Ds_boAOT.js → toChartData-BMMsnVqz-BwZCb2RK.js} +1 -1
  216. package/dist/assets/{treasuryColorHelper-DjASf5JB-Clmu45xq.js → treasuryColorHelper-CDRG_Dxk-BRW5d1-O.js} +1 -1
  217. package/dist/assets/{uploadAttachment-D7Rju7jS-BbgF_xIh.js → uploadAttachment-5FffgOcW-C6eynsbj.js} +25 -25
  218. package/dist/assets/{uploadReceipts-Buvz7DfG-BpsqF6VB.js → uploadReceipts-Buvz7DfG-D7vEqZns.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 I,a as W,M as A,c3 as F,j as n,bO as H,bQ as q,bR as O,F as V,a7 as Q,C as s,eR as U,aq as X,o as _,q as t}from"./index-CKO1Ko85.js";import{b as x,n as d}from"./vendor-CnQcJ2Lu.js";import{W as G,A as J}from"./BankAccountWarningSection-D9R1VhzE-V6Y4aUEl.js";import{M as K}from"./MagicLinkTitleSection-CjV-_WEQ-DLRFZKyQ.js";import{e as Y}from"./BankAccountSection-BJPkV-qV-CzS6kxRW.js";const a={paddingTopBottomContainer:new s(t[3],t[3]),paddingLeftContainer:new s(t[3],t[6]),paddingRightContainer:new s(t[3],t[8]),sectionTitleMarginLeft:new s(t[4],t[6]),sectionTitleMarginTop:new s(12,t[3]),buttonWidth:new s(140,140)},S="achDetailsPage",b="bankAccountSection",j=e=>`${e}_form`,de=({bankAccountCreationState:e,bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,isDisabled:C,style:v,onSaveHandler:B,onBackClick:f,onACHDetailsUpdated:N,onFetchBankName:T,isMagicLink:u,companyName:w,currencySymbol:P,amount:R,bankAccountContext:$})=>{const r=I(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(g),[g])}),[D,m]=x.useState(!1),c=A.getLocalizedStrings().spendManagement.billPay.vendorCreation,M=A.getLocalizedStrings().common.footer,{achDetails:y,bankAccountCommon:h}=c,z={onOkClick:()=>{m(!1),i.reset(),f?.()},onCancelClick:()=>{m(!1)}},L=async(p,l)=>{const o=l[b].bankRoutingNumber;N(l),p===`${b}.bankRoutingNumber`&&o?.length===9&&U.test(o)===!0&&T?.(o)};x.useEffect(()=>{const p=i.watch((l,{name:o})=>{o!=null&&l!=null&&F(()=>L(o,l))});return()=>{p.unsubscribe()}});const E=i.handleSubmit(p=>{k.fetchState!=="In-Progress"&&B("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:v,size:r,children:[D===!0?n.jsx(H,{titleComponent:n.jsx(O,{children:c.discardTitle}),descriptionComponent:n.jsx(q,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:z}):null,n.jsx(G,{header:u?n.jsx(K,{companyName:w??"",currencySymbol:P??"",amount:R??0}):y.addACHDetails,isMagicLink:u,isDirty:i.formState.isDirty,onBackClick:f,setShowConfirmationPopup:m}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:h.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:r,children:y.title}),n.jsx(ie,{children:n.jsx(V,{...i,children:n.jsx("form",{id:j(S),onSubmit:E,children:n.jsx(ee,{size:r,children:n.jsx(Y,{bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,sectionId:b,isDisabled:C})})})})})]}),n.jsx(Q,{formId:j(S),primaryBtn:{label:u?h.submitDetails:h.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:C!=null},showCancel:!u,cancelBtn:{label:M.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?m(!0):(i.reset(),f?.())}}})]})},Z=e=>({[b]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=d.div`
1
+ import{X as I,a as W,M as S,c3 as F,j as n,bO as H,bQ as O,bR as V,F as q,a3 as Q,C as s,eP as U,al as X,o as _,n as t}from"./index-CGBUJKSm.js";import{b as x,n as d}from"./vendor-CnQcJ2Lu.js";import{W as G,A as J}from"./BankAccountWarningSection-BhSSRCzK-cqdLPfFO.js";import{M as K}from"./MagicLinkTitleSection-CP0OhLNZ-BvI71Hw2.js";import{e as Y}from"./BankAccountSection-DoGfRREZ-C_O3HwHq.js";const a={paddingTopBottomContainer:new s(t[3],t[3]),paddingLeftContainer:new s(t[3],t[6]),paddingRightContainer:new s(t[3],t[8]),sectionTitleMarginLeft:new s(t[4],t[6]),sectionTitleMarginTop:new s(12,t[3]),buttonWidth:new s(140,140)},A="achDetailsPage",b="bankAccountSection",j=e=>`${e}_form`,de=({bankAccountCreationState:e,bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,isDisabled:C,style:B,onSaveHandler:N,onBackClick:f,onACHDetailsUpdated:T,onFetchBankName:v,isMagicLink:u,companyName:w,currencySymbol:P,amount:$,bankAccountContext:D})=>{const r=I(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(g),[g])}),[M,m]=x.useState(!1),c=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,R=S.getLocalizedStrings().common.footer,{achDetails:y,bankAccountCommon:h}=c,z={onOkClick:()=>{m(!1),i.reset(),f?.()},onCancelClick:()=>{m(!1)}},L=async(p,l)=>{const o=l[b].bankRoutingNumber;T(l),p===`${b}.bankRoutingNumber`&&o?.length===9&&U.test(o)===!0&&v?.(o)};x.useEffect(()=>{const p=i.watch((l,{name:o})=>{o!=null&&l!=null&&F(()=>L(o,l))});return()=>{p.unsubscribe()}});const E=i.handleSubmit(p=>{k.fetchState!=="In-Progress"&&N("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:B,size:r,children:[M===!0?n.jsx(H,{titleComponent:n.jsx(V,{children:c.discardTitle}),descriptionComponent:n.jsx(O,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:z}):null,n.jsx(G,{header:u?n.jsx(K,{companyName:w??"",currencySymbol:P??"",amount:$??0}):y.addACHDetails,isMagicLink:u,isDirty:i.formState.isDirty,onBackClick:f,setShowConfirmationPopup:m}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:h.accountExistWarning}):null,D==="express-pay"?null:n.jsx(ae,{size:r,children:y.title}),n.jsx(ie,{children:n.jsx(q,{...i,children:n.jsx("form",{id:j(A),onSubmit:E,children:n.jsx(ee,{size:r,children:n.jsx(Y,{bankAccountToCreate:g,fetchBankNameByRoutingStatus:k,sectionId:b,isDisabled:C})})})})})]}),n.jsx(Q,{formId:j(A),primaryBtn:{label:u?h.submitDetails:h.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:C!=null},showCancel:!u,cancelBtn:{label:R.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?m(!0):(i.reset(),f?.())}}})]})},Z=e=>({[b]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=d.div`
2
2
  padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
3
3
  padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
4
4
  padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,jq as H,r as _,bI as v1,q as n,bg as L,dp as d1,g as c,W as $1,ao as c1,ay as h1,aB as p1,aA as N,u as m1,b7 as S1,b8 as b1,az as Q,jr as f,v as g,js as B1,jt as Z1,s as b,c0 as K,aq as J,m as W1,ju as F1,dJ as D1,fw as _1,ah as u1,t as P1}from"./index-CKO1Ko85.js";import{b as t,n as i,j as T1,k as H1}from"./vendor-CnQcJ2Lu.js";import{H as V1}from"./NavBarWithPicker-DUpJ0EXp-DsJc75Xr.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 e1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},z1=i.div`
1
+ import{C as u,d2 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bs as y1,o,jo as H,v as _,bI as v1,n,bf as L,dn as d1,g as c,V as $1,ai as c1,ar as h1,au as p1,at as N,u as m1,b6 as S1,b7 as b1,as as Q,jp as f,w as g,jq as Z1,jr as B1,p as b,c0 as K,al as X,f as W1,js as F1,dI as D1,fu as _1,bG as u1,q as P1}from"./index-CGBUJKSm.js";import{b as t,n as i,j as T1,k as H1}from"./vendor-CnQcJ2Lu.js";import{R as V1}from"./NavBarWithPicker-Cdali7jG-CZxJ0sMq.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 e1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},z1=i.div`
2
2
  width: 100%;
3
3
  height: 100%;
4
4
  border: 1px solid ${e=>e.theme.colors.grey3};
@@ -48,11 +48,11 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
48
48
  display: flex;
49
49
  flex-direction: column;
50
50
  gap: ${o.sp2};
51
- `,J1=i.div`
51
+ `,X1=i.div`
52
52
  display: flex;
53
53
  flex-direction: column;
54
54
  gap: ${o.sp4};
55
- `,X1=i.div`
55
+ `,q1=i.div`
56
56
  display: flex;
57
57
  justify-content: space-between;
58
58
  align-items: center;
@@ -62,15 +62,15 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
62
62
  &:last-of-type {
63
63
  border-bottom: none;
64
64
  }
65
- `,Y1=i.div`
65
+ `,J1=i.div`
66
66
  display: flex;
67
67
  align-items: center;
68
68
  gap: ${o.sp4};
69
- `,q1=i.div`
69
+ `,Y1=i.div`
70
70
  display: flex;
71
71
  flex-direction: column;
72
72
  gap: ${o.sp1};
73
- `,Q1=({customStyle:e})=>r.jsxs(I1,{style:e,children:[r.jsx(U1,{children:r.jsxs(K1,{children:[r.jsx(L,{width:180,height:n[4]}),r.jsx(L,{width:300,height:21})]})}),r.jsx(J1,{children:[...Array(3)].map((s,a)=>r.jsxs(X1,{children:[r.jsxs(Y1,{children:[r.jsx(d1,{width:n[6],height:n[6]}),r.jsxs(q1,{children:[r.jsx(L,{width:120,height:18}),r.jsx(L,{width:n[11],height:n[3]})]})]}),r.jsx(L,{width:n[11],height:18}),r.jsx(L,{width:n[11],height:18})]},a))})]}),e2={containerMarginLeft:new u(0,0,n[9],n[9],n[9])},t2=i.div`
73
+ `,Q1=({customStyle:e})=>r.jsxs(I1,{style:e,children:[r.jsx(U1,{children:r.jsxs(K1,{children:[r.jsx(L,{width:180,height:n[4]}),r.jsx(L,{width:300,height:21})]})}),r.jsx(X1,{children:[...Array(3)].map((s,a)=>r.jsxs(q1,{children:[r.jsxs(J1,{children:[r.jsx(d1,{width:n[6],height:n[6]}),r.jsxs(Y1,{children:[r.jsx(L,{width:120,height:18}),r.jsx(L,{width:n[11],height:n[3]})]})]}),r.jsx(L,{width:n[11],height:18}),r.jsx(L,{width:n[11],height:18})]},a))})]}),e2={containerMarginLeft:new u(0,0,n[9],n[9],n[9])},t2=i.div`
74
74
  display: flex;
75
75
  flex-direction: row;
76
76
  margin-left: ${e=>e2.containerMarginLeft.valuePx(e.windowSize)};
@@ -136,7 +136,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
136
136
  display: flex;
137
137
  align-items: center;
138
138
  gap: 12px;
139
- `,f2=i(J)`
139
+ `,f2=i(X)`
140
140
  color: ${e=>e.theme.colors.primary};
141
141
  margin-left: ${o.sp3};
142
142
  `,W=i(l2)`
@@ -156,7 +156,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
156
156
  color: ${e=>e.theme.colors.brandColorJadeDark};
157
157
  `,v2=i(g)`
158
158
  color: ${e=>e.theme.colors.hero};
159
- `;function $2({icon:e,title:s,data:a,currency:C}){return r.jsxs(u2,{children:[r.jsxs(k2,{children:[r.jsx(x2,{children:e}),r.jsx(g2,{children:r.jsx(f2,{children:s})})]}),r.jsx(a2,{}),a.map((l,d)=>r.jsx(C2,{taskName:l.eventName,taskCount:l.eventsCount,timeSavedMinutes:l.timeSavedInMinutes,costSaved:l.totalCostSaved,currency:C},d))]})}const S2=e=>{switch(e){case f.aiPerformanceDashboard.personas.aiBookkeeper:return r.jsx(W,{});case f.aiPerformanceDashboard.personas.aiAccountant:return r.jsx(W,{});case f.aiPerformanceDashboard.personas.aiCardsAgent:return r.jsx(L2,{});case f.aiPerformanceDashboard.personas.aiBillsAgent:return r.jsx(E2,{});case f.aiPerformanceDashboard.personas.aiExpenseAgent:return r.jsx(w2,{});case f.aiPerformanceDashboard.personas.aiBankingAgent:return r.jsx(M2,{});case f.aiPerformanceDashboard.personas.aiAccountantAgent:return r.jsx(W,{});default:return r.jsx(W,{})}};function b2({personas:e,currency:s}){return r.jsxs(m2,{children:[r.jsxs(j2,{children:[r.jsx(y2,{children:f.aiPerformanceDashboard.tileTitle}),r.jsx(v2,{children:f.aiPerformanceDashboard.tileSubtitle})]}),e.map(a=>r.jsx($2,{icon:S2(a.personaName),title:a.personaName,data:a.eventGroups,currency:s},a.personaName))]})}const B2=i.div`
159
+ `;function $2({icon:e,title:s,data:a,currency:C}){return r.jsxs(u2,{children:[r.jsxs(k2,{children:[r.jsx(x2,{children:e}),r.jsx(g2,{children:r.jsx(f2,{children:s})})]}),r.jsx(a2,{}),a.map((l,d)=>r.jsx(C2,{taskName:l.eventName,taskCount:l.eventsCount,timeSavedMinutes:l.timeSavedInMinutes,costSaved:l.totalCostSaved,currency:C},d))]})}const S2=e=>{switch(e){case f.aiPerformanceDashboard.personas.aiBookkeeper:return r.jsx(W,{});case f.aiPerformanceDashboard.personas.aiAccountant:return r.jsx(W,{});case f.aiPerformanceDashboard.personas.aiCardsAgent:return r.jsx(L2,{});case f.aiPerformanceDashboard.personas.aiBillsAgent:return r.jsx(E2,{});case f.aiPerformanceDashboard.personas.aiExpenseAgent:return r.jsx(w2,{});case f.aiPerformanceDashboard.personas.aiBankingAgent:return r.jsx(M2,{});case f.aiPerformanceDashboard.personas.aiAccountantAgent:return r.jsx(W,{});default:return r.jsx(W,{})}};function b2({personas:e,currency:s}){return r.jsxs(m2,{children:[r.jsxs(j2,{children:[r.jsx(y2,{children:f.aiPerformanceDashboard.tileTitle}),r.jsx(v2,{children:f.aiPerformanceDashboard.tileSubtitle})]}),e.map(a=>r.jsx($2,{icon:S2(a.personaName),title:a.personaName,data:a.eventGroups,currency:s},a.personaName))]})}const Z2=i.div`
160
160
  display: flex;
161
161
  flex-direction: column;
162
162
  justify-content: space-between;
@@ -168,7 +168,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
168
168
  box-shadow: ${e=>e.theme.colors.elevation1};
169
169
  padding: ${o.sp4};
170
170
  background-color: ${e=>e.theme.colors.grey5};
171
- `,Z2=i.div`
171
+ `,B2=i.div`
172
172
  display: flex;
173
173
  flex-direction: row;
174
174
  justify-content: space-between;
@@ -214,7 +214,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
214
214
  width: ${o.sp3};
215
215
  height: ${o.sp3};
216
216
  color: ${e=>e.theme.colors.brandColorOnyx};
217
- `;function o1({type:e,value:s,currency:a,timeUnit:C,style:l,noData:d}){const{common:h,aiPerformanceDashboard:p}=y.getLocalizedStrings(),x=e==="cost",$=x?r.jsx(H2,{}):r.jsx(V2,{}),j=x?c.brandColorGoldLight:c.graphColor16Light,v=x?p.aiCostSavedTile.title:p.aiTimeSavedTile.title,P=x?c.brandColorGoldDark:c.graphColor16Dark,w=x?p.aiCostSavedTile.subtitle:p.aiTimeSavedTile.subtitle;return r.jsxs(B2,{style:l,children:[r.jsxs(Z2,{children:[r.jsxs(W2,{children:[r.jsx(F2,{children:r.jsx(D2,{color:P,children:v})}),r.jsx(_2,{children:w})]}),r.jsx(P2,{bg:j,children:$})]}),r.jsxs(T2,{children:[x&&!(d??!1)?r.jsx(R,{children:a.currencySymbol}):null,r.jsx(R,{children:s===""?h.strings.hyphen:s}),!x&&!(d??!1)?r.jsx(R,{style:{fontSize:_.largeSemiBold.fontSize},children:C}):null]})]})}const z2=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{clipPath:"url(#clip0_4001_4844)"},t.createElement("path",{d:"M12.0037 7.78125V6.84375",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.4065 7.78125H11.5043C11.2122 7.78145 10.9293 7.88329 10.7041 8.06928C10.4789 8.25528 10.3254 8.51384 10.2699 8.80063C10.2145 9.08742 10.2606 9.38456 10.4003 9.64108C10.54 9.89761 10.7646 10.0975 11.0356 10.2066L12.9706 10.9809C13.2416 11.09 13.4662 11.2899 13.6059 11.5464C13.7455 11.8029 13.7916 12.1001 13.7362 12.3869C13.6808 12.6737 13.5273 12.9322 13.3021 13.1182C13.0768 13.3042 12.7939 13.406 12.5018 13.4062H10.594",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M12.0037 14.3438V13.4062",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M2.09766 14.7266C4.17328 16.7469 7.82859 18.0931 12.0005 18.0931C16.1723 18.0931 19.8314 16.7478 21.907 14.7275",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M17.6466 17.2013C20.5519 12.3131 15.7791 1.21875 12 1.21875C8.22095 1.21875 3.45001 12.3122 6.35626 17.2013",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M5.50031 12.418C3.17719 13.1886 1.6875 14.458 1.6875 16.2195C1.6875 20.4383 6.30469 22.782 12 22.782C17.6953 22.782 22.3125 20.4383 22.3125 16.2195C22.3125 14.458 20.8266 13.1886 18.5034 12.418",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_4001_4844"},t.createElement("rect",{width:24,height:24,fill:"white"})))),I={tileContainerGap:new u(n[2],n[2],n[4]),amountRowMarginTop:new u(n[3],n[5],n[5]),amountRowGap:new u(n[2],n[4],n[4])},R2=i.div`
217
+ `;function o1({type:e,value:s,currency:a,timeUnit:C,style:l,noData:d}){const{common:h,aiPerformanceDashboard:p}=y.getLocalizedStrings(),x=e==="cost",$=x?r.jsx(H2,{}):r.jsx(V2,{}),j=x?c.brandColorGoldLight:c.graphColor16Light,v=x?p.aiCostSavedTile.title:p.aiTimeSavedTile.title,P=x?c.brandColorGoldDark:c.graphColor16Dark,w=x?p.aiCostSavedTile.subtitle:p.aiTimeSavedTile.subtitle;return r.jsxs(Z2,{style:l,children:[r.jsxs(B2,{children:[r.jsxs(W2,{children:[r.jsx(F2,{children:r.jsx(D2,{color:P,children:v})}),r.jsx(_2,{children:w})]}),r.jsx(P2,{bg:j,children:$})]}),r.jsxs(T2,{children:[x&&!(d??!1)?r.jsx(R,{children:a.currencySymbol}):null,r.jsx(R,{children:s===""?h.strings.hyphen:s}),!x&&!(d??!1)?r.jsx(R,{style:{fontSize:_.largeSemiBold.fontSize},children:C}):null]})]})}const z2=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{clipPath:"url(#clip0_4001_4844)"},t.createElement("path",{d:"M12.0037 7.78125V6.84375",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.4065 7.78125H11.5043C11.2122 7.78145 10.9293 7.88329 10.7041 8.06928C10.4789 8.25528 10.3254 8.51384 10.2699 8.80063C10.2145 9.08742 10.2606 9.38456 10.4003 9.64108C10.54 9.89761 10.7646 10.0975 11.0356 10.2066L12.9706 10.9809C13.2416 11.09 13.4662 11.2899 13.6059 11.5464C13.7455 11.8029 13.7916 12.1001 13.7362 12.3869C13.6808 12.6737 13.5273 12.9322 13.3021 13.1182C13.0768 13.3042 12.7939 13.406 12.5018 13.4062H10.594",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M12.0037 14.3438V13.4062",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M2.09766 14.7266C4.17328 16.7469 7.82859 18.0931 12.0005 18.0931C16.1723 18.0931 19.8314 16.7478 21.907 14.7275",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M17.6466 17.2013C20.5519 12.3131 15.7791 1.21875 12 1.21875C8.22095 1.21875 3.45001 12.3122 6.35626 17.2013",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M5.50031 12.418C3.17719 13.1886 1.6875 14.458 1.6875 16.2195C1.6875 20.4383 6.30469 22.782 12 22.782C17.6953 22.782 22.3125 20.4383 22.3125 16.2195C22.3125 14.458 20.8266 13.1886 18.5034 12.418",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_4001_4844"},t.createElement("rect",{width:24,height:24,fill:"white"})))),I={tileContainerGap:new u(n[2],n[2],n[4]),amountRowMarginTop:new u(n[3],n[5],n[5]),amountRowGap:new u(n[2],n[4],n[4])},R2=i.div`
218
218
  border-radius: 10px;
219
219
  padding: 3px;
220
220
  background-color: ${e=>e.theme.colors.grey5};
@@ -254,22 +254,22 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
254
254
  flex-direction: row;
255
255
  gap: ${e=>e.isPerformanceReportNotFound?o.sp12:I.amountRowGap.valuePx(e.windowSize)};
256
256
  margin-top: ${e=>I.amountRowMarginTop.valuePx(e.windowSize)};
257
- `,J2=i.div`
257
+ `,X2=i.div`
258
258
  display: flex;
259
259
  align-items: flex-end;
260
260
  gap: ${o.sp1};
261
261
  `,F=i(K)`
262
262
  font-size: 28px;
263
263
  color: ${e=>e.theme.colors.brandColorOnyx};
264
- `,X2=i(g)`
264
+ `,q2=i(g)`
265
265
  font-size: 16px;
266
266
  color: ${e=>e.theme.colors.brandColorOnyx};
267
267
  line-height: 2;
268
- `,Y2=i(z2)`
268
+ `,J2=i(z2)`
269
269
  width: ${o.sp4};
270
270
  height: ${o.sp4};
271
271
  color: ${e=>e.theme.colors.brandColorOnyx};
272
- `;function q2({performanceSummary:e,currency:s,isPerformanceReportNotFound:a}){const{common:C,aiPerformanceDashboard:l}=y.getLocalizedStrings(),d=M(),h=$=>Math.round($/60),p=B1(e.forecastAnnualSavings.timeSavedMinutes).toFixed(),x=Z1(e.forecastAnnualSavings.timeSavedMinutes).toFixed();return r.jsx(R2,{windowSize:d,children:r.jsxs(O2,{windowSize:d,children:[r.jsx(U2,{children:r.jsx(Y2,{})}),r.jsxs(A2,{children:[r.jsxs(G2,{children:[r.jsx(N2,{children:l.annualizedImpact.title}),r.jsx(I2,{children:l.annualizedImpact.subtitle})]}),r.jsxs(K2,{isPerformanceReportNotFound:a,windowSize:d,children:[r.jsxs(i1,{children:[r.jsx(g,{style:{color:c.graphColor16Dark},children:l.aiTimeSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(J2,{children:[r.jsxs(F,{children:[Number(h(e.forecastAnnualSavings.timeSavedMinutes).toFixed()).toLocaleString()," "]}),r.jsxs(X2,{children:[C.timeStrings.hours,C.strings.space,Number(p)<=1?r.jsxs(r.Fragment,{children:[C.strings.openingBrace,x,C.strings.space,Number(x)>1?C.timeStrings.days:C.timeStrings.day,C.strings.closingBrace]}):r.jsxs(r.Fragment,{children:[C.strings.openingBrace,p,C.strings.space,Number(p)<2?C.timeStrings.week:C.timeStrings.weeks,C.strings.closingBrace]})]})]})]}),r.jsxs(i1,{children:[r.jsx(g,{style:{color:c.graphColor16Dark},children:l.aiCostSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(F,{children:[s.currencySymbol,Number(e.forecastAnnualSavings.costSaved.toFixed()).toLocaleString()]})]})]})]})]})})}const Q2=e=>t.createElement("svg",{width:91,height:90,viewBox:"0 0 91 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M80.6 6.30005L9.04999 29.25L24.35 34.2M80.6 6.30005L55.85 55.5751L41.225 40.9501M80.6 6.30005L24.35 34.2M80.6 6.30005L35.825 35.55M35.825 35.55L28.4 46.8001M35.825 35.55L41.225 40.9501M28.4 46.8001L41.225 40.9501M28.4 46.8001L24.35 34.2",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{opacity:.2,d:"M9.95001 30.5999L81.5 7.6499L56.75 56.9249L42.125 42.2999L29.3 48.1499L25.25 35.5499L9.95001 30.5999Z",fill:"#97C3B9"}),t.createElement("path",{d:"M43.0228 60.8666C38.2384 60.8666 34.3667 64.7384 34.3667 69.5227C34.3667 64.7384 30.4843 60.8666 25.7 60.8666C30.4843 60.8666 34.3667 56.9843 34.3667 52.2C34.3667 56.9843 38.2384 60.8666 43.0228 60.8666Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10}),t.createElement("path",{d:"M81.7165 42.6554C78.5503 42.6554 75.9866 45.2276 75.9866 48.4042C75.9866 45.2276 73.4162 42.6554 70.25 42.6554C73.4162 42.6554 75.9866 40.0765 75.9866 36.8999C75.9866 40.0765 78.5503 42.6554 81.7165 42.6554Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M19.4 15.752C17.4119 15.752 15.8021 17.3618 15.8021 19.3499C15.8021 17.3618 14.1881 15.752 12.2 15.752C14.1881 15.752 15.8021 14.138 15.8021 12.1499C15.8021 14.138 17.4119 15.752 19.4 15.752Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M10.2031 58.269C10.5781 57.219 11.6881 54.714 13.1281 53.094",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M16.5034 49.2688C17.2972 48.4859 19.2031 46.5689 21.0822 45.6607",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M9.07801 63.219C9.00301 64.194 9.03301 66.729 9.75301 69.069",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M12.4531 73.344C13.1281 74.169 15.0631 75.999 17.4031 76.719M22.1281 78.294C23.3281 78.444 26.2231 78.744 28.2031 78.744",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M32.9281 78.969H39.0031M43.7281 78.969H50.2531M54.9781 78.969H61.2781",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M66.0031 79.4189C67.2031 79.4189 70.0981 79.5539 72.0781 80.0939",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M76.8031 81.4438C77.9281 81.7438 80.6281 82.6588 82.4281 83.9188",stroke:"#97C3B9",strokeWidth:.9})),e3=i.div`
272
+ `;function Y2({performanceSummary:e,currency:s,isPerformanceReportNotFound:a}){const{common:C,aiPerformanceDashboard:l}=y.getLocalizedStrings(),d=M(),h=$=>Math.round($/60),p=Z1(e.forecastAnnualSavings.timeSavedMinutes).toFixed(),x=B1(e.forecastAnnualSavings.timeSavedMinutes).toFixed();return r.jsx(R2,{windowSize:d,children:r.jsxs(O2,{windowSize:d,children:[r.jsx(U2,{children:r.jsx(J2,{})}),r.jsxs(A2,{children:[r.jsxs(G2,{children:[r.jsx(N2,{children:l.annualizedImpact.title}),r.jsx(I2,{children:l.annualizedImpact.subtitle})]}),r.jsxs(K2,{isPerformanceReportNotFound:a,windowSize:d,children:[r.jsxs(i1,{children:[r.jsx(g,{style:{color:c.graphColor16Dark},children:l.aiTimeSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(X2,{children:[r.jsxs(F,{children:[Number(h(e.forecastAnnualSavings.timeSavedMinutes).toFixed()).toLocaleString()," "]}),r.jsxs(q2,{children:[C.timeStrings.hours,C.strings.space,Number(p)<=1?r.jsxs(r.Fragment,{children:[C.strings.openingBrace,x,C.strings.space,Number(x)>1?C.timeStrings.days:C.timeStrings.day,C.strings.closingBrace]}):r.jsxs(r.Fragment,{children:[C.strings.openingBrace,p,C.strings.space,Number(p)<2?C.timeStrings.week:C.timeStrings.weeks,C.strings.closingBrace]})]})]})]}),r.jsxs(i1,{children:[r.jsx(g,{style:{color:c.graphColor16Dark},children:l.aiCostSavedTile.title}),a?r.jsx(F,{children:C.strings.hyphen}):r.jsxs(F,{children:[s.currencySymbol,Number(e.forecastAnnualSavings.costSaved.toFixed()).toLocaleString()]})]})]})]})]})})}const Q2=e=>t.createElement("svg",{width:91,height:90,viewBox:"0 0 91 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M80.6 6.30005L9.04999 29.25L24.35 34.2M80.6 6.30005L55.85 55.5751L41.225 40.9501M80.6 6.30005L24.35 34.2M80.6 6.30005L35.825 35.55M35.825 35.55L28.4 46.8001M35.825 35.55L41.225 40.9501M28.4 46.8001L41.225 40.9501M28.4 46.8001L24.35 34.2",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{opacity:.2,d:"M9.95001 30.5999L81.5 7.6499L56.75 56.9249L42.125 42.2999L29.3 48.1499L25.25 35.5499L9.95001 30.5999Z",fill:"#97C3B9"}),t.createElement("path",{d:"M43.0228 60.8666C38.2384 60.8666 34.3667 64.7384 34.3667 69.5227C34.3667 64.7384 30.4843 60.8666 25.7 60.8666C30.4843 60.8666 34.3667 56.9843 34.3667 52.2C34.3667 56.9843 38.2384 60.8666 43.0228 60.8666Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10}),t.createElement("path",{d:"M81.7165 42.6554C78.5503 42.6554 75.9866 45.2276 75.9866 48.4042C75.9866 45.2276 73.4162 42.6554 70.25 42.6554C73.4162 42.6554 75.9866 40.0765 75.9866 36.8999C75.9866 40.0765 78.5503 42.6554 81.7165 42.6554Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M19.4 15.752C17.4119 15.752 15.8021 17.3618 15.8021 19.3499C15.8021 17.3618 14.1881 15.752 12.2 15.752C14.1881 15.752 15.8021 14.138 15.8021 12.1499C15.8021 14.138 17.4119 15.752 19.4 15.752Z",stroke:"#EEBA7D",strokeWidth:.9,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M10.2031 58.269C10.5781 57.219 11.6881 54.714 13.1281 53.094",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M16.5034 49.2688C17.2972 48.4859 19.2031 46.5689 21.0822 45.6607",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M9.07801 63.219C9.00301 64.194 9.03301 66.729 9.75301 69.069",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M12.4531 73.344C13.1281 74.169 15.0631 75.999 17.4031 76.719M22.1281 78.294C23.3281 78.444 26.2231 78.744 28.2031 78.744",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M32.9281 78.969H39.0031M43.7281 78.969H50.2531M54.9781 78.969H61.2781",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M66.0031 79.4189C67.2031 79.4189 70.0981 79.5539 72.0781 80.0939",stroke:"#97C3B9",strokeWidth:.9}),t.createElement("path",{d:"M76.8031 81.4438C77.9281 81.7438 80.6281 82.6588 82.4281 83.9188",stroke:"#97C3B9",strokeWidth:.9})),e3=i.div`
273
273
  display: flex;
274
274
  flex-direction: column;
275
275
  background-color: ${e=>e.theme.colors.grey5};
@@ -310,7 +310,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
310
310
  display: flex;
311
311
  flex-direction: column;
312
312
  gap: ${o.sp1};
313
- `,h3=i(J)`
313
+ `,h3=i(X)`
314
314
  max-width: 400px;
315
315
  color: ${e=>e.theme.colors.brandColorOpalDark};
316
316
  z-index: 1;
@@ -361,7 +361,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
361
361
  display: flex;
362
362
  flex-direction: column;
363
363
  gap: ${e=>L3.headerGap.valuePx(e.windowSize)};
364
- `,$3=i(J)`
364
+ `,$3=i(X)`
365
365
  max-width: 400px;
366
366
  color: ${e=>e.theme.colors.brandColorOpalDark};
367
367
  `,S3=i.div`
@@ -374,7 +374,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
374
374
  height: 100%;
375
375
  bottom: 0;
376
376
  padding-bottom: ${o.sp3};
377
- `,B3=i.div`
377
+ `,Z3=i.div`
378
378
  position: absolute;
379
379
  bottom: 0;
380
380
  width: 100%;
@@ -392,7 +392,7 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
392
392
  border-radius: 2px;
393
393
  `,s1=i(W1)`
394
394
  color: ${e=>e.color};
395
- `,Z3=({active:e,payload:s})=>{const a=m1();return(e??!1)&&s&&s.length>0?r.jsx(E3,{children:s.map((C,l)=>{const d=C.name==="costSaved"?"Cost Saved":C.name==="timeSavedInHours"?"Time Saved":C.name,h=C.name==="costSaved"?`$${Number(C.value).toFixed().toLocaleString()}`:C.name==="timeSavedInHours"?`${Number(C.value).toFixed().toLocaleString()} hours`:C.value;return r.jsxs(w3,{style:C.name==="costSaved"?{color:a.colors.brandColorGold}:{color:a.colors.graphColor17},children:[r.jsx(M3,{children:d}),r.jsx(j3,{children:h})]},`tooltip-${l}`)})}):null};function W3({performanceTimeSeries:e}){const s=m1(),a=M(),{aiPerformanceDashboard:C}=y.getLocalizedStrings();return r.jsxs(y3,{children:[r.jsx(v3,{windowSize:a,children:r.jsx($3,{children:C.chartTitle})}),r.jsxs(S3,{children:[r.jsx(b3,{children:r.jsx(c1,{children:({width:l,height:d})=>r.jsxs(h1,{width:l,height:d,data:e,margin:{top:6,right:6,left:6,bottom:6},children:[r.jsxs("defs",{children:[r.jsxs("linearGradient",{id:"colorCost",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:c.brandColorGoldLight,stopOpacity:.7}),r.jsx("stop",{offset:"95%",stopColor:c.brandColorGoldLight,stopOpacity:0})]}),r.jsxs("linearGradient",{id:"colorTime",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:c.graphColor16Dark,stopOpacity:.25}),r.jsx("stop",{offset:"95%",stopColor:c.graphColor16Dark,stopOpacity:0})]})]}),r.jsx(S1,{horizontal:!1,vertical:!1}),r.jsx(p1,{dataKey:"month",tickFormatter:h=>{const[p,x]=h.split("-");return new Date(Number(p),Number(x)-1).toLocaleString("en-US",{month:"short",year:"2-digit"})},tickLine:!1,axisLine:{stroke:s.colors.grey2,strokeWidth:1},tick:{fill:s.colors.hero,..._.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),r.jsx(N,{yAxisId:"left",orientation:"left",hide:!0,domain:[0,"dataMax"]}),r.jsx(N,{yAxisId:"right",orientation:"right",hide:!0,domain:[0,h=>h*f3]}),r.jsx(b1,{cursor:{stroke:s.colors.primary,strokeDasharray:5},content:r.jsx(Z3,{})}),r.jsx(Q,{yAxisId:"left",type:"monotone",dataKey:"costSaved",stroke:c.brandColorGold,fillOpacity:1,fill:"url(#colorCost)",strokeWidth:2,activeDot:{r:4,fill:c.neutralGrey5Light,stroke:c.brandColorGold,strokeWidth:2}}),r.jsx(Q,{yAxisId:"right",type:"monotone",dataKey:"timeSavedInHours",stroke:c.graphColor16Dark,fillOpacity:1,fill:"url(#colorTime)",strokeWidth:2,activeDot:{r:4,fill:c.neutralGrey5Light,stroke:c.graphColor16Dark,strokeWidth:2}})]})})}),r.jsxs(B3,{children:[r.jsxs(C1,{children:[r.jsx(n1,{color:c.brandColorGoldDark}),r.jsx(s1,{color:c.brandColorGoldDark,children:C.aiCostSavedTile.title})]}),r.jsxs(C1,{children:[r.jsx(n1,{color:c.graphColor16Dark}),r.jsx(s1,{color:c.graphColor16Dark,children:C.aiTimeSavedTile.title})]})]})]})]})}const F3=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{clipPath:"url(#clip0_4001_4887)"},t.createElement("path",{d:"M13.4062 8.71875H11.3981C11.0067 8.71889 10.6267 8.85116 10.3198 9.09415C10.0129 9.33713 9.79705 9.67659 9.70712 10.0576C9.61719 10.4385 9.65849 10.8387 9.82434 11.1933C9.99019 11.5479 10.2709 11.8361 10.6209 12.0112L12.4491 12.9263C12.7991 13.1014 13.0798 13.3896 13.2457 13.7442C13.4115 14.0988 13.4528 14.499 13.3629 14.8799C13.273 15.2609 13.0571 15.6004 12.7502 15.8434C12.4433 16.0863 12.0633 16.2186 11.6719 16.2188H9.65625",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 8.71875V7.3125",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 17.625V16.2188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M22.7812 11.9996C22.7801 11.2484 22.5534 10.5149 22.1305 9.89408C21.7076 9.27326 21.108 8.79376 20.4094 8.51771C20.7107 7.82876 20.7974 7.06494 20.6579 6.326C20.5185 5.58706 20.1594 4.90735 19.6277 4.37562C19.096 3.84389 18.4162 3.48486 17.6773 3.34541C16.9384 3.20596 16.1746 3.29258 15.4856 3.59396C15.2113 2.89391 14.7323 2.29281 14.1112 1.8691C13.49 1.44539 12.7556 1.21875 12.0037 1.21875C11.2518 1.21875 10.5174 1.44539 9.8963 1.8691C9.27518 2.29281 8.79619 2.89391 8.52186 3.59396C7.83291 3.29258 7.06909 3.20596 6.33015 3.34541C5.59122 3.48486 4.9115 3.84389 4.37977 4.37562C3.84804 4.90735 3.48901 5.58706 3.34956 6.326C3.21011 7.06494 3.29673 7.82876 3.59811 8.51771C2.89806 8.79204 2.29696 9.27102 1.87325 9.89215C1.44954 10.5133 1.2229 11.2477 1.2229 11.9996C1.2229 12.7515 1.44954 13.4859 1.87325 14.107C2.29696 14.7281 2.89806 15.2071 3.59811 15.4815C3.29673 16.1704 3.21011 16.9342 3.34956 17.6732C3.48901 18.4121 3.84804 19.0918 4.37977 19.6235C4.9115 20.1553 5.59122 20.5143 6.33015 20.6538C7.06909 20.7932 7.83291 20.7066 8.52186 20.4052C8.79619 21.1053 9.27518 21.7064 9.8963 22.1301C10.5174 22.5538 11.2518 22.7804 12.0037 22.7804C12.7556 22.7804 13.49 22.5538 14.1112 22.1301C14.7323 21.7064 15.2113 21.1053 15.4856 20.4052C16.1746 20.7066 16.9384 20.7932 17.6773 20.6538C18.4162 20.5143 19.096 20.1553 19.6277 19.6235C20.1594 19.0918 20.5185 18.4121 20.6579 17.6732C20.7974 16.9342 20.7107 16.1704 20.4094 15.4815C21.108 15.2054 21.7076 14.7259 22.1305 14.1051C22.5534 13.4843 22.7801 12.7508 22.7812 11.9996Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_4001_4887"},t.createElement("rect",{width:24,height:24,fill:"white"})))),U={amountRowMarginTop:new u(n[3],n[3],n[5]),amountRowGap:new u(n[2],n[2],n[4]),tileContainerGap:new u(n[2],n[4],n[4])},D3=i.div`
395
+ `,B3=({active:e,payload:s})=>{const a=m1();return(e??!1)&&s&&s.length>0?r.jsx(E3,{children:s.map((C,l)=>{const d=C.name==="costSaved"?"Cost Saved":C.name==="timeSavedInHours"?"Time Saved":C.name,h=C.name==="costSaved"?`$${Number(C.value).toFixed().toLocaleString()}`:C.name==="timeSavedInHours"?`${Number(C.value).toFixed().toLocaleString()} hours`:C.value;return r.jsxs(w3,{style:C.name==="costSaved"?{color:a.colors.brandColorGold}:{color:a.colors.graphColor17},children:[r.jsx(M3,{children:d}),r.jsx(j3,{children:h})]},`tooltip-${l}`)})}):null};function W3({performanceTimeSeries:e}){const s=m1(),a=M(),{aiPerformanceDashboard:C}=y.getLocalizedStrings();return r.jsxs(y3,{children:[r.jsx(v3,{windowSize:a,children:r.jsx($3,{children:C.chartTitle})}),r.jsxs(S3,{children:[r.jsx(b3,{children:r.jsx(c1,{children:({width:l,height:d})=>r.jsxs(h1,{width:l,height:d,data:e,margin:{top:6,right:6,left:6,bottom:6},children:[r.jsxs("defs",{children:[r.jsxs("linearGradient",{id:"colorCost",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:c.brandColorGoldLight,stopOpacity:.7}),r.jsx("stop",{offset:"95%",stopColor:c.brandColorGoldLight,stopOpacity:0})]}),r.jsxs("linearGradient",{id:"colorTime",x1:"0",y1:"0",x2:"0",y2:"1",children:[r.jsx("stop",{offset:"5%",stopColor:c.graphColor16Dark,stopOpacity:.25}),r.jsx("stop",{offset:"95%",stopColor:c.graphColor16Dark,stopOpacity:0})]})]}),r.jsx(S1,{horizontal:!1,vertical:!1}),r.jsx(p1,{dataKey:"month",tickFormatter:h=>{const[p,x]=h.split("-");return new Date(Number(p),Number(x)-1).toLocaleString("en-US",{month:"short",year:"2-digit"})},tickLine:!1,axisLine:{stroke:s.colors.grey2,strokeWidth:1},tick:{fill:s.colors.hero,..._.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),r.jsx(N,{yAxisId:"left",orientation:"left",hide:!0,domain:[0,"dataMax"]}),r.jsx(N,{yAxisId:"right",orientation:"right",hide:!0,domain:[0,h=>h*f3]}),r.jsx(b1,{cursor:{stroke:s.colors.primary,strokeDasharray:5},content:r.jsx(B3,{})}),r.jsx(Q,{yAxisId:"left",type:"monotone",dataKey:"costSaved",stroke:c.brandColorGold,fillOpacity:1,fill:"url(#colorCost)",strokeWidth:2,activeDot:{r:4,fill:c.neutralGrey5Light,stroke:c.brandColorGold,strokeWidth:2}}),r.jsx(Q,{yAxisId:"right",type:"monotone",dataKey:"timeSavedInHours",stroke:c.graphColor16Dark,fillOpacity:1,fill:"url(#colorTime)",strokeWidth:2,activeDot:{r:4,fill:c.neutralGrey5Light,stroke:c.graphColor16Dark,strokeWidth:2}})]})})}),r.jsxs(Z3,{children:[r.jsxs(C1,{children:[r.jsx(n1,{color:c.brandColorGoldDark}),r.jsx(s1,{color:c.brandColorGoldDark,children:C.aiCostSavedTile.title})]}),r.jsxs(C1,{children:[r.jsx(n1,{color:c.graphColor16Dark}),r.jsx(s1,{color:c.graphColor16Dark,children:C.aiTimeSavedTile.title})]})]})]})]})}const F3=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{clipPath:"url(#clip0_4001_4887)"},t.createElement("path",{d:"M13.4062 8.71875H11.3981C11.0067 8.71889 10.6267 8.85116 10.3198 9.09415C10.0129 9.33713 9.79705 9.67659 9.70712 10.0576C9.61719 10.4385 9.65849 10.8387 9.82434 11.1933C9.99019 11.5479 10.2709 11.8361 10.6209 12.0112L12.4491 12.9263C12.7991 13.1014 13.0798 13.3896 13.2457 13.7442C13.4115 14.0988 13.4528 14.499 13.3629 14.8799C13.273 15.2609 13.0571 15.6004 12.7502 15.8434C12.4433 16.0863 12.0633 16.2186 11.6719 16.2188H9.65625",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 8.71875V7.3125",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.535 17.625V16.2188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M22.7812 11.9996C22.7801 11.2484 22.5534 10.5149 22.1305 9.89408C21.7076 9.27326 21.108 8.79376 20.4094 8.51771C20.7107 7.82876 20.7974 7.06494 20.6579 6.326C20.5185 5.58706 20.1594 4.90735 19.6277 4.37562C19.096 3.84389 18.4162 3.48486 17.6773 3.34541C16.9384 3.20596 16.1746 3.29258 15.4856 3.59396C15.2113 2.89391 14.7323 2.29281 14.1112 1.8691C13.49 1.44539 12.7556 1.21875 12.0037 1.21875C11.2518 1.21875 10.5174 1.44539 9.8963 1.8691C9.27518 2.29281 8.79619 2.89391 8.52186 3.59396C7.83291 3.29258 7.06909 3.20596 6.33015 3.34541C5.59122 3.48486 4.9115 3.84389 4.37977 4.37562C3.84804 4.90735 3.48901 5.58706 3.34956 6.326C3.21011 7.06494 3.29673 7.82876 3.59811 8.51771C2.89806 8.79204 2.29696 9.27102 1.87325 9.89215C1.44954 10.5133 1.2229 11.2477 1.2229 11.9996C1.2229 12.7515 1.44954 13.4859 1.87325 14.107C2.29696 14.7281 2.89806 15.2071 3.59811 15.4815C3.29673 16.1704 3.21011 16.9342 3.34956 17.6732C3.48901 18.4121 3.84804 19.0918 4.37977 19.6235C4.9115 20.1553 5.59122 20.5143 6.33015 20.6538C7.06909 20.7932 7.83291 20.7066 8.52186 20.4052C8.79619 21.1053 9.27518 21.7064 9.8963 22.1301C10.5174 22.5538 11.2518 22.7804 12.0037 22.7804C12.7556 22.7804 13.49 22.5538 14.1112 22.1301C14.7323 21.7064 15.2113 21.1053 15.4856 20.4052C16.1746 20.7066 16.9384 20.7932 17.6773 20.6538C18.4162 20.5143 19.096 20.1553 19.6277 19.6235C20.1594 19.0918 20.5185 18.4121 20.6579 17.6732C20.7974 16.9342 20.7107 16.1704 20.4094 15.4815C21.108 15.2054 21.7076 14.7259 22.1305 14.1051C22.5534 13.4843 22.7801 12.7508 22.7812 11.9996Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_4001_4887"},t.createElement("rect",{width:24,height:24,fill:"white"})))),U={amountRowMarginTop:new u(n[3],n[3],n[5]),amountRowGap:new u(n[2],n[2],n[4]),tileContainerGap:new u(n[2],n[4],n[4])},D3=i.div`
396
396
  border-radius: 10px;
397
397
  padding: 3px;
398
398
  background-color: ${e=>e.theme.colors.grey5};
@@ -480,19 +480,19 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
480
480
  display: flex;
481
481
  align-items: center;
482
482
  margin: ${o.sp3} 0;
483
- `,J3=i.div`
483
+ `,X3=i.div`
484
484
  display: flex;
485
485
  flex-wrap: wrap;
486
486
  gap: ${o.sp3};
487
487
  margin-bottom: ${o.sp8};
488
- `,X3=i.div`
488
+ `,q3=i.div`
489
489
  flex: 1;
490
490
  min-width: 300px;
491
- `,Y3=i.div`
491
+ `,J3=i.div`
492
492
  flex: 2;
493
493
  min-width: ${e=>D.savingsChartMinWidth.valuePx(e.windowSize)};
494
494
  min-height: 380px;
495
- `,q3=i.div`
495
+ `,Y3=i.div`
496
496
  color: ${e=>e.theme.colors.hero};
497
497
  cursor: pointer;
498
498
  height: ${o.sp4};
@@ -517,4 +517,4 @@ import{C as u,d3 as w1,X as M,M as y,l as k,aV as M1,j as r,Y as j1,bt as y1,o,j
517
517
  &:hover {
518
518
  color: ${e=>e.theme.colors.primary};
519
519
  }
520
- `,t4=(e,s)=>e===s?`(${H(e)})`:`(${H(e)} - ${H(s)})`;function h4({aggregatedReport:e,onBackClick:s,onReload:a,onTimeRangeSelect:C,onClickMenuIcon:l}){const d=w1().analytics,h=M(),{common:p}=y.getLocalizedStrings(),[x,$]=t.useState(!1),[j,v]=t.useState(null),P=[...k.TIME_SERIES_DURATIONS],w=k.TIME_SERIES_DURATIONS[1],[T,X]=t.useState(k.convertToTimeSeriesSelectionRange(w)),[B,Y]=t.useState(w),[k1,x1]=t.useState(!1);M1({componentName:"aiPerformance"});const S=e.fetchState==="Not-Started"||e.fetchState==="In-Progress",E=e.fetchState==="Error",g1=m=>m.flatMap(E1=>E1.eventGroups.map(Z=>({event_name:Z.eventName,events_count:Z.eventsCount,time_saved_in_minutes:Z.timeSavedInMinutes,total_cost_saved:Z.totalCostSaved})));t.useEffect(()=>{v("home"),C(k.convertToTimeSeriesSelectionRange(B).fromMonth,k.convertToTimeSeriesSelectionRange(B).toMonth)},[]),t.useEffect(()=>{if(e.fetchState==="Completed"&&j){const m={period_selected:B,cost_saved:e.summary.totalCostSaved,time_saved:e.summary.totalTimeSavedMinutes,task_performed:g1(e.personas)};j==="home"?d.trackAIPerfHome(m):j==="refresh"?d.trackAIPerfRefresh(m):j==="timePeriodSelect"&&d.trackAIPerfTimePeriodSelect(m),v(null)}},[e.fetchState,j]),t.useEffect(()=>{const m=()=>{x1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const f1=r.jsx(q3,{"data-testid":`${j1("ai-performance-page","refresh-icon")}`,onClick:()=>{$(!0),v("refresh"),a(k.convertToTimeSeriesSelectionRange(w).fromMonth,k.convertToTimeSeriesSelectionRange(w).toMonth),Y(w),X(k.convertToTimeSeriesSelectionRange(w))},children:r.jsx(y1,{style:{marginTop:o.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:r.jsx(e4,{spinning:S&&x})})}),L1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:P,valueToLabel:m=>m,selectedValue:`${B} ${t4(T.fromMonth,T.toMonth)}`,titleTextStyle:_.largeMedium,onPickerSelectionChanged:m=>{m!=null&&(v("timePeriodSelect"),Y(k.toTimeSeriesDuration(m)),X(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m))),C(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).fromMonth,k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).toMonth))},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:s,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:l,rightSideComponent:f1},q=Number(parseFloat((e?.summary?.totalTimeSavedMinutes/60).toFixed()));return r.jsxs(I3,{children:[r.jsx(N3,{isScrolled:k1,windowSize:h,paddingLeft:D.contentPaddingLeft.value(h),paddingRight:D.contentPaddingRight.value(h),children:r.jsx(V1,{...L1})}),r.jsxs(U3,{windowSize:h,children:[r.jsxs(K3,{windowSize:h,children:[r.jsxs(X3,{windowSize:h,children:[S?r.jsx(t1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):r.jsx(o1,{type:"cost",value:E?`${p.strings.hyphen}`:Number(e.summary?.totalCostSaved.toFixed()).toLocaleString(),currency:e.currency,style:{margin:`0 0 ${o.sp3} 0`},noData:E}),S?r.jsx(t1,{customStyle:{margin:"0"}}):r.jsx(o1,{type:"time",value:E?`${p.strings.hyphen}`:e.summary?.totalTimeSavedMinutes<60?Number(e.summary?.totalTimeSavedMinutes).toFixed().toLocaleString():Number(q).toFixed().toLocaleString(),currency:e.currency,noData:E,timeUnit:E?"":e.summary?.totalTimeSavedMinutes<60?e.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:q>1?p.timeStrings.hours:p.timeStrings.hour})]}),r.jsx(Y3,{windowSize:h,children:S?r.jsx(A1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):E?r.jsx(g3,{selectedTimeSeries:T}):r.jsx(W3,{performanceTimeSeries:e.monthlySummary})})]}),S?r.jsx(l1,{windowSize:h,children:r.jsx(Q1,{})}):r.jsxs(r.Fragment,{children:[r.jsx(l1,{windowSize:h,children:E||e.personas.length===0?r.jsx(s3,{}):r.jsx(b2,{personas:e.personas,currency:e.currency})}),r.jsxs(J3,{windowSize:h,children:[r.jsx(A3,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E}),r.jsx(q2,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E})]})]})]})]})}export{h4 as default,G3 as navBarHeight};
520
+ `,t4=(e,s)=>e===s?`(${H(e)})`:`(${H(e)} - ${H(s)})`;function h4({aggregatedReport:e,onBackClick:s,onReload:a,onTimeRangeSelect:C,onClickMenuIcon:l}){const d=w1().analytics,h=M(),{common:p}=y.getLocalizedStrings(),[x,$]=t.useState(!1),[j,v]=t.useState(null),P=[...k.TIME_SERIES_DURATIONS],w=k.TIME_SERIES_DURATIONS[1],[T,q]=t.useState(k.convertToTimeSeriesSelectionRange(w)),[Z,J]=t.useState(w),[k1,x1]=t.useState(!1);M1({componentName:"aiPerformance"});const S=e.fetchState==="Not-Started"||e.fetchState==="In-Progress",E=e.fetchState==="Error",g1=m=>m.flatMap(E1=>E1.eventGroups.map(B=>({event_name:B.eventName,events_count:B.eventsCount,time_saved_in_minutes:B.timeSavedInMinutes,total_cost_saved:B.totalCostSaved})));t.useEffect(()=>{v("home"),C(k.convertToTimeSeriesSelectionRange(Z).fromMonth,k.convertToTimeSeriesSelectionRange(Z).toMonth)},[]),t.useEffect(()=>{if(e.fetchState==="Completed"&&j){const m={period_selected:Z,cost_saved:e.summary.totalCostSaved,time_saved:e.summary.totalTimeSavedMinutes,task_performed:g1(e.personas)};j==="home"?d.trackAIPerfHome(m):j==="refresh"?d.trackAIPerfRefresh(m):j==="timePeriodSelect"&&d.trackAIPerfTimePeriodSelect(m),v(null)}},[e.fetchState,j]),t.useEffect(()=>{const m=()=>{x1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const f1=r.jsx(Y3,{"data-testid":`${j1("ai-performance-page","refresh-icon")}`,onClick:()=>{$(!0),v("refresh"),a(k.convertToTimeSeriesSelectionRange(w).fromMonth,k.convertToTimeSeriesSelectionRange(w).toMonth),J(w),q(k.convertToTimeSeriesSelectionRange(w))},children:r.jsx(y1,{style:{marginTop:o.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:r.jsx(e4,{spinning:S&&x})})}),L1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:P,valueToLabel:m=>m,selectedValue:`${Z} ${t4(T.fromMonth,T.toMonth)}`,titleTextStyle:_.largeMedium,onPickerSelectionChanged:m=>{m!=null&&(v("timePeriodSelect"),J(k.toTimeSeriesDuration(m)),q(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m))),C(k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).fromMonth,k.convertToTimeSeriesSelectionRange(k.toTimeSeriesDuration(m)).toMonth))},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:s,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:l,rightSideComponent:f1},Y=Number(parseFloat((e?.summary?.totalTimeSavedMinutes/60).toFixed()));return r.jsxs(I3,{children:[r.jsx(N3,{isScrolled:k1,windowSize:h,paddingLeft:D.contentPaddingLeft.value(h),paddingRight:D.contentPaddingRight.value(h),children:r.jsx(V1,{...L1})}),r.jsxs(U3,{windowSize:h,children:[r.jsxs(K3,{windowSize:h,children:[r.jsxs(q3,{windowSize:h,children:[S?r.jsx(t1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):r.jsx(o1,{type:"cost",value:E?`${p.strings.hyphen}`:Number(e.summary?.totalCostSaved.toFixed()).toLocaleString(),currency:e.currency,style:{margin:`0 0 ${o.sp3} 0`},noData:E}),S?r.jsx(t1,{customStyle:{margin:"0"}}):r.jsx(o1,{type:"time",value:E?`${p.strings.hyphen}`:e.summary?.totalTimeSavedMinutes<60?Number(e.summary?.totalTimeSavedMinutes).toFixed().toLocaleString():Number(Y).toFixed().toLocaleString(),currency:e.currency,noData:E,timeUnit:E?"":e.summary?.totalTimeSavedMinutes<60?e.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:Y>1?p.timeStrings.hours:p.timeStrings.hour})]}),r.jsx(J3,{windowSize:h,children:S?r.jsx(A1,{customStyle:{margin:`0 0 ${o.sp3} 0`}}):E?r.jsx(g3,{selectedTimeSeries:T}):r.jsx(W3,{performanceTimeSeries:e.monthlySummary})})]}),S?r.jsx(l1,{windowSize:h,children:r.jsx(Q1,{})}):r.jsxs(r.Fragment,{children:[r.jsx(l1,{windowSize:h,children:E||e.personas.length===0?r.jsx(s3,{}):r.jsx(b2,{personas:e.personas,currency:e.currency})}),r.jsxs(X3,{windowSize:h,children:[r.jsx(A3,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E}),r.jsx(Y2,{performanceSummary:e.summary,currency:e.currency,isPerformanceReportNotFound:E})]})]})]})]})}export{h4 as default,G3 as navBarHeight};
@@ -1,18 +1,18 @@
1
- import{u as f,X as P,j as t,gd as $,o,C as a,gX as j,q as i}from"./index-CKO1Ko85.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{K as z}from"./StatusSwitcher-DGOwA8qO-CCwch543.js";import{r as A}from"./AccountInfoPageContent-CmRpq4eF-DDfUCfgt.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";import"./downloadPdf-D02UNVHu-C-bMa4LF.js";import"./commonDimensions-OJhakpB_-DiUt9j4S.js";const r={pageTitleMarginXAxis:new a(i[4],i[8]),containerPaddingLeft:new a(i[3],i[6],i[8]),containerPaddingRight:new a(i[3],i[6],i[8])},B=({authParams:e,downloadAccountDetailEndPoint:l,depositAccount:s,zeniAccountsConfigDetail:m,currentTenant:p,onDismissClick:u})=>{const g=f(),d=P(),[c,x]=y.useState("achDetails"),h=w=>{x(w)};return t.jsxs(S,{children:[t.jsx($,{title:"",backgroundColor:g.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(T,{windowSize:d,children:s.accountName}),t.jsx(b,{children:t.jsx(z,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:h,isSwitcherLeftAlign:!0})}),t.jsx(C,{windowSize:d,children:t.jsx(A,{authParams:e,downloadAccountDetailEndPoint:l,currentTab:c,zeniAccountsConfigDetail:m,currentTenant:p,depositAccount:s})})]})},C=n.div`
1
+ import{u as f,X as P,j as t,gb as $,o,C as a,gV as j,n as i}from"./index-CGBUJKSm.js";import{b as y,n}from"./vendor-CnQcJ2Lu.js";import{K as z}from"./StatusSwitcher-39NGxygM-BPhOaGQc.js";import{r as A}from"./AccountInfoPageContent-CslCCxyA-D2tLaaG2.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";import"./downloadPdf-B21yi0DO-DRHbr36D.js";import"./commonDimensions-DBedC6J7-DP0Wahv_.js";const r={pageTitleMarginXAxis:new a(i[4],i[8]),containerPaddingLeft:new a(i[3],i[6],i[8]),containerPaddingRight:new a(i[3],i[6],i[8])},_=({authParams:e,downloadAccountDetailEndPoint:l,depositAccount:s,zeniAccountsConfigDetail:m,currentTenant:p,onDismissClick:u})=>{const g=f(),d=P(),[c,x]=y.useState("achDetails"),h=w=>{x(w)};return t.jsxs(C,{children:[t.jsx($,{title:"",backgroundColor:g.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:u}),t.jsx(S,{windowSize:d,children:s.accountName}),t.jsx(T,{children:t.jsx(z,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:h,isSwitcherLeftAlign:!0})}),t.jsx(b,{windowSize:d,children:t.jsx(A,{authParams:e,downloadAccountDetailEndPoint:l,currentTab:c,zeniAccountsConfigDetail:m,currentTenant:p,depositAccount:s})})]})},b=n.div`
2
2
  padding-left: ${e=>`${r.containerPaddingLeft.valuePx(e.windowSize)}`};
3
3
  padding-right: ${e=>`${r.containerPaddingRight.valuePx(e.windowSize)}`};
4
- `,S=n.div`
4
+ `,C=n.div`
5
5
  display: flex;
6
6
  flex-direction: column;
7
7
  background-color: ${e=>e.theme.colors.grey4};
8
8
  overflow-x: hidden;
9
9
  height: 100%;
10
10
  width: 100%;
11
- `,T=n(j)`
11
+ `,S=n(j)`
12
12
  color: ${e=>e.theme.colors.primary};
13
13
  padding: ${o.sp3} ${o.sp0};
14
14
  margin: ${e=>`${o.sp0} ${r.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
15
- `,b=n.div`
15
+ `,T=n.div`
16
16
  display: flex;
17
17
  justify-content: flex-start;
18
- `;export{B as default};
18
+ `;export{_ as default};
@@ -0,0 +1,149 @@
1
+ import{X as we,fc as Ae,gW as B,j as r,M as Se,bs as C,d as Te,Y as z,o as a,al as ve,bp as De,g as E,w as ee,ax as Ce,fe as ze,q as re}from"./index-CGBUJKSm.js";import{b as s,n as t}from"./vendor-CnQcJ2Lu.js";import{w as Le}from"./downloadPdf-B21yi0DO-DRHbr36D.js";import{o as _e}from"./commonDimensions-DBedC6J7-DP0Wahv_.js";const{common:{strings:Ee,copyToClipBoard:y},spendManagement:{zeniAccounts:{zeniAccountDetail:H},billPay:{vendorCreation:{achDetails:o}},downloads:V}}=Se.getLocalizedStrings(),Ze=({authParams:e,downloadAccountDetailEndPoint:ae,currentTab:f,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:g})=>{const oe=we(),[,R]=Ae(),[k,te]=s.useState(!1),[se,ce]=s.useState(!1),[ne,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[pe,me]=s.useState(!1),[he,xe]=s.useState(!1),[fe,$e]=s.useState(!1),[m,I]=s.useState(!1),[N,P]=s.useState(!1),[j,q]=s.useState(!1),[w,F]=s.useState(!1),[A,J]=s.useState(!1),[S,K]=s.useState(!1),[T,O]=s.useState(!1),[$,U]=s.useState(!1),v=g?.company?.companyInfo.companyLegalName,D=B(u.zeniAccountsConfigDetail.mailingAddress).text2,p=B(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(m||S||T||$||A||$||j||N||w)&&setTimeout(()=>{I(!1),K(!1),O(!1),U(!1),J(!1),F(!1),q(!1),P(!1)},1200)},[m,S,T,$,A,w,j,N]);const W=(h,c)=>{switch(h){case"accountType":ce(c);break;case"acccountNumber":ie(c);break;case"routingNumber":de(c);break;case"bankName":ue(c);break;case"beneficiaryName":xe(c);break;case"beneficiaryAddress":me(c);break;case"bankAddress":$e(c);break}},ye=h=>{let c;h==="achDetails"?c=`${o.bankRoutingNumber} ${n.routingNumberAch}
2
+
3
+ ${o.accountTypeLabel} ${n.accountSubType.name??""}
4
+
5
+ ${o.bankAccountNumber} ${n.accountNumber}
6
+
7
+ ${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
8
+
9
+ ${o.bankAddress} ${p}`:c=`${o.bankRoutingNumber} ${n.routingNumberAch}
10
+
11
+ ${o.accountTypeLabel} ${n.accountSubType.name??""}
12
+
13
+ ${o.bankAccountNumber} ${n.accountNumber}
14
+
15
+ ${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
16
+
17
+ ${o.beneficiaryName} ${v}
18
+
19
+ ${o.bankAddress} ${p}
20
+
21
+ ${o.beneficiaryAddress} ${D}`,R(c),I(!0)},i=(h,c,x,X)=>{let d,l;switch(x){case"acccountNumber":d=ne,l=T;break;case"accountType":d=se,l=S;break;case"bankName":d=be,l=A;break;case"beneficiaryName":d=he,l=N;break;case"beneficiaryAddress":d=pe,l=w;break;case"bankAddress":d=fe,l=j;break;default:d=le,l=$;break}const je=()=>{switch(x){case"accountType":K(!0);break;case"acccountNumber":O(!0);break;case"routingNumber":U(!0);break;case"bankName":J(!0);break;case"beneficiaryName":P(!0);break;case"beneficiaryAddress":F(!0);break;case"bankAddress":q(!0);break}};return r.jsxs(Je,{onMouseEnter:()=>W(x,!0),onMouseLeave:()=>W(x,!1),children:[r.jsx(Ke,{children:h}),r.jsx(Ue,{children:r.jsxs(We,{children:[r.jsxs(Oe,{children:[d||oe==="small"?r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:l,children:l?y.copied:y.copy}),enterDelay:600,children:l===!0?r.jsx(Z,{}):r.jsx(Q,{"data-testid":z("account-info-copy",x),onClick:()=>{R(c),je()}})})}):null,c]}),X!=null?r.jsx(Xe,{children:X}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:n.id,company_name:g?.companyName??"",company_legal_name:g?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${ae}?query=${ke}`;return r.jsx(Me,{children:r.jsxs(Re,{children:[r.jsxs(Ie,{children:[r.jsx(qe,{children:f==="achDetails"?H.achTitle:H.wireTitle}),r.jsxs(Pe,{children:[r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:k,children:k?V.downloading:V.download}),enterDelay:600,children:k===!0?r.jsx(Te,{size:"Small",start:!0}):r.jsx(Fe,{"data-testid":z("account-info-download-pdf"),onClick:()=>{Le(Ne,Ee.empty,e,te,!0)}})})}),r.jsx(L,{children:r.jsx(C,{display:"flex",placement:"left",title:r.jsx(_,{isTextCopied:m,children:m?y.copied:y.copy}),enterDelay:600,children:m===!0?r.jsx(Z,{}):r.jsx(Q,{onClick:()=>ye(f),"data-testid":z("title-text-copy")})})})]})]}),f==="achDetails"?r.jsxs(Be,{children:[r.jsx(Y,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(G,{children:i(o.bankAddress,p,"bankAddress")}):null]}):f==="wireDetails"?r.jsxs(He,{children:[r.jsx(Y,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(b,{children:i(o.bankAddress,p,"bankAddress")}):null,v!=null?r.jsx(b,{children:i(o.beneficiaryName,v,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,D!=null?r.jsx(G,{children:i(o.beneficiaryAddress,D,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Me=t.div``,Re=t.div`
22
+ margin: ${a.sp4};
23
+ margin-left: ${a.sp0};
24
+ `,Ie=t.div`
25
+ display: flex;
26
+ align-items: center;
27
+ justify-content: space-between;
28
+ margin-bottom: ${a.sp3};
29
+ `,Pe=t.div`
30
+ display: flex;
31
+ gap: ${a.sp4};
32
+ `,qe=t(ve)`
33
+ color: ${e=>e.theme.colors.primary};
34
+ margin-right: ${a.sp2};
35
+ `,Fe=t(De)`
36
+ height: ${a.sp3};
37
+ width: ${a.sp3};
38
+ color: ${e=>e.theme.colors.hero};
39
+ cursor: pointer;
40
+ &:hover {
41
+ color: ${e=>e.theme.colors.primary};
42
+ }
43
+ `,M=t.div`
44
+ box-sizing: border-box;
45
+ min-height: ${_e.transactionItemHeight}px;
46
+ display: flex;
47
+ border: 1px solid;
48
+ border-radius: ${a.sp2};
49
+ background-color: ${e=>e.theme.colors.grey5};
50
+ border-color: ${e=>e.theme.colors.grey3};
51
+ color: ${e=>e.theme.colors.hero};
52
+ &:hover {
53
+ border-color: ${e=>e.theme.colors.primary};
54
+ color: ${e=>e.theme.colors.primary};
55
+ .tag {
56
+ border-color: ${e=>e.theme.colors.grey2};
57
+ color: ${e=>e.theme.colors.grey1};
58
+ }
59
+ }
60
+ `,Y=t(M)`
61
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
62
+ display: flex;
63
+ border-top-width: 1px;
64
+ border-right-width: 1px;
65
+ border-bottom-width: 0.5px;
66
+ border-left-width: 1px;
67
+
68
+ border-top-left-radius: ${a.sp2};
69
+ border-top-right-radius: ${a.sp2};
70
+ border-bottom-left-radius: ${a.sp0};
71
+ border-bottom-right-radius: ${a.sp0};
72
+ &:hover {
73
+ border-bottom-width: 1px;
74
+ }
75
+ `,G=t(M)`
76
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
77
+ display: flex;
78
+ border-top-width: 0.5px;
79
+ border-right-width: 1px;
80
+ border-bottom-width: 1px;
81
+ border-left-width: 1px;
82
+ border-top-left-radius: ${a.sp0};
83
+ border-top-right-radius: ${a.sp0};
84
+ border-bottom-left-radius: ${a.sp2};
85
+ border-bottom-right-radius: ${a.sp2};
86
+ &:hover {
87
+ border-top-width: 1px;
88
+ }
89
+ `,L=t.div`
90
+ display: flex;
91
+ color: ${e=>e.theme.colors.grey1};
92
+ &:hover {
93
+ color: ${e=>e.theme.colors.primary};
94
+ svg {
95
+ color: ${e=>e.theme.colors.primary};
96
+ }
97
+ }
98
+ `,Q=t(ze)`
99
+ height: ${a.sp3};
100
+ width: ${a.sp3};
101
+ color: ${e=>e.theme.colors.hero};
102
+ cursor: pointer;
103
+ &:hover {
104
+ color: ${e=>e.theme.colors.primary};
105
+ }
106
+ `,Z=t(Ce)`
107
+ height: ${a.sp3};
108
+ width: ${a.sp3};
109
+ color: ${E.success};
110
+ `,Je=t.div`
111
+ display: flex;
112
+ flex-direction: row;
113
+ padding: ${a.sp3} ${a.sp4};
114
+ justify-content: space-between;
115
+ width: 100%;
116
+ gap: ${a.sp4};
117
+ `,Ke=t(re)`
118
+ color: ${e=>e.theme.colors.hero};
119
+ `,Oe=t(re)`
120
+ display: flex;
121
+ align-items: center;
122
+ color: ${e=>e.theme.colors.primary};
123
+ background-color: ${e=>e.theme.colors.grey5};
124
+ justify-content: flex-end;
125
+ text-align: end;
126
+ `,Ue=t.div`
127
+ display: flex;
128
+ `,We=t.div`
129
+ display: flex;
130
+ flex-direction: column;
131
+ align-items: flex-end;
132
+ `,Xe=t(ee)`
133
+ color: ${e=>e.theme.colors.grey1};
134
+ text-align: end;
135
+ `,_=t(ee)`
136
+ color: ${e=>e.isTextCopied?E.primaryDark:E.neutralGrey1Light};
137
+ `,b=t(M)`
138
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
139
+ display: flex;
140
+ border-radius: ${a.sp0};
141
+ border-top-width: 0.5px;
142
+ border-right-width: 1px;
143
+ border-bottom-width: 0.5px;
144
+ border-left-width: 1px;
145
+ &:hover {
146
+ border-top-width: 1px;
147
+ border-bottom-width: 1px;
148
+ }
149
+ `,Be=t.div``,He=t.div``;export{Ze as r};
@@ -1,4 +1,4 @@
1
- import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e,o as i,h as ke,aq as G,m as X,a6 as ve,T as Ce,dI as we,eP as be,k6 as Z,ds as ee,t as l,u as Ee,_ as Pe,aQ as te,c$ as ne,b0 as Re,g as oe,ee as De}from"./index-CKO1Ko85.js";import{b as r,n as o}from"./vendor-CnQcJ2Lu.js";import{E as Ie,C as Fe,w as _e,f as Te}from"./AccountRow-DMeCdEPJ-BTasbb-7.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 m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Ue=o.div`
1
+ import{a as xe,eX as fe,j as t,l as F,F as ge,bO as ye,M as je,bQ as Se,bR as $e,o as i,h as ke,al as X,f as G,a2 as ve,T as Ce,dH as we,eN as be,k5 as V,dr as ee,q as l,u as Ee,_ as Pe,aQ as te,c_ as ne,b0 as Re,g as oe,ax as De}from"./index-CGBUJKSm.js";import{b as r,n as o}from"./vendor-CnQcJ2Lu.js";import{E as Ie,C as _e,w as Fe,f as Te}from"./AccountRow-CBhTc-CO-BjcmviyZ.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 m={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,navBarHeight:i.sp10,navBarPaddingRight:i.sp4,navBarPaddingLeft:i.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Ue=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -29,13 +29,13 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
29
29
  color: ${e=>e.theme.colors.primary};
30
30
  }
31
31
  flex: 0 0 auto;
32
- `,Be=o.div`
32
+ `,Le=o.div`
33
33
  padding-left: ${m.containerPaddingLeft};
34
34
  padding-right: ${m.containerPaddingRight};
35
- `,Le=o.div`
35
+ `,Be=o.div`
36
36
  position: relative;
37
37
  min-height: 62px;
38
- `,Ae=o.div`
38
+ `,We=o.div`
39
39
  display: flex;
40
40
  flex-direction: row;
41
41
  align-items: center;
@@ -47,18 +47,18 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
47
47
  padding-right: ${m.navBarPaddingRight};
48
48
  padding-left: ${m.navBarPaddingLeft};
49
49
  height: 100%;
50
- `,We=o(ke)`
50
+ `,Ae=o(ke)`
51
51
  display: flex;
52
52
  flex: 1 1 0;
53
53
  justify-content: center;
54
54
  flex-direction: column;
55
- `,Ne=o(G)`
55
+ `,Ne=o(X)`
56
56
  display: flex;
57
57
  color: ${e=>e.theme.colors.primary};
58
58
  align-items: center;
59
59
  justify-content: center;
60
60
  overflow: hidden;
61
- `,ie=o(X)`
61
+ `,ie=o(G)`
62
62
  display: flex;
63
63
  color: ${e=>e.theme.colors.hero};
64
64
  align-items: center;
@@ -91,7 +91,7 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
91
91
  align-items: flex-start;
92
92
  justify-content: center;
93
93
  min-width: ${m.balanceContainerWidth}px;
94
- `,W=o(X)`
94
+ `,A=o(G)`
95
95
  display: flex;
96
96
  color: ${e=>e.theme.colors.hero};
97
97
  align-items: center;
@@ -99,13 +99,13 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
99
99
  `,Je=o(l)`
100
100
  color: ${e=>e.theme.colors.primary};
101
101
  text-align: left;
102
- `,Ze=o.div`
102
+ `,Ve=o.div`
103
103
  display: flex;
104
104
  flex-direction: column;
105
105
  align-items: flex-start;
106
106
  justify-content: flex-start;
107
107
  min-width: ${m.balanceContainerWidth}px;
108
- `,Ve=o(l)`
108
+ `,Ze=o(l)`
109
109
  display: flex;
110
110
  color: ${e=>e.theme.colors.primary};
111
111
  align-items: center;
@@ -116,13 +116,13 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
116
116
  align-items: flex-start;
117
117
  justify-content: flex-start;
118
118
  gap: ${i.sp1};
119
- `,Ge=o.div`
119
+ `,Xe=o.div`
120
120
  display: flex;
121
121
  flex-direction: column;
122
122
  align-items: flex-start;
123
123
  justify-content: flex-start;
124
124
  min-width: ${m.balanceContainerWidth}px;
125
- `,Xe=o(l)`
125
+ `,Ge=o(l)`
126
126
  display: flex;
127
127
  color: ${e=>e.theme.colors.grey3};
128
128
  align-items: center;
@@ -162,7 +162,7 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
162
162
  justify-content: center;
163
163
  min-width: ${m.sourceContainerWidth}px;
164
164
  gap: ${i.sp2};
165
- `,at=o(G)`
165
+ `,at=o(X)`
166
166
  display: flex;
167
167
  color: ${e=>e.theme.colors.primary};
168
168
  align-items: center;
@@ -187,7 +187,7 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
187
187
  color: ${e=>e.theme.colors.hero};
188
188
  align-items: center;
189
189
  justify-content: flex-end;
190
- `,F=o(l)`
190
+ `,_=o(l)`
191
191
  display: flex;
192
192
  color: ${e=>e.theme.colors.primary};
193
193
  align-items: center;
@@ -236,4 +236,4 @@ import{a as xe,eZ as fe,j as t,l as _,F as ge,bO as ye,M as je,bQ as Se,bR as $e
236
236
  color: ${e=>e.status==="connected"?e.theme.colors.success:e.status==="reconnect"?e.theme.colors.important:e.theme.colors.link};
237
237
  cursor: pointer;
238
238
  text-decoration: underline;
239
- `,{common:p,dateFormat:V,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function _t({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:d,openFilePicker:u,filesEndPoint:f,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:O}){const x=xe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),k=x.handleSubmit(()=>{}),[h,g]=r.useState(void 0),v=n.link_account_no_microdeposit,C=n.update_account,s=h==="update_account"?C:v,[y,Y]=r.useState(s.linkToken??null),[a,w]=r.useState(!1),[z,B]=r.useState(!1),[L,A]=r.useState(void 0),[re,H]=r.useState(void 0),le=r.useCallback(()=>{g("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{g("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{L!=null&&(R(L),A(void 0)),H(void 0),B(!1)},onCancelClick:()=>{A(void 0),B(!1)}},q=r.useRef(h);r.useEffect(()=>{q.current=h},[h]);const pe=r.useCallback(D=>{P(D,e.accountReconEntity.account.accountId,q.current),g(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((D,me)=>{D!=null&&console.log("Plaid Connection Error",D,me),g(void 0),w(!1)},[]),{open:Q,ready:J}=fe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(_.zeniDate(new Date().toISOString()).isAfter(s.expiration)||s.linkToken==null)&&s.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[s.fetchStatus.fetchState]),r.useEffect(()=>{!a&&h!=null&&s.linkToken===y&&s.fetchStatus.fetchState==="Completed"&&J&&w(!0)},[J,y,s.fetchStatus.fetchState,s.linkToken,h,a]),r.useEffect(()=>{s.fetchStatus.fetchState==="Completed"&&s.linkToken!=null&&s.linkToken!==y&&Y(s.linkToken)},[s.fetchStatus.fetchState,s.linkToken,y]),r.useEffect(()=>{a&&Q()},[a,Q]),t.jsxs(Ue,{children:[t.jsx(Oe,{children:t.jsx(Le,{children:t.jsxs(Ae,{children:[t.jsx(Me,{}),t.jsxs(We,{children:[t.jsx(Ne,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx($t,{monthYearPeriod:d})})]}),t.jsx(ze,{children:t.jsx(Ye,{onClick:$})})]})})}),t.jsxs(Be,{children:[t.jsx(ge,{...x,children:t.jsx("form",{style:{width:"100%"},id:mt,onSubmit:k,children:t.jsx(xt,{monthYearPeriod:d,accountReconciliation:e,filesEndPoint:f,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:O,showConfirmationPopup:z,setShowConfirmationPopup:B,deleteFileId:L,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx($e,{children:c.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(Se,{children:c.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const xt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:d,authParams:u,openFilePicker:f,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:M,uploadErrorMessage:O,setUploadErrorMessage:x})=>{const[k,h]=r.useState(!1),g=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,v=[];v.push({label:c.reconciliation.menu.bankConnection,value:"plaid"}),v.push({label:c.reconciliation.menu.statement,value:"bank_statement"});const C=n.localData?.accountSource,s=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&x(Ie(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,x]);const y=["reconciled","in_progress","reconciled_via_qbo"],Y=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(He,{children:[t.jsxs(qe,{children:[t.jsxs(Qe,{children:[t.jsx(W,{children:c.reconciliation.headers.bankBalance}),t.jsx(Je,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Ze,{children:[t.jsx(W,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Ve,{children:t.jsx(_e,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Ge,{children:[t.jsx(W,{children:c.reconciliation.headers.variance}),t.jsx(Xe,{children:t.jsx(jt,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ct,{children:[t.jsxs(at,{children:[" ",c.reconciliation.drawer.source," "]}),t.jsxs(st,{children:[t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.type}),t.jsx(F,{children:s!=null?t.jsx(j,{children:s==="plaid"?t.jsxs(t.Fragment,{children:[t.jsx(ce,{}),c.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),c.reconciliation.menu.statement]})}):t.jsx(Ce,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(ft,{selectedSourceType:C}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:i.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:a=>{R(_.toReconciliationAccountSource(a))},valueToIcon:a=>a==="plaid"?t.jsx(lt,{}):a==="bank_statement"?t.jsx(dt,{}):null})})})]}),C==="bank_statement"?t.jsx(b,{children:t.jsx(be,{name:ht(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:Y,sizeLimit:1e7,onFileSizeError:a=>{a&&x(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:d,authParams:u,acceptableTypes:["application/pdf"],placeholderText:c.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:f,accountStatementUpload:{uploadHelper:_.uploadAccountStatementIntoDocumentAI,metadataPayload:{accountId:n.accountReconEntity.account.accountId,monthYearPeriod:e},errorMessage:O,onUploadError:a=>{x(a?.message)},onUploadSuccess:a=>{U(a),h(!1)},onUploadStart:()=>{h(!0),x(void 0)},onUploadWindowOpenedOnce:()=>{M()}},onDeleteFile:a=>{E(a),P(!0)},onEditFileName:(a,w)=>{T(a,w)}})}):null,t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.status}),t.jsx(F,{children:C!=="bank_statement"?t.jsx(gt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(yt,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(F,{children:t.jsx(St,{accountSubType:Z(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(F,{children:t.jsx(ee,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:Z(g.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},ft=({selectedSourceType:e})=>t.jsxs(nt,{children:[e==null||e==="plaid"?t.jsx(ce,{}):t.jsx(ae,{}),t.jsx(ot,{children:e==null||e==="plaid"?c.reconciliation.menu.bankConnection:c.reconciliation.menu.statement}),t.jsx(it,{})]}),gt=({status:e,connectionInProgress:n,onConnectClick:d,onReconnectClick:u})=>n?t.jsx(N,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(N,{children:[t.jsx(rt,{}),t.jsx(ut,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(N,{onClick:e==="reconnect"?u:d,children:t.jsx(pt,{status:e,children:e==="reconnect"?c.reconciliation.drawer.values.reconnect:c.reconciliation.drawer.values.connect})}),yt=({status:e,uploadInProgress:n})=>n?t.jsx(ee,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:c.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:c.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),jt=({variance:e,variancePercentage:n,reconciliationStatusCode:d})=>{const u=Ee(),{varianceColor:f,variancePercentageColor:S,variancePercentageContainerColor:$}=Te(u,e,d,!0);return t.jsxs(Ke,{children:[t.jsx(et,{textColor:f,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(tt,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},St=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},$t=({monthYearPeriod:e})=>t.jsx(ie,{children:kt(e)}),kt=e=>{const{month:n,year:d}=e,u=_.zeniDate(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(V.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(V.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{_t as default,ht as uniqueName};
239
+ `,{common:p,dateFormat:Z,expenseAutomation:{accountRecon:c}}=je.getLocalizedStrings(),ht=(e,n)=>`${e}.${n}`,mt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Ft({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:d,openFilePicker:u,filesEndPoint:f,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:O}){const x=xe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),k=x.handleSubmit(()=>{}),[h,g]=r.useState(void 0),v=n.link_account_no_microdeposit,C=n.update_account,s=h==="update_account"?C:v,[y,Y]=r.useState(s.linkToken??null),[a,w]=r.useState(!1),[z,L]=r.useState(!1),[B,W]=r.useState(void 0),[re,H]=r.useState(void 0),le=r.useCallback(()=>{g("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{g("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),W(void 0)),H(void 0),L(!1)},onCancelClick:()=>{W(void 0),L(!1)}},q=r.useRef(h);r.useEffect(()=>{q.current=h},[h]);const pe=r.useCallback(D=>{P(D,e.accountReconEntity.account.accountId,q.current),g(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((D,me)=>{D!=null&&console.log("Plaid Connection Error",D,me),g(void 0),w(!1)},[]),{open:Q,ready:J}=fe({token:y,onSuccess:pe,onExit:he});return r.useEffect(()=>{(F.zeniDate(new Date().toISOString()).isAfter(s.expiration)||s.linkToken==null)&&s.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[s.fetchStatus.fetchState]),r.useEffect(()=>{!a&&h!=null&&s.linkToken===y&&s.fetchStatus.fetchState==="Completed"&&J&&w(!0)},[J,y,s.fetchStatus.fetchState,s.linkToken,h,a]),r.useEffect(()=>{s.fetchStatus.fetchState==="Completed"&&s.linkToken!=null&&s.linkToken!==y&&Y(s.linkToken)},[s.fetchStatus.fetchState,s.linkToken,y]),r.useEffect(()=>{a&&Q()},[a,Q]),t.jsxs(Ue,{children:[t.jsx(Oe,{children:t.jsx(Be,{children:t.jsxs(We,{children:[t.jsx(Me,{}),t.jsxs(Ae,{children:[t.jsx(Ne,{children:e.accountReconEntity.account.accountName}),t.jsx(ie,{children:t.jsx($t,{monthYearPeriod:d})})]}),t.jsx(ze,{children:t.jsx(Ye,{onClick:$})})]})})}),t.jsxs(Le,{children:[t.jsx(ge,{...x,children:t.jsx("form",{style:{width:"100%"},id:mt,onSubmit:k,children:t.jsx(xt,{monthYearPeriod:d,accountReconciliation:e,filesEndPoint:f,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:T,onDeleteFile:R,onEditFileName:U,onStatementUploadSuccess:M,onUploadWindowOpenedOnce:O,showConfirmationPopup:z,setShowConfirmationPopup:L,deleteFileId:B,setDeleteFileId:W,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx($e,{children:c.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(Se,{children:c.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const xt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:d,authParams:u,openFilePicker:f,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:T,onSelectSourceType:R,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:M,uploadErrorMessage:O,setUploadErrorMessage:x})=>{const[k,h]=r.useState(!1),g=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,v=[];v.push({label:c.reconciliation.menu.bankConnection,value:"plaid"}),v.push({label:c.reconciliation.menu.statement,value:"bank_statement"});const C=n.localData?.accountSource,s=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&x(Ie(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,x]);const y=["reconciled","in_progress","reconciled_via_qbo"],Y=n.accountReconEntity.reconciliationStatus!=null&&y.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(He,{children:[t.jsxs(qe,{children:[t.jsxs(Qe,{children:[t.jsx(A,{children:c.reconciliation.headers.bankBalance}),t.jsx(Je,{children:t.jsx(_e,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Ve,{children:[t.jsx(A,{children:c.reconciliation.headers.clearedBalance}),t.jsx(Ze,{children:t.jsx(Fe,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(Xe,{children:[t.jsx(A,{children:c.reconciliation.headers.variance}),t.jsx(Ge,{children:t.jsx(jt,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ct,{children:[t.jsxs(at,{children:[" ",c.reconciliation.drawer.source," "]}),t.jsxs(st,{children:[t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.type}),t.jsx(_,{children:s!=null?t.jsx(j,{children:s==="plaid"?t.jsxs(t.Fragment,{children:[t.jsx(ce,{}),c.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),c.reconciliation.menu.statement]})}):t.jsx(Ce,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(ft,{selectedSourceType:C}),options:v,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:i.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:a=>{R(F.toReconciliationAccountSource(a))},valueToIcon:a=>a==="plaid"?t.jsx(lt,{}):a==="bank_statement"?t.jsx(dt,{}):null})})})]}),C==="bank_statement"?t.jsx(b,{children:t.jsx(be,{name:ht(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:Y,sizeLimit:1e7,onFileSizeError:a=>{a&&x(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:d,authParams:u,acceptableTypes:["application/pdf"],placeholderText:c.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:f,accountStatementUpload:{uploadHelper:F.uploadAccountStatementIntoDocumentAI,metadataPayload:{accountId:n.accountReconEntity.account.accountId,monthYearPeriod:e},errorMessage:O,onUploadError:a=>{x(a?.message)},onUploadSuccess:a=>{U(a),h(!1)},onUploadStart:()=>{h(!0),x(void 0)},onUploadWindowOpenedOnce:()=>{M()}},onDeleteFile:a=>{E(a),P(!0)},onEditFileName:(a,w)=>{T(a,w)}})}):null,t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.status}),t.jsx(_,{children:C!=="bank_statement"?t.jsx(gt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(yt,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.accountType}),t.jsx(_,{children:t.jsx(St,{accountSubType:V(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(b,{children:[t.jsx(I,{children:c.reconciliation.drawer.labels.lastUpdated}),t.jsx(_,{children:t.jsx(ee,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:g!=null?t.jsx(j,{children:V(g.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},ft=({selectedSourceType:e})=>t.jsxs(nt,{children:[e==null||e==="plaid"?t.jsx(ce,{}):t.jsx(ae,{}),t.jsx(ot,{children:e==null||e==="plaid"?c.reconciliation.menu.bankConnection:c.reconciliation.menu.statement}),t.jsx(it,{})]}),gt=({status:e,connectionInProgress:n,onConnectClick:d,onReconnectClick:u})=>n?t.jsx(N,{children:c.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(N,{children:[t.jsx(rt,{}),t.jsx(ut,{children:c.reconciliation.drawer.values.connected})]}):t.jsx(N,{onClick:e==="reconnect"?u:d,children:t.jsx(pt,{status:e,children:e==="reconnect"?c.reconciliation.drawer.values.reconnect:c.reconciliation.drawer.values.connect})}),yt=({status:e,uploadInProgress:n})=>n?t.jsx(ee,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:c.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:c.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),jt=({variance:e,variancePercentage:n,reconciliationStatusCode:d})=>{const u=Ee(),{varianceColor:f,variancePercentageColor:S,variancePercentageContainerColor:$}=Te(u,e,d,!0);return t.jsxs(Ke,{children:[t.jsx(et,{textColor:f,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(tt,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},St=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},$t=({monthYearPeriod:e})=>t.jsx(ie,{children:kt(e)}),kt=e=>{const{month:n,year:d}=e,u=F.zeniDate(`${d}-${String(n).padStart(2,"0")}-01`);let f=u.endOf("month");return`${u.format(Z.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${f.format(Z.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Ft as default,ht as uniqueName};