@zeniai/web-cockpit-ui 1.15.30-dev → 1.15.30-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 (219) hide show
  1. package/dist/assets/{ACHDetailsPage-BR3rG--e-D2_LFn30.js → ACHDetailsPage-BR3rG--e-kSCtv-NB.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DncCC-Dz-D3G6sKpR.js → AIPerformancePage-DncCC-Dz-BOvGHscI.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-CD5N14l8-POhlTbPm.js → AccountInfoPage-CD5N14l8-Cj9mMftg.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-D-dwMWkI-Dbq4xdEd.js → AccountInfoPageContent-D-dwMWkI-D88W2OaR.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-Bu3jEa0r-DRCGU_-r.js → AccountLockedInfoModal-Bu3jEa0r-B0qvTV9d.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BL7C23h8-C0V-huzv.js → AccountReconDetailsDrawerPage-BL7C23h8-DzmiVaut.js} +1 -1
  7. package/dist/assets/{AccountRow-B5Gqqqtn-B2ab5e7e.js → AccountRow-B5Gqqqtn-CIBZjEoF.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-BqyCa3EH-C6VYK7eB.js → AccountsPromoCardStack-BqyCa3EH-BhL0cBgw.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-BwmafnJT-Ba-xRLW9.js → AddAddressForCardDrawer-BwmafnJT-Bmncy62v.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-tRVFR3Rw-CIboPJdI.js → AddToWalletPage-tRVFR3Rw-C5ubbZea.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-BO9qovKL-m3dKXsEf.js → AgingReportsPage-BO9qovKL-CdlQDQIv.js} +1 -1
  12. package/dist/assets/{AllUserItems-C5uzbqu0-OYaG4ozf.js → AllUserItems-C5uzbqu0-Dz7hSnjr.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-Dw4d844_-DnXvQrmX.js → ApAgingDetailPage-Dw4d844_-BkAKurnC.js} +1 -1
  14. package/dist/assets/{AppBasePage-BMHvSY21-DiAzqDoX.js → AppBasePage-BMHvSY21-DvkLzmdG.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-C5KqoZ6_-DSRTCara.js → AppDrawerContent-C5KqoZ6_-D_png9qE.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-nEW4hufu-LHTAH2YF.js → ApprovalRulesSettingsPage-nEW4hufu-BCL2xSkm.js} +1 -1
  17. package/dist/assets/{ArAgingChart-2eGhMrCs-DnvN-laJ.js → ArAgingChart-2eGhMrCs-EqBo0h4i.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-CE_nDD48-CIv1_heH.js → ArAgingDetailPage-CE_nDD48-BIHfiXjf.js} +1 -1
  19. package/dist/assets/{AttachmentView-DdX3DEyN-D4xdrOUi.js → AttachmentView-DdX3DEyN-Bw2PxRrG.js} +1 -1
  20. package/dist/assets/{BankAccountSection-Db8KCDjh-7fAQc6F_.js → BankAccountSection-Db8KCDjh-iTFbb6-_.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-DLKyK-pN-WvpV5xZt.js → BankAccountWarningSection-DLKyK-pN-Cdd5qBMX.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BcMQdf1D-C4cSmkMm.js → BankConnectionsSettingsPage-BcMQdf1D-DfqGvpXs.js} +1 -1
  23. package/dist/assets/{BillDetailPage-BOoE3r9n-C_-O6tkI.js → BillDetailPage-BOoE3r9n-BIPuOuQe.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-C-M8i0tF-ErR7MbAL.js → BillPayApprovalRuleDetailPage-C-M8i0tF-B9YYzCOC.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-cqq9M7pi-CM1gLpvJ.js → BillPayApprovalRulesPage-cqq9M7pi-BVbvcx0Z.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CHu-sh9I-b6nXHlbY.js → BillPayPromoPage-CHu-sh9I-B_sxrL9M.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-ICbZgQZR-DcttrcBB.js → BillPaySetUpPage-ICbZgQZR-CfoTEl08.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-DYdJ7J5w-nKMt_tqW.js → BillingSettingsPage-DYdJ7J5w-Dpj9oE-s.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-Cr-JmUCA-LZ1I5uJ7.js → BillsBulkReviewDrawerPage-Cr-JmUCA-Ccv-NbDw.js} +1 -1
  30. package/dist/assets/{BoxItem-ChtGcSH1-BjQod1Sp.js → BoxItem-ChtGcSH1-MoZYQOAh.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CyDHfWqO-s-eVbnix.js → BusinessVerificationPage-CyDHfWqO-DZAPmAGn.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-Dxhe-tx2-BQPvyrmB.js → CardNumberSubText-Dxhe-tx2-TLAx16j3.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-BTR9tfZP-DZBth57E.js → CashbackDetailPage-BTR9tfZP-Jo7Dpa8J.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-D_dF0Nv_-Dp_tBUAA.js → ChargeCardDetailPage-D_dF0Nv_-C7o20zm-.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-wA3_NOPD-DpPgkdeF.js → ChargeCardListPage-wA3_NOPD-DOl_739p.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-8Bgd9bzh-yIMe5GBQ.js → ChargeCardListTable-8Bgd9bzh-HEXHQyum.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-mcW9jr2k-CIwmXpSr.js → ChargeCardPaymentHistoryPage-mcW9jr2k-BjrB9BAc.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-BPyHy6jq-EG0Y0jIo.js → ChargeCardPromoPage-BPyHy6jq-BKhW8ZTA.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-BxAJ2HVU-UIApVhks.js → ChargeCardSetupPage-BxAJ2HVU-BX-4Vim4.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-CZzDSv5y-C_fNd-Va.js → ChargeCardStatementsPage-CZzDSv5y-BXWMC8ei.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-iPcp79Wu-DjNqRhvh.js → CheckDepositDrawerPage-iPcp79Wu-CA2AafB8.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-Ck29YUyD-C4PUByzW.js → CollapsableReportTable-Ck29YUyD-pECWNLmO.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-CEpMwx3h-D1MF6UPf.js → CompanyOfficerDetailsSection-CEpMwx3h-CtZ35yMq.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-CCfVNfP0-D2OWbLG1.js → CompanyPassportCard-CCfVNfP0-CrPt14U3.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-S00SGN0f-DChjXEwN.js → CompanyPassportPage-S00SGN0f-daLbEDp8.js} +1 -1
  46. package/dist/assets/{CompleteProfile-C0Qk6P6p-B7DE2SVz.js → CompleteProfile-C0Qk6P6p-C3tZC3ME.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-BFSc4yf1-Bb3-1CUU.js → ConfettiBurst-BFSc4yf1-Cmp5Smtr.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-XcmcSCP3.js → ConstrainedInnerElement-BeIpAPjB-fIa3khF_.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CmnpkgTu-B-wx5zV_.js → CreateOrEditVendorPage-CmnpkgTu-DFILJK0S.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-wPiHCF7z-Dzpo3z2e.js → CreditCardPaymentDrawerPage-wPiHCF7z-DO8qxsK-.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-CxIflyKX-BGGnxKIK.js → CurrencySelectField-CxIflyKX-BkVKHW7P.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-CE5B6BET-BPLeksRp.js → CustomerOnboardingActivationPage-CE5B6BET-BSoJNJvi.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-CyY14sjC-CpRK_yh3.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton--jL1SUOo-DgoL19Wk.js → CustomerOnboardingDetailPageSkeleton--jL1SUOo-CBYeHto3.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DtAEP0LR-BBA3-H-1.js → CustomerOnboardingNoStepsPage-DtAEP0LR-Cj2h9iOe.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-8fLLsJWV-Cl7RVN5-.js → CustomerOnboardingPage-8fLLsJWV-CvrWaaS9.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-IUm6QKOQ-BgC9YDnn.js → CustomerOnboardingProductSuitePage-IUm6QKOQ-7Xb_cC54.js} +1 -1
  58. package/dist/assets/{Dashboard-CeBbTIiJ-BKwU5QeJ.js → Dashboard-CeBbTIiJ-CjYF6swU.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-DVIwO5-L-pH5FWjLZ.js → DashboardReportPage-DVIwO5-L-Jzf6CQjM.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-CntzllmW-BTAOBj42.js → DashboardSidebarBackgroundAnimation-CntzllmW-4doWKP65.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-B7ErTe-9-ClHyxdVn.js → DepositAccTransactionItem-B7ErTe-9-IiBwcqn_.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-Czm5uOxb-BGyjwBM2.js → DepositAccTransactionListPage-Czm5uOxb-CsvUWB2Z.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-B3Cib987-CARF9i1d.js → DomesticWireDetailsPage-B3Cib987-Bpr9YIbH.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-CS_4lZDV-DTBvhOHI.js → DownloadOverlay-CS_4lZDV-Bj-tFxKl.js} +1 -1
  65. package/dist/assets/{DrawerPage-CrCkJ_bE-fj3woT0N.js → DrawerPage-CrCkJ_bE-4OdrvmR8.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-CbH2FQwr-Dc9u9Y3N.js → EditPeoplePage-CbH2FQwr-Dwdc6XuJ.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-DisSqLai-DnOSaIlo.js → EditReimbursementDetailPage-DisSqLai-DgqcVW3v.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-CPfVH0Qx-DTuhKWD_.js → EntityDetailPage-CPfVH0Qx-Bbq5VGjF.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-CmVlq7pY-umvtllpK.js → EntitySummarySection-CmVlq7pY-ClR4v434.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-DuWbC5EZ-DbINW0ra.js → ExpenseAutomationOverviewPage-DuWbC5EZ-MQAQvJgp.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-DBW9Urqw-BLqr1_km.js → ExpenseAutomationPage-DBW9Urqw-CdNZdY6H.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-DZHOM942-BLmAB792.js → ExpressPayPage-DZHOM942-C3TqtMLa.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-DHomR4Oi-DzHHPfTu.js → FeaturePreviewPage-DHomR4Oi-BUxEkmDY.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-C8Zv_X5E-BSPaXUZH.js → FollowStepsSection-C8Zv_X5E-CbGu5Ubj.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-BFR_WZdE-jG6gei6c.js → GlobalReviewListPage-BFR_WZdE-DGzcSSRg.js} +1 -1
  76. package/dist/assets/{InformationCardStack-C39QsHiY-B_SVxEcf.js → InformationCardStack-C39QsHiY-BFHNROWc.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-Bi2tusdE-DhrD945r.js → InsightsCardStack-Bi2tusdE-tu5bOLaK.js} +1 -1
  78. package/dist/assets/{InsightsSection-CKYv2Mnk-CMDaS26i.js → InsightsSection-CKYv2Mnk-DfsYpI8T.js} +1 -1
  79. package/dist/assets/{IntegrationsSettingsPage-Bj9lE3dy-C8DRNLeo.js → IntegrationsSettingsPage-Bj9lE3dy-BoquOG18.js} +1 -1
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-HPxS_eP2-Bi_9u824.js → InternationalWireSwiftDetailsPage-HPxS_eP2-CXu6WZDB.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-0DjZSpXZ-BFgqlc0H.js → InternationalWireVerificationPage-0DjZSpXZ-BZd7iT9O.js} +1 -1
  82. package/dist/assets/{InviteFormPage-DyUgmNt6-yyWn8Yk_.js → InviteFormPage-DyUgmNt6-DbKce1qR.js} +1 -1
  83. package/dist/assets/{InvitePageListView-PbTTJA74-w58xk_rt.js → InvitePageListView-PbTTJA74-Bz3RohnK.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-CD1AM3Js-2Vxumr-a.js → InvitePeoplePage-CD1AM3Js-Coy9qSK8.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-DPN2hpHj-BXu1QXvI.js → InvoiceUploadSection-DPN2hpHj-Le_Nue4w.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-WeFAdE9k-BxW4fu66.js → IssueChargeCardPage-WeFAdE9k-BwCdMfjt.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-BEiVNwJh-6EnDaIvC.js → LabeledAddressValue-BEiVNwJh-B1AetA9A.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-CeyT4xDd-BvfbCZea.js → LabeledAddressValueField-CeyT4xDd-CsZJNIxr.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-9wqNy7sL-BEJkWulK.js → LabeledControlledCheckBoxField-9wqNy7sL-DXrYHBBD.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-S16_1kXP-UlJPnrtq.js → LabeledCountryMultiSelectField-S16_1kXP-x8HeIlI2.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-B-KMzhH--CvW70JID.js → LabeledCreatableSingleSelectField-B-KMzhH--DUvTQCE0.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-9m7Nhuth-CkOtgSAA.js → LabeledDocumentField-9m7Nhuth-BMfR8g3v.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-B_jJYbeK-PbQrO6eI.js → LabeledDropDownFormattedTextField-B_jJYbeK-CTMDj_vU.js} +1 -1
  94. package/dist/assets/{LabeledText-B1BxC4mo-CDiqUP7l.js → LabeledText-B1BxC4mo-Cud6m7nr.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D0OTplnZ-ClcTuuYx.js → LabeledUserSingleSelectWithSubtitlesField-D0OTplnZ-DV_bhuhP.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DruyoV6I-gDHLkFnU.js → LabeledZeniRolesDropDownField-DruyoV6I-DsPwqNC4.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-_GJ-x5FQ-BvKwuUsJ.js → LinkJETransactionPage-_GJ-x5FQ-CpZcMkUO.js} +1 -1
  98. package/dist/assets/{LockCardPage-BiembyjL-BQgtTNap.js → LockCardPage-BiembyjL-o0APbzNc.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-DF0W3ZsB-DXIPCFb8.js → LowBalancePopup-DF0W3ZsB-BL8lxWid.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-p0Nwa4g8-DTvViT4t.js → MagicLinkACHDetailsPage-p0Nwa4g8-D5bMLjso.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-B_wnHSrq-Cz4K_Hkr.js → MagicLinkDomesticWireDetailsPage-B_wnHSrq-CpgplOKq.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-BohPD43K-CrX6QPLC.js → MagicLinkInternationalWireDetailsPage-BohPD43K-C9uNU_-f.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-RJUcSgy8-CnQ9391t.js → MagicLinkSuccessPage-RJUcSgy8-CVLM8P-e.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-Dlvzbcxc-07YJ3nz_.js → MagicLinkTitleSection-Dlvzbcxc-DASQrA7S.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-BT5P_beR-Chn0pdYc.js → MailingDetailsSection-BT5P_beR-B4cpXc_i.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-BSErzm4Y-BPCz_uBa.js → MyBankConnectionsSettingsPage-BSErzm4Y-C-MWTdNj.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-CC02lTyz-CeD7DjCL.js → MyPendingActivationChargeCardListPage-CC02lTyz-BJnd3ofq.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-BM5j8vuZ-D6xmAoOb.js → MyProfileSettingsPage-BM5j8vuZ-DC0wslST.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-BsrNGnWt-CVqlkT83.js → NavBarWithPicker-BsrNGnWt-BlQqabt1.js} +1 -1
  110. package/dist/assets/{NavigationArrow-BXIVh8h9-DmlDNFK6.js → NavigationArrow-BXIVh8h9-D7IH5yMo.js} +1 -1
  111. package/dist/assets/{NavigationDots-CqAMUVd8-DlLV84YV.js → NavigationDots-CqAMUVd8-BXhLjOxS.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-BJ5efhOX-45v-8VWf.js → NewGlobalMerchantPage-BJ5efhOX-ClQiHLq9.js} +1 -1
  113. package/dist/assets/{NoDataChart-YIESVuNz-DxR56cWr.js → NoDataChart-YIESVuNz-DpSXAqlW.js} +1 -1
  114. package/dist/assets/{NoDataTable-CHeZXDKw-DlmRPcbA.js → NoDataTable-CHeZXDKw-D3EaccW5.js} +1 -1
  115. package/dist/assets/{NotFoundPage-DsvOs3ie-CxEfyKrP.js → NotFoundPage-DsvOs3ie-C-4MxVNW.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-DVfgPnm5-C-9LCnBN.js → NotificationSettingsPage-DVfgPnm5-BvgqO3jt.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-DpYbR8ec-BZk6IMbB.js → NotificationsListConfig-DpYbR8ec-DqDCfeTP.js} +1 -1
  118. package/dist/assets/{NotificationsPage-DvWc70qe-CLGgDCba.js → NotificationsPage-DvWc70qe-VWTqaRJg.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-H76M8qaf-DmH_-lZf.js → OpExByVendorPage-H76M8qaf-BQH2QQSj.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-COyWocbB.js → OverlayContainerPage-D4QU0p4o-DOJMQyvQ.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-sw9N690f-DE9ix_Dt.js → PandLWithForecastPage-sw9N690f-DXwOGKkt.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D_rfYltd-BrO8Jg79.js → PaymentAccountSetupBillingAddressSection-D_rfYltd-BxAOPNlU.js} +1 -1
  123. package/dist/assets/{PeoplePage-D0ePO3d9-CxNhgJ1D.js → PeoplePage-D0ePO3d9-Bb5tMyL7.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-BcFZaXQq-D-hD1KoW.js → ProductsCarousel-BcFZaXQq-CAcJ2P5M.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-BglIl0tN-CTFaf0_7.js → PromoBaseCards-BglIl0tN-Buak4qY9.js} +1 -1
  126. package/dist/assets/{QBOConnectionDialog-D9BGyyB3-D-hyd18h.js → QBOConnectionDialog-D9BGyyB3-C_3987E6.js} +1 -1
  127. package/dist/assets/{QBOSetupSection-C6L-OXzd-Cy1MLcyD.js → QBOSetupSection-C6L-OXzd-C71uj0xQ.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-tKu15I_o-BXX_iX2c.js → ReimbursementApprovalRuleDetailPage-tKu15I_o-BFCP9Tbv.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRulesPage-r2WRV6kv-kJbuC_Ut.js → ReimbursementApprovalRulesPage-r2WRV6kv-C9GzIbw-.js} +1 -1
  130. package/dist/assets/{ReimbursementDetailPage-jJxS8CSo-DCuxr8dd.js → ReimbursementDetailPage-jJxS8CSo-DjnZk067.js} +1 -1
  131. package/dist/assets/{ReimbursementPromoPage-CrKB_OxS-Ba_Ei159.js → ReimbursementPromoPage-CrKB_OxS-3EkO-wL1.js} +1 -1
  132. package/dist/assets/{ReimbursementSetUpPage-COWnzuHW-C1onmBtq.js → ReimbursementSetUpPage-COWnzuHW-CLMx95-b.js} +1 -1
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-jpGSx2Pg-BNjvse6f.js → ReimbursementsBulkReviewDrawerPage-jpGSx2Pg-_Bcfji9w.js} +1 -1
  134. package/dist/assets/{ReloadCard-Dl1P55OC-PqG6EjQo.js → ReloadCard-Dl1P55OC-zZUvCa72.js} +1 -1
  135. package/dist/assets/{ReportTableViewSelector-CPU5qvuC-D9eIuNWz.js → ReportTableViewSelector-CPU5qvuC-2zZIaHx7.js} +1 -1
  136. package/dist/assets/{ReportsPage-FhO_9i3v-BqM0631G.js → ReportsPage-FhO_9i3v-DNezkReN.js} +1 -1
  137. package/dist/assets/{RevenueChart-Bju5kT8K-CLZ32HGB.js → RevenueChart-Bju5kT8K-oXD-rW-y.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-CaEI-TGi-Bc73PbER.js → ReviewDetailsPage-CaEI-TGi-BctO-qMF.js} +1 -1
  139. package/dist/assets/{ReviewOverlay-l69rpwr7-Dr7rxtnO.js → ReviewOverlay-l69rpwr7-CL2MzHR0.js} +1 -1
  140. package/dist/assets/{RoleWithToolTip-C4vCwcT8-C6dR3RYf.js → RoleWithToolTip-C4vCwcT8-C5FDPwWf.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BRsO23kh-dDbnlnbP.js → ScheduleDetailsFixedAssetsPage-BRsO23kh-Bd6jJjXE.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsPage-pKJSKheu-CETheSQx.js → ScheduleDetailsPage-pKJSKheu-3-MzjHkZ.js} +1 -1
  143. package/dist/assets/{ScheduleSequenceTable-CeHDyMVV-BA7tEH_s.js → ScheduleSequenceTable-CeHDyMVV-BDB0daT6.js} +1 -1
  144. package/dist/assets/{ScreenRoutes-D50KKBnw.js → ScreenRoutes-BQy3VYdc.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-rRjmVlU7-VDyxWMzU.js → SetUpAccountSection-rRjmVlU7-DwMfeFsK.js} +1 -1
  146. package/dist/assets/{SignIn-zX3S7vuf-B6rD6GnF.js → SignIn-zX3S7vuf-CwAOg_w9.js} +1 -1
  147. package/dist/assets/{SignInScreen-BiRGIzoF.js → SignInScreen-CpVpLRgx.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-B452IhbL-TWCl13gF.js → SpendManagementListViewPage-B452IhbL-DeBmV72o.js} +3 -3
  149. package/dist/assets/{SpendManagementPerTabPage-BDYtqf0E-ik6oQrCv.js → SpendManagementPerTabPage-BDYtqf0E-DyNuQ-pi.js} +1 -1
  150. package/dist/assets/{SpendManagementSection-BBotB3Xj-DXZ-WUxC.js → SpendManagementSection-BBotB3Xj-CCF7KJv2.js} +1 -1
  151. package/dist/assets/{StatementItem-hqxspUme-BUYqqJPu.js → StatementItem-hqxspUme-sh_LlOTp.js} +1 -1
  152. package/dist/assets/{StatementsPage-CL35o_9R-TfMK-pd1.js → StatementsPage-CL35o_9R-ReR2nu-n.js} +1 -1
  153. package/dist/assets/{StatusSwitcher-LSy5NlOs-Cp5AKxg-.js → StatusSwitcher-LSy5NlOs-B-twulWz.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-BB80NFhP-2jy_qhgj.js → SubTabSwitcher-BB80NFhP-CfbWDFoA.js} +1 -1
  155. package/dist/assets/{SummaryCard-wJqTtNFt-BsTr0JdI.js → SummaryCard-wJqTtNFt-C_twlvBD.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-CnB395ci-B2Pevaa4.js → TaskManagementPage-CnB395ci-lpQsi4e6.js} +1 -1
  157. package/dist/assets/{TimeRangeSwitcher-B1jJf76U-DtYpu1mK.js → TimeRangeSwitcher-B1jJf76U-DhK9j_RI.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcher-CTyaOUPX-CUY8xGFr.js → TimeframeSwitcher-CTyaOUPX-CbY24_cZ.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-D48PqfUX-BOxnTPru.js → TimeframeSwitcherWithToggle-D48PqfUX-D2nr0MDh.js} +1 -1
  160. package/dist/assets/{TopExCard-D-0SNihe-ZpE9qsPN.js → TopExCard-D-0SNihe-DbAMEJsc.js} +1 -1
  161. package/dist/assets/{TopExDetailPage-2Wo3VpBY-DOpuhpkX.js → TopExDetailPage-2Wo3VpBY-CQB6lP8u.js} +1 -1
  162. package/dist/assets/{TransactionActivityLogPage-Bh3D2NmZ-DXQUHRmX.js → TransactionActivityLogPage-Bh3D2NmZ-D3qvKicV.js} +1 -1
  163. package/dist/assets/{TransactionDetailPage-NZEjiM1T-BGAbWz8k.js → TransactionDetailPage-NZEjiM1T-0AsyLNKc.js} +1 -1
  164. package/dist/assets/{TransactionList-DUgCrZWV-BsOtXGXL.js → TransactionList-DUgCrZWV-BvVKtqdG.js} +1 -1
  165. package/dist/assets/{TransactionListBig-BXR8xSqt-DS-QLlyN.js → TransactionListBig-BXR8xSqt-DaiA8bG9.js} +1 -1
  166. package/dist/assets/{TransactionListPage-BhY1YX8v-D8gtIhpi.js → TransactionListPage-BhY1YX8v-Shvm7Elv.js} +1 -1
  167. package/dist/assets/{TransactionVendorDetailPage-D0ZIWPbx-BQMZxgAV.js → TransactionVendorDetailPage-D0ZIWPbx-Cn6y3WJt.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-BP4KhD5c-DNhK3jLa.js → TransferDrawerPage-BP4KhD5c-BrSTdfTz.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-CrYY5MJP-CSAwDWYp.js → TreasuryOverviewPage-CrYY5MJP-C0AmvEQV.js} +1 -1
  170. package/dist/assets/{TreasuryPromoPage-DZ4Kyqzq-C0Hayxbd.js → TreasuryPromoPage-DZ4Kyqzq-D_pEn2EG.js} +1 -1
  171. package/dist/assets/{TreasuryStatementsPage-BaId882i-TGXLFLOt.js → TreasuryStatementsPage-BaId882i-D75gB9l5.js} +1 -1
  172. package/dist/assets/{TreasuryTaxLetterPage-BD36dset-CgUwGPhz.js → TreasuryTaxLetterPage-BD36dset-gxrB031E.js} +1 -1
  173. package/dist/assets/{TrendChart-CS2cE4wE-BAjN56AW.js → TrendChart-CS2cE4wE-9GYHRUaO.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-BNti0lYr-CupF-ouh.js → TrendWithTransactions-BNti0lYr-DivQSKL6.js} +1 -1
  175. package/dist/assets/{UncategorizedAccountsMappingPage-BsRepV5l-CqKwtcl-.js → UncategorizedAccountsMappingPage-BsRepV5l-DlPkehZf.js} +1 -1
  176. package/dist/assets/{UnitIntegrationPage-DqzH4Opa-DVf3e9Kc.js → UnitIntegrationPage-DqzH4Opa-SO4FcuGi.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-BIzKt99W-DhZCGDG3.js → UploadAdditionalDocumentOverlay-BIzKt99W-Th7W6jYz.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-BzQXTs0l-BcKh-GwF.js → Vendor2FAPopup-BzQXTs0l-C90qWU_9.js} +1 -1
  179. package/dist/assets/{VendorACHDetailsPage-D1DvwT9e-H_zR5eA1.js → VendorACHDetailsPage-D1DvwT9e-CTgO1cQ9.js} +1 -1
  180. package/dist/assets/{VendorDetailPage-C9YSL-3_-DZGykXKE.js → VendorDetailPage-C9YSL-3_-BF0fdd2j.js} +1 -1
  181. package/dist/assets/{VendorDomesticWireDetailsPage-CqnTEv1M-BPuNMFYE.js → VendorDomesticWireDetailsPage-CqnTEv1M-CgJRLwZn.js} +1 -1
  182. package/dist/assets/{VendorFiling1099EditablePage-CmnR7Dwc-DgLszr9z.js → VendorFiling1099EditablePage-CmnR7Dwc-DZxsZ_RS.js} +1 -1
  183. package/dist/assets/{VendorFirstReviewPage-CAjuo6H2-DZOfU9yk.js → VendorFirstReviewPage-CAjuo6H2-BffNSToW.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-Ca1voldE-HFASmH_V.js → VendorInternationalWireDetailsPage-Ca1voldE-BbjAc52w.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-B17rmnsI-xxPWVLYY.js → VendorInternationalWireSwiftDetailsPage-B17rmnsI-__uNZA7s.js} +1 -1
  186. package/dist/assets/{VendorsAccountsSection-BY-jWDwa-DAUUORK8.js → VendorsAccountsSection-BY-jWDwa-60HtC92w.js} +1 -1
  187. package/dist/assets/{VerifyDevice-DSN3CxFh-Bi-kGmEN.js → VerifyDevice-DSN3CxFh-da41a_-g.js} +1 -1
  188. package/dist/assets/{VideoPlayer-BzBvO4D1-DXw1tjxz.js → VideoPlayer-BzBvO4D1-CGFIyDTJ.js} +1 -1
  189. package/dist/assets/{VideoPopup-BB6qYshg-Jl0GqeqK.js → VideoPopup-BB6qYshg-ZG_r-hRa.js} +1 -1
  190. package/dist/assets/{WarningsDrawerPage-B4NIhdau-CF-G0BuB.js → WarningsDrawerPage-B4NIhdau-Bru4kwPQ.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-CbMnZZXn-CK0OqnqL.js → ZeniAccountDetailPage-CbMnZZXn-DLFDNJ9i.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-DuuiC_LT-D_lNPUTn.js → ZeniAccountListViewPage-DuuiC_LT-jT3VVTcG.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-CLNviNEx-Ct9cJGJf.js → ZeniAccountNavBarPieces-CLNviNEx-CPY4QhCF.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-Bce5rHc6-vVu4g89P.js → ZeniAccountPromoPage-Bce5rHc6-m6-ECwyb.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-Cwr7kLE1-CoBt9y0X.js → ZeniAccountSetupPage-Cwr7kLE1-DplcqBsj.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-CPV8cCJj-JmJFcE0S.js → ZeniCopyright-CPV8cCJj-D08CfMJu.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-CSJnweYQ-CLfwGJf8.js → ZeniTransferAmountSlider-CSJnweYQ-bsaYWF1B.js} +1 -1
  198. package/dist/assets/{analyticsHelper-DdyBOS3c.js → analyticsHelper-C4Qu-lAN.js} +1 -1
  199. package/dist/assets/{analyticsHelper-CeIe3crh-ruFTPZIn.js → analyticsHelper-CeIe3crh-AsfAm_i9.js} +1 -1
  200. package/dist/assets/{chartTypes-Cpjk7Uyr-BFVm6fL4.js → chartTypes-Cpjk7Uyr-Cx7FiySP.js} +1 -1
  201. package/dist/assets/{commonDimensions-BiY7_JPE-DvdrP9mk.js → commonDimensions-BiY7_JPE-DCs4Mvgg.js} +1 -1
  202. package/dist/assets/{commonTypes-B1ylXa_P-CHogy7bq.js → commonTypes-B1ylXa_P-Cc0VFSjp.js} +1 -1
  203. package/dist/assets/{detailCommon-C7usWt5l-CDexfvl6.js → detailCommon-C7usWt5l-BPTKb5an.js} +1 -1
  204. package/dist/assets/{downloadPdf-DRVFJQsk-Cc-9O8x2.js → downloadPdf-DRVFJQsk-BTOjeNSN.js} +1 -1
  205. package/dist/assets/{helper-Bwr_8pRi-BezSaeYe.js → helper-Bwr_8pRi-tqcy2Ple.js} +1 -1
  206. package/dist/assets/{index-BPZ0_UEx.js → index-Bkm6Mxfx.js} +5 -5
  207. package/dist/assets/{mapLoadingInProgressToTreeNode-DkvfU-AQ-BbnpqVZY.js → mapLoadingInProgressToTreeNode-DkvfU-AQ-BcQQ_ng7.js} +1 -1
  208. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-COWbEMKO-BV9EavoR.js → mapSectionWithAcOnlyToTreeNode-COWbEMKO-DeIvL42p.js} +1 -1
  209. package/dist/assets/{mapSpacerToTreeNode-Csr6iLbE-BUQp66A_.js → mapSpacerToTreeNode-Csr6iLbE-BBc-Z9-B.js} +1 -1
  210. package/dist/assets/{mapTimeframeBalancesToTreeNode-DWah9nq--BLW1ZcCy.js → mapTimeframeBalancesToTreeNode-DWah9nq--hXoargkz.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-KUx30-z6-BBnKHsqs.js → mapTimeframeBalancesToTreeNode-KUx30-z6-Bx1KZ8Tg.js} +1 -1
  212. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-mmJVrGj0-CganeL6g.js → mapTimeframeHeaderLoadingInProgressToTreeNode-mmJVrGj0-DKkBp9K3.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-BOdn6oVS-6ioKjlBn.js → toCOABalancesWithID-BOdn6oVS-D2aQDAmk.js} +1 -1
  214. package/dist/assets/{toChartData--znXzhow-CzN3PXN2.js → toChartData--znXzhow-CuORq1Y-.js} +1 -1
  215. package/dist/assets/{uploadAttachment-B3eC-lyz-B0nHI4xk.js → uploadAttachment-B3eC-lyz-geS_kP_o.js} +1 -1
  216. package/dist/assets/{uploadReceipts-Dge0cNF1-dwFMCGnO.js → uploadReceipts-Dge0cNF1-CY10Jpnu.js} +1 -1
  217. package/dist/index.html +1 -1
  218. package/package.json +1 -1
  219. package/dist/assets/CustomerOnboardingContainerPage-CyY14sjC-U3ET6sDq.js +0 -1
