@zeniai/web-cockpit-ui 1.15.9-dev → 1.15.10-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 (281) hide show
  1. package/dist/assets/{ACHDetailsPage-BVkQ4K87-2mUod8Ze.js → ACHDetailsPage-BtE9TY6d-C9maaZu_.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BRTJZGiA-Uj0zJbS1.js → AIPerformancePage-BkDJ2ST0-Dzxt81Gg.js} +12 -12
  3. package/dist/assets/AccountInfoPage-CTbeJLI7-C29oNV5j.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-PRtq3bFi-vLA60ZOz.js → AccountInfoPageContent-BUTcEduM-DVKpBXHq.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BPtkVnq9-Bo6KEtUJ.js → AccountLockedInfoModal-v6aQO7JB-xH0-ZPkG.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-vJYKDiYF-DDXxWgsE.js → AccountReconDetailsDrawerPage-DIAg-5PN-B1-bYNLU.js} +1 -1
  7. package/dist/assets/{AccountRow-DvTUqeYB-Coj4ZTWN.js → AccountRow-BVKk7u7h-CDJSAP1l.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-B8BaHMXs-D4T6qOCp.js → AccountsPromoCardStack-CM2kVta7-D4DDSl1Z.js} +17 -17
  9. package/dist/assets/{AddAddressForCardDrawer-B7RkZqGh-CR2hhnGw.js → AddAddressForCardDrawer-DDTSYpDb-gu3pix_O.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DuHNwXF4-B3zEKxpl.js → AddToWalletPage-D2Qg0MR_-DL2aRvxj.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-BK1LaJ_w-yS7wx6wk.js → AgingReportsPage-_mSqD2hW-Boesp-Ca.js} +1 -1
  12. package/dist/assets/{AllUserItems-CH9ybX41-BtFVBAV4.js → AllUserItems-CLsMcXeg-B7yfRaza.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-pA0gVWwq-0kF3KvyT.js → ApAgingDetailPage-BsJuvMuy-C0lGm0Hq.js} +4 -4
  14. package/dist/assets/{AppBasePage-DhCn4MFY-D-3ZnoCB.js → AppBasePage-BxGd2ny5-CxKcTkZB.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-oxbBkFJu-CMnZN7jn.js → AppDrawerContent-DzQ2jw8d-B8p2K7qi.js} +5 -5
  16. package/dist/assets/{ApprovalRulesSettingsPage-B2Bp687h-BxxU0eeP.js → ApprovalRulesSettingsPage-6n8xLG5c-9HDMDjw5.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DDYQFnOL-BvAsGOBT.js → ArAgingChart-B3T4qk8t-CVyLgEv4.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-BHX3sNTi-BYBOdJhr.js → ArAgingDetailPage-pdf0VjeI-BUmI9Ihk.js} +5 -5
  19. package/dist/assets/{AttachmentView-BreMzQ_m-BNxecg_Q.js → AttachmentView-BJfqJ9hP-BtlO-7I1.js} +1 -1
  20. package/dist/assets/{BankAccountSection-1WOCLgt5-BoGJh_uP.js → BankAccountSection-Cd_h3co--DCzIyA5D.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-Ddj7HexZ-DdPqPHd3.js → BankAccountWarningSection-Cz9fzMVv-CvaYS3T_.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-9nczNfIe-BzLc4VYR.js → BankConnectionsSettingsPage-P-hobvq_-BOnK_glB.js} +1 -1
  23. package/dist/assets/{BillDetailPage-NeZduyMi-6p7P1QOU.js → BillDetailPage-B-_gbDGZ-BtpvnzvD.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BBTe3n92-C8p-rxLw.js → BillPayApprovalRuleDetailPage-CyoqtTu1-C1sdR4PX.js} +4 -4
  25. package/dist/assets/BillPayApprovalRulesPage-CTRvfoZN-BLcwl2yw.js +241 -0
  26. package/dist/assets/{BillPayPromoPage-DFXybg0r-B5uuR3JI.js → BillPayPromoPage-OYlocjA7-7DEWsR0V.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-CP6gsxaz-BVI06dHo.js → BillPaySetUpPage-B8_IEgff-CAWPUMJX.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-D6BmklmO-DmihnPn_.js → BillingSettingsPage-DqO-9dDI-7RCoKyM1.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-D0JHXr9f-D-HkiVRv.js → BillsBulkReviewDrawerPage-B-nfpiM2-CiONs4dM.js} +1 -1
  30. package/dist/assets/{BoxItem-CjZDlBaw-C6EB-mJ-.js → BoxItem-C-LLQ7NS-CyKsGaF0.js} +5 -5
  31. package/dist/assets/{BusinessVerificationPage-cqBBWqBX-CZxCO1R2.js → BusinessVerificationPage-BD-G0QbW-BuRfqr04.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BFe7Gawq-B8S1I_DT.js → CardNumberSubText-CPcuTV6V-CmAy0kVV.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-4R2WSvUG-DpCyR1av.js → CashbackDetailPage-CzEHO7NM-DhooXBnW.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DgvJC7HX-DrGkLiOb.js → ChargeCardDetailPage-DpA9C48D-Cg9lUs5_.js} +21 -21
  35. package/dist/assets/{ChargeCardListPage-y3xkEXMi-Dfnd6MIF.js → ChargeCardListPage-igseWp-z-CgO4ULTe.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-BZVA1znA-1HTc8EZK.js → ChargeCardListTable-C-nM1SEM-CukpO46W.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-DUqCYxCZ-Bi49patK.js → ChargeCardPaymentHistoryPage-TCuBt2Cv-BDmH-kNH.js} +13 -13
  38. package/dist/assets/{ChargeCardPromoPage-BGwXpSoW-CFyoJOm3.js → ChargeCardPromoPage-DEjWh0Ax-DtQMu7KS.js} +10 -10
  39. package/dist/assets/{ChargeCardSetupPage-CH6gSyU_-2ky3cmbf.js → ChargeCardSetupPage-zdLpdeJV-CBsuPE8U.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-B1FjTF7r-Dy-EmhIk.js → ChargeCardStatementsPage-D42XfAtE-RchDbumz.js} +2 -2
  41. package/dist/assets/{CheckDepositDrawerPage-B30gCDxH-DoiHXVEd.js → CheckDepositDrawerPage-DC1L83fB-BCa5n7-H.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CpOmWQO--CCW_jG6A.js → CollapsableReportTable-BWfFYJbH-BIiPdpTy.js} +74 -74
  43. package/dist/assets/{CompanyOfficerDetailsSection-0lnfwwSs-DTL-A6zC.js → CompanyOfficerDetailsSection-TNyVByDX-D2759MDx.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-BPpSNcXb-DiAvuMuN.js → CompanyPassportCard-DjBkQwpn-Dd7qvLcE.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-DwNjeLgb-D9KCZAQQ.js → CompanyPassportPage-CrqL6_wm-C8yNeeq6.js} +12 -12
  46. package/dist/assets/{CompleteProfile-BPllbFai-CKGTWhqU.js → CompleteProfile-BP-MRXpZ-BD6u4U_v.js} +2 -2
  47. package/dist/assets/{ConfettiBurst-DweZPNXH-B1074GKy.js → ConfettiBurst-D2FdlxTA-BPfMfLCc.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-C_tIWYWJ-DrZr7pRF.js → CreateOrEditVendorPage-D2Cuyhtu-CjSilO-g.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-DmYHQq7L-KNs23igZ.js → CreditCardPaymentDrawerPage-LQiWqyEO-5RaHGm67.js} +1 -1
  50. package/dist/assets/{CurrencySelectField-DoUpgUNU-D3sxrlik.js → CurrencySelectField-Dpcv7_rA-DStJFuSr.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-fr40BxEG-BAtGkwek.js → CustomerOnboardingActivationPage-BRWiLUVc-B8_ST9_b.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-BLGGDdc6-DSwc8Dwv.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CbEuqDGK-DBipeF2y.js → CustomerOnboardingDetailPageSkeleton-D4fUQLXG-BvBHzbJv.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-CNolx9VQ-BJ-qYAip.js → CustomerOnboardingNoStepsPage-CxF6ZEAa-CMxQsxHY.js} +2 -2
  55. package/dist/assets/{CustomerOnboardingPage-DrDjl8iB-Dx9AAiNO.js → CustomerOnboardingPage-DKcr5stz-DRi352cJ.js} +1 -1
  56. package/dist/assets/CustomerOnboardingProductSuitePage-B84wAHDe-CoEVNP5O.js +202 -0
  57. package/dist/assets/{Dashboard-C1UoKVNa-DwZITN_K.js → Dashboard-DMAOn7Hi-CGGVivU9.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-b0pHN0Cw-BW6hDiSR.js → DashboardReportPage-UUd1-ITz-DMCD3HWG.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-Dql-Odcw-CrREhWdb.js → DashboardSidebarBackgroundAnimation-BuINHqA--61tWJjrX.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-Buzx5B8J-B4X-L_gR.js → DepositAccTransactionItem-BE8LeqlM-hlhKmXR8.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-DmxWPS6J-CPhkjFGO.js → DepositAccTransactionListPage-DyH-aZDX-DTHKAa1Z.js} +2 -2
  62. package/dist/assets/{DomesticWireDetailsPage-o6cbscCg-D6yaIcSg.js → DomesticWireDetailsPage-Bk5AZOQt-CMcHRFaW.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-CxtxqO0q-Dz3uXEue.js → DownloadOverlay-BOYOF8Po-BwD6Afat.js} +1 -1
  64. package/dist/assets/{DrawerPage-iKzWhzfT-CLN7Nqu9.js → DrawerPage-BGGHNo0X-DCBr8o9E.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-CjM-4H28-mYmRRYC8.js → EditPeoplePage-CEiwvizd-D-zbL-nU.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-BIPtvhlo-COIsNVhm.js → EditReimbursementDetailPage-DBLDLvqO-C54aQF5d.js} +1 -1
  67. package/dist/assets/{EntityDetailPage-B0W-V9jY-CqJeONU8.js → EntityDetailPage-Cd3eku5o-D0l7oH4S.js} +2 -2
  68. package/dist/assets/{EntitySummarySection--ty3w4lI-o5ULFAtA.js → EntitySummarySection-Ddaj1RmO-DBcpL5Yc.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-C62kbOQv-D4JsR6Ol.js → ExpenseAutomationOverviewPage-B_BlqiWf-CaFabiLU.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-KMTXCmGT-DZpekdJc.js → ExpenseAutomationPage-DfUf0zEN-B6VJ2UJy.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-DITkk_1c-BtyionmY.js → ExpressPayPage-Da8lLZso-Cwv7Clar.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-ZSyZuPj0-CJiy9EUi.js → FeaturePreviewPage-CmrPDUFU-5rcSl0eb.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-CaSXYy6M-CzewjFd_.js → FollowStepsSection-DbxSUIzC-BaXmlzKU.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-D1MK5CDU-DobUC1e8.js → GlobalReviewListPage-Du_3tupM--fNfq6rW.js} +1 -1
  75. package/dist/assets/{InformationCardStack-WI0CkBUF-D7YCWLUH.js → InformationCardStack-Bx_9X95v-xPOrStCv.js} +3 -3
  76. package/dist/assets/{InsightsCardStack-28f145Lw-BuefuxqU.js → InsightsCardStack-Xn2rGwX0-BAx1TkHE.js} +1 -1
  77. package/dist/assets/{InsightsSection-iq6BFe-O-DA4Jx3vy.js → InsightsSection-CwyGEE7C-BgS40gth.js} +1 -1
  78. package/dist/assets/{IntegrationsSettingsPage-QfH-2B7s-BNyYW5Gn.js → IntegrationsSettingsPage-CEL26-eE-DfibyIun.js} +2 -2
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-DhNqaJ-7-RtzP87XE.js → InternationalWireSwiftDetailsPage-IUz-DwAH-CGr6Gc70.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-CRnGH05I-vQbDV8jX.js → InternationalWireVerificationPage-C66rHdsi-fqJ5C72A.js} +1 -1
  81. package/dist/assets/{InviteFormPage-CZ9su_ZA-CsfVdhXE.js → InviteFormPage-Do-6PG8h-C-rzmYCh.js} +1 -1
  82. package/dist/assets/{InvitePageListView-Db5vL4dK-NFzFyNlR.js → InvitePageListView-DYKcMtIL-nvuj34Qe.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-C7Ij2l1O-Dbf_TXXj.js → InvitePeoplePage-C2SmS7y8-BN_wFYgu.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-DEchJrtp-C92WVr8V.js → InvoiceUploadSection-rCCcSbbj-CFzlgKg9.js} +1 -1
  85. package/dist/assets/{IssueChargeCardPage-DVdMjgbO-mkT6Gcda.js → IssueChargeCardPage-DZvVosb3-C2W1gOfV.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-jMXXok9a-C_alXtK_.js → LabeledAddressValue-CAX5YTSE-BfVvpzvP.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-BMQUZAxr-B3DdD5Cx.js → LabeledAddressValueField-BraOMDrG-CfBm_XIY.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-CrOtltBs-BgazwPA0.js → LabeledControlledCheckBoxField-DBcPQa79-B_0nrSFr.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-uBMn5XNT-nRQiUi6Y.js → LabeledCountryMultiSelectField-DYid8vvM-BfPOTgp8.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-BMRdFPtx--AY2rrpE.js → LabeledCreatableSingleSelectField-DzB7KPXf-BwfCQ3vj.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-DtsIRcRg-LgfBBRyq.js → LabeledDocumentField-BdQjt44W-EnLXAA71.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-rLwWoG-Y-aM061UXo.js → LabeledDropDownFormattedTextField-BheK7sFg-D0D4XYai.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-BhRoctp7-CtOCs4Ag.js → LabeledMultiSelectField-m2Y_IFK_-DBGqM9Nr.js} +1 -1
  94. package/dist/assets/{LabeledText-Deyr6isW-Cw3u4ojj.js → LabeledText-C6M4paXi-dAFR23d7.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-u_6eDShW-BsQOZeOj.js → LabeledUserSingleSelectWithSubtitlesField-i7qOybJ3-QdNWRUWG.js} +3 -3
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CdAAgiie-C2bU99c9.js → LabeledZeniRolesDropDownField-BhNbXDjb-DgKv1slV.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-A9rqpCyG-CiYf2g5t.js → LinkJETransactionPage--sqluuih-VivXIc5D.js} +2 -2
  98. package/dist/assets/{LockCardPage-CXZAffaX-CqLS5XfJ.js → LockCardPage-Bq0Tu8g8-C6m1-JJ1.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-BRxiaGRC-CJ9ANz96.js → LowBalancePopup-hlu_jjTZ-DZ1z8xe6.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-C1pJBTPa-Dk0xalTl.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-C77X02bo-Dbss_Tqv.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-DUHpAm8_-BkDmu3l4.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-BiR4YUoK-xHaH-3WR.js → MagicLinkSuccessPage-D6ZDRs5F-DQNiPx3u.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-euMftC6_-Bdpw9jEH.js → MagicLinkTitleSection-e9WYeJQA-BdMlQ905.js} +1 -1
  105. package/dist/assets/MailingDetailsSection--Lx7QBGW-BxmiDkr6.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-9Zw-bIsu-Uzll3gZc.js → MyBankConnectionsSettingsPage-Bb7UZRJf-B5XKMom_.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-_MhlKwOj-4wTxZJyE.js → MyPendingActivationChargeCardListPage-BToJWGM8-CjAx4TXN.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-BeSze0xM-Do6mSiuu.js → MyProfileSettingsPage-CGxf42bP-Cc5RApxz.js} +5 -5
  109. package/dist/assets/{NavBarWithPicker-C4ExxFQW-CBeQSmTW.js → NavBarWithPicker-DcDs1pe7-RUEHjYNa.js} +1 -1
  110. package/dist/assets/{NavigationArrow-CJOSZIEx-Vi5xYiOy.js → NavigationArrow-DGSdnTKQ-CgfnFgIs.js} +1 -1
  111. package/dist/assets/{NavigationDots-DgfBVlG5-Begp91rh.js → NavigationDots-BPsFQiss-Dqh0y0c_.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-BXTlzEbY-AVMqLh8E.js → NewGlobalMerchantPage-od2IF__o-BUeowAQW.js} +1 -1
  113. package/dist/assets/{NoDataChart-Bwc_xftR-BPirwt2c.js → NoDataChart-qG0jmc8Z-Dctec7eR.js} +1 -1
  114. package/dist/assets/{NoDataTable-D_VKD0kA-DmQluo-I.js → NoDataTable-CgKT7NGU-CuzMQ4sx.js} +1 -1
  115. package/dist/assets/{NotFoundPage-CLkfFo_R-C8j5B2Ga.js → NotFoundPage-CdUJ7M5p-DbLXvN2b.js} +6 -6
  116. package/dist/assets/{NotificationSettingsPage-CC1kNoTw-DotH2NS5.js → NotificationSettingsPage-D1PKq-ED-ChTF7VDn.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-CEDk57Lr-DAddVQQW.js → NotificationsListConfig-Ctfr3h3b-B2C7Z_Di.js} +1 -1
  118. package/dist/assets/{NotificationsPage-DR_MVYdY-CTDJJoO4.js → NotificationsPage-_5Yn9uTy-mxWdg1FN.js} +33 -33
  119. package/dist/assets/{OpExByVendorPage-CRkTiAd5-C0As_oOM.js → OpExByVendorPage-Dqr805s1-CqYYgxC3.js} +5 -5
  120. package/dist/assets/{OverlayContainerPage-IDTUbuAC-CRFgbke2.js → OverlayContainerPage-IDTUbuAC-YfbThdai.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-BCEjC9iA-DALj3dPN.js → PandLWithForecastPage-CQ5IMW_B-BHtqAaTy.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BFcZtn5n-qrQdGMeL.js → PaymentAccountSetupBillingAddressSection-DtOeyTmL-DXDwBnq6.js} +7 -7
  123. package/dist/assets/{PeoplePage-D7D1SrW0-QS6a-b0Q.js → PeoplePage-DEp24LGx-BkYkgzLW.js} +1 -1
  124. package/dist/assets/Preview-XG6ky5VX.js +1 -0
  125. package/dist/assets/{ProductsCarousel-CSUU4sEb-_cwSUdhx.js → ProductsCarousel-Dgwws_g9-_dPrFjDV.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-CSisWvqE-flcR83jC.js → PromoBaseCards-wfvFaqMw-CY2jDhRy.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-gTTF-Gc0-DtM6eHvu.js → QBOConnectionDialog-CSMrKgrY-gVbZ-mZ8.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-B2c7ZErC-C8usnCBc.js → QBOSetupSection--FQKYLxN-LYuddynp.js} +7 -7
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DRxHZeeM-BSDkdjQ8.js → ReimbursementApprovalRuleDetailPage-Dzg2pNcJ-BdMg1RhW.js} +5 -5
  130. package/dist/assets/ReimbursementApprovalRulesPage-eyZWsjXs-Du4OL-aC.js +243 -0
  131. package/dist/assets/{ReimbursementDetailPage-C8P6S9yn-CjGqaV3N.js → ReimbursementDetailPage-DnSo6uTd-B2fnQcOh.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-Bv6Eg8CH-iUgCjzha.js → ReimbursementPromoPage-0st3rBmg-BJkFCzXz.js} +4 -4
  133. package/dist/assets/{ReimbursementSetUpPage-CL1j_14z-1ntDkasP.js → ReimbursementSetUpPage-DCMgwGAM-CVZuk20s.js} +5 -5
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BXlm8qfr-DFnWXpWm.js → ReimbursementsBulkReviewDrawerPage-Cx7BlVAb-BW2L-YXt.js} +1 -1
  135. package/dist/assets/{ReloadCard-DQ8-0JyV-DB-bkjWN.js → ReloadCard-8Tiu9Mq9-WidMrFBg.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-BDXux6ow-8eyOx1Yh.js → ReportTableViewSelector-BwBEG73W-D23xRsEe.js} +7 -7
  137. package/dist/assets/{ReportsPage-fjTk3JSs-DUY58vJz.js → ReportsPage-BxXxsNBv-dsPUH8v1.js} +5 -5
  138. package/dist/assets/{RevenueChart-BAlErS9A-BXzh7yRj.js → RevenueChart-D13bncyo-DisVSBsZ.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-CSNmpZKJ-CmkvpWlb.js → ReviewDetailsPage-C5q0Abn_-DCYfD4eU.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-Zcv9Vljd-hWfuTO7b.js → ReviewOverlay-BNnNWFdW-Dc8TbL95.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-D4abtguM-CazMvZo7.js → RoleWithToolTip-DvYf0VUz-DfyQTHhc.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-AzGpMIv9-qvpVTvvJ.js → ScheduleDetailsFixedAssetsPage-DqrwF4kG-YxjHzQUp.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-FXdL5BP_-BIXnOShB.js → ScheduleDetailsPage-CH2lKmlN-Db_nhPQU.js} +1 -1
  144. package/dist/assets/{ScheduleSequenceTable-D4NEi6ZW-FMzTzWLm.js → ScheduleSequenceTable-BzDIvZ9H-BagpGi8M.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-esZWtP8Y.js → ScreenRoutes-l2ZSRE3X.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-DHNGWTAX-B_r28Ehm.js → SetUpAccountSection-DOvqcC8t-DxYvNTsg.js} +1 -1
  147. package/dist/assets/{SignIn-8lCVuAse-CHvndysC.js → SignIn-CBRwaiPC-DSZbn4tf.js} +12 -12
  148. package/dist/assets/SignInScreen-DA-QJIMK.js +1 -0
  149. package/dist/assets/SpendManagementListViewPage-BjdD7zHz-duCSBxrR.js +134 -0
  150. package/dist/assets/SpendManagementPerTabPage-S5zX9fWg-B69ncWCU.js +754 -0
  151. package/dist/assets/{SpendManagementSection-p_rbwPsi-DexNllt-.js → SpendManagementSection-vo9WEGWQ-DV0kvnxH.js} +1 -1
  152. package/dist/assets/{StatementItem-BrFonWga-DiqKGCh-.js → StatementItem-BxnOzchG-C1vR7F9V.js} +5 -5
  153. package/dist/assets/StatementsPage-0BpH6B2F-c3HeY-pH.js +58 -0
  154. package/dist/assets/{StatusSwitcher-BWCVuAz5-D3jo7wqm.js → StatusSwitcher-Cj2oyfqn-GHqh8PSV.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-W-flws9A-BTelX8y_.js → SubTabSwitcher-B-gfkK-k-9khtx1-k.js} +1 -1
  156. package/dist/assets/{SummaryCard-Cy_49HY6-B5IOHtbz.js → SummaryCard-D92z4WU0-Dk2J87_c.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-CgcgC28Q-DPD0nZtS.js → TaskManagementPage-DND-MEly-DfQOsUTI.js} +1 -1
  158. package/dist/assets/{TimeRangeSwitcher-xEM6Ast5-BNVisZRV.js → TimeRangeSwitcher-BCfDT5nQ-BnXndCyZ.js} +11 -11
  159. package/dist/assets/{TimeframeSwitcher-CJnjD8oY-C839RlNd.js → TimeframeSwitcher-CCMyvSSI-DIRa_Jc4.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-CTsXGTZM-Y9gaGt4o.js → TimeframeSwitcherWithToggle-Di1hQ-WC-DVlTpSsC.js} +2 -2
  161. package/dist/assets/{TopExCard-CK7rIKlo-BNMHqp-4.js → TopExCard-B4CpuO-v-CxDodwtl.js} +3 -3
  162. package/dist/assets/{TopExDetailPage-Dc310wcN-BBhzZoVz.js → TopExDetailPage-BWdJnu-c-DDcIl_DR.js} +6 -6
  163. package/dist/assets/{TransactionDetailPage-BsSYhKxb-BeUI9jq4.js → TransactionDetailPage-CL_VbaJy-BG7mpSq_.js} +1 -1
  164. package/dist/assets/{TransactionList-CKgtf7lj-CeKhT4wB.js → TransactionList-CSfzB0gM-Dw6vqliW.js} +6 -6
  165. package/dist/assets/{TransactionListBig-DY6b3Ezl-DffujAvB.js → TransactionListBig-Dkdt0pvn-BZrDL6CH.js} +1 -1
  166. package/dist/assets/{TransactionListPage-CDc30p4A-D4rmxF8E.js → TransactionListPage-DBAqpKkc-SGyXtVgm.js} +1 -1
  167. package/dist/assets/{TransactionVendorDetailPage-Ca8K8WSI-CLXVHv_c.js → TransactionVendorDetailPage-BPb6IGMd-D5zJvpum.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-xTOs2aDo-Cdu71p0I.js → TransferDrawerPage-oyNu_G0D-C-dL6Rya.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-CnJn5fQJ-BMNFC9wv.js → TreasuryOverviewPage-DIPEykKC-C5rL0Wer.js} +9 -9
  170. package/dist/assets/{TreasuryPromoPage-PW6ExJSX-C2E-AneM.js → TreasuryPromoPage-wmxtzW1N-BB1K5PqR.js} +1 -1
  171. package/dist/assets/{TreasuryStatementsPage-Dh5jSrh1-DVLMH1-Q.js → TreasuryStatementsPage-vHS-mb3R-Ddrpn04Q.js} +2 -2
  172. package/dist/assets/{TreasuryTaxLetterPage-K4MAoNHw-C_oxTn6C.js → TreasuryTaxLetterPage-3fiYxv2D-Dg0xbQQQ.js} +1 -1
  173. package/dist/assets/{TrendChart-DGkb9XC6-TghRUAyK.js → TrendChart-dVd4QdGQ-CLKuTzb2.js} +2 -2
  174. package/dist/assets/{TrendWithTransactions-BhIw1vzx-DxHaizu4.js → TrendWithTransactions-zZUv_Qrs-BElxtx49.js} +3 -3
  175. package/dist/assets/{UncategorizedAccountsMappingPage-U-ABmUHs-HkDX3n37.js → UncategorizedAccountsMappingPage-CcyG64pA-0yQuhcbM.js} +5 -5
  176. package/dist/assets/{UnitIntegrationPage-XOk1iw8U-R_8yzBvv.js → UnitIntegrationPage-BL6g4XY0-fYnhKg75.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-ucIA0by--ChniuyNy.js → UploadAdditionalDocumentOverlay-CBg0WhaZ-C_8-7GFi.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-CNfFCjsZ-CkoROyAM.js → Vendor2FAPopup-CF5AV8a5-BsgzaDOa.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-B_wVoMw5-D4XhjcJ1.js +1 -0
  180. package/dist/assets/{VendorDetailPage-DRLUdE3F-D_wc_LO2.js → VendorDetailPage-C168zV-E-B3dEwSOF.js} +1 -1
  181. package/dist/assets/VendorDomesticWireDetailsPage-cAu_hGIj-CosrcI_S.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-Yq4XoFtd-SHoE98jg.js → VendorFiling1099EditablePage-DVrk7af6-wOFW-4Wi.js} +1 -1
  183. package/dist/assets/{VendorFirstReviewPage-BTFeQPW6-CV-VtP76.js → VendorFirstReviewPage-kiMBuYID-CtvtJJUg.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CdXjkgWl-DUXdXswt.js → VendorInternationalWireDetailsPage-CtGJurq9-CCXwNCAZ.js} +1 -1
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Cy8QoA_b-vnefUABQ.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-CIZ6amoh-iOdKNRxH.js → VendorsAccountsSection-B9Ik1T2V-BaqvYUX_.js} +1 -1
  187. package/dist/assets/{VerifyDevice-BLi9cbRT-CwhVwlo_.js → VerifyDevice-DfX9VA7b-BdOPIyEo.js} +9 -9
  188. package/dist/assets/{VideoPlayer-BDCZd8K1-B6XIA6Sy.js → VideoPlayer-_FcQClfH-cuN5RcOe.js} +2 -2
  189. package/dist/assets/{VideoPopup-Cni9gWLX-Db1l5e36.js → VideoPopup-D0XTfD6q-CZBktelE.js} +3 -3
  190. package/dist/assets/{WarningsDrawerPage-DO3TH_cI-DqJoX6_I.js → WarningsDrawerPage-DIwWkX4B-B-UdjfAF.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-CBbqwtvo-DCLT-Box.js → ZeniAccountDetailPage-mo0trXHB-B20udciT.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-bS_K_U_k-C2TK8yr_.js → ZeniAccountListViewPage-CVzyx1Sx-CoJhvG_N.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-D4Nhv6iC-CW7ZMFVA.js → ZeniAccountNavBarPieces-CbXVnnp9-Dnxyvh_X.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-C40ORHL2-5Ose9Cov.js → ZeniAccountPromoPage-gZMYr_Ux-DJicJ7wt.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-DfGwW1gJ-N18Rwn0q.js → ZeniAccountSetupPage-DPOLAjZV-DJVpJ_Nd.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-D_tc-vwm-DQ7m38Jq.js → ZeniCopyright-BDUQdaKP-B6B-IB0N.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-CwO6861o-9MWcE76i.js → ZeniTransferAmountSlider-B-nq8t_K-ANSQo16z.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-DMQostt2.js → add-to-wallet-DgdBD8_G-BBEivBdQ.js} +1 -1
  199. package/dist/assets/{analytics-YsywGP0I.js → analytics-DO1unY4G.js} +1 -1
  200. package/dist/assets/{analyticsHelper-Bv2VSRHR-D5TeO7Fb.js → analyticsHelper-7cF4XxuH-_xEf-TSd.js} +1 -1
  201. package/dist/assets/{analyticsHelper-CM3pI6rO.js → analyticsHelper-ZZI8M_53.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-BwMp8Z1R.js → arrow-south-east-round-PEovUgvH-CV7FSM6U.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-CCCTiB9K.js → auto-transfer-rule-mbafm5D3-CJUhOMj-.js} +1 -1
  204. package/dist/assets/{chartTypes-CiiHHtlc-DhZqwiAZ.js → chartTypes-DjzTOuyH-BFNN0c4F.js} +1 -1
  205. package/dist/assets/{commonDimensions-B94VpAp0-CDUYcayo.js → commonDimensions-CtIrih5r-CfslRtQI.js} +1 -1
  206. package/dist/assets/{commonTypes-CG4vvGyc-CziHlkCE.js → commonTypes-9h2Y-L4i-CJG-nO2R.js} +1 -1
  207. package/dist/assets/{constants-D9J3MLx1.js → constants-pYZADjo8.js} +1 -1
  208. package/dist/assets/{core-mVc5WAnu.js → core-B9Znwqny.js} +1 -1
  209. package/dist/assets/{dash.all.min-DEG4Ymx5.js → dash.all.min-CS5kHJkT.js} +1 -1
  210. package/dist/assets/{detailCommon-D84jR8Js-CvDn1aAe.js → detailCommon-CEOeZl26-CdFIe8qF.js} +6 -6
  211. package/dist/assets/{downloadPdf-CU0hwe3m-B1XwfpLd.js → downloadPdf-Pyk_BhF7-WEbr68vS.js} +1 -1
  212. package/dist/assets/{empty-5WWfUuj_.js → empty-ChJVx-YB.js} +1 -1
  213. package/dist/assets/{empty-DgV33Jfm.js → empty-CpGZk5F5.js} +1 -1
  214. package/dist/assets/{epic-BDbWyMmO.js → epic-C_GKKQik.js} +2 -2
  215. package/dist/assets/{gift-box-Cmt9OgIZ-DkfKk8Ub.js → gift-box-Cmt9OgIZ-DNEMczKk.js} +1 -1
  216. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DdD14QZ1.js → graphic-no-data-l-DU4J8fDt-Bx_mQw5e.js} +1 -1
  217. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Bxmoc4Q1.js → graphic-no-data-net-burn-l-CzmycA0m-C46dJM7J.js} +1 -1
  218. package/dist/assets/{handshake-BPg58FML-BtKj2QSx.js → handshake-BPg58FML-C6X_P0qB.js} +1 -1
  219. package/dist/assets/{index-DfP1TP46.js → index-1k0W8uO3.js} +1 -1
  220. package/dist/assets/{index-DBHzoy-Y.js → index-BFgzVTwo.js} +1 -1
  221. package/dist/assets/{index-AqGiWrum.js → index-BhvUwV_v.js} +8 -8
  222. package/dist/assets/{index-B0WS5HXc.js → index-CPEwTrV2.js} +1 -1
  223. package/dist/assets/{index-0lgepYHN.js → index-CfJ2tiIp.js} +1 -1
  224. package/dist/assets/{index-CneahQyi.js → index-DpdT_X0L.js} +1 -1
  225. package/dist/assets/{index-s8Qql19x.js → index-POT-Iy9l.js} +1 -1
  226. package/dist/assets/{lexical-D1NyDz9G.js → lexical-DSIpBzCF.js} +1 -1
  227. package/dist/assets/{liveblocks-D8QW-YrN.js → liveblocks-BqcT5iTZ.js} +1 -1
  228. package/dist/assets/{lottie-CoVfqInY.js → lottie-oQfNS8l-.js} +2 -2
  229. package/dist/assets/{mapLoadingInProgressToTreeNode-dE6c_J7g-BidRqUlX.js → mapLoadingInProgressToTreeNode-DoHalh0I-DytjKdZ3.js} +1 -1
  230. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C9RPV_Hz-BdcAtsjX.js → mapSectionWithAcOnlyToTreeNode-CjiNTI8L-BE28qPgb.js} +1 -1
  231. package/dist/assets/mapSpacerToTreeNode-Di-_Qhw7-nEHRbBKZ.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-BaIl_VbE-C25WmKnk.js +1 -0
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-mMtwXmJx-B8gyB0Lt.js +1 -0
  234. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dj8VTtaz-BeBYiLrc.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bz1bR9oN-BR28SX0V.js} +1 -1
  235. package/dist/assets/{mui-C_Pjuwl5.js → mui-DqYnCiYu.js} +1 -1
  236. package/dist/assets/{page-detail-CWX5S47F-CwgQ04Z1.js → page-detail-CWX5S47F-C4YmGfRe.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-DOAN6MGR.js → radio-default-CiSgisfh-C5tnzklf.js} +1 -1
  238. package/dist/assets/{react-UmTxIL5W.js → react-B-LXbQdG.js} +2 -2
  239. package/dist/assets/{react-B4qkP2kJ.js → react-BPazyT0C.js} +1 -1
  240. package/dist/assets/{react-B1uWJZNI.js → react-Bu5BHG8O.js} +2 -2
  241. package/dist/assets/{react-COMbZ_ke.js → react-CBiOQOL3.js} +2 -2
  242. package/dist/assets/{react-CYpEpWLK.js → react-D2eQzOPv.js} +1 -1
  243. package/dist/assets/{react-CzW7TnV7.js → react-DEOv3QaS.js} +3 -3
  244. package/dist/assets/{react-Dk6KMPxp.js → react-DbRD5tNt.js} +2 -2
  245. package/dist/assets/{react-VqVdlbBp.js → react-xLrt57tQ.js} +3 -3
  246. package/dist/assets/{recharts-BGj_NTVO.js → recharts-D7E0WJGk.js} +1 -1
  247. package/dist/assets/{sentry-CTKU7CLc.js → sentry-DgGQRl6g.js} +2 -2
  248. package/dist/assets/{shield-DOlUxcFf-Chnu35pG.js → shield-DOlUxcFf-DK1OxwF6.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-CjVmQxAs-8r-ogQXf.js +1 -0
  250. package/dist/assets/{toChartData-DShY1WZ8-5FxZpBKl.js → toChartData-BFuIgA2L-C4IkmCYG.js} +1 -1
  251. package/dist/assets/{uploadAttachment-DKMAkDBt-BNugFjMC.js → uploadAttachment-ux9baWqa-BwjN4G2_.js} +1 -1
  252. package/dist/assets/{uploadReceipts-DJRtId-4-Bz9k1YgZ.js → uploadReceipts-DJRtId-4-xnWXJPvb.js} +1 -1
  253. package/dist/assets/{url-QugEHHKq.js → url-CW650CMO.js} +1 -1
  254. package/dist/assets/{url-CQ0hVJlH.js → url-DxcM52GB.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-B-Cv7oJI.js → useLongPress-GCK2COYQ-D9KvmRO7.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-DQyOXy13.js → usp-line-BBd1wKwW-EmNWFdhU.js} +1 -1
  257. package/dist/assets/{utils-DJxCyxGL.js → utils-C_quS4m3.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-Cl3KIlic.js → zeni-epic-state-WWg2r7iB.js} +31 -31
  259. package/dist/index.html +1 -1
  260. package/package.json +3 -3
  261. package/dist/assets/AccountInfoPage-5HB6qYYU-DqbEDlqg.js +0 -18
  262. package/dist/assets/BillPayApprovalRulesPage-Blk0_0Ou-58r-fHor.js +0 -241
  263. package/dist/assets/CustomerOnboardingContainerPage-9g2L_yuF-C903cC5U.js +0 -1
  264. package/dist/assets/CustomerOnboardingProductSuitePage-CE2ztcG2-D-ZOZhc2.js +0 -202
  265. package/dist/assets/MagicLinkACHDetailsPage-DwbFsGsL-BQPyG1YA.js +0 -1
  266. package/dist/assets/MagicLinkDomesticWireDetailsPage-BgjMH36H-BbUZS1ad.js +0 -1
  267. package/dist/assets/MagicLinkInternationalWireDetailsPage-C0jHD-87-CatMqDsO.js +0 -1
  268. package/dist/assets/MailingDetailsSection-B8g--tZ7-9mvfahRZ.js +0 -21
  269. package/dist/assets/Preview-o2DriYSg.js +0 -1
  270. package/dist/assets/ReimbursementApprovalRulesPage-CA54CNCd-BZeyQfno.js +0 -243
  271. package/dist/assets/SignInScreen-4muhcIyV.js +0 -1
  272. package/dist/assets/SpendManagementListViewPage-D0iaA1Tz-COkv1PV-.js +0 -134
  273. package/dist/assets/SpendManagementPerTabPage-NhC0DYPW-Dwrce6yO.js +0 -785
  274. package/dist/assets/StatementsPage-1LjLplay-CRMJqr5z.js +0 -58
  275. package/dist/assets/VendorACHDetailsPage-DbsvUZbM-D7Jtn49D.js +0 -1
  276. package/dist/assets/VendorDomesticWireDetailsPage-zrRC15oK-WziwpShk.js +0 -1
  277. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BjUdW9fP-BIKyz_yo.js +0 -1
  278. package/dist/assets/mapSpacerToTreeNode-CxY0Ic8W-W7hZE2p5.js +0 -1
  279. package/dist/assets/mapTimeframeBalancesToTreeNode-BJHD6cPI-DvQ95SJz.js +0 -1
  280. package/dist/assets/mapTimeframeBalancesToTreeNode-rysmkLch-Dj7OJ6xq.js +0 -1
  281. package/dist/assets/toCOABalancesWithID-RFiSMP1Z-CSbaIcFr.js +0 -1
@@ -1,8 +1,8 @@
1
- import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,aa as ye,F as P,h2 as ti,y as R,i4 as ii,b as Ne,T as oi,ay as tt,cl as it,b3 as ot,dl as st,cs as at,k1 as rt,u as w,r as si,k2 as ai,dj as he,aZ as ri,a as ni,d as nt,p as S,ai as li,bO as _,cI as ue,g5 as pe,k3 as fe,aw as lt,a8 as dt,dt as U,fq as ct,gg as di,al as ee,ij as ci,am as H,fE as hi,aV as $e,ba as me,k4 as ui,bL as ht,k5 as Re,bv as pi}from"./index-AqGiWrum.js";import{a as g}from"./sentry-CTKU7CLc.js";import{n as r,c as A}from"./mui-C_Pjuwl5.js";import{Gb as fi,Gc as mi,bL as Z,bh as $,E7 as ut}from"./zeni-epic-state-Cl3KIlic.js";import{k as gi}from"./SubTabSwitcher-W-flws9A-BTelX8y_.js";import{d as pt}from"./useLongPress-GCK2COYQ-B-Cv7oJI.js";import{A as ft,t as mt,a as gt,E as xt,L as bt,I as wt}from"./NotificationsListConfig-CEDk57Lr-DAddVQQW.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.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]="e97ecaf3-8401-4f87-820b-e92603ff86b8",e._sentryDebugIdIdentifier="sentry-dbid-e97ecaf3-8401-4f87-820b-e92603ff86b8")}catch{}})();function xi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=X(),m=g.useCallback(x=>{d(x.id)},[d]),f=g.useCallback(x=>{h(x.id)},[h]);return e.length===0?null:t.jsxs(bi,{windowSize:u,children:[t.jsx(ii,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(gi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const bi=r.div`
1
+ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,aa as ye,F as P,h2 as ti,y as R,i4 as ii,b as Ne,T as oi,ay as tt,cl as it,b3 as ot,dl as st,cs as at,k1 as rt,u as w,r as si,k2 as ai,dj as he,aZ as ri,a as ni,d as nt,p as S,ai as li,bO as z,cI as ue,g5 as pe,k3 as fe,aw as lt,a8 as dt,dt as U,fq as ct,gg as di,al as ee,ij as ci,am as H,fE as hi,aV as $e,ba as me,k4 as ui,bL as ht,k5 as Re,bv as pi}from"./index-BhvUwV_v.js";import{a as g}from"./sentry-DgGQRl6g.js";import{n as r,c as O}from"./mui-DqYnCiYu.js";import{Gb as fi,Gc as mi,bL as Z,bh as $,E7 as ut}from"./zeni-epic-state-WWg2r7iB.js";import{k as gi}from"./SubTabSwitcher-B-gfkK-k-9khtx1-k.js";import{d as pt}from"./useLongPress-GCK2COYQ-D9KvmRO7.js";import{A as ft,t as mt,a as gt,E as xt,L as bt,I as wt}from"./NotificationsListConfig-Ctfr3h3b-B2C7Z_Di.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="ee58e89c-8805-4777-870d-40d71e98f82d",e._sentryDebugIdIdentifier="sentry-dbid-ee58e89c-8805-4777-870d-40d71e98f82d")}catch{}})();function xi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:n,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=X(),m=g.useCallback(x=>{d(x.id)},[d]),f=g.useCallback(x=>{h(x.id)},[h]);return e.length===0?null:t.jsxs(bi,{windowSize:u,children:[t.jsx(ii,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(gi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:n,onTabChange:f})]})}const bi=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
5
- `,{common:{timeStrings:yt,strings:wi},dateFormat:Ie,timeFormat:yi}=P.getLocalizedStrings(),$t=["today","yesterday","last_7_days_this_month","earlier_this_month","earlier_that_month"],le=e=>e.type.concat(wi.underscore).concat(e.start.format(Ie.visual.DdashMMdashYYYYFormat)),ge=e=>{switch(e.type){case"today":case"yesterday":case"earlier_this_month":case"last_7_days_this_month":return yt[e.type];case"earlier_that_month":return e.start.format(Ie.visual.MMMYYYYFormat)}},jt=e=>{const o=Z(e.toUTCString()),s=$(),a=s.diff(o,"minutes"),n=s.diff(o,"seconds"),l=60,c=24*60;return n<=l?yt.justNow:a<c&&ui(o,0)?o.format(yi.hhmmAFormat):o.format(Ie.visual.MMMDFormat)},_e=e=>{switch(e.code){case"todo":return S.important;case"in_progress":return S.info;case"on_hold":return S.alert;case"done":return S.championLight;case"resolved":return S.successDark;default:return S.neutralGrey2Light}},{commentsAndNotifications:{notifications:{actionStrings:{comments:$i}}}}=P.getLocalizedStrings(),kt=e=>{e.sort((n,l)=>Z(n.inboxNotification.notifiedAt.toUTCString()).isAfter(Z(l.inboxNotification.notifiedAt.toUTCString()))===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),h=$().subtract(2,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=oe(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},oe=(e,o,s)=>{const a=[],n=e.map(l=>rt(o,s,Z(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>Z(l.inboxNotification.notifiedAt.toUTCString()).isAfter(Z(c.inboxNotification.notifiedAt.toUTCString()))===!0?-1:1),{singleGroup:a,remainingData:n}},ji=e=>{const{thread:o}=e,{newRepliesAdded:s,newCommentAdded:a}=$i;return o.comments.length===1?a:s},St=new R(3,2,1,1,1),vt=new R(w[8],w[6],35,35,w[6]),de={lineClamp:St,sectionWidth:vt},{common:{texts:ze,timeStrings:ki,strings:te},commentsAndNotifications:{notifications:{strings:{newMessage:Si},actionStrings:{comments:{newCommentAdded:vi}}}}}=P.getLocalizedStrings(),Ci=({notificationData:e,users:o,isHighlighted:s=!1,style:a,onNotificationTileClick:n})=>{const l=lt(),c=dt().analytics,{inboxNotification:{id:d,readAt:h,notifiedAt:u},thread:p}=e,{setRequestToOpenThread:m}=g.useContext(di),f=h!=null?"read":"unread",{metadata:{url:x,companyId:k,entityType:B},id:z}=p;return t.jsxs(zi,{readStatus:f,isClickable:!!x,isHighlighted:s,style:a,onClick:()=>{x&&(n(d,ut(x),f),(p.metadata.tab==="bill"||p.metadata.tab==="reimbursement")&&m({threadId:z,companyId:k,entityType:B})),p.metadata.application!=="cockpit"&&c.trackCommentActivity("notification","clicked",p.metadata.companyName,l.controllersList.controllers.map(N=>U(N)),p.resolved?"resolved":"open",{name:ct(l.loggedInUser),email:l.loggedInUser?.userEmail??""},"db notification")},children:[t.jsx(Ti,{notificationData:e,users:o}),t.jsx(Ii,{...e}),t.jsx(Li,{timestamp:u,readStatus:f})]})},Ct=({notificationData:e,users:o})=>{const{thread:s}=e,{comments:a}=s,n=a[0];return a.length===0||n.body==null?t.jsx(je,{children:Si}):t.jsx(je,{children:n.body.content.map(l=>{switch(l.type){case"paragraph":return l.children.map((c,d)=>{if(Ri(c)){const u=o.find(p=>p.userId===c.id);return c.id?t.jsx(Ni,{notificationData:e,user:u},`${c.id}${te.underscore}${d}`):null}if(_i(c)){const u=ci(c.url)??c.url;return t.jsx(Gi,{href:u,target:"_blank",rel:"noopener noreferrer nofollow",children:c.text??c.url},d)}let h=c.text;return c.bold===!0&&(h=t.jsx(Oi,{children:h},d)),c.italic===!0&&(h=t.jsx(Pi,{children:h},d)),c.strikethrough===!0&&(h=t.jsx(Bi,{children:h},d)),c.code===!0&&(h=t.jsx(Ai,{children:h},d)),t.jsx(Fi,{children:h},d)});default:return t.jsx(je,{children:vi})}})})},Ti=({notificationData:e,users:o})=>{const s=v();return t.jsx(Ei,{windowSize:s,children:t.jsx(Ct,{notificationData:e,users:o})})},Ni=({notificationData:e,user:o})=>{const{inboxNotification:{readAt:s}}=e,a=s!=null?"read":"unread";let n=t.jsxs(De,{className:"userText",readStatus:a,children:[te.atTheRate,ze.user,te.space]});if(o!=null){const l=U(o,!1);n=t.jsx(t.Fragment,{children:t.jsxs(De,{className:"userText",readStatus:a,children:[te.atTheRate,l||ze.user,te.space]})})}return n},Tt=e=>{const o=ji(e);return t.jsx(t.Fragment,{children:o})},Ii=e=>{const o=v();return t.jsx(Mi,{windowSize:o,children:t.jsx(Tt,{...e})})},Nt=e=>{const{timestamp:o,readStatus:s}=e,a=jt(o);return t.jsxs(t.Fragment,{children:[t.jsx(Ui,{isNewNotification:a===ki.justNow,children:a}),t.jsx(Hi,{readStatus:s})]})},Li=e=>{const o=v();return t.jsx(Di,{windowSize:o,children:t.jsx(Nt,{...e})})};function Ri(e){return"type"in e&&e.type==="mention"}function _i(e){return"type"in e&&e.type==="link"}const zi=r.div`
5
+ `,{common:{timeStrings:yt,strings:wi},dateFormat:Ie,timeFormat:yi}=P.getLocalizedStrings(),$t=["today","yesterday","last_7_days_this_month","earlier_this_month","earlier_that_month"],le=e=>e.type.concat(wi.underscore).concat(e.start.format(Ie.visual.DdashMMdashYYYYFormat)),ge=e=>{switch(e.type){case"today":case"yesterday":case"earlier_this_month":case"last_7_days_this_month":return yt[e.type];case"earlier_that_month":return e.start.format(Ie.visual.MMMYYYYFormat)}},jt=e=>{const o=Z(e.toUTCString()),s=$(),a=s.diff(o,"minutes"),n=s.diff(o,"seconds"),l=60,c=24*60;return n<=l?yt.justNow:a<c&&ui(o,0)?o.format(yi.hhmmAFormat):o.format(Ie.visual.MMMDFormat)},ze=e=>{switch(e.code){case"todo":return S.important;case"in_progress":return S.info;case"on_hold":return S.alert;case"done":return S.championLight;case"resolved":return S.successDark;default:return S.neutralGrey2Light}},{commentsAndNotifications:{notifications:{actionStrings:{comments:$i}}}}=P.getLocalizedStrings(),kt=e=>{e.sort((n,l)=>Z(n.inboxNotification.notifiedAt.toUTCString()).isAfter(Z(l.inboxNotification.notifiedAt.toUTCString()))===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),h=$().subtract(2,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=oe(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=oe(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},oe=(e,o,s)=>{const a=[],n=e.map(l=>rt(o,s,Z(l.inboxNotification.notifiedAt.toUTCString()))?(a.push(l),null):l).filter(l=>!!l);return a.sort((l,c)=>Z(l.inboxNotification.notifiedAt.toUTCString()).isAfter(Z(c.inboxNotification.notifiedAt.toUTCString()))===!0?-1:1),{singleGroup:a,remainingData:n}},ji=e=>{const{thread:o}=e,{newRepliesAdded:s,newCommentAdded:a}=$i;return o.comments.length===1?a:s},St=new R(3,2,1,1,1),vt=new R(w[8],w[6],35,35,w[6]),de={lineClamp:St,sectionWidth:vt},{common:{texts:_e,timeStrings:ki,strings:te},commentsAndNotifications:{notifications:{strings:{newMessage:Si},actionStrings:{comments:{newCommentAdded:vi}}}}}=P.getLocalizedStrings(),Ci=({notificationData:e,users:o,isHighlighted:s=!1,style:a,onNotificationTileClick:n})=>{const l=lt(),c=dt().analytics,{inboxNotification:{id:d,readAt:h,notifiedAt:u},thread:p}=e,{setRequestToOpenThread:m}=g.useContext(di),f=h!=null?"read":"unread",{metadata:{url:x,companyId:k,entityType:B},id:_}=p;return t.jsxs(_i,{readStatus:f,isClickable:!!x,isHighlighted:s,style:a,onClick:()=>{x&&(n(d,ut(x),f),(p.metadata.tab==="bill"||p.metadata.tab==="reimbursement")&&m({threadId:_,companyId:k,entityType:B})),p.metadata.application!=="cockpit"&&c.trackCommentActivity("notification","clicked",p.metadata.companyName,l.controllersList.controllers.map(N=>U(N)),p.resolved?"resolved":"open",{name:ct(l.loggedInUser),email:l.loggedInUser?.userEmail??""},"db notification")},children:[t.jsx(Ti,{notificationData:e,users:o}),t.jsx(Ii,{...e}),t.jsx(Li,{timestamp:u,readStatus:f})]})},Ct=({notificationData:e,users:o})=>{const{thread:s}=e,{comments:a}=s,n=a[0];return a.length===0||n.body==null?t.jsx(je,{children:Si}):t.jsx(je,{children:n.body.content.map(l=>{switch(l.type){case"paragraph":return l.children.map((c,d)=>{if(Ri(c)){const u=o.find(p=>p.userId===c.id);return c.id?t.jsx(Ni,{notificationData:e,user:u},`${c.id}${te.underscore}${d}`):null}if(zi(c)){const u=ci(c.url)??c.url;return t.jsx(Gi,{href:u,target:"_blank",rel:"noopener noreferrer nofollow",children:c.text??c.url},d)}let h=c.text;return c.bold===!0&&(h=t.jsx(Ai,{children:h},d)),c.italic===!0&&(h=t.jsx(Pi,{children:h},d)),c.strikethrough===!0&&(h=t.jsx(Bi,{children:h},d)),c.code===!0&&(h=t.jsx(Oi,{children:h},d)),t.jsx(Fi,{children:h},d)});default:return t.jsx(je,{children:vi})}})})},Ti=({notificationData:e,users:o})=>{const s=v();return t.jsx(Ei,{windowSize:s,children:t.jsx(Ct,{notificationData:e,users:o})})},Ni=({notificationData:e,user:o})=>{const{inboxNotification:{readAt:s}}=e,a=s!=null?"read":"unread";let n=t.jsxs(De,{className:"userText",readStatus:a,children:[te.atTheRate,_e.zeniAI,te.space]});if(o!=null){const l=U(o,!1);n=t.jsx(t.Fragment,{children:t.jsxs(De,{className:"userText",readStatus:a,children:[te.atTheRate,l||_e.zeniAI,te.space]})})}return n},Tt=e=>{const o=ji(e);return t.jsx(t.Fragment,{children:o})},Ii=e=>{const o=v();return t.jsx(Mi,{windowSize:o,children:t.jsx(Tt,{...e})})},Nt=e=>{const{timestamp:o,readStatus:s}=e,a=jt(o);return t.jsxs(t.Fragment,{children:[t.jsx(Ui,{isNewNotification:a===ki.justNow,children:a}),t.jsx(Hi,{readStatus:s})]})},Li=e=>{const o=v();return t.jsx(Di,{windowSize:o,children:t.jsx(Nt,{...e})})};function Ri(e){return"type"in e&&e.type==="mention"}function zi(e){return"type"in e&&e.type==="link"}const _i=r.div`
6
6
  display: flex;
