@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,4 +1,4 @@
1
- import{Q as B,g as D,V as o,cm as H,o as r,aP as N,T as te,h0 as ue,u as R,r as he,b as oe,bG as re,F as j,y as ne,h1 as ge,c2 as me,h2 as fe,c_ as le,bH as T,ba as ye,ai as se,h3 as xe,bF as ae,aw as be,h4 as Ce,h5 as we,al as V,b9 as ve,h6 as $e,ay as je,h7 as Se,p as ke,cZ as Oe,bN as Le,f_ as Ie,h8 as Ee,d as W,x as _e,f$ as Te,aT as Ae}from"./index-AqGiWrum.js";import{a as s}from"./sentry-CTKU7CLc.js";import{n as l,k as Fe}from"./mui-C_Pjuwl5.js";import{FO as Me,FP as Re,FL as Be,FM as De,FN as ze,FK as Pe}from"./zeni-epic-state-Cl3KIlic.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]="4394d487-8dbb-429e-8e29-fc966e7e8500",e._sentryDebugIdIdentifier="sentry-dbid-4394d487-8dbb-429e-8e29-fc966e7e8500")}catch{}})();const He=l.div`
1
+ import{Q as B,g as D,V as o,cm as H,o as r,aP as N,T as te,h0 as ue,u as R,r as he,b as oe,bG as re,F as j,y as ne,h1 as ge,c2 as me,h2 as fe,c_ as le,bH as T,ba as ye,ai as se,h3 as xe,bF as ae,aw as be,h4 as Ce,h5 as we,al as V,b9 as ve,h6 as $e,ay as je,h7 as Se,p as ke,cZ as Oe,bN as Le,f_ as Ie,h8 as Ee,d as W,x as _e,f$ as Te,aT as Ae}from"./index-BhvUwV_v.js";import{a as s}from"./sentry-DgGQRl6g.js";import{n as l,k as Fe}from"./mui-DqYnCiYu.js";import{FO as Me,FP as Re,FL as Be,FM as De,FN as ze,FK as Pe}from"./zeni-epic-state-WWg2r7iB.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]="4394d487-8dbb-429e-8e29-fc966e7e8500",e._sentryDebugIdIdentifier="sentry-dbid-4394d487-8dbb-429e-8e29-fc966e7e8500")}catch{}})();const He=l.div`
2
2
  display: flex;
3
3
  justify-content: space-between;
4
4
  align-items: center;
@@ -1,6 +1,6 @@
1
- import{Q as $,hJ as b,V as o,F as g,T as S,o as a,al as v,y as z,c2 as j,u as k}from"./index-AqGiWrum.js";import{a as T}from"./sentry-CTKU7CLc.js";import{n}from"./mui-C_Pjuwl5.js";import{g as I}from"./BoxItem-CjZDlBaw-C6EB-mJ-.js";import{w as D}from"./downloadPdf-CU0hwe3m-B1XwfpLd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="c2256e90-edd3-4f4c-801a-43f84d755789",e._sentryDebugIdIdentifier="sentry-dbid-c2256e90-edd3-4f4c-801a-43f84d755789")}catch{}})();const l=g.getLocalizedStrings().months,d={downloadButtonSize:new z(k[4],20)},P=n.div`
1
+ import{Q as $,hJ as b,V as o,F as g,T as S,o as r,al as v,y as z,c2 as j,u as k}from"./index-BhvUwV_v.js";import{a as T}from"./sentry-DgGQRl6g.js";import{n}from"./mui-DqYnCiYu.js";import{g as I}from"./BoxItem-C-LLQ7NS-CyKsGaF0.js";import{w as D}from"./downloadPdf-Pyk_BhF7-WEbr68vS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="7a0c611f-3f72-4c30-abd3-d04af54ea5d8",e._sentryDebugIdIdentifier="sentry-dbid-7a0c611f-3f72-4c30-abd3-d04af54ea5d8")}catch{}})();const l=g.getLocalizedStrings().months,d={downloadButtonSize:new z(k[4],20)},P=n.div`
2
2
  display: flex;
3
- padding: ${a.sp3} ${a.sp4};
3
+ padding: ${r.sp3} ${r.sp4};
4
4
  flex-direction: row;
5
5
  width: 100%;
6
6
  `,L=n.div`
@@ -12,8 +12,8 @@ import{Q as $,hJ as b,V as o,F as g,T as S,o as a,al as v,y as z,c2 as j,u as k}
12
12
  display: -webkit-box;
13
13
  -webkit-box-orient: vertical;
14
14
  -webkit-line-clamp: 1;
15
- margin-left: ${a.sp2};
16
- max-height: ${a.sp11};
15
+ margin-left: ${r.sp2};
16
+ max-height: ${r.sp11};
17
17
  text-overflow: ellipsis;
18
18
  word-break: break-word;
19
19
  text-align: left;
@@ -28,4 +28,4 @@ import{Q as $,hJ as b,V as o,F as g,T as S,o as a,al as v,y as z,c2 as j,u as k}
28
28
  &:hover {
29
29
  color: ${e=>e.theme.colors.primary};
30
30
  }
