@zeniai/web-cockpit-ui 1.15.30-dev → 1.15.31-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 (320) hide show
  1. package/dist/assets/ACHDetailsPage-CxpLuJpQ-JKcW_L_F.js +21 -0
  2. package/dist/assets/{AIPerformancePage-DncCC-Dz-D3G6sKpR.js → AIPerformancePage-BtDuOBey-R_FrOwFb.js} +104 -104
  3. package/dist/assets/AccountInfoPage-DkpBGfrR-CwURNe8d.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-D-dwMWkI-Dbq4xdEd.js → AccountInfoPageContent-BLF92_vF-BcSKCd1r.js} +18 -18
  5. package/dist/assets/AccountLockedInfoModal-AsMkXu1I-DpSC039N.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BL7C23h8-C0V-huzv.js → AccountReconDetailsDrawerPage-CkaBrm5K-DMOtTL8X.js} +12 -12
  7. package/dist/assets/AccountRow-aEmcYP8T-BckNDPBQ.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-BqyCa3EH-C6VYK7eB.js → AccountsPromoCardStack-C0At5pn8-DZihjHYv.js} +26 -26
  9. package/dist/assets/AddAddressForCardDrawer-CbjThbsA-Djr5aTMV.js +6 -0
  10. package/dist/assets/{AddToWalletPage-tRVFR3Rw-CIboPJdI.js → AddToWalletPage-CMJwUbgf-rFPYYVSy.js} +47 -47
  11. package/dist/assets/{AgingReportsPage-BO9qovKL-m3dKXsEf.js → AgingReportsPage-B_BSfude-DWyamJwj.js} +15 -15
  12. package/dist/assets/{AllUserItems-C5uzbqu0-OYaG4ozf.js → AllUserItems-CGlWa60t-EoZjozXY.js} +11 -11
  13. package/dist/assets/{ApAgingDetailPage-Dw4d844_-DnXvQrmX.js → ApAgingDetailPage-DT3vkmLG-BsDDXbrZ.js} +4 -4
  14. package/dist/assets/AppBasePage-CDy7wPlv-CsB4iu-c.js +71 -0
  15. package/dist/assets/{AppDrawerContent-C5KqoZ6_-DSRTCara.js → AppDrawerContent-CEsXm_i6-DCe9idAB.js} +4 -4
  16. package/dist/assets/{ApprovalRulesSettingsPage-nEW4hufu-LHTAH2YF.js → ApprovalRulesSettingsPage-CB2_4-2f-JTvT_FnG.js} +6 -6
  17. package/dist/assets/{ArAgingChart-2eGhMrCs-DnvN-laJ.js → ArAgingChart-qxhWsIQb-D_1Ue9xU.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-CE_nDD48-CIv1_heH.js → ArAgingDetailPage-BbzQryp_-Babiy5ST.js} +4 -4
  19. package/dist/assets/{AttachmentView-DdX3DEyN-D4xdrOUi.js → AttachmentView-duTVxc9g-BoSNnqkS.js} +4 -4
  20. package/dist/assets/{BankAccountSection-Db8KCDjh-7fAQc6F_.js → BankAccountSection-CAwAf9xK-BTGyBjUJ.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-DLKyK-pN-WvpV5xZt.js → BankAccountWarningSection-CaDnP9_--BOTeyp6n.js} +11 -11
  22. package/dist/assets/{BankConnectionsSettingsPage-BcMQdf1D-C4cSmkMm.js → BankConnectionsSettingsPage-CDV7O8cl-CQv6ub4_.js} +10 -10
  23. package/dist/assets/{BillDetailPage-BOoE3r9n-C_-O6tkI.js → BillDetailPage-DJxh2CIc-BeHpC_ZG.js} +13 -13
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-C-M8i0tF-ErR7MbAL.js → BillPayApprovalRuleDetailPage-B2ZPbqtr-CXCcZzHB.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-cqq9M7pi-CM1gLpvJ.js → BillPayApprovalRulesPage-MM7v8ZMx-B1_OO9dS.js} +15 -15
  26. package/dist/assets/{BillPayPromoPage-CHu-sh9I-b6nXHlbY.js → BillPayPromoPage-JK-VOx4W-BEeCN8sy.js} +8 -8
  27. package/dist/assets/{BillPaySetUpPage-ICbZgQZR-DcttrcBB.js → BillPaySetUpPage-h0uoCWMl-D8aqE5Rg.js} +2 -2
  28. package/dist/assets/BillingSettingsPage-gJG9OxD6-Cdnv1hFG.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-Cr-JmUCA-LZ1I5uJ7.js → BillsBulkReviewDrawerPage-CPPDFsZt-C0sV8yKV.js} +1 -1
  30. package/dist/assets/{BoxItem-ChtGcSH1-BjQod1Sp.js → BoxItem-CYe_gTmA-rmtQXiBP.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-Dos8Bnvb-EV3QIoHL.js +138 -0
  32. package/dist/assets/{CardNumberSubText-Dxhe-tx2-BQPvyrmB.js → CardNumberSubText-CFDhtij8-BmUW8oI1.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-BTR9tfZP-DZBth57E.js → CashbackDetailPage-BBGGzKh7-Bts6uMDO.js} +13 -13
  34. package/dist/assets/{ChargeCardDetailPage-D_dF0Nv_-Dp_tBUAA.js → ChargeCardDetailPage-BQhago53-D_FFt-oF.js} +18 -18
  35. package/dist/assets/{ChargeCardListPage-wA3_NOPD-DpPgkdeF.js → ChargeCardListPage-B0E-C3RH-CrU64eoy.js} +23 -23
  36. package/dist/assets/{ChargeCardListTable-8Bgd9bzh-yIMe5GBQ.js → ChargeCardListTable-ByGv0xWl-rSJFMbd2.js} +46 -46
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-mcW9jr2k-CIwmXpSr.js → ChargeCardPaymentHistoryPage-LCY9rFqO-CkY1nhYn.js} +12 -12
  38. package/dist/assets/ChargeCardPromoPage-CKEnOseD-DuGq7XTO.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-BxAJ2HVU-UIApVhks.js → ChargeCardSetupPage-BHv2VOdc-Bv0dAghh.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-CZzDSv5y-C_fNd-Va.js → ChargeCardStatementsPage-UpRXyPTS-DcNMglcu.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-iPcp79Wu-DjNqRhvh.js → CheckDepositDrawerPage-0zbTQ3Fa-Edy7R6vj.js} +21 -21
  42. package/dist/assets/{CollapsableReportTable-Ck29YUyD-C4PUByzW.js → CollapsableReportTable-DlYIKSlQ-COjE28P7.js} +93 -93
  43. package/dist/assets/CompanyOfficerDetailsSection-Ck0xqZ0d-C5sOytCr.js +260 -0
  44. package/dist/assets/{CompanyPassportCard-CCfVNfP0-D2OWbLG1.js → CompanyPassportCard-DeVPuuje-B4Kq9zLA.js} +3 -3
  45. package/dist/assets/CompanyPassportPage-F_GUET9a-DWgtD9ML.js +574 -0
  46. package/dist/assets/{CompleteProfile-C0Qk6P6p-B7DE2SVz.js → CompleteProfile-Y6HwKtpz-CsUQDLc6.js} +2 -2
  47. package/dist/assets/ConfettiBurst-BGE3Okwr-B_KCfg_0.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-XcmcSCP3.js → ConstrainedInnerElement-BeIpAPjB-Dx2Q69aJ.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CmnpkgTu-B-wx5zV_.js → CreateOrEditVendorPage-BlZe6gmh-DxGvfsZR.js} +16 -16
  50. package/dist/assets/{CreditCardPaymentDrawerPage-wPiHCF7z-Dzpo3z2e.js → CreditCardPaymentDrawerPage-flPmyCaF-D3mVRIQk.js} +11 -11
  51. package/dist/assets/{CurrencySelectField-CxIflyKX-BGGnxKIK.js → CurrencySelectField-RiKAivD8-Dz6NASLd.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-CE5B6BET-BPLeksRp.js → CustomerOnboardingActivationPage-B7dLMk4g-D_eaYsMZ.js} +5 -5
  53. package/dist/assets/CustomerOnboardingContainerPage-BHPDhC3d-BBqvBSFY.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton--jL1SUOo-DgoL19Wk.js → CustomerOnboardingDetailPageSkeleton-AWsst0XH-Df3wynLD.js} +14 -14
  55. package/dist/assets/CustomerOnboardingNoStepsPage-Bqid4-rH-CmXil69t.js +66 -0
  56. package/dist/assets/CustomerOnboardingPage-B5LrMzZS-Bw_YjaWD.js +107 -0
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-IUm6QKOQ-BgC9YDnn.js → CustomerOnboardingProductSuitePage-DqgoBLWp-D2XUuLJm.js} +6 -6
  58. package/dist/assets/{Dashboard-CeBbTIiJ-BKwU5QeJ.js → Dashboard-D0KlujCx-D0HvooTT.js} +66 -66
  59. package/dist/assets/{DashboardReportPage-DVIwO5-L-pH5FWjLZ.js → DashboardReportPage-bxKyMsG7-Bb1y4PVD.js} +13 -13
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-Ch0OiH1g-CbEVCb1f.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-B7ErTe-9-ClHyxdVn.js → DepositAccTransactionItem-BdZVCAx--BEQtPnX0.js} +6 -6
  62. package/dist/assets/{DepositAccTransactionListPage-Czm5uOxb-BGyjwBM2.js → DepositAccTransactionListPage-LU0QMdSV-Bfh4B_mk.js} +6 -6
  63. package/dist/assets/{DomesticWireDetailsPage-B3Cib987-CARF9i1d.js → DomesticWireDetailsPage-CFt5GgZ1-Co98r5Ek.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-CS_4lZDV-DTBvhOHI.js → DownloadOverlay-CH_bA3On-bfSkm5Nl.js} +11 -11
  65. package/dist/assets/{DrawerPage-CrCkJ_bE-fj3woT0N.js → DrawerPage-Cpdp-IFb-BRc12KLa.js} +14 -14
  66. package/dist/assets/EditPeoplePage-BYnuNojX-B1GcGpQ9.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-DisSqLai-DnOSaIlo.js → EditReimbursementDetailPage-DnyyPZ26-CeObB7v0.js} +67 -67
  68. package/dist/assets/EntityDetailPage-DSfZZ1JW-Dd0uW0uD.js +18 -0
  69. package/dist/assets/{EntitySummarySection-CmVlq7pY-umvtllpK.js → EntitySummarySection-BFpgAYAM-D1hJybsA.js} +8 -8
  70. package/dist/assets/{ExpenseAutomationOverviewPage-DuWbC5EZ-DbINW0ra.js → ExpenseAutomationOverviewPage-YjOVm_Bw-p-cnIw4N.js} +56 -56
  71. package/dist/assets/ExpenseAutomationPage-DlhH-R-e-C1M6QNQ4.js +1700 -0
  72. package/dist/assets/{ExpressPayPage-DZHOM942-BLmAB792.js → ExpressPayPage-CKqPEfbR-CGYA64IG.js} +14 -14
  73. package/dist/assets/{FeaturePreviewPage-DHomR4Oi-DzHHPfTu.js → FeaturePreviewPage-Cs1Y3nP0-IoYZsFaa.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-C8Zv_X5E-BSPaXUZH.js → FollowStepsSection-BCyL8Jdr-B2UM5UTK.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-BFR_WZdE-jG6gei6c.js → GlobalReviewListPage-CBQFcVHd-Cv9-dFGG.js} +16 -16
  76. package/dist/assets/{InformationCardStack-C39QsHiY-B_SVxEcf.js → InformationCardStack-nFMetrAy-CQVo7xoK.js} +6 -6
  77. package/dist/assets/{InsightsCardStack-Bi2tusdE-DhrD945r.js → InsightsCardStack-CEMeGJXy-CBEUbPAA.js} +7 -7
  78. package/dist/assets/InsightsSection-BYiN2xB7-DRSyBaKY.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-Bj9lE3dy-C8DRNLeo.js → IntegrationsSettingsPage-BQ7g3a3K-BolFhxmH.js} +3 -3
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-HPxS_eP2-Bi_9u824.js → InternationalWireSwiftDetailsPage-BHRYsZgm-D9-8cqjd.js} +20 -20
  81. package/dist/assets/InternationalWireVerificationPage-tJbVtzQP-CBXNZ9Tt.js +292 -0
  82. package/dist/assets/{InviteFormPage-DyUgmNt6-yyWn8Yk_.js → InviteFormPage-BVXte8w8-LmKOVXja.js} +23 -23
  83. package/dist/assets/{InvitePageListView-PbTTJA74-w58xk_rt.js → InvitePageListView-DFPyLLrA-8Qu-82aZ.js} +55 -55
  84. package/dist/assets/InvitePeoplePage-B-uxjkke-hqYTwKtm.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-B9q7nIs0-DaXZuZIR.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-WeFAdE9k-BxW4fu66.js → IssueChargeCardPage-BuLj1bOl-CrhI2RvS.js} +19 -19
  87. package/dist/assets/{LabeledAddressValue-BEiVNwJh-6EnDaIvC.js → LabeledAddressValue-D2t8ti-C-DZj4ysSt.js} +2 -2
  88. package/dist/assets/LabeledAddressValueField-DMcor_I8-1VjKhx0I.js +45 -0
  89. package/dist/assets/LabeledControlledCheckBoxField-B6w2HGJK-UqsSfRFN.js +16 -0
  90. package/dist/assets/{LabeledCreatableSingleSelectField-B-KMzhH--CvW70JID.js → LabeledCreatableSingleSelectField-DHNAX5Pu-BPCw1so2.js} +13 -17
  91. package/dist/assets/LabeledDocumentField-Bx1u7vv_-CXDoMBrK.js +41 -0
  92. package/dist/assets/LabeledDropDownFormattedTextField-BBS4da2b-DZkQmKIJ.js +59 -0
  93. package/dist/assets/{LabeledText-B1BxC4mo-CDiqUP7l.js → LabeledText-zjKn4Cw--KApo6LBw.js} +5 -5
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D0OTplnZ-ClcTuuYx.js → LabeledUserSingleSelectWithSubtitlesField-CIofqRT6-DSUwJJwR.js} +18 -18
  95. package/dist/assets/{LabeledZeniRolesDropDownField-DruyoV6I-gDHLkFnU.js → LabeledZeniRolesDropDownField-DiBtAWQ3-CBaCEhEP.js} +38 -38
  96. package/dist/assets/{LinkJETransactionPage-_GJ-x5FQ-BvKwuUsJ.js → LinkJETransactionPage-D66bzDh_-CkE3r5Fj.js} +14 -14
  97. package/dist/assets/{LockCardPage-BiembyjL-BQgtTNap.js → LockCardPage-B1g2TZWL-BB9OEQ3a.js} +23 -23
  98. package/dist/assets/{LowBalancePopup-DF0W3ZsB-DXIPCFb8.js → LowBalancePopup-DbtHeVY--C1kZvBgV.js} +6 -6
  99. package/dist/assets/MagicLinkACHDetailsPage-X1pXkZYT-BwbjH03_.js +1 -0
  100. package/dist/assets/MagicLinkDomesticWireDetailsPage-BDl8k_bB-CowCmii0.js +1 -0
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-BohPD43K-CrX6QPLC.js → MagicLinkInternationalWireDetailsPage-Q4lIsHtG-Cz_o6Fdm.js} +1 -1
  102. package/dist/assets/MagicLinkSuccessPage-BkxuITX--Dm_WsIEN.js +31 -0
  103. package/dist/assets/{MagicLinkTitleSection-Dlvzbcxc-07YJ3nz_.js → MagicLinkTitleSection-CqkZ9wOf-Bw_OwXxB.js} +4 -4
  104. package/dist/assets/{MailingDetailsSection-BT5P_beR-Chn0pdYc.js → MailingDetailsSection-DRFGCM2W-BZiRRBi6.js} +1 -1
  105. package/dist/assets/{MyBankConnectionsSettingsPage-BSErzm4Y-BPCz_uBa.js → MyBankConnectionsSettingsPage-CE2ZqHBJ-BgvQaaTM.js} +9 -9
  106. package/dist/assets/{MyPendingActivationChargeCardListPage-CC02lTyz-CeD7DjCL.js → MyPendingActivationChargeCardListPage-BffxXDZg-ByY1n8i6.js} +2 -2
  107. package/dist/assets/MyProfileSettingsPage-DrsAlesY-hN8LUcXX.js +85 -0
  108. package/dist/assets/{NavBarWithPicker-BsrNGnWt-CVqlkT83.js → NavBarWithPicker-C4VfP_Kw-CBhRZ97T.js} +5 -5
  109. package/dist/assets/{NavigationArrow-BXIVh8h9-DmlDNFK6.js → NavigationArrow-DCCxx6H7-W7U95qs4.js} +7 -7
  110. package/dist/assets/{NavigationDots-CqAMUVd8-DlLV84YV.js → NavigationDots-tWCw6Bpk-CuIUDxge.js} +4 -4
  111. package/dist/assets/{NewGlobalMerchantPage-BJ5efhOX-45v-8VWf.js → NewGlobalMerchantPage-UIA8zAjd-D8vToc6n.js} +36 -36
  112. package/dist/assets/{NoDataChart-YIESVuNz-DxR56cWr.js → NoDataChart-Bvetk9za-0wt6JdBt.js} +2 -2
  113. package/dist/assets/NoDataTable-9xF1_3XS-DsLBD4Qa.js +8 -0
  114. package/dist/assets/{NotFoundPage-DsvOs3ie-CxEfyKrP.js → NotFoundPage-CdH-3upl-C_fcZJin.js} +5 -5
  115. package/dist/assets/{NotificationSettingsPage-DVfgPnm5-C-9LCnBN.js → NotificationSettingsPage-DP2gGIz1-CLjjU0Sc.js} +17 -17
  116. package/dist/assets/{NotificationsListConfig-DpYbR8ec-BZk6IMbB.js → NotificationsListConfig-DG-DH2Aj-CKXowXh2.js} +1 -1
  117. package/dist/assets/{NotificationsPage-DvWc70qe-CLGgDCba.js → NotificationsPage-CgFMmR2X-Be5cEQ7m.js} +24 -24
  118. package/dist/assets/{OpExByVendorPage-H76M8qaf-DmH_-lZf.js → OpExByVendorPage-eUvIAWzt-PZY_Xas_.js} +20 -20
  119. package/dist/assets/OverlayContainerPage-D4QU0p4o-3r3Bw7Lg.js +11 -0
  120. package/dist/assets/{PandLWithForecastPage-sw9N690f-DE9ix_Dt.js → PandLWithForecastPage-8S06Nyi5-BhQGG0da.js} +11 -11
  121. package/dist/assets/PaymentAccountSetupBillingAddressSection-DQtrANhI-9ZSRDZH6.js +107 -0
  122. package/dist/assets/PeoplePage-D1BLHtO0-sla4AS_t.js +675 -0
  123. package/dist/assets/{Preview-CTKmuGb_.js → Preview-CU8d2zan.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-BcFZaXQq-D-hD1KoW.js → ProductsCarousel-BKSXWnFR-DXZOy7zR.js} +5 -5
  125. package/dist/assets/{PromoBaseCards-BglIl0tN-CTFaf0_7.js → PromoBaseCards-BYT9nEJT-CqAOmcFY.js} +17 -17
  126. package/dist/assets/{QBOConnectionDialog-D9BGyyB3-D-hyd18h.js → QBOConnectionDialog-C2-omQMZ-zbiv02JV.js} +3 -3
  127. package/dist/assets/{QBOSetupSection-C6L-OXzd-Cy1MLcyD.js → QBOSetupSection-lgv5wVlg-y58Hyzd-.js} +16 -16
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-tKu15I_o-BXX_iX2c.js → ReimbursementApprovalRuleDetailPage-CbJViS3x-D3aK08AA.js} +2 -2
  129. package/dist/assets/{ReimbursementApprovalRulesPage-r2WRV6kv-kJbuC_Ut.js → ReimbursementApprovalRulesPage-BuNt-Bmb-C78e8kMC.js} +8 -8
  130. package/dist/assets/{ReimbursementDetailPage-jJxS8CSo-DCuxr8dd.js → ReimbursementDetailPage-CK3-Jqkd-CgZiOEYV.js} +8 -8
  131. package/dist/assets/{ReimbursementPromoPage-CrKB_OxS-Ba_Ei159.js → ReimbursementPromoPage-fptOAJna-IPM14XMn.js} +20 -20
  132. package/dist/assets/{ReimbursementSetUpPage-COWnzuHW-C1onmBtq.js → ReimbursementSetUpPage-CidrpT2g-Ln_h8FTr.js} +12 -12
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-jpGSx2Pg-BNjvse6f.js → ReimbursementsBulkReviewDrawerPage-Cy_Hediw-DgBEVXGU.js} +1 -1
  134. package/dist/assets/{ReloadCard-Dl1P55OC-PqG6EjQo.js → ReloadCard-C81rGzOp-DJ3imZKo.js} +5 -5
  135. package/dist/assets/{ReportTableViewSelector-CPU5qvuC-D9eIuNWz.js → ReportTableViewSelector-neRSjrhV-Ren0yuJI.js} +9 -9
  136. package/dist/assets/{ReportsPage-FhO_9i3v-BqM0631G.js → ReportsPage-BhzQVaer-_PFG_SDT.js} +5 -5
  137. package/dist/assets/{RevenueChart-Bju5kT8K-CLZ32HGB.js → RevenueChart-x7uTbFlm-De__t5uZ.js} +18 -18
  138. package/dist/assets/{ReviewDetailsPage-CaEI-TGi-Bc73PbER.js → ReviewDetailsPage-jXZCylzg-CxWQeENN.js} +52 -52
  139. package/dist/assets/{ReviewOverlay-l69rpwr7-Dr7rxtnO.js → ReviewOverlay-nlm2HnGw-CrtXVWUE.js} +18 -18
  140. package/dist/assets/RoleWithToolTip-C29QOzxS-Flc5rF91.js +22 -0
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BRsO23kh-dDbnlnbP.js → ScheduleDetailsFixedAssetsPage-CkPzofLN-DIX9LFTM.js} +8 -8
  142. package/dist/assets/ScheduleDetailsPage-BSZefKOh-8kI1Do_y.js +37 -0
  143. package/dist/assets/{ScheduleSequenceTable-CeHDyMVV-BA7tEH_s.js → ScheduleSequenceTable-BW5M7Zfq-BxUxwc-r.js} +42 -42
  144. package/dist/assets/{ScreenRoutes-D50KKBnw.js → ScreenRoutes-CLhWgWVO.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-rRjmVlU7-VDyxWMzU.js → SetUpAccountSection-C703iFL6-CB7BMbY7.js} +5 -5
  146. package/dist/assets/SignIn-D9K5FklU-DoHIITb_.js +491 -0
  147. package/dist/assets/SignInScreen-BUCf8qGW.js +1 -0
  148. package/dist/assets/{SpendManagementListViewPage-B452IhbL-TWCl13gF.js → SpendManagementListViewPage-CBNtC74m-BtgixD4n.js} +12 -12
  149. package/dist/assets/{SpendManagementPerTabPage-BDYtqf0E-ik6oQrCv.js → SpendManagementPerTabPage-D_sa7WRd-BkE5ihPf.js} +23 -23
  150. package/dist/assets/{SpendManagementSection-BBotB3Xj-DXZ-WUxC.js → SpendManagementSection-DpZUTV6m-Dxy1NGgK.js} +25 -25
  151. package/dist/assets/{StatementItem-hqxspUme-BUYqqJPu.js → StatementItem-DvdSsb8I-Yc2t3LwG.js} +6 -6
  152. package/dist/assets/{StatementsPage-CL35o_9R-TfMK-pd1.js → StatementsPage-73jGj5P2-39XE15IE.js} +1 -1
  153. package/dist/assets/{StatusSwitcher-LSy5NlOs-Cp5AKxg-.js → StatusSwitcher-hKYgwNLC-CdIzFF5N.js} +2 -2
  154. package/dist/assets/{SubTabSwitcher-BB80NFhP-2jy_qhgj.js → SubTabSwitcher-aeDd9xiF-cMszftZd.js} +2 -2
  155. package/dist/assets/{SummaryCard-wJqTtNFt-BsTr0JdI.js → SummaryCard-CK8Gxbiu-D9gdCQ60.js} +1 -1
  156. package/dist/assets/TaskManagementPage-D2Ooq8DR-BCLu8T25.js +508 -0
  157. package/dist/assets/{TimeRangeSwitcher-B1jJf76U-DtYpu1mK.js → TimeRangeSwitcher-DEqlZxa6-CbVp5G_Z.js} +11 -11
  158. package/dist/assets/{TimeframeSwitcher-CTyaOUPX-CUY8xGFr.js → TimeframeSwitcher-BppC6giF-B4vl7lp6.js} +6 -6
  159. package/dist/assets/TimeframeSwitcherWithToggle-CbX9ElMN-CKuHpWeL.js +31 -0
  160. package/dist/assets/{TopExCard-D-0SNihe-ZpE9qsPN.js → TopExCard-Cy6tPVSx-DoueUq-S.js} +6 -6
  161. package/dist/assets/{TopExDetailPage-2Wo3VpBY-DOpuhpkX.js → TopExDetailPage-Rtrcdkcp-Bee2kIbH.js} +11 -11
  162. package/dist/assets/{TransactionActivityLogPage-Bh3D2NmZ-DXQUHRmX.js → TransactionActivityLogPage-DbwSsjPJ-Duhd9ppW.js} +15 -15
  163. package/dist/assets/TransactionDetailPage-D-vXAAB7-K9QSYBJd.js +903 -0
  164. package/dist/assets/{TransactionList-DUgCrZWV-BsOtXGXL.js → TransactionList-BruCNjQg-Bs3Zye0k.js} +16 -16
  165. package/dist/assets/{TransactionListBig-BXR8xSqt-DS-QLlyN.js → TransactionListBig-bp7q3prH-DtAaFzgB.js} +13 -13
  166. package/dist/assets/TransactionListPage-ZfJsaVb8-DDRcg9yh.js +35 -0
  167. package/dist/assets/{TransactionVendorDetailPage-D0ZIWPbx-BQMZxgAV.js → TransactionVendorDetailPage-CldkuO2--BwneqCS_.js} +15 -15
  168. package/dist/assets/{TransferDrawerPage-BP4KhD5c-DNhK3jLa.js → TransferDrawerPage-DswS6KZf-lfQEHAd_.js} +35 -35
  169. package/dist/assets/{TreasuryOverviewPage-CrYY5MJP-CSAwDWYp.js → TreasuryOverviewPage-DWo7iRpO-DwVZc_ol.js} +15 -15
  170. package/dist/assets/{TreasuryPromoPage-DZ4Kyqzq-C0Hayxbd.js → TreasuryPromoPage-DQxCF3-4-CSmOO24g.js} +131 -131
  171. package/dist/assets/{TreasuryStatementsPage-BaId882i-TGXLFLOt.js → TreasuryStatementsPage-CYkPtmaT-DN6XWXk4.js} +2 -2
  172. package/dist/assets/{TreasuryTaxLetterPage-BD36dset-CgUwGPhz.js → TreasuryTaxLetterPage-DH3su_rX-KVvmjWUc.js} +2 -2
  173. package/dist/assets/{TrendChart-CS2cE4wE-BAjN56AW.js → TrendChart-BMHDaOeh-Buv1h9ol.js} +3 -3
  174. package/dist/assets/{TrendWithTransactions-BNti0lYr-CupF-ouh.js → TrendWithTransactions-DDLrmIrt-fNUGa6rL.js} +3 -3
  175. package/dist/assets/{UncategorizedAccountsMappingPage-BsRepV5l-CqKwtcl-.js → UncategorizedAccountsMappingPage-3SW8Gj0Z-BU7ZjTMQ.js} +12 -12
  176. package/dist/assets/{UnitIntegrationPage-DqzH4Opa-DVf3e9Kc.js → UnitIntegrationPage-DPMy8dXP-BZ-cXQsX.js} +7 -7
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-BIzKt99W-DhZCGDG3.js → UploadAdditionalDocumentOverlay-BHpT2al--BnkxVa5e.js} +1 -1
  178. package/dist/assets/Vendor2FAPopup-C6gEOhUv-evnz1t4i.js +1 -0
  179. package/dist/assets/VendorACHDetailsPage-LNCcubjL-C8VaJhNx.js +1 -0
  180. package/dist/assets/{VendorDetailPage-C9YSL-3_-DZGykXKE.js → VendorDetailPage-BC1FhaQA-CueuZtdN.js} +12 -12
  181. package/dist/assets/{VendorDomesticWireDetailsPage-CqnTEv1M-BPuNMFYE.js → VendorDomesticWireDetailsPage-CLudahOt-Y_vODi9v.js} +1 -1
  182. package/dist/assets/{VendorFiling1099EditablePage-CmnR7Dwc-DgLszr9z.js → VendorFiling1099EditablePage-DYyPOA8D-CMg58Qh3.js} +32 -32
  183. package/dist/assets/{VendorFirstReviewPage-CAjuo6H2-DZOfU9yk.js → VendorFirstReviewPage-Cpmk7rDk-DktpXCT6.js} +8 -8
  184. package/dist/assets/{VendorInternationalWireDetailsPage-Ca1voldE-HFASmH_V.js → VendorInternationalWireDetailsPage-CWAWq6kq-vjVbUdxz.js} +9 -9
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CUtums8t-ChJiB8Jl.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-BY-jWDwa-DAUUORK8.js → VendorsAccountsSection-CGQ35Mhp-Bs7nzLpL.js} +2 -2
  187. package/dist/assets/{VerifyDevice-DSN3CxFh-Bi-kGmEN.js → VerifyDevice-CfMJW1Vh-pAakXHUa.js} +9 -9
  188. package/dist/assets/{VideoPlayer-BzBvO4D1-DXw1tjxz.js → VideoPlayer-BNBpjXJk-CNvH9RBW.js} +2 -2
  189. package/dist/assets/{VideoPopup-BB6qYshg-Jl0GqeqK.js → VideoPopup-BF6lmB7l-BYaaNsYn.js} +4 -4
  190. package/dist/assets/{WarningsDrawerPage-B4NIhdau-CF-G0BuB.js → WarningsDrawerPage-Crj70lnR-KEtM2APc.js} +3 -3
  191. package/dist/assets/{ZeniAccountDetailPage-CbMnZZXn-CK0OqnqL.js → ZeniAccountDetailPage-CaA6m3tQ-CEYZpiUC.js} +10 -10
  192. package/dist/assets/{ZeniAccountListViewPage-DuuiC_LT-D_lNPUTn.js → ZeniAccountListViewPage-x_51gDs1-Avk4qZ_6.js} +9 -9
  193. package/dist/assets/ZeniAccountNavBarPieces-Csr24dri-DksQYhl9.js +14 -0
  194. package/dist/assets/{ZeniAccountPromoPage-Bce5rHc6-vVu4g89P.js → ZeniAccountPromoPage-lxKBk2r5-B5zalg2W.js} +13 -13
  195. package/dist/assets/{ZeniAccountSetupPage-Cwr7kLE1-CoBt9y0X.js → ZeniAccountSetupPage-DUI4-2Zw-DRlq62qF.js} +3 -3
  196. package/dist/assets/{ZeniCopyright-CPV8cCJj-JmJFcE0S.js → ZeniCopyright-DxEZ4DiK-hTA8S1dS.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-CSJnweYQ-CLfwGJf8.js → ZeniTransferAmountSlider-4Nq4Sm9J-DVwizo2l.js} +11 -11
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-Bh5GmIs8.js → add-to-wallet-DgdBD8_G-DYxovDvY.js} +1 -1
  199. package/dist/assets/{analytics-C7qRceeD.js → analytics-Cmcqa01V.js} +1 -1
  200. package/dist/assets/{analyticsHelper-CeIe3crh-ruFTPZIn.js → analyticsHelper-CL-t3Y2i-BWhNt6sH.js} +1 -1
  201. package/dist/assets/analyticsHelper-DVKjUmRh.js +1 -0
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-DKJtOEDh.js → arrow-south-east-round-PEovUgvH-Cg10bY7L.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-BtLYBoTe.js → auto-transfer-rule-mbafm5D3-BzGzQRiq.js} +1 -1
  204. package/dist/assets/{chartTypes-Cpjk7Uyr-BFVm6fL4.js → chartTypes-B3501CSI-EaJM1gmS.js} +1 -1
  205. package/dist/assets/{commonDimensions-BiY7_JPE-DvdrP9mk.js → commonDimensions-YcBBlmYP-Djn7MvQY.js} +1 -1
  206. package/dist/assets/{constants-BSSpHQLd.js → constants-CO0CvGHR.js} +1 -1
  207. package/dist/assets/{core-BdfL-uia.js → core-MmJvanAX.js} +1 -1
  208. package/dist/assets/{dash.all.min-BHbNWZhu.js → dash.all.min-BtkViWW9.js} +1 -1
  209. package/dist/assets/{detailCommon-C7usWt5l-CDexfvl6.js → detailCommon-C19MYPnq-K0CC_UYn.js} +2 -2
  210. package/dist/assets/downloadPdf-DPAqxw6u-DNPeICgY.js +1 -0
  211. package/dist/assets/{empty-B_wp4jbR.js → empty-B8yNMhy_.js} +1 -1
  212. package/dist/assets/{empty-BfoY8avI.js → empty-wbHL4fCk.js} +1 -1
  213. package/dist/assets/epic-cC-V8fqP.js +2 -0
  214. package/dist/assets/{gift-box-Cmt9OgIZ-CTA3oEEm.js → gift-box-Cmt9OgIZ-mKGEn6_z.js} +1 -1
  215. package/dist/assets/{graphic-no-data-l-DU4J8fDt-B-BNuWuf.js → graphic-no-data-l-DU4J8fDt-DL4eASZx.js} +1 -1
  216. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BKSa_BmO.js → graphic-no-data-net-burn-l-CzmycA0m-CPdXbVAf.js} +1 -1
  217. package/dist/assets/{handshake-BPg58FML-BspGwKvx.js → handshake-BPg58FML-D9DqrV5o.js} +1 -1
  218. package/dist/assets/{index-DQGwrG6i.js → index-B2COPa4J.js} +1 -1
  219. package/dist/assets/{index-97wdo8qZ.js → index-BALzBmnK.js} +1 -1
  220. package/dist/assets/{index-CLP97b5b.js → index-BMz5TN4Z.js} +1 -1
  221. package/dist/assets/{index-2U9XpSIT.js → index-BZrvYCMV.js} +1 -1
  222. package/dist/assets/{index-BE47hrTe.js → index-Bj85L4uf.js} +1 -1
  223. package/dist/assets/{index-Blb3rESX.js → index-BmeBEa4W.js} +1 -1
  224. package/dist/assets/{index-BPZ0_UEx.js → index-DK3PYuee.js} +4083 -4077
  225. package/dist/assets/{lexical-CNiclLj0.js → lexical-DyUba00B.js} +1 -1
  226. package/dist/assets/{liveblocks-Lf8LVeH9.js → liveblocks-DzWLGwR5.js} +1 -1
  227. package/dist/assets/{lottie-BAIk2ri4.js → lottie-C8IpdMqp.js} +1 -1
  228. package/dist/assets/mapLoadingInProgressToTreeNode-D2u9MDI--B6CSGc2J.js +1 -0
  229. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-COWbEMKO-BV9EavoR.js → mapSectionWithAcOnlyToTreeNode-BDWD3x8r-BZO45bNY.js} +1 -1
  230. package/dist/assets/mapSpacerToTreeNode-Blr3egSm-BptZuVYf.js +1 -0
  231. package/dist/assets/mapTimeframeBalancesToTreeNode-3Hd8QHr2-BTUA7CSo.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-D-LTfKnD-DSTIJ2iA.js +1 -0
  233. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-mmJVrGj0-CganeL6g.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CffU-RPP-Dqp5HT1g.js} +1 -1
  234. package/dist/assets/{mui-Dg-yyLd1.js → mui-CgqbPqeT.js} +1 -1
  235. package/dist/assets/{page-detail-CWX5S47F-C9V7NZCx.js → page-detail-CWX5S47F-CWr90kJa.js} +1 -1
  236. package/dist/assets/panelSelectedMixin-CzfD5-Zs-DRCw2iu0.js +4 -0
  237. package/dist/assets/{radio-default-CiSgisfh-7Dm34YkL.js → radio-default-CiSgisfh-BEZqUVYK.js} +1 -1
  238. package/dist/assets/{react-afxvtM8P.js → react-BE0WbgXK.js} +2 -2
  239. package/dist/assets/{react-BYCJSJzc.js → react-BWJsSx2R.js} +2 -2
  240. package/dist/assets/{react-XQWanSnz.js → react-BgXIf4f3.js} +1 -1
  241. package/dist/assets/{react-CmD2oDdV.js → react-C4LlJL88.js} +1 -1
  242. package/dist/assets/{react-CLIsPthr.js → react-CMcqnen6.js} +1 -1
  243. package/dist/assets/{react-CK1-HLiI.js → react-COyNmpZ3.js} +1 -1
  244. package/dist/assets/{react-CXimFM-A.js → react-DsUgK5BV.js} +1 -1
  245. package/dist/assets/{react-RbEMA7cG.js → react-DzUY3cKk.js} +1 -1
  246. package/dist/assets/{recharts-DVyIhUUu.js → recharts-CcfvjpA4.js} +1 -1
  247. package/dist/assets/{sentry-nVlxguQq.js → sentry-DS5py-mq.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-DoCKBSgZ.js → shield-DOlUxcFf-BF58Ag0p.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-D35Fk0m2-B_xF911W.js +1 -0
  250. package/dist/assets/toChartData-DzatRnt8-DoRfMwGl.js +1 -0
  251. package/dist/assets/{uploadAttachment-B3eC-lyz-B0nHI4xk.js → uploadAttachment-Bq8dk-Sm-D_5FZVYa.js} +18 -18
  252. package/dist/assets/{uploadReceipts-Dge0cNF1-dwFMCGnO.js → uploadReceipts-Dge0cNF1-v2Zp1kxY.js} +1 -1
  253. package/dist/assets/{url-3XfBQAPr.js → url-B1m04Aj9.js} +1 -1
  254. package/dist/assets/{url-A_ZszWlu.js → url-rEq3bn1J.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-BmH9C_mp.js → useLongPress-GCK2COYQ-BbRZopJb.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-iPZVfl3G.js → usp-line-BBd1wKwW-C_HT3NYA.js} +1 -1
  257. package/dist/assets/{utils-Bn_xI0qf.js → utils-C5WTobSB.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-DwXlACp-.js → zeni-epic-state-QRf7TPA6.js} +18 -18
  259. package/dist/index.html +1 -1
  260. package/package.json +4 -4
  261. package/dist/assets/ACHDetailsPage-BR3rG--e-D2_LFn30.js +0 -21
  262. package/dist/assets/AccountInfoPage-CD5N14l8-POhlTbPm.js +0 -18
  263. package/dist/assets/AccountLockedInfoModal-Bu3jEa0r-DRCGU_-r.js +0 -59
  264. package/dist/assets/AccountRow-B5Gqqqtn-B2ab5e7e.js +0 -298
  265. package/dist/assets/AddAddressForCardDrawer-BwmafnJT-Ba-xRLW9.js +0 -6
  266. package/dist/assets/AppBasePage-BMHvSY21-DiAzqDoX.js +0 -71
  267. package/dist/assets/BillingSettingsPage-DYdJ7J5w-nKMt_tqW.js +0 -44
  268. package/dist/assets/BusinessVerificationPage-CyDHfWqO-s-eVbnix.js +0 -138
  269. package/dist/assets/ChargeCardPromoPage-BPyHy6jq-EG0Y0jIo.js +0 -222
  270. package/dist/assets/CompanyOfficerDetailsSection-CEpMwx3h-D1MF6UPf.js +0 -331
  271. package/dist/assets/CompanyPassportPage-S00SGN0f-DChjXEwN.js +0 -417
  272. package/dist/assets/ConfettiBurst-BFSc4yf1-Bb3-1CUU.js +0 -1
  273. package/dist/assets/CustomerOnboardingContainerPage-CyY14sjC-U3ET6sDq.js +0 -1
  274. package/dist/assets/CustomerOnboardingNoStepsPage-DtAEP0LR-BBA3-H-1.js +0 -66
  275. package/dist/assets/CustomerOnboardingPage-8fLLsJWV-Cl7RVN5-.js +0 -107
  276. package/dist/assets/DashboardSidebarBackgroundAnimation-CntzllmW-BTAOBj42.js +0 -12
  277. package/dist/assets/EditPeoplePage-CbH2FQwr-Dc9u9Y3N.js +0 -55
  278. package/dist/assets/EntityDetailPage-CPfVH0Qx-DTuhKWD_.js +0 -18
  279. package/dist/assets/ExpenseAutomationPage-DBW9Urqw-BLqr1_km.js +0 -1794
  280. package/dist/assets/InsightsSection-CKYv2Mnk-CMDaS26i.js +0 -27
  281. package/dist/assets/InternationalWireVerificationPage-0DjZSpXZ-BFgqlc0H.js +0 -65
  282. package/dist/assets/InvitePeoplePage-CD1AM3Js-2Vxumr-a.js +0 -12
  283. package/dist/assets/InvoiceUploadSection-DPN2hpHj-BXu1QXvI.js +0 -140
  284. package/dist/assets/LabeledAddressValueField-CeyT4xDd-BvfbCZea.js +0 -45
  285. package/dist/assets/LabeledControlledCheckBoxField-9wqNy7sL-BEJkWulK.js +0 -16
  286. package/dist/assets/LabeledCountryMultiSelectField-S16_1kXP-UlJPnrtq.js +0 -237
  287. package/dist/assets/LabeledDocumentField-9m7Nhuth-CkOtgSAA.js +0 -41
  288. package/dist/assets/LabeledDropDownFormattedTextField-B_jJYbeK-PbQrO6eI.js +0 -59
  289. package/dist/assets/MagicLinkACHDetailsPage-p0Nwa4g8-DTvViT4t.js +0 -1
  290. package/dist/assets/MagicLinkDomesticWireDetailsPage-B_wnHSrq-Cz4K_Hkr.js +0 -1
  291. package/dist/assets/MagicLinkSuccessPage-RJUcSgy8-CnQ9391t.js +0 -31
  292. package/dist/assets/MyProfileSettingsPage-BM5j8vuZ-D6xmAoOb.js +0 -85
  293. package/dist/assets/NoDataTable-CHeZXDKw-DlmRPcbA.js +0 -8
  294. package/dist/assets/OverlayContainerPage-D4QU0p4o-COyWocbB.js +0 -11
  295. package/dist/assets/PaymentAccountSetupBillingAddressSection-D_rfYltd-BrO8Jg79.js +0 -107
  296. package/dist/assets/PeoplePage-D0ePO3d9-CxNhgJ1D.js +0 -727
  297. package/dist/assets/RoleWithToolTip-C4vCwcT8-C6dR3RYf.js +0 -22
  298. package/dist/assets/ScheduleDetailsPage-pKJSKheu-CETheSQx.js +0 -37
  299. package/dist/assets/SignIn-zX3S7vuf-B6rD6GnF.js +0 -491
  300. package/dist/assets/SignInScreen-BiRGIzoF.js +0 -1
  301. package/dist/assets/TaskManagementPage-CnB395ci-B2Pevaa4.js +0 -508
  302. package/dist/assets/TimeframeSwitcherWithToggle-D48PqfUX-BOxnTPru.js +0 -31
  303. package/dist/assets/TransactionDetailPage-NZEjiM1T-BGAbWz8k.js +0 -903
  304. package/dist/assets/TransactionListPage-BhY1YX8v-D8gtIhpi.js +0 -35
  305. package/dist/assets/Vendor2FAPopup-BzQXTs0l-BcKh-GwF.js +0 -1
  306. package/dist/assets/VendorACHDetailsPage-D1DvwT9e-H_zR5eA1.js +0 -1
  307. package/dist/assets/VendorInternationalWireSwiftDetailsPage-B17rmnsI-xxPWVLYY.js +0 -1
  308. package/dist/assets/ZeniAccountNavBarPieces-CLNviNEx-Ct9cJGJf.js +0 -14
  309. package/dist/assets/analyticsHelper-DdyBOS3c.js +0 -1
  310. package/dist/assets/commonTypes-B1ylXa_P-CHogy7bq.js +0 -1
  311. package/dist/assets/downloadPdf-DRVFJQsk-Cc-9O8x2.js +0 -1
  312. package/dist/assets/epic-BcpbmT-B.js +0 -2
  313. package/dist/assets/helper-Bwr_8pRi-BezSaeYe.js +0 -223
  314. package/dist/assets/mapLoadingInProgressToTreeNode-DkvfU-AQ-BbnpqVZY.js +0 -1
  315. package/dist/assets/mapSpacerToTreeNode-Csr6iLbE-BUQp66A_.js +0 -1
  316. package/dist/assets/mapTimeframeBalancesToTreeNode-DWah9nq--BLW1ZcCy.js +0 -1
  317. package/dist/assets/mapTimeframeBalancesToTreeNode-KUx30-z6-BBnKHsqs.js +0 -1
  318. package/dist/assets/panelSelectedMixin-Cddsb26L-BcWH15GY.js +0 -3
  319. package/dist/assets/toCOABalancesWithID-BOdn6oVS-6ioKjlBn.js +0 -1
  320. package/dist/assets/toChartData--znXzhow-CzN3PXN2.js +0 -1
@@ -1,4 +1,4 @@
1
- import{J as B,d as Z,F as _,ax as ke,V as s,bD as Xe,m as qe,A as Je,bE as Ke,o as d,y as N,aF as K,bF as Qe,bG as et,aj as oe,u as C,b4 as tt,aW as st,x as Oe,i as Be,p as D,ar as Pe,aV as ot,bb as at,ao as nt,bH as it,au as rt,bI as ct,bJ as ne,bK as lt,at as dt,an as pt,bL as ut,bM as gt}from"./index-BPZ0_UEx.js";import{a as S,P as Q}from"./sentry-nVlxguQq.js";import{n as u,k as Ie}from"./mui-Dg-yyLd1.js";import{bg as mt,ET as ht,Ed as ft,EU as bt,EV as xt,EW as _t,EX as wt,EY as yt,EZ as St,E_ as vt,E$ as $t}from"./zeni-epic-state-DwXlACp-.js";import{m as G,l as se}from"./analyticsHelper-CeIe3crh-ruFTPZIn.js";import{g as jt,x as Ct}from"./ReportTableViewSelector-CPU5qvuC-D9eIuNWz.js";import{F as kt}from"./InsightsSection-CKYv2Mnk-CMDaS26i.js";import{q as Ot,G as Bt,k as xe,H as ee,N as pe}from"./detailCommon-C7usWt5l-CDexfvl6.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-Bju5kT8K-CLZ32HGB.js";import{C as Nt}from"./NoDataChart-YIESVuNz-DxR56cWr.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-B1jJf76U-DtYpu1mK.js";import{b as Ne}from"./TimeframeSwitcher-CTyaOUPX-CUY8xGFr.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-Ck29YUyD-C4PUByzW.js";import{S as zt,M as At,g as Mt,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-COWbEMKO-BV9EavoR.js";import{d as Et}from"./NoDataTable-CHeZXDKw-DlmRPcbA.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-mmJVrGj0-CganeL6g.js";import{d as he}from"./mapLoadingInProgressToTreeNode-DkvfU-AQ-BbnpqVZY.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./NavigationDots-CqAMUVd8-DlLV84YV.js";import"./chartTypes-Cpjk7Uyr-BFVm6fL4.js";import"./toCOABalancesWithID-BOdn6oVS-6ioKjlBn.js";import"./toChartData--znXzhow-CzN3PXN2.js";import"./AccountRow-B5Gqqqtn-B2ab5e7e.js";import"./graphic-no-data-l-DU4J8fDt-B-BNuWuf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3dafd390-caf4-46df-bb3c-3d0ea6724e18",e._sentryDebugIdIdentifier="sentry-dbid-3dafd390-caf4-46df-bb3c-3d0ea6724e18")}catch{}})();const Ft=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.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"}),S.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"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.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"}),S.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"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.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{J as B,e as Z,F as _,aw as ke,V as s,bD as Xe,T as qe,x as Je,bE as Ke,o as d,y as N,aE as K,bF as Qe,bG as et,ai as oe,u as j,b4 as tt,aW as st,c as Oe,i as Be,p as D,aq as Pe,aV as ot,bb as at,an as nt,bH as it,at as rt,bI as ct,bJ as ne,bK as lt,as as dt,am as pt,bL as ut,bM as gt}from"./index-DK3PYuee.js";import{a as S,P as Q}from"./sentry-DS5py-mq.js";import{n as u,k as Ie}from"./mui-CgqbPqeT.js";import{bg as mt,ER as ht,Eb as ft,ES as bt,ET as xt,EU as _t,EV as wt,EW as yt,EX as St,EY as vt,EZ as $t}from"./zeni-epic-state-QRf7TPA6.js";import{m as G,l as se}from"./analyticsHelper-CL-t3Y2i-BWhNt6sH.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-neRSjrhV-Ren0yuJI.js";import{F as kt}from"./InsightsSection-BYiN2xB7-DRSyBaKY.js";import{q as Ot,G as Bt,k as xe,H as ee,N as pe}from"./detailCommon-C19MYPnq-K0CC_UYn.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-x7uTbFlm-De__t5uZ.js";import{C as Nt}from"./NoDataChart-Bvetk9za-0wt6JdBt.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-DEqlZxa6-CbVp5G_Z.js";import{b as Ne}from"./TimeframeSwitcher-BppC6giF-B4vl7lp6.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-DlYIKSlQ-COjE28P7.js";import{S as zt,M as At,g as Et,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-BDWD3x8r-BZO45bNY.js";import{d as Mt}from"./NoDataTable-9xF1_3XS-DsLBD4Qa.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CffU-RPP-Dqp5HT1g.js";import{d as he}from"./mapLoadingInProgressToTreeNode-D2u9MDI--B6CSGc2J.js";import"./liveblocks-DzWLGwR5.js";import"./core-MmJvanAX.js";import"./recharts-CcfvjpA4.js";import"./lottie-C8IpdMqp.js";import"./analytics-Cmcqa01V.js";import"./lexical-DyUba00B.js";import"./utils-C5WTobSB.js";import"./NavigationDots-tWCw6Bpk-CuIUDxge.js";import"./chartTypes-B3501CSI-EaJM1gmS.js";import"./toCOABalancesWithID-D35Fk0m2-B_xF911W.js";import"./toChartData-DzatRnt8-DoRfMwGl.js";import"./AccountRow-aEmcYP8T-BckNDPBQ.js";import"./graphic-no-data-l-DU4J8fDt-DL4eASZx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5da10bc3-b26b-45c6-ac2e-765ba137e635",e._sentryDebugIdIdentifier="sentry-dbid-5da10bc3-b26b-45c6-ac2e-765ba137e635")}catch{}})();const Ft=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.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"}),S.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"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.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"}),S.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"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.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{J as B,d as Z,F as _,ax as ke,V as s,bD as Xe,m as qe,A as Je,bE as Ke,o
17
17
  justify-content: center;
18
18
  flex-direction: column;
19
19
  margin-top: ${d.sp3};
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 Xt=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 Ct(e.statementEndPoint,e.authParams,t)}const Xt=u.div`
21
21
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
22
22
  `;function qt({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(Xt,{children:s.jsx(ee,{balance:p,dateText:o,showInfotip:!1})})}const Jt=u.div`
23
23
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
@@ -36,7 +36,7 @@ import{J as B,d as Z,F as _,ax as ke,V as s,bD as Xe,m as qe,A as Je,bE as Ke,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(Kt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(qt,{highlightedRangeReport:e});default:return null}},J={wrapperPadding:new N(C[3],C[3],C[8]),chartHeight:new N(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(Kt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(qt,{highlightedRangeReport:e});default:return null}},J={wrapperPadding:new N(j[3],j[3],j[8]),chartHeight:new N(288,360)},ls=u.div`
40
40
  display: flex;
41
41
  flex: 1 1 auto;
42
42
  flex-direction: column;
@@ -89,12 +89,12 @@ import{J as B,d as Z,F as _,ax as ke,V as s,bD as Xe,m as qe,A as Je,bE as Ke,o
89
89
  width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"100%":"620px"};
90
90
  height: 544px;
91
91
  text-align: center;
92
- `,Me=u.div`
92
+ `,Ee=u.div`
93
93
  display: flex;
94
94
  justify-content: flex-end;
95
95
  width: 100%;
96
96
  padding: ${d.sp3} ${d.sp4};
97
- `,Ee=u.div`
97
+ `,Me=u.div`
98
98
  color: ${e=>e.theme.colors.hero};
99
99
  width: ${d.sp3};
100
100
  height: ${d.sp3};
@@ -163,7 +163,7 @@ import{J as B,d as Z,F as _,ax as ke,V as s,bD as Xe,m as qe,A as Je,bE as Ke,o
163
163
  margin-top: ${d.sp7};
164
164
  margin: auto;
165
165
  color: ${e=>e.theme.colors.primary};
166
- `,js=u(Pe)`
166
+ `,Cs=u(Pe)`
167
167
  max-width: 330px;
168
168
  margin: auto;
169
169
  color: ${D.primaryDark};
@@ -171,7 +171,7 @@ import{J as B,d as Z,F as _,ax as ke,V as s,bD as Xe,m as qe,A as Je,bE as Ke,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
- `,Cs=u.div`
174
+ `,js=u.div`
175
175
  display: flex;
176
176
  flex-direction: column;
177
177
  align-items: center;
@@ -197,7 +197,7 @@ import{J as B,d as Z,F as _,ax as ke,V as s,bD as Xe,m as qe,A as Je,bE as Ke,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(ys,{children:[s.jsx(Ss,{}),s.jsx(vs,{})]}),We=({imgSrc:e})=>{const t=B();return s.jsxs(Cs,{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=Te[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})]})]})})]})},Is=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=Te[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($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}),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(Is,{...e})}const de="ZeniSwitch",z={root:`${de}-root`,switchBase:`${de}-switchBase`,track:`${de}-track`},Ls=({className:e,...t})=>s.jsx(lt,{...t,className:e,classes:{...z}}),Rs=u(Ls)(({theme:e})=>({[`& .${z.switchBase}`]:{color:e.colors.grey2},[`& .${z.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${z.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${z.switchBase}.Mui-checked + .${z.track}`]:{backgroundColor:e.colors.grey1},[`& .${z.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${z.switchBase}.Mui-disabled + .${z.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)},Se=u.div``,Ds=u.div`
200
+ `,le=()=>s.jsxs(ys,{children:[s.jsx(Ss,{}),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=Te[a][r.mode];return s.jsxs(hs,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ee,{children:s.jsx(Me,{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(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,style:{backgroundColor:D.primaryDark,borderColor:D.primaryDark,color:D.neutralGrey5Dark}}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Is=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=Te[a][r.mode];return s.jsxs(ms,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ee,{children:s.jsx(Me,{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($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}),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(Is,{...e})}const de="ZeniSwitch",z={root:`${de}-root`,switchBase:`${de}-switchBase`,track:`${de}-track`},Ls=({className:e,...t})=>s.jsx(lt,{...t,className:e,classes:{...z}}),Rs=u(Ls)(({theme:e})=>({[`& .${z.switchBase}`]:{color:e.colors.grey2},[`& .${z.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${z.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${z.switchBase}.Mui-checked + .${z.track}`]:{backgroundColor:e.colors.grey1},[`& .${z.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${z.switchBase}.Mui-disabled + .${z.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)},Se=u.div``,Ds=u.div`
201
201
  min-width: ${e=>U.forecastNameInnerWidth.valuePx(e.windowSize)};
202
202
  &:hover {
203
203
  .info-tooltip {
@@ -222,7 +222,7 @@ import{J as B,d as Z,F as _,ax as ke,V as s,bD as Xe,m as qe,A as Je,bE as Ke,o
222
222
  display: flex;
223
223
  color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
224
224
  margin-bottom: ${d.sp1};
225
- `,Ms=u.div``,Es=u.div``,Fs=u(pt)`
225
+ `,Es=u.div``,Ms=u.div``,Fs=u(pt)`
226
226
  display: flex;
227
227
  color: ${D.alert};
228
228
  `,Vs=u(ut)`
@@ -270,7 +270,7 @@ import{J as B,d as Z,F as _,ax as ke,V as s,bD as Xe,m as qe,A as Je,bE as Ke,o
270
270
  height: 12px;
271
271
  width: 12px;
272
272
  margin-left: 6px;
273
- `,f=({children:b,...$})=>s.jsx(ne.SingleValue,{...$,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(Se,{})}),w=b=>s.jsx(Se,{children:s.jsx(ne.Option,{...b,children:s.jsxs(Ts,{children:[s.jsxs(zs,{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]})})}),y={control:(b,$)=>({...b,border:0,backgroundColor:c,color:$.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,$)=>({...b,color:$.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:C[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${i.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:b=>({...b,borderRadius:C[1],maxWidth:"350px"}),option:(b,{isDisabled:$,isSelected:k,isFocused:V})=>({...b,color:k?i.colors.champion:i.colors.hero,backgroundColor:k===!0?h:V===!0&&$!==!0?i.colors.background:l,cursor:$===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:$===!1?k===!0?h:i.colors.background:l,color:i.colors.primary},borderBottom:"1px solid "+i.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(ct,{options:t,components:{SingleValue:f,DropdownIndicator:x,Option:w},styles:y,defaultValue:p,onChange:b=>{const $=b;o($),n($.forecastId,$.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)},Js=u.div`
273
+ `,f=({children:b,...$})=>s.jsx(ne.SingleValue,{...$,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(Se,{})}),w=b=>s.jsx(Se,{children:s.jsx(ne.Option,{...b,children:s.jsxs(Ts,{children:[s.jsxs(zs,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(As,{isValid:b.data.isValid,children:[s.jsx(Es,{children:b.data.timeframeLabel}),s.jsx(Ys,{isValid:b.data.isValid}),s.jsx(Ms,{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]})})}),y={control:(b,$)=>({...b,border:0,backgroundColor:c,color:$.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,$)=>({...b,color:$.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:$,isSelected:k,isFocused:V})=>({...b,color:k?i.colors.champion:i.colors.hero,backgroundColor:k===!0?h:V===!0&&$!==!0?i.colors.background:l,cursor:$===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:$===!1?k===!0?h:i.colors.background:l,color:i.colors.primary},borderBottom:"1px solid "+i.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(ct,{options:t,components:{SingleValue:f,DropdownIndicator:x,Option:w},styles:y,defaultValue:p,onChange:b=>{const $=b;o($),n($.forecastId,$.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)},Js=u.div`
274
274
  display: flex;
275
275
  width: 100%;
276
276
  flex-direction: column;
@@ -309,7 +309,7 @@ import{J as B,d as Z,F as _,ax as ke,V as s,bD as Xe,m as qe,A as Je,bE as Ke,o
309
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(Xs,{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(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(Qs,{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(Ks,{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 y,b;switch(t.reportId){case"revenue":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:y=void 0}const $=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=$||t.availableNumberOfPeriods===1,V=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,M]=S.useState(!1),H=ft("https://meetings.hubspot.com/svitlana-grankovska"),E=a.mode,L=a.selectedForecast;S.useEffect(()=>{E==="forecast_mode"&&b==="Completed"&&y?.length===0&&(M(!0),document.body.style.overflow="hidden")},[b,E,y]),S.useEffect(()=>{E==="forecast_mode"&&L!=null&&y!=null&&y.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),y[L.index].name)},[L]);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:y,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,$?null:s.jsx(Lt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:xe(c,h),highlightedOfSelectedTicks:xe(c,h)},onClick:(v,j)=>{$e(t.firstMonthOfFY,x,t.reportId,g,j,e.analytics),i(j)},onSelectionChanged:(v,j)=>{const Y=Ot(c,v.fromEnd),X=Bt(c,j);$e(t.firstMonthOfFY,x,t.reportId,g,X.thisPeriod,e.analytics),p(Y,X)}})]})})},$e=(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=Tt(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,y)=>lo({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:y===m.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,y)=>fe({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:y===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(yt(m)===!0){const f=e.sections[m];f!=null&&o.push(Le({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(St(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})):$t(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,y)=>{o.push(zt({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:y===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,y)=>Mt({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:y===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:y===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(Le({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=yo(a),r=A({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const yo=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[]}},Ce={contentPaddingLeft:new N(C[0],C[0],C[0]),contentPaddingRight:new N(C[3],C[3],C[8])},So=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 y,b;switch(t.reportId){case"revenue":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:y=void 0}const $=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=$||t.availableNumberOfPeriods===1,V=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,E]=S.useState(!1),H=ft("https://meetings.hubspot.com/svitlana-grankovska"),M=a.mode,L=a.selectedForecast;S.useEffect(()=>{M==="forecast_mode"&&b==="Completed"&&y?.length===0&&(E(!0),document.body.style.overflow="hidden")},[b,M,y]),S.useEffect(()=>{M==="forecast_mode"&&L!=null&&y!=null&&y.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),y[L.index].name)},[L]);const W=(v,C,Y)=>{C===!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 C=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"],C)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:y,isForecastValid:V,onForecastSelectionChanged:(v,C)=>W("forecast_mode",!1,{id:v,index:C}),onForecastToggleChanged:v=>{W(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(Ns,{meetingUrl:H,reportId:t.reportId,onClose:()=>{E(!1),e.onForecastToggle?.("off");const v=1;document.body.style.overflow="auto",o(x,x?["this_period_vs_last_period_percent"]:[],v)}}):null,$?null:s.jsx(Lt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:xe(c,h),highlightedOfSelectedTicks:xe(c,h)},onClick:(v,C)=>{$e(t.firstMonthOfFY,x,t.reportId,g,C,e.analytics),i(C)},onSelectionChanged:(v,C)=>{const Y=Ot(c,v.fromEnd),X=Bt(c,C);$e(t.firstMonthOfFY,x,t.reportId,g,X.thisPeriod,e.analytics),p(Y,X)}})]})})},$e=(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 Ce({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=Tt(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,y)=>lo({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:y===m.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,y)=>fe({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:y===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=Ce({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=Ce({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(yt(m)===!0){const f=e.sections[m];f!=null&&o.push(Le({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(St(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})):$t(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,y)=>{o.push(zt({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:y===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,y)=>Et({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:y===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:y===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(Le({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=yo(a),r=A({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const yo=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 N(j[0],j[0],j[0]),contentPaddingRight:new N(j[3],j[3],j[8])},So=u.div`
313
313
  width: 100%;
314
314
  height: calc(100vh - 70px);
315
315
  `,vo=u.div`
@@ -323,7 +323,7 @@ import{J as B,d as Z,F as _,ax as ke,V as s,bD as Xe,m as qe,A as Je,bE as Ke,o
323
323
  position: absolute;
324
324
  padding-top: ${d.sp3};
325
325
  background-color: ${e=>e.theme.colors.grey4};
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,y=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,$=r.mode==="compare_mode"&&!b,k=$||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 I=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged($,[I],x?.numberOfPeriods??k)},[P,M]=S.useState(void 0),[H,E]=S.useState(void 0),L=!(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":$===!0?"this_period_vs_period_before":"none",X=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ae=(O,I)=>{O!==i?.uiState.accountViewMode&&g?.(O),I&&m?.(I)};return S.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:gt(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:j.dataAvailable};if(P==null||!K(H,j)||e.isPageFetchInProgress===!0){const I=Co(j,O,L,e.isPageFetchInProgress);E(j),M(I)}else{const I=wo(P,O,j,L);M(I)}},[W,$,j,e.isPageFetchInProgress]),s.jsx(vo,{windowSize:t,children:y?s.jsx(Et,{}):P!=null?s.jsxs(So,{children:[s.jsx(Rt,{backgroundColor:new st(a.colors.grey4),rootNodes:P,type:W,compareMode:v,isSticky:{isStickyHeader:L,isStickyName:L},treeNodePadding:{left:Ce.contentPaddingLeft.value(t),right:Ce.contentPaddingRight.value(t)},onAccountClick:h==null?void 0:(O,I)=>{h(O,I)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:V,onScroll:l,onNodeCollapseToggled:c}),X===!0&&i!==void 0?s.jsx($o,{children:s.jsx(Ct,{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})},Co=(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",q={chartWidth:"100%",barCount:8,barWidth:new N(C[6],C[8],C[10]),maxBarHeight:1},Oo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=q.chartWidth,barCount:n=q.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=Z(),o=B(),l=t??J.chartHeight.value(o),c=l-C[5],h=[...Array(n)].map((g,m)=>({height:(i?.[m]||q.maxBarHeight)*l,width:q.barWidth}));return s.jsx(Bo,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(Po,{children:h.map((g,m)=>s.jsx(Io,{children:s.jsx(Qe,{speed:2,width:q.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
+ `,Co=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,y=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,$=r.mode==="compare_mode"&&!b,k=$||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 I=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged($,[I],x?.numberOfPeriods??k)},[P,E]=S.useState(void 0),[H,M]=S.useState(void 0),L=!(t==="small"||t==="medium-compact"),W=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=ko(r.selectedAdditionalBalances),C=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,Y=w==="forecast_mode"?"actual_vs_forecast":$===!0?"this_period_vs_period_before":"none",X=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ae=(O,I)=>{O!==i?.uiState.accountViewMode&&g?.(O),I&&m?.(I)};return S.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${C.reportId}+${r.selectedForecast?.id}`:C.reportId,mode:Y,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:C.bookCloseDate,firstMonthOfFY:C.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:gt(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:C.dataAvailable};if(P==null||!K(H,C)||e.isPageFetchInProgress===!0){const I=jo(C,O,L,e.isPageFetchInProgress);M(C),E(I)}else{const I=wo(P,O,C,L);E(I)}},[W,$,C,e.isPageFetchInProgress]),s.jsx(vo,{windowSize:t,children:y?s.jsx(Mt,{}):P!=null?s.jsxs(So,{children:[s.jsx(Rt,{backgroundColor:new st(a.colors.grey4),rootNodes:P,type:W,compareMode:v,isSticky:{isStickyHeader:L,isStickyName:L},treeNodePadding:{left:je.contentPaddingLeft.value(t),right:je.contentPaddingRight.value(t)},onAccountClick:h==null?void 0:(O,I)=>{h(O,I)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:V,onScroll:l,onNodeCollapseToggled:c}),X===!0&&i!==void 0?s.jsx($o,{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",q={chartWidth:"100%",barCount:8,barWidth:new N(j[6],j[8],j[10]),maxBarHeight:1},Oo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=q.chartWidth,barCount:n=q.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=Z(),o=B(),l=t??J.chartHeight.value(o),c=l-j[5],h=[...Array(n)].map((g,m)=>({height:(i?.[m]||q.maxBarHeight)*l,width:q.barWidth}));return s.jsx(Bo,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(Po,{children:h.map((g,m)=>s.jsx(Io,{children:s.jsx(Qe,{speed:2,width:q.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};
@@ -368,4 +368,4 @@ import{J as B,d as Z,F as _,ax as ke,V as s,bD as Xe,m as qe,A as Je,bE as Ke,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]=S.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:y,timeframe:b,selectedAdditionalBalances:$,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";S.useEffect(()=>{async function T(){await Zt({report:l!==void 0&&l.uiState.accountViewMode==="classes"?l:o,filter:o.filter,coaBalancesRange:y,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"),T())},[h,k,o.filter,n,P,y,o,l,b,g,f,H,E,e.isZeniCOAUsed]);const L=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";S.useEffect(()=>{const T=P||c.mode==="forecast_mode"?3:1;x(P,$,T)},[t]);const j=T=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Je.Event.search,R(o.reportId),T.type,T.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(T)},{autoCompleteData:Y,autoCompleteActions:X,scrollPosition:ae,...O}=e,I=s.jsx(Ke,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:L,isDownloading:k==="In-Progress"}],onDownloadClick:async T=>{if(T==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(No,{children:[s.jsx(Xe,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:m,rightSideComponent:I,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:j}},source:"DashboardReportPage",style:{zIndex:2}}),W?s.jsx(Do,{children:s.jsx(qe,{size:"Standard",start:!0})}):L?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(Lo,{windowSize:t,children:[s.jsx(Mo,{...O}),s.jsx(To,{highlightedRangeReport:o,uiState:c}),v?s.jsx(Oo,{}):s.jsx(zo,{...O}),s.jsx(Ro,{children:s.jsx(kt,{insights:w})})]}),s.jsx(Ao,{scrollPosition:ae,isPageFetchInProgress:v,...O})]})]})},To=Q.memo(cs,K),zo=Q.memo(ps,K),Ao=Q.memo(jo,K),Mo=Q.memo(co,K);export{ba as default};
371
+ `,ba=e=>{const t=B(),a=Z(),[n,i]=S.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:y,timeframe:b,selectedAdditionalBalances:$,downloadState:k}=c,V=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!V,E=ke(),H=E.loggedInUserRole!=null&&!mt(E.loggedInUserRole),M=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";S.useEffect(()=>{async function T(){await Zt({report:l!==void 0&&l.uiState.accountViewMode==="classes"?l:o,filter:o.filter,coaBalancesRange:y,isCompareModeOn:P,reportView:l!==void 0?l.uiState.accountViewMode:"account_group",classesToFilterOut:l!==void 0?l.uiState.classesToFilterOut:[],...h,reportType:H||M?"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"),T())},[h,k,o.filter,n,P,y,o,l,b,g,f,H,M,e.isZeniCOAUsed]);const L=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";S.useEffect(()=>{const T=P||c.mode==="forecast_mode"?3:1;x(P,$,T)},[t]);const C=T=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Je.Event.search,R(o.reportId),T.type,T.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(T)},{autoCompleteData:Y,autoCompleteActions:X,scrollPosition:ae,...O}=e,I=s.jsx(Ke,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:L,isDownloading:k==="In-Progress"}],onDownloadClick:async T=>{if(T==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(No,{children:[s.jsx(Xe,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:m,rightSideComponent:I,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:C}},source:"DashboardReportPage",style:{zIndex:2}}),W?s.jsx(Do,{children:s.jsx(qe,{size:"Standard",start:!0})}):L?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(Lo,{windowSize:t,children:[s.jsx(Eo,{...O}),s.jsx(To,{highlightedRangeReport:o,uiState:c}),v?s.jsx(Oo,{}):s.jsx(zo,{...O}),s.jsx(Ro,{children:s.jsx(kt,{insights:w})})]}),s.jsx(Ao,{scrollPosition:ae,isPageFetchInProgress:v,...O})]})]})},To=Q.memo(cs,K),zo=Q.memo(ps,K),Ao=Q.memo(Co,K),Eo=Q.memo(co,K);export{ba as default};
@@ -0,0 +1,12 @@
1
+ import{av as u,V as o,b6 as f,o as p}from"./index-DK3PYuee.js";import{a as s}from"./sentry-DS5py-mq.js";import{a as h,n as m}from"./mui-CgqbPqeT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="18000dbc-2663-4c48-b626-947d107b620f",e._sentryDebugIdIdentifier="sentry-dbid-18000dbc-2663-4c48-b626-947d107b620f")}catch{}})();const v=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const i=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,d]=u(l,r),[t,c]=s.useState(null);a!=null&&t==null&&!d&&c(a);const b=e&&i.mode==="light"?.7:.2;return(e||n)&&t!=null?o.jsx(y,{contextWiseOpacity:b,newYearAnimationEnabled:n,children:o.jsx(f,{style:{width:"inherit",height:"inherit",display:"block"},animationData:t,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
2
+ display: flex;
3
+ flex: 1 1 auto;
4
+ flex-direction: column;
5
+ width: inherit;
6
+ position: absolute;
7
+ top: ${p.sp0};
8
+ z-index: 0;
9
+ height: ${e=>e.newYearAnimationEnabled?"100%":"60vh"};
10
+ opacity: ${e=>e.contextWiseOpacity};
11
+ pointer-events: none;
12
+ `;export{v};
@@ -1,4 +1,4 @@
1
- import{aP as y,hE as u,J as $,V as l,o as i,am as c,an as w}from"./index-BPZ0_UEx.js";import{n as t}from"./mui-Dg-yyLd1.js";import{g as k}from"./BoxItem-ChtGcSH1-BjQod1Sp.js";import{o as v}from"./commonDimensions-BiY7_JPE-DvdrP9mk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a166929b-4850-49e4-88bb-e001b5bd5a5b",e._sentryDebugIdIdentifier="sentry-dbid-a166929b-4850-49e4-88bb-e001b5bd5a5b")}catch{}})();function J({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:b,logo:p,summary:x,direction:f,status:m}=e,g=r.length>0?r:x,a=y("0,0.00",b),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:p?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(E,{windowSize:o,children:[l.jsx(C,{windowSize:o}),l.jsx(P,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(V,{windowSize:o,children:f==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{aO as y,hB as u,J as $,V as l,o as i,al as c,am as w}from"./index-DK3PYuee.js";import{n as t}from"./mui-CgqbPqeT.js";import{g as k}from"./BoxItem-CYe_gTmA-rmtQXiBP.js";import{o as v}from"./commonDimensions-YcBBlmYP-Djn7MvQY.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="962ea219-5f9d-4fbe-8e5d-ccd4f155a7e0",e._sentryDebugIdIdentifier="sentry-dbid-962ea219-5f9d-4fbe-8e5d-ccd4f155a7e0")}catch{}})();function K({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:f,logo:p,summary:x,direction:b,status:m}=e,g=r.length>0?r:x,a=y("0,0.00",f),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:p?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(B,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(H,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,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{aP as y,hE as u,J as $,V as l,o as i,am as c,an as w}from"./index-BPZ0_UE
49
49
  word-break: break-word;
50
50
  text-overflow: ellipsis;
51
51
  overflow: hidden;
52
- `,E=t.div`
52
+ `,B=t.div`
53
53
  display: flex;
54
54
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
55
55
  align-items: center;
56
- `,P=t(w)`
56
+ `,C=t(w)`
57
57
  color: ${e=>e.color};
58
58
  -webkit-box-orient: vertical;
59
59
  -webkit-line-clamp: 1;
60
60
  display: -webkit-box;
61
- `,C=t.div`
61
+ `,E=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{aP as y,hE as u,J as $,V as l,o as i,am as c,an as w}from"./index-BPZ0_UE
66
66
  background-color: ${e=>e.theme.colors.grey1};
67
67
  margin-left: ${i.sp2};
68
68
  margin-right: ${i.sp2};
69
- `,V=t(c)`
69
+ `,H=t(c)`
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 q};
76
+ `;export{K as H};
@@ -1,22 +1,22 @@
1
- import{d as M,J as S,V as t,bD as I,b4 as F,hN as Y,o,F as z,p as u,cv as C,dh as E,di as _,dc as L,dj as T,y as B,aj as N,am as R,u as g}from"./index-BPZ0_UEx.js";import{a as x}from"./sentry-nVlxguQq.js";import{n as a}from"./mui-Dg-yyLd1.js";import{bh as V}from"./zeni-epic-state-DwXlACp-.js";import{$ as q}from"./BoxItem-ChtGcSH1-BjQod1Sp.js";import{o as A}from"./commonDimensions-BiY7_JPE-DvdrP9mk.js";import{q as J}from"./DepositAccTransactionItem-B7ErTe-9-ClHyxdVn.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="a4de364f-51dd-4627-b365-5f664a3c6558",e._sentryDebugIdIdentifier="sentry-dbid-a4de364f-51dd-4627-b365-5f664a3c6558")}catch{}})();const l=z.getLocalizedStrings(),P={listItemMargin:new B(g[3],g[8])};function X(e){const i=E(e,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,r=>r.length>0);return L(d,r=>({date:r[0].transactionDate,transactions:T(r,m=>m.transactionDate,"desc")}))}const G=Y(X),pe=({transactionListView:e,onBackClick:i})=>{const d=M(),r=S(),m=x.createRef(),p=x.useRef(null),c=G(e.transactions),j=e.depositAccountName,f=c.length===0,k=n=>f===!1?c[n].transactions.length*A.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=c[n];return t.jsx(w,{style:{...h},children:t.jsx(y,{windowSize:r,children:t.jsxs($,{children:[t.jsx(Q,{children:V().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,b)=>t.jsx(J,{data:D,boxType:q(b,s.transactions.length)},b))})]})})})}else return t.jsx(w,{style:{...h},children:t.jsx(H,{children:t.jsx(y,{windowSize:r,children:t.jsx(O,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(K,{children:[t.jsx(I,{title:`${j} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:d.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(F,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:c.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,y=a.div`
2
- margin: ${e=>`${o.sp0} ${P.listItemMargin.valuePx(e.windowSize)}`};
3
- `,H=a.div`
1
+ import{e as M,J as S,V as t,bD as I,b4 as F,hK as Y,o,F as z,p as u,cu as C,dh as E,di as _,dc as L,dj as T,y as B,ai as R,al as V,u as g}from"./index-DK3PYuee.js";import{a as x}from"./sentry-DS5py-mq.js";import{n as a}from"./mui-CgqbPqeT.js";import{bh as A}from"./zeni-epic-state-QRf7TPA6.js";import{$ as J}from"./BoxItem-CYe_gTmA-rmtQXiBP.js";import{o as N}from"./commonDimensions-YcBBlmYP-Djn7MvQY.js";import{H as P}from"./DepositAccTransactionItem-BdZVCAx--BEQtPnX0.js";import"./liveblocks-DzWLGwR5.js";import"./core-MmJvanAX.js";import"./recharts-CcfvjpA4.js";import"./lottie-C8IpdMqp.js";import"./analytics-Cmcqa01V.js";import"./lexical-DyUba00B.js";import"./utils-C5WTobSB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="c3bfc66e-ecdd-4ebd-a07a-80bdd45cedb7",e._sentryDebugIdIdentifier="sentry-dbid-c3bfc66e-ecdd-4ebd-a07a-80bdd45cedb7")}catch{}})();const l=z.getLocalizedStrings(),H={listItemMargin:new B(g[3],g[8])};function K(e){const i=E(e,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,r=>r.length>0);return L(d,r=>({date:r[0].transactionDate,transactions:T(r,m=>m.transactionDate,"desc")}))}const X=Y(K),pe=({transactionListView:e,onBackClick:i})=>{const d=M(),r=S(),m=x.createRef(),p=x.useRef(null),c=X(e.transactions),k=e.depositAccountName,b=c.length===0,j=n=>b===!1?c[n].transactions.length*N.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(b===!1){const s=c[n];return t.jsx(y,{style:{...h},children:t.jsx(w,{windowSize:r,children:t.jsxs($,{children:[t.jsx(Q,{children:A().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,f)=>t.jsx(P,{data:D,boxType:J(f,s.transactions.length)},f))})]})})})}else return t.jsx(y,{style:{...h},children:t.jsx(q,{children:t.jsx(w,{windowSize:r,children:t.jsx(O,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(G,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:d.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(F,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},y=a.div``,w=a.div`
2
+ margin: ${e=>`${o.sp0} ${H.listItemMargin.valuePx(e.windowSize)}`};
3
+ `,q=a.div`
4
4
  display: flex;
5
5
  height: 100%;
6
6
  flex: 1 1 auto;
7
7
  flex-direction: row;
8
8
  justify-content: center;
9
9
  align-items: flex-end;
10
- `,K=a.div`
10
+ `,G=a.div`
11
11
  display: flex;
12
12
  height: 100%;
13
13
  flex-direction: column;
14
14
  width: 100%;
15
15
  padding-bottom: ${o.sp7};
16
- `,O=a(R)`
16
+ `,O=a(V)`
17
17
  display: flex;
18
18
  color: ${e=>e.theme.colors.grey2};
19
- `,Q=a(N)`
19
+ `,Q=a(R)`
20
20
  display: flex;
21
21
  height: 21px;
22
22
  margin-bottom: ${o.sp2};
@@ -1,4 +1,4 @@
1
- import{J as H,a9 as O,F as N,cH as U,aF as J,V as n,cr as K,cs as Q,ct as q,ad as G,aS as X,y as b,e_ as Y,o as Z,ba as ee,u as o}from"./index-BPZ0_UEx.js";import{a as w}from"./sentry-nVlxguQq.js";import{n as h}from"./mui-Dg-yyLd1.js";import{bi as T}from"./zeni-epic-state-DwXlACp-.js";import{e as ne}from"./BankAccountSection-Db8KCDjh-7fAQc6F_.js";import{M as te}from"./MagicLinkTitleSection-Dlvzbcxc-07YJ3nz_.js";import{W as ae,A as oe}from"./BankAccountWarningSection-DLKyK-pN-WvpV5xZt.js";import{T as ie}from"./MailingDetailsSection-BT5P_beR-Chn0pdYc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="679ebdbd-586f-49a7-978f-0b8947e4c545",e._sentryDebugIdIdentifier="sentry-dbid-679ebdbd-586f-49a7-978f-0b8947e4c545")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},D="domesticWireDetailsPage",k="bankAccountSection",$="mailingAddressSection",B=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:f,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:C}=e,u=H(),c=O({mode:"onBlur",reValidateMode:"onChange",defaultValues:w.useMemo(()=>se(s,r),[s,r])}),[W,g]=w.useState(!1),a=N.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=N.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{g(!1),c.reset(),C?.()},onCancelClick:()=>{g(!1)}},F=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&R?.(d)};w.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&U(()=>F(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),S=!J(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[W===!0?n.jsx(K,{titleComponent:n.jsx(q,{children:a.discardTitle}),descriptionComponent:n.jsx(Q,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:f?n.jsx(te,{companyName:j??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:f,isDirty:S,onBackClick:C,setShowConfirmationPopup:g}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(G,{...c,children:n.jsxs("form",{id:B(D),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:B(D),primaryBtn:{label:f?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!f,cancelBtn:{label:E.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{S?g(!0):(c.reset(),C?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
1
+ import{J as O,a9 as U,F as N,cG as q,aE as G,V as n,cq as H,cr as J,cs as K,ac as Q,aS as X,y as b,eX as Y,o as Z,ba as ee,u as o}from"./index-DK3PYuee.js";import{a as w}from"./sentry-DS5py-mq.js";import{n as h}from"./mui-CgqbPqeT.js";import{bi as T}from"./zeni-epic-state-QRf7TPA6.js";import{e as ne}from"./BankAccountSection-CAwAf9xK-BTGyBjUJ.js";import{M as te}from"./MagicLinkTitleSection-CqkZ9wOf-Bw_OwXxB.js";import{W as ae,A as oe}from"./BankAccountWarningSection-CaDnP9_--BOTeyp6n.js";import{T as ie}from"./MailingDetailsSection-DRFGCM2W-BZiRRBi6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3f4da97f-227e-45bc-b1d2-0a397015e3b8",e._sentryDebugIdIdentifier="sentry-dbid-3f4da97f-227e-45bc-b1d2-0a397015e3b8")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},D="domesticWireDetailsPage",k="bankAccountSection",j="mailingAddressSection",B=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:$,isMagicLink:f,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:C}=e,u=O(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:w.useMemo(()=>se(s,r),[s,r])}),[E,g]=w.useState(!1),a=N.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=N.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{g(!1),c.reset(),C?.()},onCancelClick:()=>{g(!1)}},F=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&R?.(d)};w.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>F(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),S=!G(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[E===!0?n.jsx(H,{titleComponent:n.jsx(K,{children:a.discardTitle}),descriptionComponent:n.jsx(J,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:f?n.jsx(te,{companyName:$??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:f,isDirty:S,onBackClick:C,setShowConfirmationPopup:g}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(Q,{...c,children:n.jsxs("form",{id:B(D),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:j,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:B(D),primaryBtn:{label:f?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!f,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{S?g(!0):(c.reset(),C?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[j]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!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)};