7
7
  flex-direction: row;
8
8
  align-items: center;
@@ -33,7 +33,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
33
33
  border-bottom-right-radius: inherit;
34
34
  }
35
35
 
36
- ${e=>e.isHighlighted?A`
36
+ ${e=>e.isHighlighted?O`
37
37
  z-index: 1;
38
38
  color: ${e.theme.colors.primary};
39
39
  border: 1px solid ${e.theme.colors.primary};
@@ -43,7 +43,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
43
43
  }
44
44
  `:null};
45
45
 
46
- ${e=>e.isClickable?A`
46
+ ${e=>e.isClickable?O`
47
47
  &:hover {
48
48
  z-index: 1;
49
49
  color: ${e.theme.colors.primary};
@@ -68,7 +68,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
68
68
  -webkit-line-clamp: ${e=>de.lineClamp.value(e.windowSize)};
69
69
  -webkit-box-orient: vertical;
70
70
  width: ${e=>de.sectionWidth.valuePercentage(e.windowSize)};
71
- `,Oi=r.strong``,Ai=r.code``,Pi=r.em``,Bi=r.s``,Fi=r.span``,Gi=r.a``,Ei=r(ee)`
71
+ `,Ai=r.strong``,Oi=r.code``,Pi=r.em``,Bi=r.s``,Fi=r.span``,Gi=r.a``,Ei=r(ee)`
72
72
  color: inherit;
73
73
  display: -webkit-box;
74
74
  overflow: hidden;
@@ -89,7 +89,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
89
89
  border-radius: ${i.sp2};
90
90
  flex-shrink: 0;
91
91
  background-color: ${e=>e.readStatus==="unread"?S.info:"transparent"};
92
- `,ke={emptyRowItemSectionWidth:new R(120,200,250,330,400),emptyLastRowItemSectionWidth:new R(w[6],50,60,w[11],120)},Vi=()=>{const e=v();return t.jsxs(Yi,{windowSize:e,children:[t.jsx(Se,{windowSize:e,isLastItem:!1,children:t.jsx(_,{width:ke.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(Se,{windowSize:e,isLastItem:!1,children:t.jsx(_,{width:ke.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(Se,{windowSize:e,isLastItem:!0,children:t.jsx(_,{width:ke.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Yi=r.div`
92
+ `,ke={emptyRowItemSectionWidth:new R(120,200,250,330,400),emptyLastRowItemSectionWidth:new R(w[6],50,60,w[11],120)},Vi=()=>{const e=v();return t.jsxs(Yi,{windowSize:e,children:[t.jsx(Se,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:ke.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(Se,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:ke.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(Se,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:ke.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Yi=r.div`
93
93
  display: flex;
94
94
  align-items: center;
95
95
  justify-content: space-between;
@@ -120,7 +120,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
120
120
  flex: 1 1 auto;
121
121
  justify-content: ${e=>e.isLastItem?"flex-end":"start"};
122
122
  width: ${e=>e.isLastItem?"10%":vt.valuePercentage(e.windowSize)};
123
- `,Wi=()=>{const e=v();return t.jsxs(Ji,{windowSize:e,children:[t.jsxs(qi,{children:[t.jsx(_,{width:180,height:w[4]}),t.jsx(_,{width:180,height:w[4]})]}),t.jsx(Ki,{children:t.jsx(_,{width:60,height:18})})]})},Ji=r.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(Ki,{children:t.jsx(z,{width:60,height:18})})]})},Ji=r.div`
124
124
  display: flex;
125
125
  align-items: baseline;
126
126
  justify-content: space-between;
@@ -158,7 +158,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
158
158
  align-items: baseline;
159
159
  flex-direction: row;
160
160
  justify-content: end;
161
- `,Qi=()=>v()==="small"?t.jsx(Wi,{}):t.jsx(Vi,{}),Zi={marginLeft:new R(w[2],w[5],w[7])},Xi=()=>t.jsxs(eo,{children:[t.jsx(ve,{numberOfRows:5}),t.jsx(ve,{numberOfRows:3})]}),ve=({numberOfRows:e})=>{const o=v();return t.jsxs(to,{windowSize:o,children:[t.jsx(oo,{children:t.jsx(_,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(io,{children:[...Array(e)].map(s=>t.jsx(Qi,{},he()))})]})},eo=r.div`
161
+ `,Qi=()=>v()==="small"?t.jsx(Wi,{}):t.jsx(Vi,{}),Zi={marginLeft:new R(w[2],w[5],w[7])},Xi=()=>t.jsxs(eo,{children:[t.jsx(ve,{numberOfRows:5}),t.jsx(ve,{numberOfRows:3})]}),ve=({numberOfRows:e})=>{const o=v();return t.jsxs(to,{windowSize:o,children:[t.jsx(oo,{children:t.jsx(z,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(io,{children:[...Array(e)].map(s=>t.jsx(Qi,{},he()))})]})},eo=r.div`
162
162
  display: block;
163
163
  min-height: 100%;
164
164
  flex-direction: column;
@@ -175,7 +175,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
175
175
  `,oo=r.div`
176
176
  display: flex;
177
177
  padding: ${i.sp3} ${i.sp0};
178
- `,so=({notificationData:e,users:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:n,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const d=lt(),h=dt().analytics,{inboxNotification:{id:u,readAt:p,notifiedAt:m},thread:f}=e,x=p!=null?"read":"unread",k=f.metadata.url,B=g.useCallback(()=>{c?.()},[c]),z=g.useCallback(b=>{b.stopPropagation(),b.cancelable&&b.preventDefault(),s?c?.():k!=null&&(l(u,ut(f.metadata.url),x),f.metadata.application!=="cockpit"&&h.trackCommentActivity("notification","clicked",f.metadata.companyName,d.controllersList.controllers.map(I=>U(I)),f.resolved?"resolved":"open",{name:ct(d.loggedInUser),email:d.loggedInUser?.userEmail??""},"db notification"))},[s,k,c,l,u,f.metadata.url,f.metadata.application,x,d.controllersList,d.loggedInUser,h,f.metadata.companyName,f.resolved]),N=pt({onLongPress:B},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(lo,{readStatus:x,isClickable:k!=null,isHighlighted:a,style:n,...N,onClick:z,children:[t.jsxs(ho,{children:[t.jsx(ao,{notificationData:e,users:o}),t.jsx(ro,{...e})]}),t.jsx(no,{timestamp:m,readStatus:x})]})},ao=({notificationData:e,users:o})=>t.jsx(It,{children:t.jsx(Ct,{notificationData:e,users:o})}),ro=e=>t.jsx(It,{children:t.jsx(Tt,{...e})}),no=e=>t.jsx(co,{children:t.jsx(Nt,{...e})}),lo=r.div`
178
+ `,so=({notificationData:e,users:o,isSelectionMode:s=!1,isHighlighted:a=!1,style:n,onNotificationTileClick:l,onNotificationTileLongPress:c})=>{const d=lt(),h=dt().analytics,{inboxNotification:{id:u,readAt:p,notifiedAt:m},thread:f}=e,x=p!=null?"read":"unread",k=f.metadata.url,B=g.useCallback(()=>{c?.()},[c]),_=g.useCallback(b=>{b.stopPropagation(),b.cancelable&&b.preventDefault(),s?c?.():k!=null&&(l(u,ut(f.metadata.url),x),f.metadata.application!=="cockpit"&&h.trackCommentActivity("notification","clicked",f.metadata.companyName,d.controllersList.controllers.map(I=>U(I)),f.resolved?"resolved":"open",{name:ct(d.loggedInUser),email:d.loggedInUser?.userEmail??""},"db notification"))},[s,k,c,l,u,f.metadata.url,f.metadata.application,x,d.controllersList,d.loggedInUser,h,f.metadata.companyName,f.resolved]),N=pt({onLongPress:B},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(lo,{readStatus:x,isClickable:k!=null,isHighlighted:a,style:n,...N,onClick:_,children:[t.jsxs(ho,{children:[t.jsx(ao,{notificationData:e,users:o}),t.jsx(ro,{...e})]}),t.jsx(no,{timestamp:m,readStatus:x})]})},ao=({notificationData:e,users:o})=>t.jsx(It,{children:t.jsx(Ct,{notificationData:e,users:o})}),ro=e=>t.jsx(It,{children:t.jsx(Tt,{...e})}),no=e=>t.jsx(co,{children:t.jsx(Nt,{...e})}),lo=r.div`
179
179
  display: flex;
180
180
  flex-direction: row;
181
181
  align-items: baseline;
@@ -207,7 +207,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
207
207
  border-bottom-right-radius: inherit;
208
208
  }
209
209
 
210
- ${e=>e.isHighlighted?A`
210
+ ${e=>e.isHighlighted?O`
211
211
  z-index: 1;
212
212
  color: ${e.theme.colors.primary};
213
213
  border: 1px solid ${e.theme.colors.primary};
@@ -217,7 +217,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
217
217
  }
218
218
  `:null};
219
219
 
220
- ${e=>e.isClickable?A`
220
+ ${e=>e.isClickable?O`
221
221
  &:hover {
222
222
  z-index: 1;
223
223
  color: ${e.theme.colors.primary};
@@ -253,16 +253,16 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
253
253
  align-items: flex-start;
254
254
  width: 100%;
255
255
  padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
256
- `,{common:{all:Oe}}=P.getLocalizedStrings(),mo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=X(),{getValues:h}=ue(),u=h(s),p=g.useRef([]);return g.useEffect(()=>{p.current=p.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx(go,{style:n,children:t.jsx(pe,{mode:a,checkBoxes:[{label:t.jsx(Ae,{htmlFor:`${s}.${Oe.toLocaleLowerCase()}`,style:{color:d.colors.primary,marginLeft:i.sp2},children:ge(e)}),value:Oe.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((m,f)=>{const x=f===0,k=e.notifications.length-1===f;return{label:t.jsx(Ae,{ref:B=>p.current[f]=B,htmlFor:`${s}.${m.inboxNotification.id}`,style:{padding:i.sp0},children:t.jsx(xo,{notificationData:m,users:o,style:{borderTopLeftRadius:x?i.sp2:void 0,borderTopRightRadius:x?i.sp2:void 0,borderBottomLeftRadius:k?i.sp2:void 0,borderBottomRightRadius:k?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:u?.includes(m.inboxNotification.id)===!0,isSelectionMode:a==="always_on",onNotificationTileClick:c,onNotificationTileLongPress:()=>{p.current[f]?.click()}})}),value:m.inboxNotification.id,defaultChecked:!1,groupLabel:!1}})],name:s,isDisabled:l,style:{width:"100%",position:"relative"},checkBoxStyle:{padding:i.sp1,zIndex:2,left:`-${i.sp1}`,position:"absolute"},checkBoxIconStyle:{backgroundColor:d.colors.grey5}})})},go=r.div`
256
+ `,{common:{all:Ae}}=P.getLocalizedStrings(),mo=({notificationGroup:e,users:o,sectionId:s,checkBoxMode:a,style:n,isDisabled:l,onNotificationTileClick:c})=>{const d=X(),{getValues:h}=ue(),u=h(s),p=g.useRef([]);return g.useEffect(()=>{p.current=p.current.slice(0,e.notifications.length)},[e.notifications.length]),t.jsx(go,{style:n,children:t.jsx(pe,{mode:a,checkBoxes:[{label:t.jsx(Oe,{htmlFor:`${s}.${Ae.toLocaleLowerCase()}`,style:{color:d.colors.primary,marginLeft:i.sp2},children:ge(e)}),value:Ae.toLocaleLowerCase(),defaultChecked:!1,groupLabel:!0},...e.notifications.map((m,f)=>{const x=f===0,k=e.notifications.length-1===f;return{label:t.jsx(Oe,{ref:B=>p.current[f]=B,htmlFor:`${s}.${m.inboxNotification.id}`,style:{padding:i.sp0},children:t.jsx(xo,{notificationData:m,users:o,style:{borderTopLeftRadius:x?i.sp2:void 0,borderTopRightRadius:x?i.sp2:void 0,borderBottomLeftRadius:k?i.sp2:void 0,borderBottomRightRadius:k?i.sp2:void 0,marginLeft:i.sp2},isHighlighted:u?.includes(m.inboxNotification.id)===!0,isSelectionMode:a==="always_on",onNotificationTileClick:c,onNotificationTileLongPress:()=>{p.current[f]?.click()}})}),value:m.inboxNotification.id,defaultChecked:!1,groupLabel:!1}})],name:s,isDisabled:l,style:{width:"100%",position:"relative"},checkBoxStyle:{padding:i.sp1,zIndex:2,left:`-${i.sp1}`,position:"absolute"},checkBoxIconStyle:{backgroundColor:d.colors.grey5}})})},go=r.div`
257
257
  display: flex;
258
258
  align-items: center;
259
259
  width: 100%;
260
- `,Ae=r(fe)`
260
+ `,Oe=r(fe)`
261
261
  display: flex;
262
262
  align-items: flex-start;
263
263
  width: 100%;
264
264
  padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
265
- `,xo=r(Lt)``,bo=e=>v()==="small"?t.jsx(mo,{...e}):t.jsx(uo,{...e}),{commentsAndNotifications:{notifications:{message:wo}}}=P.getLocalizedStrings(),Pe={rowGap:new R(w[0],w[5],w[5])},yo=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:n,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:h,onUpdateScrollYOffset:u,onFetchNotificationGroups:p,onNotificationClick:m})=>{const f=v(),x=g.useRef(null),k=g.useRef({});g.useEffect(()=>{x.current?.resetAfterIndex(0,!0)},[f,x,e]),g.useEffect(()=>{x.current?.scrollTo(c)},[d]);const B=g.useCallback(C=>{if(k.current?.[C]!=null){const G=f==="small"&&a===!1&&C===e.length-1?Pe.rowGap.value("medium-regular"):Pe.rowGap.value(f);return k.current[C]+G}return(ft*St.value(f)+mt)*3+gt+xt},[f,k,e]),z=g.useCallback((C,G)=>{k.current={...k.current,[C]:G},x.current?.resetAfterIndex(0,!0)},[f,x,e]),N=g.useCallback(()=>{p()},[p]),b=g.useCallback(()=>{},[]),I=tt(C=>u(C),1e3,{trailing:!0}),j=C=>!a||C<e.length,V=g.useCallback(()=>a&&!s?N():b(),[a,s,N,b]),L=a?e.length+1:e.length;return t.jsx(jo,{children:t.jsx(ko,{windowSize:f,children:s&&e.length===0?t.jsx(Xi,{}):s===!1&&e.length===0?t.jsx(it,{message:wo.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(So,{windowSize:f,children:t.jsx(ot,{children:({height:C,width:G})=>t.jsx(st,{isItemLoaded:j,itemCount:bt,loadMoreItems:V,children:({onItemsRendered:Y,ref:E})=>t.jsx(at,{ref:W=>{E(W),x.current=W},height:C,itemCount:L,itemData:{notificationGroups:e,users:o,sectionId:n,checkBoxMode:l,isDisabled:h,isItemLoaded:j,setRowHeight:z,onNotificationClick:m},onItemsRendered:Y,itemSize:B,width:G,style:{willChange:"auto"},overscanCount:wt,onScroll:({scrollOffset:W})=>{I(W)},initialScrollOffset:c,children:$o})})})})})})},$o=({index:e,style:o,data:s})=>{const{notificationGroups:a,users:n,sectionId:l,checkBoxMode:c,isItemLoaded:d,isDisabled:h,setRowHeight:u,onNotificationClick:p}=s,m=g.useRef(null),f=v();if(g.useEffect(()=>{m.current?.firstElementChild!=null&&u(e,m.current.firstElementChild.clientHeight)},[e,m,f,a[e]?.notifications]),d(e)===!0){const x=a[e],k=le(x);return t.jsx(Be,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:m,children:t.jsx(bo,{notificationGroup:x,sectionId:`${l}.${k}`,checkBoxMode:c,isDisabled:h,users:n,onNotificationTileClick:p})},k)}return t.jsx(Be,{ref:m,style:{...o,paddingBottom:i.sp0},children:t.jsx(ve,{numberOfRows:3})},he())},jo=r.div`
265
+ `,xo=r(Lt)``,bo=e=>v()==="small"?t.jsx(mo,{...e}):t.jsx(uo,{...e}),{commentsAndNotifications:{notifications:{message:wo}}}=P.getLocalizedStrings(),Pe={rowGap:new R(w[0],w[5],w[5])},yo=({notificationGroups:e,users:o,isFetching:s,hasMore:a,sectionId:n,checkBoxMode:l,scrollYOffset:c,currentSubTab:d,isDisabled:h,onUpdateScrollYOffset:u,onFetchNotificationGroups:p,onNotificationClick:m})=>{const f=v(),x=g.useRef(null),k=g.useRef({});g.useEffect(()=>{x.current?.resetAfterIndex(0,!0)},[f,x,e]),g.useEffect(()=>{x.current?.scrollTo(c)},[d]);const B=g.useCallback(C=>{if(k.current?.[C]!=null){const G=f==="small"&&a===!1&&C===e.length-1?Pe.rowGap.value("medium-regular"):Pe.rowGap.value(f);return k.current[C]+G}return(ft*St.value(f)+mt)*3+gt+xt},[f,k,e]),_=g.useCallback((C,G)=>{k.current={...k.current,[C]:G},x.current?.resetAfterIndex(0,!0)},[f,x,e]),N=g.useCallback(()=>{p()},[p]),b=g.useCallback(()=>{},[]),I=tt(C=>u(C),1e3,{trailing:!0}),j=C=>!a||C<e.length,V=g.useCallback(()=>a&&!s?N():b(),[a,s,N,b]),L=a?e.length+1:e.length;return t.jsx(jo,{children:t.jsx(ko,{windowSize:f,children:s&&e.length===0?t.jsx(Xi,{}):s===!1&&e.length===0?t.jsx(it,{message:wo.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(So,{windowSize:f,children:t.jsx(ot,{children:({height:C,width:G})=>t.jsx(st,{isItemLoaded:j,itemCount:bt,loadMoreItems:V,children:({onItemsRendered:Y,ref:E})=>t.jsx(at,{ref:W=>{E(W),x.current=W},height:C,itemCount:L,itemData:{notificationGroups:e,users:o,sectionId:n,checkBoxMode:l,isDisabled:h,isItemLoaded:j,setRowHeight:_,onNotificationClick:m},onItemsRendered:Y,itemSize:B,width:G,style:{willChange:"auto"},overscanCount:wt,onScroll:({scrollOffset:W})=>{I(W)},initialScrollOffset:c,children:$o})})})})})})},$o=({index:e,style:o,data:s})=>{const{notificationGroups:a,users:n,sectionId:l,checkBoxMode:c,isItemLoaded:d,isDisabled:h,setRowHeight:u,onNotificationClick:p}=s,m=g.useRef(null),f=v();if(g.useEffect(()=>{m.current?.firstElementChild!=null&&u(e,m.current.firstElementChild.clientHeight)},[e,m,f,a[e]?.notifications]),d(e)===!0){const x=a[e],k=le(x);return t.jsx(Be,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:m,children:t.jsx(bo,{notificationGroup:x,sectionId:`${l}.${k}`,checkBoxMode:c,isDisabled:h,users:n,onNotificationTileClick:p})},k)}return t.jsx(Be,{ref:m,style:{...o,paddingBottom:i.sp0},children:t.jsx(ve,{numberOfRows:3})},he())},jo=r.div`
266
266
  display: block;
267
267
  background-color: ${e=>e.theme.colors.grey4};
268
268
  height: 100%;
@@ -279,7 +279,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
279
279
  top: ${i.sp0};
280
280
  left: ${i.sp0};
281
281
  box-sizing: border-box;
282
- `,{common:{in:vo,strings:Rt},dateFormat:Co,commentsAndNotifications:{notifications:{actionStrings:{notifications:O}}}}=P.getLocalizedStrings(),_t=e=>{e.sort((n,l)=>n.createTime.isAfter(l.createTime)===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),h=$().subtract(2,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=se(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},se=(e,o,s)=>{const a=[],n=e.map(l=>rt(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:n}},To=e=>{let o=O.newActivity;return e.code==="in_progress"?o=O.due.replace("__task_status__",Re(e.name.toLocaleLowerCase())):o=O.due.replace("__task_status__",vo.toLocaleLowerCase().concat(Rt.space,Re(e.name.toLocaleLowerCase()))),o},No=e=>{const{eventData:{activities:o}}=e;let s=O.newActivity;if(o.length>0){const a=o[0].activityType,n=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=n!=null?To(n):O.dueTomorrow;break;case"task_overdue":s=O.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Co.visual.MMMDFormat)??Rt.empty);break;case"task_status_updated":s=O.statusUpdate;break}}return s},zt=new R(3,2,1,1,1),Dt=new R(w[8],33,33,33,35),ce={lineClamp:zt,sectionWidth:Dt},{common:{and:Fe,other:Io,others:Lo,texts:Ro,timeStrings:_o,strings:M,tags:zo}}=P.getLocalizedStrings(),Do=({notificationData:e,isHighlighted:o=!1,style:s,onNotificationTileClick:a})=>{const{status:n,notificationId:l,eventData:{entitiyId:c,activities:d},createTime:h}=e;return t.jsxs(Go,{notificationStatus:n,isHighlighted:o,style:s,onClick:()=>{a(l,c,n,d.length>0?d[0].activityType:void 0)},children:[t.jsx(Mo,{...e}),t.jsx(Po,{...e}),t.jsx(Fo,{...e}),t.jsx(Bo,{createTime:h,notificationStatus:n})]})},Mt=e=>{const{status:o,eventData:{title:s}}=e;return t.jsx(Yo,{notificationStatus:o,children:s||M.hyphen})},Mo=e=>{const o=v();return t.jsx(Vo,{windowSize:o,children:t.jsx(Mt,{...e})})},Oo=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(Jo,{children:[t.jsx(Ge,{backgroundColor:_e(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(qo,{}),t.jsx(Ge,{backgroundColor:_e(s.newValue.codeNamePair),children:s.newValue.codeNamePair.name})]})}return null},Ao=e=>{const{status:o,eventData:{authors:s,activities:a}}=e,n=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(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,Ro.user,M.space]});return n>0&&(n>2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,n-1,M.space,Lo,M.space]})]}):n===2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,s.length===2?M.atTheRate+U(s[1],!1):Io,M.space]})]}):l=t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]})),l},Ot=e=>t.jsxs(t.Fragment,{children:[t.jsx(Ao,{...e}),No(e),t.jsx(Oo,{...e})]}),Po=e=>{const o=v(),{eventData:{activities:s}}=e;return t.jsx(Ho,{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(Ot,{...e})})},At=e=>{const{createTime:o,notificationStatus:s}=e,a=jt(o.toDate());return t.jsxs(t.Fragment,{children:[t.jsx(Wo,{isNewNotification:a===_o.justNow,children:a}),t.jsx(Qo,{notificationStatus:s})]})},Bo=e=>{const o=v();return t.jsx(Eo,{windowSize:o,children:t.jsx(At,{...e})})},Pt=e=>{const{eventData:{activities:o}}=e;return o[0].activityType==="task_overdue"?t.jsx(hi,{tagTitle:zo.overdue,textColor:{color:new $e(S.alert),backgroundColor:new $e("transparent"),borderColor:new $e(S.alert)},showLoader:!1}):t.jsx(Ko,{})},Fo=e=>{const o=v();return t.jsx(Uo,{windowSize:o,children:t.jsx(Pt,{...e})})},Go=r.div`
282
+ `,{common:{in:vo,strings:Rt},dateFormat:Co,commentsAndNotifications:{notifications:{actionStrings:{notifications:A}}}}=P.getLocalizedStrings(),zt=e=>{e.sort((n,l)=>n.createTime.isAfter(l.createTime)===!0?1:-1);let o=[...e];const s=[];let a={singleGroup:[],remainingData:[]};for(const n of $t){let l=0,c=0,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),u=1;switch(n){case"today":case"yesterday":l=n==="today"?0:1,c=n==="today"?0:1,d=$().subtract(Math.min($().date(),l),"d").startOf("d"),h=$().subtract(Math.min($().date(),c),"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup});break;case"last_7_days_this_month":o.length>0&&$().date()>2&&(d=$().subtract(Math.min($().date()-1,8),"d").startOf("d"),h=$().subtract(2,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_this_month":o.length>0&&$().date()>9&&(d=$().startOf("M").startOf("d"),h=$().subtract(9,"d").endOf("d"),a=se(o,d,h),o=a.remainingData,s.push({start:d,end:h,type:n,notifications:a.singleGroup}));break;case"earlier_that_month":for(;o.length>0;){const p=$().subtract(u,"month").startOf("M").startOf("d"),m=$().subtract(u,"month").endOf("M").endOf("d");u++,a=se(o,p,m),o=a.remainingData,s.push({start:p,end:m,type:n,notifications:a.singleGroup})}break}}return s},se=(e,o,s)=>{const a=[],n=e.map(l=>rt(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:n}},To=e=>{let o=A.newActivity;return e.code==="in_progress"?o=A.due.replace("__task_status__",Re(e.name.toLocaleLowerCase())):o=A.due.replace("__task_status__",vo.toLocaleLowerCase().concat(Rt.space,Re(e.name.toLocaleLowerCase()))),o},No=e=>{const{eventData:{activities:o}}=e;let s=A.newActivity;if(o.length>0){const a=o[0].activityType,n=o[0].metadata.eventStatus;switch(a){case"task_archived":s=A.archive;break;case"task_deleted":s=A.delete;break;case"task_activities":s=A.activities;break;case"task_assigned":s=A.assign;break;case"task_created":s=A.create;break;case"task_due":s=n!=null?To(n):A.dueTomorrow;break;case"task_overdue":s=A.overdue.replace("__date__",o[0].metadata.additionalInfo?.dueDate.format(Co.visual.MMMDFormat)??Rt.empty);break;case"task_status_updated":s=A.statusUpdate;break}}return s},_t=new R(3,2,1,1,1),Dt=new R(w[8],33,33,33,35),ce={lineClamp:_t,sectionWidth:Dt},{common:{and:Fe,other:Io,others:Lo,texts:Ro,timeStrings:zo,strings:M,tags:_o}}=P.getLocalizedStrings(),Do=({notificationData:e,isHighlighted:o=!1,style:s,onNotificationTileClick:a})=>{const{status:n,notificationId:l,eventData:{entitiyId:c,activities:d},createTime:h}=e;return t.jsxs(Go,{notificationStatus:n,isHighlighted:o,style:s,onClick:()=>{a(l,c,n,d.length>0?d[0].activityType:void 0)},children:[t.jsx(Mo,{...e}),t.jsx(Po,{...e}),t.jsx(Fo,{...e}),t.jsx(Bo,{createTime:h,notificationStatus:n})]})},Mt=e=>{const{status:o,eventData:{title:s}}=e;return t.jsx(Yo,{notificationStatus:o,children:s||M.hyphen})},Mo=e=>{const o=v();return t.jsx(Vo,{windowSize:o,children:t.jsx(Mt,{...e})})},Ao=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(Jo,{children:[t.jsx(Ge,{backgroundColor:ze(s.oldValue.codeNamePair),children:s.oldValue.codeNamePair.name}),t.jsx(qo,{}),t.jsx(Ge,{backgroundColor:ze(s.newValue.codeNamePair),children:s.newValue.codeNamePair.name})]})}return null},Oo=e=>{const{status:o,eventData:{authors:s,activities:a}}=e,n=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(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,Ro.zeniAI,M.space]});return n>0&&(n>2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,n-1,M.space,Lo,M.space]})]}):n===2?l=t.jsxs(t.Fragment,{children:[t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]}),Fe,t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.space,s.length===2?M.atTheRate+U(s[1],!1):Io,M.space]})]}):l=t.jsxs(q,{className:"userText",notificationStatus:o,children:[M.atTheRate,U(s[0],!1),M.space]})),l},At=e=>t.jsxs(t.Fragment,{children:[t.jsx(Oo,{...e}),No(e),t.jsx(Ao,{...e})]}),Po=e=>{const o=v(),{eventData:{activities:s}}=e;return t.jsx(Ho,{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(At,{...e})})},Ot=e=>{const{createTime:o,notificationStatus:s}=e,a=jt(o.toDate());return t.jsxs(t.Fragment,{children:[t.jsx(Wo,{isNewNotification:a===zo.justNow,children:a}),t.jsx(Qo,{notificationStatus:s})]})},Bo=e=>{const o=v();return t.jsx(Eo,{windowSize:o,children:t.jsx(Ot,{...e})})},Pt=e=>{const{eventData:{activities:o}}=e;return o[0].activityType==="task_overdue"?t.jsx(hi,{tagTitle:_o.overdue,textColor:{color:new $e(S.alert),backgroundColor:new $e("transparent"),borderColor:new $e(S.alert)},showLoader:!1}):t.jsx(Ko,{})},Fo=e=>{const o=v();return t.jsx(Uo,{windowSize:o,children:t.jsx(Pt,{...e})})},Go=r.div`
283
283
  display: flex;
284
284
  flex-direction: row;
285
285
  align-items: center;
@@ -310,7 +310,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
310
310
  border-bottom-right-radius: inherit;
311
311
  }
312
312
 
313
- ${e=>e.isHighlighted?A`
313
+ ${e=>e.isHighlighted?O`
314
314
  z-index: 1;
315
315
  color: ${e.theme.colors.primary};
316
316
  border: 1px solid ${e.theme.colors.primary};
@@ -345,11 +345,11 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
345
345
  `,Ho=r(ee)`
346
346
  color: inherit;
347
347
 
348
- ${e=>e.statusUpdate?A`
348
+ ${e=>e.statusUpdate?O`
349
349
  display: flex;
350
350
  flex-wrap: wrap;
351
351
  gap: ${i.sp1};
352
- `:A`
352
+ `:O`
353
353
  display: -webkit-box;
354
354
  overflow: hidden;
355
355
  -webkit-line-clamp: ${ce.lineClamp.value(e.windowSize)};
@@ -397,7 +397,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
397
397
  border-radius: ${i.sp2};
398
398
  flex-shrink: 0;
399
399
  background-color: ${e=>e.notificationStatus==="unread"?S.info:"transparent"};
400
- `,ae={emptyRowItemSectionWidth:new R(120,200,280,330,400),emptyLastRowItemSectionWidth:new R(w[6],50,60,w[11],120)},Zo=()=>{const e=v();return t.jsxs(Xo,{windowSize:e,children:[t.jsx(re,{windowSize:e,isLastItem:!1,children:t.jsx(_,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(re,{windowSize:e,isLastItem:!1,children:t.jsx(_,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(re,{windowSize:e,isLastItem:!0,children:t.jsx(_,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})}),t.jsx(re,{windowSize:e,isLastItem:!0,children:t.jsx(_,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Xo=r.div`
400
+ `,ae={emptyRowItemSectionWidth:new R(120,200,280,330,400),emptyLastRowItemSectionWidth:new R(w[6],50,60,w[11],120)},Zo=()=>{const e=v();return t.jsxs(Xo,{windowSize:e,children:[t.jsx(re,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(re,{windowSize:e,isLastItem:!1,children:t.jsx(z,{width:ae.emptyRowItemSectionWidth.value(e),height:w[4]})}),t.jsx(re,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})}),t.jsx(re,{windowSize:e,isLastItem:!0,children:t.jsx(z,{width:ae.emptyLastRowItemSectionWidth.value(e),height:18})})]})},Xo=r.div`
401
401
  display: flex;
402
402
  align-items: center;
403
403
  justify-content: space-between;
@@ -428,7 +428,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
428
428
  flex: 1 1 auto;
429
429
  justify-content: ${e=>e.isLastItem?"flex-end":"start"};
430
430
  width: ${e=>e.isLastItem?"10%":Dt.valuePercentage(e.windowSize)};
431
- `,es=()=>{const e=v();return t.jsxs(ts,{windowSize:e,children:[t.jsxs(Ee,{children:[t.jsx(_,{width:180,height:w[4]}),t.jsx(_,{width:60,height:18})]}),t.jsxs(Ee,{children:[t.jsx(_,{width:180,height:w[4]}),t.jsx(_,{width:60,height:18})]})]})},ts=r.div`
431
+ `,es=()=>{const e=v();return t.jsxs(ts,{windowSize:e,children:[t.jsxs(Ee,{children:[t.jsx(z,{width:180,height:w[4]}),t.jsx(z,{width:60,height:18})]}),t.jsxs(Ee,{children:[t.jsx(z,{width:180,height:w[4]}),t.jsx(z,{width:60,height:18})]})]})},ts=r.div`
432
432
  display: flex;
433
433
  flex-direction: column;
434
434
  align-items: baseline;
@@ -462,7 +462,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
462
462
  gap: ${i.sp2};
463
463
  flex: 1 1 auto;
464
464
  width: 100%;
465
- `,is=()=>v()==="small"?t.jsx(es,{}):t.jsx(Zo,{}),os={marginLeft:new R(w[2],w[5],w[7])},ss=()=>t.jsxs(as,{children:[t.jsx(Ce,{numberOfRows:5}),t.jsx(Ce,{numberOfRows:3})]}),Ce=({numberOfRows:e})=>{const o=v();return t.jsxs(rs,{windowSize:o,children:[t.jsx(ls,{children:t.jsx(_,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(ns,{children:[...Array(e)].map(s=>t.jsx(is,{},he()))})]})},as=r.div`
465
+ `,is=()=>v()==="small"?t.jsx(es,{}):t.jsx(Zo,{}),os={marginLeft:new R(w[2],w[5],w[7])},ss=()=>t.jsxs(as,{children:[t.jsx(Ce,{numberOfRows:5}),t.jsx(Ce,{numberOfRows:3})]}),Ce=({numberOfRows:e})=>{const o=v();return t.jsxs(rs,{windowSize:o,children:[t.jsx(ls,{children:t.jsx(z,{width:w[12],height:Ne.standardRegular.lineHeightValue})}),t.jsx(ns,{children:[...Array(e)].map(s=>t.jsx(is,{},he()))})]})},as=r.div`
466
466
  display: block;
467
467
  min-height: 100%;
468
468
  flex-direction: column;
@@ -479,7 +479,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
479
479
  `,ls=r.div`
480
480
  display: flex;
481
481
  padding: ${i.sp3} ${i.sp0};
482
- `,ds=({notificationData:e,isSelectionMode:o=!1,isHighlighted:s=!1,style:a,onNotificationTileClick:n,onNotificationTileLongPress:l})=>{const{status:c,createTime:d,eventData:{entitiyId:h,activities:u},notificationId:p}=e,m=g.useCallback(()=>{l?.()},[l]),f=g.useCallback(k=>{k.stopPropagation(),k.cancelable&&k.preventDefault(),o?l?.():n(p,h,c,u.length>0?u[0].activityType:void 0)},[p,h,c,u,o,l,n]),x=pt({onLongPress:m},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(fs,{notificationStatus:c,isHighlighted:s,style:a,...x,onClick:f,children:[t.jsxs(Ue,{children:[t.jsx(cs,{...e}),t.jsx(us,{createTime:d,notificationStatus:c})]}),t.jsxs(Ue,{children:[t.jsx(hs,{...e}),u.length>0&&u[0].activityType==="task_status_updated"?null:t.jsx(ps,{...e})]})]})},cs=e=>t.jsx(Bt,{statusUpdate:!1,children:t.jsx(Mt,{...e})}),hs=e=>{const{eventData:{activities:o}}=e;return t.jsx(Bt,{statusUpdate:o.length>0&&o[0].activityType==="task_status_updated"&&o[0].metadata.updates.find(s=>s.field==="status")!=null,children:t.jsx(Ot,{...e})})},us=e=>t.jsx(ms,{children:t.jsx(At,{...e})}),ps=e=>t.jsx(gs,{children:t.jsx(Pt,{...e})}),fs=r.div`
482
+ `,ds=({notificationData:e,isSelectionMode:o=!1,isHighlighted:s=!1,style:a,onNotificationTileClick:n,onNotificationTileLongPress:l})=>{const{status:c,createTime:d,eventData:{entitiyId:h,activities:u},notificationId:p}=e,m=g.useCallback(()=>{l?.()},[l]),f=g.useCallback(k=>{k.stopPropagation(),k.cancelable&&k.preventDefault(),o?l?.():n(p,h,c,u.length>0?u[0].activityType:void 0)},[p,h,c,u,o,l,n]),x=pt({onLongPress:m},{shouldPreventDefault:!1,delay:1e3});return t.jsxs(fs,{notificationStatus:c,isHighlighted:s,style:a,...x,onClick:f,children:[t.jsxs(Ue,{children:[t.jsx(cs,{...e}),t.jsx(us,{createTime:d,notificationStatus:c})]}),t.jsxs(Ue,{children:[t.jsx(hs,{...e}),u.length>0&&u[0].activityType==="task_status_updated"?null:t.jsx(ps,{...e})]})]})},cs=e=>t.jsx(Bt,{statusUpdate:!1,children:t.jsx(Mt,{...e})}),hs=e=>{const{eventData:{activities:o}}=e;return t.jsx(Bt,{statusUpdate:o.length>0&&o[0].activityType==="task_status_updated"&&o[0].metadata.updates.find(s=>s.field==="status")!=null,children:t.jsx(At,{...e})})},us=e=>t.jsx(ms,{children:t.jsx(Ot,{...e})}),ps=e=>t.jsx(gs,{children:t.jsx(Pt,{...e})}),fs=r.div`
483
483
  display: flex;
484
484
  flex-direction: column;
485
485
  align-items: baseline;
@@ -511,7 +511,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
511
511
  border-bottom-right-radius: inherit;
512
512
  }
513
513
 
514
- ${e=>e.isHighlighted?A`
514
+ ${e=>e.isHighlighted?O`
515
515
  z-index: 1;
516
516
  color: ${e.theme.colors.primary};
517
517
  border: 1px solid ${e.theme.colors.primary};
@@ -552,11 +552,11 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
552
552
  align-items: start;
553
553
  `,Bt=r(ee)`
554
554
  color: inherit;
555
- ${e=>e.statusUpdate?A`
555
+ ${e=>e.statusUpdate?O`
556
556
  display: flex;
557
557
  flex-wrap: wrap;
558
558
  gap: ${i.sp2};
559
- `:A`
559
+ `:O`
560
560
  display: -webkit-box;
561
561
  -webkit-box-orient: horizontal;
562
562
  gap: ${i.sp1};
@@ -579,7 +579,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
579
579
  align-items: flex-start;
580
580
  width: 100%;
581
581
  padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp0};
582
- `,js=r(Ft)``,ks=e=>v()==="small"?t.jsx(ys,{...e}):t.jsx(xs,{...e}),{commentsAndNotifications:{notifications:{message:Ss}}}=P.getLocalizedStrings(),We={rowGap:new R(w[0],w[5],w[5])},vs=({notificationGroups:e,isFetching:o,hasMore:s,sectionId:a,checkBoxMode:n,scrollYOffset:l,currentSubTab:c,isDisabled:d,onUpdateScrollYOffset:h,onFetchNotificationGroups:u,onNotificationClick:p})=>{const m=v(),f=g.useRef(null),x=g.useRef({});g.useEffect(()=>{f.current?.resetAfterIndex(0,!0)},[m,f,e]),g.useEffect(()=>{f.current?.scrollTo(l)},[c]);const k=g.useCallback(L=>{if(x.current?.[L]!=null){const C=m==="small"&&s===!1&&L===e.length-1?We.rowGap.value("medium-regular"):We.rowGap.value(m);return x.current[L]+C}return(ft*zt.value(m)+mt)*3+gt+xt},[m,x,e]),B=g.useCallback((L,C)=>{x.current={...x.current,[L]:C},f.current?.resetAfterIndex(0,!0)},[m,f,e]),z=g.useCallback(()=>{u()},[u]),N=g.useCallback(()=>{},[]),b=tt(L=>h(L),1e3,{trailing:!0}),I=L=>!s||L<e.length,j=g.useCallback(()=>s&&!o?z():N(),[s,o,z,N]),V=s?e.length+1:e.length;return t.jsx(Ts,{children:t.jsx(Ns,{windowSize:m,children:o&&e.length===0?t.jsx(ss,{}):o===!1&&e.length===0?t.jsx(it,{message:Ss.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(Is,{windowSize:m,children:t.jsx(ot,{children:({height:L,width:C})=>t.jsx(st,{isItemLoaded:I,itemCount:bt,loadMoreItems:j,children:({onItemsRendered:G,ref:Y})=>t.jsx(at,{ref:E=>{Y(E),f.current=E},height:L,itemCount:V,itemData:{notificationGroups:e,sectionId:a,checkBoxMode:n,isDisabled:d,isItemLoaded:I,setRowHeight:B,onNotificationClick:p},onItemsRendered:G,itemSize:k,width:C,style:{willChange:"auto"},overscanCount:wt,onScroll:({scrollOffset:E})=>{b(E)},initialScrollOffset:l,children:Cs})})})})})})},Cs=({index:e,style:o,data:s})=>{const{notificationGroups:a,sectionId:n,checkBoxMode:l,isItemLoaded:c,isDisabled:d,setRowHeight:h,onNotificationClick:u}=s,p=g.useRef(null),m=v();if(g.useEffect(()=>{p.current?.firstElementChild!=null&&h(e,p.current.firstElementChild.clientHeight)},[e,p,m,a[e]?.notifications]),c(e)===!0){const f=a[e],x=le(f);return t.jsx(Je,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:p,children:t.jsx(ks,{notificationGroup:f,sectionId:`${n}.${x}`,checkBoxMode:l,isDisabled:d,onNotificationTileClick:u})},x)}return t.jsx(Je,{ref:p,style:{...o,paddingBottom:i.sp0},children:t.jsx(Ce,{numberOfRows:3})},he())},Ts=r.div`
582
+ `,js=r(Ft)``,ks=e=>v()==="small"?t.jsx(ys,{...e}):t.jsx(xs,{...e}),{commentsAndNotifications:{notifications:{message:Ss}}}=P.getLocalizedStrings(),We={rowGap:new R(w[0],w[5],w[5])},vs=({notificationGroups:e,isFetching:o,hasMore:s,sectionId:a,checkBoxMode:n,scrollYOffset:l,currentSubTab:c,isDisabled:d,onUpdateScrollYOffset:h,onFetchNotificationGroups:u,onNotificationClick:p})=>{const m=v(),f=g.useRef(null),x=g.useRef({});g.useEffect(()=>{f.current?.resetAfterIndex(0,!0)},[m,f,e]),g.useEffect(()=>{f.current?.scrollTo(l)},[c]);const k=g.useCallback(L=>{if(x.current?.[L]!=null){const C=m==="small"&&s===!1&&L===e.length-1?We.rowGap.value("medium-regular"):We.rowGap.value(m);return x.current[L]+C}return(ft*_t.value(m)+mt)*3+gt+xt},[m,x,e]),B=g.useCallback((L,C)=>{x.current={...x.current,[L]:C},f.current?.resetAfterIndex(0,!0)},[m,f,e]),_=g.useCallback(()=>{u()},[u]),N=g.useCallback(()=>{},[]),b=tt(L=>h(L),1e3,{trailing:!0}),I=L=>!s||L<e.length,j=g.useCallback(()=>s&&!o?_():N(),[s,o,_,N]),V=s?e.length+1:e.length;return t.jsx(Ts,{children:t.jsx(Ns,{windowSize:m,children:o&&e.length===0?t.jsx(ss,{}):o===!1&&e.length===0?t.jsx(it,{message:Ss.noNotificationsMessage,style:{padding:i.sp0}}):t.jsx(Is,{windowSize:m,children:t.jsx(ot,{children:({height:L,width:C})=>t.jsx(st,{isItemLoaded:I,itemCount:bt,loadMoreItems:j,children:({onItemsRendered:G,ref:Y})=>t.jsx(at,{ref:E=>{Y(E),f.current=E},height:L,itemCount:V,itemData:{notificationGroups:e,sectionId:a,checkBoxMode:n,isDisabled:d,isItemLoaded:I,setRowHeight:B,onNotificationClick:p},onItemsRendered:G,itemSize:k,width:C,style:{willChange:"auto"},overscanCount:wt,onScroll:({scrollOffset:E})=>{b(E)},initialScrollOffset:l,children:Cs})})})})})})},Cs=({index:e,style:o,data:s})=>{const{notificationGroups:a,sectionId:n,checkBoxMode:l,isItemLoaded:c,isDisabled:d,setRowHeight:h,onNotificationClick:u}=s,p=g.useRef(null),m=v();if(g.useEffect(()=>{p.current?.firstElementChild!=null&&h(e,p.current.firstElementChild.clientHeight)},[e,p,m,a[e]?.notifications]),c(e)===!0){const f=a[e],x=le(f);return t.jsx(Je,{style:{...o,paddingBottom:i.sp0,width:"100%"},ref:p,children:t.jsx(ks,{notificationGroup:f,sectionId:`${n}.${x}`,checkBoxMode:l,isDisabled:d,onNotificationTileClick:u})},x)}return t.jsx(Je,{ref:p,style:{...o,paddingBottom:i.sp0},children:t.jsx(Ce,{numberOfRows:3})},he())},Ts=r.div`
583
583
  display: block;
584
584
  background-color: ${e=>e.theme.colors.grey4};
585
585
  height: 100%;
@@ -596,13 +596,13 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
596
596
  top: ${i.sp0};
597
597
  left: ${i.sp0};
598
598
  box-sizing: border-box;
599
- `,{common:{all:Te,texts:ne,footer:Ls,strings:{plus:Rs},numbers:{maximumCount:qe}},commentsAndNotifications:{notifications:{title:_s,texts:Gt,strings:Ke}}}=P.getLocalizedStrings(),ie={tableContainerLeftPadding:new R(w[2],w[2],w[2]),tableContainerRightPadding:new R(w[3],w[6],w[8]),tabsContainerLeftRightPadding:new R(w[3],w[6],w[8]),selectedNotificationsTextMarginLeft:new R(w[0],w[6],w[6])},zs={selectedNotificationsText:new ni("smallRegular","standardRegular")},Qe="notificationsPage",K="commentsNotificationsTable",Q="notificationsTable",Et=20,ha=({notificationView:e,users:o,isNotificationSettingsVisible:s,isDisabled:a,onNotificationClick:n,onCommentNotificationClick:l,onUpdateNotificationViewUIState:c,onUpdateNotificationTabState:d,onUpdateNotificationViewCurrentTabAndSubTab:h,onUpdateNotificationViewSubTab:u,onFetchMoreNotifications:p,onUpdateNotificationStatus:m,onSettingsClick:f,onBackClick:x,onMarkAllNotificationsAsRead:k})=>{const B=X(),z=v(),N=Kt({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>et(e),[e]),values:g.useMemo(()=>et(e),[e])}),{currentTab:b,currentSubTab:I,notificationDetailsByTab:j,allSubTabs:V,allNotifications:L,allExternalNotifications:C,notificationsForCurrentTabAndSubTab:G,externalNotificationsForCurrentTabAndSubTab:Y}=e,E=g.useMemo(()=>Object.keys(j).map(y=>({label:ne[y],id:ne[y].toLocaleLowerCase(),countDetails:{count:j[y].uiState.unreadCount,isFetching:j[y].fetchCountState.fetchState==="In-Progress"}})),[j]),W=g.useMemo(()=>V.map(y=>({label:y==="all"?Te:ne[y],id:y})),[V]),Ut=g.useMemo(()=>kt(Y).filter(y=>y.notifications.length>0),[Y]),Ht=g.useMemo(()=>_t(G).filter(y=>y.notifications.length>0),[G]),Vt=async(y,T)=>{const F=y.split(".")[0],J=[];F!=null&&(F===K||F===Q)&&(Object.values(T[F]).forEach(D=>{J.push(...D.filter(qt=>qt.includes(Te.toLowerCase())===!1))}),d({selectedNotificationIds:J},b))};g.useEffect(()=>{const y=N.watch((T,{name:F})=>{F!=null&&T!=null&&Qt(()=>Vt(F,T))});return()=>{y.unsubscribe()}});const xe=g.useCallback(()=>{const y=[],T=j[b].selectedNotificationIdsForSubTab,F="read";if(b==="comments"){const J=C.filter(D=>D.inboxNotification.readAt==null).map(D=>D.inboxNotification.id);T.forEach(D=>{J.includes(D)&&y.push(D)})}else{const J=L.filter(D=>D.status!==F).map(D=>D.notificationId);T.forEach(D=>{J.includes(D)&&y.push(D)})}return y},[C,L,b,j]),Yt=xe().length>Et?"disabled":a,be=N.watch(K),we=N.watch(Q),Le=g.useCallback(()=>{p(b,I)},[p,b,I]),Wt=g.useCallback(()=>{if(b==="comments"){const y={};Object.keys(be).forEach(T=>{y[T]=[]}),N.reset({[K]:y,[Q]:we},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const y={};Object.keys(we).forEach(T=>{y[T]=[]}),N.reset({[Q]:y,[K]:be},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}d({selectedNotificationIds:[]},b)},[we,be]),Jt=g.useCallback(()=>{const y=j[b].selectedNotificationIdsForSubTab,T="read",F=xe();m(b,y,T,F)},[b,j,xe,m]);return t.jsxs(Ms,{children:[t.jsx(Zt,{source:"NotificationsPage",title:_s.notifications,backgroundColor:B.colors.grey4,onBackClick:x,rightSideComponent:s===!0?t.jsx(Ks,{onClick:f}):t.jsx(qs,{})}),t.jsx(Ps,{}),t.jsx(As,{windowSize:z,children:t.jsx(xi,{tabs:E,selectedTab:b,onTabChange:y=>{const T=mi(y);T!=null&&h(T)},subTabs:W,selectedSubTab:I,onSubTabChange:y=>{const T=fi(y);T!=null&&u(T)},subTabRightComponent:t.jsx(Ds,{notificationCount:j[b].uiState.unreadCount,markAsAllReadUpdateState:j[b].markAsAllReadState.fetchState,markAsReadUpdateState:j[b].markAsReadState.fetchState,onMarkAsAllReadClick:()=>{k(b)}})})}),t.jsx(Os,{windowSize:z,children:t.jsx(Xt,{...N,children:t.jsx("form",{id:Xe(Qe),onSubmit:N.handleSubmit(Jt),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[I],currentSubTab:I,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Ut,sectionId:K,onFetchNotificationGroups:Le,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[I]:y}},b),onNotificationClick:l}):t.jsx(vs,{hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[I],currentSubTab:I,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Ht,sectionId:Q,onFetchNotificationGroups:Le,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[I]:y}},b),onNotificationClick:n})})})}),j[b].selectedNotificationIdsForSubTab.length?t.jsx(ei,{formId:Xe(Qe),primaryBtn:{label:Gt.markAsRead,isLoading:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},isDisabled:Yt!=null},cancelBtn:{label:Ls.cancel,isDisabled:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},onClick:Wt},helperContainerStyle:z==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx(ye,{controller:z!=="small",children:t.jsx(Ze,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx(ye,{controller:z==="small",children:t.jsx(Ze,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx(ye,{controller:z!=="small",children:t.jsx(Gs,{})})}):null]})},Ds=({markAsAllReadUpdateState:e,markAsReadUpdateState:o,notificationCount:s,onMarkAsAllReadClick:a})=>{const n=s===0,l=g.useCallback(()=>{e!=="In-Progress"&&o!=="In-Progress"&&!n&&a()},[e,o,n,a]);return t.jsx(Bs,{variant:"tertiary",size:"small",label:Gt.markAllAsRead,onClick:l,prefixIcon:e==="In-Progress"?t.jsx(oi,{size:"Small",start:!0}):t.jsx(Fs,{className:"mark-as-read"}),disabled:n,textStyle:{fontWeight:Ne.smallRegular.fontWeight},style:{borderRadius:i.sp1,border:"none",backgroundColor:"transparent",flexShrink:0,padding:i.sp0,cursor:o==="In-Progress"||e==="In-Progress"||n?"default":"pointer"}})},Ze=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Es,{windowSize:o,children:[t.jsx(Hs,{children:t.jsx(Us,{isCircular:e<10,children:t.jsx(Vs,{children:e>qe?`${qe}${Rs}`:e})})}),t.jsxs(Js,{windowSize:o,children:[t.jsx(Ys,{children:e>1?Ke.notificationsSelected:Ke.notificationSelected}),e>Et?t.jsx(Ws,{children:ne.maxLimit}):null]})]})},Ms=r.div`
599
+ `,{common:{all:Te,texts:ne,footer:Ls,strings:{plus:Rs},numbers:{maximumCount:qe}},commentsAndNotifications:{notifications:{title:zs,texts:Gt,strings:Ke}}}=P.getLocalizedStrings(),ie={tableContainerLeftPadding:new R(w[2],w[2],w[2]),tableContainerRightPadding:new R(w[3],w[6],w[8]),tabsContainerLeftRightPadding:new R(w[3],w[6],w[8]),selectedNotificationsTextMarginLeft:new R(w[0],w[6],w[6])},_s={selectedNotificationsText:new ni("smallRegular","standardRegular")},Qe="notificationsPage",K="commentsNotificationsTable",Q="notificationsTable",Et=20,ha=({notificationView:e,users:o,isNotificationSettingsVisible:s,isDisabled:a,onNotificationClick:n,onCommentNotificationClick:l,onUpdateNotificationViewUIState:c,onUpdateNotificationTabState:d,onUpdateNotificationViewCurrentTabAndSubTab:h,onUpdateNotificationViewSubTab:u,onFetchMoreNotifications:p,onUpdateNotificationStatus:m,onSettingsClick:f,onBackClick:x,onMarkAllNotificationsAsRead:k})=>{const B=X(),_=v(),N=Kt({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>et(e),[e]),values:g.useMemo(()=>et(e),[e])}),{currentTab:b,currentSubTab:I,notificationDetailsByTab:j,allSubTabs:V,allNotifications:L,allExternalNotifications:C,notificationsForCurrentTabAndSubTab:G,externalNotificationsForCurrentTabAndSubTab:Y}=e,E=g.useMemo(()=>Object.keys(j).map(y=>({label:ne[y],id:ne[y].toLocaleLowerCase(),countDetails:{count:j[y].uiState.unreadCount,isFetching:j[y].fetchCountState.fetchState==="In-Progress"}})),[j]),W=g.useMemo(()=>V.map(y=>({label:y==="all"?Te:ne[y],id:y})),[V]),Ut=g.useMemo(()=>kt(Y).filter(y=>y.notifications.length>0),[Y]),Ht=g.useMemo(()=>zt(G).filter(y=>y.notifications.length>0),[G]),Vt=async(y,T)=>{const F=y.split(".")[0],J=[];F!=null&&(F===K||F===Q)&&(Object.values(T[F]).forEach(D=>{J.push(...D.filter(qt=>qt.includes(Te.toLowerCase())===!1))}),d({selectedNotificationIds:J},b))};g.useEffect(()=>{const y=N.watch((T,{name:F})=>{F!=null&&T!=null&&Qt(()=>Vt(F,T))});return()=>{y.unsubscribe()}});const xe=g.useCallback(()=>{const y=[],T=j[b].selectedNotificationIdsForSubTab,F="read";if(b==="comments"){const J=C.filter(D=>D.inboxNotification.readAt==null).map(D=>D.inboxNotification.id);T.forEach(D=>{J.includes(D)&&y.push(D)})}else{const J=L.filter(D=>D.status!==F).map(D=>D.notificationId);T.forEach(D=>{J.includes(D)&&y.push(D)})}return y},[C,L,b,j]),Yt=xe().length>Et?"disabled":a,be=N.watch(K),we=N.watch(Q),Le=g.useCallback(()=>{p(b,I)},[p,b,I]),Wt=g.useCallback(()=>{if(b==="comments"){const y={};Object.keys(be).forEach(T=>{y[T]=[]}),N.reset({[K]:y,[Q]:we},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}else{const y={};Object.keys(we).forEach(T=>{y[T]=[]}),N.reset({[Q]:y,[K]:be},{keepDefaultValues:!1,keepDirty:!1,keepValues:!1})}d({selectedNotificationIds:[]},b)},[we,be]),Jt=g.useCallback(()=>{const y=j[b].selectedNotificationIdsForSubTab,T="read",F=xe();m(b,y,T,F)},[b,j,xe,m]);return t.jsxs(Ms,{children:[t.jsx(Zt,{source:"NotificationsPage",title:zs.notifications,backgroundColor:B.colors.grey4,onBackClick:x,rightSideComponent:s===!0?t.jsx(Ks,{onClick:f}):t.jsx(qs,{})}),t.jsx(Ps,{}),t.jsx(Os,{windowSize:_,children:t.jsx(xi,{tabs:E,selectedTab:b,onTabChange:y=>{const T=mi(y);T!=null&&h(T)},subTabs:W,selectedSubTab:I,onSubTabChange:y=>{const T=fi(y);T!=null&&u(T)},subTabRightComponent:t.jsx(Ds,{notificationCount:j[b].uiState.unreadCount,markAsAllReadUpdateState:j[b].markAsAllReadState.fetchState,markAsReadUpdateState:j[b].markAsReadState.fetchState,onMarkAsAllReadClick:()=>{k(b)}})})}),t.jsx(As,{windowSize:_,children:t.jsx(Xt,{...N,children:t.jsx("form",{id:Xe(Qe),onSubmit:N.handleSubmit(Jt),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[I],currentSubTab:I,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Ut,sectionId:K,onFetchNotificationGroups:Le,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[I]:y}},b),onNotificationClick:l}):t.jsx(vs,{hasMore:j[b].uiState.hasMore,isFetching:j[b].fetchState==="In-Progress",scrollYOffset:j[b].uiState.scrollYOffset[I],currentSubTab:I,checkBoxMode:j[b].selectedNotificationIdsForSubTab.length>0?"always_on":"checked_or_hover",notificationGroups:Ht,sectionId:Q,onFetchNotificationGroups:Le,onUpdateScrollYOffset:y=>c({scrollYOffset:{...j[b].uiState.scrollYOffset,[I]:y}},b),onNotificationClick:n})})})}),j[b].selectedNotificationIdsForSubTab.length?t.jsx(ei,{formId:Xe(Qe),primaryBtn:{label:Gt.markAsRead,isLoading:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},isDisabled:Yt!=null},cancelBtn:{label:Ls.cancel,isDisabled:j[b].markAsReadState.fetchState==="In-Progress",style:{width:"135px"},onClick:Wt},helperContainerStyle:_==="small"?{width:"100%"}:{rowGap:i.sp0},footerContentStyle:{gap:i.sp2},leftSideComponent:t.jsx(ye,{controller:_!=="small",children:t.jsx(Ze,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),topComponent:t.jsx(ye,{controller:_==="small",children:t.jsx(Ze,{selectedNotificationsCount:j[b].selectedNotificationIdsForSubTab.length})}),rightSideComponent:t.jsx(ye,{controller:_!=="small",children:t.jsx(Gs,{})})}):null]})},Ds=({markAsAllReadUpdateState:e,markAsReadUpdateState:o,notificationCount:s,onMarkAsAllReadClick:a})=>{const n=s===0,l=g.useCallback(()=>{e!=="In-Progress"&&o!=="In-Progress"&&!n&&a()},[e,o,n,a]);return t.jsx(Bs,{variant:"tertiary",size:"small",label:Gt.markAllAsRead,onClick:l,prefixIcon:e==="In-Progress"?t.jsx(oi,{size:"Small",start:!0}):t.jsx(Fs,{className:"mark-as-read"}),disabled:n,textStyle:{fontWeight:Ne.smallRegular.fontWeight},style:{borderRadius:i.sp1,border:"none",backgroundColor:"transparent",flexShrink:0,padding:i.sp0,cursor:o==="In-Progress"||e==="In-Progress"||n?"default":"pointer"}})},Ze=({selectedNotificationsCount:e})=>{const o=v();return t.jsxs(Es,{windowSize:o,children:[t.jsx(Hs,{children:t.jsx(Us,{isCircular:e<10,children:t.jsx(Vs,{children:e>qe?`${qe}${Rs}`:e})})}),t.jsxs(Js,{windowSize:o,children:[t.jsx(Ys,{children:e>1?Ke.notificationsSelected:Ke.notificationSelected}),e>Et?t.jsx(Ws,{children:ne.maxLimit}):null]})]})},Ms=r.div`
600
600
  display: flex;
601
601
  height: 100vh;
602
602
  width: 100%;
603
603
  flex-direction: column;
604
604
  background-color: ${e=>e.theme.colors.grey4};
605
- `,Os=r.div`
605
+ `,As=r.div`
606
606
  display: flex;
607
607
  height: 100%;
608
608
  overflow: auto;
@@ -610,7 +610,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
610
610
  padding-bottom: ${i.sp0};
611
611
  padding-left: ${e=>ie.tableContainerLeftPadding.valuePx(e.windowSize)};
612
612
  padding-right: ${e=>ie.tableContainerRightPadding.valuePx(e.windowSize)};
613
- `,As=r.div`
613
+ `,Os=r.div`
614
614
  padding-top: ${i.sp0};
615
615
  padding-bottom: ${i.sp0};
616
616
  padding-left: ${e=>ie.tabsContainerLeftRightPadding.valuePx(e.windowSize)};
@@ -637,11 +637,11 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
637
637
  gap: ${i.sp2};
638
638
  margin-left: ${e=>ie.selectedNotificationsTextMarginLeft.valuePx(e.windowSize)};
639
639
  `,Us=r.div`
640
- ${e=>e.isCircular?A`
640
+ ${e=>e.isCircular?O`
641
641
  height: ${i.sp3};
642
642
  width: ${i.sp3};
643
643
  padding: ${i.sp0};
644
- `:A`
644
+ `:O`
645
645
  height: 18px;
646
646
  min-width: ${i.sp3};
647
647
  padding: ${i.sp0} ${i.sp1};
@@ -666,7 +666,7 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
666
666
  color: ${S.important};
667
667
  margin-left: ${i.sp1};
668
668
  `,Js=r(nt)`
669
- ${e=>`${zs.selectedNotificationsText.style(e.windowSize)}`};
669
+ ${e=>`${_s.selectedNotificationsText.style(e.windowSize)}`};
670
670
  color: ${e=>e.theme.colors.primary};
671
671
  display: flex;
672
672
  align-items: center;
@@ -682,4 +682,4 @@ import{g as X,Q as v,a9 as Kt,cE as Qt,V as t,bB as Zt,ac as Xt,aR as ei,o as i,
682
682
  &:hover {
683
683
  color: ${e=>e.theme.colors.primary};
684
684
  }
685
- `,Xe=e=>`${e}_form`,et=e=>{const{allNotifications:o,allExternalNotifications:s,notificationDetailsByTab:{tasks:{selectedNotificationIds:a},comments:{selectedNotificationIds:n}}}=e,l={};_t(o).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.notificationId);l[le(d)]=a.filter(u=>h.includes(u))});const c={};return kt(s).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.inboxNotification.id);c[le(d)]=n.filter(u=>h.includes(u))}),{[K]:c,[Q]:l}},ua=(e,o)=>{const s=[];return Object.values(e).forEach(a=>{a.forEach(n=>{n.includes(Te.toLocaleLowerCase())===!1&&o.includes(n)&&s.push(n)})}),s};export{ha as default,ua as getSelectedNotificationIds,Xe as uniqueFormName};
685
+ `,Xe=e=>`${e}_form`,et=e=>{const{allNotifications:o,allExternalNotifications:s,notificationDetailsByTab:{tasks:{selectedNotificationIds:a},comments:{selectedNotificationIds:n}}}=e,l={};zt(o).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.notificationId);l[le(d)]=a.filter(u=>h.includes(u))});const c={};return kt(s).filter(d=>d.notifications.length>0).forEach(d=>{const h=d.notifications.map(u=>u.inboxNotification.id);c[le(d)]=n.filter(u=>h.includes(u))}),{[K]:c,[Q]:l}},ua=(e,o)=>{const s=[];return Object.values(e).forEach(a=>{a.forEach(n=>{n.includes(Te.toLocaleLowerCase())===!1&&o.includes(n)&&s.push(n)})}),s};export{ha as default,ua as getSelectedNotificationIds,Xe as uniqueFormName};
@@ -1,4 +1,4 @@
1
- import{Q as H,i3 as Ce,F as B,g as q,cc as _e,ay as xe,V as t,bN as Se,aP as we,i2 as ke,bC as ve,bB as Be,i4 as Oe,i5 as Pe,o as u,aT as Te,T as je,y as F,b3 as le,aD as ie,aV as $e,u as O,ce as De,cf as Ne,cg as Ie,bK as Ee,p as a,al as ce,b as Z,aY as Me}from"./index-AqGiWrum.js";import{a as C,S as Ae}from"./sentry-CTKU7CLc.js";import{n as h}from"./mui-C_Pjuwl5.js";import{FX as Le}from"./zeni-epic-state-Cl3KIlic.js";import{p as Fe,d as Ve,y as G,b as de,u as ee}from"./chartTypes-CiiHHtlc-DhZqwiAZ.js";import{V as Re}from"./toChartData-DShY1WZ8-5FxZpBKl.js";import{m as V}from"./analyticsHelper-Bv2VSRHR-D5TeO7Fb.js";import{p as ze}from"./TimeRangeSwitcher-xEM6Ast5-BNVisZRV.js";import{M as Ke}from"./TimeframeSwitcherWithToggle-CTsXGTZM-Y9gaGt4o.js";import{C as We}from"./NoDataChart-Bwc_xftR-BPirwt2c.js";import{d as Ye}from"./NoDataTable-D_VKD0kA-DmQluo-I.js";import{H as Ge,U as oe}from"./detailCommon-D84jR8Js-CvDn1aAe.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{I as He,R as U}from"./CollapsableReportTable-CpOmWQO--CCW_jG6A.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-rysmkLch-Dj7OJ6xq.js";import{d as re}from"./mapLoadingInProgressToTreeNode-dE6c_J7g-BidRqUlX.js";import{l as qe}from"./mapSpacerToTreeNode-CxY0Ic8W-W7hZE2p5.js";import{N as Ue,I as Je,X as Xe,Y as Qe,J as Ze,K as eo}from"./recharts-BGj_NTVO.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";import"./TimeframeSwitcher-CJnjD8oY-C839RlNd.js";import"./graphic-no-data-l-DU4J8fDt-DdD14QZ1.js";import"./AccountRow-DvTUqeYB-Coj4ZTWN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="4804ccae-2bd8-4eb9-8b9c-0f3efddf643c",e._sentryDebugIdIdentifier="sentry-dbid-4804ccae-2bd8-4eb9-8b9c-0f3efddf643c")}catch{}})();const oo=h.div`
1
+ import{Q as H,i3 as Ce,F as B,g as q,cc as _e,ay as xe,V as t,bN as Se,aP as we,i2 as ke,bC as ve,bB as Be,i4 as Pe,i5 as Oe,o as u,aT as Te,T as je,y as F,b3 as le,aD as ie,aV as $e,u as P,ce as De,cf as Ne,cg as Ie,bK as Ee,p as a,al as ce,b as Z,aY as Me}from"./index-BhvUwV_v.js";import{a as C,P as Ae}from"./sentry-DgGQRl6g.js";import{n as h}from"./mui-DqYnCiYu.js";import{FX as Le}from"./zeni-epic-state-WWg2r7iB.js";import{p as Fe,d as Ve,y as G,b as de,u as ee}from"./chartTypes-DjzTOuyH-BFNN0c4F.js";import{V as Re}from"./toChartData-BFuIgA2L-C4IkmCYG.js";import{m as V}from"./analyticsHelper-7cF4XxuH-_xEf-TSd.js";import{p as ze}from"./TimeRangeSwitcher-BCfDT5nQ-BnXndCyZ.js";import{M as Ke}from"./TimeframeSwitcherWithToggle-Di1hQ-WC-DVlTpSsC.js";import{C as We}from"./NoDataChart-qG0jmc8Z-Dctec7eR.js";import{d as Ye}from"./NoDataTable-CgKT7NGU-CuzMQ4sx.js";import{H as Ge,U as oe}from"./detailCommon-CEOeZl26-CdFIe8qF.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{I as He,R as U}from"./CollapsableReportTable-BWfFYJbH-BIiPdpTy.js";import{o as pe}from"./mapTimeframeBalancesToTreeNode-BaIl_VbE-C25WmKnk.js";import{d as re}from"./mapLoadingInProgressToTreeNode-DoHalh0I-DytjKdZ3.js";import{l as qe}from"./mapSpacerToTreeNode-Di-_Qhw7-nEHRbBKZ.js";import{N as Ue,I as Je,X as Xe,Y as Qe,J as Ze,K as eo}from"./recharts-D7E0WJGk.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./TimeframeSwitcher-CCMyvSSI-DIRa_Jc4.js";import"./graphic-no-data-l-DU4J8fDt-Bx_mQw5e.js";import"./AccountRow-BVKk7u7h-CDJSAP1l.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="8c4bddf1-fb67-4b4d-86cd-198c18ae2eee",e._sentryDebugIdIdentifier="sentry-dbid-8c4bddf1-fb67-4b4d-86cd-198c18ae2eee")}catch{}})();const oo=h.div`
2
2
  display: flex;
3
3
  `,ro=h.div`
4
4
  flex: display;
@@ -25,7 +25,7 @@ import{Q as H,i3 as Ce,F as B,g as q,cc as _e,ay as xe,V as t,bN as Se,aP as we,
25
25
  `,to=({active:e,payload:r,barName:o})=>{const s=[];if(r!==void 0&&e===!0){const l=r.filter(y=>y.name==o)[0],i=l.payload,m=l.color,n={amount:i.record[o].amount?.amount??0,currencyCode:i.record[o].amount?.currencyCode??"",currencySymbol:i.record[o].amount?.currencySymbol??""},p={amount:0,currencyCode:"",currencySymbol:""};let g=0,c;for(c in i.record)c.endsWith("_actual")&&(g+=i.record[c].amount?.amount??0);p.amount=g,p.currencyCode=n.currencyCode,p.currencySymbol=n.currencySymbol,s.push({barName:de(o),actual:n,color:m,total:p,timeframeTick:i.timeLabel})}return s},no=({barLabelsWithValues:e,getVendorName:r})=>t.jsx(oo,{children:t.jsxs(ro,{children:[t.jsxs(ae,{children:[t.jsx(te,{color:e[0].color,children:`${r(e[0].timeframeTick,e[0].barName)}`}),t.jsx(ne,{color:e[0].color,children:`${ee(e[0].actual)}`})]}),t.jsx(ao,{}),t.jsxs(ae,{children:[t.jsx(te,{color:a.primaryDark,children:`${B.getLocalizedStrings().chartCard.total}`}),t.jsx(ne,{children:`${ee(e[0].total)}`})]})]})}),so=e=>{const r=to({...e});return r.length===0?null:t.jsx(no,{barLabelsWithValues:r,getVendorName:e.getVendorName})},lo=Ae.memo(so),se=[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 N{_barColors;_barColorsKeyWise;_defaultColor;constructor(){this._defaultColor=a.graphColor34,this._barColors=se.slice(),this._barColorsKeyWise=new Map}static#e=new N;getBarColor(r){const o=N.instance();return o._barColorsKeyWise.has(r)||(o._barColors.length===0&&(o._barColors=se.slice()),o._barColorsKeyWise.set(r,o._barColors.shift()??o._defaultColor)),o._barColorsKeyWise.get(r)}shouldUpdate(r){const o=N.instance(),s=Array.from(o._barColorsKeyWise.keys()).sort();return!ie(s,r)}static init(){return this.#e=new N,this.#e}static instance(){return this.#e}}const io=N.instance(),co=(e,r)=>{const o=new Set,s={};let l;const i=r.top4VendorsAndOthers;return Object.keys(i).length>0&&Object.keys(i).forEach(m=>{i[m].forEach((n,p)=>{const g=`vendor_${p}`,c=Fe(g,"actual");o.add(c),l==null&&n.balance!=null&&(l=c),s[c]!=null?s[c].push({key:c,balance:n.balance}):s[c]=[{key:c,balance:n.balance}]})}),l!=null?Re(e,[...o],l,s):void 0},po=h.div`
26
26
  width: ${e=>e.width}px;
27
27
  height: ${e=>e.height}px;
28
- `;function mo({selectedRangeReport:e,width:r,height:o,showBarHoverBackground:s=!1,isDetailPage:l=!1}){const i=C.useRef(!1),m=io,[n,p]=C.useState(void 0);C.useEffect(()=>{i.current=!0},[]);const g=co(e.firstMonthOfFY,e),c=()=>{const d=[];return g?.orderedKeys.forEach(_=>{const S=l===!0&&!i.current;d.push(y(_,S))}),d},y=(d,_)=>t.jsx(eo,{name:d,animationDuration:_?500:void 0,style:{cursor:"pointer"},dataKey:S=>{const v=S.record;return(v[d]?.amount!=null?v[d].amount:void 0)?.amount??0},stackId:"chartByTimeSeries",fill:m.getBarColor(de(d)),onMouseEnter:()=>{n!==d&&p(d)},onMouseLeave:()=>{n!=null&&p(void 0)}},d),x=({active:d,payload:_})=>_?.find(S=>S.name===n)!=null&&n!=null&&d===!0?t.jsx(lo,{active:d,payload:_,barName:n,getVendorName:f}):null,f=(d,_)=>{const S=Le(d);try{const v=_.split("_")[1];return e.top4VendorsAndOthers[S][parseInt(v)].vendor.name}catch(v){return console.warn("Was not able to parse vendor index for tooltip ",v),""}};return g==null?null:t.jsx(ho,{chartData:g,showBarHoverBackground:s,barElements:c(),customToolTipContent:t.jsx(x,{}),width:r,height:o,isDetailPage:l===!0})}const ho=({chartData:e,barElements:r,customToolTipContent:o,width:s,height:l,showBarHoverBackground:i=!1,isDetailPage:m})=>{const n=q(),p=Ve(e),g=i!==!1,c=m?(s-60)/G.operating_expenses_by_vendor*(G.operating_expenses_by_vendor-e.timeseries.length):20;return t.jsx(po,{width:s,height:l,children:t.jsx(le,{children:({height:y,width:x})=>t.jsxs(Ue,{width:x,height:y,stackOffset:"sign",data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:m?O[5]:30,margin:{top:5,right:c,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[t.jsx(Je,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:n.colors.grey3}),t.jsx(Xe,{dataKey:f=>f.timeLabel.label,type:"category",axisLine:{stroke:n.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:n.colors.hero,...Z.extraSmallRegular.cssObject}}),t.jsx(Qe,{type:"number",axisLine:!1,tickLine:!1,tick:{color:n.colors.hero,...Z.extraSmallRegular.cssObject},tickFormatter:f=>Me("0,0.[00]a",f,p)}),t.jsx(Ze,{wrapperStyle:{zIndex:2},cursor:g?{stroke:n.colors.background,strokeWidth:(x-120)/G.operating_expenses_by_vendor,fill:n.colors.background}:!1,content:o,allowEscapeViewBox:{x:!1,y:!0}}),r]})})})};function go(e){return{locale_id:e.localeId,show_negative_amount_in_parenthesis:e.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:e.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:e.filterAccountGroupsWithNilBalances,company_name:e.companyName,statement_file_type:e.statementFileType,timeframe:e.timeframe,timezone:e.timezone,additional_balances:e.additionalBalances,format:e.format,sort_key:e.sortKey,sort_order:e.sortOrder,is_compare_mode_on:e.isCompareModeOn,search_string:e.searchString}}function uo(e){const{isCompareModeOn:r,report:o,currentTenantCompanyName:s}=e,l=[];if(r&&(l.push("this_period_vs_last_period_percent"),l.push("this_period_vs_last_period")),o.dataAvailable!=null)return{localeId:B.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",companyName:s,statementFileType:"excel",timeframe:e.timeframe,timezone:e.timezone,additionalBalances:l,format:e.reportType,sortKey:e.sortKey,sortOrder:e.sortOrder,isCompareModeOn:e.isCompareModeOn,searchString:e.searchString}}function fo(e){const r=uo(e);if(r!=null)return yo(e.statementEndPoint,e.authParams,r)}async function yo(e,r,o){const s=B.getLocalizedStrings().downloadReport,l=`${e}?query=${encodeURIComponent(JSON.stringify(go(o)))}`;try{const i=await De({urlEndPoint:l,authParams:r,fileType:o.statementFileType});if(i.ok){const m=Ne(i.headers,s.defaultFileName),n=await i.arrayBuffer();Ie(n,m)}else console.error(`${s.reportErrorMessage} ${i.statusText}`)}catch(i){console.error(`${s.reportErrorMessage} ${JSON.stringify(i)}`)}}function bo({title:e,balances:r,config:o,nodeId:s}){return{children:[],id:s??U("title_string_only",[]),isLastNode:!1,reportElementData:{element:{kind:"title_string_only",title:e,data:r,numOfBalances:r.length},config:o}}}function Co({opExByVendor:e,numOfBalances:r,title:o,isLastNode:s,config:l}){const i=e.account?.accountName??"-",m=e.classBase?.className??"-",n=U("vendor_row",[],o+i+m);return{children:[],id:n,isLastNode:s,reportElementData:{element:{kind:"vendor_row",title:o,data:e,numOfBalances:r},config:l}}}function _o({title:e,balances:r,config:o,numOfBalances:s,nodeId:l}){return{children:[],id:l??U("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:r,numOfBalances:s},config:o}}}const xo=(e,r,o,s=!0)=>{const l=o.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+1:e.filter.balancesRange.numberOfPeriods,i=e.totalBalances!=null?[...e.totalBalances.balances,...e.totalBalances.additionalBalances]:[];e.totalBalances?.totalBalance!=null&&i.push(e.totalBalances.totalBalance);const m=pe({balances:i,config:o}),n=[];n.push(m);const p=B.getLocalizedStrings().vendors.opExByVendor,g=o.opexByVendorConfig?.sortOrSearchInProgress??!1,c=o.opexByVendorConfig?.pageFetchInProgress??!1;if(g===!0)[...Array(10)].forEach((y,x)=>{n.push(re({title:`${x}+${p.loading}`,balances:i,config:o}))});else if(e.opexBalances.length>0){if(!r.searchString){const f=_o({title:B.getLocalizedStrings().chartCard.total,balances:e.totalBalances,config:o,numOfBalances:l});n.push(f)}const y=r.pageToken[r.timeframe],x=e.opexBalances.map((f,d)=>Co({opExByVendor:f,title:f.vendor.name,numOfBalances:l,isLastNode:d===e.opexBalances.length-1&&y==null,config:o}));n.push(...x),c===!0&&[...Array(1)].forEach((f,d)=>{n.push(re({title:`${d}+${p.loading}`,balances:i,config:o}))}),[...Array(1)].forEach((f,d)=>{n.push(qe({title:`${d}+${p.loading}`,balances:[],config:o}))})}return e.opexBalances.length===0&&g!==!0&&n.push(bo({title:B.getLocalizedStrings().vendors.opExByVendor.noResultsFound,balances:i,config:o})),{config:o,headerNodes:s?[m]:[],contentNodes:n}};function So(e,r,o,s=!0){Object.assign(e.config,r);const l=wo(o),i=pe({balances:l,config:r});return{config:r,headerNodes:s?[i]:[],contentNodes:[i,...e.contentNodes.slice(1)]}}const wo=e=>e.totalBalances!=null?[...e.totalBalances.balances,...e.totalBalances.additionalBalances]:[],I={chartHeight:new F(288,360),wrapperPadding:new F(O[3],O[3],O[8]),contentPaddingLeft:new F(O[0],O[0],O[0]),contentPaddingRight:new F(O[3],O[3],O[8])},ko=h.div`
28
+ `;function mo({selectedRangeReport:e,width:r,height:o,showBarHoverBackground:s=!1,isDetailPage:l=!1}){const i=C.useRef(!1),m=io,[n,p]=C.useState(void 0);C.useEffect(()=>{i.current=!0},[]);const g=co(e.firstMonthOfFY,e),c=()=>{const d=[];return g?.orderedKeys.forEach(_=>{const S=l===!0&&!i.current;d.push(y(_,S))}),d},y=(d,_)=>t.jsx(eo,{name:d,animationDuration:_?500:void 0,style:{cursor:"pointer"},dataKey:S=>{const v=S.record;return(v[d]?.amount!=null?v[d].amount:void 0)?.amount??0},stackId:"chartByTimeSeries",fill:m.getBarColor(de(d)),onMouseEnter:()=>{n!==d&&p(d)},onMouseLeave:()=>{n!=null&&p(void 0)}},d),x=({active:d,payload:_})=>_?.find(S=>S.name===n)!=null&&n!=null&&d===!0?t.jsx(lo,{active:d,payload:_,barName:n,getVendorName:f}):null,f=(d,_)=>{const S=Le(d);try{const v=_.split("_")[1];return e.top4VendorsAndOthers[S][parseInt(v)].vendor.name}catch(v){return console.warn("Was not able to parse vendor index for tooltip ",v),""}};return g==null?null:t.jsx(ho,{chartData:g,showBarHoverBackground:s,barElements:c(),customToolTipContent:t.jsx(x,{}),width:r,height:o,isDetailPage:l===!0})}const ho=({chartData:e,barElements:r,customToolTipContent:o,width:s,height:l,showBarHoverBackground:i=!1,isDetailPage:m})=>{const n=q(),p=Ve(e),g=i!==!1,c=m?(s-60)/G.operating_expenses_by_vendor*(G.operating_expenses_by_vendor-e.timeseries.length):20;return t.jsx(po,{width:s,height:l,children:t.jsx(le,{children:({height:y,width:x})=>t.jsxs(Ue,{width:x,height:y,stackOffset:"sign",data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:m?P[5]:30,margin:{top:5,right:c,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[t.jsx(Je,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:n.colors.grey3}),t.jsx(Xe,{dataKey:f=>f.timeLabel.label,type:"category",axisLine:{stroke:n.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:n.colors.hero,...Z.extraSmallRegular.cssObject}}),t.jsx(Qe,{type:"number",axisLine:!1,tickLine:!1,tick:{color:n.colors.hero,...Z.extraSmallRegular.cssObject},tickFormatter:f=>Me("0,0.[00]a",f,p)}),t.jsx(Ze,{wrapperStyle:{zIndex:2},cursor:g?{stroke:n.colors.background,strokeWidth:(x-120)/G.operating_expenses_by_vendor,fill:n.colors.background}:!1,content:o,allowEscapeViewBox:{x:!1,y:!0}}),r]})})})};function go(e){return{locale_id:e.localeId,show_negative_amount_in_parenthesis:e.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:e.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:e.filterAccountGroupsWithNilBalances,company_name:e.companyName,statement_file_type:e.statementFileType,timeframe:e.timeframe,timezone:e.timezone,additional_balances:e.additionalBalances,format:e.format,sort_key:e.sortKey,sort_order:e.sortOrder,is_compare_mode_on:e.isCompareModeOn,search_string:e.searchString}}function uo(e){const{isCompareModeOn:r,report:o,currentTenantCompanyName:s}=e,l=[];if(r&&(l.push("this_period_vs_last_period_percent"),l.push("this_period_vs_last_period")),o.dataAvailable!=null)return{localeId:B.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",companyName:s,statementFileType:"excel",timeframe:e.timeframe,timezone:e.timezone,additionalBalances:l,format:e.reportType,sortKey:e.sortKey,sortOrder:e.sortOrder,isCompareModeOn:e.isCompareModeOn,searchString:e.searchString}}function fo(e){const r=uo(e);if(r!=null)return yo(e.statementEndPoint,e.authParams,r)}async function yo(e,r,o){const s=B.getLocalizedStrings().downloadReport,l=`${e}?query=${encodeURIComponent(JSON.stringify(go(o)))}`;try{const i=await De({urlEndPoint:l,authParams:r,fileType:o.statementFileType});if(i.ok){const m=Ne(i.headers,s.defaultFileName),n=await i.arrayBuffer();Ie(n,m)}else console.error(`${s.reportErrorMessage} ${i.statusText}`)}catch(i){console.error(`${s.reportErrorMessage} ${JSON.stringify(i)}`)}}function bo({title:e,balances:r,config:o,nodeId:s}){return{children:[],id:s??U("title_string_only",[]),isLastNode:!1,reportElementData:{element:{kind:"title_string_only",title:e,data:r,numOfBalances:r.length},config:o}}}function Co({opExByVendor:e,numOfBalances:r,title:o,isLastNode:s,config:l}){const i=e.account?.accountName??"-",m=e.classBase?.className??"-",n=U("vendor_row",[],o+i+m);return{children:[],id:n,isLastNode:s,reportElementData:{element:{kind:"vendor_row",title:o,data:e,numOfBalances:r},config:l}}}function _o({title:e,balances:r,config:o,numOfBalances:s,nodeId:l}){return{children:[],id:l??U("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:r,numOfBalances:s},config:o}}}const xo=(e,r,o,s=!0)=>{const l=o.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+1:e.filter.balancesRange.numberOfPeriods,i=e.totalBalances!=null?[...e.totalBalances.balances,...e.totalBalances.additionalBalances]:[];e.totalBalances?.totalBalance!=null&&i.push(e.totalBalances.totalBalance);const m=pe({balances:i,config:o}),n=[];n.push(m);const p=B.getLocalizedStrings().vendors.opExByVendor,g=o.opexByVendorConfig?.sortOrSearchInProgress??!1,c=o.opexByVendorConfig?.pageFetchInProgress??!1;if(g===!0)[...Array(10)].forEach((y,x)=>{n.push(re({title:`${x}+${p.loading}`,balances:i,config:o}))});else if(e.opexBalances.length>0){if(!r.searchString){const f=_o({title:B.getLocalizedStrings().chartCard.total,balances:e.totalBalances,config:o,numOfBalances:l});n.push(f)}const y=r.pageToken[r.timeframe],x=e.opexBalances.map((f,d)=>Co({opExByVendor:f,title:f.vendor.name,numOfBalances:l,isLastNode:d===e.opexBalances.length-1&&y==null,config:o}));n.push(...x),c===!0&&[...Array(1)].forEach((f,d)=>{n.push(re({title:`${d}+${p.loading}`,balances:i,config:o}))}),[...Array(1)].forEach((f,d)=>{n.push(qe({title:`${d}+${p.loading}`,balances:[],config:o}))})}return e.opexBalances.length===0&&g!==!0&&n.push(bo({title:B.getLocalizedStrings().vendors.opExByVendor.noResultsFound,balances:i,config:o})),{config:o,headerNodes:s?[m]:[],contentNodes:n}};function So(e,r,o,s=!0){Object.assign(e.config,r);const l=wo(o),i=pe({balances:l,config:r});return{config:r,headerNodes:s?[i]:[],contentNodes:[i,...e.contentNodes.slice(1)]}}const wo=e=>e.totalBalances!=null?[...e.totalBalances.balances,...e.totalBalances.additionalBalances]:[],I={chartHeight:new F(288,360),wrapperPadding:new F(P[3],P[3],P[8]),contentPaddingLeft:new F(P[0],P[0],P[0]),contentPaddingRight:new F(P[3],P[3],P[8])},ko=h.div`
29
29
  display: flex;
30
30
  flex: 1 1 auto;
31
31
  min-height: 100%;
@@ -48,14 +48,14 @@ import{Q as H,i3 as Ce,F as B,g as q,cc as _e,ay as xe,V as t,bN as Se,aP as we,
48
48
  justify-content: center;
49
49
  align-items: center;
50
50
  background-color: ${e=>e.theme.colors.grey5};
51
- `,Oo=h.div`
51
+ `,Po=h.div`
52
52
  display: flex;
53
53
  width: 100%;
54
54
  height: 100vh;
55
55
  flex-direction: column;
56
56
  justify-content: center;
57
57
  align-items: center;
58
- `,Po=h.div`
58
+ `,Oo=h.div`
59
59
  height: 96px;
60
60
  width: 96px;
61
61
  background: ${e=>e.theme.colors.background};
@@ -97,4 +97,4 @@ import{Q as H,i3 as Ce,F as B,g as q,cc as _e,ay as xe,V as t,bN as Se,aP as we,
97
97
  `,Ao=h.div`
98
98
  width: 100%;
99
99
  height: calc(100vh - ${u.sp11});
100
- `,Lo=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?t.jsx(Bo,{children:t.jsx(je,{size:"ExtraLarge",start:!0})}):null,fr=({report:e,vendorTabsToShow:r,uiState:o,downloadParams:s,onVendorTabSelectionChanged:l,onReloadReport:i,onBackClick:m,onFetchOpExByVendors:n,onAdditionalBalanceSelectionChanged:p,onTimeframeSelectionChanged:g,onSortOrderChanged:c,onSortOrSearchStarted:y,onVendorNameAndBalanceClicked:x,onPageFetchStarted:f,previousTabPosition:d,setPreviousTabPosition:_,updateDownloadStateHandler:S,onClearSearch:v,analytics:P,onClickMenuIcon:z})=>{const[j,E]=C.useState(o.searchString[o.timeframe]),[M,A]=C.useState(!1),w=H(),$=C.useRef(null),K=Ce(r),me=K.length>1,he=B.getLocalizedStrings().reports.common,J=B.getLocalizedStrings().vendors,X=q(),ge=["month","quarter"],ue=e.availableNumberOfPeriods!=null&&e.availableNumberOfPeriods<2,L=o.mode==="compare_mode"&&!ue,W=e.allTimeframeTicks.length===0,{timeframe:T}=o,D=o.searchString[T];_e({componentName:"vendors.opex_by_vendor.list"});const fe=C.useCallback(k=>{n(T,D,k)},[T,D,n]),ye=C.useCallback((k,b)=>{window.scrollTo({top:$.current?.offsetTop,behavior:"smooth"}),k.length>0?(y(!0),n(b,k,!1)):(y(!1),v(b))},[v,n,y]),Q=C.useRef(xe((k,b)=>ye(k,b),500,{trailing:!0})).current,be=(k,b)=>{c(k,b,T),y(!0),n(T,D,!1)};if(C.useEffect(()=>{async function k(){await fo({report:e,isCompareModeOn:L,downloadState:o.downloadState,reportType:"more_detailed",timeframe:o.timeframe,sortKey:o.sortKey[o.timeframe],sortOrder:o.sortOrder[o.timeframe],searchString:o.searchString[T],...s}),P?.trackDownload(R("operating_expenses_by_vendor"),V(o.timeframe),"excel",L),S("Completed")}M&&o.downloadState!=="In-Progress"&&(A(!1),S("In-Progress"),k())},[e,o,L,s,o.downloadState,M]),C.useEffect(()=>{E(D)},[D]),e.fetchState==="Error")return t.jsxs(Oo,{children:[t.jsx(Po,{"data-testid":we("op-ex-by-vendor-reload-page"),onClick:i,children:t.jsx(Se,{})}),t.jsx(To,{children:he.failed})]});const Y=e.totalBalances?.totalBalance;if(o.sortOrSearchInProgress===!1&&o.pageFetchInProgress===!1&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"))return t.jsx(Lo,{fetchState:e.fetchState});if((e.fetchState==="Completed"||o.sortOrSearchInProgress===!0||o.pageFetchInProgress===!0)&&e.isReportGenerated===!0){const k=t.jsxs(t.Fragment,{children:[t.jsx(ke,{isSearchOpen:(D?.length??0)>0,searchPlaceHolder:J.common.searchPlaceholder,searchText:j??"",onSearchTextChanged:b=>{E(b),b.trim().length>=2?Q(b,T):b.trim().length==0&&Q("",T)},downloadPresent:!0}),t.jsx(ve,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:W,isDownloading:o.downloadState==="In-Progress"}],onDownloadClick:async b=>{if(b==="excel")if(o.downloadState==="In-Progress"){console.log("Download is already in progress!");return}else A(!0)}}}})]});return t.jsxs(ko,{windowSize:w,children:[t.jsx(Be,{title:J.common.navBarTitle,subTitle:e.lastRefreshSuccessTime!=null?e.lastRefreshSuccessTime.utc(!0).fromNow():"",backgroundColor:X.colors.grey5,onBackClick:m,rightSideComponent:k,showMenuIcon:w==="medium-compact"||w==="small",downloadPresent:!0,onClickMenuIcon:z,source:"OpExByVendorPage"}),t.jsxs(vo,{windowSize:w,children:[me?t.jsx(Oe,{allTabs:K,selectedTab:K[1].id,containerStyle:{borderBottom:`2px solid ${X.colors.grey3}`},onTabChange:b=>l(Pe(b.id)),previousTabPosition:d,setPreviousTabPosition:_}):null,t.jsx(Fo,{timeframes:ge,isCompareModeOn:L,firstMonthOfFY:e.firstMonthOfFY,allTimeframeTicks:e.allTimeframeTicks,selectedTimeframe:o.timeframe,selectedCOABalancesRange:e.filter.balancesRange,onAdditionalBalanceSelectionChanged:p,onTimeframeSelectionChanged:g,mode:o.mode,analytics:P}),Y!=null?t.jsx(Eo,{children:t.jsx(Ge,{balance:Y,dateText:zo(Y)})}):null,t.jsx(Vo,{report:e,isEmptyPeriod:W})]}),t.jsx(Ro,{reference:$,report:e,uiState:o,isEmptyPeriod:W,onAdditionalBalanceSelectionChanged:p,onVendorNameAndBalanceClicked:x,onSortOrderChanged:be,handleFetchOpExByVendor:fe,onPageFetchStarted:f,analytics:P})]})}return t.jsx(t.Fragment,{})},Fo=({timeframes:e,firstMonthOfFY:r,allTimeframeTicks:o,selectedCOABalancesRange:s,selectedTimeframe:l,onTimeframeSelectionChanged:i,onAdditionalBalanceSelectionChanged:m,mode:n,isCompareModeOn:p,analytics:g})=>t.jsx(Do,{children:t.jsxs($o,{children:[t.jsx(jo,{children:t.jsx(Ke,{timeframe:{allowedTimeframes:e,selectedTimeframe:l,onTimeframeSelectionChanged:c=>{g?.trackTimeframeSwitch(V(c),R("operating_expenses_by_vendor")),(c==="month"||c==="quarter")&&i(c),n==="compare_mode"&&!p&&m(p,p?["this_period_vs_last_period_percent"]:[])}},toggle:{label:B.getLocalizedStrings().compareSwitchLabel,isOn:p,isToggleDisabled:!1,onValueChanged:c=>{g?.trackCompareMode(c,R("operating_expenses_by_vendor"),V(l)),m(c,c?["this_period_vs_last_period_percent"]:[])}}})}),t.jsx(ze,{firstMonthOfFY:r,timeframe:l,timeframeTicks:o,selection:{selectedTicks:oe(o,s),highlightedOfSelectedTicks:oe(o,s)}})]})}),Vo=({isEmptyPeriod:e,report:r})=>{const o=H();return e?t.jsx(Io,{children:t.jsx(We,{title:B.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(No,{windowSize:o,children:t.jsx(le,{children:({height:s,width:l})=>t.jsx(mo,{selectedRangeReport:r,width:l,height:s,isDetailPage:!0,showBarHoverBackground:!1})})})},Ro=({report:e,uiState:r,isEmptyPeriod:o,reference:s,onAdditionalBalanceSelectionChanged:l,onTableScroll:i,onSortOrderChanged:m,onVendorNameAndBalanceClicked:n,handleFetchOpExByVendor:p,onPageFetchStarted:g,analytics:c})=>{const y=r.mode==="compare_mode",x=w=>{c?.trackCompareFilterChange(w==="compare_mode_percent"?"percentage":"amount",R("operating_expenses_by_vendor"),V(r.timeframe),"dropdown"),l(y,[w==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period"])},f=r.selectedAdditionalBalances.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",[d,_]=C.useState(void 0),[S,v]=C.useState(void 0),P=H(),z=q(),j=!(P==="small"||P==="medium-compact");C.useEffect(()=>{const w={reportId:e.reportId,mode:r.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:r.sortKey[r.timeframe],sortOrder:r.sortOrder[r.timeframe],isCompareModeOn:r.mode==="compare_mode",isAccountColumnShown:!0,isClassColumnShown:!0,onSortOrderChanged:m,sortOrSearchInProgress:r.sortOrSearchInProgress,pageFetchInProgress:r.pageFetchInProgress,onVendorNameAndBalanceClicked:n}};if(d==null||!ie(S,e)){const $=xo(e,r,w,j);v(e),_($)}else{const $=So(d,w,e,j);_($)}},[r.mode,e]);const E=w=>w<e.opexBalances.length,M=()=>{r.pageToken[r.timeframe]!=null&&e.fetchState==="Completed"&&(g(),p(!0))},A=e.opexBalances.length;return t.jsx(Mo,{windowSize:P,ref:s,children:o?t.jsx(Ye,{}):d!=null?t.jsx(Ao,{children:t.jsx(He,{backgroundColor:new $e(z.colors.grey4),rootNodes:d,type:"name+balances_actual",compareMode:f,isSticky:{isStickyHeader:j,isStickyName:j},treeNodePadding:{left:I.contentPaddingLeft.value(P),right:I.contentPaddingRight.value(P)},nodeOpenStatus:{},scrollPosition:r.scrollPosition,onCompareModeChanged:x,onScroll:i,infiniteLoadingProps:{isItemLoaded:E,itemCount:A,loadMoreItems:M}})}):null})},zo=e=>{const r=e.startDate,o=e.endDate,{vendors:s,dateFormat:l}=B.getLocalizedStrings();return`${s.opExByVendor.in} ${r.format(l.visual.MMMYYFormat)} - ${o.format(l.visual.MMMYYFormat)}`};export{fr as default};
100
+ `,Lo=({fetchState:e})=>e==="In-Progress"||e==="Not-Started"?t.jsx(Bo,{children:t.jsx(je,{size:"ExtraLarge",start:!0})}):null,fr=({report:e,vendorTabsToShow:r,uiState:o,downloadParams:s,onVendorTabSelectionChanged:l,onReloadReport:i,onBackClick:m,onFetchOpExByVendors:n,onAdditionalBalanceSelectionChanged:p,onTimeframeSelectionChanged:g,onSortOrderChanged:c,onSortOrSearchStarted:y,onVendorNameAndBalanceClicked:x,onPageFetchStarted:f,previousTabPosition:d,setPreviousTabPosition:_,updateDownloadStateHandler:S,onClearSearch:v,analytics:O,onClickMenuIcon:z})=>{const[j,E]=C.useState(o.searchString[o.timeframe]),[M,A]=C.useState(!1),w=H(),$=C.useRef(null),K=Ce(r),me=K.length>1,he=B.getLocalizedStrings().reports.common,J=B.getLocalizedStrings().vendors,X=q(),ge=["month","quarter"],ue=e.availableNumberOfPeriods!=null&&e.availableNumberOfPeriods<2,L=o.mode==="compare_mode"&&!ue,W=e.allTimeframeTicks.length===0,{timeframe:T}=o,D=o.searchString[T];_e({componentName:"vendors.opex_by_vendor.list"});const fe=C.useCallback(k=>{n(T,D,k)},[T,D,n]),ye=C.useCallback((k,b)=>{window.scrollTo({top:$.current?.offsetTop,behavior:"smooth"}),k.length>0?(y(!0),n(b,k,!1)):(y(!1),v(b))},[v,n,y]),Q=C.useRef(xe((k,b)=>ye(k,b),500,{trailing:!0})).current,be=(k,b)=>{c(k,b,T),y(!0),n(T,D,!1)};if(C.useEffect(()=>{async function k(){await fo({report:e,isCompareModeOn:L,downloadState:o.downloadState,reportType:"more_detailed",timeframe:o.timeframe,sortKey:o.sortKey[o.timeframe],sortOrder:o.sortOrder[o.timeframe],searchString:o.searchString[T],...s}),O?.trackDownload(R("operating_expenses_by_vendor"),V(o.timeframe),"excel",L),S("Completed")}M&&o.downloadState!=="In-Progress"&&(A(!1),S("In-Progress"),k())},[e,o,L,s,o.downloadState,M]),C.useEffect(()=>{E(D)},[D]),e.fetchState==="Error")return t.jsxs(Po,{children:[t.jsx(Oo,{"data-testid":we("op-ex-by-vendor-reload-page"),onClick:i,children:t.jsx(Se,{})}),t.jsx(To,{children:he.failed})]});const Y=e.totalBalances?.totalBalance;if(o.sortOrSearchInProgress===!1&&o.pageFetchInProgress===!1&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"))return t.jsx(Lo,{fetchState:e.fetchState});if((e.fetchState==="Completed"||o.sortOrSearchInProgress===!0||o.pageFetchInProgress===!0)&&e.isReportGenerated===!0){const k=t.jsxs(t.Fragment,{children:[t.jsx(ke,{isSearchOpen:(D?.length??0)>0,searchPlaceHolder:J.common.searchPlaceholder,searchText:j??"",onSearchTextChanged:b=>{E(b),b.trim().length>=2?Q(b,T):b.trim().length==0&&Q("",T)},downloadPresent:!0}),t.jsx(ve,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:W,isDownloading:o.downloadState==="In-Progress"}],onDownloadClick:async b=>{if(b==="excel")if(o.downloadState==="In-Progress"){console.log("Download is already in progress!");return}else A(!0)}}}})]});return t.jsxs(ko,{windowSize:w,children:[t.jsx(Be,{title:J.common.navBarTitle,subTitle:e.lastRefreshSuccessTime!=null?e.lastRefreshSuccessTime.utc(!0).fromNow():"",backgroundColor:X.colors.grey5,onBackClick:m,rightSideComponent:k,showMenuIcon:w==="medium-compact"||w==="small",downloadPresent:!0,onClickMenuIcon:z,source:"OpExByVendorPage"}),t.jsxs(vo,{windowSize:w,children:[me?t.jsx(Pe,{allTabs:K,selectedTab:K[1].id,containerStyle:{borderBottom:`2px solid ${X.colors.grey3}`},onTabChange:b=>l(Oe(b.id)),previousTabPosition:d,setPreviousTabPosition:_}):null,t.jsx(Fo,{timeframes:ge,isCompareModeOn:L,firstMonthOfFY:e.firstMonthOfFY,allTimeframeTicks:e.allTimeframeTicks,selectedTimeframe:o.timeframe,selectedCOABalancesRange:e.filter.balancesRange,onAdditionalBalanceSelectionChanged:p,onTimeframeSelectionChanged:g,mode:o.mode,analytics:O}),Y!=null?t.jsx(Eo,{children:t.jsx(Ge,{balance:Y,dateText:zo(Y)})}):null,t.jsx(Vo,{report:e,isEmptyPeriod:W})]}),t.jsx(Ro,{reference:$,report:e,uiState:o,isEmptyPeriod:W,onAdditionalBalanceSelectionChanged:p,onVendorNameAndBalanceClicked:x,onSortOrderChanged:be,handleFetchOpExByVendor:fe,onPageFetchStarted:f,analytics:O})]})}return t.jsx(t.Fragment,{})},Fo=({timeframes:e,firstMonthOfFY:r,allTimeframeTicks:o,selectedCOABalancesRange:s,selectedTimeframe:l,onTimeframeSelectionChanged:i,onAdditionalBalanceSelectionChanged:m,mode:n,isCompareModeOn:p,analytics:g})=>t.jsx(Do,{children:t.jsxs($o,{children:[t.jsx(jo,{children:t.jsx(Ke,{timeframe:{allowedTimeframes:e,selectedTimeframe:l,onTimeframeSelectionChanged:c=>{g?.trackTimeframeSwitch(V(c),R("operating_expenses_by_vendor")),(c==="month"||c==="quarter")&&i(c),n==="compare_mode"&&!p&&m(p,p?["this_period_vs_last_period_percent"]:[])}},toggle:{label:B.getLocalizedStrings().compareSwitchLabel,isOn:p,isToggleDisabled:!1,onValueChanged:c=>{g?.trackCompareMode(c,R("operating_expenses_by_vendor"),V(l)),m(c,c?["this_period_vs_last_period_percent"]:[])}}})}),t.jsx(ze,{firstMonthOfFY:r,timeframe:l,timeframeTicks:o,selection:{selectedTicks:oe(o,s),highlightedOfSelectedTicks:oe(o,s)}})]})}),Vo=({isEmptyPeriod:e,report:r})=>{const o=H();return e?t.jsx(Io,{children:t.jsx(We,{title:B.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(No,{windowSize:o,children:t.jsx(le,{children:({height:s,width:l})=>t.jsx(mo,{selectedRangeReport:r,width:l,height:s,isDetailPage:!0,showBarHoverBackground:!1})})})},Ro=({report:e,uiState:r,isEmptyPeriod:o,reference:s,onAdditionalBalanceSelectionChanged:l,onTableScroll:i,onSortOrderChanged:m,onVendorNameAndBalanceClicked:n,handleFetchOpExByVendor:p,onPageFetchStarted:g,analytics:c})=>{const y=r.mode==="compare_mode",x=w=>{c?.trackCompareFilterChange(w==="compare_mode_percent"?"percentage":"amount",R("operating_expenses_by_vendor"),V(r.timeframe),"dropdown"),l(y,[w==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period"])},f=r.selectedAdditionalBalances.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",[d,_]=C.useState(void 0),[S,v]=C.useState(void 0),O=H(),z=q(),j=!(O==="small"||O==="medium-compact");C.useEffect(()=>{const w={reportId:e.reportId,mode:r.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:r.sortKey[r.timeframe],sortOrder:r.sortOrder[r.timeframe],isCompareModeOn:r.mode==="compare_mode",isAccountColumnShown:!0,isClassColumnShown:!0,onSortOrderChanged:m,sortOrSearchInProgress:r.sortOrSearchInProgress,pageFetchInProgress:r.pageFetchInProgress,onVendorNameAndBalanceClicked:n}};if(d==null||!ie(S,e)){const $=xo(e,r,w,j);v(e),_($)}else{const $=So(d,w,e,j);_($)}},[r.mode,e]);const E=w=>w<e.opexBalances.length,M=()=>{r.pageToken[r.timeframe]!=null&&e.fetchState==="Completed"&&(g(),p(!0))},A=e.opexBalances.length;return t.jsx(Mo,{windowSize:O,ref:s,children:o?t.jsx(Ye,{}):d!=null?t.jsx(Ao,{children:t.jsx(He,{backgroundColor:new $e(z.colors.grey4),rootNodes:d,type:"name+balances_actual",compareMode:f,isSticky:{isStickyHeader:j,isStickyName:j},treeNodePadding:{left:I.contentPaddingLeft.value(O),right:I.contentPaddingRight.value(O)},nodeOpenStatus:{},scrollPosition:r.scrollPosition,onCompareModeChanged:x,onScroll:i,infiniteLoadingProps:{isItemLoaded:E,itemCount:A,loadMoreItems:M}})}):null})},zo=e=>{const r=e.startDate,o=e.endDate,{vendors:s,dateFormat:l}=B.getLocalizedStrings();return`${s.opExByVendor.in} ${r.format(l.visual.MMMYYFormat)} - ${o.format(l.visual.MMMYYFormat)}`};export{fr as default};
@@ -1,4 +1,4 @@
1
- import{g as i,V as n}from"./index-AqGiWrum.js";import{n as r}from"./mui-C_Pjuwl5.js";import"./sentry-CTKU7CLc.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./zeni-epic-state-Cl3KIlic.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.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]="4287935d-72c3-497c-b16c-fca5b815d591",e._sentryDebugIdIdentifier="sentry-dbid-4287935d-72c3-497c-b16c-fca5b815d591")}catch{}})();const d=r.div`
1
+ import{g as i,V as n}from"./index-BhvUwV_v.js";import{n as r}from"./mui-DqYnCiYu.js";import"./sentry-DgGQRl6g.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="4287935d-72c3-497c-b16c-fca5b815d591",e._sentryDebugIdIdentifier="sentry-dbid-4287935d-72c3-497c-b16c-fca5b815d591")}catch{}})();const d=r.div`
2
2
  display: ${({isOpen:e})=>e?"block":"none"};
3
3
  position: fixed;
4
4
  top: 0;
@@ -1,4 +1,4 @@
1
- import{V as o,G as A,g as I,Q as v,bB as ne,F as c,r as re,aP as F,T as ie,b as ae,y as W,o as s,cc as ce,aD as le,aV as de,M as ge,cC as pe,by as me,u as $,cD as he,aT as fe,aU as ue,ba as xe,bK as we}from"./index-AqGiWrum.js";import{a as N}from"./sentry-CTKU7CLc.js";import{n as r}from"./mui-C_Pjuwl5.js";import{R as Se}from"./NavBarWithPicker-C4ExxFQW-CBeQSmTW.js";import{m as je}from"./analyticsHelper-Bv2VSRHR-D5TeO7Fb.js";import{M as be}from"./TimeframeSwitcherWithToggle-CTsXGTZM-Y9gaGt4o.js";import{I as ye,a as $e}from"./CollapsableReportTable-CpOmWQO--CCW_jG6A.js";import{M as E}from"./usp-line-BBd1wKwW-DQyOXy13.js";import{F1 as Ce,F2 as Pe}from"./zeni-epic-state-Cl3KIlic.js";import{D as ke,T as ze,C as ve}from"./mapSectionWithAcOnlyToTreeNode-C9RPV_Hz-BdcAtsjX.js";import{s as H}from"./mapTimeframeBalancesToTreeNode-BJHD6cPI-DvQ95SJz.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";import"./TimeframeSwitcher-CJnjD8oY-C839RlNd.js";import"./AccountRow-DvTUqeYB-Coj4ZTWN.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]="2ee3e6e1-3388-4779-85e9-7e7af2735a4e",e._sentryDebugIdIdentifier="sentry-dbid-2ee3e6e1-3388-4779-85e9-7e7af2735a4e")}catch{}})();const Q="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",Y="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",Te=r.div`
1
+ import{V as o,G as A,g as I,Q as v,bB as ne,F as c,r as re,aP as F,T as ie,b as ae,y as W,o as s,cc as ce,aD as le,aV as de,M as ge,cC as pe,by as me,u as $,cD as he,aT as fe,aU as ue,ba as xe,bK as we}from"./index-BhvUwV_v.js";import{a as N}from"./sentry-DgGQRl6g.js";import{n as r}from"./mui-DqYnCiYu.js";import{R as Se}from"./NavBarWithPicker-DcDs1pe7-RUEHjYNa.js";import{m as je}from"./analyticsHelper-7cF4XxuH-_xEf-TSd.js";import{M as be}from"./TimeframeSwitcherWithToggle-Di1hQ-WC-DVlTpSsC.js";import{I as ye,a as $e}from"./CollapsableReportTable-BWfFYJbH-BIiPdpTy.js";import{M as E}from"./usp-line-BBd1wKwW-EmNWFdhU.js";import{F1 as Ce,F2 as Pe}from"./zeni-epic-state-WWg2r7iB.js";import{D as ke,T as ze,C as ve}from"./mapSectionWithAcOnlyToTreeNode-CjiNTI8L-BE28qPgb.js";import{s as H}from"./mapTimeframeBalancesToTreeNode-mMtwXmJx-B8gyB0Lt.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./TimeframeSwitcher-CCMyvSSI-DIRa_Jc4.js";import"./AccountRow-BVKk7u7h-CDJSAP1l.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]="73ca18e6-9545-4dae-8e47-2f24ee8355af",e._sentryDebugIdIdentifier="sentry-dbid-73ca18e6-9545-4dae-8e47-2f24ee8355af")}catch{}})();const Q="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",Y="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",Te=r.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;