@zeniai/web-app-ui 4.14.38-qa → 4.14.39-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 (432) hide show
  1. package/dist/assets/{ACHDetailsPage-BShpKoIj-fWd9thRi.js → ACHDetailsPage-B5qIuZya-Dqn8ZaVl.js} +6 -6
  2. package/dist/assets/{AIPerformancePage-CFErwUsE-snITC-s1.js → AIPerformancePage-BHB45mP--CWtWN8JR.js} +23 -23
  3. package/dist/assets/AccountInfoPage-Cd5xYT1g-BylH1aam.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-CJ7ycVIK-3aE5KJwU.js +149 -0
  5. package/dist/assets/{AccountLockedInfoModal-c30P9O_3-7xneSCwL.js → AccountLockedInfoModal-Dox7IuAX-C5qPLBPz.js} +6 -6
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CO9BYPWm-C-h2FArs.js → AccountReconDetailsDrawerPage-Bqty08m0-Dbr-jmu7.js} +5 -5
  7. package/dist/assets/{AccountRow-BrW_eEjE-DNRjFVcP.js → AccountRow-D1cjRJJD-Dsnq1o4t.js} +9 -9
  8. package/dist/assets/{AccountsPromoCardStack-De2yNNuZ-CSno44se.js → AccountsPromoCardStack-Bs3naJHM-DvbUMPbJ.js} +17 -17
  9. package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-DwU9s4jD.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CsOmzC7v-Cj06wdOf.js → AddToWalletPage-CyRfqVDB-DtRghMSs.js} +12 -12
  11. package/dist/assets/AddressRoutes-DbIoDD0z.js +1 -0
  12. package/dist/assets/AddressScreen-Duz_V-eF.js +9 -0
  13. package/dist/assets/AgingReportsPage-xBFff3BM-B936IQ2N.js +79 -0
  14. package/dist/assets/{AiCfoScreen-BAk_dxw0.js → AiCfoScreen-DkKXC6Fw.js} +2 -2
  15. package/dist/assets/{AllUserItems-Dq7NcP-o-BAdmqEIT.js → AllUserItems-BJf6WPDo-D0H1tMjG.js} +7 -7
  16. package/dist/assets/{ApAgingDetailPage-Z5JgfH-e-BN9WDlLq.js → ApAgingDetailPage-CjBrPyi8-Dy0hX-gn.js} +5 -5
  17. package/dist/assets/{AppBasePage-B5sDynhi-KPVBtrs7.js → AppBasePage-CqDm-hnV-DluaESRo.js} +9 -9
  18. package/dist/assets/{AppDrawerContent-D9Q8ir0T-CSqphav9.js → AppDrawerContent-CVVWj66i-D4zioU_X.js} +6 -6
  19. package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-Bu-mEOHu.js +47 -0
  20. package/dist/assets/ArAgingChart-CBsqOd-4-CVCl4d59.js +24 -0
  21. package/dist/assets/{ArAgingDetailPage-B5vqkc3v-BVlxBAMs.js → ArAgingDetailPage-i7JObt60-CsyQx3rL.js} +1 -1
  22. package/dist/assets/{AttachmentView-CiYfninr-6iFibggZ.js → AttachmentView-CzC4skJ3-D2ObdnK2.js} +6 -6
  23. package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-B94s6jgr.js +38 -0
  24. package/dist/assets/{BankAccountSection-EZtscP2z-CnmlGLJZ.js → BankAccountSection-Di4sF52j-BobhPzIF.js} +3 -3
  25. package/dist/assets/{BankAccountWarningSection-DCfyIUlu-DWGOWwU8.js → BankAccountWarningSection-Cled-2cR-CypxFFmY.js} +10 -10
  26. package/dist/assets/{BankConnectionsSettingsPage-CQWy9jvt-6r8YHtRG.js → BankConnectionsSettingsPage-Ccnzq7st-DGOhp4FX.js} +52 -52
  27. package/dist/assets/{BillDetailPage-pt1k5AQf-C4XZbQqy.js → BillDetailPage-XXOwBfO1-DauaxUA2.js} +9 -9
  28. package/dist/assets/BillPayApprovalRoutes-S9Y_fMTz.js +1 -0
  29. package/dist/assets/{BillPayApprovalRuleDetailPage-Drh7Bhi8-DEQ3gHmS.js → BillPayApprovalRuleDetailPage-DFZ0csaT-1KbX_IY6.js} +2 -2
  30. package/dist/assets/{BillPayApprovalRulesPage-Cmyo59xB-B9Q9d_tb.js → BillPayApprovalRulesPage-COCypDcS-BjGZEACH.js} +9 -9
  31. package/dist/assets/{BillPayPromoPage-Dgpz2TLG-CIs4FndH.js → BillPayPromoPage-DOE2YIqC-C8ApdrdB.js} +7 -7
  32. package/dist/assets/{BillPayRoutes-C3s6um5A.js → BillPayRoutes-Bz92yFGI.js} +18 -18
  33. package/dist/assets/{BillPaySetUpPage-B6Pd_eBf-Ds0KjbN5.js → BillPaySetUpPage-BCJbZDsV-BF2fTyNr.js} +7 -7
  34. package/dist/assets/{BillingSettingsPage-CYsvBrFV-CkCbu93u.js → BillingSettingsPage-iImtlEmO-CBp1rdfh.js} +6 -6
  35. package/dist/assets/{BillsBulkReviewDrawerPage-DNnAmqWz-DGjq3gMe.js → BillsBulkReviewDrawerPage-B11GWM_0-Crsw24X2.js} +1 -1
  36. package/dist/assets/{BoxItem-B06DK4G--DWbBsOKU.js → BoxItem-Bxa1M4QU-BEQbjRW-.js} +4 -4
  37. package/dist/assets/{BusinessVerificationPage-Dgk5gyMv-C_48y3eC.js → BusinessVerificationPage-DSuJFoW1-mYZPYqnm.js} +8 -8
  38. package/dist/assets/{BusinessVerificationPageScreen-C0MRjLR6.js → BusinessVerificationPageScreen-BlaiKu4I.js} +2 -2
  39. package/dist/assets/{BusyIndication-Cd67eHX6-CtvBXiRL.js → BusyIndication-9zDqSKBP-WSsX6_uU.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-CcH9jUoZ-BDFM7Ge9.js → CardNumberSubText-_ZZbaz_k-D2s6-wsQ.js} +8 -8
  41. package/dist/assets/{CashbackDetailPage-5eysaHGf-CYaLHynC.js → CashbackDetailPage-DAZXitLt-Dn6UduwT.js} +24 -24
  42. package/dist/assets/{ChargeCardDetailPage-Diwf-gwZ-BiwCPZo-.js → ChargeCardDetailPage-B1VIpASk-D0l4y1IR.js} +20 -20
  43. package/dist/assets/{ChargeCardListPage-C-RTGkKK-B2_lKD4-.js → ChargeCardListPage-BOBepN-x-BtfglwWz.js} +36 -36
  44. package/dist/assets/{ChargeCardListTable-B-bNbtZQ-Dci6OLkr.js → ChargeCardListTable-YznzSsJo-KwncCUaT.js} +31 -31
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-Cu-zT5tO-BOra7Rvn.js → ChargeCardPaymentHistoryPage--jOwsMla-DQFHZBZ2.js} +19 -19
  46. package/dist/assets/ChargeCardPromoPage-DIfakIOK-CUSVcG-Z.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-BN8xSwU5.js → ChargeCardRoutes-PKJBtykP.js} +9 -9
  48. package/dist/assets/{ChargeCardSetupPage-BcTB9Yy5-r-uwgYnE.js → ChargeCardSetupPage-0bpVkeJs-yW1xF9DG.js} +4 -4
  49. package/dist/assets/{ChargeCardStatementsPage-B_ERvgmB-CYpHQAai.js → ChargeCardStatementsPage-ChWyQlw6-BDnJUrTu.js} +2 -2
  50. package/dist/assets/CheckDepositDrawerPage-BS7hnyZn-C-RoPs-w.js +206 -0
  51. package/dist/assets/{CollapsableReportTable-h0vIfI8o-B6GpVtrk.js → CollapsableReportTable-DNfFkAts-CoCUKzx3.js} +40 -40
  52. package/dist/assets/{CompanyOfficerDetailsSection-CWADX4kZ-BPWcwdB2.js → CompanyOfficerDetailsSection-CrOIN4IW-wL1QY22J.js} +23 -23
  53. package/dist/assets/{CompanyPassportCard-DF9LFrFD-DKr80bar.js → CompanyPassportCard-CkzYFTrp-DRHCWpeb.js} +4 -4
  54. package/dist/assets/{CompanyPassportPage-BtAopyLq-CYUPpkJA.js → CompanyPassportPage-FE6yli6h-Dd4_9uh3.js} +14 -14
  55. package/dist/assets/CompanyPassportScreen-BxfK5qi-.js +1 -0
  56. package/dist/assets/CompleteProfile-Cb8i1XgZ-BjB2Cj8T.js +52 -0
  57. package/dist/assets/ConfettiBurst-BZCXEGYA-2D0_Pemr.js +1 -0
  58. package/dist/assets/ConnectionAuthScreen-Wp_pgh6b.js +11 -0
  59. package/dist/assets/{ConstrainedInnerElement-hv51KpGg-D4gYEuVE.js → ConstrainedInnerElement-CgdnMeoA-CE1VZ_Vz.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-C2xU6c51-DBwl6xUl.js → CreateOrEditVendorPage-CzpSgxbO-k7E9cu5j.js} +10 -10
  61. package/dist/assets/{CreditCardPaymentDrawerPage-CeagMaCu-WyeO0sfn.js → CreditCardPaymentDrawerPage-c_q0MsSO-dQfGXEwP.js} +7 -7
  62. package/dist/assets/{CurrencySelectField-B8EoF2aF-CpaeLEvO.js → CurrencySelectField-BAh7SHrG-BY-wwlD4.js} +5 -5
  63. package/dist/assets/{CustomerOnboardingActivationPage-CIeR2XvU-C2ojqyMc.js → CustomerOnboardingActivationPage-f3Aa6E5r-CsLUjIve.js} +6 -6
  64. package/dist/assets/CustomerOnboardingAuthScreen-CTK0e_jx.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-CHM5gdzL.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-kUbwh2r2-XN6Qwg1Y.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-Cjt3eU6d.js} +12 -12
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-Br0jy7Pu-BRxlJCi7.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-wTFuOqC8.js} +12 -12
  68. package/dist/assets/{CustomerOnboardingPage-Dm2Si769-Cmr-TTFk.js → CustomerOnboardingPage-B9hSO88_-DWmXd-Uc.js} +7 -7
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-Cz81Q5jC-_9JVpPYF.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-GHwnhZEx.js} +7 -7
  70. package/dist/assets/CustomerOnboardingRoutes-liI38PH4.js +23 -0
  71. package/dist/assets/{Dashboard-DReG_aaf-CJroxq1R.js → Dashboard-BJ_oIHab-R3_sy9De.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-BXSlwsR7-Bifyqc1s.js → DashboardReportPage-BemzMw2e-DvGvflyG.js} +11 -11
  73. package/dist/assets/{DashboardRoutes-CcC7_3PW.js → DashboardRoutes-C7dEIbTS.js} +3 -3
  74. package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-DP44-3NB.js +12 -0
  75. package/dist/assets/{DefaultTenantHome-d55WPyJZ.js → DefaultTenantHome-CkG7rrVy.js} +1 -1
  76. package/dist/assets/DepositAccTransactionItem-CyFi1P_L-VEy51_-P.js +76 -0
  77. package/dist/assets/{DepositAccTransactionListPage-C-FAvZwD-BlyjU0oU.js → DepositAccTransactionListPage-DvBRRUdZ-FPrNb8c2.js} +6 -6
  78. package/dist/assets/DomesticWireDetailScreen-CgfzlsVD.js +18 -0
  79. package/dist/assets/{DomesticWireDetailsPage-BaiSpc0N-Ch_6qZVT.js → DomesticWireDetailsPage-DCDo3aHI-DZy_Auc2.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-BpRKCn-0-L4byV6ko.js → DownloadOverlay-D_lL1sPW-DBEVtdkQ.js} +18 -18
  81. package/dist/assets/{DrawerPage-DQ3Xuekx-C25HKZ4X.js → DrawerPage-DesxXhZk-qxdDcPRN.js} +10 -10
  82. package/dist/assets/DrawerScreen-IScn_gPb.js +1 -0
  83. package/dist/assets/EditPeoplePage-QvPy_Six-pqhLCmsP.js +55 -0
  84. package/dist/assets/{EditReimbursementDetailPage-CC2BjMkR-BA33kcGZ.js → EditReimbursementDetailPage-C0ZDkboO-Ds7tBMbu.js} +17 -17
  85. package/dist/assets/EntityDetailPage-l7nXIsyF-D-OEpTX_.js +18 -0
  86. package/dist/assets/EntityDetailRoutes-DCBMx6-C.js +1 -0
  87. package/dist/assets/{EntitySummarySection-vsEMiXYh-b447Pkl8.js → EntitySummarySection-BwX0a4JL-CYDWshdA.js} +12 -12
  88. package/dist/assets/{ExpenseAutomationOverviewPage-B3HPfIsK-BWcr0uLA.js → ExpenseAutomationOverviewPage-EdyHjbff-QECZrSJL.js} +13 -13
  89. package/dist/assets/ExpenseAutomationPage-DA22Qofw-QWboM4Rp.js +3614 -0
  90. package/dist/assets/ExpenseAutomationRoutes-DVcJr4np.js +20 -0
  91. package/dist/assets/{ExpressPayPage-BH7oCW_F-Cn_ygI86.js → ExpressPayPage-EMP6inpX-C812vhu_.js} +6 -6
  92. package/dist/assets/{FeaturePreviewPage-DSv61BhF-CnLFcwsn.js → FeaturePreviewPage-SYJm-3aR-BnuhMtuP.js} +2 -2
  93. package/dist/assets/FeaturePreviewScreen-C3Y9pgiz.js +1 -0
  94. package/dist/assets/{FollowStepsSection-Bgy9MpO4-C5zXR2w0.js → FollowStepsSection-BxESVqJD-BFhnhk7r.js} +9 -9
  95. package/dist/assets/{GlobalReviewListPage-VRq_gimm-q7Ngmw6E.js → GlobalReviewListPage-D5_ACa-q-DZo6UglL.js} +7 -7
  96. package/dist/assets/{InformationCardStack-rx0fypl3-DX-Qi0u8.js → InformationCardStack-B_qQUEYD-DRekqbq_.js} +4 -4
  97. package/dist/assets/InsightsCardStack-BsQzoVzj-BI_nQIXQ.js +79 -0
  98. package/dist/assets/{InsightsSection-ByFf2oGn-O2kwXghv.js → InsightsSection-B6CNlTNH-BFr6MnTG.js} +9 -9
  99. package/dist/assets/{IntegrationsSettingsPage-Cj01Nub6-DanmyN_T.js → IntegrationsSettingsPage-DP6fAccq-CigqZ0SM.js} +2 -2
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-C2PM97sv--IsCSEC1.js → InternationalWireSwiftDetailsPage-VdG7bDZi-Rlu68XJQ.js} +11 -11
  101. package/dist/assets/InternationalWireVerificationPage-COC6lZml-CR1f2JQF.js +65 -0
  102. package/dist/assets/{InviteFormPage-dsMpScvq-BSmEB5t_.js → InviteFormPage-DN02jRy5-UECY6Ai9.js} +6 -6
  103. package/dist/assets/{InvitePageListView-e7vGSbFa-lWVPew31.js → InvitePageListView-CP4K9tJi-CrsR5dUL.js} +42 -42
  104. package/dist/assets/InvitePeoplePage-VTM6kM1u-DEUyoj-n.js +12 -0
  105. package/dist/assets/{InvoiceUploadSection-Dg1-uunA-CdV_lYCj.js → InvoiceUploadSection-it-ZYl1N-gndqObmu.js} +12 -12
  106. package/dist/assets/{IssueChargeCardPage-CyF9wrb0-C00uByr7.js → IssueChargeCardPage-CVfuvGey-DLZauQU0.js} +20 -20
  107. package/dist/assets/{LabeledAddressValue-3l0Bv00--D4SAlVUn.js → LabeledAddressValue-DDrQcHIE-CrQXufeN.js} +2 -2
  108. package/dist/assets/LabeledAddressValueField-BgWwd5Gw-BjdQu4oY.js +45 -0
  109. package/dist/assets/{LabeledControlledCheckBoxField-BgC8y0D6-CE2WH-rg.js → LabeledControlledCheckBoxField-CcPO1k23-wgZTidrw.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-3qI_4noU-BeknFMe3.js → LabeledCountryMultiSelectField-BYYjzwUG-Dh1nhUsB.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-BV3h9bh7-46gx1dC-.js → LabeledCreatableSingleSelectField-CISYMojq-C0CA90PE.js} +6 -6
  112. package/dist/assets/{LabeledDocumentField-rriEcsdr-BwrcuQUL.js → LabeledDocumentField-C_bcFxdY-rxfuitkN.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-DoVSg3nZ-BFaTo2zA.js → LabeledDropDownFormattedTextField-ScGGCap8-5XDDElAU.js} +5 -5
  114. package/dist/assets/{LabeledEmailInputField-CKWZEkTs-K1-nx9hv.js → LabeledEmailInputField-BppuWRbl-BqM5ToGw.js} +7 -7
  115. package/dist/assets/{LabeledNameField-yaSRe5Vt-B1WOmtZJ.js → LabeledNameField-mxSNQk3k-DSUzbE3j.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-D5QUlcEP-CTACJg8Z.js → LabeledSingleSelectField-C6ctNzkA-DJY2_gU-.js} +2 -2
  117. package/dist/assets/{LabeledText-DGZ7hxY4-BoX7lemD.js → LabeledText-C8Y7EOsX-BG8Z0MTH.js} +3 -3
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-BjyfWV9u.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-eV0BTiQT.js} +11 -11
  119. package/dist/assets/{LabeledZeniRolesDropDownField-jIrTovp--KnDiAlnF.js → LabeledZeniRolesDropDownField-BZtreVpj-BQKcvtGQ.js} +6 -6
  120. package/dist/assets/{LinkJETransactionPage-Bvbqpltz-TQTwB5Ra.js → LinkJETransactionPage-CKq4oiX9-BMq1iE01.js} +10 -10
  121. package/dist/assets/{LockCardPage-DyEQBJYx-BqE2JwR7.js → LockCardPage-CZENNby7-fCE1WXTx.js} +14 -14
  122. package/dist/assets/{LowBalancePopup-C2vHKMNF-B1dLaV9R.js → LowBalancePopup-1727S1ri-CiFxrWZ6.js} +5 -5
  123. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-C5Jji5Bc.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DNJbU9wA.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-BDPVvMNI.js +1 -0
  126. package/dist/assets/MagicLinkRoutes-BBf-u6YU.js +72 -0
  127. package/dist/assets/MagicLinkSignInScreen-BGYMIMGW.js +12 -0
  128. package/dist/assets/{MagicLinkSuccessPage-B1LBYM2F-BhpgnlDO.js → MagicLinkSuccessPage-QMkZgQLG-0gaJkIUo.js} +6 -6
  129. package/dist/assets/{MagicLinkTitleSection-ClAnBBt9-Cym29B_c.js → MagicLinkTitleSection-CARU1oLQ-D-x2cYul.js} +9 -9
  130. package/dist/assets/MailingDetailsSection-ByOPaJ05-C__aFJd6.js +21 -0
  131. package/dist/assets/MobileAppDrawer-TF-9OTZ8.js +1 -0
  132. package/dist/assets/{MoreMenuButton-Ct8k8Oax-Jl7RdYoC.js → MoreMenuButton-BsBKwXvk-DeCIVX9G.js} +18 -18
  133. package/dist/assets/{MyBankConnectionsSettingsPage-CBNYcuP4-D719I_IU.js → MyBankConnectionsSettingsPage-BdgIIhL1-DSKnFya9.js} +6 -6
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-n71n40uQ-DGClXmnK.js → MyPendingActivationChargeCardListPage-CX38bDdq-CKY6khDW.js} +1 -1
  135. package/dist/assets/MyProfileSettingsPage-DYu0Fx6I-MQ1Uu5yx.js +85 -0
  136. package/dist/assets/{NavBarWithPicker-CbjFNysh-Gsj0zn-Z.js → NavBarWithPicker-CGGEvLwe-xLu9BDbC.js} +8 -8
  137. package/dist/assets/{NavigationArrow-Dpc7u6y4-BduXlhxm.js → NavigationArrow-CTNkKUtV-Cv--eO3H.js} +1 -1
  138. package/dist/assets/NavigationDots-Dvce3gHt-B5IBT8ql.js +15 -0
  139. package/dist/assets/{NewGlobalMerchantPage-B10sY6Q_-DHbg5KdP.js → NewGlobalMerchantPage-D_f7z47T-DZeAHBD8.js} +12 -12
  140. package/dist/assets/NoDataChart-CrKeqWSr-aTXx8C4D.js +26 -0
  141. package/dist/assets/{NoDataTable-C6Q2Anpz-Dt08aukB.js → NoDataTable-4vPXmPYF-MAxQ6k5D.js} +1 -1
  142. package/dist/assets/{NotFoundPage-4mPhXD5--B-cMmgSa.js → NotFoundPage-BLWPU1wU-BDFevjLh.js} +4 -4
  143. package/dist/assets/NotFoundScreen-BOQb1xUE.js +1 -0
  144. package/dist/assets/NotificationRoutes-CHyP48D4.js +1 -0
  145. package/dist/assets/{NotificationSettingsPage-BTxCoB_b-GR1fpvE7.js → NotificationSettingsPage-CDiDLX3A-CdiPU3_w.js} +30 -30
  146. package/dist/assets/NotificationsListConfig-B5pDa4cJ-C0GWEb8S.js +1 -0
  147. package/dist/assets/{NotificationsPage-D41h0mS6-C9DBLIC1.js → NotificationsPage-Ccl7Dny1-CsnU2sZr.js} +18 -18
  148. package/dist/assets/{OpExByVendorPage-BV_uJSCh-CweIBxzu.js → OpExByVendorPage-spd-nKV4-Cz37eGG7.js} +9 -9
  149. package/dist/assets/OverlayContainerPage-BG9y5C0t-DvO1fY_N.js +11 -0
  150. package/dist/assets/{PandLWithForecastPage-Cj3UWjG4-DJOh_oXL.js → PandLWithForecastPage-TSoe4Z7F-xn1jaFoi.js} +11 -11
  151. package/dist/assets/PandLWithForecastRoutes-DWeIYgqG.js +1 -0
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BWFl695q-COL-e_83.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-BDBHBe3a.js} +10 -10
  153. package/dist/assets/{PeoplePage-DcGqWtAP-DPX6yuPR.js → PeoplePage-b5_I0qOw-lWi2XLJ6.js} +16 -16
  154. package/dist/assets/PeopleRoutes-D96ZRShY.js +22 -0
  155. package/dist/assets/PerformanceRoutes-w_Iip8ae.js +1 -0
  156. package/dist/assets/{Preview-Bd0e5eLk.js → Preview-C2zvk1tu.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-C9JoJQeH-CkXkxCBK.js → ProductsCarousel-C3M0ocdF-2raBZnNq.js} +3 -3
  158. package/dist/assets/{PromoBaseCards-mFk7SsOr-aETB5Ygs.js → PromoBaseCards-BOGJI2ws-Cm4e0wPQ.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-CJsIrEZq-D0yN3PXk.js → QBOConnectionDialog-CmpnnuzP-BhhJabU7.js} +4 -4
  160. package/dist/assets/{QBOConnectionScreen--nNex-HH.js → QBOConnectionScreen-CCeXLrlB.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-C_fqHza_-KCFm35xW.js → QBOSetupSection-DjnN9dgv-6umyaC6d.js} +14 -14
  162. package/dist/assets/ReferralListScreen-DY8vZLmY.js +5 -0
  163. package/dist/assets/ReimbursementApprovalRoutes-kgV17rI7.js +1 -0
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BMZnKpsk-CZta2n6p.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-Bjrjwfbm.js} +2 -2
  165. package/dist/assets/ReimbursementApprovalRuleDetailScreen-CrQlcAIE.js +1 -0
  166. package/dist/assets/{ReimbursementApprovalRulesPage-C2zNa8dT-Dx_jUEM7.js → ReimbursementApprovalRulesPage-BsCTIqUJ-CQyWyznw.js} +5 -5
  167. package/dist/assets/{ReimbursementDetailPage-B1o8ea57-Dof3tsbT.js → ReimbursementDetailPage-BbyxE2uL-DAWO6MN3.js} +16 -16
  168. package/dist/assets/{ReimbursementPromoPage-Df5QmXzC-BHlanHYp.js → ReimbursementPromoPage-CyEgwqcf-D5kNu4r7.js} +10 -10
  169. package/dist/assets/{ReimbursementRoutes-CNHtnGTV.js → ReimbursementRoutes-9PVCls-1.js} +3 -3
  170. package/dist/assets/{ReimbursementSetUpPage-D450RVsP-w7ex11t8.js → ReimbursementSetUpPage-RETPkEQd-zKPq6P2O.js} +9 -9
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-CGZmi3lN.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-Cp5RXmHi.js} +1 -1
  172. package/dist/assets/{ReloadCard-D5cvzWxe-DYoPEBgn.js → ReloadCard-Bdoo0XiI-CgAT4eqC.js} +4 -4
  173. package/dist/assets/{ReportTableViewSelector-Ig41fOPb-rBlSQ3e9.js → ReportTableViewSelector-Bc1K7mU_-CRH7B2Xe.js} +9 -9
  174. package/dist/assets/{ReportsPage-CRAVAUTO-CDAZl-Wm.js → ReportsPage-BOTHMLWh-DYARtx-l.js} +7 -7
  175. package/dist/assets/ReportsRoutes-DAq_Kk7t.js +1 -0
  176. package/dist/assets/{RevenueChart-DtQu0KAn-CJ0e9bCc.js → RevenueChart-DvyZ3aO7-D41DyD4f.js} +18 -18
  177. package/dist/assets/{ReviewDetailsPage-vui4TqeA-CrYNT8pq.js → ReviewDetailsPage-BIMg1n2e-w51F2KtJ.js} +19 -19
  178. package/dist/assets/{ReviewOverlay-CUnL7H-a-B6WGfdWG.js → ReviewOverlay-CxwoiOLC-C8uqNFMN.js} +9 -9
  179. package/dist/assets/RewardsRoutes-2CDMw_SM.js +1 -0
  180. package/dist/assets/RoleWithToolTip-Ct3_VuDM-zYFjvA-a.js +22 -0
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-D_Cls2jC-BbXiHOdz.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-DjOTIJE4.js} +3 -3
  182. package/dist/assets/{ScheduleDetailsPage-DmSLuM8g-VVVHjW5Q.js → ScheduleDetailsPage-5FWpLRtd-DdkQQcuL.js} +3 -3
  183. package/dist/assets/{ScheduleSequenceTable-js9_P_Lo-D3P2gakZ.js → ScheduleSequenceTable-R3-PsXES-F_YuqAKO.js} +8 -8
  184. package/dist/assets/{ScreenRoutes-tN3DKXwj.js → ScreenRoutes-D-VUXgUA.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-DYRWWXcL-Bt4sXwAD.js → SetUpAccountSection-CctbMmoK-BIwzDeUn.js} +16 -16
  186. package/dist/assets/{SettingsRoutes-B7xS4Bv0.js → SettingsRoutes-BCFW0mUs.js} +7 -7
  187. package/dist/assets/{SetupPagesScreen-Dec5-vG9.js → SetupPagesScreen-D_H5m3yT.js} +6 -6
  188. package/dist/assets/{SignIn-CUJkZb3S-Cl_ZsA0p.js → SignIn-CmgmnRm4-BefvH7_D.js} +16 -16
  189. package/dist/assets/{SignInScreen-BCab6yM0.js → SignInScreen-DNDiNfUZ.js} +1 -1
  190. package/dist/assets/SignOutScreen-CGgsrBqm.js +9 -0
  191. package/dist/assets/{SpendManagementListViewPage-BieufnDb-BvlrNZeN.js → SpendManagementListViewPage-CFUxCqkU-DWVJ8T34.js} +11 -11
  192. package/dist/assets/{SpendManagementPerTabPage-BmUp80QX-5QSrTfVD.js → SpendManagementPerTabPage-C-kqNTci-61EpQHHf.js} +55 -55
  193. package/dist/assets/{SpendManagementSection-DKZNTYXT-JIQihEyD.js → SpendManagementSection-CIz4nE_w-CLtvB3Jo.js} +24 -24
  194. package/dist/assets/{StatementItem-Dyt5Q0eR-DMqzBE6A.js → StatementItem-vVtoBN2w-CGfe2rf-.js} +3 -3
  195. package/dist/assets/StatementsPage-As5WOnMR-C07ZcwWR.js +58 -0
  196. package/dist/assets/{StatusSwitcher-BfQ9VbBH-Dgu_WG_g.js → StatusSwitcher-Bv-ozN6U-BMGDezKv.js} +4 -4
  197. package/dist/assets/{SubTabSwitcher-CzGiuhk3-ryyXc5wR.js → SubTabSwitcher-D7QeM6nb-C5vo1QLg.js} +3 -3
  198. package/dist/assets/SuccessAnimation-hijccO_0-CXGCZdn9.js +13 -0
  199. package/dist/assets/SummaryCard-C2qoTsAY-LkZgmc3l.js +1 -0
  200. package/dist/assets/{TaskDetailPage-CyZxZdJB-Ciw5Uu5K.js → TaskDetailPage-QMk4DTDK-DuNonnMy.js} +39 -39
  201. package/dist/assets/TaskListScreen-DXCPcaMg.js +9 -0
  202. package/dist/assets/{TaskManagementPage-ucVAdv7x-fUgA7HRS.js → TaskManagementPage-BJwp32Ph-D-u68mRD.js} +64 -64
  203. package/dist/assets/TaskRoutes-Biii2LFo.js +9 -0
  204. package/dist/assets/{TimeRangeSwitcher-C3jXm39I-0VbXr2bN.js → TimeRangeSwitcher-D00bDDhP-BG1zi2IK.js} +2 -2
  205. package/dist/assets/{TimeframeSwitcher-CcYg-YQJ-DOGZ9gMN.js → TimeframeSwitcher-DA99HdHt-BQziHQmj.js} +6 -6
  206. package/dist/assets/{TimeframeSwitcherWithToggle-w4YJno-p-C9o85JE8.js → TimeframeSwitcherWithToggle-DyggDIQj-BfhUUfrK.js} +2 -2
  207. package/dist/assets/{TopExCard-D2PRxvFc-DYT8NSuE.js → TopExCard-Z1WabZ8c-CBwSMJxd.js} +6 -6
  208. package/dist/assets/{TopExDetailPage-C0uHdU7N-nxnaVy-a.js → TopExDetailPage-CzHG4f9E-gwAj-hq_.js} +18 -18
  209. package/dist/assets/{TransactionActivityLogPage-CqYb19tY-BdO5tRUg.js → TransactionActivityLogPage-CGKnjNfU-BApvDmwN.js} +1 -1
  210. package/dist/assets/TransactionDetailPage-1-mLOWSz-rzQ235mE.js +903 -0
  211. package/dist/assets/TransactionDetailRoutes-C36yIgf5.js +1 -0
  212. package/dist/assets/TransactionDetailScreen-B9QxqSWW.js +5 -0
  213. package/dist/assets/TransactionList-BB-xoIGm-Cfa3U35Q.js +153 -0
  214. package/dist/assets/{TransactionListBig-BrDWayQS-CYutGkGW.js → TransactionListBig-C5Sf5Xh--ILOBUs5F.js} +14 -14
  215. package/dist/assets/TransactionListPage-Cj7h1Ros-C0trpcRO.js +35 -0
  216. package/dist/assets/TransactionListRoutes-DYDLTelW.js +1 -0
  217. package/dist/assets/{TransactionVendorDetailPage-CQQuAR6V-BrnkOOxy.js → TransactionVendorDetailPage-SsrSOk3O-DvVZeIE6.js} +13 -13
  218. package/dist/assets/{TransferDrawerPage-DfFm-1-3-BUPWCPmv.js → TransferDrawerPage-BvKZ7vHF-gusMX693.js} +21 -21
  219. package/dist/assets/{TreasuryOverviewPage-CKSanlUG-hcTuDL8m.js → TreasuryOverviewPage-DwvjMR4_-v_PwtYfB.js} +15 -15
  220. package/dist/assets/{TreasuryPromoPage-Dyip3H10-CaL--OIv.js → TreasuryPromoPage-CtTFvSQW-CBUcln_7.js} +14 -14
  221. package/dist/assets/TreasuryRoutes-BL7M49IT.js +45 -0
  222. package/dist/assets/TreasuryStatementsPage-Catz8shX-B10cgIs5.js +58 -0
  223. package/dist/assets/{TreasuryTaxLetterPage-D3cV3a-8-BTBXzOEj.js → TreasuryTaxLetterPage-D8hzCL5o-8bU6d1vy.js} +4 -4
  224. package/dist/assets/TrendChart-Bnp4Pcdf-CsoTufL2.js +16 -0
  225. package/dist/assets/{TrendWithTransactions-It4KDov3-SqmxJLwp.js → TrendWithTransactions-3D1FvM8G-Dwn_v3ES.js} +7 -7
  226. package/dist/assets/{UncategorizedAccountsMappingPage-BxBz2Ce0-BuxR3cW9.js → UncategorizedAccountsMappingPage-DbyY-dYB-DJ-xU1nq.js} +5 -5
  227. package/dist/assets/{UnitIntegrationPage-gVgsk2ji-Be3rQKfw.js → UnitIntegrationPage-CTzme1te-Kzmir-JV.js} +4 -4
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-C5m8jqup-BuDXKqpt.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-vi85vqk-.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-DRwBzOwn-Bu88G5Uf.js → Vendor2FAPopup-D0zYKkIv-Corqbsks.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-DWmocppw.js +1 -0
  231. package/dist/assets/{VendorDetailPage-jci1LqX3-CcT9Y7_3.js → VendorDetailPage-Br9wIOnI-D1eJIjzb.js} +5 -5
  232. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-BpbupYob.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-8pYT3u-X-E-s_MI6R.js → VendorFiling1099EditablePage-himC7iD3-DuTr9_9d.js} +24 -24
  234. package/dist/assets/{VendorFirstReviewPage-CafakxA1-2lhthp_z.js → VendorFirstReviewPage-BbknTCBD-DB1g9Qot.js} +15 -15
  235. package/dist/assets/{VendorInternationalWireDetailsPage-DJeI-ZFW-DsIia0J7.js → VendorInternationalWireDetailsPage-CS595Xgc-CmEESHX6.js} +9 -9
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-D43LaVfJ.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-YX2g8ETe-DB_XPKqM.js → VendorsAccountsSection-CgSJu8wq-CW2zmnnP.js} +4 -4
  238. package/dist/assets/{VendorsRoutes-BKpp91Ol.js → VendorsRoutes-C4N6gRBp.js} +23 -23
  239. package/dist/assets/{VerifyDevice-DeHW4GAi-Xw2L2uDk.js → VerifyDevice-Dvf0JsNN-CSGpw0v_.js} +2 -2
  240. package/dist/assets/VideoPlayer-VAzOGCDL-BYL37uoQ.js +77 -0
  241. package/dist/assets/{VideoPopup-CUP7ctgS-COd6keBu.js → VideoPopup-BqvZ-XIh-DBw1PWZ3.js} +5 -5
  242. package/dist/assets/WiseConfirmationScreen-DNU9Mqxk.js +12 -0
  243. package/dist/assets/{ZeniAccountDetailPage-7NdkdSg3-7e7alBpD.js → ZeniAccountDetailPage-GcwTJdB8-_6oIn_wc.js} +19 -19
  244. package/dist/assets/{ZeniAccountListViewPage-B-cs_xnc-DPQ7NJOh.js → ZeniAccountListViewPage-CdwO0Duy-G5U6kbnQ.js} +35 -35
  245. package/dist/assets/{ZeniAccountNavBarPieces-CjRip0v9-x_CaXaVR.js → ZeniAccountNavBarPieces-BrSIfL36-CgdxCVoA.js} +5 -5
  246. package/dist/assets/{ZeniAccountPromoPage-BikXtkeH-nFNGwlDD.js → ZeniAccountPromoPage-JrcedQYB-BtfY6t2a.js} +20 -20
  247. package/dist/assets/{ZeniAccountRoutes-C-qtUClC.js → ZeniAccountRoutes-uUgaZh13.js} +11 -11
  248. package/dist/assets/{ZeniAccountSetupPage-BRBsijVt-ZM0-bMDB.js → ZeniAccountSetupPage-TKBfbgzJ-Ovrdcrt5.js} +1 -1
  249. package/dist/assets/ZeniAccountStatementScreen-CPFcfx6A.js +9 -0
  250. package/dist/assets/{ZeniAvatar-pjdoqfWE-BIF5P_G9.js → ZeniAvatar-Bzhq25CU-DO1x3yqH.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-DDGvdmLF-DwYXGCDa.js → ZeniCopyright-DglqrTpl-iRqjfc19.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-K3F-G3-0-D-lxuOwz.js → ZeniDatePicker-BHXPxPnI-CRe89Wst.js} +6 -6
  253. package/dist/assets/{ZeniTransferAmountSlider-Cdg0TlHk-DNSmlK3y.js → ZeniTransferAmountSlider-BcaZZuAw-BeVI8Qc_.js} +2 -2
  254. package/dist/assets/{accountMappingHelper-CMy_dzCB.js → accountMappingHelper-BVO1DeGB.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-DZDSR_90.js → add-to-wallet-DgdBD8_G-CV8RMwhX.js} +1 -1
  256. package/dist/assets/{analytics-Buyhprzd.js → analytics-CZ3wLx3P.js} +1 -1
  257. package/dist/assets/{analyticsHelper-D9xdJK4b-C4FHTXha.js → analyticsHelper-CAYdbjhS-CB8PHHr8.js} +1 -1
  258. package/dist/assets/{analyticsHelper-CMK0FF_Q.js → analyticsHelper-RqmdZ4w4.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-CxvC0Cnw.js → arrow-south-east-round-PEovUgvH-DB6pjtdO.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-BXD0aAHO.js → auto-transfer-rule-mbafm5D3-CrxycPHV.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-tC3a4UX-.js → avatar-Dz7aEm3d-B1h__iIh.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-B3HKnrvN.js → bank-letter-BOcVjN6J-B0RfZgcz.js} +1 -1
  263. package/dist/assets/{calculateSize-zPet_z9g-DAbLjY3A.js → calculateSize-B2w5JPEU-BqvYgtxt.js} +1 -1
  264. package/dist/assets/{chartTypes-Dq3hUz_T-boMzYtYd.js → chartTypes-CD3vrBsI-4eICteeW.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-BFtrn8ev.js → clock-CJkylEKt-o4osYW2f.js} +1 -1
  266. package/dist/assets/common-BpxEACHl-SqfXrkK_.js +1 -0
  267. package/dist/assets/{commonDimensions-CGHIQ2To-BnULbNsl.js → commonDimensions-Oz1tdAcx-Cf4qEJmU.js} +1 -1
  268. package/dist/assets/{commonTypes-BAJPaPYg-2nCYtMXG.js → commonTypes-5tEXwrX4-F6mC0EfI.js} +1 -1
  269. package/dist/assets/{core-5sxMy3sZ.js → core-CVVdXRky.js} +1 -1
  270. package/dist/assets/{dash.all.min-CTYaOyx7.js → dash.all.min-C2vle8BQ.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-BXr_Lgnt.js → decodeURIComponentSafe-Da8IsQO4.js} +1 -1
  272. package/dist/assets/{dnd-Cfx_ai1S.js → dnd-CcRW__D6.js} +3 -3
  273. package/dist/assets/{dollar-round-D18u7nlm-BAPPb_YV.js → dollar-round-D18u7nlm-BkHqkGHG.js} +1 -1
  274. package/dist/assets/{downloadPdf-BI2Y41h2-Bu4K6jWB.js → downloadPdf-Dsuxeias-CPZEuUrl.js} +1 -1
  275. package/dist/assets/{empty-CDKH4CBD.js → empty-BHbH22vT.js} +1 -1
  276. package/dist/assets/{empty-DLdEFiEn.js → empty-M26y6UyA.js} +1 -1
  277. package/dist/assets/epic-CiCSO3K5.js +2 -0
  278. package/dist/assets/{filter-cZIFUNvj-DR0oScp6.js → filter-cZIFUNvj-BeqNUW3e.js} +1 -1
  279. package/dist/assets/getLocaleForTenant-DBVI4ovb.js +1 -0
  280. package/dist/assets/{gift-box-Cmt9OgIZ-CLkhO8vB.js → gift-box-Cmt9OgIZ-CR0qdQnT.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BXfLioW6.js → graphic-no-data-l-DU4J8fDt-CslJm2fU.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DESi1ZUm.js → graphic-no-data-net-burn-l-CzmycA0m-Cj977U7E.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-Cw8-rpU_.js → handshake-BPg58FML-tq0X0Kiz.js} +1 -1
  284. package/dist/assets/{helper-z5-P4a-y-BYdbtuif.js → helper-Ckm10Uko-U81O1HXL.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-DiF-LRfD.js → hyperlink-DQyCeXx2-D504LM2b.js} +1 -1
  286. package/dist/assets/{index-XrFKA72B.js → index-BZOQWoRX.js} +1 -1
  287. package/dist/assets/{index-DBW4633P.js → index-BngCC-zG.js} +2513 -2513
  288. package/dist/assets/{index-a2iFhnhM.js → index-ClO_SXUU.js} +1 -1
  289. package/dist/assets/{index-Bsc8ZpcH.js → index-DiKwyzh3.js} +1 -1
  290. package/dist/assets/{index-DCFJ_6wy.js → index-jI4vB8VC.js} +1 -1
  291. package/dist/assets/{index-B6cTzWKI.js → index-uxYir9Bm.js} +1 -1
  292. package/dist/assets/{lexical-BAlvZZhY.js → lexical-DPtIv0jk.js} +1 -1
  293. package/dist/assets/{liveblocks-BsQBjN-0.js → liveblocks-CHs9GmLG.js} +17 -17
  294. package/dist/assets/{lottie-C2R6rGxS.js → lottie-D68Xb3aQ.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-cRyD83dc.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-dsBogxKz-D2PE8B4K.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-C2AYKRBA.js} +1 -1
  297. package/dist/assets/{mapSpacerToTreeNode-DMDEaLzQ-A_DJ4_H7.js → mapSpacerToTreeNode-XgUp1xUb-VRJ6un-L.js} +1 -1
  298. package/dist/assets/{mapTimeframeBalancesToTreeNode-CW_wzI5T-u6fAoA1F.js → mapTimeframeBalancesToTreeNode-Bre8FfBF-XT9mQqpQ.js} +1 -1
  299. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-CGvd2Wmc.js +1 -0
  300. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-BVVmyoym.js +1 -0
  301. package/dist/assets/{media-player-BX2lrCiw.js → media-player-D-MhIu5T.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-C1UnGCa2.js → money-2cg1MuG4-DZxnWrWu.js} +1 -1
  303. package/dist/assets/{mui-C_CXevf3.js → mui-DyGc7Pg8.js} +3 -3
  304. package/dist/assets/{page-detail-CWX5S47F-DCvximFz.js → page-detail-CWX5S47F-CXX81aXy.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-BBMfUdRp.js → page-summary-D7_VQHwN-V_V9hbFl.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-Kk0Lc2Dj.js → panelSelectedMixin-Cddsb26L-bdcPTs-R.js} +1 -1
  307. package/dist/assets/{pathToGoBack-D5dFRCuJ.js → pathToGoBack-CsNBJVc2.js} +1 -1
  308. package/dist/assets/pdf-BxqSCr4b.js +13 -0
  309. package/dist/assets/{pdf-lib-BLLlynNv.js → pdf-lib-jHogAi_2.js} +1 -1
  310. package/dist/assets/{plaid-Yyr3DBd8.js → plaid-xWfKHEqu.js} +1 -1
  311. package/dist/assets/{pusher-CQAuuZH-.js → pusher-pngVK7xY.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-HLL7c7Ix.js → radio-default-CiSgisfh-sLqGTxQv.js} +1 -1
  313. package/dist/assets/{react-CEO525cE.js → react-B3z4onjT.js} +1 -1
  314. package/dist/assets/{react-B9pn5zl_.js → react-BC4BTRLG.js} +1 -1
  315. package/dist/assets/{react-COI-5ihT.js → react-BElDOWJc.js} +1 -1
  316. package/dist/assets/{react-BFykbpKw.js → react-BuoJ-wtg.js} +1 -1
  317. package/dist/assets/{react-YbLjyGgM.js → react-CuUL9Ybl.js} +1 -1
  318. package/dist/assets/{react-D7RjW9MW.js → react-DpxbyLPn.js} +1 -1
  319. package/dist/assets/{react-BmJ9wc4M.js → react-DyZ9MM_3.js} +3 -3
  320. package/dist/assets/{react-BEZA9UfV.js → react-mv5GPJR4.js} +1 -1
  321. package/dist/assets/{recharts-CTWfsY-L.js → recharts-CMjB5mmq.js} +36 -36
  322. package/dist/assets/{routePaths-GPfd2GU_.js → routePaths-B2Ez8xiG.js} +1 -1
  323. package/dist/assets/{sentry-DINNQYpi.js → sentry-CHlUi953.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-DFaW8QSC.js → shield-DOlUxcFf-u1WG480f.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-05QrBanM.js → spend-limit-D6SyboD4-DKcfJ6au.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-aLNB35t7-DBx2vR3D.js +1 -0
  327. package/dist/assets/{toChartData-BUf5HHim-BlDtF069.js → toChartData-DUL6vnzJ-CHvhrhF4.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-kO6lyet9.js → transaction-placeholder-CpOwZAMG-BRNI97Lv.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-CAOnjxt9.js → undo-b_3XZ5CX-CHRencVP.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-fA9hPtxv.js → unlock-BPWn2I5L-BfuVrsIJ.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BbiwxEOu.js → upload-reimbursement-receipt-O2N8vcO7-vYnAE0FP.js} +1 -1
  332. package/dist/assets/{uploadAttachment-DJA30WSD-plv7LCEU.js → uploadAttachment-Ck4wivBR-D3iFmRh8.js} +18 -18
  333. package/dist/assets/{uploadReceipts-CqDftTRt-Dkc7WGe9.js → uploadReceipts-CIgkuVpu-DQDaRUPe.js} +1 -1
  334. package/dist/assets/{url-dGBmezhj.js → url-7B3Yv5Zc.js} +1 -1
  335. package/dist/assets/{url-BnrMVJye.js → url-CDjIygfF.js} +1 -1
  336. package/dist/assets/{useDeviceId-Dhw-GVYT.js → useDeviceId-CPhY1yO5.js} +1 -1
  337. package/dist/assets/useInitialThreadRequest-D3BmEojQ.js +1 -0
  338. package/dist/assets/{useLongPress-GCK2COYQ-CI59nlOM.js → useLongPress-GCK2COYQ-C-ro8Pxu.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-Bi23t2Q-.js → usp-line-BBd1wKwW-BHKdiO38.js} +1 -1
  340. package/dist/assets/{utils-DmE88LS_.js → utils-BpkJZQMI.js} +12 -12
  341. package/dist/assets/withTransactionSidePanel-D4jXMzEn.js +8 -0
  342. package/dist/assets/{zeni-epic-state-a7Sj5mjO.js → zeni-epic-state-D8D2Skiq.js} +6 -6
  343. package/dist/assets/{zeni-icon-only-COM3FcNM.js → zeni-icon-only-BUIVMYdQ.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +4 -4
  346. package/dist/assets/AccountInfoPage-B8upbXj9-vrSWYUF1.js +0 -18
  347. package/dist/assets/AccountInfoPageContent-CKpeDot5-D2xjzg6V.js +0 -149
  348. package/dist/assets/AddAddressForCardDrawer-riOPLnxb-mAwCf0Pc.js +0 -6
  349. package/dist/assets/AddressRoutes-DQjryUkl.js +0 -1
  350. package/dist/assets/AddressScreen-C6vJhn2u.js +0 -9
  351. package/dist/assets/AgingReportsPage-D9I9afnB-yHHj3Wmi.js +0 -79
  352. package/dist/assets/ApprovalRulesSettingsPage-DVGvJsQG-C6QLqN1r.js +0 -47
  353. package/dist/assets/ArAgingChart-Tcu0Lja_-BdIZJO8_.js +0 -24
  354. package/dist/assets/BalancesInsightWithToolTip-tiQUQUbX-DzkOWVQM.js +0 -38
  355. package/dist/assets/BillPayApprovalRoutes-BlJjLh3Z.js +0 -1
  356. package/dist/assets/ChargeCardPromoPage-Cz3rNFwM-Bi8y2V52.js +0 -222
  357. package/dist/assets/CheckDepositDrawerPage-D7_usOVn-J4mV41ZF.js +0 -206
  358. package/dist/assets/CompanyPassportScreen-ChKPVSO-.js +0 -1
  359. package/dist/assets/CompleteProfile-CsbsHQ0p-Bd33SFhs.js +0 -52
  360. package/dist/assets/ConfettiBurst-duD341Gp-DUM2aCzm.js +0 -1
  361. package/dist/assets/ConnectionAuthScreen--S5MRVzc.js +0 -11
  362. package/dist/assets/CustomerOnboardingAuthScreen-56Gd68oe.js +0 -1
  363. package/dist/assets/CustomerOnboardingContainerPage-DVL4s-eV-DfPVnT4w.js +0 -1
  364. package/dist/assets/CustomerOnboardingRoutes-BM1FvHLp.js +0 -23
  365. package/dist/assets/DashboardSidebarBackgroundAnimation-B3dtVAe2-ceF5qNn2.js +0 -12
  366. package/dist/assets/DepositAccTransactionItem-YuSXjbLh-B9DRqaZc.js +0 -76
  367. package/dist/assets/DomesticWireDetailScreen-BavbRsOF.js +0 -18
  368. package/dist/assets/DrawerScreen-C_bLtDRv.js +0 -1
  369. package/dist/assets/EditPeoplePage-8DalSMWH-jeT76aa4.js +0 -55
  370. package/dist/assets/EntityDetailPage-fmWuxHTZ-DkQICR3e.js +0 -18
  371. package/dist/assets/EntityDetailRoutes-BJPdCnex.js +0 -1
  372. package/dist/assets/ExpenseAutomationPage-4LJefgNh-CHSe-eX7.js +0 -3628
  373. package/dist/assets/ExpenseAutomationRoutes-DVq6I4cf.js +0 -20
  374. package/dist/assets/FeaturePreviewScreen-DX_dSelb.js +0 -1
  375. package/dist/assets/InsightsCardStack-uJWMkIZL-BEQ1nM_Y.js +0 -79
  376. package/dist/assets/InternationalWireVerificationPage-Cr3sDrT--CUVEN_2T.js +0 -65
  377. package/dist/assets/InvitePeoplePage-BT_YVCP4-DtNP7JKz.js +0 -12
  378. package/dist/assets/LabeledAddressValueField-F9kvUR_r-DWIWqg4N.js +0 -45
  379. package/dist/assets/MagicLinkACHDetailsPage-lAAwAtH7-u0ZacaAy.js +0 -1
  380. package/dist/assets/MagicLinkDomesticWireDetailsPage-cv823ASo-CPv9egXH.js +0 -1
  381. package/dist/assets/MagicLinkInternationalWireDetailsPage-C_SjsgC9-nDwskxXL.js +0 -1
  382. package/dist/assets/MagicLinkRoutes-JRtQtFqQ.js +0 -72
  383. package/dist/assets/MagicLinkSignInScreen-DkCDkLiS.js +0 -12
  384. package/dist/assets/MailingDetailsSection-9_XLl4bT-uVaax-qs.js +0 -21
  385. package/dist/assets/MobileAppDrawer-D_NdxckS.js +0 -1
  386. package/dist/assets/MyProfileSettingsPage-BUMIjZYc-DIf9EMiw.js +0 -85
  387. package/dist/assets/NavigationDots-DCpslVnm-wapVz6Ga.js +0 -15
  388. package/dist/assets/NoDataChart-9-bhq204-Ck-FboCC.js +0 -26
  389. package/dist/assets/NotFoundScreen-DIsBJSaH.js +0 -1
  390. package/dist/assets/NotificationRoutes-BlE0nk7I.js +0 -1
  391. package/dist/assets/NotificationsListConfig-CylnViXd-DiKD1VlE.js +0 -1
  392. package/dist/assets/OverlayContainerPage-CkUYOhlh-BLbo4mkL.js +0 -11
  393. package/dist/assets/PandLWithForecastRoutes-Du4Y6NM_.js +0 -1
  394. package/dist/assets/PeopleRoutes-BBTvXpYa.js +0 -22
  395. package/dist/assets/PerformanceRoutes-BwZ7C83C.js +0 -1
  396. package/dist/assets/ReferralListScreen-DTl3cgUl.js +0 -5
  397. package/dist/assets/ReimbursementApprovalRoutes-Chwz3Zd6.js +0 -1
  398. package/dist/assets/ReimbursementApprovalRuleDetailScreen-3osscpq2.js +0 -1
  399. package/dist/assets/ReportsRoutes-BpBrdYFu.js +0 -1
  400. package/dist/assets/RewardsRoutes-j_a3QqIz.js +0 -1
  401. package/dist/assets/RoleWithToolTip-x2rnvWn9-BcsseCTF.js +0 -22
  402. package/dist/assets/SignOutScreen-BVFjhNbz.js +0 -9
  403. package/dist/assets/StatementsPage-CbtnJM5y-DFFjoYfI.js +0 -58
  404. package/dist/assets/SuccessAnimation-DA3343II-CPpeKMV2.js +0 -13
  405. package/dist/assets/SummaryCard-D61xzK3a-QerUeyNc.js +0 -1
  406. package/dist/assets/TaskListScreen-j6aXmdAS.js +0 -9
  407. package/dist/assets/TaskRoutes-CGRMEck8.js +0 -9
  408. package/dist/assets/TransactionDetailPage-D-NR_yZG-Ci72o0wJ.js +0 -921
  409. package/dist/assets/TransactionDetailRoutes-DT2_L5nu.js +0 -1
  410. package/dist/assets/TransactionDetailScreen-C-kbZYkM.js +0 -5
  411. package/dist/assets/TransactionList-f6yB-byH-BbsyqjjD.js +0 -157
  412. package/dist/assets/TransactionListPage-C-Z62y2d-Cs4hNKp4.js +0 -35
  413. package/dist/assets/TransactionListRoutes-CS-Aed2O.js +0 -1
  414. package/dist/assets/TreasuryRoutes-2SWOS6G5.js +0 -45
  415. package/dist/assets/TreasuryStatementsPage-mljf2Van-BxW1eeF3.js +0 -58
  416. package/dist/assets/TrendChart-fFlHCvNx-C-NDpGcx.js +0 -16
  417. package/dist/assets/VendorACHDetailsPage-By2Ya2bv-BZiTrUhh.js +0 -1
  418. package/dist/assets/VendorDomesticWireDetailsPage-uIDE-n5v-CZQCRVkI.js +0 -1
  419. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Co-5nTam-ShOnk0vp.js +0 -1
  420. package/dist/assets/VideoPlayer-DxIfGrPu-CxZJ5OEW.js +0 -77
  421. package/dist/assets/WiseConfirmationScreen-B8p2H0wE.js +0 -12
  422. package/dist/assets/ZeniAccountStatementScreen-BtXMxdDS.js +0 -9
  423. package/dist/assets/common-kiEGPQ33-i2MKa07U.js +0 -1
  424. package/dist/assets/epic-Bn4m6PJ6.js +0 -2
  425. package/dist/assets/getLocaleForTenant-BxHoiee7.js +0 -1
  426. package/dist/assets/mapLoadingInProgressToTreeNode-DrC2Zs2y-BM0pLknf.js +0 -1
  427. package/dist/assets/mapTimeframeBalancesToTreeNode-DvfKBCs5-pYXcOLbR.js +0 -1
  428. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-BAYHZBxR.js +0 -1
  429. package/dist/assets/pdf-DyB_VHQx.js +0 -13
  430. package/dist/assets/toCOABalancesWithID-P7keEtAg-DjgvOCvR.js +0 -1
  431. package/dist/assets/useInitialThreadRequest-CIvC2FkG.js +0 -1
  432. package/dist/assets/withTransactionSidePanel-C2pbazis.js +0 -8
@@ -1,4 +1,4 @@
1
- import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a7 as Wn,X as W,S as Pn,A as Ui,cQ as zn,cR as Zi,O as N,j as C,cS as qt,bE as Qt,cT as Jt,x as E,cs as Xt,v as en,I as st,bO as He,bg as Y,L as qi,aE as Qi,aG as Ji,y as de,ad as I,aj as wo,bj as yo,g as Te,cU as Xi,cV as se,bD as tn,bu as Fn,C as er,H as Ce,cW as dt,cX as Ve,cY as mt,l as _,bH as ne,cZ as bo,c_ as tr,w as nn,c$ as Je,d0 as Tn,d1 as nr,d2 as or,d3 as Vn,d4 as ir,d5 as rr,d6 as ar,at as ko,aq as lr,b_ as on,bZ as rn,d7 as cr,ar as jo,c1 as So,bm as sr,d8 as dr,d9 as hr,da as Dn,db as En,dc as ur,dd as pr,bo as gr,b6 as xr,de as fr}from"./index-DBW4633P.js";import{n as a,c as F}from"./mui-C_CXevf3.js";import{a as V,b as mr}from"./sentry-DINNQYpi.js";import{FA as Ot,Fl as an,FS as ln,FT as Ke,FU as cn,FV as sn,FW as dn,FX as hn,FY as Co,FZ as wr,Fn as Me,ci as Gn,bt as vo,F_ as $o,cs as yr,cp as br,FB as _o}from"./zeni-epic-state-a7Sj5mjO.js";import{N as ct,D as kr,R as jr,B as ve,u as A}from"./AccountRow-BrW_eEjE-DNRjFVcP.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]="60ded473-2926-4122-b333-62daf0824198",e._sentryDebugIdIdentifier="sentry-dbid-60ded473-2926-4122-b333-62daf0824198")}catch{}})();const Nt=[O.graphColor34,O.graphColor08,O.graphColor11,O.graphColor13,O.graphColor19,O.graphColor20,O.graphColor14,O.graphColor35,O.graphColor32,O.graphColor02,O.graphColor06,O.graphColor04,O.graphColor10,O.graphColor12,O.graphColor15,O.graphColor18];function un(e,n=0){const o=(i=>{const r=String.prototype.concat(...new Set(i));let l=0;for(let c=0;c<r.length;++c)l+=r.charCodeAt(c);return l})(e)+n*n*n;return Nt[Math.floor(o/Nt.length)%Nt.length]}function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return Z("0,0",e?.balance)}function J(e){return Z("0,0",e?.forecast)}function Lo(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.totalPercentValue)}return Z("0,0",e?.totalBalance)}function Tt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.forecastPercentValue)}return Z("0,0",e?.totalForecast)}function pe(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return ye("0.00%",Math.floor(100*n)/100)}return ye("0.00%",void 0)}function ge(e){if(e!=null&&e.forecast!=null){const n=Math.floor(100*(e.balance.amount-e.forecast.amount)/100);return Z("0,0",Object.assign({},e.forecast,{amount:n}))}return Z("0,0",null)}function Ao(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return ye("0.00%",Math.floor(100*n)/100)}return ye("0.00%",void 0)}function Bo(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor(100*(e.totalBalance.amount-e.totalForecast.amount)/100);return Z("0,0",Object.assign({},e.totalForecast,{amount:n}))}return Z("0,0",null)}const Ye=(e,n,o)=>{const{startDate:i,balanceType:r}=n,{dateFormat:{visual:l}}=N.getLocalizedStrings();switch(o){case"month":return r==="default"||r==="default_with_percent"?`${Ot(i,l.MMMYYYYFormat,e)}`:Mt(r,o);case"quarter":return r==="default"||r==="default_with_percent"?`${N.getLocalizedStrings().reports.quarterPrefix}${Ot(i,l.QYYYYformat,e)}`:Mt(r,o);case"year":return r==="default"||r==="default_with_percent"?`${Ot(i,l.YYYYformat,e)}`:Mt(r,o);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function Mt(e,n){return N.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const fg=(e,n,o)=>{const i=n.length==0?e:`${e}_${n.join("_")}`;return o!=null&&o.trim().length>0?`${i}_${o}`:`${i}_${Yi(10)}`},Sr=a.div`
1
+ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a7 as Wn,e as W,S as Pn,B as Ui,cN as zn,cO as Zi,O as N,m as C,cP as qt,bE as Jt,cQ as Qt,x as E,cs as Xt,_ as en,E as st,bO as He,bg as Y,L as qi,aE as Ji,aG as Qi,y as de,ad as I,aj as wo,bj as yo,j as Te,cR as Xi,cS as se,bD as tn,bu as Fn,C as er,H as Ce,cT as dt,cU as Ve,cV as mt,l as _,bH as ne,cW as bo,cX as tr,w as nn,cY as Qe,cZ as Tn,c_ as nr,c$ as or,d0 as Vn,d1 as ir,d2 as rr,d3 as ar,at as ko,aq as lr,b_ as on,bZ as rn,d4 as cr,ar as jo,c1 as So,bm as sr,d5 as dr,d6 as hr,d7 as Dn,d8 as En,d9 as ur,da as pr,bo as gr,b6 as xr,db as fr}from"./index-BngCC-zG.js";import{n as a,c as F}from"./mui-DyGc7Pg8.js";import{a as V,b as mr}from"./sentry-CHlUi953.js";import{Fu as Ot,Ff as an,FM as ln,FN as Ke,FO as cn,FP as sn,FQ as dn,FR as hn,FS as Co,FT as wr,Fh as Me,cj as Gn,bt as vo,FU as $o,cs as yr,cp as br,Fv as _o}from"./zeni-epic-state-D8D2Skiq.js";import{N as ct,D as kr,R as jr,B as ve,u as A}from"./AccountRow-D1cjRJJD-Dsnq1o4t.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]="4e910a2e-3b44-4c2d-93ad-c68d89b7f6b1",e._sentryDebugIdIdentifier="sentry-dbid-4e910a2e-3b44-4c2d-93ad-c68d89b7f6b1")}catch{}})();const Nt=[O.graphColor34,O.graphColor08,O.graphColor11,O.graphColor13,O.graphColor19,O.graphColor20,O.graphColor14,O.graphColor35,O.graphColor32,O.graphColor02,O.graphColor06,O.graphColor04,O.graphColor10,O.graphColor12,O.graphColor15,O.graphColor18];function un(e,n=0){const o=(i=>{const r=String.prototype.concat(...new Set(i));let l=0;for(let c=0;c<r.length;++c)l+=r.charCodeAt(c);return l})(e)+n*n*n;return Nt[Math.floor(o/Nt.length)%Nt.length]}function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return Z("0,0",e?.balance)}function Q(e){return Z("0,0",e?.forecast)}function Lo(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.totalPercentValue)}return Z("0,0",e?.totalBalance)}function Tt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.forecastPercentValue)}return Z("0,0",e?.totalForecast)}function pe(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return ye("0.00%",Math.floor(100*n)/100)}return ye("0.00%",void 0)}function ge(e){if(e!=null&&e.forecast!=null){const n=Math.floor(100*(e.balance.amount-e.forecast.amount)/100);return Z("0,0",Object.assign({},e.forecast,{amount:n}))}return Z("0,0",null)}function Ao(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return ye("0.00%",Math.floor(100*n)/100)}return ye("0.00%",void 0)}function Bo(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor(100*(e.totalBalance.amount-e.totalForecast.amount)/100);return Z("0,0",Object.assign({},e.totalForecast,{amount:n}))}return Z("0,0",null)}const Ye=(e,n,o)=>{const{startDate:i,balanceType:r}=n,{dateFormat:{visual:l}}=N.getLocalizedStrings();switch(o){case"month":return r==="default"||r==="default_with_percent"?`${Ot(i,l.MMMYYYYFormat,e)}`:Mt(r,o);case"quarter":return r==="default"||r==="default_with_percent"?`${N.getLocalizedStrings().reports.quarterPrefix}${Ot(i,l.QYYYYformat,e)}`:Mt(r,o);case"year":return r==="default"||r==="default_with_percent"?`${Ot(i,l.YYYYformat,e)}`:Mt(r,o);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function Mt(e,n){return N.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const fg=(e,n,o)=>{const i=n.length==0?e:`${e}_${n.join("_")}`;return o!=null&&o.trim().length>0?`${i}_${o}`:`${i}_${Yi(10)}`},Sr=a.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  width: 100%;
@@ -125,16 +125,16 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
125
125
  width: ${A.spacerLineWidth}px;
