@zeniai/web-app-ui 4.14.34-prod → 4.14.35-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 (366) hide show
  1. package/dist/assets/{ACHDetailsPage-iiVBlQka-DOdcnea1.js → ACHDetailsPage-B5qIuZya-DhhGJFiO.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-MBAB5kgB-GiPvCRJA.js → AIPerformancePage-BHB45mP--bMes_tkI.js} +1 -1
  3. package/dist/assets/AccountInfoPage-Cd5xYT1g-BezVjAGR.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-CJ7ycVIK-DTztMN2V.js +149 -0
  5. package/dist/assets/{AccountLockedInfoModal-B1JxHllU-DyFOkn-g.js → AccountLockedInfoModal-Dox7IuAX-BJBuQmOL.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DF-X46_u-Dv2VQ_UN.js → AccountReconDetailsDrawerPage-Bqty08m0-CNcZRdSW.js} +1 -1
  7. package/dist/assets/{AccountRow-DEtntSrL-0u2oxgMR.js → AccountRow-D1cjRJJD--D2oyMqA.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Cvixqb_6-Cy_UpDhS.js → AccountsPromoCardStack-Bs3naJHM-eCRqE4NI.js} +11 -11
  9. package/dist/assets/{AddAddressForCardDrawer-B1Qfn44J-BWdxQBZs.js → AddAddressForCardDrawer-DZkBMJfp-CbavqjCF.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BLxUsh1Y-xvXEX-Ux.js → AddToWalletPage-CyRfqVDB-fhBwqlyz.js} +1 -1
  11. package/dist/assets/{AddressRoutes-ffTj4-XE.js → AddressRoutes-BOfIecri.js} +1 -1
  12. package/dist/assets/{AddressScreen-CwbSwP2P.js → AddressScreen-BL1pptQ5.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-XIzuLRE4-C-s9DGYa.js → AgingReportsPage-xBFff3BM-B37Aeh0_.js} +8 -8
  14. package/dist/assets/{AiCfoScreen-ky7GYy31.js → AiCfoScreen-B5nbVKeh.js} +1 -1
  15. package/dist/assets/{AllUserItems-BGMZCYUO-Dadr9Gec.js → AllUserItems-BJf6WPDo-CPycalrU.js} +5 -5
  16. package/dist/assets/{ApAgingDetailPage-B-1gVAu6-CXso1m5Y.js → ApAgingDetailPage-CjBrPyi8-EnSmKZiu.js} +2 -2
  17. package/dist/assets/{AppBasePage-CYjdUgY4-N8in2lu3.js → AppBasePage-CqDm-hnV-Cb4xx63d.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-CbF8TOjd-HEzUvQD5.js → AppDrawerContent-CVVWj66i-TDtj32fZ.js} +6 -6
  19. package/dist/assets/{ApprovalRulesSettingsPage-RCtygkuw-6E84O9sA.js → ApprovalRulesSettingsPage-Cckd2uVA-BuYxkuTi.js} +1 -1
  20. package/dist/assets/{ArAgingChart-ZwWwEBJ3-BSFQLwWJ.js → ArAgingChart-CBsqOd-4-Be7GSB8o.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-DtqyngrA-CcwxPD_r.js → ArAgingDetailPage-i7JObt60-CQiftrKA.js} +1 -1
  22. package/dist/assets/{AttachmentView-UxkSFZmq-C2YzlN6Z.js → AttachmentView-CzC4skJ3-3dq1WroI.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-Co6ZUc5x-BSkB04b8.js → BalancesInsightWithToolTip-B6umvmgL-BkOE6IRV.js} +2 -2
  24. package/dist/assets/{BankAccountSection-DnBVOkJC-vpE8xbp3.js → BankAccountSection-Di4sF52j-D_gkfCl5.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-D7OuLiLz-DfeZIMEg.js → BankAccountWarningSection-Cled-2cR-CM49bGSJ.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-BDLTuNLu-OBPhlcth.js → BankConnectionsSettingsPage-Ccnzq7st-oxNYJAAG.js} +16 -16
  27. package/dist/assets/{BillDetailPage-V8us93cj-a4bc14UJ.js → BillDetailPage-XXOwBfO1-BoigghjD.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-CRqEGV5h.js → BillPayApprovalRoutes-D-JPXnec.js} +1 -1
  29. package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-u4moAED-.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-C6G_eDX9-CDGGBdw4.js → BillPayApprovalRulesPage-COCypDcS-Ldsbb0Zg.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-CTQSknOB-C2T9b-Vq.js → BillPayPromoPage-DOE2YIqC-Qk9YcGXw.js} +11 -11
  32. package/dist/assets/{BillPayRoutes-IwCLBQ4C.js → BillPayRoutes-CBS2uwsj.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-BmgMLaf--hKXnXW7y.js → BillPaySetUpPage-BCJbZDsV-BIjtlBT1.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-IHY3ak0N-BYPEX6n6.js → BillingSettingsPage-iImtlEmO-B72lsLaH.js} +4 -4
  35. package/dist/assets/{BillsBulkReviewDrawerPage-ZoFahXYa-DETAm1nH.js → BillsBulkReviewDrawerPage-B11GWM_0-B4gEY1ob.js} +1 -1
  36. package/dist/assets/{BoxItem-XoWq-tnh-CNFx_qzU.js → BoxItem-Bxa1M4QU-DyrFdjN6.js} +4 -4
  37. package/dist/assets/{BusinessVerificationPage-D9HtnNOu-ZRSnva4Q.js → BusinessVerificationPage-DSuJFoW1-BwLNb7bU.js} +2 -2
  38. package/dist/assets/{BusinessVerificationPageScreen-CBtz2-zR.js → BusinessVerificationPageScreen-BQdQDNi4.js} +1 -1
  39. package/dist/assets/{BusyIndication-BLGcHlgu-DaOngyN9.js → BusyIndication-9zDqSKBP-C1ZL_6Kc.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-Cn0EZrNE-DUYxvvHo.js → CardNumberSubText-_ZZbaz_k-DUqImiGz.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-Bk5ssPnj-DvaMlHNq.js → CashbackDetailPage-DAZXitLt-p_ZAuWDR.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-Ge9Aw7PA-CIu-TGGw.js → ChargeCardDetailPage-B1VIpASk-C6cq7Hcv.js} +20 -20
  43. package/dist/assets/{ChargeCardListPage-BNLOoSv3-B-StV0nu.js → ChargeCardListPage-BOBepN-x-Bsjhp0o3.js} +6 -6
  44. package/dist/assets/{ChargeCardListTable-BoufojYF-DZi3AnCd.js → ChargeCardListTable-YznzSsJo-Ck1z18a-.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-5lUxK8pF-BCsrr76G.js → ChargeCardPaymentHistoryPage--jOwsMla-BOhlFspE.js} +14 -14
  46. package/dist/assets/ChargeCardPromoPage-DIfakIOK-B-zay_30.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-qFs5VmEt.js → ChargeCardRoutes-CCifW-tf.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-Dqoel2Do-CcQz84BS.js → ChargeCardSetupPage-0bpVkeJs-SDjQa1Ra.js} +2 -2
  49. package/dist/assets/{ChargeCardStatementsPage-Dalrj66w-4SSCFPQ4.js → ChargeCardStatementsPage-ChWyQlw6-DL7Upt8t.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-mYjv1H0f-SmPvhIJ-.js → CheckDepositDrawerPage-BS7hnyZn-BYnpBPDj.js} +3 -3
  51. package/dist/assets/{CollapsableReportTable-CIaa7SIH-BHE5m01A.js → CollapsableReportTable-DNfFkAts-Ba6KUje2.js} +109 -100
  52. package/dist/assets/{CompanyOfficerDetailsSection-BSFNYauO-CLhqGMI2.js → CompanyOfficerDetailsSection-CrOIN4IW-BMaGz6_3.js} +16 -16
  53. package/dist/assets/{CompanyPassportCard-B-mBb9Q5-Djs-y_lF.js → CompanyPassportCard-CkzYFTrp-C4EBgPsw.js} +2 -2
  54. package/dist/assets/{CompanyPassportPage-Blyl_Z-c-CfshBdbX.js → CompanyPassportPage-FE6yli6h-KGSkM9PK.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-CfkYFhOH.js → CompanyPassportScreen-zFkQa4Cq.js} +1 -1
  56. package/dist/assets/{CompleteProfile-ySk9I1Ut-BkCkkFbF.js → CompleteProfile-Cb8i1XgZ-D3q04jkj.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-CeAc4Ily-DA7b9h73.js → ConfettiBurst-BZCXEGYA-C5d5kzSC.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-Bt9nVDvl.js → ConnectionAuthScreen-CM9g7u1v.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-DpAfq4d_.js → ConstrainedInnerElement-CgdnMeoA-BgAKlXog.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-BRkqkhfw-BjR4IlX5.js → CreateOrEditVendorPage-CzpSgxbO-Dqm8Zwpt.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-oUIakAtz-BWbFgsjF.js → CreditCardPaymentDrawerPage-c_q0MsSO-CdtVaa6P.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-CSPhUjwG-CnRANTg2.js → CurrencySelectField-BAh7SHrG-D1tX6Pz9.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-CoOyWe6_-BUv4wnWa.js → CustomerOnboardingActivationPage-f3Aa6E5r-PsW9oHee.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-BMwa29XG.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DVPtZVWB.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CWNyUuRp-zXc9wagp.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-B_5BYtTr.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-DWx46Z6R-C-ExaFC2.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-SfRIKq-U.js} +12 -12
  68. package/dist/assets/{CustomerOnboardingPage-D86Sj2KP-D6-04E6_.js → CustomerOnboardingPage-B9hSO88_-B5iac515.js} +7 -7
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-Bo0LFveG-BzG7cQxy.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-Bqjg890b.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-DtIuxucw.js → CustomerOnboardingRoutes-MHYW-e3t.js} +1 -1
  71. package/dist/assets/{Dashboard-DQLJzr16-CVWpnSBo.js → Dashboard-BJ_oIHab-B1azilYN.js} +31 -31
  72. package/dist/assets/{DashboardReportPage-CwfTMXY5-CYxNkh7v.js → DashboardReportPage-BemzMw2e-Ywi7e9T3.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-ChFJ7MHp.js → DashboardRoutes-C-92-XEq.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-CUZGIAxW-CgiNswdF.js → DashboardSidebarBackgroundAnimation-BtA5oEGG-LNl3VR8y.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-DpbVQ8O_.js → DefaultTenantHome-Bim9etFd.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-Ci-LxLsk-DRNN1br-.js → DepositAccTransactionItem-CyFi1P_L-BCRifuhI.js} +5 -5
  77. package/dist/assets/{DepositAccTransactionListPage-RG7P8vQS-KiHqHADW.js → DepositAccTransactionListPage-DvBRRUdZ-yB8jjVIF.js} +3 -3
  78. package/dist/assets/{DomesticWireDetailScreen-mFjAiqsH.js → DomesticWireDetailScreen-D0LT5YWt.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-DsPFUOcE-D5dltjE3.js → DomesticWireDetailsPage-DCDo3aHI-DKoqkJmX.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-BjTf50Dz-BTRZen3n.js → DownloadOverlay-D_lL1sPW-1PQmVEsl.js} +1 -1
  81. package/dist/assets/{DrawerPage-0OFinUxM-Dw-wONp5.js → DrawerPage-DesxXhZk-CE9sM7_o.js} +1 -1
  82. package/dist/assets/{DrawerScreen-CnU-VoMe.js → DrawerScreen-MxSrrJrd.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-BKcOmYVv-DqbQfjtE.js → EditPeoplePage-QvPy_Six-BwgKBjDc.js} +5 -5
  84. package/dist/assets/{EditReimbursementDetailPage-BFIHhQbx-DZUd4Itz.js → EditReimbursementDetailPage-C0ZDkboO-CqRPRQtt.js} +13 -13
  85. package/dist/assets/EntityDetailPage-l7nXIsyF-CbwI2wUW.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes-Bl0VaL7D.js → EntityDetailRoutes-BEygBdNc.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-ORJ2pE_k-BoOr8fVU.js → EntitySummarySection-BwX0a4JL-BZFiwIuR.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-Dzf7j2zV-CwsDMrKO.js → ExpenseAutomationOverviewPage-EdyHjbff-CXMmwtfI.js} +3 -3
  89. package/dist/assets/{ExpenseAutomationPage-BRsKGeoM-xnjjT-mx.js → ExpenseAutomationPage-DA22Qofw-BhoqVQ10.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-D8OIvCDd.js → ExpenseAutomationRoutes-ijMZF_ZU.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-DlBFtMaR-SeZBy6gS.js → ExpressPayPage-EMP6inpX-CBzcRvxz.js} +7 -7
  92. package/dist/assets/{FeaturePreviewPage-C31F3Gmz-C0P6i02u.js → FeaturePreviewPage-SYJm-3aR-BvJl8rgC.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-CcjSI5cK.js → FeaturePreviewScreen-BrgEnIPS.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-BVT2K7mu-CY3KrJG7.js → FollowStepsSection-BxESVqJD-DBgSryEI.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-0cZe1hh0-QDZIOJkv.js → GlobalReviewListPage-D5_ACa-q-Be6ROlgu.js} +1 -1
  96. package/dist/assets/{InformationCardStack-t8eELRLU-Bxjmly9q.js → InformationCardStack-B_qQUEYD-DWu9uCxP.js} +3 -3
  97. package/dist/assets/{InsightsCardStack-CJBPZbzD-Bb1JSXvK.js → InsightsCardStack-BsQzoVzj-Dm_xsmzm.js} +1 -1
  98. package/dist/assets/{InsightsSection-tUBzsCix-CHqlcKsY.js → InsightsSection-B6CNlTNH-DV_5z3I5.js} +6 -6
  99. package/dist/assets/{IntegrationsSettingsPage-Ce0yKUWI-Bd8qZ6Sn.js → IntegrationsSettingsPage-DP6fAccq-DrN7ALwc.js} +3 -3
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-BzR-rKaL-DTdizezB.js → InternationalWireSwiftDetailsPage-VdG7bDZi-2y0ea6UL.js} +9 -9
  101. package/dist/assets/{InternationalWireVerificationPage-7tCXdJ3Y-CfPz5aLZ.js → InternationalWireVerificationPage-COC6lZml-DF2HxV4W.js} +10 -10
  102. package/dist/assets/{InviteFormPage-DePVC0CH-BoGyyI8-.js → InviteFormPage-DN02jRy5-7Lvtg9Hr.js} +1 -1
  103. package/dist/assets/{InvitePageListView-ChbvDKgQ-DW8tQqHU.js → InvitePageListView-CP4K9tJi-bRNoOCRv.js} +20 -20
  104. package/dist/assets/{InvitePeoplePage-DJiEzIeY-BVfacopw.js → InvitePeoplePage-VTM6kM1u-DFLNYNR3.js} +3 -3
  105. package/dist/assets/{InvoiceUploadSection-BjNMjhQR-B7H94Qr_.js → InvoiceUploadSection-it-ZYl1N-CPSEMHj6.js} +7 -7
  106. package/dist/assets/{IssueChargeCardPage-4xbGf5Ut-D1NZ5n0C.js → IssueChargeCardPage-CVfuvGey-BDkFfNQU.js} +11 -11
  107. package/dist/assets/{LabeledAddressValue-Czt7QvSJ-DQcySL2B.js → LabeledAddressValue-DDrQcHIE-BQQnm587.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-Dl3atH92-9Bh85cZL.js → LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-DT_nxhPN-C7uKsE8n.js → LabeledControlledCheckBoxField-CcPO1k23-BZjPsfe4.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-BnljZpX0-B68SMHkZ.js → LabeledCountryMultiSelectField-BYYjzwUG-BPvc68ab.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-CiInq9yD-B0SGNp0O.js → LabeledCreatableSingleSelectField-CISYMojq-CmzS04aH.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-Ceb8vgVH-CBxNcBjR.js → LabeledDocumentField-C_bcFxdY-CD1TCntt.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-B98gNWTE-fV4URX6J.js → LabeledDropDownFormattedTextField-ScGGCap8-BdN7qNJy.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-C53P9fJl-CkFXu9dG.js → LabeledEmailInputField-BppuWRbl-Dsaj9M9p.js} +1 -1
  115. package/dist/assets/{LabeledNameField-BdVztq_8-DOZ2ED2j.js → LabeledNameField-mxSNQk3k-BpAc_tNL.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-sjDjhxfQ-CpanQxt-.js → LabeledSingleSelectField-C6ctNzkA-CTrwMQK7.js} +1 -1
  117. package/dist/assets/{LabeledText-CFJSoGtK-WYjBLL4Z.js → LabeledText-C8Y7EOsX-DCuEu6In.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-CmNHahAF.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-BLPpr77S.js} +4 -4
  119. package/dist/assets/{LabeledZeniRolesDropDownField-CQiP2rEh-dj-ud4dM.js → LabeledZeniRolesDropDownField-BZtreVpj-KqOutsB4.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-ANY7Ns42-mjp3UwWz.js → LinkJETransactionPage-CKq4oiX9-C4YwLVFm.js} +9 -9
  121. package/dist/assets/{LockCardPage-0piclOz3-Ckqd1b8v.js → LockCardPage-CZENNby7-DmtCNaPi.js} +6 -6
  122. package/dist/assets/{LowBalancePopup-CplxkRHP-CQO3ycRf.js → LowBalancePopup-1727S1ri-DQfCP7-o.js} +1 -1
  123. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-DLdN8Rvh.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DaTDXMgN.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-L7bRQS1f.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-DaX13Is3.js → MagicLinkRoutes-DdHE5z12.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-Je-xXgqt.js → MagicLinkSignInScreen-BN_jDhip.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-BA1LfhVb-BgAj_Mic.js → MagicLinkSuccessPage-QMkZgQLG-CTsjsp6N.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-DLdaV8WG-8WWnBNb8.js → MagicLinkTitleSection-CARU1oLQ-DZmT0L5L.js} +1 -1
  130. package/dist/assets/MailingDetailsSection-ByOPaJ05-Cq55yE-t.js +21 -0
  131. package/dist/assets/{MobileAppDrawer-Bcyem12-.js → MobileAppDrawer-C3TNoouV.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-DrAQ635T-CmGmYM-R.js → MoreMenuButton-BsBKwXvk-DLOnGEff.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-BiDvyO_G-BmGEKHOY.js → MyBankConnectionsSettingsPage-BdgIIhL1-CHxTcS48.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-Bb4_b9o6-QySvTesc.js → MyPendingActivationChargeCardListPage-CX38bDdq-Ba-ajqtL.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-nY_eDqfm-CUAB-1K_.js → MyProfileSettingsPage-DYu0Fx6I-BMODc0ew.js} +4 -4
  136. package/dist/assets/{NavBarWithPicker-Dr5XHgP5-BMoWiwl5.js → NavBarWithPicker-CGGEvLwe-DGWn5q5A.js} +1 -1
  137. package/dist/assets/{NavigationArrow-DT82hMh--DsUaY4v0.js → NavigationArrow-CTNkKUtV-LsyvHBca.js} +1 -1
  138. package/dist/assets/{NavigationDots-CwCZ9EAa-BB9rS2z2.js → NavigationDots-Dvce3gHt-H1P3hT7y.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-D1lxnByE-DmJjA0eC.js → NewGlobalMerchantPage-D_f7z47T-DGuDs_dy.js} +1 -1
  140. package/dist/assets/{NoDataChart-DCTRXLc7-BRwtqbdY.js → NoDataChart-CrKeqWSr-DJdc5MTN.js} +1 -1
  141. package/dist/assets/{NoDataTable-D8Xw5pAY-CJGJMrLD.js → NoDataTable-4vPXmPYF-Do6t4z9R.js} +1 -1
  142. package/dist/assets/{NotFoundPage-B_zPUigU-CqL87o0B.js → NotFoundPage-BLWPU1wU-CBPIYV57.js} +6 -6
  143. package/dist/assets/{NotFoundScreen-Ceul2a4k.js → NotFoundScreen-CubXCR1V.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-BjIV5PW8.js → NotificationRoutes-C2SuMmMM.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-aKLRiMp--gxJ4ef8p.js → NotificationSettingsPage-CDiDLX3A-DkD80zQf.js} +4 -4
  146. package/dist/assets/{NotificationsListConfig-CVEetkBc-DvchCo1R.js → NotificationsListConfig-B5pDa4cJ--FUSOPuJ.js} +1 -1
  147. package/dist/assets/{NotificationsPage-DEw6V83J-BMiLOKv6.js → NotificationsPage-Ccl7Dny1-B8jydSw6.js} +14 -14
  148. package/dist/assets/{OpExByVendorPage-DJMov6Ux-CSTc2zF7.js → OpExByVendorPage-spd-nKV4-BIgnMj0p.js} +6 -6
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-7YT_HLI5.js → OverlayContainerPage-BG9y5C0t-D8k0A9EC.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-RBTh1bFk-CYrlYxiW.js → PandLWithForecastPage-TSoe4Z7F-Ba-yVOXG.js} +3 -3
  151. package/dist/assets/{PandLWithForecastRoutes-D46AftWd.js → PandLWithForecastRoutes-BVdwQZDt.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D-kQI4nd-BXInRRHh.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-CUyIA9r2.js} +1 -1
  153. package/dist/assets/{PeoplePage-BEc-Oss7-CYTf-n47.js → PeoplePage-b5_I0qOw-DAP0N6ei.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-B6Hh54SM.js → PeopleRoutes-CAoitlRn.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-CZK-MKEJ.js → PerformanceRoutes-CC4-ZbOh.js} +1 -1
  156. package/dist/assets/{Preview-Dz6VBJ2u.js → Preview-B3lHkBD5.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-BRo0P4GW-Bx79qkz1.js → ProductsCarousel-C3M0ocdF-CqFoMAuJ.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BrXJEufN-wliyWMwp.js → PromoBaseCards-BOGJI2ws-Bshwoahl.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-BIg9Iais-BhNTbLuP.js → QBOConnectionDialog-CmpnnuzP-D_Utdqzr.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-Dyzyd1p0.js → QBOConnectionScreen-W61uspBL.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-DDoUJ7L6-DQnE3KzF.js → QBOSetupSection-DjnN9dgv-C5X6Mv_4.js} +7 -7
  162. package/dist/assets/{ReferralListScreen-BOWr342j.js → ReferralListScreen-CFqALHvq.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-m5L8sFJ5.js → ReimbursementApprovalRoutes--NBUuqoq.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CP0muUGK-Cd-uHeUo.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-Yh9jnSge.js} +3 -3
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CC5sxHbJ.js → ReimbursementApprovalRuleDetailScreen-Btiyq8yy.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-BpVWq3rk-NVHIG-OE.js → ReimbursementApprovalRulesPage-BsCTIqUJ-Z8SJ2BhB.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-pCg86_Ty-BpFwxhjT.js → ReimbursementDetailPage-BbyxE2uL-BwRKVJZ8.js} +1 -1
  168. package/dist/assets/{ReimbursementPromoPage-BW6icjG5-L-8yyH_M.js → ReimbursementPromoPage-CyEgwqcf-KVfjyHVK.js} +8 -8
  169. package/dist/assets/{ReimbursementRoutes-LUt3h9UV.js → ReimbursementRoutes-B7ZhMTn_.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-B6OhWEWH-B07qbUkS.js → ReimbursementSetUpPage-RETPkEQd-h93k32Yy.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DmDoqEZh-uzEFRQ-S.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-DkzJps2g.js} +1 -1
  172. package/dist/assets/{ReloadCard-DIFXZM9U-DBPBbgAk.js → ReloadCard-Bdoo0XiI-DQ7zH5_b.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-BsIDwouQ-CPsb7qgs.js → ReportTableViewSelector-Bc1K7mU_-DG7CvQgg.js} +5 -5
  174. package/dist/assets/{ReportsPage-BFTuYQt2-DMFsqd7C.js → ReportsPage-BOTHMLWh-DQAZC3St.js} +1 -1
  175. package/dist/assets/{ReportsRoutes-o9bGTZG2.js → ReportsRoutes-DCqEshJz.js} +1 -1
  176. package/dist/assets/{RevenueChart-BoFq3ebd-BKAB0VPm.js → RevenueChart-DvyZ3aO7-B4HMUW1f.js} +12 -12
  177. package/dist/assets/{ReviewDetailsPage-6kCQzaHm-BuMU9buw.js → ReviewDetailsPage-BIMg1n2e-DLbpGZaf.js} +5 -5
  178. package/dist/assets/{ReviewOverlay-Dhb-kL6G-T1Rt0JTi.js → ReviewOverlay-CxwoiOLC-BQk8pdfC.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-BgoAL3gc.js → RewardsRoutes-CSIVaJxq.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-BfM8Ltz4-GXXfeOBC.js → RoleWithToolTip-Ct3_VuDM-CgjPQD6C.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ccewwmwc-DNDpwGYk.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-pNKl0FgE.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-D4LK83qQ-CrubqPOA.js → ScheduleDetailsPage-5FWpLRtd-l5IGOvvZ.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-BZR2cL6z-w_YgKqjP.js → ScheduleSequenceTable-R3-PsXES-DyxPg04Q.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-TOE80oct.js → ScreenRoutes-DIrZFSvZ.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-CxjYbrXu-DQJqTTcH.js → SetUpAccountSection-CctbMmoK-B53PK3Go.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-DiQAnQke.js → SettingsRoutes-D3PUQXPp.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-B44zrHwc.js → SetupPagesScreen-KqbTYQgM.js} +1 -1
  188. package/dist/assets/{SignIn-CVmtPGKL-CXpuQZF7.js → SignIn-CmgmnRm4-CYN0bjHA.js} +8 -8
  189. package/dist/assets/{SignInScreen-C2qODMhD.js → SignInScreen-BDFrycHi.js} +1 -1
  190. package/dist/assets/{SignOutScreen-BuY2-rDM.js → SignOutScreen-CGJ8k7ri.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-BLjP9T8h-Bnkn6BRU.js → SpendManagementListViewPage-CFUxCqkU-BnIDgS6j.js} +8 -8
  192. package/dist/assets/{SpendManagementPerTabPage-Ck4brjun-BbdiQcvt.js → SpendManagementPerTabPage-C-kqNTci-BPWoCLvk.js} +21 -21
  193. package/dist/assets/{SpendManagementSection-DAqR2c98-C5fgGVtc.js → SpendManagementSection-CIz4nE_w-BnkkQIXw.js} +9 -9
  194. package/dist/assets/{StatementItem-B_iG99XI-BDI0UE9q.js → StatementItem-vVtoBN2w-Dv2jVRGi.js} +2 -2
  195. package/dist/assets/{StatementsPage-DcKziEfZ-CpFQ2fm7.js → StatementsPage-As5WOnMR-xJO4oteU.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-BI-dgnrK-esyU6zat.js → StatusSwitcher-Bv-ozN6U-aFxpsrjy.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-BpNI5Wke-DY-WyLZ7.js → SubTabSwitcher-D7QeM6nb-bmup9lZe.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-AojDorqX-Ct3YtoCE.js → SuccessAnimation-hijccO_0-BgS0j6Ks.js} +1 -1
  199. package/dist/assets/{SummaryCard-HW-1WXN9-CoLCJfe-.js → SummaryCard-C2qoTsAY-DD3uQEFW.js} +1 -1
  200. package/dist/assets/{TaskDetailPage-Cwe193JO-NTfqA0n4.js → TaskDetailPage-QMk4DTDK-D5dNR6rN.js} +1 -1
  201. package/dist/assets/{TaskListScreen-pLglWsFm.js → TaskListScreen-BN0d0a63.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-Bz1uP5hK-CpLCNkk4.js → TaskManagementPage-BJwp32Ph-YNf3iBQj.js} +30 -30
  203. package/dist/assets/{TaskRoutes-DnaScSH0.js → TaskRoutes-DEMuiHnC.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-oORYeFzN-D8_bwHZK.js → TimeRangeSwitcher-D00bDDhP-CGwNNnWQ.js} +2 -2
  205. package/dist/assets/{TimeframeSwitcher-JcJSbn0--WBWh3QNc.js → TimeframeSwitcher-DA99HdHt-CKTTRDRO.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-BEZU-KDj-D-7PUQTb.js → TimeframeSwitcherWithToggle-DyggDIQj-DWVBybzM.js} +2 -2
  207. package/dist/assets/{TopExCard-CF6z0JWk-BU77sN9h.js → TopExCard-Z1WabZ8c-DRsgDR4x.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-DrcKlFuy-DtCTyGEZ.js → TopExDetailPage-CzHG4f9E-BM9NWMt3.js} +12 -12
  209. package/dist/assets/{TransactionActivityLogPage-BB4q0jan-Dt9C7u25.js → TransactionActivityLogPage-CGKnjNfU-YIIG-jBr.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-DRG_qosz-CdI1Sif1.js → TransactionDetailPage-1-mLOWSz-CE3-Hi8u.js} +24 -24
  211. package/dist/assets/{TransactionDetailRoutes-LeQoOoop.js → TransactionDetailRoutes-BCnSElc9.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-DmniS92w.js → TransactionDetailScreen-DkbX0oG8.js} +1 -1
  213. package/dist/assets/{TransactionList-iw4pyMYF-BZXHb6ne.js → TransactionList-BB-xoIGm-BeosfrmM.js} +11 -11
  214. package/dist/assets/{TransactionListBig-BljAUwAB-CwuevZBI.js → TransactionListBig-C5Sf5Xh--B6eKIFdx.js} +1 -1
  215. package/dist/assets/TransactionListPage-Cj7h1Ros-SOf7w-b8.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-B0NbfJGc.js → TransactionListRoutes-AdVZSKN8.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DXuYIj-p-BAGVAnze.js → TransactionVendorDetailPage-SsrSOk3O-CHAPTeaE.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-C3q8h8Zy-BoniTEmb.js → TransferDrawerPage-BvKZ7vHF-ITLn4K_S.js} +15 -15
  219. package/dist/assets/{TreasuryOverviewPage-DqjFEV9B-DKLiFiZv.js → TreasuryOverviewPage-DwvjMR4_-BC_r0SvV.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-ByeK0W_5-CSsspYlY.js → TreasuryPromoPage-CtTFvSQW-DMtUAfPQ.js} +14 -14
  221. package/dist/assets/{TreasuryRoutes-RdusD-Rs.js → TreasuryRoutes-CZR8Qztx.js} +1 -1
  222. package/dist/assets/TreasuryStatementsPage-Catz8shX-gsqiZvC2.js +58 -0
  223. package/dist/assets/{TreasuryTaxLetterPage-DwLyqS86-DtzjbSZs.js → TreasuryTaxLetterPage-D8hzCL5o-CxF7_s4J.js} +3 -3
  224. package/dist/assets/{TrendChart-Dgh_21FN-fE4rL1gs.js → TrendChart-Bnp4Pcdf-DAHDBSRg.js} +2 -2
  225. package/dist/assets/{TrendWithTransactions-BgIPapHk-CoxM2wed.js → TrendWithTransactions-3D1FvM8G-D5DfweO8.js} +8 -8
  226. package/dist/assets/{UncategorizedAccountsMappingPage-DIIJcGrj-BjS9g3RO.js → UncategorizedAccountsMappingPage-DbyY-dYB-icxwXrio.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-DIOZhQOZ-BAgYpBnA.js → UnitIntegrationPage-CTzme1te-CKwPezqe.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-qrcEQmkz-Pa5hfJ1q.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-BP-fxZSw.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-C58w6vC7-BNROU96t.js → Vendor2FAPopup-D0zYKkIv-BYJemD3t.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-CXB0C692.js +1 -0
  231. package/dist/assets/{VendorDetailPage-CEQFcNHr-CdHY7Z8F.js → VendorDetailPage-Br9wIOnI-Ui00Vq-Y.js} +12 -12
  232. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-Cvv6-Sl5.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-Dl7jZYBV-D7-yK69r.js → VendorFiling1099EditablePage-himC7iD3-CGMBRb4f.js} +5 -5
  234. package/dist/assets/{VendorFirstReviewPage-yVbtg_tG-DkVJi06p.js → VendorFirstReviewPage-BbknTCBD-x2LuwDBy.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-DNDv_s8G-Bjr44b-O.js → VendorInternationalWireDetailsPage-CS595Xgc-BWEjYBp2.js} +6 -6
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-CRl0YntK.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-Cscbgqrx-Bo3Iqcup.js → VendorsAccountsSection-CgSJu8wq-BJswZIIA.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-SOKeFy8n.js → VendorsRoutes-05ainu55.js} +1 -1
  239. package/dist/assets/{VerifyDevice-D1vsUSdJ-DgLDroCx.js → VerifyDevice-Dvf0JsNN-BxFzBfzQ.js} +5 -5
  240. package/dist/assets/{VideoPlayer-TlEy-oD0-u3_il_Y_.js → VideoPlayer-VAzOGCDL-C6P1MPmA.js} +1 -1
  241. package/dist/assets/{VideoPopup-3DD646kG-DAIfDEuP.js → VideoPopup-BqvZ-XIh-tpbto8Y7.js} +4 -4
  242. package/dist/assets/{WiseConfirmationScreen-DH4LFnlh.js → WiseConfirmationScreen-D-O-AEQg.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-BbsXzuHD-D5t6KpKy.js → ZeniAccountDetailPage-GcwTJdB8-CtCTcpCW.js} +14 -14
  244. package/dist/assets/{ZeniAccountListViewPage-lmuVUpKS-BoKhHVdj.js → ZeniAccountListViewPage-CdwO0Duy-BDSbkpkS.js} +24 -24
  245. package/dist/assets/{ZeniAccountNavBarPieces-CQhwBKXD-w44Ezq7c.js → ZeniAccountNavBarPieces-BrSIfL36--BCCJ_B2.js} +1 -1
  246. package/dist/assets/{ZeniAccountPromoPage-CXEb9tRE-Clp7jZPs.js → ZeniAccountPromoPage-JrcedQYB-Dn7j6upG.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-DFjwyu_L.js → ZeniAccountRoutes-C1DKaJoc.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-DPhYQu6u-CIYZ11Sw.js → ZeniAccountSetupPage-TKBfbgzJ-BqZbSZu7.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-C6QxYG3m.js → ZeniAccountStatementScreen-mRCX19Ut.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-CCOD249Z-aNjy2A_h.js → ZeniAvatar-Bzhq25CU-B22YVvLm.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-pvaggW6x-CiSnJmIZ.js → ZeniCopyright-DglqrTpl-DIGaFEv0.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-EhzRlpFY-CeeUTfjC.js → ZeniDatePicker-BHXPxPnI-vwmLROHK.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-Dlyom9dD-ssTMZPmj.js → ZeniTransferAmountSlider-BcaZZuAw-9zrzQe1V.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-BiN37Afq.js → accountMappingHelper-GPi0oD1D.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-CPiuqV_c.js → add-to-wallet-DgdBD8_G-0ekd9-Ri.js} +1 -1
  256. package/dist/assets/{analytics-wdo9XAAq.js → analytics-B2Q_uKwH.js} +1 -1
  257. package/dist/assets/{analyticsHelper-AeOsAjMK-BGRykG4C.js → analyticsHelper-CAYdbjhS-TiCqBFHc.js} +1 -1
  258. package/dist/assets/{analyticsHelper-DCVh2Q2D.js → analyticsHelper-eqJrrWmY.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-Cha4vEKb.js → arrow-south-east-round-PEovUgvH-DvoAU7mY.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-BOscmwTD.js → auto-transfer-rule-mbafm5D3-VBx9t_qo.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-Cy0EjR0N.js → avatar-Dz7aEm3d-ZI3JCtk7.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-Dipf9hW8.js → bank-letter-BOcVjN6J-Dws2Kxmd.js} +1 -1
  263. package/dist/assets/{calculateSize-D-LzlJzs-DzScwWaZ.js → calculateSize-B2w5JPEU-BiAuCFz-.js} +1 -1
  264. package/dist/assets/{chartTypes-BLsP7rGF-Da9uYAcr.js → chartTypes-CD3vrBsI-D1eLb6aA.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-CnqntmQY.js → clock-CJkylEKt-CwvCI5hq.js} +1 -1
  266. package/dist/assets/common-BpxEACHl-D-qMuYEn.js +1 -0
  267. package/dist/assets/{commonDimensions-DIm7kTtR-BvbgEdIW.js → commonDimensions-Oz1tdAcx-6qsjkus3.js} +1 -1
  268. package/dist/assets/{commonTypes-B3mnx2x_-DYgG7K13.js → commonTypes-5tEXwrX4-0afSAZ02.js} +1 -1
  269. package/dist/assets/{core-BcVj2gTX.js → core-D9P6lLF-.js} +1 -1
  270. package/dist/assets/{dash.all.min-C98tiWV1.js → dash.all.min-CrF9T_sg.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-ClJHrrjv.js → decodeURIComponentSafe-BA7ebd4J.js} +1 -1
  272. package/dist/assets/{dnd-eXDjf6Lj.js → dnd-nSkfhkrX.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-B8-M7Nzo.js → dollar-round-D18u7nlm-DJ7jjz8a.js} +1 -1
  274. package/dist/assets/{downloadPdf-B5WrL0K1-CyBUyeC8.js → downloadPdf-Dsuxeias-DgqgIEmy.js} +1 -1
  275. package/dist/assets/{empty-wYUB3tSo.js → empty-BM1tlym1.js} +1 -1
  276. package/dist/assets/{empty-C4qv3p9z.js → empty-DqDGRwQI.js} +1 -1
  277. package/dist/assets/{epic-BQcpQKad.js → epic-C-GRNY0z.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-BvpfZxhV.js → filter-cZIFUNvj-CnTMsRoA.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-Cgh9LbcE.js → getLocaleForTenant-D_kHTEKc.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-DmzAN1Y2.js → gift-box-Cmt9OgIZ-CmbTqYsU.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-C2w81gyO.js → graphic-no-data-l-DU4J8fDt-qX4MU25I.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-B9Kj_9xA.js → graphic-no-data-net-burn-l-CzmycA0m-eyhdhwsy.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-C5EsxlDc.js → handshake-BPg58FML-Dy9hpFzO.js} +1 -1
  284. package/dist/assets/{helper-BVESv00--CCWSdc0u.js → helper-Ckm10Uko-Cft993Iq.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-B8GMs2Qi.js → hyperlink-DQyCeXx2-ClAJPTpW.js} +1 -1
  286. package/dist/assets/{index-Lqpf6Iwl.js → index-BGoNZK9J.js} +1 -1
  287. package/dist/assets/{index-DlrbNfLu.js → index-BHx-AV13.js} +1 -1
  288. package/dist/assets/{index-DxRPAtdN.js → index-BoyH9PC5.js} +1 -1
  289. package/dist/assets/{index-Bnlx-O7K.js → index-C6CSTWn-.js} +1 -1
  290. package/dist/assets/{index-CDsOcKsG.js → index-CAltUZe8.js} +6 -6
  291. package/dist/assets/{index-CHxhGC-k.js → index-D3FWjv6R.js} +1 -1
  292. package/dist/assets/{lexical-DEeAev9O.js → lexical-Ct6cBwR8.js} +1 -1
  293. package/dist/assets/{liveblocks-BAIL303h.js → liveblocks-DxIK6Zp5.js} +1 -1
  294. package/dist/assets/{lottie-DP5A4Fs7.js → lottie-BEhoArVd.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-D0bSM41h.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BIiMj0sc-BSyDfjzw.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-Bqo33gCA.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-CaUrNev8.js +1 -0
  298. package/dist/assets/{mapTimeframeBalancesToTreeNode-CyO5pm8k-_jPUKmdI.js → mapTimeframeBalancesToTreeNode-Bre8FfBF-CPTPOyt7.js} +1 -1
  299. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-BwgfCZTt.js +1 -0
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-n_XJX95T.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Cw5QJbW7.js} +1 -1
  301. package/dist/assets/{media-player-Bc98lKB5.js → media-player-CsDObYZE.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-DIu_vl7e.js → money-2cg1MuG4-CTFLBPxC.js} +1 -1
  303. package/dist/assets/{mui-hn9thxzh.js → mui-CMSRVFAm.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-6zbdwm2S.js → page-detail-CWX5S47F-D71KSTNS.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-BOxy1JzR.js → page-summary-D7_VQHwN-C0Gmkrf2.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-B7PwrSV9.js → panelSelectedMixin-Cddsb26L-CzLNMPbQ.js} +1 -1
  307. package/dist/assets/{pathToGoBack-CQ5L4Qtj.js → pathToGoBack-Blub25Cp.js} +1 -1
  308. package/dist/assets/{pdf-Cs-mh77O.js → pdf-Be2WBqYM.js} +3 -3
  309. package/dist/assets/{pdf-lib-sBkKqPTU.js → pdf-lib-CnVZquuu.js} +1 -1
  310. package/dist/assets/{plaid-NpQK5k22.js → plaid-BfI3x5Cu.js} +1 -1
  311. package/dist/assets/{pusher-DWT0gMh9.js → pusher-B6_CsVbZ.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-CFx63U5w.js → radio-default-CiSgisfh-B-boFyAl.js} +1 -1
  313. package/dist/assets/{react-CDpJbt9S.js → react-BHFS79hd.js} +1 -1
  314. package/dist/assets/{react-C6SHTtsh.js → react-BU_9CVSX.js} +3 -3
  315. package/dist/assets/{react-D2TGyR4z.js → react-BpE8-YB1.js} +1 -1
  316. package/dist/assets/{react-xLLMyMiK.js → react-C0Y1QuQQ.js} +1 -1
  317. package/dist/assets/{react-D8Ql5Ir3.js → react-C8t61nFI.js} +1 -1
  318. package/dist/assets/{react-GYK8-ald.js → react-D-1D0x0x.js} +1 -1
  319. package/dist/assets/{react-BTmu8DG-.js → react-Df07f_EQ.js} +1 -1
  320. package/dist/assets/{react-D7EJTKAr.js → react-DoqYYGGT.js} +1 -1
  321. package/dist/assets/{recharts-B4dFoR35.js → recharts-gT6BOz1b.js} +1 -1
  322. package/dist/assets/{routePaths-C-_oCckx.js → routePaths-C2kSZwVH.js} +1 -1
  323. package/dist/assets/{sentry-BkPUuNvL.js → sentry-DQeYyYXx.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-aMF7hqRR.js → shield-DOlUxcFf-CtwAmezy.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-C-17E3uX.js → spend-limit-D6SyboD4-DgU5KXwN.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-aLNB35t7-Bbjw8HZY.js +1 -0
  327. package/dist/assets/{toChartData-BkubFDq8-CRAS8Brl.js → toChartData-DUL6vnzJ-Dwc3foiO.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-B2H47PYQ.js → transaction-placeholder-CpOwZAMG-EsW3Q-dq.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-DnfqwuXr.js → undo-b_3XZ5CX-vDqRNZiv.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-PO6XR31-.js → unlock-BPWn2I5L-DrFYUkdQ.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CkquQ_GZ.js → upload-reimbursement-receipt-O2N8vcO7-DJbY_Oz2.js} +1 -1
  332. package/dist/assets/{uploadAttachment-CzgakLtr-w-CpO5ZH.js → uploadAttachment-Ck4wivBR-es3sSFtr.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-DItV8z0n.js → uploadReceipts-CIgkuVpu-IBEc_jc1.js} +1 -1
  334. package/dist/assets/{url-Bagborol.js → url-DabKyEXg.js} +1 -1
  335. package/dist/assets/{url-DmgUP0mV.js → url-Doy-Mf6X.js} +1 -1
  336. package/dist/assets/{useDeviceId-eLv7tFR4.js → useDeviceId-Dx8RlRsA.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-BQU3Jo1E.js → useInitialThreadRequest-Bxf1X7cu.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-Cftpm8Z6.js → useLongPress-GCK2COYQ-CW7ST8rN.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-D_M71co8.js → usp-line-BBd1wKwW-Crs-gA1B.js} +1 -1
  340. package/dist/assets/{utils-DkgigH7S.js → utils-BAO5KfNy.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-H3IbO2pr.js → withTransactionSidePanel-FcH3ZlAj.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-CsRsIUwY.js → zeni-epic-state-CHpO1ZKT.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-QItZ_P8a.js → zeni-icon-only-4nFle2Fz.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/AccountInfoPage-Cz9yoVl8-i4SdDCSW.js +0 -18
  347. package/dist/assets/AccountInfoPageContent-j85psx_A-DeBCdl3d.js +0 -149
  348. package/dist/assets/BillPayApprovalRuleDetailPage-C_REwEVS-B1_RM9n8.js +0 -27
  349. package/dist/assets/ChargeCardPromoPage-CKl6K-nr-DW3UNOti.js +0 -222
  350. package/dist/assets/CustomerOnboardingAuthScreen-D7hLcvD9.js +0 -1
  351. package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-t-Qqzm11.js +0 -1
  352. package/dist/assets/EntityDetailPage-D8FzsqNk-a6QKQbsr.js +0 -18
  353. package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-yzbitn8u.js +0 -1
  354. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-CyHS18r2.js +0 -1
  355. package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-EDVvFAle.js +0 -1
  356. package/dist/assets/MailingDetailsSection-BNVPaGFt-BxMdrzgd.js +0 -21
  357. package/dist/assets/TransactionListPage-ReGTmF43-3dryvOZg.js +0 -35
  358. package/dist/assets/TreasuryStatementsPage-BjGwvMFL-rl7Xwq3o.js +0 -58
  359. package/dist/assets/VendorACHDetailsPage-BbxRwrEv-Bd-GOuTM.js +0 -1
  360. package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-B_msRt77.js +0 -1
  361. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-DHmy9Qnb.js +0 -1
  362. package/dist/assets/common-CAmBErdt-mQeN1s1o.js +0 -1
  363. package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-CqHpAmA4.js +0 -1
  364. package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-BQdWgZ0d.js +0 -1
  365. package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-BqlDWqT_.js +0 -1
  366. package/dist/assets/toCOABalancesWithID-BWMF0py6-COMd_TR_.js +0 -1
@@ -1,4 +1,4 @@
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 Fn,cO as Zi,O as N,m as C,cP as qt,bE as Qt,cQ as Jt,x as E,cs as Xt,_ as en,E 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,j as Te,cR as Xi,cS as se,bD as tn,bu as zn,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 Je,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-CDsOcKsG.js";import{n as a,c as z}from"./mui-hn9thxzh.js";import{a as V,b as mr}from"./sentry-BkPUuNvL.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-CsRsIUwY.js";import{N as ct,D as kr,R as jr,B as ve,u as A}from"./AccountRow-DEtntSrL-0u2oxgMR.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]="b76a91c4-4066-41bc-9f73-6fd211eb8ca4",e._sentryDebugIdIdentifier="sentry-dbid-b76a91c4-4066-41bc-9f73-6fd211eb8ca4")}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-CAltUZe8.js";import{n as a,c as F}from"./mui-CMSRVFAm.js";import{a as V,b as mr}from"./sentry-DQeYyYXx.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-CHpO1ZKT.js";import{N as ct,D as kr,R as jr,B as ve,u as A}from"./AccountRow-D1cjRJJD--D2oyMqA.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%;
@@ -65,7 +65,7 @@ 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,a
65
65
  flex-direction: row;