31
- `;function R({accountLast4:e,currentTenantCompanyName:i,data:t,authParams:f,downloadEndPoint:s,documentType:r="statement",boxType:c}){const[m,p]=T.useState(!1),w=$(),u=r==="taxLetter"?`${t.title.year}`:`${l[t.title.month-1]} ${t.title.year}`,y=r==="taxLetter"?`${i}-treasury-tax-letter-${t.title.year}.pdf`:`${i}-${e}-monthly-statement-${l[t.title.month-1]}-${t.title.year}.pdf`,h={period:`${t.title.year}-${b(t.title.month)}`,format:"pdf"},x=o.jsx(P,{children:o.jsxs(L,{children:[o.jsx(B,{children:u}),o.jsx(C,{onClick:()=>D(r==="treasuryStatement"||r==="taxLetter"?`${s}/statements/${t.id}`:`${s}/statements?query=${encodeURIComponent(JSON.stringify(h))}`,y,f,p),children:m?o.jsx(S,{size:"Small",start:!0}):o.jsx(_,{windowSize:w})})]})});return o.jsx(I,{content:x,boxType:c,isDisabled:!1,isNotClickable:!0})}export{R as O};
31
+ `;function R({accountLast4:e,currentTenantCompanyName:i,data:t,authParams:f,downloadEndPoint:s,documentType:a="statement",boxType:c}){const[m,p]=T.useState(!1),w=$(),u=a==="taxLetter"?`${t.title.year}`:`${l[t.title.month-1]} ${t.title.year}`,y=a==="taxLetter"?`${i}-treasury-tax-letter-${t.title.year}.pdf`:`${i}-${e}-monthly-statement-${l[t.title.month-1]}-${t.title.year}.pdf`,h={period:`${t.title.year}-${b(t.title.month)}`,format:"pdf"},x=o.jsx(P,{children:o.jsxs(L,{children:[o.jsx(B,{children:u}),o.jsx(C,{onClick:()=>D(a==="treasuryStatement"||a==="taxLetter"?`${s}/statements/${t.id}`:`${s}/statements?query=${encodeURIComponent(JSON.stringify(h))}`,y,f,p),children:m?o.jsx(S,{size:"Small",start:!0}):o.jsx(_,{windowSize:w})})]})});return o.jsx(I,{content:x,boxType:c,isDisabled:!1,isNotClickable:!0})}export{R as O};
@@ -0,0 +1,58 @@
1
+ import{g as S,Q as I,V as t,bB as z,b3 as C,o as r,F as P,p,cs as B,y as D,u,al as E}from"./index-BhvUwV_v.js";import{a as b}from"./sentry-DgGQRl6g.js";import{n as o}from"./mui-DqYnCiYu.js";import{$ as T}from"./BoxItem-C-LLQ7NS-CyKsGaF0.js";import{o as L}from"./commonDimensions-CtIrih5r-CfslRtQI.js";import{O as M}from"./StatementItem-BxnOzchG-C1vR7F9V.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";import"./downloadPdf-Pyk_BhF7-WEbr68vS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9758f31f-32d3-403c-8967-5ad6844231b7",e._sentryDebugIdIdentifier="sentry-dbid-9758f31f-32d3-403c-8967-5ad6844231b7")}catch{}})();const f=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,w={listItemMargin:new D(u[3],u[8])},oe=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:x,onBackClick:y})=>{const $=S(),d=I(),k=b.createRef(),c=b.useRef(null),h=i.statements.length===0,j=()=>h===!1?L.transactionItemHeight:24,v=({index:a,style:s})=>{const l=i.statements[a];return h===!1?t.jsx(g,{windowSize:d,style:{...s,width:`calc(100% - 2*${w.listItemMargin.valuePx(d)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:x,data:l,authParams:n,downloadEndPoint:m,boxType:T(a,i.statements.length)},l.id)}):t.jsx(O,{style:{...s},children:t.jsx(_,{children:t.jsx(g,{windowSize:d,children:t.jsx(R,{children:f.noStatements})})})})};return t.jsxs(N,{children:[t.jsx(z,{title:f.title,backgroundColor:$.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(V,{children:t.jsx(C,{children:({height:a,width:s})=>t.jsx(H,{ref:k,height:a,width:s,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},O=o.div``,g=o.div`
2
+ margin: ${e=>`${r.sp0} ${w.listItemMargin.valuePx(e.windowSize)}`};
3
+ &:hover {
4
+ position: relative;
5
+ z-index: 2;
6
+ }
7
+ `,_=o.div`
8
+ display: flex;
9
+ height: 100%;
10
+ flex: 1 1 auto;
11
+ flex-direction: row;
12
+ justify-content: center;
13
+ align-items: flex-end;
14
+ `,N=o.div`
15
+ display: flex;
16
+ height: 100%;
17
+ flex-direction: column;
18
+ width: 100%;
19
+ padding-bottom: ${r.sp7};
20
+ `,R=o(E)`
21
+ display: flex;
22
+ color: ${e=>e.theme.colors.grey2};
23
+ `,V=o.div`
24
+ display: flex;
25
+ flex-direction: column;
26
+ width: 100%;
27
+ height: 100%;
28
+ margin-top: ${r.sp6};
29
+ `,H=o(B)`
30
+ scrollbar-width: thin;
31
+ scrollbar-color: transparent transparent;
32
+ &::-webkit-scrollbar {
33
+ width: ${r.sp2};
34
+ height: ${r.sp0};
35
+ background-color: transparent;
36
+ }
37
+ &::-webkit-scrollbar-track {
38
+ box-shadow: inset 0 0 2px ${p.scrollbarBoxShadow};
39
+ -webkit-box-shadow: inset 0 0 2px ${p.scrollbarBoxShadow};
40
+ background-color: transparent;
41
+ }
42
+ &::-webkit-scrollbar-thumb {
43
+ background-color: transparent;
44
+ }
45
+
46
+ &:hover {
47
+ scrollbar-color: ${e=>e.theme.colors.grey1} transparent;
48
+ &::-webkit-scrollbar {
49
+ width: ${r.sp2};
50
+ height: ${r.sp0};
51
+ background-color: transparent;
52
+ }
53
+ &::-webkit-scrollbar-thumb {
54
+ background-color: ${e=>e.theme.colors.grey1};
55
+ border-radius: 2px;
56
+ }
57
+ }
58
+ `;export{oe as default};
@@ -1,4 +1,4 @@
1
- import{Q as $,cc as T,V as d,F as v,y as h,o as s,u as c,ai as _}from"./index-AqGiWrum.js";import{n as u,c as m}from"./mui-C_Pjuwl5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1ec6f1ec-7b3a-4dbe-9f40-bda8b87e0ee8",e._sentryDebugIdIdentifier="sentry-dbid-1ec6f1ec-7b3a-4dbe-9f40-bda8b87e0ee8")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function L(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(a)}return g(a)}function p(e,a,r){const n=e[a];return n!=null?L(n,r):null}const A=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??g(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
1
+ import{Q as $,cc as T,V as d,F as v,y as h,o as s,u as c,ai as _}from"./index-BhvUwV_v.js";import{n as u,c as m}from"./mui-DqYnCiYu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1ec6f1ec-7b3a-4dbe-9f40-bda8b87e0ee8",e._sentryDebugIdIdentifier="sentry-dbid-1ec6f1ec-7b3a-4dbe-9f40-bda8b87e0ee8")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function L(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(a)}return g(a)}function p(e,a,r){const n=e[a];return n!=null?L(n,r):null}const A=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??g(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{V as i,T as u,o as s,ai as g,aZ as f}from"./index-AqGiWrum.js";import{n as r,c}from"./mui-C_Pjuwl5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="934217fc-b123-4b96-aa10-2a945e7e064f",e._sentryDebugIdIdentifier="sentry-dbid-934217fc-b123-4b96-aa10-2a945e7e064f")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(b,{style:o,hasRightComponent:h,children:[i.jsx(y,{children:e.map(t=>{const a=t.id===n,d=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{a===!1&&!d&&p(t)},isSelected:a,isDisabled:d,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(w,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const b=r.div`
1
+ import{V as i,T as u,o as s,ai as g,aZ as f}from"./index-BhvUwV_v.js";import{n as r,c}from"./mui-DqYnCiYu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="934217fc-b123-4b96-aa10-2a945e7e064f",e._sentryDebugIdIdentifier="sentry-dbid-934217fc-b123-4b96-aa10-2a945e7e064f")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(b,{style:o,hasRightComponent:h,children:[i.jsx(y,{children:e.map(t=>{const a=t.id===n,d=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{a===!1&&!d&&p(t)},isSelected:a,isDisabled:d,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(w,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const b=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
@@ -1 +1 @@
1
- import{V as n}from"./index-AqGiWrum.js";import{E as r,I as t}from"./ReloadCard-DQ8-0JyV-DB-bkjWN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="79e90305-1148-433a-8233-b89a1b9acc99",e._sentryDebugIdIdentifier="sentry-dbid-79e90305-1148-433a-8233-b89a1b9acc99")}catch{}})();const c=e=>{function d(){return e.card.fetchState==="In-Progress"||e.card.fetchState==="Not-Started"?n.jsx(r,{dimension:e.card.dimension,animated:!e.card.disableAnimations}):e.card.fetchState==="Error"?n.jsx(t,{dimension:e.card.dimension,cardType:e.card.cardType,cardIndex:e.card.cardIndex,onReloadData:e.actions.onReloadData}):n.jsx("div",{children:e.children})}return n.jsx("div",{children:d()})};export{c};
1
+ import{V as n}from"./index-BhvUwV_v.js";import{E as r,I as t}from"./ReloadCard-8Tiu9Mq9-WidMrFBg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="c0bb95d0-4459-4297-8bc0-04f85d2eb87a",e._sentryDebugIdIdentifier="sentry-dbid-c0bb95d0-4459-4297-8bc0-04f85d2eb87a")}catch{}})();const a=e=>{function d(){return e.card.fetchState==="In-Progress"||e.card.fetchState==="Not-Started"?n.jsx(r,{dimension:e.card.dimension,animated:!e.card.disableAnimations}):e.card.fetchState==="Error"?n.jsx(t,{dimension:e.card.dimension,cardType:e.card.cardType,cardIndex:e.card.cardIndex,onReloadData:e.actions.onReloadData}):n.jsx("div",{children:e.children})}return n.jsx("div",{children:d()})};export{a as c};
@@ -1,4 +1,4 @@
1
- import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co as xt,al as K,aq as wt,F as se,o as s,ju as qe,ch as Ee,cl as ft,g4 as Ct,b9 as Tt,bN as Xe,aT as $t,Q as ie,a9 as yt,y as Qe,cE as jt,ac as bt,b3 as vt,cs as St,iQ as Gt,iR as Lt,jv as De,aR as Et,r as Me,bS as Ie,eK as Je,jw as It,c_ as et,jx as ce,jy as ke,jz as xe,jA as tt,jB as Nt,jC as st,jD as ot,jE as nt,jF as at,jG as rt,jH as V,u as ge,jI as ae,ai as re,jJ as Mt,jK as Dt,x as zt,an as Bt,jL as At,d9 as Rt,jM as Wt,cI as it,em as Ot,b as Pt,jN as Ft,jO as Ht,g5 as Ut,gx as _t,jP as Vt,jQ as X,jR as ze,cu as Kt,jS as Zt,jT as Yt,jU as qt,jV as Be,p as Ae,gu as Xt,am as Qt}from"./index-AqGiWrum.js";import{a as n}from"./sentry-CTKU7CLc.js";import{n as o,c as we}from"./mui-C_Pjuwl5.js";import{G6 as Jt,G7 as Re,cd as lt,ce as dt,cf as es}from"./zeni-epic-state-Cl3KIlic.js";import{X as ts,t as ss}from"./SpendManagementSection-p_rbwPsi-DexNllt-.js";import{A as os,t as ns,a as as,E as rs}from"./NotificationsListConfig-CEDk57Lr-DAddVQQW.js";import{a as is}from"./SpendManagementListViewPage-D0iaA1Tz-COkv1PV-.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"./StatusSwitcher-BWCVuAz5-D3jo7wqm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="89851936-266c-4b0a-9646-e38345405fa9",e._sentryDebugIdIdentifier="sentry-dbid-89851936-266c-4b0a-9646-e38345405fa9")}catch{}})();const ls=100,ds=100,cs=3,ps=.7,us=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ls,scrollSpeed:h=ds,minScrollAmount:m=cs,scrollCurveExponent:u=ps})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},v=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},N=x=>v(x),M=x=>{const S=Math.max(x,0)/c,y=Math.pow(S,u)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,y=p;if(y<c&&y>0){const L=c-y,g=M(L);k(x,g,"up")}else if(y>S-c){const L=y-(S-c),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{N(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(p=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,d,m,e,u,h])},ve=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(hs,{isCircular:e<10,children:t.jsx(ms,{children:e>ve.common.numbers.maximumCount?`${ve.common.numbers.maximumCount}${ve.common.strings.plus}`:e})}),hs=o.div`
1
+ import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co as xt,al as K,aq as wt,F as se,o as s,ju as qe,ch as Ee,cl as ft,g4 as Ct,b9 as Tt,bN as Xe,aT as $t,Q as ie,a9 as yt,y as Qe,cE as jt,ac as bt,b3 as vt,cs as St,iQ as Gt,iR as Lt,jv as De,aR as Et,r as Me,bS as Ie,eK as Je,jw as It,c_ as et,jx as ce,jy as ke,jz as xe,jA as tt,jB as Nt,jC as st,jD as ot,jE as nt,jF as at,jG as rt,jH as V,u as ge,jI as ae,ai as re,jJ as Mt,jK as Dt,x as zt,an as Bt,jL as At,d9 as Rt,jM as Wt,cI as it,em as Ot,b as Pt,jN as Ft,jO as Ht,g5 as Ut,gx as _t,jP as Vt,jQ as X,jR as ze,cu as Kt,jS as Zt,jT as Yt,jU as qt,jV as Be,p as Ae,gu as Xt,am as Qt}from"./index-BhvUwV_v.js";import{a as n}from"./sentry-DgGQRl6g.js";import{n as o,c as we}from"./mui-DqYnCiYu.js";import{G6 as Jt,G7 as Re,cd as lt,ce as dt,cf as es}from"./zeni-epic-state-WWg2r7iB.js";import{X as ts,t as ss}from"./SpendManagementSection-vo9WEGWQ-DV0kvnxH.js";import{A as os,t as ns,a as as,E as rs}from"./NotificationsListConfig-Ctfr3h3b-B2C7Z_Di.js";import{a as is}from"./SpendManagementListViewPage-BjdD7zHz-duCSBxrR.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"./StatusSwitcher-Cj2oyfqn-GHqh8PSV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="cd0addf6-50c8-4718-a62d-399795a54a13",e._sentryDebugIdIdentifier="sentry-dbid-cd0addf6-50c8-4718-a62d-399795a54a13")}catch{}})();const ls=100,ds=100,cs=3,ps=.7,us=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ls,scrollSpeed:h=ds,minScrollAmount:m=cs,scrollCurveExponent:u=ps})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},v=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},N=x=>v(x),M=x=>{const S=Math.max(x,0)/c,y=Math.pow(S,u)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,y=p;if(y<c&&y>0){const L=c-y,g=M(L);k(x,g,"up")}else if(y>S-c){const L=y-(S-c),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{N(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(p=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,d,m,e,u,h])},ve=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(hs,{isCircular:e<10,children:t.jsx(ms,{children:e>ve.common.numbers.maximumCount?`${ve.common.numbers.maximumCount}${ve.common.strings.plus}`:e})}),hs=o.div`
2
2
  ${e=>e.isCircular?we`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -1,4 +1,4 @@
1
- import{V as t,b3 as _,aD as S,di as B,br as H,o as a,ai as L}from"./index-AqGiWrum.js";import{a as n}from"./sentry-CTKU7CLc.js";import{n as g}from"./mui-C_Pjuwl5.js";import{Y as q}from"./core-mVc5WAnu.js";import{V as U}from"./CollapsableReportTable-CpOmWQO--CCW_jG6A.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="a4fbff53-e3ef-4559-84d4-4861240d691f",e._sentryDebugIdIdentifier="sentry-dbid-a4fbff53-e3ef-4559-84d4-4861240d691f")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
1
+ import{V as t,b3 as _,aD as S,di as B,br as H,o as d,ai as L}from"./index-BhvUwV_v.js";import{a as n}from"./sentry-DgGQRl6g.js";import{n as g}from"./mui-DqYnCiYu.js";import{Y as q}from"./core-B9Znwqny.js";import{V as U}from"./CollapsableReportTable-BWfFYJbH-BIiPdpTy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="87afad1f-624b-4d9d-af57-9eff24e4a9ae",e._sentryDebugIdIdentifier="sentry-dbid-87afad1f-624b-4d9d-af57-9eff24e4a9ae")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -25,8 +25,8 @@ import{V as t,b3 as _,aD as S,di as B,br as H,o as a,ai as L}from"./index-AqGiWr
25
25
  position: relative;
26
26
  scrollbar-width: none;
27
27
  `,J=g(L)``,K=g.div`
28
- top: ${a.sp0};
29
- left: ${a.sp0};
28
+ top: ${d.sp0};
29
+ left: ${d.sp0};
30
30
  width: calc(${e=>h*e.numberOfTicksSelected}px);
31
31
  position: absolute;
32
32
  height: ${p}px;
@@ -34,19 +34,19 @@ import{V as t,b3 as _,aD as S,di as B,br as H,o as a,ai as L}from"./index-AqGiWr
34
34
  .slider-icon {
35
35
  fill: ${e=>e.theme.colors.grey1};
36
36
  }
37
- border-radius: ${a.sp2};
38
- border-left: ${a.sp0};
39
- border-right: ${a.sp0};
37
+ border-radius: ${d.sp2};
38
+ border-left: ${d.sp0};
39
+ border-right: ${d.sp0};
40
40
  &:hover {
41
41
  border: 1px solid ${e=>e.theme.colors.primary};
42
- border-radius: ${a.sp2};
43
- border-left: ${a.sp0};
44
- border-right: ${a.sp0};
42
+ border-radius: ${d.sp2};
43
+ border-left: ${d.sp0};
44
+ border-right: ${d.sp0};
45
45
  .slider-icon {
46
46
  fill: ${e=>e.theme.colors.primary};
47
47
  }
48
48
  }
49
- line-height: ${a.sp0};
49
+ line-height: ${d.sp0};
50
50
  pointer-events: none;
51
51
  box-sizing: border-box;
52
52
  `,Q=g.div`
@@ -61,4 +61,4 @@ import{V as t,b3 as _,aD as S,di as B,br as H,o as a,ai as L}from"./index-AqGiWr
61
61
  cursor: pointer;
62
62
  pointer-events: all;
63
63
  color: ${e=>e.theme.colors.grey5};
64
- `;function j({iconPosition:e}){switch(e){case"left":return t.jsx(W,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(X,{className:"slider-icon",fill:"currentColor"});default:throw Error("Invalid iconPosition")}}function te(e){return q.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:s,timeframe:i,tick:r,tickIndex:u,isSelected:d,onClick:f}){return t.jsx(A,{isEnabled:e,isSelected:d,onClick:()=>{f(r,u,i)},children:t.jsx(J,{children:U(s,r,i)})})}function ne(e,s,i,r,u){const d=s-e,f=Math.floor(e/h)+Math.round(d/h),w=f+i.length-r.length,x=f+i.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:i.length},fromEnd:{offsetFromEnd:b,length:i.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let i={startIndex:0,length:0};if(oe(e))i=e;else{const r=e.length;i={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return i}function ie({width:e,firstMonthOfFY:s,timeframe:i,timeframeTicks:r,isEnabled:u,selection:d,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[l,T]=n.useState(I(d.selectedTicks,r)),$=n.useRef(l.startIndex);n.useEffect(()=>{$.current=l.startIndex});const[y,C]=n.useState(d.highlightedOfSelectedTicks),O=(l.startIndex+l.length>r.length?Math.max(r.length-l.length,0):l.startIndex)*h,[E,F]=n.useState({x:O,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(d.selectedTicks,r);if(!S(l,o)){T(o);const c=o.startIndex*h;F({x:c,y:0})}S(y,d.highlightedOfSelectedTicks)||C(d.highlightedOfSelectedTicks)},[l,y,d,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:c}=l;x.current?.scrollToItem($.current<=o?o+c-1:o)},[x,l]);const N=u!==!1,P=(o,c,m)=>{f?.(m,o)},D=(o,c)=>{const m=ne(E.x,c.x,l,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,i,r)},V=({index:o,style:c})=>{const m=r[o],{startIndex:v,length:R}=y,Y=o>=v&&o<v+R;return t.jsx("div",{style:{...c},children:t.jsx(re,{enabled:N,firstMonthOfFY:s,timeframe:i,tick:m,tickIndex:o,isSelected:Y,onClick:P},o)})},k=document.getElementsByClassName("date-range-list")[0];return t.jsxs(t.Fragment,{children:[t.jsx(G,{ref:x,height:p,width:e,itemCount:r.length,itemSize:h,layout:"horizontal",className:"date-range-list",style:{overflowY:"hidden"},children:V}),z===!0&&k!=null?t.jsx(te,{parentNode:k,children:t.jsx(B,{axis:"x",defaultPosition:{x:0,y:0},position:E,bounds:{left:0,right:(r.length-l.length)*h},grid:[1,0],scale:1,onStop:D,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:l.length,ref:b,children:[t.jsx(Q,{children:t.jsx(j,{iconPosition:"left"})}),t.jsx(ee,{children:t.jsx(j,{iconPosition:"right"})})]})})}):null]})}function he(e){return t.jsx(Z,{children:t.jsx(_,{children:({width:s})=>t.jsx(ie,{...e,width:s})})})}export{p as a,he as p};
64
+ `;function j({iconPosition:e}){switch(e){case"left":return t.jsx(W,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(X,{className:"slider-icon",fill:"currentColor"});default:throw Error("Invalid iconPosition")}}function te(e){return q.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:s,timeframe:i,tick:r,tickIndex:u,isSelected:a,onClick:f}){return t.jsx(A,{isEnabled:e,isSelected:a,onClick:()=>{f(r,u,i)},children:t.jsx(J,{children:U(s,r,i)})})}function ne(e,s,i,r,u){const a=s-e,f=Math.floor(e/h)+Math.round(a/h),w=f+i.length-r.length,x=f+i.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:i.length},fromEnd:{offsetFromEnd:b,length:i.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let i={startIndex:0,length:0};if(oe(e))i=e;else{const r=e.length;i={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return i}function ie({width:e,firstMonthOfFY:s,timeframe:i,timeframeTicks:r,isEnabled:u,selection:a,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[l,T]=n.useState(I(a.selectedTicks,r)),$=n.useRef(l.startIndex);n.useEffect(()=>{$.current=l.startIndex});const[y,C]=n.useState(a.highlightedOfSelectedTicks),O=(l.startIndex+l.length>r.length?Math.max(r.length-l.length,0):l.startIndex)*h,[E,F]=n.useState({x:O,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(a.selectedTicks,r);if(!S(l,o)){T(o);const c=o.startIndex*h;F({x:c,y:0})}S(y,a.highlightedOfSelectedTicks)||C(a.highlightedOfSelectedTicks)},[l,y,a,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:c}=l;x.current?.scrollToItem($.current<=o?o+c-1:o)},[x,l]);const N=u!==!1,P=(o,c,m)=>{f?.(m,o)},D=(o,c)=>{const m=ne(E.x,c.x,l,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,i,r)},V=({index:o,style:c})=>{const m=r[o],{startIndex:v,length:R}=y,Y=o>=v&&o<v+R;return t.jsx("div",{style:{...c},children:t.jsx(re,{enabled:N,firstMonthOfFY:s,timeframe:i,tick:m,tickIndex:o,isSelected:Y,onClick:P},o)})},k=document.getElementsByClassName("date-range-list")[0];return t.jsxs(t.Fragment,{children:[t.jsx(G,{ref:x,height:p,width:e,itemCount:r.length,itemSize:h,layout:"horizontal",className:"date-range-list",style:{overflowY:"hidden"},children:V}),z===!0&&k!=null?t.jsx(te,{parentNode:k,children:t.jsx(B,{axis:"x",defaultPosition:{x:0,y:0},position:E,bounds:{left:0,right:(r.length-l.length)*h},grid:[1,0],scale:1,onStop:D,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:l.length,ref:b,children:[t.jsx(Q,{children:t.jsx(j,{iconPosition:"left"})}),t.jsx(ee,{children:t.jsx(j,{iconPosition:"right"})})]})})}):null]})}function he(e){return t.jsx(Z,{children:t.jsx(_,{children:({width:s})=>t.jsx(ie,{...e,width:s})})})}export{p as a,he as p};
@@ -1,4 +1,4 @@
1
- import{V as s,o,ai as f,F as p}from"./index-AqGiWrum.js";import{n}from"./mui-C_Pjuwl5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b1f7281b-79ab-4ce2-933f-046b7ce5b51a",e._sentryDebugIdIdentifier="sentry-dbid-b1f7281b-79ab-4ce2-933f-046b7ce5b51a")}catch{}})();const u=n.div`
1
+ import{V as s,o,ai as f,F as p}from"./index-BhvUwV_v.js";import{n}from"./mui-DqYnCiYu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b1f7281b-79ab-4ce2-933f-046b7ce5b51a",e._sentryDebugIdIdentifier="sentry-dbid-b1f7281b-79ab-4ce2-933f-046b7ce5b51a")}catch{}})();const u=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{Q as n,V as t,y as d,ai as u,bI as w}from"./index-AqGiWrum.js";import{n as r}from"./mui-C_Pjuwl5.js";import{b as l}from"./TimeframeSwitcher-CJnjD8oY-C839RlNd.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]="19b3fb0d-1479-443e-9115-0153106952f0",e._sentryDebugIdIdentifier="sentry-dbid-19b3fb0d-1479-443e-9115-0153106952f0")}catch{}})();const s="ZeniSwitch",i={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),x=r(b)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>t.jsx(x,{...e}),c={timeframePaddingLeft:new d(0,0,125),timeframePaddingBottom:new d(8,8,0)},y=r.div`
1
+ import{Q as s,V as t,y as n,ai as u,bI as w}from"./index-BhvUwV_v.js";import{n as r}from"./mui-DqYnCiYu.js";import{b as l}from"./TimeframeSwitcher-CCMyvSSI-DIRa_Jc4.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]="dbc414d9-9d9d-4ffa-93e9-38384a7f0df3",e._sentryDebugIdIdentifier="sentry-dbid-dbc414d9-9d9d-4ffa-93e9-38384a7f0df3")}catch{}})();const d="ZeniSwitch",i={root:`${d}-root`,switchBase:`${d}-switchBase`,track:`${d}-track`,thumb:`${d}-thumb`},b=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),x=r(b)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>t.jsx(x,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -28,4 +28,4 @@ import{Q as n,V as t,y as d,ai as u,bI as w}from"./index-AqGiWrum.js";import{n a
28
28
  `,C=r(u)`