126
126
  `,Zr=a.div`
127
127
  width: ${A.statusWidth}px;
128
- `,Xe=({title:e,type:n})=>t.jsx(Gr,{widthValue:A[n],children:t.jsx(Er,{children:e})});function qr({sectionTitle:e,height:n,isLoading:o}){const i=N.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(zr,{height:n,children:t.jsxs(Fr,{children:[t.jsx(Tr,{children:t.jsx(se,{isLoading:o,customStyle:{height:s.sp4,width:A.leftLabelWidth},children:t.jsx(Dr,{"data-testid":y("account-recon-section-title",e),children:e})})}),t.jsxs(Vr,{children:[t.jsx(Rr,{children:t.jsx(se,{isLoading:o,customStyle:{height:s.sp7,width:A.bankBalanceTimeframeWidth,borderRadius:s.sp2},children:t.jsx(Xe,{title:i.bankBalance,type:"bankBalanceTimeframeWidth"})})}),t.jsx(Hr,{}),t.jsx(Kr,{children:t.jsx(se,{isLoading:o,customStyle:{height:s.sp7,width:A.clearedBalanceTimeframeWidth,borderRadius:s.sp2},children:t.jsx(Xe,{title:i.clearedBalance,type:"clearedBalanceTimeframeWidth"})})}),t.jsx(Yr,{children:t.jsx(se,{isLoading:o,customStyle:{height:s.sp7,width:A.varianceTimeframeWidth,borderRadius:s.sp2},children:t.jsx(Xe,{title:i.variance,type:"varianceTimeframeWidth"})})}),t.jsx(Ur,{}),t.jsx(Zr,{children:t.jsx(se,{isLoading:o,customStyle:{height:s.sp7,width:A.statusTimeframeWidth,borderRadius:s.sp2},children:t.jsx(Xe,{title:i.status,type:"statusTimeframeWidth"})})})]})]})})}const Qr=a.div`
128
+ `,Xe=({title:e,type:n})=>t.jsx(Gr,{widthValue:A[n],children:t.jsx(Er,{children:e})});function qr({sectionTitle:e,height:n,isLoading:o}){const i=N.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(zr,{height:n,children:t.jsxs(Fr,{children:[t.jsx(Tr,{children:t.jsx(se,{isLoading:o,customStyle:{height:s.sp4,width:A.leftLabelWidth},children:t.jsx(Dr,{"data-testid":y("account-recon-section-title",e),children:e})})}),t.jsxs(Vr,{children:[t.jsx(Rr,{children:t.jsx(se,{isLoading:o,customStyle:{height:s.sp7,width:A.bankBalanceTimeframeWidth,borderRadius:s.sp2},children:t.jsx(Xe,{title:i.bankBalance,type:"bankBalanceTimeframeWidth"})})}),t.jsx(Hr,{}),t.jsx(Kr,{children:t.jsx(se,{isLoading:o,customStyle:{height:s.sp7,width:A.clearedBalanceTimeframeWidth,borderRadius:s.sp2},children:t.jsx(Xe,{title:i.clearedBalance,type:"clearedBalanceTimeframeWidth"})})}),t.jsx(Yr,{children:t.jsx(se,{isLoading:o,customStyle:{height:s.sp7,width:A.varianceTimeframeWidth,borderRadius:s.sp2},children:t.jsx(Xe,{title:i.variance,type:"varianceTimeframeWidth"})})}),t.jsx(Ur,{}),t.jsx(Zr,{children:t.jsx(se,{isLoading:o,customStyle:{height:s.sp7,width:A.statusTimeframeWidth,borderRadius:s.sp2},children:t.jsx(Xe,{title:i.status,type:"statusTimeframeWidth"})})})]})]})})}const Jr=a.div`
129
129
  display: flex;
130
130
  flex-direction: row;
131
131
  height: ${e=>e.heightValue}px;
132
132
  align-items: center;
133
133
  padding-right: ${A.wrapperPadding}px;
134
- `,Jr=a(jo)`
134
+ `,Qr=a(jo)`
135
135
  user-select: none;
136
136
  color: ${e=>e.theme.colors.primary};
137
- `;function Xr({height:e,title:n}){return t.jsx(Qr,{heightValue:e,children:t.jsx(Jr,{"data-testid":y("account-recon-section-title",n),children:n})})}const ea=a.div`
137
+ `;function Xr({height:e,title:n}){return t.jsx(Jr,{heightValue:e,children:t.jsx(Qr,{"data-testid":y("account-recon-section-title",n),children:n})})}const ea=a.div`
138
138
  display: flex;
139
139
  flex: 1 1 auto;
140
140
  width: 100%;
@@ -249,7 +249,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
249
249
  height: ${s.sp1};
250
250
  `,De=a.div`
251
251
  display: flex;
252
- `,ja=({ancestorMetadata:e,depth:n,name:o})=>t.jsx(t.Fragment,{children:n>0?[...Array(n).keys()].map(i=>{const r=e[i];return t.jsxs(De,{children:[r.depth===0?t.jsx(Vn,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Ve,{},i):t.jsx(mt,{}):null,r.depth>=1?t.jsx(Vn,{depth:r.depth}):null]},o+i)}):null}),No=({ancestorMetadata:e,depth:n,name:o})=>{const i=W();return n===0?e[n].hasChildren===!1?t.jsx(Oo,{windowSize:i}):t.jsxs(De,{children:[t.jsx(Je,{depth:n}),t.jsx(Ve,{}),t.jsx(Je,{depth:n+1})]}):t.jsxs(t.Fragment,{children:[[...Array(n+1).keys()].map(r=>{const l=e[r],c=r!==n?e[r+1]:void 0;return t.jsxs(De,{children:[l.depth===0?t.jsx(Je,{depth:l.depth}):null,r>=2||r===1&&(n===r?l.hasChildren===!0:c!=null&&!c.isLastNode)?n===1?t.jsx(Tn,{index:1}):t.jsx(Tn,{index:2}):null,(n===r?l.hasChildren!==!0:c==null||c.isLastNode)?t.jsx(mt,{}):t.jsx(Ve,{},r),t.jsx(Je,{depth:l.depth+1})]},o+r)}),n===1&&e[n].hasChildren!=1?t.jsx(ka,{}):null]})},Mo=({ancestorMetadata:e,depth:n,name:o})=>n===0?t.jsx(ba,{}):t.jsx(t.Fragment,{children:[...Array(n).keys()].map(i=>{const r=e[i],l=i!==n?e[i+1]:void 0;return t.jsxs(De,{children:[r!=null&&r.depth===0?t.jsx(dt,{depth:r.depth}):null,l==null||l.isLastNode?t.jsx(mt,{}):t.jsx(Ve,{},i),t.jsx(dt,{depth:r!=null?r.depth+1:0})]},o+i)})}),Sa=({ancestorMetadata:e,depth:n,name:o})=>t.jsx(t.Fragment,{children:n>0?[...Array(n).keys()].map(i=>{const r=e[i];return r==null?null:t.jsxs(De,{children:[r.depth===0?t.jsx(dt,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Ve,{},i):t.jsx(mt,{}):null,r.depth>=1?t.jsx(dt,{depth:r.depth}):null]},o+i)}):null}),Ca=({depth:e,isLastNode:n,isLeaf:o,hasSiblings:i,hasChildren:r,collapsed:l,onIconClick:c})=>{let d=t.jsx(ya,{});return e===0&&r&&(d=t.jsx(hr,{collapsed:l,onIconClick:c})),e>0&&(r&&!i&&n&&(d=t.jsx(Dn,{collapsed:l,onIconClick:c})),o&&i&&n&&(d=t.jsx(En,{})),o&&i&&!n&&(d=t.jsx(ur,{})),r&&i&&!n&&(d=t.jsx(pr,{collapsed:l,onIconClick:c})),r&&i&&n&&(d=t.jsx(Dn,{collapsed:l,onIconClick:c})),n&&o&&(d=t.jsx(En,{}))),d},va=({depth:e,isLastNode:n,isLeaf:o,hasSiblings:i,hasChildren:r,collapsed:l,onIconClick:c})=>t.jsx(wa,{children:t.jsx(Ca,{depth:e,isLastNode:n,isLeaf:o,hasSiblings:i,hasChildren:r,collapsed:l,onIconClick:c})});function pn(e){const{displayName:n}=e;e.depth>4&&console.warn("cannot handle depth more than 4");const o=W();return t.jsxs(ma,{children:[e.classDepth!=null?t.jsx(No,{ancestorMetadata:e.classAnscestorMetadata??[],depth:e.classDepth,name:e.displayName}):e.noMarginForAccount===!1?t.jsx(Oo,{windowSize:o}):null,t.jsx(Sa,{ancestorMetadata:e.subAccountAnscestorMetadata,depth:e.depth,name:e.displayName}),t.jsx(va,{...e}),t.jsx(fa,{onClick:()=>e.onNameClick?.(),hasChildren:e.hasChildren,depth:e.depth,windowSize:o,title:n,children:n})]})}const H={balanceHeight:s.sp4,balanceWidth:"166px",balanceLeftMargin:s.sp4,titleWidth:new E(200,325,405),nameLogoWidth:new E(C[4],C[4]),nameLogoHeight:new E(C[4],C[4])},et=[new E(C[4],C[8]),new E(44,76),new E(69,102),new E(93,124),new E(113,143)],$a=a.div`
252
+ `,ja=({ancestorMetadata:e,depth:n,name:o})=>t.jsx(t.Fragment,{children:n>0?[...Array(n).keys()].map(i=>{const r=e[i];return t.jsxs(De,{children:[r.depth===0?t.jsx(Vn,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Ve,{},i):t.jsx(mt,{}):null,r.depth>=1?t.jsx(Vn,{depth:r.depth}):null]},o+i)}):null}),No=({ancestorMetadata:e,depth:n,name:o})=>{const i=W();return n===0?e[n].hasChildren===!1?t.jsx(Oo,{windowSize:i}):t.jsxs(De,{children:[t.jsx(Qe,{depth:n}),t.jsx(Ve,{}),t.jsx(Qe,{depth:n+1})]}):t.jsxs(t.Fragment,{children:[[...Array(n+1).keys()].map(r=>{const l=e[r],c=r!==n?e[r+1]:void 0;return t.jsxs(De,{children:[l.depth===0?t.jsx(Qe,{depth:l.depth}):null,r>=2||r===1&&(n===r?l.hasChildren===!0:c!=null&&!c.isLastNode)?n===1?t.jsx(Tn,{index:1}):t.jsx(Tn,{index:2}):null,(n===r?l.hasChildren!==!0:c==null||c.isLastNode)?t.jsx(mt,{}):t.jsx(Ve,{},r),t.jsx(Qe,{depth:l.depth+1})]},o+r)}),n===1&&e[n].hasChildren!=1?t.jsx(ka,{}):null]})},Mo=({ancestorMetadata:e,depth:n,name:o})=>n===0?t.jsx(ba,{}):t.jsx(t.Fragment,{children:[...Array(n).keys()].map(i=>{const r=e[i],l=i!==n?e[i+1]:void 0;return t.jsxs(De,{children:[r!=null&&r.depth===0?t.jsx(dt,{depth:r.depth}):null,l==null||l.isLastNode?t.jsx(mt,{}):t.jsx(Ve,{},i),t.jsx(dt,{depth:r!=null?r.depth+1:0})]},o+i)})}),Sa=({ancestorMetadata:e,depth:n,name:o})=>t.jsx(t.Fragment,{children:n>0?[...Array(n).keys()].map(i=>{const r=e[i];return r==null?null:t.jsxs(De,{children:[r.depth===0?t.jsx(dt,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Ve,{},i):t.jsx(mt,{}):null,r.depth>=1?t.jsx(dt,{depth:r.depth}):null]},o+i)}):null}),Ca=({depth:e,isLastNode:n,isLeaf:o,hasSiblings:i,hasChildren:r,collapsed:l,onIconClick:c})=>{let d=t.jsx(ya,{});return e===0&&r&&(d=t.jsx(hr,{collapsed:l,onIconClick:c})),e>0&&(r&&!i&&n&&(d=t.jsx(Dn,{collapsed:l,onIconClick:c})),o&&i&&n&&(d=t.jsx(En,{})),o&&i&&!n&&(d=t.jsx(ur,{})),r&&i&&!n&&(d=t.jsx(pr,{collapsed:l,onIconClick:c})),r&&i&&n&&(d=t.jsx(Dn,{collapsed:l,onIconClick:c})),n&&o&&(d=t.jsx(En,{}))),d},va=({depth:e,isLastNode:n,isLeaf:o,hasSiblings:i,hasChildren:r,collapsed:l,onIconClick:c})=>t.jsx(wa,{children:t.jsx(Ca,{depth:e,isLastNode:n,isLeaf:o,hasSiblings:i,hasChildren:r,collapsed:l,onIconClick:c})});function pn(e){const{displayName:n}=e;e.depth>4&&console.warn("cannot handle depth more than 4");const o=W();return t.jsxs(ma,{children:[e.classDepth!=null?t.jsx(No,{ancestorMetadata:e.classAnscestorMetadata??[],depth:e.classDepth,name:e.displayName}):e.noMarginForAccount===!1?t.jsx(Oo,{windowSize:o}):null,t.jsx(Sa,{ancestorMetadata:e.subAccountAnscestorMetadata,depth:e.depth,name:e.displayName}),t.jsx(va,{...e}),t.jsx(fa,{onClick:()=>e.onNameClick?.(),hasChildren:e.hasChildren,depth:e.depth,windowSize:o,title:n,children:n})]})}const H={balanceHeight:s.sp4,balanceWidth:"166px",balanceLeftMargin:s.sp4,titleWidth:new E(200,325,405),nameLogoWidth:new E(C[4],C[4]),nameLogoHeight:new E(C[4],C[4])},et=[new E(C[4],C[8]),new E(44,76),new E(69,102),new E(93,124),new E(113,143)],$a=a.div`
253
253
  display: flex;
