@zeniai/web-app-ui 4.14.34-prod → 4.14.35-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (366) hide show
  1. package/dist/assets/{ACHDetailsPage-iiVBlQka-DOdcnea1.js → ACHDetailsPage-B5qIuZya-DhhGJFiO.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-MBAB5kgB-GiPvCRJA.js → AIPerformancePage-BHB45mP--bMes_tkI.js} +1 -1
  3. package/dist/assets/AccountInfoPage-Cd5xYT1g-BezVjAGR.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-CJ7ycVIK-DTztMN2V.js +149 -0
  5. package/dist/assets/{AccountLockedInfoModal-B1JxHllU-DyFOkn-g.js → AccountLockedInfoModal-Dox7IuAX-BJBuQmOL.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DF-X46_u-Dv2VQ_UN.js → AccountReconDetailsDrawerPage-Bqty08m0-CNcZRdSW.js} +1 -1
  7. package/dist/assets/{AccountRow-DEtntSrL-0u2oxgMR.js → AccountRow-D1cjRJJD--D2oyMqA.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Cvixqb_6-Cy_UpDhS.js → AccountsPromoCardStack-Bs3naJHM-eCRqE4NI.js} +11 -11
  9. package/dist/assets/{AddAddressForCardDrawer-B1Qfn44J-BWdxQBZs.js → AddAddressForCardDrawer-DZkBMJfp-CbavqjCF.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BLxUsh1Y-xvXEX-Ux.js → AddToWalletPage-CyRfqVDB-fhBwqlyz.js} +1 -1
  11. package/dist/assets/{AddressRoutes-ffTj4-XE.js → AddressRoutes-BOfIecri.js} +1 -1
  12. package/dist/assets/{AddressScreen-CwbSwP2P.js → AddressScreen-BL1pptQ5.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-XIzuLRE4-C-s9DGYa.js → AgingReportsPage-xBFff3BM-B37Aeh0_.js} +8 -8
  14. package/dist/assets/{AiCfoScreen-ky7GYy31.js → AiCfoScreen-B5nbVKeh.js} +1 -1
  15. package/dist/assets/{AllUserItems-BGMZCYUO-Dadr9Gec.js → AllUserItems-BJf6WPDo-CPycalrU.js} +5 -5
  16. package/dist/assets/{ApAgingDetailPage-B-1gVAu6-CXso1m5Y.js → ApAgingDetailPage-CjBrPyi8-EnSmKZiu.js} +2 -2
  17. package/dist/assets/{AppBasePage-CYjdUgY4-N8in2lu3.js → AppBasePage-CqDm-hnV-Cb4xx63d.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-CbF8TOjd-HEzUvQD5.js → AppDrawerContent-CVVWj66i-TDtj32fZ.js} +6 -6
  19. package/dist/assets/{ApprovalRulesSettingsPage-RCtygkuw-6E84O9sA.js → ApprovalRulesSettingsPage-Cckd2uVA-BuYxkuTi.js} +1 -1
  20. package/dist/assets/{ArAgingChart-ZwWwEBJ3-BSFQLwWJ.js → ArAgingChart-CBsqOd-4-Be7GSB8o.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-DtqyngrA-CcwxPD_r.js → ArAgingDetailPage-i7JObt60-CQiftrKA.js} +1 -1
  22. package/dist/assets/{AttachmentView-UxkSFZmq-C2YzlN6Z.js → AttachmentView-CzC4skJ3-3dq1WroI.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-Co6ZUc5x-BSkB04b8.js → BalancesInsightWithToolTip-B6umvmgL-BkOE6IRV.js} +2 -2
  24. package/dist/assets/{BankAccountSection-DnBVOkJC-vpE8xbp3.js → BankAccountSection-Di4sF52j-D_gkfCl5.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-D7OuLiLz-DfeZIMEg.js → BankAccountWarningSection-Cled-2cR-CM49bGSJ.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-BDLTuNLu-OBPhlcth.js → BankConnectionsSettingsPage-Ccnzq7st-oxNYJAAG.js} +16 -16
  27. package/dist/assets/{BillDetailPage-V8us93cj-a4bc14UJ.js → BillDetailPage-XXOwBfO1-BoigghjD.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-CRqEGV5h.js → BillPayApprovalRoutes-D-JPXnec.js} +1 -1
  29. package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-u4moAED-.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-C6G_eDX9-CDGGBdw4.js → BillPayApprovalRulesPage-COCypDcS-Ldsbb0Zg.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-CTQSknOB-C2T9b-Vq.js → BillPayPromoPage-DOE2YIqC-Qk9YcGXw.js} +11 -11
  32. package/dist/assets/{BillPayRoutes-IwCLBQ4C.js → BillPayRoutes-CBS2uwsj.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-BmgMLaf--hKXnXW7y.js → BillPaySetUpPage-BCJbZDsV-BIjtlBT1.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-IHY3ak0N-BYPEX6n6.js → BillingSettingsPage-iImtlEmO-B72lsLaH.js} +4 -4
  35. package/dist/assets/{BillsBulkReviewDrawerPage-ZoFahXYa-DETAm1nH.js → BillsBulkReviewDrawerPage-B11GWM_0-B4gEY1ob.js} +1 -1
  36. package/dist/assets/{BoxItem-XoWq-tnh-CNFx_qzU.js → BoxItem-Bxa1M4QU-DyrFdjN6.js} +4 -4
  37. package/dist/assets/{BusinessVerificationPage-D9HtnNOu-ZRSnva4Q.js → BusinessVerificationPage-DSuJFoW1-BwLNb7bU.js} +2 -2
  38. package/dist/assets/{BusinessVerificationPageScreen-CBtz2-zR.js → BusinessVerificationPageScreen-BQdQDNi4.js} +1 -1
  39. package/dist/assets/{BusyIndication-BLGcHlgu-DaOngyN9.js → BusyIndication-9zDqSKBP-C1ZL_6Kc.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-Cn0EZrNE-DUYxvvHo.js → CardNumberSubText-_ZZbaz_k-DUqImiGz.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-Bk5ssPnj-DvaMlHNq.js → CashbackDetailPage-DAZXitLt-p_ZAuWDR.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-Ge9Aw7PA-CIu-TGGw.js → ChargeCardDetailPage-B1VIpASk-C6cq7Hcv.js} +20 -20
  43. package/dist/assets/{ChargeCardListPage-BNLOoSv3-B-StV0nu.js → ChargeCardListPage-BOBepN-x-Bsjhp0o3.js} +6 -6
  44. package/dist/assets/{ChargeCardListTable-BoufojYF-DZi3AnCd.js → ChargeCardListTable-YznzSsJo-Ck1z18a-.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-5lUxK8pF-BCsrr76G.js → ChargeCardPaymentHistoryPage--jOwsMla-BOhlFspE.js} +14 -14
  46. package/dist/assets/ChargeCardPromoPage-DIfakIOK-B-zay_30.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-qFs5VmEt.js → ChargeCardRoutes-CCifW-tf.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-Dqoel2Do-CcQz84BS.js → ChargeCardSetupPage-0bpVkeJs-SDjQa1Ra.js} +2 -2
  49. package/dist/assets/{ChargeCardStatementsPage-Dalrj66w-4SSCFPQ4.js → ChargeCardStatementsPage-ChWyQlw6-DL7Upt8t.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-mYjv1H0f-SmPvhIJ-.js → CheckDepositDrawerPage-BS7hnyZn-BYnpBPDj.js} +3 -3
  51. package/dist/assets/{CollapsableReportTable-CIaa7SIH-BHE5m01A.js → CollapsableReportTable-DNfFkAts-Ba6KUje2.js} +109 -100
  52. package/dist/assets/{CompanyOfficerDetailsSection-BSFNYauO-CLhqGMI2.js → CompanyOfficerDetailsSection-CrOIN4IW-BMaGz6_3.js} +16 -16
  53. package/dist/assets/{CompanyPassportCard-B-mBb9Q5-Djs-y_lF.js → CompanyPassportCard-CkzYFTrp-C4EBgPsw.js} +2 -2
  54. package/dist/assets/{CompanyPassportPage-Blyl_Z-c-CfshBdbX.js → CompanyPassportPage-FE6yli6h-KGSkM9PK.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-CfkYFhOH.js → CompanyPassportScreen-zFkQa4Cq.js} +1 -1
  56. package/dist/assets/{CompleteProfile-ySk9I1Ut-BkCkkFbF.js → CompleteProfile-Cb8i1XgZ-D3q04jkj.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-CeAc4Ily-DA7b9h73.js → ConfettiBurst-BZCXEGYA-C5d5kzSC.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-Bt9nVDvl.js → ConnectionAuthScreen-CM9g7u1v.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-DpAfq4d_.js → ConstrainedInnerElement-CgdnMeoA-BgAKlXog.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-BRkqkhfw-BjR4IlX5.js → CreateOrEditVendorPage-CzpSgxbO-Dqm8Zwpt.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-oUIakAtz-BWbFgsjF.js → CreditCardPaymentDrawerPage-c_q0MsSO-CdtVaa6P.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-CSPhUjwG-CnRANTg2.js → CurrencySelectField-BAh7SHrG-D1tX6Pz9.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-CoOyWe6_-BUv4wnWa.js → CustomerOnboardingActivationPage-f3Aa6E5r-PsW9oHee.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-BMwa29XG.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DVPtZVWB.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CWNyUuRp-zXc9wagp.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-B_5BYtTr.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-DWx46Z6R-C-ExaFC2.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-SfRIKq-U.js} +12 -12
  68. package/dist/assets/{CustomerOnboardingPage-D86Sj2KP-D6-04E6_.js → CustomerOnboardingPage-B9hSO88_-B5iac515.js} +7 -7
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-Bo0LFveG-BzG7cQxy.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-Bqjg890b.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-DtIuxucw.js → CustomerOnboardingRoutes-MHYW-e3t.js} +1 -1
  71. package/dist/assets/{Dashboard-DQLJzr16-CVWpnSBo.js → Dashboard-BJ_oIHab-B1azilYN.js} +31 -31
  72. package/dist/assets/{DashboardReportPage-CwfTMXY5-CYxNkh7v.js → DashboardReportPage-BemzMw2e-Ywi7e9T3.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-ChFJ7MHp.js → DashboardRoutes-C-92-XEq.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-CUZGIAxW-CgiNswdF.js → DashboardSidebarBackgroundAnimation-BtA5oEGG-LNl3VR8y.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-DpbVQ8O_.js → DefaultTenantHome-Bim9etFd.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-Ci-LxLsk-DRNN1br-.js → DepositAccTransactionItem-CyFi1P_L-BCRifuhI.js} +5 -5
  77. package/dist/assets/{DepositAccTransactionListPage-RG7P8vQS-KiHqHADW.js → DepositAccTransactionListPage-DvBRRUdZ-yB8jjVIF.js} +3 -3
  78. package/dist/assets/{DomesticWireDetailScreen-mFjAiqsH.js → DomesticWireDetailScreen-D0LT5YWt.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-DsPFUOcE-D5dltjE3.js → DomesticWireDetailsPage-DCDo3aHI-DKoqkJmX.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-BjTf50Dz-BTRZen3n.js → DownloadOverlay-D_lL1sPW-1PQmVEsl.js} +1 -1
  81. package/dist/assets/{DrawerPage-0OFinUxM-Dw-wONp5.js → DrawerPage-DesxXhZk-CE9sM7_o.js} +1 -1
  82. package/dist/assets/{DrawerScreen-CnU-VoMe.js → DrawerScreen-MxSrrJrd.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-BKcOmYVv-DqbQfjtE.js → EditPeoplePage-QvPy_Six-BwgKBjDc.js} +5 -5
  84. package/dist/assets/{EditReimbursementDetailPage-BFIHhQbx-DZUd4Itz.js → EditReimbursementDetailPage-C0ZDkboO-CqRPRQtt.js} +13 -13
  85. package/dist/assets/EntityDetailPage-l7nXIsyF-CbwI2wUW.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes-Bl0VaL7D.js → EntityDetailRoutes-BEygBdNc.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-ORJ2pE_k-BoOr8fVU.js → EntitySummarySection-BwX0a4JL-BZFiwIuR.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-Dzf7j2zV-CwsDMrKO.js → ExpenseAutomationOverviewPage-EdyHjbff-CXMmwtfI.js} +3 -3
  89. package/dist/assets/{ExpenseAutomationPage-BRsKGeoM-xnjjT-mx.js → ExpenseAutomationPage-DA22Qofw-BhoqVQ10.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-D8OIvCDd.js → ExpenseAutomationRoutes-ijMZF_ZU.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-DlBFtMaR-SeZBy6gS.js → ExpressPayPage-EMP6inpX-CBzcRvxz.js} +7 -7
  92. package/dist/assets/{FeaturePreviewPage-C31F3Gmz-C0P6i02u.js → FeaturePreviewPage-SYJm-3aR-BvJl8rgC.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-CcjSI5cK.js → FeaturePreviewScreen-BrgEnIPS.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-BVT2K7mu-CY3KrJG7.js → FollowStepsSection-BxESVqJD-DBgSryEI.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-0cZe1hh0-QDZIOJkv.js → GlobalReviewListPage-D5_ACa-q-Be6ROlgu.js} +1 -1
  96. package/dist/assets/{InformationCardStack-t8eELRLU-Bxjmly9q.js → InformationCardStack-B_qQUEYD-DWu9uCxP.js} +3 -3
  97. package/dist/assets/{InsightsCardStack-CJBPZbzD-Bb1JSXvK.js → InsightsCardStack-BsQzoVzj-Dm_xsmzm.js} +1 -1
  98. package/dist/assets/{InsightsSection-tUBzsCix-CHqlcKsY.js → InsightsSection-B6CNlTNH-DV_5z3I5.js} +6 -6
  99. package/dist/assets/{IntegrationsSettingsPage-Ce0yKUWI-Bd8qZ6Sn.js → IntegrationsSettingsPage-DP6fAccq-DrN7ALwc.js} +3 -3
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-BzR-rKaL-DTdizezB.js → InternationalWireSwiftDetailsPage-VdG7bDZi-2y0ea6UL.js} +9 -9
  101. package/dist/assets/{InternationalWireVerificationPage-7tCXdJ3Y-CfPz5aLZ.js → InternationalWireVerificationPage-COC6lZml-DF2HxV4W.js} +10 -10
  102. package/dist/assets/{InviteFormPage-DePVC0CH-BoGyyI8-.js → InviteFormPage-DN02jRy5-7Lvtg9Hr.js} +1 -1
  103. package/dist/assets/{InvitePageListView-ChbvDKgQ-DW8tQqHU.js → InvitePageListView-CP4K9tJi-bRNoOCRv.js} +20 -20
  104. package/dist/assets/{InvitePeoplePage-DJiEzIeY-BVfacopw.js → InvitePeoplePage-VTM6kM1u-DFLNYNR3.js} +3 -3
  105. package/dist/assets/{InvoiceUploadSection-BjNMjhQR-B7H94Qr_.js → InvoiceUploadSection-it-ZYl1N-CPSEMHj6.js} +7 -7
  106. package/dist/assets/{IssueChargeCardPage-4xbGf5Ut-D1NZ5n0C.js → IssueChargeCardPage-CVfuvGey-BDkFfNQU.js} +11 -11
  107. package/dist/assets/{LabeledAddressValue-Czt7QvSJ-DQcySL2B.js → LabeledAddressValue-DDrQcHIE-BQQnm587.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-Dl3atH92-9Bh85cZL.js → LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-DT_nxhPN-C7uKsE8n.js → LabeledControlledCheckBoxField-CcPO1k23-BZjPsfe4.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-BnljZpX0-B68SMHkZ.js → LabeledCountryMultiSelectField-BYYjzwUG-BPvc68ab.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-CiInq9yD-B0SGNp0O.js → LabeledCreatableSingleSelectField-CISYMojq-CmzS04aH.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-Ceb8vgVH-CBxNcBjR.js → LabeledDocumentField-C_bcFxdY-CD1TCntt.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-B98gNWTE-fV4URX6J.js → LabeledDropDownFormattedTextField-ScGGCap8-BdN7qNJy.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-C53P9fJl-CkFXu9dG.js → LabeledEmailInputField-BppuWRbl-Dsaj9M9p.js} +1 -1
  115. package/dist/assets/{LabeledNameField-BdVztq_8-DOZ2ED2j.js → LabeledNameField-mxSNQk3k-BpAc_tNL.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-sjDjhxfQ-CpanQxt-.js → LabeledSingleSelectField-C6ctNzkA-CTrwMQK7.js} +1 -1
  117. package/dist/assets/{LabeledText-CFJSoGtK-WYjBLL4Z.js → LabeledText-C8Y7EOsX-DCuEu6In.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-CmNHahAF.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-BLPpr77S.js} +4 -4
  119. package/dist/assets/{LabeledZeniRolesDropDownField-CQiP2rEh-dj-ud4dM.js → LabeledZeniRolesDropDownField-BZtreVpj-KqOutsB4.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-ANY7Ns42-mjp3UwWz.js → LinkJETransactionPage-CKq4oiX9-C4YwLVFm.js} +9 -9
  121. package/dist/assets/{LockCardPage-0piclOz3-Ckqd1b8v.js → LockCardPage-CZENNby7-DmtCNaPi.js} +6 -6
  122. package/dist/assets/{LowBalancePopup-CplxkRHP-CQO3ycRf.js → LowBalancePopup-1727S1ri-DQfCP7-o.js} +1 -1
  123. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-DLdN8Rvh.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DaTDXMgN.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-L7bRQS1f.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-DaX13Is3.js → MagicLinkRoutes-DdHE5z12.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-Je-xXgqt.js → MagicLinkSignInScreen-BN_jDhip.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-BA1LfhVb-BgAj_Mic.js → MagicLinkSuccessPage-QMkZgQLG-CTsjsp6N.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-DLdaV8WG-8WWnBNb8.js → MagicLinkTitleSection-CARU1oLQ-DZmT0L5L.js} +1 -1
  130. package/dist/assets/MailingDetailsSection-ByOPaJ05-Cq55yE-t.js +21 -0
  131. package/dist/assets/{MobileAppDrawer-Bcyem12-.js → MobileAppDrawer-C3TNoouV.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-DrAQ635T-CmGmYM-R.js → MoreMenuButton-BsBKwXvk-DLOnGEff.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-BiDvyO_G-BmGEKHOY.js → MyBankConnectionsSettingsPage-BdgIIhL1-CHxTcS48.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-Bb4_b9o6-QySvTesc.js → MyPendingActivationChargeCardListPage-CX38bDdq-Ba-ajqtL.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-nY_eDqfm-CUAB-1K_.js → MyProfileSettingsPage-DYu0Fx6I-BMODc0ew.js} +4 -4
  136. package/dist/assets/{NavBarWithPicker-Dr5XHgP5-BMoWiwl5.js → NavBarWithPicker-CGGEvLwe-DGWn5q5A.js} +1 -1
  137. package/dist/assets/{NavigationArrow-DT82hMh--DsUaY4v0.js → NavigationArrow-CTNkKUtV-LsyvHBca.js} +1 -1
  138. package/dist/assets/{NavigationDots-CwCZ9EAa-BB9rS2z2.js → NavigationDots-Dvce3gHt-H1P3hT7y.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-D1lxnByE-DmJjA0eC.js → NewGlobalMerchantPage-D_f7z47T-DGuDs_dy.js} +1 -1
  140. package/dist/assets/{NoDataChart-DCTRXLc7-BRwtqbdY.js → NoDataChart-CrKeqWSr-DJdc5MTN.js} +1 -1
  141. package/dist/assets/{NoDataTable-D8Xw5pAY-CJGJMrLD.js → NoDataTable-4vPXmPYF-Do6t4z9R.js} +1 -1
  142. package/dist/assets/{NotFoundPage-B_zPUigU-CqL87o0B.js → NotFoundPage-BLWPU1wU-CBPIYV57.js} +6 -6
  143. package/dist/assets/{NotFoundScreen-Ceul2a4k.js → NotFoundScreen-CubXCR1V.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-BjIV5PW8.js → NotificationRoutes-C2SuMmMM.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-aKLRiMp--gxJ4ef8p.js → NotificationSettingsPage-CDiDLX3A-DkD80zQf.js} +4 -4
  146. package/dist/assets/{NotificationsListConfig-CVEetkBc-DvchCo1R.js → NotificationsListConfig-B5pDa4cJ--FUSOPuJ.js} +1 -1
  147. package/dist/assets/{NotificationsPage-DEw6V83J-BMiLOKv6.js → NotificationsPage-Ccl7Dny1-B8jydSw6.js} +14 -14
  148. package/dist/assets/{OpExByVendorPage-DJMov6Ux-CSTc2zF7.js → OpExByVendorPage-spd-nKV4-BIgnMj0p.js} +6 -6
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-7YT_HLI5.js → OverlayContainerPage-BG9y5C0t-D8k0A9EC.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-RBTh1bFk-CYrlYxiW.js → PandLWithForecastPage-TSoe4Z7F-Ba-yVOXG.js} +3 -3
  151. package/dist/assets/{PandLWithForecastRoutes-D46AftWd.js → PandLWithForecastRoutes-BVdwQZDt.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D-kQI4nd-BXInRRHh.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-CUyIA9r2.js} +1 -1
  153. package/dist/assets/{PeoplePage-BEc-Oss7-CYTf-n47.js → PeoplePage-b5_I0qOw-DAP0N6ei.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-B6Hh54SM.js → PeopleRoutes-CAoitlRn.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-CZK-MKEJ.js → PerformanceRoutes-CC4-ZbOh.js} +1 -1
  156. package/dist/assets/{Preview-Dz6VBJ2u.js → Preview-B3lHkBD5.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-BRo0P4GW-Bx79qkz1.js → ProductsCarousel-C3M0ocdF-CqFoMAuJ.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BrXJEufN-wliyWMwp.js → PromoBaseCards-BOGJI2ws-Bshwoahl.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-BIg9Iais-BhNTbLuP.js → QBOConnectionDialog-CmpnnuzP-D_Utdqzr.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-Dyzyd1p0.js → QBOConnectionScreen-W61uspBL.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-DDoUJ7L6-DQnE3KzF.js → QBOSetupSection-DjnN9dgv-C5X6Mv_4.js} +7 -7
  162. package/dist/assets/{ReferralListScreen-BOWr342j.js → ReferralListScreen-CFqALHvq.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-m5L8sFJ5.js → ReimbursementApprovalRoutes--NBUuqoq.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CP0muUGK-Cd-uHeUo.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-Yh9jnSge.js} +3 -3
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CC5sxHbJ.js → ReimbursementApprovalRuleDetailScreen-Btiyq8yy.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-BpVWq3rk-NVHIG-OE.js → ReimbursementApprovalRulesPage-BsCTIqUJ-Z8SJ2BhB.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-pCg86_Ty-BpFwxhjT.js → ReimbursementDetailPage-BbyxE2uL-BwRKVJZ8.js} +1 -1
  168. package/dist/assets/{ReimbursementPromoPage-BW6icjG5-L-8yyH_M.js → ReimbursementPromoPage-CyEgwqcf-KVfjyHVK.js} +8 -8
  169. package/dist/assets/{ReimbursementRoutes-LUt3h9UV.js → ReimbursementRoutes-B7ZhMTn_.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-B6OhWEWH-B07qbUkS.js → ReimbursementSetUpPage-RETPkEQd-h93k32Yy.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DmDoqEZh-uzEFRQ-S.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-DkzJps2g.js} +1 -1
  172. package/dist/assets/{ReloadCard-DIFXZM9U-DBPBbgAk.js → ReloadCard-Bdoo0XiI-DQ7zH5_b.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-BsIDwouQ-CPsb7qgs.js → ReportTableViewSelector-Bc1K7mU_-DG7CvQgg.js} +5 -5
  174. package/dist/assets/{ReportsPage-BFTuYQt2-DMFsqd7C.js → ReportsPage-BOTHMLWh-DQAZC3St.js} +1 -1
  175. package/dist/assets/{ReportsRoutes-o9bGTZG2.js → ReportsRoutes-DCqEshJz.js} +1 -1
  176. package/dist/assets/{RevenueChart-BoFq3ebd-BKAB0VPm.js → RevenueChart-DvyZ3aO7-B4HMUW1f.js} +12 -12
  177. package/dist/assets/{ReviewDetailsPage-6kCQzaHm-BuMU9buw.js → ReviewDetailsPage-BIMg1n2e-DLbpGZaf.js} +5 -5
  178. package/dist/assets/{ReviewOverlay-Dhb-kL6G-T1Rt0JTi.js → ReviewOverlay-CxwoiOLC-BQk8pdfC.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-BgoAL3gc.js → RewardsRoutes-CSIVaJxq.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-BfM8Ltz4-GXXfeOBC.js → RoleWithToolTip-Ct3_VuDM-CgjPQD6C.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ccewwmwc-DNDpwGYk.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-pNKl0FgE.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-D4LK83qQ-CrubqPOA.js → ScheduleDetailsPage-5FWpLRtd-l5IGOvvZ.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-BZR2cL6z-w_YgKqjP.js → ScheduleSequenceTable-R3-PsXES-DyxPg04Q.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-TOE80oct.js → ScreenRoutes-DIrZFSvZ.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-CxjYbrXu-DQJqTTcH.js → SetUpAccountSection-CctbMmoK-B53PK3Go.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-DiQAnQke.js → SettingsRoutes-D3PUQXPp.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-B44zrHwc.js → SetupPagesScreen-KqbTYQgM.js} +1 -1
  188. package/dist/assets/{SignIn-CVmtPGKL-CXpuQZF7.js → SignIn-CmgmnRm4-CYN0bjHA.js} +8 -8
  189. package/dist/assets/{SignInScreen-C2qODMhD.js → SignInScreen-BDFrycHi.js} +1 -1
  190. package/dist/assets/{SignOutScreen-BuY2-rDM.js → SignOutScreen-CGJ8k7ri.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-BLjP9T8h-Bnkn6BRU.js → SpendManagementListViewPage-CFUxCqkU-BnIDgS6j.js} +8 -8
  192. package/dist/assets/{SpendManagementPerTabPage-Ck4brjun-BbdiQcvt.js → SpendManagementPerTabPage-C-kqNTci-BPWoCLvk.js} +21 -21
  193. package/dist/assets/{SpendManagementSection-DAqR2c98-C5fgGVtc.js → SpendManagementSection-CIz4nE_w-BnkkQIXw.js} +9 -9
  194. package/dist/assets/{StatementItem-B_iG99XI-BDI0UE9q.js → StatementItem-vVtoBN2w-Dv2jVRGi.js} +2 -2
  195. package/dist/assets/{StatementsPage-DcKziEfZ-CpFQ2fm7.js → StatementsPage-As5WOnMR-xJO4oteU.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-BI-dgnrK-esyU6zat.js → StatusSwitcher-Bv-ozN6U-aFxpsrjy.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-BpNI5Wke-DY-WyLZ7.js → SubTabSwitcher-D7QeM6nb-bmup9lZe.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-AojDorqX-Ct3YtoCE.js → SuccessAnimation-hijccO_0-BgS0j6Ks.js} +1 -1
  199. package/dist/assets/{SummaryCard-HW-1WXN9-CoLCJfe-.js → SummaryCard-C2qoTsAY-DD3uQEFW.js} +1 -1
  200. package/dist/assets/{TaskDetailPage-Cwe193JO-NTfqA0n4.js → TaskDetailPage-QMk4DTDK-D5dNR6rN.js} +1 -1
  201. package/dist/assets/{TaskListScreen-pLglWsFm.js → TaskListScreen-BN0d0a63.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-Bz1uP5hK-CpLCNkk4.js → TaskManagementPage-BJwp32Ph-YNf3iBQj.js} +30 -30
  203. package/dist/assets/{TaskRoutes-DnaScSH0.js → TaskRoutes-DEMuiHnC.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-oORYeFzN-D8_bwHZK.js → TimeRangeSwitcher-D00bDDhP-CGwNNnWQ.js} +2 -2
  205. package/dist/assets/{TimeframeSwitcher-JcJSbn0--WBWh3QNc.js → TimeframeSwitcher-DA99HdHt-CKTTRDRO.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-BEZU-KDj-D-7PUQTb.js → TimeframeSwitcherWithToggle-DyggDIQj-DWVBybzM.js} +2 -2
  207. package/dist/assets/{TopExCard-CF6z0JWk-BU77sN9h.js → TopExCard-Z1WabZ8c-DRsgDR4x.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-DrcKlFuy-DtCTyGEZ.js → TopExDetailPage-CzHG4f9E-BM9NWMt3.js} +12 -12
  209. package/dist/assets/{TransactionActivityLogPage-BB4q0jan-Dt9C7u25.js → TransactionActivityLogPage-CGKnjNfU-YIIG-jBr.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-DRG_qosz-CdI1Sif1.js → TransactionDetailPage-1-mLOWSz-CE3-Hi8u.js} +24 -24
  211. package/dist/assets/{TransactionDetailRoutes-LeQoOoop.js → TransactionDetailRoutes-BCnSElc9.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-DmniS92w.js → TransactionDetailScreen-DkbX0oG8.js} +1 -1
  213. package/dist/assets/{TransactionList-iw4pyMYF-BZXHb6ne.js → TransactionList-BB-xoIGm-BeosfrmM.js} +11 -11
  214. package/dist/assets/{TransactionListBig-BljAUwAB-CwuevZBI.js → TransactionListBig-C5Sf5Xh--B6eKIFdx.js} +1 -1
  215. package/dist/assets/TransactionListPage-Cj7h1Ros-SOf7w-b8.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-B0NbfJGc.js → TransactionListRoutes-AdVZSKN8.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DXuYIj-p-BAGVAnze.js → TransactionVendorDetailPage-SsrSOk3O-CHAPTeaE.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-C3q8h8Zy-BoniTEmb.js → TransferDrawerPage-BvKZ7vHF-ITLn4K_S.js} +15 -15
  219. package/dist/assets/{TreasuryOverviewPage-DqjFEV9B-DKLiFiZv.js → TreasuryOverviewPage-DwvjMR4_-BC_r0SvV.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-ByeK0W_5-CSsspYlY.js → TreasuryPromoPage-CtTFvSQW-DMtUAfPQ.js} +14 -14
  221. package/dist/assets/{TreasuryRoutes-RdusD-Rs.js → TreasuryRoutes-CZR8Qztx.js} +1 -1
  222. package/dist/assets/TreasuryStatementsPage-Catz8shX-gsqiZvC2.js +58 -0
  223. package/dist/assets/{TreasuryTaxLetterPage-DwLyqS86-DtzjbSZs.js → TreasuryTaxLetterPage-D8hzCL5o-CxF7_s4J.js} +3 -3
  224. package/dist/assets/{TrendChart-Dgh_21FN-fE4rL1gs.js → TrendChart-Bnp4Pcdf-DAHDBSRg.js} +2 -2
  225. package/dist/assets/{TrendWithTransactions-BgIPapHk-CoxM2wed.js → TrendWithTransactions-3D1FvM8G-D5DfweO8.js} +8 -8
  226. package/dist/assets/{UncategorizedAccountsMappingPage-DIIJcGrj-BjS9g3RO.js → UncategorizedAccountsMappingPage-DbyY-dYB-icxwXrio.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-DIOZhQOZ-BAgYpBnA.js → UnitIntegrationPage-CTzme1te-CKwPezqe.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-qrcEQmkz-Pa5hfJ1q.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-BP-fxZSw.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-C58w6vC7-BNROU96t.js → Vendor2FAPopup-D0zYKkIv-BYJemD3t.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-CXB0C692.js +1 -0
  231. package/dist/assets/{VendorDetailPage-CEQFcNHr-CdHY7Z8F.js → VendorDetailPage-Br9wIOnI-Ui00Vq-Y.js} +12 -12
  232. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-Cvv6-Sl5.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-Dl7jZYBV-D7-yK69r.js → VendorFiling1099EditablePage-himC7iD3-CGMBRb4f.js} +5 -5
  234. package/dist/assets/{VendorFirstReviewPage-yVbtg_tG-DkVJi06p.js → VendorFirstReviewPage-BbknTCBD-x2LuwDBy.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-DNDv_s8G-Bjr44b-O.js → VendorInternationalWireDetailsPage-CS595Xgc-BWEjYBp2.js} +6 -6
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-CRl0YntK.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-Cscbgqrx-Bo3Iqcup.js → VendorsAccountsSection-CgSJu8wq-BJswZIIA.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-SOKeFy8n.js → VendorsRoutes-05ainu55.js} +1 -1
  239. package/dist/assets/{VerifyDevice-D1vsUSdJ-DgLDroCx.js → VerifyDevice-Dvf0JsNN-BxFzBfzQ.js} +5 -5
  240. package/dist/assets/{VideoPlayer-TlEy-oD0-u3_il_Y_.js → VideoPlayer-VAzOGCDL-C6P1MPmA.js} +1 -1
  241. package/dist/assets/{VideoPopup-3DD646kG-DAIfDEuP.js → VideoPopup-BqvZ-XIh-tpbto8Y7.js} +4 -4
  242. package/dist/assets/{WiseConfirmationScreen-DH4LFnlh.js → WiseConfirmationScreen-D-O-AEQg.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-BbsXzuHD-D5t6KpKy.js → ZeniAccountDetailPage-GcwTJdB8-CtCTcpCW.js} +14 -14
  244. package/dist/assets/{ZeniAccountListViewPage-lmuVUpKS-BoKhHVdj.js → ZeniAccountListViewPage-CdwO0Duy-BDSbkpkS.js} +24 -24
  245. package/dist/assets/{ZeniAccountNavBarPieces-CQhwBKXD-w44Ezq7c.js → ZeniAccountNavBarPieces-BrSIfL36--BCCJ_B2.js} +1 -1
  246. package/dist/assets/{ZeniAccountPromoPage-CXEb9tRE-Clp7jZPs.js → ZeniAccountPromoPage-JrcedQYB-Dn7j6upG.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-DFjwyu_L.js → ZeniAccountRoutes-C1DKaJoc.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-DPhYQu6u-CIYZ11Sw.js → ZeniAccountSetupPage-TKBfbgzJ-BqZbSZu7.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-C6QxYG3m.js → ZeniAccountStatementScreen-mRCX19Ut.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-CCOD249Z-aNjy2A_h.js → ZeniAvatar-Bzhq25CU-B22YVvLm.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-pvaggW6x-CiSnJmIZ.js → ZeniCopyright-DglqrTpl-DIGaFEv0.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-EhzRlpFY-CeeUTfjC.js → ZeniDatePicker-BHXPxPnI-vwmLROHK.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-Dlyom9dD-ssTMZPmj.js → ZeniTransferAmountSlider-BcaZZuAw-9zrzQe1V.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-BiN37Afq.js → accountMappingHelper-GPi0oD1D.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-CPiuqV_c.js → add-to-wallet-DgdBD8_G-0ekd9-Ri.js} +1 -1
  256. package/dist/assets/{analytics-wdo9XAAq.js → analytics-B2Q_uKwH.js} +1 -1
  257. package/dist/assets/{analyticsHelper-AeOsAjMK-BGRykG4C.js → analyticsHelper-CAYdbjhS-TiCqBFHc.js} +1 -1
  258. package/dist/assets/{analyticsHelper-DCVh2Q2D.js → analyticsHelper-eqJrrWmY.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-Cha4vEKb.js → arrow-south-east-round-PEovUgvH-DvoAU7mY.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-BOscmwTD.js → auto-transfer-rule-mbafm5D3-VBx9t_qo.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-Cy0EjR0N.js → avatar-Dz7aEm3d-ZI3JCtk7.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-Dipf9hW8.js → bank-letter-BOcVjN6J-Dws2Kxmd.js} +1 -1
  263. package/dist/assets/{calculateSize-D-LzlJzs-DzScwWaZ.js → calculateSize-B2w5JPEU-BiAuCFz-.js} +1 -1
  264. package/dist/assets/{chartTypes-BLsP7rGF-Da9uYAcr.js → chartTypes-CD3vrBsI-D1eLb6aA.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-CnqntmQY.js → clock-CJkylEKt-CwvCI5hq.js} +1 -1
  266. package/dist/assets/common-BpxEACHl-D-qMuYEn.js +1 -0
  267. package/dist/assets/{commonDimensions-DIm7kTtR-BvbgEdIW.js → commonDimensions-Oz1tdAcx-6qsjkus3.js} +1 -1
  268. package/dist/assets/{commonTypes-B3mnx2x_-DYgG7K13.js → commonTypes-5tEXwrX4-0afSAZ02.js} +1 -1
  269. package/dist/assets/{core-BcVj2gTX.js → core-D9P6lLF-.js} +1 -1
  270. package/dist/assets/{dash.all.min-C98tiWV1.js → dash.all.min-CrF9T_sg.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-ClJHrrjv.js → decodeURIComponentSafe-BA7ebd4J.js} +1 -1
  272. package/dist/assets/{dnd-eXDjf6Lj.js → dnd-nSkfhkrX.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-B8-M7Nzo.js → dollar-round-D18u7nlm-DJ7jjz8a.js} +1 -1
  274. package/dist/assets/{downloadPdf-B5WrL0K1-CyBUyeC8.js → downloadPdf-Dsuxeias-DgqgIEmy.js} +1 -1
  275. package/dist/assets/{empty-wYUB3tSo.js → empty-BM1tlym1.js} +1 -1
  276. package/dist/assets/{empty-C4qv3p9z.js → empty-DqDGRwQI.js} +1 -1
  277. package/dist/assets/{epic-BQcpQKad.js → epic-C-GRNY0z.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-BvpfZxhV.js → filter-cZIFUNvj-CnTMsRoA.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-Cgh9LbcE.js → getLocaleForTenant-D_kHTEKc.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-DmzAN1Y2.js → gift-box-Cmt9OgIZ-CmbTqYsU.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-C2w81gyO.js → graphic-no-data-l-DU4J8fDt-qX4MU25I.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-B9Kj_9xA.js → graphic-no-data-net-burn-l-CzmycA0m-eyhdhwsy.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-C5EsxlDc.js → handshake-BPg58FML-Dy9hpFzO.js} +1 -1
  284. package/dist/assets/{helper-BVESv00--CCWSdc0u.js → helper-Ckm10Uko-Cft993Iq.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-B8GMs2Qi.js → hyperlink-DQyCeXx2-ClAJPTpW.js} +1 -1
  286. package/dist/assets/{index-Lqpf6Iwl.js → index-BGoNZK9J.js} +1 -1
  287. package/dist/assets/{index-DlrbNfLu.js → index-BHx-AV13.js} +1 -1
  288. package/dist/assets/{index-DxRPAtdN.js → index-BoyH9PC5.js} +1 -1
  289. package/dist/assets/{index-Bnlx-O7K.js → index-C6CSTWn-.js} +1 -1
  290. package/dist/assets/{index-CDsOcKsG.js → index-CAltUZe8.js} +6 -6
  291. package/dist/assets/{index-CHxhGC-k.js → index-D3FWjv6R.js} +1 -1
  292. package/dist/assets/{lexical-DEeAev9O.js → lexical-Ct6cBwR8.js} +1 -1
  293. package/dist/assets/{liveblocks-BAIL303h.js → liveblocks-DxIK6Zp5.js} +1 -1
  294. package/dist/assets/{lottie-DP5A4Fs7.js → lottie-BEhoArVd.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-D0bSM41h.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BIiMj0sc-BSyDfjzw.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-Bqo33gCA.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-CaUrNev8.js +1 -0
  298. package/dist/assets/{mapTimeframeBalancesToTreeNode-CyO5pm8k-_jPUKmdI.js → mapTimeframeBalancesToTreeNode-Bre8FfBF-CPTPOyt7.js} +1 -1
  299. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-BwgfCZTt.js +1 -0
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-n_XJX95T.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Cw5QJbW7.js} +1 -1
  301. package/dist/assets/{media-player-Bc98lKB5.js → media-player-CsDObYZE.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-DIu_vl7e.js → money-2cg1MuG4-CTFLBPxC.js} +1 -1
  303. package/dist/assets/{mui-hn9thxzh.js → mui-CMSRVFAm.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-6zbdwm2S.js → page-detail-CWX5S47F-D71KSTNS.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-BOxy1JzR.js → page-summary-D7_VQHwN-C0Gmkrf2.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-B7PwrSV9.js → panelSelectedMixin-Cddsb26L-CzLNMPbQ.js} +1 -1
  307. package/dist/assets/{pathToGoBack-CQ5L4Qtj.js → pathToGoBack-Blub25Cp.js} +1 -1
  308. package/dist/assets/{pdf-Cs-mh77O.js → pdf-Be2WBqYM.js} +3 -3
  309. package/dist/assets/{pdf-lib-sBkKqPTU.js → pdf-lib-CnVZquuu.js} +1 -1
  310. package/dist/assets/{plaid-NpQK5k22.js → plaid-BfI3x5Cu.js} +1 -1
  311. package/dist/assets/{pusher-DWT0gMh9.js → pusher-B6_CsVbZ.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-CFx63U5w.js → radio-default-CiSgisfh-B-boFyAl.js} +1 -1
  313. package/dist/assets/{react-CDpJbt9S.js → react-BHFS79hd.js} +1 -1
  314. package/dist/assets/{react-C6SHTtsh.js → react-BU_9CVSX.js} +3 -3
  315. package/dist/assets/{react-D2TGyR4z.js → react-BpE8-YB1.js} +1 -1
  316. package/dist/assets/{react-xLLMyMiK.js → react-C0Y1QuQQ.js} +1 -1
  317. package/dist/assets/{react-D8Ql5Ir3.js → react-C8t61nFI.js} +1 -1
  318. package/dist/assets/{react-GYK8-ald.js → react-D-1D0x0x.js} +1 -1
  319. package/dist/assets/{react-BTmu8DG-.js → react-Df07f_EQ.js} +1 -1
  320. package/dist/assets/{react-D7EJTKAr.js → react-DoqYYGGT.js} +1 -1
  321. package/dist/assets/{recharts-B4dFoR35.js → recharts-gT6BOz1b.js} +1 -1
  322. package/dist/assets/{routePaths-C-_oCckx.js → routePaths-C2kSZwVH.js} +1 -1
  323. package/dist/assets/{sentry-BkPUuNvL.js → sentry-DQeYyYXx.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-aMF7hqRR.js → shield-DOlUxcFf-CtwAmezy.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-C-17E3uX.js → spend-limit-D6SyboD4-DgU5KXwN.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-aLNB35t7-Bbjw8HZY.js +1 -0
  327. package/dist/assets/{toChartData-BkubFDq8-CRAS8Brl.js → toChartData-DUL6vnzJ-Dwc3foiO.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-B2H47PYQ.js → transaction-placeholder-CpOwZAMG-EsW3Q-dq.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-DnfqwuXr.js → undo-b_3XZ5CX-vDqRNZiv.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-PO6XR31-.js → unlock-BPWn2I5L-DrFYUkdQ.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CkquQ_GZ.js → upload-reimbursement-receipt-O2N8vcO7-DJbY_Oz2.js} +1 -1
  332. package/dist/assets/{uploadAttachment-CzgakLtr-w-CpO5ZH.js → uploadAttachment-Ck4wivBR-es3sSFtr.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-DItV8z0n.js → uploadReceipts-CIgkuVpu-IBEc_jc1.js} +1 -1
  334. package/dist/assets/{url-Bagborol.js → url-DabKyEXg.js} +1 -1
  335. package/dist/assets/{url-DmgUP0mV.js → url-Doy-Mf6X.js} +1 -1
  336. package/dist/assets/{useDeviceId-eLv7tFR4.js → useDeviceId-Dx8RlRsA.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-BQU3Jo1E.js → useInitialThreadRequest-Bxf1X7cu.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-Cftpm8Z6.js → useLongPress-GCK2COYQ-CW7ST8rN.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-D_M71co8.js → usp-line-BBd1wKwW-Crs-gA1B.js} +1 -1
  340. package/dist/assets/{utils-DkgigH7S.js → utils-BAO5KfNy.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-H3IbO2pr.js → withTransactionSidePanel-FcH3ZlAj.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-CsRsIUwY.js → zeni-epic-state-CHpO1ZKT.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-QItZ_P8a.js → zeni-icon-only-4nFle2Fz.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/AccountInfoPage-Cz9yoVl8-i4SdDCSW.js +0 -18
  347. package/dist/assets/AccountInfoPageContent-j85psx_A-DeBCdl3d.js +0 -149
  348. package/dist/assets/BillPayApprovalRuleDetailPage-C_REwEVS-B1_RM9n8.js +0 -27
  349. package/dist/assets/ChargeCardPromoPage-CKl6K-nr-DW3UNOti.js +0 -222
  350. package/dist/assets/CustomerOnboardingAuthScreen-D7hLcvD9.js +0 -1
  351. package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-t-Qqzm11.js +0 -1
  352. package/dist/assets/EntityDetailPage-D8FzsqNk-a6QKQbsr.js +0 -18
  353. package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-yzbitn8u.js +0 -1
  354. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-CyHS18r2.js +0 -1
  355. package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-EDVvFAle.js +0 -1
  356. package/dist/assets/MailingDetailsSection-BNVPaGFt-BxMdrzgd.js +0 -21
  357. package/dist/assets/TransactionListPage-ReGTmF43-3dryvOZg.js +0 -35
  358. package/dist/assets/TreasuryStatementsPage-BjGwvMFL-rl7Xwq3o.js +0 -58
  359. package/dist/assets/VendorACHDetailsPage-BbxRwrEv-Bd-GOuTM.js +0 -1
  360. package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-B_msRt77.js +0 -1
  361. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-DHmy9Qnb.js +0 -1
  362. package/dist/assets/common-CAmBErdt-mQeN1s1o.js +0 -1
  363. package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-CqHpAmA4.js +0 -1
  364. package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-BQdWgZ0d.js +0 -1
  365. package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-BqlDWqT_.js +0 -1
  366. package/dist/assets/toCOABalancesWithID-BWMF0py6-COMd_TR_.js +0 -1
@@ -1,4 +1,4 @@
1
- import{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-CDsOcKsG.js";import{a as g}from"./sentry-BkPUuNvL.js";import{n,c as P}from"./mui-hn9thxzh.js";import{GH as xi,GI as bi,bG as X,bs as y,F3 as mt}from"./zeni-epic-state-CsRsIUwY.js";import{R as wi}from"./SubTabSwitcher-BpNI5Wke-DY-WyLZ7.js";import{d as gt}from"./useLongPress-GCK2COYQ-Cftpm8Z6.js";import{A as xt,t as bt,a as wt,E as yt,L as $t,I as jt}from"./NotificationsListConfig-CVEetkBc-DvchCo1R.js";import"./pdf-Cs-mh77O.js";import"./core-BcVj2gTX.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.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`
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-CAltUZe8.js";import{a as g}from"./sentry-DQeYyYXx.js";import{n,c as P}from"./mui-CMSRVFAm.js";import{GH as xi,GI as bi,bG as X,bs as y,F3 as mt}from"./zeni-epic-state-CHpO1ZKT.js";import{R as wi}from"./SubTabSwitcher-D7QeM6nb-bmup9lZe.js";import{d as gt}from"./useLongPress-GCK2COYQ-CW7ST8rN.js";import{A as xt,t as bt,a as wt,E as yt,L as $t,I as jt}from"./NotificationsListConfig-B5pDa4cJ--FUSOPuJ.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.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]="eb19a970-23fe-4cb8-b0d3-949c4818244e",e._sentryDebugIdIdentifier="sentry-dbid-eb19a970-23fe-4cb8-b0d3-949c4818244e")}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(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`
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`
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
- `,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`
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`
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(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`
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`
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: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`
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`
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(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`
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`
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
- `,Wo=n(ft)`
371
+ `,Yo=n(ft)`
372
372
  flex-shrink: 0;
373
373
  color: ${e=>e.isNewNotification?e.theme.colors.primary:"inherit"};
374
- `,Yo=n.div`
374
+ `,Wo=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(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`
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`
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
- `,We=n.div`
546
+ `,Ye=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: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`
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`
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]),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`
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`
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
- `,Ws=n(hi)`
664
+ `,Ys=n(hi)`
665
665
  display: flex;
666
666
  color: ${S.important};
667
667
  margin-left: ${i.sp1};
668
- `,Ys=n(ct)`
668
+ `,Ws=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 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-CDsOcKsG.js";import{a as B,b as Le}from"./sentry-BkPUuNvL.js";import{n as g}from"./mui-hn9thxzh.js";import{Gn as Fe}from"./zeni-epic-state-CsRsIUwY.js";import{p as Ae,d as Ve,y as J,b as me,u as ae}from"./chartTypes-BLsP7rGF-Da9uYAcr.js";import{V as ze}from"./toChartData-BkubFDq8-CRAS8Brl.js";import{m as K}from"./analyticsHelper-AeOsAjMK-BGRykG4C.js";import{y as Re,M as te}from"./TimeRangeSwitcher-oORYeFzN-D8_bwHZK.js";import{X as We}from"./TimeframeSwitcherWithToggle-BEZU-KDj-D-7PUQTb.js";import{C as Ke}from"./NoDataChart-DCTRXLc7-BRwtqbdY.js";import{d as Ye}from"./NoDataTable-D8Xw5pAY-CJGJMrLD.js";import{H as Ge}from"./BalancesInsightWithToolTip-Co6ZUc5x-BSkB04b8.js";import{n as Y}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{n as He,t as U}from"./CollapsableReportTable-CIaa7SIH-BHE5m01A.js";import{o as ge}from"./mapTimeframeBalancesToTreeNode-AI17uMHa-BqlDWqT_.js";import{d as ne}from"./mapLoadingInProgressToTreeNode-DJxRl0X1-CqHpAmA4.js";import{l as qe}from"./mapSpacerToTreeNode-Bj3f2irs-BQdWgZ0d.js";import{S as Je,E as Ue,X as Xe,Y as Qe,F as Ze,K as eo}from"./recharts-B4dFoR35.js";import"./pdf-Cs-mh77O.js";import"./core-BcVj2gTX.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.js";import"./TimeframeSwitcher-JcJSbn0--WBWh3QNc.js";import"./graphic-no-data-l-DU4J8fDt-C2w81gyO.js";import"./AccountRow-DEtntSrL-0u2oxgMR.js";import"./clock-CJkylEKt-CnqntmQY.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`
1
+ import{e as X,hs as Ce,O as j,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 Pe,hu as je,o as b,ab as Oe,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-CAltUZe8.js";import{a as B,b as Le}from"./sentry-DQeYyYXx.js";import{n as g}from"./mui-CMSRVFAm.js";import{Gn as Fe}from"./zeni-epic-state-CHpO1ZKT.js";import{p as Ae,d as Ve,y as J,b as me,u as ae}from"./chartTypes-CD3vrBsI-D1eLb6aA.js";import{V as ze}from"./toChartData-DUL6vnzJ-Dwc3foiO.js";import{m as K}from"./analyticsHelper-CAYdbjhS-TiCqBFHc.js";import{y as Re,M as te}from"./TimeRangeSwitcher-D00bDDhP-CGwNNnWQ.js";import{X as We}from"./TimeframeSwitcherWithToggle-DyggDIQj-DWVBybzM.js";import{C as Ke}from"./NoDataChart-CrKeqWSr-DJdc5MTN.js";import{d as Ye}from"./NoDataTable-4vPXmPYF-Do6t4z9R.js";import{H as Ge}from"./BalancesInsightWithToolTip-B6umvmgL-BkOE6IRV.js";import{n as Y}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{n as He,t as U}from"./CollapsableReportTable-DNfFkAts-Ba6KUje2.js";import{o as ge}from"./mapTimeframeBalancesToTreeNode-DOyCX6ij-BwgfCZTt.js";import{d as ne}from"./mapLoadingInProgressToTreeNode-jcHEi-mv-D0bSM41h.js";import{l as qe}from"./mapSpacerToTreeNode-XgUp1xUb-CaUrNev8.js";import{S as Je,E as Ue,X as Xe,Y as Qe,F as Ze,K as eo}from"./recharts-gT6BOz1b.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./TimeframeSwitcher-DA99HdHt-CKTTRDRO.js";import"./graphic-no-data-l-DU4J8fDt-qX4MU25I.js";import"./AccountRow-D1cjRJJD--D2oyMqA.js";import"./clock-CJkylEKt-CwvCI5hq.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]="cad451e2-e600-4b4f-abc3-139154a86b12",e._sentryDebugIdIdentifier="sentry-dbid-cad451e2-e600-4b4f-abc3-139154a86b12")}catch{}})();const oo=g.div`
2
2
  display: flex;
3
3
  `,ro=g.div`
4
4
  flex: display;
@@ -22,10 +22,10 @@ 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
22
22
  width: 100%;
23
23
  height: 1px;
24
24
  background-color: ${a.neutralGrey3Dark};
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`
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:`${j.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 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`
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(P=>{v[P].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:j.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=j.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=j.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:j.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:P,vendorRowIndex:$}){const w=v.account?.accountName??"-",S=v.classBase?.className??"-";return{children:[],id:U("vendor_row",[],P+w+S),isLastNode:f,reportElementData:{element:{kind:"vendor_row",title:P,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:j.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%;
@@ -70,7 +70,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 ve,b as I,hr
70
70
  color: ${e=>e.theme.colors.primary};
71
71
  }
72
72
  }
73
- `,xo=g(je)`
73
+ `,xo=g(Oe)`
74
74
  margin-top: ${b.sp3};
75
75
  color: ${e=>e.theme.colors.hero};
76
76
  `,Co=g.div`
@@ -94,7 +94,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 ve,b as I,hr
94
94
  padding-top: ${b.sp8};
95
95
  padding-left: ${e=>L.wrapperPadding.valuePx(e.windowSize)};
96
96
  background-color: ${e=>e.theme.colors.grey4};
97
- `,Oo=g.div`
97
+ `,Po=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: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};
100
+ `,jo=({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:P})=>{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=j.getLocalizedStrings().reports.common,Z=j.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(O=>{r(N,E,O)},[N,E,r]),be=B.useCallback((O,k)=>{window.scrollTo({top:V.current?.offsetTop,behavior:"smooth"}),O.length>0?(y(!0),r(k,O,!1)):(y(!1),_(k))},[_,r,y]),oe=B.useRef(Se((O,k)=>be(O,k),500,{trailing:!0})).current,xe=(O,k)=>{p(O,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(jo,{fetchState:e.fetchState});if((e.fetchState==="Completed"||o.sortOrSearchInProgress===!0||o.pageFetchInProgress===!0)&&e.isReportGenerated===!0){const O=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:O,showMenuIcon:D==="medium-compact"||D==="small",downloadPresent:!0,onClickMenuIcon:P,source:"OpExByVendorPage"}),t.jsxs(uo,{windowSize:D,children:[G?t.jsx(Pe,{allTabs:A,selectedTab:A[1].id,containerStyle:{borderBottom:`2px solid ${ee.colors.grey3}`},onTabChange:k=>l(je(k.id)),previousTabPosition:d,setPreviousTabPosition:C}):null,t.jsx(Oo,{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,{})},Oo=({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:j.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:j.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(),P=!(_==="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,P);d(S)}else{const S=ho(e,n,w,P);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(Po,{"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:P,isStickyName:P},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}=j.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-CDsOcKsG.js";import{n}from"./mui-hn9thxzh.js";import"./sentry-BkPUuNvL.js";import"./pdf-Cs-mh77O.js";import"./zeni-epic-state-CsRsIUwY.js";import"./core-BcVj2gTX.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.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-CAltUZe8.js";import{n}from"./mui-CMSRVFAm.js";import"./sentry-DQeYyYXx.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.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,4 +1,4 @@
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-CDsOcKsG.js";import{a as p}from"./sentry-BkPUuNvL.js";import{n}from"./mui-hn9thxzh.js";import{_ as ao}from"./liveblocks-BAIL303h.js";import{j as no,z as le}from"./mapTimeframeBalancesToTreeNode-CyO5pm8k-_jPUKmdI.js";import{R as ro}from"./NavBarWithPicker-Dr5XHgP5-BMoWiwl5.js";import{m as io}from"./analyticsHelper-AeOsAjMK-BGRykG4C.js";import{X as co}from"./TimeframeSwitcherWithToggle-BEZU-KDj-D-7PUQTb.js";import{n as lo,N as mo}from"./CollapsableReportTable-CIaa7SIH-BHE5m01A.js";import{M as Z}from"./usp-line-BBd1wKwW-D_M71co8.js";import{Fn as po,Fo as go}from"./zeni-epic-state-CsRsIUwY.js";import{D as ho,T as fo,C as uo}from"./mapSectionWithAcOnlyToTreeNode-BIiMj0sc-BSyDfjzw.js";import"./pdf-Cs-mh77O.js";import"./core-BcVj2gTX.js";import"./lottie-DP5A4Fs7.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./recharts-B4dFoR35.js";import"./utils-DkgigH7S.js";import"./TimeframeSwitcher-JcJSbn0--WBWh3QNc.js";import"./AccountRow-DEtntSrL-0u2oxgMR.js";import"./clock-CJkylEKt-CnqntmQY.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`
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-CAltUZe8.js";import{a as p}from"./sentry-DQeYyYXx.js";import{n}from"./mui-CMSRVFAm.js";import{_ as ao}from"./liveblocks-DxIK6Zp5.js";import{j as no,z as le}from"./mapTimeframeBalancesToTreeNode-Bre8FfBF-CPTPOyt7.js";import{R as ro}from"./NavBarWithPicker-CGGEvLwe-DGWn5q5A.js";import{m as io}from"./analyticsHelper-CAYdbjhS-TiCqBFHc.js";import{X as co}from"./TimeframeSwitcherWithToggle-DyggDIQj-DWVBybzM.js";import{n as lo,N as mo}from"./CollapsableReportTable-DNfFkAts-Ba6KUje2.js";import{M as Z}from"./usp-line-BBd1wKwW-Crs-gA1B.js";import{Fn as po,Fo as go}from"./zeni-epic-state-CHpO1ZKT.js";import{D as ho,T as fo,C as uo}from"./mapSectionWithAcOnlyToTreeNode-Cgyt68f3-Bqo33gCA.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./recharts-gT6BOz1b.js";import"./utils-BAO5KfNy.js";import"./TimeframeSwitcher-DA99HdHt-CKTTRDRO.js";import"./AccountRow-D1cjRJJD--D2oyMqA.js";import"./clock-CJkylEKt-CwvCI5hq.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]="6c651e50-bf33-4856-b295-904701118362",e._sentryDebugIdIdentifier="sentry-dbid-6c651e50-bf33-4856-b295-904701118362")}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%;
@@ -98,13 +98,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
98
98
  flex-direction: column;
99
99
  padding-left: ${e=>e.paddingLeft}px;
100
100
  padding-right: ${e=>e.paddingRight}px;
101
- `,Oo=n.div`
101
+ `,Mo=n.div`
102
102
  display: flex;
103
103
  width: 100%;
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: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`
107
+ `,Oo=({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(Mo,{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",M=`forecast.${e.reportId}`;return Ye({componentName:M,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:M,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:O,setOpenThread:Pe}=p.useContext(Te);p.useEffect(()=>{f?.threadId!=null&&f.companyId!=null&&f.entityType!=null&&O(f)},[f,O]);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),O({threadId:P,companyId:c.companyId,entityType:c.entityType,threadMetadata:c})},[O]),[Ie,Le]=p.useState(void 0),oe=p.useRef(null),Ne=p.useCallback(c=>{Le(c)},[]),Me=p.useCallback(c=>{oe.current?.scrollToItem(c,"center")},[]);no({requestToOpenThread:ke,setRequestToOpenThread:O,setOpenThread:Pe,allThreads:F,reportTreeRootNodes:Ie,nodeCollapseState:_,onExpandNode:M?(c,P,_e)=>M(P,_e):void 0,scrollToNode:Me});const Oe=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(Oo,{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:M,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:Oe,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-Cs-mh77O.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-BcVj2gTX.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-CsRsIUwY.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-CDsOcKsG.js";import"./mui-hn9thxzh.js";import pe from"./NotFoundScreen-Ceul2a4k.js";import{F as ue}from"./FeaturePreviewScreen-CcjSI5cK.js";import{a as h}from"./sentry-BkPUuNvL.js";import{t as he}from"./routePaths-C-_oCckx.js";import{M as Fe}from"./MobileAppDrawer-Bcyem12-.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.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-Be2WBqYM.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-D9P6lLF-.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-CHpO1ZKT.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-CAltUZe8.js";import"./mui-CMSRVFAm.js";import pe from"./NotFoundScreen-CubXCR1V.js";import{F as ue}from"./FeaturePreviewScreen-BrgEnIPS.js";import{a as h}from"./sentry-DQeYyYXx.js";import{t as he}from"./routePaths-C2kSZwVH.js";import{M as Fe}from"./MobileAppDrawer-C3TNoouV.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.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-CDsOcKsG.js";import{b as d,a as A}from"./sentry-BkPUuNvL.js";import{n as g}from"./mui-hn9thxzh.js";import{P as f}from"./core-BcVj2gTX.js";import{l as Ne}from"./stripe-DMRn4zHo.js";import{n as G}from"./commonTypes-B3mnx2x_-DYgG7K13.js";import{F as Ve}from"./SetUpAccountSection-CxjYbrXu-DQJqTTcH.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.
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-CAltUZe8.js";import{b as d,a as A}from"./sentry-DQeYyYXx.js";import{n as g}from"./mui-CMSRVFAm.js";import{P as f}from"./core-D9P6lLF-.js";import{l as Ne}from"./stripe-DMRn4zHo.js";import{n as G}from"./commonTypes-5tEXwrX4-0afSAZ02.js";import{F as Ve}from"./SetUpAccountSection-CctbMmoK-B53PK3Go.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]="32bc87ed-db1e-481c-825e-8ca0f5cb61dd",e._sentryDebugIdIdentifier="sentry-dbid-32bc87ed-db1e-481c-825e-8ca0f5cb61dd")}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-CDsOcKsG.js";import{a as u,b as ce}from"./sentry-BkPUuNvL.js";import{n as o}from"./mui-hn9thxzh.js";import{q0 as De,bt as X}from"./zeni-epic-state-CsRsIUwY.js";import{d as ie}from"./ZeniAvatar-CCOD249Z-aNjy2A_h.js";import{T as Le}from"./RoleWithToolTip-BfM8Ltz4-GXXfeOBC.js";import"./pdf-Cs-mh77O.js";import"./core-BcVj2gTX.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.js";import"./avatar-Dz7aEm3d-Cy0EjR0N.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`
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-CAltUZe8.js";import{a as u,b as ce}from"./sentry-DQeYyYXx.js";import{n as o}from"./mui-CMSRVFAm.js";import{q0 as De,bt as X}from"./zeni-epic-state-CHpO1ZKT.js";import{d as ie}from"./ZeniAvatar-Bzhq25CU-B22YVvLm.js";import{T as Le}from"./RoleWithToolTip-Ct3_VuDM-CgjPQD6C.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./avatar-Dz7aEm3d-ZI3JCtk7.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]="f3831078-b7aa-4ceb-ad4a-c1c05ed29af0",e._sentryDebugIdIdentifier="sentry-dbid-f3831078-b7aa-4ceb-ad4a-c1c05ed29af0")}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-Cs-mh77O.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-CsRsIUwY.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-CDsOcKsG.js";import{D as be,n as z,S as ye}from"./mui-hn9thxzh.js";import J from"./NotFoundScreen-Ceul2a4k.js";import{a as i}from"./sentry-BkPUuNvL.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-BcVj2gTX.js";import{M as Ge}from"./MobileAppDrawer-Bcyem12-.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.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-Be2WBqYM.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-CHpO1ZKT.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-CAltUZe8.js";import{D as be,n as z,S as ye}from"./mui-CMSRVFAm.js";import J from"./NotFoundScreen-CubXCR1V.js";import{a as i}from"./sentry-DQeYyYXx.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-D9P6lLF-.js";import{M as Ge}from"./MobileAppDrawer-C3TNoouV.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.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-Cs-mh77O.js";import C from"./NotFoundScreen-Ceul2a4k.js";import{a as r}from"./sentry-BkPUuNvL.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-BcVj2gTX.js";import{ct as A,Nx as I,bn as O,bm as P,ey as V,eg as B}from"./zeni-epic-state-CsRsIUwY.js";import{N as F,js as b,mb as $}from"./index-CDsOcKsG.js";import"./mui-hn9thxzh.js";import{M as q}from"./MobileAppDrawer-Bcyem12-.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.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-Be2WBqYM.js";import C from"./NotFoundScreen-CubXCR1V.js";import{a as r}from"./sentry-DQeYyYXx.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-D9P6lLF-.js";import{ct as A,Nx as I,bn as O,bm as P,ey as V,eg as B}from"./zeni-epic-state-CHpO1ZKT.js";import{N as F,js as b,mb as $}from"./index-CAltUZe8.js";import"./mui-CMSRVFAm.js";import{M as q}from"./MobileAppDrawer-C3TNoouV.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.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-BkPUuNvL.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-DQeYyYXx.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,4 +1,4 @@
1
- import{O,V as t,h as R,o as c,bx as B,aj as N,m as U,cy as A,D as G,l as X,cz as H,f as w}from"./index-CDsOcKsG.js";import{a as f}from"./sentry-BkPUuNvL.js";import{n as i}from"./mui-hn9thxzh.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]="675e71a0-d97a-48c3-98ab-d46debb5172b",e._sentryDebugIdIdentifier="sentry-dbid-675e71a0-d97a-48c3-98ab-d46debb5172b")}catch{}})();const h=O.getLocalizedStrings(),k={large:{labelComp:A,title:G,subtitle:X,seeMoreLink:X}},r={width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16},J=i.div`
1
+ import{O,V as t,h as R,o as c,bx as B,aj as N,m as U,cy as A,D as G,l as X,cz as H,f as w}from"./index-CAltUZe8.js";import{a as f}from"./sentry-DQeYyYXx.js";import{n as i}from"./mui-CMSRVFAm.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]="675e71a0-d97a-48c3-98ab-d46debb5172b",e._sentryDebugIdIdentifier="sentry-dbid-675e71a0-d97a-48c3-98ab-d46debb5172b")}catch{}})();const h=O.getLocalizedStrings(),k={large:{labelComp:A,title:G,subtitle:X,seeMoreLink:X}},r={width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16},J=i.div`
2
2
  width: ${e=>e.scale*r.width}px;
3
3
  height: ${e=>e.scale*r.height}px;
4
4
  overflow: hidden;
@@ -1,4 +1,4 @@
1
- import{e as m,V as a,cD as b,cE as v,cF as y,aV as z,o as e,f as d,x as r,d as c,m as p}from"./index-CDsOcKsG.js";import{c as i,n as g,k as f}from"./mui-hn9thxzh.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new o.Error().stack;h&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[h]="d14348ec-e2c1-4395-a475-d12fcb450385",o._sentryDebugIdIdentifier="sentry-dbid-d14348ec-e2c1-4395-a475-d12fcb450385")}catch{}})();const t={plasticCardMarginLeft:new r(p[6],120),plasticCardMarginTop:new r(12,-9),businessTextRight:new r(p[2],13),businessTextBottom:new r(p[8],81),chargeCardWidth:new r(240,384),chargeCardHeight:new r(153,243),styledLogoWidth:new r(47,76),styledLogoHeight:new r(46,74),styledFullLogoTop:new r(12,28),styledFullLogoRight:new r(p[2],13),styledFullLogoHeight:new r(20,34),styledFullLogoWidth:new r(88,142),chipLogoWidth:new r(31,50),chipLogoHeight:new r(p[4],39),visaLogoWidth:new r(52,84),visaLogoHeight:new r(17,27),visaLogoRight:new r(p[2],13),visaLogoBottom:new r(p[2],13)},u={businessText:new c("extraSmallRegular","largeRegular"),promoBusinessText:new c("tinyLight","tinyLight")},R=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:x,style:$})=>{const n=m();return a.jsxs(k,{cardPromoType:x,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:$,children:[w&&a.jsx(P,{windowSize:n,forDashboard:s,children:a.jsx(b,{})}),a.jsx(j,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(z,{})}),a.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),a.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(y,{})})]})},A=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:x,style:$})=>{const n=m();return a.jsxs(H,{cardPromoType:x,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:$,children:[w&&a.jsx(P,{windowSize:n,forDashboard:s,children:a.jsx(b,{})}),a.jsx(B,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(v,{})}),a.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),a.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(y,{})})]})},C=f`
1
+ import{e as m,V as a,cD as b,cE as v,cF as y,aV as z,o as e,f as d,x as r,d as c,m as p}from"./index-CAltUZe8.js";import{c as i,n as g,k as f}from"./mui-CMSRVFAm.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new o.Error().stack;h&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[h]="d14348ec-e2c1-4395-a475-d12fcb450385",o._sentryDebugIdIdentifier="sentry-dbid-d14348ec-e2c1-4395-a475-d12fcb450385")}catch{}})();const t={plasticCardMarginLeft:new r(p[6],120),plasticCardMarginTop:new r(12,-9),businessTextRight:new r(p[2],13),businessTextBottom:new r(p[8],81),chargeCardWidth:new r(240,384),chargeCardHeight:new r(153,243),styledLogoWidth:new r(47,76),styledLogoHeight:new r(46,74),styledFullLogoTop:new r(12,28),styledFullLogoRight:new r(p[2],13),styledFullLogoHeight:new r(20,34),styledFullLogoWidth:new r(88,142),chipLogoWidth:new r(31,50),chipLogoHeight:new r(p[4],39),visaLogoWidth:new r(52,84),visaLogoHeight:new r(17,27),visaLogoRight:new r(p[2],13),visaLogoBottom:new r(p[2],13)},u={businessText:new c("extraSmallRegular","largeRegular"),promoBusinessText:new c("tinyLight","tinyLight")},R=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:x,style:$})=>{const n=m();return a.jsxs(k,{cardPromoType:x,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:$,children:[w&&a.jsx(P,{windowSize:n,forDashboard:s,children:a.jsx(b,{})}),a.jsx(j,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(z,{})}),a.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),a.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(y,{})})]})},A=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:x,style:$})=>{const n=m();return a.jsxs(H,{cardPromoType:x,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:$,children:[w&&a.jsx(P,{windowSize:n,forDashboard:s,children:a.jsx(b,{})}),a.jsx(B,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(v,{})}),a.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),a.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(y,{})})]})},C=f`
2
2
  0%{
3
3
  transform: rotate(12.4deg);
4
4
  translate: ${e.sp0} ${e.sp0};