@zeniai/web-cockpit-ui 1.15.11-dev → 1.15.12-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 (284) hide show
  1. package/dist/assets/{ACHDetailsPage-CR6ypd9o-CPuvu8Ya.js → ACHDetailsPage-BY65AQjO-Cl2Tlmft.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-C1OU9y7O-Cy2fQhSN.js → AIPerformancePage-B0a7EX_p-BepCOVvT.js} +17 -17
  3. package/dist/assets/AccountInfoPage-DUYpaV3v-CL9yEZEk.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-CrSVf_Od-DxUVjtpH.js → AccountInfoPageContent-BsSGhNw9-Bhg40nPQ.js} +13 -13
  5. package/dist/assets/{AccountLockedInfoModal-DNU_J1FV-BrQt7SPM.js → AccountLockedInfoModal-uPOYP0OH-gMh9hb_c.js} +3 -3
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DghCIWni-WUADgsvH.js → AccountReconDetailsDrawerPage-BgPmbG_g-9wGOY4BN.js} +6 -6
  7. package/dist/assets/{AccountRow-CYv0Uw-I-DQCZ-Htb.js → AccountRow-B9ZIzZy7-C9nPv4rY.js} +22 -22
  8. package/dist/assets/{AccountsPromoCardStack-BANu3wYt-CQ0iVQrx.js → AccountsPromoCardStack-BLcpWU3T-CV6K5Y9x.js} +8 -8
  9. package/dist/assets/AddAddressForCardDrawer-B1oucxyM-I6biD8O7.js +6 -0
  10. package/dist/assets/{AddToWalletPage-C8keLYK6-Bn2sefuz.js → AddToWalletPage-B1GVnxRf-CndQH9vq.js} +7 -7
  11. package/dist/assets/{AgingReportsPage-L84_Ka8x-B6lkNbiG.js → AgingReportsPage-Bpp4te8m-HodwoOcT.js} +3 -3
  12. package/dist/assets/{AllUserItems-Duwm6ypi-CNUX4dOE.js → AllUserItems-CzugF5fn-8WnbDsqH.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-MH7SN7mP-D7GEtWSd.js → ApAgingDetailPage-CyUQeZY0-DHH2Dilv.js} +4 -4
  14. package/dist/assets/{AppBasePage-DpK4Drat-Bt4q9XbU.js → AppBasePage-Di7hObbX-uZJvqLhK.js} +6 -6
  15. package/dist/assets/{AppDrawerContent-CR_WXwBz-CFNPiFQp.js → AppDrawerContent-KdrUuifo-DcEK8qwb.js} +5 -5
  16. package/dist/assets/{ApprovalRulesSettingsPage-DD2E4NU5-DpHAD8Ti.js → ApprovalRulesSettingsPage-BRIgTh7x-CF-Pagn9.js} +1 -1
  17. package/dist/assets/{ArAgingChart-q1DoAAzl-IMdyrhPv.js → ArAgingChart-DeE5uhiT-BcI5cuvH.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BKqFTdkz-kMEm6GPZ.js → ArAgingDetailPage-CFiIUBWl-BXhWrXr_.js} +2 -2
  19. package/dist/assets/{AttachmentView-CwbFyo5O-DSfNvuAU.js → AttachmentView-CfacSLcU-gwYezuYM.js} +7 -7
  20. package/dist/assets/{BankAccountSection-DNYhcdas-Ddz8QKzl.js → BankAccountSection-Bm8vdxFd-DKKdvH8R.js} +6 -6
  21. package/dist/assets/{BankAccountWarningSection-B6AIe7nT-BcHAPM_q.js → BankAccountWarningSection-M3w6kP33-ChP5wvhC.js} +13 -13
  22. package/dist/assets/{BankConnectionsSettingsPage-BQSAz9yS-R3TufSTo.js → BankConnectionsSettingsPage-Dfrp0CKz-Dc4Qac0T.js} +9 -9
  23. package/dist/assets/{BillDetailPage-CJMkS2TO-CUCvdJLF.js → BillDetailPage-BA1D1bO3-Ofkt6QPd.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CWCmHWbz-BO-G290w.js → BillPayApprovalRuleDetailPage-DR8YzZt1-CQcbdF34.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-0_wlhyx9-CKOGyW5d.js → BillPayApprovalRulesPage-CfZ4aSPM-C6nI7yKc.js} +11 -11
  26. package/dist/assets/{BillPayPromoPage-CKOYCq5V-C6OfnMF1.js → BillPayPromoPage-CP9Nvd2Q-CSZ8mSrV.js} +4 -4
  27. package/dist/assets/{BillPaySetUpPage-Dibv-FD4-kIfalP85.js → BillPaySetUpPage-BwEONKu_-DARv5ESb.js} +6 -6
  28. package/dist/assets/{BillingSettingsPage-CG9gklV0-CGGGPaut.js → BillingSettingsPage-DicGyWCt-DwbmjVcE.js} +6 -6
  29. package/dist/assets/{BillsBulkReviewDrawerPage-Cgof7dpG-BwYBq9-d.js → BillsBulkReviewDrawerPage-fS3-YEdi-DKZKHDla.js} +1 -1
  30. package/dist/assets/{BoxItem-DD7d5_ky-D2d9aLr-.js → BoxItem-Cr0Y9YBV-C2AawtqJ.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-KfKed7nf-Bzkiryv0.js → BusinessVerificationPage-CvL9cdJm-Drj-tMQU.js} +3 -3
  32. package/dist/assets/CardNumberSubText-CXBKzGK5-CCtn2y_n.js +21 -0
  33. package/dist/assets/{CashbackDetailPage-D1ejnH4R-BltiUdCI.js → CashbackDetailPage-DOdPOiws-CAJxdhJ3.js} +11 -11
  34. package/dist/assets/{ChargeCardDetailPage-Cvs-BEKp-Bqa3oM5k.js → ChargeCardDetailPage-DfhAyysD-Cgd92Yem.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-CW0WF8w6-DBIJI8Xw.js → ChargeCardListPage-Bnnu4TVk-DFZAYaNm.js} +20 -20
  36. package/dist/assets/{ChargeCardListTable-43l6tEOp-BbcKoGZ2.js → ChargeCardListTable-D7zGM8uo-70otSDDQ.js} +40 -40
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-fpQhp74g-BLq-AFt8.js → ChargeCardPaymentHistoryPage-U00GbINt-BIwIfF30.js} +13 -13
  38. package/dist/assets/ChargeCardPromoPage-BpBiwjfr-DWB9eQGN.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-CFR2KfLW-Bj3pYNfL.js → ChargeCardSetupPage-Duj6901M-CIASuReJ.js} +4 -4
  40. package/dist/assets/{ChargeCardStatementsPage-BMYUlzTk-CZ02SfTF.js → ChargeCardStatementsPage-IkU86L31-ClrDQTtP.js} +4 -4
  41. package/dist/assets/{CheckDepositDrawerPage-BXWeeMR7-BYN5c48i.js → CheckDepositDrawerPage-fHeTkRJF-CdLdCkIH.js} +13 -13
  42. package/dist/assets/{CollapsableReportTable-CZJ_4MUf-TH_6P-Y_.js → CollapsableReportTable-DUo-9gOh-B_gwOhYJ.js} +32 -32
  43. package/dist/assets/{CompanyOfficerDetailsSection-b2itwQOK-DbOlSBag.js → CompanyOfficerDetailsSection-DzDZe6MU-DWguMF6d.js} +10 -10
  44. package/dist/assets/{CompanyPassportCard-C5C3AykH-DcHAKmoT.js → CompanyPassportCard-BwiwJ82k-WRVY9XX8.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-D9zWgLlj-CWyCqrqW.js → CompanyPassportPage-Bz3rzG9k-e3d2ccIM.js} +15 -15
  46. package/dist/assets/{CompleteProfile-CMnTwbXr-DZqd8rFQ.js → CompleteProfile-CRXV-nNq-DpRL426l.js} +2 -2
  47. package/dist/assets/ConfettiBurst-CapRdPno-Dlg4XvfD.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-CthcMxEa-PQhPjSjB.js → CreateOrEditVendorPage-BjPotKnf-De1W0m4N.js} +12 -12
  49. package/dist/assets/{CreditCardPaymentDrawerPage-LD349Ert-C4Wbd8yP.js → CreditCardPaymentDrawerPage-BTZ2Lph6-DMwCUXwV.js} +13 -13
  50. package/dist/assets/{CurrencySelectField-iXGB-cNy-BRjQHy5W.js → CurrencySelectField-DY0HeU0G-CSYPXeIb.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-BuZrVCRr-DQvZbF43.js → CustomerOnboardingActivationPage-BIKXkkcY-IFMHYYO1.js} +5 -5
  52. package/dist/assets/CustomerOnboardingContainerPage-DZfFYnVw-BG6Jz35S.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-L4WssPjU-BL2-a44j.js → CustomerOnboardingDetailPageSkeleton-DYiAmFsM-C0-Ot9Uw.js} +9 -9
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-Bqv6vbYJ-B4xhs9JC.js → CustomerOnboardingNoStepsPage-gssFllMT-DT9hupvU.js} +9 -9
  55. package/dist/assets/{CustomerOnboardingPage-D7YVlzdy-GqcXPa-d.js → CustomerOnboardingPage-CBJHj8BH-KUidrPxI.js} +6 -6
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-DLzC-lxj-pVKJNYgp.js → CustomerOnboardingProductSuitePage-2V3vSjB8-BYRuju-o.js} +12 -12
  57. package/dist/assets/{Dashboard-BgpeTLE--ZF2wZzkh.js → Dashboard-BVvkfPf9-hp4sQi7A.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-DJtJdsj5-D0j90p2O.js → DashboardReportPage-DHQ79h9V-C3FgTbgA.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-CL6vWi6p-DaXPDfmE.js → DashboardSidebarBackgroundAnimation-B8Q-YA_s-DLXiBeQj.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-B8Kledeo-BlVCqg6w.js → DepositAccTransactionItem-DZnqI7IQ-DR0NgZ86.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-DYBIAd7n-gVv7-TK3.js → DepositAccTransactionListPage-BMNdp-3Q-CyOUea8P.js} +4 -4
  62. package/dist/assets/{DomesticWireDetailsPage-Bm-bfxSa-rYZYhMWI.js → DomesticWireDetailsPage-CCP6xoW_-BlmZjbpt.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-CAfyh0W2-BJk2KPOA.js → DownloadOverlay-B2bK30rG-B-m5Mv2I.js} +18 -18
  64. package/dist/assets/{DrawerPage-DUeVKq0Q-DB8bkP9s.js → DrawerPage-BRJDrBlv-D28-uO54.js} +8 -8
  65. package/dist/assets/{EditPeoplePage-dVrpOcc1-DgbweCi9.js → EditPeoplePage-I8E1Rs3x-DbyrgA_C.js} +6 -6
  66. package/dist/assets/{EditReimbursementDetailPage-xWwm-k8T-Hs0cdO6C.js → EditReimbursementDetailPage-C7BPmFMR-DTPMhwLH.js} +19 -19
  67. package/dist/assets/EntityDetailPage-BraBJ2k1-Wq1E4JPl.js +18 -0
  68. package/dist/assets/{EntitySummarySection-CTU-YsQl-CSwZth_c.js → EntitySummarySection-DPmL3Bnf-CHA6TrKp.js} +5 -5
  69. package/dist/assets/{ExpenseAutomationOverviewPage-DCbcWM84-DHrtqP9f.js → ExpenseAutomationOverviewPage-CDaO_5Vj-gZyomnai.js} +12 -12
  70. package/dist/assets/{ExpenseAutomationPage-DbFQ6EeA-C0i_UBmZ.js → ExpenseAutomationPage-DUenmMQD-Yh_8CeIf.js} +59 -59
  71. package/dist/assets/{ExpressPayPage-DMLKT4Nf-6YIrNvk0.js → ExpressPayPage-DxO1mXNE-DeRja-sm.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-DFsZRRmZ-KGYTIegX.js → FeaturePreviewPage-BWPNZcYs-CdJLxzVS.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-DkBj9-hs-mJdSbXed.js → FollowStepsSection-DhVGeocZ-Ddk_z58q.js} +6 -6
  74. package/dist/assets/{GlobalReviewListPage-D1fbfssG-CByDE9EN.js → GlobalReviewListPage-8eiQXg7N-pPWYTyKl.js} +5 -5
  75. package/dist/assets/{InformationCardStack-CBsOTiOc-CgAe3fDD.js → InformationCardStack-CHVjIv01-Y1Eih__r.js} +2 -2
  76. package/dist/assets/{InsightsCardStack-BEpCIgoE-Bd7MJjyH.js → InsightsCardStack-x_tohY2Z-DNptH2Sv.js} +2 -2
  77. package/dist/assets/{InsightsSection-DcKb1p5B-QoDxUPcZ.js → InsightsSection-D7g00fg7-Bl1k6KMG.js} +2 -2
  78. package/dist/assets/{IntegrationsSettingsPage-CMEV5P0b-3g_v4D8X.js → IntegrationsSettingsPage-DVRtPRi9-ig1iJJpM.js} +10 -10
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-Bukfo0LC-DGIPKWPe.js → InternationalWireSwiftDetailsPage-DnWbUuiD-CIWMoecY.js} +11 -11
  80. package/dist/assets/{InternationalWireVerificationPage-nZvCemaM-DntrzxyD.js → InternationalWireVerificationPage-CHvUYgd8-B9TQJM22.js} +3 -3
  81. package/dist/assets/{InviteFormPage-BpgeFttq-BbrTw2ZL.js → InviteFormPage-Cw0TIkwc-D0dTmTLg.js} +25 -25
  82. package/dist/assets/{InvitePageListView-B6wJomGk-pTRfOIaC.js → InvitePageListView-B4gEzFp2-1aqNeIHc.js} +19 -19
  83. package/dist/assets/{InvitePeoplePage-BArRXjlz-BHQlwXvg.js → InvitePeoplePage-Bnsqv_IY-DhNBoZS8.js} +5 -5
  84. package/dist/assets/{InvoiceUploadSection-CTqSftrm-CyVrgEkl.js → InvoiceUploadSection-CW4hHmAi-DKFSw8te.js} +20 -20
  85. package/dist/assets/{IssueChargeCardPage-DYG5IXrC-D-2m3p9R.js → IssueChargeCardPage-sM826Uvu-DMhbp0aa.js} +21 -21
  86. package/dist/assets/{LabeledAddressValue-D09c5wJR-784mespz.js → LabeledAddressValue-AuzW29LK-99vdzqZR.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-Cac2YPpN-Ba7qdzlE.js → LabeledAddressValueField-C_KatgTA-ByiPbJgm.js} +1 -1
  88. package/dist/assets/LabeledControlledCheckBoxField-CEd7DSmU-mOU-S2fp.js +16 -0
  89. package/dist/assets/{LabeledCountryMultiSelectField-DdqOGBwp-DSHkYk9h.js → LabeledCountryMultiSelectField-CffMX6f1-C44H-4q3.js} +12 -12
  90. package/dist/assets/{LabeledCreatableSingleSelectField-K0xUavli-THytCXMe.js → LabeledCreatableSingleSelectField-CoS6DIi_-DTDCa09f.js} +2 -2
  91. package/dist/assets/LabeledDocumentField-CVBhbPHv-9665D02s.js +41 -0
  92. package/dist/assets/{LabeledDropDownFormattedTextField-Dms9ziRv-CJQkVxrk.js → LabeledDropDownFormattedTextField-CNru68eT-GPSUv36b.js} +5 -5
  93. package/dist/assets/{LabeledMultiSelectField-X5GGPnfG-0qUfOlj0.js → LabeledMultiSelectField-CTqXa2Rh-Cxu9DNT8.js} +1 -1
  94. package/dist/assets/{LabeledText-BJrI_PVT-oE-g3K8U.js → LabeledText-Da0Yn6u8-CFgd90E4.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BmMN3W3F-BzPJ9P_-.js → LabeledUserSingleSelectWithSubtitlesField-CE332GjA-BafYQ_Pm.js} +9 -9
  96. package/dist/assets/{LabeledZeniRolesDropDownField-PsaKyCCY-EbSrXIJy.js → LabeledZeniRolesDropDownField-DU4-ho4X-DQBIg45w.js} +7 -7
  97. package/dist/assets/{LinkJETransactionPage-BDIpw0zn-B_cGLw9N.js → LinkJETransactionPage-Dx4OE1-O-HLvvvZHd.js} +9 -9
  98. package/dist/assets/{LockCardPage-ChGk6VJX-BzQI96FY.js → LockCardPage-B3P6wcK_-Ckpg2eew.js} +23 -23
  99. package/dist/assets/{LowBalancePopup-Bv3kKmAV-DSB2Ymlf.js → LowBalancePopup-Dp1vEYQQ-DIw_NRSy.js} +5 -5
  100. package/dist/assets/MagicLinkACHDetailsPage-BeRQFYX3-CrMUHXPB.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-C1DDZC2_-CWTR8m-D.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-DyDp04Vn-UtoyLAup.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-ySlQc8oV-BspPWH9Z.js → MagicLinkSuccessPage-Iva17nX0-DhK2jGAZ.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-C_OYT1do-NbVFRCAZ.js → MagicLinkTitleSection-B726bP_P-CoT1ZO_f.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-IQJY4Yl0-C_b76P8R.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CxaXh1Aj-CwKK_h51.js → MyBankConnectionsSettingsPage-Ad6xGN08-JjXBlik9.js} +6 -6
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-B9mNbLDd-Db1Atl2l.js → MyPendingActivationChargeCardListPage-BYZ61huS-YKZjMs5X.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-DDERIXlZ-CjalvgMv.js → MyProfileSettingsPage-bEru4GQJ-Cj303JTH.js} +6 -6
  109. package/dist/assets/{NavBarWithPicker-BJ_8PHPv-B6R9nMuM.js → NavBarWithPicker-BAKrtv3g-BXBcsUFZ.js} +4 -4
  110. package/dist/assets/{NavigationArrow-9HOMBxoh-CWFuMeOE.js → NavigationArrow-CKvBs9-h-DGD1r2EE.js} +1 -1
  111. package/dist/assets/{NavigationDots-DPf5iy8f-DNlf5jCf.js → NavigationDots-BdcVrwsL-D_WEvn6f.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-1MfUlwkA-Dx3DZ-ZO.js → NewGlobalMerchantPage-Cx38uQAS-BBICE4OG.js} +7 -7
  113. package/dist/assets/{NoDataChart-CDHiYyiO-DHWgty-U.js → NoDataChart-BbyxZE2g-CtN5BYbf.js} +2 -2
  114. package/dist/assets/{NoDataTable-BoAJZxdS-ClNYPP1-.js → NoDataTable-BNZWGvtm-S9Fe9Ovx.js} +1 -1
  115. package/dist/assets/{NotFoundPage-C-EoeDss-DqOvJ6YN.js → NotFoundPage-CssnEz-k-ccXdF3op.js} +7 -7
  116. package/dist/assets/{NotificationSettingsPage-BfFNx-vu-Byo7BJZr.js → NotificationSettingsPage-DmgxnO9I-BH2rOJH7.js} +15 -15
  117. package/dist/assets/{NotificationsListConfig-CBQwRqMo-DVBdjTys.js → NotificationsListConfig-DdMKLqFI-DwvXMwFg.js} +1 -1
  118. package/dist/assets/{NotificationsPage-BPfRskWZ-_QOFXGgt.js → NotificationsPage-B9XIE39J-CejudHUF.js} +12 -12
  119. package/dist/assets/{OpExByVendorPage-BLI8h8LP-PGQ9bnDo.js → OpExByVendorPage-5wnFvYXt-D6A9jnRY.js} +4 -4
  120. package/dist/assets/{OverlayContainerPage-IDTUbuAC-B16J5Isr.js → OverlayContainerPage-IDTUbuAC-dv-sDcTQ.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-DvT1WQdL-CPylI6Uc.js → PandLWithForecastPage-CrtKdSaD-CYng6puq.js} +7 -7
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CyfKYJV3-CnunCi1o.js → PaymentAccountSetupBillingAddressSection-CQki5l4P-CuMomXeK.js} +9 -9
  123. package/dist/assets/{PeoplePage-BHfn-oLF-CGOapKvG.js → PeoplePage-BCjxJl1y-JBCpiTMQ.js} +10 -10
  124. package/dist/assets/{Preview-B9tjpKKL.js → Preview-DMKZka6j.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-ChWN6HhX-DEhcI5NW.js → ProductsCarousel-BYvlY6Jl-BJ6Pqq3q.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-BWpqciJW-DEw7mp3r.js → PromoBaseCards-6vRaZnUg-CBqkAept.js} +12 -12
  127. package/dist/assets/{QBOConnectionDialog-D9wVm2ga-jv2cIUQM.js → QBOConnectionDialog-C-v9bhUW-CtiRv4Zj.js} +2 -2
  128. package/dist/assets/{QBOSetupSection-CR7JQ_H9-CokKwnfI.js → QBOSetupSection-DPhwp1AB-DxJDpMHr.js} +11 -11
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-RTvnT_vl-D0AOYl_B.js → ReimbursementApprovalRuleDetailPage-Crz8RArL-DQzyot-2.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-Dbs4lLSo-5JjLiWWQ.js → ReimbursementApprovalRulesPage-CHrPVveg-DDlyKkun.js} +13 -13
  131. package/dist/assets/{ReimbursementDetailPage-COF-QqKR-BLj9_Zcn.js → ReimbursementDetailPage-BlfifQuc-DXXQTfQu.js} +8 -8
  132. package/dist/assets/{ReimbursementPromoPage-DSHynwPv-CMfUTDoh.js → ReimbursementPromoPage-B6rhhOye-CmIRL-Wr.js} +12 -12
  133. package/dist/assets/{ReimbursementSetUpPage-CafAtAVr-BdH5_Uu6.js → ReimbursementSetUpPage-BQwRjKZ5-CWVOKlly.js} +7 -7
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cz8keUEO-C42JglzT.js → ReimbursementsBulkReviewDrawerPage-BTaFn0Mh-DXx1vhRK.js} +1 -1
  135. package/dist/assets/{ReloadCard-Bf1jxC4B-CjPHohhm.js → ReloadCard-DETUOoLJ-Dww2RtAQ.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-DOQm7O9r-DcS436ql.js → ReportTableViewSelector-DSDclygb-CPmwPKtZ.js} +29 -29
  137. package/dist/assets/{ReportsPage-Deg59aYB-VaMTaqOC.js → ReportsPage-BrmMmYET-qm3o80ge.js} +4 -4
  138. package/dist/assets/{RevenueChart-C1RR_51e-Bn1LRvSc.js → RevenueChart-B711QWTX-ztc9NA65.js} +17 -17
  139. package/dist/assets/{ReviewDetailsPage-D3bqGZYb-DmpMCAqo.js → ReviewDetailsPage-Bkw0FfE--BL2mmyys.js} +52 -52
  140. package/dist/assets/{ReviewOverlay-CKB9LulM-CUNk2W-s.js → ReviewOverlay-CkB3Z8hH-CX5FMXRQ.js} +11 -11
  141. package/dist/assets/{RoleWithToolTip-BGlbeXtJ-BQ5iinOT.js → RoleWithToolTip-CkpqxMzB-CgYpd1vG.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-D4OkyPNa-6prKuM88.js → ScheduleDetailsFixedAssetsPage-C-4zVu03-B-3H4CNH.js} +9 -9
  143. package/dist/assets/{ScheduleDetailsPage-9oUScaFD-Czq02-r0.js → ScheduleDetailsPage-D4mYRUnv-CIK0kUkx.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-CuOC0Niz-BzAvMkBB.js → ScheduleSequenceTable-q-031a_C-Cl6g3k1V.js} +8 -8
  145. package/dist/assets/{ScreenRoutes-DhG0rKVC.js → ScreenRoutes-D9-sd0S3.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-CK2Ibij3-DvyPJ8FZ.js → SetUpAccountSection-Mm8JelXc-DJkSxyLc.js} +6 -6
  147. package/dist/assets/{SignIn-CLLS0cqt-G1jKv-f1.js → SignIn-faWXqi7o-BVPJ-uzq.js} +16 -16
  148. package/dist/assets/{SignInScreen-BdhVUUiU.js → SignInScreen-DTTr8TvQ.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-C1hg05PB-BMXGChah.js → SpendManagementListViewPage-BLWEPKWO-zjDi64vH.js} +6 -6
  150. package/dist/assets/{SpendManagementPerTabPage-7uggjzlM-BBdEOhcD.js → SpendManagementPerTabPage-vZNK6DuA-DHQi0ok2.js} +23 -23
  151. package/dist/assets/{SpendManagementSection-DFiL_yNI-ca-vlRub.js → SpendManagementSection-CeDmloNd-CJQVf2yR.js} +1 -1
  152. package/dist/assets/StatementItem-CJShifEl-gXZiawe9.js +31 -0
  153. package/dist/assets/StatementsPage-BRxP-Jwn-CibgKP9E.js +58 -0
  154. package/dist/assets/{StatusSwitcher-DPzwQ_o1-DkaIBc47.js → StatusSwitcher-CPuONMOx-IUewbXcR.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-Dztt2rN9-DqHo5u0Z.js → SubTabSwitcher-ibTbIxr5-87SzITqK.js} +1 -1
  156. package/dist/assets/SummaryCard-vWpHXMPE-j4-YbXA_.js +1 -0
  157. package/dist/assets/{TaskManagementPage-BRAt26fv-om-zuIgh.js → TaskManagementPage-COs5ebo9-LStJ5YyB.js} +22 -22
  158. package/dist/assets/{TimeRangeSwitcher-DMCbeOcI-C4mgjK4U.js → TimeRangeSwitcher-fD5vvYGO-Cg6AHBEd.js} +11 -11
  159. package/dist/assets/{TimeframeSwitcher-YCgPbEnk-CJUz-kg1.js → TimeframeSwitcher-BYXKRKtc-BTNUudrw.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-BBJP1nmh-D1jTbV4O.js → TimeframeSwitcherWithToggle-f92qNjEk-CshyNxhp.js} +2 -2
  161. package/dist/assets/{TopExCard-LesAF7Ot-CWhGtv9n.js → TopExCard-Bs4nI9Q9-C9Jpq9jc.js} +10 -10
  162. package/dist/assets/{TopExDetailPage-BTG2W95T-CAgJv3QR.js → TopExDetailPage-B0kS11k0-IiO7dIt-.js} +8 -8
  163. package/dist/assets/{TransactionDetailPage-BqHVfK2K-CBoMen48.js → TransactionDetailPage-BXl6y7sy-B_wNV2dF.js} +1 -1
  164. package/dist/assets/{TransactionList-CGmpQyNM-BGohJsUE.js → TransactionList-BYXPQXN1-C2WkgSOj.js} +11 -11
  165. package/dist/assets/{TransactionListBig-CSYpIxGa-Bd2xJZzC.js → TransactionListBig-lrbHUS38-D0fzERPt.js} +16 -16
  166. package/dist/assets/{TransactionListPage-CV5U_pA6-DsUhS_R3.js → TransactionListPage-OOLJzsmw-Dmoozb9S.js} +2 -2
  167. package/dist/assets/{TransactionVendorDetailPage-DvqHmq7y-C8mjIShR.js → TransactionVendorDetailPage-CmjrngD2-DvxXX996.js} +4 -4
  168. package/dist/assets/{TransferDrawerPage-Cm5reG35-B5qd6-NU.js → TransferDrawerPage-CnFrzA_M-C6390hZV.js} +15 -15
  169. package/dist/assets/{TreasuryOverviewPage-CwcehiRb-BBfaI9Ls.js → TreasuryOverviewPage-CGxccIcU-CgXb0qH5.js} +25 -25
  170. package/dist/assets/{TreasuryPromoPage-BagqhZgO-BswlnynL.js → TreasuryPromoPage-BmMVa8cX-BOYWbSX7.js} +8 -8
  171. package/dist/assets/{TreasuryStatementsPage-o-ID2nvn-DTg8AAgQ.js → TreasuryStatementsPage-DL94A9mN-DZ6yoZ74.js} +1 -1
  172. package/dist/assets/{TreasuryTaxLetterPage-D9f3ohGF-DEP20r26.js → TreasuryTaxLetterPage-BJ9-ZsCQ-DnDmd1Op.js} +2 -2
  173. package/dist/assets/{TrendChart-CqxpheW7-DiPHNgeC.js → TrendChart-ClyJQTBF-TLthRW_O.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-CK_je__x-C1Qk91i9.js → TrendWithTransactions-D4m4sVkf-DJ-5Yugx.js} +4 -4
  175. package/dist/assets/{UncategorizedAccountsMappingPage-BBYQFJxE-nEmuJTEW.js → UncategorizedAccountsMappingPage-BLwx8CVj-dhOY5qHO.js} +1 -1
  176. package/dist/assets/{UnitIntegrationPage-ULhazfl5-DPlYAGvC.js → UnitIntegrationPage-CgbOyIBt-nz_B7FQx.js} +10 -10
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-BPNLdaLG-DQNAWd7N.js → UploadAdditionalDocumentOverlay-CmVwCxA2-BL_6rNZZ.js} +1 -1
  178. package/dist/assets/Vendor2FAPopup-DQtP0bm--CecMTi1i.js +1 -0
  179. package/dist/assets/VendorACHDetailsPage-CuCteqbL-CrfAmoz7.js +1 -0
  180. package/dist/assets/{VendorDetailPage-DPiVnh93-CAOlBr9d.js → VendorDetailPage-CFkDOdUe-B1GqtBiD.js} +93 -93
  181. package/dist/assets/VendorDomesticWireDetailsPage-Cr1fyB0u-N7obKAAe.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-CFrvW8qi-C-v6Mx4-.js → VendorFiling1099EditablePage-Bkn9p2Sf-xXTYWhq9.js} +32 -32
  183. package/dist/assets/{VendorFirstReviewPage-CRLGuw2s-wfeT2fAg.js → VendorFirstReviewPage-CKvnB4Q7-wJi46XXQ.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CV11lzdw-BWhlaMax.js → VendorInternationalWireDetailsPage--B2XU_hP-CbzsnIo2.js} +8 -8
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CJFB7SEO-BecYrM5_.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-vd0V4UXY-BNPavepY.js → VendorsAccountsSection-DJP1yZx7-OlnsbsSP.js} +3 -3
  187. package/dist/assets/{VerifyDevice-DbyjJVTH-_0YHPiw6.js → VerifyDevice-dFsnt44d-C1LsKxM_.js} +3 -3
  188. package/dist/assets/{VideoPlayer-CoI7aj8a-B3tmTxCF.js → VideoPlayer-Dy6rImBJ-QOYygi-i.js} +2 -2
  189. package/dist/assets/{VideoPopup-Bp7fCV1r-BulLqsQx.js → VideoPopup-DM5Buf4j-CFLugl6n.js} +4 -4
  190. package/dist/assets/{WarningsDrawerPage-jMslD0FX-CrUmOPLP.js → WarningsDrawerPage-C8i8v3rq-BqkJBNMa.js} +5 -5
  191. package/dist/assets/{ZeniAccountDetailPage-C1Vq8cMd-BzjwyTwn.js → ZeniAccountDetailPage-CI7znfzM-Vqgai5nW.js} +12 -12
  192. package/dist/assets/{ZeniAccountListViewPage-BNTb04x5-DcvhdCN4.js → ZeniAccountListViewPage-CBnYQpc8-Dv81IpSI.js} +7 -7
  193. package/dist/assets/{ZeniAccountNavBarPieces-ByYrxg3x-w6kmpmKh.js → ZeniAccountNavBarPieces-sMjtAlej-CO7nbf-u.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-BCkk0NbR-juw5u7mQ.js → ZeniAccountPromoPage-B_NJMHHV-DWsuBCOP.js} +13 -13
  195. package/dist/assets/{ZeniAccountSetupPage-ClZTjZhF-C_sOqJTM.js → ZeniAccountSetupPage-C9cJ0F8e-BF5g947U.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-C8wXM9Gr-qMGnv8al.js → ZeniCopyright-DzWFQiAt-07AcK5yb.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-NAR_1h8K-DARDrTsk.js → ZeniTransferAmountSlider-B424bcSV-CHepSJQx.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-flwj0i1s.js → add-to-wallet-DgdBD8_G-pWZi41H8.js} +1 -1
  199. package/dist/assets/{analytics-EizVTK6x.js → analytics-BvXI56dE.js} +1 -1
  200. package/dist/assets/{analyticsHelper-DjynPp_X-s29on7ka.js → analyticsHelper-CzevEN9D-BUYGstD0.js} +1 -1
  201. package/dist/assets/{analyticsHelper-BRPQgKH6.js → analyticsHelper-DP-LgJhR.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-DbFUNUBk.js → arrow-south-east-round-PEovUgvH-B9_UwdI_.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-T83isyAA.js → auto-transfer-rule-mbafm5D3-CRwly3T1.js} +1 -1
  204. package/dist/assets/{chartTypes-CXNoxZp_-CJ_wyUtd.js → chartTypes-n3TS0IBf-DRx7aLxA.js} +1 -1
  205. package/dist/assets/{commonDimensions-i9Qxk1O2-XYIUogON.js → commonDimensions-6BcP8EhU-CPpjZ-C4.js} +1 -1
  206. package/dist/assets/{commonTypes-CcEHeA3z-sEqnsPbS.js → commonTypes-Q1WP-Ym3-Cmq2uCPt.js} +1 -1
  207. package/dist/assets/{constants-BGXrwDfx.js → constants-B97TsRRb.js} +1 -1
  208. package/dist/assets/{core-C5wq1_Bk.js → core-CIefpDlV.js} +1 -1
  209. package/dist/assets/{dash.all.min-B4_top4V.js → dash.all.min-RUznf6Xj.js} +1 -1
  210. package/dist/assets/{detailCommon-DVTOw71--Wk0Evzej.js → detailCommon-D3YbmSu3-CiTGsaNF.js} +7 -7
  211. package/dist/assets/{downloadPdf-1-N8Pf0G-CMW67koi.js → downloadPdf-Bf11NXjY-DUwuSlsF.js} +1 -1
  212. package/dist/assets/{empty-fb3xJ2Vb.js → empty-BQQX0XD1.js} +1 -1
  213. package/dist/assets/{empty-DuP8pCf7.js → empty-DJIJO66a.js} +1 -1
  214. package/dist/assets/{epic-4LjfR2JF.js → epic-C6ygjjdM.js} +1 -1
  215. package/dist/assets/{gift-box-Cmt9OgIZ-BtixTK1k.js → gift-box-Cmt9OgIZ-BWCTqneo.js} +1 -1
  216. package/dist/assets/{graphic-no-data-l-DU4J8fDt--UnjJCr0.js → graphic-no-data-l-DU4J8fDt-C8GXOUxr.js} +1 -1
  217. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-8oQBXM_J.js → graphic-no-data-net-burn-l-CzmycA0m-BQAFQuCs.js} +1 -1
  218. package/dist/assets/{handshake-BPg58FML-BSCdA5zo.js → handshake-BPg58FML-BCnezDN8.js} +1 -1
  219. package/dist/assets/{index-tW1FBxGF.js → index-BzA0Xv0P.js} +1 -1
  220. package/dist/assets/{index-Ko3PkHk3.js → index-CQs92n2L.js} +1 -1
  221. package/dist/assets/{index-CzJUh-iK.js → index-DAj0zPwk.js} +1 -1
  222. package/dist/assets/{index-J8KI2Uyc.js → index-DtRGsySN.js} +1 -1
  223. package/dist/assets/{index-DVgY55Ab.js → index-WEj6FS32.js} +10 -8
  224. package/dist/assets/{index-_TIifI_v.js → index-rikpsdq-.js} +1 -1
  225. package/dist/assets/{index-DqRCO-H6.js → index-smQbM7l5.js} +1 -1
  226. package/dist/assets/{lexical-xuKHFvUb.js → lexical-Dp1JhPKz.js} +1 -1
  227. package/dist/assets/{liveblocks-B14TpO3l.js → liveblocks-CrODURpx.js} +1 -1
  228. package/dist/assets/{lottie-BIQaRIZs.js → lottie-hIwSKdQS.js} +1 -1
  229. package/dist/assets/{mapLoadingInProgressToTreeNode-UA-QQZJo-DsDuha6V.js → mapLoadingInProgressToTreeNode-BArKDqgr-Ce9uxfyP.js} +1 -1
  230. package/dist/assets/{mapSectionWithAcOnlyToTreeNode--y3nO5uZ-DP42yTzT.js → mapSectionWithAcOnlyToTreeNode-BCmFQbuz-BJl1ilV_.js} +1 -1
  231. package/dist/assets/mapSpacerToTreeNode-DdwRxjlP-Bw1NwZTY.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-CR-gDA51-Dr9tcN9g.js +1 -0
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-ClmNRrTo-Covijrhn.js +1 -0
  234. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-aD-96xtj-BAIV3Qln.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DT4LUXl9-COTrRRrU.js} +1 -1
  235. package/dist/assets/{mui-CR-wYMmN.js → mui-BTtN6lbG.js} +1 -1
  236. package/dist/assets/{page-detail-CWX5S47F-Dp0GDjdb.js → page-detail-CWX5S47F-vL4oE1Hd.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-CInIhD3e.js → radio-default-CiSgisfh-CzTG_UVX.js} +1 -1
  238. package/dist/assets/{react-D2cRiLcJ.js → react-BZDhaeWn.js} +1 -1
  239. package/dist/assets/{react-C8urvt-z.js → react-CZT8R2xg.js} +1 -1
  240. package/dist/assets/{react-D_2r5dmn.js → react-D8h_J9ua.js} +1 -1
  241. package/dist/assets/{react-BW87X3sj.js → react-DTawl0rf.js} +1 -1
  242. package/dist/assets/{react-DHV7aTmN.js → react-FdUpWGdd.js} +2 -2
  243. package/dist/assets/{react-CCZeJYV_.js → react-RUf-G1wy.js} +1 -1
  244. package/dist/assets/{react-BHi_eEiU.js → react-dGc0O2tO.js} +1 -1
  245. package/dist/assets/{react-CcqTmi2W.js → react-yNxKnTJa.js} +1 -1
  246. package/dist/assets/{recharts-C3mrSjO2.js → recharts-BfU_srYC.js} +1 -1
  247. package/dist/assets/{sentry-DMXY90dB.js → sentry-B0WgNUxa.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-BYs2EC5i.js → shield-DOlUxcFf-Z1Xg2OMK.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-BzzH0Io4-q6KiTxht.js +1 -0
  250. package/dist/assets/{toChartData-Dv-QcYgv-C4sd-ifC.js → toChartData-Bl-lEYbQ-Cv_10vbn.js} +1 -1
  251. package/dist/assets/{uploadAttachment-DSmux1Yp-Dl4ms4pR.js → uploadAttachment-B_0cN84g-C7pQHANb.js} +8 -8
  252. package/dist/assets/{uploadReceipts-DJRtId-4-CHJq-raT.js → uploadReceipts-DJRtId-4-B1jpX457.js} +1 -1
  253. package/dist/assets/{url-20Ls3nS_.js → url-CHEcUoer.js} +1 -1
  254. package/dist/assets/{url-DojBAuFA.js → url-D-l_68oE.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-C5_U_XBl.js → useLongPress-GCK2COYQ-BysG3lqG.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-l2et8N9o.js → usp-line-BBd1wKwW-ZROsAmzr.js} +1 -1
  257. package/dist/assets/{utils-BCuN6woZ.js → utils-DZQMbqmw.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-BXMuLX_S.js → zeni-epic-state-DnAAAEmj.js} +3 -3
  259. package/dist/index.html +1 -1
  260. package/package.json +4 -4
  261. package/dist/assets/AccountInfoPage-CyJ0eFqc-oDTaIYye.js +0 -18
  262. package/dist/assets/AddAddressForCardDrawer-D1XOklKz-D41jak46.js +0 -6
  263. package/dist/assets/CardNumberSubText-sE2DGwYG-B174guLL.js +0 -21
  264. package/dist/assets/ChargeCardPromoPage-D0np03A--Bpq9wCjH.js +0 -222
  265. package/dist/assets/ConfettiBurst-BRie0bid-CKCgsLzT.js +0 -1
  266. package/dist/assets/CustomerOnboardingContainerPage-DrNstqxI-DBMIRSp3.js +0 -1
  267. package/dist/assets/EntityDetailPage-Cpdbw3XR-C8k1xBJc.js +0 -18
  268. package/dist/assets/LabeledControlledCheckBoxField--EmdYCME-BUoRkObt.js +0 -16
  269. package/dist/assets/LabeledDocumentField--JZn0qDn-Ck_rkdmF.js +0 -41
  270. package/dist/assets/MagicLinkACHDetailsPage-D4Vmz8ms-ItRZ63_N.js +0 -1
  271. package/dist/assets/MagicLinkDomesticWireDetailsPage-B7C30ROh-C843OBvj.js +0 -1
  272. package/dist/assets/MagicLinkInternationalWireDetailsPage-DVFrpmvm-COXfeIQs.js +0 -1
  273. package/dist/assets/MailingDetailsSection-CTPCXpZR-Dv3Iye8Q.js +0 -21
  274. package/dist/assets/StatementItem-CdytKcBE-CavJc8fo.js +0 -31
  275. package/dist/assets/StatementsPage-DU32IYXF-Dj_pMhMm.js +0 -58
  276. package/dist/assets/SummaryCard-D3ev0zFr-CHfcyxTY.js +0 -1
  277. package/dist/assets/Vendor2FAPopup-C3Z-3poJ-Cxx265s1.js +0 -1
  278. package/dist/assets/VendorACHDetailsPage-DnB2b-v_-C755XLlO.js +0 -1
  279. package/dist/assets/VendorDomesticWireDetailsPage-BbfatdWd-DhsLa-3A.js +0 -1
  280. package/dist/assets/VendorInternationalWireSwiftDetailsPage-D3asjWH_-BXIinpkC.js +0 -1
  281. package/dist/assets/mapSpacerToTreeNode-BOG_274U-C0W1M9EX.js +0 -1
  282. package/dist/assets/mapTimeframeBalancesToTreeNode-Btd_0ZvL-CEgQnhXV.js +0 -1
  283. package/dist/assets/mapTimeframeBalancesToTreeNode-LWHXAvJU-B42MwYQ_.js +0 -1
  284. package/dist/assets/toCOABalancesWithID-C_7wlYeT-C3P4q5bp.js +0 -1
@@ -1,4 +1,4 @@
1
- import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co as xt,al as K,aq as wt,F as se,o as s,ju as qe,ch as Ee,cl as ft,g4 as Ct,b9 as Tt,bN as Xe,aT as $t,Q as ie,a9 as yt,y as Qe,cE as jt,ac as bt,b3 as vt,cs as St,iQ as Gt,iR as Lt,jv as De,aR as Et,r as Me,bS as Ie,eK as Je,jw as It,c_ as et,jx as ce,jy as ke,jz as xe,jA as tt,jB as Nt,jC as st,jD as ot,jE as nt,jF as at,jG as rt,jH as V,u as ge,jI as ae,ai as re,jJ as Mt,jK as Dt,x as zt,an as Bt,jL as At,d9 as Rt,jM as Wt,cI as it,em as Ot,b as Pt,jN as Ft,jO as Ht,g5 as Ut,gx as _t,jP as Vt,jQ as X,jR as ze,cu as Kt,jS as Zt,jT as Yt,jU as qt,jV as Be,p as Ae,gu as Xt,am as Qt}from"./index-DVgY55Ab.js";import{a as n}from"./sentry-DMXY90dB.js";import{n as o,c as we}from"./mui-CR-wYMmN.js";import{G6 as Jt,G7 as Re,cd as lt,ce as dt,cf as es}from"./zeni-epic-state-BXMuLX_S.js";import{X as ts,t as ss}from"./SpendManagementSection-DFiL_yNI-ca-vlRub.js";import{A as os,t as ns,a as as,E as rs}from"./NotificationsListConfig-CBQwRqMo-DVBdjTys.js";import{a as is}from"./SpendManagementListViewPage-C1hg05PB-BMXGChah.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./StatusSwitcher-DPzwQ_o1-DkaIBc47.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]="dd7c5edc-a6bd-44d4-ac69-783f741faab7",e._sentryDebugIdIdentifier="sentry-dbid-dd7c5edc-a6bd-44d4-ac69-783f741faab7")}catch{}})();const ls=100,ds=100,cs=3,ps=.7,us=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ls,scrollSpeed:h=ds,minScrollAmount:m=cs,scrollCurveExponent:u=ps})=>{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)},v=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},N=x=>v(x),M=x=>{const S=Math.max(x,0)/c,y=Math.pow(S,u)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="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,y=p;if(y<c&&y>0){const L=c-y,g=M(L);k(x,g,"up")}else if(y>S-c){const L=y-(S-c),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{N(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(p=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,d,m,e,u,h])},ve=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(hs,{isCircular:e<10,children:t.jsx(ms,{children:e>ve.common.numbers.maximumCount?`${ve.common.numbers.maximumCount}${ve.common.strings.plus}`:e})}),hs=o.div`
1
+ import{aw as gt,g as Ze,V as t,jt as Y,bB as kt,aa as _,co as xt,al as K,aq as wt,F as se,o as s,ju as qe,ch as Ee,cl as ft,g4 as Ct,b9 as Tt,bN as Xe,aT as $t,J as ie,a9 as yt,y as Je,cE as jt,ac as bt,b3 as vt,cs as St,iQ as Gt,iR as Lt,jv as De,aR as Et,r as Me,bS as Ie,eK as Qe,jw as It,c_ as et,jx as ce,jy as ke,jz as xe,jA as tt,jB as Nt,jC as st,jD as ot,jE as nt,jF as at,jG as rt,jH as V,u as ge,jI as ae,ai as re,jJ as Mt,jK as Dt,x as zt,an as Bt,jL as At,d9 as Rt,jM as Wt,cI as it,em as Ot,b as Pt,jN as Ft,jO as Ht,g5 as _t,gx as Ut,jP as Vt,jQ as X,jR as ze,cu as Kt,jS as Yt,jT as Zt,jU as qt,jV as Be,p as Ae,gu as Xt,am as Jt}from"./index-WEj6FS32.js";import{a as n}from"./sentry-B0WgNUxa.js";import{n as o,c as we}from"./mui-BTtN6lbG.js";import{G6 as Qt,G7 as Re,cd as lt,ce as dt,cf as es}from"./zeni-epic-state-DnAAAEmj.js";import{X as ts,t as ss}from"./SpendManagementSection-CeDmloNd-CJQVf2yR.js";import{A as os,t as ns,a as as,E as rs}from"./NotificationsListConfig-DdMKLqFI-DwvXMwFg.js";import{a as is}from"./SpendManagementListViewPage-BLWEPKWO-zjDi64vH.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./StatusSwitcher-CPuONMOx-IUewbXcR.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]="09011544-8221-475e-bf54-cb9f386da2f0",e._sentryDebugIdIdentifier="sentry-dbid-09011544-8221-475e-bf54-cb9f386da2f0")}catch{}})();const ls=100,ds=100,cs=3,ps=.7,us=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ls,scrollSpeed:h=ds,minScrollAmount:m=cs,scrollCurveExponent:u=ps})=>{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)},v=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},N=x=>v(x),M=x=>{const S=Math.max(x,0)/c,y=Math.pow(S,u)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="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,y=p;if(y<c&&y>0){const L=c-y,g=M(L);k(x,g,"up")}else if(y>S-c){const L=y-(S-c),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{N(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(p=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,d,m,e,u,h])},ve=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(hs,{isCircular:e<10,children:t.jsx(ms,{children:e>ve.common.numbers.maximumCount?`${ve.common.numbers.maximumCount}${ve.common.strings.plus}`:e})}),hs=o.div`
2
2
  ${e=>e.isCircular?we`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -16,7 +16,7 @@ import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co as xt,al as K,aq as w
16
16
  outline-color: inherit;
17
17
  `,ms=o(Bt)`
18
18
  color: inherit;
19
- `,{taskManagement:We,common:Se}=se.getLocalizedStrings();function gs(e){const{onChange:d,value:r,resetDisabled:h,onReset:m}=e,u=()=>{h!==!0&&m()};return t.jsxs(ks,{children:[t.jsx(fs,{children:We.taskList.groupingFilters.groupBy}),t.jsx(xs,{children:t.jsx(ts,{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:Jt,getOptionLabel:a=>{const p=Se.texts,i=Re(a);return i!=null?p[i]:Se.strings.empty}})}),t.jsxs(ws,{onClick:u,isDisabled:h,children:[t.jsx(Cs,{}),t.jsx(K,{children:Se.reset})]})]})}const ks=o.div`
19
+ `,{taskManagement:We,common:Se}=se.getLocalizedStrings();function gs(e){const{onChange:d,value:r,resetDisabled:h,onReset:m}=e,u=()=>{h!==!0&&m()};return t.jsxs(ks,{children:[t.jsx(fs,{children:We.taskList.groupingFilters.groupBy}),t.jsx(xs,{children:t.jsx(ts,{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:Qt,getOptionLabel:a=>{const p=Se.texts,i=Re(a);return i!=null?p[i]:Se.strings.empty}})}),t.jsxs(ws,{onClick:u,isDisabled:h,children:[t.jsx(Cs,{}),t.jsx(K,{children:Se.reset})]})]})}const ks=o.div`
20
20
  display: flex;
21
21
  align-items: center;
22
22
  column-gap: ${s.sp4};
@@ -44,7 +44,7 @@ import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co as xt,al as K,aq as w
44
44
  `,Cs=o(Xe)`
45
45
  width: ${s.sp3};
46
46
  height: ${s.sp3};
47
- `,Ts=se.getLocalizedStrings().taskManagement.taskList.footer;function $s({taskGroupsList:e,anchorEl:d,groupByKey:r,onCreateNewGroup:h,onExistingGroupSelection:m,onClose:u}){const a=()=>{u(),h()};return t.jsx(qe,{open:!!d,anchorEl:d,onClose:u,transformOrigin:{vertical:"bottom",horizontal:"right"},anchorOrigin:{vertical:"top",horizontal:"right"},children:t.jsxs(ys,{children:[t.jsx(js,{children:e.map(p=>{const i=()=>{u(),m(p.id)};return t.jsx(Oe,{onClick:i,children:t.jsx(re,{children:p.groupName})},p.id)})}),t.jsx(U,{controller:r==="groupName",children:t.jsxs(Oe,{onClick:a,children:[t.jsx(bs,{}),t.jsx(re,{children:Ts.createGroup})]})})]})})}const ys=o.div`
47
+ `,Ts=se.getLocalizedStrings().taskManagement.taskList.footer;function $s({taskGroupsList:e,anchorEl:d,groupByKey:r,onCreateNewGroup:h,onExistingGroupSelection:m,onClose:u}){const a=()=>{u(),h()};return t.jsx(qe,{open:!!d,anchorEl:d,onClose:u,transformOrigin:{vertical:"bottom",horizontal:"right"},anchorOrigin:{vertical:"top",horizontal:"right"},children:t.jsxs(ys,{children:[t.jsx(js,{children:e.map(p=>{const i=()=>{u(),m(p.id)};return t.jsx(Oe,{onClick:i,children:t.jsx(re,{children:p.groupName})},p.id)})}),t.jsx(_,{controller:r==="groupName",children:t.jsxs(Oe,{onClick:a,children:[t.jsx(bs,{}),t.jsx(re,{children:Ts.createGroup})]})})]})})}const ys=o.div`
48
48
  background-color: ${e=>e.theme.colors.grey5};
49
49
  `,Oe=o.div`
50
50
  padding: ${s.sp2} ${s.sp3};
@@ -97,7 +97,7 @@ import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co as xt,al as K,aq as w
97
97
  `,Is=o(zt)`
98
98
  width: ${s.sp3};
99
99
  height: ${s.sp3};
100
- `,Ns=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"})),Ds=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:Bs}=se.getLocalizedStrings(),Q=zs.taskList.newTaskOptions;function As({anchorEl:e,groupByKey:d,taskGroupTemplates:r,taskCreationFromTemplateStatus:h,isTaskTemplatesEnabled:m,expandedTemplate:u,onExpandTemplate:a,onClose:p,onNewTaskClick:i,onNewGroupClick:c,handleGroupTemplateClick:C,handleGroupTemplateTaskClick:v,onNewTaskInitialization:N}){const M=Ye(),[k,f]=n.useState(null),[w,D]=n.useState(null);n.useEffect(()=>{h.fetchState==="Completed"&&(D(null),f(null),p())},[h.fetchState,p]);const z=n.useCallback(($,x)=>{f(x),v($,x)},[v]),B=n.useCallback($=>{D($),C($)},[C]);return t.jsx(qe,{open:!!e,sx:{"& .MuiPaper-root":{border:`1px solid ${M.colors.grey3}`}},anchorEl:e,onClose:p,transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"bottom",horizontal:"right"},children:t.jsxs(Ws,{isTaskTemplatesEnabled:m,children:[t.jsxs(Fs,{children:[t.jsxs(Fe,{onClick:i,children:[t.jsx(Os,{}),t.jsx(Ee,{children:Q.task})]}),t.jsx(U,{controller:d==="groupName",children:t.jsxs(Fe,{onClick:()=>c(""),children:[t.jsx(Ps,{}),t.jsx(Ee,{children:Q.group})]})})]}),m?t.jsx(Rs,{taskGroupTemplates:r,taskIdInCreation:k,groupIdInCreation:w,expandedTemplate:u,handleGroupTemplateClick:B,handleGroupTemplateTaskClick:z,onNewGroupClick:c,onNewTaskInitialization:N,onExpandTemplate:a}):null]})})}const Rs=({taskGroupTemplates:e,taskIdInCreation:d,groupIdInCreation:r,expandedTemplate:h,onExpandTemplate:m,handleGroupTemplateClick:u,handleGroupTemplateTaskClick:a,onNewGroupClick:p,onNewTaskInitialization:i})=>{const[c,C]=n.useState(""),v=n.useMemo(()=>{const k=[];return e.forEach(f=>{if(f.name.toLowerCase().includes(c.toLowerCase()))k.push(f);else{const w=f.tasks.filter(D=>D.name.toLowerCase().includes(c.toLowerCase()));w.length>0&&k.push({...f,tasks:w})}}),k},[e,c]),N=n.useCallback(()=>{i(c)},[c,i]),M=n.useCallback(()=>{p(c)},[c,p]);return t.jsxs(Hs,{children:[t.jsx(Us,{children:t.jsxs(Vs,{children:[t.jsxs(_s,{children:[t.jsx(Ks,{}),t.jsx(Zs,{children:Q.groupTemplates})]}),t.jsx(vs,{inputContainerStyles:{top:"50%",transform:"translateY(-50%)"},searchText:c,onSearchTextChanged:C,placeholder:Q.searchPlaceholder})]})}),t.jsx(U,{controller:v.length>0,children:t.jsx(Ys,{children:v.map(k=>{const f=h===k.id;return t.jsxs(no,{children:[t.jsxs(qs,{onClick:()=>{m(k.id)},expanded:f,children:[t.jsxs(Xs,{children:[t.jsx(U,{controller:f,children:t.jsx(oo,{})}),t.jsx(U,{controller:!f,children:t.jsx(so,{})}),t.jsx(K,{children:k.name}),t.jsx(ct,{count:k.tasks.length})]}),t.jsx(eo,{expanded:f,className:"hidden-create-group-button",variant:"secondary",size:"xs-small",label:Q.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(Js,{children:[t.jsx(ao,{className:"styled-dot"}),t.jsx(lo,{className:"task-name-text",children:w.name})]}),t.jsx(to,{loading:d===w.name,className:"hidden-create-task-button",variant:"secondary",size:"xs-small",label:Bs.create,reverseSpinnerColor:!1,onClick:()=>a(k.id,w.name)})]},w.name))})})]},k.id)})})}),t.jsxs(U,{controller:v.length===0,children:[t.jsx(ro,{children:t.jsx(io,{children:Q.noTaskGroup})}),t.jsxs(He,{onClick:N,children:[t.jsx(Ue,{}),t.jsx(K,{children:Q.newTaskOptionText.replace("__searchText__",c)})]}),t.jsxs(He,{onClick:M,children:[t.jsx(Ue,{}),t.jsx(K,{children:Q.newGroupOptionText.replace("__searchText__",c)})]})]})]})},Ws=o.div`
100
+ `,Ns=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"})),Ds=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:Bs}=se.getLocalizedStrings(),J=zs.taskList.newTaskOptions;function As({anchorEl:e,groupByKey:d,taskGroupTemplates:r,taskCreationFromTemplateStatus:h,isTaskTemplatesEnabled:m,expandedTemplate:u,onExpandTemplate:a,onClose:p,onNewTaskClick:i,onNewGroupClick:c,handleGroupTemplateClick:C,handleGroupTemplateTaskClick:v,onNewTaskInitialization:N}){const M=Ze(),[k,f]=n.useState(null),[w,D]=n.useState(null);n.useEffect(()=>{h.fetchState==="Completed"&&(D(null),f(null),p())},[h.fetchState,p]);const z=n.useCallback(($,x)=>{f(x),v($,x)},[v]),B=n.useCallback($=>{D($),C($)},[C]);return t.jsx(qe,{open:!!e,sx:{"& .MuiPaper-root":{border:`1px solid ${M.colors.grey3}`}},anchorEl:e,onClose:p,transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"bottom",horizontal:"right"},children:t.jsxs(Ws,{isTaskTemplatesEnabled:m,children:[t.jsxs(Fs,{children:[t.jsxs(Fe,{onClick:i,children:[t.jsx(Os,{}),t.jsx(Ee,{children:J.task})]}),t.jsx(_,{controller:d==="groupName",children:t.jsxs(Fe,{onClick:()=>c(""),children:[t.jsx(Ps,{}),t.jsx(Ee,{children:J.group})]})})]}),m?t.jsx(Rs,{taskGroupTemplates:r,taskIdInCreation:k,groupIdInCreation:w,expandedTemplate:u,handleGroupTemplateClick:B,handleGroupTemplateTaskClick:z,onNewGroupClick:c,onNewTaskInitialization:N,onExpandTemplate:a}):null]})})}const Rs=({taskGroupTemplates:e,taskIdInCreation:d,groupIdInCreation:r,expandedTemplate:h,onExpandTemplate:m,handleGroupTemplateClick:u,handleGroupTemplateTaskClick:a,onNewGroupClick:p,onNewTaskInitialization:i})=>{const[c,C]=n.useState(""),v=n.useMemo(()=>{const k=[];return e.forEach(f=>{if(f.name.toLowerCase().includes(c.toLowerCase()))k.push(f);else{const w=f.tasks.filter(D=>D.name.toLowerCase().includes(c.toLowerCase()));w.length>0&&k.push({...f,tasks:w})}}),k},[e,c]),N=n.useCallback(()=>{i(c)},[c,i]),M=n.useCallback(()=>{p(c)},[c,p]);return t.jsxs(Hs,{children:[t.jsx(_s,{children:t.jsxs(Vs,{children:[t.jsxs(Us,{children:[t.jsx(Ks,{}),t.jsx(Ys,{children:J.groupTemplates})]}),t.jsx(vs,{inputContainerStyles:{top:"50%",transform:"translateY(-50%)"},searchText:c,onSearchTextChanged:C,placeholder:J.searchPlaceholder})]})}),t.jsx(_,{controller:v.length>0,children:t.jsx(Zs,{children:v.map(k=>{const f=h===k.id;return t.jsxs(no,{children:[t.jsxs(qs,{onClick:()=>{m(k.id)},expanded:f,children:[t.jsxs(Xs,{children:[t.jsx(_,{controller:f,children:t.jsx(oo,{})}),t.jsx(_,{controller:!f,children:t.jsx(so,{})}),t.jsx(K,{children:k.name}),t.jsx(ct,{count:k.tasks.length})]}),t.jsx(eo,{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(Js,{children:[t.jsxs(Qs,{children:[t.jsx(ao,{className:"styled-dot"}),t.jsx(lo,{className:"task-name-text",children:w.name})]}),t.jsx(to,{loading:d===w.name,className:"hidden-create-task-button",variant:"secondary",size:"xs-small",label:Bs.create,reverseSpinnerColor:!1,onClick:()=>a(k.id,w.name)})]},w.name))})})]},k.id)})})}),t.jsxs(_,{controller:v.length===0,children:[t.jsx(ro,{children:t.jsx(io,{children:J.noTaskGroup})}),t.jsxs(He,{onClick:N,children:[t.jsx(_e,{}),t.jsx(K,{children:J.newTaskOptionText.replace("__searchText__",c)})]}),t.jsxs(He,{onClick:M,children:[t.jsx(_e,{}),t.jsx(K,{children:J.newGroupOptionText.replace("__searchText__",c)})]})]})]})},Ws=o.div`
101
101
  display: flex;
102
102
  flex-direction: column;
103
103
  width: ${e=>e.isTaskTemplatesEnabled?"408px":"unset"};
@@ -126,12 +126,12 @@ import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co as xt,al as K,aq as w
126
126
  `,Hs=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;
133
133
  padding: ${s.sp2} ${s.sp3};
134
- `,_s=o.div`
134
+ `,Us=o.div`
135
135
  display: flex;
136
136
  column-gap: ${s.sp2};
137
137
  align-items: center;
@@ -145,9 +145,9 @@ import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co as xt,al as K,aq as w
145
145
  width: ${s.sp3};
146
146
  height: ${s.sp3};
147
147
  color: ${e=>e.theme.colors.primary};
148
- `,Zs=o(Ee)`
148
+ `,Ys=o(Ee)`
149
149
  color: ${e=>e.theme.colors.primary};
150
- `,Ys=o.div`
150
+ `,Zs=o.div`
151
151
  max-height: 320px;
152
152
  overflow: auto;
153
153
  `,qs=o.div`
@@ -170,7 +170,7 @@ import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co as xt,al as K,aq as w
170
170
  padding: ${s.sp2} ${s.sp0};
171
171
  color: inherit;
172
172
  column-gap: ${s.sp2};
173
- `,Qs=o.div`
173
+ `,Js=o.div`
174
174
  display: flex;
175
175
  justify-content: space-between;
176
176
  align-items: center;
@@ -188,7 +188,7 @@ import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co as xt,al as K,aq as w
188
188
  display: block;
189
189
  }
190
190
  }
191
- `,Js=o.div`
191
+ `,Qs=o.div`
192
192
  display: flex;
193
193
  align-items: center;
194
194
  cursor: pointer;
@@ -208,7 +208,7 @@ import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co as xt,al as K,aq as w
208
208
  `,so=o(It)`
209
209
  width: ${s.sp3};
210
210
  height: ${s.sp3};
211
- `,oo=o(Je)`
211
+ `,oo=o(Qe)`
212
212
  width: ${s.sp3};
213
213
  height: ${s.sp3};
214
214
  `,no=o.div``,ao=o.div`
@@ -234,7 +234,7 @@ import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co 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
- `,Ue=o(et)`
237
+ `,_e=o(et)`
238
238
  width: ${s.sp3};
239
239
  height: ${s.sp3};
240
240
  `,lo=o(K)`
@@ -243,7 +243,7 @@ import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co 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:co,taskManagement:Ne}=se.getLocalizedStrings(),pt={taskNameMaxWidth:new Qe(125,170,170,250,300)},po=({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:v,getFieldState:N}=it(),M=(k,f)=>{const w=Be(k,f,xe);N(w).invalid?v(w):m(e,{timeSpent:C(w)})};return t.jsxs(mo,{children:[t.jsxs(vo,{windowSize:a,onClick:h,responsiveWidth:X[0].width,children:[t.jsxs(So,{windowSize:a,children:[t.jsx(Lo,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Ie,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(Io,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Ie,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(Go,{windowSize:a,responsiveWidth:X[0].width,children:t.jsx(Eo,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(_e,{windowSize:a,responsiveWidth:X[1].width,children:ze(e.status.code)}),t.jsx(zo,{windowSize:a,responsiveWidth:X[2].width,children:ze(e.priority.code)}),t.jsx(Bo,{windowSize:a,responsiveWidth:X[3].width,children:e.dueDate!=null?e.dueDate.format(co.visual.MMMDCommaYYYYformat):t.jsx(go,{children:Ge.strings.hyphen})}),t.jsx(_e,{windowSize:a,responsiveWidth:X[4].width,children:p>0?t.jsxs(ko,{children:[t.jsx(Kt,{personBasic:i,styles:{width:s.sp4,height:s.sp4}}),t.jsx(No,{children:t.jsx(Mo,{children:c})}),p>1?t.jsx(xo,{children:`${Ge.strings.plus}${p-1}`}):null]}):null}),t.jsx(Ao,{windowSize:a,responsiveWidth:X[5].width,children:e.tagIds.length>0?t.jsx(Do,{children:Zt(e.tagIds,d)}):null}),t.jsx(Wo,{windowSize:a,responsiveWidth:X[6].width,isLastColumn:!0,isDisabled:!1,children:t.jsx(Oo,{className:"timeSpentField",children:t.jsx(Yt,{name:Be(r,e.id,xe),placeholder:Ne.common.timeSpentPlaceholder,timeSpentFormat:Ne.common.timeSpentFormat,registerOptions:{validate:k=>es(k)>qt?(u({messageSection:"task_time_spent_validation",messageText:"failed",type:"error",showStatusIcon:!0}),"Error"):!0},style:{padding:`${s.sp0} ${s.sp1}`,background:"unset"},onInputBlur:()=>{M(r,e.id)},inputStyle:{textAlign:"right",padding:`${s.sp0} ${s.sp2}`}})})})]})},uo=({taskGroup:e,tagList:d,sectionId:r,showGroupName:h,showRenameTextField:m,isSelectionAllowed:u,isCollapsed:a,existingTaskGroupNamesByGroupId:p,onDeleteTaskGroup:i,onExpandAll:c,onCollapseAll:C,onAddNewTaskToTaskGroup:v,onCollapseToggle:N,onTaskManagementRowClick:M,onDragStart:k,onTimeSpentUpdate:f,onShowToast:w})=>{const[D,z]=n.useState(null),B=ie(),{setFocus:$}=it(),x=n.useCallback(()=>{N(e.id)},[N,e.id]),S=n.useCallback(W=>{z(W.currentTarget)},[]),y=n.useCallback(()=>{z(null)},[]),L=n.useCallback(()=>{v(e.id)},[v,e.id]),g=n.useCallback(()=>{z(null),i(e.id)},[i,e.id]),j=n.useCallback(()=>{$(`${r}.groupName`),y()},[y,r,$]);return t.jsxs(ho,{windowSize:B,children:[t.jsx(U,{controller:h,children:t.jsxs(wo,{children:[t.jsxs(fo,{children:[t.jsx(Co,{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:Ne.taskList.taskGroup.groupNamePlaceholder,registerOptions:{required:!0,validate:W=>Ft(W,e.id,p)===!1},isDisabled:m&&e.id!=="new_group"||e.isDefault?"disabled":void 0})]}),t.jsx($o,{onClick:S,children:t.jsx(yo,{})}),t.jsx(Ht,{onClose:y,onAddTask:L,onCollapseAll:C,onDelete:g,onExpandAll:c,onRename:j,isDefault:e.isDefault,anchorEl:D})]})}),t.jsx(U,{controller:a===!1,children:t.jsx(Ut,{mode:"checked_or_hover",isDisabled:u===!1?"disabled":void 0,checkBoxes:[...e.tasks.map(W=>{const _=()=>{M(W.id)};return{label:t.jsx(po,{taskDetail:W,onRowClick:_,tagList:d,onTimeSpentUpdate:f,onShowToast:w,sectionId:r}),prefix:B==="small"?null:t.jsx(jo,{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})})]})},ho=o.div`
246
+ `,{common:Ge,dateFormat:co,taskManagement:Ne}=se.getLocalizedStrings(),pt={taskNameMaxWidth:new Je(125,170,170,250,300)},po=({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:v,getFieldState:N}=it(),M=(k,f)=>{const w=Be(k,f,xe);N(w).invalid?v(w):m(e,{timeSpent:C(w)})};return t.jsxs(mo,{children:[t.jsxs(vo,{windowSize:a,onClick:h,responsiveWidth:X[0].width,children:[t.jsxs(So,{windowSize:a,children:[t.jsx(Lo,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Ie,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(Io,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Ie,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(Go,{windowSize:a,responsiveWidth:X[0].width,children:t.jsx(Eo,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(Ue,{windowSize:a,responsiveWidth:X[1].width,children:ze(e.status.code)}),t.jsx(zo,{windowSize:a,responsiveWidth:X[2].width,children:ze(e.priority.code)}),t.jsx(Bo,{windowSize:a,responsiveWidth:X[3].width,children:e.dueDate!=null?e.dueDate.format(co.visual.MMMDCommaYYYYformat):t.jsx(go,{children:Ge.strings.hyphen})}),t.jsx(Ue,{windowSize:a,responsiveWidth:X[4].width,children:p>0?t.jsxs(ko,{children:[t.jsx(Kt,{personBasic:i,styles:{width:s.sp4,height:s.sp4}}),t.jsx(No,{children:t.jsx(Mo,{children:c})}),p>1?t.jsx(xo,{children:`${Ge.strings.plus}${p-1}`}):null]}):null}),t.jsx(Ao,{windowSize:a,responsiveWidth:X[5].width,children:e.tagIds.length>0?t.jsx(Do,{children:Yt(e.tagIds,d)}):null}),t.jsx(Wo,{windowSize:a,responsiveWidth:X[6].width,isLastColumn:!0,isDisabled:!1,children:t.jsx(Oo,{className:"timeSpentField",children:t.jsx(Zt,{name:Be(r,e.id,xe),placeholder:Ne.common.timeSpentPlaceholder,timeSpentFormat:Ne.common.timeSpentFormat,registerOptions:{validate:k=>es(k)>qt?(u({messageSection:"task_time_spent_validation",messageText:"failed",type:"error",showStatusIcon:!0}),"Error"):!0},style:{padding:`${s.sp0} ${s.sp1}`,background:"unset"},onInputBlur:()=>{M(r,e.id)},inputStyle:{textAlign:"right",padding:`${s.sp0} ${s.sp2}`}})})})]})},uo=({taskGroup:e,tagList:d,sectionId:r,showGroupName:h,showRenameTextField:m,isSelectionAllowed:u,isCollapsed:a,existingTaskGroupNamesByGroupId:p,onDeleteTaskGroup:i,onExpandAll:c,onCollapseAll:C,onAddNewTaskToTaskGroup:v,onCollapseToggle:N,onTaskManagementRowClick:M,onDragStart:k,onTimeSpentUpdate:f,onShowToast:w})=>{const[D,z]=n.useState(null),B=ie(),{setFocus:$}=it(),x=n.useCallback(()=>{N(e.id)},[N,e.id]),S=n.useCallback(W=>{z(W.currentTarget)},[]),y=n.useCallback(()=>{z(null)},[]),L=n.useCallback(()=>{v(e.id)},[v,e.id]),g=n.useCallback(()=>{z(null),i(e.id)},[i,e.id]),j=n.useCallback(()=>{$(`${r}.groupName`),y()},[y,r,$]);return t.jsxs(ho,{windowSize:B,children:[t.jsx(_,{controller:h,children:t.jsxs(wo,{children:[t.jsxs(fo,{children:[t.jsx(Co,{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:Ne.taskList.taskGroup.groupNamePlaceholder,registerOptions:{required:!0,validate:W=>Ft(W,e.id,p)===!1},isDisabled:m&&e.id!=="new_group"||e.isDefault?"disabled":void 0})]}),t.jsx($o,{onClick:S,children:t.jsx(yo,{})}),t.jsx(Ht,{onClose:y,onAddTask:L,onCollapseAll:C,onDelete:g,onExpandAll:c,onRename:j,isDefault:e.isDefault,anchorEl:D})]})}),t.jsx(_,{controller:a===!1,children:t.jsx(_t,{mode:"checked_or_hover",isDisabled:u===!1?"disabled":void 0,checkBoxes:[...e.tasks.map(W=>{const U=()=>{M(W.id)};return{label:t.jsx(po,{taskDetail:W,onRowClick:U,tagList:d,onTimeSpentUpdate:f,onShowToast:w,sectionId:r}),prefix:B==="small"?null:t.jsx(jo,{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})})]})},ho=o.div`
247
247
  box-sizing: border-box;
248
248
  display: flex;
249
249
  flex-direction: column;
@@ -285,7 +285,7 @@ import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co as xt,al as K,aq as w
285
285
  flex-direction: row;
286
286
  align-items: center;
287
287
  color: ${e=>e.theme.colors.hero};
288
- `,xo=o(Qt)`
288
+ `,xo=o(Jt)`
289
289
  border: 1px solid ${e=>e.theme.colors.hero};
290
290
  width: calc(${s.sp3} + ${s.sp1});
291
291
  height: calc(${s.sp3} + ${s.sp1});
@@ -305,13 +305,13 @@ import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co as xt,al as K,aq as w
305
305
  `,Co=o.div`
306
306
  cursor: pointer;
307
307
  transform: ${e=>e.isOpen?"rotate(0deg)":"rotate(-90deg)"};
308
- `,To=o(Je)`
308
+ `,To=o(Qe)`
309
309
  width: ${s.sp3};
310
310
  height: ${s.sp3};
311
311
  color: ${e=>e.theme.colors.primary};
312
312
  `,$o=o.div`
313
313
  cursor: pointer;
314
- `,yo=o(_t)`
314
+ `,yo=o(Ut)`
315
315
  width: ${s.sp3};
316
316
  height: ${s.sp3};
317
317
  `,jo=o.div`
@@ -375,7 +375,7 @@ import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co 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
- `,_e=o.div`
378
+ `,Ue=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,10 +430,10 @@ import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co 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`,Fo={rowGap:new Qe(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:v,onBackClick:N,onNewTaskClick:M,onFiltersChange:k,resetLocalData:f,handleCreateGroup:w,assignGroupToTasks:D,onAddNewTaskToTaskGroup:z,onGroupByFilterChange:B,onTaskGroupRename:$,analytics:x,onTimeSpentUpdate:S,onShowToast:y,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,handleNewTaskInitialization:j})=>{const[W,_]=n.useState(!1),[J,P]=n.useState(null),[F,oe]=n.useState(null),[Y,pe]=n.useState(null),[fe,le]=n.useState(null),[ue,ne]=n.useState(!1),Ce=gt(),{fetchState:ee,uiState:q,filters:Te,userList:de,taskGroupsWithTasksList:$e}=e,{tagList:ye}=d,je=Ye(),be=R=>{ne(R)},he=n.useCallback(R=>{le(R.currentTarget)},[]),me=n.useCallback(R=>{B(R)},[B]),l=n.useCallback(()=>{B("groupName")},[B]),G=n.useCallback(R=>{j(R)},[j]),O=de.users.map(R=>R.user).filter(R=>R!=null),E={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:ue,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:q.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:Te,searchTextBoxStyle:{right:"108px"},onNewButtonClick:he,onSearchOpen:be,onSearchTextChanged:v,onFiltersChange:k,analytics:x,downloadState:"Not-Started",createdByUserListLoaded:de.fetchState==="Completed"||de.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(gs,{value:q.groupByKey,resetDisabled:q.groupByKey==="groupName",onChange:me,onReset:l}),height:90},getFilterOptions:()=>is("task_management",O,Ce.loggedInUserRole??[],d.tagList)},I=n.useCallback(R=>{le(null),P(Z),p({...e.localData,newTaskGroupName:R})},[e.localData,p]),A=n.useCallback(()=>{le(null)},[]),b=n.useCallback(()=>{F!=null&&a(F)},[F,a]),T=n.useCallback(()=>{P(Z)},[]),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(Yo,{children:[t.jsx(qo,{onClick:c,children:t.jsx(Xo,{})}),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(Ho,{taskListView:e,tagList:ye,renameActiveField:J,updateTask:m,onDragNDrop:u,onAddNewTaskToTaskGroup:z,onColumnSortConfigChanged:C,onTaskManagementRowClick:i,assignGroupToTasks:D,handleCreateGroup:w,resetLocalData:f,setGroupCreationInProgress:T,setShowDeleteModal:_,updateLocalData:p,setActiveTaskGroupId:oe,setRenameActiveField:P,onTaskGroupRename:$,onTimeSpentUpdate:S,onShowToast:y,onCreateTagClick:h}),ht=t.jsx(ss,{spendManagementSectionProps:E});return t.jsxs(Zo,{children:[t.jsx(kt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:je.colors.grey4,style:{zIndex:3},onBackClick:N,rightSideComponent:ht,isSearchOpen:ue,source:"TaskManagementPage"}),t.jsx(As,{anchorEl:fe,groupByKey:q.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:A,onNewTaskClick:M,onNewGroupClick:I,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,onNewTaskInitialization:G,onExpandTemplate:te,expandedTemplate:Y}),t.jsx(Ko,{children:ut()}),t.jsx(U,{controller:W===!0,children:t.jsx(xt,{action:{onOkClick:b,onCancelClick:()=>{_(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(on,{children:t.jsx(wt,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(nn,{children:t.jsx(K,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},Ho=({taskListView:e,tagList:d,renameActiveField:r,updateTask:h,onTaskGroupRename:m,setRenameActiveField:u,onDragNDrop:a,updateLocalData:p,setShowDeleteModal:i,handleCreateGroup:c,resetLocalData:C,assignGroupToTasks:v,setGroupCreationInProgress:N,onTaskManagementRowClick:M,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,setActiveTaskGroupId:w,onTimeSpentUpdate:D,onShowToast:z,onCreateTagClick:B})=>{const $=n.useRef(null),[x,S]=n.useState(null),y=n.useRef({}),L=ie(),{localData:g,taskGroupsWithTasksList:j,uiState:W}=e,[_,J]=n.useState([]),P=n.useRef(null);us({scrollContainerRef:P,isEnabled:L!=="small"});const F=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(()=>Ze(e.taskGroupsWithTasksList,g,F,d),[g,e.taskGroupsWithTasksList,F,d]),values:n.useMemo(()=>Ze(e.taskGroupsWithTasksList,g,F,d),[g,e.taskGroupsWithTasksList,F,d])}),Y=n.useMemo(()=>{if(r!==Z)return j;const l=[],G=j.map(O=>{const E=O.tasks.filter(I=>{const A=g.selectedTaskIds.includes(I.id)===!0;return A&&l.push(I),A===!1});return{...O,tasks:E}});return G.unshift({groupName:"",isDefault:!1,id:Z,tasks:l}),G},[r,j,g.selectedTaskIds]),pe=n.useCallback(l=>_.includes(Y[l].id)||Y[l].tasks.length===0?100:y.current?.[l]!=null?y.current[l]+Fo.rowGap.value(L):(os*1+ns)*3+as+rs,[_,Y,L]),fe=n.useCallback(l=>{S(l.currentTarget)},[]),le=n.useCallback((l,G)=>{y.current={...y.current,[l]:G},$.current?.resetAfterIndex(0,!0)},[L,$,j]),ue=n.useCallback(l=>{J(G=>G.includes(l)?G.filter(O=>l!==O):[...G,l]),$.current?.resetAfterIndex(0,!0)},[]),ne=n.useCallback(()=>{S(null)},[]),Ce=n.useCallback(()=>{J(j.map(l=>l.id)),$.current?.resetAfterIndex(0,!0)},[j]),ee=n.useCallback(()=>{J([]),$.current?.resetAfterIndex(0,!0)},[]),q=n.useCallback(()=>{N(),$.current?.scrollTo(0),ne()},[ne,N]),Te=n.useCallback(l=>{w(l),i(!0)},[w,i]),de=n.useCallback(()=>{g.selectedTaskIds.length>0?r!==Z?q():c(!0):r===Z?c(!1):r!=null&&m(r,g.existingTaskGroupNamesByGroupId[r])},[g.selectedTaskIds.length,g.existingTaskGroupNamesByGroupId,r,q,c,m]),$e=n.useCallback(()=>{u(null),C()},[C,u]),ye=n.useCallback(l=>{C(),u(l)},[C,u]),je=n.useCallback(()=>{g.defaultTaskGroupId!=null&&v(g.defaultTaskGroupId)},[v,g.defaultTaskGroupId]),be=async(l,G)=>{if(l.includes(nt)){const E=l.split(".")[2],I=j.flatMap(b=>b.tasks).find(b=>b.id===E),A=G[V][ae][E].priority.selectedOption;if(I!=null&&A!=null){const b=lt.find(T=>T.code===A);b!=null&&h(I,{priority:b})}return}if(l.includes(at)){const E=l.split(".")[2],I=j.flatMap(b=>b.tasks).find(b=>b.id===E),A=G[V][ae][E].status.selectedOption;if(I!=null&&A!=null){const b=dt.find(T=>T.code===A);I!=null&&b!=null&&h(I,{status:b})}return}if(l.includes(st)){const E=l.split(".")[2],I=j.flatMap(T=>T.tasks).find(T=>T.id===E),A=j.find(T=>T.tasks.find(te=>te.id===E))?.id,b=G[V][ae][E].assignees.selectedUsers.map(T=>T.userId);A!=null&&b!=null&&I!=null&&h(I,{assignees:b});return}if(l.includes(ot)){const E=l.split(".")[2],I=j.flatMap(T=>T.tasks).find(T=>T.id===E),A=j.find(T=>T.tasks.find(te=>te.id===E))?.id,b=G[V][ae][E].dueDate.date;A!=null&&b!=null&&I!=null&&h(I,{dueDate:b});return}if(l.includes(tt)){const E=l.split(".")[2],I=j.flatMap(T=>T.tasks).find(T=>T.id===E),A=j.find(T=>T.tasks.find(te=>te.id===E))?.id,b=G[V][ae][E].tags.selectedOptions;A!=null&&b!=null&&I!=null&&h(I,{tagIds:b});return}l.includes(xe)&&oe.trigger(l);const O=Vo(l,G,g);p(O)};n.useEffect(()=>{const l=oe.watch((G,{name:O})=>{O!=null&&G!=null&&jt(()=>be(O,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=j.length>1&&g.selectedTaskIds.length>0&&r!==Z,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(De),onSubmit:oe.handleSubmit(de),style:{width:"100%"},children:t.jsx(Jo,{isFooterVisible:me,windowSize:L,children:t.jsx(vt,{children:({height:l,width:G})=>t.jsx(St,{ref:$,outerRef:P,height:l,itemCount:Y.length,itemSize:pe,estimatedItemSize:Lt,itemKey:O=>Y[O].id,width:G,overscanCount:Gt,itemData:{tagList:d,taskGroupsWithTasksList:Y,uiState:W,collapsedGroups:_,userList:e.userList,renameActiveField:r,selectedRowIds:g.selectedTaskIds,existingTaskGroupNamesByGroupId:g.existingTaskGroupNamesByGroupId,onRenameClick:ye,handleOnDragNDrop:a,onCollapseToggle:ue,setRowHeight:le,onTaskManagementRowClick:M,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,onCollapseAll:Ce,onDeleteTaskGroup:Te,onExpandAll:ee,onTimeSpentUpdate:D,onShowToast:z,onCreateTagClick:B},initialScrollOffset:0,children:Uo})})})})}),me?t.jsx(Et,{formId:Ve(De),primaryBtn:{label:j.length===1&&g.selectedTaskIds.length>0&&r!==Z?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(tn,{children:[t.jsx(ct,{count:g.selectedTaskIds.length}),t.jsx(sn,{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(rn,{children:t.jsx(Ie,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(an,{onClick:je})})})}),showPrimaryButton:he===!1,customPrimaryButton:he?t.jsxs(t.Fragment,{children:[t.jsx(Me,{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($s,{taskGroupsList:j,anchorEl:x,groupByKey:W.groupByKey,onCreateNewGroup:q,onExistingGroupSelection:l=>{ne(),v(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:v,setRowHeight:N,onColumnSortConfigChanged:M,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:D,handleOnDragNDrop:z,onRenameClick:B,userList:$,selectedRowIds:x,existingTaskGroupNamesByGroupId:S,onTimeSpentUpdate:y,onShowToast:L,onCreateTagClick:g}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&N(e,h.current.firstElementChild.clientHeight)},[e,h,m,a[e]?.tasks]);const j=n.useCallback(P=>{const F=P.dataTransfer.getData("row");z(F,a[e].id)},[z,e,a]),W=n.useCallback(P=>{P.preventDefault()},[]),_=(P,F)=>{P.dataTransfer.setData("row",F)},J=()=>{B(a[e].id)};return t.jsx(en,{style:{...d,width:"100%"},ref:h,onDrop:j,onDragOver:W,children:t.jsx(_o,{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:v,onColumnSortConfigChanged:M,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:D,onExpandAll:f,selectedRowIds:x,userList:$,existingTaskGroupNamesByGroupId:S,onDragStart:_,onRenameClick:J,onTimeSpentUpdate:y,onShowToast:L,onCreateTagClick:g},a[e].id)})},_o=({taskGroup:e,tagList:d,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,userList:i,existingTaskGroupNamesByGroupId:c,onRenameClick:C,onTaskManagementRowClick:v,onCollapseToggle:N,onColumnSortConfigChanged:M,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:D,onDragStart:z,onTimeSpentUpdate:B,onShowToast:$,onCreateTagClick:x})=>{const S=ie(),y=S==="medium-regular"||S==="medium-compact"||S==="small"?uo:Wt;return t.jsx(y,{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:D,onExpandAll:f,onCollapseToggle:N,onTaskManagementRowClick:v,onColumnSortConfigChanged:M,onDragStart:z,onRenameClick:C,onTimeSpentUpdate:B,onShowToast:$,onCreateTagClick:x})},Ze=(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:Nt(h),selectedOptions:i.tagIds},[xe]:i.timeSpent}})});const a={[rt]:{[Z]:{[ce]:d.newTaskGroupName,[ke]:[]},...u},[ae]:m};return{[V]:a}},Vo=(e,d,r)=>{if(e.includes(V)){const h=e.split(".")[2];if(e.includes(ce))return e.includes(Z)?{...r,newTaskGroupName:d[V].groupData[h][ce]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:d[V].groupData[h][ce]}};if(e.includes(ke)){const m=At(Rt(Object.values(d[V][rt]),ke)).filter(u=>u!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:m}}}return r},Ko=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`,Fo={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:v,onBackClick:N,onNewTaskClick:M,onFiltersChange:k,resetLocalData:f,handleCreateGroup:w,assignGroupToTasks:D,onAddNewTaskToTaskGroup:z,onGroupByFilterChange:B,onTaskGroupRename:$,analytics:x,onTimeSpentUpdate:S,onShowToast:y,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,handleNewTaskInitialization:j})=>{const[W,U]=n.useState(!1),[Q,P]=n.useState(null),[F,oe]=n.useState(null),[Z,pe]=n.useState(null),[fe,le]=n.useState(null),[ue,ne]=n.useState(!1),Ce=gt(),{fetchState:ee,uiState:q,filters:Te,userList:de,taskGroupsWithTasksList:$e}=e,{tagList:ye}=d,je=Ze(),be=R=>{ne(R)},he=n.useCallback(R=>{le(R.currentTarget)},[]),me=n.useCallback(R=>{B(R)},[B]),l=n.useCallback(()=>{B("groupName")},[B]),G=n.useCallback(R=>{j(R)},[j]),O=de.users.map(R=>R.user).filter(R=>R!=null),E={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:ue,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:q.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:Te,searchTextBoxStyle:{right:"108px"},onNewButtonClick:he,onSearchOpen:be,onSearchTextChanged:v,onFiltersChange:k,analytics:x,downloadState:"Not-Started",createdByUserListLoaded:de.fetchState==="Completed"||de.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(gs,{value:q.groupByKey,resetDisabled:q.groupByKey==="groupName",onChange:me,onReset:l}),height:90},getFilterOptions:()=>is("task_management",O,Ce.loggedInUserRole??[],d.tagList)},I=n.useCallback(R=>{le(null),P(Y),p({...e.localData,newTaskGroupName:R})},[e.localData,p]),A=n.useCallback(()=>{le(null)},[]),b=n.useCallback(()=>{F!=null&&a(F)},[F,a]),T=n.useCallback(()=>{P(Y)},[]),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(Zo,{children:[t.jsx(qo,{onClick:c,children:t.jsx(Xo,{})}),t.jsx(Jo,{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(Ho,{taskListView:e,tagList:ye,renameActiveField:Q,updateTask:m,onDragNDrop:u,onAddNewTaskToTaskGroup:z,onColumnSortConfigChanged:C,onTaskManagementRowClick:i,assignGroupToTasks:D,handleCreateGroup:w,resetLocalData:f,setGroupCreationInProgress:T,setShowDeleteModal:U,updateLocalData:p,setActiveTaskGroupId:oe,setRenameActiveField:P,onTaskGroupRename:$,onTimeSpentUpdate:S,onShowToast:y,onCreateTagClick:h}),ht=t.jsx(ss,{spendManagementSectionProps:E});return t.jsxs(Yo,{children:[t.jsx(kt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:je.colors.grey4,style:{zIndex:3},onBackClick:N,rightSideComponent:ht,isSearchOpen:ue,source:"TaskManagementPage"}),t.jsx(As,{anchorEl:fe,groupByKey:q.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:A,onNewTaskClick:M,onNewGroupClick:I,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,onNewTaskInitialization:G,onExpandTemplate:te,expandedTemplate:Z}),t.jsx(Ko,{children:ut()}),t.jsx(_,{controller:W===!0,children:t.jsx(xt,{action:{onOkClick:b,onCancelClick:()=>{U(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(on,{children:t.jsx(wt,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(nn,{children:t.jsx(K,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},Ho=({taskListView:e,tagList:d,renameActiveField:r,updateTask:h,onTaskGroupRename:m,setRenameActiveField:u,onDragNDrop:a,updateLocalData:p,setShowDeleteModal:i,handleCreateGroup:c,resetLocalData:C,assignGroupToTasks:v,setGroupCreationInProgress:N,onTaskManagementRowClick:M,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,setActiveTaskGroupId:w,onTimeSpentUpdate:D,onShowToast:z,onCreateTagClick:B})=>{const $=n.useRef(null),[x,S]=n.useState(null),y=n.useRef({}),L=ie(),{localData:g,taskGroupsWithTasksList:j,uiState:W}=e,[U,Q]=n.useState([]),P=n.useRef(null);us({scrollContainerRef:P,isEnabled:L!=="small"});const F=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(()=>Ye(e.taskGroupsWithTasksList,g,F,d),[g,e.taskGroupsWithTasksList,F,d]),values:n.useMemo(()=>Ye(e.taskGroupsWithTasksList,g,F,d),[g,e.taskGroupsWithTasksList,F,d])}),Z=n.useMemo(()=>{if(r!==Y)return j;const l=[],G=j.map(O=>{const E=O.tasks.filter(I=>{const A=g.selectedTaskIds.includes(I.id)===!0;return A&&l.push(I),A===!1});return{...O,tasks:E}});return G.unshift({groupName:"",isDefault:!1,id:Y,tasks:l}),G},[r,j,g.selectedTaskIds]),pe=n.useCallback(l=>U.includes(Z[l].id)||Z[l].tasks.length===0?100:y.current?.[l]!=null?y.current[l]+Fo.rowGap.value(L):(os*1+ns)*3+as+rs,[U,Z,L]),fe=n.useCallback(l=>{S(l.currentTarget)},[]),le=n.useCallback((l,G)=>{y.current={...y.current,[l]:G},$.current?.resetAfterIndex(0,!0)},[L,$,j]),ue=n.useCallback(l=>{Q(G=>G.includes(l)?G.filter(O=>l!==O):[...G,l]),$.current?.resetAfterIndex(0,!0)},[]),ne=n.useCallback(()=>{S(null)},[]),Ce=n.useCallback(()=>{Q(j.map(l=>l.id)),$.current?.resetAfterIndex(0,!0)},[j]),ee=n.useCallback(()=>{Q([]),$.current?.resetAfterIndex(0,!0)},[]),q=n.useCallback(()=>{N(),$.current?.scrollTo(0),ne()},[ne,N]),Te=n.useCallback(l=>{w(l),i(!0)},[w,i]),de=n.useCallback(()=>{g.selectedTaskIds.length>0?r!==Y?q():c(!0):r===Y?c(!1):r!=null&&m(r,g.existingTaskGroupNamesByGroupId[r])},[g.selectedTaskIds.length,g.existingTaskGroupNamesByGroupId,r,q,c,m]),$e=n.useCallback(()=>{u(null),C()},[C,u]),ye=n.useCallback(l=>{C(),u(l)},[C,u]),je=n.useCallback(()=>{g.defaultTaskGroupId!=null&&v(g.defaultTaskGroupId)},[v,g.defaultTaskGroupId]),be=async(l,G)=>{if(l.includes(nt)){const E=l.split(".")[2],I=j.flatMap(b=>b.tasks).find(b=>b.id===E),A=G[V][ae][E].priority.selectedOption;if(I!=null&&A!=null){const b=lt.find(T=>T.code===A);b!=null&&h(I,{priority:b})}return}if(l.includes(at)){const E=l.split(".")[2],I=j.flatMap(b=>b.tasks).find(b=>b.id===E),A=G[V][ae][E].status.selectedOption;if(I!=null&&A!=null){const b=dt.find(T=>T.code===A);I!=null&&b!=null&&h(I,{status:b})}return}if(l.includes(st)){const E=l.split(".")[2],I=j.flatMap(T=>T.tasks).find(T=>T.id===E),A=j.find(T=>T.tasks.find(te=>te.id===E))?.id,b=G[V][ae][E].assignees.selectedUsers.map(T=>T.userId);A!=null&&b!=null&&I!=null&&h(I,{assignees:b});return}if(l.includes(ot)){const E=l.split(".")[2],I=j.flatMap(T=>T.tasks).find(T=>T.id===E),A=j.find(T=>T.tasks.find(te=>te.id===E))?.id,b=G[V][ae][E].dueDate.date;A!=null&&b!=null&&I!=null&&h(I,{dueDate:b});return}if(l.includes(tt)){const E=l.split(".")[2],I=j.flatMap(T=>T.tasks).find(T=>T.id===E),A=j.find(T=>T.tasks.find(te=>te.id===E))?.id,b=G[V][ae][E].tags.selectedOptions;A!=null&&b!=null&&I!=null&&h(I,{tagIds:b});return}l.includes(xe)&&oe.trigger(l);const O=Vo(l,G,g);p(O)};n.useEffect(()=>{const l=oe.watch((G,{name:O})=>{O!=null&&G!=null&&jt(()=>be(O,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=j.length>1&&g.selectedTaskIds.length>0&&r!==Y,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(De),onSubmit:oe.handleSubmit(de),style:{width:"100%"},children:t.jsx(Qo,{isFooterVisible:me,windowSize:L,children:t.jsx(vt,{children:({height:l,width:G})=>t.jsx(St,{ref:$,outerRef:P,height:l,itemCount:Z.length,itemSize:pe,estimatedItemSize:Lt,itemKey:O=>Z[O].id,width:G,overscanCount:Gt,itemData:{tagList:d,taskGroupsWithTasksList:Z,uiState:W,collapsedGroups:U,userList:e.userList,renameActiveField:r,selectedRowIds:g.selectedTaskIds,existingTaskGroupNamesByGroupId:g.existingTaskGroupNamesByGroupId,onRenameClick:ye,handleOnDragNDrop:a,onCollapseToggle:ue,setRowHeight:le,onTaskManagementRowClick:M,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,onCollapseAll:Ce,onDeleteTaskGroup:Te,onExpandAll:ee,onTimeSpentUpdate:D,onShowToast:z,onCreateTagClick:B},initialScrollOffset:0,children:_o})})})})}),me?t.jsx(Et,{formId:Ve(De),primaryBtn:{label:j.length===1&&g.selectedTaskIds.length>0&&r!==Y?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(_,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsxs(tn,{children:[t.jsx(ct,{count:g.selectedTaskIds.length}),t.jsx(sn,{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(rn,{children:t.jsx(Ie,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(an,{onClick:je})})})}),showPrimaryButton:he===!1,customPrimaryButton:he?t.jsxs(t.Fragment,{children:[t.jsx(Me,{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($s,{taskGroupsList:j,anchorEl:x,groupByKey:W.groupByKey,onCreateNewGroup:q,onExistingGroupSelection:l=>{ne(),v(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:v,setRowHeight:N,onColumnSortConfigChanged:M,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:D,handleOnDragNDrop:z,onRenameClick:B,userList:$,selectedRowIds:x,existingTaskGroupNamesByGroupId:S,onTimeSpentUpdate:y,onShowToast:L,onCreateTagClick:g}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&N(e,h.current.firstElementChild.clientHeight)},[e,h,m,a[e]?.tasks]);const j=n.useCallback(P=>{const F=P.dataTransfer.getData("row");z(F,a[e].id)},[z,e,a]),W=n.useCallback(P=>{P.preventDefault()},[]),U=(P,F)=>{P.dataTransfer.setData("row",F)},Q=()=>{B(a[e].id)};return t.jsx(en,{style:{...d,width:"100%"},ref:h,onDrop:j,onDragOver:W,children:t.jsx(Uo,{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:v,onColumnSortConfigChanged:M,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:D,onExpandAll:f,selectedRowIds:x,userList:$,existingTaskGroupNamesByGroupId:S,onDragStart:U,onRenameClick:Q,onTimeSpentUpdate:y,onShowToast:L,onCreateTagClick:g},a[e].id)})},Uo=({taskGroup:e,tagList:d,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,userList:i,existingTaskGroupNamesByGroupId:c,onRenameClick:C,onTaskManagementRowClick:v,onCollapseToggle:N,onColumnSortConfigChanged:M,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:D,onDragStart:z,onTimeSpentUpdate:B,onShowToast:$,onCreateTagClick:x})=>{const S=ie(),y=S==="medium-regular"||S==="medium-compact"||S==="small"?uo:Wt;return t.jsx(y,{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:D,onExpandAll:f,onCollapseToggle:N,onTaskManagementRowClick:v,onColumnSortConfigChanged:M,onDragStart:z,onRenameClick:C,onTimeSpentUpdate:B,onShowToast:$,onCreateTagClick:x})},Ye=(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:Nt(h),selectedOptions:i.tagIds},[xe]:i.timeSpent}})});const a={[rt]:{[Y]:{[ce]:d.newTaskGroupName,[ke]:[]},...u},[ae]:m};return{[V]:a}},Vo=(e,d,r)=>{if(e.includes(V)){const h=e.split(".")[2];if(e.includes(ce))return e.includes(Y)?{...r,newTaskGroupName:d[V].groupData[h][ce]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:d[V].groupData[h][ce]}};if(e.includes(ke)){const m=At(Rt(Object.values(d[V][rt]),ke)).filter(u=>u!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:m}}}return r},Ko=o.div`
434
434
  display: block;
435
435
  height: 100%;
436
- `,Zo=o.div`
436
+ `,Yo=o.div`
437
437
  width: 100%;
438
438
  height: 100vh;
439
439
  display: flex;
@@ -441,7 +441,7 @@ import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co as xt,al as K,aq as w
441
441
  row-gap: ${s.sp4};
442
442
  background-color: ${e=>e.theme.colors.grey4};
443
443
  overflow: hidden;
444
- `,Yo=o.div`
444
+ `,Zo=o.div`
445
445
  display: flex;
446
446
  width: 100%;
447
447
  height: calc(100% - 60px);
@@ -464,10 +464,10 @@ import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co as xt,al as K,aq as w
464
464
  &:hover {
465
465
  color: ${e=>e.theme.colors.primary};
466
466
  }
467
- `,Qo=o($t)`
467
+ `,Jo=o($t)`
468
468
  margin-top: ${s.sp3};
469
469
  color: ${e=>e.theme.colors.hero};
470
- `,Jo=o.div`
470
+ `,Qo=o.div`
471
471
  /** Subtract top so list can occupy remaining available height */
472
472
  height: ${e=>e.isFooterVisible===!0?"calc(100vh - 152px)":"calc(100vh - 88px)"}; // total - header
473
473
  max-width: 99.9%;
@@ -1,4 +1,4 @@
1
- import{V as t,b3 as _,aD as S,di as B,br as H,o as a,ai as L}from"./index-DVgY55Ab.js";import{a as n}from"./sentry-DMXY90dB.js";import{n as g}from"./mui-CR-wYMmN.js";import{Y as q}from"./core-C5wq1_Bk.js";import{V as U}from"./CollapsableReportTable-CZJ_4MUf-TH_6P-Y_.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]="f54dd051-f1c4-4187-98b2-17dfda8a78da",e._sentryDebugIdIdentifier="sentry-dbid-f54dd051-f1c4-4187-98b2-17dfda8a78da")}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,b3 as _,aD as S,di as B,br as H,o as c,ai as L}from"./index-WEj6FS32.js";import{a as n}from"./sentry-B0WgNUxa.js";import{n as g}from"./mui-BTtN6lbG.js";import{Y as q}from"./core-CIefpDlV.js";import{V as U}from"./CollapsableReportTable-DUo-9gOh-B_gwOhYJ.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]="86b3ffb4-28c3-4aa3-af5f-6053b04af453",e._sentryDebugIdIdentifier="sentry-dbid-86b3ffb4-28c3-4aa3-af5f-6053b04af453")}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,di as B,br as H,o as a,ai as L}from"./index-DVgY55
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: ${c.sp0};
29
+ left: ${c.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,di as B,br as H,o as a,ai as L}from"./index-DVgY55
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: ${c.sp2};
38
+ border-left: ${c.sp0};
39
+ border-right: ${c.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: ${c.sp2};
43
+ border-left: ${c.sp0};
44
+ border-right: ${c.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: ${c.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,di as B,br as H,o as a,ai as L}from"./index-DVgY55
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,[E,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(E.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)})},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:V}),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: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 d=o.startIndex*h;F({x:d,y:0})}S(y,a.highlightedOfSelectedTicks)||C(a.highlightedOfSelectedTicks)},[l,y,a,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:d}=l;x.current?.scrollToItem($.current<=o?o+d-1:o)},[x,l]);const N=u!==!1,P=(o,d,m)=>{f?.(m,o)},D=(o,d)=>{const m=ne(E.x,d.x,l,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,i,r)},V=({index:o,style:d})=>{const m=r[o],{startIndex:v,length:R}=y,Y=o>=v&&o<v+R;return t.jsx("div",{style:{...d},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:V}),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: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};
@@ -1,4 +1,4 @@
1
- import{V as s,o,ai as f,F as p}from"./index-DVgY55Ab.js";import{n}from"./mui-CR-wYMmN.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]="b1f7281b-79ab-4ce2-933f-046b7ce5b51a",e._sentryDebugIdIdentifier="sentry-dbid-b1f7281b-79ab-4ce2-933f-046b7ce5b51a")}catch{}})();const u=n.div`
1
+ import{V as s,o,ai as f,F as p}from"./index-WEj6FS32.js";import{n}from"./mui-BTtN6lbG.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]="b1f7281b-79ab-4ce2-933f-046b7ce5b51a",e._sentryDebugIdIdentifier="sentry-dbid-b1f7281b-79ab-4ce2-933f-046b7ce5b51a")}catch{}})();const u=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{Q as d,V as t,y as n,ai as u,bI as w}from"./index-DVgY55Ab.js";import{n as r}from"./mui-CR-wYMmN.js";import{b as l}from"./TimeframeSwitcher-YCgPbEnk-CJUz-kg1.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]="54b16b1d-019f-4c42-874d-000204674379",e._sentryDebugIdIdentifier="sentry-dbid-54b16b1d-019f-4c42-874d-000204674379")}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 n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=r.div`
1
+ import{J as n,V as t,y as d,ai as u,bI as w}from"./index-WEj6FS32.js";import{n as r}from"./mui-BTtN6lbG.js";import{b as l}from"./TimeframeSwitcher-BYXKRKtc-BTNUudrw.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]="19b583c4-8aa4-410b-af68-4ad505840949",e._sentryDebugIdIdentifier="sentry-dbid-19b583c4-8aa4-410b-af68-4ad505840949")}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{Q as d,V as t,y as n,ai as u,bI as w}from"./index-DVgY55Ab.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=d();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=d();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 I(e){const o=d();return o==="small"||o==="medium-compact"?t.jsx(T,{...e}):t.jsx(v,{...e})}export{I as M};
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 I(e){const o=n();return o==="small"||o==="medium-compact"?t.jsx(T,{...e}):t.jsx(v,{...e})}export{I as M};
@@ -1,19 +1,19 @@
1
- import{aD as M,Q as z,V as t,g as x,u as f,b as T,aY as Q,aN as R,aL as H,o as p,ai as C,b9 as Y,al as F,F as S,aM as X,aS as E,b2 as G,b3 as N,aP as q,aT as U,bQ as W}from"./index-DVgY55Ab.js";import{P as w,a as Z}from"./sentry-DMXY90dB.js";import{F3 as J}from"./zeni-epic-state-BXMuLX_S.js";import{n as g}from"./mui-CR-wYMmN.js";import{A as ee,I as te}from"./ReloadCard-Bf1jxC4B-CjPHohhm.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt--UnjJCr0.js";import{H as k,X as L,Y as P,K as $,O,Q as ne,S as oe}from"./recharts-C3mrSjO2.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]="01d155d9-a0e6-4d06-a9fa-9da8603a8e3f",e._sentryDebugIdIdentifier="sentry-dbid-01d155d9-a0e6-4d06-a9fa-9da8603a8e3f")}catch{}})();const ie=g(E)`
1
+ import{aD as M,J as z,V as t,g as x,u as p,b as T,aY as Q,aN as R,aL as H,o as f,ai as C,b9 as Y,al as F,F as S,aM as X,aS as E,b2 as G,b3 as N,aP as q,aT as J,bQ as U}from"./index-WEj6FS32.js";import{P as w,a as W}from"./sentry-B0WgNUxa.js";import{F3 as Z}from"./zeni-epic-state-DnAAAEmj.js";import{n as g}from"./mui-BTtN6lbG.js";import{A as ee,I as te}from"./ReloadCard-DETUOoLJ-Dww2RtAQ.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-C8GXOUxr.js";import{H as k,X as L,Y as P,K as $,O,Q as ne,S as oe}from"./recharts-BfU_srYC.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]="7efa9362-ad3f-4c1a-95fd-2055edcd5fa7",e._sentryDebugIdIdentifier="sentry-dbid-7efa9362-ad3f-4c1a-95fd-2055edcd5fa7")}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"};
5
5
  width: ${e=>e.width!=null?e.width+"px":"auto"};
6
6
  `,se=g.div``,le=g(C)`
7
7
  color: ${e=>e.theme.colors.hero};
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(W,{pickerValues:e,valueToLabel:i,selectedValue:n,onPickerSelectionChanged:r,optionTextStyle:l})})}const me=g(U)`
8
+ margin: ${f.sp2} ${f.sp0} ${f.sp2} ${f.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:f.sp4}}):t.jsx(re,{style:{marginBottom:f.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(J)`
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(X,{"data-testid":q("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 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(X,{"data-testid":q("dashboard",`${r}-timeframe-${o}`),style:{cursor:"pointer"},dimension:e,onClick:()=>i(l,r),children:t.jsxs(E,{children:[t.jsxs(D,{style:{marginBottom:p[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 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`
17
17
  display: flex;
18
18
  flex-direction: row;
19
19
  flex: 1 1 auto;
@@ -21,18 +21,18 @@ import{aD as M,Q as z,V as t,g as x,u as f,b as T,aY as Q,aN as R,aL as H,o as p
21
21
  align-items: center;
22
22
  height: 100%;
23
23
  color: ${e=>e.theme.colors.hero};
24
- `,pe=g.div`
24
+ `,fe=g.div`
25
25
  display: flex;
26
26
  align-items: center;
27
27
  flex: 4 1 0;
28
- `,fe=g.img`
29
- height: ${p.sp4};
28
+ `,pe=g.img`
29
+ height: ${f.sp4};
30
30
  `,xe=g(C)`
31
- margin-left: ${p.sp2};
31
+ margin-left: ${f.sp2};
32
32
  `,ye=g(Y)`
33
33
  flex: 1 1 0;
34
34
  color: ${e=>e.theme.colors.primary};
35
35
  `,be=g(F)`
36
36
  flex: 1 1 0;
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:R("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?Q("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=[...J],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};
37
+ margin-right: ${f.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(fe,{children:[t.jsx(pe,{src:s.logo,alt:s.accountDescription,loading:"lazy"}),t.jsx(xe,{children:s.accountDescription})]}),t.jsx(ye,{children:"⟶"}),t.jsx(be,{children:R("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?p[0]:p[3],left:i?p[0]:p[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?Q("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};
@@ -1,4 +1,4 @@
1
- import{g as j,Q as B,V as t,bB as P,F as f,aN as b,b3 as S,G as A,o as i,y as E,bP as H,bs as V,u as c,p as z,al as $,aP as F,a$ as T}from"./index-DVgY55Ab.js";import{n}from"./mui-CR-wYMmN.js";import{F3 as D}from"./zeni-epic-state-BXMuLX_S.js";import{E as _,I}from"./TopExCard-LesAF7Ot-CWhGtv9n.js";import{b as M}from"./TimeframeSwitcher-YCgPbEnk-CJUz-kg1.js";import{d as L}from"./NoDataTable-BoAJZxdS-ClNYPP1-.js";import{P as Z,a as o}from"./sentry-DMXY90dB.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./ReloadCard-Bf1jxC4B-CjPHohhm.js";import"./graphic-no-data-l-DU4J8fDt--UnjJCr0.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]="742d0971-4190-46b7-9783-9c120d07a4ca",e._sentryDebugIdIdentifier="sentry-dbid-742d0971-4190-46b7-9783-9c120d07a4ca")}catch{}})();const v="141px",O=i.sp4,N="123px",Q=n(T)`
1
+ import{g as j,J as B,V as t,bB as S,F as x,aN as b,b3 as P,G as A,o as i,y as E,bP as H,bs as V,u as c,p as z,al as $,aP as F,a$ as T}from"./index-WEj6FS32.js";import{n}from"./mui-BTtN6lbG.js";import{F3 as D}from"./zeni-epic-state-DnAAAEmj.js";import{E as _,I}from"./TopExCard-Bs4nI9Q9-C9Jpq9jc.js";import{b as M}from"./TimeframeSwitcher-BYXKRKtc-BTNUudrw.js";import{d as L}from"./NoDataTable-BNZWGvtm-S9Fe9Ovx.js";import{P as Z,a as o}from"./sentry-B0WgNUxa.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./ReloadCard-DETUOoLJ-Dww2RtAQ.js";import"./graphic-no-data-l-DU4J8fDt-C8GXOUxr.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]="189038a4-c95b-42c4-9447-4a2faf18efc9",e._sentryDebugIdIdentifier="sentry-dbid-189038a4-c95b-42c4-9447-4a2faf18efc9")}catch{}})();const v="141px",O=i.sp4,N="123px",J=n(T)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -42,21 +42,21 @@ import{g as j,Q as B,V as t,bB as P,F as f,aN as b,b3 as S,G as A,o as i,y as E,
42
42
  min-width: ${N};
43
43
  text-align: left;
44
44
  margin-left: ${i.sp4};
45
- `;function q({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=Q,{common:{strings:{empty:y}}}=f.getLocalizedStrings(),C=l?.accountDescription?l.accountDescription:y,x=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(X,{"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(G,{style:{cursor:g},children:t.jsx(K,{isClickable:s,onClick:()=>{l?.balance!=null&&a?.(l)},children:b("0,0",l?.balance.available)})})]})}const J=n.div`
45
+ `;function Y({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(X,{"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(G,{style:{cursor:g},children:t.jsx(K,{isClickable:s,onClick:()=>{l?.balance!=null&&a?.(l)},children:b("0,0",l?.balance.available)})})]})}const q=n.div`
46
46
  display: flex;
47
47
  width: 100%;
48
48
  flex-direction: column;
49
- `,U=n.div`
49
+ `,Q=n.div`
50
50
  display: flex;
51
51
  width: 100%;
52
52
  flex-direction: column;
53
- `,Y=n.div`
53
+ `,U=n.div`
54
54
  display: flex;
55
55
  flex: 1 1 auto;
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(J,{children:e?.map((s,r)=>t.jsxs(U,{children:[t.jsx(q,{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(q,{children:e?.map((s,r)=>t.jsxs(Q,{children:[t.jsx(Y,{leftChevron:"collapsed",account:s,onAccountBalanceClick:l}),a(e,r)===!0?t.jsx(U,{}):null]},r))})}const te=Z.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%;
@@ -99,13 +99,13 @@ import{g as j,Q as B,V as t,bB as P,F as f,aN as b,b3 as S,G as A,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
- `,xe=n.div`
102
+ `,fe=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
- `,fe=n.div`
108
+ `,xe=n.div`
109
109
  display: flex;
110
110
  padding: ${i.sp2} ${i.sp0} ${i.sp4} ${i.sp0};
111
111
  `,ue=n.div`
@@ -129,4 +129,4 @@ import{g as j,Q as B,V as t,bB as P,F as f,aN as b,b3 as S,G as A,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=B(),w=[...D],h=_(a.topExpenses.accountsOrdered),{topExTimePeriod:m,topExpenses:y}=a,C=y.total,x=p=>{e.autoCompleteData.autoCompleteText!=null&&e.analytics?.trackSearch(A.Event.search,"Top Expenses",p.type,p.name,e.autoCompleteData.autoCompleteText),e.autoCompleteActions.onAutoCompleteEntity?.(p)};return t.jsxs(he,{children:[t.jsx(P,{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:b("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(S,{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=B(),w=[...D],h=_(a.topExpenses.accountsOrdered),{topExTimePeriod:m,topExpenses:y}=a,C=y.total,f=p=>{e.autoCompleteData.autoCompleteText!=null&&e.analytics?.trackSearch(A.Event.search,"Top Expenses",p.type,p.name,e.autoCompleteData.autoCompleteText),e.autoCompleteActions.onAutoCompleteEntity?.(p)};return t.jsxs(he,{children:[t.jsx(S,{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:b("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(P,{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};
@@ -1,4 +1,4 @@
1
- import{P as Bn,n as Fn,g as Pt,a9 as Wn,Q as ae,F as B,aQ as Zt,dP as Hn,dQ as Gn,cE as Yn,aD as Jn,dR as nn,dS as Zn,V as i,ac as Xn,bB as Qn,dT as Kn,dU as ea,T as oi,dV as zi,aR as ta,y as N,aP as F,dW as an,dX as Te,dY as Oe,dZ as Pe,d_ as Ke,d$ as et,e0 as St,e1 as kt,e2 as tt,e3 as gt,e4 as zt,e5 as At,e6 as Xt,e7 as ee,e8 as ia,e9 as ei,ea as ue,eb as on,ec as pe,ed as sn,aJ as na,ee as Dt,ef as Ai,eg as aa,r as oa,co as sa,o as a,cc as la,eh as ra,u as O,G as wi,p as le,aq as Di,ba as si,e as ca,ei as da,cj as ua,ch as li,cI as st,ej as pa,ek as Ht,aU as ln,cY as ma,el as ha,cf as ga,cg as fa,aN as Le,al as fe,a$ as ya,em as ba,en as rn,eo as Qt,ep as Kt,eq as mi,de as xa,b3 as wa,cs as va,er as Ti,a8 as cn,es as ti,et as ii,eu as dn,cN as un,bS as Oi,ev as hi,dj as gi,ew as Ca,bs as Ia,ex as Ri,ey as $a,ez as Da,ay as Ta,eA as Oa,eB as La,a as pn,eC as mn,bJ as ja,eD as Ei,eE as hn,eF as gn,eG as fn,bH as lt,at as Sa,as as ka,ds as za,b as yn,eH as Aa,bF as Ra,x as Ea,am as Va,l as Pa,aW as vi}from"./index-DVgY55Ab.js";import{a as v,P as Tt}from"./sentry-DMXY90dB.js";import{n as l}from"./mui-CR-wYMmN.js";import{Fu as _a,uu as Na,bE as Et,bD as Vt,bF as qa,c3 as Ua,l8 as Ma,bh as Ba}from"./zeni-epic-state-BXMuLX_S.js";import{x as Vi}from"./LabeledControlledCheckBoxField--EmdYCME-BUoRkObt.js";import{R as Fa}from"./TrendWithTransactions-CK_je__x-C1Qk91i9.js";import{u as Wa,c as Ha,d as Ga,m as Ya}from"./uploadAttachment-DSmux1Yp-Dl4ms4pR.js";import{o as Ja}from"./radio-default-CiSgisfh-CInIhD3e.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./TrendChart-CqxpheW7-DiPHNgeC.js";import"./chartTypes-CXNoxZp_-CJ_wyUtd.js";import"./toCOABalancesWithID-C_7wlYeT-C3P4q5bp.js";import"./toChartData-Dv-QcYgv-C4sd-ifC.js";import"./NoDataChart-CDHiYyiO-DHWgty-U.js";import"./InsightsSection-DcKb1p5B-QoDxUPcZ.js";import"./NavigationDots-DPf5iy8f-DNlf5jCf.js";import"./TransactionList-CGmpQyNM-BGohJsUE.js";import"./BoxItem-DD7d5_ky-D2d9aLr-.js";import"./commonDimensions-i9Qxk1O2-XYIUogON.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]="e5314230-b152-45b0-b305-5a07cced65e0",e._sentryDebugIdIdentifier="sentry-dbid-e5314230-b152-45b0-b305-5a07cced65e0")}catch{}})();const Za={headerMarginTop:new N(O[7],O[8])},Xa=l(fe)`
1
+ import{P as Bn,q as Fn,g as Pt,a9 as Wn,J as ae,F as B,aQ as Zt,dP as Hn,dQ as Gn,cE as Yn,aD as Jn,dR as nn,dS as Zn,V as i,ac as Xn,bB as Qn,dT as Kn,dU as ea,T as oi,dV as zi,aR as ta,y as N,aP as F,dW as an,dX as Te,dY as Oe,dZ as Pe,d_ as Ke,d$ as et,e0 as St,e1 as kt,e2 as tt,e3 as gt,e4 as zt,e5 as At,e6 as Xt,e7 as ee,e8 as ia,e9 as ei,ea as ue,eb as on,ec as pe,ed as sn,aJ as na,ee as Dt,ef as Ai,eg as aa,r as oa,co as sa,o as a,cc as la,eh as ra,u as O,G as wi,p as le,aq as Di,ba as si,e as ca,ei as da,cj as ua,ch as li,cI as st,ej as pa,ek as Ht,aU as ln,cY as ma,el as ha,cf as ga,cg as fa,aN as Le,al as fe,a$ as ya,em as ba,en as rn,eo as Qt,ep as Kt,eq as mi,de as xa,b3 as wa,cs as va,er as Ti,a8 as cn,es as ti,et as ii,eu as dn,cN as un,bS as Oi,ev as hi,dj as gi,ew as Ca,bs as Ia,ex as Ri,ey as $a,ez as Da,ay as Ta,eA as Oa,eB as La,a as pn,eC as mn,bJ as ja,eD as Ei,eE as hn,eF as gn,eG as fn,bH as lt,at as Sa,as as ka,ds as za,b as yn,eH as Aa,bF as Ra,x as Ea,am as Va,l as Pa,aW as vi}from"./index-WEj6FS32.js";import{a as v,P as Tt}from"./sentry-B0WgNUxa.js";import{n as l}from"./mui-BTtN6lbG.js";import{Fu as _a,uu as Na,bE as Et,bD as Vt,bF as qa,c3 as Ua,l8 as Ma,bh as Ba}from"./zeni-epic-state-DnAAAEmj.js";import{x as Vi}from"./LabeledControlledCheckBoxField-CEd7DSmU-mOU-S2fp.js";import{R as Fa}from"./TrendWithTransactions-D4m4sVkf-DJ-5Yugx.js";import{u as Wa,c as Ha,d as Ga,m as Ya}from"./uploadAttachment-B_0cN84g-C7pQHANb.js";import{o as Ja}from"./radio-default-CiSgisfh-CzTG_UVX.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./TrendChart-ClyJQTBF-TLthRW_O.js";import"./chartTypes-n3TS0IBf-DRx7aLxA.js";import"./toCOABalancesWithID-BzzH0Io4-q6KiTxht.js";import"./toChartData-Bl-lEYbQ-Cv_10vbn.js";import"./NoDataChart-BbyxZE2g-CtN5BYbf.js";import"./InsightsSection-D7g00fg7-Bl1k6KMG.js";import"./NavigationDots-BdcVrwsL-D_WEvn6f.js";import"./TransactionList-BYXPQXN1-C2WkgSOj.js";import"./BoxItem-Cr0Y9YBV-C2AawtqJ.js";import"./commonDimensions-6BcP8EhU-CPpjZ-C4.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]="633e9cc7-6eda-4b42-b9a3-438ec31f6cd8",e._sentryDebugIdIdentifier="sentry-dbid-633e9cc7-6eda-4b42-b9a3-438ec31f6cd8")}catch{}})();const Za={headerMarginTop:new N(O[7],O[8])},Xa=l(fe)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Qa=l(fe)`
4
4
  margin-right: ${a.sp1};