@zeniai/web-cockpit-ui 1.15.16-dev → 1.15.17-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. package/dist/assets/{ACHDetailsPage-BOZmOJHO-CwAQrPpG.js → ACHDetailsPage-cAgIhKJs-bGTsqigs.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-ZVCJizP9-BEYLvxG6.js → AIPerformancePage-BPwI4kZG-BTP4khzH.js} +12 -12
  3. package/dist/assets/AccountInfoPage-jlXCF7Gn-p294yilG.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-D0wuuzMd-fpNJ2YsG.js → AccountInfoPageContent-CIjrqt8Z-xcHih_xf.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-Cfx-lPAZ-BkStU3hi.js → AccountLockedInfoModal-b0SYt4cr-DyDb_wyO.js} +2 -2
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DbHX6rPG-DTTeCxce.js → AccountReconDetailsDrawerPage-CEjWEa01-aoYQi4ku.js} +5 -5
  7. package/dist/assets/{AccountRow-Bk_25FCy-BSk-hvqy.js → AccountRow-C9lnDVNf-86hTjbuw.js} +8 -8
  8. package/dist/assets/{AccountsPromoCardStack-DAXRwY1f-BvuQll0f.js → AccountsPromoCardStack-hzApdgeN-DUJB0-p0.js} +1 -1
  9. package/dist/assets/AddAddressForCardDrawer-BIjROWAw-BSYp9XYN.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CzziHgi7-BQwLxI1X.js → AddToWalletPage-CgCHdO6c-CiVYqd0C.js} +5 -5
  11. package/dist/assets/{AgingReportsPage-Bdi3krKK-CTkT1Zm8.js → AgingReportsPage-B0NKfFq5-Bk4x7HpE.js} +4 -4
  12. package/dist/assets/{AllUserItems-XWDuiug6-DLAl8Xcx.js → AllUserItems-D6uMCcjF-CS_wO3mh.js} +4 -4
  13. package/dist/assets/{ApAgingDetailPage-CaM_AzrU-DPf2WuMd.js → ApAgingDetailPage-CxS9o2Dj-B1fPZ2rF.js} +2 -2
  14. package/dist/assets/{AppBasePage-B7_L4R6d-BHqVR5DP.js → AppBasePage-BnfCjFJA-CQeMBbMI.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-DSX1364T-pcNTv-EE.js → AppDrawerContent-CwBFjBnr-CKjzuecx.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-DrjPOeyp-C5ILQVYd.js → ApprovalRulesSettingsPage-91Tg_EpH-BzKB_HwN.js} +2 -2
  17. package/dist/assets/{ArAgingChart-M7KUNA4G-DBWSBarK.js → ArAgingChart-6qcRcKoz-MYhKnyKG.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-7lby5mXn-G9J2gxqo.js → ArAgingDetailPage-DmUWtQsX-KXzejd7L.js} +2 -2
  19. package/dist/assets/{AttachmentView-Bsa0u92o-CQtMxB6c.js → AttachmentView-B0oZITps-CNLEqH0L.js} +2 -2
  20. package/dist/assets/{BankAccountSection-BkOlwayA-gKroDONq.js → BankAccountSection-C8G2PrLh-OgTv2VaB.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-uMOXLH0B-Dmm_2ZeO.js → BankAccountWarningSection--DkXEMWU-jfcY3ZKV.js} +8 -8
  22. package/dist/assets/{BankConnectionsSettingsPage-C_YytTke-BLDqC2se.js → BankConnectionsSettingsPage-DmzolLyN-BNSTT_VR.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DvU5_Rsp-QONja72z.js → BillDetailPage-BuCOe4eB-DBZDvMBw.js} +4 -4
  24. package/dist/assets/BillPayApprovalRuleDetailPage-y3qBdiwE-CP9uLqPK.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-CA9eufjt-DhCNQwaz.js → BillPayApprovalRulesPage-DpN3O_Q1-ILVegrck.js} +9 -9
  26. package/dist/assets/{BillPayPromoPage-DsXPWKAf-CH-kAnh9.js → BillPayPromoPage-Dcly8epm-DNaDxuq-.js} +3 -3
  27. package/dist/assets/{BillPaySetUpPage-CeMhzZ_3-BAILYdpq.js → BillPaySetUpPage-zxd0WLUm-CL6S_QEz.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-BygJjDSp-ZMuXzR1y.js → BillingSettingsPage-Djx3EUQO-2EyCLMZp.js} +11 -11
  29. package/dist/assets/{BillsBulkReviewDrawerPage-WrR46NRa-Cq3ZfsO5.js → BillsBulkReviewDrawerPage-gK7xRoiE-B9WwX7Kq.js} +1 -1
  30. package/dist/assets/{BoxItem-C0M4PSXY-Dz-uzrl9.js → BoxItem-ClRdlCWM-B_aqSV-L.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-C63pUk4d-CY7SQzHf.js → BusinessVerificationPage-Dzp7gFwH-iwUmX4wV.js} +2 -2
  32. package/dist/assets/{CardNumberSubText-B4dAoYDE-S0p2Dvhi.js → CardNumberSubText-CHr49_cJ-9Ya6XjXp.js} +2 -2
  33. package/dist/assets/{CashbackDetailPage-B6xvn-y3-C2QB22yP.js → CashbackDetailPage-BNHzTYwa-BdAtNCNi.js} +16 -16
  34. package/dist/assets/{ChargeCardDetailPage-eJJ4MEE6-Cbmrl3gL.js → ChargeCardDetailPage-DWyRrPSy-BvyyNVxe.js} +34 -34
  35. package/dist/assets/{ChargeCardListPage-BYI2HIjA-DQe2h7t9.js → ChargeCardListPage-D3nBV6Fu-DfN7aWAo.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-DAVYmKCK-CXpYrtrT.js → ChargeCardListTable-DBYEXr_N-7b006WJ7.js} +28 -28
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-BX5HtOxd-CtFjNufh.js → ChargeCardPaymentHistoryPage-BEvuS2te-BxwCFTIZ.js} +18 -18
  38. package/dist/assets/ChargeCardPromoPage-DxNPvbeh-CTzLEbbH.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-DG1eKhYR-DW3nMBQs.js → ChargeCardSetupPage-BgBF1U8E-DnPnCE_j.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-CvtZtuVC-D3csdiBJ.js → ChargeCardStatementsPage-UttZjyIb-CinG3Yr4.js} +6 -6
  41. package/dist/assets/{CheckDepositDrawerPage-BdacGDpy-B_co6EhK.js → CheckDepositDrawerPage-sXY6MJoX-BBStJHqh.js} +9 -9
  42. package/dist/assets/{CollapsableReportTable-UADp1m_8-CTcsoqje.js → CollapsableReportTable-3luMEAJg-BroWF-FL.js} +60 -60
  43. package/dist/assets/{CompanyOfficerDetailsSection-CaAR0Wvk-CBJ-_ogf.js → CompanyOfficerDetailsSection-wa4YnlL--Bvat7gA-.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-BJN2GEVm-gEElvrvK.js → CompanyPassportCard-FgYHweiL-B5gr1lJ_.js} +6 -6
  45. package/dist/assets/{CompanyPassportPage-D2ALJDF_-B6f-pO9X.js → CompanyPassportPage-B8LoE1o9-B6zE-V-E.js} +1 -1
  46. package/dist/assets/{CompleteProfile-C8X8Z3C2-1FrtaPxU.js → CompleteProfile-6pDQ6JjU-C7odNMQ5.js} +2 -2
  47. package/dist/assets/{ConfettiBurst-DxHzdDPp-Be75-rA7.js → ConfettiBurst-BAIozwVU-BMA4g7cW.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DePlTE9o.js → ConstrainedInnerElement-BeIpAPjB-CbQ77GJr.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-y-COpdhs-Cw0_CLuv.js → CreateOrEditVendorPage-DMWtQ3qU-Bg7OoiTt.js} +11 -11
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CntYJJ8v-CprMPTAM.js → CreditCardPaymentDrawerPage-OzD38_F8-B8JNfyMQ.js} +5 -5
  51. package/dist/assets/{CurrencySelectField-Dn-hE2az-XRHzVtOt.js → CurrencySelectField-DL4q5vKR-DqpW0Wz5.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-B9MZHJVc-CzGOfqlu.js → CustomerOnboardingActivationPage-C8mciX-r-B9Cshw5r.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-Btl2A6Cw-CdJnPywR.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BCe8BvQF-BsLS_Cn1.js → CustomerOnboardingDetailPageSkeleton-Nl6SOtES-B3qnBN4d.js} +4 -4
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-BHk7rDAg-C5ajOfPI.js → CustomerOnboardingNoStepsPage-CQN8EEU--ChBu6uTX.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-1LvpVpHC-BrVAkLSK.js → CustomerOnboardingPage-B77cjZbE-Do4tQjfo.js} +7 -7
  57. package/dist/assets/CustomerOnboardingProductSuitePage-BYC_Sp__-B35TL-cQ.js +202 -0
  58. package/dist/assets/{Dashboard-CCV0_aCP-BXhr1WNF.js → Dashboard-DAP7UzjW-DBsJoK5k.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-CmoH9Vrc-DJMMkkGF.js → DashboardReportPage-iAA_QiN2-BfmuWrMe.js} +10 -10
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-hw3einS7-BAKkeTFg.js → DashboardSidebarBackgroundAnimation-CIKwGufL-B4WWY8cX.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-DgdkYGjP-cYRUSlBG.js → DepositAccTransactionItem-D3x1jhKt-DssCTMB7.js} +2 -2
  62. package/dist/assets/{DepositAccTransactionListPage-CF0WJn9M-C_3AVCeF.js → DepositAccTransactionListPage-W9xt6kxv-BUhaUskS.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-B12tNa6e-uEIGVaj9.js → DomesticWireDetailsPage-DHUzdqCs-CeJMtDxo.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-Dt9yt4Fz-BLty8T-n.js → DownloadOverlay-C8byijvE-DCI_09Q4.js} +1 -1
  65. package/dist/assets/{DrawerPage-Clki97FA-BA9PorYC.js → DrawerPage-DMQ5MoIw-BlXGV-xV.js} +12 -12
  66. package/dist/assets/{EditPeoplePage-CKS_aEZm-D119ukKN.js → EditPeoplePage-D7TQFFBG-Djz1uJLh.js} +3 -3
  67. package/dist/assets/{EditReimbursementDetailPage-CXy2ZWfZ-DpLpJWez.js → EditReimbursementDetailPage-STVvYnku-Dyx2Oikb.js} +1 -1
  68. package/dist/assets/EntityDetailPage-20BKV_TK-B5sqJOYK.js +18 -0
  69. package/dist/assets/{EntitySummarySection-D_YLsP_P-t3_MJbgk.js → EntitySummarySection-6JSSyIPA-K01fPehF.js} +24 -24
  70. package/dist/assets/{ExpenseAutomationOverviewPage-4z3yzHEA-CJviw0EF.js → ExpenseAutomationOverviewPage-DpoYnwJh-DSAhakn4.js} +8 -8
  71. package/dist/assets/{ExpenseAutomationPage-BJ4H_c2z-DDA_nGZx.js → ExpenseAutomationPage--kONBcsX-DlY4RThk.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-CTBD4y1v-BPs_d41G.js → ExpressPayPage-a31-5Bgz-B-4aw0li.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-CYuTQWpP-BflQGHBv.js → FeaturePreviewPage-z8BJQeL--ChibcOOA.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-BrpI2HyW-CiBKuMZv.js → FollowStepsSection-Bl933px0-DXKlKasr.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-BcvxLqIL-2_WHm0aW.js → GlobalReviewListPage-BLPF3T4t-0m0mv8R4.js} +7 -7
  76. package/dist/assets/{InformationCardStack-CU4Moqky--vtJfmXM.js → InformationCardStack-BTWe4X6t-DdN7cWvp.js} +2 -2
  77. package/dist/assets/{InsightsCardStack-D8UQiuXZ--_fLkoGW.js → InsightsCardStack-CoSz_FKI-xRb_a3yi.js} +8 -8
  78. package/dist/assets/{InsightsSection-C3X6ZNEt-NjJemZo-.js → InsightsSection-DEnkGYD8-BV7sZQsr.js} +4 -4
  79. package/dist/assets/{IntegrationsSettingsPage-CsLv00HW-BeC7UsBa.js → IntegrationsSettingsPage-CEaBjt99-Do0dnq5V.js} +3 -3
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-DgrN5Xg7-C4XmzhP5.js → InternationalWireSwiftDetailsPage-C1i-ujyZ-DIPsBga8.js} +6 -6
  81. package/dist/assets/{InternationalWireVerificationPage-CvysJNBQ-Ca744cyt.js → InternationalWireVerificationPage-CWBpTNA9-9aWL0J3i.js} +2 -2
  82. package/dist/assets/{InviteFormPage-B3KmRWXd-C2ITeVTl.js → InviteFormPage-B2Rl23Qb-D49rnAc4.js} +17 -17
  83. package/dist/assets/{InvitePageListView-DfpJBZru-tcIB_WKy.js → InvitePageListView-E_2j_tF7-BsS6FATD.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-C5Qgk24s-WY8vJMhk.js → InvitePeoplePage-CljSsdaM-DHNLTMCH.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-BO1i-e_D-BEHL-1J7.js → InvoiceUploadSection-drGgAU5w-CP2A3IhR.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-mPsxt52d-x--Yc1yG.js → IssueChargeCardPage-Cj6pmQbt-DDVdjZ4v.js} +17 -17
  87. package/dist/assets/{LabeledAddressValue-C4fnQSyi-C-QRaLS5.js → LabeledAddressValue-BjCojNni-CsHQb5xA.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-D6dEaI69-Chc-QlAF.js → LabeledAddressValueField-DyHTdGlm-CErilABA.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-B1QdZmvd-IUa4evUP.js → LabeledControlledCheckBoxField-B5Csu2og-C5h8CQSb.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-XeBih_-f-DKxnjH2w.js → LabeledCountryMultiSelectField-Ds0vvyNd-ypZKY9co.js} +12 -12
  91. package/dist/assets/{LabeledCreatableSingleSelectField-BPX2Nrlf-ZlY5YONf.js → LabeledCreatableSingleSelectField-C-dLOvWU-28KwULO3.js} +5 -5
  92. package/dist/assets/LabeledDocumentField-b5xujqjK-HTjOeiZT.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-A-rgip1E-B17ex07S.js → LabeledDropDownFormattedTextField-DHx90GON-Rl0wOSQX.js} +2 -2
  94. package/dist/assets/{LabeledMultiSelectField-Di9Wnifv-ByxiVL3j.js → LabeledMultiSelectField-CEoszkBN-B4_Me-4T.js} +1 -1
  95. package/dist/assets/{LabeledText-38fqkkE--Cee_T29J.js → LabeledText-CRJr2zA8-DRZ423PA.js} +2 -2
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-BHp0iG9D.js → LabeledUserSingleSelectWithSubtitlesField-CM0HeG1R-pTmkakCa.js} +7 -7
  97. package/dist/assets/{LabeledZeniRolesDropDownField-Dg9_Ww-A-Dic3e3FJ.js → LabeledZeniRolesDropDownField-CR8M-X5s-DPGEl74a.js} +7 -7
  98. package/dist/assets/{LinkJETransactionPage-66mQ4nrK-Bsoo2mEs.js → LinkJETransactionPage-DfY5sKBg-BKNhXIRx.js} +1 -1
  99. package/dist/assets/{LockCardPage-BCqN4K17-Cjzeji2k.js → LockCardPage-CgCv-EKl-CipF6lcu.js} +9 -9
  100. package/dist/assets/{LowBalancePopup-BPk1-eAb-DFTxz9st.js → LowBalancePopup-OUWtUPdo-DRkjFCjE.js} +1 -1
  101. package/dist/assets/MagicLinkACHDetailsPage-DJEu5rMd-BJeKMJK9.js +1 -0
  102. package/dist/assets/MagicLinkDomesticWireDetailsPage--0yYTzva-BnphHyQr.js +1 -0
  103. package/dist/assets/MagicLinkInternationalWireDetailsPage-B9u7g87s-YokU7IH5.js +1 -0
  104. package/dist/assets/MagicLinkSuccessPage-BwN3dPJM-CQeiTIkx.js +31 -0
  105. package/dist/assets/{MagicLinkTitleSection-77rxhjLm-BjRMFjlF.js → MagicLinkTitleSection-C_Xng7ad-D4iutPsA.js} +1 -1
  106. package/dist/assets/MailingDetailsSection-Dmq45H_s-CjyySHTi.js +21 -0
  107. package/dist/assets/{MyBankConnectionsSettingsPage-z0tHaSl1-CfQVHlUR.js → MyBankConnectionsSettingsPage-CNUaVzw3-CZkaA3pm.js} +5 -5
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-CwGYwufd-CT3LLyZc.js → MyPendingActivationChargeCardListPage-Dz1U6l9--DwLxZlPN.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-8yBXAre6-DacQsI6-.js → MyProfileSettingsPage-DdlCBRiN-BYlOj9no.js} +4 -4
  110. package/dist/assets/{NavBarWithPicker-C3LVyiC9-etzEx9wd.js → NavBarWithPicker-Cx9v8jpk-DJ52ZXJM.js} +4 -4
  111. package/dist/assets/{NavigationArrow-NuJEpE7O-D8kY8llG.js → NavigationArrow-CNO4O4XS-DUm9WGAp.js} +1 -1
  112. package/dist/assets/{NavigationDots-C7Na64B9-CVWaz9qo.js → NavigationDots-BX9DbCj7-RHGokei7.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-Cus6zYV_-FAQYGhqe.js → NewGlobalMerchantPage-Bo_ZeDQH-CgpotWIt.js} +29 -29
  114. package/dist/assets/NoDataChart-JfED3unL-jJumSwoX.js +26 -0
  115. package/dist/assets/NoDataTable-BFpO3ZtS-ubjUd8M_.js +8 -0
  116. package/dist/assets/{NotFoundPage-RjXioqc8-DtIGcQuh.js → NotFoundPage-D_HhIdYv-DyNtigHQ.js} +6 -6
  117. package/dist/assets/{NotificationSettingsPage-DrDW_LU_-CrTfhQjB.js → NotificationSettingsPage-B2d-vPIZ-WS4EaJDB.js} +4 -4
  118. package/dist/assets/{NotificationsListConfig-C6_ap0JT-D8w6YoUC.js → NotificationsListConfig-C4LF_8h1-ojY4Mfu-.js} +1 -1
  119. package/dist/assets/{NotificationsPage-DOM-Gf5P-DnumyiFl.js → NotificationsPage-7HqRmokr-0AvCCTrK.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-CTuBB827-C0LLpOUj.js → OpExByVendorPage-CwD1U9q_-idpf-eH0.js} +1 -1
  121. package/dist/assets/OverlayContainerPage-D4QU0p4o-D2c2jURk.js +11 -0
  122. package/dist/assets/{PandLWithForecastPage-BXaENYdR-D65iSrrB.js → PandLWithForecastPage-CRkDr0QK-D1powlVT.js} +4 -4
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DSnQX90O-DFq5LHyH.js → PaymentAccountSetupBillingAddressSection-B6nTWyOD-gY1zpkFD.js} +6 -6
  124. package/dist/assets/{PeoplePage-BlyVVthI-D_1cj1g5.js → PeoplePage-D5eQETB2-DZx25X-Y.js} +1 -1
  125. package/dist/assets/{Preview-DYusR3hO.js → Preview-Bfns_dDG.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-CAcPH--E-Bb_qjCmp.js → ProductsCarousel-BXPXaIWg-Av-oVPlG.js} +1 -1
  127. package/dist/assets/{PromoBaseCards-BVwZMVeE-B84_P5r4.js → PromoBaseCards-C-S0ckZq-DcP7gArA.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-C3OYyhYO-CMjuhlXs.js → QBOConnectionDialog-qqbamtpL-BeJJQ440.js} +1 -1
  129. package/dist/assets/{QBOSetupSection-DQjol-D0-eqxvZA5D.js → QBOSetupSection-CZu_mtMP-CZBINdYC.js} +4 -4
  130. package/dist/assets/ReimbursementApprovalRuleDetailPage-BE-QC1b0-CvaYArLZ.js +32 -0
  131. package/dist/assets/{ReimbursementApprovalRulesPage-Cx0gs7sS-CYC590wb.js → ReimbursementApprovalRulesPage-CXbYB3Y5-Cbew60RV.js} +4 -4
  132. package/dist/assets/{ReimbursementDetailPage-Cs_rmkS8-wwjwvRb9.js → ReimbursementDetailPage-DXMDyCop-DlZGIADX.js} +4 -4
  133. package/dist/assets/{ReimbursementPromoPage-CCFl0kQK-LLEMYe4d.js → ReimbursementPromoPage-DGXHkiBN-DLifue2f.js} +7 -7
  134. package/dist/assets/{ReimbursementSetUpPage-lf3xTVFh-DDKfdVM2.js → ReimbursementSetUpPage-Dd1iGv5X-C_E7fz-A.js} +4 -4
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C5MTFJLG-CF6p2IJ7.js → ReimbursementsBulkReviewDrawerPage-D46qP31Q-DT9YskKf.js} +1 -1
  136. package/dist/assets/{ReloadCard-V_tv6YLR-B4Af3G_4.js → ReloadCard-BJke_yPt-D_L8D7X-.js} +6 -6
  137. package/dist/assets/{ReportTableViewSelector-CWEvGn8L-Dlv8mUdn.js → ReportTableViewSelector-DiYnlME4-BJ1-sTjo.js} +3 -3
  138. package/dist/assets/{ReportsPage-BJOH1wgv-CO7zRrKg.js → ReportsPage-bmKftmYF-NgXuxPpu.js} +1 -1
  139. package/dist/assets/{RevenueChart-C_tSBw_N-BD0DJwPU.js → RevenueChart-DjTdsbym-CUUEbo6t.js} +14 -14
  140. package/dist/assets/{ReviewDetailsPage-CScPf4w3-ByB3b1ie.js → ReviewDetailsPage-NFOdusAU-CVH2L4to.js} +6 -6
  141. package/dist/assets/{ReviewOverlay-BQVwPzKa-ddzk5bgf.js → ReviewOverlay-Q8tlLMbm-BLu76gBy.js} +20 -20
  142. package/dist/assets/{RoleWithToolTip-GCV_l8Ly-C2pYTZmo.js → RoleWithToolTip-BWdD1HmA-BCpJ5d2U.js} +3 -3
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cgqgn7nk-O0hb5LF0.js → ScheduleDetailsFixedAssetsPage-CpjdnINH-Dzwzq8FX.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsPage-D1EJbzxN-DOCtWqTf.js → ScheduleDetailsPage-DVnetdnH-DhMiGzx8.js} +3 -3
  145. package/dist/assets/{ScheduleSequenceTable-DDhoyPGX-zvxwe9e1.js → ScheduleSequenceTable-rJ0jC94w-DDWgbE_4.js} +14 -14
  146. package/dist/assets/{ScreenRoutes-YzeouUfS.js → ScreenRoutes-0NyWgCAY.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-AVL_16HQ-j-o6nNSY.js → SetUpAccountSection-BCoHzvyG-CzNKWW7X.js} +1 -1
  148. package/dist/assets/{SignIn-BLUwTp1l-BTGTjmO9.js → SignIn-k3DDmpFU-BAnREigf.js} +14 -14
  149. package/dist/assets/SignInScreen-BOrZAIYm.js +1 -0
  150. package/dist/assets/{SpendManagementListViewPage-DJbNFHvP-QKyzE-ot.js → SpendManagementListViewPage-DCfMKXfi-BWeN8ijV.js} +3 -3
  151. package/dist/assets/{SpendManagementPerTabPage-J5pIRm-Q-CND_3E3i.js → SpendManagementPerTabPage-Hv3QMqv0-CTD5vH6J.js} +16 -16
  152. package/dist/assets/{SpendManagementSection-DZaP5ai6-C9tEMxFA.js → SpendManagementSection-BRp2eDfv-DVKGvM7g.js} +8 -8
  153. package/dist/assets/{StatementItem-D2Fx65LN-CJdCyRP1.js → StatementItem-9DHoMBjx-DlzvIjc2.js} +2 -2
  154. package/dist/assets/StatementsPage-CdOlg2R0-CFHx0zSi.js +58 -0
  155. package/dist/assets/{StatusSwitcher-C5ZrzI8Y-Dj5TyEni.js → StatusSwitcher-B5nSXHv6-DTMRsMtw.js} +1 -1
  156. package/dist/assets/{SubTabSwitcher-BXZxKeq9-B2Zwj5g3.js → SubTabSwitcher-BPSCR7GS-CQQ30d6t.js} +3 -3
  157. package/dist/assets/{SummaryCard-194UToy6-UI_LM1oG.js → SummaryCard-DdYMAiws-C4w7QxN_.js} +1 -1
  158. package/dist/assets/{TaskManagementPage-zcxDUo0t-Do3_cxqD.js → TaskManagementPage-9OEooDk9-BnhlYqUu.js} +21 -21
  159. package/dist/assets/{TimeRangeSwitcher-Bsv7zQmN-uGCucrEy.js → TimeRangeSwitcher-BG9h3Mws-BXPl7KzE.js} +11 -11
  160. package/dist/assets/{TimeframeSwitcher-DtxsNy1Z-Dby2t82a.js → TimeframeSwitcher-BlkN2ln5-CbPVM8iC.js} +6 -6
  161. package/dist/assets/{TimeframeSwitcherWithToggle-B5bFhbvL-Ba9NENkn.js → TimeframeSwitcherWithToggle-r8YzbhCn-DALUFB9M.js} +2 -2
  162. package/dist/assets/{TopExCard-CBua66Cj-iZDx6oGD.js → TopExCard-CDAkgH2B-DQW-zWxw.js} +4 -4
  163. package/dist/assets/{TopExDetailPage-DtMA-XMp-BkiYCTbM.js → TopExDetailPage-BN9IdTkO-DE8PmHT3.js} +11 -11
  164. package/dist/assets/{TransactionActivityLogPage-C3BPL8hi-B6EDUUtr.js → TransactionActivityLogPage-CTl6Lo3h-Dr0PqgiK.js} +5 -5
  165. package/dist/assets/{TransactionDetailPage-CeKaduBe-w8WXAz1Q.js → TransactionDetailPage-DSR3itvE-B47s770o.js} +1 -1
  166. package/dist/assets/{TransactionList-CSx8ZCZ--fRx-iJTn.js → TransactionList-wLBz-A1j-R5pqCBUj.js} +7 -7
  167. package/dist/assets/{TransactionListBig-B4cNQY2d-jRs-SXs3.js → TransactionListBig-BA00B8Vn-B52eXfHk.js} +4 -4
  168. package/dist/assets/{TransactionListPage-DHr64V-b-Bgsdc044.js → TransactionListPage-Dyi4SMpD-Bm97EAJv.js} +2 -2
  169. package/dist/assets/{TransactionVendorDetailPage-DsxI8U5b-fUCL3Z3e.js → TransactionVendorDetailPage-6HbXn17w-COo-5ffY.js} +3 -3
  170. package/dist/assets/{TransferDrawerPage-C91TQwZi-CLRJKfIG.js → TransferDrawerPage-GnqDJJ7x-u45NHhBy.js} +1 -1
  171. package/dist/assets/{TreasuryOverviewPage-BoBn_gtF-BBlPDTVn.js → TreasuryOverviewPage-7s3XhxYc-CoT8RYIQ.js} +14 -14
  172. package/dist/assets/{TreasuryPromoPage-CQ-VYEQC-DJZXY5PM.js → TreasuryPromoPage-DFnHMTJ--CP3RuQCD.js} +9 -9
  173. package/dist/assets/{TreasuryStatementsPage-taTRE54D-BRQPl-FH.js → TreasuryStatementsPage-BdUYirAC-Duwk2wsH.js} +1 -1
  174. package/dist/assets/{TreasuryTaxLetterPage-Cxhr51TD-BVmTKq55.js → TreasuryTaxLetterPage-fX08Nflm-B-GslDLQ.js} +2 -2
  175. package/dist/assets/{TrendChart-DATgAEKG-D5uXuHxg.js → TrendChart-mamZxFEf-DPlJCKYL.js} +2 -2
  176. package/dist/assets/{TrendWithTransactions-DqPFuOvC-4qpshT4h.js → TrendWithTransactions-fGuXIDf7-HyuIbA66.js} +1 -1
  177. package/dist/assets/{UncategorizedAccountsMappingPage-BQjXazj4-B0137uG5.js → UncategorizedAccountsMappingPage-FPf4YpN2-Cp3ASbXZ.js} +5 -5
  178. package/dist/assets/{UnitIntegrationPage-BiRGRtpI-Da_V8y5a.js → UnitIntegrationPage-BcIYQ6E_-B6tBJIS1.js} +1 -1
  179. package/dist/assets/{UploadAdditionalDocumentOverlay-DCldWCol-DXBSIbWE.js → UploadAdditionalDocumentOverlay-CFiPe--u-DrxhGkyT.js} +1 -1
  180. package/dist/assets/{Vendor2FAPopup-BpkAiYTA-52BaGnWz.js → Vendor2FAPopup-BreN6fS3-FjXbhU9D.js} +1 -1
  181. package/dist/assets/VendorACHDetailsPage-CP2mHGE7-CG1YPLHx.js +1 -0
  182. package/dist/assets/{VendorDetailPage-DY4iaLtz-BtWSn42W.js → VendorDetailPage-DXKn3qSR-Di8ThCGh.js} +1 -1
  183. package/dist/assets/{VendorDomesticWireDetailsPage-B5Nym5J9-BePP9h_p.js → VendorDomesticWireDetailsPage-7m-21BIT-BVTn5C6b.js} +1 -1
  184. package/dist/assets/{VendorFiling1099EditablePage-Dep7O8Uz-BwVZUQk9.js → VendorFiling1099EditablePage-D5jPoLoj-DhLrefqh.js} +32 -32
  185. package/dist/assets/{VendorFirstReviewPage-CJQIZn8g-Bbp8yC5s.js → VendorFirstReviewPage-Bxj_Far6-DOA9lu2j.js} +21 -21
  186. package/dist/assets/{VendorInternationalWireDetailsPage-CJG5RIa2-CRCBgtxB.js → VendorInternationalWireDetailsPage-DCdiiuBR-D9OAEuuJ.js} +4 -4
  187. package/dist/assets/VendorInternationalWireSwiftDetailsPage-JzRuqiHJ-DYQH4bJe.js +1 -0
  188. package/dist/assets/{VendorsAccountsSection-D65ewlO6-C249PD4b.js → VendorsAccountsSection-BYkKSsB8-BmGLfX_G.js} +3 -3
  189. package/dist/assets/{VerifyDevice-B1_jgwgY-CLr_hT2k.js → VerifyDevice-DxoL8hYf-Cowpahhc.js} +1 -1
  190. package/dist/assets/{VideoPlayer-vWSXteQ6-fekEOFO-.js → VideoPlayer-ByXKIag5-BZsoWnFe.js} +2 -2
  191. package/dist/assets/{VideoPopup-CdsmU6H4-BPO5jUC8.js → VideoPopup-DybLGmZL-CNsVI5bc.js} +3 -3
  192. package/dist/assets/{WarningsDrawerPage-CjgOsD00-De28p6M4.js → WarningsDrawerPage-Ddp3wpvG-CdbbY6NF.js} +3 -3
  193. package/dist/assets/{ZeniAccountDetailPage-DiLnoonB-COe08RHM.js → ZeniAccountDetailPage-C-B9h3wI-CKYwhajY.js} +17 -17
  194. package/dist/assets/{ZeniAccountListViewPage-YfPsO8ls-Ds9pwvuL.js → ZeniAccountListViewPage-CWvKejM--BPGukJA_.js} +1 -1
  195. package/dist/assets/{ZeniAccountNavBarPieces-CHStBvRa-BqDqY_na.js → ZeniAccountNavBarPieces-xyI5r3gJ-CbIslzwK.js} +1 -1
  196. package/dist/assets/{ZeniAccountPromoPage-cEfW88p8-BhWQ-XmY.js → ZeniAccountPromoPage-ClU5aJ3_-4ixwSQil.js} +5 -5
  197. package/dist/assets/{ZeniAccountSetupPage-B20DHYex-D-hB-cgI.js → ZeniAccountSetupPage-BF6_J9le-DCR58vNJ.js} +1 -1
  198. package/dist/assets/{ZeniCopyright-BROHmszx-BFJ7fRMA.js → ZeniCopyright-CyBZnbZa-D5SmAZYL.js} +1 -1
  199. package/dist/assets/{ZeniTransferAmountSlider-DZZrrFXf-Cq4B23lv.js → ZeniTransferAmountSlider-QODQj6J3-nB7ivh3S.js} +1 -1
  200. package/dist/assets/{add-to-wallet-DgdBD8_G-AfkxTSja.js → add-to-wallet-DgdBD8_G-l6e6C-pa.js} +1 -1
  201. package/dist/assets/{analytics-Dz3HJTKp.js → analytics-DGcxWyl6.js} +1 -1
  202. package/dist/assets/analyticsHelper-BcBQi1qY.js +1 -0
  203. package/dist/assets/{analyticsHelper-FJ-cS8qS-D_9plNYH.js → analyticsHelper-HEUQhbuJ-Cq2Mtjgc.js} +1 -1
  204. package/dist/assets/{arrow-south-east-round-PEovUgvH-DDEpjXQ7.js → arrow-south-east-round-PEovUgvH-C0A9x354.js} +1 -1
  205. package/dist/assets/{auto-transfer-rule-mbafm5D3-CB2yKaeg.js → auto-transfer-rule-mbafm5D3-CC0rbz99.js} +1 -1
  206. package/dist/assets/chartTypes-CnipzTeX-DGSU_TZ0.js +1 -0
  207. package/dist/assets/{commonDimensions-BpYNnQtf-GFURsh40.js → commonDimensions-DmFc7WqO-CxyyXmLy.js} +1 -1
  208. package/dist/assets/{commonTypes-BVbA7QjV-C2OAdMb3.js → commonTypes-CU0qY6Px-ZdnVolMx.js} +1 -1
  209. package/dist/assets/{constants-D8qNj5Es.js → constants-jbgzJYdx.js} +1 -1
  210. package/dist/assets/{core-xud19niX.js → core-BMaLzXUJ.js} +1 -1
  211. package/dist/assets/{dash.all.min-Dmsiq7DL.js → dash.all.min-DmpFQIVa.js} +1 -1
  212. package/dist/assets/{detailCommon-BRja9H93-CS4qaApq.js → detailCommon-x-UFksNz-DKaz3zHe.js} +1 -1
  213. package/dist/assets/{downloadPdf-WDHjFv79-CGfEvBvA.js → downloadPdf-D1grj9oX-Bei5Wpqc.js} +1 -1
  214. package/dist/assets/{empty-BU3-uTyA.js → empty-CxyNypVD.js} +1 -1
  215. package/dist/assets/{empty-ClP26WFk.js → empty-DJguQx7A.js} +1 -1
  216. package/dist/assets/{epic-ff9tSPeN.js → epic-DJmh-RNR.js} +2 -2
  217. package/dist/assets/{gift-box-Cmt9OgIZ-Ba1CSAo6.js → gift-box-Cmt9OgIZ-ZuOwWA2g.js} +1 -1
  218. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CATaPbQ1.js → graphic-no-data-l-DU4J8fDt-CR5EZc8Z.js} +1 -1
  219. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-B_yV26zM.js → graphic-no-data-net-burn-l-CzmycA0m-BhBXhGOx.js} +1 -1
  220. package/dist/assets/{handshake-BPg58FML-CxOrxIUO.js → handshake-BPg58FML-DiPOUMao.js} +1 -1
  221. package/dist/assets/{index-CT3iqTha.js → index-C3zM8gb6.js} +1 -1
  222. package/dist/assets/{index-2wNtQNIE.js → index-CQmr12-Z.js} +1 -1
  223. package/dist/assets/{index-_dimXoCh.js → index-DKka6liW.js} +1 -1
  224. package/dist/assets/{index-DJjwW14X.js → index-DPwk4vO3.js} +1 -1
  225. package/dist/assets/{index-D6iLD7c3.js → index-Dw_2FdYw.js} +1 -1
  226. package/dist/assets/{index-6sX8sCRU.js → index-rJQoaAfw.js} +669 -669
  227. package/dist/assets/{index-ovnKg3OB.js → index-tuFs6sMC.js} +1 -1
  228. package/dist/assets/{lexical-CFjIG720.js → lexical-CyZM9SwL.js} +1 -1
  229. package/dist/assets/{liveblocks-BAOmiMpj.js → liveblocks-CohL7dW6.js} +1 -1
  230. package/dist/assets/{lottie-cQKxXDSP.js → lottie-XKgYVRq1.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-C_5Bb47i-DD_ATbZD.js → mapLoadingInProgressToTreeNode-gyu3qs1Z-SebMrCb0.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BlrJTKah-hwelD0Z1.js → mapSectionWithAcOnlyToTreeNode-SPabSQrM-Cf3ilJGA.js} +1 -1
  233. package/dist/assets/{mapSpacerToTreeNode-DvdWKHfX-BsRKsR7W.js → mapSpacerToTreeNode-D_rRYkys-BvhCp_uR.js} +1 -1
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-8JwIYBnd-DXtmYfY7.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-BwS2KbWd-CAuCdcVv.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CCAWuSrJ-B5KhCzdx.js +1 -0
  237. package/dist/assets/{mui-BKJrVh4W.js → mui-KNfEk2A1.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-D1XFg97i.js → page-detail-CWX5S47F-BLbwsJjf.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-BLfsH1I8.js → panelSelectedMixin-CzfD5-Zs-PdsDXPWw.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-CU3HgAhI.js → radio-default-CiSgisfh-_DAtDxCX.js} +1 -1
  241. package/dist/assets/{react-CN5Npsqf.js → react-CPz-xjGo.js} +2 -2
  242. package/dist/assets/{react-CrEDpago.js → react-CX71OnYA.js} +1 -1
  243. package/dist/assets/{react-DsYqgnFz.js → react-Cbh1mkS2.js} +1 -1
  244. package/dist/assets/{react-B_dpn2x_.js → react-CfuDRhRn.js} +1 -1
  245. package/dist/assets/{react-CPPpMWlr.js → react-DOhUJ6O2.js} +1 -1
  246. package/dist/assets/{react-CLJLIrqx.js → react-H0CMmi2N.js} +1 -1
  247. package/dist/assets/{react-B_IkKKOF.js → react-KKmCM6TX.js} +1 -1
  248. package/dist/assets/{react-4VjXw9yg.js → react-wx6Np1L0.js} +1 -1
  249. package/dist/assets/{recharts-07URl5uF.js → recharts-D8Mh9GJw.js} +1 -1
  250. package/dist/assets/{sentry-BsWDfhY_.js → sentry-CGE1ab0x.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-DW8TK-Jl.js → shield-DOlUxcFf-BeHXxYmi.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-BcVCEfwr-D-kim1rY.js +1 -0
  253. package/dist/assets/{toChartData-B3ouXKAd-DqPDcbms.js → toChartData-VTidOIL7-CTZNeqK0.js} +1 -1
  254. package/dist/assets/{uploadAttachment-DNNG-CMy-C0-pn6r-.js → uploadAttachment-CwSRD9la-Dwn2_OC8.js} +1 -1
  255. package/dist/assets/{uploadReceipts-Dge0cNF1-DDO6BRYH.js → uploadReceipts-Dge0cNF1-COPT6pnG.js} +1 -1
  256. package/dist/assets/{url-B-qq-bwJ.js → url-CxS4k21H.js} +1 -1
  257. package/dist/assets/{url-CPnr4zl0.js → url-D3fzoRiq.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-DDMxNeC6.js → useLongPress-GCK2COYQ-YmFx62lI.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-CIbBacHX.js → usp-line-BBd1wKwW-lvUUHuIi.js} +1 -1
  260. package/dist/assets/{utils-lvnYc7Lx.js → utils-Co3Y654K.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-DEUUJaZy.js → zeni-epic-state-CiJSQQSe.js} +3 -3
  262. package/dist/index.html +1 -1
  263. package/package.json +3 -3
  264. package/dist/assets/AccountInfoPage-DF6IU0EG-CpTk1WUV.js +0 -18
  265. package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-Bf67FiSu.js +0 -6
  266. package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-dC_CchwE.js +0 -27
  267. package/dist/assets/ChargeCardPromoPage-DuQe7BpX-C5KRheHX.js +0 -222
  268. package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-BoA9sGdB.js +0 -1
  269. package/dist/assets/CustomerOnboardingProductSuitePage-DMYHMJXg-BO7BCZyk.js +0 -202
  270. package/dist/assets/EntityDetailPage-B3TQ5hCP-uPk3J70w.js +0 -18
  271. package/dist/assets/LabeledDocumentField-Bjg8sNsg-Da4_7xZ7.js +0 -41
  272. package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-8dRO9py4.js +0 -1
  273. package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-86-Eks-y.js +0 -1
  274. package/dist/assets/MagicLinkInternationalWireDetailsPage-B3OpSWB3-B8JXsL7N.js +0 -1
  275. package/dist/assets/MagicLinkSuccessPage-CphaJa4k-D3EkcDWm.js +0 -31
  276. package/dist/assets/MailingDetailsSection-BJfZvT0b-Dh4yo_Lj.js +0 -21
  277. package/dist/assets/NoDataChart-B3s_7m2n-CAPJcqJ5.js +0 -26
  278. package/dist/assets/NoDataTable-CMpypnTw-DT8ESeaQ.js +0 -8
  279. package/dist/assets/OverlayContainerPage-D4QU0p4o-bJWKRuRf.js +0 -11
  280. package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-DU98N3RU.js +0 -32
  281. package/dist/assets/SignInScreen-DEP1cN19.js +0 -1
  282. package/dist/assets/StatementsPage-BCh51lDW-CdawgjO3.js +0 -58
  283. package/dist/assets/VendorACHDetailsPage-tUuZzJnN-BytxtWo8.js +0 -1
  284. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-CGwU72CX.js +0 -1
  285. package/dist/assets/analyticsHelper-C5JtTAtK.js +0 -1
  286. package/dist/assets/chartTypes-DJdbX13L-CYrZAg19.js +0 -1
  287. package/dist/assets/mapTimeframeBalancesToTreeNode-88qIN3FA-DT4qEBfo.js +0 -1
  288. package/dist/assets/mapTimeframeBalancesToTreeNode-AkxvYRty-Btx7Wg6i.js +0 -1
  289. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-KZ9-cjv6.js +0 -1
  290. package/dist/assets/toCOABalancesWithID-Bq4Xe7az-C9YUCLvJ.js +0 -1
@@ -1,4 +1,4 @@
1
- import{J as E,a9 as W,F as w,cF as _,V as n,cp as V,cq as F,cr as H,ac as q,aR as O,y as r,eY as J,b7 as K,o as U,u as t}from"./index-6sX8sCRU.js";import{a as x}from"./sentry-BsWDfhY_.js";import{n as u}from"./mui-BKJrVh4W.js";import{W as Y,A as G}from"./BankAccountWarningSection-uMOXLH0B-Dmm_2ZeO.js";import{M as Q}from"./MagicLinkTitleSection-77rxhjLm-BjRMFjlF.js";import{e as X}from"./BankAccountSection-BkOlwayA-gKroDONq.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="2860b46d-0fe6-416b-a8a5-94ec912c3792",e._sentryDebugIdIdentifier="sentry-dbid-2860b46d-0fe6-416b-a8a5-94ec912c3792")}catch{}})();const a={paddingTopBottomContainer:new r(t[3],t[3]),paddingLeftContainer:new r(t[3],t[6]),paddingRightContainer:new r(t[3],t[8]),sectionTitleMarginLeft:new r(t[4],t[6]),sectionTitleMarginTop:new r(12,t[3]),buttonWidth:new r(140,140)},T="achDetailsPage",p="bankAccountSection",A=e=>`${e}_form`,ue=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,isDisabled:k,style:S,onSaveHandler:j,onBackClick:h,onACHDetailsUpdated:B,onFetchBankName:N,isMagicLink:m,companyName:v,currencySymbol:D,amount:P,bankAccountContext:$})=>{const c=E(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(o),[o])}),[z,b]=x.useState(!1),l=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,R=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:y}=l,I={onOkClick:()=>{b(!1),i.reset(),h?.()},onCancelClick:()=>{b(!1)}},L=async(f,d)=>{const s=d[p].bankRoutingNumber;B(d),f===`${p}.bankRoutingNumber`&&s?.length===9&&J.test(s)===!0&&N?.(s)};x.useEffect(()=>{const f=i.watch((d,{name:s})=>{s!=null&&d!=null&&_(()=>L(s,d))});return()=>{f.unsubscribe()}});const M=i.handleSubmit(f=>{g.fetchState!=="In-Progress"&&j("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:S,size:c,children:[z===!0?n.jsx(V,{titleComponent:n.jsx(H,{children:l.discardTitle}),descriptionComponent:n.jsx(F,{children:l.discardDescription}),primaryButtonText:l.discard,secondaryButtonText:l.cancel,action:I}):null,n.jsx(Y,{header:m?n.jsx(Q,{companyName:v??"",currencySymbol:D??"",amount:P??0}):C.addACHDetails,isMagicLink:m,isDirty:i.formState.isDirty,onBackClick:h,setShowConfirmationPopup:b}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(G,{warningText:y.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:c,children:C.title}),n.jsx(ie,{children:n.jsx(q,{...i,children:n.jsx("form",{id:A(T),onSubmit:M,children:n.jsx(ee,{size:c,children:n.jsx(X,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:p,isDisabled:k})})})})})]}),n.jsx(O,{formId:A(T),primaryBtn:{label:m?y.submitDetails:y.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(c)},isDisabled:k!=null},showCancel:!m,cancelBtn:{label:R.cancel,style:{width:a.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?b(!0):(i.reset(),h?.())}}})]})},Z=e=>({[p]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=u.div`
1
+ import{J as E,a9 as W,F as w,cF as _,V as n,cp as V,cq as F,cr as H,ac as q,aR as O,y as r,eY as J,b7 as K,o as U,u as t}from"./index-rJQoaAfw.js";import{a as x}from"./sentry-CGE1ab0x.js";import{n as u}from"./mui-KNfEk2A1.js";import{W as Y,A as G}from"./BankAccountWarningSection--DkXEMWU-jfcY3ZKV.js";import{M as Q}from"./MagicLinkTitleSection-C_Xng7ad-D4iutPsA.js";import{e as X}from"./BankAccountSection-C8G2PrLh-OgTv2VaB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="fd564480-0fb7-411c-9d39-29e0a1896f2f",e._sentryDebugIdIdentifier="sentry-dbid-fd564480-0fb7-411c-9d39-29e0a1896f2f")}catch{}})();const a={paddingTopBottomContainer:new r(t[3],t[3]),paddingLeftContainer:new r(t[3],t[6]),paddingRightContainer:new r(t[3],t[8]),sectionTitleMarginLeft:new r(t[4],t[6]),sectionTitleMarginTop:new r(12,t[3]),buttonWidth:new r(140,140)},T="achDetailsPage",p="bankAccountSection",A=e=>`${e}_form`,ue=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,isDisabled:k,style:S,onSaveHandler:j,onBackClick:h,onACHDetailsUpdated:B,onFetchBankName:N,isMagicLink:m,companyName:v,currencySymbol:D,amount:P,bankAccountContext:$})=>{const c=E(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:x.useMemo(()=>Z(o),[o])}),[z,f]=x.useState(!1),l=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,R=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:y}=l,I={onOkClick:()=>{f(!1),i.reset(),h?.()},onCancelClick:()=>{f(!1)}},L=async(b,d)=>{const s=d[p].bankRoutingNumber;B(d),b===`${p}.bankRoutingNumber`&&s?.length===9&&J.test(s)===!0&&N?.(s)};x.useEffect(()=>{const b=i.watch((d,{name:s})=>{s!=null&&d!=null&&_(()=>L(s,d))});return()=>{b.unsubscribe()}});const M=i.handleSubmit(b=>{g.fetchState!=="In-Progress"&&j("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:S,size:c,children:[z===!0?n.jsx(V,{titleComponent:n.jsx(H,{children:l.discardTitle}),descriptionComponent:n.jsx(F,{children:l.discardDescription}),primaryButtonText:l.discard,secondaryButtonText:l.cancel,action:I}):null,n.jsx(Y,{header:m?n.jsx(Q,{companyName:v??"",currencySymbol:D??"",amount:P??0}):C.addACHDetails,isMagicLink:m,isDirty:i.formState.isDirty,onBackClick:h,setShowConfirmationPopup:f}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(G,{warningText:y.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:c,children:C.title}),n.jsx(ie,{children:n.jsx(q,{...i,children:n.jsx("form",{id:A(T),onSubmit:M,children:n.jsx(ee,{size:c,children:n.jsx(X,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:p,isDisabled:k})})})})})]}),n.jsx(O,{formId:A(T),primaryBtn:{label:m?y.submitDetails:y.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(c)},isDisabled:k!=null},showCancel:!m,cancelBtn:{label:R.cancel,style:{width:a.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?f(!0):(i.reset(),h?.())}}})]})},Z=e=>({[p]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=u.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{y as k,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b as D,ck as b1,kh as T,u as n,bP as f,dt as h1,p as d,a7 as S1,b3 as p1,d as m1,ki as g,ai as x,kj as Z1,kk as B1,ar as S,R as K,b7 as q,am as F1,kl as W1,dO as _1,g4 as D1,ci as k1,al as H1}from"./index-6sX8sCRU.js";import{a as e}from"./sentry-BsWDfhY_.js";import{n as i,c as P1,k as T1}from"./mui-BKJrVh4W.js";import{Gj as E,Gk as e1,Gl as F}from"./zeni-epic-state-DEUUJaZy.js";import{N as V1}from"./NavBarWithPicker-C3LVyiC9-etzEx9wd.js";import{F as u1,X as x1,Y as I,I as z1,J as O1,G as t1}from"./recharts-07URl5uF.js";import"./liveblocks-BAOmiMpj.js";import"./core-xud19niX.js";import"./lottie-cQKxXDSP.js";import"./analytics-Dz3HJTKp.js";import"./lexical-CFjIG720.js";import"./utils-lvnYc7Lx.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="a8d04b49-03d0-4148-818e-4e43324c55b3",t._sentryDebugIdIdentifier="sentry-dbid-a8d04b49-03d0-4148-818e-4e43324c55b3")}catch{}})();const C1={titleLoaderWidth:new k(200,200,300),subtitleLoaderWidth:new k(100,100,200)},G1=i.div`
1
+ import{y as k,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b as D,ck as b1,kh as T,u as n,bP as g,dt as h1,p as d,a7 as S1,b3 as p1,e as m1,ki as f,ai as x,kj as Z1,kk as B1,ar as S,R as K,b7 as q,am as F1,kl as W1,dO as _1,g4 as D1,ci as k1,al as H1}from"./index-rJQoaAfw.js";import{a as e}from"./sentry-CGE1ab0x.js";import{n as i,c as P1,k as T1}from"./mui-KNfEk2A1.js";import{Gj as E,Gk as e1,Gl as F}from"./zeni-epic-state-CiJSQQSe.js";import{N as V1}from"./NavBarWithPicker-Cx9v8jpk-DJ52ZXJM.js";import{F as u1,X as x1,Y as I,I as z1,J as O1,G as t1}from"./recharts-D8Mh9GJw.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="1e179bb1-e57a-41fe-a501-a032bdf00eac",t._sentryDebugIdIdentifier="sentry-dbid-1e179bb1-e57a-41fe-a501-a032bdf00eac")}catch{}})();const C1={titleLoaderWidth:new k(200,200,300),subtitleLoaderWidth:new k(100,100,200)},G1=i.div`
2
2
  width: 100%;
3
3
  height: 100%;
4
4
  border: 1px solid ${t=>t.theme.colors.grey3};
@@ -17,7 +17,7 @@ import{y as k,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
17
17
  display: flex;
18
18
  flex-direction: column;
19
19
  gap: ${r.sp2};
20
- `,A1=({customStyle:t})=>{const a=M();return C.jsx(G1,{style:t,children:C.jsxs(N1,{children:[C.jsxs(R1,{children:[C.jsx(f,{width:C1.titleLoaderWidth.value(a),height:n[4]}),C.jsx(f,{width:C1.subtitleLoaderWidth.value(a),height:21})]}),C.jsx(f,{width:n[7],height:n[4]})]})})},I1=i.div`
20
+ `,A1=({customStyle:t})=>{const a=M();return C.jsx(G1,{style:t,children:C.jsxs(N1,{children:[C.jsxs(R1,{children:[C.jsx(g,{width:C1.titleLoaderWidth.value(a),height:n[4]}),C.jsx(g,{width:C1.subtitleLoaderWidth.value(a),height:21})]}),C.jsx(g,{width:n[7],height:n[4]})]})})},I1=i.div`
21
21
  display: flex;
22
22
  justify-content: space-between;
23
23
  // min-width: calc(${r.sp12} + ${r.sp12});
@@ -32,7 +32,7 @@ import{y as k,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
32
32
  display: flex;
33
33
  flex-direction: column;
34
34
  gap: ${r.sp2};
35
- `,r1=({customStyle:t})=>C.jsxs(I1,{style:{...t},children:[C.jsxs(U1,{children:[C.jsx(f,{width:150,height:24}),C.jsx(f,{width:245,height:21})]}),C.jsx(h1,{width:32,height:32})]}),J1=i.div`
35
+ `,r1=({customStyle:t})=>C.jsxs(I1,{style:{...t},children:[C.jsxs(U1,{children:[C.jsx(g,{width:150,height:24}),C.jsx(g,{width:245,height:21})]}),C.jsx(h1,{width:32,height:32})]}),J1=i.div`
36
36
  width: 100%;
37
37
  border: 1px solid ${t=>t.theme.colors.grey3};
38
38
  border-radius: ${r.sp2};
@@ -70,7 +70,7 @@ import{y as k,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
70
70
  display: flex;
71
71
  flex-direction: column;
72
72
  gap: ${r.sp1};
73
- `,t2=({customStyle:t})=>C.jsxs(J1,{style:t,children:[C.jsx(K1,{children:C.jsxs(q1,{children:[C.jsx(f,{width:180,height:n[4]}),C.jsx(f,{width:300,height:21})]})}),C.jsx(X1,{children:[...Array(3)].map((a,s)=>C.jsxs(Y1,{children:[C.jsxs(Q1,{children:[C.jsx(h1,{width:n[6],height:n[6]}),C.jsxs(e2,{children:[C.jsx(f,{width:120,height:18}),C.jsx(f,{width:n[11],height:n[3]})]})]}),C.jsx(f,{width:n[11],height:18}),C.jsx(f,{width:n[11],height:18})]},s))})]}),C2={containerMarginLeft:new k(0,0,n[9],n[9],n[9])},r2=i.div`
73
+ `,t2=({customStyle:t})=>C.jsxs(J1,{style:t,children:[C.jsx(K1,{children:C.jsxs(q1,{children:[C.jsx(g,{width:180,height:n[4]}),C.jsx(g,{width:300,height:21})]})}),C.jsx(X1,{children:[...Array(3)].map((a,s)=>C.jsxs(Y1,{children:[C.jsxs(Q1,{children:[C.jsx(h1,{width:n[6],height:n[6]}),C.jsxs(e2,{children:[C.jsx(g,{width:120,height:18}),C.jsx(g,{width:n[11],height:n[3]})]})]}),C.jsx(g,{width:n[11],height:18}),C.jsx(g,{width:n[11],height:18})]},s))})]}),C2={containerMarginLeft:new k(0,0,n[9],n[9],n[9])},r2=i.div`
74
74
  display: flex;
75
75
  flex-direction: row;
76
76
  margin-left: ${t=>C2.containerMarginLeft.valuePx(t.windowSize)};
@@ -120,12 +120,12 @@ import{y as k,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
120
120
  border-radius: ${r.sp2};
121
121
  box-shadow: ${d.Elevation1Light};
122
122
  padding: ${r.sp4};
123
- `,g2=i.div`
123
+ `,f2=i.div`
124
124
  display: flex;
125
125
  flex-direction: column;
126
126
  gap: 8px;
127
127
  width: 100%;
128
- `,f2=i.div`
128
+ `,g2=i.div`
129
129
  display: flex;
130
130
  flex-direction: row;
131
131
  align-items: center;
@@ -175,7 +175,7 @@ import{y as k,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
175
175
  color: ${t=>t.theme.colors.brandColorJadeDark};
176
176
  `,Z2=i(x)`
177
177
  color: ${t=>t.theme.colors.hero};
178
- `;function B2({icon:t,title:a,data:s,currency:o}){return C.jsxs(g2,{children:[C.jsxs(f2,{children:[C.jsx(L2,{children:t}),C.jsx(E2,{children:C.jsx(w2,{children:a})})]}),C.jsx(d2,{}),s.map(l=>C.jsx(a2,{taskName:l.eventName,taskCount:l.eventsCount,timeSavedMinutes:l.timeSavedInMinutes,costSaved:l.totalCostSaved,currency:o},l.eventName))]})}const F2=t=>{switch(t){case g.aiPerformanceDashboard.personas.personaTypes.aiBookkeeper:return C.jsx(O,{});case g.aiPerformanceDashboard.personas.personaTypes.aiCardsAgent:return C.jsx(y2,{});case g.aiPerformanceDashboard.personas.personaTypes.aiBillsAgent:return C.jsx(j2,{});case g.aiPerformanceDashboard.personas.personaTypes.aiExpensesAgent:return C.jsx($2,{});case g.aiPerformanceDashboard.personas.personaTypes.aiBankingAgent:return C.jsx(v2,{});case g.aiPerformanceDashboard.personas.personaTypes.accountant:return C.jsx(O,{});case g.aiPerformanceDashboard.personas.personaTypes.aiCfo:return C.jsx(M2,{});default:return C.jsx(O,{})}};function W2({personas:t,currency:a}){return C.jsxs(x2,{children:[C.jsxs(b2,{children:[C.jsx(S2,{children:g.aiPerformanceDashboard.tileTitle}),C.jsx(Z2,{children:g.aiPerformanceDashboard.tileSubtitle})]}),t.map(s=>C.jsx(B2,{icon:F2(s.personaType),title:s.personaName,data:s.eventGroups,currency:a},s.personaName))]})}const _2=i.div`
178
+ `;function B2({icon:t,title:a,data:s,currency:o}){return C.jsxs(f2,{children:[C.jsxs(g2,{children:[C.jsx(L2,{children:t}),C.jsx(E2,{children:C.jsx(w2,{children:a})})]}),C.jsx(d2,{}),s.map(l=>C.jsx(a2,{taskName:l.eventName,taskCount:l.eventsCount,timeSavedMinutes:l.timeSavedInMinutes,costSaved:l.totalCostSaved,currency:o},l.eventName))]})}const F2=t=>{switch(t){case f.aiPerformanceDashboard.personas.personaTypes.aiBookkeeper:return C.jsx(O,{});case f.aiPerformanceDashboard.personas.personaTypes.aiCardsAgent:return C.jsx(y2,{});case f.aiPerformanceDashboard.personas.personaTypes.aiBillsAgent:return C.jsx(j2,{});case f.aiPerformanceDashboard.personas.personaTypes.aiExpensesAgent:return C.jsx($2,{});case f.aiPerformanceDashboard.personas.personaTypes.aiBankingAgent:return C.jsx(v2,{});case f.aiPerformanceDashboard.personas.personaTypes.accountant:return C.jsx(O,{});case f.aiPerformanceDashboard.personas.personaTypes.aiCfo:return C.jsx(M2,{});default:return C.jsx(O,{})}};function W2({personas:t,currency:a}){return C.jsxs(x2,{children:[C.jsxs(b2,{children:[C.jsx(S2,{children:f.aiPerformanceDashboard.tileTitle}),C.jsx(Z2,{children:f.aiPerformanceDashboard.tileSubtitle})]}),t.map(s=>C.jsx(B2,{icon:F2(s.personaType),title:s.personaName,data:s.eventGroups,currency:a},s.personaName))]})}const _2=i.div`
179
179
  display: flex;
180
180
  flex-direction: column;
181
181
  justify-content: space-between;
@@ -315,7 +315,7 @@ import{y as k,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
315
315
  display: flex;
316
316
  align-items: center;
317
317
  justify-content: center;
318
- `,d3=i(r3)``;function c3(){return C.jsxs(i3,{children:[C.jsxs(o3,{children:[C.jsx(n3,{children:g.aiPerformanceDashboard.tileTitle}),C.jsx(a3,{children:g.aiPerformanceDashboard.tileSubtitle})]}),C.jsx(l3,{children:C.jsx(d3,{})}),C.jsx(s3,{children:g.aiPerformanceDashboard.noPerformanceData.firstLine})]})}const h3=t=>e.createElement("svg",{viewBox:"0 0 673 153",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("line",{x1:1,y1:146.5,x2:671,y2:146.5,stroke:"#545B5C"}),e.createElement("path",{d:"M61.0909 104.592C30.5455 104.592 30.5455 134.884 0 134.884V148H672V11.5384C645.5 7 638 27.4997 609 24.6307C578.455 24.6307 575 37.7229 547.5 33.6477C518 26.6449 512.5 44.269 482 41.7513C453.525 39.4008 458.545 59.879 428 59.879C397.455 59.879 397 46.7634 366.5 50.0423C335.955 50.0423 336 78.7895 305.455 78.7895C274.909 78.7895 274.909 101.697 244.364 101.697C213.818 101.697 210.998 90.795 180.453 90.795C149.907 90.795 152.727 111.539 122.182 111.539C91.6364 111.539 91.6364 104.592 61.0909 104.592Z",fill:"url(#paint0_linear_5550_4410)"}),e.createElement("path",{d:"M0 135C30.5682 135 30.5682 104.482 61.1364 104.482C91.7046 104.482 91.7046 111.387 122.273 111.387C152.841 111.387 150.019 90.7676 180.587 90.7676C211.155 90.7676 213.977 101.605 244.546 101.605C275.114 101.605 275.114 78.834 305.682 78.834C336.25 78.834 336.205 50.2592 366.773 50.2592C397.296 46.9999 397.75 60.037 428.319 60.037C458.887 60.037 449.789 42.5184 480.357 42.5184C510.88 46.3638 515.383 26.5015 547.908 33.9629C576.929 39.0147 578.885 24.9999 609.453 24.9999C638.475 27.8518 641.5 8.49994 672 11.9999",stroke:"#545B5C",strokeDasharray:"4 4"}),e.createElement("path",{d:"M61.0909 120.231C29 126.619 30.5455 143.886 0 143.886V147.5H672V61.5C643 58 638.5 69.8023 609.5 68C578.955 68 578.045 75.6644 547.5 75.6644C516.955 75.6644 511 82.5 481 81.5C450.455 81.5 458.545 92.1428 428 92.1428C397.455 92.1428 397 83.9036 366.5 85.9634C335.955 85.9634 336 104.022 305.455 104.022C274.909 104.022 274.909 118.413 244.364 118.413C213.818 118.413 210.998 111.564 180.453 111.564C149.907 111.564 152.727 124.595 122.182 124.595C91.6364 124.595 91.5 118.99 61.0909 120.231Z",fill:"url(#paint1_linear_5550_4410)"}),e.createElement("path",{d:"M0.5 143.886C31.0455 143.886 36 122.604 61.0909 120.231C91.5 118.413 91.6364 124.595 122.182 124.595C152.727 124.595 149.907 111.564 180.453 111.564C210.998 111.564 213.818 118.413 244.364 118.413C274.909 118.413 274.909 104.022 305.455 104.022C336 104.022 335.955 85.9635 366.5 85.9635C397 83.9037 397.455 92.1429 428 92.1429C458.545 92.1429 450.955 81.0001 481.5 81.0001C507.5 85.9635 518 72.5001 547.5 75.6645C581 75.6645 578.455 68.0001 609 68.0001C638 69.8024 640.5 57.5 672 61.5",stroke:"#545B5C",strokeDasharray:"4 4"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_5550_4410",x1:336,y1:10.8796,x2:336,y2:148,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#3E4343"}),e.createElement("stop",{offset:1,stopColor:"#3E4343",stopOpacity:0})),e.createElement("linearGradient",{id:"paint1_linear_5550_4410",x1:336,y1:60.8473,x2:336,y2:147.5,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#3E4343"}),e.createElement("stop",{offset:1,stopColor:"#3E4343",stopOpacity:0})))),p3=t=>e.createElement("svg",{viewBox:"0 0 673 153",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("line",{x1:1,y1:146.5,x2:671,y2:146.5,stroke:"#D4DCDD"}),e.createElement("path",{d:"M61.0909 104.592C30.5455 104.592 30.5455 134.884 0 134.884V148H672V11.5384C645.5 7 638 27.4997 609 24.6307C578.455 24.6307 575 37.7229 547.5 33.6477C518 26.6449 512.5 44.269 482 41.7513C453.525 39.4008 458.545 59.879 428 59.879C397.455 59.879 397 46.7634 366.5 50.0423C335.955 50.0423 336 78.7895 305.455 78.7895C274.909 78.7895 274.909 101.697 244.364 101.697C213.818 101.697 210.998 90.795 180.453 90.795C149.907 90.795 152.727 111.539 122.182 111.539C91.6364 111.539 91.6364 104.592 61.0909 104.592Z",fill:"url(#paint0_linear_5550_1630)"}),e.createElement("path",{d:"M0 135C30.5682 135 30.5682 104.482 61.1364 104.482C91.7046 104.482 91.7046 111.387 122.273 111.387C152.841 111.387 150.019 90.7676 180.587 90.7676C211.155 90.7676 213.977 101.605 244.546 101.605C275.114 101.605 275.114 78.834 305.682 78.834C336.25 78.834 336.205 50.2592 366.773 50.2592C397.296 46.9999 397.75 60.037 428.319 60.037C458.887 60.037 449.789 42.5184 480.357 42.5184C510.88 46.3638 515.383 26.5015 547.908 33.9629C576.929 39.0147 578.885 24.9999 609.453 24.9999C638.475 27.8518 641.5 8.49994 672 11.9999",stroke:"#D4DCDD",strokeDasharray:"4 4"}),e.createElement("path",{d:"M61.0909 120.231C29 126.619 30.5455 143.886 0 143.886V147.5H672V61.5C643 58 638.5 69.8023 609.5 68C578.955 68 578.045 75.6644 547.5 75.6644C516.955 75.6644 511 82.5 481 81.5C450.455 81.5 458.545 92.1428 428 92.1428C397.455 92.1428 397 83.9036 366.5 85.9634C335.955 85.9634 336 104.022 305.455 104.022C274.909 104.022 274.909 118.413 244.364 118.413C213.818 118.413 210.998 111.564 180.453 111.564C149.907 111.564 152.727 124.595 122.182 124.595C91.6364 124.595 91.5 118.99 61.0909 120.231Z",fill:"url(#paint1_linear_5550_1630)"}),e.createElement("path",{d:"M0.5 143.886C31.0455 143.886 36 122.604 61.0909 120.231C91.5 118.413 91.6364 124.595 122.182 124.595C152.727 124.595 149.907 111.564 180.453 111.564C210.998 111.564 213.818 118.413 244.364 118.413C274.909 118.413 274.909 104.022 305.455 104.022C336 104.022 335.955 85.9635 366.5 85.9635C397 83.9037 397.455 92.1429 428 92.1429C458.545 92.1429 450.955 81.0001 481.5 81.0001C507.5 85.9635 518 72.5001 547.5 75.6645C581 75.6645 578.455 68.0001 609 68.0001C638 69.8024 640.5 57.5 672 61.5",stroke:"#D4DCDD",strokeDasharray:"4 4"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_5550_1630",x1:336,y1:10.8796,x2:336,y2:148,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#E9F0F0"}),e.createElement("stop",{offset:1,stopColor:"#E9F0F0",stopOpacity:0})),e.createElement("linearGradient",{id:"paint1_linear_5550_1630",x1:336,y1:60.8473,x2:336,y2:147.5,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#E9F0F0"}),e.createElement("stop",{offset:1,stopColor:"#E9F0F0",stopOpacity:0})))),m3=i.div`
318
+ `,d3=i(r3)``;function c3(){return C.jsxs(i3,{children:[C.jsxs(o3,{children:[C.jsx(n3,{children:f.aiPerformanceDashboard.tileTitle}),C.jsx(a3,{children:f.aiPerformanceDashboard.tileSubtitle})]}),C.jsx(l3,{children:C.jsx(d3,{})}),C.jsx(s3,{children:f.aiPerformanceDashboard.noPerformanceData.firstLine})]})}const h3=t=>e.createElement("svg",{viewBox:"0 0 673 153",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("line",{x1:1,y1:146.5,x2:671,y2:146.5,stroke:"#545B5C"}),e.createElement("path",{d:"M61.0909 104.592C30.5455 104.592 30.5455 134.884 0 134.884V148H672V11.5384C645.5 7 638 27.4997 609 24.6307C578.455 24.6307 575 37.7229 547.5 33.6477C518 26.6449 512.5 44.269 482 41.7513C453.525 39.4008 458.545 59.879 428 59.879C397.455 59.879 397 46.7634 366.5 50.0423C335.955 50.0423 336 78.7895 305.455 78.7895C274.909 78.7895 274.909 101.697 244.364 101.697C213.818 101.697 210.998 90.795 180.453 90.795C149.907 90.795 152.727 111.539 122.182 111.539C91.6364 111.539 91.6364 104.592 61.0909 104.592Z",fill:"url(#paint0_linear_5550_4410)"}),e.createElement("path",{d:"M0 135C30.5682 135 30.5682 104.482 61.1364 104.482C91.7046 104.482 91.7046 111.387 122.273 111.387C152.841 111.387 150.019 90.7676 180.587 90.7676C211.155 90.7676 213.977 101.605 244.546 101.605C275.114 101.605 275.114 78.834 305.682 78.834C336.25 78.834 336.205 50.2592 366.773 50.2592C397.296 46.9999 397.75 60.037 428.319 60.037C458.887 60.037 449.789 42.5184 480.357 42.5184C510.88 46.3638 515.383 26.5015 547.908 33.9629C576.929 39.0147 578.885 24.9999 609.453 24.9999C638.475 27.8518 641.5 8.49994 672 11.9999",stroke:"#545B5C",strokeDasharray:"4 4"}),e.createElement("path",{d:"M61.0909 120.231C29 126.619 30.5455 143.886 0 143.886V147.5H672V61.5C643 58 638.5 69.8023 609.5 68C578.955 68 578.045 75.6644 547.5 75.6644C516.955 75.6644 511 82.5 481 81.5C450.455 81.5 458.545 92.1428 428 92.1428C397.455 92.1428 397 83.9036 366.5 85.9634C335.955 85.9634 336 104.022 305.455 104.022C274.909 104.022 274.909 118.413 244.364 118.413C213.818 118.413 210.998 111.564 180.453 111.564C149.907 111.564 152.727 124.595 122.182 124.595C91.6364 124.595 91.5 118.99 61.0909 120.231Z",fill:"url(#paint1_linear_5550_4410)"}),e.createElement("path",{d:"M0.5 143.886C31.0455 143.886 36 122.604 61.0909 120.231C91.5 118.413 91.6364 124.595 122.182 124.595C152.727 124.595 149.907 111.564 180.453 111.564C210.998 111.564 213.818 118.413 244.364 118.413C274.909 118.413 274.909 104.022 305.455 104.022C336 104.022 335.955 85.9635 366.5 85.9635C397 83.9037 397.455 92.1429 428 92.1429C458.545 92.1429 450.955 81.0001 481.5 81.0001C507.5 85.9635 518 72.5001 547.5 75.6645C581 75.6645 578.455 68.0001 609 68.0001C638 69.8024 640.5 57.5 672 61.5",stroke:"#545B5C",strokeDasharray:"4 4"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_5550_4410",x1:336,y1:10.8796,x2:336,y2:148,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#3E4343"}),e.createElement("stop",{offset:1,stopColor:"#3E4343",stopOpacity:0})),e.createElement("linearGradient",{id:"paint1_linear_5550_4410",x1:336,y1:60.8473,x2:336,y2:147.5,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#3E4343"}),e.createElement("stop",{offset:1,stopColor:"#3E4343",stopOpacity:0})))),p3=t=>e.createElement("svg",{viewBox:"0 0 673 153",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("line",{x1:1,y1:146.5,x2:671,y2:146.5,stroke:"#D4DCDD"}),e.createElement("path",{d:"M61.0909 104.592C30.5455 104.592 30.5455 134.884 0 134.884V148H672V11.5384C645.5 7 638 27.4997 609 24.6307C578.455 24.6307 575 37.7229 547.5 33.6477C518 26.6449 512.5 44.269 482 41.7513C453.525 39.4008 458.545 59.879 428 59.879C397.455 59.879 397 46.7634 366.5 50.0423C335.955 50.0423 336 78.7895 305.455 78.7895C274.909 78.7895 274.909 101.697 244.364 101.697C213.818 101.697 210.998 90.795 180.453 90.795C149.907 90.795 152.727 111.539 122.182 111.539C91.6364 111.539 91.6364 104.592 61.0909 104.592Z",fill:"url(#paint0_linear_5550_1630)"}),e.createElement("path",{d:"M0 135C30.5682 135 30.5682 104.482 61.1364 104.482C91.7046 104.482 91.7046 111.387 122.273 111.387C152.841 111.387 150.019 90.7676 180.587 90.7676C211.155 90.7676 213.977 101.605 244.546 101.605C275.114 101.605 275.114 78.834 305.682 78.834C336.25 78.834 336.205 50.2592 366.773 50.2592C397.296 46.9999 397.75 60.037 428.319 60.037C458.887 60.037 449.789 42.5184 480.357 42.5184C510.88 46.3638 515.383 26.5015 547.908 33.9629C576.929 39.0147 578.885 24.9999 609.453 24.9999C638.475 27.8518 641.5 8.49994 672 11.9999",stroke:"#D4DCDD",strokeDasharray:"4 4"}),e.createElement("path",{d:"M61.0909 120.231C29 126.619 30.5455 143.886 0 143.886V147.5H672V61.5C643 58 638.5 69.8023 609.5 68C578.955 68 578.045 75.6644 547.5 75.6644C516.955 75.6644 511 82.5 481 81.5C450.455 81.5 458.545 92.1428 428 92.1428C397.455 92.1428 397 83.9036 366.5 85.9634C335.955 85.9634 336 104.022 305.455 104.022C274.909 104.022 274.909 118.413 244.364 118.413C213.818 118.413 210.998 111.564 180.453 111.564C149.907 111.564 152.727 124.595 122.182 124.595C91.6364 124.595 91.5 118.99 61.0909 120.231Z",fill:"url(#paint1_linear_5550_1630)"}),e.createElement("path",{d:"M0.5 143.886C31.0455 143.886 36 122.604 61.0909 120.231C91.5 118.413 91.6364 124.595 122.182 124.595C152.727 124.595 149.907 111.564 180.453 111.564C210.998 111.564 213.818 118.413 244.364 118.413C274.909 118.413 274.909 104.022 305.455 104.022C336 104.022 335.955 85.9635 366.5 85.9635C397 83.9037 397.455 92.1429 428 92.1429C458.545 92.1429 450.955 81.0001 481.5 81.0001C507.5 85.9635 518 72.5001 547.5 75.6645C581 75.6645 578.455 68.0001 609 68.0001C638 69.8024 640.5 57.5 672 61.5",stroke:"#D4DCDD",strokeDasharray:"4 4"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_5550_1630",x1:336,y1:10.8796,x2:336,y2:148,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#E9F0F0"}),e.createElement("stop",{offset:1,stopColor:"#E9F0F0",stopOpacity:0})),e.createElement("linearGradient",{id:"paint1_linear_5550_1630",x1:336,y1:60.8473,x2:336,y2:147.5,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#E9F0F0"}),e.createElement("stop",{offset:1,stopColor:"#E9F0F0",stopOpacity:0})))),m3=i.div`
319
319
  position: relative;
320
320
  width: 100%;
321
321
  height: 100%;
@@ -337,12 +337,12 @@ import{y as k,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
337
337
  position: relative;
338
338
  width: 100%;
339
339
  height: calc(100% - 52px);
340
- `,g3=i.div`
340
+ `,f3=i.div`
341
341
  position: absolute;
342
342
  width: 100%;
343
343
  height: 100%;
344
344
  bottom: 0;
345
- `,f3=i(p3)`
345
+ `,g3=i(p3)`
346
346
  position: absolute;
347
347
  margin: auto;
348
348
  bottom: ${r.sp5};
@@ -350,7 +350,7 @@ import{y as k,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
350
350
  position: absolute;
351
351
  margin: auto;
352
352
  bottom: ${r.sp5};
353
- `;function E3(t,a){const s=new Date(`${t}-01`),o=new Date(`${a}-01`),l=[];for(;s<=o;){const c=s.toISOString().slice(0,7);l.push({month:c,costSaved:0,timeSavedInMinutes:0}),s.setMonth(s.getMonth()+1)}return l}function w3({selectedTimeSeries:t}){const{dark:a}=S1(),s=M(),o=E3(t.fromMonth,t.toMonth),{aiPerformanceDashboard:l}=j.getLocalizedStrings();return C.jsxs(m3,{windowSize:s,children:[C.jsx(k3,{children:C.jsx(u3,{children:l.chartTitle})}),C.jsxs(x3,{children:[a?C.jsx(L3,{}):C.jsx(f3,{}),C.jsx(g3,{children:C.jsx(p1,{children:({width:c,height:h})=>C.jsxs(u1,{width:c,height:h,data:o,margin:{top:10,right:30,left:0,bottom:0},children:[C.jsx(x1,{dataKey:"month",tickFormatter:p=>new Date(p+"-01").toLocaleString("en-US",{month:"short",year:"2-digit",timeZone:"UTC"}),tickLine:!1,axisLine:!1,tick:{fill:d.neutralGrey1Light,...D.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),C.jsx(I,{hide:!0})]})})})]})]})}const M3=1.2,y3={headerGap:new k(n[3],n[3],n[1],n[1],n[1])},j3=i.div`
353
+ `;function E3(t,a){const s=new Date(`${t}-01`),o=new Date(`${a}-01`),l=[];for(;s<=o;){const c=s.toISOString().slice(0,7);l.push({month:c,costSaved:0,timeSavedInMinutes:0}),s.setMonth(s.getMonth()+1)}return l}function w3({selectedTimeSeries:t}){const{dark:a}=S1(),s=M(),o=E3(t.fromMonth,t.toMonth),{aiPerformanceDashboard:l}=j.getLocalizedStrings();return C.jsxs(m3,{windowSize:s,children:[C.jsx(k3,{children:C.jsx(u3,{children:l.chartTitle})}),C.jsxs(x3,{children:[a?C.jsx(L3,{}):C.jsx(g3,{}),C.jsx(f3,{children:C.jsx(p1,{children:({width:c,height:h})=>C.jsxs(u1,{width:c,height:h,data:o,margin:{top:10,right:30,left:0,bottom:0},children:[C.jsx(x1,{dataKey:"month",tickFormatter:p=>new Date(p+"-01").toLocaleString("en-US",{month:"short",year:"2-digit",timeZone:"UTC"}),tickLine:!1,axisLine:!1,tick:{fill:d.neutralGrey1Light,...D.extraSmallRegular.cssObject},interval:"preserveStartEnd"}),C.jsx(I,{hide:!0})]})})})]})]})}const M3=1.2,y3={headerGap:new k(n[3],n[3],n[1],n[1],n[1])},j3=i.div`
354
354
  width: 192px;
355
355
  background-color: ${t=>t.theme.colors.black};
356
356
  border-radius: ${r.sp1};
@@ -536,4 +536,4 @@ import{y as k,a8 as y1,J as M,F as j,cd as j1,V as C,bT as $1,o as r,aP as v1,b
536
536
  &:hover {
537
537
  color: ${t=>t.theme.colors.primary};
538
538
  }
539
- `,o4=(t,a)=>t===a?`(${T(t)})`:`(${T(t)} - ${T(a)})`;function g4({aggregatedReport:t,onBackClick:a,onReload:s,onTimeRangeSelect:o,onClickMenuIcon:l}){const c=y1().analytics,h=M(),{common:p}=j.getLocalizedStrings(),[u,v]=e.useState(!1),[y,$]=e.useState(null),H=[...e1],w=e1[1],[P,X]=e.useState(E(w)),[Z,Y]=e.useState(w),[g1,f1]=e.useState(!1);j1({componentName:"aiPerformance",enabled:t.fetchState==="Completed"});const b=t.fetchState==="Not-Started"||t.fetchState==="In-Progress",L=t.fetchState==="Error",L1=m=>m.flatMap(M1=>M1.eventGroups.map(B=>({event_name:B.eventName,events_count:B.eventsCount,time_saved_in_minutes:B.timeSavedInMinutes,total_cost_saved:B.totalCostSaved})));e.useEffect(()=>{$("home"),o(E(Z).fromMonth,E(Z).toMonth)},[]),e.useEffect(()=>{if(t.fetchState==="Completed"&&y){const m={period_selected:Z,cost_saved:t.summary.totalCostSaved,time_saved:t.summary.totalTimeSavedMinutes,task_performed:L1(t.personas)};y==="home"?c.trackAIPerfHome(m):y==="refresh"?c.trackAIPerfRefresh(m):y==="timePeriodSelect"&&c.trackAIPerfTimePeriodSelect(m),$(null)}},[t.fetchState,y]),e.useEffect(()=>{const m=()=>{f1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const E1=C.jsx(C4,{"data-testid":`${v1("ai-performance-page","refresh-icon")}`,onClick:()=>{v(!0),$("refresh"),s(E(w).fromMonth,E(w).toMonth),Y(w),X(E(w))},children:C.jsx($1,{style:{marginTop:r.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:C.jsx(i4,{spinning:b&&u})})}),w1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:H,valueToLabel:m=>m,selectedValue:`${Z} ${o4(P.fromMonth,P.toMonth)}`,titleTextStyle:D.largeMedium,onPickerSelectionChanged:m=>{m!=null&&($("timePeriodSelect"),Y(F(m)),X(E(F(m))),o(E(F(m)).fromMonth,E(F(m)).toMonth))},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:a,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:l,rightSideComponent:E1},Q=Number.parseFloat((t?.summary?.totalTimeSavedMinutes/60).toFixed());return C.jsxs(q3,{children:[C.jsx(K3,{isScrolled:g1,windowSize:h,paddingLeft:_.contentPaddingLeft.value(h),paddingRight:_.contentPaddingRight.value(h),children:C.jsx(V1,{...w1})}),C.jsxs(X3,{windowSize:h,children:[C.jsxs(Y3,{windowSize:h,children:[C.jsxs(e4,{windowSize:h,children:[b?C.jsx(r1,{customStyle:{margin:`0 0 ${r.sp3} 0`}}):C.jsx(o1,{type:"cost",value:L?`${p.strings.hyphen}`:Number(t.summary?.totalCostSaved.toFixed()).toLocaleString(),currency:t.currency,style:{margin:`0 0 ${r.sp3} 0`},noData:L}),b?C.jsx(r1,{customStyle:{margin:"0"}}):C.jsx(o1,{type:"time",value:L?`${p.strings.hyphen}`:t.summary?.totalTimeSavedMinutes<60?Number(t.summary?.totalTimeSavedMinutes).toFixed().toLocaleString():Q.toLocaleString(),currency:t.currency,noData:L,timeUnit:L?"":t.summary?.totalTimeSavedMinutes<60?t.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:Q>1?p.timeStrings.hours:p.timeStrings.hour})]}),C.jsx(t4,{windowSize:h,children:b?C.jsx(A1,{customStyle:{margin:`0 0 ${r.sp3} 0`}}):L?C.jsx(w3,{selectedTimeSeries:P}):C.jsx(H3,{performanceTimeSeries:t.monthlySummary})})]}),b?C.jsx(c1,{windowSize:h,children:C.jsx(t2,{})}):C.jsxs(C.Fragment,{children:[C.jsx(c1,{windowSize:h,children:L||t.personas.length===0?C.jsx(c3,{}):C.jsx(W2,{personas:t.personas,currency:t.currency})}),C.jsxs(Q3,{windowSize:h,children:[C.jsx(U3,{performanceSummary:t.summary,currency:t.currency,isPerformanceReportNotFound:L}),C.jsx(C3,{performanceSummary:t.summary,currency:t.currency,isPerformanceReportNotFound:L})]})]})]})]})}export{g4 as default,J3 as navBarHeight};
539
+ `,o4=(t,a)=>t===a?`(${T(t)})`:`(${T(t)} - ${T(a)})`;function f4({aggregatedReport:t,onBackClick:a,onReload:s,onTimeRangeSelect:o,onClickMenuIcon:l}){const c=y1().analytics,h=M(),{common:p}=j.getLocalizedStrings(),[u,v]=e.useState(!1),[y,$]=e.useState(null),H=[...e1],w=e1[1],[P,X]=e.useState(E(w)),[Z,Y]=e.useState(w),[f1,g1]=e.useState(!1);j1({componentName:"aiPerformance",enabled:t.fetchState==="Completed"});const b=t.fetchState==="Not-Started"||t.fetchState==="In-Progress",L=t.fetchState==="Error",L1=m=>m.flatMap(M1=>M1.eventGroups.map(B=>({event_name:B.eventName,events_count:B.eventsCount,time_saved_in_minutes:B.timeSavedInMinutes,total_cost_saved:B.totalCostSaved})));e.useEffect(()=>{$("home"),o(E(Z).fromMonth,E(Z).toMonth)},[]),e.useEffect(()=>{if(t.fetchState==="Completed"&&y){const m={period_selected:Z,cost_saved:t.summary.totalCostSaved,time_saved:t.summary.totalTimeSavedMinutes,task_performed:L1(t.personas)};y==="home"?c.trackAIPerfHome(m):y==="refresh"?c.trackAIPerfRefresh(m):y==="timePeriodSelect"&&c.trackAIPerfTimePeriodSelect(m),$(null)}},[t.fetchState,y]),e.useEffect(()=>{const m=()=>{g1(window.scrollY>0)};return window.addEventListener("scroll",m),m(),()=>{window.removeEventListener("scroll",m)}},[]);const E1=C.jsx(C4,{"data-testid":`${v1("ai-performance-page","refresh-icon")}`,onClick:()=>{v(!0),$("refresh"),s(E(w).fromMonth,E(w).toMonth),Y(w),X(E(w))},children:C.jsx($1,{style:{marginTop:r.sp1},placement:"bottom",title:p.texts.refresh,enterDelay:600,children:C.jsx(i4,{spinning:b&&u})})}),w1={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:H,valueToLabel:m=>m,selectedValue:`${Z} ${o4(P.fromMonth,P.toMonth)}`,titleTextStyle:D.largeMedium,onPickerSelectionChanged:m=>{m!=null&&($("timePeriodSelect"),Y(F(m)),X(E(F(m))),o(E(F(m)).fromMonth,E(F(m)).toMonth))},styles:{justifyContent:h==="small"?"left":"center"},isPickerDisabled:!1},onBackClick:a,showMenuIcon:h==="medium-compact"||h==="small",onClickMenuIcon:l,rightSideComponent:E1},Q=Number.parseFloat((t?.summary?.totalTimeSavedMinutes/60).toFixed());return C.jsxs(q3,{children:[C.jsx(K3,{isScrolled:f1,windowSize:h,paddingLeft:_.contentPaddingLeft.value(h),paddingRight:_.contentPaddingRight.value(h),children:C.jsx(V1,{...w1})}),C.jsxs(X3,{windowSize:h,children:[C.jsxs(Y3,{windowSize:h,children:[C.jsxs(e4,{windowSize:h,children:[b?C.jsx(r1,{customStyle:{margin:`0 0 ${r.sp3} 0`}}):C.jsx(o1,{type:"cost",value:L?`${p.strings.hyphen}`:Number(t.summary?.totalCostSaved.toFixed()).toLocaleString(),currency:t.currency,style:{margin:`0 0 ${r.sp3} 0`},noData:L}),b?C.jsx(r1,{customStyle:{margin:"0"}}):C.jsx(o1,{type:"time",value:L?`${p.strings.hyphen}`:t.summary?.totalTimeSavedMinutes<60?Number(t.summary?.totalTimeSavedMinutes).toFixed().toLocaleString():Q.toLocaleString(),currency:t.currency,noData:L,timeUnit:L?"":t.summary?.totalTimeSavedMinutes<60?t.summary?.totalTimeSavedMinutes>1?p.timeStrings.minutes:p.timeStrings.minute:Q>1?p.timeStrings.hours:p.timeStrings.hour})]}),C.jsx(t4,{windowSize:h,children:b?C.jsx(A1,{customStyle:{margin:`0 0 ${r.sp3} 0`}}):L?C.jsx(w3,{selectedTimeSeries:P}):C.jsx(H3,{performanceTimeSeries:t.monthlySummary})})]}),b?C.jsx(c1,{windowSize:h,children:C.jsx(t2,{})}):C.jsxs(C.Fragment,{children:[C.jsx(c1,{windowSize:h,children:L||t.personas.length===0?C.jsx(c3,{}):C.jsx(W2,{personas:t.personas,currency:t.currency})}),C.jsxs(Q3,{windowSize:h,children:[C.jsx(U3,{performanceSummary:t.summary,currency:t.currency,isPerformanceReportNotFound:L}),C.jsx(C3,{performanceSummary:t.summary,currency:t.currency,isPerformanceReportNotFound:L})]})]})]})]})}export{f4 as default,J3 as navBarHeight};
@@ -0,0 +1,18 @@
1
+ import{e as y,J as x,V as t,gS as b,o as a,y as d,hE as D,u as i}from"./index-rJQoaAfw.js";import{a as $}from"./sentry-CGE1ab0x.js";import{n as o}from"./mui-KNfEk2A1.js";import{K as P}from"./StatusSwitcher-B5nSXHv6-DTMRsMtw.js";import{r as z}from"./AccountInfoPageContent-CIjrqt8Z-xcHih_xf.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./zeni-epic-state-CiJSQQSe.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";import"./downloadPdf-D1grj9oX-Bei5Wpqc.js";import"./commonDimensions-DmFc7WqO-CxyyXmLy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="882d2165-590b-4784-972d-06234994f378",e._sentryDebugIdIdentifier="sentry-dbid-882d2165-590b-4784-972d-06234994f378")}catch{}})();const s={pageTitleMarginXAxis:new d(i[4],i[8]),containerPaddingLeft:new d(i[3],i[6],i[8]),containerPaddingRight:new d(i[3],i[6],i[8])},B=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:r,zeniAccountsConfigDetail:u,currentTenant:f,onDismissClick:g})=>{const p=y(),l=x(),[c,m]=$.useState("achDetails"),w=h=>{m(h)};return t.jsxs(S,{children:[t.jsx(b,{title:"",backgroundColor:p.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:g}),t.jsx(T,{windowSize:l,children:r.accountName}),t.jsx(v,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:w,isSwitcherLeftAlign:!0})}),t.jsx(A,{windowSize:l,children:t.jsx(z,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:c,zeniAccountsConfigDetail:u,currentTenant:f,depositAccount:r})})]})},A=o.div`
2
+ padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
3
+ padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
4
+ `,S=o.div`
5
+ display: flex;
6
+ flex-direction: column;
7
+ background-color: ${e=>e.theme.colors.grey4};
8
+ overflow-x: hidden;
9
+ height: 100%;
10
+ width: 100%;
11
+ `,T=o(D)`
12
+ color: ${e=>e.theme.colors.primary};
13
+ padding: ${a.sp3} ${a.sp0};
14
+ margin: ${e=>`${a.sp0} ${s.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
15
+ `,v=o.div`
16
+ display: flex;
17
+ justify-content: flex-start;
18
+ `;export{B as default};
@@ -1,4 +1,4 @@
1
- import{J as je,h0 as Ae,hF as Q,V as r,bT as z,T as Te,aP as L,o as a,b7 as Se,F as ve,c3 as De,p as E,ai as re,h as Ce,h3 as ze,al as ae}from"./index-6sX8sCRU.js";import{a as s}from"./sentry-BsWDfhY_.js";import{n as t}from"./mui-BKJrVh4W.js";import{w as Le}from"./downloadPdf-WDHjFv79-CGfEvBvA.js";import{o as _e}from"./commonDimensions-BpYNnQtf-GFURsh40.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="92b15603-a994-4613-8bb5-13002b288f24",e._sentryDebugIdIdentifier="sentry-dbid-92b15603-a994-4613-8bb5-13002b288f24")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:W},billPay:{vendorCreation:{achDetails:o}},downloads:X}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:p,depositAccount:c,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,J]=Ae(),[N,te]=s.useState(!1),[se,ne]=s.useState(!1),[ce,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,M]=s.useState(!1),[w,R]=s.useState(!1),[j,q]=s.useState(!1),[A,V]=s.useState(!1),[T,B]=s.useState(!1),[S,G]=s.useState(!1),[v,O]=s.useState(!1),[$,U]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=Q(u.zeniAccountsConfigDetail.mailingAddress).text2,m=Q(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||S||v||$||T||$||j||w||A)&&setTimeout(()=>{M(!1),G(!1),O(!1),U(!1),B(!1),V(!1),q(!1),R(!1)},1200)},[h,S,v,$,T,A,j,w]);const F=(f,n)=>{switch(f){case"accountType":ne(n);break;case"acccountNumber":ie(n);break;case"routingNumber":de(n);break;case"bankName":ue(n);break;case"beneficiaryName":fe(n);break;case"beneficiaryAddress":pe(n);break;case"bankAddress":ye(n);break}},$e=f=>{let n;f==="achDetails"?n=`${o.bankRoutingNumber} ${c.routingNumberAch}
1
+ import{J as je,h0 as Ae,hF as Q,V as r,bT as z,T as Te,aP as L,o as a,b7 as Se,F as ve,c3 as De,p as E,ai as re,h as Ce,h3 as ze,al as ae}from"./index-rJQoaAfw.js";import{a as s}from"./sentry-CGE1ab0x.js";import{n as t}from"./mui-KNfEk2A1.js";import{w as Le}from"./downloadPdf-D1grj9oX-Bei5Wpqc.js";import{o as _e}from"./commonDimensions-DmFc7WqO-CxyyXmLy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="d0f5b6d1-17bc-4d19-9331-bafe6d85291d",e._sentryDebugIdIdentifier="sentry-dbid-d0f5b6d1-17bc-4d19-9331-bafe6d85291d")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:W},billPay:{vendorCreation:{achDetails:o}},downloads:X}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:p,depositAccount:c,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,J]=Ae(),[N,te]=s.useState(!1),[se,ne]=s.useState(!1),[ce,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,M]=s.useState(!1),[w,R]=s.useState(!1),[j,q]=s.useState(!1),[A,V]=s.useState(!1),[T,B]=s.useState(!1),[S,G]=s.useState(!1),[v,O]=s.useState(!1),[$,U]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=Q(u.zeniAccountsConfigDetail.mailingAddress).text2,m=Q(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||S||v||$||T||$||j||w||A)&&setTimeout(()=>{M(!1),G(!1),O(!1),U(!1),B(!1),V(!1),q(!1),R(!1)},1200)},[h,S,v,$,T,A,j,w]);const F=(f,n)=>{switch(f){case"accountType":ne(n);break;case"acccountNumber":ie(n);break;case"routingNumber":de(n);break;case"bankName":ue(n);break;case"beneficiaryName":fe(n);break;case"beneficiaryAddress":pe(n);break;case"bankAddress":ye(n);break}},$e=f=>{let n;f==="achDetails"?n=`${o.bankRoutingNumber} ${c.routingNumberAch}
2
2
 
3
3
  ${o.accountTypeLabel} ${c.accountSubType.name??""}
4
4
 
@@ -1,10 +1,10 @@
1
- import{d as g,F as l,V as t,al as x,ba as c,r as y,o as r,p,aq as b,bZ as j,b_ as $,b$ as w,bS as k}from"./index-6sX8sCRU.js";import{n as o}from"./mui-BKJrVh4W.js";import{t as v}from"./handshake-BPg58FML-CxOrxIUO.js";import"./sentry-BsWDfhY_.js";import"./liveblocks-BAOmiMpj.js";import"./core-xud19niX.js";import"./recharts-07URl5uF.js";import"./zeni-epic-state-DEUUJaZy.js";import"./lottie-cQKxXDSP.js";import"./analytics-Dz3HJTKp.js";import"./lexical-CFjIG720.js";import"./utils-lvnYc7Lx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="045033e3-4330-4175-8d20-41d431f3784c",e._sentryDebugIdIdentifier="sentry-dbid-045033e3-4330-4175-8d20-41d431f3784c")}catch{}})();const m="support@zeni.ai",n=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=g(),u=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),f=e.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(M,{children:[t.jsx(_,{children:n.accountLockedTitle}),t.jsxs(C,{children:[t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(A,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(z,{})}),t.jsxs(c,{children:[n.tryAgainAfter,t.jsxs(I,{children:[u,t.jsx(L,{children:"•"}),f]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(F,{})}),t.jsxs(c,{children:[n.accountLockedContactMessage,t.jsx(D,{href:`mailto:${m}`,children:m})]})]}),t.jsx(y,{variant:"primary",label:n.understood,onClick:i})]})]})};function S({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(T,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const M=o.div`
1
+ import{e as g,F as l,V as t,al as x,ba as c,r as b,o as r,p,aq as y,bZ as j,b_ as $,b$ as w,bS as k}from"./index-rJQoaAfw.js";import{n as o}from"./mui-KNfEk2A1.js";import{t as v}from"./handshake-BPg58FML-DiPOUMao.js";import"./sentry-CGE1ab0x.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./zeni-epic-state-CiJSQQSe.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="df71daef-634d-4b6a-8c97-6592d18ff912",e._sentryDebugIdIdentifier="sentry-dbid-df71daef-634d-4b6a-8c97-6592d18ff912")}catch{}})();const m="support@zeni.ai",n=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const s=g(),f=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(M,{children:[t.jsx(_,{children:n.accountLockedTitle}),t.jsxs(C,{children:[t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(A,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(z,{})}),t.jsxs(c,{children:[n.tryAgainAfter,t.jsxs(I,{children:[f,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(d,{theme:s,children:t.jsx(F,{})}),t.jsxs(c,{children:[n.accountLockedContactMessage,t.jsx(D,{href:`mailto:${m}`,children:m})]})]}),t.jsx(b,{variant:"primary",label:n.understood,onClick:i})]})]})};function S({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(T,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const M=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
5
5
  justify-content: center;
6
6
  row-gap: ${r.sp6};
7
- `,_=o(b)`
7
+ `,_=o(y)`
8
8
  color: ${p.important};
9
9
  text-align: center;
10
10
  `,C=o.div`
@@ -1,4 +1,4 @@
1
- import{a9 as fe,fC as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as $e,b7 as Q,am as X,x as ke,aa as be,dN as we,eV as ve,d4 as G,dw as Z,F as Ce,al as d,d as Ee,aN as Pe,bw as ee,dQ as te,at as Re,p as ne,h as Ie}from"./index-6sX8sCRU.js";import{a as r}from"./sentry-BsWDfhY_.js";import{n as o}from"./mui-BKJrVh4W.js";import{bL as oe,Gz as De,GA as Te}from"./zeni-epic-state-DEUUJaZy.js";import{E as _e,C as Fe,w as Ue,f as Le}from"./AccountRow-Bk_25FCy-BSk-hvqy.js";import"./liveblocks-BAOmiMpj.js";import"./core-xud19niX.js";import"./recharts-07URl5uF.js";import"./lottie-cQKxXDSP.js";import"./analytics-Dz3HJTKp.js";import"./lexical-CFjIG720.js";import"./utils-lvnYc7Lx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7534f411-4c14-4afc-a48a-ba38c00ded72",e._sentryDebugIdIdentifier="sentry-dbid-7534f411-4c14-4afc-a48a-ba38c00ded72")}catch{}})();const m={containerPaddingLeft:c.sp4,containerPaddingRight:c.sp4,navBarHeight:c.sp10,navBarPaddingRight:c.sp4,navBarPaddingLeft:c.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Me=o.div`
1
+ import{a9 as fe,fC as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,c as $e,b7 as Q,am as X,x as be,aa as ke,dN as we,eV as ve,d4 as G,dw as Z,F as Ce,al as d,e as Ee,aN as Pe,bw as ee,dQ as te,at as Re,p as ne,h as Ie}from"./index-rJQoaAfw.js";import{a as r}from"./sentry-CGE1ab0x.js";import{n as o}from"./mui-KNfEk2A1.js";import{bL as oe,Gz as De,GA as Te}from"./zeni-epic-state-CiJSQQSe.js";import{E as _e,C as Fe,w as Ue,f as Le}from"./AccountRow-C9lnDVNf-86hTjbuw.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e554b506-0fb2-4265-bade-44f406e81d27",e._sentryDebugIdIdentifier="sentry-dbid-e554b506-0fb2-4265-bade-44f406e81d27")}catch{}})();const m={containerPaddingLeft:c.sp4,containerPaddingRight:c.sp4,navBarHeight:c.sp10,navBarPaddingRight:c.sp4,navBarPaddingLeft:c.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Me=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -19,7 +19,7 @@ import{a9 as fe,fC as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
19
19
  z-index: 2;
20
20
  top: ${c.sp0};
21
21
  width: 100%;
22
- `,Ae=o(ke)`
22
+ `,Oe=o(be)`
23
23
  cursor: pointer;
24
24
  color: ${e=>e.theme.colors.hero};
25
25
  width: ${c.sp4};
@@ -29,7 +29,7 @@ import{a9 as fe,fC as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
29
29
  color: ${e=>e.theme.colors.primary};
30
30
  }
31
31
  flex: 0 0 auto;
32
- `,Oe=o.div`
32
+ `,Ae=o.div`
33
33
  padding-left: ${m.containerPaddingLeft};
34
34
  padding-right: ${m.containerPaddingRight};
35
35
  `,Ne=o.div`
@@ -91,7 +91,7 @@ import{a9 as fe,fC as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
91
91
  align-items: flex-start;
92
92
  justify-content: center;
93
93
  min-width: ${m.balanceContainerWidth}px;
94
- `,O=o(X)`
94
+ `,A=o(X)`
95
95
  display: flex;
96
96
  color: ${e=>e.theme.colors.hero};
97
97
  align-items: center;
@@ -236,4 +236,4 @@ import{a9 as fe,fC as xe,V as t,ac as ye,cp as ge,cq as je,cr as Se,o as c,a as
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:J,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Mt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),k=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),b=n.link_account_no_microdeposit,w=n.update_account,a=h==="update_account"?w:b,[g,M]=r.useState(a.linkToken??null),[s,v]=r.useState(!1),[W,Y]=r.useState(!1),[B,A]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),A(void 0)),z(void 0),Y(!1)},onCancelClick:()=>{A(void 0),Y(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),v(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,me)=>{I!=null&&console.log("Plaid Connection Error",I,me),y(void 0),v(!1)},[]),{open:V,ready:q}=xe({token:g,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),r.useEffect(()=>{!s&&h!=null&&a.linkToken===g&&a.fetchStatus.fetchState==="Completed"&&q&&v(!0)},[q,g,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==g&&M(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&V()},[s,V]),t.jsxs(Me,{children:[t.jsx(Be,{children:t.jsx(Ne,{children:t.jsxs(We,{children:[t.jsx(Ye,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(bt,{monthYearPeriod:l})})]}),t.jsx(Ve,{children:t.jsx(Ae,{onClick:$})})]})})}),t.jsxs(Oe,{children:[t.jsx(ye,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:k,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L,showConfirmationPopup:W,setShowConfirmationPopup:Y,deleteFileId:B,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:z})})}),W===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:_,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,uploadErrorMessage:L,setUploadErrorMessage:f})=>{const[k,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,b=[];n.accountReconEntity.account.accountType==="bank"&&b.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),b.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const w=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||k?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),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")&&f(_e(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,f]);const g=["reconciled","in_progress","reconciled_via_qbo"],M=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(qe,{children:[t.jsxs(Ge,{children:[t.jsxs(Je,{children:[t.jsx(O,{children:i.reconciliation.headers.bankBalance}),t.jsx(Ke,{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(Qe,{children:[t.jsx(O,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(O,{children:i.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.type}),t.jsx(T,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(be,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:w}),options:b,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(De(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),w==="bank_statement"?t.jsx(C,{children:t.jsx(ve,{name:ft(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:M,sizeLimit:1e7,onFileSizeError:s=>{s&&f(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Te,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:L,onUploadError:s=>{f(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),f(void 0)},onUploadWindowOpenedOnce:()=>{U()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,v)=>{_(s,v)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(T,{children:w!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(T,{children:t.jsx(kt,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(T,{children:t.jsx(Z,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:G(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(N,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(N,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(N,{onClick:e==="reconnect"?u:l,children:t.jsx(mt,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{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:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Le(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},kt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},bt=({monthYearPeriod:e})=>t.jsx(ce,{children:wt(e)}),wt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(J.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(J.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Mt as default,ft as uniqueName};
239
+ `,{common:p,dateFormat:J,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Mt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),b=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),k=n.link_account_no_microdeposit,w=n.update_account,a=h==="update_account"?w:k,[g,M]=r.useState(a.linkToken??null),[s,v]=r.useState(!1),[W,Y]=r.useState(!1),[B,O]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),O(void 0)),z(void 0),Y(!1)},onCancelClick:()=>{O(void 0),Y(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),v(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,me)=>{I!=null&&console.log("Plaid Connection Error",I,me),y(void 0),v(!1)},[]),{open:V,ready:q}=xe({token:g,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),r.useEffect(()=>{!s&&h!=null&&a.linkToken===g&&a.fetchStatus.fetchState==="Completed"&&q&&v(!0)},[q,g,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==g&&M(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&V()},[s,V]),t.jsxs(Me,{children:[t.jsx(Be,{children:t.jsx(Ne,{children:t.jsxs(We,{children:[t.jsx(Ye,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(kt,{monthYearPeriod:l})})]}),t.jsx(Ve,{children:t.jsx(Oe,{onClick:$})})]})})}),t.jsxs(Ae,{children:[t.jsx(ye,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:b,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:U,onUploadWindowOpenedOnce:L,showConfirmationPopup:W,setShowConfirmationPopup:Y,deleteFileId:B,setDeleteFileId:O,uploadErrorMessage:re,setUploadErrorMessage:z})})}),W===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:_,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,uploadErrorMessage:L,setUploadErrorMessage:f})=>{const[b,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,k=[];n.accountReconEntity.account.accountType==="bank"&&k.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),k.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const w=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||b?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),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")&&f(_e(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,f]);const g=["reconciled","in_progress","reconciled_via_qbo"],M=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(qe,{children:[t.jsxs(Ge,{children:[t.jsxs(Je,{children:[t.jsx(A,{children:i.reconciliation.headers.bankBalance}),t.jsx(Ke,{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(Qe,{children:[t.jsx(A,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(A,{children:i.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.type}),t.jsx(T,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(ke,{controller:!0,children:t.jsx(we,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:w}),options:k,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(De(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),w==="bank_statement"?t.jsx(C,{children:t.jsx(ve,{name:ft(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:M,sizeLimit:1e7,onFileSizeError:s=>{s&&f(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Te,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:L,onUploadError:s=>{f(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),f(void 0)},onUploadWindowOpenedOnce:()=>{U()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,v)=>{_(s,v)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(T,{children:w!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:b,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(T,{children:t.jsx(bt,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(T,{children:t.jsx(Z,{isLoading:b,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:G(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(N,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(N,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(N,{onClick:e==="reconnect"?u:l,children:t.jsx(mt,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{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:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Le(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},bt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},kt=({monthYearPeriod:e})=>t.jsx(ce,{children:wt(e)}),wt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(J.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(J.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Mt as default,ft as uniqueName};
@@ -1,4 +1,4 @@
1
- import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as de,p as g,dP as X,dQ as Y,c$ as ue,aV as x,ai as Z,u as p,J as xe,d as S,a$ as pe,du as he,an as ge,r as me,am as I,bK as fe,dG as je}from"./index-6sX8sCRU.js";import{a as ye}from"./sentry-BsWDfhY_.js";import{n as a,c as we}from"./mui-BKJrVh4W.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5bf8758b-917e-4ed5-a1ef-bf8a019b70fd",e._sentryDebugIdIdentifier="sentry-dbid-5bf8758b-917e-4ed5-a1ef-bf8a019b70fd")}catch{}})();const be=a.div`
1
+ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as de,p as g,dP as X,dQ as Y,c$ as ue,aV as x,ai as Z,u as p,J as xe,e as S,a$ as pe,du as he,an as ge,r as me,am as I,bK as fe,dG as je}from"./index-rJQoaAfw.js";import{a as ye}from"./sentry-CGE1ab0x.js";import{n as a,c as we}from"./mui-KNfEk2A1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a5c87248-afb9-4874-91e6-1a6867bd1da7",e._sentryDebugIdIdentifier="sentry-dbid-a5c87248-afb9-4874-91e6-1a6867bd1da7")}catch{}})();const $e=a.div`
2
2
  position: relative;
