@zeniai/web-cockpit-ui 1.15.62-prod → 1.15.63-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (284) hide show
  1. package/dist/assets/{ACHDetailsPage-iiVBlQka-Cg1oUPUX.js → ACHDetailsPage-B5qIuZya-DMQRF8PE.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-MBAB5kgB-DUXKNLGP.js → AIPerformancePage-BHB45mP--C-dHKl4F.js} +18 -18
  3. package/dist/assets/{AccountInfoPage-Cz9yoVl8-D1N_z0nU.js → AccountInfoPage-Cd5xYT1g-CNmpoFMD.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-j85psx_A-CYJvBqw8.js → AccountInfoPageContent-CJ7ycVIK-zgc9u2MF.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-B1JxHllU-DeuZYeNv.js → AccountLockedInfoModal-Dox7IuAX-Bd2lveLQ.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DF-X46_u-BHjX20SJ.js → AccountReconDetailsDrawerPage-Bqty08m0-CFQ6A8a0.js} +1 -1
  7. package/dist/assets/{AccountRow-DEtntSrL-DjQGfh-3.js → AccountRow-D1cjRJJD--C24H47s.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Cvixqb_6-D8hOdXOY.js → AccountsPromoCardStack-Bs3naJHM-C0F0RQHK.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-B1Qfn44J-D06_kvdw.js → AddAddressForCardDrawer-DZkBMJfp-NUnwpiBH.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BLxUsh1Y-BGSTAdvc.js → AddToWalletPage-CyRfqVDB-DwZBuzaI.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-XIzuLRE4-ZwAiZJoz.js → AgingReportsPage-xBFff3BM-Dc0ndLrv.js} +1 -1
  12. package/dist/assets/{AllUserItems-BGMZCYUO-C1Z_VBx7.js → AllUserItems-BJf6WPDo-DrRMiZwu.js} +1 -1
  13. package/dist/assets/ApAgingDetailPage-CjBrPyi8-C9SbUGEE.js +46 -0
  14. package/dist/assets/{AppBasePage-CYjdUgY4-DiEqAH7k.js → AppBasePage-CqDm-hnV-BMQKy0pD.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-CbF8TOjd-fa977cdP.js → AppDrawerContent-CVVWj66i-zwhuzKtW.js} +22 -22
  16. package/dist/assets/{ApprovalRulesSettingsPage-RCtygkuw-D2zRSh8-.js → ApprovalRulesSettingsPage-Cckd2uVA-DMXkXJiF.js} +1 -1
  17. package/dist/assets/{ArAgingChart-ZwWwEBJ3-ONEwLgWB.js → ArAgingChart-CBsqOd-4-DwOeXEEU.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-DtqyngrA-ChIKWjqA.js → ArAgingDetailPage-i7JObt60-CMGpLU1f.js} +1 -1
  19. package/dist/assets/{AttachmentView-UxkSFZmq-DzQG4PG1.js → AttachmentView-CzC4skJ3-BrTw0uGW.js} +1 -1
  20. package/dist/assets/{BalancesInsightWithToolTip-Co6ZUc5x-UMuZaO_a.js → BalancesInsightWithToolTip-B6umvmgL-DPjkyoui.js} +6 -6
  21. package/dist/assets/{BankAccountSection-DnBVOkJC-BRm78vt2.js → BankAccountSection-Di4sF52j-DFIAi88L.js} +1 -1
  22. package/dist/assets/{BankAccountWarningSection-D7OuLiLz-o-zTEqGg.js → BankAccountWarningSection-Cled-2cR-C1C6Vjrm.js} +1 -1
  23. package/dist/assets/{BankConnectionsSettingsPage-BDLTuNLu-BxoygeIH.js → BankConnectionsSettingsPage-Ccnzq7st-DHgh69DN.js} +1 -1
  24. package/dist/assets/{BillDetailPage-V8us93cj-B5Hi-hOd.js → BillDetailPage-XXOwBfO1-CGDRib2O.js} +6 -6
  25. package/dist/assets/{BillPayApprovalRuleDetailPage-C_REwEVS-BICLLIOg.js → BillPayApprovalRuleDetailPage-DFZ0csaT-Ds0gyJKG.js} +1 -1
  26. package/dist/assets/{BillPayApprovalRulesPage-C6G_eDX9-W3aMv1vt.js → BillPayApprovalRulesPage-COCypDcS-DDBfv-HQ.js} +1 -1
  27. package/dist/assets/{BillPayPromoPage-CTQSknOB-CgvOk82J.js → BillPayPromoPage-DOE2YIqC-Dt0PySwZ.js} +11 -11
  28. package/dist/assets/{BillPaySetUpPage-BmgMLaf--CwweZk8l.js → BillPaySetUpPage-BCJbZDsV-7RphGKjA.js} +1 -1
  29. package/dist/assets/{BillingSettingsPage-IHY3ak0N-h__Jrih5.js → BillingSettingsPage-iImtlEmO-CLpZtYzE.js} +1 -1
  30. package/dist/assets/{BillsBulkReviewDrawerPage-ZoFahXYa-wLElnWxG.js → BillsBulkReviewDrawerPage-B11GWM_0-Dp1GR0TH.js} +1 -1
  31. package/dist/assets/{BoxItem-XoWq-tnh-CWlKsdye.js → BoxItem-Bxa1M4QU-CuNypviZ.js} +11 -11
  32. package/dist/assets/{BusinessVerificationPage-D9HtnNOu-CYgC3Mc9.js → BusinessVerificationPage-DSuJFoW1-BKZUF9ME.js} +1 -1
  33. package/dist/assets/{CardNumberSubText-Cn0EZrNE-UdqTHAA8.js → CardNumberSubText-_ZZbaz_k-CJI-nsfm.js} +1 -1
  34. package/dist/assets/{CashbackDetailPage-Bk5ssPnj-jr0Z3Ort.js → CashbackDetailPage-DAZXitLt-CWZ113JI.js} +1 -1
  35. package/dist/assets/{ChargeCardDetailPage-Ge9Aw7PA-9xCpbXUj.js → ChargeCardDetailPage-B1VIpASk-BeNDm67T.js} +26 -26
  36. package/dist/assets/{ChargeCardListPage-BNLOoSv3-BFqxfn09.js → ChargeCardListPage-BOBepN-x-BYYlZgmW.js} +1 -1
  37. package/dist/assets/{ChargeCardListTable-BoufojYF-71if8UPV.js → ChargeCardListTable-YznzSsJo-_dDAhS8L.js} +1 -1
  38. package/dist/assets/{ChargeCardPaymentHistoryPage-5lUxK8pF-E8V2M0xb.js → ChargeCardPaymentHistoryPage--jOwsMla-C2DbRPI5.js} +1 -1
  39. package/dist/assets/ChargeCardPromoPage-DIfakIOK-CvlZUe5W.js +222 -0
  40. package/dist/assets/{ChargeCardSetupPage-Dqoel2Do-ImdFHxlV.js → ChargeCardSetupPage-0bpVkeJs-B4o9rj4Y.js} +3 -3
  41. package/dist/assets/{ChargeCardStatementsPage-Dalrj66w-CLFQKle4.js → ChargeCardStatementsPage-ChWyQlw6-BnvGhpGm.js} +2 -2
  42. package/dist/assets/{CheckDepositDrawerPage-mYjv1H0f-eq13oTOf.js → CheckDepositDrawerPage-BS7hnyZn-CxSRctwS.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-CIaa7SIH-CnDLtSkq.js → CollapsableReportTable-DNfFkAts-DG-tRdjC.js} +10 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-BSFNYauO-y6AUPGnC.js → CompanyOfficerDetailsSection-CrOIN4IW-B6nLDxWF.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-B-mBb9Q5-B7YukNIl.js → CompanyPassportCard-CkzYFTrp-D0eepAjO.js} +3 -3
  46. package/dist/assets/{CompanyPassportPage-Blyl_Z-c-DcoEh3fw.js → CompanyPassportPage-FE6yli6h-DmnPa-EO.js} +1 -1
  47. package/dist/assets/{CompleteProfile-ySk9I1Ut-DL_Ucngh.js → CompleteProfile-Cb8i1XgZ-BNMBzO6J.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-CeAc4Ily-BpvE8sE3.js → ConfettiBurst-BZCXEGYA-yCtyyeGJ.js} +1 -1
  49. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-eTG6w_zj.js → ConstrainedInnerElement-CgdnMeoA-Bu2DG2lc.js} +1 -1
  50. package/dist/assets/{CreateOrEditVendorPage-BRkqkhfw-Ma-hiTKp.js → CreateOrEditVendorPage-CzpSgxbO-JCKju4xk.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentDrawerPage-oUIakAtz-DRFawYl_.js → CreditCardPaymentDrawerPage-c_q0MsSO-B0hLCMJ3.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-CSPhUjwG-pmwOFla5.js → CurrencySelectField-BAh7SHrG-BkshITI1.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-CoOyWe6_-wtGf6EX0.js → CustomerOnboardingActivationPage-f3Aa6E5r-BN-u2_Er.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-2m0tglN7.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CWNyUuRp-BVtMtHa9.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-DyEj0_PK.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-DWx46Z6R-BwSLIFkW.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-B4pkaivG.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-D86Sj2KP-BtBYr2x0.js → CustomerOnboardingPage-B9hSO88_-FAzWwrV2.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-Bo0LFveG-CEfo2zub.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-BhS5AEWe.js} +9 -9
  59. package/dist/assets/{Dashboard-DQLJzr16-DN3HKc3Z.js → Dashboard-BJ_oIHab-D3CSikiX.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-CwfTMXY5-C_5j15IF.js → DashboardReportPage-BemzMw2e-BO_R5QNZ.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-CUZGIAxW-DPRdbzyg.js → DashboardSidebarBackgroundAnimation-BtA5oEGG-CpVhfdj6.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-Ci-LxLsk-CVASC-9z.js → DepositAccTransactionItem-CyFi1P_L-B05Q3yKt.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-RG7P8vQS-f6_CxcW6.js → DepositAccTransactionListPage-DvBRRUdZ-BsXx3hkv.js} +2 -2
  64. package/dist/assets/{DomesticWireDetailsPage-DsPFUOcE-kUCz2PJe.js → DomesticWireDetailsPage-DCDo3aHI-CCdp0z2J.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-BjTf50Dz-Boj9wMkq.js → DownloadOverlay-D_lL1sPW-k0Gho_wZ.js} +1 -1
  66. package/dist/assets/{DrawerPage-0OFinUxM-B5nkeVIH.js → DrawerPage-DesxXhZk-OWoJW-0F.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-BKcOmYVv-Ck0Z2EZi.js → EditPeoplePage-QvPy_Six-qGCX3LOk.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-BFIHhQbx-Cwo_as3z.js → EditReimbursementDetailPage-C0ZDkboO-8rvb6BkJ.js} +1 -1
  69. package/dist/assets/EntityDetailPage-l7nXIsyF-D_7lbYbC.js +18 -0
  70. package/dist/assets/{EntitySummarySection-ORJ2pE_k-BSMGA0nT.js → EntitySummarySection-BwX0a4JL-CLikGCHh.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-Dzf7j2zV-CDO8vhiq.js → ExpenseAutomationOverviewPage-EdyHjbff-CJUmXhDL.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-BRsKGeoM-dgp4CthB.js → ExpenseAutomationPage-DA22Qofw-CbU14QhC.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-DlBFtMaR-BrPvYO7P.js → ExpressPayPage-EMP6inpX-BQEnIOd1.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-C31F3Gmz-gVQvqxMS.js → FeaturePreviewPage-SYJm-3aR-DJMj_gDm.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-BVT2K7mu-AlvyE5So.js → FollowStepsSection-BxESVqJD-92yEFObK.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-0cZe1hh0-Bt8sh97J.js → GlobalReviewListPage-D5_ACa-q-D2Ov8eqV.js} +1 -1
  77. package/dist/assets/{InformationCardStack-t8eELRLU-Dy4Hqrxi.js → InformationCardStack-B_qQUEYD-Dj7LkhKh.js} +2 -2
  78. package/dist/assets/{InsightsCardStack-CJBPZbzD-z1OlCa4_.js → InsightsCardStack-BsQzoVzj-CqL35YGm.js} +1 -1
  79. package/dist/assets/{InsightsSection-tUBzsCix-CLqpVsk2.js → InsightsSection-B6CNlTNH-DSISPSz5.js} +2 -2
  80. package/dist/assets/{IntegrationsSettingsPage-Ce0yKUWI-BgRv8EyO.js → IntegrationsSettingsPage-DP6fAccq-yTNOiOsu.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BzR-rKaL-B3gTDn_N.js → InternationalWireSwiftDetailsPage-VdG7bDZi-C9ew1LgC.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-7tCXdJ3Y-bWRy9DoF.js → InternationalWireVerificationPage-COC6lZml-mSWqYjiQ.js} +1 -1
  83. package/dist/assets/{InviteFormPage-DePVC0CH-CJQ8Gd7j.js → InviteFormPage-DN02jRy5-Bst7RGZg.js} +1 -1
  84. package/dist/assets/{InvitePageListView-ChbvDKgQ-PjffYLGq.js → InvitePageListView-CP4K9tJi-CurBS3_6.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-DJiEzIeY-BPFJqA_I.js → InvitePeoplePage-VTM6kM1u-Bam_HxL4.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-BjNMjhQR-DiJd5U8P.js → InvoiceUploadSection-it-ZYl1N-DpsU9s1b.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-4xbGf5Ut-CZogDoKz.js → IssueChargeCardPage-CVfuvGey-Dkn1Y55k.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-Czt7QvSJ-FRk7cg6V.js → LabeledAddressValue-DDrQcHIE-DVUytAM2.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-Dl3atH92-CnlLWFav.js → LabeledAddressValueField-BgWwd5Gw-1_bA2P1A.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-DT_nxhPN-rV5vnpiF.js → LabeledControlledCheckBoxField-CcPO1k23-euLgngZd.js} +1 -1
  91. package/dist/assets/{LabeledCountryMultiSelectField-BnljZpX0-pSdf65es.js → LabeledCountryMultiSelectField-BYYjzwUG-ByFpwxRF.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-CiInq9yD-CG7y4qr7.js → LabeledCreatableSingleSelectField-CISYMojq-Ds5ZDmF8.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-Ceb8vgVH-BEhYBMbS.js → LabeledDocumentField-C_bcFxdY-DPVXpSNP.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-B98gNWTE-D2T9Rb2B.js → LabeledDropDownFormattedTextField-ScGGCap8-Bx7TgIhB.js} +1 -1
  95. package/dist/assets/{LabeledText-CFJSoGtK-Cxmt68DI.js → LabeledText-C8Y7EOsX-YfcyRj6r.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-BmGjXcuq.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-bisy62U6.js} +3 -3
  97. package/dist/assets/{LabeledZeniRolesDropDownField-CQiP2rEh-D6KC1rAp.js → LabeledZeniRolesDropDownField-BZtreVpj-B922kPSV.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-ANY7Ns42-8thYhnWl.js → LinkJETransactionPage-CKq4oiX9-DqF42vDK.js} +1 -1
  99. package/dist/assets/{LockCardPage-0piclOz3-DLHcJlLm.js → LockCardPage-CZENNby7-DRVoRjI2.js} +1 -1
  100. package/dist/assets/{LowBalancePopup-CplxkRHP-UExHFvGM.js → LowBalancePopup-1727S1ri-BotZCdZD.js} +1 -1
  101. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-Ck7Yx728.js +1 -0
  102. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DzmVNJrM.js +1 -0
  103. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-_HUl3VhW.js +1 -0
  104. package/dist/assets/{MagicLinkSuccessPage-BA1LfhVb-B9oKErD8.js → MagicLinkSuccessPage-QMkZgQLG-Dtoovrbg.js} +1 -1
  105. package/dist/assets/{MagicLinkTitleSection-DLdaV8WG-BnnuDmev.js → MagicLinkTitleSection-CARU1oLQ-BDQbOyHj.js} +1 -1
  106. package/dist/assets/{MailingDetailsSection-BNVPaGFt-DRbnv-E-.js → MailingDetailsSection-ByOPaJ05-BUTtoyYk.js} +6 -6
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BiDvyO_G-BxfkaLSi.js → MyBankConnectionsSettingsPage-BdgIIhL1-jbAanX2l.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-Bb4_b9o6-D_AxRnpH.js → MyPendingActivationChargeCardListPage-CX38bDdq-BXFJnqht.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-nY_eDqfm-CruZAkTU.js → MyProfileSettingsPage-DYu0Fx6I-CcKml1T5.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-Dr5XHgP5-DZR5yxw2.js → NavBarWithPicker-CGGEvLwe-BKxrf_8f.js} +1 -1
  111. package/dist/assets/{NavigationArrow-DT82hMh--Bxjxfzgu.js → NavigationArrow-CTNkKUtV-2iSw8vB0.js} +1 -1
  112. package/dist/assets/{NavigationDots-CwCZ9EAa-jVLSmzI3.js → NavigationDots-Dvce3gHt-DDCP-WPR.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-D1lxnByE-BFVs6Gpv.js → NewGlobalMerchantPage-D_f7z47T-6Ai8ePEI.js} +1 -1
  114. package/dist/assets/{NoDataChart-DCTRXLc7-D5LF3INw.js → NoDataChart-CrKeqWSr-CAkfwHDx.js} +1 -1
  115. package/dist/assets/{NoDataTable-D8Xw5pAY-BgZLVDvg.js → NoDataTable-4vPXmPYF-B_AEofEo.js} +1 -1
  116. package/dist/assets/{NotFoundPage-B_zPUigU-D8lJ4flr.js → NotFoundPage-BLWPU1wU-DwBFIS27.js} +6 -6
  117. package/dist/assets/{NotificationSettingsPage-aKLRiMp--Cp-2qZ_k.js → NotificationSettingsPage-CDiDLX3A-DbdZrkYX.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-CVEetkBc-Bhff30Ks.js → NotificationsListConfig-B5pDa4cJ-CJvglMha.js} +1 -1
  119. package/dist/assets/{NotificationsPage-DEw6V83J-CxHoLpSk.js → NotificationsPage-Ccl7Dny1-DkOfM7pn.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-DJMov6Ux-CdOPZnLv.js → OpExByVendorPage-spd-nKV4-gro5HZnt.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-BG9y5C0t-CYXMPFM7.js → OverlayContainerPage-BG9y5C0t-DQ7U2dYB.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-RBTh1bFk-D0NH3KgV.js → PandLWithForecastPage-TSoe4Z7F-B5IOZhui.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D-kQI4nd-C0_R1ayg.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-Dp7MlqYC.js} +1 -1
  124. package/dist/assets/{PeoplePage-BEc-Oss7-CShSUyyH.js → PeoplePage-b5_I0qOw-BdZ-JULF.js} +1 -1
  125. package/dist/assets/{Preview-CX5T2DcP.js → Preview-CskSI0Y2.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-BRo0P4GW-SDc6mLnO.js → ProductsCarousel-C3M0ocdF-Cxvmq7ks.js} +1 -1
  127. package/dist/assets/{PromoBaseCards-BrXJEufN-DAnzz-Hq.js → PromoBaseCards-BOGJI2ws-BJ7KS-Ne.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-BIg9Iais-4dl6uJJ-.js → QBOConnectionDialog-CmpnnuzP-N5FQpary.js} +1 -1
  129. package/dist/assets/{QBOSetupSection-DDoUJ7L6-3j-67IlN.js → QBOSetupSection-DjnN9dgv-Ci7ynToC.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CP0muUGK-RxT1KMUp.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-G7FD03RU.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-BpVWq3rk-CR9aTQnl.js → ReimbursementApprovalRulesPage-BsCTIqUJ-DYnf8ClJ.js} +1 -1
  132. package/dist/assets/{ReimbursementDetailPage-pCg86_Ty-BwhcfBe1.js → ReimbursementDetailPage-BbyxE2uL-CxSDUpfx.js} +1 -1
  133. package/dist/assets/{ReimbursementPromoPage-BW6icjG5-mcLOoT_E.js → ReimbursementPromoPage-CyEgwqcf-BAxRR7yW.js} +4 -4
  134. package/dist/assets/{ReimbursementSetUpPage-B6OhWEWH-DIMlAkpI.js → ReimbursementSetUpPage-RETPkEQd-BfC97OkK.js} +4 -4
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DmDoqEZh-DqiaJS-g.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-Cd74ACVd.js} +1 -1
  136. package/dist/assets/{ReloadCard-DIFXZM9U-DiSA6wjy.js → ReloadCard-Bdoo0XiI-CbU6AKcU.js} +1 -1
  137. package/dist/assets/{ReportTableViewSelector-BsIDwouQ-BYIcesly.js → ReportTableViewSelector-Bc1K7mU_-NN_XQWpz.js} +3 -3
  138. package/dist/assets/{ReportsPage-BFTuYQt2-CqrYhEmL.js → ReportsPage-BOTHMLWh-DdFE1MGv.js} +1 -1
  139. package/dist/assets/{RevenueChart-BoFq3ebd-Bff-oH-Y.js → RevenueChart-DvyZ3aO7-DHPO_wEA.js} +1 -1
  140. package/dist/assets/{ReviewDetailsPage-6kCQzaHm-DKGelT35.js → ReviewDetailsPage-BIMg1n2e-CkA1ITE_.js} +1 -1
  141. package/dist/assets/{ReviewOverlay-Dhb-kL6G-DzVZKp1R.js → ReviewOverlay-CxwoiOLC-Bnq-l2FH.js} +1 -1
  142. package/dist/assets/{RoleWithToolTip-BfM8Ltz4-iiSlTQz9.js → RoleWithToolTip-Ct3_VuDM-_iITsTgs.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ccewwmwc-DCelIq8m.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-D-sJkv0I.js} +3 -3
  144. package/dist/assets/{ScheduleDetailsPage-D4LK83qQ-CvkrnpWB.js → ScheduleDetailsPage-5FWpLRtd-BR7PDtvG.js} +3 -3
  145. package/dist/assets/{ScheduleSequenceTable-BZR2cL6z-DvMvfRpB.js → ScheduleSequenceTable-R3-PsXES-B704swZh.js} +1 -1
  146. package/dist/assets/{ScreenRoutes-BGawIPce.js → ScreenRoutes-BNgKjo0e.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-CxjYbrXu-CtMlCNu-.js → SetUpAccountSection-CctbMmoK-D5qM49W4.js} +1 -1
  148. package/dist/assets/{SignIn-CVmtPGKL-lMaeYDDV.js → SignIn-CmgmnRm4-DJ-8k4sd.js} +1 -1
  149. package/dist/assets/{SignInScreen-Brs5JZL3.js → SignInScreen-DP9hLXz4.js} +1 -1
  150. package/dist/assets/{SpendManagementListViewPage-BLjP9T8h-BnFTO4D4.js → SpendManagementListViewPage-CFUxCqkU-BytzTuq3.js} +3 -3
  151. package/dist/assets/{SpendManagementPerTabPage-Ck4brjun-DltY6E6W.js → SpendManagementPerTabPage-C-kqNTci-Byg7duEy.js} +1 -1
  152. package/dist/assets/{SpendManagementSection-DAqR2c98-D3bsfefY.js → SpendManagementSection-CIz4nE_w-BLIe7E_T.js} +1 -1
  153. package/dist/assets/StatementItem-vVtoBN2w-H5lMjfJF.js +31 -0
  154. package/dist/assets/{StatementsPage-DcKziEfZ-CGukv1A0.js → StatementsPage-As5WOnMR-DYr-27Vm.js} +1 -1
  155. package/dist/assets/{StatusSwitcher-BI-dgnrK-D28HGb7p.js → StatusSwitcher-Bv-ozN6U-lU56jlZg.js} +1 -1
  156. package/dist/assets/{SubTabSwitcher-BpNI5Wke-ByUqTUrc.js → SubTabSwitcher-D7QeM6nb-4PmLMj94.js} +1 -1
  157. package/dist/assets/SummaryCard-C2qoTsAY-hpn_xEhm.js +1 -0
  158. package/dist/assets/{TaskManagementPage-Bz1uP5hK-BTOSRUmD.js → TaskManagementPage-BJwp32Ph-g3CZaUE9.js} +8 -8
  159. package/dist/assets/{TimeRangeSwitcher-oORYeFzN-DKdPFD--.js → TimeRangeSwitcher-D00bDDhP-Crh2YYPY.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcher-JcJSbn0--CcoqjfKK.js → TimeframeSwitcher-DA99HdHt-Du77XkCa.js} +1 -1
  161. package/dist/assets/{TimeframeSwitcherWithToggle-BEZU-KDj--L6gnxWh.js → TimeframeSwitcherWithToggle-DyggDIQj-DaQpWxtk.js} +2 -2
  162. package/dist/assets/{TopExCard-CF6z0JWk-DhtwacDM.js → TopExCard-Z1WabZ8c-CV-g2xZM.js} +1 -1
  163. package/dist/assets/{TopExDetailPage-DrcKlFuy-l4qqxVxW.js → TopExDetailPage-CzHG4f9E-_r1hd5Zf.js} +6 -6
  164. package/dist/assets/{TransactionActivityLogPage-BB4q0jan-D-0tv-kK.js → TransactionActivityLogPage-CGKnjNfU-CJd8ynVA.js} +1 -1
  165. package/dist/assets/{TransactionDetailPage-DRG_qosz-CP5I3ayE.js → TransactionDetailPage-1-mLOWSz-T4S9c_1A.js} +1 -1
  166. package/dist/assets/{TransactionList-iw4pyMYF-CyZl4b_a.js → TransactionList-BB-xoIGm-B8RHzauJ.js} +1 -1
  167. package/dist/assets/{TransactionListBig-BljAUwAB-DEyq2pmx.js → TransactionListBig-C5Sf5Xh--BB10zRNq.js} +1 -1
  168. package/dist/assets/{TransactionListPage-ReGTmF43-DWJ4i2EV.js → TransactionListPage-Cj7h1Ros-CR24GYSI.js} +1 -1
  169. package/dist/assets/{TransactionVendorDetailPage-DXuYIj-p-DHoN9r-0.js → TransactionVendorDetailPage-SsrSOk3O-CMSt7oTu.js} +1 -1
  170. package/dist/assets/{TransferDrawerPage-C3q8h8Zy-Ci732h-D.js → TransferDrawerPage-BvKZ7vHF-CuCcqZk-.js} +1 -1
  171. package/dist/assets/{TreasuryOverviewPage-DqjFEV9B-DEhPIb9t.js → TreasuryOverviewPage-DwvjMR4_-DJuXDQF6.js} +1 -1
  172. package/dist/assets/{TreasuryPromoPage-ByeK0W_5-BlcmbMLB.js → TreasuryPromoPage-CtTFvSQW-3OarQ2S5.js} +9 -9
  173. package/dist/assets/TreasuryStatementsPage-Catz8shX-vU5UesID.js +58 -0
  174. package/dist/assets/{TreasuryTaxLetterPage-DwLyqS86-ByYY-8mz.js → TreasuryTaxLetterPage-D8hzCL5o-B_tFsKHc.js} +2 -2
  175. package/dist/assets/{TrendChart-Dgh_21FN--kwzHL_J.js → TrendChart-Bnp4Pcdf-DVelkGmA.js} +1 -1
  176. package/dist/assets/{TrendWithTransactions-BgIPapHk-CrdCa3XC.js → TrendWithTransactions-3D1FvM8G-CSo4InzM.js} +1 -1
  177. package/dist/assets/{UncategorizedAccountsMappingPage-DIIJcGrj-5nu10o5v.js → UncategorizedAccountsMappingPage-DbyY-dYB-BA44ympu.js} +1 -1
  178. package/dist/assets/{UnitIntegrationPage-DIOZhQOZ-CSw0hlrX.js → UnitIntegrationPage-CTzme1te-CkMH9YKQ.js} +1 -1
  179. package/dist/assets/{UploadAdditionalDocumentOverlay-qrcEQmkz-BcDGNs5r.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-D59nwhG6.js} +1 -1
  180. package/dist/assets/{Vendor2FAPopup-C58w6vC7-BF3JsPa2.js → Vendor2FAPopup-D0zYKkIv-B3WxVVEB.js} +1 -1
  181. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-UL8mKQvf.js +1 -0
  182. package/dist/assets/{VendorDetailPage-CEQFcNHr-Bd7VSPmb.js → VendorDetailPage-Br9wIOnI-MiPypEL_.js} +1 -1
  183. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-Doixu70d.js +1 -0
  184. package/dist/assets/{VendorFiling1099EditablePage-Dl7jZYBV-0lRgJr-n.js → VendorFiling1099EditablePage-himC7iD3-aK-FBD-o.js} +1 -1
  185. package/dist/assets/{VendorFirstReviewPage-yVbtg_tG-CqOvdGf3.js → VendorFirstReviewPage-BbknTCBD-RpSPDveD.js} +1 -1
  186. package/dist/assets/{VendorInternationalWireDetailsPage-DNDv_s8G-DQjciQSb.js → VendorInternationalWireDetailsPage-CS595Xgc-BFwPNTjE.js} +1 -1
  187. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-D8lZKLu0.js +1 -0
  188. package/dist/assets/{VendorsAccountsSection-Cscbgqrx-C1RHlvPz.js → VendorsAccountsSection-CgSJu8wq-CcmStoDy.js} +1 -1
  189. package/dist/assets/{VerifyDevice-D1vsUSdJ-BBkN3s70.js → VerifyDevice-Dvf0JsNN-DTrHqfeh.js} +1 -1
  190. package/dist/assets/{VideoPlayer-TlEy-oD0-DPajHNBJ.js → VideoPlayer-VAzOGCDL-Dcpb5Ypp.js} +2 -2
  191. package/dist/assets/{VideoPopup-3DD646kG-DcWerFCQ.js → VideoPopup-BqvZ-XIh-EN-DDLM7.js} +4 -4
  192. package/dist/assets/{WarningsDrawerPage-Fj5zTXdi-flkoMF6L.js → WarningsDrawerPage-DeNonoNp-D09UQplv.js} +1 -1
  193. package/dist/assets/{ZeniAccountDetailPage-BbsXzuHD-9QRb-G6q.js → ZeniAccountDetailPage-GcwTJdB8-Dd8t1-yB.js} +1 -1
  194. package/dist/assets/{ZeniAccountListViewPage-lmuVUpKS-CuGYg-R2.js → ZeniAccountListViewPage-CdwO0Duy-BO2aQzFc.js} +1 -1
  195. package/dist/assets/{ZeniAccountNavBarPieces-CQhwBKXD-CXrBS44d.js → ZeniAccountNavBarPieces-BrSIfL36-BX20H3cn.js} +1 -1
  196. package/dist/assets/{ZeniAccountPromoPage-CXEb9tRE-3JGhoGmA.js → ZeniAccountPromoPage-JrcedQYB-yS--HdV-.js} +1 -1
  197. package/dist/assets/{ZeniAccountSetupPage-DPhYQu6u-Cj4QNcEI.js → ZeniAccountSetupPage-TKBfbgzJ-BgxZZ70U.js} +1 -1
  198. package/dist/assets/{ZeniCopyright-pvaggW6x-BqjkqJsc.js → ZeniCopyright-DglqrTpl-5K7hWC6N.js} +1 -1
  199. package/dist/assets/{ZeniTransferAmountSlider-Dlyom9dD-DkUIp6PD.js → ZeniTransferAmountSlider-BcaZZuAw-CNzhTlHz.js} +1 -1
  200. package/dist/assets/{add-to-wallet-DgdBD8_G-DUoHYHL7.js → add-to-wallet-DgdBD8_G-BFk5zTW3.js} +1 -1
  201. package/dist/assets/{analytics-BewK2g0S.js → analytics-uGzTqGx1.js} +1 -1
  202. package/dist/assets/{analyticsHelper-AeOsAjMK-Ci2hren8.js → analyticsHelper-CAYdbjhS-CbXlhF0X.js} +1 -1
  203. package/dist/assets/{analyticsHelper-Du1RmyHh.js → analyticsHelper-CJT_EkQg.js} +1 -1
  204. package/dist/assets/{arrow-south-east-round-PEovUgvH-IVgPuzbG.js → arrow-south-east-round-PEovUgvH-D4OZgj3r.js} +1 -1
  205. package/dist/assets/{auto-transfer-rule-mbafm5D3-B6OVEsNZ.js → auto-transfer-rule-mbafm5D3-Divy6cES.js} +1 -1
  206. package/dist/assets/{chartTypes-BLsP7rGF-CqVdxH4Z.js → chartTypes-CD3vrBsI-CvXENNfl.js} +1 -1
  207. package/dist/assets/{commonDimensions-DIm7kTtR-vEiJGtqA.js → commonDimensions-Oz1tdAcx-BJKhGsnL.js} +1 -1
  208. package/dist/assets/{commonTypes-B3mnx2x_-BJwPTlX8.js → commonTypes-5tEXwrX4-BvhObQ7j.js} +1 -1
  209. package/dist/assets/{constants-BfTj_HfY.js → constants-DhUwwCD7.js} +1 -1
  210. package/dist/assets/{core-pNImhQEZ.js → core-gc5ND_yy.js} +1 -1
  211. package/dist/assets/{dash.all.min-BXTeE7c6.js → dash.all.min-CzlxgLf2.js} +1 -1
  212. package/dist/assets/{downloadPdf-B5WrL0K1-C-zT0Hsb.js → downloadPdf-Dsuxeias-A2bbtbVa.js} +1 -1
  213. package/dist/assets/{empty-DAqaP3I7.js → empty-CDyK13UU.js} +1 -1
  214. package/dist/assets/{empty-Blhza4DW.js → empty-CcGTwUPn.js} +1 -1
  215. package/dist/assets/{epic-u9zN-ile.js → epic-BSSEFpHM.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-DPkpZVRO.js → gift-box-Cmt9OgIZ-DR9Akjs9.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DGfMOe4J.js → graphic-no-data-l-DU4J8fDt-1A69LwX-.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-pdP8fLN0.js → graphic-no-data-net-burn-l-CzmycA0m-hemyIa-W.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-DUpb1X9A.js → handshake-BPg58FML-DJU2g1k7.js} +1 -1
  220. package/dist/assets/{helper-BVESv00--CvIet0PS.js → helper-Ckm10Uko-D-gLYGRP.js} +1 -1
  221. package/dist/assets/{index-CIISShoa.js → index-7x2_8U2Z.js} +1 -1
  222. package/dist/assets/{index-DJBjO3h6.js → index-BXszvLP6.js} +1 -1
  223. package/dist/assets/{index-lSeuN6he.js → index-C85N4mmE.js} +1 -1
  224. package/dist/assets/{index-BPaR2lvP.js → index-CUxbisrq.js} +7 -7
  225. package/dist/assets/{index-C0614m_b.js → index-DJJ-8bYf.js} +1 -1
  226. package/dist/assets/{index-DdijllDO.js → index-DmEInPYU.js} +1 -1
  227. package/dist/assets/{index-Crg8G4Oy.js → index-Dns-GxvR.js} +1 -1
  228. package/dist/assets/{lexical-BUygpfI7.js → lexical-zfv1-tRH.js} +1 -1
  229. package/dist/assets/{liveblocks-C4DKHbPz.js → liveblocks-DTtNefcp.js} +1 -1
  230. package/dist/assets/{lottie-CsNuSf0J.js → lottie-BctA_6Pz.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-CuAQ3LfH.js +1 -0
  232. package/dist/assets/mapSectionWithAcOnlyToTreeNode-Cgyt68f3-CwLJBfzm.js +1 -0
  233. package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-B2q1ZmG3.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-DhXKj6L8.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-Cc0ArlOT.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-eZfXMDx3.js +1 -0
  237. package/dist/assets/{mui-Bxat3ZJX.js → mui-CW7vGIKQ.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-BOoV26hp.js → page-detail-CWX5S47F-CURtp-Kt.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-BjB1AJvP.js → panelSelectedMixin-Cddsb26L-270aHsWR.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-BmOKc6LH.js → radio-default-CiSgisfh-NpjFGVm3.js} +1 -1
  241. package/dist/assets/{react-D5yO6y1s.js → react-4IaoU2Ar.js} +1 -1
  242. package/dist/assets/{react-CNEw58lh.js → react-BxD6EI1V.js} +2 -2
  243. package/dist/assets/{react-Cm6WQ6_v.js → react-C2Rg6f-G.js} +1 -1
  244. package/dist/assets/{react-D_lAXSty.js → react-C6o_c0l9.js} +1 -1
  245. package/dist/assets/{react-BOEG9dGs.js → react-ClMWdYr1.js} +1 -1
  246. package/dist/assets/{react-C7fLwcbQ.js → react-Cp9-IfdP.js} +1 -1
  247. package/dist/assets/{react-DueUee8t.js → react-tSlc14NL.js} +1 -1
  248. package/dist/assets/{react-U6Tf1But.js → react-zfCjE7gH.js} +1 -1
  249. package/dist/assets/{recharts-BNNpZjq4.js → recharts-CUzMVol9.js} +1 -1
  250. package/dist/assets/{sentry-BLwIhkwX.js → sentry-tsfGilE0.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-Cc6VP7oN.js → shield-DOlUxcFf-D2WjmHlw.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-aLNB35t7-SXHRhJKA.js +1 -0
  253. package/dist/assets/{toChartData-BkubFDq8-B4V-ZeX3.js → toChartData-DUL6vnzJ-BytIs-si.js} +1 -1
  254. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CQrVRWqf.js → upload-reimbursement-receipt-O2N8vcO7-BD8zTKik.js} +1 -1
  255. package/dist/assets/{uploadAttachment-CzgakLtr-FUE9ukdA.js → uploadAttachment-Ck4wivBR-ChZLp45S.js} +1 -1
  256. package/dist/assets/{uploadReceipts-CIgkuVpu-BlYUkFyf.js → uploadReceipts-CIgkuVpu-DyKGxWBD.js} +1 -1
  257. package/dist/assets/{url-Buh6q1yH.js → url-CdkVWkur.js} +1 -1
  258. package/dist/assets/{url-D-StvbsH.js → url-hxlOC5jn.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-BMYHxmnu.js → useLongPress-GCK2COYQ-Bs1ArQdX.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-D7JQFCiS.js → usp-line-BBd1wKwW-C0cfP0ma.js} +1 -1
  261. package/dist/assets/{utils--7vqVVLA.js → utils-yWIuTv4c.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-BFw7CFlI.js → zeni-epic-state-DGV_6n4t.js} +3 -3
  263. package/dist/index.html +1 -1
  264. package/package.json +2 -2
  265. package/dist/assets/ApAgingDetailPage-B-1gVAu6-w7sdpjRB.js +0 -46
  266. package/dist/assets/ChargeCardPromoPage-CKl6K-nr-COCFmmiU.js +0 -222
  267. package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-DdbOtAcj.js +0 -1
  268. package/dist/assets/EntityDetailPage-D8FzsqNk-CG3MehFe.js +0 -18
  269. package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-CJTPXF_W.js +0 -1
  270. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-eRBr2jDq.js +0 -1
  271. package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-5Vd_zD2R.js +0 -1
  272. package/dist/assets/StatementItem-B_iG99XI-DShgH8Uj.js +0 -31
  273. package/dist/assets/SummaryCard-HW-1WXN9-DgoIvjKG.js +0 -1
  274. package/dist/assets/TreasuryStatementsPage-BjGwvMFL-D5A922Fc.js +0 -58
  275. package/dist/assets/VendorACHDetailsPage-BbxRwrEv-X-7CEh7O.js +0 -1
  276. package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-DqNaULem.js +0 -1
  277. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-BhVAEsXP.js +0 -1
  278. package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-BzVEhFHM.js +0 -1
  279. package/dist/assets/mapSectionWithAcOnlyToTreeNode-BIiMj0sc-DyRqPtzX.js +0 -1
  280. package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-pY4MxoTp.js +0 -1
  281. package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-DIcj-r1q.js +0 -1
  282. package/dist/assets/mapTimeframeBalancesToTreeNode-CyO5pm8k-DatRVo4t.js +0 -1
  283. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-DczrPoPI.js +0 -1
  284. package/dist/assets/toCOABalancesWithID-BWMF0py6-CZsR1gS6.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a9 as Xa,aS as z,ay as er,g6 as tr,j2 as W,e as Pe,o as a,g as ta,V as t,bE as ar,gk as rr,fx as ie,w as D,c1 as nt,d as p,aQ as me,ac as V,a_ as st,O as Fe,x as H,ak as K,N as ir,M as or,d8 as nr,au as aa,bM as sr,b1 as ct,aV as dr,ao as lt,aa as cr,h4 as lr,eJ as ur,aq as hr,ae as mr,gq as pr,a as Nt,u as _,di as ra,as as Cr,an as gr,c as br,d7 as fr,bx as xr,c3 as yr}from"./index-BPaR2lvP.js";import{a as l}from"./sentry-BLwIhkwX.js";import{n as r,c as ut,k as Sr}from"./mui-Bxat3ZJX.js";import{FB as wr,G_ as kr,bh as zt,bL as $r,bZ as Ir}from"./zeni-epic-state-BFw7CFlI.js";import{t as vr}from"./SpendManagementSection-DAqR2c98-D3bsfefY.js";import{D as oe,r as jr,i as Lr}from"./ChargeCardListTable-BoufojYF-71if8UPV.js";import{ChargeCardPromoUserContent as Ar}from"./ChargeCardPromoPage-CKl6K-nr-COCFmmiU.js";import{N as Er,J as Pr}from"./PromoBaseCards-BrXJEufN-DAnzz-Hq.js";import{z as Ot,L as _t,k as Fr,P as Tr}from"./LockCardPage-0piclOz3-DLHcJlLm.js";import{r as Mr,i as Dr}from"./graphic-no-data-net-burn-l-CzmycA0m-pdP8fLN0.js";import{t as Rr,o as Br}from"./arrow-south-east-round-PEovUgvH-IVgPuzbG.js";import"./liveblocks-C4DKHbPz.js";import"./core-pNImhQEZ.js";import"./recharts-BNNpZjq4.js";import"./lottie-CsNuSf0J.js";import"./analytics-BewK2g0S.js";import"./lexical-BUygpfI7.js";import"./utils--7vqVVLA.js";import"./RoleWithToolTip-BfM8Ltz4-iiSlTQz9.js";import"./CardNumberSubText-Cn0EZrNE-UdqTHAA8.js";import"./NavigationDots-CwCZ9EAa-jVLSmzI3.js";import"./usp-line-BBd1wKwW-D7JQFCiS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="87c7b806-65be-4963-83e1-8c31a4a54e35",e._sentryDebugIdIdentifier="sentry-dbid-87c7b806-65be-4963-83e1-8c31a4a54e35")}catch{}})();const ht={infoSubheadingTextMarginTop:new H(_[0],_[0]),cardsMinWidth:new H(343,353)},Ee=Fe.getLocalizedStrings().spendManagement.chargeCard.chargeCardsPromo.listPage,Ut=({cardPromoType:e,cardText:c,header:u,title:d,subTitle:n,slidingTextList:m,onClick:F,status:$,statusMessage:U})=>{const B=Pe(),A=$!==void 0,G=$==="rejected"?Ee.status.requestRejected:$==="under_review"?Ee.status.requestUnderReview:"";return t.jsxs(zr,{windowSize:B,cardPromoType:e,"data-testid":V("list-page-promo-card",e),onClick:()=>F(e),children:[t.jsxs(ia,{isStatusMode:A,children:[t.jsxs(na,{children:[A?t.jsx(Ur,{children:G}):t.jsx(oa,{children:u}),t.jsx(Wr,{children:d}),A?null:t.jsx(qr,{children:n})]}),!A&&t.jsxs(Kr,{children:[t.jsx(Jr,{}),m.length>0&&t.jsx(dt,{slideUpCount:m.length,children:m.map((ne,se)=>t.jsx(sa,{children:ne},`card-promo-${se.toString()}`))}),t.jsx(Yr,{})]}),U!=null&&A?t.jsx(Vr,{status:$,children:U}):null]}),t.jsx(Qr,{isStatusMode:A,children:t.jsx(Er,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})}),t.jsx(Zr,{isStatusMode:A,children:t.jsx(Pr,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})})]})},Vt=({cardType:e,header:c,title:u,creditLimit:d,onCreateNowClick:n})=>{const m=Pe();return t.jsx(Or,{windowSize:m,cardType:e,children:t.jsxs(_r,{children:[t.jsxs(na,{children:[t.jsx(oa,{children:c}),t.jsx(Gr,{children:t.jsx(Hr,{children:u})}),t.jsx(Xr,{windowSize:m,children:t.jsxs(ei,{windowSize:m,onClick:()=>n(e),"data-testid":V("total-cashback-info"),children:[t.jsx(sa,{children:Ee.createNow}),t.jsx(ti,{})]})})]}),e==="creditCard"?t.jsxs(ai,{children:[t.jsx(ri,{children:Ee.creditLimit}),t.jsx(ii,{children:d})]}):null]})})},Nr=e=>{const c=e-1;let u=`
