@zeniai/web-cockpit-ui 1.15.67-dev → 1.15.67-qa

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 (264) hide show
  1. package/dist/assets/{ACHDetailsPage-fOu5grd7-_I6UtkXF.js → ACHDetailsPage-fOu5grd7-Deblt7MH.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Da3gFo8A-Z4ui8_vI.js → AIPerformancePage-Da3gFo8A-BSw1Aquc.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-o7hTXtgZ-CYBdmYMP.js → AccountInfoPage-o7hTXtgZ-C0WPlkOB.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DqErO8FH-BbWzsS4C.js → AccountInfoPageContent-DqErO8FH-Du9MvqK6.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BJjCuLHa-YI1GAfPy.js → AccountLockedInfoModal-BJjCuLHa-D4DxUBsu.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CVjH1p0d-Dxp_Yf_G.js → AccountReconDetailsDrawerPage-CVjH1p0d-CEfz1ndj.js} +1 -1
  7. package/dist/assets/{AccountRow-CpftykFx-bzN_3qh3.js → AccountRow-CpftykFx-B4II8Gnd.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-D7xvgmOH-CXZpH0yT.js → AccountsPromoCardStack-D7xvgmOH--iUluh0v.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-vecchYEf-_IpKVfzg.js → AddAddressForCardDrawer-vecchYEf-Cmfyoh0u.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-zJy9QCjx-C9dnTqSq.js → AddToWalletPage-zJy9QCjx-CaZuqHvD.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-wAvQb1d8-CHVcAAAX.js → AgingReportsPage-wAvQb1d8-DMjJq35q.js} +1 -1
  12. package/dist/assets/{AllUserItems-DEv_CXOA-DrRFxVFx.js → AllUserItems-DEv_CXOA-C39E2EcL.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-BOV1WFVF-CJZU2LXe.js → ApAgingDetailPage-BOV1WFVF-DJCi5F67.js} +1 -1
  14. package/dist/assets/{AppBasePage-DMlomvFS-DqF43oJC.js → AppBasePage-DMlomvFS-BwyWA7Zv.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-Dc2sHnR3-Bud5cVOk.js → AppDrawerContent-Dc2sHnR3-BAqVeBRu.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-BnbPSy4U-4wRot9T7.js → ApprovalRulesSettingsPage-BnbPSy4U-C1eDpbpt.js} +1 -1
  17. package/dist/assets/{ArAgingChart-m-Xp3HAW-BYykckhE.js → ArAgingChart-m-Xp3HAW-CRPxdJ7D.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-b_NpDpWj-RkSFd-g-.js → ArAgingDetailPage-b_NpDpWj-BbA2Pwbe.js} +1 -1
  19. package/dist/assets/{AttachmentView-DB_V1qT1-BAHgn941.js → AttachmentView-DB_V1qT1-Dt0REv8W.js} +1 -1
  20. package/dist/assets/{BankAccountSection-BabhrBM7-CsYno7bw.js → BankAccountSection-BabhrBM7-BO4TxZFX.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-yT2UAd12-AQuYXXrV.js → BankAccountWarningSection-yT2UAd12-CnLYelu-.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-CbxXykMM-DJ1Qfs7C.js → BankConnectionsSettingsPage-CbxXykMM-Cnn8E1jp.js} +1 -1
  23. package/dist/assets/{BillDetailPage-7TMkWo3V-BpI29Fow.js → BillDetailPage-7TMkWo3V-Ca5Ue7B9.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-COyDRpaF-B8K_-t2I.js → BillPayApprovalRuleDetailPage-COyDRpaF-6pabg9CH.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-9pxkgFAT-CZRNmhN3.js → BillPayApprovalRulesPage-9pxkgFAT-BQ7qVAhL.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-AGffhbY3-C44MBEry.js → BillPayPromoPage-AGffhbY3-DWxTE01Y.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-Cs5rkWBu-BFj8l_hW.js → BillPaySetUpPage-Cs5rkWBu-Dd2Q73vu.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-CQ117tT9-3H-s6tQ2.js → BillingSettingsPage-CQ117tT9-Bv0ANO1l.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DRkGQQAe-Di_BJEYU.js → BillsBulkReviewDrawerPage-DRkGQQAe-DYhV2M71.js} +1 -1
  30. package/dist/assets/{BoxItem-DRwx0M5a-BMNzRCBU.js → BoxItem-DRwx0M5a-B6DlgVUd.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-1h0z3N9u-B1KNa18N.js → BusinessVerificationPage-1h0z3N9u-D1Y9N7-i.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-DqtLT1w5-DwPe5Ik5.js → CardNumberSubText-DqtLT1w5-BxqehWrb.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-ChdQcvkC-1A8EZQvJ.js → CashbackDetailPage-ChdQcvkC-B_GSg2AC.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DFOKlPNG-MYhUkq-U.js → ChargeCardDetailPage-DFOKlPNG-CJnavEMz.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-DhLUsUhd-CLRkrqGa.js → ChargeCardListPage-DhLUsUhd-DwAbjoJi.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-DE72YU_i-BYCOUa2e.js → ChargeCardListTable-DE72YU_i-0fmqskwE.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-CbGR18s--C7VqbbyV.js → ChargeCardPaymentHistoryPage-CbGR18s--BN3yLcTb.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-CPpNh89o-DfgxkRWy.js → ChargeCardPromoPage-CPpNh89o-COQikMg_.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-ITi25kUD-BZlZpXjO.js → ChargeCardSetupPage-ITi25kUD-IynV8SZD.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-CTJc1BCc-BYEICWbq.js → ChargeCardStatementsPage-CTJc1BCc-C2VaB3Es.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-BrzeSj-3-BtbAQdkJ.js → CheckDepositDrawerPage-BrzeSj-3-Bd_DMiyU.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CDEe9s_E-TNl2e0Ho.js → CollapsableReportTable-CDEe9s_E-DhVuVAnV.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-BaPhFsLx-Cr9d9T4h.js → CompanyOfficerDetailsSection-BaPhFsLx-D_I0hMTH.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-B9ymV6Az-COMAf0pP.js → CompanyPassportCard-B9ymV6Az-DTIqGBH6.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-BQ68t7oK-BMTwLfpK.js → CompanyPassportPage-BQ68t7oK-vrxe4_xk.js} +1 -1
  46. package/dist/assets/{CompleteProfile-C5n9b8gQ-hT3HEiCg.js → CompleteProfile-C5n9b8gQ-lnAIITQm.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-BizTW0hz-D0Pewk0g.js → ConfettiBurst-BizTW0hz-Djo4F2BV.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CDDJSzvV.js → ConstrainedInnerElement-BeIpAPjB-Bcim9kwY.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-BIfOA5Nr-BuMGF8oN.js → CreateOrEditVendorPage-BIfOA5Nr-CWBQOhN5.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CCpS-31h-BIvvMTcG.js → CreditCardPaymentDrawerPage-CCpS-31h-CPcyKO3v.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-KvKyemY6-B3GfB4CH.js → CurrencySelectField-KvKyemY6-3seUIMxF.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-6VlMI4oY-E5CGEKHR.js → CustomerOnboardingActivationPage-6VlMI4oY-DcPnVuxv.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-N3SANtOd.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BzbZb27J-BVzHP5Go.js → CustomerOnboardingDetailPageSkeleton-BzbZb27J-DOYTcKsu.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CWF_00EM-DmcEox2S.js → CustomerOnboardingNoStepsPage-CWF_00EM-BMijZduy.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-DkW66A-p-CjpdS5qu.js → CustomerOnboardingPage-DkW66A-p-C2cEUuYz.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-Ba0yotpP-CIyDBKON.js → CustomerOnboardingProductSuitePage-Ba0yotpP-BU2g9KzT.js} +1 -1
  58. package/dist/assets/{Dashboard-bX3cWkmP-BbU8pr2A.js → Dashboard-bX3cWkmP-5dr-XUfX.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-DuZ4d4CE-DK-gMM8o.js → DashboardReportPage-DuZ4d4CE-Clq231iu.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-UV2CZToG-CyMFhVza.js → DashboardSidebarBackgroundAnimation-UV2CZToG-CTNEBj0B.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-BY_OvuKg-BsNMu9o_.js → DepositAccTransactionItem-BY_OvuKg-B_tCIJe2.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-a__bpCOB-D_hGWuPJ.js → DepositAccTransactionListPage-a__bpCOB-CZHaRvT6.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-BumMT4QM-CBRjN65H.js → DomesticWireDetailsPage-BumMT4QM-DLS4y4ar.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-DqiL3-FB-BSVRX95E.js → DownloadOverlay-DqiL3-FB-CiBkvWzA.js} +1 -1
  65. package/dist/assets/{DrawerPage-CaG-xx5d-EitebnoL.js → DrawerPage-CaG-xx5d-pfGW0VEE.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-BcsdEp_d-CHb4ex1x.js → EditPeoplePage-BcsdEp_d-DGrrziqM.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-DNUmwdsH-05ewx_ut.js → EditReimbursementDetailPage-DNUmwdsH-B4jF246p.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-DtX5TjBc-DQKDGAg6.js → EntityDetailPage-DtX5TjBc-BtuhKPz3.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-LEA5m6mN-BORCaqtF.js → EntitySummarySection-LEA5m6mN-Dk1LdQpC.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-Dmhn7gfp-D__D3sDL.js → ExpenseAutomationOverviewPage-Dmhn7gfp-BY5G8jj3.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-B8C4BxoV-Ci1A8Wjo.js → ExpenseAutomationPage-B8C4BxoV-DuUz3_R-.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-C-nqret2-DlkmEIam.js → ExpressPayPage-C-nqret2-et3uXCh-.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-BHjUZ7s6-DFFjPG0A.js → FeaturePreviewPage-BHjUZ7s6-Brqlq9SB.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-0eFMS0c5-B5EQvoc9.js → FollowStepsSection-0eFMS0c5-BHYKMN67.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-4eiopkzw-Bih8gWqa.js → GlobalReviewListPage-4eiopkzw-DLwR2dFc.js} +1 -1
  76. package/dist/assets/{InformationCardStack-C7XJCUlh-CiHVF9R1.js → InformationCardStack-C7XJCUlh-CSMU8qAS.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-fBAbQwhK-BkpAEowk.js → InsightsCardStack-fBAbQwhK-OJXllyxd.js} +1 -1
  78. package/dist/assets/{InsightsSection-De9zu_me-Bh9zGZF1.js → InsightsSection-De9zu_me-DKiP5CUM.js} +1 -1
  79. package/dist/assets/{IntegrationsSettingsPage-BD5jqAv8-DlI-U29Q.js → IntegrationsSettingsPage-BD5jqAv8-rzkYodcA.js} +1 -1
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-BftrE612-J_F_3vEQ.js → InternationalWireSwiftDetailsPage-BftrE612-Dqgn8f5N.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-CDf7equc-CiJjOeOD.js → InternationalWireVerificationPage-CDf7equc-BH7R5Rsc.js} +1 -1
  82. package/dist/assets/{InviteFormPage-E2igwKEh-BCSU2LM1.js → InviteFormPage-E2igwKEh-DjR01N5V.js} +1 -1
  83. package/dist/assets/{InvitePageListView-Cuq9dlgu-CDBeR_PP.js → InvitePageListView-Cuq9dlgu-C0Buey4p.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-Db4P4ZEq-BEebaP5f.js → InvitePeoplePage-Db4P4ZEq-Czjoh-tB.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-DYCjz9CI-DfxPkJOj.js → InvoiceUploadSection-DYCjz9CI-Df4lB_Yi.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-CK6fnO24-BKSJZVY1.js → IssueChargeCardPage-CK6fnO24-CZUEHdjA.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-Ma1WURjK-BbziAecd.js → LabeledAddressValue-Ma1WURjK-DG0F4BdC.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-C6-hVsPb-DSR7WoQV.js → LabeledAddressValueField-C6-hVsPb-BRl1lEvu.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-CgZg0uOW-F-cfza7w.js → LabeledControlledCheckBoxField-CgZg0uOW-BGY4iPkz.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-sj8p7Rne-BUdiOBjF.js → LabeledCountryMultiSelectField-sj8p7Rne-RuAubIai.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DUTQh416-Cuz1-Arb.js → LabeledCreatableSingleSelectField-DUTQh416-S0g64X8U.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-Bp9m-OrP-CNPLGXDQ.js → LabeledDocumentField-Bp9m-OrP-DFkPDHnR.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-3-KekP79-aeAOh3hf.js → LabeledDropDownFormattedTextField-3-KekP79-BkUwzQDp.js} +1 -1
  94. package/dist/assets/{LabeledText-DvzVOku6-qtDKT9OR.js → LabeledText-DvzVOku6-B5uM3tzz.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-Dkhsfaug.js → LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-DhHVSfSV.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-kWC0ShEy-B4c0yRiG.js → LabeledZeniRolesDropDownField-kWC0ShEy-BOJ6AiSK.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-WufhDGDQ-CQSugFmY.js → LinkJETransactionPage-WufhDGDQ-BzsBEfgU.js} +1 -1
  98. package/dist/assets/{LockCardPage-BBIVLYVD-DGVUoots.js → LockCardPage-BBIVLYVD-BsswbiRl.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-ScEqPY9J-zI-i6Isi.js → LowBalancePopup-ScEqPY9J-D0pBKIbw.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-C494txw0-CY1IheMO.js → MagicLinkACHDetailsPage-C494txw0-g2LWwHbO.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CONBCbOQ-jeP8c5FK.js → MagicLinkDomesticWireDetailsPage-CONBCbOQ-iwCNPjNq.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-fSY3JGpz-3lDfayHZ.js → MagicLinkInternationalWireDetailsPage-fSY3JGpz-CaZcppJO.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-BDRXSAO4-C2kPIdG5.js → MagicLinkSuccessPage-BDRXSAO4-skk-DzP4.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-ZnbKPIvJ-CNhLMA89.js → MagicLinkTitleSection-ZnbKPIvJ-DAlnkqhZ.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-DZT7JPlI-Cc3Oz9Xy.js → MailingDetailsSection-DZT7JPlI-Ef3dwfQ5.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-aQDVaEG1-CqWavNbr.js → MyBankConnectionsSettingsPage-aQDVaEG1-C-7tsnVo.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-BJrk56oA-DBhBFYPS.js → MyPendingActivationChargeCardListPage-BJrk56oA-34XtIgbO.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-L9WuP6HZ-CxLQr9dL.js → MyProfileSettingsPage-L9WuP6HZ-B_-HFxwV.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-zmvBmWS1-DG_L70Us.js → NavBarWithPicker-zmvBmWS1-DSRusI4Y.js} +1 -1
  110. package/dist/assets/{NavigationArrow-D26UG3p--Bc_WE-hA.js → NavigationArrow-D26UG3p--bihyIg2O.js} +1 -1
  111. package/dist/assets/{NavigationDots-Bv4tBDN3-3qW0LzNq.js → NavigationDots-Bv4tBDN3-BTdxEuBa.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-vOn2O6B9-UKW9QkH8.js → NewGlobalMerchantPage-vOn2O6B9-BgdmarQu.js} +1 -1
  113. package/dist/assets/{NoDataChart-CgT19fV7-DcCaLcsZ.js → NoDataChart-CgT19fV7-B4_zjVVX.js} +1 -1
  114. package/dist/assets/{NoDataTable-CPjJmo4s-rcoXWqQH.js → NoDataTable-CPjJmo4s-Of7xVpLd.js} +1 -1
  115. package/dist/assets/{NotFoundPage-CP2i3FTm-zCn5IOVY.js → NotFoundPage-CP2i3FTm-CPU6R-5g.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-CT9Dnb03-BYS2qU5g.js → NotificationSettingsPage-CT9Dnb03-CBOhuOZF.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-Bn1zmx6b-Bn3vC5S6.js → NotificationsListConfig-Bn1zmx6b-wGamXtUS.js} +1 -1
  118. package/dist/assets/{NotificationsPage-DDwdR_Jq-T3skh5EK.js → NotificationsPage-DDwdR_Jq-CRwJqbTE.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-DukFYlqO-C6JAoAcj.js → OpExByVendorPage-DukFYlqO-Dz9qBode.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-PqYhuBtJ.js → OverlayContainerPage-D4QU0p4o-DVowy8iO.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-Bgflh9Om-DboN8TAW.js → PandLWithForecastPage-Bgflh9Om-CHp-Gb8I.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-JPO-rPAd-yGcY5OsC.js → PaymentAccountSetupBillingAddressSection-JPO-rPAd-Ctq_MIh2.js} +1 -1
  123. package/dist/assets/{PeoplePage-CDvKreQl-CkudxP0y.js → PeoplePage-CDvKreQl-BffPbM8z.js} +1 -1
  124. package/dist/assets/{Preview-P62UcEJK.js → Preview-Cn7oLc4R.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-7R3cvGiS-Bu_PFFN9.js → ProductsCarousel-7R3cvGiS-DXxbke7b.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-DdCMZIc7-DR_4jktz.js → PromoBaseCards-DdCMZIc7-ffHZinMK.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-Ca36jKz2-BjgnS_b-.js → QBOConnectionDialog-Ca36jKz2-p1UqSNus.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-CzBfIVqR-DJuM0C4n.js → QBOSetupSection-CzBfIVqR-DxnyLEoN.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DUVSGQJ6-BsBLC37q.js → ReimbursementApprovalRuleDetailPage-DUVSGQJ6-CCYZEqpX.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRulesPage-B48x1gPM-C9ZbbxEX.js → ReimbursementApprovalRulesPage-B48x1gPM-DNX19Yat.js} +1 -1
  131. package/dist/assets/{ReimbursementDetailPage-oIC9QEyF-CwfsRmIP.js → ReimbursementDetailPage-oIC9QEyF-BvKSAA0s.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-BKgsJieE-VA9mHTWf.js → ReimbursementPromoPage-BKgsJieE-CbEEpUPQ.js} +1 -1
  133. package/dist/assets/{ReimbursementSetUpPage-B_c-ZgFT-CzixtqPF.js → ReimbursementSetUpPage-B_c-ZgFT-BQrNysnX.js} +1 -1
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CeyGWbKR-CxC7mVx8.js → ReimbursementsBulkReviewDrawerPage-CeyGWbKR-B7HW-BKK.js} +1 -1
  135. package/dist/assets/{ReloadCard-DKGn1uxF-DmSJJ42p.js → ReloadCard-DKGn1uxF-Df3SeaKf.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-CXDvZEbR-DF_Vh_2k.js → ReportTableViewSelector-CXDvZEbR-DgKxPvDg.js} +1 -1
  137. package/dist/assets/{ReportsPage-BoUyXSBC-DHugo8wm.js → ReportsPage-BoUyXSBC-BBXzTyZN.js} +1 -1
  138. package/dist/assets/{RevenueChart-SvdhwBcE-BkckN20x.js → RevenueChart-SvdhwBcE-CRma8Yd6.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-tT1l4R2r-RWSNyRxW.js → ReviewDetailsPage-tT1l4R2r-SJwLMLyi.js} +1 -1
  140. package/dist/assets/{ReviewOverlay-BoM41t8W-3p-Qz-jJ.js → ReviewOverlay-BoM41t8W-C7BUai7X.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-C8x5yXaK-DMsCF0JH.js → RoleWithToolTip-C8x5yXaK-Bkfz09p0.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DiQJAeBc.js → ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DqZCmzOl.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-Dg9rYJbn-D-JcLE-0.js → ScheduleDetailsPage-Dg9rYJbn-B_55N1Cj.js} +1 -1
  144. package/dist/assets/{ScheduleSequenceTable-J6Eja8XA-F9fSvOJk.js → ScheduleSequenceTable-J6Eja8XA-D_4u0hR-.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-EnKgc_BI.js → ScreenRoutes-DcRTZd8L.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-sfIB1h4i-DtGgsFok.js → SetUpAccountSection-sfIB1h4i-NnGWfrbs.js} +1 -1
  147. package/dist/assets/{SignIn-Cu2nzuEC-gpOpExBj.js → SignIn-Cu2nzuEC-BHjikHCh.js} +1 -1
  148. package/dist/assets/{SignInScreen-COk_kO8l.js → SignInScreen-BBX_alwG.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-9V9u1jPF-BRyGdKFt.js → SpendManagementListViewPage-9V9u1jPF-B0aDD00s.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-COvEPq7V-BGeyAQJ7.js → SpendManagementPerTabPage-COvEPq7V-0_8rNX6D.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-dT-N4bSQ-C4Kh22QW.js → SpendManagementSection-dT-N4bSQ-CEwu4wfw.js} +1 -1
  152. package/dist/assets/{StatementItem-g5tfNBjV-BibsnlRn.js → StatementItem-g5tfNBjV-Vnw-np00.js} +1 -1
  153. package/dist/assets/{StatementsPage-DaFrVUeK-COpXIOnq.js → StatementsPage-DaFrVUeK-Bl_9MqQB.js} +1 -1
  154. package/dist/assets/{StatusSwitcher-CaoFw0cf-zIzs68OS.js → StatusSwitcher-CaoFw0cf-DjwBbHmL.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-zrkVj1aP-DHjajhP7.js → SubTabSwitcher-zrkVj1aP-BNHh4GZL.js} +1 -1
  156. package/dist/assets/{SummaryCard-B9wqNSwM-D3nnkdoj.js → SummaryCard-B9wqNSwM-Be3_CrZn.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-dAK9tl2b-DxOEeJV7.js → TaskManagementPage-dAK9tl2b-BqOpVhlw.js} +1 -1
  158. package/dist/assets/{TimeRangeSwitcher-r1TNqVRb-BwLBwrfQ.js → TimeRangeSwitcher-r1TNqVRb-BQS82_SD.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcher-DHfHCTa4-B-A8y3JU.js → TimeframeSwitcher-DHfHCTa4-DudeK2XY.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-DvBvguRl-BtU2FMS5.js → TimeframeSwitcherWithToggle-DvBvguRl-_Lhji0ji.js} +1 -1
  161. package/dist/assets/{TopExCard-BUjnGDUB-Btojk3ah.js → TopExCard-BUjnGDUB-BPlGV83-.js} +1 -1
  162. package/dist/assets/{TopExDetailPage-CNDkfc3u-B6N4DKA1.js → TopExDetailPage-CNDkfc3u-iwifOc_-.js} +1 -1
  163. package/dist/assets/{TransactionActivityLogPage-kSQqJVpX--4iIwA0-.js → TransactionActivityLogPage-kSQqJVpX-B043BLQr.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-f7vWtXWL-WDAq0TSH.js → TransactionDetailPage-f7vWtXWL-DFgh5814.js} +1 -1
  165. package/dist/assets/{TransactionList-3-mUZOsw-DUcE4Bg8.js → TransactionList-3-mUZOsw-CHIbhgUE.js} +1 -1
  166. package/dist/assets/{TransactionListBig-Bx_Rm9ho-DHw-0VWf.js → TransactionListBig-Bx_Rm9ho-Doe15nAr.js} +1 -1
  167. package/dist/assets/{TransactionListPage-q6x4_jni-DQgB6nBX.js → TransactionListPage-q6x4_jni-D95KnBnZ.js} +1 -1
  168. package/dist/assets/{TransactionVendorDetailPage-MjSH5hfq-BB1KeuZC.js → TransactionVendorDetailPage-MjSH5hfq-umXPGpcl.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-BayVa6po-TPzD0GjA.js → TransferDrawerPage-BayVa6po-DDuDg_fj.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-CuqWmrO5-Dm7dVBUb.js → TreasuryOverviewPage-CuqWmrO5-CRUElwmO.js} +1 -1
  171. package/dist/assets/{TreasuryPromoPage-BCjz1EKX-B0iczXcI.js → TreasuryPromoPage-BCjz1EKX-cYFyMFAR.js} +1 -1
  172. package/dist/assets/{TreasuryStatementsPage-CGr00SXF-DVQF7UJA.js → TreasuryStatementsPage-CGr00SXF-CTIswR5e.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-D9_qnlK4-MocugyBE.js → TreasuryTaxLetterPage-D9_qnlK4-CJ7lM0VP.js} +1 -1
  174. package/dist/assets/{TrendChart-JTOG0a7B-Bjcs41DB.js → TrendChart-JTOG0a7B-BjOM48qV.js} +1 -1
  175. package/dist/assets/{TrendWithTransactions-CTJhTpAM-COrQLjb7.js → TrendWithTransactions-CTJhTpAM-Bz4VJM63.js} +1 -1
  176. package/dist/assets/{UncategorizedAccountsMappingPage-TGKYpC5A-DFFnFhBd.js → UncategorizedAccountsMappingPage-TGKYpC5A-DKQXFL_6.js} +1 -1
  177. package/dist/assets/{UnitIntegrationPage-mt2IjA5X-eXnxGxo-.js → UnitIntegrationPage-mt2IjA5X-D3cNd4G0.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-DZfpwE5J-DWhiDViI.js → UploadAdditionalDocumentOverlay-DZfpwE5J-Dpgr_eSy.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-DAOf5cJD-mVDrxb-3.js → Vendor2FAPopup-DAOf5cJD-BYmnjJ_Z.js} +1 -1
  180. package/dist/assets/{VendorACHDetailsPage-CCOupiSZ-X7XYqk_U.js → VendorACHDetailsPage-CCOupiSZ-B9YMUgEu.js} +1 -1
  181. package/dist/assets/{VendorDetailPage-DufNphGD-mmWMGpt3.js → VendorDetailPage-DufNphGD-B6WgOMVR.js} +1 -1
  182. package/dist/assets/{VendorDomesticWireDetailsPage-BayV34Rt-ClhCrIFs.js → VendorDomesticWireDetailsPage-BayV34Rt-oZ8Zczh0.js} +1 -1
  183. package/dist/assets/{VendorFiling1099EditablePage-CRnO7Ubw-CYRb__on.js → VendorFiling1099EditablePage-CRnO7Ubw-DRyUpU9m.js} +1 -1
  184. package/dist/assets/{VendorFirstReviewPage-DA0EL4RJ-CavJcOcs.js → VendorFirstReviewPage-DA0EL4RJ-CDKw93-K.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage-HUtNyn9Z-DucN-WAy.js → VendorInternationalWireDetailsPage-HUtNyn9Z-DQ98Viam.js} +1 -1
  186. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DRVMUeXi-81om_0Ih.js → VendorInternationalWireSwiftDetailsPage-DRVMUeXi-CBVBCZND.js} +1 -1
  187. package/dist/assets/{VendorsAccountsSection-D6Qa1zf9-ChhuAgMC.js → VendorsAccountsSection-D6Qa1zf9-BByOKM49.js} +1 -1
  188. package/dist/assets/{VerifyDevice-B6B_nk3v-FhJvFMiC.js → VerifyDevice-B6B_nk3v-C09htFut.js} +1 -1
  189. package/dist/assets/{VideoPlayer-BRAgZThr-CdNKLBM0.js → VideoPlayer-BRAgZThr-6gcdcpPE.js} +2 -2
  190. package/dist/assets/{VideoPopup-C_SkBI9U-BmOF4TeE.js → VideoPopup-C_SkBI9U-xDLHjMB5.js} +1 -1
  191. package/dist/assets/{WarningsDrawerPage-B3gB3wW7-B_Al2CpW.js → WarningsDrawerPage-B3gB3wW7-BaQpT9kd.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-Dp-eo-Vq-EwaP3b0U.js → ZeniAccountDetailPage-Dp-eo-Vq-DbhZ9BH4.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-S-XmAYqD-BFwkc5Zx.js → ZeniAccountListViewPage-S-XmAYqD-Dp7-mUwZ.js} +1 -1
  194. package/dist/assets/{ZeniAccountNavBarPieces-DhjBxfEr-CmvbdhsS.js → ZeniAccountNavBarPieces-DhjBxfEr-DB9rMWSo.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-BgYCHYLO-DqD41YED.js → ZeniAccountPromoPage-BgYCHYLO-C3NKTDvl.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-CvnIMdcY-BcF-rNt2.js → ZeniAccountSetupPage-CvnIMdcY-CBAcPuw_.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-BlLvlGZV-FpsBBUu8.js → ZeniCopyright-BlLvlGZV-BCe2Xdd8.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-BNYgPwHs-Bjfhzv90.js → ZeniTransferAmountSlider-BNYgPwHs-BY-jr5tc.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-CiWKe3pw.js → add-to-wallet-DgdBD8_G-ChDHgtp4.js} +1 -1
  200. package/dist/assets/{analytics-Dmyyfi9O.js → analytics-CrK0UBcv.js} +1 -1
  201. package/dist/assets/{analyticsHelper-fNnGbi4W.js → analyticsHelper-BCvIq071.js} +1 -1
  202. package/dist/assets/{analyticsHelper-CYr5V2MV-D-hMRpr3.js → analyticsHelper-CYr5V2MV-DRg7nsHD.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-odM3_tAX.js → arrow-south-east-round-PEovUgvH-CDdccmuv.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-YYpYw6PW.js → auto-transfer-rule-mbafm5D3-rBjDmFgV.js} +1 -1
  205. package/dist/assets/{chartTypes-40RenddT-DZcmdGKn.js → chartTypes-40RenddT-BlQab2Fi.js} +1 -1
  206. package/dist/assets/{commonDimensions-BMnB1-xU-QqtoTCOP.js → commonDimensions-BMnB1-xU-oARYB6hA.js} +1 -1
  207. package/dist/assets/{commonTypes-DsWS6Ccc-cGR0O9Jz.js → commonTypes-DsWS6Ccc-BKkZotv6.js} +1 -1
  208. package/dist/assets/{constants-CL2zzW6O.js → constants-DQWlrwuY.js} +1 -1
  209. package/dist/assets/{core-CuilwggZ.js → core-gf1hoM5k.js} +1 -1
  210. package/dist/assets/{dash.all.min-BQNcgKZW.js → dash.all.min-BM6_V4WU.js} +1 -1
  211. package/dist/assets/{detailCommon-CrcyqWtZ-D8Fb1SL4.js → detailCommon-CrcyqWtZ-AtBrJkZX.js} +1 -1
  212. package/dist/assets/{downloadPdf-CUUx8PWn-2rBn8EvK.js → downloadPdf-CUUx8PWn-DjbuGwiY.js} +1 -1
  213. package/dist/assets/{empty-Br0K9kol.js → empty-B1uMhwkH.js} +1 -1
  214. package/dist/assets/{empty-CEDPaJOT.js → empty-DelekaCE.js} +1 -1
  215. package/dist/assets/{epic-C2KVDXXW.js → epic-D9U-HBnQ.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-Ka06cghW.js → gift-box-Cmt9OgIZ-D0Z8gRHN.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-6m6GIu0k.js → graphic-no-data-l-DU4J8fDt-BvrqgmAF.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-XhfY9lsK.js → graphic-no-data-net-burn-l-CzmycA0m-CzbmCU9l.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-Sg0ioDB8.js → handshake-BPg58FML-6n5LIjaG.js} +1 -1
  220. package/dist/assets/{helper-BMiMbXMj-RteEmtlv.js → helper-BMiMbXMj-M4jy9hpn.js} +1 -1
  221. package/dist/assets/{index-D3ZUUMU-.js → index-CWrLolMu.js} +1 -1
  222. package/dist/assets/{index-BdeZI4Mn.js → index-CoEHDP6Y.js} +1 -1
  223. package/dist/assets/{index-Cwdqq_eD.js → index-CwEaO4SK.js} +1 -1
  224. package/dist/assets/{index-ChqRS7At.js → index-DIozVFh8.js} +1 -1
  225. package/dist/assets/{index-Dvsx2dcd.js → index-HMHbXfz9.js} +1 -1
  226. package/dist/assets/{index-DyBrELD_.js → index-aKYgEz4E.js} +7 -7
  227. package/dist/assets/{index-HP0uFTr8.js → index-xTjbsQma.js} +1 -1
  228. package/dist/assets/{lexical-BV3aGUzT.js → lexical-1PgqjfDV.js} +1 -1
  229. package/dist/assets/{liveblocks-VMOu1QaQ.js → liveblocks-Cvx2zK9-.js} +1 -1
  230. package/dist/assets/{lottie-DcZDexOB.js → lottie-Bf22aCym.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-DGnyXKBT-BH_N7X7z.js → mapLoadingInProgressToTreeNode-DGnyXKBT-DA3r-5da.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BkPRWtaj-D46Qw3f-.js → mapSectionWithAcOnlyToTreeNode-BkPRWtaj-C3gCqHeY.js} +1 -1
  233. package/dist/assets/{mapSpacerToTreeNode-CvGdU9Ma-DBOtPgCK.js → mapSpacerToTreeNode-CvGdU9Ma-_VTt-bgo.js} +1 -1
  234. package/dist/assets/{mapTimeframeBalancesToTreeNode-BCOsOvxo-D8jx_1hw.js → mapTimeframeBalancesToTreeNode-BCOsOvxo-Y63iNY62.js} +1 -1
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-DIqYP3NK-D7yaFV5m.js → mapTimeframeBalancesToTreeNode-DIqYP3NK-2KcVEMef.js} +1 -1
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-4i_2kpdQ.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-C9-55Hbs.js} +1 -1
  237. package/dist/assets/{mui-D3hEqMLm.js → mui-DoOKx0Nv.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-D-m40EVy.js → page-detail-CWX5S47F-CZQMvfli.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-DvZGh4g5.js → panelSelectedMixin-CzfD5-Zs-Cvu8Ui1-.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-eAbgY-Yj.js → radio-default-CiSgisfh-B_-UOpqk.js} +1 -1
  241. package/dist/assets/{react-CMq4HMxB.js → react-0Uuw4pVc.js} +1 -1
  242. package/dist/assets/{react-Drm5UQxC.js → react-BixRepNk.js} +2 -2
  243. package/dist/assets/{react-CqeqecYS.js → react-C4rHdmzY.js} +1 -1
  244. package/dist/assets/{react-CEbGSPpW.js → react-C8w5W3GZ.js} +1 -1
  245. package/dist/assets/{react-CTpij_Bh.js → react-CKB8x4sS.js} +1 -1
  246. package/dist/assets/{react-DI8vxsp0.js → react-DJnRzAto.js} +1 -1
  247. package/dist/assets/{react-C1gXLOT-.js → react-DeJFxR7B.js} +1 -1
  248. package/dist/assets/{react-Y6e5YCHa.js → react-IvIjGbK6.js} +1 -1
  249. package/dist/assets/{recharts-Bs6FfRQK.js → recharts-dbdwlMkn.js} +1 -1
  250. package/dist/assets/{sentry-BV4jcjA3.js → sentry-DE0xHQYy.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-FCvOtDWd.js → shield-DOlUxcFf-JzFWavjh.js} +1 -1
  252. package/dist/assets/{toCOABalancesWithID-DkMGvlEt-BQrLH-Nz.js → toCOABalancesWithID-DkMGvlEt-DJ_7nQiY.js} +1 -1
  253. package/dist/assets/{toChartData-C6s-eBzE-DCXAm4rQ.js → toChartData-C6s-eBzE-CJBLY_v9.js} +1 -1
  254. package/dist/assets/{uploadAttachment-BlLqRIXe-B5ch9itw.js → uploadAttachment-BlLqRIXe-B4Vk3ZXv.js} +1 -1
  255. package/dist/assets/{uploadReceipts-Dge0cNF1-Bo0yI6m6.js → uploadReceipts-Dge0cNF1-DjYyd6oN.js} +1 -1
  256. package/dist/assets/{url-MntlJyPp.js → url-DPfVjhEj.js} +1 -1
  257. package/dist/assets/{url-BkyzSFLl.js → url-DWNkO6ZM.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-Dwfp0CDv.js → useLongPress-GCK2COYQ-EaYNxs-n.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-Ccl_yhhe.js → usp-line-BBd1wKwW-D-l-Ue2u.js} +1 -1
  260. package/dist/assets/{utils-AGDkxX5e.js → utils-Ti4ecUdx.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-wSe7lDM8.js → zeni-epic-state-DxwAhqLZ.js} +3 -3
  262. package/dist/index.html +1 -1
  263. package/package.json +1 -1
  264. package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-Di904UJs.js +0 -1
