@zeniai/web-cockpit-ui 1.14.19-dev-betaSK01 → 1.14.20-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 (378) hide show
  1. package/dist/assets/ACHDetailsPage-CVBRtacz-BEkwx2cM.js +21 -0
  2. package/dist/assets/{AIPerformancePage-CJ0myi1p-CyCBKn16.js → AIPerformancePage-DnOjd2BF-CRXsdl24.js} +52 -52
  3. package/dist/assets/AccountInfoPage-Bt-jShgf-CCHYq--w.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-CVV20YhW-q-TI4Dr6.js → AccountInfoPageContent-Cc80eQeo-579rUIpL.js} +20 -20
  5. package/dist/assets/AccountLockedInfoModal-B-Hn6_hG-B-4Dg7na.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CNT6qZyD-ZHVZJgF9.js → AccountReconDetailsDrawerPage-Bz1Sk2du-CwztkqDE.js} +18 -18
  7. package/dist/assets/{AccountRow-COaolUm5-Bsrm5YYV.js → AccountRow-D01C0A0f-QA2NRq7R.js} +46 -46
  8. package/dist/assets/{AccountsPromoCardStack-BOmk5qYk-Bnozn1QW.js → AccountsPromoCardStack-DsjFJ8gZ-DjW6RsEa.js} +37 -37
  9. package/dist/assets/{AddAddressForCardDrawer-DQN-6ztS-C4C6h_V9.js → AddAddressForCardDrawer-DnoYIvUp-DRozqjCP.js} +2 -2
  10. package/dist/assets/{AddToWalletPage-CT9nivqI-BnXCEk6P.js → AddToWalletPage-BIiW9JxG-D9CD9wND.js} +122 -122
  11. package/dist/assets/{AgingReportsPage-DGzFK69_-DgqwpnRI.js → AgingReportsPage-WazD_3Z7-CoFeaJHD.js} +17 -17
  12. package/dist/assets/{AllUserItems-diZQlFqb-DwUtiew2.js → AllUserItems-CTSy4oBh-COmuQZqb.js} +18 -18
  13. package/dist/assets/ApAgingDetailPage--NGBXWsy-C8HiqI6Z.js +46 -0
  14. package/dist/assets/AppBasePage-B5br9UXD-BXEvz6Z3.js +70 -0
  15. package/dist/assets/{AppDrawerContent-Z3Hny9GH-BBS5jJHD.js → AppDrawerContent-vFeMNL3B-anFPhgeB.js} +13 -13
  16. package/dist/assets/ApprovalRulesSettingsPage-6j7VBBZ6-D1yZE3mH.js +47 -0
  17. package/dist/assets/ArAgingChart-BYWN3_Nl-CYX1U_rU.js +24 -0
  18. package/dist/assets/ArAgingDetailPage-B-hHa8A6-BrQATxNB.js +46 -0
  19. package/dist/assets/{AttachmentView-ChlYn2cr-DueA245P.js → AttachmentView-C2kWA5X5-XqMuBHHe.js} +8 -8
  20. package/dist/assets/{BankAccountSection-DdvqFTBS-3WhABy0l.js → BankAccountSection-B20IwpOn-dEqA-3oX.js} +7 -7
  21. package/dist/assets/{BankAccountWarningSection-VrRQxdkB-DFivrjf8.js → BankAccountWarningSection-GHO0P0IZ-jfpI3pUb.js} +10 -10
  22. package/dist/assets/{BankConnectionsSettingsPage-D1Y3V93C-Bfvr_pF_.js → BankConnectionsSettingsPage-Cpg1ObB6-DR3nDiYc.js} +33 -33
  23. package/dist/assets/{BillDetailPage-XL8GxSiQ-Cxb-3w9d.js → BillDetailPage-DOF5ibT6-Bat6GtFx.js} +17 -17
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-wIEW2R5G-CC_GZTsX.js → BillPayApprovalRuleDetailPage-BI1R1zT_-D9iKVE5j.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-kGddvG8V-rTKT6DIU.js → BillPayApprovalRulesPage-B3x4So_i-B5TxdAS5.js} +11 -11
  26. package/dist/assets/{BillPayPromoPage-VBLYqFtx-CSmxPHYz.js → BillPayPromoPage-BqzH5AIp-Bcp4yJP9.js} +10 -10
  27. package/dist/assets/BillPaySetUpPage-DqiNMnRE-abIQ9Tkf.js +42 -0
  28. package/dist/assets/BillingSettingsPage-BOAAGOLs-CdPqd8Hl.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-B76xXQJ9-CbXzjgOR.js +1 -0
  30. package/dist/assets/{BoxItem-DJq3mny1-nPTLB__B.js → BoxItem-DCsIK5bA-DrkhsCS_.js} +4 -4
  31. package/dist/assets/BusinessVerificationPage-hSVDM_Bi-eN7TBacX.js +140 -0
  32. package/dist/assets/{CardNumberSubText-Bo_ZeAR0-DocU3odv.js → CardNumberSubText-B_ZdgYVm-CRvH-CRy.js} +4 -4
  33. package/dist/assets/{CashbackDetailPage-0Yl3lHzq-CJUtuV5y.js → CashbackDetailPage-CNeEt6aE-CsctITKU.js} +32 -32
  34. package/dist/assets/{ChargeCardDetailPage-BaceF_92-G63YAG6z.js → ChargeCardDetailPage-C0a8jqCD-CUfhgRr0.js} +78 -78
  35. package/dist/assets/ChargeCardListPage-_3lJqIYP-iewbQ3J2.js +355 -0
  36. package/dist/assets/{ChargeCardListTable-DE1xnRyd-D2F1GAJW.js → ChargeCardListTable-Kx-_ZAZu-BvnPLhgK.js} +62 -62
  37. package/dist/assets/ChargeCardPromoPage-CKTkcQdI-B3wD2hqP.js +222 -0
  38. package/dist/assets/ChargeCardSetupPage-CGRMFERy-BQ8k2roy.js +36 -0
  39. package/dist/assets/{ChargeCardStatementsPage-bpyamxR5-WxHdE5xc.js → ChargeCardStatementsPage-B_7CdyKP-CMTrFXHN.js} +13 -13
  40. package/dist/assets/ChargeCardUtils-BcwLwgz7-DrE0N0EF.js +1 -0
  41. package/dist/assets/{ChaseOverlay-YVpKSII6-BIyjTgCz.js → ChaseOverlay-ClcKUdpT-Buerorcp.js} +12 -12
  42. package/dist/assets/CheckDepositDrawerPage-I3siSP2H-BrRdb26D.js +206 -0
  43. package/dist/assets/{CollapsableReportTable-CDe76ha7-3Q7qsS_e.js → CollapsableReportTable-ULd7PQST-DRS_mwem.js} +57 -57
  44. package/dist/assets/{CompanyOfficerDetailsSection-CeVdKqY7-DWrcELqw.js → CompanyOfficerDetailsSection-DLaAmVLG-9U29EMpY.js} +32 -32
  45. package/dist/assets/{CompanyPassportCard-O7LbMSSb-D53wb0da.js → CompanyPassportCard-CZQuAyI2-Du4zK6a2.js} +8 -8
  46. package/dist/assets/{CompanyPassportPage-B05q2F4S-DiyGLc2N.js → CompanyPassportPage-DqoVJfO--BezYa4q3.js} +154 -154
  47. package/dist/assets/CompleteProfile-BJV-xUlM-DoWTiT1k.js +52 -0
  48. package/dist/assets/ConfettiBurst-D4ga9TRN-DITQey3L.js +1 -0
  49. package/dist/assets/{CreateOrEditVendorPage-BZ6ZfaSo-Dn1DLrma.js → CreateOrEditVendorPage-C6efUMJu-BO_oyqIH.js} +13 -13
  50. package/dist/assets/{CreditCardPaymentDrawerPage-cABpaIqh-BIRd807Z.js → CreditCardPaymentDrawerPage-26ysDTts-B2nPMyDO.js} +16 -16
  51. package/dist/assets/{CreditCardPaymentPlgSection-BgJ074tY-CfzZdzTd.js → CreditCardPaymentPlgSection-8NQI5gcx-CtF_TfUM.js} +12 -12
  52. package/dist/assets/{CurrencySelectField-BfgtNimH-BYHOS_CH.js → CurrencySelectField-CVNn0XCq-DT36t2lI.js} +6 -6
  53. package/dist/assets/{CustomerOnboardingActivationPage-Czg8rmEW-YInlsWzY.js → CustomerOnboardingActivationPage-D0-sOxDl-Bm2kAKIU.js} +4 -4
  54. package/dist/assets/CustomerOnboardingContainerPage-DoibuhLN-8rsNTWNZ.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DtYTYPnO-DzMzbH73.js → CustomerOnboardingDetailPageSkeleton-B7hkzgkV-BXEF9ppx.js} +17 -17
  56. package/dist/assets/CustomerOnboardingNoStepsPage-CD1QldcG-CzeAfya1.js +66 -0
  57. package/dist/assets/{CustomerOnboardingPage-CXZCAc_N-BfMJFDq7.js → CustomerOnboardingPage-DB1gXgdD-CUHFehdd.js} +6 -6
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-ucFJ1PHr-BwZiAWEx.js → CustomerOnboardingProductSuitePage-DGMmLmq8-Cbgji3lL.js} +12 -12
  59. package/dist/assets/{Dashboard-CAWL19Rr-CvQLInkH.js → Dashboard-CU3UQhxj-VVHJwggZ.js} +25 -25
  60. package/dist/assets/{DashboardReportPage-DYgKY1Ns-_VZzH9Ck.js → DashboardReportPage-DMdKWPtx-DkAIriFg.js} +27 -27
  61. package/dist/assets/DashboardSidebarBackgroundAnimation-BMEqBAyh-vfJQWz_r.js +12 -0
  62. package/dist/assets/{DepositAccTransactionItem-DeOMizAI-BUL1onQj.js → DepositAccTransactionItem-C1-JGWD1-BMvGw-zQ.js} +10 -10
  63. package/dist/assets/DepositAccTransactionListPage-CfwhQ7mC-B3prPdix.js +66 -0
  64. package/dist/assets/{DomesticWireDetailsPage-FsJvVULE-cMWuJpE8.js → DomesticWireDetailsPage-D6fDbjcO-DHXj9Zdn.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-CVCKyDWO-CyzPCm3f.js → DownloadOverlay-CsX54puJ-DeWJ_bTZ.js} +39 -39
  66. package/dist/assets/{DrawerPage-l697kk-T-C0lMqvCR.js → DrawerPage-xYwGDHR6-Ch0S05SG.js} +17 -17
  67. package/dist/assets/EditPeoplePage-9SmQtrJz-Cw0-GcjG.js +55 -0
  68. package/dist/assets/{EditReimbursementDetailPage-COuH1JPm-DF1XIZnj.js → EditReimbursementDetailPage-EUO0BoRp-EVPPjvHX.js} +49 -49
  69. package/dist/assets/{EntityDetailPage-BqjWJTDI-qcUtYQZh.js → EntityDetailPage-CF6LS35a-CeBa6jKf.js} +3 -3
  70. package/dist/assets/{EntitySummarySection-B1zP9dKH-kkSLVqaS.js → EntitySummarySection-C0gR6pkr-AtoRf1sI.js} +11 -11
  71. package/dist/assets/ExpenseAutomationOverviewPage-B0I8v21w-C1ihD57y.js +222 -0
  72. package/dist/assets/{ExpenseAutomationPage-DP0P07VH-DhP4-CZe.js → ExpenseAutomationPage-BorzJM7G-DFmLOpV0.js} +88 -88
  73. package/dist/assets/{ExpressPayPage-CuuS2EDn-D3uvvYo2.js → ExpressPayPage-D0YWItIv-Bvps2LX7.js} +11 -11
  74. package/dist/assets/FeaturePreviewPage-yu8G5cHk-BxkuThqr.js +11 -0
  75. package/dist/assets/{FollowStepsSection-DbS5XlIB--DgM9Akw.js → FollowStepsSection-DRDFxA8H-Dg1nQMTR.js} +11 -11
  76. package/dist/assets/{GlobalReviewListPage-D1a2gbca-BjGUSD3w.js → GlobalReviewListPage-D80yv7U2-CfvcgDlu.js} +11 -11
  77. package/dist/assets/{HelpButton-Dw0OujKs-8AApGgt1.js → HelpButton-D9ONg6cm-CuNxHNm2.js} +7 -7
  78. package/dist/assets/{InformationCardStack-QA9nEJlH-BHcB9j6E.js → InformationCardStack-CbKQwtHm-B7yYvAdF.js} +4 -4
  79. package/dist/assets/{InsightsCardStack-DKM6Xigy-B12rMXAv.js → InsightsCardStack-BWsN9_G2-DemEieR0.js} +13 -13
  80. package/dist/assets/InsightsSection-WZo-AWJt-DohBwSi_.js +27 -0
  81. package/dist/assets/IntegrationsSettingsPage-BLjSJt9r-6t6Ass9f.js +57 -0
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-KC-9TwlR-DtVQ4upN.js → InternationalWireSwiftDetailsPage-BXNDZ1Mk-BO2f4UVV.js} +16 -16
  83. package/dist/assets/{InternationalWireVerificationPage-D59omOr2-BqyFDoPr.js → InternationalWireVerificationPage-BLgPJ1NJ-CMky3KEh.js} +12 -12
  84. package/dist/assets/InviteFormPage-DPQ4vL9--DIhY9xxd.js +312 -0
  85. package/dist/assets/{InvitePageListView-BO-RmmHm-B9WEWx8n.js → InvitePageListView-YUKxUGBn-CGJ_yirg.js} +58 -58
  86. package/dist/assets/InvitePeoplePage-C3vECRns-DBtYnb-4.js +12 -0
  87. package/dist/assets/{InvoiceUploadSection-CibgDVMW-Ct_Yqg-6.js → InvoiceUploadSection-Cx6pXJiN-CgRQkeV5.js} +10 -10
  88. package/dist/assets/{IssueChargeCardPage-CB5DhzQb-Dowc3uml.js → IssueChargeCardPage-DZVtocCO-B49QpSq-.js} +75 -75
  89. package/dist/assets/LabeledAddressValue-BrB2xQYz-B09yXjLA.js +49 -0
  90. package/dist/assets/LabeledAddressValueField-_35LG3OI-C2eHerzm.js +45 -0
  91. package/dist/assets/LabeledControlledCheckBoxField-o0K1dba0-BZipP4yv.js +16 -0
  92. package/dist/assets/{LabeledCreatableSingleSelectField-CIhXQBns-C3KOt5qj.js → LabeledCreatableSingleSelectField-DQwGH21a-D1Rth7u2.js} +8 -8
  93. package/dist/assets/LabeledDocumentField-CfgzkjDY-CbC276Lv.js +41 -0
  94. package/dist/assets/{LabeledDropDownFormattedTextField-pClUx8A9-Dtg8BoKW.js → LabeledDropDownFormattedTextField-DdaTvUbM-C4uCaUJ3.js} +10 -10
  95. package/dist/assets/{LabeledText-CW-bei7--hAClqsQN.js → LabeledText-Hi4MixDN-n_lfAbe7.js} +3 -3
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DZUt2T7b-B09ph3mF.js → LabeledUserSingleSelectWithSubtitlesField-BlVebvR7-CKRRo1Fi.js} +22 -22
  97. package/dist/assets/{LabeledZeniRolesDropDownField-DNZUBYDP-ltAbPko_.js → LabeledZeniRolesDropDownField-Bm7Emr_n-JLIDvMIU.js} +11 -11
  98. package/dist/assets/LinkJETransactionPage-ittEPbhi-BCWKpHna.js +98 -0
  99. package/dist/assets/{LowBalancePopup-DcVkWdb3-vRNfAVIB.js → LowBalancePopup-ChA83eFW-dErt1yuL.js} +6 -6
  100. package/dist/assets/{MagicLinkACHDetailsPage-B3NEKP0z-DUbPO0xw.js → MagicLinkACHDetailsPage-B4PPI06n-DFF50HiV.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-SvX8hE_J-6LOmcKRH.js → MagicLinkDomesticWireDetailsPage-DRK5ytSb-CTgdy9NG.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DnrUY7JS-nyREbLmz.js → MagicLinkInternationalWireDetailsPage-C2pn5xtm-DTn743zM.js} +1 -1
  103. package/dist/assets/MagicLinkSuccessPage-Bag5TE2J-DCGiU-tX.js +31 -0
  104. package/dist/assets/MagicLinkTitleSection-Ch72cLUN-CsTRlAex.js +17 -0
  105. package/dist/assets/{MailingDetailsSection-DFxnpK8F-CiXDBg4h.js → MailingDetailsSection-CrHHLtQN-loRqi7di.js} +1 -1
  106. package/dist/assets/{MeetingCalenderPopup-LNaVbSrR-TEQEw5Mb.js → MeetingCalenderPopup-B_KRQLwc-CemZcgIl.js} +3 -3
  107. package/dist/assets/{Menu-BCNEnlpd-D3With3F.js → Menu-Czq7AdhP-C-oEbm2f.js} +3 -3
  108. package/dist/assets/{MyBankConnectionsSettingsPage-DCURGC-R-BMFNqNjE.js → MyBankConnectionsSettingsPage-y3YOYnQr-BDn2GzBg.js} +13 -13
  109. package/dist/assets/MyPendingActivationChargeCardListPage-DJeYzaPj-Dm2kAILW.js +6 -0
  110. package/dist/assets/MyProfileSettingsPage-hQvoACAQ-DxTxhxW-.js +85 -0
  111. package/dist/assets/{NavBarWithPicker-CBOGjIl3-ajX8qLcM.js → NavBarWithPicker-DUaSGf4d-hMIZgUnq.js} +6 -6
  112. package/dist/assets/{NavigationArrow-C6KDDKXh-BuGIAK_3.js → NavigationArrow-ClEBtns--CBhi3Wa5.js} +5 -5
  113. package/dist/assets/{NavigationDots-CGOsNTLj-ZRX96j5F.js → NavigationDots-BsJyQWOZ-DQaJD5qn.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-C478pZIu-cHWkOmAB.js → NewGlobalMerchantPage-BKZGSrDk-Bj0fLOGG.js} +4 -4
  115. package/dist/assets/{NoDataChart-BSoXaJD0-JxM1S3Cy.js → NoDataChart-Bk9eWo52-DbkTpf0E.js} +8 -8
  116. package/dist/assets/{NoDataTable-iH1r029I-DLkBIcoK.js → NoDataTable-DCQbtvPN-DkrWdcTk.js} +1 -1
  117. package/dist/assets/{NotFoundPage-BQLKWvT9-wlLCbXww.js → NotFoundPage-CGx7FoiU-CZaJl2_e.js} +6 -6
  118. package/dist/assets/{NotificationSettingsPage-R7veJvze-BqnLD-ld.js → NotificationSettingsPage-CoD8eTUS-8OIZSyCr.js} +26 -26
  119. package/dist/assets/NotificationsListConfig-hyqVBWDA-BxI8wBvU.js +1 -0
  120. package/dist/assets/{NotificationsPage-D_vooxhV-BtfMVNB5.js → NotificationsPage-BavPSx1H-CVEnlnNl.js} +60 -60
  121. package/dist/assets/{OpExByVendorPage-DWCdLRPc-peo3zX7H.js → OpExByVendorPage-DD8tCc8E-DObB3ZyW.js} +15 -15
  122. package/dist/assets/{OverlayContainerPage-1M2CZQoK-DROfCTrK.js → OverlayContainerPage-Dg-aOJQU-XdQCUH0G.js} +1 -1
  123. package/dist/assets/PandLWithForecastPage-bSkidYRR-D-Y5VMs1.js +107 -0
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-YLuS3VUf-CaBoPPAw.js → PaymentAccountSetupBillingAddressSection-CGIC_vLw-BIusm93k.js} +12 -12
  125. package/dist/assets/{PeoplePage-CRZ7ywRU-CZLazd8w.js → PeoplePage-C-2NZJpQ-BbdMKhWr.js} +36 -36
  126. package/dist/assets/{PortfolioAllocationFormPage-QP1Aoj30-7H62H89u.js → PortfolioAllocationFormPage-B6JOvEvW-BSgeoBob.js} +12 -12
  127. package/dist/assets/{PortfolioDetails-DOlYfVij-TNjtwW2_.js → PortfolioDetails-Cpv5bi4_-C3K7fsrr.js} +40 -40
  128. package/dist/assets/{ProductsCarousel-CzJnAk3w-MortVhyi.js → ProductsCarousel-WDd37Mjn-NLHTDL58.js} +11 -11
  129. package/dist/assets/{PromoBaseCards-CLKhsYfl-BEkL1oHo.js → PromoBaseCards-BaFkKGkm-Bw-1QrdI.js} +4 -4
  130. package/dist/assets/{QBOConnectionDialog-CiAUTeD2-D061mOJX.js → QBOConnectionDialog-l3ThoJCI-BaUAxpz_.js} +10 -10
  131. package/dist/assets/QBOSetupSection-DSrxcrXI-CnwGvTKQ.js +79 -0
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DCzX_1-a-BNW7pXC_.js → ReimbursementApprovalRuleDetailPage-hb8mPFw0-iXwT5wDy.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRulesPage-DfHVzdAB-hV-2mfna.js → ReimbursementApprovalRulesPage-fs4WqNUv-BvFXhzka.js} +10 -10
  134. package/dist/assets/{ReimbursementDetailPage-Di8XpCvg-B7b0ZH64.js → ReimbursementDetailPage-BYw6Mc2u-ZOQaZirb.js} +14 -14
  135. package/dist/assets/{ReimbursementPromoPage-CJSuqONm-DlocTKyV.js → ReimbursementPromoPage-DzDuwRxU-DEtJqrhv.js} +24 -24
  136. package/dist/assets/ReimbursementSetUpPage-DdT6uu1--I31J4BAO.js +140 -0
  137. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CXvng56s-BxlZIO2c.js +1 -0
  138. package/dist/assets/{ReloadCard-BuBuLupE-Cty15m_t.js → ReloadCard-BPoOhxrs-D8lPs5qf.js} +5 -5
  139. package/dist/assets/ReportTableViewSelector-CkZW5TtX-I9C4FHDc.js +150 -0
  140. package/dist/assets/{ReportsPage-R29_iuow-B4_GPbvP.js → ReportsPage-C-ARKbIQ-CCoiMwuP.js} +6 -6
  141. package/dist/assets/{RevenueChart-D3r_Mgmm-XyYx-Hfz.js → RevenueChart-CuqZW-Jr-B_s8E_iU.js} +1 -1
  142. package/dist/assets/{ReviewDetailsPage-Cimq9su3-CRN9WHDV.js → ReviewDetailsPage-BVN_Uym2-d0L-TTpG.js} +17 -17
  143. package/dist/assets/ReviewOverlay-CIgtaUn1-wggYVp0Q.js +152 -0
  144. package/dist/assets/RoleWithToolTip-Dm4yIm31-3pGQtzkX.js +22 -0
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cbe0zp9o-DxmW_LFp.js → ScheduleDetailsFixedAssetsPage-Ce3z1VPg-SvqdKcr4.js} +13 -13
  146. package/dist/assets/{ScheduleDetailsPage-DxmJdx3I-Bant9wup.js → ScheduleDetailsPage-O69iLj4h-CXnxPezp.js} +3 -3
  147. package/dist/assets/{ScheduleSequenceTable-srpDx2n6-l1UT781V.js → ScheduleSequenceTable-DMIzc2zC-3WngbgQC.js} +27 -27
  148. package/dist/assets/{ScreenRoutes-DPjLo75W.js → ScreenRoutes-D3pC7BH7.js} +1 -1
  149. package/dist/assets/SetUpAccountSection-C1_QjMwF-C_2yznzy.js +378 -0
  150. package/dist/assets/{SetUpDefaultSection-BWt_kYKx-Dc8telSj.js → SetUpDefaultSection-B-ZEHQUb-iLzGQnWH.js} +15 -15
  151. package/dist/assets/SignIn-CXQyYEJI-BbNAmrjc.js +408 -0
  152. package/dist/assets/SignInScreen-DtWV87E_.js +1 -0
  153. package/dist/assets/SpendManagementListViewPage-DEMLoStE-C1nPAYM8.js +123 -0
  154. package/dist/assets/{SpendManagementPerTabPage-CZaPjNjx-Bhxn4ZLQ.js → SpendManagementPerTabPage-CLf-7YyR-60GdYb7a.js} +68 -68
  155. package/dist/assets/{SpendManagementSection-atmLAM4T-DeXVF-9S.js → SpendManagementSection-DIVgOKWy-D35voP2u.js} +22 -22
  156. package/dist/assets/{SpendMgmtSetupAccountSection-h6duObCp-PJLwXWd-.js → SpendMgmtSetupAccountSection-DFyUBsg3-DRIU7IWr.js} +18 -18
  157. package/dist/assets/StatementItem-CSyEn4Pz-CIQDSk8U.js +31 -0
  158. package/dist/assets/StatementsPage-D34J2aZa-9jSr3LU8.js +58 -0
  159. package/dist/assets/{StatusSwitcher-BTTEP3yZ-DwSqL8zG.js → StatusSwitcher-B77NoO6o-CLTHQ9CP.js} +2 -2
  160. package/dist/assets/{SubTabSwitcher-BedfItte-C-XhL99Y.js → SubTabSwitcher-baJGHUgJ-BPKK4q6_.js} +6 -6
  161. package/dist/assets/{SummaryCard--FoJZECU-DjUF26i-.js → SummaryCard-BvuRZj8f-DCeFdYs2.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-DchOWpNF-n_asmH-l.js → TaskManagementPage-vG8GXEJA-DX4VWYkl.js} +50 -50
  163. package/dist/assets/{TimeRangeSwitcher-RLCCDvSp-DYQOEgth.js → TimeRangeSwitcher-CnoZ9Rqp-QTEqL6la.js} +2 -2
  164. package/dist/assets/{TimeframeSwitcher-DABwUJSm-DPkuAUy9.js → TimeframeSwitcher-W5kHnuHI-B5U_sUAn.js} +4 -4
  165. package/dist/assets/{TimeframeSwitcherWithToggle-DMblyoo8-ize9yIra.js → TimeframeSwitcherWithToggle-yLA5y4zJ-CFlsdObg.js} +2 -2
  166. package/dist/assets/{TopExCard-BwOpZFuj-CBPfgwzP.js → TopExCard-oyXmygm8-DV87vjZL.js} +7 -7
  167. package/dist/assets/{TopExDetailPage-BLaZA-dy-BH7Jcbvo.js → TopExDetailPage-4HMIURzm-ulBg6b5V.js} +19 -19
  168. package/dist/assets/{TransactionDetailPage-BSDcUBWF-RsUJuQC6.js → TransactionDetailPage-CIw_7B72-CcQHWkUG.js} +55 -55
  169. package/dist/assets/{TransactionList-CnOj_LA1-DJxHv2ky.js → TransactionList-B9M4ftBY-9Xoftl5l.js} +27 -27
  170. package/dist/assets/{TransactionListBig-vNVdUmc6-C0TF6R2i.js → TransactionListBig-D5SRFdH7-CUrzZcWs.js} +26 -26
  171. package/dist/assets/TransactionListPage-DCiIH4ES-DulMTWBW.js +35 -0
  172. package/dist/assets/TransactionVendorDetailPage-BNY3vBm0-Cw6AkzlK.js +80 -0
  173. package/dist/assets/{TransferDrawerPage-BMfeqbNy-BPjvRE9M.js → TransferDrawerPage-DdgfrrRM-BBEomNnq.js} +36 -36
  174. package/dist/assets/{TreasuryOverviewPage-B0vqbfmt-Cncu2g9Z.js → TreasuryOverviewPage-COFbWN48-DSaB6zFu.js} +48 -48
  175. package/dist/assets/{TreasuryPromoPage-CQDA9os9-W40fA_vr.js → TreasuryPromoPage-EYqV98OG-CvFj_oTJ.js} +22 -22
  176. package/dist/assets/{TreasurySetupPage-ChKM9npc-DNsYbGBz.js → TreasurySetupPage-DEz3fabz-BopnXkx6.js} +9 -9
  177. package/dist/assets/TreasuryStatementsPage-JSf4JXXI-CSff_RYi.js +58 -0
  178. package/dist/assets/TreasuryTaxLetterPage-Id6od0WY-D3YHLWYb.js +58 -0
  179. package/dist/assets/{TreasuryTransferOrReviewPage-wt-8Okdj-CDylzOrV.js → TreasuryTransferOrReviewPage-D25tiep8-CregJCyC.js} +96 -96
  180. package/dist/assets/TrendChart-xBdkrxjQ-BHwV7FvD.js +16 -0
  181. package/dist/assets/{TrendWithTransactions-CaExMJVA-C_0n3oh-.js → TrendWithTransactions-CQdqelNB-BxApJhmm.js} +10 -10
  182. package/dist/assets/{UncategorizedAccountsMappingPage-CEHiflWp-D5pq-zY_.js → UncategorizedAccountsMappingPage-DaSjSoeK-2h_6-Ko4.js} +12 -12
  183. package/dist/assets/{UnitIntegrationPage-CNZbRdtN-B7b4N3wp.js → UnitIntegrationPage-zM4qGyLV-CinH_PeY.js} +4 -4
  184. package/dist/assets/UploadAdditionalDocumentOverlay-Y64l7Rho-BebTHNkT.js +38 -0
  185. package/dist/assets/{Vendor2FAPopup-CqQOI5F6-CXSUTyq5.js → Vendor2FAPopup-DO-eL5Ot-DjhAlKT-.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-BwYEhxJe-BB1a4fFU.js → VendorACHDetailsPage-BDROr_dC-CAZxPDsT.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-C5zTkWhA-Uj3MwLUr.js → VendorDetailPage-B8S-gV53-DaZx1eZP.js} +19 -19
  188. package/dist/assets/{VendorDomesticWireDetailsPage-DrwX_ukC-DBWePN-A.js → VendorDomesticWireDetailsPage-BrxQuXus-DYcgNh9D.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-C3wjgkez-Dr8QyAeR.js → VendorFiling1099EditablePage-BK-XGzxl-CVlxfcrS.js} +16 -16
  190. package/dist/assets/{VendorFirstReviewPage-BmRvA38Y-B_gKBGgZ.js → VendorFirstReviewPage-CrSdEY-q-DsAt-Zva.js} +31 -31
  191. package/dist/assets/{VendorInternationalWireDetailsPage-DtG2HQ0g-WjpK5qgH.js → VendorInternationalWireDetailsPage-DuE2n00d-C0HY8jsi.js} +14 -14
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DLSMDEiO-DSuW-yyD.js → VendorInternationalWireSwiftDetailsPage-_0douojx-uTqjQvZ8.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-5QJEJeCr-ovimcD6K.js → VendorsAccountsSection-C2McA3-C-CAGlOz8b.js} +4 -4
  194. package/dist/assets/VerifyDevice-BOb4uKLq-B9iw9cGN.js +96 -0
  195. package/dist/assets/{WarningsDrawerPage-rcWR2KXe-BgEVT8fd.js → WarningsDrawerPage-f9lS8sCp-Yx0s05ZC.js} +11 -11
  196. package/dist/assets/{ZeniAccountDetailPage-i8C1YB1W-CGdZ9Fyc.js → ZeniAccountDetailPage-BnWDpR9g-BpHh2OhY.js} +27 -27
  197. package/dist/assets/{ZeniAccountListViewPage-DyHxeqvW-CBT4R7Fd.js → ZeniAccountListViewPage-D9ORn0_O-BQPutSAN.js} +26 -26
  198. package/dist/assets/ZeniAccountNavBarPieces-4jG3uNmW-B7nBCOPn.js +14 -0
  199. package/dist/assets/{ZeniAccountPromoPage-C5icpLpX-DtIf5jxs.js → ZeniAccountPromoPage-CswETXvx-DfER_hgz.js} +21 -21
  200. package/dist/assets/ZeniAccountSetupPage-7B6Vgmg6-DsByA6Pf.js +36 -0
  201. package/dist/assets/{ZeniCopyright-BX1-vpnA-B9MOS9At.js → ZeniCopyright-DrkcGEYL-D8qMh6Rn.js} +1 -1
  202. package/dist/assets/ZeniTransferAmountSlider-Bw5S2HTx-CfuKg8UT.js +63 -0
  203. package/dist/assets/{add-to-wallet-DgdBD8_G-XP_wmSR7.js → add-to-wallet-DgdBD8_G-y8nGTHEa.js} +1 -1
  204. package/dist/assets/{analyticsHelper-BFpl-Msc.js → analyticsHelper-B46gu6zH.js} +1 -1
  205. package/dist/assets/{analyticsHelper-B3JHS_Qr-D08xKZsr.js → analyticsHelper-C37dCyKv-Ci3W403B.js} +1 -1
  206. package/dist/assets/{arrow-south-east-round-PEovUgvH-DnzbA_s-.js → arrow-south-east-round-PEovUgvH-D6oVD1ix.js} +1 -1
  207. package/dist/assets/{auto-transfer-rule-mbafm5D3-BA0iOPjL.js → auto-transfer-rule-mbafm5D3-DsDlaCxy.js} +1 -1
  208. package/dist/assets/{chartTypes-CICM6xJ3-DAE7LSQz.js → chartTypes-Cknnnhq_-BKEap-MQ.js} +1 -1
  209. package/dist/assets/{commonDimensions-EDu7gcyc-DiuxcTjp.js → commonDimensions-D0ovCC4N-B0G2UdHm.js} +1 -1
  210. package/dist/assets/{crypto-DPjkCRYF.js → crypto-BDNqpTKX.js} +1 -1
  211. package/dist/assets/{detailCommon-DAG_rX2o-B0QDOSIy.js → detailCommon-CKa5_aP2-CTgqAfFe.js} +9 -9
  212. package/dist/assets/{downloadPdf-DCmFpTS--B48gcxsA.js → downloadPdf-BJozh7zE-M2Rp1JlQ.js} +1 -1
  213. package/dist/assets/{gift-box-Cmt9OgIZ-Bnh-gm_T.js → gift-box-Cmt9OgIZ-BqWjP_Ex.js} +1 -1
  214. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DTLZpyxa.js → graphic-no-data-l-DU4J8fDt-BBc6l6Au.js} +1 -1
  215. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-W-GGrHSF.js → graphic-no-data-net-burn-l-CzmycA0m-DANomItj.js} +1 -1
  216. package/dist/assets/handshake-BPg58FML-CVKh3Eii.js +1 -0
  217. package/dist/assets/index-BAKoUD4u.css +1 -0
  218. package/dist/assets/{index-D9zAXs3-.js → index-Cnh9fv8f.js} +14551 -6041
  219. package/dist/assets/{liveblocks-C2xecagE.js → liveblocks-CP09Cz-7.js} +2 -2
  220. package/dist/assets/{lodash-D52QloPU.js → lodash-BWJmwMit.js} +1 -1
  221. package/dist/assets/{mapLoadingInProgressToTreeNode-CtvSoL64-CS0Ie6NV.js → mapLoadingInProgressToTreeNode-DttwbPj7-BWaq84fe.js} +1 -1
  222. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BujdmE12-MD1XTXUW.js → mapSectionWithAcOnlyToTreeNode-CKUACdvT-96C16ahX.js} +1 -1
  223. package/dist/assets/{mapSpacerToTreeNode-CY5XRFK--DC8NIrxN.js → mapSpacerToTreeNode-CeH4tptC-BD7Zb85P.js} +1 -1
  224. package/dist/assets/{mapTimeframeBalancesToTreeNode-DVzQl7Bb-DDS_OBZQ.js → mapTimeframeBalancesToTreeNode-CElz2Cb0-CuxVDYys.js} +1 -1
  225. package/dist/assets/{mapTimeframeBalancesToTreeNode-DLd8jhti-Bxl7AnhE.js → mapTimeframeBalancesToTreeNode-TLHaVbTv-OZW2z0IX.js} +1 -1
  226. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CnZa-P_--DVtFUdDi.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D96sl236-Da50HxFS.js} +1 -1
  227. package/dist/assets/{mui-Ty75qFQF.js → mui-C42whWwM.js} +1 -1
  228. package/dist/assets/{page-detail-CWX5S47F-lMo0MYzU.js → page-detail-CWX5S47F-BBa5wfAm.js} +1 -1
  229. package/dist/assets/{play-icon-KtJH-UgF-Bm3lFkFZ.js → play-icon-XWt7iQeF-7dWJ4Dkg.js} +3 -3
  230. package/dist/assets/{radio-default-CiSgisfh-Cuu8ymvq.js → radio-default-CiSgisfh-Z5w0WcFM.js} +1 -1
  231. package/dist/assets/{redux-CEhZD0hA.js → redux-2gfZRks6.js} +1 -1
  232. package/dist/assets/{routing-lj7oVq6C.js → routing-VwiwPky5.js} +1 -1
  233. package/dist/assets/{sentry-BE5FTzpq.js → sentry-osuhWjvS.js} +1 -1
  234. package/dist/assets/{shield-DOlUxcFf-CDkNAu2o.js → shield-DOlUxcFf-bFVWRY1X.js} +1 -1
  235. package/dist/assets/{toCOABalancesWithID-B0F8-Lgv-mwB6oBaM.js → toCOABalancesWithID-DACfD5ZE-BgoTIDec.js} +1 -1
  236. package/dist/assets/{toChartData-D_8GUwpP-CFofR1sw.js → toChartData-C6ap15NT-ByCawuJX.js} +1 -1
  237. package/dist/assets/{transaction-placeholder-CpOwZAMG-CGEA36Na.js → transaction-placeholder-CpOwZAMG-DYG2_sCF.js} +1 -1
  238. package/dist/assets/{treasuryColorHelper-C2d7wCjK-BWDQfCvz.js → treasuryColorHelper-DmVCoHv9-Cx3TVoRp.js} +1 -1
  239. package/dist/assets/{uploadAttachment-CxwBrcm3-DDVTRYQ0.js → uploadAttachment-D1XtO8---B9AANbCr.js} +18 -18
  240. package/dist/assets/{uploadReceipts-DIYsXeyf-_3VvjCR-.js → uploadReceipts-Cl7e8jci-C-56lzXC.js} +1 -1
  241. package/dist/assets/{useLongPress-GCK2COYQ-B0RUPzZV.js → useLongPress-GCK2COYQ-BoJXFS3o.js} +1 -1
  242. package/dist/assets/{usp-line-BBd1wKwW-ZlUrfnG1.js → usp-line-BBd1wKwW-u-VMxix8.js} +1 -1
  243. package/dist/assets/{vendor-Bs1fkIUX.js → vendor-rkTZJa59.js} +1 -1
  244. package/dist/assets/{verification-CW6uEyev-CQXAdM_w.js → verification-CW6uEyev-BVrJsi0i.js} +1 -1
  245. package/dist/index.html +1 -1
  246. package/package.json +3 -3
  247. package/dist/assets/ACHDetailsPage-TewccRkX-DetITKOl.js +0 -21
  248. package/dist/assets/AccountInfoPage-CuytgM09-DMWlq-IF.js +0 -18
  249. package/dist/assets/ApAgingDetailPage-CtXSUVGC-DdWwytoq.js +0 -46
  250. package/dist/assets/AppBasePage-D6MgS-da-2jH4Fzgr.js +0 -70
  251. package/dist/assets/ApprovalRulesSettingsPage-BwnaDPqA-BMHJ2n3v.js +0 -47
  252. package/dist/assets/ArAgingChart-BvG_iPlt-BYubF9ZD.js +0 -24
  253. package/dist/assets/ArAgingDetailPage-Sm4672LS-o1itnQt5.js +0 -46
  254. package/dist/assets/AuditReportDrawerPage-CaFo0k9s-NaTvWx96.js +0 -369
  255. package/dist/assets/BillPaySetUpPage-CTNtHQBM-CpoUfnMM.js +0 -42
  256. package/dist/assets/BillingSettingsPage-CR0doM6R-DRs8JS8S.js +0 -44
  257. package/dist/assets/BillsBulkReviewDrawerPage-B0ebreRX-D7v6qOnU.js +0 -1
  258. package/dist/assets/BusinessVerificationPage-B6lyqGIK-BfLlNZ0a.js +0 -140
  259. package/dist/assets/BusyIndication-_H8LL7GJ-BjR55KdD.js +0 -9
  260. package/dist/assets/ChargeCardListPage-_YORyJOy-uqdfjUZk.js +0 -355
  261. package/dist/assets/ChargeCardPromoPage-DO2UJyXm-Dwx7STGG.js +0 -222
  262. package/dist/assets/ChargeCardSetupPage-De5jDB3D-CMdmpmLu.js +0 -36
  263. package/dist/assets/ChargeCardUtils-DYpmF85C-qBaPG14m.js +0 -1
  264. package/dist/assets/CheckDepositDrawerPage-Dj2do0Un-DCNBKUNr.js +0 -206
  265. package/dist/assets/CompleteProfile-B_dl9xEx-DFZ3KU15.js +0 -52
  266. package/dist/assets/ConfettiBurst-ChCmpiHq-BBDSx_jo.js +0 -1
  267. package/dist/assets/ControlledCheckBoxField-BIqM2o6X-Ml88Uf7U.js +0 -74
  268. package/dist/assets/CustomerOnboardingContainerPage-Ciaw11Nw-O_DtjvXM.js +0 -1
  269. package/dist/assets/CustomerOnboardingNoStepsPage-CdOEZjmC-HqvGWI7K.js +0 -66
  270. package/dist/assets/DashboardSidebarBackgroundAnimation-CblfOXOJ-B4cbMZpc.js +0 -12
  271. package/dist/assets/DepositAccTransactionListPage-2kpIHXLb-j8eQ9Syw.js +0 -66
  272. package/dist/assets/EditPeoplePage-CwhUp4W2-CnFSjC3L.js +0 -55
  273. package/dist/assets/EmptySearchResults-CB9-FwYT-DCczU5qh.js +0 -46
  274. package/dist/assets/ExpenseAutomationOverviewPage-CKokJTC4-C9VvWXen.js +0 -222
  275. package/dist/assets/FeaturePreviewPage-D90G_5Q8-CnQvTfz2.js +0 -11
  276. package/dist/assets/Header-DLZFUQF8-BI2bQ6MH.js +0 -226
  277. package/dist/assets/HealthListRow-iF093_lw-DegqmjBi.js +0 -210
  278. package/dist/assets/HealthMonitorDetailDrawer-BJRgJJOH-BzVkHFE6.js +0 -401
  279. package/dist/assets/HealthMonitorPage-BT0gIPV6-BAgQvawR.js +0 -108
  280. package/dist/assets/InsightsSection-DxpsNIIy-D73VhmA2.js +0 -27
  281. package/dist/assets/IntegrationsSettingsPage-DEOHHrS4-xD8BgFGo.js +0 -57
  282. package/dist/assets/InviteFormPage-CU5_JoYd-DtlUlrhp.js +0 -312
  283. package/dist/assets/InvitePeoplePage-Btu9ayOz-bG-WZTzF.js +0 -12
  284. package/dist/assets/LabeledAddressValue-tO6Kg-ki-DIZXgDEF.js +0 -49
  285. package/dist/assets/LabeledAddressValueField-CkveEJJG-BEvwzrCB.js +0 -45
  286. package/dist/assets/LabeledControlledCheckBoxField-B50HdRDc-BPCXXpG-.js +0 -16
  287. package/dist/assets/LabeledDocumentField-B8uyJA2N-B3iZ1bpr.js +0 -41
  288. package/dist/assets/LabeledEmailInputField-D5OBo0RU-Cn7DEiyr.js +0 -182
  289. package/dist/assets/LabeledGroupedCheckBoxField-DLSgfRui-CIvqEp4U.js +0 -82
  290. package/dist/assets/LabeledItemWithButton-CNlRAl-1-D8RdmCNz.js +0 -21
  291. package/dist/assets/LabeledNameField-B73hOD1K-DrzOl55q.js +0 -141
  292. package/dist/assets/LabeledSingleSelectField-nPVDbcr0-DXhzL0iF.js +0 -136
  293. package/dist/assets/LabeledSingleSelectWithoutClearableField-DgT7faZC-Or3zfyeO.js +0 -38
  294. package/dist/assets/LinkJETransactionPage-ChyKb7xl-LR_CFAXE.js +0 -98
  295. package/dist/assets/Loader-Cqmoylhp-CKPikayq.js +0 -32
  296. package/dist/assets/MagicLinkSuccessPage-7bTkYgEa-CPPkAGGs.js +0 -31
  297. package/dist/assets/MagicLinkTitleSection-BlxCsth7-BHITpmKu.js +0 -17
  298. package/dist/assets/ManagementPage-D5egEDwP-uTkBBFJq.js +0 -556
  299. package/dist/assets/MatchingOperatorDropdown-C5zSNKmV-DBpzsPUC.js +0 -130
  300. package/dist/assets/MonthEndEmailDrawerCustomerRequestPage-CK7yjkYx-Dj2GK4HO.js +0 -39
  301. package/dist/assets/MonthEndReportHistoricDataPage-BuRBd_9k-DDKlEI2q.js +0 -124
  302. package/dist/assets/MonthEndReportPage-DOTCU96W-VybM2w9h.js +0 -28
  303. package/dist/assets/MoreMenuButton-Cj6SIPVt-CYCCFBqM.js +0 -134
  304. package/dist/assets/MyPendingActivationChargeCardListPage-BFe1hoDt-CfBCldAO.js +0 -6
  305. package/dist/assets/MyProfileSettingsPage-B7zND-Ux-BN19QlhA.js +0 -85
  306. package/dist/assets/NavBar-BjyxKUvF-gwYjTp7H.js +0 -189
  307. package/dist/assets/NavHeader-9VET6uub-DBlTa1KF.js +0 -236
  308. package/dist/assets/NotificationsListConfig-CyQxEQ13-D7e4Z7fR.js +0 -1
  309. package/dist/assets/OnboardingCustomerPage-jmb-3M9K-C-4WzmwX.js +0 -476
  310. package/dist/assets/OnboardingPage-LCaIErMj-Bhag4ahh.js +0 -408
  311. package/dist/assets/PandLWithForecastPage-3h8Q4kZg-CZgSqzQW.js +0 -107
  312. package/dist/assets/PortfolioPage-BfNGByGB-ea6OEgaP.js +0 -237
  313. package/dist/assets/QBOSetupSection-D-Q_DVva-q5JlqA-2.js +0 -79
  314. package/dist/assets/ReimbursementSetUpPage-5OtsfDPV-DQz8dNtG.js +0 -140
  315. package/dist/assets/ReimbursementsBulkReviewDrawerPage-BX722SXa-YTQZVgWe.js +0 -1
  316. package/dist/assets/ReloadContainer-BRXUxBxu-BAp5l7-f.js +0 -13
  317. package/dist/assets/ReloadContainer-fx3kImdJ-D2lKf-Yd.js +0 -17
  318. package/dist/assets/ReportTableViewSelector-W7zYmKIW-BpJdvlc6.js +0 -150
  319. package/dist/assets/ReviewOverlay-Bz1kr6zu-Dw4JE5ud.js +0 -152
  320. package/dist/assets/ReviewPage-Cel3qzEQ-DiaZxW5f.js +0 -306
  321. package/dist/assets/RoleWithToolTip-CUogd8qi-BfjjZiS9.js +0 -22
  322. package/dist/assets/SetUpAccountSection-2UGQI7fx-D_tNKXyG.js +0 -378
  323. package/dist/assets/SignIn-BF4ojxcy-ignSyaGW.js +0 -408
  324. package/dist/assets/SignInScreen-DjQXT0cG.js +0 -1
  325. package/dist/assets/SpendManagementListViewPage-DbfQ_jzA-sW1BTRjR.js +0 -123
  326. package/dist/assets/StatementItem-DgZtQdC5-CijP321B.js +0 -31
  327. package/dist/assets/StatementsPage-Az4ZzxA6-CY7Q-Hv-.js +0 -58
  328. package/dist/assets/StatusTag-MQXQGj2--SPp-Hljk.js +0 -38
  329. package/dist/assets/SubscriptionAddPlanPage-Bn4CUx_v-BcoEoxy8.js +0 -59
  330. package/dist/assets/SubscriptionDetailPage-BZDJEjR1-DavSO9K8.js +0 -216
  331. package/dist/assets/SubscriptionPage-Tpj1RZco-CfI0x1AO.js +0 -282
  332. package/dist/assets/SubscriptionSnackBar-CwdSE1Xz-BYx3vQ0D.js +0 -57
  333. package/dist/assets/SubscriptionSummaryPage-Dep_cm58-D3JscAEe.js +0 -176
  334. package/dist/assets/SubscriptionUpdatePlanPage-5_wWKxme-CSTH4683.js +0 -408
  335. package/dist/assets/SuccessAnimation-BtFsm6Oj-BU_bae75.js +0 -13
  336. package/dist/assets/TaskDetailPage-aleDjLBo-DJGRUSEM.js +0 -775
  337. package/dist/assets/TaskListRow-xLyzXOYn-CLZGelcY.js +0 -403
  338. package/dist/assets/TaskManagerPage-Dye8P0ua-jLCJwLcT.js +0 -176
  339. package/dist/assets/TextHighlightSection-Y0L_w9RR-D8_NKTqM.js +0 -584
  340. package/dist/assets/TransactionListPage-CrUtG598-DR2tdFwA.js +0 -35
  341. package/dist/assets/TransactionVendorDetailPage-DjuFdK9S-Bn1DMv6P.js +0 -80
  342. package/dist/assets/TreasuryStatementsPage-C0oRa1nh-BiT4V4PF.js +0 -58
  343. package/dist/assets/TreasuryTaxLetterPage-BuGFH3YF-BkeOYDmd.js +0 -58
  344. package/dist/assets/TrendChart-a95Aii8O-Crc1NrOm.js +0 -16
  345. package/dist/assets/UploadAdditionalDocumentOverlay-Bxc2MMx0-Cpl1vzGP.js +0 -38
  346. package/dist/assets/UserMultiSelectField-UsIy6n-8-DdaF7B7O.js +0 -154
  347. package/dist/assets/UserWithTimestamp-i09mOCAu-Cw5lsbIN.js +0 -38
  348. package/dist/assets/VerifyDevice-DBnFzHim-C-LQbPfS.js +0 -67
  349. package/dist/assets/ZeniAccountNavBarPieces-CsSdfTKg-5k_P9-6W.js +0 -14
  350. package/dist/assets/ZeniAccountSetupPage-BXHIQxgf-DcysatW3.js +0 -36
  351. package/dist/assets/ZeniAvatar-Cendj_Bv-Dp3oXY0H.js +0 -13
  352. package/dist/assets/ZeniDatePicker-El_phkQ0-z80YcUbm.js +0 -187
  353. package/dist/assets/ZeniDatePickerField-3DaqcxMB-QK1YG1pI.js +0 -1
  354. package/dist/assets/ZeniTransferAmountSlider-CxxqQPB_-BqeHyBds.js +0 -63
  355. package/dist/assets/add-C0nqJFLa-C2eApjPK.js +0 -1
  356. package/dist/assets/avatar-Dz7aEm3d-D64JGSQG.js +0 -1
  357. package/dist/assets/calculateSize-BUfcd-gF-DqmEdKsX.js +0 -1
  358. package/dist/assets/clock-CJkylEKt-CJ3FIZ_o.js +0 -1
  359. package/dist/assets/cockpitConstants-CT7OARAT-C430UcjZ.js +0 -1
  360. package/dist/assets/cockpitHelpers-CSVzBgeI-BARdDEyf.js +0 -1
  361. package/dist/assets/cockpitHelpers-Y5_CbmvR-BhJ5C_6h.js +0 -1
  362. package/dist/assets/common-CU4uS1La-DdHnWUCD.js +0 -1
  363. package/dist/assets/dollar-round-D18u7nlm-CXc5TAek.js +0 -1
  364. package/dist/assets/double-tick-D6s_OvsM-DFvZDijg.js +0 -1
  365. package/dist/assets/filter-cZIFUNvj-B9dfJXS9.js +0 -1
  366. package/dist/assets/getCockpitColor-YYDF6h1T-D0_aeMEA.js +0 -1
  367. package/dist/assets/groupHelper-CTA_J_U7-CPJTcSSg.js +0 -1
  368. package/dist/assets/hyperlink-DQyCeXx2-ChMvASRu.js +0 -1
  369. package/dist/assets/index-DVThwdcI.css +0 -1
  370. package/dist/assets/intuit-quick-books-logo-qyL3_3cm-Cj0LgD2I.js +0 -1
  371. package/dist/assets/loader-BwDk7JSW-DoE-nOgh.js +0 -1
  372. package/dist/assets/money-2cg1MuG4-BaDu1jFd.js +0 -1
  373. package/dist/assets/note-DCtChU1T-DArfpxk4.js +0 -1
  374. package/dist/assets/page-summary-D7_VQHwN-DEY33DNc.js +0 -1
  375. package/dist/assets/sectionColor-euXcOIkp-Cmmp8esL.js +0 -1
  376. package/dist/assets/tick-round-CPC394H5-C8roQJBa.js +0 -1
  377. package/dist/assets/undo-b_3XZ5CX-Xpx_MAU7.js +0 -1
  378. package/dist/assets/zeniDatePicker.helpers-Bv0wGqkO-0jS7nOtw.js +0 -1