1
+ import{a9 as Xa,aS as z,ay as er,g6 as tr,j2 as W,e as Pe,o as a,g as ta,V as t,bE as ar,gk as rr,fx as ie,w as D,c1 as nt,d as p,aQ as me,ac as V,a_ as st,O as Fe,x as H,ak as K,N as ir,M as or,d8 as nr,au as aa,bM as sr,b1 as ct,aV as dr,ao as lt,aa as cr,h4 as lr,eJ as ur,aq as hr,ae as mr,gq as pr,a as Nt,u as _,di as ra,as as Cr,an as gr,c as br,d7 as fr,bx as xr,c3 as yr}from"./index-CUxbisrq.js";import{a as l}from"./sentry-tsfGilE0.js";import{n as r,c as ut,k as Sr}from"./mui-CW7vGIKQ.js";import{FB as wr,G_ as kr,bh as zt,bL as $r,bZ as Ir}from"./zeni-epic-state-DGV_6n4t.js";import{t as vr}from"./SpendManagementSection-CIz4nE_w-BLIe7E_T.js";import{D as oe,r as jr,i as Lr}from"./ChargeCardListTable-YznzSsJo-_dDAhS8L.js";import{ChargeCardPromoUserContent as Ar}from"./ChargeCardPromoPage-DIfakIOK-CvlZUe5W.js";import{N as Er,J as Pr}from"./PromoBaseCards-BOGJI2ws-BJ7KS-Ne.js";import{z as Ot,L as _t,k as Fr,P as Tr}from"./LockCardPage-CZENNby7-DRVoRjI2.js";import{r as Mr,i as Dr}from"./graphic-no-data-net-burn-l-CzmycA0m-hemyIa-W.js";import{t as Rr,o as Br}from"./arrow-south-east-round-PEovUgvH-D4OZgj3r.js";import"./liveblocks-DTtNefcp.js";import"./core-gc5ND_yy.js";import"./recharts-CUzMVol9.js";import"./lottie-BctA_6Pz.js";import"./analytics-uGzTqGx1.js";import"./lexical-zfv1-tRH.js";import"./utils-yWIuTv4c.js";import"./RoleWithToolTip-Ct3_VuDM-_iITsTgs.js";import"./CardNumberSubText-_ZZbaz_k-CJI-nsfm.js";import"./NavigationDots-Dvce3gHt-DDCP-WPR.js";import"./usp-line-BBd1wKwW-C0cfP0ma.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="384250e3-a974-4f6a-97f4-7cc9327d0197",e._sentryDebugIdIdentifier="sentry-dbid-384250e3-a974-4f6a-97f4-7cc9327d0197")}catch{}})();const ht={infoSubheadingTextMarginTop:new H(_[0],_[0]),cardsMinWidth:new H(343,353)},Ee=Fe.getLocalizedStrings().spendManagement.chargeCard.chargeCardsPromo.listPage,Ut=({cardPromoType:e,cardText:c,header:u,title:d,subTitle:n,slidingTextList:m,onClick:F,status:$,statusMessage:U})=>{const B=Pe(),A=$!==void 0,G=$==="rejected"?Ee.status.requestRejected:$==="under_review"?Ee.status.requestUnderReview:"";return t.jsxs(zr,{windowSize:B,cardPromoType:e,"data-testid":V("list-page-promo-card",e),onClick:()=>F(e),children:[t.jsxs(ia,{isStatusMode:A,children:[t.jsxs(na,{children:[A?t.jsx(Ur,{children:G}):t.jsx(oa,{children:u}),t.jsx(Wr,{children:d}),A?null:t.jsx(qr,{children:n})]}),!A&&t.jsxs(Kr,{children:[t.jsx(Jr,{}),m.length>0&&t.jsx(dt,{slideUpCount:m.length,children:m.map((ne,se)=>t.jsx(sa,{children:ne},`card-promo-${se.toString()}`))}),t.jsx(Yr,{})]}),U!=null&&A?t.jsx(Vr,{status:$,children:U}):null]}),t.jsx(Qr,{isStatusMode:A,children:t.jsx(Er,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})}),t.jsx(Zr,{isStatusMode:A,children:t.jsx(Pr,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})})]})},Vt=({cardType:e,header:c,title:u,creditLimit:d,onCreateNowClick:n})=>{const m=Pe();return t.jsx(Or,{windowSize:m,cardType:e,children:t.jsxs(_r,{children:[t.jsxs(na,{children:[t.jsx(oa,{children:c}),t.jsx(Gr,{children:t.jsx(Hr,{children:u})}),t.jsx(Xr,{windowSize:m,children:t.jsxs(ei,{windowSize:m,onClick:()=>n(e),"data-testid":V("total-cashback-info"),children:[t.jsx(sa,{children:Ee.createNow}),t.jsx(ti,{})]})})]}),e==="creditCard"?t.jsxs(ai,{children:[t.jsx(ri,{children:Ee.creditLimit}),t.jsx(ii,{children:d})]}):null]})})},Nr=e=>{const c=e-1;let u=`
2
2
  0% {
3
3
  transform: translateY(0);
4
4
  }
