@zeniai/web-cockpit-ui 1.14.8-qa → 1.14.9-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 (262) hide show
  1. package/dist/assets/ACHDetailsPage-D6-Uk4xr-CeqQrapw.js +21 -0
  2. package/dist/assets/{AIPerformancePage-BnHyhoNh-DoVAXoi7.js → AIPerformancePage-pQP8EI_S-BrFMBRrD.js} +49 -49
  3. package/dist/assets/{AccountInfoPage-ehy9LEs3-DH-t9Pbc.js → AccountInfoPage-DxAa9GD7-Dfa6wrJJ.js} +5 -5
  4. package/dist/assets/{AccountInfoPageContent-BpNoLQEh-D1PyOAvc.js → AccountInfoPageContent-tNTpX5pA-DjayDMt-.js} +19 -19
  5. package/dist/assets/{AccountReconDetailsDrawerPage-KuO_6NjT-DcGIYB3C.js → AccountReconDetailsDrawerPage-CbZaDfU0-CcRJAIjR.js} +12 -12
  6. package/dist/assets/{AccountRow-CKtmIbKO-Cn4F2YVA.js → AccountRow-BpBK8mVs-BpLiFAfl.js} +34 -34
  7. package/dist/assets/{AccountsPromoCardStack-BKVvUpdv-BgQY7tCS.js → AccountsPromoCardStack-DBCYok4Z-CTvK9ol0.js} +34 -34
  8. package/dist/assets/{AddAddressForCardDrawer-BebYNJoP-DALw-3Kg.js → AddAddressForCardDrawer-BP8sDedz-Cyy42m8j.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-BQfPsknz-Djhi71LK.js → AddToWalletPage-Dsw1GIbh-BWT0p2X4.js} +23 -23
  10. package/dist/assets/{AgingReportsPage-DkCyQw18-QyVcjTLn.js → AgingReportsPage-COC3iACh-DWTKYyEZ.js} +8 -8
  11. package/dist/assets/{AllUserItems-D-FQ96gE-FOuZsqBd.js → AllUserItems-DKoDASKq-C3X9voUZ.js} +12 -12
  12. package/dist/assets/{ApAgingDetailPage-EI4Kx_Xo-CSmrVUcC.js → ApAgingDetailPage-BKAJMyRm-D5itHJkN.js} +3 -3
  13. package/dist/assets/{AppBasePage-D4QmiB4N-CkS7NnLk.js → AppBasePage-6fgXwSBv-BcdijNRH.js} +6 -6
  14. package/dist/assets/{AppDrawerContent-BF8Abz2Y-BZDX71bm.js → AppDrawerContent-DnYw60Xv-DVfaLuiW.js} +19 -19
  15. package/dist/assets/{ApprovalRulesSettingsPage-tsucbdIk-BZEqnWOw.js → ApprovalRulesSettingsPage-X4EYoBfl-DJlv7sgG.js} +4 -4
  16. package/dist/assets/{ArAgingChart-CIZs2s3O-3kn6pTqp.js → ArAgingChart-CNghm3pm-DjM8SIw0.js} +4 -4
  17. package/dist/assets/ArAgingDetailPage-DD4M5tUJ-BIie3PxH.js +46 -0
  18. package/dist/assets/{AttachmentView-Bpla0aBf-B-2iKa23.js → AttachmentView-Bp678glv-CcwszQ4j.js} +8 -8
  19. package/dist/assets/{BankAccountSection-DhDiqg0D-SPxWK2Rc.js → BankAccountSection-DCHOrv1O-Bh0iIOZd.js} +8 -8
  20. package/dist/assets/{BankAccountWarningSection-_BSb8rEd-BpYk8E0V.js → BankAccountWarningSection-Bof6a4Ai-Le7ZNeNV.js} +11 -11
  21. package/dist/assets/{BankConnectionsSettingsPage-ovzOgVIi-BW51phjE.js → BankConnectionsSettingsPage-KWPfd_oN-Cz_k2DuV.js} +11 -11
  22. package/dist/assets/{BillDetailPage-C6NJGbua-BZZMCxWn.js → BillDetailPage-D5FyJKQZ-BlAJL18t.js} +9 -9
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-DK34f2_B-DAGC2UNQ.js → BillPayApprovalRuleDetailPage-C17DUKc8-BgGr2d58.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-uT7vadIp-DUpqngyj.js → BillPayApprovalRulesPage-C6b0Dx9D-cJ5X1Ao3.js} +12 -12
  25. package/dist/assets/{BillPayPromoPage-DyvWrXiT-CSdpqI4C.js → BillPayPromoPage-BhbcKNjD-DVOKT8gz.js} +7 -7
  26. package/dist/assets/{BillPaySetUpPage-DQUGXwzL-br7_XPym.js → BillPaySetUpPage-DFkYsW2C-Ef9yzHlC.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-zTBJHq7Y-B4tEAStV.js → BillingSettingsPage-DQ-GDRoK-BN2BrN1e.js} +10 -10
  28. package/dist/assets/{BillsBulkReviewDrawerPage-qYfFPFRf-Gr_v-DoN.js → BillsBulkReviewDrawerPage-DzTwDeIy-DlWXOHce.js} +1 -1
  29. package/dist/assets/{BoxItem-CTPuYGrU-Db0vwVyl.js → BoxItem-a04JWA45-dnHge8K2.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-BFJpNsiW-CZuaO3uB.js → BusinessVerificationPage-BCr_ObVJ-Eujn_xjK.js} +11 -11
  31. package/dist/assets/{CardNumberSubText-LPyLf3pY-Uc_p5Qev.js → CardNumberSubText-B5ejHnml-CUeVOSrR.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-ByJDF7cH-Xbit-3YQ.js → CashbackDetailPage-DX_XsNhS-Bzpfl8cB.js} +26 -26
  33. package/dist/assets/{ChargeCardDetailPage-DjbwN3eA-DiErNhjG.js → ChargeCardDetailPage-Ckbi7U9j-CdVBQ74Q.js} +47 -47
  34. package/dist/assets/{ChargeCardListPage-BcFdegbn-HYasz6jv.js → ChargeCardListPage-CglfbPqr-CRMUlviS.js} +21 -21
  35. package/dist/assets/{ChargeCardListTable-BIOmPiWw-DdJK2d64.js → ChargeCardListTable-BxAeA97m-NkbDhG0R.js} +31 -31
  36. package/dist/assets/ChargeCardPromoPage-BfsQUUYb-DNr9KB3C.js +219 -0
  37. package/dist/assets/{ChargeCardSetupPage-DCjJd2bu-BHadsvrA.js → ChargeCardSetupPage-Bq953HsV-BrJdqoor.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-YZLslSfM-CXArzeF5.js → ChargeCardStatementsPage-B_5uvkaq-DtYdEDYL.js} +10 -10
  39. package/dist/assets/ChargeCardUtils-Bivw83fy-Bdwydcao.js +1 -0
  40. package/dist/assets/{ChaseOverlay-D5CGgOY9-SQ5Kacn2.js → ChaseOverlay-LcVAgdoT-0XHNPxVs.js} +8 -8
  41. package/dist/assets/CheckDepositDrawerPage-SpI62oU7-C05CPIor.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-UQFDb8XE-prrDdDgf.js → CollapsableReportTable-CKmPwC_x-C8Lt_vH6.js} +71 -71
  43. package/dist/assets/{CompanyOfficerDetailsSection-CHSL02sQ-9KYjMp1S.js → CompanyOfficerDetailsSection-BlLsNJaD-BOEy651b.js} +27 -27
  44. package/dist/assets/{CompanyPassportCard-Byoyj6z--DL9or2iC.js → CompanyPassportCard-ElwK6uOD-7Q4qVOCI.js} +8 -8
  45. package/dist/assets/{CompanyPassportPage-CJzVGPMf-DcASC_GH.js → CompanyPassportPage-B6mGjsJZ-CCD6_RmJ.js} +7 -7
  46. package/dist/assets/CompleteProfile-C1PIn6EM-CTXp8NqS.js +52 -0
  47. package/dist/assets/{ConfettiBurst-C6in2R-G-DTnWnZ65.js → ConfettiBurst-CjhkW_Be-a-0gg6hW.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-HV8sXBZp-SuBKCmwC.js → CreateOrEditVendorPage-DHvmRSee-DyHg8sv-.js} +17 -17
  49. package/dist/assets/{CreditCardPaymentDrawerPage-CcN3B0mF-Ba_WpzLN.js → CreditCardPaymentDrawerPage-BIaTYAUf-BJKS1Xg5.js} +15 -15
  50. package/dist/assets/{CreditCardPaymentPlgSection-dBWHuBiS-BACapGIK.js → CreditCardPaymentPlgSection-mUqReF9z-B3e-bx38.js} +12 -12
  51. package/dist/assets/CurrencySelectField-DS-pGcuE-B8Th0xai.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-Bf64O2cX-CH6EjGmX.js → CustomerOnboardingActivationPage-CIOyRd8r-BvpBK8oP.js} +5 -5
  53. package/dist/assets/CustomerOnboardingContainerPage-Lh0xH_Pl-DxUzrS2W.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DbbrMwW5-BJCRpEnv.js → CustomerOnboardingDetailPageSkeleton-A_l9Qen8-CVPLXGlA.js} +12 -12
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DZGpH4MZ-ANcIBmva.js → CustomerOnboardingNoStepsPage-D5BcbVEK-DtpdUI3d.js} +12 -12
  56. package/dist/assets/{CustomerOnboardingPage-BfJlxXNX-DYLig9b3.js → CustomerOnboardingPage-N-8Zd7M_--DUVLv6J.js} +4 -4
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BJIVmVlG-BOFmXOV0.js → CustomerOnboardingProductSuitePage-DZwacur5-B-LHGIjv.js} +10 -10
  58. package/dist/assets/{Dashboard-fGyiceKA-DEZsw7NQ.js → Dashboard-CQoNm84Z-BlWn7yKc.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-DL5dB1SI-naji3HXI.js → DashboardReportPage-D4BoWobJ-C2YNUFo_.js} +26 -26
  60. package/dist/assets/{DepositAccTransactionItem-Dyfob6gX-GHD2_9RJ.js → DepositAccTransactionItem-C6_OrohL-BctgXIh4.js} +6 -6
  61. package/dist/assets/DepositAccTransactionListPage-Cxvs7tMg-BaXyAnSD.js +66 -0
  62. package/dist/assets/{DocumentSecurityBanner-rDtPu8vH-Buq_mYzl.js → DocumentSecurityBanner-Bo9Hgo-I-Bzt_B0eo.js} +2 -2
  63. package/dist/assets/DomesticWireDetailsPage-DzKlJFvy-BX_oKeIy.js +21 -0
  64. package/dist/assets/{DownloadOverlay-Dk9PoZlP-DZ1Ufp4j.js → DownloadOverlay-BoIyiJ9R-BrnDYpeT.js} +25 -25
  65. package/dist/assets/{DrawerPage-BSa6DJZr-qMMFBQ70.js → DrawerPage-C_kxrXIc-B47jWjBF.js} +6 -6
  66. package/dist/assets/EditPeoplePage-auUWC3gB-CIBEluO-.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-DemIPGJ5-__tbtGcV.js → EditReimbursementDetailPage-C-Lj-_YG-CoM1L892.js} +68 -68
  68. package/dist/assets/{EntityDetailPage-C_luSjQJ-gU0CuHmw.js → EntityDetailPage-Cqkhzu9O-Cy317TdY.js} +3 -3
  69. package/dist/assets/{EntitySummarySection-BjoUr41l-C7FPAHha.js → EntitySummarySection-Dqgxknt6-C08jERYS.js} +7 -7
  70. package/dist/assets/ExpenseAutomationOverviewPage-CEsyeJ9u-Vd2vztPv.js +221 -0
  71. package/dist/assets/{ExpenseAutomationPage-CxTfHxhm-Ce5XWAmD.js → ExpenseAutomationPage-DxpK2JR5-zaigWkmt.js} +84 -84
  72. package/dist/assets/{ExpressPayPage-B9teVxc8-JoQIdUjx.js → ExpressPayPage-DBWJERD9-D7zx7vAW.js} +11 -11
  73. package/dist/assets/FeaturePreviewPage-CwGJVCMk-DPpp1EJs.js +11 -0
  74. package/dist/assets/{FollowStepsSection-ICp_6TcX-lhJdYmhw.js → FollowStepsSection-BrJecw-e-Bk-7Uig2.js} +16 -16
  75. package/dist/assets/{GlobalReviewListPage-CaSIQgOY-DGdAs5fa.js → GlobalReviewListPage-Duoi9mD_-B5ChLMfc.js} +8 -8
  76. package/dist/assets/HelpButton-C1djo0zO-B5bfUp0e.js +28 -0
  77. package/dist/assets/{InformationCardStack-B3zlnZE6-wDwMcmy4.js → InformationCardStack-BE5eaq-x-Crr0tqqP.js} +4 -4
  78. package/dist/assets/InsightsCardStack-EzAsNm_U-DfKOAZLK.js +79 -0
  79. package/dist/assets/InsightsSection-nzKuS0T9-ByBm7jVR.js +27 -0
  80. package/dist/assets/{IntegrationsSettingsPage-CfOJp2rR-b04C5x62.js → IntegrationsSettingsPage-45ETlpC6-C_HFfR6E.js} +7 -7
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BPckWTQy-B8QALhVW.js → InternationalWireSwiftDetailsPage-B21X5YFS-v1SDxw_E.js} +16 -16
  82. package/dist/assets/{InternationalWireVerificationPage-IyDI0e1n-DYga7XgS.js → InternationalWireVerificationPage-BzagdPaG-Ce-XXExi.js} +16 -16
  83. package/dist/assets/InviteFormPage-BNdBP-Mm-BVag9HjS.js +312 -0
  84. package/dist/assets/{InvitePageListView-BD4bJtvG-BRd9Y_Kk.js → InvitePageListView-ChzmK7Rt-KU08naj0.js} +56 -56
  85. package/dist/assets/InvitePeoplePage-DgqE2Y-0-buE5QoYo.js +12 -0
  86. package/dist/assets/InvoiceUploadSection-B8o-l15n-fgJ3TPQe.js +140 -0
  87. package/dist/assets/{IssueChargeCardPage-U5Z_OXsd-BhI60CC3.js → IssueChargeCardPage-BW0cXQqh-BNiBD72l.js} +27 -27
  88. package/dist/assets/{LabeledAddressValue-DaabTZGG-CqS6aLkw.js → LabeledAddressValue-BioQUVCV-Ci7O77nb.js} +1 -1
  89. package/dist/assets/LabeledAddressValueField-Cw-p18du-Bo-V2QDq.js +45 -0
  90. package/dist/assets/{LabeledControlledCheckBoxField-Cb9kJIyY-COWwT1U9.js → LabeledControlledCheckBoxField-CGT7KsYZ-DgeZ_i9R.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-BtboN2bE-CcyM7B_l.js → LabeledCreatableSingleSelectField-nys9pbO0-CMEO01ob.js} +3 -3
  92. package/dist/assets/{LabeledDocumentField-BKVHT_ih-BbSYSMIO.js → LabeledDocumentField-Y6TKpyZ8-BuT0ctts.js} +6 -6
  93. package/dist/assets/{LabeledDropDownFormattedTextField-CLUZVQCI-Dl18KotR.js → LabeledDropDownFormattedTextField-DWP9oUzM-WiGk1iqj.js} +7 -7
  94. package/dist/assets/{LabeledText-DXlb_cAu-26-Tc-oj.js → LabeledText-QrjXGWwJ-Dns3vhj9.js} +3 -3
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CqC0Fbjb-BK4Vd4sO.js → LabeledUserSingleSelectWithSubtitlesField-BK9XCXKo-HpHIU6gJ.js} +19 -19
  96. package/dist/assets/{LabeledZeniRolesDropDownField-Dbyg4yxA-NVxw40X2.js → LabeledZeniRolesDropDownField-C2PAZOPW-D2ClY0nA.js} +13 -13
  97. package/dist/assets/{LinkJETransactionPage-D8sX4v-7-CmubcDag.js → LinkJETransactionPage-BF6-BdWE-0mWta2_j.js} +14 -14
  98. package/dist/assets/{LowBalancePopup-fUydozi0-2AZsW6gw.js → LowBalancePopup-ZZ8Ap8Ls-CUcLGXHK.js} +6 -6
  99. package/dist/assets/{MagicLinkACHDetailsPage-BiZxVBT2-BgQoBLsN.js → MagicLinkACHDetailsPage-BDXiOwx_-heuH3284.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BO-mlqRp-BlYGqRnm.js → MagicLinkDomesticWireDetailsPage-B1-CK91r-DNpil-qE.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-BSwmG-gt-DpW5Ke9F.js → MagicLinkInternationalWireDetailsPage-D2rnWzME-COZliqJF.js} +1 -1
  102. package/dist/assets/MagicLinkSuccessPage-IHajRicG-E30AHkHR.js +31 -0
  103. package/dist/assets/MagicLinkTitleSection-CmTUPCA1-HqjTGids.js +17 -0
  104. package/dist/assets/MailingDetailsSection-AiehjqI1-XJzpQDBu.js +21 -0
  105. package/dist/assets/{MeetingCalenderPopup-BbCahdTF-B4UmM4rW.js → MeetingCalenderPopup-COpKcBhx-C-pHGrQ-.js} +1 -1
  106. package/dist/assets/{Menu-gdxz6nzv-HHbN6l47.js → Menu-frAXxk4e-D5SfikJ6.js} +2 -2
  107. package/dist/assets/{MyBankConnectionsSettingsPage-B-kZp6kY-CrYyL8sp.js → MyBankConnectionsSettingsPage-BtC6C9fL-CtnjHCxG.js} +16 -16
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-Cux0Zc6M-U6q4U480.js → MyPendingActivationChargeCardListPage-tXIpyxdq-Dn16KiS3.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-DlPCGOud-BVB3R6j6.js → MyProfileSettingsPage-BmMskLyK-cowVJjjg.js} +8 -8
  110. package/dist/assets/{NavBarWithPicker-DgFXO4Py-Dggil03U.js → NavBarWithPicker-ByLynfu6-CWL0M7cv.js} +5 -5
  111. package/dist/assets/{NavigationArrow-DfB1s0Kl-BnJi_C3J.js → NavigationArrow-D5-YpdfE-COs0SRq4.js} +5 -5
  112. package/dist/assets/{NavigationDots-B12u1DHV-D5jJBUMR.js → NavigationDots-MA8SVlUT-BxTCncjA.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-C4ljSG4I-DDFyWznX.js → NewGlobalMerchantPage-DtTW2Du8-vSXCZvgc.js} +19 -19
  114. package/dist/assets/NoDataChart-BdzVnx59-DBpJ4L1_.js +26 -0
  115. package/dist/assets/{NoDataTable-BsEI7aoI-wkC2GUJi.js → NoDataTable-B4J5Ou18-Dx3cRCiV.js} +1 -1
  116. package/dist/assets/{NotFoundPage-CQVgfvr8-D2gma-cY.js → NotFoundPage-BeAXQOme-CWKvirSD.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-CamY-jUK-F0rFAbXb.js → NotificationSettingsPage-CRZRet42-D_GdfDx5.js} +13 -13
  118. package/dist/assets/NotificationsListConfig-CkSDaMij-DkmjEqrX.js +1 -0
  119. package/dist/assets/{NotificationsPage-Cq5siAeE-k30I_gnw.js → NotificationsPage-Dqe96fU8-CXk3eZXG.js} +42 -42
  120. package/dist/assets/{OpExByVendorPage-D08wBmkx-Y2GK5O3R.js → OpExByVendorPage-CXtkN87m-DqWdzevT.js} +9 -9
  121. package/dist/assets/{OverlayContainerPage-GWXnlbZH-ZyhNxxD7.js → OverlayContainerPage-Cy_Jxf8N-BCFF9I-H.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-DD43rPhW-CRy6SHlx.js → PandLWithForecastPage-DTOqkynU-CSDkD4kN.js} +8 -8
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-C7GoqHot-DHxfJrOr.js → PaymentAccountSetupBillingAddressSection-C6WFeB3A-BjlyffIF.js} +11 -11
  124. package/dist/assets/{PeoplePage-BwWeuQq0-BndUg2mI.js → PeoplePage-D-j114xg-DnijdA2O.js} +19 -19
  125. package/dist/assets/PortfolioAllocationFormPage-C4XzSjzr-CrL4rhQH.js +207 -0
  126. package/dist/assets/PortfolioDetails-Bbfo0XDo-DfbkD_jI.js +218 -0
  127. package/dist/assets/ProductsCarousel-COUx0Xdj-CNFgt7bl.js +144 -0
  128. package/dist/assets/{PromoBaseCards-B0BCeySU-gtbU6hdZ.js → PromoBaseCards-DG1CAZvU-DmiRtARN.js} +3 -3
  129. package/dist/assets/{QBOConnectionDialog-CKOkxTzr-CFq9kDQU.js → QBOConnectionDialog-DLVcifji-D7Nr2N3C.js} +10 -10
  130. package/dist/assets/{QBOSetupSection-DycavdKb-D7D3dUQZ.js → QBOSetupSection-BeRZZ-Q_-Bkpo4GHK.js} +13 -13
  131. package/dist/assets/ReimbursementApprovalRuleDetailPage-CrbiufS3-Be0og6iF.js +26 -0
  132. package/dist/assets/{ReimbursementApprovalRulesPage-B6po7mmX-Do6opqVC.js → ReimbursementApprovalRulesPage-CTk2aZMz-B9qvmXok.js} +13 -13
  133. package/dist/assets/ReimbursementDetailPage-BofsP0W--DWfYHWwf.js +314 -0
  134. package/dist/assets/{ReimbursementPromoPage-DjcsW1Av-yKtL-R4s.js → ReimbursementPromoPage-CA2cUBsx-vBa_fNq2.js} +22 -22
  135. package/dist/assets/{ReimbursementSetUpPage-DQpxCs8Z-BHYAl5PP.js → ReimbursementSetUpPage-Em6S1wkj-DHkhjOAk.js} +10 -10
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-4foPx3A--DLl7J3FN.js → ReimbursementsBulkReviewDrawerPage-DpWChhvB-b31fy1Ak.js} +1 -1
  137. package/dist/assets/{ReloadCard-CaPpBGJK-B3TxE4Xx.js → ReloadCard-CZ1Ix5em-yJ8mKxcj.js} +5 -5
  138. package/dist/assets/{ReportTableViewSelector-D-blv3pI-9u6Jy1On.js → ReportTableViewSelector-BRA3CT_O-DwE8SqC0.js} +31 -31
  139. package/dist/assets/{ReportsPage-BZj7Tec8-7OuvguOZ.js → ReportsPage-CauV3wnZ-prB4TV27.js} +5 -5
  140. package/dist/assets/{RevenueChart-CwhdG15z-5r9GkohU.js → RevenueChart-BeM_1hYw-5JLTT-_d.js} +22 -22
  141. package/dist/assets/ReviewDetailsPage-C5xC8Cf1-DGXvG899.js +290 -0
  142. package/dist/assets/{ReviewOverlay-DdM4zwoh-B9sUf66Y.js → ReviewOverlay-DdWa7GLG-CvQA2STL.js} +14 -14
  143. package/dist/assets/RoleWithToolTip-BP8MTZdU-Be_jxRAF.js +22 -0
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DgwGten3-CcaOoY4S.js → ScheduleDetailsFixedAssetsPage-BlhhW9A6-DdYItZFt.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-C4UMK1HB-BcuKYiss.js → ScheduleDetailsPage-BKWKZuAL-BH3g9ZCU.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-n_lV13zp-DYUSXH4f.js → ScheduleSequenceTable-BzWPTqDM-vYzuxipM.js} +13 -13
  147. package/dist/assets/{ScreenRoutes-C2Cqwx4X.js → ScreenRoutes-DZS1wbQr.js} +35 -35
  148. package/dist/assets/{SetUpAccountSection-CGBdEw5o-BoYNmP-0.js → SetUpAccountSection-Trj1x2HL-dI87wJPY.js} +24 -24
  149. package/dist/assets/{SetUpDefaultSection-5H7JgUVZ-BrUDgNlV.js → SetUpDefaultSection-BQzNGjO7-CK4c2Bpt.js} +11 -11
  150. package/dist/assets/SignIn-Duk9PNwU-DixgXfPV.js +408 -0
  151. package/dist/assets/{SignInScreen-DoZpgpbA.js → SignInScreen-BmRc9jJ6.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-C0IA6cdd-wfL8wzzS.js → SpendManagementListViewPage-CREdM633-BfePeao6.js} +6 -6
  153. package/dist/assets/{SpendManagementPerTabPage-B727RQUp-s65TWf0o.js → SpendManagementPerTabPage-BZ6ISWXe-BW-zS6o1.js} +20 -20
  154. package/dist/assets/{SpendManagementSection-B8xyYfKM-CmM31s2m.js → SpendManagementSection-bMsztUap-DQV_fI3p.js} +10 -10
  155. package/dist/assets/{SpendMgmtSetupAccountSection-BHH-PFxf-Depg5zQN.js → SpendMgmtSetupAccountSection-Btdtp-ry-CXcnmwMK.js} +18 -18
  156. package/dist/assets/{StatementItem-CTOdgetS-6eHkTcsW.js → StatementItem-XLqlrHIu-Cpbi7odC.js} +4 -4
  157. package/dist/assets/{StatementsPage-d9G6kH-f-IDDBgWdI.js → StatementsPage-DWiXiOFU-Ce-S3-If.js} +4 -4
  158. package/dist/assets/{StatusSwitcher-BA7VjpgX-Ca70nQHM.js → StatusSwitcher-D1XZ-pbx-DXR-Z9Mc.js} +4 -4
  159. package/dist/assets/{SubTabSwitcher-DDJSCY6V-CD9BPDKc.js → SubTabSwitcher-Bt3F7ANv-tQiuzp7L.js} +7 -7
  160. package/dist/assets/{SummaryCard-bczJjOLG-CYw_yP5w.js → SummaryCard-edbbHOmb-6KyOKOgI.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-C99UjrT4-CObEfLxj.js → TaskManagementPage-BhtJBdco-vZo8zi7Y.js} +26 -26
  162. package/dist/assets/{TimeRangeSwitcher-DgpRdFEz-BUbEDucg.js → TimeRangeSwitcher-D9KzhRYO-BxhuLXC2.js} +5 -5
  163. package/dist/assets/{TimeframeSwitcher-D7Ebofq5-DDrCPNNP.js → TimeframeSwitcher-CbEHKZvd-DHwncIf9.js} +4 -4
  164. package/dist/assets/{TimeframeSwitcherWithToggle-BxG4mfwZ-DxB0KZnX.js → TimeframeSwitcherWithToggle-Cb91RXpD-DESaUqlB.js} +2 -2
  165. package/dist/assets/{TopExCard-Bl1HEvJK-Dtrdcb7e.js → TopExCard-DD9Rf9T6-9_TaxUMU.js} +5 -5
  166. package/dist/assets/{TopExDetailPage-RVGSdHNI-BrXwimKS.js → TopExDetailPage-DaDuwFrj-CcwM2mXk.js} +16 -16
  167. package/dist/assets/{TransactionDetailPage-2pU2-JVz-of2X5Xfu.js → TransactionDetailPage-0fIW4o-6-D0nIV4Ug.js} +34 -34
  168. package/dist/assets/{TransactionList-DnERXw-A-B8au2Vb8.js → TransactionList-CLjBadiP-753OG2zF.js} +9 -9
  169. package/dist/assets/{TransactionListBig-vCTvXh5y-LHKhEjnP.js → TransactionListBig-CwBxP1xB-BPQEVRdK.js} +21 -21
  170. package/dist/assets/{TransactionListPage-DVtqlCMZ-BHcMt30P.js → TransactionListPage-S1nTM7Yy-949fs33q.js} +3 -3
  171. package/dist/assets/TransactionVendorDetailPage-CTTTAais-DyaIAqb0.js +80 -0
  172. package/dist/assets/{TransferDrawerPage-C17-lHVH-BlD1lWac.js → TransferDrawerPage-BJDNWagE-Bb8XZZ_c.js} +22 -22
  173. package/dist/assets/{TreasuryOverviewPage-DSRk9Ojd-BvGsuobQ.js → TreasuryOverviewPage-DB-ZH19K-CxTxKL-B.js} +21 -21
  174. package/dist/assets/{TreasuryPromoPage-C-8SuUVF-Cm1i1FgX.js → TreasuryPromoPage-3MwRPpCt-BvE_AKFs.js} +29 -29
  175. package/dist/assets/{TreasurySetupPage-CBN3MDev-C-grWNEM.js → TreasurySetupPage--G4JCzdh-DTLVQtx0.js} +10 -10
  176. package/dist/assets/TreasuryStatementsPage-DBykLGfz-CkaOHrs9.js +58 -0
  177. package/dist/assets/TreasuryTaxLetterPage-DgbrzE9u-qZ36amKR.js +58 -0
  178. package/dist/assets/{TreasuryTransferOrReviewPage-fm-w_JUE-DKrPC_x7.js → TreasuryTransferOrReviewPage-ByM1UIiU-CrfXgAEO.js} +32 -32
  179. package/dist/assets/TrendChart-B0CS3MXT-CJXL6oWk.js +16 -0
  180. package/dist/assets/{TrendWithTransactions-DYpTdT3--R9jQoh0b.js → TrendWithTransactions-D4OAA6yK-ByMmlAQy.js} +11 -11
  181. package/dist/assets/{UncategorizedAccountsMappingPage-BP5b7SLK-C8p5el8I.js → UncategorizedAccountsMappingPage-C6jaWqrE-Cl46ccED.js} +14 -14
  182. package/dist/assets/{UnitIntegrationPage-CEdW3T2--Cpg54vze.js → UnitIntegrationPage-5LOvIFvr-CSNIHDMs.js} +5 -5
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-DEJxFgaz-CqEBFxdG.js → UploadAdditionalDocumentOverlay-CLQLrn0v-GNUaaDjD.js} +2 -2
  184. package/dist/assets/{Vendor2FAPopup-DKQXhPGa-CMIVL3CP.js → Vendor2FAPopup-BOl520xa-BuVd3Tfo.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-CYVg93tk-DmDhIGxN.js → VendorACHDetailsPage-B5jKUOjo-BPsY9-6v.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-CQptl370-3nKw4Kix.js → VendorDetailPage-B0GRXPKg-ByVUDMs8.js} +15 -15
  187. package/dist/assets/{VendorDomesticWireDetailsPage-VAGgBKEt-D_f0ihiL.js → VendorDomesticWireDetailsPage-CeI3QihK-CDILYA9w.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-DT3_7-pU-RiW4JvZ2.js → VendorFiling1099EditablePage-aNGSdZBf-DBGBKktq.js} +12 -12
  189. package/dist/assets/{VendorFirstReviewPage-CTu8QLSu-DnfUKOoS.js → VendorFirstReviewPage-CjwnZLcm-BS4ctQeS.js} +55 -55
  190. package/dist/assets/{VendorInternationalWireDetailsPage-DETN5xQf-CjzJChB2.js → VendorInternationalWireDetailsPage-w-46Xxg--DszkHfO8.js} +14 -14
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CoFSDse_-sJgkwlvj.js → VendorInternationalWireSwiftDetailsPage-C5dogij9-B5Z42HAm.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-B0atBQRf-D2gfccVj.js → VendorsAccountsSection-DBYoP6us-m-UlMIUE.js} +8 -8
  193. package/dist/assets/VerifyDevice-C-ZVbaIJ-CIv3edYq.js +67 -0
  194. package/dist/assets/{WarningsDrawerPage-C8sUYwZn-DHSA7B3Q.js → WarningsDrawerPage-CZcR7kH4-DEYvaTpP.js} +22 -22
  195. package/dist/assets/{ZeniAccountDetailPage-D8uZ-seh-Bn0jz2KD.js → ZeniAccountDetailPage-C-NQEE2--DX6KocHq.js} +27 -27
  196. package/dist/assets/{ZeniAccountListViewPage-BuwG7e20-CGCQN7VV.js → ZeniAccountListViewPage-Cb8Ptf-w-CnsEl69A.js} +20 -20
  197. package/dist/assets/ZeniAccountNavBarPieces-DX2iXF2E-1ke49fYY.js +14 -0
  198. package/dist/assets/{ZeniAccountPromoPage-3t3vzAGh-BCXxtLYJ.js → ZeniAccountPromoPage-D5ihjbrM-BYzcz3TH.js} +35 -35
  199. package/dist/assets/{ZeniAccountSetupPage-BVzvcRnV-BNAixRt2.js → ZeniAccountSetupPage-BRxz_tnh-DCZgNkIH.js} +5 -5
  200. package/dist/assets/{ZeniCopyright-DcAcIGRB-BKnE2TG4.js → ZeniCopyright-Bi82glrb-B4W4PyYI.js} +1 -1
  201. package/dist/assets/ZeniTransferAmountSlider-B4d4bp7D-BtiLgvYI.js +63 -0
  202. package/dist/assets/{analyticsHelper-Ce1paQ9E.js → analyticsHelper-B1Dq7CFG.js} +1 -1
  203. package/dist/assets/{analyticsHelper-D2Tw-gFs-eQJPWT5C.js → analyticsHelper-D3DK7bgU-DKC9D3IV.js} +1 -1
  204. package/dist/assets/chartTypes-DJY-6KK0-Bn67wfYK.js +1 -0
  205. package/dist/assets/{commonDimensions-C417LkG3-C7UIZrNu.js → commonDimensions-DRK1vfDX-ClE52WoC.js} +1 -1
  206. package/dist/assets/{detailCommon-DMILWpBc-RRbeBtZi.js → detailCommon-6K-6m9pv-qRZaQ7y6.js} +11 -11
  207. package/dist/assets/{downloadPdf-TtzJSlkj-CGhMXd7Q.js → downloadPdf-DAA4T-qo-DW9SlRq2.js} +1 -1
  208. package/dist/assets/{index-BWC1TL5d.js → index-DL4A-6yw.js} +4249 -4149
  209. package/dist/assets/{mapLoadingInProgressToTreeNode-BuX84Fl8-ot7C0AaF.js → mapLoadingInProgressToTreeNode-BAlOrI07-BQoh0xnC.js} +1 -1
  210. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CuqkYL_a-B5yNZNF2.js → mapSectionWithAcOnlyToTreeNode-Bk-EXs-E-1lwoWyAH.js} +1 -1
  211. package/dist/assets/{mapSpacerToTreeNode-CkoeX_hU-DbCgBPI6.js → mapSpacerToTreeNode-Cxd9BEJr-Ch6dWnZw.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-CbddU0ga-DIkFHvzj.js → mapTimeframeBalancesToTreeNode-BzFUtqqU-BhmBvUWn.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-Dz-UvEDI-4RPbaSvt.js → mapTimeframeBalancesToTreeNode-Cf8fsAZJ-BcQf6ORP.js} +1 -1
  214. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-C_cGYrFN-CEv0CD4y.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CZMzZg1q-BuGum9U5.js} +1 -1
  215. package/dist/assets/{play-icon-DvnIcVvi-DvSnSuaB.js → play-icon-DY_hSiAf-CKJE1iwz.js} +1 -1
  216. package/dist/assets/{toCOABalancesWithID-CEYLTlMK-Pc_5wHSr.js → toCOABalancesWithID-BaqBVqJ_-BHtNJ6ZW.js} +1 -1
  217. package/dist/assets/{toChartData-DgmHnq7q-B3Nm2HJw.js → toChartData-7MYPev1U-B-o9TPgk.js} +1 -1
  218. package/dist/assets/{treasuryColorHelper-D6-KrZju-XtCPjxKX.js → treasuryColorHelper-CDhLDRLr-DUS0wU7A.js} +1 -1
  219. package/dist/assets/{uploadAttachment-B6HsV49B-D42ql6vx.js → uploadAttachment-DqCoxBNU-BhvU5QWM.js} +24 -24
  220. package/dist/assets/{uploadReceipts-D80JLNY4-CfuAxnwz.js → uploadReceipts-CU1mDxNv-CNHIke5A.js} +1 -1
  221. package/dist/index.html +1 -1
  222. package/package.json +4 -4
  223. package/dist/assets/ACHDetailsPage-HYH4LhGK-CqpovcOt.js +0 -21
  224. package/dist/assets/ArAgingDetailPage-cC50pBdB-DWqg5D4v.js +0 -46
  225. package/dist/assets/ChargeCardPromoPage-D7WfGZCc-D3jGgxfS.js +0 -219
  226. package/dist/assets/ChargeCardUtils-Bj-TvntU-DKA9Svwd.js +0 -1
  227. package/dist/assets/CheckDepositDrawerPage-CGicBOjt-Cp0n-aUb.js +0 -206
  228. package/dist/assets/CompleteProfile-CGaFSQZ5-CT-KemCT.js +0 -36
  229. package/dist/assets/CurrencySelectField-DLqb-9fp-7Lbpa3gg.js +0 -139
  230. package/dist/assets/CustomerOnboardingContainerPage-ILwY2ADL-e32qhnSc.js +0 -1
  231. package/dist/assets/DepositAccTransactionListPage-DrEbXdWa-CjdZSl1c.js +0 -66
  232. package/dist/assets/DomesticWireDetailsPage-BVmsi9ei-C0IdiYoz.js +0 -21
  233. package/dist/assets/EditPeoplePage-Ci4ys6zZ-wdZgBb5c.js +0 -55
  234. package/dist/assets/ExpenseAutomationOverviewPage-DwRzHbCN-M_rk-pmX.js +0 -221
  235. package/dist/assets/FeaturePreviewPage-LAldEIqF-c3qniz-f.js +0 -11
  236. package/dist/assets/HelpButton-C-GTHvg5-B73y4skm.js +0 -28
  237. package/dist/assets/InsightsCardStack-Czo2phfa-Cm5iDipS.js +0 -79
  238. package/dist/assets/InsightsSection-BF65nVDk-DYItDZKN.js +0 -27
  239. package/dist/assets/InviteFormPage-GPQ5eSD8-D4Km3JK3.js +0 -312
  240. package/dist/assets/InvitePeoplePage-DhGjKKsO-DMvNoiBq.js +0 -12
  241. package/dist/assets/InvoiceUploadSection-DzOByrtE-BiYJ5rDx.js +0 -140
  242. package/dist/assets/LabeledAddressValueField-B2TfgAjp-DeJpApWQ.js +0 -45
  243. package/dist/assets/MagicLinkSuccessPage-BA_B_aML-D6ZNuO7o.js +0 -31
  244. package/dist/assets/MagicLinkTitleSection-hjUfjUKg-859fufSN.js +0 -17
  245. package/dist/assets/MailingDetailsSection-zYhyH_Di-DaB_9uLu.js +0 -21
  246. package/dist/assets/NoDataChart-C86cs81n-B4k4ZJvb.js +0 -26
  247. package/dist/assets/NotificationsListConfig-Cj32T7Hz-BI43-Dlv.js +0 -1
  248. package/dist/assets/PortfolioAllocationFormPage-QLO1aksn-GEi_e54k.js +0 -207
  249. package/dist/assets/PortfolioDetails-EbWPeH4e-BqBAYrVk.js +0 -218
  250. package/dist/assets/ProductsCarousel-VTApOnqN-hxmFSNXK.js +0 -138
  251. package/dist/assets/ReimbursementApprovalRuleDetailPage-PHWY-z0e-DuR1RMJV.js +0 -26
  252. package/dist/assets/ReimbursementDetailPage-Dt6DhlL1-Y5GGZTgF.js +0 -314
  253. package/dist/assets/ReviewDetailsPage-CuO3d_n4-f2PfpGBb.js +0 -290
  254. package/dist/assets/RoleWithToolTip-BNc9Cjys-DoiiktPv.js +0 -22
  255. package/dist/assets/SignIn-DpOLibjy-oKrl1HwS.js +0 -325
  256. package/dist/assets/TransactionVendorDetailPage-0FE-k35E-BpjmcaBp.js +0 -80
  257. package/dist/assets/TreasuryStatementsPage-CYcFki_F-KXCo4wP7.js +0 -58
  258. package/dist/assets/TreasuryTaxLetterPage-D_yfrqyw-D-EC06Jz.js +0 -58
  259. package/dist/assets/TrendChart-C6zZmjPl-B8dyRAMm.js +0 -16
  260. package/dist/assets/ZeniAccountNavBarPieces-uukfD44t-vZHL-f_f.js +0 -14
  261. package/dist/assets/ZeniTransferAmountSlider-RA4Pva57-sOlVo3w-.js +0 -63
  262. package/dist/assets/chartTypes-DX9eCHdW-Da5ONL2Y.js +0 -1