@@ -1,4 +1,4 @@
1
- import{ax as kt,d as Ze,V as t,jy as K,bD as xt,aa as _,cr as wt,am as V,ar as ft,F as oe,o as s,jz as qe,cj as Ie,cn as Ct,ga as Tt,ba as $t,bP as Je,aU as yt,ce as bt,J as le,a9 as jt,y as Qe,cH as vt,ad as St,b4 as Gt,cv as Lt,iV as Nt,iW as It,jA as ze,aS as Et,i as Me,bU as Ee,eQ as et,jB as Dt,d1 as tt,jC as pe,jD as xe,jE as we,jF as st,jG as Mt,jH as ot,jI as nt,jJ as at,jK as rt,jL as it,jM as U,u as ke,jN as re,aj as ie,jO as zt,jP as Bt,x as At,ao as Rt,jQ as Wt,dc as Ot,jR as Pt,cL as lt,es as Ft,b as Ht,jS as _t,jT as Ut,gb as Vt,gC as Kt,jU as Xt,jV as J,jW as Be,cx as Yt,jX as Zt,jY as qt,jZ as Jt,j_ as Ae,p as Re,gz as Qt,an as es}from"./index-BPZ0_UEx.js";import{a as n}from"./sentry-nVlxguQq.js";import{n as o,c as fe}from"./mui-Dg-yyLd1.js";import{Gi as ts,Gj as We,cd as dt,ce as ct,cf as ss}from"./zeni-epic-state-DwXlACp-.js";import{J as os,t as ns}from"./SpendManagementSection-BBotB3Xj-DXZ-WUxC.js";import{A as as,t as rs,a as is,E as ls}from"./NotificationsListConfig-DpYbR8ec-BZk6IMbB.js";import{a as ds}from"./SpendManagementListViewPage-B452IhbL-TWCl13gF.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./StatusSwitcher-LSy5NlOs-Cp5AKxg-.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]="fc67456b-8e68-4011-915c-9707fdf9c71b",e._sentryDebugIdIdentifier="sentry-dbid-fc67456b-8e68-4011-915c-9707fdf9c71b")}catch{}})();const cs=100,ps=100,us=3,hs=.7,ms=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=cs,scrollSpeed:h=ps,minScrollAmount:g=us,scrollCurveExponent:u=hs})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),T=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},j=m=>{const G=e.current;return!G||!(m.target instanceof Node)?!1:G.contains(m.target)},N=m=>j(m),E=m=>{const G=Math.max(m,0)/c,y=Math.pow(G,u)*h;return Math.max(g,y)},k=(m,G,y)=>{const I=y==="up"?-G:G;m===window?window.scrollBy({top:I,behavior:"auto"}):m instanceof HTMLElement&&typeof m.scrollTop=="number"&&(m.scrollTop+=I)},C=()=>e.current??window,w=()=>{if(!a)return;const m=C(),G=window.innerHeight,y=p;if(y<c&&y>0){const I=c-y,M=E(I);k(m,M,"up")}else if(y>G-c){const I=y-(G-c),M=E(I);k(m,M,"down")}i=requestAnimationFrame(w)},z=m=>{N(m)?a=!0:(a=!1,T())},B=()=>{a=!1,T()},A=m=>{a&&(p=m.clientY)},D=m=>{A(m),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",z),document.addEventListener("dragend",B),document.addEventListener("dragover",D),()=>{document.removeEventListener("dragstart",z),document.removeEventListener("dragend",B),document.removeEventListener("dragover",D),T()}},[r,d,g,e,u,h])},Se=oe.getLocalizedStrings(),pt=({count:e})=>t.jsx(gs,{isCircular:e<10,children:t.jsx(ks,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),gs=o.div`
1
+ import{ax as kt,d as Ze,V as t,jy as K,bD as xt,aa as _,cr as wt,am as V,ar as ft,F as oe,o as s,jz as qe,cj as Ie,cn as Ct,ga as Tt,ba as $t,bP as Je,aU as yt,ce as bt,J as le,a9 as jt,y as Qe,cH as vt,ad as St,b4 as Gt,cv as Lt,iV as Nt,iW as It,jA as ze,aS as Et,i as Me,bU as Ee,eQ as et,jB as Dt,d1 as tt,jC as pe,jD as xe,jE as we,jF as st,jG as Mt,jH as ot,jI as nt,jJ as at,jK as rt,jL as it,jM as U,u as ke,jN as re,aj as ie,jO as zt,jP as Bt,x as At,ao as Rt,jQ as Wt,dc as Ot,jR as Pt,cL as lt,es as Ft,b as Ht,jS as _t,jT as Ut,gb as Vt,gC as Kt,jU as Xt,jV as J,jW as Be,cx as Yt,jX as Zt,jY as qt,jZ as Jt,j_ as Ae,p as Re,gz as Qt,an as es}from"./index-Bkm6Mxfx.js";import{a as n}from"./sentry-nVlxguQq.js";import{n as o,c as fe}from"./mui-Dg-yyLd1.js";import{Gi as ts,Gj as We,cd as dt,ce as ct,cf as ss}from"./zeni-epic-state-DwXlACp-.js";import{J as os,t as ns}from"./SpendManagementSection-BBotB3Xj-CCF7KJv2.js";import{A as as,t as rs,a as is,E as ls}from"./NotificationsListConfig-DpYbR8ec-DqDCfeTP.js";import{a as ds}from"./SpendManagementListViewPage-B452IhbL-DeBmV72o.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./StatusSwitcher-LSy5NlOs-B-twulWz.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]="fc67456b-8e68-4011-915c-9707fdf9c71b",e._sentryDebugIdIdentifier="sentry-dbid-fc67456b-8e68-4011-915c-9707fdf9c71b")}catch{}})();const cs=100,ps=100,us=3,hs=.7,ms=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=cs,scrollSpeed:h=ps,minScrollAmount:g=us,scrollCurveExponent:u=hs})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),T=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},j=m=>{const G=e.current;return!G||!(m.target instanceof Node)?!1:G.contains(m.target)},N=m=>j(m),E=m=>{const G=Math.max(m,0)/c,y=Math.pow(G,u)*h;return Math.max(g,y)},k=(m,G,y)=>{const I=y==="up"?-G:G;m===window?window.scrollBy({top:I,behavior:"auto"}):m instanceof HTMLElement&&typeof m.scrollTop=="number"&&(m.scrollTop+=I)},C=()=>e.current??window,w=()=>{if(!a)return;const m=C(),G=window.innerHeight,y=p;if(y<c&&y>0){const I=c-y,M=E(I);k(m,M,"up")}else if(y>G-c){const I=y-(G-c),M=E(I);k(m,M,"down")}i=requestAnimationFrame(w)},z=m=>{N(m)?a=!0:(a=!1,T())},B=()=>{a=!1,T()},A=m=>{a&&(p=m.clientY)},D=m=>{A(m),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",z),document.addEventListener("dragend",B),document.addEventListener("dragover",D),()=>{document.removeEventListener("dragstart",z),document.removeEventListener("dragend",B),document.removeEventListener("dragover",D),T()}},[r,d,g,e,u,h])},Se=oe.getLocalizedStrings(),pt=({count:e})=>t.jsx(gs,{isCircular:e<10,children:t.jsx(ks,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),gs=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,b4 as _,aF as S,dm as B,bs as H,o as a,aj as L}from"./index-BPZ0_UEx.js";import{a as n}from"./sentry-nVlxguQq.js";import{n as g}from"./mui-Dg-yyLd1.js";import{Y as q}from"./core-BdfL-uia.js";import{V as U}from"./CollapsableReportTable-Ck29YUyD-C4PUByzW.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]="7d556800-ae89-465c-8693-c20996982fe4",e._sentryDebugIdIdentifier="sentry-dbid-7d556800-ae89-465c-8693-c20996982fe4")}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,b4 as _,aF as S,dm as B,bs as H,o as a,aj as L}from"./index-Bkm6Mxfx.js";import{a as n}from"./sentry-nVlxguQq.js";import{n as g}from"./mui-Dg-yyLd1.js";import{Y as q}from"./core-BdfL-uia.js";import{V as U}from"./CollapsableReportTable-Ck29YUyD-pECWNLmO.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]="7d556800-ae89-465c-8693-c20996982fe4",e._sentryDebugIdIdentifier="sentry-dbid-7d556800-ae89-465c-8693-c20996982fe4")}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,F as p}from"./index-BPZ0_UEx.js";import{n}from"./mui-Dg-yyLd1.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]="6675e759-ce01-41d7-8e81-d1944b3c60db",e._sentryDebugIdIdentifier="sentry-dbid-6675e759-ce01-41d7-8e81-d1944b3c60db")}catch{}})();const u=n.div`
1
+ import{V as s,o,aj as f,F as p}from"./index-Bkm6Mxfx.js";import{n}from"./mui-Dg-yyLd1.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]="6675e759-ce01-41d7-8e81-d1944b3c60db",e._sentryDebugIdIdentifier="sentry-dbid-6675e759-ce01-41d7-8e81-d1944b3c60db")}catch{}})();const u=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{J as n,V as i,y as d,aj as u,bK as w}from"./index-BPZ0_UEx.js";import{n as r}from"./mui-Dg-yyLd1.js";import{b as l}from"./TimeframeSwitcher-CTyaOUPX-CUY8xGFr.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]="ccbf19a0-afd8-4406-9744-8847f83a3419",e._sentryDebugIdIdentifier="sentry-dbid-ccbf19a0-afd8-4406-9744-8847f83a3419")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),x=r(b)(({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}})),p=e=>i.jsx(x,{...e}),c={timeframePaddingLeft:new d(0,0,125),timeframePaddingBottom:new d(8,8,0)},y=r.div`
1
+ import{J as n,V as i,y as d,aj as u,bK as w}from"./index-Bkm6Mxfx.js";import{n as r}from"./mui-Dg-yyLd1.js";import{b as l}from"./TimeframeSwitcher-CTyaOUPX-CbY24_cZ.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]="ccbf19a0-afd8-4406-9744-8847f83a3419",e._sentryDebugIdIdentifier="sentry-dbid-ccbf19a0-afd8-4406-9744-8847f83a3419")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),x=r(b)(({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}})),p=e=>i.jsx(x,{...e}),c={timeframePaddingLeft:new d(0,0,125),timeframePaddingBottom:new d(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,aZ as H,aP as R,aN as F,o as p,aj as C,ba as U,am as X,F as S,aO as Y,aT as E,b3 as G,b4 as N,ab as q,aU as J,bS as Q}from"./index-BPZ0_UEx.js";import{P as w,a as W}from"./sentry-nVlxguQq.js";import{F9 as Z}from"./zeni-epic-state-DwXlACp-.js";import{n as g}from"./mui-Dg-yyLd1.js";import{I as ee,T as te}from"./ReloadCard-Dl1P55OC-PqG6EjQo.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-B-BNuWuf.js";import{H as k,X as L,Y as $,K,O as P,Q as ne,S as oe}from"./recharts-DVyIhUUu.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]="29e56947-45c0-40eb-8281-f512bddf5adb",e._sentryDebugIdIdentifier="sentry-dbid-29e56947-45c0-40eb-8281-f512bddf5adb")}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,aZ as H,aP as R,aN as F,o as p,aj as C,ba as U,am as X,F as S,aO as Y,aT as E,b3 as G,b4 as N,ab as q,aU as J,bS as Q}from"./index-Bkm6Mxfx.js";import{P as w,a as W}from"./sentry-nVlxguQq.js";import{F9 as Z}from"./zeni-epic-state-DwXlACp-.js";import{n as g}from"./mui-Dg-yyLd1.js";import{I as ee,T as te}from"./ReloadCard-Dl1P55OC-zZUvCa72.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-B-BNuWuf.js";import{H as k,X as L,Y as $,K,O as P,Q as ne,S as oe}from"./recharts-DVyIhUUu.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]="29e56947-45c0-40eb-8281-f512bddf5adb",e._sentryDebugIdIdentifier="sentry-dbid-29e56947-45c0-40eb-8281-f512bddf5adb")}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 b,J as A,V as t,bD as S,F as f,aP as j,b4 as B,A as P,o as i,y as E,bR as H,bt as D,u as c,p as V,am as $,ab as F,b0 as z}from"./index-BPZ0_UEx.js";import{n}from"./mui-Dg-yyLd1.js";import{F9 as T}from"./zeni-epic-state-DwXlACp-.js";import{E as _,I}from"./TopExCard-D-0SNihe-ZpE9qsPN.js";import{b as M}from"./TimeframeSwitcher-CTyaOUPX-CUY8xGFr.js";import{d as L}from"./NoDataTable-CHeZXDKw-DlmRPcbA.js";import{P as Z,a as o}from"./sentry-nVlxguQq.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./ReloadCard-Dl1P55OC-PqG6EjQo.js";import"./graphic-no-data-l-DU4J8fDt-B-BNuWuf.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]="78d65066-0176-4867-982f-fd17b1c8e142",e._sentryDebugIdIdentifier="sentry-dbid-78d65066-0176-4867-982f-fd17b1c8e142")}catch{}})();const v="141px",O=i.sp4,N="123px",R=n(z)`
1
+ import{d as b,J as A,V as t,bD as S,F as f,aP as j,b4 as B,A as P,o as i,y as E,bR as H,bt as D,u as c,p as V,am as $,ab as F,b0 as z}from"./index-Bkm6Mxfx.js";import{n}from"./mui-Dg-yyLd1.js";import{F9 as T}from"./zeni-epic-state-DwXlACp-.js";import{E as _,I}from"./TopExCard-D-0SNihe-DbAMEJsc.js";import{b as M}from"./TimeframeSwitcher-CTyaOUPX-CbY24_cZ.js";import{d as L}from"./NoDataTable-CHeZXDKw-D3EaccW5.js";import{P as Z,a as o}from"./sentry-nVlxguQq.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./ReloadCard-Dl1P55OC-zZUvCa72.js";import"./graphic-no-data-l-DU4J8fDt-B-BNuWuf.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]="78d65066-0176-4867-982f-fd17b1c8e142",e._sentryDebugIdIdentifier="sentry-dbid-78d65066-0176-4867-982f-fd17b1c8e142")}catch{}})();const v="141px",O=i.sp4,N="123px",R=n(z)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{V as n,m as F,o,b8 as H,F as z,am as I,x as B,eI as U,an as K,bh as M,h as P,aj as W,dv as q,a_ as J}from"./index-BPZ0_UEx.js";import{a as Q}from"./sentry-nVlxguQq.js";import{n as i}from"./mui-Dg-yyLd1.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="8e648880-7357-4b75-be39-bb4237f8d3b5",e._sentryDebugIdIdentifier="sentry-dbid-8e648880-7357-4b75-be39-bb4237f8d3b5")}catch{}})();const A=z.getLocalizedStrings(),{transactionActivityLog:p}=A.expenseAutomation.transactions,{dateFormat:x}=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 Z(e){return e.endsWith(".user_update")}function Y(e){return e.length>0&&Z(e[0].eventType)}function G(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 O(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 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=g[s.eventType]??s.eventType,d=G(s),h=O(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 X(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 qe=({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(F,{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]=Q.useState(!1),a=Y(e),s=a?[]:X(e),l=a?R(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($e,{})]}),n.jsxs(xe,{children:[n.jsx(ye,{children:te(e)}),n.jsxs(je,{children:[n.jsx(k,{children:e[0].createTime.format(x.visual.MMMDFormat)}),n.jsx(ve,{}),n.jsx(k,{children:e[0].createTime.format(x.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,$)=>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}-${$}`))})]},`${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,$)=>n.jsxs(pe,{children:[n.jsxs(D,{children:[c.fieldName,c.newValue!=null&&`: ${c.newValue}`]}),n.jsx(S,{children:c.reasoning})]},`${c.fieldName}-${$}`))})]},`${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,m as F,o,b8 as H,F as z,am as I,x as B,eI as U,an as K,bh as M,h as P,aj as W,dv as q,a_ as J}from"./index-Bkm6Mxfx.js";import{a as Q}from"./sentry-nVlxguQq.js";import{n as i}from"./mui-Dg-yyLd1.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="8e648880-7357-4b75-be39-bb4237f8d3b5",e._sentryDebugIdIdentifier="sentry-dbid-8e648880-7357-4b75-be39-bb4237f8d3b5")}catch{}})();const A=z.getLocalizedStrings(),{transactionActivityLog:p}=A.expenseAutomation.transactions,{dateFormat:x}=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 Z(e){return e.endsWith(".user_update")}function Y(e){return e.length>0&&Z(e[0].eventType)}function G(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 O(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 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=g[s.eventType]??s.eventType,d=G(s),h=O(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 X(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 qe=({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(F,{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]=Q.useState(!1),a=Y(e),s=a?[]:X(e),l=a?R(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($e,{})]}),n.jsxs(xe,{children:[n.jsx(ye,{children:te(e)}),n.jsxs(je,{children:[n.jsx(k,{children:e[0].createTime.format(x.visual.MMMDFormat)}),n.jsx(ve,{}),n.jsx(k,{children:e[0].createTime.format(x.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,$)=>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}-${$}`))})]},`${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,$)=>n.jsxs(pe,{children:[n.jsxs(D,{children:[c.fieldName,c.newValue!=null&&`: ${c.newValue}`]}),n.jsx(S,{children:c.reasoning})]},`${c.fieldName}-${$}`))})]},`${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{dS as Hn,dT as Jn,I as Gn,r as Yn,d as _t,a9 as Xn,J as ae,F as M,aR as Yt,dU as Zn,dV as Qn,cH as Kn,aF as ea,dW as an,dX as ta,V as i,ad as ia,bD as na,dY as aa,dZ as oa,d_ as sa,d$ as Ai,aS as la,y as N,ab as F,e0 as on,e1 as Te,e2 as Oe,e3 as Ne,e4 as Qe,e5 as Ke,e6 as kt,e7 as zt,e8 as et,e9 as ht,ea as At,eb as Vt,ec as Xt,ed as ee,ee as ra,ef as Kt,eg as pe,eh as sn,ei as me,ej as ln,aL as ca,ek as Tt,el as Vi,em as da,i as ua,cr as pa,m as Di,o as a,ce as ma,en as ha,u as O,A as vi,p as re,ar as Ti,bb as ai,h as ga,eo as fa,cl as ya,cj as oi,cL as ot,ep as ba,eq as qt,aV as rn,c$ as xa,er as va,ch as wa,ci as Ca,aP as Le,am as ye,b0 as Ia,es as $a,et as cn,eu as Zt,ev as Qt,ew as mi,dh as Da,b4 as Ta,cv as Oa,ex as Oi,a8 as dn,ey as ei,ez as ti,eA as un,cQ as pn,bU as Li,eB as hi,dn as gi,eC as La,bt as ja,eD as Ei,eE as Sa,eF as ka,az as za,eG as Aa,eH as Va,H as mn,eI as hn,bL as Ea,eJ as Ri,eK as gn,eL as fn,eM as yn,bJ as st,au as Ra,at as Pa,dv as _a,b as bn,eN as Na,bH as Ua,x as Ba,an as Wa,l as Ma,aX as wi}from"./index-BPZ0_UEx.js";import{a as v,P as Ot}from"./sentry-nVlxguQq.js";import{n as l}from"./mui-Dg-yyLd1.js";import{FG as Fa,ux as qa,bE as Rt,bD as Pt,bF as Ha,c3 as Ja,la as Ga,bh as Ya}from"./zeni-epic-state-DwXlACp-.js";import{x as Pi}from"./LabeledControlledCheckBoxField-9wqNy7sL-BEJkWulK.js";import{R as Xa}from"./TrendWithTransactions-BNti0lYr-CupF-ouh.js";import{u as Za,c as Qa,d as Ka,m as eo}from"./uploadAttachment-B3eC-lyz-B0nHI4xk.js";import{o as to}from"./radio-default-CiSgisfh-7Dm34YkL.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./TrendChart-CS2cE4wE-BAjN56AW.js";import"./chartTypes-Cpjk7Uyr-BFVm6fL4.js";import"./toCOABalancesWithID-BOdn6oVS-6ioKjlBn.js";import"./toChartData--znXzhow-CzN3PXN2.js";import"./NoDataChart-YIESVuNz-DxR56cWr.js";import"./InsightsSection-CKYv2Mnk-CMDaS26i.js";import"./NavigationDots-CqAMUVd8-DlLV84YV.js";import"./TransactionList-DUgCrZWV-BsOtXGXL.js";import"./ConstrainedInnerElement-BeIpAPjB-XcmcSCP3.js";import"./BoxItem-ChtGcSH1-BjQod1Sp.js";import"./commonDimensions-BiY7_JPE-DvdrP9mk.js";import"./panelSelectedMixin-Cddsb26L-BcWH15GY.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]="33c79004-a68c-493b-b90e-17096a690589",e._sentryDebugIdIdentifier="sentry-dbid-33c79004-a68c-493b-b90e-17096a690589")}catch{}})();const io={headerMarginTop:new N(O[7],O[8])},no=l(ye)`
1
+ import{dS as Hn,dT as Jn,I as Gn,r as Yn,d as _t,a9 as Xn,J as ae,F as M,aR as Yt,dU as Zn,dV as Qn,cH as Kn,aF as ea,dW as an,dX as ta,V as i,ad as ia,bD as na,dY as aa,dZ as oa,d_ as sa,d$ as Ai,aS as la,y as N,ab as F,e0 as on,e1 as Te,e2 as Oe,e3 as Ne,e4 as Qe,e5 as Ke,e6 as kt,e7 as zt,e8 as et,e9 as ht,ea as At,eb as Vt,ec as Xt,ed as ee,ee as ra,ef as Kt,eg as pe,eh as sn,ei as me,ej as ln,aL as ca,ek as Tt,el as Vi,em as da,i as ua,cr as pa,m as Di,o as a,ce as ma,en as ha,u as O,A as vi,p as re,ar as Ti,bb as ai,h as ga,eo as fa,cl as ya,cj as oi,cL as ot,ep as ba,eq as qt,aV as rn,c$ as xa,er as va,ch as wa,ci as Ca,aP as Le,am as ye,b0 as Ia,es as $a,et as cn,eu as Zt,ev as Qt,ew as mi,dh as Da,b4 as Ta,cv as Oa,ex as Oi,a8 as dn,ey as ei,ez as ti,eA as un,cQ as pn,bU as Li,eB as hi,dn as gi,eC as La,bt as ja,eD as Ei,eE as Sa,eF as ka,az as za,eG as Aa,eH as Va,H as mn,eI as hn,bL as Ea,eJ as Ri,eK as gn,eL as fn,eM as yn,bJ as st,au as Ra,at as Pa,dv as _a,b as bn,eN as Na,bH as Ua,x as Ba,an as Wa,l as Ma,aX as wi}from"./index-Bkm6Mxfx.js";import{a as v,P as Ot}from"./sentry-nVlxguQq.js";import{n as l}from"./mui-Dg-yyLd1.js";import{FG as Fa,ux as qa,bE as Rt,bD as Pt,bF as Ha,c3 as Ja,la as Ga,bh as Ya}from"./zeni-epic-state-DwXlACp-.js";import{x as Pi}from"./LabeledControlledCheckBoxField-9wqNy7sL-DXrYHBBD.js";import{R as Xa}from"./TrendWithTransactions-BNti0lYr-DivQSKL6.js";import{u as Za,c as Qa,d as Ka,m as eo}from"./uploadAttachment-B3eC-lyz-geS_kP_o.js";import{o as to}from"./radio-default-CiSgisfh-7Dm34YkL.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./TrendChart-CS2cE4wE-9GYHRUaO.js";import"./chartTypes-Cpjk7Uyr-Cx7FiySP.js";import"./toCOABalancesWithID-BOdn6oVS-D2aQDAmk.js";import"./toChartData--znXzhow-CuORq1Y-.js";import"./NoDataChart-YIESVuNz-DpSXAqlW.js";import"./InsightsSection-CKYv2Mnk-DfsYpI8T.js";import"./NavigationDots-CqAMUVd8-BXhLjOxS.js";import"./TransactionList-DUgCrZWV-BvVKtqdG.js";import"./ConstrainedInnerElement-BeIpAPjB-fIa3khF_.js";import"./BoxItem-ChtGcSH1-MoZYQOAh.js";import"./commonDimensions-BiY7_JPE-DCs4Mvgg.js";import"./panelSelectedMixin-Cddsb26L-BcWH15GY.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]="33c79004-a68c-493b-b90e-17096a690589",e._sentryDebugIdIdentifier="sentry-dbid-33c79004-a68c-493b-b90e-17096a690589")}catch{}})();const io={headerMarginTop:new N(O[7],O[8])},no=l(ye)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,ao=l(ye)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{ce as fe,J as R,V as t,b4 as ue,ab as h,dh as xe,di as he,dc as pe,dj as be,o as a,p as A,cv as ge,F as y,y as X,m as we,am as v,u as b,aj as $e,dk as ye,dl as Z,d3 as G,aP as ee,an as ve}from"./index-BPZ0_UEx.js";import{a as u,P as ke}from"./sentry-nVlxguQq.js";import{n,c as je}from"./mui-Dg-yyLd1.js";import{a as Ye}from"./ConstrainedInnerElement-BeIpAPjB-XcmcSCP3.js";import{Fa as _,Fb as J,Fc as K,Fd as L,bh as Le,Fv as te,bE as ie}from"./zeni-epic-state-DwXlACp-.js";import{g as ae}from"./BoxItem-ChtGcSH1-BjQod1Sp.js";import{t as Me}from"./panelSelectedMixin-Cddsb26L-BcWH15GY.js";import{o as B}from"./commonDimensions-BiY7_JPE-DvdrP9mk.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]="3142bb50-b3fb-4d2d-a26b-e5b64984a473",e._sentryDebugIdIdentifier="sentry-dbid-3142bb50-b3fb-4d2d-a26b-e5b64984a473")}catch{}})();const D=e=>e?24:125,Pe={containerPaddingBottom:new X(b[9],b[8])},W=n.div`
1
+ import{ce as fe,J as R,V as t,b4 as ue,ab as h,dh as xe,di as he,dc as pe,dj as be,o as a,p as A,cv as ge,F as y,y as X,m as we,am as v,u as b,aj as $e,dk as ye,dl as Z,d3 as G,aP as ee,an as ve}from"./index-Bkm6Mxfx.js";import{a as u,P as ke}from"./sentry-nVlxguQq.js";import{n,c as je}from"./mui-Dg-yyLd1.js";import{a as Ye}from"./ConstrainedInnerElement-BeIpAPjB-fIa3khF_.js";import{Fa as _,Fb as J,Fc as K,Fd as L,bh as Le,Fv as te,bE as ie}from"./zeni-epic-state-DwXlACp-.js";import{g as ae}from"./BoxItem-ChtGcSH1-MoZYQOAh.js";import{t as Me}from"./panelSelectedMixin-Cddsb26L-BcWH15GY.js";import{o as B}from"./commonDimensions-BiY7_JPE-DCs4Mvgg.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]="3142bb50-b3fb-4d2d-a26b-e5b64984a473",e._sentryDebugIdIdentifier="sentry-dbid-3142bb50-b3fb-4d2d-a26b-e5b64984a473")}catch{}})();const D=e=>e?24:125,Pe={containerPaddingBottom:new X(b[9],b[8])},W=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 Z,aG as ie,aZ as ne,V as t,b4 as re,ab as w,u as n,b as ae,p as A,o,H as j,a as ee,F as $,br as se,bs as le,aj as de,ar as ce,aP as me,bt as pe,ap as he,m as ue,A as G,bu as te,i as q,aU as oe}from"./index-BPZ0_UEx.js";import{a as T,P as C}from"./sentry-nVlxguQq.js";import{n as i,c as ge}from"./mui-Dg-yyLd1.js";import{ES as xe,bg as we,bC as O}from"./zeni-epic-state-DwXlACp-.js";import{G as $e,c as be}from"./AccountsPromoCardStack-BqyCa3EH-C6VYK7eB.js";import{a as ye}from"./ConstrainedInnerElement-BeIpAPjB-XcmcSCP3.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./SummaryCard-wJqTtNFt-BsTr0JdI.js";import"./ReloadCard-Dl1P55OC-PqG6EjQo.js";import"./NavigationArrow-BXIVh8h9-DmlDNFK6.js";import"./NavigationDots-CqAMUVd8-DlLV84YV.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]="43f87200-066a-4870-b34c-a10a2c871612",e._sentryDebugIdIdentifier="sentry-dbid-43f87200-066a-4870-b34c-a10a2c871612")}catch{}})();const fe={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
1
+ import{y as a,J as R,ax as Z,aG as ie,aZ as ne,V as t,b4 as re,ab as w,u as n,b as ae,p as A,o,H as j,a as ee,F as $,br as se,bs as le,aj as de,ar as ce,aP as me,bt as pe,ap as he,m as ue,A as G,bu as te,i as q,aU as oe}from"./index-Bkm6Mxfx.js";import{a as T,P as C}from"./sentry-nVlxguQq.js";import{n as i,c as ge}from"./mui-Dg-yyLd1.js";import{ES as xe,bg as we,bC as O}from"./zeni-epic-state-DwXlACp-.js";import{G as $e,c as be}from"./AccountsPromoCardStack-BqyCa3EH-BhL0cBgw.js";import{a as ye}from"./ConstrainedInnerElement-BeIpAPjB-fIa3khF_.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./SummaryCard-wJqTtNFt-C_twlvBD.js";import"./ReloadCard-Dl1P55OC-zZUvCa72.js";import"./NavigationArrow-BXIVh8h9-D7IH5yMo.js";import"./NavigationDots-CqAMUVd8-BXhLjOxS.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]="43f87200-066a-4870-b34c-a10a2c871612",e._sentryDebugIdIdentifier="sentry-dbid-43f87200-066a-4870-b34c-a10a2c871612")}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,bA as M,bB as R,V as t,bC as Q,m as U,ab as h,bD as X,o as s,am as G}from"./index-BPZ0_UEx.js";import{a as r,n as H}from"./sentry-nVlxguQq.js";import{n as l}from"./mui-Dg-yyLd1.js";import{T as J}from"./TransactionList-DUgCrZWV-BsOtXGXL.js";import{t as K}from"./page-detail-CWX5S47F-C9V7NZCx.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./ConstrainedInnerElement-BeIpAPjB-XcmcSCP3.js";import"./BoxItem-ChtGcSH1-BjQod1Sp.js";import"./commonDimensions-BiY7_JPE-DvdrP9mk.js";import"./panelSelectedMixin-Cddsb26L-BcWH15GY.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]="ce2dc39e-0646-48d4-9b4d-e2373e420240",e._sentryDebugIdIdentifier="sentry-dbid-ce2dc39e-0646-48d4-9b4d-e2373e420240")}catch{}})();const W=l.div`
1
+ import{d as z,bA as M,bB as R,V as t,bC as Q,m as U,ab as h,bD as X,o as s,am as G}from"./index-Bkm6Mxfx.js";import{a as r,n as H}from"./sentry-nVlxguQq.js";import{n as l}from"./mui-Dg-yyLd1.js";import{T as J}from"./TransactionList-DUgCrZWV-BvVKtqdG.js";import{t as K}from"./page-detail-CWX5S47F-C9V7NZCx.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./ConstrainedInnerElement-BeIpAPjB-fIa3khF_.js";import"./BoxItem-ChtGcSH1-MoZYQOAh.js";import"./commonDimensions-BiY7_JPE-DCs4Mvgg.js";import"./panelSelectedMixin-Cddsb26L-BcWH15GY.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]="ce2dc39e-0646-48d4-9b4d-e2373e420240",e._sentryDebugIdIdentifier="sentry-dbid-ce2dc39e-0646-48d4-9b4d-e2373e420240")}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,F as k,V as o,m as R,ab as L,aS as W,o as a,y as f,x as _,H as J,d5 as K,a9 as Q,cH as U,ad as X,u as r,hi as F,hj as M,hk as B,d as G,cM as Y,gQ as z,hl as Z,b8 as ee,hp as oe,hq as te}from"./index-BPZ0_UEx.js";import{a as I}from"./sentry-nVlxguQq.js";import{n as c}from"./mui-Dg-yyLd1.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="94fca2b5-bf6d-4914-bdfe-0c2d97e365f8",e._sentryDebugIdIdentifier="sentry-dbid-94fca2b5-bf6d-4914-bdfe-0c2d97e365f8")}catch{}})();const O=(e,n)=>`${e}.${n}`,N={labelWidth:new f(120,145,160),controlWidth:new f(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:g,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:w,classHierarchyList:x})=>{const i=A(),b=G(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=s=>h.filter(D=>D.accountId===s)[0]?.coaId??"",l=s=>C.filter(D=>D.classId===s)[0]?.accountingClassNumber??"",y=s=>{const D=h.find(q=>q.accountId===s)?.accountName;return[oe,te].includes(D??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:g,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:M(w)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:B(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
1
+ import{J as A,F as k,V as o,m as R,ab as L,aS as W,o as a,y as f,x as _,H as J,d5 as K,a9 as Q,cH as U,ad as X,u as r,hi as F,hj as M,hk as B,d as G,cM as Y,gQ as z,hl as Z,b8 as ee,hp as oe,hq as te}from"./index-Bkm6Mxfx.js";import{a as I}from"./sentry-nVlxguQq.js";import{n as c}from"./mui-Dg-yyLd1.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="94fca2b5-bf6d-4914-bdfe-0c2d97e365f8",e._sentryDebugIdIdentifier="sentry-dbid-94fca2b5-bf6d-4914-bdfe-0c2d97e365f8")}catch{}})();const O=(e,n)=>`${e}.${n}`,N={labelWidth:new f(120,145,160),controlWidth:new f(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:g,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:w,classHierarchyList:x})=>{const i=A(),b=G(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=s=>h.filter(D=>D.accountId===s)[0]?.coaId??"",l=s=>C.filter(D=>D.classId===s)[0]?.accountingClassNumber??"",y=s=>{const D=h.find(q=>q.accountId===s)?.accountName;return[oe,te].includes(D??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:g,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:M(w)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:B(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{V as t,J as ue,ab as A,hy as lt,aP as H,i as ve,hH as ct,m as Ne,aS as $e,o as a,F as E,y as c,x as Ye,c as dt,ba as ut,ar as ft,R as be,aj as De,am as fe,aR as ce,fE as pt,a9 as Xe,cH as mt,aZ as ht,aQ as gt,p as U,ad as qe,fI as ke,fJ as Ae,gg as wt,bU as ye,ga as xt,hI as $t,u as o,fs as bt,cj as He,c1 as Dt,f4 as yt,bL as Tt,an as Je,fV as Ct,dv as St,c3 as Ue,g$ as vt,h0 as kt}from"./index-BPZ0_UEx.js";import{a as u}from"./sentry-nVlxguQq.js";import{n}from"./mui-Dg-yyLd1.js";import{bL as At}from"./zeni-epic-state-DwXlACp-.js";import{v as Pt}from"./ZeniTransferAmountSlider-CSJnweYQ-CLfwGJf8.js";import{r as Lt}from"./AccountInfoPageContent-D-dwMWkI-Dbq4xdEd.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./downloadPdf-DRVFJQsk-Cc-9O8x2.js";import"./commonDimensions-BiY7_JPE-DvdrP9mk.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]="8e8c6a85-f5ac-4072-85e1-aacc9e152f72",e._sentryDebugIdIdentifier="sentry-dbid-8e8c6a85-f5ac-4072-85e1-aacc9e152f72")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ke="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ze="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ge=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:K,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:Z,onReviewClick:G}){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),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),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),Qe=u.useCallback(s=>{O?.(s),I(),Y(!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:Qe,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&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&Z?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,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)};K(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"),G())});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(Nt,{children:H("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ge(Ze),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,Ke),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(Yt,{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(Zt,{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(Kt,{windowSize:i}),t.jsx(Gt,{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(Qt,{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(Ne,{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:{[Ke]: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,ab as A,hy as lt,aP as H,i as ve,hH as ct,m as Ne,aS as $e,o as a,F as E,y as c,x as Ye,c as dt,ba as ut,ar as ft,R as be,aj as De,am as fe,aR as ce,fE as pt,a9 as Xe,cH as mt,aZ as ht,aQ as gt,p as U,ad as qe,fI as ke,fJ as Ae,gg as wt,bU as ye,ga as xt,hI as $t,u as o,fs as bt,cj as He,c1 as Dt,f4 as yt,bL as Tt,an as Je,fV as Ct,dv as St,c3 as Ue,g$ as vt,h0 as kt}from"./index-Bkm6Mxfx.js";import{a as u}from"./sentry-nVlxguQq.js";import{n}from"./mui-Dg-yyLd1.js";import{bL as At}from"./zeni-epic-state-DwXlACp-.js";import{v as Pt}from"./ZeniTransferAmountSlider-CSJnweYQ-bsaYWF1B.js";import{r as Lt}from"./AccountInfoPageContent-D-dwMWkI-D88W2OaR.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./downloadPdf-DRVFJQsk-BTOjeNSN.js";import"./commonDimensions-BiY7_JPE-DCs4Mvgg.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]="8e8c6a85-f5ac-4072-85e1-aacc9e152f72",e._sentryDebugIdIdentifier="sentry-dbid-8e8c6a85-f5ac-4072-85e1-aacc9e152f72")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ke="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ze="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ge=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:K,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:Z,onReviewClick:G}){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),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),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),Qe=u.useCallback(s=>{O?.(s),I(),Y(!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:Qe,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&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&Z?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,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)};K(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"),G())});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(Nt,{children:H("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ge(Ze),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,Ke),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(Yt,{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(Zt,{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(Kt,{windowSize:i}),t.jsx(Gt,{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(Qt,{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(Ne,{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:{[Ke]: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,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,b as ie,ab as W,m as We,o as i,aj as k,F as L,p as w,bL as Ee,y as f,fl as X,H as I,u as p,b5 as ne,bP as Le,aU as Me,ax as Ue,fY as Ge,h5 as _e,i as Je,am as A,b0 as Xe,jt as Ze,k5 as qe,bh as Qe,eR as et,da as tt,fV as it,l1 as ot,j2 as Ae,j3 as Oe,cv as rt,iV as at,iW as nt,l2 as st,kg as lt,an as E,bS as dt,cB as le,j1 as ct,cE as ht}from"./index-BPZ0_UEx.js";import{a as y,P as pt}from"./sentry-nVlxguQq.js";import{n as o,c as de}from"./mui-Dg-yyLd1.js";import{bL as U,c4 as xt}from"./zeni-epic-state-DwXlACp-.js";import{s as gt}from"./commonDimensions-BiY7_JPE-DvdrP9mk.js";import{g as ce}from"./BoxItem-ChtGcSH1-BjQod1Sp.js";import{o as mt}from"./shield-DOlUxcFf-DoCKBSgZ.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-DVyIhUUu.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="5bf41c1c-0f59-417f-8ac4-1ccec130fb7d",e._sentryDebugIdIdentifier="sentry-dbid-5bf41c1c-0f59-417f-8ac4-1ccec130fb7d")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ft={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new f(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new f(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new f(80,100,150,180,200)},oe=()=>[ft,yt,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new f(p[0],p[4]),headerLastColumnRightPadding:new f(p[3],p[11]),headerLastColumnBottomPadding:new f(p[0],p[4]),headerLastColumnLeftPadding:new f(p[3],p[11]),headerHeight:new f(Ae,Oe),sortIconSize:new f(p[2],p[2]),headerPaddingTop:new f(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=y.useState(oe());y.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(fe,{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(fe,{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,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,b as ie,ab as W,m as We,o as i,aj as k,F as L,p as w,bL as Ee,y as f,fl as X,H as I,u as p,b5 as ne,bP as Le,aU as Me,ax as Ue,fY as Ge,h5 as _e,i as Je,am as A,b0 as Xe,jt as Ze,k5 as qe,bh as Qe,eR as et,da as tt,fV as it,l1 as ot,j2 as Ae,j3 as Oe,cv as rt,iV as at,iW as nt,l2 as st,kg as lt,an as E,bS as dt,cB as le,j1 as ct,cE as ht}from"./index-Bkm6Mxfx.js";import{a as y,P as pt}from"./sentry-nVlxguQq.js";import{n as o,c as de}from"./mui-Dg-yyLd1.js";import{bL as U,c4 as xt}from"./zeni-epic-state-DwXlACp-.js";import{s as gt}from"./commonDimensions-BiY7_JPE-DCs4Mvgg.js";import{g as ce}from"./BoxItem-ChtGcSH1-MoZYQOAh.js";import{o as mt}from"./shield-DOlUxcFf-DoCKBSgZ.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-DVyIhUUu.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="5bf41c1c-0f59-417f-8ac4-1ccec130fb7d",e._sentryDebugIdIdentifier="sentry-dbid-5bf41c1c-0f59-417f-8ac4-1ccec130fb7d")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ft={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new f(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new f(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new f(80,100,150,180,200)},oe=()=>[ft,yt,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new f(p[0],p[4]),headerLastColumnRightPadding:new f(p[3],p[11]),headerLastColumnBottomPadding:new f(p[0],p[4]),headerLastColumnLeftPadding:new f(p[3],p[11]),headerHeight:new f(Ae,Oe),sortIconSize:new f(p[2],p[2]),headerPaddingTop:new f(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=y.useState(oe());y.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(fe,{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(fe,{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,a8 as fe,aR as ye,V as r,bD as be,fx as ke,b5 as je,o as t,jt as Se,bU as ze,aj as k,i as Z,ab as Q,F as A,H as $,ar as F,p as a,y as z,am as R,da as ve,bW as Le,c as Pe,an as Me,ff as Be,u as h,dP as Ee,bg as Ie,R as Te,x as De,b as ee,d5 as We}from"./index-BPZ0_UEx.js";import{a as s,P as _e}from"./sentry-nVlxguQq.js";import{n as i}from"./mui-Dg-yyLd1.js";import{GJ as Re}from"./zeni-epic-state-DwXlACp-.js";import{I as He,N as Ge}from"./VideoPlayer-BzBvO4D1-DXw1tjxz.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-BtLYBoTe.js";import{o as Ve}from"./shield-DOlUxcFf-DoCKBSgZ.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="61daeabb-c405-42d9-a62f-b6b002593cc6",e._sentryDebugIdIdentifier="sentry-dbid-61daeabb-c405-42d9-a62f-b6b002593cc6")}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(Fe,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(qe,{onClick:g})}),r.jsxs(Ue,{children:[r.jsx(Ye,{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(ie,{children:p},w))}),r.jsx(G,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Je,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ke,{children:p.links.map((u,b)=>r.jsx(Ze,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(G,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Fe=i.div`
1
+ import{d as ce,J as V,ax as $e,a8 as fe,aR as ye,V as r,bD as be,fx as ke,b5 as je,o as t,jt as Se,bU as ze,aj as k,i as Z,ab as Q,F as A,H as $,ar as F,p as a,y as z,am as R,da as ve,bW as Le,c as Pe,an as Me,ff as Be,u as h,dP as Ee,bg as Ie,R as Te,x as De,b as ee,d5 as We}from"./index-Bkm6Mxfx.js";import{a as s,P as _e}from"./sentry-nVlxguQq.js";import{n as i}from"./mui-Dg-yyLd1.js";import{GJ as Re}from"./zeni-epic-state-DwXlACp-.js";import{I as He,N as Ge}from"./VideoPlayer-BzBvO4D1-CGFIyDTJ.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-BtLYBoTe.js";import{o as Ve}from"./shield-DOlUxcFf-DoCKBSgZ.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="61daeabb-c405-42d9-a62f-b6b002593cc6",e._sentryDebugIdIdentifier="sentry-dbid-61daeabb-c405-42d9-a62f-b6b002593cc6")}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(Fe,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(qe,{onClick:g})}),r.jsxs(Ue,{children:[r.jsx(Ye,{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(ie,{children:p},w))}),r.jsx(G,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Je,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ke,{children:p.links.map((u,b)=>r.jsx(Ze,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(G,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Fe=i.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,bD as I,b4 as z,o as r,F as C,p as m,cv as D,y as P,u as p,am as T}from"./index-BPZ0_UEx.js";import{a as h}from"./sentry-nVlxguQq.js";import{n as o}from"./mui-Dg-yyLd1.js";import{$ as E}from"./BoxItem-ChtGcSH1-BjQod1Sp.js";import{o as B}from"./commonDimensions-BiY7_JPE-DvdrP9mk.js";import{O as M}from"./StatementItem-hqxspUme-BUYqqJPu.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./downloadPdf-DRVFJQsk-Cc-9O8x2.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]="f156e6f6-de0f-4145-955a-7a2c6f2e96f3",e._sentryDebugIdIdentifier="sentry-dbid-f156e6f6-de0f-4145-955a-7a2c6f2e96f3")}catch{}})();const f=C.getLocalizedStrings().spendManagement.treasury.statements,u={listItemMargin:new P(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:a,onBackClick:w})=>{const g=S(),i=j(),x=h.createRef(),y=h.useRef(),k=a.statements.length===0,$=()=>B.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=a.statements[s];return k===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:E(s,a.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(b,{windowSize:i,children:t.jsx(N,{children:f.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:f.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:w,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(H,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:a.statements.length,itemSize:$,initialScrollOffset:0,children:v})})})]})},R=o.div``,b=o.div`
1
+ import{d as S,J as j,V as t,bD as I,b4 as z,o as r,F as C,p as m,cv as D,y as P,u as p,am as T}from"./index-Bkm6Mxfx.js";import{a as h}from"./sentry-nVlxguQq.js";import{n as o}from"./mui-Dg-yyLd1.js";import{$ as E}from"./BoxItem-ChtGcSH1-MoZYQOAh.js";import{o as B}from"./commonDimensions-BiY7_JPE-DCs4Mvgg.js";import{O as M}from"./StatementItem-hqxspUme-sh_LlOTp.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./downloadPdf-DRVFJQsk-BTOjeNSN.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]="f156e6f6-de0f-4145-955a-7a2c6f2e96f3",e._sentryDebugIdIdentifier="sentry-dbid-f156e6f6-de0f-4145-955a-7a2c6f2e96f3")}catch{}})();const f=C.getLocalizedStrings().spendManagement.treasury.statements,u={listItemMargin:new P(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:a,onBackClick:w})=>{const g=S(),i=j(),x=h.createRef(),y=h.useRef(),k=a.statements.length===0,$=()=>B.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=a.statements[s];return k===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:E(s,a.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(b,{windowSize:i,children:t.jsx(N,{children:f.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:f.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:w,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(H,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:a.statements.length,itemSize:$,initialScrollOffset:0,children:v})})})]})},R=o.div``,b=o.div`
2
2
  margin: ${e=>`${r.sp0} ${u.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,bD as L,b4 as I,o as r,F as z,p,cv as T,y as C,u as h,am as D}from"./index-BPZ0_UEx.js";import{a as m}from"./sentry-nVlxguQq.js";import{n as o}from"./mui-Dg-yyLd1.js";import{$ as P}from"./BoxItem-ChtGcSH1-BjQod1Sp.js";import{o as E}from"./commonDimensions-BiY7_JPE-DvdrP9mk.js";import{O as B}from"./StatementItem-hqxspUme-BUYqqJPu.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./downloadPdf-DRVFJQsk-Cc-9O8x2.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]="9cbc5f6a-b852-4495-86d5-17970f1ec7bb",e._sentryDebugIdIdentifier="sentry-dbid-9cbc5f6a-b852-4495-86d5-17970f1ec7bb")}catch{}})();const b=z.getLocalizedStrings().spendManagement.treasury.taxLetter,f={listItemMargin:new C(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,$=()=>E.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(x,{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:P(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(x,{windowSize:i,children:t.jsx(N,{children:b.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:b.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})})})]})},M=o.div``,x=o.div`
1
+ import{d as j,J as S,V as t,bD as L,b4 as I,o as r,F as z,p,cv as T,y as C,u as h,am as D}from"./index-Bkm6Mxfx.js";import{a as m}from"./sentry-nVlxguQq.js";import{n as o}from"./mui-Dg-yyLd1.js";import{$ as P}from"./BoxItem-ChtGcSH1-MoZYQOAh.js";import{o as E}from"./commonDimensions-BiY7_JPE-DCs4Mvgg.js";import{O as B}from"./StatementItem-hqxspUme-sh_LlOTp.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./downloadPdf-DRVFJQsk-BTOjeNSN.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]="9cbc5f6a-b852-4495-86d5-17970f1ec7bb",e._sentryDebugIdIdentifier="sentry-dbid-9cbc5f6a-b852-4495-86d5-17970f1ec7bb")}catch{}})();const b=z.getLocalizedStrings().spendManagement.treasury.taxLetter,f={listItemMargin:new C(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,$=()=>E.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(x,{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:P(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(x,{windowSize:i,children:t.jsx(N,{children:b.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:b.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})})})]})},M=o.div``,x=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{F as $,V as n,d as P,b4 as _,b as j,aZ as A,ab as Y,o as L,p as I,am as R}from"./index-BPZ0_UEx.js";import{a as v,P as z}from"./sentry-nVlxguQq.js";import{Fd as m}from"./zeni-epic-state-DwXlACp-.js";import{d as B,g as T,p as D,u as O}from"./chartTypes-Cpjk7Uyr-BFVm6fL4.js";import{n as k}from"./mui-Dg-yyLd1.js";import{o as q}from"./toCOABalancesWithID-BOdn6oVS-6ioKjlBn.js";import{V as K}from"./toChartData--znXzhow-CzN3PXN2.js";import{H as V,I as G,X as N,Y as W,J as X,R as Z,K as H}from"./recharts-DVyIhUUu.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="bacbb111-aee1-4741-97a9-fe153b15f4f3",e._sentryDebugIdIdentifier="sentry-dbid-bacbb111-aee1-4741-97a9-fe153b15f4f3")}catch{}})();const J=k.div`
1
+ import{F as $,V as n,d as P,b4 as _,b as j,aZ as A,ab as Y,o as L,p as I,am as R}from"./index-Bkm6Mxfx.js";import{a as v,P as z}from"./sentry-nVlxguQq.js";import{Fd as m}from"./zeni-epic-state-DwXlACp-.js";import{d as B,g as T,p as D,u as O}from"./chartTypes-Cpjk7Uyr-Cx7FiySP.js";import{n as k}from"./mui-Dg-yyLd1.js";import{o as q}from"./toCOABalancesWithID-BOdn6oVS-D2aQDAmk.js";import{V as K}from"./toChartData--znXzhow-CuORq1Y-.js";import{H as V,I as G,X as N,Y as W,J as X,R as Z,K as H}from"./recharts-DVyIhUUu.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="bacbb111-aee1-4741-97a9-fe153b15f4f3",e._sentryDebugIdIdentifier="sentry-dbid-bacbb111-aee1-4741-97a9-fe153b15f4f3")}catch{}})();const J=k.div`
2
2
  display: flex;
3
3
  `,Q=k.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{J as H,V as i,m as L,o as r,F,b4 as E,ab as T,y as c,b8 as I,R as V,u as a,am as A,x as q}from"./index-BPZ0_UEx.js";import{a as k}from"./sentry-nVlxguQq.js";import{n}from"./mui-Dg-yyLd1.js";import K from"./TrendChart-CS2cE4wE-BAjN56AW.js";import{C as W}from"./NoDataChart-YIESVuNz-DxR56cWr.js";import{F as J}from"./InsightsSection-CKYv2Mnk-CMDaS26i.js";import{T as Q}from"./TransactionList-DUgCrZWV-BsOtXGXL.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]="82bc3b3f-2d3e-418c-9a6b-24b1b262b149",e._sentryDebugIdIdentifier="sentry-dbid-82bc3b3f-2d3e-418c-9a6b-24b1b262b149")}catch{}})();const Z=n.div`
1
+ import{J as H,V as i,m as L,o as r,F,b4 as E,ab as T,y as c,b8 as I,R as V,u as a,am as A,x as q}from"./index-Bkm6Mxfx.js";import{a as k}from"./sentry-nVlxguQq.js";import{n}from"./mui-Dg-yyLd1.js";import K from"./TrendChart-CS2cE4wE-9GYHRUaO.js";import{C as W}from"./NoDataChart-YIESVuNz-DpSXAqlW.js";import{F as J}from"./InsightsSection-CKYv2Mnk-DfsYpI8T.js";import{T as Q}from"./TransactionList-DUgCrZWV-BvVKtqdG.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]="82bc3b3f-2d3e-418c-9a6b-24b1b262b149",e._sentryDebugIdIdentifier="sentry-dbid-82bc3b3f-2d3e-418c-9a6b-24b1b262b149")}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 Ke,aR as en,gL as I,hT as U,a9 as nn,hU as tn,hV as je,cH as on,V as t,bD as cn,cr as sn,cs as an,ct as ln,ad as dn,hW as rn,m as un,aS as pn,fB as mn,F as W,hX as _e,y as u,am as gn,o as a,cL as fe,aW 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,bj as hn}from"./index-BPZ0_UEx.js";import{a as Y}from"./sentry-nVlxguQq.js";import{n as s}from"./mui-Dg-yyLd1.js";import{G4 as Te,FK as bn,FL as wn,G5 as fn}from"./zeni-epic-state-DwXlACp-.js";import{h as yn}from"./VendorsAccountsSection-BY-jWDwa-DAUUORK8.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="cec8fc15-e5ba-4490-807c-86eae0ae51ca",e._sentryDebugIdIdentifier="sentry-dbid-cec8fc15-e5ba-4490-807c-86eae0ae51ca")}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 Ke,aR as en,gL as I,hT as U,a9 as nn,hU as tn,hV as je,cH as on,V as t,bD as cn,cr as sn,cs as an,ct as ln,ad as dn,hW as rn,m as un,aS as pn,fB as mn,F as W,hX as _e,y as u,am as gn,o as a,cL as fe,aW 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,bj as hn}from"./index-Bkm6Mxfx.js";import{a as Y}from"./sentry-nVlxguQq.js";import{n as s}from"./mui-Dg-yyLd1.js";import{G4 as Te,FK as bn,FL as wn,G5 as fn}from"./zeni-epic-state-DwXlACp-.js";import{h as yn}from"./VendorsAccountsSection-BY-jWDwa-60HtC92w.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="cec8fc15-e5ba-4490-807c-86eae0ae51ca",e._sentryDebugIdIdentifier="sentry-dbid-cec8fc15-e5ba-4490-807c-86eae0ae51ca")}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{aR as S,V as t,i0 as q,i1 as W,J as P,F as O,cr as L,af as C,cs as U,ct as N,a9 as R,ad as H,cT as M,cO as F,y as g,cP as G,p as A,ap as J,m as K,i as Q,o as i,am as X,u as D,ar as Y,bb as Z}from"./index-BPZ0_UEx.js";import{a as l}from"./sentry-nVlxguQq.js";import{n as f}from"./mui-Dg-yyLd1.js";import{bL as ee,bh as te}from"./zeni-epic-state-DwXlACp-.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="2367095e-64b8-429a-b532-66f63c2d58a5",e._sentryDebugIdIdentifier="sentry-dbid-2367095e-64b8-429a-b532-66f63c2d58a5")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(D[3],D[2]),width:new g(300,420,420)},ie=f.div`
1
+ import{aR as S,V as t,i0 as q,i1 as W,J as P,F as O,cr as L,af as C,cs as U,ct as N,a9 as R,ad as H,cT as M,cO as F,y as g,cP as G,p as A,ap as J,m as K,i as Q,o as i,am as X,u as D,ar as Y,bb as Z}from"./index-Bkm6Mxfx.js";import{a as l}from"./sentry-nVlxguQq.js";import{n as f}from"./mui-Dg-yyLd1.js";import{bL as ee,bh as te}from"./zeni-epic-state-DwXlACp-.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="2367095e-64b8-429a-b532-66f63c2d58a5",e._sentryDebugIdIdentifier="sentry-dbid-2367095e-64b8-429a-b532-66f63c2d58a5")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(D[3],D[2]),width:new g(300,420,420)},ie=f.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{a9 as U,fC as b,aR as k,J as M,F as A,cH as H,V as i,ad as W,ab as q,fD as J,o as a,p as K,cU as G,aS as Q,y as x,x as X,R as Y,bb as Z,ba as ee,u as c}from"./index-BPZ0_UEx.js";import{a as f}from"./sentry-nVlxguQq.js";import{n as o}from"./mui-Dg-yyLd1.js";import{ET as te}from"./zeni-epic-state-DwXlACp-.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]="2889502a-e43b-4527-81bd-1f4b6ecd21a4",e._sentryDebugIdIdentifier="sentry-dbid-2889502a-e43b-4527-81bd-1f4b6ecd21a4")}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:P,onCompanyOfficerUpdated:C}=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,N]=f.useState(!1),D=k(p.fetchState),j=t?.deleteFileStatusById??{},O=t?.updateFileStatusById??{},V=Object.values(j??{}).filter(l=>l!=null),B=te(V);f.useEffect(()=>{D==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[D,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(()=>{B.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),_=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(C?.(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} ${K.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:j,updateFileStatusById:O,filesEndPoint:m,authParams:$,hasError:z,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>N(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),T?i.jsx(Q,{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{a9 as U,fC as b,aR as k,J as M,F as A,cH as H,V as i,ad as W,ab as q,fD as J,o as a,p as K,cU as G,aS as Q,y as x,x as X,R as Y,bb as Z,ba as ee,u as c}from"./index-Bkm6Mxfx.js";import{a as f}from"./sentry-nVlxguQq.js";import{n as o}from"./mui-Dg-yyLd1.js";import{ET as te}from"./zeni-epic-state-DwXlACp-.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]="2889502a-e43b-4527-81bd-1f4b6ecd21a4",e._sentryDebugIdIdentifier="sentry-dbid-2889502a-e43b-4527-81bd-1f4b6ecd21a4")}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:P,onCompanyOfficerUpdated:C}=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,N]=f.useState(!1),D=k(p.fetchState),j=t?.deleteFileStatusById??{},O=t?.updateFileStatusById??{},V=Object.values(j??{}).filter(l=>l!=null),B=te(V);f.useEffect(()=>{D==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[D,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(()=>{B.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),_=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(C?.(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} ${K.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:j,updateFileStatusById:O,filesEndPoint:m,authParams:$,hasError:z,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>N(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),T?i.jsx(Q,{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{aR as i,F as w,V as r,i0 as v,i1 as x}from"./index-BPZ0_UEx.js";import{a as s}from"./sentry-nVlxguQq.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./mui-Dg-yyLd1.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="765fcf34-a31c-428a-b8bd-51d0e2fa21e6",t._sentryDebugIdIdentifier="sentry-dbid-765fcf34-a31c-428a-b8bd-51d0e2fa21e6")}catch{}})();const G=({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=w.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:I=>S?.(I)}}):null})};export{G as default};
1
+ import{aR as i,F as w,V as r,i0 as v,i1 as x}from"./index-Bkm6Mxfx.js";import{a as s}from"./sentry-nVlxguQq.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./mui-Dg-yyLd1.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="765fcf34-a31c-428a-b8bd-51d0e2fa21e6",t._sentryDebugIdIdentifier="sentry-dbid-765fcf34-a31c-428a-b8bd-51d0e2fa21e6")}catch{}})();const G=({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=w.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:I=>S?.(I)}}):null})};export{G as default};
@@ -1 +1 @@
1
- import{V as p}from"./index-BPZ0_UEx.js";import{a as m}from"./sentry-nVlxguQq.js";import{f as u}from"./ACHDetailsPage-BR3rG--e-D2_LFn30.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./mui-Dg-yyLd1.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./BankAccountWarningSection-DLKyK-pN-WvpV5xZt.js";import"./MagicLinkTitleSection-Dlvzbcxc-07YJ3nz_.js";import"./BankAccountSection-Db8KCDjh-7fAQc6F_.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]="6f180202-aa77-4efe-93fb-3654ee759aaa",e._sentryDebugIdIdentifier="sentry-dbid-6f180202-aa77-4efe-93fb-3654ee759aaa")}catch{}})();const I=({vendorViewDetails:e,bankAccountContext:t,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:d,bankAccountToCreate:f,fetchBankNameByRoutingStatus:c}=e;return m.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e.editVendorState?.saveStatus.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e.editVendorState?.saveStatus.fetchState,t,a]),p.jsx(u,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameByRouting:d,fetchBankNameByRoutingStatus:c,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})};export{I as default};
1
+ import{V as p}from"./index-Bkm6Mxfx.js";import{a as m}from"./sentry-nVlxguQq.js";import{f as u}from"./ACHDetailsPage-BR3rG--e-kSCtv-NB.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./mui-Dg-yyLd1.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./BankAccountWarningSection-DLKyK-pN-Cdd5qBMX.js";import"./MagicLinkTitleSection-Dlvzbcxc-DASQrA7S.js";import"./BankAccountSection-Db8KCDjh-iTFbb6-_.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]="6f180202-aa77-4efe-93fb-3654ee759aaa",e._sentryDebugIdIdentifier="sentry-dbid-6f180202-aa77-4efe-93fb-3654ee759aaa")}catch{}})();const I=({vendorViewDetails:e,bankAccountContext:t,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:d,bankAccountToCreate:f,fetchBankNameByRoutingStatus:c}=e;return m.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e.editVendorState?.saveStatus.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e.editVendorState?.saveStatus.fetchState,t,a]),p.jsx(u,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameByRouting:d,fetchBankNameByRoutingStatus:c,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 u,aF as we,cK as ft,a9 as wt,he as Ce,hf as Ct,aW as $t,cH as St,V as t,bC as Dt,ad as jt,hg as Tt,hh as ye,u as l,cI as Lt,aS as Vt,bD as kt,F as W,hi as Ue,hj as qe,hk as Qe,o,bQ as S,cL as It,gQ as $e,hl as Ot,cM as Pt,cN as Mt,cO as zt,hm as Ft,gh as _t,cV as Nt,hn as Wt,ho as Ht,p as N,b8 as Ye,aj as Ge,dv as Bt,b0 as Rt,hp as At,hq as Et,am as Ut,co as qt,du as Qt,d3 as Yt,aZ as pe,hr as Gt,cj as Je,hs as Jt,H as Se,a as Ke}from"./index-BPZ0_UEx.js";import{a as $}from"./sentry-nVlxguQq.js";import{n as a,c as Kt}from"./mui-Dg-yyLd1.js";import{bi as De,G0 as Xt,G1 as Zt}from"./zeni-epic-state-DwXlACp-.js";import{k as es}from"./SubTabSwitcher-BB80NFhP-2jy_qhgj.js";import{T as ts}from"./TransactionList-DUgCrZWV-BsOtXGXL.js";import{R as ss}from"./TrendWithTransactions-BNti0lYr-CupF-ouh.js";import{o as os,t as as}from"./arrow-south-east-round-PEovUgvH-DKJtOEDh.js";import{C as ns}from"./LabeledAddressValueField-CeyT4xDd-BvfbCZea.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-B_jJYbeK-PbQrO6eI.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./ConstrainedInnerElement-BeIpAPjB-XcmcSCP3.js";import"./BoxItem-ChtGcSH1-BjQod1Sp.js";import"./commonDimensions-BiY7_JPE-DvdrP9mk.js";import"./panelSelectedMixin-Cddsb26L-BcWH15GY.js";import"./TrendChart-CS2cE4wE-BAjN56AW.js";import"./chartTypes-Cpjk7Uyr-BFVm6fL4.js";import"./toCOABalancesWithID-BOdn6oVS-6ioKjlBn.js";import"./toChartData--znXzhow-CzN3PXN2.js";import"./NoDataChart-YIESVuNz-DxR56cWr.js";import"./InsightsSection-CKYv2Mnk-CMDaS26i.js";import"./NavigationDots-CqAMUVd8-DlLV84YV.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]="4c807e46-3ccb-40f6-a6fe-5d913a2baef3",e._sentryDebugIdIdentifier="sentry-dbid-4c807e46-3ccb-40f6-a6fe-5d913a2baef3")}catch{}})();const is=a.div`
1
+ import{d as Ee,J as ae,y as u,aF as we,cK as ft,a9 as wt,he as Ce,hf as Ct,aW as $t,cH as St,V as t,bC as Dt,ad as jt,hg as Tt,hh as ye,u as l,cI as Lt,aS as Vt,bD as kt,F as W,hi as Ue,hj as qe,hk as Qe,o,bQ as S,cL as It,gQ as $e,hl as Ot,cM as Pt,cN as Mt,cO as zt,hm as Ft,gh as _t,cV as Nt,hn as Wt,ho as Ht,p as N,b8 as Ye,aj as Ge,dv as Bt,b0 as Rt,hp as At,hq as Et,am as Ut,co as qt,du as Qt,d3 as Yt,aZ as pe,hr as Gt,cj as Je,hs as Jt,H as Se,a as Ke}from"./index-Bkm6Mxfx.js";import{a as $}from"./sentry-nVlxguQq.js";import{n as a,c as Kt}from"./mui-Dg-yyLd1.js";import{bi as De,G0 as Xt,G1 as Zt}from"./zeni-epic-state-DwXlACp-.js";import{k as es}from"./SubTabSwitcher-BB80NFhP-CfbWDFoA.js";import{T as ts}from"./TransactionList-DUgCrZWV-BvVKtqdG.js";import{R as ss}from"./TrendWithTransactions-BNti0lYr-DivQSKL6.js";import{o as os,t as as}from"./arrow-south-east-round-PEovUgvH-DKJtOEDh.js";import{C as ns}from"./LabeledAddressValueField-CeyT4xDd-CsZJNIxr.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-B_jJYbeK-CTMDj_vU.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./ConstrainedInnerElement-BeIpAPjB-fIa3khF_.js";import"./BoxItem-ChtGcSH1-MoZYQOAh.js";import"./commonDimensions-BiY7_JPE-DCs4Mvgg.js";import"./panelSelectedMixin-Cddsb26L-BcWH15GY.js";import"./TrendChart-CS2cE4wE-9GYHRUaO.js";import"./chartTypes-Cpjk7Uyr-Cx7FiySP.js";import"./toCOABalancesWithID-BOdn6oVS-D2aQDAmk.js";import"./toChartData--znXzhow-CuORq1Y-.js";import"./NoDataChart-YIESVuNz-DpSXAqlW.js";import"./InsightsSection-CKYv2Mnk-DfsYpI8T.js";import"./NavigationDots-CqAMUVd8-BXhLjOxS.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]="4c807e46-3ccb-40f6-a6fe-5d913a2baef3",e._sentryDebugIdIdentifier="sentry-dbid-4c807e46-3ccb-40f6-a6fe-5d913a2baef3")}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 b}from"./index-BPZ0_UEx.js";import{a as k}from"./sentry-nVlxguQq.js";import{D as y}from"./DomesticWireDetailsPage-B3Cib987-CARF9i1d.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./mui-Dg-yyLd1.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./BankAccountSection-Db8KCDjh-7fAQc6F_.js";import"./MagicLinkTitleSection-Dlvzbcxc-07YJ3nz_.js";import"./BankAccountWarningSection-DLKyK-pN-WvpV5xZt.js";import"./MailingDetailsSection-BT5P_beR-Chn0pdYc.js";import"./LabeledAddressValueField-CeyT4xDd-BvfbCZea.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]="e85bcd8f-d185-4915-a7c6-fc545c2e5345",e._sentryDebugIdIdentifier="sentry-dbid-e85bcd8f-d185-4915-a7c6-fc545c2e5345")}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:f,bankAccountToCreate:u,fetchBankNameByRoutingStatus:l}=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]),b.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:f,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};
1
+ import{V as b}from"./index-Bkm6Mxfx.js";import{a as k}from"./sentry-nVlxguQq.js";import{D as y}from"./DomesticWireDetailsPage-B3Cib987-Bpr9YIbH.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./mui-Dg-yyLd1.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./BankAccountSection-Db8KCDjh-iTFbb6-_.js";import"./MagicLinkTitleSection-Dlvzbcxc-DASQrA7S.js";import"./BankAccountWarningSection-DLKyK-pN-Cdd5qBMX.js";import"./MailingDetailsSection-BT5P_beR-B4cpXc_i.js";import"./LabeledAddressValueField-CeyT4xDd-CsZJNIxr.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]="e85bcd8f-d185-4915-a7c6-fc545c2e5345",e._sentryDebugIdIdentifier="sentry-dbid-e85bcd8f-d185-4915-a7c6-fc545c2e5345")}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:f,bankAccountToCreate:u,fetchBankNameByRoutingStatus:l}=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]),b.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:f,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};
@@ -1,4 +1,4 @@
1
- import{J as oe,d as ze,a9 as Ae,cH as ke,y as w,V as t,bD as Be,ab as Oe,ad as Ee,cM as C,o as s,cR as We,hm as Re,gh as qe,cV as Me,hn as He,ho as Qe,cQ as Ke,aS as Ue,F as ne,f1 as K,ht as de,ex as _e,f2 as Ge,u as c,x as Je,bQ as L,cF as Ye,hu as Ze,p as F,N as Xe,cj as et,am as ce,eN as tt,hv as st,hw as lt,hx as M,f3 as it}from"./index-BPZ0_UEx.js";import{a as x}from"./sentry-nVlxguQq.js";import{n as r}from"./mui-Dg-yyLd1.js";import{Y as at}from"./LabeledDropDownFormattedTextField-B_jJYbeK-PbQrO6eI.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="acab0c74-9790-4c2e-aec8-17d0eea3c6ba",e._sentryDebugIdIdentifier="sentry-dbid-acab0c74-9790-4c2e-aec8-17d0eea3c6ba")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function rt(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:W}){const O=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(O);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:W,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(O),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=r.div`
1
+ import{J as oe,d as ze,a9 as Ae,cH as ke,y as w,V as t,bD as Be,ab as Oe,ad as Ee,cM as C,o as s,cR as We,hm as Re,gh as qe,cV as Me,hn as He,ho as Qe,cQ as Ke,aS as Ue,F as ne,f1 as K,ht as de,ex as _e,f2 as Ge,u as c,x as Je,bQ as L,cF as Ye,hu as Ze,p as F,N as Xe,cj as et,am as ce,eN as tt,hv as st,hw as lt,hx as M,f3 as it}from"./index-Bkm6Mxfx.js";import{a as x}from"./sentry-nVlxguQq.js";import{n as r}from"./mui-Dg-yyLd1.js";import{Y as at}from"./LabeledDropDownFormattedTextField-B_jJYbeK-CTMDj_vU.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./zeni-epic-state-DwXlACp-.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="acab0c74-9790-4c2e-aec8-17d0eea3c6ba",e._sentryDebugIdIdentifier="sentry-dbid-acab0c74-9790-4c2e-aec8-17d0eea3c6ba")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function rt(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:W}){const O=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(O);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:W,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(O),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{J as ae,ax as Nn,d as mn,a9 as et,ib as Te,cH as nt,az as On,ic as re,id as ve,ie as fe,ig as be,ih as me,V as n,i7 as tt,ad as ot,bD as it,aa as rt,cr as st,cs as at,ct as lt,bW as dt,bP as ct,ab as J,cn as mt,b4 as pt,dq as ut,cv as ht,m as gt,F as je,y as w,A as Ne,o as t,aV as In,am as De,aU as wt,u as c,aj as Re,cB as xt,co as Pn,bQ as Pe,bi as Tn,cE as vt,c0 as ft,dH as bt,bb as Je,bu as pn,p as B,h as zn,h4 as $t,dl as wn,d3 as rn,ii as sn,ap as St,bU as Be,dR as yt,eB as xn,bL as jt,dw as Rt,i as vn,cy as Vt,ij as Ct,ik as kt,cL as Mt,ex as Nt,eG as Ot,eH as It,an as Dn,il as Pt,bJ as se,im as fn,gS as Tt,au as zt,at as Dt,dv as _t,b as _n,H as Lt,l as Ft,aX as dn}from"./index-BPZ0_UEx.js";import{a as f}from"./sentry-nVlxguQq.js";import{n as o,c as cn}from"./mui-Dg-yyLd1.js";import{gu as At,G8 as Bt}from"./zeni-epic-state-DwXlACp-.js";import{r as Et}from"./core-BdfL-uia.js";import"./liveblocks-Lf8LVeH9.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="befdb0c6-06d5-43f5-989a-2a0ec41ac867",e._sentryDebugIdIdentifier="sentry-dbid-befdb0c6-06d5-43f5-989a-2a0ec41ac867")}catch{}})();const Ln=({steps:e})=>{const s=ae();return n.jsx(Wt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{children:[n.jsx(Ht,{children:d!==e.length-1?d+1:n.jsx(Qt,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(qt,{}):null]},`step_${d}`))})},Ut=o.div`
1
+ import{J as ae,ax as Nn,d as mn,a9 as et,ib as Te,cH as nt,az as On,ic as re,id as ve,ie as fe,ig as be,ih as me,V as n,i7 as tt,ad as ot,bD as it,aa as rt,cr as st,cs as at,ct as lt,bW as dt,bP as ct,ab as J,cn as mt,b4 as pt,dq as ut,cv as ht,m as gt,F as je,y as w,A as Ne,o as t,aV as In,am as De,aU as wt,u as c,aj as Re,cB as xt,co as Pn,bQ as Pe,bi as Tn,cE as vt,c0 as ft,dH as bt,bb as Je,bu as pn,p as B,h as zn,h4 as $t,dl as wn,d3 as rn,ii as sn,ap as St,bU as Be,dR as yt,eB as xn,bL as jt,dw as Rt,i as vn,cy as Vt,ij as Ct,ik as kt,cL as Mt,ex as Nt,eG as Ot,eH as It,an as Dn,il as Pt,bJ as se,im as fn,gS as Tt,au as zt,at as Dt,dv as _t,b as _n,H as Lt,l as Ft,aX as dn}from"./index-Bkm6Mxfx.js";import{a as f}from"./sentry-nVlxguQq.js";import{n as o,c as cn}from"./mui-Dg-yyLd1.js";import{gu as At,G8 as Bt}from"./zeni-epic-state-DwXlACp-.js";import{r as Et}from"./core-BdfL-uia.js";import"./liveblocks-Lf8LVeH9.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.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]="befdb0c6-06d5-43f5-989a-2a0ec41ac867",e._sentryDebugIdIdentifier="sentry-dbid-befdb0c6-06d5-43f5-989a-2a0ec41ac867")}catch{}})();const Ln=({steps:e})=>{const s=ae();return n.jsx(Wt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{children:[n.jsx(Ht,{children:d!==e.length-1?d+1:n.jsx(Qt,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(qt,{}):null]},`step_${d}`))})},Ut=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{V as t,J,a9 as he,F as U,cH as ye,aF as ge,cr as be,cs as fe,ct as xe,ad as ve,aS as we,y as p,f1 as le,f2 as Ce,o as y,ba as $e,cL as oe,d as ne,f3 as De,f4 as K,cQ as G,b2 as H,cM as je,es as Te,u as a,ex as ke,ab as Se,p as V,H as Oe,m as Fe,bU as Ae,aj as Le,bL as Ie}from"./index-BPZ0_UEx.js";import{a as R}from"./sentry-nVlxguQq.js";import{n as g}from"./mui-Dg-yyLd1.js";import{bi as Q}from"./zeni-epic-state-DwXlACp-.js";import{W as We,A as ze}from"./BankAccountWarningSection-DLKyK-pN-WvpV5xZt.js";import{T as Re}from"./MailingDetailsSection-BT5P_beR-Chn0pdYc.js";import{S as Pe}from"./CurrencySelectField-CxIflyKX-BGGnxKIK.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./LabeledAddressValueField-CeyT4xDd-BvfbCZea.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]="209788af-844b-464b-8c35-3a910eddb657",e._sentryDebugIdIdentifier="sentry-dbid-209788af-844b-464b-8c35-3a910eddb657")}catch{}})();const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:S=!0}){const C=J(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(qe,{children:t.jsx(Ue,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),D?t.jsx(Me,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Ee=g.div`
1
+ import{V as t,J,a9 as he,F as U,cH as ye,aF as ge,cr as be,cs as fe,ct as xe,ad as ve,aS as we,y as p,f1 as le,f2 as Ce,o as y,ba as $e,cL as oe,d as ne,f3 as De,f4 as K,cQ as G,b2 as H,cM as je,es as Te,u as a,ex as ke,ab as Se,p as V,H as Oe,m as Fe,bU as Ae,aj as Le,bL as Ie}from"./index-Bkm6Mxfx.js";import{a as R}from"./sentry-nVlxguQq.js";import{n as g}from"./mui-Dg-yyLd1.js";import{bi as Q}from"./zeni-epic-state-DwXlACp-.js";import{W as We,A as ze}from"./BankAccountWarningSection-DLKyK-pN-Cdd5qBMX.js";import{T as Re}from"./MailingDetailsSection-BT5P_beR-B4cpXc_i.js";import{S as Pe}from"./CurrencySelectField-CxIflyKX-BkVKHW7P.js";import"./liveblocks-Lf8LVeH9.js";import"./core-BdfL-uia.js";import"./recharts-DVyIhUUu.js";import"./lottie-BAIk2ri4.js";import"./analytics-C7qRceeD.js";import"./lexical-CNiclLj0.js";import"./utils-Bn_xI0qf.js";import"./LabeledAddressValueField-CeyT4xDd-CsZJNIxr.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]="209788af-844b-464b-8c35-3a910eddb657",e._sentryDebugIdIdentifier="sentry-dbid-209788af-844b-464b-8c35-3a910eddb657")}catch{}})();const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:S=!0}){const C=J(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(qe,{children:t.jsx(Ue,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),D?t.jsx(Me,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Ee=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;