29
29
  color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
30
30
  opacity: ${e=>e.isDisabled?.5:1};
31
- `,f=({label:e,isOn:o,isToggleDisabled:a,onValueChanged:h})=>t.jsxs(t.Fragment,{children:[t.jsx(C,{isOn:o,isDisabled:a===!0,children:e}),t.jsx(p,{checked:o,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:g=>{h(g.target.checked)}})]}),T=e=>{const o=n();return t.jsxs(y,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(k,{children:t.jsx(f,{...e.toggle})})]})},v=e=>{const o=n();return t.jsxs($,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(j,{children:t.jsx(f,{...e.toggle})})]})};function I(e){const o=n();return o==="small"||o==="medium-compact"?t.jsx(T,{...e}):t.jsx(v,{...e})}export{I as M};
31
+ `,f=({label:e,isOn:o,isToggleDisabled:a,onValueChanged:h})=>t.jsxs(t.Fragment,{children:[t.jsx(C,{isOn:o,isDisabled:a===!0,children:e}),t.jsx(p,{checked:o,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:g=>{h(g.target.checked)}})]}),T=e=>{const o=s();return t.jsxs(y,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(k,{children:t.jsx(f,{...e.toggle})})]})},v=e=>{const o=s();return t.jsxs($,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(j,{children:t.jsx(f,{...e.toggle})})]})};function I(e){const o=s();return o==="small"||o==="medium-compact"?t.jsx(T,{...e}):t.jsx(v,{...e})}export{I as M};
@@ -1,4 +1,4 @@
1
- import{aD as M,Q as z,V as t,g as x,u as f,b as T,aY as Q,aN as R,aL as H,o as p,ai as C,b9 as Y,al as F,F as S,aM as X,aS as E,b2 as G,b3 as N,aP as q,aT as U,bQ as W}from"./index-AqGiWrum.js";import{S as w,a as Z}from"./sentry-CTKU7CLc.js";import{F3 as J}from"./zeni-epic-state-Cl3KIlic.js";import{n as g}from"./mui-C_Pjuwl5.js";import{A as ee,I as te}from"./ReloadCard-DQ8-0JyV-DB-bkjWN.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-DdD14QZ1.js";import{H as k,X as L,Y as $,K as O,O as A,Q as ne,S as oe}from"./recharts-BGj_NTVO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8971a841-4d94-4e9c-a2f0-ec7a13b6e925",e._sentryDebugIdIdentifier="sentry-dbid-8971a841-4d94-4e9c-a2f0-ec7a13b6e925")}catch{}})();const ie=g(E)`
1
+ import{aD as M,Q as z,V as t,g as x,u as f,b as T,aY as Q,aN as R,aL as H,o as p,ai as C,b9 as Y,al as F,F as S,aM as X,aS as E,b2 as G,b3 as N,aP as q,aT as U,bQ as W}from"./index-BhvUwV_v.js";import{P as w,a as Z}from"./sentry-DgGQRl6g.js";import{F3 as J}from"./zeni-epic-state-WWg2r7iB.js";import{n as g}from"./mui-DqYnCiYu.js";import{A as ee,I as te}from"./ReloadCard-8Tiu9Mq9-WidMrFBg.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-Bx_mQw5e.js";import{H as k,X as L,Y as P,K as $,O,Q as ne,S as oe}from"./recharts-D7E0WJGk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="43cd8700-5c7f-4837-a543-9077b2a5033b",e._sentryDebugIdIdentifier="sentry-dbid-43cd8700-5c7f-4837-a543-9077b2a5033b")}catch{}})();const ie=g(E)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -13,7 +13,7 @@ import{aD as M,Q as z,V as t,g as x,u as f,b as T,aY as Q,aN as R,aL as H,o as p
13
13
  flex: 0 1 auto;
14
14
  flex-direction: row;
15
15
  align-items: center;
16
- `;function ue({dimension:e,reportTitle:n,cardType:r,cardIndex:l,onCardClick:i,timeframe:o,allowedValues:d,chartElement:s,onTimeframeChange:h}){const c=d.length>0?" - ":"";return t.jsx(X,{"data-testid":q("dashboard",`${r}-timeframe-${o}`),style:{cursor:"pointer"},dimension:e,onClick:()=>i(l,r),children:t.jsxs(E,{children:[t.jsxs(D,{style:{marginBottom:f[3]},children:[t.jsx(me,{children:n!=null?n+c:G(r)+c})," ",d.length>0?t.jsx(he,{timeframeSelected:o,onTimeframeChanged:a=>h?.(a??"month"),allowedValues:d}):null]}),t.jsx(D,{style:{width:"100%",height:"100%",cursor:"pointer"},children:t.jsx("div",{style:{width:"100%",height:"100%"},children:t.jsx(N,{children:({height:a,width:m})=>s(m,a)})})})]})})}function P({card:e,reportTitle:n,actions:r,timeframe:l,allowedValues:i,chartElement:o,onTimeframeChange:d}){return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?t.jsx(ee,{dimension:e.dimension,animated:!e.disableAnimations}):e.fetchState==="Error"?t.jsx(te,{dimension:e.dimension,cardType:e.cardType,cardIndex:e.cardIndex,onReloadData:r.onReloadData,reportTitle:n}):t.jsx(ue,{dimension:e.dimension,reportTitle:n,cardType:e.cardType,cardIndex:e.cardIndex,onCardClick:r.onCardClick,timeframe:l,allowedValues:i??["month","quarter","year"],chartElement:o,onTimeframeChange:s=>{r.onTimeframeChange?.(e.cardType,s),d?.(e.cardType,s)}})}w.memo(P);const B=(e,n,r)=>{const l=n.map(a=>({label:a.timePeriod,startDate:a.startDate,endDate:a.endDate})),i=r.total,o=r.accountsOrdered.map(a=>({accountId:a.accountId,accountDescription:a.accountDescription,balance:a.balance,logo:a.logo}))??[],d=Math.min(e,o.length),s=o.length?e-o.length:0,h=i?.amount;if(o.length>0&&s>0&&h!=null&&h!==0){const a=o[d-1].balance,m=a?.available?.amount!=null?Math.min(30,a?.available?.amount/h*100):30;for(let u=0;u<s;u+=1){const y=m*(s-u)/(s+1);o.push({accountId:u.toString(),accountDescription:"",balance:{available:{amount:h*y/100,currencySymbol:a.available.currencySymbol,currencyCode:a.available.currencyCode}}})}}const c=o.map(a=>{const m="top_expenses",u={accountId:a.accountId,accountDescription:a.accountDescription,total:i??void 0,logo:a.logo??"",barKey:m};return u[m]=a.balance.available,u});return{timeframeLabelsInOrder:l,chartItems:c}},b=37,j=2,ge=g.div`
16
+ `;function ue({dimension:e,reportTitle:n,cardType:r,cardIndex:l,onCardClick:i,timeframe:o,allowedValues:d,chartElement:s,onTimeframeChange:h}){const c=d.length>0?" - ":"";return t.jsx(X,{"data-testid":q("dashboard",`${r}-timeframe-${o}`),style:{cursor:"pointer"},dimension:e,onClick:()=>i(l,r),children:t.jsxs(E,{children:[t.jsxs(D,{style:{marginBottom:f[3]},children:[t.jsx(me,{children:n!=null?n+c:G(r)+c})," ",d.length>0?t.jsx(he,{timeframeSelected:o,onTimeframeChanged:a=>h?.(a??"month"),allowedValues:d}):null]}),t.jsx(D,{style:{width:"100%",height:"100%",cursor:"pointer"},children:t.jsx("div",{style:{width:"100%",height:"100%"},children:t.jsx(N,{children:({height:a,width:m})=>s(m,a)})})})]})})}function A({card:e,reportTitle:n,actions:r,timeframe:l,allowedValues:i,chartElement:o,onTimeframeChange:d}){return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?t.jsx(ee,{dimension:e.dimension,animated:!e.disableAnimations}):e.fetchState==="Error"?t.jsx(te,{dimension:e.dimension,cardType:e.cardType,cardIndex:e.cardIndex,onReloadData:r.onReloadData,reportTitle:n}):t.jsx(ue,{dimension:e.dimension,reportTitle:n,cardType:e.cardType,cardIndex:e.cardIndex,onCardClick:r.onCardClick,timeframe:l,allowedValues:i??["month","quarter","year"],chartElement:o,onTimeframeChange:s=>{r.onTimeframeChange?.(e.cardType,s),d?.(e.cardType,s)}})}w.memo(A);const B=(e,n,r)=>{const l=n.map(a=>({label:a.timePeriod,startDate:a.startDate,endDate:a.endDate})),i=r.total,o=r.accountsOrdered.map(a=>({accountId:a.accountId,accountDescription:a.accountDescription,balance:a.balance,logo:a.logo}))??[],d=Math.min(e,o.length),s=o.length?e-o.length:0,h=i?.amount;if(o.length>0&&s>0&&h!=null&&h!==0){const a=o[d-1].balance,m=a?.available?.amount!=null?Math.min(30,a?.available?.amount/h*100):30;for(let u=0;u<s;u+=1){const y=m*(s-u)/(s+1);o.push({accountId:u.toString(),accountDescription:"",balance:{available:{amount:h*y/100,currencySymbol:a.available.currencySymbol,currencyCode:a.available.currencyCode}}})}}const c=o.map(a=>{const m="top_expenses",u={accountId:a.accountId,accountDescription:a.accountDescription,total:i??void 0,logo:a.logo??"",barKey:m};return u[m]=a.balance.available,u});return{timeframeLabelsInOrder:l,chartItems:c}},b=37,j=2,ge=g.div`
17
17
  display: flex;
18
18
  flex-direction: row;
19
19
  flex: 1 1 auto;
@@ -35,4 +35,4 @@ import{aD as M,Q as z,V as t,g as x,u as f,b as T,aY as Q,aN as R,aL as H,o as p
35
35
  `,be=g(F)`
36
36
  flex: 1 1 0;
37
37
  margin-right: ${p.sp2};
38
- `;function je({report:e,width:n,height:r,showBarHoverBackground:l}){const i=x(),o=B(e.topExpenses.accountsOrdered.length,e.allTimePeriods,e.topExpenses),d=(s,h)=>t.jsx(O,{dataKey:c=>{const a=c[h]!=null?c[h]:void 0;return a!=null&&a.amount>0?a.amount:0},isAnimationActive:!0,animationDuration:800,background:{fill:i.colors.background},children:s.map(c=>t.jsx(A,{fill:i.colors.topExCustomColor},h))},Math.random());return o.chartItems.length===0?null:t.jsx(De,{chartItemArray:o.chartItems,showBarHoverBackground:l,barElement:d(o.chartItems,o.chartItems[0].barKey),width:n,height:r})}const we=e=>{const{barKey:n,payload:r,chartItems:l,width:i,y:o}=e,d=r.value,s=l.find(h=>h.accountId==d);return s==null||s.accountDescription==null?null:t.jsx("foreignObject",{y:o-r.offset+j,width:i,height:b,children:t.jsxs(ge,{children:[t.jsxs(pe,{children:[t.jsx(fe,{src:s.logo,alt:s.accountDescription,loading:"lazy"}),t.jsx(xe,{children:s.accountDescription})]}),t.jsx(ye,{children:"⟶"}),t.jsx(be,{children:R("0,0",s[n])})]})})},De=({chartItemArray:e,barElement:n,width:r,height:l})=>{const i=e[0],o=i.total,d=i.barKey;return t.jsxs(k,{data:e,layout:"vertical",width:r,barCategoryGap:j,height:e.length?(b+2*j)*e.length:l,barSize:b,margin:{top:0,right:0,left:0,bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:"default"},children:[t.jsx(L,{hide:!0,axisLine:!1,type:"number",domain:[s=>Math.min(0,s),o?.amount??0]}),t.jsx($,{orientation:"left",yAxisId:0,dataKey:s=>s.accountId,type:"category",axisLine:!1,tickLine:!1,width:r/2,mirror:!1,tick:t.jsx(we,{width:r/2,chartItems:e,barKey:d})}),n]})},I=41,v=4;function Ie({report:e,width:n,height:r,showBarHoverBackground:l,isDetailPage:i}){const o=x(),d=B(i===!0?e.topExpenses.accountsOrdered.length:6,e.allTimePeriods,e.topExpenses),s=(h,c,a)=>t.jsxs(O,{dataKey:m=>{const u=m[c]!=null?m[c]:void 0;return u!=null&&u.amount>0?u.amount:0},isAnimationActive:!0,animationDuration:i===!0?800:void 0,background:void 0,children:[t.jsx(ne,{dataKey:"accountDescription",position:"insideLeft",offset:8,content:m=>{const{x:u,y,value:K,height:_,offset:V}=m;return t.jsx(oe,{x:u+V,y:y+_/2,fill:o.colors.hero,fontSize:T.smallRegular.fontSize,verticalAnchor:"middle",width:a-110,maxLines:1,children:K})}}),h.map(m=>t.jsx(A,{fill:m.accountDescription!==""?o.colors.graphColor29:o.colors.grey3,fillOpacity:m.accountDescription!==""?.32:1},c))]},Math.random());return d.chartItems.length===0?null:t.jsx(ve,{chartItemArray:d.chartItems,showBarHoverBackground:l,barElement:s(d.chartItems,d.chartItems[0].barKey,n),width:n,height:r,isDetailPage:i===!0})}const ve=({chartItemArray:e,barElement:n,width:r,height:l,isDetailPage:i})=>{const o=x(),d=e[0],s=d.total,h=d.barKey,c=s?.currencySymbol??"";return t.jsxs(k,{data:e,layout:"vertical",width:r,barCategoryGap:i?v:2,height:i?e.length?(I+2*v)*e.length:l:l+5,barSize:i?I:38,margin:{top:0,right:i?f[0]:f[3],left:i?f[0]:f[3],bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:i?"default":"pointer"},children:[t.jsx(L,{hide:!0,axisLine:!1,type:"number",domain:[a=>Math.min(0,a),s?.amount??0]}),t.jsx($,{orientation:"right",yAxisId:0,dataKey:a=>{const m=a[h]!=null?a[h]:void 0,{accountDescription:u}=a;return u!==""&&m!=null?m.amount:0},type:"category",axisLine:!1,tickLine:!1,width:r,mirror:!0,tick:{fill:o.colors.hero,...T.smallRegular.cssObject},tickFormatter:a=>a!==0?Q("0,0.[00]a",a,c):""}),n]})};function Te(e){const n=z();return n!=="small"&&n!=="medium-compact"&&e.isDetailPage===!0?t.jsx(je,{...e}):t.jsx(Ie,{...e})}const Ce=w.memo(Te,M);function Se(e){if(e==null||e.length===0)return!0;let n=!0;for(const r of e)if(r.balance.available.amount!==0){n=!1;break}return n}function Ee({card:e,actions:n,data:r,dndProps:l}){const[i,o]=Z.useState(r?.topExTimePeriod??"last_month"),d=[...J],s=e.fetchState==="Completed"?Se(r?.topExpenses.accountsOrdered):!1,h=(c,a)=>s===!1?t.jsx(Ce,{report:r,width:c,height:a,timeframe:i}):t.jsx(ce,{width:c,height:a,label:S.getLocalizedStrings().chartCard.no_data.top_expenses[i]});return t.jsx(H,{isDragging:l?.draggedCardType!=null,isDragOver:l?.dragOverCard===e.cardType,draggable:!0,onDragStart:c=>l?.onDragStart(e.cardType,c),onDragOver:c=>l?.onDragOver(c,e.cardType),onDragLeave:c=>l?.onDragLeave(c),onDrop:c=>l?.onDrop(c,e.cardType),dimension:e.dimension,children:t.jsx(P,{card:e,actions:n,timeframe:i,chartElement:h,allowedValues:d,onTimeframeChange:(c,a)=>o(a)})},e.cardIndex)}w.memo(Ee);export{Se as E,Ce as I,Ee as L,P as O,ce as c};
38
+ `;function je({report:e,width:n,height:r,showBarHoverBackground:l}){const i=x(),o=B(e.topExpenses.accountsOrdered.length,e.allTimePeriods,e.topExpenses),d=(s,h)=>t.jsx($,{dataKey:c=>{const a=c[h]!=null?c[h]:void 0;return a!=null&&a.amount>0?a.amount:0},isAnimationActive:!0,animationDuration:800,background:{fill:i.colors.background},children:s.map(c=>t.jsx(O,{fill:i.colors.topExCustomColor},h))},Math.random());return o.chartItems.length===0?null:t.jsx(De,{chartItemArray:o.chartItems,showBarHoverBackground:l,barElement:d(o.chartItems,o.chartItems[0].barKey),width:n,height:r})}const we=e=>{const{barKey:n,payload:r,chartItems:l,width:i,y:o}=e,d=r.value,s=l.find(h=>h.accountId==d);return s==null||s.accountDescription==null?null:t.jsx("foreignObject",{y:o-r.offset+j,width:i,height:b,children:t.jsxs(ge,{children:[t.jsxs(pe,{children:[t.jsx(fe,{src:s.logo,alt:s.accountDescription,loading:"lazy"}),t.jsx(xe,{children:s.accountDescription})]}),t.jsx(ye,{children:"⟶"}),t.jsx(be,{children:R("0,0",s[n])})]})})},De=({chartItemArray:e,barElement:n,width:r,height:l})=>{const i=e[0],o=i.total,d=i.barKey;return t.jsxs(k,{data:e,layout:"vertical",width:r,barCategoryGap:j,height:e.length?(b+2*j)*e.length:l,barSize:b,margin:{top:0,right:0,left:0,bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:"default"},children:[t.jsx(L,{hide:!0,axisLine:!1,type:"number",domain:[s=>Math.min(0,s),o?.amount??0]}),t.jsx(P,{orientation:"left",yAxisId:0,dataKey:s=>s.accountId,type:"category",axisLine:!1,tickLine:!1,width:r/2,mirror:!1,tick:t.jsx(we,{width:r/2,chartItems:e,barKey:d})}),n]})},I=41,v=4;function Ie({report:e,width:n,height:r,showBarHoverBackground:l,isDetailPage:i}){const o=x(),d=B(i===!0?e.topExpenses.accountsOrdered.length:6,e.allTimePeriods,e.topExpenses),s=(h,c,a)=>t.jsxs($,{dataKey:m=>{const u=m[c]!=null?m[c]:void 0;return u!=null&&u.amount>0?u.amount:0},isAnimationActive:!0,animationDuration:i===!0?800:void 0,background:void 0,children:[t.jsx(ne,{dataKey:"accountDescription",position:"insideLeft",offset:8,content:m=>{const{x:u,y,value:K,height:_,offset:V}=m;return t.jsx(oe,{x:u+V,y:y+_/2,fill:o.colors.hero,fontSize:T.smallRegular.fontSize,verticalAnchor:"middle",width:a-110,maxLines:1,children:K})}}),h.map(m=>t.jsx(O,{fill:m.accountDescription!==""?o.colors.graphColor29:o.colors.grey3,fillOpacity:m.accountDescription!==""?.32:1},c))]},Math.random());return d.chartItems.length===0?null:t.jsx(ve,{chartItemArray:d.chartItems,showBarHoverBackground:l,barElement:s(d.chartItems,d.chartItems[0].barKey,n),width:n,height:r,isDetailPage:i===!0})}const ve=({chartItemArray:e,barElement:n,width:r,height:l,isDetailPage:i})=>{const o=x(),d=e[0],s=d.total,h=d.barKey,c=s?.currencySymbol??"";return t.jsxs(k,{data:e,layout:"vertical",width:r,barCategoryGap:i?v:2,height:i?e.length?(I+2*v)*e.length:l:l+5,barSize:i?I:38,margin:{top:0,right:i?f[0]:f[3],left:i?f[0]:f[3],bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:i?"default":"pointer"},children:[t.jsx(L,{hide:!0,axisLine:!1,type:"number",domain:[a=>Math.min(0,a),s?.amount??0]}),t.jsx(P,{orientation:"right",yAxisId:0,dataKey:a=>{const m=a[h]!=null?a[h]:void 0,{accountDescription:u}=a;return u!==""&&m!=null?m.amount:0},type:"category",axisLine:!1,tickLine:!1,width:r,mirror:!0,tick:{fill:o.colors.hero,...T.smallRegular.cssObject},tickFormatter:a=>a!==0?Q("0,0.[00]a",a,c):""}),n]})};function Te(e){const n=z();return n!=="small"&&n!=="medium-compact"&&e.isDetailPage===!0?t.jsx(je,{...e}):t.jsx(Ie,{...e})}const Ce=w.memo(Te,M);function Se(e){if(e==null||e.length===0)return!0;let n=!0;for(const r of e)if(r.balance.available.amount!==0){n=!1;break}return n}function Ee({card:e,actions:n,data:r,dndProps:l}){const[i,o]=Z.useState(r?.topExTimePeriod??"last_month"),d=[...J],s=e.fetchState==="Completed"?Se(r?.topExpenses.accountsOrdered):!1,h=(c,a)=>s===!1?t.jsx(Ce,{report:r,width:c,height:a,timeframe:i}):t.jsx(ce,{width:c,height:a,label:S.getLocalizedStrings().chartCard.no_data.top_expenses[i]});return t.jsx(H,{isDragging:l?.draggedCardType!=null,isDragOver:l?.dragOverCard===e.cardType,draggable:!0,onDragStart:c=>l?.onDragStart(e.cardType,c),onDragOver:c=>l?.onDragOver(c,e.cardType),onDragLeave:c=>l?.onDragLeave(c),onDrop:c=>l?.onDrop(c,e.cardType),dimension:e.dimension,children:t.jsx(A,{card:e,actions:n,timeframe:i,chartElement:h,allowedValues:d,onTimeframeChange:(c,a)=>o(a)})},e.cardIndex)}w.memo(Ee);export{Se as E,Ce as I,Ee as L,A as O,ce as c};
@@ -1,4 +1,4 @@
1
- import{g as b,Q as S,V as t,bB as B,F as f,aN as j,b3 as A,G as P,o as i,y as E,bP as H,bs as V,u as c,p as z,al as $,aP as F,a$ as T}from"./index-AqGiWrum.js";import{n}from"./mui-C_Pjuwl5.js";import{F3 as D}from"./zeni-epic-state-Cl3KIlic.js";import{E as _,I}from"./TopExCard-CK7rIKlo-BNMHqp-4.js";import{b as M}from"./TimeframeSwitcher-CJnjD8oY-C839RlNd.js";import{d as L}from"./NoDataTable-D_VKD0kA-DmQluo-I.js";import{S as Z,a as o}from"./sentry-CTKU7CLc.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"./ReloadCard-DQ8-0JyV-DB-bkjWN.js";import"./graphic-no-data-l-DU4J8fDt-DdD14QZ1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="3c177713-22b1-41b3-a705-91004131d1f4",e._sentryDebugIdIdentifier="sentry-dbid-3c177713-22b1-41b3-a705-91004131d1f4")}catch{}})();const v="141px",O=i.sp4,N="123px",Q=n(T)`
1
+ import{g as j,Q as B,V as t,bB as P,F as x,aN as b,b3 as S,G as A,o as i,y as E,bP as H,bs as V,u as c,p as z,al as $,aP as F,a$ as T}from"./index-BhvUwV_v.js";import{n}from"./mui-DqYnCiYu.js";import{F3 as D}from"./zeni-epic-state-WWg2r7iB.js";import{E as _,I}from"./TopExCard-B4CpuO-v-CxDodwtl.js";import{b as M}from"./TimeframeSwitcher-CCMyvSSI-DIRa_Jc4.js";import{d as L}from"./NoDataTable-CgKT7NGU-CuzMQ4sx.js";import{P as Z,a as o}from"./sentry-DgGQRl6g.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"./ReloadCard-8Tiu9Mq9-WidMrFBg.js";import"./graphic-no-data-l-DU4J8fDt-Bx_mQw5e.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="226259f1-590e-40a5-925e-87dfd11e4717",e._sentryDebugIdIdentifier="sentry-dbid-226259f1-590e-40a5-925e-87dfd11e4717")}catch{}})();const v="141px",O=i.sp4,N="123px",Q=n(T)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -42,7 +42,7 @@ import{g as b,Q as S,V as t,bB as B,F as f,aN as j,b3 as A,G as P,o as i,y as E,
42
42
  min-width: ${N};
43
43
  text-align: left;
44
44
  margin-left: ${i.sp4};
45
- `;function q({leftChevron:e,account:l,onAccountBalanceClick:a}){const s=l!=null&&l.balance!=null,r=e==="hidden",g=s?"pointer":"default",d=r===!1&&s,w=d?"pointer":"default",h=r?c[6]:c[4],m=Q,{common:{strings:{empty:y}}}=f.getLocalizedStrings(),C=l?.accountDescription?l.accountDescription:y,x=l?.accountName?l.accountName:C;return t.jsxs(R,{isClickable:d,children:[t.jsxs(W,{style:{cursor:w},isClickable:d,children:[r===!1?t.jsx(m,{style:{minWidth:c[3],minHeight:c[3]}}):null,t.jsx(X,{"data-testid":F("top-ex-account-name",x),style:{marginLeft:h},title:x,onClick:()=>{d&&l!=null&&l.balance!=null&&a?.(l)},children:x})]}),t.jsx(G,{style:{cursor:g},children:t.jsx(K,{isClickable:s,onClick:()=>{l?.balance!=null&&a?.(l)},children:j("0,0",l?.balance.available)})})]})}const J=n.div`
45
+ `;function q({leftChevron:e,account:l,onAccountBalanceClick:a}){const s=l!=null&&l.balance!=null,r=e==="hidden",g=s?"pointer":"default",d=r===!1&&s,w=d?"pointer":"default",h=r?c[6]:c[4],m=Q,{common:{strings:{empty:y}}}=x.getLocalizedStrings(),C=l?.accountDescription?l.accountDescription:y,f=l?.accountName?l.accountName:C;return t.jsxs(R,{isClickable:d,children:[t.jsxs(W,{style:{cursor:w},isClickable:d,children:[r===!1?t.jsx(m,{style:{minWidth:c[3],minHeight:c[3]}}):null,t.jsx(X,{"data-testid":F("top-ex-account-name",f),style:{marginLeft:h},title:f,onClick:()=>{d&&l!=null&&l.balance!=null&&a?.(l)},children:f})]}),t.jsx(G,{style:{cursor:g},children:t.jsx(K,{isClickable:s,onClick:()=>{l?.balance!=null&&a?.(l)},children:b("0,0",l?.balance.available)})})]})}const J=n.div`
46
46
  display: flex;
47
47
  width: 100%;
48
48
  flex-direction: column;
@@ -84,7 +84,7 @@ import{g as b,Q as S,V as t,bB as B,F as f,aN as j,b3 as A,G as P,o as i,y as E,
84
84
  `,ce=n($)`
85
85
  color: ${z.alert};
86
86
  margin: ${i.sp3} ${i.sp0} ${i.sp5} ${i.sp0};
87
- `;function de(){switch(b().mode){case"light":return t.jsx(oe,{width:"100%",preserveAspectRatio:"none"});case"dark":default:return t.jsx(le,{width:"100%",preserveAspectRatio:"none"})}}function pe({title:e}){return t.jsxs(re,{children:[e!=null?t.jsx(ce,{children:e}):null,t.jsx(ae,{children:t.jsx(se,{children:t.jsx(de,{})})})]})}const u={wrapperPadding:new E(c[3],c[3],c[8]),chartContainerMinHeight:new E(c[12],c[11])},he=n.div`
87
+ `;function de(){switch(j().mode){case"light":return t.jsx(oe,{width:"100%",preserveAspectRatio:"none"});case"dark":default:return t.jsx(le,{width:"100%",preserveAspectRatio:"none"})}}function pe({title:e}){return t.jsxs(re,{children:[e!=null?t.jsx(ce,{children:e}):null,t.jsx(ae,{children:t.jsx(se,{children:t.jsx(de,{})})})]})}const u={wrapperPadding:new E(c[3],c[3],c[8]),chartContainerMinHeight:new E(c[12],c[11])},he=n.div`
88
88
  display: flex;
89
89
  flex: 1 1 auto;
90
90
  min-height: 100%;
@@ -99,13 +99,13 @@ import{g as b,Q as S,V as t,bB as B,F as f,aN as j,b3 as A,G as P,o as i,y as E,
99
99
  padding-bottom: ${i.sp0};
100
100
  padding-left: ${e=>u.wrapperPadding.valuePx(e.windowSize)};
101
101
  padding-right: ${e=>u.wrapperPadding.valuePx(e.windowSize)};
102
- `,xe=n.div`
102
+ `,fe=n.div`
103
103
  display: flex;
104
104
  flex-direction: row;
105
105
  flex: 1 1 auto;
106
106
  justify-content: center;
107
107
  max-width: 100%;
108
- `,fe=n.div`
108
+ `,xe=n.div`
109
109
  display: flex;
110
110
  padding: ${i.sp2} ${i.sp0} ${i.sp4} ${i.sp0};
111
111
  `,ue=n.div`
@@ -129,4 +129,4 @@ import{g as b,Q as S,V as t,bB as B,F as f,aN as j,b3 as A,G as P,o as i,y as E,
129
129
  margin-bottom: ${i.sp5};
130
130
  `,$e=n.div`
131
131
  display: flex;
132
- `;function Ie(e){const l=b(),{report:a,onTimeframeSelectionChanged:s,onAccountBalanceClick:r,onBackClick:g}=e,d=S(),w=[...D],h=_(a.topExpenses.accountsOrdered),{topExTimePeriod:m,topExpenses:y}=a,C=y.total,x=p=>{e.autoCompleteData.autoCompleteText!=null&&e.analytics?.trackSearch(P.Event.search,"Top Expenses",p.type,p.name,e.autoCompleteData.autoCompleteText),e.autoCompleteActions.onAutoCompleteEntity?.(p)};return t.jsxs(he,{children:[t.jsx(B,{source:"TopExDetailPage",title:f.getLocalizedStrings().reportTitleById.top_expenses,backgroundColor:l.colors.grey5,onBackClick:g,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:x}}}),t.jsxs(me,{windowSize:d,children:[t.jsx(fe,{children:t.jsx(xe,{children:t.jsx(M,{timeframes:w,selectedTimeframe:m,onTimeframeSelectionChanged:p=>{s?.(p)}})})}),h?null:t.jsxs(ge,{children:[t.jsx(we,{children:j("0,0",C)}),t.jsx(ye,{children:f.getLocalizedStrings().reports.detail.topEx.insightLabel})]}),h?t.jsx($e,{children:t.jsx(pe,{title:`${f.getLocalizedStrings().chartCard.no_data_available_for} ${f.getLocalizedStrings().timeframe[m]}`})}):t.jsx(Ce,{windowSize:d,children:t.jsx(A,{style:{height:"fit-content"},children:({height:p,width:k})=>t.jsx(I,{report:a,timeframe:m,showBarHoverBackground:!1,width:k,height:p,isDetailPage:!0})})})]}),t.jsx(ue,{windowSize:d,children:h?t.jsx(L,{}):t.jsx(ne,{report:a,onAccountBalanceClick:r})})]})}export{Ie as default};
132
+ `;function Ie(e){const l=j(),{report:a,onTimeframeSelectionChanged:s,onAccountBalanceClick:r,onBackClick:g}=e,d=B(),w=[...D],h=_(a.topExpenses.accountsOrdered),{topExTimePeriod:m,topExpenses:y}=a,C=y.total,f=p=>{e.autoCompleteData.autoCompleteText!=null&&e.analytics?.trackSearch(A.Event.search,"Top Expenses",p.type,p.name,e.autoCompleteData.autoCompleteText),e.autoCompleteActions.onAutoCompleteEntity?.(p)};return t.jsxs(he,{children:[t.jsx(P,{source:"TopExDetailPage",title:x.getLocalizedStrings().reportTitleById.top_expenses,backgroundColor:l.colors.grey5,onBackClick:g,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:f}}}),t.jsxs(me,{windowSize:d,children:[t.jsx(xe,{children:t.jsx(fe,{children:t.jsx(M,{timeframes:w,selectedTimeframe:m,onTimeframeSelectionChanged:p=>{s?.(p)}})})}),h?null:t.jsxs(ge,{children:[t.jsx(we,{children:b("0,0",C)}),t.jsx(ye,{children:x.getLocalizedStrings().reports.detail.topEx.insightLabel})]}),h?t.jsx($e,{children:t.jsx(pe,{title:`${x.getLocalizedStrings().chartCard.no_data_available_for} ${x.getLocalizedStrings().timeframe[m]}`})}):t.jsx(Ce,{windowSize:d,children:t.jsx(S,{style:{height:"fit-content"},children:({height:p,width:k})=>t.jsx(I,{report:a,timeframe:m,showBarHoverBackground:!1,width:k,height:p,isDetailPage:!0})})})]}),t.jsx(ue,{windowSize:d,children:h?t.jsx(L,{}):t.jsx(ne,{report:a,onAccountBalanceClick:r})})]})}export{Ie as default};
@@ -1,4 +1,4 @@
1
- import{P as Bn,n as Fn,g as Pt,a9 as Wn,Q as ae,F as B,aQ as Zt,dP as Hn,dQ as Gn,cE as Yn,aD as Jn,dR as nn,dS as Zn,V as i,ac as Xn,bB as Qn,dT as Kn,dU as ea,T as oi,dV as zi,aR as ta,y as N,aP as F,dW as an,dX as Te,dY as Oe,dZ as Pe,d_ as Ke,d$ as et,e0 as St,e1 as kt,e2 as tt,e3 as gt,e4 as zt,e5 as At,e6 as Xt,e7 as ee,e8 as ia,e9 as ei,ea as ue,eb as on,ec as pe,ed as sn,aJ as na,ee as Dt,ef as Ai,eg as aa,r as oa,co as sa,o as a,cc as la,eh as ra,u as O,G as wi,p as le,aq as Di,ba as si,e as ca,ei as da,cj as ua,ch as li,cI as st,ej as pa,ek as Ht,aU as ln,cY as ma,el as ha,cf as ga,cg as fa,aN as Le,al as fe,a$ as ya,em as ba,en as rn,eo as Qt,ep as Kt,eq as mi,de as xa,b3 as wa,cs as va,er as Ti,a8 as cn,es as ti,et as ii,eu as dn,cN as un,bS as Oi,ev as hi,dj as gi,ew as Ca,bs as Ia,ex as Ri,ey as $a,ez as Da,ay as Ta,eA as Oa,eB as La,a as pn,eC as mn,bJ as ja,eD as Ei,eE as hn,eF as gn,eG as fn,bH as lt,at as Sa,as as ka,ds as za,b as yn,eH as Aa,bF as Ra,x as Ea,am as Va,l as Pa,aW as vi}from"./index-AqGiWrum.js";import{a as v,S as Tt}from"./sentry-CTKU7CLc.js";import{n as l}from"./mui-C_Pjuwl5.js";import{Fu as _a,uu as Na,bE as Et,bD as Vt,bF as qa,c3 as Ua,l8 as Ma,bh as Ba}from"./zeni-epic-state-Cl3KIlic.js";import{x as Vi}from"./LabeledControlledCheckBoxField-CrOtltBs-BgazwPA0.js";import{R as Fa}from"./TrendWithTransactions-BhIw1vzx-DxHaizu4.js";import{u as Wa,c as Ha,d as Ga,m as Ya}from"./uploadAttachment-DKMAkDBt-BNugFjMC.js";import{o as Ja}from"./radio-default-CiSgisfh-DOAN6MGR.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"./TrendChart-DGkb9XC6-TghRUAyK.js";import"./chartTypes-CiiHHtlc-DhZqwiAZ.js";import"./toCOABalancesWithID-RFiSMP1Z-CSbaIcFr.js";import"./toChartData-DShY1WZ8-5FxZpBKl.js";import"./NoDataChart-Bwc_xftR-BPirwt2c.js";import"./InsightsSection-iq6BFe-O-DA4Jx3vy.js";import"./NavigationDots-DgfBVlG5-Begp91rh.js";import"./TransactionList-CKgtf7lj-CeKhT4wB.js";import"./BoxItem-CjZDlBaw-C6EB-mJ-.js";import"./commonDimensions-B94VpAp0-CDUYcayo.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]="ebcb559c-67ee-47b0-8b8a-f75456cba316",e._sentryDebugIdIdentifier="sentry-dbid-ebcb559c-67ee-47b0-8b8a-f75456cba316")}catch{}})();const Za={headerMarginTop:new N(O[7],O[8])},Xa=l(fe)`
1
+ import{P as Bn,n as Fn,g as Pt,a9 as Wn,Q as ae,F as B,aQ as Zt,dP as Hn,dQ as Gn,cE as Yn,aD as Jn,dR as nn,dS as Zn,V as i,ac as Xn,bB as Qn,dT as Kn,dU as ea,T as oi,dV as zi,aR as ta,y as N,aP as F,dW as an,dX as Te,dY as Oe,dZ as Pe,d_ as Ke,d$ as et,e0 as St,e1 as kt,e2 as tt,e3 as gt,e4 as zt,e5 as At,e6 as Xt,e7 as ee,e8 as ia,e9 as ei,ea as ue,eb as on,ec as pe,ed as sn,aJ as na,ee as Dt,ef as Ai,eg as aa,r as oa,co as sa,o as a,cc as la,eh as ra,u as O,G as wi,p as le,aq as Di,ba as si,e as ca,ei as da,cj as ua,ch as li,cI as st,ej as pa,ek as Ht,aU as ln,cY as ma,el as ha,cf as ga,cg as fa,aN as Le,al as fe,a$ as ya,em as ba,en as rn,eo as Qt,ep as Kt,eq as mi,de as xa,b3 as wa,cs as va,er as Ti,a8 as cn,es as ti,et as ii,eu as dn,cN as un,bS as Oi,ev as hi,dj as gi,ew as Ca,bs as Ia,ex as Ri,ey as $a,ez as Da,ay as Ta,eA as Oa,eB as La,a as pn,eC as mn,bJ as ja,eD as Ei,eE as hn,eF as gn,eG as fn,bH as lt,at as Sa,as as ka,ds as za,b as yn,eH as Aa,bF as Ra,x as Ea,am as Va,l as Pa,aW as vi}from"./index-BhvUwV_v.js";import{a as v,P as Tt}from"./sentry-DgGQRl6g.js";import{n as l}from"./mui-DqYnCiYu.js";import{Fu as _a,uu as Na,bE as Et,bD as Vt,bF as qa,c3 as Ua,l8 as Ma,bh as Ba}from"./zeni-epic-state-WWg2r7iB.js";import{x as Vi}from"./LabeledControlledCheckBoxField-DBcPQa79-B_0nrSFr.js";import{R as Fa}from"./TrendWithTransactions-zZUv_Qrs-BElxtx49.js";import{u as Wa,c as Ha,d as Ga,m as Ya}from"./uploadAttachment-ux9baWqa-BwjN4G2_.js";import{o as Ja}from"./radio-default-CiSgisfh-C5tnzklf.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"./TrendChart-dVd4QdGQ-CLKuTzb2.js";import"./chartTypes-DjzTOuyH-BFNN0c4F.js";import"./toCOABalancesWithID-CjVmQxAs-8r-ogQXf.js";import"./toChartData-BFuIgA2L-C4IkmCYG.js";import"./NoDataChart-qG0jmc8Z-Dctec7eR.js";import"./InsightsSection-CwyGEE7C-BgS40gth.js";import"./NavigationDots-BPsFQiss-Dqh0y0c_.js";import"./TransactionList-CSfzB0gM-Dw6vqliW.js";import"./BoxItem-C-LLQ7NS-CyKsGaF0.js";import"./commonDimensions-CtIrih5r-CfslRtQI.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]="3db24d9d-82fe-4844-a3dc-3036db5d66db",e._sentryDebugIdIdentifier="sentry-dbid-3db24d9d-82fe-4844-a3dc-3036db5d66db")}catch{}})();const Za={headerMarginTop:new N(O[7],O[8])},Xa=l(fe)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Qa=l(fe)`
4
4
  margin-right: ${a.sp1};