@@ -1,4 +1,4 @@
1
- import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,K as M,I as ui,B as fo,d5 as pi,cH as xo,l as A,F as W,n as w,d6 as Vi,a8 as _,d7 as Ot,bC as Mt,d8 as Nt,x as D,cn as It,z as Di,b as Je,d9 as Ne,bg as K,i as mo,u as ce,af as Ri,da as Gi,a9 as V,q as Ae,cQ as wo,bB as Pt,bE as gi,$ as yo,O as ye,db as Xe,dc as Be,dd as tt,k as C,bK as ne,de as bo,y as zt,df as Re,dg as fi,dh as xi,di as ko,dj as jo,ao as Ei,al as So,bX as Ft,bW as Tt,dk as Co,am as Hi,b_ as Ki,bm as vo,dl as $o,dm as mi,dn as wi,dp as _o,dq as Lo,bw as Ao,b5 as Bo,dr as Wo}from"./index-D9zAXs3-.js";import{n as a,b as I,w as Oo,i as P}from"./vendor-Bs1fkIUX.js";import{N as it,D as Mo,R as No,B as be,u as $}from"./AccountRow-COaolUm5-Bsrm5YYV.js";import se from"./Loader-Cqmoylhp-CKPikayq.js";import{p as Vt}from"./sectionColor-euXcOIkp-Cmmp8esL.js";function Z(e,i){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return q("0,0",e?.balance)}function J(e){return q("0,0",e?.forecast)}function Yi(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.totalPercentValue)}return q("0,0",e?.totalBalance)}function bt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.forecastPercentValue)}return q("0,0",e?.totalForecast)}function de(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const i=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function he(e){if(e!=null&&e.forecast!=null){const i=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return q("0,0",Object.assign({},e.forecast,{amount:i}))}else return q("0,0",null)}function Ui(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const i=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function qi(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const i=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return q("0,0",Object.assign({},e.totalForecast,{amount:i}))}else return q("0,0",null)}const Ie=(e,i,n)=>{const{startDate:o,balanceType:r}=i,{dateFormat:{visual:l}}=W.getLocalizedStrings();switch(n){case"month":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.MMMYYYYFormat,e)}`:ft(r,n);case"quarter":return r==="default"||r==="default_with_percent"?`${W.getLocalizedStrings().reports.quarterPrefix}${A.formatZeniDate(o,l.QYYYYformat,e)}`:ft(r,n);case"year":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.YYYYformat,e)}`:ft(r,n);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function ft(e,i){return W.getLocalizedStrings().downloadReport.additionalColumns.labels[i][e]}const ig=(e,i,n)=>{const o=i.length==0?e:`${e}_${i.join("_")}`;return n!=null&&n.trim().length>0?`${o}_${n}`:`${o}_${go(10)}`},Io=a.div`
1
+ import{j as t,aj as po,_ as m,be as fe,a0 as q,dj as go,o as c,c as ee,a2 as hi,e as M,E as ui,y as fo,dk as pi,dl as xo,l as A,M as W,q as w,dm as Vi,dn as Ot,a8 as _,dp as Mt,bG as Nt,dq as It,C as D,cy as Pt,Y as Di,T as Qe,dr as Ne,bg as K,m as mo,u as ce,af as Ri,ds as Gi,a9 as V,r as Ae,dt as wo,du as se,bF as zt,bt as gi,d as yo,B as ye,dv as Xe,dw as Be,dx as tt,n as C,bN as ne,dy as bo,v as Ft,dz as Re,dA as fi,dB as xi,dC as ko,dD as jo,ao as Ei,al as So,c2 as Tt,c1 as Vt,dE as Co,am as Hi,c5 as Ki,bm as vo,dF as $o,dG as mi,dH as wi,dI as _o,dJ as Lo,bA as Ao,b5 as Bo,dK as Wo}from"./index-Cnh9fv8f.js";import{n as a,b as I,f as Oo,j as P}from"./vendor-rkTZJa59.js";import{L as it,N as Mo,D as No,B as be,u as $}from"./AccountRow-D01C0A0f-QA2NRq7R.js";function Z(e,i){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return q("0,0",e?.balance)}function Q(e){return q("0,0",e?.forecast)}function Yi(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.totalPercentValue)}return q("0,0",e?.totalBalance)}function bt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.forecastPercentValue)}return q("0,0",e?.totalForecast)}function de(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const i=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function he(e){if(e!=null&&e.forecast!=null){const i=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return q("0,0",Object.assign({},e.forecast,{amount:i}))}else return q("0,0",null)}function Ui(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const i=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function qi(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const i=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return q("0,0",Object.assign({},e.totalForecast,{amount:i}))}else return q("0,0",null)}const Ie=(e,i,n)=>{const{startDate:o,balanceType:r}=i,{dateFormat:{visual:l}}=W.getLocalizedStrings();switch(n){case"month":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.MMMYYYYFormat,e)}`:ft(r,n);case"quarter":return r==="default"||r==="default_with_percent"?`${W.getLocalizedStrings().reports.quarterPrefix}${A.formatZeniDate(o,l.QYYYYformat,e)}`:ft(r,n);case"year":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.YYYYformat,e)}`:ft(r,n);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function ft(e,i){return W.getLocalizedStrings().downloadReport.additionalColumns.labels[i][e]}const eg=(e,i,n)=>{const o=i.length==0?e:`${e}_${i.join("_")}`;return n!=null&&n.trim().length>0?`${o}_${n}`:`${o}_${go(10)}`},Io=a.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  width: 100%;
@@ -80,12 +80,12 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
80
80
  height: ${c.sp8};
81
81
  justify-content: flex-start;
82
82
  align-items: center;
83
- `,Qo=a.div`
83
+ `,Jo=a.div`
84
84
  display: flex;
85
85
  flex-direction: row;
86
86
  justify-content: flex-end;
87
87
  width: ${$.leftHeadingWidth}px;
88
- `,Jo=a.div`
88
+ `,Qo=a.div`
89
89
  display: flex;
90
90
  flex: 1 1 auto;
91
91
  flex-direction: row;
@@ -125,7 +125,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
125
125
  width: ${$.spacerLineWidth}px;
126
126
  `,lr=a.div`
127
127
  width: ${$.statusWidth}px;
128
- `,Ge=({title:e,type:i})=>t.jsx(tr,{widthValue:$[i],children:t.jsx(er,{children:e})});function sr({sectionTitle:e,height:i,isLoading:n}){const o=W.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(qo,{height:i,children:t.jsxs(Zo,{children:[t.jsx(Qo,{children:t.jsx(se,{isLoading:n,customStyle:{height:c.sp4,width:$.leftLabelWidth},children:t.jsx(Xo,{children:e})})}),t.jsxs(Jo,{children:[t.jsx(ir,{children:t.jsx(se,{isLoading:n,customStyle:{height:c.sp7,width:$.bankBalanceTimeframeWidth,borderRadius:c.sp2},children:t.jsx(Ge,{title:o.bankBalance,type:"bankBalanceTimeframeWidth"})})}),t.jsx(nr,{}),t.jsx(or,{children:t.jsx(se,{isLoading:n,customStyle:{height:c.sp7,width:$.clearedBalanceTimeframeWidth,borderRadius:c.sp2},children:t.jsx(Ge,{title:o.clearedBalance,type:"clearedBalanceTimeframeWidth"})})}),t.jsx(rr,{children:t.jsx(se,{isLoading:n,customStyle:{height:c.sp7,width:$.varianceTimeframeWidth,borderRadius:c.sp2},children:t.jsx(Ge,{title:o.variance,type:"varianceTimeframeWidth"})})}),t.jsx(ar,{}),t.jsx(lr,{children:t.jsx(se,{isLoading:n,customStyle:{height:c.sp7,width:$.statusTimeframeWidth,borderRadius:c.sp2},children:t.jsx(Ge,{title:o.status,type:"statusTimeframeWidth"})})})]})]})})}const cr=a.div`
128
+ `,Ge=({title:e,type:i})=>t.jsx(tr,{widthValue:$[i],children:t.jsx(er,{children:e})});function sr({sectionTitle:e,height:i,isLoading:n}){const o=W.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(qo,{height:i,children:t.jsxs(Zo,{children:[t.jsx(Jo,{children:t.jsx(se,{isLoading:n,customStyle:{height:c.sp4,width:$.leftLabelWidth},children:t.jsx(Xo,{children:e})})}),t.jsxs(Qo,{children:[t.jsx(ir,{children:t.jsx(se,{isLoading:n,customStyle:{height:c.sp7,width:$.bankBalanceTimeframeWidth,borderRadius:c.sp2},children:t.jsx(Ge,{title:o.bankBalance,type:"bankBalanceTimeframeWidth"})})}),t.jsx(nr,{}),t.jsx(or,{children:t.jsx(se,{isLoading:n,customStyle:{height:c.sp7,width:$.clearedBalanceTimeframeWidth,borderRadius:c.sp2},children:t.jsx(Ge,{title:o.clearedBalance,type:"clearedBalanceTimeframeWidth"})})}),t.jsx(rr,{children:t.jsx(se,{isLoading:n,customStyle:{height:c.sp7,width:$.varianceTimeframeWidth,borderRadius:c.sp2},children:t.jsx(Ge,{title:o.variance,type:"varianceTimeframeWidth"})})}),t.jsx(ar,{}),t.jsx(lr,{children:t.jsx(se,{isLoading:n,customStyle:{height:c.sp7,width:$.statusTimeframeWidth,borderRadius:c.sp2},children:t.jsx(Ge,{title:o.status,type:"statusTimeframeWidth"})})})]})]})})}const cr=a.div`
129
129
  display: flex;
130
130
  flex-direction: row;
131
131
  height: ${e=>e.heightValue}px;
@@ -244,12 +244,12 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
244
244
  `,Dr=a.div`
245
245
  width: ${c.sp2};
246
246
  height: ${c.sp1};
247
- `,Qi=a.div`
247
+ `,Ji=a.div`
248
248
  width: ${e=>Zi.emptyLeftContainer.valuePx(e.windowSize)};
249
249
  height: ${c.sp1};
250
250
  `,We=a.div`
251
251
  display: flex;
252
- `,Rr=({ancestorMetadata:e,depth:i,name:n})=>t.jsx(t.Fragment,{children:i>0?[...Array(i).keys()].map(o=>{const r=e[o];return t.jsxs(We,{children:[r.depth===0?t.jsx(xi,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Be,{},o):t.jsx(tt,{}):null,r.depth>=1?t.jsx(xi,{depth:r.depth}):null]},n+o)}):null}),Ji=({ancestorMetadata:e,depth:i,name:n})=>{const o=M();return i===0?e[i].hasChildren===!1?t.jsx(Qi,{windowSize:o}):t.jsxs(We,{children:[t.jsx(Re,{depth:i}),t.jsx(Be,{}),t.jsx(Re,{depth:i+1})]}):t.jsxs(t.Fragment,{children:[[...Array(i+1).keys()].map(r=>{const l=e[r],s=r!==i?e[r+1]:void 0;return t.jsxs(We,{children:[l.depth===0?t.jsx(Re,{depth:l.depth}):null,r>=2||r===1&&(i===r?l.hasChildren===!0:s!=null&&!s.isLastNode)?i===1?t.jsx(fi,{index:1}):t.jsx(fi,{index:2}):null,(i===r?l.hasChildren===!0:s!=null&&!s.isLastNode)?t.jsx(Be,{},r):t.jsx(tt,{}),t.jsx(Re,{depth:l.depth+1})]},n+r)}),i===1&&e[i].hasChildren!=!0?t.jsx(Dr,{}):null]})},Xi=({ancestorMetadata:e,depth:i,name:n})=>i===0?t.jsx(Vr,{}):t.jsx(t.Fragment,{children:[...Array(i).keys()].map(o=>{const r=e[o],l=o!==i?e[o+1]:void 0;return t.jsxs(We,{children:[r.depth===0?t.jsx(Xe,{depth:r.depth}):null,l!=null&&!l.isLastNode?t.jsx(Be,{},o):t.jsx(tt,{}),t.jsx(Xe,{depth:r.depth+1})]},n+o)})}),Gr=({ancestorMetadata:e,depth:i,name:n})=>t.jsx(t.Fragment,{children:i>0?[...Array(i).keys()].map(o=>{const r=e[o];return r==null?null:t.jsxs(We,{children:[r.depth===0?t.jsx(Xe,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Be,{},o):t.jsx(tt,{}):null,r.depth>=1?t.jsx(Xe,{depth:r.depth}):null]},n+o)}):null}),Er=({depth:e,isLastNode:i,isLeaf:n,hasSiblings:o,hasChildren:r,collapsed:l,onIconClick:s})=>{let d=t.jsx(Tr,{});return e===0&&r&&(d=t.jsx($o,{collapsed:l,onIconClick:s})),e>0&&(r&&!o&&i&&(d=t.jsx(mi,{collapsed:l,onIconClick:s})),n&&o&&i&&(d=t.jsx(wi,{})),n&&o&&!i&&(d=t.jsx(_o,{})),r&&o&&!i&&(d=t.jsx(Lo,{collapsed:l,onIconClick:s})),r&&o&&i&&(d=t.jsx(mi,{collapsed:l,onIconClick:s})),i&&n&&(d=t.jsx(wi,{}))),d},Hr=({depth:e,isLastNode:i,isLeaf:n,hasSiblings:o,hasChildren:r,collapsed:l,onIconClick:s})=>t.jsx(Fr,{children:t.jsx(Er,{depth:e,isLastNode:i,isLeaf:n,hasSiblings:o,hasChildren:r,collapsed:l,onIconClick:s})});function en(e){const{displayName:i}=e;e.depth>4&&console.warn("cannot handle depth more than 4");const n=M();return t.jsxs(zr,{children:[e.classDepth!=null?t.jsx(Ji,{ancestorMetadata:e.classAnscestorMetadata??[],depth:e.classDepth,name:e.displayName}):e.noMarginForAccount===!1?t.jsx(Qi,{windowSize:n}):null,t.jsx(Gr,{ancestorMetadata:e.subAccountAnscestorMetadata,depth:e.depth,name:e.displayName}),t.jsx(Hr,{...e}),t.jsx(Pr,{onClick:()=>e.onNameClick?.(),hasChildren:e.hasChildren,depth:e.depth,windowSize:n,title:i,children:i})]})}const E={balanceHeight:c.sp4,balanceWidth:"166px",balanceLeftMargin:c.sp4,titleWidth:new D(200,325,405),nameLogoWidth:new D(w[4],w[4]),nameLogoHeight:new D(w[4],w[4])};function Kr(e){switch(e){case"timeframe_headers":return w[10];case"aging_report_row":return w[6];case"ac_subentity_total":return w[6];case"total":return w[8];case"spacer_row":return w[8];default:return w[0]}}function Yr(){return!0}const Ee=[new D(w[4],w[8]),new D(44,76),new D(69,102),new D(93,124),new D(113,143)],Ur=a.div`
252
+ `,Rr=({ancestorMetadata:e,depth:i,name:n})=>t.jsx(t.Fragment,{children:i>0?[...Array(i).keys()].map(o=>{const r=e[o];return t.jsxs(We,{children:[r.depth===0?t.jsx(xi,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Be,{},o):t.jsx(tt,{}):null,r.depth>=1?t.jsx(xi,{depth:r.depth}):null]},n+o)}):null}),Qi=({ancestorMetadata:e,depth:i,name:n})=>{const o=M();return i===0?e[i].hasChildren===!1?t.jsx(Ji,{windowSize:o}):t.jsxs(We,{children:[t.jsx(Re,{depth:i}),t.jsx(Be,{}),t.jsx(Re,{depth:i+1})]}):t.jsxs(t.Fragment,{children:[[...Array(i+1).keys()].map(r=>{const l=e[r],s=r!==i?e[r+1]:void 0;return t.jsxs(We,{children:[l.depth===0?t.jsx(Re,{depth:l.depth}):null,r>=2||r===1&&(i===r?l.hasChildren===!0:s!=null&&!s.isLastNode)?i===1?t.jsx(fi,{index:1}):t.jsx(fi,{index:2}):null,(i===r?l.hasChildren===!0:s!=null&&!s.isLastNode)?t.jsx(Be,{},r):t.jsx(tt,{}),t.jsx(Re,{depth:l.depth+1})]},n+r)}),i===1&&e[i].hasChildren!=!0?t.jsx(Dr,{}):null]})},Xi=({ancestorMetadata:e,depth:i,name:n})=>i===0?t.jsx(Vr,{}):t.jsx(t.Fragment,{children:[...Array(i).keys()].map(o=>{const r=e[o],l=o!==i?e[o+1]:void 0;return t.jsxs(We,{children:[r.depth===0?t.jsx(Xe,{depth:r.depth}):null,l!=null&&!l.isLastNode?t.jsx(Be,{},o):t.jsx(tt,{}),t.jsx(Xe,{depth:r.depth+1})]},n+o)})}),Gr=({ancestorMetadata:e,depth:i,name:n})=>t.jsx(t.Fragment,{children:i>0?[...Array(i).keys()].map(o=>{const r=e[o];return r==null?null:t.jsxs(We,{children:[r.depth===0?t.jsx(Xe,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Be,{},o):t.jsx(tt,{}):null,r.depth>=1?t.jsx(Xe,{depth:r.depth}):null]},n+o)}):null}),Er=({depth:e,isLastNode:i,isLeaf:n,hasSiblings:o,hasChildren:r,collapsed:l,onIconClick:s})=>{let d=t.jsx(Tr,{});return e===0&&r&&(d=t.jsx($o,{collapsed:l,onIconClick:s})),e>0&&(r&&!o&&i&&(d=t.jsx(mi,{collapsed:l,onIconClick:s})),n&&o&&i&&(d=t.jsx(wi,{})),n&&o&&!i&&(d=t.jsx(_o,{})),r&&o&&!i&&(d=t.jsx(Lo,{collapsed:l,onIconClick:s})),r&&o&&i&&(d=t.jsx(mi,{collapsed:l,onIconClick:s})),i&&n&&(d=t.jsx(wi,{}))),d},Hr=({depth:e,isLastNode:i,isLeaf:n,hasSiblings:o,hasChildren:r,collapsed:l,onIconClick:s})=>t.jsx(Fr,{children:t.jsx(Er,{depth:e,isLastNode:i,isLeaf:n,hasSiblings:o,hasChildren:r,collapsed:l,onIconClick:s})});function en(e){const{displayName:i}=e;e.depth>4&&console.warn("cannot handle depth more than 4");const n=M();return t.jsxs(zr,{children:[e.classDepth!=null?t.jsx(Qi,{ancestorMetadata:e.classAnscestorMetadata??[],depth:e.classDepth,name:e.displayName}):e.noMarginForAccount===!1?t.jsx(Ji,{windowSize:n}):null,t.jsx(Gr,{ancestorMetadata:e.subAccountAnscestorMetadata,depth:e.depth,name:e.displayName}),t.jsx(Hr,{...e}),t.jsx(Pr,{onClick:()=>e.onNameClick?.(),hasChildren:e.hasChildren,depth:e.depth,windowSize:n,title:i,children:i})]})}const E={balanceHeight:c.sp4,balanceWidth:"166px",balanceLeftMargin:c.sp4,titleWidth:new D(200,325,405),nameLogoWidth:new D(w[4],w[4]),nameLogoHeight:new D(w[4],w[4])};function Kr(e){switch(e){case"timeframe_headers":return w[10];case"aging_report_row":return w[6];case"ac_subentity_total":return w[6];case"total":return w[8];case"spacer_row":return w[8];default:return w[0]}}function Yr(){return!0}const Ee=[new D(w[4],w[8]),new D(44,76),new D(69,102),new D(93,124),new D(113,143)],Ur=a.div`
253
253
  display: flex;
254
254
  flex: 1 1 auto;
255
255
  max-height: 1px;
@@ -275,11 +275,11 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
275
275
  top: ${c.sp0};
276
276
  left: ${c.sp0};
277
277
  `:null}
278
- `,Qr=a.div`
278
+ `,Jr=a.div`
279
279
  width: ${e=>e.noMarginForEntity?Ee[e.nestingLevel].value(e.windowSize)-w[5]:Ee[e.nestingLevel].value(e.windowSize)}px;
280
280
  max-width: ${e=>e.noMarginForEntity?Ee[e.nestingLevel].value(e.windowSize)-w[5]:Ee[e.nestingLevel].value(e.windowSize)}px;
281
281
  height: 1px;
282
- `,Jr=a.div`
282
+ `,Qr=a.div`
283
283
  display: flex;
284
284
  flex: 1 1 auto;
285
285
  max-height: 1px;
@@ -291,7 +291,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
291
291
  max-height: 1px;
292
292
  height: 1px;
293
293
  background-color: ${e=>e.isScrolling?"transparent":e.colour};
294
- `,bi=e=>{const i=M(),n=ce();return t.jsxs(qr,{"data-testid":m("sub-entity-separator",e.isTotal?"subtotal_row_separator":"vendor_row_separator"),children:[t.jsxs(Zr,{windowSize:i,isSticky:e.isSticky,"data-testid":m("sub-entity-name-container","vendor_row_separator"),children:[t.jsx(Qr,{"data-testid":m("sub-entity-empty-container","vendor_row_separator"),nestingLevel:e.nestingLevel,noMarginForEntity:e.noMarginForEntity,windowSize:i}),t.jsx(Jr,{"data-testid":m("sub-entity-name-seperator","vendor_row_separator"),isScrolling:e.isScrolling,colour:e.isTotal?n.colors.grey1:n.colors.grey3})]}),t.jsx(Xr,{"data-testid":m("sub-entity-remaining-seperator","vendor_row_separator"),isScrolling:e.isScrolling,colour:e.isTotal?n.colors.grey1:n.colors.grey3})]})};function kt({kind:e,isScrolling:i,subEntityProps:n}){switch(e){case"vendor_row_separator":return t.jsx(bi,{nestingLevel:n?.nestingLevel??0,isScrolling:i,isSticky:n?.isSticky??!1,isTotal:!1,noMarginForEntity:n?.noMarginForEntity??!0});case"end_row_separator":return t.jsx(Ur,{"data-testid":m("end-row-separator",e),isScrolling:i});case"subtotal_row_separator":return t.jsx(bi,{nestingLevel:n?.nestingLevel??1,isScrolling:i,isSticky:n?.isSticky??!1,isTotal:!0,noMarginForEntity:n?.noMarginForEntity??!1})}}const tn=a.div`
294
+ `,bi=e=>{const i=M(),n=ce();return t.jsxs(qr,{"data-testid":m("sub-entity-separator",e.isTotal?"subtotal_row_separator":"vendor_row_separator"),children:[t.jsxs(Zr,{windowSize:i,isSticky:e.isSticky,"data-testid":m("sub-entity-name-container","vendor_row_separator"),children:[t.jsx(Jr,{"data-testid":m("sub-entity-empty-container","vendor_row_separator"),nestingLevel:e.nestingLevel,noMarginForEntity:e.noMarginForEntity,windowSize:i}),t.jsx(Qr,{"data-testid":m("sub-entity-name-seperator","vendor_row_separator"),isScrolling:e.isScrolling,colour:e.isTotal?n.colors.grey1:n.colors.grey3})]}),t.jsx(Xr,{"data-testid":m("sub-entity-remaining-seperator","vendor_row_separator"),isScrolling:e.isScrolling,colour:e.isTotal?n.colors.grey1:n.colors.grey3})]})};function kt({kind:e,isScrolling:i,subEntityProps:n}){switch(e){case"vendor_row_separator":return t.jsx(bi,{nestingLevel:n?.nestingLevel??0,isScrolling:i,isSticky:n?.isSticky??!1,isTotal:!1,noMarginForEntity:n?.noMarginForEntity??!0});case"end_row_separator":return t.jsx(Ur,{"data-testid":m("end-row-separator",e),isScrolling:i});case"subtotal_row_separator":return t.jsx(bi,{nestingLevel:n?.nestingLevel??1,isScrolling:i,isSticky:n?.isSticky??!1,isTotal:!0,noMarginForEntity:n?.noMarginForEntity??!1})}}const tn=a.div`
295
295
  display: flex;
296
296
  flex: 1 1 auto;
297
297
  width: fit-content;
@@ -360,7 +360,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
360
360
  &:hover {
361
361
  color: ${e=>e.theme.colors.primary};
362
362
  }