254
254
  flex: 1 1 auto;
255
255
  max-height: 1px;
@@ -360,7 +360,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
360
360
  &:hover {
361
361
  color: ${e=>e.theme.colors.primary};
362
362
  }
363
- `,Do=({balance:e,isOpen:n})=>{const o=n?e?.balance:e?.totalBalance;return t.jsx(Fo,{children:t.jsx(To,{isClickable:!1,onClick:()=>null,children:Z("0,0",o)})})},Eo=({total:e})=>t.jsx(Fo,{children:t.jsx(To,{isClickable:!1,onClick:()=>null,children:Z("0,0",e)})});function Na({isSticky:e,height:n,isScrolling:o,isLastNode:i,balances:r,total:l,vendor:c,backgroundColor:d,onEntityNameClick:p}){const u=W(),g=c?.name??"";return t.jsxs(Wo,{"data-testid":y("ap-aging-report-row-root-container",g),containerHeight:n,bgColor:d,windowSize:u,children:[t.jsxs(Po,{"data-testid":y("ap-aging-report-row-container",g),style:{cursor:"default"},isClickable:!1,containerHeight:n-1,children:[t.jsxs(Vo,{onClick:()=>c?.id!=null?p?.(c.id):void 0,isSticky:e,windowSize:u,bgColor:d,containerHeight:n-1,children:[c?.logo!=null?t.jsx(Jt,{photoUrl:c.logo.toString(),styles:{width:H.nameLogoWidth.valuePx(u),height:H.nameLogoHeight.valuePx(u)}}):t.jsx(Xt,{name:g??"",size:s.sp4}),t.jsx(Oa,{children:g})]}),t.jsxs(zo,{"data-testid":y("ap-aging-report-row-balances-container",g),children:[r.map(h=>t.jsx(Do,{balance:h,isOpen:!0},h?.period)),t.jsx(Eo,{total:l})]})]}),t.jsx(Go,{isScrolling:o,isLastNode:i})]})}function Ma({treeNodeId:e,isSticky:n,height:o,isScrolling:i,isLastNode:r,isOpen:l,balances:c,total:d,totalWithChildren:p,nestedCustomer:u,metadata:g,backgroundColor:h,onEntityNameClick:x,onClick:f}){const m=W(),w=g,b=u?.customer.name??"",k=u!=null?u.id.length-1:0,v=u?.hasSiblings??!1,S=u!=null&&u.children.length!==0,$=S,B=$?"pointer":"default",L=u!=null&&u.isLeafCustomer;return t.jsxs(Wo,{"data-testid":y("ar-aging-report-row-root-container",e),containerHeight:o,bgColor:h,windowSize:m,children:[t.jsxs(Po,{"data-testid":y("ar-aging-report-row-container",e),style:{cursor:B},isClickable:$,containerHeight:o-1,children:[t.jsx(Vo,{"data-testid":y("ar-aging-report-row-name-container",e),isSticky:n,windowSize:m,bgColor:h,containerHeight:o-1,children:t.jsx(pn,{displayName:b,depth:k,isLastNode:r,hasChildren:S,hasSiblings:v,isLeaf:L,collapsed:!l,subAccountAnscestorMetadata:w.vendorOrCustomerAncestorMetadata,classAnscestorMetadata:[],noMarginForAccount:!0,onIconClick:()=>{f?.(e)},onNameClick:()=>u?.id[0]!=null?x?.(u.id[0]):void 0})}),t.jsxs(zo,{children:[c.map(M=>t.jsx(Do,{balance:M,isOpen:l},M?.period)),t.jsx(Eo,{total:l?d:p})]})]}),t.jsx(Go,{isScrolling:i,subEntityProps:{nestingLevel:k,isSticky:n,noMarginForEntity:!0}})]})}function Go({isScrolling:e,isLastNode:n=!1,subEntityProps:o}){return n?t.jsx(Vt,{isScrolling:e,kind:"end_row_separator",subEntityProps:o}):t.jsx(Vt,{isScrolling:e,kind:"vendor_row_separator",subEntityProps:o})}const Wa=a.div`
363
+ `,Do=({balance:e,isOpen:n})=>{const o=n?e?.balance:e?.totalBalance;return t.jsx(Fo,{children:t.jsx(To,{isClickable:!1,onClick:()=>null,children:Z("0,0",o)})})},Eo=({total:e})=>t.jsx(Fo,{children:t.jsx(To,{isClickable:!1,onClick:()=>null,children:Z("0,0",e)})});function Na({isSticky:e,height:n,isScrolling:o,isLastNode:i,balances:r,total:l,vendor:c,backgroundColor:d,onEntityNameClick:p}){const u=W(),g=c?.name??"";return t.jsxs(Wo,{"data-testid":y("ap-aging-report-row-root-container",g),containerHeight:n,bgColor:d,windowSize:u,children:[t.jsxs(Po,{"data-testid":y("ap-aging-report-row-container",g),style:{cursor:"default"},isClickable:!1,containerHeight:n-1,children:[t.jsxs(Vo,{onClick:()=>c?.id!=null?p?.(c.id):void 0,isSticky:e,windowSize:u,bgColor:d,containerHeight:n-1,children:[c?.logo!=null?t.jsx(Qt,{photoUrl:c.logo.toString(),styles:{width:H.nameLogoWidth.valuePx(u),height:H.nameLogoHeight.valuePx(u)}}):t.jsx(Xt,{name:g??"",size:s.sp4}),t.jsx(Oa,{children:g})]}),t.jsxs(zo,{"data-testid":y("ap-aging-report-row-balances-container",g),children:[r.map(h=>t.jsx(Do,{balance:h,isOpen:!0},h?.period)),t.jsx(Eo,{total:l})]})]}),t.jsx(Go,{isScrolling:o,isLastNode:i})]})}function Ma({treeNodeId:e,isSticky:n,height:o,isScrolling:i,isLastNode:r,isOpen:l,balances:c,total:d,totalWithChildren:p,nestedCustomer:u,metadata:g,backgroundColor:h,onEntityNameClick:x,onClick:f}){const m=W(),w=g,b=u?.customer.name??"",k=u!=null?u.id.length-1:0,v=u?.hasSiblings??!1,S=u!=null&&u.children.length!==0,$=S,B=$?"pointer":"default",L=u!=null&&u.isLeafCustomer;return t.jsxs(Wo,{"data-testid":y("ar-aging-report-row-root-container",e),containerHeight:o,bgColor:h,windowSize:m,children:[t.jsxs(Po,{"data-testid":y("ar-aging-report-row-container",e),style:{cursor:B},isClickable:$,containerHeight:o-1,children:[t.jsx(Vo,{"data-testid":y("ar-aging-report-row-name-container",e),isSticky:n,windowSize:m,bgColor:h,containerHeight:o-1,children:t.jsx(pn,{displayName:b,depth:k,isLastNode:r,hasChildren:S,hasSiblings:v,isLeaf:L,collapsed:!l,subAccountAnscestorMetadata:w.vendorOrCustomerAncestorMetadata,classAnscestorMetadata:[],noMarginForAccount:!0,onIconClick:()=>{f?.(e)},onNameClick:()=>u?.id[0]!=null?x?.(u.id[0]):void 0})}),t.jsxs(zo,{children:[c.map(M=>t.jsx(Do,{balance:M,isOpen:l},M?.period)),t.jsx(Eo,{total:l?d:p})]})]}),t.jsx(Go,{isScrolling:i,subEntityProps:{nestingLevel:k,isSticky:n,noMarginForEntity:!0}})]})}function Go({isScrolling:e,isLastNode:n=!1,subEntityProps:o}){return n?t.jsx(Vt,{isScrolling:e,kind:"end_row_separator",subEntityProps:o}):t.jsx(Vt,{isScrolling:e,kind:"vendor_row_separator",subEntityProps:o})}const Wa=a.div`
364
364
  user-select: none;
365
365
  display: flex;
366
366
  flex: 1 1 auto;
@@ -462,11 +462,11 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
462
462
  flex: 1 0 auto;
463
463
  flex-direction: row;
464
464
  justify-content: flex-end;
465
- `,Qo=a.div`
465
+ `,Jo=a.div`
466
466
  display: flex;
467
467
  flex-direction: row;
468
468
  justify-content: flex-start;
469
- `,Jo=a(_)`
469
+ `,Qo=a(_)`
470
470
  user-select: none;
471
471
  min-width: ${H.balanceWidth};
472
472
  max-width: ${H.balanceWidth};
@@ -500,7 +500,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
500
500
  margin-left: ${e=>Ga[e.depth]}px;
501
501
  color: ${e=>e.theme.colors.primary};
502
502
  width: ${e=>H.titleWidth.value(e.windowSize)-e.depth*C[11]}px;
503
- `,Za=({balance:e})=>t.jsx(Qo,{children:t.jsx(Jo,{isClickable:!1,onClick:()=>null,children:Z("0,0",e?.totalBalance)})}),qa=({total:e})=>t.jsx(Qo,{children:t.jsx(Jo,{isClickable:!1,onClick:()=>null,children:Z("0,0",e)})});function Qa({backgroundColor:e,isSticky:n,height:o,noMarginForEntity:i,isScrolling:r,total:l,nestedCustomer:c,metadata:d}){const p=W(),{common:{strings:{empty:u}},reports:{sections:g}}=N.getLocalizedStrings(),h=c!=null?c.id.length-1:0,x=d,f=c?.customer.name??u;return t.jsxs(Ra,{"data-testid":"sub-customer-total-row-root-container",containerHeight:o,bgColor:e,children:[t.jsxs(Ha,{"data-testid":"sub-customer-total-row-container",children:[t.jsxs(Ya,{isSticky:n,windowSize:p,bgColor:e,containerHeight:o,children:[t.jsx(Mo,{ancestorMetadata:x.vendorOrCustomerAncestorMetadata,depth:h,name:f}),t.jsx(Ua,{isClickable:!1,title:f,depth:h,windowSize:p,children:g.totalPrefix+" "+f})]}),t.jsxs(Ka,{children:[c?.arAgingBalances.map((m,w)=>t.jsx(Za,{balance:m},w)),t.jsx(qa,{total:l})]})]}),t.jsx(Ja,{isScrolling:r,nestingLevel:h,isSticky:n,noMarginForEntity:i})]})}function Ja({isScrolling:e,nestingLevel:n,isSticky:o,noMarginForEntity:i}){return t.jsx(Vt,{isScrolling:e,kind:"subtotal_row_separator",subEntityProps:{nestingLevel:n,isSticky:o,noMarginForEntity:i}})}const ae=e=>{switch(e){case"name+balances_actual":return!0;case"name+balances_forecast":case"name_only":return!1}},Ee=e=>{switch(e){case"name+balances_forecast":return!0;case"name+balances_actual":case"name_only":return!1}},Xa=a.div`
503
+ `,Za=({balance:e})=>t.jsx(Jo,{children:t.jsx(Qo,{isClickable:!1,onClick:()=>null,children:Z("0,0",e?.totalBalance)})}),qa=({total:e})=>t.jsx(Jo,{children:t.jsx(Qo,{isClickable:!1,onClick:()=>null,children:Z("0,0",e)})});function Ja({backgroundColor:e,isSticky:n,height:o,noMarginForEntity:i,isScrolling:r,total:l,nestedCustomer:c,metadata:d}){const p=W(),{common:{strings:{empty:u}},reports:{sections:g}}=N.getLocalizedStrings(),h=c!=null?c.id.length-1:0,x=d,f=c?.customer.name??u;return t.jsxs(Ra,{"data-testid":"sub-customer-total-row-root-container",containerHeight:o,bgColor:e,children:[t.jsxs(Ha,{"data-testid":"sub-customer-total-row-container",children:[t.jsxs(Ya,{isSticky:n,windowSize:p,bgColor:e,containerHeight:o,children:[t.jsx(Mo,{ancestorMetadata:x.vendorOrCustomerAncestorMetadata,depth:h,name:f}),t.jsx(Ua,{isClickable:!1,title:f,depth:h,windowSize:p,children:g.totalPrefix+" "+f})]}),t.jsxs(Ka,{children:[c?.arAgingBalances.map((m,w)=>t.jsx(Za,{balance:m},w)),t.jsx(qa,{total:l})]})]}),t.jsx(Qa,{isScrolling:r,nestingLevel:h,isSticky:n,noMarginForEntity:i})]})}function Qa({isScrolling:e,nestingLevel:n,isSticky:o,noMarginForEntity:i}){return t.jsx(Vt,{isScrolling:e,kind:"subtotal_row_separator",subEntityProps:{nestingLevel:n,isSticky:o,noMarginForEntity:i}})}const ae=e=>{switch(e){case"name+balances_actual":return!0;case"name+balances_forecast":case"name_only":return!1}},Ee=e=>{switch(e){case"name+balances_forecast":return!0;case"name+balances_actual":case"name_only":return!1}},Xa=a.div`
504
504
  display: flex;
505
505
  flex: 1 1 auto;
506
506
  width: fit-content;
@@ -690,7 +690,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
690
690
  text-overflow: ellipsis;
691
691
  text-align: left;
692
692
  background-color: ${e=>e.bgColor?.hex()};
693
- `,Vl=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i})=>t.jsxs(zl,{"data-testid":y("heading-row-balance-element",e),children:[ae(e)||o?t.jsx(tt,{"data-testid":y("heading-row-balance-actual",e),children:q(n)}):t.jsx(tt,{"data-testid":y("heading-row-balance-forecast",e),children:J(n)}),o?t.jsxs(t.Fragment,{children:[t.jsx(tt,{"data-testid":y("heading-row-balance-forecast",e),children:J(n)}),t.jsx(tt,{"data-testid":y("heading-row-balance-actual-vs-forecast",e),children:i==="compare_mode_percent"?pe(n):ge(n)})]}):null]});function Dl({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,heading:l,headingBalances:c,isActualVsForecastOn:d,compareMode:p,isLeaf:u,onClick:g}){const h=W();return t.jsx(Ml,{height:r,bgColor:n,"data-testid":y("heading-row-root-container",i),children:t.jsxs(Wl,{"data-testid":y("heading-row-container",i),isClickable:!u,onClick:()=>g?.(i),children:[xe(e)===!0?t.jsx(Fl,{"data-testid":y("heading-row-heading-container",i),isSticky:o,windowSize:h,bgColor:n,children:t.jsx(Tl,{children:l})}):null,ke(e)===!0?t.jsx(Pl,{"data-testid":y("heading-row-balances-container",i),children:c.map((x,f)=>t.jsx(Vl,{"data-testid":y("heading-row-balance-element",e),type:e,heading:l,balance:x,isActualVsForecastOn:d,compareMode:p},f))}):null]})})}const wn=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="title_string_only")return null;const x=te(void 0,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Dl,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,heading:o.element.title,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,headingBalances:x.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:f=>{h?.(f)}})};function ri(e,n){return El(n)}const El=(e,n)=>{const o={compactedAccountsSelectorVariant:()=>[],acBalanceSelector:()=>{}};return o.acBalanceSelector=i=>i.balancesInTimeframe,o.compactedAccountsSelectorVariant=i=>function(r,l,c){switch(c){case"off":default:return r;case"filter_actual_nil_balances":return r.filter(d=>function(p){let u=!1;if(p!=null){for(const g of p)if(g.balance.amount!==0){u=!0;break}}return u}(l(d)?.balances??[]))}}(i,o.acBalanceSelector,e),o},nt=[new E(C[4],56),new E(44,76),new E(69,102),new E(93,124),new E(113,143)],Un=[new E(C[0],C[0]),new E(14,C[4]),new E(67,67),new E(102,102),new E(136,136)],Gl=a.div`
693
+ `,Vl=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i})=>t.jsxs(zl,{"data-testid":y("heading-row-balance-element",e),children:[ae(e)||o?t.jsx(tt,{"data-testid":y("heading-row-balance-actual",e),children:q(n)}):t.jsx(tt,{"data-testid":y("heading-row-balance-forecast",e),children:Q(n)}),o?t.jsxs(t.Fragment,{children:[t.jsx(tt,{"data-testid":y("heading-row-balance-forecast",e),children:Q(n)}),t.jsx(tt,{"data-testid":y("heading-row-balance-actual-vs-forecast",e),children:i==="compare_mode_percent"?pe(n):ge(n)})]}):null]});function Dl({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,heading:l,headingBalances:c,isActualVsForecastOn:d,compareMode:p,isLeaf:u,onClick:g}){const h=W();return t.jsx(Ml,{height:r,bgColor:n,"data-testid":y("heading-row-root-container",i),children:t.jsxs(Wl,{"data-testid":y("heading-row-container",i),isClickable:!u,onClick:()=>g?.(i),children:[xe(e)===!0?t.jsx(Fl,{"data-testid":y("heading-row-heading-container",i),isSticky:o,windowSize:h,bgColor:n,children:t.jsx(Tl,{children:l})}):null,ke(e)===!0?t.jsx(Pl,{"data-testid":y("heading-row-balances-container",i),children:c.map((x,f)=>t.jsx(Vl,{"data-testid":y("heading-row-balance-element",e),type:e,heading:l,balance:x,isActualVsForecastOn:d,compareMode:p},f))}):null]})})}const wn=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="title_string_only")return null;const x=te(void 0,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Dl,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,heading:o.element.title,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,headingBalances:x.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:f=>{h?.(f)}})};function ri(e,n){return El(n)}const El=(e,n)=>{const o={compactedAccountsSelectorVariant:()=>[],acBalanceSelector:()=>{}};return o.acBalanceSelector=i=>i.balancesInTimeframe,o.compactedAccountsSelectorVariant=i=>function(r,l,c){switch(c){case"off":default:return r;case"filter_actual_nil_balances":return r.filter(d=>function(p){let u=!1;if(p!=null){for(const g of p)if(g.balance.amount!==0){u=!0;break}}return u}(l(d)?.balances??[]))}}(i,o.acBalanceSelector,e),o},nt=[new E(C[4],56),new E(44,76),new E(69,102),new E(93,124),new E(113,143)],Un=[new E(C[0],C[0]),new E(14,C[4]),new E(67,67),new E(102,102),new E(136,136)],Gl=a.div`
694
694
  display: flex;
695
695
  flex: 1 1 auto;
696
696
  max-height: 1px;
@@ -747,7 +747,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
747
747
  flex: 1 1 auto;
748
748
  max-height: 1px;
749
749
  background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
750
- `,qn=e=>{const n=W(),o=de();return t.jsxs(Rl,{children:[t.jsxs(Hl,{windowSize:n,isSticky:e.isSticky,children:[e.classDepth!=null?t.jsx(Yl,{classDepth:e.classDepth,windowSize:n}):null,t.jsx(Kl,{nestingLevel:e.nestingLevel,noMarginForAccount:e.noMarginForAccount,windowSize:n}),t.jsx(Ul,{isScrolling:e.isScrolling,colour:e.isTotal?o.colors.grey1:o.colors.grey3})]}),t.jsx(Zl,{isScrolling:e.isScrolling,colour:e.isTotal?o.colors.grey1:o.colors.grey3})]})};function je({kind:e,isScrolling:n,subAccountProps:o}){switch(e){case"account_title_row_separator":return t.jsx(Zn,{marginLeft:C[5],isScrolling:n});case"sub_account_balance_row_separator":return t.jsx(qn,{nestingLevel:o?.nestingLevel??1,isScrolling:n,isSticky:o?.isSticky??!1,isTotal:!1,classDepth:o?.classDepth,noMarginForAccount:o?.noMarginForAccount??!1});case"account_balance_row_separator":return t.jsx(Zn,{marginLeft:0,isScrolling:n});case"ac_group_row_separator":return t.jsx(Gl,{isScrolling:n});case"section_row_separator":case"heading_row_separator":return t.jsx(ql,{isScrolling:n});case"total_row_separator":return t.jsx(qn,{nestingLevel:o?.nestingLevel??1,isScrolling:n,isSticky:o?.isSticky??!1,isTotal:!0,classDepth:o?.classDepth,noMarginForAccount:o?.noMarginForAccount??!1})}}function ai({height:e,backgroundColor:n,title:o,numOfBalances:i=6}){let r=null;const l=W()!=="small";switch(o!=null?o.split("+")[1]:""){case"section-row":r=t.jsx(Ql,{columns:i,isSticky:l});break;case"root-class-row":r=t.jsx(Jl,{columns:i,isSticky:l});break;case"sub-class-row":r=t.jsx(Xl,{columns:i,isSticky:l});break;case"leaf-class-row":r=t.jsxs(t.Fragment,{children:[t.jsx(ec,{columns:i,isSticky:l}),t.jsx(je,{isScrolling:!1,kind:"sub_account_balance_row_separator",subAccountProps:{isSticky:!0,nestingLevel:0,noMarginForAccount:!1}})]})}return t.jsx(nc,{height:e,bgColor:n,children:r})}const Ql=({columns:e,isSticky:n})=>t.jsxs(Be,{children:[t.jsxs(yt,{isSticky:n,width:j.loadingInProgressStickySectionWidth,className:"account-title",children:[t.jsx(He,{width:C[4],height:C[4]}),t.jsx(Y,{width:j.loadingInProgressSmallStickyColumnWidth,height:j.balanceHeightInPx})]}),t.jsx(wt,{columns:e,rectangleWidth:j.loadingBalanceWidthInPx})]}),Jl=({columns:e,isSticky:n})=>t.jsxs(Be,{children:[t.jsxs(yt,{isSticky:n,width:j.loadingInProgressStickySectionWidth,className:"account-title",children:[t.jsx(He,{width:C[4],height:C[4]}),t.jsx(Y,{width:j.loadingInProgressLargeStickyColumnWidth,height:j.balanceHeightInPx})]}),t.jsx(wt,{columns:e,rectangleWidth:j.smallLoadingBalanceWidthInPx})]}),Xl=({columns:e,isSticky:n})=>t.jsxs(Be,{children:[t.jsx(yt,{isSticky:n,width:j.loadingInProgressStickySectionWidth,className:"account-title",children:t.jsxs(Be,{style:{marginLeft:"36px"},children:[t.jsx(He,{width:C[4],height:C[4]}),t.jsx(Y,{width:j.loadingInProgressLargeStickyColumnWidth,height:j.balanceHeightInPx,style:{marginLeft:C[4]}})]})}),t.jsx(wt,{columns:e,rectangleWidth:j.smallLoadingBalanceWidthInPx})]}),ec=({columns:e,isSticky:n})=>t.jsxs(Be,{children:[t.jsx(yt,{isSticky:n,width:j.loadingInProgressStickySectionWidth,className:"account-title",children:t.jsx(Be,{style:{marginLeft:"84px"},children:t.jsx(Y,{width:j.loadingInProgressSmallStickyColumnWidth,height:j.balanceHeightInPx})})}),t.jsx(wt,{columns:e,rectangleWidth:j.smallLoadingBalanceWidthInPx})]}),tc=({rectangleWidth:e})=>t.jsx(li,{width:j.balanceWidthInPx,children:t.jsx(Y,{width:e,height:j.balanceHeightInPx})}),wt=({columns:e,rectangleWidth:n})=>t.jsx(oc,{style:{zIndex:9,width:j.loadingInProgressScrollableSectionWidth},children:Array.from({length:e}).map((o,i)=>t.jsx(tc,{rectangleWidth:n},i))}),nc=a.div`
750
+ `,qn=e=>{const n=W(),o=de();return t.jsxs(Rl,{children:[t.jsxs(Hl,{windowSize:n,isSticky:e.isSticky,children:[e.classDepth!=null?t.jsx(Yl,{classDepth:e.classDepth,windowSize:n}):null,t.jsx(Kl,{nestingLevel:e.nestingLevel,noMarginForAccount:e.noMarginForAccount,windowSize:n}),t.jsx(Ul,{isScrolling:e.isScrolling,colour:e.isTotal?o.colors.grey1:o.colors.grey3})]}),t.jsx(Zl,{isScrolling:e.isScrolling,colour:e.isTotal?o.colors.grey1:o.colors.grey3})]})};function je({kind:e,isScrolling:n,subAccountProps:o}){switch(e){case"account_title_row_separator":return t.jsx(Zn,{marginLeft:C[5],isScrolling:n});case"sub_account_balance_row_separator":return t.jsx(qn,{nestingLevel:o?.nestingLevel??1,isScrolling:n,isSticky:o?.isSticky??!1,isTotal:!1,classDepth:o?.classDepth,noMarginForAccount:o?.noMarginForAccount??!1});case"account_balance_row_separator":return t.jsx(Zn,{marginLeft:0,isScrolling:n});case"ac_group_row_separator":return t.jsx(Gl,{isScrolling:n});case"section_row_separator":case"heading_row_separator":return t.jsx(ql,{isScrolling:n});case"total_row_separator":return t.jsx(qn,{nestingLevel:o?.nestingLevel??1,isScrolling:n,isSticky:o?.isSticky??!1,isTotal:!0,classDepth:o?.classDepth,noMarginForAccount:o?.noMarginForAccount??!1})}}function ai({height:e,backgroundColor:n,title:o,numOfBalances:i=6}){let r=null;const l=W()!=="small";switch(o!=null?o.split("+")[1]:""){case"section-row":r=t.jsx(Jl,{columns:i,isSticky:l});break;case"root-class-row":r=t.jsx(Ql,{columns:i,isSticky:l});break;case"sub-class-row":r=t.jsx(Xl,{columns:i,isSticky:l});break;case"leaf-class-row":r=t.jsxs(t.Fragment,{children:[t.jsx(ec,{columns:i,isSticky:l}),t.jsx(je,{isScrolling:!1,kind:"sub_account_balance_row_separator",subAccountProps:{isSticky:!0,nestingLevel:0,noMarginForAccount:!1}})]})}return t.jsx(nc,{height:e,bgColor:n,children:r})}const Jl=({columns:e,isSticky:n})=>t.jsxs(Be,{children:[t.jsxs(yt,{isSticky:n,width:j.loadingInProgressStickySectionWidth,className:"account-title",children:[t.jsx(He,{width:C[4],height:C[4]}),t.jsx(Y,{width:j.loadingInProgressSmallStickyColumnWidth,height:j.balanceHeightInPx})]}),t.jsx(wt,{columns:e,rectangleWidth:j.loadingBalanceWidthInPx})]}),Ql=({columns:e,isSticky:n})=>t.jsxs(Be,{children:[t.jsxs(yt,{isSticky:n,width:j.loadingInProgressStickySectionWidth,className:"account-title",children:[t.jsx(He,{width:C[4],height:C[4]}),t.jsx(Y,{width:j.loadingInProgressLargeStickyColumnWidth,height:j.balanceHeightInPx})]}),t.jsx(wt,{columns:e,rectangleWidth:j.smallLoadingBalanceWidthInPx})]}),Xl=({columns:e,isSticky:n})=>t.jsxs(Be,{children:[t.jsx(yt,{isSticky:n,width:j.loadingInProgressStickySectionWidth,className:"account-title",children:t.jsxs(Be,{style:{marginLeft:"36px"},children:[t.jsx(He,{width:C[4],height:C[4]}),t.jsx(Y,{width:j.loadingInProgressLargeStickyColumnWidth,height:j.balanceHeightInPx,style:{marginLeft:C[4]}})]})}),t.jsx(wt,{columns:e,rectangleWidth:j.smallLoadingBalanceWidthInPx})]}),ec=({columns:e,isSticky:n})=>t.jsxs(Be,{children:[t.jsx(yt,{isSticky:n,width:j.loadingInProgressStickySectionWidth,className:"account-title",children:t.jsx(Be,{style:{marginLeft:"84px"},children:t.jsx(Y,{width:j.loadingInProgressSmallStickyColumnWidth,height:j.balanceHeightInPx})})}),t.jsx(wt,{columns:e,rectangleWidth:j.smallLoadingBalanceWidthInPx})]}),tc=({rectangleWidth:e})=>t.jsx(li,{width:j.balanceWidthInPx,children:t.jsx(Y,{width:e,height:j.balanceHeightInPx})}),wt=({columns:e,rectangleWidth:n})=>t.jsx(oc,{style:{zIndex:9,width:j.loadingInProgressScrollableSectionWidth},children:Array.from({length:e}).map((o,i)=>t.jsx(tc,{rectangleWidth:n},i))}),nc=a.div`
751
751
  display: flex;
752
752
  flex: 1 1 auto;
753
753
  width: fit-content;
@@ -893,7 +893,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
893
893
  text-overflow: ellipsis;
894
894
  text-align: left;
895
895
  margin-left: ${s.sp2};
896
- `,mc=({type:e,balance:n,collapsed:o,compareMode:i})=>{const r=o===!0?gc:Dt;return t.jsxs(pc,{"data-testid":y("account-group-row-balance-element",e),children:[t.jsx(r,{"data-testid":y("account-group-row-balance-actual",e),children:q(n)}),Ee(e)?t.jsxs(t.Fragment,{children:[t.jsx(r,{"data-testid":y("account-group-row-balance-forecast",e),children:J(n)}),t.jsx(Dt,{"data-testid":y("account-group-row-balance-actual-vs-forecast",e),children:i==="compare_mode_percent"?pe(n):ge(n)})]}):null]})};function wc({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,accountGroupName:l,accountGroupBalances:c,compareMode:d,isScrolling:p,isOpen:u,isLeaf:g,isLastNode:h,onClick:x}){const f=W(),m=!g,w=m?"pointer":"default",b=l.length>0?l.substr(0,1).toUpperCase():"",k=bc(c),v=de().colors.primary,[S,$]=V.useState(!1);return t.jsxs(dc,{"data-testid":y("account-group-row-root-container",e),height:r,bgColor:n,windowSize:f,children:[t.jsxs(hc,{"data-testid":y("account-group-row-container",e),style:{cursor:w},isClickable:m,onClick:()=>x?.(i),onMouseOver:()=>$(!0),onMouseLeave:()=>$(!1),children:[t.jsxs(xc,{"data-testid":y("account-group-row-name-container",e),bgColor:n,isSticky:o,windowSize:f,hasNonZeroBalance:k,children:[t.jsx(ve,{"data-testid":y("account-group-row-circle-with-letter",e),color:I(v),showCollapsedIcon:!u,showIcon:m&&S,firstLetter:b}),t.jsx(fc,{"data-testid":y("account-group-row-name",e),children:l})]}),t.jsx(uc,{"data-testid":y("account-group-row-balances-container",e),hasNonZeroBalance:k,children:c.map((B,L)=>t.jsx(mc,{"data-testid":y("account-group-row-balance-element",e),type:e,accountGroupName:l,balance:B,compareMode:d,collapsed:!1},L))})]}),t.jsx(yc,{isScrolling:p,isLeaf:g,isLastNode:h,isOpen:u})]})}function yc({isScrolling:e,isLeaf:n,isLastNode:o,isOpen:i}){return!n&&i&&o?null:t.jsx(yn,{isScrolling:e,kind:"ac_group_row_separator"})}const bc=e=>{let n=!1;if(e!=null){for(const o of e)if(o!=null&&o.balance.amount!==0){n=!0;break}}return n};function Ge(e){return typeof e=="object"&&e!==null&&"depth"in e&&typeof e.depth=="number"&&!("filter"in e)}function bt(e,n){if(e!=null&&n!=null&&Ge(e)===!0){if(n.id==="__horizontal_total__")return{isHorizontalClassTotalColumn:!0};if(n.id!=null)return{isHorizontalClassColumn:!0}}}const kc=a.div`
896
+ `,mc=({type:e,balance:n,collapsed:o,compareMode:i})=>{const r=o===!0?gc:Dt;return t.jsxs(pc,{"data-testid":y("account-group-row-balance-element",e),children:[t.jsx(r,{"data-testid":y("account-group-row-balance-actual",e),children:q(n)}),Ee(e)?t.jsxs(t.Fragment,{children:[t.jsx(r,{"data-testid":y("account-group-row-balance-forecast",e),children:Q(n)}),t.jsx(Dt,{"data-testid":y("account-group-row-balance-actual-vs-forecast",e),children:i==="compare_mode_percent"?pe(n):ge(n)})]}):null]})};function wc({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,accountGroupName:l,accountGroupBalances:c,compareMode:d,isScrolling:p,isOpen:u,isLeaf:g,isLastNode:h,onClick:x}){const f=W(),m=!g,w=m?"pointer":"default",b=l.length>0?l.substr(0,1).toUpperCase():"",k=bc(c),v=de().colors.primary,[S,$]=V.useState(!1);return t.jsxs(dc,{"data-testid":y("account-group-row-root-container",e),height:r,bgColor:n,windowSize:f,children:[t.jsxs(hc,{"data-testid":y("account-group-row-container",e),style:{cursor:w},isClickable:m,onClick:()=>x?.(i),onMouseOver:()=>$(!0),onMouseLeave:()=>$(!1),children:[t.jsxs(xc,{"data-testid":y("account-group-row-name-container",e),bgColor:n,isSticky:o,windowSize:f,hasNonZeroBalance:k,children:[t.jsx(ve,{"data-testid":y("account-group-row-circle-with-letter",e),color:I(v),showCollapsedIcon:!u,showIcon:m&&S,firstLetter:b}),t.jsx(fc,{"data-testid":y("account-group-row-name",e),children:l})]}),t.jsx(uc,{"data-testid":y("account-group-row-balances-container",e),hasNonZeroBalance:k,children:c.map((B,L)=>t.jsx(mc,{"data-testid":y("account-group-row-balance-element",e),type:e,accountGroupName:l,balance:B,compareMode:d,collapsed:!1},L))})]}),t.jsx(yc,{isScrolling:p,isLeaf:g,isLastNode:h,isOpen:u})]})}function yc({isScrolling:e,isLeaf:n,isLastNode:o,isOpen:i}){return!n&&i&&o?null:t.jsx(yn,{isScrolling:e,kind:"ac_group_row_separator"})}const bc=e=>{let n=!1;if(e!=null){for(const o of e)if(o!=null&&o.balance.amount!==0){n=!0;break}}return n};function Ge(e){return typeof e=="object"&&e!==null&&"depth"in e&&typeof e.depth=="number"&&!("filter"in e)}function bt(e,n){if(e!=null&&n!=null&&Ge(e)===!0){if(n.id==="__horizontal_total__")return{isHorizontalClassTotalColumn:!0};if(n.id!=null)return{isHorizontalClassColumn:!0}}}const kc=a.div`
897
897
  display: flex;