@@ -1,4 +1,4 @@
1
- import{cl as ni,V as t,aa as li,ae as di,O as le,e as ie,ay as Se,a9 as ci,g as ze,hb as hi,j3 as pi,j4 as ui,j5 as mi,aT as gi,o as i,ac as G,cu as xi,w as Re,d as I,b5 as wi,cC as Ci,j6 as fi,j7 as yi,c1 as ye,cF as Oe,bT as Si,aV as ki,x as C,eU as vi,bc as ji,j8 as $i,aW as bi,y as Ii,ak as ee,hf as Li,ao as Y,an as J,u as p,cU as zi,eS as Fi,j9 as Ai,ja as Pi,N as ft,c6 as yt,jb as St,jc as Bi,b$ as Ri,cI as Ye,jd as kt,dE as Di,dF as q,aQ as ce,cE as vt,L as jt,je as _i,cL as Ei,iX as Je,bM as $t,bO as bt,jf as Ti,jg as Oi,aX as je,bv as Vi,c7 as Ui,c8 as Ni,jh as Mi}from"./index-BPaR2lvP.js";import{P as pe,a as f}from"./sentry-BLwIhkwX.js";import{n as o,c as Xe}from"./mui-Bxat3ZJX.js";import{T as It}from"./RoleWithToolTip-BfM8Ltz4-iiSlTQz9.js";import{j as Ve}from"./CardNumberSubText-Cn0EZrNE-UdqTHAA8.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]="ca975cc6-5a8c-4c1b-bc13-75e8dc10d695",e._sentryDebugIdIdentifier="sentry-dbid-ca975cc6-5a8c-4c1b-bc13-75e8dc10d695")}catch{}})();const ge=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Wi=le.getLocalizedStrings().common.strings.empty,Qe={key:"owner",value:ge.owner,sortOrder:"ascending",width:new C(120,120,160,200,200)},Ze={key:"cardName",value:ge.cardName,sortOrder:"ascending",width:new C(120,120,160,171,171)},et={key:"cardType",value:ge.cardType,sortOrder:"ascending",width:new C(120,120,130,170,170)},tt={key:"status",value:ge.status,sortOrder:"ascending",width:new C(115,115,125,132,132)},it={key:"utilisation",value:ge.utilisation,sortOrder:"ascending",width:new C(p[11],p[11],p[11],p[12],120)},ot={key:"limit",value:ge.limit,sortOrder:"ascending",width:new C(68,68,68,120,120)},Lt=e=>e===!0?[{...Qe,width:new C(0,0),value:Wi},Ze,et,tt,it,ot]:[Qe,Ze,et,tt,it,ot],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Hi}},chargeCard:j}}=le.getLocalizedStrings(),re={containerPaddingLeft:new C(p[3],p[2]),containerPaddingRight:new C(p[2],p[3]),containerPaddingTop:new C(p[2],p[3]),containerPaddingBottom:new C(p[2],p[3]),containerMarginLeft:new C(p[4],p[0]),containerMarginRight:new C(p[4],p[0]),webkitLineClamp:new C(2,1,1,1,1)};var Ki=(e=>(e.CLOSE="close",e.LOCK="lock",e.UNLOCK="unlock",e.RENAME="rename",e.UPDATE_SPEND_LIMIT="update_spend_limit",e.REVOKE_INVITE="revoke_invite",e))(Ki||{});const qi={moreItemFont:new ft("extraSmallRegular","smallRegular")},Gi=({setCardIdForRowAction:e,setActionTypeForRowAction:s,rowActionView:r,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:a,isCardControlsEnabled:n,showViewForCardUser:x,signedInUser:w,resendInviteId:g,index:S,onChargeCardRowClick:$,onChargeCardResendInviteClick:k})=>{const[h,m]=f.useState(!1),[y,B]=f.useState(!1);f.useEffect(()=>{h||B(!1)},[h]),f.useEffect(()=>{l.length>0&&h&&(m(!1),B(!1))},[l.length,h]);const R=r.cardId===a.id,D=l.includes(a.id),z=R&&r.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",N=R&&r.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",u=z||N,v=ie(),E=!!Se().loggedInUserRole.includes("charge_card_user")||x,M=f.useCallback(()=>{$(a.id,S)},[a.id]),O=kt(a)/a.limit.amount*100,W=a?.cardHolderUserId===w.userId,A=a.status.code!=="closed"&&a.status.code!=="closed_by_customer",V=Di(a.cardHolderUser,!1),H=a.balance,F=Lt(E),te=t.jsxs(t.Fragment,{children:[t.jsx(q,{isLoading:u,customStyle:{width:i.sp9,height:"20px",borderRadius:i.sp1},children:t.jsx(uo,{title:ce("0,0.[00]",H),className:"amountToUtilize",children:ce("0,0.[00]",H)})}),O!==0?t.jsx(q,{isLoading:u,customStyle:{width:i.sp11,height:i.sp3,borderRadius:i.sp1},children:t.jsx(mo,{className:"amountToUtilize",children:`${Math.round(O)}${Hi}`})}):null]}),X=a.type.code,_=j.cardList.tooltip[X],de=_!=null?W?_.self:`${V} ${_.cardUser}`:Ce.strings.empty;return t.jsx(Ji,{windowSize:v,children:t.jsx(Xi,{onClick:M,"data-testid":G("card-row",a.id),children:t.jsxs(Zi,{children:[E?null:t.jsx(ue,{children:t.jsxs(eo,{windowSize:v,responsiveWidth:F[0].width,children:[t.jsx(q,{isLoading:u,flex:"0 0",customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:t.jsx(vt,{personBasic:a.cardHolderUser,styles:{height:i.sp6,width:i.sp6,minWidth:i.sp6}})}),t.jsxs(io,{isLoading:u,children:[t.jsx(to,{isLoading:u,children:t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(oo,{windowSize:v,title:V,className:"cardHolderName",children:V===Ce.strings.empty?Ce.strings.hyphen:V})})}),t.jsx(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:t.jsx(nt,{className:"additionalInfoContainer",children:a.cardHolderRoles?.userRoles!=null&&t.jsx(It,{roles:a.cardHolderRoles?.userRoles})})})]})]})}),t.jsx(ue,{children:t.jsxs(no,{isLoading:u,windowSize:v,responsiveWidth:F[1].width,children:[t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(lo,{title:a.cardName,className:"cardName",children:a.cardName})}),t.jsxs(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:[" ",t.jsx(yo,{windowSize:v,className:"cardNameSubText",children:a.status.code==="request_on_hold"?Ce.strings.hyphen:j.cardDetails.expiryHideOut+Ce.strings.space+a.accountLast4})]})]})}),t.jsx(ue,{children:t.jsx(co,{windowSize:v,responsiveWidth:F[2].width,children:t.jsx(ho,{className:"card-type",children:t.jsx(q,{isLoading:u,customStyle:{width:"144px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Ve,{cardDetail:a,forDetailPage:!1})})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[3].width,children:t.jsx(q,{isLoading:u,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:g===a.id?t.jsx(jt,{size:"Small",start:!0}):t.jsxs(po,{children:[t.jsx(wo,{children:a.status.code==="request_on_hold"?t.jsxs(ye,{display:"flex",title:de,placement:"top",style:{padding:`${i.sp2} ${i.sp3}`},children:[t.jsx(Le,{status:a.status.code,style:{cursor:"pointer"}}),t.jsx(go,{style:{marginLeft:i.sp1},className:"infoIconTooltip"})]}):t.jsx(Le,{status:a.status.code})}),a.status.code==="request_on_hold"&&!W?t.jsx(xo,{onClick:K=>{K.stopPropagation(),k(a.id)},"data-testid":G("send-reminder",a.id),children:j.cardList.sendReminder}):null]})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[4].width,children:te})}),t.jsx(ue,{children:t.jsxs(so,{windowSize:v,responsiveWidth:F[5].width,children:[t.jsxs(ro,{windowSize:v,isLoading:u,children:[t.jsx(q,{isLoading:u,customStyle:{width:"68px",height:"20px",borderRadius:i.sp1},children:t.jsx(ao,{className:"limitAmount",windowSize:v,title:ce("0,0.[00]",a.limit),children:ce("0,0.[00]",a.limit)})}),t.jsx(nt,{className:"additionalInfoContainer",children:t.jsx(q,{isLoading:u,customStyle:{width:i.sp8,height:i.sp3,borderRadius:i.sp1},children:a.creditLimitFrequency.name})})]}),t.jsx(Co,{className:"menu-icon",onMouseEnter:()=>{!h&&A&&B(!0)},onMouseLeave:()=>{A&&B(!1)},children:(()=>{const K=a.status.code==="locked",oe=a.status.code==="closed"||a.status.code==="closed_by_customer",xe=E?n&&!u&&!oe&&!(K&&a.isLockedByAdmin):n?!u&&A:a.status.code==="request_on_hold",b=l.length>0;return xe&&t.jsx(ye,{open:y&&!h&&!b,variant:"standard",title:j.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Oe,{isMenuVisible:!0,menuItems:t.jsx(fo,{children:t.jsx(zt,{cardDetail:a,isCardControlsEnabled:n,isChargeCardUser:E,setIsMenuOpen:m,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:Fe=>{b||m(Fe)},isMenuOpen:h&&!b,menuIconStyles:{height:"auto",cursor:b?"not-allowed":"pointer",opacity:b?.5:1,pointerEvents:b?"none":"auto"},styles:{transform:`translate(${i.sp3},${i.sp2})`}})})})()})]})})]})})})},zt=({cardDetail:e,isCardControlsEnabled:s,isChargeCardUser:r,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const a=ie();return s?e.status.code==="request_on_hold"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[t.jsx(Qi,{}),t.jsx(fe,{children:j.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:j.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:j.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:j.cardDetails.moreOptions.lock})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:j.cardDetails.moreOptions.lock})]}),t.jsx($e,{}),t.jsxs(L,{windowSize:a,hoverImportant:!0,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?t.jsx(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:t.jsx(fe,{children:j.cardDetails.revokeInvite})}):null},Le=({status:e,style:s})=>{const r=ze(),d=Yi(e,r),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return ie()==="small"?t.jsx(Je,{textColor:d,text:c[e],tagStyles:{maxWidth:i.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...s}}):t.jsx(Je,{textColor:d,text:c[e],styles:s,tagStyles:{padding:"1px 6px"}})},Yi=(e,s)=>{switch(e){case"active":return new je(I.success);case"request_on_hold":return new je(I.graphColor36);case"inactive":return new je(I.alert);default:return new je(s.colors.grey1)}},T=o(J)`
1
+ import{cl as ni,V as t,aa as li,ae as di,O as le,e as ie,ay as Se,a9 as ci,g as ze,hb as hi,j3 as pi,j4 as ui,j5 as mi,aT as gi,o as i,ac as G,cu as xi,w as Re,d as I,b5 as wi,cC as Ci,j6 as fi,j7 as yi,c1 as ye,cF as Oe,bT as Si,aV as ki,x as C,eU as vi,bc as ji,j8 as $i,aW as bi,y as Ii,ak as ee,hf as Li,ao as Y,an as J,u as p,cU as zi,eS as Fi,j9 as Ai,ja as Pi,N as ft,c6 as yt,jb as St,jc as Bi,b$ as Ri,cI as Ye,jd as kt,dE as Di,dF as q,aQ as ce,cE as vt,L as jt,je as _i,cL as Ei,iX as Je,bM as $t,bO as bt,jf as Ti,jg as Oi,aX as je,bv as Vi,c7 as Ui,c8 as Ni,jh as Mi}from"./index-CUxbisrq.js";import{P as pe,a as f}from"./sentry-tsfGilE0.js";import{n as o,c as Xe}from"./mui-CW7vGIKQ.js";import{T as It}from"./RoleWithToolTip-Ct3_VuDM-_iITsTgs.js";import{j as Ve}from"./CardNumberSubText-_ZZbaz_k-CJI-nsfm.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]="76b14078-af6b-43c2-a88b-48829e5c657c",e._sentryDebugIdIdentifier="sentry-dbid-76b14078-af6b-43c2-a88b-48829e5c657c")}catch{}})();const ge=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Wi=le.getLocalizedStrings().common.strings.empty,Qe={key:"owner",value:ge.owner,sortOrder:"ascending",width:new C(120,120,160,200,200)},Ze={key:"cardName",value:ge.cardName,sortOrder:"ascending",width:new C(120,120,160,171,171)},et={key:"cardType",value:ge.cardType,sortOrder:"ascending",width:new C(120,120,130,170,170)},tt={key:"status",value:ge.status,sortOrder:"ascending",width:new C(115,115,125,132,132)},it={key:"utilisation",value:ge.utilisation,sortOrder:"ascending",width:new C(p[11],p[11],p[11],p[12],120)},ot={key:"limit",value:ge.limit,sortOrder:"ascending",width:new C(68,68,68,120,120)},Lt=e=>e===!0?[{...Qe,width:new C(0,0),value:Wi},Ze,et,tt,it,ot]:[Qe,Ze,et,tt,it,ot],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Hi}},chargeCard:j}}=le.getLocalizedStrings(),re={containerPaddingLeft:new C(p[3],p[2]),containerPaddingRight:new C(p[2],p[3]),containerPaddingTop:new C(p[2],p[3]),containerPaddingBottom:new C(p[2],p[3]),containerMarginLeft:new C(p[4],p[0]),containerMarginRight:new C(p[4],p[0]),webkitLineClamp:new C(2,1,1,1,1)};var Ki=(e=>(e.CLOSE="close",e.LOCK="lock",e.UNLOCK="unlock",e.RENAME="rename",e.UPDATE_SPEND_LIMIT="update_spend_limit",e.REVOKE_INVITE="revoke_invite",e))(Ki||{});const qi={moreItemFont:new ft("extraSmallRegular","smallRegular")},Gi=({setCardIdForRowAction:e,setActionTypeForRowAction:s,rowActionView:r,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:a,isCardControlsEnabled:n,showViewForCardUser:x,signedInUser:w,resendInviteId:g,index:S,onChargeCardRowClick:$,onChargeCardResendInviteClick:k})=>{const[h,m]=f.useState(!1),[y,B]=f.useState(!1);f.useEffect(()=>{h||B(!1)},[h]),f.useEffect(()=>{l.length>0&&h&&(m(!1),B(!1))},[l.length,h]);const R=r.cardId===a.id,D=l.includes(a.id),z=R&&r.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",N=R&&r.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",u=z||N,v=ie(),E=!!Se().loggedInUserRole.includes("charge_card_user")||x,M=f.useCallback(()=>{$(a.id,S)},[a.id]),O=kt(a)/a.limit.amount*100,W=a?.cardHolderUserId===w.userId,A=a.status.code!=="closed"&&a.status.code!=="closed_by_customer",V=Di(a.cardHolderUser,!1),H=a.balance,F=Lt(E),te=t.jsxs(t.Fragment,{children:[t.jsx(q,{isLoading:u,customStyle:{width:i.sp9,height:"20px",borderRadius:i.sp1},children:t.jsx(uo,{title:ce("0,0.[00]",H),className:"amountToUtilize",children:ce("0,0.[00]",H)})}),O!==0?t.jsx(q,{isLoading:u,customStyle:{width:i.sp11,height:i.sp3,borderRadius:i.sp1},children:t.jsx(mo,{className:"amountToUtilize",children:`${Math.round(O)}${Hi}`})}):null]}),X=a.type.code,_=j.cardList.tooltip[X],de=_!=null?W?_.self:`${V} ${_.cardUser}`:Ce.strings.empty;return t.jsx(Ji,{windowSize:v,children:t.jsx(Xi,{onClick:M,"data-testid":G("card-row",a.id),children:t.jsxs(Zi,{children:[E?null:t.jsx(ue,{children:t.jsxs(eo,{windowSize:v,responsiveWidth:F[0].width,children:[t.jsx(q,{isLoading:u,flex:"0 0",customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:t.jsx(vt,{personBasic:a.cardHolderUser,styles:{height:i.sp6,width:i.sp6,minWidth:i.sp6}})}),t.jsxs(io,{isLoading:u,children:[t.jsx(to,{isLoading:u,children:t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(oo,{windowSize:v,title:V,className:"cardHolderName",children:V===Ce.strings.empty?Ce.strings.hyphen:V})})}),t.jsx(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:t.jsx(nt,{className:"additionalInfoContainer",children:a.cardHolderRoles?.userRoles!=null&&t.jsx(It,{roles:a.cardHolderRoles?.userRoles})})})]})]})}),t.jsx(ue,{children:t.jsxs(no,{isLoading:u,windowSize:v,responsiveWidth:F[1].width,children:[t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(lo,{title:a.cardName,className:"cardName",children:a.cardName})}),t.jsxs(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:[" ",t.jsx(yo,{windowSize:v,className:"cardNameSubText",children:a.status.code==="request_on_hold"?Ce.strings.hyphen:j.cardDetails.expiryHideOut+Ce.strings.space+a.accountLast4})]})]})}),t.jsx(ue,{children:t.jsx(co,{windowSize:v,responsiveWidth:F[2].width,children:t.jsx(ho,{className:"card-type",children:t.jsx(q,{isLoading:u,customStyle:{width:"144px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Ve,{cardDetail:a,forDetailPage:!1})})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[3].width,children:t.jsx(q,{isLoading:u,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:g===a.id?t.jsx(jt,{size:"Small",start:!0}):t.jsxs(po,{children:[t.jsx(wo,{children:a.status.code==="request_on_hold"?t.jsxs(ye,{display:"flex",title:de,placement:"top",style:{padding:`${i.sp2} ${i.sp3}`},children:[t.jsx(Le,{status:a.status.code,style:{cursor:"pointer"}}),t.jsx(go,{style:{marginLeft:i.sp1},className:"infoIconTooltip"})]}):t.jsx(Le,{status:a.status.code})}),a.status.code==="request_on_hold"&&!W?t.jsx(xo,{onClick:K=>{K.stopPropagation(),k(a.id)},"data-testid":G("send-reminder",a.id),children:j.cardList.sendReminder}):null]})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[4].width,children:te})}),t.jsx(ue,{children:t.jsxs(so,{windowSize:v,responsiveWidth:F[5].width,children:[t.jsxs(ro,{windowSize:v,isLoading:u,children:[t.jsx(q,{isLoading:u,customStyle:{width:"68px",height:"20px",borderRadius:i.sp1},children:t.jsx(ao,{className:"limitAmount",windowSize:v,title:ce("0,0.[00]",a.limit),children:ce("0,0.[00]",a.limit)})}),t.jsx(nt,{className:"additionalInfoContainer",children:t.jsx(q,{isLoading:u,customStyle:{width:i.sp8,height:i.sp3,borderRadius:i.sp1},children:a.creditLimitFrequency.name})})]}),t.jsx(Co,{className:"menu-icon",onMouseEnter:()=>{!h&&A&&B(!0)},onMouseLeave:()=>{A&&B(!1)},children:(()=>{const K=a.status.code==="locked",oe=a.status.code==="closed"||a.status.code==="closed_by_customer",xe=E?n&&!u&&!oe&&!(K&&a.isLockedByAdmin):n?!u&&A:a.status.code==="request_on_hold",b=l.length>0;return xe&&t.jsx(ye,{open:y&&!h&&!b,variant:"standard",title:j.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Oe,{isMenuVisible:!0,menuItems:t.jsx(fo,{children:t.jsx(zt,{cardDetail:a,isCardControlsEnabled:n,isChargeCardUser:E,setIsMenuOpen:m,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:Fe=>{b||m(Fe)},isMenuOpen:h&&!b,menuIconStyles:{height:"auto",cursor:b?"not-allowed":"pointer",opacity:b?.5:1,pointerEvents:b?"none":"auto"},styles:{transform:`translate(${i.sp3},${i.sp2})`}})})})()})]})})]})})})},zt=({cardDetail:e,isCardControlsEnabled:s,isChargeCardUser:r,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const a=ie();return s?e.status.code==="request_on_hold"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[t.jsx(Qi,{}),t.jsx(fe,{children:j.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:j.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:j.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx($e,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:j.cardDetails.moreOptions.lock})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:j.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:j.cardDetails.moreOptions.lock})]}),t.jsx($e,{}),t.jsxs(L,{windowSize:a,hoverImportant:!0,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Be,{}),t.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?t.jsx(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:t.jsx(fe,{children:j.cardDetails.revokeInvite})}):null},Le=({status:e,style:s})=>{const r=ze(),d=Yi(e,r),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return ie()==="small"?t.jsx(Je,{textColor:d,text:c[e],tagStyles:{maxWidth:i.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...s}}):t.jsx(Je,{textColor:d,text:c[e],styles:s,tagStyles:{padding:"1px 6px"}})},Yi=(e,s)=>{switch(e){case"active":return new je(I.success);case"request_on_hold":return new je(I.graphColor36);case"inactive":return new je(I.alert);default:return new je(s.colors.grey1)}},T=o(J)`
2
2
  color: inherit;
