@zeniai/web-cockpit-ui 1.14.89-prod → 1.14.90-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 (292) hide show
  1. package/dist/assets/{ACHDetailsPage-BBq7KpbY-CpL5U89v.js → ACHDetailsPage-BUP-_2-W-BxsdzxJg.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-Djq6mgKa-BXUkte6G.js → AIPerformancePage-DHF_70JI-BB0m0Wmb.js} +22 -22
  3. package/dist/assets/AccountInfoPage-pmUIckJ9-ClFTcWKH.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-DO6aVqBW-CcG81fXf.js → AccountInfoPageContent-DLSL1NNm-ysW8pq2z.js} +9 -9
  5. package/dist/assets/AccountLockedInfoModal-Bq3y0K0F-DT_bUQ3U.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DEKzSPCP-s5lyisHF.js → AccountReconDetailsDrawerPage-CGcZO_qz-Cy1Ijv5f.js} +16 -16
  7. package/dist/assets/{AccountRow-Ck53DDbT-DgVym5NM.js → AccountRow-D2Ypckgj-DU9kFXuE.js} +26 -26
  8. package/dist/assets/{AccountsPromoCardStack-BYjuB-4I-DdN6kRaj.js → AccountsPromoCardStack-BVVDCW1H-DJjdfLGW.js} +23 -23
  9. package/dist/assets/AddAddressForCardDrawer-C8aENofu-DA1NQK9C.js +6 -0
  10. package/dist/assets/{AddToWalletPage-DA6AmuaY-BQi9MsaD.js → AddToWalletPage-CmT5jSb5-D2YVbVt5.js} +11 -11
  11. package/dist/assets/{AgingReportsPage-B_Hhl_Is-DGuqbTZb.js → AgingReportsPage-BeUGvj3b-CHP-b-K4.js} +6 -6
  12. package/dist/assets/{AllUserItems-BV22Ibpn-D4sEkFpc.js → AllUserItems-CmlMyz-f-C0puagwR.js} +11 -11
  13. package/dist/assets/{ApAgingDetailPage-DqV1vOVH-C05RVobp.js → ApAgingDetailPage-Dz1_N0Yw-iyEKxxlG.js} +3 -3
  14. package/dist/assets/{AppBasePage-LrgCcvIv-Ch9LW15t.js → AppBasePage-DX4EGGcT-DxyBlsaI.js} +11 -11
  15. package/dist/assets/{AppDrawerContent-aZG5Qc_X-DEDViUw7.js → AppDrawerContent-Brg3Rw4K-DWiehP3E.js} +5 -5
  16. package/dist/assets/ApprovalRulesSettingsPage-Bn7KrUl2-CvKRvgo_.js +47 -0
  17. package/dist/assets/{ArAgingChart-Am7LTkqG-B6qiKVZ7.js → ArAgingChart-DQZtCsHS-CSTDLkfC.js} +4 -4
  18. package/dist/assets/ArAgingDetailPage-BtF6K5dA-VZeY_ZUJ.js +46 -0
  19. package/dist/assets/{AttachmentView-Bujbmx1d-DqiQcBPx.js → AttachmentView-DgPySmB8-B0CUUwUu.js} +8 -8
  20. package/dist/assets/{BankAccountSection-C5rYUW3V-Bq5OdcQr.js → BankAccountSection-BVZK5jmO-oboSifeA.js} +7 -7
  21. package/dist/assets/{BankAccountWarningSection-DakysSbk-DtGHGGlf.js → BankAccountWarningSection-DHdeDi15-DsdgRhNS.js} +8 -8
  22. package/dist/assets/{BankConnectionsSettingsPage-BjZDNgZG-CzKGiQZr.js → BankConnectionsSettingsPage-BN3lAARB-UlnRR8CQ.js} +31 -31
  23. package/dist/assets/{BillDetailPage-DYc_nZRU-Bfft4Wvj.js → BillDetailPage-BuUm6vdf-DEUKUhee.js} +13 -13
  24. package/dist/assets/BillPayApprovalRuleDetailPage-BXSdsF2E-CYUFVErE.js +27 -0
  25. package/dist/assets/BillPayApprovalRulesPage-B8HbVvc9-DpzHPmZp.js +241 -0
  26. package/dist/assets/{BillPayPromoPage-BK2J56U5-Dr_7W8ch.js → BillPayPromoPage-DkoqXDNt-FNHctwfQ.js} +7 -7
  27. package/dist/assets/{BillPaySetUpPage-Jic5E25q-ByxpO-dO.js → BillPaySetUpPage-BommXkLS-DOKgmPVm.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-CKZVChEm-DCpRgyWO.js → BillingSettingsPage-gHbc5Kq3-CFDIJf8G.js} +10 -10
  29. package/dist/assets/{BillsBulkReviewDrawerPage-C4Ra5e82-pr6_FYet.js → BillsBulkReviewDrawerPage-C541rBnx-DPMvwxh2.js} +1 -1
  30. package/dist/assets/{BoxItem-8PfNfaHq-B3NqjMnf.js → BoxItem-usHxaONy-BSYmkNdH.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-JGge-Iiw-CDuaPB9j.js → BusinessVerificationPage-CLsxXy9d-ClcyVS-f.js} +10 -10
  32. package/dist/assets/{CardNumberSubText-W81SQ4GF-D9TP2ZHa.js → CardNumberSubText-D_fWhc_K-BxJ3GoBc.js} +2 -2
  33. package/dist/assets/{CashbackDetailPage-DnOcmx2i-BC6CYrJs.js → CashbackDetailPage-D3WylWVP-CydwwFdH.js} +19 -19
  34. package/dist/assets/{ChargeCardDetailPage-DNVMsxzE-BSQk_5-_.js → ChargeCardDetailPage-BUsGBwBf-DhD5ouX9.js} +27 -27
  35. package/dist/assets/{ChargeCardListPage-Dgj-WWWI-w23hoUyI.js → ChargeCardListPage-Jhx05dVV-DjDdThgH.js} +24 -24
  36. package/dist/assets/{ChargeCardListTable-uJZKWoh7-C3O6hd1k.js → ChargeCardListTable-D-eYWaxh-CZeSVtIX.js} +26 -26
  37. package/dist/assets/ChargeCardPromoPage-CzR82VtA-DoVVgv51.js +222 -0
  38. package/dist/assets/{ChargeCardSetupPage-BDbJU-vm-lGDN0gVp.js → ChargeCardSetupPage-Ctz8PCuu-Dmh0C1fi.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-DImRqpH1-BOXYEkI8.js → ChargeCardStatementsPage-EUtRTAX2-CIQRTxBN.js} +6 -6
  40. package/dist/assets/{CheckDepositDrawerPage-BVtOOPoa-BIViF4jr.js → CheckDepositDrawerPage-B7DC0HAi-DPwOJJS7.js} +17 -17
  41. package/dist/assets/{CollapsableReportTable-Crihcv_z-1kvNpwNO.js → CollapsableReportTable-I40BZv7o-RBVPkQ58.js} +233 -233
  42. package/dist/assets/{CompanyOfficerDetailsSection-CNxtAkKM-85Q00Xll.js → CompanyOfficerDetailsSection-ChsNKXbx-Dk7vpi01.js} +24 -24
  43. package/dist/assets/{CompanyPassportCard-DMRQkRPb-Da9mkNtI.js → CompanyPassportCard-82bbFwk--C3mnYk4t.js} +1 -1
  44. package/dist/assets/{CompanyPassportPage-D3XvbSF_-CYpevto3.js → CompanyPassportPage-DG1Fa_Uw-B4wsnqA2.js} +18 -18
  45. package/dist/assets/{CompleteProfile-BqjXO5ze-Ctdetiwt.js → CompleteProfile-B7bQqLQH-DwtJrHr4.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-DtwLo4WZ-C2L-ZVQE.js → ConfettiBurst-DUyIBnw4-BZY51mbD.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-FrGRJxMy-CD1A265s.js → CreateOrEditVendorPage-DVzMO96w-CjeOn0Zu.js} +6 -6
  48. package/dist/assets/CreditCardPaymentDrawerPage-C03hfKGc-BI7dTqV7.js +224 -0
  49. package/dist/assets/{CurrencySelectField-ClOg6nnS-kGQo9dVf.js → CurrencySelectField-2hU3oIp_-CnccIVlk.js} +3 -3
  50. package/dist/assets/{CustomerOnboardingActivationPage-Du-zzeL2-DcQOmDTQ.js → CustomerOnboardingActivationPage-Dt-Nml2t-CQyv3wO4.js} +8 -8
  51. package/dist/assets/CustomerOnboardingContainerPage-Dt-_tVOQ-B7ffmmrc.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BgY95XeU-CxxSHxC_.js → CustomerOnboardingDetailPageSkeleton-C4Z1pDVe-CS261SSd.js} +11 -11
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-BsKoqUta-Dc6IfrxS.js → CustomerOnboardingNoStepsPage-CwI8nL61-Xg6qQ6Ku.js} +4 -4
  54. package/dist/assets/CustomerOnboardingPage-C3FgZjAN-C75cnlLW.js +107 -0
  55. package/dist/assets/{CustomerOnboardingProductSuitePage-DGVV8Tkk-CYHRi8SS.js → CustomerOnboardingProductSuitePage-BOYu-82S-uR17VQjV.js} +4 -4
  56. package/dist/assets/{Dashboard-CdYlvep--BGWE43Rb.js → Dashboard-D_oTtu1--CP9XS1zf.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-c6q027Qp-DuE_OhrG.js → DashboardReportPage-Dprj3eUQ-BK5e1r9g.js} +20 -20
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-BdDVYK19-CxxrP75O.js → DashboardSidebarBackgroundAnimation-C6SQaB7q-C2qHBViE.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-D8kL8enp-Dq5wJete.js → DepositAccTransactionItem-C2oP415b-B5ygx6vl.js} +6 -6
  60. package/dist/assets/DepositAccTransactionListPage-DCvdqAz1-Df_FOAOf.js +66 -0
  61. package/dist/assets/{DomesticWireDetailsPage-CjM1DXnn-f9WMmV-Y.js → DomesticWireDetailsPage-Da_3EveP-Bjb9K-P-.js} +2 -2
  62. package/dist/assets/{DownloadOverlay-Dr4uLNpZ-DONqYIqe.js → DownloadOverlay-BwddFmV2-BqOR54wm.js} +26 -26
  63. package/dist/assets/{DrawerPage-CbKBsc7w-SC5EmQrv.js → DrawerPage-CGrnrvf2-BvrxfWnf.js} +12 -12
  64. package/dist/assets/EditPeoplePage-DMgxG2Gd-C3BsPnxU.js +55 -0
  65. package/dist/assets/{EditReimbursementDetailPage-BTrwOX_s-CLWs3phi.js → EditReimbursementDetailPage-DwCiVkeu-B4w5FVLx.js} +25 -25
  66. package/dist/assets/EntityDetailPage-BcRVEfi5-Cnj_gM9q.js +18 -0
  67. package/dist/assets/{EntitySummarySection-BIV9aAq2-gyi2P83i.js → EntitySummarySection-BaHHLLkE-D3Ip19-Y.js} +28 -28
  68. package/dist/assets/{ExpenseAutomationOverviewPage-B5MtjO2p-CJFA1E0S.js → ExpenseAutomationOverviewPage-hl_3Pc0g-gY12ACUr.js} +27 -27
  69. package/dist/assets/ExpenseAutomationPage-D70ghitX-EafeQT3m.js +1650 -0
  70. package/dist/assets/{ExpressPayPage-DnpQuDmt-B1wqsfAL.js → ExpressPayPage-BpfkmJ_I-B4izq8YR.js} +13 -13
  71. package/dist/assets/{FeaturePreviewPage-BmwBZ7ZP-B0W4Ko3A.js → FeaturePreviewPage-Bzi8Bpk3-DtSpKYbK.js} +3 -3
  72. package/dist/assets/{FollowStepsSection-B2I9SddL-0icECvY3.js → FollowStepsSection-Bu3RG_GH-DmaIgxgE.js} +10 -10
  73. package/dist/assets/{GlobalReviewListPage-D3GCP5Xd-DDpKubDJ.js → GlobalReviewListPage-D4BD7q-I-BHZQG-gN.js} +11 -11
  74. package/dist/assets/{InformationCardStack-mEhasBqu-Cby7NjOe.js → InformationCardStack-B9wnkR3p-CjpaX6cg.js} +3 -3
  75. package/dist/assets/{InsightsCardStack-Mj7QcQnH-9E267zSA.js → InsightsCardStack-C1_rd2Sb-uYkz47Dy.js} +11 -11
  76. package/dist/assets/InsightsSection-7-T67WeF-BlMRO9Ba.js +27 -0
  77. package/dist/assets/{IntegrationsSettingsPage-CsI_agJB-BC2VX2XQ.js → IntegrationsSettingsPage-C9YpvDgg-DjW-A2Ra.js} +11 -11
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-Dszmi69h-kUzCnm4M.js → InternationalWireSwiftDetailsPage-C5mI8dEh-MFTemI3R.js} +12 -12
  79. package/dist/assets/{InternationalWireVerificationPage-DG9Enrpo-B4oK9pjT.js → InternationalWireVerificationPage-B8AOwcSX-HJr1qwVZ.js} +23 -23
  80. package/dist/assets/{InviteFormPage-DK6X9Zwi-B6zDF_N3.js → InviteFormPage-DuBhhnre-DKK8UkI0.js} +22 -22
  81. package/dist/assets/{InvitePageListView-CwKbcKlM-BpKjoalu.js → InvitePageListView-Dw8kwEFd-zXFzVUiq.js} +41 -41
  82. package/dist/assets/InvitePeoplePage-BI_vd7xw-BSlMVd1C.js +12 -0
  83. package/dist/assets/{InvoiceUploadSection-CokNNkKu-LMnKce0C.js → InvoiceUploadSection-9DaovMq8-DOf6F-xG.js} +3 -3
  84. package/dist/assets/IssueChargeCardPage-fumweN4Y-Ie_niRER.js +532 -0
  85. package/dist/assets/{LabeledAddressValue-BhwrrtZX-Dtm3Vn-k.js → LabeledAddressValue-cNf6hI1l-C1IgZGiS.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-DzmwP7hP-DTG2n0wD.js → LabeledAddressValueField-CoTtV0RQ-CTJHm8Dm.js} +8 -8
  87. package/dist/assets/{LabeledControlledCheckBoxField-B6ndrF2e-DY1ubvCV.js → LabeledControlledCheckBoxField-DQwUvKR2-BFeYWYOG.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-CfzLlkho-BHPGlraH.js → LabeledCreatableSingleSelectField-CnQsTYWe-BxSldgLD.js} +7 -7
  89. package/dist/assets/LabeledDocumentField-MkryOLQ8-ZmKcbrkd.js +41 -0
  90. package/dist/assets/{LabeledDropDownFormattedTextField-oQX33Fim-BfNjnfMR.js → LabeledDropDownFormattedTextField-B-yUtgxR-CkZPhULB.js} +7 -7
  91. package/dist/assets/{LabeledText-Db46hFZY-BVLwPpan.js → LabeledText-BJ3Zvb5p-yc50ilCa.js} +2 -2
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B9Xx3bxn-BVcg7w-8.js → LabeledUserSingleSelectWithSubtitlesField-CSEiKb8M-B7kyEAM_.js} +17 -17
  93. package/dist/assets/{LabeledZeniRolesDropDownField-Docjgj8Y-C1lu43_h.js → LabeledZeniRolesDropDownField-CS_oKjBG-CatyVbOL.js} +11 -11
  94. package/dist/assets/{LinkJETransactionPage-BZSRaZqY-CJzDRMx9.js → LinkJETransactionPage-BsszwFNq-BtKpHm2U.js} +10 -10
  95. package/dist/assets/{LockCardPage-KTyESoXL-BEIak2Ih.js → LockCardPage-DqQGGac2-Bntrtxvn.js} +42 -42
  96. package/dist/assets/{LowBalancePopup-B0BDCEui-imBShbhH.js → LowBalancePopup-BFo5zRk3-BLFy36gu.js} +6 -6
  97. package/dist/assets/MagicLinkACHDetailsPage-wYa3cyyZ-Cn9Ml7SS.js +1 -0
  98. package/dist/assets/MagicLinkDomesticWireDetailsPage-CW4RNKOV-Bj3CP8hj.js +1 -0
  99. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C2kxncrD-Ce8g6h3x.js → MagicLinkInternationalWireDetailsPage-CX9SeCLl-Bato55Wl.js} +1 -1
  100. package/dist/assets/{MagicLinkSuccessPage-DNVe2qMu-CdrXg-uF.js → MagicLinkSuccessPage-Dipq1-St-C4ZMZxw5.js} +2 -2
  101. package/dist/assets/{MagicLinkTitleSection-CWw516D8-pIsP-hCT.js → MagicLinkTitleSection-DnN52Uwb-aNaCMrDN.js} +7 -7
  102. package/dist/assets/{MailingDetailsSection-CugAM90r-1QhNZBqO.js → MailingDetailsSection-DwNF-L2Y-DJJZ9RqI.js} +1 -1
  103. package/dist/assets/{Menu-CGN2qO6T-C4Fa3L7f.js → Menu-D0jF6uaE-AMW53cTN.js} +1 -1
  104. package/dist/assets/{MyBankConnectionsSettingsPage-CQUfVa0r-qcVSSqGc.js → MyBankConnectionsSettingsPage-DpM6MKBq-CmnrHUZV.js} +7 -7
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-TOQWRGjp-C-dJs3xW.js → MyPendingActivationChargeCardListPage-BaT55Pwg-BdKjhqSf.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-lCG03Uoh-DVrg-p-V.js → MyProfileSettingsPage-kD1dY6P6-BAgE1Tqp.js} +6 -6
  107. package/dist/assets/{NavBarWithPicker-DLLvivn4-BzT_Crvs.js → NavBarWithPicker-D-WQJ-tG-C6mGlKIr.js} +4 -4
  108. package/dist/assets/{NavigationArrow-B4j2t8Qu-hrsh9ohB.js → NavigationArrow-Z9PgxZ-c-DrPA9Vgt.js} +1 -1
  109. package/dist/assets/{NavigationDots-DyMqwpgy-JfxKvmss.js → NavigationDots-BT-m0FmS-CJdtX5bS.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-Bx7iBsCP-BFKhG52x.js → NewGlobalMerchantPage-YsnX4uQU-7PwHdB8y.js} +36 -36
  111. package/dist/assets/{NoDataChart-Ce1_TZ5w-DDbLlhh6.js → NoDataChart-DMivligx-DVgr9SAl.js} +1 -1
  112. package/dist/assets/{NoDataTable-l2T5Hw3t-BXRvsSzg.js → NoDataTable-DwOJY23X-BMIpXvJR.js} +1 -1
  113. package/dist/assets/{NotFoundPage-msdN-Eu6-C6ZelS6k.js → NotFoundPage-DuKXpHos-BIXgl60z.js} +1 -1
  114. package/dist/assets/{NotificationSettingsPage-_ovcjr8E-CGt9EpNU.js → NotificationSettingsPage-DlU2NxiC-DDx7Rraa.js} +22 -22
  115. package/dist/assets/NotificationsListConfig-BQCb9x9X-C3jJIn48.js +1 -0
  116. package/dist/assets/{NotificationsPage-Ddxb5kE0-D6sdzZ5M.js → NotificationsPage-q0bK_5gs-C_zZBYkJ.js} +37 -37
  117. package/dist/assets/{OpExByVendorPage-BLAHey0l-BlNwZbg2.js → OpExByVendorPage-Boc7U8eu-BxBRsCtx.js} +24 -24
  118. package/dist/assets/OverlayContainerPage-CrZuT2Jj-DDO8EgYZ.js +11 -0
  119. package/dist/assets/{PandLWithForecastPage-B7Z73Sq--CNDc-1lT.js → PandLWithForecastPage-B2eGvFPp-CEl0eyCC.js} +10 -10
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-pL7omrJk-2WYjNORF.js → PaymentAccountSetupBillingAddressSection-BP-_59EO-KoltH9y1.js} +9 -9
  121. package/dist/assets/{PeoplePage-BHRFiM0D-DRMll50T.js → PeoplePage-YMfZIga6-BPMCy-eb.js} +23 -23
  122. package/dist/assets/{Preview-Bnbo8Nq1.js → Preview-BszQHI_F.js} +1 -1
  123. package/dist/assets/{ProductsCarousel-D2bf_6Gb-TEfA4CrL.js → ProductsCarousel-CUaU5-V7-CFq7I05R.js} +6 -6
  124. package/dist/assets/{PromoBaseCards-CI7UOpeY-B1evZov_.js → PromoBaseCards-CmOYEhSO-D3yPErwW.js} +2 -2
  125. package/dist/assets/{QBOConnectionDialog-D7MeKn1t-B2w1QKzx.js → QBOConnectionDialog-BNiXUEAk-B55AIWRo.js} +3 -3
  126. package/dist/assets/{QBOSetupSection-DWhfA4Xv-qK0GI5W7.js → QBOSetupSection-CjjNFfgF-CIhiV9Dd.js} +9 -9
  127. package/dist/assets/ReimbursementApprovalRuleDetailPage-tP7WcKvd-CCMfftol.js +26 -0
  128. package/dist/assets/ReimbursementApprovalRulesPage-BkuYJ6qb-BIx385RC.js +243 -0
  129. package/dist/assets/{ReimbursementDetailPage-COIRwy7i-CGhFzpju.js → ReimbursementDetailPage-D5IzqJS5-BklJr7jT.js} +13 -13
  130. package/dist/assets/ReimbursementPromoPage-D7n6lZNo-BpT8Ss67.js +84 -0
  131. package/dist/assets/{ReimbursementSetUpPage-CMYR8CcH-dSx9uq0k.js → ReimbursementSetUpPage-E1elWU5Z-VC2DwUtC.js} +15 -15
  132. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BDdhVfaz-CHho_I4c.js → ReimbursementsBulkReviewDrawerPage-HzYNji-G-DGG79plx.js} +1 -1
  133. package/dist/assets/{ReloadCard-B2sJR97f-BCtofZlK.js → ReloadCard-DMWwNZ1z-CIbg2f6Q.js} +3 -3
  134. package/dist/assets/{ReportTableViewSelector-_IO343vS-Czn5ein5.js → ReportTableViewSelector-EU36E1lv-XPDH-qLc.js} +11 -11
  135. package/dist/assets/{ReportsPage-C-aQ1bdd-CGJdsE_g.js → ReportsPage-iJDifG6q-BnnQKn2l.js} +4 -4
  136. package/dist/assets/{RevenueChart-Bgq6My4J-CVvgi3IE.js → RevenueChart-BbOK-HCB-UtcLA02J.js} +22 -22
  137. package/dist/assets/ReviewDetailsPage-Bk2vvBn3-C2KvPaPZ.js +290 -0
  138. package/dist/assets/{ReviewOverlay-CPU7RPiJ-Boo32wAd.js → ReviewOverlay-CJlk2MNH-s-FncxF6.js} +14 -14
  139. package/dist/assets/{RoleWithToolTip-DSSGBzvw-LpQZuizj.js → RoleWithToolTip-B7woUKhj-CCCbdbHN.js} +1 -1
  140. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DKGBfhAM-_HxIg-El.js → ScheduleDetailsFixedAssetsPage-B-WjqQN_-BZxRVl4y.js} +3 -3
  141. package/dist/assets/{ScheduleDetailsPage-B-fKJ7Ct-D7Ghhz-Q.js → ScheduleDetailsPage-ocFBINM3-BwGXsqpK.js} +4 -4
  142. package/dist/assets/{ScheduleSequenceTable-Dh_aT47H-CH4pWS8t.js → ScheduleSequenceTable-Bb7MJ-zJ-GmSlZz8a.js} +24 -24
  143. package/dist/assets/{ScreenRoutes-CAl3Z8kZ.js → ScreenRoutes-Bs2X1R3V.js} +42 -42
  144. package/dist/assets/{SetUpAccountSection-DrMCC1IY-DKdlON5F.js → SetUpAccountSection-9zELif-q-xWCkQEz2.js} +4 -4
  145. package/dist/assets/{SignIn-Ij6tlYI5-W_hhag2x.js → SignIn-BHHUcLal-BDutKsDY.js} +17 -17
  146. package/dist/assets/{SignInScreen-C1qvvdaH.js → SignInScreen-DqJeiieA.js} +1 -1
  147. package/dist/assets/SpendManagementListViewPage-BAdSW-49-C0b0e4ib.js +123 -0
  148. package/dist/assets/SpendManagementPerTabPage-HzCmGr0--BrKmnwTS.js +785 -0
  149. package/dist/assets/{SpendManagementSection-BqWbsmBW-DdAcoAqN.js → SpendManagementSection-LzT-Bnhy-DcyEJGSm.js} +15 -15
  150. package/dist/assets/StatementItem-BnxTFgdM-ncI51LoG.js +31 -0
  151. package/dist/assets/{StatementsPage-BG_pNQzc-C5W9jefo.js → StatementsPage-B8X2un5p-CiIvEzAF.js} +4 -4
  152. package/dist/assets/{StatusSwitcher-DYRXaLvx-C8j2Xkv0.js → StatusSwitcher-BPKr5BUW-lb0m6Cbr.js} +1 -1
  153. package/dist/assets/{SubTabSwitcher-C75XU1EG-Bq01jAuq.js → SubTabSwitcher-4dvyyQSv-BdqA6ZlC.js} +1 -1
  154. package/dist/assets/{SummaryCard-DEnzgi31-uIlH28-c.js → SummaryCard-CiNkV7uy-BHimAYKo.js} +1 -1
  155. package/dist/assets/{TaskManagementPage-BacWm0wS-3n2EdCaU.js → TaskManagementPage-BiyyDIWi-DCcTniX2.js} +15 -15
  156. package/dist/assets/{TimeRangeSwitcher-BOzR-0O6-xiPqTTPj.js → TimeRangeSwitcher-DEEhq2Us-D64DWBCZ.js} +1 -1
  157. package/dist/assets/{TimeframeSwitcher-BVgI_VZw-Dr2i-g4z.js → TimeframeSwitcher-u606tI8Z-DKc_Ov1z.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcherWithToggle-CPVSAvFa-CkdcdrPb.js → TimeframeSwitcherWithToggle-D2sBGHXQ-Dp4KGiW_.js} +1 -1
  159. package/dist/assets/{TopExCard-ImUx-vXr-RGtoQGSt.js → TopExCard-DbPlohSJ-YKd6FEuQ.js} +4 -4
  160. package/dist/assets/{TopExDetailPage-Dg_8DQk8-C4FAKt7P.js → TopExDetailPage-Cla8Hd-1-1fpYe-lT.js} +9 -9
  161. package/dist/assets/{TransactionDetailPage-BzaDB50S-5UQplDsu.js → TransactionDetailPage-BbjtQvBr-DNyUqobk.js} +45 -45
  162. package/dist/assets/{TransactionList-DMd3dgoK-GAchYYqt.js → TransactionList-BRiHadkm-BVpjF8up.js} +14 -14
  163. package/dist/assets/{TransactionListBig-BxHqh8u6-x9Ey0UsD.js → TransactionListBig-BOeu4-R4-Cua70V6_.js} +20 -20
  164. package/dist/assets/TransactionListPage-ByVvx6ON-C32shKZQ.js +35 -0
  165. package/dist/assets/TransactionVendorDetailPage-DMweGn3b-CelejD-M.js +80 -0
  166. package/dist/assets/{TransferDrawerPage-oV7ickRP-D-sipkzC.js → TransferDrawerPage-BTqCR3Hb-CYdeK3jF.js} +12 -12
  167. package/dist/assets/{TreasuryOverviewPage-CECDKjNn-DafLwMhl.js → TreasuryOverviewPage-CDJtsQsC-ns0b2xlD.js} +42 -42
  168. package/dist/assets/{TreasuryPromoPage-Bgt7uGAE-Iq5Spa9l.js → TreasuryPromoPage-Bqt6DcqL-DbWZMgaj.js} +131 -131
  169. package/dist/assets/TreasuryStatementsPage-2PsC-PWa-MMDwIX2Z.js +58 -0
  170. package/dist/assets/TreasuryTaxLetterPage-D6MoHMAo-MFFnXqVo.js +58 -0
  171. package/dist/assets/{TrendChart-C_6ob-SX-UqLmUzGG.js → TrendChart-DiutckSt-CgHLzJj6.js} +4 -4
  172. package/dist/assets/{TrendWithTransactions-lMD2sZ-C-CwJLlCAn.js → TrendWithTransactions-rPwZKHfV-DNKy45Dj.js} +9 -9
  173. package/dist/assets/{UncategorizedAccountsMappingPage-DEgz17_R-BI_hO66l.js → UncategorizedAccountsMappingPage-CFx4P194-CH9WyFGN.js} +11 -11
  174. package/dist/assets/{UnitIntegrationPage-D9Pzxqju-DEb5YSJD.js → UnitIntegrationPage-DO8dMzVg-DvbEuGmN.js} +6 -6
  175. package/dist/assets/UploadAdditionalDocumentOverlay-Ug3kL02_-B3G6i9sn.js +38 -0
  176. package/dist/assets/{Vendor2FAPopup-D-r0NVE--Cj-W5XDH.js → Vendor2FAPopup-BdG-Ywma-QkJvZ609.js} +1 -1
  177. package/dist/assets/{VendorACHDetailsPage-Dv6bTD6Y-Bs2SlaRU.js → VendorACHDetailsPage-BUNmE_s6-5dZ0tO5y.js} +1 -1
  178. package/dist/assets/{VendorDetailPage-BhfawsBd-B6AIf-oM.js → VendorDetailPage-Dy9McuGu-BueeE3oi.js} +19 -19
  179. package/dist/assets/{VendorDomesticWireDetailsPage-BjmlrfTQ-BBrkrthi.js → VendorDomesticWireDetailsPage-DvACrh7C-fv6qIbh-.js} +1 -1
  180. package/dist/assets/{VendorFiling1099EditablePage-glvi0GTU-NorBD_dQ.js → VendorFiling1099EditablePage-Y0hGO4RH-Bkykk5NB.js} +21 -21
  181. package/dist/assets/{VendorFirstReviewPage-DUuUM8ZT-v0NQaBfE.js → VendorFirstReviewPage-C-pT1M36-D21-SWZN.js} +50 -50
  182. package/dist/assets/{VendorInternationalWireDetailsPage--Lb-TviQ-RCdBVGb0.js → VendorInternationalWireDetailsPage-CCMramET-CvrUOrMX.js} +15 -15
  183. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C6KviV2Z-BcKJJc7Z.js → VendorInternationalWireSwiftDetailsPage-lxD_Z5W--BAaZ1iJw.js} +1 -1
  184. package/dist/assets/{VendorsAccountsSection-EmHO3wQ0-CCWdfZ9i.js → VendorsAccountsSection-D-3fhQvy-ODF-nF1J.js} +2 -2
  185. package/dist/assets/{VerifyDevice-DE3UbLEe-xqLTy9aT.js → VerifyDevice-DDZdWfa8-C2_zooti.js} +7 -7
  186. package/dist/assets/{VideoPlayer-Gw_PLr8F-LYtV3YjE.js → VideoPlayer-D0GZ_Yml-CzUqkm8K.js} +2 -2
  187. package/dist/assets/{VideoPopup-DPZYhLgy-BO96yEx0.js → VideoPopup-CEdhfU31-CRc_PqEa.js} +1 -1
  188. package/dist/assets/{WarningsDrawerPage-CZvToguS-ZmIZ7qVV.js → WarningsDrawerPage-CIK9lkT2-4Dbh3gee.js} +7 -7
  189. package/dist/assets/{ZeniAccountDetailPage-CQhqngBz-C7s0f_Qs.js → ZeniAccountDetailPage-BF8cg2oa-D23upslb.js} +36 -36
  190. package/dist/assets/{ZeniAccountListViewPage-CpX8vqYa-D69L6A9u.js → ZeniAccountListViewPage-BkdkYY8j-BsJgCgRQ.js} +9 -9
  191. package/dist/assets/{ZeniAccountNavBarPieces-DsUwG15z-B89t8_rk.js → ZeniAccountNavBarPieces-FAxN1QDY-BljetA4S.js} +3 -3
  192. package/dist/assets/{ZeniAccountPromoPage-DA611IgH-CDNeuQb5.js → ZeniAccountPromoPage-COAOIU03-Bkst1764.js} +31 -31
  193. package/dist/assets/{ZeniAccountSetupPage-CJv2Fk1i-DgoWwbJ9.js → ZeniAccountSetupPage-QMBiVius-DdJzbNoZ.js} +6 -6
  194. package/dist/assets/{ZeniCopyright-FFqiWypL-jhRC6VHA.js → ZeniCopyright-CgfP-kcy-BQ8g3w-z.js} +1 -1
  195. package/dist/assets/{ZeniTransferAmountSlider-DSrBZUbA-B8KinheN.js → ZeniTransferAmountSlider-B1fmc3f9-BXoBksgM.js} +3 -3
  196. package/dist/assets/{add-to-wallet-DgdBD8_G-CmJT13gp.js → add-to-wallet-DgdBD8_G-BctcirlU.js} +1 -1
  197. package/dist/assets/{analytics-XaDXTZcq.js → analytics-DGBWhVbe.js} +1 -1
  198. package/dist/assets/{analyticsHelper-CczQLvkM-CJFzfxe1.js → analyticsHelper-BKtlFOJm-DFeq4K6y.js} +1 -1
  199. package/dist/assets/analyticsHelper-BY515BEN.js +1 -0
  200. package/dist/assets/{arrow-south-east-round-PEovUgvH-7DsZUZDF.js → arrow-south-east-round-PEovUgvH-DFZl4BUT.js} +1 -1
  201. package/dist/assets/{auto-transfer-rule-mbafm5D3-iFkTgScT.js → auto-transfer-rule-mbafm5D3-BCnmjSj0.js} +1 -1
  202. package/dist/assets/{chartTypes-CwQl8aoN-mEF0MFro.js → chartTypes-BZYC5y5J-fsutalT0.js} +1 -1
  203. package/dist/assets/{commonDimensions-B1u_MhON-DBkNP1J8.js → commonDimensions-B-aZt-hB-CyMsSMR_.js} +1 -1
  204. package/dist/assets/{core-3dlyNYRL.js → core-B-FNbYlu.js} +12 -12
  205. package/dist/assets/{dash.all.min-DBAY9LgI.js → dash.all.min-BBsvkPzr.js} +1 -1
  206. package/dist/assets/{detailCommon-nYxvvV_i-Can4Gb-c.js → detailCommon-DCtkwfR8-BBwf5Sk5.js} +2 -2
  207. package/dist/assets/{downloadPdf-yGlKpV2--fFgmg-2D.js → downloadPdf-BhQlJMh0-BaxCiwAc.js} +1 -1
  208. package/dist/assets/{empty-DeBX16Fq.js → empty-TjEo4rDg.js} +1 -1
  209. package/dist/assets/epic-DMZtehrN.js +2 -0
  210. package/dist/assets/{gift-box-Cmt9OgIZ-CvUdutGd.js → gift-box-Cmt9OgIZ-aujv_noX.js} +1 -1
  211. package/dist/assets/{graphic-no-data-l-DU4J8fDt-x_U9o4ZQ.js → graphic-no-data-l-DU4J8fDt-DTSR9TM8.js} +1 -1
  212. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DcAe6xm4.js → graphic-no-data-net-burn-l-CzmycA0m-Bw4ambPw.js} +1 -1
  213. package/dist/assets/{handshake-BPg58FML-D7G7L1P7.js → handshake-BPg58FML-BjSDfVm7.js} +1 -1
  214. package/dist/assets/{index-DcV3YN51.js → index-BhteR_e0.js} +3325 -3235
  215. package/dist/assets/{index-DYDdrdFx.js → index-CFi0iD-l.js} +1 -1
  216. package/dist/assets/{index-CEtuJXY3.js → index-CL_7G35J.js} +1 -1
  217. package/dist/assets/{index-DrmeEdvK.js → index-DdJI4MMd.js} +1 -1
  218. package/dist/assets/{index-CdTBIE6I.js → index-dPPP2cWo.js} +1 -1
  219. package/dist/assets/{index-DQmBF4-D.js → index-piC0sJHK.js} +1 -1
  220. package/dist/assets/{liveblocks-CNYVvsag.js → liveblocks-BBTLClA6.js} +1 -1
  221. package/dist/assets/{lottie-22bRan8M.js → lottie-gmZDfwf4.js} +2 -2
  222. package/dist/assets/{mapLoadingInProgressToTreeNode-DIAuL28N-Bvp61kW7.js → mapLoadingInProgressToTreeNode-B8iO-fIh-RTAx_JGt.js} +1 -1
  223. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DRSmQ56_-CVFismWT.js → mapSectionWithAcOnlyToTreeNode-PLUfKBDd-B2JV3NdC.js} +1 -1
  224. package/dist/assets/{mapSpacerToTreeNode-DOEVwUIo-1MsMz7Z4.js → mapSpacerToTreeNode-BPbkmHFY-Ce33KPvG.js} +1 -1
  225. package/dist/assets/{mapTimeframeBalancesToTreeNode-DbnAvW1M-DsWNrW_e.js → mapTimeframeBalancesToTreeNode-B-kK0AfR-BuUApKLg.js} +1 -1
  226. package/dist/assets/{mapTimeframeBalancesToTreeNode-DkrEWOxt-D-u3haR2.js → mapTimeframeBalancesToTreeNode-BvN4m9TA-kT_avyio.js} +1 -1
  227. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-CQahu__z.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BiRfdc4g-CoGG1EsI.js} +1 -1
  228. package/dist/assets/{mui-bYXq4XMS.js → mui-DLNyBjYF.js} +1 -1
  229. package/dist/assets/{page-detail-CWX5S47F-Bc8Xpsuq.js → page-detail-CWX5S47F-Dn7FEY9U.js} +1 -1
  230. package/dist/assets/{radio-default-CiSgisfh-Clpw2LWj.js → radio-default-CiSgisfh-B6CtarQ8.js} +1 -1
  231. package/dist/assets/{react-BpmEXSTM.js → react-2VG2yH4x.js} +1 -1
  232. package/dist/assets/{react-B84192hO.js → react-BiH01iGK.js} +2 -2
  233. package/dist/assets/{react-BvHTyLQY.js → react-Bqj7JUF5.js} +1 -1
  234. package/dist/assets/{react-Egsc5mMa.js → react-CeCWo9lx.js} +3 -3
  235. package/dist/assets/{react-BUQtf2po.js → react-CwPTei9W.js} +2 -2
  236. package/dist/assets/{react-CA3XI5Yc.js → react-CxPSrq5B.js} +1 -1
  237. package/dist/assets/{react-BuvI16A0.js → react-VfkIuzgx.js} +1 -1
  238. package/dist/assets/{react-Cz0zQhlY.js → react-sPv488Z5.js} +1 -1
  239. package/dist/assets/{recharts-h5iNQbFd.js → recharts-Cnl2EvUV.js} +1 -1
  240. package/dist/assets/{sentry-cYFeB6Pw.js → sentry-EYLV4XmG.js} +1 -1
  241. package/dist/assets/{shield-DOlUxcFf-BXuToJ7O.js → shield-DOlUxcFf-DYYbm8md.js} +1 -1
  242. package/dist/assets/{toCOABalancesWithID-rZFEkHuM-CcmAJqxc.js → toCOABalancesWithID-ChMShONK-DKVddnaL.js} +1 -1
  243. package/dist/assets/{toChartData-C-dHC-Oz-CP4vBFhW.js → toChartData-BUweupH8-9P9fGujj.js} +1 -1
  244. package/dist/assets/{transaction-placeholder-CpOwZAMG-0pwHfQC6.js → transaction-placeholder-CpOwZAMG-R9RAntKW.js} +1 -1
  245. package/dist/assets/{uploadAttachment-D3clfqPu-R41YBfbA.js → uploadAttachment-CeUHLpzO-CvskAe_e.js} +23 -23
  246. package/dist/assets/{uploadReceipts-Bkf_PaOH-BpDx2Xyf.js → uploadReceipts-Bkf_PaOH-B-Qf32vH.js} +1 -1
  247. package/dist/assets/{url-DPKHmOp_.js → url-DzcuVjHh.js} +1 -1
  248. package/dist/assets/{url-B-8T_WZb.js → url-dmxYLsoS.js} +1 -1
  249. package/dist/assets/{useLongPress-GCK2COYQ-8uipnze8.js → useLongPress-GCK2COYQ-BC43nxgO.js} +1 -1
  250. package/dist/assets/{usp-line-BBd1wKwW-ClwDS-nj.js → usp-line-BBd1wKwW-_aHpaGit.js} +1 -1
  251. package/dist/assets/utils-D1zwltK3.js +70 -0
  252. package/dist/assets/{zeni-epic-state-BwKvATgd.js → zeni-epic-state-HWtMOH-U.js} +3 -3
  253. package/dist/index.html +1 -1
  254. package/package.json +4 -4
  255. package/dist/assets/AccountInfoPage-CxWBk_t_-C853qZJF.js +0 -18
  256. package/dist/assets/AccountLockedInfoModal-DVvzKHJQ-BNuMKDDn.js +0 -59
  257. package/dist/assets/AddAddressForCardDrawer-e8qbO2Y5-DvtRki6M.js +0 -6
  258. package/dist/assets/ApprovalRulesSettingsPage-DQQw30S5-Cxbiv_Ie.js +0 -47
  259. package/dist/assets/ArAgingDetailPage-BEKsyA9Q-DYnsL3vQ.js +0 -46
  260. package/dist/assets/BillPayApprovalRuleDetailPage-ppU1Epmy-wt7XFnWO.js +0 -27
  261. package/dist/assets/BillPayApprovalRulesPage-UblNi2mR-Cy8f-c8U.js +0 -235
  262. package/dist/assets/ChargeCardPromoPage-uqT96W3_-BnyG_G4H.js +0 -222
  263. package/dist/assets/CreditCardPaymentDrawerPage-BvifQpD3-CNzp5-gT.js +0 -224
  264. package/dist/assets/CustomerOnboardingContainerPage-DMZOvVMM-Cjd_r5yY.js +0 -1
  265. package/dist/assets/CustomerOnboardingPage-DUMQKVfM-grMFHxOC.js +0 -107
  266. package/dist/assets/DepositAccTransactionListPage-BS-OReem-BilXaW65.js +0 -66
  267. package/dist/assets/EditPeoplePage-BgsR09q8-Clk10Ml0.js +0 -55
  268. package/dist/assets/EntityDetailPage-Cvd4MG0F-BwgJTkQo.js +0 -18
  269. package/dist/assets/ExpenseAutomationPage-DW6Pxoah-DEkIGTkH.js +0 -1650
  270. package/dist/assets/InsightsSection-B3xD0SZ9-D-qnLmvb.js +0 -27
  271. package/dist/assets/InvitePeoplePage-BqzJOjVI-jVQ9WiMY.js +0 -12
  272. package/dist/assets/IssueChargeCardPage-CRtJDmrZ-BSgoE7Zm.js +0 -532
  273. package/dist/assets/LabeledDocumentField-p3pI5qLu-DGU5hH4V.js +0 -41
  274. package/dist/assets/MagicLinkACHDetailsPage-DwFvuGwG-D28XX0Mk.js +0 -1
  275. package/dist/assets/MagicLinkDomesticWireDetailsPage-CDB2igue-93p71ZIQ.js +0 -1
  276. package/dist/assets/NotificationsListConfig-BJm7A9Mz-BFc01g7L.js +0 -1
  277. package/dist/assets/OverlayContainerPage-CrZuT2Jj-Dr75-ri4.js +0 -11
  278. package/dist/assets/ReimbursementApprovalRuleDetailPage-C_dTOk5P-b8CZcjjJ.js +0 -26
  279. package/dist/assets/ReimbursementApprovalRulesPage-B5lca4qx-BsFO_SEH.js +0 -237
  280. package/dist/assets/ReimbursementPromoPage-Bjm0UHcm-OX27QZ1k.js +0 -84
  281. package/dist/assets/ReviewDetailsPage-COx9R71r-88bs-gXn.js +0 -290
  282. package/dist/assets/SpendManagementListViewPage-AI676Urw-BtTyp4PL.js +0 -123
  283. package/dist/assets/SpendManagementPerTabPage-D79c3Xqh-lldxOES4.js +0 -754
  284. package/dist/assets/StatementItem-Aal79YaO-6BMegZOO.js +0 -31
  285. package/dist/assets/TransactionListPage-CN9fZznd-BrDL89Z5.js +0 -35
  286. package/dist/assets/TransactionVendorDetailPage-CykcquSh-B4MWnYyc.js +0 -80
  287. package/dist/assets/TreasuryStatementsPage-QyWxshsI-NmuXI2Gt.js +0 -58
  288. package/dist/assets/TreasuryTaxLetterPage-BLmfU0VD-CtEdSJnO.js +0 -58
  289. package/dist/assets/UploadAdditionalDocumentOverlay-CJYvOjh0-CyuAR94x.js +0 -38
  290. package/dist/assets/analyticsHelper-DP2qtYwK.js +0 -1
  291. package/dist/assets/epic-BLwHhkRJ.js +0 -2
  292. package/dist/assets/utils-fBOyu0sO.js +0 -70
