@zeniai/web-cockpit-ui 1.14.19-dev → 1.14.19-dev-betaSK01

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 (371) hide show
  1. package/dist/assets/ACHDetailsPage-TewccRkX-DetITKOl.js +21 -0
  2. package/dist/assets/{AIPerformancePage-BuQApbEf-iP9bvKhu.js → AIPerformancePage-CJ0myi1p-CyCBKn16.js} +63 -63
  3. package/dist/assets/AccountInfoPage-CuytgM09-DMWlq-IF.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-DQJFmREl-DoaILqqU.js → AccountInfoPageContent-CVV20YhW-q-TI4Dr6.js} +18 -18
  5. package/dist/assets/{AccountReconDetailsDrawerPage-D2B9Na3--BPjptdtd.js → AccountReconDetailsDrawerPage-CNT6qZyD-ZHVZJgF9.js} +17 -17
  6. package/dist/assets/{AccountRow-ZcS_RTJN-DNHX6IR1.js → AccountRow-COaolUm5-Bsrm5YYV.js} +40 -40
  7. package/dist/assets/{AccountsPromoCardStack-Bh2D-mXh-Yx4rUExR.js → AccountsPromoCardStack-BOmk5qYk-Bnozn1QW.js} +37 -37
  8. package/dist/assets/{AddAddressForCardDrawer-Ds2V5DyG-D2Tq6L1d.js → AddAddressForCardDrawer-DQN-6ztS-C4C6h_V9.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-DQ_gwAcu-Bv5nxp9i.js → AddToWalletPage-CT9nivqI-BnXCEk6P.js} +122 -122
  10. package/dist/assets/{AgingReportsPage-BU_tqV13-C2Yi_y38.js → AgingReportsPage-DGzFK69_-DgqwpnRI.js} +15 -15
  11. package/dist/assets/{AllUserItems-DBXzXO61-sIPVSbAT.js → AllUserItems-diZQlFqb-DwUtiew2.js} +17 -17
  12. package/dist/assets/{ApAgingDetailPage-Crv9EDe5-Dm92urnR.js → ApAgingDetailPage-CtXSUVGC-DdWwytoq.js} +3 -3
  13. package/dist/assets/AppBasePage-D6MgS-da-2jH4Fzgr.js +70 -0
  14. package/dist/assets/{AppDrawerContent-rw39Hn3s-Aoghs5SQ.js → AppDrawerContent-Z3Hny9GH-BBS5jJHD.js} +59 -46
  15. package/dist/assets/ApprovalRulesSettingsPage-BwnaDPqA-BMHJ2n3v.js +47 -0
  16. package/dist/assets/ArAgingChart-BvG_iPlt-BYubF9ZD.js +24 -0
  17. package/dist/assets/ArAgingDetailPage-Sm4672LS-o1itnQt5.js +46 -0
  18. package/dist/assets/{AttachmentView-BTAMhgXU-BizBD4c6.js → AttachmentView-ChlYn2cr-DueA245P.js} +8 -8
  19. package/dist/assets/AuditReportDrawerPage-CaFo0k9s-NaTvWx96.js +369 -0
  20. package/dist/assets/{BankAccountSection-DVO3xzgl-BbF3_Xvy.js → BankAccountSection-DdvqFTBS-3WhABy0l.js} +7 -7
  21. package/dist/assets/{BankAccountWarningSection-CQsqUFKg-CEwje_vW.js → BankAccountWarningSection-VrRQxdkB-DFivrjf8.js} +10 -10
  22. package/dist/assets/{BankConnectionsSettingsPage-CEyhk8v--D1MZcFK5.js → BankConnectionsSettingsPage-D1Y3V93C-Bfvr_pF_.js} +23 -23
  23. package/dist/assets/{BillDetailPage-CP6QCrla-C-q234bH.js → BillDetailPage-XL8GxSiQ-Cxb-3w9d.js} +18 -18
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-Bem5LvtY-ByYY2uP-.js → BillPayApprovalRuleDetailPage-wIEW2R5G-CC_GZTsX.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-DhDaCfQa-cqstNfVf.js → BillPayApprovalRulesPage-kGddvG8V-rTKT6DIU.js} +9 -9
  26. package/dist/assets/{BillPayPromoPage-BjH9lvnR-7aNAb2i3.js → BillPayPromoPage-VBLYqFtx-CSmxPHYz.js} +10 -10
  27. package/dist/assets/BillPaySetUpPage-CTNtHQBM-CpoUfnMM.js +42 -0
  28. package/dist/assets/BillingSettingsPage-CR0doM6R-DRs8JS8S.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-B0ebreRX-D7v6qOnU.js +1 -0
  30. package/dist/assets/{BoxItem-BL-UVx2X-CDUWJCC4.js → BoxItem-DJq3mny1-nPTLB__B.js} +4 -4
  31. package/dist/assets/BusinessVerificationPage-B6lyqGIK-BfLlNZ0a.js +140 -0
  32. package/dist/assets/BusyIndication-_H8LL7GJ-BjR55KdD.js +9 -0
  33. package/dist/assets/{CardNumberSubText-CNMNL0y--CRLH2YxV.js → CardNumberSubText-Bo_ZeAR0-DocU3odv.js} +4 -4
  34. package/dist/assets/{CashbackDetailPage-Cj26I5CB-DNKm6NdF.js → CashbackDetailPage-0Yl3lHzq-CJUtuV5y.js} +31 -31
  35. package/dist/assets/{ChargeCardDetailPage-herJK06r-Jj0sML3r.js → ChargeCardDetailPage-BaceF_92-G63YAG6z.js} +78 -78
  36. package/dist/assets/{ChargeCardListPage-LYVKm-0u-CGVPXLUW.js → ChargeCardListPage-_YORyJOy-uqdfjUZk.js} +37 -37
  37. package/dist/assets/{ChargeCardListTable-DxE-nRR4-Dc_afx90.js → ChargeCardListTable-DE1xnRyd-D2F1GAJW.js} +62 -62
  38. package/dist/assets/ChargeCardPromoPage-DO2UJyXm-Dwx7STGG.js +222 -0
  39. package/dist/assets/ChargeCardSetupPage-De5jDB3D-CMdmpmLu.js +36 -0
  40. package/dist/assets/{ChargeCardStatementsPage-DkCHd5c6-y_ZysAG_.js → ChargeCardStatementsPage-bpyamxR5-WxHdE5xc.js} +9 -9
  41. package/dist/assets/ChargeCardUtils-DYpmF85C-qBaPG14m.js +1 -0
  42. package/dist/assets/{ChaseOverlay-N7gGQaMQ-Bh9lkzpe.js → ChaseOverlay-YVpKSII6-BIyjTgCz.js} +10 -10
  43. package/dist/assets/CheckDepositDrawerPage-Dj2do0Un-DCNBKUNr.js +206 -0
  44. package/dist/assets/{CollapsableReportTable-NSlKGCNZ-9GlkRzVX.js → CollapsableReportTable-CDe76ha7-3Q7qsS_e.js} +18 -18
  45. package/dist/assets/{CompanyOfficerDetailsSection-C1IpMsWw-4riCbcJi.js → CompanyOfficerDetailsSection-CeVdKqY7-DWrcELqw.js} +25 -25
  46. package/dist/assets/{CompanyPassportCard-D5gkzDNU-DdCNWaie.js → CompanyPassportCard-O7LbMSSb-D53wb0da.js} +8 -8
  47. package/dist/assets/{CompanyPassportPage-6_6yWHxX-BzKkvM2X.js → CompanyPassportPage-B05q2F4S-DiyGLc2N.js} +154 -154
  48. package/dist/assets/CompleteProfile-B_dl9xEx-DFZ3KU15.js +52 -0
  49. package/dist/assets/ConfettiBurst-ChCmpiHq-BBDSx_jo.js +1 -0
  50. package/dist/assets/ControlledCheckBoxField-BIqM2o6X-Ml88Uf7U.js +74 -0
  51. package/dist/assets/{CreateOrEditVendorPage-DQW4Wobx-CiIXGaQB.js → CreateOrEditVendorPage-BZ6ZfaSo-Dn1DLrma.js} +15 -15
  52. package/dist/assets/{CreditCardPaymentDrawerPage-BEpQXn9g-DzfCHeLI.js → CreditCardPaymentDrawerPage-cABpaIqh-BIRd807Z.js} +16 -16
  53. package/dist/assets/{CreditCardPaymentPlgSection-BGh2TJeK-DFQxSPk-.js → CreditCardPaymentPlgSection-BgJ074tY-CfzZdzTd.js} +11 -11
  54. package/dist/assets/{CurrencySelectField-C2if0NUa-ChKY5K5U.js → CurrencySelectField-BfgtNimH-BYHOS_CH.js} +6 -6
  55. package/dist/assets/{CustomerOnboardingActivationPage-_zjv9RZY-5MkPCW8D.js → CustomerOnboardingActivationPage-Czg8rmEW-YInlsWzY.js} +4 -4
  56. package/dist/assets/CustomerOnboardingContainerPage-Ciaw11Nw-O_DtjvXM.js +1 -0
  57. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CXApNm6A-BSR-PhTi.js → CustomerOnboardingDetailPageSkeleton-DtYTYPnO-DzMzbH73.js} +17 -17
  58. package/dist/assets/CustomerOnboardingNoStepsPage-CdOEZjmC-HqvGWI7K.js +66 -0
  59. package/dist/assets/{CustomerOnboardingPage-CWpmMXrh-CRkiPpz7.js → CustomerOnboardingPage-CXZCAc_N-BfMJFDq7.js} +10 -10
  60. package/dist/assets/{CustomerOnboardingProductSuitePage-CGYRoz3v-BhEGdWj7.js → CustomerOnboardingProductSuitePage-ucFJ1PHr-BwZiAWEx.js} +10 -10
  61. package/dist/assets/{Dashboard-Dyt4nvyG-CkNduEQV.js → Dashboard-CAWL19Rr-CvQLInkH.js} +229 -229
  62. package/dist/assets/{DashboardReportPage-BSbTlRwW-gHAkcokq.js → DashboardReportPage-DYgKY1Ns-_VZzH9Ck.js} +27 -27
  63. package/dist/assets/DashboardSidebarBackgroundAnimation-CblfOXOJ-B4cbMZpc.js +12 -0
  64. package/dist/assets/{DepositAccTransactionItem-CuTp6qxI-Ce2SFbUX.js → DepositAccTransactionItem-DeOMizAI-BUL1onQj.js} +10 -10
  65. package/dist/assets/DepositAccTransactionListPage-2kpIHXLb-j8eQ9Syw.js +66 -0
  66. package/dist/assets/{DomesticWireDetailsPage-C5hxxGsr-D-EvElMb.js → DomesticWireDetailsPage-FsJvVULE-cMWuJpE8.js} +1 -1
  67. package/dist/assets/{DownloadOverlay-B9O7jf-4-BeIpOSC8.js → DownloadOverlay-CVCKyDWO-CyzPCm3f.js} +40 -40
  68. package/dist/assets/{DrawerPage-Dpd6lRf7-l9nV_5N2.js → DrawerPage-l697kk-T-C0lMqvCR.js} +14 -14
  69. package/dist/assets/EditPeoplePage-CwhUp4W2-CnFSjC3L.js +55 -0
  70. package/dist/assets/{EditReimbursementDetailPage-BL-W1hPs-D4iR-8Yt.js → EditReimbursementDetailPage-COuH1JPm-DF1XIZnj.js} +68 -68
  71. package/dist/assets/EmptySearchResults-CB9-FwYT-DCczU5qh.js +46 -0
  72. package/dist/assets/EntityDetailPage-BqjWJTDI-qcUtYQZh.js +18 -0
  73. package/dist/assets/{EntitySummarySection-eNxIwvHt-CkeObU85.js → EntitySummarySection-B1zP9dKH-kkSLVqaS.js} +10 -10
  74. package/dist/assets/ExpenseAutomationOverviewPage-CKokJTC4-C9VvWXen.js +222 -0
  75. package/dist/assets/{ExpenseAutomationPage-LPWPrpwm-T8iyqKP1.js → ExpenseAutomationPage-DP0P07VH-DhP4-CZe.js} +91 -91
  76. package/dist/assets/{ExpressPayPage-COQrt-KL-sn6b2-XB.js → ExpressPayPage-CuuS2EDn-D3uvvYo2.js} +9 -9
  77. package/dist/assets/{FeaturePreviewPage-Coe53hoK-Doq3zPCz.js → FeaturePreviewPage-D90G_5Q8-CnQvTfz2.js} +2 -2
  78. package/dist/assets/{FollowStepsSection-BJFJzQrz-CGmrm9Lr.js → FollowStepsSection-DbS5XlIB--DgM9Akw.js} +10 -10
  79. package/dist/assets/{GlobalReviewListPage-DDQb-plt-B7MJAdcL.js → GlobalReviewListPage-D1a2gbca-BjGUSD3w.js} +13 -13
  80. package/dist/assets/Header-DLZFUQF8-BI2bQ6MH.js +226 -0
  81. package/dist/assets/HealthListRow-iF093_lw-DegqmjBi.js +210 -0
  82. package/dist/assets/HealthMonitorDetailDrawer-BJRgJJOH-BzVkHFE6.js +401 -0
  83. package/dist/assets/HealthMonitorPage-BT0gIPV6-BAgQvawR.js +108 -0
  84. package/dist/assets/{HelpButton-BT_HyQ5k-B4E1vZtk.js → HelpButton-Dw0OujKs-8AApGgt1.js} +7 -7
  85. package/dist/assets/{InformationCardStack-B9E29_zj-DokGK6g8.js → InformationCardStack-QA9nEJlH-BHcB9j6E.js} +4 -4
  86. package/dist/assets/{InsightsCardStack-7XbkZ-A3-BxqeB-iN.js → InsightsCardStack-DKM6Xigy-B12rMXAv.js} +13 -13
  87. package/dist/assets/InsightsSection-DxpsNIIy-D73VhmA2.js +27 -0
  88. package/dist/assets/IntegrationsSettingsPage-DEOHHrS4-xD8BgFGo.js +57 -0
  89. package/dist/assets/{InternationalWireSwiftDetailsPage-BeSYu2Dm-y3Tu_Xyi.js → InternationalWireSwiftDetailsPage-KC-9TwlR-DtVQ4upN.js} +17 -17
  90. package/dist/assets/{InternationalWireVerificationPage-Ctcaggen-Cihfrd35.js → InternationalWireVerificationPage-D59omOr2-BqyFDoPr.js} +17 -17
  91. package/dist/assets/InviteFormPage-CU5_JoYd-DtlUlrhp.js +312 -0
  92. package/dist/assets/{InvitePageListView-BMMOpM9O-B8oUxVru.js → InvitePageListView-BO-RmmHm-B9WEWx8n.js} +55 -55
  93. package/dist/assets/InvitePeoplePage-Btu9ayOz-bG-WZTzF.js +12 -0
  94. package/dist/assets/{InvoiceUploadSection-C6Dx8Web-CBeOBAnd.js → InvoiceUploadSection-CibgDVMW-Ct_Yqg-6.js} +9 -9
  95. package/dist/assets/{IssueChargeCardPage-DWRhiOzj-DCnENqBq.js → IssueChargeCardPage-CB5DhzQb-Dowc3uml.js} +75 -75
  96. package/dist/assets/LabeledAddressValue-tO6Kg-ki-DIZXgDEF.js +49 -0
  97. package/dist/assets/LabeledAddressValueField-CkveEJJG-BEvwzrCB.js +45 -0
  98. package/dist/assets/LabeledControlledCheckBoxField-B50HdRDc-BPCXXpG-.js +16 -0
  99. package/dist/assets/{LabeledCreatableSingleSelectField-CTwToXIo-Cle-L6Nt.js → LabeledCreatableSingleSelectField-CIhXQBns-C3KOt5qj.js} +5 -5
  100. package/dist/assets/LabeledDocumentField-B8uyJA2N-B3iZ1bpr.js +41 -0
  101. package/dist/assets/{LabeledDropDownFormattedTextField-mOxkCT-G-CFeF0x5h.js → LabeledDropDownFormattedTextField-pClUx8A9-Dtg8BoKW.js} +4 -4
  102. package/dist/assets/LabeledEmailInputField-D5OBo0RU-Cn7DEiyr.js +182 -0
  103. package/dist/assets/LabeledGroupedCheckBoxField-DLSgfRui-CIvqEp4U.js +82 -0
  104. package/dist/assets/LabeledItemWithButton-CNlRAl-1-D8RdmCNz.js +21 -0
  105. package/dist/assets/LabeledNameField-B73hOD1K-DrzOl55q.js +141 -0
  106. package/dist/assets/LabeledSingleSelectField-nPVDbcr0-DXhzL0iF.js +136 -0
  107. package/dist/assets/LabeledSingleSelectWithoutClearableField-DgT7faZC-Or3zfyeO.js +38 -0
  108. package/dist/assets/{LabeledText-CExeogkg-361xlNV7.js → LabeledText-CW-bei7--hAClqsQN.js} +3 -3
  109. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DrloYoze-DB50WeN3.js → LabeledUserSingleSelectWithSubtitlesField-DZUt2T7b-B09ph3mF.js} +15 -15
  110. package/dist/assets/{LabeledZeniRolesDropDownField-BZKMSlzI-B3-a-Sde.js → LabeledZeniRolesDropDownField-DNZUBYDP-ltAbPko_.js} +11 -11
  111. package/dist/assets/LinkJETransactionPage-ChyKb7xl-LR_CFAXE.js +98 -0
  112. package/dist/assets/Loader-Cqmoylhp-CKPikayq.js +32 -0
  113. package/dist/assets/{LowBalancePopup-DqY0lHvk-Bg-BhJJe.js → LowBalancePopup-DcVkWdb3-vRNfAVIB.js} +6 -6
  114. package/dist/assets/{MagicLinkACHDetailsPage-BctRnNGY-DEYW76Ne.js → MagicLinkACHDetailsPage-B3NEKP0z-DUbPO0xw.js} +1 -1
  115. package/dist/assets/{MagicLinkDomesticWireDetailsPage-UjO7TGNI-jNwBg57q.js → MagicLinkDomesticWireDetailsPage-SvX8hE_J-6LOmcKRH.js} +1 -1
  116. package/dist/assets/{MagicLinkInternationalWireDetailsPage-ex7nPlxc-Cv717ajH.js → MagicLinkInternationalWireDetailsPage-DnrUY7JS-nyREbLmz.js} +1 -1
  117. package/dist/assets/MagicLinkSuccessPage-7bTkYgEa-CPPkAGGs.js +31 -0
  118. package/dist/assets/MagicLinkTitleSection-BlxCsth7-BHITpmKu.js +17 -0
  119. package/dist/assets/{MailingDetailsSection-D7d7fV5j-Cs19YBt0.js → MailingDetailsSection-DFxnpK8F-CiXDBg4h.js} +1 -1
  120. package/dist/assets/ManagementPage-D5egEDwP-uTkBBFJq.js +556 -0
  121. package/dist/assets/MatchingOperatorDropdown-C5zSNKmV-DBpzsPUC.js +130 -0
  122. package/dist/assets/{MeetingCalenderPopup-C-Ca0puH-BuYhTZNY.js → MeetingCalenderPopup-LNaVbSrR-TEQEw5Mb.js} +3 -3
  123. package/dist/assets/{Menu-FcKyIIWS-5DaRICk4.js → Menu-BCNEnlpd-D3With3F.js} +3 -3
  124. package/dist/assets/MonthEndEmailDrawerCustomerRequestPage-CK7yjkYx-Dj2GK4HO.js +39 -0
  125. package/dist/assets/MonthEndReportHistoricDataPage-BuRBd_9k-DDKlEI2q.js +124 -0
  126. package/dist/assets/MonthEndReportPage-DOTCU96W-VybM2w9h.js +28 -0
  127. package/dist/assets/MoreMenuButton-Cj6SIPVt-CYCCFBqM.js +134 -0
  128. package/dist/assets/{MyBankConnectionsSettingsPage-B4NuqJVI-C5C-Tkbz.js → MyBankConnectionsSettingsPage-DCURGC-R-BMFNqNjE.js} +13 -13
  129. package/dist/assets/MyPendingActivationChargeCardListPage-BFe1hoDt-CfBCldAO.js +6 -0
  130. package/dist/assets/MyProfileSettingsPage-B7zND-Ux-BN19QlhA.js +85 -0
  131. package/dist/assets/NavBar-BjyxKUvF-gwYjTp7H.js +189 -0
  132. package/dist/assets/{NavBarWithPicker-Bu03gVw7-BBANsf51.js → NavBarWithPicker-CBOGjIl3-ajX8qLcM.js} +6 -6
  133. package/dist/assets/NavHeader-9VET6uub-DBlTa1KF.js +236 -0
  134. package/dist/assets/{NavigationArrow-D7Eb-FlF-DFK_OGPD.js → NavigationArrow-C6KDDKXh-BuGIAK_3.js} +2 -2
  135. package/dist/assets/{NavigationDots-CFjUchuX-BbVX67wD.js → NavigationDots-CGOsNTLj-ZRX96j5F.js} +1 -1
  136. package/dist/assets/{NewGlobalMerchantPage-rhhm0o-f-DpBge9cX.js → NewGlobalMerchantPage-C478pZIu-cHWkOmAB.js} +11 -11
  137. package/dist/assets/{NoDataChart-D5DKMqIS-BEaaizBY.js → NoDataChart-BSoXaJD0-JxM1S3Cy.js} +8 -8
  138. package/dist/assets/{NoDataTable-CPEKYH-4-ChRW7vff.js → NoDataTable-iH1r029I-DLkBIcoK.js} +1 -1
  139. package/dist/assets/{NotFoundPage-Cfk62GPw-D375IgXA.js → NotFoundPage-BQLKWvT9-wlLCbXww.js} +6 -6
  140. package/dist/assets/{NotificationSettingsPage-BZtsKPBO-AXQQWsyF.js → NotificationSettingsPage-R7veJvze-BqnLD-ld.js} +25 -25
  141. package/dist/assets/NotificationsListConfig-CyQxEQ13-D7e4Z7fR.js +1 -0
  142. package/dist/assets/{NotificationsPage-CgABP7O1-BFGmWSCt.js → NotificationsPage-D_vooxhV-BtfMVNB5.js} +60 -60
  143. package/dist/assets/OnboardingCustomerPage-jmb-3M9K-C-4WzmwX.js +476 -0
  144. package/dist/assets/OnboardingPage-LCaIErMj-Bhag4ahh.js +408 -0
  145. package/dist/assets/{OpExByVendorPage-CMEokGbw-5aOd51kS.js → OpExByVendorPage-DWCdLRPc-peo3zX7H.js} +14 -14
  146. package/dist/assets/{OverlayContainerPage-9K5jaX8Z-DmDVJorJ.js → OverlayContainerPage-1M2CZQoK-DROfCTrK.js} +1 -1
  147. package/dist/assets/PandLWithForecastPage-3h8Q4kZg-CZgSqzQW.js +107 -0
  148. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D6cW0hFS-DO3Osr4s.js → PaymentAccountSetupBillingAddressSection-YLuS3VUf-CaBoPPAw.js} +10 -10
  149. package/dist/assets/{PeoplePage-lD4QPAkF-28PZT7ir.js → PeoplePage-CRZ7ywRU-CZLazd8w.js} +36 -36
  150. package/dist/assets/{PortfolioAllocationFormPage-pynkIQMX-BFz04Oo7.js → PortfolioAllocationFormPage-QP1Aoj30-7H62H89u.js} +13 -13
  151. package/dist/assets/{PortfolioDetails-Cs8o8xzm-bO5l1T7Z.js → PortfolioDetails-DOlYfVij-TNjtwW2_.js} +42 -42
  152. package/dist/assets/PortfolioPage-BfNGByGB-ea6OEgaP.js +237 -0
  153. package/dist/assets/{ProductsCarousel-vPy7zk53-DjiVBmpl.js → ProductsCarousel-CzJnAk3w-MortVhyi.js} +10 -10
  154. package/dist/assets/{PromoBaseCards-CWGpTa57-Bj-bRm1l.js → PromoBaseCards-CLKhsYfl-BEkL1oHo.js} +4 -4
  155. package/dist/assets/{QBOConnectionDialog-66XnPKaW-8EXYy72U.js → QBOConnectionDialog-CiAUTeD2-D061mOJX.js} +10 -10
  156. package/dist/assets/QBOSetupSection-D-Q_DVva-q5JlqA-2.js +79 -0
  157. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BSI9Lg6a-wX6i8H_B.js → ReimbursementApprovalRuleDetailPage-DCzX_1-a-BNW7pXC_.js} +1 -1
  158. package/dist/assets/{ReimbursementApprovalRulesPage-XxC6pXqt-Bzz5uq1t.js → ReimbursementApprovalRulesPage-DfHVzdAB-hV-2mfna.js} +9 -9
  159. package/dist/assets/{ReimbursementDetailPage-BwtY21D5-BOkbylET.js → ReimbursementDetailPage-Di8XpCvg-B7b0ZH64.js} +17 -17
  160. package/dist/assets/{ReimbursementPromoPage-CmO1DP-8-DpBTbSy4.js → ReimbursementPromoPage-CJSuqONm-DlocTKyV.js} +24 -24
  161. package/dist/assets/ReimbursementSetUpPage-5OtsfDPV-DQz8dNtG.js +140 -0
  162. package/dist/assets/ReimbursementsBulkReviewDrawerPage-BX722SXa-YTQZVgWe.js +1 -0
  163. package/dist/assets/{ReloadCard-CJfjUA_Q-iqgRrGxj.js → ReloadCard-BuBuLupE-Cty15m_t.js} +5 -5
  164. package/dist/assets/ReloadContainer-BRXUxBxu-BAp5l7-f.js +13 -0
  165. package/dist/assets/ReloadContainer-fx3kImdJ-D2lKf-Yd.js +17 -0
  166. package/dist/assets/ReportTableViewSelector-W7zYmKIW-BpJdvlc6.js +150 -0
  167. package/dist/assets/{ReportsPage-BJqldqjR-p6MwUSO1.js → ReportsPage-R29_iuow-B4_GPbvP.js} +6 -6
  168. package/dist/assets/{RevenueChart-BUnSkoUN-CWdeY5GO.js → RevenueChart-D3r_Mgmm-XyYx-Hfz.js} +1 -1
  169. package/dist/assets/{ReviewDetailsPage-8I09Puca-B9BkrydV.js → ReviewDetailsPage-Cimq9su3-CRN9WHDV.js} +20 -20
  170. package/dist/assets/ReviewOverlay-Bz1kr6zu-Dw4JE5ud.js +152 -0
  171. package/dist/assets/ReviewPage-Cel3qzEQ-DiaZxW5f.js +306 -0
  172. package/dist/assets/RoleWithToolTip-CUogd8qi-BfjjZiS9.js +22 -0
  173. package/dist/assets/{ScheduleDetailsFixedAssetsPage-1Y1ZylI7-BDsLy1RB.js → ScheduleDetailsFixedAssetsPage-Cbe0zp9o-DxmW_LFp.js} +13 -13
  174. package/dist/assets/{ScheduleDetailsPage-BcRuA_7y-mmMtrxsU.js → ScheduleDetailsPage-DxmJdx3I-Bant9wup.js} +3 -3
  175. package/dist/assets/{ScheduleSequenceTable-DC75D2Dx-BSdJrIG_.js → ScheduleSequenceTable-srpDx2n6-l1UT781V.js} +28 -28
  176. package/dist/assets/{ScreenRoutes-DRpA2l4T.js → ScreenRoutes-DPjLo75W.js} +1 -1
  177. package/dist/assets/SetUpAccountSection-2UGQI7fx-D_tNKXyG.js +378 -0
  178. package/dist/assets/{SetUpDefaultSection-a6NTauck-C-i38hil.js → SetUpDefaultSection-BWt_kYKx-Dc8telSj.js} +15 -15
  179. package/dist/assets/{SignIn-_ZPdER_K-0cn49L67.js → SignIn-BF4ojxcy-ignSyaGW.js} +21 -21
  180. package/dist/assets/SignInScreen-DjQXT0cG.js +1 -0
  181. package/dist/assets/SpendManagementListViewPage-DbfQ_jzA-sW1BTRjR.js +123 -0
  182. package/dist/assets/{SpendManagementPerTabPage-CbjC0IBF-BthyUtDp.js → SpendManagementPerTabPage-CZaPjNjx-Bhxn4ZLQ.js} +64 -64
  183. package/dist/assets/{SpendManagementSection-BKTkeRK6-DIa3Rn7O.js → SpendManagementSection-atmLAM4T-DeXVF-9S.js} +22 -22
  184. package/dist/assets/{SpendMgmtSetupAccountSection-D8Yv-Jng-D3WoppPf.js → SpendMgmtSetupAccountSection-h6duObCp-PJLwXWd-.js} +21 -21
  185. package/dist/assets/{StatementItem-DSJvKpAv-DV7N47r3.js → StatementItem-DgZtQdC5-CijP321B.js} +4 -4
  186. package/dist/assets/StatementsPage-Az4ZzxA6-CY7Q-Hv-.js +58 -0
  187. package/dist/assets/{StatusSwitcher-CTDNbKqC-Bv4PZo8C.js → StatusSwitcher-BTTEP3yZ-DwSqL8zG.js} +2 -2
  188. package/dist/assets/StatusTag-MQXQGj2--SPp-Hljk.js +38 -0
  189. package/dist/assets/{SubTabSwitcher-D33kV-tw-BTeEHhHa.js → SubTabSwitcher-BedfItte-C-XhL99Y.js} +6 -6
  190. package/dist/assets/SubscriptionAddPlanPage-Bn4CUx_v-BcoEoxy8.js +59 -0
  191. package/dist/assets/SubscriptionDetailPage-BZDJEjR1-DavSO9K8.js +216 -0
  192. package/dist/assets/SubscriptionPage-Tpj1RZco-CfI0x1AO.js +282 -0
  193. package/dist/assets/SubscriptionSnackBar-CwdSE1Xz-BYx3vQ0D.js +57 -0
  194. package/dist/assets/SubscriptionSummaryPage-Dep_cm58-D3JscAEe.js +176 -0
  195. package/dist/assets/SubscriptionUpdatePlanPage-5_wWKxme-CSTH4683.js +408 -0
  196. package/dist/assets/SuccessAnimation-BtFsm6Oj-BU_bae75.js +13 -0
  197. package/dist/assets/{SummaryCard-tsJZnge3-DE5AVV4x.js → SummaryCard--FoJZECU-DjUF26i-.js} +1 -1
  198. package/dist/assets/TaskDetailPage-aleDjLBo-DJGRUSEM.js +775 -0
  199. package/dist/assets/TaskListRow-xLyzXOYn-CLZGelcY.js +403 -0
  200. package/dist/assets/{TaskManagementPage-BW9M6AQs-DyLPADr6.js → TaskManagementPage-DchOWpNF-n_asmH-l.js} +41 -41
  201. package/dist/assets/TaskManagerPage-Dye8P0ua-jLCJwLcT.js +176 -0
  202. package/dist/assets/TextHighlightSection-Y0L_w9RR-D8_NKTqM.js +584 -0
  203. package/dist/assets/{TimeRangeSwitcher-CkXysnFa-BxX2v8T-.js → TimeRangeSwitcher-RLCCDvSp-DYQOEgth.js} +2 -2
  204. package/dist/assets/{TimeframeSwitcher-B-S09J4A-MdxeQVLH.js → TimeframeSwitcher-DABwUJSm-DPkuAUy9.js} +4 -4
  205. package/dist/assets/{TimeframeSwitcherWithToggle-B9Lo2-pD-oHueEdHK.js → TimeframeSwitcherWithToggle-DMblyoo8-ize9yIra.js} +2 -2
  206. package/dist/assets/{TopExCard-DwP8Cppq-BA7R-fYL.js → TopExCard-BwOpZFuj-CBPfgwzP.js} +7 -7
  207. package/dist/assets/{TopExDetailPage-CIMSDSxd-DWJg2Rhe.js → TopExDetailPage-BLaZA-dy-BH7Jcbvo.js} +19 -19
  208. package/dist/assets/{TransactionDetailPage-rwzAZT-Q-kE9Vj_Gw.js → TransactionDetailPage-BSDcUBWF-RsUJuQC6.js} +54 -54
  209. package/dist/assets/TransactionList-CnOj_LA1-DJxHv2ky.js +147 -0
  210. package/dist/assets/{TransactionListBig-BidYBgz3-mdU3i6TS.js → TransactionListBig-vNVdUmc6-C0TF6R2i.js} +26 -26
  211. package/dist/assets/TransactionListPage-CrUtG598-DR2tdFwA.js +35 -0
  212. package/dist/assets/TransactionVendorDetailPage-DjuFdK9S-Bn1DMv6P.js +80 -0
  213. package/dist/assets/{TransferDrawerPage-CztFCYxm-CBCCBWte.js → TransferDrawerPage-BMfeqbNy-BPjvRE9M.js} +46 -46
  214. package/dist/assets/{TreasuryOverviewPage-E5E5Gr3g-D2CrCBTV.js → TreasuryOverviewPage-B0vqbfmt-Cncu2g9Z.js} +47 -47
  215. package/dist/assets/{TreasuryPromoPage-D2F4Y8gV-CYlJ3kU9.js → TreasuryPromoPage-CQDA9os9-W40fA_vr.js} +28 -28
  216. package/dist/assets/{TreasurySetupPage-Dxa4l6Ec-D8eLBdo9.js → TreasurySetupPage-ChKM9npc-DNsYbGBz.js} +9 -9
  217. package/dist/assets/TreasuryStatementsPage-C0oRa1nh-BiT4V4PF.js +58 -0
  218. package/dist/assets/TreasuryTaxLetterPage-BuGFH3YF-BkeOYDmd.js +58 -0
  219. package/dist/assets/{TreasuryTransferOrReviewPage-BfReLw_V-7MLhWFB6.js → TreasuryTransferOrReviewPage-wt-8Okdj-CDylzOrV.js} +96 -96
  220. package/dist/assets/TrendChart-a95Aii8O-Crc1NrOm.js +16 -0
  221. package/dist/assets/{TrendWithTransactions-BslpnJTN-CCs7L3oP.js → TrendWithTransactions-CaExMJVA-C_0n3oh-.js} +13 -13
  222. package/dist/assets/{UncategorizedAccountsMappingPage-Brm7fcuy-1WMghiUv.js → UncategorizedAccountsMappingPage-CEHiflWp-D5pq-zY_.js} +5 -5
  223. package/dist/assets/{UnitIntegrationPage-DhiEmm9g-CyoCc7wN.js → UnitIntegrationPage-CNZbRdtN-B7b4N3wp.js} +4 -4
  224. package/dist/assets/{UploadAdditionalDocumentOverlay-Dq1ToFCn-BQjCguyB.js → UploadAdditionalDocumentOverlay-Bxc2MMx0-Cpl1vzGP.js} +2 -2
  225. package/dist/assets/UserMultiSelectField-UsIy6n-8-DdaF7B7O.js +154 -0
  226. package/dist/assets/UserWithTimestamp-i09mOCAu-Cw5lsbIN.js +38 -0
  227. package/dist/assets/{Vendor2FAPopup-Brg14-Cw-BfoPqsuP.js → Vendor2FAPopup-CqQOI5F6-CXSUTyq5.js} +1 -1
  228. package/dist/assets/{VendorACHDetailsPage-mk0vAyqE-BSy-kLup.js → VendorACHDetailsPage-BwYEhxJe-BB1a4fFU.js} +1 -1
  229. package/dist/assets/{VendorDetailPage-CRhCXEsq-qmv0EtV4.js → VendorDetailPage-C5zTkWhA-Uj3MwLUr.js} +23 -23
  230. package/dist/assets/{VendorDomesticWireDetailsPage-DhWkYV9N-CfYo0l4g.js → VendorDomesticWireDetailsPage-DrwX_ukC-DBWePN-A.js} +1 -1
  231. package/dist/assets/VendorFiling1099EditablePage-C3wjgkez-Dr8QyAeR.js +175 -0
  232. package/dist/assets/{VendorFirstReviewPage-XHOyQIOp-D3qnz2ww.js → VendorFirstReviewPage-BmRvA38Y-B_gKBGgZ.js} +45 -45
  233. package/dist/assets/{VendorInternationalWireDetailsPage-B13qu8u3-XGuYC0bw.js → VendorInternationalWireDetailsPage-DtG2HQ0g-WjpK5qgH.js} +15 -15
  234. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dtgusj3r-lncQfKmQ.js → VendorInternationalWireSwiftDetailsPage-DLSMDEiO-DSuW-yyD.js} +1 -1
  235. package/dist/assets/{VendorsAccountsSection-B-qorJ8x-D7fZrn7B.js → VendorsAccountsSection-5QJEJeCr-ovimcD6K.js} +6 -6
  236. package/dist/assets/{VerifyDevice-CBO1Uzra-0Sdb0n5n.js → VerifyDevice-DBnFzHim-C-LQbPfS.js} +13 -13
  237. package/dist/assets/{WarningsDrawerPage-B4Nic3gX-jDmAJMW0.js → WarningsDrawerPage-rcWR2KXe-BgEVT8fd.js} +8 -8
  238. package/dist/assets/{ZeniAccountDetailPage-IDGYSZVs-DmZJYRcm.js → ZeniAccountDetailPage-i8C1YB1W-CGdZ9Fyc.js} +22 -22
  239. package/dist/assets/{ZeniAccountListViewPage-IlPP8Yit-dH-QXkwU.js → ZeniAccountListViewPage-DyHxeqvW-CBT4R7Fd.js} +22 -22
  240. package/dist/assets/ZeniAccountNavBarPieces-CsSdfTKg-5k_P9-6W.js +14 -0
  241. package/dist/assets/{ZeniAccountPromoPage-BhFf42Fz-TRhbuR-7.js → ZeniAccountPromoPage-C5icpLpX-DtIf5jxs.js} +21 -21
  242. package/dist/assets/ZeniAccountSetupPage-BXHIQxgf-DcysatW3.js +36 -0
  243. package/dist/assets/ZeniAvatar-Cendj_Bv-Dp3oXY0H.js +13 -0
  244. package/dist/assets/{ZeniCopyright-C4Ze2E8o-C33E_V5I.js → ZeniCopyright-BX1-vpnA-B9MOS9At.js} +1 -1
  245. package/dist/assets/ZeniDatePicker-El_phkQ0-z80YcUbm.js +187 -0
  246. package/dist/assets/ZeniDatePickerField-3DaqcxMB-QK1YG1pI.js +1 -0
  247. package/dist/assets/ZeniTransferAmountSlider-CxxqQPB_-BqeHyBds.js +63 -0
  248. package/dist/assets/add-C0nqJFLa-C2eApjPK.js +1 -0
  249. package/dist/assets/{add-to-wallet-DgdBD8_G-DcfyMc0W.js → add-to-wallet-DgdBD8_G-XP_wmSR7.js} +1 -1
  250. package/dist/assets/{analyticsHelper-CsfdC0kT-BpVlkMRS.js → analyticsHelper-B3JHS_Qr-D08xKZsr.js} +1 -1
  251. package/dist/assets/{analyticsHelper-BuNdZ9jh.js → analyticsHelper-BFpl-Msc.js} +1 -1
  252. package/dist/assets/{arrow-south-east-round-PEovUgvH-DBLhwZXJ.js → arrow-south-east-round-PEovUgvH-DnzbA_s-.js} +1 -1
  253. package/dist/assets/{auto-transfer-rule-mbafm5D3-D6YoufI_.js → auto-transfer-rule-mbafm5D3-BA0iOPjL.js} +1 -1
  254. package/dist/assets/avatar-Dz7aEm3d-D64JGSQG.js +1 -0
  255. package/dist/assets/calculateSize-BUfcd-gF-DqmEdKsX.js +1 -0
  256. package/dist/assets/{chartTypes-CPj7oOMJ-Cv2ANOse.js → chartTypes-CICM6xJ3-DAE7LSQz.js} +1 -1
  257. package/dist/assets/clock-CJkylEKt-CJ3FIZ_o.js +1 -0
  258. package/dist/assets/cockpitConstants-CT7OARAT-C430UcjZ.js +1 -0
  259. package/dist/assets/cockpitHelpers-CSVzBgeI-BARdDEyf.js +1 -0
  260. package/dist/assets/cockpitHelpers-Y5_CbmvR-BhJ5C_6h.js +1 -0
  261. package/dist/assets/common-CU4uS1La-DdHnWUCD.js +1 -0
  262. package/dist/assets/{commonDimensions-CKs-7p-V-CmlPem1Z.js → commonDimensions-EDu7gcyc-DiuxcTjp.js} +1 -1
  263. package/dist/assets/{crypto-BURQLTgV.js → crypto-DPjkCRYF.js} +1 -1
  264. package/dist/assets/{detailCommon-BJ8iCchG-CdCS4VPM.js → detailCommon-DAG_rX2o-B0QDOSIy.js} +9 -9
  265. package/dist/assets/dollar-round-D18u7nlm-CXc5TAek.js +1 -0
  266. package/dist/assets/double-tick-D6s_OvsM-DFvZDijg.js +1 -0
  267. package/dist/assets/{downloadPdf-hPck-AA1-CD5ZG46J.js → downloadPdf-DCmFpTS--B48gcxsA.js} +1 -1
  268. package/dist/assets/filter-cZIFUNvj-B9dfJXS9.js +1 -0
  269. package/dist/assets/getCockpitColor-YYDF6h1T-D0_aeMEA.js +1 -0
  270. package/dist/assets/{gift-box-Cmt9OgIZ-DKWN92w0.js → gift-box-Cmt9OgIZ-Bnh-gm_T.js} +1 -1
  271. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BalbEtqQ.js → graphic-no-data-l-DU4J8fDt-DTLZpyxa.js} +1 -1
  272. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js → graphic-no-data-net-burn-l-CzmycA0m-W-GGrHSF.js} +1 -1
  273. package/dist/assets/groupHelper-CTA_J_U7-CPJTcSSg.js +1 -0
  274. package/dist/assets/hyperlink-DQyCeXx2-ChMvASRu.js +1 -0
  275. package/dist/assets/{index-CyJdCOlu.js → index-D9zAXs3-.js} +5886 -14388
  276. package/dist/assets/index-DVThwdcI.css +1 -0
  277. package/dist/assets/intuit-quick-books-logo-qyL3_3cm-Cj0LgD2I.js +1 -0
  278. package/dist/assets/{liveblocks-DZpRS25q.js → liveblocks-C2xecagE.js} +2 -2
  279. package/dist/assets/loader-BwDk7JSW-DoE-nOgh.js +1 -0
  280. package/dist/assets/{lodash-Dq_mKlGB.js → lodash-D52QloPU.js} +1 -1
  281. package/dist/assets/{mapLoadingInProgressToTreeNode-R394S2in-pIplKgrn.js → mapLoadingInProgressToTreeNode-CtvSoL64-CS0Ie6NV.js} +1 -1
  282. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B20NECa8-DENXzcIZ.js → mapSectionWithAcOnlyToTreeNode-BujdmE12-MD1XTXUW.js} +1 -1
  283. package/dist/assets/{mapSpacerToTreeNode-CLYF1Foh-BkgQTnh2.js → mapSpacerToTreeNode-CY5XRFK--DC8NIrxN.js} +1 -1
  284. package/dist/assets/{mapTimeframeBalancesToTreeNode-fLAswzPX-uvgKr4WV.js → mapTimeframeBalancesToTreeNode-DLd8jhti-Bxl7AnhE.js} +1 -1
  285. package/dist/assets/{mapTimeframeBalancesToTreeNode-B-iRb2_j-BOYVHL5U.js → mapTimeframeBalancesToTreeNode-DVzQl7Bb-DDS_OBZQ.js} +1 -1
  286. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CTmIxkdn-rpNZ4fKa.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CnZa-P_--DVtFUdDi.js} +1 -1
  287. package/dist/assets/money-2cg1MuG4-BaDu1jFd.js +1 -0
  288. package/dist/assets/{mui-Bi8r7UDG.js → mui-Ty75qFQF.js} +1 -1
  289. package/dist/assets/note-DCtChU1T-DArfpxk4.js +1 -0
  290. package/dist/assets/{page-detail-CWX5S47F-B6DjZ3Gi.js → page-detail-CWX5S47F-lMo0MYzU.js} +1 -1
  291. package/dist/assets/page-summary-D7_VQHwN-DEY33DNc.js +1 -0
  292. package/dist/assets/{play-icon-BZYr9mDs-DofqQFSd.js → play-icon-KtJH-UgF-Bm3lFkFZ.js} +3 -3
  293. package/dist/assets/{radio-default-CiSgisfh-ub7QGXr8.js → radio-default-CiSgisfh-Cuu8ymvq.js} +1 -1
  294. package/dist/assets/{redux-CC-tnuv1.js → redux-CEhZD0hA.js} +1 -1
  295. package/dist/assets/{routing-CxYXTKiv.js → routing-lj7oVq6C.js} +1 -1
  296. package/dist/assets/sectionColor-euXcOIkp-Cmmp8esL.js +1 -0
  297. package/dist/assets/{sentry-HDxG13yk.js → sentry-BE5FTzpq.js} +1 -1
  298. package/dist/assets/{shield-DOlUxcFf-BCUrujod.js → shield-DOlUxcFf-CDkNAu2o.js} +1 -1
  299. package/dist/assets/tick-round-CPC394H5-C8roQJBa.js +1 -0
  300. package/dist/assets/{toCOABalancesWithID-Dsa-tGTi-Bmzakp6x.js → toCOABalancesWithID-B0F8-Lgv-mwB6oBaM.js} +1 -1
  301. package/dist/assets/{toChartData-Cp_80Bi6-Dfd3dSx4.js → toChartData-D_8GUwpP-CFofR1sw.js} +1 -1
  302. package/dist/assets/{transaction-placeholder-CpOwZAMG-CJJQqrcA.js → transaction-placeholder-CpOwZAMG-CGEA36Na.js} +1 -1
  303. package/dist/assets/{treasuryColorHelper-CnKoJBRW-CDwAxole.js → treasuryColorHelper-C2d7wCjK-BWDQfCvz.js} +1 -1
  304. package/dist/assets/undo-b_3XZ5CX-Xpx_MAU7.js +1 -0
  305. package/dist/assets/{uploadAttachment-Cx3LGzsg-DDC6BFL5.js → uploadAttachment-CxwBrcm3-DDVTRYQ0.js} +29 -29
  306. package/dist/assets/{uploadReceipts-CwjPukNh-BNp5wSMb.js → uploadReceipts-DIYsXeyf-_3VvjCR-.js} +1 -1
  307. package/dist/assets/{useLongPress-GCK2COYQ-gxLtL5O4.js → useLongPress-GCK2COYQ-B0RUPzZV.js} +1 -1
  308. package/dist/assets/{usp-line-BBd1wKwW-CgKq8-Xn.js → usp-line-BBd1wKwW-ZlUrfnG1.js} +1 -1
  309. package/dist/assets/{vendor-CnQcJ2Lu.js → vendor-Bs1fkIUX.js} +7 -7
  310. package/dist/assets/{verification-CW6uEyev-DdkqedMU.js → verification-CW6uEyev-CQXAdM_w.js} +1 -1
  311. package/dist/assets/zeniDatePicker.helpers-Bv0wGqkO-0jS7nOtw.js +1 -0
  312. package/dist/index.html +1 -1
  313. package/package.json +2 -2
  314. package/dist/assets/ACHDetailsPage-BahbefPk-CJUwOp-5.js +0 -21
  315. package/dist/assets/AccountInfoPage-TD30edES-B2dxCd6A.js +0 -18
  316. package/dist/assets/AppBasePage-BK_b0fFf-DXr3P5KV.js +0 -70
  317. package/dist/assets/ApprovalRulesSettingsPage-C6jxuvhu-S4p-j-Jr.js +0 -47
  318. package/dist/assets/ArAgingChart-DVMlvNTF-DuCGC2Pt.js +0 -24
  319. package/dist/assets/ArAgingDetailPage-CbmOL5tx-Bg8YQJ9n.js +0 -46
  320. package/dist/assets/BillPaySetUpPage-X8X9gq1a-DvsjYi7w.js +0 -42
  321. package/dist/assets/BillingSettingsPage-CyyR8GW1-3x2HPXEj.js +0 -44
  322. package/dist/assets/BillsBulkReviewDrawerPage-D_xxZjcU-M0WKN8pE.js +0 -1
  323. package/dist/assets/BusinessVerificationPage-Tr-N_rHo-BFVLh_Kq.js +0 -140
  324. package/dist/assets/ChargeCardPromoPage-LVuaSVsQ-xG3b-_Ag.js +0 -222
  325. package/dist/assets/ChargeCardSetupPage-CWoHclOr-CLs_UkHN.js +0 -36
  326. package/dist/assets/ChargeCardUtils-6kq_92Ri-BhC-mlU5.js +0 -1
  327. package/dist/assets/CheckDepositDrawerPage-w7IziUHI-DeTxsGVS.js +0 -206
  328. package/dist/assets/CompleteProfile-1xeOWkGT-CSILrADl.js +0 -52
  329. package/dist/assets/ConfettiBurst-b1-NNKbl-Dk_0sV_i.js +0 -1
  330. package/dist/assets/CustomerOnboardingContainerPage-BXSxGbv8-CIUqDhfe.js +0 -1
  331. package/dist/assets/CustomerOnboardingNoStepsPage-BaBxG1Yn-DqlQrhK_.js +0 -66
  332. package/dist/assets/DepositAccTransactionListPage-CrQrOyrm-LYbEgddo.js +0 -66
  333. package/dist/assets/EditPeoplePage-C7uOWg9F-BdboEEOc.js +0 -55
  334. package/dist/assets/EntityDetailPage-BsQ9bSpC-Do5rjOCb.js +0 -18
  335. package/dist/assets/ExpenseAutomationOverviewPage-CKBACgsI-pcAU6Tzl.js +0 -222
  336. package/dist/assets/InsightsSection-DtBq9eII-CGUvYjY9.js +0 -27
  337. package/dist/assets/IntegrationsSettingsPage-TjdF0ahh-BOCCfb_h.js +0 -57
  338. package/dist/assets/InviteFormPage-DEDBu0OO-Dsi8hwhI.js +0 -312
  339. package/dist/assets/InvitePeoplePage-BzPRCgA6-C4LT3zxO.js +0 -12
  340. package/dist/assets/LabeledAddressValue-CSb0EGEx-owkgfzr7.js +0 -49
  341. package/dist/assets/LabeledAddressValueField-DJHY_wPN-ChfMLz4N.js +0 -45
  342. package/dist/assets/LabeledControlledCheckBoxField-rRmtlmRJ-ZOoy4ee7.js +0 -16
  343. package/dist/assets/LabeledDocumentField-sIz4Fhet-CBqe5ksA.js +0 -41
  344. package/dist/assets/LinkJETransactionPage-D9Kae7Qd-CXNveZ-N.js +0 -98
  345. package/dist/assets/MagicLinkSuccessPage-D3ORpbmL-DiCQcMcn.js +0 -31
  346. package/dist/assets/MagicLinkTitleSection-Di20DmsJ-Dweea4Ge.js +0 -17
  347. package/dist/assets/MyPendingActivationChargeCardListPage-C4eMpxAr-CvtH5135.js +0 -6
  348. package/dist/assets/MyProfileSettingsPage-D0ALOEls-D9BtQ_Rr.js +0 -85
  349. package/dist/assets/NotificationsListConfig-DiJLl-YW-Be2lRZvs.js +0 -1
  350. package/dist/assets/PandLWithForecastPage-IizA8WJN-C3H0uMBf.js +0 -107
  351. package/dist/assets/QBOSetupSection-T0b8qjoq-C3lySFCv.js +0 -79
  352. package/dist/assets/ReimbursementSetUpPage-CrCsRxAy-Bpo-Mk0A.js +0 -140
  353. package/dist/assets/ReimbursementsBulkReviewDrawerPage-Ct-lvcR1-DC9qwxGH.js +0 -1
  354. package/dist/assets/ReportTableViewSelector-CkuvvlJm-btt9uZlN.js +0 -150
  355. package/dist/assets/ReviewOverlay-Czmj4HG0-BLH60HLe.js +0 -152
  356. package/dist/assets/RoleWithToolTip-CNQZHC7h-LUv0Jw-2.js +0 -22
  357. package/dist/assets/SetUpAccountSection-CaLxl4l3-BRnWdFeV.js +0 -378
  358. package/dist/assets/SignInScreen-BGUfMUqo.js +0 -1
  359. package/dist/assets/SpendManagementListViewPage-Cvev9izU-BZzSvbIK.js +0 -123
  360. package/dist/assets/StatementsPage-Bhk6u845-C7EltSZm.js +0 -58
  361. package/dist/assets/TransactionList-CFYj7bYL-GEiFuum0.js +0 -147
  362. package/dist/assets/TransactionListPage-CImIYabg-BI9Hn9ZN.js +0 -35
  363. package/dist/assets/TransactionVendorDetailPage-LzIzQGZ1-NlBjctZ1.js +0 -80
  364. package/dist/assets/TreasuryStatementsPage-DEhWu0S0-CbB6wAo4.js +0 -58
  365. package/dist/assets/TreasuryTaxLetterPage-CEMU2CI9-BGxkDpux.js +0 -58
  366. package/dist/assets/TrendChart-D1gtjDe3-DWpkP03z.js +0 -16
  367. package/dist/assets/VendorFiling1099EditablePage-Bp5FgSiJ-DJr2e5wU.js +0 -175
  368. package/dist/assets/ZeniAccountNavBarPieces-2j-ZQRIF-DhfLCa9V.js +0 -14
  369. package/dist/assets/ZeniAccountSetupPage-DcYDO3x8-DOdNLBlO.js +0 -36
  370. package/dist/assets/ZeniTransferAmountSlider-DFB0ntiR-IB41czFT.js +0 -63
  371. package/dist/assets/index-BAKoUD4u.css +0 -1