3
3
  ${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
4
4
  content: "";
@@ -8,7 +8,7 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as
8
8
  border-left: 1px dotted ${e.theme.colors.grey1};
9
9
  height: 12px;
10
10
  `:""};
11
- `,$e=a.div`
11
+ `,be=a.div`
12
12
  display: flex;
13
13
  min-width: ${o.sp4};
14
14
  width: ${o.sp4};
@@ -38,7 +38,7 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as
38
38
  margin-left: 2px;
39
39
  width: 12px;
40
40
  height: 12px;
41
- `;function Te({firstLetter:e,color:n,showIcon:i,showCollapsedIcon:c,showTreeLine:l=!1,className:d}){return t.jsx(be,{showTreeLine:l,collapsed:c,children:t.jsx($e,{colour:n,className:d,children:t.jsx(Ce,{children:i===!0?c===!0?t.jsx(ke,{}):t.jsx(Re,{}):t.jsx(ve,{colour:n,className:d,children:e})})})})}const Ee=a.div`
41
+ `;function Te({firstLetter:e,color:n,showIcon:i,showCollapsedIcon:c,showTreeLine:l=!1,className:d}){return t.jsx($e,{showTreeLine:l,collapsed:c,children:t.jsx(be,{colour:n,className:d,children:t.jsx(Ce,{children:i===!0?c===!0?t.jsx(ke,{}):t.jsx(Re,{}):t.jsx(ve,{colour:n,className:d,children:e})})})})}const Ee=a.div`
42
42
  display: flex;
43
43
  flex: 1 1 auto;
44
44
  max-height: 1px;
@@ -150,12 +150,12 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as
150
150
  min-width: ${u.spacerLineWidth}px;
151
151
  width: ${u.spacerLineWidth}px;
152
152
  align-items: center;
153
- `,ze=a.div`
153
+ `,He=a.div`
154
154
  width: 1px;
155
155
  margin-left: ${o.sp3};
156
156
  height: ${e=>e.heightValue}px;
157
157
  background-color: ${e=>e.theme.colors.grey3};
158
- `,He=a.div`
158
+ `,ze=a.div`
159
159
  display: flex;
160
160
  flex-shrink: 0;
161
161
  width: ${u.varianceTimeframeWidth}px;
@@ -238,7 +238,7 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as
238
238
  height: 12px;
239
239
  color: ${e=>e.iconColor.hex()};
240
240
  margin-top: ${o.sp1};
241
- `,b=a.div`
241
+ `,$=a.div`
242
242
  display: flex;
243
243
  gap: ${o.sp1};
244
244
  `,O=a.div`
@@ -260,7 +260,7 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as
260
260
  display: flex;
261
261
  flex-direction: row;
262
262
  align-items: center;
263
- `,z=a.div`
263
+ `,H=a.div`
264
264
  display: flex;
265
265
  flex-direction: column;
266
266
  align-items: center;
@@ -295,4 +295,4 @@ import{V as t,aN as E,bT as f,o,aP as y,aa as se,dN as re,F as le,al as w,dO as
295
295
  width: ${o.sp3};
296
296
  height: ${o.sp3};
297
297
  margin-top: 2px;
298
- `,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=le.getLocalizedStrings();function _t({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:k}){const W=xe(),B=S(),v=n.accountReconEntity.account.accountName,P=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{k?.(n.accountReconEntity.account.accountId)},H=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,D]=ye.useState(!1),q=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=q==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let G=e;return i&&(G=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:G,isLastRow:i,windowSize:W,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Be,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(B.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ve,{className:"any-text-container",children:v})})})]}),t.jsxs(Ae,{children:[t.jsx(Oe,{children:t.jsx(wt,{accountType:n.accountReconEntity.account.accountType,lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:D,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:P,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:T,onReconnectClicked:ae})}),t.jsx(Fe,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Me,{children:t.jsx(bt,{clearedBalance:j,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Ue,{children:t.jsx(ze,{heightValue:e})}),t.jsx(Qe,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:H}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:H})})]})]}),t.jsx(We,{kind:"account_separator",isScrolling:!1}),i?t.jsx(_e,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i),k=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(He,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Ge,{textColor:r,bgColor:m,className:"any-text-container",children:k})]})},ft=(e,n,i,c)=>{let l,d,r;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(vt,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx($t,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(V,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Ct,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},L=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx($,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Je,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),_=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx($,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ke,{children:[t.jsxs(Xe,{children:[t.jsx(Ze,{}),t.jsx(Ye,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(J,{children:s.status.QBOUser}):e&&t.jsxs(J,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,accountType:n,bankConnection:i,statementStatus:c,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:r,onReconnectClicked:m,isLoading:k,accountId:W,onStatementAddClicked:B,setIsHovering:v})=>{const P=Tt(n);if(d===!0)return t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h});if(k===!0)return t.jsx(C,{className:"any-text-container",children:h});if(i==="reconnect"){const j=l!=null?`${l.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx($,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",W),onClick:N=>{N.stopPropagation(),m?.()},children:s.connect.reconnnect})]})}else return i==="connected"||c==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",W),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:t.jsx(se,{controller:P.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(re,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:P,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?r?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},bt=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(C,{className:"any-text-container",children:h}),ee=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx($,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(b,{children:t.jsxs(O,{children:[t.jsx(A,{iconColor:n}),t.jsx(F,{children:t.jsx(M,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(U,{children:t.jsx(Q,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},$t=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(b,{children:[t.jsx(A,{iconColor:i}),t.jsxs(O,{children:[t.jsx(F,{children:t.jsx(M,{textColor:i,children:e})}),t.jsx(U,{children:t.jsx(Q,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx($,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(b,{children:t.jsxs(z,{children:[t.jsx(R,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:i,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(b,{children:t.jsxs(z,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx(b,{children:t.jsxs(z,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=Et(e,"list",i);return t.jsx(f,{title:t.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(b,{children:[t.jsx(A,{iconColor:c}),t.jsxs(O,{children:[t.jsx(F,{children:t.jsx(M,{textColor:c,children:l})}),t.jsx(U,{children:t.jsx(Q,{textColor:c,children:s.status.failed})})]})]})})},V=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx(b,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx($,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(b,{children:t.jsx(K,{children:h})})}),$=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(e){const n=[];return e!=null&&e==="bank"&&n.push({label:s.menu.bankConnection,value:"bank_connection"}),n.push({label:s.menu.statement,value:"statement"}),n}const Et=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Te as B,wt as C,Lt as D,Et as E,Pt as N,_t as R,ft as f,u,bt as w};
298
+ `,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=le.getLocalizedStrings();function _t({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:k}){const W=xe(),B=S(),v=n.accountReconEntity.account.accountName,P=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{k?.(n.accountReconEntity.account.accountId)},z=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,D]=ye.useState(!1),q=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=q==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let G=e;return i&&(G=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:G,isLastRow:i,windowSize:W,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Be,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(B.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ve,{className:"any-text-container",children:v})})})]}),t.jsxs(Ae,{children:[t.jsx(Oe,{children:t.jsx(wt,{accountType:n.accountReconEntity.account.accountType,lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:D,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:P,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:T,onReconnectClicked:ae})}),t.jsx(Fe,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Me,{children:t.jsx($t,{clearedBalance:j,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Ue,{children:t.jsx(He,{heightValue:e})}),t.jsx(Qe,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:z}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:z})})]})]}),t.jsx(We,{kind:"account_separator",isScrolling:!1}),i?t.jsx(_e,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i),k=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(ze,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Ge,{textColor:r,bgColor:m,className:"any-text-container",children:k})]})},ft=(e,n,i,c)=>{let l,d,r;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(vt,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(V,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Ct,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},L=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Je,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),_=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ke,{children:[t.jsxs(Xe,{children:[t.jsx(Ze,{}),t.jsx(Ye,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(J,{children:s.status.QBOUser}):e&&t.jsxs(J,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,accountType:n,bankConnection:i,statementStatus:c,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:r,onReconnectClicked:m,isLoading:k,accountId:W,onStatementAddClicked:B,setIsHovering:v})=>{const P=Tt(n);if(d===!0)return t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h});if(k===!0)return t.jsx(C,{className:"any-text-container",children:h});if(i==="reconnect"){const j=l!=null?`${l.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",W),onClick:N=>{N.stopPropagation(),m?.()},children:s.connect.reconnnect})]})}else return i==="connected"||c==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",W),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:t.jsx(se,{controller:P.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(re,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:P,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?r?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(C,{className:"any-text-container",children:h}),ee=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(O,{children:[t.jsx(A,{iconColor:n}),t.jsx(F,{children:t.jsx(M,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(U,{children:t.jsx(Q,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:i}),t.jsxs(O,{children:[t.jsx(F,{children:t.jsx(M,{textColor:i,children:e})}),t.jsx(U,{children:t.jsx(Q,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:i,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=Et(e,"list",i);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:c}),t.jsxs(O,{children:[t.jsx(F,{children:t.jsx(M,{textColor:c,children:l})}),t.jsx(U,{children:t.jsx(Q,{textColor:c,children:s.status.failed})})]})]})})},V=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(K,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(e){const n=[];return e!=null&&e==="bank"&&n.push({label:s.menu.bankConnection,value:"bank_connection"}),n.push({label:s.menu.statement,value:"statement"}),n}const Et=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Te as B,wt as C,Lt as D,Et as E,Pt as N,_t as R,ft as f,u,$t as w};
@@ -1,4 +1,4 @@
1
- import{F as U,V as o,o as t,aY as z,p as v,aq as ne,b as ae,bu as ie,bv as se,bw as ce,bx as le,by as R,c as de,aO as X,aL as pe,d as K,aw as ue,aP as L,aX as me,aM as he,aS as ge,ai as Q,av as xe,b5 as fe,al as ye,ba as Ce}from"./index-6sX8sCRU.js";import{a as O,P as S}from"./sentry-BsWDfhY_.js";import{c as $e}from"./SummaryCard-194UToy6-UI_LM1oG.js";import{n as r,k as Z,c as V}from"./mui-BKJrVh4W.js";import{EQ as be}from"./zeni-epic-state-DEUUJaZy.js";import{N as E}from"./NavigationArrow-NuJEpE7O-D8kY8llG.js";import{k as ve}from"./NavigationDots-C7Na64B9-CVWaz9qo.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6ce73c8d-65fb-457a-ab8a-e1c133b3324a",e._sentryDebugIdIdentifier="sentry-dbid-6ce73c8d-65fb-457a-ab8a-e1c133b3324a")}catch{}})();const je="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",we="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return Z`
1
+ import{F as U,V as o,o as t,aY as z,p as v,aq as ne,b as ae,bu as ie,bv as se,bw as ce,bx as le,by as R,d as de,aO as X,aL as pe,e as K,aw as ue,aP as L,aX as me,aM as he,aS as ge,ai as Q,av as xe,b5 as fe,al as ye,ba as Ce}from"./index-rJQoaAfw.js";import{a as O,P as S}from"./sentry-CGE1ab0x.js";import{c as $e}from"./SummaryCard-DdYMAiws-C4w7QxN_.js";import{n as r,k as Z,c as V}from"./mui-KNfEk2A1.js";import{EQ as be}from"./zeni-epic-state-CiJSQQSe.js";import{N as E}from"./NavigationArrow-CNO4O4XS-DUm9WGAp.js";import{k as ve}from"./NavigationDots-BX9DbCj7-RHGokei7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="169e6d0a-d022-4ff6-ad3b-57212a078108",e._sentryDebugIdIdentifier="sentry-dbid-169e6d0a-d022-4ff6-ad3b-57212a078108")}catch{}})();const je="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",we="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return Z`
2
2
  0% {
3
3
  opacity: 0;
4
4
  transform: translateX(${i});
@@ -0,0 +1,6 @@
1
+ import{e as y,J as S,aQ as T,b as r,V as l,jx as w,o as t,y as m,aP as B,F as x,u as n}from"./index-rJQoaAfw.js";import{a as C}from"./sentry-CGE1ab0x.js";import{n as P}from"./mui-KNfEk2A1.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./zeni-epic-state-CiJSQQSe.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="ee0814f0-7f10-4062-94b8-7dc4505408ca",e._sentryDebugIdIdentifier="sentry-dbid-ee0814f0-7f10-4062-94b8-7dc4505408ca")}catch{}})();const p={marginTop:new m(n[0],18),marginBottom:new m(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:c}},common:j}=x.getLocalizedStrings(),L=({googleAPIKey:e,customAddress:s,customAddressStatus:o,onDismissClick:d,onSubmitHandler:g})=>{const u=y(),a=S(),i=T(o.fetchState);C.useEffect(()=>{i==="In-Progress"&&o.fetchState==="Completed"&&d()},[o.fetchState,d,i]);const f=a==="small"?r.extraSmallRegular.cssObject:r.standardRegular.cssObject,b=a==="small"?r.standardMedium.cssObject:r.h5Regular.cssObject;return l.jsx(I,{"data-testid":B("add-address-for-card-drawer"),children:l.jsx(w,{googleAPIKey:e,loadingState:o.fetchState,addressToEdit:s,onSubmitHandler:h=>g(h),onCancel:d,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:c.addAddress,subTitleMessage:c.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(a),marginBottom:p.marginBottom.valuePx(a),...b},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...f,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:j.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},I=P.div`
2
+ display: flex;
3
+ background-color: ${e=>e.theme.colors.grey4};
4
+ height: 100%;
5
+ width: 100%;
6
+ `;export{L as default};
@@ -1,4 +1,4 @@
1
- import{J as M,a8 as le,aw as ne,F as N,V as t,bC as de,u as p,jb as pe,ju as ce,o as i,r as W,aP as A,y as m,O as $,a as b,jv as he,jc as ge,ci as xe,p as r,jw as me,bx as ue,cY as we,al as $e,b as be,jg as ye}from"./index-6sX8sCRU.js";import{a as g}from"./sentry-BsWDfhY_.js";import{n as o,c as D}from"./mui-BKJrVh4W.js";import{EP as fe}from"./zeni-epic-state-DEUUJaZy.js";import{t as je,n as ve,i as Se,a as Ce,l as ke,r as Te,A as ze}from"./add-to-wallet-DgdBD8_G-AfkxTSja.js";import"./liveblocks-BAOmiMpj.js";import"./core-xud19niX.js";import"./recharts-07URl5uF.js";import"./lottie-cQKxXDSP.js";import"./analytics-Dz3HJTKp.js";import"./lexical-CFjIG720.js";import"./utils-lvnYc7Lx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="bdd8e5ca-4225-4262-b71c-910603a4a33c",e._sentryDebugIdIdentifier="sentry-dbid-bdd8e5ca-4225-4262-b71c-910603a4a33c")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:f={},thumbStyle:k={}})=>{const u=e.findIndex(n=>n.id===a),w=100/e.length,j=()=>u===0?{left:"1%"}:u===e.length-1?{left:`${(e.length-1)*w}%`}:{left:`${u*w}%`};return t.jsxs(We,{style:l,children:[t.jsx(Ae,{style:{width:`${w-1}%`,...j(),...k}}),e.map(n=>t.jsx(De,{style:f,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),h(n.id)},children:n.label},n.id))]})},We=o.div`
1
+ import{J as M,a8 as le,aw as ne,F as N,V as t,bC as de,u as p,jb as pe,ju as ce,o as i,r as W,aP as A,y as m,a as $,c as b,jv as he,jc as ge,ci as xe,p as r,jw as me,bx as ue,cY as we,al as $e,b as be,jg as ye}from"./index-rJQoaAfw.js";import{a as g}from"./sentry-CGE1ab0x.js";import{n as o,c as D}from"./mui-KNfEk2A1.js";import{EP as fe}from"./zeni-epic-state-CiJSQQSe.js";import{t as je,n as ve,i as Se,a as Ce,l as ke,r as Te,A as ze}from"./add-to-wallet-DgdBD8_G-l6e6C-pa.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="5d758a24-a455-40c9-bee7-b5a80128791f",e._sentryDebugIdIdentifier="sentry-dbid-5d758a24-a455-40c9-bee7-b5a80128791f")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:f={},thumbStyle:k={}})=>{const u=e.findIndex(n=>n.id===a),w=100/e.length,j=()=>u===0?{left:"1%"}:u===e.length-1?{left:`${(e.length-1)*w}%`}:{left:`${u*w}%`};return t.jsxs(We,{style:l,children:[t.jsx(Ae,{style:{width:`${w-1}%`,...j(),...k}}),e.map(n=>t.jsx(De,{style:f,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),h(n.id)},children:n.label},n.id))]})},We=o.div`
2
2
  position: relative;
3
3
  width: 100%;
4
4
  background: ${e=>e.theme.colors.grey3};
@@ -37,7 +37,7 @@ import{J as M,a8 as le,aw as ne,F as N,V as t,bC as de,u as p,jb as pe,ju as ce,
37
37
  transition: color 0.3s ease;
38
38
  padding-top: ${i.sp1};
39
39
  padding-bottom: ${i.sp1};
40
- `,{spendManagement:{chargeCard:{chargeCardsPromo:B,cardDetails:d}}}=N.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},y={headingFont:new $("h6Medium","h4Regular"),subheadingFont:new $("standardRegular","h6Regular"),walletTitleFont:new $("standardSemiBold","largeSemiBold"),walletSubTitleFont:new $("extraSmallRegular","standardRegular")},Be=(e,a,h)=>t.jsxs(ot,{translatePhone:e,showIphone:h,children:[t.jsxs(at,{children:[t.jsx(gt,{children:B.timeText}),t.jsxs(rt,{children:[t.jsx(lt,{children:[...Array(4).keys()].map(l=>t.jsx(nt,{towerIndex:l},l))}),t.jsx(dt,{children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave"})})})}),t.jsx(pt,{children:t.jsx(ct,{})}),t.jsx(ht,{})]})]}),t.jsxs(it,{children:[t.jsxs(Qe,{children:[t.jsx(Ue,{showTick:a}),t.jsx(Ze,{showTick:a}),t.jsx(et,{showTick:a}),t.jsx(tt,{showTick:a}),t.jsxs(ut,{translateCardSkelton:e,children:[t.jsx($t,{}),[...Array(4).keys()].map(l=>t.jsx(wt,{lineIndex:l},l))]}),a?null:t.jsx(bt,{children:t.jsx(he,{scannerTheme:"light"})})]}),t.jsx(xt,{showTick:a}),t.jsx(mt,{showTick:a,children:B.addToWallet})]}),t.jsx(st,{})]}),F=({tabType:e})=>{const a=M();return t.jsxs(Le,{children:[t.jsxs(R,{children:[t.jsx(Ne,{children:t.jsx(Ve,{windowSize:a})}),t.jsx(E,{windowSize:a,children:d.openWalletAppOnPhone})]}),t.jsxs(L,{windowSize:a,children:[e==="apple"?d.openWalletDescriptionApple:d.openWalletDescriptionGoogle,t.jsx(P,{})]}),t.jsxs(R,{children:[t.jsx(Me,{children:t.jsx(Ge,{windowSize:a})}),t.jsx(E,{windowSize:a,children:d.verifyCard})]}),t.jsxs(L,{windowSize:a,children:[e==="apple"?d.VerifyCardDescriptionApple:d.VerifyCardDescriptionGoogle,t.jsx(P,{})]})]})},Et=({onGotItClick:e,isDebitCard:a,controllerEmails:h,classListFetchState:l,isChargeCardFeatureEnabled:f,isDebitCardFeatureEnabled:k,isDebitCardSetupEnabled:u,isChargeCardSetupEnabled:w,productInformation:j,creditAccountInformation:n,debitAccountInformation:v,chargeCardDetailView:V,creditAccount:G,creditAccountRepayment:_,cardIssuedByRoles:Y,cardIssuedByDepartmentName:J,cardHolderRoles:O,cardHolderDepartmentName:K})=>{const s=M(),X=le().analytics,[T,q]=g.useState(!1),[z,Q]=g.useState(!1),[U,Z]=g.useState(!1),[ee,te]=g.useState(!1),[S,ie]=g.useState("apple"),oe=ne(),ae=fe(oe.loggedInUserRoleMap),re=I=>{ge({chargeCardDetailView:V,classListFetchState:l,analytics:X,isDebitCard:a,isChargeCardAdmin:ae,cardIssuedByRoles:Y,cardIssuedByDepartmentName:J,cardHolderRoles:O,cardHolderDepartmentName:K,controllerEmails:h,pageName:"Card Activation",addToWalletType:I==="apple"?"Apple Wallet":"Google Wallet",productInformation:j,creditAccountInformation:n,debitAccountInformation:v,isChargeCardFeatureEnabled:f,creditAccount:G,creditAccountRepayment:_}),ie(I)};g.useEffect(()=>{setTimeout(()=>{q(!0)},a?9500:4500),setTimeout(()=>{Q(!0)},a?9e3:4e3),setTimeout(()=>{Z(!0)},a?10500:5500),setTimeout(()=>{te(!0)},a?15e3:1e4)},[a]);const se=T&&z,x=N.getLocalizedStrings().spendManagement.chargeCard;return t.jsx(vt,{windowSize:s,children:t.jsxs(Je,{children:[t.jsx(de,{navBarContainerStyles:{paddingTop:p[2],alignItems:"center",paddingBottom:p[2]},title:x.addToWallet.title,ignoreScrollAction:!0,showBackButton:!1,showMenuIcon:!1,transparentBackground:!0,source:"AddToWalletPage",style:{zIndex:3},titleStyle:{marginTop:p[0]}}),t.jsxs(Oe,{windowSize:s,children:[t.jsx(yt,{windowSize:s,children:x.addToWallet.heading}),t.jsx(ft,{windowSize:s,children:x.addToWallet.subheading})]}),t.jsxs(Ke,{windowSize:s,children:[s!=="small"?t.jsx(Ct,{children:t.jsxs(Xe,{windowSize:s,children:[t.jsxs(qe,{windowSize:s,flipCard:T,scaleCard:z,children:[t.jsx(pe,{isDebitCard:a}),t.jsx(ce,{showCrossIcon:!1,isDebitCard:a})]}),Be(U,ee,se)]})}):null,t.jsxs(Re,{windowSize:s,children:[t.jsx(Ee,{children:t.jsx(Ie,{options:[{id:"apple",dataTestId:"add-to-apple-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(Ye,{}),t.jsx(H,{children:d.appleWallet})]})},{id:"google",dataTestId:"add-to-google-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(_e,{}),t.jsx(H,{children:d.googleWallet})]})}],optionStyle:{padding:"12px"},thumbStyle:{paddingTop:i.sp4,paddingBottom:i.sp4},containerStyle:{border:i.sp0},selected:S,onToggle:re})}),t.jsxs(Fe,{children:[t.jsx(Pe,{isActive:S==="apple",children:t.jsx(F,{tabType:"apple"})}),t.jsx(He,{isActive:S==="google",children:t.jsx(F,{tabType:"google"})})]}),s!=="small"?t.jsx(jt,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-web")})}):null]})]}),s==="small"?t.jsx(St,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-mobile")})}):null]})})},Fe=o.div`
40
+ `,{spendManagement:{chargeCard:{chargeCardsPromo:F,cardDetails:d}}}=N.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},y={headingFont:new $("h6Medium","h4Regular"),subheadingFont:new $("standardRegular","h6Regular"),walletTitleFont:new $("standardSemiBold","largeSemiBold"),walletSubTitleFont:new $("extraSmallRegular","standardRegular")},Fe=(e,a,h)=>t.jsxs(ot,{translatePhone:e,showIphone:h,children:[t.jsxs(at,{children:[t.jsx(gt,{children:F.timeText}),t.jsxs(rt,{children:[t.jsx(lt,{children:[...Array(4).keys()].map(l=>t.jsx(nt,{towerIndex:l},l))}),t.jsx(dt,{children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave"})})})}),t.jsx(pt,{children:t.jsx(ct,{})}),t.jsx(ht,{})]})]}),t.jsxs(it,{children:[t.jsxs(Qe,{children:[t.jsx(Ue,{showTick:a}),t.jsx(Ze,{showTick:a}),t.jsx(et,{showTick:a}),t.jsx(tt,{showTick:a}),t.jsxs(ut,{translateCardSkelton:e,children:[t.jsx($t,{}),[...Array(4).keys()].map(l=>t.jsx(wt,{lineIndex:l},l))]}),a?null:t.jsx(bt,{children:t.jsx(he,{scannerTheme:"light"})})]}),t.jsx(xt,{showTick:a}),t.jsx(mt,{showTick:a,children:F.addToWallet})]}),t.jsx(st,{})]}),B=({tabType:e})=>{const a=M();return t.jsxs(Le,{children:[t.jsxs(R,{children:[t.jsx(Ne,{children:t.jsx(Ve,{windowSize:a})}),t.jsx(E,{windowSize:a,children:d.openWalletAppOnPhone})]}),t.jsxs(L,{windowSize:a,children:[e==="apple"?d.openWalletDescriptionApple:d.openWalletDescriptionGoogle,t.jsx(P,{})]}),t.jsxs(R,{children:[t.jsx(Me,{children:t.jsx(Ge,{windowSize:a})}),t.jsx(E,{windowSize:a,children:d.verifyCard})]}),t.jsxs(L,{windowSize:a,children:[e==="apple"?d.VerifyCardDescriptionApple:d.VerifyCardDescriptionGoogle,t.jsx(P,{})]})]})},Et=({onGotItClick:e,isDebitCard:a,controllerEmails:h,classListFetchState:l,isChargeCardFeatureEnabled:f,isDebitCardFeatureEnabled:k,isDebitCardSetupEnabled:u,isChargeCardSetupEnabled:w,productInformation:j,creditAccountInformation:n,debitAccountInformation:v,chargeCardDetailView:V,creditAccount:G,creditAccountRepayment:_,cardIssuedByRoles:Y,cardIssuedByDepartmentName:J,cardHolderRoles:K,cardHolderDepartmentName:X})=>{const s=M(),O=le().analytics,[T,q]=g.useState(!1),[z,Q]=g.useState(!1),[U,Z]=g.useState(!1),[ee,te]=g.useState(!1),[S,ie]=g.useState("apple"),oe=ne(),ae=fe(oe.loggedInUserRoleMap),re=I=>{ge({chargeCardDetailView:V,classListFetchState:l,analytics:O,isDebitCard:a,isChargeCardAdmin:ae,cardIssuedByRoles:Y,cardIssuedByDepartmentName:J,cardHolderRoles:K,cardHolderDepartmentName:X,controllerEmails:h,pageName:"Card Activation",addToWalletType:I==="apple"?"Apple Wallet":"Google Wallet",productInformation:j,creditAccountInformation:n,debitAccountInformation:v,isChargeCardFeatureEnabled:f,creditAccount:G,creditAccountRepayment:_}),ie(I)};g.useEffect(()=>{setTimeout(()=>{q(!0)},a?9500:4500),setTimeout(()=>{Q(!0)},a?9e3:4e3),setTimeout(()=>{Z(!0)},a?10500:5500),setTimeout(()=>{te(!0)},a?15e3:1e4)},[a]);const se=T&&z,x=N.getLocalizedStrings().spendManagement.chargeCard;return t.jsx(vt,{windowSize:s,children:t.jsxs(Je,{children:[t.jsx(de,{navBarContainerStyles:{paddingTop:p[2],alignItems:"center",paddingBottom:p[2]},title:x.addToWallet.title,ignoreScrollAction:!0,showBackButton:!1,showMenuIcon:!1,transparentBackground:!0,source:"AddToWalletPage",style:{zIndex:3},titleStyle:{marginTop:p[0]}}),t.jsxs(Ke,{windowSize:s,children:[t.jsx(yt,{windowSize:s,children:x.addToWallet.heading}),t.jsx(ft,{windowSize:s,children:x.addToWallet.subheading})]}),t.jsxs(Xe,{windowSize:s,children:[s!=="small"?t.jsx(Ct,{children:t.jsxs(Oe,{windowSize:s,children:[t.jsxs(qe,{windowSize:s,flipCard:T,scaleCard:z,children:[t.jsx(pe,{isDebitCard:a}),t.jsx(ce,{showCrossIcon:!1,isDebitCard:a})]}),Fe(U,ee,se)]})}):null,t.jsxs(Re,{windowSize:s,children:[t.jsx(Ee,{children:t.jsx(Ie,{options:[{id:"apple",dataTestId:"add-to-apple-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(Ye,{}),t.jsx(H,{children:d.appleWallet})]})},{id:"google",dataTestId:"add-to-google-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(_e,{}),t.jsx(H,{children:d.googleWallet})]})}],optionStyle:{padding:"12px"},thumbStyle:{paddingTop:i.sp4,paddingBottom:i.sp4},containerStyle:{border:i.sp0},selected:S,onToggle:re})}),t.jsxs(Be,{children:[t.jsx(Pe,{isActive:S==="apple",children:t.jsx(B,{tabType:"apple"})}),t.jsx(He,{isActive:S==="google",children:t.jsx(B,{tabType:"google"})})]}),s!=="small"?t.jsx(jt,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-web")})}):null]})]}),s==="small"?t.jsx(St,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-mobile")})}):null]})})},Be=o.div`
41
41
  display: flex;
42
42
  position: relative;
43
43
  width: 100%;
@@ -121,13 +121,13 @@ import{J as M,a8 as le,aw as ne,F as N,V as t,bC as de,u as p,jb as pe,ju as ce,
121
121
  width: 100%;
122
122
  display: flex;
123
123
  flex-direction: column;
124
- `,Oe=o.div`
124
+ `,Ke=o.div`
125
125
  width: 100%;
126
126
  display: flex;
127
127
  flex-direction: column;
128
128
  margin-top: ${({windowSize:e})=>c.headingMarginTop.valuePx(e)};
129
129
  margin-bottom: ${({windowSize:e})=>c.headingMarginBottom.valuePx(e)};
130
- `,Ke=o.div`
130
+ `,Xe=o.div`
131
131
  ${e=>e.windowSize==="small"?"height: 100%;":null};
132
132
  display: flex;
133
133
  justify-content: center;
@@ -136,7 +136,7 @@ import{J as M,a8 as le,aw as ne,F as N,V as t,bC as de,u as p,jb as pe,ju as ce,
136
136
  `:D`
137
137
  width: 100%;
138
138
  `};
139
- `,Xe=o.div`
139
+ `,Oe=o.div`
140
140
  display: flex;
141
141
  position: relative;
142
142
  align-items: center;