@zeniai/web-cockpit-ui 1.15.34-dev → 1.15.35-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 (283) hide show
  1. package/dist/assets/{ACHDetailsPage-DSufuSEI-BugcK5ko.js → ACHDetailsPage-CdyuCPU8-0VceC4Oh.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Df0tJkyd-C5l4T96t.js → AIPerformancePage-GW2UlhRu-Bfc988ot.js} +1 -1
  3. package/dist/assets/AccountInfoPage-BQksD-qN-CQrQ5LJ4.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-C7Xs6ju3-CvFu_KWB.js → AccountInfoPageContent-Dn6yodzf-C1aQIT5z.js} +7 -7
  5. package/dist/assets/{AccountLockedInfoModal-D5rAyYPe-cRoXMFrB.js → AccountLockedInfoModal-7MLTBsWb-kQqWsBqk.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BvnBJmol-BxGJXQpl.js → AccountReconDetailsDrawerPage-CUvBGVmt-CY2NmAYD.js} +1 -1
  7. package/dist/assets/{AccountRow-DtE1mQFq-sRlcgWT1.js → AccountRow-t-WESYF_-BZd9LxDz.js} +14 -14
  8. package/dist/assets/{AccountsPromoCardStack-D14FDzTY-CAlFlxNB.js → AccountsPromoCardStack-C0Ht_d_M-1zanAeyR.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-C9_gjvsQ-xMzrtCOD.js → AddAddressForCardDrawer-CpDfjROc-B4piq4St.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-B_7pqvLH-CAYlL9WC.js → AddToWalletPage-CPYp6JZP-Cgen85QG.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-CRFlM3H1-DhYuRisV.js → AgingReportsPage-BRChA3Xv-BV6vq-Aj.js} +3 -3
  12. package/dist/assets/{AllUserItems-LlhM8bBU-N-OwUUn2.js → AllUserItems-CUlWgl79-RT_0EGEc.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-CTxNOPhD-DrGk4MjA.js → ApAgingDetailPage-D7u_ghQp-CmtSt3LQ.js} +6 -6
  14. package/dist/assets/{AppBasePage-DRQ76rXe-BbmVnMJF.js → AppBasePage-bvoaHTtg-Bi873Eqq.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-CIXhnJBJ-DkcT-gQA.js → AppDrawerContent-DYDi-djG-Cr9HlceI.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-DYrcZm5--Di4DgXFx.js → ApprovalRulesSettingsPage-CGO_GK8B-C3p-mE2c.js} +1 -1
  17. package/dist/assets/{ArAgingChart-BwEspm7G-DNjHaENA.js → ArAgingChart-DBuqIeaR-C9LO_snS.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-Dy9woFr0-Dwalts78.js → ArAgingDetailPage-ALGyVMJV-BsdNBEqd.js} +4 -4
  19. package/dist/assets/{AttachmentView-CF6Tiq1u-ScD4RZ91.js → AttachmentView-BIeDapyc-BG8BqDh9.js} +1 -1
  20. package/dist/assets/{BankAccountSection-DyPS4RZK-Bc2VKdEG.js → BankAccountSection-BQKaKFnm-DHGgFmbL.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-Dr8XVfsN-Bh1VpxWI.js → BankAccountWarningSection-DeUkht1G--scnEmUk.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-h7ZnZhy5-EKV1mb1Z.js → BankConnectionsSettingsPage-qldLiM1M-CPdyIAUt.js} +1 -1
  23. package/dist/assets/{BillDetailPage-KSkeLjtu-DDizjGfx.js → BillDetailPage-BPqPHZcD-BcX87XdC.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-C3VQacD2-ndVmYW9Y.js → BillPayApprovalRuleDetailPage-FW3E7XSE-Bj7z3Fiz.js} +5 -5
  25. package/dist/assets/{BillPayApprovalRulesPage-DMmnARE3-BHk6XaxH.js → BillPayApprovalRulesPage-BGotlrLK-C4wvOhcK.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CZ34fQRr-h45OCD6V.js → BillPayPromoPage-DvoccD5_-9WUX2zRh.js} +5 -5
  27. package/dist/assets/{BillPaySetUpPage-DF-cMiJC-Ccb6fwyP.js → BillPaySetUpPage-DhjIDy8h-D7gIdBq_.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-DNmOo0mj-BgBv8nRa.js → BillingSettingsPage-CmO4DZ-a-TmRopedQ.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CM1RYrRS-7XSi35in.js → BillsBulkReviewDrawerPage-4vzF3bG9-C3VxBwnG.js} +1 -1
  30. package/dist/assets/{BoxItem-Dy41mKN9-CZiGGLPk.js → BoxItem-B6i9yx2h-8tTsCvCc.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-BSL5f5yW-Ccd_M7Ux.js → BusinessVerificationPage-DuEh8MkZ-CPUH1p9f.js} +1 -1
  32. package/dist/assets/{CardNumberSubText--wffxyL2-Dzc9wag1.js → CardNumberSubText-BEVRq2PI-CBvs6qd9.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-BuywSIvA-Dj0FTjqV.js → CashbackDetailPage--SHtNWGE-D0op8BJu.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-Fx1upN8E-BfETR_eB.js → ChargeCardDetailPage-EFRUpv7y-BxiQ-wFB.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-CkqWU4gN-CkHuHVFN.js → ChargeCardListPage-CFB5EHCZ-DwRWhMet.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-lwxY_gLZ-DZ2VoxeT.js → ChargeCardListTable-DM_h-dzr-CxMVtKFB.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-CvTW120H-ByJ1xGtA.js → ChargeCardPaymentHistoryPage-CPZj9te2-acCaXNd-.js} +1 -1
  38. package/dist/assets/ChargeCardPromoPage-BWwBfycu-CAS6um23.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-D_LWSQOa-BwUtTkP2.js → ChargeCardSetupPage-Epn4xe2x-CkUn76sD.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-B7qX0zl3-C66Fu0LS.js → ChargeCardStatementsPage-Bu7OdYhw-oLOXCaTu.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-oWf5X7rL-5KpdpyEY.js → CheckDepositDrawerPage-DQnqizMV-eQHX-470.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-Cfh-EfEQ-CKv-H0OC.js → CollapsableReportTable-CSVzLWq_-CmmDaO6f.js} +271 -271
  43. package/dist/assets/{CompanyOfficerDetailsSection-CFg0p5uA-CJ156x7J.js → CompanyOfficerDetailsSection-Pwtunf36-D6txAI6l.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-C5j_KoZL-CPJCD4ZW.js → CompanyPassportCard-DfPPft95-Clb_fVZP.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-DtEQ7a68-BZL6spEi.js → CompanyPassportPage-aNL_m3a2-r2mVOoQ8.js} +1 -1
  46. package/dist/assets/{CompleteProfile-DLNtc5N7-B7HW7ybq.js → CompleteProfile-DmeE0Xjt-BcBZ6wma.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-B4gz9uC9-BhJEyb5s.js → ConfettiBurst-s04ELXDS-BW01uxDM.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-C3jCz_Fx.js → ConstrainedInnerElement-BeIpAPjB-CaoYd0_P.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-Bd61yH0G-DpW83MJ2.js → CreateOrEditVendorPage-D3oCIz1P-DTzyUV9b.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-NtnEWUdG-DLELauiu.js → CreditCardPaymentDrawerPage-DPXaPj4B-1z2GwFLS.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-CaQgbP8P-Cqqb_KBc.js → CurrencySelectField-CtKQBmBI-q57973By.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-BnBFEWaX-Dn3wQumA.js → CustomerOnboardingActivationPage-DCQvUK8d-CVTcQu6u.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-Dm4ySQZZ-BvOTc4ng.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Deaz4PM6-BDZvJWDz.js → CustomerOnboardingDetailPageSkeleton-BVJ6jsqR-BsJw-Ope.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-C8cmsaOC-BJyq1bJL.js → CustomerOnboardingNoStepsPage-DQcf1Pyg-DdjDIchQ.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-CSSgj26J-N4cabpr0.js → CustomerOnboardingPage-CLNt38t0-D5-M1y80.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DU7qzP1f-2w9ZQcUU.js → CustomerOnboardingProductSuitePage-SyWJAHJ5-DCcbBC8z.js} +1 -1
  58. package/dist/assets/{Dashboard-DPXzM2TM-6t8lQHvd.js → Dashboard-DW6P3oLC-D1tHml1O.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-CWgH0Bn9-BvMXyb8g.js → DashboardReportPage-Cp04-QUV-B7AXOtvv.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-DL2Awq0k-CURcbn_K.js → DashboardSidebarBackgroundAnimation-CKoyjUHm-DewB5pFB.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-CuWxNHSp-Da2H1v88.js → DepositAccTransactionItem-kZL4La9A-C6fVz6NV.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-BHs8-LpV-C7V5-8Rf.js → DepositAccTransactionListPage-C_GPoFDS-Bnscj1hg.js} +3 -3
  63. package/dist/assets/{DomesticWireDetailsPage-CRfm0oqJ-C4r-lW_y.js → DomesticWireDetailsPage-CL-gGug5-Dmorx9NL.js} +1 -1
  64. package/dist/assets/{DownloadOverlay--ICWviQz-Q6tZiS37.js → DownloadOverlay-JdIA_Qvk-wAu7AAW1.js} +1 -1
  65. package/dist/assets/{DrawerPage-DoJkjp69-BGpDDN7R.js → DrawerPage-_F2zRGIo-CQDApgUJ.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-B-zEdQqt-BrFyNgmY.js → EditPeoplePage-Cqd73zkA-moU29OZ-.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-BdfJj8-u-BwPuRwof.js → EditReimbursementDetailPage--T5T_fJG-CaXN1fuc.js} +1 -1
  68. package/dist/assets/EntityDetailPage-CAu9l8_o-DQd9jfhM.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BYP9LNlh-CHZV8J2r.js → EntitySummarySection-D1QM7cY6-BWMV3RUk.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-UKPGezFZ-ynbYpvOr.js → ExpenseAutomationOverviewPage-pciCiajG-DOlwLojR.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-5qqhqwjY-BNjM9KYY.js → ExpenseAutomationPage-CYKu1ufk-BgHRQ_o6.js} +21 -21
  72. package/dist/assets/{ExpressPayPage-BaLCnmxC-DyZ_NbAE.js → ExpressPayPage-BCMf-60G-DgcplXv5.js} +8 -8
  73. package/dist/assets/{FeaturePreviewPage-DJvcim4v-B-0y2hox.js → FeaturePreviewPage-Dj5OXPVN-2xodjQZz.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-DiAM2oU9-DVhX1hhq.js → FollowStepsSection-ZwhfJWnC-WC244m2S.js} +1 -1
  75. package/dist/assets/GlobalReviewListPage-AZtnVYVQ-HrXervPX.js +291 -0
  76. package/dist/assets/{InformationCardStack-bDJV8MEl-DKR8Zvn9.js → InformationCardStack-D8cmcS4k-ucNvTFnG.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-Ba7C5_Ql-1E6nbw33.js → InsightsCardStack-CRbYGyti-BG-J4zTW.js} +2 -2
  78. package/dist/assets/{InsightsSection-BFviX80K-CRFJKeH_.js → InsightsSection-B7cEUOjq-CHOA81kF.js} +2 -2
  79. package/dist/assets/{IntegrationsSettingsPage--kXCS3f1-HcQyCW82.js → IntegrationsSettingsPage-Cu70a3gO-qesbn3EL.js} +2 -2
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-DfKrYbaB-DwvyB1Uq.js → InternationalWireSwiftDetailsPage-D_RuMP2E-CqXJrwow.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-DU6447M_-YLqWsFbY.js → InternationalWireVerificationPage-CqpE7nR5-BRwgb-BA.js} +1 -1
  82. package/dist/assets/{InviteFormPage-D3FNgm9B-BwvxtcvY.js → InviteFormPage-BU3bkjN3-DJZLZema.js} +1 -1
  83. package/dist/assets/{InvitePageListView-D4wRSwJW-DPbFsvfR.js → InvitePageListView-BfRPKPse-BUIcdEL2.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-DSFk8lEF-DpuHc0lh.js → InvitePeoplePage-DFfZPbsO-DIubZIn-.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-DaS4D1em-CK_Ayuq4.js → InvoiceUploadSection-BwqSfbYC-EOja7gNg.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-CrbIqdSx-Bp9X1BXe.js → IssueChargeCardPage-BB83Aeyd-D9TAck5s.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-CUr2BnHq-DfiyDPyB.js → LabeledAddressValue-CK-YJ1cO-BIV6IRFP.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-DL3wJoZC-CMggf1RU.js → LabeledAddressValueField-BppwMtJ1-Dgoqu5O4.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-DQUXZSFS-CPn0l33X.js → LabeledControlledCheckBoxField-zpbzob1x-DTorn_1A.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-C6IWrKo4-CcQcxFW7.js → LabeledCountryMultiSelectField-DrZ69tWB--r4Tq0BJ.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-m_D3aJpG-DPOvsRA4.js → LabeledCreatableSingleSelectField-D-rSPg1Y-ak5nvuiq.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-B19zNNVZ-Du4OcR6Y.js → LabeledDocumentField-CBQeAeRc-D56y9oeO.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-D4cHrsba-DGjSp6HD.js → LabeledDropDownFormattedTextField-5t5k_pgq-CfuE84-6.js} +1 -1
  94. package/dist/assets/{LabeledText-H1pSTEtd-BHLnDTFr.js → LabeledText-tLPpd4Wp-Cw2ZTitB.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C0bJoy6U-CBE1zspu.js → LabeledUserSingleSelectWithSubtitlesField-D5zZUAVV-DVMrLokL.js} +3 -3
  96. package/dist/assets/{LabeledZeniRolesDropDownField-D0KIAWFW-CQ1uXRKO.js → LabeledZeniRolesDropDownField-DZ9boJMt-KCvascmZ.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-LfkM9DYO-CSpsV_Z3.js → LinkJETransactionPage-C99UMrwp-9iiMpHD1.js} +1 -1
  98. package/dist/assets/{LockCardPage-lTzQY_pw-BYsKWV6j.js → LockCardPage-DE5Zw1p--CmfozmOj.js} +6 -6
  99. package/dist/assets/{LowBalancePopup-DXPPHYS1-CB0hADnS.js → LowBalancePopup-BD9saCcf-C9aiJowo.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-pyI_8fZk-CbyceRk3.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-leEpcwab-DAkBv8v1.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-CJRYlkvp-pCJgKy6F.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-BrQk5kYZ-Dws1_rIA.js → MagicLinkSuccessPage-BxXyF-Sp-BUdh8eIy.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-vHYX92L1-B1QKRjFr.js → MagicLinkTitleSection-DajyP-ys-Be4ZqDQL.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-vydT4UOr-DSxQiRSi.js → MailingDetailsSection-F1i0rBkv-CZo5kIPL.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-BtT9OQ_b-D1PjSf7q.js → MyBankConnectionsSettingsPage-BE1pUnaR-BPnyB1YE.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-5E28yAfQ-DZoHwB3h.js → MyPendingActivationChargeCardListPage-CviCM09N-BNRf9wnQ.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-DQBSh-S5-C_KLZ_rh.js → MyProfileSettingsPage-iREvm7LK-BHFViMqO.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-1UPJ_fiE-iY8P9Wot.js → NavBarWithPicker-r-K_Pjsb-CmAh3bpT.js} +1 -1
  110. package/dist/assets/{NavigationArrow-CeYvXgly-CXWFEDMQ.js → NavigationArrow-CKhWji3v-aZKiVTlV.js} +1 -1
  111. package/dist/assets/{NavigationDots-CXAszOHQ-HtQg6iz5.js → NavigationDots-OShASt5i-Bc5YcJG5.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-DXSlGPbc-DidlOClT.js → NewGlobalMerchantPage-2-kYqTDF-CV5JZ9Yl.js} +1 -1
  113. package/dist/assets/{NoDataChart-BQdJyfHh-BLmune73.js → NoDataChart-BN3zyJkX-DustlDSJ.js} +1 -1
  114. package/dist/assets/{NoDataTable-B__TVPte-CetA5lza.js → NoDataTable-D0cyK_1j-BWgbh49q.js} +1 -1
  115. package/dist/assets/{NotFoundPage-Cs25xsWz-DnZv-DIM.js → NotFoundPage-yrt6kuPH-CdqbIt8C.js} +6 -6
  116. package/dist/assets/{NotificationSettingsPage-Dm3zOscr-DKDyywX2.js → NotificationSettingsPage-CX3Hkg6o-D8A68okq.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-D0knaijJ-NyDzwfbC.js → NotificationsListConfig-Cyzhla-8-CBrC2O9h.js} +1 -1
  118. package/dist/assets/{NotificationsPage-czQmfW2r-DksNFGUv.js → NotificationsPage-O7M0pMnc-Bp7VY2al.js} +1 -1
  119. package/dist/assets/OpExByVendorPage-DpMGBmkQ-DaQIIDYq.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-li8hzYjf.js → OverlayContainerPage-D4QU0p4o-BcMNtftY.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-B7cwWwMK-BW6yjf-v.js → PandLWithForecastPage-Cbt0YlVL-B7KI2QNo.js} +2 -2
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CkYtTRY5-DMMQt9qf.js → PaymentAccountSetupBillingAddressSection-B2xEqKKc-DTCpk1kt.js} +1 -1
  123. package/dist/assets/{PeoplePage-DNTbzljs-Bfp0W5JF.js → PeoplePage-CUr5cz1w-B26v5CzR.js} +1 -1
  124. package/dist/assets/{Preview-BsIYoVSv.js → Preview-CEK51ZCO.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-CTiD9zA7-D7cEl2bl.js → ProductsCarousel-t8HIs4J6-6BwcwXGL.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-BmtlcPBm-DdDmICph.js → PromoBaseCards-6Uh8eokP-Cj1KOyAw.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-B1y3hDGT-B8UGOz7A.js → QBOConnectionDialog-BbmqcpYW-rlXtEwUQ.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-DevcmmCv-C2NxYIUb.js → QBOSetupSection-u5dKqaH8-Cw9rFHWf.js} +1 -1
  129. package/dist/assets/ReimbursementApprovalRuleDetailPage-DxSrYBkv-sfO_zxiL.js +32 -0
  130. package/dist/assets/{ReimbursementApprovalRulesPage-CvFHaDmE-Bk4uKO7k.js → ReimbursementApprovalRulesPage-BL2GpJIG-ByiCWQ8P.js} +1 -1
  131. package/dist/assets/{ReimbursementDetailPage-CMplGhml--7oTvGch.js → ReimbursementDetailPage-D3qTbpPg-6N8BmeyZ.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-0d-lo-ve-BFl3c8SE.js → ReimbursementPromoPage-DuwxKGGm-DVNFf58G.js} +1 -1
  133. package/dist/assets/{ReimbursementSetUpPage-T3ErpIj4-BkNsUy2n.js → ReimbursementSetUpPage-Du4kRXbO-IZ-1Hd0h.js} +7 -7
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CnyiYR81-D8NoJfkg.js → ReimbursementsBulkReviewDrawerPage-BmlYoVy4-BYNrk6QR.js} +1 -1
  135. package/dist/assets/{ReloadCard-CI-iJa1w-CU7osnQb.js → ReloadCard-BSiXuJWg-S2NiaAjj.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-CM11mXKF-DKJl505X.js → ReportTableViewSelector-KgvX6wt6-CFIrG4n5.js} +1 -1
  137. package/dist/assets/{ReportsPage-DzuQNoMA-ORn4o7l_.js → ReportsPage-Bt24BITW-DoLBuKPr.js} +5 -5
  138. package/dist/assets/{RevenueChart-iDdrXSzX-BD1q5u9E.js → RevenueChart-iH_Xl63n-Bobzdvk9.js} +14 -14
  139. package/dist/assets/{ReviewDetailsPage-DdS8Ssmq-CpId9CQp.js → ReviewDetailsPage-CwPsM3uL-DU9meW3Q.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-D39FMx3p-DPQk54i4.js → ReviewOverlay-DOqgOSnM-DIJSsTrl.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-BMEgXHWf-CYv1exk7.js → RoleWithToolTip-D6q4Wd6X-D2UbaxXJ.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-YdBRhUc0-1nXwHDMr.js → ScheduleDetailsFixedAssetsPage-_bJob_HD-ZRo-OTit.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-OCqSWMz4-Dg0s24kG.js → ScheduleDetailsPage-BDZm6We--BmYpydGa.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-OEJBqdqG-CB3cYmnz.js → ScheduleSequenceTable-DgG11IBi-DBLZmDeR.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-Bkl-MWfY.js → ScreenRoutes-kiA8eL9x.js} +2 -2
  146. package/dist/assets/{SetUpAccountSection-o86ErvD_-Celwp-jA.js → SetUpAccountSection-n5OCUAL3-B-YthnQt.js} +1 -1
  147. package/dist/assets/{SignIn-BEJNYyp4-O46sF-k3.js → SignIn-uBHaDram-Pp2K_nnI.js} +6 -6
  148. package/dist/assets/{SignInScreen-Dm8Ez_qK.js → SignInScreen-DkxtF7d-.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-BTQU2jwO-CQyGDfX4.js → SpendManagementListViewPage-ErBiPjGh-DVBcFgz6.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-BtUS4aqA-vNlgv2e5.js → SpendManagementPerTabPage-BIxGrbmz-CpTcg38p.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-DiQ2QBwA-CGsThSZ0.js → SpendManagementSection-B01H6LCd-7KGohVSJ.js} +1 -1
  152. package/dist/assets/{StatementItem-DGRjrvUi-C8hx1_Sf.js → StatementItem-BJJHaw9s-DKXMQrB-.js} +5 -5
  153. package/dist/assets/{StatementsPage-QqtqM0qv-BBLWtN99.js → StatementsPage-rFpr0w_W-p2OTDAub.js} +1 -1
  154. package/dist/assets/{StatusSwitcher-CfZOeqZf-Bq7fUYSl.js → StatusSwitcher-DnuyzbQo-uFTkU_Rq.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-Be1lLunR-CsxeYIuC.js → SubTabSwitcher-Bk10VIFM-DuWTd5Gf.js} +1 -1
  156. package/dist/assets/{SummaryCard-DgBWIctW-CRmTCkt0.js → SummaryCard-CHqc9QHC-DLmlONgW.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-CpjN2Ver-BJrGG5WR.js → TaskManagementPage-Cr_KAM2z-B-N5lqS1.js} +7 -7
  158. package/dist/assets/{TimeRangeSwitcher-B7KdhPH9-Djft8PYe.js → TimeRangeSwitcher-DkNMcmBm-BHsVOUJA.js} +11 -11
  159. package/dist/assets/TimeframeSwitcher-CULpyCRj-DpaezwVo.js +31 -0
  160. package/dist/assets/{TimeframeSwitcherWithToggle-DEjdiR9x-CpK-qiop.js → TimeframeSwitcherWithToggle-BSx_ynUp-DCoChT3Y.js} +9 -9
  161. package/dist/assets/{TopExCard-Do6O7snc-DLvwuAod.js → TopExCard-B29o-5e0-BWjMLd0Z.js} +10 -10
  162. package/dist/assets/{TopExDetailPage-DFil6Qwx-BWbjM88A.js → TopExDetailPage-TVxgKbn8-Dea8Ndm8.js} +6 -6
  163. package/dist/assets/{TransactionActivityLogPage-C49lAwDF-BGLm3dPj.js → TransactionActivityLogPage-0wmqwFMQ-CtP3S4Ck.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-CyTyj91G-B7vb07HE.js → TransactionDetailPage-B9pzvWO8-DN9EJI4L.js} +1 -1
  165. package/dist/assets/{TransactionList-BFDau1I7-BXGXYBFK.js → TransactionList-dUcT29oF-CA_JHn5F.js} +1 -1
  166. package/dist/assets/{TransactionListBig-CVBiekZl-DrGGpH9X.js → TransactionListBig-DMnQfRkS-D1Tzrdsg.js} +1 -1
  167. package/dist/assets/{TransactionListPage-LGgMtr7O-CsGWQiN-.js → TransactionListPage-BB452Nj4-Be3PUtFs.js} +2 -2
  168. package/dist/assets/{TransactionVendorDetailPage-3p4MoiV3-DA73bE6t.js → TransactionVendorDetailPage-BCkXd3P2-Dn9bmHZD.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-BCr2Qlvp-BIuuD9Kn.js → TransferDrawerPage-6Rt1ZlJA-J8WRDfD_.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-CEnHQlwT-Cp9jfBpw.js → TreasuryOverviewPage-CuSfgvcS-Cr1ZHZCL.js} +9 -9
  171. package/dist/assets/{TreasuryPromoPage-oQKxGxSx-CJpdFyVJ.js → TreasuryPromoPage-DUi2uBW8-DFXwMQFM.js} +1 -1
  172. package/dist/assets/{TreasuryStatementsPage-DKCFzvzb-D5fkSJdQ.js → TreasuryStatementsPage-DNhwcfdJ-DHWXKCq1.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-D3pc6Eyc-DWhE-bsu.js → TreasuryTaxLetterPage-BLIGs8oG-B-EAsmsV.js} +1 -1
  174. package/dist/assets/{TrendChart-JHlBVwXJ-p0u3PrEr.js → TrendChart-KoCvlYmC-ji_PFFB-.js} +1 -1
  175. package/dist/assets/{TrendWithTransactions-Bh619hxZ-B7JEOzSv.js → TrendWithTransactions-Vqr8x7E_-Ch_SpSv4.js} +1 -1
  176. package/dist/assets/{UncategorizedAccountsMappingPage-BuM9GG4e-DMx8_LFD.js → UncategorizedAccountsMappingPage-BKdvN3Lh-CF1FrkBZ.js} +1 -1
  177. package/dist/assets/{UnitIntegrationPage-D4BoW10T-IfJ4B9AI.js → UnitIntegrationPage-CQ7270p--BJrqtQBc.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-CMqblFXF-CGuab5Cf.js → UploadAdditionalDocumentOverlay-CcH5BomT-DAavyljg.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-ANEIs-J6-BItEW5IN.js → Vendor2FAPopup-DtT11B4h-DSs5WQFV.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-Cvek1Tr4-vPAILiGh.js +1 -0
  181. package/dist/assets/{VendorDetailPage-BLZ1wOuB-t2P37a0b.js → VendorDetailPage-2rTQcqZl-BGHBoCgZ.js} +1 -1
  182. package/dist/assets/VendorDomesticWireDetailsPage-j-06hvAA-CbgEb_pw.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-BtU7EZH1-Cdwalb8n.js → VendorFiling1099EditablePage-Cgkipd6r-BOi4aIsg.js} +32 -32
  184. package/dist/assets/VendorFirstReviewPage-Va76j7QY-Ce_x6xNG.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-BbCN0JV0-Wsg-mPRx.js → VendorInternationalWireDetailsPage-D0IeqYQZ-CBSHQbo0.js} +1 -1
  186. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CDShInCp-CKPYmRJ2.js → VendorInternationalWireSwiftDetailsPage-DZusODVt-CB9jvgle.js} +1 -1
  187. package/dist/assets/{VendorsAccountsSection-lmuNbtLw-BehIg0cT.js → VendorsAccountsSection-CTmdfJi_-2OXKGXSP.js} +1 -1
  188. package/dist/assets/{VerifyDevice-vhZNITmO-B_CyFx_O.js → VerifyDevice-DFCNFtDD-BiKT2y-c.js} +1 -1
  189. package/dist/assets/{VideoPlayer-DIXs3y0r-C0i3s9oa.js → VideoPlayer-CIr6pCWx-BWEj8qhe.js} +2 -2
  190. package/dist/assets/{VideoPopup-CYL6r3Cb-B0pmnpWo.js → VideoPopup-CoeVMP5D-CZp7ggfX.js} +2 -2
  191. package/dist/assets/{WarningsDrawerPage-CJ9a931n-DAFMV5EF.js → WarningsDrawerPage-CNBphx6e-DgBF9BD1.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-P86nU628-RfL02yuR.js → ZeniAccountDetailPage-ysMCIpFe-BBrtmzdb.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-GYsnktmQ-DlegmFE9.js → ZeniAccountListViewPage-DUalD7AP-CyveDoV_.js} +15 -15
  194. package/dist/assets/{ZeniAccountNavBarPieces-Cz7DjDo7-avwd16fX.js → ZeniAccountNavBarPieces-B8jILUl8-De6cgOXp.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-iCmw1i20-lqXeJDxF.js → ZeniAccountPromoPage-CUJm-42a-CXuQd7VV.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-B42Dq1gO-oMRu-INk.js → ZeniAccountSetupPage-BTurLFPN-CK5iO6d7.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-Baiyxesc-CHFltgTl.js → ZeniCopyright-BTFZ48gh-CtnEsi71.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-9-2DcdrJ-q0SmjKL2.js → ZeniTransferAmountSlider-f0nRZPzG-dUb4Mhul.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-DdT9Rn3y.js → add-to-wallet-DgdBD8_G-D1teIsf6.js} +1 -1
  200. package/dist/assets/{analytics-Dm6Rdmk5.js → analytics-DvsRx7_o.js} +1 -1
  201. package/dist/assets/{analyticsHelper-DPMmqDhf.js → analyticsHelper-Bk8gqeLI.js} +1 -1
  202. package/dist/assets/{analyticsHelper-B32z3Cdy-Dk9sCdyO.js → analyticsHelper-lunHUd8g-D5OYaAmT.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-Cy4oQH64.js → arrow-south-east-round-PEovUgvH-CIyEcJYf.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-B6gY8maM.js → auto-transfer-rule-mbafm5D3-CtO92HdQ.js} +1 -1
  205. package/dist/assets/{chartTypes-DL1AC5R1-CSQ4LZOa.js → chartTypes-DESZubWD-Bq3-3C2k.js} +1 -1
  206. package/dist/assets/{commonDimensions-BNYeCJ44-DwWQhbOM.js → commonDimensions-Cpv8YIix-Dpl_2njg.js} +1 -1
  207. package/dist/assets/{commonTypes-DwuUdRAc-CVoF2D5n.js → commonTypes-B1gKMzJK-DEpai8h5.js} +1 -1
  208. package/dist/assets/{constants-MHF6sRcJ.js → constants-B-YZmhKw.js} +1 -1
  209. package/dist/assets/{core-XAP_yXKl.js → core-HDqpewC7.js} +1 -1
  210. package/dist/assets/{dash.all.min-DatMhMWc.js → dash.all.min-kOXiIFTN.js} +1 -1
  211. package/dist/assets/{detailCommon-CzjlHNNr-OLPVPNMD.js → detailCommon-DyrMcL2E-DbZbdMac.js} +2 -2
  212. package/dist/assets/{downloadPdf-CPfBtFli-C5o4QyFD.js → downloadPdf-D2sIdMDR-D6_l0NHH.js} +1 -1
  213. package/dist/assets/{empty-vcyFM9nz.js → empty-DfoIHPwJ.js} +1 -1
  214. package/dist/assets/{empty-Cs2gdmIo.js → empty-Dx0imdfu.js} +1 -1
  215. package/dist/assets/{epic-B8nKq-i6.js → epic-BE_WS1px.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-RzjSa1iy.js → gift-box-Cmt9OgIZ-xM5zrgW4.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CQ6Ol9_s.js → graphic-no-data-l-DU4J8fDt-B9Rqv9_n.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CI6u9HfU.js → graphic-no-data-net-burn-l-CzmycA0m-DYb8EeBA.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-FDeEnKd2.js → handshake-BPg58FML-B6X0918N.js} +1 -1
  220. package/dist/assets/{helper-T710NLca-BU35xGXS.js → helper-i78O9ew8-BuDifB0X.js} +1 -1
  221. package/dist/assets/{index-LuFlN8FP.js → index-B7uDjLxh.js} +1 -1
  222. package/dist/assets/{index-CrlTOcjY.js → index-Bdy6x472.js} +1 -1
  223. package/dist/assets/{index-DSJ6HKL8.js → index-BmIGxAWd.js} +1 -1
  224. package/dist/assets/{index-t-uTuAYw.js → index-D0CQgP0w.js} +1 -1
  225. package/dist/assets/{index-D9vmx-FC.js → index-DAitESaL.js} +1 -1
  226. package/dist/assets/{index-DIT7C2zP.js → index-Depa7Syu.js} +1 -1
  227. package/dist/assets/{index-C9hDAJ7o.js → index-Dw_MX6AZ.js} +11 -11
  228. package/dist/assets/{lexical-CgNStNGD.js → lexical-CWcQ8pGO.js} +1 -1
  229. package/dist/assets/{liveblocks-NP7ye8lf.js → liveblocks-Dv7Vdu8a.js} +1 -1
  230. package/dist/assets/{lottie-DhXcx4Hv.js → lottie-V1lTNkDB.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-COG82OfJ-0ZJxCNAO.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Co9d6d-V-n_IPqL-W.js → mapSectionWithAcOnlyToTreeNode-CjVZw324-Cy37hN-j.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-DZFRqtKk-B07ADlac.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-Cm_MiRXt-C6UHQCJ6.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-DnvhN4Go-CXn5QSNs.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-40rewm2_-C-ELqPB7.js +1 -0
  237. package/dist/assets/{mui-BQR0Ruo4.js → mui-DdxImnN0.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-BBbQvoIw.js → page-detail-CWX5S47F-5PyHJMJh.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-V1yMMv-q.js → panelSelectedMixin-Cddsb26L-gr9HWaHB.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-OYLDx768.js → radio-default-CiSgisfh-LTUMKU8Y.js} +1 -1
  241. package/dist/assets/{react-BL2s-aF_.js → react-BNr0aXGm.js} +1 -1
  242. package/dist/assets/{react-CvT9aEmE.js → react-CUY5EDxC.js} +1 -1
  243. package/dist/assets/{react-Cp-6oWln.js → react-Cjks14mZ.js} +1 -1
  244. package/dist/assets/{react-DcMbwERn.js → react-DYqwvMeX.js} +2 -2
  245. package/dist/assets/{react-Du36QLI3.js → react-DbLm8gms.js} +1 -1
  246. package/dist/assets/{react-CUdUBRF6.js → react-OxQ1eBeR.js} +1 -1
  247. package/dist/assets/{react-72w_Kluy.js → react-omDkrKl-.js} +1 -1
  248. package/dist/assets/{react-CX9OzKa9.js → react-pyJg34N2.js} +1 -1
  249. package/dist/assets/{recharts-DkFolWRg.js → recharts-Djp9a38d.js} +1 -1
  250. package/dist/assets/{sentry-Ckvw8Zf1.js → sentry-DBSEoG3b.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-rM_NpNHL.js → shield-DOlUxcFf-BOPfGBnx.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-DxETcMNK-ChqFn7jZ.js +1 -0
  253. package/dist/assets/{toChartData-8r0AvOIP-Dhy8B0ZL.js → toChartData-BQYX2C7n-DbxCO4-E.js} +1 -1
  254. package/dist/assets/{uploadAttachment-CTXeI85v-BVATkq8k.js → uploadAttachment-C3cElL9m-QbAR0kQd.js} +1 -1
  255. package/dist/assets/{uploadReceipts-Dge0cNF1-nRZK_a0M.js → uploadReceipts-Dge0cNF1-BifC32F3.js} +1 -1
  256. package/dist/assets/{url-D8pFj_Ts.js → url-BmxmWAZl.js} +1 -1
  257. package/dist/assets/{url-DCwOBFCk.js → url-DITb-guK.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-BkrNXw3e.js → useLongPress-GCK2COYQ-CaFh8omD.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-54Q8nh58.js → usp-line-BBd1wKwW-CpqqX4MO.js} +1 -1
  260. package/dist/assets/{utils-B4eJ0QQL.js → utils-rIQAYtge.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-BnsQ52n7.js → zeni-epic-state-1oOVJQJ4.js} +3 -3
  262. package/dist/index.html +1 -1
  263. package/package.json +2 -2
  264. package/dist/assets/AccountInfoPage-CwOgUpjY-CG0ESFTT.js +0 -18
  265. package/dist/assets/ChargeCardPromoPage-CSx0tLTh-BsQndE31.js +0 -222
  266. package/dist/assets/CustomerOnboardingContainerPage-BRmWV-NF-CTVp5vU-.js +0 -1
  267. package/dist/assets/EntityDetailPage-C6UdR7oJ-COx1heor.js +0 -18
  268. package/dist/assets/GlobalReviewListPage-DFhcVK4y-DV_nZHys.js +0 -291
  269. package/dist/assets/MagicLinkACHDetailsPage-DhFoinUr-BKHQrprB.js +0 -1
  270. package/dist/assets/MagicLinkDomesticWireDetailsPage-BUX5Ve2X-CKqNdN5U.js +0 -1
  271. package/dist/assets/MagicLinkInternationalWireDetailsPage-BmtqDOUO-CMDMqnYA.js +0 -1
  272. package/dist/assets/OpExByVendorPage-D1ehVVFD-Dc7GFqIq.js +0 -100
  273. package/dist/assets/ReimbursementApprovalRuleDetailPage-BRUlJa_D-yH6i72Z5.js +0 -32
  274. package/dist/assets/TimeframeSwitcher-C26tc1sm-Eg22Wb7g.js +0 -31
  275. package/dist/assets/VendorACHDetailsPage-BNcSYRzd-Kp1xh3I0.js +0 -1
  276. package/dist/assets/VendorDomesticWireDetailsPage-KZSt69vF-CigCqUX0.js +0 -1
  277. package/dist/assets/VendorFirstReviewPage-DJap4HA2-DP0KML1b.js +0 -730
  278. package/dist/assets/mapLoadingInProgressToTreeNode-DWJx3AOd-DyMnZ_nG.js +0 -1
  279. package/dist/assets/mapSpacerToTreeNode-CKbbOrFj-B8jOHJ4H.js +0 -1
  280. package/dist/assets/mapTimeframeBalancesToTreeNode-BpaMuUED-DrbIaTMF.js +0 -1
  281. package/dist/assets/mapTimeframeBalancesToTreeNode-jq979PpH-D251JRiH.js +0 -1
  282. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-6A-QxQzl-WsH6ynl8.js +0 -1
  283. package/dist/assets/toCOABalancesWithID-CxmuqRLi-BeWRvmKl.js +0 -1
@@ -1,4 +1,4 @@
1
- import{J as _,a9 as E,F as w,cH as W,V as n,cr as H,cs as V,ct as F,ad as O,aS as J,x as r,e_ as K,b8 as Q,o as U,u as t}from"./index-C9hDAJ7o.js";import{a as y}from"./sentry-Ckvw8Zf1.js";import{n as u}from"./mui-BQR0Ruo4.js";import{W as q,A as G}from"./BankAccountWarningSection-Dr8XVfsN-Bh1VpxWI.js";import{M as X}from"./MagicLinkTitleSection-vHYX92L1-B1QKRjFr.js";import{e as Y}from"./BankAccountSection-DyPS4RZK-Bc2VKdEG.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]="17adab86-81d5-42f5-a53f-b358b0da97bf",e._sentryDebugIdIdentifier="sentry-dbid-17adab86-81d5-42f5-a53f-b358b0da97bf")}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)},A="achDetailsPage",p="bankAccountSection",T=e=>`${e}_form`,ue=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,isDisabled:k,style:S,onSaveHandler:v,onBackClick:h,onACHDetailsUpdated:B,onFetchBankName:N,isMagicLink:m,companyName:D,currencySymbol:j,amount:P,bankAccountContext:$})=>{const c=_(),i=E({mode:"onBlur",reValidateMode:"onChange",defaultValues:y.useMemo(()=>Z(o),[o])}),[z,b]=y.useState(!1),d=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,I=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:x}=d,L={onOkClick:()=>{b(!1),i.reset(),h?.()},onCancelClick:()=>{b(!1)}},M=async(f,l)=>{const s=l[p].bankRoutingNumber;B(l),f===`${p}.bankRoutingNumber`&&s?.length===9&&K.test(s)===!0&&N?.(s)};y.useEffect(()=>{const f=i.watch((l,{name:s})=>{s!=null&&l!=null&&W(()=>M(s,l))});return()=>{f.unsubscribe()}});const R=i.handleSubmit(f=>{g.fetchState!=="In-Progress"&&v("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:S,size:c,children:[z===!0?n.jsx(H,{titleComponent:n.jsx(F,{children:d.discardTitle}),descriptionComponent:n.jsx(V,{children:d.discardDescription}),primaryButtonText:d.discard,secondaryButtonText:d.cancel,action:L}):null,n.jsx(q,{header:m?n.jsx(X,{companyName:D??"",currencySymbol:j??"",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:x.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:c,children:C.title}),n.jsx(ie,{children:n.jsx(O,{...i,children:n.jsx("form",{id:T(A),onSubmit:R,children:n.jsx(ee,{size:c,children:n.jsx(Y,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:p,isDisabled:k})})})})})]}),n.jsx(J,{formId:T(A),primaryBtn:{label:m?x.submitDetails:x.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(c)},isDisabled:k!=null},showCancel:!m,cancelBtn:{label:I.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 _,a9 as E,F as w,cH as W,V as n,cr as H,cs as V,ct as F,ad as O,aS as J,x as c,e_ as K,b8 as Q,o as U,u as t}from"./index-Dw_MX6AZ.js";import{a as y}from"./sentry-DBSEoG3b.js";import{n as u}from"./mui-DdxImnN0.js";import{W as q,A as G}from"./BankAccountWarningSection-DeUkht1G--scnEmUk.js";import{M as X}from"./MagicLinkTitleSection-DajyP-ys-Be4ZqDQL.js";import{e as Y}from"./BankAccountSection-BQKaKFnm-DHGgFmbL.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]="a05c0dcd-f05d-4c68-93ce-e31f2e00d064",e._sentryDebugIdIdentifier="sentry-dbid-a05c0dcd-f05d-4c68-93ce-e31f2e00d064")}catch{}})();const a={paddingTopBottomContainer:new c(t[3],t[3]),paddingLeftContainer:new c(t[3],t[6]),paddingRightContainer:new c(t[3],t[8]),sectionTitleMarginLeft:new c(t[4],t[6]),sectionTitleMarginTop:new c(12,t[3]),buttonWidth:new c(140,140)},A="achDetailsPage",p="bankAccountSection",T=e=>`${e}_form`,ue=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,isDisabled:k,style:S,onSaveHandler:v,onBackClick:h,onACHDetailsUpdated:B,onFetchBankName:N,isMagicLink:m,companyName:D,currencySymbol:j,amount:P,bankAccountContext:$})=>{const r=_(),i=E({mode:"onBlur",reValidateMode:"onChange",defaultValues:y.useMemo(()=>Z(o),[o])}),[z,f]=y.useState(!1),d=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,I=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:x}=d,L={onOkClick:()=>{f(!1),i.reset(),h?.()},onCancelClick:()=>{f(!1)}},M=async(b,l)=>{const s=l[p].bankRoutingNumber;B(l),b===`${p}.bankRoutingNumber`&&s?.length===9&&K.test(s)===!0&&N?.(s)};y.useEffect(()=>{const b=i.watch((l,{name:s})=>{s!=null&&l!=null&&W(()=>M(s,l))});return()=>{b.unsubscribe()}});const R=i.handleSubmit(b=>{g.fetchState!=="In-Progress"&&v("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:S,size:r,children:[z===!0?n.jsx(H,{titleComponent:n.jsx(F,{children:d.discardTitle}),descriptionComponent:n.jsx(V,{children:d.discardDescription}),primaryButtonText:d.discard,secondaryButtonText:d.cancel,action:L}):null,n.jsx(q,{header:m?n.jsx(X,{companyName:D??"",currencySymbol:j??"",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:x.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:r,children:C.title}),n.jsx(ie,{children:n.jsx(O,{...i,children:n.jsx("form",{id:T(A),onSubmit:R,children:n.jsx(ee,{size:r,children:n.jsx(Y,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:p,isDisabled:k})})})})})]}),n.jsx(J,{formId:T(A),primaryBtn:{label:m?x.submitDetails:x.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:k!=null},showCancel:!m,cancelBtn:{label:I.cancel,style:{width:a.buttonWidth.value(r)},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{x as u,a8 as y1,J as M,F as j,ce as j1,V as C,bU as $1,o as r,ab as v1,w as D,cl as b1,kh as V,u as n,bQ as f,co as h1,p as d,a7 as S1,b4 as p1,y as m1,ki as g,aj as x,kj as Z1,kk as B1,as as S,R as K,b8 as Q,an as F1,kl as W1,dP as _1,g6 as D1,cj as u1,am as H1}from"./index-C9hDAJ7o.js";import{a as e}from"./sentry-Ckvw8Zf1.js";import{n as o,c as P1,k as V1}from"./mui-BQR0Ruo4.js";import{Gr as E,Gs as e1,Gt as F}from"./zeni-epic-state-BnsQ52n7.js";import{R as T1}from"./NavBarWithPicker-1UPJ_fiE-iY8P9Wot.js";import{F as k1,X as x1,Y as I,I as z1,J as O1,G as t1}from"./recharts-DkFolWRg.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.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]="01a00a42-76e3-441d-ac6d-82df1ae084a8",t._sentryDebugIdIdentifier="sentry-dbid-01a00a42-76e3-441d-ac6d-82df1ae084a8")}catch{}})();const C1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},G1=o.div`
1
+ import{x as u,a8 as y1,J as M,F as j,ce as j1,V as C,bU as $1,o as r,ab as v1,w as D,cl as b1,kh as V,u as n,bQ as f,co as h1,p as d,a7 as S1,b4 as p1,y as m1,ki as g,aj as x,kj as Z1,kk as B1,as as S,R as K,b8 as Q,an as F1,kl as W1,dP as _1,g6 as D1,cj as u1,am as H1}from"./index-Dw_MX6AZ.js";import{a as e}from"./sentry-DBSEoG3b.js";import{n as o,c as P1,k as V1}from"./mui-DdxImnN0.js";import{Gr as E,Gs as e1,Gt as F}from"./zeni-epic-state-1oOVJQJ4.js";import{R as T1}from"./NavBarWithPicker-r-K_Pjsb-CmAh3bpT.js";import{F as k1,X as x1,Y as I,I as z1,J as O1,G as t1}from"./recharts-Djp9a38d.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="59cdac3d-b036-4e1b-a9e3-0d9e74beee1f",t._sentryDebugIdIdentifier="sentry-dbid-59cdac3d-b036-4e1b-a9e3-0d9e74beee1f")}catch{}})();const C1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},G1=o.div`
2
2
  width: 100%;
3
3
  height: 100%;
4
4
  border: 1px solid ${t=>t.theme.colors.grey3};
@@ -0,0 +1,18 @@
1
+ import{y as x,J as y,V as t,gT as b,o as d,x as r,hF as D,u as i}from"./index-Dw_MX6AZ.js";import{a as T}from"./sentry-DBSEoG3b.js";import{n as o}from"./mui-DdxImnN0.js";import{K as P}from"./StatusSwitcher-DnuyzbQo-uFTkU_Rq.js";import{r as $}from"./AccountInfoPageContent-Dn6yodzf-C1aQIT5z.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./downloadPdf-D2sIdMDR-D6_l0NHH.js";import"./commonDimensions-Cpv8YIix-Dpl_2njg.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]="dbe7c9a1-ad35-440a-b45c-cd9dda7e3273",e._sentryDebugIdIdentifier="sentry-dbid-dbe7c9a1-ad35-440a-b45c-cd9dda7e3273")}catch{}})();const s={pageTitleMarginXAxis:new r(i[4],i[8]),containerPaddingLeft:new r(i[3],i[6],i[8]),containerPaddingRight:new r(i[3],i[6],i[8])},q=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:u,currentTenant:g,onDismissClick:p})=>{const f=x(),c=y(),[l,m]=T.useState("achDetails"),w=h=>{m(h)};return t.jsxs(A,{children:[t.jsx(b,{title:"",backgroundColor:f.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:p}),t.jsx(S,{windowSize:c,children:a.accountName}),t.jsx(j,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w,isSwitcherLeftAlign:!0})}),t.jsx(z,{windowSize:c,children:t.jsx($,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:u,currentTenant:g,depositAccount:a})})]})},z=o.div`
2
+ padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
3
+ padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
4
+ `,A=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
+ `,S=o(D)`
12
+ color: ${e=>e.theme.colors.primary};
13
+ padding: ${d.sp3} ${d.sp0};
14
+ margin: ${e=>`${d.sp0} ${s.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
15
+ `,j=o.div`
16
+ display: flex;
17
+ justify-content: flex-start;
18
+ `;export{q as default};
@@ -1,16 +1,16 @@
1
- import{J as je,h1 as Ae,hG as Q,V as r,bU as z,k as Se,ab as L,o as a,b8 as Te,F as ve,c4 as De,p as E,aj as re,h as Ce,h4 as ze,am as ae}from"./index-C9hDAJ7o.js";import{a as s}from"./sentry-Ckvw8Zf1.js";import{n as t}from"./mui-BQR0Ruo4.js";import{w as Le}from"./downloadPdf-CPfBtFli-C5o4QyFD.js";import{o as _e}from"./commonDimensions-BNYeCJ44-DwWQhbOM.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]="0cfd1372-7561-4172-afce-7cf73d1cd2ef",e._sentryDebugIdIdentifier="sentry-dbid-0cfd1372-7561-4172-afce-7cf73d1cd2ef")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:X},billPay:{vendorCreation:{achDetails:o}},downloads:K}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:m,depositAccount:n,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,J]=Ae(),[N,te]=s.useState(!1),[se,ce]=s.useState(!1),[ne,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[pe,me]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,M]=s.useState(!1),[w,P]=s.useState(!1),[j,R]=s.useState(!1),[A,q]=s.useState(!1),[S,U]=s.useState(!1),[T,V]=s.useState(!1),[v,O]=s.useState(!1),[$,B]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=Q(u.zeniAccountsConfigDetail.mailingAddress).text2,p=Q(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{M(!1),V(!1),O(!1),B(!1),U(!1),q(!1),R(!1),P(!1)},1200)},[h,T,v,$,S,A,j,w]);const F=(f,c)=>{switch(f){case"accountType":ce(c);break;case"acccountNumber":ie(c);break;case"routingNumber":de(c);break;case"bankName":ue(c);break;case"beneficiaryName":fe(c);break;case"beneficiaryAddress":me(c);break;case"bankAddress":ye(c);break}},$e=f=>{let c;f==="achDetails"?c=`${o.bankRoutingNumber} ${n.routingNumberAch}
1
+ import{J as je,h1 as Ae,hG as Q,V as r,bU as z,k as Se,ab as L,o as a,b8 as Te,F as ve,c4 as De,p as E,aj as re,h as Ce,h4 as ze,am as ae}from"./index-Dw_MX6AZ.js";import{a as s}from"./sentry-DBSEoG3b.js";import{n as t}from"./mui-DdxImnN0.js";import{w as Le}from"./downloadPdf-D2sIdMDR-D6_l0NHH.js";import{o as _e}from"./commonDimensions-Cpv8YIix-Dpl_2njg.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]="f737ebfb-2e27-4773-8baf-e4fb7a49dcd4",e._sentryDebugIdIdentifier="sentry-dbid-f737ebfb-2e27-4773-8baf-e4fb7a49dcd4")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:X},billPay:{vendorCreation:{achDetails:o}},downloads:K}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:m,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),[pe,me]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,M]=s.useState(!1),[w,P]=s.useState(!1),[j,R]=s.useState(!1),[A,q]=s.useState(!1),[S,U]=s.useState(!1),[T,V]=s.useState(!1),[v,O]=s.useState(!1),[$,B]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=Q(u.zeniAccountsConfigDetail.mailingAddress).text2,p=Q(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{M(!1),V(!1),O(!1),B(!1),U(!1),q(!1),R(!1),P(!1)},1200)},[h,T,v,$,S,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":me(n);break;case"bankAddress":ye(n);break}},$e=f=>{let n;f==="achDetails"?n=`${o.bankRoutingNumber} ${c.routingNumberAch}
2
2
 
3
- ${o.accountTypeLabel} ${n.accountSubType.name??""}
3
+ ${o.accountTypeLabel} ${c.accountSubType.name??""}
4
4
 
5
- ${o.bankAccountNumber} ${n.accountNumber}
5
+ ${o.bankAccountNumber} ${c.accountNumber}
6
6
 
7
7
  ${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
8
8
 
9
- ${o.bankAddress} ${p}`:c=`${o.bankRoutingNumber} ${n.routingNumberAch}
9
+ ${o.bankAddress} ${p}`:n=`${o.bankRoutingNumber} ${c.routingNumberAch}
10
10
 
11
- ${o.accountTypeLabel} ${n.accountSubType.name??""}
11
+ ${o.accountTypeLabel} ${c.accountSubType.name??""}
12
12
 
13
- ${o.bankAccountNumber} ${n.accountNumber}
13
+ ${o.bankAccountNumber} ${c.accountNumber}
14
14
 
15
15
  ${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
16
16
 
@@ -18,7 +18,7 @@ ${o.beneficiaryName} ${D}
18
18
 
19
19
  ${o.bankAddress} ${p}
20
20
 
21
- ${o.beneficiaryAddress} ${C}`,J(c),M(!0)},i=(f,c,x,H)=>{let d,l;switch(x){case"acccountNumber":d=ne,l=v;break;case"accountType":d=se,l=T;break;case"bankName":d=be,l=S;break;case"beneficiaryName":d=he,l=w;break;case"beneficiaryAddress":d=pe,l=A;break;case"bankAddress":d=xe,l=j;break;default:d=le,l=$;break}const we=()=>{switch(x){case"accountType":V(!0);break;case"acccountNumber":O(!0);break;case"routingNumber":B(!0);break;case"bankName":U(!0);break;case"beneficiaryName":P(!0);break;case"beneficiaryAddress":q(!0);break;case"bankAddress":R(!0);break}};return r.jsxs(qe,{onMouseEnter:()=>F(x,!0),onMouseLeave:()=>F(x,!1),children:[r.jsx(Ue,{children:f}),r.jsx(Oe,{children:r.jsxs(Be,{children:[r.jsxs(Ve,{children:[d||oe==="small"?r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:l,children:l?g.copied:g.copy}),enterDelay:600,children:l===!0?r.jsx(ee,{}):r.jsx(W,{"data-testid":L("account-info-copy",x),onClick:()=>{J(c),we()}})})}):null,c]}),H!=null?r.jsx(Fe,{children:H}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:n.id,company_name:k?.companyName??"",company_legal_name:k?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${y}?query=${ke}`;return r.jsx(Ee,{children:r.jsxs(Ge,{children:[r.jsxs(Je,{children:[r.jsx(Pe,{children:m==="achDetails"?X.achTitle:X.wireTitle}),r.jsxs(Me,{children:[r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?K.downloading:K.download}),enterDelay:600,children:N===!0?r.jsx(Se,{size:"Small",start:!0}):r.jsx(Re,{"data-testid":L("account-info-download-pdf"),onClick:()=>{Le(Ne,Ie.empty,e,te,!0)}})})}),r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:h,children:h?g.copied:g.copy}),enterDelay:600,children:h===!0?r.jsx(ee,{}):r.jsx(W,{onClick:()=>$e(m),"data-testid":L("title-text-copy")})})})]})]}),m==="achDetails"?r.jsxs(He,{children:[r.jsx(Y,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(Z,{children:i(o.bankAddress,p,"bankAddress")}):null]}):m==="wireDetails"?r.jsxs(Qe,{children:[r.jsx(Y,{children:i(o.bankRoutingNumber,n.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,n.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,n.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(b,{children:i(o.bankAddress,p,"bankAddress")}):null,D!=null?r.jsx(b,{children:i(o.beneficiaryName,D,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,C!=null?r.jsx(Z,{children:i(o.beneficiaryAddress,C,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Ee=t.div``,Ge=t.div`
21
+ ${o.beneficiaryAddress} ${C}`,J(n),M(!0)},i=(f,n,x,H)=>{let d,l;switch(x){case"acccountNumber":d=ce,l=v;break;case"accountType":d=se,l=T;break;case"bankName":d=be,l=S;break;case"beneficiaryName":d=he,l=w;break;case"beneficiaryAddress":d=pe,l=A;break;case"bankAddress":d=xe,l=j;break;default:d=le,l=$;break}const we=()=>{switch(x){case"accountType":V(!0);break;case"acccountNumber":O(!0);break;case"routingNumber":B(!0);break;case"bankName":U(!0);break;case"beneficiaryName":P(!0);break;case"beneficiaryAddress":q(!0);break;case"bankAddress":R(!0);break}};return r.jsxs(qe,{onMouseEnter:()=>F(x,!0),onMouseLeave:()=>F(x,!1),children:[r.jsx(Ue,{children:f}),r.jsx(Oe,{children:r.jsxs(Be,{children:[r.jsxs(Ve,{children:[d||oe==="small"?r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:l,children:l?g.copied:g.copy}),enterDelay:600,children:l===!0?r.jsx(ee,{}):r.jsx(W,{"data-testid":L("account-info-copy",x),onClick:()=>{J(n),we()}})})}):null,n]}),H!=null?r.jsx(Fe,{children:H}):null]})})]})},ge={detail_type:"account_details",deposit_account_id:c.id,company_name:k?.companyName??"",company_legal_name:k?.company?.companyInfo.companyLegalName??""},ke=encodeURIComponent(JSON.stringify(ge)),Ne=`${y}?query=${ke}`;return r.jsx(Ee,{children:r.jsxs(Ge,{children:[r.jsxs(Je,{children:[r.jsx(Pe,{children:m==="achDetails"?X.achTitle:X.wireTitle}),r.jsxs(Me,{children:[r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?K.downloading:K.download}),enterDelay:600,children:N===!0?r.jsx(Se,{size:"Small",start:!0}):r.jsx(Re,{"data-testid":L("account-info-download-pdf"),onClick:()=>{Le(Ne,Ie.empty,e,te,!0)}})})}),r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:h,children:h?g.copied:g.copy}),enterDelay:600,children:h===!0?r.jsx(ee,{}):r.jsx(W,{onClick:()=>$e(m),"data-testid":L("title-text-copy")})})})]})]}),m==="achDetails"?r.jsxs(He,{children:[r.jsx(Y,{children:i(o.bankRoutingNumber,c.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,c.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,c.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(Z,{children:i(o.bankAddress,p,"bankAddress")}):null]}):m==="wireDetails"?r.jsxs(Qe,{children:[r.jsx(Y,{children:i(o.bankRoutingNumber,c.routingNumberAch,"routingNumber")}),r.jsx(b,{children:i(o.accountTypeLabel,c.accountSubType.name,"accountType")}),r.jsx(b,{children:i(o.bankAccountNumber,c.accountNumber,"acccountNumber")}),r.jsx(b,{children:i(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(b,{children:i(o.bankAddress,p,"bankAddress")}):null,D!=null?r.jsx(b,{children:i(o.beneficiaryName,D,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,C!=null?r.jsx(Z,{children:i(o.beneficiaryAddress,C,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},Ee=t.div``,Ge=t.div`
22
22
  margin: ${a.sp4};
23
23
  margin-left: ${a.sp0};
24
24
  `,Je=t.div`
@@ -1,4 +1,4 @@
1
- import{y as g,F as l,V as t,am as x,bb as d,i as y,o,p as m,ar as b,b_ as j,b$ as $,c0 as w,bT as k}from"./index-C9hDAJ7o.js";import{n as r}from"./mui-BQR0Ruo4.js";import{t as v}from"./handshake-BPg58FML-FDeEnKd2.js";import"./sentry-Ckvw8Zf1.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./zeni-epic-state-BnsQ52n7.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.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]="26fc994f-5174-411f-9268-637a5b536e61",e._sentryDebugIdIdentifier="sentry-dbid-26fc994f-5174-411f-9268-637a5b536e61")}catch{}})();const p="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(S,{children:[t.jsx(C,{children:n.accountLockedTitle}),t.jsxs(D,{children:[t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(z,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(T,{})}),t.jsxs(d,{children:[n.tryAgainAfter,t.jsxs(_,{children:[f,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(A,{})}),t.jsxs(d,{children:[n.accountLockedContactMessage,t.jsx(I,{href:`mailto:${p}`,children:p})]})]}),t.jsx(y,{variant:"primary",label:n.understood,onClick:i})]})]})};function M({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(F,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const S=r.div`
1
+ import{y as g,F as l,V as t,am as x,bb as d,i as y,o,p as m,ar as b,b_ as j,b$ as $,c0 as w,bT as k}from"./index-Dw_MX6AZ.js";import{n as r}from"./mui-DdxImnN0.js";import{t as v}from"./handshake-BPg58FML-B6X0918N.js";import"./sentry-DBSEoG3b.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="26fc994f-5174-411f-9268-637a5b536e61",e._sentryDebugIdIdentifier="sentry-dbid-26fc994f-5174-411f-9268-637a5b536e61")}catch{}})();const p="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(S,{children:[t.jsx(C,{children:n.accountLockedTitle}),t.jsxs(D,{children:[t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(z,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(T,{})}),t.jsxs(d,{children:[n.tryAgainAfter,t.jsxs(_,{children:[f,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(A,{})}),t.jsxs(d,{children:[n.accountLockedContactMessage,t.jsx(I,{href:`mailto:${p}`,children:p})]})]}),t.jsx(y,{variant:"primary",label:n.understood,onClick:i})]})]})};function M({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(F,{children:t.jsx(h,{unlockDate:e,onSubmit:i})})})}const S=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{a9 as fe,fE as xe,V as t,ad as ye,cr as ge,cs as je,ct as Se,o as c,a as $e,b8 as J,an as Q,b as ke,aa as be,dO as ve,eX as we,d6 as G,dx as Z,F as Ce,am as d,y as Ee,aP as Pe,bx as ee,dR as te,au as Re,p as ne,h as Ie}from"./index-C9hDAJ7o.js";import{a as r}from"./sentry-Ckvw8Zf1.js";import{n as o}from"./mui-BQR0Ruo4.js";import{bL as oe,GH as De,GI as _e}from"./zeni-epic-state-BnsQ52n7.js";import{I as Te,w as Fe,$ as Ue,y as Le}from"./AccountRow-DtE1mQFq-sRlcgWT1.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.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]="eda151f5-d51a-4967-82c4-a6055130fc2e",e._sentryDebugIdIdentifier="sentry-dbid-eda151f5-d51a-4967-82c4-a6055130fc2e")}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,fE as xe,V as t,ad as ye,cr as ge,cs as je,ct as Se,o as c,a as $e,b8 as J,an as Q,b as ke,aa as be,dO as ve,eX as we,d6 as G,dx as Z,F as Ce,am as d,y as Ee,aP as Pe,bx as ee,dR as te,au as Re,p as ne,h as Ie}from"./index-Dw_MX6AZ.js";import{a as r}from"./sentry-DBSEoG3b.js";import{n as o}from"./mui-DdxImnN0.js";import{bL as oe,GH as De,GI as _e}from"./zeni-epic-state-1oOVJQJ4.js";import{I as Te,w as Fe,$ as Ue,y as Le}from"./AccountRow-t-WESYF_-BZd9LxDz.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="8ce3f446-862e-4308-8598-69fd21acf41e",e._sentryDebugIdIdentifier="sentry-dbid-8ce3f446-862e-4308-8598-69fd21acf41e")}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};
@@ -1,4 +1,4 @@
1
- import{V as t,aP as E,bU as f,o,ab as y,aa as re,dO as le,F as de,am as $,dP as ue,p as g,dQ as X,dR as Y,d1 as xe,aW as x,aj as Z,u as p,J as pe,y as I,b0 as he,dv as ge,ao as me,i as fe,an as S,bL as je,dH as ye}from"./index-C9hDAJ7o.js";import{a as $e}from"./sentry-Ckvw8Zf1.js";import{n as a,c as we}from"./mui-BQR0Ruo4.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]="04183ee6-66f8-44f4-a893-89062ae93373",e._sentryDebugIdIdentifier="sentry-dbid-04183ee6-66f8-44f4-a893-89062ae93373")}catch{}})();const be=a.div`
1
+ import{V as t,aP as E,bU as f,o,ab as y,aa as re,dO as le,F as de,am as b,dP as ue,p as g,dQ as X,dR as Y,d1 as xe,aW as x,aj as Z,u as p,J as pe,y as I,b0 as he,dv as ge,ao as me,i as fe,an as S,bL as je,dH as ye}from"./index-Dw_MX6AZ.js";import{a as be}from"./sentry-DBSEoG3b.js";import{n as a,c as $e}from"./mui-DdxImnN0.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]="7540ccb6-1110-4cf9-b290-5d9a1f775bb0",e._sentryDebugIdIdentifier="sentry-dbid-7540ccb6-1110-4cf9-b290-5d9a1f775bb0")}catch{}})();const we=a.div`
2
2
  position: relative;
3
3
  ${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
4
4
  content: "";
@@ -38,7 +38,7 @@ import{V as t,aP as E,bU as f,o,ab as y,aa as re,dO as le,F as de,am as $,dP as
38
38
  margin-left: 2px;
39
39
  width: 12px;
40
40
  height: 12px;
41
- `;function Ee({firstLetter:e,color:n,showIcon:i,showCollapsedIcon:c,showTreeLine:l=!1,className:d}){return t.jsx(be,{showTreeLine:l,collapsed:c,children:t.jsx(ve,{colour:n,className:d,children:t.jsx(Re,{children:i===!0?c===!0?t.jsx(Te,{}):t.jsx(ke,{}):t.jsx(Ce,{colour:n,className:d,children:e})})})})}const Ie=a.div`
41
+ `;function Ee({className:e,color:n,dataTestId:i,firstLetter:c,showCollapsedIcon:l,showIcon:d,showTreeLine:s=!1}){return t.jsx(we,{showTreeLine:s,collapsed:l,"data-testid":i,children:t.jsx(ve,{colour:n,className:e,children:t.jsx(Re,{children:d===!0?l===!0?t.jsx(Te,{}):t.jsx(ke,{}):t.jsx(Ce,{colour:n,className:e,children:c})})})})}const Ie=a.div`
42
42
  display: flex;
43
43
  flex: 1 1 auto;
44
44
  max-height: 1px;
@@ -64,7 +64,7 @@ import{V as t,aP as E,bU as f,o,ab as y,aa as re,dO as le,F as de,am as $,dP as
64
64
  background-color: ${e=>e.isLastRow?e.theme.colors.hero:e.isSelectedRow?e.theme.colors.primary:e.theme.colors.grey3};
65
65
  }
66
66
  .any-text-container {
67
- ${e=>e.isSelectedRow?we`
67
+ ${e=>e.isSelectedRow?$e`
68
68
  color: ${e.theme.colors.primary};
69
69
  `:null}
70
70
  }
@@ -108,7 +108,7 @@ import{V as t,aP as E,bU as f,o,ab as y,aa as re,dO as le,F as de,am as $,dP as
108
108
  align-items: center;
109
109
  gap: ${o.sp1};
110
110
  margin-top: ${o.sp1};
111
- `,Ve=a($)`
111
+ `,Ve=a(b)`
112
112
  user-select: none;
113
113
  clear: both;
114
114
  display: inline-block;
@@ -125,18 +125,18 @@ import{V as t,aP as E,bU as f,o,ab as y,aa as re,dO as le,F as de,am as $,dP as
125
125
  justify-content: flex-end;
126
126
  align-items: center;
127
127
  color: ${e=>e.theme.colors.hero};
128
- `,Ue=a($)`
128
+ `,Ue=a(b)`
129
129
  width: ${u.bankBalanceWidth}px;
130
130
  min-width: ${u.bankBalanceWidth}px;
131
131
  text-align: right;
132
132
  `,Fe=a.div`
133
133
  width: ${u.bankBalanceRightWidth}px;
134
134
  min-width: ${u.bankBalanceRightWidth}px;
135
- `,Me=a($)`
135
+ `,Me=a(b)`
136
136
  width: ${u.clearedBalanceWidth}px;
137
137
  min-width: ${u.clearedBalanceWidth}px;
138
138
  text-align: right;
139
- `,Qe=a($)`
139
+ `,Qe=a(b)`
140
140
  width: ${u.statusWidth}px;
141
141
  min-width: ${u.statusWidth}px;
142
142
  height: 1px;
@@ -166,12 +166,12 @@ import{V as t,aP as E,bU as f,o,ab as y,aa as re,dO as le,F as de,am as $,dP as
166
166
  text-align: center;
167
167
  gap: ${o.sp2};
168
168
  margin-left: ${u.tickLeftMargin}px;
169
- `,Je=a($)`
169
+ `,Je=a(b)`
170
170
  border-radius: ${o.sp1};
171
171
  color: ${e=>e.textColor.hex()};
172
172
  min-width: ${u.varianceNumberWidth}px;
173
173
  text-align: right;
174
- `,Ge=a($)`
174
+ `,Ge=a(b)`
175
175
  border-radius: ${o.sp1};
176
176
  padding: ${o.sp0} ${o.sp1};
177
177
  justify-content: center;
@@ -200,7 +200,7 @@ import{V as t,aP as E,bU as f,o,ab as y,aa as re,dO as le,F as de,am as $,dP as
200
200
  width: ${o.sp3};
201
201
  height: ${o.sp3};
202
202
  color: ${g.success};
203
- `,C=a($)`
203
+ `,C=a(b)`
204
204
  text-align: right;
205
205
  `,tt=a.div`
206
206
  display: flex;
@@ -210,7 +210,7 @@ import{V as t,aP as E,bU as f,o,ab as y,aa as re,dO as le,F as de,am as $,dP as
210
210
  `,nt=a(xe)`
211
211
  width: ${o.sp3};
212
212
  height: ${o.sp3};
213
- `,ot=a($)`
213
+ `,ot=a(b)`
214
214
  text-align: right;
215
215
  color: ${g.important};
216
216
  cursor: pointer;
@@ -238,14 +238,14 @@ import{V as t,aP as E,bU as f,o,ab as y,aa as re,dO as le,F as de,am as $,dP as
238
238
  height: 12px;
239
239
  color: ${e=>e.iconColor.hex()};
240
240
  margin-top: ${o.sp1};
241
- `,w=a.div`
241
+ `,$=a.div`
242
242
  display: flex;
243
243
  gap: ${o.sp1};
244
244
  `,O=a.div`
245
245
  display: flex;
246
246
  flex-direction: column;
247
247
  align-items: center;
248
- `,K=a($)`
248
+ `,K=a(b)`
249
249
  color: ${e=>e.theme.colors.hero};
250
250
  `,U=a.div`
251
251
  display: flex;
@@ -295,4 +295,4 @@ import{V as t,aP as E,bU as f,o,ab as y,aa as re,dO as le,F as de,am as $,dP 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:mt}}}=de.getLocalizedStrings();function Bt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,index:l,onReviewClicked:d,onOpenDrawerClicked:r,onConnectClicked:m,onReconnectClicked:k,onStatementAddClicked:W}){const B=pe(),P=I(),v=n.accountReconEntity.account.accountName,j=n.accountReconEntity.balance,N=n.accountReconEntity.clearedBalance,ne=n.accountReconEntity.variance,oe=n.accountReconEntity.variancePercentage,ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{k?.(n.accountReconEntity.account.accountId)},ce=()=>{W?.(n.accountReconEntity.account.accountId)},z=()=>{d?.(n.accountReconEntity.account.accountId)},[se,D]=$e.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 J=e;return i&&(J=e+p[8]),t.jsxs(_e,{"data-testid":y("account-recon-row-root-container",l!=null?`index-${l}`:n.accountReconEntity.account.accountId),heightValue:J,isLastRow:i,windowSize:B,isSelectedRow:c,onClick:()=>{se!==!0&&r?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Ne,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(De,{children:[t.jsx(Ee,{firstLetter:v.charAt(0),color:new x(P.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(Ae,{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(Oe,{children:[t.jsx(Ue,{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:j,bankConnection:n.accountConnectionStatus,onConnectClicked:ae,onStatementAddClicked:ce,isLoading:T,onReconnectClicked:ie})}),t.jsx(Fe,{children:t.jsx(Tt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Me,{children:t.jsx(bt,{clearedBalance:N,isLoading:T})}),t.jsx(ft,{isLoading:T,variance:ne,variancePercentage:oe,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(He,{children:t.jsx(ze,{heightValue:e})}),t.jsx(Qe,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:q==="plaid"?t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:z}):t.jsx($t,{accountRecon:n,isLoading:T,onReviewClicked:z})})]})]}),t.jsx(Pe,{kind:"account_separator",isScrolling:!1}),i?t.jsx(Be,{}):null]})}const ft=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=I(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=jt(l,e,i),k=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${mt}`:h;return t.jsxs(qe,{children:[t.jsx(Je,{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})]})},jt=(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}},yt=({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(Ct,{});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(vt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(A,{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(A,{showTooltip:d!=null,tooltipText:r})},$t=({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(kt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Rt,{});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(A,{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(Ke,{children:t.jsx(fe,{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(Xe,{children:[t.jsxs(Ye,{children:[t.jsx(et,{}),t.jsx(Ze,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(G,{children:s.status.QBOUser}):e&&t.jsxs(G,{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:P})=>{const v=Et(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(at,{children:[t.jsxs(it,{children:[t.jsx(ct,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(st,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(ot,{"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(tt,{"data-testid":y("account-reconciliation-connect-button",W),onMouseEnter:()=>{P(!0)},onMouseLeave:()=>{P(!1)},children:t.jsx(re,{controller:v.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(le,{moreIconType:"custom",customIcon:t.jsx(nt,{}),options:v,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(xt,{}):j==="statement"?t.jsx(ht,{}):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(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(w,{children:t.jsxs(O,{children:[t.jsx(V,{iconColor:n}),t.jsx(U,{children:t.jsx(F,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(Q,{children:t.jsx(M,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},vt=({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(w,{children:[t.jsx(V,{iconColor:i}),t.jsxs(O,{children:[t.jsx(U,{children:t.jsx(F,{textColor:i,children:e})}),t.jsx(Q,{children:t.jsx(M,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=I(),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(w,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:i,children:s.status.isInProgress})]})})})},Ct=()=>{const e=I(),n=new x(e.colors.grey1);return t.jsx(w,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Rt=()=>{const e=I(),n=new x(e.colors.grey1);return t.jsx(w,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},kt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=It(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(w,{children:[t.jsx(V,{iconColor:c}),t.jsxs(O,{children:[t.jsx(U,{children:t.jsx(F,{textColor:c,children:l})}),t.jsx(Q,{children:t.jsx(M,{textColor:c,children:s.status.failed})})]})]})})},A=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx(w,{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(w,{children:t.jsx(K,{children:h})})}),b=({tooltipText:e})=>t.jsxs(rt,{children:[t.jsx(lt,{children:s.tooltips.lastUpdated}),t.jsx(dt,{children:e})]}),Tt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(gt,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(pt,{}):l,t.jsx(ut,{className:"bank-icon-container",children:l})};function Et(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 It=(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{bt as $,Bt as A,Lt as D,Ee as E,It as I,_t as R,u,wt as w,jt as y};
298
+ `,{expenseAutomation:{accountRecon:{reconciliation:r}},common:{strings:{hyphen:h,percentage:mt}}}=de.getLocalizedStrings();function Bt({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,index:l,onReviewClicked:d,onOpenDrawerClicked:s,onConnectClicked:m,onReconnectClicked:k,onStatementAddClicked:W}){const B=pe(),P=I(),v=n.accountReconEntity.account.accountName,j=n.accountReconEntity.balance,N=n.accountReconEntity.clearedBalance,ne=n.accountReconEntity.variance,oe=n.accountReconEntity.variancePercentage,ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{k?.(n.accountReconEntity.account.accountId)},ce=()=>{W?.(n.accountReconEntity.account.accountId)},z=()=>{d?.(n.accountReconEntity.account.accountId)},[se,D]=be.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 J=e;return i&&(J=e+p[8]),t.jsxs(_e,{"data-testid":y("account-recon-row-root-container",l!=null?`index-${l}`:n.accountReconEntity.account.accountId),heightValue:J,isLastRow:i,windowSize:B,isSelectedRow:c,onClick:()=>{se!==!0&&s?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Ne,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(De,{children:[t.jsx(Ee,{firstLetter:v.charAt(0),color:new x(P.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(Ae,{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(Oe,{children:[t.jsx(Ue,{children:t.jsx($t,{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:j,bankConnection:n.accountConnectionStatus,onConnectClicked:ae,onStatementAddClicked:ce,isLoading:T,onReconnectClicked:ie})}),t.jsx(Fe,{children:t.jsx(Tt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Me,{children:t.jsx(wt,{clearedBalance:N,isLoading:T})}),t.jsx(ft,{isLoading:T,variance:ne,variancePercentage:oe,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(He,{children:t.jsx(ze,{heightValue:e})}),t.jsx(Qe,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:q==="plaid"?t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:z}):t.jsx(bt,{accountRecon:n,isLoading:T,onReviewClicked:z})})]})]}),t.jsx(Pe,{kind:"account_separator",isScrolling:!1}),i?t.jsx(Be,{}):null]})}const ft=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=I(),{varianceColor:d,variancePercentageColor:s,variancePercentageContainerColor:m}=jt(l,e,i),k=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${mt}`:h;return t.jsxs(qe,{children:[t.jsx(Je,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(Ge,{textColor:s,bgColor:m,className:"any-text-container",children:k})]})},jt=(e,n,i,c)=>{let l,d,s;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),s=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),s=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),s=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:s}},yt=({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,s=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(Ct,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=r.status.balanceNotFound:e.accountReconEntity.balance==null?m=r.status.bankBalanceNotFound:m=r.status.clearedBalanceNotFound,t.jsx(vt,{status:m,tooltipText:s})}if(l==="reconnect"||l==="not_connected")return t.jsx(A,{tooltipText:s,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:s});case"in_progress":return t.jsx(te,{tooltipText:s});case"failed":return t.jsx(ee,{tooltipText:s});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:s});default:return null}else return t.jsx(A,{showTooltip:d!=null,tooltipText:s})},bt=({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,s=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(kt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:s,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Rt,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:r.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:s,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:s});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:s});case"in_progress":return t.jsx(te,{tooltipText:s});case"failed":return t.jsx(ee,{tooltipText:s});default:return null}else return t.jsx(A,{showTooltip:d!=null,tooltipText:s})},L=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx(w,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Ke,{children:t.jsx(fe,{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(w,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Xe,{children:[t.jsxs(Ye,{children:[t.jsx(et,{}),t.jsx(Ze,{children:n?r.status.reconciledVia:r.status.reconciledBy})]}),n?t.jsx(G,{children:r.status.QBOUser}):e&&t.jsxs(G,{children:[e.firstName," ",e.lastName]})]})}),$t=({bankBalance:e,accountType:n,bankConnection:i,statementStatus:c,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:s,onReconnectClicked:m,isLoading:k,accountId:W,onStatementAddClicked:B,setIsHovering:P})=>{const v=Et(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(at,{children:[t.jsxs(it,{children:[t.jsx(ct,{children:t.jsx(f,{title:t.jsx(w,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(st,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(ot,{"data-testid":y("account-reconciliation-reconnect-button",W),onClick:N=>{N.stopPropagation(),m?.()},children:r.connect.reconnnect})]})}else return i==="connected"||c==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(tt,{"data-testid":y("account-reconciliation-connect-button",W),onMouseEnter:()=>{P(!0)},onMouseLeave:()=>{P(!1)},children:t.jsx(re,{controller:v.length>0,children:t.jsx(f,{title:r.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(le,{moreIconType:"custom",customIcon:t.jsx(nt,{}),options:v,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"?s?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(xt,{}):j==="statement"?t.jsx(ht,{}):null})})})})},wt=({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(w,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(O,{children:[t.jsx(V,{iconColor:n}),t.jsx(U,{children:t.jsx(F,{textColor:n,children:r.status.reconciliationFailed})}),t.jsx(Q,{children:t.jsx(M,{textColor:n,children:r.status.reconcileViaQBO})})]})})})},vt=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(w,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(V,{iconColor:i}),t.jsxs(O,{children:[t.jsx(U,{children:t.jsx(F,{textColor:i,children:e})}),t.jsx(Q,{children:t.jsx(M,{textColor:i,children:r.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=I(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(w,{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:r.status.autoReconInProgress}),t.jsx(R,{textColor:i,children:r.status.isInProgress})]})})})},Ct=()=>{const e=I(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:r.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:r.status.isInProgress})]})})},Rt=()=>{const e=I(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:r.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:r.status.isInProgress})]})})},kt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=It(e,"list",i);return t.jsx(f,{title:t.jsx(w,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(V,{iconColor:c}),t.jsxs(O,{children:[t.jsx(U,{children:t.jsx(F,{textColor:c,children:l})}),t.jsx(Q,{children:t.jsx(M,{textColor:c,children:r.status.failed})})]})]})})},A=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx(w,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(K,{children:h})})}),w=({tooltipText:e})=>t.jsxs(rt,{children:[t.jsx(lt,{children:r.tooltips.lastUpdated}),t.jsx(dt,{children:e})]}),Tt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(gt,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(pt,{}):l,t.jsx(ut,{className:"bank-icon-container",children:l})};function Et(e){const n=[];return e!=null&&e==="bank"&&n.push({label:r.menu.bankConnection,value:"bank_connection"}),n.push({label:r.menu.statement,value:"statement"}),n}const It=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=r.status.statementParseError;break;case"validation_failed":c=r.status.statementValidationFailed;break;case"processing_failed":c=r.status.statementProcessingFailed;break;default:c=r.status.statementParseError;break}return n==="drawer"&&(c=c+" "+r.status.failed),c};export{wt as $,Bt as A,Lt as D,Ee as E,It as I,_t as R,u,$t as w,jt as y};
@@ -1,4 +1,4 @@
1
- import{F as O,V as o,o as t,aZ as z,p as v,ar as ne,w as ae,bv as ie,bw as se,bx as ce,by as le,bz as R,c as de,aQ as X,aN as pe,y as V,ax as ue,ab as _,aY as me,aO as he,aT as ge,aj as J,aw as xe,b6 as fe,am as ye,bb as Ce}from"./index-C9hDAJ7o.js";import{a as F,P as S}from"./sentry-Ckvw8Zf1.js";import{c as $e}from"./SummaryCard-DgBWIctW-CRmTCkt0.js";import{n as r,k as U,c as Q}from"./mui-BQR0Ruo4.js";import{ES as be}from"./zeni-epic-state-BnsQ52n7.js";import{N as Y}from"./NavigationArrow-CeYvXgly-CXWFEDMQ.js";import{k as ve}from"./NavigationDots-CXAszOHQ-HtQg6iz5.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]="331db072-b87e-4694-8c68-aba239ab19b5",e._sentryDebugIdIdentifier="sentry-dbid-331db072-b87e-4694-8c68-aba239ab19b5")}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 U`
1
+ import{F as O,V as o,o as t,aZ as z,p as v,ar as ne,w as ae,bv as ie,bw as se,bx as ce,by as le,bz as R,c as de,aQ as X,aN as pe,y as V,ax as ue,ab as _,aY as me,aO as he,aT as ge,aj as J,aw as xe,b6 as fe,am as ye,bb as Ce}from"./index-Dw_MX6AZ.js";import{a as F,P as S}from"./sentry-DBSEoG3b.js";import{c as $e}from"./SummaryCard-CHqc9QHC-DLmlONgW.js";import{n as r,k as U,c as Q}from"./mui-DdxImnN0.js";import{ES as be}from"./zeni-epic-state-1oOVJQJ4.js";import{N as Y}from"./NavigationArrow-CKhWji3v-aZKiVTlV.js";import{k as ve}from"./NavigationDots-OShASt5i-Bc5YcJG5.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]="ef812d45-cc8c-4eb6-8cee-ac60f1c64043",e._sentryDebugIdIdentifier="sentry-dbid-ef812d45-cc8c-4eb6-8cee-ac60f1c64043")}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 U`
2
2
  0% {
3
3
  opacity: 0;
4
4
  transform: translateX(${i});
@@ -1,4 +1,4 @@
1
- import{y,J as S,aR as w,w as r,V as l,jx as T,o as t,x as m,ab as x,F as B,u as n}from"./index-C9hDAJ7o.js";import{a as C}from"./sentry-Ckvw8Zf1.js";import{n as j}from"./mui-BQR0Ruo4.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./zeni-epic-state-BnsQ52n7.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.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]="e7162e4e-93df-49e6-8117-470cb22be322",e._sentryDebugIdIdentifier="sentry-dbid-e7162e4e-93df-49e6-8117-470cb22be322")}catch{}})();const p={marginTop:new m(n[0],18),marginBottom:new m(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:I}=B.getLocalizedStrings(),L=({googleAPIKey:e,customAddress:s,customAddressStatus:o,onDismissClick:d,onSubmitHandler:c})=>{const u=y(),a=S(),i=w(o.fetchState);C.useEffect(()=>{i==="In-Progress"&&o.fetchState==="Completed"&&d()},[o.fetchState,d,i]);const b=a==="small"?r.extraSmallRegular.cssObject:r.standardRegular.cssObject,f=a==="small"?r.standardMedium.cssObject:r.h5Regular.cssObject;return l.jsx(P,{"data-testid":x("add-address-for-card-drawer"),children:l.jsx(T,{googleAPIKey:e,loadingState:o.fetchState,addressToEdit:s,onSubmitHandler:h=>c(h),onCancel:d,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:g.addAddress,subTitleMessage:g.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(a),marginBottom:p.marginBottom.valuePx(a),...f},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...b,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:I.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},P=j.div`
1
+ import{y,J as S,aR as w,w as r,V as l,jx as T,o as t,x as m,ab as x,F as B,u as n}from"./index-Dw_MX6AZ.js";import{a as C}from"./sentry-DBSEoG3b.js";import{n as j}from"./mui-DdxImnN0.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="e7162e4e-93df-49e6-8117-470cb22be322",e._sentryDebugIdIdentifier="sentry-dbid-e7162e4e-93df-49e6-8117-470cb22be322")}catch{}})();const p={marginTop:new m(n[0],18),marginBottom:new m(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:I}=B.getLocalizedStrings(),L=({googleAPIKey:e,customAddress:s,customAddressStatus:o,onDismissClick:d,onSubmitHandler:c})=>{const u=y(),a=S(),i=w(o.fetchState);C.useEffect(()=>{i==="In-Progress"&&o.fetchState==="Completed"&&d()},[o.fetchState,d,i]);const b=a==="small"?r.extraSmallRegular.cssObject:r.standardRegular.cssObject,f=a==="small"?r.standardMedium.cssObject:r.h5Regular.cssObject;return l.jsx(P,{"data-testid":x("add-address-for-card-drawer"),children:l.jsx(T,{googleAPIKey:e,loadingState:o.fetchState,addressToEdit:s,onSubmitHandler:h=>c(h),onCancel:d,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:g.addAddress,subTitleMessage:g.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(a),marginBottom:p.marginBottom.valuePx(a),...f},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...b,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:I.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},P=j.div`
2
2
  display: flex;
3
3
  background-color: ${e=>e.theme.colors.grey4};
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{J as L,a8 as le,ax as ne,F as N,V as t,bD as de,u as p,jb as pe,ju as ce,o as i,i as W,ab as A,x as m,H as $,a as b,jv as he,jc as ge,cj as xe,p as r,jw as me,by as we,c_ as ue,am as $e,w as be,jg as ye}from"./index-C9hDAJ7o.js";import{a as g}from"./sentry-Ckvw8Zf1.js";import{n as o,c as D}from"./mui-BQR0Ruo4.js";import{ER as fe}from"./zeni-epic-state-BnsQ52n7.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-DdT9Rn3y.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.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]="81ba8238-5988-492e-97dc-9b639cc04122",e._sentryDebugIdIdentifier="sentry-dbid-81ba8238-5988-492e-97dc-9b639cc04122")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:f={},thumbStyle:k={}})=>{const w=e.findIndex(n=>n.id===a),u=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*u}%`}:{left:`${w*u}%`};return t.jsxs(We,{style:l,children:[t.jsx(Ae,{style:{width:`${u-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 L,a8 as le,ax as ne,F as N,V as t,bD as de,u as p,jb as pe,ju as ce,o as i,i as W,ab as A,x as m,H as $,a as b,jv as he,jc as ge,cj as xe,p as r,jw as me,by as we,c_ as ue,am as $e,w as be,jg as ye}from"./index-Dw_MX6AZ.js";import{a as g}from"./sentry-DBSEoG3b.js";import{n as o,c as D}from"./mui-DdxImnN0.js";import{ER as fe}from"./zeni-epic-state-1oOVJQJ4.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-D1teIsf6.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="81ba8238-5988-492e-97dc-9b639cc04122",e._sentryDebugIdIdentifier="sentry-dbid-81ba8238-5988-492e-97dc-9b639cc04122")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:f={},thumbStyle:k={}})=>{const w=e.findIndex(n=>n.id===a),u=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*u}%`}:{left:`${w*u}%`};return t.jsxs(We,{style:l,children:[t.jsx(Ae,{style:{width:`${u-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};
@@ -1,4 +1,4 @@
1
- import{y as U,J as O,i5 as _e,V as t,i6 as De,bP as ve,i7 as Ne,bE as Oe,bD as je,x as D,aa as F,ga as Pe,F as x,o as v,aU as ke,u as m,aP as X,cg as Be,ch as $e,ci as Ie,am as Me,cj as Ae,b4 as ne,aF as oe,aW as re}from"./index-C9hDAJ7o.js";import{a as f}from"./sentry-Ckvw8Zf1.js";import{n as y}from"./mui-BQR0Ruo4.js";import{bh as R,G6 as Ye}from"./zeni-epic-state-BnsQ52n7.js";import{n as M}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Ee}from"./ArAgingChart-BwEspm7G-DNjHaENA.js";import{C as ie}from"./NoDataChart-BQdJyfHh-BLmune73.js";import{I as se,R as $}from"./CollapsableReportTable-Cfh-EfEQ-CKv-H0OC.js";import{d as le}from"./NoDataTable-B__TVPte-CetA5lza.js";import{l as ce}from"./mapSpacerToTreeNode-CKbbOrFj-B8jOHJ4H.js";import{l as Le}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";import"./chartTypes-DL1AC5R1-CSQ4LZOa.js";import"./AccountRow-DtE1mQFq-sRlcgWT1.js";import"./graphic-no-data-l-DU4J8fDt-CQ6Ol9_s.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]="45c0984f-b5fb-4a7b-bac2-dd6453afc8bb",e._sentryDebugIdIdentifier="sentry-dbid-45c0984f-b5fb-4a7b-bac2-dd6453afc8bb")}catch{}})();const Fe={chartHeight:new D(288,360)},de=y.div`
1
+ import{y as U,J as O,i5 as _e,V as t,i6 as De,bP as ve,i7 as Ne,bE as Oe,bD as je,x as D,aa as F,ga as Pe,F as x,o as v,aU as ke,u as m,aP as X,cg as Be,ch as $e,ci as Ie,am as Me,cj as Ae,b4 as ne,aF as oe,aW as re}from"./index-Dw_MX6AZ.js";import{a as f}from"./sentry-DBSEoG3b.js";import{n as y}from"./mui-DdxImnN0.js";import{bh as R,G6 as Ye}from"./zeni-epic-state-1oOVJQJ4.js";import{n as M}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Ee}from"./ArAgingChart-DBuqIeaR-C9LO_snS.js";import{C as ie}from"./NoDataChart-BN3zyJkX-DustlDSJ.js";import{I as se,R as $}from"./CollapsableReportTable-CSVzLWq_-CmmDaO6f.js";import{d as le}from"./NoDataTable-D0cyK_1j-BWgbh49q.js";import{l as ce}from"./mapSpacerToTreeNode-DZFRqtKk-B07ADlac.js";import{l as Le}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./chartTypes-DESZubWD-Bq3-3C2k.js";import"./AccountRow-t-WESYF_-BZd9LxDz.js";import"./graphic-no-data-l-DU4J8fDt-B9Rqv9_n.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]="3700266e-c7f0-4ad3-9460-93d3d4d1f587",e._sentryDebugIdIdentifier="sentry-dbid-3700266e-c7f0-4ad3-9460-93d3d4d1f587")}catch{}})();const Fe={chartHeight:new D(288,360)},de=y.div`
2
2
  display: flex;
3
3
  `,ge=y.div`
4
4
  display: flex;
@@ -16,7 +16,7 @@ import{y as U,J as O,i5 as _e,V as t,i6 as De,bP as ve,i7 as Ne,bE as Oe,bD as j
16
16
  `,he=y.div`
17
17
  width: 100%;
18
18
  height: calc(100vh - ${v.sp11});
19
- `;function We({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=U(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=qe(e,d,u);s(e),c(g)}else{const g=ue(n,d,e,u);c(g)}},[e,p]),e.agingBalances.length===0?t.jsx(A,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(A,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:N.contentPaddingLeft.value(l),right:N.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=U(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,S)=>{a(g,S)},[a]);return f.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(c==null||!oe(s,e)){const S=Ge(e,g,p);n(e),l(S)}else{const S=ue(c,g,e,p);l(S)}},[e,d]),e.agingBalances.length===0?t.jsx(A,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(A,{windowSize:r,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(u.colors.grey4),rootNodes:c,type:"name+balances_actual",isSticky:{isStickyHeader:p,isStickyName:p},treeNodePadding:{left:N.contentPaddingLeft.value(r),right:N.contentPaddingRight.value(r)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:i,compareMode:"compare_mode_amount"})})}):null}const Qe={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Xe=y.div`
19
+ `;function We({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=U(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=qe(e,d,u);s(e),c(g)}else{const g=ue(n,d,e,u);c(g)}},[e,p]),e.agingBalances.length===0?t.jsx(A,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(A,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:N.contentPaddingLeft.value(l),right:N.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=U(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,C)=>{a(g,C)},[a]);return f.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(c==null||!oe(s,e)){const C=Ge(e,g,p);n(e),l(C)}else{const C=ue(c,g,e,p);l(C)}},[e,d]),e.agingBalances.length===0?t.jsx(A,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(A,{windowSize:r,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(u.colors.grey4),rootNodes:c,type:"name+balances_actual",isSticky:{isStickyHeader:p,isStickyName:p},treeNodePadding:{left:N.contentPaddingLeft.value(r),right:N.contentPaddingRight.value(r)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:i,compareMode:"compare_mode_amount"})})}):null}const Qe={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Xe=y.div`
20
20
  display: flex;
21
21
  width: 100%;
22
22
  justify-content: space-between;
@@ -34,7 +34,7 @@ import{y as U,J as O,i5 as _e,V as t,i6 as De,bP as ve,i7 as Ne,bE as Oe,bD as j
34
34
  width: fit-content;
35
35
  `,te=y(Ae)`
36
36
  color: ${e=>e.theme.colors.primary};
37
- `;function Ze({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Le(e),[e]),i=O();return t.jsxs(Xe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(Z,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:X("0,0",s?.balance)})]},n)}),t.jsxs(Z,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:X("0,0",o?.balance)})]})]})}const K={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:T,dateFormat:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=U(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:S,onEntityNameClick:fe,updateDownloadStateHandler:Y,onNodeCollapseToggled:ye}=e,{fetchState:j,reportTitle:we,reportId:w}=n,{searchString:P,downloadState:I,sortKey:z,sortOrder:E,selectedDate:b,agingDateSelectionType:q}=c,{authParams:G,downloadEndPoint:W,timezone:J}=l,V=f.useCallback((h,C)=>{const k=ae(C);u(h,k),r.trackAgingReportDateChange(M(w),b!=null?b.format(_.analytics.YYYYDashMMDashDDFormat):R().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),k)},[r,u,w,b]),Q=f.useCallback(h=>{const C=_e({options:B.preComputedDurationOptions.map(({label:L,value:Ce})=>({label:L,value:Ye(Ce)})).filter(({value:L})=>L!=null),selectedDate:h}),k=ae(C);u(h,k),r.trackAgingReportDateChange(M(w),b!=null?b.format(_.analytics.YYYYDashMMDashDDFormat):R().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),k)},[r,u,w,b]),xe=f.useCallback((h,C)=>{S(h,C),r.trackAgingReportSortChange(M(w),C,h)},[r,S,w]),be=f.useCallback(()=>t.jsx(De,{maxDate:R(),selectedDate:{date:b},precomputedOptionsProperties:{preComputedOptionSelected:ct(q),preComputedOptionDateFormat:_.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:V},onSelectedDateChanged:Q}),[b,V,Q,q]);if(f.useEffect(()=>{async function h(){const C={companyName:l.companyName,searchString:P,sortKey:z,sortOrder:E,statementFileType:"excel",timezone:J,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:b};await tt(W,G,C),Y("Completed"),r.trackAgingReportDownloadClick(M(w),z,E)}o&&I!=="In-Progress"&&(i(!1),Y("In-Progress"),h())},[G,W,l.companyName,I,o,w,P,z,E,Y,b,r,J]),j==="Error")return t.jsxs(nt,{children:[t.jsx(ot,{onClick:g,children:t.jsx(ve,{})}),t.jsx(rt,{children:et.failed})]});const Se=t.jsxs(t.Fragment,{children:[t.jsx(Ne,{isSearchOpen:(P?.length??0)>0,searchPlaceHolder:w==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:P??"",onSearchTextChanged:h=>{d(h)},downloadPresent:!0}),t.jsx(Oe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:I==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(I==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(it,{children:[t.jsx(je,{title:we,subTitle:be(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:Se,downloadPresent:!0,style:{marginBottom:K.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(F,{controller:j==="In-Progress"||j==="Not-Started",children:t.jsx(Pe,{fetchState:j})}),t.jsxs(F,{controller:j==="Completed",children:[t.jsx(F,{controller:P.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(Ze,{reportId:w==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Re,{report:n})]})}),t.jsx(We,{report:n,onSortOrderChange:xe,onEntityNameClick:fe,onNodeCollapseToggled:ye})]})]})}async function tt(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(at(o)))}`,s=B.arAging;try{const n=await Be({urlEndPoint:i,authParams:a,fileType:"excel"});if(n.ok){const c=$e(n.headers,T.defaultFileName),l=await n.arrayBuffer();Ie(l,c)}else console.error(`${T.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${T.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${JSON.stringify(n)}`)}}function at(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:x.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const nt=y.div`
37
+ `;function Ze({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Le(e),[e]),i=O();return t.jsxs(Xe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(Z,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:X("0,0",s?.balance)})]},n)}),t.jsxs(Z,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:X("0,0",o?.balance)})]})]})}const K={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:T,dateFormat:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=U(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:C,onEntityNameClick:fe,updateDownloadStateHandler:Y,onNodeCollapseToggled:ye}=e,{fetchState:j,reportTitle:we,reportId:w}=n,{searchString:P,downloadState:I,sortKey:z,sortOrder:E,selectedDate:S,agingDateSelectionType:q}=c,{authParams:G,downloadEndPoint:W,timezone:J}=l,V=f.useCallback((h,b)=>{const k=ae(b);u(h,k),r.trackAgingReportDateChange(M(w),S!=null?S.format(_.analytics.YYYYDashMMDashDDFormat):R().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),k)},[r,u,w,S]),Q=f.useCallback(h=>{const b=_e({options:B.preComputedDurationOptions.map(({label:L,value:be})=>({label:L,value:Ye(be)})).filter(({value:L})=>L!=null),selectedDate:h}),k=ae(b);u(h,k),r.trackAgingReportDateChange(M(w),S!=null?S.format(_.analytics.YYYYDashMMDashDDFormat):R().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),k)},[r,u,w,S]),xe=f.useCallback((h,b)=>{C(h,b),r.trackAgingReportSortChange(M(w),b,h)},[r,C,w]),Se=f.useCallback(()=>t.jsx(De,{maxDate:R(),selectedDate:{date:S},precomputedOptionsProperties:{preComputedOptionSelected:ct(q),preComputedOptionDateFormat:_.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:V},onSelectedDateChanged:Q}),[S,V,Q,q]);if(f.useEffect(()=>{async function h(){const b={companyName:l.companyName,searchString:P,sortKey:z,sortOrder:E,statementFileType:"excel",timezone:J,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:S};await tt(W,G,b),Y("Completed"),r.trackAgingReportDownloadClick(M(w),z,E)}o&&I!=="In-Progress"&&(i(!1),Y("In-Progress"),h())},[G,W,l.companyName,I,o,w,P,z,E,Y,S,r,J]),j==="Error")return t.jsxs(nt,{children:[t.jsx(ot,{onClick:g,children:t.jsx(ve,{})}),t.jsx(rt,{children:et.failed})]});const Ce=t.jsxs(t.Fragment,{children:[t.jsx(Ne,{isSearchOpen:(P?.length??0)>0,searchPlaceHolder:w==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:P??"",onSearchTextChanged:h=>{d(h)},downloadPresent:!0}),t.jsx(Oe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:I==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(I==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(it,{children:[t.jsx(je,{title:we,subTitle:Se(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:Ce,downloadPresent:!0,style:{marginBottom:K.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(F,{controller:j==="In-Progress"||j==="Not-Started",children:t.jsx(Pe,{fetchState:j})}),t.jsxs(F,{controller:j==="Completed",children:[t.jsx(F,{controller:P.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(Ze,{reportId:w==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Re,{report:n})]})}),t.jsx(We,{report:n,onSortOrderChange:xe,onEntityNameClick:fe,onNodeCollapseToggled:ye})]})]})}async function tt(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(at(o)))}`,s=B.arAging;try{const n=await Be({urlEndPoint:i,authParams:a,fileType:"excel"});if(n.ok){const c=$e(n.headers,T.defaultFileName),l=await n.arrayBuffer();Ie(l,c)}else console.error(`${T.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${T.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${JSON.stringify(n)}`)}}function at(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:x.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const nt=y.div`
38
38
  display: flex;
39
39
  width: 100%;
40
40
  height: calc(100% - 60px);
@@ -1,4 +1,4 @@
1
- import{cL as J,ep as je,J as _,V as l,ab as P,x as T,o as i,ba as re,F as B,i as ie,am as ne,d1 as Pe,cj as Ce,u as k,bU as Se,aL as te,cD as Y,gU as de,g1 as R,f_ as G,f$ as K,g0 as ce,g2 as pe,b0 as me,gV as Oe,p as ue,d0 as ge,an as he,ex as Te,ae as Re}from"./index-C9hDAJ7o.js";import{n as p}from"./mui-BQR0Ruo4.js";import{FN as ze,bg as X}from"./zeni-epic-state-BnsQ52n7.js";import{a as V}from"./sentry-Ckvw8Zf1.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-C0bJoy6U-CBE1zspu.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField-D0KIAWFW-CQ1uXRKO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e2a40481-d138-4051-b50e-cfa6e2307dfa",e._sentryDebugIdIdentifier="sentry-dbid-e2a40481-d138-4051-b50e-cfa6e2307dfa")}catch{}})();const Z=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new T(120,120,160),toolTipWidth:new T(215,237)},g=B.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:y,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:U,person:x,analytics:v})=>{const w=_(),C=se.largeLabelWidth.value(w),{setValue:S}=J(),D=te(h),$=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),M=V.useMemo(()=>te(Y.roles),[]),u=X(e.role);return V.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(ke,{windowSize:w,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:Z(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(Q,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:Z(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(m,f)},productsByUserRole:G(e.role,y)},registerOptions:{required:!0}}}),l.jsx(Q,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(Le,{}),userSingleSelectWithSubTitlesField:{name:Z(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],I=s.find(L=>L.classId===d.userRole.accountingClassIDs[0]),j=[];return I!=null&&j.push(I.className),j}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(Q,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:Z(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||f?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||f)},isDisabled:u||m||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||f?"disabled":void 0,opacity:u||m||f?.32:1}),U?null:l.jsxs(Ue,{windowSize:w,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ne,{href:`mailto:${$[0].email}?cc=${N}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:Z(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},Le=()=>B.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,ke=p.div`
1
+ import{cL as J,ep as je,J as _,V as l,ab as P,x as T,o as i,ba as re,F as B,i as ie,am as ne,d1 as Pe,cj as Ce,u as k,bU as Se,aL as te,cD as Y,gU as de,g1 as R,f_ as G,f$ as K,g0 as ce,g2 as pe,b0 as me,gV as Oe,p as ue,d0 as ge,an as he,ex as Te,ae as Re}from"./index-Dw_MX6AZ.js";import{n as p}from"./mui-DdxImnN0.js";import{FN as ze,bg as X}from"./zeni-epic-state-1oOVJQJ4.js";import{a as V}from"./sentry-DBSEoG3b.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-D5zZUAVV-DVMrLokL.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField-DZ9boJMt-KCvascmZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="042e35c9-2caa-4a36-8978-2718cf44e9fa",e._sentryDebugIdIdentifier="sentry-dbid-042e35c9-2caa-4a36-8978-2718cf44e9fa")}catch{}})();const Z=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new T(120,120,160),toolTipWidth:new T(215,237)},g=B.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:y,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:U,person:x,analytics:v})=>{const w=_(),C=se.largeLabelWidth.value(w),{setValue:S}=J(),D=te(h),$=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),M=V.useMemo(()=>te(Y.roles),[]),u=X(e.role);return V.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(ke,{windowSize:w,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:Z(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(Q,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:Z(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(m,f)},productsByUserRole:G(e.role,y)},registerOptions:{required:!0}}}),l.jsx(Q,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(Le,{}),userSingleSelectWithSubTitlesField:{name:Z(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],I=s.find(L=>L.classId===d.userRole.accountingClassIDs[0]),j=[];return I!=null&&j.push(I.className),j}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(Q,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:Z(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||f?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||f)},isDisabled:u||m||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||f?"disabled":void 0,opacity:u||m||f?.32:1}),U?null:l.jsxs(Ue,{windowSize:w,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ne,{href:`mailto:${$[0].email}?cc=${N}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:Z(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},Le=()=>B.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,ke=p.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,9 +1,9 @@
1
- import{y as U,J as V,F as g,V as o,bP as J,ga as K,bC as q,cn as X,bD as G,o as F,aU as Q,x as A,bE as W,cg as Z,ch as ee,ci as oe,u as f}from"./index-C9hDAJ7o.js";import{a as v}from"./sentry-Ckvw8Zf1.js";import{n as i}from"./mui-BQR0Ruo4.js";import{L as te,D as ne}from"./EntitySummarySection-BYP9LNlh-CHZV8J2r.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./zeni-epic-state-BnsQ52n7.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.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]="b2a5be92-d6b5-48eb-a15a-973d0b8b7a40",e._sentryDebugIdIdentifier="sentry-dbid-b2a5be92-d6b5-48eb-a15a-973d0b8b7a40")}catch{}})();const C={wrapperContainerMarginTop:new A(f[4],f[0]),wrapperContaineHorizontalrMargin:new A(f[0],f[8])},ae=i.div`
1
+ import{y as U,J as V,F as g,V as o,bP as J,ga as K,bC as q,cn as X,bD as G,o as F,aU as Q,x as A,bE as W,cg as Z,ch as ee,ci as oe,u as y}from"./index-Dw_MX6AZ.js";import{a as C}from"./sentry-DBSEoG3b.js";import{n as i}from"./mui-DdxImnN0.js";import{L as te,D as ne}from"./EntitySummarySection-D1QM7cY6-BWMV3RUk.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.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]="7597d99f-4be9-4699-8d6f-c669da2d20ac",e._sentryDebugIdIdentifier="sentry-dbid-7597d99f-4be9-4699-8d6f-c669da2d20ac")}catch{}})();const b={wrapperContainerMarginTop:new A(y[4],y[0]),wrapperContaineHorizontalrMargin:new A(y[0],y[8])},re=i.div`
2
2
  height: 100%;
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  max-width: 99.9%;
6
- `,re=i.div`
6
+ `,ae=i.div`
7
7
  display: flex;
8
8
  width: 100%;
9
9
  height: calc(100% - 60px);
@@ -38,9 +38,9 @@ import{y as U,J as V,F as g,V as o,bP as J,ga as K,bC as q,cn as X,bD as G,o as
38
38
  display: block;
39
39
  background-color: ${e=>e.theme.colors.grey4};
40
40
  height: calc(100vh - 178px);
41
- margin-top: ${e=>C.wrapperContainerMarginTop.valuePx(e.windowSize)};
41
+ margin-top: ${e=>b.wrapperContainerMarginTop.valuePx(e.windowSize)};
42
42
  `,ce=i.div`
43
- margin-left: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
44
- margin-right: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
43
+ margin-left: ${e=>b.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
44
+ margin-right: ${e=>b.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
45
45
  height: 100%;
46
- `;function Ie(e){const s=U(),l=V(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:n,downloadParams:a,reportDate:t,analytics:d,onReload:w,onBackClick:T,onColumnSortConfigChanged:S,updateDownloadStateHandler:x,onTransactionClick:L,sidePanelIsOpen:N,sidePanelIsFullView:E,panelContent:O}=e,{authParams:_,downloadEndPoint:I,timezone:k}=a,{fetchState:m,invoices:$,apAgingDetailUIState:z,vendor:r,totalBalances:Y}=n,{sortKey:b,sortOrder:D,downloadState:u}=z,[P,j]=v.useState(!1),M=g.getLocalizedStrings(),R=M.reports.aging.agingDetail,B=v.useCallback((c,y)=>{n.vendor!=null&&d.trackApAgingDetailReportSortChange(c,y,t.format(M.dateFormat.analytics.YYYYDashMMDashDDFormat),n.vendor.id,n.vendor.name),S(c,y)},[d,n.vendor,t,S]);if(v.useEffect(()=>{async function c(){const y={companyName:a.companyName,sortKey:b,sortOrder:D,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:r?.id??"",timezone:k,reportDate:t};await ge(I,_,y),x("Completed"),n.vendor!=null&&d.trackApAgingDetailReportDownload(b,D,t.format(g.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),n.vendor.id,n.vendor.name)}P&&u!=="In-Progress"&&(j(!1),x("In-Progress"),c())},[d,n.vendor,_,I,a.companyName,u,P,t,b,D,k,x,r?.id]),m==="Error")return o.jsxs(re,{children:[o.jsx(ie,{onClick:w,children:o.jsx(J,{})}),o.jsx(se,{children:p.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(K,{fetchState:m});const H=o.jsx(W,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:u==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(u==="In-Progress"){console.log("Download is already in progress!");return}else j(!0)}}}});return o.jsx(q,{isOpen:N??!1,isFullView:E??!1,panelContent:O,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(G,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:T,rightSideComponent:H,source:"ApAgingDetailPage"}),o.jsx(ne,{totalBalances:Y,entityName:r?.name??"",entityLogo:r?.logo,reportId:"accounts_payable_aging",reportDate:t})]}),listContent:o.jsx(le,{children:o.jsx(de,{windowSize:l,children:o.jsx(ce,{windowSize:l,children:$.length===0||r==null?o.jsx(X,{message:R.noDataText}):o.jsx(ae,{windowSize:l,children:o.jsx(te,{uiState:z,invoices:$,entityName:r.name,entityLogo:r.logo,onColumnSortConfigChanged:B,onTransactionClick:L})})})})})})}async function ge(e,s,l){const h=`${e}?query=${encodeURIComponent(JSON.stringify(pe(l)))}`,p=g.getLocalizedStrings(),n=p.reports.aging.apAging.apAging,a=p.download;try{const t=await Z({urlEndPoint:h,authParams:s,fileType:"excel"});if(t.ok){const d=ee(t.headers,a.defaultFileName),w=await t.arrayBuffer();oe(w,d)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",n)} ${t.statusText}`)}catch(t){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",n)} ${JSON.stringify(t)}`)}}function pe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:g.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{Ie as default,pe as toDownloadAgingDetailedReportOptionsPayload};
46
+ `;function Ie(e){const s=U(),l=V(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:n,downloadParams:r,reportDate:t,analytics:d,onReload:w,onBackClick:T,onColumnSortConfigChanged:S,updateDownloadStateHandler:x,onTransactionClick:L,sidePanelIsOpen:N,sidePanelIsFullView:E,panelContent:O}=e,{authParams:_,downloadEndPoint:I,timezone:k}=r,{fetchState:m,invoices:$,apAgingDetailUIState:z,vendor:a,totalBalances:Y}=n,{sortKey:D,sortOrder:v,downloadState:f}=z,[P,j]=C.useState(!1),M=g.getLocalizedStrings(),R=M.reports.aging.agingDetail,B=C.useCallback((c,u)=>{n.vendor!=null&&d.trackApAgingDetailReportSortChange(c,u,t.format(M.dateFormat.analytics.YYYYDashMMDashDDFormat),n.vendor.id,n.vendor.name),S(c,u)},[d,n.vendor,t,S]);if(C.useEffect(()=>{async function c(){const u={companyName:r.companyName,sortKey:D,sortOrder:v,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:a?.id??"",timezone:k,reportDate:t};await ge(I,_,u),x("Completed"),n.vendor!=null&&d.trackApAgingDetailReportDownload(D,v,t.format(g.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),n.vendor.id,n.vendor.name)}P&&f!=="In-Progress"&&(j(!1),x("In-Progress"),c())},[d,n.vendor,_,I,r.companyName,f,P,t,D,v,k,x,a?.id]),m==="Error")return o.jsxs(ae,{children:[o.jsx(ie,{onClick:w,children:o.jsx(J,{})}),o.jsx(se,{children:p.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(K,{fetchState:m});const H=o.jsx(W,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:f==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(f==="In-Progress"){console.log("Download is already in progress!");return}else j(!0)}}}});return o.jsx(q,{isOpen:N??!1,isFullView:E??!1,panelContent:O,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(G,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:T,rightSideComponent:H,source:"ApAgingDetailPage"}),o.jsx(ne,{totalBalances:Y,entityName:a?.name??"",entityLogo:a?.logo,reportId:"accounts_payable_aging",reportDate:t})]}),listContent:o.jsx(le,{children:o.jsx(de,{windowSize:l,children:o.jsx(ce,{windowSize:l,children:$.length===0||a==null?o.jsx(X,{message:R.noDataText}):o.jsx(re,{windowSize:l,children:o.jsx(te,{uiState:z,invoices:$,entityName:a.name,entityLogo:a.logo,onColumnSortConfigChanged:B,onTransactionClick:L})})})})})})}async function ge(e,s,l){const h=`${e}?query=${encodeURIComponent(JSON.stringify(pe(l)))}`,p=g.getLocalizedStrings(),n=p.reports.aging.apAging.apAging,r=p.download;try{const t=await Z({urlEndPoint:h,authParams:s,fileType:"excel"});if(t.ok){const d=ee(t.headers,r.defaultFileName),w=await t.arrayBuffer();oe(w,d)}else console.error(`${r.errorMessages.fileDownloadError.replace("__feature__",n)} ${t.statusText}`)}catch(t){console.error(`${r.errorMessages.fileDownloadError.replace("__feature__",n)} ${JSON.stringify(t)}`)}}function pe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:g.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{Ie as default,pe as toDownloadAgingDetailedReportOptionsPayload};
@@ -1,4 +1,4 @@
1
- import{V as t,J as m,b as x,o as r,x as p,p as a,aU as f,F as g,bq as u,c$ as $,dP as w,c_ as b}from"./index-C9hDAJ7o.js";import{n as i,k as y}from"./mui-BQR0Ruo4.js";import{a as j}from"./sentry-Ckvw8Zf1.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./zeni-epic-state-BnsQ52n7.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.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]="39d82c32-b8ef-44d6-a37f-a9c0fd250600",e._sentryDebugIdIdentifier="sentry-dbid-39d82c32-b8ef-44d6-a37f-a9c0fd250600")}catch{}})();const l={maxWidth:new p(280,322),contentMaxWidth:new p(200,250)},k=y`
1
+ import{V as t,J as m,b as x,o as r,x as p,p as a,aU as f,F as g,bq as u,c$ as $,dP as w,c_ as b}from"./index-Dw_MX6AZ.js";import{n as i,k as y}from"./mui-DdxImnN0.js";import{a as j}from"./sentry-DBSEoG3b.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="39d82c32-b8ef-44d6-a37f-a9c0fd250600",e._sentryDebugIdIdentifier="sentry-dbid-39d82c32-b8ef-44d6-a37f-a9c0fd250600")}catch{}})();const l={maxWidth:new p(280,322),contentMaxWidth:new p(200,250)},k=y`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -1,4 +1,4 @@
1
- import{ax as oe,I as le,n as v,bk as re,V as n,bl as de,bm as ce,bn as ue,bo as pe,aa as be,bp as fe,o as t,bq as me,aw as b,b6 as f}from"./index-C9hDAJ7o.js";import{a as o,P as he}from"./sentry-Ckvw8Zf1.js";import{n as l}from"./mui-BQR0Ruo4.js";import{bk as ge}from"./zeni-epic-state-BnsQ52n7.js";import{v as xe}from"./DashboardSidebarBackgroundAnimation-DL2Awq0k-CURcbn_K.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.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]="bf05ec48-661a-43ed-9c50-13f19a6c7515",e._sentryDebugIdIdentifier="sentry-dbid-bf05ec48-661a-43ed-9c50-13f19a6c7515")}catch{}})();const Ee=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomNewYear",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(ye,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ye=l.div`
1
+ import{ax as oe,I as le,n as v,bk as re,V as n,bl as de,bm as ce,bn as ue,bo as pe,aa as be,bp as fe,o as t,bq as me,aw as b,b6 as f}from"./index-Dw_MX6AZ.js";import{a as o,P as he}from"./sentry-DBSEoG3b.js";import{n as l}from"./mui-DdxImnN0.js";import{bk as ge}from"./zeni-epic-state-1oOVJQJ4.js";import{v as xe}from"./DashboardSidebarBackgroundAnimation-CKoyjUHm-DewB5pFB.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="029c215d-f156-4988-9ac8-a3afbcea3bd0",e._sentryDebugIdIdentifier="sentry-dbid-029c215d-f156-4988-9ac8-a3afbcea3bd0")}catch{}})();const Ee=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomNewYear",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(ye,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ye=l.div`
2
2
  position: absolute;
3
3
  z-index: 0;
4
4
  bottom: -${t.sp3};
@@ -1,4 +1,4 @@
1
- import{y as U,J as _,ax as V,F as p,aW as y,V as t,bD as J,k as E,fy as v,dH as S,x as d,o as j,an as G,w as k,u as o}from"./index-C9hDAJ7o.js";import{n as l}from"./mui-BQR0Ruo4.js";import{FK as N,FL as K}from"./zeni-epic-state-BnsQ52n7.js";import"./sentry-Ckvw8Zf1.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.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]="b623e4d2-4431-4118-9631-9284fbbbc705",e._sentryDebugIdIdentifier="sentry-dbid-b623e4d2-4431-4118-9631-9284fbbbc705")}catch{}})();const n={sectionRowGap:new d(o[4],o[8],o[8]),lastSectionPaddingBottom:new d(o[7],o[10],o[10]),iconWidthHeight:new d(20,o[4]),subtitleSectionWidth:new d(343,580,1200)},ue=({billpayApprovalView:e,remiApproverView:a,currentTenant:c,onBackClick:R,onClickMenuIcon:P,onSetupApprovalRulesBillPaySectionClick:T,onSetupApprovalRulesRemiSectionClick:I})=>{const r=U(),i=_(),u=V(),{fetchState:g,allApprovalRules:h,approvalRulesStatus:z}=e,{fetchState:m,allApprovalRules:f,approvalRulesStatus:A}=a,{commonSetUp:C,spendManagement:$}=p.getLocalizedStrings(),b=p.getLocalizedStrings().common.settings,w=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:W}=$,{billPaySetup:M}=B,{reimbursementSetup:D}=W,{setUp:s}=C,L=g==="In-Progress"||m==="In-Progress"||g==="Not-Started"||m==="Not-Started",x=r.mode==="light"?new y(r.colors.brandColorJadeLight):new y(r.colors.brandColorJadeDark),H=N(c,u.loggedInUserRoleMap),F=K(c,u.loggedInUserRoleMap);return t.jsxs(Q,{children:[t.jsx(J,{source:"ApprovalRulesSettingsPage",title:b.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:P}),t.jsx(X,{windowSize:i,children:L?t.jsx(Y,{children:t.jsx(E,{size:"ExtraLarge",start:!0})}):t.jsxs(O,{children:[t.jsx(q,{windowSize:i,children:t.jsx(ee,{windowSize:i,children:b.infoText.approvalRules})}),t.jsxs(Z,{windowSize:i,children:[H===!0&&t.jsx(v,{title:h.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:M.approvalSubTitle,header:w.bills,icon:{element:t.jsx(S,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:x},onClick:T,status:h.length>0?z:void 0}),F===!0&&t.jsx(v,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:D.approvalSubTitle,header:w.reimbursements,icon:{element:t.jsx(S,{height:n.iconWidthHeight.valuePx(i)}),color:x},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:I,status:f.length>0?A:void 0})]})]})})]})},O=l.div`
1
+ import{y as U,J as _,ax as V,F as p,aW as y,V as t,bD as J,k as E,fy as v,dH as S,x as d,o as j,an as G,w as k,u as o}from"./index-Dw_MX6AZ.js";import{n as l}from"./mui-DdxImnN0.js";import{FK as N,FL as K}from"./zeni-epic-state-1oOVJQJ4.js";import"./sentry-DBSEoG3b.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.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]="b623e4d2-4431-4118-9631-9284fbbbc705",e._sentryDebugIdIdentifier="sentry-dbid-b623e4d2-4431-4118-9631-9284fbbbc705")}catch{}})();const n={sectionRowGap:new d(o[4],o[8],o[8]),lastSectionPaddingBottom:new d(o[7],o[10],o[10]),iconWidthHeight:new d(20,o[4]),subtitleSectionWidth:new d(343,580,1200)},ue=({billpayApprovalView:e,remiApproverView:a,currentTenant:c,onBackClick:R,onClickMenuIcon:P,onSetupApprovalRulesBillPaySectionClick:T,onSetupApprovalRulesRemiSectionClick:I})=>{const r=U(),i=_(),u=V(),{fetchState:g,allApprovalRules:h,approvalRulesStatus:z}=e,{fetchState:m,allApprovalRules:f,approvalRulesStatus:A}=a,{commonSetUp:C,spendManagement:$}=p.getLocalizedStrings(),b=p.getLocalizedStrings().common.settings,w=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:W}=$,{billPaySetup:M}=B,{reimbursementSetup:D}=W,{setUp:s}=C,L=g==="In-Progress"||m==="In-Progress"||g==="Not-Started"||m==="Not-Started",x=r.mode==="light"?new y(r.colors.brandColorJadeLight):new y(r.colors.brandColorJadeDark),H=N(c,u.loggedInUserRoleMap),F=K(c,u.loggedInUserRoleMap);return t.jsxs(Q,{children:[t.jsx(J,{source:"ApprovalRulesSettingsPage",title:b.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:P}),t.jsx(X,{windowSize:i,children:L?t.jsx(Y,{children:t.jsx(E,{size:"ExtraLarge",start:!0})}):t.jsxs(O,{children:[t.jsx(q,{windowSize:i,children:t.jsx(ee,{windowSize:i,children:b.infoText.approvalRules})}),t.jsxs(Z,{windowSize:i,children:[H===!0&&t.jsx(v,{title:h.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:M.approvalSubTitle,header:w.bills,icon:{element:t.jsx(S,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:x},onClick:T,status:h.length>0?z:void 0}),F===!0&&t.jsx(v,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:D.approvalSubTitle,header:w.reimbursements,icon:{element:t.jsx(S,{height:n.iconWidthHeight.valuePx(i)}),color:x},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:I,status:f.length>0?A:void 0})]})]})})]})},O=l.div`
2
2
  width: 100%;
3
3
  margin: auto;
4
4
  display: flex;