@@ -1,11 +1,11 @@
1
- import{cc as ct,Q as R,V as e,b3 as mt,aP as x,de as ft,df as xt,d9 as ut,dg as ht,o,p as Q,cs as pt,F as y,y as K,T as gt,al as v,u as g,ai as bt,dh as X,d0 as G,aN as J,am as wt}from"./index-AqGiWrum.js";import{a as p,S as $t}from"./sentry-CTKU7CLc.js";import{n}from"./mui-C_Pjuwl5.js";import{F4 as A,F5 as V,F6 as U,F7 as L,bh as yt,Fj as tt,bE as et}from"./zeni-epic-state-Cl3KIlic.js";import{g as it}from"./BoxItem-CjZDlBaw-C6EB-mJ-.js";import{o as B}from"./commonDimensions-B94VpAp0-CDUYcayo.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="f919fc36-58b1-4a01-8ac6-2afec3fe7cdc",t._sentryDebugIdIdentifier="sentry-dbid-f919fc36-58b1-4a01-8ac6-2afec3fe7cdc")}catch{}})();const D=t=>t?24:125,vt={containerPaddingBottom:new K(g[9],g[8])},q=n.div`
1
+ import{cc as ct,Q as R,V as e,b3 as mt,aP as x,de as ft,df as xt,d9 as ut,dg as ht,o,p as Q,cs as pt,F as y,y as K,T as gt,al as v,u as g,ai as bt,dh as X,d0 as G,aN as J,am as wt}from"./index-BhvUwV_v.js";import{a as p,P as $t}from"./sentry-DgGQRl6g.js";import{n}from"./mui-DqYnCiYu.js";import{F4 as A,F5 as V,F6 as U,F7 as L,bh as yt,Fj as tt,bE as et}from"./zeni-epic-state-WWg2r7iB.js";import{g as it}from"./BoxItem-C-LLQ7NS-CyKsGaF0.js";import{o as B}from"./commonDimensions-CtIrih5r-CfslRtQI.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="e61510c5-0305-4e42-a56b-6fed3d2fb725",t._sentryDebugIdIdentifier="sentry-dbid-e61510c5-0305-4e42-a56b-6fed3d2fb725")}catch{}})();const S=t=>t?24:125,vt={containerPaddingBottom:new K(g[9],g[8])},q=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
5
5
  flex-direction: row;