898
898
  flex: 1 1 auto;
899
899
  width: fit-content;
@@ -956,7 +956,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
956
956
  text-align: left;
957
957
  margin-left: 35px;
958
958
  color: ${e=>e.theme.colors.hero};
959
- `,_c=({type:e,balance:n,account:o,onAccountBalanceClick:i,compareMode:r})=>{const l=o!=null&&n!=null&&i!=null&&!(n?.type==="this_period_vs_last_period"||n?.type==="this_period_vs_last_period_percent");return t.jsxs(Cc,{children:[t.jsx(Wt,{isClickable:l,onClick:()=>{l===!0&&o!=null&&n!=null&&i?.(o,n,bt(o,n))},children:q(n)}),Ee(e)?t.jsxs(t.Fragment,{children:[t.jsx(Wt,{isClickable:!1,children:J(n)}),t.jsx(Wt,{isClickable:!1,children:r==="compare_mode_percent"?pe(n):ge(n)})]}):null]})};function Lc({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,accountBalances:l,isCompareModeOn:c,isForecastModeOn:d,isScrolling:p,isLeaf:u,isLastNode:g,compareMode:h,account:x,onAccountBalanceClick:f}){const m=W(),{common:{strings:{empty:w}}}=N.getLocalizedStrings(),b=x?.accountDescription?x.accountDescription:w,k=x?.accountName?x.accountName:b,v=en(),S=v.loggedInUserRole!=null&&!vo(v.loggedInUserRole),$=S===!0&&x!=null&&c!==!0&&f!=null&&d!==!0,B=$?"pointer":"default";return t.jsxs(kc,{height:r,bgColor:n,windowSize:m,children:[t.jsxs(jc,{style:{cursor:B},isClickable:$,onClick:()=>{return x!=null?(L=i,M=x,void($===!0&&l[l.length-1]!=null&&f?.(L,M,l[l.length-1],bt(M,l[l.length-1]??null)))):null;var L,M},children:[t.jsx(vc,{isSticky:o,windowSize:m,bgColor:n,children:t.jsx($c,{title:k,children:k})}),t.jsx(Sc,{children:l.map((L,M)=>t.jsx(_c,{type:e,balance:L,account:x,onAccountBalanceClick:S===!1||f==null?void 0:(T,D,K)=>{f(i,T,D,K)},compareMode:h},M))})]}),t.jsx(Ac,{isScrolling:p,isLeaf:u,isLastNode:g})]})}function Ac({isScrolling:e,isLeaf:n,isLastNode:o}){return n||!o?t.jsx(yn,{isScrolling:e,kind:"ac_group_row_separator"}):null}const Bc=a.div`
959
+ `,_c=({type:e,balance:n,account:o,onAccountBalanceClick:i,compareMode:r})=>{const l=o!=null&&n!=null&&i!=null&&!(n?.type==="this_period_vs_last_period"||n?.type==="this_period_vs_last_period_percent");return t.jsxs(Cc,{children:[t.jsx(Wt,{isClickable:l,onClick:()=>{l===!0&&o!=null&&n!=null&&i?.(o,n,bt(o,n))},children:q(n)}),Ee(e)?t.jsxs(t.Fragment,{children:[t.jsx(Wt,{isClickable:!1,children:Q(n)}),t.jsx(Wt,{isClickable:!1,children:r==="compare_mode_percent"?pe(n):ge(n)})]}):null]})};function Lc({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,accountBalances:l,isCompareModeOn:c,isForecastModeOn:d,isScrolling:p,isLeaf:u,isLastNode:g,compareMode:h,account:x,onAccountBalanceClick:f}){const m=W(),{common:{strings:{empty:w}}}=N.getLocalizedStrings(),b=x?.accountDescription?x.accountDescription:w,k=x?.accountName?x.accountName:b,v=en(),S=v.loggedInUserRole!=null&&!vo(v.loggedInUserRole),$=S===!0&&x!=null&&c!==!0&&f!=null&&d!==!0,B=$?"pointer":"default";return t.jsxs(kc,{height:r,bgColor:n,windowSize:m,children:[t.jsxs(jc,{style:{cursor:B},isClickable:$,onClick:()=>{return x!=null?(L=i,M=x,void($===!0&&l[l.length-1]!=null&&f?.(L,M,l[l.length-1],bt(M,l[l.length-1]??null)))):null;var L,M},children:[t.jsx(vc,{isSticky:o,windowSize:m,bgColor:n,children:t.jsx($c,{title:k,children:k})}),t.jsx(Sc,{children:l.map((L,M)=>t.jsx(_c,{type:e,balance:L,account:x,onAccountBalanceClick:S===!1||f==null?void 0:(T,D,K)=>{f(i,T,D,K)},compareMode:h},M))})]}),t.jsx(Ac,{isScrolling:p,isLeaf:u,isLastNode:g})]})}function Ac({isScrolling:e,isLeaf:n,isLastNode:o}){return n||!o?t.jsx(yn,{isScrolling:e,kind:"ac_group_row_separator"}):null}const Bc=a.div`
960
960
  display: flex;
961
961
  flex: 1 1 auto;
962
962
  width: fit-content;
@@ -976,7 +976,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
976
976
  flex: 1 0 auto;
977
977
  flex-direction: row;
978
978
  justify-content: flex-end;
979
- `,Qn=a.div`
979
+ `,Jn=a.div`
980
980
  display: flex;
981
981
  flex-direction: row;
982
982
  justify-content: flex-start;
@@ -986,7 +986,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
986
986
  min-width: ${G.balanceWidth};
987
987
  text-align: right;
988
988
  margin-left: ${G.balanceLeftMargin};
989
- `,Jn=a(_)`
989
+ `,Qn=a(_)`
990
990
  user-select: none;
991
991
  max-width: ${G.balanceWidth};
992
992
  min-width: ${G.balanceWidth};
@@ -1022,7 +1022,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
1022
1022
  text-overflow: ellipsis;
1023
1023
  text-align: left;
1024
1024
  margin-left: ${s.sp2};
1025
- `,Pc=({type:e,balance:n,color:o,compareMode:i})=>{const r=n!=null&&n.type==="default_with_percent"&&n.percentValue!=null?n.percentValue:0,l=n!=null&&n.type==="default_with_percent"&&n.forecastPercentValue!=null?n.forecastPercentValue:0;return t.jsxs(Nc,{children:[t.jsxs(Qn,{children:[t.jsx(Ie,{style:{color:o.toString()},children:q(n)}),Ee(e)?t.jsxs(t.Fragment,{children:[t.jsx(Ie,{style:{color:o.toString()},children:J(n)}),t.jsx(Ie,{style:{color:o.toString()},children:i==="compare_mode_percent"?pe(n):ge(n)})]}):null]}),t.jsxs(Qn,{children:[r!==0?t.jsx(Jn,{style:{color:o.toString()},children:ye("0,0%",r)}):null,Ee(e)?t.jsxs(t.Fragment,{children:[l!==0?t.jsx(Jn,{style:{color:o.toString()},children:ye("0,0%",l)}):t.jsx(Ie,{}),t.jsx(Ie,{})]}):null]})]})};function bn({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,sectionName:l,sectionBalances:c,sectionColor:d,isScrolling:p,isOpen:u,isLeaf:g,compareMode:h,onClick:x}){const f=W(),[m,w]=V.useState(!1),b=!g,k=b?"pointer":"default",v=l.length>0?l.substring(0,1).toUpperCase():"";return t.jsxs(Bc,{"data-testid":y("section-row-root-container",i),rootHeight:r,bgColor:n,windowSize:f,children:[t.jsxs(Ic,{"data-testid":y("section-row-container",i),style:{cursor:k},onClick:()=>x?.(i),onMouseOver:()=>w(!0),onMouseLeave:()=>w(!1),children:[t.jsxs(Mc,{"data-testid":y("section-row-name-container",i),isSticky:o,windowSize:f,bgColor:n,children:[t.jsx(ve,{"data-testid":y("section-row-circle-with-letter",i),color:I(d),showCollapsedIcon:!u,showIcon:b&&m,firstLetter:v}),t.jsx(Wc,{"data-testid":y("section-row-name",i),style:{color:d.toString()},children:l})]}),t.jsx(Oc,{"data-testid":y("section-row-balances-container",i),children:c.map((S,$)=>t.jsx(Pc,{"data-testid":y("section-row-balance-element",e),type:e,sectionName:l,balance:S,color:d,compareMode:h},$))})]}),t.jsx(zc,{isScrolling:p,isLeaf:g,isOpen:u})]})}function zc({isScrolling:e,isLeaf:n,isOpen:o}){return n||!o?t.jsx(yn,{isScrolling:e,kind:"section_row_separator"}):null}const Fc=a.div`
1025
+ `,Pc=({type:e,balance:n,color:o,compareMode:i})=>{const r=n!=null&&n.type==="default_with_percent"&&n.percentValue!=null?n.percentValue:0,l=n!=null&&n.type==="default_with_percent"&&n.forecastPercentValue!=null?n.forecastPercentValue:0;return t.jsxs(Nc,{children:[t.jsxs(Jn,{children:[t.jsx(Ie,{style:{color:o.toString()},children:q(n)}),Ee(e)?t.jsxs(t.Fragment,{children:[t.jsx(Ie,{style:{color:o.toString()},children:Q(n)}),t.jsx(Ie,{style:{color:o.toString()},children:i==="compare_mode_percent"?pe(n):ge(n)})]}):null]}),t.jsxs(Jn,{children:[r!==0?t.jsx(Qn,{style:{color:o.toString()},children:ye("0,0%",r)}):null,Ee(e)?t.jsxs(t.Fragment,{children:[l!==0?t.jsx(Qn,{style:{color:o.toString()},children:ye("0,0%",l)}):t.jsx(Ie,{}),t.jsx(Ie,{})]}):null]})]})};function bn({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,sectionName:l,sectionBalances:c,sectionColor:d,isScrolling:p,isOpen:u,isLeaf:g,compareMode:h,onClick:x}){const f=W(),[m,w]=V.useState(!1),b=!g,k=b?"pointer":"default",v=l.length>0?l.substring(0,1).toUpperCase():"";return t.jsxs(Bc,{"data-testid":y("section-row-root-container",i),rootHeight:r,bgColor:n,windowSize:f,children:[t.jsxs(Ic,{"data-testid":y("section-row-container",i),style:{cursor:k},onClick:()=>x?.(i),onMouseOver:()=>w(!0),onMouseLeave:()=>w(!1),children:[t.jsxs(Mc,{"data-testid":y("section-row-name-container",i),isSticky:o,windowSize:f,bgColor:n,children:[t.jsx(ve,{"data-testid":y("section-row-circle-with-letter",i),color:I(d),showCollapsedIcon:!u,showIcon:b&&m,firstLetter:v}),t.jsx(Wc,{"data-testid":y("section-row-name",i),style:{color:d.toString()},children:l})]}),t.jsx(Oc,{"data-testid":y("section-row-balances-container",i),children:c.map((S,$)=>t.jsx(Pc,{"data-testid":y("section-row-balance-element",e),type:e,sectionName:l,balance:S,color:d,compareMode:h},$))})]}),t.jsx(zc,{isScrolling:p,isLeaf:g,isOpen:u})]})}function zc({isScrolling:e,isLeaf:n,isOpen:o}){return n||!o?t.jsx(yn,{isScrolling:e,kind:"section_row_separator"}):null}const Fc=a.div`
1026
1026
  display: flex;
1027
1027
  flex: 1 1 auto;
1028
1028
  width: fit-content;
@@ -1089,7 +1089,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
1089
1089
  text-align: right;
1090
1090
  margin-left: ${G.balanceLeftMargin};
1091
1091
  color: ${e=>e.theme.colors.brandColorJadeDark};
1092
- `,Hc=({type:e,balance:n,collapsed:o,compareMode:i})=>{const r=o===!0?Ec:di;return t.jsxs(Dc,{children:[ae(e)===!0?t.jsx(r,{children:q(n)}):null,Ee(e)?t.jsxs(t.Fragment,{children:[t.jsx(Pt,{children:q(n)}),t.jsx(Pt,{children:J(n)}),t.jsx(Pt,{children:i==="compare_mode_percent"?pe(n):ge(n)})]}):null]})};function Kc({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,title:l,totalBalances:c,isLeaf:d,compareMode:p,onClick:u}){const g=W(),h=!d,x=h?"pointer":"default";return t.jsx(Fc,{height:r,bgColor:n,windowSize:g,children:t.jsxs(Tc,{style:{cursor:x},isClickable:h,onClick:()=>u?.(i),children:[t.jsx(Gc,{bgColor:n,isSticky:o,windowSize:g,children:t.jsx(Rc,{children:l})}),t.jsx(Vc,{children:c.map((f,m)=>t.jsx(Hc,{type:e,balance:f,collapsed:!1,compareMode:p},m))})]})})}const Le={net_burn_or_income:{income:{color:new I(O.graphColor04),hoverColor:new I(O.graphColor04Dark)},cogs:{color:new I(O.graphColor10),hoverColor:new I(O.graphColor10Dark)},expenses:{color:new I(O.graphColor32),hoverColor:new I(O.graphColor32Dark)},"Gross Burn":{color:new I(ee.neutralGrey2Dark),hoverColor:new I(ee.neutralGrey2Dark)},"Net Burn":{color:new I(O.graphColor13),hoverColor:new I(O.graphColor13Dark)},"Net Income":{color:new I(O.graphColor13),hoverColor:new I(O.graphColor13Dark)}},revenue:{income:{color:new I(O.graphColor28),hoverColor:new I(O.graphColor28Dark)},cogs:{color:new I(O.graphColor17),hoverColor:new I(O.graphColor17Dark)},"Gross Margin":{color:new I(O.graphColor10),hoverColor:new I(O.graphColor10Dark)}},cash_in_cash_out:{cash_in:{color:new I(O.graphColor33),hoverColor:new I(O.graphColor33Dark)},cash_out:{color:new I(O.graphColor02),hoverColor:new I(O.graphColor02Dark)},"Net Cash Flow":{color:new I(O.graphColor35),hoverColor:new I(O.graphColor35Dark)}},default:{color:new I(ee.neutralGrey2Dark),hoverColor:new I(ee.neutralGrey2Dark)}},kn=(e,n)=>e.startsWith("net_burn_or_income")===!0?n!=null?Le.net_burn_or_income[n]:Le.default:e.startsWith("revenue")===!0?n!=null?Le.revenue[n]:Le.default:e.startsWith("cash_in_cash_out")===!0&&n!=null?Le.cash_in_cash_out[n]:Le.default,hi=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="section"||o.element.data==null)return null;const x=kn(o.config.reportId,o.element.sectionType),f=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(bn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionColor:x.color,sectionName:o.element.title,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,compareMode:g,onClick:m=>{h?.(m)}})},ui=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="calculated_section"||o.element.data==null)return null;const x=kn(o.config.reportId,o.element.title),f=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(bn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionName:o.element.title,sectionColor:x.color,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,compareMode:g,onClick:m=>{h?.(m)}})},pi=(e,n,o,i,r,l,c,d)=>{if((o.config.isZeniCOAInUse==null||o.config.isZeniCOAInUse===!0)&&o.config.mode!=="this_period_vs_period_before")return null;const p=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Kc,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,title:o.element.title,height:i,isLeaf:d,compareMode:c,totalBalances:p.balances})},mg=20,Yc=e=>{const n=[];return e&&Object.values(e).forEach(o=>{n.push(o)}),n.reverse()},Uc=a.div`
1092
+ `,Hc=({type:e,balance:n,collapsed:o,compareMode:i})=>{const r=o===!0?Ec:di;return t.jsxs(Dc,{children:[ae(e)===!0?t.jsx(r,{children:q(n)}):null,Ee(e)?t.jsxs(t.Fragment,{children:[t.jsx(Pt,{children:q(n)}),t.jsx(Pt,{children:Q(n)}),t.jsx(Pt,{children:i==="compare_mode_percent"?pe(n):ge(n)})]}):null]})};function Kc({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,title:l,totalBalances:c,isLeaf:d,compareMode:p,onClick:u}){const g=W(),h=!d,x=h?"pointer":"default";return t.jsx(Fc,{height:r,bgColor:n,windowSize:g,children:t.jsxs(Tc,{style:{cursor:x},isClickable:h,onClick:()=>u?.(i),children:[t.jsx(Gc,{bgColor:n,isSticky:o,windowSize:g,children:t.jsx(Rc,{children:l})}),t.jsx(Vc,{children:c.map((f,m)=>t.jsx(Hc,{type:e,balance:f,collapsed:!1,compareMode:p},m))})]})})}const Le={net_burn_or_income:{income:{color:new I(O.graphColor04),hoverColor:new I(O.graphColor04Dark)},cogs:{color:new I(O.graphColor10),hoverColor:new I(O.graphColor10Dark)},expenses:{color:new I(O.graphColor32),hoverColor:new I(O.graphColor32Dark)},"Gross Burn":{color:new I(ee.neutralGrey2Dark),hoverColor:new I(ee.neutralGrey2Dark)},"Net Burn":{color:new I(O.graphColor13),hoverColor:new I(O.graphColor13Dark)},"Net Income":{color:new I(O.graphColor13),hoverColor:new I(O.graphColor13Dark)}},revenue:{income:{color:new I(O.graphColor28),hoverColor:new I(O.graphColor28Dark)},cogs:{color:new I(O.graphColor17),hoverColor:new I(O.graphColor17Dark)},"Gross Margin":{color:new I(O.graphColor10),hoverColor:new I(O.graphColor10Dark)}},cash_in_cash_out:{cash_in:{color:new I(O.graphColor33),hoverColor:new I(O.graphColor33Dark)},cash_out:{color:new I(O.graphColor02),hoverColor:new I(O.graphColor02Dark)},"Net Cash Flow":{color:new I(O.graphColor35),hoverColor:new I(O.graphColor35Dark)}},default:{color:new I(ee.neutralGrey2Dark),hoverColor:new I(ee.neutralGrey2Dark)}},kn=(e,n)=>e.startsWith("net_burn_or_income")===!0?n!=null?Le.net_burn_or_income[n]:Le.default:e.startsWith("revenue")===!0?n!=null?Le.revenue[n]:Le.default:e.startsWith("cash_in_cash_out")===!0&&n!=null?Le.cash_in_cash_out[n]:Le.default,hi=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="section"||o.element.data==null)return null;const x=kn(o.config.reportId,o.element.sectionType),f=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(bn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionColor:x.color,sectionName:o.element.title,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,compareMode:g,onClick:m=>{h?.(m)}})},ui=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="calculated_section"||o.element.data==null)return null;const x=kn(o.config.reportId,o.element.title),f=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(bn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionName:o.element.title,sectionColor:x.color,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,compareMode:g,onClick:m=>{h?.(m)}})},pi=(e,n,o,i,r,l,c,d)=>{if((o.config.isZeniCOAInUse==null||o.config.isZeniCOAInUse===!0)&&o.config.mode!=="this_period_vs_period_before")return null;const p=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Kc,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,title:o.element.title,height:i,isLeaf:d,compareMode:c,totalBalances:p.balances})},mg=20,Yc=e=>{const n=[];return e&&Object.values(e).forEach(o=>{n.push(o)}),n.reverse()},Uc=a.div`
1093
1093
  display: flex;
1094
1094
  flex: 1 1 auto;
1095
1095
  height: 1px;
@@ -1100,14 +1100,14 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
1100
1100
  background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
1101
1101
  `;function Et({kind:e,isScrolling:n}){switch(e){case"account_class_row_separator":return t.jsx(Uc,{isScrolling:n});case"section_row_separator":case"vendor_separator":return t.jsx(Zc,{isScrolling:n});case"heading_row_separator":return null}}const qc=a.div`
1102
1102
  position: relative;
1103
- `,Qc=a.div`
1103
+ `,Jc=a.div`
1104
1104
  height: ${e=>e.height}px;
1105
1105
  border-left: 1px solid ${e=>e.theme.colors.grey1};
1106
1106
  width: 1px;
1107
1107
  `;a.div`
1108
1108
  height: 39px;
1109
1109
  width: 2px;
1110
- `;const Jc=a.div`
1110
+ `;const Qc=a.div`
1111
1111
  position: relative;
1112
1112
  margin-right: ${s.sp3};
1113
1113
  &::after {
@@ -1136,7 +1136,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
1136
1136
  border-left: 1px solid ${e=>e.theme.colors.grey1};
1137
1137
  margin-bottom: ${e=>e.height}px;
1138
1138
  width: 1px;
1139
- `,gi=({height:e})=>t.jsx(qc,{children:t.jsx(Qc,{height:e})}),ns=({height:e})=>t.jsx(es,{height:e,children:t.jsx(ts,{height:e})}),os=()=>t.jsx(Jc,{children:t.jsx(Xc,{})}),is=s.sp4,xi="126px",me="128px",kt="12px",jt="12px",pt="685px",jn="628px",Xn="685px",rs="182px",gt="184px",Se="144px",xt="12px",eo="685px",fi="250px",ft="250px",as=39,ls=19.5,cs=16,ze=128,to=168,Fe="180px",no="300px",mi="210px",ss="128px";function wi(e,n=!1){switch(e){case"section":case"flux_vendor_row":case"timeframe_headers":case"total":case"loading_in_progress":case"headers_loading_in_progress":return C[8];case"flux_vendor_account_class_row":return n?C[9]:C[6];default:return 0}}const oo=N.getLocalizedStrings(),ds=a.div`
1139
+ `,gi=({height:e})=>t.jsx(qc,{children:t.jsx(Jc,{height:e})}),ns=({height:e})=>t.jsx(es,{height:e,children:t.jsx(ts,{height:e})}),os=()=>t.jsx(Qc,{children:t.jsx(Xc,{})}),is=s.sp4,xi="126px",me="128px",kt="12px",jt="12px",pt="685px",jn="628px",Xn="685px",rs="182px",gt="184px",Se="144px",xt="12px",eo="685px",fi="250px",ft="250px",as=39,ls=19.5,cs=16,ze=128,to=168,Fe="180px",no="300px",mi="210px",ss="128px";function wi(e,n=!1){switch(e){case"section":case"flux_vendor_row":case"timeframe_headers":case"total":case"loading_in_progress":case"headers_loading_in_progress":return C[8];case"flux_vendor_account_class_row":return n?C[9]:C[6];default:return 0}}const oo=N.getLocalizedStrings(),ds=a.div`
1140
1140
  display: flex;
1141
1141
  flex-shrink: 0;
1142
1142
  width: ${gt};
@@ -1364,7 +1364,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
1364
1364
  ${Se} +
1365
1365
  ${jt}
1366
1366
  );
1367
- `,Rs=({balance:e,color:n})=>t.jsx(Ps,{children:t.jsx(zs,{color:n,children:q(e)})}),Hs=mr.memo(function({currency:e,sectionId:n,selectedSectionsIds:o,backgroundColor:i,isSticky:r,treeNodeId:l,height:c,sectionName:d,hasVendors:p,sectionBalances:u,varianceAmount:g,variancePercentage:h,sectionColor:x,isScrolling:f,isOpen:m,isLeaf:w,idsForReview:b,sectionToggled:k,onSectionCheckboxClick:v}){const S=W(),[$,B]=V.useState(b.length>0),[L,M]=V.useState(!1),T=o.includes(n),D=!w,K=b.length===20&&!T,X=d?.[0]?.toUpperCase()??"",Q=V.useCallback(re=>{v?.(n,re.target.checked)},[n,v]),ie=y("flux-analysis-section-expand-collapse",n),he=y("flux-analysis-section-row",n),le=y("flux-analysis-section-checkbox",n);return t.jsxs(Ms,{heightValue:c,bgColor:i,"data-testid":he,children:[t.jsxs(Ws,{style:{cursor:D?"pointer":"default"},onClick:()=>k?.(l),onMouseOver:()=>{M(!0),B(!0)},onMouseLeave:()=>{M(!1),b.length===0&&B(!1)},children:[t.jsxs(Fs,{className:"flux-section-name-container",isSticky:r,windowSize:S,bgColor:i,children:[p&&$&&m?t.jsx(Ds,{children:t.jsx(qt,{"aria-label":`Toggle section ${d}`,className:"flux-section-checkbox","data-testid":le,icon:t.jsx(Qt,{width:s.sp3,height:s.sp3}),checkedIcon:t.jsx(Vs,{}),checked:T,id:l,disabled:K,onChange:Q,onClick:re=>re.stopPropagation(),style:{padding:"20px",pointerEvents:K?"none":"auto"}})}):t.jsx(Es,{}),t.jsx(ve,{color:I(x),dataTestId:ie,firstLetter:X,showCollapsedIcon:!m,showIcon:L&&D}),t.jsx(Ts,{color:x.toString(),children:d})]}),t.jsxs(Gs,{children:[u.map((re,be)=>t.jsx(Rs,{sectionName:d,balance:re,color:x.toString()},be)),t.jsx(St,{amount:g,percentage:h,currency:e})]})]}),t.jsx(Ks,{isScrolling:f,isLeaf:w,isOpen:m})]})});function Ks({isScrolling:e,isLeaf:n,isOpen:o}){return n||!o?t.jsx(Et,{isScrolling:e,kind:"section_row_separator"}):null}function Ys(){const e=W();return t.jsxs(Us,{windowSize:e,children:[t.jsx(Oe,{windowSize:e,width:jn,marginRight:0,children:t.jsx(Y,{width:C[9],height:C[4],style:{display:"flex",alignItems:"baseline"}})}),t.jsx(Oe,{windowSize:e,width:Fe,marginRight:0,children:t.jsx(Y,{width:128,height:C[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(Oe,{windowSize:e,width:Fe,marginRight:0,children:t.jsx(Y,{width:ze,height:C[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(Oe,{windowSize:e,width:mi,children:t.jsx(Y,{width:184,height:C[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(Oe,{windowSize:e,width:ss,children:t.jsx(Y,{width:ze,height:C[6],style:{display:"flex",alignItems:"center"}})})]})}const Us=a.div`
1367
+ `,Rs=({balance:e,color:n})=>t.jsx(Ps,{children:t.jsx(zs,{color:n,children:q(e)})}),Hs=mr.memo(function({currency:e,sectionId:n,selectedSectionsIds:o,backgroundColor:i,isSticky:r,treeNodeId:l,height:c,sectionName:d,hasVendors:p,sectionBalances:u,varianceAmount:g,variancePercentage:h,sectionColor:x,isScrolling:f,isOpen:m,isLeaf:w,idsForReview:b,sectionToggled:k,onSectionCheckboxClick:v}){const S=W(),[$,B]=V.useState(b.length>0),[L,M]=V.useState(!1),T=o.includes(n),D=!w,K=b.length===20&&!T,X=d?.[0]?.toUpperCase()??"",J=V.useCallback(re=>{v?.(n,re.target.checked)},[n,v]),ie=y("flux-analysis-section-expand-collapse",n),he=y("flux-analysis-section-row",n),le=y("flux-analysis-section-checkbox",n);return t.jsxs(Ms,{heightValue:c,bgColor:i,"data-testid":he,children:[t.jsxs(Ws,{style:{cursor:D?"pointer":"default"},onClick:()=>k?.(l),onMouseOver:()=>{M(!0),B(!0)},onMouseLeave:()=>{M(!1),b.length===0&&B(!1)},children:[t.jsxs(Fs,{className:"flux-section-name-container",isSticky:r,windowSize:S,bgColor:i,children:[p&&$&&m?t.jsx(Ds,{children:t.jsx(qt,{"aria-label":`Toggle section ${d}`,className:"flux-section-checkbox","data-testid":le,icon:t.jsx(Jt,{width:s.sp3,height:s.sp3}),checkedIcon:t.jsx(Vs,{}),checked:T,id:l,disabled:K,onChange:J,onClick:re=>re.stopPropagation(),style:{padding:"20px",pointerEvents:K?"none":"auto"}})}):t.jsx(Es,{}),t.jsx(ve,{color:I(x),dataTestId:ie,firstLetter:X,showCollapsedIcon:!m,showIcon:L&&D}),t.jsx(Ts,{color:x.toString(),children:d})]}),t.jsxs(Gs,{children:[u.map((re,be)=>t.jsx(Rs,{sectionName:d,balance:re,color:x.toString()},be)),t.jsx(St,{amount:g,percentage:h,currency:e})]})]}),t.jsx(Ks,{isScrolling:f,isLeaf:w,isOpen:m})]})});function Ks({isScrolling:e,isLeaf:n,isOpen:o}){return n||!o?t.jsx(Et,{isScrolling:e,kind:"section_row_separator"}):null}function Ys(){const e=W();return t.jsxs(Us,{windowSize:e,children:[t.jsx(Oe,{windowSize:e,width:jn,marginRight:0,children:t.jsx(Y,{width:C[9],height:C[4],style:{display:"flex",alignItems:"baseline"}})}),t.jsx(Oe,{windowSize:e,width:Fe,marginRight:0,children:t.jsx(Y,{width:128,height:C[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(Oe,{windowSize:e,width:Fe,marginRight:0,children:t.jsx(Y,{width:ze,height:C[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(Oe,{windowSize:e,width:mi,children:t.jsx(Y,{width:184,height:C[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(Oe,{windowSize:e,width:ss,children:t.jsx(Y,{width:ze,height:C[6],style:{display:"flex",alignItems:"center"}})})]})}const Us=a.div`
1368
1368
  display: flex;
1369
1369
  flex-direction: row;
1370
1370
  width: 100%;
@@ -1381,7 +1381,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
1381
1381
  :first-of-type {
1382
1382
  justify-content: flex-start;
1383
1383
  }
1384
- `,{common:Zs,expenseAutomation:{fluxAnalysis:qs},vendors:{opExByVendor:Qs}}=N.getLocalizedStrings(),Js=a.div`
1384
+ `,{common:Zs,expenseAutomation:{fluxAnalysis:qs},vendors:{opExByVendor:Js}}=N.getLocalizedStrings(),Qs=a.div`
1385
1385
  display: flex;
1386
1386
  flex: 1 1 auto;
1387
1387
  width: fit-content;
@@ -1467,7 +1467,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
1467
1467
  margin-left: ${s.sp7};
1468
1468
  flex: 1 1 auto;
1469
1469
  justify-content: flex-end;
1470
- `,ad=({firstMonthOfFY:e,timeframeTick:n,timeframe:o})=>t.jsx(Gt,{isClickable:!1,children:t.jsx(Xs,{children:Ye(e,n,o)})}),ld=({firstMonthOfFY:e,timeframeTick:n,timeframe:o})=>t.jsx(ad,{firstMonthOfFY:e,timeframeTick:n,timeframe:o}),cd=({sortKey:e="vendor",sortOrder:n="ascending",isBulkSelected:o,onSortOrderChanged:i})=>{const r=e==="vendor"?n:"ascending";return t.jsx(id,{isBulkSelected:o,isSortedByKey:e==="vendor",children:t.jsxs(Rt,{onClick:()=>{i(n==="ascending"?"descending":"ascending","vendor")},"data-testid":y("flux-analysis-report-timeframe-row-vendor-element-row"),children:[Qs.vendor,t.jsx(Ht,{isBulkSelected:o,isSortedByKey:e==="vendor",children:r==="ascending"?t.jsx(Kt,{}):t.jsx(Yt,{})})]})})};function sd({backgroundColor:e,height:n,isBulkSelected:o,sortKey:i="vendor",sortOrder:r="ascending",firstMonthOfFY:l,timeframe:c,timeframeTicks:d,onSortOrderChanged:p}){const u=W();return t.jsxs(Js,{heightValue:n,bgColor:e,children:[t.jsx(nd,{className:"flux-vendor-header-sticky",windowSize:u,isSticky:!0,children:t.jsx(od,{windowSize:u,children:t.jsx(cd,{sortKey:i,sortOrder:r,isBulkSelected:o,onSortOrderChanged:(g,h)=>{p?.(g,h)}})})}),t.jsxs(rd,{children:[d.map((g,h)=>t.jsx(ld,{firstMonthOfFY:l,timeframeTick:g,timeframe:c},h)),t.jsx(Gt,{isClickable:!1,width:rs,children:t.jsxs(Rt,{onClick:()=>p?.(r==="ascending"?"descending":"ascending","variance"),"data-testid":y("flux-analysis-report-timeframe-row-varianceElement"),children:[t.jsx(ed,{children:qs.variance}),t.jsx(Ht,{isBulkSelected:o,isSortedByKey:i==="variance",children:(i==="variance"?r:"ascending")==="ascending"?t.jsx(Kt,{}):t.jsx(Yt,{})})]})}),t.jsx(Gt,{isClickable:!1,width:Se,children:t.jsxs(Rt,{onClick:()=>{p?.(r==="ascending"?"descending":"ascending","status")},"data-testid":y("flux-analysis-report-timeframe-row-status"),children:[t.jsx(td,{children:Zs.texts.reviewStatus}),t.jsx(Ht,{isBulkSelected:o,isSortedByKey:i==="status",children:(i==="status"?r:"ascending")==="ascending"?t.jsx(Kt,{}):t.jsx(Yt,{})})]})})]})]})}const dd=a.div`
1470
+ `,ad=({firstMonthOfFY:e,timeframeTick:n,timeframe:o})=>t.jsx(Gt,{isClickable:!1,children:t.jsx(Xs,{children:Ye(e,n,o)})}),ld=({firstMonthOfFY:e,timeframeTick:n,timeframe:o})=>t.jsx(ad,{firstMonthOfFY:e,timeframeTick:n,timeframe:o}),cd=({sortKey:e="vendor",sortOrder:n="ascending",isBulkSelected:o,onSortOrderChanged:i})=>{const r=e==="vendor"?n:"ascending";return t.jsx(id,{isBulkSelected:o,isSortedByKey:e==="vendor",children:t.jsxs(Rt,{onClick:()=>{i(n==="ascending"?"descending":"ascending","vendor")},"data-testid":y("flux-analysis-report-timeframe-row-vendor-element-row"),children:[Js.vendor,t.jsx(Ht,{isBulkSelected:o,isSortedByKey:e==="vendor",children:r==="ascending"?t.jsx(Kt,{}):t.jsx(Yt,{})})]})})};function sd({backgroundColor:e,height:n,isBulkSelected:o,sortKey:i="vendor",sortOrder:r="ascending",firstMonthOfFY:l,timeframe:c,timeframeTicks:d,onSortOrderChanged:p}){const u=W();return t.jsxs(Qs,{heightValue:n,bgColor:e,children:[t.jsx(nd,{className:"flux-vendor-header-sticky",windowSize:u,isSticky:!0,children:t.jsx(od,{windowSize:u,children:t.jsx(cd,{sortKey:i,sortOrder:r,isBulkSelected:o,onSortOrderChanged:(g,h)=>{p?.(g,h)}})})}),t.jsxs(rd,{children:[d.map((g,h)=>t.jsx(ld,{firstMonthOfFY:l,timeframeTick:g,timeframe:c},h)),t.jsx(Gt,{isClickable:!1,width:rs,children:t.jsxs(Rt,{onClick:()=>p?.(r==="ascending"?"descending":"ascending","variance"),"data-testid":y("flux-analysis-report-timeframe-row-varianceElement"),children:[t.jsx(ed,{children:qs.variance}),t.jsx(Ht,{isBulkSelected:o,isSortedByKey:i==="variance",children:(i==="variance"?r:"ascending")==="ascending"?t.jsx(Kt,{}):t.jsx(Yt,{})})]})}),t.jsx(Gt,{isClickable:!1,width:Se,children:t.jsxs(Rt,{onClick:()=>{p?.(r==="ascending"?"descending":"ascending","status")},"data-testid":y("flux-analysis-report-timeframe-row-status"),children:[t.jsx(td,{children:Zs.texts.reviewStatus}),t.jsx(Ht,{isBulkSelected:o,isSortedByKey:i==="status",children:(i==="status"?r:"ascending")==="ascending"?t.jsx(Kt,{}):t.jsx(Yt,{})})]})})]})]})}const dd=a.div`
1471
1471
  display: flex;
1472
1472
  flex: 1 1 auto;
1473
1473
  width: fit-content;
@@ -1722,7 +1722,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
1722
1722
  justify-content: center;
1723
1723
  align-items: center;
1724
1724
  margin-left: ${s.sp1};