363
- `,sn=({balance:e,isOpen:i})=>{const n=i?e?.balance:e?.totalBalance;return t.jsx(rn,{children:t.jsx(an,{isClickable:!1,onClick:()=>null,children:q("0,0",n)})})},cn=({total:e})=>t.jsx(rn,{children:t.jsx(an,{isClickable:!1,onClick:()=>null,children:q("0,0",e)})});function ta({isSticky:e,height:i,isScrolling:n,isLastNode:o,balances:r,total:l,vendor:s,backgroundColor:d,onEntityNameClick:h}){const u=M(),g="default",p=s?.name??"";return t.jsxs(tn,{"data-testid":m("ap-aging-report-row-root-container",p),containerHeight:i,bgColor:d,windowSize:u,children:[t.jsxs(nn,{"data-testid":m("ap-aging-report-row-container",p),style:{cursor:g},isClickable:!1,containerHeight:i-1,children:[t.jsxs(ln,{onClick:()=>s?.id!=null?h?.(s.id):void 0,isSticky:e,windowSize:u,bgColor:d,containerHeight:i-1,children:[s?.logo!=null?t.jsx(Nt,{photoUrl:s.logo.toString(),styles:{width:E.nameLogoWidth.valuePx(u),height:E.nameLogoHeight.valuePx(u)}}):t.jsx(It,{name:p??"",size:c.sp4}),t.jsx(ea,{children:p})]}),t.jsxs(on,{"data-testid":m("ap-aging-report-row-balances-container",p),children:[r.map(f=>t.jsx(sn,{balance:f,isOpen:!0},f?.period)),t.jsx(cn,{total:l})]})]}),t.jsx(dn,{isScrolling:n,isLastNode:o})]})}function ia({treeNodeId:e,isSticky:i,height:n,isScrolling:o,isLastNode:r,isOpen:l,balances:s,total:d,totalWithChildren:h,nestedCustomer:u,metadata:g,backgroundColor:p,onEntityNameClick:f,onClick:x}){const b=M(),y=g,S=u?.customer.name??"",v=u!=null?u.id.length-1:0,B=u?.hasSiblings??!1,L=u!=null?u.children.length!==0:!1,O=L,F=O?"pointer":"default",T=u!=null?u.isLeafCustomer:!1,Y=()=>{x?.(e)};return t.jsxs(tn,{"data-testid":m("ar-aging-report-row-root-container",e),containerHeight:n,bgColor:p,windowSize:b,children:[t.jsxs(nn,{"data-testid":m("ar-aging-report-row-container",e),style:{cursor:F},isClickable:O,containerHeight:n-1,children:[t.jsx(ln,{"data-testid":m("ar-aging-report-row-name-container",e),isSticky:i,windowSize:b,bgColor:p,containerHeight:n-1,children:t.jsx(en,{displayName:S,depth:v,isLastNode:r,hasChildren:L,hasSiblings:B,isLeaf:T,collapsed:!l,subAccountAnscestorMetadata:y.vendorOrCustomerAncestorMetadata,classAnscestorMetadata:[],noMarginForAccount:!0,onIconClick:Y,onNameClick:()=>u?.id[0]!=null?f?.(u.id[0]):void 0})}),t.jsxs(on,{children:[s.map(H=>t.jsx(sn,{balance:H,isOpen:l},H?.period)),t.jsx(cn,{total:l?d:h})]})]}),t.jsx(dn,{isScrolling:o,subEntityProps:{nestingLevel:v,isSticky:i,noMarginForEntity:!0}})]})}function dn({isScrolling:e,isLastNode:i=!1,subEntityProps:n}){return i?t.jsx(kt,{isScrolling:e,kind:"end_row_separator",subEntityProps:n}):t.jsx(kt,{isScrolling:e,kind:"vendor_row_separator",subEntityProps:n})}const na=a.div`
363
+ `,sn=({balance:e,isOpen:i})=>{const n=i?e?.balance:e?.totalBalance;return t.jsx(rn,{children:t.jsx(an,{isClickable:!1,onClick:()=>null,children:q("0,0",n)})})},cn=({total:e})=>t.jsx(rn,{children:t.jsx(an,{isClickable:!1,onClick:()=>null,children:q("0,0",e)})});function ta({isSticky:e,height:i,isScrolling:n,isLastNode:o,balances:r,total:l,vendor:s,backgroundColor:d,onEntityNameClick:h}){const u=M(),g="default",p=s?.name??"";return t.jsxs(tn,{"data-testid":m("ap-aging-report-row-root-container",p),containerHeight:i,bgColor:d,windowSize:u,children:[t.jsxs(nn,{"data-testid":m("ap-aging-report-row-container",p),style:{cursor:g},isClickable:!1,containerHeight:i-1,children:[t.jsxs(ln,{onClick:()=>s?.id!=null?h?.(s.id):void 0,isSticky:e,windowSize:u,bgColor:d,containerHeight:i-1,children:[s?.logo!=null?t.jsx(It,{photoUrl:s.logo.toString(),styles:{width:E.nameLogoWidth.valuePx(u),height:E.nameLogoHeight.valuePx(u)}}):t.jsx(Pt,{name:p??"",size:c.sp4}),t.jsx(ea,{children:p})]}),t.jsxs(on,{"data-testid":m("ap-aging-report-row-balances-container",p),children:[r.map(f=>t.jsx(sn,{balance:f,isOpen:!0},f?.period)),t.jsx(cn,{total:l})]})]}),t.jsx(dn,{isScrolling:n,isLastNode:o})]})}function ia({treeNodeId:e,isSticky:i,height:n,isScrolling:o,isLastNode:r,isOpen:l,balances:s,total:d,totalWithChildren:h,nestedCustomer:u,metadata:g,backgroundColor:p,onEntityNameClick:f,onClick:x}){const b=M(),y=g,S=u?.customer.name??"",v=u!=null?u.id.length-1:0,B=u?.hasSiblings??!1,L=u!=null?u.children.length!==0:!1,O=L,F=O?"pointer":"default",T=u!=null?u.isLeafCustomer:!1,Y=()=>{x?.(e)};return t.jsxs(tn,{"data-testid":m("ar-aging-report-row-root-container",e),containerHeight:n,bgColor:p,windowSize:b,children:[t.jsxs(nn,{"data-testid":m("ar-aging-report-row-container",e),style:{cursor:F},isClickable:O,containerHeight:n-1,children:[t.jsx(ln,{"data-testid":m("ar-aging-report-row-name-container",e),isSticky:i,windowSize:b,bgColor:p,containerHeight:n-1,children:t.jsx(en,{displayName:S,depth:v,isLastNode:r,hasChildren:L,hasSiblings:B,isLeaf:T,collapsed:!l,subAccountAnscestorMetadata:y.vendorOrCustomerAncestorMetadata,classAnscestorMetadata:[],noMarginForAccount:!0,onIconClick:Y,onNameClick:()=>u?.id[0]!=null?f?.(u.id[0]):void 0})}),t.jsxs(on,{children:[s.map(H=>t.jsx(sn,{balance:H,isOpen:l},H?.period)),t.jsx(cn,{total:l?d:h})]})]}),t.jsx(dn,{isScrolling:o,subEntityProps:{nestingLevel:v,isSticky:i,noMarginForEntity:!0}})]})}function dn({isScrolling:e,isLastNode:i=!1,subEntityProps:n}){return i?t.jsx(kt,{isScrolling:e,kind:"end_row_separator",subEntityProps:n}):t.jsx(kt,{isScrolling:e,kind:"vendor_row_separator",subEntityProps:n})}const na=a.div`
364
364
  user-select: none;
365
365
  display: flex;
366
366
  flex: 1 1 auto;
@@ -436,13 +436,13 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
436
436
  height: 12px;
437
437
  cursor: pointer;
438
438
  color: ${e=>e.theme.colors.hero};
439
- `,Rt=a(Tt)`
439
+ `,Rt=a(Vt)`
440
440
  width: 12px;
441
441
  height: 12px;
442
- `,Gt=a(Ft)`
442
+ `,Gt=a(Tt)`
443
443
  width: 12px;
444
444
  height: 12px;
445
- `,la=({reportId:e,sortKey:i,sortOrder:n="ascending",onSortOrderChanged:o})=>{const r=e==="accounts_payable_aging"?"vendor":"customer",l=()=>{o?.(Et(n),r)},s=i===r?n:"ascending";return t.jsxs(aa,{active:i===r,"data-testid":m("duration-row-vendor-title",e),children:[r==="vendor"?W.getLocalizedStrings().reports.aging.apAging.vendor:W.getLocalizedStrings().reports.aging.arAging.customer,t.jsx(Dt,{selectedForSort:i===r,children:t.jsx(gn,{"data-testid":m("duration-row-vendor-sort-icon",e),onClick:l,children:s==="ascending"?t.jsx(Gt,{}):t.jsx(Rt,{})})}),t.jsx(Je,{controller:i===r,children:t.jsx(fn,{"data-testid":m("duration-row-vendor-sort-cancel-icon",e),onClick:()=>xn({onSortOrderChanged:o})})})]})},xn=({onSortOrderChanged:e})=>{e?.("descending","total")},sa=({agingPeriod:e,sortKey:i="vendor",sortOrder:n="ascending",onSortOrderChanged:o})=>{const r=i===e?n:"ascending",l=()=>{o?.(Et(n),e)};return t.jsx(pn,{"data-testid":m("duration-row-tick-container",e),children:t.jsx(hn,{"data-testid":m("duration-row-tick-element-container",e),children:t.jsxs(un,{active:i===e,"data-testid":m("duration-row-timeframe-tick",e),children:[W.getLocalizedStrings().reports.aging.duration[e],t.jsxs(Dt,{selectedForSort:i===e,"data-testid":m("duration-row-sort-container",e),children:[t.jsx(gn,{"data-testid":m("duration-row-sort-icon",e),onClick:l,children:r==="ascending"?t.jsx(Gt,{}):t.jsx(Rt,{})}),t.jsx(Je,{controller:i===e,children:t.jsx(fn,{"data-testid":m("duration-row-sort-cancel-icon",e),onClick:()=>xn({onSortOrderChanged:o})})})]})]})})})},mn=({reportId:e,sortKey:i,sortOrder:n="ascending",onSortOrderChanged:o})=>{const r=i==="total"?n:"ascending",l=()=>{o?.(Et(n),"total")};return t.jsx(pn,{"data-testid":m("duration-row-entity-total-tick-container",e),onClick:l,children:t.jsx(hn,{"data-testid":m("duration-row-entity-total-tick-element-container",e),children:t.jsxs(un,{active:i==="total","data-testid":m("duration-row-entity-total-timeframe-tick",e),children:[e==="accounts_payable_aging"?W.getLocalizedStrings().reports.aging.apAging.vendorTotalHeaderLabel:W.getLocalizedStrings().reports.aging.arAging.totalReceivable,t.jsx(Dt,{selectedForSort:i==="total","data-testid":m("duration-row-entity-total-sort-container",e),children:r==="ascending"?t.jsx(Gt,{}):t.jsx(Rt,{})})]})})})},ca=({reportId:e,agingPeriod:i,sortKey:n="vendor",sortOrder:o="ascending",onSortOrderChanged:r})=>i!=null?t.jsx(sa,{sortKey:n,sortOrder:o,onSortOrderChanged:r,agingPeriod:i}):t.jsx(mn,{reportId:e,sortKey:n,sortOrder:o,onSortOrderChanged:r});function da({reportId:e,isSticky:i,height:n,agingPeriods:o,sortKey:r,sortOrder:l,backgroundColor:s,onSortOrderChanged:d}){const h=M();return t.jsxs(na,{height:n,bgColor:s,"data-testid":m("duration-row-root-container",e),children:[t.jsx(ra,{"data-testid":m("duration-row-placeholder-name",e),isSticky:i,windowSize:h,bgColor:s,children:t.jsx(la,{reportId:e,sortKey:r,sortOrder:l,onSortOrderChanged:d})}),t.jsxs(oa,{children:[o.map(u=>t.jsx(ca,{reportId:e,agingPeriod:u,sortKey:r,sortOrder:l,onSortOrderChanged:d},u)),t.jsx(mn,{reportId:e,sortKey:r,sortOrder:l,onSortOrderChanged:d})]})]})}const Et=e=>e==="ascending"?"descending":"ascending",ha=[10,14,20,20,20],ua=a.div`
445
+ `,la=({reportId:e,sortKey:i,sortOrder:n="ascending",onSortOrderChanged:o})=>{const r=e==="accounts_payable_aging"?"vendor":"customer",l=()=>{o?.(Et(n),r)},s=i===r?n:"ascending";return t.jsxs(aa,{active:i===r,"data-testid":m("duration-row-vendor-title",e),children:[r==="vendor"?W.getLocalizedStrings().reports.aging.apAging.vendor:W.getLocalizedStrings().reports.aging.arAging.customer,t.jsx(Dt,{selectedForSort:i===r,children:t.jsx(gn,{"data-testid":m("duration-row-vendor-sort-icon",e),onClick:l,children:s==="ascending"?t.jsx(Gt,{}):t.jsx(Rt,{})})}),t.jsx(Qe,{controller:i===r,children:t.jsx(fn,{"data-testid":m("duration-row-vendor-sort-cancel-icon",e),onClick:()=>xn({onSortOrderChanged:o})})})]})},xn=({onSortOrderChanged:e})=>{e?.("descending","total")},sa=({agingPeriod:e,sortKey:i="vendor",sortOrder:n="ascending",onSortOrderChanged:o})=>{const r=i===e?n:"ascending",l=()=>{o?.(Et(n),e)};return t.jsx(pn,{"data-testid":m("duration-row-tick-container",e),children:t.jsx(hn,{"data-testid":m("duration-row-tick-element-container",e),children:t.jsxs(un,{active:i===e,"data-testid":m("duration-row-timeframe-tick",e),children:[W.getLocalizedStrings().reports.aging.duration[e],t.jsxs(Dt,{selectedForSort:i===e,"data-testid":m("duration-row-sort-container",e),children:[t.jsx(gn,{"data-testid":m("duration-row-sort-icon",e),onClick:l,children:r==="ascending"?t.jsx(Gt,{}):t.jsx(Rt,{})}),t.jsx(Qe,{controller:i===e,children:t.jsx(fn,{"data-testid":m("duration-row-sort-cancel-icon",e),onClick:()=>xn({onSortOrderChanged:o})})})]})]})})})},mn=({reportId:e,sortKey:i,sortOrder:n="ascending",onSortOrderChanged:o})=>{const r=i==="total"?n:"ascending",l=()=>{o?.(Et(n),"total")};return t.jsx(pn,{"data-testid":m("duration-row-entity-total-tick-container",e),onClick:l,children:t.jsx(hn,{"data-testid":m("duration-row-entity-total-tick-element-container",e),children:t.jsxs(un,{active:i==="total","data-testid":m("duration-row-entity-total-timeframe-tick",e),children:[e==="accounts_payable_aging"?W.getLocalizedStrings().reports.aging.apAging.vendorTotalHeaderLabel:W.getLocalizedStrings().reports.aging.arAging.totalReceivable,t.jsx(Dt,{selectedForSort:i==="total","data-testid":m("duration-row-entity-total-sort-container",e),children:r==="ascending"?t.jsx(Gt,{}):t.jsx(Rt,{})})]})})})},ca=({reportId:e,agingPeriod:i,sortKey:n="vendor",sortOrder:o="ascending",onSortOrderChanged:r})=>i!=null?t.jsx(sa,{sortKey:n,sortOrder:o,onSortOrderChanged:r,agingPeriod:i}):t.jsx(mn,{reportId:e,sortKey:n,sortOrder:o,onSortOrderChanged:r});function da({reportId:e,isSticky:i,height:n,agingPeriods:o,sortKey:r,sortOrder:l,backgroundColor:s,onSortOrderChanged:d}){const h=M();return t.jsxs(na,{height:n,bgColor:s,"data-testid":m("duration-row-root-container",e),children:[t.jsx(ra,{"data-testid":m("duration-row-placeholder-name",e),isSticky:i,windowSize:h,bgColor:s,children:t.jsx(la,{reportId:e,sortKey:r,sortOrder:l,onSortOrderChanged:d})}),t.jsxs(oa,{children:[o.map(u=>t.jsx(ca,{reportId:e,agingPeriod:u,sortKey:r,sortOrder:l,onSortOrderChanged:d},u)),t.jsx(mn,{reportId:e,sortKey:r,sortOrder:l,onSortOrderChanged:d})]})]})}const Et=e=>e==="ascending"?"descending":"ascending",ha=[10,14,20,20,20],ua=a.div`
446
446
  display: flex;
447
447
  flex: 1 1 auto;
448
448
  width: fit-content;
@@ -578,7 +578,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
578
578
  flex: 1 1 auto;
579
579
  max-height: 1px;
580
580
  background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
581
- `;function qa({kind:e,isScrolling:i}){switch(e){case"account_title_row_separator":return t.jsx(ki,{marginLeft:w[5],isScrolling:i});case"account_balance_row_separator":return t.jsx(ki,{marginLeft:0,isScrolling:i});case"ac_group_row_separator":return t.jsx(Ya,{isScrolling:i});case"section_row_separator":case"heading_row_separator":return t.jsx(Ua,{isScrolling:i})}}const Le={balanceHeight:c.sp4,balanceWidth:"166px",balanceLeftMargin:c.sp4,titleWidth:new D(200,350,405)};function Za(e){switch(e){case"section":return w[8];case"section_with_ac_only":return w[8];case"calculated_section":return w[8];case"calculated_section_type1":return w[6];case"ac_group_report":case"ac_group_subaccount":return w[8];case"ac_report":case"ac_subaccount":case"ac_subentity_total":return w[6];case"title_string_only":return 67;case"total":return w[6];case"timeframe_headers":return w[11];case"timeframe_headers_with_forecast":return w[0];case"class":case"checkbox_and_name_only":return w[0];default:return w[0]}}function Qa(e,i){const n=["summary","detailed"];switch(e){case"section":return!n.includes(i);case"section_with_ac_only":return!n.includes(i);case"calculated_section":case"calculated_section_type1":return!n.includes(i);case"ac_group_report":case"ac_group_subaccount":return!n.includes(i);case"ac_report":case"ac_subaccount":case"ac_subentity_total":return!n.includes(i);case"title_string_only":return!n.includes(i);case"total":return!1;case"timeframe_headers":case"timeframe_headers_with_forecast":return!1;case"class":case"checkbox_and_name_only":return!1;default:return!1}}const Ja=a.div`
581
+ `;function qa({kind:e,isScrolling:i}){switch(e){case"account_title_row_separator":return t.jsx(ki,{marginLeft:w[5],isScrolling:i});case"account_balance_row_separator":return t.jsx(ki,{marginLeft:0,isScrolling:i});case"ac_group_row_separator":return t.jsx(Ya,{isScrolling:i});case"section_row_separator":case"heading_row_separator":return t.jsx(Ua,{isScrolling:i})}}const Le={balanceHeight:c.sp4,balanceWidth:"166px",balanceLeftMargin:c.sp4,titleWidth:new D(200,350,405)};function Za(e){switch(e){case"section":return w[8];case"section_with_ac_only":return w[8];case"calculated_section":return w[8];case"calculated_section_type1":return w[6];case"ac_group_report":case"ac_group_subaccount":return w[8];case"ac_report":case"ac_subaccount":case"ac_subentity_total":return w[6];case"title_string_only":return 67;case"total":return w[6];case"timeframe_headers":return w[11];case"timeframe_headers_with_forecast":return w[0];case"class":case"checkbox_and_name_only":return w[0];default:return w[0]}}function Ja(e,i){const n=["summary","detailed"];switch(e){case"section":return!n.includes(i);case"section_with_ac_only":return!n.includes(i);case"calculated_section":case"calculated_section_type1":return!n.includes(i);case"ac_group_report":case"ac_group_subaccount":return!n.includes(i);case"ac_report":case"ac_subaccount":case"ac_subentity_total":return!n.includes(i);case"title_string_only":return!n.includes(i);case"total":return!1;case"timeframe_headers":case"timeframe_headers_with_forecast":return!1;case"class":case"checkbox_and_name_only":return!1;default:return!1}}const Qa=a.div`
582
582
  display: flex;
583
583
  flex: 1 1 auto;
584
584
  width: fit-content;
@@ -634,7 +634,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
634
634
  text-overflow: ellipsis;
635
635
  text-align: left;
636
636
  margin-left: ${c.sp6};
637
- `,rl=({balance:e})=>t.jsx(tl,{children:t.jsx(il,{children:Z(e)})});function al({heading:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,totalBalances:l,isScrolling:s,isLastNode:d,onClick:h}){const u=M();return t.jsxs(Ja,{"data-testid":m("calculated-section-type-1-root-container-row",o),height:r,bgColor:i,windowSize:u,children:[t.jsxs(Xa,{"data-testid":m("calculated-section-type-1-container-row",o),onClick:()=>h?.(o),children:[t.jsx(nl,{"data-testid":m("calculated-section-type-1-total-container-row",o),bgColor:i,isSticky:n,windowSize:u,children:t.jsx(ol,{children:e})}),t.jsx(el,{children:l.map((g,p)=>t.jsx(rl,{balance:g},p))})]}),t.jsx(ll,{isScrolling:s,isLastNode:d})]})}function ll({isScrolling:e,isLastNode:i}){return i===!0?t.jsx(qa,{isScrolling:e,kind:"heading_row_separator"}):null}const sl=a.div`
637
+ `,rl=({balance:e})=>t.jsx(tl,{children:t.jsx(il,{children:Z(e)})});function al({heading:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,totalBalances:l,isScrolling:s,isLastNode:d,onClick:h}){const u=M();return t.jsxs(Qa,{"data-testid":m("calculated-section-type-1-root-container-row",o),height:r,bgColor:i,windowSize:u,children:[t.jsxs(Xa,{"data-testid":m("calculated-section-type-1-container-row",o),onClick:()=>h?.(o),children:[t.jsx(nl,{"data-testid":m("calculated-section-type-1-total-container-row",o),bgColor:i,isSticky:n,windowSize:u,children:t.jsx(ol,{children:e})}),t.jsx(el,{children:l.map((g,p)=>t.jsx(rl,{balance:g},p))})]}),t.jsx(ll,{isScrolling:s,isLastNode:d})]})}function ll({isScrolling:e,isLastNode:i}){return i===!0?t.jsx(qa,{isScrolling:e,kind:"heading_row_separator"}):null}const sl=a.div`
638
638
  display: flex;
639
639
  flex: 1 1 auto;
640
640
  width: fit-content;
@@ -690,7 +690,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
690
690
  text-overflow: ellipsis;
691
691
  text-align: left;
692
692
  background-color: ${e=>e.bgColor?.hex()};
693
- `,gl=({type:e,balance:i,isActualVsForecastOn:n,compareMode:o})=>t.jsxs(hl,{"data-testid":m("heading-row-balance-element",e),children:[ae(e)||n?t.jsx(He,{"data-testid":m("heading-row-balance-actual",e),children:Z(i)}):t.jsx(He,{"data-testid":m("heading-row-balance-forecast",e),children:J(i)}),n?t.jsxs(t.Fragment,{children:[t.jsx(He,{"data-testid":m("heading-row-balance-forecast",e),children:J(i)}),t.jsx(He,{"data-testid":m("heading-row-balance-actual-vs-forecast",e),children:o==="compare_mode_percent"?de(i):he(i)})]}):null]});function fl({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,heading:l,headingBalances:s,isActualVsForecastOn:d,compareMode:h,isLeaf:u,onClick:g}){const p=M();return t.jsx(sl,{height:r,bgColor:i,"data-testid":m("heading-row-root-container",o),children:t.jsxs(cl,{"data-testid":m("heading-row-container",o),isClickable:!u,onClick:()=>g?.(o),children:[ge(e)===!0?t.jsx(ul,{"data-testid":m("heading-row-heading-container",o),isSticky:n,windowSize:p,bgColor:i,children:t.jsx(pl,{children:l})}):null,xe(e)===!0?t.jsx(dl,{"data-testid":m("heading-row-balances-container",o),children:s.map((f,x)=>t.jsx(gl,{"data-testid":m("heading-row-balance-element",e),type:e,heading:l,balance:f,isActualVsForecastOn:d,compareMode:h},x))}):null]})})}const xl=(e,i,n,o,r,l,s)=>{if(i.element.kind!="calculated_section_type1"||i.element.data==null)return null;const d=i.element.data,h=te(d,i.config.displayOrder,i.element.numOfBalances);return t.jsx(al,{backgroundColor:o,isSticky:r,treeNodeId:e,heading:i.element.title,totalBalances:h.balances,height:n,isScrolling:l,isLastNode:s})},Ht=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="title_string_only")return null;const f=te(void 0,n.config.displayOrder,n.element.numOfBalances);return t.jsx(fl,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,heading:n.element.title,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:g,headingBalances:f.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:x=>{p?.(x)}})};function _n(e,i){return ml(i)}const ml=(e,i)=>{const n={compactedAccountsSelectorVariant:()=>[],acBalanceSelector:()=>{}};return n.acBalanceSelector=o=>o.balancesInTimeframe,n.compactedAccountsSelectorVariant=o=>wl(o,n.acBalanceSelector,e),n};function wl(e,i,n){switch(n){case"off":return e;case"filter_actual_nil_balances":return e.filter(o=>yl(i(o)?.balances??[]));default:return e}}function yl(e){let i=!1;if(e!=null){for(const n of e)if(n.balance.amount!==0){i=!0;break}}return i}const Ke=[new D(w[4],56),new D(44,76),new D(69,102),new D(93,124),new D(113,143)],ji=[new D(w[0],w[0]),new D(14,w[4]),new D(67,67),new D(102,102),new D(136,136)],bl=a.div`
693
+ `,gl=({type:e,balance:i,isActualVsForecastOn:n,compareMode:o})=>t.jsxs(hl,{"data-testid":m("heading-row-balance-element",e),children:[ae(e)||n?t.jsx(He,{"data-testid":m("heading-row-balance-actual",e),children:Z(i)}):t.jsx(He,{"data-testid":m("heading-row-balance-forecast",e),children:Q(i)}),n?t.jsxs(t.Fragment,{children:[t.jsx(He,{"data-testid":m("heading-row-balance-forecast",e),children:Q(i)}),t.jsx(He,{"data-testid":m("heading-row-balance-actual-vs-forecast",e),children:o==="compare_mode_percent"?de(i):he(i)})]}):null]});function fl({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,heading:l,headingBalances:s,isActualVsForecastOn:d,compareMode:h,isLeaf:u,onClick:g}){const p=M();return t.jsx(sl,{height:r,bgColor:i,"data-testid":m("heading-row-root-container",o),children:t.jsxs(cl,{"data-testid":m("heading-row-container",o),isClickable:!u,onClick:()=>g?.(o),children:[ge(e)===!0?t.jsx(ul,{"data-testid":m("heading-row-heading-container",o),isSticky:n,windowSize:p,bgColor:i,children:t.jsx(pl,{children:l})}):null,xe(e)===!0?t.jsx(dl,{"data-testid":m("heading-row-balances-container",o),children:s.map((f,x)=>t.jsx(gl,{"data-testid":m("heading-row-balance-element",e),type:e,heading:l,balance:f,isActualVsForecastOn:d,compareMode:h},x))}):null]})})}const xl=(e,i,n,o,r,l,s)=>{if(i.element.kind!="calculated_section_type1"||i.element.data==null)return null;const d=i.element.data,h=te(d,i.config.displayOrder,i.element.numOfBalances);return t.jsx(al,{backgroundColor:o,isSticky:r,treeNodeId:e,heading:i.element.title,totalBalances:h.balances,height:n,isScrolling:l,isLastNode:s})},Ht=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="title_string_only")return null;const f=te(void 0,n.config.displayOrder,n.element.numOfBalances);return t.jsx(fl,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,heading:n.element.title,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:g,headingBalances:f.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:x=>{p?.(x)}})};function _n(e,i){return ml(i)}const ml=(e,i)=>{const n={compactedAccountsSelectorVariant:()=>[],acBalanceSelector:()=>{}};return n.acBalanceSelector=o=>o.balancesInTimeframe,n.compactedAccountsSelectorVariant=o=>wl(o,n.acBalanceSelector,e),n};function wl(e,i,n){switch(n){case"off":return e;case"filter_actual_nil_balances":return e.filter(o=>yl(i(o)?.balances??[]));default:return e}}function yl(e){let i=!1;if(e!=null){for(const n of e)if(n.balance.amount!==0){i=!0;break}}return i}const Ke=[new D(w[4],56),new D(44,76),new D(69,102),new D(93,124),new D(113,143)],ji=[new D(w[0],w[0]),new D(14,w[4]),new D(67,67),new D(102,102),new D(136,136)],bl=a.div`
694
694
  display: flex;
695
695
  flex: 1 1 auto;
696
696
  max-height: 1px;
@@ -892,7 +892,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
892
892
  text-overflow: ellipsis;
893
893
  text-align: left;
894
894
  margin-left: ${c.sp2};
895
- `,Zl=({type:e,balance:i,collapsed:n,compareMode:o})=>{const r=n===!0?Yl:jt;return t.jsxs(Kl,{"data-testid":m("account-group-row-balance-element",e),children:[t.jsx(r,{"data-testid":m("account-group-row-balance-actual",e),children:Z(i)}),Oe(e)?t.jsxs(t.Fragment,{children:[t.jsx(r,{"data-testid":m("account-group-row-balance-forecast",e),children:J(i)}),t.jsx(jt,{"data-testid":m("account-group-row-balance-actual-vs-forecast",e),children:o==="compare_mode_percent"?de(i):he(i)})]}):null]})};function Ql({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,accountGroupName:l,accountGroupBalances:s,compareMode:d,isScrolling:h,isOpen:u,isLeaf:g,isLastNode:p,onClick:f}){const x=M(),b=!g,y=b?"pointer":"default",S=l.length>0?l.substr(0,1).toUpperCase():"",v=Xl(s),B=ce().colors.primary,[L,O]=I.useState(!1);return t.jsxs(Gl,{"data-testid":m("account-group-row-root-container",e),height:r,bgColor:i,windowSize:x,children:[t.jsxs(El,{"data-testid":m("account-group-row-container",e),style:{cursor:y},isClickable:b,onClick:()=>f?.(o),onMouseOver:()=>O(!0),onMouseLeave:()=>O(!1),children:[t.jsxs(Ul,{"data-testid":m("account-group-row-name-container",e),bgColor:i,isSticky:n,windowSize:x,hasNonZeroBalance:v,children:[t.jsx(be,{"data-testid":m("account-group-row-circle-with-letter",e),color:_(B),showCollapsedIcon:!u,showIcon:b&&L,firstLetter:S}),t.jsx(ql,{"data-testid":m("account-group-row-name",e),children:l})]}),t.jsx(Hl,{"data-testid":m("account-group-row-balances-container",e),hasNonZeroBalance:v,children:s.map((F,T)=>t.jsx(Zl,{"data-testid":m("account-group-row-balance-element",e),type:e,accountGroupName:l,balance:F,compareMode:d,collapsed:!1},T))})]}),t.jsx(Jl,{isScrolling:h,isLeaf:g,isLastNode:p,isOpen:u})]})}function Jl({isScrolling:e,isLeaf:i,isLastNode:n,isOpen:o}){return i||!o||!n?t.jsx(Kt,{isScrolling:e,kind:"ac_group_row_separator"}):null}const Xl=e=>{let i=!1;if(e!=null){for(const n of e)if(n!=null&&n.balance.amount!==0){i=!0;break}}return i},es=a.div`
895
+ `,Zl=({type:e,balance:i,collapsed:n,compareMode:o})=>{const r=n===!0?Yl:jt;return t.jsxs(Kl,{"data-testid":m("account-group-row-balance-element",e),children:[t.jsx(r,{"data-testid":m("account-group-row-balance-actual",e),children:Z(i)}),Oe(e)?t.jsxs(t.Fragment,{children:[t.jsx(r,{"data-testid":m("account-group-row-balance-forecast",e),children:Q(i)}),t.jsx(jt,{"data-testid":m("account-group-row-balance-actual-vs-forecast",e),children:o==="compare_mode_percent"?de(i):he(i)})]}):null]})};function Jl({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,accountGroupName:l,accountGroupBalances:s,compareMode:d,isScrolling:h,isOpen:u,isLeaf:g,isLastNode:p,onClick:f}){const x=M(),b=!g,y=b?"pointer":"default",S=l.length>0?l.substr(0,1).toUpperCase():"",v=Xl(s),B=ce().colors.primary,[L,O]=I.useState(!1);return t.jsxs(Gl,{"data-testid":m("account-group-row-root-container",e),height:r,bgColor:i,windowSize:x,children:[t.jsxs(El,{"data-testid":m("account-group-row-container",e),style:{cursor:y},isClickable:b,onClick:()=>f?.(o),onMouseOver:()=>O(!0),onMouseLeave:()=>O(!1),children:[t.jsxs(Ul,{"data-testid":m("account-group-row-name-container",e),bgColor:i,isSticky:n,windowSize:x,hasNonZeroBalance:v,children:[t.jsx(be,{"data-testid":m("account-group-row-circle-with-letter",e),color:_(B),showCollapsedIcon:!u,showIcon:b&&L,firstLetter:S}),t.jsx(ql,{"data-testid":m("account-group-row-name",e),children:l})]}),t.jsx(Hl,{"data-testid":m("account-group-row-balances-container",e),hasNonZeroBalance:v,children:s.map((F,T)=>t.jsx(Zl,{"data-testid":m("account-group-row-balance-element",e),type:e,accountGroupName:l,balance:F,compareMode:d,collapsed:!1},T))})]}),t.jsx(Ql,{isScrolling:h,isLeaf:g,isLastNode:p,isOpen:u})]})}function Ql({isScrolling:e,isLeaf:i,isLastNode:n,isOpen:o}){return i||!o||!n?t.jsx(Kt,{isScrolling:e,kind:"ac_group_row_separator"}):null}const Xl=e=>{let i=!1;if(e!=null){for(const n of e)if(n!=null&&n.balance.amount!==0){i=!0;break}}return i},es=a.div`
896
896
  display: flex;
897
897
  flex: 1 1 auto;
898
898
  width: fit-content;
@@ -955,7 +955,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
955
955
  text-align: left;
956
956
  margin-left: 35px;
957
957
  color: ${e=>e.theme.colors.hero};
958
- `,as=({type:e,balance:i,account:n,onAccountBalanceClick:o,compareMode:r})=>{const l=i?.type==="this_period_vs_last_period"||i?.type==="this_period_vs_last_period_percent",s=n!=null&&i!=null&&o!=null&&l!==!0;return t.jsxs(ns,{children:[t.jsx(xt,{isClickable:s,onClick:()=>{s===!0&&n!=null&&i!=null&&o?.(n,i)},children:Z(i)}),Oe(e)?t.jsxs(t.Fragment,{children:[t.jsx(xt,{isClickable:!1,children:J(i)}),t.jsx(xt,{isClickable:!1,children:r==="compare_mode_percent"?de(i):he(i)})]}):null]})};function ls({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,accountBalances:l,isCompareModeOn:s,isForecastModeOn:d,isScrolling:h,isLeaf:u,isLastNode:g,compareMode:p,account:f,onAccountBalanceClick:x}){const b=M(),{common:{strings:{empty:y}}}=W.getLocalizedStrings(),S=f?.accountDescription?f.accountDescription:y,v=f?.accountName?f.accountName:S,B=Di(),L=B.loggedInUserRole!=null&&!A.hasInvestorBankerLevelAccess(B.loggedInUserRole),O=L===!0&&f!=null&&s!==!0&&x!=null&&d!==!0,F=O?"pointer":"default",T=(Y,H)=>{O===!0&&l[l.length-1]!=null&&x?.(Y,H,l[l.length-1])};return t.jsxs(es,{height:r,bgColor:i,windowSize:b,children:[t.jsxs(ts,{style:{cursor:F},isClickable:O,onClick:()=>f!=null?T(o,f):null,children:[t.jsx(os,{isSticky:n,windowSize:b,bgColor:i,children:t.jsx(rs,{title:v,children:v})}),t.jsx(is,{children:l.map((Y,H)=>t.jsx(as,{type:e,balance:Y,account:f,onAccountBalanceClick:L===!1||x==null?void 0:(U,Q)=>{x(o,U,Q)},compareMode:p},H))})]}),t.jsx(ss,{isScrolling:h,isLeaf:u,isLastNode:g})]})}function ss({isScrolling:e,isLeaf:i,isLastNode:n}){return i||!n?t.jsx(Kt,{isScrolling:e,kind:"ac_group_row_separator"}):null}const cs=a.div`
958
+ `,as=({type:e,balance:i,account:n,onAccountBalanceClick:o,compareMode:r})=>{const l=i?.type==="this_period_vs_last_period"||i?.type==="this_period_vs_last_period_percent",s=n!=null&&i!=null&&o!=null&&l!==!0;return t.jsxs(ns,{children:[t.jsx(xt,{isClickable:s,onClick:()=>{s===!0&&n!=null&&i!=null&&o?.(n,i)},children:Z(i)}),Oe(e)?t.jsxs(t.Fragment,{children:[t.jsx(xt,{isClickable:!1,children:Q(i)}),t.jsx(xt,{isClickable:!1,children:r==="compare_mode_percent"?de(i):he(i)})]}):null]})};function ls({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,accountBalances:l,isCompareModeOn:s,isForecastModeOn:d,isScrolling:h,isLeaf:u,isLastNode:g,compareMode:p,account:f,onAccountBalanceClick:x}){const b=M(),{common:{strings:{empty:y}}}=W.getLocalizedStrings(),S=f?.accountDescription?f.accountDescription:y,v=f?.accountName?f.accountName:S,B=Di(),L=B.loggedInUserRole!=null&&!A.hasInvestorBankerLevelAccess(B.loggedInUserRole),O=L===!0&&f!=null&&s!==!0&&x!=null&&d!==!0,F=O?"pointer":"default",T=(Y,H)=>{O===!0&&l[l.length-1]!=null&&x?.(Y,H,l[l.length-1])};return t.jsxs(es,{height:r,bgColor:i,windowSize:b,children:[t.jsxs(ts,{style:{cursor:F},isClickable:O,onClick:()=>f!=null?T(o,f):null,children:[t.jsx(os,{isSticky:n,windowSize:b,bgColor:i,children:t.jsx(rs,{title:v,children:v})}),t.jsx(is,{children:l.map((Y,H)=>t.jsx(as,{type:e,balance:Y,account:f,onAccountBalanceClick:L===!1||x==null?void 0:(U,J)=>{x(o,U,J)},compareMode:p},H))})]}),t.jsx(ss,{isScrolling:h,isLeaf:u,isLastNode:g})]})}function ss({isScrolling:e,isLeaf:i,isLastNode:n}){return i||!n?t.jsx(Kt,{isScrolling:e,kind:"ac_group_row_separator"}):null}const cs=a.div`
959
959
  display: flex;
960
960
  flex: 1 1 auto;
961
961
  width: fit-content;
@@ -1021,7 +1021,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
1021
1021
  text-overflow: ellipsis;
1022
1022
  text-align: left;
1023
1023
  margin-left: ${c.sp2};
