@zeniai/web-cockpit-ui 1.15.23-dev → 1.15.24-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 (317) hide show
  1. package/dist/assets/{ACHDetailsPage-BOZmOJHO-DA9D4iJH.js → ACHDetailsPage-DsLMYxB2-DiWdTxEX.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-ZVCJizP9-D55hw0l8.js → AIPerformancePage-Do1Jme84-DdOnxVtL.js} +45 -45
  3. package/dist/assets/AccountInfoPage-DBm3kSeD-C0VOOR62.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-D0wuuzMd-YMtVFfpn.js → AccountInfoPageContent-DLxvkpvG-BfQIWLZb.js} +23 -23
  5. package/dist/assets/AccountLockedInfoModal-Dbzdjjk6-DxFx-N4r.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DbHX6rPG-BwmWp-T3.js → AccountReconDetailsDrawerPage-BMhGA2Nw-3sJH1EqF.js} +11 -11
  7. package/dist/assets/{AccountRow-Bk_25FCy-D03inSab.js → AccountRow-D5S7-AKx-CMAenaIW.js} +28 -28
  8. package/dist/assets/{AccountsPromoCardStack-DAXRwY1f-DegwS44K.js → AccountsPromoCardStack-Cq1lsoaV-ClvHGp3M.js} +27 -27
  9. package/dist/assets/AddAddressForCardDrawer-Cfd3TMpf-DJjbOnkw.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CzziHgi7-j3gMOtad.js → AddToWalletPage-CEhxUk5V-D1aSu8HU.js} +32 -32
  11. package/dist/assets/{AgingReportsPage-Bdi3krKK-Bf-4bvXh.js → AgingReportsPage-CYrw-ffE-CLFSHLPA.js} +5 -5
  12. package/dist/assets/{AllUserItems-XWDuiug6-DkHHRN56.js → AllUserItems-CUPJzOon-ClzFTm8l.js} +7 -7
  13. package/dist/assets/{ApAgingDetailPage-CaM_AzrU-DCtFqylK.js → ApAgingDetailPage-BHfoAgPL-9OKwbRzK.js} +3 -3
  14. package/dist/assets/AppBasePage-BhcC9bkH-DtCArmcZ.js +71 -0
  15. package/dist/assets/{AppDrawerContent-DSX1364T-CNP-B7uf.js → AppDrawerContent-CxmXgxbq-C_5ysSm0.js} +5 -5
  16. package/dist/assets/{ApprovalRulesSettingsPage-DrjPOeyp-BrhLSwXJ.js → ApprovalRulesSettingsPage-gu0Fjo8W-B6qPc807.js} +2 -2
  17. package/dist/assets/{ArAgingChart-M7KUNA4G-DKIpaPUv.js → ArAgingChart-CxGoJ-eL-BTrpq4ll.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-7lby5mXn-BtLBFlEX.js → ArAgingDetailPage-CNKe5FGf-DnsMVnO9.js} +4 -4
  19. package/dist/assets/{AttachmentView-Bsa0u92o-BEQFOxXv.js → AttachmentView-BNb1kv2i-A0kL4eNc.js} +6 -6
  20. package/dist/assets/{BankAccountSection-BkOlwayA-DP864Lrq.js → BankAccountSection-nxf2HgVE-CszdswjK.js} +7 -7
  21. package/dist/assets/BankAccountWarningSection-b7VJzhDr-C9lI5R8O.js +51 -0
  22. package/dist/assets/{BankConnectionsSettingsPage-C_YytTke-B8k-pddW.js → BankConnectionsSettingsPage-Dj5RPseY-BsNJb4MV.js} +26 -26
  23. package/dist/assets/{BillDetailPage-DvU5_Rsp-C9dpUiI6.js → BillDetailPage-B8vxUUjs-wCDXpcbd.js} +8 -8
  24. package/dist/assets/BillPayApprovalRuleDetailPage-RxCSuM7j-Cm0UAXUf.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-CA9eufjt-BNyCnVeE.js → BillPayApprovalRulesPage-qB8FSNxF-CXWPxuvt.js} +16 -16
  26. package/dist/assets/{BillPayPromoPage-DsXPWKAf-BqLcGJ_H.js → BillPayPromoPage-C-MLRBwj-rVTQLPGI.js} +11 -11
  27. package/dist/assets/{BillPaySetUpPage-CeMhzZ_3-BI9-weFw.js → BillPaySetUpPage-DUcVwFf0-BSesdKGQ.js} +4 -4
  28. package/dist/assets/BillingSettingsPage-Br6yvoDv-TW6U52nf.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-WrR46NRa-CKI5pK1F.js → BillsBulkReviewDrawerPage-Cm2iOzT8-r_BIf6ms.js} +1 -1
  30. package/dist/assets/{BoxItem-C0M4PSXY-D0kSlmNN.js → BoxItem-BIGbJrpV-DWBd9dMt.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-orZNuqPA-7wUdhrYB.js +138 -0
  32. package/dist/assets/{CardNumberSubText-B4dAoYDE-B1SbTgmV.js → CardNumberSubText-lCdVj97_-CYJ5QkWc.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-B6xvn-y3-CO89J05d.js → CashbackDetailPage-DyqE-V7x-CRCR9nS0.js} +27 -27
  34. package/dist/assets/{ChargeCardDetailPage-eJJ4MEE6-BXMqrqi9.js → ChargeCardDetailPage-0a7KVsQ4-hN8gCQtG.js} +40 -40
  35. package/dist/assets/{ChargeCardListPage-BYI2HIjA-B0giUbEV.js → ChargeCardListPage-DZgzRmUt-Do_X95aE.js} +16 -16
  36. package/dist/assets/{ChargeCardListTable-DAVYmKCK-DEY8KXB2.js → ChargeCardListTable-CrPIqCYY-D8irt-gE.js} +51 -51
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-BX5HtOxd-BV2ugIHB.js → ChargeCardPaymentHistoryPage-BenEXh0n-DNZruLon.js} +27 -27
  38. package/dist/assets/ChargeCardPromoPage-Dv8vSGMv-DpjOjqBE.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-DG1eKhYR-BVTvcCk1.js → ChargeCardSetupPage-BQdagLKY-25EtnZAG.js} +6 -6
  40. package/dist/assets/ChargeCardStatementsPage-1ntqN8-C-D2mSHxbe.js +60 -0
  41. package/dist/assets/{CheckDepositDrawerPage-BdacGDpy-CN6aGowb.js → CheckDepositDrawerPage-Bbe3YMhk-CO2Q4-ZB.js} +23 -23
  42. package/dist/assets/{CollapsableReportTable-UADp1m_8-C887iUXZ.js → CollapsableReportTable-Bjp9ufA3-Dgphs2fm.js} +84 -84
  43. package/dist/assets/CompanyOfficerDetailsSection-DQYR5DxB-DWkkLcmn.js +260 -0
  44. package/dist/assets/{CompanyPassportCard-BJN2GEVm-LlIc7P9q.js → CompanyPassportCard-B9yLuYoV-D8pOY5Pg.js} +6 -6
  45. package/dist/assets/CompanyPassportPage-DrNN8V93-BS2z_ZGy.js +574 -0
  46. package/dist/assets/{CompleteProfile-C8X8Z3C2-Bzf6-WNu.js → CompleteProfile-DlDJUF9s-CdsViPGP.js} +1 -1
  47. package/dist/assets/ConfettiBurst-arWK85ba-Nctx98GV.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-D4MBpZa1.js → ConstrainedInnerElement-BeIpAPjB-CUj8qilg.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-y-COpdhs-CywEWB6a.js → CreateOrEditVendorPage-C0zQBkip-U8NfTx7v.js} +13 -13
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CntYJJ8v-CZ68p-k6.js → CreditCardPaymentDrawerPage-BonuuJrp-5J05qwGb.js} +14 -14
  51. package/dist/assets/{CurrencySelectField-Dn-hE2az-n1RHeHxE.js → CurrencySelectField-CcwMU19m-DhJ7GYyu.js} +3 -3
  52. package/dist/assets/{CustomerOnboardingActivationPage-B9MZHJVc-BxzBFrW0.js → CustomerOnboardingActivationPage-CnLIuUI_-CZ-HlIwz.js} +5 -5
  53. package/dist/assets/CustomerOnboardingContainerPage-_uAzzeQT-CG5sXasi.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BCe8BvQF-DaEKstx7.js → CustomerOnboardingDetailPageSkeleton-DFnaf7ny-CPvnX2LA.js} +14 -14
  55. package/dist/assets/CustomerOnboardingNoStepsPage-Dabc1DIn-BjBCiSR-.js +66 -0
  56. package/dist/assets/CustomerOnboardingPage-Dt4u_Cnq-BSCcv5Lh.js +107 -0
  57. package/dist/assets/CustomerOnboardingProductSuitePage-DrUE-f0H-oFUJaNSz.js +202 -0
  58. package/dist/assets/{Dashboard-CCV0_aCP-BoBmH13Z.js → Dashboard-Cgrcdi17-CUBT5krQ.js} +497 -478
  59. package/dist/assets/{DashboardReportPage-CmoH9Vrc-CzA5O7KO.js → DashboardReportPage-DbhRTdc4-CQqal3HB.js} +17 -17
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-hw3einS7-DUVXWx2a.js → DashboardSidebarBackgroundAnimation-C8g6lMFj-B53Xk9C1.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-DgdkYGjP-BkMVZWVv.js → DepositAccTransactionItem-D1o4IBkT-CKPRK6dd.js} +8 -8
  62. package/dist/assets/{DepositAccTransactionListPage-CF0WJn9M-DlPgp9dm.js → DepositAccTransactionListPage-xxNjjtT--2BN6hfkm.js} +6 -6
  63. package/dist/assets/{DomesticWireDetailsPage-B12tNa6e-DRCqor_l.js → DomesticWireDetailsPage-CwJaUAl--Cj9x82UD.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-Dt9yt4Fz-OGiiWSIN.js → DownloadOverlay-DQhWlo3j-Bh86wxNB.js} +18 -18
  65. package/dist/assets/{DrawerPage-Clki97FA-CqA84wbo.js → DrawerPage-Cy3cU-ts-D2TKFfD6.js} +18 -18
  66. package/dist/assets/EditPeoplePage-XMLOGiwc-fvqHi7F-.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-CXy2ZWfZ-BrOpTSUf.js → EditReimbursementDetailPage-CPtNF3lE-CQCoSlzQ.js} +70 -70
  68. package/dist/assets/EntityDetailPage-CtIcsfb_-JOBkNq01.js +18 -0
  69. package/dist/assets/{EntitySummarySection-D_YLsP_P-CSh4l-FA.js → EntitySummarySection-DKVe_auH-CeBDnO_D.js} +11 -11
  70. package/dist/assets/{ExpenseAutomationOverviewPage-4z3yzHEA-ChRwE60S.js → ExpenseAutomationOverviewPage-BerWhvvC-CSjoH80E.js} +16 -16
  71. package/dist/assets/{ExpenseAutomationPage-BJ4H_c2z-FgmOcOvc.js → ExpenseAutomationPage-ZFDuZKVx-B83nArlS.js} +133 -133
  72. package/dist/assets/{ExpressPayPage-CTBD4y1v-NYjAlIxO.js → ExpressPayPage-DWGFzFY1-Cbs-ZH6I.js} +19 -19
  73. package/dist/assets/{FeaturePreviewPage-CYuTQWpP-Bl8VAq6v.js → FeaturePreviewPage-CTROYslk-B5_k_VjC.js} +3 -3
  74. package/dist/assets/{FollowStepsSection-BrpI2HyW-DNSECr6B.js → FollowStepsSection-Cdw8tftg-CoRfWAMh.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-BcvxLqIL-CD9rfA0-.js → GlobalReviewListPage-FIiMWDt4-C-FGlEih.js} +47 -47
  76. package/dist/assets/{InformationCardStack-CU4Moqky-Bc_PhxNK.js → InformationCardStack-DRM_CrnR-CyxIUlsK.js} +5 -5
  77. package/dist/assets/{InsightsCardStack-D8UQiuXZ-DRkswx9n.js → InsightsCardStack-B6KSNBOO-BsTECKaL.js} +10 -10
  78. package/dist/assets/{InsightsSection-C3X6ZNEt-CSaE3QjL.js → InsightsSection-CwYXRQBN-CI3Avgr4.js} +6 -6
  79. package/dist/assets/{IntegrationsSettingsPage-CsLv00HW-c8_zALL5.js → IntegrationsSettingsPage-VPy6IQco-D5f0_wQb.js} +12 -12
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-DgrN5Xg7-ik2bKR2J.js → InternationalWireSwiftDetailsPage-CbztUTOk-DKKJSiFP.js} +19 -19
  81. package/dist/assets/InternationalWireVerificationPage-YuglosZT-hHWwb4SL.js +292 -0
  82. package/dist/assets/{InviteFormPage-B3KmRWXd-DZboWDF0.js → InviteFormPage-BBHD1wv7-BsXiZ5Av.js} +38 -38
  83. package/dist/assets/{InvitePageListView-DfpJBZru-8z8nAtFG.js → InvitePageListView-Gpf4q2HF-Cgrh3Brc.js} +33 -33
  84. package/dist/assets/InvitePeoplePage-C0n05Aw5-BiEQhiP1.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-UXlA1jqD-DKu4SBzN.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-mPsxt52d-PfQTvSAJ.js → IssueChargeCardPage-CiL8yWbI-TIPP0zPK.js} +17 -17
  87. package/dist/assets/{LabeledAddressValue-C4fnQSyi-BYyUYLsR.js → LabeledAddressValue-DGEHzZ-x-CpMYU-xP.js} +2 -2
  88. package/dist/assets/{LabeledAddressValueField-D6dEaI69-DANZLTzI.js → LabeledAddressValueField-ClBxKhYQ-BPwdblj0.js} +2 -2
  89. package/dist/assets/{LabeledControlledCheckBoxField-B1QdZmvd-DW7Mu6XT.js → LabeledControlledCheckBoxField-B8sC2eqF--fXqIBCr.js} +3 -3
  90. package/dist/assets/{LabeledCreatableSingleSelectField-BPX2Nrlf-VQgMHUfl.js → LabeledCreatableSingleSelectField-BzOLZcSy-pPeiMm4m.js} +17 -21
  91. package/dist/assets/LabeledDocumentField-D520KMMj-BWBkZsyZ.js +41 -0
  92. package/dist/assets/{LabeledDropDownFormattedTextField-A-rgip1E-DXyiM_iz.js → LabeledDropDownFormattedTextField-BwoAMxs1-UIy7_mYn.js} +8 -8
  93. package/dist/assets/{LabeledText-38fqkkE--BV0pTSSz.js → LabeledText-CYRn3LhA-DMSyV-Kr.js} +2 -2
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-Bm5BEKWh.js → LabeledUserSingleSelectWithSubtitlesField-BzsLAAeQ-B2HtQzCh.js} +15 -15
  95. package/dist/assets/{LabeledZeniRolesDropDownField-Dg9_Ww-A-6LCZnv3_.js → LabeledZeniRolesDropDownField-UiY4N_NF-DAzbxXzi.js} +28 -28
  96. package/dist/assets/{LinkJETransactionPage-66mQ4nrK-Blq1QPxg.js → LinkJETransactionPage-PvLzGCy_-BrMsOKhb.js} +10 -10
  97. package/dist/assets/{LockCardPage-BCqN4K17-BFhQlELS.js → LockCardPage-Cv1mXAE9-9__dgVHz.js} +58 -58
  98. package/dist/assets/{LowBalancePopup-BPk1-eAb-DPKxi1xa.js → LowBalancePopup-go-1GM2R-DD-JSJCf.js} +5 -5
  99. package/dist/assets/MagicLinkACHDetailsPage-C7hjYeuM-BHqLoDUK.js +1 -0
  100. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv6pT3w6-pHplq2If.js +1 -0
  101. package/dist/assets/MagicLinkInternationalWireDetailsPage-CfMDImmz-BFiTy8N6.js +1 -0
  102. package/dist/assets/MagicLinkSuccessPage-D9Xys0GC-BWFMi_8X.js +31 -0
  103. package/dist/assets/{MagicLinkTitleSection-77rxhjLm-DuK-hJU3.js → MagicLinkTitleSection-CPs72o7_-B260haOm.js} +4 -4
  104. package/dist/assets/MailingDetailsSection-wmwBSANL-jxA64fnZ.js +21 -0
  105. package/dist/assets/{MyBankConnectionsSettingsPage-z0tHaSl1-D8NpXmDe.js → MyBankConnectionsSettingsPage-Xo-zsUV_-Cbo1qVHj.js} +11 -11
  106. package/dist/assets/{MyPendingActivationChargeCardListPage-CwGYwufd-BhPm_tq1.js → MyPendingActivationChargeCardListPage-pMnrYxHt-D7bLZ8M3.js} +1 -1
  107. package/dist/assets/MyProfileSettingsPage-BKCzLBD9-DJbKBDYL.js +85 -0
  108. package/dist/assets/NavBarWithPicker-DFywcKz8-CSP4toa_.js +30 -0
  109. package/dist/assets/{NavigationArrow-NuJEpE7O-BsQF0lUP.js → NavigationArrow-BiYMk3Wz-DV9laMt6.js} +7 -7
  110. package/dist/assets/{NavigationDots-C7Na64B9-CHGprwD5.js → NavigationDots-CCLpxuwG-stH2nUIP.js} +3 -3
  111. package/dist/assets/{NewGlobalMerchantPage-Cus6zYV_-DyfxnG1c.js → NewGlobalMerchantPage-C48VzTEf-Rej0eQZY.js} +7 -7
  112. package/dist/assets/NoDataChart-sGr0o2BN-Bsuwo3YM.js +26 -0
  113. package/dist/assets/NoDataTable-0l_09Wxn-YZLcmEEn.js +8 -0
  114. package/dist/assets/{NotFoundPage-RjXioqc8-DMQ0F7IL.js → NotFoundPage-DFw9HBCT-CpQg4_TB.js} +6 -6
  115. package/dist/assets/{NotificationSettingsPage-DrDW_LU_-mWZ117zO.js → NotificationSettingsPage-D1rRNeRj-BoZjctkd.js} +33 -33
  116. package/dist/assets/{NotificationsListConfig-C6_ap0JT-D0MspRwp.js → NotificationsListConfig-LrfChZUx-DIWHkHKZ.js} +1 -1
  117. package/dist/assets/{NotificationsPage-DOM-Gf5P-BRdHJwOp.js → NotificationsPage-Cx4eb-l6-Tv8h6IrX.js} +35 -35
  118. package/dist/assets/{OpExByVendorPage-CTuBB827-Bbt1veu8.js → OpExByVendorPage-LpdEEb1U-C_zXpayd.js} +20 -20
  119. package/dist/assets/OverlayContainerPage-D4QU0p4o-DVuvwnps.js +11 -0
  120. package/dist/assets/{PandLWithForecastPage-BXaENYdR-DDSkVfM3.js → PandLWithForecastPage-DwaVCK2R-B3ldDrVm.js} +7 -7
  121. package/dist/assets/PaymentAccountSetupBillingAddressSection-CBVazVlJ-Cj6aYWOl.js +107 -0
  122. package/dist/assets/{PeoplePage-BlyVVthI-fFVSXzpH.js → PeoplePage-z8ZDLJp4-CzfsOL8l.js} +31 -31
  123. package/dist/assets/{Preview-DuIVCswF.js → Preview-CYHE6ojy.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-CAcPH--E-BIuBBeKB.js → ProductsCarousel-Dp5Of83--DVU-QMP8.js} +6 -6
  125. package/dist/assets/{PromoBaseCards-BVwZMVeE-DstwmvWv.js → PromoBaseCards-Bpmi7do2-BJmFgVqa.js} +14 -14
  126. package/dist/assets/{QBOConnectionDialog-C3OYyhYO-5hTjd5-l.js → QBOConnectionDialog-BCOigpzW-42XztANC.js} +6 -6
  127. package/dist/assets/QBOSetupSection-Blf2QxYu-XsjB6fpI.js +79 -0
  128. package/dist/assets/ReimbursementApprovalRuleDetailPage-D4G5Zc8u-xW6pbKuW.js +32 -0
  129. package/dist/assets/{ReimbursementApprovalRulesPage-Cx0gs7sS-B-krQa99.js → ReimbursementApprovalRulesPage-Cq3lTD4B-tMr-F7DV.js} +5 -5
  130. package/dist/assets/{ReimbursementDetailPage-Cs_rmkS8-DW1o_189.js → ReimbursementDetailPage-CxP7ZEyW-B6qTtbOy.js} +18 -18
  131. package/dist/assets/{ReimbursementPromoPage-CCFl0kQK-B9O9Pssf.js → ReimbursementPromoPage-tSycJK9l-Ckl5RC8p.js} +13 -13
  132. package/dist/assets/{ReimbursementSetUpPage-lf3xTVFh-COXeJ33g.js → ReimbursementSetUpPage-iGjNkC8E-CCqGUnkA.js} +11 -11
  133. package/dist/assets/ReimbursementsBulkReviewDrawerPage-HrLSNRHq-MRocYFws.js +1 -0
  134. package/dist/assets/{ReloadCard-V_tv6YLR-pIKKLA9H.js → ReloadCard-CuRTghCv-1vd5kIoI.js} +5 -5
  135. package/dist/assets/{ReportTableViewSelector-CWEvGn8L-CcECbGsj.js → ReportTableViewSelector-C2oaqgZL-DxS4YP70.js} +29 -29
  136. package/dist/assets/{ReportsPage-BJOH1wgv-CXqYsJPZ.js → ReportsPage-D5DDZHox-DJ4p-I_l.js} +5 -5
  137. package/dist/assets/{RevenueChart-C_tSBw_N-Cwj-E2UP.js → RevenueChart-Na7paK3w-C9jLX88S.js} +15 -15
  138. package/dist/assets/{ReviewDetailsPage-CScPf4w3-Cz00WVXv.js → ReviewDetailsPage-BFj3ZJyp-DV2ASgwc.js} +30 -30
  139. package/dist/assets/{ReviewOverlay-BQVwPzKa-BxRw_iSk.js → ReviewOverlay-Cz8LqkKC-CAVeDnHw.js} +25 -25
  140. package/dist/assets/RoleWithToolTip-CSC65531-LXNMc-YZ.js +22 -0
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cgqgn7nk-B00K9FnO.js → ScheduleDetailsFixedAssetsPage-UVIM7eda-BD3KjhgE.js} +8 -8
  142. package/dist/assets/ScheduleDetailsPage-_mUOLW28-DoX9vWxb.js +37 -0
  143. package/dist/assets/{ScheduleSequenceTable-DDhoyPGX-CcxwU9B1.js → ScheduleSequenceTable-DQlMdMO0-r5LBclLE.js} +24 -24
  144. package/dist/assets/{ScreenRoutes-CbhRMGYb.js → ScreenRoutes-IDjhPTpz.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-AVL_16HQ-CfJdXpM8.js → SetUpAccountSection-C_DCt5R8-BxiVSyFQ.js} +5 -5
  146. package/dist/assets/{SignIn-BLUwTp1l-Diu2Dl0P.js → SignIn-1fhq5RCV-BLtoe96T.js} +24 -24
  147. package/dist/assets/{SignInScreen-BAFcpgXM.js → SignInScreen-Bt9k9qpu.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-DJbNFHvP-HVPQNsga.js → SpendManagementListViewPage-Cxe5movK-Q_tVVASy.js} +8 -8
  149. package/dist/assets/{SpendManagementPerTabPage-J5pIRm-Q-zn5Z_C9i.js → SpendManagementPerTabPage-Dj9VrJCp-yGVPTW-t.js} +54 -54
  150. package/dist/assets/{SpendManagementSection-DZaP5ai6-BivazJAu.js → SpendManagementSection-DGGqh0xs-CpnXaxhL.js} +25 -25
  151. package/dist/assets/{StatementItem-D2Fx65LN-DEt1HHDA.js → StatementItem-ChfKUse--BISxQzB7.js} +7 -7
  152. package/dist/assets/{StatementsPage-BCh51lDW-DEzdN4yP.js → StatementsPage-BAg2GA58-6dBp6JN9.js} +2 -2
  153. package/dist/assets/{StatusSwitcher-C5ZrzI8Y-RGx-Rq5m.js → StatusSwitcher-DsSflF9D-B-QsB0QQ.js} +4 -4
  154. package/dist/assets/{SubTabSwitcher-BXZxKeq9-N3T4zPQn.js → SubTabSwitcher-DxUZTJB0-xCwGWu4u.js} +1 -1
  155. package/dist/assets/{SummaryCard-194UToy6-ZSyhRMcE.js → SummaryCard-B1mg84fd-GbF-N-vY.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-zcxDUo0t-CfkgE02v.js → TaskManagementPage-Z40FApxJ-CMQHa1zS.js} +15 -15
  157. package/dist/assets/{TimeRangeSwitcher-Bsv7zQmN-0uKzxEGk.js → TimeRangeSwitcher-B4sHEx1F-C3HNMT2K.js} +11 -11
  158. package/dist/assets/{TimeframeSwitcher-DtxsNy1Z-Dpwd2ynA.js → TimeframeSwitcher-D8zfgEX_-Bal85V7i.js} +6 -6
  159. package/dist/assets/{TimeframeSwitcherWithToggle-B5bFhbvL-C0I_F7ow.js → TimeframeSwitcherWithToggle-CD1f2F9o-B2FZN44A.js} +2 -2
  160. package/dist/assets/{TopExCard-CBua66Cj-CBuXuQOS.js → TopExCard-BpicN73M-DINSiiqz.js} +6 -6
  161. package/dist/assets/{TopExDetailPage-DtMA-XMp-EMAyiYoo.js → TopExDetailPage-iw-7HulH-DXnd8BHg.js} +17 -17
  162. package/dist/assets/{TransactionActivityLogPage-C3BPL8hi-rjH_p-06.js → TransactionActivityLogPage-D7oH2hs_-vzUEThxA.js} +16 -16
  163. package/dist/assets/{TransactionDetailPage-CeKaduBe-gc3Brzcv.js → TransactionDetailPage-DLiA4XLe-BY8d6fwg.js} +28 -28
  164. package/dist/assets/{TransactionList-CSx8ZCZ--BfPEmkgj.js → TransactionList-CFz4Gf7Z-BRDY3-q0.js} +11 -11
  165. package/dist/assets/{TransactionListBig-B4cNQY2d-xUQ7gipo.js → TransactionListBig-BYHLJtlB-BgEsroqF.js} +17 -17
  166. package/dist/assets/TransactionListPage-BxtVNNib-CNsq76WM.js +35 -0
  167. package/dist/assets/{TransactionVendorDetailPage-DsxI8U5b-BIfZV2Ct.js → TransactionVendorDetailPage-CEAFUrTl-DeNvS775.js} +7 -7
  168. package/dist/assets/{TransferDrawerPage-C91TQwZi-B3ongtBQ.js → TransferDrawerPage-C6hdavbT-DrJHkT7i.js} +34 -34
  169. package/dist/assets/{TreasuryOverviewPage-BoBn_gtF-1-z_98qx.js → TreasuryOverviewPage-BP26JP5_-CP8HfxZ3.js} +47 -47
  170. package/dist/assets/{TreasuryPromoPage-CQ-VYEQC-DBZ3Ca-z.js → TreasuryPromoPage-DjVR20gs-wVmMwzp-.js} +131 -131
  171. package/dist/assets/TreasuryStatementsPage-Beixz0Ou-tCIgJGtT.js +58 -0
  172. package/dist/assets/{TreasuryTaxLetterPage-Cxhr51TD-DSRIuJm4.js → TreasuryTaxLetterPage-BW2fTHN--mfzNiBgO.js} +3 -3
  173. package/dist/assets/{TrendChart-DATgAEKG-BGhvWXdf.js → TrendChart-sup0F9JZ-BygEThKD.js} +5 -5
  174. package/dist/assets/{TrendWithTransactions-DqPFuOvC-Bu3TdK3s.js → TrendWithTransactions-C7azwT25-C5kNS0ZN.js} +3 -3
  175. package/dist/assets/{UncategorizedAccountsMappingPage-BQjXazj4-BOpLaunW.js → UncategorizedAccountsMappingPage-Etkl_fAG-DXRnm2d5.js} +9 -9
  176. package/dist/assets/{UnitIntegrationPage-BiRGRtpI-DxaSFD1H.js → UnitIntegrationPage-ZsJHRr7Z-BSAHu-Ly.js} +10 -10
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-DCldWCol-B3iVz4fI.js → UploadAdditionalDocumentOverlay-Z5AuwaDQ-BUBRAJWb.js} +1 -1
  178. package/dist/assets/Vendor2FAPopup-BcnPzCr1-DSeMdCqS.js +1 -0
  179. package/dist/assets/VendorACHDetailsPage-D5SdrDy6-N4lQNnE6.js +1 -0
  180. package/dist/assets/{VendorDetailPage-DY4iaLtz-AjIptjjy.js → VendorDetailPage-Dnr8_eWj-07Hixr6q.js} +91 -91
  181. package/dist/assets/VendorDomesticWireDetailsPage-Bv2OKF0M-DAfdk4lz.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-Dep7O8Uz-Do-rxCWR.js → VendorFiling1099EditablePage-C7SK3oAX-sJjp-Qba.js} +32 -32
  183. package/dist/assets/{VendorFirstReviewPage-CJQIZn8g-DkET_08K.js → VendorFirstReviewPage-sMOzaFlZ-Bd_oFyDy.js} +49 -49
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CJG5RIa2-DsTS-Uh9.js → VendorInternationalWireDetailsPage-B2c1Rev--BIjFP46u.js} +9 -9
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CRpoKTWj-B3s-WEz1.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-D65ewlO6-DU6ZIrZA.js → VendorsAccountsSection-Df4nOfCb-CW1ZNQaH.js} +2 -2
  187. package/dist/assets/{VerifyDevice-B1_jgwgY-DAz-KAtd.js → VerifyDevice-ogibIJ0s-DAh6OFj7.js} +12 -12
  188. package/dist/assets/{VideoPlayer-vWSXteQ6-D5qS5__p.js → VideoPlayer-C5JZyeyT-D8KcGBDj.js} +2 -2
  189. package/dist/assets/{VideoPopup-CdsmU6H4-Du7UVtqu.js → VideoPopup-Dw-9lQNK-0rd-UPIe.js} +2 -2
  190. package/dist/assets/{WarningsDrawerPage-CjgOsD00-Denf4Sio.js → WarningsDrawerPage-CR9wWm5g-e4J9Pag3.js} +11 -11
  191. package/dist/assets/{ZeniAccountDetailPage-DiLnoonB-DZ1tpmUL.js → ZeniAccountDetailPage-CP6XbPoi-BnZudMg6.js} +20 -20
  192. package/dist/assets/{ZeniAccountListViewPage-YfPsO8ls-CfUQiafE.js → ZeniAccountListViewPage-B-8rvc59-BisABJW0.js} +25 -25
  193. package/dist/assets/ZeniAccountNavBarPieces-D_Jdtql7-D0896al8.js +14 -0
  194. package/dist/assets/{ZeniAccountPromoPage-cEfW88p8-BvUDgJZp.js → ZeniAccountPromoPage-DmXuuPc3-BsixtEBb.js} +28 -28
  195. package/dist/assets/ZeniAccountSetupPage-CiLrh0yu-B_DH4YUU.js +36 -0
  196. package/dist/assets/{ZeniCopyright-BROHmszx-VivYqHvz.js → ZeniCopyright-DIzbP27w-D1bPi2Em.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-DZZrrFXf-DAQs85Xb.js → ZeniTransferAmountSlider-CYZYkuN_-Bs-AxRga.js} +7 -7
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-DBbMptVC.js → add-to-wallet-DgdBD8_G-DgwTOiTb.js} +1 -1
  199. package/dist/assets/{analytics-DH2FWXQR.js → analytics-BVR-nkdQ.js} +1 -1
  200. package/dist/assets/analyticsHelper-CeSpIREf.js +1 -0
  201. package/dist/assets/{analyticsHelper-FJ-cS8qS-Bs47KEMI.js → analyticsHelper-CirorDP7-BWRCY1oT.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-DzFpwdLa.js → arrow-south-east-round-PEovUgvH-DTABdjGY.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-C9AIqfs3.js → auto-transfer-rule-mbafm5D3-uZ4hnV5g.js} +1 -1
  204. package/dist/assets/{chartTypes-DJdbX13L-BnqLcj4-.js → chartTypes-B9iWOG3r-C4s2YMo6.js} +1 -1
  205. package/dist/assets/{commonDimensions-BpYNnQtf-BVrF2eSg.js → commonDimensions-SFn2jHVc-CTDxaBd-.js} +1 -1
  206. package/dist/assets/{constants-nz8RVtEp.js → constants-CZu969tQ.js} +1 -1
  207. package/dist/assets/{core-Be77t6wT.js → core-BCC1NfcO.js} +1 -1
  208. package/dist/assets/{dash.all.min-1JaBh8EA.js → dash.all.min-BRxR-4km.js} +1 -1
  209. package/dist/assets/{detailCommon-BRja9H93-BgDpKJS8.js → detailCommon-BTjqps8N-BwbXd0VD.js} +5 -5
  210. package/dist/assets/downloadPdf-CqjEwKR5-CVBCWVbb.js +1 -0
  211. package/dist/assets/{empty-DqMX1iak.js → empty-BjP_AR0Y.js} +1 -1
  212. package/dist/assets/{empty-CVHCqPg8.js → empty-CN6lL5vr.js} +1 -1
  213. package/dist/assets/epic-CYfuPaR1.js +2 -0
  214. package/dist/assets/{gift-box-Cmt9OgIZ-hRxp85e2.js → gift-box-Cmt9OgIZ-jp2GTx_l.js} +1 -1
  215. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DdG5b35f.js → graphic-no-data-l-DU4J8fDt-CoNwe8F7.js} +1 -1
  216. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CRLCiMSY.js → graphic-no-data-net-burn-l-CzmycA0m-Blfk9v0F.js} +1 -1
  217. package/dist/assets/{handshake-BPg58FML-Ts-GBzII.js → handshake-BPg58FML-BZVWd-R4.js} +1 -1
  218. package/dist/assets/{index-CNJQ6T57.js → index-BJwUmr6X.js} +4654 -4680
  219. package/dist/assets/{index-gGz0-y9K.js → index-CDawrAV5.js} +1 -1
  220. package/dist/assets/{index-BIQvGH1Z.js → index-DOGKWCNR.js} +1 -1
  221. package/dist/assets/{index-CHDWslZ9.js → index-Dc-8bDa8.js} +1 -1
  222. package/dist/assets/{index-Cyi12XGG.js → index-DdlMyYMd.js} +1 -1
  223. package/dist/assets/{index-WLQ2kK4T.js → index-klyQo3c-.js} +1 -1
  224. package/dist/assets/{index-Q1D5afUf.js → index-oIMKLk8g.js} +1 -1
  225. package/dist/assets/{lexical-4qH-Yr6_.js → lexical-D1A0yBcv.js} +1 -1
  226. package/dist/assets/{liveblocks-CUDrE-0X.js → liveblocks-gc1Zpgue.js} +1 -1
  227. package/dist/assets/{lottie-C5G-hUN3.js → lottie-PDiRMFOU.js} +1 -1
  228. package/dist/assets/mapLoadingInProgressToTreeNode-DkhO3K0B-BF8CClXj.js +1 -0
  229. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BlrJTKah-BOJoZ8nO.js → mapSectionWithAcOnlyToTreeNode-BywQAVX8-CBoe52_o.js} +1 -1
  230. package/dist/assets/{mapSpacerToTreeNode-DvdWKHfX-D62umWzQ.js → mapSpacerToTreeNode-nn83cq1C-a5kCwrR8.js} +1 -1
  231. package/dist/assets/{mapTimeframeBalancesToTreeNode-88qIN3FA-CB8prKZU.js → mapTimeframeBalancesToTreeNode-CKjqanKd-DfEyG-Ny.js} +1 -1
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-CmXuntuz-4PcA3DEd.js +1 -0
  233. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-BEBQ7_uD.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bs8iGys9-D6oy7HtW.js} +1 -1
  234. package/dist/assets/{mui-DsjrNjDe.js → mui-BPiKl8lE.js} +1 -1
  235. package/dist/assets/{page-detail-CWX5S47F--SwzhZlk.js → page-detail-CWX5S47F-GD7pPHSX.js} +1 -1
  236. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-Cev-MiVu.js → panelSelectedMixin-CzfD5-Zs-DK9S-4A7.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-YvmWy399.js → radio-default-CiSgisfh-BDa9leTw.js} +1 -1
  238. package/dist/assets/{react-eUpxlpRg.js → react-BmSXOB2V.js} +1 -1
  239. package/dist/assets/{react-BWkra2hE.js → react-CVwAo7aZ.js} +1 -1
  240. package/dist/assets/{react-CSCeF-Sb.js → react-Chs2CyCz.js} +1 -1
  241. package/dist/assets/{react-XG3-S5t1.js → react-Ck-O1ppd.js} +1 -1
  242. package/dist/assets/{react-Ci_HLnoa.js → react-DZxKpeyN.js} +2 -2
  243. package/dist/assets/{react-Bqp70D_u.js → react-DtUvZi19.js} +1 -1
  244. package/dist/assets/{react-BCXSKYRr.js → react-T0X5kbJf.js} +1 -1
  245. package/dist/assets/{react-DL4wn98u.js → react-kH3wqLZe.js} +2 -2
  246. package/dist/assets/{recharts-CmZa-egc.js → recharts-CTVVh_-r.js} +1 -1
  247. package/dist/assets/{sentry-9b1mvxJ5.js → sentry-Dozbf0xW.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-B8zzGKQS.js → shield-DOlUxcFf-BXU_wIp-.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-DvC1wuTC-B-3HfOc_.js +1 -0
  250. package/dist/assets/{toChartData-B3ouXKAd-thMI2fiV.js → toChartData-mAeXlYNV-B69xO8vw.js} +1 -1
  251. package/dist/assets/{uploadAttachment-DNNG-CMy-D87O59Xy.js → uploadAttachment-BAVcYsOo-CTVw7Tly.js} +16 -16
  252. package/dist/assets/uploadReceipts-Dge0cNF1-1wHJJfDu.js +1 -0
  253. package/dist/assets/{url-RTB-DW5V.js → url-AR2JoXnJ.js} +1 -1
  254. package/dist/assets/{url-BiBhYcFe.js → url-D26ZSNVT.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-CsE5mUiU.js → useLongPress-GCK2COYQ-DajesI1J.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-5m5uF-Rf.js → usp-line-BBd1wKwW-CY_8hROo.js} +1 -1
  257. package/dist/assets/{utils-VcZ1Xqjg.js → utils-CJtHQQTa.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-DJX8u9R8.js → zeni-epic-state-DD2IEaUq.js} +17 -17
  259. package/dist/index.html +1 -1
  260. package/package.json +4 -4
  261. package/dist/assets/AccountInfoPage-DF6IU0EG-CK0AD-ot.js +0 -18
  262. package/dist/assets/AccountLockedInfoModal-Cfx-lPAZ-B55UQ1W3.js +0 -59
  263. package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-AmBvQD8m.js +0 -6
  264. package/dist/assets/AppBasePage-B7_L4R6d-DSvQT3A9.js +0 -71
  265. package/dist/assets/BankAccountWarningSection-uMOXLH0B-ZXC_xQuj.js +0 -51
  266. package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-CFPoQw5A.js +0 -27
  267. package/dist/assets/BillingSettingsPage-BygJjDSp-C0Ia6obD.js +0 -44
  268. package/dist/assets/BusinessVerificationPage-C63pUk4d-C1yyAjbf.js +0 -138
  269. package/dist/assets/ChargeCardPromoPage-DuQe7BpX-B1bYsTBb.js +0 -222
  270. package/dist/assets/ChargeCardStatementsPage-CvtZtuVC-BbTDMJQ9.js +0 -60
  271. package/dist/assets/CompanyOfficerDetailsSection-CaAR0Wvk-CmXyx64P.js +0 -331
  272. package/dist/assets/CompanyPassportPage-D2ALJDF_-B0BzydTg.js +0 -417
  273. package/dist/assets/ConfettiBurst-DxHzdDPp-BHPKFQrr.js +0 -1
  274. package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-CZ-wHAQI.js +0 -1
  275. package/dist/assets/CustomerOnboardingNoStepsPage-BHk7rDAg-B5ZKgZir.js +0 -66
  276. package/dist/assets/CustomerOnboardingPage-1LvpVpHC-Cr4NP9fC.js +0 -107
  277. package/dist/assets/CustomerOnboardingProductSuitePage-DMYHMJXg-DeyKCfXK.js +0 -202
  278. package/dist/assets/EditPeoplePage-CKS_aEZm-B7Tw7FjE.js +0 -55
  279. package/dist/assets/EntityDetailPage-B3TQ5hCP-IVMsCeoo.js +0 -18
  280. package/dist/assets/InternationalWireVerificationPage-CvysJNBQ-Q67xp-Zv.js +0 -65
  281. package/dist/assets/InvitePeoplePage-C5Qgk24s-U6BHBwDh.js +0 -12
  282. package/dist/assets/InvoiceUploadSection-BO1i-e_D-S9qpWOlw.js +0 -140
  283. package/dist/assets/LabeledCountryMultiSelectField-XeBih_-f-O6Y-iu_1.js +0 -237
  284. package/dist/assets/LabeledDocumentField-Bjg8sNsg-C-PR2ZST.js +0 -41
  285. package/dist/assets/LabeledMultiSelectField-Di9Wnifv-CqQm8lOX.js +0 -223
  286. package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-6n4CruRX.js +0 -1
  287. package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-DYmL1ff3.js +0 -1
  288. package/dist/assets/MagicLinkInternationalWireDetailsPage-B3OpSWB3-BbCH3bCn.js +0 -1
  289. package/dist/assets/MagicLinkSuccessPage-CphaJa4k-C1L3trsn.js +0 -31
  290. package/dist/assets/MailingDetailsSection-BJfZvT0b-Cqv93bBS.js +0 -21
  291. package/dist/assets/MyProfileSettingsPage-8yBXAre6-Bs5xqc-e.js +0 -85
  292. package/dist/assets/NavBarWithPicker-C3LVyiC9-QHhc6aBd.js +0 -30
  293. package/dist/assets/NoDataChart-B3s_7m2n-DuPBFXV2.js +0 -26
  294. package/dist/assets/NoDataTable-CMpypnTw-C6S_V6d0.js +0 -8
  295. package/dist/assets/OverlayContainerPage-D4QU0p4o-Bbmz6FH4.js +0 -11
  296. package/dist/assets/PaymentAccountSetupBillingAddressSection-DSnQX90O-Dx1jHuZ7.js +0 -107
  297. package/dist/assets/QBOSetupSection-DQjol-D0-05cxakPz.js +0 -79
  298. package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-DjqdHx3S.js +0 -32
  299. package/dist/assets/ReimbursementsBulkReviewDrawerPage-C5MTFJLG-CJIWqV-7.js +0 -1
  300. package/dist/assets/RoleWithToolTip-GCV_l8Ly-GZKD9YbI.js +0 -22
  301. package/dist/assets/ScheduleDetailsPage-D1EJbzxN-l7ivTR2t.js +0 -37
  302. package/dist/assets/TransactionListPage-DHr64V-b-DDnZn40X.js +0 -35
  303. package/dist/assets/TreasuryStatementsPage-taTRE54D-s03VARjq.js +0 -58
  304. package/dist/assets/Vendor2FAPopup-BpkAiYTA-99TJd7nU.js +0 -1
  305. package/dist/assets/VendorACHDetailsPage-tUuZzJnN-BFUuaQ6q.js +0 -1
  306. package/dist/assets/VendorDomesticWireDetailsPage-B5Nym5J9-CpOxRXxZ.js +0 -1
  307. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-a851bv0Y.js +0 -1
  308. package/dist/assets/ZeniAccountNavBarPieces-CHStBvRa-5ll2dkEQ.js +0 -14
  309. package/dist/assets/ZeniAccountSetupPage-B20DHYex-DsTq1nG1.js +0 -36
  310. package/dist/assets/analyticsHelper-CeC4SQzK.js +0 -1
  311. package/dist/assets/commonTypes-BVbA7QjV-rrrVgiRE.js +0 -1
  312. package/dist/assets/downloadPdf-WDHjFv79-x1y7Noz9.js +0 -1
  313. package/dist/assets/epic-upTynnWU.js +0 -2
  314. package/dist/assets/mapLoadingInProgressToTreeNode-C_5Bb47i-KSj20Sfu.js +0 -1
  315. package/dist/assets/mapTimeframeBalancesToTreeNode-AkxvYRty-Dd11welj.js +0 -1
  316. package/dist/assets/toCOABalancesWithID-Bq4Xe7az-D4N9dB70.js +0 -1
  317. package/dist/assets/uploadReceipts-Dge0cNF1-C_Z21T_D.js +0 -1
@@ -1,4 +1,4 @@
1
- import{aw as gt,d as Ye,V as t,jy as q,bC as kt,aa as _,cp as xt,al as K,aq as wt,F as se,o as s,jz as Xe,ci as Ie,cm as ft,g8 as Ct,b9 as $t,bO as Ze,aT as Tt,cd as jt,J as ie,a9 as yt,y as Je,cF as vt,ac as bt,b3 as St,ct as Gt,iV as Lt,iW as It,jA as Me,aR as Nt,r as De,bT as Ne,eO as Qe,jB as Et,c$ as et,jC as ce,jD as ke,jE as xe,jF as tt,jG as Dt,jH as st,jI as ot,jJ as nt,jK as at,jL as rt,jM as V,u as ge,jN as ae,ai as re,jO as Mt,jP as Bt,x as zt,an as At,jQ as Rt,da as Wt,jR as Ft,cJ as it,eq as Ot,b as Pt,jS as Ht,jT as _t,g9 as Ut,gB as Vt,jU as Kt,jV as Z,jW as Be,cv as qt,jX as Yt,jY as Xt,jZ as Zt,j_ as ze,p as Ae,gy as Jt,am as Qt}from"./index-CNJQ6T57.js";import{a as n}from"./sentry-9b1mvxJ5.js";import{n as o,c as we}from"./mui-DsjrNjDe.js";import{Ga as es,Gb as Re,cd as lt,ce as dt,cf as ts}from"./zeni-epic-state-DJX8u9R8.js";import{J as ss,t as os}from"./SpendManagementSection-DZaP5ai6-BivazJAu.js";import{A as ns,t as as,a as rs,E as is}from"./NotificationsListConfig-C6_ap0JT-D0MspRwp.js";import{a as ls}from"./SpendManagementListViewPage-DJbNFHvP-HVPQNsga.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./StatusSwitcher-C5ZrzI8Y-RGx-Rq5m.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="18ebdbeb-27ca-4c55-af7f-d0ebe61c5333",e._sentryDebugIdIdentifier="sentry-dbid-18ebdbeb-27ca-4c55-af7f-d0ebe61c5333")}catch{}})();const ds=100,cs=100,ps=3,us=.7,hs=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ds,scrollSpeed:h=cs,minScrollAmount:m=ps,scrollCurveExponent:u=us})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},b=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>b(x),D=x=>{const S=Math.max(x,0)/c,j=Math.pow(S,u)*h;return Math.max(m,j)},k=(x,S,j)=>{const L=j==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,j=p;if(j<c&&j>0){const L=c-j,g=D(L);k(x,g,"up")}else if(j>S-c){const L=j-(S-c),g=D(L);k(x,g,"down")}i=requestAnimationFrame(w)},M=x=>{E(x)?a=!0:(a=!1,C())},B=()=>{a=!1,C()},z=x=>{a&&(p=x.clientY)},T=x=>{z(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",M),document.addEventListener("dragend",B),document.addEventListener("dragover",T),()=>{document.removeEventListener("dragstart",M),document.removeEventListener("dragend",B),document.removeEventListener("dragover",T),C()}},[r,d,m,e,u,h])},be=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(ms,{isCircular:e<10,children:t.jsx(gs,{children:e>be.common.numbers.maximumCount?`${be.common.numbers.maximumCount}${be.common.strings.plus}`:e})}),ms=o.div`
1
+ import{aw as gt,e as Ye,V as t,jw as q,bD as kt,aa as U,cq as xt,al as K,aq as wt,F as se,o as s,jx as Xe,cj as Ie,cn as ft,g7 as Ct,ba as Tt,bP as Ze,aU as $t,ce as jt,J as ie,a9 as yt,y as Je,cG as vt,ac as bt,b4 as St,cu as Gt,iT as Lt,iU as It,jy as Me,aS as Nt,i as De,bU as Ne,eO as Qe,jz as Et,d1 as et,jA as ce,jB as ke,jC as xe,jD as tt,jE as Dt,jF as st,jG as ot,jH as nt,jI as at,jJ as rt,jK as V,u as ge,jL as ae,ai as re,jM as Mt,jN as Bt,c as zt,an as At,jO as Rt,dc as Wt,jP as Ft,cT as it,es as Ot,b as Pt,jQ as Ht,jR as Ut,g8 as _t,gz as Vt,jS as Kt,jT as Z,jU as Be,cw as qt,jV as Yt,jW as Xt,jX as Zt,jY as ze,p as Ae,gw as Jt,am as Qt}from"./index-BJwUmr6X.js";import{a as n}from"./sentry-Dozbf0xW.js";import{n as o,c as we}from"./mui-BPiKl8lE.js";import{Ga as es,Gb as Re,cd as lt,ce as dt,cf as ts}from"./zeni-epic-state-DD2IEaUq.js";import{J as ss,t as os}from"./SpendManagementSection-DGGqh0xs-CpnXaxhL.js";import{A as ns,t as as,a as rs,E as is}from"./NotificationsListConfig-LrfChZUx-DIWHkHKZ.js";import{a as ls}from"./SpendManagementListViewPage-Cxe5movK-Q_tVVASy.js";import"./liveblocks-gc1Zpgue.js";import"./core-BCC1NfcO.js";import"./recharts-CTVVh_-r.js";import"./lottie-PDiRMFOU.js";import"./analytics-BVR-nkdQ.js";import"./lexical-D1A0yBcv.js";import"./utils-CJtHQQTa.js";import"./StatusSwitcher-DsSflF9D-B-QsB0QQ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="615f0f74-54de-4bf7-87e9-ddf0ae4678dc",e._sentryDebugIdIdentifier="sentry-dbid-615f0f74-54de-4bf7-87e9-ddf0ae4678dc")}catch{}})();const ds=100,cs=100,ps=3,us=.7,hs=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ds,scrollSpeed:h=cs,minScrollAmount:m=ps,scrollCurveExponent:u=us})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},b=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>b(x),D=x=>{const S=Math.max(x,0)/c,j=Math.pow(S,u)*h;return Math.max(m,j)},k=(x,S,j)=>{const L=j==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,j=p;if(j<c&&j>0){const L=c-j,g=D(L);k(x,g,"up")}else if(j>S-c){const L=j-(S-c),g=D(L);k(x,g,"down")}i=requestAnimationFrame(w)},M=x=>{E(x)?a=!0:(a=!1,C())},B=()=>{a=!1,C()},z=x=>{a&&(p=x.clientY)},$=x=>{z(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",M),document.addEventListener("dragend",B),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",M),document.removeEventListener("dragend",B),document.removeEventListener("dragover",$),C()}},[r,d,m,e,u,h])},be=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(ms,{isCircular:e<10,children:t.jsx(gs,{children:e>be.common.numbers.maximumCount?`${be.common.numbers.maximumCount}${be.common.strings.plus}`:e})}),ms=o.div`
2
2
  ${e=>e.isCircular?we`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -16,7 +16,7 @@ import{aw as gt,d as Ye,V as t,jy as q,bC as kt,aa as _,cp as xt,al as K,aq as w
16
16
  outline-color: inherit;
17
17
  `,gs=o(At)`
18
18
  color: inherit;
19
- `,{taskManagement:We,common:Se}=se.getLocalizedStrings();function ks(e){const{onChange:d,value:r,resetDisabled:h,onReset:m}=e,u=()=>{h!==!0&&m()};return t.jsxs(xs,{children:[t.jsx(Cs,{children:We.taskList.groupingFilters.groupBy}),t.jsx(ws,{children:t.jsx(ss,{value:r,placeHolder:We.taskList.groupingFilters.placeholder,onChange:a=>{const p=Re(a.value);if(p!=null)d(p);else throw new Error("Invalid taskListGroupByKey")},options:es,getOptionLabel:a=>{const p=Se.texts,i=Re(a);return i!=null?p[i]:Se.strings.empty}})}),t.jsxs(fs,{onClick:u,isDisabled:h,children:[t.jsx($s,{}),t.jsx(K,{children:Se.reset})]})]})}const xs=o.div`
19
+ `,{taskManagement:We,common:Se}=se.getLocalizedStrings();function ks(e){const{onChange:d,value:r,resetDisabled:h,onReset:m}=e,u=()=>{h!==!0&&m()};return t.jsxs(xs,{children:[t.jsx(Cs,{children:We.taskList.groupingFilters.groupBy}),t.jsx(ws,{children:t.jsx(ss,{value:r,placeHolder:We.taskList.groupingFilters.placeholder,onChange:a=>{const p=Re(a.value);if(p!=null)d(p);else throw new Error("Invalid taskListGroupByKey")},options:es,getOptionLabel:a=>{const p=Se.texts,i=Re(a);return i!=null?p[i]:Se.strings.empty}})}),t.jsxs(fs,{onClick:u,isDisabled:h,children:[t.jsx(Ts,{}),t.jsx(K,{children:Se.reset})]})]})}const xs=o.div`
20
20
  display: flex;
21
21
  align-items: center;
22
22
  column-gap: ${s.sp4};
@@ -39,12 +39,12 @@ import{aw as gt,d as Ye,V as t,jy as q,bC as kt,aa as _,cp as xt,al as K,aq as w
39
39
  }
40
40
 
41
41
  column-gap: ${s.sp1};
42
- `,Cs=o($t)`
42
+ `,Cs=o(Tt)`
43
43
  color: ${e=>e.theme.colors.primary};
44
- `,$s=o(Ze)`
44
+ `,Ts=o(Ze)`
45
45
  width: ${s.sp3};
46
46
  height: ${s.sp3};
47
- `,Ts=se.getLocalizedStrings().taskManagement.taskList.footer;function js({taskGroupsList:e,anchorEl:d,groupByKey:r,onCreateNewGroup:h,onExistingGroupSelection:m,onClose:u}){const a=()=>{u(),h()};return t.jsx(Xe,{open:!!d,anchorEl:d,onClose:u,transformOrigin:{vertical:"bottom",horizontal:"right"},anchorOrigin:{vertical:"top",horizontal:"right"},children:t.jsxs(ys,{children:[t.jsx(vs,{children:e.map(p=>{const i=()=>{u(),m(p.id)};return t.jsx(Fe,{onClick:i,children:t.jsx(re,{children:p.groupName})},p.id)})}),t.jsx(_,{controller:r==="groupName",children:t.jsxs(Fe,{onClick:a,children:[t.jsx(bs,{}),t.jsx(re,{children:Ts.createGroup})]})})]})})}const ys=o.div`
47
+ `,$s=se.getLocalizedStrings().taskManagement.taskList.footer;function js({taskGroupsList:e,anchorEl:d,groupByKey:r,onCreateNewGroup:h,onExistingGroupSelection:m,onClose:u}){const a=()=>{u(),h()};return t.jsx(Xe,{open:!!d,anchorEl:d,onClose:u,transformOrigin:{vertical:"bottom",horizontal:"right"},anchorOrigin:{vertical:"top",horizontal:"right"},children:t.jsxs(ys,{children:[t.jsx(vs,{children:e.map(p=>{const i=()=>{u(),m(p.id)};return t.jsx(Fe,{onClick:i,children:t.jsx(re,{children:p.groupName})},p.id)})}),t.jsx(U,{controller:r==="groupName",children:t.jsxs(Fe,{onClick:a,children:[t.jsx(bs,{}),t.jsx(re,{children:$s.createGroup})]})})]})})}const ys=o.div`
48
48
  background-color: ${e=>e.theme.colors.grey5};
49
49
  `,Fe=o.div`
50
50
  padding: ${s.sp2} ${s.sp3};
@@ -97,7 +97,7 @@ import{aw as gt,d as Ye,V as t,jy as q,bC as kt,aa as _,cp as xt,al as K,aq as w
97
97
  `,Es=o(zt)`
98
98
  width: ${s.sp3};
99
99
  height: ${s.sp3};
100
- `,Ds=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M19.6011 5.42688H3.10107",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 9.60004L7.92188 12.4125L6.51562 11.0063",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 11.0063H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 15.4125L7.92188 18.225L6.51562 16.8188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 16.8188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Ms=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 8.1001L7.92188 10.9126L6.51562 9.50635",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 9.50635H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 13.9126L7.92188 16.7251L6.51562 15.3188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 15.3188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Bs=e=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},n.createElement("path",{d:"M4.49908 1.50001H12.0015H19.5039C19.5039 1.50001 20.868 1.50001 20.868 2.86409V21.1359C20.868 21.1359 20.868 22.5 19.5039 22.5H4.49908C4.49908 22.5 3.13501 22.5 3.13501 21.1359V2.86409C3.13501 2.86409 3.13501 1.50001 4.49908 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M7.5 11.9996L8.598 14.1953C8.70072 14.4016 8.85107 14.5804 9.03662 14.7171C9.22217 14.8538 9.43759 14.9443 9.66506 14.9812C9.89254 15.0182 10.1255 15.0004 10.3448 14.9295C10.5641 14.8585 10.7633 14.7364 10.926 14.5733L16.5 9",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{taskManagement:zs,common:As}=se.getLocalizedStrings(),J=zs.taskList.newTaskOptions;function Rs({anchorEl:e,groupByKey:d,taskGroupTemplates:r,taskCreationFromTemplateStatus:h,isTaskTemplatesEnabled:m,expandedTemplate:u,onExpandTemplate:a,onClose:p,onNewTaskClick:i,onNewGroupClick:c,handleGroupTemplateClick:C,handleGroupTemplateTaskClick:b,onNewTaskInitialization:E}){const D=Ye(),[k,f]=n.useState(null),[w,M]=n.useState(null);n.useEffect(()=>{h.fetchState==="Completed"&&(M(null),f(null),p())},[h.fetchState,p]);const B=n.useCallback((T,x)=>{f(x),b(T,x)},[b]),z=n.useCallback(T=>{M(T),C(T)},[C]);return t.jsx(Xe,{open:!!e,sx:{"& .MuiPaper-root":{border:`1px solid ${D.colors.grey3}`}},anchorEl:e,onClose:p,transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"bottom",horizontal:"right"},children:t.jsxs(Fs,{isTaskTemplatesEnabled:m,children:[t.jsxs(Hs,{children:[t.jsxs(Pe,{onClick:i,children:[t.jsx(Os,{}),t.jsx(Ie,{children:J.task})]}),t.jsx(_,{controller:d==="groupName",children:t.jsxs(Pe,{onClick:()=>c(""),children:[t.jsx(Ps,{}),t.jsx(Ie,{children:J.group})]})})]}),m?t.jsx(Ws,{taskGroupTemplates:r,taskIdInCreation:k,groupIdInCreation:w,expandedTemplate:u,handleGroupTemplateClick:z,handleGroupTemplateTaskClick:B,onNewGroupClick:c,onNewTaskInitialization:E,onExpandTemplate:a}):null]})})}const Ws=({taskGroupTemplates:e,taskIdInCreation:d,groupIdInCreation:r,expandedTemplate:h,onExpandTemplate:m,handleGroupTemplateClick:u,handleGroupTemplateTaskClick:a,onNewGroupClick:p,onNewTaskInitialization:i})=>{const[c,C]=n.useState(""),b=n.useMemo(()=>{const k=[];return e.forEach(f=>{if(f.name.toLowerCase().includes(c.toLowerCase()))k.push(f);else{const w=f.tasks.filter(M=>M.name.toLowerCase().includes(c.toLowerCase()));w.length>0&&k.push({...f,tasks:w})}}),k},[e,c]),E=n.useCallback(()=>{i(c)},[c,i]),D=n.useCallback(()=>{p(c)},[c,p]);return t.jsxs(_s,{children:[t.jsx(Us,{children:t.jsxs(Ks,{children:[t.jsxs(Vs,{children:[t.jsx(qs,{}),t.jsx(Ys,{children:J.groupTemplates})]}),t.jsx(Ss,{inputContainerStyles:{top:"50%",transform:"translateY(-50%)"},searchText:c,onSearchTextChanged:C,placeholder:J.searchPlaceholder})]})}),t.jsx(_,{controller:b.length>0,children:t.jsx(Xs,{children:b.map(k=>{const f=h===k.id;return t.jsxs(ao,{children:[t.jsxs(Zs,{onClick:()=>{m(k.id)},expanded:f,children:[t.jsxs(Js,{children:[t.jsx(_,{controller:f,children:t.jsx(no,{})}),t.jsx(_,{controller:!f,children:t.jsx(oo,{})}),t.jsx(K,{children:k.name}),t.jsx(ct,{count:k.tasks.length})]}),t.jsx(to,{expanded:f,className:"hidden-create-group-button",variant:"secondary",size:"xs-small",label:J.createGroup,disabled:k.createdAt!=null,onClick:w=>{w.stopPropagation(),m(null),u(k.id)},reverseSpinnerColor:!1,loading:r===k.id})]}),t.jsx(_,{controller:f,children:t.jsx(n.Fragment,{children:k.tasks.map(w=>t.jsxs(Qs,{children:[t.jsxs(eo,{children:[t.jsx(ro,{className:"styled-dot"}),t.jsx(co,{className:"task-name-text",children:w.name})]}),t.jsx(so,{loading:d===w.name,className:"hidden-create-task-button",variant:"secondary",size:"xs-small",label:As.create,reverseSpinnerColor:!1,onClick:()=>a(k.id,w.name)})]},w.name))})})]},k.id)})})}),t.jsxs(_,{controller:b.length===0,children:[t.jsx(io,{children:t.jsx(lo,{children:J.noTaskGroup})}),t.jsxs(He,{onClick:E,children:[t.jsx(_e,{}),t.jsx(K,{children:J.newTaskOptionText.replace("__searchText__",c)})]}),t.jsxs(He,{onClick:D,children:[t.jsx(_e,{}),t.jsx(K,{children:J.newGroupOptionText.replace("__searchText__",c)})]})]})]})},Fs=o.div`
100
+ `,Ds=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M19.6011 5.42688H3.10107",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 9.60004L7.92188 12.4125L6.51562 11.0063",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 11.0063H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 15.4125L7.92188 18.225L6.51562 16.8188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 16.8188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Ms=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 8.1001L7.92188 10.9126L6.51562 9.50635",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 9.50635H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 13.9126L7.92188 16.7251L6.51562 15.3188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 15.3188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Bs=e=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},n.createElement("path",{d:"M4.49908 1.50001H12.0015H19.5039C19.5039 1.50001 20.868 1.50001 20.868 2.86409V21.1359C20.868 21.1359 20.868 22.5 19.5039 22.5H4.49908C4.49908 22.5 3.13501 22.5 3.13501 21.1359V2.86409C3.13501 2.86409 3.13501 1.50001 4.49908 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M7.5 11.9996L8.598 14.1953C8.70072 14.4016 8.85107 14.5804 9.03662 14.7171C9.22217 14.8538 9.43759 14.9443 9.66506 14.9812C9.89254 15.0182 10.1255 15.0004 10.3448 14.9295C10.5641 14.8585 10.7633 14.7364 10.926 14.5733L16.5 9",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{taskManagement:zs,common:As}=se.getLocalizedStrings(),J=zs.taskList.newTaskOptions;function Rs({anchorEl:e,groupByKey:d,taskGroupTemplates:r,taskCreationFromTemplateStatus:h,isTaskTemplatesEnabled:m,expandedTemplate:u,onExpandTemplate:a,onClose:p,onNewTaskClick:i,onNewGroupClick:c,handleGroupTemplateClick:C,handleGroupTemplateTaskClick:b,onNewTaskInitialization:E}){const D=Ye(),[k,f]=n.useState(null),[w,M]=n.useState(null);n.useEffect(()=>{h.fetchState==="Completed"&&(M(null),f(null),p())},[h.fetchState,p]);const B=n.useCallback(($,x)=>{f(x),b($,x)},[b]),z=n.useCallback($=>{M($),C($)},[C]);return t.jsx(Xe,{open:!!e,sx:{"& .MuiPaper-root":{border:`1px solid ${D.colors.grey3}`}},anchorEl:e,onClose:p,transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"bottom",horizontal:"right"},children:t.jsxs(Fs,{isTaskTemplatesEnabled:m,children:[t.jsxs(Hs,{children:[t.jsxs(Pe,{onClick:i,children:[t.jsx(Os,{}),t.jsx(Ie,{children:J.task})]}),t.jsx(U,{controller:d==="groupName",children:t.jsxs(Pe,{onClick:()=>c(""),children:[t.jsx(Ps,{}),t.jsx(Ie,{children:J.group})]})})]}),m?t.jsx(Ws,{taskGroupTemplates:r,taskIdInCreation:k,groupIdInCreation:w,expandedTemplate:u,handleGroupTemplateClick:z,handleGroupTemplateTaskClick:B,onNewGroupClick:c,onNewTaskInitialization:E,onExpandTemplate:a}):null]})})}const Ws=({taskGroupTemplates:e,taskIdInCreation:d,groupIdInCreation:r,expandedTemplate:h,onExpandTemplate:m,handleGroupTemplateClick:u,handleGroupTemplateTaskClick:a,onNewGroupClick:p,onNewTaskInitialization:i})=>{const[c,C]=n.useState(""),b=n.useMemo(()=>{const k=[];return e.forEach(f=>{if(f.name.toLowerCase().includes(c.toLowerCase()))k.push(f);else{const w=f.tasks.filter(M=>M.name.toLowerCase().includes(c.toLowerCase()));w.length>0&&k.push({...f,tasks:w})}}),k},[e,c]),E=n.useCallback(()=>{i(c)},[c,i]),D=n.useCallback(()=>{p(c)},[c,p]);return t.jsxs(Us,{children:[t.jsx(_s,{children:t.jsxs(Ks,{children:[t.jsxs(Vs,{children:[t.jsx(qs,{}),t.jsx(Ys,{children:J.groupTemplates})]}),t.jsx(Ss,{inputContainerStyles:{top:"50%",transform:"translateY(-50%)"},searchText:c,onSearchTextChanged:C,placeholder:J.searchPlaceholder})]})}),t.jsx(U,{controller:b.length>0,children:t.jsx(Xs,{children:b.map(k=>{const f=h===k.id;return t.jsxs(ao,{children:[t.jsxs(Zs,{onClick:()=>{m(k.id)},expanded:f,children:[t.jsxs(Js,{children:[t.jsx(U,{controller:f,children:t.jsx(no,{})}),t.jsx(U,{controller:!f,children:t.jsx(oo,{})}),t.jsx(K,{children:k.name}),t.jsx(ct,{count:k.tasks.length})]}),t.jsx(to,{expanded:f,className:"hidden-create-group-button",variant:"secondary",size:"xs-small",label:J.createGroup,disabled:k.createdAt!=null,onClick:w=>{w.stopPropagation(),m(null),u(k.id)},reverseSpinnerColor:!1,loading:r===k.id})]}),t.jsx(U,{controller:f,children:t.jsx(n.Fragment,{children:k.tasks.map(w=>t.jsxs(Qs,{children:[t.jsxs(eo,{children:[t.jsx(ro,{className:"styled-dot"}),t.jsx(co,{className:"task-name-text",children:w.name})]}),t.jsx(so,{loading:d===w.name,className:"hidden-create-task-button",variant:"secondary",size:"xs-small",label:As.create,reverseSpinnerColor:!1,onClick:()=>a(k.id,w.name)})]},w.name))})})]},k.id)})})}),t.jsxs(U,{controller:b.length===0,children:[t.jsx(io,{children:t.jsx(lo,{children:J.noTaskGroup})}),t.jsxs(He,{onClick:E,children:[t.jsx(Ue,{}),t.jsx(K,{children:J.newTaskOptionText.replace("__searchText__",c)})]}),t.jsxs(He,{onClick:D,children:[t.jsx(Ue,{}),t.jsx(K,{children:J.newGroupOptionText.replace("__searchText__",c)})]})]})]})},Fs=o.div`
101
101
  display: flex;
102
102
  flex-direction: column;
103
103
  width: ${e=>e.isTaskTemplatesEnabled?"408px":"unset"};
@@ -123,10 +123,10 @@ import{aw as gt,d as Ye,V as t,jy as q,bC as kt,aa as _,cp as xt,al as K,aq as w
123
123
  display: flex;
124
124
  flex-direction: column;
125
125
  border-bottom: 1px solid ${e=>e.theme.colors.grey3};
126
- `,_s=o.div`
126
+ `,Us=o.div`
127
127
  background-color: ${e=>e.theme.colors.grey5};
128
128
  padding-bottom: ${s.sp2};
129
- `,Us=o.div`
129
+ `,_s=o.div`
130
130
  display: flex;
131
131
  justify-content: space-between;
132
132
  align-items: center;
@@ -234,7 +234,7 @@ import{aw as gt,d as Ye,V as t,jy as q,bC as kt,aa as _,cp as xt,al as K,aq as w
234
234
  background-color: ${e=>e.theme.colors.background};
235
235
  color: ${e=>e.theme.colors.primary};
236
236
  }
237
- `,_e=o(et)`
237
+ `,Ue=o(et)`
238
238
  width: ${s.sp3};
239
239
  height: ${s.sp3};
240
240
  `,co=o(K)`
@@ -243,7 +243,7 @@ import{aw as gt,d as Ye,V as t,jy as q,bC as kt,aa as _,cp as xt,al as K,aq as w
243
243
  text-overflow: ellipsis;
244
244
  white-space: nowrap;
245
245
  max-width: 336px;
246
- `,{common:Ge,dateFormat:po,taskManagement:Ee}=se.getLocalizedStrings(),pt={taskNameMaxWidth:new Je(125,170,170,250,300)},uo=({taskDetail:e,tagList:d,sectionId:r,onRowClick:h,onTimeSpentUpdate:m,onShowToast:u})=>{const a=ie(),p=e.assigneeUsers.length,i=e.assigneeUsers[0]?.user,c=i?.firstName||i?.lastName?`${i.firstName} ${i.lastName}`:i?.email??Ge.strings.empty,{getValues:C,resetField:b,getFieldState:E}=it(),D=(k,f)=>{const w=ze(k,f,xe);E(w).invalid?b(w):m(e,{timeSpent:C(w)})};return t.jsxs(go,{children:[t.jsxs(So,{windowSize:a,onClick:h,responsiveWidth:Z[0].width,children:[t.jsxs(Go,{windowSize:a,children:[t.jsx(Io,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Ne,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(Eo,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Ne,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(Lo,{windowSize:a,responsiveWidth:Z[0].width,children:t.jsx(No,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(Ue,{windowSize:a,responsiveWidth:Z[1].width,children:Be(e.status.code)}),t.jsx(zo,{windowSize:a,responsiveWidth:Z[2].width,children:Be(e.priority.code)}),t.jsx(Ao,{windowSize:a,responsiveWidth:Z[3].width,children:e.dueDate!=null?e.dueDate.format(po.visual.MMMDCommaYYYYformat):t.jsx(ko,{children:Ge.strings.hyphen})}),t.jsx(Ue,{windowSize:a,responsiveWidth:Z[4].width,children:p>0?t.jsxs(xo,{children:[t.jsx(qt,{personBasic:i,styles:{width:s.sp4,height:s.sp4}}),t.jsx(Do,{children:t.jsx(Mo,{children:c})}),p>1?t.jsx(wo,{children:`${Ge.strings.plus}${p-1}`}):null]}):null}),t.jsx(Ro,{windowSize:a,responsiveWidth:Z[5].width,children:e.tagIds.length>0?t.jsx(Bo,{children:Yt(e.tagIds,d)}):null}),t.jsx(Fo,{windowSize:a,responsiveWidth:Z[6].width,isLastColumn:!0,isDisabled:!1,children:t.jsx(Oo,{className:"timeSpentField",children:t.jsx(Xt,{name:ze(r,e.id,xe),placeholder:Ee.common.timeSpentPlaceholder,timeSpentFormat:Ee.common.timeSpentFormat,registerOptions:{validate:k=>ts(k)>Zt?(u({messageSection:"task_time_spent_validation",messageText:"failed",type:"error",showStatusIcon:!0}),"Error"):!0},style:{padding:`${s.sp0} ${s.sp1}`,background:"unset"},onInputBlur:()=>{D(r,e.id)},inputStyle:{textAlign:"right",padding:`${s.sp0} ${s.sp2}`}})})})]})},ho=({taskGroup:e,tagList:d,sectionId:r,showGroupName:h,showRenameTextField:m,isSelectionAllowed:u,isCollapsed:a,existingTaskGroupNamesByGroupId:p,onDeleteTaskGroup:i,onExpandAll:c,onCollapseAll:C,onAddNewTaskToTaskGroup:b,onCollapseToggle:E,onTaskManagementRowClick:D,onDragStart:k,onTimeSpentUpdate:f,onShowToast:w})=>{const[M,B]=n.useState(null),z=ie(),{setFocus:T}=it(),x=n.useCallback(()=>{E(e.id)},[E,e.id]),S=n.useCallback(W=>{B(W.currentTarget)},[]),j=n.useCallback(()=>{B(null)},[]),L=n.useCallback(()=>{b(e.id)},[b,e.id]),g=n.useCallback(()=>{B(null),i(e.id)},[i,e.id]),y=n.useCallback(()=>{T(`${r}.groupName`),j()},[j,r,T]);return t.jsxs(mo,{windowSize:z,children:[t.jsx(_,{controller:h,children:t.jsxs(fo,{children:[t.jsxs(Co,{children:[t.jsx($o,{isOpen:a===!1,onClick:x,children:t.jsx(To,{})}),t.jsx(Ot,{style:{textAlign:"start",width:"100%",background:"unset",...Pt.largeMedium.cssObject},type:"text",name:`${r}.groupName`,placeholder:Ee.taskList.taskGroup.groupNamePlaceholder,registerOptions:{required:!0,validate:W=>Ht(W,e.id,p)===!1},isDisabled:m&&e.id!=="new_group"||e.isDefault?"disabled":void 0})]}),t.jsx(jo,{onClick:S,children:t.jsx(yo,{})}),t.jsx(_t,{onClose:j,onAddTask:L,onCollapseAll:C,onDelete:g,onExpandAll:c,onRename:y,isDefault:e.isDefault,anchorEl:M})]})}),t.jsx(_,{controller:a===!1,children:t.jsx(Ut,{mode:"checked_or_hover",isDisabled:u===!1?"disabled":void 0,checkBoxes:[...e.tasks.map(W=>{const U=()=>{D(W.id)};return{label:t.jsx(uo,{taskDetail:W,onRowClick:U,tagList:d,onTimeSpentUpdate:f,onShowToast:w,sectionId:r}),prefix:z==="small"?null:t.jsx(vo,{children:t.jsx(bo,{})}),value:W.id,defaultChecked:!1,groupLabel:!1}})],name:`${r}.selectedIds`,style:{width:"100%",rowGap:s.sp3},checkBoxStyle:{padding:s.sp3},labelCheckBoxStyle:{padding:s.sp3},onDragStart:k,draggable:!0})})]})},mo=o.div`
246
+ `,{common:Ge,dateFormat:po,taskManagement:Ee}=se.getLocalizedStrings(),pt={taskNameMaxWidth:new Je(125,170,170,250,300)},uo=({taskDetail:e,tagList:d,sectionId:r,onRowClick:h,onTimeSpentUpdate:m,onShowToast:u})=>{const a=ie(),p=e.assigneeUsers.length,i=e.assigneeUsers[0]?.user,c=i?.firstName||i?.lastName?`${i.firstName} ${i.lastName}`:i?.email??Ge.strings.empty,{getValues:C,resetField:b,getFieldState:E}=it(),D=(k,f)=>{const w=ze(k,f,xe);E(w).invalid?b(w):m(e,{timeSpent:C(w)})};return t.jsxs(go,{children:[t.jsxs(So,{windowSize:a,onClick:h,responsiveWidth:Z[0].width,children:[t.jsxs(Go,{windowSize:a,children:[t.jsx(Io,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Ne,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(Eo,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Ne,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(Lo,{windowSize:a,responsiveWidth:Z[0].width,children:t.jsx(No,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(_e,{windowSize:a,responsiveWidth:Z[1].width,children:Be(e.status.code)}),t.jsx(zo,{windowSize:a,responsiveWidth:Z[2].width,children:Be(e.priority.code)}),t.jsx(Ao,{windowSize:a,responsiveWidth:Z[3].width,children:e.dueDate!=null?e.dueDate.format(po.visual.MMMDCommaYYYYformat):t.jsx(ko,{children:Ge.strings.hyphen})}),t.jsx(_e,{windowSize:a,responsiveWidth:Z[4].width,children:p>0?t.jsxs(xo,{children:[t.jsx(qt,{personBasic:i,styles:{width:s.sp4,height:s.sp4}}),t.jsx(Do,{children:t.jsx(Mo,{children:c})}),p>1?t.jsx(wo,{children:`${Ge.strings.plus}${p-1}`}):null]}):null}),t.jsx(Ro,{windowSize:a,responsiveWidth:Z[5].width,children:e.tagIds.length>0?t.jsx(Bo,{children:Yt(e.tagIds,d)}):null}),t.jsx(Fo,{windowSize:a,responsiveWidth:Z[6].width,isLastColumn:!0,isDisabled:!1,children:t.jsx(Oo,{className:"timeSpentField",children:t.jsx(Xt,{name:ze(r,e.id,xe),placeholder:Ee.common.timeSpentPlaceholder,timeSpentFormat:Ee.common.timeSpentFormat,registerOptions:{validate:k=>ts(k)>Zt?(u({messageSection:"task_time_spent_validation",messageText:"failed",type:"error",showStatusIcon:!0}),"Error"):!0},style:{padding:`${s.sp0} ${s.sp1}`,background:"unset"},onInputBlur:()=>{D(r,e.id)},inputStyle:{textAlign:"right",padding:`${s.sp0} ${s.sp2}`}})})})]})},ho=({taskGroup:e,tagList:d,sectionId:r,showGroupName:h,showRenameTextField:m,isSelectionAllowed:u,isCollapsed:a,existingTaskGroupNamesByGroupId:p,onDeleteTaskGroup:i,onExpandAll:c,onCollapseAll:C,onAddNewTaskToTaskGroup:b,onCollapseToggle:E,onTaskManagementRowClick:D,onDragStart:k,onTimeSpentUpdate:f,onShowToast:w})=>{const[M,B]=n.useState(null),z=ie(),{setFocus:$}=it(),x=n.useCallback(()=>{E(e.id)},[E,e.id]),S=n.useCallback(W=>{B(W.currentTarget)},[]),j=n.useCallback(()=>{B(null)},[]),L=n.useCallback(()=>{b(e.id)},[b,e.id]),g=n.useCallback(()=>{B(null),i(e.id)},[i,e.id]),y=n.useCallback(()=>{$(`${r}.groupName`),j()},[j,r,$]);return t.jsxs(mo,{windowSize:z,children:[t.jsx(U,{controller:h,children:t.jsxs(fo,{children:[t.jsxs(Co,{children:[t.jsx(To,{isOpen:a===!1,onClick:x,children:t.jsx($o,{})}),t.jsx(Ot,{style:{textAlign:"start",width:"100%",background:"unset",...Pt.largeMedium.cssObject},type:"text",name:`${r}.groupName`,placeholder:Ee.taskList.taskGroup.groupNamePlaceholder,registerOptions:{required:!0,validate:W=>Ht(W,e.id,p)===!1},isDisabled:m&&e.id!=="new_group"||e.isDefault?"disabled":void 0})]}),t.jsx(jo,{onClick:S,children:t.jsx(yo,{})}),t.jsx(Ut,{onClose:j,onAddTask:L,onCollapseAll:C,onDelete:g,onExpandAll:c,onRename:y,isDefault:e.isDefault,anchorEl:M})]})}),t.jsx(U,{controller:a===!1,children:t.jsx(_t,{mode:"checked_or_hover",isDisabled:u===!1?"disabled":void 0,checkBoxes:[...e.tasks.map(W=>{const _=()=>{D(W.id)};return{label:t.jsx(uo,{taskDetail:W,onRowClick:_,tagList:d,onTimeSpentUpdate:f,onShowToast:w,sectionId:r}),prefix:z==="small"?null:t.jsx(vo,{children:t.jsx(bo,{})}),value:W.id,defaultChecked:!1,groupLabel:!1}})],name:`${r}.selectedIds`,style:{width:"100%",rowGap:s.sp3},checkBoxStyle:{padding:s.sp3},labelCheckBoxStyle:{padding:s.sp3},onDragStart:k,draggable:!0})})]})},mo=o.div`
247
247
  box-sizing: border-box;
248
248
  display: flex;
249
249
  flex-direction: column;
@@ -302,10 +302,10 @@ import{aw as gt,d as Ye,V as t,jy as q,bC as kt,aa as _,cp as xt,al as K,aq as w
302
302
  display: flex;
303
303
  justify-content: space-between;
304
304
  align-items: center;
305
- `,$o=o.div`
305
+ `,To=o.div`
306
306
  cursor: pointer;
307
307
  transform: ${e=>e.isOpen?"rotate(0deg)":"rotate(-90deg)"};
308
- `,To=o(Qe)`
308
+ `,$o=o(Qe)`
309
309
  width: ${s.sp3};
310
310
  height: ${s.sp3};
311
311
  color: ${e=>e.theme.colors.primary};
@@ -375,7 +375,7 @@ import{aw as gt,d as Ye,V as t,jy as q,bC as kt,aa as _,cp as xt,al as K,aq as w
375
375
  flex-direction: row;
376
376
  align-items: center;
377
377
  column-gap: ${s.sp2};
378
- `,Ue=o.div`
378
+ `,_e=o.div`
379
379
  width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
380
380
  min-width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
381
381
  overflow: hidden;
@@ -430,7 +430,7 @@ import{aw as gt,d as Ye,V as t,jy as q,bC as kt,aa as _,cp as xt,al as K,aq as w
430
430
  column-gap: ${s.sp2};
431
431
  `,Oo=o.div`
432
432
  max-width: ${s.sp11};
433
- `,Po=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("rect",{x:10,y:2,width:12,height:12,rx:2,stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10.75C7 10.3358 6.66421 10 6.25 10H3.70967C2.76545 10 2 10.7654 2 11.7097V20.2936C2 21.2378 2.76544 22.0033 3.70966 22.0033H12.2936C13.2378 22.0033 14.0033 21.2378 14.0033 20.2936V17.75C14.0033 17.3358 13.6675 17 13.2533 17C12.8391 17 12.5033 17.3358 12.5033 17.75V20.2936C12.5033 20.4094 12.4094 20.5033 12.2936 20.5033H3.70966C3.59387 20.5033 3.5 20.4094 3.5 20.2936V11.7097C3.5 11.5939 3.59387 11.5 3.70967 11.5H6.25C6.66421 11.5 7 11.1642 7 10.75Z",fill:"currentColor"})),H=se.getLocalizedStrings(),Ve=e=>`${e}_form`,Ho={rowGap:new Je(ge[0],ge[5],ge[5])},{common:{footer:Ke},taskManagement:Le}=se.getLocalizedStrings(),yn=({taskListView:e,tagListView:d,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:m,onDragNDrop:u,onDeleteTaskGroup:a,updateLocalData:p,onTaskManagementRowClick:i,onReloadTasks:c,onColumnSortConfigChanged:C,onSearchTextChanged:b,onBackClick:E,onNewTaskClick:D,onFiltersChange:k,resetLocalData:f,handleCreateGroup:w,assignGroupToTasks:M,onAddNewTaskToTaskGroup:B,onGroupByFilterChange:z,onTaskGroupRename:T,analytics:x,onTimeSpentUpdate:S,onShowToast:j,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,handleNewTaskInitialization:y})=>{const[W,U]=n.useState(!1),[Q,O]=n.useState(null),[P,oe]=n.useState(null),[Y,pe]=n.useState(null),[fe,le]=n.useState(null),[ue,ne]=n.useState(!1),Ce=gt(),{fetchState:ee,uiState:X,filters:$e,userList:de,taskGroupsWithTasksList:Te}=e,{tagList:je}=d,ye=Ye(),ve=R=>{ne(R)},he=n.useCallback(R=>{le(R.currentTarget)},[]),me=n.useCallback(R=>{z(R)},[z]),l=n.useCallback(()=>{z("groupName")},[z]),G=n.useCallback(R=>{y(R)},[y]),F=de.users.map(R=>R.user).filter(R=>R!=null),I={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:ue,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:X.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:$e,searchTextBoxStyle:{right:"108px"},onNewButtonClick:he,onSearchOpen:ve,onSearchTextChanged:b,onFiltersChange:k,analytics:x,downloadState:"Not-Started",createdByUserListLoaded:de.fetchState==="Completed"||de.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(ks,{value:X.groupByKey,resetDisabled:X.groupByKey==="groupName",onChange:me,onReset:l}),height:90},getFilterOptions:()=>ls("task_management",F,Ce.loggedInUserRole??[],d.tagList)},N=n.useCallback(R=>{le(null),O(q),p({...e.localData,newTaskGroupName:R})},[e.localData,p]),A=n.useCallback(()=>{le(null)},[]),v=n.useCallback(()=>{P!=null&&a(P)},[P,a]),$=n.useCallback(()=>{O(q)},[]),te=n.useCallback(R=>{pe(mt=>mt===R?null:R)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&U(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&pe(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const ut=()=>ee==="Error"?t.jsxs(Xo,{children:[t.jsx(Zo,{onClick:c,children:t.jsx(Jo,{})}),t.jsx(Qo,{children:H.common.reloadPage.label})]}):ee==="Completed"&&Te.length===0?t.jsx(ft,{message:H.taskManagement.taskList.noDataText}):ee==="Not-Started"||ee==="In-Progress"?t.jsx(Ct,{fetchState:ee}):t.jsx(_o,{taskListView:e,tagList:je,renameActiveField:Q,updateTask:m,onDragNDrop:u,onAddNewTaskToTaskGroup:B,onColumnSortConfigChanged:C,onTaskManagementRowClick:i,assignGroupToTasks:M,handleCreateGroup:w,resetLocalData:f,setGroupCreationInProgress:$,setShowDeleteModal:U,updateLocalData:p,setActiveTaskGroupId:oe,setRenameActiveField:O,onTaskGroupRename:T,onTimeSpentUpdate:S,onShowToast:j,onCreateTagClick:h}),ht=t.jsx(os,{spendManagementSectionProps:I});return t.jsxs(Yo,{children:[t.jsx(kt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:ye.colors.grey4,style:{zIndex:3},onBackClick:E,rightSideComponent:ht,isSearchOpen:ue,source:"TaskManagementPage"}),t.jsx(Rs,{anchorEl:fe,groupByKey:X.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:A,onNewTaskClick:D,onNewGroupClick:N,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,onNewTaskInitialization:G,onExpandTemplate:te,expandedTemplate:Y}),t.jsx(qo,{children:ut()}),t.jsx(_,{controller:W===!0,children:t.jsx(xt,{action:{onOkClick:v,onCancelClick:()=>{U(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(nn,{children:t.jsx(wt,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(an,{children:t.jsx(K,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},_o=({taskListView:e,tagList:d,renameActiveField:r,updateTask:h,onTaskGroupRename:m,setRenameActiveField:u,onDragNDrop:a,updateLocalData:p,setShowDeleteModal:i,handleCreateGroup:c,resetLocalData:C,assignGroupToTasks:b,setGroupCreationInProgress:E,onTaskManagementRowClick:D,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,setActiveTaskGroupId:w,onTimeSpentUpdate:M,onShowToast:B,onCreateTagClick:z})=>{const T=n.useRef(null);jt({componentName:"task.management.list"});const[x,S]=n.useState(null),j=n.useRef({}),L=ie(),{localData:g,taskGroupsWithTasksList:y,uiState:W}=e,[U,Q]=n.useState([]),O=n.useRef(null);hs({scrollContainerRef:O,isEnabled:L!=="small"});const P=n.useMemo(()=>e.userList.users.map(l=>l.user).filter(l=>l!=null),[e.userList.users]),oe=yt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>qe(e.taskGroupsWithTasksList,g,P,d),[g,e.taskGroupsWithTasksList,P,d]),values:n.useMemo(()=>qe(e.taskGroupsWithTasksList,g,P,d),[g,e.taskGroupsWithTasksList,P,d])}),Y=n.useMemo(()=>{if(r!==q)return y;const l=[],G=y.map(F=>{const I=F.tasks.filter(N=>{const A=g.selectedTaskIds.includes(N.id)===!0;return A&&l.push(N),A===!1});return{...F,tasks:I}});return G.unshift({groupName:"",isDefault:!1,id:q,tasks:l}),G},[r,y,g.selectedTaskIds]),pe=n.useCallback(l=>U.includes(Y[l].id)||Y[l].tasks.length===0?100:j.current?.[l]!=null?j.current[l]+Ho.rowGap.value(L):(ns*1+as)*3+rs+is,[U,Y,L]),fe=n.useCallback(l=>{S(l.currentTarget)},[]),le=n.useCallback((l,G)=>{j.current={...j.current,[l]:G},T.current?.resetAfterIndex(0,!0)},[L,T,y]),ue=n.useCallback(l=>{Q(G=>G.includes(l)?G.filter(F=>l!==F):[...G,l]),T.current?.resetAfterIndex(0,!0)},[]),ne=n.useCallback(()=>{S(null)},[]),Ce=n.useCallback(()=>{Q(y.map(l=>l.id)),T.current?.resetAfterIndex(0,!0)},[y]),ee=n.useCallback(()=>{Q([]),T.current?.resetAfterIndex(0,!0)},[]),X=n.useCallback(()=>{E(),T.current?.scrollTo(0),ne()},[ne,E]),$e=n.useCallback(l=>{w(l),i(!0)},[w,i]),de=n.useCallback(()=>{g.selectedTaskIds.length>0?r!==q?X():c(!0):r===q?c(!1):r!=null&&m(r,g.existingTaskGroupNamesByGroupId[r])},[g.selectedTaskIds.length,g.existingTaskGroupNamesByGroupId,r,X,c,m]),Te=n.useCallback(()=>{u(null),C()},[C,u]),je=n.useCallback(l=>{C(),u(l)},[C,u]),ye=n.useCallback(()=>{g.defaultTaskGroupId!=null&&b(g.defaultTaskGroupId)},[b,g.defaultTaskGroupId]),ve=async(l,G)=>{if(l.includes(nt)){const I=l.split(".")[2],N=y.flatMap(v=>v.tasks).find(v=>v.id===I),A=G[V][ae][I].priority.selectedOption;if(N!=null&&A!=null){const v=lt.find($=>$.code===A);v!=null&&h(N,{priority:v})}return}if(l.includes(at)){const I=l.split(".")[2],N=y.flatMap(v=>v.tasks).find(v=>v.id===I),A=G[V][ae][I].status.selectedOption;if(N!=null&&A!=null){const v=dt.find($=>$.code===A);N!=null&&v!=null&&h(N,{status:v})}return}if(l.includes(st)){const I=l.split(".")[2],N=y.flatMap($=>$.tasks).find($=>$.id===I),A=y.find($=>$.tasks.find(te=>te.id===I))?.id,v=G[V][ae][I].assignees.selectedUsers.map($=>$.userId);A!=null&&v!=null&&N!=null&&h(N,{assignees:v});return}if(l.includes(ot)){const I=l.split(".")[2],N=y.flatMap($=>$.tasks).find($=>$.id===I),A=y.find($=>$.tasks.find(te=>te.id===I))?.id,v=G[V][ae][I].dueDate.date;A!=null&&v!=null&&N!=null&&h(N,{dueDate:v});return}if(l.includes(tt)){const I=l.split(".")[2],N=y.flatMap($=>$.tasks).find($=>$.id===I),A=y.find($=>$.tasks.find(te=>te.id===I))?.id,v=G[V][ae][I].tags.selectedOptions;A!=null&&v!=null&&N!=null&&h(N,{tagIds:v});return}l.includes(xe)&&oe.trigger(l);const F=Ko(l,G,g);p(F)};n.useEffect(()=>{const l=oe.watch((G,{name:F})=>{F!=null&&G!=null&&vt(()=>ve(F,G))});return()=>{l.unsubscribe()}}),n.useEffect(()=>{e.taskGroupCreationStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupCreationStatus.fetchState]),n.useEffect(()=>{e.taskGroupUpdateStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupUpdateStatus.fetchState]);const he=y.length>1&&g.selectedTaskIds.length>0&&r!==q,me=g.newTaskGroupName.length>0||g.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(bt,{...oe,children:t.jsx("form",{id:Ve(Me),onSubmit:oe.handleSubmit(de),style:{width:"100%"},children:t.jsx(en,{isFooterVisible:me,windowSize:L,children:t.jsx(St,{children:({height:l,width:G})=>t.jsx(Gt,{ref:T,outerRef:O,height:l,itemCount:Y.length,itemSize:pe,estimatedItemSize:It,itemKey:F=>Y[F].id,width:G,overscanCount:Lt,itemData:{tagList:d,taskGroupsWithTasksList:Y,uiState:W,collapsedGroups:U,userList:e.userList,renameActiveField:r,selectedRowIds:g.selectedTaskIds,existingTaskGroupNamesByGroupId:g.existingTaskGroupNamesByGroupId,onRenameClick:je,handleOnDragNDrop:a,onCollapseToggle:ue,setRowHeight:le,onTaskManagementRowClick:D,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,onCollapseAll:Ce,onDeleteTaskGroup:$e,onExpandAll:ee,onTimeSpentUpdate:M,onShowToast:B,onCreateTagClick:z},initialScrollOffset:0,children:Uo})})})})}),me?t.jsx(Nt,{formId:Ve(Me),primaryBtn:{label:y.length===1&&g.selectedTaskIds.length>0&&r!==q?Le.taskList.footer.createGroup:Ke.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:Ke.cancel,style:{width:"135px"},onClick:Te},helperContainerStyle:L==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(_,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsxs(sn,{children:[t.jsx(ct,{count:g.selectedTaskIds.length}),t.jsx(on,{children:g.selectedTaskIds.length>1?Le.taskList.footer.tasksSelected:Le.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(_,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsx(ln,{children:t.jsx(Ne,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(rn,{onClick:ye})})})}),showPrimaryButton:he===!1,customPrimaryButton:he?t.jsxs(t.Fragment,{children:[t.jsx(De,{variant:"secondary",label:H.taskManagement.taskList.footer.moveTo,onClick:fe,style:{width:"135px"},size:"standard",loading:e.updateTasksFetchState.fetchState==="In-Progress",reverseSpinnerColor:!1}),t.jsx(js,{taskGroupsList:y,anchorEl:x,groupByKey:W.groupByKey,onCreateNewGroup:X,onExistingGroupSelection:l=>{ne(),b(l)},onClose:ne})]}):void 0}):null]})},Uo=({index:e,style:d,data:r})=>{const h=n.useRef(null),m=ie(),{tagList:u,taskGroupsWithTasksList:a,uiState:p,renameActiveField:i,collapsedGroups:c,onCollapseToggle:C,onTaskManagementRowClick:b,setRowHeight:E,onColumnSortConfigChanged:D,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:M,handleOnDragNDrop:B,onRenameClick:z,userList:T,selectedRowIds:x,existingTaskGroupNamesByGroupId:S,onTimeSpentUpdate:j,onShowToast:L,onCreateTagClick:g}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&E(e,h.current.firstElementChild.clientHeight)},[e,h,m,a[e]?.tasks]);const y=n.useCallback(O=>{const P=O.dataTransfer.getData("row");B(P,a[e].id)},[B,e,a]),W=n.useCallback(O=>{O.preventDefault()},[]),U=(O,P)=>{O.dataTransfer.setData("row",P)},Q=()=>{z(a[e].id)};return t.jsx(tn,{style:{...d,width:"100%"},ref:h,onDrop:y,onDragOver:W,children:t.jsx(Vo,{taskGroup:a[e],showGroupName:!0,tagList:u,uiState:p,isCollapsed:c.includes(a[e].id),onCollapseToggle:C,showRenameTextField:i===a[e].id,isSelectionAllowed:i==null,onTaskManagementRowClick:b,onColumnSortConfigChanged:D,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:M,onExpandAll:f,selectedRowIds:x,userList:T,existingTaskGroupNamesByGroupId:S,onDragStart:U,onRenameClick:Q,onTimeSpentUpdate:j,onShowToast:L,onCreateTagClick:g},a[e].id)})},Vo=({taskGroup:e,tagList:d,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,userList:i,existingTaskGroupNamesByGroupId:c,onRenameClick:C,onTaskManagementRowClick:b,onCollapseToggle:E,onColumnSortConfigChanged:D,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:M,onDragStart:B,onTimeSpentUpdate:z,onShowToast:T,onCreateTagClick:x})=>{const S=ie(),j=S==="medium-regular"||S==="medium-compact"||S==="small"?ho:Ft;return t.jsx(j,{taskGroup:e,tagList:d,userList:i,sectionId:V,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,existingTaskGroupNamesByGroupId:c,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:M,onExpandAll:f,onCollapseToggle:E,onTaskManagementRowClick:b,onColumnSortConfigChanged:D,onDragStart:B,onRenameClick:C,onTimeSpentUpdate:z,onShowToast:T,onCreateTagClick:x})},qe=(e,d,r,h)=>{const m={},u={};e.forEach(p=>{u[p.id]={[ke]:[],[ce]:d.existingTaskGroupNamesByGroupId[p.id]},p.tasks.forEach(i=>{d.selectedTaskIds.includes(i.id)&&u[p.id].selectedIds.push(i.id),m[i.id]={[at]:{selectedOption:i.status.code,allOptions:dt.map(c=>({label:c.name,value:c.code}))},[nt]:{selectedOption:i.priority.code,allOptions:lt.map(c=>({label:c.name,value:c.code}))},[ot]:{date:i.dueDate,showBusinessDay:!1},[st]:{allUsers:r,selectedUsers:i.assigneeUsers.map(c=>c.user)},[tt]:{allOptions:Dt(h),selectedOptions:i.tagIds},[xe]:i.timeSpent}})});const a={[rt]:{[q]:{[ce]:d.newTaskGroupName,[ke]:[]},...u},[ae]:m};return{[V]:a}},Ko=(e,d,r)=>{if(e.includes(V)){const h=e.split(".")[2];if(e.includes(ce))return e.includes(q)?{...r,newTaskGroupName:d[V].groupData[h][ce]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:d[V].groupData[h][ce]}};if(e.includes(ke)){const m=Rt(Wt(Object.values(d[V][rt]),ke)).filter(u=>u!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:m}}}return r},qo=o.div`
433
+ `,Po=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("rect",{x:10,y:2,width:12,height:12,rx:2,stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10.75C7 10.3358 6.66421 10 6.25 10H3.70967C2.76545 10 2 10.7654 2 11.7097V20.2936C2 21.2378 2.76544 22.0033 3.70966 22.0033H12.2936C13.2378 22.0033 14.0033 21.2378 14.0033 20.2936V17.75C14.0033 17.3358 13.6675 17 13.2533 17C12.8391 17 12.5033 17.3358 12.5033 17.75V20.2936C12.5033 20.4094 12.4094 20.5033 12.2936 20.5033H3.70966C3.59387 20.5033 3.5 20.4094 3.5 20.2936V11.7097C3.5 11.5939 3.59387 11.5 3.70967 11.5H6.25C6.66421 11.5 7 11.1642 7 10.75Z",fill:"currentColor"})),H=se.getLocalizedStrings(),Ve=e=>`${e}_form`,Ho={rowGap:new Je(ge[0],ge[5],ge[5])},{common:{footer:Ke},taskManagement:Le}=se.getLocalizedStrings(),yn=({taskListView:e,tagListView:d,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:m,onDragNDrop:u,onDeleteTaskGroup:a,updateLocalData:p,onTaskManagementRowClick:i,onReloadTasks:c,onColumnSortConfigChanged:C,onSearchTextChanged:b,onBackClick:E,onNewTaskClick:D,onFiltersChange:k,resetLocalData:f,handleCreateGroup:w,assignGroupToTasks:M,onAddNewTaskToTaskGroup:B,onGroupByFilterChange:z,onTaskGroupRename:$,analytics:x,onTimeSpentUpdate:S,onShowToast:j,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,handleNewTaskInitialization:y})=>{const[W,_]=n.useState(!1),[Q,O]=n.useState(null),[P,oe]=n.useState(null),[Y,pe]=n.useState(null),[fe,le]=n.useState(null),[ue,ne]=n.useState(!1),Ce=gt(),{fetchState:ee,uiState:X,filters:Te,userList:de,taskGroupsWithTasksList:$e}=e,{tagList:je}=d,ye=Ye(),ve=R=>{ne(R)},he=n.useCallback(R=>{le(R.currentTarget)},[]),me=n.useCallback(R=>{z(R)},[z]),l=n.useCallback(()=>{z("groupName")},[z]),G=n.useCallback(R=>{y(R)},[y]),F=de.users.map(R=>R.user).filter(R=>R!=null),I={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:ue,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:X.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:Te,searchTextBoxStyle:{right:"108px"},onNewButtonClick:he,onSearchOpen:ve,onSearchTextChanged:b,onFiltersChange:k,analytics:x,downloadState:"Not-Started",createdByUserListLoaded:de.fetchState==="Completed"||de.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(ks,{value:X.groupByKey,resetDisabled:X.groupByKey==="groupName",onChange:me,onReset:l}),height:90},getFilterOptions:()=>ls("task_management",F,Ce.loggedInUserRole??[],d.tagList)},N=n.useCallback(R=>{le(null),O(q),p({...e.localData,newTaskGroupName:R})},[e.localData,p]),A=n.useCallback(()=>{le(null)},[]),v=n.useCallback(()=>{P!=null&&a(P)},[P,a]),T=n.useCallback(()=>{O(q)},[]),te=n.useCallback(R=>{pe(mt=>mt===R?null:R)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&_(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&pe(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const ut=()=>ee==="Error"?t.jsxs(Xo,{children:[t.jsx(Zo,{onClick:c,children:t.jsx(Jo,{})}),t.jsx(Qo,{children:H.common.reloadPage.label})]}):ee==="Completed"&&$e.length===0?t.jsx(ft,{message:H.taskManagement.taskList.noDataText}):ee==="Not-Started"||ee==="In-Progress"?t.jsx(Ct,{fetchState:ee}):t.jsx(Uo,{taskListView:e,tagList:je,renameActiveField:Q,updateTask:m,onDragNDrop:u,onAddNewTaskToTaskGroup:B,onColumnSortConfigChanged:C,onTaskManagementRowClick:i,assignGroupToTasks:M,handleCreateGroup:w,resetLocalData:f,setGroupCreationInProgress:T,setShowDeleteModal:_,updateLocalData:p,setActiveTaskGroupId:oe,setRenameActiveField:O,onTaskGroupRename:$,onTimeSpentUpdate:S,onShowToast:j,onCreateTagClick:h}),ht=t.jsx(os,{spendManagementSectionProps:I});return t.jsxs(Yo,{children:[t.jsx(kt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:ye.colors.grey4,style:{zIndex:3},onBackClick:E,rightSideComponent:ht,isSearchOpen:ue,source:"TaskManagementPage"}),t.jsx(Rs,{anchorEl:fe,groupByKey:X.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:A,onNewTaskClick:D,onNewGroupClick:N,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,onNewTaskInitialization:G,onExpandTemplate:te,expandedTemplate:Y}),t.jsx(qo,{children:ut()}),t.jsx(U,{controller:W===!0,children:t.jsx(xt,{action:{onOkClick:v,onCancelClick:()=>{_(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(nn,{children:t.jsx(wt,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(an,{children:t.jsx(K,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},Uo=({taskListView:e,tagList:d,renameActiveField:r,updateTask:h,onTaskGroupRename:m,setRenameActiveField:u,onDragNDrop:a,updateLocalData:p,setShowDeleteModal:i,handleCreateGroup:c,resetLocalData:C,assignGroupToTasks:b,setGroupCreationInProgress:E,onTaskManagementRowClick:D,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,setActiveTaskGroupId:w,onTimeSpentUpdate:M,onShowToast:B,onCreateTagClick:z})=>{const $=n.useRef(null);jt({componentName:"task.management.list"});const[x,S]=n.useState(null),j=n.useRef({}),L=ie(),{localData:g,taskGroupsWithTasksList:y,uiState:W}=e,[_,Q]=n.useState([]),O=n.useRef(null);hs({scrollContainerRef:O,isEnabled:L!=="small"});const P=n.useMemo(()=>e.userList.users.map(l=>l.user).filter(l=>l!=null),[e.userList.users]),oe=yt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>qe(e.taskGroupsWithTasksList,g,P,d),[g,e.taskGroupsWithTasksList,P,d]),values:n.useMemo(()=>qe(e.taskGroupsWithTasksList,g,P,d),[g,e.taskGroupsWithTasksList,P,d])}),Y=n.useMemo(()=>{if(r!==q)return y;const l=[],G=y.map(F=>{const I=F.tasks.filter(N=>{const A=g.selectedTaskIds.includes(N.id)===!0;return A&&l.push(N),A===!1});return{...F,tasks:I}});return G.unshift({groupName:"",isDefault:!1,id:q,tasks:l}),G},[r,y,g.selectedTaskIds]),pe=n.useCallback(l=>_.includes(Y[l].id)||Y[l].tasks.length===0?100:j.current?.[l]!=null?j.current[l]+Ho.rowGap.value(L):(ns*1+as)*3+rs+is,[_,Y,L]),fe=n.useCallback(l=>{S(l.currentTarget)},[]),le=n.useCallback((l,G)=>{j.current={...j.current,[l]:G},$.current?.resetAfterIndex(0,!0)},[L,$,y]),ue=n.useCallback(l=>{Q(G=>G.includes(l)?G.filter(F=>l!==F):[...G,l]),$.current?.resetAfterIndex(0,!0)},[]),ne=n.useCallback(()=>{S(null)},[]),Ce=n.useCallback(()=>{Q(y.map(l=>l.id)),$.current?.resetAfterIndex(0,!0)},[y]),ee=n.useCallback(()=>{Q([]),$.current?.resetAfterIndex(0,!0)},[]),X=n.useCallback(()=>{E(),$.current?.scrollTo(0),ne()},[ne,E]),Te=n.useCallback(l=>{w(l),i(!0)},[w,i]),de=n.useCallback(()=>{g.selectedTaskIds.length>0?r!==q?X():c(!0):r===q?c(!1):r!=null&&m(r,g.existingTaskGroupNamesByGroupId[r])},[g.selectedTaskIds.length,g.existingTaskGroupNamesByGroupId,r,X,c,m]),$e=n.useCallback(()=>{u(null),C()},[C,u]),je=n.useCallback(l=>{C(),u(l)},[C,u]),ye=n.useCallback(()=>{g.defaultTaskGroupId!=null&&b(g.defaultTaskGroupId)},[b,g.defaultTaskGroupId]),ve=async(l,G)=>{if(l.includes(nt)){const I=l.split(".")[2],N=y.flatMap(v=>v.tasks).find(v=>v.id===I),A=G[V][ae][I].priority.selectedOption;if(N!=null&&A!=null){const v=lt.find(T=>T.code===A);v!=null&&h(N,{priority:v})}return}if(l.includes(at)){const I=l.split(".")[2],N=y.flatMap(v=>v.tasks).find(v=>v.id===I),A=G[V][ae][I].status.selectedOption;if(N!=null&&A!=null){const v=dt.find(T=>T.code===A);N!=null&&v!=null&&h(N,{status:v})}return}if(l.includes(st)){const I=l.split(".")[2],N=y.flatMap(T=>T.tasks).find(T=>T.id===I),A=y.find(T=>T.tasks.find(te=>te.id===I))?.id,v=G[V][ae][I].assignees.selectedUsers.map(T=>T.userId);A!=null&&v!=null&&N!=null&&h(N,{assignees:v});return}if(l.includes(ot)){const I=l.split(".")[2],N=y.flatMap(T=>T.tasks).find(T=>T.id===I),A=y.find(T=>T.tasks.find(te=>te.id===I))?.id,v=G[V][ae][I].dueDate.date;A!=null&&v!=null&&N!=null&&h(N,{dueDate:v});return}if(l.includes(tt)){const I=l.split(".")[2],N=y.flatMap(T=>T.tasks).find(T=>T.id===I),A=y.find(T=>T.tasks.find(te=>te.id===I))?.id,v=G[V][ae][I].tags.selectedOptions;A!=null&&v!=null&&N!=null&&h(N,{tagIds:v});return}l.includes(xe)&&oe.trigger(l);const F=Ko(l,G,g);p(F)};n.useEffect(()=>{const l=oe.watch((G,{name:F})=>{F!=null&&G!=null&&vt(()=>ve(F,G))});return()=>{l.unsubscribe()}}),n.useEffect(()=>{e.taskGroupCreationStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupCreationStatus.fetchState]),n.useEffect(()=>{e.taskGroupUpdateStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupUpdateStatus.fetchState]);const he=y.length>1&&g.selectedTaskIds.length>0&&r!==q,me=g.newTaskGroupName.length>0||g.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(bt,{...oe,children:t.jsx("form",{id:Ve(Me),onSubmit:oe.handleSubmit(de),style:{width:"100%"},children:t.jsx(en,{isFooterVisible:me,windowSize:L,children:t.jsx(St,{children:({height:l,width:G})=>t.jsx(Gt,{ref:$,outerRef:O,height:l,itemCount:Y.length,itemSize:pe,estimatedItemSize:It,itemKey:F=>Y[F].id,width:G,overscanCount:Lt,itemData:{tagList:d,taskGroupsWithTasksList:Y,uiState:W,collapsedGroups:_,userList:e.userList,renameActiveField:r,selectedRowIds:g.selectedTaskIds,existingTaskGroupNamesByGroupId:g.existingTaskGroupNamesByGroupId,onRenameClick:je,handleOnDragNDrop:a,onCollapseToggle:ue,setRowHeight:le,onTaskManagementRowClick:D,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,onCollapseAll:Ce,onDeleteTaskGroup:Te,onExpandAll:ee,onTimeSpentUpdate:M,onShowToast:B,onCreateTagClick:z},initialScrollOffset:0,children:_o})})})})}),me?t.jsx(Nt,{formId:Ve(Me),primaryBtn:{label:y.length===1&&g.selectedTaskIds.length>0&&r!==q?Le.taskList.footer.createGroup:Ke.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:Ke.cancel,style:{width:"135px"},onClick:$e},helperContainerStyle:L==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(U,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsxs(sn,{children:[t.jsx(ct,{count:g.selectedTaskIds.length}),t.jsx(on,{children:g.selectedTaskIds.length>1?Le.taskList.footer.tasksSelected:Le.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(U,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsx(ln,{children:t.jsx(Ne,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(rn,{onClick:ye})})})}),showPrimaryButton:he===!1,customPrimaryButton:he?t.jsxs(t.Fragment,{children:[t.jsx(De,{variant:"secondary",label:H.taskManagement.taskList.footer.moveTo,onClick:fe,style:{width:"135px"},size:"standard",loading:e.updateTasksFetchState.fetchState==="In-Progress",reverseSpinnerColor:!1}),t.jsx(js,{taskGroupsList:y,anchorEl:x,groupByKey:W.groupByKey,onCreateNewGroup:X,onExistingGroupSelection:l=>{ne(),b(l)},onClose:ne})]}):void 0}):null]})},_o=({index:e,style:d,data:r})=>{const h=n.useRef(null),m=ie(),{tagList:u,taskGroupsWithTasksList:a,uiState:p,renameActiveField:i,collapsedGroups:c,onCollapseToggle:C,onTaskManagementRowClick:b,setRowHeight:E,onColumnSortConfigChanged:D,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:M,handleOnDragNDrop:B,onRenameClick:z,userList:$,selectedRowIds:x,existingTaskGroupNamesByGroupId:S,onTimeSpentUpdate:j,onShowToast:L,onCreateTagClick:g}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&E(e,h.current.firstElementChild.clientHeight)},[e,h,m,a[e]?.tasks]);const y=n.useCallback(O=>{const P=O.dataTransfer.getData("row");B(P,a[e].id)},[B,e,a]),W=n.useCallback(O=>{O.preventDefault()},[]),_=(O,P)=>{O.dataTransfer.setData("row",P)},Q=()=>{z(a[e].id)};return t.jsx(tn,{style:{...d,width:"100%"},ref:h,onDrop:y,onDragOver:W,children:t.jsx(Vo,{taskGroup:a[e],showGroupName:!0,tagList:u,uiState:p,isCollapsed:c.includes(a[e].id),onCollapseToggle:C,showRenameTextField:i===a[e].id,isSelectionAllowed:i==null,onTaskManagementRowClick:b,onColumnSortConfigChanged:D,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:M,onExpandAll:f,selectedRowIds:x,userList:$,existingTaskGroupNamesByGroupId:S,onDragStart:_,onRenameClick:Q,onTimeSpentUpdate:j,onShowToast:L,onCreateTagClick:g},a[e].id)})},Vo=({taskGroup:e,tagList:d,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,userList:i,existingTaskGroupNamesByGroupId:c,onRenameClick:C,onTaskManagementRowClick:b,onCollapseToggle:E,onColumnSortConfigChanged:D,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:M,onDragStart:B,onTimeSpentUpdate:z,onShowToast:$,onCreateTagClick:x})=>{const S=ie(),j=S==="medium-regular"||S==="medium-compact"||S==="small"?ho:Ft;return t.jsx(j,{taskGroup:e,tagList:d,userList:i,sectionId:V,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,existingTaskGroupNamesByGroupId:c,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:M,onExpandAll:f,onCollapseToggle:E,onTaskManagementRowClick:b,onColumnSortConfigChanged:D,onDragStart:B,onRenameClick:C,onTimeSpentUpdate:z,onShowToast:$,onCreateTagClick:x})},qe=(e,d,r,h)=>{const m={},u={};e.forEach(p=>{u[p.id]={[ke]:[],[ce]:d.existingTaskGroupNamesByGroupId[p.id]},p.tasks.forEach(i=>{d.selectedTaskIds.includes(i.id)&&u[p.id].selectedIds.push(i.id),m[i.id]={[at]:{selectedOption:i.status.code,allOptions:dt.map(c=>({label:c.name,value:c.code}))},[nt]:{selectedOption:i.priority.code,allOptions:lt.map(c=>({label:c.name,value:c.code}))},[ot]:{date:i.dueDate,showBusinessDay:!1},[st]:{allUsers:r,selectedUsers:i.assigneeUsers.map(c=>c.user)},[tt]:{allOptions:Dt(h),selectedOptions:i.tagIds},[xe]:i.timeSpent}})});const a={[rt]:{[q]:{[ce]:d.newTaskGroupName,[ke]:[]},...u},[ae]:m};return{[V]:a}},Ko=(e,d,r)=>{if(e.includes(V)){const h=e.split(".")[2];if(e.includes(ce))return e.includes(q)?{...r,newTaskGroupName:d[V].groupData[h][ce]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:d[V].groupData[h][ce]}};if(e.includes(ke)){const m=Rt(Wt(Object.values(d[V][rt]),ke)).filter(u=>u!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:m}}}return r},qo=o.div`
434
434
  display: block;
435
435
  height: 100%;
436
436
  `,Yo=o.div`
@@ -464,7 +464,7 @@ import{aw as gt,d as Ye,V as t,jy as q,bC as kt,aa as _,cp as xt,al as K,aq as w
464
464
  &:hover {
465
465
  color: ${e=>e.theme.colors.primary};
466
466
  }
467
- `,Qo=o(Tt)`
467
+ `,Qo=o($t)`
468
468
  margin-top: ${s.sp3};
469
469
  color: ${e=>e.theme.colors.hero};
470
470
  `,en=o.div`
@@ -1,4 +1,4 @@
1
- import{V as t,b3 as _,aD as S,dk as B,br as H,o as a,ai as L}from"./index-CNJQ6T57.js";import{a as n}from"./sentry-9b1mvxJ5.js";import{n as g}from"./mui-DsjrNjDe.js";import{Y as q}from"./core-Be77t6wT.js";import{V as U}from"./CollapsableReportTable-UADp1m_8-C887iUXZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="9b52b4d8-6be5-41ed-9754-152b74e1f143",e._sentryDebugIdIdentifier="sentry-dbid-9b52b4d8-6be5-41ed-9754-152b74e1f143")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
1
+ import{V as t,b4 as _,aE as S,dm as B,bs as H,o as d,ai as L}from"./index-BJwUmr6X.js";import{a as n}from"./sentry-Dozbf0xW.js";import{n as g}from"./mui-BPiKl8lE.js";import{Y as q}from"./core-BCC1NfcO.js";import{V as U}from"./CollapsableReportTable-Bjp9ufA3-Dgphs2fm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="6640979f-8bf3-4d8e-a2a9-f1d5a1689086",e._sentryDebugIdIdentifier="sentry-dbid-6640979f-8bf3-4d8e-a2a9-f1d5a1689086")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -25,8 +25,8 @@ import{V as t,b3 as _,aD as S,dk as B,br as H,o as a,ai as L}from"./index-CNJQ6T
25
25
  position: relative;
26
26
  scrollbar-width: none;
27
27
  `,J=g(L)``,K=g.div`
28
- top: ${a.sp0};
29
- left: ${a.sp0};
28
+ top: ${d.sp0};
29
+ left: ${d.sp0};
30
30
  width: calc(${e=>h*e.numberOfTicksSelected}px);
31
31
  position: absolute;
32
32
  height: ${p}px;
@@ -34,19 +34,19 @@ import{V as t,b3 as _,aD as S,dk as B,br as H,o as a,ai as L}from"./index-CNJQ6T
34
34
  .slider-icon {
35
35
  fill: ${e=>e.theme.colors.grey1};
36
36
  }
37
- border-radius: ${a.sp2};
38
- border-left: ${a.sp0};
39
- border-right: ${a.sp0};
37
+ border-radius: ${d.sp2};
38
+ border-left: ${d.sp0};
39
+ border-right: ${d.sp0};
40
40
  &:hover {
41
41
  border: 1px solid ${e=>e.theme.colors.primary};
42
- border-radius: ${a.sp2};
43
- border-left: ${a.sp0};
44
- border-right: ${a.sp0};
42
+ border-radius: ${d.sp2};
43
+ border-left: ${d.sp0};
44
+ border-right: ${d.sp0};
45
45
  .slider-icon {
46
46
  fill: ${e=>e.theme.colors.primary};
47
47
  }
48
48
  }
49
- line-height: ${a.sp0};
49
+ line-height: ${d.sp0};
50
50
  pointer-events: none;
51
51
  box-sizing: border-box;
52
52
  `,Q=g.div`
@@ -61,4 +61,4 @@ import{V as t,b3 as _,aD as S,dk as B,br as H,o as a,ai as L}from"./index-CNJQ6T
61
61
  cursor: pointer;
62
62
  pointer-events: all;
63
63
  color: ${e=>e.theme.colors.grey5};
64
- `;function j({iconPosition:e}){switch(e){case"left":return t.jsx(W,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(X,{className:"slider-icon",fill:"currentColor"});default:throw Error("Invalid iconPosition")}}function te(e){return q.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:s,timeframe:i,tick:r,tickIndex:u,isSelected:d,onClick:f}){return t.jsx(A,{isEnabled:e,isSelected:d,onClick:()=>{f(r,u,i)},children:t.jsx(J,{children:U(s,r,i)})})}function ne(e,s,i,r,u){const d=s-e,f=Math.floor(e/h)+Math.round(d/h),w=f+i.length-r.length,x=f+i.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:i.length},fromEnd:{offsetFromEnd:b,length:i.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let i={startIndex:0,length:0};if(oe(e))i=e;else{const r=e.length;i={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return i}function ie({width:e,firstMonthOfFY:s,timeframe:i,timeframeTicks:r,isEnabled:u,selection:d,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[l,T]=n.useState(I(d.selectedTicks,r)),$=n.useRef(l.startIndex);n.useEffect(()=>{$.current=l.startIndex});const[y,C]=n.useState(d.highlightedOfSelectedTicks),O=(l.startIndex+l.length>r.length?Math.max(r.length-l.length,0):l.startIndex)*h,[k,F]=n.useState({x:O,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(d.selectedTicks,r);if(!S(l,o)){T(o);const c=o.startIndex*h;F({x:c,y:0})}S(y,d.highlightedOfSelectedTicks)||C(d.highlightedOfSelectedTicks)},[l,y,d,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:c}=l;x.current?.scrollToItem($.current<=o?o+c-1:o)},[x,l]);const N=u!==!1,P=(o,c,m)=>{f?.(m,o)},D=(o,c)=>{const m=ne(k.x,c.x,l,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,i,r)},V=({index:o,style:c})=>{const m=r[o],{startIndex:v,length:R}=y,Y=o>=v&&o<v+R;return t.jsx("div",{style:{...c},children:t.jsx(re,{enabled:N,firstMonthOfFY:s,timeframe:i,tick:m,tickIndex:o,isSelected:Y,onClick:P},o)})},E=document.getElementsByClassName("date-range-list")[0];return t.jsxs(t.Fragment,{children:[t.jsx(G,{ref:x,height:p,width:e,itemCount:r.length,itemSize:h,layout:"horizontal",className:"date-range-list",style:{overflowY:"hidden"},children:V}),z===!0&&E!=null?t.jsx(te,{parentNode:E,children:t.jsx(B,{axis:"x",defaultPosition:{x:0,y:0},position:k,bounds:{left:0,right:(r.length-l.length)*h},grid:[1,0],scale:1,onStop:D,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:l.length,ref:b,children:[t.jsx(Q,{children:t.jsx(j,{iconPosition:"left"})}),t.jsx(ee,{children:t.jsx(j,{iconPosition:"right"})})]})})}):null]})}function he(e){return t.jsx(Z,{children:t.jsx(_,{children:({width:s})=>t.jsx(ie,{...e,width:s})})})}export{p as a,he as p};
64
+ `;function j({iconPosition:e}){switch(e){case"left":return t.jsx(W,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(X,{className:"slider-icon",fill:"currentColor"});default:throw Error("Invalid iconPosition")}}function te(e){return q.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:s,timeframe:i,tick:r,tickIndex:u,isSelected:a,onClick:f}){return t.jsx(A,{isEnabled:e,isSelected:a,onClick:()=>{f(r,u,i)},children:t.jsx(J,{children:U(s,r,i)})})}function ne(e,s,i,r,u){const a=s-e,f=Math.floor(e/h)+Math.round(a/h),w=f+i.length-r.length,x=f+i.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:i.length},fromEnd:{offsetFromEnd:b,length:i.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let i={startIndex:0,length:0};if(oe(e))i=e;else{const r=e.length;i={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return i}function ie({width:e,firstMonthOfFY:s,timeframe:i,timeframeTicks:r,isEnabled:u,selection:a,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[l,T]=n.useState(I(a.selectedTicks,r)),$=n.useRef(l.startIndex);n.useEffect(()=>{$.current=l.startIndex});const[y,C]=n.useState(a.highlightedOfSelectedTicks),O=(l.startIndex+l.length>r.length?Math.max(r.length-l.length,0):l.startIndex)*h,[E,F]=n.useState({x:O,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(a.selectedTicks,r);if(!S(l,o)){T(o);const c=o.startIndex*h;F({x:c,y:0})}S(y,a.highlightedOfSelectedTicks)||C(a.highlightedOfSelectedTicks)},[l,y,a,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:c}=l;x.current?.scrollToItem($.current<=o?o+c-1:o)},[x,l]);const N=u!==!1,P=(o,c,m)=>{f?.(m,o)},V=(o,c)=>{const m=ne(E.x,c.x,l,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,i,r)},D=({index:o,style:c})=>{const m=r[o],{startIndex:v,length:R}=y,Y=o>=v&&o<v+R;return t.jsx("div",{style:{...c},children:t.jsx(re,{enabled:N,firstMonthOfFY:s,timeframe:i,tick:m,tickIndex:o,isSelected:Y,onClick:P},o)})},k=document.getElementsByClassName("date-range-list")[0];return t.jsxs(t.Fragment,{children:[t.jsx(G,{ref:x,height:p,width:e,itemCount:r.length,itemSize:h,layout:"horizontal",className:"date-range-list",style:{overflowY:"hidden"},children:D}),z===!0&&k!=null?t.jsx(te,{parentNode:k,children:t.jsx(B,{axis:"x",defaultPosition:{x:0,y:0},position:E,bounds:{left:0,right:(r.length-l.length)*h},grid:[1,0],scale:1,onStop:V,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:l.length,ref:b,children:[t.jsx(Q,{children:t.jsx(j,{iconPosition:"left"})}),t.jsx(ee,{children:t.jsx(j,{iconPosition:"right"})})]})})}):null]})}function he(e){return t.jsx(Z,{children:t.jsx(_,{children:({width:s})=>t.jsx(ie,{...e,width:s})})})}export{p as a,he as p};
@@ -1,4 +1,4 @@
1
- import{V as s,o,ai as f,F as p}from"./index-CNJQ6T57.js";import{n as i}from"./mui-DsjrNjDe.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f5cac1a1-d6a9-43f2-963d-351f1c5d99b2",e._sentryDebugIdIdentifier="sentry-dbid-f5cac1a1-d6a9-43f2-963d-351f1c5d99b2")}catch{}})();const u=i.div`
1
+ import{V as s,o,ai as f,F as p}from"./index-BJwUmr6X.js";import{n as d}from"./mui-BPiKl8lE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ae25b2a9-e3e2-42a4-ad73-49f9fc69c2d4",e._sentryDebugIdIdentifier="sentry-dbid-ae25b2a9-e3e2-42a4-ad73-49f9fc69c2d4")}catch{}})();const u=d.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -9,7 +9,7 @@ import{V as s,o,ai as f,F as p}from"./index-CNJQ6T57.js";import{n as i}from"./mu
9
9
  overflow-x: auto;
10
10
  overflow-y: hidden;
11
11
  white-space: nowrap;
12
- `,g=i.div`
12
+ `,g=d.div`
13
13
  color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
14
14
  &:hover {
15
15
  color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.champion};
@@ -18,14 +18,14 @@ import{V as s,o,ai as f,F as p}from"./index-CNJQ6T57.js";import{n as i}from"./mu
18
18
  border-radius: ${o.sp2};
19
19
  background-color: ${e=>e.isSelected?e.theme.colors.grey5:e.theme.colors.background};
20
20
  box-shadow: ${e=>e.isSelected?`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`:null};
21
- `,_=i(f)`
21
+ `,_=d(f)`
22
22
  padding: ${o.sp2} ${o.sp3} ${o.sp2} ${o.sp3};
23
- `,b=i.div`
23
+ `,b=d.div`
24
24
  width: 1px;
25
25
  height: ${o.sp3};
26
26
  background-color: ${e=>e.isSelected?e.theme.colors.background:e.theme.colors.grey2};
27
- `,w=i.div`
27
+ `,w=d.div`
28
28
  display: flex;
29
29
  flex-direction: row;
30
30
  align-items: center;
31
- `;function y({timeframe:e,isSelected:t,onClick:n}){const c=r=>{switch(r){case"month":case"quarter":case"year":case"this_week_to_date":case"last_week":case"this_month_to_date":case"last_month":case"last_3_months":case"last_6_months":case"last_12_months":case"this_year_to_date":case"last_year":return p.getLocalizedStrings().timeframeSwitcherLabels[r];default:return console.warn("Unsupported timeframe"),""}};return s.jsx(g,{onClick:()=>{t===!1&&n(e)},isSelected:t,children:s.jsx(_,{children:c(e)})})}function S({timeframes:e,selectedTimeframe:t,onTimeframeSelectionChanged:n}){const c=a=>{n?.(a)},r=e.findIndex(a=>a===t);return s.jsx(u,{children:e.map((a,d)=>{const h=e.length>1&&d<e.length-1,l=d===r,m=d===r-1;return s.jsxs(w,{children:[s.jsx(y,{timeframe:a,isSelected:l,onClick:c},d),h?s.jsx(b,{isSelected:l||m}):null]},d)})})}export{S as b};
31
+ `;function y({timeframe:e,isSelected:t,onClick:n}){const c=r=>{switch(r){case"month":case"quarter":case"year":case"this_week_to_date":case"last_week":case"this_month_to_date":case"last_month":case"last_3_months":case"last_6_months":case"last_12_months":case"this_year_to_date":case"last_year":return p.getLocalizedStrings().timeframeSwitcherLabels[r];default:return console.warn("Unsupported timeframe"),""}};return s.jsx(g,{onClick:()=>{t===!1&&n(e)},isSelected:t,children:s.jsx(_,{children:c(e)})})}function S({timeframes:e,selectedTimeframe:t,onTimeframeSelectionChanged:n}){const c=a=>{n?.(a)},r=e.findIndex(a=>a===t);return s.jsx(u,{children:e.map((a,i)=>{const h=e.length>1&&i<e.length-1,l=i===r,m=i===r-1;return s.jsxs(w,{children:[s.jsx(y,{timeframe:a,isSelected:l,onClick:c},i),h?s.jsx(b,{isSelected:l||m}):null]},i)})})}export{S as b};
@@ -1,4 +1,4 @@
1
- import{J as n,V as t,y as d,ai as u,bJ as w}from"./index-CNJQ6T57.js";import{n as r}from"./mui-DsjrNjDe.js";import{b as l}from"./TimeframeSwitcher-DtxsNy1Z-Dpwd2ynA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="493eb118-e542-4010-baa5-fedc34962a90",e._sentryDebugIdIdentifier="sentry-dbid-493eb118-e542-4010-baa5-fedc34962a90")}catch{}})();const s="ZeniSwitch",i={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),x=r(b)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>t.jsx(x,{...e}),c={timeframePaddingLeft:new d(0,0,125),timeframePaddingBottom:new d(8,8,0)},y=r.div`
1
+ import{J as n,V as t,y as d,ai as u,bK as w}from"./index-BJwUmr6X.js";import{n as r}from"./mui-BPiKl8lE.js";import{b as l}from"./TimeframeSwitcher-D8zfgEX_-Bal85V7i.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="c6629035-4ee7-47aa-aadc-2782ab936e57",e._sentryDebugIdIdentifier="sentry-dbid-c6629035-4ee7-47aa-aadc-2782ab936e57")}catch{}})();const s="ZeniSwitch",i={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),x=r(b)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>t.jsx(x,{...e}),c={timeframePaddingLeft:new d(0,0,125),timeframePaddingBottom:new d(8,8,0)},y=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -28,4 +28,4 @@ import{J as n,V as t,y as d,ai as u,bJ as w}from"./index-CNJQ6T57.js";import{n a
28
28
  `,C=r(u)`
29
29
  color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
30
30
  opacity: ${e=>e.isDisabled?.5:1};
31
- `,f=({label:e,isOn:o,isToggleDisabled:a,onValueChanged:h})=>t.jsxs(t.Fragment,{children:[t.jsx(C,{isOn:o,isDisabled:a===!0,children:e}),t.jsx(p,{checked:o,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:g=>{h(g.target.checked)}})]}),T=e=>{const o=n();return t.jsxs(y,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(k,{children:t.jsx(f,{...e.toggle})})]})},v=e=>{const o=n();return t.jsxs($,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(j,{children:t.jsx(f,{...e.toggle})})]})};function L(e){const o=n();return o==="small"||o==="medium-compact"?t.jsx(T,{...e}):t.jsx(v,{...e})}export{L as M};
31
+ `,h=({label:e,isOn:o,isToggleDisabled:a,onValueChanged:f})=>t.jsxs(t.Fragment,{children:[t.jsx(C,{isOn:o,isDisabled:a===!0,children:e}),t.jsx(p,{checked:o,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:g=>{f(g.target.checked)}})]}),T=e=>{const o=n();return t.jsxs(y,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(k,{children:t.jsx(h,{...e.toggle})})]})},v=e=>{const o=n();return t.jsxs($,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(j,{children:t.jsx(h,{...e.toggle})})]})};function L(e){const o=n();return o==="small"||o==="medium-compact"?t.jsx(T,{...e}):t.jsx(v,{...e})}export{L as M};
@@ -1,4 +1,4 @@
1
- import{aD as M,J as z,V as t,d as x,u as f,b as T,aY as R,aN as J,aL as H,o as p,ai as C,b9 as X,al as Y,F as S,aM as F,aS as E,b2 as G,b3 as q,aP as N,aT as Q,bR as U}from"./index-CNJQ6T57.js";import{P as w,a as W}from"./sentry-9b1mvxJ5.js";import{F7 as Z}from"./zeni-epic-state-DJX8u9R8.js";import{n as g}from"./mui-DsjrNjDe.js";import{I as ee,T as te}from"./ReloadCard-V_tv6YLR-pIKKLA9H.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-DdG5b35f.js";import{H as k,X as L,Y as P,K as $,O,Q as ne,S as oe}from"./recharts-CmZa-egc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="db0adc23-66e1-419d-9310-d4a57cb6d66a",e._sentryDebugIdIdentifier="sentry-dbid-db0adc23-66e1-419d-9310-d4a57cb6d66a")}catch{}})();const ie=g(E)`
1
+ import{aE as M,J as z,V as t,e as x,u as f,b as T,aZ as R,aO as H,aM as X,o as p,ai as C,ba as F,al as Q,F as S,aN as q,aT as E,b3 as G,b4 as N,aQ as U,aU as Y,bS as J}from"./index-BJwUmr6X.js";import{P as w,a as Z}from"./sentry-Dozbf0xW.js";import{F7 as W}from"./zeni-epic-state-DD2IEaUq.js";import{n as g}from"./mui-BPiKl8lE.js";import{I as ee,T as te}from"./ReloadCard-CuRTghCv-1vd5kIoI.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-CoNwe8F7.js";import{H as k,X as K,Y as L,K as $,O,Q as ne,S as oe}from"./recharts-CTVVh_-r.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d487ede4-5ca4-41f9-83e7-193e2a38266a",e._sentryDebugIdIdentifier="sentry-dbid-d487ede4-5ca4-41f9-83e7-193e2a38266a")}catch{}})();const ie=g(E)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -6,14 +6,14 @@ import{aD as M,J as z,V as t,d as x,u as f,b as T,aY as R,aN as J,aL as H,o as p
6
6
  `,se=g.div``,le=g(C)`
7
7
  color: ${e=>e.theme.colors.hero};
8
8
  margin: ${p.sp2} ${p.sp0} ${p.sp2} ${p.sp0};
9
- `,ce=({width:e,height:n,label:r})=>{const l=x();return t.jsxs(ie,{height:n,width:e,children:[t.jsx(se,{}),l.mode==="light"?t.jsx(ae,{style:{marginBottom:p.sp4}}):t.jsx(re,{style:{marginBottom:p.sp4}}),t.jsx(le,{children:r})]})},de=g.div``;function he({allowedValues:e,timeframeSelected:n,onTimeframeChanged:r,textStyle:l}){const i=o=>S.getLocalizedStrings().timeframe[o];return t.jsx(de,{onClick:o=>o.stopPropagation(),children:t.jsx(U,{pickerValues:e,valueToLabel:i,selectedValue:n,onPickerSelectionChanged:r,optionTextStyle:l})})}const me=g(Q)`
9
+ `,ce=({width:e,height:n,label:r})=>{const l=x();return t.jsxs(ie,{height:n,width:e,children:[t.jsx(se,{}),l.mode==="light"?t.jsx(ae,{style:{marginBottom:p.sp4}}):t.jsx(re,{style:{marginBottom:p.sp4}}),t.jsx(le,{children:r})]})},de=g.div``;function he({allowedValues:e,timeframeSelected:n,onTimeframeChanged:r,textStyle:l}){const i=o=>S.getLocalizedStrings().timeframe[o];return t.jsx(de,{onClick:o=>o.stopPropagation(),children:t.jsx(J,{pickerValues:e,valueToLabel:i,selectedValue:n,onPickerSelectionChanged:r,optionTextStyle:l})})}const me=g(Y)`
10
10
  color: ${e=>e.theme.colors.champion};
11
11
  `,D=g.div`
12
12
  display: flex;
13
13
  flex: 0 1 auto;
14
14
  flex-direction: row;
15
15
  align-items: center;
16
- `;function ue({dimension:e,reportTitle:n,cardType:r,cardIndex:l,onCardClick:i,timeframe:o,allowedValues:d,chartElement:s,onTimeframeChange:h}){const c=d.length>0?" - ":"";return t.jsx(F,{"data-testid":N("dashboard",`${r}-timeframe-${o}`),style:{cursor:"pointer"},dimension:e,onClick:()=>i(l,r),children:t.jsxs(E,{children:[t.jsxs(D,{style:{marginBottom:f[3]},children:[t.jsx(me,{children:n!=null?n+c:G(r)+c})," ",d.length>0?t.jsx(he,{timeframeSelected:o,onTimeframeChanged:a=>h?.(a??"month"),allowedValues:d}):null]}),t.jsx(D,{style:{width:"100%",height:"100%",cursor:"pointer"},children:t.jsx("div",{style:{width:"100%",height:"100%"},children:t.jsx(q,{children:({height:a,width:m})=>s(m,a)})})})]})})}function A({card:e,reportTitle:n,actions:r,timeframe:l,allowedValues:i,chartElement:o,onTimeframeChange:d}){return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?t.jsx(ee,{dimension:e.dimension,animated:!e.disableAnimations}):e.fetchState==="Error"?t.jsx(te,{dimension:e.dimension,cardType:e.cardType,cardIndex:e.cardIndex,onReloadData:r.onReloadData,reportTitle:n}):t.jsx(ue,{dimension:e.dimension,reportTitle:n,cardType:e.cardType,cardIndex:e.cardIndex,onCardClick:r.onCardClick,timeframe:l,allowedValues:i??["month","quarter","year"],chartElement:o,onTimeframeChange:s=>{r.onTimeframeChange?.(e.cardType,s),d?.(e.cardType,s)}})}w.memo(A);const B=(e,n,r)=>{const l=n.map(a=>({label:a.timePeriod,startDate:a.startDate,endDate:a.endDate})),i=r.total,o=r.accountsOrdered.map(a=>({accountId:a.accountId,accountDescription:a.accountDescription,balance:a.balance,logo:a.logo}))??[],d=Math.min(e,o.length),s=o.length?e-o.length:0,h=i?.amount;if(o.length>0&&s>0&&h!=null&&h!==0){const a=o[d-1].balance,m=a?.available?.amount!=null?Math.min(30,a?.available?.amount/h*100):30;for(let u=0;u<s;u+=1){const y=m*(s-u)/(s+1);o.push({accountId:u.toString(),accountDescription:"",balance:{available:{amount:h*y/100,currencySymbol:a.available.currencySymbol,currencyCode:a.available.currencyCode}}})}}const c=o.map(a=>{const m="top_expenses",u={accountId:a.accountId,accountDescription:a.accountDescription,total:i??void 0,logo:a.logo??"",barKey:m};return u[m]=a.balance.available,u});return{timeframeLabelsInOrder:l,chartItems:c}},b=37,j=2,ge=g.div`
16
+ `;function ue({dimension:e,reportTitle:n,cardType:r,cardIndex:l,onCardClick:i,timeframe:o,allowedValues:d,chartElement:s,onTimeframeChange:h}){const c=d.length>0?" - ":"";return t.jsx(q,{"data-testid":U("dashboard",`${r}-timeframe-${o}`),style:{cursor:"pointer"},dimension:e,onClick:()=>i(l,r),children:t.jsxs(E,{children:[t.jsxs(D,{style:{marginBottom:f[3]},children:[t.jsx(me,{children:n!=null?n+c:G(r)+c})," ",d.length>0?t.jsx(he,{timeframeSelected:o,onTimeframeChanged:a=>h?.(a??"month"),allowedValues:d}):null]}),t.jsx(D,{style:{width:"100%",height:"100%",cursor:"pointer"},children:t.jsx("div",{style:{width:"100%",height:"100%"},children:t.jsx(N,{children:({height:a,width:m})=>s(m,a)})})})]})})}function P({card:e,reportTitle:n,actions:r,timeframe:l,allowedValues:i,chartElement:o,onTimeframeChange:d}){return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?t.jsx(ee,{dimension:e.dimension,animated:!e.disableAnimations}):e.fetchState==="Error"?t.jsx(te,{dimension:e.dimension,cardType:e.cardType,cardIndex:e.cardIndex,onReloadData:r.onReloadData,reportTitle:n}):t.jsx(ue,{dimension:e.dimension,reportTitle:n,cardType:e.cardType,cardIndex:e.cardIndex,onCardClick:r.onCardClick,timeframe:l,allowedValues:i??["month","quarter","year"],chartElement:o,onTimeframeChange:s=>{r.onTimeframeChange?.(e.cardType,s),d?.(e.cardType,s)}})}w.memo(P);const A=(e,n,r)=>{const l=n.map(a=>({label:a.timePeriod,startDate:a.startDate,endDate:a.endDate})),i=r.total,o=r.accountsOrdered.map(a=>({accountId:a.accountId,accountDescription:a.accountDescription,balance:a.balance,logo:a.logo}))??[],d=Math.min(e,o.length),s=o.length?e-o.length:0,h=i?.amount;if(o.length>0&&s>0&&h!=null&&h!==0){const a=o[d-1].balance,m=a?.available?.amount!=null?Math.min(30,a?.available?.amount/h*100):30;for(let u=0;u<s;u+=1){const y=m*(s-u)/(s+1);o.push({accountId:u.toString(),accountDescription:"",balance:{available:{amount:h*y/100,currencySymbol:a.available.currencySymbol,currencyCode:a.available.currencyCode}}})}}const c=o.map(a=>{const m="top_expenses",u={accountId:a.accountId,accountDescription:a.accountDescription,total:i??void 0,logo:a.logo??"",barKey:m};return u[m]=a.balance.available,u});return{timeframeLabelsInOrder:l,chartItems:c}},b=37,j=2,ge=g.div`
17
17
  display: flex;
18
18
  flex-direction: row;
19
19
  flex: 1 1 auto;
@@ -29,10 +29,10 @@ import{aD as M,J as z,V as t,d as x,u as f,b as T,aY as R,aN as J,aL as H,o as p
29
29
  height: ${p.sp4};
30
30
  `,xe=g(C)`
31
31
  margin-left: ${p.sp2};
32
- `,ye=g(X)`
32
+ `,ye=g(F)`
33
33
  flex: 1 1 0;
34
34
  color: ${e=>e.theme.colors.primary};
35
- `,be=g(Y)`
35
+ `,be=g(Q)`
36
36
  flex: 1 1 0;
37
37
  margin-right: ${p.sp2};
38
- `;function je({report:e,width:n,height:r,showBarHoverBackground:l}){const i=x(),o=B(e.topExpenses.accountsOrdered.length,e.allTimePeriods,e.topExpenses),d=(s,h)=>t.jsx($,{dataKey:c=>{const a=c[h]!=null?c[h]:void 0;return a!=null&&a.amount>0?a.amount:0},isAnimationActive:!0,animationDuration:800,background:{fill:i.colors.background},children:s.map(c=>t.jsx(O,{fill:i.colors.topExCustomColor},h))},Math.random());return o.chartItems.length===0?null:t.jsx(De,{chartItemArray:o.chartItems,showBarHoverBackground:l,barElement:d(o.chartItems,o.chartItems[0].barKey),width:n,height:r})}const we=e=>{const{barKey:n,payload:r,chartItems:l,width:i,y:o}=e,d=r.value,s=l.find(h=>h.accountId==d);return s==null||s.accountDescription==null?null:t.jsx("foreignObject",{y:o-r.offset+j,width:i,height:b,children:t.jsxs(ge,{children:[t.jsxs(pe,{children:[t.jsx(fe,{src:s.logo,alt:s.accountDescription,loading:"lazy"}),t.jsx(xe,{children:s.accountDescription})]}),t.jsx(ye,{children:"⟶"}),t.jsx(be,{children:J("0,0",s[n])})]})})},De=({chartItemArray:e,barElement:n,width:r,height:l})=>{const i=e[0],o=i.total,d=i.barKey;return t.jsxs(k,{data:e,layout:"vertical",width:r,barCategoryGap:j,height:e.length?(b+2*j)*e.length:l,barSize:b,margin:{top:0,right:0,left:0,bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:"default"},children:[t.jsx(L,{hide:!0,axisLine:!1,type:"number",domain:[s=>Math.min(0,s),o?.amount??0]}),t.jsx(P,{orientation:"left",yAxisId:0,dataKey:s=>s.accountId,type:"category",axisLine:!1,tickLine:!1,width:r/2,mirror:!1,tick:t.jsx(we,{width:r/2,chartItems:e,barKey:d})}),n]})},I=41,v=4;function Ie({report:e,width:n,height:r,showBarHoverBackground:l,isDetailPage:i}){const o=x(),d=B(i===!0?e.topExpenses.accountsOrdered.length:6,e.allTimePeriods,e.topExpenses),s=(h,c,a)=>t.jsxs($,{dataKey:m=>{const u=m[c]!=null?m[c]:void 0;return u!=null&&u.amount>0?u.amount:0},isAnimationActive:!0,animationDuration:i===!0?800:void 0,background:void 0,children:[t.jsx(ne,{dataKey:"accountDescription",position:"insideLeft",offset:8,content:m=>{const{x:u,y,value:K,height:_,offset:V}=m;return t.jsx(oe,{x:u+V,y:y+_/2,fill:o.colors.hero,fontSize:T.smallRegular.fontSize,verticalAnchor:"middle",width:a-110,maxLines:1,children:K})}}),h.map(m=>t.jsx(O,{fill:m.accountDescription!==""?o.colors.graphColor29:o.colors.grey3,fillOpacity:m.accountDescription!==""?.32:1},c))]},Math.random());return d.chartItems.length===0?null:t.jsx(ve,{chartItemArray:d.chartItems,showBarHoverBackground:l,barElement:s(d.chartItems,d.chartItems[0].barKey,n),width:n,height:r,isDetailPage:i===!0})}const ve=({chartItemArray:e,barElement:n,width:r,height:l,isDetailPage:i})=>{const o=x(),d=e[0],s=d.total,h=d.barKey,c=s?.currencySymbol??"";return t.jsxs(k,{data:e,layout:"vertical",width:r,barCategoryGap:i?v:2,height:i?e.length?(I+2*v)*e.length:l:l+5,barSize:i?I:38,margin:{top:0,right:i?f[0]:f[3],left:i?f[0]:f[3],bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:i?"default":"pointer"},children:[t.jsx(L,{hide:!0,axisLine:!1,type:"number",domain:[a=>Math.min(0,a),s?.amount??0]}),t.jsx(P,{orientation:"right",yAxisId:0,dataKey:a=>{const m=a[h]!=null?a[h]:void 0,{accountDescription:u}=a;return u!==""&&m!=null?m.amount:0},type:"category",axisLine:!1,tickLine:!1,width:r,mirror:!0,tick:{fill:o.colors.hero,...T.smallRegular.cssObject},tickFormatter:a=>a!==0?R("0,0.[00]a",a,c):""}),n]})};function Te(e){const n=z();return n!=="small"&&n!=="medium-compact"&&e.isDetailPage===!0?t.jsx(je,{...e}):t.jsx(Ie,{...e})}const Ce=w.memo(Te,M);function Se(e){if(e==null||e.length===0)return!0;let n=!0;for(const r of e)if(r.balance.available.amount!==0){n=!1;break}return n}function Ee({card:e,actions:n,data:r,dndProps:l}){const[i,o]=W.useState(r?.topExTimePeriod??"last_month"),d=[...Z],s=e.fetchState==="Completed"?Se(r?.topExpenses.accountsOrdered):!1,h=(c,a)=>s===!1?t.jsx(Ce,{report:r,width:c,height:a,timeframe:i}):t.jsx(ce,{width:c,height:a,label:S.getLocalizedStrings().chartCard.no_data.top_expenses[i]});return t.jsx(H,{isDragging:l?.draggedCardType!=null,isDragOver:l?.dragOverCard===e.cardType,draggable:!0,onDragStart:c=>l?.onDragStart(e.cardType,c),onDragOver:c=>l?.onDragOver(c,e.cardType),onDragLeave:c=>l?.onDragLeave(c),onDrop:c=>l?.onDrop(c,e.cardType),dimension:e.dimension,children:t.jsx(A,{card:e,actions:n,timeframe:i,chartElement:h,allowedValues:d,onTimeframeChange:(c,a)=>o(a)})},e.cardIndex)}w.memo(Ee);export{Se as E,Ce as I,Ee as L,A as O,ce as c};
38
+ `;function je({report:e,width:n,height:r,showBarHoverBackground:l}){const i=x(),o=A(e.topExpenses.accountsOrdered.length,e.allTimePeriods,e.topExpenses),d=(s,h)=>t.jsx($,{dataKey:c=>{const a=c[h]!=null?c[h]:void 0;return a!=null&&a.amount>0?a.amount:0},isAnimationActive:!0,animationDuration:800,background:{fill:i.colors.background},children:s.map(c=>t.jsx(O,{fill:i.colors.topExCustomColor},h))},Math.random());return o.chartItems.length===0?null:t.jsx(De,{chartItemArray:o.chartItems,showBarHoverBackground:l,barElement:d(o.chartItems,o.chartItems[0].barKey),width:n,height:r})}const we=e=>{const{barKey:n,payload:r,chartItems:l,width:i,y:o}=e,d=r.value,s=l.find(h=>h.accountId==d);return s==null||s.accountDescription==null?null:t.jsx("foreignObject",{y:o-r.offset+j,width:i,height:b,children:t.jsxs(ge,{children:[t.jsxs(pe,{children:[t.jsx(fe,{src:s.logo,alt:s.accountDescription,loading:"lazy"}),t.jsx(xe,{children:s.accountDescription})]}),t.jsx(ye,{children:"⟶"}),t.jsx(be,{children:H("0,0",s[n])})]})})},De=({chartItemArray:e,barElement:n,width:r,height:l})=>{const i=e[0],o=i.total,d=i.barKey;return t.jsxs(k,{data:e,layout:"vertical",width:r,barCategoryGap:j,height:e.length?(b+2*j)*e.length:l,barSize:b,margin:{top:0,right:0,left:0,bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:"default"},children:[t.jsx(K,{hide:!0,axisLine:!1,type:"number",domain:[s=>Math.min(0,s),o?.amount??0]}),t.jsx(L,{orientation:"left",yAxisId:0,dataKey:s=>s.accountId,type:"category",axisLine:!1,tickLine:!1,width:r/2,mirror:!1,tick:t.jsx(we,{width:r/2,chartItems:e,barKey:d})}),n]})},I=41,v=4;function Ie({report:e,width:n,height:r,showBarHoverBackground:l,isDetailPage:i}){const o=x(),d=A(i===!0?e.topExpenses.accountsOrdered.length:6,e.allTimePeriods,e.topExpenses),s=(h,c,a)=>t.jsxs($,{dataKey:m=>{const u=m[c]!=null?m[c]:void 0;return u!=null&&u.amount>0?u.amount:0},isAnimationActive:!0,animationDuration:i===!0?800:void 0,background:void 0,children:[t.jsx(ne,{dataKey:"accountDescription",position:"insideLeft",offset:8,content:m=>{const{x:u,y,value:B,height:_,offset:V}=m;return t.jsx(oe,{x:u+V,y:y+_/2,fill:o.colors.hero,fontSize:T.smallRegular.fontSize,verticalAnchor:"middle",width:a-110,maxLines:1,children:B})}}),h.map(m=>t.jsx(O,{fill:m.accountDescription!==""?o.colors.graphColor29:o.colors.grey3,fillOpacity:m.accountDescription!==""?.32:1},c))]},Math.random());return d.chartItems.length===0?null:t.jsx(ve,{chartItemArray:d.chartItems,showBarHoverBackground:l,barElement:s(d.chartItems,d.chartItems[0].barKey,n),width:n,height:r,isDetailPage:i===!0})}const ve=({chartItemArray:e,barElement:n,width:r,height:l,isDetailPage:i})=>{const o=x(),d=e[0],s=d.total,h=d.barKey,c=s?.currencySymbol??"";return t.jsxs(k,{data:e,layout:"vertical",width:r,barCategoryGap:i?v:2,height:i?e.length?(I+2*v)*e.length:l:l+5,barSize:i?I:38,margin:{top:0,right:i?f[0]:f[3],left:i?f[0]:f[3],bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:i?"default":"pointer"},children:[t.jsx(K,{hide:!0,axisLine:!1,type:"number",domain:[a=>Math.min(0,a),s?.amount??0]}),t.jsx(L,{orientation:"right",yAxisId:0,dataKey:a=>{const m=a[h]!=null?a[h]:void 0,{accountDescription:u}=a;return u!==""&&m!=null?m.amount:0},type:"category",axisLine:!1,tickLine:!1,width:r,mirror:!0,tick:{fill:o.colors.hero,...T.smallRegular.cssObject},tickFormatter:a=>a!==0?R("0,0.[00]a",a,c):""}),n]})};function Te(e){const n=z();return n!=="small"&&n!=="medium-compact"&&e.isDetailPage===!0?t.jsx(je,{...e}):t.jsx(Ie,{...e})}const Ce=w.memo(Te,M);function Se(e){if(e==null||e.length===0)return!0;let n=!0;for(const r of e)if(r.balance.available.amount!==0){n=!1;break}return n}function Ee({card:e,actions:n,data:r,dndProps:l}){const[i,o]=Z.useState(r?.topExTimePeriod??"last_month"),d=[...W],s=e.fetchState==="Completed"?Se(r?.topExpenses.accountsOrdered):!1,h=(c,a)=>s===!1?t.jsx(Ce,{report:r,width:c,height:a,timeframe:i}):t.jsx(ce,{width:c,height:a,label:S.getLocalizedStrings().chartCard.no_data.top_expenses[i]});return t.jsx(X,{isDragging:l?.draggedCardType!=null,isDragOver:l?.dragOverCard===e.cardType,draggable:!0,onDragStart:c=>l?.onDragStart(e.cardType,c),onDragOver:c=>l?.onDragOver(c,e.cardType),onDragLeave:c=>l?.onDragLeave(c),onDrop:c=>l?.onDrop(c,e.cardType),dimension:e.dimension,children:t.jsx(P,{card:e,actions:n,timeframe:i,chartElement:h,allowedValues:d,onTimeframeChange:(c,a)=>o(a)})},e.cardIndex)}w.memo(Ee);export{P as A,Se as E,Ce as I,Ee as L,ce as c};
@@ -1,11 +1,11 @@
1
- import{d as j,J as S,V as t,bC as A,F as x,aN as v,b3 as B,C as P,o as i,y as E,bQ as H,bs as V,u as c,p as z,al as $,aP as F,a$ as D}from"./index-CNJQ6T57.js";import{n}from"./mui-DsjrNjDe.js";import{F7 as T}from"./zeni-epic-state-DJX8u9R8.js";import{E as _,I}from"./TopExCard-CBua66Cj-CBuXuQOS.js";import{b as M}from"./TimeframeSwitcher-DtxsNy1Z-Dpwd2ynA.js";import{d as L}from"./NoDataTable-CMpypnTw-C6S_V6d0.js";import{P as Z,a as o}from"./sentry-9b1mvxJ5.js";import"./liveblocks-CUDrE-0X.js";import"./core-Be77t6wT.js";import"./recharts-CmZa-egc.js";import"./lottie-C5G-hUN3.js";import"./analytics-DH2FWXQR.js";import"./lexical-4qH-Yr6_.js";import"./utils-VcZ1Xqjg.js";import"./ReloadCard-V_tv6YLR-pIKKLA9H.js";import"./graphic-no-data-l-DU4J8fDt-DdG5b35f.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="be8670f1-f389-42d4-93d4-3f12cbe18db6",e._sentryDebugIdIdentifier="sentry-dbid-be8670f1-f389-42d4-93d4-3f12cbe18db6")}catch{}})();const b="141px",N=i.sp4,O="123px",J=n(D)`
1
+ import{e as j,J as S,V as t,bD as A,F as f,aO as v,b4 as B,x as P,o as i,y as b,bR as H,bt as D,u as c,p as V,al as $,aQ as F,b0 as z}from"./index-BJwUmr6X.js";import{n}from"./mui-BPiKl8lE.js";import{F7 as T}from"./zeni-epic-state-DD2IEaUq.js";import{E as _,I}from"./TopExCard-BpicN73M-DINSiiqz.js";import{b as M}from"./TimeframeSwitcher-D8zfgEX_-Bal85V7i.js";import{d as Z}from"./NoDataTable-0l_09Wxn-YZLcmEEn.js";import{P as L,a as o}from"./sentry-Dozbf0xW.js";import"./liveblocks-gc1Zpgue.js";import"./core-BCC1NfcO.js";import"./recharts-CTVVh_-r.js";import"./lottie-PDiRMFOU.js";import"./analytics-BVR-nkdQ.js";import"./lexical-D1A0yBcv.js";import"./utils-CJtHQQTa.js";import"./ReloadCard-CuRTghCv-1vd5kIoI.js";import"./graphic-no-data-l-DU4J8fDt-CoNwe8F7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="ebcbe71d-e900-4dd9-91c9-4585e0ab927b",e._sentryDebugIdIdentifier="sentry-dbid-ebcbe71d-e900-4dd9-91c9-4585e0ab927b")}catch{}})();const E="141px",O=i.sp4,N="123px",R=n(z)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
5
5
  &:hover {
6
6
  color: inherit;
7
7
  }
8
- `,R=n.div`
8
+ `,J=n.div`
9
9
  user-select: none;
10
10
  display: flex;
11
11
  width: 100%;
@@ -18,19 +18,19 @@ import{d as j,J as S,V as t,bC as A,F as x,aN as v,b3 as B,C as P,o as i,y as E,
18
18
  &:hover {
19
19
  color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
20
20
  }
21
- `,X=n.div`
21
+ `,Q=n.div`
22
22
  display: flex;
23
23
  flex-grow: 1;
24
24
  flex-shrink: 0;
25
25
  flex-direction: row;
26
26
  justify-content: flex-end;
27
- `,Q=n($)`
27
+ `,W=n($)`
28
28
  user-select: none;
29
- width: ${b};
30
- min-width: ${b};
29
+ width: ${E};
30
+ min-width: ${E};
31
31
  text-align: right;
32
- margin-left: ${N};
33
- `,W=n.div`
32
+ margin-left: ${O};
33
+ `,X=n.div`
34
34
  display: flex;
35
35
  flex-direction: row;
36
36
  flex-shrink: 2;
@@ -39,10 +39,10 @@ import{d as j,J as S,V as t,bC as A,F as x,aN as v,b3 as B,C as P,o as i,y as E,
39
39
  `,q=n($)`
40
40
  user-select: none;
41
41
  display: flex;
42
- min-width: ${O};
42
+ min-width: ${N};
43
43
  text-align: left;
44
44
  margin-left: ${i.sp4};
45
- `;function G({leftChevron:e,account:l,onAccountBalanceClick:a}){const s=l!=null&&l.balance!=null,r=e==="hidden",g=s?"pointer":"default",d=r===!1&&s,w=d?"pointer":"default",h=r?c[6]:c[4],m=J,{common:{strings:{empty:y}}}=x.getLocalizedStrings(),C=l?.accountDescription?l.accountDescription:y,f=l?.accountName?l.accountName:C;return t.jsxs(R,{isClickable:d,children:[t.jsxs(W,{style:{cursor:w},isClickable:d,children:[r===!1?t.jsx(m,{style:{minWidth:c[3],minHeight:c[3]}}):null,t.jsx(q,{"data-testid":F("top-ex-account-name",f),style:{marginLeft:h},title:f,onClick:()=>{d&&l!=null&&l.balance!=null&&a?.(l)},children:f})]}),t.jsx(X,{style:{cursor:g},children:t.jsx(Q,{isClickable:s,onClick:()=>{l?.balance!=null&&a?.(l)},children:v("0,0",l?.balance.available)})})]})}const K=n.div`
45
+ `;function G({leftChevron:e,account:l,onAccountBalanceClick:a}){const s=l!=null&&l.balance!=null,r=e==="hidden",g=s?"pointer":"default",d=r===!1&&s,w=d?"pointer":"default",h=r?c[6]:c[4],m=R,{common:{strings:{empty:y}}}=f.getLocalizedStrings(),C=l?.accountDescription?l.accountDescription:y,x=l?.accountName?l.accountName:C;return t.jsxs(J,{isClickable:d,children:[t.jsxs(X,{style:{cursor:w},isClickable:d,children:[r===!1?t.jsx(m,{style:{minWidth:c[3],minHeight:c[3]}}):null,t.jsx(q,{"data-testid":F("top-ex-account-name",x),style:{marginLeft:h},title:x,onClick:()=>{d&&l!=null&&l.balance!=null&&a?.(l)},children:x})]}),t.jsx(Q,{style:{cursor:g},children:t.jsx(W,{isClickable:s,onClick:()=>{l?.balance!=null&&a?.(l)},children:v("0,0",l?.balance.available)})})]})}const K=n.div`
46
46
  display: flex;
47
47
  width: 100%;
48
48
  flex-direction: column;
@@ -56,7 +56,7 @@ import{d as j,J as S,V as t,bC as A,F as x,aN as v,b3 as B,C as P,o as i,y as E,
56
56
  width: 100%;
57
57
  height: 1px;
58
58
  background-color: ${e=>e.theme.colors.grey3};
59
- `;function ee({accounts:e,onAccountBalanceClick:l}){const a=(s,r)=>s.length>1&&r<s.length-1;return t.jsx(K,{children:e?.map((s,r)=>t.jsxs(U,{children:[t.jsx(G,{leftChevron:"collapsed",account:s,onAccountBalanceClick:l}),a(e,r)===!0?t.jsx(Y,{}):null]},r))})}const te=Z.memo(ee),ie=n.div`
59
+ `;function ee({accounts:e,onAccountBalanceClick:l}){const a=(s,r)=>s.length>1&&r<s.length-1;return t.jsx(K,{children:e?.map((s,r)=>t.jsxs(U,{children:[t.jsx(G,{leftChevron:"collapsed",account:s,onAccountBalanceClick:l}),a(e,r)===!0?t.jsx(Y,{}):null]},r))})}const te=L.memo(ee),ie=n.div`
60
60
  margin: ${i.sp0} ${i.sp0} ${i.sp6} ${i.sp0};
61
61
  background-color: inherit;
62
62
  width: 100%;
@@ -82,9 +82,9 @@ import{d as j,J as S,V as t,bC as A,F as x,aN as v,b3 as B,C as P,o as i,y as E,
82
82
  flex-basis: 100%;
83
83
  flex-direction: column;
84
84
  `,ce=n($)`
85
- color: ${z.alert};
85
+ color: ${V.alert};
86
86
  margin: ${i.sp3} ${i.sp0} ${i.sp5} ${i.sp0};
87
- `;function de(){switch(j().mode){case"light":return t.jsx(oe,{width:"100%",preserveAspectRatio:"none"});case"dark":default:return t.jsx(le,{width:"100%",preserveAspectRatio:"none"})}}function pe({title:e}){return t.jsxs(re,{children:[e!=null?t.jsx(ce,{children:e}):null,t.jsx(ae,{children:t.jsx(se,{children:t.jsx(de,{})})})]})}const u={wrapperPadding:new E(c[3],c[3],c[8]),chartContainerMinHeight:new E(c[12],c[11])},he=n.div`
87
+ `;function de(){switch(j().mode){case"light":return t.jsx(oe,{width:"100%",preserveAspectRatio:"none"});case"dark":default:return t.jsx(le,{width:"100%",preserveAspectRatio:"none"})}}function pe({title:e}){return t.jsxs(re,{children:[e!=null?t.jsx(ce,{children:e}):null,t.jsx(ae,{children:t.jsx(se,{children:t.jsx(de,{})})})]})}const u={wrapperPadding:new b(c[3],c[3],c[8]),chartContainerMinHeight:new b(c[12],c[11])},he=n.div`
88
88
  display: flex;
89
89
  flex: 1 1 auto;
90
90
  min-height: 100%;
@@ -99,13 +99,13 @@ import{d as j,J as S,V as t,bC as A,F as x,aN as v,b3 as B,C as P,o as i,y as E,
99
99
  padding-bottom: ${i.sp0};
100
100
  padding-left: ${e=>u.wrapperPadding.valuePx(e.windowSize)};
101
101
  padding-right: ${e=>u.wrapperPadding.valuePx(e.windowSize)};
102
- `,fe=n.div`
102
+ `,xe=n.div`
103
103
  display: flex;
104
104
  flex-direction: row;
105
105
  flex: 1 1 auto;
106
106
  justify-content: center;
107
107
  max-width: 100%;
108
- `,xe=n.div`
108
+ `,fe=n.div`
109
109
  display: flex;
110
110
  padding: ${i.sp2} ${i.sp0} ${i.sp4} ${i.sp0};
111
111
  `,ue=n.div`
@@ -119,7 +119,7 @@ import{d as j,J as S,V as t,bC as A,F as x,aN as v,b3 as B,C as P,o as i,y as E,
119
119
  `,ge=n.div`
120
120
  height: ${i.sp9};
121
121
  color: ${e=>e.theme.colors.primary};
122
- `,we=n(H)``,ye=n(V)`
122
+ `,we=n(H)``,ye=n(D)`
123
123
  padding-left: ${i.sp3};
124
124
  `,Ce=n.div`
125
125
  display: flex;
@@ -129,4 +129,4 @@ import{d as j,J as S,V as t,bC as A,F as x,aN as v,b3 as B,C as P,o as i,y as E,
129
129
  margin-bottom: ${i.sp5};
130
130
  `,$e=n.div`
131
131
  display: flex;
132
- `;function Ie(e){const l=j(),{report:a,onTimeframeSelectionChanged:s,onAccountBalanceClick:r,onBackClick:g}=e,d=S(),w=[...T],h=_(a.topExpenses.accountsOrdered),{topExTimePeriod:m,topExpenses:y}=a,C=y.total,f=p=>{e.autoCompleteData.autoCompleteText!=null&&e.analytics?.trackSearch(P.Event.search,"Top Expenses",p.type,p.name,e.autoCompleteData.autoCompleteText),e.autoCompleteActions.onAutoCompleteEntity?.(p)};return t.jsxs(he,{children:[t.jsx(A,{source:"TopExDetailPage",title:x.getLocalizedStrings().reportTitleById.top_expenses,backgroundColor:l.colors.grey5,onBackClick:g,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:f}}}),t.jsxs(me,{windowSize:d,children:[t.jsx(xe,{children:t.jsx(fe,{children:t.jsx(M,{timeframes:w,selectedTimeframe:m,onTimeframeSelectionChanged:p=>{s?.(p)}})})}),h?null:t.jsxs(ge,{children:[t.jsx(we,{children:v("0,0",C)}),t.jsx(ye,{children:x.getLocalizedStrings().reports.detail.topEx.insightLabel})]}),h?t.jsx($e,{children:t.jsx(pe,{title:`${x.getLocalizedStrings().chartCard.no_data_available_for} ${x.getLocalizedStrings().timeframe[m]}`})}):t.jsx(Ce,{windowSize:d,children:t.jsx(B,{style:{height:"fit-content"},children:({height:p,width:k})=>t.jsx(I,{report:a,timeframe:m,showBarHoverBackground:!1,width:k,height:p,isDetailPage:!0})})})]}),t.jsx(ue,{windowSize:d,children:h?t.jsx(L,{}):t.jsx(ne,{report:a,onAccountBalanceClick:r})})]})}export{Ie as default};
132
+ `;function Ie(e){const l=j(),{report:a,onTimeframeSelectionChanged:s,onAccountBalanceClick:r,onBackClick:g}=e,d=S(),w=[...T],h=_(a.topExpenses.accountsOrdered),{topExTimePeriod:m,topExpenses:y}=a,C=y.total,x=p=>{e.autoCompleteData.autoCompleteText!=null&&e.analytics?.trackSearch(P.Event.search,"Top Expenses",p.type,p.name,e.autoCompleteData.autoCompleteText),e.autoCompleteActions.onAutoCompleteEntity?.(p)};return t.jsxs(he,{children:[t.jsx(A,{source:"TopExDetailPage",title:f.getLocalizedStrings().reportTitleById.top_expenses,backgroundColor:l.colors.grey5,onBackClick:g,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:x}}}),t.jsxs(me,{windowSize:d,children:[t.jsx(fe,{children:t.jsx(xe,{children:t.jsx(M,{timeframes:w,selectedTimeframe:m,onTimeframeSelectionChanged:p=>{s?.(p)}})})}),h?null:t.jsxs(ge,{children:[t.jsx(we,{children:v("0,0",C)}),t.jsx(ye,{children:f.getLocalizedStrings().reports.detail.topEx.insightLabel})]}),h?t.jsx($e,{children:t.jsx(pe,{title:`${f.getLocalizedStrings().chartCard.no_data_available_for} ${f.getLocalizedStrings().timeframe[m]}`})}):t.jsx(Ce,{windowSize:d,children:t.jsx(B,{style:{height:"fit-content"},children:({height:p,width:k})=>t.jsx(I,{report:a,timeframe:m,showBarHoverBackground:!1,width:k,height:p,isDetailPage:!0})})})]}),t.jsx(ue,{windowSize:d,children:h?t.jsx(Z,{}):t.jsx(ne,{report:a,onAccountBalanceClick:r})})]})}export{Ie as default};