3
3
  `,fe=o(J)`
4
4
  color: ${I.important};
@@ -1,4 +1,4 @@
1
- import{a9 as ze,ay as Re,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u as l,o as i,x,jA as De,cl as Be,jB as G,ac as O,b5 as Oe,cC as Ae,j6 as Me,bT as He,aV as Ne,an as W,dF as j,h9 as U,aQ as _,c1 as We,cE as Ee,b$ as Ve,ao as H,cI as Q,d as $,ha as pe,g2 as me,f_ as ge,cq as _e,ak as F,iX as ue,bO as Ke,jC as Fe,je as Ye,cL as Ze,aX as z,jf as Ue,jg as Xe}from"./index-BPaR2lvP.js";import{a as S,P as X}from"./sentry-BLwIhkwX.js";import{n,c as J}from"./mui-Bxat3ZJX.js";import{t as qe}from"./SpendManagementSection-DAqR2c98-D3bsfefY.js";import{r as Ge,a as Qe,i as ye,g as Je}from"./SpendManagementListViewPage-BLjP9T8h-BnFTO4D4.js";import{cl as xe,H1 as fe}from"./zeni-epic-state-BFw7CFlI.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-B6OVEsNZ.js";import"./liveblocks-C4DKHbPz.js";import"./core-pNImhQEZ.js";import"./recharts-BNNpZjq4.js";import"./lottie-CsNuSf0J.js";import"./analytics-BewK2g0S.js";import"./lexical-BUygpfI7.js";import"./utils--7vqVVLA.js";import"./StatusSwitcher-BI-dgnrK-D28HGb7p.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="bd2c8619-6fe9-4957-a099-371a7d940f34",e._sentryDebugIdIdentifier="sentry-dbid-bd2c8619-6fe9-4957-a099-371a7d940f34")}catch{}})();const E=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,tt={key:"paymentDate",value:E.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},it={key:"sourceAccount",value:E.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},nt={key:"paymentStatus",value:E.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},ot={key:"initiatedBy",value:E.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},at={key:"amount",value:E.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},we=()=>[tt,it,nt,ot,at],P={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new x(l[0],l[4]),headerLastColumnRightPadding:new x(l[3],l[11]),headerLastColumnBottomPadding:new x(l[0],l[4]),headerLastColumnLeftPadding:new x(l[0],l[11]),headerHeight:new x(Ue,Xe)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=K(),r=N(),[d,g]=S.useState(we());S.useEffect(()=>{const s=[...d];for(const m of s)m.key===o.sortKey?m.sortOrder=o.sortOrder:m.sortOrder="ascending";g(s)},[o.sortKey,o.sortOrder]);const y=(s,m)=>{let C=m;o.sortKey===s&&(C=m==="ascending"?"descending":"ascending"),c(s,C)},h=d.find(s=>s.key===o.sortKey)??d[0],p=s=>d.find(m=>m.key===s)?.value??"",u=d.map(s=>s.key),b=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return r==="small"?t.jsxs(ct,{windowSize:r,children:[t.jsxs(mt,{children:[t.jsx(ut,{children:t.jsx(gt,{})}),t.jsx(Ve,{title:b.header.paymentDate,placeholder:b.header.paymentDate,pickerValues:u,valueToLabel:p,selectedValue:o.sortKey,onPickerSelectionChanged:s=>{y(s,"ascending")},optionTextStyle:I.extraSmallRegular,titleTextStyle:I.extraSmallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.grey4})]}),t.jsxs(ft,{onClick:()=>y(h.key,h.sortOrder),"data-testid":O("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(H,{children:h.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:r,children:t.jsx(Q,{})})})]})]}):t.jsx(dt,{windowSize:r,children:t.jsx(lt,{children:d.map(s=>s.width.value(r)!==0&&t.jsxs(ht,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:r,children:[t.jsxs(xt,{onClick:()=>y(s.key,s.sortOrder),"data-testid":O("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(H,{children:s.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:s,children:t.jsx(te,{windowSize:r,children:t.jsx(Q,{})})})]}),t.jsx(yt,{sortDataValue:o.sortKey,windowSize:r,isVisible:o.sortKey===s.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(pt,{onClick:()=>y("paymentDate","ascending"),"data-testid":O("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=X.memo(st),dt=n.div`
1
+ import{a9 as ze,ay as Re,e as N,g as K,V as t,bE as Ie,w as I,gk as Te,O as T,u as l,o as i,x,jA as De,cl as Be,jB as G,ac as O,b5 as Oe,cC as Ae,j6 as Me,bT as He,aV as Ne,an as W,dF as j,h9 as U,aQ as _,c1 as We,cE as Ee,b$ as Ve,ao as H,cI as Q,d as $,ha as pe,g2 as me,f_ as ge,cq as _e,ak as F,iX as ue,bO as Ke,jC as Fe,je as Ye,cL as Ze,aX as z,jf as Ue,jg as Xe}from"./index-CUxbisrq.js";import{a as S,P as X}from"./sentry-tsfGilE0.js";import{n,c as J}from"./mui-CW7vGIKQ.js";import{t as qe}from"./SpendManagementSection-CIz4nE_w-BLIe7E_T.js";import{r as Ge,a as Qe,i as ye,g as Je}from"./SpendManagementListViewPage-CFUxCqkU-BytzTuq3.js";import{cl as xe,H1 as fe}from"./zeni-epic-state-DGV_6n4t.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-Divy6cES.js";import"./liveblocks-DTtNefcp.js";import"./core-gc5ND_yy.js";import"./recharts-CUzMVol9.js";import"./lottie-BctA_6Pz.js";import"./analytics-uGzTqGx1.js";import"./lexical-zfv1-tRH.js";import"./utils-yWIuTv4c.js";import"./StatusSwitcher-Bv-ozN6U-lU56jlZg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="fc13e492-c8d1-4430-82f3-29ba37cc10af",e._sentryDebugIdIdentifier="sentry-dbid-fc13e492-c8d1-4430-82f3-29ba37cc10af")}catch{}})();const E=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,tt={key:"paymentDate",value:E.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},it={key:"sourceAccount",value:E.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},nt={key:"paymentStatus",value:E.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},ot={key:"initiatedBy",value:E.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},at={key:"amount",value:E.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},we=()=>[tt,it,nt,ot,at],P={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new x(l[0],l[4]),headerLastColumnRightPadding:new x(l[3],l[11]),headerLastColumnBottomPadding:new x(l[0],l[4]),headerLastColumnLeftPadding:new x(l[0],l[11]),headerHeight:new x(Ue,Xe)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=K(),r=N(),[d,g]=S.useState(we());S.useEffect(()=>{const s=[...d];for(const m of s)m.key===o.sortKey?m.sortOrder=o.sortOrder:m.sortOrder="ascending";g(s)},[o.sortKey,o.sortOrder]);const y=(s,m)=>{let C=m;o.sortKey===s&&(C=m==="ascending"?"descending":"ascending"),c(s,C)},h=d.find(s=>s.key===o.sortKey)??d[0],p=s=>d.find(m=>m.key===s)?.value??"",u=d.map(s=>s.key),b=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return r==="small"?t.jsxs(ct,{windowSize:r,children:[t.jsxs(mt,{children:[t.jsx(ut,{children:t.jsx(gt,{})}),t.jsx(Ve,{title:b.header.paymentDate,placeholder:b.header.paymentDate,pickerValues:u,valueToLabel:p,selectedValue:o.sortKey,onPickerSelectionChanged:s=>{y(s,"ascending")},optionTextStyle:I.extraSmallRegular,titleTextStyle:I.extraSmallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.grey4})]}),t.jsxs(ft,{onClick:()=>y(h.key,h.sortOrder),"data-testid":O("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(H,{children:h.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:r,children:t.jsx(Q,{})})})]})]}):t.jsx(dt,{windowSize:r,children:t.jsx(lt,{children:d.map(s=>s.width.value(r)!==0&&t.jsxs(ht,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:r,children:[t.jsxs(xt,{onClick:()=>y(s.key,s.sortOrder),"data-testid":O("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(H,{children:s.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:s,children:t.jsx(te,{windowSize:r,children:t.jsx(Q,{})})})]}),t.jsx(yt,{sortDataValue:o.sortKey,windowSize:r,isVisible:o.sortKey===s.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(pt,{onClick:()=>y("paymentDate","ascending"),"data-testid":O("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=X.memo(st),dt=n.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -0,0 +1,222 @@
1
+ import{e as $,V as r,g as G,ay as be,a9 as $e,aS as je,aQ as Se,g6 as Te,bE as ve,fH as ze,a as Y,ac as ee,O as oe,o as t,c as Pe,n as V,cM as ke,as as Ae,x,ar as Be,c1 as Ie,i$ as Le,ak as _e,u as p,N as S,d as y,bc as Re,aW as Ee,j0 as Me}from"./index-CUxbisrq.js";import{a as T}from"./sentry-tsfGilE0.js";import{n,c as De,k as Fe}from"./mui-CW7vGIKQ.js";import{FB as Ue}from"./zeni-epic-state-DGV_6n4t.js";import{x as Ne}from"./NavigationDots-Dvce3gHt-DDCP-WPR.js";import{J as H,N as O}from"./PromoBaseCards-BOGJI2ws-BJ7KS-Ne.js";import{M as _}from"./usp-line-BBd1wKwW-C0cfP0ma.js";import"./liveblocks-DTtNefcp.js";import"./core-gc5ND_yy.js";import"./recharts-CUzMVol9.js";import"./lottie-BctA_6Pz.js";import"./analytics-uGzTqGx1.js";import"./lexical-zfv1-tRH.js";import"./utils-yWIuTv4c.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]="02e82359-2529-453a-b7d7-8319f0c46153",e._sentryDebugIdIdentifier="sentry-dbid-02e82359-2529-453a-b7d7-8319f0c46153")}catch{}})();const g={containerPaddingTopBottom:new x(p[0],p[0]),uspContainerMarginX:new x(p[6],p[0]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12]),buttonTrayGap:new x(p[3],p[5]),termsOfAgreementMarginTop:new x(p[5],p[10]),contactAdminContainerMarginTop:new x(p[0],p[10]),contactAdminContainerMarginBottom:new x(p[4],p[0]),contactAdminContainerMarginLeftRight:new x(p[3],p[0])},v={promoBadgeText:new S("standardRegular","largeRegular"),promoBadgeTextBold:new S("standardBold","largeBold"),cardsContent:new S("extraSmallRegular","smallRegular"),contactAdmin:new S("extraSmallRegular","largeRegular"),uspText:new S("smallRegular","standardRegular"),uspBoldText:new S("smallMedium","standardMedium")},{common:U,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),Rr=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:a,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:u,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:W,onExpressInterestClick:ge})=>{const he=G(),J=be(),z=$(),X=$e().analytics,{chargeCardTermsDetails:R,companyChargeCardInfo:C,companyLocaleInfo:E}=i,Z=je(R?.fetchStatus.fetchState),[xe,K]=T.useState(!1),ue=()=>{X.trackCardsPromoPageClicked("schedule demo"),X.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:u,isCreditCardEnabled:w},"Cards Promo"),K(!0)},we=C!=null&&E!=null?Se("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:E.currencyCode,currencySymbol:E.currencySymbol}):void 0;T.useEffect(()=>{Z==="In-Progress"&&R?.fetchStatus.fetchState==="Completed"&&W()},[Z,W,R?.fetchStatus]);const Q=Ue(J.loggedInUserRoleMap),fe=Te(J),M=f==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:ye}=i,q=M?o.getPreApprovedNow:a?o.enableCardsButton:o.setupCardsButton;return r.jsxs(Je,{children:[r.jsx(ve,{title:o.title[f],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:z==="medium-compact"||z==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(ze,{onCancelClick:()=>{K(!1)},meetingUrl:e}):null,r.jsx(Qe,{windowSize:z,children:Q===!0?r.jsxs(Ke,{children:[r.jsxs(Ze,{children:[r.jsx(Oe,{isApproved:Ce,creditAmount:we,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:M,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(ae,{cardPromoType:f,cashbackRate:P})]}),r.jsx(ne,{showEnableCardButton:a,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:M,isCheckingEnabled:l})]}):r.jsx(Ge,{companyLegalName:s,cards:[],admins:j,cashbackRate:P,hasZeniFinopsRoles:fe,cardPromoType:f,isCheckingEnabled:l})}),Q&&!(F||D)?r.jsxs(or,{windowSize:z,children:[r.jsx(Y,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:ue,"data-testid":ee("schedule-demo-button")}),r.jsx(Xe,{windowSize:z,children:o.orText}),r.jsx(Y,{variant:"primary",label:q,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||ye==="In-Progress",onClick:q===o.getPreApprovedNow?ge:()=>d(f),"data-testid":ee("enable-card-button")})]}):null]})},He=({admins:e})=>{const s=e.flatMap(a=>a.user?.firstName+" "+a.user?.lastName).join(", "),i=$();return r.jsxs(mr,{windowSize:i,children:[r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Ie,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(N,{underline:!0,windowSize:i,children:o.noCardAssigned.tooltip})}),r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.post})]})},ne=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:i,isUnderReview:a,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const u=$();return r.jsx(ir,{windowSize:u,children:r.jsx(Le,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:a===!0||c===!0||h===!0?void 0:m===!0?o.terms.getPreApprovedNowTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&a===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(u)},cardPromoType:e,isCheckingEnabled:i})})},Oe=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:a,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const u=$(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,j=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(rr,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,U.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):a?o.promoBadgeText.underReview:c?o.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:u==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ye,{cardPromoType:s,hasContent:j!=null,hideBadge:i==null||s==="debit",windowSize:u,children:[a||c||m?null:r.jsx(yr,{}),r.jsx(er,{windowSize:u,children:j})]})]})},Ge=({companyLegalName:e,cards:s,admins:i,cashbackRate:a,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const u=$(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[u==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(pr,{windowSize:u}):r.jsx(Ve,{cards:s,companyLegalName:e}),r.jsx(ae,{cardPromoType:m,cashbackRate:a}),c?null:r.jsx(He,{admins:i}),r.jsx(ne,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Ve=({cards:e,companyLegalName:s})=>{const i=G(),a=$();let c="",m;if(e.length===1){m=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;c=o.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else c=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(hr,{children:[m!=null?r.jsx(qe,{width:t.sp5,height:t.sp5,style:{paddingTop:a==="small"?t.sp1:t.sp0},src:m.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Be},loading:"lazy"}):null,r.jsx(gr,{windowSize:a,mode:i.mode,children:r.jsx(xr,{windowSize:a,children:c})})]})},re=({windowSize:e,cardPromoType:s})=>{let i=o.businessText;return s==="debit"&&(i=`${i} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(We,{}):r.jsxs(ar,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(O,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ae=({cardPromoType:e,cashbackRate:s})=>{const i=$(),a=o.benefits;return r.jsxs(tr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(nr,{windowSize:i,children:[r.jsxs(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(lr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:a.item1.pre}),r.jsx(B,{windowSize:i,children:a.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(b,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?a.singleStarred:""}${a.item1.post}`})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(sr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:a.item2.pre}),r.jsx(B,{windowSize:i,children:a.item2.bold}),r.jsx(b,{windowSize:i,children:a.item2.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(cr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:a.item3.pre}),r.jsx(B,{windowSize:i,children:a.item3.bold}),r.jsx(b,{windowSize:i,children:a.item3.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(dr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:a.item4.pre}),r.jsx(B,{windowSize:i,children:a.item4.bold}),r.jsx(b,{windowSize:i,children:a.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const We=()=>{const e=$(),s=G(),[i,a]=T.useState(0),[c,m]=T.useState(!1),h=o.businessText,u=`${h} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:u},{id:2,cardType:"debit",cardText:u},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];T.useEffect(()=>(c||(k=setInterval(()=>{a(l=>{const d=l+1;return d===w.length?(m(!0),0):d})},2e3)),()=>clearInterval(k)),[c,w.length]),T.useEffect(()=>{c&&k!=null&&clearInterval(k)},[c]);const j=(l,d)=>{switch((l-i+w.length)%w.length){case 0:return{transform:`translate(0,${d?"100%":0}) scale(1)`,zIndex:d?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${d?"80%":"5%"}) scale(0.75)`,zIndex:d?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};default:return}},P=l=>{const d=j(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},f=l=>{c||m(!0),a(l)};return r.jsxs(ur,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:w.map((l,d)=>r.jsxs(fr,{children:[r.jsx(ie,{isReflection:!1,style:{...j(d,!1)},onClick:()=>f(d),children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(O,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(O,{cardPromoType:l.cardType,cardText:l.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${l.id}`)]},l.id))}),c&&r.jsx(Ne,{numberOfDots:w.length,activeIndex:i,handleClick:a,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},Je=n.div`
2
+ display: flex;
3
+ flex: 1 1 auto;
4
+ min-height: 100%;
5
+ flex-direction: column;
6
+ background-color: ${e=>e.theme.colors.grey4};
7
+ `,Xe=n(_e)`
8
+ color: ${e=>e.theme.colors.hero};
9
+ `,Ze=n.div`
10
+ display: flex;
11
+ flex-direction: column;
12
+ align-items: center;
13
+ `,Ke=n.div`
14
+ display: flex;
15
+ flex-direction: column;
16
+ justify-content: space-between;
17
+ flex: 1;
18
+ width: 100%;
19
+ `,Qe=n.div`
20
+ padding-top: ${e=>g.containerPaddingTopBottom.valuePx(e.windowSize)};
21
+ padding-bottom: ${e=>g.containerPaddingTopBottom.valuePx(e.windowSize)};
22
+ text-align: center;
23
+ flex: 1;
24
+ display: flex;
25
+ flex-direction: column;
26
+ overflow-x: hidden;
27
+ `,se=n(ke)`
28
+ max-width: 927px;
29
+ margin: auto;
30
+ display: flex;
31
+ justify-content: center;
32
+ flex-wrap: wrap;
33
+ padding: ${t.sp7} ${t.sp0} ${t.sp0} ${t.sp0};
34
+ color: ${e=>e.theme.colors.primary};
35
+ `,de=n(Ae)`
36
+ color: ${e=>e.theme.colors.primary};
37
+ margin: auto;
38
+ margin-top: ${t.sp2};
39
+ `,le=n(Pe)`
40
+ margin: auto;
41
+ max-width: 343px;
42
+ display: flex;
43
+ justify-content: center;
44
+ text-align: center;
45
+ flex-wrap: wrap;
46
+ padding: ${t.sp5} ${t.sp0} ${t.sp0} ${t.sp0};
47
+ color: ${e=>e.theme.colors.primary};
48
+ `,ce=n(V)`
49
+ max-width: 314px;
50
+ margin: auto;
51
+ color: ${e=>e.theme.colors.primary};
52
+ padding: 6px ${t.sp3} ${t.sp0} ${t.sp3};
53
+ text-align: center;
54
+ margin-top: 6px;
55
+ `,qe=n.img`
56
+ border-radius: 50%;
57
+ justify-content: center;
58
+ color: ${e=>e.theme.colors.hero};
59
+ `,Ye=n.div`
60
+ display: flex;
61
+ flex-direction: row;
62
+ align-items: center;
63
+ justify-content: center;
64
+ position: relative;
65
+ overflow: hidden;
66
+ padding: ${e=>e.hasContent?`${t.sp2} ${t.sp3}`:t.sp0};
67
+ background-color: ${e=>e.theme.colors.grey3};
68
+ border-radius: 96px;
69
+ margin-top: ${t.sp4};
70
+ margin-left: ${e=>e.windowSize==="small"?t.sp3:"auto"};
71
+ margin-right: ${e=>e.windowSize==="small"?t.sp3:"auto"};
72
+ margin-bottom: ${e=>e.cardPromoType==="debit_and_credit"&&e.windowSize==="small"?t.sp0:t.sp6};
73
+ width: fit-content;
74
+ gap: ${t.sp1};
75
+ ${e=>e.hideBadge&&`
76
+ visibility: hidden;
77
+ `}
78
+ `,er=n(V)`
79
+ color: ${e=>e.theme.mode==="dark"?y.brandColorJade:y.brandColorSapphire};
80
+ text-align: ${e=>e.windowSize==="small"?"left":"center"};
81
+ ${e=>`${v.promoBadgeText.style(e.windowSize)}`};
82
+ span {
83
+ ${e=>`${v.promoBadgeTextBold.style(e.windowSize)}`};
84
+ }
85
+ `,rr=n.span``,te=n.span`
86
+ color: ${y.success};
87
+ `,tr=n.div`
88
+ display: flex;
89
+ gap: ${e=>g.midContainerGap.valuePx(e.windowSize)};
90
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
91
+ align-items: center;
92
+ justify-content: center;
93
+ `,ir=n.div`
94
+ display: flex;
95
+ flex-direction: column;
96
+ `,or=n.div`
97
+ border-top: 1px solid ${e=>e.theme.colors.grey3};
98
+ padding: ${t.sp2} ${t.sp3};
99
+ position: sticky;
100
+ bottom: 0;
101
+ left: 0;
102
+ right: 0;
103
+ z-index: 8;
104
+ display: flex;
105
+ justify-content: center;
106
+ align-items: center;
107
+ flex-direction: row;
108
+ row-gap: ${t.sp2};
109
+ background-color: ${e=>e.theme.colors.grey5};
110
+ gap: ${e=>g.buttonTrayGap.valuePx(e.windowSize)};
111
+ `,nr=n.div`
112
+ width: ${e=>e.windowSize==="small"?"auto":"288px"};
113
+ display: flex;
114
+ flex-direction: column;
115
+ margin-left: ${e=>g.uspContainerMarginX.valuePx(e.windowSize)};
116
+ margin-right: ${e=>g.uspContainerMarginX.valuePx(e.windowSize)};
117
+ z-index: 8;
118
+ `,ar=n.div`
119
+ display: flex;
120
+ justify-content: ${e=>e.windowSize==="small"?"center":"flex-start"};
121
+ min-height: ${e=>g.iconContainerMinHeight.valuePx(e.windowSize)};
122
+ align-items: center;
123
+ min-width: 480px;
124
+ `,A=n.div`
125
+ border-radius: ${t.sp12};
126
+ border: ${e=>`1px solid ${e.theme.colors.grey2}`};
127
+ padding: ${e=>e.windowSize==="small"?`${t.sp2} ${t.sp4} ${t.sp2} ${t.sp0}`:`${t.sp3} ${t.sp5} ${t.sp3} ${t.sp0}`};
128
+ background: ${e=>e.theme.colors.grey5};
129
+ position: relative;
130
+ margin-bottom: ${t.sp3};
131
+ display: flex;
132
+ align-items: center;
133
+ text-align: start;
134
+ width: ${e=>e.windowSize==="small"?"288px":"100%"};
135
+ min-height: ${e=>e.windowSize!=="small"?"83px":"44px"};
136
+ box-sizing: ${e=>e.windowSize==="small"?"unset":"border-box"};
137
+ `,b=n(Re)`
138
+ color: ${e=>e.theme.colors.champion};
139
+ ${e=>`${v.uspText.style(e.windowSize)}`};
140
+ `,B=n(Ee)`
141
+ color: ${e=>e.theme.colors.champion};
142
+ ${e=>`${v.uspBoldText.style(e.windowSize)}`};
143
+ `,I=n.div``,L=n.div`
144
+ padding-left: ${t.sp3};
145
+ `,sr=n(_)`
146
+ color: ${y.graphColor16Dark};
147
+ `,dr=n(_)`
148
+ color: ${y.alert};
149
+ `,lr=n(_)`
150
+ color: ${y.graphColor11};
151
+ `,cr=n(_)`
152
+ color: ${y.success};
153
+ `,pr=n.div`
154
+ height: ${e=>g.emptySectionHeight.valuePx(e.windowSize)};
155
+ ${e=>e.windowSize==="small"?null:De`
156
+ margin-top: ${t.sp4};
157
+ margin-bottom: ${t.sp6};
158
+ `}
159
+ `,mr=n(V)`
160
+ color: ${e=>e.theme.colors.hero};
161
+ margin-top: ${e=>g.contactAdminContainerMarginTop.valuePx(e.windowSize)};
162
+ margin-bottom: ${e=>g.contactAdminContainerMarginBottom.valuePx(e.windowSize)};
163
+ margin-left: ${e=>g.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
164
+ margin-right: ${e=>g.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
165
+ text-align: center;
166
+ `,N=n(Me)`
167
+ ${e=>`${v.contactAdmin.style(e.windowSize)}`};
168
+ text-decoration: ${e=>e.underline?"underline":"none"};
169
+ cursor: ${e=>e.underline?"default":null};
170
+ `,gr=n.div`
171
+ color: ${e=>e.mode==="dark"?e.theme.colors.brandColorJade:e.theme.colors.brandColorSapphire};
172
+ `,hr=n.div`
173
+ background-color: ${e=>e.theme.colors.grey3};
174
+ padding: ${t.sp2} ${t.sp3};
175
+ display: flex;
176
+ gap: ${t.sp2};
177
+ margin: auto;
178
+ max-width: fit-content;
179
+ border-radius: 96px;
180
+ margin-top: ${t.sp4};
181
+ margin-bottom: ${t.sp6};
182
+ `,xr=n.span`
183
+ ${e=>`${v.cardsContent.style(e.windowSize)}`};
184
+ `,ur=n.div`
185
+ display: flex;
186
+ flex-direction: column;
187
+ min-height: ${e=>g.carouselHeight.valuePx(e.windowSize)};
188
+ min-width: 480px;
189
+ position: relative;
190
+ `,wr=n.div`
191
+ position: relative;
192
+ margin-top: ${e=>g.carouselMarginTop.valuePx(e.windowSize)};
193
+ margin-left: ${e=>g.carouselMarginLeft.valuePx(e.windowSize)};
194
+ `,fr=n.div`
195
+ position: relative;
196
+ overflow: visible;
197
+ `,ie=n.div`
198
+ position: absolute;
199
+ ${e=>e.isReflection&&`
200
+ background-color: ${e.theme.colors.grey4};
201
+ clip-path: inset(16% 0 0 0);
202
+ `}
203
+ `,Cr=Fe`
204
+ 0% {
205
+ left: -${t.sp6};
206
+ }
207
+ 50% {
208
+ left: calc(100% + ${t.sp6});
209
+ }
210
+ 100% {
211
+ left: calc(100% + ${t.sp6});
212
+ }
213
+ `,yr=n.div`
214
+ position: absolute;
215
+ background:
216
+ ${y.promoCardGradient1Strong}, ${y.promoCardGradient2Strong};
217
+ width: ${t.sp10};
218
+ z-index: 3;
219
+ height: 100%;
220
+ transform: skew(15deg);
221
+ animation: ${Cr} 4s linear infinite;
222
+ `;export{Ge as ChargeCardPromoUserContent,Rr as default};
@@ -1,4 +1,4 @@
1
- import{g as je,e as Oe,a9 as Ue,aS as M,aa as Be,cQ as _e,aX as G,V as t,fr as $e,d as Le,x as d,bE as ze,L as Re,ae as We,fI as Ne,e1 as qe,fJ as He,o as B,w as Me,j1 as J,by as Ge,aT as Je,fL as Qe,O as Xe,u as o,an as Ze}from"./index-BPaR2lvP.js";import{a as f}from"./sentry-BLwIhkwX.js";import{n as w}from"./mui-Bxat3ZJX.js";import{bJ as Ke}from"./zeni-epic-state-BFw7CFlI.js";import{x as Ye}from"./LabeledControlledCheckBoxField-DT_nxhPN-rV5vnpiF.js";import{g as et}from"./UploadAdditionalDocumentOverlay-qrcEQmkz-BcDGNs5r.js";import"./liveblocks-C4DKHbPz.js";import"./core-pNImhQEZ.js";import"./recharts-BNNpZjq4.js";import"./lottie-CsNuSf0J.js";import"./analytics-BewK2g0S.js";import"./lexical-BUygpfI7.js";import"./utils--7vqVVLA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="e675e6cc-b30a-4097-9338-58aa251d4b6d",e._sentryDebugIdIdentifier="sentry-dbid-e675e6cc-b30a-4097-9338-58aa251d4b6d")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,o[5],o[5]),sectionRowGap:new d(o[5],o[9],o[9]),iconWidthHeight:new d(20,o[4]),subTitlePaddingTop:new d(12,o[3]),subTitlePaddingBottom:new d(o[3],o[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(o[1],o[0])},Q="chargeCardSetUpPage",m="payAccount",{commonSetUp:tt,spendManagement:nt}=Xe.getLocalizedStrings(),{chargeCard:K}=nt,{chargeCardSetUp:g}=K,{setUp:_}=tt,wt=({autoPayThreshold:e,isDisabled:r,meetingUrl:x,isEarlyPayEnabled:h,chargeCardSetUpView:a,connectedAccountProvider:Y,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:ae,onFetchLinkTokenClick:oe,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:de,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:fe,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:me,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:we,onSignUpClick:xe})=>{const y=je(),i=Oe(),E=Ue().analytics,[A,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:$,isRefreshingViewInBackground:Pe,updateStatus:u,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:I,companyDebitCardInfo:L,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:z}=a,R=M(C),k=M(u.fetchState),D=Be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>X(a),[a]),values:X(a)}),ve=D.handleSubmit(se),Ee=async(S,T)=>{const n=T[m];if(S.includes(m))if(S.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const p=z.find(U=>U.id===n.fundingAccount.selectedOption);p!=null&&pe(n.fundingAccount.selectedOption,p.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const p=n.account.allOptions.find(U=>U.value===n.account.selectedOption);p!=null&&typeof p.label=="string"&&E.trackConnectBankLink(p.value,p.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else S.includes("enableAutoPay")&&n.enableAutoPay!=null&&fe(n.enableAutoPay)};f.useEffect(()=>{const S=D.watch((T,{name:n})=>{n!=null&&T!=null&&_e(()=>Ee(n,T))});return()=>{S.unsubscribe()}}),f.useEffect(()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),A&&R==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,R]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const V=I?.isChargeCardEnabled===!0,F=L?.isDebitCardEnabled===!0,W=L?.isDebitCardTOSAccepted===!0,N=I?.isChargeCardTOSAccepted===!0,q=$?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ke(l?.providerVerificationStatus?.code??""),j=v?q:q&&Ie,De=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const O=v?j&&!F&&W:ie?j&&!V&&N:j&&!(V&&F)&&N&&W,Ve=O?g.setupSubTitleNotEnabled:g.setupSubTitle,H=y.mode==="light"?new G(y.colors.brandColorJadeLight):new G(y.colors.brandColorJadeDark),Fe=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):de?.()};return t.jsxs(at,{children:[t.jsx($e,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>b(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:u,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:we})}),t.jsx(ze,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!V&&!F&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(ot,{windowSize:i,children:Ve}),De?t.jsx(ct,{children:t.jsx(Re,{size:"ExtraLarge",start:!0})}):t.jsx(We,{...D,children:t.jsx("form",{id:Z(Q),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Ne,{onClick:Fe,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(qe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:$?.businessVerificationStatus,isLoading:Pe,isActiveWhileLoading:!0}),v?null:t.jsx(He,{connectedAccountProvider:Y,primaryFundingAccount:l,allFundingAccounts:z,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:m,isDisabled:r,onFetchLinkTokenClick:oe,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:g.setupAccountSectionTitle,onEstablishConnectionSuccess:me,icon:{element:t.jsx(Ge,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:xe,pageName:g.pageName,accountsPromoConfig:ae,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ye,{label:{label:K.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:J(m,"enableAutoPay"),checkBoxValue:J(m,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),O?t.jsx(Je,{formId:Z(Q),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Qe,{isFooterRendered:O,meetingUrl:x,analytics:E,productType:"charge_cards"})]})},X=e=>{const{allBankAccounts:r,allFundingAccounts:x,primaryFundingAccount:h}=e;return{[m]:{fundingAccount:{selectedOption:h?.id,allOptions:x.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(a=>({label:a.accountName,value:a.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},Z=e=>`${e}_form`,it=w.div`
1
+ import{g as je,e as Oe,a9 as Ue,aS as M,aa as Be,cQ as _e,aX as G,V as t,fr as $e,d as Le,x as d,bE as ze,L as Re,ae as We,fI as Ne,e1 as qe,fJ as He,o as B,w as Me,j1 as J,by as Ge,aT as Je,fL as Qe,O as Xe,u as a,an as Ze}from"./index-CUxbisrq.js";import{a as f}from"./sentry-tsfGilE0.js";import{n as w}from"./mui-CW7vGIKQ.js";import{bJ as Ke}from"./zeni-epic-state-DGV_6n4t.js";import{x as Ye}from"./LabeledControlledCheckBoxField-CcPO1k23-euLgngZd.js";import{g as et}from"./UploadAdditionalDocumentOverlay-Wl4Spdpn-D59nwhG6.js";import"./liveblocks-DTtNefcp.js";import"./core-gc5ND_yy.js";import"./recharts-CUzMVol9.js";import"./lottie-BctA_6Pz.js";import"./analytics-uGzTqGx1.js";import"./lexical-zfv1-tRH.js";import"./utils-yWIuTv4c.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="ddf125ed-5d72-4439-b155-d1d0bcfdc02e",e._sentryDebugIdIdentifier="sentry-dbid-ddf125ed-5d72-4439-b155-d1d0bcfdc02e")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(a[1],a[0])},Q="chargeCardSetUpPage",m="payAccount",{commonSetUp:tt,spendManagement:nt}=Xe.getLocalizedStrings(),{chargeCard:K}=nt,{chargeCardSetUp:g}=K,{setUp:_}=tt,wt=({autoPayThreshold:e,isDisabled:r,meetingUrl:x,isEarlyPayEnabled:h,chargeCardSetUpView:o,connectedAccountProvider:Y,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:oe,onFetchLinkTokenClick:ae,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:de,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:fe,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:me,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:we,onSignUpClick:xe})=>{const y=je(),i=Oe(),E=Ue().analytics,[A,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:$,isRefreshingViewInBackground:Pe,updateStatus:u,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:I,companyDebitCardInfo:L,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:z}=o,R=M(C),k=M(u.fetchState),D=Be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>X(o),[o]),values:X(o)}),ve=D.handleSubmit(se),Ee=async(S,T)=>{const n=T[m];if(S.includes(m))if(S.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const p=z.find(U=>U.id===n.fundingAccount.selectedOption);p!=null&&pe(n.fundingAccount.selectedOption,p.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const p=n.account.allOptions.find(U=>U.value===n.account.selectedOption);p!=null&&typeof p.label=="string"&&E.trackConnectBankLink(p.value,p.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else S.includes("enableAutoPay")&&n.enableAutoPay!=null&&fe(n.enableAutoPay)};f.useEffect(()=>{const S=D.watch((T,{name:n})=>{n!=null&&T!=null&&_e(()=>Ee(n,T))});return()=>{S.unsubscribe()}}),f.useEffect(()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),A&&R==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,R]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const V=I?.isChargeCardEnabled===!0,F=L?.isDebitCardEnabled===!0,W=L?.isDebitCardTOSAccepted===!0,N=I?.isChargeCardTOSAccepted===!0,q=$?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ke(l?.providerVerificationStatus?.code??""),j=v?q:q&&Ie,De=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const O=v?j&&!F&&W:ie?j&&!V&&N:j&&!(V&&F)&&N&&W,Ve=O?g.setupSubTitleNotEnabled:g.setupSubTitle,H=y.mode==="light"?new G(y.colors.brandColorJadeLight):new G(y.colors.brandColorJadeDark),Fe=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):de?.()};return t.jsxs(ot,{children:[t.jsx($e,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>b(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:u,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:we})}),t.jsx(ze,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!V&&!F&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(at,{windowSize:i,children:Ve}),De?t.jsx(ct,{children:t.jsx(Re,{size:"ExtraLarge",start:!0})}):t.jsx(We,{...D,children:t.jsx("form",{id:Z(Q),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Ne,{onClick:Fe,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(qe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:$?.businessVerificationStatus,isLoading:Pe,isActiveWhileLoading:!0}),v?null:t.jsx(He,{connectedAccountProvider:Y,primaryFundingAccount:l,allFundingAccounts:z,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:m,isDisabled:r,onFetchLinkTokenClick:ae,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:g.setupAccountSectionTitle,onEstablishConnectionSuccess:me,icon:{element:t.jsx(Ge,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:xe,pageName:g.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ye,{label:{label:K.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:J(m,"enableAutoPay"),checkBoxValue:J(m,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),O?t.jsx(Je,{formId:Z(Q),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Qe,{isFooterRendered:O,meetingUrl:x,analytics:E,productType:"charge_cards"})]})},X=e=>{const{allBankAccounts:r,allFundingAccounts:x,primaryFundingAccount:h}=e;return{[m]:{fundingAccount:{selectedOption:h?.id,allOptions:x.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(o=>({label:o.accountName,value:o.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},Z=e=>`${e}_form`,it=w.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -6,14 +6,14 @@ import{g as je,e as Oe,a9 as Ue,aS as M,aa as Be,cQ as _e,aX as G,V as t,fr as $
6
6
  flex-direction: column;
7
7
  align-items: center;
8
8
  row-gap: ${e=>c.setupDetailsRowGap.valuePx(e.windowSize)};
9
- `,at=w.div`
9
+ `,ot=w.div`
10
10
  display: flex;
11
11
  min-height: 100%;
12
12
  height: 100%;
13
13
  flex-direction: column;
14
14
  width: 100%;
15
15
  background-color: ${e=>e.theme.colors.grey4};
16
- `,ot=w(Ze)`
16
+ `,at=w(Ze)`
17
17
  color: ${e=>e.theme.colors.hero};
18
18
  display: flex;
19
19
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{g as W,e as N,V as t,bE as F,o as h,O as R,x as g,an as B,bb as O,a9 as V,i0 as _,L as J,ac as q,u as s,cd as G}from"./index-BPaR2lvP.js";import{n as r}from"./mui-Bxat3ZJX.js";import{$ as U,g as X}from"./BoxItem-XoWq-tnh-CWlKsdye.js";import{a as H}from"./sentry-BLwIhkwX.js";import{w as K}from"./downloadPdf-B5WrL0K1-C-zT0Hsb.js";import"./liveblocks-C4DKHbPz.js";import"./core-pNImhQEZ.js";import"./recharts-BNNpZjq4.js";import"./zeni-epic-state-BFw7CFlI.js";import"./lottie-CsNuSf0J.js";import"./analytics-BewK2g0S.js";import"./lexical-BUygpfI7.js";import"./utils--7vqVVLA.js";import"./commonDimensions-DIm7kTtR-vEiJGtqA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="f58f0f1d-e53e-44ef-a287-484849974129",e._sentryDebugIdIdentifier="sentry-dbid-f58f0f1d-e53e-44ef-a287-484849974129")}catch{}})();const D=R.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},Q=r.div`
1
+ import{g as W,e as N,V as t,bE as F,o as h,O as R,x as g,an as B,bb as O,a9 as V,i0 as _,L as J,ac as q,u as s,cd as G}from"./index-CUxbisrq.js";import{n as r}from"./mui-CW7vGIKQ.js";import{$ as U,g as X}from"./BoxItem-Bxa1M4QU-CuNypviZ.js";import{a as H}from"./sentry-tsfGilE0.js";import{w as K}from"./downloadPdf-Dsuxeias-A2bbtbVa.js";import"./liveblocks-DTtNefcp.js";import"./core-gc5ND_yy.js";import"./recharts-CUzMVol9.js";import"./zeni-epic-state-DGV_6n4t.js";import"./lottie-BctA_6Pz.js";import"./analytics-uGzTqGx1.js";import"./lexical-zfv1-tRH.js";import"./utils-yWIuTv4c.js";import"./commonDimensions-Oz1tdAcx-BJKhGsnL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="b80779d4-63f2-43ec-b2be-d8ed526d0e14",e._sentryDebugIdIdentifier="sentry-dbid-b80779d4-63f2-43ec-b2be-d8ed526d0e14")}catch{}})();const D=R.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},Q=r.div`
2
2
  display: flex;
3
3
  padding: ${h.sp3} ${h.sp4};
4
4
  flex-direction: row;
@@ -27,7 +27,7 @@ import{g as W,e as N,V as t,bE as F,o as h,O as R,x as g,an as B,bb as O,a9 as V
27
27
  &:hover {
28
28
  color: ${e=>e.theme.colors.primary};
29
29
  }
30
- `;function ae({currentTenantCompanyName:e,data:a,index:n,controllerEmails:l,isDebitCardFeatureEnabled:i,isDebitCardSetupEnabled:o,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:y,debitCardSummary:x,productInformation:C,creditAccountInformation:S,debitAccountInformation:$,cashbackInformation:p,creditAccountRepayment:I,authParams:P,downloadEndPoint:k,boxType:j}){const b=V().analytics,[v,E]=H.useState(!1),c=N(),z=D[a.monthYearPeriod.month-1],u=`${e}-Credit-Card-Monthly-Statement-${D[a.monthYearPeriod.month-1]}-${a.monthYearPeriod.year}.pdf`,m={period:`${a.monthYearPeriod.year}-${_(a.monthYearPeriod.month)}`,format:"pdf"},f=t.jsx(Q,{children:t.jsxs(Z,{children:[t.jsx(ee,{children:z}),t.jsx(te,{"data-testid":q("download-card-statement"),onClick:()=>{d.fetchState==="Completed"&&I.fetchState==="Completed"&&(!(i&&o)||y.fetchState==="Completed"&&x?.fetchState==="Completed")&&p!=null&&b.trackCardsDownloadClick(l,C,p,{fileCategory:"Credit Card Statement",fileType:"pdf",fileName:u,fileMonthYear:`${D[a.monthYearPeriod.month-1]} ${a.monthYearPeriod.year}`},"Credit Card Statements",n+1,S,$),K(`${k}/statements?query=${encodeURIComponent(JSON.stringify(m))}`,u,P,E)},children:v?t.jsx(J,{size:"Small",start:!0}):t.jsx(ie,{windowSize:c})})]})});return t.jsx(X,{content:f,boxType:j,isDisabled:!1,isNotClickable:!0})}const L=R.getLocalizedStrings().spendManagement.chargeCard.statements,w={listItemMarginLeftRight:new g(s[3],s[8]),containerMarginTop:new g(s[0],s[2]),titleMarginLeftRight:new g(s[3],s[8])},ke=({currentTenantCompanyName:e,authParams:a,controllerEmails:n,productInformation:l,cashbackInformation:i,creditAccountInformation:o,debitAccountInformation:d,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:$,depositAccountListWithDebitCardIssued:p,creditAccountRepayment:I,debitCardSummary:P,creditAccount:k,downloadEndPoint:j,statementListView:b,onBackClick:v})=>{const E=W(),c=N(),{sortedYear:z,monthsByYearWithSortedMonth:u}=me(b.statements);return t.jsxs(se,{children:[t.jsx(F,{title:L.title,backgroundColor:E.colors.grey4,style:{zIndex:3},onBackClick:v,source:"ChargeCardStatementsPage"}),t.jsx(ce,{windowSize:c,children:b.statements.length===0?t.jsx(M,{children:t.jsx(de,{children:t.jsx(T,{windowSize:c,children:t.jsx(le,{children:L.noStatements})})})}):t.jsx(re,{children:z.map(m=>t.jsxs(ne,{children:[t.jsx(oe,{windowSize:c,children:m}),t.jsx(M,{children:u[m].map((f,A)=>t.jsx(T,{windowSize:c,children:t.jsx(ae,{productInformation:l,creditAccountInformation:o,debitAccountInformation:d,cashbackInformation:i,creditAccountRepayment:I,depositAccountListWithDebitCardIssued:p,debitCardSummary:P,controllerEmails:n,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:$,creditAccount:k,currentTenantCompanyName:e,index:A,data:f,authParams:a,downloadEndPoint:j,boxType:U(A,u[m].length)},f.id)},f.id))})]},m))})})]})},re=r.div``,ne=r.div`
30
+ `;function ae({currentTenantCompanyName:e,data:a,index:n,controllerEmails:l,isDebitCardFeatureEnabled:i,isDebitCardSetupEnabled:o,chargeCardCashbackDetailState:d,depositAccountListWithDebitCardIssued:y,debitCardSummary:x,productInformation:C,creditAccountInformation:S,debitAccountInformation:$,cashbackInformation:f,creditAccountRepayment:I,authParams:P,downloadEndPoint:k,boxType:j}){const b=V().analytics,[v,E]=H.useState(!1),c=N(),z=D[a.monthYearPeriod.month-1],u=`${e}-Credit-Card-Monthly-Statement-${D[a.monthYearPeriod.month-1]}-${a.monthYearPeriod.year}.pdf`,m={period:`${a.monthYearPeriod.year}-${_(a.monthYearPeriod.month)}`,format:"pdf"},p=t.jsx(Q,{children:t.jsxs(Z,{children:[t.jsx(ee,{children:z}),t.jsx(te,{"data-testid":q("download-card-statement"),onClick:()=>{d.fetchState==="Completed"&&I.fetchState==="Completed"&&(!(i&&o)||y.fetchState==="Completed"&&x?.fetchState==="Completed")&&f!=null&&b.trackCardsDownloadClick(l,C,f,{fileCategory:"Credit Card Statement",fileType:"pdf",fileName:u,fileMonthYear:`${D[a.monthYearPeriod.month-1]} ${a.monthYearPeriod.year}`},"Credit Card Statements",n+1,S,$),K(`${k}/statements?query=${encodeURIComponent(JSON.stringify(m))}`,u,P,E)},children:v?t.jsx(J,{size:"Small",start:!0}):t.jsx(ie,{windowSize:c})})]})});return t.jsx(X,{content:p,boxType:j,isDisabled:!1,isNotClickable:!0})}const L=R.getLocalizedStrings().spendManagement.chargeCard.statements,w={listItemMarginLeftRight:new g(s[3],s[8]),containerMarginTop:new g(s[0],s[2]),titleMarginLeftRight:new g(s[3],s[8])},ke=({currentTenantCompanyName:e,authParams:a,controllerEmails:n,productInformation:l,cashbackInformation:i,creditAccountInformation:o,debitAccountInformation:d,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:$,depositAccountListWithDebitCardIssued:f,creditAccountRepayment:I,debitCardSummary:P,creditAccount:k,downloadEndPoint:j,statementListView:b,onBackClick:v})=>{const E=W(),c=N(),{sortedYear:z,monthsByYearWithSortedMonth:u}=me(b.statements);return t.jsxs(se,{children:[t.jsx(F,{title:L.title,backgroundColor:E.colors.grey4,style:{zIndex:3},onBackClick:v,source:"ChargeCardStatementsPage"}),t.jsx(ce,{windowSize:c,children:b.statements.length===0?t.jsx(M,{children:t.jsx(de,{children:t.jsx(T,{windowSize:c,children:t.jsx(le,{children:L.noStatements})})})}):t.jsx(re,{children:z.map(m=>t.jsxs(ne,{children:[t.jsx(oe,{windowSize:c,children:m}),t.jsx(M,{children:u[m].map((p,A)=>t.jsx(T,{windowSize:c,children:t.jsx(ae,{productInformation:l,creditAccountInformation:o,debitAccountInformation:d,cashbackInformation:i,creditAccountRepayment:I,depositAccountListWithDebitCardIssued:f,debitCardSummary:P,controllerEmails:n,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:x,isDebitCardSetupEnabled:C,isChargeCardSetupEnabled:S,chargeCardCashbackDetailState:$,creditAccount:k,currentTenantCompanyName:e,index:A,data:p,authParams:a,downloadEndPoint:j,boxType:U(A,u[m].length)},p.id)},p.id))})]},m))})})]})},re=r.div``,ne=r.div`
31
31
  margin-bottom: ${h.sp6};
32
32
  `,M=r.div``,oe=r(O)`
33
33
  margin-left: ${e=>w.titleMarginLeftRight.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{e as K,V as t,ac as b,h_ as pe,aQ as M,a as Q,o,aT as he,x as n,b as ee,n as ue,O as oe,bb as me,c as te,ak as ge,an as F,aS as fe,aa as xe,cQ as ke,d as $,ae as De,gq as be,cV as $e,f7 as W,d1 as X,u as s,fC as we,cq as ye,ca as je,fg as Pe,h9 as Se,ao as q,ha as Le}from"./index-BPaR2lvP.js";import{a as k}from"./sentry-BLwIhkwX.js";import{n as a}from"./mui-Bxat3ZJX.js";import"./liveblocks-C4DKHbPz.js";import"./core-pNImhQEZ.js";import"./recharts-BNNpZjq4.js";import"./zeni-epic-state-BFw7CFlI.js";import"./lottie-CsNuSf0J.js";import"./analytics-BewK2g0S.js";import"./lexical-BUygpfI7.js";import"./utils--7vqVVLA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="6db4ceb4-c6c3-4630-9cd0-be7f73724701",e._sentryDebugIdIdentifier="sentry-dbid-6db4ceb4-c6c3-4630-9cd0-be7f73724701")}catch{}})();const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",V="selectDocument",E=e=>{const c=[];return e.checkFront!=null&&c.push(e.checkFront.fileId),e.checkBack!=null&&c.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(f=>({label:f.accountName,value:f.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:c,[V]:{front:e.checkFront,back:e.checkBack}}}},D=(e,c)=>`${e}.${c}`,Be=e=>`${e}_form`,u={largeLabelWidth:new n(160,160,160),rowContentPaddingLeft:new n(s[3],s[4]),checkPicRowContentPaddingXAxis:new n(s[3],s[4]),labeleMarginLeft:new n(s[0],s[0]),labeleMarginBottom:new n(s[2],s[0]),labelMarginRight:new n(s[3],s[3]),labeledFieldPaddingLeft:new n(s[3],s[0]),labeledFieldPaddingRight:new n(s[3],s[2]),labeledFieldPaddingTop:new n(s[3],s[3]),labeledFieldPaddingBottom:new n(s[3],s[2]),infoLabelPaddingRight:new n(s[0],s[3]),infoLabelMarginTop:new n(s[1],s[0])},{spendManagement:ze,common:O}=oe.getLocalizedStrings(),l=ze.zeniAccounts.zeniAccountList,Ae=O.documents;function Ie({checkDeposit:e,analytics:c,filesEndPoint:f,openPopup:w,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=K(),d=e.fetchState,L=fe(d),[v,_]=k.useState(!1),[se,B]=k.useState(!1),z=u.largeLabelWidth.value(r),x=xe({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=x.formState,Y=i=>{const p={amount:{amount:i[g].amount??0,currencyCode:O.currency.currencyCode,currencySymbol:O.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(p)},ce=async(i,p)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},p);Y(h)}};k.useEffect(()=>{const i=x.watch((p,{name:h})=>{h!=null&&p!=null&&ke(()=>ce(h,p))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{L==="Completed"&&d==="Not-Started"&&x.reset(E(e))},[L,d,x,e]),k.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const le=x.handleSubmit(()=>{if(re){c.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=x.getValues();Y(i),T?.()}}),ne=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(I=>I.id===i),A=e.depositAccounts.depositAccounts.findIndex(I=>I.id===i);return h?t.jsx(Oe,{color:Se(A),isSelectedValue:p}):null},de=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?p===!0?t.jsx(Ve,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(G,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(G,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Re,{children:t.jsxs(qe,{children:[t.jsxs(_e,{children:[t.jsx(Qe,{}),t.jsxs(We,{children:[t.jsx(Xe,{children:e.error?.title}),t.jsx(Ge,{children:e.error?.message})]})]}),t.jsx(Ye,{children:t.jsx(ro,{"data-testid":b("check-deposit-form-close"),onClick:()=>{c.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),B(!1)},style:{width:o.sp3,height:o.sp3,color:$.heroLight}})})]})}):null,t.jsx(He,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...x,children:t.jsx("form",{id:Be(ve),onSubmit:le,children:t.jsxs(Ze,{children:[t.jsx(be,{showAdditionalInfoLabel:!1,label:{label:l.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:l.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx($e,{label:{label:l.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:l.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(Ue,{label:{label:l.checkDepositDrawer.depositToLabel,width:z,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,p)=>ne(i,p),valueToSubLabels:(i,p)=>de(i,p),name:D(g,"depositTo"),placeholder:l.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(Je,{size:r,children:[t.jsxs(Ke,{size:r,children:[t.jsx(Ee,{children:l.checkDepositDrawer.checkPicLabel}),t.jsx(H,{isLast:!1,children:l.checkDepositDrawer.frontSide}),t.jsx(W,{name:`${D(g,V)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:X,placeholderText:r==="small"?l.checkDepositDrawer.uploadDocument:l.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:w,showPhotoPicker:!0,errorInfoLabel:l.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(H,{isLast:!0,children:l.checkDepositDrawer.backSide}),t.jsx(W,{name:`${D(g,V)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:X,placeholderText:r==="small"?l.checkDepositDrawer.uploadDocument:l.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:w,showPhotoPicker:!0,errorInfoLabel:l.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:l.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ee=a(F)`
1
+ import{e as K,V as t,ac as b,h_ as pe,aQ as M,a as Q,o,aT as he,x as n,b as ee,n as ue,O as oe,bb as me,c as te,ak as ge,an as F,aS as fe,aa as xe,cQ as ke,d as $,ae as De,gq as be,cV as $e,f7 as W,d1 as X,u as s,fC as we,cq as ye,ca as je,fg as Pe,h9 as Se,ao as q,ha as Le}from"./index-CUxbisrq.js";import{a as k}from"./sentry-tsfGilE0.js";import{n as a}from"./mui-CW7vGIKQ.js";import"./liveblocks-DTtNefcp.js";import"./core-gc5ND_yy.js";import"./recharts-CUzMVol9.js";import"./zeni-epic-state-DGV_6n4t.js";import"./lottie-BctA_6Pz.js";import"./analytics-uGzTqGx1.js";import"./lexical-zfv1-tRH.js";import"./utils-yWIuTv4c.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="6db4ceb4-c6c3-4630-9cd0-be7f73724701",e._sentryDebugIdIdentifier="sentry-dbid-6db4ceb4-c6c3-4630-9cd0-be7f73724701")}catch{}})();const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",V="selectDocument",E=e=>{const c=[];return e.checkFront!=null&&c.push(e.checkFront.fileId),e.checkBack!=null&&c.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(f=>({label:f.accountName,value:f.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:c,[V]:{front:e.checkFront,back:e.checkBack}}}},D=(e,c)=>`${e}.${c}`,Be=e=>`${e}_form`,u={largeLabelWidth:new n(160,160,160),rowContentPaddingLeft:new n(s[3],s[4]),checkPicRowContentPaddingXAxis:new n(s[3],s[4]),labeleMarginLeft:new n(s[0],s[0]),labeleMarginBottom:new n(s[2],s[0]),labelMarginRight:new n(s[3],s[3]),labeledFieldPaddingLeft:new n(s[3],s[0]),labeledFieldPaddingRight:new n(s[3],s[2]),labeledFieldPaddingTop:new n(s[3],s[3]),labeledFieldPaddingBottom:new n(s[3],s[2]),infoLabelPaddingRight:new n(s[0],s[3]),infoLabelMarginTop:new n(s[1],s[0])},{spendManagement:ze,common:O}=oe.getLocalizedStrings(),l=ze.zeniAccounts.zeniAccountList,Ae=O.documents;function Ie({checkDeposit:e,analytics:c,filesEndPoint:f,openPopup:w,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=K(),d=e.fetchState,L=fe(d),[v,_]=k.useState(!1),[se,B]=k.useState(!1),z=u.largeLabelWidth.value(r),x=xe({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=x.formState,Y=i=>{const p={amount:{amount:i[g].amount??0,currencyCode:O.currency.currencyCode,currencySymbol:O.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(p)},ce=async(i,p)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},p);Y(h)}};k.useEffect(()=>{const i=x.watch((p,{name:h})=>{h!=null&&p!=null&&ke(()=>ce(h,p))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{L==="Completed"&&d==="Not-Started"&&x.reset(E(e))},[L,d,x,e]),k.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const le=x.handleSubmit(()=>{if(re){c.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=x.getValues();Y(i),T?.()}}),ne=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(I=>I.id===i),A=e.depositAccounts.depositAccounts.findIndex(I=>I.id===i);return h?t.jsx(Oe,{color:Se(A),isSelectedValue:p}):null},de=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?p===!0?t.jsx(Ve,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(G,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(G,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Re,{children:t.jsxs(qe,{children:[t.jsxs(_e,{children:[t.jsx(Qe,{}),t.jsxs(We,{children:[t.jsx(Xe,{children:e.error?.title}),t.jsx(Ge,{children:e.error?.message})]})]}),t.jsx(Ye,{children:t.jsx(ro,{"data-testid":b("check-deposit-form-close"),onClick:()=>{c.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),B(!1)},style:{width:o.sp3,height:o.sp3,color:$.heroLight}})})]})}):null,t.jsx(He,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...x,children:t.jsx("form",{id:Be(ve),onSubmit:le,children:t.jsxs(Ze,{children:[t.jsx(be,{showAdditionalInfoLabel:!1,label:{label:l.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:l.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx($e,{label:{label:l.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:l.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(Ue,{label:{label:l.checkDepositDrawer.depositToLabel,width:z,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,p)=>ne(i,p),valueToSubLabels:(i,p)=>de(i,p),name:D(g,"depositTo"),placeholder:l.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(Je,{size:r,children:[t.jsxs(Ke,{size:r,children:[t.jsx(Ee,{children:l.checkDepositDrawer.checkPicLabel}),t.jsx(H,{isLast:!1,children:l.checkDepositDrawer.frontSide}),t.jsx(W,{name:`${D(g,V)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:X,placeholderText:r==="small"?l.checkDepositDrawer.uploadDocument:l.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:w,showPhotoPicker:!0,errorInfoLabel:l.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(H,{isLast:!0,children:l.checkDepositDrawer.backSide}),t.jsx(W,{name:`${D(g,V)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:X,placeholderText:r==="small"?l.checkDepositDrawer.uploadDocument:l.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:w,showPhotoPicker:!0,errorInfoLabel:l.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:l.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ee=a(F)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Ne=a(F)`
4
4
  color: ${e=>e.theme.colors.hero};
@@ -1,4 +1,4 @@
1
- import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn,e as W,aG as $n,aA as Io,dy as vn,dz as Wo,O as I,u as w,dA as ti,dB as Vt,dC as Dt,ck as Rt,dD as Gt,x as D,dc as Et,ay as Ht,ab as rt,cv as De,bW as K,L as Oo,v as Mo,H as No,g as ce,aX as B,b1 as ni,bZ as ii,ap as Ne,dE as Po,dF as se,cj as Kt,c9 as _n,ak as zo,ao as Ce,dG as at,dH as Pe,dI as st,an as S,cq as ie,dJ as Fo,w as Yt,dK as Ze,dL as Ln,dM as To,dN as Vo,dO as An,dP as Do,dQ as Ro,dR as Go,bb as oi,aY as V,b8 as Eo,cI as Ut,cH as Zt,dS as Ho,b9 as ri,cL as ai,b$ as Ko,dT as Yo,dU as Uo,dV as Bn,dW as In,dX as Zo,dY as qo,c1 as Xo,bM as Qo,dZ as Jo}from"./index-BPaR2lvP.js";import{n as a,c as N}from"./mui-Bxat3ZJX.js";import{a as z,P as er}from"./sentry-BLwIhkwX.js";import{F$ as jt,FM as qt,Gh as Xt,Gi as Re,Gj as Qt,Gk as Jt,Gl as en,Gm as tn,Gn as li,Go as tr,FO as Ge,bm as Wn,bg as si,Gp as ci,cc as nr,bo as ir,G0 as di}from"./zeni-epic-state-BFw7CFlI.js";import{N as ct,D as or,R as rr,B as Se,u as _}from"./AccountRow-DEtntSrL-DjQGfh-3.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]="e6649925-2aad-4c34-87c5-c8c6732421e4",e._sentryDebugIdIdentifier="sentry-dbid-e6649925-2aad-4c34-87c5-c8c6732421e4")}catch{}})();function Z(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return xe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function Q(e){return U("0,0",e?.forecast)}function hi(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return xe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function Lt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return xe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function he(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return xe("0.00%",Math.floor(n*100)/100)}else return xe("0.00%",void 0)}function ue(e){if(e!=null&&e.forecast!=null){const n=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:n}))}else return U("0,0",null)}function ui(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return xe("0.00%",Math.floor(n*100)/100)}else return xe("0.00%",void 0)}function pi(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:n}))}else return U("0,0",null)}const Ee=(e,n,i)=>{const{startDate:o,balanceType:r}=n,{dateFormat:{visual:l}}=I.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${jt(o,l.MMMYYYYFormat,e)}`:Ct(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${I.getLocalizedStrings().reports.quarterPrefix}${jt(o,l.QYYYYformat,e)}`:Ct(r,i);case"year":return r==="default"||r==="default_with_percent"?`${jt(o,l.YYYYformat,e)}`:Ct(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function Ct(e,n){return I.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const Rg=(e,n,i)=>{const o=n.length==0?e:`${e}_${n.join("_")}`;return i!=null&&i.trim().length>0?`${o}_${i}`:`${o}_${Bo(10)}`},ar=a.div`
1
+ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn,e as W,aG as $n,aA as Io,dy as vn,dz as Wo,O as I,u as w,dA as ti,dB as Vt,dC as Dt,ck as Rt,dD as Gt,x as D,dc as Et,ay as Ht,ab as rt,cv as De,bW as K,L as Oo,v as Mo,H as No,g as ce,aX as B,b1 as ni,bZ as ii,ap as Ne,dE as Po,dF as se,cj as Kt,c9 as _n,ak as zo,ao as Ce,dG as at,dH as Pe,dI as st,an as S,cq as ie,dJ as Fo,w as Yt,dK as Ze,dL as Ln,dM as To,dN as Vo,dO as An,dP as Do,dQ as Ro,dR as Go,bb as oi,aY as V,b8 as Eo,cI as Ut,cH as Zt,dS as Ho,b9 as ri,cL as ai,b$ as Ko,dT as Yo,dU as Uo,dV as Bn,dW as In,dX as Zo,dY as qo,c1 as Xo,bM as Qo,dZ as Jo}from"./index-CUxbisrq.js";import{n as a,c as N}from"./mui-CW7vGIKQ.js";import{a as z,P as er}from"./sentry-tsfGilE0.js";import{F$ as jt,FM as qt,Gh as Xt,Gi as Re,Gj as Qt,Gk as Jt,Gl as en,Gm as tn,Gn as li,Go as tr,FO as Ge,bm as Wn,bg as si,Gp as ci,cc as nr,bo as ir,G0 as di}from"./zeni-epic-state-DGV_6n4t.js";import{N as ct,D as or,R as rr,B as Se,u as _}from"./AccountRow-D1cjRJJD--C24H47s.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]="e70f3fa5-e843-4438-9b63-ffc46d494dae",e._sentryDebugIdIdentifier="sentry-dbid-e70f3fa5-e843-4438-9b63-ffc46d494dae")}catch{}})();function Z(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return xe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function Q(e){return U("0,0",e?.forecast)}function hi(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return xe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function Lt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return xe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function he(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return xe("0.00%",Math.floor(n*100)/100)}else return xe("0.00%",void 0)}function ue(e){if(e!=null&&e.forecast!=null){const n=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:n}))}else return U("0,0",null)}function ui(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return xe("0.00%",Math.floor(n*100)/100)}else return xe("0.00%",void 0)}function pi(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:n}))}else return U("0,0",null)}const Ee=(e,n,i)=>{const{startDate:o,balanceType:r}=n,{dateFormat:{visual:l}}=I.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${jt(o,l.MMMYYYYFormat,e)}`:Ct(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${I.getLocalizedStrings().reports.quarterPrefix}${jt(o,l.QYYYYformat,e)}`:Ct(r,i);case"year":return r==="default"||r==="default_with_percent"?`${jt(o,l.YYYYformat,e)}`:Ct(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function Ct(e,n){return I.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const Rg=(e,n,i)=>{const o=n.length==0?e:`${e}_${n.join("_")}`;return i!=null&&i.trim().length>0?`${o}_${i}`:`${o}_${Bo(10)}`},ar=a.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  width: 100%;
@@ -720,6 +720,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
720
720
  position: sticky;
721
721
  top: ${c.sp0};
722
722
  left: ${c.sp0};
723
+ z-index: 20;
723
724
  `:null}
724
725
  `,Ul=a.div`
725
726
  width: ${e=>e.noMarginForAccount?Je[e.nestingLevel].value(e.windowSize)-w[5]:Je[e.nestingLevel].value(e.windowSize)}px;
@@ -2292,6 +2293,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
2292
2293
  position: sticky;
2293
2294
  top: ${c.sp0};
2294
2295
  left: ${c.sp0};
2296
+ z-index: 20;
2295
2297
  `:null}
2296
2298
  `,xo=a(S)`
2297
2299
  user-select: none;
@@ -2361,6 +2363,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
2361
2363
  position: sticky;
2362
2364
  top: ${c.sp0};
2363
2365
  left: ${c.sp0};
2366
+ z-index: 20;
2364
2367
  `:null}
2365
2368
  `,wo=a(S)`
2366
2369
  user-select: none;
@@ -2434,6 +2437,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
2434
2437
  position: sticky;
2435
2438
  top: ${c.sp0};
2436
2439
  left: ${c.sp0};
2440
+ z-index: 20;
2437
2441
  `:null}
2438
2442
  `,rp=a.div`
2439
2443
  display: flex;
@@ -2452,6 +2456,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
2452
2456
  position: sticky;
2453
2457
  top: ${c.sp0};
2454
2458
  left: ${c.sp0};
2459
+ z-index: 20;
2455
2460
  `:null}
2456
2461
  `,ap=a(S)`
2457
2462
  user-select: none;
@@ -2583,6 +2588,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
2583
2588
  position: sticky;
2584
2589
  top: ${c.sp0};
2585
2590
  left: ${c.sp0};
2591
+ z-index: 20;
2586
2592
  `:null}
2587
2593
  `,Cp=a.div`
2588
2594
  display: flex;
@@ -2652,6 +2658,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
2652
2658
  position: sticky;
2653
2659
  top: ${c.sp0};
2654
2660
  left: ${c.sp0};
2661
+ z-index: 20;
2655
2662
  `:null}
2656
2663
  `,Np=a(S)`
2657
2664
  user-select: none;
@@ -2751,6 +2758,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
2751
2758
  position: sticky;
2752
2759
  top: ${c.sp0};
2753
2760
  left: ${c.sp0};
2761
+ z-index: 20;
2754
2762
  `:null}
2755
2763
  `,Gp=a(S)`
2756
2764
  user-select: none;
@@ -2807,6 +2815,7 @@ import{V as t,b5 as Ao,ac as x,bP as xe,aQ as U,dx as Bo,o as c,d as ee,aS as Sn
2807
2815
  position: sticky;
2808
2816
  top: ${c.sp0};
2809
2817
  left: ${c.sp0};
2818
+ z-index: 20;
2810
2819
  `:null}
2811
2820
  `,ng=a(S)`
2812
2821
  user-select: none;