1024
- `,fs=({type:e,balance:i,color:n,compareMode:o})=>{const r=i!=null&&i.type==="default_with_percent"&&i.percentValue!=null?i.percentValue:0,l=i!=null&&i.type==="default_with_percent"&&i.forecastPercentValue!=null?i.forecastPercentValue:0;return t.jsxs(us,{children:[t.jsxs(vi,{children:[t.jsx(ve,{style:{color:n.toString()},children:Z(i)}),Oe(e)?t.jsxs(t.Fragment,{children:[t.jsx(ve,{style:{color:n.toString()},children:J(i)}),t.jsx(ve,{style:{color:n.toString()},children:o==="compare_mode_percent"?de(i):he(i)})]}):null]}),t.jsxs(vi,{children:[r!==0?t.jsx($i,{style:{color:n.toString()},children:fe("0,0%",r)}):null,Oe(e)?t.jsxs(t.Fragment,{children:[l!==0?t.jsx($i,{style:{color:n.toString()},children:fe("0,0%",l)}):t.jsx(ve,{}),t.jsx(ve,{})]}):null]})]})};function Yt({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,sectionName:l,sectionBalances:s,sectionColor:d,isScrolling:h,isOpen:u,isLeaf:g,compareMode:p,onClick:f}){const x=M(),[b,y]=I.useState(!1),S=!g,v=S?"pointer":"default",B=l.length>0?l.substring(0,1).toUpperCase():"";return t.jsxs(cs,{"data-testid":m("section-row-root-container",o),rootHeight:r,bgColor:i,windowSize:x,children:[t.jsxs(ds,{"data-testid":m("section-row-container",o),style:{cursor:v},onClick:()=>f?.(o),onMouseOver:()=>y(!0),onMouseLeave:()=>y(!1),children:[t.jsxs(ps,{"data-testid":m("section-row-name-container",o),isSticky:n,windowSize:x,bgColor:i,children:[t.jsx(be,{"data-testid":m("section-row-circle-with-letter",o),color:_(d),showCollapsedIcon:!u,showIcon:S&&b,firstLetter:B}),t.jsx(gs,{"data-testid":m("section-row-name",o),style:{color:d.toString()},children:l})]}),t.jsx(hs,{"data-testid":m("section-row-balances-container",o),children:s.map((L,O)=>t.jsx(fs,{"data-testid":m("section-row-balance-element",e),type:e,sectionName:l,balance:L,color:d,compareMode:p},O))})]}),t.jsx(xs,{isScrolling:h,isLeaf:g,isOpen:u})]})}function xs({isScrolling:e,isLeaf:i,isOpen:n}){return i||!n?t.jsx(Kt,{isScrolling:e,kind:"section_row_separator"}):null}const ms=a.div`
1024
+ `,fs=({type:e,balance:i,color:n,compareMode:o})=>{const r=i!=null&&i.type==="default_with_percent"&&i.percentValue!=null?i.percentValue:0,l=i!=null&&i.type==="default_with_percent"&&i.forecastPercentValue!=null?i.forecastPercentValue:0;return t.jsxs(us,{children:[t.jsxs(vi,{children:[t.jsx(ve,{style:{color:n.toString()},children:Z(i)}),Oe(e)?t.jsxs(t.Fragment,{children:[t.jsx(ve,{style:{color:n.toString()},children:Q(i)}),t.jsx(ve,{style:{color:n.toString()},children:o==="compare_mode_percent"?de(i):he(i)})]}):null]}),t.jsxs(vi,{children:[r!==0?t.jsx($i,{style:{color:n.toString()},children:fe("0,0%",r)}):null,Oe(e)?t.jsxs(t.Fragment,{children:[l!==0?t.jsx($i,{style:{color:n.toString()},children:fe("0,0%",l)}):t.jsx(ve,{}),t.jsx(ve,{})]}):null]})]})};function Yt({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,sectionName:l,sectionBalances:s,sectionColor:d,isScrolling:h,isOpen:u,isLeaf:g,compareMode:p,onClick:f}){const x=M(),[b,y]=I.useState(!1),S=!g,v=S?"pointer":"default",B=l.length>0?l.substring(0,1).toUpperCase():"";return t.jsxs(cs,{"data-testid":m("section-row-root-container",o),rootHeight:r,bgColor:i,windowSize:x,children:[t.jsxs(ds,{"data-testid":m("section-row-container",o),style:{cursor:v},onClick:()=>f?.(o),onMouseOver:()=>y(!0),onMouseLeave:()=>y(!1),children:[t.jsxs(ps,{"data-testid":m("section-row-name-container",o),isSticky:n,windowSize:x,bgColor:i,children:[t.jsx(be,{"data-testid":m("section-row-circle-with-letter",o),color:_(d),showCollapsedIcon:!u,showIcon:S&&b,firstLetter:B}),t.jsx(gs,{"data-testid":m("section-row-name",o),style:{color:d.toString()},children:l})]}),t.jsx(hs,{"data-testid":m("section-row-balances-container",o),children:s.map((L,O)=>t.jsx(fs,{"data-testid":m("section-row-balance-element",e),type:e,sectionName:l,balance:L,color:d,compareMode:p},O))})]}),t.jsx(xs,{isScrolling:h,isLeaf:g,isOpen:u})]})}function xs({isScrolling:e,isLeaf:i,isOpen:n}){return i||!n?t.jsx(Kt,{isScrolling:e,kind:"section_row_separator"}):null}const ms=a.div`
1025
1025
  display: flex;
1026
1026
  flex: 1 1 auto;
1027
1027
  width: fit-content;
@@ -1088,7 +1088,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
1088
1088
  text-align: right;
1089
1089
  margin-left: ${R.balanceLeftMargin};
1090
1090
  color: ${e=>e.theme.colors.brandColorJadeDark};
1091
- `,Cs=({type:e,balance:i,collapsed:n,compareMode:o})=>{const r=n===!0?ks:On;return t.jsxs(bs,{children:[ae(e)===!0?t.jsx(r,{children:Z(i)}):null,Oe(e)?t.jsxs(t.Fragment,{children:[t.jsx(mt,{children:Z(i)}),t.jsx(mt,{children:J(i)}),t.jsx(mt,{children:o==="compare_mode_percent"?de(i):he(i)})]}):null]})};function vs({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,title:l,totalBalances:s,isLeaf:d,compareMode:h,onClick:u}){const g=M(),p=!d,f=p?"pointer":"default";return t.jsx(ms,{height:r,bgColor:i,windowSize:g,children:t.jsxs(ws,{style:{cursor:f},isClickable:p,onClick:()=>u?.(o),children:[t.jsx(js,{bgColor:i,isSticky:n,windowSize:g,children:t.jsx(Ss,{children:l})}),t.jsx(ys,{children:s.map((x,b)=>t.jsx(Cs,{type:e,balance:x,collapsed:!1,compareMode:h},b))})]})})}const ke={net_burn_or_income:{income:{color:new _(V.graphColor04),hoverColor:new _(V.graphColor04Dark)},cogs:{color:new _(V.graphColor10),hoverColor:new _(V.graphColor10Dark)},expenses:{color:new _(V.graphColor32),hoverColor:new _(V.graphColor32Dark)},"Gross Burn":{color:new _(ee.neutralGrey2Dark),hoverColor:new _(ee.neutralGrey2Dark)},"Net Burn":{color:new _(V.graphColor13),hoverColor:new _(V.graphColor13Dark)},"Net Income":{color:new _(V.graphColor13),hoverColor:new _(V.graphColor13Dark)}},revenue:{income:{color:new _(V.graphColor28),hoverColor:new _(V.graphColor28Dark)},cogs:{color:new _(V.graphColor17),hoverColor:new _(V.graphColor17Dark)},"Gross Margin":{color:new _(V.graphColor10),hoverColor:new _(V.graphColor10Dark)}},cash_in_cash_out:{cash_in:{color:new _(V.graphColor33),hoverColor:new _(V.graphColor33Dark)},cash_out:{color:new _(V.graphColor02),hoverColor:new _(V.graphColor02Dark)},"Net Cash Flow":{color:new _(V.graphColor35),hoverColor:new _(V.graphColor35Dark)}},default:{color:new _(ee.neutralGrey2Dark),hoverColor:new _(ee.neutralGrey2Dark)}},Ut=(e,i)=>e.startsWith("net_burn_or_income")===!0?i!=null?ke.net_burn_or_income[i]:ke.default:e.startsWith("revenue")===!0?i!=null?ke.revenue[i]:ke.default:e.startsWith("cash_in_cash_out")===!0&&i!=null?ke.cash_in_cash_out[i]:ke.default,$s=(e,i,n,o,r,l,s,d,h,u,g)=>{if(n.element.kind!="ac_report"||n.element.data==null)return null;const p=n.element.data,f=A.isDashboardClassesViewReport(n.config.reportId)===!0?_n("no_filter",n.config.filterAccountsWithNilBalances):nt(n.element.sectionType,"no_filter",n.config.filterAccountsWithNilBalances,n.config.filterAccountGroupsWithNilBalances),x=te(f.acBalanceSelector(p),n.config.displayOrder,n.element.numOfBalances);return t.jsx(ls,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,accountBalances:x.balances,isCompareModeOn:n.config.mode==="this_period_vs_period_before",isForecastModeOn:n.config.mode==="actual_vs_forecast",isScrolling:s,isLeaf:d,isLastNode:h,compareMode:u,account:p,onAccountBalanceClick:g==null?void 0:(b,y,S)=>{g?.(b,y,S)}})},_s=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="ac_group_report"||n.element.data==null)return null;const f=n.element.data,x=nt(n.element.sectionType,"no_filter",n.config.filterAccountsWithNilBalances,n.config.filterAccountGroupsWithNilBalances),b=te(x.acGroupBalanceSelector(f),n.config.displayOrder,n.element.numOfBalances);return t.jsx(Ql,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,accountGroupName:f.accountGroupName,compareMode:g,accountGroupBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},Mn=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="section"||n.element.data==null)return null;const f=Ut(n.config.reportId,n.element.sectionType),x=n.element.data,b=te(x,n.config.displayOrder,n.element.numOfBalances);return t.jsx(Yt,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionColor:f.color,sectionName:n.element.title,sectionBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,compareMode:g,onClick:y=>{p?.(y)}})},Ls=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="section_with_ac_only"||n.element.data==null)return null;const f=Ut(n.config.reportId,n.element.sectionType),x=n.element.data,b=te(x,n.config.displayOrder,n.element.numOfBalances);return t.jsx(Yt,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionName:n.element.title,sectionColor:f.color,sectionBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,compareMode:g,onClick:y=>{p?.(y)}})},Nn=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="calculated_section"||n.element.data==null)return null;const f=Ut(n.config.reportId,n.element.title),x=n.element.data,b=te(x,n.config.displayOrder,n.element.numOfBalances);return t.jsx(Yt,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionName:n.element.title,sectionColor:f.color,sectionBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,compareMode:g,onClick:y=>{p?.(y)}})},In=(e,i,n,o,r,l,s,d)=>{if((n.config.isZeniCOAInUse==null||n.config.isZeniCOAInUse===!0)&&n.config.mode!=="this_period_vs_period_before")return null;const h=n.element.data,u=te(h,n.config.displayOrder,n.element.numOfBalances);return t.jsx(vs,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,title:n.element.title,height:o,isLeaf:d,compareMode:s,totalBalances:u.balances})},As=(e,i,n)=>e.element.kind!=="loading_in_progress"?null:t.jsx(Ln,{height:i,backgroundColor:n,title:e.element.title,numOfBalances:e.element.numOfBalances}),Bs=(e,i,n)=>e.element.kind!=="headers_loading_in_progress"?null:t.jsx(Bn,{height:i,backgroundColor:n,numOfBalances:e.element.numOfBalances}),qt=20,Ws=e=>{const i=[];return e&&Object.values(e).forEach(n=>{i.push(n)}),i.reverse()},Os=a.div`
1091
+ `,Cs=({type:e,balance:i,collapsed:n,compareMode:o})=>{const r=n===!0?ks:On;return t.jsxs(bs,{children:[ae(e)===!0?t.jsx(r,{children:Z(i)}):null,Oe(e)?t.jsxs(t.Fragment,{children:[t.jsx(mt,{children:Z(i)}),t.jsx(mt,{children:Q(i)}),t.jsx(mt,{children:o==="compare_mode_percent"?de(i):he(i)})]}):null]})};function vs({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,title:l,totalBalances:s,isLeaf:d,compareMode:h,onClick:u}){const g=M(),p=!d,f=p?"pointer":"default";return t.jsx(ms,{height:r,bgColor:i,windowSize:g,children:t.jsxs(ws,{style:{cursor:f},isClickable:p,onClick:()=>u?.(o),children:[t.jsx(js,{bgColor:i,isSticky:n,windowSize:g,children:t.jsx(Ss,{children:l})}),t.jsx(ys,{children:s.map((x,b)=>t.jsx(Cs,{type:e,balance:x,collapsed:!1,compareMode:h},b))})]})})}const ke={net_burn_or_income:{income:{color:new _(V.graphColor04),hoverColor:new _(V.graphColor04Dark)},cogs:{color:new _(V.graphColor10),hoverColor:new _(V.graphColor10Dark)},expenses:{color:new _(V.graphColor32),hoverColor:new _(V.graphColor32Dark)},"Gross Burn":{color:new _(ee.neutralGrey2Dark),hoverColor:new _(ee.neutralGrey2Dark)},"Net Burn":{color:new _(V.graphColor13),hoverColor:new _(V.graphColor13Dark)},"Net Income":{color:new _(V.graphColor13),hoverColor:new _(V.graphColor13Dark)}},revenue:{income:{color:new _(V.graphColor28),hoverColor:new _(V.graphColor28Dark)},cogs:{color:new _(V.graphColor17),hoverColor:new _(V.graphColor17Dark)},"Gross Margin":{color:new _(V.graphColor10),hoverColor:new _(V.graphColor10Dark)}},cash_in_cash_out:{cash_in:{color:new _(V.graphColor33),hoverColor:new _(V.graphColor33Dark)},cash_out:{color:new _(V.graphColor02),hoverColor:new _(V.graphColor02Dark)},"Net Cash Flow":{color:new _(V.graphColor35),hoverColor:new _(V.graphColor35Dark)}},default:{color:new _(ee.neutralGrey2Dark),hoverColor:new _(ee.neutralGrey2Dark)}},Ut=(e,i)=>e.startsWith("net_burn_or_income")===!0?i!=null?ke.net_burn_or_income[i]:ke.default:e.startsWith("revenue")===!0?i!=null?ke.revenue[i]:ke.default:e.startsWith("cash_in_cash_out")===!0&&i!=null?ke.cash_in_cash_out[i]:ke.default,$s=(e,i,n,o,r,l,s,d,h,u,g)=>{if(n.element.kind!="ac_report"||n.element.data==null)return null;const p=n.element.data,f=A.isDashboardClassesViewReport(n.config.reportId)===!0?_n("no_filter",n.config.filterAccountsWithNilBalances):nt(n.element.sectionType,"no_filter",n.config.filterAccountsWithNilBalances,n.config.filterAccountGroupsWithNilBalances),x=te(f.acBalanceSelector(p),n.config.displayOrder,n.element.numOfBalances);return t.jsx(ls,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,accountBalances:x.balances,isCompareModeOn:n.config.mode==="this_period_vs_period_before",isForecastModeOn:n.config.mode==="actual_vs_forecast",isScrolling:s,isLeaf:d,isLastNode:h,compareMode:u,account:p,onAccountBalanceClick:g==null?void 0:(b,y,S)=>{g?.(b,y,S)}})},_s=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="ac_group_report"||n.element.data==null)return null;const f=n.element.data,x=nt(n.element.sectionType,"no_filter",n.config.filterAccountsWithNilBalances,n.config.filterAccountGroupsWithNilBalances),b=te(x.acGroupBalanceSelector(f),n.config.displayOrder,n.element.numOfBalances);return t.jsx(Jl,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,accountGroupName:f.accountGroupName,compareMode:g,accountGroupBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},Mn=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="section"||n.element.data==null)return null;const f=Ut(n.config.reportId,n.element.sectionType),x=n.element.data,b=te(x,n.config.displayOrder,n.element.numOfBalances);return t.jsx(Yt,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionColor:f.color,sectionName:n.element.title,sectionBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,compareMode:g,onClick:y=>{p?.(y)}})},Ls=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="section_with_ac_only"||n.element.data==null)return null;const f=Ut(n.config.reportId,n.element.sectionType),x=n.element.data,b=te(x,n.config.displayOrder,n.element.numOfBalances);return t.jsx(Yt,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionName:n.element.title,sectionColor:f.color,sectionBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,compareMode:g,onClick:y=>{p?.(y)}})},Nn=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="calculated_section"||n.element.data==null)return null;const f=Ut(n.config.reportId,n.element.title),x=n.element.data,b=te(x,n.config.displayOrder,n.element.numOfBalances);return t.jsx(Yt,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionName:n.element.title,sectionColor:f.color,sectionBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,compareMode:g,onClick:y=>{p?.(y)}})},In=(e,i,n,o,r,l,s,d)=>{if((n.config.isZeniCOAInUse==null||n.config.isZeniCOAInUse===!0)&&n.config.mode!=="this_period_vs_period_before")return null;const h=n.element.data,u=te(h,n.config.displayOrder,n.element.numOfBalances);return t.jsx(vs,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,title:n.element.title,height:o,isLeaf:d,compareMode:s,totalBalances:u.balances})},As=(e,i,n)=>e.element.kind!=="loading_in_progress"?null:t.jsx(Ln,{height:i,backgroundColor:n,title:e.element.title,numOfBalances:e.element.numOfBalances}),Bs=(e,i,n)=>e.element.kind!=="headers_loading_in_progress"?null:t.jsx(Bn,{height:i,backgroundColor:n,numOfBalances:e.element.numOfBalances}),qt=20,Ws=e=>{const i=[];return e&&Object.values(e).forEach(n=>{i.push(n)}),i.reverse()},Os=a.div`
1092
1092
  display: flex;
1093
1093
  flex: 1 1 auto;
1094
1094
  height: 1px;
@@ -1205,11 +1205,11 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
1205
1205
  left: ${c.sp0};
1206
1206
  display: flex;
1207
1207
  `:null}
1208
- `,Qs=a.div`
1208
+ `,Js=a.div`
1209
1209
  display: flex;
1210
1210
  height: ${c.sp4};
1211
1211
  width: 100%;
1212
- `,Js=a.div`
1212
+ `,Qs=a.div`
1213
1213
  display: flex;
1214
1214
  flex-direction: row;
1215
1215
  flex-shrink: 2;
@@ -1264,7 +1264,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
1264
1264
  display: flex;
1265
1265
  flex: 1;
1266
1266
  justify-content: flex-end;
1267
- `,ac=({isBalanceRowFirstNode:e=!1,balance:i})=>{const n=i!=null;return t.jsxs(Fn,{children:[e?t.jsx(Tn,{}):null,t.jsx(Us,{children:t.jsx(qs,{isClickable:n,children:Z(i)})})]})};function lc({varianceAmount:e,variancePercentage:i,currency:n,isSticky:o,balances:r,isScrolling:l,nodeMetadata:s,isLeaf:d,isLastNode:h,accountAndClass:u,isHoveredByParent:g}){const{common:{strings:{hyphen:p}}}=W.getLocalizedStrings(),f=u.accountBase?.accountDescription?u.accountBase?.accountDescription:p,x=u.accountBase?.accountName?u.accountBase?.accountName:f,b=u.classBase?.className?u.classBase?.className:p,y=s?.accountAndClassRowMetadata.isLastNode;return t.jsxs(Ks,{children:[t.jsxs(Ys,{style:{cursor:"default"},isHoveredByParent:g,children:[t.jsx(oc,{children:t.jsxs(Zs,{className:"flux-class-and-account-value-container",isSticky:o,children:[!!s?.accountAndClassRowMetadata.isFirstNode&&t.jsxs(Qs,{children:[t.jsx(Pn,{height:j.lineComponentHeight}),t.jsx(Xs,{children:Li.common.texts.category}),t.jsx(ec,{children:Li.common.texts.class})]}),t.jsxs(Js,{children:[y===!0?t.jsx(Vs,{height:j.lineLComponentHeight}):t.jsx(Ds,{}),t.jsx(tc,{title:x,children:x}),t.jsx(ic,{title:b,children:b})]})]})}),t.jsx(rc,{children:t.jsxs(nc,{children:[r.map((S,v)=>t.jsx(ac,{balance:S,isBalanceRowFirstNode:s?.accountAndClassRowMetadata.isFirstNode},v)),t.jsxs(Fn,{children:[!!s?.accountAndClassRowMetadata.isFirstNode&&t.jsx(Tn,{}),t.jsx(at,{amount:e,percentage:i,currency:n})]})]})})]}),t.jsx(sc,{isScrolling:l,isLeaf:d,isLastNode:h,isParentLastChild:s?.isVendorLastChild??!0})]})}function sc({isScrolling:e,isLastNode:i,isParentLastChild:n}){return i&&n?t.jsx(St,{isScrolling:e,kind:"vendor_separator"}):i?t.jsx(St,{isScrolling:e,kind:"account_class_row_separator"}):null}function cc(){return t.jsxs(dc,{children:[t.jsxs(uc,{children:[t.jsxs(je,{width:j.categoryRowsSkeletonContainerWidth,className:"vendor-title",children:[t.jsx(Ne,{width:w[4],height:w[4]}),t.jsx(K,{width:j.largeRectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"baseline",marginLeft:c.sp2}})]}),t.jsx(je,{width:j.categoryRowsSkeletonContainerWidth,children:t.jsx(K,{width:j.largeRectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"baseline",marginLeft:c.sp2}})})]}),t.jsxs(hc,{children:[t.jsx(je,{width:j.titleWidthMedium,children:t.jsx(K,{width:j.rectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"center"}})}),t.jsx(je,{width:j.titleWidthMedium,children:t.jsx(K,{width:j.rectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"flex-start"}})}),t.jsxs(je,{width:j.varianceRowSkeletonContainerWidth,children:[t.jsx(K,{width:j.rectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"center"}}),t.jsx(K,{width:w[7],height:w[4],style:{display:"flex",alignItems:"flex-start",marginLeft:c.sp1}})]}),t.jsx(je,{width:j.titleWidthMedium,children:t.jsx(K,{width:70,height:w[4],style:{display:"flex",alignItems:"center",justifyContent:"center"}})})]})]})}const dc=a.div`
1267
+ `,ac=({isBalanceRowFirstNode:e=!1,balance:i})=>{const n=i!=null;return t.jsxs(Fn,{children:[e?t.jsx(Tn,{}):null,t.jsx(Us,{children:t.jsx(qs,{isClickable:n,children:Z(i)})})]})};function lc({varianceAmount:e,variancePercentage:i,currency:n,isSticky:o,balances:r,isScrolling:l,nodeMetadata:s,isLeaf:d,isLastNode:h,accountAndClass:u,isHoveredByParent:g}){const{common:{strings:{hyphen:p}}}=W.getLocalizedStrings(),f=u.accountBase?.accountDescription?u.accountBase?.accountDescription:p,x=u.accountBase?.accountName?u.accountBase?.accountName:f,b=u.classBase?.className?u.classBase?.className:p,y=s?.accountAndClassRowMetadata.isLastNode;return t.jsxs(Ks,{children:[t.jsxs(Ys,{style:{cursor:"default"},isHoveredByParent:g,children:[t.jsx(oc,{children:t.jsxs(Zs,{className:"flux-class-and-account-value-container",isSticky:o,children:[!!s?.accountAndClassRowMetadata.isFirstNode&&t.jsxs(Js,{children:[t.jsx(Pn,{height:j.lineComponentHeight}),t.jsx(Xs,{children:Li.common.texts.category}),t.jsx(ec,{children:Li.common.texts.class})]}),t.jsxs(Qs,{children:[y===!0?t.jsx(Vs,{height:j.lineLComponentHeight}):t.jsx(Ds,{}),t.jsx(tc,{title:x,children:x}),t.jsx(ic,{title:b,children:b})]})]})}),t.jsx(rc,{children:t.jsxs(nc,{children:[r.map((S,v)=>t.jsx(ac,{balance:S,isBalanceRowFirstNode:s?.accountAndClassRowMetadata.isFirstNode},v)),t.jsxs(Fn,{children:[!!s?.accountAndClassRowMetadata.isFirstNode&&t.jsx(Tn,{}),t.jsx(at,{amount:e,percentage:i,currency:n})]})]})})]}),t.jsx(sc,{isScrolling:l,isLeaf:d,isLastNode:h,isParentLastChild:s?.isVendorLastChild??!0})]})}function sc({isScrolling:e,isLastNode:i,isParentLastChild:n}){return i&&n?t.jsx(St,{isScrolling:e,kind:"vendor_separator"}):i?t.jsx(St,{isScrolling:e,kind:"account_class_row_separator"}):null}function cc(){return t.jsxs(dc,{children:[t.jsxs(uc,{children:[t.jsxs(je,{width:j.categoryRowsSkeletonContainerWidth,className:"vendor-title",children:[t.jsx(Ne,{width:w[4],height:w[4]}),t.jsx(K,{width:j.largeRectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"baseline",marginLeft:c.sp2}})]}),t.jsx(je,{width:j.categoryRowsSkeletonContainerWidth,children:t.jsx(K,{width:j.largeRectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"baseline",marginLeft:c.sp2}})})]}),t.jsxs(hc,{children:[t.jsx(je,{width:j.titleWidthMedium,children:t.jsx(K,{width:j.rectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"center"}})}),t.jsx(je,{width:j.titleWidthMedium,children:t.jsx(K,{width:j.rectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"flex-start"}})}),t.jsxs(je,{width:j.varianceRowSkeletonContainerWidth,children:[t.jsx(K,{width:j.rectangularContainerWidth,height:w[4],style:{display:"flex",alignItems:"center"}}),t.jsx(K,{width:w[7],height:w[4],style:{display:"flex",alignItems:"flex-start",marginLeft:c.sp1}})]}),t.jsx(je,{width:j.titleWidthMedium,children:t.jsx(K,{width:70,height:w[4],style:{display:"flex",alignItems:"center",justifyContent:"center"}})})]})]})}const dc=a.div`
1268
1268
  display: flex;
1269
1269
  flex-direction: row;
1270
1270
  width: 100%;
@@ -1340,7 +1340,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
1340
1340
  text-align: left;
1341
1341
  margin-left: ${c.sp2};
1342
1342
  color: ${({color:e})=>e};
1343
- `,yc=a(Pt)`
1343
+ `,yc=a(zt)`
1344
1344
  color: ${e=>e.theme.colors.primary};
1345
1345
  width: ${c.sp3};
1346
1346
  height: ${c.sp3};
@@ -1363,7 +1363,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
1363
1363
  ${j.statusContainerWidth} +
1364
1364
  ${j.statusLeftMargin}
1365
1365
  );
1366
- `,Sc=({balance:e,color:i})=>t.jsx(fc,{children:t.jsx(xc,{color:i,children:Z(e)})}),Cc=Oo.memo(function({currency:e,sectionId:i,selectedSectionsIds:n,backgroundColor:o,isSticky:r,treeNodeId:l,height:s,sectionName:d,hasVendors:h,sectionBalances:u,varianceAmount:g,variancePercentage:p,sectionColor:f,isScrolling:x,isOpen:b,isLeaf:y,idsForReview:S,sectionToggled:v,onSectionCheckboxClick:B}){const L=M(),[O,F]=I.useState(S.length>0),[T,Y]=I.useState(!1),H=n.includes(i),U=!y,Q=S.length===qt&&!H,ue=d?.[0]?.toUpperCase()??"",X=I.useCallback(oe=>{B?.(i,oe.target.checked)},[i,B]);return t.jsxs(pc,{heightValue:s,bgColor:o,children:[t.jsxs(gc,{style:{cursor:U?"pointer":"default"},onClick:()=>v?.(l),onMouseOver:()=>{Y(!0),F(!0)},onMouseLeave:()=>{Y(!1),S.length===0&&F(!1)},children:[t.jsxs(mc,{className:"flux-section-name-container",isSticky:r,windowSize:L,bgColor:o,children:[h&&O&&b?t.jsx(bc,{children:t.jsx(Ot,{"aria-label":`Toggle section ${d}`,className:"flux-section-checkbox",icon:t.jsx(Mt,{width:c.sp3,height:c.sp3}),checkedIcon:t.jsx(yc,{}),checked:H,id:l,disabled:Q,onChange:X,onClick:oe=>oe.stopPropagation(),style:{padding:"20px",pointerEvents:Q?"none":"auto"}})}):t.jsx(kc,{}),t.jsx(be,{color:_(f),showCollapsedIcon:!b,showIcon:T&&U,firstLetter:ue}),t.jsx(wc,{color:f.toString(),children:d})]}),t.jsxs(jc,{children:[u.map((oe,Ce)=>t.jsx(Sc,{sectionName:d,balance:oe,color:f.toString()},Ce)),t.jsx(at,{amount:g,percentage:p,currency:e})]})]}),t.jsx(vc,{isScrolling:x,isLeaf:y,isOpen:b})]})});function vc({isScrolling:e,isLeaf:i,isOpen:n}){return i||!n?t.jsx(St,{isScrolling:e,kind:"section_row_separator"}):null}function $c(){const e=M();return t.jsxs(_c,{windowSize:e,children:[t.jsx($e,{windowSize:e,width:j.vendorContainerWidth,marginRight:0,children:t.jsx(K,{width:w[9],height:w[4],style:{display:"flex",alignItems:"baseline"}})}),t.jsx($e,{windowSize:e,width:j.titleWidthMedium,marginRight:0,children:t.jsx(K,{width:128,height:w[6],style:{display:"flex",alignItems:"center"}})}),t.jsx($e,{windowSize:e,width:j.titleWidthMedium,marginRight:0,children:t.jsx(K,{width:j.rectangularContainerWidth,height:w[6],style:{display:"flex",alignItems:"center"}})}),t.jsx($e,{windowSize:e,width:j.varianceRowSkeletonContainerWidth,children:t.jsx(K,{width:184,height:w[6],style:{display:"flex",alignItems:"center"}})}),t.jsx($e,{windowSize:e,width:j.titleWidthSmall,children:t.jsx(K,{width:j.rectangularContainerWidth,height:w[6],style:{display:"flex",alignItems:"center"}})})]})}const _c=a.div`
1366
+ `,Sc=({balance:e,color:i})=>t.jsx(fc,{children:t.jsx(xc,{color:i,children:Z(e)})}),Cc=Oo.memo(function({currency:e,sectionId:i,selectedSectionsIds:n,backgroundColor:o,isSticky:r,treeNodeId:l,height:s,sectionName:d,hasVendors:h,sectionBalances:u,varianceAmount:g,variancePercentage:p,sectionColor:f,isScrolling:x,isOpen:b,isLeaf:y,idsForReview:S,sectionToggled:v,onSectionCheckboxClick:B}){const L=M(),[O,F]=I.useState(S.length>0),[T,Y]=I.useState(!1),H=n.includes(i),U=!y,J=S.length===qt&&!H,ue=d?.[0]?.toUpperCase()??"",X=I.useCallback(oe=>{B?.(i,oe.target.checked)},[i,B]);return t.jsxs(pc,{heightValue:s,bgColor:o,children:[t.jsxs(gc,{style:{cursor:U?"pointer":"default"},onClick:()=>v?.(l),onMouseOver:()=>{Y(!0),F(!0)},onMouseLeave:()=>{Y(!1),S.length===0&&F(!1)},children:[t.jsxs(mc,{className:"flux-section-name-container",isSticky:r,windowSize:L,bgColor:o,children:[h&&O&&b?t.jsx(bc,{children:t.jsx(Mt,{"aria-label":`Toggle section ${d}`,className:"flux-section-checkbox",icon:t.jsx(Nt,{width:c.sp3,height:c.sp3}),checkedIcon:t.jsx(yc,{}),checked:H,id:l,disabled:J,onChange:X,onClick:oe=>oe.stopPropagation(),style:{padding:"20px",pointerEvents:J?"none":"auto"}})}):t.jsx(kc,{}),t.jsx(be,{color:_(f),showCollapsedIcon:!b,showIcon:T&&U,firstLetter:ue}),t.jsx(wc,{color:f.toString(),children:d})]}),t.jsxs(jc,{children:[u.map((oe,Ce)=>t.jsx(Sc,{sectionName:d,balance:oe,color:f.toString()},Ce)),t.jsx(at,{amount:g,percentage:p,currency:e})]})]}),t.jsx(vc,{isScrolling:x,isLeaf:y,isOpen:b})]})});function vc({isScrolling:e,isLeaf:i,isOpen:n}){return i||!n?t.jsx(St,{isScrolling:e,kind:"section_row_separator"}):null}function $c(){const e=M();return t.jsxs(_c,{windowSize:e,children:[t.jsx($e,{windowSize:e,width:j.vendorContainerWidth,marginRight:0,children:t.jsx(K,{width:w[9],height:w[4],style:{display:"flex",alignItems:"baseline"}})}),t.jsx($e,{windowSize:e,width:j.titleWidthMedium,marginRight:0,children:t.jsx(K,{width:128,height:w[6],style:{display:"flex",alignItems:"center"}})}),t.jsx($e,{windowSize:e,width:j.titleWidthMedium,marginRight:0,children:t.jsx(K,{width:j.rectangularContainerWidth,height:w[6],style:{display:"flex",alignItems:"center"}})}),t.jsx($e,{windowSize:e,width:j.varianceRowSkeletonContainerWidth,children:t.jsx(K,{width:184,height:w[6],style:{display:"flex",alignItems:"center"}})}),t.jsx($e,{windowSize:e,width:j.titleWidthSmall,children:t.jsx(K,{width:j.rectangularContainerWidth,height:w[6],style:{display:"flex",alignItems:"center"}})})]})}const _c=a.div`
1367
1367
  display: flex;
1368
1368
  flex-direction: row;
1369
1369
  width: 100%;
@@ -1451,12 +1451,12 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
1451
1451
  cursor: pointer;
1452
1452
  `,$t=a.div`
1453
1453
  color: ${e=>e.isBulkSelected||e.isSortedByKey?e.theme.colors.primary:e.theme.colors.hero};
1454
- `,_t=a(Ft)`
1454
+ `,_t=a(Tt)`
1455
1455
  width: ${j.sortIconDimension};
1456
1456
  height: ${j.sortIconDimension};
1457
1457
  margin-left: ${c.sp2};
1458
1458
  margin-top: ${c.sp1};
1459
- `,Lt=a(Tt)`
1459
+ `,Lt=a(Vt)`
1460
1460
  width: ${j.sortIconDimension};
1461
1461
  height: ${j.sortIconDimension};
1462
1462
  margin-left: ${c.sp2};
@@ -1529,12 +1529,12 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
1529
1529
  justify-content: center;
1530
1530
  flex-direction: row;
1531
1531
  margin-left: ${j.statusLeftMargin};
1532
- `,Qc=a.div`
1532
+ `,Jc=a.div`
1533
1533
  display: flex;
1534
1534
  margin-left: ${c.sp7};
1535
1535
  flex: 1 1 auto;
1536
1536
  justify-content: flex-end;
1537
- `,Jc=({balance:e})=>t.jsx(Kc,{children:t.jsx(Yc,{children:q("0,0",e?.balance)})});function Xc({type:e,height:i,title:n,totalBalances:o,varianceAmount:r,variancePercentage:l,currency:s,backgroundColor:d}){return t.jsx(Gc,{"data-testid":m("total-row-root-container"),heightValue:i,bgColor:d,children:t.jsxs(Ec,{"data-testid":m("total-row-container"),children:[t.jsx(Uc,{className:"flux-total-row",children:t.jsx(qc,{children:n})}),t.jsxs(Qc,{children:[t.jsx(Hc,{children:ae(e)&&o.map((h,u)=>t.jsx(Jc,{balance:h},u))}),t.jsx(at,{amount:r,percentage:l,currency:s}),t.jsx(Zc,{})]})]})})}const ed=a.div`
1537
+ `,Qc=({balance:e})=>t.jsx(Kc,{children:t.jsx(Yc,{children:q("0,0",e?.balance)})});function Xc({type:e,height:i,title:n,totalBalances:o,varianceAmount:r,variancePercentage:l,currency:s,backgroundColor:d}){return t.jsx(Gc,{"data-testid":m("total-row-root-container"),heightValue:i,bgColor:d,children:t.jsxs(Ec,{"data-testid":m("total-row-container"),children:[t.jsx(Uc,{className:"flux-total-row",children:t.jsx(qc,{children:n})}),t.jsxs(Jc,{children:[t.jsx(Hc,{children:ae(e)&&o.map((h,u)=>t.jsx(Qc,{balance:h},u))}),t.jsx(at,{amount:r,percentage:l,currency:s}),t.jsx(Zc,{})]})]})})}const ed=a.div`
1538
1538
  display: flex;
1539
1539
  flex: 1 1 auto;
1540
1540
  width: fit-content;
@@ -1679,7 +1679,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
1679
1679
  background-color: transparent;
1680
1680
  }
1681
1681
  }
1682
- `,xd=a(Pt)`
1682
+ `,xd=a(zt)`
1683
1683
  color: ${e=>e.theme.colors.primary};
1684
1684
  width: ${c.sp3};
1685
1685
  height: ${c.sp3};
@@ -1721,7 +1721,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
1721
1721
  justify-content: center;
1722
1722
  align-items: center;
1723
1723
  margin-left: ${c.sp1};
1724
- `,{common:Bi,expenseAutomation:jd}=W.getLocalizedStrings(),Sd=({balance:e})=>{const i=nd;return t.jsx(id,{children:t.jsx(i,{children:Z(e)})})};function Cd({fluxAnalysisEntityId:e,idsForReview:i,backgroundColor:n,isSticky:o,treeNodeId:r,height:l,leftChevron:s,varianceAmount:d,variancePercentage:h,currency:u,vendorBalances:g,reviewedByUser:p,status:f,vendor:x,isOpen:b,childrenCount:y,setHoveredParentId:S,onClick:v,handleRedirectToVendorDetailPage:B,updateOperatingExpensesIdsForReview:L}){const[O,F]=I.useState(!1),[T,Y]=I.useState(i.length>0),H=i.includes(e),U=i.includes(e),Q=s==="collapsed",ue=i.length===qt&&H===!1,X=rd,oe=le=>{let pe=i;le.target.checked===!0?pe=[...pe,e]:pe=pe.filter(Ve=>Ve!==e),L?.(pe)},Ce=()=>{B?.(x)};return t.jsx(ed,{heightValue:l,bgColor:n,children:t.jsxs(td,{shouldHighlight:U,isRowExpanded:b,onClick:()=>v?.(r),onMouseOver:()=>{F(!0),Y(!0),S?.(x.id)},onMouseLeave:()=>{F(!1),i.length===0&&Y(!1),S?.(null)},children:[t.jsxs(od,{className:"flux-vendor-name-container",bgColor:n,isSticky:o,children:[t.jsx(fd,{className:"flux-vendor-checkbox-container",children:T?t.jsx(Ot,{className:"flux-vendor-checkbox",icon:t.jsx(Mt,{width:c.sp3,height:c.sp3}),checkedIcon:t.jsx(xd,{}),checked:H,name:x.name,id:e,disabled:ue,onChange:oe,onClick:le=>le.stopPropagation(),style:{padding:"20px",pointerEvents:ue?"none":"auto"}}):null}),t.jsxs(dd,{isNodeOpen:b,children:[O?t.jsx(yd,{className:"flux-vendor-collapsable-chevron-icon",children:b===!1?t.jsx(Ai,{}):t.jsx(wd,{})}):x.logo!=null?t.jsx(Nt,{photoUrl:x.logo.toString(),styles:{width:w[4],height:w[4]}}):t.jsx(It,{name:x.name,size:c.sp4}),b?t.jsx(Pn,{height:j.vendorLineComponentHeight}):null]}),t.jsxs(ad,{children:[t.jsxs(ld,{children:[t.jsx(X,{children:x.name}),b?null:t.jsx(kd,{className:"flux-vendor-children-count",children:t.jsx(Ae,{children:y})})]}),O?t.jsx(I.Fragment,{children:t.jsx(bd,{className:"flux-vendor-chevron-icon",onClick:Ce,"data-testid":m("flux-analysis-report-vendorElement-row"),children:t.jsx(Ai,{})})}):null]})]}),t.jsxs(cd,{children:[g.map((le,pe)=>t.jsx(Sd,{balance:le,collapsed:Q},pe)),t.jsx(at,{amount:d,percentage:h,currency:u}),t.jsx(hd,{children:f==="Pending Review"?t.jsx(pd,{children:t.jsx(gd,{children:Bi.status.pending})}):t.jsx(t.Fragment,{children:t.jsx(ud,{className:"vendor-flux-analysis-review-info",children:p!=null?t.jsxs(I.Fragment,{children:[t.jsxs(md,{children:[t.jsx(sd,{}),jd.fluxAnalysis.reviewedBy]}),t.jsx(Ae,{children:wo(p)})]}):Bi.strings.hyphen})})})]})]})})}const Wi={generalExpense:{color:new _(V.graphColor04),hoverColor:new _(V.graphColor04Dark)},reimbursement:{color:new _(V.graphColor10),hoverColor:new _(V.graphColor10Dark)},default:{color:new _(ee.neutralGrey2Dark),hoverColor:new _(ee.neutralGrey2Dark)}},vd=(e,i)=>e.startsWith("flux_analysis_operating_expense")===!0&&i!=null?Wi[i]:Wi.default,Zt=(e,i)=>{const{element:n}=e;return n.kind===i&&n.data!=null},Vn=e=>Ws(e.balancesByMonth),$d=(e,i,n,o,r,l,s,d,h)=>{if(!Zt(i,"flux_vendor_account_class_row"))return null;const u=i.element.data,g=Vn(u),p=i.element.metadata.vendorId;return t.jsx(lc,{backgroundColor:n,isSticky:o,treeNodeId:e,balances:g,varianceAmount:u.varianceAmount,variancePercentage:u.variancePercentage,currency:u.currency,isScrolling:r,isLeaf:l,isLastNode:s,nodeMetadata:i.element.metadata,accountAndClass:u,onAccountAndClassBalanceClick:()=>h?.(p),isHoveredByParent:d?.hoveredParentId===p})},_d=(e,i,n,o,r,l,s,d,h,u,g)=>{if(!Zt(i,"flux_vendor_row"))return null;const p=i.element.data,f=Vn(p),x=zn("flux_vendor_row",h),b=y=>{g?.(y),i.config.fluxAnalysisConfig?.updateNodeCollapsableStatus(y)};return t.jsx(Cd,{backgroundColor:n,isSticky:o,treeNodeId:e,fluxAnalysisEntityId:p.fluxAnalysisEntityId,height:x,leftChevron:"collapsed",idsForReview:i.config.fluxAnalysisConfig?.reviewOpExIds??[],vendor:p.vendor,vendorBalances:f,varianceAmount:p.varianceAmount,variancePercentage:p.variancePercentage,status:p.status,currency:p.currency,isScrolling:r,isOpen:l,isLeaf:s,isLastNode:d,childrenCount:p.vendorAccountsAndClasses.length,onClick:y=>{b?.(y)},reviewedByUser:p.reviewedByUser,updateOperatingExpensesIdsForReview:i.config.fluxAnalysisConfig?.updateOperatingExpensesIdsForReview,handleRedirectToVendorDetailPage:i.config.fluxAnalysisConfig?.handleRedirectToVendorDetailPage,setHoveredParentId:u?.setHoveredParentId})},Ld=(e,i,n,o,r,l,s,d,h,u)=>{if(!Zt(i,"section"))return null;const g=vd(i.config.reportId,i.element.sectionType),p=i.element.data,f=x=>{i.config.fluxAnalysisConfig?.onSectionRowClick(x),u?.(x)};return t.jsx(Cc,{backgroundColor:o,isSticky:r,treeNodeId:e,height:n,selectedSectionsIds:i.config.fluxAnalysisConfig?.reviewSectionIds??[],idsForReview:i.config.fluxAnalysisConfig?.reviewOpExIds??[],sectionColor:g.color,sectionName:i.element.title,sectionBalances:p.balances,varianceAmount:p.varianceAmount,variancePercentage:p.variancePercentage,currency:p.currency,isScrolling:l,isOpen:s,hasVendors:p.vendors.length>0,isLeaf:d,isLastNode:h,sectionToggled:x=>{f?.(x)},onSectionCheckboxClick:i.config.fluxAnalysisConfig?.onSectionCheckboxClick,sectionId:p.sectionId})},Ad=(e,i,n)=>{if(e.element.kind!=="timeframe_headers")return null;const o=Pe(e.element.data,e.config.displayOrder),r=o.length>0?o[0].balanceTimeFrame:"month",l=o.map(d=>A.toTimeframeTick(d)),s=(d,h)=>{e.config.fluxAnalysisConfig?.setIsSortApplied?.(!0),e.config.fluxAnalysisConfig?.onSortOrderChanged(d,h)};return t.jsx(Rc,{isSticky:n,height:i,firstMonthOfFY:e.config.firstMonthOfFY,timeframe:r,timeframeTicks:l,isBulkSelected:e.config.fluxAnalysisConfig?.reviewOpExIds.length===qt,onSortOrderChanged:s,sortOrder:e.config.fluxAnalysisConfig?.sortOrder,sortKey:e.config.fluxAnalysisConfig?.sortKey})},Bd=(e,i)=>{if(e.element.kind!=="total")return null;const n=e.element.data;return t.jsx(Xc,{type:"name+balances_actual",title:e.element.title,totalBalances:n.balances,varianceAmount:n.varianceAmount,variancePercentage:n.variancePercentage,currency:n.currency,height:i})},Wd=e=>e.element.kind!=="loading_in_progress"?null:t.jsx(cc,{}),Od=e=>e.element.kind!=="headers_loading_in_progress"?null:t.jsx($c,{}),Md=a.div`
1724
+ `,{common:Bi,expenseAutomation:jd}=W.getLocalizedStrings(),Sd=({balance:e})=>{const i=nd;return t.jsx(id,{children:t.jsx(i,{children:Z(e)})})};function Cd({fluxAnalysisEntityId:e,idsForReview:i,backgroundColor:n,isSticky:o,treeNodeId:r,height:l,leftChevron:s,varianceAmount:d,variancePercentage:h,currency:u,vendorBalances:g,reviewedByUser:p,status:f,vendor:x,isOpen:b,childrenCount:y,setHoveredParentId:S,onClick:v,handleRedirectToVendorDetailPage:B,updateOperatingExpensesIdsForReview:L}){const[O,F]=I.useState(!1),[T,Y]=I.useState(i.length>0),H=i.includes(e),U=i.includes(e),J=s==="collapsed",ue=i.length===qt&&H===!1,X=rd,oe=le=>{let pe=i;le.target.checked===!0?pe=[...pe,e]:pe=pe.filter(Ve=>Ve!==e),L?.(pe)},Ce=()=>{B?.(x)};return t.jsx(ed,{heightValue:l,bgColor:n,children:t.jsxs(td,{shouldHighlight:U,isRowExpanded:b,onClick:()=>v?.(r),onMouseOver:()=>{F(!0),Y(!0),S?.(x.id)},onMouseLeave:()=>{F(!1),i.length===0&&Y(!1),S?.(null)},children:[t.jsxs(od,{className:"flux-vendor-name-container",bgColor:n,isSticky:o,children:[t.jsx(fd,{className:"flux-vendor-checkbox-container",children:T?t.jsx(Mt,{className:"flux-vendor-checkbox",icon:t.jsx(Nt,{width:c.sp3,height:c.sp3}),checkedIcon:t.jsx(xd,{}),checked:H,name:x.name,id:e,disabled:ue,onChange:oe,onClick:le=>le.stopPropagation(),style:{padding:"20px",pointerEvents:ue?"none":"auto"}}):null}),t.jsxs(dd,{isNodeOpen:b,children:[O?t.jsx(yd,{className:"flux-vendor-collapsable-chevron-icon",children:b===!1?t.jsx(Ai,{}):t.jsx(wd,{})}):x.logo!=null?t.jsx(It,{photoUrl:x.logo.toString(),styles:{width:w[4],height:w[4]}}):t.jsx(Pt,{name:x.name,size:c.sp4}),b?t.jsx(Pn,{height:j.vendorLineComponentHeight}):null]}),t.jsxs(ad,{children:[t.jsxs(ld,{children:[t.jsx(X,{children:x.name}),b?null:t.jsx(kd,{className:"flux-vendor-children-count",children:t.jsx(Ae,{children:y})})]}),O?t.jsx(I.Fragment,{children:t.jsx(bd,{className:"flux-vendor-chevron-icon",onClick:Ce,"data-testid":m("flux-analysis-report-vendorElement-row"),children:t.jsx(Ai,{})})}):null]})]}),t.jsxs(cd,{children:[g.map((le,pe)=>t.jsx(Sd,{balance:le,collapsed:J},pe)),t.jsx(at,{amount:d,percentage:h,currency:u}),t.jsx(hd,{children:f==="Pending Review"?t.jsx(pd,{children:t.jsx(gd,{children:Bi.status.pending})}):t.jsx(t.Fragment,{children:t.jsx(ud,{className:"vendor-flux-analysis-review-info",children:p!=null?t.jsxs(I.Fragment,{children:[t.jsxs(md,{children:[t.jsx(sd,{}),jd.fluxAnalysis.reviewedBy]}),t.jsx(Ae,{children:wo(p)})]}):Bi.strings.hyphen})})})]})]})})}const Wi={generalExpense:{color:new _(V.graphColor04),hoverColor:new _(V.graphColor04Dark)},reimbursement:{color:new _(V.graphColor10),hoverColor:new _(V.graphColor10Dark)},default:{color:new _(ee.neutralGrey2Dark),hoverColor:new _(ee.neutralGrey2Dark)}},vd=(e,i)=>e.startsWith("flux_analysis_operating_expense")===!0&&i!=null?Wi[i]:Wi.default,Zt=(e,i)=>{const{element:n}=e;return n.kind===i&&n.data!=null},Vn=e=>Ws(e.balancesByMonth),$d=(e,i,n,o,r,l,s,d,h)=>{if(!Zt(i,"flux_vendor_account_class_row"))return null;const u=i.element.data,g=Vn(u),p=i.element.metadata.vendorId;return t.jsx(lc,{backgroundColor:n,isSticky:o,treeNodeId:e,balances:g,varianceAmount:u.varianceAmount,variancePercentage:u.variancePercentage,currency:u.currency,isScrolling:r,isLeaf:l,isLastNode:s,nodeMetadata:i.element.metadata,accountAndClass:u,onAccountAndClassBalanceClick:()=>h?.(p),isHoveredByParent:d?.hoveredParentId===p})},_d=(e,i,n,o,r,l,s,d,h,u,g)=>{if(!Zt(i,"flux_vendor_row"))return null;const p=i.element.data,f=Vn(p),x=zn("flux_vendor_row",h),b=y=>{g?.(y),i.config.fluxAnalysisConfig?.updateNodeCollapsableStatus(y)};return t.jsx(Cd,{backgroundColor:n,isSticky:o,treeNodeId:e,fluxAnalysisEntityId:p.fluxAnalysisEntityId,height:x,leftChevron:"collapsed",idsForReview:i.config.fluxAnalysisConfig?.reviewOpExIds??[],vendor:p.vendor,vendorBalances:f,varianceAmount:p.varianceAmount,variancePercentage:p.variancePercentage,status:p.status,currency:p.currency,isScrolling:r,isOpen:l,isLeaf:s,isLastNode:d,childrenCount:p.vendorAccountsAndClasses.length,onClick:y=>{b?.(y)},reviewedByUser:p.reviewedByUser,updateOperatingExpensesIdsForReview:i.config.fluxAnalysisConfig?.updateOperatingExpensesIdsForReview,handleRedirectToVendorDetailPage:i.config.fluxAnalysisConfig?.handleRedirectToVendorDetailPage,setHoveredParentId:u?.setHoveredParentId})},Ld=(e,i,n,o,r,l,s,d,h,u)=>{if(!Zt(i,"section"))return null;const g=vd(i.config.reportId,i.element.sectionType),p=i.element.data,f=x=>{i.config.fluxAnalysisConfig?.onSectionRowClick(x),u?.(x)};return t.jsx(Cc,{backgroundColor:o,isSticky:r,treeNodeId:e,height:n,selectedSectionsIds:i.config.fluxAnalysisConfig?.reviewSectionIds??[],idsForReview:i.config.fluxAnalysisConfig?.reviewOpExIds??[],sectionColor:g.color,sectionName:i.element.title,sectionBalances:p.balances,varianceAmount:p.varianceAmount,variancePercentage:p.variancePercentage,currency:p.currency,isScrolling:l,isOpen:s,hasVendors:p.vendors.length>0,isLeaf:d,isLastNode:h,sectionToggled:x=>{f?.(x)},onSectionCheckboxClick:i.config.fluxAnalysisConfig?.onSectionCheckboxClick,sectionId:p.sectionId})},Ad=(e,i,n)=>{if(e.element.kind!=="timeframe_headers")return null;const o=Pe(e.element.data,e.config.displayOrder),r=o.length>0?o[0].balanceTimeFrame:"month",l=o.map(d=>A.toTimeframeTick(d)),s=(d,h)=>{e.config.fluxAnalysisConfig?.setIsSortApplied?.(!0),e.config.fluxAnalysisConfig?.onSortOrderChanged(d,h)};return t.jsx(Rc,{isSticky:n,height:i,firstMonthOfFY:e.config.firstMonthOfFY,timeframe:r,timeframeTicks:l,isBulkSelected:e.config.fluxAnalysisConfig?.reviewOpExIds.length===qt,onSortOrderChanged:s,sortOrder:e.config.fluxAnalysisConfig?.sortOrder,sortKey:e.config.fluxAnalysisConfig?.sortKey})},Bd=(e,i)=>{if(e.element.kind!=="total")return null;const n=e.element.data;return t.jsx(Xc,{type:"name+balances_actual",title:e.element.title,totalBalances:n.balances,varianceAmount:n.varianceAmount,variancePercentage:n.variancePercentage,currency:n.currency,height:i})},Wd=e=>e.element.kind!=="loading_in_progress"?null:t.jsx(cc,{}),Od=e=>e.element.kind!=="headers_loading_in_progress"?null:t.jsx($c,{}),Md=a.div`
1725
1725
  display: flex;
1726
1726
  flex: 1 1 auto;
1727
1727
  width: fit-content;
@@ -1763,11 +1763,11 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
1763
1763
  border-radius: ${c.sp1};
1764
1764
  margin: 0 ${c.sp5} 0 ${c.sp3};
1765
1765
  min-width: ${c.sp6};
1766
- `,Fd=a(Pt)`
1766
+ `,Fd=a(zt)`
1767
1767
  color: ${e=>e.theme.colors.primary};
1768
1768
  width: ${c.sp3};
1769
1769
  height: ${c.sp3};
1770
- `;function Td({backgroundColor:e,treeNodeId:i,classId:n,isChecked:o,isDisabled:r,height:l,nestedClass:s,isLeaf:d,showClassAccountNumber:h,onClick:u,onToggleCheck:g}){const[p,f]=I.useState(!1);return t.jsx(Md,{"data-testid":m("name-with-checkbox-row-root-container",i),bgColor:e,children:t.jsxs(Nd,{"data-testid":m("name-with-checkbox-row-container",i),height:l,isClickable:!d,onClick:()=>u?.(i),onMouseOver:()=>f(!0),onMouseLeave:()=>f(!1),level:s.classId.length,children:[t.jsx(Ot,{"data-testid":m("name-with-checkbox-row-checkbox",s.classId.toString()),icon:t.jsx(Mt,{width:c.sp3,height:c.sp3}),checkedIcon:t.jsx(Fd,{}),checked:o,name:s.className,id:i,disabled:r,onChange:x=>{g?.(n,x.target.checked)},style:{height:c.sp6}})," ",t.jsx(Id,{children:t.jsxs(Pd,{"data-testid":m("name-with-checkbox-row-label-container",i),checked:o,isSubclass:s.classId.length>1,children:[t.jsx("label",{"data-testid":m("name-with-checkbox-row-label",s.classId.toString()),style:{flexGrow:2,cursor:"pointer"},onClick:()=>{g?.(n,!o)},children:s.className}),p===!0&&h===!0&&s.accountingClassNumber!=null&&t.jsx(zd,{children:s.accountingClassNumber})]})})]})})}const Vd=(e,i,n,o,r,l,s,d,h,u,g)=>{if(n.element.kind!="checkbox_and_name_only")return null;const p=n.element.data,f=n.config.isClassToBeFilteredOut?.(p.classId)===!1;return t.jsx(Td,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,classId:p.classId,isChecked:f,isDisabled:!1,height:o,isScrolling:s,nestedClass:p,isOpen:d,isLeaf:h,isLastNode:u,showClassAccountNumber:n.config.showClassAccountNumber,onToggleCheck:g})},N={balanceHeight:c.sp4,balanceWidth:"166px",balanceLeftMargin:c.sp4,titleWidth:new D(200,270,270),categoryClassWidth:new D(230,230,240),nameLogoWidth:new D(w[4],w[4]),nameLogoHeight:new D(w[4],w[4])};function Dd(e){switch(e){case"timeframe_headers":return w[11];case"vendor_row":return w[6];case"total":return w[8];case"loading_in_progress":return w[6];case"spacer_row":return w[8];case"title_string_only":return w[8];default:return 0}}function Rd(e,i){return!1}const Gd=a.div`
1770
+ `;function Td({backgroundColor:e,treeNodeId:i,classId:n,isChecked:o,isDisabled:r,height:l,nestedClass:s,isLeaf:d,showClassAccountNumber:h,onClick:u,onToggleCheck:g}){const[p,f]=I.useState(!1);return t.jsx(Md,{"data-testid":m("name-with-checkbox-row-root-container",i),bgColor:e,children:t.jsxs(Nd,{"data-testid":m("name-with-checkbox-row-container",i),height:l,isClickable:!d,onClick:()=>u?.(i),onMouseOver:()=>f(!0),onMouseLeave:()=>f(!1),level:s.classId.length,children:[t.jsx(Mt,{"data-testid":m("name-with-checkbox-row-checkbox",s.classId.toString()),icon:t.jsx(Nt,{width:c.sp3,height:c.sp3}),checkedIcon:t.jsx(Fd,{}),checked:o,name:s.className,id:i,disabled:r,onChange:x=>{g?.(n,x.target.checked)},style:{height:c.sp6}})," ",t.jsx(Id,{children:t.jsxs(Pd,{"data-testid":m("name-with-checkbox-row-label-container",i),checked:o,isSubclass:s.classId.length>1,children:[t.jsx("label",{"data-testid":m("name-with-checkbox-row-label",s.classId.toString()),style:{flexGrow:2,cursor:"pointer"},onClick:()=>{g?.(n,!o)},children:s.className}),p===!0&&h===!0&&s.accountingClassNumber!=null&&t.jsx(zd,{children:s.accountingClassNumber})]})})]})})}const Vd=(e,i,n,o,r,l,s,d,h,u,g)=>{if(n.element.kind!="checkbox_and_name_only")return null;const p=n.element.data,f=n.config.isClassToBeFilteredOut?.(p.classId)===!1;return t.jsx(Td,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,classId:p.classId,isChecked:f,isDisabled:!1,height:o,isScrolling:s,nestedClass:p,isOpen:d,isLeaf:h,isLastNode:u,showClassAccountNumber:n.config.showClassAccountNumber,onToggleCheck:g})},N={balanceHeight:c.sp4,balanceWidth:"166px",balanceLeftMargin:c.sp4,titleWidth:new D(200,270,270),categoryClassWidth:new D(230,230,240),nameLogoWidth:new D(w[4],w[4]),nameLogoHeight:new D(w[4],w[4])};function Dd(e){switch(e){case"timeframe_headers":return w[11];case"vendor_row":return w[6];case"total":return w[8];case"loading_in_progress":return w[6];case"spacer_row":return w[8];case"title_string_only":return w[8];default:return 0}}function Rd(e,i){return!1}const Gd=a.div`
1771
1771
  user-select: none;
1772
1772
  display: flex;
1773
1773
  flex: 1 1 auto;
@@ -1852,7 +1852,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
1852
1852
  text-align: left;
1853
1853
  margin-left: ${c.sp2};
1854
1854
  color: ${e=>e.theme.colors.hero};
1855
- `,Qd=a(C)`
1855
+ `,Jd=a(C)`
1856
1856
  color: ${e=>e.theme.colors.hero};
1857
1857
  flex-grow: 1;
1858
1858
  -webkit-box-orient: vertical;
@@ -1867,7 +1867,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
1867
1867
  justify-content: "unset";
1868
1868
  display: flex;
1869
1869
  min-width: ${e=>N.categoryClassWidth.valuePx(e.windowSize)};
1870
- `,Jd=a.div`
1870
+ `,Qd=a.div`
1871
1871
  height: 100%;
1872
1872
  display: flex;
1873
1873
  flex-direction: row;
@@ -1882,7 +1882,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
1882
1882
  left: ${c.sp0};
1883
1883
  z-index: 20;
1884
1884
  `:null}