@@ -1,4 +1,4 @@
1
- import{w as zA,l as uA,j as e,y as wt,z as xt,A as ft,o as r,B as kt,D as mA,H as Dt,I as Ae,J as yt,L as Mt,N as jt,P as vt,R as bt,S as Rt,U as F,M as d,X as V,W as H,Y as x,_ as P,a0 as G,m as b,a as St,a1 as ye,a2 as Lt,F as Ft,a3 as Jt,C as z,a4 as T,a5 as W,e as Z,a6 as Me,a7 as R,a8 as L,a9 as WA,u as rA,aa as Ut,ab as qA,ac as Pt,g as f,ad as Ot,ae as Ht,v as J,af as vA,Z as XA,s as VA,ag as je,ah as ve,ai as be,aj as ZA,Q as Tt,h as Yt,ak as Kt,al as Re,am as Gt,an as Nt,ao as bA,ap as zt,aq as Wt,ar as qt,as as Xt,at as Vt,au as Zt,av as $t,c as Se,p as _t,aw as Ar,ax as er,ay as Le,az as tr,n as rr,aA as gr,r as ar,aB as Fe}from"./index-BWC1TL5d.js";import{b as o,n as C,f as D,k as S,j as pA}from"./vendor-CnQcJ2Lu.js";import{L as or,k as Cr}from"./ArAgingChart-CIZs2s3O-3kn6pTqp.js";import{E as ir,T as $A,I as Je}from"./ReloadCard-CaPpBGJK-B3TxE4Xx.js";import{L as nr,O as wA,c as gA}from"./TopExCard-Bl1HEvJK-Dtrdcb7e.js";import{H as Er,Y as Br,P as Qr,G as sr,N as Ir}from"./RevenueChart-CwhdG15z-5r9GkohU.js";import dr from"./InsightsCardStack-Czo2phfa-Cm5iDipS.js";import{a as lr}from"./AccountsPromoCardStack-BKVvUpdv-BgQY7tCS.js";import{c as q}from"./SummaryCard-bczJjOLG-CYw_yP5w.js";import{t as cr,o as hr}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{x as EA}from"./NavigationArrow-DfB1s0Kl-BnJi_C3J.js";import{f as _A}from"./NavigationDots-B12u1DHV-D5jJBUMR.js";import mr from"./CompanyPassportCard-Byoyj6z--DL9or2iC.js";import{C as pr}from"./gift-box-Cmt9OgIZ-DKWN92w0.js";import ur from"./InformationCardStack-B3zlnZE6-wDwMcmy4.js";import{p as Ue}from"./chartTypes-DX9eCHdW-Da5ONL2Y.js";import{h as wr}from"./toCOABalancesWithID-CEYLTlMK-Pc_5wHSr.js";import{V as xr}from"./toChartData-DgmHnq7q-B3Nm2HJw.js";import{r as fr,i as kr}from"./graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js";import{N as Dr,J as yr}from"./PromoBaseCards-B0BCeySU-gtbU6hdZ.js";import Mr from"./ConfettiBurst-C6in2R-G-DTnWnZ65.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const jr=C(W)`
1
+ import{y as zA,l as uA,j as e,z as wt,A as xt,D as ft,o as r,H as kt,I as mA,J as Dt,L as Ae,N as yt,O as Mt,R as jt,S as vt,U as bt,V as Rt,W as F,B as d,X as V,Z as H,_ as x,a0 as P,a1 as G,s as b,a as St,a2 as ye,a3 as Lt,F as Ft,a4 as Jt,C as z,a5 as T,a6 as W,M as Z,a7 as Me,a8 as R,a9 as L,aa as WA,u as rA,ab as Ut,ac as qA,ad as Pt,d as f,ae as Ot,af as Ht,$ as J,ag as vA,Y as XA,n as VA,ah as je,ai as ve,aj as be,ak as ZA,Q as Tt,g as Yt,al as Kt,am as Re,an as Gt,ao as Nt,ap as bA,aq as zt,ar as Wt,as as qt,at as Xt,au as Vt,av as Zt,aw as $t,i as Se,v as _t,ax as Ar,ay as er,az as Le,aA as tr,q as rr,aB as gr,f as ar,aC as Fe}from"./index-DL4A-6yw.js";import{b as o,n as C,f as D,k as S,j as pA}from"./vendor-CnQcJ2Lu.js";import{L as or,k as Cr}from"./ArAgingChart-CNghm3pm-DjM8SIw0.js";import{E as ir,T as $A,I as Je}from"./ReloadCard-CZ1Ix5em-yJ8mKxcj.js";import{L as nr,O as wA,c as gA}from"./TopExCard-DD9Rf9T6-9_TaxUMU.js";import{H as Er,Y as Br,P as Qr,G as sr,N as Ir}from"./RevenueChart-BeM_1hYw-5JLTT-_d.js";import dr from"./InsightsCardStack-EzAsNm_U-DfKOAZLK.js";import{a as lr}from"./AccountsPromoCardStack-DBCYok4Z-CTvK9ol0.js";import{c as q}from"./SummaryCard-edbbHOmb-6KyOKOgI.js";import{t as cr,o as hr}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{x as EA}from"./NavigationArrow-D5-YpdfE-COs0SRq4.js";import{f as _A}from"./NavigationDots-MA8SVlUT-BxTCncjA.js";import mr from"./CompanyPassportCard-ElwK6uOD-7Q4qVOCI.js";import{C as pr}from"./gift-box-Cmt9OgIZ-DKWN92w0.js";import ur from"./InformationCardStack-BE5eaq-x-Crr0tqqP.js";import{p as Ue}from"./chartTypes-DJY-6KK0-Bn67wfYK.js";import{h as wr}from"./toCOABalancesWithID-BaqBVqJ_-BHtNJ6ZW.js";import{V as xr}from"./toChartData-7MYPev1U-B-o9TPgk.js";import{r as fr,i as kr}from"./graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js";import{N as Dr,J as yr}from"./PromoBaseCards-DG1CAZvU-DmiRtARN.js";import Mr from"./ConfettiBurst-CjhkW_Be-a-0gg6hW.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const jr=C(W)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,ee=C.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Xe,c as Ke,D as Je,aX as Qe,o as d,C as L,H as Q,aY as et,aZ as tt,v as ae,m as C,ai as st,a7 as ot,a_ as at,a2 as Be,K as Pe,g as T,Z as Ne,a6 as nt,ao as it,n as rt,a$ as ct,b0 as lt,b1 as dt,b2 as ie,b3 as pt,aB as ut,e as gt,b4 as ht}from"./index-BWC1TL5d.js";import{b as y,f as ee,n as u,k as Le}from"./vendor-CnQcJ2Lu.js";import{m as U,l as oe}from"./analyticsHelper-D2Tw-gFs-eQJPWT5C.js";import{c as mt,h as ft}from"./ReportTableViewSelector-D-blv3pI-9u6Jy1On.js";import{F as bt}from"./InsightsSection-BF65nVDk-DYItDZKN.js";import{k as _e,q as xt,G as _t,H as te,N as ue}from"./detailCommon-DMILWpBc-RRbeBtZi.js";import{N as wt,G as St,H as we,Y as Se,P as ye}from"./RevenueChart-CwhdG15z-5r9GkohU.js";import{C as yt}from"./NoDataChart-C86cs81n-B4k4ZJvb.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-DgpRdFEz-BUbEDucg.js";import{b as Ie}from"./TimeframeSwitcher-D7Ebofq5-DDrCPNNP.js";import{R as $t,W as V,x as jt,l as ge,D as Ct}from"./CollapsableReportTable-UQFDb8XE-prrDdDgf.js";import{S as kt,M as Ot,g as Bt,L as se,D as Re,T as De,I as Te}from"./mapSectionWithAcOnlyToTreeNode-CuqkYL_a-B5yNZNF2.js";import{d as Pt}from"./NoDataTable-BsEI7aoI-wkC2GUJi.js";import{d as he,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-C_cGYrFN-CEv0CD4y.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-BuX84Fl8-ot7C0AaF.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./NavigationDots-B12u1DHV-D5jJBUMR.js";import"./chartTypes-DX9eCHdW-Da5ONL2Y.js";import"./toCOABalancesWithID-CEYLTlMK-Pc_5wHSr.js";import"./toChartData-DgmHnq7q-B3Nm2HJw.js";import"./AccountRow-CKtmIbKO-Cn4F2YVA.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const Nt=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Lt=u.div`
1
+ import{X as B,u as q,B as _,y as Oe,l as D,j as s,aV as Ke,i as Qe,I as Xe,aX as Je,o as d,C as L,J,aY as et,aZ as tt,$ as ae,s as j,aj as st,a8 as ot,a_ as at,a3 as Be,K as Pe,d as T,Y as Ne,a7 as nt,ap as it,q as rt,a$ as ct,b0 as lt,b1 as dt,b2 as ie,b3 as pt,aC as ut,M as gt,b4 as ht}from"./index-DL4A-6yw.js";import{b as y,f as ee,n as u,k as Le}from"./vendor-CnQcJ2Lu.js";import{m as U,l as oe}from"./analyticsHelper-D3DK7bgU-DKC9D3IV.js";import{c as mt,h as ft}from"./ReportTableViewSelector-BRA3CT_O-DwE8SqC0.js";import{B as bt}from"./InsightsSection-nzKuS0T9-ByBm7jVR.js";import{N as _e,q as xt,G as _t,H as te,k as ue}from"./detailCommon-6K-6m9pv-qRZaQ7y6.js";import{N as wt,G as St,H as we,Y as Se,P as ye}from"./RevenueChart-BeM_1hYw-5JLTT-_d.js";import{C as yt}from"./NoDataChart-BdzVnx59-DBpJ4L1_.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-D9KzhRYO-BxhuLXC2.js";import{b as Ie}from"./TimeframeSwitcher-CbEHKZvd-DHwncIf9.js";import{R as $t,W as V,x as Ct,l as ge,D as jt}from"./CollapsableReportTable-CKmPwC_x-C8Lt_vH6.js";import{S as kt,M as Ot,g as Bt,L as se,D as Re,T as De,I as Te}from"./mapSectionWithAcOnlyToTreeNode-Bk-EXs-E-1lwoWyAH.js";import{d as Pt}from"./NoDataTable-B4J5Ou18-Dx3cRCiV.js";import{d as he,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CZMzZg1q-BuGum9U5.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-BAlOrI07-BQoh0xnC.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./NavigationDots-MA8SVlUT-BxTCncjA.js";import"./chartTypes-DJY-6KK0-Bn67wfYK.js";import"./toCOABalancesWithID-BaqBVqJ_-BHtNJ6ZW.js";import"./toChartData-7MYPev1U-B-o9TPgk.js";import"./AccountRow-BpBK8mVs-BpLiFAfl.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const Nt=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Lt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -17,11 +17,11 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Xe,c as Ke,D as Je,aX as
17
17
  justify-content: center;
18
18
  flex-direction: column;
19
19
  margin-top: ${d.sp3};
20
- `,Dt=({style:e,emptyContentText:t,EmptyContentImage:a})=>{const n=B();return s.jsxs(Lt,{windowSize:n,style:{...e},children:[s.jsx(It,{children:s.jsx(a,{})}),s.jsx(Rt,{children:t})]})};function Tt(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,m=l.balances.length>0?l:c,g=o.balances.length>0?o:m;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 zt(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=Tt({report:i,filter:a}));const m=[];if(t?(m.push("this_period_vs_last_period_percent"),m.push("this_period_vs_last_period")):!t&&l!=="cash_position"&&m.push("free_range_total"),i.reportId!=="cash_position"&&m.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:m,format:e.reportType,balancesFilter:{thisPeriod:c,numberOfPeriods:t?a.balancesRange.numberOfPeriods:n.numberOfPeriods,orderBy:n.orderBy},accountViewMode:p,classesToFilterOut:o,isZeniCOAUsed:e.isZeniCOAUsed}}function Mt(e){const t=zt(e);if(t!=null)return mt(e.statementEndPoint,e.authParams,t)}const At=u.div`
20
+ `,Dt=({style:e,emptyContentText:t,EmptyContentImage:a})=>{const n=B();return s.jsxs(Lt,{windowSize:n,style:{...e},children:[s.jsx(It,{children:s.jsx(a,{})}),s.jsx(Rt,{children:t})]})};function Tt(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,m=l.balances.length>0?l:c,g=o.balances.length>0?o:m;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 zt(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=Tt({report:i,filter:a}));const m=[];if(t?(m.push("this_period_vs_last_period_percent"),m.push("this_period_vs_last_period")):!t&&l!=="cash_position"&&m.push("free_range_total"),i.reportId!=="cash_position"&&m.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:m,format:e.reportType,balancesFilter:{thisPeriod:c,numberOfPeriods:t?a.balancesRange.numberOfPeriods:n.numberOfPeriods,orderBy:n.orderBy},accountViewMode:p,classesToFilterOut:o,isZeniCOAUsed:e.isZeniCOAUsed}}function At(e){const t=zt(e);if(t!=null)return mt(e.statementEndPoint,e.authParams,t)}const Mt=u.div`
21
21
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
22
- `;function Ft({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(At,{children:s.jsx(te,{balance:p,dateText:o,showInfotip:!1})})}const Et=u.div`
22
+ `;function Et({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(Mt,{children:s.jsx(te,{balance:p,dateText:o,showInfotip:!1})})}const Ft=u.div`
23
23
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
24
- `;function Vt({highlightedRangeReport:e}){const{dateFormat:{visual:t}}=_.getLocalizedStrings(),{availableNumberOfPeriods:a,cashPosition:n}=e,i=n.balances;if(a==null||a===0||i.length===0)return null;const r=i[i.length-1],p=`in ${r.endDate.format(t.MMMYYFormat)}`;return s.jsx(Et,{children:s.jsx(te,{balance:r,dateText:p,showInfotip:!1})})}const Wt=u.div`
24
+ `;function Vt({highlightedRangeReport:e}){const{dateFormat:{visual:t}}=_.getLocalizedStrings(),{availableNumberOfPeriods:a,cashPosition:n}=e,i=n.balances;if(a==null||a===0||i.length===0)return null;const r=i[i.length-1],p=`in ${r.endDate.format(t.MMMYYFormat)}`;return s.jsx(Ft,{children:s.jsx(te,{balance:r,dateText:p,showInfotip:!1})})}const Wt=u.div`
25
25
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
26
26
  `,Ht=u.div`
27
27
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
@@ -33,17 +33,17 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Xe,c as Ke,D as Je,aX as
33
33
  height: ${d.sp6};
34
34
  `;function Zt({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a}=e,{selectedAdditionalBalances:n}=t,i=e.sections.expenses.balances??[];if(a==null||a===0||i.length===0)return s.jsx(Ut,{});const r=n.includes("this_period_vs_last_period")||n.includes("this_period_vs_last_period_percent"),p=i.reduce((g,h)=>g+h.balance.amount,0),o=i[i.length-1],l=i[0],c={...o,balance:{...o.balance,amount:p},startDate:l.startDate},m=ue(c,r);return s.jsx(Gt,{children:s.jsx(te,{balance:c,dateText:m,showInfotip:!1})})}const qt=u.div`
35
35
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
36
- `,Xt=u.div`
36
+ `,Kt=u.div`
37
37
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
38
38
  height: ${d.sp6};
39
- `;function Kt({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(Xt,{});const p=i.includes("this_period_vs_last_period")||i.includes("this_period_vs_last_period_percent"),o=r.reduce((h,f)=>h+f.balance.amount,0),l=r[r.length-1],c=r[0],m={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=ue(m,p);return s.jsx(qt,{children:s.jsx(te,{balance:m,dateText:g,showInfotip:!1})})}const Jt=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(Yt,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(Kt,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(Zt,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(Vt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(Ft,{highlightedRangeReport:e});default:return null}},J={wrapperPadding:new L(C[3],C[3],C[8]),chartHeight:new L(288,360)},Qt=u.div`
39
+ `;function Qt({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(Kt,{});const p=i.includes("this_period_vs_last_period")||i.includes("this_period_vs_last_period_percent"),o=r.reduce((h,f)=>h+f.balance.amount,0),l=r[r.length-1],c=r[0],m={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=ue(m,p);return s.jsx(qt,{children:s.jsx(te,{balance:m,dateText:g,showInfotip:!1})})}const Xt=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(Yt,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(Qt,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(Zt,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(Vt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(Et,{highlightedRangeReport:e});default:return null}},X={wrapperPadding:new L(j[3],j[3],j[8]),chartHeight:new L(288,360)},Jt=u.div`
40
40
  display: flex;
41
41
  flex: 1 1 auto;
42
42
  flex-direction: column;
43
- height: ${e=>J.chartHeight.valuePx(e.windowSize)};
43
+ height: ${e=>X.chartHeight.valuePx(e.windowSize)};
44
44
  `,es=u.div`
45
45
  display: flex;
46
- `,ts=e=>{const t=B(),{selectedRangeReport:a,selectedClassesViewRangeReport:n,uiState:i,onCOABalancesRangeChanged:r}=e,p=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,{selectedCOABalancesRange:o,selectedAdditionalBalances:l,highlightedCOABalancesRange:c,timeframe:m}=i,g=n!==void 0&&n.uiState.accountViewMode==="classes"?n:a;return p?s.jsx(es,{children:s.jsx(yt,{title:_.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(Qt,{windowSize:t,children:s.jsx(st,{children:({height:h,width:f})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(w,S,b)=>{ss(a.firstMonthOfFY,l,a.reportId,S,w,e.analytics),r(o,b)},highlightedRange:c,isDetailPage:!0,timeframe:m,width:f,height:h};switch(g.reportId){case"net_burn_or_income":return s.jsx(ye,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return s.jsx(ye,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"revenue":return s.jsx(Se,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(Se,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(we,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(we,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(St,{selectedRangeReport:a,...x});case"cash_in_cash_out":return s.jsx(wt,{selectedRangeReport:a,...x});default:return null}}})})},ss=(e,t,a,n,i,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(R(a),U(n),"bar",oe(e,n,i)),r?.trackDateRangeFilterChange(R(a),"bar",p,void 0,oe(e,n,i))},ze={net_burn_or_income:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast-dark.png"},revenue:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast-dark.png"},operating_expenses:{light:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast.png",dark:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast-dark.png"}},Me=Le`
46
+ `,ts=e=>{const t=B(),{selectedRangeReport:a,selectedClassesViewRangeReport:n,uiState:i,onCOABalancesRangeChanged:r}=e,p=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,{selectedCOABalancesRange:o,selectedAdditionalBalances:l,highlightedCOABalancesRange:c,timeframe:m}=i,g=n!==void 0&&n.uiState.accountViewMode==="classes"?n:a;return p?s.jsx(es,{children:s.jsx(yt,{title:_.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(Jt,{windowSize:t,children:s.jsx(st,{children:({height:h,width:f})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(w,S,b)=>{ss(a.firstMonthOfFY,l,a.reportId,S,w,e.analytics),r(o,b)},highlightedRange:c,isDetailPage:!0,timeframe:m,width:f,height:h};switch(g.reportId){case"net_burn_or_income":return s.jsx(ye,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return s.jsx(ye,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"revenue":return s.jsx(Se,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(Se,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(we,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(we,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(St,{selectedRangeReport:a,...x});case"cash_in_cash_out":return s.jsx(wt,{selectedRangeReport:a,...x});default:return null}}})})},ss=(e,t,a,n,i,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(R(a),U(n),"bar",oe(e,n,i)),r?.trackDateRangeFilterChange(R(a),"bar",p,void 0,oe(e,n,i))},ze={net_burn_or_income:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast-dark.png"},revenue:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast-dark.png"},operating_expenses:{light:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast.png",dark:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast-dark.png"}},Ae=Le`
47
47
  0% {
48
48
  transform: translateY(100%)
49
49
  }
@@ -83,18 +83,18 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Xe,c as Ke,D as Je,aX as
83
83
  align-items: center;
84
84
  overflow: auto;
85
85
  background: ${T.blackColor}E6;
86
- `,Ae=u.div`
86
+ `,Me=u.div`
87
87
  padding: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp0:`${d.sp0} ${d.sp8}`};
