@zeniai/web-app-ui 4.14.33-qa → 4.14.34-next

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 (368) hide show
  1. package/dist/assets/{ACHDetailsPage-DKTSwNyl-vaiiH6iF.js → ACHDetailsPage-iiVBlQka-D5mKQfBD.js} +6 -6
  2. package/dist/assets/{AIPerformancePage-BzTlSxeg-5-sFPCOu.js → AIPerformancePage-MBAB5kgB-DYjikmd2.js} +1 -1
  3. package/dist/assets/AccountInfoPage-Cz9yoVl8-CmCgEK1m.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-B0ZnsyrQ-nblnEZiO.js → AccountInfoPageContent-j85psx_A-HR0H-eLP.js} +2 -2
  5. package/dist/assets/{AccountLockedInfoModal-B6A-nGIq-CbXEwSi6.js → AccountLockedInfoModal-B1JxHllU-CApHAbyP.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BTmjrd8b-Bmi7mlyR.js → AccountReconDetailsDrawerPage-DF-X46_u-Ca8PuqCB.js} +3 -3
  7. package/dist/assets/{AccountRow-C-Iunc36-72sE71ts.js → AccountRow-DEtntSrL-DccMoOXH.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-D6xN5A4_-CDd7581y.js → AccountsPromoCardStack-Cvixqb_6-DC4LEqBz.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-B6tLAOA_-iUCl4WAL.js → AddAddressForCardDrawer-B1Qfn44J-BcMQra1g.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-Bw1oz9Y2-DF4WBRew.js → AddToWalletPage-BLxUsh1Y-DSfpr8wZ.js} +1 -1
  11. package/dist/assets/{AddressRoutes-DZ3CePsl.js → AddressRoutes-re_P5Gi8.js} +1 -1
  12. package/dist/assets/{AddressScreen--daeKsww.js → AddressScreen-D0jdlECR.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-BK3PXwnr-DmdGNpEA.js → AgingReportsPage-XIzuLRE4-Dg2ff8zG.js} +8 -8
  14. package/dist/assets/{AiCfoScreen-DrIEINcV.js → AiCfoScreen-DU_mftPt.js} +1 -1
  15. package/dist/assets/{AllUserItems-B42zEFpe-C5NuOkc_.js → AllUserItems-BGMZCYUO-BjCAS0VR.js} +4 -4
  16. package/dist/assets/{ApAgingDetailPage-vzW4qF2Y-DVMMh04t.js → ApAgingDetailPage-B-1gVAu6-BcSRnhTZ.js} +8 -8
  17. package/dist/assets/{AppBasePage-yAU5vW5D-C53pNaUV.js → AppBasePage-CYjdUgY4-5oNPEz3E.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-nnh5cFf7-B2ApD6yG.js → AppDrawerContent-CbF8TOjd-Cfws62tB.js} +5 -5
  19. package/dist/assets/{ApprovalRulesSettingsPage-B-Y2YjpT-C80eVk9A.js → ApprovalRulesSettingsPage-RCtygkuw-7HGRK-Kk.js} +1 -1
  20. package/dist/assets/{ArAgingChart-CCc6eh55-CSeG-Uqv.js → ArAgingChart-ZwWwEBJ3-BX2BsofQ.js} +2 -2
  21. package/dist/assets/{ArAgingDetailPage-CYXVPEzK-BAIqYo3y.js → ArAgingDetailPage-DtqyngrA-DhqLr2c3.js} +1 -1
  22. package/dist/assets/{AttachmentView-DqrQDEWc-mCwLL7Mx.js → AttachmentView-UxkSFZmq-D8zXcRrH.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-D1_dZg5k-D5kbkQ7T.js → BalancesInsightWithToolTip-Co6ZUc5x-BGKH31_O.js} +8 -8
  24. package/dist/assets/{BankAccountSection-4vXBKCFA-KaAYLI0p.js → BankAccountSection-DnBVOkJC-CZ4VvDPT.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-Dhmxhwx--CUBNVb6Q.js → BankAccountWarningSection-D7OuLiLz-46LAz_wy.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-z52fh-wH-CJ_u9xIa.js → BankConnectionsSettingsPage-BDLTuNLu-CjCCAjX4.js} +13 -13
  27. package/dist/assets/{BillDetailPage-DRpctLxu-bdCPRsGz.js → BillDetailPage-V8us93cj-BklrwzsQ.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-DFkIdcSF.js → BillPayApprovalRoutes-ayd5Uhdd.js} +1 -1
  29. package/dist/assets/BillPayApprovalRuleDetailPage-C_REwEVS-DLUSXFmg.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-HG32jtX9-BVKOFsD1.js → BillPayApprovalRulesPage-C6G_eDX9-Dv1ykerd.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-DwxNDF0k-DdNDHpVJ.js → BillPayPromoPage-CTQSknOB-BB-idd70.js} +12 -12
  32. package/dist/assets/{BillPayRoutes-B46aoVkb.js → BillPayRoutes-Imk-TXga.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-B-kmDrpB-Bfo7Z4ox.js → BillPaySetUpPage-BmgMLaf--ByUAKdsa.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-CNZyUOpM--gtvAMnb.js → BillingSettingsPage-IHY3ak0N-ACDwSPG2.js} +4 -4
  35. package/dist/assets/{BillsBulkReviewDrawerPage-DbIDTE51-D655D3p3.js → BillsBulkReviewDrawerPage-ZoFahXYa-B8FNahM_.js} +1 -1
  36. package/dist/assets/{BoxItem-CIyMdw2s-nxbr18CH.js → BoxItem-XoWq-tnh-BKabUWbk.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-DQ34qLUA-DMRdoDLL.js → BusinessVerificationPage-D9HtnNOu-DDDa00sg.js} +3 -3
  38. package/dist/assets/{BusinessVerificationPageScreen-C86_V-r6.js → BusinessVerificationPageScreen-DOorrN1e.js} +1 -1
  39. package/dist/assets/{BusyIndication-YMYY0Pff-D_KjfCvN.js → BusyIndication-BLGcHlgu-DO50OPkT.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-CN1RN7Tf-DydQglA7.js → CardNumberSubText-Cn0EZrNE-8S_Hkb0o.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-CyYkVa0H-5lX_RN0h.js → CashbackDetailPage-Bk5ssPnj-CtoifsbU.js} +9 -9
  42. package/dist/assets/{ChargeCardDetailPage-DFUAF2OM-BjL0DKyM.js → ChargeCardDetailPage-Ge9Aw7PA-CAFYyH-X.js} +20 -20
  43. package/dist/assets/{ChargeCardListPage-BTHDGtJ6-CCJNQLG0.js → ChargeCardListPage-BNLOoSv3-BSIYp8tw.js} +9 -9
  44. package/dist/assets/{ChargeCardListTable-BiKjkqVs-Dgu4VrOO.js → ChargeCardListTable-BoufojYF-BTQboiSm.js} +26 -26
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-sPGU7qmY-rwescXiM.js → ChargeCardPaymentHistoryPage-5lUxK8pF-CIMB2FXY.js} +14 -14
  46. package/dist/assets/ChargeCardPromoPage-CKl6K-nr-Bb0IG3IR.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-CPgq-Fcs.js → ChargeCardRoutes-BOv39ITT.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-DmhPAnYT-Dyz8DCk0.js → ChargeCardSetupPage-Dqoel2Do-CUYct81I.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-DUXupPSN-Db6p_ygZ.js → ChargeCardStatementsPage-Dalrj66w-DetFA813.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-C8nbDVSz-95lqaH1D.js → CheckDepositDrawerPage-mYjv1H0f-BkMT_2BX.js} +7 -7
  51. package/dist/assets/{CollapsableReportTable-C_bWRP7w-hzcwjYIg.js → CollapsableReportTable-CIaa7SIH-BcmrCcCw.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-6LXCxWYP-Dc3qK4JY.js → CompanyOfficerDetailsSection-BSFNYauO-CqdsvmlQ.js} +7 -7
  53. package/dist/assets/{CompanyPassportCard-DVJS9xE7-D9MmZ8zJ.js → CompanyPassportCard-B-mBb9Q5-D5OLWrri.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-FJ30paB0-CUlcgg__.js → CompanyPassportPage-Blyl_Z-c-Bv6cz8vO.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-DFzd5xMl.js → CompanyPassportScreen-BSgWemfd.js} +1 -1
  56. package/dist/assets/{CompleteProfile-D3Im5rsm-CBfB04g9.js → CompleteProfile-ySk9I1Ut-CX4lUHXI.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-BJrOe5Fg-DQJv_Nip.js → ConfettiBurst-CeAc4Ily-CQzNjmhJ.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-CxbcAiyp.js → ConnectionAuthScreen-B4jR-OqM.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CFViNyFz.js → ConstrainedInnerElement-CgdnMeoA-D6DpOFeV.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-C8dK3_XQ-CIY4Siau.js → CreateOrEditVendorPage-BRkqkhfw-CD_B7FM4.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-Dp5mS2Hc-wlf0KhHC.js → CreditCardPaymentDrawerPage-oUIakAtz-FAWvFh7a.js} +6 -6
  62. package/dist/assets/{CurrencySelectField-BAQ5aoHk-Crf9Iyws.js → CurrencySelectField-CSPhUjwG-TUea2NgP.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-D8T1akbN-BTSd_gC1.js → CustomerOnboardingActivationPage-CoOyWe6_-BbzsUah6.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-ChFZfEbR.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-BAW70o1Y.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DSvvHqR_-Clg865Pc.js → CustomerOnboardingDetailPageSkeleton-CWNyUuRp-TlQiouZ5.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-CSLO3M7E-Di-cYBWB.js → CustomerOnboardingNoStepsPage-DWx46Z6R-DGUwV-k3.js} +17 -17
  68. package/dist/assets/{CustomerOnboardingPage-weza3x24-C74TSa_v.js → CustomerOnboardingPage-D86Sj2KP-RtLD02LU.js} +3 -3
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-3YH4y1e1-DgtSAlPY.js → CustomerOnboardingProductSuitePage-Bo0LFveG-C45nsoZA.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-D8lBv3Fo.js → CustomerOnboardingRoutes-KhoQMmxs.js} +1 -1
  71. package/dist/assets/{Dashboard-Bpuy-Pez-DtqZ0TAC.js → Dashboard-DQLJzr16-XDHVlVNP.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-1p79NBF9-BeGuSbHr.js → DashboardReportPage-CwfTMXY5-cFYSJu0N.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-C_p-DfC4.js → DashboardRoutes-Dkt6idAs.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-CBg2tWHO-Bg6ARoU-.js → DashboardSidebarBackgroundAnimation-CUZGIAxW-CTx7mG_i.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-DFVvpMg0.js → DefaultTenantHome-BLYjm2Rl.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-DlztlGZL--Y5TyCxK.js → DepositAccTransactionItem-Ci-LxLsk-Ak1hNE9N.js} +5 -5
  77. package/dist/assets/{DepositAccTransactionListPage-BO43c3Uz-B3QFlMvi.js → DepositAccTransactionListPage-RG7P8vQS-SKAVbGWJ.js} +3 -3
  78. package/dist/assets/{DomesticWireDetailScreen-BxeuSD7C.js → DomesticWireDetailScreen-Cb8yfXyQ.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-SEql3I0P-CkHg76UF.js → DomesticWireDetailsPage-DsPFUOcE-ACmLsH0n.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-PhrwF2iZ-BSolbkT5.js → DownloadOverlay-BjTf50Dz-4dKqJIUv.js} +14 -14
  81. package/dist/assets/{DrawerPage-Bf3AP3Lj-CsKBkHKX.js → DrawerPage-0OFinUxM-DQiNyOfv.js} +1 -1
  82. package/dist/assets/{DrawerScreen-CNYes_B5.js → DrawerScreen-BxAJjX-V.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-B-rBzonN-T5IKpK3c.js → EditPeoplePage-BKcOmYVv-CCeaCSZK.js} +5 -5
  84. package/dist/assets/{EditReimbursementDetailPage-CUiIHNgT-CMbJXkGu.js → EditReimbursementDetailPage-BFIHhQbx-D5cGJPvr.js} +1 -1
  85. package/dist/assets/EntityDetailPage-D8FzsqNk-CTE5lJhs.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes-B_fkkkd0.js → EntityDetailRoutes-T0SbGq5C.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-mXeSjiuZ-DK_sIHqa.js → EntitySummarySection-ORJ2pE_k-CrZhDCdR.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-DQCoy1O9-DUzEeon7.js → ExpenseAutomationOverviewPage-Dzf7j2zV-CB93FJgY.js} +3 -3
  89. package/dist/assets/{ExpenseAutomationPage-BeAzQ7Qx-CtuC2pA_.js → ExpenseAutomationPage-BRsKGeoM-CuVPAlKg.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-Bn_W0EJ4.js → ExpenseAutomationRoutes-DdrEQ35G.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-C-isOU1b-C5JsOuHP.js → ExpressPayPage-DlBFtMaR-COte8Hl6.js} +6 -6
  92. package/dist/assets/{FeaturePreviewPage-Cyre9YzV-Dh66_th1.js → FeaturePreviewPage-C31F3Gmz-zATsNfdb.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-qfP2OUEx.js → FeaturePreviewScreen-D_I8hTXD.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-DZNWzSvo-4LVVpbi9.js → FollowStepsSection-BVT2K7mu-DOUcVu-3.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-Dp--ugNc-mV5JyIK2.js → GlobalReviewListPage-0cZe1hh0-lMXvemkS.js} +1 -1
  96. package/dist/assets/{InformationCardStack-D7naFDX0-ChrRXFYI.js → InformationCardStack-t8eELRLU-DKi42zgD.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-DexUl4h--BoiaSNx7.js → InsightsCardStack-CJBPZbzD-C9DEIBNn.js} +6 -6
  98. package/dist/assets/InsightsSection-tUBzsCix-t2SD0L6y.js +27 -0
  99. package/dist/assets/{IntegrationsSettingsPage-hFTe3wiP-C7P8jA4W.js → IntegrationsSettingsPage-Ce0yKUWI-BFf92zp0.js} +3 -3
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-DLkE5bXp-BLrA_sVU.js → InternationalWireSwiftDetailsPage-BzR-rKaL-DLEAf0e9.js} +9 -9
  101. package/dist/assets/{InternationalWireVerificationPage-DYGjEqNz-j-LqM69O.js → InternationalWireVerificationPage-7tCXdJ3Y-CCylLosQ.js} +10 -10
  102. package/dist/assets/{InviteFormPage-CGAsWQn7-DTRQdcWE.js → InviteFormPage-DePVC0CH-BiWnY9_1.js} +1 -1
  103. package/dist/assets/{InvitePageListView-BSPE9f03-tf28z0Pj.js → InvitePageListView-ChbvDKgQ-DOGDOCwK.js} +20 -20
  104. package/dist/assets/{InvitePeoplePage-ANvLB-mB-WhL9WNb0.js → InvitePeoplePage-DJiEzIeY-DBD22Qe2.js} +2 -2
  105. package/dist/assets/{InvoiceUploadSection-OGMswY7c-NI5q_7OK.js → InvoiceUploadSection-BjNMjhQR-BiXOVXBw.js} +12 -12
  106. package/dist/assets/{IssueChargeCardPage-sLInqAsW-B4KlGbEM.js → IssueChargeCardPage-4xbGf5Ut-Bzzrbo3g.js} +11 -11
  107. package/dist/assets/{LabeledAddressValue-DBJ236tZ-BerYTYe0.js → LabeledAddressValue-Czt7QvSJ-C3osThRZ.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-CAr-IiTa-DIler834.js → LabeledAddressValueField-Dl3atH92-CjWOLfvq.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-BdWZgcQc-BRawuCYy.js → LabeledControlledCheckBoxField-DT_nxhPN-DG3q_4VK.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-C6z1v9S1-DYoPmUzY.js → LabeledCountryMultiSelectField-BnljZpX0-Bai5L6wP.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-Dhi0n2ky-B7iwCfH_.js → LabeledCreatableSingleSelectField-CiInq9yD-BahNvXgw.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-B3QSq1eM-Dn-2GIt3.js → LabeledDocumentField-Ceb8vgVH-DKJFu0uE.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-B39DlufR-BPjCYmio.js → LabeledDropDownFormattedTextField-B98gNWTE-BFLazuPm.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-CY2mGhJG-B5JFU4wM.js → LabeledEmailInputField-C53P9fJl-DlfrFCPM.js} +1 -1
  115. package/dist/assets/{LabeledNameField-CYN5kdQi-CHfes9Ox.js → LabeledNameField-BdVztq_8-BVu5RDiT.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-CBXzDXMd-CCFQll02.js → LabeledSingleSelectField-sjDjhxfQ-GUbWbkLt.js} +1 -1
  117. package/dist/assets/{LabeledText-GEbY3-bB-D0ysNeoF.js → LabeledText-CFJSoGtK-YKLGY1KT.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-CvY4pk5I.js → LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-BLveJfCB.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-DJfE1qQb-CarCFyTQ.js → LabeledZeniRolesDropDownField-CQiP2rEh-cspEcG7h.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-B2ROo3VS-DJ6xwUid.js → LinkJETransactionPage-ANY7Ns42-BXUS9vB-.js} +12 -12
  121. package/dist/assets/{LockCardPage-D2dUPnNL-Eafl9wy6.js → LockCardPage-0piclOz3-CpQTPdSC.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-DTtl3SIc-CeYZtxfy.js → LowBalancePopup-CplxkRHP-D51-vJar.js} +1 -1
  123. package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-Dhxfjrr6.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-CtCxTvdx.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-RGB6DLRx.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-CakulreU.js → MagicLinkRoutes-DFvfWmRN.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-DmbM-s2i.js → MagicLinkSignInScreen-Dqj0rmTv.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-Ctt1pLiv-Baz0qr0W.js → MagicLinkSuccessPage-BA1LfhVb-Cs7EEnSb.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-CtsQ_c44-h10gi8NN.js → MagicLinkTitleSection-DLdaV8WG-C3bsdoSE.js} +1 -1
  130. package/dist/assets/MailingDetailsSection-BNVPaGFt-l5wno-Nb.js +21 -0
  131. package/dist/assets/{MobileAppDrawer-2LbkYhdu.js → MobileAppDrawer-lcEQxANw.js} +1 -1
  132. package/dist/assets/{MoreMenuButton--MxUyTqX-1RkUcWJr.js → MoreMenuButton-DrAQ635T-CD7O87sU.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-6ltpx62E-By1YLu0H.js → MyBankConnectionsSettingsPage-BiDvyO_G-DmJiZ7Np.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-CwDedcXl-CBi6XHSM.js → MyPendingActivationChargeCardListPage-Bb4_b9o6-CqgYRvuz.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-Bmhu2lrK-BOMukk0k.js → MyProfileSettingsPage-nY_eDqfm-gJ1y9AQT.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-jqJCHGvR-JHYu4cvw.js → NavBarWithPicker-Dr5XHgP5-Baq2EBjR.js} +1 -1
  137. package/dist/assets/{NavigationArrow-DY_BhITD-Bl_-33Bd.js → NavigationArrow-DT82hMh--_l1Xq3OC.js} +1 -1
  138. package/dist/assets/{NavigationDots-Kh5ODrCQ-DFRkvytB.js → NavigationDots-CwCZ9EAa-Uo4o2B8k.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-BYTROFvX-0fcN1-JD.js → NewGlobalMerchantPage-D1lxnByE-BPjTlYDM.js} +1 -1
  140. package/dist/assets/{NoDataChart-CuiKDcAB-CJ1icN_z.js → NoDataChart-DCTRXLc7-BU0W5yLr.js} +1 -1
  141. package/dist/assets/{NoDataTable-BpH8puX--DfcxqWrJ.js → NoDataTable-D8Xw5pAY-EktbXITg.js} +1 -1
  142. package/dist/assets/{NotFoundPage-BKvCYyvc-BE5hfWJC.js → NotFoundPage-B_zPUigU-DNJnTGd6.js} +8 -8
  143. package/dist/assets/{NotFoundScreen-Bbv8H3nZ.js → NotFoundScreen-Cg8eb9UX.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-Bw6HdP3t.js → NotificationRoutes-CSEEDZ70.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-F2xXUCSE-B-O9mrhC.js → NotificationSettingsPage-aKLRiMp--D5QirhkW.js} +4 -4
  146. package/dist/assets/{NotificationsListConfig-C9r-O2kH-DMi-LyFP.js → NotificationsListConfig-CVEetkBc-C-y-bIu5.js} +1 -1
  147. package/dist/assets/{NotificationsPage-CZZ9GTVy-BLrKuEst.js → NotificationsPage-DEw6V83J-CdE2VpYg.js} +14 -14
  148. package/dist/assets/{OpExByVendorPage-Crvcsx0U-D3aW4Up2.js → OpExByVendorPage-DJMov6Ux-DGUP7ne6.js} +5 -5
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-cN3F11As.js → OverlayContainerPage-BG9y5C0t-GGV7TQTP.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-CkDCt5NK-C1wItahw.js → PandLWithForecastPage-RBTh1bFk-cjQssrIs.js} +7 -7
  151. package/dist/assets/{PandLWithForecastRoutes-DEpl-kK8.js → PandLWithForecastRoutes-NvgQAmB8.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D1ZDh1GY-BPH3KEPd.js → PaymentAccountSetupBillingAddressSection-D-kQI4nd-CkzD5-JK.js} +1 -1
  153. package/dist/assets/{PeoplePage-D2CtRlrd-BaBsCmEu.js → PeoplePage-BEc-Oss7-DLtdqqo0.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-BERYSVqt.js → PeopleRoutes-NI_EwZmv.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-BGDjlCKg.js → PerformanceRoutes-DWe9qDT0.js} +1 -1
  156. package/dist/assets/{Preview-Ch-PxJf8.js → Preview-KXQhErZz.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-sNagRI0c-Ce6W9juD.js → ProductsCarousel-BRo0P4GW-DqFI6EgG.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BUk-u73S-uSCnFLmc.js → PromoBaseCards-BrXJEufN-Ct5eWSri.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-C1rEAxUE-Q804Cvr3.js → QBOConnectionDialog-BIg9Iais-C-bKnRUb.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-Cg7BmKuP.js → QBOConnectionScreen-BbH6Q0Zv.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-iQJCHR-K-BVPCLXHR.js → QBOSetupSection-DDoUJ7L6-C84E_gV5.js} +1 -1
  162. package/dist/assets/{ReferralListScreen-Do1GpEZb.js → ReferralListScreen-yb3eBsQ9.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-DykPBANB.js → ReimbursementApprovalRoutes-JsmozJ90.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BPIKZ9v1-BNELgYj0.js → ReimbursementApprovalRuleDetailPage-CP0muUGK-CcMzRfdI.js} +3 -3
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-Bmntxu5O.js → ReimbursementApprovalRuleDetailScreen-CmvANLeO.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-AE810nQZ-Cw7UlK2v.js → ReimbursementApprovalRulesPage-BpVWq3rk-DqxLa5ss.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-CYuZJL_J-dtJvpaUZ.js → ReimbursementDetailPage-pCg86_Ty-CbpPhjAt.js} +5 -5
  168. package/dist/assets/{ReimbursementPromoPage-CaxjSwrz-CrUxmQbQ.js → ReimbursementPromoPage-BW6icjG5-DKQI9joH.js} +6 -6
  169. package/dist/assets/{ReimbursementRoutes-DIhapEaG.js → ReimbursementRoutes-BuDt9Zc1.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-Bw77MBHF-DY7UAbXu.js → ReimbursementSetUpPage-B6OhWEWH-BS8UGS4Z.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B-svIloS-aC2GWjh5.js → ReimbursementsBulkReviewDrawerPage-DmDoqEZh-khE9K_mL.js} +1 -1
  172. package/dist/assets/{ReloadCard-D5kxTfzJ-DZ7WcKTp.js → ReloadCard-DIFXZM9U-CDUNRCGh.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-BZU8yltx-BgPE2K8D.js → ReportTableViewSelector-BsIDwouQ-BXT2zDSg.js} +1 -1
  174. package/dist/assets/{ReportsPage-CdN9MEVy-D9B82vbB.js → ReportsPage-BFTuYQt2-CMI7yOCk.js} +5 -5
  175. package/dist/assets/{ReportsRoutes-D0tPBhGa.js → ReportsRoutes-CjyJQ43R.js} +1 -1
  176. package/dist/assets/{RevenueChart-B_RMeweH-7bv4bhdH.js → RevenueChart-BoFq3ebd-DF5yhvon.js} +12 -12
  177. package/dist/assets/{ReviewDetailsPage-a73YIZSO-BjlIl2Hn.js → ReviewDetailsPage-6kCQzaHm-DplNkQk4.js} +1 -1
  178. package/dist/assets/{ReviewOverlay-Ubmz06uP-BujvaBnu.js → ReviewOverlay-Dhb-kL6G-C2wB3DBc.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-BRbYkU2f.js → RewardsRoutes-r3Lwv-tv.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-BYO1YG6N-CTVk-E46.js → RoleWithToolTip-BfM8Ltz4-D7NtOwF-.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-vgqilDC8-D8WWU11u.js → ScheduleDetailsFixedAssetsPage-Ccewwmwc-ChZX0aFf.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-DdEeFryA-Dk2G_kUJ.js → ScheduleDetailsPage-D4LK83qQ-kEM_9suf.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-poNEzbqS-D1_O58Op.js → ScheduleSequenceTable-BZR2cL6z-CphiJELf.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-l7j_PAHw.js → ScreenRoutes-ChEs7BzO.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-BSOGwHCj-DRnE7z5J.js → SetUpAccountSection-CxjYbrXu-B-CwrNpf.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-BOYsRkcJ.js → SettingsRoutes-C1Kq1J_D.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-BW5sbmcH.js → SetupPagesScreen-CoGP1Xn9.js} +1 -1
  188. package/dist/assets/{SignIn-q4J9wRx8-DePqNMHn.js → SignIn-CVmtPGKL-BcX200wt.js} +6 -6
  189. package/dist/assets/{SignInScreen-DslARcQJ.js → SignInScreen-D0kLHiST.js} +1 -1
  190. package/dist/assets/{SignOutScreen-C_H6M-mZ.js → SignOutScreen-G-A2kWXp.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-DKRkSADM-CSd5tSEZ.js → SpendManagementListViewPage-BLjP9T8h-CjHcTVHF.js} +4 -4
  192. package/dist/assets/{SpendManagementPerTabPage-Cd30NnXU-CS3ilKe0.js → SpendManagementPerTabPage-Ck4brjun-CCGYGR5C.js} +21 -21
  193. package/dist/assets/{SpendManagementSection-CPBOh_J5-DENgRE8u.js → SpendManagementSection-DAqR2c98-D3UQb_pP.js} +1 -1
  194. package/dist/assets/{StatementItem-NyOORj5f-fjAqSj3Z.js → StatementItem-B_iG99XI-Cw1V7vkp.js} +2 -2
  195. package/dist/assets/{StatementsPage-Cp77wyFS-C7ISvjR1.js → StatementsPage-DcKziEfZ-BIqp5I24.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-DN-yYdli-Car4Wffo.js → StatusSwitcher-BI-dgnrK-RmmgjxXK.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-D1LNrhUn-BAGv3SSP.js → SubTabSwitcher-BpNI5Wke-CkiBjSyM.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-DdyAYe1e-CZsu9OVO.js → SuccessAnimation-AojDorqX-DkE_42MT.js} +1 -1
  199. package/dist/assets/SummaryCard-HW-1WXN9-BBwEPOlY.js +1 -0
  200. package/dist/assets/{TaskDetailPage-DXTLNhtf-CRzBilad.js → TaskDetailPage-Cwe193JO-ewAuLH52.js} +1 -1
  201. package/dist/assets/{TaskListScreen-CKaTUfjj.js → TaskListScreen-DSEOf3IG.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-BaLJR4-7-BfMuUNcv.js → TaskManagementPage-Bz1uP5hK-CSZ7cyMf.js} +28 -28
  203. package/dist/assets/{TaskRoutes-GbR1OR35.js → TaskRoutes-BRwNIKsT.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-CkgGEwEw-zKlJ5DzO.js → TimeRangeSwitcher-oORYeFzN-DMRym10P.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-B8fpnYS8-DQR_BxSV.js → TimeframeSwitcher-JcJSbn0--NxzXFooZ.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-DwFo6jY4-FfcB1NLf.js → TimeframeSwitcherWithToggle-BEZU-KDj-DCVf1xga.js} +2 -2
  207. package/dist/assets/{TopExCard-PayAZZY--iaLxXoM4.js → TopExCard-CF6z0JWk-BLcp4aU-.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-Mp2KcYf6-oLp7-3Ip.js → TopExDetailPage-DrcKlFuy-CmjEb40G.js} +3 -3
  209. package/dist/assets/{TransactionActivityLogPage-CnmL_hUz-CXp6QGqE.js → TransactionActivityLogPage-BB4q0jan-C5nPIzaf.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-Bqlnmn8Y-BTMQkCwv.js → TransactionDetailPage-DRG_qosz-D9fl3J-h.js} +22 -22
  211. package/dist/assets/{TransactionDetailRoutes-CvNXB6If.js → TransactionDetailRoutes-CAxYOH5j.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-BV_pNfyg.js → TransactionDetailScreen-DqwOALaI.js} +1 -1
  213. package/dist/assets/{TransactionList-BOmlsfpv-BUFZXOSq.js → TransactionList-iw4pyMYF-BEukkbgw.js} +9 -9
  214. package/dist/assets/{TransactionListBig-CaMT-rq_-DBRBONTs.js → TransactionListBig-BljAUwAB-DPYo8qDs.js} +6 -6
  215. package/dist/assets/TransactionListPage-ReGTmF43-T1nD9Uec.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-C7_wmcOK.js → TransactionListRoutes-Iquxrv0X.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DlXuiPC5-DH3LeouE.js → TransactionVendorDetailPage-DXuYIj-p-PZqvaBS6.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-C2VcssbM-Ds3Buuei.js → TransferDrawerPage-C3q8h8Zy-CC7puzT8.js} +10 -10
  219. package/dist/assets/{TreasuryOverviewPage-DyyoGY23-B3lkP75d.js → TreasuryOverviewPage-DqjFEV9B-DejoDznR.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-B9Hf7oxZ-57H2ubx5.js → TreasuryPromoPage-ByeK0W_5-CDilRLcX.js} +14 -14
  221. package/dist/assets/{TreasuryRoutes-R2IJOmnc.js → TreasuryRoutes-Dyo-oi_i.js} +1 -1
  222. package/dist/assets/TreasuryStatementsPage-BjGwvMFL--8sdcv4h.js +58 -0
  223. package/dist/assets/{TreasuryTaxLetterPage-BcTBr9x9-BeDKnsuI.js → TreasuryTaxLetterPage-DwLyqS86-BuzUnyLn.js} +4 -4
  224. package/dist/assets/{TrendChart-BvXDrgUJ-BpZSEXhR.js → TrendChart-Dgh_21FN-Dg7QPEOU.js} +2 -2
  225. package/dist/assets/{TrendWithTransactions-RCpzdPf3-bpOEgU86.js → TrendWithTransactions-BgIPapHk-6i4jdit5.js} +6 -6
  226. package/dist/assets/{UncategorizedAccountsMappingPage-B1m3iXh5-BI9FK75f.js → UncategorizedAccountsMappingPage-DIIJcGrj-B5UXABtw.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-lVg_8mQ4-Ddm0HOtK.js → UnitIntegrationPage-DIOZhQOZ-SKHNorkF.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-DrAWxBXn-GduEZkMl.js → UploadAdditionalDocumentOverlay-qrcEQmkz-BT3JtLBM.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-C8m_OJEH-CRzhgn8L.js → Vendor2FAPopup-C58w6vC7-DeUBxd1k.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-BbxRwrEv-B1FHSUnq.js +1 -0
  231. package/dist/assets/{VendorDetailPage-Y9_hsgjs-DnYGOrtp.js → VendorDetailPage-CEQFcNHr-C6lUHaOU.js} +11 -11
  232. package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-DPrHDHbN.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-CPevpiim-CXHipFEF.js → VendorFiling1099EditablePage-Dl7jZYBV-Da2k3M6O.js} +6 -6
  234. package/dist/assets/{VendorFirstReviewPage-CXftFNl_-EYzoSqiC.js → VendorFirstReviewPage-yVbtg_tG-DcfprkGG.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-88NtGE3e-D2HrMQxV.js → VendorInternationalWireDetailsPage-DNDv_s8G-B-pyh3MJ.js} +6 -6
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-C9751j1W.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-DorsKXyL-DWmz9oym.js → VendorsAccountsSection-Cscbgqrx-Ce3rtYta.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-CutfvXg5.js → VendorsRoutes-BBEDIzoc.js} +1 -1
  239. package/dist/assets/{VerifyDevice-DAym8rUN-FPY3GtJ6.js → VerifyDevice-D1vsUSdJ-BJqUkCDT.js} +5 -5
  240. package/dist/assets/{VideoPlayer-53OvOC7l-B8n3tQt2.js → VideoPlayer-TlEy-oD0-gkMXG7RM.js} +1 -1
  241. package/dist/assets/{VideoPopup-v9quqdro-DZjd9t4t.js → VideoPopup-3DD646kG-BZkPXier.js} +4 -4
  242. package/dist/assets/{WiseConfirmationScreen-BrKM2fxE.js → WiseConfirmationScreen-DqyRLv9N.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-CFEGqW5l-DgQWWE4Z.js → ZeniAccountDetailPage-BbsXzuHD-Bd6UhBNb.js} +14 -14
  244. package/dist/assets/{ZeniAccountListViewPage-j85TO5tM-vuCxLVfZ.js → ZeniAccountListViewPage-lmuVUpKS-DnaPAR_9.js} +21 -21
  245. package/dist/assets/ZeniAccountNavBarPieces-CQhwBKXD-C5pPBUjJ.js +33 -0
  246. package/dist/assets/{ZeniAccountPromoPage-DeHmh4My-cXlTTduj.js → ZeniAccountPromoPage-CXEb9tRE-D3KRNdIi.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-CVVAUaPO.js → ZeniAccountRoutes-DmdwgYJg.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-ofkQR72l-BRlOELTo.js → ZeniAccountSetupPage-DPhYQu6u-C7pVffOX.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-ScoHvAyQ.js → ZeniAccountStatementScreen-wf3nq6fE.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-Ct7MPW2X-MRoTqMzS.js → ZeniAvatar-CCOD249Z-CjjovQwc.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-CmCqmJmV-BjVfX9jS.js → ZeniCopyright-pvaggW6x-D1Otd6KX.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-RNJ2ukKC-BS6c2-W_.js → ZeniDatePicker-EhzRlpFY-EOxDZOmQ.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-BpfqM032-4kutNI0C.js → ZeniTransferAmountSlider-Dlyom9dD-GrZZTmIS.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-BsfTzM_T.js → accountMappingHelper-CVdhvGPq.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-Dy45DaiH.js → add-to-wallet-DgdBD8_G-CaGBANmB.js} +1 -1
  256. package/dist/assets/{analytics-BX2zKevq.js → analytics-B1todtP5.js} +1 -1
  257. package/dist/assets/{analyticsHelper-qtejXlXH-BejVWTJz.js → analyticsHelper-AeOsAjMK-DaU6AkkF.js} +1 -1
  258. package/dist/assets/{analyticsHelper-8YQEEKMi.js → analyticsHelper-BbSyGowe.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-XZ3zlctQ.js → arrow-south-east-round-PEovUgvH-BEbw-5Yd.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-DR96fUbR.js → auto-transfer-rule-mbafm5D3-DnNkWE4v.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-DRSZhV3E.js → avatar-Dz7aEm3d-DMNCAMEH.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-rbOCdeK7.js → bank-letter-BOcVjN6J-BPuaG37P.js} +1 -1
  263. package/dist/assets/{calculateSize-CzpGCfNE-Cy_LgZ5r.js → calculateSize-D-LzlJzs-DFGwuhs_.js} +1 -1
  264. package/dist/assets/{chartTypes-BqRsL6eJ-BHjz48UJ.js → chartTypes-BLsP7rGF-vQGIz6hv.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-DZUKQUzx.js → clock-CJkylEKt-FEGV41kB.js} +1 -1
  266. package/dist/assets/common-CAmBErdt-Df8rw7Lg.js +1 -0
  267. package/dist/assets/{commonDimensions-CzWWgDTA-Dv5cpYCb.js → commonDimensions-DIm7kTtR-D3Xn6J24.js} +1 -1
  268. package/dist/assets/{commonTypes-CF6UyWSv-0hjd__4v.js → commonTypes-B3mnx2x_-CroghFI-.js} +1 -1
  269. package/dist/assets/{core-CRK-q5k6.js → core-DzJgWcSP.js} +1 -1
  270. package/dist/assets/{dash.all.min-DkWnBsIH.js → dash.all.min-m6zq1IwU.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-Br2RkwXR.js → decodeURIComponentSafe-KkOdhBBM.js} +1 -1
  272. package/dist/assets/{dnd-CgFlpM7S.js → dnd-CHoU1kzM.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-CdMT-oeR.js → dollar-round-D18u7nlm-CbvimQvt.js} +1 -1
  274. package/dist/assets/{downloadPdf-BFFM3Hea-C4uN458-.js → downloadPdf-B5WrL0K1-tr71U0aD.js} +1 -1
  275. package/dist/assets/{empty-DI8oDJKz.js → empty-CPN39ukT.js} +1 -1
  276. package/dist/assets/{empty-Qlk-PeUi.js → empty-DeLuycYG.js} +1 -1
  277. package/dist/assets/{epic-B1grlEUb.js → epic-C4j1vZle.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-Dx-p_nKS.js → filter-cZIFUNvj-DPs6iKkq.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-CYoIDNTT.js → getLocaleForTenant-Wt99tKjn.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-6lCOhzA2.js → gift-box-Cmt9OgIZ-fewdE2Of.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-B1HqTfGk.js → graphic-no-data-l-DU4J8fDt-8kufdn6n.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-XwIBzG5l.js → graphic-no-data-net-burn-l-CzmycA0m-CYa2bwlw.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-DimJJW29.js → handshake-BPg58FML-DDrW3vFD.js} +1 -1
  284. package/dist/assets/{helper-COxPEvgL-B_cdFqPQ.js → helper-BVESv00--DJZ1TZmV.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-CACRdS-l.js → hyperlink-DQyCeXx2-DmgckPpf.js} +1 -1
  286. package/dist/assets/{index-D8yPC9GA.js → index-B4Iram2Y.js} +1 -1
  287. package/dist/assets/{index-D57b0ZIG.js → index-CpL7aMNT.js} +458 -458
  288. package/dist/assets/{index-Cghn_Im8.js → index-DMvVAF9y.js} +1 -1
  289. package/dist/assets/{index-Dz5LYLj6.js → index-Da5QqNEd.js} +1 -1
  290. package/dist/assets/{index-Dc6LyeRJ.js → index-Df7CIWGo.js} +1 -1
  291. package/dist/assets/{index-C3bEDUWe.js → index-DvyqBD9K.js} +1 -1
  292. package/dist/assets/{lexical-BMu8Xd93.js → lexical-IHnBM1y6.js} +1 -1
  293. package/dist/assets/{liveblocks-L3GY4hN_.js → liveblocks-DFEps-VX.js} +1 -1
  294. package/dist/assets/{lottie-NpRVnd_t.js → lottie-BKwTCLtN.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-eq40ooKW.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CcuLqf_I-BrmfiJTm.js → mapSectionWithAcOnlyToTreeNode-BIiMj0sc-CPxDFwgO.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-gWkFUMYW.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-OjRUPUv4.js +1 -0
  299. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cql9mEn3-DlGJLONZ.js → mapTimeframeBalancesToTreeNode-CyO5pm8k-BhCoVmMQ.js} +1 -1
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-B31h2g5c.js → mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-DfhY90Zy.js} +1 -1
  301. package/dist/assets/{media-player-DIQJ-Dun.js → media-player-DTE-47lc.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-DLoKZhIi.js → money-2cg1MuG4-CS00Zw1N.js} +1 -1
  303. package/dist/assets/{mui-CQrPxNXb.js → mui-Bkh9mHku.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-BXmqV-8q.js → page-detail-CWX5S47F-DIsY0RGw.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-yb1lXduc.js → page-summary-D7_VQHwN-CPkNBTme.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-gMIlsmGi.js → panelSelectedMixin-Cddsb26L-DrgKnSgE.js} +1 -1
  307. package/dist/assets/{pathToGoBack-qafDCrK2.js → pathToGoBack-CVP2PAJB.js} +1 -1
  308. package/dist/assets/{pdf-CPt_J5sA.js → pdf-B2Mjqvbt.js} +3 -3
  309. package/dist/assets/{pdf-lib-QnEuDtVn.js → pdf-lib-D3H8wuz5.js} +1 -1
  310. package/dist/assets/{plaid-Dz-bwqi6.js → plaid-DK5T1xk0.js} +1 -1
  311. package/dist/assets/{pusher-GX3zigf-.js → pusher-XA-QAM4y.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-BdmcXfaL.js → radio-default-CiSgisfh-DyUowwkD.js} +1 -1
  313. package/dist/assets/{react-DrHnHV0M.js → react-BHm_BED9.js} +1 -1
  314. package/dist/assets/{react-BkCQv5vP.js → react-BeMd7khY.js} +1 -1
  315. package/dist/assets/{react-CNiez0tx.js → react-CE5hFMxZ.js} +3 -3
  316. package/dist/assets/{react-D9THCnPV.js → react-Cj_Jwgdx.js} +1 -1
  317. package/dist/assets/{react-7IgUsF0e.js → react-D2KU5dAD.js} +1 -1
  318. package/dist/assets/{react-J_JRr1Ub.js → react-DTIyYN_7.js} +1 -1
  319. package/dist/assets/{react-C66SfqMw.js → react-cE9bfIgF.js} +1 -1
  320. package/dist/assets/{react-BMEXzrEi.js → react-oG0R2hr9.js} +1 -1
  321. package/dist/assets/{recharts-CuxDYXli.js → recharts-Cex23pUy.js} +1 -1
  322. package/dist/assets/{routePaths-BPx5L1hv.js → routePaths-BW7eum2v.js} +1 -1
  323. package/dist/assets/{sentry-D8J10Xru.js → sentry-Cw2y1cds.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-DWYvIa1C.js → shield-DOlUxcFf-BymyXTB6.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-Due4I925.js → spend-limit-D6SyboD4-CciA3XkG.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-BWMF0py6-Cfce2Nwc.js +1 -0
  327. package/dist/assets/{toChartData-CWgd8E5c-DmnOTU-I.js → toChartData-BkubFDq8-BcIfwb51.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-D-Bv3g86.js → transaction-placeholder-CpOwZAMG-BdKC2D6J.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-Bnj6vWIW.js → undo-b_3XZ5CX-CAaI7tMV.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-u0K-tQmu.js → unlock-BPWn2I5L-CsX6-f2z.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BRrYSmi8.js → upload-reimbursement-receipt-O2N8vcO7-DiOxDVP5.js} +1 -1
  332. package/dist/assets/{uploadAttachment-D1ybl0Fy-lQriSWqX.js → uploadAttachment-CzgakLtr-BXMV7Ssr.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-CvjBscau.js → uploadReceipts-CIgkuVpu-DzT3q5XH.js} +1 -1
  334. package/dist/assets/{url-BBCYKnGe.js → url-B--KBVQO.js} +1 -1
  335. package/dist/assets/{url-vH8VntTf.js → url-Cb1SMxJX.js} +1 -1
  336. package/dist/assets/{useDeviceId-CiSBUfG_.js → useDeviceId-Blv0FTZw.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-DM-agcRr.js → useInitialThreadRequest-C3TkjaAN.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-BIGmXHF7.js → useLongPress-GCK2COYQ-C7S-Au32.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-D7I-fmMU.js → usp-line-BBd1wKwW-DghPNW3_.js} +1 -1
  340. package/dist/assets/{utils-GhRHHdOC.js → utils-DqUQm2Md.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-BY7As9fq.js → withTransactionSidePanel-VAEC0Epo.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-BpS-Wh5Q.js → zeni-epic-state-C-J3ARpk.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-Ae5IXOu0.js → zeni-icon-only-Vz4_IoFJ.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/AccountInfoPage-CrEEthms-yN3GwJSx.js +0 -18
  347. package/dist/assets/BillPayApprovalRuleDetailPage-CJtb4oOG-Cg9PD1au.js +0 -27
  348. package/dist/assets/ChargeCardPromoPage-6JwKgWli-Bq9Woc_8.js +0 -222
  349. package/dist/assets/CustomerOnboardingAuthScreen-DtbgUnG6.js +0 -1
  350. package/dist/assets/CustomerOnboardingContainerPage-CGFQ4G4y-Do3oBaOG.js +0 -1
  351. package/dist/assets/EntityDetailPage-CvLzsrUE-CmFRC1Gy.js +0 -18
  352. package/dist/assets/InsightsSection-D9PJ55E6-CiDuAe2j.js +0 -27
  353. package/dist/assets/MagicLinkACHDetailsPage-BC6_cyO0-BTnN4ina.js +0 -1
  354. package/dist/assets/MagicLinkDomesticWireDetailsPage-CdG5oCPl-NiCTPCej.js +0 -1
  355. package/dist/assets/MagicLinkInternationalWireDetailsPage-C046BNUz-CTNIFHe0.js +0 -1
  356. package/dist/assets/MailingDetailsSection-DiZwQ9QV-DZ8ow1Kr.js +0 -21
  357. package/dist/assets/SummaryCard-DgIPSt4y-C1zi99VN.js +0 -1
  358. package/dist/assets/TransactionListPage-D_dgwnFp-BQysIFBi.js +0 -35
  359. package/dist/assets/TreasuryStatementsPage-DOzJzfTG-DtwCwdE7.js +0 -58
  360. package/dist/assets/VendorACHDetailsPage-JhO6KtMC-DvqhzUaK.js +0 -1
  361. package/dist/assets/VendorDomesticWireDetailsPage-D0RsDHxf-BsqcaQeD.js +0 -1
  362. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BTh-VP1b-DSEtroCd.js +0 -1
  363. package/dist/assets/ZeniAccountNavBarPieces-Bv34Vsqj-yElArATR.js +0 -33
  364. package/dist/assets/common-BxjzMhDO-S5r9siR9.js +0 -1
  365. package/dist/assets/mapLoadingInProgressToTreeNode-COOJxneh--mm1uc9R.js +0 -1
  366. package/dist/assets/mapSpacerToTreeNode-Ci5bdH6P-Dg1nMMYC.js +0 -1
  367. package/dist/assets/mapTimeframeBalancesToTreeNode-CCZ9A7A6-BGzm5TyC.js +0 -1
  368. package/dist/assets/toCOABalancesWithID-B70YK7cw-CwZZ7JH8.js +0 -1
@@ -1,16 +1,16 @@
1
- import{y as X,e as ee,O as l,V as o,bd as oe,aZ as te,bN as re,a_ as ae,o as T,ab as ne,x as N,a$ as ie,bJ as se,bK as le,bL as de,m as u}from"./index-D57b0ZIG.js";import{a as b}from"./sentry-D8J10Xru.js";import{n as a}from"./mui-CQrPxNXb.js";import{m as ce}from"./BusyIndication-YMYY0Pff-D_KjfCvN.js";import{L as ge,D as pe}from"./EntitySummarySection-mXeSjiuZ-DK_sIHqa.js";import"./pdf-CPt_J5sA.js";import"./zeni-epic-state-BpS-Wh5Q.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.js";import"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="55f1516f-3f9a-47e4-a080-b410bec5faeb",e._sentryDebugIdIdentifier="sentry-dbid-55f1516f-3f9a-47e4-a080-b410bec5faeb")}catch{}})();const C={wrapperContainerMarginTop:new N(u[4],u[0]),wrapperContaineHorizontalrMargin:new N(u[0],u[8])},me=a.div`
1
+ import{y as X,e as ee,O as l,V as o,bd as oe,aZ as te,bN as re,a_ as ne,o as T,ab as ae,x as N,a$ as ie,bJ as se,bK as le,bL as de,m as y}from"./index-CpL7aMNT.js";import{a as b}from"./sentry-Cw2y1cds.js";import{n}from"./mui-Bkh9mHku.js";import{m as ce}from"./BusyIndication-BLGcHlgu-DO50OPkT.js";import{L as ge,D as pe}from"./EntitySummarySection-ORJ2pE_k-CrZhDCdR.js";import"./pdf-B2Mjqvbt.js";import"./zeni-epic-state-C-J3ARpk.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";import"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="3d618da2-b966-4ac1-902b-4110660841b4",e._sentryDebugIdIdentifier="sentry-dbid-3d618da2-b966-4ac1-902b-4110660841b4")}catch{}})();const C={wrapperContainerMarginTop:new N(y[4],y[0]),wrapperContaineHorizontalrMargin:new N(y[0],y[8])},me=n.div`
2
2
  height: 100%;
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  max-width: 99.9%;
6
- `,fe=a.div`
6
+ `,ue=n.div`
7
7
  display: flex;
8
8
  width: 100%;
9
9
  height: calc(100% - 60px);
10
10
  flex-direction: column;
11
11
  justify-content: center;
12
12
  align-items: center;
13
- `,ue=a.div`
13
+ `,ye=n.div`
14
14
  height: 96px;
15
15
  width: 96px;
16
16
  background: ${e=>e.theme.colors.background};
@@ -25,22 +25,22 @@ import{y as X,e as ee,O as l,V as o,bd as oe,aZ as te,bN as re,a_ as ae,o as T,a
25
25
  color: ${e=>e.theme.colors.primary};
26
26
  }
27
27
  }
28
- `,ye=a(ne)`
28
+ `,fe=n(ae)`
29
29
  margin-top: ${T.sp3};
30
30
  color: ${e=>e.theme.colors.hero};
31
- `,he=a.div`
31
+ `,he=n.div`
32
32
  display: flex;
33
33
  min-height: 100%;
34
34
  flex-direction: column;
35
35
  width: 100%;
36
36
  background-color: ${e=>e.theme.colors.grey5};
37
- `,we=a.div`
37
+ `,we=n.div`
38
38
  display: block;
39
39
  background-color: ${e=>e.theme.colors.grey4};
40
40
  height: calc(100vh - 178px);
41
41
  margin-top: ${e=>C.wrapperContainerMarginTop.valuePx(e.windowSize)};
42
- `,xe=a.div`
42
+ `,xe=n.div`
43
43
  margin-left: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
44
44
  margin-right: ${e=>C.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
45
45
  height: 100%;
46
- `;function Le(e){const d=X(),c=ee(),F=l.getLocalizedStrings().common,L=l.getLocalizedStrings().reports.common,{apAgingDetail:t,downloadParams:y,reportDate:n,analytics:g,onReload:O,onBackClick:Y,onColumnSortConfigChanged:_,updateDownloadStateHandler:h,onTransactionClick:E,sidePanelIsOpen:R,sidePanelIsFullView:B,panelContent:H}=e,{authParams:v,downloadEndPoint:S,timezone:I}=y,{fetchState:p,invoices:k,apAgingDetailUIState:z,vendor:r,totalBalances:K}=t,{sortKey:w,sortOrder:x,downloadState:m}=z,[$,j]=b.useState(!1),P=l.getLocalizedStrings(),J=P.reports.aging.agingDetail,V=b.useCallback((i,f)=>{t.vendor!=null&&g.trackApAgingDetailReportSortChange(i,f,n.format(P.dateFormat.analytics.YYYYDashMMDashDDFormat),t.vendor.id,t.vendor.name),_(i,f)},[g,t.vendor,n,_]);if(b.useEffect(()=>{$&&m!=="In-Progress"&&(j(!1),h("In-Progress"),async function(){const i={companyName:y.companyName,sortKey:w,sortOrder:x,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:r?.id??"",timezone:I,reportDate:n};await async function(f,q,Z){const G=`${f}?query=${encodeURIComponent(JSON.stringify(De(Z)))}`,M=l.getLocalizedStrings(),A=M.reports.aging.apAging.apAging,D=M.download;try{const s=await se({urlEndPoint:G,authParams:q,fileType:"excel"});if(s.ok){const Q=le(s.headers,D.defaultFileName),W=await s.arrayBuffer();de(W,Q)}else console.error(`${D.errorMessages.fileDownloadError.replace("__feature__",A)} ${s.statusText}`)}catch(s){console.error(`${D.errorMessages.fileDownloadError.replace("__feature__",A)} ${JSON.stringify(s)}`)}}(S,v,i),h("Completed"),t.vendor!=null&&g.trackApAgingDetailReportDownload(w,x,n.format(l.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),t.vendor.id,t.vendor.name)}())},[g,t.vendor,v,S,y.companyName,m,$,n,w,x,I,h,r?.id]),p==="Error")return o.jsxs(fe,{children:[o.jsx(ue,{onClick:O,children:o.jsx(oe,{})}),o.jsx(ye,{children:L.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(ce,{fetchState:p});const U=o.jsx(ie,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:m==="In-Progress"}],onDownloadClick:async i=>{if(i==="excel"){if(m==="In-Progress")return void console.log("Download is already in progress!");j(!0)}}}}});return o.jsx(te,{isOpen:R??!1,isFullView:B??!1,panelContent:H,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(ae,{title:F.strings.empty,backgroundColor:d.colors.grey5,onBackClick:Y,rightSideComponent:U,source:"ApAgingDetailPage"}),o.jsx(pe,{totalBalances:K,entityName:r?.name??"",entityLogo:r?.logo,reportId:"accounts_payable_aging",reportDate:n})]}),listContent:o.jsx(he,{children:o.jsx(we,{windowSize:c,children:o.jsx(xe,{windowSize:c,children:k.length===0||r==null?o.jsx(re,{message:J.noDataText}):o.jsx(me,{windowSize:c,children:o.jsx(ge,{uiState:z,invoices:k,entityName:r.name,entityLogo:r.logo,onColumnSortConfigChanged:V,onTransactionClick:E})})})})})})}function De(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:l.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{Le as default,De as toDownloadAgingDetailedReportOptionsPayload};
46
+ `;function Le(e){const d=X(),c=ee(),F=l.getLocalizedStrings().common,L=l.getLocalizedStrings().reports.common,{apAgingDetail:t,downloadParams:f,reportDate:a,analytics:g,onReload:O,onBackClick:Y,onColumnSortConfigChanged:_,updateDownloadStateHandler:h,onTransactionClick:E,sidePanelIsOpen:R,sidePanelIsFullView:B,panelContent:H}=e,{authParams:v,downloadEndPoint:S,timezone:I}=f,{fetchState:p,invoices:k,apAgingDetailUIState:z,vendor:r,totalBalances:K}=t,{sortKey:w,sortOrder:x,downloadState:m}=z,[P,$]=b.useState(!1),j=l.getLocalizedStrings(),J=j.reports.aging.agingDetail,V=b.useCallback((i,u)=>{t.vendor!=null&&g.trackApAgingDetailReportSortChange(i,u,a.format(j.dateFormat.analytics.YYYYDashMMDashDDFormat),t.vendor.id,t.vendor.name),_(i,u)},[g,t.vendor,a,_]);if(b.useEffect(()=>{P&&m!=="In-Progress"&&($(!1),h("In-Progress"),async function(){const i={companyName:f.companyName,sortKey:w,sortOrder:x,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:r?.id??"",timezone:I,reportDate:a};await async function(u,q,Z){const G=`${u}?query=${encodeURIComponent(JSON.stringify(De(Z)))}`,M=l.getLocalizedStrings(),A=M.reports.aging.apAging.apAging,D=M.download;try{const s=await se({urlEndPoint:G,authParams:q,fileType:"excel"});if(s.ok){const Q=le(s.headers,D.defaultFileName),W=await s.arrayBuffer();de(W,Q)}else console.error(`${D.errorMessages.fileDownloadError.replace("__feature__",A)} ${s.statusText}`)}catch(s){console.error(`${D.errorMessages.fileDownloadError.replace("__feature__",A)} ${JSON.stringify(s)}`)}}(S,v,i),h("Completed"),t.vendor!=null&&g.trackApAgingDetailReportDownload(w,x,a.format(l.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),t.vendor.id,t.vendor.name)}())},[g,t.vendor,v,S,f.companyName,m,P,a,w,x,I,h,r?.id]),p==="Error")return o.jsxs(ue,{children:[o.jsx(ye,{onClick:O,children:o.jsx(oe,{})}),o.jsx(fe,{children:L.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(ce,{fetchState:p});const U=o.jsx(ie,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:m==="In-Progress"}],onDownloadClick:async i=>{if(i==="excel"){if(m==="In-Progress")return void console.log("Download is already in progress!");$(!0)}}}}});return o.jsx(te,{isOpen:R??!1,isFullView:B??!1,panelContent:H,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(ne,{title:F.strings.empty,backgroundColor:d.colors.grey5,onBackClick:Y,rightSideComponent:U,source:"ApAgingDetailPage"}),o.jsx(pe,{totalBalances:K,entityName:r?.name??"",entityLogo:r?.logo,reportId:"accounts_payable_aging",reportDate:a})]}),listContent:o.jsx(he,{children:o.jsx(we,{windowSize:c,children:o.jsx(xe,{windowSize:c,children:k.length===0||r==null?o.jsx(re,{message:J.noDataText}):o.jsx(me,{windowSize:c,children:o.jsx(ge,{uiState:z,invoices:k,entityName:r.name,entityLogo:r.logo,onColumnSortConfigChanged:V,onTransactionClick:E})})})})})})}function De(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:l.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{Le as default,De as toDownloadAgingDetailedReportOptionsPayload};
@@ -1,4 +1,4 @@
1
- import{V as t,e as m,a8 as x,o as r,x as d,f as a,ab as g,O as u,aN as f,co as $,cn as b}from"./index-D57b0ZIG.js";import{n as o,k as w}from"./mui-CQrPxNXb.js";import{a as y}from"./sentry-D8J10Xru.js";import{t as j}from"./clock-CJkylEKt-DZUKQUzx.js";import"./pdf-CPt_J5sA.js";import"./zeni-epic-state-BpS-Wh5Q.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.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]="c49e8f0e-e658-4b6b-8dea-162ceb3ca688",e._sentryDebugIdIdentifier="sentry-dbid-c49e8f0e-e658-4b6b-8dea-162ceb3ca688")}catch{}})();const l={maxWidth:new d(280,322),contentMaxWidth:new d(200,250)},k=w`
1
+ import{V as t,e as m,a8 as x,o as r,x as d,f as a,ab as g,O as u,aN as f,co as $,cn as b}from"./index-CpL7aMNT.js";import{n as o,k as w}from"./mui-Bkh9mHku.js";import{a as y}from"./sentry-Cw2y1cds.js";import{t as j}from"./clock-CJkylEKt-FEGV41kB.js";import"./pdf-B2Mjqvbt.js";import"./zeni-epic-state-C-J3ARpk.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.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]="c49e8f0e-e658-4b6b-8dea-162ceb3ca688",e._sentryDebugIdIdentifier="sentry-dbid-c49e8f0e-e658-4b6b-8dea-162ceb3ca688")}catch{}})();const l={maxWidth:new d(280,322),contentMaxWidth:new d(200,250)},k=w`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -1,11 +1,11 @@
1
- import{_ as ce,aE as pe,aF as ue,aG as p,aH as me,V as n,aI as be,aJ as he,aK as fe,aL as ge,E as xe,aM as Ee,o as a,aN as ye,z as h,ap as f}from"./index-D57b0ZIG.js";import{a as o,b as Ce}from"./sentry-D8J10Xru.js";import{n as l}from"./mui-CQrPxNXb.js";import{bm as we}from"./zeni-epic-state-BpS-Wh5Q.js";import{v as Ae}from"./DashboardSidebarBackgroundAnimation-CBg2tWHO-Bg6ARoU-.js";import"./pdf-CPt_J5sA.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.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]="451483c7-0476-4137-8a1f-130e69bcfec7",e._sentryDebugIdIdentifier="sentry-dbid-451483c7-0476-4137-8a1f-130e69bcfec7")}catch{}})();const ke=o.memo(function({animationEnabled:e=!1}){const[i,s]=h("DashboardSidebarBottomNewYear",e),[t,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&t!=null?n.jsx(ve,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:t,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ve=l.div`
1
+ import{_ as ce,aE as pe,aF as ue,aG as p,aH as me,V as n,aI as be,aJ as fe,aK as he,aL as ge,E as xe,aM as Ee,o as a,aN as ye,z as f,ap as h}from"./index-CpL7aMNT.js";import{a as o,b as Ce}from"./sentry-Cw2y1cds.js";import{n as l}from"./mui-Bkh9mHku.js";import{bm as we}from"./zeni-epic-state-C-J3ARpk.js";import{v as Ae}from"./DashboardSidebarBackgroundAnimation-CUZGIAxW-CTx7mG_i.js";import"./pdf-B2Mjqvbt.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.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]="3d2b1d6e-b51f-4ea9-a8f9-ac4275cda7fe",e._sentryDebugIdIdentifier="sentry-dbid-3d2b1d6e-b51f-4ea9-a8f9-ac4275cda7fe")}catch{}})();const ke=o.memo(function({animationEnabled:e=!1}){const[i,s]=f("DashboardSidebarBottomNewYear",e),[t,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&t!=null?n.jsx(ve,{children:n.jsx(h,{style:{display:"flex",width:"70px",height:"140px"},animationData:t,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ve=l.div`
2
2
  position: absolute;
3
3
  z-index: 0;
4
4
  bottom: -${a.sp3};
5
5
  display: flex;
6
6
  height: auto;
7
7
  right: ${a.sp0};
8
- `,je=o.memo(function({animationEnabled:e=!1}){const[i,s]=h("DashboardSidebarBottomChristmas",e),[t,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&t!=null?n.jsx(Se,{children:n.jsx(f,{style:{display:"flex",width:"240px",height:"98px"},animationData:t,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Se=l.div`
8
+ `,je=o.memo(function({animationEnabled:e=!1}){const[i,s]=f("DashboardSidebarBottomChristmas",e),[t,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&t!=null?n.jsx(Se,{children:n.jsx(h,{style:{display:"flex",width:"240px",height:"98px"},animationData:t,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Se=l.div`
9
9
  position: absolute;
10
10
  z-index: 0;
11
11
  bottom: ${a.sp0};
@@ -13,7 +13,7 @@ import{_ as ce,aE as pe,aF as ue,aG as p,aH as me,V as n,aI as be,aJ as he,aK as
13
13
  height: auto;
14
14
  right: ${a.sp0};
15
15
  width: 100%;
16
- `,De=o.memo(function({animationEnabled:e=!1}){const[i,s]=h("DashboardSidebarBottomHalloween",e),[t,r]=o.useState(null);return i!=null&&t==null&&!s&&r(i),e&&t!=null?n.jsx($e,{children:n.jsx(f,{style:{display:"flex",width:"60px",height:"60px",marginLeft:"20%",marginTop:"10%"},animationData:t,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),$e=l.div`
16
+ `,De=o.memo(function({animationEnabled:e=!1}){const[i,s]=f("DashboardSidebarBottomHalloween",e),[t,r]=o.useState(null);return i!=null&&t==null&&!s&&r(i),e&&t!=null?n.jsx($e,{children:n.jsx(h,{style:{display:"flex",width:"60px",height:"60px",marginLeft:"20%",marginTop:"10%"},animationData:t,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),$e=l.div`
17
17
  position: absolute;
18
18
  z-index: 0;
19
19
  width: 100%;
@@ -25,7 +25,7 @@ import{_ as ce,aE as pe,aF as ue,aG as p,aH as me,V as n,aI as be,aJ as he,aK as
25
25
  background-repeat: no-repeat;
26
26
  background-position-y: bottom;
27
27
  left: 0;
28
- `,Te=o.memo(function({animationEnabled:e=!1}){const[i,s]=h("DashboardSidebarBottomThanksgiving",e),[t,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&t!=null?n.jsx(Ie,{children:n.jsx(f,{style:{display:"flex",width:"100px",height:"100px",marginLeft:"45%"},animationData:t,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Ie=l.div`
28
+ `,Te=o.memo(function({animationEnabled:e=!1}){const[i,s]=f("DashboardSidebarBottomThanksgiving",e),[t,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&t!=null?n.jsx(Ie,{children:n.jsx(h,{style:{display:"flex",width:"100px",height:"100px",marginLeft:"45%"},animationData:t,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Ie=l.div`
29
29
  position: absolute;
30
30
  z-index: 0;
31
31
  bottom: ${a.sp0};
@@ -89,4 +89,4 @@ import{_ as ce,aE as pe,aF as ue,aG as p,aH as me,V as n,aI as be,aJ as he,aK as
89
89
  height: ${a.sp4};
90
90
  align-items: center;
91
91
  justify-content: center;
92
- `;function Xe({currentTenantId:e,tenants:i,isVendorsTabVisible:s,isZeniAccountEnabled:t,isTreasuryEnabled:r,isTreasuryPopupVisible:$,isChargeCardEnabled:T,rewardsConfiguration:I,selectedMenu:M,isTenantDropdownDisabled:F,isSettings:u=!1,isAiCfo:V=!1,isOnDashboard:P,isAiCfoAccessEnabled:Y,isNotificationsTabVisible:z,isSettingsFeatureEnabled:y,signedInUser:g,aiCfoView:U,currentTenant:C,christmasAnimationEnabled:x=!1,halloweenAnimationEnabled:w=!1,newYearAnimationEnabled:A=!1,thanksGivingAnimationEnabled:k=!1,notificationCountDetails:m,isExpenseAutomationEnabledForUser:N,isTaskManagerAccessEnabled:R,treasuryYieldPercentage:_,onNotificationIconClick:B,handleLogOutClick:L,handleMenuChange:G,onZeniLogoClick:H,handlePopupClose:O,handleBackClick:v,handleCockpitClick:K,handleMyProfileClick:j,handleReferralsClick:Z,handleTenantSelect:J,onDeleteChatSession:W,updateCurrentChatSessionId:q}){const[d,Q]=o.useState(u&&y),E=Ce.useRef("noAnimation"),S=we(g),X=ce(),{useFeatureGate:c,useDynamicConfig:ee}=pe(),{configValue:D}=ee(ue.expenseAutomationEnablementZeniUsers),ne=Array.isArray(D?.expenseAutomationEnabledCompanies)?D.expenseAutomationEnabledCompanies:[],{isFeatureEnabled:ie}=c(p.isReimbursementCommentingEnabled),{isFeatureEnabled:ae}=c(p.isBillPayCommentingEnabled),{isFeatureEnabled:te}=c(p.isExpenseAutomationEnabledV2),{isFeatureEnabled:se}=c(p.isTreasuryCommentingEnabled),{isFeatureEnabled:oe}=c(p.isCheckingCommentingEnabled),le=me();o.useEffect(()=>{u!==d&&Q(u)},[u,d]);const b=m?.fetchStatus.fetchState==="Not-Started"||m?.fetchStatus.fetchState==="In-Progress",re=E.current,de=S||(ie||ae||te||se||oe)&&!X.loggedInUserRole.includes("investor_or_banker");return n.jsxs(Fe,{isOnDashboard:P,children:[n.jsxs(Ve,{children:[n.jsx(be,{onClick:H,halloweenAnimationEnabled:w,thanksGivingAnimationEnabled:k,christmasAnimationEnabled:x,newYearAnimationEnabled:A}),n.jsx(he,{currentTenantId:e??"",tenants:i,isDisabled:F,isZeniUser:S,expenseAutomationEnabledCompanies:ne,onTenantSelect:J})]}),n.jsx(Pe,{children:n.jsx(fe,{className:re,signedInUser:g,selectedMenu:M,currentTenant:C,isVendorsTabVisible:s,rewardsConfiguration:I,isSetting:d,isAiCfo:V,isAiCfoAccessEnabled:Y,aiCfoView:U,isZeniAccountEnabled:t,isTreasuryEnabled:r,isTreasuryPopupVisible:$,treasuryYieldPercentage:_,isChargeCardEnabled:T,isNotificationsTabVisible:z,isPerformanceEnabledForUser:le,isExpenseAutomationEnabledForUser:N,isTaskManagerAccessEnabled:R,onSelectionChanged:G,onDeleteChatSession:W,updateCurrentChatSessionId:q,onBackClick:()=>{E.current="slide-in-left-to-right",d&&v&&v()},onPopupClose:O})}),n.jsx(Ae,{christmasAnimationEnabled:x}),n.jsxs(Ye,{children:[n.jsx(ge,{signedInUser:g,onLogOutClick:L,onMyProfileClick:()=>{E.current="slide-in-right-to-left",j&&j()},onReferralsClick:Z,onCockpitClick:K,currentTenant:C,isSettingsFeatureEnabled:y}),de?n.jsx(xe,{controller:m!=null,children:n.jsxs(ze,{isDisabled:b,onClick:b?void 0:B,"data-testid":"notification-icon",children:[n.jsx(Ee,{count:b?void 0:m?.count,type:"important",isLoading:b,style:{left:"12px"}}),n.jsx(Ue,{})]})}):null]}),n.jsx(Me,{halloweenAnimationEnabled:w,thanksGivingAnimationEnabled:k,christmasAnimationEnabled:x,newYearAnimationEnabled:A})]},d.toString())}export{Xe as default};
92
+ `;function Xe({currentTenantId:e,tenants:i,isVendorsTabVisible:s,isZeniAccountEnabled:t,isTreasuryEnabled:r,isTreasuryPopupVisible:$,isChargeCardEnabled:T,rewardsConfiguration:I,selectedMenu:M,isTenantDropdownDisabled:F,isSettings:u=!1,isAiCfo:V=!1,isOnDashboard:P,isAiCfoAccessEnabled:Y,isNotificationsTabVisible:z,isSettingsFeatureEnabled:y,signedInUser:g,aiCfoView:U,currentTenant:C,christmasAnimationEnabled:x=!1,halloweenAnimationEnabled:w=!1,newYearAnimationEnabled:A=!1,thanksGivingAnimationEnabled:k=!1,notificationCountDetails:m,isExpenseAutomationEnabledForUser:B,isTaskManagerAccessEnabled:R,treasuryYieldPercentage:_,onNotificationIconClick:L,handleLogOutClick:N,handleMenuChange:G,onZeniLogoClick:H,handlePopupClose:Z,handleBackClick:v,handleCockpitClick:K,handleMyProfileClick:j,handleReferralsClick:O,handleTenantSelect:J,onDeleteChatSession:W,updateCurrentChatSessionId:q}){const[d,Q]=o.useState(u&&y),E=Ce.useRef("noAnimation"),S=we(g),X=ce(),{useFeatureGate:c,useDynamicConfig:ee}=pe(),{configValue:D}=ee(ue.expenseAutomationEnablementZeniUsers),ne=Array.isArray(D?.expenseAutomationEnabledCompanies)?D.expenseAutomationEnabledCompanies:[],{isFeatureEnabled:ie}=c(p.isReimbursementCommentingEnabled),{isFeatureEnabled:ae}=c(p.isBillPayCommentingEnabled),{isFeatureEnabled:te}=c(p.isExpenseAutomationEnabledV2),{isFeatureEnabled:se}=c(p.isTreasuryCommentingEnabled),{isFeatureEnabled:oe}=c(p.isCheckingCommentingEnabled),le=me();o.useEffect(()=>{u!==d&&Q(u)},[u,d]);const b=m?.fetchStatus.fetchState==="Not-Started"||m?.fetchStatus.fetchState==="In-Progress",re=E.current,de=S||(ie||ae||te||se||oe)&&!X.loggedInUserRole.includes("investor_or_banker");return n.jsxs(Fe,{isOnDashboard:P,children:[n.jsxs(Ve,{children:[n.jsx(be,{onClick:H,halloweenAnimationEnabled:w,thanksGivingAnimationEnabled:k,christmasAnimationEnabled:x,newYearAnimationEnabled:A}),n.jsx(fe,{currentTenantId:e??"",tenants:i,isDisabled:F,isZeniUser:S,expenseAutomationEnabledCompanies:ne,onTenantSelect:J})]}),n.jsx(Pe,{children:n.jsx(he,{className:re,signedInUser:g,selectedMenu:M,currentTenant:C,isVendorsTabVisible:s,rewardsConfiguration:I,isSetting:d,isAiCfo:V,isAiCfoAccessEnabled:Y,aiCfoView:U,isZeniAccountEnabled:t,isTreasuryEnabled:r,isTreasuryPopupVisible:$,treasuryYieldPercentage:_,isChargeCardEnabled:T,isNotificationsTabVisible:z,isPerformanceEnabledForUser:le,isExpenseAutomationEnabledForUser:B,isTaskManagerAccessEnabled:R,onSelectionChanged:G,onDeleteChatSession:W,updateCurrentChatSessionId:q,onBackClick:()=>{E.current="slide-in-left-to-right",d&&v&&v()},onPopupClose:Z})}),n.jsx(Ae,{christmasAnimationEnabled:x}),n.jsxs(Ye,{children:[n.jsx(ge,{signedInUser:g,onLogOutClick:N,onMyProfileClick:()=>{E.current="slide-in-right-to-left",j&&j()},onReferralsClick:O,onCockpitClick:K,currentTenant:C,isSettingsFeatureEnabled:y}),de?n.jsx(xe,{controller:m!=null,children:n.jsxs(ze,{isDisabled:b,onClick:b?void 0:L,"data-testid":"notification-icon",children:[n.jsx(Ee,{count:b?void 0:m?.count,type:"important",isLoading:b,style:{left:"12px"}}),n.jsx(Ue,{})]})}):null]}),n.jsx(Me,{halloweenAnimationEnabled:w,thanksGivingAnimationEnabled:k,christmasAnimationEnabled:x,newYearAnimationEnabled:A})]},d.toString())}export{Xe as default};
@@ -1,4 +1,4 @@
1
- import{y as U,e as F,_ as V,O as p,ad as y,V as t,a_ as E,L as G,eZ as b,d4 as S,x as d,o as k,H as J,w as j,m as i}from"./index-D57b0ZIG.js";import{n as l}from"./mui-CQrPxNXb.js";import{FZ as N,F_ as Z}from"./zeni-epic-state-BpS-Wh5Q.js";import"./sentry-D8J10Xru.js";import"./pdf-CPt_J5sA.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.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]="7d54f4eb-b792-4029-ad8f-f2a34a86132a",e._sentryDebugIdIdentifier="sentry-dbid-7d54f4eb-b792-4029-ad8f-f2a34a86132a")}catch{}})();const a={sectionRowGap:new d(i[4],i[8],i[8]),lastSectionPaddingBottom:new d(i[7],i[10],i[10]),iconWidthHeight:new d(20,i[4]),subtitleSectionWidth:new d(343,580,1200)},me=({billpayApprovalView:e,remiApproverView:n,currentTenant:c,onBackClick:R,onClickMenuIcon:P,onSetupApprovalRulesBillPaySectionClick:I,onSetupApprovalRulesRemiSectionClick:T})=>{const r=U(),o=F(),u=V(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:z}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:C}=n,{commonSetUp:A,spendManagement:$}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,x=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:M}=$,{billPaySetup:_}=B,{reimbursementSetup:L}=M,{setUp:s}=A,W=g==="In-Progress"||h==="In-Progress"||g==="Not-Started"||h==="Not-Started",v=r.mode==="light"?new y(r.colors.brandColorJadeLight):new y(r.colors.brandColorJadeDark),D=N(c,u.loggedInUserRoleMap),H=Z(c,u.loggedInUserRoleMap);return t.jsxs(q,{children:[t.jsx(E,{source:"ApprovalRulesSettingsPage",title:w.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:P}),t.jsx(K,{windowSize:o,children:W?t.jsx(Q,{children:t.jsx(G,{size:"ExtraLarge",start:!0})}):t.jsxs(O,{children:[t.jsx(Y,{windowSize:o,children:t.jsx(ee,{windowSize:o,children:w.infoText.approvalRules})}),t.jsxs(X,{windowSize:o,children:[D===!0&&t.jsx(b,{title:m.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:_.approvalSubTitle,header:x.bills,icon:{element:t.jsx(S,{width:a.iconWidthHeight.valuePx(o),height:a.iconWidthHeight.valuePx(o)}),color:v},onClick:I,status:m.length>0?z:void 0}),H===!0&&t.jsx(b,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:L.approvalSubTitle,header:x.reimbursements,icon:{element:t.jsx(S,{height:a.iconWidthHeight.valuePx(o)}),color:v},style:{paddingBottom:a.lastSectionPaddingBottom.valuePx(o)},onClick:T,status:f.length>0?C:void 0})]})]})})]})},O=l.div`
1
+ import{y as U,e as F,_ as V,O as p,ad as y,V as t,a_ as E,L as G,eZ as b,d4 as S,x as d,o as k,H as J,w as j,m as i}from"./index-CpL7aMNT.js";import{n as l}from"./mui-Bkh9mHku.js";import{FZ as N,F_ as Z}from"./zeni-epic-state-C-J3ARpk.js";import"./sentry-Cw2y1cds.js";import"./pdf-B2Mjqvbt.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.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]="7d54f4eb-b792-4029-ad8f-f2a34a86132a",e._sentryDebugIdIdentifier="sentry-dbid-7d54f4eb-b792-4029-ad8f-f2a34a86132a")}catch{}})();const a={sectionRowGap:new d(i[4],i[8],i[8]),lastSectionPaddingBottom:new d(i[7],i[10],i[10]),iconWidthHeight:new d(20,i[4]),subtitleSectionWidth:new d(343,580,1200)},me=({billpayApprovalView:e,remiApproverView:n,currentTenant:c,onBackClick:R,onClickMenuIcon:P,onSetupApprovalRulesBillPaySectionClick:I,onSetupApprovalRulesRemiSectionClick:T})=>{const r=U(),o=F(),u=V(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:z}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:C}=n,{commonSetUp:A,spendManagement:$}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,x=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:M}=$,{billPaySetup:_}=B,{reimbursementSetup:L}=M,{setUp:s}=A,W=g==="In-Progress"||h==="In-Progress"||g==="Not-Started"||h==="Not-Started",v=r.mode==="light"?new y(r.colors.brandColorJadeLight):new y(r.colors.brandColorJadeDark),D=N(c,u.loggedInUserRoleMap),H=Z(c,u.loggedInUserRoleMap);return t.jsxs(q,{children:[t.jsx(E,{source:"ApprovalRulesSettingsPage",title:w.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:P}),t.jsx(K,{windowSize:o,children:W?t.jsx(Q,{children:t.jsx(G,{size:"ExtraLarge",start:!0})}):t.jsxs(O,{children:[t.jsx(Y,{windowSize:o,children:t.jsx(ee,{windowSize:o,children:w.infoText.approvalRules})}),t.jsxs(X,{windowSize:o,children:[D===!0&&t.jsx(b,{title:m.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:_.approvalSubTitle,header:x.bills,icon:{element:t.jsx(S,{width:a.iconWidthHeight.valuePx(o),height:a.iconWidthHeight.valuePx(o)}),color:v},onClick:I,status:m.length>0?z:void 0}),H===!0&&t.jsx(b,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:L.approvalSubTitle,header:x.reimbursements,icon:{element:t.jsx(S,{height:a.iconWidthHeight.valuePx(o)}),color:v},style:{paddingBottom:a.lastSectionPaddingBottom.valuePx(o)},onClick:T,status:f.length>0?C:void 0})]})]})})]})},O=l.div`
2
2
  width: 100%;
3
3
  margin: auto;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{V as u,O as x,cA as w,y as P,an as K,m as v,w as S,ag as N,cB as T,cC as I,f as y,o as j,l as Y}from"./index-D57b0ZIG.js";import{a as k,b as q}from"./sentry-D8J10Xru.js";import{n as C}from"./mui-CQrPxNXb.js";import{l as L,_ as R,h as W,m as J,u as D}from"./chartTypes-BqRsL6eJ-BHjz48UJ.js";import{cj as B,FK as O}from"./zeni-epic-state-BpS-Wh5Q.js";import{S as A,E as V,X as F,Y as G,F as M,K as _}from"./recharts-CuxDYXli.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]="e893edb3-3ba7-4d24-8033-d067de231fe1",e._sentryDebugIdIdentifier="sentry-dbid-e893edb3-3ba7-4d24-8033-d067de231fe1")}catch{}})();const H=C.div`
1
+ import{V as u,O as x,cA as w,y as P,an as K,m as v,w as S,ag as N,cB as T,cC as I,f as y,o as j,l as Y}from"./index-CpL7aMNT.js";import{a as k,b as q}from"./sentry-Cw2y1cds.js";import{n as C}from"./mui-Bkh9mHku.js";import{l as L,_ as R,h as W,m as H,u as D}from"./chartTypes-BLsP7rGF-vQGIz6hv.js";import{cj as B,FK as O}from"./zeni-epic-state-C-J3ARpk.js";import{S as A,E as V,X as F,Y as G,F as M,K as _}from"./recharts-Cex23pUy.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]="3b674b95-c226-4e6d-83db-df0f803a79e2",e._sentryDebugIdIdentifier="sentry-dbid-3b674b95-c226-4e6d-83db-df0f803a79e2")}catch{}})();const J=C.div`
2
2
  display: flex;
3
3
  `,Q=C.div`
4
4
  flex: display;
@@ -15,7 +15,7 @@ import{V as u,O as x,cA as w,y as P,an as K,m as v,w as S,ag as N,cB as T,cC as
15
15
  width: 100%;
16
16
  height: 1px;
17
17
  background-color: ${y.neutralGrey3Dark};
18
- `,Z=({barLabelsWithValues:e})=>u.jsx(H,{children:u.jsxs(Q,{children:[u.jsx($,{color:e[0].color,children:`${e[0].barName}: ${D(e[0].actual)}`}),u.jsx(U,{}),u.jsx($,{children:`${x.getLocalizedStrings().chartCard.total}: ${D(e[1].actual)}`})]})}),X=q.memo(e=>{const s=(({active:o,payload:a,barName:r})=>{const c=[];if(a!=null&&o===!0){const l=a.filter(h=>h.name==r)[0],n=l.payload,d=l.color,t=r!=null&&n.record[r]!=null?n.record[r].amount:void 0,i={amount:0,currencyCode:"",currencySymbol:""};let m;for(m in n.record){const h=n.record[m].amount;i.amount+=n.record[m].amount?.amount??0,i.currencyCode=h!=null?h.currencyCode:i.currencyCode,i.currencySymbol=h!=null?h.currencySymbol:i.currencySymbol}const p=J(r);c.push({barName:p,actual:t,color:d}),c.push({barName:x.getLocalizedStrings().chartCard.total,actual:i,color:y.brandColorPearl})}return c})({...e});return s.length===0?null:u.jsx(Z,{barLabelsWithValues:s})});function E(e){const s=[];for(const o in e)s.push(o);return s.sort((o,a)=>(e[a].amount?.amount??0)-(e[o].amount?.amount??0)),s}const ee=e=>{const s=e.agingPeriods.map(a=>x.getLocalizedStrings().reports.aging.duration[a]),o=[];return{recordByDurations:e.agingPeriods.map(a=>{const r={};e.agingBalances.forEach(n=>{const d=L(n.vendor?.name??"",a);r[d]={amount:n.apAgingBalances.find(t=>t.period===a)?.balance}});const c=x.getLocalizedStrings().reports.aging.duration[a];if(Object.keys(r).length>5){const n=function(h){const g=T(h,(f,b)=>[f.amount?.amount??0,b]);return g.sort((f,b)=>b[0]-f[0]),g.slice(0,4).reduce((f,b)=>({...f,[b[1]]:!0}),{})}(r),d=w(r,(h,g)=>n[g]===!0),t=w(r,(h,g)=>n[g]!==!0),i=Object.keys(t).reduce((h,g)=>h+(t[g].amount?.amount??0),0),m=Object.keys(t)[0];d[L("Other",a)]={...t[m],amount:{amount:i,currencyCode:t[m].amount?.currencyCode??B.currencyCode,currencySymbol:t[m].amount?.currencySymbol??B.currencySymbol}};const p=E(d);return o.push(...p),{label:c,record:d}}const l=E(r);return o.push(...l),{label:c,record:r}}),durationLabels:s,orderedKeys:Array.from(o)}},te=C.div`
18
+ `,Z=({barLabelsWithValues:e})=>u.jsx(J,{children:u.jsxs(Q,{children:[u.jsx($,{color:e[0].color,children:`${e[0].barName}: ${D(e[0].actual)}`}),u.jsx(U,{}),u.jsx($,{children:`${x.getLocalizedStrings().chartCard.total}: ${D(e[1].actual)}`})]})}),X=q.memo(e=>{const s=(({active:o,payload:a,barName:r})=>{const c=[];if(a!=null&&o===!0){const l=a.filter(h=>h.name==r)[0],n=l.payload,d=l.color,t=r!=null&&n.record[r]!=null?n.record[r].amount:void 0,i={amount:0,currencyCode:"",currencySymbol:""};let m;for(m in n.record){const h=n.record[m].amount;i.amount+=n.record[m].amount?.amount??0,i.currencyCode=h!=null?h.currencyCode:i.currencyCode,i.currencySymbol=h!=null?h.currencySymbol:i.currencySymbol}const p=H(r);c.push({barName:p,actual:t,color:d}),c.push({barName:x.getLocalizedStrings().chartCard.total,actual:i,color:y.brandColorPearl})}return c})({...e});return s.length===0?null:u.jsx(Z,{barLabelsWithValues:s})});function E(e){const s=[];for(const o in e)s.push(o);return s.sort((o,a)=>(e[a].amount?.amount??0)-(e[o].amount?.amount??0)),s}const ee=e=>{const s=e.agingPeriods.map(a=>x.getLocalizedStrings().reports.aging.duration[a]),o=[];return{recordByDurations:e.agingPeriods.map(a=>{const r={};e.agingBalances.forEach(n=>{const d=L(n.vendor?.name??"",a);r[d]={amount:n.apAgingBalances.find(t=>t.period===a)?.balance}});const c=x.getLocalizedStrings().reports.aging.duration[a];if(Object.keys(r).length>5){const n=function(h){const g=T(h,(f,b)=>[f.amount?.amount??0,b]);return g.sort((f,b)=>b[0]-f[0]),g.slice(0,4).reduce((f,b)=>({...f,[b[1]]:!0}),{})}(r),d=w(r,(h,g)=>n[g]===!0),t=w(r,(h,g)=>n[g]!==!0),i=Object.keys(t).reduce((h,g)=>h+(t[g].amount?.amount??0),0),m=Object.keys(t)[0];d[L("Other",a)]={...t[m],amount:{amount:i,currencyCode:t[m].amount?.currencyCode??B.currencyCode,currencySymbol:t[m].amount?.currencySymbol??B.currencySymbol}};const p=E(d);return o.push(...p),{label:c,record:d}}const l=E(r);return o.push(...l),{label:c,record:r}}),durationLabels:s,orderedKeys:Array.from(o)}},te=C.div`
19
19
  width: ${e=>e.width}px;
20
20
  height: ${e=>e.height}px;
21
21
  `,re=({active:e,payload:s,mouseOverBarName:o})=>s?.find(a=>a.name===o)!=null&&o!=null&&e===!0?u.jsx(X,{active:e,payload:s,barName:o}):null;function pe({report:e,width:s,height:o,isDetailPage:a}){const r=k.useRef(!1),[c,l]=k.useState(void 0);k.useEffect(()=>{r.current=!0},[]);const n=ee(e),d=(t,i)=>u.jsx(_,{name:t,animationDuration:i?500:void 0,style:{cursor:"pointer"},dataKey:m=>{const p=m.record;return(p[t]?.amount!=null?p[t].amount:void 0)?.amount??0},stackId:"a",fill:ae(t,n),onMouseEnter:()=>{c!==t&&l(t)},onMouseLeave:()=>{c!=null&&l(void 0)}},t);return n==null?null:u.jsx(oe,{chartData:n,barElements:(()=>{const t=[];return n?.orderedKeys.forEach(i=>{const m=a===!0&&!r.current;t.push(d(i,m))}),t})(),width:s,height:o,isDetailPage:a===!0,customToolTipContent:u.jsx(re,{mouseOverBarName:c})})}const oe=({chartData:e,barElements:s,customToolTipContent:o,width:a,height:r,isDetailPage:c})=>{const l=P(),n=R(e);return u.jsx(te,{width:a,height:r,children:u.jsx(K,{children:({height:d,width:t})=>u.jsxs(A,{width:t,height:d,stackOffset:"sign",data:e.recordByDurations,barCategoryGap:"25%",maxBarSize:c?v[8]:v[3],margin:{top:5,right:20,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[u.jsx(V,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:l.colors.grey3}),u.jsx(F,{dataKey:i=>i.label,type:"category",axisLine:{stroke:l.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:l.colors.hero,...S.extraSmallRegular.cssObject}}),u.jsx(G,{type:"number",axisLine:!1,tickLine:!1,tick:{color:l.colors.hero,...S.extraSmallRegular.cssObject},tickFormatter:i=>N("0,0.[00]a",i,n)}),u.jsx(M,{wrapperStyle:{zIndex:2},cursor:!1,content:o,allowEscapeViewBox:{x:!1,y:!0}}),s]})})})};function ae(e,s){const o=W(e),a=x.getLocalizedStrings().reports.aging.duration[o],r=s?.recordByDurations.find(c=>c.label===a)?.record;if(r?.[e]!=null){const c=r[e].amount?.amount??0;let l=1;switch(I(r,n=>{(n.amount?.amount??0)>c&&l++}),l){case 1:return y.graphColor24;case 2:return y.graphColor33;case 3:return y.graphColor18;case 4:return y.graphColor12;default:return y.graphColor01}}return y.graphColor01}function z(e){const s=[];for(const o in e)s.push(o);return s.sort((o,a)=>(e[a].amount?.amount??0)-(e[o].amount?.amount??0)),s}const ne=e=>{const s=e.agingPeriods.map(a=>x.getLocalizedStrings().reports.aging.duration[a]),o=[];return{recordByDurations:e.agingPeriods.map(a=>{const r={};e.agingBalances.forEach(n=>{const d=L(n.customer?.name??"",a),t=n.arAgingBalances.find(i=>i.period===a);r[d]={amount:n.children.length>0?t?.totalBalance:t?.balance}});const c=x.getLocalizedStrings().reports.aging.duration[a];if(Object.keys(r).length>5){const n=function(h){const g=T(h,(f,b)=>[f.amount?.amount??0,b]);return g.sort((f,b)=>b[0]-f[0]),g.slice(0,4).reduce((f,b)=>({...f,[b[1]]:!0}),{})}(r),d=w(r,(h,g)=>n[g]===!0),t=w(r,(h,g)=>n[g]!==!0),i=Object.keys(t).reduce((h,g)=>h+(t[g].amount?.amount??0),0),m=Object.keys(t)[0];d[L("Other",a)]={...t[m],amount:{amount:i,currencyCode:t[m].amount?.currencyCode??O.currencyCode,currencySymbol:t[m].amount?.currencySymbol??O.currencySymbol}};const p=z(d);return o.push(...p),{label:c,record:d}}const l=z(r);return o.push(...l),{label:c,record:r}}),durationLabels:s,orderedKeys:Array.from(o)}},se=C.div`
@@ -1,4 +1,4 @@
1
- import{y as G,e as Q,V as o,bd as W,aZ as X,bN as ee,a_ as oe,O as C,o as T,ab as te,x as A,a$ as re,bJ as ae,bK as ne,bL as ie,m as u}from"./index-D57b0ZIG.js";import{a as D}from"./sentry-D8J10Xru.js";import{n as a}from"./mui-CQrPxNXb.js";import{m as se}from"./BusyIndication-YMYY0Pff-D_KjfCvN.js";import{L as le,D as ce}from"./EntitySummarySection-mXeSjiuZ-DK_sIHqa.js";import"./pdf-CPt_J5sA.js";import"./zeni-epic-state-BpS-Wh5Q.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.js";import"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="4a67f073-76e4-4b79-b8b5-389916a197b8",e._sentryDebugIdIdentifier="sentry-dbid-4a67f073-76e4-4b79-b8b5-389916a197b8")}catch{}})();const b={wrapperContainerMarginTop:new A(u[4],u[0]),wrapperContaineHorizontalrMargin:new A(u[0],u[8])},{common:de,reports:{common:me,aging:{agingDetail:ge}},dateFormat:N}=C.getLocalizedStrings();function Fe(e){const l=G(),c=Q(),{arAgingDetail:t,downloadParams:f,reportDate:n,analytics:d,onReload:O,onBackClick:F,onColumnSortConfigChanged:_,updateDownloadStateHandler:y,onTransactionClick:Y,sidePanelIsOpen:E,sidePanelIsFullView:L,panelContent:R}=e,{authParams:S,downloadEndPoint:I,timezone:k}=f,{fetchState:m,invoices:v,arAgingDetailUIState:P,customer:r,totalBalances:B}=t,{sortKey:h,sortOrder:w,downloadState:g}=P,[$,j]=D.useState(!1),H=D.useCallback((i,p)=>{t.customer!=null&&d.trackArAgingDetailReportSortChange(i,p,n.format(N.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name),_(i,p)},[t.customer,_,d,n]);if(D.useEffect(()=>{$&&g!=="In-Progress"&&(j(!1),y("In-Progress"),async function(){const i={companyName:f.companyName,sortKey:h,sortOrder:w,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:r?.id??"",timezone:k,reportDate:n};await async function(p,J,V){const U=`${p}?query=${encodeURIComponent(JSON.stringify(pe(V)))}`,z=C.getLocalizedStrings(),M=z.reports.aging.arAging.arAging,x=z.download;try{const s=await ae({urlEndPoint:U,authParams:J,fileType:"excel"});if(s.ok){const q=ne(s.headers,x.defaultFileName),Z=await s.arrayBuffer();ie(Z,q)}else console.error(`${x.errorMessages.fileDownloadError.replace("__feature__",M)} ${s.statusText}`)}catch(s){console.error(`${x.errorMessages.fileDownloadError.replace("__feature__",M)} ${JSON.stringify(s)}`)}}(I,S,i),y("Completed"),t.customer!=null&&d.trackApAgingDetailReportDownload(h,w,n.format(N.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name)}())},[S,I,f.companyName,g,$,n,h,w,k,y,r?.id,t.customer,d]),m==="Error")return o.jsxs(fe,{children:[o.jsx(ye,{onClick:O,children:o.jsx(W,{})}),o.jsx(he,{children:me.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(se,{fetchState:m});const K=o.jsx(re,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:g==="In-Progress"}],onDownloadClick:async i=>{if(i==="excel"){if(g==="In-Progress")return void console.log("Download is already in progress!");j(!0)}}}}});return o.jsx(X,{isOpen:E??!1,isFullView:L??!1,panelContent:R,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(oe,{title:de.strings.empty,backgroundColor:l.colors.grey5,onBackClick:F,rightSideComponent:K,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(ce,{totalBalances:B,entityName:r?.name??"",entityLogo:r?.logo,reportId:"accounts_receivable_aging",reportDate:n})]}),listContent:o.jsx(we,{children:o.jsx(xe,{windowSize:c,children:o.jsx(De,{windowSize:c,children:v.length===0||r==null?o.jsx(ee,{message:ge.noDataText}):o.jsx(ue,{windowSize:c,children:o.jsx(le,{uiState:P,invoices:v,entityName:r.name,entityLogo:r.logo,onColumnSortConfigChanged:H,onTransactionClick:Y})})})})})})}function pe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:C.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const ue=a.div`
1
+ import{y as G,e as Q,V as o,bd as W,aZ as X,bN as ee,a_ as oe,O as C,o as T,ab as te,x as A,a$ as re,bJ as ae,bK as ne,bL as ie,m as u}from"./index-CpL7aMNT.js";import{a as D}from"./sentry-Cw2y1cds.js";import{n as a}from"./mui-Bkh9mHku.js";import{m as se}from"./BusyIndication-BLGcHlgu-DO50OPkT.js";import{L as le,D as de}from"./EntitySummarySection-ORJ2pE_k-CrZhDCdR.js";import"./pdf-B2Mjqvbt.js";import"./zeni-epic-state-C-J3ARpk.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";import"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="fdd4f36b-4b1e-408c-894a-6591e182dce3",e._sentryDebugIdIdentifier="sentry-dbid-fdd4f36b-4b1e-408c-894a-6591e182dce3")}catch{}})();const b={wrapperContainerMarginTop:new A(u[4],u[0]),wrapperContaineHorizontalrMargin:new A(u[0],u[8])},{common:ce,reports:{common:me,aging:{agingDetail:ge}},dateFormat:N}=C.getLocalizedStrings();function Fe(e){const l=G(),d=Q(),{arAgingDetail:t,downloadParams:f,reportDate:n,analytics:c,onReload:O,onBackClick:F,onColumnSortConfigChanged:_,updateDownloadStateHandler:y,onTransactionClick:Y,sidePanelIsOpen:E,sidePanelIsFullView:L,panelContent:R}=e,{authParams:S,downloadEndPoint:I,timezone:k}=f,{fetchState:m,invoices:v,arAgingDetailUIState:P,customer:r,totalBalances:B}=t,{sortKey:h,sortOrder:w,downloadState:g}=P,[$,j]=D.useState(!1),H=D.useCallback((i,p)=>{t.customer!=null&&c.trackArAgingDetailReportSortChange(i,p,n.format(N.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name),_(i,p)},[t.customer,_,c,n]);if(D.useEffect(()=>{$&&g!=="In-Progress"&&(j(!1),y("In-Progress"),async function(){const i={companyName:f.companyName,sortKey:h,sortOrder:w,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:r?.id??"",timezone:k,reportDate:n};await async function(p,J,V){const U=`${p}?query=${encodeURIComponent(JSON.stringify(pe(V)))}`,z=C.getLocalizedStrings(),M=z.reports.aging.arAging.arAging,x=z.download;try{const s=await ae({urlEndPoint:U,authParams:J,fileType:"excel"});if(s.ok){const q=ne(s.headers,x.defaultFileName),Z=await s.arrayBuffer();ie(Z,q)}else console.error(`${x.errorMessages.fileDownloadError.replace("__feature__",M)} ${s.statusText}`)}catch(s){console.error(`${x.errorMessages.fileDownloadError.replace("__feature__",M)} ${JSON.stringify(s)}`)}}(I,S,i),y("Completed"),t.customer!=null&&c.trackApAgingDetailReportDownload(h,w,n.format(N.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name)}())},[S,I,f.companyName,g,$,n,h,w,k,y,r?.id,t.customer,c]),m==="Error")return o.jsxs(fe,{children:[o.jsx(ye,{onClick:O,children:o.jsx(W,{})}),o.jsx(he,{children:me.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(se,{fetchState:m});const K=o.jsx(re,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:g==="In-Progress"}],onDownloadClick:async i=>{if(i==="excel"){if(g==="In-Progress")return void console.log("Download is already in progress!");j(!0)}}}}});return o.jsx(X,{isOpen:E??!1,isFullView:L??!1,panelContent:R,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(oe,{title:ce.strings.empty,backgroundColor:l.colors.grey5,onBackClick:F,rightSideComponent:K,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(de,{totalBalances:B,entityName:r?.name??"",entityLogo:r?.logo,reportId:"accounts_receivable_aging",reportDate:n})]}),listContent:o.jsx(we,{children:o.jsx(xe,{windowSize:d,children:o.jsx(De,{windowSize:d,children:v.length===0||r==null?o.jsx(ee,{message:ge.noDataText}):o.jsx(ue,{windowSize:d,children:o.jsx(le,{uiState:P,invoices:v,entityName:r.name,entityLogo:r.logo,onColumnSortConfigChanged:H,onTransactionClick:Y})})})})})})}function pe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:C.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const ue=a.div`
2
2
  height: 100%;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{e as b,O as w,y as U,V as l,f_ as B,fX as j,fY as V,bo as _,b as C,eU as R,o as a,at as O,f$ as S,f as k,cp as M}from"./index-D57b0ZIG.js";import{a as e}from"./sentry-D8J10Xru.js";import{n as r}from"./mui-CQrPxNXb.js";import"./pdf-CPt_J5sA.js";import"./zeni-epic-state-BpS-Wh5Q.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="3a780bd2-6edc-4e0f-8077-3e9796064347",t._sentryDebugIdIdentifier="sentry-dbid-3a780bd2-6edc-4e0f-8077-3e9796064347")}catch{}})();const $=r.div`
1
+ import{e as b,O as w,y as U,V as l,f_ as B,fX as j,fY as V,bo as _,b as C,eU as R,o as a,at as O,f$ as S,f as k,cp as M}from"./index-CpL7aMNT.js";import{a as e}from"./sentry-Cw2y1cds.js";import{n as r}from"./mui-Bkh9mHku.js";import"./pdf-B2Mjqvbt.js";import"./zeni-epic-state-C-J3ARpk.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="3a780bd2-6edc-4e0f-8077-3e9796064347",t._sentryDebugIdIdentifier="sentry-dbid-3a780bd2-6edc-4e0f-8077-3e9796064347")}catch{}})();const $=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  box-sizing: border-box;
@@ -1,23 +1,23 @@
1
- import{e as $,V as i,b as p,k as g,bl as x,o as e,aQ as y,b6 as m,x as c,l as S,m as h}from"./index-D57b0ZIG.js";import{a as j}from"./sentry-D8J10Xru.js";import{n as s,c as z}from"./mui-CQrPxNXb.js";import{J as v}from"./CollapsableReportTable-C_bWRP7w-hzcwjYIg.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new o.Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="d1452fd1-74aa-459b-8e49-a230f36148ce",o._sentryDebugIdIdentifier="sentry-dbid-d1452fd1-74aa-459b-8e49-a230f36148ce")}catch{}})();const w={tooltipLeftPosition:new c(h[0],-156),tooltipTopPosition:new c(h[3],h[4]),tooltipWidth:new c(300,350)},b=z`
1
+ import{e as $,V as i,b as p,k as g,bl as x,o as e,aQ as y,b6 as b,x as c,l as S,m as h}from"./index-CpL7aMNT.js";import{a as j}from"./sentry-Cw2y1cds.js";import{n as s,c as z}from"./mui-Bkh9mHku.js";import{J as v}from"./CollapsableReportTable-CIaa7SIH-BcmrCcCw.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new o.Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="40afab9b-3345-4de7-ae98-2b5287e1f69d",o._sentryDebugIdIdentifier="sentry-dbid-40afab9b-3345-4de7-ae98-2b5287e1f69d")}catch{}})();const w={tooltipLeftPosition:new c(h[0],-156),tooltipTopPosition:new c(h[3],h[4]),tooltipWidth:new c(300,350)},m=z`
2
2
  position: relative;
3
3
  `,T=s.div`
4
4
  color: ${o=>o.theme.colors.primary};
5
- ${o=>o.windowSize==="small"?b:null}
6
- `,P=s(x)``,k=s.div`
5
+ ${o=>o.windowSize==="small"?m:null}
6
+ `,k=s(x)``,D=s.div`
7
7
  display: inline-block;
8
8
  padding-left: ${e.sp2};
9
9
  vertical-align: middle;
10
- ${o=>o.windowSize!=="small"?b:null}
11
- `,D=s(y)`
10
+ ${o=>o.windowSize!=="small"?m:null}
11
+ `,P=s(y)`
12
12
  padding-left: ${e.sp3};
13
- `,I=s(m)`
13
+ `,I=s(b)`
14
14
  width: ${e.sp4};
15
15
  height: ${e.sp4};
16
16
  color: ${o=>o.theme.colors.grey1};
17
17
  &:hover {
18
18
  color: ${o=>o.theme.colors.champion};
19
19
  }
20
- `,_=s(m)`
20
+ `,_=s(b)`
21
21
  width: ${e.sp4};
22
22
  height: ${e.sp4};
23
23
 
@@ -35,4 +35,4 @@ import{e as $,V as i,b as p,k as g,bl as x,o as e,aQ as y,b6 as m,x as c,l as S,
35
35
  top: calc(100% + ${o=>w.tooltipTopPosition.valuePx(o.windowSize)});
36
36
  `,L=s(S)`
37
37
  color: ${o=>o.theme.colors.hero};
38
- `,O=o=>{const{infotipDescription:t,windowSize:n,isToolTipOpen:l}=o;return l===!1?null:i.jsx(C,{windowSize:n,children:i.jsx(L,{children:t})})};function J({balance:o,dateText:t,showInfotip:n,infotipDescription:l}){const d=$(),[f,a]=j.useState(!1),u=()=>f?i.jsx(_,{onClick:()=>{a(r=>!r)}}):i.jsx(I,{onClick:()=>{a(r=>!r)}});return i.jsxs(T,{windowSize:d,"data-testid":p("balances-insight"),children:[i.jsx(P,{"data-testid":p("balances-insight","amount"),children:v(o)}),i.jsx(D,{"data-testid":p("balances-insight","date"),children:t}),n===!0?i.jsx(g,{onClickAway:()=>a(!1),children:i.jsxs(k,{windowSize:d,children:[i.jsx(u,{}),i.jsx(O,{isToolTipOpen:f,infotipDescription:l,windowSize:d})]})}):null]})}export{J as H};
38
+ `,O=o=>{const{infotipDescription:t,windowSize:n,isToolTipOpen:l}=o;return l===!1?null:i.jsx(C,{windowSize:n,children:i.jsx(L,{children:t})})};function J({balance:o,dateText:t,showInfotip:n,infotipDescription:l}){const d=$(),[f,a]=j.useState(!1),u=()=>f?i.jsx(_,{onClick:()=>{a(r=>!r)}}):i.jsx(I,{onClick:()=>{a(r=>!r)}});return i.jsxs(T,{windowSize:d,"data-testid":p("balances-insight"),children:[i.jsx(k,{"data-testid":p("balances-insight","amount"),children:v(o)}),i.jsx(P,{"data-testid":p("balances-insight","date"),children:t}),n===!0?i.jsx(g,{onClickAway:()=>a(!1),children:i.jsxs(D,{windowSize:d,children:[i.jsx(u,{}),i.jsx(O,{isToolTipOpen:f,infotipDescription:l,windowSize:d})]})}):null]})}export{J as H};
@@ -1,4 +1,4 @@
1
- import{e as R,cc as P,a7 as A,dX as B,O as S,x as n,V as t,cd as f,cf as w,c6 as T,al as L,o as g,eq as D,es as V,b as z,m as a,L as q,l as H}from"./index-D57b0ZIG.js";import{a as C}from"./sentry-D8J10Xru.js";import{n as u}from"./mui-CQrPxNXb.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]="63a198e2-9748-4032-ad45-168c770aa5b4",e._sentryDebugIdIdentifier="sentry-dbid-63a198e2-9748-4032-ad45-168c770aa5b4")}catch{}})();const W=u.div`
1
+ import{e as R,cc as P,a7 as A,dX as B,O as S,x as n,V as t,cd as f,cf as w,c6 as T,al as L,o as g,eq as D,es as V,b as z,m as a,L as q,l as H}from"./index-CpL7aMNT.js";import{a as C}from"./sentry-Cw2y1cds.js";import{n as u}from"./mui-Bkh9mHku.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]="63a198e2-9748-4032-ad45-168c770aa5b4",e._sentryDebugIdIdentifier="sentry-dbid-63a198e2-9748-4032-ad45-168c770aa5b4")}catch{}})();const W=u.div`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  align-items: center;
4
4
  justify-content: flex-end;
@@ -1,4 +1,4 @@
1
- import{e as w,V as a,b as u,bo as $,o as e,x as t,bx as f,d as x,M as y,O as k,f as l,er as v,l as z,m as n}from"./index-D57b0ZIG.js";import{n as o}from"./mui-CQrPxNXb.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new i.Error().stack;r&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[r]="a306c00b-685f-432f-b519-260c996a57ba",i._sentryDebugIdIdentifier="sentry-dbid-a306c00b-685f-432f-b519-260c996a57ba")}catch{}})();const{common:{navBar:{back:j}}}=k.getLocalizedStrings(),d={navBarContainerPadding:new t(10,n[3]),customTitleMarginBottom:new t(n[0],n[3]),customTitleMarginLeft:new t(n[3],n[6]),customTitleMarginRight:new t(n[5],n[8])},P={formTitle:new x("h6Medium","h5Medium")},R=({header:i,isDirty:r,isMagicLink:c,onBackClick:m,setShowConfirmationPopup:p})=>{const s=w();return a.jsxs(a.Fragment,{children:[s==="small"?a.jsxs(C,{windowSize:s,children:[c?null:a.jsx(b,{onClick:()=>r?p?.(!0):m?.(),"data-testid":u("bank-account-page-back-click-mobile")}),a.jsx(h,{windowSize:s,children:i})]}):a.jsx(S,{children:c?null:a.jsx($,{title:j,enterDelay:600,placement:"bottom",children:a.jsx(b,{onClick:()=>r?p?.(!0):m?.(),"data-testid":u("bank-account-page-back-click")})})}),s!=="small"?a.jsx(h,{windowSize:s,children:i}):null]})},h=o(y)`
1
+ import{e as w,V as a,b as u,bo as $,o as e,x as t,bx as f,d as x,M as y,O as k,f as l,er as v,l as z,m as n}from"./index-CpL7aMNT.js";import{n as o}from"./mui-Bkh9mHku.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new i.Error().stack;r&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[r]="a306c00b-685f-432f-b519-260c996a57ba",i._sentryDebugIdIdentifier="sentry-dbid-a306c00b-685f-432f-b519-260c996a57ba")}catch{}})();const{common:{navBar:{back:j}}}=k.getLocalizedStrings(),d={navBarContainerPadding:new t(10,n[3]),customTitleMarginBottom:new t(n[0],n[3]),customTitleMarginLeft:new t(n[3],n[6]),customTitleMarginRight:new t(n[5],n[8])},P={formTitle:new x("h6Medium","h5Medium")},R=({header:i,isDirty:r,isMagicLink:c,onBackClick:m,setShowConfirmationPopup:p})=>{const s=w();return a.jsxs(a.Fragment,{children:[s==="small"?a.jsxs(C,{windowSize:s,children:[c?null:a.jsx(b,{onClick:()=>r?p?.(!0):m?.(),"data-testid":u("bank-account-page-back-click-mobile")}),a.jsx(h,{windowSize:s,children:i})]}):a.jsx(S,{children:c?null:a.jsx($,{title:j,enterDelay:600,placement:"bottom",children:a.jsx(b,{onClick:()=>r?p?.(!0):m?.(),"data-testid":u("bank-account-page-back-click")})})}),s!=="small"?a.jsx(h,{windowSize:s,children:i}):null]})},h=o(y)`
2
2
  ${i=>`${P.formTitle.style(i.windowSize)}`};
3
3
  color: ${i=>i.theme.colors.primary};
4
4
  margin-bottom: ${i=>d.customTitleMarginBottom.valuePx(i.windowSize)};
@@ -1,21 +1,21 @@
1
- import{y as xe,e as Ae,T as Ye,c8 as Xe,V as t,a_ as Qe,o as i,O as re,x as _,H as Ze,l as M,L as se,bN as Ke,A as et,bo as tt,m as k,at as nt,w as Ue,d as it,h as Ce,cc as ot,a7 as J,ad as he,dX as at,aU as Me,f3 as ze,f4 as ct,f5 as Ve,bu as Ie,f6 as lt,f7 as st,f8 as me,f9 as ge,fa as je,a5 as fe,bG as we,b as rt,b6 as dt,dc as He,f as K,C as F,fb as ut,fc as pt,fd as ht,aD as mt,fe as gt}from"./index-D57b0ZIG.js";import{a as r}from"./sentry-D8J10Xru.js";import{n}from"./mui-CQrPxNXb.js";import{r as Te}from"./core-CRK-q5k6.js";import{u as _e}from"./plaid-Dz-bwqi6.js";import{cg as ft,ch as ee,bG as Le}from"./zeni-epic-state-BpS-Wh5Q.js";import{a as wt}from"./SetUpAccountSection-BSOGwHCj-DRnE7z5J.js";import"./pdf-CPt_J5sA.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./utils-GhRHHdOC.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="db3577eb-c43b-4d12-ac50-48daa3239af0",e._sentryDebugIdIdentifier="sentry-dbid-db3577eb-c43b-4d12-ac50-48daa3239af0")}catch{}})();const{settings:{bankConnectionHeader:ae}}=re.getLocalizedStrings().common,V=[{value:ae.productType,width:new _(100,19)},{value:ae.primaryAccount,width:new _(100,36)},{value:ae.linkAccount,width:new _(100,22)},{value:ae.status,width:new _(12,12)},{value:ae.balance,width:new _(12,13)}],{common:{settings:Oe,strings:{hyphen:ye}},commonSetUp:{setUp:Ee}}=re.getLocalizedStrings(),z={containerPadding:new _(k[3],k[4]),containerRightPadding:new _(k[3],k[8]),iconContainerMaxWidthHeight:new _(k[6],k[7]),iconWidthHeight:new _(20,k[4]),iconPadding:new _(k[1],12),productTypeContainerMarginBottom:new _(k[3],k[0]),linkAccountContainerMarginTop:new _(k[3],k[0]),productTypeIconSize:new _(k[3],k[4])},St=({productType:e,windowSize:d})=>{switch(e){case"bill_pay":return t.jsx(Bt,{windowSize:d,children:t.jsx(mt,{})});case"reimbursement":return t.jsx(Rt,{windowSize:d,children:t.jsx(ht,{})});case"zeni_accounts":return t.jsx(Dt,{windowSize:d,children:t.jsx(Me,{})});case"zeni_treasury":return t.jsx(Wt,{windowSize:d,children:t.jsx(pt,{})});default:return t.jsx(Nt,{windowSize:d,children:t.jsx(ut,{})})}},xt=({allBankAccounts:e,setupView:d,connectedAccountProvider:H,onFetchLinkTokenClick:B,onUpdatePaymentAccountStatus:j,onEstablishConnectionClick:T,onEstablishConnectionSuccess:R})=>{const C=xe(),c=Ae(),m=Ce().analytics,{trigger:w,formState:{errors:D}}=ot(),{plaidConnectionDetails:N,allFundingAccounts:o,primaryFundingAccount:a,productType:s}=d,u=N.link_account,p=N.update_account,[b,W]=r.useState(void 0),[$,S]=r.useState(!1),v=b==="update_account"?p:u,[A,q]=r.useState(v.linkToken??null),[O,P]=r.useState(!1),h=u.fetchStatus.fetchState==="In-Progress"||u.updateStatus.fetchState==="In-Progress";let g,E,l,f=!1;a!=null&&(a.accType==="depositAccount"?g={code:"verified",name:"Verified"}:(g=a.providerVerificationStatus,E=a?.institutionDetails,l=g?.code,f=a?.isLoginRequired??!1));const U=J(u.updateStatus.fetchState),X=J(p.updateStatus.fetchState),I=J(p.fetchStatus.fetchState),G=C.mode==="light"?new he(C.colors.brandColorJadeLight):new he(C.colors.brandColorJadeDark),Q=r.useCallback((x,Y)=>{m.trackConnectBankSuccess(s,"Settings");const Pe=Y.accounts.find(Je=>Je.id===a?.providerAccountId)??Y.accounts[0];a?.id==null||b!=="update_account"||Pe?.verification_status==null||f?T(x,y(s),s):j(Pe?.verification_status,a.id,"update_account",y(s),s),W(void 0),P(!1)},[m,s,a?.id,a?.providerAccountId,b,f,j,T]),te=r.useCallback((x,Y)=>{x!=null&&(m.trackConnectBankFailure(s,x.error_code+" "+x.error_message,"Settings"),x.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&a?.id!=null&&j("verification_failed",a.id,"update_account",y(s),s),console.log("Plaid Connection Error",x,Y)),W(void 0),P(!1)},[m,s,a?.id,j]),{open:ne,ready:ie}=_e({token:A,onSuccess:Q,onExit:te});r.useEffect(()=>{(U==="In-Progress"&&u.updateStatus.fetchState==="Completed"||X==="In-Progress"&&p.updateStatus.fetchState==="Completed")&&(ft(l??"")||(B("link_account",y(s)),R(y(s),s)))},[u.updateStatus.fetchState,R,B,a?.providerVerificationStatus?.code,a?.id,U,X,p.updateStatus.fetchState,l,s]),r.useEffect(()=>{(ee(l??"")||l==="verification_failed")&&!O&&b!=null&&v.linkToken===A&&v.fetchStatus.fetchState==="Completed"&&ie&&P(!0)},[ie,A,v.fetchStatus.fetchState,v.linkToken,l,b,O]);const L=ve("bankConnectionsSettingsPage","primaryAccountSection"),Z=at(D,L);r.useEffect(()=>{v.fetchStatus.fetchState==="Completed"&&v.linkToken!=null&&v.linkToken!==A&&q(v.linkToken)},[v.fetchStatus.fetchState,v.linkToken,A]),r.useEffect(()=>{O&&ne()},[O,ne]),r.useEffect(()=>{!a?.zeniAccountId&&!Z&&w(L)},[a?.id]),r.useEffect(()=>{(l==null||l==="verification_failed"||l==="verification_expired"||ee(l))&&(Le(new Date().toISOString()).isAfter(u.expiration)||u.linkToken==null)&&B("link_account",y(s))},[]);const oe=`${a?.accountSubType?.name!=null?a?.accountSubType?.name.substring(0,1).toUpperCase().concat(a?.accountSubType?.name.substring(1)):""} ${a?.maskedAccountNumber??""}`.trim(),de=E?.zeniInstitutionId.toLowerCase()==="chase",qe=o.findIndex(x=>x.id===a?.id),Ge={element:t.jsx(Me,{width:z.iconWidthHeight.valuePx(c)}),color:G};return t.jsxs(yt,{windowSize:c,children:[$===!0?Te.createPortal(t.jsx(ze,{connectedAccountProvider:H,action:{onBackClick:()=>S(!1)}}),document.body):null,t.jsxs(bt,{windowSize:c,wrapperWidth:V[0].width,children:[t.jsx(kt,{windowSize:c,isDarkMode:C.mode==="dark",children:t.jsx(St,{productType:s,windowSize:c})}),t.jsx(vt,{children:Oe.productNameByType[s]})]}),t.jsx($t,{windowSize:c,wrapperWidth:V[1].width,children:t.jsxs(_t,{windowSize:c,children:[a!=null&&c!=="small"?t.jsx(Tt,{isDisabled:f,children:ct(Ge,c,C.mode==="dark",a,qe,!1)}):null,t.jsxs(Pt,{windowSize:c,className:"fundingAccount",children:[t.jsx(Ve,{style:{display:c==="small"?"block":"inherit",width:"-webkit-fill-available",color:C.colors.hero},customStyleConfig:{menu:()=>({width:c==="small"?"auto":510})},controlProperty:{controlHeight:k[4],fontWeight:Ie.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:c==="small"?240:300},customPlaceholder:{color:C.colors.hero,weight:Ie.medium},name:ve(s,"primaryAccountSection"),placeholder:Ee.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(x,Y)=>st(o,x,Y),valueToSubLabels:(x,Y)=>lt(o,x,Y,!1),defaultValue:{selectedOption:a?.id,allOptions:o.map(x=>({label:x.label,value:x.id,isRecommended:x.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,showEmptyState:!1,isDisabled:h?"disabled":void 0,showLoadingIcon:h,onClickCreateOption:()=>{m.trackConnectBank(s,"Settings"),W("link_account"),u.linkToken==null||Le(new Date().toISOString()).isAfter(u.expiration)?B("link_account",y(s)):A!==u.linkToken?q(u.linkToken):O?ne():P(!0)}}),t.jsxs(At,{isDisabled:f,children:[oe?t.jsxs(t.Fragment,{children:[t.jsx(Ct,{children:oe}),c!=="small"&&(l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification"||f||de)?t.jsx(jt,{}):null]}):null,c==="small"&&g!=null?t.jsx(me,{style:{width:"max-content",padding:i.sp0,marginLeft:i.sp2},tagTitle:g.name,textColor:ge(g.code)}):null,l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification"||f||de?t.jsx(je,{productType:s,isUpdateLinkClicked:b==="update_account",isLoginRequired:f,isPendingVerification:l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification",fetchAndUpdateStatues:{fetchStatus:p.fetchStatus,updateStatus:p.updateStatus,linkFetchStatus:u.fetchStatus,linkUpdateStatus:u.updateStatus,prevFetchState:I,prevUpdateState:X},onUpdateLinkTokenClick:()=>{m.trackConnectBankGetBalance(s,"Settings"),W("update_account"),B("update_account",y(s),a?.id)},onChaseInfoClick:()=>{S(!0)}}):null]})]}),c==="small"?t.jsxs(Lt,{children:[a?.accountBalance?.available?t.jsx(Fe,{className:"balanceLabel",children:fe("0,0[.]00",a?.accountBalance?.available)}):t.jsx(be,{children:ye}),a?.accountBalance?.lastRefreshTime?t.jsx(Be,{className:"balanceLabel",children:we(a?.accountBalance?.lastRefreshTime)}):a?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})}),t.jsxs(Et,{windowSize:c,isDisabled:f,wrapperWidth:V[2].width,onClick:x=>x.stopPropagation(),"data-testid":rt("bank-account-section",s),className:"qboLinkAcc",children:[c==="small"?t.jsx(zt,{children:Oe.bankConnectionHeader.linkAccount}):null,t.jsx(Ft,{isDisabled:f?"disabled":void 0,name:ve(s,"bankAccountSection"),placeholder:Ee.zeniCashAccountPlaceholder,defaultValue:{selectedOption:a?.zeniAccountId??"",allOptions:e.map(x=>({label:x.accountName,value:x.accountId}))},controlProperty:{highlightOnHover:!0},isOptionRemovable:!1,textAlignment:"left",registerOptions:{required:!1},style:{width:c==="small"?"calc(100% - 135px)":"100%",marginLeft:c==="small"?i.sp0:`-${i.sp3}`}})]}),c!=="small"?t.jsx(Ot,{windowSize:c,wrapperWidth:V[3].width,children:g!=null?t.jsx(me,{style:{width:"max-content",padding:0},tagTitle:g.name,textColor:ge(g.code)}):t.jsx(be,{children:ye})}):null,c!=="small"?t.jsxs(It,{windowSize:c,wrapperWidth:V[4].width,children:[a?.accountBalance?.available?t.jsx(Fe,{className:"balanceLabel",children:fe("0,0[.]00",a?.accountBalance?.available)}):t.jsx(be,{children:ye}),a?.accountBalance?.lastRefreshTime?t.jsx(Be,{className:"balanceLabel",children:we(a?.accountBalance?.lastRefreshTime)}):a?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})},yt=n.div`
1
+ import{y as xe,e as Ae,T as Ye,c8 as Xe,V as t,a_ as Qe,o as i,O as re,x as _,H as Ze,l as M,L as se,bN as Ke,A as et,bo as tt,m as k,at as nt,w as Ue,d as it,h as Ce,cc as ot,a7 as G,ad as he,dX as at,aU as Me,f3 as ze,f4 as ct,f5 as Ve,bu as Ie,f6 as lt,f7 as st,f8 as me,f9 as ge,fa as je,a5 as fe,bG as we,b as rt,b6 as dt,dc as He,f as K,C as F,fb as ut,fc as pt,fd as ht,aD as mt,fe as gt}from"./index-CpL7aMNT.js";import{a as r}from"./sentry-Cw2y1cds.js";import{n}from"./mui-Bkh9mHku.js";import{r as Te}from"./core-DzJgWcSP.js";import{u as _e}from"./plaid-DK5T1xk0.js";import{cg as ft,ch as ee,bG as Le}from"./zeni-epic-state-C-J3ARpk.js";import{a as wt}from"./SetUpAccountSection-CxjYbrXu-B-CwrNpf.js";import"./pdf-B2Mjqvbt.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./utils-DqUQm2Md.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="f992ac0d-e4c1-4275-a081-765e10213d83",e._sentryDebugIdIdentifier="sentry-dbid-f992ac0d-e4c1-4275-a081-765e10213d83")}catch{}})();const{settings:{bankConnectionHeader:ae}}=re.getLocalizedStrings().common,V=[{value:ae.productType,width:new _(100,19)},{value:ae.primaryAccount,width:new _(100,36)},{value:ae.linkAccount,width:new _(100,22)},{value:ae.status,width:new _(12,12)},{value:ae.balance,width:new _(12,13)}],{common:{settings:Oe,strings:{hyphen:ye}},commonSetUp:{setUp:Ee}}=re.getLocalizedStrings(),z={containerPadding:new _(k[3],k[4]),containerRightPadding:new _(k[3],k[8]),iconContainerMaxWidthHeight:new _(k[6],k[7]),iconWidthHeight:new _(20,k[4]),iconPadding:new _(k[1],12),productTypeContainerMarginBottom:new _(k[3],k[0]),linkAccountContainerMarginTop:new _(k[3],k[0]),productTypeIconSize:new _(k[3],k[4])},St=({productType:e,windowSize:d})=>{switch(e){case"bill_pay":return t.jsx(Bt,{windowSize:d,children:t.jsx(mt,{})});case"reimbursement":return t.jsx(Rt,{windowSize:d,children:t.jsx(ht,{})});case"zeni_accounts":return t.jsx(Dt,{windowSize:d,children:t.jsx(Me,{})});case"zeni_treasury":return t.jsx(Wt,{windowSize:d,children:t.jsx(pt,{})});default:return t.jsx(Nt,{windowSize:d,children:t.jsx(ut,{})})}},xt=({allBankAccounts:e,setupView:d,connectedAccountProvider:H,onFetchLinkTokenClick:B,onUpdatePaymentAccountStatus:j,onEstablishConnectionClick:T,onEstablishConnectionSuccess:R})=>{const C=xe(),c=Ae(),m=Ce().analytics,{trigger:w,formState:{errors:D}}=ot(),{plaidConnectionDetails:N,allFundingAccounts:o,primaryFundingAccount:a,productType:s}=d,u=N.link_account,p=N.update_account,[v,W]=r.useState(void 0),[$,S]=r.useState(!1),b=v==="update_account"?p:u,[A,q]=r.useState(b.linkToken??null),[O,P]=r.useState(!1),h=u.fetchStatus.fetchState==="In-Progress"||u.updateStatus.fetchState==="In-Progress";let g,E,l,f=!1;a!=null&&(a.accType==="depositAccount"?g={code:"verified",name:"Verified"}:(g=a.providerVerificationStatus,E=a?.institutionDetails,l=g?.code,f=a?.isLoginRequired??!1));const U=G(u.updateStatus.fetchState),X=G(p.updateStatus.fetchState),I=G(p.fetchStatus.fetchState),J=C.mode==="light"?new he(C.colors.brandColorJadeLight):new he(C.colors.brandColorJadeDark),Q=r.useCallback((x,Y)=>{m.trackConnectBankSuccess(s,"Settings");const Pe=Y.accounts.find(Ge=>Ge.id===a?.providerAccountId)??Y.accounts[0];a?.id==null||v!=="update_account"||Pe?.verification_status==null||f?T(x,y(s),s):j(Pe?.verification_status,a.id,"update_account",y(s),s),W(void 0),P(!1)},[m,s,a?.id,a?.providerAccountId,v,f,j,T]),te=r.useCallback((x,Y)=>{x!=null&&(m.trackConnectBankFailure(s,x.error_code+" "+x.error_message,"Settings"),x.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&a?.id!=null&&j("verification_failed",a.id,"update_account",y(s),s),console.log("Plaid Connection Error",x,Y)),W(void 0),P(!1)},[m,s,a?.id,j]),{open:ne,ready:ie}=_e({token:A,onSuccess:Q,onExit:te});r.useEffect(()=>{(U==="In-Progress"&&u.updateStatus.fetchState==="Completed"||X==="In-Progress"&&p.updateStatus.fetchState==="Completed")&&(ft(l??"")||(B("link_account",y(s)),R(y(s),s)))},[u.updateStatus.fetchState,R,B,a?.providerVerificationStatus?.code,a?.id,U,X,p.updateStatus.fetchState,l,s]),r.useEffect(()=>{(ee(l??"")||l==="verification_failed")&&!O&&v!=null&&b.linkToken===A&&b.fetchStatus.fetchState==="Completed"&&ie&&P(!0)},[ie,A,b.fetchStatus.fetchState,b.linkToken,l,v,O]);const L=be("bankConnectionsSettingsPage","primaryAccountSection"),Z=at(D,L);r.useEffect(()=>{b.fetchStatus.fetchState==="Completed"&&b.linkToken!=null&&b.linkToken!==A&&q(b.linkToken)},[b.fetchStatus.fetchState,b.linkToken,A]),r.useEffect(()=>{O&&ne()},[O,ne]),r.useEffect(()=>{!a?.zeniAccountId&&!Z&&w(L)},[a?.id]),r.useEffect(()=>{(l==null||l==="verification_failed"||l==="verification_expired"||ee(l))&&(Le(new Date().toISOString()).isAfter(u.expiration)||u.linkToken==null)&&B("link_account",y(s))},[]);const oe=`${a?.accountSubType?.name!=null?a?.accountSubType?.name.substring(0,1).toUpperCase().concat(a?.accountSubType?.name.substring(1)):""} ${a?.maskedAccountNumber??""}`.trim(),de=E?.zeniInstitutionId.toLowerCase()==="chase",qe=o.findIndex(x=>x.id===a?.id),Je={element:t.jsx(Me,{width:z.iconWidthHeight.valuePx(c)}),color:J};return t.jsxs(yt,{windowSize:c,children:[$===!0?Te.createPortal(t.jsx(ze,{connectedAccountProvider:H,action:{onBackClick:()=>S(!1)}}),document.body):null,t.jsxs(vt,{windowSize:c,wrapperWidth:V[0].width,children:[t.jsx(kt,{windowSize:c,isDarkMode:C.mode==="dark",children:t.jsx(St,{productType:s,windowSize:c})}),t.jsx(bt,{children:Oe.productNameByType[s]})]}),t.jsx($t,{windowSize:c,wrapperWidth:V[1].width,children:t.jsxs(_t,{windowSize:c,children:[a!=null&&c!=="small"?t.jsx(Tt,{isDisabled:f,children:ct(Je,c,C.mode==="dark",a,qe,!1)}):null,t.jsxs(Pt,{windowSize:c,className:"fundingAccount",children:[t.jsx(Ve,{style:{display:c==="small"?"block":"inherit",width:"-webkit-fill-available",color:C.colors.hero},customStyleConfig:{menu:()=>({width:c==="small"?"auto":510})},controlProperty:{controlHeight:k[4],fontWeight:Ie.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:c==="small"?240:300},customPlaceholder:{color:C.colors.hero,weight:Ie.medium},name:be(s,"primaryAccountSection"),placeholder:Ee.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(x,Y)=>st(o,x,Y),valueToSubLabels:(x,Y)=>lt(o,x,Y,!1),defaultValue:{selectedOption:a?.id,allOptions:o.map(x=>({label:x.label,value:x.id,isRecommended:x.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,showEmptyState:!1,isDisabled:h?"disabled":void 0,showLoadingIcon:h,onClickCreateOption:()=>{m.trackConnectBank(s,"Settings"),W("link_account"),u.linkToken==null||Le(new Date().toISOString()).isAfter(u.expiration)?B("link_account",y(s)):A!==u.linkToken?q(u.linkToken):O?ne():P(!0)}}),t.jsxs(At,{isDisabled:f,children:[oe?t.jsxs(t.Fragment,{children:[t.jsx(Ct,{children:oe}),c!=="small"&&(l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification"||f||de)?t.jsx(jt,{}):null]}):null,c==="small"&&g!=null?t.jsx(me,{style:{width:"max-content",padding:i.sp0,marginLeft:i.sp2},tagTitle:g.name,textColor:ge(g.code)}):null,l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification"||f||de?t.jsx(je,{productType:s,isUpdateLinkClicked:v==="update_account",isLoginRequired:f,isPendingVerification:l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification",fetchAndUpdateStatues:{fetchStatus:p.fetchStatus,updateStatus:p.updateStatus,linkFetchStatus:u.fetchStatus,linkUpdateStatus:u.updateStatus,prevFetchState:I,prevUpdateState:X},onUpdateLinkTokenClick:()=>{m.trackConnectBankGetBalance(s,"Settings"),W("update_account"),B("update_account",y(s),a?.id)},onChaseInfoClick:()=>{S(!0)}}):null]})]}),c==="small"?t.jsxs(Lt,{children:[a?.accountBalance?.available?t.jsx(Fe,{className:"balanceLabel",children:fe("0,0[.]00",a?.accountBalance?.available)}):t.jsx(ve,{children:ye}),a?.accountBalance?.lastRefreshTime?t.jsx(Be,{className:"balanceLabel",children:we(a?.accountBalance?.lastRefreshTime)}):a?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})}),t.jsxs(Et,{windowSize:c,isDisabled:f,wrapperWidth:V[2].width,onClick:x=>x.stopPropagation(),"data-testid":rt("bank-account-section",s),className:"qboLinkAcc",children:[c==="small"?t.jsx(zt,{children:Oe.bankConnectionHeader.linkAccount}):null,t.jsx(Ft,{isDisabled:f?"disabled":void 0,name:be(s,"bankAccountSection"),placeholder:Ee.zeniCashAccountPlaceholder,defaultValue:{selectedOption:a?.zeniAccountId??"",allOptions:e.map(x=>({label:x.accountName,value:x.accountId}))},controlProperty:{highlightOnHover:!0},isOptionRemovable:!1,textAlignment:"left",registerOptions:{required:!1},style:{width:c==="small"?"calc(100% - 135px)":"100%",marginLeft:c==="small"?i.sp0:`-${i.sp3}`}})]}),c!=="small"?t.jsx(Ot,{windowSize:c,wrapperWidth:V[3].width,children:g!=null?t.jsx(me,{style:{width:"max-content",padding:0},tagTitle:g.name,textColor:ge(g.code)}):t.jsx(ve,{children:ye})}):null,c!=="small"?t.jsxs(It,{windowSize:c,wrapperWidth:V[4].width,children:[a?.accountBalance?.available?t.jsx(Fe,{className:"balanceLabel",children:fe("0,0[.]00",a?.accountBalance?.available)}):t.jsx(ve,{children:ye}),a?.accountBalance?.lastRefreshTime?t.jsx(Be,{className:"balanceLabel",children:we(a?.accountBalance?.lastRefreshTime)}):a?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})},yt=n.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
5
5
  padding: ${e=>z.containerPadding.valuePx(e.windowSize)};
6
6
  padding-right: ${e=>z.containerRightPadding.valuePx(e.windowSize)};
7
- `,be=n.div`
7
+ `,ve=n.div`
8
8
  color: ${e=>e.theme.colors.hero};
9
9
  display: flex;
10
10
  align-items: flex-end;
11
11
  justify-content: flex-end;
12
- `,bt=n.div`
12
+ `,vt=n.div`
13
13
  display: flex;
14
14
  align-items: center;
15
15
  width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
16
16
  margin-bottom: ${e=>z.productTypeContainerMarginBottom.valuePx(e.windowSize)};
17
17
  padding-right: ${i.sp3};
18
- `,vt=n(M)`
18
+ `,bt=n(M)`
19
19
  white-space: nowrap;
20
20
  overflow: hidden;
21
21
  text-overflow: ellipsis;
@@ -146,18 +146,18 @@ import{y as xe,e as Ae,T as Ye,c8 as Xe,V as t,a_ as Qe,o as i,O as re,x as _,H
146
146
  width: 100%;
147
147
  height: 100%;
148
148
  }
149
- `,ve=(e,d)=>`${e}.${d}`,y=e=>{switch(e){case"zeni_accounts":return"account_setup";case"bill_pay":return"bill_pay_setup";case"charge_cards":return"charge_card_setup";case"reimbursement":return"reimbursement_setup";case"zeni_treasury":return"treasury_setup";case"other_connection":return"other_connection_setup"}},{common:{settings:ke,strings:{empty:Ut,hyphen:Mt}}}=re.getLocalizedStrings(),ue={paymentAccountIconSize:new _(k[6],k[7])},Vt=()=>null,Ht=({paymentAccount:e,bankAccountList:d,balanceFetchStatus:H,connectedAccountProvider:B,onRemoveConnection:j,onFetchLinkTokenClick:T,onEstablishConnectionClick:R,onEstablishConnectionSuccess:C,onUpdatePaymentAccountStatus:c})=>{const m=xe(),w=Ae(),D=Ce().analytics,[N,o]=r.useState(!1),[a,s]=r.useState(!1),u=e.plaidConnectionDetails.link_account,p=e.plaidConnectionDetails.update_account,[b,W]=r.useState(void 0),$=b==="update_account"?p:u,[S,v]=r.useState($.linkToken??null),[A,q]=r.useState(!1),O=J(u.updateStatus.fetchState),P=J(p.updateStatus.fetchState),h=J(p.fetchStatus.fetchState),g=e?.providerVerificationStatus,E=e?.isLoginRequired??!1,l="other_connection",f=g?.code,U=r.useCallback((L,Z)=>{D.trackConnectBankSuccess(l,"Settings");const oe=Z.accounts.find(de=>de.id===e.providerAccountId)??Z.accounts[0];e.paymentAccountId==null||b!=="update_account"||oe?.verification_status==null||E?R(L,y(l),l):c(oe?.verification_status,e.paymentAccountId,"update_account",y(l),l),W(void 0),q(!1)},[D,l,e.paymentAccountId,e.providerAccountId,b,E,c,R]),X=r.useCallback((L,Z)=>{L!=null&&(D.trackConnectBankFailure(l,L.error_code+" "+L.error_message,"Settings"),L.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e.paymentAccountId!=null&&c("verification_failed",e.paymentAccountId,"update_account",y(l),l),console.log("Plaid Connection Error",L,Z)),W(void 0),q(!1)},[D,l,e.paymentAccountId,c]),{open:I,ready:G}=_e({token:S,onSuccess:U,onExit:X});r.useEffect(()=>{$.fetchStatus.fetchState==="Completed"&&$.linkToken!=null&&$.linkToken!==S&&v($.linkToken)},[$.fetchStatus.fetchState,$.linkToken,S]),r.useEffect(()=>{A&&I()},[A,I]),r.useEffect(()=>{(O==="In-Progress"&&u.updateStatus.fetchState==="Completed"||P==="In-Progress"&&p.updateStatus.fetchState==="Completed")&&(ee(f??"")||(T("link_account",y(l)),C(y(l),l)))},[u.updateStatus.fetchState,C,T,e?.providerVerificationStatus?.code,e?.paymentAccountId,O,P,p.updateStatus.fetchState,f,l]),r.useEffect(()=>{(ee(f??"")||f==="verification_failed")&&!A&&b!=null&&$.linkToken===S&&$.fetchStatus.fetchState==="Completed"&&G&&q(!0)},[G,S,$.fetchStatus.fetchState,$.linkToken,f,b,A]);const Q=m.mode==="light"?new he(m.colors.brandColorJadeLight):new he(m.colors.brandColorJadeDark),te={element:t.jsx(on,{windowSize:w,children:t.jsx(gt,{})}),color:Q},ne=d.find(L=>L.accountId===e.zeniAccountId),ie=()=>{o(L=>!L)};return t.jsxs(qt,{onMouseEnter:ie,onMouseLeave:ie,children:[a===!0?Te.createPortal(t.jsx(ze,{connectedAccountProvider:B,action:{onBackClick:()=>s(!1)}}),document.body):null,t.jsxs(Gt,{windowSize:w,wrapperWidth:V[0].width,children:[t.jsx(Jt,{children:ke.otherAccount.title}),t.jsx(Yt,{children:ke.otherAccount.subTitle})]}),t.jsxs(Xt,{windowSize:w,wrapperWidth:V[1].width,children:[wt(te,w,m.mode==="dark",e,!0),t.jsxs(an,{children:[t.jsx(cn,{children:t.jsx(dn,{windowSize:w,children:e.institutionDetails.institutionName})}),t.jsxs(ln,{windowSize:w,children:[t.jsxs(un,{children:[t.jsx(sn,{children:e.accountSubType?.name}),t.jsx(rn,{children:e.maskedAccountNumber}),E&&t.jsx(pn,{})]}),E&&t.jsx(je,{productType:"other_connection",isUpdateLinkClicked:b==="update_account",isLoginRequired:E,isPendingVerification:!1,fetchAndUpdateStatues:{fetchStatus:p.fetchStatus,updateStatus:p.updateStatus,linkFetchStatus:u.fetchStatus,linkUpdateStatus:u.updateStatus,prevFetchState:h,prevUpdateState:P},onUpdateLinkTokenClick:()=>{D.trackConnectBankGetBalance(l,"Settings"),W("update_account"),T("update_account",y(l),e.paymentAccountId)},onChaseInfoClick:()=>{s(!0)}})]})]})]}),t.jsx(Qt,{windowSize:w,wrapperWidth:V[2].width,children:ne?.accountName??Ut}),t.jsx(Zt,{windowSize:w,wrapperWidth:V[3].width,children:g!=null?t.jsx(me,{style:{width:"max-content",padding:0,marginTop:i.sp2},tagTitle:g.name,textColor:ge(g.code)}):Mt}),t.jsxs(Kt,{windowSize:w,wrapperWidth:V[4].width,children:[t.jsx(en,{className:"balanceLabel",isRemoveHovered:N,children:fe("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(tn,{className:"balanceLabel",isRemoveHovered:N,children:we(e.balances?.lastRefreshTime)}):H?.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null,N&&t.jsx(nn,{children:t.jsx(He,{moreIconType:"plain",options:[{label:ke.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:m.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,borderRadius:i.sp1,marginTop:i.sp2,background:m.colors.grey5,width:"162px",border:`1px solid ${m.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${K.boxShadowElevation}`}),option:()=>({height:i.sp6,paddingLeft:i.sp3,paddingRight:i.sp3,display:"flex",alignItems:"center",color:K.important,":hover":{color:K.important,backgroundColor:m.colors.background}})},menuPlacement:"bottom",onOptionSelection:L=>{L==="remove"&&j(e.paymentAccountId)},valueToIcon:Vt})})]})]})},qt=n.div`
149
+ `,be=(e,d)=>`${e}.${d}`,y=e=>{switch(e){case"zeni_accounts":return"account_setup";case"bill_pay":return"bill_pay_setup";case"charge_cards":return"charge_card_setup";case"reimbursement":return"reimbursement_setup";case"zeni_treasury":return"treasury_setup";case"other_connection":return"other_connection_setup"}},{common:{settings:ke,strings:{empty:Ut,hyphen:Mt}}}=re.getLocalizedStrings(),ue={paymentAccountIconSize:new _(k[6],k[7])},Vt=()=>null,Ht=({paymentAccount:e,bankAccountList:d,balanceFetchStatus:H,connectedAccountProvider:B,onRemoveConnection:j,onFetchLinkTokenClick:T,onEstablishConnectionClick:R,onEstablishConnectionSuccess:C,onUpdatePaymentAccountStatus:c})=>{const m=xe(),w=Ae(),D=Ce().analytics,[N,o]=r.useState(!1),[a,s]=r.useState(!1),u=e.plaidConnectionDetails.link_account,p=e.plaidConnectionDetails.update_account,[v,W]=r.useState(void 0),$=v==="update_account"?p:u,[S,b]=r.useState($.linkToken??null),[A,q]=r.useState(!1),O=G(u.updateStatus.fetchState),P=G(p.updateStatus.fetchState),h=G(p.fetchStatus.fetchState),g=e?.providerVerificationStatus,E=e?.isLoginRequired??!1,l="other_connection",f=g?.code,U=r.useCallback((L,Z)=>{D.trackConnectBankSuccess(l,"Settings");const oe=Z.accounts.find(de=>de.id===e.providerAccountId)??Z.accounts[0];e.paymentAccountId==null||v!=="update_account"||oe?.verification_status==null||E?R(L,y(l),l):c(oe?.verification_status,e.paymentAccountId,"update_account",y(l),l),W(void 0),q(!1)},[D,l,e.paymentAccountId,e.providerAccountId,v,E,c,R]),X=r.useCallback((L,Z)=>{L!=null&&(D.trackConnectBankFailure(l,L.error_code+" "+L.error_message,"Settings"),L.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e.paymentAccountId!=null&&c("verification_failed",e.paymentAccountId,"update_account",y(l),l),console.log("Plaid Connection Error",L,Z)),W(void 0),q(!1)},[D,l,e.paymentAccountId,c]),{open:I,ready:J}=_e({token:S,onSuccess:U,onExit:X});r.useEffect(()=>{$.fetchStatus.fetchState==="Completed"&&$.linkToken!=null&&$.linkToken!==S&&b($.linkToken)},[$.fetchStatus.fetchState,$.linkToken,S]),r.useEffect(()=>{A&&I()},[A,I]),r.useEffect(()=>{(O==="In-Progress"&&u.updateStatus.fetchState==="Completed"||P==="In-Progress"&&p.updateStatus.fetchState==="Completed")&&(ee(f??"")||(T("link_account",y(l)),C(y(l),l)))},[u.updateStatus.fetchState,C,T,e?.providerVerificationStatus?.code,e?.paymentAccountId,O,P,p.updateStatus.fetchState,f,l]),r.useEffect(()=>{(ee(f??"")||f==="verification_failed")&&!A&&v!=null&&$.linkToken===S&&$.fetchStatus.fetchState==="Completed"&&J&&q(!0)},[J,S,$.fetchStatus.fetchState,$.linkToken,f,v,A]);const Q=m.mode==="light"?new he(m.colors.brandColorJadeLight):new he(m.colors.brandColorJadeDark),te={element:t.jsx(on,{windowSize:w,children:t.jsx(gt,{})}),color:Q},ne=d.find(L=>L.accountId===e.zeniAccountId),ie=()=>{o(L=>!L)};return t.jsxs(qt,{onMouseEnter:ie,onMouseLeave:ie,children:[a===!0?Te.createPortal(t.jsx(ze,{connectedAccountProvider:B,action:{onBackClick:()=>s(!1)}}),document.body):null,t.jsxs(Jt,{windowSize:w,wrapperWidth:V[0].width,children:[t.jsx(Gt,{children:ke.otherAccount.title}),t.jsx(Yt,{children:ke.otherAccount.subTitle})]}),t.jsxs(Xt,{windowSize:w,wrapperWidth:V[1].width,children:[wt(te,w,m.mode==="dark",e,!0),t.jsxs(an,{children:[t.jsx(cn,{children:t.jsx(dn,{windowSize:w,children:e.institutionDetails.institutionName})}),t.jsxs(ln,{windowSize:w,children:[t.jsxs(un,{children:[t.jsx(sn,{children:e.accountSubType?.name}),t.jsx(rn,{children:e.maskedAccountNumber}),E&&t.jsx(pn,{})]}),E&&t.jsx(je,{productType:"other_connection",isUpdateLinkClicked:v==="update_account",isLoginRequired:E,isPendingVerification:!1,fetchAndUpdateStatues:{fetchStatus:p.fetchStatus,updateStatus:p.updateStatus,linkFetchStatus:u.fetchStatus,linkUpdateStatus:u.updateStatus,prevFetchState:h,prevUpdateState:P},onUpdateLinkTokenClick:()=>{D.trackConnectBankGetBalance(l,"Settings"),W("update_account"),T("update_account",y(l),e.paymentAccountId)},onChaseInfoClick:()=>{s(!0)}})]})]})]}),t.jsx(Qt,{windowSize:w,wrapperWidth:V[2].width,children:ne?.accountName??Ut}),t.jsx(Zt,{windowSize:w,wrapperWidth:V[3].width,children:g!=null?t.jsx(me,{style:{width:"max-content",padding:0,marginTop:i.sp2},tagTitle:g.name,textColor:ge(g.code)}):Mt}),t.jsxs(Kt,{windowSize:w,wrapperWidth:V[4].width,children:[t.jsx(en,{className:"balanceLabel",isRemoveHovered:N,children:fe("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(tn,{className:"balanceLabel",isRemoveHovered:N,children:we(e.balances?.lastRefreshTime)}):H?.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null,N&&t.jsx(nn,{children:t.jsx(He,{moreIconType:"plain",options:[{label:ke.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:m.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,borderRadius:i.sp1,marginTop:i.sp2,background:m.colors.grey5,width:"162px",border:`1px solid ${m.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${K.boxShadowElevation}`}),option:()=>({height:i.sp6,paddingLeft:i.sp3,paddingRight:i.sp3,display:"flex",alignItems:"center",color:K.important,":hover":{color:K.important,backgroundColor:m.colors.background}})},menuPlacement:"bottom",onOptionSelection:L=>{L==="remove"&&j(e.paymentAccountId)},valueToIcon:Vt})})]})]})},qt=n.div`
150
150
  display: flex;
151
151
  padding: ${i.sp4};
152
152
  padding-right: ${i.sp8};
153
153
  position: relative;
154
- `,Gt=n.div`
154
+ `,Jt=n.div`
155
155
  display: flex;
156
156
  align-items: center;
157
157
  flex-direction: column;
158
158
  align-items: flex-start;
159
159
  width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
160
- `,Jt=n(M)`
160
+ `,Gt=n(M)`
161
161
  color: ${e=>e.theme.colors.grey1};
162
162
  display: flex;
163
163
  align-items: center;
@@ -230,7 +230,7 @@ import{y as xe,e as Ae,T as Ye,c8 as Xe,V as t,a_ as Qe,o as i,O as re,x as _,H
230
230
  height: ${i.sp1};
231
231
  cursor: inherit;
232
232
  background-color: ${e=>e.theme.colors.grey1};
233
- `,{common:{settings:pe,strings:{empty:hn}}}=re.getLocalizedStrings(),mn=()=>null,gn=({paymentAccount:e,bankAccountList:d,balanceFetchStatus:H,connectedAccountProvider:B,onRemoveConnection:j,onFetchLinkTokenClick:T,onEstablishConnectionClick:R,onEstablishConnectionSuccess:C,onUpdatePaymentAccountStatus:c})=>{const m=xe(),w=Ce().analytics,[D,N]=r.useState(!1),o=e.plaidConnectionDetails.link_account,a=e.plaidConnectionDetails.update_account,[s,u]=r.useState(void 0),p=s==="update_account"?a:o,[b,W]=r.useState(p.linkToken??null),[$,S]=r.useState(!1),v=J(o.updateStatus.fetchState),A=J(a.updateStatus.fetchState),q=J(a.fetchStatus.fetchState),O=e?.providerVerificationStatus,P=e?.isLoginRequired??!1,h="other_connection",g=O?.code,E=r.useCallback((I,G)=>{w.trackConnectBankSuccess(h,"Settings");const Q=G.accounts.find(te=>te.id===e.providerAccountId)??G.accounts[0];e.paymentAccountId==null||s!=="update_account"||Q?.verification_status==null||P?R(I,y(h),h):c(Q?.verification_status,e.paymentAccountId,"update_account",y(h),h),u(void 0),S(!1)},[w,h,e.paymentAccountId,e.providerAccountId,s,P,c,R]),l=r.useCallback((I,G)=>{I!=null&&(w.trackConnectBankFailure(h,I.error_code+" "+I.error_message,"Settings"),I.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e.paymentAccountId!=null&&c("verification_failed",e.paymentAccountId,"update_account",y(h),h),console.log("Plaid Connection Error",I,G)),u(void 0),S(!1)},[w,h,e.paymentAccountId,c]),{open:f,ready:U}=_e({token:b,onSuccess:E,onExit:l});r.useEffect(()=>{p.fetchStatus.fetchState==="Completed"&&p.linkToken!=null&&p.linkToken!==b&&W(p.linkToken)},[p.fetchStatus.fetchState,p.linkToken,b]),r.useEffect(()=>{$&&f()},[$,f]),r.useEffect(()=>{(v==="In-Progress"&&o.updateStatus.fetchState==="Completed"||A==="In-Progress"&&a.updateStatus.fetchState==="Completed")&&(ee(g??"")||(T("link_account",y(h)),C(y(h),h)))},[o.updateStatus.fetchState,C,T,e?.providerVerificationStatus?.code,e?.paymentAccountId,v,A,a.updateStatus.fetchState,g,h]),r.useEffect(()=>{(ee(g??"")||g==="verification_failed")&&!$&&s!=null&&p.linkToken===b&&p.fetchStatus.fetchState==="Completed"&&U&&S(!0)},[U,b,p.fetchStatus.fetchState,p.linkToken,g,s,$]);const X=d.find(I=>I.accountId===e.zeniAccountId);return t.jsxs(fn,{children:[D===!0?Te.createPortal(t.jsx(ze,{connectedAccountProvider:B,action:{onBackClick:()=>N(!1)}}),document.body):null,t.jsxs(wn,{children:[t.jsx(Sn,{children:`${pe.otherAccount.title} ${pe.otherAccount.subTitleSmall}`}),t.jsx(He,{moreIconType:"plain",options:[{label:pe.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:m.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,width:"158px",border:`1px solid ${m.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${K.boxShadowElevation}`}),option:()=>({color:m.colors.important,":hover":{color:m.colors.important,backgroundColor:m.colors.background}})},menuPlacement:"bottom",onOptionSelection:I=>{I==="remove"&&j(e.paymentAccountId)},valueToIcon:mn})]}),t.jsxs(xn,{children:[t.jsxs(zn,{children:[t.jsx(jn,{children:t.jsx(Pn,{children:e.institutionDetails.institutionName})}),t.jsxs(In,{children:[t.jsx(Tn,{children:e.accountSubType?.name}),t.jsx(_n,{children:e.maskedAccountNumber}),t.jsx(kn,{children:O!=null?t.jsx(me,{style:{width:"max-content",padding:0},tagTitle:O.name,textColor:ge(O.code)}):null}),P&&t.jsx(je,{productType:"other_connection",isUpdateLinkClicked:s==="update_account",isLoginRequired:P,isPendingVerification:!1,fetchAndUpdateStatues:{fetchStatus:a.fetchStatus,updateStatus:a.updateStatus,linkFetchStatus:o.fetchStatus,linkUpdateStatus:o.updateStatus,prevFetchState:q,prevUpdateState:A},onUpdateLinkTokenClick:()=>{w.trackConnectBankGetBalance(h,"Settings"),u("update_account"),T("update_account",y(h),e.paymentAccountId)},onChaseInfoClick:()=>{N(!0)}})]})]}),t.jsxs($n,{children:[t.jsx(An,{className:"balanceLabel",children:fe("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(Cn,{className:"balanceLabel",children:we(e.balances?.lastRefreshTime)}):H?.fetchState==="In-Progress"?t.jsx(se,{size:"ExtraSmall",start:!0}):null]})]}),t.jsxs(yn,{children:[t.jsx(bn,{children:pe.bankConnectionHeader.linkAccount}),t.jsx(vn,{children:X?.accountName??hn})]})]})},fn=n.div`
233
+ `,{common:{settings:pe,strings:{empty:hn}}}=re.getLocalizedStrings(),mn=()=>null,gn=({paymentAccount:e,bankAccountList:d,balanceFetchStatus:H,connectedAccountProvider:B,onRemoveConnection:j,onFetchLinkTokenClick:T,onEstablishConnectionClick:R,onEstablishConnectionSuccess:C,onUpdatePaymentAccountStatus:c})=>{const m=xe(),w=Ce().analytics,[D,N]=r.useState(!1),o=e.plaidConnectionDetails.link_account,a=e.plaidConnectionDetails.update_account,[s,u]=r.useState(void 0),p=s==="update_account"?a:o,[v,W]=r.useState(p.linkToken??null),[$,S]=r.useState(!1),b=G(o.updateStatus.fetchState),A=G(a.updateStatus.fetchState),q=G(a.fetchStatus.fetchState),O=e?.providerVerificationStatus,P=e?.isLoginRequired??!1,h="other_connection",g=O?.code,E=r.useCallback((I,J)=>{w.trackConnectBankSuccess(h,"Settings");const Q=J.accounts.find(te=>te.id===e.providerAccountId)??J.accounts[0];e.paymentAccountId==null||s!=="update_account"||Q?.verification_status==null||P?R(I,y(h),h):c(Q?.verification_status,e.paymentAccountId,"update_account",y(h),h),u(void 0),S(!1)},[w,h,e.paymentAccountId,e.providerAccountId,s,P,c,R]),l=r.useCallback((I,J)=>{I!=null&&(w.trackConnectBankFailure(h,I.error_code+" "+I.error_message,"Settings"),I.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e.paymentAccountId!=null&&c("verification_failed",e.paymentAccountId,"update_account",y(h),h),console.log("Plaid Connection Error",I,J)),u(void 0),S(!1)},[w,h,e.paymentAccountId,c]),{open:f,ready:U}=_e({token:v,onSuccess:E,onExit:l});r.useEffect(()=>{p.fetchStatus.fetchState==="Completed"&&p.linkToken!=null&&p.linkToken!==v&&W(p.linkToken)},[p.fetchStatus.fetchState,p.linkToken,v]),r.useEffect(()=>{$&&f()},[$,f]),r.useEffect(()=>{(b==="In-Progress"&&o.updateStatus.fetchState==="Completed"||A==="In-Progress"&&a.updateStatus.fetchState==="Completed")&&(ee(g??"")||(T("link_account",y(h)),C(y(h),h)))},[o.updateStatus.fetchState,C,T,e?.providerVerificationStatus?.code,e?.paymentAccountId,b,A,a.updateStatus.fetchState,g,h]),r.useEffect(()=>{(ee(g??"")||g==="verification_failed")&&!$&&s!=null&&p.linkToken===v&&p.fetchStatus.fetchState==="Completed"&&U&&S(!0)},[U,v,p.fetchStatus.fetchState,p.linkToken,g,s,$]);const X=d.find(I=>I.accountId===e.zeniAccountId);return t.jsxs(fn,{children:[D===!0?Te.createPortal(t.jsx(ze,{connectedAccountProvider:B,action:{onBackClick:()=>N(!1)}}),document.body):null,t.jsxs(wn,{children:[t.jsx(Sn,{children:`${pe.otherAccount.title} ${pe.otherAccount.subTitleSmall}`}),t.jsx(He,{moreIconType:"plain",options:[{label:pe.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:m.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,width:"158px",border:`1px solid ${m.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${K.boxShadowElevation}`}),option:()=>({color:m.colors.important,":hover":{color:m.colors.important,backgroundColor:m.colors.background}})},menuPlacement:"bottom",onOptionSelection:I=>{I==="remove"&&j(e.paymentAccountId)},valueToIcon:mn})]}),t.jsxs(xn,{children:[t.jsxs(zn,{children:[t.jsx(jn,{children:t.jsx(Pn,{children:e.institutionDetails.institutionName})}),t.jsxs(In,{children:[t.jsx(Tn,{children:e.accountSubType?.name}),t.jsx(_n,{children:e.maskedAccountNumber}),t.jsx(kn,{children:O!=null?t.jsx(me,{style:{width:"max-content",padding:0},tagTitle:O.name,textColor:ge(O.code)}):null}),P&&t.jsx(je,{productType:"other_connection",isUpdateLinkClicked:s==="update_account",isLoginRequired:P,isPendingVerification:!1,fetchAndUpdateStatues:{fetchStatus:a.fetchStatus,updateStatus:a.updateStatus,linkFetchStatus:o.fetchStatus,linkUpdateStatus:o.updateStatus,prevFetchState:q,prevUpdateState:A},onUpdateLinkTokenClick:()=>{w.trackConnectBankGetBalance(h,"Settings"),u("update_account"),T("update_account",y(h),e.paymentAccountId)},onChaseInfoClick:()=>{N(!0)}})]})]}),t.jsxs($n,{children:[t.jsx(An,{className:"balanceLabel",children:fe("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(Cn,{className:"balanceLabel",children:we(e.balances?.lastRefreshTime)}):H?.fetchState==="In-Progress"?t.jsx(se,{size:"ExtraSmall",start:!0}):null]})]}),t.jsxs(yn,{children:[t.jsx(vn,{children:pe.bankConnectionHeader.linkAccount}),t.jsx(bn,{children:X?.accountName??hn})]})]})},fn=n.div`
234
234
  display: flex;
235
235
  flex-direction: column;
236
236
  padding: ${i.sp3};
@@ -254,10 +254,10 @@ import{y as xe,e as Ae,T as Ye,c8 as Xe,V as t,a_ as Qe,o as i,O as re,x as _,H
254
254
  `,yn=n.div`
255
255
  display: flex;
256
256
  align-items: center;
257
- `,bn=n(F)`
257
+ `,vn=n(F)`
258
258
  color: ${e=>e.theme.colors.grey1};
259
259
  margin-right: ${i.sp2};
260
- `,vn=n(F)`
260
+ `,bn=n(F)`
261
261
  color: ${e=>e.theme.colors.hero};
262
262
  `,kn=n(M)`
263
263
  display: flex;
@@ -291,7 +291,7 @@ import{y as xe,e as Ae,T as Ye,c8 as Xe,V as t,a_ as Qe,o as i,O as re,x as _,H
291
291
  align-items: center;
292
292
  flex-wrap: wrap;
293
293
  gap: ${i.sp2};
294
- `,{settings:{bankConnectionListHeader:$e,title:Ln,infoText:On}}=re.getLocalizedStrings().common,Se={pageContentPadding:new _(k[4],k[8]),subtitleSectionWidth:new _(343,580,1200),subTitleBottomMargin:new _(k[0],k[5])},En={qboLinkAcc:new it("smallRegular","standardRegular")},ce="bankAccountSection",le="primaryAccountSection",Fn="bill_pay",Bn="reimbursement",Rn="zeni_accounts",Dn="charge_cards",Nn="zeni_treasury",Re=e=>t.jsx(Mn,{children:V.map(d=>t.jsx(Vn,{actualDataValue:d.value,wrapperWidth:d.width,windowSize:e,children:t.jsx(Hn,{children:d.value})},d.value))}),gi=({bankSetupView:e,connectedAccountProvider:d,onBackClick:H,onUpdateAccountClick:B,onFetchLinkTokenClick:j,onUpdatePaymentAccountStatus:T,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:C,onEstablishConnectionSuccess:c,onClickMenuIcon:m,onUpdatePrimaryFundingAccount:w,onRemoveConnection:D})=>{const N=xe(),o=Ae(),{allFundingAccounts:a,primaryConnection:s}=e,u=Ye({mode:"all",reValidateMode:"onChange",defaultValues:We(e),values:We(e)}),p=u.handleSubmit(S=>{});r.useEffect(()=>{const S=u.watch((v,{name:A})=>{A!=null&&v!=null&&Xe(()=>(async(q,O)=>{const P=q.split("."),h=P[0],g=P[1],E=s.find(l=>l.productType===h);if(h!=null&&g!=null){const l=O[h][g];if(g==="primaryAccountSection"){const f=a.find(U=>U.id===l.selectedOption)?.accType;l.selectedOption!=null&&f!=null&&w(l.selectedOption,y(h),f)}else if(g==="bankAccountSection"&&E!=null&&E.primaryFundingAccount!=null&&l.selectedOption!=null){const f=E.primaryFundingAccount?.id,U=E.primaryFundingAccount?.accType;f!=null&&U!=null&&B(l.selectedOption,f,h,y(h),U)}}})(A,v))});return()=>{S.unsubscribe()}});const b=e.fetchState==="In-Progress"||e.fetchState==="Not-Started",W=e.fetchState==="Completed"&&e.allFundingAccounts.length===0,$=o==="small"?gn:Ht;return t.jsxs(Un,{children:[t.jsx(Qe,{source:"BankConnectionsSettingsPage",title:Ln.bankConnections,backgroundColor:N.colors.grey4,style:{zIndex:3},onBackClick:H,showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:m}),t.jsxs(Gn,{windowSize:o,children:[t.jsx(Xn,{windowSize:o,children:t.jsx(Qn,{windowSize:o,children:On.bankConnections})}),b?t.jsx(Jn,{children:t.jsx(se,{size:"ExtraLarge",start:!0})}):W?t.jsx(Ke,{message:"No bank connections added."}):t.jsxs(Wn,{windowSize:o,children:[t.jsx(Ne,{children:$e.primary}),o!=="small"?Re(o):null,t.jsx(et,{...u,children:t.jsx("form",{id:ei("bankConnectionsSettingsPage"),onSubmit:p,children:t.jsx(Yn,{windowSize:o,children:e.primaryConnection.map(S=>S!=null?t.jsx(De,{windowSize:o,children:t.jsx(xt,{allBankAccounts:e.allBankAccounts,setupView:S,connectedAccountProvider:d,onFetchLinkTokenClick:j,onUpdatePaymentAccountStatus:T,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:C,onEstablishConnectionSuccess:c})},S.productType):null)})})}),e.otherPaymentAccounts.length>0?t.jsxs(qn,{children:[t.jsx(Ne,{children:$e.other}),t.jsx(Zn,{children:t.jsx(tt,{display:"flex",placement:"right",maxWidth:"340px",title:$e.otherToolTip,style:{padding:`12px ${i.sp3}`},children:t.jsx(Kn,{})})})]}):null,o!=="small"&&e.otherPaymentAccounts.length>0?Re(o):null,e.otherPaymentAccounts.map(S=>{const v=a.find(A=>A.id===S.paymentAccountId)?.balanceFetchStatus;return t.jsx(De,{windowSize:o,children:t.jsx($,{paymentAccount:S,bankAccountList:e.allBankAccounts,balanceFetchStatus:v,connectedAccountProvider:d,onRemoveConnection:D,onFetchLinkTokenClick:j,onEstablishConnectionClick:C,onUpdatePaymentAccountStatus:T,onEstablishConnectionSuccess:c})},S.paymentAccountId)})]})]})]})},Wn=n.div`
294
+ `,{settings:{bankConnectionListHeader:$e,title:Ln,infoText:On}}=re.getLocalizedStrings().common,Se={pageContentPadding:new _(k[4],k[8]),subtitleSectionWidth:new _(343,580,1200),subTitleBottomMargin:new _(k[0],k[5])},En={qboLinkAcc:new it("smallRegular","standardRegular")},ce="bankAccountSection",le="primaryAccountSection",Fn="bill_pay",Bn="reimbursement",Rn="zeni_accounts",Dn="charge_cards",Nn="zeni_treasury",Re=e=>t.jsx(Mn,{children:V.map(d=>t.jsx(Vn,{actualDataValue:d.value,wrapperWidth:d.width,windowSize:e,children:t.jsx(Hn,{children:d.value})},d.value))}),gi=({bankSetupView:e,connectedAccountProvider:d,onBackClick:H,onUpdateAccountClick:B,onFetchLinkTokenClick:j,onUpdatePaymentAccountStatus:T,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:C,onEstablishConnectionSuccess:c,onClickMenuIcon:m,onUpdatePrimaryFundingAccount:w,onRemoveConnection:D})=>{const N=xe(),o=Ae(),{allFundingAccounts:a,primaryConnection:s}=e,u=Ye({mode:"all",reValidateMode:"onChange",defaultValues:We(e),values:We(e)}),p=u.handleSubmit(S=>{});r.useEffect(()=>{const S=u.watch((b,{name:A})=>{A!=null&&b!=null&&Xe(()=>(async(q,O)=>{const P=q.split("."),h=P[0],g=P[1],E=s.find(l=>l.productType===h);if(h!=null&&g!=null){const l=O[h][g];if(g==="primaryAccountSection"){const f=a.find(U=>U.id===l.selectedOption)?.accType;l.selectedOption!=null&&f!=null&&w(l.selectedOption,y(h),f)}else if(g==="bankAccountSection"&&E!=null&&E.primaryFundingAccount!=null&&l.selectedOption!=null){const f=E.primaryFundingAccount?.id,U=E.primaryFundingAccount?.accType;f!=null&&U!=null&&B(l.selectedOption,f,h,y(h),U)}}})(A,b))});return()=>{S.unsubscribe()}});const v=e.fetchState==="In-Progress"||e.fetchState==="Not-Started",W=e.fetchState==="Completed"&&e.allFundingAccounts.length===0,$=o==="small"?gn:Ht;return t.jsxs(Un,{children:[t.jsx(Qe,{source:"BankConnectionsSettingsPage",title:Ln.bankConnections,backgroundColor:N.colors.grey4,style:{zIndex:3},onBackClick:H,showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:m}),t.jsxs(Jn,{windowSize:o,children:[t.jsx(Xn,{windowSize:o,children:t.jsx(Qn,{windowSize:o,children:On.bankConnections})}),v?t.jsx(Gn,{children:t.jsx(se,{size:"ExtraLarge",start:!0})}):W?t.jsx(Ke,{message:"No bank connections added."}):t.jsxs(Wn,{windowSize:o,children:[t.jsx(Ne,{children:$e.primary}),o!=="small"?Re(o):null,t.jsx(et,{...u,children:t.jsx("form",{id:ei("bankConnectionsSettingsPage"),onSubmit:p,children:t.jsx(Yn,{windowSize:o,children:e.primaryConnection.map(S=>S!=null?t.jsx(De,{windowSize:o,children:t.jsx(xt,{allBankAccounts:e.allBankAccounts,setupView:S,connectedAccountProvider:d,onFetchLinkTokenClick:j,onUpdatePaymentAccountStatus:T,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:C,onEstablishConnectionSuccess:c})},S.productType):null)})})}),e.otherPaymentAccounts.length>0?t.jsxs(qn,{children:[t.jsx(Ne,{children:$e.other}),t.jsx(Zn,{children:t.jsx(tt,{display:"flex",placement:"right",maxWidth:"340px",title:$e.otherToolTip,style:{padding:`12px ${i.sp3}`},children:t.jsx(Kn,{})})})]}):null,o!=="small"&&e.otherPaymentAccounts.length>0?Re(o):null,e.otherPaymentAccounts.map(S=>{const b=a.find(A=>A.id===S.paymentAccountId)?.balanceFetchStatus;return t.jsx(De,{windowSize:o,children:t.jsx($,{paymentAccount:S,bankAccountList:e.allBankAccounts,balanceFetchStatus:b,connectedAccountProvider:d,onRemoveConnection:D,onFetchLinkTokenClick:j,onEstablishConnectionClick:C,onUpdatePaymentAccountStatus:T,onEstablishConnectionSuccess:c})},S.paymentAccountId)})]})]})]})},Wn=n.div`
295
295
  display: flex;
296
296
  flex-direction: column;
297
297
  width: 100%;
@@ -377,14 +377,14 @@ import{y as xe,e as Ae,T as Ye,c8 as Xe,V as t,a_ as Qe,o as i,O as re,x as _,H
377
377
  color: ${e=>e.theme.colors.primary};
378
378
  }
379
379
  }
380
- `,Gn=n.div`
380
+ `,Jn=n.div`
381
381
  display: flex;
382
382
  justify-content: flex-start;
383
383
  height: 100%;
384
384
  overflow-y: auto;
385
385
  flex-direction: column;
386
386
  align-items: center;
387
- `,Jn=n.div`
387
+ `,Gn=n.div`
388
388
  display: flex;
389
389
  width: 100%;
390
390
  height: calc(100vh - 110px);