1885
- `;function Xd({backgroundColor:e,isSticky:i,height:n,isAccountColumnShown:o,isClassColumnShown:r,timeframeTicks:l}){const s=M();return t.jsxs(Ud,{height:n,bgColor:e,"data-testid":m("no-results-found-title-row"),children:[t.jsx(Jd,{isSticky:i,windowSize:s,bgColor:e,children:t.jsx(Zd,{children:W.getLocalizedStrings().vendors.opExByVendor.noResultsFound})}),t.jsxs(qd,{children:[o?t.jsx(Ni,{windowSize:s,children:t.jsx(wt,{})}):null,r?t.jsx(Ni,{windowSize:s,children:t.jsx(wt,{})}):null,l.map((d,h)=>t.jsx(Qd,{windowSize:s,children:t.jsx(wt,{children:" "})},`${h}RowItem`))]})]})}a.div`
1885
+ `;function Xd({backgroundColor:e,isSticky:i,height:n,isAccountColumnShown:o,isClassColumnShown:r,timeframeTicks:l}){const s=M();return t.jsxs(Ud,{height:n,bgColor:e,"data-testid":m("no-results-found-title-row"),children:[t.jsx(Qd,{isSticky:i,windowSize:s,bgColor:e,children:t.jsx(Zd,{children:W.getLocalizedStrings().vendors.opExByVendor.noResultsFound})}),t.jsxs(qd,{children:[o?t.jsx(Ni,{windowSize:s,children:t.jsx(wt,{})}):null,r?t.jsx(Ni,{windowSize:s,children:t.jsx(wt,{})}):null,l.map((d,h)=>t.jsx(Jd,{windowSize:s,children:t.jsx(wt,{children:" "})},`${h}RowItem`))]})]})}a.div`
1886
1886
  user-select: none;
1887
1887
  display: flex;
1888
1888
  flex: 1 1 auto;
@@ -1913,7 +1913,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
1913
1913
  left: ${c.sp0};
1914
1914
  z-index: 20;