@@ -1,4 +1,4 @@
1
- import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Je,o as d,y as L,aA as J,bB as Ke,bC as et,ag as oe,u as j,b1 as tt,aS as st,bD as ot,_ as Oe,n as Be,p as D,ap as Pe,aR as at,b8 as nt,am as it,bE as rt,at as ct,bF as lt,bG as ne,bH as dt,as as pt,al as ut,bI as gt}from"./index-DcV3YN51.js";import{a as y,w as K}from"./core-3dlyNYRL.js";import{n as u,k as Ne}from"./mui-bYXq4XMS.js";import{bh as mt,Et as ht,DV as ft,Eu as bt,Ev as xt,Ew as _t,Ex as wt,Ey as St,Ez as yt,EA as vt,EB as Ct}from"./zeni-epic-state-BwKvATgd.js";import{m as Y,l as se}from"./analyticsHelper-CczQLvkM-CJFzfxe1.js";import{h as $t,u as jt}from"./ReportTableViewSelector-_IO343vS-Czn5ein5.js";import{q as kt}from"./InsightsSection-B3xD0SZ9-D-qnLmvb.js";import{k as xe,q as Ot,G as Bt,H as ee,N as pe}from"./detailCommon-nYxvvV_i-Can4Gb-c.js";import{P as Pt,G as Nt,Y as _e,X as we,H as Se}from"./RevenueChart-Bgq6My4J-CVvgi3IE.js";import{C as Lt}from"./NoDataChart-Ce1_TZ5w-DDbLlhh6.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as It}from"./TimeRangeSwitcher-BOzR-0O6-xiPqTTPj.js";import{b as Le}from"./TimeframeSwitcher-BVgI_VZw-Dr2i-g4z.js";import{I as Rt,R as F,x as Dt,l as ue,D as zt}from"./CollapsableReportTable-Crihcv_z-1kvNpwNO.js";import{S as Tt,M as At,g as Mt,C as te,L as Ie,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-DRSmQ56_-CVFismWT.js";import{d as Et}from"./NoDataTable-l2T5Hw3t-BXRvsSzg.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-CQahu__z.js";import{d as he}from"./mapLoadingInProgressToTreeNode-DIAuL28N-Bvp61kW7.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./NavigationDots-DyMqwpgy-JfxKvmss.js";import"./chartTypes-CwQl8aoN-mEF0MFro.js";import"./toCOABalancesWithID-rZFEkHuM-CcmAJqxc.js";import"./toChartData-C-dHC-Oz-CP4vBFhW.js";import"./AccountRow-Ck53DDbT-DgVym5NM.js";import"./graphic-no-data-l-DU4J8fDt-x_U9o4ZQ.js";const Ft=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
1
+ import{q as B,e as Z,F as _,av as ke,V as s,bz as qe,m as Xe,E as Qe,bA as Je,o as d,y as N,aA as J,bB as Ke,bC as et,ag as oe,d as $,b1 as tt,aS as st,bD as ot,L as Oe,n as Be,p as D,ap as Pe,aR as at,b8 as nt,am as it,bE as rt,at as ct,bF as lt,bG as ne,bH as dt,as as pt,al as ut,bI as gt}from"./index-BhteR_e0.js";import{a as y,S as K}from"./core-B-FNbYlu.js";import{n as u,k as Le}from"./mui-DLNyBjYF.js";import{bh as mt,Et as ht,DV as ft,Eu as bt,Ev as xt,Ew as _t,Ex as wt,Ey as St,Ez as yt,EA as vt,EB as Ct}from"./zeni-epic-state-HWtMOH-U.js";import{m as G,l as se}from"./analyticsHelper-BKtlFOJm-DFeq4K6y.js";import{h as jt,u as $t}from"./ReportTableViewSelector-EU36E1lv-XPDH-qLc.js";import{q as kt}from"./InsightsSection-7-T67WeF-BlMRO9Ba.js";import{k as xe,q as Ot,G as Bt,H as ee,N as pe}from"./detailCommon-DCtkwfR8-BBwf5Sk5.js";import{P as Pt,G as Lt,Y as _e,X as we,H as Se}from"./RevenueChart-BbOK-HCB-UtcLA02J.js";import{C as Nt}from"./NoDataChart-DMivligx-DVgr9SAl.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as It}from"./TimeRangeSwitcher-DEEhq2Us-D64DWBCZ.js";import{b as Ne}from"./TimeframeSwitcher-u606tI8Z-DKc_Ov1z.js";import{I as Rt,R as F,x as Dt,l as ue,D as zt}from"./CollapsableReportTable-I40BZv7o-RBVPkQ58.js";import{S as Tt,M as At,g as Mt,C as te,L as Ie,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-PLUfKBDd-B2JV3NdC.js";import{d as Et}from"./NoDataTable-DwOJY23X-BMIpXvJR.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-BiRfdc4g-CoGG1EsI.js";import{d as he}from"./mapLoadingInProgressToTreeNode-B8iO-fIh-RTAx_JGt.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./NavigationDots-BT-m0FmS-CJdtX5bS.js";import"./chartTypes-BZYC5y5J-fsutalT0.js";import"./toCOABalancesWithID-ChMShONK-DKVddnaL.js";import"./toChartData-BUweupH8-9P9fGujj.js";import"./AccountRow-D2Ypckgj-DU9kFXuE.js";import"./graphic-no-data-l-DU4J8fDt-DTSR9TM8.js";const Ft=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -17,7 +17,7 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Je,o
17
17
  justify-content: center;
