@zeniai/web-app-ui 4.14.33-prod → 4.14.34-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 (368) hide show
  1. package/dist/assets/{ACHDetailsPage-DKTSwNyl-TXl1b9xz.js → ACHDetailsPage-iiVBlQka-kJJwShx9.js} +6 -6
  2. package/dist/assets/{AIPerformancePage-BzTlSxeg-BS_hlzNx.js → AIPerformancePage-MBAB5kgB-CllvurBN.js} +1 -1
  3. package/dist/assets/AccountInfoPage-Cz9yoVl8-yEC5AHJo.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-B0ZnsyrQ-KbE96BJf.js → AccountInfoPageContent-j85psx_A-B10pnZIl.js} +2 -2
  5. package/dist/assets/{AccountLockedInfoModal-B6A-nGIq-D-IFTFOu.js → AccountLockedInfoModal-B1JxHllU-zA2mS4xW.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BTmjrd8b-DiiqLtA-.js → AccountReconDetailsDrawerPage-DF-X46_u-DqFdxkfQ.js} +3 -3
  7. package/dist/assets/{AccountRow-C-Iunc36-YQldrlVW.js → AccountRow-DEtntSrL-CJ0B8bgS.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-D6xN5A4_-WA3fSxPL.js → AccountsPromoCardStack-Cvixqb_6-D97qRbqR.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-B6tLAOA_-CrWgXG6W.js → AddAddressForCardDrawer-B1Qfn44J-CPpzlUkA.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-Bw1oz9Y2-DkLHI9hz.js → AddToWalletPage-BLxUsh1Y-BlYpwefQ.js} +1 -1
  11. package/dist/assets/{AddressRoutes-CL0Pq_Ys.js → AddressRoutes-D9ypa9JP.js} +1 -1
  12. package/dist/assets/{AddressScreen-S2Le0Iyl.js → AddressScreen-7cFlirZg.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-BK3PXwnr-D17kQP-y.js → AgingReportsPage-XIzuLRE4-Ci3KQGlf.js} +8 -8
  14. package/dist/assets/{AiCfoScreen-Cg_pdlQK.js → AiCfoScreen-DoYaPaX9.js} +1 -1
  15. package/dist/assets/{AllUserItems-B42zEFpe-CIjlkzgM.js → AllUserItems-BGMZCYUO-D3nrnj9J.js} +4 -4
  16. package/dist/assets/{ApAgingDetailPage-vzW4qF2Y-BD1Qrsku.js → ApAgingDetailPage-B-1gVAu6-Bzjn8P1m.js} +8 -8
  17. package/dist/assets/{AppBasePage-yAU5vW5D-CQC_mBlM.js → AppBasePage-CYjdUgY4-B_GezOYf.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-nnh5cFf7-CD40ny3-.js → AppDrawerContent-CbF8TOjd-CJdJC4Gi.js} +5 -5
  19. package/dist/assets/{ApprovalRulesSettingsPage-B-Y2YjpT-Cmxno3qR.js → ApprovalRulesSettingsPage-RCtygkuw-D7FKTOUR.js} +1 -1
  20. package/dist/assets/{ArAgingChart-CCc6eh55-gFVrqmo_.js → ArAgingChart-ZwWwEBJ3-CYvKQAY1.js} +2 -2
  21. package/dist/assets/{ArAgingDetailPage-CYXVPEzK-DJfFgL4N.js → ArAgingDetailPage-DtqyngrA-dzglT1I2.js} +1 -1
  22. package/dist/assets/{AttachmentView-DqrQDEWc-xCZ214JL.js → AttachmentView-UxkSFZmq-Dr8yZ85U.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-D1_dZg5k-DQ_IxlP9.js → BalancesInsightWithToolTip-Co6ZUc5x-DLuw_h8-.js} +8 -8
  24. package/dist/assets/{BankAccountSection-4vXBKCFA-Clz7a1S8.js → BankAccountSection-DnBVOkJC-Bn2rFs67.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-Dhmxhwx--Yk0j00ZU.js → BankAccountWarningSection-D7OuLiLz-CD3SlEdY.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-z52fh-wH-3DxfIBNE.js → BankConnectionsSettingsPage-BDLTuNLu-BCTZxVaa.js} +13 -13
  27. package/dist/assets/{BillDetailPage-DRpctLxu-DXfbZDoG.js → BillDetailPage-V8us93cj-B0TwX2a_.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-BgvqlrUy.js → BillPayApprovalRoutes-DSmRUBge.js} +1 -1
  29. package/dist/assets/BillPayApprovalRuleDetailPage-C_REwEVS-CztPHOm6.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-HG32jtX9-BUVTGWgu.js → BillPayApprovalRulesPage-C6G_eDX9-C8wM1oCi.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-DwxNDF0k-B5FuLPhY.js → BillPayPromoPage-CTQSknOB-CxSqRwoG.js} +12 -12
  32. package/dist/assets/{BillPayRoutes-YLpt2aCD.js → BillPayRoutes-DUDFuwtX.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-B-kmDrpB-BcgtlVH-.js → BillPaySetUpPage-BmgMLaf--BkQms9Qs.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-CNZyUOpM-CkmyE4GR.js → BillingSettingsPage-IHY3ak0N-CL3RSkEP.js} +4 -4
  35. package/dist/assets/{BillsBulkReviewDrawerPage-DbIDTE51-BfhLnWA9.js → BillsBulkReviewDrawerPage-ZoFahXYa-BH-n-En_.js} +1 -1
  36. package/dist/assets/{BoxItem-CIyMdw2s-C09MUjaB.js → BoxItem-XoWq-tnh-BmrAcTRu.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-DQ34qLUA-DG-QnMwN.js → BusinessVerificationPage-D9HtnNOu-FQn5FW8q.js} +3 -3
  38. package/dist/assets/{BusinessVerificationPageScreen-CXN2pQXQ.js → BusinessVerificationPageScreen-DB2AuUe-.js} +1 -1
  39. package/dist/assets/{BusyIndication-YMYY0Pff-BT75hsR0.js → BusyIndication-BLGcHlgu-d1oE1KKV.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-CN1RN7Tf-D2xaj4U6.js → CardNumberSubText-Cn0EZrNE-tK-yujMO.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-CyYkVa0H-ZVP6lSdv.js → CashbackDetailPage-Bk5ssPnj-C8QC0Hig.js} +9 -9
  42. package/dist/assets/{ChargeCardDetailPage-DFUAF2OM-CMq79ons.js → ChargeCardDetailPage-Ge9Aw7PA-DZlpK6dI.js} +20 -20
  43. package/dist/assets/{ChargeCardListPage-BTHDGtJ6-Cf4tW6na.js → ChargeCardListPage-BNLOoSv3-DV7-d8CD.js} +9 -9
  44. package/dist/assets/{ChargeCardListTable-BiKjkqVs-DmEZHkoe.js → ChargeCardListTable-BoufojYF-Cnvek6YP.js} +26 -26
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-sPGU7qmY-De2tWjhC.js → ChargeCardPaymentHistoryPage-5lUxK8pF-eVmFgfvo.js} +14 -14
  46. package/dist/assets/ChargeCardPromoPage-CKl6K-nr-DnYu005E.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-Q_AcVfPK.js → ChargeCardRoutes-B4WS6JPM.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-DmhPAnYT-CZCQ5HNb.js → ChargeCardSetupPage-Dqoel2Do-DOmmeiiu.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-DUXupPSN-5KsVWQ3X.js → ChargeCardStatementsPage-Dalrj66w-B8hsBg7k.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-C8nbDVSz-KV4EdXpf.js → CheckDepositDrawerPage-mYjv1H0f-Cz8ArAIi.js} +7 -7
  51. package/dist/assets/{CollapsableReportTable-C_bWRP7w-B5XVOChU.js → CollapsableReportTable-CIaa7SIH-BTOs1ROa.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-6LXCxWYP-BUFWf_Jt.js → CompanyOfficerDetailsSection-BSFNYauO-CNbg81GJ.js} +7 -7
  53. package/dist/assets/{CompanyPassportCard-DVJS9xE7-D3yBGMbD.js → CompanyPassportCard-B-mBb9Q5-DTZPiAcJ.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-FJ30paB0-DEw2KSMR.js → CompanyPassportPage-Blyl_Z-c-DaWkc5U5.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-7B6uf7gM.js → CompanyPassportScreen-DzV8epiZ.js} +1 -1
  56. package/dist/assets/{CompleteProfile-D3Im5rsm-UkElY7yx.js → CompleteProfile-ySk9I1Ut-Co_b7X5p.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-BJrOe5Fg-zHdUBtAM.js → ConfettiBurst-CeAc4Ily-fAc6vAhM.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-LV19LrUf.js → ConnectionAuthScreen-XNPx_XcE.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CIRoVGoS.js → ConstrainedInnerElement-CgdnMeoA-CQrlu1iR.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-C8dK3_XQ-B7BE5vbO.js → CreateOrEditVendorPage-BRkqkhfw-6tasCpNK.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-Dp5mS2Hc-CdWmI3zd.js → CreditCardPaymentDrawerPage-oUIakAtz-DpasI8GY.js} +6 -6
  62. package/dist/assets/{CurrencySelectField-BAQ5aoHk-CLSx3dj2.js → CurrencySelectField-CSPhUjwG-QMsL0N8I.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-D8T1akbN-CqBRQYAW.js → CustomerOnboardingActivationPage-CoOyWe6_-Dn0m9Q2e.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-CPpHJyPJ.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-iH-ugk6E.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DSvvHqR_-DDxDa7To.js → CustomerOnboardingDetailPageSkeleton-CWNyUuRp-PCUtxDIZ.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-CSLO3M7E-DfrADWrN.js → CustomerOnboardingNoStepsPage-DWx46Z6R-Ba9gs9mp.js} +17 -17
  68. package/dist/assets/{CustomerOnboardingPage-weza3x24-89JMVlty.js → CustomerOnboardingPage-D86Sj2KP-BtfnNu-9.js} +3 -3
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-3YH4y1e1-aePXzh9B.js → CustomerOnboardingProductSuitePage-Bo0LFveG-BnqGrm-5.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-CIx1-GM_.js → CustomerOnboardingRoutes-Cii6REat.js} +1 -1
  71. package/dist/assets/{Dashboard-Bpuy-Pez-BVeBVlwV.js → Dashboard-DQLJzr16-BXSSEaEy.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-1p79NBF9-DWbFRbgX.js → DashboardReportPage-CwfTMXY5-CyyBZOOf.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-0ryBDIPF.js → DashboardRoutes-DPYTQsIc.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-CBg2tWHO-Cyc1B4hB.js → DashboardSidebarBackgroundAnimation-CUZGIAxW-Cr2AFDv0.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-CfqvxZPL.js → DefaultTenantHome-DShfBjyT.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-DlztlGZL-CezsIYfK.js → DepositAccTransactionItem-Ci-LxLsk-Ba_0JQSS.js} +5 -5
  77. package/dist/assets/{DepositAccTransactionListPage-BO43c3Uz-Zcue0IvK.js → DepositAccTransactionListPage-RG7P8vQS-DbfwdIAf.js} +3 -3
  78. package/dist/assets/{DomesticWireDetailScreen-Dt7o6kAb.js → DomesticWireDetailScreen-DdRhRffk.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-SEql3I0P-CwtZcgDr.js → DomesticWireDetailsPage-DsPFUOcE-CNM83Rj8.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-PhrwF2iZ-BOGlUpUv.js → DownloadOverlay-BjTf50Dz-DEzcOvm5.js} +14 -14
  81. package/dist/assets/{DrawerPage-Bf3AP3Lj-CuJ6OWfo.js → DrawerPage-0OFinUxM-CdrQ9TzW.js} +1 -1
  82. package/dist/assets/{DrawerScreen-BoLS3cEF.js → DrawerScreen-BgWdy-zB.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-B-rBzonN-CS3sxfIN.js → EditPeoplePage-BKcOmYVv-D9y240Gc.js} +5 -5
  84. package/dist/assets/{EditReimbursementDetailPage-CUiIHNgT-HAw3keDO.js → EditReimbursementDetailPage-BFIHhQbx-CqZ1c7qf.js} +1 -1
  85. package/dist/assets/EntityDetailPage-D8FzsqNk-DxrfKvnb.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes-BToXXZKQ.js → EntityDetailRoutes-jLGbxUaz.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-mXeSjiuZ-BvfGPJV_.js → EntitySummarySection-ORJ2pE_k-BgNQmv_X.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-DQCoy1O9-DKKO1Jrc.js → ExpenseAutomationOverviewPage-Dzf7j2zV-gCWUW27x.js} +3 -3
  89. package/dist/assets/{ExpenseAutomationPage-BeAzQ7Qx-C48GQ06z.js → ExpenseAutomationPage-BRsKGeoM-BXGFdyb-.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-GuaeYvX3.js → ExpenseAutomationRoutes-D9vGLTe3.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-C-isOU1b-DYMWp0fl.js → ExpressPayPage-DlBFtMaR-C8b9Izur.js} +6 -6
  92. package/dist/assets/{FeaturePreviewPage-Cyre9YzV-DesOgA9M.js → FeaturePreviewPage-C31F3Gmz-DHInFJNz.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-DKVtqlmL.js → FeaturePreviewScreen-BUEayEBU.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-DZNWzSvo-CEWgMRa8.js → FollowStepsSection-BVT2K7mu-DYEgY8Jh.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-Dp--ugNc-CR5AVKkp.js → GlobalReviewListPage-0cZe1hh0-BPLQx8Xp.js} +1 -1
  96. package/dist/assets/{InformationCardStack-D7naFDX0-CJPEq7Jn.js → InformationCardStack-t8eELRLU-Fl6DqL5O.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-DexUl4h--Bl8IGBl8.js → InsightsCardStack-CJBPZbzD-DGmN2b_X.js} +6 -6
  98. package/dist/assets/InsightsSection-tUBzsCix-DIQLSRNu.js +27 -0
  99. package/dist/assets/{IntegrationsSettingsPage-hFTe3wiP-BbqUP31g.js → IntegrationsSettingsPage-Ce0yKUWI-Dbrmpo2j.js} +3 -3
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-DLkE5bXp-CVUjdU_d.js → InternationalWireSwiftDetailsPage-BzR-rKaL-DTkvcjTH.js} +9 -9
  101. package/dist/assets/{InternationalWireVerificationPage-DYGjEqNz-OdDFheAC.js → InternationalWireVerificationPage-7tCXdJ3Y-BOpLh7TD.js} +10 -10
  102. package/dist/assets/{InviteFormPage-CGAsWQn7-BQX11ciA.js → InviteFormPage-DePVC0CH-TfpQcbbS.js} +1 -1
  103. package/dist/assets/{InvitePageListView-BSPE9f03-CSYqsy-x.js → InvitePageListView-ChbvDKgQ-CxYzSS3J.js} +20 -20
  104. package/dist/assets/{InvitePeoplePage-ANvLB-mB-CwQaZHmv.js → InvitePeoplePage-DJiEzIeY-YtuIrr11.js} +2 -2
  105. package/dist/assets/{InvoiceUploadSection-OGMswY7c-JnVeVq04.js → InvoiceUploadSection-BjNMjhQR-B0WmHo8s.js} +12 -12
  106. package/dist/assets/{IssueChargeCardPage-sLInqAsW-Cl_MHNbe.js → IssueChargeCardPage-4xbGf5Ut-CG64H4WO.js} +11 -11
  107. package/dist/assets/{LabeledAddressValue-DBJ236tZ-DU9mrQ8B.js → LabeledAddressValue-Czt7QvSJ-ezeCCYD9.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-CAr-IiTa-Coj2vGIo.js → LabeledAddressValueField-Dl3atH92-CBuLNDhF.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-BdWZgcQc-CSRUO8Mc.js → LabeledControlledCheckBoxField-DT_nxhPN-DrCJem7I.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-C6z1v9S1-0fn76-gA.js → LabeledCountryMultiSelectField-BnljZpX0-CrALbnep.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-Dhi0n2ky-C4cpdoPU.js → LabeledCreatableSingleSelectField-CiInq9yD-B0A_NESz.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-B3QSq1eM-CQ4OV_q7.js → LabeledDocumentField-Ceb8vgVH-BzsX4WXj.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-B39DlufR-OSl5UgSA.js → LabeledDropDownFormattedTextField-B98gNWTE-rwd9doXk.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-CY2mGhJG-DsHOn9-h.js → LabeledEmailInputField-C53P9fJl-BS-n0yyf.js} +1 -1
  115. package/dist/assets/{LabeledNameField-CYN5kdQi-C2knR9hx.js → LabeledNameField-BdVztq_8-Cc3_vzCa.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-CBXzDXMd-Be-7ukpv.js → LabeledSingleSelectField-sjDjhxfQ-DngJSR1z.js} +1 -1
  117. package/dist/assets/{LabeledText-GEbY3-bB-a8-4xrHX.js → LabeledText-CFJSoGtK-hLpZiX2C.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-jZMMsugI.js → LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-CajsyJVF.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-DJfE1qQb-C9jHsUlw.js → LabeledZeniRolesDropDownField-CQiP2rEh-DpkAVgvo.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-B2ROo3VS-CD9ycgeo.js → LinkJETransactionPage-ANY7Ns42-CApOUFWk.js} +12 -12
  121. package/dist/assets/{LockCardPage-D2dUPnNL-CjHU-BzP.js → LockCardPage-0piclOz3-FnbsGUI5.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-DTtl3SIc-aNudwoSx.js → LowBalancePopup-CplxkRHP-B1Znghgy.js} +1 -1
  123. package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-Ee7s37LW.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-ByrEtbtY.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-BpTLsET9.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-B_At_wkT.js → MagicLinkRoutes-B8zheK-B.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-CB2sh4Tk.js → MagicLinkSignInScreen-qtJuxxon.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-Ctt1pLiv-B1_3zL4I.js → MagicLinkSuccessPage-BA1LfhVb-By8HxESz.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-CtsQ_c44-DzfsAoNb.js → MagicLinkTitleSection-DLdaV8WG-BuvestSo.js} +1 -1
  130. package/dist/assets/MailingDetailsSection-BNVPaGFt-De-HK05Q.js +21 -0
  131. package/dist/assets/{MobileAppDrawer-D9B1riEd.js → MobileAppDrawer-CKcdPSDd.js} +1 -1
  132. package/dist/assets/{MoreMenuButton--MxUyTqX-DxfOtpkn.js → MoreMenuButton-DrAQ635T-BL2i_PBG.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-6ltpx62E-vyWVBa3l.js → MyBankConnectionsSettingsPage-BiDvyO_G-BqsVQnsn.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-CwDedcXl-BfNnXoNe.js → MyPendingActivationChargeCardListPage-Bb4_b9o6-DszbbtUq.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-Bmhu2lrK-BTNTNmEK.js → MyProfileSettingsPage-nY_eDqfm-aRf1sJOL.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-jqJCHGvR-dfmiqqqq.js → NavBarWithPicker-Dr5XHgP5-CjhNLCso.js} +1 -1
  137. package/dist/assets/{NavigationArrow-DY_BhITD-BQwiFtSS.js → NavigationArrow-DT82hMh--BnPRXoeX.js} +1 -1
  138. package/dist/assets/{NavigationDots-Kh5ODrCQ-DBa52_8H.js → NavigationDots-CwCZ9EAa-ovWuwmnJ.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-BYTROFvX-Bjv2RB8-.js → NewGlobalMerchantPage-D1lxnByE-D4tZVWQn.js} +1 -1
  140. package/dist/assets/{NoDataChart-CuiKDcAB-BwyLAmy8.js → NoDataChart-DCTRXLc7-C1K6noeS.js} +1 -1
  141. package/dist/assets/{NoDataTable-BpH8puX--CRikf6dL.js → NoDataTable-D8Xw5pAY-C0LyDZgH.js} +1 -1
  142. package/dist/assets/{NotFoundPage-BKvCYyvc-C4zGt610.js → NotFoundPage-B_zPUigU-CFd5sZ-j.js} +8 -8
  143. package/dist/assets/{NotFoundScreen-DGF4ewvh.js → NotFoundScreen-CJqSMVfb.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-BOCajdcJ.js → NotificationRoutes-j0M-AVSa.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-F2xXUCSE-Exk6EXhh.js → NotificationSettingsPage-aKLRiMp--Vy4Thl7S.js} +4 -4
  146. package/dist/assets/{NotificationsListConfig-C9r-O2kH-YO8sPuy3.js → NotificationsListConfig-CVEetkBc-BGp3geYy.js} +1 -1
  147. package/dist/assets/{NotificationsPage-CZZ9GTVy-BlxqoNKc.js → NotificationsPage-DEw6V83J-SkJPHzO4.js} +14 -14
  148. package/dist/assets/{OpExByVendorPage-Crvcsx0U-DV1gdTtR.js → OpExByVendorPage-DJMov6Ux-CzqjhunS.js} +5 -5
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-Bb0zlii5.js → OverlayContainerPage-BG9y5C0t-CuyJ8LZt.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-CkDCt5NK-BXsQyBSk.js → PandLWithForecastPage-RBTh1bFk-BwnpORkG.js} +7 -7
  151. package/dist/assets/{PandLWithForecastRoutes-DUjvSQn1.js → PandLWithForecastRoutes-J6LmjJ1B.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D1ZDh1GY-CQR83EXw.js → PaymentAccountSetupBillingAddressSection-D-kQI4nd-BoSQv9rJ.js} +1 -1
  153. package/dist/assets/{PeoplePage-D2CtRlrd-CyfJaF0_.js → PeoplePage-BEc-Oss7-DoZuQeL3.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-DWTFCJOs.js → PeopleRoutes-C0vyagIg.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-DAqkD2US.js → PerformanceRoutes-zXK3SrhB.js} +1 -1
  156. package/dist/assets/{Preview-BOuv1ApV.js → Preview-COp40RlO.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-sNagRI0c-CXROneWv.js → ProductsCarousel-BRo0P4GW-Bu_QsU8W.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BUk-u73S-CdxIVd7h.js → PromoBaseCards-BrXJEufN-C4zOhiIC.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-C1rEAxUE-Bns4Q1dD.js → QBOConnectionDialog-BIg9Iais-CzdJGXEh.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-BzZBkC05.js → QBOConnectionScreen-DROpihDX.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-iQJCHR-K-CCZ1VagE.js → QBOSetupSection-DDoUJ7L6-qtD1b_uv.js} +1 -1
  162. package/dist/assets/{ReferralListScreen-CRs7Pk4b.js → ReferralListScreen-Bkepb1RS.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-XjY3gDt6.js → ReimbursementApprovalRoutes-B_Qw-_-n.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BPIKZ9v1-CWKcEqcV.js → ReimbursementApprovalRuleDetailPage-CP0muUGK-B40CL0Ys.js} +3 -3
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CxSdKHi9.js → ReimbursementApprovalRuleDetailScreen-Ud4xo4RE.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-AE810nQZ-CChCQ3Ja.js → ReimbursementApprovalRulesPage-BpVWq3rk-pDKAG_dA.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-CYuZJL_J-BWOIR-bJ.js → ReimbursementDetailPage-pCg86_Ty-BwD3VA7C.js} +5 -5
  168. package/dist/assets/{ReimbursementPromoPage-CaxjSwrz-DwHvaE_-.js → ReimbursementPromoPage-BW6icjG5-CwTaRQC0.js} +6 -6
  169. package/dist/assets/{ReimbursementRoutes-CvpKnwwj.js → ReimbursementRoutes-kGf8y_Pc.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-Bw77MBHF-CscUt_mO.js → ReimbursementSetUpPage-B6OhWEWH-CGJsBL7Z.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B-svIloS-B1Lp4xHp.js → ReimbursementsBulkReviewDrawerPage-DmDoqEZh-DV9AjOeD.js} +1 -1
  172. package/dist/assets/{ReloadCard-D5kxTfzJ-f2yTtdPG.js → ReloadCard-DIFXZM9U-DuI83eQl.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-BZU8yltx-DSV7knFo.js → ReportTableViewSelector-BsIDwouQ-DLCe8EfR.js} +1 -1
  174. package/dist/assets/{ReportsPage-CdN9MEVy-DTQ_WR-z.js → ReportsPage-BFTuYQt2-BHmgPSl5.js} +5 -5
  175. package/dist/assets/{ReportsRoutes-CuJzeSSZ.js → ReportsRoutes-DaW9sMcm.js} +1 -1
  176. package/dist/assets/{RevenueChart-B_RMeweH-BaW-ee-H.js → RevenueChart-BoFq3ebd-B1Jmsn3P.js} +12 -12
  177. package/dist/assets/{ReviewDetailsPage-a73YIZSO-DpkHrzHu.js → ReviewDetailsPage-6kCQzaHm-Cn6HDwAl.js} +1 -1
  178. package/dist/assets/{ReviewOverlay-Ubmz06uP-BJLc1VC5.js → ReviewOverlay-Dhb-kL6G-BfSpCmKQ.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-DR53o9JA.js → RewardsRoutes-ZPHX_bEI.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-BYO1YG6N-BFoZQpPA.js → RoleWithToolTip-BfM8Ltz4-DGj9-oQ7.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-vgqilDC8-DDQ83sDS.js → ScheduleDetailsFixedAssetsPage-Ccewwmwc-BRbRv99B.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-DdEeFryA-DsuykU2q.js → ScheduleDetailsPage-D4LK83qQ-C27rzfV2.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-poNEzbqS-CnUEqaUu.js → ScheduleSequenceTable-BZR2cL6z-BUCxLw4U.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-Cj2iuXVM.js → ScreenRoutes-DUg5kVGG.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-BSOGwHCj-l5hcQr16.js → SetUpAccountSection-CxjYbrXu-D_xZkN4u.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-BxSbNmrP.js → SettingsRoutes-BrYKFKqU.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-zQ3NX2lR.js → SetupPagesScreen-BDAmd8Nv.js} +1 -1
  188. package/dist/assets/{SignIn-q4J9wRx8-HA_1dqj8.js → SignIn-CVmtPGKL-BjZd_WFj.js} +6 -6
  189. package/dist/assets/{SignInScreen-CELs0Aza.js → SignInScreen-BwyzU0FU.js} +1 -1
  190. package/dist/assets/{SignOutScreen-Drnn4I9w.js → SignOutScreen-DIMehMGL.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-DKRkSADM-B4S5gwAW.js → SpendManagementListViewPage-BLjP9T8h-zDO_JYhV.js} +4 -4
  192. package/dist/assets/{SpendManagementPerTabPage-Cd30NnXU-Doh8LRUx.js → SpendManagementPerTabPage-Ck4brjun-DcKQnpZe.js} +21 -21
  193. package/dist/assets/{SpendManagementSection-CPBOh_J5-Cx9bexj6.js → SpendManagementSection-DAqR2c98-Cn1QTtEj.js} +1 -1
  194. package/dist/assets/{StatementItem-NyOORj5f-DBo43N4H.js → StatementItem-B_iG99XI-BTCPeQVA.js} +2 -2
  195. package/dist/assets/{StatementsPage-Cp77wyFS-DaxbhsSQ.js → StatementsPage-DcKziEfZ-Ckb4n5eQ.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-DN-yYdli-Cu3f5bfq.js → StatusSwitcher-BI-dgnrK-D9HsJYc3.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-D1LNrhUn-CAQ9zzl5.js → SubTabSwitcher-BpNI5Wke-J6S5GWya.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-DdyAYe1e-CEynHwH0.js → SuccessAnimation-AojDorqX-DelQrrOf.js} +1 -1
  199. package/dist/assets/SummaryCard-HW-1WXN9-DmGROxw-.js +1 -0
  200. package/dist/assets/{TaskDetailPage-DXTLNhtf-Bv_CIrcO.js → TaskDetailPage-Cwe193JO-B3mrz9Ub.js} +1 -1
  201. package/dist/assets/{TaskListScreen-DF7HvN9h.js → TaskListScreen-BkKSoC_l.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-BaLJR4-7-CcdtHiNd.js → TaskManagementPage-Bz1uP5hK-CqiPZXfA.js} +28 -28
  203. package/dist/assets/{TaskRoutes-DxF_jRUO.js → TaskRoutes-BGbHdjST.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-CkgGEwEw-Cje_LjEs.js → TimeRangeSwitcher-oORYeFzN-Bcz5e_ib.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-B8fpnYS8-9PZp4BSK.js → TimeframeSwitcher-JcJSbn0--fOirrXtT.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-DwFo6jY4-D0eIiKbV.js → TimeframeSwitcherWithToggle-BEZU-KDj-P0Jp8ujn.js} +2 -2
  207. package/dist/assets/{TopExCard-PayAZZY--Bj-aVuk-.js → TopExCard-CF6z0JWk-aJxcszKV.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-Mp2KcYf6-C_nzfxYJ.js → TopExDetailPage-DrcKlFuy-oABFUcUd.js} +3 -3
  209. package/dist/assets/{TransactionActivityLogPage-CnmL_hUz-DdEnXJ8f.js → TransactionActivityLogPage-BB4q0jan-DmLyvTEw.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-Bqlnmn8Y-JVQYT9QH.js → TransactionDetailPage-DRG_qosz-BtS_tJXW.js} +22 -22
  211. package/dist/assets/{TransactionDetailRoutes-Dsu-ghiL.js → TransactionDetailRoutes-BqT5fc1q.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-8GuKlcKa.js → TransactionDetailScreen-CAd4Ee0D.js} +1 -1
  213. package/dist/assets/{TransactionList-BOmlsfpv-qlUBYIHt.js → TransactionList-iw4pyMYF-DcV99PuO.js} +9 -9
  214. package/dist/assets/{TransactionListBig-CaMT-rq_-7hp5f6-i.js → TransactionListBig-BljAUwAB-CgBr6OF2.js} +6 -6
  215. package/dist/assets/TransactionListPage-ReGTmF43-DlTPQjmK.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-DVQtuZtB.js → TransactionListRoutes-BhvTNW6M.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DlXuiPC5-DR6QT97k.js → TransactionVendorDetailPage-DXuYIj-p-BYLZbSnP.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-C2VcssbM-Cu4oX3M3.js → TransferDrawerPage-C3q8h8Zy-C9Bu2kIu.js} +10 -10
  219. package/dist/assets/{TreasuryOverviewPage-DyyoGY23-C8QrAhwL.js → TreasuryOverviewPage-DqjFEV9B-CYFYYxZY.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-B9Hf7oxZ-exH2M4Kq.js → TreasuryPromoPage-ByeK0W_5-CfOqREZ0.js} +14 -14
  221. package/dist/assets/{TreasuryRoutes-NYBhe4Sz.js → TreasuryRoutes-CP_kclcP.js} +1 -1
  222. package/dist/assets/TreasuryStatementsPage-BjGwvMFL-CyFCCkuV.js +58 -0
  223. package/dist/assets/{TreasuryTaxLetterPage-BcTBr9x9-DmWWAi8g.js → TreasuryTaxLetterPage-DwLyqS86-DUS4dLDe.js} +4 -4
  224. package/dist/assets/{TrendChart-BvXDrgUJ-DaPNeQha.js → TrendChart-Dgh_21FN-DldNMNLW.js} +2 -2
  225. package/dist/assets/{TrendWithTransactions-RCpzdPf3-xFzViS9J.js → TrendWithTransactions-BgIPapHk-yF3cpnF6.js} +6 -6
  226. package/dist/assets/{UncategorizedAccountsMappingPage-B1m3iXh5-CWDJigyo.js → UncategorizedAccountsMappingPage-DIIJcGrj-DpxmnOrf.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-lVg_8mQ4-BqTrIaLn.js → UnitIntegrationPage-DIOZhQOZ-D5vOldwB.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-DrAWxBXn-CvQ8tJ-8.js → UploadAdditionalDocumentOverlay-qrcEQmkz-DEAH1rR2.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-C8m_OJEH-CGjK9uo8.js → Vendor2FAPopup-C58w6vC7-B6Whv7tb.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-BbxRwrEv-BMYPvmSB.js +1 -0
  231. package/dist/assets/{VendorDetailPage-Y9_hsgjs-Bs6JWCG0.js → VendorDetailPage-CEQFcNHr-CX9v8TJZ.js} +11 -11
  232. package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-CcLCcIv4.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-CPevpiim-Dbk4Mp2s.js → VendorFiling1099EditablePage-Dl7jZYBV-DZmwa4DL.js} +6 -6
  234. package/dist/assets/{VendorFirstReviewPage-CXftFNl_-_y9eg1t7.js → VendorFirstReviewPage-yVbtg_tG-vnisIb8R.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-88NtGE3e-DhB1w2yC.js → VendorInternationalWireDetailsPage-DNDv_s8G-f9eGCIqU.js} +6 -6
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-CeTlsL7U.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-DorsKXyL-DqIvcWpM.js → VendorsAccountsSection-Cscbgqrx-Zty_2Das.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-KueNgBM0.js → VendorsRoutes-0dl7Omuv.js} +1 -1
  239. package/dist/assets/{VerifyDevice-DAym8rUN-M7g6H0jm.js → VerifyDevice-D1vsUSdJ-hlyDWjEh.js} +5 -5
  240. package/dist/assets/{VideoPlayer-53OvOC7l-RvSvHksJ.js → VideoPlayer-TlEy-oD0-DnsdEgv4.js} +1 -1
  241. package/dist/assets/{VideoPopup-v9quqdro-7jf9bldH.js → VideoPopup-3DD646kG-BEeSChGm.js} +4 -4
  242. package/dist/assets/{WiseConfirmationScreen-ZA8zS_nU.js → WiseConfirmationScreen-BW6hT1Lt.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-CFEGqW5l-typbF83j.js → ZeniAccountDetailPage-BbsXzuHD-DIIfMLh3.js} +14 -14
  244. package/dist/assets/{ZeniAccountListViewPage-j85TO5tM-DjfKcyrL.js → ZeniAccountListViewPage-lmuVUpKS-DSNsPUPM.js} +21 -21
  245. package/dist/assets/ZeniAccountNavBarPieces-CQhwBKXD-CSe8C_Ya.js +33 -0
  246. package/dist/assets/{ZeniAccountPromoPage-DeHmh4My-DJyZmW1d.js → ZeniAccountPromoPage-CXEb9tRE-DBFLOPLE.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-_rESdYK7.js → ZeniAccountRoutes-CAjxqnTS.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-ofkQR72l-DbUwbU98.js → ZeniAccountSetupPage-DPhYQu6u-B9IBOs3Q.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-CXTN4TcP.js → ZeniAccountStatementScreen-I7iDP5eY.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-Ct7MPW2X-Dr9Hk39M.js → ZeniAvatar-CCOD249Z-DHdRsr5H.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-CmCqmJmV-DYheSP80.js → ZeniCopyright-pvaggW6x-DhIa5hzn.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-RNJ2ukKC-CtKXessM.js → ZeniDatePicker-EhzRlpFY-Bagds5F3.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-BpfqM032-BwOaWtqI.js → ZeniTransferAmountSlider-Dlyom9dD-CMHS5vTr.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-BLU8hIq_.js → accountMappingHelper-DeA_Vzuk.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-Cv2WBwY-.js → add-to-wallet-DgdBD8_G-DSVHJQZ8.js} +1 -1
  256. package/dist/assets/{analytics-DuMT4wpV.js → analytics-hnA26KoH.js} +1 -1
  257. package/dist/assets/{analyticsHelper-qtejXlXH-d-w7uTbl.js → analyticsHelper-AeOsAjMK-B2elKvEV.js} +1 -1
  258. package/dist/assets/{analyticsHelper-CtwnuYac.js → analyticsHelper-C6d1RQIz.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-DWItiKv4.js → arrow-south-east-round-PEovUgvH-C7VEDzJz.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-DVkawdL2.js → auto-transfer-rule-mbafm5D3-CvacsS1B.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-VXKNqIyu.js → avatar-Dz7aEm3d-BBjMxgr_.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-v-zvGYkf.js → bank-letter-BOcVjN6J-BDC6rOv1.js} +1 -1
  263. package/dist/assets/{calculateSize-CzpGCfNE-DkEz7M5T.js → calculateSize-D-LzlJzs-DNCT8MgL.js} +1 -1
  264. package/dist/assets/{chartTypes-BqRsL6eJ-DnPOTdta.js → chartTypes-BLsP7rGF-Cjsgj_un.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-DTBXHHGh.js → clock-CJkylEKt-CTyWvBpx.js} +1 -1
  266. package/dist/assets/common-CAmBErdt-BVIeK7KA.js +1 -0
  267. package/dist/assets/{commonDimensions-CzWWgDTA-CkwNwI_N.js → commonDimensions-DIm7kTtR-DqNzhcTL.js} +1 -1
  268. package/dist/assets/{commonTypes-CF6UyWSv-CFnrHGdI.js → commonTypes-B3mnx2x_-C4g4js89.js} +1 -1
  269. package/dist/assets/{core-Dbakk1VU.js → core-DuCBl3U1.js} +1 -1
  270. package/dist/assets/{dash.all.min-C8PYPQo3.js → dash.all.min-DJBtyB-p.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-EYVZFaGG.js → decodeURIComponentSafe-B5ZlGWkv.js} +1 -1
  272. package/dist/assets/{dnd-CoZK9h43.js → dnd-BPJHdlPA.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-PE8nVeMR.js → dollar-round-D18u7nlm-C91Luiym.js} +1 -1
  274. package/dist/assets/{downloadPdf-BFFM3Hea-2RXX_qzA.js → downloadPdf-B5WrL0K1-C6-xl2en.js} +1 -1
  275. package/dist/assets/{empty-C3KqHyA9.js → empty-BcYVHaFA.js} +1 -1
  276. package/dist/assets/{empty-CjUOQS3C.js → empty-UwS7bCyx.js} +1 -1
  277. package/dist/assets/{epic-BGBLm-VW.js → epic-DAzl9zmQ.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-KJVxW4YT.js → filter-cZIFUNvj-CU1t2o_9.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-BAO89gke.js → getLocaleForTenant-B4PeqeqG.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-Bfn5R-O9.js → gift-box-Cmt9OgIZ-CTJlvd1T.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BFYI8sfE.js → graphic-no-data-l-DU4J8fDt-Gma2xMWq.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DgQOtljq.js → graphic-no-data-net-burn-l-CzmycA0m-D0m0NfVz.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-DOXeNqAW.js → handshake-BPg58FML-DVgbSASX.js} +1 -1
  284. package/dist/assets/{helper-COxPEvgL-DjqGilVF.js → helper-BVESv00--BfyFxQUD.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-BPv_vjnI.js → hyperlink-DQyCeXx2-i9FNT3rr.js} +1 -1
  286. package/dist/assets/{index-BG4JRo3L.js → index-5deWfiyy.js} +1 -1
  287. package/dist/assets/{index-dCAlFLzb.js → index-BO-jmwXl.js} +1 -1
  288. package/dist/assets/{index-DD0lDka6.js → index-C0E4etuS.js} +1 -1
  289. package/dist/assets/{index-BdbGtEP2.js → index-CqCwZ9Bo.js} +1 -1
  290. package/dist/assets/{index-CH6Xem9w.js → index-TFe4MZqS.js} +1 -1
  291. package/dist/assets/{index-iSEGT9xi.js → index-bPu7mlA1.js} +7 -7
  292. package/dist/assets/{lexical-Dk5TD4lX.js → lexical-Ct26b5l4.js} +1 -1
  293. package/dist/assets/{liveblocks-DdnYk2Co.js → liveblocks-UDiQs1XL.js} +1 -1
  294. package/dist/assets/{lottie-DBYzZfO9.js → lottie-DyJgmWhI.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-CvJBQQvj.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CcuLqf_I-D5MLuJek.js → mapSectionWithAcOnlyToTreeNode-BIiMj0sc-ByugsxAl.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-Ngbliu4M.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-DAlg0uz7.js +1 -0
  299. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cql9mEn3-acr__MkP.js → mapTimeframeBalancesToTreeNode-CyO5pm8k-BJN9BucH.js} +1 -1
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-DcnMdcWy.js → mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-CbmdzU04.js} +1 -1
  301. package/dist/assets/{media-player-C20hpg6W.js → media-player-Bc2nje5G.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-DnxgWofF.js → money-2cg1MuG4-BqWS5D8h.js} +1 -1
  303. package/dist/assets/{mui-Bg5IRLA2.js → mui-CvPZa6D0.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-XQ_ZOvdt.js → page-detail-CWX5S47F-OEFqGWSt.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-DKN2ai-q.js → page-summary-D7_VQHwN-CzEvyMZF.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-C6CCGzAz.js → panelSelectedMixin-Cddsb26L-CcaPMjiP.js} +1 -1
  307. package/dist/assets/{pathToGoBack-BLk7pE4i.js → pathToGoBack-BdyVSZWc.js} +1 -1
  308. package/dist/assets/{pdf-2PUMrtF-.js → pdf-LR9rRMEe.js} +3 -3
  309. package/dist/assets/{pdf-lib-DlaDOnMS.js → pdf-lib-B2ywHAlU.js} +1 -1
  310. package/dist/assets/{plaid-DCRMdnUX.js → plaid-C4PyP873.js} +1 -1
  311. package/dist/assets/{pusher-DjPz7AVp.js → pusher-Cr29ksza.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-B6m2tow9.js → radio-default-CiSgisfh-CvJrfQYK.js} +1 -1
  313. package/dist/assets/{react-DPKlRGpY.js → react-B7DTlDjT.js} +1 -1
  314. package/dist/assets/{react-BRYNjAhe.js → react-BKUY-Nle.js} +1 -1
  315. package/dist/assets/{react-BpovbSPi.js → react-BpPHxptQ.js} +1 -1
  316. package/dist/assets/{react-BtvC2hyM.js → react-CC2kbVB0.js} +1 -1
  317. package/dist/assets/{react-C1B10AWi.js → react-D8ws7sMn.js} +1 -1
  318. package/dist/assets/{react-BtDFM6dw.js → react-DgBIg1r8.js} +1 -1
  319. package/dist/assets/{react-mssibIlX.js → react-S5J_OrT1.js} +3 -3
  320. package/dist/assets/{react-Cu5T4aA9.js → react-p9LV8Gbe.js} +1 -1
  321. package/dist/assets/{recharts-Bztd37V0.js → recharts-7AyWv7E-.js} +1 -1
  322. package/dist/assets/{routePaths-BxZ6qL2m.js → routePaths-rBllTjJq.js} +1 -1
  323. package/dist/assets/{sentry-DwNPvXBL.js → sentry-uXR4_KRo.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-BW1Lfeco.js → shield-DOlUxcFf-Bahpx3SF.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-BsKlbYVQ.js → spend-limit-D6SyboD4-lpJ_hpRn.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-BWMF0py6-CojDIytn.js +1 -0
  327. package/dist/assets/{toChartData-CWgd8E5c-vscPIv0G.js → toChartData-BkubFDq8-CyY5jx0a.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-BWj2A57R.js → transaction-placeholder-CpOwZAMG-Bn-8TRqx.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-CGq1U42f.js → undo-b_3XZ5CX-Bwi1P-k2.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-C6sn8W4Z.js → unlock-BPWn2I5L-BihjIVk1.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-DPTiDKCC.js → upload-reimbursement-receipt-O2N8vcO7-BrS_KRA7.js} +1 -1
  332. package/dist/assets/{uploadAttachment-D1ybl0Fy-DXUbgDE0.js → uploadAttachment-CzgakLtr-D9IiqYxz.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-b3VtRXVk.js → uploadReceipts-CIgkuVpu-7sbogiaq.js} +1 -1
  334. package/dist/assets/{url-Cxz1BfkB.js → url-DK_QsAj3.js} +1 -1
  335. package/dist/assets/{url-DIYU8sPo.js → url-DnJ-MRbo.js} +1 -1
  336. package/dist/assets/{useDeviceId-TTbuzrLv.js → useDeviceId-D6CPIX5r.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-BftSmmiq.js → useInitialThreadRequest-D7H0jhrF.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-Cv3WvBA2.js → useLongPress-GCK2COYQ-BV6rxzXX.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-DX-ha8_c.js → usp-line-BBd1wKwW-DYAH7Au1.js} +1 -1
  340. package/dist/assets/{utils-D8l6svaX.js → utils-DXqO5lkM.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-B9lAl4_T.js → withTransactionSidePanel-BzT1kjjx.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-DQF5EBoo.js → zeni-epic-state-BDdTNPzg.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-CG_yKzSn.js → zeni-icon-only-Cldmtd10.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/AccountInfoPage-CrEEthms-CShh3lti.js +0 -18
  347. package/dist/assets/BillPayApprovalRuleDetailPage-CJtb4oOG-CtgAcmuQ.js +0 -27
  348. package/dist/assets/ChargeCardPromoPage-6JwKgWli-3qEX8CR5.js +0 -222
  349. package/dist/assets/CustomerOnboardingAuthScreen-7W5EArl5.js +0 -1
  350. package/dist/assets/CustomerOnboardingContainerPage-CGFQ4G4y-UuDDkSt5.js +0 -1
  351. package/dist/assets/EntityDetailPage-CvLzsrUE-Dr8rmeD7.js +0 -18
  352. package/dist/assets/InsightsSection-D9PJ55E6-Br2S_mzj.js +0 -27
  353. package/dist/assets/MagicLinkACHDetailsPage-BC6_cyO0-BH-mUM2m.js +0 -1
  354. package/dist/assets/MagicLinkDomesticWireDetailsPage-CdG5oCPl-BJlbALp7.js +0 -1
  355. package/dist/assets/MagicLinkInternationalWireDetailsPage-C046BNUz-B5CdjKd2.js +0 -1
  356. package/dist/assets/MailingDetailsSection-DiZwQ9QV-DS2ZtXrV.js +0 -21
  357. package/dist/assets/SummaryCard-DgIPSt4y-9lOT4ZI5.js +0 -1
  358. package/dist/assets/TransactionListPage-D_dgwnFp-ChsX6wWw.js +0 -35
  359. package/dist/assets/TreasuryStatementsPage-DOzJzfTG-D2BPEanX.js +0 -58
  360. package/dist/assets/VendorACHDetailsPage-JhO6KtMC-Vnc2qc0g.js +0 -1
  361. package/dist/assets/VendorDomesticWireDetailsPage-D0RsDHxf-BA4CpK_P.js +0 -1
  362. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BTh-VP1b-r4FuxoOX.js +0 -1
  363. package/dist/assets/ZeniAccountNavBarPieces-Bv34Vsqj-DzYraOow.js +0 -33
  364. package/dist/assets/common-BxjzMhDO-DjrSaNg9.js +0 -1
  365. package/dist/assets/mapLoadingInProgressToTreeNode-COOJxneh-C62pjQWQ.js +0 -1
  366. package/dist/assets/mapSpacerToTreeNode-Ci5bdH6P-1RH2DZQ7.js +0 -1
  367. package/dist/assets/mapTimeframeBalancesToTreeNode-CCZ9A7A6-C2Dl8nFW.js +0 -1
  368. package/dist/assets/toCOABalancesWithID-B70YK7cw-Cqus0iZx.js +0 -1
@@ -1,4 +1,4 @@
1
- import{y as K,e as v,T as ei,c8 as ti,V as t,a_ as ii,A as oi,a9 as si,o as i,E as $e,O as B,gu as ai,x as _,ht as ni,w as Ie,L as ri,B as st,bN as at,an as nt,cO as rt,bV as lt,iP as dt,m as w,a as li,cM as he,ah as di,d as ci,M as ct,f as S,C as hi,bg as z,cc as ue,fy as pe,iQ as fe,_ as ht,h as ut,cR as E,eX as pt,b as me,ba as ui,l as Z,hH as pi,H as U,f8 as fi,ad as je,au as ge,iR as mi,b8 as ft,iS as ze,aT as gi}from"./index-iSEGT9xi.js";import{a as g}from"./sentry-DwNPvXBL.js";import{n,c as P}from"./mui-Bg5IRLA2.js";import{GH as xi,GI as bi,bG as X,bs as y,F3 as mt}from"./zeni-epic-state-DQF5EBoo.js";import{R as wi}from"./SubTabSwitcher-D1LNrhUn-CAQ9zzl5.js";import{d as gt}from"./useLongPress-GCK2COYQ-Cv3WvBA2.js";import{A as xt,t as bt,a as wt,E as yt,L as $t,I as jt}from"./NotificationsListConfig-C9r-O2kH-YO8sPuy3.js";import"./pdf-2PUMrtF-.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.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]="6f424828-746a-48cb-abd4-83c50220fc98",e._sentryDebugIdIdentifier="sentry-dbid-6f424828-746a-48cb-abd4-83c50220fc98")}catch{}})();function yi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:r,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),f=K(),p=g.useCallback(m=>{d(m.id)},[d]),x=g.useCallback(m=>{h(m.id)},[h]);return e.length===0?null:t.jsxs($i,{windowSize:u,children:[t.jsx(ni,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${f.colors.grey3}`},onTabChange:p}),t.jsx(wi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:r,onTabChange:x})]})}const $i=n.div`
1
+ import{y as K,e as v,T as ei,c8 as ti,V as t,a_ as ii,A as oi,a9 as si,o as i,E as $e,O as B,gu as ai,x as _,ht as ni,w as Ie,L as ri,B as st,bN as at,an as nt,cO as rt,bV as lt,iP as dt,m as w,a as li,cM as he,ah as di,d as ci,M as ct,f as S,C as hi,bg as z,cc as ue,fy as pe,iQ as fe,_ as ht,h as ut,cR as E,eX as pt,b as me,ba as ui,l as Z,hH as pi,H as U,f8 as fi,ad as je,au as ge,iR as mi,b8 as ft,iS as ze,aT as gi}from"./index-bPu7mlA1.js";import{a as g}from"./sentry-uXR4_KRo.js";import{n,c as P}from"./mui-CvPZa6D0.js";import{GH as xi,GI as bi,bG as X,bs as y,F3 as mt}from"./zeni-epic-state-BDdTNPzg.js";import{R as wi}from"./SubTabSwitcher-BpNI5Wke-J6S5GWya.js";import{d as gt}from"./useLongPress-GCK2COYQ-BV6rxzXX.js";import{A as xt,t as bt,a as wt,E as yt,L as $t,I as jt}from"./NotificationsListConfig-CVEetkBc-BGp3geYy.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.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]="cdfa3864-30e0-4033-a570-eb58db59d3f3",e._sentryDebugIdIdentifier="sentry-dbid-cdfa3864-30e0-4033-a570-eb58db59d3f3")}catch{}})();function yi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:r,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),f=K(),p=g.useCallback(m=>{d(m.id)},[d]),x=g.useCallback(m=>{h(m.id)},[h]);return e.length===0?null:t.jsxs($i,{windowSize:u,children:[t.jsx(ni,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${f.colors.grey3}`},onTabChange:p}),t.jsx(wi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:r,onTabChange:x})]})}const $i=n.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -89,7 +89,7 @@ import{y as K,e as v,T as ei,c8 as ti,V as t,a_ as ii,A as oi,a9 as si,o as i,E
89
89
  border-radius: ${i.sp2};
90
90
  flex-shrink: 0;
91
91
  background-color: ${e=>e.readStatus==="unread"?S.info:"transparent"};
92
- `,Se={emptyRowItemSectionWidth:new _(120,200,250,330,400),emptyLastRowItemSectionWidth:new _(w[6],50,60,w[11],120)},Vi=()=>{const e=v();return t.jsxs(Yi,{windowSize:e,children:[t.jsx(ve,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:Se.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(ve,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:Se.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(ve,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:Se.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Yi=n.div`
92
+ `,Se={emptyRowItemSectionWidth:new _(120,200,250,330,400),emptyLastRowItemSectionWidth:new _(w[6],50,60,w[11],120)},Vi=()=>{const e=v();return t.jsxs(Wi,{windowSize:e,children:[t.jsx(ve,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:Se.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(ve,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:Se.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(ve,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:Se.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Wi=n.div`
93
93
  display: flex;
94
94
  align-items: center;
95
95
  justify-content: space-between;
@@ -120,7 +120,7 @@ import{y as K,e as v,T as ei,c8 as ti,V as t,a_ as ii,A as oi,a9 as si,o as i,E
120
120
  flex: 1 1 auto;
121
121
  justify-content: ${e=>e.isLastItem?"flex-end":"start"};
122
122
  width: ${e=>e.isLastItem?"10%":Nt.valuePercentage(e.windowSize)};
123
- `,Wi=()=>{const e=v();return t.jsxs(Ji,{windowSize:e,children:[t.jsxs(qi,{children:[t.jsx(z,{width:180,height:w[4]}),t.jsx(z,{width:180,height:w[4]})]}),t.jsx(Qi,{children:t.jsx(z,{width:60,height:18})})]})},Ji=n.div`
123
+ `,Yi=()=>{const e=v();return t.jsxs(Ji,{windowSize:e,children:[t.jsxs(qi,{children:[t.jsx(z,{width:180,height:w[4]}),t.jsx(z,{width:180,height:w[4]})]}),t.jsx(Qi,{children:t.jsx(z,{width:60,height:18})})]})},Ji=n.div`
124
124
  display: flex;
125
125
  align-items: baseline;
126
126
  justify-content: space-between;
@@ -158,7 +158,7 @@ import{y as K,e as v,T as ei,c8 as ti,V as t,a_ as ii,A as oi,a9 as si,o as i,E
158
158
  align-items: baseline;
159
159
  flex-direction: row;
160
160
  justify-content: end;
161
- `,Xi=()=>v()==="small"?t.jsx(Wi,{}):t.jsx(Vi,{}),Ki={marginLeft:new _(w[2],w[5],w[7])},Zi=()=>t.jsxs(eo,{children:[t.jsx(Ce,{numberOfRows:5}),t.jsx(Ce,{numberOfRows:3})]}),Ce=({numberOfRows:e})=>{const o=v();return t.jsxs(to,{windowSize:o,children:[t.jsx(oo,{children:t.jsx(z,{width:w[12],height:Ie.standardRegular.lineHeightValue})}),t.jsx(io,{children:[...Array(e)].map(s=>t.jsx(Xi,{},he()))})]})},eo=n.div`
161
+ `,Xi=()=>v()==="small"?t.jsx(Yi,{}):t.jsx(Vi,{}),Ki={marginLeft:new _(w[2],w[5],w[7])},Zi=()=>t.jsxs(eo,{children:[t.jsx(Ce,{numberOfRows:5}),t.jsx(Ce,{numberOfRows:3})]}),Ce=({numberOfRows:e})=>{const o=v();return t.jsxs(to,{windowSize:o,children:[t.jsx(oo,{children:t.jsx(z,{width:w[12],height:Ie.standardRegular.lineHeightValue})}),t.jsx(io,{children:[...Array(e)].map(s=>t.jsx(Xi,{},he()))})]})},eo=n.div`
162
162
  display: block;
163
163
  min-height: 100%;
164
164
  flex-direction: column;
@@ -262,7 +262,7 @@ import{y as K,e as v,T as ei,c8 as ti,V as t,a_ as ii,A as oi,a9 as si,o as i,E
262
262
  align-items: flex-start;
263
263
  width: 100%;
264
264
  padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
265
- `,xo=n(Dt)``,bo=e=>v()==="small"?t.jsx(mo,{...e}):t.jsx(uo,{...e}),{commentsAndNotifications:{notifications:{message:wo}}}=B.getLocalizedStrings(),Fe={rowGap:new _(w[0],w[5],w[5])},yo=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:r,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:h,onUpdateScrollYOffset:u,onFetchNotificationGroups:f,onNotificationClick:p})=>{const x=v(),m=g.useRef(null),k=g.useRef({});g.useEffect(()=>{m.current?.resetAfterIndex(0,!0)},[x,m,e]),g.useEffect(()=>{m.current?.scrollTo(c)},[d]);const N=g.useCallback(C=>{if(k.current?.[C]!=null){const F=x==="small"&&a===!1&&C===e.length-1?Fe.rowGap.value("medium-regular"):Fe.rowGap.value(x);return k.current[C]+F}return 3*(xt*Tt.value(x)+bt)+wt+yt},[x,k,e]),D=g.useCallback((C,F)=>{k.current={...k.current,[C]:F},m.current?.resetAfterIndex(0,!0)},[x,m,e]),I=g.useCallback(()=>{f()},[f]),b=g.useCallback(()=>{},[]),T=st(C=>u(C),1e3,{trailing:!0}),j=C=>!a||C<e.length,H=g.useCallback(()=>a&&!s?I():b(),[a,s,I,b]),R=a?e.length+1:e.length;return t.jsx(jo,{children:t.jsx(ko,{windowSize:x,children:s&&e.length===0?t.jsx(Zi,{}):s===!1&&e.length===0?t.jsx(at,{message:wo.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(So,{windowSize:x,children:t.jsx(nt,{children:({height:C,width:F})=>t.jsx(rt,{isItemLoaded:j,itemCount:$t,loadMoreItems:H,children:({onItemsRendered:V,ref:G})=>t.jsx(lt,{ref:Y=>{G(Y),m.current=Y},height:C,itemCount:R,itemData:{notificationGroups:e,users:o,sectionId:r,checkBoxMode:l,isDisabled:h,isItemLoaded:j,setRowHeight:D,onNotificationClick:p},onItemsRendered:V,itemSize:N,width:F,style:{willChange:"auto"},overscanCount:jt,onScroll:({scrollOffset:Y})=>{T(Y)},initialScrollOffset:c,children:$o})})})})})})},$o=({index:e,style:o,data:s})=>{const{notificationGroups:a,users:r,sectionId:l,checkBoxMode:c,isItemLoaded:d,isDisabled:h,setRowHeight:u,onNotificationClick:f}=s,p=g.useRef(null),x=v();if(g.useEffect(()=>{p.current?.firstElementChild!=null&&u(e,p.current.firstElementChild.clientHeight)},[e,p,x,a[e]?.notifications]),d(e)===!0){const m=a[e],k=le(m);return t.jsx(Ge,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:p,children:t.jsx(bo,{notificationGroup:m,sectionId:`${l}.${k}`,checkBoxMode:c,isDisabled:h,users:r,onNotificationTileClick:f})},k)}return t.jsx(Ge,{ref:p,style:{...o,paddingBottom:i.sp0},children:t.jsx(Ce,{numberOfRows:3})},he())},jo=n.div`
265
+ `,xo=n(Dt)``,bo=e=>v()==="small"?t.jsx(mo,{...e}):t.jsx(uo,{...e}),{commentsAndNotifications:{notifications:{message:wo}}}=B.getLocalizedStrings(),Fe={rowGap:new _(w[0],w[5],w[5])},yo=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:r,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:h,onUpdateScrollYOffset:u,onFetchNotificationGroups:f,onNotificationClick:p})=>{const x=v(),m=g.useRef(null),k=g.useRef({});g.useEffect(()=>{m.current?.resetAfterIndex(0,!0)},[x,m,e]),g.useEffect(()=>{m.current?.scrollTo(c)},[d]);const N=g.useCallback(C=>{if(k.current?.[C]!=null){const F=x==="small"&&a===!1&&C===e.length-1?Fe.rowGap.value("medium-regular"):Fe.rowGap.value(x);return k.current[C]+F}return 3*(xt*Tt.value(x)+bt)+wt+yt},[x,k,e]),D=g.useCallback((C,F)=>{k.current={...k.current,[C]:F},m.current?.resetAfterIndex(0,!0)},[x,m,e]),I=g.useCallback(()=>{f()},[f]),b=g.useCallback(()=>{},[]),T=st(C=>u(C),1e3,{trailing:!0}),j=C=>!a||C<e.length,H=g.useCallback(()=>a&&!s?I():b(),[a,s,I,b]),R=a?e.length+1:e.length;return t.jsx(jo,{children:t.jsx(ko,{windowSize:x,children:s&&e.length===0?t.jsx(Zi,{}):s===!1&&e.length===0?t.jsx(at,{message:wo.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(So,{windowSize:x,children:t.jsx(nt,{children:({height:C,width:F})=>t.jsx(rt,{isItemLoaded:j,itemCount:$t,loadMoreItems:H,children:({onItemsRendered:V,ref:G})=>t.jsx(lt,{ref:W=>{G(W),m.current=W},height:C,itemCount:R,itemData:{notificationGroups:e,users:o,sectionId:r,checkBoxMode:l,isDisabled:h,isItemLoaded:j,setRowHeight:D,onNotificationClick:p},onItemsRendered:V,itemSize:N,width:F,style:{willChange:"auto"},overscanCount:jt,onScroll:({scrollOffset:W})=>{T(W)},initialScrollOffset:c,children:$o})})})})})})},$o=({index:e,style:o,data:s})=>{const{notificationGroups:a,users:r,sectionId:l,checkBoxMode:c,isItemLoaded:d,isDisabled:h,setRowHeight:u,onNotificationClick:f}=s,p=g.useRef(null),x=v();if(g.useEffect(()=>{p.current?.firstElementChild!=null&&u(e,p.current.firstElementChild.clientHeight)},[e,p,x,a[e]?.notifications]),d(e)===!0){const m=a[e],k=le(m);return t.jsx(Ge,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:p,children:t.jsx(bo,{notificationGroup:m,sectionId:`${l}.${k}`,checkBoxMode:c,isDisabled:h,users:r,onNotificationTileClick:f})},k)}return t.jsx(Ge,{ref:p,style:{...o,paddingBottom:i.sp0},children:t.jsx(Ce,{numberOfRows:3})},he())},jo=n.div`
266
266
  display: block;
267
267
  background-color: ${e=>e.theme.colors.grey4};
268
268
  height: 100%;
@@ -279,7 +279,7 @@ import{y as K,e as v,T as ei,c8 as ti,V as t,a_ as ii,A as oi,a9 as si,o as i,E
279
279
  top: ${i.sp0};
280
280
  left: ${i.sp0};
281
281
  box-sizing: border-box;
282
- `,{common:{in:vo,strings:Ee},dateFormat:Co,commentsAndNotifications:{notifications:{actionStrings:{notifications:O}}}}=B.getLocalizedStrings(),Mt=e=>{e.sort((r,l)=>r.createTime.isAfter(l.createTime)===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const r of St){let l=0,c=0,d=y().subtract(Math.min(y().date(),l),"d").startOf("d"),h=y().subtract(Math.min(y().date(),c),"d").endOf("d"),u=1;switch(r){case"today":case"yesterday":l=r==="today"?0:1,c=r==="today"?0:1,d=y().subtract(Math.min(y().date(),l),"d").startOf("d"),h=y().subtract(Math.min(y().date(),c),"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:r,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&y().date()>2&&(d=y().subtract(Math.min(y().date()-1,8),"d").startOf("d"),h=y().subtract(2,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:r,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&y().date()>9&&(d=y().startOf("M").startOf("d"),h=y().subtract(9,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:r,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const f=y().subtract(u,"month").startOf("M").startOf("d"),p=y().subtract(u,"month").endOf("M").endOf("d");u++,a=se(o,f,p),o=a.remainingData,s.push({start:f,end:p,type:r,notifications:a.singleGroup})}}}return s},se=(e,o,s)=>{const a=[],r=e.map(l=>dt(o,s,l.createTime)?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>l.createTime.isAfter(c.createTime)===!0?-1:1),{singleGroup:a,remainingData:r}},To=e=>{const{eventData:{activities:o}}=e;let s=O.newActivity;if(o.length>0){const a=o[0].activityType,r=o[0].metadata.eventStatus;switch(a){case"task_archived":s=O.archive;break;case"task_deleted":s=O.delete;break;case"task_activities":s=O.activities;break;case"task_assigned":s=O.assign;break;case"task_created":s=O.create;break;case"task_due":s=r!=null?(l=>{let c=O.newActivity;return c=l.code==="in_progress"?O.due.replace("__task_status__",ze(l.name.toLocaleLowerCase())):O.due.replace("__task_status__",vo.toLocaleLowerCase().concat(Ee.space,ze(l.name.toLocaleLowerCase()))),c})(r):O.dueTomorrow;break;case"task_overdue":s=O.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Co.visual.MMMDFormat)??Ee.empty);break;case"task_status_updated":s=O.statusUpdate}}return s},At=new _(3,2,1,1,1),Ot=new _(w[8],33,33,33,35),ce={lineClamp:At,sectionWidth:Ot},Pt="notification-tile",{common:{and:Ue,other:No,others:Io,texts:Lo,timeStrings:Ro,strings:A,tags:_o}}=B.getLocalizedStrings(),zo=({sectionId:e,notificationData:o,isHighlighted:s=!1,style:a,onNotificationTileClick:r})=>{const{status:l,notificationId:c,eventData:{entitiyId:d,activities:h},createTime:u}=o;return t.jsxs(Fo,{notificationStatus:l,isHighlighted:s,style:a,"data-testid":me(e,`${Pt}-${c}`),onClick:()=>{r(c,d,l,h.length>0?h[0].activityType:void 0)},children:[t.jsx(Do,{...o}),t.jsx(Oo,{...o}),t.jsx(Bo,{...o}),t.jsx(Po,{createTime:u,notificationStatus:l})]})},Bt=e=>{const{status:o,eventData:{title:s}}=e;return t.jsx(Vo,{notificationStatus:o,children:s||A.hyphen})},Do=e=>{const o=v();return t.jsx(Ho,{windowSize:o,children:t.jsx(Bt,{...e})})},Mo=e=>{const{eventData:{activities:o}}=e;if(o.length>0&&o[0].activityType==="task_status_updated"){const s=o[0].metadata.updates.find(a=>a.type==="code_name_pair"&&a.field==="status");if(s?.oldValue.codeNamePair!=null&&s.newValue.codeNamePair!=null)return t.jsxs(Wo,{children:[t.jsx(He,{backgroundColor:De(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(Jo,{}),t.jsx(He,{backgroundColor:De(s.newValue.codeNamePair),children:s.newValue.codeNamePair.name})]})}return null},Ao=e=>{const{status:o,eventData:{authors:s,activities:a}}=e,r=s.length;if(a[0].activityType==="task_due"||a[0].activityType==="task_overdue"||a[0].activityType==="task_status_updated")return null;let l=t.jsxs(J,{className:"userText",notificationStatus:o,children:[A.atTheRate,Lo.zeniAI,A.space]});return r>0&&(l=r>2?t.jsxs(t.Fragment,{children:[t.jsxs(J,{className:"userText",notificationStatus:o,children:[A.atTheRate,E(s[0],!1),A.space]}),Ue,t.jsxs(J,{className:"userText",notificationStatus:o,children:[A.space,r-1,A.space,Io,A.space]})]}):r===2?t.jsxs(t.Fragment,{children:[t.jsxs(J,{className:"userText",notificationStatus:o,children:[A.atTheRate,E(s[0],!1),A.space]}),Ue,t.jsxs(J,{className:"userText",notificationStatus:o,children:[A.space,s.length===2?A.atTheRate+E(s[1],!1):No,A.space]})]}):t.jsxs(J,{className:"userText",notificationStatus:o,children:[A.atTheRate,E(s[0],!1),A.space]})),l},Ft=e=>t.jsxs(t.Fragment,{children:[t.jsx(Ao,{...e}),To(e),t.jsx(Mo,{...e})]}),Oo=e=>{const o=v(),{eventData:{activities:s}}=e;return t.jsx(Uo,{windowSize:o,statusUpdate:s.length>0&&s[0].activityType==="task_status_updated"&&s[0].metadata.updates.find(a=>a.field==="status")!=null,children:t.jsx(Ft,{...e})})},Gt=e=>{const{createTime:o,notificationStatus:s}=e,a=vt(o.toDate());return t.jsxs(t.Fragment,{children:[t.jsx(Yo,{isNewNotification:a===Ro.justNow,children:a}),t.jsx(Qo,{notificationStatus:s})]})},Po=e=>{const o=v();return t.jsx(Go,{windowSize:o,children:t.jsx(Gt,{...e})})},Et=e=>{const{eventData:{activities:o}}=e;return o[0].activityType==="task_overdue"?t.jsx(fi,{tagTitle:_o.overdue,textColor:{color:new je(S.alert),backgroundColor:new je("transparent"),borderColor:new je(S.alert)},showLoader:!1}):t.jsx(qo,{})},Bo=e=>{const o=v();return t.jsx(Eo,{windowSize:o,children:t.jsx(Et,{...e})})},Fo=n.div`
282
+ `,{common:{in:vo,strings:Ee},dateFormat:Co,commentsAndNotifications:{notifications:{actionStrings:{notifications:O}}}}=B.getLocalizedStrings(),Mt=e=>{e.sort((r,l)=>r.createTime.isAfter(l.createTime)===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const r of St){let l=0,c=0,d=y().subtract(Math.min(y().date(),l),"d").startOf("d"),h=y().subtract(Math.min(y().date(),c),"d").endOf("d"),u=1;switch(r){case"today":case"yesterday":l=r==="today"?0:1,c=r==="today"?0:1,d=y().subtract(Math.min(y().date(),l),"d").startOf("d"),h=y().subtract(Math.min(y().date(),c),"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:r,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&y().date()>2&&(d=y().subtract(Math.min(y().date()-1,8),"d").startOf("d"),h=y().subtract(2,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:r,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&y().date()>9&&(d=y().startOf("M").startOf("d"),h=y().subtract(9,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:r,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const f=y().subtract(u,"month").startOf("M").startOf("d"),p=y().subtract(u,"month").endOf("M").endOf("d");u++,a=se(o,f,p),o=a.remainingData,s.push({start:f,end:p,type:r,notifications:a.singleGroup})}}}return s},se=(e,o,s)=>{const a=[],r=e.map(l=>dt(o,s,l.createTime)?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>l.createTime.isAfter(c.createTime)===!0?-1:1),{singleGroup:a,remainingData:r}},To=e=>{const{eventData:{activities:o}}=e;let s=O.newActivity;if(o.length>0){const a=o[0].activityType,r=o[0].metadata.eventStatus;switch(a){case"task_archived":s=O.archive;break;case"task_deleted":s=O.delete;break;case"task_activities":s=O.activities;break;case"task_assigned":s=O.assign;break;case"task_created":s=O.create;break;case"task_due":s=r!=null?(l=>{let c=O.newActivity;return c=l.code==="in_progress"?O.due.replace("__task_status__",ze(l.name.toLocaleLowerCase())):O.due.replace("__task_status__",vo.toLocaleLowerCase().concat(Ee.space,ze(l.name.toLocaleLowerCase()))),c})(r):O.dueTomorrow;break;case"task_overdue":s=O.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Co.visual.MMMDFormat)??Ee.empty);break;case"task_status_updated":s=O.statusUpdate}}return s},At=new _(3,2,1,1,1),Ot=new _(w[8],33,33,33,35),ce={lineClamp:At,sectionWidth:Ot},Pt="notification-tile",{common:{and:Ue,other:No,others:Io,texts:Lo,timeStrings:Ro,strings:A,tags:_o}}=B.getLocalizedStrings(),zo=({sectionId:e,notificationData:o,isHighlighted:s=!1,style:a,onNotificationTileClick:r})=>{const{status:l,notificationId:c,eventData:{entitiyId:d,activities:h},createTime:u}=o;return t.jsxs(Fo,{notificationStatus:l,isHighlighted:s,style:a,"data-testid":me(e,`${Pt}-${c}`),onClick:()=>{r(c,d,l,h.length>0?h[0].activityType:void 0)},children:[t.jsx(Do,{...o}),t.jsx(Oo,{...o}),t.jsx(Bo,{...o}),t.jsx(Po,{createTime:u,notificationStatus:l})]})},Bt=e=>{const{status:o,eventData:{title:s}}=e;return t.jsx(Vo,{notificationStatus:o,children:s||A.hyphen})},Do=e=>{const o=v();return t.jsx(Ho,{windowSize:o,children:t.jsx(Bt,{...e})})},Mo=e=>{const{eventData:{activities:o}}=e;if(o.length>0&&o[0].activityType==="task_status_updated"){const s=o[0].metadata.updates.find(a=>a.type==="code_name_pair"&&a.field==="status");if(s?.oldValue.codeNamePair!=null&&s.newValue.codeNamePair!=null)return t.jsxs(Yo,{children:[t.jsx(He,{backgroundColor:De(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(Jo,{}),t.jsx(He,{backgroundColor:De(s.newValue.codeNamePair),children:s.newValue.codeNamePair.name})]})}return null},Ao=e=>{const{status:o,eventData:{authors:s,activities:a}}=e,r=s.length;if(a[0].activityType==="task_due"||a[0].activityType==="task_overdue"||a[0].activityType==="task_status_updated")return null;let l=t.jsxs(J,{className:"userText",notificationStatus:o,children:[A.atTheRate,Lo.zeniAI,A.space]});return r>0&&(l=r>2?t.jsxs(t.Fragment,{children:[t.jsxs(J,{className:"userText",notificationStatus:o,children:[A.atTheRate,E(s[0],!1),A.space]}),Ue,t.jsxs(J,{className:"userText",notificationStatus:o,children:[A.space,r-1,A.space,Io,A.space]})]}):r===2?t.jsxs(t.Fragment,{children:[t.jsxs(J,{className:"userText",notificationStatus:o,children:[A.atTheRate,E(s[0],!1),A.space]}),Ue,t.jsxs(J,{className:"userText",notificationStatus:o,children:[A.space,s.length===2?A.atTheRate+E(s[1],!1):No,A.space]})]}):t.jsxs(J,{className:"userText",notificationStatus:o,children:[A.atTheRate,E(s[0],!1),A.space]})),l},Ft=e=>t.jsxs(t.Fragment,{children:[t.jsx(Ao,{...e}),To(e),t.jsx(Mo,{...e})]}),Oo=e=>{const o=v(),{eventData:{activities:s}}=e;return t.jsx(Uo,{windowSize:o,statusUpdate:s.length>0&&s[0].activityType==="task_status_updated"&&s[0].metadata.updates.find(a=>a.field==="status")!=null,children:t.jsx(Ft,{...e})})},Gt=e=>{const{createTime:o,notificationStatus:s}=e,a=vt(o.toDate());return t.jsxs(t.Fragment,{children:[t.jsx(Wo,{isNewNotification:a===Ro.justNow,children:a}),t.jsx(Qo,{notificationStatus:s})]})},Po=e=>{const o=v();return t.jsx(Go,{windowSize:o,children:t.jsx(Gt,{...e})})},Et=e=>{const{eventData:{activities:o}}=e;return o[0].activityType==="task_overdue"?t.jsx(fi,{tagTitle:_o.overdue,textColor:{color:new je(S.alert),backgroundColor:new je("transparent"),borderColor:new je(S.alert)},showLoader:!1}):t.jsx(qo,{})},Bo=e=>{const o=v();return t.jsx(Eo,{windowSize:o,children:t.jsx(Et,{...e})})},Fo=n.div`
283
283
  display: flex;
284
284
  flex-direction: row;
285
285
  align-items: center;
@@ -368,10 +368,10 @@ import{y as K,e as v,T as ei,c8 as ti,V as t,a_ as ii,A as oi,a9 as si,o as i,E
368
368
  color: ${e=>e.notificationStatus==="read"?e.theme.colors.grey1:S.brandColorJade};
369
369
  `,Vo=n(ge)`
370
370
  color: inherit;
371
- `,Yo=n(ft)`
371
+ `,Wo=n(ft)`
372
372
  flex-shrink: 0;
373
373
  color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
374
- `,Wo=n.div`
374
+ `,Yo=n.div`
375
375
  display: flex;
376
376
  align-items: center;
377
377
  flex-direction: row;
@@ -479,7 +479,7 @@ import{y as K,e as v,T as ei,c8 as ti,V as t,a_ as ii,A as oi,a9 as si,o as i,E
479
479
  `,rs=n.div`
480
480
  display: flex;
481
481
  padding: ${i.sp3} ${i.sp0};
482
- `,ls=({sectionId:e,notificationData:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:r,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const{status:d,createTime:h,eventData:{entitiyId:u,activities:f},notificationId:p}=o,x=g.useCallback(()=>{c?.()},[c]),m=g.useCallback(N=>{N.stopPropagation(),N.cancelable&&N.preventDefault(),s?c?.():l(p,u,d,f.length>0?f[0].activityType:void 0)},[p,u,d,f,s,c,l]),k=gt({onLongPress:x},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(ps,{notificationStatus:d,isHighlighted:a,style:r,"data-testid":me(e,`${Pt}-${p}`),...k,onClick:m,children:[t.jsxs(Ye,{children:[t.jsx(ds,{...o}),t.jsx(hs,{createTime:h,notificationStatus:d})]}),t.jsxs(Ye,{children:[t.jsx(cs,{...o}),f.length>0&&f[0].activityType==="task_status_updated"?null:t.jsx(us,{...o})]})]})},ds=e=>t.jsx(Ut,{statusUpdate:!1,children:t.jsx(Bt,{...e})}),cs=e=>{const{eventData:{activities:o}}=e;return t.jsx(Ut,{statusUpdate:o.length>0&&o[0].activityType==="task_status_updated"&&o[0].metadata.updates.find(s=>s.field==="status")!=null,children:t.jsx(Ft,{...e})})},hs=e=>t.jsx(fs,{children:t.jsx(Gt,{...e})}),us=e=>t.jsx(ms,{children:t.jsx(Et,{...e})}),ps=n.div`
482
+ `,ls=({sectionId:e,notificationData:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:r,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const{status:d,createTime:h,eventData:{entitiyId:u,activities:f},notificationId:p}=o,x=g.useCallback(()=>{c?.()},[c]),m=g.useCallback(N=>{N.stopPropagation(),N.cancelable&&N.preventDefault(),s?c?.():l(p,u,d,f.length>0?f[0].activityType:void 0)},[p,u,d,f,s,c,l]),k=gt({onLongPress:x},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(ps,{notificationStatus:d,isHighlighted:a,style:r,"data-testid":me(e,`${Pt}-${p}`),...k,onClick:m,children:[t.jsxs(We,{children:[t.jsx(ds,{...o}),t.jsx(hs,{createTime:h,notificationStatus:d})]}),t.jsxs(We,{children:[t.jsx(cs,{...o}),f.length>0&&f[0].activityType==="task_status_updated"?null:t.jsx(us,{...o})]})]})},ds=e=>t.jsx(Ut,{statusUpdate:!1,children:t.jsx(Bt,{...e})}),cs=e=>{const{eventData:{activities:o}}=e;return t.jsx(Ut,{statusUpdate:o.length>0&&o[0].activityType==="task_status_updated"&&o[0].metadata.updates.find(s=>s.field==="status")!=null,children:t.jsx(Ft,{...e})})},hs=e=>t.jsx(fs,{children:t.jsx(Gt,{...e})}),us=e=>t.jsx(ms,{children:t.jsx(Et,{...e})}),ps=n.div`
483
483
  display: flex;
484
484
  flex-direction: column;
485
485
  align-items: baseline;
@@ -543,7 +543,7 @@ import{y as K,e as v,T as ei,c8 as ti,V as t,a_ as ii,A as oi,a9 as si,o as i,E
543
543
  align-items: center;
544
544
  flex-shrink: 0;
545
545
  justify-content: end;
546
- `,Ye=n.div`
546
+ `,We=n.div`
547
547
  display: flex;
548
548
  flex-direction: row;
549
549
  gap: ${i.sp3};
@@ -561,7 +561,7 @@ import{y as K,e as v,T as ei,c8 as ti,V as t,a_ as ii,A as oi,a9 as si,o as i,E
561
561
  -webkit-box-orient: horizontal;
562
562
  gap: ${i.sp1};
563
563
  `};
564
- `,Ht=e=>v()==="small"?t.jsx(ls,{...e}):t.jsx(zo,{...e}),{common:{all:We}}=B.getLocalizedStrings(),gs=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:r,onNotificationTileClick:l})=>{const c=K(),{getValues:d}=ue(),h=d(o);return t.jsx(xs,{style:a,children:t.jsx(pe,{mode:s,checkBoxes:[{label:t.jsx(bs,{htmlFor:`${o}.${We.toLocaleLowerCase()}`,style:{color:c.colors.primary},children:xe(e)}),value:We.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((u,f)=>{const p=f===0,x=e.notifications.length-1===f;return{label:t.jsx(Ht,{sectionId:o,notificationData:u,style:{borderTopLeftRadius:p?i.sp2:void 0,borderTopRightRadius:p?i.sp2:void 0,borderBottomLeftRadius:x?i.sp2:void 0,borderBottomRightRadius:x?i.sp2:void 0},isHighlighted:h?.includes(u.notificationId)===!0,onNotificationTileClick:l}),value:u.notificationId,defaultChecked:!1,groupLabel:!1}})],name:o,isDisabled:r,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},xs=n.div`
564
+ `,Ht=e=>v()==="small"?t.jsx(ls,{...e}):t.jsx(zo,{...e}),{common:{all:Ye}}=B.getLocalizedStrings(),gs=({notificationGroup:e,sectionId:o,checkBoxMode:s,style:a,isDisabled:r,onNotificationTileClick:l})=>{const c=K(),{getValues:d}=ue(),h=d(o);return t.jsx(xs,{style:a,children:t.jsx(pe,{mode:s,checkBoxes:[{label:t.jsx(bs,{htmlFor:`${o}.${Ye.toLocaleLowerCase()}`,style:{color:c.colors.primary},children:xe(e)}),value:Ye.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((u,f)=>{const p=f===0,x=e.notifications.length-1===f;return{label:t.jsx(Ht,{sectionId:o,notificationData:u,style:{borderTopLeftRadius:p?i.sp2:void 0,borderTopRightRadius:p?i.sp2:void 0,borderBottomLeftRadius:x?i.sp2:void 0,borderBottomRightRadius:x?i.sp2:void 0},isHighlighted:h?.includes(u.notificationId)===!0,onNotificationTileClick:l}),value:u.notificationId,defaultChecked:!1,groupLabel:!1}})],name:o,isDisabled:r,style:{width:"100%"},checkBoxStyle:{padding:i.sp3},labelCheckBoxStyle:{padding:i.sp3}})})},xs=n.div`
565
565
  display: flex;
566
566
  align-items: center;
567
567
  width: 100%;
@@ -596,7 +596,7 @@ import{y as K,e as v,T as ei,c8 as ti,V as t,a_ as ii,A as oi,a9 as si,o as i,E
596
596
  top: ${i.sp0};
597
597
  left: ${i.sp0};
598
598
  box-sizing: border-box;
599
- `,{common:{all:Ne,texts:re,footer:Is,strings:{plus:Ls},numbers:{maximumCount:Ke}},commentsAndNotifications:{notifications:{title:Rs,texts:Vt,strings:Ze}}}=B.getLocalizedStrings(),te={tableContainerLeftPadding:new _(w[2],w[2],w[2]),tableContainerRightPadding:new _(w[3],w[6],w[8]),tabsContainerLeftRightPadding:new _(w[3],w[6],w[8]),selectedNotificationsTextMarginLeft:new _(w[0],w[6],w[6])},_s={selectedNotificationsText:new ci("smallRegular","standardRegular")},et="notificationsPage",q="commentsNotificationsTable",Q="notificationsTable",ua=({notificationView:e,users:o,isNotificationSettingsVisible:s,isDisabled:a,onNotificationClick:r,onCommentNotificationClick:l,onUpdateNotificationViewUIState:c,onUpdateNotificationTabState:d,onUpdateNotificationViewCurrentTabAndSubTab:h,onUpdateNotificationViewSubTab:u,onFetchMoreNotifications:f,onUpdateNotificationStatus:p,onSettingsClick:x,onBackClick:m,onMarkAllNotificationsAsRead:k})=>{const N=K(),D=v(),I=ei({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>ot(e),[e]),values:g.useMemo(()=>ot(e),[e])}),{currentTab:b,currentSubTab:T,notificationDetailsByTab:j,allSubTabs:H,allNotifications:R,allExternalNotifications:C,notificationsForCurrentTabAndSubTab:F,externalNotificationsForCurrentTabAndSubTab:V}=e,G=g.useMemo(()=>Object.keys(j).map($=>({label:re[$],id:re[$].toLocaleLowerCase(),countDetails:{count:j[$].uiState.unreadCount,isFetching:j[$].fetchCountState.fetchState==="In-Progress"}})),[j]),Y=g.useMemo(()=>H.map($=>({label:$==="all"?Ne:re[$],id:$})),[H]),Yt=g.useMemo(()=>Ct(V).filter($=>$.notifications.length>0),[V]),Wt=g.useMemo(()=>Mt(F).filter($=>$.notifications.length>0),[F]);g.useEffect(()=>{const $=I.watch((L,{name:W})=>{W!=null&&L!=null&&ti(()=>(async(M,Xt)=>{const ie=M.split(".")[0],_e=[];ie!=null&&(ie===q||ie===Q)&&(Object.values(Xt[ie]).forEach(Kt=>{_e.push(...Kt.filter(Zt=>Zt.includes(Ne.toLowerCase())===!1))}),d({selectedNotificationIds:_e},b))})(W,L))});return()=>{$.unsubscribe()}});const be=g.useCallback(()=>{const $=[],L=j[b].selectedNotificationIdsForSubTab;if(b==="comments"){const W=C.filter(M=>M.inboxNotification.readAt==null).map(M=>M.inboxNotification.id);L.forEach(M=>{W.includes(M)&&$.push(M)})}else{const W=R.filter(M=>M.status!=="read").map(M=>M.notificationId);L.forEach(M=>{W.includes(M)&&$.push(M)})}return $},[C,R,b,j]),Jt=be().length>20?"disabled":a,we=I.watch(q),ye=I.watch(Q),Re=g.useCallback(()=>{f(b,T)},[f,b,T]),qt=g.useCallback(()=>{if(b==="comments"){const $={};Object.keys(we).forEach(L=>{$[L]=[]}),I.reset({[q]:$,[Q]:ye},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const $={};Object.keys(ye).forEach(L=>{$[L]=[]}),I.reset({[Q]:$,[q]:we},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}d({selectedNotificationIds:[]},b)},[ye,we]),Qt=g.useCallback(()=>{const $=j[b].selectedNotificationIdsForSubTab,L=be();p(b,$,"read",L)},[b,j,be,p]);return t.jsxs(Ds,{children:[t.jsx(ii,{source:"NotificationsPage",title:Rs.notifications,backgroundColor:N.colors.grey4,onBackClick:m,rightSideComponent:s===!0?t.jsx(qs,{onClick:x}):t.jsx(Js,{})}),t.jsx(Os,{}),t.jsx(As,{windowSize:D,children:t.jsx(yi,{tabs:G,selectedTab:b,onTabChange:$=>{const L=bi($);L!=null&&h(L)},subTabs:Y,selectedSubTab:T,onSubTabChange:$=>{const L=xi($);L!=null&&u(L)},subTabRightComponent:t.jsx(zs,{notificationCount:j[b].uiState.unreadCount,markAsAllReadUpdateState:j[b].markAsAllReadState.fetchState,markAsReadUpdateState:j[b].markAsReadState.fetchState,onMarkAsAllReadClick:()=>{k(b)}})})}),t.jsx(Ms,{windowSize:D,children:t.jsx(oi,{...I,children:t.jsx("form",{id:it(et),onSubmit:I.handleSubmit(Qt),style:{width:"100%"},children:b==="comments"?t.jsx(yo,{users:o,hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[T],currentSubTab:T,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Yt,sectionId:q,onFetchNotificationGroups:Re,onUpdateScrollYOffset:$=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[T]:$}},b),onNotificationClick:l}):t.jsx(Ss,{hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[T],currentSubTab:T,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Wt,sectionId:Q,onFetchNotificationGroups:Re,onUpdateScrollYOffset:$=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[T]:$}},b),onNotificationClick:r})})})}),j[b].selectedNotificationIdsForSubTab.length?t.jsx(si,{formId:it(et),primaryBtn:{label:Vt.markAsRead,isLoading:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},isDisabled:Jt!=null},cancelBtn:{label:Is.cancel,isDisabled:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},onClick:qt},helperContainerStyle:D==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx($e,{controller:D!=="small",children:t.jsx(tt,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx($e,{controller:D==="small",children:t.jsx(tt,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx($e,{controller:D!=="small",children:t.jsx(Fs,{})})}):null]})},zs=({markAsAllReadUpdateState:e,markAsReadUpdateState:o,notificationCount:s,onMarkAsAllReadClick:a})=>{const r=s===0,l=g.useCallback(()=>{e!=="In-Progress"&&o!=="In-Progress"&&!r&&a()},[e,o,r,a]);return t.jsx(Ps,{variant:"tertiary",size:"small",label:Vt.markAllAsRead,onClick:l,prefixIcon:e==="In-Progress"?t.jsx(ri,{size:"Small",start:!0}):t.jsx(Bs,{className:"mark-as-read"}),disabled:r,textStyle:{fontWeight:Ie.smallRegular.fontWeight},style:{borderRadius:i.sp1,border:"none",backgroundColor:"transparent",flexShrink:0,padding:i.sp0,cursor:o==="In-Progress"||e==="In-Progress"||r?"default":"pointer"}})},tt=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Gs,{windowSize:o,children:[t.jsx(Us,{children:t.jsx(Es,{isCircular:e<10,children:t.jsx(Hs,{children:e>Ke?`${Ke}${Ls}`:e})})}),t.jsxs(Ws,{windowSize:o,children:[t.jsx(Vs,{children:e>1?Ze.notificationsSelected:Ze.notificationSelected}),e>20?t.jsx(Ys,{children:re.maxLimit}):null]})]})},Ds=n.div`
599
+ `,{common:{all:Ne,texts:re,footer:Is,strings:{plus:Ls},numbers:{maximumCount:Ke}},commentsAndNotifications:{notifications:{title:Rs,texts:Vt,strings:Ze}}}=B.getLocalizedStrings(),te={tableContainerLeftPadding:new _(w[2],w[2],w[2]),tableContainerRightPadding:new _(w[3],w[6],w[8]),tabsContainerLeftRightPadding:new _(w[3],w[6],w[8]),selectedNotificationsTextMarginLeft:new _(w[0],w[6],w[6])},_s={selectedNotificationsText:new ci("smallRegular","standardRegular")},et="notificationsPage",q="commentsNotificationsTable",Q="notificationsTable",ua=({notificationView:e,users:o,isNotificationSettingsVisible:s,isDisabled:a,onNotificationClick:r,onCommentNotificationClick:l,onUpdateNotificationViewUIState:c,onUpdateNotificationTabState:d,onUpdateNotificationViewCurrentTabAndSubTab:h,onUpdateNotificationViewSubTab:u,onFetchMoreNotifications:f,onUpdateNotificationStatus:p,onSettingsClick:x,onBackClick:m,onMarkAllNotificationsAsRead:k})=>{const N=K(),D=v(),I=ei({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>ot(e),[e]),values:g.useMemo(()=>ot(e),[e])}),{currentTab:b,currentSubTab:T,notificationDetailsByTab:j,allSubTabs:H,allNotifications:R,allExternalNotifications:C,notificationsForCurrentTabAndSubTab:F,externalNotificationsForCurrentTabAndSubTab:V}=e,G=g.useMemo(()=>Object.keys(j).map($=>({label:re[$],id:re[$].toLocaleLowerCase(),countDetails:{count:j[$].uiState.unreadCount,isFetching:j[$].fetchCountState.fetchState==="In-Progress"}})),[j]),W=g.useMemo(()=>H.map($=>({label:$==="all"?Ne:re[$],id:$})),[H]),Wt=g.useMemo(()=>Ct(V).filter($=>$.notifications.length>0),[V]),Yt=g.useMemo(()=>Mt(F).filter($=>$.notifications.length>0),[F]);g.useEffect(()=>{const $=I.watch((L,{name:Y})=>{Y!=null&&L!=null&&ti(()=>(async(M,Xt)=>{const ie=M.split(".")[0],_e=[];ie!=null&&(ie===q||ie===Q)&&(Object.values(Xt[ie]).forEach(Kt=>{_e.push(...Kt.filter(Zt=>Zt.includes(Ne.toLowerCase())===!1))}),d({selectedNotificationIds:_e},b))})(Y,L))});return()=>{$.unsubscribe()}});const be=g.useCallback(()=>{const $=[],L=j[b].selectedNotificationIdsForSubTab;if(b==="comments"){const Y=C.filter(M=>M.inboxNotification.readAt==null).map(M=>M.inboxNotification.id);L.forEach(M=>{Y.includes(M)&&$.push(M)})}else{const Y=R.filter(M=>M.status!=="read").map(M=>M.notificationId);L.forEach(M=>{Y.includes(M)&&$.push(M)})}return $},[C,R,b,j]),Jt=be().length>20?"disabled":a,we=I.watch(q),ye=I.watch(Q),Re=g.useCallback(()=>{f(b,T)},[f,b,T]),qt=g.useCallback(()=>{if(b==="comments"){const $={};Object.keys(we).forEach(L=>{$[L]=[]}),I.reset({[q]:$,[Q]:ye},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const $={};Object.keys(ye).forEach(L=>{$[L]=[]}),I.reset({[Q]:$,[q]:we},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}d({selectedNotificationIds:[]},b)},[ye,we]),Qt=g.useCallback(()=>{const $=j[b].selectedNotificationIdsForSubTab,L=be();p(b,$,"read",L)},[b,j,be,p]);return t.jsxs(Ds,{children:[t.jsx(ii,{source:"NotificationsPage",title:Rs.notifications,backgroundColor:N.colors.grey4,onBackClick:m,rightSideComponent:s===!0?t.jsx(qs,{onClick:x}):t.jsx(Js,{})}),t.jsx(Os,{}),t.jsx(As,{windowSize:D,children:t.jsx(yi,{tabs:G,selectedTab:b,onTabChange:$=>{const L=bi($);L!=null&&h(L)},subTabs:W,selectedSubTab:T,onSubTabChange:$=>{const L=xi($);L!=null&&u(L)},subTabRightComponent:t.jsx(zs,{notificationCount:j[b].uiState.unreadCount,markAsAllReadUpdateState:j[b].markAsAllReadState.fetchState,markAsReadUpdateState:j[b].markAsReadState.fetchState,onMarkAsAllReadClick:()=>{k(b)}})})}),t.jsx(Ms,{windowSize:D,children:t.jsx(oi,{...I,children:t.jsx("form",{id:it(et),onSubmit:I.handleSubmit(Qt),style:{width:"100%"},children:b==="comments"?t.jsx(yo,{users:o,hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[T],currentSubTab:T,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Wt,sectionId:q,onFetchNotificationGroups:Re,onUpdateScrollYOffset:$=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[T]:$}},b),onNotificationClick:l}):t.jsx(Ss,{hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[T],currentSubTab:T,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Yt,sectionId:Q,onFetchNotificationGroups:Re,onUpdateScrollYOffset:$=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[T]:$}},b),onNotificationClick:r})})})}),j[b].selectedNotificationIdsForSubTab.length?t.jsx(si,{formId:it(et),primaryBtn:{label:Vt.markAsRead,isLoading:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},isDisabled:Jt!=null},cancelBtn:{label:Is.cancel,isDisabled:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},onClick:qt},helperContainerStyle:D==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx($e,{controller:D!=="small",children:t.jsx(tt,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx($e,{controller:D==="small",children:t.jsx(tt,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx($e,{controller:D!=="small",children:t.jsx(Fs,{})})}):null]})},zs=({markAsAllReadUpdateState:e,markAsReadUpdateState:o,notificationCount:s,onMarkAsAllReadClick:a})=>{const r=s===0,l=g.useCallback(()=>{e!=="In-Progress"&&o!=="In-Progress"&&!r&&a()},[e,o,r,a]);return t.jsx(Ps,{variant:"tertiary",size:"small",label:Vt.markAllAsRead,onClick:l,prefixIcon:e==="In-Progress"?t.jsx(ri,{size:"Small",start:!0}):t.jsx(Bs,{className:"mark-as-read"}),disabled:r,textStyle:{fontWeight:Ie.smallRegular.fontWeight},style:{borderRadius:i.sp1,border:"none",backgroundColor:"transparent",flexShrink:0,padding:i.sp0,cursor:o==="In-Progress"||e==="In-Progress"||r?"default":"pointer"}})},tt=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Gs,{windowSize:o,children:[t.jsx(Us,{children:t.jsx(Es,{isCircular:e<10,children:t.jsx(Hs,{children:e>Ke?`${Ke}${Ls}`:e})})}),t.jsxs(Ys,{windowSize:o,children:[t.jsx(Vs,{children:e>1?Ze.notificationsSelected:Ze.notificationSelected}),e>20?t.jsx(Ws,{children:re.maxLimit}):null]})]})},Ds=n.div`
600
600
  display: flex;
601
601
  height: 100vh;
602
602
  width: 100%;
@@ -661,11 +661,11 @@ import{y as K,e as v,T as ei,c8 as ti,V as t,a_ as ii,A as oi,a9 as si,o as i,E
661
661
  color: ${e=>e.theme.colors.hero};
662
662
  `,Vs=n(ct)`
663
663
  display: flex;
664
- `,Ys=n(hi)`
664
+ `,Ws=n(hi)`
665
665
  display: flex;
666
666
  color: ${S.important};
667
667
  margin-left: ${i.sp1};
668
- `,Ws=n(ct)`
668
+ `,Ys=n(ct)`
669
669
  ${e=>`${_s.selectedNotificationsText.style(e.windowSize)}`};
670
670
  color: ${e=>e.theme.colors.primary};
671
671
  display: flex;
@@ -1,4 +1,4 @@
1
- import{e as X,hs as Ce,O as P,y as Q,bF as _e,B as Se,V as t,bd as we,b as I,hr as ke,a$ as ve,a_ as Be,ht as Oe,hu as Pe,o as b,ab as je,L as Te,x as W,an as de,S as pe,ad as $e,m as T,bJ as De,bK as Ne,bL as Ie,b7 as Ee,f as a,l as he,w as re,ag as Me}from"./index-iSEGT9xi.js";import{a as B,b as Le}from"./sentry-DwNPvXBL.js";import{n as g}from"./mui-Bg5IRLA2.js";import{Gn as Fe}from"./zeni-epic-state-DQF5EBoo.js";import{p as Ae,d as Ve,y as J,b as me,u as ae}from"./chartTypes-BqRsL6eJ-DnPOTdta.js";import{V as ze}from"./toChartData-CWgd8E5c-vscPIv0G.js";import{m as K}from"./analyticsHelper-qtejXlXH-d-w7uTbl.js";import{y as Re,M as te}from"./TimeRangeSwitcher-CkgGEwEw-Cje_LjEs.js";import{X as We}from"./TimeframeSwitcherWithToggle-DwFo6jY4-D0eIiKbV.js";import{C as Ke}from"./NoDataChart-CuiKDcAB-BwyLAmy8.js";import{d as Ye}from"./NoDataTable-BpH8puX--CRikf6dL.js";import{H as Ge}from"./BalancesInsightWithToolTip-D1_dZg5k-DQ_IxlP9.js";import{n as Y}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{n as He,t as U}from"./CollapsableReportTable-C_bWRP7w-B5XVOChU.js";import{o as ge}from"./mapTimeframeBalancesToTreeNode-CCZ9A7A6-C2Dl8nFW.js";import{d as ne}from"./mapLoadingInProgressToTreeNode-COOJxneh-C62pjQWQ.js";import{l as qe}from"./mapSpacerToTreeNode-Ci5bdH6P-1RH2DZQ7.js";import{S as Je,E as Ue,X as Xe,Y as Qe,F as Ze,K as eo}from"./recharts-Bztd37V0.js";import"./pdf-2PUMrtF-.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";import"./TimeframeSwitcher-B8fpnYS8-9PZp4BSK.js";import"./graphic-no-data-l-DU4J8fDt-BFYI8sfE.js";import"./AccountRow-C-Iunc36-YQldrlVW.js";import"./clock-CJkylEKt-DTBXHHGh.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]="66861d32-5464-4368-abe1-5867fae1e741",e._sentryDebugIdIdentifier="sentry-dbid-66861d32-5464-4368-abe1-5867fae1e741")}catch{}})();const oo=g.div`
1
+ import{e as X,hs as Ce,O as P,y as Q,bF as _e,B as Se,V as t,bd as ve,b as I,hr as ke,a$ as we,a_ as Be,ht as Oe,hu as Pe,o as b,ab as je,L as Te,x as W,an as de,S as pe,ad as $e,m as T,bJ as De,bK as Ne,bL as Ie,b7 as Ee,f as a,l as he,w as re,ag as Me}from"./index-bPu7mlA1.js";import{a as B,b as Le}from"./sentry-uXR4_KRo.js";import{n as g}from"./mui-CvPZa6D0.js";import{Gn as Fe}from"./zeni-epic-state-BDdTNPzg.js";import{p as Ae,d as Ve,y as J,b as me,u as ae}from"./chartTypes-BLsP7rGF-Cjsgj_un.js";import{V as ze}from"./toChartData-BkubFDq8-CyY5jx0a.js";import{m as K}from"./analyticsHelper-AeOsAjMK-B2elKvEV.js";import{y as Re,M as te}from"./TimeRangeSwitcher-oORYeFzN-Bcz5e_ib.js";import{X as We}from"./TimeframeSwitcherWithToggle-BEZU-KDj-P0Jp8ujn.js";import{C as Ke}from"./NoDataChart-DCTRXLc7-C1K6noeS.js";import{d as Ye}from"./NoDataTable-D8Xw5pAY-C0LyDZgH.js";import{H as Ge}from"./BalancesInsightWithToolTip-Co6ZUc5x-DLuw_h8-.js";import{n as Y}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{n as He,t as U}from"./CollapsableReportTable-CIaa7SIH-BTOs1ROa.js";import{o as ge}from"./mapTimeframeBalancesToTreeNode-AI17uMHa-DAlg0uz7.js";import{d as ne}from"./mapLoadingInProgressToTreeNode-DJxRl0X1-CvJBQQvj.js";import{l as qe}from"./mapSpacerToTreeNode-Bj3f2irs-Ngbliu4M.js";import{S as Je,E as Ue,X as Xe,Y as Qe,F as Ze,K as eo}from"./recharts-7AyWv7E-.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./TimeframeSwitcher-JcJSbn0--fOirrXtT.js";import"./graphic-no-data-l-DU4J8fDt-Gma2xMWq.js";import"./AccountRow-DEtntSrL-CJ0B8bgS.js";import"./clock-CJkylEKt-CTyWvBpx.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]="4de3c361-0d76-46ff-8679-d48d95bae98f",e._sentryDebugIdIdentifier="sentry-dbid-4de3c361-0d76-46ff-8679-d48d95bae98f")}catch{}})();const oo=g.div`
2
2
  display: flex;
3
3
  `,ro=g.div`
4
4
  flex: display;
@@ -25,7 +25,7 @@ import{e as X,hs as Ce,O as P,y as Q,bF as _e,B as Se,V as t,bd as we,b as I,hr
25
25
  `,to=({barLabelsWithValues:e,getVendorName:n})=>t.jsx(oo,{children:t.jsxs(ro,{children:[t.jsxs(se,{children:[t.jsx(ie,{color:e[0].color,children:`${n(e[0].timeframeTick,e[0].barName)}`}),t.jsx(le,{color:e[0].color,children:`${ae(e[0].actual)}`})]}),t.jsx(ao,{}),t.jsxs(se,{children:[t.jsx(ie,{color:a.primaryDark,children:`${P.getLocalizedStrings().chartCard.total}`}),t.jsx(le,{children:`${ae(e[0].total)}`})]})]})}),no=Le.memo(e=>{const n=(({active:o,payload:i,barName:l})=>{const c=[];if(i!==void 0&&o===!0){const h=i.filter(s=>s.name==l)[0],r=h.payload,m=h.color,u={amount:r.record[l].amount?.amount??0,currencyCode:r.record[l].amount?.currencyCode??"",currencySymbol:r.record[l].amount?.currencySymbol??""},p={amount:0,currencyCode:"",currencySymbol:""};let y,x=0;for(y in r.record)y.endsWith("_actual")&&(x+=r.record[y].amount?.amount??0);p.amount=x,p.currencyCode=u.currencyCode,p.currencySymbol=u.currencySymbol,c.push({barName:me(l),actual:u,color:m,total:p,timeframeTick:r.timeLabel})}return c})({...e});return n.length===0?null:t.jsx(to,{barLabelsWithValues:n,getVendorName:e.getVendorName})}),ce=[a.graphColor34,a.graphColor05,a.graphColor08,a.graphColor11,a.graphColor13,a.graphColor19,a.graphColor29,a.graphColor28,a.graphColor20,a.graphColor21,a.graphColor22,a.graphColor14,a.graphColor35,a.graphColor31,a.graphColor33,a.graphColor32,a.graphColor36,a.graphColor02,a.graphColor06,a.graphColor04,a.graphColor10,a.graphColor12,a.graphColor15,a.graphColor18,a.graphColor17,a.graphColor07,a.graphColor34Dark,a.graphColor05Dark,a.graphColor08Dark,a.graphColor11Dark,a.graphColor13Dark,a.graphColor19Dark,a.graphColor29Dark,a.graphColor28Dark,a.graphColor20Dark,a.graphColor21Dark,a.graphColor22Dark,a.graphColor14Dark,a.graphColor35Dark,a.graphColor31Dark,a.graphColor33Dark,a.graphColor32Dark,a.graphColor36Dark,a.graphColor02Dark,a.graphColor06Dark,a.graphColor04Dark,a.graphColor10Dark,a.graphColor12Dark,a.graphColor15Dark,a.graphColor18Dark,a.graphColor17Dark,a.graphColor07Dark];class M{_barColors;_barColorsKeyWise;_defaultColor;constructor(){this._defaultColor=a.graphColor34,this._barColors=ce.slice(),this._barColorsKeyWise=new Map}static#e=new M;getBarColor(n){const o=M.instance();return o._barColorsKeyWise.has(n)||(o._barColors.length===0&&(o._barColors=ce.slice()),o._barColorsKeyWise.set(n,o._barColors.shift()??o._defaultColor)),o._barColorsKeyWise.get(n)}shouldUpdate(n){const o=M.instance(),i=Array.from(o._barColorsKeyWise.keys()).sort();return!pe(i,n)}static init(){return this.#e=new M,this.#e}static instance(){return this.#e}}const so=M.instance(),io=g.div`
26
26
  width: ${e=>e.width}px;
27
27
  height: ${e=>e.height}px;
28
- `;function lo({selectedRangeReport:e,width:n,height:o,showBarHoverBackground:i=!1,isDetailPage:l=!1}){const c=B.useRef(!1),h=so,[r,m]=B.useState(void 0);B.useEffect(()=>{c.current=!0},[]);const u=((s,d)=>{const C=new Set,f={};let _;const w=d.top4VendorsAndOthers;return Object.keys(w).length>0&&Object.keys(w).forEach(O=>{w[O].forEach(($,v)=>{const S=Ae(`vendor_${v}`,"actual");C.add(S),_==null&&$.balance!=null&&(_=S),f[S]!=null?f[S].push({key:S,balance:$.balance}):f[S]=[{key:S,balance:$.balance}]})}),_!=null?ze(s,[...C],_,f):void 0})(e.firstMonthOfFY,e),p=(s,d)=>t.jsx(eo,{name:s,animationDuration:d?500:void 0,style:{cursor:"pointer"},dataKey:C=>{const f=C.record;return(f[s]?.amount!=null?f[s].amount:void 0)?.amount??0},stackId:"chartByTimeSeries",fill:h.getBarColor(me(s)),onMouseEnter:()=>{r!==s&&m(s)},onMouseLeave:()=>{r!=null&&m(void 0)}},s),y=({active:s,payload:d})=>d?.find(C=>C.name===r)!=null&&r!=null&&s===!0?t.jsx(no,{active:s,payload:d,barName:r,getVendorName:x}):null,x=(s,d)=>{const C=Fe(s);try{const f=d.split("_")[1];return e.top4VendorsAndOthers[C][parseInt(f)].vendor.name}catch(f){return console.warn("Was not able to parse vendor index for tooltip ",f),""}};return u==null?null:t.jsx(co,{chartData:u,showBarHoverBackground:i,barElements:(()=>{const s=[];return u?.orderedKeys.forEach(d=>{const C=l===!0&&!c.current;s.push(p(d,C))}),s})(),customToolTipContent:t.jsx(y,{}),width:n,height:o,isDetailPage:l===!0})}const co=({chartData:e,barElements:n,customToolTipContent:o,width:i,height:l,showBarHoverBackground:c=!1,isDetailPage:h})=>{const r=Q(),m=Ve(e),u=c!==!1,p=h?(i-60)/J.operating_expenses_by_vendor*(J.operating_expenses_by_vendor-e.timeseries.length):20;return t.jsx(io,{width:i,height:l,"data-testid":I("op-ex-by-vendor-chart"),children:t.jsx(de,{children:({height:y,width:x})=>t.jsxs(Je,{width:x,height:y,stackOffset:"sign",data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:h?T[5]:30,margin:{top:5,right:p,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[t.jsx(Ue,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:r.colors.grey3}),t.jsx(Xe,{dataKey:s=>s.timeLabel.label,type:"category",axisLine:{stroke:r.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:r.colors.hero,...re.extraSmallRegular.cssObject}}),t.jsx(Qe,{type:"number",axisLine:!1,tickLine:!1,tick:{color:r.colors.hero,...re.extraSmallRegular.cssObject},tickFormatter:s=>Me("0,0.[00]a",s,m)}),t.jsx(Ze,{wrapperStyle:{zIndex:2},cursor:!!u&&{stroke:r.colors.background,strokeWidth:(x-120)/J.operating_expenses_by_vendor,fill:r.colors.background},content:o,allowEscapeViewBox:{x:!1,y:!0}}),n]})})})};function po(e){const n=function(o){const{isCompareModeOn:i,report:l,currentTenantCompanyName:c}=o,h=[];if(i&&(h.push("this_period_vs_last_period_percent"),h.push("this_period_vs_last_period")),l.dataAvailable!=null)return{localeId:P.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",companyName:c,statementFileType:"excel",timeframe:o.timeframe,timezone:o.timezone,additionalBalances:h,format:o.reportType,sortKey:o.sortKey,sortOrder:o.sortOrder,isCompareModeOn:o.isCompareModeOn,searchString:o.searchString}}(e);if(n!=null)return async function(o,i,l){const c=P.getLocalizedStrings().downloadReport,h=`${o}?query=${encodeURIComponent(JSON.stringify(function(r){return{locale_id:r.localeId,show_negative_amount_in_parenthesis:r.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:r.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:r.filterAccountGroupsWithNilBalances,company_name:r.companyName,statement_file_type:r.statementFileType,timeframe:r.timeframe,timezone:r.timezone,additional_balances:r.additionalBalances,format:r.format,sort_key:r.sortKey,sort_order:r.sortOrder,is_compare_mode_on:r.isCompareModeOn,search_string:r.searchString}}(l)))}`;try{const r=await De({urlEndPoint:h,authParams:i,fileType:l.statementFileType});if(r.ok){const m=Ne(r.headers,c.defaultFileName),u=await r.arrayBuffer();Ie(u,m)}else console.error(`${c.reportErrorMessage} ${r.statusText}`)}catch(r){console.error(`${c.reportErrorMessage} ${JSON.stringify(r)}`)}}(e.statementEndPoint,e.authParams,n)}const ho=(e,n,o,i=!0)=>{const l=o.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+1:e.filter.balancesRange.numberOfPeriods,c=e.totalBalances!=null?[...e.totalBalances.balances,...e.totalBalances.additionalBalances]:[];e.totalBalances?.totalBalance!=null&&c.push(e.totalBalances.totalBalance);const h=ge({balances:c,config:o}),r=[];r.push(h);const m=P.getLocalizedStrings().vendors.opExByVendor,u=o.opexByVendorConfig?.sortOrSearchInProgress??!1,p=o.opexByVendorConfig?.pageFetchInProgress??!1;if(u===!0)[...Array(10)].forEach((y,x)=>{r.push(ne({title:`${x}+${m.loading}`,balances:c,config:o}))});else if(e.opexBalances.length>0){if(!n.searchString){const s=function({title:d,balances:C,config:f,numOfBalances:_,nodeId:w}){return{children:[],id:w??U("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:d,data:C,numOfBalances:_},config:f}}}({title:P.getLocalizedStrings().chartCard.total,balances:e.totalBalances,config:o,numOfBalances:l});r.push(s)}const y=n.pageToken[n.timeframe],x=e.opexBalances.map((s,d)=>function({config:C,isLastNode:f,numOfBalances:_,opExByVendor:w,title:O,vendorRowIndex:$}){const v=w.account?.accountName??"-",S=w.classBase?.className??"-";return{children:[],id:U("vendor_row",[],O+v+S),isLastNode:f,reportElementData:{element:{kind:"vendor_row",title:O,data:w,numOfBalances:_,index:$},config:C}}}({config:o,isLastNode:d===e.opexBalances.length-1&&y==null,numOfBalances:l,opExByVendor:s,title:s.vendor.name,vendorRowIndex:d}));r.push(...x),p===!0&&[...Array(1)].forEach((s,d)=>{r.push(ne({title:`${d}+${m.loading}`,balances:c,config:o}))}),[...Array(1)].forEach((s,d)=>{r.push(qe({title:`${d}+${m.loading}`,balances:[],config:o}))})}return e.opexBalances.length===0&&u!==!0&&r.push(function({title:y,balances:x,config:s,nodeId:d}){return{children:[],id:d??U("title_string_only",[]),isLastNode:!1,reportElementData:{element:{kind:"title_string_only",title:y,data:x,numOfBalances:x.length},config:s}}}({title:P.getLocalizedStrings().vendors.opExByVendor.noResultsFound,balances:c,config:o})),{config:o,headerNodes:i?[h]:[],contentNodes:r}},mo=e=>e.totalBalances!=null?[...e.totalBalances.balances,...e.totalBalances.additionalBalances]:[],L={chartHeight:new W(288,360),wrapperPadding:new W(T[3],T[3],T[8]),contentPaddingLeft:new W(T[0],T[0],T[0]),contentPaddingRight:new W(T[3],T[3],T[8])},go=g.div`
28
+ `;function lo({selectedRangeReport:e,width:n,height:o,showBarHoverBackground:i=!1,isDetailPage:l=!1}){const c=B.useRef(!1),h=so,[r,m]=B.useState(void 0);B.useEffect(()=>{c.current=!0},[]);const u=((s,d)=>{const C=new Set,f={};let _;const v=d.top4VendorsAndOthers;return Object.keys(v).length>0&&Object.keys(v).forEach(O=>{v[O].forEach(($,w)=>{const S=Ae(`vendor_${w}`,"actual");C.add(S),_==null&&$.balance!=null&&(_=S),f[S]!=null?f[S].push({key:S,balance:$.balance}):f[S]=[{key:S,balance:$.balance}]})}),_!=null?ze(s,[...C],_,f):void 0})(e.firstMonthOfFY,e),p=(s,d)=>t.jsx(eo,{name:s,animationDuration:d?500:void 0,style:{cursor:"pointer"},dataKey:C=>{const f=C.record;return(f[s]?.amount!=null?f[s].amount:void 0)?.amount??0},stackId:"chartByTimeSeries",fill:h.getBarColor(me(s)),onMouseEnter:()=>{r!==s&&m(s)},onMouseLeave:()=>{r!=null&&m(void 0)}},s),y=({active:s,payload:d})=>d?.find(C=>C.name===r)!=null&&r!=null&&s===!0?t.jsx(no,{active:s,payload:d,barName:r,getVendorName:x}):null,x=(s,d)=>{const C=Fe(s);try{const f=d.split("_")[1];return e.top4VendorsAndOthers[C][parseInt(f)].vendor.name}catch(f){return console.warn("Was not able to parse vendor index for tooltip ",f),""}};return u==null?null:t.jsx(co,{chartData:u,showBarHoverBackground:i,barElements:(()=>{const s=[];return u?.orderedKeys.forEach(d=>{const C=l===!0&&!c.current;s.push(p(d,C))}),s})(),customToolTipContent:t.jsx(y,{}),width:n,height:o,isDetailPage:l===!0})}const co=({chartData:e,barElements:n,customToolTipContent:o,width:i,height:l,showBarHoverBackground:c=!1,isDetailPage:h})=>{const r=Q(),m=Ve(e),u=c!==!1,p=h?(i-60)/J.operating_expenses_by_vendor*(J.operating_expenses_by_vendor-e.timeseries.length):20;return t.jsx(io,{width:i,height:l,"data-testid":I("op-ex-by-vendor-chart"),children:t.jsx(de,{children:({height:y,width:x})=>t.jsxs(Je,{width:x,height:y,stackOffset:"sign",data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:h?T[5]:30,margin:{top:5,right:p,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[t.jsx(Ue,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:r.colors.grey3}),t.jsx(Xe,{dataKey:s=>s.timeLabel.label,type:"category",axisLine:{stroke:r.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:r.colors.hero,...re.extraSmallRegular.cssObject}}),t.jsx(Qe,{type:"number",axisLine:!1,tickLine:!1,tick:{color:r.colors.hero,...re.extraSmallRegular.cssObject},tickFormatter:s=>Me("0,0.[00]a",s,m)}),t.jsx(Ze,{wrapperStyle:{zIndex:2},cursor:!!u&&{stroke:r.colors.background,strokeWidth:(x-120)/J.operating_expenses_by_vendor,fill:r.colors.background},content:o,allowEscapeViewBox:{x:!1,y:!0}}),n]})})})};function po(e){const n=function(o){const{isCompareModeOn:i,report:l,currentTenantCompanyName:c}=o,h=[];if(i&&(h.push("this_period_vs_last_period_percent"),h.push("this_period_vs_last_period")),l.dataAvailable!=null)return{localeId:P.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",companyName:c,statementFileType:"excel",timeframe:o.timeframe,timezone:o.timezone,additionalBalances:h,format:o.reportType,sortKey:o.sortKey,sortOrder:o.sortOrder,isCompareModeOn:o.isCompareModeOn,searchString:o.searchString}}(e);if(n!=null)return async function(o,i,l){const c=P.getLocalizedStrings().downloadReport,h=`${o}?query=${encodeURIComponent(JSON.stringify(function(r){return{locale_id:r.localeId,show_negative_amount_in_parenthesis:r.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:r.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:r.filterAccountGroupsWithNilBalances,company_name:r.companyName,statement_file_type:r.statementFileType,timeframe:r.timeframe,timezone:r.timezone,additional_balances:r.additionalBalances,format:r.format,sort_key:r.sortKey,sort_order:r.sortOrder,is_compare_mode_on:r.isCompareModeOn,search_string:r.searchString}}(l)))}`;try{const r=await De({urlEndPoint:h,authParams:i,fileType:l.statementFileType});if(r.ok){const m=Ne(r.headers,c.defaultFileName),u=await r.arrayBuffer();Ie(u,m)}else console.error(`${c.reportErrorMessage} ${r.statusText}`)}catch(r){console.error(`${c.reportErrorMessage} ${JSON.stringify(r)}`)}}(e.statementEndPoint,e.authParams,n)}const ho=(e,n,o,i=!0)=>{const l=o.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+1:e.filter.balancesRange.numberOfPeriods,c=e.totalBalances!=null?[...e.totalBalances.balances,...e.totalBalances.additionalBalances]:[];e.totalBalances?.totalBalance!=null&&c.push(e.totalBalances.totalBalance);const h=ge({balances:c,config:o}),r=[];r.push(h);const m=P.getLocalizedStrings().vendors.opExByVendor,u=o.opexByVendorConfig?.sortOrSearchInProgress??!1,p=o.opexByVendorConfig?.pageFetchInProgress??!1;if(u===!0)[...Array(10)].forEach((y,x)=>{r.push(ne({title:`${x}+${m.loading}`,balances:c,config:o}))});else if(e.opexBalances.length>0){if(!n.searchString){const s=function({title:d,balances:C,config:f,numOfBalances:_,nodeId:v}){return{children:[],id:v??U("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:d,data:C,numOfBalances:_},config:f}}}({title:P.getLocalizedStrings().chartCard.total,balances:e.totalBalances,config:o,numOfBalances:l});r.push(s)}const y=n.pageToken[n.timeframe],x=e.opexBalances.map((s,d)=>function({config:C,isLastNode:f,numOfBalances:_,opExByVendor:v,title:O,vendorRowIndex:$}){const w=v.account?.accountName??"-",S=v.classBase?.className??"-";return{children:[],id:U("vendor_row",[],O+w+S),isLastNode:f,reportElementData:{element:{kind:"vendor_row",title:O,data:v,numOfBalances:_,index:$},config:C}}}({config:o,isLastNode:d===e.opexBalances.length-1&&y==null,numOfBalances:l,opExByVendor:s,title:s.vendor.name,vendorRowIndex:d}));r.push(...x),p===!0&&[...Array(1)].forEach((s,d)=>{r.push(ne({title:`${d}+${m.loading}`,balances:c,config:o}))}),[...Array(1)].forEach((s,d)=>{r.push(qe({title:`${d}+${m.loading}`,balances:[],config:o}))})}return e.opexBalances.length===0&&u!==!0&&r.push(function({title:y,balances:x,config:s,nodeId:d}){return{children:[],id:d??U("title_string_only",[]),isLastNode:!1,reportElementData:{element:{kind:"title_string_only",title:y,data:x,numOfBalances:x.length},config:s}}}({title:P.getLocalizedStrings().vendors.opExByVendor.noResultsFound,balances:c,config:o})),{config:o,headerNodes:i?[h]:[],contentNodes:r}},mo=e=>e.totalBalances!=null?[...e.totalBalances.balances,...e.totalBalances.additionalBalances]:[],L={chartHeight:new W(288,360),wrapperPadding:new W(T[3],T[3],T[8]),contentPaddingLeft:new W(T[0],T[0],T[0]),contentPaddingRight:new W(T[3],T[3],T[8])},go=g.div`
29
29
  display: flex;
30
30
  flex: 1 1 auto;
31
31
  min-height: 100%;
@@ -76,7 +76,7 @@ import{e as X,hs as Ce,O as P,y as Q,bF as _e,B as Se,V as t,bd as we,b as I,hr
76
76
  `,Co=g.div`
77
77
  display: flex;
78
78
  padding: ${b.sp2} ${b.sp0} ${b.sp4} ${b.sp0};
79
- `,_o=g.div``,So=g.div``,wo=g.div`
79
+ `,_o=g.div``,So=g.div``,vo=g.div`
80
80
  display: flex;
81
81
  flex: 1 1 auto;
82
82
  flex-direction: column;
@@ -84,7 +84,7 @@ import{e as X,hs as Ce,O as P,y as Q,bF as _e,B as Se,V as t,bd as we,b as I,hr
84
84
  padding-bottom: ${b.sp6};
85
85
  `,ko=g.div`
86
86
  display: flex;
87
- `,vo=g.div`
87
+ `,wo=g.div`
88
88
  margin-top: ${b.sp5};
89
89
  margin-bottom: ${b.sp6};
90
90
  `,Bo=g.div`
@@ -97,4 +97,4 @@ import{e as X,hs as Ce,O as P,y as Q,bF as _e,B as Se,V as t,bd as we,b as I,hr
97
97
  `,Oo=g.div`
98
98
  width: 100%;
99
99
  height: calc(100vh - ${b.sp11});
100
- `,Po=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?t.jsx(fo,{children:t.jsx(Te,{size:"ExtraLarge",start:!0})}):null,cr=({report:e,vendorTabsToShow:n,uiState:o,downloadParams:i,onVendorTabSelectionChanged:l,onReloadReport:c,onBackClick:h,onFetchOpExByVendors:r,onAdditionalBalanceSelectionChanged:m,onTimeframeSelectionChanged:u,onSortOrderChanged:p,onSortOrSearchStarted:y,onVendorNameAndBalanceClicked:x,onPageFetchStarted:s,previousTabPosition:d,setPreviousTabPosition:C,updateDownloadStateHandler:f,onClearSearch:_,analytics:w,onClickMenuIcon:O})=>{const[$,v]=B.useState(o.searchString[o.timeframe]),[S,F]=B.useState(!1),D=X(),V=B.useRef(null),A=Ce(n),G=A.length>1,z=P.getLocalizedStrings().reports.common,Z=P.getLocalizedStrings().vendors,ee=Q(),ue=["month","quarter"],fe=e.availableNumberOfPeriods!=null&&e.availableNumberOfPeriods<2,R=o.mode==="compare_mode"&&!fe,H=e.allTimeframeTicks.length===0,{timeframe:N}=o,E=o.searchString[N];_e({componentName:"vendors.opex_by_vendor.list"});const ye=B.useCallback(j=>{r(N,E,j)},[N,E,r]),be=B.useCallback((j,k)=>{window.scrollTo({top:V.current?.offsetTop,behavior:"smooth"}),j.length>0?(y(!0),r(k,j,!1)):(y(!1),_(k))},[_,r,y]),oe=B.useRef(Se((j,k)=>be(j,k),500,{trailing:!0})).current,xe=(j,k)=>{p(j,k,N),y(!0),r(N,E,!1)};if(B.useEffect(()=>{S&&o.downloadState!=="In-Progress"&&(F(!1),f("In-Progress"),async function(){await po({report:e,isCompareModeOn:R,downloadState:o.downloadState,reportType:"more_detailed",timeframe:o.timeframe,sortKey:o.sortKey[o.timeframe],sortOrder:o.sortOrder[o.timeframe],searchString:o.searchString[N],...i}),w?.trackDownload(Y("operating_expenses_by_vendor"),K(o.timeframe),"excel",R),f("Completed")}())},[e,o,R,i,o.downloadState,S]),B.useEffect(()=>{v(E)},[E]),e.fetchState==="Error")return t.jsxs(yo,{children:[t.jsx(bo,{"data-testid":I("op-ex-by-vendor-reload-page"),onClick:c,children:t.jsx(we,{})}),t.jsx(xo,{children:z.failed})]});const q=e.totalBalances?.totalBalance;if(o.sortOrSearchInProgress===!1&&o.pageFetchInProgress===!1&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"))return t.jsx(Po,{fetchState:e.fetchState});if((e.fetchState==="Completed"||o.sortOrSearchInProgress===!0||o.pageFetchInProgress===!0)&&e.isReportGenerated===!0){const j=t.jsxs(t.Fragment,{children:[t.jsx(ke,{isSearchOpen:(E?.length??0)>0,searchBarDataTestId:I("op-ex-by-vendor-search-bar"),searchPlaceHolder:Z.common.searchPlaceholder,searchText:$??"",onSearchTextChanged:k=>{v(k),k.trim().length>=2?oe(k,N):k.trim().length==0&&oe("",N)},downloadPresent:!0}),t.jsx(ve,{downloadButtonDataTestId:I("op-ex-by-vendor-download"),downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:H,isDownloading:o.downloadState==="In-Progress"}],onDownloadClick:async k=>{if(k==="excel"){if(o.downloadState==="In-Progress")return void console.log("Download is already in progress!");F(!0)}}}}})]});return t.jsxs(go,{windowSize:D,children:[t.jsx(Be,{title:Z.common.navBarTitle,subTitle:e.lastRefreshSuccessTime!=null?e.lastRefreshSuccessTime.utc(!0).fromNow():"",backgroundColor:ee.colors.grey5,onBackClick:h,rightSideComponent:j,showMenuIcon:D==="medium-compact"||D==="small",downloadPresent:!0,onClickMenuIcon:O,source:"OpExByVendorPage"}),t.jsxs(uo,{windowSize:D,children:[G?t.jsx(Oe,{allTabs:A,selectedTab:A[1].id,containerStyle:{borderBottom:`2px solid ${ee.colors.grey3}`},onTabChange:k=>l(Pe(k.id)),previousTabPosition:d,setPreviousTabPosition:C}):null,t.jsx(jo,{allTimeframeTicks:e.allTimeframeTicks,analytics:w,firstMonthOfFY:e.firstMonthOfFY,isCompareModeOn:R,mode:o.mode,onAdditionalBalanceSelectionChanged:m,onTimeframeSelectionChanged:u,selectedCOABalancesRange:e.filter.balancesRange,selectedTimeframe:o.timeframe,timeframes:ue}),q!=null?t.jsx(vo,{"data-testid":I("op-ex-by-vendor-insight-container"),children:t.jsx(Ge,{balance:q,dateText:Do(q)})}):null,t.jsx(To,{report:e,isEmptyPeriod:H})]}),t.jsx($o,{reference:V,report:e,uiState:o,isEmptyPeriod:H,onAdditionalBalanceSelectionChanged:m,onVendorNameAndBalanceClicked:x,onSortOrderChanged:xe,handleFetchOpExByVendor:ye,onPageFetchStarted:s,analytics:w})]})}return t.jsx(t.Fragment,{})},jo=({allTimeframeTicks:e,analytics:n,firstMonthOfFY:o,isCompareModeOn:i,mode:l,onAdditionalBalanceSelectionChanged:c,onTimeframeSelectionChanged:h,selectedCOABalancesRange:r,selectedTimeframe:m,timeframes:u})=>t.jsx(So,{children:t.jsxs(_o,{children:[t.jsx(Co,{"data-testid":I("op-ex-by-vendor-timeframe-controls"),children:t.jsx(We,{timeframe:{allowedTimeframes:u,selectedTimeframe:m,onTimeframeSelectionChanged:p=>{n?.trackTimeframeSwitch(K(p),Y("operating_expenses_by_vendor")),(p==="month"||p==="quarter")&&h(p),l==="compare_mode"&&!i&&c(i,i?["this_period_vs_last_period_percent"]:[])}},toggle:{label:P.getLocalizedStrings().compareSwitchLabel,isOn:i,isToggleDisabled:!1,onValueChanged:p=>{n?.trackCompareMode(p,Y("operating_expenses_by_vendor"),K(m)),c(p,p?["this_period_vs_last_period_percent"]:[])}}})}),t.jsx(Re,{firstMonthOfFY:o,timeframe:m,timeframeTicks:e,selection:{selectedTicks:te(e,r),highlightedOfSelectedTicks:te(e,r)}})]})}),To=({isEmptyPeriod:e,report:n})=>{const o=X();return e?t.jsx(ko,{children:t.jsx(Ke,{title:P.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(wo,{windowSize:o,children:t.jsx(de,{children:({height:i,width:l})=>t.jsx(lo,{selectedRangeReport:n,width:l,height:i,isDetailPage:!0,showBarHoverBackground:!1})})})},$o=({report:e,uiState:n,isEmptyPeriod:o,reference:i,onAdditionalBalanceSelectionChanged:l,onTableScroll:c,onSortOrderChanged:h,onVendorNameAndBalanceClicked:r,handleFetchOpExByVendor:m,onPageFetchStarted:u,analytics:p})=>{const y=n.mode==="compare_mode",x=n.selectedAdditionalBalances.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",[s,d]=B.useState(void 0),[C,f]=B.useState(void 0),_=X(),w=Q(),O=!(_==="small"||_==="medium-compact");B.useEffect(()=>{const v={reportId:e.reportId,mode:n.mode==="compare_mode"?"this_period_vs_period_before":"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",showNegativeAmountInParenthesis:Ee(),dataAvailable:e.dataAvailable,opexByVendorConfig:{sortKey:n.sortKey[n.timeframe],sortOrder:n.sortOrder[n.timeframe],isCompareModeOn:n.mode==="compare_mode",isAccountColumnShown:!0,isClassColumnShown:!0,onSortOrderChanged:h,sortOrSearchInProgress:n.sortOrSearchInProgress,pageFetchInProgress:n.pageFetchInProgress,onVendorNameAndBalanceClicked:r}};if(s!=null&&pe(C,e)){const S=function(F,D,V,A=!0){Object.assign(F.config,D);const G=mo(V),z=ge({balances:G,config:D});return{config:D,headerNodes:A?[z]:[],contentNodes:[z,...F.contentNodes.slice(1)]}}(s,v,e,O);d(S)}else{const S=ho(e,n,v,O);f(e),d(S)}},[n.mode,e]);const $=e.opexBalances.length;return t.jsx(Bo,{windowSize:_,ref:i,children:o?t.jsx(Ye,{}):s!=null?t.jsx(Oo,{"data-testid":I("op-ex-by-vendor-report-table"),children:t.jsx(He,{backgroundColor:new $e(w.colors.grey4),rootNodes:s,type:"name+balances_actual",compareMode:x,isSticky:{isStickyHeader:O,isStickyName:O},treeNodePadding:{left:L.contentPaddingLeft.value(_),right:L.contentPaddingRight.value(_)},nodeOpenStatus:{},scrollPosition:n.scrollPosition,onCompareModeChanged:v=>{p?.trackCompareFilterChange(v==="compare_mode_percent"?"percentage":"amount",Y("operating_expenses_by_vendor"),K(n.timeframe),"dropdown"),l(y,[v==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period"])},onScroll:c,infiniteLoadingProps:{isItemLoaded:v=>v<e.opexBalances.length,itemCount:$,loadMoreItems:()=>{n.pageToken[n.timeframe]!=null&&e.fetchState==="Completed"&&(u(),m(!0))}}})}):null})},Do=e=>{const n=e.startDate,o=e.endDate,{vendors:i,dateFormat:l}=P.getLocalizedStrings();return`${i.opExByVendor.in} ${n.format(l.visual.MMMYYFormat)} - ${o.format(l.visual.MMMYYFormat)}`};export{cr as default};
100
+ `,Po=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?t.jsx(fo,{children:t.jsx(Te,{size:"ExtraLarge",start:!0})}):null,cr=({report:e,vendorTabsToShow:n,uiState:o,downloadParams:i,onVendorTabSelectionChanged:l,onReloadReport:c,onBackClick:h,onFetchOpExByVendors:r,onAdditionalBalanceSelectionChanged:m,onTimeframeSelectionChanged:u,onSortOrderChanged:p,onSortOrSearchStarted:y,onVendorNameAndBalanceClicked:x,onPageFetchStarted:s,previousTabPosition:d,setPreviousTabPosition:C,updateDownloadStateHandler:f,onClearSearch:_,analytics:v,onClickMenuIcon:O})=>{const[$,w]=B.useState(o.searchString[o.timeframe]),[S,F]=B.useState(!1),D=X(),V=B.useRef(null),A=Ce(n),G=A.length>1,z=P.getLocalizedStrings().reports.common,Z=P.getLocalizedStrings().vendors,ee=Q(),ue=["month","quarter"],fe=e.availableNumberOfPeriods!=null&&e.availableNumberOfPeriods<2,R=o.mode==="compare_mode"&&!fe,H=e.allTimeframeTicks.length===0,{timeframe:N}=o,E=o.searchString[N];_e({componentName:"vendors.opex_by_vendor.list"});const ye=B.useCallback(j=>{r(N,E,j)},[N,E,r]),be=B.useCallback((j,k)=>{window.scrollTo({top:V.current?.offsetTop,behavior:"smooth"}),j.length>0?(y(!0),r(k,j,!1)):(y(!1),_(k))},[_,r,y]),oe=B.useRef(Se((j,k)=>be(j,k),500,{trailing:!0})).current,xe=(j,k)=>{p(j,k,N),y(!0),r(N,E,!1)};if(B.useEffect(()=>{S&&o.downloadState!=="In-Progress"&&(F(!1),f("In-Progress"),async function(){await po({report:e,isCompareModeOn:R,downloadState:o.downloadState,reportType:"more_detailed",timeframe:o.timeframe,sortKey:o.sortKey[o.timeframe],sortOrder:o.sortOrder[o.timeframe],searchString:o.searchString[N],...i}),v?.trackDownload(Y("operating_expenses_by_vendor"),K(o.timeframe),"excel",R),f("Completed")}())},[e,o,R,i,o.downloadState,S]),B.useEffect(()=>{w(E)},[E]),e.fetchState==="Error")return t.jsxs(yo,{children:[t.jsx(bo,{"data-testid":I("op-ex-by-vendor-reload-page"),onClick:c,children:t.jsx(ve,{})}),t.jsx(xo,{children:z.failed})]});const q=e.totalBalances?.totalBalance;if(o.sortOrSearchInProgress===!1&&o.pageFetchInProgress===!1&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"))return t.jsx(Po,{fetchState:e.fetchState});if((e.fetchState==="Completed"||o.sortOrSearchInProgress===!0||o.pageFetchInProgress===!0)&&e.isReportGenerated===!0){const j=t.jsxs(t.Fragment,{children:[t.jsx(ke,{isSearchOpen:(E?.length??0)>0,searchBarDataTestId:I("op-ex-by-vendor-search-bar"),searchPlaceHolder:Z.common.searchPlaceholder,searchText:$??"",onSearchTextChanged:k=>{w(k),k.trim().length>=2?oe(k,N):k.trim().length==0&&oe("",N)},downloadPresent:!0}),t.jsx(we,{downloadButtonDataTestId:I("op-ex-by-vendor-download"),downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:H,isDownloading:o.downloadState==="In-Progress"}],onDownloadClick:async k=>{if(k==="excel"){if(o.downloadState==="In-Progress")return void console.log("Download is already in progress!");F(!0)}}}}})]});return t.jsxs(go,{windowSize:D,children:[t.jsx(Be,{title:Z.common.navBarTitle,subTitle:e.lastRefreshSuccessTime!=null?e.lastRefreshSuccessTime.utc(!0).fromNow():"",backgroundColor:ee.colors.grey5,onBackClick:h,rightSideComponent:j,showMenuIcon:D==="medium-compact"||D==="small",downloadPresent:!0,onClickMenuIcon:O,source:"OpExByVendorPage"}),t.jsxs(uo,{windowSize:D,children:[G?t.jsx(Oe,{allTabs:A,selectedTab:A[1].id,containerStyle:{borderBottom:`2px solid ${ee.colors.grey3}`},onTabChange:k=>l(Pe(k.id)),previousTabPosition:d,setPreviousTabPosition:C}):null,t.jsx(jo,{allTimeframeTicks:e.allTimeframeTicks,analytics:v,firstMonthOfFY:e.firstMonthOfFY,isCompareModeOn:R,mode:o.mode,onAdditionalBalanceSelectionChanged:m,onTimeframeSelectionChanged:u,selectedCOABalancesRange:e.filter.balancesRange,selectedTimeframe:o.timeframe,timeframes:ue}),q!=null?t.jsx(wo,{"data-testid":I("op-ex-by-vendor-insight-container"),children:t.jsx(Ge,{balance:q,dateText:Do(q)})}):null,t.jsx(To,{report:e,isEmptyPeriod:H})]}),t.jsx($o,{reference:V,report:e,uiState:o,isEmptyPeriod:H,onAdditionalBalanceSelectionChanged:m,onVendorNameAndBalanceClicked:x,onSortOrderChanged:xe,handleFetchOpExByVendor:ye,onPageFetchStarted:s,analytics:v})]})}return t.jsx(t.Fragment,{})},jo=({allTimeframeTicks:e,analytics:n,firstMonthOfFY:o,isCompareModeOn:i,mode:l,onAdditionalBalanceSelectionChanged:c,onTimeframeSelectionChanged:h,selectedCOABalancesRange:r,selectedTimeframe:m,timeframes:u})=>t.jsx(So,{children:t.jsxs(_o,{children:[t.jsx(Co,{"data-testid":I("op-ex-by-vendor-timeframe-controls"),children:t.jsx(We,{timeframe:{allowedTimeframes:u,selectedTimeframe:m,onTimeframeSelectionChanged:p=>{n?.trackTimeframeSwitch(K(p),Y("operating_expenses_by_vendor")),(p==="month"||p==="quarter")&&h(p),l==="compare_mode"&&!i&&c(i,i?["this_period_vs_last_period_percent"]:[])}},toggle:{label:P.getLocalizedStrings().compareSwitchLabel,isOn:i,isToggleDisabled:!1,onValueChanged:p=>{n?.trackCompareMode(p,Y("operating_expenses_by_vendor"),K(m)),c(p,p?["this_period_vs_last_period_percent"]:[])}}})}),t.jsx(Re,{firstMonthOfFY:o,timeframe:m,timeframeTicks:e,selection:{selectedTicks:te(e,r),highlightedOfSelectedTicks:te(e,r)}})]})}),To=({isEmptyPeriod:e,report:n})=>{const o=X();return e?t.jsx(ko,{children:t.jsx(Ke,{title:P.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(vo,{windowSize:o,children:t.jsx(de,{children:({height:i,width:l})=>t.jsx(lo,{selectedRangeReport:n,width:l,height:i,isDetailPage:!0,showBarHoverBackground:!1})})})},$o=({report:e,uiState:n,isEmptyPeriod:o,reference:i,onAdditionalBalanceSelectionChanged:l,onTableScroll:c,onSortOrderChanged:h,onVendorNameAndBalanceClicked:r,handleFetchOpExByVendor:m,onPageFetchStarted:u,analytics:p})=>{const y=n.mode==="compare_mode",x=n.selectedAdditionalBalances.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",[s,d]=B.useState(void 0),[C,f]=B.useState(void 0),_=X(),v=Q(),O=!(_==="small"||_==="medium-compact");B.useEffect(()=>{const w={reportId:e.reportId,mode:n.mode==="compare_mode"?"this_period_vs_period_before":"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",showNegativeAmountInParenthesis:Ee(),dataAvailable:e.dataAvailable,opexByVendorConfig:{sortKey:n.sortKey[n.timeframe],sortOrder:n.sortOrder[n.timeframe],isCompareModeOn:n.mode==="compare_mode",isAccountColumnShown:!0,isClassColumnShown:!0,onSortOrderChanged:h,sortOrSearchInProgress:n.sortOrSearchInProgress,pageFetchInProgress:n.pageFetchInProgress,onVendorNameAndBalanceClicked:r}};if(s!=null&&pe(C,e)){const S=function(F,D,V,A=!0){Object.assign(F.config,D);const G=mo(V),z=ge({balances:G,config:D});return{config:D,headerNodes:A?[z]:[],contentNodes:[z,...F.contentNodes.slice(1)]}}(s,w,e,O);d(S)}else{const S=ho(e,n,w,O);f(e),d(S)}},[n.mode,e]);const $=e.opexBalances.length;return t.jsx(Bo,{windowSize:_,ref:i,children:o?t.jsx(Ye,{}):s!=null?t.jsx(Oo,{"data-testid":I("op-ex-by-vendor-report-table"),children:t.jsx(He,{backgroundColor:new $e(v.colors.grey4),rootNodes:s,type:"name+balances_actual",compareMode:x,isSticky:{isStickyHeader:O,isStickyName:O},treeNodePadding:{left:L.contentPaddingLeft.value(_),right:L.contentPaddingRight.value(_)},nodeOpenStatus:{},scrollPosition:n.scrollPosition,onCompareModeChanged:w=>{p?.trackCompareFilterChange(w==="compare_mode_percent"?"percentage":"amount",Y("operating_expenses_by_vendor"),K(n.timeframe),"dropdown"),l(y,[w==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period"])},onScroll:c,infiniteLoadingProps:{isItemLoaded:w=>w<e.opexBalances.length,itemCount:$,loadMoreItems:()=>{n.pageToken[n.timeframe]!=null&&e.fetchState==="Completed"&&(u(),m(!0))}}})}):null})},Do=e=>{const n=e.startDate,o=e.endDate,{vendors:i,dateFormat:l}=P.getLocalizedStrings();return`${i.opExByVendor.in} ${n.format(l.visual.MMMYYFormat)} - ${o.format(l.visual.MMMYYFormat)}`};export{cr as default};
@@ -1,4 +1,4 @@
1
- import{y as i,V as r}from"./index-iSEGT9xi.js";import{n}from"./mui-Bg5IRLA2.js";import"./sentry-DwNPvXBL.js";import"./pdf-2PUMrtF-.js";import"./zeni-epic-state-DQF5EBoo.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.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]="e4fc8e26-288a-4268-ab78-9ec29a4d3dfb",e._sentryDebugIdIdentifier="sentry-dbid-e4fc8e26-288a-4268-ab78-9ec29a4d3dfb")}catch{}})();const d=n.div`
1
+ import{y as i,V as r}from"./index-bPu7mlA1.js";import{n}from"./mui-CvPZa6D0.js";import"./sentry-uXR4_KRo.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.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]="e4fc8e26-288a-4268-ab78-9ec29a4d3dfb",e._sentryDebugIdIdentifier="sentry-dbid-e4fc8e26-288a-4268-ab78-9ec29a4d3dfb")}catch{}})();const d=n.div`
2
2
  display: ${({isOpen:e})=>e?"block":"none"};
3
3
  position: fixed;
4
4
  top: 0;
@@ -1,18 +1,18 @@
1
- import{_ as Ae,e as L,ba as Fe,bb as Re,bc as Be,V as o,aM as Ee,b as R,J as G,be as Ve,y as E,a_ as De,O as l,a as We,L as qe,w as Ue,x as ae,o as s,bf as Ge,bF as Ye,S as He,ad as Je,c2 as Xe,c3 as Ze,aW as Ke,m as $,bM as Qe,ab as eo,ac as oo,au as to,b7 as so}from"./index-iSEGT9xi.js";import{a as p}from"./sentry-DwNPvXBL.js";import{n}from"./mui-Bg5IRLA2.js";import{_ as ao}from"./liveblocks-DdnYk2Co.js";import{j as no,z as le}from"./mapTimeframeBalancesToTreeNode-Cql9mEn3-acr__MkP.js";import{R as ro}from"./NavBarWithPicker-jqJCHGvR-dfmiqqqq.js";import{m as io}from"./analyticsHelper-qtejXlXH-d-w7uTbl.js";import{X as co}from"./TimeframeSwitcherWithToggle-DwFo6jY4-D0eIiKbV.js";import{n as lo,N as mo}from"./CollapsableReportTable-C_bWRP7w-B5XVOChU.js";import{M as Z}from"./usp-line-BBd1wKwW-DX-ha8_c.js";import{Fn as po,Fo as go}from"./zeni-epic-state-DQF5EBoo.js";import{D as ho,T as fo,C as uo}from"./mapSectionWithAcOnlyToTreeNode-CcuLqf_I-D5MLuJek.js";import"./pdf-2PUMrtF-.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./recharts-Bztd37V0.js";import"./utils-D8l6svaX.js";import"./TimeframeSwitcher-B8fpnYS8-9PZp4BSK.js";import"./AccountRow-C-Iunc36-YQldrlVW.js";import"./clock-CJkylEKt-DTBXHHGh.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]="ab3f700b-d6ef-437e-a68c-cdaa8857c64c",e._sentryDebugIdIdentifier="sentry-dbid-ab3f700b-d6ef-437e-a68c-cdaa8857c64c")}catch{}})();const de="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",me="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",xo=n.div`
1
+ import{_ as Ae,e as L,ba as Fe,bb as Re,bc as Be,V as o,aM as Ee,b as R,J as G,be as Ve,y as E,a_ as De,O as l,a as We,L as qe,w as Ue,x as ae,o as s,bf as Ge,bF as Ye,S as He,ad as Je,c2 as Xe,c3 as Ze,aW as Ke,m as $,bM as Qe,ab as eo,ac as oo,au as to,b7 as so}from"./index-bPu7mlA1.js";import{a as p}from"./sentry-uXR4_KRo.js";import{n}from"./mui-CvPZa6D0.js";import{_ as ao}from"./liveblocks-UDiQs1XL.js";import{j as no,z as le}from"./mapTimeframeBalancesToTreeNode-CyO5pm8k-BJN9BucH.js";import{R as ro}from"./NavBarWithPicker-Dr5XHgP5-CjhNLCso.js";import{m as io}from"./analyticsHelper-AeOsAjMK-B2elKvEV.js";import{X as co}from"./TimeframeSwitcherWithToggle-BEZU-KDj-P0Jp8ujn.js";import{n as lo,N as mo}from"./CollapsableReportTable-CIaa7SIH-BTOs1ROa.js";import{M as Z}from"./usp-line-BBd1wKwW-DYAH7Au1.js";import{Fn as po,Fo as go}from"./zeni-epic-state-BDdTNPzg.js";import{D as ho,T as fo,C as uo}from"./mapSectionWithAcOnlyToTreeNode-BIiMj0sc-ByugsxAl.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./recharts-7AyWv7E-.js";import"./utils-DXqO5lkM.js";import"./TimeframeSwitcher-JcJSbn0--fOirrXtT.js";import"./AccountRow-DEtntSrL-CJ0B8bgS.js";import"./clock-CJkylEKt-CTyWvBpx.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]="68f8c65d-711f-41ee-b50c-70e2a431321b",e._sentryDebugIdIdentifier="sentry-dbid-68f8c65d-711f-41ee-b50c-70e2a431321b")}catch{}})();const de="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",me="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",xo=n.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
5
5
  flex-direction: column;
6
6
  background-color: ${e=>e.theme.colors.grey4};
7
- `,wo=n.div`
7
+ `,bo=n.div`
8
8
  padding: ${e=>e.windowSize==="small"?`${s.sp0} ${s.sp3}`:`${s.sp0} ${s.sp8}`};
9
9
  text-align: center;
10
- `,yo=n(Ze)`
10
+ `,wo=n(Ze)`
11
11
  max-width: 600px;
12
12
  margin: auto;
13
13
  padding: ${s.sp7} ${s.sp0};
14
14
  color: ${e=>e.theme.colors.primary};
15
- `,bo=n(Xe)`
15
+ `,yo=n(Xe)`
16
16
  max-width: 600px;
17
17
  margin: auto;
18
18
  padding: ${s.sp5} ${s.sp0};
@@ -64,13 +64,13 @@ import{_ as Ae,e as L,ba as Fe,bb as Re,bc as Be,V as o,aM as Ee,b as R,J as G,b
64
64
  color: ${e=>e.theme.colors.graphColor18};
65
65
  `,xe=n(Z)`
66
66
  color: ${e=>e.theme.colors.graphColor25};
67
- `,we=n(Z)`
67
+ `,be=n(Z)`
68
68
  color: ${e=>e.theme.colors.graphColor04};
69
69
  `,jo=n(Ke)`
70
70
  margin: ${s.sp3} auto;
71
71
  max-width: 422px;
72
72
  color: ${e=>e.theme.colors.hero};
73
- `,Co=()=>{const e=E(),t=L();return o.jsxs(pe,{windowSize:t,children:[o.jsx(he,{windowSize:t,children:o.jsx(fe,{windowSize:t,children:e.mode==="dark"?o.jsx("img",{src:me,alt:"forecast-promo",style:{width:"100%",height:"auto"}}):o.jsx("img",{src:de,alt:"forecast-promo",style:{width:"100%",height:"auto"}})})}),o.jsxs(ge,{windowSize:t,children:[o.jsxs(v,{windowSize:t,children:[o.jsx(z,{children:o.jsx(ue,{})}),o.jsxs(I,{children:[o.jsx(X,{children:l.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),o.jsx(J,{children:l.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]})]}),o.jsxs(v,{windowSize:t,children:[o.jsx(z,{children:o.jsx(xe,{})}),o.jsxs(I,{children:[o.jsx(X,{children:l.getLocalizedStrings().forecastPromoPage.trackText.bold}),o.jsx(J,{children:l.getLocalizedStrings().forecastPromoPage.trackText.regular})]})]}),o.jsxs(v,{windowSize:t,children:[o.jsx(z,{children:o.jsx(we,{})}),o.jsxs(I,{children:[o.jsx(X,{children:l.getLocalizedStrings().forecastPromoPage.preciseText.bold}),o.jsx(J,{children:l.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})]})},To=()=>{const e=E(),t=L();return o.jsxs(pe,{windowSize:t,children:[o.jsxs(ge,{windowSize:t,children:[o.jsxs(v,{windowSize:t,style:{width:"408px"},children:[o.jsx(z,{children:o.jsx(ue,{})}),o.jsxs(I,{children:[o.jsx(H,{children:l.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),o.jsx(Y,{children:l.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]})]}),o.jsxs(v,{windowSize:t,style:{width:"275px",alignSelf:"end"},children:[o.jsx(z,{children:o.jsx(xe,{})}),o.jsxs(I,{children:[o.jsx(H,{children:l.getLocalizedStrings().forecastPromoPage.trackText.bold}),o.jsx(Y,{children:l.getLocalizedStrings().forecastPromoPage.trackText.regular})]})]}),o.jsxs(v,{windowSize:t,style:{width:"408px"},children:[o.jsx(z,{children:o.jsx(we,{})}),o.jsxs(I,{children:[o.jsx(H,{children:l.getLocalizedStrings().forecastPromoPage.preciseText.bold}),o.jsx(Y,{children:l.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]}),o.jsx(he,{windowSize:t,children:o.jsx(fe,{windowSize:t,children:e.mode==="dark"?o.jsx("img",{src:me,alt:"forecast-promo",style:{width:"640px",height:"402px"}}):o.jsx("img",{src:de,alt:"forecast-promo",style:{width:"640px",height:"402px"}})})})]})},ko=({meetingUrl:e,onBackClick:t,onClickMenuIcon:a})=>{const r=E(),d=L();return o.jsxs(xo,{"data-testid":R("forecast-promo-page"),children:[o.jsx(De,{title:l.getLocalizedStrings().forecastPromoPage.title,backgroundColor:r.colors.grey4,onBackClick:t,showMenuIcon:d==="medium-compact"||d==="small",onClickMenuIcon:a,source:"ForecastPromoPage"}),o.jsxs(wo,{"data-testid":R("forecast-promo-container"),windowSize:d,children:[d==="small"?o.jsx(bo,{children:l.getLocalizedStrings().forecastPromoPage.promoText}):o.jsx(yo,{children:l.getLocalizedStrings().forecastPromoPage.promoText}),d==="small"?o.jsx(Co,{}):o.jsx(To,{}),o.jsxs(So,{"data-testid":R("forecast-promo-bottom-container"),children:[o.jsx(We,{variant:"primary",label:l.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:()=>{window.open(e.toString(),"_blank")}}),o.jsx(jo,{children:l.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})]})};function Po(e,t,a=!0){const r=l.getLocalizedStrings().reports,d=e.filter.balancesRange.numberOfPeriods,g=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?e.sections.expenses.balances:e.sections.income!=null?e.sections.income.balances:[],u=le({balances:g,config:t}),h=[];return h.push(u),e.idsInOrder.forEach(i=>{if(po(i)===!0){const w=e.sections[i];if(w==null)return;w.accountGroups.length>0?h.push(ho({section:e.sections[i],sectionType:i,numOfBalances:d,title:r.sections[i],isLastNode:!0,config:t})):h.push(fo({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:r.sections[i],isLastNode:!0,config:t}))}else go(i)===!0&&h.push(uo({calculatedSection:e.calculatedSections[i],numOfBalances:d,title:r.sections[i],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[u]:[],contentNodes:h}}function $o(e,t,a,r=!0){Object.assign(e.config,t);const d=a.sections.expenses.balances.length>0?[...a.sections.expenses.balances,...a.sections.expenses.additionalBalances]:[...a.sections.income.balances,...a.sections.income.additionalBalances],g=le({balances:d,config:t,nodeId:e.contentNodes[0].id}),u=e.contentNodes.slice(1);return u.forEach(h=>ye(h,t)),{config:t,headerNodes:r?[g]:[],contentNodes:[g,...u]}}function ye(e,t){Object.assign(e.reportElementData.config,t),e.children.forEach(a=>ye(a,t))}const B={contentPaddingLeft:new ae($[3],$[3],$[8]),contentPaddingRight:new ae($[3],$[3],$[8])},{collaboration:{threads:{placeholder:ne,tooltip:re,title:{comments:vo}}}}=l.getLocalizedStrings(),zo=n.div`
73
+ `,Co=()=>{const e=E(),t=L();return o.jsxs(pe,{windowSize:t,children:[o.jsx(he,{windowSize:t,children:o.jsx(fe,{windowSize:t,children:e.mode==="dark"?o.jsx("img",{src:me,alt:"forecast-promo",style:{width:"100%",height:"auto"}}):o.jsx("img",{src:de,alt:"forecast-promo",style:{width:"100%",height:"auto"}})})}),o.jsxs(ge,{windowSize:t,children:[o.jsxs(v,{windowSize:t,children:[o.jsx(z,{children:o.jsx(ue,{})}),o.jsxs(I,{children:[o.jsx(X,{children:l.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),o.jsx(J,{children:l.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]})]}),o.jsxs(v,{windowSize:t,children:[o.jsx(z,{children:o.jsx(xe,{})}),o.jsxs(I,{children:[o.jsx(X,{children:l.getLocalizedStrings().forecastPromoPage.trackText.bold}),o.jsx(J,{children:l.getLocalizedStrings().forecastPromoPage.trackText.regular})]})]}),o.jsxs(v,{windowSize:t,children:[o.jsx(z,{children:o.jsx(be,{})}),o.jsxs(I,{children:[o.jsx(X,{children:l.getLocalizedStrings().forecastPromoPage.preciseText.bold}),o.jsx(J,{children:l.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})]})},To=()=>{const e=E(),t=L();return o.jsxs(pe,{windowSize:t,children:[o.jsxs(ge,{windowSize:t,children:[o.jsxs(v,{windowSize:t,style:{width:"408px"},children:[o.jsx(z,{children:o.jsx(ue,{})}),o.jsxs(I,{children:[o.jsx(H,{children:l.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),o.jsx(Y,{children:l.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]})]}),o.jsxs(v,{windowSize:t,style:{width:"275px",alignSelf:"end"},children:[o.jsx(z,{children:o.jsx(xe,{})}),o.jsxs(I,{children:[o.jsx(H,{children:l.getLocalizedStrings().forecastPromoPage.trackText.bold}),o.jsx(Y,{children:l.getLocalizedStrings().forecastPromoPage.trackText.regular})]})]}),o.jsxs(v,{windowSize:t,style:{width:"408px"},children:[o.jsx(z,{children:o.jsx(be,{})}),o.jsxs(I,{children:[o.jsx(H,{children:l.getLocalizedStrings().forecastPromoPage.preciseText.bold}),o.jsx(Y,{children:l.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]}),o.jsx(he,{windowSize:t,children:o.jsx(fe,{windowSize:t,children:e.mode==="dark"?o.jsx("img",{src:me,alt:"forecast-promo",style:{width:"640px",height:"402px"}}):o.jsx("img",{src:de,alt:"forecast-promo",style:{width:"640px",height:"402px"}})})})]})},ko=({meetingUrl:e,onBackClick:t,onClickMenuIcon:a})=>{const r=E(),d=L();return o.jsxs(xo,{"data-testid":R("forecast-promo-page"),children:[o.jsx(De,{title:l.getLocalizedStrings().forecastPromoPage.title,backgroundColor:r.colors.grey4,onBackClick:t,showMenuIcon:d==="medium-compact"||d==="small",onClickMenuIcon:a,source:"ForecastPromoPage"}),o.jsxs(bo,{"data-testid":R("forecast-promo-container"),windowSize:d,children:[d==="small"?o.jsx(yo,{children:l.getLocalizedStrings().forecastPromoPage.promoText}):o.jsx(wo,{children:l.getLocalizedStrings().forecastPromoPage.promoText}),d==="small"?o.jsx(Co,{}):o.jsx(To,{}),o.jsxs(So,{"data-testid":R("forecast-promo-bottom-container"),children:[o.jsx(We,{variant:"primary",label:l.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:()=>{window.open(e.toString(),"_blank")}}),o.jsx(jo,{children:l.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})]})};function Po(e,t,a=!0){const r=l.getLocalizedStrings().reports,d=e.filter.balancesRange.numberOfPeriods,g=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?e.sections.expenses.balances:e.sections.income!=null?e.sections.income.balances:[],u=le({balances:g,config:t}),h=[];return h.push(u),e.idsInOrder.forEach(i=>{if(po(i)===!0){const b=e.sections[i];if(b==null)return;b.accountGroups.length>0?h.push(ho({section:e.sections[i],sectionType:i,numOfBalances:d,title:r.sections[i],isLastNode:!0,config:t})):h.push(fo({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:r.sections[i],isLastNode:!0,config:t}))}else go(i)===!0&&h.push(uo({calculatedSection:e.calculatedSections[i],numOfBalances:d,title:r.sections[i],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[u]:[],contentNodes:h}}function $o(e,t,a,r=!0){Object.assign(e.config,t);const d=a.sections.expenses.balances.length>0?[...a.sections.expenses.balances,...a.sections.expenses.additionalBalances]:[...a.sections.income.balances,...a.sections.income.additionalBalances],g=le({balances:d,config:t,nodeId:e.contentNodes[0].id}),u=e.contentNodes.slice(1);return u.forEach(h=>we(h,t)),{config:t,headerNodes:r?[g]:[],contentNodes:[g,...u]}}function we(e,t){Object.assign(e.reportElementData.config,t),e.children.forEach(a=>we(a,t))}const B={contentPaddingLeft:new ae($[3],$[3],$[8]),contentPaddingRight:new ae($[3],$[3],$[8])},{collaboration:{threads:{placeholder:ne,tooltip:re,title:{comments:vo}}}}=l.getLocalizedStrings(),zo=n.div`
74
74
  display: flex;
75
75
  flex: 1 1 auto;
76
76
  min-height: 100%;
@@ -104,7 +104,7 @@ import{_ as Ae,e as L,ba as Fe,bb as Re,bc as Be,V as o,aM as Ee,b as R,J as G,b
104
104
  align-items: center;
105
105
  justify-content: center;
106
106
  margin-bottom: ${s.sp3};
107
- `,Mo=({forecastList:e,selectedForecastIndex:t,onForecastSelectionChanged:a,vsActualOn:r,onVsActualChanged:d,selectedTimeframe:g,onTimeframeChanged:u,onBackClick:h,isPandLReportFetching:i,onClickMenuIcon:w,rightSideComponent:C})=>{const f=L(),T=[];for(let m=0;m<e.length;++m)T.push(`${m}`);const y={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:T,valueToLabel:m=>e[parseInt(m)]?.name??"",selectedValue:`${t}`,titleTextStyle:Ue.largeMedium,onPickerSelectionChanged:m=>{if(m!=null){const N=e[parseInt(m)];a?.(N.id,parseInt(m))}},styles:{justifyContent:f==="small"?"left":"center"},isPickerDisabled:i},onBackClick:h,showMenuIcon:f==="medium-compact"||f==="small",onClickMenuIcon:w,rightSideComponent:C},x={toggle:{label:l.getLocalizedStrings().reports.forecast.vsActual,isOn:r,onValueChanged:d},timeframe:{allowedTimeframes:["month","quarter","year"],selectedTimeframe:g,onTimeframeSelectionChanged:m=>u?.(m)}};return o.jsxs(No,{paddingLeft:B.contentPaddingLeft.value(f),paddingRight:B.contentPaddingRight.value(f),children:[o.jsx(ro,{...y}),i?"":o.jsx(Oo,{children:o.jsx(co,{...x})})]})},_o=({report:e,type:t,isActualVsForecastOn:a,compareMode:r,onAccountBalanceClick:d,onCompareModeChanged:g,scrollPosition:u,onTableScroll:h,nodeOpenStatus:i,onNodeCollapseToggled:w,onTreeNodesReady:C,treeRef:f})=>{const T=E(),y=L(),[x,m]=p.useState(void 0),[N,V]=p.useState(void 0),k=!(y==="small"||y==="medium-compact"),_=a===!0?"actual_vs_forecast":"none",O=`forecast.${e.reportId}`;return Ye({componentName:O,enabled:e.fetchState==="Completed"}),p.useEffect(()=>{const S={reportId:`${e.reportId}+${e.forecast?.id}`,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:_,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:mo(t)===!0&&a===!1?"filter_forecast_nil_balances":"filter_actual_forecast_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:so()};if(x!=null&&He(N,e)){const b=$o(x,S,e,k);m(b)}else{const b=Po(e,S,k);V(e),m(b)}},[t,a,e]),p.useEffect(()=>{x?.contentNodes!=null&&C?.(x.contentNodes)},[x,C]),x!=null?o.jsx(lo,{backgroundColor:new Je(T.colors.grey4),rootNodes:x,type:t,compareMode:r,isSticky:{isStickyHeader:k,isStickyName:k},treeNodePadding:{left:B.contentPaddingLeft.value(y),right:B.contentPaddingRight.value(y)},treeRef:f,onAccountClick:d==null?void 0:(S,b,A)=>{d(S,b,A)},onCompareModeChanged:g,scrollPosition:u,onScroll:h,nodeOpenStatus:i,onNodeCollapseToggled:w}):null};function ct({selectedTimeframe:e,isForecastVsActualOn:t,compareMode:a,forecastList:r,selectedForecast:d,pandLreport:g,type:u,meetingUrl:h,analytics:i,isReportsCommentingEnabled:w,isZeniUser:C,initialOpenThreadRequest:f,onForecastSelectionChanged:T,onTimeframeChanged:y,onForecastVsActualsCompareToggle:x,onAccountBalanceClick:m,onCompareModeChanged:N,scrollPosition:V,onTableScroll:k,nodeOpenStatus:_,onNodeCollapseToggled:O,onBackClick:S,onClickMenuIcon:b}){const A=Ae(),D=L(),Se=C??!1,j=A?.currentTenant?.companyId,K=A?.currentTenant?.companyName??"",je=d?.id,Q=w===!0&&j!=null&&je!=null,Ce=`dashboard_${j}`,Te=Se?Fe:Re,{threads:ee,isLoading:W,requestToOpenThread:ke,setRequestToOpenThread:M,setOpenThread:Pe}=p.useContext(Te);p.useEffect(()=>{f?.threadId!=null&&f.companyId!=null&&f.entityType!=null&&M(f)},[f,M]);const[$e,q]=p.useState(!1),U=p.useMemo(()=>({application:"dashboard",companyId:j,tab:"forecast_report",isGlobalComment:!1}),[j]),F=p.useMemo(()=>{const c=Be(ee,U,"both");return Array.from(c.values())},[ee,U]),ve=p.useMemo(()=>F.filter(c=>c.resolved===!1),[F]).length,ze=p.useCallback((c,P)=>{q(!1),M({threadId:P,companyId:c.companyId,entityType:c.entityType,threadMetadata:c})},[M]),[Ie,Le]=p.useState(void 0),oe=p.useRef(null),Ne=p.useCallback(c=>{Le(c)},[]),Oe=p.useCallback(c=>{oe.current?.scrollToItem(c,"center")},[]);no({requestToOpenThread:ke,setRequestToOpenThread:M,setOpenThread:Pe,allThreads:F,reportTreeRootNodes:Ie,nodeCollapseState:_,onExpandNode:O?(c,P,_e)=>O(P,_e):void 0,scrollToNode:Oe});const Me=p.useMemo(()=>({companyId:j??"",companyName:K,entityType:"forecast_report.details",entityId:j??"",isGlobalComment:!1,application:"dashboard",tab:"forecast_report",url:window.location.href}),[j,K]),te=[r.fetchState,g.fetchState],se=d?.index??-1;return be(te)===!0||r.fetchState==="Completed"&&r.forecasts.length===0?o.jsx(ko,{meetingUrl:h,onBackClick:S,onClickMenuIcon:b}):ce([r.fetchState])===!0?o.jsx(ie,{fetchState:Ao(te)}):o.jsxs(o.Fragment,{children:[o.jsxs(zo,{children:[o.jsx(Mo,{forecastList:r.forecasts,selectedForecastIndex:se,onForecastSelectionChanged:(c,P)=>{i?.trackForecastSwitch(G.Event.profitAndLossWithForecast,r.forecasts[P].name),T?.(c,P)},vsActualOn:t,onVsActualChanged:c=>{i?.trackForecastVsActualMode(G.Event.profitAndLossWithForecast,r.forecasts[se].name,c),x?.(c)},selectedTimeframe:e,onTimeframeChanged:c=>{i?.trackTimeframeSwitch(io(c),G.Event.profitAndLossWithForecast),y?.(c)},onBackClick:S,isPandLReportFetching:ce([g.fetchState]),onClickMenuIcon:b,rightSideComponent:Q?o.jsxs(Fo,{onClick:()=>q(!0),"data-testid":R("forecast-page-comment-button"),children:[o.jsx(Ee,{count:W?void 0:ve,isLoading:W,style:{left:"12px"}}),o.jsx(Ro,{})]}):void 0}),g.fetchState==="In-Progress"?o.jsx(ie,{fetchState:"In-Progress"}):o.jsx(Io,{children:o.jsx(_o,{report:g,type:u,isActualVsForecastOn:t,compareMode:a,onAccountBalanceClick:m,onCompareModeChanged:N,scrollPosition:V,onTableScroll:k,nodeOpenStatus:_,onNodeCollapseToggled:O,onTreeNodesReady:Ne,treeRef:oe})})]}),Q?o.jsx(ao,{id:Ce,children:o.jsx(Ve,{isDrawerOpen:$e,allowComposer:!0,drawerTitle:vo,threads:F,filter:U,autoExpand:!0,autoFocus:!1,isLoading:W,textOverrides:{composerPlaceholder:ne.addANewComment,replyComposerPlaceholder:ne.replyAComment,threadResolve:re.resolveComment,threadUnResolve:re.unResolveComment},threadMetadata:Me,onThreadClick:ze,onCloseAllThreadsDrawer:()=>q(!1),drawerSectionStyle:{width:D==="small"?"100%":"400px",boxSizing:D==="small"?"border-box":"content-box"},collapsibleThreadStyle:{width:D==="small"?"100%":"360px"}})}):null]})}const be=e=>e.reduce((t,a)=>t===!0||a==="Error",!1),ce=e=>e.reduce((t,a)=>t===!0||a==="Not-Started"||a==="In-Progress",!1),Ao=e=>(t=>t.reduce((a,r)=>a===!0&&r==="Completed",!0))(e)===!0?"Completed":be(e)===!0?"Error":"In-Progress",Fo=n.div`
107
+ `,Mo=({forecastList:e,selectedForecastIndex:t,onForecastSelectionChanged:a,vsActualOn:r,onVsActualChanged:d,selectedTimeframe:g,onTimeframeChanged:u,onBackClick:h,isPandLReportFetching:i,onClickMenuIcon:b,rightSideComponent:C})=>{const f=L(),T=[];for(let m=0;m<e.length;++m)T.push(`${m}`);const w={backgroundColor:"transparent",picker:{backgroundColor:"transparent",pickerValues:T,valueToLabel:m=>e[parseInt(m)]?.name??"",selectedValue:`${t}`,titleTextStyle:Ue.largeMedium,onPickerSelectionChanged:m=>{if(m!=null){const N=e[parseInt(m)];a?.(N.id,parseInt(m))}},styles:{justifyContent:f==="small"?"left":"center"},isPickerDisabled:i},onBackClick:h,showMenuIcon:f==="medium-compact"||f==="small",onClickMenuIcon:b,rightSideComponent:C},x={toggle:{label:l.getLocalizedStrings().reports.forecast.vsActual,isOn:r,onValueChanged:d},timeframe:{allowedTimeframes:["month","quarter","year"],selectedTimeframe:g,onTimeframeSelectionChanged:m=>u?.(m)}};return o.jsxs(No,{paddingLeft:B.contentPaddingLeft.value(f),paddingRight:B.contentPaddingRight.value(f),children:[o.jsx(ro,{...w}),i?"":o.jsx(Oo,{children:o.jsx(co,{...x})})]})},_o=({report:e,type:t,isActualVsForecastOn:a,compareMode:r,onAccountBalanceClick:d,onCompareModeChanged:g,scrollPosition:u,onTableScroll:h,nodeOpenStatus:i,onNodeCollapseToggled:b,onTreeNodesReady:C,treeRef:f})=>{const T=E(),w=L(),[x,m]=p.useState(void 0),[N,V]=p.useState(void 0),k=!(w==="small"||w==="medium-compact"),_=a===!0?"actual_vs_forecast":"none",O=`forecast.${e.reportId}`;return Ye({componentName:O,enabled:e.fetchState==="Completed"}),p.useEffect(()=>{const S={reportId:`${e.reportId}+${e.forecast?.id}`,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:_,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:mo(t)===!0&&a===!1?"filter_forecast_nil_balances":"filter_actual_forecast_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:so()};if(x!=null&&He(N,e)){const y=$o(x,S,e,k);m(y)}else{const y=Po(e,S,k);V(e),m(y)}},[t,a,e]),p.useEffect(()=>{x?.contentNodes!=null&&C?.(x.contentNodes)},[x,C]),x!=null?o.jsx(lo,{backgroundColor:new Je(T.colors.grey4),rootNodes:x,type:t,compareMode:r,isSticky:{isStickyHeader:k,isStickyName:k},treeNodePadding:{left:B.contentPaddingLeft.value(w),right:B.contentPaddingRight.value(w)},treeRef:f,onAccountClick:d==null?void 0:(S,y,A)=>{d(S,y,A)},onCompareModeChanged:g,scrollPosition:u,onScroll:h,nodeOpenStatus:i,onNodeCollapseToggled:b}):null};function ct({selectedTimeframe:e,isForecastVsActualOn:t,compareMode:a,forecastList:r,selectedForecast:d,pandLreport:g,type:u,meetingUrl:h,analytics:i,isReportsCommentingEnabled:b,isZeniUser:C,initialOpenThreadRequest:f,onForecastSelectionChanged:T,onTimeframeChanged:w,onForecastVsActualsCompareToggle:x,onAccountBalanceClick:m,onCompareModeChanged:N,scrollPosition:V,onTableScroll:k,nodeOpenStatus:_,onNodeCollapseToggled:O,onBackClick:S,onClickMenuIcon:y}){const A=Ae(),D=L(),Se=C??!1,j=A?.currentTenant?.companyId,K=A?.currentTenant?.companyName??"",je=d?.id,Q=b===!0&&j!=null&&je!=null,Ce=`dashboard_${j}`,Te=Se?Fe:Re,{threads:ee,isLoading:W,requestToOpenThread:ke,setRequestToOpenThread:M,setOpenThread:Pe}=p.useContext(Te);p.useEffect(()=>{f?.threadId!=null&&f.companyId!=null&&f.entityType!=null&&M(f)},[f,M]);const[$e,q]=p.useState(!1),U=p.useMemo(()=>({application:"dashboard",companyId:j,tab:"forecast_report",isGlobalComment:!1}),[j]),F=p.useMemo(()=>{const c=Be(ee,U,"both");return Array.from(c.values())},[ee,U]),ve=p.useMemo(()=>F.filter(c=>c.resolved===!1),[F]).length,ze=p.useCallback((c,P)=>{q(!1),M({threadId:P,companyId:c.companyId,entityType:c.entityType,threadMetadata:c})},[M]),[Ie,Le]=p.useState(void 0),oe=p.useRef(null),Ne=p.useCallback(c=>{Le(c)},[]),Oe=p.useCallback(c=>{oe.current?.scrollToItem(c,"center")},[]);no({requestToOpenThread:ke,setRequestToOpenThread:M,setOpenThread:Pe,allThreads:F,reportTreeRootNodes:Ie,nodeCollapseState:_,onExpandNode:O?(c,P,_e)=>O(P,_e):void 0,scrollToNode:Oe});const Me=p.useMemo(()=>({companyId:j??"",companyName:K,entityType:"forecast_report.details",entityId:j??"",isGlobalComment:!1,application:"dashboard",tab:"forecast_report",url:window.location.href}),[j,K]),te=[r.fetchState,g.fetchState],se=d?.index??-1;return ye(te)===!0||r.fetchState==="Completed"&&r.forecasts.length===0?o.jsx(ko,{meetingUrl:h,onBackClick:S,onClickMenuIcon:y}):ce([r.fetchState])===!0?o.jsx(ie,{fetchState:Ao(te)}):o.jsxs(o.Fragment,{children:[o.jsxs(zo,{children:[o.jsx(Mo,{forecastList:r.forecasts,selectedForecastIndex:se,onForecastSelectionChanged:(c,P)=>{i?.trackForecastSwitch(G.Event.profitAndLossWithForecast,r.forecasts[P].name),T?.(c,P)},vsActualOn:t,onVsActualChanged:c=>{i?.trackForecastVsActualMode(G.Event.profitAndLossWithForecast,r.forecasts[se].name,c),x?.(c)},selectedTimeframe:e,onTimeframeChanged:c=>{i?.trackTimeframeSwitch(io(c),G.Event.profitAndLossWithForecast),w?.(c)},onBackClick:S,isPandLReportFetching:ce([g.fetchState]),onClickMenuIcon:y,rightSideComponent:Q?o.jsxs(Fo,{onClick:()=>q(!0),"data-testid":R("forecast-page-comment-button"),children:[o.jsx(Ee,{count:W?void 0:ve,isLoading:W,style:{left:"12px"}}),o.jsx(Ro,{})]}):void 0}),g.fetchState==="In-Progress"?o.jsx(ie,{fetchState:"In-Progress"}):o.jsx(Io,{children:o.jsx(_o,{report:g,type:u,isActualVsForecastOn:t,compareMode:a,onAccountBalanceClick:m,onCompareModeChanged:N,scrollPosition:V,onTableScroll:k,nodeOpenStatus:_,onNodeCollapseToggled:O,onTreeNodesReady:Ne,treeRef:oe})})]}),Q?o.jsx(ao,{id:Ce,children:o.jsx(Ve,{isDrawerOpen:$e,allowComposer:!0,drawerTitle:vo,threads:F,filter:U,autoExpand:!0,autoFocus:!1,isLoading:W,textOverrides:{composerPlaceholder:ne.addANewComment,replyComposerPlaceholder:ne.replyAComment,threadResolve:re.resolveComment,threadUnResolve:re.unResolveComment},threadMetadata:Me,onThreadClick:ze,onCloseAllThreadsDrawer:()=>q(!1),drawerSectionStyle:{width:D==="small"?"100%":"400px",boxSizing:D==="small"?"border-box":"content-box"},collapsibleThreadStyle:{width:D==="small"?"100%":"360px"}})}):null]})}const ye=e=>e.reduce((t,a)=>t===!0||a==="Error",!1),ce=e=>e.reduce((t,a)=>t===!0||a==="Not-Started"||a==="In-Progress",!1),Ao=e=>(t=>t.reduce((a,r)=>a===!0&&r==="Completed",!0))(e)===!0?"Completed":ye(e)===!0?"Error":"In-Progress",Fo=n.div`
108
108
  display: flex;
109
109
  align-items: center;
110
110
  justify-content: center;
@@ -1 +1 @@
1
- import{j as n}from"./pdf-2PUMrtF-.js";import{j as H,i as W,h as V,l as Y,u as l,k as z,R as Q,m as I}from"./core-Dbakk1VU.js";import{ct as R,nl as P,mU as Z,HZ as U,mP as T,bt as J,F3 as K,mQ as X,H_ as ee,HL as S,Fh as te,qE as ae,H$ as se,q$ as oe,cA as ne,cy as re}from"./zeni-epic-state-DQF5EBoo.js";import{js as ce,k2 as ie,_ as le,aE as v,aG as A,bk as de,jz as w,kr as me,jO as fe}from"./index-iSEGT9xi.js";import"./mui-Bg5IRLA2.js";import pe from"./NotFoundScreen-DGF4ewvh.js";import{F as ue}from"./FeaturePreviewScreen-DKVtqlmL.js";import{a as h}from"./sentry-DwNPvXBL.js";import{t as he}from"./routePaths-BxZ6qL2m.js";import{M as Fe}from"./MobileAppDrawer-D9B1riEd.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new s.Error().stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="f4a46fdb-71ec-4546-8eeb-99e972502b07",s._sentryDebugIdIdentifier="sentry-dbid-f4a46fdb-71ec-4546-8eeb-99e972502b07")}catch{}})();const y=(s,e,t)=>{s!=e&&(s!=null&&s.length>0?t(`../${e}`,{replace:!0}):t(e,{replace:!0}))},ge=z(function(s){const e=ee(s),t={},o=e.pandLReportWithForecast.uiState.nodeCollapseState;return Object.keys(o).forEach(r=>{t[r]=o[r]===!1}),{selectedTimeframe:e.selectedTimeframe,isForecastVsActualOn:e.isForecastVsActualOn,compareMode:e.compareMode,forecastList:e.forecastList,selectedForecast:e.selectedForecast,pandLreport:e.pandLReportWithForecast,scrollPosition:e.pandLReportWithForecast.uiState.scrollPosition,nodeOpenStatus:t,type:"name+balances_forecast",analytics:w}},function(s,e){return{onForecastSelectionChanged:(t,o)=>{s(U(t,o)),e.isPandLReportFetched(t)||s(T(t)),y(e.forecastIdFromUrlPath,t,e.navigate)},onTimeframeChanged:t=>{s(oe(t))},onForecastVsActualsCompareToggle:t=>{s(se(t)),s(S({forecastId:e.forecastIdFromUrlPath,scrollPosition:{scrollLeft:0,scrollTop:0}}))},onCompareModeChanged:t=>{s(ae(e.firstMonthOfFY,t,0,[]))},onAccountBalanceClick:e.hasTransactionAccess!==!0?void 0:(t,o)=>{let r,c;const m=t.accountName===""?t.accountDescription:t.accountName;if(o.balanceTimeFrame==="month"||o.balanceTimeFrame==="quarter"?(r=o.balanceTimeFrame,c=te(o)):o.balanceTimeFrame==="year"?(r="quarter",c={startDate:o.endDate.startOf("quarter"),endDate:o.endDate}):console.error(`timeframe ${o.balanceTimeFrame} is not supported`),c!=null&&r!=null){const f=he(e.tenantEmailDomain,t.accountId,t.accountType,m,r,c),p=fe(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(f,{state:{pathnameStackToGoBack:p,referrer:"Forecast"}})}},onNodeCollapseToggled:(t,o)=>{s(S({forecastId:e.forecastIdFromUrlPath,nodeCollapseState:{nodeId:t,isCollapsed:o===!1}}))},onTableScroll:t=>{s(S({forecastId:e.forecastIdFromUrlPath,scrollPosition:t}))},onBackClick:()=>{e.navigate("../../")}}})(me);function O(){const s=H(),e=W(),t=V(),{forecastId:o,tenantEmailDomain:r}=Y(),[c,m]=h.useState(!1),[f,p]=h.useState(!1),F=ce.getSignedInUser(),M=l(a=>R(a)),$=M.company?.companyInfo.firstMonthOfFY??1,i=l(a=>P(a.forecastState,a.forecastListState)),u=l(a=>a.forecastListState.fetchState==="Completed"),j=l(a=>a.profitAndLossState),C=l(a=>a.reportUIOptionsState.selectedForecast),k=a=>j.pandLByForecastID[a]!=null&&X(a,j).reducedAllFetchState.fetchState==="Completed",{areTenantIdsInSync:g}=ie();h.useEffect(()=>{if(!c&&g)m(!0),u||e(Z());else if(u&&!f){p(!0);const a=((d,L,E)=>L!=null?d.forecasts.findIndex(b=>b.id===L):E!=null?d.forecasts.findIndex(b=>b.id===E):d.forecasts.length>0?0:-1)(i,o,C?.id);a===-1&&o!=null?s("page-not-found",{replace:!0}):a!==-1&&a!=C?.index?(e(U(i.forecasts[a].id,a)),y(o,i.forecasts[a].id,s)):o==null&&a!==-1&&y(void 0,i.forecasts[a].id,s),a!==-1&&!k(i.forecasts[a].id)&&g&&e(T(i.forecasts[a].id))}},[c,m,e,u,i,f,p,P,T,g]);const x=le(),_=x?.loggedInUserRole!=null&&J(x.loggedInUserRole),{useFeatureGate:G}=v(),{isFeatureEnabled:q}=G(A.isReportsCommentingEnabled),[B,N]=h.useState(!1),D=a=>{N(a)};return n.jsxs(n.Fragment,{children:[u?n.jsx(de,{analytics:w,onLoad:a=>(d=>d.trackForecast())(a)}):null,n.jsx(Fe,{isAppContentDrawerOpen:B,handleDrawerToggle:D}),n.jsx(ge,{firstMonthOfFY:$,tenantEmailDomain:r,forecastIdFromUrlPath:o,navigate:s,location:t,isPandLReportFetched:k,meetingUrl:K(`https://meetings.hubspot.com/svitlana-grankovska?firstname=${F?.firstName}&lastname=${F?.lastName}&email=${F?.userEmail}`),hasTransactionAccess:_,isReportsCommentingEnabled:q,onClickMenuIcon:()=>{D(!0)}})]})}function Ae(){const s=l(c=>R(c)),{useFeatureGate:e}=v(),{isFeatureEnabled:t}=e(A.isDebitCardFeatureEnabled),o=ne(t,s),r=re(s);return o===!0||r===!0?n.jsx(ue,{}):n.jsxs(Q,{children:[n.jsx(I,{path:"/",element:n.jsx(O,{})}),n.jsx(I,{path:"/:forecastId",element:n.jsx(O,{})}),n.jsx(I,{path:"/:forecastId/*",element:n.jsx(pe,{})})]})}export{Ae as PandLWithForecastRoutes,Ae as default};
1
+ import{j as n}from"./pdf-LR9rRMEe.js";import{j as H,i as W,h as V,l as Y,u as l,k as z,R as Q,m as I}from"./core-DuCBl3U1.js";import{ct as R,nl as P,mU as Z,HZ as U,mP as T,bt as J,F3 as K,mQ as X,H_ as ee,HL as S,Fh as te,qE as ae,H$ as se,q$ as oe,cA as ne,cy as re}from"./zeni-epic-state-BDdTNPzg.js";import{js as ce,k2 as ie,_ as le,aE as v,aG as A,bk as de,jz as w,kr as me,jO as fe}from"./index-bPu7mlA1.js";import"./mui-CvPZa6D0.js";import pe from"./NotFoundScreen-CJqSMVfb.js";import{F as ue}from"./FeaturePreviewScreen-BUEayEBU.js";import{a as h}from"./sentry-uXR4_KRo.js";import{t as he}from"./routePaths-rBllTjJq.js";import{M as Fe}from"./MobileAppDrawer-CKcdPSDd.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new s.Error().stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="f4a46fdb-71ec-4546-8eeb-99e972502b07",s._sentryDebugIdIdentifier="sentry-dbid-f4a46fdb-71ec-4546-8eeb-99e972502b07")}catch{}})();const y=(s,e,t)=>{s!=e&&(s!=null&&s.length>0?t(`../${e}`,{replace:!0}):t(e,{replace:!0}))},ge=z(function(s){const e=ee(s),t={},o=e.pandLReportWithForecast.uiState.nodeCollapseState;return Object.keys(o).forEach(r=>{t[r]=o[r]===!1}),{selectedTimeframe:e.selectedTimeframe,isForecastVsActualOn:e.isForecastVsActualOn,compareMode:e.compareMode,forecastList:e.forecastList,selectedForecast:e.selectedForecast,pandLreport:e.pandLReportWithForecast,scrollPosition:e.pandLReportWithForecast.uiState.scrollPosition,nodeOpenStatus:t,type:"name+balances_forecast",analytics:w}},function(s,e){return{onForecastSelectionChanged:(t,o)=>{s(U(t,o)),e.isPandLReportFetched(t)||s(T(t)),y(e.forecastIdFromUrlPath,t,e.navigate)},onTimeframeChanged:t=>{s(oe(t))},onForecastVsActualsCompareToggle:t=>{s(se(t)),s(S({forecastId:e.forecastIdFromUrlPath,scrollPosition:{scrollLeft:0,scrollTop:0}}))},onCompareModeChanged:t=>{s(ae(e.firstMonthOfFY,t,0,[]))},onAccountBalanceClick:e.hasTransactionAccess!==!0?void 0:(t,o)=>{let r,c;const m=t.accountName===""?t.accountDescription:t.accountName;if(o.balanceTimeFrame==="month"||o.balanceTimeFrame==="quarter"?(r=o.balanceTimeFrame,c=te(o)):o.balanceTimeFrame==="year"?(r="quarter",c={startDate:o.endDate.startOf("quarter"),endDate:o.endDate}):console.error(`timeframe ${o.balanceTimeFrame} is not supported`),c!=null&&r!=null){const f=he(e.tenantEmailDomain,t.accountId,t.accountType,m,r,c),p=fe(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(f,{state:{pathnameStackToGoBack:p,referrer:"Forecast"}})}},onNodeCollapseToggled:(t,o)=>{s(S({forecastId:e.forecastIdFromUrlPath,nodeCollapseState:{nodeId:t,isCollapsed:o===!1}}))},onTableScroll:t=>{s(S({forecastId:e.forecastIdFromUrlPath,scrollPosition:t}))},onBackClick:()=>{e.navigate("../../")}}})(me);function O(){const s=H(),e=W(),t=V(),{forecastId:o,tenantEmailDomain:r}=Y(),[c,m]=h.useState(!1),[f,p]=h.useState(!1),F=ce.getSignedInUser(),M=l(a=>R(a)),$=M.company?.companyInfo.firstMonthOfFY??1,i=l(a=>P(a.forecastState,a.forecastListState)),u=l(a=>a.forecastListState.fetchState==="Completed"),j=l(a=>a.profitAndLossState),C=l(a=>a.reportUIOptionsState.selectedForecast),k=a=>j.pandLByForecastID[a]!=null&&X(a,j).reducedAllFetchState.fetchState==="Completed",{areTenantIdsInSync:g}=ie();h.useEffect(()=>{if(!c&&g)m(!0),u||e(Z());else if(u&&!f){p(!0);const a=((d,L,E)=>L!=null?d.forecasts.findIndex(b=>b.id===L):E!=null?d.forecasts.findIndex(b=>b.id===E):d.forecasts.length>0?0:-1)(i,o,C?.id);a===-1&&o!=null?s("page-not-found",{replace:!0}):a!==-1&&a!=C?.index?(e(U(i.forecasts[a].id,a)),y(o,i.forecasts[a].id,s)):o==null&&a!==-1&&y(void 0,i.forecasts[a].id,s),a!==-1&&!k(i.forecasts[a].id)&&g&&e(T(i.forecasts[a].id))}},[c,m,e,u,i,f,p,P,T,g]);const x=le(),_=x?.loggedInUserRole!=null&&J(x.loggedInUserRole),{useFeatureGate:G}=v(),{isFeatureEnabled:q}=G(A.isReportsCommentingEnabled),[B,N]=h.useState(!1),D=a=>{N(a)};return n.jsxs(n.Fragment,{children:[u?n.jsx(de,{analytics:w,onLoad:a=>(d=>d.trackForecast())(a)}):null,n.jsx(Fe,{isAppContentDrawerOpen:B,handleDrawerToggle:D}),n.jsx(ge,{firstMonthOfFY:$,tenantEmailDomain:r,forecastIdFromUrlPath:o,navigate:s,location:t,isPandLReportFetched:k,meetingUrl:K(`https://meetings.hubspot.com/svitlana-grankovska?firstname=${F?.firstName}&lastname=${F?.lastName}&email=${F?.userEmail}`),hasTransactionAccess:_,isReportsCommentingEnabled:q,onClickMenuIcon:()=>{D(!0)}})]})}function Ae(){const s=l(c=>R(c)),{useFeatureGate:e}=v(),{isFeatureEnabled:t}=e(A.isDebitCardFeatureEnabled),o=ne(t,s),r=re(s);return o===!0||r===!0?n.jsx(ue,{}):n.jsxs(Q,{children:[n.jsx(I,{path:"/",element:n.jsx(O,{})}),n.jsx(I,{path:"/:forecastId",element:n.jsx(O,{})}),n.jsx(I,{path:"/:forecastId/*",element:n.jsx(pe,{})})]})}export{Ae as PandLWithForecastRoutes,Ae as default};
@@ -1,4 +1,4 @@
1
- import{ek as re,a7 as Ae,w as Y,o as u,f as F,e as te,V as s,bn as Oe,bq as Le,O as Se,l as be,y as xe,a9 as Re,c as oe,cc as Te,ad as J,x as Z,aU as ze,H as De,m as _e,gh as Be,d as Me}from"./index-iSEGT9xi.js";import{b as d,a as A}from"./sentry-DwNPvXBL.js";import{n as g}from"./mui-Bg5IRLA2.js";import{P as f}from"./core-Dbakk1VU.js";import{l as Ne}from"./stripe-DMRn4zHo.js";import{n as G}from"./commonTypes-CF6UyWSv-CFnrHGdI.js";import{F as Ve}from"./SetUpAccountSection-BSOGwHCj-l5hcQr16.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]="f1587822-9106-47d6-b6a2-878d2024178e",e._sentryDebugIdIdentifier="sentry-dbid-f1587822-9106-47d6-b6a2-878d2024178e")}catch{}})();function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ae(Object(n),!0).forEach(function(o){Ce(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Q(e){return Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q(e)}function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function we(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,o){var r=n&&(typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"]);if(r!=null){var a,c,m=[],l=!0,p=!1;try{for(r=r.call(n);!(l=(a=r.next()).done)&&(m.push(a.value),!o||m.length!==o);l=!0);}catch(i){p=!0,c=i}finally{try{l||r.return==null||r.return()}finally{if(p)throw c}}return m}}(e,t)||function(n,o){if(n){if(typeof n=="string")return se(n,o);var r=Object.prototype.toString.call(n).slice(8,-1);if(r==="Object"&&n.constructor&&(r=n.constructor.name),r==="Map"||r==="Set")return Array.from(n);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return se(n,o)}}(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ import{ek as re,a7 as Ae,w as Y,o as u,f as F,e as te,V as s,bn as Oe,bq as Le,O as Se,l as be,y as xe,a9 as Re,c as oe,cc as Te,ad as J,x as Z,aU as ze,H as De,m as _e,gh as Be,d as Me}from"./index-bPu7mlA1.js";import{b as d,a as A}from"./sentry-uXR4_KRo.js";import{n as g}from"./mui-CvPZa6D0.js";import{P as f}from"./core-DuCBl3U1.js";import{l as Ne}from"./stripe-DMRn4zHo.js";import{n as G}from"./commonTypes-B3mnx2x_-C4g4js89.js";import{F as Ve}from"./SetUpAccountSection-CxjYbrXu-D_xZkN4u.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]="3f11b07f-84ee-4e6b-940b-9aecd3d16548",e._sentryDebugIdIdentifier="sentry-dbid-3f11b07f-84ee-4e6b-940b-9aecd3d16548")}catch{}})();function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ae(Object(n),!0).forEach(function(o){Ce(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Q(e){return Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q(e)}function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function we(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,o){var r=n&&(typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"]);if(r!=null){var a,c,m=[],l=!0,p=!1;try{for(r=r.call(n);!(l=(a=r.next()).done)&&(m.push(a.value),!o||m.length!==o);l=!0);}catch(i){p=!0,c=i}finally{try{l||r.return==null||r.return()}finally{if(p)throw c}}return m}}(e,t)||function(n,o){if(n){if(typeof n=="string")return se(n,o);var r=Object.prototype.toString.call(n).slice(8,-1);if(r==="Object"&&n.constructor&&(r=n.constructor.name),r==="Map"||r==="Set")return Array.from(n);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return se(n,o)}}(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function se(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var P=function(e,t,n){var o=!!n,r=d.useRef(n);d.useEffect(function(){r.current=n},[n]),d.useEffect(function(){if(!o||!e)return function(){};var a=function(){r.current&&r.current.apply(r,arguments)};return e.on(t,a),function(){e.off(t,a)}},[o,t,e,r])},X=function(e){var t=d.useRef(e);return d.useEffect(function(){t.current=e},[e]),t.current},W=function(e){return e!==null&&Q(e)==="object"},ce="[object Object]",Ue=function e(t,n){if(!W(t)||!W(n))return t===n;var o=Array.isArray(t);if(o!==Array.isArray(n))return!1;var r=Object.prototype.toString.call(t)===ce;if(r!==(Object.prototype.toString.call(n)===ce))return!1;if(!r&&!o)return t===n;var a=Object.keys(t),c=Object.keys(n);if(a.length!==c.length)return!1;for(var m={},l=0;l<a.length;l+=1)m[a[l]]=!0;for(var p=0;p<c.length;p+=1)m[c[p]]=!0;var i=Object.keys(m);if(i.length!==a.length)return!1;var v=t,x=n;return i.every(function(b){return e(v[b],x[b])})},ve=function(e,t,n){return W(e)?Object.keys(e).reduce(function(o,r){var a=!W(t)||!Ue(e[r],t[r]);return n.includes(r)?(a&&console.warn("Unsupported prop change: options.".concat(r," is not a mutable property.")),o):a?ie(ie({},o||{}),{},Ce({},r,e[r])):o},null):null},Pe="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",le=function(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pe;if(e===null||W(t=e)&&typeof t.elements=="function"&&typeof t.createToken=="function"&&typeof t.createPaymentMethod=="function"&&typeof t.confirmCardPayment=="function")return e;throw new Error(n)},Fe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pe;if(function(o){return W(o)&&typeof o.then=="function"}(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(o){return le(o,t)})};var n=le(e,t);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},K=d.createContext(null);K.displayName="ElementsContext";var je=function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},Ee=function(e){var t=e.stripe,n=e.options,o=e.children,r=d.useMemo(function(){return Fe(t)},[t]),a=we(d.useState(function(){return{stripe:r.tag==="sync"?r.stripe:null,elements:r.tag==="sync"?r.stripe.elements(n):null}}),2),c=a[0],m=a[1];d.useEffect(function(){var i=!0,v=function(x){m(function(b){return b.stripe?b:{stripe:x,elements:x.elements(n)}})};return r.tag!=="async"||c.stripe?r.tag!=="sync"||c.stripe||v(r.stripe):r.stripePromise.then(function(x){x&&i&&v(x)}),function(){i=!1}},[r,c,n]);var l=X(t);d.useEffect(function(){l!==null&&l!==t&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[l,t]);var p=X(n);return d.useEffect(function(){if(c.elements){var i=ve(n,p,["clientSecret","fonts"]);i&&c.elements.update(i)}},[n,p,c.elements]),d.useEffect(function(){var i;(i=c.stripe)&&i._registerWrapper&&i.registerAppInfo&&(i._registerWrapper({name:"react-stripe-js",version:"2.7.3"}),i.registerAppInfo({name:"react-stripe-js",version:"2.7.3",url:"https://stripe.com/docs/stripe-js/react"}))},[c.stripe]),d.createElement(K.Provider,{value:c},o)};Ee.propTypes={stripe:f.any,options:f.object};var We=function(){var e,t;return(e="calls useElements()",t=d.useContext(K),je(t,e)).elements};f.func.isRequired;var ke=d.createContext(null);ke.displayName="CustomCheckoutSdkContext";d.createContext(null).displayName="CustomCheckoutContext",f.any,f.shape({clientSecret:f.string.isRequired,elementsOptions:f.object}).isRequired;var ee=function(e){var t=d.useContext(ke),n=d.useContext(K);if(t&&n)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return t?function(o,r){if(!o)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(r," in an <CustomCheckoutProvider> provider."));return o}(t,e):je(n,e)},y=function(e,t){var n,o="".concat((n=e).charAt(0).toUpperCase()+n.slice(1),"Element"),r=t?function(a){ee("mounts <".concat(o,">"));var c=a.id,m=a.className;return d.createElement("div",{id:c,className:m})}:function(a){var c,m=a.id,l=a.className,p=a.options,i=p===void 0?{}:p,v=a.onBlur,x=a.onFocus,b=a.onReady,L=a.onChange,j=a.onEscape,R=a.onClick,B=a.onLoadError,M=a.onLoaderStart,N=a.onNetworksChange,V=a.onConfirm,_=a.onCancel,I=a.onShippingAddressChange,U=a.onShippingRateChange,$=ee("mounts <".concat(o,">")),z="elements"in $?$.elements:null,T="customCheckoutSdk"in $?$.customCheckoutSdk:null,E=we(d.useState(null),2),h=E[0],D=E[1],w=d.useRef(null),O=d.useRef(null);P(h,"blur",v),P(h,"focus",x),P(h,"escape",j),P(h,"click",R),P(h,"loaderror",B),P(h,"loaderstart",M),P(h,"networkschange",N),P(h,"confirm",V),P(h,"cancel",_),P(h,"shippingaddresschange",I),P(h,"shippingratechange",U),P(h,"change",L),b&&(c=e==="expressCheckout"?b:function(){b(h)}),P(h,"ready",c),d.useLayoutEffect(function(){if(w.current===null&&O.current!==null&&(z||T)){var C=null;T?C=T.createElement(e,i):z&&(C=z.create(e,i)),w.current=C,D(C),C&&C.mount(O.current)}},[z,T,i]);var H=X(i);return d.useEffect(function(){if(w.current){var C=ve(i,H,["paymentRequest"]);C&&w.current.update(C)}},[i,H]),d.useLayoutEffect(function(){return function(){if(w.current&&typeof w.current.destroy=="function")try{w.current.destroy(),w.current=null}catch{}}},[]),d.createElement("div",{id:m,className:l,ref:O})};return r.propTypes={id:f.string,className:f.string,onChange:f.func,onBlur:f.func,onFocus:f.func,onReady:f.func,onEscape:f.func,onClick:f.func,onLoadError:f.func,onLoaderStart:f.func,onNetworksChange:f.func,onConfirm:f.func,onCancel:f.func,onShippingAddressChange:f.func,onShippingRateChange:f.func,options:f.object},r.displayName=o,r.__elementType=e,r},S=typeof window>"u";d.createContext(null).displayName="EmbeddedCheckoutProviderContext";y("auBankAccount",S),y("card",S);var de=y("cardNumber",S),ue=y("cardExpiry",S),pe=y("cardCvc",S);y("fpxBank",S),y("iban",S),y("idealBank",S),y("p24Bank",S),y("epsBank",S),y("payment",S),y("expressCheckout",S),y("paymentRequestButton",S),y("linkAuthentication",S),y("address",S),y("shippingAddress",S),y("paymentMethodMessaging",S),y("affirmMessage",S),y("afterpayClearpayMessage",S);const He={containerHeight:new Z(656,720)},qe=g.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{V as t,bw as We,bM as Me,O as $,o as i,f as L,C as z,y as Re,e as k,a_ as ne,b as d,bd as Be,bN as Ee,bO as ge,m,bg as R,ab as J,bP as we,a as Fe,w as ze,bQ as Ue,a7 as Ze,bR as Ke,s as He,bS as qe,bT as Ge,an as Qe,S as E,bU as Xe,x as b,bV as Ye,bW as Te,bG as _,L as ee,bX as Pe,T as Je,A as et,bY as tt,bZ as ot,a1 as it,b_ as st,l as O,H as te,b$ as rt,bH as Ne,au as oe,c0 as ve,b8 as lt,c1 as nt}from"./index-iSEGT9xi.js";import{a as u,b as ce}from"./sentry-DwNPvXBL.js";import{n as o}from"./mui-Bg5IRLA2.js";import{q0 as De,bt as X}from"./zeni-epic-state-DQF5EBoo.js";import{d as ie}from"./ZeniAvatar-Ct7MPW2X-Dr9Hk39M.js";import{T as Le}from"./RoleWithToolTip-BYO1YG6N-BFoZQpPA.js";import"./pdf-2PUMrtF-.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";import"./avatar-Dz7aEm3d-VXKNqIyu.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]="9eabcca9-198b-429a-9fd4-f669b2c5cfca",e._sentryDebugIdIdentifier="sentry-dbid-9eabcca9-198b-429a-9fd4-f669b2c5cfca")}catch{}})();const at=o.div`
1
+ import{V as t,bw as We,bM as Me,O as $,o as i,f as L,C as z,y as Re,e as k,a_ as ne,b as d,bd as Be,bN as Ee,bO as ge,m,bg as R,ab as J,bP as we,a as Fe,w as ze,bQ as Ue,a7 as Ze,bR as Ke,s as He,bS as qe,bT as Ge,an as Qe,S as E,bU as Xe,x as b,bV as Ye,bW as Te,bG as _,L as ee,bX as Pe,T as Je,A as et,bY as tt,bZ as ot,a1 as it,b_ as st,l as O,H as te,b$ as rt,bH as Ne,au as oe,c0 as ve,b8 as lt,c1 as nt}from"./index-bPu7mlA1.js";import{a as u,b as ce}from"./sentry-uXR4_KRo.js";import{n as o}from"./mui-CvPZa6D0.js";import{q0 as De,bt as X}from"./zeni-epic-state-BDdTNPzg.js";import{d as ie}from"./ZeniAvatar-CCOD249Z-DHdRsr5H.js";import{T as Le}from"./RoleWithToolTip-BfM8Ltz4-DGj9-oQ7.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./avatar-Dz7aEm3d-BBjMxgr_.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]="5dc2efda-645b-4da6-9ea8-cb0c627b3760",e._sentryDebugIdIdentifier="sentry-dbid-5dc2efda-645b-4da6-9ea8-cb0c627b3760")}catch{}})();const at=o.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{j as e}from"./pdf-2PUMrtF-.js";import{HU as ee,ct as M,cA as K,cy as ae,Dr as X,HB as se,pQ as we,HV as q,pE as xe,pZ as De,pT as te,pI as ne,pX as ke,pU as Ie,HW as oe,rq as Ee,HX as je,dg as Pe,HY as A,pN as ie,pL as re,q1 as Te,bE as ve}from"./zeni-epic-state-DQF5EBoo.js";import{e as le,aE as Y,aG as k,js as G,kc as de,f as ce,kn as pe,jQ as ue,ko as Le,x as me,o as R,jT as he,O as ge,kp as Fe,k2 as Oe,bk as Re,jz as fe,J as Ve,jO as Ue,kq as Be,_ as Ze}from"./index-iSEGT9xi.js";import{D as be,n as z,S as ye}from"./mui-Bg5IRLA2.js";import J from"./NotFoundScreen-DGF4ewvh.js";import{a as i}from"./sentry-DwNPvXBL.js";import{i as Q,l as He,u as D,j as Ae,h as $e,k as _e,R as N,m as H}from"./core-Dbakk1VU.js";import{M as Ge}from"./MobileAppDrawer-D9B1riEd.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="12d8c095-7c18-40b3-b14c-ac23fb614021",a._sentryDebugIdIdentifier="sentry-dbid-12d8c095-7c18-40b3-b14c-ac23fb614021")}catch{}})();const ze={overlayWidth:new me(100,100,58)},$=ge.getLocalizedStrings().peoplePage.invitePage,We=({companyId:a,managersListView:t,companyPassportView:r,classListView:n,mode:h,isEditPeopleDrawerOpen:o,closeDrawerHandler:C})=>{const g=le(),m=Q(),[V,E]=i.useState(!1),[U,S]=i.useState(!1),{userId:w}=He(),d=D(c=>ee(c)),p=D(c=>M(c)),{useFeatureGate:f}=Y(),{isFeatureEnabled:I}=f(k.isDebitCardFeatureEnabled),j=K(I,p),v=ae(p),L=X(p),B=se(p),Z=!!p.company?.featuresActivationInfo?.isReimbursementFeatureEnabled,x=!j&&n.fetchState!=="Completed"||t.fetchState!=="Completed"||r.fetchState!=="Completed"||a==null;if(G.getSignedInUser()==null)throw Error("Can't access invite people page without signing in...");const b=()=>{m(q()),C()},u=()=>{V===!0?S(!0):b()},P=r.companyView?.controllers?.map(c=>c.user),{isFeatureEnabled:T}=f(k.isDepositAccountsFeatureEnabled),{isFeatureEnabled:F}=f(k.isChargeCardFeatureEnabled),y=de(p,F,I),{isFeatureEnabled:O}=f(k.isTreasuryEnabled),s={peopleDetails:d,classList:n.classes,managersList:t.users,controllersList:P,mode:h,isZeniTenant:L,isReimbursementDisabled:Z===!1,isZeniAccountsDisabled:T===!1,isChargeCardDisabled:y===!1,isTreasuryDisabled:O===!1,isLiteRoleDisabled:B===!1,isBankingOnlyTenant:j,isCardsOnlyTenant:v,onResetClick:b,onDeleteUser:c=>{m(ne(c.userId,c.userRole.userRoleId))},onPeopleLocalDataUpdated:c=>{m(te({peopleLocalData:c})),E(!0)},onSaveClick:()=>{m(h==="zeni_only"?xe(a):De(L))},onCloseClick:u},l={onOkClick:()=>{S(!1),b()},onCancelClick:()=>{S(!1)}};return i.useEffect(()=>{x===!1&&w!=null&&m(we(w))},[x,w]),i.useEffect(()=>{d.updatePersonState.fetchState==="Completed"&&b()},[d.updatePersonState.fetchState]),e.jsx(be,{anchor:"right",open:o,PaperProps:{style:{width:ze.overlayWidth.valuePercentage(g),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:ce.overlayDark,cursor:"pointer"}}},onClose:u,children:e.jsxs(qe,{onClick:c=>c.stopPropagation(),children:[U===!0?e.jsx(pe,{titleComponent:e.jsx(Ce,{children:$.discardTitle}),descriptionComponent:e.jsx(Se,{children:$.discardDescription}),primaryButtonText:$.discard,secondaryButtonText:$.no,action:l,isEditPopup:!0}):null,x||d.person==null?e.jsx(ue,{fetchState:"In-Progress",style:{height:"calc(100vh - 110px)"}}):e.jsx(Le,{...s})]})})},qe=z(ye)`
1
+ import{j as e}from"./pdf-LR9rRMEe.js";import{HU as ee,ct as M,cA as K,cy as ae,Dr as X,HB as se,pQ as we,HV as q,pE as xe,pZ as De,pT as te,pI as ne,pX as ke,pU as Ie,HW as oe,rq as Ee,HX as je,dg as Pe,HY as A,pN as ie,pL as re,q1 as Te,bE as ve}from"./zeni-epic-state-BDdTNPzg.js";import{e as le,aE as Y,aG as k,js as G,kc as de,f as ce,kn as pe,jQ as ue,ko as Le,x as me,o as R,jT as he,O as ge,kp as Fe,k2 as Oe,bk as Re,jz as fe,J as Ve,jO as Ue,kq as Be,_ as Ze}from"./index-bPu7mlA1.js";import{D as be,n as z,S as ye}from"./mui-CvPZa6D0.js";import J from"./NotFoundScreen-CJqSMVfb.js";import{a as i}from"./sentry-uXR4_KRo.js";import{i as Q,l as He,u as D,j as Ae,h as $e,k as _e,R as N,m as H}from"./core-DuCBl3U1.js";import{M as Ge}from"./MobileAppDrawer-CKcdPSDd.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="12d8c095-7c18-40b3-b14c-ac23fb614021",a._sentryDebugIdIdentifier="sentry-dbid-12d8c095-7c18-40b3-b14c-ac23fb614021")}catch{}})();const ze={overlayWidth:new me(100,100,58)},$=ge.getLocalizedStrings().peoplePage.invitePage,We=({companyId:a,managersListView:t,companyPassportView:r,classListView:n,mode:h,isEditPeopleDrawerOpen:o,closeDrawerHandler:C})=>{const g=le(),m=Q(),[V,E]=i.useState(!1),[U,S]=i.useState(!1),{userId:w}=He(),d=D(c=>ee(c)),p=D(c=>M(c)),{useFeatureGate:f}=Y(),{isFeatureEnabled:I}=f(k.isDebitCardFeatureEnabled),j=K(I,p),v=ae(p),L=X(p),B=se(p),Z=!!p.company?.featuresActivationInfo?.isReimbursementFeatureEnabled,x=!j&&n.fetchState!=="Completed"||t.fetchState!=="Completed"||r.fetchState!=="Completed"||a==null;if(G.getSignedInUser()==null)throw Error("Can't access invite people page without signing in...");const b=()=>{m(q()),C()},u=()=>{V===!0?S(!0):b()},P=r.companyView?.controllers?.map(c=>c.user),{isFeatureEnabled:T}=f(k.isDepositAccountsFeatureEnabled),{isFeatureEnabled:F}=f(k.isChargeCardFeatureEnabled),y=de(p,F,I),{isFeatureEnabled:O}=f(k.isTreasuryEnabled),s={peopleDetails:d,classList:n.classes,managersList:t.users,controllersList:P,mode:h,isZeniTenant:L,isReimbursementDisabled:Z===!1,isZeniAccountsDisabled:T===!1,isChargeCardDisabled:y===!1,isTreasuryDisabled:O===!1,isLiteRoleDisabled:B===!1,isBankingOnlyTenant:j,isCardsOnlyTenant:v,onResetClick:b,onDeleteUser:c=>{m(ne(c.userId,c.userRole.userRoleId))},onPeopleLocalDataUpdated:c=>{m(te({peopleLocalData:c})),E(!0)},onSaveClick:()=>{m(h==="zeni_only"?xe(a):De(L))},onCloseClick:u},l={onOkClick:()=>{S(!1),b()},onCancelClick:()=>{S(!1)}};return i.useEffect(()=>{x===!1&&w!=null&&m(we(w))},[x,w]),i.useEffect(()=>{d.updatePersonState.fetchState==="Completed"&&b()},[d.updatePersonState.fetchState]),e.jsx(be,{anchor:"right",open:o,PaperProps:{style:{width:ze.overlayWidth.valuePercentage(g),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:ce.overlayDark,cursor:"pointer"}}},onClose:u,children:e.jsxs(qe,{onClick:c=>c.stopPropagation(),children:[U===!0?e.jsx(pe,{titleComponent:e.jsx(Ce,{children:$.discardTitle}),descriptionComponent:e.jsx(Se,{children:$.discardDescription}),primaryButtonText:$.discard,secondaryButtonText:$.no,action:l,isEditPopup:!0}):null,x||d.person==null?e.jsx(ue,{fetchState:"In-Progress",style:{height:"calc(100vh - 110px)"}}):e.jsx(Le,{...s})]})})},qe=z(ye)`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  flex-direction: column;
@@ -1 +1 @@
1
- import{j as n}from"./pdf-2PUMrtF-.js";import C from"./NotFoundScreen-DGF4ewvh.js";import{a as r}from"./sentry-DwNPvXBL.js";import{j as _,h as E,u as p,l as v,i as M,N as U,k as N,R as z,m as h}from"./core-Dbakk1VU.js";import{ct as A,Nx as I,bn as O,bm as P,ey as V,eg as B}from"./zeni-epic-state-DQF5EBoo.js";import{N as F,js as b,mb as $}from"./index-iSEGT9xi.js";import"./mui-Bg5IRLA2.js";import{M as q}from"./MobileAppDrawer-D9B1riEd.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.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]="d7c58dca-acdf-41ee-9e16-d89df063825a",e._sentryDebugIdIdentifier="sentry-dbid-d7c58dca-acdf-41ee-9e16-d89df063825a")}catch{}})();const G=N(function(e){const t=b.getSignedInUser(),d=e.tenantState.currentTenantId,o={userId:t?.userId??"",sessionId:t?.zeniSessionId??"",tenantId:d??""},{aggregatedReportViewState:s}=I(e);return{authParams:o,isDisabled:!1,loggedInUser:t,aggregatedReport:s}},function(e,t){return{onBackClick:()=>{t.navigate("../../")},onClickMenuIcon:()=>{t.handleDrawerToggle(!0)}}})($),H=()=>{const e=_(),t=E(),d=F(),o=p(a=>A(a)),{aggregatedReportViewState:s}=p(a=>I(a)),{tenantEmailDomain:g}=v(),m=M(),l=b.getSignedInUser();if(l==null)throw new Error("Can't access this page without signing in...");const u=r.useRef(!1),[w,S]=r.useState(!1),j=O(o?.userRole??[]),x=o?.userRole?.includes("bookkeeping_admin")??!1,y=P(l),k=j||x||y,c=r.useCallback((a,i,T)=>{m(V({fromMonth:a,toMonth:i,cacheOverride:T}))},[]);r.useEffect(()=>{s?.fetchState==="Completed"&&u.current&&(m(B({messageSection:"data_refresh_update",messageText:"success",type:"success",showStatusIcon:!0})),u.current=!1)},[s?.fetchState]);const D=r.useCallback((a,i)=>{s!=null&&s?.fetchState==="In-Progress"||c(a,i,!0),u.current=!0},[s?.fetchState,c]),R=r.useCallback((a,i)=>{c(a,i,!1)},[c]);if(!k)return n.jsx(U,{to:`/${g}/dashboard`,replace:!0});const f=a=>{S(a)};return n.jsxs(n.Fragment,{children:[n.jsx(q,{isAppContentDrawerOpen:w,handleDrawerToggle:f}),n.jsx(G,{navigate:e,location:t,themeState:d,currentTenant:o,signedInUser:l,tenantEmailDomain:g,onReload:D,onTimeRangeSelect:R,handleDrawerToggle:f})]})};function ie(){return n.jsxs(z,{children:[n.jsx(h,{path:"*",element:n.jsx(H,{})}),n.jsx(h,{path:"*",element:n.jsx(C,{})})]})}export{ie as default};
1
+ import{j as n}from"./pdf-LR9rRMEe.js";import C from"./NotFoundScreen-CJqSMVfb.js";import{a as r}from"./sentry-uXR4_KRo.js";import{j as _,h as E,u as p,l as v,i as M,N as U,k as N,R as z,m as h}from"./core-DuCBl3U1.js";import{ct as A,Nx as I,bn as O,bm as P,ey as V,eg as B}from"./zeni-epic-state-BDdTNPzg.js";import{N as F,js as b,mb as $}from"./index-bPu7mlA1.js";import"./mui-CvPZa6D0.js";import{M as q}from"./MobileAppDrawer-CKcdPSDd.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.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]="d7c58dca-acdf-41ee-9e16-d89df063825a",e._sentryDebugIdIdentifier="sentry-dbid-d7c58dca-acdf-41ee-9e16-d89df063825a")}catch{}})();const G=N(function(e){const t=b.getSignedInUser(),d=e.tenantState.currentTenantId,o={userId:t?.userId??"",sessionId:t?.zeniSessionId??"",tenantId:d??""},{aggregatedReportViewState:s}=I(e);return{authParams:o,isDisabled:!1,loggedInUser:t,aggregatedReport:s}},function(e,t){return{onBackClick:()=>{t.navigate("../../")},onClickMenuIcon:()=>{t.handleDrawerToggle(!0)}}})($),H=()=>{const e=_(),t=E(),d=F(),o=p(a=>A(a)),{aggregatedReportViewState:s}=p(a=>I(a)),{tenantEmailDomain:g}=v(),m=M(),l=b.getSignedInUser();if(l==null)throw new Error("Can't access this page without signing in...");const u=r.useRef(!1),[w,S]=r.useState(!1),j=O(o?.userRole??[]),x=o?.userRole?.includes("bookkeeping_admin")??!1,y=P(l),k=j||x||y,c=r.useCallback((a,i,T)=>{m(V({fromMonth:a,toMonth:i,cacheOverride:T}))},[]);r.useEffect(()=>{s?.fetchState==="Completed"&&u.current&&(m(B({messageSection:"data_refresh_update",messageText:"success",type:"success",showStatusIcon:!0})),u.current=!1)},[s?.fetchState]);const D=r.useCallback((a,i)=>{s!=null&&s?.fetchState==="In-Progress"||c(a,i,!0),u.current=!0},[s?.fetchState,c]),R=r.useCallback((a,i)=>{c(a,i,!1)},[c]);if(!k)return n.jsx(U,{to:`/${g}/dashboard`,replace:!0});const f=a=>{S(a)};return n.jsxs(n.Fragment,{children:[n.jsx(q,{isAppContentDrawerOpen:w,handleDrawerToggle:f}),n.jsx(G,{navigate:e,location:t,themeState:d,currentTenant:o,signedInUser:l,tenantEmailDomain:g,onReload:D,onTimeRangeSelect:R,handleDrawerToggle:f})]})};function ie(){return n.jsxs(z,{children:[n.jsx(h,{path:"*",element:n.jsx(H,{})}),n.jsx(h,{path:"*",element:n.jsx(C,{})})]})}export{ie as default};
@@ -1 +1 @@
1
- import{a as h,b as t}from"./sentry-DwNPvXBL.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new r.Error().stack;a&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[a]="a301a95b-8420-43bd-aa56-5738077199ba",r._sentryDebugIdIdentifier="sentry-dbid-a301a95b-8420-43bd-aa56-5738077199ba")}catch{}})();const c="64px",b={};var k=({src:r,light:a,oEmbedUrl:n,onClickPreview:l,playIcon:w,previewTabIndex:m,previewAriaLabel:u})=>{const[p,i]=h.useState(null);h.useEffect(()=>{r&&a&&n&&v({src:r,light:a,oEmbedUrl:n})},[r,a,n]);const v=async({src:e,light:d,oEmbedUrl:I})=>{if(t.isValidElement(d))return;if(typeof d=="string")return void i(d);if(b[e])return void i(b[e]);i(null);const E=await fetch(I.replace("{url}",e)),g=await E.json();if(g.thumbnail_url){const f=g.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");i(f),b[e]=f}},o=t.isValidElement(a),y={display:"flex",alignItems:"center",justifyContent:"center"},s={preview:{width:"100%",height:"100%",backgroundImage:p&&!o?`url(${p})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...y},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:c,width:c,height:c,position:o?"absolute":void 0,...y},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},_=t.createElement("div",{style:s.shadow,className:"react-player__shadow"},t.createElement("div",{style:s.playIcon,className:"react-player__play-icon"}));return t.createElement("div",{style:s.preview,className:"react-player__preview",tabIndex:m,onClick:e=>{l?.(e)},onKeyDown:e=>{e.key!=="Enter"&&e.key!==" "||l==null||l(e)},...u?{"aria-label":u}:{}},o?a:null,w||_)};export{k as default};
1
+ import{a as h,b as t}from"./sentry-uXR4_KRo.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new r.Error().stack;a&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[a]="a301a95b-8420-43bd-aa56-5738077199ba",r._sentryDebugIdIdentifier="sentry-dbid-a301a95b-8420-43bd-aa56-5738077199ba")}catch{}})();const c="64px",b={};var k=({src:r,light:a,oEmbedUrl:n,onClickPreview:l,playIcon:w,previewTabIndex:m,previewAriaLabel:u})=>{const[p,i]=h.useState(null);h.useEffect(()=>{r&&a&&n&&v({src:r,light:a,oEmbedUrl:n})},[r,a,n]);const v=async({src:e,light:d,oEmbedUrl:I})=>{if(t.isValidElement(d))return;if(typeof d=="string")return void i(d);if(b[e])return void i(b[e]);i(null);const E=await fetch(I.replace("{url}",e)),g=await E.json();if(g.thumbnail_url){const f=g.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");i(f),b[e]=f}},o=t.isValidElement(a),y={display:"flex",alignItems:"center",justifyContent:"center"},s={preview:{width:"100%",height:"100%",backgroundImage:p&&!o?`url(${p})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...y},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:c,width:c,height:c,position:o?"absolute":void 0,...y},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},_=t.createElement("div",{style:s.shadow,className:"react-player__shadow"},t.createElement("div",{style:s.playIcon,className:"react-player__play-icon"}));return t.createElement("div",{style:s.preview,className:"react-player__preview",tabIndex:m,onClick:e=>{l?.(e)},onKeyDown:e=>{e.key!=="Enter"&&e.key!==" "||l==null||l(e)},...u?{"aria-label":u}:{}},o?a:null,w||_)};export{k as default};