@@ -1,4 +1,4 @@
1
- import{J as $,cf as T,V as d,O as v,y as h,o as s,u as c,aj as _}from"./index-DyBrELD_.js";import{n as u,c as m}from"./mui-D3hEqMLm.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]="eefcf600-55ac-4b38-9669-d1a2e1a63e76",e._sentryDebugIdIdentifier="sentry-dbid-eefcf600-55ac-4b38-9669-d1a2e1a63e76")}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 A(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?A(n,r):null}const L=(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{J as $,cf as T,V as d,O as v,y as h,o as s,u as c,aj as _}from"./index-aKYgEz4E.js";import{n as u,c as m}from"./mui-DoOKx0Nv.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]="eefcf600-55ac-4b38-9669-d1a2e1a63e76",e._sentryDebugIdIdentifier="sentry-dbid-eefcf600-55ac-4b38-9669-d1a2e1a63e76")}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 A(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?A(n,r):null}const L=(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,aj as g,a$ as b}from"./index-DyBrELD_.js";import{n as r,c}from"./mui-D3hEqMLm.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]="4c695577-b7b5-4a4d-ad16-ac36ad62c65f",e._sentryDebugIdIdentifier="sentry-dbid-4c695577-b7b5-4a4d-ad16-ac36ad62c65f")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(f,{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(j,{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 f=r.div`
1
+ import{V as i,T as u,o as s,aj as g,a$ as b}from"./index-aKYgEz4E.js";import{n as r,c}from"./mui-DoOKx0Nv.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]="4c695577-b7b5-4a4d-ad16-ac36ad62c65f",e._sentryDebugIdIdentifier="sentry-dbid-4c695577-b7b5-4a4d-ad16-ac36ad62c65f")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(f,{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(j,{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 f=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-DyBrELD_.js";import{E as r,T as t}from"./ReloadCard-DKGn1uxF-DmSJJ42p.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]="91750a19-1aee-439d-a74e-c99027ae3f9c",e._sentryDebugIdIdentifier="sentry-dbid-91750a19-1aee-439d-a74e-c99027ae3f9c")}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-aKYgEz4E.js";import{E as r,T as t}from"./ReloadCard-DKGn1uxF-Df3SeaKf.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]="91750a19-1aee-439d-a74e-c99027ae3f9c",e._sentryDebugIdIdentifier="sentry-dbid-91750a19-1aee-439d-a74e-c99027ae3f9c")}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,4 +1,4 @@
1
- import{ax as gt,d as qe,V as t,jz as Y,bE as kt,ab as _,cr as xt,am as K,ar as ft,O as se,o as s,jA as Xe,ck as Ie,co as wt,ga as Ct,bb as $t,bQ as Ze,aV as Tt,cf as jt,J as ie,aa as yt,y as Qe,cH as vt,ad as bt,b5 as St,cv as Lt,iW as Gt,iX as It,jB as Me,aT as Nt,i as De,bV as Ne,eQ as Je,jC as Et,d1 as et,jD as ce,jE as ke,jF as xe,jG as tt,jH as Dt,jI as st,jJ as ot,jK as nt,jL as at,jM as rt,jN as V,u as ge,jO as ae,aj as re,jP as Mt,jQ as Bt,x as zt,ao as At,jR as Rt,dc as Wt,jS as Ot,cL as it,es as Ft,b as Pt,jT as Ht,jU as _t,gb as Ut,gC as Vt,jV as Kt,jW as Z,jX as Be,cx as Yt,jY as qt,jZ as Xt,j_ as Zt,j$ as ze,p as Ae,gz as Qt,an as Jt}from"./index-DyBrELD_.js";import{a as n}from"./sentry-BV4jcjA3.js";import{n as o,c as fe}from"./mui-D3hEqMLm.js";import{H1 as es,H2 as Re,cd as lt,ce as dt,cf as ts}from"./zeni-epic-state-wSe7lDM8.js";import{J as ss,t as os}from"./SpendManagementSection-dT-N4bSQ-C4Kh22QW.js";import{A as ns,t as as,a as rs,E as is}from"./NotificationsListConfig-Bn1zmx6b-Bn3vC5S6.js";import{a as ls}from"./SpendManagementListViewPage-9V9u1jPF-BRyGdKFt.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";import"./StatusSwitcher-CaoFw0cf-zIzs68OS.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]="83f1919c-0a1c-46fb-ad3c-2d14f268fcf1",e._sentryDebugIdIdentifier="sentry-dbid-83f1919c-0a1c-46fb-ad3c-2d14f268fcf1")}catch{}})();const ds=100,cs=100,ps=3,us=.7,hs=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ds,scrollSpeed:h=cs,minScrollAmount:m=ps,scrollCurveExponent:u=us})=>{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)},b=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>b(x),D=x=>{const S=Math.max(x,0)/c,j=Math.pow(S,u)*h;return Math.max(m,j)},k=(x,S,j)=>{const G=j==="up"?-S:S;x===window?window.scrollBy({top:G,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=G)},w=()=>e.current??window,f=()=>{if(!a)return;const x=w(),S=window.innerHeight,j=p;if(j<c&&j>0){const G=c-j,g=D(G);k(x,g,"up")}else if(j>S-c){const G=j-(S-c),g=D(G);k(x,g,"down")}i=requestAnimationFrame(f)},M=x=>{E(x)?a=!0:(a=!1,C())},B=()=>{a=!1,C()},z=x=>{a&&(p=x.clientY)},T=x=>{z(x),a&&i===null&&(i=requestAnimationFrame(f))};return document.addEventListener("dragstart",M),document.addEventListener("dragend",B),document.addEventListener("dragover",T),()=>{document.removeEventListener("dragstart",M),document.removeEventListener("dragend",B),document.removeEventListener("dragover",T),C()}},[r,d,m,e,u,h])},be=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(ms,{isCircular:e<10,children:t.jsx(gs,{children:e>be.common.numbers.maximumCount?`${be.common.numbers.maximumCount}${be.common.strings.plus}`:e})}),ms=o.div`
1
+ import{ax as gt,d as qe,V as t,jz as Y,bE as kt,ab as _,cr as xt,am as K,ar as ft,O as se,o as s,jA as Xe,ck as Ie,co as wt,ga as Ct,bb as $t,bQ as Ze,aV as Tt,cf as jt,J as ie,aa as yt,y as Qe,cH as vt,ad as bt,b5 as St,cv as Lt,iW as Gt,iX as It,jB as Me,aT as Nt,i as De,bV as Ne,eQ as Je,jC as Et,d1 as et,jD as ce,jE as ke,jF as xe,jG as tt,jH as Dt,jI as st,jJ as ot,jK as nt,jL as at,jM as rt,jN as V,u as ge,jO as ae,aj as re,jP as Mt,jQ as Bt,x as zt,ao as At,jR as Rt,dc as Wt,jS as Ot,cL as it,es as Ft,b as Pt,jT as Ht,jU as _t,gb as Ut,gC as Vt,jV as Kt,jW as Z,jX as Be,cx as Yt,jY as qt,jZ as Xt,j_ as Zt,j$ as ze,p as Ae,gz as Qt,an as Jt}from"./index-aKYgEz4E.js";import{a as n}from"./sentry-DE0xHQYy.js";import{n as o,c as fe}from"./mui-DoOKx0Nv.js";import{H1 as es,H2 as Re,cd as lt,ce as dt,cf as ts}from"./zeni-epic-state-DxwAhqLZ.js";import{J as ss,t as os}from"./SpendManagementSection-dT-N4bSQ-CEwu4wfw.js";import{A as ns,t as as,a as rs,E as is}from"./NotificationsListConfig-Bn1zmx6b-wGamXtUS.js";import{a as ls}from"./SpendManagementListViewPage-9V9u1jPF-B0aDD00s.js";import"./liveblocks-Cvx2zK9-.js";import"./core-gf1hoM5k.js";import"./recharts-dbdwlMkn.js";import"./lottie-Bf22aCym.js";import"./analytics-CrK0UBcv.js";import"./lexical-1PgqjfDV.js";import"./utils-Ti4ecUdx.js";import"./StatusSwitcher-CaoFw0cf-DjwBbHmL.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]="83f1919c-0a1c-46fb-ad3c-2d14f268fcf1",e._sentryDebugIdIdentifier="sentry-dbid-83f1919c-0a1c-46fb-ad3c-2d14f268fcf1")}catch{}})();const ds=100,cs=100,ps=3,us=.7,hs=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ds,scrollSpeed:h=cs,minScrollAmount:m=ps,scrollCurveExponent:u=us})=>{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)},b=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>b(x),D=x=>{const S=Math.max(x,0)/c,j=Math.pow(S,u)*h;return Math.max(m,j)},k=(x,S,j)=>{const G=j==="up"?-S:S;x===window?window.scrollBy({top:G,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=G)},w=()=>e.current??window,f=()=>{if(!a)return;const x=w(),S=window.innerHeight,j=p;if(j<c&&j>0){const G=c-j,g=D(G);k(x,g,"up")}else if(j>S-c){const G=j-(S-c),g=D(G);k(x,g,"down")}i=requestAnimationFrame(f)},M=x=>{E(x)?a=!0:(a=!1,C())},B=()=>{a=!1,C()},z=x=>{a&&(p=x.clientY)},T=x=>{z(x),a&&i===null&&(i=requestAnimationFrame(f))};return document.addEventListener("dragstart",M),document.addEventListener("dragend",B),document.addEventListener("dragover",T),()=>{document.removeEventListener("dragstart",M),document.removeEventListener("dragend",B),document.removeEventListener("dragover",T),C()}},[r,d,m,e,u,h])},be=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(ms,{isCircular:e<10,children:t.jsx(gs,{children:e>be.common.numbers.maximumCount?`${be.common.numbers.maximumCount}${be.common.strings.plus}`:e})}),ms=o.div`
2
2
  ${e=>e.isCircular?fe`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -1,4 +1,4 @@
1
- import{V as t,b5 as _,aF as S,dm as B,bt as H,o as a,aj as L}from"./index-DyBrELD_.js";import{a as n}from"./sentry-BV4jcjA3.js";import{n as g}from"./mui-D3hEqMLm.js";import{Y as q}from"./core-CuilwggZ.js";import{V as U}from"./CollapsableReportTable-CDEe9s_E-TNl2e0Ho.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]="67590145-bdbe-493d-80be-aeeb79ee4485",e._sentryDebugIdIdentifier="sentry-dbid-67590145-bdbe-493d-80be-aeeb79ee4485")}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,b5 as _,aF as S,dm as B,bt as H,o as a,aj as L}from"./index-aKYgEz4E.js";import{a as n}from"./sentry-DE0xHQYy.js";import{n as g}from"./mui-DoOKx0Nv.js";import{Y as q}from"./core-gf1hoM5k.js";import{V as U}from"./CollapsableReportTable-CDEe9s_E-DhVuVAnV.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]="67590145-bdbe-493d-80be-aeeb79ee4485",e._sentryDebugIdIdentifier="sentry-dbid-67590145-bdbe-493d-80be-aeeb79ee4485")}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;
@@ -1,4 +1,4 @@
1
- import{V as s,o,aj as f,O as p}from"./index-DyBrELD_.js";import{n as i}from"./mui-D3hEqMLm.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]="7425ae7b-3cc8-48ec-b11b-8bc714bdc2a3",e._sentryDebugIdIdentifier="sentry-dbid-7425ae7b-3cc8-48ec-b11b-8bc714bdc2a3")}catch{}})();const u=i.div`
1
+ import{V as s,o,aj as f,O as p}from"./index-aKYgEz4E.js";import{n as i}from"./mui-DoOKx0Nv.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]="7425ae7b-3cc8-48ec-b11b-8bc714bdc2a3",e._sentryDebugIdIdentifier="sentry-dbid-7425ae7b-3cc8-48ec-b11b-8bc714bdc2a3")}catch{}})();const u=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{J as d,V as i,y as n,aj as u,bL as w}from"./index-DyBrELD_.js";import{n as r}from"./mui-D3hEqMLm.js";import{b as l}from"./TimeframeSwitcher-DHfHCTa4-B-A8y3JU.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]="0d962920-f831-4440-97d7-689ee38f8aac",e._sentryDebugIdIdentifier="sentry-dbid-0d962920-f831-4440-97d7-689ee38f8aac")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},x=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),p=r(x)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.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>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.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"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>i.jsx(p,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=r.div`
1
+ import{J as d,V as i,y as n,aj as u,bL as w}from"./index-aKYgEz4E.js";import{n as r}from"./mui-DoOKx0Nv.js";import{b as l}from"./TimeframeSwitcher-DHfHCTa4-DudeK2XY.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]="0d962920-f831-4440-97d7-689ee38f8aac",e._sentryDebugIdIdentifier="sentry-dbid-0d962920-f831-4440-97d7-689ee38f8aac")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},x=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),p=r(x)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.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>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.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"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>i.jsx(p,{...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;
@@ -1,4 +1,4 @@
1
- import{aF as z,J as M,V as t,d as x,u as f,b as T,a_ as X,aP as R,aN as H,o as p,aj as C,bb as F,am as U,O as S,aO as G,aU as E,b4 as N,b5 as Y,aR as q,aV as J,bT as Q}from"./index-DyBrELD_.js";import{P as w,a as W}from"./sentry-BV4jcjA3.js";import{FU as Z}from"./zeni-epic-state-wSe7lDM8.js";import{n as g}from"./mui-D3hEqMLm.js";import{I as ee,T as te}from"./ReloadCard-DKGn1uxF-DmSJJ42p.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-6m6GIu0k.js";import{H as k,X as L,Y as O,K as $,O as P,Q as ne,S as oe}from"./recharts-Bs6FfRQK.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]="a2b67039-7db1-4a50-a3a2-9e20cb27e482",e._sentryDebugIdIdentifier="sentry-dbid-a2b67039-7db1-4a50-a3a2-9e20cb27e482")}catch{}})();const ie=g(E)`
1
+ import{aF as z,J as M,V as t,d as x,u as f,b as T,a_ as X,aP as R,aN as H,o as p,aj as C,bb as F,am as U,O as S,aO as G,aU as E,b4 as N,b5 as Y,aR as q,aV as J,bT as Q}from"./index-aKYgEz4E.js";import{P as w,a as W}from"./sentry-DE0xHQYy.js";import{FU as Z}from"./zeni-epic-state-DxwAhqLZ.js";import{n as g}from"./mui-DoOKx0Nv.js";import{I as ee,T as te}from"./ReloadCard-DKGn1uxF-Df3SeaKf.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-BvrqgmAF.js";import{H as k,X as L,Y as O,K as $,O as P,Q as ne,S as oe}from"./recharts-dbdwlMkn.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]="a2b67039-7db1-4a50-a3a2-9e20cb27e482",e._sentryDebugIdIdentifier="sentry-dbid-a2b67039-7db1-4a50-a3a2-9e20cb27e482")}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"};
@@ -1,4 +1,4 @@
1
- import{d as j,J as S,V as t,bE as B,O as f,aP as v,b5 as A,w as P,o as i,y as b,bS as H,bu as V,u as c,p as z,am as $,aR as D,b1 as F}from"./index-DyBrELD_.js";import{n}from"./mui-D3hEqMLm.js";import{FU as T}from"./zeni-epic-state-wSe7lDM8.js";import{E as _,I}from"./TopExCard-BUjnGDUB-Btojk3ah.js";import{b as M}from"./TimeframeSwitcher-DHfHCTa4-B-A8y3JU.js";import{d as L}from"./NoDataTable-CPjJmo4s-rcoXWqQH.js";import{P as O,a as o}from"./sentry-BV4jcjA3.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";import"./ReloadCard-DKGn1uxF-DmSJJ42p.js";import"./graphic-no-data-l-DU4J8fDt-6m6GIu0k.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]="f22eb94d-6144-46bb-8554-e35417b2c001",e._sentryDebugIdIdentifier="sentry-dbid-f22eb94d-6144-46bb-8554-e35417b2c001")}catch{}})();const E="141px",Z=i.sp4,N="123px",R=n(F)`
1
+ import{d as j,J as S,V as t,bE as B,O as f,aP as v,b5 as A,w as P,o as i,y as b,bS as H,bu as V,u as c,p as z,am as $,aR as D,b1 as F}from"./index-aKYgEz4E.js";import{n}from"./mui-DoOKx0Nv.js";import{FU as T}from"./zeni-epic-state-DxwAhqLZ.js";import{E as _,I}from"./TopExCard-BUjnGDUB-BPlGV83-.js";import{b as M}from"./TimeframeSwitcher-DHfHCTa4-DudeK2XY.js";import{d as L}from"./NoDataTable-CPjJmo4s-Of7xVpLd.js";import{P as O,a as o}from"./sentry-DE0xHQYy.js";import"./liveblocks-Cvx2zK9-.js";import"./core-gf1hoM5k.js";import"./recharts-dbdwlMkn.js";import"./lottie-Bf22aCym.js";import"./analytics-CrK0UBcv.js";import"./lexical-1PgqjfDV.js";import"./utils-Ti4ecUdx.js";import"./ReloadCard-DKGn1uxF-Df3SeaKf.js";import"./graphic-no-data-l-DU4J8fDt-BvrqgmAF.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]="f22eb94d-6144-46bb-8554-e35417b2c001",e._sentryDebugIdIdentifier="sentry-dbid-f22eb94d-6144-46bb-8554-e35417b2c001")}catch{}})();const E="141px",Z=i.sp4,N="123px",R=n(F)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{V as n,T as H,o,b9 as F,O as z,am as I,x as B,eI as U,an as P,bi as M,h as W,aj as q,dw as J,a$ as K}from"./index-DyBrELD_.js";import{a as O}from"./sentry-BV4jcjA3.js";import{n as i}from"./mui-D3hEqMLm.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./zeni-epic-state-wSe7lDM8.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.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]="e09f0e9c-9bc6-4655-924e-d02d1e7d8d5e",e._sentryDebugIdIdentifier="sentry-dbid-e09f0e9c-9bc6-4655-924e-d02d1e7d8d5e")}catch{}})();const A=z.getLocalizedStrings(),{transactionActivityLog:p}=A.expenseAutomation.transactions,{dateFormat:$}=A,g={"transaction_line.vendor.updated":p.fields.vendor,"transaction_line.vendor.matched":p.fields.vendor,"transaction_line.account.updated":p.fields.category,"transaction_line.class.updated":p.fields.class,"transaction_line.vendor.user_update":p.fields.vendor,"transaction_line.customer.user_update":p.fields.customer,"transaction_line.memo.user_update":p.fields.memo,"transaction_line.description.user_update":p.fields.description,"transaction_line.account.user_update":p.fields.category,"transaction_line.class.user_update":p.fields.class},f=p.linePrefix;function C(e){return e.data?.transaction?.lineId??null}function Q(e){return e.endsWith(".user_update")}function Y(e){return e.length>0&&Q(e[0].eventType)}function X(e){const t=e.data?.transaction?.originalLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function Z(e){const t=e.data?.transaction?.updatedLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function y(e){return e.map(t=>`${t.fieldName}|${t.oldValue??""}|${t.newValue??""}`).join(";;")}function G(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=g[s.eventType]??s.eventType,d=X(s),h=Z(s),c=t.get(l)??[];c.push({fieldName:m,oldValue:d,newValue:h}),t.set(l,c)}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=y(l);let d=a;for(;d+1<r.length&&y(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function j(e){return e.map(t=>`${t.fieldName}|${t.newValue??""}|${t.reasoning}`).join(";;")}function R(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=E(s),d=g[s.eventType]??s.eventType,h=s.data.aiSummaries[0];if(h!=null){const c=t.get(l)??[];c.push({fieldName:d,newValue:m,reasoning:h.reasoning}),t.set(l,c)}}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=j(l);let d=a;for(;d+1<r.length&&j(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function ee(e){const t=[];let r=0;for(;r<e.length;){const u=e[r],a=[u],s=u.data?.transaction?.correlationId;let l=r+1;if(s!=null)for(;l<e.length&&e[l].data?.transaction?.correlationId===s;)a.push(e[l]),l++;else for(;l<e.length&&e[l].createTime.format("DD MM YYYY HH:mm:ss")===u.createTime.format("DD MM YYYY HH:mm:ss");)a.push(e[l]),l++;t.push(a),r=l}return t}function te(e){if(e.length===1&&e[0].eventType==="transaction.sync_database")return p.transactionIngested;if(Y(e)){const a=e[0].data?.user;if(a!=null){const s=p.userUpdatedDetails.charAt(0).toLowerCase()+p.userUpdatedDetails.slice(1);return`${a.firstName} ${a.lastName} ${s}`}return p.userUpdatedDetails}const t=[...new Set(e.map(a=>g[a.eventType]).filter(a=>a!=null))];if(t.length===0)return e[0].eventType;if(t.length===1)return`${p.aiBookkeeperAdded} ${t[0]}.`;const r=t.at(-1),u=t.slice(0,-1);return`${p.aiBookkeeperAdded} ${u.join(", ")} and ${r}.`}function E(e){const t=e.data?.transaction?.updatedLine;if(!(t==null||e.eventType==="transaction.sync_database")){if(e.eventType==="transaction_line.vendor.updated"||e.eventType==="transaction_line.vendor.matched")return t.vendor?.name;if(e.eventType==="transaction_line.account.updated")return t.account?.accountName;if(e.eventType==="transaction_line.class.updated")return t.class?.className;if(e.eventType==="transaction_line.customer.updated")return t.customer?.name}}function ne(e){return e.flatMap(t=>{if(t.data==null)return[];const r=t.data.aiSummaries[0];if(r==null)return[];const u=E(t);return[{fieldName:g[t.eventType]??t.eventType,newValue:u,reasoning:r.reasoning}]})}const Je=({transactionActivityLogSelectorView:e,onClose:t})=>{const{transactionActivityLogs:r}=e,u=ee(r);return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?n.jsxs(ie,{children:[n.jsx(H,{size:"ExtraLarge",start:!0}),";"]}):e.fetchState==="Completed"&&u.length===0?n.jsxs(v,{children:[n.jsx(b,{children:n.jsx(_,{children:p.title})}),n.jsx(Me,{children:n.jsx(Ae,{children:p.noLogsFound})})]}):n.jsxs(v,{children:[n.jsxs(b,{children:[n.jsx(_,{children:p.title}),n.jsx(se,{onClick:t,children:n.jsx(oe,{})})]}),n.jsx(ae,{children:u.map((a,s)=>n.jsx(re,{isLast:s===u.length-1,group:a},a[0].id))})]})},re=({group:e,isLast:t})=>{const[r,u]=O.useState(!1),a=Y(e),s=a?[]:R(e),l=a?G(e):[],m=a?[]:ne(e);return n.jsxs(ue,{children:[n.jsxs(he,{children:[n.jsx(me,{children:a?n.jsx(ge,{}):n.jsx(fe,{})}),!t&&n.jsx(xe,{})]}),n.jsxs($e,{children:[n.jsx(ye,{children:te(e)}),n.jsxs(je,{children:[n.jsx(k,{children:e[0].createTime.format($.visual.MMMDFormat)}),n.jsx(ve,{}),n.jsx(k,{children:e[0].createTime.format($.visual.HHMMFormat)})]}),a&&l.length>0&&n.jsx(w,{children:l.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsx(L,{children:d.lineDisplayLabel}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(Le,{children:d.details.map((c,x)=>n.jsxs(Ve,{children:[n.jsxs(ke,{children:[c.fieldName,":"," "]}),c.oldValue!=null&&n.jsx(De,{children:c.oldValue}),c.oldValue!=null&&c.newValue!=null&&n.jsx(Se,{children:" → "}),c.newValue!=null&&n.jsx(Ie,{children:c.newValue})]},`${c.fieldName}-${x}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length>0&&n.jsx(w,{children:s.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsxs(le,{children:[n.jsx(de,{}),n.jsx(L,{children:d.lineDisplayLabel})]}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(ce,{children:d.details.map((c,x)=>n.jsxs(pe,{children:[n.jsxs(D,{children:[c.fieldName,c.newValue!=null&&`: ${c.newValue}`]}),n.jsx(S,{children:c.reasoning})]},`${c.fieldName}-${x}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length===0&&m.length>0&&n.jsxs(n.Fragment,{children:[n.jsxs(be,{onClick:()=>u(d=>!d),children:[n.jsx(_e,{isExpanded:r}),n.jsx(we,{children:p.details})]}),r&&n.jsx(Te,{children:m.map((d,h)=>n.jsxs(Ne,{children:[n.jsxs(D,{children:[d.fieldName,d.newValue!=null&&`: ${d.newValue}`]}),n.jsx(S,{children:d.reasoning})]},`${d.fieldName}-${h}`))})]})]})]})},ie=i.div`
1
+ import{V as n,T as H,o,b9 as F,O as z,am as I,x as B,eI as U,an as P,bi as M,h as W,aj as q,dw as J,a$ as K}from"./index-aKYgEz4E.js";import{a as O}from"./sentry-DE0xHQYy.js";import{n as i}from"./mui-DoOKx0Nv.js";import"./liveblocks-Cvx2zK9-.js";import"./core-gf1hoM5k.js";import"./recharts-dbdwlMkn.js";import"./zeni-epic-state-DxwAhqLZ.js";import"./lottie-Bf22aCym.js";import"./analytics-CrK0UBcv.js";import"./lexical-1PgqjfDV.js";import"./utils-Ti4ecUdx.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]="e09f0e9c-9bc6-4655-924e-d02d1e7d8d5e",e._sentryDebugIdIdentifier="sentry-dbid-e09f0e9c-9bc6-4655-924e-d02d1e7d8d5e")}catch{}})();const A=z.getLocalizedStrings(),{transactionActivityLog:p}=A.expenseAutomation.transactions,{dateFormat:$}=A,g={"transaction_line.vendor.updated":p.fields.vendor,"transaction_line.vendor.matched":p.fields.vendor,"transaction_line.account.updated":p.fields.category,"transaction_line.class.updated":p.fields.class,"transaction_line.vendor.user_update":p.fields.vendor,"transaction_line.customer.user_update":p.fields.customer,"transaction_line.memo.user_update":p.fields.memo,"transaction_line.description.user_update":p.fields.description,"transaction_line.account.user_update":p.fields.category,"transaction_line.class.user_update":p.fields.class},f=p.linePrefix;function C(e){return e.data?.transaction?.lineId??null}function Q(e){return e.endsWith(".user_update")}function Y(e){return e.length>0&&Q(e[0].eventType)}function X(e){const t=e.data?.transaction?.originalLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function Z(e){const t=e.data?.transaction?.updatedLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function y(e){return e.map(t=>`${t.fieldName}|${t.oldValue??""}|${t.newValue??""}`).join(";;")}function G(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=g[s.eventType]??s.eventType,d=X(s),h=Z(s),c=t.get(l)??[];c.push({fieldName:m,oldValue:d,newValue:h}),t.set(l,c)}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=y(l);let d=a;for(;d+1<r.length&&y(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function j(e){return e.map(t=>`${t.fieldName}|${t.newValue??""}|${t.reasoning}`).join(";;")}function R(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=E(s),d=g[s.eventType]??s.eventType,h=s.data.aiSummaries[0];if(h!=null){const c=t.get(l)??[];c.push({fieldName:d,newValue:m,reasoning:h.reasoning}),t.set(l,c)}}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=j(l);let d=a;for(;d+1<r.length&&j(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function ee(e){const t=[];let r=0;for(;r<e.length;){const u=e[r],a=[u],s=u.data?.transaction?.correlationId;let l=r+1;if(s!=null)for(;l<e.length&&e[l].data?.transaction?.correlationId===s;)a.push(e[l]),l++;else for(;l<e.length&&e[l].createTime.format("DD MM YYYY HH:mm:ss")===u.createTime.format("DD MM YYYY HH:mm:ss");)a.push(e[l]),l++;t.push(a),r=l}return t}function te(e){if(e.length===1&&e[0].eventType==="transaction.sync_database")return p.transactionIngested;if(Y(e)){const a=e[0].data?.user;if(a!=null){const s=p.userUpdatedDetails.charAt(0).toLowerCase()+p.userUpdatedDetails.slice(1);return`${a.firstName} ${a.lastName} ${s}`}return p.userUpdatedDetails}const t=[...new Set(e.map(a=>g[a.eventType]).filter(a=>a!=null))];if(t.length===0)return e[0].eventType;if(t.length===1)return`${p.aiBookkeeperAdded} ${t[0]}.`;const r=t.at(-1),u=t.slice(0,-1);return`${p.aiBookkeeperAdded} ${u.join(", ")} and ${r}.`}function E(e){const t=e.data?.transaction?.updatedLine;if(!(t==null||e.eventType==="transaction.sync_database")){if(e.eventType==="transaction_line.vendor.updated"||e.eventType==="transaction_line.vendor.matched")return t.vendor?.name;if(e.eventType==="transaction_line.account.updated")return t.account?.accountName;if(e.eventType==="transaction_line.class.updated")return t.class?.className;if(e.eventType==="transaction_line.customer.updated")return t.customer?.name}}function ne(e){return e.flatMap(t=>{if(t.data==null)return[];const r=t.data.aiSummaries[0];if(r==null)return[];const u=E(t);return[{fieldName:g[t.eventType]??t.eventType,newValue:u,reasoning:r.reasoning}]})}const Je=({transactionActivityLogSelectorView:e,onClose:t})=>{const{transactionActivityLogs:r}=e,u=ee(r);return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?n.jsxs(ie,{children:[n.jsx(H,{size:"ExtraLarge",start:!0}),";"]}):e.fetchState==="Completed"&&u.length===0?n.jsxs(v,{children:[n.jsx(b,{children:n.jsx(_,{children:p.title})}),n.jsx(Me,{children:n.jsx(Ae,{children:p.noLogsFound})})]}):n.jsxs(v,{children:[n.jsxs(b,{children:[n.jsx(_,{children:p.title}),n.jsx(se,{onClick:t,children:n.jsx(oe,{})})]}),n.jsx(ae,{children:u.map((a,s)=>n.jsx(re,{isLast:s===u.length-1,group:a},a[0].id))})]})},re=({group:e,isLast:t})=>{const[r,u]=O.useState(!1),a=Y(e),s=a?[]:R(e),l=a?G(e):[],m=a?[]:ne(e);return n.jsxs(ue,{children:[n.jsxs(he,{children:[n.jsx(me,{children:a?n.jsx(ge,{}):n.jsx(fe,{})}),!t&&n.jsx(xe,{})]}),n.jsxs($e,{children:[n.jsx(ye,{children:te(e)}),n.jsxs(je,{children:[n.jsx(k,{children:e[0].createTime.format($.visual.MMMDFormat)}),n.jsx(ve,{}),n.jsx(k,{children:e[0].createTime.format($.visual.HHMMFormat)})]}),a&&l.length>0&&n.jsx(w,{children:l.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsx(L,{children:d.lineDisplayLabel}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(Le,{children:d.details.map((c,x)=>n.jsxs(Ve,{children:[n.jsxs(ke,{children:[c.fieldName,":"," "]}),c.oldValue!=null&&n.jsx(De,{children:c.oldValue}),c.oldValue!=null&&c.newValue!=null&&n.jsx(Se,{children:" → "}),c.newValue!=null&&n.jsx(Ie,{children:c.newValue})]},`${c.fieldName}-${x}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length>0&&n.jsx(w,{children:s.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsxs(le,{children:[n.jsx(de,{}),n.jsx(L,{children:d.lineDisplayLabel})]}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(ce,{children:d.details.map((c,x)=>n.jsxs(pe,{children:[n.jsxs(D,{children:[c.fieldName,c.newValue!=null&&`: ${c.newValue}`]}),n.jsx(S,{children:c.reasoning})]},`${c.fieldName}-${x}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length===0&&m.length>0&&n.jsxs(n.Fragment,{children:[n.jsxs(be,{onClick:()=>u(d=>!d),children:[n.jsx(_e,{isExpanded:r}),n.jsx(we,{children:p.details})]}),r&&n.jsx(Te,{children:m.map((d,h)=>n.jsxs(Ne,{children:[n.jsxs(D,{children:[d.fieldName,d.newValue!=null&&`: ${d.newValue}`]}),n.jsx(S,{children:d.reasoning})]},`${d.fieldName}-${h}`))})]})]})]})},ie=i.div`
2
2
  display: flex;
3
3
  justify-content: center;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{dT as Wn,I as qn,P as Hn,d as Vt,aa as Gn,J as ae,O as W,aS as Yt,dU as Kn,dV as Yn,cH as Jn,aF as Xn,dW as nn,dX as Qn,V as i,ad as Zn,bE as ea,dY as ta,dZ as ia,d_ as na,d$ as zi,aT as aa,y as _,aR as q,e0 as an,e1 as De,e2 as Te,e3 as Ne,e4 as et,e5 as tt,e6 as Lt,e7 as jt,e8 as it,e9 as ht,ea as St,eb as kt,ec as Jt,ed as ee,ee as oa,ef as Zt,eg as ue,eh as on,ei as pe,ej as sn,aL as sa,ek as It,el as Ai,em as la,i as ra,cr as ca,T as $i,o as a,cf as da,en as ua,u as O,w as xi,p as le,ar as Di,bc as ai,h as pa,eo as ma,cm as ha,ck as oi,cL as lt,ep as ga,eq as qt,aW as ln,c$ as fa,er as ya,ci as ba,cj as xa,aP as je,am as fe,b1 as wa,es as va,et as rn,eu as Xt,ev as Qt,ew as pi,dh as Ca,b5 as Ia,cv as $a,ex as Ti,a9 as cn,ey as ei,ez as ti,eA as dn,cQ as un,bV as Oi,eB as mi,dn as hi,eC as Da,bu as Ta,eD as Ei,eE as Oa,eF as La,az as ja,eG as Sa,eH as ka,H as pn,eI as mn,bM as za,eJ as Vi,eK as hn,eL as gn,eM as fn,bK as rt,au as Aa,at as Ea,dw as Va,b as yn,eN as Ra,bI as Pa,x as _a,an as Na,l as Ua,aY as wi}from"./index-DyBrELD_.js";import{a as w,P as $t}from"./sentry-BV4jcjA3.js";import{n as l}from"./mui-D3hEqMLm.js";import{Gp as Ba,ve as Ma,bE as At,bD as Et,bF as Fa,c3 as Wa,lT as qa,bh as Ha}from"./zeni-epic-state-wSe7lDM8.js";import{x as Ri}from"./LabeledControlledCheckBoxField-CgZg0uOW-F-cfza7w.js";import{R as Ga}from"./TrendWithTransactions-CTJhTpAM-COrQLjb7.js";import{u as Ka,c as Ya,d as Ja,m as Xa}from"./uploadAttachment-BlLqRIXe-B5ch9itw.js";import{o as Qa}from"./radio-default-CiSgisfh-eAbgY-Yj.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";import"./TrendChart-JTOG0a7B-Bjcs41DB.js";import"./chartTypes-40RenddT-DZcmdGKn.js";import"./toCOABalancesWithID-DkMGvlEt-BQrLH-Nz.js";import"./toChartData-C6s-eBzE-DCXAm4rQ.js";import"./NoDataChart-CgT19fV7-DcCaLcsZ.js";import"./InsightsSection-De9zu_me-Bh9zGZF1.js";import"./NavigationDots-Bv4tBDN3-3qW0LzNq.js";import"./TransactionList-3-mUZOsw-DUcE4Bg8.js";import"./ConstrainedInnerElement-BeIpAPjB-CDDJSzvV.js";import"./BoxItem-DRwx0M5a-BMNzRCBU.js";import"./commonDimensions-BMnB1-xU-QqtoTCOP.js";import"./panelSelectedMixin-CzfD5-Zs-DvZGh4g5.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]="c483e3cc-4c81-47e8-8ca2-6f323a47908b",e._sentryDebugIdIdentifier="sentry-dbid-c483e3cc-4c81-47e8-8ca2-6f323a47908b")}catch{}})();const Za={headerMarginTop:new _(O[7],O[8])},eo=l(fe)`
1
+ import{dT as Wn,I as qn,P as Hn,d as Vt,aa as Gn,J as ae,O as W,aS as Yt,dU as Kn,dV as Yn,cH as Jn,aF as Xn,dW as nn,dX as Qn,V as i,ad as Zn,bE as ea,dY as ta,dZ as ia,d_ as na,d$ as zi,aT as aa,y as _,aR as q,e0 as an,e1 as De,e2 as Te,e3 as Ne,e4 as et,e5 as tt,e6 as Lt,e7 as jt,e8 as it,e9 as ht,ea as St,eb as kt,ec as Jt,ed as ee,ee as oa,ef as Zt,eg as ue,eh as on,ei as pe,ej as sn,aL as sa,ek as It,el as Ai,em as la,i as ra,cr as ca,T as $i,o as a,cf as da,en as ua,u as O,w as xi,p as le,ar as Di,bc as ai,h as pa,eo as ma,cm as ha,ck as oi,cL as lt,ep as ga,eq as qt,aW as ln,c$ as fa,er as ya,ci as ba,cj as xa,aP as je,am as fe,b1 as wa,es as va,et as rn,eu as Xt,ev as Qt,ew as pi,dh as Ca,b5 as Ia,cv as $a,ex as Ti,a9 as cn,ey as ei,ez as ti,eA as dn,cQ as un,bV as Oi,eB as mi,dn as hi,eC as Da,bu as Ta,eD as Ei,eE as Oa,eF as La,az as ja,eG as Sa,eH as ka,H as pn,eI as mn,bM as za,eJ as Vi,eK as hn,eL as gn,eM as fn,bK as rt,au as Aa,at as Ea,dw as Va,b as yn,eN as Ra,bI as Pa,x as _a,an as Na,l as Ua,aY as wi}from"./index-aKYgEz4E.js";import{a as w,P as $t}from"./sentry-DE0xHQYy.js";import{n as l}from"./mui-DoOKx0Nv.js";import{Gp as Ba,ve as Ma,bE as At,bD as Et,bF as Fa,c3 as Wa,lT as qa,bh as Ha}from"./zeni-epic-state-DxwAhqLZ.js";import{x as Ri}from"./LabeledControlledCheckBoxField-CgZg0uOW-BGY4iPkz.js";import{R as Ga}from"./TrendWithTransactions-CTJhTpAM-Bz4VJM63.js";import{u as Ka,c as Ya,d as Ja,m as Xa}from"./uploadAttachment-BlLqRIXe-B4Vk3ZXv.js";import{o as Qa}from"./radio-default-CiSgisfh-B_-UOpqk.js";import"./liveblocks-Cvx2zK9-.js";import"./core-gf1hoM5k.js";import"./recharts-dbdwlMkn.js";import"./lottie-Bf22aCym.js";import"./analytics-CrK0UBcv.js";import"./lexical-1PgqjfDV.js";import"./utils-Ti4ecUdx.js";import"./TrendChart-JTOG0a7B-BjOM48qV.js";import"./chartTypes-40RenddT-BlQab2Fi.js";import"./toCOABalancesWithID-DkMGvlEt-DJ_7nQiY.js";import"./toChartData-C6s-eBzE-CJBLY_v9.js";import"./NoDataChart-CgT19fV7-B4_zjVVX.js";import"./InsightsSection-De9zu_me-DKiP5CUM.js";import"./NavigationDots-Bv4tBDN3-BTdxEuBa.js";import"./TransactionList-3-mUZOsw-CHIbhgUE.js";import"./ConstrainedInnerElement-BeIpAPjB-Bcim9kwY.js";import"./BoxItem-DRwx0M5a-B6DlgVUd.js";import"./commonDimensions-BMnB1-xU-oARYB6hA.js";import"./panelSelectedMixin-CzfD5-Zs-Cvu8Ui1-.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]="c483e3cc-4c81-47e8-8ca2-6f323a47908b",e._sentryDebugIdIdentifier="sentry-dbid-c483e3cc-4c81-47e8-8ca2-6f323a47908b")}catch{}})();const Za={headerMarginTop:new _(O[7],O[8])},eo=l(fe)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,to=l(fe)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{cf as fe,J as R,V as t,b5 as ue,aR as h,dh as xe,di as he,dc as pe,dj as be,o as a,p as _,cv as ge,O as y,y as Z,T as we,am as v,u as b,aj as $e,dk as ye,dl as G,d3 as K,aP as ee,an as ve}from"./index-DyBrELD_.js";import{a as u,P as je}from"./sentry-BV4jcjA3.js";import{n,c as ke}from"./mui-D3hEqMLm.js";import{a as Ye}from"./ConstrainedInnerElement-BeIpAPjB-CDDJSzvV.js";import{FV as W,FW as X,FX as J,FY as L,bh as Le,Ge as te,bE as ie}from"./zeni-epic-state-wSe7lDM8.js";import{g as ae}from"./BoxItem-DRwx0M5a-BMNzRCBU.js";import{l as Me}from"./panelSelectedMixin-CzfD5-Zs-DvZGh4g5.js";import{o as B}from"./commonDimensions-BMnB1-xU-QqtoTCOP.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]="e9faa4c0-ca78-4f4e-b8bb-bb7620f00ffe",e._sentryDebugIdIdentifier="sentry-dbid-e9faa4c0-ca78-4f4e-b8bb-bb7620f00ffe")}catch{}})();const D=e=>e?24:125,Pe={containerPaddingBottom:new Z(b[9],b[8])},Q=n.div`
1
+ import{cf as fe,J as R,V as t,b5 as ue,aR as h,dh as xe,di as he,dc as pe,dj as be,o as a,p as _,cv as ge,O as y,y as Z,T as we,am as v,u as b,aj as $e,dk as ye,dl as G,d3 as K,aP as ee,an as ve}from"./index-aKYgEz4E.js";import{a as u,P as je}from"./sentry-DE0xHQYy.js";import{n,c as ke}from"./mui-DoOKx0Nv.js";import{a as Ye}from"./ConstrainedInnerElement-BeIpAPjB-Bcim9kwY.js";import{FV as W,FW as X,FX as J,FY as L,bh as Le,Ge as te,bE as ie}from"./zeni-epic-state-DxwAhqLZ.js";import{g as ae}from"./BoxItem-DRwx0M5a-B6DlgVUd.js";import{l as Me}from"./panelSelectedMixin-CzfD5-Zs-Cvu8Ui1-.js";import{o as B}from"./commonDimensions-BMnB1-xU-oARYB6hA.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]="e9faa4c0-ca78-4f4e-b8bb-bb7620f00ffe",e._sentryDebugIdIdentifier="sentry-dbid-e9faa4c0-ca78-4f4e-b8bb-bb7620f00ffe")}catch{}})();const D=e=>e?24:125,Pe={containerPaddingBottom:new Z(b[9],b[8])},Q=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{y as a,J as R,ax as V,aG as ie,a_ as ne,V as t,b5 as re,aR as w,u as n,b as ae,p as A,o,H as j,B as ee,O as $,bs as se,bt as le,aj as de,ar as ce,aP as me,bu as pe,ap as he,T as ue,w as G,bv as te,i as q,aV as oe}from"./index-DyBrELD_.js";import{a as B,P as C}from"./sentry-BV4jcjA3.js";import{n as i,c as ge}from"./mui-D3hEqMLm.js";import{FB as xe,bg as we,bC as O}from"./zeni-epic-state-wSe7lDM8.js";import{G as $e,c as be}from"./AccountsPromoCardStack-D7xvgmOH-CXZpH0yT.js";import{a as ye}from"./ConstrainedInnerElement-BeIpAPjB-CDDJSzvV.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";import"./SummaryCard-B9wqNSwM-D3nnkdoj.js";import"./ReloadCard-DKGn1uxF-DmSJJ42p.js";import"./NavigationArrow-D26UG3p--Bc_WE-hA.js";import"./NavigationDots-Bv4tBDN3-3qW0LzNq.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]="7a780d70-6cf7-46c6-9178-27a6fa1b88db",e._sentryDebugIdIdentifier="sentry-dbid-7a780d70-6cf7-46c6-9178-27a6fa1b88db")}catch{}})();const fe={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
1
+ import{y as a,J as R,ax as V,aG as ie,a_ as ne,V as t,b5 as re,aR as w,u as n,b as ae,p as A,o,H as j,B as ee,O as $,bs as se,bt as le,aj as de,ar as ce,aP as me,bu as pe,ap as he,T as ue,w as G,bv as te,i as q,aV as oe}from"./index-aKYgEz4E.js";import{a as B,P as C}from"./sentry-DE0xHQYy.js";import{n as i,c as ge}from"./mui-DoOKx0Nv.js";import{FB as xe,bg as we,bC as O}from"./zeni-epic-state-DxwAhqLZ.js";import{G as $e,c as be}from"./AccountsPromoCardStack-D7xvgmOH--iUluh0v.js";import{a as ye}from"./ConstrainedInnerElement-BeIpAPjB-Bcim9kwY.js";import"./liveblocks-Cvx2zK9-.js";import"./core-gf1hoM5k.js";import"./recharts-dbdwlMkn.js";import"./lottie-Bf22aCym.js";import"./analytics-CrK0UBcv.js";import"./lexical-1PgqjfDV.js";import"./utils-Ti4ecUdx.js";import"./SummaryCard-B9wqNSwM-Be3_CrZn.js";import"./ReloadCard-DKGn1uxF-Df3SeaKf.js";import"./NavigationArrow-D26UG3p--bihyIg2O.js";import"./NavigationDots-Bv4tBDN3-BTdxEuBa.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]="7a780d70-6cf7-46c6-9178-27a6fa1b88db",e._sentryDebugIdIdentifier="sentry-dbid-7a780d70-6cf7-46c6-9178-27a6fa1b88db")}catch{}})();const fe={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,Se=i.div`
@@ -1,4 +1,4 @@
1
- import{d as z,bB as M,bC as U,V as t,bD as q,T as J,aR as h,bE as X,o as n,am as G}from"./index-DyBrELD_.js";import{a as r,n as H}from"./sentry-BV4jcjA3.js";import{n as l}from"./mui-D3hEqMLm.js";import{T as K}from"./TransactionList-3-mUZOsw-DUcE4Bg8.js";import{t as Q}from"./page-detail-CWX5S47F-D-m40EVy.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./zeni-epic-state-wSe7lDM8.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";import"./ConstrainedInnerElement-BeIpAPjB-CDDJSzvV.js";import"./BoxItem-DRwx0M5a-BMNzRCBU.js";import"./commonDimensions-BMnB1-xU-QqtoTCOP.js";import"./panelSelectedMixin-CzfD5-Zs-DvZGh4g5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="fa1dba75-c221-4a45-95a0-3e7269bd0f25",e._sentryDebugIdIdentifier="sentry-dbid-fa1dba75-c221-4a45-95a0-3e7269bd0f25")}catch{}})();const W=l.div`
1
+ import{d as z,bB as M,bC as U,V as t,bD as q,T as J,aR as h,bE as X,o as n,am as G}from"./index-aKYgEz4E.js";import{a as r,n as H}from"./sentry-DE0xHQYy.js";import{n as l}from"./mui-DoOKx0Nv.js";import{T as K}from"./TransactionList-3-mUZOsw-CHIbhgUE.js";import{t as Q}from"./page-detail-CWX5S47F-CZQMvfli.js";import"./liveblocks-Cvx2zK9-.js";import"./core-gf1hoM5k.js";import"./recharts-dbdwlMkn.js";import"./zeni-epic-state-DxwAhqLZ.js";import"./lottie-Bf22aCym.js";import"./analytics-CrK0UBcv.js";import"./lexical-1PgqjfDV.js";import"./utils-Ti4ecUdx.js";import"./ConstrainedInnerElement-BeIpAPjB-Bcim9kwY.js";import"./BoxItem-DRwx0M5a-B6DlgVUd.js";import"./commonDimensions-BMnB1-xU-oARYB6hA.js";import"./panelSelectedMixin-CzfD5-Zs-Cvu8Ui1-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="fa1dba75-c221-4a45-95a0-3e7269bd0f25",e._sentryDebugIdIdentifier="sentry-dbid-fa1dba75-c221-4a45-95a0-3e7269bd0f25")}catch{}})();const W=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 0;
@@ -1,4 +1,4 @@
1
- import{J as A,O as k,V as o,T as R,aR as L,aT as W,o as a,y as g,x as _,H as J,d5 as Q,aa as U,cH as G,ad as K,u as s,hi as B,hj as M,hk as q,d as X,cM as Y,gQ as z,hl as Z,b9 as ee,hp as oe,hq as te}from"./index-DyBrELD_.js";import{a as I}from"./sentry-BV4jcjA3.js";import{n as c}from"./mui-D3hEqMLm.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./zeni-epic-state-wSe7lDM8.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.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]="a4e9a70e-314a-47b9-8e8c-e7d8e58e0559",e._sentryDebugIdIdentifier="sentry-dbid-a4e9a70e-314a-47b9-8e8c-e7d8e58e0559")}catch{}})();const D=(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:x})=>{const i=A(),y=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=r=>h.filter(O=>O.accountId===r)[0]?.coaId??"",l=r=>C.filter(O=>O.classId===r)[0]?.accountingClassNumber??"",b=r=>{const O=h.find(F=>F.accountId===r)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":L("vendor-details-section",v),children:[o.jsx(se,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:D(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:D(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:r=>V(r),defaultValue:{selectedOption:e,allOptions:M(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:b,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:r=>l(r),defaultValue:{selectedOption:p,allOptions:B(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:q(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},re=c.div`
1
+ import{J as A,O as k,V as o,T as R,aR as L,aT as W,o as a,y as g,x as _,H as J,d5 as Q,aa as U,cH as G,ad as K,u as s,hi as B,hj as M,hk as q,d as X,cM as Y,gQ as z,hl as Z,b9 as ee,hp as oe,hq as te}from"./index-aKYgEz4E.js";import{a as I}from"./sentry-DE0xHQYy.js";import{n as c}from"./mui-DoOKx0Nv.js";import"./liveblocks-Cvx2zK9-.js";import"./core-gf1hoM5k.js";import"./recharts-dbdwlMkn.js";import"./zeni-epic-state-DxwAhqLZ.js";import"./lottie-Bf22aCym.js";import"./analytics-CrK0UBcv.js";import"./lexical-1PgqjfDV.js";import"./utils-Ti4ecUdx.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]="a4e9a70e-314a-47b9-8e8c-e7d8e58e0559",e._sentryDebugIdIdentifier="sentry-dbid-a4e9a70e-314a-47b9-8e8c-e7d8e58e0559")}catch{}})();const D=(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:x})=>{const i=A(),y=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=r=>h.filter(O=>O.accountId===r)[0]?.coaId??"",l=r=>C.filter(O=>O.classId===r)[0]?.accountingClassNumber??"",b=r=>{const O=h.find(F=>F.accountId===r)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":L("vendor-details-section",v),children:[o.jsx(se,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:D(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:D(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:r=>V(r),defaultValue:{selectedOption:e,allOptions:M(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:b,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:r=>l(r),defaultValue:{selectedOption:p,allOptions:B(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:q(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},re=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{V as t,J as ue,aR as A,hy as lt,aP as H,i as ve,hH as ct,T as Ye,aT as $e,o as a,O as E,y as c,x as Ne,a as dt,bb as ut,ar as ft,R as be,aj as De,am as fe,aS as ce,fE as pt,aa as Xe,cH as mt,a_ as ht,aQ as gt,p as U,ad as qe,fI as ke,fJ as Ae,gg as wt,bV as ye,ga as xt,hI as $t,u as o,fs as bt,ck as He,c2 as Dt,f4 as yt,bM as Tt,an as Je,fV as Ct,dw as St,c4 as Ue,g$ as vt,h0 as kt}from"./index-DyBrELD_.js";import{a as u}from"./sentry-BV4jcjA3.js";import{n}from"./mui-D3hEqMLm.js";import{bL as At}from"./zeni-epic-state-wSe7lDM8.js";import{v as Pt}from"./ZeniTransferAmountSlider-BNYgPwHs-Bjfhzv90.js";import{r as Lt}from"./AccountInfoPageContent-DqErO8FH-BbWzsS4C.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";import"./downloadPdf-CUUx8PWn-2rBn8EvK.js";import"./commonDimensions-BMnB1-xU-QqtoTCOP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="93125d7e-7030-4e3e-94b7-c5182489bbbd",e._sentryDebugIdIdentifier="sentry-dbid-93125d7e-7030-4e3e-94b7-c5182489bbbd")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ge="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Qe="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:G,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:Q,onReviewClick:K}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),Z=r.transferMoneyPartiesFetchState,oe=ce(Z),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Ze=u.useCallback(s=>{O?.(s),I(),N(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Ze,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&Q?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Z==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Z,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};G(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Yt,{children:H("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ke(Qe),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ge),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ht,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Jt,{windowSize:i,children:[t.jsx(Qt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Ut,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${H("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Gt,{windowSize:i}),t.jsx(Kt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${H("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ge]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
1
+ import{V as t,J as ue,aR as A,hy as lt,aP as H,i as ve,hH as ct,T as Ye,aT as $e,o as a,O as E,y as c,x as Ne,a as dt,bb as ut,ar as ft,R as be,aj as De,am as fe,aS as ce,fE as pt,aa as Xe,cH as mt,a_ as ht,aQ as gt,p as U,ad as qe,fI as ke,fJ as Ae,gg as wt,bV as ye,ga as xt,hI as $t,u as o,fs as bt,ck as He,c2 as Dt,f4 as yt,bM as Tt,an as Je,fV as Ct,dw as St,c4 as Ue,g$ as vt,h0 as kt}from"./index-aKYgEz4E.js";import{a as u}from"./sentry-DE0xHQYy.js";import{n}from"./mui-DoOKx0Nv.js";import{bL as At}from"./zeni-epic-state-DxwAhqLZ.js";import{v as Pt}from"./ZeniTransferAmountSlider-BNYgPwHs-BY-jr5tc.js";import{r as Lt}from"./AccountInfoPageContent-DqErO8FH-Du9MvqK6.js";import"./liveblocks-Cvx2zK9-.js";import"./core-gf1hoM5k.js";import"./recharts-dbdwlMkn.js";import"./lottie-Bf22aCym.js";import"./analytics-CrK0UBcv.js";import"./lexical-1PgqjfDV.js";import"./utils-Ti4ecUdx.js";import"./downloadPdf-CUUx8PWn-DjbuGwiY.js";import"./commonDimensions-BMnB1-xU-oARYB6hA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="93125d7e-7030-4e3e-94b7-c5182489bbbd",e._sentryDebugIdIdentifier="sentry-dbid-93125d7e-7030-4e3e-94b7-c5182489bbbd")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ge="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Qe="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:G,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:Q,onReviewClick:K}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),Z=r.transferMoneyPartiesFetchState,oe=ce(Z),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Ze=u.useCallback(s=>{O?.(s),I(),N(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Ze,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&Q?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Z==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Z,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};G(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Yt,{children:H("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ke(Qe),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ge),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ht,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Jt,{windowSize:i,children:[t.jsx(Qt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Ut,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${H("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Gt,{windowSize:i}),t.jsx(Kt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${H("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ge]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{J as C,d as M,a9 as Fe,cf as Ke,V as t,aP as V,bV as ae,bE as Ve,b as ie,aR as W,T as We,o as i,aj as k,O as L,p as w,bM as Ee,y,fl as X,H as B,u as p,b6 as ne,bQ as Le,aV as Me,ax as Ge,fY as Ue,h5 as Je,i as _e,am as A,b1 as Xe,ju as Ze,k6 as qe,bi as Qe,eR as et,da as tt,fV as it,k$ as ot,j3 as Ae,j4 as Oe,cv as rt,iW as at,iX as nt,l0 as st,kh as lt,an as E,bT as dt,cB as le,j2 as ct,cE as ht}from"./index-DyBrELD_.js";import{a as f,P as pt}from"./sentry-BV4jcjA3.js";import{n as o,c as de}from"./mui-D3hEqMLm.js";import{bL as G,c4 as xt}from"./zeni-epic-state-wSe7lDM8.js";import{s as gt}from"./commonDimensions-BMnB1-xU-QqtoTCOP.js";import{g as ce}from"./BoxItem-DRwx0M5a-BMNzRCBU.js";import{o as mt}from"./shield-DOlUxcFf-FCvOtDWd.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-Bs6FfRQK.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="84b3ba6d-6b43-436a-8420-15a5f95e26b1",e._sentryDebugIdIdentifier="sentry-dbid-84b3ba6d-6b43-436a-8420-15a5f95e26b1")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Oe),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
1
+ import{J as C,d as M,a9 as Fe,cf as Ke,V as t,aP as V,bV as ae,bE as Ve,b as ie,aR as W,T as We,o as i,aj as k,O as L,p as w,bM as Ee,y,fl as X,H as B,u as p,b6 as ne,bQ as Le,aV as Me,ax as Ge,fY as Ue,h5 as Je,i as _e,am as A,b1 as Xe,ju as Ze,k6 as qe,bi as Qe,eR as et,da as tt,fV as it,k$ as ot,j3 as Ae,j4 as Oe,cv as rt,iW as at,iX as nt,l0 as st,kh as lt,an as E,bT as dt,cB as le,j2 as ct,cE as ht}from"./index-aKYgEz4E.js";import{a as f,P as pt}from"./sentry-DE0xHQYy.js";import{n as o,c as de}from"./mui-DoOKx0Nv.js";import{bL as G,c4 as xt}from"./zeni-epic-state-DxwAhqLZ.js";import{s as gt}from"./commonDimensions-BMnB1-xU-oARYB6hA.js";import{g as ce}from"./BoxItem-DRwx0M5a-B6DlgVUd.js";import{o as mt}from"./shield-DOlUxcFf-JzFWavjh.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-dbdwlMkn.js";import"./liveblocks-Cvx2zK9-.js";import"./core-gf1hoM5k.js";import"./lottie-Bf22aCym.js";import"./analytics-CrK0UBcv.js";import"./lexical-1PgqjfDV.js";import"./utils-Ti4ecUdx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="84b3ba6d-6b43-436a-8420-15a5f95e26b1",e._sentryDebugIdIdentifier="sentry-dbid-84b3ba6d-6b43-436a-8420-15a5f95e26b1")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Oe),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{d as ce,J as V,ax as $e,a9 as fe,aS as ye,V as r,bE as be,fx as ke,b6 as je,o as i,ju as Se,bV as ze,aj as k,i as K,aR as Q,O as A,H as $,ar as O,p as a,y as z,am as R,da as ve,bX as Le,a as Pe,an as Me,ff as Be,u as h,dQ as Ee,bh as Ie,R as Te,x as De,b as ee,d5 as We}from"./index-DyBrELD_.js";import{a as s,P as _e}from"./sentry-BV4jcjA3.js";import{n as t}from"./mui-D3hEqMLm.js";import{Hs as Re}from"./zeni-epic-state-wSe7lDM8.js";import{I as He,N as Ge}from"./VideoPlayer-BRAgZThr-CdNKLBM0.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-YYpYw6PW.js";import{o as Ve}from"./shield-DOlUxcFf-FCvOtDWd.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.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]="afb615d1-8796-4441-a3ae-906c8d575072",e._sentryDebugIdIdentifier="sentry-dbid-afb615d1-8796-4441-a3ae-906c8d575072")}catch{}})();const Ae=({isOpen:e,onClose:g})=>{const d=V(),C=A.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Oe,{windowSize:d,children:[r.jsx(Fe,{children:r.jsx(Ye,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(G,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(te,{children:p},w))}),r.jsx(G,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Ze,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Je,{children:p.links.map((u,b)=>r.jsx(Ke,{children:u.link!==""?r.jsx(ie,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(ie,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:i.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(G,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(te,{children:p},w))})]})]})})},Oe=t.div`
1
+ import{d as ce,J as V,ax as $e,a9 as fe,aS as ye,V as r,bE as be,fx as ke,b6 as je,o as i,ju as Se,bV as ze,aj as k,i as K,aR as Q,O as A,H as $,ar as O,p as a,y as z,am as R,da as ve,bX as Le,a as Pe,an as Me,ff as Be,u as h,dQ as Ee,bh as Ie,R as Te,x as De,b as ee,d5 as We}from"./index-aKYgEz4E.js";import{a as s,P as _e}from"./sentry-DE0xHQYy.js";import{n as t}from"./mui-DoOKx0Nv.js";import{Hs as Re}from"./zeni-epic-state-DxwAhqLZ.js";import{I as He,N as Ge}from"./VideoPlayer-BRAgZThr-6gcdcpPE.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-rBjDmFgV.js";import{o as Ve}from"./shield-DOlUxcFf-JzFWavjh.js";import"./liveblocks-Cvx2zK9-.js";import"./core-gf1hoM5k.js";import"./recharts-dbdwlMkn.js";import"./lottie-Bf22aCym.js";import"./analytics-CrK0UBcv.js";import"./lexical-1PgqjfDV.js";import"./utils-Ti4ecUdx.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]="afb615d1-8796-4441-a3ae-906c8d575072",e._sentryDebugIdIdentifier="sentry-dbid-afb615d1-8796-4441-a3ae-906c8d575072")}catch{}})();const Ae=({isOpen:e,onClose:g})=>{const d=V(),C=A.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Oe,{windowSize:d,children:[r.jsx(Fe,{children:r.jsx(Ye,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(G,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(te,{children:p},w))}),r.jsx(G,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Ze,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Je,{children:p.links.map((u,b)=>r.jsx(Ke,{children:u.link!==""?r.jsx(ie,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(ie,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:i.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(G,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(te,{children:p},w))})]})]})})},Oe=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{d as S,J as j,V as t,bE as I,b5 as z,o as r,O as P,p as m,cv as C,y as E,u as p,am as T}from"./index-DyBrELD_.js";import{a as h}from"./sentry-BV4jcjA3.js";import{n as o}from"./mui-D3hEqMLm.js";import{$ as M}from"./BoxItem-DRwx0M5a-BMNzRCBU.js";import{o as B}from"./commonDimensions-BMnB1-xU-QqtoTCOP.js";import{M as D}from"./StatementItem-g5tfNBjV-BibsnlRn.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./zeni-epic-state-wSe7lDM8.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";import"./downloadPdf-CUUx8PWn-2rBn8EvK.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]="000a9952-696e-4271-9fd1-717cd8946ced",e._sentryDebugIdIdentifier="sentry-dbid-000a9952-696e-4271-9fd1-717cd8946ced")}catch{}})();const b=P.getLocalizedStrings().spendManagement.treasury.statements,w={listItemMargin:new E(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:s,onBackClick:f})=>{const g=S(),i=j(),x=h.createRef(),y=h.useRef(),k=s.statements.length===0,$=()=>B.transactionItemHeightResponsive.value(i),v=({index:a,style:l})=>{const d=s.statements[a];return k===!1?t.jsx(u,{windowSize:i,style:{...l,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:t.jsx(D,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:M(a,s.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(u,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:f,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:a,width:l})=>t.jsx(H,{ref:x,height:a,width:l,innerRef:y,itemKey:d=>d,itemCount:s.statements.length,itemSize:$,initialScrollOffset:0,children:v})})})]})},R=o.div``,u=o.div`
1
+ import{d as S,J as j,V as t,bE as I,b5 as z,o as r,O as P,p as m,cv as C,y as E,u as p,am as T}from"./index-aKYgEz4E.js";import{a as h}from"./sentry-DE0xHQYy.js";import{n as o}from"./mui-DoOKx0Nv.js";import{$ as M}from"./BoxItem-DRwx0M5a-B6DlgVUd.js";import{o as B}from"./commonDimensions-BMnB1-xU-oARYB6hA.js";import{M as D}from"./StatementItem-g5tfNBjV-Vnw-np00.js";import"./liveblocks-Cvx2zK9-.js";import"./core-gf1hoM5k.js";import"./recharts-dbdwlMkn.js";import"./zeni-epic-state-DxwAhqLZ.js";import"./lottie-Bf22aCym.js";import"./analytics-CrK0UBcv.js";import"./lexical-1PgqjfDV.js";import"./utils-Ti4ecUdx.js";import"./downloadPdf-CUUx8PWn-DjbuGwiY.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]="000a9952-696e-4271-9fd1-717cd8946ced",e._sentryDebugIdIdentifier="sentry-dbid-000a9952-696e-4271-9fd1-717cd8946ced")}catch{}})();const b=P.getLocalizedStrings().spendManagement.treasury.statements,w={listItemMargin:new E(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:s,onBackClick:f})=>{const g=S(),i=j(),x=h.createRef(),y=h.useRef(),k=s.statements.length===0,$=()=>B.transactionItemHeightResponsive.value(i),v=({index:a,style:l})=>{const d=s.statements[a];return k===!1?t.jsx(u,{windowSize:i,style:{...l,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:t.jsx(D,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:M(a,s.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(u,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:f,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:a,width:l})=>t.jsx(H,{ref:x,height:a,width:l,innerRef:y,itemKey:d=>d,itemCount:s.statements.length,itemSize:$,initialScrollOffset:0,children:v})})})]})},R=o.div``,u=o.div`
2
2
  margin: ${e=>`${r.sp0} ${w.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{d as j,J as S,V as t,bE as L,b5 as I,o as r,O as z,p,cv as P,y as T,u as h,am as C}from"./index-DyBrELD_.js";import{a as m}from"./sentry-BV4jcjA3.js";import{n as o}from"./mui-D3hEqMLm.js";import{$ as E}from"./BoxItem-DRwx0M5a-BMNzRCBU.js";import{o as M}from"./commonDimensions-BMnB1-xU-QqtoTCOP.js";import{M as B}from"./StatementItem-g5tfNBjV-BibsnlRn.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./zeni-epic-state-wSe7lDM8.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";import"./downloadPdf-CUUx8PWn-2rBn8EvK.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]="f8cb6f79-4dd5-402d-8028-efa88c92cd7e",e._sentryDebugIdIdentifier="sentry-dbid-f8cb6f79-4dd5-402d-8028-efa88c92cd7e")}catch{}})();const x=z.getLocalizedStrings().spendManagement.treasury.taxLetter,f={listItemMargin:new T(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const w=j(),i=S(),g=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>M.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${f.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:E(s,n.taxLetters.length)},d.id)}):t.jsx(D,{style:{...l},children:t.jsx(R,{children:t.jsx(b,{windowSize:i,children:t.jsx(N,{children:x.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:x.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(H,{ref:g,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:v})})})]})},D=o.div``,b=o.div`
1
+ import{d as j,J as S,V as t,bE as L,b5 as I,o as r,O as z,p,cv as P,y as T,u as h,am as C}from"./index-aKYgEz4E.js";import{a as m}from"./sentry-DE0xHQYy.js";import{n as o}from"./mui-DoOKx0Nv.js";import{$ as E}from"./BoxItem-DRwx0M5a-B6DlgVUd.js";import{o as M}from"./commonDimensions-BMnB1-xU-oARYB6hA.js";import{M as B}from"./StatementItem-g5tfNBjV-Vnw-np00.js";import"./liveblocks-Cvx2zK9-.js";import"./core-gf1hoM5k.js";import"./recharts-dbdwlMkn.js";import"./zeni-epic-state-DxwAhqLZ.js";import"./lottie-Bf22aCym.js";import"./analytics-CrK0UBcv.js";import"./lexical-1PgqjfDV.js";import"./utils-Ti4ecUdx.js";import"./downloadPdf-CUUx8PWn-DjbuGwiY.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]="f8cb6f79-4dd5-402d-8028-efa88c92cd7e",e._sentryDebugIdIdentifier="sentry-dbid-f8cb6f79-4dd5-402d-8028-efa88c92cd7e")}catch{}})();const x=z.getLocalizedStrings().spendManagement.treasury.taxLetter,f={listItemMargin:new T(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const w=j(),i=S(),g=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>M.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${f.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:E(s,n.taxLetters.length)},d.id)}):t.jsx(D,{style:{...l},children:t.jsx(R,{children:t.jsx(b,{windowSize:i,children:t.jsx(N,{children:x.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:x.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(H,{ref:g,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:v})})})]})},D=o.div``,b=o.div`
2
2
  margin: ${e=>`${r.sp0} ${f.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{O as $,V as n,d as F,b5 as P,b as j,a_ as R,aR as Y,o as L,p as A,am as B}from"./index-DyBrELD_.js";import{a as v,P as I}from"./sentry-BV4jcjA3.js";import{FY as m}from"./zeni-epic-state-wSe7lDM8.js";import{d as O,g as T,p as D,u as z}from"./chartTypes-40RenddT-DZcmdGKn.js";import{n as k}from"./mui-D3hEqMLm.js";import{o as q}from"./toCOABalancesWithID-DkMGvlEt-BQrLH-Nz.js";import{V as K}from"./toChartData-C6s-eBzE-DCXAm4rQ.js";import{H as V,I as G,X as N,Y as W,J as X,R as H,K as J}from"./recharts-Bs6FfRQK.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.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]="9ef46b50-390d-4995-9f36-e51e093b43b6",e._sentryDebugIdIdentifier="sentry-dbid-9ef46b50-390d-4995-9f36-e51e093b43b6")}catch{}})();const Q=k.div`
1
+ import{O as $,V as n,d as F,b5 as P,b as j,a_ as R,aR as Y,o as L,p as A,am as B}from"./index-aKYgEz4E.js";import{a as v,P as I}from"./sentry-DE0xHQYy.js";import{FY as m}from"./zeni-epic-state-DxwAhqLZ.js";import{d as O,g as T,p as D,u as z}from"./chartTypes-40RenddT-BlQab2Fi.js";import{n as k}from"./mui-DoOKx0Nv.js";import{o as q}from"./toCOABalancesWithID-DkMGvlEt-DJ_7nQiY.js";import{V as K}from"./toChartData-C6s-eBzE-CJBLY_v9.js";import{H as V,I as G,X as N,Y as W,J as X,R as H,K as J}from"./recharts-dbdwlMkn.js";import"./liveblocks-Cvx2zK9-.js";import"./core-gf1hoM5k.js";import"./lottie-Bf22aCym.js";import"./analytics-CrK0UBcv.js";import"./lexical-1PgqjfDV.js";import"./utils-Ti4ecUdx.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]="9ef46b50-390d-4995-9f36-e51e093b43b6",e._sentryDebugIdIdentifier="sentry-dbid-9ef46b50-390d-4995-9f36-e51e093b43b6")}catch{}})();const Q=k.div`
2
2
  display: flex;
3
3
  `,Z=k.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{J as H,V as i,T as L,o as r,O as R,b5 as E,aR as T,y as c,b9 as I,R as V,u as a,am as A,x as q}from"./index-DyBrELD_.js";import{a as k}from"./sentry-BV4jcjA3.js";import{n}from"./mui-D3hEqMLm.js";import K from"./TrendChart-JTOG0a7B-Bjcs41DB.js";import{C as W}from"./NoDataChart-CgT19fV7-DcCaLcsZ.js";import{F as J}from"./InsightsSection-De9zu_me-Bh9zGZF1.js";import{T as Q}from"./TransactionList-3-mUZOsw-DUcE4Bg8.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]="f401845a-4b96-4e33-8f71-6c0e7497cfbb",e._sentryDebugIdIdentifier="sentry-dbid-f401845a-4b96-4e33-8f71-6c0e7497cfbb")}catch{}})();const Z=n.div`
1
+ import{J as H,V as i,T as L,o as r,O as R,b5 as E,aR as T,y as c,b9 as I,R as V,u as a,am as A,x as q}from"./index-aKYgEz4E.js";import{a as k}from"./sentry-DE0xHQYy.js";import{n}from"./mui-DoOKx0Nv.js";import K from"./TrendChart-JTOG0a7B-BjOM48qV.js";import{C as W}from"./NoDataChart-CgT19fV7-B4_zjVVX.js";import{F as J}from"./InsightsSection-De9zu_me-DKiP5CUM.js";import{T as Q}from"./TransactionList-3-mUZOsw-CHIbhgUE.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]="f401845a-4b96-4e33-8f71-6c0e7497cfbb",e._sentryDebugIdIdentifier="sentry-dbid-f401845a-4b96-4e33-8f71-6c0e7497cfbb")}catch{}})();const Z=n.div`
2
2
  display: inline-block;
3
3
  `,G=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{d as ie,J as ce,ax as Xe,aS as en,gL as I,hT as U,aa as nn,hU as tn,hV as je,cH as on,V as t,bE as cn,cr as sn,cs as an,ct as ln,ad as dn,hW as rn,T as un,aT as pn,fB as mn,O as W,hX as _e,y as u,am as gn,o as a,cL as we,aX as q,gQ as te,hY as oe,hZ as Z,h_ as xn,u as r,H as ye,p as Ae,g9 as Ve,aj as $e,bk as hn}from"./index-DyBrELD_.js";import{a as K}from"./sentry-BV4jcjA3.js";import{n as s}from"./mui-D3hEqMLm.js";import{GP as Te,Gt as bn,Gu as fn,GQ as wn}from"./zeni-epic-state-wSe7lDM8.js";import{h as yn}from"./VendorsAccountsSection-D6Qa1zf9-ChhuAgMC.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.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]="f6f75970-13b5-4663-a981-8ad5c44b9f14",e._sentryDebugIdIdentifier="sentry-dbid-f6f75970-13b5-4663-a981-8ad5c44b9f14")}catch{}})();const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},He={title:new ye("standardMedium","largeMedium")},An=s.div`
1
+ import{d as ie,J as ce,ax as Xe,aS as en,gL as I,hT as U,aa as nn,hU as tn,hV as je,cH as on,V as t,bE as cn,cr as sn,cs as an,ct as ln,ad as dn,hW as rn,T as un,aT as pn,fB as mn,O as W,hX as _e,y as u,am as gn,o as a,cL as we,aX as q,gQ as te,hY as oe,hZ as Z,h_ as xn,u as r,H as ye,p as Ae,g9 as Ve,aj as $e,bk as hn}from"./index-aKYgEz4E.js";import{a as K}from"./sentry-DE0xHQYy.js";import{n as s}from"./mui-DoOKx0Nv.js";import{GP as Te,Gt as bn,Gu as fn,GQ as wn}from"./zeni-epic-state-DxwAhqLZ.js";import{h as yn}from"./VendorsAccountsSection-D6Qa1zf9-BByOKM49.js";import"./liveblocks-Cvx2zK9-.js";import"./core-gf1hoM5k.js";import"./recharts-dbdwlMkn.js";import"./lottie-Bf22aCym.js";import"./analytics-CrK0UBcv.js";import"./lexical-1PgqjfDV.js";import"./utils-Ti4ecUdx.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]="f6f75970-13b5-4663-a981-8ad5c44b9f14",e._sentryDebugIdIdentifier="sentry-dbid-f6f75970-13b5-4663-a981-8ad5c44b9f14")}catch{}})();const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},He={title:new ye("standardMedium","largeMedium")},An=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aS as S,V as t,i0 as q,i1 as W,J as P,O,cr as L,af as C,cs as N,ct as U,aa as R,ad as H,cT as M,cO as D,y as g,cP as G,p as A,ap as J,T as K,i as Q,o as i,am as X,u as F,ar as Y,bc as Z}from"./index-DyBrELD_.js";import{a as l}from"./sentry-BV4jcjA3.js";import{n as p}from"./mui-D3hEqMLm.js";import{bL as ee,bh as te}from"./zeni-epic-state-wSe7lDM8.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="3cc9a9aa-3f1b-4cc3-9c05-1681cf4dfe2b",e._sentryDebugIdIdentifier="sentry-dbid-3cc9a9aa-3f1b-4cc3-9c05-1681cf4dfe2b")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(F[3],F[2]),width:new g(300,420,420)},ie=p.div`
1
+ import{aS as S,V as t,i0 as q,i1 as W,J as P,O,cr as L,af as C,cs as N,ct as U,aa as R,ad as H,cT as M,cO as D,y as g,cP as G,p as A,ap as J,T as K,i as Q,o as i,am as X,u as F,ar as Y,bc as Z}from"./index-aKYgEz4E.js";import{a as l}from"./sentry-DE0xHQYy.js";import{n as p}from"./mui-DoOKx0Nv.js";import{bL as ee,bh as te}from"./zeni-epic-state-DxwAhqLZ.js";import"./liveblocks-Cvx2zK9-.js";import"./core-gf1hoM5k.js";import"./recharts-dbdwlMkn.js";import"./lottie-Bf22aCym.js";import"./analytics-CrK0UBcv.js";import"./lexical-1PgqjfDV.js";import"./utils-Ti4ecUdx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="3cc9a9aa-3f1b-4cc3-9c05-1681cf4dfe2b",e._sentryDebugIdIdentifier="sentry-dbid-3cc9a9aa-3f1b-4cc3-9c05-1681cf4dfe2b")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(F[3],F[2]),width:new g(300,420,420)},ie=p.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{aa as U,fC as b,aS as k,J as M,O as A,cH as H,V as i,ad as W,aR as q,fD as J,o as a,p as X,cU as G,aT as K,y as x,x as Q,R as Y,bc as Z,bb as ee,u as c}from"./index-DyBrELD_.js";import{a as f}from"./sentry-BV4jcjA3.js";import{n as o}from"./mui-D3hEqMLm.js";import{FC as te}from"./zeni-epic-state-wSe7lDM8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="d8b7e654-1c7c-428b-9214-2a53dedc02a9",e._sentryDebugIdIdentifier="sentry-dbid-d8b7e654-1c7c-428b-9214-2a53dedc02a9")}catch{}})();const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:$,companyOfficer:t,updateStatus:p,onClose:S,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onSendForVerificationClick:C,onCompanyOfficerUpdated:P}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[T,w]=f.useState(!1),[z,B]=f.useState(!1),j=k(p.fetchState),D=t?.deleteFileStatusById??{},N=t?.updateFileStatusById??{},O=Object.values(D??{}).filter(l=>l!=null),V=te(O);f.useEffect(()=>{j==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[j,p,n,t?.additionalFiles]);const r=M(),y=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&C?.(t?.officerType??"Officer_1")}),_=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(P?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&H(()=>_(d,h))});return()=>{l.unsubscribe()}}),i.jsx(W,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:S,"data-testid":q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:L})}),i.jsx(J,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:G,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${X.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:D,updateFileStatusById:N,filesEndPoint:m,authParams:$,hasError:z,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>B(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),T?i.jsx(K,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:S},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
1
+ import{aa as U,fC as b,aS as k,J as M,O as A,cH as H,V as i,ad as W,aR as q,fD as J,o as a,p as X,cU as G,aT as K,y as x,x as Q,R as Y,bc as Z,bb as ee,u as c}from"./index-aKYgEz4E.js";import{a as f}from"./sentry-DE0xHQYy.js";import{n as o}from"./mui-DoOKx0Nv.js";import{FC as te}from"./zeni-epic-state-DxwAhqLZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="d8b7e654-1c7c-428b-9214-2a53dedc02a9",e._sentryDebugIdIdentifier="sentry-dbid-d8b7e654-1c7c-428b-9214-2a53dedc02a9")}catch{}})();const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:$,companyOfficer:t,updateStatus:p,onClose:S,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onSendForVerificationClick:C,onCompanyOfficerUpdated:P}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[T,w]=f.useState(!1),[z,B]=f.useState(!1),j=k(p.fetchState),D=t?.deleteFileStatusById??{},N=t?.updateFileStatusById??{},O=Object.values(D??{}).filter(l=>l!=null),V=te(O);f.useEffect(()=>{j==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[j,p,n,t?.additionalFiles]);const r=M(),y=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&C?.(t?.officerType??"Officer_1")}),_=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(P?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&H(()=>_(d,h))});return()=>{l.unsubscribe()}}),i.jsx(W,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:S,"data-testid":q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:L})}),i.jsx(J,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:G,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${X.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:D,updateFileStatusById:N,filesEndPoint:m,authParams:$,hasError:z,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>B(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),T?i.jsx(K,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:S},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{aS as i,O as I,V as r,i0 as v,i1 as x}from"./index-DyBrELD_.js";import{a as s}from"./sentry-BV4jcjA3.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./zeni-epic-state-wSe7lDM8.js";import"./mui-D3hEqMLm.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="bad4a1ae-65e9-4882-a57a-b2a420dd2618",t._sentryDebugIdIdentifier="sentry-dbid-bad4a1ae-65e9-4882-a57a-b2a420dd2618")}catch{}})();const H=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:V}=t,f=Object.assign({},m??V),[b,o]=s.useState(!1),[y,n]=s.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=I.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return s.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),s.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),s.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),s.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:b===!0?r.jsx(v,{showHelperText:!a,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(x,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:w=>S?.(w)}}):null})};export{H as default};
1
+ import{aS as i,O as I,V as r,i0 as v,i1 as x}from"./index-aKYgEz4E.js";import{a as s}from"./sentry-DE0xHQYy.js";import"./liveblocks-Cvx2zK9-.js";import"./core-gf1hoM5k.js";import"./recharts-dbdwlMkn.js";import"./zeni-epic-state-DxwAhqLZ.js";import"./mui-DoOKx0Nv.js";import"./lottie-Bf22aCym.js";import"./analytics-CrK0UBcv.js";import"./lexical-1PgqjfDV.js";import"./utils-Ti4ecUdx.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="bad4a1ae-65e9-4882-a57a-b2a420dd2618",t._sentryDebugIdIdentifier="sentry-dbid-bad4a1ae-65e9-4882-a57a-b2a420dd2618")}catch{}})();const H=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:V}=t,f=Object.assign({},m??V),[b,o]=s.useState(!1),[y,n]=s.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=I.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return s.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),s.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),s.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),s.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:b===!0?r.jsx(v,{showHelperText:!a,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(x,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:w=>S?.(w)}}):null})};export{H as default};
@@ -1 +1 @@
1
- import{V as p}from"./index-DyBrELD_.js";import{a as m}from"./sentry-BV4jcjA3.js";import{f as u}from"./ACHDetailsPage-fOu5grd7-_I6UtkXF.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./zeni-epic-state-wSe7lDM8.js";import"./mui-D3hEqMLm.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";import"./BankAccountWarningSection-yT2UAd12-AQuYXXrV.js";import"./MagicLinkTitleSection-ZnbKPIvJ-CNhLMA89.js";import"./BankAccountSection-BabhrBM7-CsYno7bw.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="240181c9-f5b9-435f-9871-808e0326753a",t._sentryDebugIdIdentifier="sentry-dbid-240181c9-f5b9-435f-9871-808e0326753a")}catch{}})();const I=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:d,bankAccountToCreate:c,fetchBankNameByRoutingStatus:f}=t;return m.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),p.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:d,fetchBankNameByRoutingStatus:f,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})};export{I as default};
1
+ import{V as p}from"./index-aKYgEz4E.js";import{a as m}from"./sentry-DE0xHQYy.js";import{f as u}from"./ACHDetailsPage-fOu5grd7-Deblt7MH.js";import"./liveblocks-Cvx2zK9-.js";import"./core-gf1hoM5k.js";import"./recharts-dbdwlMkn.js";import"./zeni-epic-state-DxwAhqLZ.js";import"./mui-DoOKx0Nv.js";import"./lottie-Bf22aCym.js";import"./analytics-CrK0UBcv.js";import"./lexical-1PgqjfDV.js";import"./utils-Ti4ecUdx.js";import"./BankAccountWarningSection-yT2UAd12-CnLYelu-.js";import"./MagicLinkTitleSection-ZnbKPIvJ-DAlnkqhZ.js";import"./BankAccountSection-BabhrBM7-BO4TxZFX.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="240181c9-f5b9-435f-9871-808e0326753a",t._sentryDebugIdIdentifier="sentry-dbid-240181c9-f5b9-435f-9871-808e0326753a")}catch{}})();const I=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:d,bankAccountToCreate:c,fetchBankNameByRoutingStatus:f}=t;return m.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),p.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:d,fetchBankNameByRoutingStatus:f,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})};export{I as default};
@@ -1,4 +1,4 @@
1
- import{d as Ee,J as ae,y as g,aF as we,cK as ft,aa as wt,he as Ce,hf as Ct,aX as $t,cH as St,V as t,bD as Dt,ad as Tt,hg as jt,hh as ye,u as l,cI as Lt,aT as Vt,bE as kt,O as W,hi as Ue,hj as qe,hk as Je,o,bR as S,cL as It,gQ as $e,hl as Ot,cM as Pt,cN as Mt,cO as _t,hm as zt,gh as Ft,cV as Nt,hn as Wt,ho as Ht,p as N,b9 as Ye,aj as Ge,dw as Bt,b1 as Rt,hp as At,hq as Et,am as Ut,dv as qt,du as Jt,d3 as Yt,a_ as pe,hr as Gt,ck as Qe,hs as Qt,H as Se,B as Xe}from"./index-DyBrELD_.js";import{a as $}from"./sentry-BV4jcjA3.js";import{n as a,c as Xt}from"./mui-D3hEqMLm.js";import{bi as De,GL as Kt,GM as Zt}from"./zeni-epic-state-wSe7lDM8.js";import{k as es}from"./SubTabSwitcher-zrkVj1aP-DHjajhP7.js";import{T as ts}from"./TransactionList-3-mUZOsw-DUcE4Bg8.js";import{R as ss}from"./TrendWithTransactions-CTJhTpAM-COrQLjb7.js";import{o as os,t as as}from"./arrow-south-east-round-PEovUgvH-odM3_tAX.js";import{C as ns}from"./LabeledAddressValueField-C6-hVsPb-DSR7WoQV.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-3-KekP79-aeAOh3hf.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";import"./ConstrainedInnerElement-BeIpAPjB-CDDJSzvV.js";import"./BoxItem-DRwx0M5a-BMNzRCBU.js";import"./commonDimensions-BMnB1-xU-QqtoTCOP.js";import"./panelSelectedMixin-CzfD5-Zs-DvZGh4g5.js";import"./TrendChart-JTOG0a7B-Bjcs41DB.js";import"./chartTypes-40RenddT-DZcmdGKn.js";import"./toCOABalancesWithID-DkMGvlEt-BQrLH-Nz.js";import"./toChartData-C6s-eBzE-DCXAm4rQ.js";import"./NoDataChart-CgT19fV7-DcCaLcsZ.js";import"./InsightsSection-De9zu_me-Bh9zGZF1.js";import"./NavigationDots-Bv4tBDN3-3qW0LzNq.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]="c9412d24-2875-4cbc-97f5-19d6e6973c39",e._sentryDebugIdIdentifier="sentry-dbid-c9412d24-2875-4cbc-97f5-19d6e6973c39")}catch{}})();const is=a.div`
1
+ import{d as Ee,J as ae,y as g,aF as we,cK as ft,aa as wt,he as Ce,hf as Ct,aX as $t,cH as St,V as t,bD as Dt,ad as Tt,hg as jt,hh as ye,u as l,cI as Lt,aT as Vt,bE as kt,O as W,hi as Ue,hj as qe,hk as Je,o,bR as S,cL as It,gQ as $e,hl as Ot,cM as Pt,cN as Mt,cO as _t,hm as zt,gh as Ft,cV as Nt,hn as Wt,ho as Ht,p as N,b9 as Ye,aj as Ge,dw as Bt,b1 as Rt,hp as At,hq as Et,am as Ut,dv as qt,du as Jt,d3 as Yt,a_ as pe,hr as Gt,ck as Qe,hs as Qt,H as Se,B as Xe}from"./index-aKYgEz4E.js";import{a as $}from"./sentry-DE0xHQYy.js";import{n as a,c as Xt}from"./mui-DoOKx0Nv.js";import{bi as De,GL as Kt,GM as Zt}from"./zeni-epic-state-DxwAhqLZ.js";import{k as es}from"./SubTabSwitcher-zrkVj1aP-BNHh4GZL.js";import{T as ts}from"./TransactionList-3-mUZOsw-CHIbhgUE.js";import{R as ss}from"./TrendWithTransactions-CTJhTpAM-Bz4VJM63.js";import{o as os,t as as}from"./arrow-south-east-round-PEovUgvH-CDdccmuv.js";import{C as ns}from"./LabeledAddressValueField-C6-hVsPb-BRl1lEvu.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-3-KekP79-BkUwzQDp.js";import"./liveblocks-Cvx2zK9-.js";import"./core-gf1hoM5k.js";import"./recharts-dbdwlMkn.js";import"./lottie-Bf22aCym.js";import"./analytics-CrK0UBcv.js";import"./lexical-1PgqjfDV.js";import"./utils-Ti4ecUdx.js";import"./ConstrainedInnerElement-BeIpAPjB-Bcim9kwY.js";import"./BoxItem-DRwx0M5a-B6DlgVUd.js";import"./commonDimensions-BMnB1-xU-oARYB6hA.js";import"./panelSelectedMixin-CzfD5-Zs-Cvu8Ui1-.js";import"./TrendChart-JTOG0a7B-BjOM48qV.js";import"./chartTypes-40RenddT-BlQab2Fi.js";import"./toCOABalancesWithID-DkMGvlEt-DJ_7nQiY.js";import"./toChartData-C6s-eBzE-CJBLY_v9.js";import"./NoDataChart-CgT19fV7-B4_zjVVX.js";import"./InsightsSection-De9zu_me-DKiP5CUM.js";import"./NavigationDots-Bv4tBDN3-BTdxEuBa.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]="c9412d24-2875-4cbc-97f5-19d6e6973c39",e._sentryDebugIdIdentifier="sentry-dbid-c9412d24-2875-4cbc-97f5-19d6e6973c39")}catch{}})();const is=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{V as l}from"./index-DyBrELD_.js";import{a as k}from"./sentry-BV4jcjA3.js";import{D as y}from"./DomesticWireDetailsPage-BumMT4QM-CBRjN65H.js";import"./liveblocks-VMOu1QaQ.js";import"./core-CuilwggZ.js";import"./recharts-Bs6FfRQK.js";import"./zeni-epic-state-wSe7lDM8.js";import"./mui-D3hEqMLm.js";import"./lottie-DcZDexOB.js";import"./analytics-Dmyyfi9O.js";import"./lexical-BV3aGUzT.js";import"./utils-AGDkxX5e.js";import"./BankAccountSection-BabhrBM7-CsYno7bw.js";import"./MagicLinkTitleSection-ZnbKPIvJ-CNhLMA89.js";import"./BankAccountWarningSection-yT2UAd12-AQuYXXrV.js";import"./MailingDetailsSection-DZT7JPlI-Cc3Oz9Xy.js";import"./LabeledAddressValueField-C6-hVsPb-DSR7WoQV.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]="79bad8b0-b47a-4392-b338-86e2c61755af",e._sentryDebugIdIdentifier="sentry-dbid-79bad8b0-b47a-4392-b338-86e2c61755af")}catch{}})();const j=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:b,bankAccountToCreate:u,fetchBankNameByRoutingStatus:f}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),l.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:b,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:f,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};
1
+ import{V as l}from"./index-aKYgEz4E.js";import{a as k}from"./sentry-DE0xHQYy.js";import{D as y}from"./DomesticWireDetailsPage-BumMT4QM-DLS4y4ar.js";import"./liveblocks-Cvx2zK9-.js";import"./core-gf1hoM5k.js";import"./recharts-dbdwlMkn.js";import"./zeni-epic-state-DxwAhqLZ.js";import"./mui-DoOKx0Nv.js";import"./lottie-Bf22aCym.js";import"./analytics-CrK0UBcv.js";import"./lexical-1PgqjfDV.js";import"./utils-Ti4ecUdx.js";import"./BankAccountSection-BabhrBM7-BO4TxZFX.js";import"./MagicLinkTitleSection-ZnbKPIvJ-DAlnkqhZ.js";import"./BankAccountWarningSection-yT2UAd12-CnLYelu-.js";import"./MailingDetailsSection-DZT7JPlI-Ef3dwfQ5.js";import"./LabeledAddressValueField-C6-hVsPb-BRl1lEvu.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]="79bad8b0-b47a-4392-b338-86e2c61755af",e._sentryDebugIdIdentifier="sentry-dbid-79bad8b0-b47a-4392-b338-86e2c61755af")}catch{}})();const j=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:b,bankAccountToCreate:u,fetchBankNameByRoutingStatus:f}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),l.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:b,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:f,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};