18
18
  flex-direction: column;
19
19
  margin-top: ${d.sp3};
20
- `,Gt=({style:e,emptyContentText:t,EmptyContentImage:a})=>{const n=B();return s.jsxs(Vt,{windowSize:n,style:{...e},children:[s.jsx(Wt,{children:s.jsx(a,{})}),s.jsx(Ht,{children:t})]})};function Yt(e){const{reportId:t}=e.report,a=e.filter.balancesRange.orderBy;let n,i,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:o,cashOut:l}=p,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:o}=p;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:o,income:l}=p.sections,c=o?.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:o,income:l,cogs:c}=p.sections,h=l.balances.length>0?l:c,g=o.balances.length>0?o:h;g.balances.length>0&&(a==="ascending_date"&&(r=g.balances.length-1),n=g.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"revenue":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}}return n!=null&&(i={startDate:n.startDate,endDate:n.endDate}),i}function Ut(e){const{isCompareModeOn:t,filter:a,coaBalancesRange:n,report:i,currentTenantCompanyName:r,reportView:p,classesToFilterOut:o}=e,{reportId:l}=i;let c=a.balancesRange.thisPeriod;c==null&&(c=Yt({report:i,filter:a}));const h=[];if(t?(h.push("this_period_vs_last_period_percent"),h.push("this_period_vs_last_period")):!t&&l!=="cash_position"&&h.push("free_range_total"),i.reportId!=="cash_position"&&h.push("year_to_date_total"),c!=null)return{localeId:_.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[l],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:a.timeframe,additionalBalances:h,format:e.reportType,balancesFilter:{thisPeriod:c,numberOfPeriods:t?a.balancesRange.numberOfPeriods:n.numberOfPeriods,orderBy:n.orderBy},accountViewMode:p,classesToFilterOut:o,isZeniCOAUsed:e.isZeniCOAUsed}}function Zt(e){const t=Ut(e);if(t!=null)return $t(e.statementEndPoint,e.authParams,t)}const qt=u.div`
20
+ `,Yt=({style:e,emptyContentText:t,EmptyContentImage:a})=>{const n=B();return s.jsxs(Vt,{windowSize:n,style:{...e},children:[s.jsx(Wt,{children:s.jsx(a,{})}),s.jsx(Ht,{children:t})]})};function Gt(e){const{reportId:t}=e.report,a=e.filter.balancesRange.orderBy;let n,i,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:o,cashOut:l}=p,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:o}=p;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:o,income:l}=p.sections,c=o?.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:o,income:l,cogs:c}=p.sections,h=l.balances.length>0?l:c,g=o.balances.length>0?o:h;g.balances.length>0&&(a==="ascending_date"&&(r=g.balances.length-1),n=g.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"revenue":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}}return n!=null&&(i={startDate:n.startDate,endDate:n.endDate}),i}function Ut(e){const{isCompareModeOn:t,filter:a,coaBalancesRange:n,report:i,currentTenantCompanyName:r,reportView:p,classesToFilterOut:o}=e,{reportId:l}=i;let c=a.balancesRange.thisPeriod;c==null&&(c=Gt({report:i,filter:a}));const h=[];if(t?(h.push("this_period_vs_last_period_percent"),h.push("this_period_vs_last_period")):!t&&l!=="cash_position"&&h.push("free_range_total"),i.reportId!=="cash_position"&&h.push("year_to_date_total"),c!=null)return{localeId:_.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[l],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:a.timeframe,additionalBalances:h,format:e.reportType,balancesFilter:{thisPeriod:c,numberOfPeriods:t?a.balancesRange.numberOfPeriods:n.numberOfPeriods,orderBy:n.orderBy},accountViewMode:p,classesToFilterOut:o,isZeniCOAUsed:e.isZeniCOAUsed}}function Zt(e){const t=Ut(e);if(t!=null)return jt(e.statementEndPoint,e.authParams,t)}const qt=u.div`
21
21
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
22
22
  `;function Xt({highlightedRangeReport:e}){const{availableNumberOfPeriods:t,netCashFlow:a}=e,n=a.balances;if(t==null||t===0||n.length===0)return null;const i=n.reduce((l,c)=>l+c.balance.amount,0),r=n[n.length-1],p={...r,balance:{...r.balance,amount:i}},o=_.getLocalizedStrings().chartCard.cashInCashOut.net_cash_flow;return s.jsx(qt,{children:s.jsx(ee,{balance:p,dateText:o,showInfotip:!1})})}const Qt=u.div`