1725
- `,{common:ao,expenseAutomation:Gd}=N.getLocalizedStrings(),Rd=({balance:e})=>{const n=Cd;return t.jsx(Sd,{children:t.jsx(n,{children:q(e)})})};function Hd({fluxAnalysisEntityId:e,idsForReview:n,backgroundColor:o,isSticky:i,treeNodeId:r,height:l,leftChevron:c,varianceAmount:d,variancePercentage:p,currency:u,vendorBalances:g,reviewedByUser:h,status:x,vendor:f,isOpen:m,childrenCount:w,vendorRowIndex:b,setHoveredParentId:k,onClick:v,handleRedirectToVendorDetailPage:S,updateOperatingExpensesIdsForReview:$}){const[B,L]=V.useState(!1),[M,T]=V.useState(n.length>0),D=n.includes(e),K=n.includes(e),X=c==="collapsed",Q=n.length===20&&D===!1,ie=$d,he=b!=null?String(b):e,le=y("flux-analysis-vendor-checkbox",he),re=y("flux-analysis-vendor-detail-navigation",he),be=y("flux-analysis-vendor-expand-collapse",he),$e=y("flux-analysis-vendor-row",he);return t.jsx(kd,{heightValue:l,bgColor:o,"data-testid":$e,children:t.jsxs(jd,{shouldHighlight:K,isRowExpanded:m,onClick:()=>v?.(r),onMouseOver:()=>{L(!0),T(!0),k?.(f.id)},onMouseLeave:()=>{L(!1),n.length===0&&T(!1),k?.(null)},children:[t.jsxs(vd,{className:"flux-vendor-name-container",bgColor:o,isSticky:i,children:[t.jsx(Pd,{className:"flux-vendor-checkbox-container",children:M?t.jsx(qt,{className:"flux-vendor-checkbox","data-testid":le,icon:t.jsx(Qt,{width:s.sp3,height:s.sp3}),checkedIcon:t.jsx(zd,{}),checked:D,name:f.name,id:e,disabled:Q,onChange:ce=>{let ue=n;ue=ce.target.checked===!0?[...ue,e]:ue.filter(_e=>_e!==e),$?.(ue)},onClick:ce=>ce.stopPropagation(),style:{padding:"20px",pointerEvents:Q?"none":"auto"}}):null}),t.jsxs(Id,{isNodeOpen:m,children:[B?t.jsx(Vd,{className:"flux-vendor-collapsable-chevron-icon","data-testid":be,children:m===!1?t.jsx(ro,{}):t.jsx(Td,{})}):f.logo!=null?t.jsx(Jt,{photoUrl:f.logo.toString(),styles:{width:C[4],height:C[4]}}):t.jsx(Xt,{name:f.name,size:s.sp4}),m?t.jsx(gi,{height:cs}):null]}),t.jsxs(_d,{children:[t.jsxs(Ld,{children:[t.jsx(ie,{children:f.name}),m?null:t.jsx(Ed,{className:"flux-vendor-children-count",children:t.jsx(Te,{children:w})})]}),B?t.jsx(V.Fragment,{children:t.jsx(Dd,{className:"flux-vendor-chevron-icon",onClick:()=>{S?.(f)},"data-testid":re,children:t.jsx(ro,{})})}):null]})]}),t.jsxs(Bd,{children:[g.map((ce,ue)=>t.jsx(Rd,{balance:ce,collapsed:X},ue)),t.jsx(St,{amount:d,percentage:p,currency:u}),t.jsx(Od,{children:x==="Pending Review"?t.jsx(Md,{children:t.jsx(Wd,{children:ao.status.pending})}):t.jsx(t.Fragment,{children:t.jsx(Nd,{className:"vendor-flux-analysis-review-info",children:h!=null?t.jsxs(V.Fragment,{children:[t.jsxs(Fd,{children:[t.jsx(Ad,{}),Gd.fluxAnalysis.reviewedBy]}),t.jsx(Te,{children:Xi(h)})]}):ao.strings.hyphen})})})]})]})})}const lo={generalExpense:{color:new I(O.graphColor04),hoverColor:new I(O.graphColor04Dark)},reimbursement:{color:new I(O.graphColor10),hoverColor:new I(O.graphColor10Dark)},default:{color:new I(ee.neutralGrey2Dark),hoverColor:new I(ee.neutralGrey2Dark)}},Sn=(e,n)=>{const{element:o}=e;return o.kind===n&&o.data!=null},ki=e=>Yc(e.balancesByMonth),Kd=(e,n,o,i,r,l,c,d,p,u,g)=>{if(!Sn(n,"flux_vendor_row"))return null;const h=n.element.data,x=ki(h),f=wi("flux_vendor_row",p);return t.jsx(Hd,{backgroundColor:o,isSticky:i,treeNodeId:e,vendorRowIndex:n.element.index,fluxAnalysisEntityId:h.fluxAnalysisEntityId,height:f,leftChevron:"collapsed",idsForReview:n.config.fluxAnalysisConfig?.reviewOpExIds??[],vendor:h.vendor,vendorBalances:x,varianceAmount:h.varianceAmount,variancePercentage:h.variancePercentage,status:h.status,currency:h.currency,isScrolling:r,isOpen:l,isLeaf:c,isLastNode:d,childrenCount:h.vendorAccountsAndClasses.length,onClick:m=>{(w=>{g?.(w),n.config.fluxAnalysisConfig?.updateNodeCollapsableStatus(w)})(m)},reviewedByUser:h.reviewedByUser,updateOperatingExpensesIdsForReview:n.config.fluxAnalysisConfig?.updateOperatingExpensesIdsForReview,handleRedirectToVendorDetailPage:n.config.fluxAnalysisConfig?.handleRedirectToVendorDetailPage,setHoveredParentId:u?.setHoveredParentId})},Yd=(e,n,o,i,r,l,c,d,p,u)=>{if(!Sn(n,"section"))return null;const g=((x,f)=>x.startsWith("flux_analysis_operating_expense")===!0&&f!=null?lo[f]:lo.default)(n.config.reportId,n.element.sectionType),h=n.element.data;return t.jsx(Hs,{backgroundColor:i,isSticky:r,treeNodeId:e,height:o,selectedSectionsIds:n.config.fluxAnalysisConfig?.reviewSectionIds??[],idsForReview:n.config.fluxAnalysisConfig?.reviewOpExIds??[],sectionColor:g.color,sectionName:n.element.title,sectionBalances:h.balances,varianceAmount:h.varianceAmount,variancePercentage:h.variancePercentage,currency:h.currency,isScrolling:l,isOpen:c,hasVendors:h.vendors.length>0,isLeaf:d,isLastNode:p,sectionToggled:x=>{(f=>{n.config.fluxAnalysisConfig?.onSectionRowClick(f),u?.(f)})(x)},onSectionCheckboxClick:n.config.fluxAnalysisConfig?.onSectionCheckboxClick,sectionId:h.sectionId})},Ud=a.div`
1725
+ `,{common:ao,expenseAutomation:Gd}=N.getLocalizedStrings(),Rd=({balance:e})=>{const n=Cd;return t.jsx(Sd,{children:t.jsx(n,{children:q(e)})})};function Hd({fluxAnalysisEntityId:e,idsForReview:n,backgroundColor:o,isSticky:i,treeNodeId:r,height:l,leftChevron:c,varianceAmount:d,variancePercentage:p,currency:u,vendorBalances:g,reviewedByUser:h,status:x,vendor:f,isOpen:m,childrenCount:w,vendorRowIndex:b,setHoveredParentId:k,onClick:v,handleRedirectToVendorDetailPage:S,updateOperatingExpensesIdsForReview:$}){const[B,L]=V.useState(!1),[M,T]=V.useState(n.length>0),D=n.includes(e),K=n.includes(e),X=c==="collapsed",J=n.length===20&&D===!1,ie=$d,he=b!=null?String(b):e,le=y("flux-analysis-vendor-checkbox",he),re=y("flux-analysis-vendor-detail-navigation",he),be=y("flux-analysis-vendor-expand-collapse",he),$e=y("flux-analysis-vendor-row",he);return t.jsx(kd,{heightValue:l,bgColor:o,"data-testid":$e,children:t.jsxs(jd,{shouldHighlight:K,isRowExpanded:m,onClick:()=>v?.(r),onMouseOver:()=>{L(!0),T(!0),k?.(f.id)},onMouseLeave:()=>{L(!1),n.length===0&&T(!1),k?.(null)},children:[t.jsxs(vd,{className:"flux-vendor-name-container",bgColor:o,isSticky:i,children:[t.jsx(Pd,{className:"flux-vendor-checkbox-container",children:M?t.jsx(qt,{className:"flux-vendor-checkbox","data-testid":le,icon:t.jsx(Jt,{width:s.sp3,height:s.sp3}),checkedIcon:t.jsx(zd,{}),checked:D,name:f.name,id:e,disabled:J,onChange:ce=>{let ue=n;ue=ce.target.checked===!0?[...ue,e]:ue.filter(_e=>_e!==e),$?.(ue)},onClick:ce=>ce.stopPropagation(),style:{padding:"20px",pointerEvents:J?"none":"auto"}}):null}),t.jsxs(Id,{isNodeOpen:m,children:[B?t.jsx(Vd,{className:"flux-vendor-collapsable-chevron-icon","data-testid":be,children:m===!1?t.jsx(ro,{}):t.jsx(Td,{})}):f.logo!=null?t.jsx(Qt,{photoUrl:f.logo.toString(),styles:{width:C[4],height:C[4]}}):t.jsx(Xt,{name:f.name,size:s.sp4}),m?t.jsx(gi,{height:cs}):null]}),t.jsxs(_d,{children:[t.jsxs(Ld,{children:[t.jsx(ie,{children:f.name}),m?null:t.jsx(Ed,{className:"flux-vendor-children-count",children:t.jsx(Te,{children:w})})]}),B?t.jsx(V.Fragment,{children:t.jsx(Dd,{className:"flux-vendor-chevron-icon",onClick:()=>{S?.(f)},"data-testid":re,children:t.jsx(ro,{})})}):null]})]}),t.jsxs(Bd,{children:[g.map((ce,ue)=>t.jsx(Rd,{balance:ce,collapsed:X},ue)),t.jsx(St,{amount:d,percentage:p,currency:u}),t.jsx(Od,{children:x==="Pending Review"?t.jsx(Md,{children:t.jsx(Wd,{children:ao.status.pending})}):t.jsx(t.Fragment,{children:t.jsx(Nd,{className:"vendor-flux-analysis-review-info",children:h!=null?t.jsxs(V.Fragment,{children:[t.jsxs(Fd,{children:[t.jsx(Ad,{}),Gd.fluxAnalysis.reviewedBy]}),t.jsx(Te,{children:Xi(h)})]}):ao.strings.hyphen})})})]})]})})}const lo={generalExpense:{color:new I(O.graphColor04),hoverColor:new I(O.graphColor04Dark)},reimbursement:{color:new I(O.graphColor10),hoverColor:new I(O.graphColor10Dark)},default:{color:new I(ee.neutralGrey2Dark),hoverColor:new I(ee.neutralGrey2Dark)}},Sn=(e,n)=>{const{element:o}=e;return o.kind===n&&o.data!=null},ki=e=>Yc(e.balancesByMonth),Kd=(e,n,o,i,r,l,c,d,p,u,g)=>{if(!Sn(n,"flux_vendor_row"))return null;const h=n.element.data,x=ki(h),f=wi("flux_vendor_row",p);return t.jsx(Hd,{backgroundColor:o,isSticky:i,treeNodeId:e,vendorRowIndex:n.element.index,fluxAnalysisEntityId:h.fluxAnalysisEntityId,height:f,leftChevron:"collapsed",idsForReview:n.config.fluxAnalysisConfig?.reviewOpExIds??[],vendor:h.vendor,vendorBalances:x,varianceAmount:h.varianceAmount,variancePercentage:h.variancePercentage,status:h.status,currency:h.currency,isScrolling:r,isOpen:l,isLeaf:c,isLastNode:d,childrenCount:h.vendorAccountsAndClasses.length,onClick:m=>{(w=>{g?.(w),n.config.fluxAnalysisConfig?.updateNodeCollapsableStatus(w)})(m)},reviewedByUser:h.reviewedByUser,updateOperatingExpensesIdsForReview:n.config.fluxAnalysisConfig?.updateOperatingExpensesIdsForReview,handleRedirectToVendorDetailPage:n.config.fluxAnalysisConfig?.handleRedirectToVendorDetailPage,setHoveredParentId:u?.setHoveredParentId})},Yd=(e,n,o,i,r,l,c,d,p,u)=>{if(!Sn(n,"section"))return null;const g=((x,f)=>x.startsWith("flux_analysis_operating_expense")===!0&&f!=null?lo[f]:lo.default)(n.config.reportId,n.element.sectionType),h=n.element.data;return t.jsx(Hs,{backgroundColor:i,isSticky:r,treeNodeId:e,height:o,selectedSectionsIds:n.config.fluxAnalysisConfig?.reviewSectionIds??[],idsForReview:n.config.fluxAnalysisConfig?.reviewOpExIds??[],sectionColor:g.color,sectionName:n.element.title,sectionBalances:h.balances,varianceAmount:h.varianceAmount,variancePercentage:h.variancePercentage,currency:h.currency,isScrolling:l,isOpen:c,hasVendors:h.vendors.length>0,isLeaf:d,isLastNode:p,sectionToggled:x=>{(f=>{n.config.fluxAnalysisConfig?.onSectionRowClick(f),u?.(f)})(x)},onSectionCheckboxClick:n.config.fluxAnalysisConfig?.onSectionCheckboxClick,sectionId:h.sectionId})},Ud=a.div`
1726
1726
  display: flex;
1727
1727
  flex: 1 1 auto;
1728
1728
  width: fit-content;
@@ -1747,13 +1747,13 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
1747
1747
  background-color: null;
1748
1748
  }
1749
1749
  width: 100%;
1750
- `,Qd=a(er)`
1750
+ `,Jd=a(er)`
1751
1751
  width: 100%;
1752
1752
  display: flex;
1753
1753
  align-items: center;
1754
1754
  font-weight: ${e=>e.isSubclass?Fn.regular:Fn.medium};
1755
1755
  color: ${e=>e.checked?e.theme.colors.primary:e.theme.colors.hero};
1756
- `,Jd=a(Ce)`
1756
+ `,Qd=a(Ce)`
1757
1757
  display: flex;
1758
1758
  color: ${e=>e.theme.colors.primary};
1759
1759
  align-items: center;
@@ -1768,7 +1768,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
1768
1768
  color: ${e=>e.theme.colors.primary};
1769
1769
  width: ${s.sp3};
1770
1770
  height: ${s.sp3};
1771
- `;function eh({backgroundColor:e,treeNodeId:n,classId:o,isChecked:i,isDisabled:r,height:l,nestedClass:c,isLeaf:d,showClassAccountNumber:p,onClick:u,onToggleCheck:g}){const[h,x]=V.useState(!1);return t.jsx(Ud,{"data-testid":y("name-with-checkbox-row-root-container",n),bgColor:e,children:t.jsxs(Zd,{"data-testid":y("name-with-checkbox-row-container",n),height:l,isClickable:!d,onClick:()=>u?.(n),onMouseOver:()=>x(!0),onMouseLeave:()=>x(!1),level:c.classId.length,children:[t.jsx(qt,{"data-testid":y("name-with-checkbox-row-checkbox",c.classId.toString()),icon:t.jsx(Qt,{width:s.sp3,height:s.sp3}),checkedIcon:t.jsx(Xd,{}),checked:i,name:c.className,id:n,disabled:r,onChange:f=>{g?.(o,f.target.checked)},style:{height:s.sp6}})," ",t.jsx(qd,{children:t.jsxs(Qd,{"data-testid":y("name-with-checkbox-row-label-container",n),checked:i,isSubclass:c.classId.length>1,children:[t.jsx("label",{"data-testid":y("name-with-checkbox-row-label",c.classId.toString()),style:{flexGrow:2,cursor:"pointer"},onClick:()=>{g?.(o,!i)},children:c.className}),h===!0&&p===!0&&c.accountingClassNumber!=null&&t.jsx(Jd,{children:c.accountingClassNumber})]})})]})})}const P={balanceHeight:s.sp4,balanceWidth:"166px",balanceLeftMargin:s.sp4,titleWidth:new E(200,270,270),categoryClassWidth:new E(230,230,240),nameLogoWidth:new E(C[4],C[4]),nameLogoHeight:new E(C[4],C[4])},th=a.div`
1771
+ `;function eh({backgroundColor:e,treeNodeId:n,classId:o,isChecked:i,isDisabled:r,height:l,nestedClass:c,isLeaf:d,showClassAccountNumber:p,onClick:u,onToggleCheck:g}){const[h,x]=V.useState(!1);return t.jsx(Ud,{"data-testid":y("name-with-checkbox-row-root-container",n),bgColor:e,children:t.jsxs(Zd,{"data-testid":y("name-with-checkbox-row-container",n),height:l,isClickable:!d,onClick:()=>u?.(n),onMouseOver:()=>x(!0),onMouseLeave:()=>x(!1),level:c.classId.length,children:[t.jsx(qt,{"data-testid":y("name-with-checkbox-row-checkbox",c.classId.toString()),icon:t.jsx(Jt,{width:s.sp3,height:s.sp3}),checkedIcon:t.jsx(Xd,{}),checked:i,name:c.className,id:n,disabled:r,onChange:f=>{g?.(o,f.target.checked)},style:{height:s.sp6}})," ",t.jsx(qd,{children:t.jsxs(Jd,{"data-testid":y("name-with-checkbox-row-label-container",n),checked:i,isSubclass:c.classId.length>1,children:[t.jsx("label",{"data-testid":y("name-with-checkbox-row-label",c.classId.toString()),style:{flexGrow:2,cursor:"pointer"},onClick:()=>{g?.(o,!i)},children:c.className}),h===!0&&p===!0&&c.accountingClassNumber!=null&&t.jsx(Qd,{children:c.accountingClassNumber})]})})]})})}const P={balanceHeight:s.sp4,balanceWidth:"166px",balanceLeftMargin:s.sp4,titleWidth:new E(200,270,270),categoryClassWidth:new E(230,230,240),nameLogoWidth:new E(C[4],C[4]),nameLogoHeight:new E(C[4],C[4])},th=a.div`
1772
1772
  user-select: none;
1773
1773
  display: flex;
1774
1774
  flex: 1 1 auto;
@@ -2160,7 +2160,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
2160
2160
  &:hover {
2161
2161
  color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
2162
2162
  }
2163
- `,Qh=a.div`
2163
+ `,Jh=a.div`
2164
2164
  display: flex;
2165
2165
  flex-direction: row;
2166
2166
  background-color: ${e=>e.bgColor?.hex()};
@@ -2170,7 +2170,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
2170
2170
  top: ${s.sp0};
2171
2171
  left: ${s.sp0};