1915
1915
  `:null}
1916
- `;function Qt({title:e,selectedMode:i,onCompareModeChanged:n,backgroundColor:o,optionBackgroundColor:r,selectedOptionBackgroundColor:l,optionTextStyle:s,titleTextStyle:d,titleTextAlignment:h,titleColor:u,menuPosition:g}){const p=["compare_mode_percent","compare_mode_amount"],f=x=>W.getLocalizedStrings().compareMode[x];return t.jsx(vo,{title:e,pickerValues:p,valueToLabel:f,selectedValue:i,onPickerSelectionChanged:x=>n(x),optionTextStyle:s,titleTextStyle:d,titleTextAlignment:h,titleColor:u,optionBackgroundColor:r,selectedOptionBackgroundColor:l,backgroundColor:o??"inherit",menuPosition:g})}const At={balanceHeight:c.sp4,balanceWidthInPx:170,balanceLeftMargin:c.sp4},eh=a.div`
1916
+ `;function Jt({title:e,selectedMode:i,onCompareModeChanged:n,backgroundColor:o,optionBackgroundColor:r,selectedOptionBackgroundColor:l,optionTextStyle:s,titleTextStyle:d,titleTextAlignment:h,titleColor:u,menuPosition:g}){const p=["compare_mode_percent","compare_mode_amount"],f=x=>W.getLocalizedStrings().compareMode[x];return t.jsx(vo,{title:e,pickerValues:p,valueToLabel:f,selectedValue:i,onPickerSelectionChanged:x=>n(x),optionTextStyle:s,titleTextStyle:d,titleTextAlignment:h,titleColor:u,optionBackgroundColor:r,selectedOptionBackgroundColor:l,backgroundColor:o??"inherit",menuPosition:g})}const At={balanceHeight:c.sp4,balanceWidthInPx:170,balanceLeftMargin:c.sp4},eh=a.div`
1917
1917
  margin-left: ${c.sp4};
1918
1918
  `,th=a.div`
1919
1919
  display: flex;
@@ -2030,7 +2030,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
2030
2030
  display: flex;
2031
2031
  gap: 6px;
2032
2032
  align-items: center;
2033
- `,Jt=a.div`
2033
+ `,Qt=a.div`
2034
2034
  display: flex;
2035
2035
  cursor: pointer;
2036
2036
  `,hh=a.div`
@@ -2056,12 +2056,12 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
2056
2056
  min-height: ${c.sp8};
2057
2057
  `,lt=a.div`
2058
2058
  color: ${e=>e.selectedForSort?e.theme.colors.primary:e.theme.colors.hero};
2059
- `,st=a(Tt)`
2059
+ `,st=a(Vt)`
2060
2060
  width: 12px;
2061
2061
  height: 12px;
2062
2062
  margin-left: ${c.sp2};
2063
2063
  margin-top: ${c.sp1};
2064
- `,ct=a(Ft)`
2064
+ `,ct=a(Tt)`
2065
2065
  width: 12px;
2066
2066
  height: 12px;
2067
2067
  margin-left: ${c.sp2};
@@ -2071,7 +2071,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
2071
2071
  height: 12px;
2072
2072
  cursor: pointer;
2073
2073
  color: ${e=>e.theme.colors.hero};
2074
- `,Yn=({sortOrder:e,sortKey:i,onSortOrderChanged:n})=>{const o=()=>{n(dt("totals",e,i),"totals")},r=i==="totals"?e:"ascending";return t.jsx(Kn,{"data-testid":m("period-total-tick"),children:t.jsx(Gn,{"data-testid":m("period-total-tick-element"),onClick:o,isClickable:!0,children:t.jsxs(En,{children:[W.getLocalizedStrings().vendors.opExByVendor.periodTotal,t.jsx(lt,{selectedForSort:i==="totals",children:r==="ascending"?t.jsx(ct,{}):t.jsx(st,{})})]})})})},gh=({sortKey:e="totals",sortOrder:i="ascending",onSortOrderChanged:n,onSortCancel:o})=>{const r=()=>{n(dt("vendor",i,e),"vendor")},l=e==="vendor"?i:"ascending";return t.jsxs(dh,{selectedForSort:e==="vendor",children:[t.jsxs(Jt,{onClick:r,children:[W.getLocalizedStrings().vendors.opExByVendor.vendor,t.jsx(lt,{selectedForSort:e==="vendor",children:l==="ascending"?t.jsx(ct,{}):t.jsx(st,{})})]}),e==="vendor"?t.jsx(Xt,{onClick:o}):null]})},fh=({sortKey:e="totals",sortOrder:i="ascending",onSortOrderChanged:n,onSortCancel:o})=>{const r=()=>{n(dt("account",i,e),"account")},l=e==="account"?i:"ascending",s=M();return t.jsxs(Hn,{selectedForSort:e==="account",windowSize:s,children:[t.jsxs(Jt,{onClick:r,children:[W.getLocalizedStrings().vendors.opExByVendor.category,t.jsx(lt,{selectedForSort:e==="account",children:l==="ascending"?t.jsx(ct,{}):t.jsx(st,{})})]}),e==="account"?t.jsx(Xt,{onClick:o}):null]})},xh=({sortKey:e="totals",sortOrder:i="ascending",onSortOrderChanged:n,onSortCancel:o})=>{const r=()=>{n(dt("class",i,e),"class")},l=e==="class"?i:"ascending",s=M();return t.jsxs(Hn,{selectedForSort:e==="class",windowSize:s,children:[t.jsxs(Jt,{onClick:r,children:[W.getLocalizedStrings().vendors.opExByVendor.class,t.jsx(lt,{selectedForSort:e==="class",children:l==="ascending"?t.jsx(ct,{}):t.jsx(st,{})})]}),e==="class"?t.jsx(Xt,{onClick:o}):null]})},Un=({firstMonthOfFY:e,timeframeTick:i,timeframe:n,dataAvailable:o,bookCloseDate:r})=>{const l=W.getLocalizedStrings().reports,s=r!=null&&o!=null&&(i.balanceType==="default"||i.balanceType==="default_with_percent")?A.getTimeframeTickTag(n,e,i,r,o):void 0,d=s!=null?s==="under_review"?l.bookCloseTagUnderReview:l.bookCloseTagInProgress:void 0,h=Rn(s,n);return t.jsx(Kn,{children:r!=null&&o!=null&&s!=null&&d!=null&&h!=null?t.jsx(Dn,{firstMonthOfFY:e,timeframeTick:i,timeframe:n,tagName:d,infoContent:h,tagType:s}):t.jsx(Gn,{isClickable:!1,children:t.jsx(En,{children:Ie(e,i,n)})})})},mh=({firstMonthOfFY:e,timeframeTick:i,timeframe:n,sortKey:o="totals",sortOrder:r="ascending",dataAvailable:l,bookCloseDate:s,onSortOrderChanged:d})=>i.balanceType==="period_total"?t.jsx(Yn,{sortKey:o,sortOrder:r,onSortOrderChanged:d}):t.jsx(Un,{firstMonthOfFY:e,timeframeTick:i,timeframe:n,dataAvailable:l,bookCloseDate:s}),wh=({firstMonthOfFY:e,timeframeTicks:i,timeframe:n,compareMode:o,sortKey:r="totals",sortOrder:l="ascending",dataAvailable:s,bookCloseDate:d,onCompareModeChanged:h,onSortOrderChanged:u})=>{const g=ce(),p=o==="compare_mode_amount"?`${W.getLocalizedStrings().compareMode.changePrefix} ${i[0].currencySymbol}`:W.getLocalizedStrings().compareMode.changePercent;return t.jsx(hh,{children:i.map((f,x)=>t.jsxs(I.Fragment,{children:[f.balanceType==="this_period_vs_last_period"||f.balanceType==="this_period_vs_last_period_percent"?t.jsx(ph,{children:t.jsx(Qt,{title:p,titleTextStyle:zt.standardRegular,titleTextAlignment:"flex-end",titleColor:g.colors.primary,selectedMode:o,menuPosition:"right",onCompareModeChanged:b=>{b!=="off"&&(b==="compare_mode_amount"||b==="compare_mode_percent"?h?.(b):console.warn("Invalid compare mode option"))}})}):null,f.balanceType==="period_total"?t.jsx(Yn,{sortKey:r,sortOrder:l,onSortOrderChanged:u}):null,f.balanceType==="default"?t.jsx(uh,{children:t.jsx(Un,{firstMonthOfFY:e,timeframeTick:f,timeframe:n,dataAvailable:s,bookCloseDate:d},x)}):null]},x))})};function yh({backgroundColor:e,isSticky:i,height:n,isCompareModeOn:o,isAccountColumnShown:r,isClassColumnShown:l,sortKey:s,sortOrder:d,firstMonthOfFY:h,timeframe:u,timeframeTicks:g,compareMode:p,dataAvailable:f,bookCloseDate:x,onCompareModeChanged:b,onSortOrderChanged:y}){const S=M(),v=(L,O)=>{y?.(L,O)},B=()=>{y?.("descending","totals")};return t.jsxs(ah,{height:n,bgColor:e,children:[t.jsx(sh,{bgColor:e,windowSize:S,isSticky:i,children:t.jsx(ch,{plHeight:n,windowSize:S,bgColor:e,children:t.jsx(gh,{sortKey:s,sortOrder:d,onSortOrderChanged:v,onSortCancel:B})})}),r?t.jsx(fh,{sortKey:s,sortOrder:d,onSortOrderChanged:v,onSortCancel:B}):null,l?t.jsx(xh,{sortKey:s,sortOrder:d,onSortOrderChanged:v,onSortCancel:B}):null,t.jsx(lh,{children:o===!0?t.jsx(wh,{firstMonthOfFY:h,timeframe:u,sortKey:s,sortOrder:d,timeframeTicks:g,compareMode:p,dataAvailable:f,bookCloseDate:x,onCompareModeChanged:b,onSortOrderChanged:v}):g.map((L,O)=>t.jsx(mh,{firstMonthOfFY:h,timeframeTick:L,timeframe:u,sortKey:s,sortOrder:d,dataAvailable:f,bookCloseDate:x,onSortOrderChanged:v},O))})]})}const dt=(e,i,n)=>e===n?i==="ascending"?"descending":"ascending":"descending",bh=a.div`
2074
+ `,Yn=({sortOrder:e,sortKey:i,onSortOrderChanged:n})=>{const o=()=>{n(dt("totals",e,i),"totals")},r=i==="totals"?e:"ascending";return t.jsx(Kn,{"data-testid":m("period-total-tick"),children:t.jsx(Gn,{"data-testid":m("period-total-tick-element"),onClick:o,isClickable:!0,children:t.jsxs(En,{children:[W.getLocalizedStrings().vendors.opExByVendor.periodTotal,t.jsx(lt,{selectedForSort:i==="totals",children:r==="ascending"?t.jsx(ct,{}):t.jsx(st,{})})]})})})},gh=({sortKey:e="totals",sortOrder:i="ascending",onSortOrderChanged:n,onSortCancel:o})=>{const r=()=>{n(dt("vendor",i,e),"vendor")},l=e==="vendor"?i:"ascending";return t.jsxs(dh,{selectedForSort:e==="vendor",children:[t.jsxs(Qt,{onClick:r,children:[W.getLocalizedStrings().vendors.opExByVendor.vendor,t.jsx(lt,{selectedForSort:e==="vendor",children:l==="ascending"?t.jsx(ct,{}):t.jsx(st,{})})]}),e==="vendor"?t.jsx(Xt,{onClick:o}):null]})},fh=({sortKey:e="totals",sortOrder:i="ascending",onSortOrderChanged:n,onSortCancel:o})=>{const r=()=>{n(dt("account",i,e),"account")},l=e==="account"?i:"ascending",s=M();return t.jsxs(Hn,{selectedForSort:e==="account",windowSize:s,children:[t.jsxs(Qt,{onClick:r,children:[W.getLocalizedStrings().vendors.opExByVendor.category,t.jsx(lt,{selectedForSort:e==="account",children:l==="ascending"?t.jsx(ct,{}):t.jsx(st,{})})]}),e==="account"?t.jsx(Xt,{onClick:o}):null]})},xh=({sortKey:e="totals",sortOrder:i="ascending",onSortOrderChanged:n,onSortCancel:o})=>{const r=()=>{n(dt("class",i,e),"class")},l=e==="class"?i:"ascending",s=M();return t.jsxs(Hn,{selectedForSort:e==="class",windowSize:s,children:[t.jsxs(Qt,{onClick:r,children:[W.getLocalizedStrings().vendors.opExByVendor.class,t.jsx(lt,{selectedForSort:e==="class",children:l==="ascending"?t.jsx(ct,{}):t.jsx(st,{})})]}),e==="class"?t.jsx(Xt,{onClick:o}):null]})},Un=({firstMonthOfFY:e,timeframeTick:i,timeframe:n,dataAvailable:o,bookCloseDate:r})=>{const l=W.getLocalizedStrings().reports,s=r!=null&&o!=null&&(i.balanceType==="default"||i.balanceType==="default_with_percent")?A.getTimeframeTickTag(n,e,i,r,o):void 0,d=s!=null?s==="under_review"?l.bookCloseTagUnderReview:l.bookCloseTagInProgress:void 0,h=Rn(s,n);return t.jsx(Kn,{children:r!=null&&o!=null&&s!=null&&d!=null&&h!=null?t.jsx(Dn,{firstMonthOfFY:e,timeframeTick:i,timeframe:n,tagName:d,infoContent:h,tagType:s}):t.jsx(Gn,{isClickable:!1,children:t.jsx(En,{children:Ie(e,i,n)})})})},mh=({firstMonthOfFY:e,timeframeTick:i,timeframe:n,sortKey:o="totals",sortOrder:r="ascending",dataAvailable:l,bookCloseDate:s,onSortOrderChanged:d})=>i.balanceType==="period_total"?t.jsx(Yn,{sortKey:o,sortOrder:r,onSortOrderChanged:d}):t.jsx(Un,{firstMonthOfFY:e,timeframeTick:i,timeframe:n,dataAvailable:l,bookCloseDate:s}),wh=({firstMonthOfFY:e,timeframeTicks:i,timeframe:n,compareMode:o,sortKey:r="totals",sortOrder:l="ascending",dataAvailable:s,bookCloseDate:d,onCompareModeChanged:h,onSortOrderChanged:u})=>{const g=ce(),p=o==="compare_mode_amount"?`${W.getLocalizedStrings().compareMode.changePrefix} ${i[0].currencySymbol}`:W.getLocalizedStrings().compareMode.changePercent;return t.jsx(hh,{children:i.map((f,x)=>t.jsxs(I.Fragment,{children:[f.balanceType==="this_period_vs_last_period"||f.balanceType==="this_period_vs_last_period_percent"?t.jsx(ph,{children:t.jsx(Jt,{title:p,titleTextStyle:Ft.standardRegular,titleTextAlignment:"flex-end",titleColor:g.colors.primary,selectedMode:o,menuPosition:"right",onCompareModeChanged:b=>{b!=="off"&&(b==="compare_mode_amount"||b==="compare_mode_percent"?h?.(b):console.warn("Invalid compare mode option"))}})}):null,f.balanceType==="period_total"?t.jsx(Yn,{sortKey:r,sortOrder:l,onSortOrderChanged:u}):null,f.balanceType==="default"?t.jsx(uh,{children:t.jsx(Un,{firstMonthOfFY:e,timeframeTick:f,timeframe:n,dataAvailable:s,bookCloseDate:d},x)}):null]},x))})};function yh({backgroundColor:e,isSticky:i,height:n,isCompareModeOn:o,isAccountColumnShown:r,isClassColumnShown:l,sortKey:s,sortOrder:d,firstMonthOfFY:h,timeframe:u,timeframeTicks:g,compareMode:p,dataAvailable:f,bookCloseDate:x,onCompareModeChanged:b,onSortOrderChanged:y}){const S=M(),v=(L,O)=>{y?.(L,O)},B=()=>{y?.("descending","totals")};return t.jsxs(ah,{height:n,bgColor:e,children:[t.jsx(sh,{bgColor:e,windowSize:S,isSticky:i,children:t.jsx(ch,{plHeight:n,windowSize:S,bgColor:e,children:t.jsx(gh,{sortKey:s,sortOrder:d,onSortOrderChanged:v,onSortCancel:B})})}),r?t.jsx(fh,{sortKey:s,sortOrder:d,onSortOrderChanged:v,onSortCancel:B}):null,l?t.jsx(xh,{sortKey:s,sortOrder:d,onSortOrderChanged:v,onSortCancel:B}):null,t.jsx(lh,{children:o===!0?t.jsx(wh,{firstMonthOfFY:h,timeframe:u,sortKey:s,sortOrder:d,timeframeTicks:g,compareMode:p,dataAvailable:f,bookCloseDate:x,onCompareModeChanged:b,onSortOrderChanged:v}):g.map((L,O)=>t.jsx(mh,{firstMonthOfFY:h,timeframeTick:L,timeframe:u,sortKey:s,sortOrder:d,dataAvailable:f,bookCloseDate:x,onSortOrderChanged:v},O))})]})}const dt=(e,i,n)=>e===n?i==="ascending"?"descending":"ascending":"descending",bh=a.div`
2075
2075
  display: flex;
2076
2076
  flex: 1 1 auto;
2077
2077
  max-height: 1px;
@@ -2270,7 +2270,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
2270
2270
  `,Hh=a(C)`
2271
2271
  color: ${e=>e.theme.colors.hero};
2272
2272
  display: none;
2273
- `,Kh=({balance:e,vendor:i,onVendorNameAndBalanceClick:n})=>{const o=e?.type==="this_period_vs_last_period"||e?.type==="this_period_vs_last_period_percent",r=e?.type==="period_total",l=e?.type==="default_with_null_balance",s=o!==!0&&r===!1&&l===!1&&!A.isOpexByVendorIDNotSpecifiedVendor(i.id);return t.jsx(Ih,{children:t.jsx(Ph,{isClickable:s,onClick:()=>{s===!0&&n(i,e??void 0)},children:Z(e)})})};function Yh({type:e,backgroundColor:i,isSticky:n,height:o,isScrolling:r,isLastNode:l,vendor:s,balances:d,accountBase:h,classBase:u,isAccountColumnShown:g,isClassColumnShown:p,onVendorNameAndBalanceClick:f}){const x=M(),b=Di(),y=b.loggedInUserRole!=null&&!A.hasInvestorBankerLevelAccess(b.loggedInUserRole),S=A.isOpexByVendorIDNotSpecifiedVendor(s.id),v=y===!0&&s!=null&&!S,B=v?"pointer":"default",L=s.name;return t.jsxs(Oh,{"data-testid":m("vendor-row-root-container",s.id),height:o,bgColor:i,windowSize:x,children:[t.jsxs(Mh,{"data-testid":m("vendor-row-container",s.id),style:{cursor:B},isClickable:v,children:[t.jsx(zh,{"data-testid":m("vendor-row-sticky-container",s.id),isSticky:n,windowSize:x,bgColor:i,children:t.jsxs(Fh,{"data-testid":m("vendor-row-name-container",s.id),windowSize:x,bgColor:i,children:[t.jsxs(Je,{controller:!S,children:[s.logo!=null?t.jsx(Nt,{photoUrl:s.logo.toString(),styles:{width:N.nameLogoWidth.valuePx(x),height:N.nameLogoHeight.valuePx(x)}}):t.jsx(It,{name:L,size:c.sp4}),t.jsx(_e,{"data-testid":m("vendor-row-name",s.id),style:{cursor:B},isClickable:v,onClick:()=>{v===!0&&f(s)},children:L})]}),t.jsx(Je,{controller:S,children:t.jsxs(Gh,{children:[t.jsx(Dh,{children:t.jsx(Rh,{})}),t.jsx(Eh,{className:"hyphen-text",children:W.getLocalizedStrings().common.strings.hyphen}),t.jsx(Hh,{className:"not-specified-text",children:L})]})})]})}),g?t.jsx(Th,{windowSize:x,bgColor:i,children:h!=null?t.jsx(_e,{"data-testid":m("vendor-row-account-name",s.id),title:h.accountName,isClickable:!1,children:h.accountName}):t.jsx(_e,{isClickable:!1,"data-testid":m("vendor-row-account-name",s.id),children:W.getLocalizedStrings().common.strings.hyphen})}):null,p?t.jsx(Vh,{windowSize:x,bgColor:i,children:u!=null?t.jsx(_e,{"data-testid":m("vendor-row-class-name",s.id),title:u.className,isClickable:!1,children:u.className}):t.jsx(_e,{"data-testid":m("vendor-row-class-name",s.id),isClickable:!1,children:W.getLocalizedStrings().common.strings.hyphen})}):null,t.jsx(Nh,{children:d.map((O,F)=>t.jsx(Kh,{type:e,balance:O,vendor:s,onVendorNameAndBalanceClick:f},F))})]}),t.jsx(Uh,{isScrolling:r,isLastNode:l})]})}function Uh({isScrolling:e,isLastNode:i}){return i?t.jsx(Bt,{isScrolling:e,kind:"end_row_separator"}):t.jsx(Bt,{isScrolling:e,kind:"vendor_row_separator"})}const qh=(e,i,n,o,r,l)=>{if(e.element.kind!=="timeframe_headers")return null;const s=Pe(e.element.data,e.config.displayOrder),d=s.length>0?s[0].balanceTimeFrame:"month",h=s.map(u=>A.toTimeframeTick(u));return t.jsx(yh,{backgroundColor:r,isSticky:n,height:i,isAccountColumnShown:e.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:e.config.opexByVendorConfig?.isClassColumnShown??!0,isCompareModeOn:e.config.mode==="this_period_vs_period_before"&&h.length>1,firstMonthOfFY:e.config.firstMonthOfFY,timeframe:d,timeframeTicks:h,sortKey:e.config.opexByVendorConfig?.sortKey,sortOrder:e.config.opexByVendorConfig?.sortOrder,dataAvailable:e.config.dataAvailable,bookCloseDate:e.config.bookCloseDate,compareMode:o,onCompareModeChanged:l,onSortOrderChanged:e.config.opexByVendorConfig?.onSortOrderChanged})},Zh=(e,i,n,o,r,l,s)=>{const d=n.element.data,h=n.config.mode==="this_period_vs_period_before",u=h?n.element.numOfBalances+2:n.element.numOfBalances+1,g=vn(d,n.config.displayOrder,u,h);return t.jsx(Wh,{type:i,backgroundColor:s,isSticky:r,treeNodeId:e,height:o,isScrolling:l,totalBalances:g.balances,title:n.element.title,isAccountColumnShown:n.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:n.config.opexByVendorConfig?.isClassColumnShown??!0})},Qh=(e,i,n,o,r,l,s)=>{if(i.element.kind!="vendor_row"||i.element.data==null)return null;const d=i.element.data,h=i.config.mode==="this_period_vs_period_before",u=vn(d,i.config.displayOrder,i.element.numOfBalances,h);return t.jsx(Yh,{type:e,backgroundColor:o,isSticky:r,height:n,isScrolling:l,vendor:d.vendor,accountBase:d.account,classBase:d.classBase,isLastNode:s,balances:u.balances,isAccountColumnShown:i.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:i.config.opexByVendorConfig?.isClassColumnShown??!0,onVendorNameAndBalanceClick:(g,p)=>{i.config.opexByVendorConfig?.onVendorNameAndBalanceClicked(g,p)}})},Jh=(e,i,n,o)=>{if(e.element.kind!=="loading_in_progress")return null;const r=Pe(e.element.data,e.config.displayOrder).map(l=>A.toTimeframeTick(l));return t.jsx(Yd,{backgroundColor:n,isSticky:o,height:i,isAccountColumnShown:e.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:e.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:r})},Xh=(e,i,n,o)=>{if(e.element.kind!=="title_string_only")return null;const r=Pe(e.element.data,e.config.displayOrder).map(l=>A.toTimeframeTick(l));return t.jsx(Xd,{backgroundColor:n,isSticky:o,height:i,isAccountColumnShown:e.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:e.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:r})};function ei(e,i,n){return eu(i,n,e)}const eu=(e,i,n)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.account.balancesInTimeframe,o.compactedAccountsSelector=r=>Pi(r.accounts,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>Pi(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r,o.compactedAccountGroupsSelector=r=>tu(r,o.acGroupBalanceSelector,n,i),o};function Pi(e,i,n){switch(n){case"off":return e;case"filter_actual_nil_balances":return e.filter(o=>iu((i(o)?.balances??[]).concat(i(o)?.additionalBalances??[]))||Zn((i(o)?.balances??[]).concat(i(o)?.additionalBalances??[])));case"filter_forecast_nil_balances":return e.filter(o=>zi(i(o)?.balances??[]));case"filter_actual_forecast_nil_balances":return e.filter(o=>zi(i(o)?.balances??[]))}}function tu(e,i,n,o){switch(o){case"off":return e;case"filter_actual_nil_account_group_balances":return e.filter(r=>Zn(i(r)?.balances??[]));case"filter_forecast_nil_account_group_balances":return e.filter(r=>nu(i(r)?.balances??[]));case"filter_actual_forecast_nil_account_group_balances":return e.filter(r=>ou(i(r)?.balances??[]));case"filter_actual_forecast_empty_account_group_balances":return e.filter(r=>(i(r)?.balances??[]).length>0)}}function Zn(e){let i=!1;if(e!=null){for(const n of e)if(n.balance.amount!==0){i=!0;break}}return i}function iu(e){let i=!1;if(e!=null){for(const n of e)if(n.totalBalance!=null&&n.totalBalance.amount!==0){i=!0;break}}return i}function nu(e){let i=!1;if(e!=null){for(const n of e)if(n.forecast!=null&&n.forecast.amount!==0){i=!0;break}}return i}function ou(e){let i=!1;if(e!=null){for(const n of e)if(n.forecast!=null&&n.forecast.amount!==0||n.balance!=null&&n.balance.amount!==0){i=!0;break}}return i}function zi(e){let i=!1;if(e!=null){for(const n of e)if(n.totalForecast!=null&&n.totalForecast.amount!==0||n.totalBalance!=null&&n.totalBalance.amount!==0){i=!0;break}}return i}function Qn(e,i,n=-1,o=!0){const r=n!==-1;let l=[],s=-1;if(e==null||e.balances.length===0)return r===!0&&(l=ru([],n)),{balances:l,thisPeriodIndex:s};let d=e.balances;return i==="ascending_date"?s=e.balances.length-1:(s=0,d=[...e.balances].reverse()),{balances:[...d,...o?e.additionalBalances:[]],thisPeriodIndex:s}}function ru(e,i){return e.length>0?e:Vi(Array(i),null)}const au=a.div`
2273
+ `,Kh=({balance:e,vendor:i,onVendorNameAndBalanceClick:n})=>{const o=e?.type==="this_period_vs_last_period"||e?.type==="this_period_vs_last_period_percent",r=e?.type==="period_total",l=e?.type==="default_with_null_balance",s=o!==!0&&r===!1&&l===!1&&!A.isOpexByVendorIDNotSpecifiedVendor(i.id);return t.jsx(Ih,{children:t.jsx(Ph,{isClickable:s,onClick:()=>{s===!0&&n(i,e??void 0)},children:Z(e)})})};function Yh({type:e,backgroundColor:i,isSticky:n,height:o,isScrolling:r,isLastNode:l,vendor:s,balances:d,accountBase:h,classBase:u,isAccountColumnShown:g,isClassColumnShown:p,onVendorNameAndBalanceClick:f}){const x=M(),b=Di(),y=b.loggedInUserRole!=null&&!A.hasInvestorBankerLevelAccess(b.loggedInUserRole),S=A.isOpexByVendorIDNotSpecifiedVendor(s.id),v=y===!0&&s!=null&&!S,B=v?"pointer":"default",L=s.name;return t.jsxs(Oh,{"data-testid":m("vendor-row-root-container",s.id),height:o,bgColor:i,windowSize:x,children:[t.jsxs(Mh,{"data-testid":m("vendor-row-container",s.id),style:{cursor:B},isClickable:v,children:[t.jsx(zh,{"data-testid":m("vendor-row-sticky-container",s.id),isSticky:n,windowSize:x,bgColor:i,children:t.jsxs(Fh,{"data-testid":m("vendor-row-name-container",s.id),windowSize:x,bgColor:i,children:[t.jsxs(Qe,{controller:!S,children:[s.logo!=null?t.jsx(It,{photoUrl:s.logo.toString(),styles:{width:N.nameLogoWidth.valuePx(x),height:N.nameLogoHeight.valuePx(x)}}):t.jsx(Pt,{name:L,size:c.sp4}),t.jsx(_e,{"data-testid":m("vendor-row-name",s.id),style:{cursor:B},isClickable:v,onClick:()=>{v===!0&&f(s)},children:L})]}),t.jsx(Qe,{controller:S,children:t.jsxs(Gh,{children:[t.jsx(Dh,{children:t.jsx(Rh,{})}),t.jsx(Eh,{className:"hyphen-text",children:W.getLocalizedStrings().common.strings.hyphen}),t.jsx(Hh,{className:"not-specified-text",children:L})]})})]})}),g?t.jsx(Th,{windowSize:x,bgColor:i,children:h!=null?t.jsx(_e,{"data-testid":m("vendor-row-account-name",s.id),title:h.accountName,isClickable:!1,children:h.accountName}):t.jsx(_e,{isClickable:!1,"data-testid":m("vendor-row-account-name",s.id),children:W.getLocalizedStrings().common.strings.hyphen})}):null,p?t.jsx(Vh,{windowSize:x,bgColor:i,children:u!=null?t.jsx(_e,{"data-testid":m("vendor-row-class-name",s.id),title:u.className,isClickable:!1,children:u.className}):t.jsx(_e,{"data-testid":m("vendor-row-class-name",s.id),isClickable:!1,children:W.getLocalizedStrings().common.strings.hyphen})}):null,t.jsx(Nh,{children:d.map((O,F)=>t.jsx(Kh,{type:e,balance:O,vendor:s,onVendorNameAndBalanceClick:f},F))})]}),t.jsx(Uh,{isScrolling:r,isLastNode:l})]})}function Uh({isScrolling:e,isLastNode:i}){return i?t.jsx(Bt,{isScrolling:e,kind:"end_row_separator"}):t.jsx(Bt,{isScrolling:e,kind:"vendor_row_separator"})}const qh=(e,i,n,o,r,l)=>{if(e.element.kind!=="timeframe_headers")return null;const s=Pe(e.element.data,e.config.displayOrder),d=s.length>0?s[0].balanceTimeFrame:"month",h=s.map(u=>A.toTimeframeTick(u));return t.jsx(yh,{backgroundColor:r,isSticky:n,height:i,isAccountColumnShown:e.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:e.config.opexByVendorConfig?.isClassColumnShown??!0,isCompareModeOn:e.config.mode==="this_period_vs_period_before"&&h.length>1,firstMonthOfFY:e.config.firstMonthOfFY,timeframe:d,timeframeTicks:h,sortKey:e.config.opexByVendorConfig?.sortKey,sortOrder:e.config.opexByVendorConfig?.sortOrder,dataAvailable:e.config.dataAvailable,bookCloseDate:e.config.bookCloseDate,compareMode:o,onCompareModeChanged:l,onSortOrderChanged:e.config.opexByVendorConfig?.onSortOrderChanged})},Zh=(e,i,n,o,r,l,s)=>{const d=n.element.data,h=n.config.mode==="this_period_vs_period_before",u=h?n.element.numOfBalances+2:n.element.numOfBalances+1,g=vn(d,n.config.displayOrder,u,h);return t.jsx(Wh,{type:i,backgroundColor:s,isSticky:r,treeNodeId:e,height:o,isScrolling:l,totalBalances:g.balances,title:n.element.title,isAccountColumnShown:n.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:n.config.opexByVendorConfig?.isClassColumnShown??!0})},Jh=(e,i,n,o,r,l,s)=>{if(i.element.kind!="vendor_row"||i.element.data==null)return null;const d=i.element.data,h=i.config.mode==="this_period_vs_period_before",u=vn(d,i.config.displayOrder,i.element.numOfBalances,h);return t.jsx(Yh,{type:e,backgroundColor:o,isSticky:r,height:n,isScrolling:l,vendor:d.vendor,accountBase:d.account,classBase:d.classBase,isLastNode:s,balances:u.balances,isAccountColumnShown:i.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:i.config.opexByVendorConfig?.isClassColumnShown??!0,onVendorNameAndBalanceClick:(g,p)=>{i.config.opexByVendorConfig?.onVendorNameAndBalanceClicked(g,p)}})},Qh=(e,i,n,o)=>{if(e.element.kind!=="loading_in_progress")return null;const r=Pe(e.element.data,e.config.displayOrder).map(l=>A.toTimeframeTick(l));return t.jsx(Yd,{backgroundColor:n,isSticky:o,height:i,isAccountColumnShown:e.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:e.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:r})},Xh=(e,i,n,o)=>{if(e.element.kind!=="title_string_only")return null;const r=Pe(e.element.data,e.config.displayOrder).map(l=>A.toTimeframeTick(l));return t.jsx(Xd,{backgroundColor:n,isSticky:o,height:i,isAccountColumnShown:e.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:e.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:r})};function ei(e,i,n){return eu(i,n,e)}const eu=(e,i,n)=>{const o={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return o.acBalanceSelector=r=>r.account.balancesInTimeframe,o.compactedAccountsSelector=r=>Pi(r.accounts,o.acBalanceSelector,e),o.compactedAccountsSelectorVariant=r=>Pi(r,o.acBalanceSelector,e),o.acGroupBalanceSelector=r=>r,o.compactedAccountGroupsSelector=r=>tu(r,o.acGroupBalanceSelector,n,i),o};function Pi(e,i,n){switch(n){case"off":return e;case"filter_actual_nil_balances":return e.filter(o=>iu((i(o)?.balances??[]).concat(i(o)?.additionalBalances??[]))||Zn((i(o)?.balances??[]).concat(i(o)?.additionalBalances??[])));case"filter_forecast_nil_balances":return e.filter(o=>zi(i(o)?.balances??[]));case"filter_actual_forecast_nil_balances":return e.filter(o=>zi(i(o)?.balances??[]))}}function tu(e,i,n,o){switch(o){case"off":return e;case"filter_actual_nil_account_group_balances":return e.filter(r=>Zn(i(r)?.balances??[]));case"filter_forecast_nil_account_group_balances":return e.filter(r=>nu(i(r)?.balances??[]));case"filter_actual_forecast_nil_account_group_balances":return e.filter(r=>ou(i(r)?.balances??[]));case"filter_actual_forecast_empty_account_group_balances":return e.filter(r=>(i(r)?.balances??[]).length>0)}}function Zn(e){let i=!1;if(e!=null){for(const n of e)if(n.balance.amount!==0){i=!0;break}}return i}function iu(e){let i=!1;if(e!=null){for(const n of e)if(n.totalBalance!=null&&n.totalBalance.amount!==0){i=!0;break}}return i}function nu(e){let i=!1;if(e!=null){for(const n of e)if(n.forecast!=null&&n.forecast.amount!==0){i=!0;break}}return i}function ou(e){let i=!1;if(e!=null){for(const n of e)if(n.forecast!=null&&n.forecast.amount!==0||n.balance!=null&&n.balance.amount!==0){i=!0;break}}return i}function zi(e){let i=!1;if(e!=null){for(const n of e)if(n.totalForecast!=null&&n.totalForecast.amount!==0||n.totalBalance!=null&&n.totalBalance.amount!==0){i=!0;break}}return i}function Jn(e,i,n=-1,o=!0){const r=n!==-1;let l=[],s=-1;if(e==null||e.balances.length===0)return r===!0&&(l=ru([],n)),{balances:l,thisPeriodIndex:s};let d=e.balances;return i==="ascending_date"?s=e.balances.length-1:(s=0,d=[...e.balances].reverse()),{balances:[...d,...o?e.additionalBalances:[]],thisPeriodIndex:s}}function ru(e,i){return e.length>0?e:Vi(Array(i),null)}const au=a.div`
2274
2274
  display: flex;
2275
2275
  flex: 1 1 auto;
2276
2276
  width: fit-content;
@@ -2297,14 +2297,14 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
2297
2297
  display: flex;
2298
2298
  flex-direction: row;
2299
2299
  justify-content: flex-start;
2300
- `,Jn=a(C)`
2300
+ `,Qn=a(C)`
2301
2301
  user-select: none;
2302
2302
  min-width: ${k.balanceWidth};
2303
2303
  max-width: ${k.balanceWidth};
2304
2304
  text-align: right;
2305
2305
  margin-left: ${k.balanceLeftMargin};
2306
2306
  color: ${e=>e.theme.colors.primary};
2307
- `,du=a(Jn)`
2307
+ `,du=a(Qn)`
2308
2308
  color: ${e=>e.theme.colors.hero};
2309
2309
  &:hover {
2310
2310
  color: inherit;
@@ -2339,7 +2339,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
2339
2339
  &:hover {
2340
2340
  color: inherit;
2341
2341
  }
2342
- `,pu=({type:e,balance:i,collapsed:n,isActualVsForecastOn:o,compareMode:r})=>{const l=n===!0?du:Jn;return t.jsxs(cu,{children:[ae(e)===!0||o?t.jsx(l,{children:Z(i)}):t.jsx(l,{children:J(i)}),o?t.jsxs(t.Fragment,{children:[t.jsx(l,{children:J(i)}),t.jsx(l,{children:r==="compare_mode_percent"?de(i):he(i)})]}):null]})};function gu({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,leftChevron:l,accountGroupName:s,accountGroupBalances:d,isActualVsForecastOn:h,compareMode:u,isScrolling:g,isOpen:p,isLeaf:f,isLastNode:x,onClick:b}){const y=ce(),S=M(),v=!f,B=v?"pointer":"default",L=l==="collapsed",O=l==="hidden",F=O===!0?w[6]:w[4],T=L===!0?uu:Xn,Y=L===!0?Ri:Gi,H=L===!0?y.colors.hero:y.colors.primary;return t.jsxs(au,{height:r,bgColor:i,"data-testid":m("pandl-report-account-group-row-root-container",o),children:[t.jsxs(lu,{"data-testid":m("pandl-report-account-group-row-container",o),style:{cursor:B},isClickable:v,onClick:()=>b?.(o),children:[ge(e)===!0?t.jsxs(hu,{bgColor:i,isSticky:n,windowSize:S,children:[O===!1?t.jsx(Y,{color:H,style:{width:w[3],height:w[3]}}):null,t.jsx(T,{style:{marginLeft:F},children:s})]}):null,xe(e)===!0?t.jsx(su,{children:d.map((U,Q)=>t.jsx(pu,{type:e,accountGroupName:s,balance:U,isActualVsForecastOn:h,compareMode:u,collapsed:L},Q))}):null]}),t.jsx(fu,{isScrolling:g,type:e,isLeaf:f,isLastNode:x,isOpen:p})]})}function fu({isScrolling:e,type:i,isLastNode:n,isOpen:o}){let r="ac_group_row_separator";return n&&!o?r="section_row_separator":o&&(r=ge(i)===!0?"account_title_row_separator":"account_balance_row_separator"),t.jsx(me,{isScrolling:e,kind:r})}const xu=a.div`
2342
+ `,pu=({type:e,balance:i,collapsed:n,isActualVsForecastOn:o,compareMode:r})=>{const l=n===!0?du:Qn;return t.jsxs(cu,{children:[ae(e)===!0||o?t.jsx(l,{children:Z(i)}):t.jsx(l,{children:Q(i)}),o?t.jsxs(t.Fragment,{children:[t.jsx(l,{children:Q(i)}),t.jsx(l,{children:r==="compare_mode_percent"?de(i):he(i)})]}):null]})};function gu({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,leftChevron:l,accountGroupName:s,accountGroupBalances:d,isActualVsForecastOn:h,compareMode:u,isScrolling:g,isOpen:p,isLeaf:f,isLastNode:x,onClick:b}){const y=ce(),S=M(),v=!f,B=v?"pointer":"default",L=l==="collapsed",O=l==="hidden",F=O===!0?w[6]:w[4],T=L===!0?uu:Xn,Y=L===!0?Ri:Gi,H=L===!0?y.colors.hero:y.colors.primary;return t.jsxs(au,{height:r,bgColor:i,"data-testid":m("pandl-report-account-group-row-root-container",o),children:[t.jsxs(lu,{"data-testid":m("pandl-report-account-group-row-container",o),style:{cursor:B},isClickable:v,onClick:()=>b?.(o),children:[ge(e)===!0?t.jsxs(hu,{bgColor:i,isSticky:n,windowSize:S,children:[O===!1?t.jsx(Y,{color:H,style:{width:w[3],height:w[3]}}):null,t.jsx(T,{style:{marginLeft:F},children:s})]}):null,xe(e)===!0?t.jsx(su,{children:d.map((U,J)=>t.jsx(pu,{type:e,accountGroupName:s,balance:U,isActualVsForecastOn:h,compareMode:u,collapsed:L},J))}):null]}),t.jsx(fu,{isScrolling:g,type:e,isLeaf:f,isLastNode:x,isOpen:p})]})}function fu({isScrolling:e,type:i,isLastNode:n,isOpen:o}){let r="ac_group_row_separator";return n&&!o?r="section_row_separator":o&&(r=ge(i)===!0?"account_title_row_separator":"account_balance_row_separator"),t.jsx(me,{isScrolling:e,kind:r})}const xu=a.div`
2343
2343
  display: flex;
2344
2344
  flex: 1 1 auto;
2345
2345
  width: fit-content;
@@ -2408,7 +2408,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
2408
2408
  &:hover {
2409
2409
  color: inherit;
2410
2410
  }
2411
- `,Su=({type:e,balance:i,collapsed:n,isActualVsForecastOn:o,compareMode:r})=>{const l=n===!0?bu:eo;return t.jsxs(yu,{children:[ae(e)===!0||o?t.jsx(l,{children:Z(i)}):t.jsx(l,{children:J(i)}),o?t.jsxs(t.Fragment,{children:[t.jsx(l,{children:J(i)}),t.jsx(l,{children:r==="compare_mode_percent"?de(i):he(i)})]}):null]})};function Cu({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,leftChevron:l,accountGroupName:s,accountGroupBalances:d,isActualVsForecastOn:h,compareMode:u,isScrolling:g,isOpen:p,isLeaf:f,isLastNode:x,onClick:b}){const y=M(),S=ce(),v=!f,B=v?"pointer":"default",L=l==="collapsed",O=L===!0?ju:to,[F,T]=I.useState(!1),Y=s.length>0?s.substring(0,1).toUpperCase():"";return t.jsxs(xu,{"data-testid":m("pandl-account-group-row-root-container",o),height:r,bgColor:i,children:[t.jsxs(mu,{"data-testid":m("pandl-account-group-row-container",o),onMouseOver:()=>T(!0),onMouseLeave:()=>T(!1),style:{cursor:B},isClickable:v,onClick:()=>b?.(o),children:[ge(e)===!0?t.jsxs(ku,{bgColor:i,isSticky:n,windowSize:y,children:[t.jsx(be,{showCollapsedIcon:L,showIcon:F&&v,firstLetter:Y,color:_(S.colors.primary)}),t.jsx(O,{children:s})]}):null,xe(e)===!0?t.jsx(wu,{children:d.map((H,U)=>t.jsx(Su,{type:e,accountGroupName:s,balance:H,isActualVsForecastOn:h,compareMode:u,collapsed:L},U))}):null]}),t.jsx(vu,{isScrolling:g,type:e,isLeaf:f,isLastNode:x,isOpen:p})]})}function vu({isScrolling:e,type:i,isLastNode:n,isOpen:o}){let r="ac_group_row_separator";return n&&!o?r="section_row_separator":o&&(r=ge(i)===!0?"account_title_row_separator":"account_balance_row_separator"),t.jsx(me,{isScrolling:e,kind:r})}const $u=a.div`
2411
+ `,Su=({type:e,balance:i,collapsed:n,isActualVsForecastOn:o,compareMode:r})=>{const l=n===!0?bu:eo;return t.jsxs(yu,{children:[ae(e)===!0||o?t.jsx(l,{children:Z(i)}):t.jsx(l,{children:Q(i)}),o?t.jsxs(t.Fragment,{children:[t.jsx(l,{children:Q(i)}),t.jsx(l,{children:r==="compare_mode_percent"?de(i):he(i)})]}):null]})};function Cu({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,leftChevron:l,accountGroupName:s,accountGroupBalances:d,isActualVsForecastOn:h,compareMode:u,isScrolling:g,isOpen:p,isLeaf:f,isLastNode:x,onClick:b}){const y=M(),S=ce(),v=!f,B=v?"pointer":"default",L=l==="collapsed",O=L===!0?ju:to,[F,T]=I.useState(!1),Y=s.length>0?s.substring(0,1).toUpperCase():"";return t.jsxs(xu,{"data-testid":m("pandl-account-group-row-root-container",o),height:r,bgColor:i,children:[t.jsxs(mu,{"data-testid":m("pandl-account-group-row-container",o),onMouseOver:()=>T(!0),onMouseLeave:()=>T(!1),style:{cursor:B},isClickable:v,onClick:()=>b?.(o),children:[ge(e)===!0?t.jsxs(ku,{bgColor:i,isSticky:n,windowSize:y,children:[t.jsx(be,{showCollapsedIcon:L,showIcon:F&&v,firstLetter:Y,color:_(S.colors.primary)}),t.jsx(O,{children:s})]}):null,xe(e)===!0?t.jsx(wu,{children:d.map((H,U)=>t.jsx(Su,{type:e,accountGroupName:s,balance:H,isActualVsForecastOn:h,compareMode:u,collapsed:L},U))}):null]}),t.jsx(vu,{isScrolling:g,type:e,isLeaf:f,isLastNode:x,isOpen:p})]})}function vu({isScrolling:e,type:i,isLastNode:n,isOpen:o}){let r="ac_group_row_separator";return n&&!o?r="section_row_separator":o&&(r=ge(i)===!0?"account_title_row_separator":"account_balance_row_separator"),t.jsx(me,{isScrolling:e,kind:r})}const $u=a.div`
2412
2412
  display: flex;
2413
2413
  flex: 1 1 auto;
2414
2414
  width: fit-content;
@@ -2472,7 +2472,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
2472
2472
  &:hover {
2473
2473
  color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
2474
2474
  }
2475
- `,Ou=({type:e,balance:i,isActualVsForecastOn:n,compareMode:o,account:r,onAccountBalanceClick:l})=>{const s=i?.type==="this_period_vs_last_period"||i?.type==="this_period_vs_last_period_percent",d=r!=null&&i!=null&&l!=null&&s!==!0;return t.jsxs(Au,{"data-testid":m("account-row-balance-element",e),children:[ae(e)===!0||n?t.jsx(Ye,{"data-testid":m("account-row-balance-actual",e),isClickable:d,onClick:()=>{d===!0&&r!=null&&i!=null&&l?.(r,i)},children:Z(i)}):t.jsx(Ye,{"data-testid":m("account-row-balance-forecast",e),isClickable:!1,children:J(i)}),n?t.jsxs(t.Fragment,{children:[t.jsx(Ye,{isClickable:!1,"data-testid":m("account-row-balance-forecast",e),children:J(i)}),t.jsx(Ye,{"data-testid":m("account-row-balance-forecast",e),isClickable:!1,children:o==="compare_mode_percent"?de(i):he(i)})]}):null]})};function Mu({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,accountBalances:l,isActualVsForecastOn:s,compareMode:d,isScrolling:h,isLeaf:u,isLastNode:g,account:p,onAccountBalanceClick:f}){const x=M(),{common:{strings:{hyphen:b}}}=W.getLocalizedStrings(),y=p?.accountDescription?p.accountDescription:b,S=p?.accountName?p.accountName:y;return t.jsxs($u,{height:r,bgColor:i,"data-testid":m("account-row-root-container",o),children:[t.jsxs(_u,{"data-testid":m("account-row-container",o),children:[ge(e)===!0?t.jsx(Bu,{isSticky:n,windowSize:x,bgColor:i,children:t.jsx(Wu,{isClickable:!1,title:S,children:S})}):null,xe(e)===!0?t.jsx(Lu,{children:l.map((v,B)=>t.jsx(Ou,{type:e,isActualVsForecastOn:s,compareMode:d,balance:v,account:p,onAccountBalanceClick:f==null?void 0:(L,O)=>{f(o,L,O)}},B))}):null]}),t.jsx(Nu,{isScrolling:h,type:e,isLeaf:u,isLastNode:g})]})}function Nu({isScrolling:e,isLastNode:i,type:n}){const o=i?"ac_group_row_separator":ge(n)===!0?"account_title_row_separator":"account_balance_row_separator";return t.jsx(me,{isScrolling:e,kind:o})}const Iu=a.div`
2475
+ `,Ou=({type:e,balance:i,isActualVsForecastOn:n,compareMode:o,account:r,onAccountBalanceClick:l})=>{const s=i?.type==="this_period_vs_last_period"||i?.type==="this_period_vs_last_period_percent",d=r!=null&&i!=null&&l!=null&&s!==!0;return t.jsxs(Au,{"data-testid":m("account-row-balance-element",e),children:[ae(e)===!0||n?t.jsx(Ye,{"data-testid":m("account-row-balance-actual",e),isClickable:d,onClick:()=>{d===!0&&r!=null&&i!=null&&l?.(r,i)},children:Z(i)}):t.jsx(Ye,{"data-testid":m("account-row-balance-forecast",e),isClickable:!1,children:Q(i)}),n?t.jsxs(t.Fragment,{children:[t.jsx(Ye,{isClickable:!1,"data-testid":m("account-row-balance-forecast",e),children:Q(i)}),t.jsx(Ye,{"data-testid":m("account-row-balance-forecast",e),isClickable:!1,children:o==="compare_mode_percent"?de(i):he(i)})]}):null]})};function Mu({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,accountBalances:l,isActualVsForecastOn:s,compareMode:d,isScrolling:h,isLeaf:u,isLastNode:g,account:p,onAccountBalanceClick:f}){const x=M(),{common:{strings:{hyphen:b}}}=W.getLocalizedStrings(),y=p?.accountDescription?p.accountDescription:b,S=p?.accountName?p.accountName:y;return t.jsxs($u,{height:r,bgColor:i,"data-testid":m("account-row-root-container",o),children:[t.jsxs(_u,{"data-testid":m("account-row-container",o),children:[ge(e)===!0?t.jsx(Bu,{isSticky:n,windowSize:x,bgColor:i,children:t.jsx(Wu,{isClickable:!1,title:S,children:S})}):null,xe(e)===!0?t.jsx(Lu,{children:l.map((v,B)=>t.jsx(Ou,{type:e,isActualVsForecastOn:s,compareMode:d,balance:v,account:p,onAccountBalanceClick:f==null?void 0:(L,O)=>{f(o,L,O)}},B))}):null]}),t.jsx(Nu,{isScrolling:h,type:e,isLeaf:u,isLastNode:g})]})}function Nu({isScrolling:e,isLastNode:i,type:n}){const o=i?"ac_group_row_separator":ge(n)===!0?"account_title_row_separator":"account_balance_row_separator";return t.jsx(me,{isScrolling:e,kind:o})}const Iu=a.div`
2476
2476
  display: flex;
2477
2477
  flex: 1 1 auto;
2478
2478
  width: fit-content;
@@ -2541,7 +2541,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
2541
2541
  border: 1px solid ${e=>e.theme.colors.primary};
2542
2542
  border-radius: ${c.sp1};
2543
2543
  margin: 0 ${c.sp5} 0 ${c.sp3};
2544
- `,Gu=({metadata:e,depth:i})=>i===0?null:e.hasSibling===!0&&!e.isLastNode?t.jsx(ko,{}):t.jsx(jo,{}),Eu=({type:e,balance:i,color:n,isActualVsForecastOn:o,compareMode:r})=>t.jsxs(Fu,{children:[ae(e)===!0||o?t.jsx(Ue,{style:{color:n},children:Z(i)}):t.jsx(Ue,{style:{color:n},children:J(i)}),o?t.jsxs(t.Fragment,{children:[t.jsx(Ue,{style:{color:n},children:J(i)}),t.jsx(Ue,{style:{color:n},children:r==="compare_mode_percent"?de(i):he(i)})]}):null]});function Hu({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,className:l,classCode:s,sectionBalances:d,isActualVsForecastOn:h,compareMode:u,hasChildren:g,isScrolling:p,isOpen:f,isLeaf:x,metadata:b,showClassAccountNumber:y,onClick:S,depth:v}){const B=M(),L=ce(),O=!x,F=O?"pointer":"default",T=L.colors.primary,Y=l.length>0?l.substr(0,1).toUpperCase():"",[H,U]=I.useState(!1),Q=b.classAncestorMetadata??[];return t.jsxs(Iu,{"data-testid":m("class-row-root-container",o),height:r,bgColor:i,children:[t.jsxs(Pu,{"data-testid":m("class-row-container",o),style:{cursor:F},onClick:()=>S?.(o),onMouseOver:()=>U(!0),onMouseLeave:()=>U(!1),children:[ge(e)===!0?t.jsxs(Tu,{isSticky:n,windowSize:B,bgColor:i,children:[t.jsx(Rr,{name:l,ancestorMetadata:Q,depth:v}),t.jsx(Gu,{metadata:Q[v],depth:v}),t.jsx(be,{color:_(T),showCollapsedIcon:!f,showIcon:H&&O,firstLetter:Y,showTreeLine:g}),t.jsx(Vu,{children:t.jsx(Du,{style:{color:T},children:l})}),H===!0&&y===!0&&s!==void 0&&t.jsx(Ru,{children:s})]}):null,xe(e)===!0?t.jsx(zu,{children:d.map((ue,X)=>t.jsx(Eu,{type:e,sectionName:l,balance:ue,isActualVsForecastOn:h,compareMode:u,color:T},X))}):null]}),t.jsx(Ku,{isScrolling:p,isLeaf:x,isOpen:f})]})}function Ku({isScrolling:e,isLeaf:i,isOpen:n}){return i||!n?t.jsx(me,{isScrolling:e,kind:"section_row_separator"}):null}a.div`
2544
+ `,Gu=({metadata:e,depth:i})=>i===0?null:e.hasSibling===!0&&!e.isLastNode?t.jsx(ko,{}):t.jsx(jo,{}),Eu=({type:e,balance:i,color:n,isActualVsForecastOn:o,compareMode:r})=>t.jsxs(Fu,{children:[ae(e)===!0||o?t.jsx(Ue,{style:{color:n},children:Z(i)}):t.jsx(Ue,{style:{color:n},children:Q(i)}),o?t.jsxs(t.Fragment,{children:[t.jsx(Ue,{style:{color:n},children:Q(i)}),t.jsx(Ue,{style:{color:n},children:r==="compare_mode_percent"?de(i):he(i)})]}):null]});function Hu({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,className:l,classCode:s,sectionBalances:d,isActualVsForecastOn:h,compareMode:u,hasChildren:g,isScrolling:p,isOpen:f,isLeaf:x,metadata:b,showClassAccountNumber:y,onClick:S,depth:v}){const B=M(),L=ce(),O=!x,F=O?"pointer":"default",T=L.colors.primary,Y=l.length>0?l.substr(0,1).toUpperCase():"",[H,U]=I.useState(!1),J=b.classAncestorMetadata??[];return t.jsxs(Iu,{"data-testid":m("class-row-root-container",o),height:r,bgColor:i,children:[t.jsxs(Pu,{"data-testid":m("class-row-container",o),style:{cursor:F},onClick:()=>S?.(o),onMouseOver:()=>U(!0),onMouseLeave:()=>U(!1),children:[ge(e)===!0?t.jsxs(Tu,{isSticky:n,windowSize:B,bgColor:i,children:[t.jsx(Rr,{name:l,ancestorMetadata:J,depth:v}),t.jsx(Gu,{metadata:J[v],depth:v}),t.jsx(be,{color:_(T),showCollapsedIcon:!f,showIcon:H&&O,firstLetter:Y,showTreeLine:g}),t.jsx(Vu,{children:t.jsx(Du,{style:{color:T},children:l})}),H===!0&&y===!0&&s!==void 0&&t.jsx(Ru,{children:s})]}):null,xe(e)===!0?t.jsx(zu,{children:d.map((ue,X)=>t.jsx(Eu,{type:e,sectionName:l,balance:ue,isActualVsForecastOn:h,compareMode:u,color:T},X))}):null]}),t.jsx(Ku,{isScrolling:p,isLeaf:x,isOpen:f})]})}function Ku({isScrolling:e,isLeaf:i,isOpen:n}){return i||!n?t.jsx(me,{isScrolling:e,kind:"section_row_separator"}):null}a.div`
2545
2545
  display: flex;
2546
2546
  flex: 1 1 auto;
2547
2547
  width: fit-content;
@@ -2628,7 +2628,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
2628
2628
  min-width: ${k.balanceWidth};
2629
2629
  text-align: right;
2630
2630
  margin-left: ${k.balanceLeftMargin};
2631
- `,Qu=a.div`
2631
+ `,Ju=a.div`
2632
2632
  display: flex;
2633
2633
  flex-direction: row;
2634
2634
  flex-shrink: 2;
@@ -2643,7 +2643,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
2643
2643
  top: ${c.sp0};
2644
2644
  left: ${c.sp0};
2645
2645
  `:null}
2646
- `,Ju=a(C)`
2646
+ `,Qu=a(C)`
2647
2647
  user-select: none;
2648
2648
  user-select: none;
2649
2649
  clear: both;
@@ -2653,7 +2653,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
2653
2653
  text-overflow: ellipsis;
2654
2654
  text-align: left;
2655
2655
  margin-left: ${c.sp2};
2656
- `,Xu=({type:e,balance:i,color:n,isActualVsForecastOn:o,compareMode:r})=>t.jsxs(Zu,{children:[ae(e)===!0||o?t.jsx(qe,{style:{color:n},children:Z(i)}):t.jsx(qe,{style:{color:n},children:J(i)}),o?t.jsxs(t.Fragment,{children:[t.jsx(qe,{style:{color:n},children:J(i)}),t.jsx(qe,{style:{color:n},children:r==="compare_mode_percent"?de(i):he(i)})]}):null]});function ti({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,sectionName:l,sectionBalances:s,isActualVsForecastOn:d,compareMode:h,sectionColor:u,isScrolling:g,isOpen:p,isLeaf:f,onClick:x}){const b=M(),y=!f,S=y?"pointer":"default",v=l.length>0?l.substring(0,1).toUpperCase():"",[B,L]=I.useState(!1);return t.jsxs(Yu,{"data-testid":m("section-row",o),height:r,bgColor:i,children:[t.jsxs(Uu,{"data-testid":m("section-row-container",o),style:{cursor:S},onClick:()=>x?.(o),onMouseOver:()=>L(!0),onMouseLeave:()=>L(!1),children:[ge(e)===!0?t.jsxs(Qu,{isSticky:n,windowSize:b,bgColor:i,children:[t.jsx(be,{color:_(u),showCollapsedIcon:!p,showIcon:B&&y,firstLetter:v}),t.jsx(Ju,{style:{color:u},children:l})," "]}):null,xe(e)===!0?t.jsx(qu,{children:s.map((O,F)=>t.jsx(Xu,{type:e,sectionName:l,balance:O,isActualVsForecastOn:d,compareMode:h,color:u},F))}):null]}),t.jsx(ep,{isScrolling:g,isLeaf:f,isOpen:p})]})}function ep({isScrolling:e,isLeaf:i,isOpen:n}){return i||!n?t.jsx(me,{isScrolling:e,kind:"section_row_separator"}):null}const tp=a.div`
2656
+ `,Xu=({type:e,balance:i,color:n,isActualVsForecastOn:o,compareMode:r})=>t.jsxs(Zu,{children:[ae(e)===!0||o?t.jsx(qe,{style:{color:n},children:Z(i)}):t.jsx(qe,{style:{color:n},children:Q(i)}),o?t.jsxs(t.Fragment,{children:[t.jsx(qe,{style:{color:n},children:Q(i)}),t.jsx(qe,{style:{color:n},children:r==="compare_mode_percent"?de(i):he(i)})]}):null]});function ti({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,sectionName:l,sectionBalances:s,isActualVsForecastOn:d,compareMode:h,sectionColor:u,isScrolling:g,isOpen:p,isLeaf:f,onClick:x}){const b=M(),y=!f,S=y?"pointer":"default",v=l.length>0?l.substring(0,1).toUpperCase():"",[B,L]=I.useState(!1);return t.jsxs(Yu,{"data-testid":m("section-row",o),height:r,bgColor:i,children:[t.jsxs(Uu,{"data-testid":m("section-row-container",o),style:{cursor:S},onClick:()=>x?.(o),onMouseOver:()=>L(!0),onMouseLeave:()=>L(!1),children:[ge(e)===!0?t.jsxs(Ju,{isSticky:n,windowSize:b,bgColor:i,children:[t.jsx(be,{color:_(u),showCollapsedIcon:!p,showIcon:B&&y,firstLetter:v}),t.jsx(Qu,{style:{color:u},children:l})," "]}):null,xe(e)===!0?t.jsx(qu,{children:s.map((O,F)=>t.jsx(Xu,{type:e,sectionName:l,balance:O,isActualVsForecastOn:d,compareMode:h,color:u},F))}):null]}),t.jsx(ep,{isScrolling:g,isLeaf:f,isOpen:p})]})}function ep({isScrolling:e,isLeaf:i,isOpen:n}){return i||!n?t.jsx(me,{isScrolling:e,kind:"section_row_separator"}):null}const tp=a.div`
2657
2657
  display: flex;
2658
2658
  flex: 1 1 auto;
2659
2659
  width: fit-content;
@@ -2716,7 +2716,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
2716
2716
  clear: both;
2717
2717
  display: inline-block;
2718
2718
  text-align: left;
2719
- `,lp=({type:e,balance:i,isActualVsForecastOn:n,compareMode:o,account:r,showTotal:l,onAccountBalanceClick:s})=>{const d=i!=null?A.isCalculatedBalanceType(i?.type):!1,h=r!=null&&i!=null&&s!=null&&d!==!0,u=l===!0?Yi(i):Z(i),g=l===!0?bt(i):J(i),p=l===!0?Ui(i):de(i),f=l===!0?qi(i):he(i);return t.jsxs(op,{"data-testid":m("account-row-balance-element",e),children:[ae(e)===!0||n?t.jsx(Ze,{"data-testid":m("account-row-balance-actual",e),isClickable:h,onClick:x=>{x.stopPropagation(),h===!0&&r!=null&&i!=null&&s?.(r,i)},children:u}):t.jsx(Ze,{"data-testid":m("account-row-balance-forecast",e),isClickable:!1,children:g}),n?t.jsxs(t.Fragment,{children:[t.jsx(Ze,{"data-testid":m("account-row-balance-forecast",e),isClickable:!1,children:g}),t.jsx(Ze,{"data-testid":m("account-row-balance-actual-vs-forecast",e),isClickable:!1,children:o==="compare_mode_percent"?p:f})]}):null]})};function sp({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,classDepth:l,accountBalances:s,isActualVsForecastOn:d,compareMode:h,metadata:u,isScrolling:g,noMarginForAccount:p,isLeaf:f,isOpen:x,isLastNode:b,account:y,onAccountBalanceClick:S,onClick:v}){const B=M(),L=y!=null?y.id.length-1:0,O=y?.hasSiblings??!1,F=y!=null?y.children.length!==0:!1,T=u,{common:{strings:{empty:Y}}}=W.getLocalizedStrings(),H=y?.account.accountDescription?y.account.accountDescription:Y,U=y?.account.accountName?y.account.accountName:H;return t.jsxs(tp,{"data-testid":m("sub-account-row",o),height:r,bgColor:i,children:[t.jsxs(ip,{"data-testid":m("sub-account-row-container",o),onClick:()=>v?.(o),children:[t.jsx(rp,{isClickable:F,isSticky:n,windowSize:B,bgColor:i,containerHeight:r,children:t.jsx(ap,{title:U,children:t.jsx(en,{displayName:U,depth:L,classDepth:l,isLastNode:b,hasChildren:F,hasSiblings:O,isLeaf:f,collapsed:!x,subAccountAnscestorMetadata:T.subAccountAncestorMetadata,classAnscestorMetadata:T.classAncestorMetadata??[],noMarginForAccount:p})})}),xe(e)===!0?t.jsx(np,{children:s.map((Q,ue)=>t.jsx(lp,{type:e,isActualVsForecastOn:d,compareMode:h,balance:Q,account:y?.account,showTotal:!x,onAccountBalanceClick:S==null?void 0:(X,oe)=>{S(o,X,oe)}},ue))}):null]}),t.jsx(cp,{isScrolling:g,isLeaf:f,isOpen:x,depth:L,isSticky:n,classDepth:l,noMarginForAccount:p})]})}function cp({isScrolling:e,depth:i,isOpen:n,isLeaf:o,isSticky:r,classDepth:l,noMarginForAccount:s}){return!n||o===!0?t.jsx(me,{isScrolling:e,kind:"sub_account_balance_row_separator",subAccountProps:{nestingLevel:i,isSticky:r,classDepth:l,noMarginForAccount:s}}):null}const dp=[10,14,20,20,20],hp=a.div`
2719
+ `,lp=({type:e,balance:i,isActualVsForecastOn:n,compareMode:o,account:r,showTotal:l,onAccountBalanceClick:s})=>{const d=i!=null?A.isCalculatedBalanceType(i?.type):!1,h=r!=null&&i!=null&&s!=null&&d!==!0,u=l===!0?Yi(i):Z(i),g=l===!0?bt(i):Q(i),p=l===!0?Ui(i):de(i),f=l===!0?qi(i):he(i);return t.jsxs(op,{"data-testid":m("account-row-balance-element",e),children:[ae(e)===!0||n?t.jsx(Ze,{"data-testid":m("account-row-balance-actual",e),isClickable:h,onClick:x=>{x.stopPropagation(),h===!0&&r!=null&&i!=null&&s?.(r,i)},children:u}):t.jsx(Ze,{"data-testid":m("account-row-balance-forecast",e),isClickable:!1,children:g}),n?t.jsxs(t.Fragment,{children:[t.jsx(Ze,{"data-testid":m("account-row-balance-forecast",e),isClickable:!1,children:g}),t.jsx(Ze,{"data-testid":m("account-row-balance-actual-vs-forecast",e),isClickable:!1,children:o==="compare_mode_percent"?p:f})]}):null]})};function sp({type:e,backgroundColor:i,isSticky:n,treeNodeId:o,height:r,classDepth:l,accountBalances:s,isActualVsForecastOn:d,compareMode:h,metadata:u,isScrolling:g,noMarginForAccount:p,isLeaf:f,isOpen:x,isLastNode:b,account:y,onAccountBalanceClick:S,onClick:v}){const B=M(),L=y!=null?y.id.length-1:0,O=y?.hasSiblings??!1,F=y!=null?y.children.length!==0:!1,T=u,{common:{strings:{empty:Y}}}=W.getLocalizedStrings(),H=y?.account.accountDescription?y.account.accountDescription:Y,U=y?.account.accountName?y.account.accountName:H;return t.jsxs(tp,{"data-testid":m("sub-account-row",o),height:r,bgColor:i,children:[t.jsxs(ip,{"data-testid":m("sub-account-row-container",o),onClick:()=>v?.(o),children:[t.jsx(rp,{isClickable:F,isSticky:n,windowSize:B,bgColor:i,containerHeight:r,children:t.jsx(ap,{title:U,children:t.jsx(en,{displayName:U,depth:L,classDepth:l,isLastNode:b,hasChildren:F,hasSiblings:O,isLeaf:f,collapsed:!x,subAccountAnscestorMetadata:T.subAccountAncestorMetadata,classAnscestorMetadata:T.classAncestorMetadata??[],noMarginForAccount:p})})}),xe(e)===!0?t.jsx(np,{children:s.map((J,ue)=>t.jsx(lp,{type:e,isActualVsForecastOn:d,compareMode:h,balance:J,account:y?.account,showTotal:!x,onAccountBalanceClick:S==null?void 0:(X,oe)=>{S(o,X,oe)}},ue))}):null]}),t.jsx(cp,{isScrolling:g,isLeaf:f,isOpen:x,depth:L,isSticky:n,classDepth:l,noMarginForAccount:p})]})}function cp({isScrolling:e,depth:i,isOpen:n,isLeaf:o,isSticky:r,classDepth:l,noMarginForAccount:s}){return!n||o===!0?t.jsx(me,{isScrolling:e,kind:"sub_account_balance_row_separator",subAccountProps:{nestingLevel:i,isSticky:r,classDepth:l,noMarginForAccount:s}}):null}const dp=[10,14,20,20,20],hp=a.div`
2720
2720
  display: flex;
2721
2721
  flex: 1 1 auto;
2722
2722
  width: fit-content;
@@ -2743,7 +2743,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
2743
2743
  display: flex;
2744
2744
  flex-direction: row;
2745
2745
  justify-content: flex-start;
2746
- `,Qe=a(C)`
2746
+ `,Je=a(C)`
2747
2747
  user-select: none;
2748
2748
  min-width: ${k.balanceWidth};
2749
2749
  max-width: ${k.balanceWidth};
@@ -2778,7 +2778,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
2778
2778
  margin-left: ${e=>dp[e.depth]}px;
2779
2779
  color: ${e=>e.theme.colors.primary};
2780
2780
  width: ${e=>k.titleWidth.value(e.windowSize)-e.depth*80}px;
2781
- `,wp=({type:e,balance:i,isActualVsForecastOn:n,compareMode:o})=>t.jsxs(fp,{"data-testid":m("sub-account-row-balance-element",e),children:[ae(e)===!0||n?t.jsx(Qe,{"data-testid":m("sub-account-row-balance-element-actual",e),isClickable:!1,children:Yi(i)}):t.jsx(Qe,{"data-testid":m("sub-account-row-balance-element-forecast",e),isClickable:!1,children:bt(i)}),n?t.jsxs(t.Fragment,{children:[t.jsx(Qe,{"data-testid":m("sub-account-row-balance-element-forecast",e),isClickable:!1,children:bt(i)}),t.jsx(Qe,{"data-testid":m("sub-account-row-balance-element-actual-vs-forecast",e),isClickable:!1,children:o==="compare_mode_percent"?Ui(i):qi(i)})]}):null]});function yp({type:e,backgroundColor:i,isSticky:n,height:o,classDepth:r,accountName:l,accountBalances:s,account:d,noMarginForAccount:h,isActualVsForecastOn:u,compareMode:g,isScrolling:p,metadata:f}){const x=M(),b=W.getLocalizedStrings().reports.sections,y=d!=null?d.id.length-1:0,S=f;return t.jsxs(hp,{height:o,bgColor:i,children:[t.jsxs(up,{children:[t.jsxs(xp,{isSticky:n,windowSize:x,bgColor:i,containerHeight:o,children:[r!=null?t.jsx(Ji,{ancestorMetadata:S.classAncestorMetadata??[],depth:r,name:l}):h===!1?t.jsx(pp,{windowSize:x}):null,t.jsx(Xi,{ancestorMetadata:S.subAccountAncestorMetadata,depth:y,name:l}),t.jsx(mp,{"data-testid":m("sub-account-row-name",e),isClickable:!1,title:l,depth:y,windowSize:x,children:b.totalPrefix+" "+l})]}),xe(e)===!0?t.jsx(gp,{children:s.map((v,B)=>t.jsx(wp,{type:e,isActualVsForecastOn:u,compareMode:g,balance:v},B))}):null]}),t.jsx(bp,{isScrolling:p,nestingLevel:y,isSticky:n,classDepth:r,noMarginForAccount:h})]})}function bp({isScrolling:e,nestingLevel:i,isSticky:n,classDepth:o,noMarginForAccount:r}){return t.jsx(me,{isScrolling:e,kind:"total_row_separator",subAccountProps:{nestingLevel:i,isSticky:n,classDepth:o,noMarginForAccount:r}})}const kp=a.div`
2781
+ `,wp=({type:e,balance:i,isActualVsForecastOn:n,compareMode:o})=>t.jsxs(fp,{"data-testid":m("sub-account-row-balance-element",e),children:[ae(e)===!0||n?t.jsx(Je,{"data-testid":m("sub-account-row-balance-element-actual",e),isClickable:!1,children:Yi(i)}):t.jsx(Je,{"data-testid":m("sub-account-row-balance-element-forecast",e),isClickable:!1,children:bt(i)}),n?t.jsxs(t.Fragment,{children:[t.jsx(Je,{"data-testid":m("sub-account-row-balance-element-forecast",e),isClickable:!1,children:bt(i)}),t.jsx(Je,{"data-testid":m("sub-account-row-balance-element-actual-vs-forecast",e),isClickable:!1,children:o==="compare_mode_percent"?Ui(i):qi(i)})]}):null]});function yp({type:e,backgroundColor:i,isSticky:n,height:o,classDepth:r,accountName:l,accountBalances:s,account:d,noMarginForAccount:h,isActualVsForecastOn:u,compareMode:g,isScrolling:p,metadata:f}){const x=M(),b=W.getLocalizedStrings().reports.sections,y=d!=null?d.id.length-1:0,S=f;return t.jsxs(hp,{height:o,bgColor:i,children:[t.jsxs(up,{children:[t.jsxs(xp,{isSticky:n,windowSize:x,bgColor:i,containerHeight:o,children:[r!=null?t.jsx(Qi,{ancestorMetadata:S.classAncestorMetadata??[],depth:r,name:l}):h===!1?t.jsx(pp,{windowSize:x}):null,t.jsx(Xi,{ancestorMetadata:S.subAccountAncestorMetadata,depth:y,name:l}),t.jsx(mp,{"data-testid":m("sub-account-row-name",e),isClickable:!1,title:l,depth:y,windowSize:x,children:b.totalPrefix+" "+l})]}),xe(e)===!0?t.jsx(gp,{children:s.map((v,B)=>t.jsx(wp,{type:e,isActualVsForecastOn:u,compareMode:g,balance:v},B))}):null]}),t.jsx(bp,{isScrolling:p,nestingLevel:y,isSticky:n,classDepth:r,noMarginForAccount:h})]})}function bp({isScrolling:e,nestingLevel:i,isSticky:n,classDepth:o,noMarginForAccount:r}){return t.jsx(me,{isScrolling:e,kind:"total_row_separator",subAccountProps:{nestingLevel:i,isSticky:n,classDepth:o,noMarginForAccount:r}})}const kp=a.div`
2782
2782
  user-select: none;
2783
2783
  display: flex;
2784
2784
  flex: 1 1 auto;
@@ -2875,7 +2875,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
2875
2875
  `,Ap=a.div`
2876
2876
  max-height: 54px;
2877
2877
  min-height: 54px;
2878
- `,oo=({firstMonthOfFY:e,timeframeTick:i,timeframe:n,dataAvailable:o,bookCloseDate:r})=>{const l=W.getLocalizedStrings().reports,s=r!=null&&o!=null&&(i.balanceType==="default"||i.balanceType==="default_with_percent")?A.getTimeframeTickTag(n,e,i,r,o):void 0,d=s!=null?s==="under_review"?l.bookCloseTagUnderReview:l.bookCloseTagInProgress:void 0,h=Rn(s,n);return t.jsx(Ap,{children:r!=null&&o!=null&&s!=null&&d!=null&&h!=null?t.jsx(Dn,{firstMonthOfFY:e,timeframeTick:i,timeframe:n,tagName:d,infoContent:h,tagType:s}):t.jsx(io,{isActualVsForecastOn:!1,children:t.jsx(no,{children:Ie(e,i,n)})})})},Bp=({firstMonthOfFY:e,timeframeTick:i,timeframe:n,isActualVsForecastOn:o,compareMode:r,dataAvailable:l,bookCloseDate:s,onCompareModeChanged:d})=>{const h=W.getLocalizedStrings().reports.forecast,u=r==="compare_mode_amount"?`${W.getLocalizedStrings().compareMode.changePrefix} ${i.currencySymbol}`:W.getLocalizedStrings().compareMode.changePercent;return o===!0?t.jsxs(Lp,{isActualVsForecastOn:o,children:[t.jsx(io,{isActualVsForecastOn:o,children:t.jsx(no,{children:Ie(e,i,n)})}),t.jsxs(Cp,{isActualVsForecastOn:o,children:[t.jsx(yt,{children:h.actual}),t.jsx(yt,{children:h.forecast}),t.jsx(yt,{children:t.jsx(Qt,{title:u,titleTextStyle:zt.standardRegular,titleTextAlignment:"flex-end",selectedMode:r,onCompareModeChanged:g=>{g!=="off"?d?.(g):console.warn("Invalid compare mode option")}})})]})]}):t.jsx(oo,{firstMonthOfFY:e,timeframeTick:i,timeframe:n,dataAvailable:l,bookCloseDate:s})},Wp=({firstMonthOfFY:e,timeframeTicks:i,timeframe:n,compareMode:o,dataAvailable:r,bookCloseDate:l,onCompareModeChanged:s})=>{const d=ce(),h=o==="compare_mode_amount"?`${W.getLocalizedStrings().compareMode.changePrefix} ${i[0].currencySymbol}`:W.getLocalizedStrings().compareMode.changePercent;return t.jsx(vp,{children:i.map((u,g)=>t.jsx(I.Fragment,{children:u.balanceType==="this_period_vs_last_period"||u.balanceType==="this_period_vs_last_period_percent"?t.jsx(_p,{children:t.jsx(Qt,{title:h,titleTextStyle:zt.standardRegular,titleTextAlignment:"flex-end",titleColor:d.colors.primary,selectedMode:o,menuPosition:"right",onCompareModeChanged:p=>{p!=="off"&&(p==="compare_mode_amount"||p==="compare_mode_percent"?s?.(p):console.warn("Invalid compare mode option"))}})}):t.jsx($p,{children:t.jsx(oo,{firstMonthOfFY:e,timeframeTick:u,timeframe:n,dataAvailable:r,bookCloseDate:l},g)})},g))})};function Op({type:e,backgroundColor:i,isSticky:n,height:o,isActualVsForecastOn:r,isCompareModeOn:l,firstMonthOfFY:s,timeframe:d,timeframeTicks:h,compareMode:u,dataAvailable:g,bookCloseDate:p,onCompareModeChanged:f}){const x=M();return t.jsxs(kp,{height:o,bgColor:i,children:[ge(e)===!0?t.jsx(Sp,{isSticky:n,windowSize:x,bgColor:i,children:" . "}):null,t.jsx(jp,{children:l===!0?t.jsx(Wp,{firstMonthOfFY:s,timeframe:d,timeframeTicks:h,compareMode:u,dataAvailable:g,bookCloseDate:p,onCompareModeChanged:f}):h.map((b,y)=>t.jsx(Bp,{firstMonthOfFY:s,timeframeTick:b,timeframe:d,isActualVsForecastOn:r,compareMode:u,dataAvailable:g,bookCloseDate:p,onCompareModeChanged:f},y))})]})}const ht=(e,i,n,o,r,l,s,d,h,u,g)=>{if(n.element.kind!="ac_report"||n.element.data==null)return null;const p=n.element.data,f=A.isDashboardClassesViewReport(n.config.reportId)===!0||A.isPAndLClassesViewReport(n.config.reportId)===!0?_n("no_filter",n.config.filterAccountsWithNilBalances):nt(n.element.sectionType,"no_filter",n.config.filterAccountsWithNilBalances,n.config.filterAccountGroupsWithNilBalances),x=te(f.acBalanceSelector(p),n.config.displayOrder,n.element.numOfBalances);return t.jsx(Mu,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:u,accountBalances:x.balances,isScrolling:s,isLeaf:d,isLastNode:h,account:p,onAccountBalanceClick:g==null?void 0:(b,y,S)=>{g?.(b,y,S)}})},ze=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="ac_subaccount"||n.element.data==null)return null;const f=n.element.data,x=ei("no_filter",n.config.filterAccountsWithNilBalances,n.config.filterAccountGroupsWithNilBalances),b=Qn(x.acBalanceSelector(f),n.config.displayOrder,n.element.numOfBalances),y=f.account.classesViewParentId?.parentClassId!=null?f.account.classesViewParentId?.parentClassId.length-1:void 0,S=n.config.reportId==="operating_expenses";return t.jsx(sp,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",classDepth:y,compareMode:g,accountBalances:b.balances,isScrolling:s,isLeaf:d,isOpen:h,isLastNode:u,account:f,metadata:n.element.metadata,onClick:p,noMarginForAccount:S,onAccountBalanceClick:p==null?void 0:(v,B,L)=>{p?.(v,B,L)}})},ut=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="ac_group_report"||n.element.data==null)return null;const f=n.element.data,x=nt(n.element.sectionType,"no_filter",n.config.filterAccountsWithNilBalances,n.config.filterAccountGroupsWithNilBalances),b=te(x.acGroupBalanceSelector(f),n.config.displayOrder,n.element.numOfBalances);return t.jsx(gu,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,leftChevron:d?"open":"collapsed",accountGroupName:f.accountGroupName,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},ii=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="ac_group_subaccount"||n.element.data==null)return null;const f=n.element.data,x=ei("no_filter",n.config.filterAccountsWithNilBalances,n.config.filterAccountGroupsWithNilBalances),b=te(x.acGroupBalanceSelector(f),n.config.displayOrder,n.element.numOfBalances);return t.jsx(Cu,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,leftChevron:d?"open":"collapsed",accountGroupName:f.accountGroupName,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},ni=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="section"||n.element.data==null)return null;const f=Vt(n.element.title),x=n.element.data,b=te(x,n.config.displayOrder,n.element.numOfBalances);return t.jsx(ti,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionName:n.element.title,sectionColor:f,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},pt=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="section_with_ac_only"||n.element.data==null)return null;const f=Vt(n.element.title),x=n.element.data,b=te(x,n.config.displayOrder,n.element.numOfBalances);return t.jsx(ti,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionName:n.element.title,sectionColor:f,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},oi=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="calculated_section"||n.element.data==null)return null;const f=Vt(n.element.title),x=n.element.data,b=te(x,n.config.displayOrder,n.element.numOfBalances);return t.jsx(ti,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionName:n.element.title,sectionColor:f,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},Fe=(e,i,n,o,r,l,s,d,h)=>{if(i.element.kind!="ac_subentity_total")return null;const u=i.element.data,g=ei("no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),p=u.account.classesViewParentId?.parentClassId!=null?u.account.classesViewParentId?.parentClassId.length-1:void 0,f=Qn(g.acBalanceSelector(u),i.config.displayOrder,i.element.numOfBalances),x=i.config.reportId==="operating_expenses"||i.config.reportId==="operating_expenses_by_classes";return t.jsx(yp,{type:e,backgroundColor:o,isSticky:r,height:n,accountName:u.account.accountName,account:u,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:h,accountBalances:f.balances,isScrolling:l,noMarginForAccount:x,isLeaf:s,isLastNode:d,metadata:i.element.metadata,classDepth:p})},Te=(e,i,n,o,r,l,s,d)=>{if(n.element.kind!=="timeframe_headers"&&n.element.kind!=="timeframe_headers_with_forecast")return null;const h=Pe(n.element.data,n.config.displayOrder),u=h.length>0?h[0].balanceTimeFrame:"month",g=h.map(p=>A.toTimeframeTick(p));return t.jsx(Op,{treeNodeId:e,backgroundColor:r,isSticky:l,type:i,height:o,isActualVsForecastOn:n.element.kind==="timeframe_headers_with_forecast",isCompareModeOn:n.config.mode==="this_period_vs_period_before"&&g.length>1,firstMonthOfFY:n.config.firstMonthOfFY,timeframe:u,timeframeTicks:g,compareMode:s,dataAvailable:n.config.dataAvailable,bookCloseDate:n.config.bookCloseDate,onCompareModeChanged:d})},ro=(e,i,n,o,r,l,s,d,h,u,g,p,f)=>{if(n.element.kind!="class"||n.element.data==null)return null;const x=n.element.data,b=te(x.childrenBalancesTotal,n.config.displayOrder,n.element.numOfBalances),y=g>1;return t.jsx(Hu,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,className:n.element.title,classCode:n.element.data.class.accountingClassNumber,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",depth:x.id.length-1,compareMode:p,sectionBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,hasChildren:x.children.length>0,isLastNode:u,isSubClass:y,showClassAccountNumber:n.config.showClassAccountNumber,onClick:S=>{f?.(S)},metadata:n.element.metadata})},Mp=(e,i,n)=>e.element.kind!=="loading_in_progress"?null:t.jsx(Ln,{height:i,backgroundColor:n,title:e.element.title,numOfBalances:e.element.numOfBalances}),Np=(e,i,n)=>e.element.kind!=="headers_loading_in_progress"?null:t.jsx(Bn,{height:i,backgroundColor:n,numOfBalances:e.element.numOfBalances}),Fi=e=>{const{height:i,data:{reportElementData:n,id:o,treeKind:r,isLeaf:l,isLastNode:s,nestingLevel:d,isFirstNode:h},isOpen:u,style:g,setOpen:p,isScrolling:f}=e,x=(S,v,B)=>{const L=l?u:!u;!l&&B==null&&(p(!u),e.onNodeCollapseToggled?.(S,!u)),e.onNodeClick?.(S,L,v,B)},b=e.treeNodePadding?.left,y=e.treeNodePadding?.right;return t.jsx("div",{style:{...g,width:"auto",minWidth:"100%",paddingLeft:b,paddingRight:y},children:t.jsx(ao,{id:o,backgroundColor:e.backgroundColor,treeKind:r,reportElementData:n,height:i,isSticky:e.isSticky,isScrolling:f??!1,isLeaf:l,isLastNode:s,isFirstNode:h,isOpen:u,nestingLevel:d,nodeClickHandler:e.onNodeClick!=null||!l?x:void 0,compareMode:e.compareMode,hoveredParentIdProps:e.hoveredParentIdProps,onCompareModeChanged:e.onCompareModeChanged,toggleCheckHandler:e.onToggleCheck},o)})},ao=e=>e.treeKind==="name_only"?t.jsx(Vp,{...e}):A.isAgingReport(e.reportElementData.config.reportId)?t.jsx(Rp,{...e}):A.isOpExByVendorReport(e.reportElementData.config.reportId)===!0?t.jsx(Dp,{...e}):A.isPAndLClassesViewReport(e.reportElementData.config.reportId)===!0?t.jsx(Ip,{...e}):A.isPAndLReport(e.reportElementData.config.reportId)===!0?t.jsx(Pp,{...e}):A.isDashboardClassesViewReport(e.reportElementData.config.reportId)===!0?t.jsx(zp,{...e}):A.isDashboardReport(e.reportElementData.config.reportId)===!0?t.jsx(Fp,{...e}):A.isCashFlowOrBalanceSheetReport(e.reportElementData.config.reportId)===!0?t.jsx(Tp,{...e}):A.isFluxAnalysisOpExReport(e.reportElementData.config.reportId)===!0?t.jsx(Gp,{...e}):A.isAccountReconReport(e.reportElementData.config.reportId)===!0?t.jsx(Ep,{...e}):null,Ip=({id:e,treeKind:i,reportElementData:n,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,nestingLevel:g,compareMode:p,nodeClickHandler:f,onCompareModeChanged:x})=>{switch(n.element.kind){case"ac_report":return ht(e,i,n,o,r,l,s,d,h,p,f);case"ac_group_report":return ut(e,i,n,o,r,l,s,u,d,h,p,f);case"section":return ni(e,i,n,o,r,l,s,u,d,h,p,f);case"section_with_ac_only":return pt(e,i,n,o,r,l,s,u,d,h,p,f);case"calculated_section":case"calculated_section_type1":return oi(e,i,n,o,r,l,s,u,d,h,p,f);case"title_string_only":return null;case"timeframe_headers":case"timeframe_headers_with_forecast":return Te(e,i,n,o,r,l,p,x);case"class":return ro(e,i,n,o,r,l,s,u,d,h,g,p,f);case"ac_subaccount":return ze(e,i,n,o,r,l,s,d,u,h,p,f);case"ac_subentity_total":return Fe(i,n,o,r,l,s,d,h,p);case"headers_loading_in_progress":return Np(n,o,r);case"loading_in_progress":return Mp(n,o,r);default:return null}},Pp=({id:e,treeKind:i,reportElementData:n,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,compareMode:g,nodeClickHandler:p,onCompareModeChanged:f})=>{switch(n.element.kind){case"ac_report":return ht(e,i,n,o,r,l,s,d,h,g,p);case"ac_group_report":return ut(e,i,n,o,r,l,s,u,d,h,g,p);case"ac_subaccount":return ze(e,i,n,o,r,l,s,d,u,h,g,p);case"ac_group_subaccount":return ii(e,i,n,o,r,l,s,u,d,h,g,p);case"section":return ni(e,i,n,o,r,l,s,u,d,h,g,p);case"section_with_ac_only":return pt(e,i,n,o,r,l,s,u,d,h,g,p);case"calculated_section":case"calculated_section_type1":return oi(e,i,n,o,r,l,s,u,d,h,g,p);case"title_string_only":return null;case"ac_subentity_total":return Fe(i,n,o,r,l,s,d,h,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return Te(e,i,n,o,r,l,g,f);default:return null}},zp=({id:e,treeKind:i,reportElementData:n,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,nestingLevel:g,compareMode:p,nodeClickHandler:f,onCompareModeChanged:x})=>{switch(n.element.kind){case"ac_report":return ht(e,i,n,o,r,l,s,d,h,p,f);case"ac_group_report":return ut(e,i,n,o,r,l,s,u,d,h,p,f);case"section":return Mn(e,i,n,o,r,l,s,u,d,h,p,f);case"section_with_ac_only":return pt(e,i,n,o,r,l,s,u,d,h,p,f);case"calculated_section":case"calculated_section_type1":return Nn(e,i,n,o,r,l,s,u,d,h,p,f);case"title_string_only":return Ht(e,i,n,o,r,l,s,u,d,h,p,f);case"ac_subentity_total":return Fe(i,n,o,r,l,s,d,h,p);case"timeframe_headers":case"timeframe_headers_with_forecast":return Te(e,i,n,o,r,l,p,x);case"class":return ro(e,i,n,o,r,l,s,u,d,h,g,p,f);case"ac_subaccount":return ze(e,i,n,o,r,l,s,d,u,h,p,f);case"total":return In(e,i,n,o,r,l,p,d);case"headers_loading_in_progress":return Bs(n,o,r);case"loading_in_progress":return As(n,o,r);default:return null}},Fp=({id:e,treeKind:i,reportElementData:n,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,compareMode:g,nodeClickHandler:p,onCompareModeChanged:f})=>{switch(n.element.kind){case"ac_report":return $s(e,i,n,o,r,l,s,d,h,g,p);case"ac_group_report":return _s(e,i,n,o,r,l,s,u,d,h,g,p);case"ac_subaccount":return ze(e,i,n,o,r,l,s,d,u,h,g,p);case"ac_group_subaccount":return ii(e,i,n,o,r,l,s,u,d,h,g,p);case"section":return Mn(e,i,n,o,r,l,s,u,d,h,g,p);case"section_with_ac_only":return Ls(e,i,n,o,r,l,s,u,d,h,g,p);case"calculated_section":case"calculated_section_type1":return Nn(e,i,n,o,r,l,s,u,d,h,g,p);case"title_string_only":return Ht(e,i,n,o,r,l,s,u,d,h,g,p);case"total":return In(e,i,n,o,r,l,g,d);case"ac_subentity_total":return Fe(i,n,o,r,l,s,d,h,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return Te(e,i,n,o,r,l,g,f);default:return null}},Tp=({id:e,treeKind:i,reportElementData:n,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,compareMode:g,nodeClickHandler:p,onCompareModeChanged:f})=>{switch(n.element.kind){case"ac_report":return ht(e,i,n,o,r,l,s,d,h,g,p);case"ac_group_report":return ut(e,i,n,o,r,l,s,u,d,h,g,p);case"section":return ni(e,i,n,o,r,l,s,u,d,h,g,p);case"section_with_ac_only":return pt(e,i,n,o,r,l,s,u,d,h,g,p);case"calculated_section":return oi(e,i,n,o,r,l,s,u,d,h,g,p);case"calculated_section_type1":return xl(e,n,o,r,l,s,h);case"title_string_only":return Ht(e,i,n,o,r,l,s,u,d,h,g,p);case"ac_subentity_total":return Fe(i,n,o,r,l,s,d,h,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return Te(e,i,n,o,r,l,g,f);case"ac_subaccount":return ze(e,i,n,o,r,l,s,d,u,h,g,p);case"ac_group_subaccount":return ii(e,i,n,o,r,l,s,u,d,h,g,p);default:return null}},Vp=({id:e,treeKind:i,reportElementData:n,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,toggleCheckHandler:g})=>{switch(n.element.kind){case"checkbox_and_name_only":return Vd(e,i,n,o,r,l,s,u,d,h,g);default:return null}},Dp=({id:e,treeKind:i,reportElementData:n,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLastNode:d,compareMode:h,onCompareModeChanged:u})=>{switch(n.element.kind){case"loading_in_progress":case"spacer_row":return Jh(n,o,r,l);case"timeframe_headers":return qh(n,o,l,h,r,u);case"total":return Zh(e,i,n,o,l,s,r);case"vendor_row":return Qh(i,n,o,r,l,s,d);case"title_string_only":return Xh(n,o,r,l);default:return null}},Rp=({id:e,treeKind:i,reportElementData:n,height:o,isOpen:r,isSticky:l,isScrolling:s,isLastNode:d,backgroundColor:h,nodeClickHandler:u})=>{const{config:g}=n;switch(n.element.kind){case"spacer_row":return null;case"timeframe_headers":return Aa(n,o,h,l,g.agingReportConfig?.sortKey,g.agingReportConfig?.sortOrder,g.agingReportConfig?.onSortOrderChanged);case"total":return Oa(i,n,o,h,l);case"aging_report_row":return Ba(e,n,o,r,l,d,s,h,g.agingReportConfig?.onEntityNameClick,u);case"ac_subentity_total":return Wa(n,o,l,s,h);default:return null}},Gp=({id:e,reportElementData:i,height:n,backgroundColor:o,isSticky:r,isScrolling:l,isLeaf:s,isLastNode:d,isFirstNode:h,isOpen:u,onFluxBalanceClick:g,nodeClickHandler:p,hoveredParentIdProps:f})=>{switch(i.element.kind){case"flux_vendor_account_class_row":return $d(e,i,o,r,l,s,d,f,g);case"flux_vendor_row":return _d(e,i,o,r,l,u,s,d,h,f,p);case"section":return Ld(e,i,n,o,r,l,u,s,d,p);case"timeframe_headers":return Ad(i,n,r);case"total":return Bd(i,n);case"loading_in_progress":return Wd(i);case"headers_loading_in_progress":return Od(i);default:return null}},Ep=({reportElementData:e,height:i,isSticky:n,isLastNode:o})=>{switch(e.element.kind){case"timeframe_headers":return Br(e,n);case"loading_in_progress":return Ar();case"total":return Wr(e,i,n);case"section":return Lr();case"title_string_only":return Or(e,i);case"ac_group_report":return Mr(e,i,o);default:return null}};function Ti(e,i,n,o){return{data:{defaultHeight:ri(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:o??Hp(e.reportElementData.config.reportId,e.reportElementData.element.kind,n,e.reportElementData.config.reportFormat),nestingLevel:n,treeKind:i,reportElementData:e.reportElementData},treeKind:i,nestingLevel:n,node:e}}function ri(e,i,n){return A.isPAndLReport(e)===!0?Nr(i):A.isDashboardReport(e)===!0||A.isDashboardClassesViewReport(e)===!0?Dl(i):A.isAgingReport(e)?Kr(i):A.isAccountReconReport(e)?it(i):A.isOpExByVendorReport(e)?Dd(i):A.isFluxAnalysisOpExReport(e)?zn(i,n):Za(i)}function Hp(e,i,n,o){return A.isPAndLReport(e)?Ir(i,o,n):A.isDashboardReport(e)||A.isDashboardClassesViewReport(e)===!0?Rl(i,o):A.isAgingReport(e)?Yr():A.isOpExByVendorReport(e)?Rd():A.isFluxAnalysisOpExReport(e)?Rs(i):A.isAccountReconReport(e)?Mo():Qa(i,o)}const Kp=a.div`
2878
+ `,oo=({firstMonthOfFY:e,timeframeTick:i,timeframe:n,dataAvailable:o,bookCloseDate:r})=>{const l=W.getLocalizedStrings().reports,s=r!=null&&o!=null&&(i.balanceType==="default"||i.balanceType==="default_with_percent")?A.getTimeframeTickTag(n,e,i,r,o):void 0,d=s!=null?s==="under_review"?l.bookCloseTagUnderReview:l.bookCloseTagInProgress:void 0,h=Rn(s,n);return t.jsx(Ap,{children:r!=null&&o!=null&&s!=null&&d!=null&&h!=null?t.jsx(Dn,{firstMonthOfFY:e,timeframeTick:i,timeframe:n,tagName:d,infoContent:h,tagType:s}):t.jsx(io,{isActualVsForecastOn:!1,children:t.jsx(no,{children:Ie(e,i,n)})})})},Bp=({firstMonthOfFY:e,timeframeTick:i,timeframe:n,isActualVsForecastOn:o,compareMode:r,dataAvailable:l,bookCloseDate:s,onCompareModeChanged:d})=>{const h=W.getLocalizedStrings().reports.forecast,u=r==="compare_mode_amount"?`${W.getLocalizedStrings().compareMode.changePrefix} ${i.currencySymbol}`:W.getLocalizedStrings().compareMode.changePercent;return o===!0?t.jsxs(Lp,{isActualVsForecastOn:o,children:[t.jsx(io,{isActualVsForecastOn:o,children:t.jsx(no,{children:Ie(e,i,n)})}),t.jsxs(Cp,{isActualVsForecastOn:o,children:[t.jsx(yt,{children:h.actual}),t.jsx(yt,{children:h.forecast}),t.jsx(yt,{children:t.jsx(Jt,{title:u,titleTextStyle:Ft.standardRegular,titleTextAlignment:"flex-end",selectedMode:r,onCompareModeChanged:g=>{g!=="off"?d?.(g):console.warn("Invalid compare mode option")}})})]})]}):t.jsx(oo,{firstMonthOfFY:e,timeframeTick:i,timeframe:n,dataAvailable:l,bookCloseDate:s})},Wp=({firstMonthOfFY:e,timeframeTicks:i,timeframe:n,compareMode:o,dataAvailable:r,bookCloseDate:l,onCompareModeChanged:s})=>{const d=ce(),h=o==="compare_mode_amount"?`${W.getLocalizedStrings().compareMode.changePrefix} ${i[0].currencySymbol}`:W.getLocalizedStrings().compareMode.changePercent;return t.jsx(vp,{children:i.map((u,g)=>t.jsx(I.Fragment,{children:u.balanceType==="this_period_vs_last_period"||u.balanceType==="this_period_vs_last_period_percent"?t.jsx(_p,{children:t.jsx(Jt,{title:h,titleTextStyle:Ft.standardRegular,titleTextAlignment:"flex-end",titleColor:d.colors.primary,selectedMode:o,menuPosition:"right",onCompareModeChanged:p=>{p!=="off"&&(p==="compare_mode_amount"||p==="compare_mode_percent"?s?.(p):console.warn("Invalid compare mode option"))}})}):t.jsx($p,{children:t.jsx(oo,{firstMonthOfFY:e,timeframeTick:u,timeframe:n,dataAvailable:r,bookCloseDate:l},g)})},g))})};function Op({type:e,backgroundColor:i,isSticky:n,height:o,isActualVsForecastOn:r,isCompareModeOn:l,firstMonthOfFY:s,timeframe:d,timeframeTicks:h,compareMode:u,dataAvailable:g,bookCloseDate:p,onCompareModeChanged:f}){const x=M();return t.jsxs(kp,{height:o,bgColor:i,children:[ge(e)===!0?t.jsx(Sp,{isSticky:n,windowSize:x,bgColor:i,children:" . "}):null,t.jsx(jp,{children:l===!0?t.jsx(Wp,{firstMonthOfFY:s,timeframe:d,timeframeTicks:h,compareMode:u,dataAvailable:g,bookCloseDate:p,onCompareModeChanged:f}):h.map((b,y)=>t.jsx(Bp,{firstMonthOfFY:s,timeframeTick:b,timeframe:d,isActualVsForecastOn:r,compareMode:u,dataAvailable:g,bookCloseDate:p,onCompareModeChanged:f},y))})]})}const ht=(e,i,n,o,r,l,s,d,h,u,g)=>{if(n.element.kind!="ac_report"||n.element.data==null)return null;const p=n.element.data,f=A.isDashboardClassesViewReport(n.config.reportId)===!0||A.isPAndLClassesViewReport(n.config.reportId)===!0?_n("no_filter",n.config.filterAccountsWithNilBalances):nt(n.element.sectionType,"no_filter",n.config.filterAccountsWithNilBalances,n.config.filterAccountGroupsWithNilBalances),x=te(f.acBalanceSelector(p),n.config.displayOrder,n.element.numOfBalances);return t.jsx(Mu,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:u,accountBalances:x.balances,isScrolling:s,isLeaf:d,isLastNode:h,account:p,onAccountBalanceClick:g==null?void 0:(b,y,S)=>{g?.(b,y,S)}})},ze=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="ac_subaccount"||n.element.data==null)return null;const f=n.element.data,x=ei("no_filter",n.config.filterAccountsWithNilBalances,n.config.filterAccountGroupsWithNilBalances),b=Jn(x.acBalanceSelector(f),n.config.displayOrder,n.element.numOfBalances),y=f.account.classesViewParentId?.parentClassId!=null?f.account.classesViewParentId?.parentClassId.length-1:void 0,S=n.config.reportId==="operating_expenses";return t.jsx(sp,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",classDepth:y,compareMode:g,accountBalances:b.balances,isScrolling:s,isLeaf:d,isOpen:h,isLastNode:u,account:f,metadata:n.element.metadata,onClick:p,noMarginForAccount:S,onAccountBalanceClick:p==null?void 0:(v,B,L)=>{p?.(v,B,L)}})},ut=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="ac_group_report"||n.element.data==null)return null;const f=n.element.data,x=nt(n.element.sectionType,"no_filter",n.config.filterAccountsWithNilBalances,n.config.filterAccountGroupsWithNilBalances),b=te(x.acGroupBalanceSelector(f),n.config.displayOrder,n.element.numOfBalances);return t.jsx(gu,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,leftChevron:d?"open":"collapsed",accountGroupName:f.accountGroupName,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},ii=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="ac_group_subaccount"||n.element.data==null)return null;const f=n.element.data,x=ei("no_filter",n.config.filterAccountsWithNilBalances,n.config.filterAccountGroupsWithNilBalances),b=te(x.acGroupBalanceSelector(f),n.config.displayOrder,n.element.numOfBalances);return t.jsx(Cu,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,leftChevron:d?"open":"collapsed",accountGroupName:f.accountGroupName,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:g,accountGroupBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},ni=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="section"||n.element.data==null)return null;const f=Ot(n.element.title),x=n.element.data,b=te(x,n.config.displayOrder,n.element.numOfBalances);return t.jsx(ti,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionName:n.element.title,sectionColor:f,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},pt=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="section_with_ac_only"||n.element.data==null)return null;const f=Ot(n.element.title),x=n.element.data,b=te(x,n.config.displayOrder,n.element.numOfBalances);return t.jsx(ti,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionName:n.element.title,sectionColor:f,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},oi=(e,i,n,o,r,l,s,d,h,u,g,p)=>{if(n.element.kind!="calculated_section"||n.element.data==null)return null;const f=Ot(n.element.title),x=n.element.data,b=te(x,n.config.displayOrder,n.element.numOfBalances);return t.jsx(ti,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,sectionName:n.element.title,sectionColor:f,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:g,sectionBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,isLastNode:u,onClick:y=>{p?.(y)}})},Fe=(e,i,n,o,r,l,s,d,h)=>{if(i.element.kind!="ac_subentity_total")return null;const u=i.element.data,g=ei("no_filter",i.config.filterAccountsWithNilBalances,i.config.filterAccountGroupsWithNilBalances),p=u.account.classesViewParentId?.parentClassId!=null?u.account.classesViewParentId?.parentClassId.length-1:void 0,f=Jn(g.acBalanceSelector(u),i.config.displayOrder,i.element.numOfBalances),x=i.config.reportId==="operating_expenses"||i.config.reportId==="operating_expenses_by_classes";return t.jsx(yp,{type:e,backgroundColor:o,isSticky:r,height:n,accountName:u.account.accountName,account:u,isActualVsForecastOn:i.config.mode==="actual_vs_forecast",compareMode:h,accountBalances:f.balances,isScrolling:l,noMarginForAccount:x,isLeaf:s,isLastNode:d,metadata:i.element.metadata,classDepth:p})},Te=(e,i,n,o,r,l,s,d)=>{if(n.element.kind!=="timeframe_headers"&&n.element.kind!=="timeframe_headers_with_forecast")return null;const h=Pe(n.element.data,n.config.displayOrder),u=h.length>0?h[0].balanceTimeFrame:"month",g=h.map(p=>A.toTimeframeTick(p));return t.jsx(Op,{treeNodeId:e,backgroundColor:r,isSticky:l,type:i,height:o,isActualVsForecastOn:n.element.kind==="timeframe_headers_with_forecast",isCompareModeOn:n.config.mode==="this_period_vs_period_before"&&g.length>1,firstMonthOfFY:n.config.firstMonthOfFY,timeframe:u,timeframeTicks:g,compareMode:s,dataAvailable:n.config.dataAvailable,bookCloseDate:n.config.bookCloseDate,onCompareModeChanged:d})},ro=(e,i,n,o,r,l,s,d,h,u,g,p,f)=>{if(n.element.kind!="class"||n.element.data==null)return null;const x=n.element.data,b=te(x.childrenBalancesTotal,n.config.displayOrder,n.element.numOfBalances),y=g>1;return t.jsx(Hu,{type:i,backgroundColor:r,isSticky:l,treeNodeId:e,height:o,className:n.element.title,classCode:n.element.data.class.accountingClassNumber,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",depth:x.id.length-1,compareMode:p,sectionBalances:b.balances,isScrolling:s,isOpen:d,isLeaf:h,hasChildren:x.children.length>0,isLastNode:u,isSubClass:y,showClassAccountNumber:n.config.showClassAccountNumber,onClick:S=>{f?.(S)},metadata:n.element.metadata})},Mp=(e,i,n)=>e.element.kind!=="loading_in_progress"?null:t.jsx(Ln,{height:i,backgroundColor:n,title:e.element.title,numOfBalances:e.element.numOfBalances}),Np=(e,i,n)=>e.element.kind!=="headers_loading_in_progress"?null:t.jsx(Bn,{height:i,backgroundColor:n,numOfBalances:e.element.numOfBalances}),Fi=e=>{const{height:i,data:{reportElementData:n,id:o,treeKind:r,isLeaf:l,isLastNode:s,nestingLevel:d,isFirstNode:h},isOpen:u,style:g,setOpen:p,isScrolling:f}=e,x=(S,v,B)=>{const L=l?u:!u;!l&&B==null&&(p(!u),e.onNodeCollapseToggled?.(S,!u)),e.onNodeClick?.(S,L,v,B)},b=e.treeNodePadding?.left,y=e.treeNodePadding?.right;return t.jsx("div",{style:{...g,width:"auto",minWidth:"100%",paddingLeft:b,paddingRight:y},children:t.jsx(ao,{id:o,backgroundColor:e.backgroundColor,treeKind:r,reportElementData:n,height:i,isSticky:e.isSticky,isScrolling:f??!1,isLeaf:l,isLastNode:s,isFirstNode:h,isOpen:u,nestingLevel:d,nodeClickHandler:e.onNodeClick!=null||!l?x:void 0,compareMode:e.compareMode,hoveredParentIdProps:e.hoveredParentIdProps,onCompareModeChanged:e.onCompareModeChanged,toggleCheckHandler:e.onToggleCheck},o)})},ao=e=>e.treeKind==="name_only"?t.jsx(Vp,{...e}):A.isAgingReport(e.reportElementData.config.reportId)?t.jsx(Rp,{...e}):A.isOpExByVendorReport(e.reportElementData.config.reportId)===!0?t.jsx(Dp,{...e}):A.isPAndLClassesViewReport(e.reportElementData.config.reportId)===!0?t.jsx(Ip,{...e}):A.isPAndLReport(e.reportElementData.config.reportId)===!0?t.jsx(Pp,{...e}):A.isDashboardClassesViewReport(e.reportElementData.config.reportId)===!0?t.jsx(zp,{...e}):A.isDashboardReport(e.reportElementData.config.reportId)===!0?t.jsx(Fp,{...e}):A.isCashFlowOrBalanceSheetReport(e.reportElementData.config.reportId)===!0?t.jsx(Tp,{...e}):A.isFluxAnalysisOpExReport(e.reportElementData.config.reportId)===!0?t.jsx(Gp,{...e}):A.isAccountReconReport(e.reportElementData.config.reportId)===!0?t.jsx(Ep,{...e}):null,Ip=({id:e,treeKind:i,reportElementData:n,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,nestingLevel:g,compareMode:p,nodeClickHandler:f,onCompareModeChanged:x})=>{switch(n.element.kind){case"ac_report":return ht(e,i,n,o,r,l,s,d,h,p,f);case"ac_group_report":return ut(e,i,n,o,r,l,s,u,d,h,p,f);case"section":return ni(e,i,n,o,r,l,s,u,d,h,p,f);case"section_with_ac_only":return pt(e,i,n,o,r,l,s,u,d,h,p,f);case"calculated_section":case"calculated_section_type1":return oi(e,i,n,o,r,l,s,u,d,h,p,f);case"title_string_only":return null;case"timeframe_headers":case"timeframe_headers_with_forecast":return Te(e,i,n,o,r,l,p,x);case"class":return ro(e,i,n,o,r,l,s,u,d,h,g,p,f);case"ac_subaccount":return ze(e,i,n,o,r,l,s,d,u,h,p,f);case"ac_subentity_total":return Fe(i,n,o,r,l,s,d,h,p);case"headers_loading_in_progress":return Np(n,o,r);case"loading_in_progress":return Mp(n,o,r);default:return null}},Pp=({id:e,treeKind:i,reportElementData:n,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,compareMode:g,nodeClickHandler:p,onCompareModeChanged:f})=>{switch(n.element.kind){case"ac_report":return ht(e,i,n,o,r,l,s,d,h,g,p);case"ac_group_report":return ut(e,i,n,o,r,l,s,u,d,h,g,p);case"ac_subaccount":return ze(e,i,n,o,r,l,s,d,u,h,g,p);case"ac_group_subaccount":return ii(e,i,n,o,r,l,s,u,d,h,g,p);case"section":return ni(e,i,n,o,r,l,s,u,d,h,g,p);case"section_with_ac_only":return pt(e,i,n,o,r,l,s,u,d,h,g,p);case"calculated_section":case"calculated_section_type1":return oi(e,i,n,o,r,l,s,u,d,h,g,p);case"title_string_only":return null;case"ac_subentity_total":return Fe(i,n,o,r,l,s,d,h,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return Te(e,i,n,o,r,l,g,f);default:return null}},zp=({id:e,treeKind:i,reportElementData:n,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,nestingLevel:g,compareMode:p,nodeClickHandler:f,onCompareModeChanged:x})=>{switch(n.element.kind){case"ac_report":return ht(e,i,n,o,r,l,s,d,h,p,f);case"ac_group_report":return ut(e,i,n,o,r,l,s,u,d,h,p,f);case"section":return Mn(e,i,n,o,r,l,s,u,d,h,p,f);case"section_with_ac_only":return pt(e,i,n,o,r,l,s,u,d,h,p,f);case"calculated_section":case"calculated_section_type1":return Nn(e,i,n,o,r,l,s,u,d,h,p,f);case"title_string_only":return Ht(e,i,n,o,r,l,s,u,d,h,p,f);case"ac_subentity_total":return Fe(i,n,o,r,l,s,d,h,p);case"timeframe_headers":case"timeframe_headers_with_forecast":return Te(e,i,n,o,r,l,p,x);case"class":return ro(e,i,n,o,r,l,s,u,d,h,g,p,f);case"ac_subaccount":return ze(e,i,n,o,r,l,s,d,u,h,p,f);case"total":return In(e,i,n,o,r,l,p,d);case"headers_loading_in_progress":return Bs(n,o,r);case"loading_in_progress":return As(n,o,r);default:return null}},Fp=({id:e,treeKind:i,reportElementData:n,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,compareMode:g,nodeClickHandler:p,onCompareModeChanged:f})=>{switch(n.element.kind){case"ac_report":return $s(e,i,n,o,r,l,s,d,h,g,p);case"ac_group_report":return _s(e,i,n,o,r,l,s,u,d,h,g,p);case"ac_subaccount":return ze(e,i,n,o,r,l,s,d,u,h,g,p);case"ac_group_subaccount":return ii(e,i,n,o,r,l,s,u,d,h,g,p);case"section":return Mn(e,i,n,o,r,l,s,u,d,h,g,p);case"section_with_ac_only":return Ls(e,i,n,o,r,l,s,u,d,h,g,p);case"calculated_section":case"calculated_section_type1":return Nn(e,i,n,o,r,l,s,u,d,h,g,p);case"title_string_only":return Ht(e,i,n,o,r,l,s,u,d,h,g,p);case"total":return In(e,i,n,o,r,l,g,d);case"ac_subentity_total":return Fe(i,n,o,r,l,s,d,h,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return Te(e,i,n,o,r,l,g,f);default:return null}},Tp=({id:e,treeKind:i,reportElementData:n,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,compareMode:g,nodeClickHandler:p,onCompareModeChanged:f})=>{switch(n.element.kind){case"ac_report":return ht(e,i,n,o,r,l,s,d,h,g,p);case"ac_group_report":return ut(e,i,n,o,r,l,s,u,d,h,g,p);case"section":return ni(e,i,n,o,r,l,s,u,d,h,g,p);case"section_with_ac_only":return pt(e,i,n,o,r,l,s,u,d,h,g,p);case"calculated_section":return oi(e,i,n,o,r,l,s,u,d,h,g,p);case"calculated_section_type1":return xl(e,n,o,r,l,s,h);case"title_string_only":return Ht(e,i,n,o,r,l,s,u,d,h,g,p);case"ac_subentity_total":return Fe(i,n,o,r,l,s,d,h,g);case"timeframe_headers":case"timeframe_headers_with_forecast":return Te(e,i,n,o,r,l,g,f);case"ac_subaccount":return ze(e,i,n,o,r,l,s,d,u,h,g,p);case"ac_group_subaccount":return ii(e,i,n,o,r,l,s,u,d,h,g,p);default:return null}},Vp=({id:e,treeKind:i,reportElementData:n,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLeaf:d,isLastNode:h,isOpen:u,toggleCheckHandler:g})=>{switch(n.element.kind){case"checkbox_and_name_only":return Vd(e,i,n,o,r,l,s,u,d,h,g);default:return null}},Dp=({id:e,treeKind:i,reportElementData:n,height:o,backgroundColor:r,isSticky:l,isScrolling:s,isLastNode:d,compareMode:h,onCompareModeChanged:u})=>{switch(n.element.kind){case"loading_in_progress":case"spacer_row":return Qh(n,o,r,l);case"timeframe_headers":return qh(n,o,l,h,r,u);case"total":return Zh(e,i,n,o,l,s,r);case"vendor_row":return Jh(i,n,o,r,l,s,d);case"title_string_only":return Xh(n,o,r,l);default:return null}},Rp=({id:e,treeKind:i,reportElementData:n,height:o,isOpen:r,isSticky:l,isScrolling:s,isLastNode:d,backgroundColor:h,nodeClickHandler:u})=>{const{config:g}=n;switch(n.element.kind){case"spacer_row":return null;case"timeframe_headers":return Aa(n,o,h,l,g.agingReportConfig?.sortKey,g.agingReportConfig?.sortOrder,g.agingReportConfig?.onSortOrderChanged);case"total":return Oa(i,n,o,h,l);case"aging_report_row":return Ba(e,n,o,r,l,d,s,h,g.agingReportConfig?.onEntityNameClick,u);case"ac_subentity_total":return Wa(n,o,l,s,h);default:return null}},Gp=({id:e,reportElementData:i,height:n,backgroundColor:o,isSticky:r,isScrolling:l,isLeaf:s,isLastNode:d,isFirstNode:h,isOpen:u,onFluxBalanceClick:g,nodeClickHandler:p,hoveredParentIdProps:f})=>{switch(i.element.kind){case"flux_vendor_account_class_row":return $d(e,i,o,r,l,s,d,f,g);case"flux_vendor_row":return _d(e,i,o,r,l,u,s,d,h,f,p);case"section":return Ld(e,i,n,o,r,l,u,s,d,p);case"timeframe_headers":return Ad(i,n,r);case"total":return Bd(i,n);case"loading_in_progress":return Wd(i);case"headers_loading_in_progress":return Od(i);default:return null}},Ep=({reportElementData:e,height:i,isSticky:n,isLastNode:o})=>{switch(e.element.kind){case"timeframe_headers":return Br(e,n);case"loading_in_progress":return Ar();case"total":return Wr(e,i,n);case"section":return Lr();case"title_string_only":return Or(e,i);case"ac_group_report":return Mr(e,i,o);default:return null}};function Ti(e,i,n,o){return{data:{defaultHeight:ri(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:o??Hp(e.reportElementData.config.reportId,e.reportElementData.element.kind,n,e.reportElementData.config.reportFormat),nestingLevel:n,treeKind:i,reportElementData:e.reportElementData},treeKind:i,nestingLevel:n,node:e}}function ri(e,i,n){return A.isPAndLReport(e)===!0?Nr(i):A.isDashboardReport(e)===!0||A.isDashboardClassesViewReport(e)===!0?Dl(i):A.isAgingReport(e)?Kr(i):A.isAccountReconReport(e)?it(i):A.isOpExByVendorReport(e)?Dd(i):A.isFluxAnalysisOpExReport(e)?zn(i,n):Za(i)}function Hp(e,i,n,o){return A.isPAndLReport(e)?Ir(i,o,n):A.isDashboardReport(e)||A.isDashboardClassesViewReport(e)===!0?Rl(i,o):A.isAgingReport(e)?Yr():A.isOpExByVendorReport(e)?Rd():A.isFluxAnalysisOpExReport(e)?Rs(i):A.isAccountReconReport(e)?Mo():Ja(i,o)}const Kp=a.div`
2879
2879
  top: 0;
2880
2880
  left: 0;
2881
2881
  position: sticky !important;
@@ -2890,7 +2890,7 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
2890
2890
  align-items: center;
2891
2891
  background-color: ${e=>e.bgColor?.hex()};
2892
2892
  box-sizing: border-box;
2893
- `;function Yp({height:e,backgroundColor:i,headers:n,treeKind:o,isSticky:r,compareMode:l,onCompareModeChanged:s}){return n.length===0?null:(n.forEach(d=>{if(d.children.length>0)throw Error("Sticky headers can't have children")}),t.jsx(Kp,{heightValue:e,bgColor:i,"data-testid":m("sticky-header-report-tree"),children:n.map((d,h)=>t.jsx(ao,{id:d.id,treeKind:o,reportElementData:d.reportElementData,height:ri(d.reportElementData.config.reportId,d.reportElementData.element.kind,d.isFirstNode),backgroundColor:i,isSticky:r,isScrolling:!1,isLeaf:!0,isLastNode:n.length-1===h,isFirstNode:!1,isOpen:!0,nestingLevel:1,nodeClickHandler:()=>{console.log("Node click handler is called")},compareMode:l,onCompareModeChanged:s},d.id))}))}const Up=(e,i,n)=>function*(){for(let o=0;o<i.length;++o)yield Ti(i[o],e,0,n[i[o].id]??void 0);for(;;){const o=yield;for(let r=0;r<o.node.children.length;++r)yield Ti(o.node.children[r],e,o.nestingLevel+1,n[o.node.children[r].id]??void 0)}},lo=I.createContext(void 0);function qp({height:e,kind:i,rootNodes:n,compareMode:o,isSticky:r,backgroundColor:l,treeNodePadding:s,treeClassName:d,treeStyle:h,treeRef:u,treeOuterElementRef:g,infiniteLoadingProps:p,variableNodeHeightTree:f,onNodeClick:x,onCompareModeChanged:b,scrollPosition:y,onScroll:S,nodeOpenStatus:v,onNodeCollapseToggled:B,onTreeInnerElementHeightChanged:L,onToggleCheck:O,hoveredParentIdProps:F}){const T=I.useRef(null),Y=I.useRef(null),H=hi(f?.prevFetchState),U=hi(f?.prevRefreshFetchState),[Q,ue]=I.useState(0),X=g??Y,oe=u??T,Ce=M(),[le,pe]=I.useState(void 0),[Ve,ai]=I.useState(!1),[De,li]=I.useState(v),si=(z,ie)=>{li(Object.assign({},De,{[z]:ie})),B?.(z,ie)},ci=z=>{if(n.contentNodes.length>0)if(Object.keys(z).length>0){const ie={};Object.keys(z).forEach(we=>{ie[we]={open:z[we]}}),oe?.current?.recomputeTree(ie)}else{const ie=n.contentNodes[0].id;oe?.current?.recomputeTree({[ie]:{open:!0}})}};I.useLayoutEffect(()=>{if((!ui(y,le)||le==null)&&X.current!=null){const z=y?.scrollLeft==null?Ce==="small"?0:X.current.scrollWidth:y?.scrollLeft;if(y!=null){const ie={scrollTop:y.scrollTop,scrollLeft:z};pe(ie),z!==y?.scrollLeft&&S?.(ie)}X.current.scroll({left:z,top:y?.scrollTop})}},[y]),I.useEffect(()=>{ui(v,De)||(li(v),ci(v))},[v]),I.useEffect(()=>{const z=X.current,ie=fo(()=>{if(z!=null&&(le==null||z.scrollLeft!==le.scrollLeft||z.scrollTop!==le.scrollTop)){const we={scrollLeft:z.scrollLeft,scrollTop:z.scrollTop};pe(we),S?.(we)}},50);return z?.addEventListener("scroll",ie),()=>{z?.removeEventListener("scroll",ie)}},[X,le,S]),I.useEffect(()=>{if(n.contentNodes.length>0){ci(De);const z=n.contentNodes[0].reportElementData.config.mode==="actual_vs_forecast";z!==Ve&&ai(z)}},[Ve,ai,n,oe,X]),I.useEffect(()=>{(f!=null&&H==="In-Progress"&&f.fetchState==="Completed"&&f.isSortApplied||f!=null&&U==="In-Progress"&&f.refreshFetchState==="Completed")&&(f.reducedFetchState==="Completed"&&f.setIsSortApplied(!1),ue(Q+1))},[Q,f?.fetchState,f?.isSortApplied,H,U,f]);const gt=I.useRef(),[so,co]=I.useState(void 0),ho=()=>{const z=gt.current;z!=null&&z.clientHeight>0&&z.clientHeight!=so&&(co(z.clientHeight),L?.(z.clientHeight))},di=I.useCallback(Up(i,n.contentNodes,De),[i,n]),uo={rootNodes:n,treeNodePadding:s,backgroundColor:l,kind:i,isSticky:r,compareMode:o,onCompareModeChanged:b};return t.jsx(lo.Provider,{value:uo,"data-testid":m("report-tree"),children:p==null?t.jsx(pi,{className:d,style:h,ref:oe,innerRef:gt,outerRef:X,innerElementType:Wt,treeWalker:di,onItemsRendered:ho,height:e,width:"100%",children:z=>t.jsx(Fi,{...z,isSticky:r.isStickyName,backgroundColor:l,treeNodePadding:s,onNodeClick:x,onNodeCollapseToggled:si,compareMode:o,onCompareModeChanged:b,onToggleCheck:O})}):t.jsx(xo,{isItemLoaded:p.isItemLoaded,itemCount:p.itemCount+1,loadMoreItems:p.loadMoreItems,children:({onItemsRendered:z,ref:ie})=>t.jsx(pi,{className:d,style:h,ref:ie,innerRef:gt,outerRef:X,innerElementType:Wt,treeWalker:di,onItemsRendered:z,height:e,width:"100%",children:we=>t.jsx(Fi,{...we,isSticky:r.isStickyName,backgroundColor:l,treeNodePadding:s,onNodeClick:x,onNodeCollapseToggled:si,compareMode:o,onCompareModeChanged:b,onToggleCheck:O,hoveredParentIdProps:F})},Q)})})}const Wt=I.forwardRef((e,i)=>{const{children:n,style:o,...r}=e,{rootNodes:l,treeNodePadding:s,backgroundColor:d,kind:h,isSticky:u,compareMode:g,onCompareModeChanged:p}=I.useContext(lo),f=l.headerNodes.reduce((y,S)=>y+ri(S.reportElementData.config.reportId,S.reportElementData.element.kind,S.isFirstNode),0),x=s?.left,b=s?.right;return t.jsxs("div",{ref:i,style:{...o,width:"auto",minWidth:"100%",paddingLeft:x,paddingRight:b},...r,children:[t.jsx(Yp,{height:f,backgroundColor:d,headers:l.headerNodes,treeKind:h,isSticky:u.isStickyHeader,compareMode:g,onCompareModeChanged:p}),n]})});Wt.displayName="stickyInnerElementType";const Zp=a.div`
2893
+ `;function Yp({height:e,backgroundColor:i,headers:n,treeKind:o,isSticky:r,compareMode:l,onCompareModeChanged:s}){return n.length===0?null:(n.forEach(d=>{if(d.children.length>0)throw Error("Sticky headers can't have children")}),t.jsx(Kp,{heightValue:e,bgColor:i,"data-testid":m("sticky-header-report-tree"),children:n.map((d,h)=>t.jsx(ao,{id:d.id,treeKind:o,reportElementData:d.reportElementData,height:ri(d.reportElementData.config.reportId,d.reportElementData.element.kind,d.isFirstNode),backgroundColor:i,isSticky:r,isScrolling:!1,isLeaf:!0,isLastNode:n.length-1===h,isFirstNode:!1,isOpen:!0,nestingLevel:1,nodeClickHandler:()=>{console.log("Node click handler is called")},compareMode:l,onCompareModeChanged:s},d.id))}))}const Up=(e,i,n)=>function*(){for(let o=0;o<i.length;++o)yield Ti(i[o],e,0,n[i[o].id]??void 0);for(;;){const o=yield;for(let r=0;r<o.node.children.length;++r)yield Ti(o.node.children[r],e,o.nestingLevel+1,n[o.node.children[r].id]??void 0)}},lo=I.createContext(void 0);function qp({height:e,kind:i,rootNodes:n,compareMode:o,isSticky:r,backgroundColor:l,treeNodePadding:s,treeClassName:d,treeStyle:h,treeRef:u,treeOuterElementRef:g,infiniteLoadingProps:p,variableNodeHeightTree:f,onNodeClick:x,onCompareModeChanged:b,scrollPosition:y,onScroll:S,nodeOpenStatus:v,onNodeCollapseToggled:B,onTreeInnerElementHeightChanged:L,onToggleCheck:O,hoveredParentIdProps:F}){const T=I.useRef(null),Y=I.useRef(null),H=hi(f?.prevFetchState),U=hi(f?.prevRefreshFetchState),[J,ue]=I.useState(0),X=g??Y,oe=u??T,Ce=M(),[le,pe]=I.useState(void 0),[Ve,ai]=I.useState(!1),[De,li]=I.useState(v),si=(z,ie)=>{li(Object.assign({},De,{[z]:ie})),B?.(z,ie)},ci=z=>{if(n.contentNodes.length>0)if(Object.keys(z).length>0){const ie={};Object.keys(z).forEach(we=>{ie[we]={open:z[we]}}),oe?.current?.recomputeTree(ie)}else{const ie=n.contentNodes[0].id;oe?.current?.recomputeTree({[ie]:{open:!0}})}};I.useLayoutEffect(()=>{if((!ui(y,le)||le==null)&&X.current!=null){const z=y?.scrollLeft==null?Ce==="small"?0:X.current.scrollWidth:y?.scrollLeft;if(y!=null){const ie={scrollTop:y.scrollTop,scrollLeft:z};pe(ie),z!==y?.scrollLeft&&S?.(ie)}X.current.scroll({left:z,top:y?.scrollTop})}},[y]),I.useEffect(()=>{ui(v,De)||(li(v),ci(v))},[v]),I.useEffect(()=>{const z=X.current,ie=fo(()=>{if(z!=null&&(le==null||z.scrollLeft!==le.scrollLeft||z.scrollTop!==le.scrollTop)){const we={scrollLeft:z.scrollLeft,scrollTop:z.scrollTop};pe(we),S?.(we)}},50);return z?.addEventListener("scroll",ie),()=>{z?.removeEventListener("scroll",ie)}},[X,le,S]),I.useEffect(()=>{if(n.contentNodes.length>0){ci(De);const z=n.contentNodes[0].reportElementData.config.mode==="actual_vs_forecast";z!==Ve&&ai(z)}},[Ve,ai,n,oe,X]),I.useEffect(()=>{(f!=null&&H==="In-Progress"&&f.fetchState==="Completed"&&f.isSortApplied||f!=null&&U==="In-Progress"&&f.refreshFetchState==="Completed")&&(f.reducedFetchState==="Completed"&&f.setIsSortApplied(!1),ue(J+1))},[J,f?.fetchState,f?.isSortApplied,H,U,f]);const gt=I.useRef(),[so,co]=I.useState(void 0),ho=()=>{const z=gt.current;z!=null&&z.clientHeight>0&&z.clientHeight!=so&&(co(z.clientHeight),L?.(z.clientHeight))},di=I.useCallback(Up(i,n.contentNodes,De),[i,n]),uo={rootNodes:n,treeNodePadding:s,backgroundColor:l,kind:i,isSticky:r,compareMode:o,onCompareModeChanged:b};return t.jsx(lo.Provider,{value:uo,"data-testid":m("report-tree"),children:p==null?t.jsx(pi,{className:d,style:h,ref:oe,innerRef:gt,outerRef:X,innerElementType:Wt,treeWalker:di,onItemsRendered:ho,height:e,width:"100%",children:z=>t.jsx(Fi,{...z,isSticky:r.isStickyName,backgroundColor:l,treeNodePadding:s,onNodeClick:x,onNodeCollapseToggled:si,compareMode:o,onCompareModeChanged:b,onToggleCheck:O})}):t.jsx(xo,{isItemLoaded:p.isItemLoaded,itemCount:p.itemCount+1,loadMoreItems:p.loadMoreItems,children:({onItemsRendered:z,ref:ie})=>t.jsx(pi,{className:d,style:h,ref:ie,innerRef:gt,outerRef:X,innerElementType:Wt,treeWalker:di,onItemsRendered:z,height:e,width:"100%",children:we=>t.jsx(Fi,{...we,isSticky:r.isStickyName,backgroundColor:l,treeNodePadding:s,onNodeClick:x,onNodeCollapseToggled:si,compareMode:o,onCompareModeChanged:b,onToggleCheck:O,hoveredParentIdProps:F})},J)})})}const Wt=I.forwardRef((e,i)=>{const{children:n,style:o,...r}=e,{rootNodes:l,treeNodePadding:s,backgroundColor:d,kind:h,isSticky:u,compareMode:g,onCompareModeChanged:p}=I.useContext(lo),f=l.headerNodes.reduce((y,S)=>y+ri(S.reportElementData.config.reportId,S.reportElementData.element.kind,S.isFirstNode),0),x=s?.left,b=s?.right;return t.jsxs("div",{ref:i,style:{...o,width:"auto",minWidth:"100%",paddingLeft:x,paddingRight:b},...r,children:[t.jsx(Yp,{height:f,backgroundColor:d,headers:l.headerNodes,treeKind:h,isSticky:u.isStickyHeader,compareMode:g,onCompareModeChanged:p}),n]})});Wt.displayName="stickyInnerElementType";const Zp=a.div`
2894
2894
  display: flex;
2895
2895
  flex: 1 0 auto;
2896
2896
  width: ${e=>e.width}px;
@@ -2929,4 +2929,4 @@ import{j as t,aj as po,Z as m,be as fe,a0 as q,cI as go,o as c,h as ee,a2 as hi,
2929
2929
  }
2930
2930
  }