23
23
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
@@ -36,21 +36,21 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Je,o
36
36
  `,is=u.div`
37
37
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
38
38
  height: ${d.sp6};
39
- `;function rs({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a,sections:n}=e,{selectedAdditionalBalances:i}=t,r=n.income.balances;if(a==null||a===0||r.length===0)return s.jsx(is,{});const p=i.includes("this_period_vs_last_period")||i.includes("this_period_vs_last_period_percent"),o=r.reduce((m,f)=>m+f.balance.amount,0),l=r[r.length-1],c=r[0],h={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=pe(h,p);return s.jsx(ns,{children:s.jsx(ee,{balance:h,dateText:g,showInfotip:!1})})}const cs=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(ts,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(rs,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(as,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(Jt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(Xt,{highlightedRangeReport:e});default:return null}},Q={wrapperPadding:new L(j[3],j[3],j[8]),chartHeight:new L(288,360)},ls=u.div`
39
+ `;function rs({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a,sections:n}=e,{selectedAdditionalBalances:i}=t,r=n.income.balances;if(a==null||a===0||r.length===0)return s.jsx(is,{});const p=i.includes("this_period_vs_last_period")||i.includes("this_period_vs_last_period_percent"),o=r.reduce((m,f)=>m+f.balance.amount,0),l=r[r.length-1],c=r[0],h={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=pe(h,p);return s.jsx(ns,{children:s.jsx(ee,{balance:h,dateText:g,showInfotip:!1})})}const cs=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(ts,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(rs,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(as,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(Jt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(Xt,{highlightedRangeReport:e});default:return null}},Q={wrapperPadding:new N($[3],$[3],$[8]),chartHeight:new N(288,360)},ls=u.div`
40
40
  display: flex;
41
41
  flex: 1 1 auto;
42
42
  flex-direction: column;
43
43
  height: ${e=>Q.chartHeight.valuePx(e.windowSize)};
44
44
  `,ds=u.div`
45
45
  display: flex;
46
- `,ps=e=>{const t=B(),{selectedRangeReport:a,selectedClassesViewRangeReport:n,uiState:i,onCOABalancesRangeChanged:r}=e,p=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,{selectedCOABalancesRange:o,selectedAdditionalBalances:l,highlightedCOABalancesRange:c,timeframe:h}=i,g=n!==void 0&&n.uiState.accountViewMode==="classes"?n:a;return p?s.jsx(ds,{children:s.jsx(Lt,{title:_.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(ls,{windowSize:t,children:s.jsx(tt,{children:({height:m,width:f})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(w,S,b)=>{us(a.firstMonthOfFY,l,a.reportId,S,w,e.analytics),r(o,b)},highlightedRange:c,isDetailPage:!0,timeframe:h,width:f,height:m};switch(g.reportId){case"net_burn_or_income":return s.jsx(Se,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return s.jsx(Se,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"revenue":return s.jsx(we,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(we,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(_e,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(_e,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(Nt,{selectedRangeReport:a,...x});case"cash_in_cash_out":return s.jsx(Pt,{selectedRangeReport:a,...x});default:return null}}})})},us=(e,t,a,n,i,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(R(a),Y(n),"bar",se(e,n,i)),r?.trackDateRangeFilterChange(R(a),"bar",p,void 0,se(e,n,i))},ze={net_burn_or_income:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast-dark.png"},revenue:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast-dark.png"},operating_expenses:{light:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast.png",dark:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast-dark.png"}},Te=Ne`
46
+ `,ps=e=>{const t=B(),{selectedRangeReport:a,selectedClassesViewRangeReport:n,uiState:i,onCOABalancesRangeChanged:r}=e,p=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,{selectedCOABalancesRange:o,selectedAdditionalBalances:l,highlightedCOABalancesRange:c,timeframe:h}=i,g=n!==void 0&&n.uiState.accountViewMode==="classes"?n:a;return p?s.jsx(ds,{children:s.jsx(Nt,{title:_.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(ls,{windowSize:t,children:s.jsx(tt,{children:({height:m,width:f})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(w,S,b)=>{us(a.firstMonthOfFY,l,a.reportId,S,w,e.analytics),r(o,b)},highlightedRange:c,isDetailPage:!0,timeframe:h,width:f,height:m};switch(g.reportId){case"net_burn_or_income":return s.jsx(Se,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return s.jsx(Se,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"revenue":return s.jsx(we,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(we,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(_e,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(_e,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(Lt,{selectedRangeReport:a,...x});case"cash_in_cash_out":return s.jsx(Pt,{selectedRangeReport:a,...x});default:return null}}})})},us=(e,t,a,n,i,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(R(a),G(n),"bar",se(e,n,i)),r?.trackDateRangeFilterChange(R(a),"bar",p,void 0,se(e,n,i))},ze={net_burn_or_income:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast-dark.png"},revenue:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast-dark.png"},operating_expenses:{light:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast.png",dark:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast-dark.png"}},Te=Le`
47
47
  0% {
48
48
  transform: translateY(100%)
49
49
  }
50
50
  100% {
51
51
  transform: translateY(0)
52
52
  }
53
- `,gs=Ne`
53
+ `,gs=Le`
54
54
  0% {
55
55
  opacity: 0
56
56
  }
@@ -163,7 +163,7 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Je,o
163
163
  margin-top: ${d.sp7};
164
164
  margin: auto;
165
165
  color: ${e=>e.theme.colors.primary};
166
- `,$s=u(Pe)`
166
+ `,js=u(Pe)`
167
167
  max-width: 330px;
168
168
  margin: auto;
169
169
  color: ${D.primaryDark};
@@ -171,7 +171,7 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Je,o
171
171
  margin: ${d.sp3} auto;
172
172
  max-width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"330px":"422px"};
173
173
  color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?D.heroDark:e.theme.colors.hero};
174
- `,js=u.div`
174
+ `,$s=u.div`
175
175
  display: flex;
176
176
  flex-direction: column;
177
177
  align-items: center;
@@ -197,7 +197,7 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Je,o
197
197
  border-radius: 12px;
198
198
  border: ${e=>`1px solid ${e.theme.colors.grey5}`};
199
199
  padding: ${d.sp2};