2172
2172
  `:null}
2173
- `,Jh=a.div`
2173
+ `,Qh=a.div`
2174
2174
  display: flex;
2175
2175
  flex-direction: row;
2176
2176
  flex-shrink: 2;
@@ -2240,7 +2240,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
2240
2240
  `,au=a(_)`
2241
2241
  color: ${e=>e.theme.colors.hero};
2242
2242
  display: none;
2243
- `,lu=({balance:e,timeframeColumnIndex:n,vendor:o,vendorRowKey:i,onVendorNameAndBalanceClick:r})=>{const l=!(e?.type==="this_period_vs_last_period"||e?.type==="this_period_vs_last_period_percent")&&e?.type!=="period_total"&&e?.type!=="default_with_null_balance"&&!$o(o.id);return t.jsx(Zh,{"data-testid":y("report-tree-vendor-row-amount",`${i}-${String(n)}`),children:t.jsx(qh,{isClickable:l,onClick:()=>{l===!0&&r(o,e??void 0)},children:q(e)})})};function cu({backgroundColor:e,isSticky:n,height:o,isScrolling:i,isLastNode:r,vendor:l,balances:c,accountBase:d,classBase:p,isAccountColumnShown:u,isClassColumnShown:g,onVendorNameAndBalanceClick:h,vendorRowIndex:x}){const f=W(),m=x!=null?String(x):l.id,w=en(),b=w.loggedInUserRole!=null&&!vo(w.loggedInUserRole),k=$o(l.id),v=b===!0&&l!=null&&!k,S=v?"pointer":"default",$=l.name;return t.jsxs(Kh,{"data-testid":y("vendor-row-root-container",m),height:o,bgColor:e,windowSize:f,children:[t.jsxs(Yh,{"data-testid":y("vendor-row-container",m),style:{cursor:S},isClickable:v,children:[t.jsx(Qh,{"data-testid":y("vendor-row-sticky-container",m),isSticky:n,windowSize:f,bgColor:e,children:t.jsxs(Jh,{"data-testid":y("vendor-row-name-container",m),windowSize:f,bgColor:e,children:[t.jsxs(st,{controller:!k,children:[t.jsx(tu,{"data-testid":y("report-tree-vendor-row-avatar",m),children:l.logo!=null?t.jsx(Jt,{photoUrl:l.logo.toString(),styles:{width:P.nameLogoWidth.valuePx(f),height:P.nameLogoHeight.valuePx(f)}}):t.jsx(Xt,{name:$,size:s.sp4})}),t.jsx(Ne,{"data-testid":y("vendor-row-name",m),style:{cursor:S},isClickable:v,onClick:()=>{v===!0&&h(l)},children:$})]}),t.jsx(st,{controller:k,children:t.jsxs(iu,{children:[t.jsx(nu,{"data-testid":y("report-tree-vendor-row-avatar",m),children:t.jsx(ou,{})}),t.jsx(ru,{className:"hyphen-text",children:N.getLocalizedStrings().common.strings.hyphen}),t.jsx(au,{className:"not-specified-text",children:$})]})})]})}),u?t.jsx(Xh,{windowSize:f,bgColor:e,children:d!=null?t.jsx(Ne,{"data-testid":y("vendor-row-account-name",m),title:d.accountName,isClickable:!1,children:d.accountName}):t.jsx(Ne,{isClickable:!1,"data-testid":y("vendor-row-account-name",m),children:N.getLocalizedStrings().common.strings.hyphen})}):null,g?t.jsx(eu,{windowSize:f,bgColor:e,children:p!=null?t.jsx(Ne,{"data-testid":y("vendor-row-class-name",m),title:p.className,isClickable:!1,children:p.className}):t.jsx(Ne,{"data-testid":y("vendor-row-class-name",m),isClickable:!1,children:N.getLocalizedStrings().common.strings.hyphen})}):null,t.jsx(Uh,{children:c.map((B,L)=>t.jsx(lu,{balance:B,timeframeColumnIndex:L,vendor:l,vendorRowKey:m,onVendorNameAndBalanceClick:h},L))})]}),t.jsx(su,{isScrolling:i,isLastNode:r})]})}function su({isScrolling:e,isLastNode:n}){return n?t.jsx(Ut,{isScrolling:e,kind:"end_row_separator"}):t.jsx(Ut,{isScrolling:e,kind:"vendor_row_separator"})}function _n(e,n,o){return du(n,o,e)}const du=(e,n,o)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.account.balancesInTimeframe,i.compactedAccountsSelector=r=>go(r.accounts,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>go(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r,i.compactedAccountGroupsSelector=r=>function(l,c,d,p){switch(p){case"off":return l;case"filter_actual_nil_account_group_balances":return l.filter(u=>Ii(c(u)?.balances??[]));case"filter_forecast_nil_account_group_balances":return l.filter(u=>function(g){let h=!1;if(g!=null){for(const x of g)if(x.forecast!=null&&x.forecast.amount!==0){h=!0;break}}return h}(c(u)?.balances??[]));case"filter_actual_forecast_nil_account_group_balances":return l.filter(u=>function(g){let h=!1;if(g!=null){for(const x of g)if(x.forecast!=null&&x.forecast.amount!==0||x.balance!=null&&x.balance.amount!==0){h=!0;break}}return h}(c(u)?.balances??[]));case"filter_actual_forecast_empty_account_group_balances":return l.filter(u=>(c(u)?.balances??[]).length>0)}}(r,i.acGroupBalanceSelector,0,n),i};function go(e,n,o){switch(o){case"off":return e;case"filter_actual_nil_balances":return e.filter(i=>function(r){let l=!1;if(r!=null){for(const c of r)if(c.totalBalance!=null&&c.totalBalance.amount!==0){l=!0;break}}return l}((n(i)?.balances??[]).concat(n(i)?.additionalBalances??[]))||Ii((n(i)?.balances??[]).concat(n(i)?.additionalBalances??[])));case"filter_forecast_nil_balances":case"filter_actual_forecast_nil_balances":return e.filter(i=>hu(n(i)?.balances??[]))}}function Ii(e){let n=!1;if(e!=null){for(const o of e)if(o.balance.amount!==0){n=!0;break}}return n}function hu(e){let n=!1;if(e!=null){for(const o of e)if(o.totalForecast!=null&&o.totalForecast.amount!==0||o.totalBalance!=null&&o.totalBalance.amount!==0){n=!0;break}}return n}function Oi(e,n,o=-1,i=!0){const r=o!==-1;let l=[],c=-1;if(e==null||e.balances.length===0)return r===!0&&(l=function(p,u){return p.length>0?p:bo(Array(u),null)}([],o)),{balances:l,thisPeriodIndex:c};let d=e.balances;return n==="ascending_date"?c=e.balances.length-1:(c=0,d=[...e.balances].reverse()),{balances:[...d,...i?e.additionalBalances:[]],thisPeriodIndex:c}}const uu=a.div`
2243
+ `,lu=({balance:e,timeframeColumnIndex:n,vendor:o,vendorRowKey:i,onVendorNameAndBalanceClick:r})=>{const l=!(e?.type==="this_period_vs_last_period"||e?.type==="this_period_vs_last_period_percent")&&e?.type!=="period_total"&&e?.type!=="default_with_null_balance"&&!$o(o.id);return t.jsx(Zh,{"data-testid":y("report-tree-vendor-row-amount",`${i}-${String(n)}`),children:t.jsx(qh,{isClickable:l,onClick:()=>{l===!0&&r(o,e??void 0)},children:q(e)})})};function cu({backgroundColor:e,isSticky:n,height:o,isScrolling:i,isLastNode:r,vendor:l,balances:c,accountBase:d,classBase:p,isAccountColumnShown:u,isClassColumnShown:g,onVendorNameAndBalanceClick:h,vendorRowIndex:x}){const f=W(),m=x!=null?String(x):l.id,w=en(),b=w.loggedInUserRole!=null&&!vo(w.loggedInUserRole),k=$o(l.id),v=b===!0&&l!=null&&!k,S=v?"pointer":"default",$=l.name;return t.jsxs(Kh,{"data-testid":y("vendor-row-root-container",m),height:o,bgColor:e,windowSize:f,children:[t.jsxs(Yh,{"data-testid":y("vendor-row-container",m),style:{cursor:S},isClickable:v,children:[t.jsx(Jh,{"data-testid":y("vendor-row-sticky-container",m),isSticky:n,windowSize:f,bgColor:e,children:t.jsxs(Qh,{"data-testid":y("vendor-row-name-container",m),windowSize:f,bgColor:e,children:[t.jsxs(st,{controller:!k,children:[t.jsx(tu,{"data-testid":y("report-tree-vendor-row-avatar",m),children:l.logo!=null?t.jsx(Qt,{photoUrl:l.logo.toString(),styles:{width:P.nameLogoWidth.valuePx(f),height:P.nameLogoHeight.valuePx(f)}}):t.jsx(Xt,{name:$,size:s.sp4})}),t.jsx(Ne,{"data-testid":y("vendor-row-name",m),style:{cursor:S},isClickable:v,onClick:()=>{v===!0&&h(l)},children:$})]}),t.jsx(st,{controller:k,children:t.jsxs(iu,{children:[t.jsx(nu,{"data-testid":y("report-tree-vendor-row-avatar",m),children:t.jsx(ou,{})}),t.jsx(ru,{className:"hyphen-text",children:N.getLocalizedStrings().common.strings.hyphen}),t.jsx(au,{className:"not-specified-text",children:$})]})})]})}),u?t.jsx(Xh,{windowSize:f,bgColor:e,children:d!=null?t.jsx(Ne,{"data-testid":y("vendor-row-account-name",m),title:d.accountName,isClickable:!1,children:d.accountName}):t.jsx(Ne,{isClickable:!1,"data-testid":y("vendor-row-account-name",m),children:N.getLocalizedStrings().common.strings.hyphen})}):null,g?t.jsx(eu,{windowSize:f,bgColor:e,children:p!=null?t.jsx(Ne,{"data-testid":y("vendor-row-class-name",m),title:p.className,isClickable:!1,children:p.className}):t.jsx(Ne,{"data-testid":y("vendor-row-class-name",m),isClickable:!1,children:N.getLocalizedStrings().common.strings.hyphen})}):null,t.jsx(Uh,{children:c.map((B,L)=>t.jsx(lu,{balance:B,timeframeColumnIndex:L,vendor:l,vendorRowKey:m,onVendorNameAndBalanceClick:h},L))})]}),t.jsx(su,{isScrolling:i,isLastNode:r})]})}function su({isScrolling:e,isLastNode:n}){return n?t.jsx(Ut,{isScrolling:e,kind:"end_row_separator"}):t.jsx(Ut,{isScrolling:e,kind:"vendor_row_separator"})}function _n(e,n,o){return du(n,o,e)}const du=(e,n,o)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.account.balancesInTimeframe,i.compactedAccountsSelector=r=>go(r.accounts,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>go(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r,i.compactedAccountGroupsSelector=r=>function(l,c,d,p){switch(p){case"off":return l;case"filter_actual_nil_account_group_balances":return l.filter(u=>Ii(c(u)?.balances??[]));case"filter_forecast_nil_account_group_balances":return l.filter(u=>function(g){let h=!1;if(g!=null){for(const x of g)if(x.forecast!=null&&x.forecast.amount!==0){h=!0;break}}return h}(c(u)?.balances??[]));case"filter_actual_forecast_nil_account_group_balances":return l.filter(u=>function(g){let h=!1;if(g!=null){for(const x of g)if(x.forecast!=null&&x.forecast.amount!==0||x.balance!=null&&x.balance.amount!==0){h=!0;break}}return h}(c(u)?.balances??[]));case"filter_actual_forecast_empty_account_group_balances":return l.filter(u=>(c(u)?.balances??[]).length>0)}}(r,i.acGroupBalanceSelector,0,n),i};function go(e,n,o){switch(o){case"off":return e;case"filter_actual_nil_balances":return e.filter(i=>function(r){let l=!1;if(r!=null){for(const c of r)if(c.totalBalance!=null&&c.totalBalance.amount!==0){l=!0;break}}return l}((n(i)?.balances??[]).concat(n(i)?.additionalBalances??[]))||Ii((n(i)?.balances??[]).concat(n(i)?.additionalBalances??[])));case"filter_forecast_nil_balances":case"filter_actual_forecast_nil_balances":return e.filter(i=>hu(n(i)?.balances??[]))}}function Ii(e){let n=!1;if(e!=null){for(const o of e)if(o.balance.amount!==0){n=!0;break}}return n}function hu(e){let n=!1;if(e!=null){for(const o of e)if(o.totalForecast!=null&&o.totalForecast.amount!==0||o.totalBalance!=null&&o.totalBalance.amount!==0){n=!0;break}}return n}function Oi(e,n,o=-1,i=!0){const r=o!==-1;let l=[],c=-1;if(e==null||e.balances.length===0)return r===!0&&(l=function(p,u){return p.length>0?p:bo(Array(u),null)}([],o)),{balances:l,thisPeriodIndex:c};let d=e.balances;return n==="ascending_date"?c=e.balances.length-1:(c=0,d=[...e.balances].reverse()),{balances:[...d,...i?e.additionalBalances:[]],thisPeriodIndex:c}}const uu=a.div`
2244
2244
  display: flex;
2245
2245
  flex: 1 1 auto;
2246
2246
  width: fit-content;
@@ -2310,7 +2310,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
2310
2310
  &:hover {
2311
2311
  color: inherit;
2312
2312
  }
2313
- `,yu=({type:e,balance:n,collapsed:o,isActualVsForecastOn:i,compareMode:r})=>{const l=o===!0?fu:Ni;return t.jsxs(xu,{children:[ae(e)===!0||i?t.jsx(l,{children:q(n)}):t.jsx(l,{children:J(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(l,{children:J(n)}),t.jsx(l,{children:r==="compare_mode_percent"?pe(n):ge(n)})]}):null]})};function bu({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,leftChevron:l,accountGroupName:c,accountGroupBalances:d,isActualVsForecastOn:p,compareMode:u,isScrolling:g,isOpen:h,isLeaf:x,isLastNode:f,onClick:m}){const w=de(),b=W(),k=!x,v=k?"pointer":"default",S=l==="collapsed",$=l==="hidden",B=$===!0?C[6]:C[4],L=S===!0?wu:Mi,M=S===!0?wo:yo,T=S===!0?w.colors.hero:w.colors.primary;return t.jsxs(uu,{height:r,bgColor:n,"data-testid":y("pandl-report-account-group-row-root-container",i),children:[t.jsxs(pu,{"data-testid":y("pandl-report-account-group-row-container",i),style:{cursor:v},isClickable:k,onClick:()=>m?.(i),children:[xe(e)===!0?t.jsxs(mu,{bgColor:n,isSticky:o,windowSize:b,children:[$===!1?t.jsx(M,{color:T,style:{width:C[3],height:C[3]}}):null,t.jsx(L,{style:{marginLeft:B},children:c})]}):null,ke(e)===!0?t.jsx(gu,{children:d.map((D,K)=>t.jsx(yu,{type:e,accountGroupName:c,balance:D,isActualVsForecastOn:p,compareMode:u,collapsed:S},K))}):null]}),t.jsx(ku,{isScrolling:g,type:e,isLeaf:x,isLastNode:f,isOpen:h})]})}function ku({isScrolling:e,type:n,isLastNode:o,isOpen:i}){let r="ac_group_row_separator";return o&&!i?r="section_row_separator":i&&(r=xe(n)===!0?"account_title_row_separator":"account_balance_row_separator"),t.jsx(je,{isScrolling:e,kind:r})}const ju=a.div`
2313
+ `,yu=({type:e,balance:n,collapsed:o,isActualVsForecastOn:i,compareMode:r})=>{const l=o===!0?fu:Ni;return t.jsxs(xu,{children:[ae(e)===!0||i?t.jsx(l,{children:q(n)}):t.jsx(l,{children:Q(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(l,{children:Q(n)}),t.jsx(l,{children:r==="compare_mode_percent"?pe(n):ge(n)})]}):null]})};function bu({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,leftChevron:l,accountGroupName:c,accountGroupBalances:d,isActualVsForecastOn:p,compareMode:u,isScrolling:g,isOpen:h,isLeaf:x,isLastNode:f,onClick:m}){const w=de(),b=W(),k=!x,v=k?"pointer":"default",S=l==="collapsed",$=l==="hidden",B=$===!0?C[6]:C[4],L=S===!0?wu:Mi,M=S===!0?wo:yo,T=S===!0?w.colors.hero:w.colors.primary;return t.jsxs(uu,{height:r,bgColor:n,"data-testid":y("pandl-report-account-group-row-root-container",i),children:[t.jsxs(pu,{"data-testid":y("pandl-report-account-group-row-container",i),style:{cursor:v},isClickable:k,onClick:()=>m?.(i),children:[xe(e)===!0?t.jsxs(mu,{bgColor:n,isSticky:o,windowSize:b,children:[$===!1?t.jsx(M,{color:T,style:{width:C[3],height:C[3]}}):null,t.jsx(L,{style:{marginLeft:B},children:c})]}):null,ke(e)===!0?t.jsx(gu,{children:d.map((D,K)=>t.jsx(yu,{type:e,accountGroupName:c,balance:D,isActualVsForecastOn:p,compareMode:u,collapsed:S},K))}):null]}),t.jsx(ku,{isScrolling:g,type:e,isLeaf:x,isLastNode:f,isOpen:h})]})}function ku({isScrolling:e,type:n,isLastNode:o,isOpen:i}){let r="ac_group_row_separator";return o&&!i?r="section_row_separator":i&&(r=xe(n)===!0?"account_title_row_separator":"account_balance_row_separator"),t.jsx(je,{isScrolling:e,kind:r})}const ju=a.div`
2314
2314
  display: flex;
2315
2315
  flex: 1 1 auto;
2316
2316
  width: fit-content;
@@ -2380,7 +2380,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
2380
2380
  &:hover {
2381
2381
  color: inherit;
2382
2382
  }
2383
- `,Au=({type:e,balance:n,collapsed:o,isActualVsForecastOn:i,compareMode:r})=>{const l=o===!0?$u:Wi;return t.jsxs(vu,{children:[ae(e)===!0||i?t.jsx(l,{children:q(n)}):t.jsx(l,{children:J(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(l,{children:J(n)}),t.jsx(l,{children:r==="compare_mode_percent"?pe(n):ge(n)})]}):null]})};function Bu({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,leftChevron:l,accountGroupName:c,accountGroupBalances:d,isActualVsForecastOn:p,compareMode:u,isScrolling:g,isOpen:h,isLeaf:x,isLastNode:f,onClick:m}){const w=W(),b=de(),k=!x,v=k?"pointer":"default",S=l==="collapsed",$=S===!0?Lu:Pi,[B,L]=V.useState(!1),M=c.length>0?c.substring(0,1).toUpperCase():"";return t.jsxs(ju,{"data-testid":y("pandl-account-group-row-root-container",i),height:r,bgColor:n,children:[t.jsxs(Su,{"data-testid":y("pandl-account-group-row-container",i),onMouseOver:()=>L(!0),onMouseLeave:()=>L(!1),style:{cursor:v},isClickable:k,onClick:()=>m?.(i),children:[xe(e)===!0?t.jsxs(_u,{bgColor:n,isSticky:o,windowSize:w,children:[t.jsx(ve,{showCollapsedIcon:S,showIcon:B&&k,firstLetter:M,color:I(b.colors.primary)}),t.jsx($,{children:c})]}):null,ke(e)===!0?t.jsx(Cu,{children:d.map((T,D)=>t.jsx(Au,{type:e,accountGroupName:c,balance:T,isActualVsForecastOn:p,compareMode:u,collapsed:S},D))}):null]}),t.jsx(Iu,{isScrolling:g,type:e,isLeaf:x,isLastNode:f,isOpen:h})]})}function Iu({isScrolling:e,type:n,isLastNode:o,isOpen:i}){let r="ac_group_row_separator";return o&&!i?r="section_row_separator":i&&(r=xe(n)===!0?"account_title_row_separator":"account_balance_row_separator"),t.jsx(je,{isScrolling:e,kind:r})}const Ou=a.div`
2383
+ `,Au=({type:e,balance:n,collapsed:o,isActualVsForecastOn:i,compareMode:r})=>{const l=o===!0?$u:Wi;return t.jsxs(vu,{children:[ae(e)===!0||i?t.jsx(l,{children:q(n)}):t.jsx(l,{children:Q(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(l,{children:Q(n)}),t.jsx(l,{children:r==="compare_mode_percent"?pe(n):ge(n)})]}):null]})};function Bu({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,leftChevron:l,accountGroupName:c,accountGroupBalances:d,isActualVsForecastOn:p,compareMode:u,isScrolling:g,isOpen:h,isLeaf:x,isLastNode:f,onClick:m}){const w=W(),b=de(),k=!x,v=k?"pointer":"default",S=l==="collapsed",$=S===!0?Lu:Pi,[B,L]=V.useState(!1),M=c.length>0?c.substring(0,1).toUpperCase():"";return t.jsxs(ju,{"data-testid":y("pandl-account-group-row-root-container",i),height:r,bgColor:n,children:[t.jsxs(Su,{"data-testid":y("pandl-account-group-row-container",i),onMouseOver:()=>L(!0),onMouseLeave:()=>L(!1),style:{cursor:v},isClickable:k,onClick:()=>m?.(i),children:[xe(e)===!0?t.jsxs(_u,{bgColor:n,isSticky:o,windowSize:w,children:[t.jsx(ve,{showCollapsedIcon:S,showIcon:B&&k,firstLetter:M,color:I(b.colors.primary)}),t.jsx($,{children:c})]}):null,ke(e)===!0?t.jsx(Cu,{children:d.map((T,D)=>t.jsx(Au,{type:e,accountGroupName:c,balance:T,isActualVsForecastOn:p,compareMode:u,collapsed:S},D))}):null]}),t.jsx(Iu,{isScrolling:g,type:e,isLeaf:x,isLastNode:f,isOpen:h})]})}function Iu({isScrolling:e,type:n,isLastNode:o,isOpen:i}){let r="ac_group_row_separator";return o&&!i?r="section_row_separator":i&&(r=xe(n)===!0?"account_title_row_separator":"account_balance_row_separator"),t.jsx(je,{isScrolling:e,kind:r})}const Ou=a.div`
2384
2384
  display: flex;
2385
2385
  flex: 1 1 auto;
2386
2386
  width: fit-content;
@@ -2477,7 +2477,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
2477
2477
  &:hover {
2478
2478
  color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
2479
2479
  }
2480
- `,Vu=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i,account:r,onAccountBalanceClick:l,stopRowClickPropagation:c})=>{const d=r!=null&&n!=null&&l!=null&&!(n?.type==="this_period_vs_last_period"||n?.type==="this_period_vs_last_period_percent");return t.jsxs(Wu,{"data-testid":y("account-row-balance-element",e),children:[ae(e)===!0||o?t.jsx(ot,{"data-testid":y("account-row-balance-actual",e),isClickable:d,onClick:p=>{c===!0&&p.stopPropagation(),d===!0&&r!=null&&n!=null&&l?.(r,n,bt(r,n))},children:q(n)}):t.jsx(ot,{"data-testid":y("account-row-balance-forecast",e),isClickable:!1,children:J(n)}),o?t.jsxs(t.Fragment,{children:[t.jsx(ot,{isClickable:!1,"data-testid":y("account-row-balance-forecast",e),children:J(n)}),t.jsx(ot,{"data-testid":y("account-row-balance-forecast",e),isClickable:!1,children:i==="compare_mode_percent"?pe(n):ge(n)})]}):null]})};function Du({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,accountBalances:l,isActualVsForecastOn:c,compareMode:d,isScrolling:p,isLeaf:u,isLastNode:g,account:h,titleIndentExtraPx:x,horizontalTreeView:f,horizontalCollapse:m,onAccountBalanceClick:w}){const b=W(),{common:{strings:{hyphen:k}}}=N.getLocalizedStrings(),v=h?.accountDescription?h.accountDescription:k,S=h!=null&&Ge(h)===!0||h?.accountName?h.accountName:v;return t.jsxs(Ou,{height:r,bgColor:n,"data-testid":y("account-row-root-container",i),children:[t.jsxs(Nu,{"data-testid":y("account-row-container",i),onClick:m!=null?()=>m.onRowClick():void 0,children:[xe(e)===!0?f!=null?t.jsx(Pu,{isSticky:o,windowSize:b,bgColor:n,containerHeight:r,isRowClickable:m!=null,isSubAccountLeaf:f.isLeaf,children:t.jsx(Fu,{title:S,children:t.jsx(pn,{classAnscestorMetadata:[],collapsed:m!=null&&!m.isOpen,depth:f.treeDepth,displayName:S,hasChildren:f.hasChildren,hasSiblings:f.hasSiblings,isLastNode:f.isLastNode,isLeaf:f.isLeaf,noMarginForAccount:!1,subAccountAnscestorMetadata:f.subAccountAncestorMetadata})})}):t.jsx(zu,{isSticky:o,windowSize:b,bgColor:n,children:t.jsx(Tu,{isClickable:!1,title:S,titleIndentExtraPx:x,children:S})}):null,ke(e)===!0?t.jsx(Mu,{children:l.map(($,B)=>t.jsx(Vu,{type:e,isActualVsForecastOn:c,compareMode:d,balance:$,account:h,stopRowClickPropagation:m!=null,onAccountBalanceClick:w==null?void 0:(L,M,T)=>{w(i,L,M,T)}},B))}):null]}),t.jsx(Eu,{isScrolling:p,type:e,isLeaf:u,isLastNode:g})]})}function Eu({isScrolling:e,isLastNode:n,type:o}){const i=n?"ac_group_row_separator":xe(o)===!0?"account_title_row_separator":"account_balance_row_separator";return t.jsx(je,{isScrolling:e,kind:i})}const Gu=a.div`
2480
+ `,Vu=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i,account:r,onAccountBalanceClick:l,stopRowClickPropagation:c})=>{const d=r!=null&&n!=null&&l!=null&&!(n?.type==="this_period_vs_last_period"||n?.type==="this_period_vs_last_period_percent");return t.jsxs(Wu,{"data-testid":y("account-row-balance-element",e),children:[ae(e)===!0||o?t.jsx(ot,{"data-testid":y("account-row-balance-actual",e),isClickable:d,onClick:p=>{c===!0&&p.stopPropagation(),d===!0&&r!=null&&n!=null&&l?.(r,n,bt(r,n))},children:q(n)}):t.jsx(ot,{"data-testid":y("account-row-balance-forecast",e),isClickable:!1,children:Q(n)}),o?t.jsxs(t.Fragment,{children:[t.jsx(ot,{isClickable:!1,"data-testid":y("account-row-balance-forecast",e),children:Q(n)}),t.jsx(ot,{"data-testid":y("account-row-balance-forecast",e),isClickable:!1,children:i==="compare_mode_percent"?pe(n):ge(n)})]}):null]})};function Du({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,accountBalances:l,isActualVsForecastOn:c,compareMode:d,isScrolling:p,isLeaf:u,isLastNode:g,account:h,titleIndentExtraPx:x,horizontalTreeView:f,horizontalCollapse:m,onAccountBalanceClick:w}){const b=W(),{common:{strings:{hyphen:k}}}=N.getLocalizedStrings(),v=h?.accountDescription?h.accountDescription:k,S=h!=null&&Ge(h)===!0||h?.accountName?h.accountName:v;return t.jsxs(Ou,{height:r,bgColor:n,"data-testid":y("account-row-root-container",i),children:[t.jsxs(Nu,{"data-testid":y("account-row-container",i),onClick:m!=null?()=>m.onRowClick():void 0,children:[xe(e)===!0?f!=null?t.jsx(Pu,{isSticky:o,windowSize:b,bgColor:n,containerHeight:r,isRowClickable:m!=null,isSubAccountLeaf:f.isLeaf,children:t.jsx(Fu,{title:S,children:t.jsx(pn,{classAnscestorMetadata:[],collapsed:m!=null&&!m.isOpen,depth:f.treeDepth,displayName:S,hasChildren:f.hasChildren,hasSiblings:f.hasSiblings,isLastNode:f.isLastNode,isLeaf:f.isLeaf,noMarginForAccount:!1,subAccountAnscestorMetadata:f.subAccountAncestorMetadata})})}):t.jsx(zu,{isSticky:o,windowSize:b,bgColor:n,children:t.jsx(Tu,{isClickable:!1,title:S,titleIndentExtraPx:x,children:S})}):null,ke(e)===!0?t.jsx(Mu,{children:l.map(($,B)=>t.jsx(Vu,{type:e,isActualVsForecastOn:c,compareMode:d,balance:$,account:h,stopRowClickPropagation:m!=null,onAccountBalanceClick:w==null?void 0:(L,M,T)=>{w(i,L,M,T)}},B))}):null]}),t.jsx(Eu,{isScrolling:p,type:e,isLeaf:u,isLastNode:g})]})}function Eu({isScrolling:e,isLastNode:n,type:o}){const i=n?"ac_group_row_separator":xe(o)===!0?"account_title_row_separator":"account_balance_row_separator";return t.jsx(je,{isScrolling:e,kind:i})}const Gu=a.div`
2481
2481
  user-select: none;
2482
2482
  display: flex;
2483
2483
  flex: 1 1 auto;
@@ -2552,14 +2552,14 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
2552
2552
  flex-direction: column;
2553
2553
  height: ${e=>e.height}px;
2554
2554
  background-color: ${e=>e.bgColor?.hex()};
2555
- `,Qu=a.div`
2555
+ `,Ju=a.div`
2556
2556
  user-select: none;
2557
2557
  display: flex;
2558
2558
  flex: 1 1 auto;
2559
2559
  flex-flow: row;
2560
2560
  justify-content: flex-start;
2561
2561
  align-items: center;
2562
- `,Ju=a.div`
2562
+ `,Qu=a.div`
2563
2563
  display: flex;
2564
2564
  flex: 1 0 auto;
2565
2565
  flex-direction: row;
@@ -2614,7 +2614,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
2614
2614
  border: 1px solid ${e=>e.theme.colors.primary};
2615
2615
  border-radius: ${s.sp1};
2616
2616
  margin: 0 ${s.sp5} 0 ${s.sp3};
2617
- `,ip=({metadata:e,depth:n})=>n===0?null:e.hasSibling!==!0||e.isLastNode?t.jsx(rr,{}):t.jsx(ir,{}),rp=({type:e,balance:n,color:o,isActualVsForecastOn:i,compareMode:r})=>t.jsxs(Xu,{children:[ae(e)===!0||i?t.jsx(it,{style:{color:o},children:q(n)}):t.jsx(it,{style:{color:o},children:J(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(it,{style:{color:o},children:J(n)}),t.jsx(it,{style:{color:o},children:r==="compare_mode_percent"?pe(n):ge(n)})]}):null]});function ap({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,className:l,classCode:c,sectionBalances:d,isActualVsForecastOn:p,compareMode:u,hasChildren:g,isScrolling:h,isOpen:x,isLeaf:f,metadata:m,showClassAccountNumber:w,onClick:b,depth:k}){const v=W(),S=!f,$=S?"pointer":"default",B=de().colors.primary,L=l.length>0?l.substr(0,1).toUpperCase():"",[M,T]=V.useState(!1),D=m.classAncestorMetadata??[];return t.jsxs(qu,{"data-testid":y("class-row-root-container",i),height:r,bgColor:n,children:[t.jsxs(Qu,{"data-testid":y("class-row-container",i),style:{cursor:$},onClick:()=>b?.(i),onMouseOver:()=>T(!0),onMouseLeave:()=>T(!1),children:[xe(e)===!0?t.jsxs(ep,{isSticky:o,windowSize:v,bgColor:n,children:[t.jsx(ja,{name:l,ancestorMetadata:D,depth:k}),t.jsx(ip,{metadata:D[k],depth:k}),t.jsx(ve,{color:I(B),showCollapsedIcon:!x,showIcon:M&&S,firstLetter:L,showTreeLine:g}),t.jsx(tp,{children:t.jsx(np,{style:{color:B},children:l})}),M===!0&&w===!0&&c!==void 0&&t.jsx(op,{children:c})]}):null,ke(e)===!0?t.jsx(Ju,{children:d.map((K,X)=>t.jsx(rp,{type:e,sectionName:l,balance:K,isActualVsForecastOn:p,compareMode:u,color:B},X))}):null]}),t.jsx(lp,{isScrolling:h,isLeaf:f,isOpen:x})]})}function lp({isScrolling:e,isLeaf:n,isOpen:o}){return n||!o?t.jsx(je,{isScrolling:e,kind:"section_row_separator"}):null}const cp=a.div`
2617
+ `,ip=({metadata:e,depth:n})=>n===0?null:e.hasSibling!==!0||e.isLastNode?t.jsx(rr,{}):t.jsx(ir,{}),rp=({type:e,balance:n,color:o,isActualVsForecastOn:i,compareMode:r})=>t.jsxs(Xu,{children:[ae(e)===!0||i?t.jsx(it,{style:{color:o},children:q(n)}):t.jsx(it,{style:{color:o},children:Q(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(it,{style:{color:o},children:Q(n)}),t.jsx(it,{style:{color:o},children:r==="compare_mode_percent"?pe(n):ge(n)})]}):null]});function ap({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,className:l,classCode:c,sectionBalances:d,isActualVsForecastOn:p,compareMode:u,hasChildren:g,isScrolling:h,isOpen:x,isLeaf:f,metadata:m,showClassAccountNumber:w,onClick:b,depth:k}){const v=W(),S=!f,$=S?"pointer":"default",B=de().colors.primary,L=l.length>0?l.substr(0,1).toUpperCase():"",[M,T]=V.useState(!1),D=m.classAncestorMetadata??[];return t.jsxs(qu,{"data-testid":y("class-row-root-container",i),height:r,bgColor:n,children:[t.jsxs(Ju,{"data-testid":y("class-row-container",i),style:{cursor:$},onClick:()=>b?.(i),onMouseOver:()=>T(!0),onMouseLeave:()=>T(!1),children:[xe(e)===!0?t.jsxs(ep,{isSticky:o,windowSize:v,bgColor:n,children:[t.jsx(ja,{name:l,ancestorMetadata:D,depth:k}),t.jsx(ip,{metadata:D[k],depth:k}),t.jsx(ve,{color:I(B),showCollapsedIcon:!x,showIcon:M&&S,firstLetter:L,showTreeLine:g}),t.jsx(tp,{children:t.jsx(np,{style:{color:B},children:l})}),M===!0&&w===!0&&c!==void 0&&t.jsx(op,{children:c})]}):null,ke(e)===!0?t.jsx(Qu,{children:d.map((K,X)=>t.jsx(rp,{type:e,sectionName:l,balance:K,isActualVsForecastOn:p,compareMode:u,color:B},X))}):null]}),t.jsx(lp,{isScrolling:h,isLeaf:f,isOpen:x})]})}function lp({isScrolling:e,isLeaf:n,isOpen:o}){return n||!o?t.jsx(je,{isScrolling:e,kind:"section_row_separator"}):null}const cp=a.div`
2618
2618
  display: flex;
2619
2619
  flex: 1 1 auto;
2620
2620
  width: fit-content;
@@ -2670,7 +2670,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
2670
2670
  text-overflow: ellipsis;
2671
2671
  text-align: left;
2672
2672
  margin-left: ${s.sp2};
2673
- `,gp=({type:e,balance:n,color:o,isActualVsForecastOn:i,compareMode:r})=>t.jsxs(hp,{children:[ae(e)===!0||i?t.jsx(rt,{style:{color:o},children:q(n)}):t.jsx(rt,{style:{color:o},children:J(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(rt,{style:{color:o},children:J(n)}),t.jsx(rt,{style:{color:o},children:r==="compare_mode_percent"?pe(n):ge(n)})]}):null]});function Ln({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,sectionName:l,sectionBalances:c,isActualVsForecastOn:d,compareMode:p,sectionColor:u,isScrolling:g,isOpen:h,isLeaf:x,onClick:f}){const m=W(),w=!x,b=w?"pointer":"default",k=l.length>0?l.substring(0,1).toUpperCase():"",[v,S]=V.useState(!1);return t.jsxs(cp,{"data-testid":y("section-row",i),height:r,bgColor:n,children:[t.jsxs(sp,{"data-testid":y("section-row-container",i),style:{cursor:b},onClick:()=>f?.(i),onMouseOver:()=>S(!0),onMouseLeave:()=>S(!1),children:[xe(e)===!0?t.jsxs(up,{isSticky:o,windowSize:m,bgColor:n,children:[t.jsx(ve,{color:I(u),showCollapsedIcon:!h,showIcon:v&&w,firstLetter:k}),t.jsx(pp,{style:{color:u},children:l})," "]}):null,ke(e)===!0?t.jsx(dp,{children:c.map(($,B)=>t.jsx(gp,{type:e,sectionName:l,balance:$,isActualVsForecastOn:d,compareMode:p,color:u},B))}):null]}),t.jsx(xp,{isScrolling:g,isLeaf:x,isOpen:h})]})}function xp({isScrolling:e,isLeaf:n,isOpen:o}){return n||!o?t.jsx(je,{isScrolling:e,kind:"section_row_separator"}):null}const fp=a.div`
2673
+ `,gp=({type:e,balance:n,color:o,isActualVsForecastOn:i,compareMode:r})=>t.jsxs(hp,{children:[ae(e)===!0||i?t.jsx(rt,{style:{color:o},children:q(n)}):t.jsx(rt,{style:{color:o},children:Q(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(rt,{style:{color:o},children:Q(n)}),t.jsx(rt,{style:{color:o},children:r==="compare_mode_percent"?pe(n):ge(n)})]}):null]});function Ln({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,sectionName:l,sectionBalances:c,isActualVsForecastOn:d,compareMode:p,sectionColor:u,isScrolling:g,isOpen:h,isLeaf:x,onClick:f}){const m=W(),w=!x,b=w?"pointer":"default",k=l.length>0?l.substring(0,1).toUpperCase():"",[v,S]=V.useState(!1);return t.jsxs(cp,{"data-testid":y("section-row",i),height:r,bgColor:n,children:[t.jsxs(sp,{"data-testid":y("section-row-container",i),style:{cursor:b},onClick:()=>f?.(i),onMouseOver:()=>S(!0),onMouseLeave:()=>S(!1),children:[xe(e)===!0?t.jsxs(up,{isSticky:o,windowSize:m,bgColor:n,children:[t.jsx(ve,{color:I(u),showCollapsedIcon:!h,showIcon:v&&w,firstLetter:k}),t.jsx(pp,{style:{color:u},children:l})," "]}):null,ke(e)===!0?t.jsx(dp,{children:c.map(($,B)=>t.jsx(gp,{type:e,sectionName:l,balance:$,isActualVsForecastOn:d,compareMode:p,color:u},B))}):null]}),t.jsx(xp,{isScrolling:g,isLeaf:x,isOpen:h})]})}function xp({isScrolling:e,isLeaf:n,isOpen:o}){return n||!o?t.jsx(je,{isScrolling:e,kind:"section_row_separator"}):null}const fp=a.div`
2674
2674
  display: flex;
2675
2675
  flex: 1 1 auto;
2676
2676
  width: fit-content;
@@ -2765,7 +2765,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
2765
2765
  clear: both;
2766
2766
  display: inline-block;
2767
2767
  text-align: left;
2768
- `,jp=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i,account:r,showTotal:l,reportId:c,companyId:d,companyName:p,isCommentingEnabled:u,isForecastReport:g,onAccountBalanceClick:h})=>{const x=n!=null&&yr(n?.type),f=r!=null&&n!=null&&h!=null&&x!==!0,m=l===!0?Lo(n):q(n),w=l===!0?Tt(n):J(n),b=l===!0?Ao(n):pe(n),k=l===!0?Bo(n):ge(n),v=nr(r?.accountId,n),S=dr({type:"details",key:c}),$=t.jsxs(yp,{"data-testid":y("account-row-balance-element",e),children:[ae(e)===!0||o?t.jsx(at,{"data-testid":y("account-row-balance-actual",e),isClickable:f,onClick:L=>{L.stopPropagation(),f===!0&&r!=null&&n!=null&&h?.(r,n,bt(r,n))},children:m}):t.jsx(at,{"data-testid":y("account-row-balance-forecast",e),isClickable:!1,children:w}),o?t.jsxs(t.Fragment,{children:[t.jsx(at,{"data-testid":y("account-row-balance-forecast",e),isClickable:!1,children:w}),t.jsx(at,{"data-testid":y("account-row-balance-actual-vs-forecast",e),isClickable:!1,children:i==="compare_mode_percent"?b:k})]}):null]});if(!u||v==null||!d)return $;const B=g?"forecast_report":"standard_report";return t.jsx(or,{isThreadAllowed:!0,dashboardTabKey:S,roomId:`dashboard_${d}`,companyId:d,companyName:p,entityId:v,dashboardOptionType:B,filterMetaData:{companyId:d,tab:B,entityType:`${B}.${S}`,entityId:v},children:$})},{common:{strings:{empty:Sp,plus:Cp}}}=N.getLocalizedStrings();function vp({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,classDepth:l,accountBalances:c,isActualVsForecastOn:d,compareMode:p,metadata:u,isScrolling:g,noMarginForAccount:h,isLeaf:x,isOpen:f,isLastNode:m,account:w,reportId:b,onAccountBalanceClick:k,onClick:v}){const S=W(),$=en(),B=$?.currentTenant?.companyId??"",L=$?.currentTenant?.companyName??"",M=typeof b=="string"&&b.includes(Cp),{useFeatureGate:T}=Qi(),{isFeatureEnabled:D}=T(Ji.isReportsCommentingEnabled),K=D,X=w!=null?w.id.length-1:0,Q=w?.hasSiblings??!1,ie=w!=null&&w.children.length!==0,he=u,le=w?.account.accountDescription?w.account.accountDescription:Sp,re=w?.account.accountName?w.account.accountName:le;return t.jsxs(fp,{"data-testid":y("sub-account-row",i),height:r,bgColor:n,children:[t.jsxs(mp,{"data-testid":y("sub-account-row-container",i),onClick:()=>v?.(i),children:[t.jsx(bp,{isClickable:ie,isSticky:o,windowSize:S,bgColor:n,containerHeight:r,children:t.jsx(kp,{title:re,children:t.jsx(pn,{displayName:re,depth:X,classDepth:l,isLastNode:m,hasChildren:ie,hasSiblings:Q,isLeaf:x,collapsed:!f,subAccountAnscestorMetadata:he.subAccountAncestorMetadata,classAnscestorMetadata:he.classAncestorMetadata??[],noMarginForAccount:h})})}),ke(e)===!0?t.jsx(wp,{children:c.map((be,$e)=>t.jsx(jp,{type:e,isActualVsForecastOn:d,compareMode:p,balance:be,account:w?.account,showTotal:!f,reportId:b,companyId:B,companyName:L,isCommentingEnabled:K,isForecastReport:M,onAccountBalanceClick:k==null?void 0:(ce,ue,_e)=>{k(i,ce,ue,_e)}},$e))}):null]}),t.jsx($p,{isScrolling:g,isLeaf:x,isOpen:f,depth:X,isSticky:o,classDepth:l,noMarginForAccount:h})]})}function $p({isScrolling:e,depth:n,isOpen:o,isLeaf:i,isSticky:r,classDepth:l,noMarginForAccount:c}){return o&&i!==!0?null:t.jsx(je,{isScrolling:e,kind:"sub_account_balance_row_separator",subAccountProps:{nestingLevel:n,isSticky:r,classDepth:l,noMarginForAccount:c}})}const _p=[10,14,20,20,20],Lp=a.div`
2768
+ `,jp=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i,account:r,showTotal:l,reportId:c,companyId:d,companyName:p,isCommentingEnabled:u,isForecastReport:g,onAccountBalanceClick:h})=>{const x=n!=null&&yr(n?.type),f=r!=null&&n!=null&&h!=null&&x!==!0,m=l===!0?Lo(n):q(n),w=l===!0?Tt(n):Q(n),b=l===!0?Ao(n):pe(n),k=l===!0?Bo(n):ge(n),v=nr(r?.accountId,n),S=dr({type:"details",key:c}),$=t.jsxs(yp,{"data-testid":y("account-row-balance-element",e),children:[ae(e)===!0||o?t.jsx(at,{"data-testid":y("account-row-balance-actual",e),isClickable:f,onClick:L=>{L.stopPropagation(),f===!0&&r!=null&&n!=null&&h?.(r,n,bt(r,n))},children:m}):t.jsx(at,{"data-testid":y("account-row-balance-forecast",e),isClickable:!1,children:w}),o?t.jsxs(t.Fragment,{children:[t.jsx(at,{"data-testid":y("account-row-balance-forecast",e),isClickable:!1,children:w}),t.jsx(at,{"data-testid":y("account-row-balance-actual-vs-forecast",e),isClickable:!1,children:i==="compare_mode_percent"?b:k})]}):null]});if(!u||v==null||!d)return $;const B=g?"forecast_report":"standard_report";return t.jsx(or,{isThreadAllowed:!0,dashboardTabKey:S,roomId:`dashboard_${d}`,companyId:d,companyName:p,entityId:v,dashboardOptionType:B,filterMetaData:{companyId:d,tab:B,entityType:`${B}.${S}`,entityId:v},children:$})},{common:{strings:{empty:Sp,plus:Cp}}}=N.getLocalizedStrings();function vp({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,classDepth:l,accountBalances:c,isActualVsForecastOn:d,compareMode:p,metadata:u,isScrolling:g,noMarginForAccount:h,isLeaf:x,isOpen:f,isLastNode:m,account:w,reportId:b,onAccountBalanceClick:k,onClick:v}){const S=W(),$=en(),B=$?.currentTenant?.companyId??"",L=$?.currentTenant?.companyName??"",M=typeof b=="string"&&b.includes(Cp),{useFeatureGate:T}=Ji(),{isFeatureEnabled:D}=T(Qi.isReportsCommentingEnabled),K=D,X=w!=null?w.id.length-1:0,J=w?.hasSiblings??!1,ie=w!=null&&w.children.length!==0,he=u,le=w?.account.accountDescription?w.account.accountDescription:Sp,re=w?.account.accountName?w.account.accountName:le;return t.jsxs(fp,{"data-testid":y("sub-account-row",i),height:r,bgColor:n,children:[t.jsxs(mp,{"data-testid":y("sub-account-row-container",i),onClick:()=>v?.(i),children:[t.jsx(bp,{isClickable:ie,isSticky:o,windowSize:S,bgColor:n,containerHeight:r,children:t.jsx(kp,{title:re,children:t.jsx(pn,{displayName:re,depth:X,classDepth:l,isLastNode:m,hasChildren:ie,hasSiblings:J,isLeaf:x,collapsed:!f,subAccountAnscestorMetadata:he.subAccountAncestorMetadata,classAnscestorMetadata:he.classAncestorMetadata??[],noMarginForAccount:h})})}),ke(e)===!0?t.jsx(wp,{children:c.map((be,$e)=>t.jsx(jp,{type:e,isActualVsForecastOn:d,compareMode:p,balance:be,account:w?.account,showTotal:!f,reportId:b,companyId:B,companyName:L,isCommentingEnabled:K,isForecastReport:M,onAccountBalanceClick:k==null?void 0:(ce,ue,_e)=>{k(i,ce,ue,_e)}},$e))}):null]}),t.jsx($p,{isScrolling:g,isLeaf:x,isOpen:f,depth:X,isSticky:o,classDepth:l,noMarginForAccount:h})]})}function $p({isScrolling:e,depth:n,isOpen:o,isLeaf:i,isSticky:r,classDepth:l,noMarginForAccount:c}){return o&&i!==!0?null:t.jsx(je,{isScrolling:e,kind:"sub_account_balance_row_separator",subAccountProps:{nestingLevel:n,isSticky:r,classDepth:l,noMarginForAccount:c}})}const _p=[10,14,20,20,20],Lp=a.div`
2769
2769
  display: flex;
2770
2770
  flex: 1 1 auto;
2771
2771
  width: fit-content;
@@ -2925,7 +2925,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
2925
2925
  `,Kp=a.div`
2926
2926
  max-height: 54px;
2927
2927
  min-height: 54px;
2928
- `,Ti=({firstMonthOfFY:e,timeframeTick:n,timeframe:o,dataAvailable:i,bookCloseDate:r})=>{const l=N.getLocalizedStrings().reports,c=r==null||i==null||n.balanceType!=="default"&&n.balanceType!=="default_with_percent"?void 0:_o(o,e,n,r,i),d=c!=null?c==="under_review"?l.bookCloseTagUnderReview:l.bookCloseTagInProgress:void 0,p=Si(c,o);return t.jsx(Kp,{children:r!=null&&i!=null&&c!=null&&d!=null&&p!=null?t.jsx(ji,{firstMonthOfFY:e,timeframeTick:n,timeframe:o,tagName:d,infoContent:p,tagType:c}):t.jsx(zi,{isActualVsForecastOn:!1,children:t.jsx(Fi,{children:Ye(e,n,o)})})})},Yp=({firstMonthOfFY:e,timeframeTick:n,timeframe:o,isActualVsForecastOn:i,compareMode:r,dataAvailable:l,bookCloseDate:c,onCompareModeChanged:d})=>{const p=N.getLocalizedStrings().reports.forecast,u=r==="compare_mode_amount"?`${N.getLocalizedStrings().compareMode.changePrefix} ${n.currencySymbol}`:N.getLocalizedStrings().compareMode.changePercent;return i===!0?t.jsxs(Hp,{isActualVsForecastOn:i,children:[t.jsx(zi,{isActualVsForecastOn:i,children:t.jsx(Fi,{children:Ye(e,n,o)})}),t.jsxs(Dp,{isActualVsForecastOn:i,children:[t.jsx(Ft,{children:p.actual}),t.jsx(Ft,{children:p.forecast}),t.jsx(Ft,{children:t.jsx(Cn,{title:u,titleTextStyle:nn.standardRegular,titleTextAlignment:"flex-end",selectedMode:r,onCompareModeChanged:g=>{g!=="off"?d?.(g):console.warn("Invalid compare mode option")}})})]})]}):t.jsx(Ti,{firstMonthOfFY:e,timeframeTick:n,timeframe:o,dataAvailable:l,bookCloseDate:c})},Up=({firstMonthOfFY:e,timeframeTicks:n,timeframe:o,compareMode:i,dataAvailable:r,bookCloseDate:l,onCompareModeChanged:c})=>{const d=de(),p=i==="compare_mode_amount"?`${N.getLocalizedStrings().compareMode.changePrefix} ${n[0].currencySymbol}`:N.getLocalizedStrings().compareMode.changePercent;return t.jsx(Ep,{children:n.map((u,g)=>t.jsx(V.Fragment,{children:u.balanceType==="this_period_vs_last_period"||u.balanceType==="this_period_vs_last_period_percent"?t.jsx(Rp,{children:t.jsx(Cn,{title:p,titleTextStyle:nn.standardRegular,titleTextAlignment:"flex-end",titleColor:d.colors.primary,selectedMode:i,menuPosition:"right",onCompareModeChanged:h=>{h!=="off"&&(h==="compare_mode_amount"||h==="compare_mode_percent"?c?.(h):console.warn("Invalid compare mode option"))}})}):t.jsx(Gp,{children:t.jsx(Ti,{firstMonthOfFY:e,timeframeTick:u,timeframe:o,dataAvailable:r,bookCloseDate:l},g)})},g))})};function Zp({type:e,backgroundColor:n,isSticky:o,height:i,isActualVsForecastOn:r,isCompareModeOn:l,firstMonthOfFY:c,timeframe:d,timeframeTicks:p,compareMode:u,dataAvailable:g,bookCloseDate:h,onCompareModeChanged:x}){const f=W();return t.jsxs(Fp,{height:i,bgColor:n,children:[xe(e)===!0?t.jsx(Vp,{isSticky:o,windowSize:f,bgColor:n,children:" . "}):null,t.jsx(Tp,{children:l===!0?t.jsx(Up,{firstMonthOfFY:c,timeframe:d,timeframeTicks:p,compareMode:u,dataAvailable:g,bookCloseDate:h,onCompareModeChanged:x}):p.map((m,w)=>t.jsx(Yp,{firstMonthOfFY:c,timeframeTick:m,timeframe:d,isActualVsForecastOn:r,compareMode:u,dataAvailable:g,bookCloseDate:h,onCompareModeChanged:x},w))})]})}const Lt=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="ac_report"||o.element.data==null)return null;const x=o.element.data,f=Ge(x)===!0?x.horizontalTreeView:void 0,m=Ge(x)===!0&&f==null?16*Math.max(0,x.depth-2):void 0,w=te((Ke(o.config.reportId)===!0||Co(o.config.reportId)===!0?ri(0,o.config.filterAccountsWithNilBalances):ut(o.element.sectionType,"no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances)).acBalanceSelector(x),o.config.displayOrder,o.element.numOfBalances),b=f!=null&&f.hasChildren&&h!=null?{isOpen:u,onRowClick:()=>h(e)}:void 0;return t.jsx(Du,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,accountBalances:w.balances,isScrolling:c,isLeaf:d,isLastNode:p,account:x,titleIndentExtraPx:m,horizontalTreeView:f,horizontalCollapse:b,onAccountBalanceClick:h==null?void 0:(k,v,S,$)=>{h?.(k,v,S,$)}})},Ue=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="ac_subaccount"||o.element.data==null)return null;const x=o.element.data,f=Oi(_n("no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances).acBalanceSelector(x),o.config.displayOrder,o.element.numOfBalances),m=x.account.classesViewParentId?.parentClassId!=null?x.account.classesViewParentId?.parentClassId.length-1:void 0,w=o.config.reportId==="operating_expenses";return t.jsx(vp,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",classDepth:m,compareMode:g,accountBalances:f.balances,isScrolling:c,isLeaf:d,isOpen:p,isLastNode:u,account:x,reportId:o.config.reportId,metadata:o.element.metadata,onClick:h,noMarginForAccount:w,onAccountBalanceClick:h==null?void 0:(b,k,v,S)=>{h?.(b,k,v,S)}})},At=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="ac_group_report"||o.element.data==null)return null;const x=o.element.data,f=te(ut(o.element.sectionType,"no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances).acGroupBalanceSelector(x),o.config.displayOrder,o.element.numOfBalances);return t.jsx(bu,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,leftChevron:d?"open":"collapsed",accountGroupName:x.accountGroupName,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},An=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="ac_group_subaccount"||o.element.data==null)return null;const x=o.element.data,f=te(_n("no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances).acGroupBalanceSelector(x),o.config.displayOrder,o.element.numOfBalances);return t.jsx(Bu,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,leftChevron:d?"open":"collapsed",accountGroupName:x.accountGroupName,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},Bn=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="section"||o.element.data==null)return null;const x=un(o.element.title),f=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Ln,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionName:o.element.title,sectionColor:x,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},Bt=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="section_with_ac_only"||o.element.data==null)return null;const x=un(o.element.title),f=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Ln,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionName:o.element.title,sectionColor:x,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},In=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="calculated_section"||o.element.data==null)return null;const x=un(o.element.title),f=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Ln,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionName:o.element.title,sectionColor:x,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},Ze=(e,n,o,i,r,l,c,d,p)=>{if(n.element.kind!="ac_subentity_total")return null;const u=n.element.data,g=_n("no_filter",n.config.filterAccountsWithNilBalances,n.config.filterAccountGroupsWithNilBalances),h=u.account.classesViewParentId?.parentClassId!=null?u.account.classesViewParentId?.parentClassId.length-1:void 0,x=Oi(g.acBalanceSelector(u),n.config.displayOrder,n.element.numOfBalances),f=n.config.reportId==="operating_expenses"||n.config.reportId==="operating_expenses_by_classes";return t.jsx(Pp,{type:e,backgroundColor:i,isSticky:r,height:o,accountName:u.account.accountName,account:u,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:p,accountBalances:x.balances,isScrolling:l,noMarginForAccount:f,isLeaf:c,isLastNode:d,metadata:n.element.metadata,classDepth:h})},qe=(e,n,o,i,r,l,c,d)=>{if(o.element.kind!=="timeframe_headers"&&o.element.kind!=="timeframe_headers_with_forecast")return null;const p=We(o.element.data,o.config.displayOrder),u=p.length>0?p[0].balanceTimeFrame:"month",g=p.map(h=>Me(h));return t.jsx(Zp,{treeNodeId:e,backgroundColor:r,isSticky:l,type:n,height:i,isActualVsForecastOn:o.element.kind==="timeframe_headers_with_forecast",isCompareModeOn:o.config.mode==="this_period_vs_period_before"&&g.length>1,firstMonthOfFY:o.config.firstMonthOfFY,timeframe:u,timeframeTicks:g,compareMode:c,dataAvailable:o.config.dataAvailable,bookCloseDate:o.config.bookCloseDate,onCompareModeChanged:d})},Vi=(e,n,o,i,r,l,c,d,p,u,g,h,x)=>{if(o.element.kind!="class"||o.element.data==null)return null;const f=o.element.data,m=te(f.childrenBalancesTotal,o.config.displayOrder,o.element.numOfBalances),w=g>1;return t.jsx(ap,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,className:o.element.title,classCode:o.element.data.class.accountingClassNumber,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",depth:f.id.length-1,compareMode:h,sectionBalances:m.balances,isScrolling:c,isOpen:d,isLeaf:p,hasChildren:f.children.length>0,isLastNode:u,isSubClass:w,showClassAccountNumber:o.config.showClassAccountNumber,onClick:b=>{x?.(b)},metadata:o.element.metadata})},fo=e=>{const{height:n,data:{reportElementData:o,id:i,treeKind:r,isLeaf:l,isLastNode:c,nestingLevel:d,isFirstNode:p},isOpen:u,style:g,setOpen:h,isScrolling:x}=e,f=e.treeNodePadding?.left,m=e.treeNodePadding?.right;return t.jsx("div",{style:{...g,width:"auto",minWidth:"100%",paddingLeft:f,paddingRight:m},children:t.jsx(Di,{id:i,backgroundColor:e.backgroundColor,treeKind:r,reportElementData:o,height:n,isSticky:e.isSticky,isScrolling:x??!1,isLeaf:l,isLastNode:c,isFirstNode:p,isOpen:u,nestingLevel:d,nodeClickHandler:e.onNodeClick==null&&l?void 0:(w,b,k,v)=>{const S=l?u:!u;!l&&k==null&&(h(!u),e.onNodeCollapseToggled?.(w,!u)),e.onNodeClick?.(w,S,b,k,v)},compareMode:e.compareMode,hoveredParentIdProps:e.hoveredParentIdProps,onCompareModeChanged:e.onCompareModeChanged,toggleCheckHandler:e.onToggleCheck},i)})},Di=e=>e.treeKind==="name_only"?t.jsx(tg,{...e}):cn(e.reportElementData.config.reportId)?t.jsx(og,{...e}):dn(e.reportElementData.config.reportId)===!0?t.jsx(ng,{...e}):Co(e.reportElementData.config.reportId)===!0?t.jsx(qp,{...e}):an(e.reportElementData.config.reportId)===!0?t.jsx(Qp,{...e}):Ke(e.reportElementData.config.reportId)===!0?t.jsx(Jp,{...e}):ln(e.reportElementData.config.reportId)===!0?t.jsx(Xp,{...e}):wr(e.reportElementData.config.reportId)===!0?t.jsx(eg,{...e}):hn(e.reportElementData.config.reportId)===!0?t.jsx(ig,{...e}):sn(e.reportElementData.config.reportId)===!0?t.jsx(rg,{...e}):null,qp=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,nestingLevel:g,compareMode:h,nodeClickHandler:x,onCompareModeChanged:f})=>{switch(o.element.kind){case"ac_report":return Lt(e,n,o,i,r,l,c,d,p,u,h,x);case"ac_group_report":return At(e,n,o,i,r,l,c,u,d,p,h,x);case"section":return Bn(e,n,o,i,r,l,c,u,d,p,h,x);case"section_with_ac_only":return Bt(e,n,o,i,r,l,c,u,d,p,h,x);case"calculated_section":case"calculated_section_type1":return In(e,n,o,i,r,l,c,u,d,p,h,x);case"title_string_only":default:return null;case"class_headers":return((m,w,b,k,v,S)=>{if(b.element.kind!=="class_headers")return null;const $=b.element.data;return t.jsx(Zu,{isSticky:S,type:w,height:k,backgroundColor:v,classColumns:$})})(0,n,o,i,r,l);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,h,f);case"class":return Vi(e,n,o,i,r,l,c,u,d,p,g,h,x);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,h,x);case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,h);case"headers_loading_in_progress":return((m,w,b)=>m.element.kind!=="headers_loading_in_progress"?null:t.jsx(ci,{height:w,backgroundColor:b,numOfBalances:m.element.numOfBalances}))(o,i,r);case"loading_in_progress":return((m,w,b)=>m.element.kind!=="loading_in_progress"?null:t.jsx(ai,{height:w,backgroundColor:b,title:m.element.title,numOfBalances:m.element.numOfBalances}))(o,i,r)}},Qp=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,compareMode:g,nodeClickHandler:h,onCompareModeChanged:x})=>{switch(o.element.kind){case"ac_report":return Lt(e,n,o,i,r,l,c,d,p,u,g,h);case"ac_group_report":return At(e,n,o,i,r,l,c,u,d,p,g,h);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,g,h);case"ac_group_subaccount":return An(e,n,o,i,r,l,c,u,d,p,g,h);case"section":return Bn(e,n,o,i,r,l,c,u,d,p,g,h);case"section_with_ac_only":return Bt(e,n,o,i,r,l,c,u,d,p,g,h);case"calculated_section":case"calculated_section_type1":return In(e,n,o,i,r,l,c,u,d,p,g,h);case"title_string_only":default:return null;case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,g,x)}},Jp=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,nestingLevel:g,compareMode:h,nodeClickHandler:x,onCompareModeChanged:f})=>{switch(o.element.kind){case"ac_report":return Lt(e,n,o,i,r,l,c,d,p,u,h,x);case"ac_group_report":return At(e,n,o,i,r,l,c,u,d,p,h,x);case"section":return hi(e,n,o,i,r,l,c,u,d,p,h,x);case"section_with_ac_only":return Bt(e,n,o,i,r,l,c,u,d,p,h,x);case"calculated_section":case"calculated_section_type1":return ui(e,n,o,i,r,l,c,u,d,p,h,x);case"title_string_only":return wn(e,n,o,i,r,l,c,u,d,p,h,x);case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,h);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,h,f);case"class":return Vi(e,n,o,i,r,l,c,u,d,p,g,h,x);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,h,x);case"total":return pi(e,n,o,i,r,l,h,d);case"headers_loading_in_progress":return((m,w,b)=>m.element.kind!=="headers_loading_in_progress"?null:t.jsx(ci,{height:w,backgroundColor:b,numOfBalances:m.element.numOfBalances}))(o,i,r);case"loading_in_progress":return((m,w,b)=>m.element.kind!=="loading_in_progress"?null:t.jsx(ai,{height:w,backgroundColor:b,title:m.element.title,numOfBalances:m.element.numOfBalances}))(o,i,r);default:return null}},Xp=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,compareMode:g,nodeClickHandler:h,onCompareModeChanged:x})=>{switch(o.element.kind){case"ac_report":return((f,m,w,b,k,v,S,$,B,L,M)=>{if(w.element.kind!="ac_report"||w.element.data==null)return null;const T=w.element.data,D=te((Ke(w.config.reportId)===!0?ri(0,w.config.filterAccountsWithNilBalances):ut(w.element.sectionType,"no_filter",w.config.filterAccountsWithNilBalances,w.config.filterAccountGroupsWithNilBalances)).acBalanceSelector(T),w.config.displayOrder,w.element.numOfBalances);return t.jsx(Lc,{type:m,backgroundColor:k,isSticky:v,treeNodeId:f,height:b,accountBalances:D.balances,isCompareModeOn:w.config.mode==="this_period_vs_period_before",isForecastModeOn:w.config.mode==="actual_vs_forecast",isScrolling:S,isLeaf:$,isLastNode:B,compareMode:L,account:T,onAccountBalanceClick:M==null?void 0:(K,X,Q,ie)=>{M?.(K,X,Q,ie)}})})(e,n,o,i,r,l,c,d,p,g,h);case"ac_group_report":return((f,m,w,b,k,v,S,$,B,L,M,T)=>{if(w.element.kind!="ac_group_report"||w.element.data==null)return null;const D=w.element.data,K=te(ut(w.element.sectionType,"no_filter",w.config.filterAccountsWithNilBalances,w.config.filterAccountGroupsWithNilBalances).acGroupBalanceSelector(D),w.config.displayOrder,w.element.numOfBalances);return t.jsx(wc,{type:m,backgroundColor:k,isSticky:v,treeNodeId:f,height:b,accountGroupName:D.accountGroupName,compareMode:M,accountGroupBalances:K.balances,isScrolling:S,isOpen:$,isLeaf:B,isLastNode:L,onClick:X=>{T?.(X)}})})(e,n,o,i,r,l,c,u,d,p,g,h);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,g,h);case"ac_group_subaccount":return An(e,n,o,i,r,l,c,u,d,p,g,h);case"section":return hi(e,n,o,i,r,l,c,u,d,p,g,h);case"section_with_ac_only":return((f,m,w,b,k,v,S,$,B,L,M,T)=>{if(w.element.kind!="section_with_ac_only"||w.element.data==null)return null;const D=kn(w.config.reportId,w.element.sectionType),K=te(w.element.data,w.config.displayOrder,w.element.numOfBalances);return t.jsx(bn,{type:m,backgroundColor:k,isSticky:v,treeNodeId:f,height:b,sectionName:w.element.title,sectionColor:D.color,sectionBalances:K.balances,isScrolling:S,isOpen:$,isLeaf:B,isLastNode:L,compareMode:M,onClick:X=>{T?.(X)}})})(e,n,o,i,r,l,c,u,d,p,g,h);case"calculated_section":case"calculated_section_type1":return ui(e,n,o,i,r,l,c,u,d,p,g,h);case"title_string_only":return wn(e,n,o,i,r,l,c,u,d,p,g,h);case"total":return pi(e,n,o,i,r,l,g,d);case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,g,x);default:return null}},eg=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,compareMode:g,nodeClickHandler:h,onCompareModeChanged:x})=>{switch(o.element.kind){case"ac_report":return Lt(e,n,o,i,r,l,c,d,p,u,g,h);case"ac_group_report":return At(e,n,o,i,r,l,c,u,d,p,g,h);case"section":return Bn(e,n,o,i,r,l,c,u,d,p,g,h);case"section_with_ac_only":return Bt(e,n,o,i,r,l,c,u,d,p,g,h);case"calculated_section":return In(e,n,o,i,r,l,c,u,d,p,g,h);case"calculated_section_type1":return((f,m,w,b,k,v,S)=>{if(m.element.kind!="calculated_section_type1"||m.element.data==null)return null;const $=te(m.element.data,m.config.displayOrder,m.element.numOfBalances);return t.jsx(Ol,{backgroundColor:b,isSticky:k,treeNodeId:f,heading:m.element.title,totalBalances:$.balances,height:w,isScrolling:v,isLastNode:S})})(e,o,i,r,l,c,p);case"title_string_only":return wn(e,n,o,i,r,l,c,u,d,p,g,h);case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,g,x);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,g,h);case"ac_group_subaccount":return An(e,n,o,i,r,l,c,u,d,p,g,h);default:return null}},tg=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,toggleCheckHandler:g})=>o.element.kind==="checkbox_and_name_only"?((h,x,f,m,w,b,k,v,S,$,B)=>{if(f.element.kind!="checkbox_and_name_only")return null;const L=f.element.data,M=f.config.isClassToBeFilteredOut?.(L.classId)===!1;return t.jsx(eh,{type:x,backgroundColor:w,isSticky:b,treeNodeId:h,classId:L.classId,isChecked:M,isDisabled:!1,height:m,isScrolling:k,nestedClass:L,isOpen:v,isLeaf:S,isLastNode:$,showClassAccountNumber:f.config.showClassAccountNumber,onToggleCheck:B})})(e,n,o,i,r,l,c,u,d,p,g):null,ng=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLastNode:d,compareMode:p,onCompareModeChanged:u})=>{switch(o.element.kind){case"loading_in_progress":case"spacer_row":return((g,h,x,f)=>{if(g.element.kind!=="loading_in_progress")return null;const m=We(g.element.data,g.config.displayOrder).map(w=>Me(w));return t.jsx(rh,{backgroundColor:x,isSticky:f,height:h,isAccountColumnShown:g.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:g.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:m})})(o,i,r,l);case"timeframe_headers":return((g,h,x,f,m,w)=>{if(g.element.kind!=="timeframe_headers")return null;const b=We(g.element.data,g.config.displayOrder),k=b.length>0?b[0].balanceTimeFrame:"month",v=b.map(S=>Me(S));return t.jsx(Nh,{backgroundColor:m,isSticky:x,height:h,isAccountColumnShown:g.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:g.config.opexByVendorConfig?.isClassColumnShown??!0,isCompareModeOn:g.config.mode==="this_period_vs_period_before"&&v.length>1,firstMonthOfFY:g.config.firstMonthOfFY,timeframe:k,timeframeTicks:v,sortKey:g.config.opexByVendorConfig?.sortKey,sortOrder:g.config.opexByVendorConfig?.sortOrder,dataAvailable:g.config.dataAvailable,bookCloseDate:g.config.bookCloseDate,compareMode:f,onCompareModeChanged:w,onSortOrderChanged:g.config.opexByVendorConfig?.onSortOrderChanged})})(o,i,l,p,r,u);case"total":return((g,h,x,f,m,w,b)=>{const k=x.element.data,v=x.config.mode==="this_period_vs_period_before",S=v?x.element.numOfBalances+2:x.element.numOfBalances+1,$=Kn(k,x.config.displayOrder,S,v);return t.jsx(Hh,{type:h,backgroundColor:b,isSticky:m,treeNodeId:g,height:f,isScrolling:w,totalBalances:$.balances,title:x.element.title,isAccountColumnShown:x.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:x.config.opexByVendorConfig?.isClassColumnShown??!0})})(e,n,o,i,l,c,r);case"vendor_row":return((g,h,x,f,m,w,b)=>{if(h.element.kind!="vendor_row"||h.element.data==null)return null;const k=h.element.data,v=h.config.mode==="this_period_vs_period_before",S=Kn(k,h.config.displayOrder,h.element.numOfBalances,v);return t.jsx(cu,{backgroundColor:f,isSticky:m,height:x,isScrolling:w,vendorRowIndex:h.element.index,vendor:k.vendor,accountBase:k.account,classBase:k.classBase,isLastNode:b,balances:S.balances,isAccountColumnShown:h.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:h.config.opexByVendorConfig?.isClassColumnShown??!0,onVendorNameAndBalanceClick:($,B)=>{h.config.opexByVendorConfig?.onVendorNameAndBalanceClicked($,B)}})})(0,o,i,r,l,c,d);case"title_string_only":return((g,h,x,f)=>{if(g.element.kind!=="title_string_only")return null;const m=We(g.element.data,g.config.displayOrder).map(w=>Me(w));return t.jsx(hh,{backgroundColor:x,isSticky:f,height:h,isAccountColumnShown:g.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:g.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:m})})(o,i,r,l);default:return null}},og=({id:e,treeKind:n,reportElementData:o,height:i,isOpen:r,isSticky:l,isScrolling:c,isLastNode:d,backgroundColor:p,nodeClickHandler:u})=>{const{config:g}=o;switch(o.element.kind){case"spacer_row":default:return null;case"timeframe_headers":return((h,x,f,m,w,b,k)=>{if(h.element.kind!=="timeframe_headers")return null;const v=h.element.data;return t.jsx(Ea,{reportId:h.config.reportId==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",agingPeriods:v,backgroundColor:f,isSticky:m,height:x,sortKey:w,sortOrder:b,onSortOrderChanged:k})})(o,i,p,l,g.agingReportConfig?.sortKey,g.agingReportConfig?.sortOrder,g.agingReportConfig?.onSortOrderChanged);case"total":return((h,x,f,m,w)=>{const b=x.element.data;return t.jsx(al,{type:h,backgroundColor:m,isSticky:w,height:f,totalBalances:b,isIndented:x.config.reportId==="accounts_receivable_aging",title:x.element.title})})(n,o,i,p,l);case"aging_report_row":return((h,x,f,m,w,b,k,v,S,$)=>{if(x.element.kind!=="aging_report_row")return null;if(x.config.reportId==="accounts_payable_aging"){const L=x.element.data;return t.jsx(Na,{backgroundColor:v,isLastNode:b,isScrolling:k,isSticky:w,height:f,balances:L.apAgingBalances,vendor:L.vendor,total:L.total,onEntityNameClick:S})}const B=x.element.data;return t.jsx(Ma,{treeNodeId:h,backgroundColor:v,isLastNode:b,isScrolling:k,isSticky:w,isOpen:m,height:f,metadata:x.element.metadata,balances:B.arAgingBalances,nestedCustomer:B,total:B.total,totalWithChildren:B.totalWithChildren,onEntityNameClick:S,onClick:$})})(e,o,i,r,l,d,c,p,g.agingReportConfig?.onEntityNameClick,u);case"ac_subentity_total":return((h,x,f,m,w)=>{if(h.element.kind!=="ac_subentity_total")return null;if(h.config.reportId==="accounts_receivable_aging"){const b=h.element.data;return t.jsx(Qa,{backgroundColor:w,isScrolling:m,isSticky:f,height:x,metadata:h.element.metadata,nestedCustomer:b,total:b.totalWithChildren,noMarginForEntity:!0})}return null})(o,i,l,c,p)}},ig=({id:e,reportElementData:n,height:o,backgroundColor:i,isSticky:r,isScrolling:l,isLeaf:c,isLastNode:d,isFirstNode:p,isOpen:u,onFluxBalanceClick:g,nodeClickHandler:h,hoveredParentIdProps:x})=>{switch(n.element.kind){case"flux_vendor_account_class_row":return((f,m,w,b,k,v,S,$,B)=>{if(!Sn(m,"flux_vendor_account_class_row"))return null;const L=m.element.data,M=ki(L),T=m.element.metadata.vendorId;return t.jsx(Ls,{backgroundColor:w,isSticky:b,treeNodeId:f,balances:M,varianceAmount:L.varianceAmount,variancePercentage:L.variancePercentage,currency:L.currency,isScrolling:k,isLeaf:v,isLastNode:S,nodeMetadata:m.element.metadata,accountAndClass:L,onAccountAndClassBalanceClick:()=>B?.(T),isHoveredByParent:$?.hoveredParentId===T})})(e,n,i,r,l,c,d,x,g);case"flux_vendor_row":return Kd(e,n,i,r,l,u,c,d,p,x,h);case"section":return Yd(e,n,o,i,r,l,u,c,d,h);case"timeframe_headers":return((f,m,w)=>{if(f.element.kind!=="timeframe_headers")return null;const b=We(f.element.data,f.config.displayOrder),k=b.length>0?b[0].balanceTimeFrame:"month",v=b.map(S=>Me(S));return t.jsx(sd,{isSticky:w,height:m,firstMonthOfFY:f.config.firstMonthOfFY,timeframe:k,timeframeTicks:v,isBulkSelected:f.config.fluxAnalysisConfig?.reviewOpExIds.length===20,onSortOrderChanged:(S,$)=>{f.config.fluxAnalysisConfig?.setIsSortApplied?.(!0),f.config.fluxAnalysisConfig?.onSortOrderChanged(S,$)},sortOrder:f.config.fluxAnalysisConfig?.sortOrder,sortKey:f.config.fluxAnalysisConfig?.sortKey})})(n,o,r);case"total":return((f,m)=>{if(f.element.kind!=="total")return null;const w=f.element.data;return t.jsx(bd,{type:"name+balances_actual",title:f.element.title,totalBalances:w.balances,varianceAmount:w.varianceAmount,variancePercentage:w.variancePercentage,currency:w.currency,height:m})})(n,o);case"loading_in_progress":return(f=>f.element.kind!=="loading_in_progress"?null:t.jsx(Bs,{}))(n);case"headers_loading_in_progress":return(f=>f.element.kind!=="headers_loading_in_progress"?null:t.jsx(Ys,{}))(n);default:return null}},rg=({reportElementData:e,height:n,isSticky:o,isLastNode:i})=>{switch(e.element.kind){case"timeframe_headers":return function(r,l){if(r.element.kind!=="timeframe_headers")return null;const c=N.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers,d=r.element.data,p=d.accountIDs.length===0;return t.jsx(qr,{sectionTitle:c.section[d.sectionId].title,isLoading:p,isSticky:l,height:ct("timeframe_headers")})}(e,o);case"loading_in_progress":return t.jsx(Mr,{height:ct("loading_in_progress")});case"total":return((r,l,c)=>{const d=r.element.data;return t.jsx(ga,{isSticky:c,height:l,sectionData:d})})(e,n,o);case"section":return t.jsx(Pr,{height:ct("section")});case"title_string_only":return((r,l)=>{const c=r.element.data,d=N.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(Xr,{height:l,title:d.section[c.sectionId].title})})(e,n);case"ac_group_report":return((r,l,c)=>{const d=r.element.data,p=r.config.accountReconciliationConfig?.selectedDrawerAccountId!=null&&d.accountReconEntity.account.accountId===r.config.accountReconciliationConfig?.selectedDrawerAccountId;return t.jsx(jr,{height:l,accountRecon:d,isLastRow:c,isSelectedRow:p,onReviewClicked:r.config.accountReconciliationConfig?.onReviewClicked,onConnectClicked:r.config.accountReconciliationConfig?.onConnectClicked,onReconnectClicked:r.config.accountReconciliationConfig?.onReconnectClicked,onOpenDrawerClicked:r.config.accountReconciliationConfig?.onOpenDrawerClicked,onStatementAddClicked:r.config.accountReconciliationConfig?.onStatementAddClicked})})(e,n,i);default:return null}};function mo(e,n,o,i){const r=e.reportElementData.element.data,l=e.reportElementData.config.reportId==="profit_and_loss_by_classes"&&e.reportElementData.element.kind==="ac_report"&&e.children.length>0&&Ge(r)===!0||void 0;return{data:{defaultHeight:On(e.reportElementData.config.reportId,e.reportElementData.element.kind,e.isFirstNode),id:e.id,isLeaf:e.children.length===0,isFirstNode:e.isFirstNode??!1,isLastNode:e.isLastNode,isOpenByDefault:i??l??ag(e.reportElementData.config.reportId,e.reportElementData.element.kind,o,e.reportElementData.config.reportFormat),nestingLevel:o,treeKind:n,reportElementData:e.reportElementData},treeKind:n,nestingLevel:o,node:e}}function On(e,n,o){return an(e)===!0?function(i){switch(i){case"section":case"section_with_ac_only":case"calculated_section":case"calculated_section_type1":return C[8];case"ac_group_report":case"ac_group_subaccount":case"ac_subentity_total":case"ac_subaccount":case"ac_report":case"title_string_only":case"total":case"loading_in_progress":case"class":case"checkbox_and_name_only":return C[6];case"timeframe_headers":case"class_headers":case"headers_loading_in_progress":return C[11];case"timeframe_headers_with_forecast":return 98;default:return 0}}(n):ln(e)===!0||Ke(e)===!0?function(i){switch(i){case"section":case"ac_group_report":case"ac_group_subaccount":case"calculated_section":case"calculated_section_type1":case"section_with_ac_only":case"title_string_only":case"total":return C[8];case"ac_subentity_total":case"ac_subaccount":case"ac_report":case"loading_in_progress":case"class":case"checkbox_and_name_only":return C[6];case"timeframe_headers":case"headers_loading_in_progress":return C[11];case"timeframe_headers_with_forecast":return 98;default:return 0}}(n):cn(e)?function(i){switch(i){case"timeframe_headers":return C[10];case"aging_report_row":case"ac_subentity_total":return C[6];case"total":case"spacer_row":return C[8];default:return C[0]}}(n):sn(e)?ct(n):dn(e)?function(i){switch(i){case"timeframe_headers":return C[11];case"vendor_row":case"loading_in_progress":return C[6];case"total":case"spacer_row":case"title_string_only":return C[8];default:return 0}}(n):hn(e)?wi(n,o):function(i){switch(i){case"section":case"section_with_ac_only":case"calculated_section":case"ac_group_report":case"ac_group_subaccount":return C[8];case"calculated_section_type1":case"ac_report":case"ac_subaccount":case"ac_subentity_total":case"total":return C[6];case"title_string_only":return 67;case"timeframe_headers":return C[11];default:return C[0]}}(n)}function ag(e,n,o,i){return an(e)?function(r,l,c=0){const d=["summary"];switch(r){case"section":case"section_with_ac_only":case"title_string_only":return!d.includes(l);case"calculated_section":case"calculated_section_type1":case"ac_group_report":case"ac_report":case"total":case"timeframe_headers":case"timeframe_headers_with_forecast":case"class_headers":default:return!1;case"ac_group_subaccount":case"ac_subaccount":case"ac_subentity_total":return!(d.includes(l)||l==="detailed"&&c>0);case"class":return!(l==="detailed"&&c>0);case"checkbox_and_name_only":return!0}}(n,i,o):ln(e)||Ke(e)===!0?function(r,l){const c=["summary","detailed"];switch(r){case"section":case"section_with_ac_only":case"ac_group_report":case"ac_group_subaccount":case"ac_subentity_total":case"ac_subaccount":case"ac_report":case"title_string_only":return!c.includes(l);case"calculated_section":case"calculated_section_type1":case"total":case"timeframe_headers":case"timeframe_headers_with_forecast":default:return!1;case"class":case"checkbox_and_name_only":return!0}}(n,i):!!cn(e)||!dn(e)&&(hn(e)?function(r){return["section","flux_vendor_account_class_row","flux_vendor_row"].includes(r)}(n):sn(e)?kr():function(r,l){const c=["summary","detailed"];switch(r){case"section":case"section_with_ac_only":case"calculated_section":case"calculated_section_type1":case"ac_group_report":case"ac_group_subaccount":case"ac_report":case"ac_subaccount":case"ac_subentity_total":case"title_string_only":return!c.includes(l);default:return!1}}(n,i))}const lg=a.div`
2928
+ `,Ti=({firstMonthOfFY:e,timeframeTick:n,timeframe:o,dataAvailable:i,bookCloseDate:r})=>{const l=N.getLocalizedStrings().reports,c=r==null||i==null||n.balanceType!=="default"&&n.balanceType!=="default_with_percent"?void 0:_o(o,e,n,r,i),d=c!=null?c==="under_review"?l.bookCloseTagUnderReview:l.bookCloseTagInProgress:void 0,p=Si(c,o);return t.jsx(Kp,{children:r!=null&&i!=null&&c!=null&&d!=null&&p!=null?t.jsx(ji,{firstMonthOfFY:e,timeframeTick:n,timeframe:o,tagName:d,infoContent:p,tagType:c}):t.jsx(zi,{isActualVsForecastOn:!1,children:t.jsx(Fi,{children:Ye(e,n,o)})})})},Yp=({firstMonthOfFY:e,timeframeTick:n,timeframe:o,isActualVsForecastOn:i,compareMode:r,dataAvailable:l,bookCloseDate:c,onCompareModeChanged:d})=>{const p=N.getLocalizedStrings().reports.forecast,u=r==="compare_mode_amount"?`${N.getLocalizedStrings().compareMode.changePrefix} ${n.currencySymbol}`:N.getLocalizedStrings().compareMode.changePercent;return i===!0?t.jsxs(Hp,{isActualVsForecastOn:i,children:[t.jsx(zi,{isActualVsForecastOn:i,children:t.jsx(Fi,{children:Ye(e,n,o)})}),t.jsxs(Dp,{isActualVsForecastOn:i,children:[t.jsx(Ft,{children:p.actual}),t.jsx(Ft,{children:p.forecast}),t.jsx(Ft,{children:t.jsx(Cn,{title:u,titleTextStyle:nn.standardRegular,titleTextAlignment:"flex-end",selectedMode:r,onCompareModeChanged:g=>{g!=="off"?d?.(g):console.warn("Invalid compare mode option")}})})]})]}):t.jsx(Ti,{firstMonthOfFY:e,timeframeTick:n,timeframe:o,dataAvailable:l,bookCloseDate:c})},Up=({firstMonthOfFY:e,timeframeTicks:n,timeframe:o,compareMode:i,dataAvailable:r,bookCloseDate:l,onCompareModeChanged:c})=>{const d=de(),p=i==="compare_mode_amount"?`${N.getLocalizedStrings().compareMode.changePrefix} ${n[0].currencySymbol}`:N.getLocalizedStrings().compareMode.changePercent;return t.jsx(Ep,{children:n.map((u,g)=>t.jsx(V.Fragment,{children:u.balanceType==="this_period_vs_last_period"||u.balanceType==="this_period_vs_last_period_percent"?t.jsx(Rp,{children:t.jsx(Cn,{title:p,titleTextStyle:nn.standardRegular,titleTextAlignment:"flex-end",titleColor:d.colors.primary,selectedMode:i,menuPosition:"right",onCompareModeChanged:h=>{h!=="off"&&(h==="compare_mode_amount"||h==="compare_mode_percent"?c?.(h):console.warn("Invalid compare mode option"))}})}):t.jsx(Gp,{children:t.jsx(Ti,{firstMonthOfFY:e,timeframeTick:u,timeframe:o,dataAvailable:r,bookCloseDate:l},g)})},g))})};function Zp({type:e,backgroundColor:n,isSticky:o,height:i,isActualVsForecastOn:r,isCompareModeOn:l,firstMonthOfFY:c,timeframe:d,timeframeTicks:p,compareMode:u,dataAvailable:g,bookCloseDate:h,onCompareModeChanged:x}){const f=W();return t.jsxs(Fp,{height:i,bgColor:n,children:[xe(e)===!0?t.jsx(Vp,{isSticky:o,windowSize:f,bgColor:n,children:" . "}):null,t.jsx(Tp,{children:l===!0?t.jsx(Up,{firstMonthOfFY:c,timeframe:d,timeframeTicks:p,compareMode:u,dataAvailable:g,bookCloseDate:h,onCompareModeChanged:x}):p.map((m,w)=>t.jsx(Yp,{firstMonthOfFY:c,timeframeTick:m,timeframe:d,isActualVsForecastOn:r,compareMode:u,dataAvailable:g,bookCloseDate:h,onCompareModeChanged:x},w))})]})}const Lt=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="ac_report"||o.element.data==null)return null;const x=o.element.data,f=Ge(x)===!0?x.horizontalTreeView:void 0,m=Ge(x)===!0&&f==null?16*Math.max(0,x.depth-2):void 0,w=te((Ke(o.config.reportId)===!0||Co(o.config.reportId)===!0?ri(0,o.config.filterAccountsWithNilBalances):ut(o.element.sectionType,"no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances)).acBalanceSelector(x),o.config.displayOrder,o.element.numOfBalances),b=f!=null&&f.hasChildren&&h!=null?{isOpen:u,onRowClick:()=>h(e)}:void 0;return t.jsx(Du,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,accountBalances:w.balances,isScrolling:c,isLeaf:d,isLastNode:p,account:x,titleIndentExtraPx:m,horizontalTreeView:f,horizontalCollapse:b,onAccountBalanceClick:h==null?void 0:(k,v,S,$)=>{h?.(k,v,S,$)}})},Ue=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="ac_subaccount"||o.element.data==null)return null;const x=o.element.data,f=Oi(_n("no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances).acBalanceSelector(x),o.config.displayOrder,o.element.numOfBalances),m=x.account.classesViewParentId?.parentClassId!=null?x.account.classesViewParentId?.parentClassId.length-1:void 0,w=o.config.reportId==="operating_expenses";return t.jsx(vp,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",classDepth:m,compareMode:g,accountBalances:f.balances,isScrolling:c,isLeaf:d,isOpen:p,isLastNode:u,account:x,reportId:o.config.reportId,metadata:o.element.metadata,onClick:h,noMarginForAccount:w,onAccountBalanceClick:h==null?void 0:(b,k,v,S)=>{h?.(b,k,v,S)}})},At=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="ac_group_report"||o.element.data==null)return null;const x=o.element.data,f=te(ut(o.element.sectionType,"no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances).acGroupBalanceSelector(x),o.config.displayOrder,o.element.numOfBalances);return t.jsx(bu,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,leftChevron:d?"open":"collapsed",accountGroupName:x.accountGroupName,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},An=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="ac_group_subaccount"||o.element.data==null)return null;const x=o.element.data,f=te(_n("no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances).acGroupBalanceSelector(x),o.config.displayOrder,o.element.numOfBalances);return t.jsx(Bu,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,leftChevron:d?"open":"collapsed",accountGroupName:x.accountGroupName,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},Bn=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="section"||o.element.data==null)return null;const x=un(o.element.title),f=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Ln,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionName:o.element.title,sectionColor:x,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},Bt=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="section_with_ac_only"||o.element.data==null)return null;const x=un(o.element.title),f=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Ln,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionName:o.element.title,sectionColor:x,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},In=(e,n,o,i,r,l,c,d,p,u,g,h)=>{if(o.element.kind!="calculated_section"||o.element.data==null)return null;const x=un(o.element.title),f=te(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Ln,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionName:o.element.title,sectionColor:x,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:p,isLastNode:u,onClick:m=>{h?.(m)}})},Ze=(e,n,o,i,r,l,c,d,p)=>{if(n.element.kind!="ac_subentity_total")return null;const u=n.element.data,g=_n("no_filter",n.config.filterAccountsWithNilBalances,n.config.filterAccountGroupsWithNilBalances),h=u.account.classesViewParentId?.parentClassId!=null?u.account.classesViewParentId?.parentClassId.length-1:void 0,x=Oi(g.acBalanceSelector(u),n.config.displayOrder,n.element.numOfBalances),f=n.config.reportId==="operating_expenses"||n.config.reportId==="operating_expenses_by_classes";return t.jsx(Pp,{type:e,backgroundColor:i,isSticky:r,height:o,accountName:u.account.accountName,account:u,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:p,accountBalances:x.balances,isScrolling:l,noMarginForAccount:f,isLeaf:c,isLastNode:d,metadata:n.element.metadata,classDepth:h})},qe=(e,n,o,i,r,l,c,d)=>{if(o.element.kind!=="timeframe_headers"&&o.element.kind!=="timeframe_headers_with_forecast")return null;const p=We(o.element.data,o.config.displayOrder),u=p.length>0?p[0].balanceTimeFrame:"month",g=p.map(h=>Me(h));return t.jsx(Zp,{treeNodeId:e,backgroundColor:r,isSticky:l,type:n,height:i,isActualVsForecastOn:o.element.kind==="timeframe_headers_with_forecast",isCompareModeOn:o.config.mode==="this_period_vs_period_before"&&g.length>1,firstMonthOfFY:o.config.firstMonthOfFY,timeframe:u,timeframeTicks:g,compareMode:c,dataAvailable:o.config.dataAvailable,bookCloseDate:o.config.bookCloseDate,onCompareModeChanged:d})},Vi=(e,n,o,i,r,l,c,d,p,u,g,h,x)=>{if(o.element.kind!="class"||o.element.data==null)return null;const f=o.element.data,m=te(f.childrenBalancesTotal,o.config.displayOrder,o.element.numOfBalances),w=g>1;return t.jsx(ap,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,className:o.element.title,classCode:o.element.data.class.accountingClassNumber,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",depth:f.id.length-1,compareMode:h,sectionBalances:m.balances,isScrolling:c,isOpen:d,isLeaf:p,hasChildren:f.children.length>0,isLastNode:u,isSubClass:w,showClassAccountNumber:o.config.showClassAccountNumber,onClick:b=>{x?.(b)},metadata:o.element.metadata})},fo=e=>{const{height:n,data:{reportElementData:o,id:i,treeKind:r,isLeaf:l,isLastNode:c,nestingLevel:d,isFirstNode:p},isOpen:u,style:g,setOpen:h,isScrolling:x}=e,f=e.treeNodePadding?.left,m=e.treeNodePadding?.right;return t.jsx("div",{style:{...g,width:"auto",minWidth:"100%",paddingLeft:f,paddingRight:m},children:t.jsx(Di,{id:i,backgroundColor:e.backgroundColor,treeKind:r,reportElementData:o,height:n,isSticky:e.isSticky,isScrolling:x??!1,isLeaf:l,isLastNode:c,isFirstNode:p,isOpen:u,nestingLevel:d,nodeClickHandler:e.onNodeClick==null&&l?void 0:(w,b,k,v)=>{const S=l?u:!u;!l&&k==null&&(h(!u),e.onNodeCollapseToggled?.(w,!u)),e.onNodeClick?.(w,S,b,k,v)},compareMode:e.compareMode,hoveredParentIdProps:e.hoveredParentIdProps,onCompareModeChanged:e.onCompareModeChanged,toggleCheckHandler:e.onToggleCheck},i)})},Di=e=>e.treeKind==="name_only"?t.jsx(tg,{...e}):cn(e.reportElementData.config.reportId)?t.jsx(og,{...e}):dn(e.reportElementData.config.reportId)===!0?t.jsx(ng,{...e}):Co(e.reportElementData.config.reportId)===!0?t.jsx(qp,{...e}):an(e.reportElementData.config.reportId)===!0?t.jsx(Jp,{...e}):Ke(e.reportElementData.config.reportId)===!0?t.jsx(Qp,{...e}):ln(e.reportElementData.config.reportId)===!0?t.jsx(Xp,{...e}):wr(e.reportElementData.config.reportId)===!0?t.jsx(eg,{...e}):hn(e.reportElementData.config.reportId)===!0?t.jsx(ig,{...e}):sn(e.reportElementData.config.reportId)===!0?t.jsx(rg,{...e}):null,qp=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,nestingLevel:g,compareMode:h,nodeClickHandler:x,onCompareModeChanged:f})=>{switch(o.element.kind){case"ac_report":return Lt(e,n,o,i,r,l,c,d,p,u,h,x);case"ac_group_report":return At(e,n,o,i,r,l,c,u,d,p,h,x);case"section":return Bn(e,n,o,i,r,l,c,u,d,p,h,x);case"section_with_ac_only":return Bt(e,n,o,i,r,l,c,u,d,p,h,x);case"calculated_section":case"calculated_section_type1":return In(e,n,o,i,r,l,c,u,d,p,h,x);case"title_string_only":default:return null;case"class_headers":return((m,w,b,k,v,S)=>{if(b.element.kind!=="class_headers")return null;const $=b.element.data;return t.jsx(Zu,{isSticky:S,type:w,height:k,backgroundColor:v,classColumns:$})})(0,n,o,i,r,l);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,h,f);case"class":return Vi(e,n,o,i,r,l,c,u,d,p,g,h,x);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,h,x);case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,h);case"headers_loading_in_progress":return((m,w,b)=>m.element.kind!=="headers_loading_in_progress"?null:t.jsx(ci,{height:w,backgroundColor:b,numOfBalances:m.element.numOfBalances}))(o,i,r);case"loading_in_progress":return((m,w,b)=>m.element.kind!=="loading_in_progress"?null:t.jsx(ai,{height:w,backgroundColor:b,title:m.element.title,numOfBalances:m.element.numOfBalances}))(o,i,r)}},Jp=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,compareMode:g,nodeClickHandler:h,onCompareModeChanged:x})=>{switch(o.element.kind){case"ac_report":return Lt(e,n,o,i,r,l,c,d,p,u,g,h);case"ac_group_report":return At(e,n,o,i,r,l,c,u,d,p,g,h);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,g,h);case"ac_group_subaccount":return An(e,n,o,i,r,l,c,u,d,p,g,h);case"section":return Bn(e,n,o,i,r,l,c,u,d,p,g,h);case"section_with_ac_only":return Bt(e,n,o,i,r,l,c,u,d,p,g,h);case"calculated_section":case"calculated_section_type1":return In(e,n,o,i,r,l,c,u,d,p,g,h);case"title_string_only":default:return null;case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,g,x)}},Qp=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,nestingLevel:g,compareMode:h,nodeClickHandler:x,onCompareModeChanged:f})=>{switch(o.element.kind){case"ac_report":return Lt(e,n,o,i,r,l,c,d,p,u,h,x);case"ac_group_report":return At(e,n,o,i,r,l,c,u,d,p,h,x);case"section":return hi(e,n,o,i,r,l,c,u,d,p,h,x);case"section_with_ac_only":return Bt(e,n,o,i,r,l,c,u,d,p,h,x);case"calculated_section":case"calculated_section_type1":return ui(e,n,o,i,r,l,c,u,d,p,h,x);case"title_string_only":return wn(e,n,o,i,r,l,c,u,d,p,h,x);case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,h);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,h,f);case"class":return Vi(e,n,o,i,r,l,c,u,d,p,g,h,x);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,h,x);case"total":return pi(e,n,o,i,r,l,h,d);case"headers_loading_in_progress":return((m,w,b)=>m.element.kind!=="headers_loading_in_progress"?null:t.jsx(ci,{height:w,backgroundColor:b,numOfBalances:m.element.numOfBalances}))(o,i,r);case"loading_in_progress":return((m,w,b)=>m.element.kind!=="loading_in_progress"?null:t.jsx(ai,{height:w,backgroundColor:b,title:m.element.title,numOfBalances:m.element.numOfBalances}))(o,i,r);default:return null}},Xp=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,compareMode:g,nodeClickHandler:h,onCompareModeChanged:x})=>{switch(o.element.kind){case"ac_report":return((f,m,w,b,k,v,S,$,B,L,M)=>{if(w.element.kind!="ac_report"||w.element.data==null)return null;const T=w.element.data,D=te((Ke(w.config.reportId)===!0?ri(0,w.config.filterAccountsWithNilBalances):ut(w.element.sectionType,"no_filter",w.config.filterAccountsWithNilBalances,w.config.filterAccountGroupsWithNilBalances)).acBalanceSelector(T),w.config.displayOrder,w.element.numOfBalances);return t.jsx(Lc,{type:m,backgroundColor:k,isSticky:v,treeNodeId:f,height:b,accountBalances:D.balances,isCompareModeOn:w.config.mode==="this_period_vs_period_before",isForecastModeOn:w.config.mode==="actual_vs_forecast",isScrolling:S,isLeaf:$,isLastNode:B,compareMode:L,account:T,onAccountBalanceClick:M==null?void 0:(K,X,J,ie)=>{M?.(K,X,J,ie)}})})(e,n,o,i,r,l,c,d,p,g,h);case"ac_group_report":return((f,m,w,b,k,v,S,$,B,L,M,T)=>{if(w.element.kind!="ac_group_report"||w.element.data==null)return null;const D=w.element.data,K=te(ut(w.element.sectionType,"no_filter",w.config.filterAccountsWithNilBalances,w.config.filterAccountGroupsWithNilBalances).acGroupBalanceSelector(D),w.config.displayOrder,w.element.numOfBalances);return t.jsx(wc,{type:m,backgroundColor:k,isSticky:v,treeNodeId:f,height:b,accountGroupName:D.accountGroupName,compareMode:M,accountGroupBalances:K.balances,isScrolling:S,isOpen:$,isLeaf:B,isLastNode:L,onClick:X=>{T?.(X)}})})(e,n,o,i,r,l,c,u,d,p,g,h);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,g,h);case"ac_group_subaccount":return An(e,n,o,i,r,l,c,u,d,p,g,h);case"section":return hi(e,n,o,i,r,l,c,u,d,p,g,h);case"section_with_ac_only":return((f,m,w,b,k,v,S,$,B,L,M,T)=>{if(w.element.kind!="section_with_ac_only"||w.element.data==null)return null;const D=kn(w.config.reportId,w.element.sectionType),K=te(w.element.data,w.config.displayOrder,w.element.numOfBalances);return t.jsx(bn,{type:m,backgroundColor:k,isSticky:v,treeNodeId:f,height:b,sectionName:w.element.title,sectionColor:D.color,sectionBalances:K.balances,isScrolling:S,isOpen:$,isLeaf:B,isLastNode:L,compareMode:M,onClick:X=>{T?.(X)}})})(e,n,o,i,r,l,c,u,d,p,g,h);case"calculated_section":case"calculated_section_type1":return ui(e,n,o,i,r,l,c,u,d,p,g,h);case"title_string_only":return wn(e,n,o,i,r,l,c,u,d,p,g,h);case"total":return pi(e,n,o,i,r,l,g,d);case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,g,x);default:return null}},eg=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,compareMode:g,nodeClickHandler:h,onCompareModeChanged:x})=>{switch(o.element.kind){case"ac_report":return Lt(e,n,o,i,r,l,c,d,p,u,g,h);case"ac_group_report":return At(e,n,o,i,r,l,c,u,d,p,g,h);case"section":return Bn(e,n,o,i,r,l,c,u,d,p,g,h);case"section_with_ac_only":return Bt(e,n,o,i,r,l,c,u,d,p,g,h);case"calculated_section":return In(e,n,o,i,r,l,c,u,d,p,g,h);case"calculated_section_type1":return((f,m,w,b,k,v,S)=>{if(m.element.kind!="calculated_section_type1"||m.element.data==null)return null;const $=te(m.element.data,m.config.displayOrder,m.element.numOfBalances);return t.jsx(Ol,{backgroundColor:b,isSticky:k,treeNodeId:f,heading:m.element.title,totalBalances:$.balances,height:w,isScrolling:v,isLastNode:S})})(e,o,i,r,l,c,p);case"title_string_only":return wn(e,n,o,i,r,l,c,u,d,p,g,h);case"ac_subentity_total":return Ze(n,o,i,r,l,c,d,p,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return qe(e,n,o,i,r,l,g,x);case"ac_subaccount":return Ue(e,n,o,i,r,l,c,d,u,p,g,h);case"ac_group_subaccount":return An(e,n,o,i,r,l,c,u,d,p,g,h);default:return null}},tg=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:p,isOpen:u,toggleCheckHandler:g})=>o.element.kind==="checkbox_and_name_only"?((h,x,f,m,w,b,k,v,S,$,B)=>{if(f.element.kind!="checkbox_and_name_only")return null;const L=f.element.data,M=f.config.isClassToBeFilteredOut?.(L.classId)===!1;return t.jsx(eh,{type:x,backgroundColor:w,isSticky:b,treeNodeId:h,classId:L.classId,isChecked:M,isDisabled:!1,height:m,isScrolling:k,nestedClass:L,isOpen:v,isLeaf:S,isLastNode:$,showClassAccountNumber:f.config.showClassAccountNumber,onToggleCheck:B})})(e,n,o,i,r,l,c,u,d,p,g):null,ng=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLastNode:d,compareMode:p,onCompareModeChanged:u})=>{switch(o.element.kind){case"loading_in_progress":case"spacer_row":return((g,h,x,f)=>{if(g.element.kind!=="loading_in_progress")return null;const m=We(g.element.data,g.config.displayOrder).map(w=>Me(w));return t.jsx(rh,{backgroundColor:x,isSticky:f,height:h,isAccountColumnShown:g.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:g.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:m})})(o,i,r,l);case"timeframe_headers":return((g,h,x,f,m,w)=>{if(g.element.kind!=="timeframe_headers")return null;const b=We(g.element.data,g.config.displayOrder),k=b.length>0?b[0].balanceTimeFrame:"month",v=b.map(S=>Me(S));return t.jsx(Nh,{backgroundColor:m,isSticky:x,height:h,isAccountColumnShown:g.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:g.config.opexByVendorConfig?.isClassColumnShown??!0,isCompareModeOn:g.config.mode==="this_period_vs_period_before"&&v.length>1,firstMonthOfFY:g.config.firstMonthOfFY,timeframe:k,timeframeTicks:v,sortKey:g.config.opexByVendorConfig?.sortKey,sortOrder:g.config.opexByVendorConfig?.sortOrder,dataAvailable:g.config.dataAvailable,bookCloseDate:g.config.bookCloseDate,compareMode:f,onCompareModeChanged:w,onSortOrderChanged:g.config.opexByVendorConfig?.onSortOrderChanged})})(o,i,l,p,r,u);case"total":return((g,h,x,f,m,w,b)=>{const k=x.element.data,v=x.config.mode==="this_period_vs_period_before",S=v?x.element.numOfBalances+2:x.element.numOfBalances+1,$=Kn(k,x.config.displayOrder,S,v);return t.jsx(Hh,{type:h,backgroundColor:b,isSticky:m,treeNodeId:g,height:f,isScrolling:w,totalBalances:$.balances,title:x.element.title,isAccountColumnShown:x.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:x.config.opexByVendorConfig?.isClassColumnShown??!0})})(e,n,o,i,l,c,r);case"vendor_row":return((g,h,x,f,m,w,b)=>{if(h.element.kind!="vendor_row"||h.element.data==null)return null;const k=h.element.data,v=h.config.mode==="this_period_vs_period_before",S=Kn(k,h.config.displayOrder,h.element.numOfBalances,v);return t.jsx(cu,{backgroundColor:f,isSticky:m,height:x,isScrolling:w,vendorRowIndex:h.element.index,vendor:k.vendor,accountBase:k.account,classBase:k.classBase,isLastNode:b,balances:S.balances,isAccountColumnShown:h.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:h.config.opexByVendorConfig?.isClassColumnShown??!0,onVendorNameAndBalanceClick:($,B)=>{h.config.opexByVendorConfig?.onVendorNameAndBalanceClicked($,B)}})})(0,o,i,r,l,c,d);case"title_string_only":return((g,h,x,f)=>{if(g.element.kind!=="title_string_only")return null;const m=We(g.element.data,g.config.displayOrder).map(w=>Me(w));return t.jsx(hh,{backgroundColor:x,isSticky:f,height:h,isAccountColumnShown:g.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:g.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:m})})(o,i,r,l);default:return null}},og=({id:e,treeKind:n,reportElementData:o,height:i,isOpen:r,isSticky:l,isScrolling:c,isLastNode:d,backgroundColor:p,nodeClickHandler:u})=>{const{config:g}=o;switch(o.element.kind){case"spacer_row":default:return null;case"timeframe_headers":return((h,x,f,m,w,b,k)=>{if(h.element.kind!=="timeframe_headers")return null;const v=h.element.data;return t.jsx(Ea,{reportId:h.config.reportId==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",agingPeriods:v,backgroundColor:f,isSticky:m,height:x,sortKey:w,sortOrder:b,onSortOrderChanged:k})})(o,i,p,l,g.agingReportConfig?.sortKey,g.agingReportConfig?.sortOrder,g.agingReportConfig?.onSortOrderChanged);case"total":return((h,x,f,m,w)=>{const b=x.element.data;return t.jsx(al,{type:h,backgroundColor:m,isSticky:w,height:f,totalBalances:b,isIndented:x.config.reportId==="accounts_receivable_aging",title:x.element.title})})(n,o,i,p,l);case"aging_report_row":return((h,x,f,m,w,b,k,v,S,$)=>{if(x.element.kind!=="aging_report_row")return null;if(x.config.reportId==="accounts_payable_aging"){const L=x.element.data;return t.jsx(Na,{backgroundColor:v,isLastNode:b,isScrolling:k,isSticky:w,height:f,balances:L.apAgingBalances,vendor:L.vendor,total:L.total,onEntityNameClick:S})}const B=x.element.data;return t.jsx(Ma,{treeNodeId:h,backgroundColor:v,isLastNode:b,isScrolling:k,isSticky:w,isOpen:m,height:f,metadata:x.element.metadata,balances:B.arAgingBalances,nestedCustomer:B,total:B.total,totalWithChildren:B.totalWithChildren,onEntityNameClick:S,onClick:$})})(e,o,i,r,l,d,c,p,g.agingReportConfig?.onEntityNameClick,u);case"ac_subentity_total":return((h,x,f,m,w)=>{if(h.element.kind!=="ac_subentity_total")return null;if(h.config.reportId==="accounts_receivable_aging"){const b=h.element.data;return t.jsx(Ja,{backgroundColor:w,isScrolling:m,isSticky:f,height:x,metadata:h.element.metadata,nestedCustomer:b,total:b.totalWithChildren,noMarginForEntity:!0})}return null})(o,i,l,c,p)}},ig=({id:e,reportElementData:n,height:o,backgroundColor:i,isSticky:r,isScrolling:l,isLeaf:c,isLastNode:d,isFirstNode:p,isOpen:u,onFluxBalanceClick:g,nodeClickHandler:h,hoveredParentIdProps:x})=>{switch(n.element.kind){case"flux_vendor_account_class_row":return((f,m,w,b,k,v,S,$,B)=>{if(!Sn(m,"flux_vendor_account_class_row"))return null;const L=m.element.data,M=ki(L),T=m.element.metadata.vendorId;return t.jsx(Ls,{backgroundColor:w,isSticky:b,treeNodeId:f,balances:M,varianceAmount:L.varianceAmount,variancePercentage:L.variancePercentage,currency:L.currency,isScrolling:k,isLeaf:v,isLastNode:S,nodeMetadata:m.element.metadata,accountAndClass:L,onAccountAndClassBalanceClick:()=>B?.(T),isHoveredByParent:$?.hoveredParentId===T})})(e,n,i,r,l,c,d,x,g);case"flux_vendor_row":return Kd(e,n,i,r,l,u,c,d,p,x,h);case"section":return Yd(e,n,o,i,r,l,u,c,d,h);case"timeframe_headers":return((f,m,w)=>{if(f.element.kind!=="timeframe_headers")return null;const b=We(f.element.data,f.config.displayOrder),k=b.length>0?b[0].balanceTimeFrame:"month",v=b.map(S=>Me(S));return t.jsx(sd,{isSticky:w,height:m,firstMonthOfFY:f.config.firstMonthOfFY,timeframe:k,timeframeTicks:v,isBulkSelected:f.config.fluxAnalysisConfig?.reviewOpExIds.length===20,onSortOrderChanged:(S,$)=>{f.config.fluxAnalysisConfig?.setIsSortApplied?.(!0),f.config.fluxAnalysisConfig?.onSortOrderChanged(S,$)},sortOrder:f.config.fluxAnalysisConfig?.sortOrder,sortKey:f.config.fluxAnalysisConfig?.sortKey})})(n,o,r);case"total":return((f,m)=>{if(f.element.kind!=="total")return null;const w=f.element.data;return t.jsx(bd,{type:"name+balances_actual",title:f.element.title,totalBalances:w.balances,varianceAmount:w.varianceAmount,variancePercentage:w.variancePercentage,currency:w.currency,height:m})})(n,o);case"loading_in_progress":return(f=>f.element.kind!=="loading_in_progress"?null:t.jsx(Bs,{}))(n);case"headers_loading_in_progress":return(f=>f.element.kind!=="headers_loading_in_progress"?null:t.jsx(Ys,{}))(n);default:return null}},rg=({reportElementData:e,height:n,isSticky:o,isLastNode:i})=>{switch(e.element.kind){case"timeframe_headers":return function(r,l){if(r.element.kind!=="timeframe_headers")return null;const c=N.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers,d=r.element.data,p=d.accountIDs.length===0;return t.jsx(qr,{sectionTitle:c.section[d.sectionId].title,isLoading:p,isSticky:l,height:ct("timeframe_headers")})}(e,o);case"loading_in_progress":return t.jsx(Mr,{height:ct("loading_in_progress")});case"total":return((r,l,c)=>{const d=r.element.data;return t.jsx(ga,{isSticky:c,height:l,sectionData:d})})(e,n,o);case"section":return t.jsx(Pr,{height:ct("section")});case"title_string_only":return((r,l)=>{const c=r.element.data,d=N.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(Xr,{height:l,title:d.section[c.sectionId].title})})(e,n);case"ac_group_report":return((r,l,c)=>{const d=r.element.data,p=r.config.accountReconciliationConfig?.selectedDrawerAccountId!=null&&d.accountReconEntity.account.accountId===r.config.accountReconciliationConfig?.selectedDrawerAccountId;return t.jsx(jr,{height:l,accountRecon:d,isLastRow:c,isSelectedRow:p,onReviewClicked:r.config.accountReconciliationConfig?.onReviewClicked,onConnectClicked:r.config.accountReconciliationConfig?.onConnectClicked,onReconnectClicked:r.config.accountReconciliationConfig?.onReconnectClicked,onOpenDrawerClicked:r.config.accountReconciliationConfig?.onOpenDrawerClicked,onStatementAddClicked:r.config.accountReconciliationConfig?.onStatementAddClicked})})(e,n,i);default:return null}};function mo(e,n,o,i){const r=e.reportElementData.element.data,l=e.reportElementData.config.reportId==="profit_and_loss_by_classes"&&e.reportElementData.element.kind==="ac_report"&&e.children.length>0&&Ge(r)===!0||void 0;return{data:{defaultHeight:On(e.reportElementData.config.reportId,e.reportElementData.element.kind,e.isFirstNode),id:e.id,isLeaf:e.children.length===0,isFirstNode:e.isFirstNode??!1,isLastNode:e.isLastNode,isOpenByDefault:i??l??ag(e.reportElementData.config.reportId,e.reportElementData.element.kind,o,e.reportElementData.config.reportFormat),nestingLevel:o,treeKind:n,reportElementData:e.reportElementData},treeKind:n,nestingLevel:o,node:e}}function On(e,n,o){return an(e)===!0?function(i){switch(i){case"section":case"section_with_ac_only":case"calculated_section":case"calculated_section_type1":return C[8];case"ac_group_report":case"ac_group_subaccount":case"ac_subentity_total":case"ac_subaccount":case"ac_report":case"title_string_only":case"total":case"loading_in_progress":case"class":case"checkbox_and_name_only":return C[6];case"timeframe_headers":case"class_headers":case"headers_loading_in_progress":return C[11];case"timeframe_headers_with_forecast":return 98;default:return 0}}(n):ln(e)===!0||Ke(e)===!0?function(i){switch(i){case"section":case"ac_group_report":case"ac_group_subaccount":case"calculated_section":case"calculated_section_type1":case"section_with_ac_only":case"title_string_only":case"total":return C[8];case"ac_subentity_total":case"ac_subaccount":case"ac_report":case"loading_in_progress":case"class":case"checkbox_and_name_only":return C[6];case"timeframe_headers":case"headers_loading_in_progress":return C[11];case"timeframe_headers_with_forecast":return 98;default:return 0}}(n):cn(e)?function(i){switch(i){case"timeframe_headers":return C[10];case"aging_report_row":case"ac_subentity_total":return C[6];case"total":case"spacer_row":return C[8];default:return C[0]}}(n):sn(e)?ct(n):dn(e)?function(i){switch(i){case"timeframe_headers":return C[11];case"vendor_row":case"loading_in_progress":return C[6];case"total":case"spacer_row":case"title_string_only":return C[8];default:return 0}}(n):hn(e)?wi(n,o):function(i){switch(i){case"section":case"section_with_ac_only":case"calculated_section":case"ac_group_report":case"ac_group_subaccount":return C[8];case"calculated_section_type1":case"ac_report":case"ac_subaccount":case"ac_subentity_total":case"total":return C[6];case"title_string_only":return 67;case"timeframe_headers":return C[11];default:return C[0]}}(n)}function ag(e,n,o,i){return an(e)?function(r,l,c=0){const d=["summary"];switch(r){case"section":case"section_with_ac_only":case"title_string_only":return!d.includes(l);case"calculated_section":case"calculated_section_type1":case"ac_group_report":case"ac_report":case"total":case"timeframe_headers":case"timeframe_headers_with_forecast":case"class_headers":default:return!1;case"ac_group_subaccount":case"ac_subaccount":case"ac_subentity_total":return!(d.includes(l)||l==="detailed"&&c>0);case"class":return!(l==="detailed"&&c>0);case"checkbox_and_name_only":return!0}}(n,i,o):ln(e)||Ke(e)===!0?function(r,l){const c=["summary","detailed"];switch(r){case"section":case"section_with_ac_only":case"ac_group_report":case"ac_group_subaccount":case"ac_subentity_total":case"ac_subaccount":case"ac_report":case"title_string_only":return!c.includes(l);case"calculated_section":case"calculated_section_type1":case"total":case"timeframe_headers":case"timeframe_headers_with_forecast":default:return!1;case"class":case"checkbox_and_name_only":return!0}}(n,i):!!cn(e)||!dn(e)&&(hn(e)?function(r){return["section","flux_vendor_account_class_row","flux_vendor_row"].includes(r)}(n):sn(e)?kr():function(r,l){const c=["summary","detailed"];switch(r){case"section":case"section_with_ac_only":case"calculated_section":case"calculated_section_type1":case"ac_group_report":case"ac_group_subaccount":case"ac_report":case"ac_subaccount":case"ac_subentity_total":case"title_string_only":return!c.includes(l);default:return!1}}(n,i))}const lg=a.div`
2929
2929
  top: 0;
2930
2930
  left: 0;
2931
2931
  position: sticky !important;
@@ -2940,7 +2940,7 @@ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,E as y,cP as Yi,o as s,e as ee,a
2940
2940
  align-items: center;
2941
2941
  background-color: ${e=>e.bgColor?.hex()};
2942
2942
  box-sizing: border-box;
2943
- `;function cg({height:e,backgroundColor:n,headers:o,treeKind:i,isSticky:r,compareMode:l,onCompareModeChanged:c}){return o.length===0?null:(o.forEach(d=>{if(d.children.length>0)throw Error("Sticky headers can't have children")}),t.jsx(lg,{heightValue:e,bgColor:n,"data-testid":y("sticky-header-report-tree"),children:o.map((d,p)=>t.jsx(Di,{id:d.id,treeKind:i,reportElementData:d.reportElementData,height:On(d.reportElementData.config.reportId,d.reportElementData.element.kind,d.isFirstNode),backgroundColor:n,isSticky:r,isScrolling:!1,isLeaf:!0,isLastNode:o.length-1===p,isFirstNode:!1,isOpen:!0,nestingLevel:1,nodeClickHandler:()=>{console.log("Node click handler is called")},compareMode:l,onCompareModeChanged:c},d.id))}))}const Ei=V.createContext(void 0);function sg({height:e,kind:n,rootNodes:o,compareMode:i,isSticky:r,backgroundColor:l,treeNodePadding:c,treeClassName:d,treeStyle:p,treeRef:u,treeOuterElementRef:g,infiniteLoadingProps:h,variableNodeHeightTree:x,onNodeClick:f,onCompareModeChanged:m,scrollPosition:w,onScroll:b,nodeOpenStatus:k,onNodeCollapseToggled:v,onTreeInnerElementHeightChanged:S,onToggleCheck:$,hoveredParentIdProps:B}){const L=V.useRef(null),M=V.useRef(null),T=Wn(x?.prevFetchState),D=Wn(x?.prevRefreshFetchState),[K,X]=V.useState(0),Q=g??M,ie=u??L,he=W(),[le,re]=V.useState(void 0),[be,$e]=V.useState(!1),[ce,ue]=V.useState(k),_e=(z,U)=>{ue(Object.assign({},ce,{[z]:U})),v?.(z,U)},Nn=z=>{if(o.contentNodes.length>0)if(Object.keys(z).length>0){const U={};Object.keys(z).forEach(fe=>{U[fe]={open:z[fe]}}),ie?.current?.recomputeTree(U)}else{const U=o.contentNodes[0].id;ie?.current?.recomputeTree({[U]:{open:!0}})}};V.useLayoutEffect(()=>{if((!Pn(w,le)||le==null)&&Q.current!=null){const z=w?.scrollLeft==null?he==="small"?0:Q.current.scrollWidth:w?.scrollLeft;if(w!=null){const U={scrollTop:w.scrollTop,scrollLeft:z};re(U),z!==w?.scrollLeft&&b?.(U)}Q.current.scroll({left:z,top:w?.scrollTop})}},[w]),V.useEffect(()=>{Pn(k,ce)||(ue(k),Nn(k))},[k]),V.useEffect(()=>{const z=Q.current,U=Ui(()=>{if(z!=null&&(le==null||z.scrollLeft!==le.scrollLeft||z.scrollTop!==le.scrollTop)){const fe={scrollLeft:z.scrollLeft,scrollTop:z.scrollTop};re(fe),b?.(fe)}},50);return z?.addEventListener("scroll",U),()=>{z?.removeEventListener("scroll",U)}},[Q,le,b]),V.useEffect(()=>{if(o.contentNodes.length>0){Nn(ce);const z=o.contentNodes[0].reportElementData.config.mode==="actual_vs_forecast";z!==be&&$e(z)}},[be,$e,o,ie,Q]),V.useEffect(()=>{(x!=null&&T==="In-Progress"&&x.fetchState==="Completed"&&x.isSortApplied||x!=null&&D==="In-Progress"&&x.refreshFetchState==="Completed")&&(x.reducedFetchState==="Completed"&&x.setIsSortApplied(!1),X(K+1))},[K,x?.fetchState,x?.isSortApplied,T,D,x]);const It=V.useRef(),[Gi,Ri]=V.useState(void 0),Mn=V.useCallback(((z,U,fe)=>function*(){for(let we=0;we<U.length;++we)yield mo(U[we],z,0,fe[U[we].id]??void 0);for(;;){const we=yield;for(let Qe=0;Qe<we.node.children.length;++Qe)yield mo(we.node.children[Qe],z,we.nestingLevel+1,fe[we.node.children[Qe].id]??void 0)}})(n,o.contentNodes,ce),[n,o]),Hi={rootNodes:o,treeNodePadding:c,backgroundColor:l,kind:n,isSticky:r,compareMode:i,onCompareModeChanged:m};return t.jsx(Ei.Provider,{value:Hi,"data-testid":y("report-tree"),children:h==null?t.jsx(zn,{className:d,style:p,ref:ie,innerRef:It,outerRef:Q,innerElementType:Zt,treeWalker:Mn,onItemsRendered:()=>{const z=It.current;z!=null&&z.clientHeight>0&&z.clientHeight!=Gi&&(Ri(z.clientHeight),S?.(z.clientHeight))},height:e,width:"100%",children:z=>t.jsx(fo,{...z,isSticky:r.isStickyName,backgroundColor:l,treeNodePadding:c,onNodeClick:f,onNodeCollapseToggled:_e,compareMode:i,onCompareModeChanged:m,onToggleCheck:$})}):t.jsx(Zi,{isItemLoaded:h.isItemLoaded,itemCount:h.itemCount+1,loadMoreItems:h.loadMoreItems,children:({onItemsRendered:z,ref:U})=>t.jsx(zn,{className:d,style:p,ref:U,innerRef:It,outerRef:Q,innerElementType:Zt,treeWalker:Mn,onItemsRendered:z,height:e,width:"100%",children:fe=>t.jsx(fo,{...fe,isSticky:r.isStickyName,backgroundColor:l,treeNodePadding:c,onNodeClick:f,onNodeCollapseToggled:_e,compareMode:i,onCompareModeChanged:m,onToggleCheck:$,hoveredParentIdProps:B})},K)})})}const Zt=V.forwardRef((e,n)=>{const{children:o,style:i,...r}=e,{rootNodes:l,treeNodePadding:c,backgroundColor:d,kind:p,isSticky:u,compareMode:g,onCompareModeChanged:h}=V.useContext(Ei),x=l.headerNodes.reduce((b,k)=>b+On(k.reportElementData.config.reportId,k.reportElementData.element.kind,k.isFirstNode),0),f=c?.left,m=c?.right,w=s.sp8;return t.jsxs("div",{ref:n,style:{...i,width:"auto",minWidth:"100%",paddingLeft:f,paddingRight:m,marginBottom:w},...r,children:[t.jsx(cg,{height:x,backgroundColor:d,headers:l.headerNodes,treeKind:p,isSticky:u.isStickyHeader,compareMode:g,onCompareModeChanged:h}),o]})});Zt.displayName="stickyInnerElementType";const dg=a.div`
2943
+ `;function cg({height:e,backgroundColor:n,headers:o,treeKind:i,isSticky:r,compareMode:l,onCompareModeChanged:c}){return o.length===0?null:(o.forEach(d=>{if(d.children.length>0)throw Error("Sticky headers can't have children")}),t.jsx(lg,{heightValue:e,bgColor:n,"data-testid":y("sticky-header-report-tree"),children:o.map((d,p)=>t.jsx(Di,{id:d.id,treeKind:i,reportElementData:d.reportElementData,height:On(d.reportElementData.config.reportId,d.reportElementData.element.kind,d.isFirstNode),backgroundColor:n,isSticky:r,isScrolling:!1,isLeaf:!0,isLastNode:o.length-1===p,isFirstNode:!1,isOpen:!0,nestingLevel:1,nodeClickHandler:()=>{console.log("Node click handler is called")},compareMode:l,onCompareModeChanged:c},d.id))}))}const Ei=V.createContext(void 0);function sg({height:e,kind:n,rootNodes:o,compareMode:i,isSticky:r,backgroundColor:l,treeNodePadding:c,treeClassName:d,treeStyle:p,treeRef:u,treeOuterElementRef:g,infiniteLoadingProps:h,variableNodeHeightTree:x,onNodeClick:f,onCompareModeChanged:m,scrollPosition:w,onScroll:b,nodeOpenStatus:k,onNodeCollapseToggled:v,onTreeInnerElementHeightChanged:S,onToggleCheck:$,hoveredParentIdProps:B}){const L=V.useRef(null),M=V.useRef(null),T=Wn(x?.prevFetchState),D=Wn(x?.prevRefreshFetchState),[K,X]=V.useState(0),J=g??M,ie=u??L,he=W(),[le,re]=V.useState(void 0),[be,$e]=V.useState(!1),[ce,ue]=V.useState(k),_e=(z,U)=>{ue(Object.assign({},ce,{[z]:U})),v?.(z,U)},Nn=z=>{if(o.contentNodes.length>0)if(Object.keys(z).length>0){const U={};Object.keys(z).forEach(fe=>{U[fe]={open:z[fe]}}),ie?.current?.recomputeTree(U)}else{const U=o.contentNodes[0].id;ie?.current?.recomputeTree({[U]:{open:!0}})}};V.useLayoutEffect(()=>{if((!Pn(w,le)||le==null)&&J.current!=null){const z=w?.scrollLeft==null?he==="small"?0:J.current.scrollWidth:w?.scrollLeft;if(w!=null){const U={scrollTop:w.scrollTop,scrollLeft:z};re(U),z!==w?.scrollLeft&&b?.(U)}J.current.scroll({left:z,top:w?.scrollTop})}},[w]),V.useEffect(()=>{Pn(k,ce)||(ue(k),Nn(k))},[k]),V.useEffect(()=>{const z=J.current,U=Ui(()=>{if(z!=null&&(le==null||z.scrollLeft!==le.scrollLeft||z.scrollTop!==le.scrollTop)){const fe={scrollLeft:z.scrollLeft,scrollTop:z.scrollTop};re(fe),b?.(fe)}},50);return z?.addEventListener("scroll",U),()=>{z?.removeEventListener("scroll",U)}},[J,le,b]),V.useEffect(()=>{if(o.contentNodes.length>0){Nn(ce);const z=o.contentNodes[0].reportElementData.config.mode==="actual_vs_forecast";z!==be&&$e(z)}},[be,$e,o,ie,J]),V.useEffect(()=>{(x!=null&&T==="In-Progress"&&x.fetchState==="Completed"&&x.isSortApplied||x!=null&&D==="In-Progress"&&x.refreshFetchState==="Completed")&&(x.reducedFetchState==="Completed"&&x.setIsSortApplied(!1),X(K+1))},[K,x?.fetchState,x?.isSortApplied,T,D,x]);const It=V.useRef(),[Gi,Ri]=V.useState(void 0),Mn=V.useCallback(((z,U,fe)=>function*(){for(let we=0;we<U.length;++we)yield mo(U[we],z,0,fe[U[we].id]??void 0);for(;;){const we=yield;for(let Je=0;Je<we.node.children.length;++Je)yield mo(we.node.children[Je],z,we.nestingLevel+1,fe[we.node.children[Je].id]??void 0)}})(n,o.contentNodes,ce),[n,o]),Hi={rootNodes:o,treeNodePadding:c,backgroundColor:l,kind:n,isSticky:r,compareMode:i,onCompareModeChanged:m};return t.jsx(Ei.Provider,{value:Hi,"data-testid":y("report-tree"),children:h==null?t.jsx(zn,{className:d,style:p,ref:ie,innerRef:It,outerRef:J,innerElementType:Zt,treeWalker:Mn,onItemsRendered:()=>{const z=It.current;z!=null&&z.clientHeight>0&&z.clientHeight!=Gi&&(Ri(z.clientHeight),S?.(z.clientHeight))},height:e,width:"100%",children:z=>t.jsx(fo,{...z,isSticky:r.isStickyName,backgroundColor:l,treeNodePadding:c,onNodeClick:f,onNodeCollapseToggled:_e,compareMode:i,onCompareModeChanged:m,onToggleCheck:$})}):t.jsx(Zi,{isItemLoaded:h.isItemLoaded,itemCount:h.itemCount+1,loadMoreItems:h.loadMoreItems,children:({onItemsRendered:z,ref:U})=>t.jsx(zn,{className:d,style:p,ref:U,innerRef:It,outerRef:J,innerElementType:Zt,treeWalker:Mn,onItemsRendered:z,height:e,width:"100%",children:fe=>t.jsx(fo,{...fe,isSticky:r.isStickyName,backgroundColor:l,treeNodePadding:c,onNodeClick:f,onNodeCollapseToggled:_e,compareMode:i,onCompareModeChanged:m,onToggleCheck:$,hoveredParentIdProps:B})},K)})})}const Zt=V.forwardRef((e,n)=>{const{children:o,style:i,...r}=e,{rootNodes:l,treeNodePadding:c,backgroundColor:d,kind:p,isSticky:u,compareMode:g,onCompareModeChanged:h}=V.useContext(Ei),x=l.headerNodes.reduce((b,k)=>b+On(k.reportElementData.config.reportId,k.reportElementData.element.kind,k.isFirstNode),0),f=c?.left,m=c?.right,w=s.sp8;return t.jsxs("div",{ref:n,style:{...i,width:"auto",minWidth:"100%",paddingLeft:f,paddingRight:m,marginBottom:w},...r,children:[t.jsx(cg,{height:x,backgroundColor:d,headers:l.headerNodes,treeKind:p,isSticky:u.isStickyHeader,compareMode:g,onCompareModeChanged:h}),o]})});Zt.displayName="stickyInnerElementType";const dg=a.div`
2944
2944
  display: flex;
2945
2945
  flex: 1 0 auto;
2946
2946
  width: ${e=>e.width}px;