88
88
  margin-top: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp0:d.sp7};
89
89
  width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"100%":"620px"};
90
90
  height: 544px;
91
91
  text-align: center;
92
- `,Fe=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
+ `,Fe=u.div`
98
98
  color: ${e=>e.theme.colors.hero};
99
99
  width: ${d.sp3};
100
100
  height: ${d.sp3};
@@ -115,7 +115,7 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Xe,c as Ke,D as Je,aX as
115
115
  width: 700px;
116
116
  background: ${e=>e.theme.colors.grey5};
117
117
  border-radius: ${d.sp2};
118
- animation: ${Me} 0.4s;
118
+ animation: ${Ae} 0.4s;
119
119
  position: relative;
120
120
  `,rs=u.div`
121
121
  display: flex;
@@ -126,7 +126,7 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Xe,c as Ke,D as Je,aX as
126
126
  text-align: center;
127
127
  height: 640px;
128
128
  width: 100%;
129
- animation: ${Me} 0.4s;
129
+ animation: ${Ae} 0.4s;
130
130
  position: relative;
131
131
  `,cs=u.div`
132
132
  position: absolute;
@@ -197,7 +197,7 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Xe,c as Ke,D as Je,aX as
197
197
  border-radius: 12px;
198
198
  border: ${e=>`1px solid ${e.theme.colors.grey5}`};
199
199
  padding: ${d.sp2};
200
- `,de=()=>s.jsxs(ps,{children:[s.jsx(us,{}),s.jsx(gs,{})]}),He=({imgSrc:e})=>{const t=B();return s.jsxs(fs,{windowSize:t,children:[s.jsx(xs,{windowSize:t,children:s.jsx(_s,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(bs,{windowSize:t,children:[s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},ws=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=q(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=ze[a][r.mode];return s.jsxs(ns,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Fe,{children:s.jsx(Ee,{children:s.jsx(Be,{style:{width:"18px",height:"18px"}})})}),s.jsx(rs,{onClick:c=>c.stopPropagation(),children:s.jsxs(Ae,{windowSize:i,children:[s.jsx(ms,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(He,{imgSrc:l}),s.jsxs(Ve,{children:[s.jsx(Pe,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o,style:{backgroundColor:T.primaryDark,borderColor:T.primaryDark,color:T.neutralGrey5Dark}}),s.jsx(We,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Ss=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=q(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=ze[a][r.mode];return s.jsxs(as,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Fe,{children:s.jsx(Ee,{children:s.jsx(Be,{style:{width:"18px",height:"18px"}})})}),s.jsxs(is,{onClick:c=>c.stopPropagation(),children:[s.jsxs(Ae,{windowSize:i,children:[s.jsx(hs,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(He,{imgSrc:l}),s.jsxs(Ve,{children:[s.jsx(Pe,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o}),s.jsx(We,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(cs,{children:s.jsx(de,{})}),s.jsx(ls,{children:s.jsx(de,{})}),s.jsx(ds,{children:s.jsx(de,{})})]})]})};function ys(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(ws,{...e}):s.jsx(Ss,{...e})}const pe="ZeniSwitch",M={root:`${pe}-root`,switchBase:`${pe}-switchBase`,track:`${pe}-track`},vs=({className:e,...t})=>s.jsx(pt,{...t,className:e,classes:{...M}}),$s=u(vs)(({theme:e})=>({[`& .${M.switchBase}`]:{color:e.colors.grey2},[`& .${M.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${M.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${M.switchBase}.Mui-checked + .${M.track}`]:{backgroundColor:e.colors.grey1},[`& .${M.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${M.switchBase}.Mui-disabled + .${M.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),Ye=e=>s.jsx($s,{...e}),Z={containerMaxWidth:new L(124,154),forecastNameInnerWidth:new L(75,105),forecastNameOuterWidth:new L(90,120),tooltipTopPosition:new L(51,51),tooltipWidth:new L(180,150)},ve=u.div``,js=u.div`
200
+ `,de=()=>s.jsxs(ps,{children:[s.jsx(us,{}),s.jsx(gs,{})]}),He=({imgSrc:e})=>{const t=B();return s.jsxs(fs,{windowSize:t,children:[s.jsx(xs,{windowSize:t,children:s.jsx(_s,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(bs,{windowSize:t,children:[s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},ws=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=q(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=ze[a][r.mode];return s.jsxs(ns,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ee,{children:s.jsx(Fe,{children:s.jsx(Be,{style:{width:"18px",height:"18px"}})})}),s.jsx(rs,{onClick:c=>c.stopPropagation(),children:s.jsxs(Me,{windowSize:i,children:[s.jsx(ms,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(He,{imgSrc:l}),s.jsxs(Ve,{children:[s.jsx(Pe,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o,style:{backgroundColor:T.primaryDark,borderColor:T.primaryDark,color:T.neutralGrey5Dark}}),s.jsx(We,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Ss=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=q(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=ze[a][r.mode];return s.jsxs(as,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ee,{children:s.jsx(Fe,{children:s.jsx(Be,{style:{width:"18px",height:"18px"}})})}),s.jsxs(is,{onClick:c=>c.stopPropagation(),children:[s.jsxs(Me,{windowSize:i,children:[s.jsx(hs,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(He,{imgSrc:l}),s.jsxs(Ve,{children:[s.jsx(Pe,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o}),s.jsx(We,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(cs,{children:s.jsx(de,{})}),s.jsx(ls,{children:s.jsx(de,{})}),s.jsx(ds,{children:s.jsx(de,{})})]})]})};function ys(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(ws,{...e}):s.jsx(Ss,{...e})}const pe="ZeniSwitch",A={root:`${pe}-root`,switchBase:`${pe}-switchBase`,track:`${pe}-track`},vs=({className:e,...t})=>s.jsx(pt,{...t,className:e,classes:{...A}}),$s=u(vs)(({theme:e})=>({[`& .${A.switchBase}`]:{color:e.colors.grey2},[`& .${A.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${A.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${A.switchBase}.Mui-checked + .${A.track}`]:{backgroundColor:e.colors.grey1},[`& .${A.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${A.switchBase}.Mui-disabled + .${A.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),Ye=e=>s.jsx($s,{...e}),Z={containerMaxWidth:new L(124,154),forecastNameInnerWidth:new L(75,105),forecastNameOuterWidth:new L(90,120),tooltipTopPosition:new L(51,51),tooltipWidth:new L(180,150)},ve=u.div``,Cs=u.div`
201
201
  min-width: ${e=>Z.forecastNameInnerWidth.valuePx(e.windowSize)};
202
202
  &:hover {
203
203
  .info-tooltip {
@@ -207,7 +207,7 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Xe,c as Ke,D as Je,aX as
207
207
  align-items: center;
208
208
  }
209
209
  }
210
- `,Cs=u.div`
210
+ `,js=u.div`
211
211
  display: flex;
212
212
  flex-direction: column;
213
213
  width: 315px;
@@ -261,16 +261,16 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Xe,c as Ke,D as Je,aX as
261
261
  z-index: 1;
262
262
  width: ${e=>Z.tooltipWidth.valuePx(e.windowSize)};
263
263
  top: ${e=>Z.tooltipTopPosition.valuePx(e.windowSize)};
264
- `,Ms=u(rt)`
264
+ `,As=u(rt)`
265
265
  color: ${e=>e.theme.colors.grey5};
266
- `;function As({selectedForecastIndex:e,forecasts:t,isDisabled:a,isForecastValid:n,onForecastSelectionChanged:i}){const r=B(),{dateFormat:{visual:p}}=_.getLocalizedStrings(),o=g=>`${g.startDate.format(p.MMMYYYYFormat)} - ${g.endDate.format(p.MMMYYYYFormat)}`,l=g=>g.map((h,f)=>({label:h.name,value:f,forecastId:h.id,timeframeLabel:o(h.forecastPeriod),isValid:n(h)})),[c,m]=y.useState(l(t));return ee.useEffect(()=>{m(l(t))},[t]),s.jsxs(js,{windowSize:r,children:[s.jsx(Ts,{children:s.jsx(zs,{className:"info-tooltip",windowSize:r,children:s.jsx(Ms,{children:c[e]!=null?c[e].label:""})})}),s.jsx(Fs,{selectedForecast:c[e],forecastOptions:c,isDisabled:a,onForecastSelectionChanged:i})]})}const Fs=({selectedForecast:e,forecastOptions:t,isDisabled:a,onForecastSelectionChanged:n})=>{const i=q(),r=B(),[p,o]=y.useState(e),l=i.colors.grey5,c=i.colors.grey5,m=i.colors.grey3;y.useEffect(()=>{o(e)},[e]);const g=u(ct)`
266
+ `;function Ms({selectedForecastIndex:e,forecasts:t,isDisabled:a,isForecastValid:n,onForecastSelectionChanged:i}){const r=B(),{dateFormat:{visual:p}}=_.getLocalizedStrings(),o=g=>`${g.startDate.format(p.MMMYYYYFormat)} - ${g.endDate.format(p.MMMYYYYFormat)}`,l=g=>g.map((h,f)=>({label:h.name,value:f,forecastId:h.id,timeframeLabel:o(h.forecastPeriod),isValid:n(h)})),[c,m]=y.useState(l(t));return ee.useEffect(()=>{m(l(t))},[t]),s.jsxs(Cs,{windowSize:r,children:[s.jsx(Ts,{children:s.jsx(zs,{className:"info-tooltip",windowSize:r,children:s.jsx(As,{children:c[e]!=null?c[e].label:""})})}),s.jsx(Es,{selectedForecast:c[e],forecastOptions:c,isDisabled:a,onForecastSelectionChanged:i})]})}const Es=({selectedForecast:e,forecastOptions:t,isDisabled:a,onForecastSelectionChanged:n})=>{const i=q(),r=B(),[p,o]=y.useState(e),l=i.colors.grey5,c=i.colors.grey5,m=i.colors.grey3;y.useEffect(()=>{o(e)},[e]);const g=u(ct)`
267
267
  height: ${d.sp3};
268
268
  width: ${d.sp3};
269
269
  `,h=u(lt)`
270
270
  height: 12px;
271
271
  width: 12px;
272
272
  margin-left: 6px;
273
- `,f=({children:b,...$})=>s.jsx(ie.SingleValue,{...$,children:s.jsxs(Rs,{children:[s.jsx(Is,{windowSize:r,children:b}),s.jsx(h,{})]})}),x=b=>s.jsx(ie.DropdownIndicator,{...b,children:s.jsx(ve,{})}),w=b=>s.jsx(ve,{children:s.jsx(ie.Option,{...b,children:s.jsxs(Cs,{children:[s.jsxs(ks,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(Os,{isValid:b.data.isValid,children:[s.jsx(Bs,{children:b.data.timeframeLabel}),s.jsx(Ds,{isValid:b.data.isValid}),s.jsx(Ps,{children:_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),b.data.isValid===!1?s.jsxs(Ns,{children:[s.jsx(Ls,{}),_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),S={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:Z.containerMaxWidth.valuePx(r),minWidth:Z.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:W})=>({...b,color:k?i.colors.champion:i.colors.hero,backgroundColor:k===!0?m:W===!0&&$!==!0?i.colors.background:l,cursor:$===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:$===!1?k===!0?m:i.colors.background:l,color:i.colors.primary},borderBottom:"1px solid "+i.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(dt,{options:t,components:{SingleValue:f,DropdownIndicator:x,Option:w},styles:S,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})},$e={timeframePaddingLeft:new L(0,0,245),timeframePaddingBottom:new L(8,8,0)},Es=u.div`
273
+ `,f=({children:b,...$})=>s.jsx(ie.SingleValue,{...$,children:s.jsxs(Rs,{children:[s.jsx(Is,{windowSize:r,children:b}),s.jsx(h,{})]})}),x=b=>s.jsx(ie.DropdownIndicator,{...b,children:s.jsx(ve,{})}),w=b=>s.jsx(ve,{children:s.jsx(ie.Option,{...b,children:s.jsxs(js,{children:[s.jsxs(ks,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(Os,{isValid:b.data.isValid,children:[s.jsx(Bs,{children:b.data.timeframeLabel}),s.jsx(Ds,{isValid:b.data.isValid}),s.jsx(Ps,{children:_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),b.data.isValid===!1?s.jsxs(Ns,{children:[s.jsx(Ls,{}),_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),S={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:Z.containerMaxWidth.valuePx(r),minWidth:Z.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:W})=>({...b,color:k?i.colors.champion:i.colors.hero,backgroundColor:k===!0?m:W===!0&&$!==!0?i.colors.background:l,cursor:$===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:$===!1?k===!0?m:i.colors.background:l,color:i.colors.primary},borderBottom:"1px solid "+i.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(dt,{options:t,components:{SingleValue:f,DropdownIndicator:x,Option:w},styles:S,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})},$e={timeframePaddingLeft:new L(0,0,245),timeframePaddingBottom:new L(8,8,0)},Fs=u.div`
274
274
  display: flex;
275
275
  width: 100%;
276
276
  flex-direction: column;
@@ -306,10 +306,10 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Xe,c as Ke,D as Je,aX as
306
306
  `,Ue=u(ae)`
307
307
  color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
308
308
  opacity: ${e=>e.isDisabled?.5:1};
309
- `,Ze=({label:e,isOn:t,isToggleDisabled:a,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(Ue,{isOn:t,isDisabled:a===!0,children:e}),s.jsx(Ye,{checked:t,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:i=>{n(i.target.checked)}})]});function qe({isOn:e,isDisabled:t,selectedForecastIndex:a,forecasts:n,isForecastValid:i,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(Ys,{children:[e===!0&&n!=null&&n.length!==0?s.jsx(As,{selectedForecastIndex:a??0,forecasts:n,isForecastValid:i,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ue,{isOn:e,isDisabled:t===!0,children:_.getLocalizedStrings().reports.forecast.forecast}),s.jsx(Ye,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:o=>{r(o.target.checked)}})]})}const Gs=e=>{const t=B();return s.jsxs(Es,{children:[s.jsx(Ge,{windowSize:t,children:s.jsx(Ie,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Ws,{children:[e.forecastListWithToggle!=null&&s.jsx(qe,{...e.forecastListWithToggle}),s.jsx(Ze,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})},Us=e=>{const t=B();return s.jsxs(Vs,{children:[s.jsx(Ge,{windowSize:t,children:s.jsx(Ie,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Hs,{children:[e.forecastListWithToggle!=null&&s.jsx(qe,{...e.forecastListWithToggle}),s.jsx(Ze,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})};function Zs(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Gs,{...e}):s.jsx(Us,{...e})}const qs=u.div`
309
+ `,Ze=({label:e,isOn:t,isToggleDisabled:a,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(Ue,{isOn:t,isDisabled:a===!0,children:e}),s.jsx(Ye,{checked:t,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:i=>{n(i.target.checked)}})]});function qe({isOn:e,isDisabled:t,selectedForecastIndex:a,forecasts:n,isForecastValid:i,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(Ys,{children:[e===!0&&n!=null&&n.length!==0?s.jsx(Ms,{selectedForecastIndex:a??0,forecasts:n,isForecastValid:i,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ue,{isOn:e,isDisabled:t===!0,children:_.getLocalizedStrings().reports.forecast.forecast}),s.jsx(Ye,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:o=>{r(o.target.checked)}})]})}const Gs=e=>{const t=B();return s.jsxs(Fs,{children:[s.jsx(Ge,{windowSize:t,children:s.jsx(Ie,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Ws,{children:[e.forecastListWithToggle!=null&&s.jsx(qe,{...e.forecastListWithToggle}),s.jsx(Ze,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})},Us=e=>{const t=B();return s.jsxs(Vs,{children:[s.jsx(Ge,{windowSize:t,children:s.jsx(Ie,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Hs,{children:[e.forecastListWithToggle!=null&&s.jsx(qe,{...e.forecastListWithToggle}),s.jsx(Ze,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})};function Zs(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Gs,{...e}):s.jsx(Us,{...e})}const qs=u.div`
310
310
  display: flex;
311
311
  padding: ${d.sp2} ${d.sp0} ${d.sp4} ${d.sp0};
312
- `,Xs=u.div``,Ks=u.div``,Js=e=>{const{selectedRangeReport:t,uiState:a,analytics:n,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=Oe(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:m,timeframe:g}=a,h=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=a.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let S,b;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:S=void 0}const $=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=$||t.availableNumberOfPeriods===1,W=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,F]=y.useState(!1),Y=D.toZeniUrl("https://meetings.hubspot.com/svitlana-grankovska"),E=a.mode,I=a.selectedForecast;y.useEffect(()=>{E==="forecast_mode"&&b==="Completed"&&S?.length===0&&(F(!0),document.body.style.overflow="hidden")},[b,E,S]),y.useEffect(()=>{E==="forecast_mode"&&I!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[I.index].name)},[I]);const H=(v,j,G)=>{j===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,G)};return s.jsx(Ks,{children:s.jsxs(Xs,{children:[s.jsx(qs,{children:s.jsx(Zs,{timeframe:{allowedTimeframes:h,selectedTimeframe:g,onTimeframeSelectionChanged:v=>{e.analytics?.trackTimeframeSwitch(U(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),U(g)),o(v,v?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],j)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:W,onForecastSelectionChanged:(v,j)=>H("forecast_mode",!1,{id:v,index:j}),onForecastToggleChanged:v=>{H(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(ys,{meetingUrl:Y,reportId:t.reportId,onClose:()=>{F(!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(vt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:_e(c,m),highlightedOfSelectedTicks:_e(c,m)},onClick:(v,j)=>{je(t.firstMonthOfFY,x,t.reportId,g,j,e.analytics),i(j)},onSelectionChanged:(v,j)=>{const G=xt(c,v.fromEnd),X=_t(c,j);je(t.firstMonthOfFY,x,t.reportId,g,X.thisPeriod,e.analytics),p(G,X)}})]})})},je=(e,t,a,n,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(a),U(n),"range filter",oe(e,n,i)),r?.trackDateRangeFilterChange(R(a),"range filter",t,oe(e,n,i))};function be({account:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){return{children:[],id:V("ac_report",p,e.accountId),isLastNode:i,reportElementData:{element:{kind:"ac_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}}}function Qs({acGroup:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){const o=V("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=ge(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return l.children=c.map((m,g)=>be({account:m,sectionType:t,numOfBalances:a,title:m.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=V("section",[],n),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},l=Ct(e,r.displayOrder,a,!1),c=eo(l.balances),m=ge(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=m.compactedAccountsSelectorVariant(e.accountsOrdered),h=m.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(h.length>0||e.accountsOrdered.length>0)){const f=h.map((w,S)=>Qs({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:S===h.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,S)=>be({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:S===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));o.children.push(...f),o.children.push(...x)}return o}function eo(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??V("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:n,title:"",data:e,numOfBalances:e.length},config:t}}}function to(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=se({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 xe({title:e,balances:t,config:a,numOfBalances:n,nodeId:i}){return{children:[],id:i??V("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:n},config:a}}}function so(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=xe({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=V("section",[],n.sections.netCashFlow),m=ge("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,h)=>be({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:h===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:a?[o]:[],contentNodes:[o,l,...m]}}function oo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});a&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({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,m=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:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(D.isNetBurnOrIncomeClassesViewSectionID(h)===!0){const f=e.sections[h];f!=null&&o.push(Re({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(D.isNetBurnOrIncomeClassesViewCalculatedSectionID(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(se({calculatedSection:f,numOfBalances:c,title:h==="netBurnOrIncome"?e.reportTitle:i.sections[h],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function ao(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=>{D.isNetBurnOrIncomeReportViewSectionID(l)===!0?e.sections[l].accountGroups.length>0?o.push(De({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(Te({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):D.isNetBurnOrIncomeReportViewCalculatedSectionID(l)===!0&&o.push(se({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 no(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({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,m=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=A({balances:m,config:t}),h=e.sections.expenses,f=xe({title:_.getLocalizedStrings().chartCard.total,balances:h,config:t,numOfBalances:c});o.push(g),o.push(f),a&&(l=[g]);const x=V("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,S)=>{o.push(kt({classNode:w,sectionType:"expenses",numOfBalances:c,title:w.class.className,isLastNode:w.isLeafClass,config:t,parentNodeIDs:[x],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:w.id.length-1,hasSibling:!1,hasChildren:w.children.length>0,isLastNode:S===e.sections.expenses.classes.length-1,name:w.class.className}]}}))})}return{config:t,headerNodes:l,contentNodes:o}}function io(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=xe({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=V("section",[],n.sections.expenses),m=jt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const h=m.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(h.length!=0){const f=h.map((x,w)=>Ot({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===h.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=m.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,S)=>Bt({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:S===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:S===f.length-1}]}}));g.push(...x)}return{config:t,headerNodes:a?[p]:[],contentNodes:g}}function ro(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({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,m=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:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(D.isRevenueClassesViewSectionID(h)===!0){const f=e.sections[h];f!=null&&o.push(Re({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(D.isRevenueClassesViewCalculatedSectionID(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(se({calculatedSection:f,numOfBalances:c,title:i.sections.grossMargin,isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function co(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=>{D.isRevenueSectionID(l)===!0?e.sections[l].accountGroups.length>0?o.push(De({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(Te({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):D.isRevenueCalculatedSectionID(l)===!0&&o.push(se({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function lo(e,t,a,n=!0){Object.assign(e.config,t);const i=po(a),r=A({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const po=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[]}},ke={contentPaddingLeft:new L(C[0],C[0],C[0]),contentPaddingRight:new L(C[3],C[3],C[8])},uo=u.div`
312
+ `,Ks=u.div``,Qs=u.div``,Xs=e=>{const{selectedRangeReport:t,uiState:a,analytics:n,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=Oe(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:m,timeframe:g}=a,h=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=a.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let S,b;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:S=void 0}const $=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=$||t.availableNumberOfPeriods===1,W=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,E]=y.useState(!1),Y=D.toZeniUrl("https://meetings.hubspot.com/svitlana-grankovska"),F=a.mode,I=a.selectedForecast;y.useEffect(()=>{F==="forecast_mode"&&b==="Completed"&&S?.length===0&&(E(!0),document.body.style.overflow="hidden")},[b,F,S]),y.useEffect(()=>{F==="forecast_mode"&&I!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[I.index].name)},[I]);const H=(v,C,G)=>{C===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,G)};return s.jsx(Qs,{children:s.jsxs(Ks,{children:[s.jsx(qs,{children:s.jsx(Zs,{timeframe:{allowedTimeframes:h,selectedTimeframe:g,onTimeframeSelectionChanged:v=>{e.analytics?.trackTimeframeSwitch(U(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),U(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:S,isForecastValid:W,onForecastSelectionChanged:(v,C)=>H("forecast_mode",!1,{id:v,index:C}),onForecastToggleChanged:v=>{H(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(ys,{meetingUrl:Y,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(vt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:_e(c,m),highlightedOfSelectedTicks:_e(c,m)},onClick:(v,C)=>{Ce(t.firstMonthOfFY,x,t.reportId,g,C,e.analytics),i(C)},onSelectionChanged:(v,C)=>{const G=xt(c,v.fromEnd),K=_t(c,C);Ce(t.firstMonthOfFY,x,t.reportId,g,K.thisPeriod,e.analytics),p(G,K)}})]})})},Ce=(e,t,a,n,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(a),U(n),"range filter",oe(e,n,i)),r?.trackDateRangeFilterChange(R(a),"range filter",t,oe(e,n,i))};function be({account:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){return{children:[],id:V("ac_report",p,e.accountId),isLastNode:i,reportElementData:{element:{kind:"ac_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}}}function Js({acGroup:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){const o=V("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=ge(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return l.children=c.map((m,g)=>be({account:m,sectionType:t,numOfBalances:a,title:m.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=V("section",[],n),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},l=jt(e,r.displayOrder,a,!1),c=eo(l.balances),m=ge(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=m.compactedAccountsSelectorVariant(e.accountsOrdered),h=m.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(h.length>0||e.accountsOrdered.length>0)){const f=h.map((w,S)=>Js({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:S===h.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,S)=>be({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:S===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));o.children.push(...f),o.children.push(...x)}return o}function eo(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 M({balances:e,config:t,nodeId:a}){let n="timeframe_headers";return t.mode==="actual_vs_forecast"&&(n="timeframe_headers_with_forecast"),{children:[],id:a??V("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:n,title:"",data:e,numOfBalances:e.length},config:t}}}function to(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=M({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=se({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 xe({title:e,balances:t,config:a,numOfBalances:n,nodeId:i}){return{children:[],id:i??V("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:n},config:a}}}function so(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=M({balances:r,config:t}),l=xe({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=V("section",[],n.sections.netCashFlow),m=ge("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,h)=>be({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:h===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:a?[o]:[],contentNodes:[o,l,...m]}}function oo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});a&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({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,m=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=M({balances:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(D.isNetBurnOrIncomeClassesViewSectionID(h)===!0){const f=e.sections[h];f!=null&&o.push(Re({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(D.isNetBurnOrIncomeClassesViewCalculatedSectionID(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(se({calculatedSection:f,numOfBalances:c,title:h==="netBurnOrIncome"?e.reportTitle:i.sections[h],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function ao(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=M({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{D.isNetBurnOrIncomeReportViewSectionID(l)===!0?e.sections[l].accountGroups.length>0?o.push(De({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(Te({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):D.isNetBurnOrIncomeReportViewCalculatedSectionID(l)===!0&&o.push(se({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 no(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({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,m=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=M({balances:m,config:t}),h=e.sections.expenses,f=xe({title:_.getLocalizedStrings().chartCard.total,balances:h,config:t,numOfBalances:c});o.push(g),o.push(f),a&&(l=[g]);const x=V("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,S)=>{o.push(kt({classNode:w,sectionType:"expenses",numOfBalances:c,title:w.class.className,isLastNode:w.isLeafClass,config:t,parentNodeIDs:[x],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:w.id.length-1,hasSibling:!1,hasChildren:w.children.length>0,isLastNode:S===e.sections.expenses.classes.length-1,name:w.class.className}]}}))})}return{config:t,headerNodes:l,contentNodes:o}}function io(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=M({balances:r,config:t}),o=e.sections.expenses,l=xe({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=V("section",[],n.sections.expenses),m=Ct("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const h=m.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(h.length!=0){const f=h.map((x,w)=>Ot({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===h.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=m.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,S)=>Bt({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:S===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:S===f.length-1}]}}));g.push(...x)}return{config:t,headerNodes:a?[p]:[],contentNodes:g}}function ro(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({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,m=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=M({balances:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(D.isRevenueClassesViewSectionID(h)===!0){const f=e.sections[h];f!=null&&o.push(Re({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(D.isRevenueClassesViewCalculatedSectionID(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(se({calculatedSection:f,numOfBalances:c,title:i.sections.grossMargin,isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function co(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=M({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{D.isRevenueSectionID(l)===!0?e.sections[l].accountGroups.length>0?o.push(De({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(Te({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):D.isRevenueCalculatedSectionID(l)===!0&&o.push(se({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function lo(e,t,a,n=!0){Object.assign(e.config,t);const i=po(a),r=M({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const po=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[]}},ke={contentPaddingLeft:new L(j[0],j[0],j[0]),contentPaddingRight:new L(j[3],j[3],j[8])},uo=u.div`
313
313
  width: 100%;
314
314
  height: calc(100vh - 70px);
315
315
  `,go=u.div`
@@ -317,13 +317,13 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Xe,c as Ke,D as Je,aX as
317
317
  position: sticky;
318
318
  justify-content: center;
319
319
  padding-top: ${d.sp6};
320
- padding-left: ${e=>J.wrapperPadding.valuePx(e.windowSize)};
320
+ padding-left: ${e=>X.wrapperPadding.valuePx(e.windowSize)};
321
321
  background-color: ${e=>e.theme.colors.grey4};
322
322
  `,ho=u.div`
323
323
  position: absolute;
324
324
  padding-top: ${d.sp3};
325
325
  background-color: ${e=>e.theme.colors.grey4};
326
- `,mo=e=>{const t=B(),a=q(),{selectedRangeReport:n,selectedClassesViewRangeReport:i,uiState:r,scrollPosition:p,isZeniUser:o,onTableScroll:l,onElementCollapseStateChanged:c,onAccountBalanceClick:m,onUpdateAccountViewMode:g,onUpdateClassesToFilterOut:h,onOpenAccountViewMode:f}=e,{highlightedCOABalancesRange:x,mode:w}=r,S=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,W=O=>{e.analytics?.trackCompareFilterChange(O==="compare_mode_percent"?"percentage":"amount",R(n.reportId),U(r.timeframe),"dropdown");const N=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged($,[N],x?.numberOfPeriods??k)},[P,F]=y.useState(void 0),[Y,E]=y.useState(void 0),I=!(t==="small"||t==="medium-compact"),H=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=bo(r.selectedAdditionalBalances),j=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,G=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",ne=(O,N)=>{O!==i?.uiState.accountViewMode&&g?.(O),N&&h?.(N)};return y.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${j.reportId}+${r.selectedForecast?.id}`:j.reportId,mode:G,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:at(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:j.dataAvailable};if(P==null||!Q(Y,j)||e.isPageFetchInProgress===!0){const N=fo(j,O,I,e.isPageFetchInProgress);E(j),F(N)}else{const N=lo(P,O,j,I);F(N)}},[H,$,j,e.isPageFetchInProgress]),s.jsx(go,{windowSize:t,children:S?s.jsx(Pt,{}):P!=null?s.jsxs(uo,{children:[s.jsx($t,{backgroundColor:new ot(a.colors.grey4),rootNodes:P,type:H,compareMode:v,isSticky:{isStickyHeader:I,isStickyName:I},treeNodePadding:{left:ke.contentPaddingLeft.value(t),right:ke.contentPaddingRight.value(t)},onAccountClick:m==null?void 0:(O,N)=>{m(O,N)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:W,onScroll:l,onNodeCollapseToggled:c}),X===!0&&i!==void 0?s.jsx(ho,{children:s.jsx(ft,{reportId:n.reportId,nodes:i.classHierarchy,classesListFetchState:i.fetchState,selectedView:i.uiState.accountViewMode,showClassAccountNumber:o,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:ne,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})},fo=(e,t,a=!0,n=!1)=>{switch(e.reportId){case"net_burn_or_income":return ao(e,t,a);case"net_burn_or_income_by_classes":return oo(e,t,a,n);case"revenue":return co(e,t,a);case"revenue_by_classes":return ro(e,t,a,n);case"cash_position":return so(e,t,a);case"cash_in_cash_out":return to(e,t,a);case"operating_expenses":return io(e,t,a);case"operating_expenses_by_classes":return no(e,t,a,n);default:return}},bo=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",K={chartWidth:"100%",barCount:8,barWidth:new L(C[6],C[8],C[10]),maxBarHeight:1},xo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=K.chartWidth,barCount:n=K.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=q(),o=B(),l=t??J.chartHeight.value(o),c=l-C[5],m=[...Array(n)].map((g,h)=>({height:(i?.[h]||K.maxBarHeight)*l,width:K.barWidth}));return s.jsx(_o,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(wo,{children:m.map((g,h)=>s.jsx(So,{children:s.jsx(et,{speed:2,width:K.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-${h}-${g.height}`))})})},_o=u.div`
326
+ `,mo=e=>{const t=B(),a=q(),{selectedRangeReport:n,selectedClassesViewRangeReport:i,uiState:r,scrollPosition:p,isZeniUser:o,onTableScroll:l,onElementCollapseStateChanged:c,onAccountBalanceClick:m,onUpdateAccountViewMode:g,onUpdateClassesToFilterOut:h,onOpenAccountViewMode:f}=e,{highlightedCOABalancesRange:x,mode:w}=r,S=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,W=O=>{e.analytics?.trackCompareFilterChange(O==="compare_mode_percent"?"percentage":"amount",R(n.reportId),U(r.timeframe),"dropdown");const N=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged($,[N],x?.numberOfPeriods??k)},[P,E]=y.useState(void 0),[Y,F]=y.useState(void 0),I=!(t==="small"||t==="medium-compact"),H=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=bo(r.selectedAdditionalBalances),C=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,G=w==="forecast_mode"?"actual_vs_forecast":$===!0?"this_period_vs_period_before":"none",K=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ne=(O,N)=>{O!==i?.uiState.accountViewMode&&g?.(O),N&&h?.(N)};return y.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${C.reportId}+${r.selectedForecast?.id}`:C.reportId,mode:G,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:at(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:C.dataAvailable};if(P==null||!J(Y,C)||e.isPageFetchInProgress===!0){const N=fo(C,O,I,e.isPageFetchInProgress);F(C),E(N)}else{const N=lo(P,O,C,I);E(N)}},[H,$,C,e.isPageFetchInProgress]),s.jsx(go,{windowSize:t,children:S?s.jsx(Pt,{}):P!=null?s.jsxs(uo,{children:[s.jsx($t,{backgroundColor:new ot(a.colors.grey4),rootNodes:P,type:H,compareMode:v,isSticky:{isStickyHeader:I,isStickyName:I},treeNodePadding:{left:ke.contentPaddingLeft.value(t),right:ke.contentPaddingRight.value(t)},onAccountClick:m==null?void 0:(O,N)=>{m(O,N)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:W,onScroll:l,onNodeCollapseToggled:c}),K===!0&&i!==void 0?s.jsx(ho,{children:s.jsx(ft,{reportId:n.reportId,nodes:i.classHierarchy,classesListFetchState:i.fetchState,selectedView:i.uiState.accountViewMode,showClassAccountNumber:o,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:ne,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})},fo=(e,t,a=!0,n=!1)=>{switch(e.reportId){case"net_burn_or_income":return ao(e,t,a);case"net_burn_or_income_by_classes":return oo(e,t,a,n);case"revenue":return co(e,t,a);case"revenue_by_classes":return ro(e,t,a,n);case"cash_position":return so(e,t,a);case"cash_in_cash_out":return to(e,t,a);case"operating_expenses":return io(e,t,a);case"operating_expenses_by_classes":return no(e,t,a,n);default:return}},bo=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",Q={chartWidth:"100%",barCount:8,barWidth:new L(j[6],j[8],j[10]),maxBarHeight:1},xo=({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=q(),o=B(),l=t??X.chartHeight.value(o),c=l-j[5],m=[...Array(n)].map((g,h)=>({height:(i?.[h]||Q.maxBarHeight)*l,width:Q.barWidth}));return s.jsx(_o,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(wo,{children:m.map((g,h)=>s.jsx(So,{children:s.jsx(et,{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-${h}-${g.height}`))})})},_o=u.div`
327
327
  width: 100%;
328
328
  height: 100%;
329
329
  border-radius: ${d.sp2};
@@ -354,17 +354,17 @@ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Xe,c as Ke,D as Je,aX as
354
354
  position: relative;
355
355
  box-shadow: ${e=>`2px 2px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
356
356
  background-color: ${e=>e.theme.colors.grey5};
357
- padding-left: ${e=>J.wrapperPadding.valuePx(e.windowSize)};
358
- padding-right: ${e=>J.wrapperPadding.valuePx(e.windowSize)};
357
+ padding-left: ${e=>X.wrapperPadding.valuePx(e.windowSize)};
358
+ padding-right: ${e=>X.wrapperPadding.valuePx(e.windowSize)};
359
359
  `,$o=u.div`
360
360
  display: flex;
361
361
  justify-content: center;
362
362
  padding: ${d.sp6} ${d.sp0};
363
- `,jo=u.div`
363
+ `,Co=u.div`
364
364
  display: flex;
365
365
  flex-direction: column;
366
366
  justify-content: center;
367
367
  align-items: center;
368
368
  height: 100vh;
369
369
  margin-top: ${d.sp8};
370
- `,na=e=>{const t=B(),a=q(),[n,i]=y.useState(!1),r=_.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:o,selectedClassesViewRangeReport:l,uiState:c,downloadParams:m,analytics:g,onBackClick:h,updateDownloadStateHandler:f,onAdditionalBalanceSelectionChanged:x}=e,{insights:w}=o,{selectedCOABalancesRange:S,timeframe:b,selectedAdditionalBalances:$,downloadState:k}=c,W=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!W,F=Oe(),Y=F.loggedInUserRole!=null&&!D.hasInvestorBankerLevelAccess(F.loggedInUserRole),E=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";y.useEffect(()=>{async function z(){await Mt({report:l!==void 0&&l.uiState.accountViewMode==="classes"?l:o,filter:o.filter,coaBalancesRange:S,isCompareModeOn:P,reportView:l!==void 0?l.uiState.accountViewMode:"account_group",classesToFilterOut:l!==void 0?l.uiState.classesToFilterOut:[],...m,reportType:Y||E?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),g?.trackDownload(R(o.reportId),U(b),"excel",P),f("Completed")}n&&k!=="In-Progress"&&(i(!1),f("In-Progress"),z())},[m,k,o.filter,n,P,S,o,l,b,g,f,Y,E,e.isZeniCOAUsed]);const I=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0||o.allTimeframeTicks.length===0,H=o.fetchState==="In-Progress"||o.fetchState==="Not-Started",v=D.reduceAllFetchState([e?.reportsResyncFetchState??{fetchState:"Not-Started"},l??{fetchState:"Not-Started"}]).fetchState==="In-Progress"&&l?.uiState.accountViewMode==="classes";y.useEffect(()=>{const z=P||c.mode==="forecast_mode"?3:1;x(P,$,z)},[t]);const j=z=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Je.Event.search,R(o.reportId),z.type,z.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(z)},{autoCompleteData:G,autoCompleteActions:X,scrollPosition:ne,...O}=e,N=s.jsx(Qe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:I,isDownloading:k==="In-Progress"}],onDownloadClick:async z=>{if(z==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(yo,{children:[s.jsx(Xe,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:h,rightSideComponent:N,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:j}},source:"DashboardReportPage"}),H?s.jsx(jo,{children:s.jsx(Ke,{size:"Standard",start:!0})}):I?s.jsx(Dt,{style:{background:a.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Nt}):s.jsxs(s.Fragment,{children:[s.jsxs(vo,{windowSize:t,children:[s.jsx(Bo,{...O}),s.jsx(Co,{highlightedRangeReport:o,uiState:c}),v?s.jsx(xo,{}):s.jsx(ko,{...O}),s.jsx($o,{children:s.jsx(bt,{insights:w})})]}),s.jsx(Oo,{scrollPosition:ne,isPageFetchInProgress:v,...O})]})]})},Co=ee.memo(Jt,Q),ko=ee.memo(ts,Q),Oo=ee.memo(mo,Q),Bo=ee.memo(Js,Q);export{na as default};
370
+ `,na=e=>{const t=B(),a=q(),[n,i]=y.useState(!1),r=_.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:o,selectedClassesViewRangeReport:l,uiState:c,downloadParams:m,analytics:g,onBackClick:h,updateDownloadStateHandler:f,onAdditionalBalanceSelectionChanged:x}=e,{insights:w}=o,{selectedCOABalancesRange:S,timeframe:b,selectedAdditionalBalances:$,downloadState:k}=c,W=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!W,E=Oe(),Y=E.loggedInUserRole!=null&&!D.hasInvestorBankerLevelAccess(E.loggedInUserRole),F=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";y.useEffect(()=>{async function z(){await At({report:l!==void 0&&l.uiState.accountViewMode==="classes"?l:o,filter:o.filter,coaBalancesRange:S,isCompareModeOn:P,reportView:l!==void 0?l.uiState.accountViewMode:"account_group",classesToFilterOut:l!==void 0?l.uiState.classesToFilterOut:[],...m,reportType:Y||F?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),g?.trackDownload(R(o.reportId),U(b),"excel",P),f("Completed")}n&&k!=="In-Progress"&&(i(!1),f("In-Progress"),z())},[m,k,o.filter,n,P,S,o,l,b,g,f,Y,F,e.isZeniCOAUsed]);const I=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0||o.allTimeframeTicks.length===0,H=o.fetchState==="In-Progress"||o.fetchState==="Not-Started",v=D.reduceAllFetchState([e?.reportsResyncFetchState??{fetchState:"Not-Started"},l??{fetchState:"Not-Started"}]).fetchState==="In-Progress"&&l?.uiState.accountViewMode==="classes";y.useEffect(()=>{const z=P||c.mode==="forecast_mode"?3:1;x(P,$,z)},[t]);const C=z=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Xe.Event.search,R(o.reportId),z.type,z.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(z)},{autoCompleteData:G,autoCompleteActions:K,scrollPosition:ne,...O}=e,N=s.jsx(Je,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:I,isDownloading:k==="In-Progress"}],onDownloadClick:async z=>{if(z==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(yo,{children:[s.jsx(Ke,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:h,rightSideComponent:N,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:C}},source:"DashboardReportPage"}),H?s.jsx(Co,{children:s.jsx(Qe,{size:"Standard",start:!0})}):I?s.jsx(Dt,{style:{background:a.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Nt}):s.jsxs(s.Fragment,{children:[s.jsxs(vo,{windowSize:t,children:[s.jsx(Bo,{...O}),s.jsx(jo,{highlightedRangeReport:o,uiState:c}),v?s.jsx(xo,{}):s.jsx(ko,{...O}),s.jsx($o,{children:s.jsx(bt,{insights:w})})]}),s.jsx(Oo,{scrollPosition:ne,isPageFetchInProgress:v,...O})]})]})},jo=ee.memo(Xt,J),ko=ee.memo(ts,J),Oo=ee.memo(mo,J),Bo=ee.memo(Xs,J);export{na as default};
@@ -1,4 +1,4 @@
1
- import{_ as $,gU as u,X as y,j as l,o as i,s as d,e as c}from"./index-BWC1TL5d.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{g as k}from"./BoxItem-CTPuYGrU-Db0vwVyl.js";import{o as v}from"./commonDimensions-C417LkG3-C7UIZrNu.js";function U({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:g}=e,f=r.length>0?r:m,a=$("0,0.00",x),n=u(g),o=y(),h=l.jsxs(N,{children:[l.jsx(C,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(E,{windowSize:o,children:[l.jsx(D,{children:f}),n!=null?l.jsxs(P,{windowSize:o,children:[l.jsx(A,{windowSize:o}),l.jsx(R,{color:n?.color,children:n?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(B,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{a0 as $,gX as u,X as y,j as l,o as i,n as d,M as c}from"./index-DL4A-6yw.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{g as k}from"./BoxItem-a04JWA45-dnHge8K2.js";import{o as v}from"./commonDimensions-DRK1vfDX-ClE52WoC.js";function J({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:g}=e,f=r.length>0?r:m,a=$("0,0.00",x),n=u(g),o=y(),h=l.jsxs(N,{children:[l.jsx(C,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(E,{windowSize:o,children:[l.jsx(D,{children:f}),n!=null?l.jsxs(M,{windowSize:o,children:[l.jsx(R,{windowSize:o}),l.jsx(P,{color:n?.color,children:n?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(X,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -49,16 +49,16 @@ import{_ as $,gU as u,X as y,j as l,o as i,s as d,e as c}from"./index-BWC1TL5d.j
49
49
  word-break: break-word;
50
50
  text-overflow: ellipsis;
51
51
  overflow: hidden;
52
- `,P=t.div`
52
+ `,M=t.div`
53
53
  display: flex;
54
54
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
55
55
  align-items: center;
56
- `,R=t(c)`
56
+ `,P=t(c)`
57
57
  color: ${e=>e.color};
58
58
  -webkit-box-orient: vertical;
59
59
  -webkit-line-clamp: 1;
60
60
  display: -webkit-box;
61
- `,A=t.div`
61
+ `,R=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{_ as $,gU as u,X as y,j as l,o as i,s as d,e as c}from"./index-BWC1TL5d.j
66
66
  background-color: ${e=>e.theme.colors.grey1};
67
67
  margin-left: ${i.sp2};
68
68
  margin-right: ${i.sp2};
69
- `,B=t(d)`
69
+ `,X=t(d)`
70
70
  display: -webkit-box;
71
71
  -webkit-box-orient: vertical;
72
72
  -webkit-line-clamp: 1;
73
73
  margin-left: ${i.sp3};
74
74
  text-align: right;
75
75
  width: ${e=>v.amountWidth.valuePx(e.windowSize)};
76
- `;export{U as H};
76
+ `;export{J as H};
@@ -0,0 +1,66 @@
1
+ import{u as S,X as z,h1 as C,j as e,aV as D,B as Y,aj as B,o as r,d as g,bW as F,l as L,C as R,$ as A,n as I,s as b,de as T,df as V,d9 as E,dg as N}from"./index-DL4A-6yw.js";import{b as f,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as O}from"./BoxItem-a04JWA45-dnHge8K2.js";import{o as P}from"./commonDimensions-DRK1vfDX-ClE52WoC.js";import{H as X}from"./DepositAccTransactionItem-C6_OrohL-BctgXIh4.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const n=Y.getLocalizedStrings(),H={listItemMargin:new R(b[3],b[8])};function q(t){const d=T(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=V(d,o=>o.length>0);return E(m,o=>({date:o[0].transactionDate,transactions:N(o,h=>h.transactionDate,"desc")}))}const G=C(q),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=f.createRef(),p=f.useRef(null),l=G(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*P.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(U,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(W,{children:s.transactions.map((M,u)=>e.jsx(X,{data:M,boxType:O(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(J,{children:e.jsx($,{windowSize:o,children:e.jsx(Q,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(K,{children:[e.jsx(D,{title:`${j} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(B,{children:({height:i,width:c})=>e.jsx(Z,{ref:h,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
2
+ margin: ${t=>`${r.sp0} ${H.listItemMargin.valuePx(t.windowSize)}`};
3
+ `,J=a.div`
4
+ display: flex;
5
+ height: 100%;
6
+ flex: 1 1 auto;
7
+ flex-direction: row;
8
+ justify-content: center;
9
+ align-items: flex-end;
10
+ `,K=a.div`
11
+ display: flex;
12
+ height: 100%;
13
+ flex-direction: column;
14
+ width: 100%;
15
+ padding-bottom: ${r.sp7};
16
+ `,Q=a(I)`
17
+ display: flex;
18
+ color: ${t=>t.theme.colors.grey2};
19
+ `,U=a(A)`
20
+ display: flex;
21
+ height: 21px;
22
+ margin-bottom: ${r.sp2};
23
+ margin-top: ${r.sp3};
24
+ color: ${t=>t.theme.colors.grey1};
25
+ `,y=a.div`
26
+ display: flex;
27
+ flex-direction: column;
28
+ width: 100%;
29
+ height: 100%;
30
+ `,W=a.div`
31
+ display: flex;
32
+ flex: 1 1 auto;
33
+ flex-direction: column;
34
+ box-shadow: ${t=>`${r.sp0} 2px ${r.sp1} ${t.theme.colors.dropShadowNormal}`};
35
+ border-radius: ${r.sp2};
36
+ background-color: ${t=>t.theme.colors.grey5};
37
+ `,Z=a(F)`
38
+ scrollbar-width: thin;
39
+ scrollbar-color: transparent transparent;
40
+ &::-webkit-scrollbar {
41
+ width: ${r.sp2};
42
+ height: ${r.sp0};
43
+ background-color: transparent;
44
+ }
45
+ &::-webkit-scrollbar-track {
46
+ box-shadow: inset 0 0 2px ${g.scrollbarBoxShadow};
47
+ -webkit-box-shadow: inset 0 0 2px ${g.scrollbarBoxShadow};
48
+ background-color: transparent;
49
+ }
50
+ &::-webkit-scrollbar-thumb {
51
+ background-color: transparent;
52
+ }
53
+
54
+ &:hover {
55
+ scrollbar-color: ${t=>t.theme.colors.grey1} transparent;
56
+ &::-webkit-scrollbar {
57
+ width: ${r.sp2};
58
+ height: ${r.sp0};
59
+ background-color: transparent;
60
+ }
61
+ &::-webkit-scrollbar-thumb {
62
+ background-color: ${t=>t.theme.colors.grey1};
63
+ border-radius: 2px;
64
+ }
65
+ }
66
+ `;export{mt as default};
@@ -1,4 +1,4 @@
1
- import{ab as w,X as p,j as i,M as f,C as o,o as n,aj as x,Q as s,h as d,m as a}from"./index-BWC1TL5d.js";import{n as r,b as t}from"./vendor-CnQcJ2Lu.js";const C=e=>t.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),t.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("g",{clipPath:"url(#clip0_1350_23850)"},t.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip1_1350_23850)"},t.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip2_1350_23850)"},t.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip3_1350_23850)"},t.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_1350_23850"},t.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),t.createElement("clipPath",{id:"clip1_1350_23850"},t.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),t.createElement("clipPath",{id:"clip2_1350_23850"},t.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),t.createElement("clipPath",{id:"clip3_1350_23850"},t.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:g}=f.getLocalizedStrings(),{businessVerification:m}=g,c={iconSize:new o(a[6],a[10]),gap:new o(a[2],a[3])},h={title:new s("smallSemiBold","standardSemiBold"),description:new s("smallRegular","standardRegular")},P=()=>{const[e]=w("Secure"),l=p();return i.jsxs(E,{windowSize:l,children:[e!=null?i.jsx(u,{windowSize:l,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):i.jsx(S,{windowSize:l}),i.jsxs(y,{children:[i.jsx(z,{windowSize:l,children:m.securityMessageTitle}),i.jsx(B,{windowSize:l,children:m.securityMessageDescription})]})]})},E=r.div`
1
+ import{ac as w,X as p,j as i,B as f,C as o,o as n,ak as x,Q as s,g as d,s as a}from"./index-DL4A-6yw.js";import{n as r,b as t}from"./vendor-CnQcJ2Lu.js";const g=e=>t.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),t.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("g",{clipPath:"url(#clip0_1350_23850)"},t.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip1_1350_23850)"},t.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip2_1350_23850)"},t.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip3_1350_23850)"},t.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_1350_23850"},t.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),t.createElement("clipPath",{id:"clip1_1350_23850"},t.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),t.createElement("clipPath",{id:"clip2_1350_23850"},t.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),t.createElement("clipPath",{id:"clip3_1350_23850"},t.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:C}=f.getLocalizedStrings(),{businessVerification:m}=C,c={iconSize:new o(a[6],a[10]),gap:new o(a[2],a[3])},h={title:new s("smallSemiBold","standardSemiBold"),description:new s("smallRegular","standardRegular")},P=()=>{const[e]=w("Secure"),l=p();return i.jsxs(E,{windowSize:l,children:[e!=null?i.jsx(u,{windowSize:l,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):i.jsx(S,{windowSize:l}),i.jsxs(y,{children:[i.jsx(z,{windowSize:l,children:m.securityMessageTitle}),i.jsx(B,{windowSize:l,children:m.securityMessageDescription})]})]})},E=r.div`
2
2
  display: flex;
3
3
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
4
4
  gap: ${e=>c.gap.valuePx(e.windowSize)};
@@ -8,7 +8,7 @@ import{ab as w,X as p,j as i,M as f,C as o,o as n,aj as x,Q as s,h as d,m as a}f
8
8
  width: ${e=>c.iconSize.valuePx(e.windowSize)};
9
9
  height: ${e=>c.iconSize.valuePx(e.windowSize)};
10
10
  display: block;
11
- `,S=r(C)`
11
+ `,S=r(g)`
12
12
  width: ${e=>c.iconSize.valuePx(e.windowSize)};
13
13
  height: ${e=>c.iconSize.valuePx(e.windowSize)};
14
14
  color: ${e=>e.theme.colors.success};
@@ -0,0 +1,21 @@
1
+ import{X as V,a as q,B,c6 as G,J as H,l as T,j as n,bR as J,bT as X,bU as _,F as K,a4 as Q,C as u,eS as Y,o as Z,ao as ee,s as a}from"./index-DL4A-6yw.js";import{b as N,n as h}from"./vendor-CnQcJ2Lu.js";import{e as ne}from"./BankAccountSection-DCHOrv1O-Bh0iIOZd.js";import{M as te}from"./MagicLinkTitleSection-CmTUPCA1-HqjTGids.js";import{W as ae,A as oe}from"./BankAccountWarningSection-Bof6a4Ai-Le7ZNeNV.js";import{T as ie}from"./MailingDetailsSection-AiehjqI1-XJzpQDBu.js";const i={paddingTopBottom:new u(a[3],a[3]),paddingRight:new u(a[3],a[8]),paddingLeft:new u(a[3],a[6]),buttonWidth:new u(140,140),marginLeft:new u(a[4],a[6])},$="domesticWireDetailsPage",f="bankAccountSection",w="mailingAddressSection",j=e=>`${e}_form`,he=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:y,isDisabled:A,companyName:v,isMagicLink:g,currencySymbol:D,amount:R,onSaveHandler:P,onWireDetailsUpdated:z,onFetchBankName:E,onAddressClick:L,onBackClick:C}=e,l=V(),c=q({mode:"onBlur",reValidateMode:"onChange",defaultValues:N.useMemo(()=>se(s,r),[s,r])}),[W,p]=N.useState(!1),t=B.getLocalizedStrings().spendManagement.billPay.vendorCreation,M=B.getLocalizedStrings().common.footer,F=t.wireDetails.domestic,I={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},U=async(k,m)=>{const d=m[f].bankRoutingNumber;z(m),k===`${f}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&E?.(d)};N.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&G(()=>U(d,m))});return()=>{k.unsubscribe()}});const O=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&P("wire")}),S=!H(y!=null?T.getFormattedAddress(y):y,r!=null?T.getFormattedAddress(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[W===!0?n.jsx(J,{titleComponent:n.jsx(_,{children:t.discardTitle}),descriptionComponent:n.jsx(X,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:I}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:v??"",currencySymbol:D??"",amount:R??0}):F.addWireDetails,isMagicLink:g,isDirty:S,onBackClick:C,setShowConfirmationPopup:p}),o?.fetchState==="Error"&&o.error?.code===409?n.jsx(oe,{warningText:t.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:l,children:t.bankAccountCommon.accountDetailsTitle}),n.jsx(K,{...c,children:n.jsxs("form",{id:j($),onSubmit:O,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:f,isDisabled:A})}),n.jsx(ie,{sectionId:w,isDisabled:A,addressType:x,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(Q,{formId:j($),primaryBtn:{label:g?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:o.fetchState==="In-Progress",style:{width:i.buttonWidth.value(l)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:M.cancel,style:{width:i.buttonWidth.value(l)},shouldResetOnCancel:!1,onClick:()=>{S?p(!0):(c.reset(),C?.())}}})]})},se=(e,o)=>({[f]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[w]:{mailingAddress:o}}),re=e=>{if(e==null)return!1;const{bankAccountName:o,bankAccountNumber:b,bankName:x,bankRoutingNumber:s}=e;return!!o||!!b||!!x||!!s},ce=h.div`
2
+ padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
+ padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
+ padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
5
+ padding-bottom: ${e=>i.paddingTopBottom.valuePx(e.size)};
6
+ background: ${e=>e.theme.colors.grey4};
7
+ `,de=h(ee)`
8
+ color: ${e=>e.theme.colors.champion};
9
+ margin-left: ${e=>i.marginLeft.valuePx(e.size)};
10
+ margin-top: ${Z.sp3};
11
+ `,le=h.div`
12
+ display: flex;
13
+ flex-direction: column;
14
+ flex-grow: 1;
15
+ `,me=h.div`
16
+ background-color: ${e=>e.theme.colors.grey4};
17
+ display: flex;
18
+ flex-direction: column;
19
+ width: 100%;
20
+ height: 100%;
21
+ `;export{he as y};