200
- `,le=()=>s.jsxs(Ss,{children:[s.jsx(ys,{}),s.jsx(vs,{})]}),We=({imgSrc:e})=>{const t=B();return s.jsxs(js,{windowSize:t,children:[s.jsx(Os,{windowSize:t,children:s.jsx(Bs,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(ks,{windowSize:t,children:[s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},Ps=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=ze[a][r.mode];return s.jsxs(hs,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Me,{children:s.jsx(Ee,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsx(bs,{onClick:c=>c.stopPropagation(),children:s.jsxs(Ae,{windowSize:i,children:[s.jsx($s,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Fe,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o,style:{backgroundColor:D.primaryDark,borderColor:D.primaryDark,color:D.neutralGrey5Dark}}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Ns=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=ze[a][r.mode];return s.jsxs(ms,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Me,{children:s.jsx(Ee,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsxs(fs,{onClick:c=>c.stopPropagation(),children:[s.jsxs(Ae,{windowSize:i,children:[s.jsx(Cs,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Fe,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(xs,{children:s.jsx(le,{})}),s.jsx(_s,{children:s.jsx(le,{})}),s.jsx(ws,{children:s.jsx(le,{})})]})]})};function Ls(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Ps,{...e}):s.jsx(Ns,{...e})}const de="ZeniSwitch",T={root:`${de}-root`,switchBase:`${de}-switchBase`,track:`${de}-track`},Is=({className:e,...t})=>s.jsx(dt,{...t,className:e,classes:{...T}}),Rs=u(Is)(({theme:e})=>({[`& .${T.switchBase}`]:{color:e.colors.grey2},[`& .${T.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${T.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${T.switchBase}.Mui-checked + .${T.track}`]:{backgroundColor:e.colors.grey1},[`& .${T.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${T.switchBase}.Mui-disabled + .${T.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),He=e=>s.jsx(Rs,{...e}),U={containerMaxWidth:new L(124,154),forecastNameInnerWidth:new L(75,105),forecastNameOuterWidth:new L(90,120),tooltipTopPosition:new L(51,51),tooltipWidth:new L(180,150)},ye=u.div``,Ds=u.div`
200
+ `,le=()=>s.jsxs(Ss,{children:[s.jsx(ys,{}),s.jsx(vs,{})]}),We=({imgSrc:e})=>{const t=B();return s.jsxs($s,{windowSize:t,children:[s.jsx(Os,{windowSize:t,children:s.jsx(Bs,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(ks,{windowSize:t,children:[s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},Ps=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=ze[a][r.mode];return s.jsxs(hs,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Me,{children:s.jsx(Ee,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsx(bs,{onClick:c=>c.stopPropagation(),children:s.jsxs(Ae,{windowSize:i,children:[s.jsx(js,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Fe,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o,style:{backgroundColor:D.primaryDark,borderColor:D.primaryDark,color:D.neutralGrey5Dark}}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Ls=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=ze[a][r.mode];return s.jsxs(ms,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Me,{children:s.jsx(Ee,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsxs(fs,{onClick:c=>c.stopPropagation(),children:[s.jsxs(Ae,{windowSize:i,children:[s.jsx(Cs,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Fe,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(xs,{children:s.jsx(le,{})}),s.jsx(_s,{children:s.jsx(le,{})}),s.jsx(ws,{children:s.jsx(le,{})})]})]})};function Ns(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Ps,{...e}):s.jsx(Ls,{...e})}const de="ZeniSwitch",T={root:`${de}-root`,switchBase:`${de}-switchBase`,track:`${de}-track`},Is=({className:e,...t})=>s.jsx(dt,{...t,className:e,classes:{...T}}),Rs=u(Is)(({theme:e})=>({[`& .${T.switchBase}`]:{color:e.colors.grey2},[`& .${T.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${T.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${T.switchBase}.Mui-checked + .${T.track}`]:{backgroundColor:e.colors.grey1},[`& .${T.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${T.switchBase}.Mui-disabled + .${T.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),He=e=>s.jsx(Rs,{...e}),U={containerMaxWidth:new N(124,154),forecastNameInnerWidth:new N(75,105),forecastNameOuterWidth:new N(90,120),tooltipTopPosition:new N(51,51),tooltipWidth:new N(180,150)},ye=u.div``,Ds=u.div`
201
201
  min-width: ${e=>U.forecastNameInnerWidth.valuePx(e.windowSize)};
202
202
  &:hover {
203
203
  .info-tooltip {
@@ -241,7 +241,7 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Je,o
241
241
  flex-direction: row;
242
242
  align-items: center;
243
243
  justify-content: end;
244
- `,Gs=u.div`
244
+ `,Ys=u.div`
245
245
  background-color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
246
246
  border-radius: 3px;
247
247
  border-width: 1px;
@@ -251,7 +251,7 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Je,o
251
251
  align-self: center;
252
252
  margin-left: ${d.sp2};
253
253
  margin-right: ${d.sp2};
254
- `,Ys=u.div``,Us=u.div`
254
+ `,Gs=u.div``,Us=u.div`
255
255
  display: none;
256
256
  background-color: ${e=>e.theme.colors.primary};
257
257
  position: absolute;
@@ -263,14 +263,14 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Je,o
263
263
  top: ${e=>U.tooltipTopPosition.valuePx(e.windowSize)};
264
264
  `,Zs=u(it)`
265
265
  color: ${e=>e.theme.colors.grey5};
266
- `;function qs({selectedForecastIndex:e,forecasts:t,isDisabled:a,isForecastValid:n,onForecastSelectionChanged:i}){const r=B(),{dateFormat:{visual:p}}=_.getLocalizedStrings(),o=g=>`${g.startDate.format(p.MMMYYYYFormat)} - ${g.endDate.format(p.MMMYYYYFormat)}`,l=g=>g.map((m,f)=>({label:m.name,value:f,forecastId:m.id,timeframeLabel:o(m.forecastPeriod),isValid:n(m)})),[c,h]=y.useState(l(t));return K.useEffect(()=>{h(l(t))},[t]),s.jsxs(Ds,{windowSize:r,children:[s.jsx(Ys,{children:s.jsx(Us,{className:"info-tooltip",windowSize:r,children:s.jsx(Zs,{children:c[e]!=null?c[e].label:""})})}),s.jsx(Xs,{selectedForecast:c[e],forecastOptions:c,isDisabled:a,onForecastSelectionChanged:i})]})}const Xs=({selectedForecast:e,forecastOptions:t,isDisabled:a,onForecastSelectionChanged:n})=>{const i=Z(),r=B(),[p,o]=y.useState(e),l=i.colors.grey5,c=i.colors.grey5,h=i.colors.grey3;y.useEffect(()=>{o(e)},[e]);const g=u(rt)`
266
+ `;function qs({selectedForecastIndex:e,forecasts:t,isDisabled:a,isForecastValid:n,onForecastSelectionChanged:i}){const r=B(),{dateFormat:{visual:p}}=_.getLocalizedStrings(),o=g=>`${g.startDate.format(p.MMMYYYYFormat)} - ${g.endDate.format(p.MMMYYYYFormat)}`,l=g=>g.map((m,f)=>({label:m.name,value:f,forecastId:m.id,timeframeLabel:o(m.forecastPeriod),isValid:n(m)})),[c,h]=y.useState(l(t));return K.useEffect(()=>{h(l(t))},[t]),s.jsxs(Ds,{windowSize:r,children:[s.jsx(Gs,{children:s.jsx(Us,{className:"info-tooltip",windowSize:r,children:s.jsx(Zs,{children:c[e]!=null?c[e].label:""})})}),s.jsx(Xs,{selectedForecast:c[e],forecastOptions:c,isDisabled:a,onForecastSelectionChanged:i})]})}const Xs=({selectedForecast:e,forecastOptions:t,isDisabled:a,onForecastSelectionChanged:n})=>{const i=Z(),r=B(),[p,o]=y.useState(e),l=i.colors.grey5,c=i.colors.grey5,h=i.colors.grey3;y.useEffect(()=>{o(e)},[e]);const g=u(rt)`
267
267
  height: ${d.sp3};
268
268
  width: ${d.sp3};
269
269
  `,m=u(ct)`
270
270
  height: 12px;
271
271
  width: 12px;
272
272
  margin-left: 6px;
273
- `,f=({children:b,...C})=>s.jsx(ne.SingleValue,{...C,children:s.jsxs(Hs,{children:[s.jsx(Ws,{windowSize:r,children:b}),s.jsx(m,{})]})}),x=b=>s.jsx(ne.DropdownIndicator,{...b,children:s.jsx(ye,{})}),w=b=>s.jsx(ye,{children:s.jsx(ne.Option,{...b,children:s.jsxs(zs,{children:[s.jsxs(Ts,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(As,{isValid:b.data.isValid,children:[s.jsx(Ms,{children:b.data.timeframeLabel}),s.jsx(Gs,{isValid:b.data.isValid}),s.jsx(Es,{children:_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),b.data.isValid===!1?s.jsxs(Fs,{children:[s.jsx(Vs,{}),_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),S={control:(b,C)=>({...b,border:0,backgroundColor:c,color:C.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.hero,boxShadow:c,":active":{backgroundColor:c},":hover":{color:i.colors.primary},"span::after":{content:"''",display:"block"},minHeight:"auto",cursor:"pointer"}),container:b=>({...b,backgroundColor:c,maxWidth:U.containerMaxWidth.valuePx(r),minWidth:U.containerMaxWidth.valuePx(r)}),singleValue:(b,C)=>({...b,color:C.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.champion,maxWidth:"100%",minWidth:"100%",overflow:"auto",":hover":{color:i.colors.primary},marginLeft:0,position:"inherit",transform:"none",top:0,marginRight:0,opacity:"1"}),menu:b=>({...b,backgroundColor:l,borderRadius:j[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${i.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:b=>({...b,borderRadius:j[1],maxWidth:"350px"}),option:(b,{isDisabled:C,isSelected:k,isFocused:V})=>({...b,color:k?i.colors.champion:i.colors.hero,backgroundColor:k===!0?h:V===!0&&C!==!0?i.colors.background:l,cursor:C===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:C===!1?k===!0?h:i.colors.background:l,color:i.colors.primary},borderBottom:"1px solid "+i.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(lt,{options:t,components:{SingleValue:f,DropdownIndicator:x,Option:w},styles:S,defaultValue:p,onChange:b=>{const C=b;o(C),n(C.forecastId,C.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:b=>b.isValid===!1,theme:b=>({...b,colors:{...b.colors,primary:l}}),isDisabled:a})},ve={timeframePaddingLeft:new L(0,0,245),timeframePaddingBottom:new L(8,8,0)},Qs=u.div`
273
+ `,f=({children:b,...C})=>s.jsx(ne.SingleValue,{...C,children:s.jsxs(Hs,{children:[s.jsx(Ws,{windowSize:r,children:b}),s.jsx(m,{})]})}),x=b=>s.jsx(ne.DropdownIndicator,{...b,children:s.jsx(ye,{})}),w=b=>s.jsx(ye,{children:s.jsx(ne.Option,{...b,children:s.jsxs(zs,{children:[s.jsxs(Ts,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(As,{isValid:b.data.isValid,children:[s.jsx(Ms,{children:b.data.timeframeLabel}),s.jsx(Ys,{isValid:b.data.isValid}),s.jsx(Es,{children:_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),b.data.isValid===!1?s.jsxs(Fs,{children:[s.jsx(Vs,{}),_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),S={control:(b,C)=>({...b,border:0,backgroundColor:c,color:C.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.hero,boxShadow:c,":active":{backgroundColor:c},":hover":{color:i.colors.primary},"span::after":{content:"''",display:"block"},minHeight:"auto",cursor:"pointer"}),container:b=>({...b,backgroundColor:c,maxWidth:U.containerMaxWidth.valuePx(r),minWidth:U.containerMaxWidth.valuePx(r)}),singleValue:(b,C)=>({...b,color:C.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.champion,maxWidth:"100%",minWidth:"100%",overflow:"auto",":hover":{color:i.colors.primary},marginLeft:0,position:"inherit",transform:"none",top:0,marginRight:0,opacity:"1"}),menu:b=>({...b,backgroundColor:l,borderRadius:$[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${i.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:b=>({...b,borderRadius:$[1],maxWidth:"350px"}),option:(b,{isDisabled:C,isSelected:k,isFocused:V})=>({...b,color:k?i.colors.champion:i.colors.hero,backgroundColor:k===!0?h:V===!0&&C!==!0?i.colors.background:l,cursor:C===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:C===!1?k===!0?h:i.colors.background:l,color:i.colors.primary},borderBottom:"1px solid "+i.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(lt,{options:t,components:{SingleValue:f,DropdownIndicator:x,Option:w},styles:S,defaultValue:p,onChange:b=>{const C=b;o(C),n(C.forecastId,C.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:b=>b.isValid===!1,theme:b=>({...b,colors:{...b.colors,primary:l}}),isDisabled:a})},ve={timeframePaddingLeft:new N(0,0,245),timeframePaddingBottom:new N(8,8,0)},Qs=u.div`
274
274
  display: flex;
275
275
  width: 100%;
276
276
  flex-direction: column;
@@ -278,7 +278,7 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Je,o
278
278
  display: flex;
279
279
  width: 100%;
280
280
  flex-direction: row;
281
- `,Ge=u.div`
281
+ `,Ye=u.div`
282
282
  display: flex;
283
283
  flex-direction: row;
284
284
  flex: 1 1 auto;
@@ -303,13 +303,13 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Je,o
303
303
  flex-direction: row;
304
304
  align-items: center;
305
305
  margin-right: ${d.sp5};
306
- `,Ye=u(oe)`
306
+ `,Ge=u(oe)`
307
307
  color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
308
308
  opacity: ${e=>e.isDisabled?.5:1};
309
- `,Ue=({label:e,isOn:t,isToggleDisabled:a,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(Ye,{isOn:t,isDisabled:a===!0,children:e}),s.jsx(He,{checked:t,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:i=>{n(i.target.checked)}})]});function Ze({isOn:e,isDisabled:t,selectedForecastIndex:a,forecasts:n,isForecastValid:i,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(to,{children:[e===!0&&n!=null&&n.length!==0?s.jsx(qs,{selectedForecastIndex:a??0,forecasts:n,isForecastValid:i,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ye,{isOn:e,isDisabled:t===!0,children:_.getLocalizedStrings().reports.forecast.forecast}),s.jsx(He,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:o=>{r(o.target.checked)}})]})}const so=e=>{const t=B();return s.jsxs(Qs,{children:[s.jsx(Ge,{windowSize:t,children:s.jsx(Le,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Ks,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ue,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})},oo=e=>{const t=B();return s.jsxs(Js,{children:[s.jsx(Ge,{windowSize:t,children:s.jsx(Le,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(eo,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ue,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})};function ao(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(so,{...e}):s.jsx(oo,{...e})}const no=u.div`
309
+ `,Ue=({label:e,isOn:t,isToggleDisabled:a,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(Ge,{isOn:t,isDisabled:a===!0,children:e}),s.jsx(He,{checked:t,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:i=>{n(i.target.checked)}})]});function Ze({isOn:e,isDisabled:t,selectedForecastIndex:a,forecasts:n,isForecastValid:i,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(to,{children:[e===!0&&n!=null&&n.length!==0?s.jsx(qs,{selectedForecastIndex:a??0,forecasts:n,isForecastValid:i,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ge,{isOn:e,isDisabled:t===!0,children:_.getLocalizedStrings().reports.forecast.forecast}),s.jsx(He,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:o=>{r(o.target.checked)}})]})}const so=e=>{const t=B();return s.jsxs(Qs,{children:[s.jsx(Ye,{windowSize:t,children:s.jsx(Ne,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Ks,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ue,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})},oo=e=>{const t=B();return s.jsxs(Js,{children:[s.jsx(Ye,{windowSize:t,children:s.jsx(Ne,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(eo,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ue,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})};function ao(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(so,{...e}):s.jsx(oo,{...e})}const no=u.div`
310
310
  display: flex;
311
311
  padding: ${d.sp2} ${d.sp0} ${d.sp4} ${d.sp0};
312
- `,io=u.div``,ro=u.div``,co=e=>{const{selectedRangeReport:t,uiState:a,analytics:n,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=ke(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:h,timeframe:g}=a,m=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=a.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let S,b;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:S=void 0}const C=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=C||t.availableNumberOfPeriods===1,V=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,M]=y.useState(!1),H=ft("https://meetings.hubspot.com/svitlana-grankovska"),E=a.mode,I=a.selectedForecast;y.useEffect(()=>{E==="forecast_mode"&&b==="Completed"&&S?.length===0&&(M(!0),document.body.style.overflow="hidden")},[b,E,S]),y.useEffect(()=>{E==="forecast_mode"&&I!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[I.index].name)},[I]);const W=(v,$,G)=>{$===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,G)};return s.jsx(ro,{children:s.jsxs(io,{children:[s.jsx(no,{children:s.jsx(ao,{timeframe:{allowedTimeframes:m,selectedTimeframe:g,onTimeframeSelectionChanged:v=>{e.analytics?.trackTimeframeSwitch(Y(v),R(t.reportId)),r?.(v),e.uiState.mode==="compare_mode"&&!x&&o(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:_.getLocalizedStrings().compareSwitchLabel,isOn:k?!1:x,isToggleDisabled:k,onValueChanged:v=>{const $=v===!0||a.mode==="forecast_mode"?3:1;n?.trackCompareMode(v,R(t.reportId),Y(g)),o(v,v?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],$)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:V,onForecastSelectionChanged:(v,$)=>W("forecast_mode",!1,{id:v,index:$}),onForecastToggleChanged:v=>{W(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(Ls,{meetingUrl:H,reportId:t.reportId,onClose:()=>{M(!1),e.onForecastToggle?.("off");const v=1;document.body.style.overflow="auto",o(x,x?["this_period_vs_last_period_percent"]:[],v)}}):null,C?null:s.jsx(It,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:xe(c,h),highlightedOfSelectedTicks:xe(c,h)},onClick:(v,$)=>{Ce(t.firstMonthOfFY,x,t.reportId,g,$,e.analytics),i($)},onSelectionChanged:(v,$)=>{const G=Ot(c,v.fromEnd),q=Bt(c,$);Ce(t.firstMonthOfFY,x,t.reportId,g,q.thisPeriod,e.analytics),p(G,q)}})]})})},Ce=(e,t,a,n,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(a),Y(n),"range filter",se(e,n,i)),r?.trackDateRangeFilterChange(R(a),"range filter",t,se(e,n,i))};function fe({account:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){return{children:[],id:F("ac_report",p,e.accountId),isLastNode:i,reportElementData:{element:{kind:"ac_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}}}function lo({acGroup:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){const o=F("ac_group_report",p,e.accountGroupId),l={children:[],id:o,isLastNode:i,reportElementData:{element:{kind:"ac_group_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},c=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return l.children=c.map((h,g)=>fe({account:h,sectionType:t,numOfBalances:a,title:h.accountDescription,config:r,isLastNode:g===c.length-1,parentNodeIDs:[...p,o]})),l}function $e({section:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r}){const p=F("section",[],n),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},l=zt(e,r.displayOrder,a,!1),c=po(l.balances),h=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=h.compactedAccountsSelectorVariant(e.accountsOrdered),m=h.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(m.length>0||e.accountsOrdered.length>0)){const f=m.map((w,S)=>lo({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:S===m.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,S)=>fe({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:S===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));o.children.push(...f),o.children.push(...x)}return o}function po(e){let t=!1;if(e!=null){for(const a of e)if(a!=null&&a.balance.amount!==0){t=!0;break}}return t}function A({balances:e,config:t,nodeId:a}){let n="timeframe_headers";return t.mode==="actual_vs_forecast"&&(n="timeframe_headers_with_forecast"),{children:[],id:a??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:n,title:"",data:e,numOfBalances:e.length},config:t}}}function uo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.cashIn.balances?[...e.cashIn.balances,...e.cashIn.additionalBalances]:e.cashOut.balances?[...e.cashOut.balances,...e.cashOut.additionalBalances]:[],p=A({balances:r,config:t}),o=$e({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=$e({section:e.cashOut,sectionType:"cash_out",numOfBalances:i,title:n.sections.cashOut,isLastNode:!0,config:t}),c=te({calculatedSection:e.netCashFlow,numOfBalances:i,title:n.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:a?[p]:[],contentNodes:[p,o,l,c]}}function be({title:e,balances:t,config:a,numOfBalances:n,nodeId:i}){return{children:[],id:i??F("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:n},config:a}}}function go(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.cashPosition.balances,...e.cashPosition.additionalBalances],p=e.cashPosition,o=A({balances:r,config:t}),l=be({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=F("section",[],n.sections.netCashFlow),h=ue("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,m)=>fe({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:m===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:a?[o]:[],contentNodes:[o,l,...h]}}function mo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});a&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],g=A({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(St(m)===!0){const f=e.sections[m];f!=null&&o.push(Ie({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(yt(m)===!0){const f=e.calculatedSections[m];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:m==="netBurnOrIncome"?e.reportTitle:i.sections[m],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function ho(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],p=A({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{vt(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):Ct(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:l==="netBurnOrIncome"?e.reportTitle:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function fo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,a&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=10,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=A({balances:h,config:t}),m=e.sections.expenses,f=be({title:_.getLocalizedStrings().chartCard.total,balances:m,config:t,numOfBalances:c});o.push(g),o.push(f),a&&(l=[g]);const x=F("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,S)=>{o.push(Tt({classNode:w,sectionType:"expenses",numOfBalances:c,title:w.class.className,isLastNode:w.isLeafClass,config:t,parentNodeIDs:[x],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:w.id.length-1,hasSibling:!1,hasChildren:w.children.length>0,isLastNode:S===e.sections.expenses.classes.length-1,name:w.class.className}]}}))})}return{config:t,headerNodes:l,contentNodes:o}}function bo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],p=A({balances:r,config:t}),o=e.sections.expenses,l=be({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=F("section",[],n.sections.expenses),h=Dt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const m=h.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(m.length!=0){const f=m.map((x,w)=>At({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===m.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=h.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,S)=>Mt({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:S===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:S===f.length-1}]}}));g.push(...x)}return{config:t,headerNodes:a?[p]:[],contentNodes:g}}function xo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,a&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],g=A({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(bt(m)===!0){const f=e.sections[m];f!=null&&o.push(Ie({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(xt(m)===!0){const f=e.calculatedSections[m];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:i.sections.grossMargin,isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function _o(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],p=A({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{_t(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):wt(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function wo(e,t,a,n=!0){Object.assign(e.config,t);const i=So(a),r=A({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const So=e=>{switch(e.reportId){case"net_burn_or_income":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"net_burn_or_income_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"revenue":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"revenue_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"cash_position":{const t=e;return[...t.cashPosition.balances,...t.cashPosition.additionalBalances]}case"cash_in_cash_out":{const t=e;return t.cashIn.balances.length>0?[...t.cashIn.balances,...t.cashIn.additionalBalances]:[...t.cashOut.balances,...t.cashOut.additionalBalances]}case"operating_expenses":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}case"operating_expenses_by_classes":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}default:return[]}},je={contentPaddingLeft:new L(j[0],j[0],j[0]),contentPaddingRight:new L(j[3],j[3],j[8])},yo=u.div`
312
+ `,io=u.div``,ro=u.div``,co=e=>{const{selectedRangeReport:t,uiState:a,analytics:n,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=ke(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:h,timeframe:g}=a,m=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=a.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let S,b;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:S=void 0}const C=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=C||t.availableNumberOfPeriods===1,V=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,M]=y.useState(!1),H=ft("https://meetings.hubspot.com/svitlana-grankovska"),E=a.mode,I=a.selectedForecast;y.useEffect(()=>{E==="forecast_mode"&&b==="Completed"&&S?.length===0&&(M(!0),document.body.style.overflow="hidden")},[b,E,S]),y.useEffect(()=>{E==="forecast_mode"&&I!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[I.index].name)},[I]);const W=(v,j,Y)=>{j===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,Y)};return s.jsx(ro,{children:s.jsxs(io,{children:[s.jsx(no,{children:s.jsx(ao,{timeframe:{allowedTimeframes:m,selectedTimeframe:g,onTimeframeSelectionChanged:v=>{e.analytics?.trackTimeframeSwitch(G(v),R(t.reportId)),r?.(v),e.uiState.mode==="compare_mode"&&!x&&o(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:_.getLocalizedStrings().compareSwitchLabel,isOn:k?!1:x,isToggleDisabled:k,onValueChanged:v=>{const j=v===!0||a.mode==="forecast_mode"?3:1;n?.trackCompareMode(v,R(t.reportId),G(g)),o(v,v?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],j)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:V,onForecastSelectionChanged:(v,j)=>W("forecast_mode",!1,{id:v,index:j}),onForecastToggleChanged:v=>{W(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(Ns,{meetingUrl:H,reportId:t.reportId,onClose:()=>{M(!1),e.onForecastToggle?.("off");const v=1;document.body.style.overflow="auto",o(x,x?["this_period_vs_last_period_percent"]:[],v)}}):null,C?null:s.jsx(It,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:xe(c,h),highlightedOfSelectedTicks:xe(c,h)},onClick:(v,j)=>{Ce(t.firstMonthOfFY,x,t.reportId,g,j,e.analytics),i(j)},onSelectionChanged:(v,j)=>{const Y=Ot(c,v.fromEnd),q=Bt(c,j);Ce(t.firstMonthOfFY,x,t.reportId,g,q.thisPeriod,e.analytics),p(Y,q)}})]})})},Ce=(e,t,a,n,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(a),G(n),"range filter",se(e,n,i)),r?.trackDateRangeFilterChange(R(a),"range filter",t,se(e,n,i))};function fe({account:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){return{children:[],id:F("ac_report",p,e.accountId),isLastNode:i,reportElementData:{element:{kind:"ac_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}}}function lo({acGroup:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){const o=F("ac_group_report",p,e.accountGroupId),l={children:[],id:o,isLastNode:i,reportElementData:{element:{kind:"ac_group_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},c=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return l.children=c.map((h,g)=>fe({account:h,sectionType:t,numOfBalances:a,title:h.accountDescription,config:r,isLastNode:g===c.length-1,parentNodeIDs:[...p,o]})),l}function je({section:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r}){const p=F("section",[],n),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},l=zt(e,r.displayOrder,a,!1),c=po(l.balances),h=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=h.compactedAccountsSelectorVariant(e.accountsOrdered),m=h.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(m.length>0||e.accountsOrdered.length>0)){const f=m.map((w,S)=>lo({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:S===m.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,S)=>fe({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:S===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));o.children.push(...f),o.children.push(...x)}return o}function po(e){let t=!1;if(e!=null){for(const a of e)if(a!=null&&a.balance.amount!==0){t=!0;break}}return t}function A({balances:e,config:t,nodeId:a}){let n="timeframe_headers";return t.mode==="actual_vs_forecast"&&(n="timeframe_headers_with_forecast"),{children:[],id:a??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:n,title:"",data:e,numOfBalances:e.length},config:t}}}function uo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.cashIn.balances?[...e.cashIn.balances,...e.cashIn.additionalBalances]:e.cashOut.balances?[...e.cashOut.balances,...e.cashOut.additionalBalances]:[],p=A({balances:r,config:t}),o=je({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=je({section:e.cashOut,sectionType:"cash_out",numOfBalances:i,title:n.sections.cashOut,isLastNode:!0,config:t}),c=te({calculatedSection:e.netCashFlow,numOfBalances:i,title:n.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:a?[p]:[],contentNodes:[p,o,l,c]}}function be({title:e,balances:t,config:a,numOfBalances:n,nodeId:i}){return{children:[],id:i??F("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:n},config:a}}}function go(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.cashPosition.balances,...e.cashPosition.additionalBalances],p=e.cashPosition,o=A({balances:r,config:t}),l=be({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=F("section",[],n.sections.netCashFlow),h=ue("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,m)=>fe({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:m===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:a?[o]:[],contentNodes:[o,l,...h]}}function mo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});a&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],g=A({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(St(m)===!0){const f=e.sections[m];f!=null&&o.push(Ie({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(yt(m)===!0){const f=e.calculatedSections[m];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:m==="netBurnOrIncome"?e.reportTitle:i.sections[m],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function ho(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],p=A({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{vt(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):Ct(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:l==="netBurnOrIncome"?e.reportTitle:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function fo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,a&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=10,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=A({balances:h,config:t}),m=e.sections.expenses,f=be({title:_.getLocalizedStrings().chartCard.total,balances:m,config:t,numOfBalances:c});o.push(g),o.push(f),a&&(l=[g]);const x=F("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,S)=>{o.push(Tt({classNode:w,sectionType:"expenses",numOfBalances:c,title:w.class.className,isLastNode:w.isLeafClass,config:t,parentNodeIDs:[x],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:w.id.length-1,hasSibling:!1,hasChildren:w.children.length>0,isLastNode:S===e.sections.expenses.classes.length-1,name:w.class.className}]}}))})}return{config:t,headerNodes:l,contentNodes:o}}function bo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],p=A({balances:r,config:t}),o=e.sections.expenses,l=be({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=F("section",[],n.sections.expenses),h=Dt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const m=h.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(m.length!=0){const f=m.map((x,w)=>At({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===m.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=h.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,S)=>Mt({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:S===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:S===f.length-1}]}}));g.push(...x)}return{config:t,headerNodes:a?[p]:[],contentNodes:g}}function xo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,a&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],g=A({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(bt(m)===!0){const f=e.sections[m];f!=null&&o.push(Ie({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(xt(m)===!0){const f=e.calculatedSections[m];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:i.sections.grossMargin,isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function _o(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],p=A({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{_t(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):wt(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function wo(e,t,a,n=!0){Object.assign(e.config,t);const i=So(a),r=A({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const So=e=>{switch(e.reportId){case"net_burn_or_income":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"net_burn_or_income_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"revenue":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"revenue_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"cash_position":{const t=e;return[...t.cashPosition.balances,...t.cashPosition.additionalBalances]}case"cash_in_cash_out":{const t=e;return t.cashIn.balances.length>0?[...t.cashIn.balances,...t.cashIn.additionalBalances]:[...t.cashOut.balances,...t.cashOut.additionalBalances]}case"operating_expenses":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}case"operating_expenses_by_classes":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}default:return[]}},$e={contentPaddingLeft:new N($[0],$[0],$[0]),contentPaddingRight:new N($[3],$[3],$[8])},yo=u.div`
313
313
  width: 100%;
314
314
  height: calc(100vh - 70px);
315
315
  `,vo=u.div`
@@ -323,7 +323,7 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Je,o
323
323
  position: absolute;
324
324
  padding-top: ${d.sp3};
325
325
  background-color: ${e=>e.theme.colors.grey4};
326
- `,$o=e=>{const t=B(),a=Z(),{selectedRangeReport:n,selectedClassesViewRangeReport:i,uiState:r,scrollPosition:p,isZeniUser:o,onTableScroll:l,onElementCollapseStateChanged:c,onAccountBalanceClick:h,onUpdateAccountViewMode:g,onUpdateClassesToFilterOut:m,onOpenAccountViewMode:f}=e,{highlightedCOABalancesRange:x,mode:w}=r,S=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,C=r.mode==="compare_mode"&&!b,k=C||r.mode==="forecast_mode"?3:1,V=O=>{e.analytics?.trackCompareFilterChange(O==="compare_mode_percent"?"percentage":"amount",R(n.reportId),Y(r.timeframe),"dropdown");const N=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged(C,[N],x?.numberOfPeriods??k)},[P,M]=y.useState(void 0),[H,E]=y.useState(void 0),I=!(t==="small"||t==="medium-compact"),W=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=ko(r.selectedAdditionalBalances),$=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,G=w==="forecast_mode"?"actual_vs_forecast":C===!0?"this_period_vs_period_before":"none",q=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ae=(O,N)=>{O!==i?.uiState.accountViewMode&&g?.(O),N&&m?.(N)};return y.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${$.reportId}+${r.selectedForecast?.id}`:$.reportId,mode:G,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:$.bookCloseDate,firstMonthOfFY:$.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:ot(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:$.dataAvailable};if(P==null||!J(H,$)||e.isPageFetchInProgress===!0){const N=jo($,O,I,e.isPageFetchInProgress);E($),M(N)}else{const N=wo(P,O,$,I);M(N)}},[W,C,$,e.isPageFetchInProgress]),s.jsx(vo,{windowSize:t,children:S?s.jsx(Et,{}):P!=null?s.jsxs(yo,{children:[s.jsx(Rt,{backgroundColor:new st(a.colors.grey4),rootNodes:P,type:W,compareMode:v,isSticky:{isStickyHeader:I,isStickyName:I},treeNodePadding:{left:je.contentPaddingLeft.value(t),right:je.contentPaddingRight.value(t)},onAccountClick:h==null?void 0:(O,N)=>{h(O,N)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:V,onScroll:l,onNodeCollapseToggled:c}),q===!0&&i!==void 0?s.jsx(Co,{children:s.jsx(jt,{reportId:n.reportId,nodes:i.classHierarchy,classesListFetchState:i.fetchState,selectedView:i.uiState.accountViewMode,showClassAccountNumber:o,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:ae,classesToBeFilteredOut:i.classesToFilterOut,isClassViewDisabled:r.mode==="forecast_mode",firstMonthOfFY:i.firstMonthOfFY,onOpenAccountViewMode:f,onResyncReports:e.onResyncReports,isPageFetchInProgress:e.isPageFetchInProgress,lastRefreshSuccessTime:i?.status?.lastRefreshSuccessTime})}):null]}):null})},jo=(e,t,a=!0,n=!1)=>{switch(e.reportId){case"net_burn_or_income":return ho(e,t,a);case"net_burn_or_income_by_classes":return mo(e,t,a,n);case"revenue":return _o(e,t,a);case"revenue_by_classes":return xo(e,t,a,n);case"cash_position":return go(e,t,a);case"cash_in_cash_out":return uo(e,t,a);case"operating_expenses":return bo(e,t,a);case"operating_expenses_by_classes":return fo(e,t,a,n);default:return}},ko=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",X={chartWidth:"100%",barCount:8,barWidth:new L(j[6],j[8],j[10]),maxBarHeight:1},Oo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=X.chartWidth,barCount:n=X.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=Z(),o=B(),l=t??Q.chartHeight.value(o),c=l-j[5],h=[...Array(n)].map((g,m)=>({height:(i?.[m]||X.maxBarHeight)*l,width:X.barWidth}));return s.jsx(Bo,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(Po,{children:h.map((g,m)=>s.jsx(No,{children:s.jsx(Ke,{speed:2,width:X.barWidth.value(o),height:c,viewBox:`0 0 100 ${c}`,preserveAspectRatio:"none",animate:!0,backgroundColor:p.colors.grey3,foregroundColor:p.colors.grey4,children:s.jsx("rect",{x:"0",y:c-g.height-20,width:"100%",height:g.height,rx:"4",ry:"4"})})},`bar-loader-${m}-${g.height}`))})})},Bo=u.div`
326
+ `,jo=e=>{const t=B(),a=Z(),{selectedRangeReport:n,selectedClassesViewRangeReport:i,uiState:r,scrollPosition:p,isZeniUser:o,onTableScroll:l,onElementCollapseStateChanged:c,onAccountBalanceClick:h,onUpdateAccountViewMode:g,onUpdateClassesToFilterOut:m,onOpenAccountViewMode:f}=e,{highlightedCOABalancesRange:x,mode:w}=r,S=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,C=r.mode==="compare_mode"&&!b,k=C||r.mode==="forecast_mode"?3:1,V=O=>{e.analytics?.trackCompareFilterChange(O==="compare_mode_percent"?"percentage":"amount",R(n.reportId),G(r.timeframe),"dropdown");const L=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged(C,[L],x?.numberOfPeriods??k)},[P,M]=y.useState(void 0),[H,E]=y.useState(void 0),I=!(t==="small"||t==="medium-compact"),W=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=ko(r.selectedAdditionalBalances),j=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,Y=w==="forecast_mode"?"actual_vs_forecast":C===!0?"this_period_vs_period_before":"none",q=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ae=(O,L)=>{O!==i?.uiState.accountViewMode&&g?.(O),L&&m?.(L)};return y.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${j.reportId}+${r.selectedForecast?.id}`:j.reportId,mode:Y,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:j.bookCloseDate,firstMonthOfFY:j.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:ot(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:j.dataAvailable};if(P==null||!J(H,j)||e.isPageFetchInProgress===!0){const L=$o(j,O,I,e.isPageFetchInProgress);E(j),M(L)}else{const L=wo(P,O,j,I);M(L)}},[W,C,j,e.isPageFetchInProgress]),s.jsx(vo,{windowSize:t,children:S?s.jsx(Et,{}):P!=null?s.jsxs(yo,{children:[s.jsx(Rt,{backgroundColor:new st(a.colors.grey4),rootNodes:P,type:W,compareMode:v,isSticky:{isStickyHeader:I,isStickyName:I},treeNodePadding:{left:$e.contentPaddingLeft.value(t),right:$e.contentPaddingRight.value(t)},onAccountClick:h==null?void 0:(O,L)=>{h(O,L)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:V,onScroll:l,onNodeCollapseToggled:c}),q===!0&&i!==void 0?s.jsx(Co,{children:s.jsx($t,{reportId:n.reportId,nodes:i.classHierarchy,classesListFetchState:i.fetchState,selectedView:i.uiState.accountViewMode,showClassAccountNumber:o,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:ae,classesToBeFilteredOut:i.classesToFilterOut,isClassViewDisabled:r.mode==="forecast_mode",firstMonthOfFY:i.firstMonthOfFY,onOpenAccountViewMode:f,onResyncReports:e.onResyncReports,isPageFetchInProgress:e.isPageFetchInProgress,lastRefreshSuccessTime:i?.status?.lastRefreshSuccessTime})}):null]}):null})},$o=(e,t,a=!0,n=!1)=>{switch(e.reportId){case"net_burn_or_income":return ho(e,t,a);case"net_burn_or_income_by_classes":return mo(e,t,a,n);case"revenue":return _o(e,t,a);case"revenue_by_classes":return xo(e,t,a,n);case"cash_position":return go(e,t,a);case"cash_in_cash_out":return uo(e,t,a);case"operating_expenses":return bo(e,t,a);case"operating_expenses_by_classes":return fo(e,t,a,n);default:return}},ko=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",X={chartWidth:"100%",barCount:8,barWidth:new N($[6],$[8],$[10]),maxBarHeight:1},Oo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=X.chartWidth,barCount:n=X.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=Z(),o=B(),l=t??Q.chartHeight.value(o),c=l-$[5],h=[...Array(n)].map((g,m)=>({height:(i?.[m]||X.maxBarHeight)*l,width:X.barWidth}));return s.jsx(Bo,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(Po,{children:h.map((g,m)=>s.jsx(Lo,{children:s.jsx(Ke,{speed:2,width:X.barWidth.value(o),height:c,viewBox:`0 0 100 ${c}`,preserveAspectRatio:"none",animate:!0,backgroundColor:p.colors.grey3,foregroundColor:p.colors.grey4,children:s.jsx("rect",{x:"0",y:c-g.height-20,width:"100%",height:g.height,rx:"4",ry:"4"})})},`bar-loader-${m}-${g.height}`))})})},Bo=u.div`
327
327
  width: 100%;
328
328
  height: 100%;
329
329
  border-radius: ${d.sp2};
@@ -337,13 +337,13 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Je,o
337
337
  justify-content: space-between;
338
338
  width: 100%;
339
339
  height: 100%;
340
- `,No=u.div`
340
+ `,Lo=u.div`
341
341
  flex: 1;
342
342
  height: 100%;
343
343
  display: flex;
344
344
  align-items: flex-end;
345
345
  justify-content: center;
346
- `,Lo=u.div`
346
+ `,No=u.div`
347
347
  display: flex;
348
348
  flex: 1 1 auto;
349
349
  min-height: 100%;
@@ -368,4 +368,4 @@ import{Q as B,d as Z,F as _,av as ke,V as s,bz as qe,A as Xe,x as Qe,bA as Je,o
368
368
  align-items: center;
369
369
  height: 100vh;
370
370
  margin-top: ${d.sp8};
371
- `,ba=e=>{const t=B(),a=Z(),[n,i]=y.useState(!1),r=_.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:o,selectedClassesViewRangeReport:l,uiState:c,downloadParams:h,analytics:g,onBackClick:m,updateDownloadStateHandler:f,onAdditionalBalanceSelectionChanged:x}=e,{insights:w}=o,{selectedCOABalancesRange:S,timeframe:b,selectedAdditionalBalances:C,downloadState:k}=c,V=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!V,M=ke(),H=M.loggedInUserRole!=null&&!mt(M.loggedInUserRole),E=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";y.useEffect(()=>{async function z(){await Zt({report:l!==void 0&&l.uiState.accountViewMode==="classes"?l:o,filter:o.filter,coaBalancesRange:S,isCompareModeOn:P,reportView:l!==void 0?l.uiState.accountViewMode:"account_group",classesToFilterOut:l!==void 0?l.uiState.classesToFilterOut:[],...h,reportType:H||E?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),g?.trackDownload(R(o.reportId),Y(b),"excel",P),f("Completed")}n&&k!=="In-Progress"&&(i(!1),f("In-Progress"),z())},[h,k,o.filter,n,P,S,o,l,b,g,f,H,E,e.isZeniCOAUsed]);const I=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0||o.allTimeframeTicks.length===0,W=o.fetchState==="In-Progress"||o.fetchState==="Not-Started",v=ht([e?.reportsResyncFetchState??{fetchState:"Not-Started"},l??{fetchState:"Not-Started"}]).fetchState==="In-Progress"&&l?.uiState.accountViewMode==="classes";y.useEffect(()=>{const z=P||c.mode==="forecast_mode"?3:1;x(P,C,z)},[t]);const $=z=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Qe.Event.search,R(o.reportId),z.type,z.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(z)},{autoCompleteData:G,autoCompleteActions:q,scrollPosition:ae,...O}=e,N=s.jsx(Je,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:I,isDownloading:k==="In-Progress"}],onDownloadClick:async z=>{if(z==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(Lo,{children:[s.jsx(qe,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:m,rightSideComponent:N,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:$}},source:"DashboardReportPage",style:{zIndex:2}}),W?s.jsx(Do,{children:s.jsx(Xe,{size:"Standard",start:!0})}):I?s.jsx(Gt,{style:{background:a.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Ft}):s.jsxs(s.Fragment,{children:[s.jsxs(Io,{windowSize:t,children:[s.jsx(Mo,{...O}),s.jsx(zo,{highlightedRangeReport:o,uiState:c}),v?s.jsx(Oo,{}):s.jsx(To,{...O}),s.jsx(Ro,{children:s.jsx(kt,{insights:w})})]}),s.jsx(Ao,{scrollPosition:ae,isPageFetchInProgress:v,...O})]})]})},zo=K.memo(cs,J),To=K.memo(ps,J),Ao=K.memo($o,J),Mo=K.memo(co,J);export{ba as default};
371
+ `,ba=e=>{const t=B(),a=Z(),[n,i]=y.useState(!1),r=_.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:o,selectedClassesViewRangeReport:l,uiState:c,downloadParams:h,analytics:g,onBackClick:m,updateDownloadStateHandler:f,onAdditionalBalanceSelectionChanged:x}=e,{insights:w}=o,{selectedCOABalancesRange:S,timeframe:b,selectedAdditionalBalances:C,downloadState:k}=c,V=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!V,M=ke(),H=M.loggedInUserRole!=null&&!mt(M.loggedInUserRole),E=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";y.useEffect(()=>{async function z(){await Zt({report:l!==void 0&&l.uiState.accountViewMode==="classes"?l:o,filter:o.filter,coaBalancesRange:S,isCompareModeOn:P,reportView:l!==void 0?l.uiState.accountViewMode:"account_group",classesToFilterOut:l!==void 0?l.uiState.classesToFilterOut:[],...h,reportType:H||E?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),g?.trackDownload(R(o.reportId),G(b),"excel",P),f("Completed")}n&&k!=="In-Progress"&&(i(!1),f("In-Progress"),z())},[h,k,o.filter,n,P,S,o,l,b,g,f,H,E,e.isZeniCOAUsed]);const I=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0||o.allTimeframeTicks.length===0,W=o.fetchState==="In-Progress"||o.fetchState==="Not-Started",v=ht([e?.reportsResyncFetchState??{fetchState:"Not-Started"},l??{fetchState:"Not-Started"}]).fetchState==="In-Progress"&&l?.uiState.accountViewMode==="classes";y.useEffect(()=>{const z=P||c.mode==="forecast_mode"?3:1;x(P,C,z)},[t]);const j=z=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Qe.Event.search,R(o.reportId),z.type,z.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(z)},{autoCompleteData:Y,autoCompleteActions:q,scrollPosition:ae,...O}=e,L=s.jsx(Je,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:I,isDownloading:k==="In-Progress"}],onDownloadClick:async z=>{if(z==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(No,{children:[s.jsx(qe,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:m,rightSideComponent:L,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:j}},source:"DashboardReportPage",style:{zIndex:2}}),W?s.jsx(Do,{children:s.jsx(Xe,{size:"Standard",start:!0})}):I?s.jsx(Yt,{style:{background:a.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Ft}):s.jsxs(s.Fragment,{children:[s.jsxs(Io,{windowSize:t,children:[s.jsx(Mo,{...O}),s.jsx(zo,{highlightedRangeReport:o,uiState:c}),v?s.jsx(Oo,{}):s.jsx(To,{...O}),s.jsx(Ro,{children:s.jsx(kt,{insights:w})})]}),s.jsx(Ao,{scrollPosition:ae,isPageFetchInProgress:v,...O})]})]})},zo=K.memo(cs,J),To=K.memo(ps,J),Ao=K.memo(jo,J),Mo=K.memo(co,J);export{ba as default};
@@ -1,4 +1,4 @@
1
- import{aW as m,V as a,b3 as p,o as u}from"./index-DcV3YN51.js";import{a as o}from"./core-3dlyNYRL.js";import{d as x,n as b}from"./mui-bYXq4XMS.js";const v=o.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:i=!1}){const s=x(),r=e||i,l=i?"DashboardNewYearShow":"DashboardChristmasSnow",[t,d]=m(l,r),[n,c]=o.useState(null);t!=null&&n==null&&!d&&c(t);const h=e&&s.mode==="light"?.7:.2;return(e||i)&&n!=null?a.jsx(f,{contextWiseOpacity:h,newYearAnimationEnabled:i,children:a.jsx(p,{style:{width:"inherit",height:"inherit",display:"block"},animationData:n,play:!0,loop:i?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),f=b.div`
1
+ import{aW as m,V as a,b3 as p,o as u}from"./index-BhteR_e0.js";import{a as o}from"./core-B-FNbYlu.js";import{d as x,n as b}from"./mui-DLNyBjYF.js";const v=o.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:i=!1}){const s=x(),r=e||i,l=i?"DashboardNewYearShow":"DashboardChristmasSnow",[t,d]=m(l,r),[n,c]=o.useState(null);t!=null&&n==null&&!d&&c(t);const h=e&&s.mode==="light"?.7:.2;return(e||i)&&n!=null?a.jsx(f,{contextWiseOpacity:h,newYearAnimationEnabled:i,children:a.jsx(p,{style:{width:"inherit",height:"inherit",display:"block"},animationData:n,play:!0,loop:i?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),f=b.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aL as $,ht as u,Q as y,V as l,o as i,ak as d,al as c}from"./index-DcV3YN51.js";import{n as t}from"./mui-bYXq4XMS.js";import{g as k}from"./BoxItem-8PfNfaHq-B3NqjMnf.js";import{o as v}from"./commonDimensions-B1u_MhON-DBkNP1J8.js";function J({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:f}=e,g=r.length>0?r:m,a=$("0,0.00",x),n=u(f),o=y(),h=l.jsxs(N,{children:[l.jsx(C,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(P,{windowSize:o,children:[l.jsx(D,{children:g}),n!=null?l.jsxs(V,{windowSize:o,children:[l.jsx(A,{windowSize:o}),l.jsx(W,{color:n?.color,children:n?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(B,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{aL as $,ht as u,q as y,V as l,o as i,ak as d,al as c}from"./index-BhteR_e0.js";import{n as t}from"./mui-DLNyBjYF.js";import{g as k}from"./BoxItem-usHxaONy-BSYmkNdH.js";import{o as v}from"./commonDimensions-B-aZt-hB-CyMsSMR_.js";function I({data:e,boxType:w}){const{counterParty:n,typeName:s,amount:x,logo:p,summary:m,direction:b,status:f}=e,g=n.length>0?n:m,a=$("0,0.00",x),r=u(f),o=y(),h=l.jsxs(N,{children:[l.jsx(C,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(P,{windowSize:o,children:[l.jsx(D,{children:g}),r!=null?l.jsxs(R,{windowSize:o,children:[l.jsx(q,{windowSize:o}),l.jsx(V,{color:r?.color,children:r?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(A,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -49,16 +49,16 @@ import{aL as $,ht as u,Q as y,V as l,o as i,ak as d,al as c}from"./index-DcV3YN5
49
49
  word-break: break-word;
50
50
  text-overflow: ellipsis;
51
51
  overflow: hidden;
52
- `,V=t.div`
52
+ `,R=t.div`
53
53
  display: flex;
54
54
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
55
55
  align-items: center;
56
- `,W=t(c)`
56
+ `,V=t(c)`
57
57
  color: ${e=>e.color};
58
58
  -webkit-box-orient: vertical;
59
59
  -webkit-line-clamp: 1;
60
60
  display: -webkit-box;
61
- `,A=t.div`
61
+ `,q=t.div`
62
62
  display: ${e=>e.windowSize==="small"?"none":"block"};
63
63
  width: ${i.sp1};
64
64
  height: ${i.sp1};
@@ -66,11 +66,11 @@ import{aL as $,ht as u,Q as y,V as l,o as i,ak as d,al as c}from"./index-DcV3YN5
66
66
  background-color: ${e=>e.theme.colors.grey1};
67
67
  margin-left: ${i.sp2};
68
68
  margin-right: ${i.sp2};
69
- `,B=t(d)`
69
+ `,A=t(d)`
70
70
  display: -webkit-box;
71
71
  -webkit-box-orient: vertical;
72
72
  -webkit-line-clamp: 1;
73
73
  margin-left: ${i.sp3};
74
74
  text-align: right;
75
75
  width: ${e=>v.amountWidth.valuePx(e.windowSize)};
76
- `;export{J as H};
76
+ `;export{I as H};
@@ -0,0 +1,66 @@
1
+ import{e as S,q as z,hC as C,V as e,bz as D,F,b1 as Y,o as r,p as f,cq as E,dc as L,dd as q,d7 as B,de as I,y as R,ag as V,ak as A,d as g}from"./index-BhteR_e0.js";import{a as b}from"./core-B-FNbYlu.js";import{n as a}from"./mui-DLNyBjYF.js";import{bj as N}from"./zeni-epic-state-HWtMOH-U.js";import{$ as P}from"./BoxItem-usHxaONy-BSYmkNdH.js";import{o as T}from"./commonDimensions-B-aZt-hB-CyMsSMR_.js";import{H}from"./DepositAccTransactionItem-C2oP415b-B5ygx6vl.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const n=F.getLocalizedStrings(),X={listItemMargin:new R(g[3],g[8])};function _(t){const d=L(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=q(d,o=>o.length>0);return B(m,o=>({date:o[0].transactionDate,transactions:I(o,h=>h.transactionDate,"desc")}))}const G=C(_),pt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=b.createRef(),p=b.useRef(null),l=G(t.transactions),k=t.depositAccountName,x=l.length===0,j=i=>x===!1?l[i].transactions.length*T.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(Q,{children:N().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(U,{children:s.transactions.map((M,u)=>e.jsx(H,{data:M,boxType:P(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(J,{children:e.jsx($,{windowSize:o,children:e.jsx(O,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(K,{children:[e.jsx(D,{title:`${k} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(Y,{children:({height:i,width:c})=>e.jsx(Z,{ref:h,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
2
+ margin: ${t=>`${r.sp0} ${X.listItemMargin.valuePx(t.windowSize)}`};
3
+ `,J=a.div`
4
+ display: flex;
5
+ height: 100%;
6
+ flex: 1 1 auto;
7
+ flex-direction: row;
8
+ justify-content: center;
9
+ align-items: flex-end;
10
+ `,K=a.div`
11
+ display: flex;
12
+ height: 100%;
13
+ flex-direction: column;
14
+ width: 100%;
15
+ padding-bottom: ${r.sp7};
16
+ `,O=a(A)`
17
+ display: flex;
18
+ color: ${t=>t.theme.colors.grey2};
19
+ `,Q=a(V)`
20
+ display: flex;
21
+ height: 21px;
22
+ margin-bottom: ${r.sp2};
23
+ margin-top: ${r.sp3};
24
+ color: ${t=>t.theme.colors.grey1};
25
+ `,y=a.div`
26
+ display: flex;
27
+ flex-direction: column;
28
+ width: 100%;
29
+ height: 100%;
30
+ `,U=a.div`
31
+ display: flex;
32
+ flex: 1 1 auto;
33
+ flex-direction: column;
34
+ box-shadow: ${t=>`${r.sp0} 2px ${r.sp1} ${t.theme.colors.dropShadowNormal}`};
35
+ border-radius: ${r.sp2};
36
+ background-color: ${t=>t.theme.colors.grey5};
37
+ `,Z=a(E)`
38
+ scrollbar-width: thin;
39
+ scrollbar-color: transparent transparent;
40
+ &::-webkit-scrollbar {
41
+ width: ${r.sp2};
42
+ height: ${r.sp0};
43
+ background-color: transparent;
44
+ }
45
+ &::-webkit-scrollbar-track {
46
+ box-shadow: inset 0 0 2px ${f.scrollbarBoxShadow};
47
+ -webkit-box-shadow: inset 0 0 2px ${f.scrollbarBoxShadow};
48
+ background-color: transparent;
49
+ }
50
+ &::-webkit-scrollbar-thumb {
51
+ background-color: transparent;
52
+ }
53
+
54
+ &:hover {
55
+ scrollbar-color: ${t=>t.theme.colors.grey1} transparent;
56
+ &::-webkit-scrollbar {
57
+ width: ${r.sp2};
58
+ height: ${r.sp0};
59
+ background-color: transparent;
60
+ }
61
+ &::-webkit-scrollbar-thumb {
62
+ background-color: ${t=>t.theme.colors.grey1};
63
+ border-radius: 2px;
64
+ }
65
+ }
66
+ `;export{pt as default};
@@ -1,4 +1,4 @@
1
- import{Q as Y,a8 as U,F as B,cB as H,aA as Q,V as n,cm as _,cn as q,co as G,ab as J,aO as K,y as u,eR as X,o as Z,b7 as ee,u as a}from"./index-DcV3YN51.js";import{a as N}from"./core-3dlyNYRL.js";import{n as h}from"./mui-bYXq4XMS.js";import{bi as T}from"./zeni-epic-state-BwKvATgd.js";import{e as ne}from"./BankAccountSection-C5rYUW3V-Bq5OdcQr.js";import{j as te}from"./MagicLinkTitleSection-CWw516D8-pIsP-hCT.js";import{W as ae,A as oe}from"./BankAccountWarningSection-DakysSbk-DtGHGGlf.js";import{T as ie}from"./MailingDetailsSection-CugAM90r-1QhNZBqO.js";const i={paddingTopBottom:new u(a[3],a[3]),paddingRight:new u(a[3],a[8]),paddingLeft:new u(a[3],a[6]),buttonWidth:new u(140,140),marginLeft:new u(a[4],a[6])},w="domesticWireDetailsPage",k="bankAccountSection",$="mailingAddressSection",j=e=>`${e}_form`,Ae=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:A,isDisabled:y,companyName:v,isMagicLink:g,currencySymbol:D,amount:R,onSaveHandler:z,onWireDetailsUpdated:L,onFetchBankName:P,onAddressClick:W,onBackClick:C}=e,l=Y(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:N.useMemo(()=>se(s,r),[s,r])}),[E,p]=N.useState(!1),t=B.getLocalizedStrings().spendManagement.billPay.vendorCreation,I=B.getLocalizedStrings().common.footer,M=t.wireDetails.domestic,F={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},V=async(f,m)=>{const d=m[k].bankRoutingNumber;L(m),f===`${k}.bankRoutingNumber`&&d?.length===9&&X.test(d)===!0&&P?.(d)};N.useEffect(()=>{const f=c.watch((m,{name:d})=>{d!=null&&m!=null&&H(()=>V(d,m))});return()=>{f.unsubscribe()}});const O=c.handleSubmit(f=>{b.fetchState!=="In-Progress"&&z("wire")}),S=!Q(A!=null?T(A):A,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[E===!0?n.jsx(_,{titleComponent:n.jsx(G,{children:t.discardTitle}),descriptionComponent:n.jsx(q,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:F}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:v??"",currencySymbol:D??"",amount:R??0}):M.addWireDetails,isMagicLink:g,isDirty:S,onBackClick:C,setShowConfirmationPopup:p}),o?.fetchState==="Error"&&o.error?.code===409?n.jsx(oe,{warningText:t.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:l,children:t.bankAccountCommon.accountDetailsTitle}),n.jsx(J,{...c,children:n.jsxs("form",{id:j(w),onSubmit:O,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:k,isDisabled:y})}),n.jsx(ie,{sectionId:$,isDisabled:y,addressType:x,addressToEdit:r,onAddressClick:W})]})})]}),n.jsx(K,{formId:j(w),primaryBtn:{label:g?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:o.fetchState==="In-Progress",style:{width:i.buttonWidth.value(l)},isDisabled:y!=null},showCancel:!g,cancelBtn:{label:I.cancel,style:{width:i.buttonWidth.value(l)},shouldResetOnCancel:!1,onClick:()=>{S?p(!0):(c.reset(),C?.())}}})]})},se=(e,o)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:o}}),re=e=>{if(e==null)return!1;const{bankAccountName:o,bankAccountNumber:b,bankName:x,bankRoutingNumber:s}=e;return!!o||!!b||!!x||!!s},ce=h.div`
1
+ import{q as U,a8 as q,F as B,cB as H,aA as Q,V as n,cm as X,cn as Z,co as _,ab as G,aO as J,y as u,eR as K,o as Y,b7 as ee,d as a}from"./index-BhteR_e0.js";import{a as N}from"./core-B-FNbYlu.js";import{n as h}from"./mui-DLNyBjYF.js";import{bi as T}from"./zeni-epic-state-HWtMOH-U.js";import{e as ne}from"./BankAccountSection-BVZK5jmO-oboSifeA.js";import{j as te}from"./MagicLinkTitleSection-DnN52Uwb-aNaCMrDN.js";import{W as ae,A as oe}from"./BankAccountWarningSection-DHdeDi15-DsdgRhNS.js";import{T as ie}from"./MailingDetailsSection-DwNF-L2Y-DJJZ9RqI.js";const i={paddingTopBottom:new u(a[3],a[3]),paddingRight:new u(a[3],a[8]),paddingLeft:new u(a[3],a[6]),buttonWidth:new u(140,140),marginLeft:new u(a[4],a[6])},w="domesticWireDetailsPage",k="bankAccountSection",$="mailingAddressSection",j=e=>`${e}_form`,Ae=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:A,isDisabled:y,companyName:v,isMagicLink:g,currencySymbol:D,amount:R,onSaveHandler:z,onWireDetailsUpdated:P,onFetchBankName:L,onAddressClick:W,onBackClick:C}=e,l=U(),c=q({mode:"onBlur",reValidateMode:"onChange",defaultValues:N.useMemo(()=>se(s,r),[s,r])}),[E,p]=N.useState(!1),t=B.getLocalizedStrings().spendManagement.billPay.vendorCreation,I=B.getLocalizedStrings().common.footer,M=t.wireDetails.domestic,F={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},V=async(f,m)=>{const d=m[k].bankRoutingNumber;P(m),f===`${k}.bankRoutingNumber`&&d?.length===9&&K.test(d)===!0&&L?.(d)};N.useEffect(()=>{const f=c.watch((m,{name:d})=>{d!=null&&m!=null&&H(()=>V(d,m))});return()=>{f.unsubscribe()}});const O=c.handleSubmit(f=>{b.fetchState!=="In-Progress"&&z("wire")}),S=!Q(A!=null?T(A):A,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[E===!0?n.jsx(X,{titleComponent:n.jsx(_,{children:t.discardTitle}),descriptionComponent:n.jsx(Z,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:F}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:v??"",currencySymbol:D??"",amount:R??0}):M.addWireDetails,isMagicLink:g,isDirty:S,onBackClick:C,setShowConfirmationPopup:p}),o?.fetchState==="Error"&&o.error?.code===409?n.jsx(oe,{warningText:t.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:l,children:t.bankAccountCommon.accountDetailsTitle}),n.jsx(G,{...c,children:n.jsxs("form",{id:j(w),onSubmit:O,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:k,isDisabled:y})}),n.jsx(ie,{sectionId:$,isDisabled:y,addressType:x,addressToEdit:r,onAddressClick:W})]})})]}),n.jsx(J,{formId:j(w),primaryBtn:{label:g?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:o.fetchState==="In-Progress",style:{width:i.buttonWidth.value(l)},isDisabled:y!=null},showCancel:!g,cancelBtn:{label:I.cancel,style:{width:i.buttonWidth.value(l)},shouldResetOnCancel:!1,onClick:()=>{S?p(!0):(c.reset(),C?.())}}})]})},se=(e,o)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:o}}),re=e=>{if(e==null)return!1;const{bankAccountName:o,bankAccountNumber:b,bankName:x,bankRoutingNumber:s}=e;return!!o||!!b||!!x||!!s},ce=h.div`
2
2
  padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
3
  padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
4
  padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
@@ -7,7 +7,7 @@ import{Q as Y,a8 as U,F as B,cB as H,aA as Q,V as n,cm as _,cn as q,co as G,ab a
7
7
  `,de=h(ee)`
8
8
  color: ${e=>e.theme.colors.champion};
9
9
  margin-left: ${e=>i.marginLeft.valuePx(e.size)};
10
- margin-top: ${Z.sp3};
10
+ margin-top: ${Y.sp3};
11
11
  `,le=h.div`
12
12
  display: flex;
13
13
  flex-direction: column;