@@ -1,4 +1,4 @@
1
- import{e as B,u as q,M as _,Y as Oe,l as D,j as s,aW as Qe,m as Je,D as Xe,aY as Ke,o as d,C as L,E as K,aZ as et,a_ as tt,d as ae,q as C,aj as st,a8 as ot,a$ as at,a3 as Be,k as Pe,c as T,s as Ne,a7 as nt,ap as it,r as rt,b0 as ct,b1 as lt,b2 as dt,b3 as ie,b4 as pt,aD as ut,B as gt,b5 as mt}from"./index-CyJdCOlu.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-CsfdC0kT-BpVlkMRS.js";import{c as ht,h as ft}from"./ReportTableViewSelector-CkuvvlJm-btt9uZlN.js";import{B as bt}from"./InsightsSection-DtBq9eII-CGUvYjY9.js";import{k as _e,q as xt,G as _t,H as te,N as ue}from"./detailCommon-BJ8iCchG-CdCS4VPM.js";import{N as wt,G as St,H as we,Y as Se,P as ye}from"./RevenueChart-BUnSkoUN-CWdeY5GO.js";import{C as yt}from"./NoDataChart-D5DKMqIS-BEaaizBY.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-CkXysnFa-BxX2v8T-.js";import{b as Ie}from"./TimeframeSwitcher-B-S09J4A-MdxeQVLH.js";import{R as $t,W as V,x as jt,l as ge,D as Ct}from"./CollapsableReportTable-NSlKGCNZ-9GlkRzVX.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-B20NECa8-DENXzcIZ.js";import{d as Pt}from"./NoDataTable-CPEKYH-4-ChRW7vff.js";import{d as me,l as he}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CTmIxkdn-rpNZ4fKa.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-R394S2in-pIplKgrn.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./NavigationDots-CFjUchuX-BbVX67wD.js";import"./chartTypes-CPj7oOMJ-Cv2ANOse.js";import"./toCOABalancesWithID-Dsa-tGTi-Bmzakp6x.js";import"./toChartData-Cp_80Bi6-Dfd3dSx4.js";import"./AccountRow-ZcS_RTJN-DNHX6IR1.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{K as B,u as q,F as _,z as Oe,l as D,j as s,aW as Qe,i as Je,H as Ke,aY as Xe,o as d,x as L,I as X,aZ as et,a_ as tt,$ as ae,n as C,aj as st,a8 as ot,a$ as at,a3 as Be,r as Pe,h as T,p as Ne,a7 as nt,ap as it,q as rt,b0 as ct,b1 as lt,b2 as dt,b3 as ie,b4 as pt,aD as ut,O as gt,b5 as mt}from"./index-D9zAXs3-.js";import{b as y,w as ee,n as u,k as Le}from"./vendor-Bs1fkIUX.js";import{m as U,l as oe}from"./analyticsHelper-B3JHS_Qr-D08xKZsr.js";import{h as ht,u as ft}from"./ReportTableViewSelector-W7zYmKIW-BpJdvlc6.js";import{B as bt}from"./InsightsSection-DxpsNIIy-D73VhmA2.js";import{k as _e,q as xt,G as _t,H as te,N as ue}from"./detailCommon-DAG_rX2o-B0QDOSIy.js";import{N as wt,G as St,H as we,Y as Se,P as ye}from"./RevenueChart-D3r_Mgmm-XyYx-Hfz.js";import{C as yt}from"./NoDataChart-BSoXaJD0-JxM1S3Cy.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-RLCCDvSp-DYQOEgth.js";import{b as Ie}from"./TimeframeSwitcher-DABwUJSm-DPkuAUy9.js";import{T as jt,I as V,x as $t,l as ge,D as Ct}from"./CollapsableReportTable-CDe76ha7-3Q7qsS_e.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-BujdmE12-MD1XTXUW.js";import{d as Pt}from"./NoDataTable-iH1r029I-DLkBIcoK.js";import{d as me,l as he}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CnZa-P_--DVtFUdDi.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-CtvSoL64-CS0Ie6NV.js";import"./mui-Ty75qFQF.js";import"./analytics-CBL_L82S.js";import"./routing-lj7oVq6C.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-C2xecagE.js";import"./crypto-DPjkCRYF.js";import"./filter-cZIFUNvj-B9dfJXS9.js";import"./NavigationDots-CGOsNTLj-ZRX96j5F.js";import"./chartTypes-CICM6xJ3-DAE7LSQz.js";import"./toCOABalancesWithID-B0F8-Lgv-mwB6oBaM.js";import"./toChartData-D_8GUwpP-CFofR1sw.js";import"./AccountRow-COaolUm5-Bsrm5YYV.js";import"./clock-CJkylEKt-CJ3FIZ_o.js";import"./Loader-Cqmoylhp-CKPikayq.js";import"./sectionColor-euXcOIkp-Cmmp8esL.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.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{e as B,u as q,M as _,Y as Oe,l as D,j as s,aW as Qe,m as Je,D as Xe,aY 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,h=l.balances.length>0?l:c,g=o.balances.length>0?o:h;g.balances.length>0&&(a==="ascending_date"&&(r=g.balances.length-1),n=g.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"revenue":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}}return n!=null&&(i={startDate:n.startDate,endDate:n.endDate}),i}function 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 h=[];if(t?(h.push("this_period_vs_last_period_percent"),h.push("this_period_vs_last_period")):!t&&l!=="cash_position"&&h.push("free_range_total"),i.reportId!=="cash_position"&&h.push("year_to_date_total"),c!=null)return{localeId:_.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[l],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:a.timeframe,additionalBalances:h,format:e.reportType,balancesFilter:{thisPeriod:c,numberOfPeriods:t?a.balancesRange.numberOfPeriods:n.numberOfPeriods,orderBy:n.orderBy},accountViewMode:p,classesToFilterOut:o,isZeniCOAUsed:e.isZeniCOAUsed}}function Mt(e){const t=zt(e);if(t!=null)return ht(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,h=l.balances.length>0?l:c,g=o.balances.length>0?o:h;g.balances.length>0&&(a==="ascending_date"&&(r=g.balances.length-1),n=g.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"revenue":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}}return n!=null&&(i={startDate:n.startDate,endDate:n.endDate}),i}function 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 h=[];if(t?(h.push("this_period_vs_last_period_percent"),h.push("this_period_vs_last_period")):!t&&l!=="cash_position"&&h.push("free_range_total"),i.reportId!=="cash_position"&&h.push("year_to_date_total"),c!=null)return{localeId:_.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[l],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:a.timeframe,additionalBalances:h,format:e.reportType,balancesFilter:{thisPeriod:c,numberOfPeriods:t?a.balancesRange.numberOfPeriods:n.numberOfPeriods,orderBy:n.orderBy},accountViewMode:p,classesToFilterOut:o,isZeniCOAUsed:e.isZeniCOAUsed}}function At(e){const t=zt(e);if(t!=null)return ht(e.statementEndPoint,e.authParams,t)}const Mt=u.div`
21
21
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
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(At,{children:s.jsx(te,{balance:p,dateText:o,showInfotip:!1})})}const Ft=u.div`
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(Mt,{children:s.jsx(te,{balance:p,dateText:o,showInfotip:!1})})}const Et=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(Ft,{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(Et,{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};
@@ -36,14 +36,14 @@ import{e as B,u as q,M as _,Y as Oe,l as D,j as s,aW as Qe,m as Je,D as Xe,aY as
36
36
  `,Qt=u.div`
37
37
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
38
38
  height: ${d.sp6};
39
- `;function Jt({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(Qt,{});const p=i.includes("this_period_vs_last_period")||i.includes("this_period_vs_last_period_percent"),o=r.reduce((m,f)=>m+f.balance.amount,0),l=r[r.length-1],c=r[0],h={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=ue(h,p);return s.jsx(qt,{children:s.jsx(te,{balance:h,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(Jt,{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(C[3],C[3],C[8]),chartHeight:new L(288,360)},Kt=u.div`
39
+ `;function Jt({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(Qt,{});const p=i.includes("this_period_vs_last_period")||i.includes("this_period_vs_last_period_percent"),o=r.reduce((m,f)=>m+f.balance.amount,0),l=r[r.length-1],c=r[0],h={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=ue(h,p);return s.jsx(qt,{children:s.jsx(te,{balance:h,dateText:g,showInfotip:!1})})}const Kt=({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(Jt,{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}},K={wrapperPadding:new L(C[3],C[3],C[8]),chartHeight:new L(288,360)},Xt=u.div`
40
40
  display: flex;
41
41
  flex: 1 1 auto;
42
42
  flex-direction: column;
43
- height: ${e=>X.chartHeight.valuePx(e.windowSize)};
43
+ height: ${e=>K.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:h}=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(Kt,{windowSize:t,children:s.jsx(st,{children:({height:m,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:h,width:f,height:m};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:h}=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(Xt,{windowSize:t,children:s.jsx(st,{children:({height:m,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:h,width:f,height:m};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{e as B,u as q,M as _,Y as Oe,l as D,j as s,aW as Qe,m as Je,D as Xe,aY 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
- `,Ee=u.div`
92
+ `,Fe=u.div`
93
93
  display: flex;
94
94
  justify-content: flex-end;
95
95
  width: 100%;
96
96
  padding: ${d.sp3} ${d.sp4};
97
- `,Fe=u.div`
97
+ `,Ee=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{e as B,u as q,M as _,Y as Oe,l as D,j as s,aW as Qe,m as Je,D as Xe,aY 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{e as B,u as q,M as _,Y as Oe,l as D,j as s,aW as Qe,m as Je,D as Xe,aY 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{e as B,u as q,M as _,Y as Oe,l as D,j as s,aW as Qe,m as Je,D as Xe,aY 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(Ee,{children:s.jsx(Fe,{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(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,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(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}),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(Fe,{children:s.jsx(Ee,{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(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,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(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}),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}}),js=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(js,{...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``,$s=u.div`
201
201
  min-width: ${e=>Z.forecastNameInnerWidth.valuePx(e.windowSize)};
202
202
  &:hover {
203
203
  .info-tooltip {
@@ -261,16 +261,16 @@ import{e as B,u as q,M as _,Y as Oe,l as D,j as s,aW as Qe,m as Je,D as Xe,aY 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((m,f)=>({label:m.name,value:f,forecastId:m.id,timeframeLabel:o(m.forecastPeriod),isValid:n(m)})),[c,h]=y.useState(l(t));return ee.useEffect(()=>{h(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(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,h=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((m,f)=>({label:m.name,value:f,forecastId:m.id,timeframeLabel:o(m.forecastPeriod),isValid:n(m)})),[c,h]=y.useState(l(t));return ee.useEffect(()=>{h(l(t))},[t]),s.jsxs($s,{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(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,h=i.colors.grey3;y.useEffect(()=>{o(e)},[e]);const g=u(ct)`
267
267
  height: ${d.sp3};
268
268
  width: ${d.sp3};
269
269
  `,m=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(m,{})]})}),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?h:W===!0&&$!==!0?i.colors.background:l,cursor:$===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:$===!1?k===!0?h:i.colors.background:l,color:i.colors.primary},borderBottom:"1px solid "+i.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(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`
273
+ `,f=({children:b,...j})=>s.jsx(ie.SingleValue,{...j,children:s.jsxs(Rs,{children:[s.jsx(Is,{windowSize:r,children:b}),s.jsx(m,{})]})}),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,j)=>({...b,border:0,backgroundColor:c,color:j.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,j)=>({...b,color:j.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:j,isSelected:k,isFocused:W})=>({...b,color:k?i.colors.champion:i.colors.hero,backgroundColor:k===!0?h:W===!0&&j!==!0?i.colors.background:l,cursor:j===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:j===!1?k===!0?h: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 j=b;o(j),n(j.forecastId,j.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:b=>b.isValid===!1,theme:b=>({...b,colors:{...b.colors,primary:l}}),isDisabled:a})},je={timeframePaddingLeft:new L(0,0,245),timeframePaddingBottom:new L(8,8,0)},Es=u.div`
274
274
  display: flex;
275
275
  width: 100%;
276
276
  flex-direction: column;
@@ -283,8 +283,8 @@ import{e as B,u as q,M as _,Y as Oe,l as D,j as s,aW as Qe,m as Je,D as Xe,aY as
283
283
  flex-direction: row;
284
284
  flex: 1 1 auto;
285
285
  justify-content: center;
286
- padding-left: ${e=>$e.timeframePaddingLeft.valuePx(e.windowSize)};
287
- padding-bottom: ${e=>$e.timeframePaddingBottom.valuePx(e.windowSize)};
286
+ padding-left: ${e=>je.timeframePaddingLeft.valuePx(e.windowSize)};
287
+ padding-bottom: ${e=>je.timeframePaddingBottom.valuePx(e.windowSize)};
288
288
  `,Ws=u.div`
289
289
  display: flex;
290
290
  width: 100%;
@@ -306,10 +306,10 @@ import{e as B,u as q,M as _,Y as Oe,l as D,j as s,aW as Qe,m as Je,D as Xe,aY 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(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`
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(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`
310
310
  display: flex;
311
311
  padding: ${d.sp2} ${d.sp0} ${d.sp4} ${d.sp0};
312
- `,Qs=u.div``,Js=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:h,timeframe:g}=a,m=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=a.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let S,b;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:S=void 0}const $=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,j,G)=>{j===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,G)};return s.jsx(Js,{children:s.jsxs(Qs,{children:[s.jsx(qs,{children:s.jsx(Zs,{timeframe:{allowedTimeframes:m,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:()=>{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,h),highlightedOfSelectedTicks:_e(c,h)},onClick:(v,j)=>{je(t.firstMonthOfFY,x,t.reportId,g,j,e.analytics),i(j)},onSelectionChanged:(v,j)=>{const G=xt(c,v.fromEnd),Q=_t(c,j);je(t.firstMonthOfFY,x,t.reportId,g,Q.thisPeriod,e.analytics),p(G,Q)}})]})})},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 Ks({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((h,g)=>be({account:h,sectionType:t,numOfBalances:a,title:h.accountDescription,config:r,isLastNode:g===c.length-1,parentNodeIDs:[...p,o]})),l}function Ce({section:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r}){const p=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),h=ge(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=h.compactedAccountsSelectorVariant(e.accountsOrdered),m=h.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(m.length>0||e.accountsOrdered.length>0)){const f=m.map((w,S)=>Ks({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:S===m.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),h=ge("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,m)=>be({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:m===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:a?[o]:[],contentNodes:[o,l,...h]}}function 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=me({title:r.loading,balances:[],config:t});a&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=he[m];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,h=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],g=A({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(D.isNetBurnOrIncomeClassesViewSectionID(m)===!0){const f=e.sections[m];f!=null&&o.push(Re({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(D.isNetBurnOrIncomeClassesViewCalculatedSectionID(m)===!0){const f=e.calculatedSections[m];f!=null&&o.push(se({calculatedSection:f,numOfBalances:c,title:m==="netBurnOrIncome"?e.reportTitle:i.sections[m],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=me({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,a&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=he[m];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,h=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=A({balances:h,config:t}),m=e.sections.expenses,f=xe({title:_.getLocalizedStrings().chartCard.total,balances:m,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),h=jt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const m=h.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(m.length!=0){const f=m.map((x,w)=>Ot({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===m.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=h.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,S)=>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=me({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,a&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=he[m];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,h=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],g=A({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(D.isRevenueClassesViewSectionID(m)===!0){const f=e.sections[m];f!=null&&o.push(Re({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(D.isRevenueClassesViewCalculatedSectionID(m)===!0){const f=e.calculatedSections[m];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
+ `,Qs=u.div``,Js=u.div``,Ks=e=>{const{selectedRangeReport:t,uiState:a,analytics:n,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=Oe(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:h,timeframe:g}=a,m=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=a.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let S,b;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:S=void 0}const j=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=j||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,$,G)=>{$===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,G)};return s.jsx(Js,{children:s.jsxs(Qs,{children:[s.jsx(qs,{children:s.jsx(Zs,{timeframe:{allowedTimeframes:m,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 $=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"],$)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:W,onForecastSelectionChanged:(v,$)=>H("forecast_mode",!1,{id:v,index:$}),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,j?null:s.jsx(vt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:_e(c,h),highlightedOfSelectedTicks:_e(c,h)},onClick:(v,$)=>{$e(t.firstMonthOfFY,x,t.reportId,g,$,e.analytics),i($)},onSelectionChanged:(v,$)=>{const G=xt(c,v.fromEnd),Q=_t(c,$);$e(t.firstMonthOfFY,x,t.reportId,g,Q.thisPeriod,e.analytics),p(G,Q)}})]})})},$e=(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 Xs({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((h,g)=>be({account:h,sectionType:t,numOfBalances:a,title:h.accountDescription,config:r,isLastNode:g===c.length-1,parentNodeIDs:[...p,o]})),l}function Ce({section:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r}){const p=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),h=ge(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=h.compactedAccountsSelectorVariant(e.accountsOrdered),m=h.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(m.length>0||e.accountsOrdered.length>0)){const f=m.map((w,S)=>Xs({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:S===m.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=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=M({balances:r,config:t}),l=xe({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=V("section",[],n.sections.netCashFlow),h=ge("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,m)=>be({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:m===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:a?[o]:[],contentNodes:[o,l,...h]}}function 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=me({title:r.loading,balances:[],config:t});a&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=he[m];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,h=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],g=M({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(D.isNetBurnOrIncomeClassesViewSectionID(m)===!0){const f=e.sections[m];f!=null&&o.push(Re({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(D.isNetBurnOrIncomeClassesViewCalculatedSectionID(m)===!0){const f=e.calculatedSections[m];f!=null&&o.push(se({calculatedSection:f,numOfBalances:c,title:m==="netBurnOrIncome"?e.reportTitle:i.sections[m],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=me({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,a&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=he[m];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,h=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=M({balances:h,config:t}),m=e.sections.expenses,f=xe({title:_.getLocalizedStrings().chartCard.total,balances:m,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),h=$t("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const m=h.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(m.length!=0){const f=m.map((x,w)=>Ot({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===m.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=h.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,S)=>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=me({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,a&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=he[m];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,h=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],g=M({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(D.isRevenueClassesViewSectionID(m)===!0){const f=e.sections[m];f!=null&&o.push(Re({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(D.isRevenueClassesViewCalculatedSectionID(m)===!0){const f=e.calculatedSections[m];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(C[0],C[0],C[0]),contentPaddingRight:new L(C[3],C[3],C[8])},uo=u.div`
313
313
  width: 100%;
314
314
  height: calc(100vh - 70px);
315
315
  `,go=u.div`
@@ -317,13 +317,13 @@ import{e as B,u as q,M as _,Y as Oe,l as D,j as s,aW as Qe,m as Je,D as Xe,aY as
317
317
  position: sticky;
318
318
  justify-content: center;
319
319
  padding-top: ${d.sp6};
320
- padding-left: ${e=>X.wrapperPadding.valuePx(e.windowSize)};
320
+ padding-left: ${e=>K.wrapperPadding.valuePx(e.windowSize)};
321
321
  background-color: ${e=>e.theme.colors.grey4};
322
322
  `,mo=u.div`
323
323
  position: absolute;
324
324
  padding-top: ${d.sp3};
325
325
  background-color: ${e=>e.theme.colors.grey4};
326
- `,ho=e=>{const t=B(),a=q(),{selectedRangeReport:n,selectedClassesViewRangeReport:i,uiState:r,scrollPosition:p,isZeniUser:o,onTableScroll:l,onElementCollapseStateChanged:c,onAccountBalanceClick:h,onUpdateAccountViewMode:g,onUpdateClassesToFilterOut:m,onOpenAccountViewMode:f}=e,{highlightedCOABalancesRange:x,mode:w}=r,S=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,$=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),j=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,G=w==="forecast_mode"?"actual_vs_forecast":$===!0?"this_period_vs_period_before":"none",Q=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ne=(O,N)=>{O!==i?.uiState.accountViewMode&&g?.(O),N&&m?.(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||!K(Y,j)||e.isPageFetchInProgress===!0){const N=fo(j,O,I,e.isPageFetchInProgress);F(j),E(N)}else{const N=lo(P,O,j,I);E(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:h==null?void 0:(O,N)=>{h(O,N)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:W,onScroll:l,onNodeCollapseToggled:c}),Q===!0&&i!==void 0?s.jsx(mo,{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",J={chartWidth:"100%",barCount:8,barWidth:new L(C[6],C[8],C[10]),maxBarHeight:1},xo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=J.chartWidth,barCount:n=J.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-C[5],h=[...Array(n)].map((g,m)=>({height:(i?.[m]||J.maxBarHeight)*l,width:J.barWidth}));return s.jsx(_o,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(wo,{children:h.map((g,m)=>s.jsx(So,{children:s.jsx(et,{speed:2,width:J.barWidth.value(o),height:c,viewBox:`0 0 100 ${c}`,preserveAspectRatio:"none",animate:!0,backgroundColor:p.colors.grey3,foregroundColor:p.colors.grey4,children:s.jsx("rect",{x:"0",y:c-g.height-20,width:"100%",height:g.height,rx:"4",ry:"4"})})},`bar-loader-${m}-${g.height}`))})})},_o=u.div`
326
+ `,ho=e=>{const t=B(),a=q(),{selectedRangeReport:n,selectedClassesViewRangeReport:i,uiState:r,scrollPosition:p,isZeniUser:o,onTableScroll:l,onElementCollapseStateChanged:c,onAccountBalanceClick:h,onUpdateAccountViewMode:g,onUpdateClassesToFilterOut:m,onOpenAccountViewMode:f}=e,{highlightedCOABalancesRange:x,mode:w}=r,S=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,j=r.mode==="compare_mode"&&!b,k=j||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(j,[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),$=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,G=w==="forecast_mode"?"actual_vs_forecast":j===!0?"this_period_vs_period_before":"none",Q=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ne=(O,N)=>{O!==i?.uiState.accountViewMode&&g?.(O),N&&m?.(N)};return y.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${$.reportId}+${r.selectedForecast?.id}`:$.reportId,mode:G,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:$.bookCloseDate,firstMonthOfFY:$.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:at(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:$.dataAvailable};if(P==null||!X(Y,$)||e.isPageFetchInProgress===!0){const N=fo($,O,I,e.isPageFetchInProgress);E($),F(N)}else{const N=lo(P,O,$,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(jt,{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:h==null?void 0:(O,N)=>{h(O,N)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:W,onScroll:l,onNodeCollapseToggled:c}),Q===!0&&i!==void 0?s.jsx(mo,{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",J={chartWidth:"100%",barCount:8,barWidth:new L(C[6],C[8],C[10]),maxBarHeight:1},xo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=J.chartWidth,barCount:n=J.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=q(),o=B(),l=t??K.chartHeight.value(o),c=l-C[5],h=[...Array(n)].map((g,m)=>({height:(i?.[m]||J.maxBarHeight)*l,width:J.barWidth}));return s.jsx(_o,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(wo,{children:h.map((g,m)=>s.jsx(So,{children:s.jsx(et,{speed:2,width:J.barWidth.value(o),height:c,viewBox:`0 0 100 ${c}`,preserveAspectRatio:"none",animate:!0,backgroundColor:p.colors.grey3,foregroundColor:p.colors.grey4,children:s.jsx("rect",{x:"0",y:c-g.height-20,width:"100%",height:g.height,rx:"4",ry:"4"})})},`bar-loader-${m}-${g.height}`))})})},_o=u.div`
327
327
  width: 100%;
328
328
  height: 100%;
329
329
  border-radius: ${d.sp2};
@@ -354,17 +354,17 @@ import{e as B,u as q,M as _,Y as Oe,l as D,j as s,aW as Qe,m as Je,D as Xe,aY 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=>X.wrapperPadding.valuePx(e.windowSize)};
358
- padding-right: ${e=>X.wrapperPadding.valuePx(e.windowSize)};
359
- `,$o=u.div`
357
+ padding-left: ${e=>K.wrapperPadding.valuePx(e.windowSize)};
358
+ padding-right: ${e=>K.wrapperPadding.valuePx(e.windowSize)};
359
+ `,jo=u.div`
360
360
  display: flex;
361
361
  justify-content: center;
362
362
  padding: ${d.sp6} ${d.sp0};
363
- `,jo=u.div`
363
+ `,$o=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:h,analytics:g,onBackClick:m,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 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:[],...h,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())},[h,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 j=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:Q,scrollPosition:ne,...O}=e,N=s.jsx(Ke,{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(Qe,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:m,rightSideComponent:N,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:j}},source:"DashboardReportPage"}),H?s.jsx(jo,{children:s.jsx(Je,{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(Xt,K),ko=ee.memo(ts,K),Oo=ee.memo(ho,K),Bo=ee.memo(Xs,K);export{na as default};
370
+ `,la=e=>{const t=B(),a=q(),[n,i]=y.useState(!1),r=_.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:o,selectedClassesViewRangeReport:l,uiState:c,downloadParams:h,analytics:g,onBackClick:m,updateDownloadStateHandler:f,onAdditionalBalanceSelectionChanged:x}=e,{insights:w}=o,{selectedCOABalancesRange:S,timeframe:b,selectedAdditionalBalances:j,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 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:[],...h,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())},[h,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,j,z)},[t]);const $=z=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Ke.Event.search,R(o.reportId),z.type,z.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(z)},{autoCompleteData:G,autoCompleteActions:Q,scrollPosition:ne,...O}=e,N=s.jsx(Xe,{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(Qe,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:m,rightSideComponent:N,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:$}},source:"DashboardReportPage"}),H?s.jsx($o,{children:s.jsx(Je,{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(jo,{children:s.jsx(bt,{insights:w})})]}),s.jsx(Oo,{scrollPosition:ne,isPageFetchInProgress:v,...O})]})]})},Co=ee.memo(Kt,X),ko=ee.memo(ts,X),Oo=ee.memo(ho,X),Bo=ee.memo(Ks,X);export{la as default};
@@ -0,0 +1,12 @@
1
+ import{ac as p,j as o,ak as c,o as d}from"./index-D9zAXs3-.js";import{b as n,u,n as h}from"./vendor-Bs1fkIUX.js";const y=n.memo(function({animationEnabled:t=!1}){const s=u(),[i,a]=p("DashboardChristmasSnow"),[e,l]=n.useState(null);i!=null&&e==null&&!a&&l(i);const r=s.mode==="light"?.7:.2;return t&&e!=null?o.jsx(m,{contextWiseOpacity:r,children:o.jsx(c,{style:{width:"100%",height:"inherit",display:"block"},animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),m=h.div`
2
+ display: flex;
3
+ flex: 1 1 auto;
4
+ flex-direction: column;
5
+ width: 100%;
6
+ position: absolute;
7
+ top: ${d.sp0};
8
+ z-index: 0;
9
+ height: 60vh;
10
+ opacity: ${t=>t.contextWiseOpacity};
11
+ pointer-events: none;
12
+ `;export{y as S};
@@ -1,4 +1,4 @@
1
- import{a0 as $,gY as u,e as y,j as l,o as i,n as d,B as c}from"./index-CyJdCOlu.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{g as k}from"./BoxItem-BL-UVx2X-CDUWJCC4.js";import{o as v}from"./commonDimensions-CKs-7p-V-CmlPem1Z.js";function q({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:f}=e,g=r.length>0?r:m,a=$("0,0.00",x),n=u(f),o=y(),h=l.jsxs(N,{children:[l.jsx(T,{src:p?.toString(),loading:"lazy"}),l.jsx(B,{children:l.jsxs(D,{windowSize:o,children:[l.jsx(C,{children:g}),n!=null?l.jsxs(E,{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(A,{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 $,hM as u,K as y,j as l,o as i,k as d,O as c}from"./index-D9zAXs3-.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{g as k}from"./BoxItem-DJq3mny1-nPTLB__B.js";import{o as v}from"./commonDimensions-EDu7gcyc-DiuxcTjp.js";function K({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:f}=e,g=r.length>0?r:m,a=$("0,0.00",x),n=u(f),o=y(),h=l.jsxs(N,{children:[l.jsx(C,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(E,{windowSize:o,children:[l.jsx(D,{children:g}),n!=null?l.jsxs(M,{windowSize:o,children:[l.jsx(P,{windowSize:o}),l.jsx(O,{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(R,{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"};
@@ -20,16 +20,16 @@ import{a0 as $,gY as u,e as y,j as l,o as i,n as d,B as c}from"./index-CyJdCOlu.
20
20
  flex-direction: row;
21
21
  width: 100%;
22
22
  justify-content: space-between;
23
- `,B=t.div`
23
+ `,T=t.div`
24
24
  display: flex;
25
25
  justify-content: space-between;
26
26
  align-items: center;
27
27
  flex: 1;
28
- `,T=t.img`
28
+ `,C=t.img`
29
29
  display: flex;
30
30
  width: ${i.sp4};
31
31
  height: ${i.sp4};
32
- `,C=t(d)`
32
+ `,D=t(d)`
33
33
  display: -webkit-box;
34
34
  -webkit-box-orient: vertical;
35
35
  -webkit-line-clamp: 1;
@@ -38,7 +38,7 @@ import{a0 as $,gY as u,e as y,j as l,o as i,n as d,B as c}from"./index-CyJdCOlu.
38
38
  word-break: break-word;
39
39
  text-align: left;
40
40
  overflow: hidden;
41
- `,D=t.div`
41
+ `,E=t.div`
42
42
  display: flex;
43
43
  align-items: center;
44
44
  text-align: left;
@@ -49,16 +49,16 @@ import{a0 as $,gY as u,e as y,j as l,o as i,n as d,B as c}from"./index-CyJdCOlu.
49
49
  word-break: break-word;
50
50
  text-overflow: ellipsis;
51
51
  overflow: hidden;
52
- `,E=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
- `,P=t(c)`
56
+ `,O=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
- `,R=t.div`
61
+ `,P=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{a0 as $,gY as u,e as y,j as l,o as i,n as d,B as c}from"./index-CyJdCOlu.
66
66
  background-color: ${e=>e.theme.colors.grey1};
67
67
  margin-left: ${i.sp2};
68
68
  margin-right: ${i.sp2};
69
- `,A=t(d)`
69
+ `,R=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{q as H};
76
+ `;export{K as F};
@@ -0,0 +1,66 @@
1
+ import{u as S,K as z,hR as F,j as e,aW as D,F as Y,aj as C,o as r,h as b,bT as B,l as L,x as R,$ as T,k as A,n as g,d0 as I,d1 as E,cX as N,d2 as P}from"./index-D9zAXs3-.js";import{b as f,n as a}from"./vendor-Bs1fkIUX.js";import{$ as V}from"./BoxItem-DJq3mny1-nPTLB__B.js";import{o as K}from"./commonDimensions-EDu7gcyc-DiuxcTjp.js";import{F as O}from"./DepositAccTransactionItem-DeOMizAI-BUL1onQj.js";import"./mui-Ty75qFQF.js";import"./analytics-CBL_L82S.js";import"./routing-lj7oVq6C.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-C2xecagE.js";import"./crypto-DPjkCRYF.js";const n=Y.getLocalizedStrings(),X={listItemMargin:new R(g[3],g[8])};function q(t){const d=I(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),h=E(d,o=>o.length>0);return N(h,o=>({date:o[0].transactionDate,transactions:P(o,m=>m.transactionDate,"desc")}))}const G=F(q),ht=({transactionListView:t,onBackClick:d})=>{const h=S(),o=z(),m=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*K.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(O,{data:M,boxType:V(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(H,{children:e.jsx($,{windowSize:o,children:e.jsx(Q,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(J,{children:[e.jsx(D,{title:`${j} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(C,{children:({height:i,width:c})=>e.jsx(Z,{ref:m,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} ${X.listItemMargin.valuePx(t.windowSize)}`};
3
+ `,H=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
+ `,J=a.div`
11
+ display: flex;
12
+ height: 100%;
13
+ flex-direction: column;
14
+ width: 100%;
15
+ padding-bottom: ${r.sp7};
16
+ `,Q=a(A)`
17
+ display: flex;
18
+ color: ${t=>t.theme.colors.grey2};
19
+ `,U=a(T)`
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(B)`
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 ${b.scrollbarBoxShadow};
47
+ -webkit-box-shadow: inset 0 0 2px ${b.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{ht as default};
@@ -1,4 +1,4 @@
1
- import{e as q,a as H,M as $,c7 as O,E as G,l as T,j as n,bS as Q,bU as _,bV as J,F as K,a4 as X,C as u,eT as Y,o as Z,ao as ee,q as a}from"./index-CyJdCOlu.js";import{b as N,n as h}from"./vendor-CnQcJ2Lu.js";import{e as ne}from"./BankAccountSection-DVO3xzgl-BbF3_Xvy.js";import{M as te}from"./MagicLinkTitleSection-Di20DmsJ-Dweea4Ge.js";import{W as ae,A as oe}from"./BankAccountWarningSection-CQsqUFKg-CEwje_vW.js";import{T as ie}from"./MailingDetailsSection-D7d7fV5j-Cs19YBt0.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])},j="domesticWireDetailsPage",f="bankAccountSection",w="mailingAddressSection",B=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:P,onSaveHandler:R,onWireDetailsUpdated:z,onFetchBankName:E,onAddressClick:L,onBackClick:C}=e,l=q(),c=H({mode:"onBlur",reValidateMode:"onChange",defaultValues:N.useMemo(()=>se(s,r),[s,r])}),[M,p]=N.useState(!1),t=$.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=$.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&&O(()=>U(d,m))});return()=>{k.unsubscribe()}});const V=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&R("wire")}),S=!G(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:[M===!0?n.jsx(Q,{titleComponent:n.jsx(J,{children:t.discardTitle}),descriptionComponent:n.jsx(_,{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:P??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:B(j),onSubmit:V,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(X,{formId:B(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:W.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`
1
+ import{K as U,a as q,F as B,c2 as H,I as J,l as j,j as n,bP as K,bR as _,bS as G,c as Q,a4 as X,x as u,f8 as Y,o as Z,ao as ee,n as a}from"./index-D9zAXs3-.js";import{b as N,n as h}from"./vendor-Bs1fkIUX.js";import{e as ne}from"./BankAccountSection-DdvqFTBS-3WhABy0l.js";import{M as te}from"./MagicLinkTitleSection-BlxCsth7-BHITpmKu.js";import{W as ae,A as oe}from"./BankAccountWarningSection-VrRQxdkB-DFivrjf8.js";import{T as ie}from"./MailingDetailsSection-DFxnpK8F-CiXDBg4h.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])},T="domesticWireDetailsPage",f="bankAccountSection",w="mailingAddressSection",$=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:P,onSaveHandler:R,onWireDetailsUpdated:z,onFetchBankName:L,onAddressClick:E,onBackClick:C}=e,l=U(),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,F=B.getLocalizedStrings().common.footer,I=t.wireDetails.domestic,M={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},V=async(k,m)=>{const d=m[f].bankRoutingNumber;z(m),k===`${f}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&L?.(d)};N.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&H(()=>V(d,m))});return()=>{k.unsubscribe()}});const O=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&R("wire")}),S=!J(y!=null?j.getFormattedAddress(y):y,r!=null?j.getFormattedAddress(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[W===!0?n.jsx(K,{titleComponent:n.jsx(G,{children:t.discardTitle}),descriptionComponent:n.jsx(_,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:M}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:v??"",currencySymbol:D??"",amount:P??0}):I.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(Q,{...c,children:n.jsxs("form",{id:$(T),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:E})]})})]}),n.jsx(X,{formId:$(T),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:F.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
2
  padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
3
  padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
4
  padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};