6
6
  justify-content: center;
7
7
  align-items: flex-end;
8
- height: ${t=>D(t.isLoadNextItem)}px;
8
+ height: ${t=>S(t.isLoadNextItem)}px;
9
9
  color: ${t=>t.theme.colors.grey1};
10
10
  &:hover {
11
11
  color: ${t=>t.theme.colors.champion};
@@ -54,7 +54,7 @@ import{cc as ct,Q as R,V as e,b3 as mt,aP as x,de as ft,df as xt,d9 as ut,dg as
54
54
  width: ${t=>B.amountWidth.valuePx(t.windowSize)};
55
55
  `,Pt=n.div`
56
56
  display: flex;
57
- `;function St({transaction:t,onItemClick:i}){const{description:d,typeName:a,amount:r,logo:m,vendorId:f}=t,l=et(t)&&f==null;return e.jsxs(Yt,{onClick:()=>i?.(t),"data-testid":x("transaction-item-medium",t.id),children:[e.jsx(X,{photoUrl:l===!1?m?.toString()??W:W,styles:{width:o.sp4,height:o.sp4,borderRadius:o.sp0},placeholder:{width:g[4],height:g[4]},fallbackAvatar:e.jsx(Pt,{children:e.jsx(G,{name:d,size:o.sp4})})}),e.jsxs(Lt,{children:[e.jsx(Ft,{children:d}),a!=null?e.jsx(kt,{className:"tag",children:a}):null]}),e.jsx(Mt,{children:J("0,0.00",r)})]})}function Dt({data:t,boxType:i,onItemClick:d}){const a=tt(t.type)==null,r=e.jsx(St,{transaction:t,onItemClick:a?void 0:d});return e.jsx(it,{content:r,boxType:i,isDisabled:a})}const{common:{strings:{empty:Z}}}=y.getLocalizedStrings(),It=n.div`
57
+ `;function Dt({transaction:t,onItemClick:i}){const{description:d,typeName:a,amount:r,logo:m,vendorId:f}=t,l=et(t)&&f==null;return e.jsxs(Yt,{onClick:()=>i?.(t),"data-testid":x("transaction-item-medium",t.id),children:[e.jsx(X,{photoUrl:l===!1?m?.toString()??W:W,styles:{width:o.sp4,height:o.sp4,borderRadius:o.sp0},placeholder:{width:g[4],height:g[4]},fallbackAvatar:e.jsx(Pt,{children:e.jsx(G,{name:d,size:o.sp4})})}),e.jsxs(Lt,{children:[e.jsx(Ft,{children:d}),a!=null?e.jsx(kt,{className:"tag",children:a}):null]}),e.jsx(Mt,{children:J("0,0.00",r)})]})}function St({data:t,boxType:i,onItemClick:d}){const a=tt(t.type)==null,r=e.jsx(Dt,{transaction:t,onItemClick:a?void 0:d});return e.jsx(it,{content:r,boxType:i,isDisabled:a})}const{common:{strings:{empty:Z}}}=y.getLocalizedStrings(),It=n.div`
58
58
  display: flex;
59
59
  padding: ${o.sp3} ${o.sp4};
60
60
  flex-direction: row;
@@ -80,7 +80,7 @@ import{cc as ct,Q as R,V as e,b3 as mt,aP as x,de as ft,df as xt,d9 as ut,dg as
80
80
  width: ${t=>B.amountWidth.valuePx(t.windowSize)};
81
81
  `,Ct=n.div`
82
82
  display: flex;
83
- `;function Ot({transaction:t,onItemClick:i}){const{description:d,amount:a,logo:r,vendorId:m}=t,f=et(t)&&m==null;return e.jsxs(It,{onClick:()=>i?.(t),"data-testid":x("transaction-item-small",t.id),children:[e.jsx(X,{photoUrl:f===!1?r?.toString()??Z:Z,styles:{width:o.sp4,height:o.sp4,borderRadius:o.sp0},placeholder:{width:g[4],height:g[4]},fallbackAvatar:e.jsx(Ct,{children:e.jsx(G,{name:d,size:o.sp4})})}),e.jsx(Tt,{children:e.jsx(zt,{children:d})}),e.jsx(Nt,{children:J("0,0.00",a)})]})}function Et({data:t,boxType:i,onItemClick:d}){const a=tt(t.type)==null,r=e.jsx(Ot,{transaction:t,onItemClick:a?void 0:d});return e.jsx(it,{content:r,boxType:i,isDisabled:a})}function Rt(t){return R()==="small"?e.jsx(Et,{...t}):e.jsx(Dt,{...t})}const Bt=n.div`
83
+ `;function Ot({transaction:t,onItemClick:i}){const{description:d,amount:a,logo:r,vendorId:m}=t,f=et(t)&&m==null;return e.jsxs(It,{onClick:()=>i?.(t),"data-testid":x("transaction-item-small",t.id),children:[e.jsx(X,{photoUrl:f===!1?r?.toString()??Z:Z,styles:{width:o.sp4,height:o.sp4,borderRadius:o.sp0},placeholder:{width:g[4],height:g[4]},fallbackAvatar:e.jsx(Ct,{children:e.jsx(G,{name:d,size:o.sp4})})}),e.jsx(Tt,{children:e.jsx(zt,{children:d})}),e.jsx(Nt,{children:J("0,0.00",a)})]})}function Et({data:t,boxType:i,onItemClick:d}){const a=tt(t.type)==null,r=e.jsx(Ot,{transaction:t,onItemClick:a?void 0:d});return e.jsx(it,{content:r,boxType:i,isDisabled:a})}function Rt(t){return R()==="small"?e.jsx(Et,{...t}):e.jsx(St,{...t})}const Bt=n.div`
84
84
  display: flex;
85
85
  flex: 1 1 auto;
86
86
  flex-direction: column;
@@ -101,7 +101,7 @@ import{cc as ct,Q as R,V as e,b3 as mt,aP as x,de as ft,df as xt,d9 as ut,dg as
101
101
  display: flex;
102
102
  flex: 1 1 auto;
103
103
  width: 99.9%;
104
- `,S=n.div`
104
+ `,D=n.div`
105
105
  margin: ${t=>`${o.sp0} ${Zt.listItemMargin.valuePx(t.windowSize)}`};
106
106
  `,Xt=n.div`
107
107
  min-height: ${o.sp8};
@@ -144,4 +144,4 @@ import{cc as ct,Q as R,V as e,b3 as mt,aP as x,de as ft,df as xt,d9 as ut,dg as
144
144
  border-radius: 2px;
145
145
  }
146
146
  }
147
- `,de=p.forwardRef(function({firstMonthOfFY:t,timeframe:i,timePeriod:d,transactions:a,isFirstLotLoading:r,currentScrollYOffset:m,componentName:f,showLoadNext:l,showLoadPrevious:s,onTransactionItemClick:u,trackPerformance:F=!0,onTransactionListScroll:b,onListInnerElementHeightChanged:j},k){const M=p.useMemo(()=>Wt(a),[a]),I=p.createRef(),[T,at]=p.useState(!1);p.useEffect(()=>{I.current?.resetAfterIndex(0)},[a,I]);const ot=k,Y=p.useRef(null),[rt,st]=p.useState(void 0);p.useEffect(()=>{!T&&r===!1&&at(!0)},[r,T]),ct({componentName:f,enabled:F&&T});const nt=()=>{if(Y!=null&&typeof Y=="object"&&Y.current){const c=Y.current;c!=null&&c.clientHeight>0&&c.clientHeight!=rt&&(st(c.clientHeight),j?.(c.clientHeight))}},z=M.length===0,H=s!=null,N=l!=null,C=M.length+(l!=null?1:0)+(s!=null?1:0)+(z===!0?1:0),_=c=>N===!0?c-1:c,P=R(),dt=({index:c,style:w})=>{if(N===!0&&c===0)return e.jsx("div",{style:{...w},children:e.jsx(S,{windowSize:P,"data-testid":x("transaction-list","list-item-load-more"),children:e.jsx(E,{firstMonthOfFY:t,isLoadNextItem:!0,isLoading:l?.isLoading==!0,timePeriod:d,timeframe:i,fixedTimePeriod:l?.fixedTimePeriod,doLoadMoreTransactions:(h,O)=>{l?.onLoadNextClick?.(h,O)}})})});if(H===!0&&c===C-1)return e.jsx("div",{style:{...w},children:e.jsx(S,{windowSize:P,"data-testid":x("transaction-list","list-item-load-previous"),children:e.jsx(E,{firstMonthOfFY:t,isLoadNextItem:!1,isLoading:s?.isLoading==!0,timePeriod:d,fixedTimePeriod:s?.fixedTimePeriod,timeframe:i,doLoadMoreTransactions:(h,O)=>{s?.onLoadPreviousClick?.(h,O)}})})});if(z===!1){const h=M[_(c)];return e.jsx("div",{style:{...w},children:e.jsxs(S,{windowSize:P,children:[e.jsx(Ut,{date:h.date,transactions:h.transactions,onItemClick:u}),s==null?e.jsx(Xt,{}):null]})})}else return e.jsx("div",{style:{...w},children:e.jsx(Gt,{children:e.jsx(S,{windowSize:P,"data-testid":x("transaction-list","transactions-list-empty"),children:e.jsx(Jt,{children:ee(d,l?.isLoading==!0||s?.isLoading==!0)})})})})},lt=c=>N===!0&&c===0?D(!0):H===!0&&c===C-1?D(!1):z===!1?At(M[_(c)].transactions.length):D(!1);return e.jsx(Kt,{children:e.jsx(mt,{children:({height:c,width:w})=>e.jsx(te,{"data-testid":x("transaction-list"),ref:I,height:c,width:w,innerRef:Y,outerRef:ot,onItemsRendered:nt,itemCount:C,itemSize:lt,onScroll:({scrollOffset:h})=>{b?.(h)},initialScrollOffset:m??0,children:dt})})})}),ee=(t,i)=>i===!0?$.transactionList.fetching:t.startDate.isSame(t.endDate,"month")?`${$.transactionList.noTransactionsFoundForPrefix} (${t.startDate.format($.dateFormat.visual.MMMYYFormat)})`:`${$.transactionList.noTransactionsFoundForPeriodPrefix} (${t.startDate.format($.dateFormat.visual.MMMYYFormat)} - ${t.endDate.format($.dateFormat.visual.MMMYYFormat)})`;export{de as f};
147
+ `,de=p.forwardRef(function({firstMonthOfFY:t,timeframe:i,timePeriod:d,transactions:a,isFirstLotLoading:r,currentScrollYOffset:m,componentName:f,showLoadNext:l,showLoadPrevious:s,onTransactionItemClick:u,trackPerformance:F=!0,onTransactionListScroll:b,onListInnerElementHeightChanged:j},k){const M=p.useMemo(()=>Wt(a),[a]),I=p.createRef(),[T,at]=p.useState(!1);p.useEffect(()=>{I.current?.resetAfterIndex(0)},[a,I]);const ot=k,Y=p.useRef(null),[rt,st]=p.useState(void 0);p.useEffect(()=>{!T&&r===!1&&at(!0)},[r,T]),ct({componentName:f,enabled:F&&T});const nt=()=>{if(Y!=null&&typeof Y=="object"&&Y.current){const c=Y.current;c!=null&&c.clientHeight>0&&c.clientHeight!=rt&&(st(c.clientHeight),j?.(c.clientHeight))}},z=M.length===0,H=s!=null,N=l!=null,C=M.length+(l!=null?1:0)+(s!=null?1:0)+(z===!0?1:0),_=c=>N===!0?c-1:c,P=R(),dt=({index:c,style:w})=>{if(N===!0&&c===0)return e.jsx("div",{style:{...w},children:e.jsx(D,{windowSize:P,"data-testid":x("transaction-list","list-item-load-more"),children:e.jsx(E,{firstMonthOfFY:t,isLoadNextItem:!0,isLoading:l?.isLoading==!0,timePeriod:d,timeframe:i,fixedTimePeriod:l?.fixedTimePeriod,doLoadMoreTransactions:(h,O)=>{l?.onLoadNextClick?.(h,O)}})})});if(H===!0&&c===C-1)return e.jsx("div",{style:{...w},children:e.jsx(D,{windowSize:P,"data-testid":x("transaction-list","list-item-load-previous"),children:e.jsx(E,{firstMonthOfFY:t,isLoadNextItem:!1,isLoading:s?.isLoading==!0,timePeriod:d,fixedTimePeriod:s?.fixedTimePeriod,timeframe:i,doLoadMoreTransactions:(h,O)=>{s?.onLoadPreviousClick?.(h,O)}})})});if(z===!1){const h=M[_(c)];return e.jsx("div",{style:{...w},children:e.jsxs(D,{windowSize:P,children:[e.jsx(Ut,{date:h.date,transactions:h.transactions,onItemClick:u}),s==null?e.jsx(Xt,{}):null]})})}else return e.jsx("div",{style:{...w},children:e.jsx(Gt,{children:e.jsx(D,{windowSize:P,"data-testid":x("transaction-list","transactions-list-empty"),children:e.jsx(Jt,{children:ee(d,l?.isLoading==!0||s?.isLoading==!0)})})})})},lt=c=>N===!0&&c===0?S(!0):H===!0&&c===C-1?S(!1):z===!1?At(M[_(c)].transactions.length):S(!1);return e.jsx(Kt,{children:e.jsx(mt,{children:({height:c,width:w})=>e.jsx(te,{"data-testid":x("transaction-list"),ref:I,height:c,width:w,innerRef:Y,outerRef:ot,onItemsRendered:nt,itemCount:C,itemSize:lt,onScroll:({scrollOffset:h})=>{b?.(h)},initialScrollOffset:m??0,children:dt})})})}),ee=(t,i)=>i===!0?$.transactionList.fetching:t.startDate.isSame(t.endDate,"month")?`${$.transactionList.noTransactionsFoundForPrefix} (${t.startDate.format($.dateFormat.visual.MMMYYFormat)})`:`${$.transactionList.noTransactionsFoundForPeriodPrefix} (${t.startDate.format($.dateFormat.visual.MMMYYFormat)} - ${t.endDate.format($.dateFormat.visual.MMMYYFormat)})`;export{de as f};
@@ -1,4 +1,4 @@
1
- import{y as a,Q as R,aw as W,aE as ie,aY as ne,V as t,b3 as re,aP as w,u as n,b as ae,p as B,o,a as j,d as Q,F as $,bq as se,br as le,ai as de,aq as ce,aN as me,bs as pe,ao as he,T as ue,G,bt as X,r as V,aT as ee}from"./index-AqGiWrum.js";import{a as U,S as z}from"./sentry-CTKU7CLc.js";import{n as i,c as ge}from"./mui-C_Pjuwl5.js";import{EM as xe,bg as we,bC as N}from"./zeni-epic-state-Cl3KIlic.js";import{G as $e,c as be}from"./AccountsPromoCardStack-B8BaHMXs-D4T6qOCp.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"./SummaryCard-Cy_49HY6-B5IOHtbz.js";import"./ReloadCard-DQ8-0JyV-DB-bkjWN.js";import"./NavigationArrow-CJOSZIEx-Vi5xYiOy.js";import"./NavigationDots-DgfBVlG5-Begp91rh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="49a6ec6b-6bff-422d-9ee0-9051fbbadc31",e._sentryDebugIdIdentifier="sentry-dbid-49a6ec6b-6bff-422d-9ee0-9051fbbadc31")}catch{}})();const ye={textContainer:new j("extraSmallRegular","smallRegular")},fe=i.div`
1
+ import{y as a,Q as R,aw as W,aE as ie,aY as ne,V as t,b3 as re,aP as w,u as n,b as ae,p as B,o,a as j,d as Q,F as $,bq as se,br as le,ai as de,aq as ce,aN as me,bs as pe,ao as he,T as ue,G,bt as X,r as V,aT as ee}from"./index-BhvUwV_v.js";import{a as U,P as z}from"./sentry-DgGQRl6g.js";import{n as i,c as ge}from"./mui-DqYnCiYu.js";import{EM as xe,bg as we,bC as N}from"./zeni-epic-state-WWg2r7iB.js";import{G as $e,c as be}from"./AccountsPromoCardStack-CM2kVta7-D4DDSl1Z.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"./SummaryCard-D92z4WU0-Dk2J87_c.js";import"./ReloadCard-8Tiu9Mq9-WidMrFBg.js";import"./NavigationArrow-DGSdnTKQ-CgfnFgIs.js";import"./NavigationDots-BPsFQiss-Dqh0y0c_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="f708b7ad-980b-4a03-8f1b-4e8ef05b58f6",e._sentryDebugIdIdentifier="sentry-dbid-f708b7ad-980b-4a03-8f1b-4e8ef05b58f6")}catch{}})();const ye={textContainer:new j("extraSmallRegular","smallRegular")},fe=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,ve=i.div`
@@ -1,4 +1,4 @@
1
- import{g as _,bz as z,bA as R,V as o,bB as M,aP as g,T as V,o as n,al as q}from"./index-AqGiWrum.js";import{a as r,o as G}from"./sentry-CTKU7CLc.js";import{n as l}from"./mui-C_Pjuwl5.js";import{f as J}from"./TransactionList-CKgtf7lj-CeKhT4wB.js";import{t as X}from"./page-detail-CWX5S47F-CwgQ04Z1.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";import"./BoxItem-CjZDlBaw-C6EB-mJ-.js";import"./commonDimensions-B94VpAp0-CDUYcayo.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new t.Error().stack;c&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[c]="acfd6304-5bfb-4f16-9207-1a60e4b9526f",t._sentryDebugIdIdentifier="sentry-dbid-acfd6304-5bfb-4f16-9207-1a60e4b9526f")}catch{}})();const Z=l.div`
1
+ import{g as _,bz as z,bA as R,V as o,bB as M,aP as g,T as V,o as n,al as q}from"./index-BhvUwV_v.js";import{a as r,n as G}from"./sentry-DgGQRl6g.js";import{n as l}from"./mui-DqYnCiYu.js";import{f as J}from"./TransactionList-CSfzB0gM-Dw6vqliW.js";import{t as X}from"./page-detail-CWX5S47F-C4YmGfRe.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";import"./BoxItem-C-LLQ7NS-CyKsGaF0.js";import"./commonDimensions-CtIrih5r-CfslRtQI.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new t.Error().stack;c&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[c]="6c88ced9-2910-4c8c-8fc1-ed5efa11b5b9",t._sentryDebugIdIdentifier="sentry-dbid-6c88ced9-2910-4c8c-8fc1-ed5efa11b5b9")}catch{}})();const Z=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{Q as A,F as k,V as o,T as q,aP as L,aR as W,o as a,y as g,x as _,a as J,d2 as Q,a9 as U,cE as G,ac as K,u as r,hd as F,he as B,hf as M,g as X,cJ as Y,gL as z,hg as Z,b7 as ee,hk as oe,hl as te}from"./index-AqGiWrum.js";import{a as I}from"./sentry-CTKU7CLc.js";import{n as c}from"./mui-C_Pjuwl5.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:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b243bb85-066d-4246-b719-c4db64b6bc55",e._sentryDebugIdIdentifier="sentry-dbid-b243bb85-066d-4246-b719-c4db64b6bc55")}catch{}})();const O=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:b})=>{const i=A(),x=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),P=s=>h.filter(D=>D.accountId===s)[0]?.coaId??"",l=s=>C.filter(D=>D.classId===s)[0]?.accountingClassNumber??"",y=s=>{const D=h.find(R=>R.accountId===s)?.accountName;return[oe,te].includes(D??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>P(s),defaultValue:{selectedOption:e,allOptions:B(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${x.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:F(b)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${x.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:M(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
1
+ import{Q as A,F as k,V as o,T as q,aP as L,aR as W,o as a,y as g,x as _,a as J,d2 as Q,a9 as U,cE as G,ac as K,u as r,hd as F,he as B,hf as M,g as X,cJ as Y,gL as z,hg as Z,b7 as ee,hk as oe,hl as te}from"./index-BhvUwV_v.js";import{a as I}from"./sentry-DgGQRl6g.js";import{n as c}from"./mui-DqYnCiYu.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:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b243bb85-066d-4246-b719-c4db64b6bc55",e._sentryDebugIdIdentifier="sentry-dbid-b243bb85-066d-4246-b719-c4db64b6bc55")}catch{}})();const O=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:b})=>{const i=A(),x=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),P=s=>h.filter(D=>D.accountId===s)[0]?.coaId??"",l=s=>C.filter(D=>D.classId===s)[0]?.accountingClassNumber??"",y=s=>{const D=h.find(R=>R.accountId===s)?.accountName;return[oe,te].includes(D??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>P(s),defaultValue:{selectedOption:e,allOptions:B(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${x.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:F(b)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${x.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:M(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};