66
66
  height: ${e=>e.heightValue}px;
67
67
  padding-right: ${A.wrapperPadding}px;
68
- `;function Pr({height:e}){return t.jsx(Wr,{heightValue:e})}const Fr=a.div`
68
+ `;function Pr({height:e}){return t.jsx(Wr,{heightValue:e})}const zr=a.div`
69
69
  user-select: none;
70
70
  display: flex;
71
71
  width: 100%;
@@ -73,7 +73,7 @@ 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,a
73
73
  background-color: ${e=>e.bgColor?.hex()};
74
74
  flex-direction: column;
75
75
  padding-right: ${A.wrapperPadding}px;
76
- `,zr=a.div`
76
+ `,Fr=a.div`
77
77
  flex: 1 1 auto;
78
78
  display: flex;
79
79
  align-items: center;
@@ -125,16 +125,16 @@ 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,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(Fr,{height:n,children:t.jsxs(zr,{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,b as y,cM as Yi,o as s,f 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;
@@ -269,7 +269,7 @@ 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,a
269
269
  background-color: ${e=>e.theme.colors.grey4};
270
270
  width: ${e=>H.titleWidth.valuePx(e.windowSize)};
271
271
  max-width: ${e=>H.titleWidth.valuePx(e.windowSize)};
272
- ${({isSticky:e})=>e?z`
272
+ ${({isSticky:e})=>e?F`
273
273
  position: -webkit-sticky;
274
274
  position: sticky;
275
275
  top: ${s.sp0};
@@ -310,12 +310,12 @@ 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,a
310
310
  &:hover {
311
311
  color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
312
312
  }
313
- `,Fo=a.div`
313
+ `,zo=a.div`
314
314
  display: flex;
315
315
  flex: 1 0 auto;
316
316
  flex-direction: row;
317
317
  justify-content: flex-end;
318
- `,zo=a.div`
318
+ `,Fo=a.div`
319
319
  display: flex;
320
320
  flex-direction: row;
321
321
  justify-content: flex-start;
@@ -350,7 +350,7 @@ 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,a
350
350
  width: ${e=>H.titleWidth.valuePx(e.windowSize)};
351
351
  max-width: ${e=>H.titleWidth.valuePx(e.windowSize)};
352
352
  background-color: ${e=>e.bgColor?.hex()};
353
- ${({isSticky:e})=>e?z`
353
+ ${({isSticky:e})=>e?F`
354
354
  position: sticky;
355
355
  top: ${s.sp0};
356
356
  left: ${s.sp0};
@@ -360,7 +360,7 @@ 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,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(zo,{children:t.jsx(To,{isClickable:!1,onClick:()=>null,children:Z("0,0",o)})})},Eo=({total:e})=>t.jsx(zo,{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(Fo,{"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(Fo,{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;
@@ -400,7 +400,7 @@ 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,a
400
400
  text-align: center;
401
401
  column-gap: ${s.sp1};
402
402
  color: ${e=>e.active===!0?e.theme.colors.primary:e.theme.colors.champion};
403
- `,Fa=a.div`
403
+ `,za=a.div`
404
404
  max-height: ${s.sp8};
405
405
  min-height: ${s.sp8};
406
406
  display: flex;
@@ -409,13 +409,13 @@ 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,a
409
409
  min-width: ${e=>H.titleWidth.valuePx(e.windowSize)};
410
410
  color: ${e=>e.theme.colors.primary};
411
411
  background-color: ${e=>e.bgColor?.hex()};
412
- ${e=>e.isSticky?z`
412
+ ${e=>e.isSticky?F`
413
413
  position: -webkit-sticky;
414
414
  position: sticky;
415
415
  top: ${s.sp0};
416
416
  left: ${s.sp0};
417
417
  `:""}
418
- `,za=a(_)`
418
+ `,Fa=a(_)`
419
419
  display: flex;
420
420
  align-items: center;
421
421
  cursor: pointer;
@@ -442,7 +442,7 @@ 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,a
442
442
  `,fn=a(on)`
443
443
  width: 12px;
444
444
  height: 12px;
445
- `,Ta=({reportId:e,sortKey:n,sortOrder:o="ascending",onSortOrderChanged:i})=>{const r=e==="accounts_payable_aging"?"vendor":"customer",l=n===r?o:"ascending";return t.jsxs(za,{active:n===r,"data-testid":y("duration-row-vendor-title",e),children:[r==="vendor"?N.getLocalizedStrings().reports.aging.apAging.vendor:N.getLocalizedStrings().reports.aging.arAging.customer,t.jsx(gn,{selectedForSort:n===r,children:t.jsx(Yo,{"data-testid":y("duration-row-vendor-sort-icon",e),onClick:()=>{i?.(mn(o),r)},children:l==="ascending"?t.jsx(fn,{}):t.jsx(xn,{})})}),t.jsx(st,{controller:n===r,children:t.jsx(Uo,{"data-testid":y("duration-row-vendor-sort-cancel-icon",e),onClick:()=>Zo({onSortOrderChanged:i})})})]})},Zo=({onSortOrderChanged:e})=>{e?.("descending","total")},Va=({agingPeriod:e,sortKey:n="vendor",sortOrder:o="ascending",onSortOrderChanged:i})=>{const r=n===e?o:"ascending";return t.jsx(Ko,{"data-testid":y("duration-row-tick-container",e),children:t.jsx(Ro,{"data-testid":y("duration-row-tick-element-container",e),children:t.jsxs(Ho,{active:n===e,"data-testid":y("duration-row-timeframe-tick",e),children:[N.getLocalizedStrings().reports.aging.duration[e],t.jsxs(gn,{selectedForSort:n===e,"data-testid":y("duration-row-sort-container",e),children:[t.jsx(Yo,{"data-testid":y("duration-row-sort-icon",e),onClick:()=>{i?.(mn(o),e)},children:r==="ascending"?t.jsx(fn,{}):t.jsx(xn,{})}),t.jsx(st,{controller:n===e,children:t.jsx(Uo,{"data-testid":y("duration-row-sort-cancel-icon",e),onClick:()=>Zo({onSortOrderChanged:i})})})]})]})})})},qo=({reportId:e,sortKey:n,sortOrder:o="ascending",onSortOrderChanged:i})=>{const r=n==="total"?o:"ascending";return t.jsx(Ko,{"data-testid":y("duration-row-entity-total-tick-container",e),onClick:()=>{i?.(mn(o),"total")},children:t.jsx(Ro,{"data-testid":y("duration-row-entity-total-tick-element-container",e),children:t.jsxs(Ho,{active:n==="total","data-testid":y("duration-row-entity-total-timeframe-tick",e),children:[e==="accounts_payable_aging"?N.getLocalizedStrings().reports.aging.apAging.vendorTotalHeaderLabel:N.getLocalizedStrings().reports.aging.arAging.totalReceivable,t.jsx(gn,{selectedForSort:n==="total","data-testid":y("duration-row-entity-total-sort-container",e),children:r==="ascending"?t.jsx(fn,{}):t.jsx(xn,{})})]})})})},Da=({reportId:e,agingPeriod:n,sortKey:o="vendor",sortOrder:i="ascending",onSortOrderChanged:r})=>n!=null?t.jsx(Va,{sortKey:o,sortOrder:i,onSortOrderChanged:r,agingPeriod:n}):t.jsx(qo,{reportId:e,sortKey:o,sortOrder:i,onSortOrderChanged:r});function Ea({reportId:e,isSticky:n,height:o,agingPeriods:i,sortKey:r,sortOrder:l,backgroundColor:c,onSortOrderChanged:d}){const p=W();return t.jsxs(Wa,{height:o,bgColor:c,"data-testid":y("duration-row-root-container",e),children:[t.jsx(Fa,{"data-testid":y("duration-row-placeholder-name",e),isSticky:n,windowSize:p,bgColor:c,children:t.jsx(Ta,{reportId:e,sortKey:r,sortOrder:l,onSortOrderChanged:d})}),t.jsxs(Pa,{children:[i.map(u=>t.jsx(Da,{reportId:e,agingPeriod:u,sortKey:r,sortOrder:l,onSortOrderChanged:d},u)),t.jsx(qo,{reportId:e,sortKey:r,sortOrder:l,onSortOrderChanged:d})]})]})}const mn=e=>e==="ascending"?"descending":"ascending",Ga=[10,14,20,20,20],Ra=a.div`
445
+ `,Ta=({reportId:e,sortKey:n,sortOrder:o="ascending",onSortOrderChanged:i})=>{const r=e==="accounts_payable_aging"?"vendor":"customer",l=n===r?o:"ascending";return t.jsxs(Fa,{active:n===r,"data-testid":y("duration-row-vendor-title",e),children:[r==="vendor"?N.getLocalizedStrings().reports.aging.apAging.vendor:N.getLocalizedStrings().reports.aging.arAging.customer,t.jsx(gn,{selectedForSort:n===r,children:t.jsx(Yo,{"data-testid":y("duration-row-vendor-sort-icon",e),onClick:()=>{i?.(mn(o),r)},children:l==="ascending"?t.jsx(fn,{}):t.jsx(xn,{})})}),t.jsx(st,{controller:n===r,children:t.jsx(Uo,{"data-testid":y("duration-row-vendor-sort-cancel-icon",e),onClick:()=>Zo({onSortOrderChanged:i})})})]})},Zo=({onSortOrderChanged:e})=>{e?.("descending","total")},Va=({agingPeriod:e,sortKey:n="vendor",sortOrder:o="ascending",onSortOrderChanged:i})=>{const r=n===e?o:"ascending";return t.jsx(Ko,{"data-testid":y("duration-row-tick-container",e),children:t.jsx(Ro,{"data-testid":y("duration-row-tick-element-container",e),children:t.jsxs(Ho,{active:n===e,"data-testid":y("duration-row-timeframe-tick",e),children:[N.getLocalizedStrings().reports.aging.duration[e],t.jsxs(gn,{selectedForSort:n===e,"data-testid":y("duration-row-sort-container",e),children:[t.jsx(Yo,{"data-testid":y("duration-row-sort-icon",e),onClick:()=>{i?.(mn(o),e)},children:r==="ascending"?t.jsx(fn,{}):t.jsx(xn,{})}),t.jsx(st,{controller:n===e,children:t.jsx(Uo,{"data-testid":y("duration-row-sort-cancel-icon",e),onClick:()=>Zo({onSortOrderChanged:i})})})]})]})})})},qo=({reportId:e,sortKey:n,sortOrder:o="ascending",onSortOrderChanged:i})=>{const r=n==="total"?o:"ascending";return t.jsx(Ko,{"data-testid":y("duration-row-entity-total-tick-container",e),onClick:()=>{i?.(mn(o),"total")},children:t.jsx(Ro,{"data-testid":y("duration-row-entity-total-tick-element-container",e),children:t.jsxs(Ho,{active:n==="total","data-testid":y("duration-row-entity-total-timeframe-tick",e),children:[e==="accounts_payable_aging"?N.getLocalizedStrings().reports.aging.apAging.vendorTotalHeaderLabel:N.getLocalizedStrings().reports.aging.arAging.totalReceivable,t.jsx(gn,{selectedForSort:n==="total","data-testid":y("duration-row-entity-total-sort-container",e),children:r==="ascending"?t.jsx(fn,{}):t.jsx(xn,{})})]})})})},Da=({reportId:e,agingPeriod:n,sortKey:o="vendor",sortOrder:i="ascending",onSortOrderChanged:r})=>n!=null?t.jsx(Va,{sortKey:o,sortOrder:i,onSortOrderChanged:r,agingPeriod:n}):t.jsx(qo,{reportId:e,sortKey:o,sortOrder:i,onSortOrderChanged:r});function Ea({reportId:e,isSticky:n,height:o,agingPeriods:i,sortKey:r,sortOrder:l,backgroundColor:c,onSortOrderChanged:d}){const p=W();return t.jsxs(Wa,{height:o,bgColor:c,"data-testid":y("duration-row-root-container",e),children:[t.jsx(za,{"data-testid":y("duration-row-placeholder-name",e),isSticky:n,windowSize:p,bgColor:c,children:t.jsx(Ta,{reportId:e,sortKey:r,sortOrder:l,onSortOrderChanged:d})}),t.jsxs(Pa,{children:[i.map(u=>t.jsx(Da,{reportId:e,agingPeriod:u,sortKey:r,sortOrder:l,onSortOrderChanged:d},u)),t.jsx(qo,{reportId:e,sortKey:r,sortOrder:l,onSortOrderChanged:d})]})]})}const mn=e=>e==="ascending"?"descending":"ascending",Ga=[10,14,20,20,20],Ra=a.div`
446
446
  display: flex;
447
447
  flex: 1 1 auto;
448
448
  width: fit-content;
@@ -462,11 +462,11 @@ 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,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};
@@ -484,7 +484,7 @@ 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,a
484
484
  width: ${e=>H.titleWidth.valuePx(e.windowSize)};
485
485
  max-width: ${e=>H.titleWidth.valuePx(e.windowSize)};
486
486
  background-color: ${e=>e.bgColor?.hex()};
487
- ${({isSticky:e})=>e?z`
487
+ ${({isSticky:e})=>e?F`
488
488
  position: sticky;
489
489
  top: ${s.sp0};
490
490
  left: ${s.sp0};
@@ -500,7 +500,7 @@ 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,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;
@@ -542,12 +542,12 @@ 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,a
542
542
  width: ${e=>H.titleWidth.valuePx(e.windowSize)};
543
543
  max-width: ${e=>H.titleWidth.valuePx(e.windowSize)};
544
544
  background-color: ${e=>e.bgColor?.hex()};
545
- ${({isSticky:e,isIndented:n})=>e&&n?z`
545
+ ${({isSticky:e,isIndented:n})=>e&&n?F`
546
546
  position: -webkit-sticky;
547
547
  position: sticky;
548
548
  top: ${s.sp0};
549
549
  left: ${s.sp4};
550
- `:e&&!n?z`
550
+ `:e&&!n?F`
551
551
  position: -webkit-sticky;
552
552
  position: sticky;
553
553
  top: ${s.sp0};
@@ -619,7 +619,7 @@ 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,a
619
619
  color: ${e=>e.theme.colors.hero};
620
620
  max-width: ${e=>Pe.titleWidth.valuePx(e.windowSize)};
621
621
  background-color: ${e=>e.bgColor?.hex()};
622
- ${({isSticky:e})=>e?z`
622
+ ${({isSticky:e})=>e?F`
623
623
  position: -webkit-sticky;
624
624
  position: sticky;
625
625
  top: ${s.sp0};
@@ -654,7 +654,7 @@ 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,a
654
654
  flex: 1 0 auto;
655
655
  flex-direction: row;
656
656
  justify-content: flex-end;
657
- `,Fl=a.div`
657
+ `,zl=a.div`
658
658
  display: flex;
659
659
  flex-direction: row;
660
660
  justify-content: flex-start;
@@ -665,7 +665,7 @@ 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,a
665
665
  min-width: ${j.balanceWidth};
666
666
  text-align: right;
667
667
  margin-left: ${j.balanceLeftMargin};
668
- `,zl=a.div`
668
+ `,Fl=a.div`
669
669
  display: flex;
670
670
  flex-direction: row;
671
671
  flex-shrink: 2;
@@ -674,7 +674,7 @@ 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,a
674
674
  width: ${e=>j.titleWidth.valuePx(e.windowSize)};
675
675
  max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
676
676
  background-color: ${e=>e.bgColor?.hex()};
677
- ${({isSticky:e})=>e?z`
677
+ ${({isSticky:e})=>e?F`
678
678
  position: -webkit-sticky;
679
679
  position: sticky;
680
680
  top: ${s.sp0};
@@ -690,7 +690,7 @@ 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,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(Fl,{"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(zl,{"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;
@@ -715,11 +715,12 @@ 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,a
715
715
  background-color: ${e=>e.theme.colors.grey4};
716
716
  width: ${e=>j.titleWidth.valuePx(e.windowSize)};
717
717
  max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
718
- ${({isSticky:e})=>e?z`
718
+ ${({isSticky:e})=>e?F`
719
719
  position: -webkit-sticky;
720
720
  position: sticky;
721
721
  top: ${s.sp0};
722
722
  left: ${s.sp0};
723
+ z-index: 20;
723
724
  `:null}
724
725
  `,Kl=a.div`
725
726
  width: ${e=>e.noMarginForAccount?nt[e.nestingLevel].value(e.windowSize)-C[5]:nt[e.nestingLevel].value(e.windowSize)}px;
@@ -746,7 +747,7 @@ 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,a
746
747
  flex: 1 1 auto;
747
748
  max-height: 1px;
748
749
  background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
749
- `,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`
750
751
  display: flex;
751
752
  flex: 1 1 auto;
752
753
  width: fit-content;
@@ -877,7 +878,7 @@ 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,a
877
878
  max-width: ${e=>G.titleWidth.valuePx(e.windowSize)};
878
879
  background-color: ${e=>e.bgColor?.hex()};
879
880
  color: ${e=>e.hasNonZeroBalance===!0?e.theme.colors.primary:e.theme.colors.hero};
880
- ${({isSticky:e})=>e?z`
881
+ ${({isSticky:e})=>e?F`
881
882
  position: -webkit-sticky;
882
883
  position: sticky;
883
884
  top: ${s.sp0};
@@ -892,7 +893,7 @@ 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,a
892
893
  text-overflow: ellipsis;
893
894
  text-align: left;
894
895
  margin-left: ${s.sp2};
895
- `,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`
896
897
  display: flex;
897
898
  flex: 1 1 auto;
898
899
  width: fit-content;
@@ -939,7 +940,7 @@ 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,a
939
940
  width: ${e=>G.titleWidth.valuePx(e.windowSize)};
940
941
  max-width: ${e=>G.titleWidth.valuePx(e.windowSize)};
941
942
  background-color: ${e=>e.bgColor?.hex()};
942
- ${({isSticky:e})=>e?z`
943
+ ${({isSticky:e})=>e?F`
943
944
  position: -webkit-sticky;
944
945
  position: sticky;
945
946
  top: ${s.sp0};
@@ -955,7 +956,7 @@ 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,a
955
956
  text-align: left;
956
957
  margin-left: 35px;
957
958
  color: ${e=>e.theme.colors.hero};
958
- `,_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`
959
960
  display: flex;
960
961
  flex: 1 1 auto;
961
962
  width: fit-content;
@@ -975,7 +976,7 @@ 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,a
975
976
  flex: 1 0 auto;
976
977
  flex-direction: row;
977
978
  justify-content: flex-end;
978
- `,Qn=a.div`
979
+ `,Jn=a.div`
979
980
  display: flex;
980
981
  flex-direction: row;
981
982
  justify-content: flex-start;
@@ -985,7 +986,7 @@ 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,a
985
986
  min-width: ${G.balanceWidth};
986
987
  text-align: right;
987
988
  margin-left: ${G.balanceLeftMargin};
988
- `,Jn=a(_)`
989
+ `,Qn=a(_)`
989
990
  user-select: none;
990
991
  max-width: ${G.balanceWidth};
991
992
  min-width: ${G.balanceWidth};
@@ -1005,7 +1006,7 @@ 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,a
1005
1006
  width: ${e=>G.titleWidth.valuePx(e.windowSize)};
1006
1007
  max-width: ${e=>G.titleWidth.valuePx(e.windowSize)};
1007
1008
  background-color: ${e=>e.bgColor?.hex()};
1008
- ${({isSticky:e})=>e?z`
1009
+ ${({isSticky:e})=>e?F`
1009
1010
  position: -webkit-sticky;
1010
1011
  position: sticky;
1011
1012
  top: ${s.sp0};
@@ -1021,7 +1022,7 @@ 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,a
1021
1022
  text-overflow: ellipsis;
1022
1023
  text-align: left;
1023
1024
  margin-left: ${s.sp2};
1024
- `,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(Fc,{isScrolling:p,isLeaf:g,isOpen:u})]})}function Fc({isScrolling:e,isLeaf:n,isOpen:o}){return n||!o?t.jsx(yn,{isScrolling:e,kind:"section_row_separator"}):null}const zc=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`
1025
1026
  display: flex;
1026
1027
  flex: 1 1 auto;
1027
1028
  width: fit-content;
@@ -1066,7 +1067,7 @@ 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,a
1066
1067
  width: ${e=>G.titleWidth.valuePx(e.windowSize)};
1067
1068
  max-width: ${e=>G.titleWidth.valuePx(e.windowSize)};
1068
1069
  background-color: ${e=>e.bgColor?.hex()};
1069
- ${({isSticky:e})=>e?z`
1070
+ ${({isSticky:e})=>e?F`
1070
1071
  position: -webkit-sticky;
1071
1072
  position: sticky;
1072
1073
  top: ${s.sp0};
@@ -1088,7 +1089,7 @@ 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,a
1088
1089
  text-align: right;
1089
1090
  margin-left: ${G.balanceLeftMargin};
1090
1091
  color: ${e=>e.theme.colors.brandColorJadeDark};
1091
- `,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(zc,{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`
1092
1093
  display: flex;
1093
1094
  flex: 1 1 auto;
1094
1095
  height: 1px;
@@ -1099,14 +1100,14 @@ 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,a
1099
1100
  background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
1100
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`
1101
1102
  position: relative;
1102
- `,Qc=a.div`
1103
+ `,Jc=a.div`
1103
1104
  height: ${e=>e.height}px;
1104
1105
  border-left: 1px solid ${e=>e.theme.colors.grey1};
1105
1106
  width: 1px;
1106
1107
  `;a.div`
1107
1108
  height: 39px;
1108
1109
  width: 2px;
1109
- `;const Jc=a.div`
1110
+ `;const Qc=a.div`
1110
1111
  position: relative;
1111
1112
  margin-right: ${s.sp3};
1112
1113
  &::after {
@@ -1135,7 +1136,7 @@ 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,a
1135
1136
  border-left: 1px solid ${e=>e.theme.colors.grey1};
1136
1137
  margin-bottom: ${e=>e.height}px;
1137
1138
  width: 1px;
1138
- `,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,Fe=128,to=168,ze="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`
1139
1140
  display: flex;
1140
1141
  flex-shrink: 0;
1141
1142
  width: ${gt};
@@ -1199,7 +1200,7 @@ 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,a
1199
1200
  width: ${eo};
1200
1201
  max-width: ${eo};
1201
1202
  padding-left: 67.5px;
1202
- ${({isSticky:e})=>e?z`
1203
+ ${({isSticky:e})=>e?F`
1203
1204
  position: sticky;
1204
1205
  top: ${s.sp0};
1205
1206
  left: ${s.sp0};
@@ -1264,7 +1265,7 @@ 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,a
1264
1265
  display: flex;
1265
1266
  flex: 1;
1266
1267
  justify-content: flex-end;
1267
- `,_s=({isBalanceRowFirstNode:e=!1,balance:n})=>{const o=n!=null;return t.jsxs(yi,{children:[e?t.jsx(bi,{}):null,t.jsx(xs,{children:t.jsx(fs,{isClickable:o,children:q(n)})})]})};function Ls({varianceAmount:e,variancePercentage:n,currency:o,isSticky:i,balances:r,isScrolling:l,nodeMetadata:c,isLeaf:d,isLastNode:p,accountAndClass:u,isHoveredByParent:g}){const{common:{strings:{hyphen:h}}}=N.getLocalizedStrings(),x=u.accountBase?.accountDescription?u.accountBase?.accountDescription:h,f=u.accountBase?.accountName?u.accountBase?.accountName:x,m=u.classBase?.className?u.classBase?.className:h,w=c?.accountAndClassRowMetadata.isLastNode;return t.jsxs(ps,{children:[t.jsxs(gs,{style:{cursor:"default"},isHoveredByParent:g,children:[t.jsx(vs,{children:t.jsxs(ms,{className:"flux-class-and-account-value-container",isSticky:i,children:[!!c?.accountAndClassRowMetadata.isFirstNode&&t.jsxs(ws,{children:[t.jsx(gi,{height:as}),t.jsx(bs,{children:io.common.texts.category}),t.jsx(ks,{children:io.common.texts.class})]}),t.jsxs(ys,{children:[w===!0?t.jsx(ns,{height:ls}):t.jsx(os,{}),t.jsx(js,{title:f,children:f}),t.jsx(Ss,{title:m,children:m})]})]})}),t.jsx($s,{children:t.jsxs(Cs,{children:[r.map((b,k)=>t.jsx(_s,{balance:b,isBalanceRowFirstNode:c?.accountAndClassRowMetadata.isFirstNode},k)),t.jsxs(yi,{children:[!!c?.accountAndClassRowMetadata.isFirstNode&&t.jsx(bi,{}),t.jsx(St,{amount:e,percentage:n,currency:o})]})]})})]}),t.jsx(As,{isScrolling:l,isLeaf:d,isLastNode:p,isParentLastChild:c?.isVendorLastChild??!0})]})}function As({isScrolling:e,isLastNode:n,isParentLastChild:o}){return n&&o?t.jsx(Et,{isScrolling:e,kind:"vendor_separator"}):n?t.jsx(Et,{isScrolling:e,kind:"account_class_row_separator"}):null}function Bs(){return t.jsxs(Is,{children:[t.jsxs(Ns,{children:[t.jsxs(Ae,{width:no,className:"vendor-title",children:[t.jsx(He,{width:C[4],height:C[4]}),t.jsx(Y,{width:to,height:C[4],style:{display:"flex",alignItems:"baseline",marginLeft:s.sp2}})]}),t.jsx(Ae,{width:no,children:t.jsx(Y,{width:to,height:C[4],style:{display:"flex",alignItems:"baseline",marginLeft:s.sp2}})})]}),t.jsxs(Os,{children:[t.jsx(Ae,{width:ze,children:t.jsx(Y,{width:Fe,height:C[4],style:{display:"flex",alignItems:"center"}})}),t.jsx(Ae,{width:ze,children:t.jsx(Y,{width:Fe,height:C[4],style:{display:"flex",alignItems:"flex-start"}})}),t.jsxs(Ae,{width:mi,children:[t.jsx(Y,{width:Fe,height:C[4],style:{display:"flex",alignItems:"center"}}),t.jsx(Y,{width:C[7],height:C[4],style:{display:"flex",alignItems:"flex-start",marginLeft:s.sp1}})]}),t.jsx(Ae,{width:ze,children:t.jsx(Y,{width:70,height:C[4],style:{display:"flex",alignItems:"center",justifyContent:"center"}})})]})]})}const Is=a.div`
1268
+ `,_s=({isBalanceRowFirstNode:e=!1,balance:n})=>{const o=n!=null;return t.jsxs(yi,{children:[e?t.jsx(bi,{}):null,t.jsx(xs,{children:t.jsx(fs,{isClickable:o,children:q(n)})})]})};function Ls({varianceAmount:e,variancePercentage:n,currency:o,isSticky:i,balances:r,isScrolling:l,nodeMetadata:c,isLeaf:d,isLastNode:p,accountAndClass:u,isHoveredByParent:g}){const{common:{strings:{hyphen:h}}}=N.getLocalizedStrings(),x=u.accountBase?.accountDescription?u.accountBase?.accountDescription:h,f=u.accountBase?.accountName?u.accountBase?.accountName:x,m=u.classBase?.className?u.classBase?.className:h,w=c?.accountAndClassRowMetadata.isLastNode;return t.jsxs(ps,{children:[t.jsxs(gs,{style:{cursor:"default"},isHoveredByParent:g,children:[t.jsx(vs,{children:t.jsxs(ms,{className:"flux-class-and-account-value-container",isSticky:i,children:[!!c?.accountAndClassRowMetadata.isFirstNode&&t.jsxs(ws,{children:[t.jsx(gi,{height:as}),t.jsx(bs,{children:io.common.texts.category}),t.jsx(ks,{children:io.common.texts.class})]}),t.jsxs(ys,{children:[w===!0?t.jsx(ns,{height:ls}):t.jsx(os,{}),t.jsx(js,{title:f,children:f}),t.jsx(Ss,{title:m,children:m})]})]})}),t.jsx($s,{children:t.jsxs(Cs,{children:[r.map((b,k)=>t.jsx(_s,{balance:b,isBalanceRowFirstNode:c?.accountAndClassRowMetadata.isFirstNode},k)),t.jsxs(yi,{children:[!!c?.accountAndClassRowMetadata.isFirstNode&&t.jsx(bi,{}),t.jsx(St,{amount:e,percentage:n,currency:o})]})]})})]}),t.jsx(As,{isScrolling:l,isLeaf:d,isLastNode:p,isParentLastChild:c?.isVendorLastChild??!0})]})}function As({isScrolling:e,isLastNode:n,isParentLastChild:o}){return n&&o?t.jsx(Et,{isScrolling:e,kind:"vendor_separator"}):n?t.jsx(Et,{isScrolling:e,kind:"account_class_row_separator"}):null}function Bs(){return t.jsxs(Is,{children:[t.jsxs(Ns,{children:[t.jsxs(Ae,{width:no,className:"vendor-title",children:[t.jsx(He,{width:C[4],height:C[4]}),t.jsx(Y,{width:to,height:C[4],style:{display:"flex",alignItems:"baseline",marginLeft:s.sp2}})]}),t.jsx(Ae,{width:no,children:t.jsx(Y,{width:to,height:C[4],style:{display:"flex",alignItems:"baseline",marginLeft:s.sp2}})})]}),t.jsxs(Os,{children:[t.jsx(Ae,{width:Fe,children:t.jsx(Y,{width:ze,height:C[4],style:{display:"flex",alignItems:"center"}})}),t.jsx(Ae,{width:Fe,children:t.jsx(Y,{width:ze,height:C[4],style:{display:"flex",alignItems:"flex-start"}})}),t.jsxs(Ae,{width:mi,children:[t.jsx(Y,{width:ze,height:C[4],style:{display:"flex",alignItems:"center"}}),t.jsx(Y,{width:C[7],height:C[4],style:{display:"flex",alignItems:"flex-start",marginLeft:s.sp1}})]}),t.jsx(Ae,{width:Fe,children:t.jsx(Y,{width:70,height:C[4],style:{display:"flex",alignItems:"center",justifyContent:"center"}})})]})]})}const Is=a.div`
1268
1269
  display: flex;
1269
1270
  flex-direction: row;
1270
1271
  width: 100%;
@@ -1311,13 +1312,13 @@ 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,a
1311
1312
  display: flex;
1312
1313
  flex-direction: row;
1313
1314
  justify-content: flex-start;
1314
- `,Fs=a(_)`
1315
+ `,zs=a(_)`
1315
1316
  max-width: ${me};
1316
1317
  min-width: ${me};
1317
1318
  text-align: right;
1318
1319
  margin-left: ${kt};
1319
1320
  color: ${({color:e})=>e};
1320
- `,zs=a.div`
1321
+ `,Fs=a.div`
1321
1322
  display: flex;
1322
1323
  flex-direction: row;
1323
1324
  flex-shrink: 2;
@@ -1326,7 +1327,7 @@ 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,a
1326
1327
  width: ${Xn};
1327
1328
  min-width: ${Xn};
1328
1329
  background-color: ${e=>e.bgColor?.hex()};
1329
- ${({isSticky:e})=>e&&z`
1330
+ ${({isSticky:e})=>e&&F`
1330
1331
  position: sticky;
1331
1332
  top: ${s.sp0};
1332
1333
  left: ${s.sp0};
@@ -1363,7 +1364,7 @@ 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,a
1363
1364
  ${Se} +
1364
1365
  ${jt}
1365
1366
  );
1366
- `,Rs=({balance:e,color:n})=>t.jsx(Ps,{children:t.jsx(Fs,{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(zs,{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:ze,marginRight:0,children:t.jsx(Y,{width:128,height:C[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(Oe,{windowSize:e,width:ze,marginRight:0,children:t.jsx(Y,{width:Fe,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:Fe,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`
1367
1368
  display: flex;
1368
1369
  flex-direction: row;
1369
1370
  width: 100%;
@@ -1380,7 +1381,7 @@ 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,a
1380
1381
  :first-of-type {
1381
1382
  justify-content: flex-start;
1382
1383
  }
1383
- `,{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`
1384
1385
  display: flex;
1385
1386
  flex: 1 1 auto;
1386
1387
  width: fit-content;
@@ -1427,7 +1428,7 @@ 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,a
1427
1428
  z-index: 1;
1428
1429
  background-color: ${e=>e.theme.colors.grey4};
1429
1430
  padding-left: ${s.sp8};
1430
- ${({isSticky:e})=>e?z`
1431
+ ${({isSticky:e})=>e?F`
1431
1432
  top: ${s.sp0};
1432
1433
  left: ${s.sp0};
1433
1434
  display: flex;
@@ -1466,7 +1467,7 @@ 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,a
1466
1467
  margin-left: ${s.sp7};
1467
1468
  flex: 1 1 auto;
1468
1469
  justify-content: flex-end;
1469
- `,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`
1470
1471
  display: flex;
1471
1472
  flex: 1 1 auto;
1472
1473
  width: fit-content;
@@ -1585,7 +1586,7 @@ 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,a
1585
1586
  width: ${pt};
1586
1587
  max-width: ${pt};
1587
1588
  background-color: ${e=>e.bgColor?.hex()};
1588
- ${({isSticky:e})=>e?z`
1589
+ ${({isSticky:e})=>e?F`
1589
1590
  position: -webkit-sticky;
1590
1591
  position: sticky;
1591
1592
  top: ${s.sp0};
@@ -1679,11 +1680,11 @@ 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,a
1679
1680
  background-color: transparent;
1680
1681
  }
1681
1682
  }
1682
- `,Fd=a(tn)`
1683
+ `,zd=a(tn)`
1683
1684
  color: ${e=>e.theme.colors.primary};
1684
1685
  width: ${s.sp3};
1685
1686
  height: ${s.sp3};
1686
- `,zd=a(Ce)`
1687
+ `,Fd=a(Ce)`
1687
1688
  display: flex;
1688
1689
  flex-direction: row;
1689
1690
  align-items: center;
@@ -1721,7 +1722,7 @@ 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,a
1721
1722
  justify-content: center;
1722
1723
  align-items: center;
1723
1724
  margin-left: ${s.sp1};
1724
- `,{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(Fd,{}),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(zd,{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`
1725
1726
  display: flex;
1726
1727
  flex: 1 1 auto;
1727
1728
  width: fit-content;
@@ -1746,13 +1747,13 @@ 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,a
1746
1747
  background-color: null;
1747
1748
  }
1748
1749
  width: 100%;
1749
- `,Qd=a(er)`
1750
+ `,Jd=a(er)`
1750
1751
  width: 100%;
1751
1752
  display: flex;
1752
1753
  align-items: center;
1753
- font-weight: ${e=>e.isSubclass?zn.regular:zn.medium};
1754
+ font-weight: ${e=>e.isSubclass?Fn.regular:Fn.medium};
1754
1755
  color: ${e=>e.checked?e.theme.colors.primary:e.theme.colors.hero};
1755
- `,Jd=a(Ce)`
1756
+ `,Qd=a(Ce)`
1756
1757
  display: flex;
1757
1758
  color: ${e=>e.theme.colors.primary};
1758
1759
  align-items: center;
@@ -1767,7 +1768,7 @@ 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,a
1767
1768
  color: ${e=>e.theme.colors.primary};
1768
1769
  width: ${s.sp3};
1769
1770
  height: ${s.sp3};
1770
- `;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`
1771
1772
  user-select: none;
1772
1773
  display: flex;
1773
1774
  flex: 1 1 auto;
@@ -1819,7 +1820,7 @@ 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,a
1819
1820
  min-width: ${e=>P.titleWidth.valuePx(e.windowSize)};
1820
1821
  color: ${e=>e.theme.colors.primary};
1821
1822
  background-color: ${e=>e.bgColor?.hex()};
1822
- ${({isSticky:e})=>e?z`
1823
+ ${({isSticky:e})=>e?F`
1823
1824
  position: -webkit-sticky;
1824
1825
  position: sticky;
1825
1826
  top: ${s.sp0};
@@ -1837,7 +1838,7 @@ 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,a
1837
1838
  justify-content: flex-start;
1838
1839
  align-items: center;
1839
1840
  background-color: ${e=>e.bgColor?.hex()};
1840
- `,Ft=a.div``,lh=a.div`
1841
+ `,zt=a.div``,lh=a.div`
1841
1842
  display: flex;
1842
1843
  flex: 1 0 auto;
1843
1844
  flex-direction: row;
@@ -1875,14 +1876,14 @@ 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,a
1875
1876
  min-width: ${e=>P.titleWidth.valuePx(e.windowSize)};
1876
1877
  color: ${e=>e.theme.colors.primary};
1877
1878
  background-color: ${e=>e.bgColor?.hex()};
1878
- ${({isSticky:e})=>e?z`
1879
+ ${({isSticky:e})=>e?F`
1879
1880
  position: -webkit-sticky;
1880
1881
  position: sticky;
1881
1882
  top: ${s.sp0};
1882
1883
  left: ${s.sp0};
1883
1884
  z-index: 20;
1884
1885
  `:null}
1885
- `;function hh({backgroundColor:e,isSticky:n,height:o,isAccountColumnShown:i,isClassColumnShown:r,timeframeTicks:l}){const c=W();return t.jsxs(ah,{height:o,bgColor:e,"data-testid":y("no-results-found-title-row"),children:[t.jsx(dh,{isSticky:n,windowSize:c,bgColor:e,children:t.jsx(ch,{children:N.getLocalizedStrings().vendors.opExByVendor.noResultsFound})}),t.jsxs(lh,{children:[i?t.jsx(ho,{windowSize:c,children:t.jsx(Ft,{})}):null,r?t.jsx(ho,{windowSize:c,children:t.jsx(Ft,{})}):null,l.map((d,p)=>t.jsx(sh,{windowSize:c,children:t.jsx(Ft,{children:" "})},`${p}RowItem`))]})]})}function Cn({title:e,selectedMode:n,onCompareModeChanged:o,backgroundColor:i,optionBackgroundColor:r,selectedOptionBackgroundColor:l,optionTextStyle:c,titleTextStyle:d,titleTextAlignment:p,titleColor:u,menuPosition:g}){return t.jsx(sr,{title:e,pickerValues:["compare_mode_percent","compare_mode_amount"],valueToLabel:h=>N.getLocalizedStrings().compareMode[h],selectedValue:n,onPickerSelectionChanged:h=>o(h),optionTextStyle:c,titleTextStyle:d,titleTextAlignment:p,titleColor:u,optionBackgroundColor:r,selectedOptionBackgroundColor:l,backgroundColor:i??"inherit",menuPosition:g})}const uh=s.sp4,uo=170,ph=(s.sp4,a.div`
1886
+ `;function hh({backgroundColor:e,isSticky:n,height:o,isAccountColumnShown:i,isClassColumnShown:r,timeframeTicks:l}){const c=W();return t.jsxs(ah,{height:o,bgColor:e,"data-testid":y("no-results-found-title-row"),children:[t.jsx(dh,{isSticky:n,windowSize:c,bgColor:e,children:t.jsx(ch,{children:N.getLocalizedStrings().vendors.opExByVendor.noResultsFound})}),t.jsxs(lh,{children:[i?t.jsx(ho,{windowSize:c,children:t.jsx(zt,{})}):null,r?t.jsx(ho,{windowSize:c,children:t.jsx(zt,{})}):null,l.map((d,p)=>t.jsx(sh,{windowSize:c,children:t.jsx(zt,{children:" "})},`${p}RowItem`))]})]})}function Cn({title:e,selectedMode:n,onCompareModeChanged:o,backgroundColor:i,optionBackgroundColor:r,selectedOptionBackgroundColor:l,optionTextStyle:c,titleTextStyle:d,titleTextAlignment:p,titleColor:u,menuPosition:g}){return t.jsx(sr,{title:e,pickerValues:["compare_mode_percent","compare_mode_amount"],valueToLabel:h=>N.getLocalizedStrings().compareMode[h],selectedValue:n,onPickerSelectionChanged:h=>o(h),optionTextStyle:c,titleTextStyle:d,titleTextAlignment:p,titleColor:u,optionBackgroundColor:r,selectedOptionBackgroundColor:l,backgroundColor:i??"inherit",menuPosition:g})}const uh=s.sp4,uo=170,ph=(s.sp4,a.div`
1886
1887
  margin-left: ${s.sp4};
1887
1888
  `),gh=a.div`
1888
1889
  display: flex;
@@ -1968,7 +1969,7 @@ 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,a
1968
1969
  flex-direction: row;
1969
1970
  z-index: 1;
1970
1971
  background-color: ${e=>e.bgColor?.hex()};
1971
- ${({isSticky:e})=>e?z`
1972
+ ${({isSticky:e})=>e?F`
1972
1973
  position: -webkit-sticky;
1973
1974
  position: sticky;
1974
1975
  top: ${s.sp0};
@@ -2058,7 +2059,7 @@ 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,a
2058
2059
  flex-direction: column;
2059
2060
  height: ${e=>e.height}px;
2060
2061
  background-color: ${e=>e.bgColor?.hex()};
2061
- `,Fh=a.div`
2062
+ `,zh=a.div`
2062
2063
  user-select: none;
2063
2064
  display: flex;
2064
2065
  flex: 1 1 auto;
@@ -2066,7 +2067,7 @@ 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,a
2066
2067
  justify-content: flex-start;
2067
2068
  align-items: center;
2068
2069
  cursor: default;
2069
- `,zh=a.div`
2070
+ `,Fh=a.div`
2070
2071
  display: flex;
2071
2072
  flex: 1 0 auto;
2072
2073
  flex-direction: row;
@@ -2092,7 +2093,7 @@ 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,a
2092
2093
  display: flex;
2093
2094
  flex-direction: row;
2094
2095
  background-color: ${e=>e.bgColor?.hex()};
2095
- ${({isSticky:e})=>e?z`
2096
+ ${({isSticky:e})=>e?F`
2096
2097
  position: -webkit-sticky;
2097
2098
  position: sticky;
2098
2099
  top: ${s.sp0};
@@ -2120,7 +2121,7 @@ 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,a
2120
2121
  text-overflow: ellipsis;
2121
2122
  text-align: left;
2122
2123
  color: ${e=>e.theme.colors.primary};
2123
- `,Rh=({balance:e,collapsed:n,timeframeColumnIndex:o,treeNodeId:i,type:r})=>{const l=n===!0?Vh:Bi;return t.jsx(Th,{"data-testid":y("report-tree-total-row-amount",`${i}-${String(o)}`),children:ae(r)===!0?t.jsx(l,{children:q(e)}):null})};function Hh({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,title:l,totalBalances:c,isAccountColumnShown:d,isClassColumnShown:p,onClick:u,isScrolling:g}){const h=W();return t.jsxs(Ph,{"data-testid":y("total-row-root-container",i),height:r,bgColor:n,windowSize:h,children:[t.jsxs(Fh,{"data-testid":y("total-row-container",i),onClick:()=>u?.(i),children:[t.jsxs(Dh,{bgColor:n,windowSize:h,isSticky:o,children:[t.jsx(Eh,{bgColor:n,windowSize:h,children:t.jsx(Gh,{children:l})}),d?t.jsx(po,{windowSize:h}):null,p?t.jsx(po,{windowSize:h}):null]}),t.jsx(zh,{children:c.map((x,f)=>t.jsx(Rh,{balance:x,collapsed:!1,timeframeColumnIndex:f,treeNodeId:i,type:e},f))})]}),t.jsx(Ut,{isScrolling:g,kind:"vendor_row_separator"})]})}const Kh=a.div`
2124
+ `,Rh=({balance:e,collapsed:n,timeframeColumnIndex:o,treeNodeId:i,type:r})=>{const l=n===!0?Vh:Bi;return t.jsx(Th,{"data-testid":y("report-tree-total-row-amount",`${i}-${String(o)}`),children:ae(r)===!0?t.jsx(l,{children:q(e)}):null})};function Hh({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,title:l,totalBalances:c,isAccountColumnShown:d,isClassColumnShown:p,onClick:u,isScrolling:g}){const h=W();return t.jsxs(Ph,{"data-testid":y("total-row-root-container",i),height:r,bgColor:n,windowSize:h,children:[t.jsxs(zh,{"data-testid":y("total-row-container",i),onClick:()=>u?.(i),children:[t.jsxs(Dh,{bgColor:n,windowSize:h,isSticky:o,children:[t.jsx(Eh,{bgColor:n,windowSize:h,children:t.jsx(Gh,{children:l})}),d?t.jsx(po,{windowSize:h}):null,p?t.jsx(po,{windowSize:h}):null]}),t.jsx(Fh,{children:c.map((x,f)=>t.jsx(Rh,{balance:x,collapsed:!1,timeframeColumnIndex:f,treeNodeId:i,type:e},f))})]}),t.jsx(Ut,{isScrolling:g,kind:"vendor_row_separator"})]})}const Kh=a.div`
2124
2125
  display: flex;
2125
2126
  flex: 1 1 auto;
2126
2127
  width: fit-content;
@@ -2159,17 +2160,17 @@ 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,a
2159
2160
  &:hover {
2160
2161
  color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
2161
2162
  }
2162
- `,Qh=a.div`
2163
+ `,Jh=a.div`
2163
2164
  display: flex;
2164
2165
  flex-direction: row;
2165
2166
  background-color: ${e=>e.bgColor?.hex()};
2166
- ${({isSticky:e})=>e?z`
2167
+ ${({isSticky:e})=>e?F`
2167
2168
  position: -webkit-sticky;
2168
2169
  position: sticky;
2169
2170
  top: ${s.sp0};
2170
2171
  left: ${s.sp0};
2171
2172
  `:null}
2172
- `,Jh=a.div`
2173
+ `,Qh=a.div`
2173
2174
  display: flex;
2174
2175
  flex-direction: row;
2175
2176
  flex-shrink: 2;
@@ -2239,7 +2240,7 @@ 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,a
2239
2240
  `,au=a(_)`
2240
2241
  color: ${e=>e.theme.colors.hero};
2241
2242
  display: none;
2242
- `,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`
2243
2244
  display: flex;
2244
2245
  flex: 1 1 auto;
2245
2246
  width: fit-content;
@@ -2287,11 +2288,12 @@ 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,a
2287
2288
  width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2288
2289
  max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2289
2290
  background-color: ${e=>e.bgColor?.hex()};
2290
- ${({isSticky:e})=>e?z`
2291
+ ${({isSticky:e})=>e?F`
2291
2292
  position: -webkit-sticky;
2292
2293
  position: sticky;
2293
2294
  top: ${s.sp0};
2294
2295
  left: ${s.sp0};
2296
+ z-index: 20;
2295
2297
  `:null}
2296
2298
  `,Mi=a(_)`
2297
2299
  user-select: none;
@@ -2308,7 +2310,7 @@ 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,a
2308
2310
  &:hover {
2309
2311
  color: inherit;
2310
2312
  }
2311
- `,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`
2312
2314
  display: flex;
2313
2315
  flex: 1 1 auto;
2314
2316
  width: fit-content;
@@ -2356,11 +2358,12 @@ 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,a
2356
2358
  width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2357
2359
  max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2358
2360
  background-color: ${e=>e.bgColor?.hex()};
2359
- ${({isSticky:e})=>e?z`
2361
+ ${({isSticky:e})=>e?F`
2360
2362
  position: -webkit-sticky;
2361
2363
  position: sticky;
2362
2364
  top: ${s.sp0};
2363
2365
  left: ${s.sp0};
2366
+ z-index: 20;
2364
2367
  `:null}
2365
2368
  `,Pi=a(_)`
2366
2369
  user-select: none;
@@ -2377,7 +2380,7 @@ 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,a
2377
2380
  &:hover {
2378
2381
  color: inherit;
2379
2382
  }
2380
- `,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`
2381
2384
  display: flex;
2382
2385
  flex: 1 1 auto;
2383
2386
  width: fit-content;
@@ -2418,7 +2421,7 @@ 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,a
2418
2421
  flex-shrink: 2;
2419
2422
  flex-grow: 1;
2420
2423
  align-items: center;
2421
- ${({containerHeight:e})=>e!=null?z`
2424
+ ${({containerHeight:e})=>e!=null?F`
2422
2425
  height: ${e-1}px;
2423
2426
  `:null}
2424
2427
  width: ${e=>j.titleWidth.valuePx(e.windowSize)};
@@ -2429,31 +2432,33 @@ 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,a
2429
2432
  &:hover {
2430
2433
  color: ${e=>e.isRowClickable?e.theme.colors.primary:e.theme.colors.hero};
2431
2434
  }
2432
- ${({isSticky:e})=>e?z`
2435
+ ${({isSticky:e})=>e?F`
2433
2436
  position: -webkit-sticky;
2434
2437
  position: sticky;
2435
2438
  top: ${s.sp0};
2436
2439
  left: ${s.sp0};
2440
+ z-index: 20;
2437
2441
  `:null}
2438
- `,Fu=a.div`
2442
+ `,zu=a.div`
2439
2443
  display: flex;
2440
2444
  flex-direction: row;
2441
2445
  flex-shrink: 2;
2442
2446
  flex-grow: 1;
2443
2447
  align-items: center;
2444
- ${({containerHeight:e})=>e!=null?z`
2448
+ ${({containerHeight:e})=>e!=null?F`
2445
2449
  height: ${e-1}px;
2446
2450
  `:null}
2447
2451
  width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2448
2452
  max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2449
2453
  background-color: ${e=>e.bgColor?.hex()};
2450
- ${({isSticky:e})=>e?z`
2454
+ ${({isSticky:e})=>e?F`
2451
2455
  position: -webkit-sticky;
2452
2456
  position: sticky;
2453
2457
  top: ${s.sp0};
2454
2458
  left: ${s.sp0};
2459
+ z-index: 20;
2455
2460
  `:null}
2456
- `,zu=a(_)`
2461
+ `,Fu=a(_)`
2457
2462
  user-select: none;
2458
2463
  clear: both;
2459
2464
  display: inline-block;
@@ -2472,7 +2477,7 @@ 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,a
2472
2477
  &:hover {
2473
2478
  color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
2474
2479
  }
2475
- `,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(zu,{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(Fu,{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`
2476
2481
  user-select: none;
2477
2482
  display: flex;
2478
2483
  flex: 1 1 auto;
@@ -2532,7 +2537,7 @@ 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,a
2532
2537
  color: ${e=>e.theme.colors.grey5};
2533
2538
  background-color: ${e=>e.bgColor?.hex()};
2534
2539
  border: 1px solid ${e=>e.bgColor?.hex()};
2535
- ${({isSticky:e})=>e?z`
2540
+ ${({isSticky:e})=>e?F`
2536
2541
  position: -webkit-sticky;
2537
2542
  position: sticky;
2538
2543
  top: ${s.sp0};
@@ -2547,14 +2552,14 @@ 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,a
2547
2552
  flex-direction: column;
2548
2553
  height: ${e=>e.height}px;
2549
2554
  background-color: ${e=>e.bgColor?.hex()};
2550
- `,Qu=a.div`
2555
+ `,Ju=a.div`
2551
2556
  user-select: none;
2552
2557
  display: flex;
2553
2558
  flex: 1 1 auto;
2554
2559
  flex-flow: row;
2555
2560
  justify-content: flex-start;
2556
2561
  align-items: center;
2557
- `,Ju=a.div`
2562
+ `,Qu=a.div`
2558
2563
  display: flex;
2559
2564
  flex: 1 0 auto;
2560
2565
  flex-direction: row;
@@ -2578,11 +2583,12 @@ 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,a
2578
2583
  width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2579
2584
  max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2580
2585
  background-color: ${e=>e.bgColor?.hex()};
2581
- ${({isSticky:e})=>e?z`
2586
+ ${({isSticky:e})=>e?F`
2582
2587
  position: -webkit-sticky;
2583
2588
  position: sticky;
2584
2589
  top: ${s.sp0};
2585
2590
  left: ${s.sp0};
2591
+ z-index: 20;
2586
2592
  `:null}
2587
2593
  `,tp=a.div`
2588
2594
  display: flex;
@@ -2608,7 +2614,7 @@ 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,a
2608
2614
  border: 1px solid ${e=>e.theme.colors.primary};
2609
2615
  border-radius: ${s.sp1};
2610
2616
  margin: 0 ${s.sp5} 0 ${s.sp3};
2611
- `,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`
2612
2618
  display: flex;
2613
2619
  flex: 1 1 auto;
2614
2620
  width: fit-content;
@@ -2647,11 +2653,12 @@ 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,a
2647
2653
  width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2648
2654
  max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2649
2655
  background-color: ${e=>e.bgColor?.hex()};
2650
- ${({isSticky:e})=>e?z`
2656
+ ${({isSticky:e})=>e?F`
2651
2657
  position: -webkit-sticky;
2652
2658
  position: sticky;
2653
2659
  top: ${s.sp0};
2654
2660
  left: ${s.sp0};
2661
+ z-index: 20;
2655
2662
  `:null}
2656
2663
  `,pp=a(_)`
2657
2664
  user-select: none;
@@ -2663,7 +2670,7 @@ 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,a
2663
2670
  text-overflow: ellipsis;
2664
2671
  text-align: left;
2665
2672
  margin-left: ${s.sp2};
2666
- `,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`
2667
2674
  display: flex;
2668
2675
  flex: 1 1 auto;
2669
2676
  width: fit-content;
@@ -2746,18 +2753,19 @@ 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,a
2746
2753
  &:hover {
2747
2754
  color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
2748
2755
  }
2749
- ${({isSticky:e})=>e?z`
2756
+ ${({isSticky:e})=>e?F`
2750
2757
  position: -webkit-sticky;
2751
2758
  position: sticky;
2752
2759
  top: ${s.sp0};
2753
2760
  left: ${s.sp0};
2761
+ z-index: 20;
2754
2762
  `:null}
2755
2763
  `,kp=a(_)`
2756
2764
  user-select: none;
2757
2765
  clear: both;
2758
2766
  display: inline-block;
2759
2767
  text-align: left;
2760
- `,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`
2761
2769
  display: flex;
2762
2770
  flex: 1 1 auto;
2763
2771
  width: fit-content;
@@ -2802,11 +2810,12 @@ 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,a
2802
2810
  width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2803
2811
  max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2804
2812
  background-color: ${e=>e.bgColor?.hex()};
2805
- ${({isSticky:e})=>e?z`
2813
+ ${({isSticky:e})=>e?F`
2806
2814
  position: -webkit-sticky;
2807
2815
  position: sticky;
2808
2816
  top: ${s.sp0};
2809
2817
  left: ${s.sp0};
2818
+ z-index: 20;
2810
2819
  `:null}
2811
2820
  `,Mp=a(_)`
2812
2821
  user-select: none;
@@ -2819,7 +2828,7 @@ 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,a
2819
2828
  margin-left: ${e=>_p[e.depth]}px;
2820
2829
  color: ${e=>e.theme.colors.primary};
2821
2830
  width: ${e=>j.titleWidth.value(e.windowSize)-80*e.depth}px;
2822
- `,Wp=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i})=>t.jsxs(Op,{"data-testid":y("sub-account-row-balance-element",e),children:[ae(e)===!0||o?t.jsx(lt,{"data-testid":y("sub-account-row-balance-element-actual",e),isClickable:!1,children:Lo(n)}):t.jsx(lt,{"data-testid":y("sub-account-row-balance-element-forecast",e),isClickable:!1,children:Tt(n)}),o?t.jsxs(t.Fragment,{children:[t.jsx(lt,{"data-testid":y("sub-account-row-balance-element-forecast",e),isClickable:!1,children:Tt(n)}),t.jsx(lt,{"data-testid":y("sub-account-row-balance-element-actual-vs-forecast",e),isClickable:!1,children:i==="compare_mode_percent"?Ao(n):Bo(n)})]}):null]});function Pp({type:e,backgroundColor:n,isSticky:o,height:i,classDepth:r,accountName:l,accountBalances:c,account:d,noMarginForAccount:p,isActualVsForecastOn:u,compareMode:g,isScrolling:h,metadata:x}){const f=W(),m=N.getLocalizedStrings().reports.sections,w=d!=null?d.id.length-1:0,b=x;return t.jsxs(Lp,{height:i,bgColor:n,children:[t.jsxs(Ap,{children:[t.jsxs(Np,{isSticky:o,windowSize:f,bgColor:n,containerHeight:i,children:[r!=null?t.jsx(No,{ancestorMetadata:b.classAncestorMetadata??[],depth:r,name:l}):p===!1?t.jsx(Bp,{windowSize:f}):null,t.jsx(Mo,{ancestorMetadata:b.subAccountAncestorMetadata,depth:w,name:l}),t.jsx(Mp,{"data-testid":y("sub-account-row-name",e),isClickable:!1,title:l,depth:w,windowSize:f,children:m.totalPrefix+" "+l})]}),ke(e)===!0?t.jsx(Ip,{children:c.map((k,v)=>t.jsx(Wp,{type:e,isActualVsForecastOn:u,compareMode:g,balance:k},v))}):null]}),t.jsx(Fp,{isScrolling:h,nestingLevel:w,isSticky:o,classDepth:r,noMarginForAccount:p})]})}function Fp({isScrolling:e,nestingLevel:n,isSticky:o,classDepth:i,noMarginForAccount:r}){return t.jsx(je,{isScrolling:e,kind:"total_row_separator",subAccountProps:{nestingLevel:n,isSticky:o,classDepth:i,noMarginForAccount:r}})}const zp=a.div`
2831
+ `,Wp=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i})=>t.jsxs(Op,{"data-testid":y("sub-account-row-balance-element",e),children:[ae(e)===!0||o?t.jsx(lt,{"data-testid":y("sub-account-row-balance-element-actual",e),isClickable:!1,children:Lo(n)}):t.jsx(lt,{"data-testid":y("sub-account-row-balance-element-forecast",e),isClickable:!1,children:Tt(n)}),o?t.jsxs(t.Fragment,{children:[t.jsx(lt,{"data-testid":y("sub-account-row-balance-element-forecast",e),isClickable:!1,children:Tt(n)}),t.jsx(lt,{"data-testid":y("sub-account-row-balance-element-actual-vs-forecast",e),isClickable:!1,children:i==="compare_mode_percent"?Ao(n):Bo(n)})]}):null]});function Pp({type:e,backgroundColor:n,isSticky:o,height:i,classDepth:r,accountName:l,accountBalances:c,account:d,noMarginForAccount:p,isActualVsForecastOn:u,compareMode:g,isScrolling:h,metadata:x}){const f=W(),m=N.getLocalizedStrings().reports.sections,w=d!=null?d.id.length-1:0,b=x;return t.jsxs(Lp,{height:i,bgColor:n,children:[t.jsxs(Ap,{children:[t.jsxs(Np,{isSticky:o,windowSize:f,bgColor:n,containerHeight:i,children:[r!=null?t.jsx(No,{ancestorMetadata:b.classAncestorMetadata??[],depth:r,name:l}):p===!1?t.jsx(Bp,{windowSize:f}):null,t.jsx(Mo,{ancestorMetadata:b.subAccountAncestorMetadata,depth:w,name:l}),t.jsx(Mp,{"data-testid":y("sub-account-row-name",e),isClickable:!1,title:l,depth:w,windowSize:f,children:m.totalPrefix+" "+l})]}),ke(e)===!0?t.jsx(Ip,{children:c.map((k,v)=>t.jsx(Wp,{type:e,isActualVsForecastOn:u,compareMode:g,balance:k},v))}):null]}),t.jsx(zp,{isScrolling:h,nestingLevel:w,isSticky:o,classDepth:r,noMarginForAccount:p})]})}function zp({isScrolling:e,nestingLevel:n,isSticky:o,classDepth:i,noMarginForAccount:r}){return t.jsx(je,{isScrolling:e,kind:"total_row_separator",subAccountProps:{nestingLevel:n,isSticky:o,classDepth:i,noMarginForAccount:r}})}const Fp=a.div`
2823
2832
  user-select: none;
2824
2833
  display: flex;
2825
2834
  flex: 1 1 auto;
@@ -2835,7 +2844,7 @@ 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,a
2835
2844
  flex: 1 0 auto;
2836
2845
  flex-direction: row;
2837
2846
  justify-content: flex-end;
2838
- `,Re=j.balanceWidthInPx+j.balanceLeftMarginInPx,Fi=a.div`
2847
+ `,Re=j.balanceWidthInPx+j.balanceLeftMarginInPx,zi=a.div`
2839
2848
  display: flex;
2840
2849
  max-height: 54px;
2841
2850
  min-height: 54px;
@@ -2847,7 +2856,7 @@ 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,a
2847
2856
  border-radius: ${s.sp2};
2848
2857
  margin-left: ${e=>e.isActualVsForecastOn?C[0]:j.balanceLeftMarginInPx}px;
2849
2858
  color: ${e=>e.theme.colors.primary};
2850
- `,zi=a(_)`
2859
+ `,Fi=a(_)`
2851
2860
  display: flex;
2852
2861
  user-select: none;
2853
2862
  flex-direction: row;
@@ -2866,7 +2875,7 @@ 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,a
2866
2875
  color: ${e=>e.theme.colors.grey5};
2867
2876
  background-color: ${e=>e.bgColor?.hex()};
2868
2877
  border: 1px solid ${e=>e.bgColor?.hex()};
2869
- ${({isSticky:e})=>e?z`
2878
+ ${({isSticky:e})=>e?F`
2870
2879
  position: -webkit-sticky;
2871
2880
  position: sticky;
2872
2881
  top: ${s.sp0};
@@ -2879,7 +2888,7 @@ 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,a
2879
2888
  flex-direction: row;
2880
2889
  justify-content: flex-start;
2881
2890
  color: ${e=>e.theme.colors.champion};
2882
- `,zt=a(_)`
2891
+ `,Ft=a(_)`
2883
2892
  display: flex;
2884
2893
  justify-content: flex-end;
2885
2894
  align-items: center;
@@ -2916,7 +2925,7 @@ 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,a
2916
2925
  `,Kp=a.div`
2917
2926
  max-height: 54px;
2918
2927
  min-height: 54px;
2919
- `,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(Fi,{isActualVsForecastOn:!1,children:t.jsx(zi,{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(Fi,{isActualVsForecastOn:i,children:t.jsx(zi,{children:Ye(e,n,o)})}),t.jsxs(Dp,{isActualVsForecastOn:i,children:[t.jsx(zt,{children:p.actual}),t.jsx(zt,{children:p.forecast}),t.jsx(zt,{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(zp,{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`
2920
2929
  top: 0;
2921
2930
  left: 0;
2922
2931
  position: sticky !important;
@@ -2931,7 +2940,7 @@ 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,a
2931
2940
  align-items: center;
2932
2941
  background-color: ${e=>e.bgColor?.hex()};
2933
2942
  box-sizing: border-box;
2934
- `;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=(F,U)=>{ue(Object.assign({},ce,{[F]:U})),v?.(F,U)},Nn=F=>{if(o.contentNodes.length>0)if(Object.keys(F).length>0){const U={};Object.keys(F).forEach(fe=>{U[fe]={open:F[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 F=w?.scrollLeft==null?he==="small"?0:Q.current.scrollWidth:w?.scrollLeft;if(w!=null){const U={scrollTop:w.scrollTop,scrollLeft:F};re(U),F!==w?.scrollLeft&&b?.(U)}Q.current.scroll({left:F,top:w?.scrollTop})}},[w]),V.useEffect(()=>{Pn(k,ce)||(ue(k),Nn(k))},[k]),V.useEffect(()=>{const F=Q.current,U=Ui(()=>{if(F!=null&&(le==null||F.scrollLeft!==le.scrollLeft||F.scrollTop!==le.scrollTop)){const fe={scrollLeft:F.scrollLeft,scrollTop:F.scrollTop};re(fe),b?.(fe)}},50);return F?.addEventListener("scroll",U),()=>{F?.removeEventListener("scroll",U)}},[Q,le,b]),V.useEffect(()=>{if(o.contentNodes.length>0){Nn(ce);const F=o.contentNodes[0].reportElementData.config.mode==="actual_vs_forecast";F!==be&&$e(F)}},[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(((F,U,fe)=>function*(){for(let we=0;we<U.length;++we)yield mo(U[we],F,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],F,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(Fn,{className:d,style:p,ref:ie,innerRef:It,outerRef:Q,innerElementType:Zt,treeWalker:Mn,onItemsRendered:()=>{const F=It.current;F!=null&&F.clientHeight>0&&F.clientHeight!=Gi&&(Ri(F.clientHeight),S?.(F.clientHeight))},height:e,width:"100%",children:F=>t.jsx(fo,{...F,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:F,ref:U})=>t.jsx(Fn,{className:d,style:p,ref:U,innerRef:It,outerRef:Q,innerElementType:Zt,treeWalker:Mn,onItemsRendered:F,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`
2935
2944
  display: flex;
2936
2945
  flex: 1 0 auto;
2937
2946
  width: ${e=>e.width}px;