@zeniai/web-cockpit-ui 1.15.37-dev → 1.15.38-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (332) hide show
  1. package/dist/assets/ACHDetailsPage-D2Xav-UW-gmz3eqze.js +21 -0
  2. package/dist/assets/{AIPerformancePage-ByRPO3mW-V2z53xbR.js → AIPerformancePage-DlTdGosv-DyKbURC2.js} +104 -104
  3. package/dist/assets/AccountInfoPage-B8-8kUGD-pQMRLxBS.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BAzd-LkX-zhLe5kT9.js → AccountInfoPageContent-BS2TBUSE-DjSw5axw.js} +15 -15
  5. package/dist/assets/AccountLockedInfoModal-aukulrV7-DW4aghq-.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Cu_UrL9J-DtVM4SNp.js → AccountReconDetailsDrawerPage-kQJld6_N-B65yMW07.js} +18 -18
  7. package/dist/assets/AccountRow-BiEYR4Y1-ClTxn5CJ.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-Z8O9Tv5P-Ml8cuMMq.js → AccountsPromoCardStack-DBQnDPXQ-Bven8hQt.js} +32 -32
  9. package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-BtB56seB.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CKOnAq6_-DV5MHNnO.js → AddToWalletPage-C4EwdLZJ-BEbcOqOR.js} +22 -22
  11. package/dist/assets/{AgingReportsPage-CUcu_cHV-BfWkV3LB.js → AgingReportsPage-vAvkUfOS-BtReYcdm.js} +5 -5
  12. package/dist/assets/{AllUserItems-BbhDuv3Y-Sz0e_jiW.js → AllUserItems-qrYg6Gdx-BwUq_luf.js} +10 -10
  13. package/dist/assets/ApAgingDetailPage-BRYQMwo2-DVhdxG-Q.js +46 -0
  14. package/dist/assets/{AppBasePage-Cc3o50Ar-BHOC3Xzc.js → AppBasePage-DrE-W6d7-Kq-aTwFf.js} +12 -12
  15. package/dist/assets/{AppDrawerContent-moxx3tLo-Dz47vdEl.js → AppDrawerContent-ATbZG_cu-CRi0IC7G.js} +5 -5
  16. package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-BzSO-EGU.js +47 -0
  17. package/dist/assets/{ArAgingChart-DuwEWasX-BuV7tx_p.js → ArAgingChart-CuzG9AZY-CNSUQdmd.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-DGETibBB-CjzKi7D5.js → ArAgingDetailPage-DwRkcLEu-I81vxQpd.js} +6 -6
  19. package/dist/assets/{AttachmentView-Q7kiwPOS-CHDjMQDr.js → AttachmentView-BrQRChzc-mWFumGJq.js} +5 -5
  20. package/dist/assets/{BankAccountSection-Ct31GOKt-CVtHTMeV.js → BankAccountSection-hcKEMs80-ujPW3TnU.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-ko9DqAKK-CrxKdVDa.js → BankAccountWarningSection-CpxVDMSZ-BNQxexaw.js} +10 -10
  22. package/dist/assets/{BankConnectionsSettingsPage-Ds9FSEMV-DEp297UG.js → BankConnectionsSettingsPage-Bdw1K00m-Cl2UYywT.js} +14 -14
  23. package/dist/assets/{BillDetailPage-DKDNgnqK-BxQnQp30.js → BillDetailPage-D0NLFZXA-DHU3hbq9.js} +13 -13
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DUprxSDP-LgEeAw_T.js → BillPayApprovalRuleDetailPage-DkpCvYvo-ufuiC-2k.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DuRefUEE-DMdnYitl.js → BillPayApprovalRulesPage-BEqZD0GU-CWNv7fB2.js} +12 -12
  26. package/dist/assets/BillPayPromoPage-BMcP4EU5-BBffVCRN.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-UfS3JsLW-DLX3_Qs9.js → BillPaySetUpPage-WdEdbf16-DIfXsyw3.js} +2 -2
  28. package/dist/assets/BillingSettingsPage-GtRUqSZm-CK-50NW2.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DKGmWv9w-B_26Dnen.js → BillsBulkReviewDrawerPage-DAUoo9pq-BoZGtLPD.js} +1 -1
  30. package/dist/assets/{BoxItem-Qhw9iPt9-um8RiO3S.js → BoxItem-CACRFWG2-DTCzjEaX.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CVZrCy-t-CUWza1Ml.js → BusinessVerificationPage-9gZbBDL6-D4OeNnpg.js} +9 -9
  32. package/dist/assets/{CardNumberSubText-r5Tf-P5n-BTfLP1fo.js → CardNumberSubText-C-oVdziK-BTlLGD-l.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-Bo_ZMMG7-BHS7DfRM.js → CashbackDetailPage-BhFKSl4p-D1VJ-I5U.js} +20 -20
  34. package/dist/assets/{ChargeCardDetailPage-BlQdk9jC-A10jT6r0.js → ChargeCardDetailPage-D8J6HINu-Djp8X5xt.js} +39 -39
  35. package/dist/assets/{ChargeCardListPage-CsFYpoaM-DVSse2DT.js → ChargeCardListPage-tdUKyHdz-DA_gAum9.js} +30 -30
  36. package/dist/assets/{ChargeCardListTable-D8exMgXq-DvkQ54IM.js → ChargeCardListTable-CByk3iqX-Ws-6RJ3y.js} +39 -39
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-DBc981J5-C_1A5JDO.js → ChargeCardPaymentHistoryPage-B8zRcrjo-BZol_uHa.js} +39 -39
  38. package/dist/assets/ChargeCardPromoPage-C4cgx2gm-BjrgUKMy.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-Bco5-BZh-D5TeWpHv.js → ChargeCardSetupPage-DtwiTNKA-4J0P5zst.js} +4 -4
  40. package/dist/assets/{ChargeCardStatementsPage-uEDAQkC5-DiOWBHn2.js → ChargeCardStatementsPage-B0KPw52e-dCK6B2Ac.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-CNRKyz3v-Bkmn7rye.js → CheckDepositDrawerPage-DKNAXI77-C5AvAeBp.js} +15 -15
  42. package/dist/assets/{CollapsableReportTable-CoDaSHJN-BTz-2evo.js → CollapsableReportTable-Cq8bhaYC-LGo3rBU5.js} +272 -272
  43. package/dist/assets/{CompanyOfficerDetailsSection-DzleqDta-Be_JBAVv.js → CompanyOfficerDetailsSection-Rk0B5cB5-BHN1U_wu.js} +28 -28
  44. package/dist/assets/{CompanyPassportCard-CG5saSQ3-CP-F7zg-.js → CompanyPassportCard-CHaKk74P-Din-6OwH.js} +5 -5
  45. package/dist/assets/{CompanyPassportPage-ZCNGHjZ9-C54hhopH.js → CompanyPassportPage-DXWXFFKM-DEGq9YOd.js} +21 -21
  46. package/dist/assets/{CompleteProfile-BqPvCgUX-p24q1pVb.js → CompleteProfile-ChaWsK6t-Dm1N-E47.js} +1 -1
  47. package/dist/assets/ConfettiBurst-CdB5fRMt-BFN6S_bw.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-ChP9tLGZ.js → ConstrainedInnerElement-BeIpAPjB-bG4eDk9o.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CfFzrga_-Dh7VSqmF.js → CreateOrEditVendorPage-C_8Jqubo-BUW_NZ_u.js} +17 -17
  50. package/dist/assets/{CreditCardPaymentDrawerPage-Cjnbhvmv-BaSvidwl.js → CreditCardPaymentDrawerPage-lOjOtk28-j0qKs3eR.js} +11 -11
  51. package/dist/assets/CurrencySelectField-BDqU4HVy-_c0EjyDh.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-hnf-eIo--zPg7mnSU.js → CustomerOnboardingActivationPage-DO6NCakm-BohLreim.js} +29 -29
  53. package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-DYDehdNi.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DUBpQ8ln-Dayyky5R.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-BugxAqPd.js} +9 -9
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CA0h5UTQ-D70jA_5U.js → CustomerOnboardingNoStepsPage-CbG5WshV-N0QAWt53.js} +6 -6
  56. package/dist/assets/{CustomerOnboardingPage-rvO0Stsl-DR9ugrMH.js → CustomerOnboardingPage-DyVyf8oK-lwDo-U4P.js} +7 -7
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BIgNTp2U-QUMH346P.js → CustomerOnboardingProductSuitePage-1F3JfCRp-Bb5bbAyM.js} +10 -10
  58. package/dist/assets/{Dashboard-BFesVYJk-DIJsr9ee.js → Dashboard-Csggwob0-B_kkr9l_.js} +33 -33
  59. package/dist/assets/{DashboardReportPage-CdNJfWUo-CWT_hUZC.js → DashboardReportPage-DFIdi_I0-CIudpdoQ.js} +23 -23
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-CkHR7e1V.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-DJ_V8Mx7-BuWiOxQp.js → DepositAccTransactionItem-CZ7v1T4S-CDGkzdT3.js} +5 -5
  62. package/dist/assets/{DepositAccTransactionListPage-DBsJOm1m-Cdo9zknM.js → DepositAccTransactionListPage-FldPGX6K-D4yjo7wN.js} +5 -5
  63. package/dist/assets/{DomesticWireDetailsPage-B1_C38p0-CuSqBTG5.js → DomesticWireDetailsPage-C--eZ-UG-aeN-j2-T.js} +2 -2
  64. package/dist/assets/{DownloadOverlay-DYUlDQr8-CcBbvC4p.js → DownloadOverlay-4f9deyJS-BqMoJX-8.js} +26 -26
  65. package/dist/assets/{DrawerPage-jU38Lq6Q-g2fItPLT.js → DrawerPage-roO3xvRT-PSFK2zzW.js} +13 -13
  66. package/dist/assets/EditPeoplePage-pi5RclAj-x9yNFzVP.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-PRaUQsZj-BkCY6rdX.js → EditReimbursementDetailPage-CIUcImns-D0KrDI_a.js} +82 -82
  68. package/dist/assets/EntityDetailPage-OTKTVNMD-13C_FBL6.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BzzwWXw2-DmNh-Dpm.js → EntitySummarySection-fBL4TZpT-A_Fknt-h.js} +14 -14
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CMzFQB6V-BJseINtW.js → ExpenseAutomationOverviewPage-CnhNINCc-KgO80FB-.js} +47 -47
  71. package/dist/assets/ExpenseAutomationPage-BDLCJbFw-Do8AQ5Tr.js +1703 -0
  72. package/dist/assets/{ExpressPayPage-B8_m64s9-9dOOupGM.js → ExpressPayPage-c8oTCnBR-29U2DeVu.js} +17 -17
  73. package/dist/assets/{FeaturePreviewPage-BLWGNRVo-BJ3fn4Te.js → FeaturePreviewPage-DkiAajs2-a11xhmqD.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-CBVDfZ38-DEg-b5um.js → FollowStepsSection-GaWu1kt9-D7a6AHjG.js} +57 -57
  75. package/dist/assets/GlobalReviewListPage-DEzj0RVG-DjCNVwYb.js +291 -0
  76. package/dist/assets/{InformationCardStack-D8hkkUkN-BiZC_QHa.js → InformationCardStack-dMFbHUWM-1K2JUYs5.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-T3ZL19C0-BZI7t3ec.js → InsightsCardStack-BlXkyuyz-DZ79gvs7.js} +9 -9
  78. package/dist/assets/InsightsSection-D-oCmrir-CPKrgvm8.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-DKqNc7bF-G0FG4Jef.js → IntegrationsSettingsPage-D-hfghuq-CuSnTyw1.js} +6 -6
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-qzmJ8_r9-B66iPRnG.js → InternationalWireSwiftDetailsPage-DxdKE300-ChF2f0EA.js} +19 -19
  81. package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-NJeApJr8.js +65 -0
  82. package/dist/assets/{InviteFormPage-Dw-l-O7n-yNG431eF.js → InviteFormPage-BCdalqtP-Dy69iGu4.js} +16 -16
  83. package/dist/assets/{InvitePageListView-CGjk-eOP-DmnIRpgD.js → InvitePageListView-B88FW48q-BKGuzbRb.js} +48 -48
  84. package/dist/assets/InvitePeoplePage-Z-2L7lWc-0pdGCXQT.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-C8hytmay-DFE-YOJW.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-BASDviuN-Dl52KtxK.js → IssueChargeCardPage-B6wmvbEr-DO2TfaZv.js} +34 -34
  87. package/dist/assets/{LabeledAddressValue-IPGwjeYh-BmDI6MSM.js → LabeledAddressValue-CQrDCgNs-C6-5ig2u.js} +2 -2
  88. package/dist/assets/{LabeledAddressValueField-DYjUauc7-BRnlsecO.js → LabeledAddressValueField-BoHS44YO-2snjxiG6.js} +4 -4
  89. package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-idZ4OPKP.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-CekqwoGI-DN5ndG6t.js → LabeledCountryMultiSelectField-D1fVDYR_-DUR0-azH.js} +3 -3
  91. package/dist/assets/{LabeledCreatableSingleSelectField-By3V1BNi-Bq1EDd21.js → LabeledCreatableSingleSelectField-Bhka-Faj-lL2zJ3aA.js} +8 -8
  92. package/dist/assets/LabeledDocumentField-CnRk5aKZ-CMl01eck.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-CQkl7AeY-CvUsVVaa.js → LabeledDropDownFormattedTextField-ChgtJqPr-JYEhPcSE.js} +4 -4
  94. package/dist/assets/{LabeledText-D1RmgOs9-CHA_6kjw.js → LabeledText-2EDpuXZ4-BEv7vXSO.js} +5 -5
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Bw1TjzCA-D0I8R8U3.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-VFejN6_t.js} +15 -15
  96. package/dist/assets/{LabeledZeniRolesDropDownField-BiVOlFVe-DHYF2n7I.js → LabeledZeniRolesDropDownField-CpH0eDWO-BxhCmxLu.js} +26 -26
  97. package/dist/assets/LinkJETransactionPage-BhV2MnCY-X20SxNQt.js +98 -0
  98. package/dist/assets/{LockCardPage-BVpW2BeO-CYdsQ7YW.js → LockCardPage-CHv1xi2J-DwYrblSV.js} +42 -42
  99. package/dist/assets/{LowBalancePopup-DTUaytjD-qB659IJo.js → LowBalancePopup-Cb55PGLc-8xdVWK14.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-DHCMKKMo.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-DTcLhMoN.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-DPORyIsv.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-09NLbjFG-DDk2ZACW.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-BeTuROc4-DFHTf3Jg.js → MagicLinkTitleSection-BA-i6vzA-BnqIfeCZ.js} +4 -4
  105. package/dist/assets/{MailingDetailsSection-q49nDsf9-6vdFNevB.js → MailingDetailsSection-EwtoQ2TZ-uOWaBvAh.js} +6 -6
  106. package/dist/assets/{MyBankConnectionsSettingsPage-B9kH0sVB-aDPh-D-4.js → MyBankConnectionsSettingsPage-Aer6AWxY-C0T9wiMg.js} +12 -12
  107. package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-C1TCKtBk.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-DMz-6h9F-Cf_llb4W.js +85 -0
  109. package/dist/assets/NavBarWithPicker-D8WNahg--CB3fxQni.js +30 -0
  110. package/dist/assets/{NavigationArrow-BvkBQmTR-NQPFGr6S.js → NavigationArrow-kQWS5Pzb-DFRrRIxZ.js} +7 -7
  111. package/dist/assets/{NavigationDots-DyeJVxnu-C7s9J0lV.js → NavigationDots-BQb_Fodq-C9mSjIjx.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-D15HmpS7-Dpc6_q1o.js → NewGlobalMerchantPage-z86XZorn-CZCyVb5z.js} +34 -34
  113. package/dist/assets/NoDataChart-CyYJ6icu-C4lbaNyZ.js +26 -0
  114. package/dist/assets/{NoDataTable-BnwGiTCu-B-XpYLns.js → NoDataTable-DVe7sQhD-Ce3Fn9a-.js} +1 -1
  115. package/dist/assets/{NotFoundPage-Ds5RxwiG-bIj8_Xni.js → NotFoundPage-B1XCmhSe-BLt3Z8lV.js} +8 -8
  116. package/dist/assets/{NotificationSettingsPage-CeWmIGY8-BBeB8KaU.js → NotificationSettingsPage-BaN20EGV-DLtV9Q9B.js} +30 -30
  117. package/dist/assets/NotificationsListConfig-BOW_TmPC-DKP0fKrC.js +1 -0
  118. package/dist/assets/{NotificationsPage-DYE-ZefG-CAMNzvC5.js → NotificationsPage-C9efAgjo-ObRUiIF4.js} +40 -40
  119. package/dist/assets/OpExByVendorPage-DXeBU3-z-86liMDWJ.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-BUXmbpLw.js → OverlayContainerPage-D4QU0p4o-UEM2WfCE.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-vAvSbwIq-FxaNAztL.js → PandLWithForecastPage-CXtJhnA_-Cu7UVLJ1.js} +13 -13
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-2cz94sYW-B7-omVIb.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-0-NbLYs1.js} +14 -14
  123. package/dist/assets/PeoplePage-DXC2CtOt-DKKaYJrR.js +675 -0
  124. package/dist/assets/{Preview-BdB139Zx.js → Preview-AD2ECgEB.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-JcjsFk4w-aedK5xPL.js → ProductsCarousel-ufZlh7Rx-BjpRaVjF.js} +7 -7
  126. package/dist/assets/{PromoBaseCards-D8xPcjkz-CuETeCxs.js → PromoBaseCards-D2UbhBhT-Cp6L2J8-.js} +4 -4
  127. package/dist/assets/{QBOConnectionDialog-KDwylUf5-C4EhHf0D.js → QBOConnectionDialog-BrQ71F06-DkV9wT_l.js} +6 -6
  128. package/dist/assets/QBOSetupSection-EOFscEW--QOktkObJ.js +79 -0
  129. package/dist/assets/ReimbursementApprovalRuleDetailPage-C-HPI4Ng-DcQM8wGi.js +32 -0
  130. package/dist/assets/{ReimbursementApprovalRulesPage-BcmW2ws5-C_3dLbLj.js → ReimbursementApprovalRulesPage-CMpYn5y_-B8BlhUrJ.js} +11 -11
  131. package/dist/assets/ReimbursementDetailPage-CfmICHZb-B601rTQ4.js +314 -0
  132. package/dist/assets/ReimbursementPromoPage-DXTAY8c7-DzozUo-R.js +84 -0
  133. package/dist/assets/{ReimbursementSetUpPage-B6l3L19G-DXyjcVT3.js → ReimbursementSetUpPage-KrGPXTCb-HUiNlfwH.js} +13 -13
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BjiqrxQ2-Dtgz495A.js → ReimbursementsBulkReviewDrawerPage-l2mYNEKn-DakNrMoa.js} +1 -1
  135. package/dist/assets/{ReloadCard-pCquFw6w-BnM_2Fi3.js → ReloadCard-vAhL7B8U-B_goAZi9.js} +8 -8
  136. package/dist/assets/{ReportTableViewSelector-BOA9cxem-CwdIorRF.js → ReportTableViewSelector-Y97ney3W-oj1UWLmj.js} +28 -28
  137. package/dist/assets/{ReportsPage-BOsLdYhx-BxrDOkjq.js → ReportsPage-DKM0gVzR-DYU9qTPf.js} +4 -4
  138. package/dist/assets/{RevenueChart-DPse5Wdo-D2kesAkc.js → RevenueChart-BEjDS1u4-DVyCgAK9.js} +14 -14
  139. package/dist/assets/{ReviewDetailsPage-DTCm09MF-DQqh7n9q.js → ReviewDetailsPage-BlQLrN9z-9-UhGpZC.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-B2XV0Wf1-Bf28GIPa.js → ReviewOverlay-Bn3TFqfi-B5pVl7FJ.js} +25 -25
  141. package/dist/assets/RoleWithToolTip-DhBFvJea-D5V_Zl_5.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DLpikyWD-DWhx00_e.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-Dr379Z6t.js} +13 -13
  143. package/dist/assets/{ScheduleDetailsPage-DIvnRAi6-BNdcsPPK.js → ScheduleDetailsPage-BP0wdtoP-DQyiKHXe.js} +8 -8
  144. package/dist/assets/{ScheduleSequenceTable-O93ZenyD-C7msaAQw.js → ScheduleSequenceTable-D-rZ4ftr-fPoJgv62.js} +44 -44
  145. package/dist/assets/{ScreenRoutes-ceMdhqPA.js → ScreenRoutes-outCs0gE.js} +33 -33
  146. package/dist/assets/{SetUpAccountSection-Dl68db5l-CQstYRob.js → SetUpAccountSection-CoVrSSYL-CVLKd7cm.js} +5 -5
  147. package/dist/assets/SignIn-BoAejo7r-BK0KNquT.js +491 -0
  148. package/dist/assets/SignInScreen-CU3TTapZ.js +1 -0
  149. package/dist/assets/{SpendManagementListViewPage-DsTTqmEx-BIrI6gfu.js → SpendManagementListViewPage-D3eISFuA-DO4OqdVE.js} +21 -21
  150. package/dist/assets/{SpendManagementPerTabPage-Dt9HEmXn-QE9XhQeM.js → SpendManagementPerTabPage-BWDjZyLp-DoJN7cmk.js} +13 -13
  151. package/dist/assets/{SpendManagementSection-DbsdVrJv-DjQ_KcId.js → SpendManagementSection-D8rBpC-y-DyxgHeCH.js} +23 -23
  152. package/dist/assets/StatementItem-Cu6dlAsl-DonsY76E.js +31 -0
  153. package/dist/assets/StatementsPage-DiY2BOcu-DylRreEj.js +58 -0
  154. package/dist/assets/{StatusSwitcher-B4EYXc0F-sKbkMf6Z.js → StatusSwitcher-B9MARTyR-Cy7gefoh.js} +5 -5
  155. package/dist/assets/{SubTabSwitcher-CM9v4rRl-CV0RCxw7.js → SubTabSwitcher-C3rtSwro-3EHI5jeE.js} +3 -3
  156. package/dist/assets/{SummaryCard-CF9Nbk_i-Dp6twn4S.js → SummaryCard-CShVbqhj-DB5MFQk3.js} +1 -1
  157. package/dist/assets/TaskManagementPage-RVS8nv0n-tU9aogRh.js +508 -0
  158. package/dist/assets/{TimeRangeSwitcher-37ytEy0X-DICNYyQp.js → TimeRangeSwitcher-DFnX6_WT-Bz52dN9I.js} +2 -2
  159. package/dist/assets/TimeframeSwitcher-CW08yYgo-DVEU43aK.js +31 -0
  160. package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-CMIQ0MlZ.js +31 -0
  161. package/dist/assets/{TopExCard-DHDNaLww-D2oLfFZT.js → TopExCard-dI_WEGWb-DmX93RkK.js} +11 -11
  162. package/dist/assets/{TopExDetailPage-DFzrCiVG-D4NG8JTY.js → TopExDetailPage-BWy5E8Lp-C7PGN6Pe.js} +14 -14
  163. package/dist/assets/{TransactionActivityLogPage-DcbQgckT-nV4bmi0D.js → TransactionActivityLogPage-DjhEIUYm-BqAAyHkb.js} +23 -23
  164. package/dist/assets/TransactionDetailPage-CuxqQd8U-BRhGr870.js +903 -0
  165. package/dist/assets/{TransactionList-DVFUdewa-FBYrpiHH.js → TransactionList-80KjM8Kg-nmpf3GsN.js} +20 -20
  166. package/dist/assets/{TransactionListBig-Daypmugt-Bw41XJ1U.js → TransactionListBig-DWQXH4ID-gJO5FBwi.js} +20 -20
  167. package/dist/assets/TransactionListPage-DC08rCC9-DuuK7AK1.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-BsKafcmj-agHNsAP_.js → TransactionVendorDetailPage-CzfJ5b_3-DQ5FHW98.js} +16 -16
  169. package/dist/assets/{TransferDrawerPage-DyFcSYZt-BgZ4hMcv.js → TransferDrawerPage-6z-MoZZP-Cmyh1SPm.js} +35 -35
  170. package/dist/assets/{TreasuryOverviewPage-BPkFbqCZ-B2yzLJOT.js → TreasuryOverviewPage-CF_ter0o-BH_5I6Jt.js} +28 -28
  171. package/dist/assets/{TreasuryPromoPage-pEVzLiB4-BgXmxaHX.js → TreasuryPromoPage-Do-PTcjI-xAPlLXRG.js} +19 -19
  172. package/dist/assets/{TreasuryStatementsPage-izaxVrJg-hXLoMVEG.js → TreasuryStatementsPage-l_HC4zsb-K7pXAcjZ.js} +1 -1
  173. package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-QmzTN19X.js +58 -0
  174. package/dist/assets/{TrendChart--F9P_tcq-CNN4cy-H.js → TrendChart-C6B61CAm-B_B-BplL.js} +3 -3
  175. package/dist/assets/{TrendWithTransactions-B0R1TMMK-qnWq6pp9.js → TrendWithTransactions-Bp3vhaPa-JockHNv7.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-CToVvQYm-BY7gFiXt.js → UncategorizedAccountsMappingPage-cbFqKAv4-MTw76BLV.js} +10 -10
  177. package/dist/assets/{UnitIntegrationPage-DGmrRY2v-BUMmB0k9.js → UnitIntegrationPage-DZ0ZpE5p-CTZgGLL6.js} +11 -11
  178. package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-DmtqFwFy.js +38 -0
  179. package/dist/assets/Vendor2FAPopup-DezpDfp8-DyrWw3U0.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-C8TWKYfc-C5wvgZIc.js +1 -0
  181. package/dist/assets/{VendorDetailPage-DTQ-KiJz-CtIjOB5J.js → VendorDetailPage-C4g_Gfsl-BuQd-4-F.js} +90 -90
  182. package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-Bt4Tg6JP.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-z9q_fohc-WDGxh1y0.js → VendorFiling1099EditablePage-Ckt2MiVN-Cg5nnhxx.js} +32 -32
  184. package/dist/assets/VendorFirstReviewPage-CIKRaTax-DDgaRz12.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-DR-BKbDb-DXyAnL2W.js → VendorInternationalWireDetailsPage-Dz8mMD8d-CqGgy0Nm.js} +15 -15
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-Ca8TaPSl.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-CWyBBs2G-BxXjMLte.js → VendorsAccountsSection-BT-RADSV-CA631Ry_.js} +3 -3
  188. package/dist/assets/{VerifyDevice-CG1Qj4Lm-BechSO2t.js → VerifyDevice-Cxc9CVMi-Db3MgQyP.js} +4 -4
  189. package/dist/assets/{VideoPlayer-BdIPlzSd-s2lXjjny.js → VideoPlayer-9UkKMhGy-Cg6ItP2B.js} +2 -2
  190. package/dist/assets/{VideoPopup-W2U47mhU-DJCIE9gC.js → VideoPopup-rfiYmtio-6YXU8HYY.js} +4 -4
  191. package/dist/assets/{WarningsDrawerPage-D0aOjGDf-BCHT8jbw.js → WarningsDrawerPage-DrUA4asI-K-jCsmCl.js} +7 -7
  192. package/dist/assets/{ZeniAccountDetailPage-DJyYOR4V-CCoqxbqL.js → ZeniAccountDetailPage-K016HgQt-OnaSURAZ.js} +13 -13
  193. package/dist/assets/{ZeniAccountListViewPage-BTOIvLCF-BOpHXOTR.js → ZeniAccountListViewPage-1oZZynB1-D25y94LI.js} +21 -21
  194. package/dist/assets/ZeniAccountNavBarPieces-C6Oicpue-CbYM8UHA.js +14 -0
  195. package/dist/assets/{ZeniAccountPromoPage-DYxM2WNa-D-BoqGK5.js → ZeniAccountPromoPage-BCgys-YM-C1p6fJYe.js} +23 -23
  196. package/dist/assets/{ZeniAccountSetupPage-DUq-PiMf-JBX7mxH5.js → ZeniAccountSetupPage-BubBgkoa-DQgkTkoE.js} +3 -3
  197. package/dist/assets/{ZeniCopyright-Chrw_zb6-DLZXN0I-.js → ZeniCopyright-BxIwmms--B5a_nRJg.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-CuZPJv1--BR7xYIli.js → ZeniTransferAmountSlider-DVJ0puXA-Cwv6Kq-B.js} +11 -11
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-DIo2CZIu.js → add-to-wallet-DgdBD8_G-DvTxkUd9.js} +1 -1
  200. package/dist/assets/{analytics-Cu6vrn8M.js → analytics-BLsUySon.js} +1 -1
  201. package/dist/assets/analyticsHelper-B6usOI4v.js +1 -0
  202. package/dist/assets/{analyticsHelper-BqOb8jb5-CPV99l38.js → analyticsHelper-CT5zOInj-D74VaN9I.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-kBdbhD1P.js → arrow-south-east-round-PEovUgvH-B8oQ40Hs.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-DJEKOyyo.js → auto-transfer-rule-mbafm5D3-DHj1aaNg.js} +1 -1
  205. package/dist/assets/{chartTypes-kba3vib6-B2MR4DOq.js → chartTypes-Ddw_3-6f-DkCZUllf.js} +1 -1
  206. package/dist/assets/commonDimensions-ClmbdehE-DR4Uvnd8.js +1 -0
  207. package/dist/assets/{commonTypes-0d0JMX8y-C627GAKQ.js → commonTypes-B-foaEwJ-DVRX5AIJ.js} +1 -1
  208. package/dist/assets/{constants-CCigks3S.js → constants-HHaH0YWb.js} +1 -1
  209. package/dist/assets/{core-CBRgKovr.js → core-CTDonMeQ.js} +1 -1
  210. package/dist/assets/{dash.all.min-DhZ6hnTE.js → dash.all.min-Dj2yo7jC.js} +1 -1
  211. package/dist/assets/{detailCommon-ttGeF18U-D4qpemR4.js → detailCommon-Cpgf9GLg-CtGm6jLV.js} +4 -4
  212. package/dist/assets/downloadPdf-DfRYmfsd-DxcMbdS5.js +1 -0
  213. package/dist/assets/{empty-B2uWh3xi.js → empty-B8XqxOuZ.js} +1 -1
  214. package/dist/assets/{empty-CMQsz2kl.js → empty-DaBFZ939.js} +1 -1
  215. package/dist/assets/epic-CEzcY_0B.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-64yvQ1Zt.js → gift-box-Cmt9OgIZ-cqnWvVTs.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-ryfKOvP1.js → graphic-no-data-l-DU4J8fDt-D_lg6RW0.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-mzCnkzDU.js → graphic-no-data-net-burn-l-CzmycA0m-HJBTpevF.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-BpuKh2M-.js → handshake-BPg58FML-BshKAJQk.js} +1 -1
  220. package/dist/assets/{helper-YFgDgQKT-ChTt6pIM.js → helper-DP3YY99s-BmrnBGWk.js} +2 -2
  221. package/dist/assets/{index-HtwnqlX_.js → index-BUad5I9U.js} +1 -1
  222. package/dist/assets/{index-cvOajwIa.js → index-BV5JdmRQ.js} +1 -1
  223. package/dist/assets/{index-41pcAh0S.js → index-B_LiHFQR.js} +1 -1
  224. package/dist/assets/{index-C96wZ1NP.js → index-CTpNMFsf.js} +1 -1
  225. package/dist/assets/{index-mpD8Wgjn.js → index-D3GS4S-j.js} +1 -1
  226. package/dist/assets/{index-k277eteh.js → index-KKEkjzf-.js} +1 -1
  227. package/dist/assets/{index-DkG4Gq_1.js → index-RSYdG57D.js} +4012 -4036
  228. package/dist/assets/{lexical-BgntzHWG.js → lexical-CMaEqdkY.js} +1 -1
  229. package/dist/assets/{liveblocks-CZpRcduP.js → liveblocks-BR4rmGyf.js} +1 -1
  230. package/dist/assets/{lottie-CvYZqvKo.js → lottie-CZNmnTyG.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-BG5FbkDp.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Co-aYc3j-CWY-DvOX.js → mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DvN2rhw-.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-BhCEqPJc.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-T7zKYS9n.js +1 -0
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-CATud2li-C6pZT3Hb.js → mapTimeframeBalancesToTreeNode-J3b1nb_T-AhkmN2Ki.js} +1 -1
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CpFBbrhT-BngulPhC.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-shbs2rsi.js} +1 -1
  237. package/dist/assets/{mui-jyIGzSd8.js → mui-Bi6zxcZy.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-Buq8V_y9.js → page-detail-CWX5S47F-CV7GOcsp.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-CzfD5-Zs-C5IVh2u2.js +4 -0
  240. package/dist/assets/{radio-default-CiSgisfh-DMPiIlAL.js → radio-default-CiSgisfh-eXI1n3TG.js} +1 -1
  241. package/dist/assets/{react-yv96-8fg.js → react-C52_Sjtt.js} +1 -1
  242. package/dist/assets/{react-lYk0NLUI.js → react-CgvFPXt7.js} +2 -2
  243. package/dist/assets/{react-ClOFhYh9.js → react-DUZwtObs.js} +1 -1
  244. package/dist/assets/{react-Gtsr3pXI.js → react-DhjESN1j.js} +3 -3
  245. package/dist/assets/{react-L5U6pseJ.js → react-DkrXHh1b.js} +1 -1
  246. package/dist/assets/{react-Cjxj0Nbo.js → react-DlxtP0O5.js} +1 -1
  247. package/dist/assets/{react-D3Tqpbl7.js → react-ShmrZj8p.js} +1 -1
  248. package/dist/assets/{react-ClorTrZ0.js → react-j7hSnnLx.js} +1 -1
  249. package/dist/assets/{recharts-CCz6EACy.js → recharts-B4xbIQqu.js} +1 -1
  250. package/dist/assets/{sentry-CkqzujGZ.js → sentry-D087_5zX.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-fm6EeKA_.js → shield-DOlUxcFf-CCEGxUtr.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-B8yD1irx.js +1 -0
  253. package/dist/assets/{toChartData-CLrjl2HT-BXMfDgC_.js → toChartData-BEjMhb7--B1GasRGV.js} +1 -1
  254. package/dist/assets/{uploadAttachment-_EPHKVvJ-CmJE2Ng0.js → uploadAttachment-DUpHzqMe-Cc_EdWBC.js} +22 -22
  255. package/dist/assets/uploadReceipts-Dge0cNF1-B1feT8D_.js +1 -0
  256. package/dist/assets/{url-8k_1OLIS.js → url-Cf5olbUo.js} +1 -1
  257. package/dist/assets/{url-DFL85B9k.js → url-Ctqy5RJD.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-BWF3kStl.js → useLongPress-GCK2COYQ-Dhr7C1Fb.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-BK3NR8-I.js → usp-line-BBd1wKwW-D37A1NrK.js} +1 -1
  260. package/dist/assets/{utils-CvgqAgFT.js → utils-bkVcg2I6.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-B9mN2lN3.js → zeni-epic-state-DnYFo_hK.js} +34 -34
  262. package/dist/index.html +1 -1
  263. package/package.json +4 -4
  264. package/dist/assets/ACHDetailsPage-DpLTXUS2-C9BOm7cP.js +0 -21
  265. package/dist/assets/AccountInfoPage-BfVVOaTL-DckjL0IP.js +0 -18
  266. package/dist/assets/AccountLockedInfoModal-BI8dkiAz-CFZAGVC8.js +0 -59
  267. package/dist/assets/AccountRow-nSloLUTN-CE3sEYfw.js +0 -298
  268. package/dist/assets/AddAddressForCardDrawer-GDXK5rJA-C_ZtwjVR.js +0 -6
  269. package/dist/assets/ApAgingDetailPage-DLvP7G6Q-DDl3IQdp.js +0 -46
  270. package/dist/assets/ApprovalRulesSettingsPage-BiL2dANi-C2o5sXxc.js +0 -47
  271. package/dist/assets/BillPayPromoPage-CszEgRZk-D0P3J_0s.js +0 -84
  272. package/dist/assets/BillingSettingsPage-9uV4vEJB-DguVozAn.js +0 -44
  273. package/dist/assets/ChargeCardPromoPage-Dk1xNNTk-miuUHSZp.js +0 -222
  274. package/dist/assets/ConfettiBurst-B2xVyUMV-DEL89JAQ.js +0 -1
  275. package/dist/assets/CurrencySelectField-DDmu3bja-BNO-O3TN.js +0 -139
  276. package/dist/assets/CustomerOnboardingContainerPage-7zQwgryW-otS31I_n.js +0 -1
  277. package/dist/assets/DashboardSidebarBackgroundAnimation-CJDhi61--BHCIYbNK.js +0 -12
  278. package/dist/assets/EditPeoplePage-Dw9mMyyp-f1-9G5xl.js +0 -55
  279. package/dist/assets/EntityDetailPage-C2Ix5fwl-B8StnXXW.js +0 -18
  280. package/dist/assets/ExpenseAutomationPage-BOOA30kB-N_-Pxify.js +0 -3001
  281. package/dist/assets/GlobalReviewListPage-DlBZ4OnM-C2fu2hFz.js +0 -291
  282. package/dist/assets/InsightsSection-CVioRrr2-CQNydDuX.js +0 -27
  283. package/dist/assets/InternationalWireVerificationPage-8XEibbVK-6A8_MLCQ.js +0 -65
  284. package/dist/assets/InvitePeoplePage-DSg5Quam-Dq5nqgzJ.js +0 -12
  285. package/dist/assets/InvoiceUploadSection-D_uWzQW4-CbvqsKX2.js +0 -140
  286. package/dist/assets/LabeledControlledCheckBoxField-DVf8zpcv-CZ4IjMNU.js +0 -16
  287. package/dist/assets/LabeledDocumentField-CN-BH7Gq-BZP0wEAT.js +0 -41
  288. package/dist/assets/LinkJETransactionPage-DbA8sdwa-DBvkIuZ4.js +0 -98
  289. package/dist/assets/MagicLinkACHDetailsPage-k34ybVrp-D_CHEFPJ.js +0 -1
  290. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9sI0Na-Hemtbz0E.js +0 -1
  291. package/dist/assets/MagicLinkInternationalWireDetailsPage-DI9_mzqN-C7vyw7mL.js +0 -1
  292. package/dist/assets/MagicLinkSuccessPage-RG1qZ5Kj-U9QUUYso.js +0 -31
  293. package/dist/assets/MyPendingActivationChargeCardListPage-SRoiz1Qu-V5Slt0oR.js +0 -6
  294. package/dist/assets/MyProfileSettingsPage-D40mm3Me-AyTrlPtn.js +0 -85
  295. package/dist/assets/NavBarWithPicker-DuTo0ZPb-DapJT9Ay.js +0 -30
  296. package/dist/assets/NoDataChart-j3LPkJML-CpC66_KG.js +0 -26
  297. package/dist/assets/NotificationsListConfig-_L5Loigk-K1ardY_V.js +0 -1
  298. package/dist/assets/OpExByVendorPage-Br2UmBAk-BjXqMFds.js +0 -100
  299. package/dist/assets/PeoplePage-DSSY4CbY-CcD5g39L.js +0 -727
  300. package/dist/assets/QBOSetupSection-Dts3QjOd-DUY-_5aO.js +0 -79
  301. package/dist/assets/ReimbursementApprovalRuleDetailPage-Dz5HZk-8-DvJd2LPe.js +0 -32
  302. package/dist/assets/ReimbursementDetailPage-BdJYqqCn-NfEyGt7Z.js +0 -314
  303. package/dist/assets/ReimbursementPromoPage-B7nNFf49-DnICk_J7.js +0 -84
  304. package/dist/assets/RoleWithToolTip-DpaXFRka-CPtxy--W.js +0 -22
  305. package/dist/assets/SignIn-D6twztsA-JGZcDlNc.js +0 -491
  306. package/dist/assets/SignInScreen-B8u1w4-H.js +0 -1
  307. package/dist/assets/StatementItem-D1vvnzNl-CkkTq-kC.js +0 -31
  308. package/dist/assets/StatementsPage-XAVpAiKL-CscMPaCJ.js +0 -58
  309. package/dist/assets/TaskManagementPage-ChTC8Nzf-Br8fyRY0.js +0 -508
  310. package/dist/assets/TimeframeSwitcher-Ca28fZEt-CWlm5tlu.js +0 -31
  311. package/dist/assets/TimeframeSwitcherWithToggle-BSWY0nMa-V6kfYTtF.js +0 -31
  312. package/dist/assets/TransactionDetailPage-BCTtqHfm-CEK6Tla_.js +0 -903
  313. package/dist/assets/TransactionListPage-CzwkHzb_-C-bQA5UH.js +0 -35
  314. package/dist/assets/TreasuryTaxLetterPage-DIa79RKC-Dr9Za3Kr.js +0 -58
  315. package/dist/assets/UploadAdditionalDocumentOverlay-B3JZwTBb-CY7cdGgp.js +0 -38
  316. package/dist/assets/Vendor2FAPopup-BRMPwclY-S8zya2uW.js +0 -1
  317. package/dist/assets/VendorACHDetailsPage-FgtLHn1A-5cfHGlFY.js +0 -1
  318. package/dist/assets/VendorDomesticWireDetailsPage-yy6bXxb9-BMTlrQlH.js +0 -1
  319. package/dist/assets/VendorFirstReviewPage-DTOwONia-BcMjDFZM.js +0 -730
  320. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DK94_VqZ-Fv-KXlDn.js +0 -1
  321. package/dist/assets/ZeniAccountNavBarPieces-vGgpCYIn-BV1hbgIJ.js +0 -14
  322. package/dist/assets/analyticsHelper-BLDhkF0s.js +0 -1
  323. package/dist/assets/commonDimensions-D0kIxeo5-kKnpvScR.js +0 -1
  324. package/dist/assets/downloadPdf-DX8GL4Ja-IWkEYZD_.js +0 -1
  325. package/dist/assets/epic-C1wbMD8F.js +0 -2
  326. package/dist/assets/mapLoadingInProgressToTreeNode-DuIK129X-DInaQUjS.js +0 -1
  327. package/dist/assets/mapSpacerToTreeNode-COaFWgJv-C2xmgSDc.js +0 -1
  328. package/dist/assets/mapTimeframeBalancesToTreeNode-330OiGav-Czke_85f.js +0 -1
  329. package/dist/assets/panelSelectedMixin-Cddsb26L-KwYH41Xf.js +0 -3
  330. package/dist/assets/toCOABalancesWithID-iCDy3BRW-njMoT7aW.js +0 -1
  331. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-DeMVLI5_.js +0 -1
  332. package/dist/assets/uploadReceipts-Dge0cNF1-Df05JrMP.js +0 -1
@@ -1,4 +1,4 @@
1
- import{J as B,y as Z,F as _,ax as ke,V as s,bD as Xe,T as qe,t as Je,bE as Ke,o as d,x as N,aF as K,bF as Qe,bG as et,aj as oe,u as $,b4 as tt,aW as st,a as Oe,r as Be,p as D,ar as Pe,aV as ot,bb as at,ao as nt,bH as it,au as rt,bI as ct,bJ as ne,bK as lt,at as dt,an as pt,bL as ut,bM as gt}from"./index-DkG4Gq_1.js";import{a as S,P as Q}from"./sentry-CkqzujGZ.js";import{n as u,k as Ie}from"./mui-jyIGzSd8.js";import{bg as mt,Fy as ht,EU as ft,Fz as bt,FA as xt,FB as _t,FC as wt,FD as yt,FE as St,FF as vt,FG as jt}from"./zeni-epic-state-B9mN2lN3.js";import{m as Y,l as se}from"./analyticsHelper-BqOb8jb5-CPV99l38.js";import{g as Ct,x as $t}from"./ReportTableViewSelector-BOA9cxem-CwdIorRF.js";import{F as kt}from"./InsightsSection-CVioRrr2-CQNydDuX.js";import{q as Ot,G as Bt,k as xe,H as ee,N as pe}from"./detailCommon-ttGeF18U-D4qpemR4.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-DPse5Wdo-D2kesAkc.js";import{C as Nt}from"./NoDataChart-j3LPkJML-CpC66_KG.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-37ytEy0X-DICNYyQp.js";import{j as Ne}from"./TimeframeSwitcher-Ca28fZEt-CWlm5tlu.js";import{I as Rt,R as E,p as Dt,u as ue,D as Tt}from"./CollapsableReportTable-CoDaSHJN-BTz-2evo.js";import{S as zt,M as Ft,g as At,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-Co-aYc3j-CWY-DvOX.js";import{d as Mt}from"./NoDataTable-BnwGiTCu-B-XpYLns.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CpFBbrhT-BngulPhC.js";import{d as he}from"./mapLoadingInProgressToTreeNode-DuIK129X-DInaQUjS.js";import"./liveblocks-CZpRcduP.js";import"./core-CBRgKovr.js";import"./recharts-CCz6EACy.js";import"./lottie-CvYZqvKo.js";import"./analytics-Cu6vrn8M.js";import"./lexical-BgntzHWG.js";import"./utils-CvgqAgFT.js";import"./NavigationDots-DyeJVxnu-C7s9J0lV.js";import"./chartTypes-kba3vib6-B2MR4DOq.js";import"./toCOABalancesWithID-iCDy3BRW-njMoT7aW.js";import"./toChartData-CLrjl2HT-BXMfDgC_.js";import"./AccountRow-nSloLUTN-CE3sEYfw.js";import"./graphic-no-data-l-DU4J8fDt-ryfKOvP1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="60ba5ed3-9463-457c-a2c2-8cf40a28580b",e._sentryDebugIdIdentifier="sentry-dbid-60ba5ed3-9463-457c-a2c2-8cf40a28580b")}catch{}})();const Et=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),S.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
1
+ import{J as B,d as Z,F as _,aw as ke,V as s,bD as Xe,T as qe,w as Je,bE as Ke,o as d,y as N,aE as K,bF as Qe,bG as et,ai as oe,u as j,b4 as tt,aW as st,x as Oe,i as Be,p as D,aq as Pe,aV as ot,bb as at,an as nt,bH as it,at as rt,bI as ct,bJ as ne,bK as lt,as as dt,am as pt,bL as ut,bM as gt}from"./index-RSYdG57D.js";import{a as S,P as Q}from"./sentry-D087_5zX.js";import{n as u,k as Ie}from"./mui-Bi6zxcZy.js";import{bg as mt,ER as ht,Eb as ft,ES as bt,ET as xt,EU as _t,EV as wt,EW as yt,EX as St,EY as vt,EZ as $t}from"./zeni-epic-state-DnYFo_hK.js";import{m as G,l as se}from"./analyticsHelper-CT5zOInj-D74VaN9I.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-Y97ney3W-oj1UWLmj.js";import{F as kt}from"./InsightsSection-D-oCmrir-CPKrgvm8.js";import{q as Ot,G as Bt,k as xe,H as ee,N as pe}from"./detailCommon-Cpgf9GLg-CtGm6jLV.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-BEjDS1u4-DVyCgAK9.js";import{C as Nt}from"./NoDataChart-CyYJ6icu-C4lbaNyZ.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-DFnX6_WT-Bz52dN9I.js";import{b as Ne}from"./TimeframeSwitcher-CW08yYgo-DVEU43aK.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-Cq8bhaYC-LGo3rBU5.js";import{S as zt,M as At,g as Et,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DvN2rhw-.js";import{d as Mt}from"./NoDataTable-DVe7sQhD-Ce3Fn9a-.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-shbs2rsi.js";import{d as he}from"./mapLoadingInProgressToTreeNode-C0YIUOnb-BG5FbkDp.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";import"./NavigationDots-BQb_Fodq-C9mSjIjx.js";import"./chartTypes-Ddw_3-6f-DkCZUllf.js";import"./toCOABalancesWithID-AzKAZ-Cv-B8yD1irx.js";import"./toChartData-BEjMhb7--B1GasRGV.js";import"./AccountRow-BiEYR4Y1-ClTxn5CJ.js";import"./graphic-no-data-l-DU4J8fDt-D_lg6RW0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="72ade6d2-029a-471a-91e5-be7526d3c43c",e._sentryDebugIdIdentifier="sentry-dbid-72ade6d2-029a-471a-91e5-be7526d3c43c")}catch{}})();const Ft=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),S.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -17,7 +17,7 @@ import{J as B,y as Z,F as _,ax as ke,V as s,bD as Xe,T as qe,t as Je,bE as Ke,o
17
17
  justify-content: center;
18
18
  flex-direction: column;
19
19
  margin-top: ${d.sp3};
20
- `,Gt=({style:e,emptyContentText:t,EmptyContentImage:a})=>{const n=B();return s.jsxs(Vt,{windowSize:n,style:{...e},children:[s.jsx(Wt,{children:s.jsx(a,{})}),s.jsx(Ht,{children:t})]})};function Yt(e){const{reportId:t}=e.report,a=e.filter.balancesRange.orderBy;let n,i,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:o,cashOut:l}=p,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:o}=p;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:o,income:l}=p.sections,c=o?.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:o,income:l,cogs:c}=p.sections,h=l.balances.length>0?l:c,g=o.balances.length>0?o:h;g.balances.length>0&&(a==="ascending_date"&&(r=g.balances.length-1),n=g.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"revenue":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}}return n!=null&&(i={startDate:n.startDate,endDate:n.endDate}),i}function Ut(e){const{isCompareModeOn:t,filter:a,coaBalancesRange:n,report:i,currentTenantCompanyName:r,reportView:p,classesToFilterOut:o}=e,{reportId:l}=i;let c=a.balancesRange.thisPeriod;c==null&&(c=Yt({report:i,filter:a}));const h=[];if(t?(h.push("this_period_vs_last_period_percent"),h.push("this_period_vs_last_period")):!t&&l!=="cash_position"&&h.push("free_range_total"),i.reportId!=="cash_position"&&h.push("year_to_date_total"),c!=null)return{localeId:_.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[l],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:a.timeframe,additionalBalances:h,format:e.reportType,balancesFilter:{thisPeriod:c,numberOfPeriods:t?a.balancesRange.numberOfPeriods:n.numberOfPeriods,orderBy:n.orderBy},accountViewMode:p,classesToFilterOut:o,isZeniCOAUsed:e.isZeniCOAUsed}}function Zt(e){const t=Ut(e);if(t!=null)return Ct(e.statementEndPoint,e.authParams,t)}const Xt=u.div`
20
+ `,Yt=({style:e,emptyContentText:t,EmptyContentImage:a})=>{const n=B();return s.jsxs(Vt,{windowSize:n,style:{...e},children:[s.jsx(Wt,{children:s.jsx(a,{})}),s.jsx(Ht,{children:t})]})};function Gt(e){const{reportId:t}=e.report,a=e.filter.balancesRange.orderBy;let n,i,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:o,cashOut:l}=p,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:o}=p;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:o,income:l}=p.sections,c=o?.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:o,income:l,cogs:c}=p.sections,h=l.balances.length>0?l:c,g=o.balances.length>0?o:h;g.balances.length>0&&(a==="ascending_date"&&(r=g.balances.length-1),n=g.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"revenue":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}}return n!=null&&(i={startDate:n.startDate,endDate:n.endDate}),i}function Ut(e){const{isCompareModeOn:t,filter:a,coaBalancesRange:n,report:i,currentTenantCompanyName:r,reportView:p,classesToFilterOut:o}=e,{reportId:l}=i;let c=a.balancesRange.thisPeriod;c==null&&(c=Gt({report:i,filter:a}));const h=[];if(t?(h.push("this_period_vs_last_period_percent"),h.push("this_period_vs_last_period")):!t&&l!=="cash_position"&&h.push("free_range_total"),i.reportId!=="cash_position"&&h.push("year_to_date_total"),c!=null)return{localeId:_.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[l],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:a.timeframe,additionalBalances:h,format:e.reportType,balancesFilter:{thisPeriod:c,numberOfPeriods:t?a.balancesRange.numberOfPeriods:n.numberOfPeriods,orderBy:n.orderBy},accountViewMode:p,classesToFilterOut:o,isZeniCOAUsed:e.isZeniCOAUsed}}function Zt(e){const t=Ut(e);if(t!=null)return Ct(e.statementEndPoint,e.authParams,t)}const Xt=u.div`
21
21
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
22
22
  `;function qt({highlightedRangeReport:e}){const{availableNumberOfPeriods:t,netCashFlow:a}=e,n=a.balances;if(t==null||t===0||n.length===0)return null;const i=n.reduce((l,c)=>l+c.balance.amount,0),r=n[n.length-1],p={...r,balance:{...r.balance,amount:i}},o=_.getLocalizedStrings().chartCard.cashInCashOut.net_cash_flow;return s.jsx(Xt,{children:s.jsx(ee,{balance:p,dateText:o,showInfotip:!1})})}const Jt=u.div`
23
23
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
@@ -36,14 +36,14 @@ import{J as B,y as Z,F as _,ax as ke,V as s,bD as Xe,T as qe,t as Je,bE as Ke,o
36
36
  `,is=u.div`
37
37
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
38
38
  height: ${d.sp6};
39
- `;function rs({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a,sections:n}=e,{selectedAdditionalBalances:i}=t,r=n.income.balances;if(a==null||a===0||r.length===0)return s.jsx(is,{});const p=i.includes("this_period_vs_last_period")||i.includes("this_period_vs_last_period_percent"),o=r.reduce((m,f)=>m+f.balance.amount,0),l=r[r.length-1],c=r[0],h={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=pe(h,p);return s.jsx(ns,{children:s.jsx(ee,{balance:h,dateText:g,showInfotip:!1})})}const cs=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(ts,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(rs,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(as,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(Kt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(qt,{highlightedRangeReport:e});default:return null}},J={wrapperPadding:new N($[3],$[3],$[8]),chartHeight:new N(288,360)},ls=u.div`
39
+ `;function rs({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a,sections:n}=e,{selectedAdditionalBalances:i}=t,r=n.income.balances;if(a==null||a===0||r.length===0)return s.jsx(is,{});const p=i.includes("this_period_vs_last_period")||i.includes("this_period_vs_last_period_percent"),o=r.reduce((m,f)=>m+f.balance.amount,0),l=r[r.length-1],c=r[0],h={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=pe(h,p);return s.jsx(ns,{children:s.jsx(ee,{balance:h,dateText:g,showInfotip:!1})})}const cs=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(ts,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(rs,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(as,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(Kt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(qt,{highlightedRangeReport:e});default:return null}},J={wrapperPadding:new N(j[3],j[3],j[8]),chartHeight:new N(288,360)},ls=u.div`
40
40
  display: flex;
41
41
  flex: 1 1 auto;
42
42
  flex-direction: column;
43
43
  height: ${e=>J.chartHeight.valuePx(e.windowSize)};
44
44
  `,ds=u.div`
45
45
  display: flex;
46
- `,ps=e=>{const t=B(),{selectedRangeReport:a,selectedClassesViewRangeReport:n,uiState:i,onCOABalancesRangeChanged:r}=e,p=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,{selectedCOABalancesRange:o,selectedAdditionalBalances:l,highlightedCOABalancesRange:c,timeframe:h}=i,g=n!==void 0&&n.uiState.accountViewMode==="classes"?n:a;return p?s.jsx(ds,{children:s.jsx(Nt,{title:_.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(ls,{windowSize:t,children:s.jsx(tt,{children:({height:m,width:f})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(w,y,b)=>{us(a.firstMonthOfFY,l,a.reportId,y,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(we,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(we,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(_e,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(_e,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(It,{selectedRangeReport:a,...x});case"cash_in_cash_out":return s.jsx(Pt,{selectedRangeReport:a,...x});default:return null}}})})},us=(e,t,a,n,i,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(R(a),Y(n),"bar",se(e,n,i)),r?.trackDateRangeFilterChange(R(a),"bar",p,void 0,se(e,n,i))},Te={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"}},ze=Ie`
46
+ `,ps=e=>{const t=B(),{selectedRangeReport:a,selectedClassesViewRangeReport:n,uiState:i,onCOABalancesRangeChanged:r}=e,p=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,{selectedCOABalancesRange:o,selectedAdditionalBalances:l,highlightedCOABalancesRange:c,timeframe:h}=i,g=n!==void 0&&n.uiState.accountViewMode==="classes"?n:a;return p?s.jsx(ds,{children:s.jsx(Nt,{title:_.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(ls,{windowSize:t,children:s.jsx(tt,{children:({height:m,width:f})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(w,y,b)=>{us(a.firstMonthOfFY,l,a.reportId,y,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(we,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(we,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(_e,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(_e,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(It,{selectedRangeReport:a,...x});case"cash_in_cash_out":return s.jsx(Pt,{selectedRangeReport:a,...x});default:return null}}})})},us=(e,t,a,n,i,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(R(a),G(n),"bar",se(e,n,i)),r?.trackDateRangeFilterChange(R(a),"bar",p,void 0,se(e,n,i))},Te={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"}},ze=Ie`
47
47
  0% {
48
48
  transform: translateY(100%)
49
49
  }
@@ -83,13 +83,13 @@ import{J as B,y as Z,F as _,ax as ke,V as s,bD as Xe,T as qe,t as Je,bE as Ke,o
83
83
  align-items: center;
84
84
  overflow: auto;
85
85
  background: ${D.blackColor}E6;
86
- `,Fe=u.div`
86
+ `,Ae=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
- `,Ae=u.div`
92
+ `,Ee=u.div`
93
93
  display: flex;
94
94
  justify-content: flex-end;
95
95
  width: 100%;
@@ -158,7 +158,7 @@ import{J as B,y as Z,F as _,ax as ke,V as s,bD as Xe,T as qe,t as Je,bE as Ke,o
158
158
  border-bottom: 10px solid transparent;
159
159
  border-left: ${d.sp3} solid ${e=>e.theme.colors.grey3};
160
160
  float: right;
161
- `,js=u(Pe)`
161
+ `,$s=u(Pe)`
162
162
  max-width: 496px;
163
163
  margin-top: ${d.sp7};
164
164
  margin: auto;
@@ -167,11 +167,11 @@ import{J as B,y as Z,F as _,ax as ke,V as s,bD as Xe,T as qe,t as Je,bE as Ke,o
167
167
  max-width: 330px;
168
168
  margin: auto;
169
169
  color: ${D.primaryDark};
170
- `,Ee=u.div``,Ve=u(oe)`
170
+ `,Fe=u.div``,Ve=u(oe)`
171
171
  margin: ${d.sp3} auto;
172
172
  max-width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"330px":"422px"};
173
173
  color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?D.heroDark:e.theme.colors.hero};
174
- `,$s=u.div`
174
+ `,js=u.div`
175
175
  display: flex;
176
176
  flex-direction: column;
177
177
  align-items: center;
@@ -197,7 +197,7 @@ import{J as B,y as Z,F as _,ax as ke,V as s,bD as Xe,T as qe,t as Je,bE as Ke,o
197
197
  border-radius: 12px;
198
198
  border: ${e=>`1px solid ${e.theme.colors.grey5}`};
199
199
  padding: ${d.sp2};
200
- `,le=()=>s.jsxs(ys,{children:[s.jsx(Ss,{}),s.jsx(vs,{})]}),We=({imgSrc:e})=>{const t=B();return s.jsxs($s,{windowSize:t,children:[s.jsx(Os,{windowSize:t,children:s.jsx(Bs,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(ks,{windowSize:t,children:[s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},Ps=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=Te[a][r.mode];return s.jsxs(hs,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ae,{children:s.jsx(Me,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsx(bs,{onClick:c=>c.stopPropagation(),children:s.jsxs(Fe,{windowSize:i,children:[s.jsx(Cs,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Ee,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o,style:{backgroundColor:D.primaryDark,borderColor:D.primaryDark,color:D.neutralGrey5Dark}}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Is=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=Te[a][r.mode];return s.jsxs(ms,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ae,{children:s.jsx(Me,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsxs(fs,{onClick:c=>c.stopPropagation(),children:[s.jsxs(Fe,{windowSize:i,children:[s.jsx(js,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Ee,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(xs,{children:s.jsx(le,{})}),s.jsx(_s,{children:s.jsx(le,{})}),s.jsx(ws,{children:s.jsx(le,{})})]})]})};function Ns(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Ps,{...e}):s.jsx(Is,{...e})}const de="ZeniSwitch",z={root:`${de}-root`,switchBase:`${de}-switchBase`,track:`${de}-track`},Ls=({className:e,...t})=>s.jsx(lt,{...t,className:e,classes:{...z}}),Rs=u(Ls)(({theme:e})=>({[`& .${z.switchBase}`]:{color:e.colors.grey2},[`& .${z.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${z.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${z.switchBase}.Mui-checked + .${z.track}`]:{backgroundColor:e.colors.grey1},[`& .${z.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${z.switchBase}.Mui-disabled + .${z.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),He=e=>s.jsx(Rs,{...e}),U={containerMaxWidth:new N(124,154),forecastNameInnerWidth:new N(75,105),forecastNameOuterWidth:new N(90,120),tooltipTopPosition:new N(51,51),tooltipWidth:new N(180,150)},Se=u.div``,Ds=u.div`
200
+ `,le=()=>s.jsxs(ys,{children:[s.jsx(Ss,{}),s.jsx(vs,{})]}),We=({imgSrc:e})=>{const t=B();return s.jsxs(js,{windowSize:t,children:[s.jsx(Os,{windowSize:t,children:s.jsx(Bs,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(ks,{windowSize:t,children:[s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},Ps=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=Te[a][r.mode];return s.jsxs(hs,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ee,{children:s.jsx(Me,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsx(bs,{onClick:c=>c.stopPropagation(),children:s.jsxs(Ae,{windowSize:i,children:[s.jsx(Cs,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Fe,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o,style:{backgroundColor:D.primaryDark,borderColor:D.primaryDark,color:D.neutralGrey5Dark}}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Is=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=Te[a][r.mode];return s.jsxs(ms,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ee,{children:s.jsx(Me,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsxs(fs,{onClick:c=>c.stopPropagation(),children:[s.jsxs(Ae,{windowSize:i,children:[s.jsx($s,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Fe,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(xs,{children:s.jsx(le,{})}),s.jsx(_s,{children:s.jsx(le,{})}),s.jsx(ws,{children:s.jsx(le,{})})]})]})};function Ns(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Ps,{...e}):s.jsx(Is,{...e})}const de="ZeniSwitch",z={root:`${de}-root`,switchBase:`${de}-switchBase`,track:`${de}-track`},Ls=({className:e,...t})=>s.jsx(lt,{...t,className:e,classes:{...z}}),Rs=u(Ls)(({theme:e})=>({[`& .${z.switchBase}`]:{color:e.colors.grey2},[`& .${z.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${z.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${z.switchBase}.Mui-checked + .${z.track}`]:{backgroundColor:e.colors.grey1},[`& .${z.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${z.switchBase}.Mui-disabled + .${z.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),He=e=>s.jsx(Rs,{...e}),U={containerMaxWidth:new N(124,154),forecastNameInnerWidth:new N(75,105),forecastNameOuterWidth:new N(90,120),tooltipTopPosition:new N(51,51),tooltipWidth:new N(180,150)},Se=u.div``,Ds=u.div`
201
201
  min-width: ${e=>U.forecastNameInnerWidth.valuePx(e.windowSize)};
202
202
  &:hover {
203
203
  .info-tooltip {
@@ -218,11 +218,11 @@ import{J as B,y as Z,F as _,ax as ke,V as s,bD as Xe,T as qe,t as Je,bE as Ke,o
218
218
  color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
219
219
  margin-bottom: ${d.sp1};
220
220
  align-items: center;
221
- `,Fs=u(oe)`
221
+ `,As=u(oe)`
222
222
  display: flex;
223
223
  color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
224
224
  margin-bottom: ${d.sp1};
225
- `,As=u.div``,Ms=u.div``,Es=u(pt)`
225
+ `,Es=u.div``,Ms=u.div``,Fs=u(pt)`
226
226
  display: flex;
227
227
  color: ${D.alert};
228
228
  `,Vs=u(ut)`
@@ -241,7 +241,7 @@ import{J as B,y as Z,F as _,ax as ke,V as s,bD as Xe,T as qe,t as Je,bE as Ke,o
241
241
  flex-direction: row;
242
242
  align-items: center;
243
243
  justify-content: end;
244
- `,Gs=u.div`
244
+ `,Ys=u.div`
245
245
  background-color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
246
246
  border-radius: 3px;
247
247
  border-width: 1px;
@@ -251,7 +251,7 @@ import{J as B,y as Z,F as _,ax as ke,V as s,bD as Xe,T as qe,t as Je,bE as Ke,o
251
251
  align-self: center;
252
252
  margin-left: ${d.sp2};
253
253
  margin-right: ${d.sp2};
254
- `,Ys=u.div``,Us=u.div`
254
+ `,Gs=u.div``,Us=u.div`
255
255
  display: none;
256
256
  background-color: ${e=>e.theme.colors.primary};
257
257
  position: absolute;
@@ -263,14 +263,14 @@ import{J as B,y as Z,F as _,ax as ke,V as s,bD as Xe,T as qe,t as Je,bE as Ke,o
263
263
  top: ${e=>U.tooltipTopPosition.valuePx(e.windowSize)};
264
264
  `,Zs=u(nt)`
265
265
  color: ${e=>e.theme.colors.grey5};
266
- `;function Xs({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]=S.useState(l(t));return Q.useEffect(()=>{h(l(t))},[t]),s.jsxs(Ds,{windowSize:r,children:[s.jsx(Ys,{children:s.jsx(Us,{className:"info-tooltip",windowSize:r,children:s.jsx(Zs,{children:c[e]!=null?c[e].label:""})})}),s.jsx(qs,{selectedForecast:c[e],forecastOptions:c,isDisabled:a,onForecastSelectionChanged:i})]})}const qs=({selectedForecast:e,forecastOptions:t,isDisabled:a,onForecastSelectionChanged:n})=>{const i=Z(),r=B(),[p,o]=S.useState(e),l=i.colors.grey5,c=i.colors.grey5,h=i.colors.grey3;S.useEffect(()=>{o(e)},[e]);const g=u(it)`
266
+ `;function Xs({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]=S.useState(l(t));return Q.useEffect(()=>{h(l(t))},[t]),s.jsxs(Ds,{windowSize:r,children:[s.jsx(Gs,{children:s.jsx(Us,{className:"info-tooltip",windowSize:r,children:s.jsx(Zs,{children:c[e]!=null?c[e].label:""})})}),s.jsx(qs,{selectedForecast:c[e],forecastOptions:c,isDisabled:a,onForecastSelectionChanged:i})]})}const qs=({selectedForecast:e,forecastOptions:t,isDisabled:a,onForecastSelectionChanged:n})=>{const i=Z(),r=B(),[p,o]=S.useState(e),l=i.colors.grey5,c=i.colors.grey5,h=i.colors.grey3;S.useEffect(()=>{o(e)},[e]);const g=u(it)`
267
267
  height: ${d.sp3};
268
268
  width: ${d.sp3};
269
269
  `,m=u(rt)`
270
270
  height: 12px;
271
271
  width: 12px;
272
272
  margin-left: 6px;
273
- `,f=({children:b,...j})=>s.jsx(ne.SingleValue,{...j,children:s.jsxs(Hs,{children:[s.jsx(Ws,{windowSize:r,children:b}),s.jsx(m,{})]})}),x=b=>s.jsx(ne.DropdownIndicator,{...b,children:s.jsx(Se,{})}),w=b=>s.jsx(Se,{children:s.jsx(ne.Option,{...b,children:s.jsxs(Ts,{children:[s.jsxs(zs,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(Fs,{isValid:b.data.isValid,children:[s.jsx(As,{children:b.data.timeframeLabel}),s.jsx(Gs,{isValid:b.data.isValid}),s.jsx(Ms,{children:_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),b.data.isValid===!1?s.jsxs(Es,{children:[s.jsx(Vs,{}),_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),y={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:U.containerMaxWidth.valuePx(r),minWidth:U.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:$[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${i.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:b=>({...b,borderRadius:$[1],maxWidth:"350px"}),option:(b,{isDisabled:j,isSelected:k,isFocused:V})=>({...b,color:k?i.colors.champion:i.colors.hero,backgroundColor:k===!0?h:V===!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(ct,{options:t,components:{SingleValue:f,DropdownIndicator:x,Option:w},styles:y,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})},ve={timeframePaddingLeft:new N(0,0,245),timeframePaddingBottom:new N(8,8,0)},Js=u.div`
273
+ `,f=({children:b,...$})=>s.jsx(ne.SingleValue,{...$,children:s.jsxs(Hs,{children:[s.jsx(Ws,{windowSize:r,children:b}),s.jsx(m,{})]})}),x=b=>s.jsx(ne.DropdownIndicator,{...b,children:s.jsx(Se,{})}),w=b=>s.jsx(Se,{children:s.jsx(ne.Option,{...b,children:s.jsxs(Ts,{children:[s.jsxs(zs,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(As,{isValid:b.data.isValid,children:[s.jsx(Es,{children:b.data.timeframeLabel}),s.jsx(Ys,{isValid:b.data.isValid}),s.jsx(Ms,{children:_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),b.data.isValid===!1?s.jsxs(Fs,{children:[s.jsx(Vs,{}),_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),y={control:(b,$)=>({...b,border:0,backgroundColor:c,color:$.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.hero,boxShadow:c,":active":{backgroundColor:c},":hover":{color:i.colors.primary},"span::after":{content:"''",display:"block"},minHeight:"auto",cursor:"pointer"}),container:b=>({...b,backgroundColor:c,maxWidth:U.containerMaxWidth.valuePx(r),minWidth:U.containerMaxWidth.valuePx(r)}),singleValue:(b,$)=>({...b,color:$.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.champion,maxWidth:"100%",minWidth:"100%",overflow:"auto",":hover":{color:i.colors.primary},marginLeft:0,position:"inherit",transform:"none",top:0,marginRight:0,opacity:"1"}),menu:b=>({...b,backgroundColor:l,borderRadius:j[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${i.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:b=>({...b,borderRadius:j[1],maxWidth:"350px"}),option:(b,{isDisabled:$,isSelected:k,isFocused:V})=>({...b,color:k?i.colors.champion:i.colors.hero,backgroundColor:k===!0?h:V===!0&&$!==!0?i.colors.background:l,cursor:$===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:$===!1?k===!0?h:i.colors.background:l,color:i.colors.primary},borderBottom:"1px solid "+i.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(ct,{options:t,components:{SingleValue:f,DropdownIndicator:x,Option:w},styles:y,defaultValue:p,onChange:b=>{const $=b;o($),n($.forecastId,$.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:b=>b.isValid===!1,theme:b=>({...b,colors:{...b.colors,primary:l}}),isDisabled:a})},ve={timeframePaddingLeft:new N(0,0,245),timeframePaddingBottom:new N(8,8,0)},Js=u.div`
274
274
  display: flex;
275
275
  width: 100%;
276
276
  flex-direction: column;
@@ -278,7 +278,7 @@ import{J as B,y as Z,F as _,ax as ke,V as s,bD as Xe,T as qe,t as Je,bE as Ke,o
278
278
  display: flex;
279
279
  width: 100%;
280
280
  flex-direction: row;
281
- `,Ge=u.div`
281
+ `,Ye=u.div`
282
282
  display: flex;
283
283
  flex-direction: row;
284
284
  flex: 1 1 auto;
@@ -303,13 +303,13 @@ import{J as B,y as Z,F as _,ax as ke,V as s,bD as Xe,T as qe,t as Je,bE as Ke,o
303
303
  flex-direction: row;
304
304
  align-items: center;
305
305
  margin-right: ${d.sp5};
306
- `,Ye=u(oe)`
306
+ `,Ge=u(oe)`
307
307
  color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
308
308
  opacity: ${e=>e.isDisabled?.5:1};
309
- `,Ue=({label:e,isOn:t,isToggleDisabled:a,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(Ye,{isOn:t,isDisabled:a===!0,children:e}),s.jsx(He,{checked:t,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:i=>{n(i.target.checked)}})]});function Ze({isOn:e,isDisabled:t,selectedForecastIndex:a,forecasts:n,isForecastValid:i,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(to,{children:[e===!0&&n!=null&&n.length!==0?s.jsx(Xs,{selectedForecastIndex:a??0,forecasts:n,isForecastValid:i,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ye,{isOn:e,isDisabled:t===!0,children:_.getLocalizedStrings().reports.forecast.forecast}),s.jsx(He,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:o=>{r(o.target.checked)}})]})}const so=e=>{const t=B();return s.jsxs(Js,{children:[s.jsx(Ge,{windowSize:t,children:s.jsx(Ne,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Qs,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ue,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})},oo=e=>{const t=B();return s.jsxs(Ks,{children:[s.jsx(Ge,{windowSize:t,children:s.jsx(Ne,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(eo,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ue,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})};function ao(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(so,{...e}):s.jsx(oo,{...e})}const no=u.div`
309
+ `,Ue=({label:e,isOn:t,isToggleDisabled:a,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(Ge,{isOn:t,isDisabled:a===!0,children:e}),s.jsx(He,{checked:t,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:i=>{n(i.target.checked)}})]});function Ze({isOn:e,isDisabled:t,selectedForecastIndex:a,forecasts:n,isForecastValid:i,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(to,{children:[e===!0&&n!=null&&n.length!==0?s.jsx(Xs,{selectedForecastIndex:a??0,forecasts:n,isForecastValid:i,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ge,{isOn:e,isDisabled:t===!0,children:_.getLocalizedStrings().reports.forecast.forecast}),s.jsx(He,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:o=>{r(o.target.checked)}})]})}const so=e=>{const t=B();return s.jsxs(Js,{children:[s.jsx(Ye,{windowSize:t,children:s.jsx(Ne,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Qs,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ue,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})},oo=e=>{const t=B();return s.jsxs(Ks,{children:[s.jsx(Ye,{windowSize:t,children:s.jsx(Ne,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(eo,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ue,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})};function ao(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(so,{...e}):s.jsx(oo,{...e})}const no=u.div`
310
310
  display: flex;
311
311
  padding: ${d.sp2} ${d.sp0} ${d.sp4} ${d.sp0};
312
- `,io=u.div``,ro=u.div``,co=e=>{const{selectedRangeReport:t,uiState:a,analytics:n,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=ke(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:h,timeframe:g}=a,m=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=a.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let y,b;switch(t.reportId){case"revenue":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:y=void 0}const j=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=j||t.availableNumberOfPeriods===1,V=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,A]=S.useState(!1),H=ft("https://meetings.hubspot.com/svitlana-grankovska"),M=a.mode,L=a.selectedForecast;S.useEffect(()=>{M==="forecast_mode"&&b==="Completed"&&y?.length===0&&(A(!0),document.body.style.overflow="hidden")},[b,M,y]),S.useEffect(()=>{M==="forecast_mode"&&L!=null&&y!=null&&y.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),y[L.index].name)},[L]);const W=(v,C,G)=>{C===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,G)};return s.jsx(ro,{children:s.jsxs(io,{children:[s.jsx(no,{children:s.jsx(ao,{timeframe:{allowedTimeframes:m,selectedTimeframe:g,onTimeframeSelectionChanged:v=>{e.analytics?.trackTimeframeSwitch(Y(v),R(t.reportId)),r?.(v),e.uiState.mode==="compare_mode"&&!x&&o(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:_.getLocalizedStrings().compareSwitchLabel,isOn:k?!1:x,isToggleDisabled:k,onValueChanged:v=>{const C=v===!0||a.mode==="forecast_mode"?3:1;n?.trackCompareMode(v,R(t.reportId),Y(g)),o(v,v?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],C)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:y,isForecastValid:V,onForecastSelectionChanged:(v,C)=>W("forecast_mode",!1,{id:v,index:C}),onForecastToggleChanged:v=>{W(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(Ns,{meetingUrl:H,reportId:t.reportId,onClose:()=>{A(!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(Lt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:xe(c,h),highlightedOfSelectedTicks:xe(c,h)},onClick:(v,C)=>{je(t.firstMonthOfFY,x,t.reportId,g,C,e.analytics),i(C)},onSelectionChanged:(v,C)=>{const G=Ot(c,v.fromEnd),X=Bt(c,C);je(t.firstMonthOfFY,x,t.reportId,g,X.thisPeriod,e.analytics),p(G,X)}})]})})},je=(e,t,a,n,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(a),Y(n),"range filter",se(e,n,i)),r?.trackDateRangeFilterChange(R(a),"range filter",t,se(e,n,i))};function fe({account:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){return{children:[],id:E("ac_report",p,e.accountId),isLastNode:i,reportElementData:{element:{kind:"ac_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}}}function lo({acGroup:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){const o=E("ac_group_report",p,e.accountGroupId),l={children:[],id:o,isLastNode:i,reportElementData:{element:{kind:"ac_group_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},c=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return l.children=c.map((h,g)=>fe({account:h,sectionType:t,numOfBalances:a,title:h.accountDescription,config:r,isLastNode:g===c.length-1,parentNodeIDs:[...p,o]})),l}function Ce({section:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r}){const p=E("section",[],n),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},l=Tt(e,r.displayOrder,a,!1),c=po(l.balances),h=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=h.compactedAccountsSelectorVariant(e.accountsOrdered),m=h.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(m.length>0||e.accountsOrdered.length>0)){const f=m.map((w,y)=>lo({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:y===m.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,y)=>fe({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:y===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));o.children.push(...f),o.children.push(...x)}return o}function po(e){let t=!1;if(e!=null){for(const a of e)if(a!=null&&a.balance.amount!==0){t=!0;break}}return t}function F({balances:e,config:t,nodeId:a}){let n="timeframe_headers";return t.mode==="actual_vs_forecast"&&(n="timeframe_headers_with_forecast"),{children:[],id:a??E("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:n,title:"",data:e,numOfBalances:e.length},config:t}}}function uo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.cashIn.balances?[...e.cashIn.balances,...e.cashIn.additionalBalances]:e.cashOut.balances?[...e.cashOut.balances,...e.cashOut.additionalBalances]:[],p=F({balances:r,config:t}),o=Ce({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=Ce({section:e.cashOut,sectionType:"cash_out",numOfBalances:i,title:n.sections.cashOut,isLastNode:!0,config:t}),c=te({calculatedSection:e.netCashFlow,numOfBalances:i,title:n.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:a?[p]:[],contentNodes:[p,o,l,c]}}function be({title:e,balances:t,config:a,numOfBalances:n,nodeId:i}){return{children:[],id:i??E("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:n},config:a}}}function go(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.cashPosition.balances,...e.cashPosition.additionalBalances],p=e.cashPosition,o=F({balances:r,config:t}),l=be({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=E("section",[],n.sections.netCashFlow),h=ue("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,m)=>fe({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:m===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:a?[o]:[],contentNodes:[o,l,...h]}}function mo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});a&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],g=F({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(yt(m)===!0){const f=e.sections[m];f!=null&&o.push(Le({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(St(m)===!0){const f=e.calculatedSections[m];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:m==="netBurnOrIncome"?e.reportTitle:i.sections[m],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function ho(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],p=F({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{vt(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):jt(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:l==="netBurnOrIncome"?e.reportTitle:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function fo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,a&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=10,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=F({balances:h,config:t}),m=e.sections.expenses,f=be({title:_.getLocalizedStrings().chartCard.total,balances:m,config:t,numOfBalances:c});o.push(g),o.push(f),a&&(l=[g]);const x=E("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,y)=>{o.push(zt({classNode:w,sectionType:"expenses",numOfBalances:c,title:w.class.className,isLastNode:w.isLeafClass,config:t,parentNodeIDs:[x],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:w.id.length-1,hasSibling:!1,hasChildren:w.children.length>0,isLastNode:y===e.sections.expenses.classes.length-1,name:w.class.className}]}}))})}return{config:t,headerNodes:l,contentNodes:o}}function bo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],p=F({balances:r,config:t}),o=e.sections.expenses,l=be({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=E("section",[],n.sections.expenses),h=Dt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const m=h.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(m.length!=0){const f=m.map((x,w)=>Ft({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===m.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=h.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,y)=>At({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:y===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:y===f.length-1}]}}));g.push(...x)}return{config:t,headerNodes:a?[p]:[],contentNodes:g}}function xo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,a&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],g=F({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(bt(m)===!0){const f=e.sections[m];f!=null&&o.push(Le({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(xt(m)===!0){const f=e.calculatedSections[m];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:i.sections.grossMargin,isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function _o(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],p=F({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{_t(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):wt(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function wo(e,t,a,n=!0){Object.assign(e.config,t);const i=yo(a),r=F({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const yo=e=>{switch(e.reportId){case"net_burn_or_income":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"net_burn_or_income_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"revenue":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"revenue_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"cash_position":{const t=e;return[...t.cashPosition.balances,...t.cashPosition.additionalBalances]}case"cash_in_cash_out":{const t=e;return t.cashIn.balances.length>0?[...t.cashIn.balances,...t.cashIn.additionalBalances]:[...t.cashOut.balances,...t.cashOut.additionalBalances]}case"operating_expenses":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}case"operating_expenses_by_classes":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}default:return[]}},$e={contentPaddingLeft:new N($[0],$[0],$[0]),contentPaddingRight:new N($[3],$[3],$[8])},So=u.div`
312
+ `,io=u.div``,ro=u.div``,co=e=>{const{selectedRangeReport:t,uiState:a,analytics:n,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=ke(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:h,timeframe:g}=a,m=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=a.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let y,b;switch(t.reportId){case"revenue":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:y=void 0}const $=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=$||t.availableNumberOfPeriods===1,V=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,E]=S.useState(!1),H=ft("https://meetings.hubspot.com/svitlana-grankovska"),M=a.mode,L=a.selectedForecast;S.useEffect(()=>{M==="forecast_mode"&&b==="Completed"&&y?.length===0&&(E(!0),document.body.style.overflow="hidden")},[b,M,y]),S.useEffect(()=>{M==="forecast_mode"&&L!=null&&y!=null&&y.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),y[L.index].name)},[L]);const W=(v,C,Y)=>{C===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,Y)};return s.jsx(ro,{children:s.jsxs(io,{children:[s.jsx(no,{children:s.jsx(ao,{timeframe:{allowedTimeframes:m,selectedTimeframe:g,onTimeframeSelectionChanged:v=>{e.analytics?.trackTimeframeSwitch(G(v),R(t.reportId)),r?.(v),e.uiState.mode==="compare_mode"&&!x&&o(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:_.getLocalizedStrings().compareSwitchLabel,isOn:k?!1:x,isToggleDisabled:k,onValueChanged:v=>{const C=v===!0||a.mode==="forecast_mode"?3:1;n?.trackCompareMode(v,R(t.reportId),G(g)),o(v,v?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],C)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:y,isForecastValid:V,onForecastSelectionChanged:(v,C)=>W("forecast_mode",!1,{id:v,index:C}),onForecastToggleChanged:v=>{W(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(Ns,{meetingUrl:H,reportId:t.reportId,onClose:()=>{E(!1),e.onForecastToggle?.("off");const v=1;document.body.style.overflow="auto",o(x,x?["this_period_vs_last_period_percent"]:[],v)}}):null,$?null:s.jsx(Lt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:xe(c,h),highlightedOfSelectedTicks:xe(c,h)},onClick:(v,C)=>{$e(t.firstMonthOfFY,x,t.reportId,g,C,e.analytics),i(C)},onSelectionChanged:(v,C)=>{const Y=Ot(c,v.fromEnd),X=Bt(c,C);$e(t.firstMonthOfFY,x,t.reportId,g,X.thisPeriod,e.analytics),p(Y,X)}})]})})},$e=(e,t,a,n,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(a),G(n),"range filter",se(e,n,i)),r?.trackDateRangeFilterChange(R(a),"range filter",t,se(e,n,i))};function fe({account:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){return{children:[],id:F("ac_report",p,e.accountId),isLastNode:i,reportElementData:{element:{kind:"ac_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}}}function lo({acGroup:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){const o=F("ac_group_report",p,e.accountGroupId),l={children:[],id:o,isLastNode:i,reportElementData:{element:{kind:"ac_group_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},c=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return l.children=c.map((h,g)=>fe({account:h,sectionType:t,numOfBalances:a,title:h.accountDescription,config:r,isLastNode:g===c.length-1,parentNodeIDs:[...p,o]})),l}function Ce({section:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r}){const p=F("section",[],n),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},l=Tt(e,r.displayOrder,a,!1),c=po(l.balances),h=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=h.compactedAccountsSelectorVariant(e.accountsOrdered),m=h.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(m.length>0||e.accountsOrdered.length>0)){const f=m.map((w,y)=>lo({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:y===m.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,y)=>fe({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:y===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));o.children.push(...f),o.children.push(...x)}return o}function po(e){let t=!1;if(e!=null){for(const a of e)if(a!=null&&a.balance.amount!==0){t=!0;break}}return t}function A({balances:e,config:t,nodeId:a}){let n="timeframe_headers";return t.mode==="actual_vs_forecast"&&(n="timeframe_headers_with_forecast"),{children:[],id:a??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:n,title:"",data:e,numOfBalances:e.length},config:t}}}function uo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.cashIn.balances?[...e.cashIn.balances,...e.cashIn.additionalBalances]:e.cashOut.balances?[...e.cashOut.balances,...e.cashOut.additionalBalances]:[],p=A({balances:r,config:t}),o=Ce({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=Ce({section:e.cashOut,sectionType:"cash_out",numOfBalances:i,title:n.sections.cashOut,isLastNode:!0,config:t}),c=te({calculatedSection:e.netCashFlow,numOfBalances:i,title:n.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:a?[p]:[],contentNodes:[p,o,l,c]}}function be({title:e,balances:t,config:a,numOfBalances:n,nodeId:i}){return{children:[],id:i??F("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:n},config:a}}}function go(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.cashPosition.balances,...e.cashPosition.additionalBalances],p=e.cashPosition,o=A({balances:r,config:t}),l=be({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=F("section",[],n.sections.netCashFlow),h=ue("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,m)=>fe({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:m===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:a?[o]:[],contentNodes:[o,l,...h]}}function mo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});a&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],g=A({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(yt(m)===!0){const f=e.sections[m];f!=null&&o.push(Le({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(St(m)===!0){const f=e.calculatedSections[m];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:m==="netBurnOrIncome"?e.reportTitle:i.sections[m],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function ho(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],p=A({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{vt(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):$t(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:l==="netBurnOrIncome"?e.reportTitle:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function fo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,a&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=10,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=A({balances:h,config:t}),m=e.sections.expenses,f=be({title:_.getLocalizedStrings().chartCard.total,balances:m,config:t,numOfBalances:c});o.push(g),o.push(f),a&&(l=[g]);const x=F("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,y)=>{o.push(zt({classNode:w,sectionType:"expenses",numOfBalances:c,title:w.class.className,isLastNode:w.isLeafClass,config:t,parentNodeIDs:[x],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:w.id.length-1,hasSibling:!1,hasChildren:w.children.length>0,isLastNode:y===e.sections.expenses.classes.length-1,name:w.class.className}]}}))})}return{config:t,headerNodes:l,contentNodes:o}}function bo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],p=A({balances:r,config:t}),o=e.sections.expenses,l=be({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=F("section",[],n.sections.expenses),h=Dt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const m=h.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(m.length!=0){const f=m.map((x,w)=>At({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===m.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=h.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,y)=>Et({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:y===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:y===f.length-1}]}}));g.push(...x)}return{config:t,headerNodes:a?[p]:[],contentNodes:g}}function xo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,a&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],g=A({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(bt(m)===!0){const f=e.sections[m];f!=null&&o.push(Le({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(xt(m)===!0){const f=e.calculatedSections[m];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:i.sections.grossMargin,isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function _o(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],p=A({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{_t(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):wt(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function wo(e,t,a,n=!0){Object.assign(e.config,t);const i=yo(a),r=A({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const yo=e=>{switch(e.reportId){case"net_burn_or_income":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"net_burn_or_income_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"revenue":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"revenue_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"cash_position":{const t=e;return[...t.cashPosition.balances,...t.cashPosition.additionalBalances]}case"cash_in_cash_out":{const t=e;return t.cashIn.balances.length>0?[...t.cashIn.balances,...t.cashIn.additionalBalances]:[...t.cashOut.balances,...t.cashOut.additionalBalances]}case"operating_expenses":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}case"operating_expenses_by_classes":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}default:return[]}},je={contentPaddingLeft:new N(j[0],j[0],j[0]),contentPaddingRight:new N(j[3],j[3],j[8])},So=u.div`
313
313
  width: 100%;
314
314
  height: calc(100vh - 70px);
315
315
  `,vo=u.div`
@@ -319,11 +319,11 @@ import{J as B,y as Z,F as _,ax as ke,V as s,bD as Xe,T as qe,t as Je,bE as Ke,o
319
319
  padding-top: ${d.sp6};
320
320
  padding-left: ${e=>J.wrapperPadding.valuePx(e.windowSize)};
321
321
  background-color: ${e=>e.theme.colors.grey4};
322
- `,jo=u.div`
322
+ `,$o=u.div`
323
323
  position: absolute;
324
324
  padding-top: ${d.sp3};
325
325
  background-color: ${e=>e.theme.colors.grey4};
326
- `,Co=e=>{const t=B(),a=Z(),{selectedRangeReport:n,selectedClassesViewRangeReport:i,uiState:r,scrollPosition:p,isZeniUser:o,onTableScroll:l,onElementCollapseStateChanged:c,onAccountBalanceClick:h,onUpdateAccountViewMode:g,onUpdateClassesToFilterOut:m,onOpenAccountViewMode:f}=e,{highlightedCOABalancesRange:x,mode:w}=r,y=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,j=r.mode==="compare_mode"&&!b,k=j||r.mode==="forecast_mode"?3:1,V=O=>{e.analytics?.trackCompareFilterChange(O==="compare_mode_percent"?"percentage":"amount",R(n.reportId),Y(r.timeframe),"dropdown");const I=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged(j,[I],x?.numberOfPeriods??k)},[P,A]=S.useState(void 0),[H,M]=S.useState(void 0),L=!(t==="small"||t==="medium-compact"),W=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=ko(r.selectedAdditionalBalances),C=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,G=w==="forecast_mode"?"actual_vs_forecast":j===!0?"this_period_vs_period_before":"none",X=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ae=(O,I)=>{O!==i?.uiState.accountViewMode&&g?.(O),I&&m?.(I)};return S.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${C.reportId}+${r.selectedForecast?.id}`:C.reportId,mode:G,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:C.bookCloseDate,firstMonthOfFY:C.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:gt(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:C.dataAvailable};if(P==null||!K(H,C)||e.isPageFetchInProgress===!0){const I=$o(C,O,L,e.isPageFetchInProgress);M(C),A(I)}else{const I=wo(P,O,C,L);A(I)}},[W,j,C,e.isPageFetchInProgress]),s.jsx(vo,{windowSize:t,children:y?s.jsx(Mt,{}):P!=null?s.jsxs(So,{children:[s.jsx(Rt,{backgroundColor:new st(a.colors.grey4),rootNodes:P,type:W,compareMode:v,isSticky:{isStickyHeader:L,isStickyName:L},treeNodePadding:{left:$e.contentPaddingLeft.value(t),right:$e.contentPaddingRight.value(t)},onAccountClick:h==null?void 0:(O,I)=>{h(O,I)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:V,onScroll:l,onNodeCollapseToggled:c}),X===!0&&i!==void 0?s.jsx(jo,{children:s.jsx($t,{reportId:n.reportId,nodes:i.classHierarchy,classesListFetchState:i.fetchState,selectedView:i.uiState.accountViewMode,showClassAccountNumber:o,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:ae,classesToBeFilteredOut:i.classesToFilterOut,isClassViewDisabled:r.mode==="forecast_mode",firstMonthOfFY:i.firstMonthOfFY,onOpenAccountViewMode:f,onResyncReports:e.onResyncReports,isPageFetchInProgress:e.isPageFetchInProgress,lastRefreshSuccessTime:i?.status?.lastRefreshSuccessTime})}):null]}):null})},$o=(e,t,a=!0,n=!1)=>{switch(e.reportId){case"net_burn_or_income":return ho(e,t,a);case"net_burn_or_income_by_classes":return mo(e,t,a,n);case"revenue":return _o(e,t,a);case"revenue_by_classes":return xo(e,t,a,n);case"cash_position":return go(e,t,a);case"cash_in_cash_out":return uo(e,t,a);case"operating_expenses":return bo(e,t,a);case"operating_expenses_by_classes":return fo(e,t,a,n);default:return}},ko=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",q={chartWidth:"100%",barCount:8,barWidth:new N($[6],$[8],$[10]),maxBarHeight:1},Oo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=q.chartWidth,barCount:n=q.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=Z(),o=B(),l=t??J.chartHeight.value(o),c=l-$[5],h=[...Array(n)].map((g,m)=>({height:(i?.[m]||q.maxBarHeight)*l,width:q.barWidth}));return s.jsx(Bo,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(Po,{children:h.map((g,m)=>s.jsx(Io,{children:s.jsx(Qe,{speed:2,width:q.barWidth.value(o),height:c,viewBox:`0 0 100 ${c}`,preserveAspectRatio:"none",animate:!0,backgroundColor:p.colors.grey3,foregroundColor:p.colors.grey4,children:s.jsx("rect",{x:"0",y:c-g.height-20,width:"100%",height:g.height,rx:"4",ry:"4"})})},`bar-loader-${m}-${g.height}`))})})},Bo=u.div`
326
+ `,Co=e=>{const t=B(),a=Z(),{selectedRangeReport:n,selectedClassesViewRangeReport:i,uiState:r,scrollPosition:p,isZeniUser:o,onTableScroll:l,onElementCollapseStateChanged:c,onAccountBalanceClick:h,onUpdateAccountViewMode:g,onUpdateClassesToFilterOut:m,onOpenAccountViewMode:f}=e,{highlightedCOABalancesRange:x,mode:w}=r,y=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,$=r.mode==="compare_mode"&&!b,k=$||r.mode==="forecast_mode"?3:1,V=O=>{e.analytics?.trackCompareFilterChange(O==="compare_mode_percent"?"percentage":"amount",R(n.reportId),G(r.timeframe),"dropdown");const I=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged($,[I],x?.numberOfPeriods??k)},[P,E]=S.useState(void 0),[H,M]=S.useState(void 0),L=!(t==="small"||t==="medium-compact"),W=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=ko(r.selectedAdditionalBalances),C=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,Y=w==="forecast_mode"?"actual_vs_forecast":$===!0?"this_period_vs_period_before":"none",X=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ae=(O,I)=>{O!==i?.uiState.accountViewMode&&g?.(O),I&&m?.(I)};return S.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${C.reportId}+${r.selectedForecast?.id}`:C.reportId,mode:Y,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:C.bookCloseDate,firstMonthOfFY:C.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:gt(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:C.dataAvailable};if(P==null||!K(H,C)||e.isPageFetchInProgress===!0){const I=jo(C,O,L,e.isPageFetchInProgress);M(C),E(I)}else{const I=wo(P,O,C,L);E(I)}},[W,$,C,e.isPageFetchInProgress]),s.jsx(vo,{windowSize:t,children:y?s.jsx(Mt,{}):P!=null?s.jsxs(So,{children:[s.jsx(Rt,{backgroundColor:new st(a.colors.grey4),rootNodes:P,type:W,compareMode:v,isSticky:{isStickyHeader:L,isStickyName:L},treeNodePadding:{left:je.contentPaddingLeft.value(t),right:je.contentPaddingRight.value(t)},onAccountClick:h==null?void 0:(O,I)=>{h(O,I)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:V,onScroll:l,onNodeCollapseToggled:c}),X===!0&&i!==void 0?s.jsx($o,{children:s.jsx(jt,{reportId:n.reportId,nodes:i.classHierarchy,classesListFetchState:i.fetchState,selectedView:i.uiState.accountViewMode,showClassAccountNumber:o,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:ae,classesToBeFilteredOut:i.classesToFilterOut,isClassViewDisabled:r.mode==="forecast_mode",firstMonthOfFY:i.firstMonthOfFY,onOpenAccountViewMode:f,onResyncReports:e.onResyncReports,isPageFetchInProgress:e.isPageFetchInProgress,lastRefreshSuccessTime:i?.status?.lastRefreshSuccessTime})}):null]}):null})},jo=(e,t,a=!0,n=!1)=>{switch(e.reportId){case"net_burn_or_income":return ho(e,t,a);case"net_burn_or_income_by_classes":return mo(e,t,a,n);case"revenue":return _o(e,t,a);case"revenue_by_classes":return xo(e,t,a,n);case"cash_position":return go(e,t,a);case"cash_in_cash_out":return uo(e,t,a);case"operating_expenses":return bo(e,t,a);case"operating_expenses_by_classes":return fo(e,t,a,n);default:return}},ko=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",q={chartWidth:"100%",barCount:8,barWidth:new N(j[6],j[8],j[10]),maxBarHeight:1},Oo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=q.chartWidth,barCount:n=q.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=Z(),o=B(),l=t??J.chartHeight.value(o),c=l-j[5],h=[...Array(n)].map((g,m)=>({height:(i?.[m]||q.maxBarHeight)*l,width:q.barWidth}));return s.jsx(Bo,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(Po,{children:h.map((g,m)=>s.jsx(Io,{children:s.jsx(Qe,{speed:2,width:q.barWidth.value(o),height:c,viewBox:`0 0 100 ${c}`,preserveAspectRatio:"none",animate:!0,backgroundColor:p.colors.grey3,foregroundColor:p.colors.grey4,children:s.jsx("rect",{x:"0",y:c-g.height-20,width:"100%",height:g.height,rx:"4",ry:"4"})})},`bar-loader-${m}-${g.height}`))})})},Bo=u.div`
327
327
  width: 100%;
328
328
  height: 100%;
329
329
  border-radius: ${d.sp2};
@@ -368,4 +368,4 @@ import{J as B,y as Z,F as _,ax as ke,V as s,bD as Xe,T as qe,t as Je,bE as Ke,o
368
368
  align-items: center;
369
369
  height: 100vh;
370
370
  margin-top: ${d.sp8};
371
- `,ba=e=>{const t=B(),a=Z(),[n,i]=S.useState(!1),r=_.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:o,selectedClassesViewRangeReport:l,uiState:c,downloadParams:h,analytics:g,onBackClick:m,updateDownloadStateHandler:f,onAdditionalBalanceSelectionChanged:x}=e,{insights:w}=o,{selectedCOABalancesRange:y,timeframe:b,selectedAdditionalBalances:j,downloadState:k}=c,V=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!V,A=ke(),H=A.loggedInUserRole!=null&&!mt(A.loggedInUserRole),M=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";S.useEffect(()=>{async function T(){await Zt({report:l!==void 0&&l.uiState.accountViewMode==="classes"?l:o,filter:o.filter,coaBalancesRange:y,isCompareModeOn:P,reportView:l!==void 0?l.uiState.accountViewMode:"account_group",classesToFilterOut:l!==void 0?l.uiState.classesToFilterOut:[],...h,reportType:H||M?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),g?.trackDownload(R(o.reportId),Y(b),"excel",P),f("Completed")}n&&k!=="In-Progress"&&(i(!1),f("In-Progress"),T())},[h,k,o.filter,n,P,y,o,l,b,g,f,H,M,e.isZeniCOAUsed]);const L=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0||o.allTimeframeTicks.length===0,W=o.fetchState==="In-Progress"||o.fetchState==="Not-Started",v=ht([e?.reportsResyncFetchState??{fetchState:"Not-Started"},l??{fetchState:"Not-Started"}]).fetchState==="In-Progress"&&l?.uiState.accountViewMode==="classes";S.useEffect(()=>{const T=P||c.mode==="forecast_mode"?3:1;x(P,j,T)},[t]);const C=T=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Je.Event.search,R(o.reportId),T.type,T.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(T)},{autoCompleteData:G,autoCompleteActions:X,scrollPosition:ae,...O}=e,I=s.jsx(Ke,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:L,isDownloading:k==="In-Progress"}],onDownloadClick:async T=>{if(T==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(No,{children:[s.jsx(Xe,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:m,rightSideComponent:I,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:C}},source:"DashboardReportPage",style:{zIndex:2}}),W?s.jsx(Do,{children:s.jsx(qe,{size:"Standard",start:!0})}):L?s.jsx(Gt,{style:{background:a.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Et}):s.jsxs(s.Fragment,{children:[s.jsxs(Lo,{windowSize:t,children:[s.jsx(Ao,{...O}),s.jsx(To,{highlightedRangeReport:o,uiState:c}),v?s.jsx(Oo,{}):s.jsx(zo,{...O}),s.jsx(Ro,{children:s.jsx(kt,{insights:w})})]}),s.jsx(Fo,{scrollPosition:ae,isPageFetchInProgress:v,...O})]})]})},To=Q.memo(cs,K),zo=Q.memo(ps,K),Fo=Q.memo(Co,K),Ao=Q.memo(co,K);export{ba as default};
371
+ `,ba=e=>{const t=B(),a=Z(),[n,i]=S.useState(!1),r=_.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:o,selectedClassesViewRangeReport:l,uiState:c,downloadParams:h,analytics:g,onBackClick:m,updateDownloadStateHandler:f,onAdditionalBalanceSelectionChanged:x}=e,{insights:w}=o,{selectedCOABalancesRange:y,timeframe:b,selectedAdditionalBalances:$,downloadState:k}=c,V=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!V,E=ke(),H=E.loggedInUserRole!=null&&!mt(E.loggedInUserRole),M=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";S.useEffect(()=>{async function T(){await Zt({report:l!==void 0&&l.uiState.accountViewMode==="classes"?l:o,filter:o.filter,coaBalancesRange:y,isCompareModeOn:P,reportView:l!==void 0?l.uiState.accountViewMode:"account_group",classesToFilterOut:l!==void 0?l.uiState.classesToFilterOut:[],...h,reportType:H||M?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),g?.trackDownload(R(o.reportId),G(b),"excel",P),f("Completed")}n&&k!=="In-Progress"&&(i(!1),f("In-Progress"),T())},[h,k,o.filter,n,P,y,o,l,b,g,f,H,M,e.isZeniCOAUsed]);const L=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0||o.allTimeframeTicks.length===0,W=o.fetchState==="In-Progress"||o.fetchState==="Not-Started",v=ht([e?.reportsResyncFetchState??{fetchState:"Not-Started"},l??{fetchState:"Not-Started"}]).fetchState==="In-Progress"&&l?.uiState.accountViewMode==="classes";S.useEffect(()=>{const T=P||c.mode==="forecast_mode"?3:1;x(P,$,T)},[t]);const C=T=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Je.Event.search,R(o.reportId),T.type,T.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(T)},{autoCompleteData:Y,autoCompleteActions:X,scrollPosition:ae,...O}=e,I=s.jsx(Ke,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:L,isDownloading:k==="In-Progress"}],onDownloadClick:async T=>{if(T==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(No,{children:[s.jsx(Xe,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:m,rightSideComponent:I,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:C}},source:"DashboardReportPage",style:{zIndex:2}}),W?s.jsx(Do,{children:s.jsx(qe,{size:"Standard",start:!0})}):L?s.jsx(Yt,{style:{background:a.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Ft}):s.jsxs(s.Fragment,{children:[s.jsxs(Lo,{windowSize:t,children:[s.jsx(Eo,{...O}),s.jsx(To,{highlightedRangeReport:o,uiState:c}),v?s.jsx(Oo,{}):s.jsx(zo,{...O}),s.jsx(Ro,{children:s.jsx(kt,{insights:w})})]}),s.jsx(Ao,{scrollPosition:ae,isPageFetchInProgress:v,...O})]})]})},To=Q.memo(cs,K),zo=Q.memo(ps,K),Ao=Q.memo(Co,K),Eo=Q.memo(co,K);export{ba as default};
@@ -0,0 +1,12 @@
1
+ import{av as u,V as o,b6 as f,o as p}from"./index-RSYdG57D.js";import{a as s}from"./sentry-D087_5zX.js";import{a as h,n as m}from"./mui-Bi6zxcZy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="18000dbc-2663-4c48-b626-947d107b620f",e._sentryDebugIdIdentifier="sentry-dbid-18000dbc-2663-4c48-b626-947d107b620f")}catch{}})();const v=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const i=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,d]=u(l,r),[t,c]=s.useState(null);a!=null&&t==null&&!d&&c(a);const b=e&&i.mode==="light"?.7:.2;return(e||n)&&t!=null?o.jsx(y,{contextWiseOpacity:b,newYearAnimationEnabled:n,children:o.jsx(f,{style:{width:"inherit",height:"inherit",display:"block"},animationData:t,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
2
+ display: flex;
3
+ flex: 1 1 auto;
4
+ flex-direction: column;
5
+ width: inherit;
6
+ position: absolute;
7
+ top: ${p.sp0};
8
+ z-index: 0;
9
+ height: ${e=>e.newYearAnimationEnabled?"100%":"60vh"};
10
+ opacity: ${e=>e.contextWiseOpacity};
11
+ pointer-events: none;
12
+ `;export{v};
@@ -1,4 +1,4 @@
1
- import{aP as y,hE as u,J as $,V as l,o as i,am as c,an as w}from"./index-DkG4Gq_1.js";import{n as t}from"./mui-jyIGzSd8.js";import{g as k}from"./BoxItem-Qhw9iPt9-um8RiO3S.js";import{o as v}from"./commonDimensions-D0kIxeo5-kKnpvScR.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f947323d-6017-4921-8313-7be7793c9a7d",e._sentryDebugIdIdentifier="sentry-dbid-f947323d-6017-4921-8313-7be7793c9a7d")}catch{}})();function J({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:p,logo:x,summary:f,direction:b,status:m}=e,g=r.length>0?r:f,a=y("0,0.00",p),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:x?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(E,{windowSize:o,children:[l.jsx(C,{windowSize:o}),l.jsx(P,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(V,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{aO as y,hD as u,J as $,V as l,o as i,al as c,am as w}from"./index-RSYdG57D.js";import{n as t}from"./mui-Bi6zxcZy.js";import{g as k}from"./BoxItem-CACRFWG2-DTCzjEaX.js";import{o as v}from"./commonDimensions-ClmbdehE-DR4Uvnd8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="32c8c419-bc1a-4915-89e6-c47e08277f7d",e._sentryDebugIdIdentifier="sentry-dbid-32c8c419-bc1a-4915-89e6-c47e08277f7d")}catch{}})();function J({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:p,logo:x,summary:f,direction:b,status:m}=e,g=r.length>0?r:f,a=y("0,0.00",p),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:x?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(C,{windowSize:o,children:[l.jsx(P,{windowSize:o}),l.jsx(E,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(V,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -49,16 +49,16 @@ import{aP as y,hE as u,J as $,V as l,o as i,am as c,an as w}from"./index-DkG4Gq_
49
49
  word-break: break-word;
50
50
  text-overflow: ellipsis;
51
51
  overflow: hidden;
52
- `,E=t.div`
52
+ `,C=t.div`
53
53
  display: flex;
54
54
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
55
55
  align-items: center;
56
- `,P=t(w)`
56
+ `,E=t(w)`
57
57
  color: ${e=>e.color};
58
58
  -webkit-box-orient: vertical;
59
59
  -webkit-line-clamp: 1;
60
60
  display: -webkit-box;
61
- `,C=t.div`
61
+ `,P=t.div`
62
62
  display: ${e=>e.windowSize==="small"?"none":"block"};
63
63
  width: ${i.sp1};
64
64
  height: ${i.sp1};
@@ -73,4 +73,4 @@ import{aP as y,hE as u,J as $,V as l,o as i,am as c,an as w}from"./index-DkG4Gq_
73
73
  margin-left: ${i.sp3};
74
74
  text-align: right;
75
75
  width: ${e=>v.amountWidth.valuePx(e.windowSize)};
76
- `;export{J as q};
76
+ `;export{J as H};
@@ -1,6 +1,6 @@
1
- import{y as M,J as S,V as t,bD as I,b4 as F,hN as Y,o,F as z,p as u,cv as C,dh as E,di as _,dc as L,dj as T,x as B,aj as N,am as R,u as g}from"./index-DkG4Gq_1.js";import{a as x}from"./sentry-CkqzujGZ.js";import{n as a}from"./mui-jyIGzSd8.js";import{bh as V}from"./zeni-epic-state-B9mN2lN3.js";import{$ as q}from"./BoxItem-Qhw9iPt9-um8RiO3S.js";import{o as A}from"./commonDimensions-D0kIxeo5-kKnpvScR.js";import{q as J}from"./DepositAccTransactionItem-DJ_V8Mx7-BuWiOxQp.js";import"./liveblocks-CZpRcduP.js";import"./core-CBRgKovr.js";import"./recharts-CCz6EACy.js";import"./lottie-CvYZqvKo.js";import"./analytics-Cu6vrn8M.js";import"./lexical-BgntzHWG.js";import"./utils-CvgqAgFT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="d4111c85-6807-4728-84db-22a3b1025e8e",e._sentryDebugIdIdentifier="sentry-dbid-d4111c85-6807-4728-84db-22a3b1025e8e")}catch{}})();const l=z.getLocalizedStrings(),P={listItemMargin:new B(g[3],g[8])};function X(e){const i=E(e,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,r=>r.length>0);return L(d,r=>({date:r[0].transactionDate,transactions:T(r,m=>m.transactionDate,"desc")}))}const G=Y(X),pe=({transactionListView:e,onBackClick:i})=>{const d=M(),r=S(),m=x.createRef(),p=x.useRef(null),c=G(e.transactions),j=e.depositAccountName,b=c.length===0,k=n=>b===!1?c[n].transactions.length*A.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(b===!1){const s=c[n];return t.jsx(w,{style:{...h},children:t.jsx(y,{windowSize:r,children:t.jsxs($,{children:[t.jsx(Q,{children:V().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,f)=>t.jsx(J,{data:D,boxType:q(f,s.transactions.length)},f))})]})})})}else return t.jsx(w,{style:{...h},children:t.jsx(H,{children:t.jsx(y,{windowSize:r,children:t.jsx(O,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(K,{children:[t.jsx(I,{title:`${j} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:d.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(F,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:c.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,y=a.div`
2
- margin: ${e=>`${o.sp0} ${P.listItemMargin.valuePx(e.windowSize)}`};
3
- `,H=a.div`
1
+ import{d as M,J as S,V as t,bD as I,b4 as F,hM as Y,o,F as z,p as u,cu as C,dg as E,dh as _,db as L,di as T,y as B,ai as R,al as V,u as g}from"./index-RSYdG57D.js";import{a as x}from"./sentry-D087_5zX.js";import{n as a}from"./mui-Bi6zxcZy.js";import{bh as A}from"./zeni-epic-state-DnYFo_hK.js";import{$ as J}from"./BoxItem-CACRFWG2-DTCzjEaX.js";import{o as N}from"./commonDimensions-ClmbdehE-DR4Uvnd8.js";import{H as P}from"./DepositAccTransactionItem-CZ7v1T4S-CDGkzdT3.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="b72694b5-5224-453f-9f40-3a341f6c0edb",e._sentryDebugIdIdentifier="sentry-dbid-b72694b5-5224-453f-9f40-3a341f6c0edb")}catch{}})();const l=z.getLocalizedStrings(),H={listItemMargin:new B(g[3],g[8])};function X(e){const i=E(e,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,r=>r.length>0);return L(d,r=>({date:r[0].transactionDate,transactions:T(r,m=>m.transactionDate,"desc")}))}const q=Y(X),pe=({transactionListView:e,onBackClick:i})=>{const d=M(),r=S(),m=x.createRef(),p=x.useRef(null),c=q(e.transactions),k=e.depositAccountName,f=c.length===0,j=n=>f===!1?c[n].transactions.length*N.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=c[n];return t.jsx(y,{style:{...h},children:t.jsx(w,{windowSize:r,children:t.jsxs($,{children:[t.jsx(Q,{children:A().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,b)=>t.jsx(P,{data:D,boxType:J(b,s.transactions.length)},b))})]})})})}else return t.jsx(y,{style:{...h},children:t.jsx(G,{children:t.jsx(w,{windowSize:r,children:t.jsx(O,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(K,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:d.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(F,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},y=a.div``,w=a.div`
2
+ margin: ${e=>`${o.sp0} ${H.listItemMargin.valuePx(e.windowSize)}`};
3
+ `,G=a.div`
4
4
  display: flex;
5
5
  height: 100%;
6
6
  flex: 1 1 auto;
@@ -13,10 +13,10 @@ import{y as M,J as S,V as t,bD as I,b4 as F,hN as Y,o,F as z,p as u,cv as C,dh a
13
13
  flex-direction: column;
14
14
  width: 100%;
15
15
  padding-bottom: ${o.sp7};
16
- `,O=a(R)`
16
+ `,O=a(V)`
17
17
  display: flex;
18
18
  color: ${e=>e.theme.colors.grey2};
19
- `,Q=a(N)`
19
+ `,Q=a(R)`
20
20
  display: flex;
21
21
  height: 21px;
22
22
  margin-bottom: ${o.sp2};
@@ -1,4 +1,4 @@
1
- import{J as H,a9 as O,F as N,cH as U,aF as J,V as n,cr as Q,cs as q,ct as G,ad as K,aS as X,x as b,e_ as Y,o as Z,ba as ee,u as o}from"./index-DkG4Gq_1.js";import{a as w}from"./sentry-CkqzujGZ.js";import{n as h}from"./mui-jyIGzSd8.js";import{bi as T}from"./zeni-epic-state-B9mN2lN3.js";import{e as ne}from"./BankAccountSection-Ct31GOKt-CVtHTMeV.js";import{M as te}from"./MagicLinkTitleSection-BeTuROc4-DFHTf3Jg.js";import{W as ae,A as oe}from"./BankAccountWarningSection-ko9DqAKK-CrxKdVDa.js";import{T as ie}from"./MailingDetailsSection-q49nDsf9-6vdFNevB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="666a231f-2522-4f66-994d-3e5f330919a3",e._sentryDebugIdIdentifier="sentry-dbid-666a231f-2522-4f66-994d-3e5f330919a3")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},D="domesticWireDetailsPage",k="bankAccountSection",j="mailingAddressSection",B=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:$,isMagicLink:f,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:L,onAddressClick:R,onBackClick:C}=e,u=H(),c=O({mode:"onBlur",reValidateMode:"onChange",defaultValues:w.useMemo(()=>se(s,r),[s,r])}),[W,g]=w.useState(!1),a=N.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=N.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{g(!1),c.reset(),C?.()},onCancelClick:()=>{g(!1)}},F=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&L?.(d)};w.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&U(()=>F(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),S=!J(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[W===!0?n.jsx(Q,{titleComponent:n.jsx(G,{children:a.discardTitle}),descriptionComponent:n.jsx(q,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:f?n.jsx(te,{companyName:$??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:f,isDirty:S,onBackClick:C,setShowConfirmationPopup:g}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(K,{...c,children:n.jsxs("form",{id:B(D),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:j,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:R})]})})]}),n.jsx(X,{formId:B(D),primaryBtn:{label:f?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!f,cancelBtn:{label:E.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{S?g(!0):(c.reset(),C?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[j]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
1
+ import{J as O,a9 as U,F as N,cG as q,aE as G,V as n,cq as H,cr as J,cs as K,ac as Q,aS as Z,y as b,eZ as X,o as Y,ba as ee,u as o}from"./index-RSYdG57D.js";import{a as w}from"./sentry-D087_5zX.js";import{n as h}from"./mui-Bi6zxcZy.js";import{bi as T}from"./zeni-epic-state-DnYFo_hK.js";import{e as ne}from"./BankAccountSection-hcKEMs80-ujPW3TnU.js";import{M as te}from"./MagicLinkTitleSection-BA-i6vzA-BnqIfeCZ.js";import{W as ae,A as oe}from"./BankAccountWarningSection-CpxVDMSZ-BNQxexaw.js";import{T as ie}from"./MailingDetailsSection-EwtoQ2TZ-uOWaBvAh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e7fd39ca-2991-4d55-9640-4e55d10b14ca",e._sentryDebugIdIdentifier="sentry-dbid-e7fd39ca-2991-4d55-9640-4e55d10b14ca")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},D="domesticWireDetailsPage",k="bankAccountSection",$="mailingAddressSection",B=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:g,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:C}=e,u=O(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:w.useMemo(()=>se(s,r),[s,r])}),[E,f]=w.useState(!1),a=N.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=N.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{f(!1),c.reset(),C?.()},onCancelClick:()=>{f(!1)}},F=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&X.test(d)===!0&&R?.(d)};w.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>F(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),S=!G(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[E===!0?n.jsx(H,{titleComponent:n.jsx(K,{children:a.discardTitle}),descriptionComponent:n.jsx(J,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:j??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:g,isDirty:S,onBackClick:C,setShowConfirmationPopup:f}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(Q,{...c,children:n.jsxs("form",{id:B(D),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(Z,{formId:B(D),primaryBtn:{label:g?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{S?f(!0):(c.reset(),C?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
2
2
  padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
3
  padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
4
  padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
@@ -7,7 +7,7 @@ import{J as H,a9 as O,F as N,cH as U,aF as J,V as n,cr as Q,cs as q,ct as G,ad a
7
7
  `,de=h(ee)`
8
8
  color: ${e=>e.theme.colors.champion};
9
9
  margin-left: ${e=>i.marginLeft.valuePx(e.size)};
10
- margin-top: ${Z.sp3};
10
+ margin-top: ${Y.sp3};
11
11
  `,le=h.div`
12
12
  display: flex;
13
13
  flex-direction: column;