2931
2931
  }
2932
- `;function ng({rootNodes:e,type:i,compareMode:n,isSticky:o,backgroundColor:r,treeNodePadding:l,onAccountClick:s,infiniteLoadingProps:d,variableNodeHeightTree:h,hoveredParentIdProps:u,onCompareModeChanged:g,scrollPosition:p,onScroll:f,nodeOpenStatus:x,onNodeCollapseToggled:b,onReportTableHeightChanged:y,onToggleCheck:S}){return t.jsx(po,{children:({height:v,width:B})=>t.jsx(Zp,{"data-testid":m("report-tree-container"),height:v,width:B,paddingLeft:l?.left??0,bgColor:r,children:t.jsx(qp,{"data-testid":m("report-tree"),treeClassName:"content-scroll",height:v,kind:i,rootNodes:e,compareMode:n,isSticky:o,backgroundColor:r,treeNodePadding:l!=null?{left:0,right:l?.right}:void 0,infiniteLoadingProps:d,variableNodeHeightTree:h,hoveredParentIdProps:u,onNodeClick:s==null?void 0:(L,O,F,T)=>{F!=null&&T!=null&&s(F,T)},onCompareModeChanged:g,scrollPosition:p,onScroll:f,nodeOpenStatus:x,onNodeCollapseToggled:b,onTreeInnerElementHeightChanged:y,onToggleCheck:S})})})}export{te as D,ig as I,Z as J,Oe as R,ng as T,Ie as V,nt as l,Ws as n,qt as r,ei as x};
2932
+ `;function tg({rootNodes:e,type:i,compareMode:n,isSticky:o,backgroundColor:r,treeNodePadding:l,onAccountClick:s,infiniteLoadingProps:d,variableNodeHeightTree:h,hoveredParentIdProps:u,onCompareModeChanged:g,scrollPosition:p,onScroll:f,nodeOpenStatus:x,onNodeCollapseToggled:b,onReportTableHeightChanged:y,onToggleCheck:S}){return t.jsx(po,{children:({height:v,width:B})=>t.jsx(Zp,{"data-testid":m("report-tree-container"),height:v,width:B,paddingLeft:l?.left??0,bgColor:r,children:t.jsx(qp,{"data-testid":m("report-tree"),treeClassName:"content-scroll",height:v,kind:i,rootNodes:e,compareMode:n,isSticky:o,backgroundColor:r,treeNodePadding:l!=null?{left:0,right:l?.right}:void 0,infiniteLoadingProps:d,variableNodeHeightTree:h,hoveredParentIdProps:u,onNodeClick:s==null?void 0:(L,O,F,T)=>{F!=null&&T!=null&&s(F,T)},onCompareModeChanged:g,scrollPosition:p,onScroll:f,nodeOpenStatus:x,onNodeCollapseToggled:b,onTreeInnerElementHeightChanged:y,onToggleCheck:S})})})}export{te as D,Z as Q,tg as R,Ie as V,eg as W,Oe as a,nt as l,Ws as n,qt as r,ei as x};