@zeniai/web-cockpit-ui 1.15.23-qa → 1.15.24-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 (317) hide show
  1. package/dist/assets/{ACHDetailsPage-BOZmOJHO-cEby8czd.js → ACHDetailsPage-DsLMYxB2-DiWdTxEX.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-ZVCJizP9-Dtv35PtV.js → AIPerformancePage-Do1Jme84-DdOnxVtL.js} +45 -45
  3. package/dist/assets/AccountInfoPage-DBm3kSeD-C0VOOR62.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-D0wuuzMd-B0xWHsG5.js → AccountInfoPageContent-DLxvkpvG-BfQIWLZb.js} +23 -23
  5. package/dist/assets/AccountLockedInfoModal-Dbzdjjk6-DxFx-N4r.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DbHX6rPG-DT6lFlWy.js → AccountReconDetailsDrawerPage-BMhGA2Nw-3sJH1EqF.js} +11 -11
  7. package/dist/assets/{AccountRow-Bk_25FCy-C16qMB4Z.js → AccountRow-D5S7-AKx-CMAenaIW.js} +28 -28
  8. package/dist/assets/{AccountsPromoCardStack-DAXRwY1f-BZwImYDU.js → AccountsPromoCardStack-Cq1lsoaV-ClvHGp3M.js} +27 -27
  9. package/dist/assets/AddAddressForCardDrawer-Cfd3TMpf-DJjbOnkw.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CzziHgi7-BcDoFidX.js → AddToWalletPage-CEhxUk5V-D1aSu8HU.js} +32 -32
  11. package/dist/assets/{AgingReportsPage-Bdi3krKK-D_TiZ-tF.js → AgingReportsPage-CYrw-ffE-CLFSHLPA.js} +5 -5
  12. package/dist/assets/{AllUserItems-XWDuiug6-BAkUBjEM.js → AllUserItems-CUPJzOon-ClzFTm8l.js} +7 -7
  13. package/dist/assets/{ApAgingDetailPage-CaM_AzrU-BfYzOpHB.js → ApAgingDetailPage-BHfoAgPL-9OKwbRzK.js} +3 -3
  14. package/dist/assets/AppBasePage-BhcC9bkH-DtCArmcZ.js +71 -0
  15. package/dist/assets/{AppDrawerContent-DSX1364T-D_rsKUJJ.js → AppDrawerContent-CxmXgxbq-C_5ysSm0.js} +5 -5
  16. package/dist/assets/{ApprovalRulesSettingsPage-DrjPOeyp-CdYnJ9vy.js → ApprovalRulesSettingsPage-gu0Fjo8W-B6qPc807.js} +2 -2
  17. package/dist/assets/{ArAgingChart-M7KUNA4G-BBhQnHg6.js → ArAgingChart-CxGoJ-eL-BTrpq4ll.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-7lby5mXn-Cn-mYvQ2.js → ArAgingDetailPage-CNKe5FGf-DnsMVnO9.js} +4 -4
  19. package/dist/assets/{AttachmentView-Bsa0u92o-CjvOotrN.js → AttachmentView-BNb1kv2i-A0kL4eNc.js} +6 -6
  20. package/dist/assets/{BankAccountSection-BkOlwayA-BPcMBUXX.js → BankAccountSection-nxf2HgVE-CszdswjK.js} +7 -7
  21. package/dist/assets/BankAccountWarningSection-b7VJzhDr-C9lI5R8O.js +51 -0
  22. package/dist/assets/{BankConnectionsSettingsPage-C_YytTke-BzB9VzDB.js → BankConnectionsSettingsPage-Dj5RPseY-BsNJb4MV.js} +26 -26
  23. package/dist/assets/{BillDetailPage-DvU5_Rsp-DU8CrmLb.js → BillDetailPage-B8vxUUjs-wCDXpcbd.js} +8 -8
  24. package/dist/assets/BillPayApprovalRuleDetailPage-RxCSuM7j-Cm0UAXUf.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-CA9eufjt-Dn60Oc6F.js → BillPayApprovalRulesPage-qB8FSNxF-CXWPxuvt.js} +16 -16
  26. package/dist/assets/{BillPayPromoPage-DsXPWKAf-DohS7qp6.js → BillPayPromoPage-C-MLRBwj-rVTQLPGI.js} +11 -11
  27. package/dist/assets/{BillPaySetUpPage-CeMhzZ_3-vvoPdyI4.js → BillPaySetUpPage-DUcVwFf0-BSesdKGQ.js} +4 -4
  28. package/dist/assets/BillingSettingsPage-Br6yvoDv-TW6U52nf.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-WrR46NRa-BoZt797E.js → BillsBulkReviewDrawerPage-Cm2iOzT8-r_BIf6ms.js} +1 -1
  30. package/dist/assets/{BoxItem-C0M4PSXY-CL2s8rtu.js → BoxItem-BIGbJrpV-DWBd9dMt.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-orZNuqPA-7wUdhrYB.js +138 -0
  32. package/dist/assets/{CardNumberSubText-B4dAoYDE-CA1yVbnM.js → CardNumberSubText-lCdVj97_-CYJ5QkWc.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-B6xvn-y3-CWbA3umh.js → CashbackDetailPage-DyqE-V7x-CRCR9nS0.js} +27 -27
  34. package/dist/assets/{ChargeCardDetailPage-eJJ4MEE6-Dqa1hLcL.js → ChargeCardDetailPage-0a7KVsQ4-hN8gCQtG.js} +40 -40
  35. package/dist/assets/{ChargeCardListPage-BYI2HIjA-BxgrU4Bo.js → ChargeCardListPage-DZgzRmUt-Do_X95aE.js} +16 -16
  36. package/dist/assets/{ChargeCardListTable-DAVYmKCK-DhPjSkf0.js → ChargeCardListTable-CrPIqCYY-D8irt-gE.js} +51 -51
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-BX5HtOxd-By7opFFe.js → ChargeCardPaymentHistoryPage-BenEXh0n-DNZruLon.js} +27 -27
  38. package/dist/assets/ChargeCardPromoPage-Dv8vSGMv-DpjOjqBE.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-DG1eKhYR-C5J1ZUCx.js → ChargeCardSetupPage-BQdagLKY-25EtnZAG.js} +6 -6
  40. package/dist/assets/ChargeCardStatementsPage-1ntqN8-C-D2mSHxbe.js +60 -0
  41. package/dist/assets/{CheckDepositDrawerPage-BdacGDpy-_E8iHDvd.js → CheckDepositDrawerPage-Bbe3YMhk-CO2Q4-ZB.js} +23 -23
  42. package/dist/assets/{CollapsableReportTable-UADp1m_8-mWjI_leU.js → CollapsableReportTable-Bjp9ufA3-Dgphs2fm.js} +84 -84
  43. package/dist/assets/CompanyOfficerDetailsSection-DQYR5DxB-DWkkLcmn.js +260 -0
  44. package/dist/assets/{CompanyPassportCard-BJN2GEVm-1-ckXmYg.js → CompanyPassportCard-B9yLuYoV-D8pOY5Pg.js} +6 -6
  45. package/dist/assets/CompanyPassportPage-DrNN8V93-BS2z_ZGy.js +574 -0
  46. package/dist/assets/{CompleteProfile-C8X8Z3C2-B5zH0Tmw.js → CompleteProfile-DlDJUF9s-CdsViPGP.js} +1 -1
  47. package/dist/assets/ConfettiBurst-arWK85ba-Nctx98GV.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BxZ8LuDZ.js → ConstrainedInnerElement-BeIpAPjB-CUj8qilg.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-y-COpdhs-mKDFSPdj.js → CreateOrEditVendorPage-C0zQBkip-U8NfTx7v.js} +13 -13
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CntYJJ8v-CCrwQ0wx.js → CreditCardPaymentDrawerPage-BonuuJrp-5J05qwGb.js} +14 -14
  51. package/dist/assets/{CurrencySelectField-Dn-hE2az-Bzyg81M-.js → CurrencySelectField-CcwMU19m-DhJ7GYyu.js} +3 -3
  52. package/dist/assets/{CustomerOnboardingActivationPage-B9MZHJVc-BGGiyire.js → CustomerOnboardingActivationPage-CnLIuUI_-CZ-HlIwz.js} +5 -5
  53. package/dist/assets/CustomerOnboardingContainerPage-_uAzzeQT-CG5sXasi.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BCe8BvQF-BNh6nQQn.js → CustomerOnboardingDetailPageSkeleton-DFnaf7ny-CPvnX2LA.js} +14 -14
  55. package/dist/assets/CustomerOnboardingNoStepsPage-Dabc1DIn-BjBCiSR-.js +66 -0
  56. package/dist/assets/CustomerOnboardingPage-Dt4u_Cnq-BSCcv5Lh.js +107 -0
  57. package/dist/assets/CustomerOnboardingProductSuitePage-DrUE-f0H-oFUJaNSz.js +202 -0
  58. package/dist/assets/{Dashboard-CCV0_aCP-CQUZUy1N.js → Dashboard-Cgrcdi17-CUBT5krQ.js} +497 -478
  59. package/dist/assets/{DashboardReportPage-CmoH9Vrc-YRVh1xv0.js → DashboardReportPage-DbhRTdc4-CQqal3HB.js} +17 -17
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-hw3einS7-RBFGGSlR.js → DashboardSidebarBackgroundAnimation-C8g6lMFj-B53Xk9C1.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-DgdkYGjP-CjXxm0tW.js → DepositAccTransactionItem-D1o4IBkT-CKPRK6dd.js} +8 -8
  62. package/dist/assets/{DepositAccTransactionListPage-CF0WJn9M-BU4eJyrh.js → DepositAccTransactionListPage-xxNjjtT--2BN6hfkm.js} +6 -6
  63. package/dist/assets/{DomesticWireDetailsPage-B12tNa6e-CNX84UV9.js → DomesticWireDetailsPage-CwJaUAl--Cj9x82UD.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-Dt9yt4Fz-CIXLzBI9.js → DownloadOverlay-DQhWlo3j-Bh86wxNB.js} +18 -18
  65. package/dist/assets/{DrawerPage-Clki97FA-zwV1ORRL.js → DrawerPage-Cy3cU-ts-D2TKFfD6.js} +18 -18
  66. package/dist/assets/EditPeoplePage-XMLOGiwc-fvqHi7F-.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-CXy2ZWfZ-Ck_YPJ4k.js → EditReimbursementDetailPage-CPtNF3lE-CQCoSlzQ.js} +70 -70
  68. package/dist/assets/EntityDetailPage-CtIcsfb_-JOBkNq01.js +18 -0
  69. package/dist/assets/{EntitySummarySection-D_YLsP_P-BoWXtkG5.js → EntitySummarySection-DKVe_auH-CeBDnO_D.js} +11 -11
  70. package/dist/assets/{ExpenseAutomationOverviewPage-4z3yzHEA-nTE-jWCA.js → ExpenseAutomationOverviewPage-BerWhvvC-CSjoH80E.js} +16 -16
  71. package/dist/assets/{ExpenseAutomationPage-BJ4H_c2z-BvYmjMqO.js → ExpenseAutomationPage-ZFDuZKVx-B83nArlS.js} +133 -133
  72. package/dist/assets/{ExpressPayPage-CTBD4y1v-DvSbDu0h.js → ExpressPayPage-DWGFzFY1-Cbs-ZH6I.js} +19 -19
  73. package/dist/assets/{FeaturePreviewPage-CYuTQWpP-DOlo4xRY.js → FeaturePreviewPage-CTROYslk-B5_k_VjC.js} +3 -3
  74. package/dist/assets/{FollowStepsSection-BrpI2HyW-XxzZFZcC.js → FollowStepsSection-Cdw8tftg-CoRfWAMh.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-BcvxLqIL-BHB3eUmM.js → GlobalReviewListPage-FIiMWDt4-C-FGlEih.js} +47 -47
  76. package/dist/assets/{InformationCardStack-CU4Moqky-BIHm0VQL.js → InformationCardStack-DRM_CrnR-CyxIUlsK.js} +5 -5
  77. package/dist/assets/{InsightsCardStack-D8UQiuXZ-DZQxCUN_.js → InsightsCardStack-B6KSNBOO-BsTECKaL.js} +10 -10
  78. package/dist/assets/{InsightsSection-C3X6ZNEt-DJG_Zmq4.js → InsightsSection-CwYXRQBN-CI3Avgr4.js} +6 -6
  79. package/dist/assets/{IntegrationsSettingsPage-CsLv00HW-BCygOGPq.js → IntegrationsSettingsPage-VPy6IQco-D5f0_wQb.js} +12 -12
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-DgrN5Xg7-ClZ3XWsC.js → InternationalWireSwiftDetailsPage-CbztUTOk-DKKJSiFP.js} +19 -19
  81. package/dist/assets/InternationalWireVerificationPage-YuglosZT-hHWwb4SL.js +292 -0
  82. package/dist/assets/{InviteFormPage-B3KmRWXd-DulIQZ_M.js → InviteFormPage-BBHD1wv7-BsXiZ5Av.js} +38 -38
  83. package/dist/assets/{InvitePageListView-DfpJBZru-BHFIBF2O.js → InvitePageListView-Gpf4q2HF-Cgrh3Brc.js} +33 -33
  84. package/dist/assets/InvitePeoplePage-C0n05Aw5-BiEQhiP1.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-UXlA1jqD-DKu4SBzN.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-mPsxt52d-D6CBoByV.js → IssueChargeCardPage-CiL8yWbI-TIPP0zPK.js} +17 -17
  87. package/dist/assets/{LabeledAddressValue-C4fnQSyi-qLRstEHA.js → LabeledAddressValue-DGEHzZ-x-CpMYU-xP.js} +2 -2
  88. package/dist/assets/{LabeledAddressValueField-D6dEaI69-B-8SJ_Vf.js → LabeledAddressValueField-ClBxKhYQ-BPwdblj0.js} +2 -2
  89. package/dist/assets/{LabeledControlledCheckBoxField-B1QdZmvd-YPRDAbf-.js → LabeledControlledCheckBoxField-B8sC2eqF--fXqIBCr.js} +3 -3
  90. package/dist/assets/{LabeledCreatableSingleSelectField-BPX2Nrlf-P1p4rR_W.js → LabeledCreatableSingleSelectField-BzOLZcSy-pPeiMm4m.js} +17 -21
  91. package/dist/assets/LabeledDocumentField-D520KMMj-BWBkZsyZ.js +41 -0
  92. package/dist/assets/{LabeledDropDownFormattedTextField-A-rgip1E-DwXmP_dw.js → LabeledDropDownFormattedTextField-BwoAMxs1-UIy7_mYn.js} +8 -8
  93. package/dist/assets/{LabeledText-38fqkkE--CWSGVUzZ.js → LabeledText-CYRn3LhA-DMSyV-Kr.js} +2 -2
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-n-b2igUs.js → LabeledUserSingleSelectWithSubtitlesField-BzsLAAeQ-B2HtQzCh.js} +15 -15
  95. package/dist/assets/{LabeledZeniRolesDropDownField-Dg9_Ww-A-DIXzLshF.js → LabeledZeniRolesDropDownField-UiY4N_NF-DAzbxXzi.js} +28 -28
  96. package/dist/assets/{LinkJETransactionPage-66mQ4nrK-BzSVrJXZ.js → LinkJETransactionPage-PvLzGCy_-BrMsOKhb.js} +10 -10
  97. package/dist/assets/{LockCardPage-BCqN4K17-CeCQzjIU.js → LockCardPage-Cv1mXAE9-9__dgVHz.js} +58 -58
  98. package/dist/assets/{LowBalancePopup-BPk1-eAb-B6NttzQA.js → LowBalancePopup-go-1GM2R-DD-JSJCf.js} +5 -5
  99. package/dist/assets/MagicLinkACHDetailsPage-C7hjYeuM-BHqLoDUK.js +1 -0
  100. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv6pT3w6-pHplq2If.js +1 -0
  101. package/dist/assets/MagicLinkInternationalWireDetailsPage-CfMDImmz-BFiTy8N6.js +1 -0
  102. package/dist/assets/MagicLinkSuccessPage-D9Xys0GC-BWFMi_8X.js +31 -0
  103. package/dist/assets/{MagicLinkTitleSection-77rxhjLm-CJlwIBEZ.js → MagicLinkTitleSection-CPs72o7_-B260haOm.js} +4 -4
  104. package/dist/assets/MailingDetailsSection-wmwBSANL-jxA64fnZ.js +21 -0
  105. package/dist/assets/{MyBankConnectionsSettingsPage-z0tHaSl1-C2cR_W8d.js → MyBankConnectionsSettingsPage-Xo-zsUV_-Cbo1qVHj.js} +11 -11
  106. package/dist/assets/{MyPendingActivationChargeCardListPage-CwGYwufd-8VTw2t9E.js → MyPendingActivationChargeCardListPage-pMnrYxHt-D7bLZ8M3.js} +1 -1
  107. package/dist/assets/MyProfileSettingsPage-BKCzLBD9-DJbKBDYL.js +85 -0
  108. package/dist/assets/NavBarWithPicker-DFywcKz8-CSP4toa_.js +30 -0
  109. package/dist/assets/{NavigationArrow-NuJEpE7O-B5Q_1LoQ.js → NavigationArrow-BiYMk3Wz-DV9laMt6.js} +7 -7
  110. package/dist/assets/{NavigationDots-C7Na64B9-DsPnGRfr.js → NavigationDots-CCLpxuwG-stH2nUIP.js} +3 -3
  111. package/dist/assets/{NewGlobalMerchantPage-Cus6zYV_-B6Ar9J14.js → NewGlobalMerchantPage-C48VzTEf-Rej0eQZY.js} +7 -7
  112. package/dist/assets/NoDataChart-sGr0o2BN-Bsuwo3YM.js +26 -0
  113. package/dist/assets/NoDataTable-0l_09Wxn-YZLcmEEn.js +8 -0
  114. package/dist/assets/{NotFoundPage-RjXioqc8-DhhNAhxs.js → NotFoundPage-DFw9HBCT-CpQg4_TB.js} +6 -6
  115. package/dist/assets/{NotificationSettingsPage-DrDW_LU_-CS2oaUQv.js → NotificationSettingsPage-D1rRNeRj-BoZjctkd.js} +33 -33
  116. package/dist/assets/{NotificationsListConfig-C6_ap0JT-ByTHHJzO.js → NotificationsListConfig-LrfChZUx-DIWHkHKZ.js} +1 -1
  117. package/dist/assets/{NotificationsPage-DOM-Gf5P-B5QjEdl2.js → NotificationsPage-Cx4eb-l6-Tv8h6IrX.js} +35 -35
  118. package/dist/assets/{OpExByVendorPage-CTuBB827-bAvCbmPr.js → OpExByVendorPage-LpdEEb1U-C_zXpayd.js} +20 -20
  119. package/dist/assets/OverlayContainerPage-D4QU0p4o-DVuvwnps.js +11 -0
  120. package/dist/assets/{PandLWithForecastPage-BXaENYdR-CIp55YUH.js → PandLWithForecastPage-DwaVCK2R-B3ldDrVm.js} +7 -7
  121. package/dist/assets/PaymentAccountSetupBillingAddressSection-CBVazVlJ-Cj6aYWOl.js +107 -0
  122. package/dist/assets/{PeoplePage-BlyVVthI-B-EV5gcz.js → PeoplePage-z8ZDLJp4-CzfsOL8l.js} +31 -31
  123. package/dist/assets/{Preview-DuIVCswF.js → Preview-CYHE6ojy.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-CAcPH--E-rNhNCUol.js → ProductsCarousel-Dp5Of83--DVU-QMP8.js} +6 -6
  125. package/dist/assets/{PromoBaseCards-BVwZMVeE-sKF0t-Cs.js → PromoBaseCards-Bpmi7do2-BJmFgVqa.js} +14 -14
  126. package/dist/assets/{QBOConnectionDialog-C3OYyhYO-R6UU_AEU.js → QBOConnectionDialog-BCOigpzW-42XztANC.js} +6 -6
  127. package/dist/assets/QBOSetupSection-Blf2QxYu-XsjB6fpI.js +79 -0
  128. package/dist/assets/ReimbursementApprovalRuleDetailPage-D4G5Zc8u-xW6pbKuW.js +32 -0
  129. package/dist/assets/{ReimbursementApprovalRulesPage-Cx0gs7sS-C6EpKLmO.js → ReimbursementApprovalRulesPage-Cq3lTD4B-tMr-F7DV.js} +5 -5
  130. package/dist/assets/{ReimbursementDetailPage-Cs_rmkS8-B_IsEOAd.js → ReimbursementDetailPage-CxP7ZEyW-B6qTtbOy.js} +18 -18
  131. package/dist/assets/{ReimbursementPromoPage-CCFl0kQK-4i08L5Az.js → ReimbursementPromoPage-tSycJK9l-Ckl5RC8p.js} +13 -13
  132. package/dist/assets/{ReimbursementSetUpPage-lf3xTVFh-DUT9d0Mn.js → ReimbursementSetUpPage-iGjNkC8E-CCqGUnkA.js} +11 -11
  133. package/dist/assets/ReimbursementsBulkReviewDrawerPage-HrLSNRHq-MRocYFws.js +1 -0
  134. package/dist/assets/{ReloadCard-V_tv6YLR-DqFWQtu8.js → ReloadCard-CuRTghCv-1vd5kIoI.js} +5 -5
  135. package/dist/assets/{ReportTableViewSelector-CWEvGn8L-BJ8v1swV.js → ReportTableViewSelector-C2oaqgZL-DxS4YP70.js} +29 -29
  136. package/dist/assets/{ReportsPage-BJOH1wgv-BsrwNJ-k.js → ReportsPage-D5DDZHox-DJ4p-I_l.js} +5 -5
  137. package/dist/assets/{RevenueChart-C_tSBw_N-mvbUBlrr.js → RevenueChart-Na7paK3w-C9jLX88S.js} +15 -15
  138. package/dist/assets/{ReviewDetailsPage-CScPf4w3-Ctziy86b.js → ReviewDetailsPage-BFj3ZJyp-DV2ASgwc.js} +30 -30
  139. package/dist/assets/{ReviewOverlay-BQVwPzKa-4F5TS8uf.js → ReviewOverlay-Cz8LqkKC-CAVeDnHw.js} +25 -25
  140. package/dist/assets/RoleWithToolTip-CSC65531-LXNMc-YZ.js +22 -0
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cgqgn7nk-BjZWT_sw.js → ScheduleDetailsFixedAssetsPage-UVIM7eda-BD3KjhgE.js} +8 -8
  142. package/dist/assets/ScheduleDetailsPage-_mUOLW28-DoX9vWxb.js +37 -0
  143. package/dist/assets/{ScheduleSequenceTable-DDhoyPGX-DiqXc1Uz.js → ScheduleSequenceTable-DQlMdMO0-r5LBclLE.js} +24 -24
  144. package/dist/assets/{ScreenRoutes-D8bPqH59.js → ScreenRoutes-IDjhPTpz.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-AVL_16HQ-BbYtft6_.js → SetUpAccountSection-C_DCt5R8-BxiVSyFQ.js} +5 -5
  146. package/dist/assets/{SignIn-BLUwTp1l-DB5kyM9Q.js → SignIn-1fhq5RCV-BLtoe96T.js} +24 -24
  147. package/dist/assets/{SignInScreen-UMW9hVBZ.js → SignInScreen-Bt9k9qpu.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-DJbNFHvP-zzqCy8fW.js → SpendManagementListViewPage-Cxe5movK-Q_tVVASy.js} +8 -8
  149. package/dist/assets/{SpendManagementPerTabPage-J5pIRm-Q-BAHyEiz9.js → SpendManagementPerTabPage-Dj9VrJCp-yGVPTW-t.js} +54 -54
  150. package/dist/assets/{SpendManagementSection-DZaP5ai6-DqwZ8uTy.js → SpendManagementSection-DGGqh0xs-CpnXaxhL.js} +25 -25
  151. package/dist/assets/{StatementItem-D2Fx65LN-itwCNL7r.js → StatementItem-ChfKUse--BISxQzB7.js} +7 -7
  152. package/dist/assets/{StatementsPage-BCh51lDW-BCn67G2d.js → StatementsPage-BAg2GA58-6dBp6JN9.js} +2 -2
  153. package/dist/assets/{StatusSwitcher-C5ZrzI8Y-Bh2yMPTS.js → StatusSwitcher-DsSflF9D-B-QsB0QQ.js} +4 -4
  154. package/dist/assets/{SubTabSwitcher-BXZxKeq9-CG8W65SL.js → SubTabSwitcher-DxUZTJB0-xCwGWu4u.js} +1 -1
  155. package/dist/assets/{SummaryCard-194UToy6-BSV06CcW.js → SummaryCard-B1mg84fd-GbF-N-vY.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-zcxDUo0t-D96gR07A.js → TaskManagementPage-Z40FApxJ-CMQHa1zS.js} +15 -15
  157. package/dist/assets/{TimeRangeSwitcher-Bsv7zQmN-B2ABAd6E.js → TimeRangeSwitcher-B4sHEx1F-C3HNMT2K.js} +11 -11
  158. package/dist/assets/{TimeframeSwitcher-DtxsNy1Z-biWVJ5xe.js → TimeframeSwitcher-D8zfgEX_-Bal85V7i.js} +6 -6
  159. package/dist/assets/{TimeframeSwitcherWithToggle-B5bFhbvL-CMKwEo3M.js → TimeframeSwitcherWithToggle-CD1f2F9o-B2FZN44A.js} +2 -2
  160. package/dist/assets/{TopExCard-CBua66Cj-CLdeyiEj.js → TopExCard-BpicN73M-DINSiiqz.js} +6 -6
  161. package/dist/assets/{TopExDetailPage-DtMA-XMp-eQWNkFxw.js → TopExDetailPage-iw-7HulH-DXnd8BHg.js} +17 -17
  162. package/dist/assets/{TransactionActivityLogPage-C3BPL8hi-cf_AJXhm.js → TransactionActivityLogPage-D7oH2hs_-vzUEThxA.js} +16 -16
  163. package/dist/assets/{TransactionDetailPage-CeKaduBe-CDZ2fkiy.js → TransactionDetailPage-DLiA4XLe-BY8d6fwg.js} +28 -28
  164. package/dist/assets/{TransactionList-CSx8ZCZ--d2IrBP0a.js → TransactionList-CFz4Gf7Z-BRDY3-q0.js} +11 -11
  165. package/dist/assets/{TransactionListBig-B4cNQY2d-DsSMgpDJ.js → TransactionListBig-BYHLJtlB-BgEsroqF.js} +17 -17
  166. package/dist/assets/TransactionListPage-BxtVNNib-CNsq76WM.js +35 -0
  167. package/dist/assets/{TransactionVendorDetailPage-DsxI8U5b-ndv151CC.js → TransactionVendorDetailPage-CEAFUrTl-DeNvS775.js} +7 -7
  168. package/dist/assets/{TransferDrawerPage-C91TQwZi-DG70uoUO.js → TransferDrawerPage-C6hdavbT-DrJHkT7i.js} +34 -34
  169. package/dist/assets/{TreasuryOverviewPage-BoBn_gtF-DRCeca-k.js → TreasuryOverviewPage-BP26JP5_-CP8HfxZ3.js} +47 -47
  170. package/dist/assets/{TreasuryPromoPage-CQ-VYEQC-B8CYyPsQ.js → TreasuryPromoPage-DjVR20gs-wVmMwzp-.js} +131 -131
  171. package/dist/assets/TreasuryStatementsPage-Beixz0Ou-tCIgJGtT.js +58 -0
  172. package/dist/assets/{TreasuryTaxLetterPage-Cxhr51TD-XbjcHfk-.js → TreasuryTaxLetterPage-BW2fTHN--mfzNiBgO.js} +3 -3
  173. package/dist/assets/{TrendChart-DATgAEKG-Djx4U96K.js → TrendChart-sup0F9JZ-BygEThKD.js} +5 -5
  174. package/dist/assets/{TrendWithTransactions-DqPFuOvC-x4Algl45.js → TrendWithTransactions-C7azwT25-C5kNS0ZN.js} +3 -3
  175. package/dist/assets/{UncategorizedAccountsMappingPage-BQjXazj4-Dqjd8HUK.js → UncategorizedAccountsMappingPage-Etkl_fAG-DXRnm2d5.js} +9 -9
  176. package/dist/assets/{UnitIntegrationPage-BiRGRtpI-CH_KjQo0.js → UnitIntegrationPage-ZsJHRr7Z-BSAHu-Ly.js} +10 -10
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-DCldWCol-52j80irm.js → UploadAdditionalDocumentOverlay-Z5AuwaDQ-BUBRAJWb.js} +1 -1
  178. package/dist/assets/Vendor2FAPopup-BcnPzCr1-DSeMdCqS.js +1 -0
  179. package/dist/assets/VendorACHDetailsPage-D5SdrDy6-N4lQNnE6.js +1 -0
  180. package/dist/assets/{VendorDetailPage-DY4iaLtz-qkdhxNgo.js → VendorDetailPage-Dnr8_eWj-07Hixr6q.js} +91 -91
  181. package/dist/assets/VendorDomesticWireDetailsPage-Bv2OKF0M-DAfdk4lz.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-Dep7O8Uz-40wzCsHS.js → VendorFiling1099EditablePage-C7SK3oAX-sJjp-Qba.js} +32 -32
  183. package/dist/assets/{VendorFirstReviewPage-CJQIZn8g-BnRcRr5L.js → VendorFirstReviewPage-sMOzaFlZ-Bd_oFyDy.js} +49 -49
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CJG5RIa2-CMGp5yLv.js → VendorInternationalWireDetailsPage-B2c1Rev--BIjFP46u.js} +9 -9
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CRpoKTWj-B3s-WEz1.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-D65ewlO6-CXkQj_-N.js → VendorsAccountsSection-Df4nOfCb-CW1ZNQaH.js} +2 -2
  187. package/dist/assets/{VerifyDevice-B1_jgwgY-Bn121ir_.js → VerifyDevice-ogibIJ0s-DAh6OFj7.js} +12 -12
  188. package/dist/assets/{VideoPlayer-vWSXteQ6-Bhqtm51R.js → VideoPlayer-C5JZyeyT-D8KcGBDj.js} +2 -2
  189. package/dist/assets/{VideoPopup-CdsmU6H4-CKubgiHN.js → VideoPopup-Dw-9lQNK-0rd-UPIe.js} +2 -2
  190. package/dist/assets/{WarningsDrawerPage-CjgOsD00-DPo9HOu3.js → WarningsDrawerPage-CR9wWm5g-e4J9Pag3.js} +11 -11
  191. package/dist/assets/{ZeniAccountDetailPage-DiLnoonB-Dt3FIT6q.js → ZeniAccountDetailPage-CP6XbPoi-BnZudMg6.js} +20 -20
  192. package/dist/assets/{ZeniAccountListViewPage-YfPsO8ls-BVnH_XmJ.js → ZeniAccountListViewPage-B-8rvc59-BisABJW0.js} +25 -25
  193. package/dist/assets/ZeniAccountNavBarPieces-D_Jdtql7-D0896al8.js +14 -0
  194. package/dist/assets/{ZeniAccountPromoPage-cEfW88p8-DvvQgJIb.js → ZeniAccountPromoPage-DmXuuPc3-BsixtEBb.js} +28 -28
  195. package/dist/assets/ZeniAccountSetupPage-CiLrh0yu-B_DH4YUU.js +36 -0
  196. package/dist/assets/{ZeniCopyright-BROHmszx-0R55d0Il.js → ZeniCopyright-DIzbP27w-D1bPi2Em.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-DZZrrFXf-Dokv6rUo.js → ZeniTransferAmountSlider-CYZYkuN_-Bs-AxRga.js} +7 -7
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-DBbMptVC.js → add-to-wallet-DgdBD8_G-DgwTOiTb.js} +1 -1
  199. package/dist/assets/{analytics-DH2FWXQR.js → analytics-BVR-nkdQ.js} +1 -1
  200. package/dist/assets/analyticsHelper-CeSpIREf.js +1 -0
  201. package/dist/assets/{analyticsHelper-FJ-cS8qS-eGTXz9ur.js → analyticsHelper-CirorDP7-BWRCY1oT.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-DzFpwdLa.js → arrow-south-east-round-PEovUgvH-DTABdjGY.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-C9AIqfs3.js → auto-transfer-rule-mbafm5D3-uZ4hnV5g.js} +1 -1
  204. package/dist/assets/{chartTypes-DJdbX13L-CrV_XhuE.js → chartTypes-B9iWOG3r-C4s2YMo6.js} +1 -1
  205. package/dist/assets/{commonDimensions-BpYNnQtf-BrWIfeCb.js → commonDimensions-SFn2jHVc-CTDxaBd-.js} +1 -1
  206. package/dist/assets/{constants-nz8RVtEp.js → constants-CZu969tQ.js} +1 -1
  207. package/dist/assets/{core-Be77t6wT.js → core-BCC1NfcO.js} +1 -1
  208. package/dist/assets/{dash.all.min-1JaBh8EA.js → dash.all.min-BRxR-4km.js} +1 -1
  209. package/dist/assets/{detailCommon-BRja9H93-B06H9tRW.js → detailCommon-BTjqps8N-BwbXd0VD.js} +5 -5
  210. package/dist/assets/downloadPdf-CqjEwKR5-CVBCWVbb.js +1 -0
  211. package/dist/assets/{empty-DqMX1iak.js → empty-BjP_AR0Y.js} +1 -1
  212. package/dist/assets/{empty-CVHCqPg8.js → empty-CN6lL5vr.js} +1 -1
  213. package/dist/assets/epic-CYfuPaR1.js +2 -0
  214. package/dist/assets/{gift-box-Cmt9OgIZ-hRxp85e2.js → gift-box-Cmt9OgIZ-jp2GTx_l.js} +1 -1
  215. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DdG5b35f.js → graphic-no-data-l-DU4J8fDt-CoNwe8F7.js} +1 -1
  216. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CRLCiMSY.js → graphic-no-data-net-burn-l-CzmycA0m-Blfk9v0F.js} +1 -1
  217. package/dist/assets/{handshake-BPg58FML-Ts-GBzII.js → handshake-BPg58FML-BZVWd-R4.js} +1 -1
  218. package/dist/assets/{index-BsnL7ZTX.js → index-BJwUmr6X.js} +4654 -4680
  219. package/dist/assets/{index-gGz0-y9K.js → index-CDawrAV5.js} +1 -1
  220. package/dist/assets/{index-BIQvGH1Z.js → index-DOGKWCNR.js} +1 -1
  221. package/dist/assets/{index-CHDWslZ9.js → index-Dc-8bDa8.js} +1 -1
  222. package/dist/assets/{index-Cyi12XGG.js → index-DdlMyYMd.js} +1 -1
  223. package/dist/assets/{index-WLQ2kK4T.js → index-klyQo3c-.js} +1 -1
  224. package/dist/assets/{index-Q1D5afUf.js → index-oIMKLk8g.js} +1 -1
  225. package/dist/assets/{lexical-4qH-Yr6_.js → lexical-D1A0yBcv.js} +1 -1
  226. package/dist/assets/{liveblocks-CUDrE-0X.js → liveblocks-gc1Zpgue.js} +1 -1
  227. package/dist/assets/{lottie-C5G-hUN3.js → lottie-PDiRMFOU.js} +1 -1
  228. package/dist/assets/mapLoadingInProgressToTreeNode-DkhO3K0B-BF8CClXj.js +1 -0
  229. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BlrJTKah-CAIHDBtK.js → mapSectionWithAcOnlyToTreeNode-BywQAVX8-CBoe52_o.js} +1 -1
  230. package/dist/assets/{mapSpacerToTreeNode-DvdWKHfX-CpssydBI.js → mapSpacerToTreeNode-nn83cq1C-a5kCwrR8.js} +1 -1
  231. package/dist/assets/{mapTimeframeBalancesToTreeNode-88qIN3FA-COjHTdZT.js → mapTimeframeBalancesToTreeNode-CKjqanKd-DfEyG-Ny.js} +1 -1
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-CmXuntuz-4PcA3DEd.js +1 -0
  233. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-CKS-2PqY.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bs8iGys9-D6oy7HtW.js} +1 -1
  234. package/dist/assets/{mui-DsjrNjDe.js → mui-BPiKl8lE.js} +1 -1
  235. package/dist/assets/{page-detail-CWX5S47F--SwzhZlk.js → page-detail-CWX5S47F-GD7pPHSX.js} +1 -1
  236. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-Cev-MiVu.js → panelSelectedMixin-CzfD5-Zs-DK9S-4A7.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-YvmWy399.js → radio-default-CiSgisfh-BDa9leTw.js} +1 -1
  238. package/dist/assets/{react-eUpxlpRg.js → react-BmSXOB2V.js} +1 -1
  239. package/dist/assets/{react-BWkra2hE.js → react-CVwAo7aZ.js} +1 -1
  240. package/dist/assets/{react-CSCeF-Sb.js → react-Chs2CyCz.js} +1 -1
  241. package/dist/assets/{react-XG3-S5t1.js → react-Ck-O1ppd.js} +1 -1
  242. package/dist/assets/{react-Ci_HLnoa.js → react-DZxKpeyN.js} +2 -2
  243. package/dist/assets/{react-Bqp70D_u.js → react-DtUvZi19.js} +1 -1
  244. package/dist/assets/{react-BCXSKYRr.js → react-T0X5kbJf.js} +1 -1
  245. package/dist/assets/{react-DL4wn98u.js → react-kH3wqLZe.js} +2 -2
  246. package/dist/assets/{recharts-CmZa-egc.js → recharts-CTVVh_-r.js} +1 -1
  247. package/dist/assets/{sentry-9b1mvxJ5.js → sentry-Dozbf0xW.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-B8zzGKQS.js → shield-DOlUxcFf-BXU_wIp-.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-DvC1wuTC-B-3HfOc_.js +1 -0
  250. package/dist/assets/{toChartData-B3ouXKAd-D6dTQxs5.js → toChartData-mAeXlYNV-B69xO8vw.js} +1 -1
  251. package/dist/assets/{uploadAttachment-DNNG-CMy-BbELmBL6.js → uploadAttachment-BAVcYsOo-CTVw7Tly.js} +16 -16
  252. package/dist/assets/uploadReceipts-Dge0cNF1-1wHJJfDu.js +1 -0
  253. package/dist/assets/{url-RTB-DW5V.js → url-AR2JoXnJ.js} +1 -1
  254. package/dist/assets/{url-BiBhYcFe.js → url-D26ZSNVT.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-CsE5mUiU.js → useLongPress-GCK2COYQ-DajesI1J.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-5m5uF-Rf.js → usp-line-BBd1wKwW-CY_8hROo.js} +1 -1
  257. package/dist/assets/{utils-VcZ1Xqjg.js → utils-CJtHQQTa.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-DJX8u9R8.js → zeni-epic-state-DD2IEaUq.js} +17 -17
  259. package/dist/index.html +1 -1
  260. package/package.json +4 -4
  261. package/dist/assets/AccountInfoPage-DF6IU0EG-DxCZYmdQ.js +0 -18
  262. package/dist/assets/AccountLockedInfoModal-Cfx-lPAZ-DshiVPV5.js +0 -59
  263. package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-CLwDyH_f.js +0 -6
  264. package/dist/assets/AppBasePage-B7_L4R6d-CdK-0SuM.js +0 -71
  265. package/dist/assets/BankAccountWarningSection-uMOXLH0B-BYzXyhFM.js +0 -51
  266. package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-DVjWIsxB.js +0 -27
  267. package/dist/assets/BillingSettingsPage-BygJjDSp-TUk3hFrg.js +0 -44
  268. package/dist/assets/BusinessVerificationPage-C63pUk4d-O2_DYefs.js +0 -138
  269. package/dist/assets/ChargeCardPromoPage-DuQe7BpX-C4Pi99Eb.js +0 -222
  270. package/dist/assets/ChargeCardStatementsPage-CvtZtuVC-fVY1XVT7.js +0 -60
  271. package/dist/assets/CompanyOfficerDetailsSection-CaAR0Wvk-Y2CrJIeH.js +0 -331
  272. package/dist/assets/CompanyPassportPage-D2ALJDF_-BefJj8do.js +0 -417
  273. package/dist/assets/ConfettiBurst-DxHzdDPp-B5gAhZ11.js +0 -1
  274. package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-BeFivMSV.js +0 -1
  275. package/dist/assets/CustomerOnboardingNoStepsPage-BHk7rDAg-DFqj8w76.js +0 -66
  276. package/dist/assets/CustomerOnboardingPage-1LvpVpHC-CtZqBhcA.js +0 -107
  277. package/dist/assets/CustomerOnboardingProductSuitePage-DMYHMJXg-DknXOQ4Z.js +0 -202
  278. package/dist/assets/EditPeoplePage-CKS_aEZm-3p7F4OmS.js +0 -55
  279. package/dist/assets/EntityDetailPage-B3TQ5hCP-Ce-hU3r6.js +0 -18
  280. package/dist/assets/InternationalWireVerificationPage-CvysJNBQ-ClnlKtmf.js +0 -65
  281. package/dist/assets/InvitePeoplePage-C5Qgk24s-Dkn2B0kS.js +0 -12
  282. package/dist/assets/InvoiceUploadSection-BO1i-e_D-DgD0BWyr.js +0 -140
  283. package/dist/assets/LabeledCountryMultiSelectField-XeBih_-f-fdD3iTtd.js +0 -237
  284. package/dist/assets/LabeledDocumentField-Bjg8sNsg-ozNb8OQw.js +0 -41
  285. package/dist/assets/LabeledMultiSelectField-Di9Wnifv-Cu7d4aN2.js +0 -223
  286. package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-CP2qlsFS.js +0 -1
  287. package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-CxyKarhq.js +0 -1
  288. package/dist/assets/MagicLinkInternationalWireDetailsPage-B3OpSWB3-Ka8HAAdC.js +0 -1
  289. package/dist/assets/MagicLinkSuccessPage-CphaJa4k-ClRRHux0.js +0 -31
  290. package/dist/assets/MailingDetailsSection-BJfZvT0b-CfIiVZuJ.js +0 -21
  291. package/dist/assets/MyProfileSettingsPage-8yBXAre6-z1GTbXeP.js +0 -85
  292. package/dist/assets/NavBarWithPicker-C3LVyiC9-CjcZT1T-.js +0 -30
  293. package/dist/assets/NoDataChart-B3s_7m2n-ConKu00U.js +0 -26
  294. package/dist/assets/NoDataTable-CMpypnTw-Bpr4-Ujz.js +0 -8
  295. package/dist/assets/OverlayContainerPage-D4QU0p4o-D1piLlT1.js +0 -11
  296. package/dist/assets/PaymentAccountSetupBillingAddressSection-DSnQX90O-1Q0Vgv-d.js +0 -107
  297. package/dist/assets/QBOSetupSection-DQjol-D0-AZZiDMHT.js +0 -79
  298. package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-Ysis5LEV.js +0 -32
  299. package/dist/assets/ReimbursementsBulkReviewDrawerPage-C5MTFJLG-CU5EXNX4.js +0 -1
  300. package/dist/assets/RoleWithToolTip-GCV_l8Ly-C91LsT_P.js +0 -22
  301. package/dist/assets/ScheduleDetailsPage-D1EJbzxN-tEZm6Ypr.js +0 -37
  302. package/dist/assets/TransactionListPage-DHr64V-b-Dv4ZTiv4.js +0 -35
  303. package/dist/assets/TreasuryStatementsPage-taTRE54D-C6eZxSm6.js +0 -58
  304. package/dist/assets/Vendor2FAPopup-BpkAiYTA-EdR_K2lH.js +0 -1
  305. package/dist/assets/VendorACHDetailsPage-tUuZzJnN-Ber2jwRD.js +0 -1
  306. package/dist/assets/VendorDomesticWireDetailsPage-B5Nym5J9-CNysSCSa.js +0 -1
  307. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-CzR_dRp5.js +0 -1
  308. package/dist/assets/ZeniAccountNavBarPieces-CHStBvRa-mP-Dj2Rz.js +0 -14
  309. package/dist/assets/ZeniAccountSetupPage-B20DHYex-B3wsvhel.js +0 -36
  310. package/dist/assets/analyticsHelper-nIT7pIRZ.js +0 -1
  311. package/dist/assets/commonTypes-BVbA7QjV-Ym_NCrQO.js +0 -1
  312. package/dist/assets/downloadPdf-WDHjFv79-pPdvILQx.js +0 -1
  313. package/dist/assets/epic-upTynnWU.js +0 -2
  314. package/dist/assets/mapLoadingInProgressToTreeNode-C_5Bb47i-BB5tvKPX.js +0 -1
  315. package/dist/assets/mapTimeframeBalancesToTreeNode-AkxvYRty-CiDsqvCZ.js +0 -1
  316. package/dist/assets/toCOABalancesWithID-Bq4Xe7az-BxQaUEv2.js +0 -1
  317. package/dist/assets/uploadReceipts-Dge0cNF1-CyA0lW2P.js +0 -1
@@ -1,4 +1,4 @@
1
- import{d as A,V as a,F as D,J as de,b3 as Z,u as I,b as M,aY as J,o as m,aP as Ae,p as g,aD as Ve,y as xe,bM as ge,al as R,bN as V,ba as F}from"./index-BsnL7ZTX.js";import{a as P,P as ee}from"./sentry-9b1mvxJ5.js";import{n as x}from"./mui-DsjrNjDe.js";import{p as b,d as ae,y as W,b as N,g as re,u as T}from"./chartTypes-DJdbX13L-CrV_XhuE.js";import{i as K,h as oe,c as G}from"./toCOABalancesWithID-Bq4Xe7az-BxQaUEv2.js";import{V as Q}from"./toChartData-B3ouXKAd-D6dTQxs5.js";import{H as Te,I as te,X as le,Y as ne,J as ce,L as pe,K as se,M as me,N as fe}from"./recharts-CmZa-egc.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]="175bda3c-acb1-461b-bc96-237f81152ca8",e._sentryDebugIdIdentifier="sentry-dbid-175bda3c-acb1-461b-bc96-237f81152ca8")}catch{}})();const X={legendLabelMarginLeft:new xe(2,2),legendLabelMarginRight:new xe(I[3],I[4])},Fe=x.div`
1
+ import{e as A,V as a,F as D,J as de,b4 as Q,u as I,b as M,aZ as J,o as m,aQ as Ae,p as g,aE as Ve,y as xe,bN as ge,al as R,bO as V,bb as F}from"./index-BJwUmr6X.js";import{a as P,P as ee}from"./sentry-Dozbf0xW.js";import{n as x}from"./mui-BPiKl8lE.js";import{p as b,d as ae,y as W,b as N,g as re,u as T}from"./chartTypes-B9iWOG3r-C4s2YMo6.js";import{i as K,h as oe,c as G}from"./toCOABalancesWithID-DvC1wuTC-B-3HfOc_.js";import{V as Z}from"./toChartData-mAeXlYNV-B69xO8vw.js";import{H as Te,I as te,X as le,Y as ne,J as se,L as pe,K as ce,M as me,N as fe}from"./recharts-CTVVh_-r.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]="6e80deb7-b4b9-4a69-8417-64dfa7bb2ee6",e._sentryDebugIdIdentifier="sentry-dbid-6e80deb7-b4b9-4a69-8417-64dfa7bb2ee6")}catch{}})();const X={legendLabelMarginLeft:new xe(2,2),legendLabelMarginRight:new xe(I[3],I[4])},Fe=x.div`
2
2
  display: flex;
3
3
  `,He=x.div`
4
4
  margin: ${m.sp2} ${m.sp0} ${m.sp2} ${m.sp0};
@@ -27,9 +27,9 @@ import{d as A,V as a,F as D,J as de,b3 as Z,u as I,b as M,aY as J,o as m,aP as A
27
27
  margin-right: ${m.sp2};
28
28
  `,Ue=x(R)`
29
29
  text-align: left;
30
- `,Qe=x(R)`
30
+ `,Ze=x(R)`
31
31
  text-align: right;
32
- `,Ze=({active:e,payload:r})=>{const t=[];return r?.forEach(n=>{const o=n.name;if(e===!0){const l=n.payload,i=n.color,h=o!=null&&l.record[o]!=null?l.record[o].amount:void 0;t.push({barName:D.getLocalizedStrings().chartCard.cashInCashOut[N(o)],value:h,color:i})}}),t},be=e=>e.map((r,t)=>a.jsxs(Xe,{color:r.color,children:[a.jsxs(Ue,{children:[a.jsx(qe,{color:r.color}),`${r.barName}:`]}),a.jsx(Qe,{children:`${T(r.value)}`})]},r.barName+t)),Je=e=>{const r=Ze({...e});return r.length===0?null:a.jsx(Fe,{children:a.jsxs(Ye,{children:[be(r.slice(0,r.length-1)),r.length?a.jsx(He,{}):null,be(r.slice(-1))]})})},ea=ee.memo(Je),aa=(e,r,t,n,o)=>{let l=[],i=[],h=[];t!=null&&t.balances.length>0&&(l=K("cash_in","actual",t)),n!=null&&n.balances.length>0&&(i=K("cash_out","actual",n)),o!=null&&o.balances.length>0&&(h=oe("net_cash_flow","actual",o));const s=b("cash_in","actual"),c=b("cash_out","actual"),f=b("net_cash_flow","actual"),p=l.length>0?s:i.length>0?c:void 0,d={};return d[s]=l,d[c]=i,d[f]=h,p!=null?Q(e,r,p,d):void 0},ye=[b("cash_in","actual"),b("cash_out","actual"),b("net_cash_flow","actual")],ra=x.div`
32
+ `,Qe=({active:e,payload:r})=>{const t=[];return r?.forEach(n=>{const o=n.name;if(e===!0){const l=n.payload,i=n.color,h=o!=null&&l.record[o]!=null?l.record[o].amount:void 0;t.push({barName:D.getLocalizedStrings().chartCard.cashInCashOut[N(o)],value:h,color:i})}}),t},be=e=>e.map((r,t)=>a.jsxs(Xe,{color:r.color,children:[a.jsxs(Ue,{children:[a.jsx(qe,{color:r.color}),`${r.barName}:`]}),a.jsx(Ze,{children:`${T(r.value)}`})]},r.barName+t)),Je=e=>{const r=Qe({...e});return r.length===0?null:a.jsx(Fe,{children:a.jsxs(Ye,{children:[be(r.slice(0,r.length-1)),r.length?a.jsx(He,{}):null,be(r.slice(-1))]})})},ea=ee.memo(Je),aa=(e,r,t,n,o)=>{let l=[],i=[],h=[];t!=null&&t.balances.length>0&&(l=K("cash_in","actual",t)),n!=null&&n.balances.length>0&&(i=K("cash_out","actual",n)),o!=null&&o.balances.length>0&&(h=oe("net_cash_flow","actual",o));const c=b("cash_in","actual"),s=b("cash_out","actual"),f=b("net_cash_flow","actual"),p=l.length>0?c:i.length>0?s:void 0,d={};return d[c]=l,d[s]=i,d[f]=h,p!=null?Z(e,r,p,d):void 0},ye=[b("cash_in","actual"),b("cash_out","actual"),b("net_cash_flow","actual")],ra=x.div`
33
33
  width: ${e=>e.width}px;
34
34
  height: ${e=>e.height}px;
35
35
 
@@ -42,7 +42,7 @@ import{d as A,V as a,F as D,J as de,b3 as Z,u as I,b as M,aY as J,o as m,aP as A
42
42
  `,oa=x(ge)`
43
43
  margin-left: ${e=>X.legendLabelMarginLeft.valuePx(e.windowSize)};
44
44
  color: ${e=>e.theme.colors.primary};
45
- `;function Tr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:h}){const s=A(),c=P.useRef(!1);P.useEffect(()=>{c.current=!0},[]);const f=[s.colors.graphColor33,s.colors.graphColor36,s.colors.graphColor35],p=(_,w=s.colors.graphColor08)=>_<f.length?f[_]:w,d=aa(e.firstMonthOfFY,ye,e.cashIn,e.cashOut,e.netCashFlow),y=()=>{const _=[];return ye.forEach((w,C)=>{const L=i===!0&&!c.current;_.push(a.jsx(se,{name:w,animationDuration:L?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:$=>{const k=$.record;return(k[w]!=null&&k[w].amount!=null?k[w].amount:void 0)?.amount??0},fill:p(C)},w))}),_};return d==null?null:a.jsx(ta,{chartData:d,timeframe:r,showBarHoverBackground:l,barElements:y(),customToolTipContent:({active:_,payload:w})=>a.jsx(ea,{active:_,payload:w}),width:n,height:o,onCOABalancesRangeChanged:h,highlightedRange:t,isDetailPage:i===!0})}const ta=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=de(),p=A(),d=e.timeseries,y=ae(e),_=d.map($=>$.label),w=h!==!1,C=$=>{if(!s||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const v=$.activeTooltipIndex,O=k.payload.timeLabel.label;if(o==null)return;const u=re(O,_,o.numberOfPeriods),j=u[1]===void 0?_.length-1:_.indexOf(u[1]),S={...o,thisPeriod:{startDate:d[j].startDate,endDate:d[j].endDate}};c?.(d[v],r,S)},L=s?(l-60)/W.cash_in_cash_out*(W.cash_in_cash_out-e.recordByTimeseries.length):20;return a.jsx(ra,{"data-testid":Ae("dashboard-cash-in-cash-out-timeframe",r),width:l,height:i,windowSize:f,children:a.jsx(Z,{children:({height:$,width:k})=>a.jsxs(Te,{data:e.recordByTimeseries,barCategoryGap:s?void 0:"12%",maxBarSize:s?I[10]:22,barGap:s?void 0:2,margin:{top:5,right:L,left:0,bottom:I[4]},height:$,width:k,style:{display:"flex",flex:"1 1 auto"},onClick:C,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:p.colors.grey3}),a.jsx(le,{dataKey:v=>v.timeLabel.label,type:"category",axisLine:{stroke:p.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:v=>J("0,0.[00]a",v,y)}),a.jsx(ce,{wrapperStyle:{zIndex:2},cursor:w?{stroke:p.colors.background,strokeDasharray:"1, 1",strokeWidth:1,fill:p.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t,s?a.jsx(pe,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:m.sp0},formatter:v=>a.jsx(oa,{windowSize:f,children:D.getLocalizedStrings().chartCard.cashInCashOut[N(v)]})}):null]})})})},la=x.div`
45
+ `;function Tr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:h}){const c=A(),s=P.useRef(!1);P.useEffect(()=>{s.current=!0},[]);const f=[c.colors.graphColor33,c.colors.graphColor36,c.colors.graphColor35],p=(_,w=c.colors.graphColor08)=>_<f.length?f[_]:w,d=aa(e.firstMonthOfFY,ye,e.cashIn,e.cashOut,e.netCashFlow),y=()=>{const _=[];return ye.forEach((w,C)=>{const L=i===!0&&!s.current;_.push(a.jsx(ce,{name:w,animationDuration:L?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:$=>{const k=$.record;return(k[w]!=null&&k[w].amount!=null?k[w].amount:void 0)?.amount??0},fill:p(C)},w))}),_};return d==null?null:a.jsx(ta,{chartData:d,timeframe:r,showBarHoverBackground:l,barElements:y(),customToolTipContent:({active:_,payload:w})=>a.jsx(ea,{active:_,payload:w}),width:n,height:o,onCOABalancesRangeChanged:h,highlightedRange:t,isDetailPage:i===!0})}const ta=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:c,onCOABalancesRangeChanged:s})=>{const f=de(),p=A(),d=e.timeseries,y=ae(e),_=d.map($=>$.label),w=h!==!1,C=$=>{if(!c||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const v=$.activeTooltipIndex,O=k.payload.timeLabel.label;if(o==null)return;const u=re(O,_,o.numberOfPeriods),j=u[1]===void 0?_.length-1:_.indexOf(u[1]),S={...o,thisPeriod:{startDate:d[j].startDate,endDate:d[j].endDate}};s?.(d[v],r,S)},L=c?(l-60)/W.cash_in_cash_out*(W.cash_in_cash_out-e.recordByTimeseries.length):20;return a.jsx(ra,{"data-testid":Ae("dashboard-cash-in-cash-out-timeframe",r),width:l,height:i,windowSize:f,children:a.jsx(Q,{children:({height:$,width:k})=>a.jsxs(Te,{data:e.recordByTimeseries,barCategoryGap:c?void 0:"12%",maxBarSize:c?I[10]:22,barGap:c?void 0:2,margin:{top:5,right:L,left:0,bottom:I[4]},height:$,width:k,style:{display:"flex",flex:"1 1 auto"},onClick:C,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:p.colors.grey3}),a.jsx(le,{dataKey:v=>v.timeLabel.label,type:"category",axisLine:{stroke:p.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:v=>J("0,0.[00]a",v,y)}),a.jsx(se,{wrapperStyle:{zIndex:2},cursor:w?{stroke:p.colors.background,strokeDasharray:"1, 1",strokeWidth:1,fill:p.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t,c?a.jsx(pe,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:m.sp0},formatter:v=>a.jsx(oa,{windowSize:f,children:D.getLocalizedStrings().chartCard.cashInCashOut[N(v)]})}):null]})})})},la=x.div`
46
46
  display: flex;
47
47
  `,na=x.div`
48
48
  flex: display;
@@ -51,16 +51,16 @@ import{d as A,V as a,F as D,J as de,b3 as Z,u as I,b as M,aY as J,o as m,aP as A
51
51
  flex-direction: column;
52
52
  padding: ${m.sp3};
53
53
  background-color: ${e=>e.theme.colors.black};
54
- `,ca=x(R)`
54
+ `,sa=x(R)`
55
55
  color: ${e=>e.color??g.neutralGrey2Light};
56
56
  text-align: left;
57
57
  display: flex;
58
58
  align-items: center;
59
59
  justify-content: space-between;
60
- `,sa=({active:e,payload:r})=>{const t=[];return r?.forEach(n=>{const o=n.name;if(e===!0){const l=n.payload,i=n.color,h=o!=null&&l.record[o]!=null?l.record[o].amount:void 0;t.push({barName:D.getLocalizedStrings().reportTitleById.cash_position,value:h,color:i})}}),t},ia=e=>{const r=sa(e);return r.length===0?null:a.jsx(la,{children:a.jsx(na,{children:r.map((t,n)=>a.jsx(ca,{color:t.color,children:`${t.barName}: ${T(t.value)}`},t.barName+n))})})},ua=ee.memo(ia),ha=(e,r,t)=>{let n=[];t!=null&&t.balances.length>0&&(n=G("cash_position","actual",t));const o=b("cash_position","actual"),l={};return l[o]=n,n.length>0?Q(e,r,o,l):void 0},da=x.div`
60
+ `,ca=({active:e,payload:r})=>{const t=[];return r?.forEach(n=>{const o=n.name;if(e===!0){const l=n.payload,i=n.color,h=o!=null&&l.record[o]!=null?l.record[o].amount:void 0;t.push({barName:D.getLocalizedStrings().reportTitleById.cash_position,value:h,color:i})}}),t},ia=e=>{const r=ca(e);return r.length===0?null:a.jsx(la,{children:a.jsx(na,{children:r.map((t,n)=>a.jsx(sa,{color:t.color,children:`${t.barName}: ${T(t.value)}`},t.barName+n))})})},ua=ee.memo(ia),ha=(e,r,t)=>{let n=[];t!=null&&t.balances.length>0&&(n=G("cash_position","actual",t));const o=b("cash_position","actual"),l={};return l[o]=n,n.length>0?Z(e,r,o,l):void 0},da=x.div`
61
61
  width: ${e=>e.width}px;
62
62
  height: ${e=>e.height}px;
63
- `,Ce=[b("cash_position","actual")];function Wr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:h}){const s=A(),c=P.useRef(!1);P.useEffect(()=>{c.current=!0},[]);const f=ha(e.firstMonthOfFY,Ce,e.cashPosition),p=()=>{const d=[];return Ce.forEach(y=>{const _=i===!0&&!c.current;d.push(a.jsx(se,{name:y,animationDuration:_?500:void 0,style:{cursor:"pointer"},dataKey:w=>{const C=w.record;return(C[y]!=null&&C[y].amount!=null?C[y].amount:void 0)?.amount??0},fill:s.colors.graphColor17},y))}),d};return f==null?null:a.jsx(ga,{chartData:f,timeframe:r,showBarHoverBackground:l,barElements:p(),customToolTipContent:({active:d,payload:y})=>a.jsx(ua,{active:d,payload:y}),width:n,height:o,onCOABalancesRangeChanged:h,highlightedRange:t,isDetailPage:i===!0})}const ga=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=A(),p=e.timeseries,d=ae(e),y=p.map(L=>L.label),_=h!==!1,w=L=>{if(!s||L?.activePayload==null||L?.activePayload.length===0)return;const $=L.activePayload[0];if($?.payload?.timeLabel?.label==null)return;const k=L.activeTooltipIndex,v=$.payload.timeLabel.label;if(o==null)return;const O=re(v,y,o.numberOfPeriods),u=O[1]===void 0?y.length-1:y.indexOf(O[1]),j={...o,thisPeriod:{startDate:p[u].startDate,endDate:p[u].endDate}};c?.(p[k],r,j)},C=s?(l-60)/W.cash_position*(W.cash_position-e.recordByTimeseries.length):20;return a.jsx(da,{width:l,height:i,children:a.jsx(Z,{children:({height:L,width:$})=>a.jsxs(Te,{width:$,height:L,data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:s?I[10]:30,margin:{top:5,right:C,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:w,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:f.colors.grey3}),a.jsx(le,{dataKey:k=>k.timeLabel.label,type:"category",axisLine:{stroke:f.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:k=>J("0,0.[00]a",k,d)}),a.jsx(ce,{wrapperStyle:{zIndex:2},cursor:_?{stroke:f.colors.background,strokeDasharray:"1, 1",strokeWidth:1,fill:f.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t]})})})},pa=x.div`
63
+ `,Ce=[b("cash_position","actual")];function Wr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:h}){const c=A(),s=P.useRef(!1);P.useEffect(()=>{s.current=!0},[]);const f=ha(e.firstMonthOfFY,Ce,e.cashPosition),p=()=>{const d=[];return Ce.forEach(y=>{const _=i===!0&&!s.current;d.push(a.jsx(ce,{name:y,animationDuration:_?500:void 0,style:{cursor:"pointer"},dataKey:w=>{const C=w.record;return(C[y]!=null&&C[y].amount!=null?C[y].amount:void 0)?.amount??0},fill:c.colors.graphColor17},y))}),d};return f==null?null:a.jsx(ga,{chartData:f,timeframe:r,showBarHoverBackground:l,barElements:p(),customToolTipContent:({active:d,payload:y})=>a.jsx(ua,{active:d,payload:y}),width:n,height:o,onCOABalancesRangeChanged:h,highlightedRange:t,isDetailPage:i===!0})}const ga=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:c,onCOABalancesRangeChanged:s})=>{const f=A(),p=e.timeseries,d=ae(e),y=p.map(L=>L.label),_=h!==!1,w=L=>{if(!c||L?.activePayload==null||L?.activePayload.length===0)return;const $=L.activePayload[0];if($?.payload?.timeLabel?.label==null)return;const k=L.activeTooltipIndex,v=$.payload.timeLabel.label;if(o==null)return;const O=re(v,y,o.numberOfPeriods),u=O[1]===void 0?y.length-1:y.indexOf(O[1]),j={...o,thisPeriod:{startDate:p[u].startDate,endDate:p[u].endDate}};s?.(p[k],r,j)},C=c?(l-60)/W.cash_position*(W.cash_position-e.recordByTimeseries.length):20;return a.jsx(da,{width:l,height:i,children:a.jsx(Q,{children:({height:L,width:$})=>a.jsxs(Te,{width:$,height:L,data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:c?I[10]:30,margin:{top:5,right:C,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:w,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:f.colors.grey3}),a.jsx(le,{dataKey:k=>k.timeLabel.label,type:"category",axisLine:{stroke:f.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:k=>J("0,0.[00]a",k,d)}),a.jsx(se,{wrapperStyle:{zIndex:2},cursor:_?{stroke:f.colors.background,strokeDasharray:"1, 1",strokeWidth:1,fill:f.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t]})})})},pa=x.div`
64
64
  display: flex;
65
65
  `,ma=x.div`
66
66
  display: flex;
@@ -128,7 +128,7 @@ import{d as A,V as a,F as D,J as de,b3 as Z,u as I,b as M,aY as J,o as m,aP as A
128
128
  `,ve=x(F)`
129
129
  display: flex;
130
130
  flex-direction: column;
131
- `,ke=x(H)``,ka=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l=Math.floor((n.amount-o.amount)*100/100),i={...n,amount:l},h=o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:i,percent:h,forecastPercent:r.record[t].percentValue}},$a=({active:e,payload:r,mode:t})=>{const n=[],o={barName:D.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn,actual:void 0,color:g.neutralGrey2Dark,forecast:void 0};let l={amount:0,currencyCode:"",currencySymbol:""},i={amount:0,currencyCode:"",currencySymbol:""};const h=b("income","actual"),s=b("cogs","actual"),c=b("expenses","actual"),f=b("net_burn_or_income","actual");return r?.forEach(p=>{const d=p.name;if(e===!0){const y=p.payload,_=p.color,w=d!=null&&y.record[d]!=null?y.record[d].amount:void 0;let C;if(d.includes("forecast")!==!0)switch(t==="forecast_mode"&&(C=y.record[d]!=null?ka(d,y):void 0),d){case s:case c:w!=null&&(l.currencyCode===""?l={...w}:l.amount=l.amount+w.amount),C!=null&&(i.currencyCode===""?i={...C.value}:i.amount=i.amount+C.value.amount),n.push({barName:D.getLocalizedStrings().chartCard.netBurnOrIncome[N(d)],actual:w,forecast:C,color:_});break;case f:{const L=w!=null&&w.amount>=0?D.getLocalizedStrings().chartCard.netBurnOrIncome.net_income:D.getLocalizedStrings().chartCard.netBurnOrIncome.net_burn;n.push({barName:L,actual:w,color:_,percent:y.record[d]?.percentValue,forecast:C});break}case h:default:n.push({barName:D.getLocalizedStrings().chartCard.netBurnOrIncome[N(d)],actual:w,color:_,forecast:C})}}}),o.actual=l,o.forecast=i!=null&&l!=null?{value:i,change:{...l,amount:Math.floor((l.amount-i.amount)*100/100)},percent:i.amount!==0?Math.floor((l.amount-i.amount)/i.amount*100)/100:0}:void 0,e===!0&&n.splice(n.length-1,0,o),n},$e=e=>e.map((r,t)=>a.jsxs(Ne,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(Ca,{children:[a.jsx(Ie,{color:r.barName===D.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":r.color}),`${r.barName}:`]}),a.jsxs(va,{children:[a.jsx(je,{children:`${T(r.actual)}`}),r.percent!=null?a.jsx(je,{children:V("0,0.0%",r.percent)}):null]})]},r.barName+t)),we=e=>e.map((r,t)=>a.jsxs(Ne,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(ja,{children:[a.jsx(Ie,{color:r.barName===D.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":r.color}),`${r.barName}:`]}),a.jsx(H,{children:a.jsxs(ve,{children:[r.actual!=null?`${T(r.actual)}`:"-",a.jsx(ke,{children:r.percent!=null?V("0,0.0%",r.percent):null})]})}),a.jsx(H,{children:a.jsxs(ve,{children:[r.forecast!=null?`${T(r.forecast.value)}`:"-",a.jsx(ke,{children:r.forecast!=null&&r.forecast.forecastPercent!=null?V("0,0.0%",r.forecast.forecastPercent):null})]})}),r.forecast!=null?a.jsx(H,{isChange:!0,children:`${T(r.forecast.change)}`}):a.jsx(H,{children:"-"}),r.forecast!=null?a.jsx(H,{isChange:!0,children:V("0,0.0%",r.forecast.percent)}):a.jsx(H,{children:"-"})]},r.barName+t)),wa=e=>{if(e.length>0){for(const r of e)if(r.actual!=null)return r.actual.currencySymbol}return""},_a=({barLabelsWithValues:e})=>a.jsxs(ma,{children:[a.jsxs(fa,{children:[a.jsx(xa,{}),a.jsx(ie,{children:D.getLocalizedStrings().chartCard.tooltip.actual}),a.jsx(ie,{children:D.getLocalizedStrings().chartCard.tooltip.forecast}),a.jsxs(ie,{children:[D.getLocalizedStrings().chartCard.tooltip.change," ",wa(e)]}),a.jsx(ie,{children:D.getLocalizedStrings().chartCard.tooltip.change_percent})]}),a.jsxs(ya,{children:[we(e.slice(0,e.length-2)),e.length?a.jsx(We,{}):null,we(e.slice(-2))]})]}),La=({barLabelsWithValues:e})=>a.jsx(pa,{children:a.jsxs(ba,{children:[$e(e.slice(0,e.length-2)),e.length?a.jsx(We,{}):null,$e(e.slice(-2))]})}),Da=e=>{const r=$a({...e});return r.length===0?null:a.jsx(a.Fragment,{children:e.mode==="forecast_mode"?a.jsx(_a,{barLabelsWithValues:r}):a.jsx(La,{barLabelsWithValues:r})})},Sa=ee.memo(Da),Ba=(e,r,t,n,o,l,i)=>{let h=[],s=[],c=[],f=[];n!=null&&n.balances.length>0&&(h=K("income","actual",n)),o!=null&&o.balances.length>0&&(s=K("cogs","actual",o)),l!=null&&l.balances.length>0&&(c=G("expenses","actual",l)),i!=null&&i.balances.length>0&&(f=oe("net_burn_or_income","actual",i));const p=b("income","actual"),d=b("cogs","actual"),y=b("expenses","actual"),_=b("net_burn_or_income","actual"),w=h.length>0?p:s.length>0?d:c.length>0?y:void 0,C={};return C[p]=h,C[d]=s,C[y]=c,C[_]=f,t==="forecast_mode"&&Object.assign(C,Oa(n,o,l,i)),w!=null?Q(e,r,w,C):void 0},Oa=(e,r,t,n)=>{let o=[],l=[],i=[],h=[];e!=null&&e.balances.length>0&&(o=K("income","forecast",e)),r!=null&&r.balances.length>0&&(l=K("cogs","forecast",r)),t!=null&&t.balances.length>0&&(i=G("expenses","forecast",t)),n!=null&&n.balances.length>0&&(h=oe("net_burn_or_income","forecast",n));const s=b("income","forecast"),c=b("cogs","forecast"),f=b("expenses","forecast"),p=b("net_burn_or_income","forecast"),d={};return d[s]=o,d[c]=l,d[f]=i,d[p]=h,d},za=[b("income","actual"),b("cogs","actual"),b("expenses","actual"),b("net_burn_or_income","actual")],Pa=[b("income","actual"),b("cogs","actual"),b("expenses","actual"),b("net_burn_or_income","actual"),b("income","forecast"),b("cogs","forecast"),b("expenses","forecast"),b("net_burn_or_income","forecast")],Ra=x.div`
131
+ `,ke=x(H)``,ka=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l=Math.floor((n.amount-o.amount)*100/100),i={...n,amount:l},h=o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:i,percent:h,forecastPercent:r.record[t].percentValue}},$a=({active:e,payload:r,mode:t})=>{const n=[],o={barName:D.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn,actual:void 0,color:g.neutralGrey2Dark,forecast:void 0};let l={amount:0,currencyCode:"",currencySymbol:""},i={amount:0,currencyCode:"",currencySymbol:""};const h=b("income","actual"),c=b("cogs","actual"),s=b("expenses","actual"),f=b("net_burn_or_income","actual");return r?.forEach(p=>{const d=p.name;if(e===!0){const y=p.payload,_=p.color,w=d!=null&&y.record[d]!=null?y.record[d].amount:void 0;let C;if(d.includes("forecast")!==!0)switch(t==="forecast_mode"&&(C=y.record[d]!=null?ka(d,y):void 0),d){case c:case s:w!=null&&(l.currencyCode===""?l={...w}:l.amount=l.amount+w.amount),C!=null&&(i.currencyCode===""?i={...C.value}:i.amount=i.amount+C.value.amount),n.push({barName:D.getLocalizedStrings().chartCard.netBurnOrIncome[N(d)],actual:w,forecast:C,color:_});break;case f:{const L=w!=null&&w.amount>=0?D.getLocalizedStrings().chartCard.netBurnOrIncome.net_income:D.getLocalizedStrings().chartCard.netBurnOrIncome.net_burn;n.push({barName:L,actual:w,color:_,percent:y.record[d]?.percentValue,forecast:C});break}case h:default:n.push({barName:D.getLocalizedStrings().chartCard.netBurnOrIncome[N(d)],actual:w,color:_,forecast:C})}}}),o.actual=l,o.forecast=i!=null&&l!=null?{value:i,change:{...l,amount:Math.floor((l.amount-i.amount)*100/100)},percent:i.amount!==0?Math.floor((l.amount-i.amount)/i.amount*100)/100:0}:void 0,e===!0&&n.splice(n.length-1,0,o),n},$e=e=>e.map((r,t)=>a.jsxs(Ne,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(Ca,{children:[a.jsx(Ie,{color:r.barName===D.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":r.color}),`${r.barName}:`]}),a.jsxs(va,{children:[a.jsx(je,{children:`${T(r.actual)}`}),r.percent!=null?a.jsx(je,{children:V("0,0.0%",r.percent)}):null]})]},r.barName+t)),we=e=>e.map((r,t)=>a.jsxs(Ne,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(ja,{children:[a.jsx(Ie,{color:r.barName===D.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":r.color}),`${r.barName}:`]}),a.jsx(H,{children:a.jsxs(ve,{children:[r.actual!=null?`${T(r.actual)}`:"-",a.jsx(ke,{children:r.percent!=null?V("0,0.0%",r.percent):null})]})}),a.jsx(H,{children:a.jsxs(ve,{children:[r.forecast!=null?`${T(r.forecast.value)}`:"-",a.jsx(ke,{children:r.forecast!=null&&r.forecast.forecastPercent!=null?V("0,0.0%",r.forecast.forecastPercent):null})]})}),r.forecast!=null?a.jsx(H,{isChange:!0,children:`${T(r.forecast.change)}`}):a.jsx(H,{children:"-"}),r.forecast!=null?a.jsx(H,{isChange:!0,children:V("0,0.0%",r.forecast.percent)}):a.jsx(H,{children:"-"})]},r.barName+t)),wa=e=>{if(e.length>0){for(const r of e)if(r.actual!=null)return r.actual.currencySymbol}return""},_a=({barLabelsWithValues:e})=>a.jsxs(ma,{children:[a.jsxs(fa,{children:[a.jsx(xa,{}),a.jsx(ie,{children:D.getLocalizedStrings().chartCard.tooltip.actual}),a.jsx(ie,{children:D.getLocalizedStrings().chartCard.tooltip.forecast}),a.jsxs(ie,{children:[D.getLocalizedStrings().chartCard.tooltip.change," ",wa(e)]}),a.jsx(ie,{children:D.getLocalizedStrings().chartCard.tooltip.change_percent})]}),a.jsxs(ya,{children:[we(e.slice(0,e.length-2)),e.length?a.jsx(We,{}):null,we(e.slice(-2))]})]}),La=({barLabelsWithValues:e})=>a.jsx(pa,{children:a.jsxs(ba,{children:[$e(e.slice(0,e.length-2)),e.length?a.jsx(We,{}):null,$e(e.slice(-2))]})}),Da=e=>{const r=$a({...e});return r.length===0?null:a.jsx(a.Fragment,{children:e.mode==="forecast_mode"?a.jsx(_a,{barLabelsWithValues:r}):a.jsx(La,{barLabelsWithValues:r})})},Sa=ee.memo(Da),Ba=(e,r,t,n,o,l,i)=>{let h=[],c=[],s=[],f=[];n!=null&&n.balances.length>0&&(h=K("income","actual",n)),o!=null&&o.balances.length>0&&(c=K("cogs","actual",o)),l!=null&&l.balances.length>0&&(s=G("expenses","actual",l)),i!=null&&i.balances.length>0&&(f=oe("net_burn_or_income","actual",i));const p=b("income","actual"),d=b("cogs","actual"),y=b("expenses","actual"),_=b("net_burn_or_income","actual"),w=h.length>0?p:c.length>0?d:s.length>0?y:void 0,C={};return C[p]=h,C[d]=c,C[y]=s,C[_]=f,t==="forecast_mode"&&Object.assign(C,Oa(n,o,l,i)),w!=null?Z(e,r,w,C):void 0},Oa=(e,r,t,n)=>{let o=[],l=[],i=[],h=[];e!=null&&e.balances.length>0&&(o=K("income","forecast",e)),r!=null&&r.balances.length>0&&(l=K("cogs","forecast",r)),t!=null&&t.balances.length>0&&(i=G("expenses","forecast",t)),n!=null&&n.balances.length>0&&(h=oe("net_burn_or_income","forecast",n));const c=b("income","forecast"),s=b("cogs","forecast"),f=b("expenses","forecast"),p=b("net_burn_or_income","forecast"),d={};return d[c]=o,d[s]=l,d[f]=i,d[p]=h,d},za=[b("income","actual"),b("cogs","actual"),b("expenses","actual"),b("net_burn_or_income","actual")],Pa=[b("income","actual"),b("cogs","actual"),b("expenses","actual"),b("net_burn_or_income","actual"),b("income","forecast"),b("cogs","forecast"),b("expenses","forecast"),b("net_burn_or_income","forecast")],Ra=x.div`
132
132
  width: ${e=>e.width}px;
133
133
  height: ${e=>e.height}px;
134
134
 
@@ -141,7 +141,7 @@ import{d as A,V as a,F as D,J as de,b3 as Z,u as I,b as M,aY as J,o as m,aP as A
141
141
  `,Ta=x(ge)`
142
142
  margin-left: ${e=>X.legendLabelMarginLeft.valuePx(e.windowSize)};
143
143
  color: ${e=>e.theme.colors.primary};
144
- `;function Nr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:s}){const c=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[c.colors.graphColor36,c.colors.graphColor06,c.colors.graphColor31,c.colors.graphColor12],d=[c.colors.graphColor04,c.colors.graphColor10,c.colors.graphColor32,c.colors.graphColor13,c.colors.graphColor04Dark,c.colors.graphColor10Dark,c.colors.graphColor32Dark,c.colors.graphColor13Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?Pa:za,w=(u,j=c.colors.graphColor04)=>u<y.length?y[u]:j,C=(e.reportId,Ba(e.firstMonthOfFY,_,h,e.sections.income,e.sections.cogs,e.sections.expenses,e.calculatedSections.netBurnOrIncome)),L=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:4,stroke:B,strokeWidth:2,fill:z})},$=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:5,stroke:z,strokeWidth:2,fill:B})},k=(u,j)=>a.jsx(me,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dataKey:S=>{const B=S.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount},dot:a.jsx(L,{}),strokeWidth:1.5,stroke:w(j),strokeDasharray:"3 3",activeDot:a.jsx($,{})},u),v=(u,j,S)=>a.jsx(se,{name:u,animationDuration:S?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:B=>{const z=B.record;return(z[u]!=null&&z[u].amount!=null?z[u].amount:void 0)?.amount??0},fill:w(j)},u),O=()=>{const u=[];return _.forEach((j,S)=>{const B=i===!0&&!f.current;j.endsWith("_forecast")?u.push(k(j,S)):u.push(v(j,S,B))}),u};return C==null?null:a.jsx(Wa,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:O(),customToolTipContent:({active:u,payload:j})=>a.jsx(Sa,{active:u,payload:j,mode:h}),width:n,height:o,onCOABalancesRangeChanged:s,highlightedRange:t,isDetailPage:i===!0})}const Wa=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=de(),p=A(),d=ae(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!s||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const v=$.activeTooltipIndex,O=k.payload.timeLabel.label;if(o==null)return;const u=re(O,_,o.numberOfPeriods),j=u[1]===void 0?_.length-1:_.indexOf(u[1]),S={...o,thisPeriod:{startDate:y[j].startDate,endDate:y[j].endDate}};c?.(y[v],r,S)},L=s?(l-60)/W.net_burn_or_income*(W.net_burn_or_income-e.recordByTimeseries.length):20;return a.jsx(Ra,{width:l,height:i,windowSize:f,children:a.jsx(Z,{children:({height:$,width:k})=>a.jsxs(fe,{data:e.recordByTimeseries,barCategoryGap:s?void 0:"12%",maxBarSize:s?I[10]:22,barGap:s?void 0:2,margin:{top:5,right:L,left:0,bottom:I[4]},height:$,width:k,style:{display:"flex",flex:"1 1 auto"},onClick:C,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:p.colors.grey3}),a.jsx(le,{dataKey:v=>v.timeLabel.label,type:"category",axisLine:{stroke:p.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:v=>J("0,0.[00]a",v,d)}),a.jsx(ce,{wrapperStyle:{zIndex:2},cursor:w?{stroke:p.colors.background,strokeWidth:(k-60)/W.net_burn_or_income,fill:p.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t,s?a.jsx(pe,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:m.sp0},iconSize:I[3],formatter:v=>a.jsx(Ta,{windowSize:f,children:v.endsWith("_forecast")===!0?D.getLocalizedStrings().chartCard.netBurnOrIncome[v]:D.getLocalizedStrings().chartCard.netBurnOrIncome[N(v)]})}):null]})})})},Na=x.div`
144
+ `;function Nr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:c}){const s=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[s.colors.graphColor36,s.colors.graphColor06,s.colors.graphColor31,s.colors.graphColor12],d=[s.colors.graphColor04,s.colors.graphColor10,s.colors.graphColor32,s.colors.graphColor13,s.colors.graphColor04Dark,s.colors.graphColor10Dark,s.colors.graphColor32Dark,s.colors.graphColor13Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?Pa:za,w=(u,j=s.colors.graphColor04)=>u<y.length?y[u]:j,C=(e.reportId,Ba(e.firstMonthOfFY,_,h,e.sections.income,e.sections.cogs,e.sections.expenses,e.calculatedSections.netBurnOrIncome)),L=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:4,stroke:B,strokeWidth:2,fill:z})},$=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:5,stroke:z,strokeWidth:2,fill:B})},k=(u,j)=>a.jsx(me,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dataKey:S=>{const B=S.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount},dot:a.jsx(L,{}),strokeWidth:1.5,stroke:w(j),strokeDasharray:"3 3",activeDot:a.jsx($,{})},u),v=(u,j,S)=>a.jsx(ce,{name:u,animationDuration:S?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:B=>{const z=B.record;return(z[u]!=null&&z[u].amount!=null?z[u].amount:void 0)?.amount??0},fill:w(j)},u),O=()=>{const u=[];return _.forEach((j,S)=>{const B=i===!0&&!f.current;j.endsWith("_forecast")?u.push(k(j,S)):u.push(v(j,S,B))}),u};return C==null?null:a.jsx(Wa,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:O(),customToolTipContent:({active:u,payload:j})=>a.jsx(Sa,{active:u,payload:j,mode:h}),width:n,height:o,onCOABalancesRangeChanged:c,highlightedRange:t,isDetailPage:i===!0})}const Wa=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:c,onCOABalancesRangeChanged:s})=>{const f=de(),p=A(),d=ae(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!c||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const v=$.activeTooltipIndex,O=k.payload.timeLabel.label;if(o==null)return;const u=re(O,_,o.numberOfPeriods),j=u[1]===void 0?_.length-1:_.indexOf(u[1]),S={...o,thisPeriod:{startDate:y[j].startDate,endDate:y[j].endDate}};s?.(y[v],r,S)},L=c?(l-60)/W.net_burn_or_income*(W.net_burn_or_income-e.recordByTimeseries.length):20;return a.jsx(Ra,{width:l,height:i,windowSize:f,children:a.jsx(Q,{children:({height:$,width:k})=>a.jsxs(fe,{data:e.recordByTimeseries,barCategoryGap:c?void 0:"12%",maxBarSize:c?I[10]:22,barGap:c?void 0:2,margin:{top:5,right:L,left:0,bottom:I[4]},height:$,width:k,style:{display:"flex",flex:"1 1 auto"},onClick:C,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:p.colors.grey3}),a.jsx(le,{dataKey:v=>v.timeLabel.label,type:"category",axisLine:{stroke:p.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:v=>J("0,0.[00]a",v,d)}),a.jsx(se,{wrapperStyle:{zIndex:2},cursor:w?{stroke:p.colors.background,strokeWidth:(k-60)/W.net_burn_or_income,fill:p.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t,c?a.jsx(pe,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:m.sp0},iconSize:I[3],formatter:v=>a.jsx(Ta,{windowSize:f,children:v.endsWith("_forecast")===!0?D.getLocalizedStrings().chartCard.netBurnOrIncome[v]:D.getLocalizedStrings().chartCard.netBurnOrIncome[N(v)]})}):null]})})})},Na=x.div`
145
145
  display: flex;
146
146
  `,Ia=x.div`
147
147
  flex: display;
@@ -192,15 +192,15 @@ import{d as A,V as a,F as D,J as de,b3 as Z,u as I,b as M,aY as J,o as m,aP as A
192
192
  `,q=x(F)`
193
193
  text-align: right;
194
194
  flex: 1;
195
- `,Fa=({active:e,payload:r,barName:t})=>{const n=[];if(r!=null&&e===!0){const o=r.filter(s=>s.name==t)[0],l=o.payload,i=o.color,h=t!=null&&l.record[t]!=null?l.record[t].amount:void 0;if(!t?.endsWith("_forecast")){let s;if(t.includes("forecast")!==!0){s=l.record[t]!=null?Ha(t,l):void 0;const c={amount:0,currencyCode:"",currencySymbol:""},f={amount:0,currencyCode:"",currencySymbol:""};let p;for(p in l.record){const C=l.record[p].amount;p.endsWith("_actual")?(c.amount+=l.record[p].amount?.amount??0,c.currencyCode=C!=null?C.currencyCode:c.currencyCode,c.currencySymbol=C!=null?C.currencySymbol:c.currencySymbol):p.endsWith("_forecast")&&(f.amount+=l.record[p].amount?.amount??0,f.currencyCode=C!=null?C.currencyCode:f.currencyCode,f.currencySymbol=C!=null?C.currencySymbol:f.currencySymbol)}const d=Math.floor((c?.amount-f?.amount)*100/100),y={...c,amount:d},_=f.amount!==0?Math.floor((c.amount-f.amount)/f.amount*100)/100:0,w={value:f,change:y,percent:_};n.push({barName:N(t),actual:h,forecast:s,color:i}),n.push({barName:D.getLocalizedStrings().chartCard.total,actual:c,forecast:w,color:g.neutralGrey1Light})}}}return n},Ha=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l={...n,amount:o!=null?Math.floor((n.amount-o.amount)*100/100):n.amount},i=o!=null&&o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:l,percent:i}},Le=e=>a.jsxs(Ga,{color:e.color,children:[a.jsx(Va,{children:`${e.barName}:`}),a.jsx(q,{children:e.actual!=null?`${T(e.actual)}`:"-"}),a.jsx(q,{children:e.forecast!=null?`${T(e.forecast.value)}`:"-"}),e.forecast!=null?a.jsx(q,{isChange:!0,children:`${T(e.forecast.change)}`}):a.jsx(q,{children:"-"}),e.forecast!=null?a.jsx(q,{isChange:!0,children:V("0,0.0%",e.forecast.percent)}):a.jsx(q,{children:"-"})]}),Ya=e=>{if(e.length>0){for(const r of e)if(r.actual!=null)return r.actual.currencySymbol}return""},Xa=({barLabelsWithValues:e})=>a.jsx(Na,{children:a.jsxs(Ia,{children:[a.jsx(_e,{color:e[0].color,children:`${e[0].barName}: ${T(e[0].actual)}`}),a.jsx(Ee,{}),a.jsx(_e,{children:`${D.getLocalizedStrings().chartCard.total}: ${T(e[1].actual)}`})]})}),qa=({barLabelsWithValues:e})=>a.jsxs(Ma,{children:[a.jsxs(Ka,{children:[a.jsx(Ea,{}),a.jsx(ue,{children:D.getLocalizedStrings().chartCard.tooltip.actual}),a.jsx(ue,{children:D.getLocalizedStrings().chartCard.tooltip.forecast}),a.jsxs(ue,{children:[D.getLocalizedStrings().chartCard.tooltip.change," ",Ya(e)]}),a.jsx(ue,{children:D.getLocalizedStrings().chartCard.tooltip.change_percent})]}),a.jsxs(Aa,{children:[Le(e[0]),a.jsx(Ee,{}),Le(e[1])]})]}),Ua=e=>{const r=Fa({...e});return r.length===0?null:a.jsx(a.Fragment,{children:e.mode==="forecast_mode"?a.jsx(qa,{barLabelsWithValues:r}):a.jsx(Xa,{barLabelsWithValues:r})})},Qa=ee.memo(Ua),Za=(e,r)=>{const t=[],n={};let o;return r!=null&&r.classes.length!=0&&r.classes.forEach(l=>{const i=G(l.class.className,"actual",l.childrenBalancesTotal),h=b(l.class.className,"actual");n[h]=i,t.push(h),o==null&&i.length>0&&(o=b(l.class.className,"actual"))}),o!=null?Q(e,t,o,n):void 0},De=[g.graphColor34,g.graphColor05,g.graphColor08,g.graphColor11,g.graphColor13,g.graphColor19,g.graphColor29,g.graphColor28,g.graphColor20,g.graphColor21,g.graphColor22,g.graphColor14,g.graphColor35,g.graphColor31,g.graphColor33,g.graphColor32,g.graphColor36,g.graphColor02,g.graphColor06,g.graphColor04,g.graphColor10,g.graphColor12,g.graphColor15,g.graphColor18,g.graphColor17,g.graphColor07,g.graphColor34Dark,g.graphColor05Dark,g.graphColor08Dark,g.graphColor11Dark,g.graphColor13Dark,g.graphColor19Dark,g.graphColor29Dark,g.graphColor28Dark,g.graphColor20Dark,g.graphColor21Dark,g.graphColor22Dark,g.graphColor14Dark,g.graphColor35Dark,g.graphColor31Dark,g.graphColor33Dark,g.graphColor32Dark,g.graphColor36Dark,g.graphColor02Dark,g.graphColor06Dark,g.graphColor04Dark,g.graphColor10Dark,g.graphColor12Dark,g.graphColor15Dark,g.graphColor18Dark,g.graphColor17Dark,g.graphColor07Dark];class Y{_barColors;_barColorsKeyWise;_defaultColor;constructor(){this._defaultColor=g.graphColor34,this._barColors=De.slice(),this._barColorsKeyWise=new Map}static#e=new Y;getBarColor(r){const t=Y.instance();return t._barColorsKeyWise.has(r)||(t._barColors.length===0&&(t._barColors=De.slice()),t._barColorsKeyWise.set(r,t._barColors.shift()??t._defaultColor)),t._barColorsKeyWise.get(r)}shouldUpdate(r){const t=Y.instance(),n=Array.from(t._barColorsKeyWise.keys()).sort();return!Ve(n,r)}static init(){return this.#e=new Y,this.#e}static instance(){return this.#e}}const Ja=Y.instance(),er=(e,r,t)=>{const n=[],o={};let l,i=!1;if(t!=null&&t.accountGroups.length!=0?t.accountGroups.forEach(h=>{const s=G(h.accountGroupName,"actual",h),c=b(h.accountGroupName,"actual");o[c]=s,n.push(c),l==null&&s.length>0&&(l=b(h.accountGroupName,"actual"))}):t!=null&&t.accounts.length!=0&&(i=!0,t.accounts.forEach(h=>{const s=G(h.account.accountName,"actual",h.account.balancesInTimeframe),c=b(h.account.accountName,"actual");o[c]=s,n.push(c),l==null&&s.length>0&&(l=b(h.account.accountName,"actual"))})),t!=null&&t.accountGroups.length===0&&t.accounts.length===0){const h=D.getLocalizedStrings().chartCard.total,s=G(h,"actual",t);if(s.length!==0){const c=b(h,"actual");o[c]=s,l=c,n.push(c)}}return r==="forecast_mode"&&Object.assign(o,ar(n,t)),l!=null?Q(e,n,l,o,i):void 0},ar=(e,r)=>{const t={};let n;if(r!=null&&r.accountGroups.length!=0?r.accountGroups.forEach(o=>{const l=G(o.accountGroupName,"forecast",o),i=b(o.accountGroupName,"forecast");t[i]=l,e.push(i),n==null&&l.length>0&&(n=b(o.accountGroupName,"forecast"))}):r!=null&&r.accounts.length!=0&&r.accounts.forEach(o=>{const l=G(o.account.accountName,"forecast",o.account.balancesInTimeframe),i=b(o.account.accountName,"forecast");t[i]=l,e.push(i),n==null&&l.length>0&&(n=b(o.account.accountName,"forecast"))}),r!=null&&r.accountGroups.length===0&&r.accounts.length===0){const o=D.getLocalizedStrings().chartCard.total,l=G(o,"forecast",r);if(l.length!==0){const i=b(o,"forecast");t[i]=l,n=i,e.push(i)}}return t},rr=x.div`
195
+ `,Fa=({active:e,payload:r,barName:t})=>{const n=[];if(r!=null&&e===!0){const o=r.filter(c=>c.name==t)[0],l=o.payload,i=o.color,h=t!=null&&l.record[t]!=null?l.record[t].amount:void 0;if(!t?.endsWith("_forecast")){let c;if(t.includes("forecast")!==!0){c=l.record[t]!=null?Ha(t,l):void 0;const s={amount:0,currencyCode:"",currencySymbol:""},f={amount:0,currencyCode:"",currencySymbol:""};let p;for(p in l.record){const C=l.record[p].amount;p.endsWith("_actual")?(s.amount+=l.record[p].amount?.amount??0,s.currencyCode=C!=null?C.currencyCode:s.currencyCode,s.currencySymbol=C!=null?C.currencySymbol:s.currencySymbol):p.endsWith("_forecast")&&(f.amount+=l.record[p].amount?.amount??0,f.currencyCode=C!=null?C.currencyCode:f.currencyCode,f.currencySymbol=C!=null?C.currencySymbol:f.currencySymbol)}const d=Math.floor((s?.amount-f?.amount)*100/100),y={...s,amount:d},_=f.amount!==0?Math.floor((s.amount-f.amount)/f.amount*100)/100:0,w={value:f,change:y,percent:_};n.push({barName:N(t),actual:h,forecast:c,color:i}),n.push({barName:D.getLocalizedStrings().chartCard.total,actual:s,forecast:w,color:g.neutralGrey1Light})}}}return n},Ha=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l={...n,amount:o!=null?Math.floor((n.amount-o.amount)*100/100):n.amount},i=o!=null&&o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:l,percent:i}},Le=e=>a.jsxs(Ga,{color:e.color,children:[a.jsx(Va,{children:`${e.barName}:`}),a.jsx(q,{children:e.actual!=null?`${T(e.actual)}`:"-"}),a.jsx(q,{children:e.forecast!=null?`${T(e.forecast.value)}`:"-"}),e.forecast!=null?a.jsx(q,{isChange:!0,children:`${T(e.forecast.change)}`}):a.jsx(q,{children:"-"}),e.forecast!=null?a.jsx(q,{isChange:!0,children:V("0,0.0%",e.forecast.percent)}):a.jsx(q,{children:"-"})]}),Ya=e=>{if(e.length>0){for(const r of e)if(r.actual!=null)return r.actual.currencySymbol}return""},Xa=({barLabelsWithValues:e})=>a.jsx(Na,{children:a.jsxs(Ia,{children:[a.jsx(_e,{color:e[0].color,children:`${e[0].barName}: ${T(e[0].actual)}`}),a.jsx(Ee,{}),a.jsx(_e,{children:`${D.getLocalizedStrings().chartCard.total}: ${T(e[1].actual)}`})]})}),qa=({barLabelsWithValues:e})=>a.jsxs(Ma,{children:[a.jsxs(Ka,{children:[a.jsx(Ea,{}),a.jsx(ue,{children:D.getLocalizedStrings().chartCard.tooltip.actual}),a.jsx(ue,{children:D.getLocalizedStrings().chartCard.tooltip.forecast}),a.jsxs(ue,{children:[D.getLocalizedStrings().chartCard.tooltip.change," ",Ya(e)]}),a.jsx(ue,{children:D.getLocalizedStrings().chartCard.tooltip.change_percent})]}),a.jsxs(Aa,{children:[Le(e[0]),a.jsx(Ee,{}),Le(e[1])]})]}),Ua=e=>{const r=Fa({...e});return r.length===0?null:a.jsx(a.Fragment,{children:e.mode==="forecast_mode"?a.jsx(qa,{barLabelsWithValues:r}):a.jsx(Xa,{barLabelsWithValues:r})})},Za=ee.memo(Ua),Qa=(e,r)=>{const t=[],n={};let o;return r!=null&&r.classes.length!=0&&r.classes.forEach(l=>{const i=G(l.class.className,"actual",l.childrenBalancesTotal),h=b(l.class.className,"actual");n[h]=i,t.push(h),o==null&&i.length>0&&(o=b(l.class.className,"actual"))}),o!=null?Z(e,t,o,n):void 0},De=[g.graphColor34,g.graphColor05,g.graphColor08,g.graphColor11,g.graphColor13,g.graphColor19,g.graphColor29,g.graphColor28,g.graphColor20,g.graphColor21,g.graphColor22,g.graphColor14,g.graphColor35,g.graphColor31,g.graphColor33,g.graphColor32,g.graphColor36,g.graphColor02,g.graphColor06,g.graphColor04,g.graphColor10,g.graphColor12,g.graphColor15,g.graphColor18,g.graphColor17,g.graphColor07,g.graphColor34Dark,g.graphColor05Dark,g.graphColor08Dark,g.graphColor11Dark,g.graphColor13Dark,g.graphColor19Dark,g.graphColor29Dark,g.graphColor28Dark,g.graphColor20Dark,g.graphColor21Dark,g.graphColor22Dark,g.graphColor14Dark,g.graphColor35Dark,g.graphColor31Dark,g.graphColor33Dark,g.graphColor32Dark,g.graphColor36Dark,g.graphColor02Dark,g.graphColor06Dark,g.graphColor04Dark,g.graphColor10Dark,g.graphColor12Dark,g.graphColor15Dark,g.graphColor18Dark,g.graphColor17Dark,g.graphColor07Dark];class Y{_barColors;_barColorsKeyWise;_defaultColor;constructor(){this._defaultColor=g.graphColor34,this._barColors=De.slice(),this._barColorsKeyWise=new Map}static#e=new Y;getBarColor(r){const t=Y.instance();return t._barColorsKeyWise.has(r)||(t._barColors.length===0&&(t._barColors=De.slice()),t._barColorsKeyWise.set(r,t._barColors.shift()??t._defaultColor)),t._barColorsKeyWise.get(r)}shouldUpdate(r){const t=Y.instance(),n=Array.from(t._barColorsKeyWise.keys()).sort();return!Ve(n,r)}static init(){return this.#e=new Y,this.#e}static instance(){return this.#e}}const Ja=Y.instance(),er=(e,r,t)=>{const n=[],o={};let l,i=!1;if(t!=null&&t.accountGroups.length!=0?t.accountGroups.forEach(h=>{const c=G(h.accountGroupName,"actual",h),s=b(h.accountGroupName,"actual");o[s]=c,n.push(s),l==null&&c.length>0&&(l=b(h.accountGroupName,"actual"))}):t!=null&&t.accounts.length!=0&&(i=!0,t.accounts.forEach(h=>{const c=G(h.account.accountName,"actual",h.account.balancesInTimeframe),s=b(h.account.accountName,"actual");o[s]=c,n.push(s),l==null&&c.length>0&&(l=b(h.account.accountName,"actual"))})),t!=null&&t.accountGroups.length===0&&t.accounts.length===0){const h=D.getLocalizedStrings().chartCard.total,c=G(h,"actual",t);if(c.length!==0){const s=b(h,"actual");o[s]=c,l=s,n.push(s)}}return r==="forecast_mode"&&Object.assign(o,ar(n,t)),l!=null?Z(e,n,l,o,i):void 0},ar=(e,r)=>{const t={};let n;if(r!=null&&r.accountGroups.length!=0?r.accountGroups.forEach(o=>{const l=G(o.accountGroupName,"forecast",o),i=b(o.accountGroupName,"forecast");t[i]=l,e.push(i),n==null&&l.length>0&&(n=b(o.accountGroupName,"forecast"))}):r!=null&&r.accounts.length!=0&&r.accounts.forEach(o=>{const l=G(o.account.accountName,"forecast",o.account.balancesInTimeframe),i=b(o.account.accountName,"forecast");t[i]=l,e.push(i),n==null&&l.length>0&&(n=b(o.account.accountName,"forecast"))}),r!=null&&r.accountGroups.length===0&&r.accounts.length===0){const o=D.getLocalizedStrings().chartCard.total,l=G(o,"forecast",r);if(l.length!==0){const i=b(o,"forecast");t[i]=l,n=i,e.push(i)}}return t},rr=x.div`
196
196
  width: ${e=>e.width}px;
197
197
  height: ${e=>e.height}px;
198
- `,or=e=>{const{cx:r,cy:t,fill:n,stroke:o,value:l}=e;return l==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:r,cy:t,r:4,stroke:n,strokeWidth:2,fill:o})},tr=e=>{const{cx:r,cy:t,fill:n,stroke:o,value:l}=e;return l==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:r,cy:t,r:5,stroke:o,strokeWidth:2,fill:n})};function Ir({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:s}){const c=P.useRef(!1),[f,p]=P.useState(Ja),[d,y]=P.useState(void 0),_=A(),w=P.useRef([]);P.useEffect(()=>{c.current=!0},[]),P.useEffect(()=>{f.shouldUpdate(w.current)===!0&&p(Y.init())},[]),P.useEffect(()=>{let k=[];if(e.reportId==="operating_expenses"){const v=e.sections.expenses;v.accountGroups.length===0&&v.accounts.length===0?k.push(D.getLocalizedStrings().chartCard.total):v.accountGroups.length!=0?k=v.accountGroups.map(O=>O.accountGroupName).sort():k=v.accounts.map(O=>O.account).map(O=>O.accountName).sort()}else k=e.sections.expenses.classes.map(v=>v.class.className).sort();w.current=k},[e,f]);const C=P.useMemo(()=>e.reportId==="operating_expenses"?er(e.firstMonthOfFY,h,e.sections.expenses):Za(e.firstMonthOfFY,e.sections.expenses),[e,h]),L=P.useCallback(()=>{const k=u=>a.jsx(me,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:a.jsx(or,{}),activeDot:a.jsx(tr,{}),dataKey:j=>{const S=j.record;let B,z;for(z in S)if(z.endsWith("_forecast")){const E=S[z].amount;E!=null&&(B==null?B={...E}:B.amount+=E.amount)}return B?.amount},stroke:_.colors.grey1,strokeDasharray:"3 3",strokeWidth:1.5},u),v=(u,j)=>a.jsx(se,{name:u,animationDuration:j?500:void 0,style:{cursor:"pointer"},dataKey:S=>{const B=S.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount??0},stackId:"a",fill:f.getBarColor(N(u)),onMouseEnter:()=>{d!==u&&y(u)},onMouseLeave:()=>{d!=null&&y(void 0)}},u),O=[];return C?.orderedKeys.forEach(u=>{const j=!c.current;u.endsWith("_forecast")?O.push(k(u)):O.push(v(u,j))}),O},[C]),$=({active:k,payload:v})=>v?.find(O=>O.name===d)!=null&&d!=null&&k===!0?a.jsx(Qa,{active:k,payload:v,mode:h,barName:d}):null;return C==null?null:a.jsx(lr,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:L(),customToolTipContent:a.jsx($,{}),width:n,height:o,onCOABalancesRangeChanged:s,highlightedRange:t,isDetailPage:i===!0})}const lr=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=A(),p=ae(e),d=e.timeseries,y=d.map(L=>L.label),_=h!==!1,w=L=>{if(!s||L?.activePayload==null||L?.activePayload.length===0)return;const $=L.activePayload[0];if($?.payload?.timeLabel?.label==null)return;const k=L.activeTooltipIndex,v=$.payload.timeLabel.label;if(o==null)return;const O=re(v,y,o.numberOfPeriods),u=O[1]===void 0?y.length-1:y.indexOf(O[1]),j={...o,thisPeriod:{startDate:d[u].startDate,endDate:d[u].endDate}};c?.(d[k],r,j)},C=s?(l-60)/W.operating_expenses*(W.operating_expenses-e.recordByTimeseries.length):20;return a.jsx(rr,{width:l,height:i,children:a.jsx(Z,{children:({height:L,width:$})=>a.jsxs(fe,{width:$,height:L,stackOffset:"sign",data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:s?I[10]:30,margin:{top:5,right:C,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:w,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:f.colors.grey3}),a.jsx(le,{dataKey:k=>k.timeLabel.label,type:"category",axisLine:{stroke:f.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:k=>J("0,0.[00]a",k,p)}),a.jsx(ce,{wrapperStyle:{zIndex:2},cursor:_?{stroke:f.colors.background,strokeWidth:($-60)/W.operating_expenses,fill:f.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t]})})})},nr=x.div`
198
+ `,or=e=>{const{cx:r,cy:t,fill:n,stroke:o,value:l}=e;return l==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:r,cy:t,r:4,stroke:n,strokeWidth:2,fill:o})},tr=e=>{const{cx:r,cy:t,fill:n,stroke:o,value:l}=e;return l==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:r,cy:t,r:5,stroke:o,strokeWidth:2,fill:n})};function Ir({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:c}){const s=P.useRef(!1),[f,p]=P.useState(Ja),[d,y]=P.useState(void 0),_=A(),w=P.useRef([]);P.useEffect(()=>{s.current=!0},[]),P.useEffect(()=>{f.shouldUpdate(w.current)===!0&&p(Y.init())},[]),P.useEffect(()=>{let k=[];if(e.reportId==="operating_expenses"){const v=e.sections.expenses;v.accountGroups.length===0&&v.accounts.length===0?k.push(D.getLocalizedStrings().chartCard.total):v.accountGroups.length!=0?k=v.accountGroups.map(O=>O.accountGroupName).sort():k=v.accounts.map(O=>O.account).map(O=>O.accountName).sort()}else k=e.sections.expenses.classes.map(v=>v.class.className).sort();w.current=k},[e,f]);const C=P.useMemo(()=>e.reportId==="operating_expenses"?er(e.firstMonthOfFY,h,e.sections.expenses):Qa(e.firstMonthOfFY,e.sections.expenses),[e,h]),L=P.useCallback(()=>{const k=u=>a.jsx(me,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:a.jsx(or,{}),activeDot:a.jsx(tr,{}),dataKey:j=>{const S=j.record;let B,z;for(z in S)if(z.endsWith("_forecast")){const E=S[z].amount;E!=null&&(B==null?B={...E}:B.amount+=E.amount)}return B?.amount},stroke:_.colors.grey1,strokeDasharray:"3 3",strokeWidth:1.5},u),v=(u,j)=>a.jsx(ce,{name:u,animationDuration:j?500:void 0,style:{cursor:"pointer"},dataKey:S=>{const B=S.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount??0},stackId:"a",fill:f.getBarColor(N(u)),onMouseEnter:()=>{d!==u&&y(u)},onMouseLeave:()=>{d!=null&&y(void 0)}},u),O=[];return C?.orderedKeys.forEach(u=>{const j=!s.current;u.endsWith("_forecast")?O.push(k(u)):O.push(v(u,j))}),O},[C]),$=({active:k,payload:v})=>v?.find(O=>O.name===d)!=null&&d!=null&&k===!0?a.jsx(Za,{active:k,payload:v,mode:h,barName:d}):null;return C==null?null:a.jsx(lr,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:L(),customToolTipContent:a.jsx($,{}),width:n,height:o,onCOABalancesRangeChanged:c,highlightedRange:t,isDetailPage:i===!0})}const lr=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:c,onCOABalancesRangeChanged:s})=>{const f=A(),p=ae(e),d=e.timeseries,y=d.map(L=>L.label),_=h!==!1,w=L=>{if(!c||L?.activePayload==null||L?.activePayload.length===0)return;const $=L.activePayload[0];if($?.payload?.timeLabel?.label==null)return;const k=L.activeTooltipIndex,v=$.payload.timeLabel.label;if(o==null)return;const O=re(v,y,o.numberOfPeriods),u=O[1]===void 0?y.length-1:y.indexOf(O[1]),j={...o,thisPeriod:{startDate:d[u].startDate,endDate:d[u].endDate}};s?.(d[k],r,j)},C=c?(l-60)/W.operating_expenses*(W.operating_expenses-e.recordByTimeseries.length):20;return a.jsx(rr,{width:l,height:i,children:a.jsx(Q,{children:({height:L,width:$})=>a.jsxs(fe,{width:$,height:L,stackOffset:"sign",data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:c?I[10]:30,margin:{top:5,right:C,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:w,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:f.colors.grey3}),a.jsx(le,{dataKey:k=>k.timeLabel.label,type:"category",axisLine:{stroke:f.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:k=>J("0,0.[00]a",k,p)}),a.jsx(se,{wrapperStyle:{zIndex:2},cursor:_?{stroke:f.colors.background,strokeWidth:($-60)/W.operating_expenses,fill:f.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t]})})})},nr=x.div`
199
199
  display: flex;
200
- `,cr=x.div`
200
+ `,sr=x.div`
201
201
  display: flex;
202
202
  flex-direction: column;
203
- `,sr=x.div`
203
+ `,cr=x.div`
204
204
  display: flex;
205
205
  background-color: ${e=>e.theme.colors.black};
206
206
  opacity: 0.85;
@@ -263,7 +263,7 @@ import{d as A,V as a,F as D,J as de,b3 as Z,u as I,b as M,aY as J,o as m,aP as A
263
263
  `,Be=x(F)`
264
264
  display: flex;
265
265
  flex-direction: column;
266
- `,Oe=x(F)``,mr=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l={...n,amount:Math.floor((n.amount-o.amount)*100/100)},i=o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:l,percent:i,forecastPercent:r.record[t].percentValue}},fr=({active:e,payload:r,mode:t})=>{const n=[];let o={amount:0,currencyCode:""},l={amount:0,currencyCode:""};const i=b("gross_margin","actual");return r?.forEach(h=>{const s=h.name;if(e===!0){const c=h.payload,f=h.color,p=s!=null&&c.record[s]!=null?c.record[s].amount:void 0;let d;if(s.includes("forecast")!==!0)switch(t==="forecast_mode"&&(d=c.record[s]!=null?mr(s,c):void 0),s){case i:p!=null&&(o.currencyCode===""?o={...p}:o.amount=o.amount+p.amount),d!=null&&(l.currencyCode===""?l={...d.value}:l.amount=l.amount+d.value.amount),n.push({barName:D.getLocalizedStrings().chartCard.revenue[N(s)],actual:p,forecast:d,percent:c.record[s]!=null?c.record[s].percentValue??0:0,color:f});break;default:n.push({barName:D.getLocalizedStrings().chartCard.revenue[N(s)],actual:p,color:f,forecast:d});break}}}),n},ze=e=>e.map((r,t)=>a.jsxs(Me,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(gr,{children:[a.jsx(Ke,{color:r.color}),`${r.barName}:`]}),a.jsxs(pr,{children:[a.jsx(Se,{children:`${T(r.actual)}`}),r.percent!=null?a.jsx(Se,{children:V("0,0.0%",r.percent)}):null]})]},r.barName+t)),Pe=e=>e.map((r,t)=>a.jsxs(Me,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(hr,{children:[a.jsx(Ke,{color:r.color}),`${r.barName}:`]}),a.jsx(U,{children:a.jsxs(Be,{children:[r.actual!=null?`${T(r.actual)}`:"-",a.jsx(Oe,{children:r.percent!=null?V("0,0.0%",r.percent):null})]})}),a.jsx(U,{children:a.jsxs(Be,{children:[r.forecast!=null?`${T(r.forecast.value)}`:"-",a.jsx(Oe,{children:r.forecast!=null&&r.forecast.forecastPercent!=null?V("0,0.0%",r.forecast.forecastPercent):null})]})}),r.forecast!=null?a.jsx(U,{isChange:!0,children:`${T(r.forecast.change)}`}):a.jsx(U,{children:"-"}),r.forecast!=null?a.jsx(U,{isChange:!0,children:V("0,0.0%",r.forecast.percent)}):a.jsx(U,{children:"-"})]},r.barName+t)),xr=e=>{if(e.length>0){for(const r of e)if(r.actual!=null)return r.actual.currencySymbol}return""},br=({barLabelsWithValues:e})=>a.jsxs(cr,{children:[a.jsxs(sr,{children:[a.jsx(ir,{}),a.jsx(he,{children:D.getLocalizedStrings().chartCard.tooltip.actual}),a.jsx(he,{children:D.getLocalizedStrings().chartCard.tooltip.forecast}),a.jsxs(he,{children:[D.getLocalizedStrings().chartCard.tooltip.change," ",xr(e)]}),a.jsx(he,{children:D.getLocalizedStrings().chartCard.tooltip.change_percent})]}),a.jsxs(ur,{children:[Pe(e.slice(0,e.length-1)),e.length?a.jsx(Ge,{}):null,Pe(e.slice(-1))]})]}),yr=({barLabelsWithValues:e})=>a.jsx(nr,{children:a.jsxs(dr,{children:[ze(e.slice(0,e.length-1)),e.length?a.jsx(Ge,{}):null,ze(e.slice(-1))]})}),Cr=e=>{const r=fr({...e});return r.length===0?null:a.jsx(a.Fragment,{children:e.mode==="forecast_mode"?a.jsx(br,{barLabelsWithValues:r}):a.jsx(yr,{barLabelsWithValues:r})})},jr=ee.memo(Cr),Re=(e,r,t,n,o,l)=>{let i=[],h=[],s=[];n!=null&&n.balances.length>0&&(i=K("income","actual",n)),o!=null&&o.balances.length>0&&(h=K("cogs","actual",o)),l!=null&&l.balances.length>0&&(s=oe("gross_margin","actual",l));const c=b("income","actual"),f=b("cogs","actual"),p=b("gross_margin","actual"),d=i.length>0?c:h.length>0?f:p,y={};return y[c]=i,y[f]=h,y[p]=s,t==="forecast_mode"&&Object.assign(y,vr(n,o,l)),d!=null?Q(e,r,d,y):void 0},vr=(e,r,t)=>{let n=[],o=[],l=[];e!=null&&e.balances.length>0&&(n=K("income","forecast",e)),r!=null&&r.balances.length>0&&(o=K("cogs","forecast",r)),t!=null&&t.balances.length>0&&(l=oe("gross_margin","forecast",t));const i=b("income","forecast"),h=b("cogs","forecast"),s=b("gross_margin","forecast"),c={};return c[i]=n,c[h]=o,c[s]=l,c},kr=[b("income","actual"),b("cogs","actual"),b("gross_margin","actual")],$r=[b("income","actual"),b("cogs","actual"),b("gross_margin","actual"),b("income","forecast"),b("cogs","forecast"),b("gross_margin","forecast")],wr=x.div`
266
+ `,Oe=x(F)``,mr=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l={...n,amount:Math.floor((n.amount-o.amount)*100/100)},i=o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:l,percent:i,forecastPercent:r.record[t].percentValue}},fr=({active:e,payload:r,mode:t})=>{const n=[];let o={amount:0,currencyCode:""},l={amount:0,currencyCode:""};const i=b("gross_margin","actual");return r?.forEach(h=>{const c=h.name;if(e===!0){const s=h.payload,f=h.color,p=c!=null&&s.record[c]!=null?s.record[c].amount:void 0;let d;if(c.includes("forecast")!==!0)switch(t==="forecast_mode"&&(d=s.record[c]!=null?mr(c,s):void 0),c){case i:p!=null&&(o.currencyCode===""?o={...p}:o.amount=o.amount+p.amount),d!=null&&(l.currencyCode===""?l={...d.value}:l.amount=l.amount+d.value.amount),n.push({barName:D.getLocalizedStrings().chartCard.revenue[N(c)],actual:p,forecast:d,percent:s.record[c]!=null?s.record[c].percentValue??0:0,color:f});break;default:n.push({barName:D.getLocalizedStrings().chartCard.revenue[N(c)],actual:p,color:f,forecast:d});break}}}),n},ze=e=>e.map((r,t)=>a.jsxs(Me,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(gr,{children:[a.jsx(Ke,{color:r.color}),`${r.barName}:`]}),a.jsxs(pr,{children:[a.jsx(Se,{children:`${T(r.actual)}`}),r.percent!=null?a.jsx(Se,{children:V("0,0.0%",r.percent)}):null]})]},r.barName+t)),Pe=e=>e.map((r,t)=>a.jsxs(Me,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(hr,{children:[a.jsx(Ke,{color:r.color}),`${r.barName}:`]}),a.jsx(U,{children:a.jsxs(Be,{children:[r.actual!=null?`${T(r.actual)}`:"-",a.jsx(Oe,{children:r.percent!=null?V("0,0.0%",r.percent):null})]})}),a.jsx(U,{children:a.jsxs(Be,{children:[r.forecast!=null?`${T(r.forecast.value)}`:"-",a.jsx(Oe,{children:r.forecast!=null&&r.forecast.forecastPercent!=null?V("0,0.0%",r.forecast.forecastPercent):null})]})}),r.forecast!=null?a.jsx(U,{isChange:!0,children:`${T(r.forecast.change)}`}):a.jsx(U,{children:"-"}),r.forecast!=null?a.jsx(U,{isChange:!0,children:V("0,0.0%",r.forecast.percent)}):a.jsx(U,{children:"-"})]},r.barName+t)),xr=e=>{if(e.length>0){for(const r of e)if(r.actual!=null)return r.actual.currencySymbol}return""},br=({barLabelsWithValues:e})=>a.jsxs(sr,{children:[a.jsxs(cr,{children:[a.jsx(ir,{}),a.jsx(he,{children:D.getLocalizedStrings().chartCard.tooltip.actual}),a.jsx(he,{children:D.getLocalizedStrings().chartCard.tooltip.forecast}),a.jsxs(he,{children:[D.getLocalizedStrings().chartCard.tooltip.change," ",xr(e)]}),a.jsx(he,{children:D.getLocalizedStrings().chartCard.tooltip.change_percent})]}),a.jsxs(ur,{children:[Pe(e.slice(0,e.length-1)),e.length?a.jsx(Ge,{}):null,Pe(e.slice(-1))]})]}),yr=({barLabelsWithValues:e})=>a.jsx(nr,{children:a.jsxs(dr,{children:[ze(e.slice(0,e.length-1)),e.length?a.jsx(Ge,{}):null,ze(e.slice(-1))]})}),Cr=e=>{const r=fr({...e});return r.length===0?null:a.jsx(a.Fragment,{children:e.mode==="forecast_mode"?a.jsx(br,{barLabelsWithValues:r}):a.jsx(yr,{barLabelsWithValues:r})})},jr=ee.memo(Cr),Re=(e,r,t,n,o,l)=>{let i=[],h=[],c=[];n!=null&&n.balances.length>0&&(i=K("income","actual",n)),o!=null&&o.balances.length>0&&(h=K("cogs","actual",o)),l!=null&&l.balances.length>0&&(c=oe("gross_margin","actual",l));const s=b("income","actual"),f=b("cogs","actual"),p=b("gross_margin","actual"),d=i.length>0?s:h.length>0?f:p,y={};return y[s]=i,y[f]=h,y[p]=c,t==="forecast_mode"&&Object.assign(y,vr(n,o,l)),d!=null?Z(e,r,d,y):void 0},vr=(e,r,t)=>{let n=[],o=[],l=[];e!=null&&e.balances.length>0&&(n=K("income","forecast",e)),r!=null&&r.balances.length>0&&(o=K("cogs","forecast",r)),t!=null&&t.balances.length>0&&(l=oe("gross_margin","forecast",t));const i=b("income","forecast"),h=b("cogs","forecast"),c=b("gross_margin","forecast"),s={};return s[i]=n,s[h]=o,s[c]=l,s},kr=[b("income","actual"),b("cogs","actual"),b("gross_margin","actual")],$r=[b("income","actual"),b("cogs","actual"),b("gross_margin","actual"),b("income","forecast"),b("cogs","forecast"),b("gross_margin","forecast")],wr=x.div`
267
267
  width: ${e=>e.width}px;
268
268
  height: ${e=>e.height}px;
269
269
 
@@ -277,4 +277,4 @@ import{d as A,V as a,F as D,J as de,b3 as Z,u as I,b as M,aY as J,o as m,aP as A
277
277
  margin-left: ${e=>X.legendLabelMarginLeft.valuePx(e.windowSize)};
278
278
  margin-right: ${e=>X.legendLabelMarginRight.valuePx(e.windowSize)};
279
279
  color: ${e=>e.theme.colors.primary};
280
- `;function Er({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:s}){const c=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[c.colors.graphColor26,c.colors.graphColor17,c.colors.graphColor12],d=[c.colors.graphColor28,c.colors.graphColor17,c.colors.graphColor10,c.colors.graphColor28Dark,c.colors.graphColor17Dark,c.colors.graphColor10Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?$r:kr,w=(u,j=c.colors.graphColor28)=>u<y.length?y[u]:j,C=e.reportId==="revenue"?Re(e.firstMonthOfFY,_,h,e.sections?.income,e.sections?.cogs,e.calculatedSections?.grossMargin):Re(e.firstMonthOfFY,_,h,e.sections.income,e.sections.cogs,e.calculatedSections.grossMargin),L=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:4,stroke:B,strokeWidth:2,fill:z})},$=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:5,stroke:z,strokeWidth:2,fill:B})},k=(u,j)=>a.jsx(me,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:a.jsx(L,{}),activeDot:a.jsx($,{}),dataKey:S=>{const B=S.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount},stroke:w(j),strokeDasharray:"3 3",strokeWidth:1.5},u),v=(u,j,S)=>a.jsx(se,{name:u,animationDuration:S?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:B=>{const z=B.record;return(z[u]!=null&&z[u].amount!=null?z[u].amount:void 0)?.amount??0},fill:w(j)},u),O=()=>{const u=[];return _.forEach((j,S)=>{const B=i===!0&&!f.current;j.endsWith("_forecast")?u.push(k(j,S)):u.push(v(j,S,B))}),u};return C==null?null:a.jsx(Lr,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:O(),customToolTipContent:({active:u,payload:j})=>a.jsx(jr,{active:u,payload:j,mode:h}),width:n,height:o,onCOABalancesRangeChanged:s,highlightedRange:t,isDetailPage:i===!0})}const Lr=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=de(),p=A(),d=ae(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!s||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const v=$.activeTooltipIndex,O=k.payload.timeLabel.label;if(o==null)return;const u=re(O,_,o.numberOfPeriods),j=u[1]===void 0?_.length-1:_.indexOf(u[1]),S={...o,thisPeriod:{startDate:y[j].startDate,endDate:y[j].endDate}};c?.(y[v],r,S)},L=s?(l-60)/W.revenue*(W.revenue-e.recordByTimeseries.length):20;return a.jsx(wr,{width:l,height:i,windowSize:f,children:a.jsx(Z,{children:({height:$,width:k})=>a.jsxs(fe,{data:e.recordByTimeseries,barCategoryGap:s?void 0:"12%",maxBarSize:s?I[10]:22,barGap:s?void 0:2,margin:{top:5,right:L,left:0,bottom:I[4]},height:$,width:k,style:{display:"flex",flex:"1 1 auto"},onClick:C,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:p.colors.grey3}),a.jsx(le,{dataKey:v=>v.timeLabel.label,type:"category",axisLine:{stroke:p.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:v=>J("0,0.[00]a",v,d)}),a.jsx(ce,{wrapperStyle:{zIndex:2},cursor:w?{stroke:p.colors.background,strokeWidth:(k-60)/W.revenue,fill:p.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t,s?a.jsx(pe,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:m.sp0},iconSize:I[3],formatter:v=>a.jsx(_r,{windowSize:f,children:v.endsWith("_forecast")===!0?D.getLocalizedStrings().chartCard.revenue[v]:D.getLocalizedStrings().chartCard.revenue[N(v)]})}):null]})})})};export{Tr as G,Nr as H,Wr as P,Er as X,Ir as Y};
280
+ `;function Er({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:c}){const s=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[s.colors.graphColor26,s.colors.graphColor17,s.colors.graphColor12],d=[s.colors.graphColor28,s.colors.graphColor17,s.colors.graphColor10,s.colors.graphColor28Dark,s.colors.graphColor17Dark,s.colors.graphColor10Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?$r:kr,w=(u,j=s.colors.graphColor28)=>u<y.length?y[u]:j,C=e.reportId==="revenue"?Re(e.firstMonthOfFY,_,h,e.sections?.income,e.sections?.cogs,e.calculatedSections?.grossMargin):Re(e.firstMonthOfFY,_,h,e.sections.income,e.sections.cogs,e.calculatedSections.grossMargin),L=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:4,stroke:B,strokeWidth:2,fill:z})},$=u=>{const{cx:j,cy:S,fill:B,stroke:z,value:E}=u;return E==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:S,r:5,stroke:z,strokeWidth:2,fill:B})},k=(u,j)=>a.jsx(me,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:a.jsx(L,{}),activeDot:a.jsx($,{}),dataKey:S=>{const B=S.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount},stroke:w(j),strokeDasharray:"3 3",strokeWidth:1.5},u),v=(u,j,S)=>a.jsx(ce,{name:u,animationDuration:S?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:B=>{const z=B.record;return(z[u]!=null&&z[u].amount!=null?z[u].amount:void 0)?.amount??0},fill:w(j)},u),O=()=>{const u=[];return _.forEach((j,S)=>{const B=i===!0&&!f.current;j.endsWith("_forecast")?u.push(k(j,S)):u.push(v(j,S,B))}),u};return C==null?null:a.jsx(Lr,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:O(),customToolTipContent:({active:u,payload:j})=>a.jsx(jr,{active:u,payload:j,mode:h}),width:n,height:o,onCOABalancesRangeChanged:c,highlightedRange:t,isDetailPage:i===!0})}const Lr=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:c,onCOABalancesRangeChanged:s})=>{const f=de(),p=A(),d=ae(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!c||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const v=$.activeTooltipIndex,O=k.payload.timeLabel.label;if(o==null)return;const u=re(O,_,o.numberOfPeriods),j=u[1]===void 0?_.length-1:_.indexOf(u[1]),S={...o,thisPeriod:{startDate:y[j].startDate,endDate:y[j].endDate}};s?.(y[v],r,S)},L=c?(l-60)/W.revenue*(W.revenue-e.recordByTimeseries.length):20;return a.jsx(wr,{width:l,height:i,windowSize:f,children:a.jsx(Q,{children:({height:$,width:k})=>a.jsxs(fe,{data:e.recordByTimeseries,barCategoryGap:c?void 0:"12%",maxBarSize:c?I[10]:22,barGap:c?void 0:2,margin:{top:5,right:L,left:0,bottom:I[4]},height:$,width:k,style:{display:"flex",flex:"1 1 auto"},onClick:C,children:[a.jsx(te,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:p.colors.grey3}),a.jsx(le,{dataKey:v=>v.timeLabel.label,type:"category",axisLine:{stroke:p.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:v=>J("0,0.[00]a",v,d)}),a.jsx(se,{wrapperStyle:{zIndex:2},cursor:w?{stroke:p.colors.background,strokeWidth:(k-60)/W.revenue,fill:p.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t,c?a.jsx(pe,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:m.sp0},iconSize:I[3],formatter:v=>a.jsx(_r,{windowSize:f,children:v.endsWith("_forecast")===!0?D.getLocalizedStrings().chartCard.revenue[v]:D.getLocalizedStrings().chartCard.revenue[N(v)]})}):null]})})})};export{Tr as G,Nr as H,Wr as P,Er as X,Ir as Y};
@@ -1,17 +1,17 @@
1
- import{J as Tt,aw as Ct,y as u,f6 as Dt,f7 as It,f8 as Pt,V as t,f9 as kt,fa as le,fb as At,fc as Mt,fd as Bt,fe as Ft,aN as A,ff as Rt,aP as j,fg as Lt,fh as Me,fi as Be,fj as Fe,b as H,fk as O,p as S,fl as zt,fm as E,fn as W,fo as Nt,fp as Ot,bT as Re,o as n,aR as Et,u as s,F as Wt,ag as _t,c2 as Vt,O as Zt,a as Yt,fq as Gt,ci as qt,al as se,am as ce,fr as Ht,fs as Kt,bi as Ut,c as Xt,b9 as Jt,ft as Qt,aq as et,bK as en,ai as tt,bt as tn,fu as nn}from"./index-BsnL7ZTX.js";import{a as V}from"./sentry-9b1mvxJ5.js";import{n as i}from"./mui-DsjrNjDe.js";import{bo as Le,bm as ze,bH as I,bN as an,Fz as ln,bL as oe,bP as on}from"./zeni-epic-state-DJX8u9R8.js";import{t as rn,o as dn}from"./LowBalancePopup-BPk1-eAb-B6NttzQA.js";import{S as _}from"./LabeledText-38fqkkE--CWSGVUzZ.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="5715d0d6-c48d-4e1d-bd66-3a822b5cfc36",e._sentryDebugIdIdentifier="sentry-dbid-5715d0d6-c48d-4e1d-bd66-3a822b5cfc36")}catch{}})();const nt=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,s[2],s[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,s[1]),navBarContainerPaddingTop:new u(10,s[3]),sectionTitleMarginLeft:new u(s[3],s[0]),reviewContainerMarginLeft:new u(s[3],s[6]),reviewContainerMarginRight:new u(s[3],s[8]),footerRightIconMarginRight:new u(s[0],s[0],s[7]),infoLabelPaddingRight:new u(s[0],s[3]),infoLabelMarginTop:new u(s[1],s[0])},sn={sectionTitle:new Zt("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:h}},spendManagement:{billPay:mn}}=Wt.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=mn,We=({attachment:e})=>{const[y,f]=V.useState(!1),M=()=>{f(!1)},T=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>T===!1?f(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Ht,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:f}):null,t.jsx(En,{children:t.jsx(Kt,{contentType:e.contentType})})]})},si=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:f,currentTenant:M,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:it,style:at,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:x,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:J,retryPayment:st})=>{const d=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:x},F=f&&x!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(d),z=e.saveStatus,Q=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(T,it,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),C=Ne.visual.MMMDCommaYYYYformat,fe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?It(fe,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?Pt(fe,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,ge]=V.useState(!1),[mt,xe]=V.useState(!1),be=()=>ge(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Ln,{size:d,children:t.jsx(Rn,{})})]}):kt(e.paymentDetailsSection?.paymentTo);V.useEffect(()=>{(z?.fetchState==="Completed"||Q?.fetchState==="Completed")&&(pe(),ye(),he())},[z,Q,he,pe,ye]);const $=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,Z=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:P?.code=="approved"&&Z?.code?Z:P,ht=e.billPayInfo?.isRefundInitiated===!0?yt:P?.code=="approved"&&Z?.code?Z:P,ne=()=>{me()},we=()=>{me()},Y=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),$e=ie.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:$e,onClick:pt}):a.addedByZeni,G=y.allApprovalRules.length>0,gt=Le(o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?p.amount-N.amount:p.amount,o?.fee.currencyCode??ze.currencyCode,o?.fee.currencySymbol??ze.currencySymbol),g=an(e.paymentDetailsSection?.paymentType?.method),xt=l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",$?.code??"draft",te?.code??""),ue(!0,l)},ve=()=>{xe(!0),w.trackBillPayMarkAsPaid($?.code??"draft",te?.code??"")},bt=()=>{dt(),xe(!1)},k=g&&($?.code!=null?$.code==="draft"||P?.code==="approved":!0),b=k&&!ot,je=_e(b,G,e.isBillMarkedForRetry),wt=()=>g?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Qt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=rt&&e.paymentDetailsSection!=null?Mt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(x??"new_bill"),o?.method!=null&&l!=null){const St=g?a.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,x,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:oe(D?.startDate?.toString()??"").format(C),endDate:oe(D?.endDate?.toString()??"").format(C),frequency:D?.frequency??"monthly",totalAmount:jt.amount,totalPaymentCycles:D?.totalPaymentCycles??0,isApprovalRequired:D?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?D?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?D?.updateRecurringBills==="all":void 0}),ae!=null){const Ce=$?.code??"draft",De=P?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],Pe=e.invoiceNumber??"",ke=nn(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===a.scheduleBill?w.trackLowBalanceAccountSchedule(Ce,De,Ie,Pe,ke,Ae):je===a.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Ce,De,Ie,Pe,ke,Ae)}}},Se=()=>{Te===!0&&q(!1),e.isBillMarkedForRetry===!0?(st(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,y.allApprovalRules,c.loggedInUser),[Te,q]=V.useState(!1);return t.jsxs($n,{children:[mt?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:z?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(dn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{q(!1),ne()},onClickAway:()=>{q(!1)}}):null,t.jsx(Bt,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Rt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(C)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:d,style:at,children:[d==="small"?t.jsxs(Fn,{windowSize:d,children:[t.jsx(Ke,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ye,{windowSize:d,children:a.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ke,{onClick:we})}),d!=="small"?t.jsx(Sn,{children:t.jsx(Ye,{windowSize:d,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(Gn,{}),t.jsxs(Dn,{children:[t.jsx(Pn,{children:a.duplicateBillPayWarning}),t.jsxs(In,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>J(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Vn,{children:[t.jsx(Yn,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Lt(l);return l!=null?t.jsx(Zn,{children:nt.includes(d)?t.jsxs(Ge,{windowSize:d,children:[t.jsxs(kn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(Ue,{children:t.jsx(Xe,{})}),t.jsx(U,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Je,{windowSize:d,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Wn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsxs(U,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Qe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ge,{windowSize:d,children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(Ue,{children:t.jsx(Xe,{})}),t.jsxs(_n,{"data-testid":j("review-detail-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsx(U,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(U,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Je,{style:{width:"25%"},windowSize:d,children:A("0,0[.]00",l.amount)})]}),t.jsx(Qe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(qe,{children:a.pay}),t.jsx(He,{children:t.jsx(Fe,{amount:gt,integerStyles:H.largeMedium.cssObject,decimalStyles:H.smallMedium.cssObject})}),t.jsx(qe,{children:a.to}),t.jsx(He,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(_,{label:{label:a.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?zt(e.paymentDetailsSection.withdrawFrom,d):h,infoLabelStyle:{textAlign:d==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(d),marginTop:m.infoLabelMarginTop.valuePx(d),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(K,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(_,{label:{label:a.paymentMethod,width:L},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(K,{}),!g&&Y!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(_,{label:{label:a.paymentDate,width:L},style:{width:"auto"},value:Y.format(C),additionalInfoLabel:`${a.estimatedArrival}${oe(on(Y.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(K,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(_,{label:{label:a.paymentTo,width:L},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),g||lt?t.jsxs(t.Fragment,{children:[t.jsx(K,{}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(_,{label:{label:a.paymentType,width:L},style:{width:"auto"},value:Ot(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Nt(d,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:d,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:a.total}),t.jsx(Re,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(fn,{children:[t.jsxs(Ze,{children:[t.jsx(de,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount-N.amount,currencySymbol:N.currencySymbol})})]}),t.jsxs(Ze,{children:[t.jsx(de,{children:Ee.transactionFee}),t.jsx(re,{children:A("0,0[.]00",{amount:N.amount,currencySymbol:N.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(de,{children:Oe.total}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(pn,{})})]}),t.jsx(wn,{children:t.jsx(Fe,{amount:Le(p.amount,p.currencyCode,p.currencySymbol),integerStyles:H.h6Medium.cssObject,decimalStyles:H.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:k&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:k&&!b?ve:ne,style:{width:Ve(!1,k,b,G,d)}},primaryBtn:{label:_e(b,G,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress",onClick:b?ve:()=>{vt&&ae!=null?q(!0):Se()},style:{width:Ve(!0,k,b,G,d)}},rightSideComponent:k&&!b&&z.fetchState!=="In-Progress"?t.jsx(qn,{windowSize:d,children:t.jsx(Re,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Kn,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Hn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?t.jsxs(zn,{children:[a.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},_e=(e,y,f)=>e?a.paymentOutsideZeni.markAsPaid:f===!0?a.retryPayment:y?a.sendForApproval:a.scheduleBill,Ve=(e,y,f,M,T)=>f?128:y&&!e&&T==="small"?"auto":M?165:m.footerButtonWidth.value(T),pn=i(en)`
1
+ import{J as Tt,aw as Ct,y as u,f5 as Dt,f6 as It,f7 as kt,V as t,f8 as Pt,f9 as le,fa as At,fb as Mt,fc as Bt,fd as Ft,aO as A,fe as Rt,aQ as j,ff as Lt,fg as Me,fh as Be,fi as Fe,b as U,fj as O,p as S,fk as Nt,fl as E,fm as _,fn as zt,fo as Ot,bU as Re,o as n,aS as Et,u as d,F as _t,ag as Zt,c3 as Wt,N as Vt,a as Yt,fp as qt,cj as Ht,al as de,am as ce,fq as Ut,fr as Gt,bj as Kt,d as Jt,ba as Xt,fs as Qt,aq as et,bL as en,ai as tt,bu as tn,ft as nn}from"./index-BJwUmr6X.js";import{a as W}from"./sentry-Dozbf0xW.js";import{n as i}from"./mui-BPiKl8lE.js";import{bo as Le,bm as Ne,bH as I,bN as an,Fz as ln,bL as oe,bP as on}from"./zeni-epic-state-DD2IEaUq.js";import{t as rn,o as sn}from"./LowBalancePopup-go-1GM2R-DD-JSJCf.js";import{S as Z}from"./LabeledText-CYRn3LhA-DMSyV-Kr.js";import"./liveblocks-gc1Zpgue.js";import"./core-BCC1NfcO.js";import"./recharts-CTVVh_-r.js";import"./lottie-PDiRMFOU.js";import"./analytics-BVR-nkdQ.js";import"./lexical-D1A0yBcv.js";import"./utils-CJtHQQTa.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="051c17cc-26e4-4570-be06-7ee7d6884c7b",e._sentryDebugIdIdentifier="sentry-dbid-051c17cc-26e4-4570-be06-7ee7d6884c7b")}catch{}})();const nt=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,d[2],d[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,d[1]),navBarContainerPaddingTop:new u(10,d[3]),sectionTitleMarginLeft:new u(d[3],d[0]),reviewContainerMarginLeft:new u(d[3],d[6]),reviewContainerMarginRight:new u(d[3],d[8]),footerRightIconMarginRight:new u(d[0],d[0],d[7]),infoLabelPaddingRight:new u(d[0],d[3]),infoLabelMarginTop:new u(d[1],d[0])},dn={sectionTitle:new Vt("h6Medium","h5Medium")},{dateFormat:ze,common:{currency:v,labels:Oe,edit:cn,strings:{empty:h}},spendManagement:{billPay:mn}}=_t.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=mn,_e=({attachment:e})=>{const[y,g]=W.useState(!1),M=()=>{g(!1)},T=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>T===!1?g(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Ut,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:g}):null,t.jsx(En,{children:t.jsx(Gt,{contentType:e.contentType})})]})},di=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:g,currentTenant:M,isInternationalPaymentShaVsOurEnabled:T,isLocalCurrencyEnabled:it,style:at,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:x,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:st,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:X,retryPayment:dt})=>{const s=Tt(),c=Ct(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:x},F=g&&x!=null,R=`dashboard_${c.currentTenant?.companyId}`,L=m.largeLabelWidth.value(s),N=e.saveStatus,Q=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(T,it,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),C=ze.visual.MMMDCommaYYYYformat,ge={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?It(ge,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},z={amount:o?.method.includes("international")===!0?kt(ge,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,fe]=W.useState(!1),[mt,xe]=W.useState(!1),be=()=>fe(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),fe(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Ln,{size:s,children:t.jsx(Rn,{})})]}):Pt(e.paymentDetailsSection?.paymentTo);W.useEffect(()=>{(N?.fetchState==="Completed"||Q?.fetchState==="Completed")&&(pe(),ye(),he())},[N,Q,he,pe,ye]);const $=e.billPayInfo?.stage,k=e.billPayInfo?.billStatus,V=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:k?.code=="approved"&&V?.code?V:k,ht=e.billPayInfo?.isRefundInitiated===!0?yt:k?.code=="approved"&&V?.code?V:k,ne=()=>{me()},we=()=>{me()},Y=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),$e=ie.replace("Same Day",""),gt=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:$e,onClick:pt}):a.addedByZeni,q=y.allApprovalRules.length>0,ft=Le(o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?p.amount-z.amount:p.amount,o?.fee.currencyCode??Ne.currencyCode,o?.fee.currencySymbol??Ne.currencySymbol),f=an(e.paymentDetailsSection?.paymentType?.method),xt=l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",$?.code??"draft",te?.code??""),ue(!0,l)},ve=()=>{xe(!0),w.trackBillPayMarkAsPaid($?.code??"draft",te?.code??"")},bt=()=>{st(),xe(!1)},P=f&&($?.code!=null?$.code==="draft"||k?.code==="approved":!0),b=P&&!ot,je=Ze(b,q,e.isBillMarkedForRetry),wt=()=>f?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&T&&ee===v.currencyCode?Qt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=rt&&e.paymentDetailsSection!=null?Mt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(x??"new_bill"),o?.method!=null&&l!=null){const St=f?a.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(ze.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,x,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:oe(D?.startDate?.toString()??"").format(C),endDate:oe(D?.endDate?.toString()??"").format(C),frequency:D?.frequency??"monthly",totalAmount:jt.amount,totalPaymentCycles:D?.totalPaymentCycles??0,isApprovalRequired:D?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?D?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?D?.updateRecurringBills==="all":void 0}),ae!=null){const Ce=$?.code??"draft",De=k?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],ke=e.invoiceNumber??"",Pe=nn(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===a.scheduleBill?w.trackLowBalanceAccountSchedule(Ce,De,Ie,ke,Pe,Ae):je===a.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Ce,De,Ie,ke,Pe,Ae)}}},Se=()=>{Te===!0&&H(!1),e.isBillMarkedForRetry===!0?(dt(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,y.allApprovalRules,c.loggedInUser),[Te,H]=W.useState(!1);return t.jsxs($n,{children:[mt?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:N?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Te?t.jsx(sn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{H(!1),ne()},onClickAway:()=>{H(!1)}}):null,t.jsx(Bt,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Rt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(C)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:s,style:at,children:[s==="small"?t.jsxs(Fn,{windowSize:s,children:[t.jsx(Ge,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ye,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ge,{onClick:we})}),s!=="small"?t.jsx(Sn,{children:t.jsx(Ye,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Tn,{children:[t.jsxs(Cn,{children:[t.jsx(qn,{}),t.jsxs(Dn,{children:[t.jsx(kn,{children:a.duplicateBillPayWarning}),t.jsxs(In,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>X(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Wn,{children:[t.jsx(Yn,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Lt(l);return l!=null?t.jsx(Vn,{children:nt.includes(s)?t.jsxs(qe,{windowSize:s,children:[t.jsxs(Pn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(_e,{attachment:l.attachments[0]}):t.jsx(Ke,{children:t.jsx(Je,{})}),t.jsx(K,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Xe,{windowSize:s,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(_n,{"data-testid":j("review-detail-mobile-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsxs(K,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Qe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(qe,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(_e,{attachment:l.attachments[0]}):t.jsx(Ke,{children:t.jsx(Je,{})}),t.jsxs(Zn,{"data-testid":j("review-detail-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsx(K,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(K,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(C)]}),t.jsx(Xe,{style:{width:"25%"},windowSize:s,children:A("0,0[.]00",l.amount)})]}),t.jsx(Qe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(He,{children:a.pay}),t.jsx(Ue,{children:t.jsx(Fe,{amount:ft,integerStyles:U.largeMedium.cssObject,decimalStyles:U.smallMedium.cssObject})}),t.jsx(He,{children:a.to}),t.jsx(Ue,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[f?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(Z,{label:{label:a.withdrawFrom,width:L},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Nt(e.paymentDetailsSection.withdrawFrom,s):h,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(s),marginTop:m.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(G,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(Z,{label:{label:a.paymentMethod,width:L},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(G,{}),!f&&Y!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(Z,{label:{label:a.paymentDate,width:L},style:{width:"auto"},value:Y.format(C),additionalInfoLabel:`${a.estimatedArrival}${oe(on(Y.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(C)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(G,{})]}):null,f?null:t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(Z,{label:{label:a.paymentTo,width:L},style:{width:"auto"},value:ut??"",additionalInfoLabel:gt})}),f||lt?t.jsxs(t.Fragment,{children:[t.jsx(G,{}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(Z,{label:{label:a.paymentType,width:L},style:{width:"auto"},value:Ot(e.isRecurring,f,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:zt(s,e.isRecurring,f,e.recurringConfig)})})]}):null]}),!f&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(fn,{children:t.jsxs(xn,{windowSize:s,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:a.total}),t.jsx(Re,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(gn,{children:[t.jsxs(Ve,{children:[t.jsx(se,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount-z.amount,currencySymbol:z.currencySymbol})})]}),t.jsxs(Ve,{children:[t.jsx(se,{children:Ee.transactionFee}),t.jsx(re,{children:A("0,0[.]00",{amount:z.amount,currencySymbol:z.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(se,{children:Oe.total}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(pn,{})})]}),t.jsx(wn,{children:t.jsx(Fe,{amount:Le(p.amount,p.currencyCode,p.currencySymbol),integerStyles:U.h6Medium.cssObject,decimalStyles:U.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:P&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:P&&!b?ve:ne,style:{width:We(!1,P,b,q,s)}},primaryBtn:{label:Ze(b,q,e.isBillMarkedForRetry),isLoading:N?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress",onClick:b?ve:()=>{vt&&ae!=null?H(!0):Se()},style:{width:We(!0,P,b,q,s)}},rightSideComponent:P&&!b&&N.fetchState!=="In-Progress"?t.jsx(Hn,{windowSize:s,children:t.jsx(Re,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Gn,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Un,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?t.jsxs(Nn,{children:[a.internationalText1,t.jsx(zn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},Ze=(e,y,g)=>e?a.paymentOutsideZeni.markAsPaid:g===!0?a.retryPayment:y?a.sendForApproval:a.scheduleBill,We=(e,y,g,M,T)=>g?128:y&&!e&&T==="small"?"auto":M?165:m.footerButtonWidth.value(T),pn=i(en)`
2
2
  width: ${n.sp3};
3
3
  height: ${n.sp3};
4
4
  color: ${e=>e.theme.colors.hero};
5
5
  &:hover {
6
6
  color: ${e=>e.theme.colors.primary};
7
7
  }
8
- `,Ze=i(tt)`
8
+ `,Ve=i(tt)`
9
9
  display: flex;
10
10
  justify-content: space-between;
11
11
  padding-bottom: ${n.sp1};
12
12
  `,re=i.div`
13
13
  color: ${e=>e.theme.colors.brandColorPearl};
14
- `,de=i.div`
14
+ `,se=i.div`
15
15
  color: ${e=>e.theme.colors.hero};
16
16
  `,un=i(tt)`
17
17
  display: flex;
@@ -21,7 +21,7 @@ import{J as Tt,aw as Ct,y as u,f6 as Dt,f7 as It,f8 as Pt,V as t,f9 as kt,fa as
21
21
  background-color: ${S.neutralGrey3Dark};
22
22
  height: 1px;
23
23
  width: 280px;
24
- `,fn=i.div``,gn=i.div`
24
+ `,gn=i.div``,fn=i.div`
25
25
  display: flex;
26
26
  width: 100%;
27
27
  box-sizing: border-box;
@@ -68,7 +68,7 @@ import{J as Tt,aw as Ct,y as u,f6 as Dt,f7 as It,f8 as Pt,V as t,f9 as kt,fa as
68
68
  border-radius: ${n.sp2};
69
69
  margin-bottom: ${n.sp3};
70
70
  margin-top: ${n.sp3};
71
- `,K=i.div`
71
+ `,G=i.div`
72
72
  display: flex;
73
73
  flex: 1;
74
74
  background-color: ${e=>e.theme.colors.grey3};
@@ -76,7 +76,7 @@ import{J as Tt,aw as Ct,y as u,f6 as Dt,f7 as It,f8 as Pt,V as t,f9 as kt,fa as
76
76
  max-height: 1px;
77
77
  `,Ye=i(Yt)`
78
78
  color: ${e=>e.theme.colors.primary};
79
- ${e=>`${sn.sectionTitle.style(e.windowSize)}`};
79
+ ${e=>`${dn.sectionTitle.style(e.windowSize)}`};
80
80
  margin-left: ${e=>m.sectionTitleMarginLeft.valuePx(e.windowSize)};
81
81
  `,Sn=i.div`
82
82
  display: flex;
@@ -99,17 +99,17 @@ import{J as Tt,aw as Ct,y as u,f6 as Dt,f7 as It,f8 as Pt,V as t,f9 as kt,fa as
99
99
  display: flex;
100
100
  flex-direction: column;
101
101
  padding-left: ${n.sp2};
102
- `,In=i(se)`
102
+ `,In=i(de)`
103
103
  padding-bottom: ${n.sp3};
104
104
  color: ${S.brandColorGoldDark};
105
- `,Pn=i(qt)`
105
+ `,kn=i(Ht)`
106
106
  padding-top: ${n.sp3};
107
107
  color: ${S.brandColorGoldDark};
108
- `,Ge=i.div`
108
+ `,qe=i.div`
109
109
  display: flex;
110
110
  flex-direction: ${e=>nt.includes(e.windowSize)?"column":"row"};
111
111
  width: 100%;
112
- `,kn=i.div`
112
+ `,Pn=i.div`
113
113
  display: flex;
114
114
  justify-content: space-between;
115
115
  align-items: center;
@@ -121,15 +121,15 @@ import{J as Tt,aw as Ct,y as u,f6 as Dt,f7 as It,f8 as Pt,V as t,f9 as kt,fa as
121
121
  `,Mn=i.div`
122
122
  display: flex;
123
123
  padding-top: ${n.sp3};
124
- `,qe=i(Xt)`
124
+ `,He=i(Jt)`
125
125
  display: flex;
126
126
  color: ${e=>e.theme.colors.hero};
127
127
  margin-right: ${n.sp1};
128
- `,He=i(Jt)`
128
+ `,Ue=i(Xt)`
129
129
  display: flex;
130
130
  color: ${e=>e.theme.colors.primary};
131
131
  margin-right: ${n.sp1};
132
- `,Ke=i(Vt)`
132
+ `,Ge=i(Wt)`
133
133
  cursor: pointer;
134
134
  color: ${e=>e.theme.colors.hero};
135
135
  width: 20px;
@@ -152,7 +152,7 @@ import{J as Tt,aw as Ct,y as u,f6 as Dt,f7 as It,f8 as Pt,V as t,f9 as kt,fa as
152
152
  padding-left: ${n.sp0};
153
153
  z-index: 2;
154
154
  background-color: ${e=>e.theme.colors.grey4};
155
- `,Rn=i(_t)`
155
+ `,Rn=i(Zt)`
156
156
  height: ${n.sp3};
157
157
  width: ${n.sp3};
158
158
  color: ${e=>e.theme.colors.hero};
@@ -162,13 +162,13 @@ import{J as Tt,aw as Ct,y as u,f6 as Dt,f7 as It,f8 as Pt,V as t,f9 as kt,fa as
162
162
  margin-left: ${n.sp2};
163
163
  margin-top: ${e=>m.iconContainerMarginTop.valuePx(e.size)};
164
164
  align-self: ${e=>e.size==="small"?"baseline":"center"};
165
- `,zn=i(ce)`
165
+ `,Nn=i(ce)`
166
166
  color: ${e=>e.theme.colors.grey1};
167
167
  display: flex;
168
168
  flex-wrap: wrap;
169
169
  justify-content: center;
170
170
  align-items: center;
171
- `,Nn=i.a`
171
+ `,zn=i.a`
172
172
  color: ${e=>e.theme.colors.grey1};
173
173
  text-decoration: underline;
174
174
  margin-right: ${n.sp1};
@@ -193,30 +193,30 @@ import{J as Tt,aw as Ct,y as u,f6 as Dt,f7 as It,f8 as Pt,V as t,f9 as kt,fa as
193
193
  width: ${n.sp4};
194
194
  height: ${n.sp4};
195
195
  display: flex;
196
- `,Ue=i.div`
196
+ `,Ke=i.div`
197
197
  cursor: default;
198
198
  display: flex;
199
199
  align-items: center;
200
200
  margin-right: ${n.sp1};
201
- `,Xe=i(Ut)`
201
+ `,Je=i(Kt)`
202
202
  cursor: pointer;
203
203
  width: ${n.sp4};
204
204
  height: ${n.sp4};
205
205
  color: ${e=>e.theme.colors.hero};
206
- `,U=i(se)`
206
+ `,K=i(de)`
207
207
  display: flex;
208
208
  color: ${e=>e.theme.colors.hero};
209
209
  align-items: center;
210
210
  min-width: 142px;
211
211
  flex-grow: 1;
212
- `,Je=i(se)`
212
+ `,Xe=i(de)`
213
213
  display: flex;
214
214
  color: ${e=>e.theme.colors.primary};
215
215
  align-items: center;
216
216
  margin-right: ${e=>m.infoMarginRight.valuePx(e.windowSize)};
217
217
  min-width: ${e=>m.infoMinWidth.valuePx(e.windowSize)};
218
218
  justify-content: flex-end;
219
- `,Wn=i.div`
219
+ `,_n=i.div`
220
220
  display: flex;
221
221
  cursor: pointer;
222
222
  column-gap: ${n.sp1};
@@ -226,12 +226,12 @@ import{J as Tt,aw as Ct,y as u,f6 as Dt,f7 as It,f8 as Pt,V as t,f9 as kt,fa as
226
226
  display: flex;
227
227
  justify-content: flex-end;
228
228
  align-items: center;
229
- `,_n=i.div`
229
+ `,Zn=i.div`
230
230
  display: flex;
231
231
  flex-grow: 1;
232
232
  cursor: pointer;
233
233
  width: 100%;
234
- `,X=i(ce)`
234
+ `,J=i(ce)`
235
235
  display: flex;
236
236
  color: ${e=>e.borderColor};
237
237
  height: 20px;
@@ -247,10 +247,10 @@ import{J as Tt,aw as Ct,y as u,f6 as Dt,f7 as It,f8 as Pt,V as t,f9 as kt,fa as
247
247
  padding: 1px 6px;
248
248
  border: ${e=>`1px solid ${e.borderColor}`};
249
249
  border-radius: ${n.sp1};
250
- `,Vn=i.div`
250
+ `,Wn=i.div`
251
251
  display: flex;
252
252
  flex-direction: column;
253
- `,Zn=i.div`
253
+ `,Vn=i.div`
254
254
  display: flex;
255
255
  width: 100%;
256
256
  flex-flow: column;
@@ -260,18 +260,18 @@ import{J as Tt,aw as Ct,y as u,f6 as Dt,f7 as It,f8 as Pt,V as t,f9 as kt,fa as
260
260
  `,Yn=i(ce)`
261
261
  margin-top: ${n.sp3};
262
262
  color: ${S.alert};
263
- `,Gn=i(Gt)`
263
+ `,qn=i(qt)`
264
264
  min-width: ${n.sp4};
265
265
  height: ${n.sp4};
266
266
  width: ${n.sp4};
267
267
  margin-top: ${n.sp3};
268
268
  margin-left: ${n.sp4};
269
269
  color: ${S.brandColorGoldDark};
270
- `,qn=i.div`
270
+ `,Hn=i.div`
271
271
  display: flex;
272
272
  justify-content: flex-end;
273
273
  margin-right: ${e=>m.footerRightIconMarginRight.valuePx(e.windowSize)};
274
- `,Hn=i(tn)`
274
+ `,Un=i(tn)`
275
275
  cursor: pointer;
276
276
  color: ${e=>e.theme.colors.hero};
277
277
  width: ${n.sp4};
@@ -279,7 +279,7 @@ import{J as Tt,aw as Ct,y as u,f6 as Dt,f7 as It,f8 as Pt,V as t,f9 as kt,fa as
279
279
  &:hover {
280
280
  color: ${e=>e.theme.colors.primary};
281
281
  }
282
- `,Kn=i.div`
282
+ `,Gn=i.div`
283
283
  display: flex;
284
284
  cursor: pointer;
285
285
  color: ${e=>e.theme.colors.grey1};
@@ -287,4 +287,4 @@ import{J as Tt,aw as Ct,y as u,f6 as Dt,f7 as It,f8 as Pt,V as t,f9 as kt,fa as
287
287
  &:hover {
288
288
  color: ${e=>e.theme.colors.primary};
289
289
  }
290
- `;export{si as default};
290
+ `;export{di as default};