@zeniai/web-cockpit-ui 1.15.49-dev → 1.15.49-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-CXIFSMnN-Coq6wI87.js → ACHDetailsPage-CXIFSMnN-rOa7ijtO.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DgrMh-mY-Bylt20RS.js → AIPerformancePage-DgrMh-mY-K_L0-Eq5.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-WkSEcWJL-CkOnNoKS.js → AccountInfoPage-WkSEcWJL-B7y1ofU7.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DeptuP1q-CsYE_k70.js → AccountInfoPageContent-DeptuP1q-CXFDiEu_.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-CYYkjr3Y-BcAzzzM4.js → AccountLockedInfoModal-CYYkjr3Y-DobFgDty.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-jN8KgM4V-yAl3_OHe.js → AccountReconDetailsDrawerPage-jN8KgM4V-B7FCaNrh.js} +1 -1
  7. package/dist/assets/{AccountRow-C7_pSX9U-C_uj4ob-.js → AccountRow-C7_pSX9U-B9KvLBQA.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CB2gPVUw-D3B_FWzu.js → AccountsPromoCardStack-CB2gPVUw-C_-RQv2p.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-BiaLjcnj-DwcRtJ6c.js → AddAddressForCardDrawer-BiaLjcnj-CxC9pVAA.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BlExjuu4-B196FBl9.js → AddToWalletPage-BlExjuu4-B6fSUfMX.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-D9UyMHCS-CUKIok_T.js → AgingReportsPage-D9UyMHCS-DwJTo92G.js} +1 -1
  12. package/dist/assets/{AllUserItems-DGGAZCTH-DA8Osx0t.js → AllUserItems-DGGAZCTH-D2KumUmr.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-C-whdj9K-JXlpGLx8.js → ApAgingDetailPage-C-whdj9K-99rW7Quf.js} +1 -1
  14. package/dist/assets/{AppBasePage-ANWa38-v-Dui1Sxci.js → AppBasePage-ANWa38-v-bkvKH45R.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-UhQJdUmA-CkRUhLQ3.js → AppDrawerContent-UhQJdUmA-AZHQCyJQ.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-BdNNS-TS-C1VrdMxf.js → ApprovalRulesSettingsPage-BdNNS-TS-Bk9WTj_a.js} +1 -1
  17. package/dist/assets/{ArAgingChart-CuFQTCRF-BBoOHiTE.js → ArAgingChart-CuFQTCRF-DN9J_Y2h.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-CQRhI5Z_-Db-Z6Fvw.js → ArAgingDetailPage-CQRhI5Z_-CMEQ607R.js} +1 -1
  19. package/dist/assets/{AttachmentView-D6K3YHdZ-Bap3B_dh.js → AttachmentView-D6K3YHdZ-CQhf5_2O.js} +1 -1
  20. package/dist/assets/{BankAccountSection-B51-Hpnt-BDzmY8Fy.js → BankAccountSection-B51-Hpnt-zQcAknrg.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-Bqrm3j-y-DAe6VsjZ.js → BankAccountWarningSection-Bqrm3j-y-Bfp1n-_2.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BeTdU1D7-CvYt_ADS.js → BankConnectionsSettingsPage-BeTdU1D7-1ZwaPu34.js} +1 -1
  23. package/dist/assets/{BillDetailPage-GenRHQg3-fgN7wk2K.js → BillDetailPage-GenRHQg3-BhstXZdv.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CVBTvKC--CjXFb5TX.js → BillPayApprovalRuleDetailPage-CVBTvKC--CoclrGTY.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-COiOi09y-D-B4gYTJ.js → BillPayApprovalRulesPage-COiOi09y-e7auJ9tU.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-C-lZ36kT-Cmn31Ydv.js → BillPayPromoPage-C-lZ36kT-DlFLTpoA.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-3O1UBtgm-Dsg0n8rt.js → BillPaySetUpPage-3O1UBtgm-Ba2SvBp2.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-ButDt4sV-CDAA93m9.js → BillingSettingsPage-ButDt4sV-J3WU4lbz.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DngjFR3H-BSt2ez3P.js → BillsBulkReviewDrawerPage-DngjFR3H-S5q_PCw7.js} +1 -1
  30. package/dist/assets/{BoxItem-C-VST523-DMPXmLe8.js → BoxItem-C-VST523-Dpmj8AX-.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CnF2Rkda-BxUtCmxb.js → BusinessVerificationPage-CnF2Rkda-TzwiG42-.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BUvXykSn-DR27wA6E.js → CardNumberSubText-BUvXykSn-C8s1v8Jm.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-BhHWEtnP-BIMVCNfp.js → CashbackDetailPage-BhHWEtnP-C6PNQJTo.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-BGqaGwV3-AFT-HAkP.js → ChargeCardDetailPage-BGqaGwV3-DJU0Ct0_.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-D5H9U0h8-DeNsZOzv.js → ChargeCardListPage-D5H9U0h8-4pci3Gf7.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-Byme0rAu-ych_Qx-x.js → ChargeCardListTable-Byme0rAu-CupMRMua.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-DKW98ipI-DfncT-JI.js → ChargeCardPaymentHistoryPage-DKW98ipI-jJA3c2mF.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-VSqN0247-7AKJMP0k.js → ChargeCardPromoPage-VSqN0247-DaYS7DGH.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-BMitkkOv-DqB6_gbE.js → ChargeCardSetupPage-BMitkkOv-CRc-ExOo.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-C_iQ5kBD-CzlgcFfP.js → ChargeCardStatementsPage-C_iQ5kBD-DltkFcMb.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-BaRz0MD0-fXpFUSD5.js → CheckDepositDrawerPage-BaRz0MD0-BM0_uKdc.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-C4hqC6Uj-CeOhK0qJ.js → CollapsableReportTable-C4hqC6Uj-5tFXuNTR.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-DA62JWZF-28wXvrh9.js → CompanyOfficerDetailsSection-DA62JWZF-C0vBARr1.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-CDQgqgtJ-Cs-zlaQi.js → CompanyPassportCard-CDQgqgtJ-BbKcIlw1.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-DoOtHRwj-7bnAHUeu.js → CompanyPassportPage-DoOtHRwj-B2NN3Eii.js} +1 -1
  46. package/dist/assets/{CompleteProfile-DsEoizlG-DOegmHNH.js → CompleteProfile-DsEoizlG-CilawSZI.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-D_bNA5jm-AxnjtqGp.js → ConfettiBurst-D_bNA5jm-C0pC4igq.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-yhWFdRSc.js → ConstrainedInnerElement-BeIpAPjB-C-KqGnDU.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CQGF8m1c-Km9d2S1Z.js → CreateOrEditVendorPage-CQGF8m1c-5DtlSJTb.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-DK_T0qbN-Bvmfy85N.js → CreditCardPaymentDrawerPage-DK_T0qbN-D_WRlOld.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-7to_rmTp-D1r0SB0Y.js → CurrencySelectField-7to_rmTp-BXuKlnEM.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-DCQ_KqzB-DJtTHAcy.js → CustomerOnboardingActivationPage-DCQ_KqzB-DRjyVNkZ.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-DMF9BtF3-BKj6CME5.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-ZTBIaml1-DBfEZVdM.js → CustomerOnboardingDetailPageSkeleton-ZTBIaml1-Cke6Qj94.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DEq1Mm1I-Dp_05KKK.js → CustomerOnboardingNoStepsPage-DEq1Mm1I-BEgi-y28.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-BXch3GVe-Ba_gMD_F.js → CustomerOnboardingPage-BXch3GVe-Bpbomk3V.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-D7PFi42F-C_seXYMG.js → CustomerOnboardingProductSuitePage-D7PFi42F-Pj81dacI.js} +1 -1
  58. package/dist/assets/{Dashboard-BcjA6DTL-B8wtUrMY.js → Dashboard-BcjA6DTL-D6_dfU2g.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-Ce-jnQbs-CfmLV1Yt.js → DashboardReportPage-Ce-jnQbs-CWUPUukI.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-JT601qzy-CkG1z_mx.js → DashboardSidebarBackgroundAnimation-JT601qzy-CSYlyL6N.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-COgr8Xw5-NWAgf7bV.js → DepositAccTransactionItem-COgr8Xw5-CNQ4dSd1.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-zhPDzJoK-AejpnIWF.js → DepositAccTransactionListPage-zhPDzJoK-DKW1fuzv.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-2MqIFQbM-BGwsfDe-.js → DomesticWireDetailsPage-2MqIFQbM-Db5kbpdd.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-CfWDWIbC-DcGZOT8A.js → DownloadOverlay-CfWDWIbC-Cl0cCm4g.js} +1 -1
  65. package/dist/assets/{DrawerPage-CfIhiBhn-A5CC3xdl.js → DrawerPage-CfIhiBhn-DE7vhkIA.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-D25vo51x-BKCEnPp5.js → EditPeoplePage-D25vo51x-Zcjec459.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-DnFC_tCw-Cr7fsauQ.js → EditReimbursementDetailPage-DnFC_tCw-DMOHN7Vj.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-C9vgxsh4-Dg0LhTdP.js → EntityDetailPage-C9vgxsh4-pW11Yyxw.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-Bie5ZOV3-BZu2b-HP.js → EntitySummarySection-Bie5ZOV3-SIl_FvB7.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BEKF8mo3-DI5Un6My.js → ExpenseAutomationOverviewPage-BEKF8mo3-DmM0K3iX.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-DiJoZGeD-lfenglhX.js → ExpenseAutomationPage-DiJoZGeD-CMMBSd3y.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-C6Jb6WrN-BeqBD08K.js → ExpressPayPage-C6Jb6WrN-e8VRvHCK.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-ev9V1Riy-BV3fE1G1.js → FeaturePreviewPage-ev9V1Riy-DoZuV57C.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-BlgHPyvL-BhwHykaB.js → FollowStepsSection-BlgHPyvL-D8EbsWxY.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-Ck-LItUj-B8rLujq7.js → GlobalReviewListPage-Ck-LItUj-CLBJIe4f.js} +1 -1
  76. package/dist/assets/{InformationCardStack-BkuCjydF-ClSDOapP.js → InformationCardStack-BkuCjydF-DnNJwPwk.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-BFrwV0PC-CZ45PRa1.js → InsightsCardStack-BFrwV0PC-CW70d0la.js} +1 -1
  78. package/dist/assets/{InsightsSection-BdLDesVF-oVNFlqx0.js → InsightsSection-BdLDesVF-CpQJT4QH.js} +1 -1
  79. package/dist/assets/{IntegrationsSettingsPage-skBb_52w-D47eLHv2.js → IntegrationsSettingsPage-skBb_52w-BiiqyfDj.js} +1 -1
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-DUNu57zU-B6FHq7_F.js → InternationalWireSwiftDetailsPage-DUNu57zU-Usl58Zxp.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-D1_fj0MG-Bu9SiBen.js → InternationalWireVerificationPage-D1_fj0MG-CJEK7is5.js} +1 -1
  82. package/dist/assets/{InviteFormPage-D8zySzlG-B662YNtS.js → InviteFormPage-D8zySzlG-BYE2Ux8Q.js} +1 -1
  83. package/dist/assets/{InvitePageListView-DUng4fOl-Bw5RtSsX.js → InvitePageListView-DUng4fOl-CBGNglbo.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-C0bQFMoO-C-nWyYL8.js → InvitePeoplePage-C0bQFMoO-BOaaBAKR.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-CVOHcfdx-FSNHIS5V.js → InvoiceUploadSection-CVOHcfdx-DqakS9w6.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-Vzj9appY-09K43VT7.js → IssueChargeCardPage-Vzj9appY-C2H0BZle.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-inaQliHs-Dg9xTHiz.js → LabeledAddressValue-inaQliHs-mNEyJAJu.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-B6IDZIGK-SXi-bQ86.js → LabeledAddressValueField-B6IDZIGK-63I3yM9l.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-DNMqJzBC-BPs_pf7S.js → LabeledControlledCheckBoxField-DNMqJzBC-CuRveHGl.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField--JYMnWIw-Dm5jwrCs.js → LabeledCountryMultiSelectField--JYMnWIw-BjiEaEDi.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-C5A14hjp-Dp3zoxD2.js → LabeledCreatableSingleSelectField-C5A14hjp-Cu6_9o8r.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-DXd7BAH7-EzfLYbDV.js → LabeledDocumentField-DXd7BAH7-mBB2Rq0Q.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-BVtRyAo1-706o2HXB.js → LabeledDropDownFormattedTextField-BVtRyAo1-BmIAsd6l.js} +1 -1
  94. package/dist/assets/{LabeledText-B0bwznDi-CbaJVeOz.js → LabeledText-B0bwznDi-DpPCDPqS.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DXTzXLuP-C7ZxqrMf.js → LabeledUserSingleSelectWithSubtitlesField-DXTzXLuP-B5dPNNrn.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-C0AamFZX-DtH7B1QB.js → LabeledZeniRolesDropDownField-C0AamFZX-Cg8mUfNU.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-DWjs72Wp-CUQI1Z1j.js → LinkJETransactionPage-DWjs72Wp-Iy5FetNU.js} +1 -1
  98. package/dist/assets/{LockCardPage-CPUbpfrv-3LEgf1Eq.js → LockCardPage-CPUbpfrv-CNWonFPi.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-Cg-JRo7A-zj6pzOkP.js → LowBalancePopup-Cg-JRo7A-BHBzAYDh.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-CUhe4LF8-C2tbOI9Z.js → MagicLinkACHDetailsPage-CUhe4LF8-CBnwrY74.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-DRiOxSts-fgdDLLEw.js → MagicLinkDomesticWireDetailsPage-DRiOxSts-CIge5ZMg.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DwCrgk9X-BJyrM3xf.js → MagicLinkInternationalWireDetailsPage-DwCrgk9X-BZW_YI_x.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-UOywm1sp-BBCToRwV.js → MagicLinkSuccessPage-UOywm1sp-CkgyVaZM.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-D5RIlimx-5X1vjx5k.js → MagicLinkTitleSection-D5RIlimx-BVAtTe_l.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-OYOVCPaq-B5APfdaG.js → MailingDetailsSection-OYOVCPaq-DqkyPuP0.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-D55M4Yo6-DWI72gIp.js → MyBankConnectionsSettingsPage-D55M4Yo6-OCw2ThY5.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-SxpMobOC-QJU8xHLH.js → MyPendingActivationChargeCardListPage-SxpMobOC-BNVGLNxT.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-DLvCW9dl-3UYEbBEM.js → MyProfileSettingsPage-DLvCW9dl-Bwlj22pi.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-zd1BopIw-dYFUtFeu.js → NavBarWithPicker-zd1BopIw-Ci9g5FBV.js} +1 -1
  110. package/dist/assets/{NavigationArrow-CqK2Gxhj-JoTM067o.js → NavigationArrow-CqK2Gxhj-ChCXbTpI.js} +1 -1
  111. package/dist/assets/{NavigationDots-C7DGhAsk-BigsWf2H.js → NavigationDots-C7DGhAsk-ZkX74p-H.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-BH4SIY-b-IspkGBWL.js → NewGlobalMerchantPage-BH4SIY-b-B1FKYnoe.js} +1 -1
  113. package/dist/assets/{NoDataChart-Vz2Z_iIL-BHz7pPoV.js → NoDataChart-Vz2Z_iIL-y0n0-Ndo.js} +1 -1
  114. package/dist/assets/{NoDataTable-B355xDAT-DcAZ4j4d.js → NoDataTable-B355xDAT-tSo-HWiz.js} +1 -1
  115. package/dist/assets/{NotFoundPage-Bfp9Pyxw-DVJn2b4k.js → NotFoundPage-Bfp9Pyxw-DcEF6VdC.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-1OEolmCL-DbOSpAhH.js → NotificationSettingsPage-1OEolmCL-DxmYYmXs.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-B5Ei8fVY-6YLjvq8F.js → NotificationsListConfig-B5Ei8fVY-C_r4NQMn.js} +1 -1
  118. package/dist/assets/{NotificationsPage-ChGr8-XF-VM1F0z8s.js → NotificationsPage-ChGr8-XF-BQJBO-ev.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-ae4FK1p6-CuNG361W.js → OpExByVendorPage-ae4FK1p6-T75QXMPm.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-CR2TYg0o.js → OverlayContainerPage-D4QU0p4o-WQn5Bks3.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-ChIPvp4R-qyv7RUis.js → PandLWithForecastPage-ChIPvp4R-DeuoueIT.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CnpmZxaM-COq_RoPw.js → PaymentAccountSetupBillingAddressSection-CnpmZxaM-D7u1H9wQ.js} +1 -1
  123. package/dist/assets/{PeoplePage-D8pfeVRK-n6UzH76T.js → PeoplePage-D8pfeVRK-Bs-NUrG0.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-eVPl5t0I-BGcfqmV6.js → ProductsCarousel-eVPl5t0I-C9jtas3-.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-HrcAWM4W-BKT0vHPP.js → PromoBaseCards-HrcAWM4W-C9b9Z-hO.js} +1 -1
  126. package/dist/assets/{QBOConnectionDialog-DgyYkEYY-Cpn7NAss.js → QBOConnectionDialog-DgyYkEYY-khuxBSC1.js} +1 -1
  127. package/dist/assets/{QBOSetupSection-C4KJ5iyA-DQVhDTXa.js → QBOSetupSection-C4KJ5iyA-DKEfehSp.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BbEMTVlp-CzXU9rgb.js → ReimbursementApprovalRuleDetailPage-BbEMTVlp-DcCvaDKG.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRulesPage-B_1m9CBx-CabMdysS.js → ReimbursementApprovalRulesPage-B_1m9CBx-CqYcCinV.js} +1 -1
  130. package/dist/assets/{ReimbursementDetailPage-8i30hIr0-Dsm2Dpy8.js → ReimbursementDetailPage-8i30hIr0-BMaB2_33.js} +1 -1
  131. package/dist/assets/{ReimbursementPromoPage-C4bxCDcc-yn3a9m-2.js → ReimbursementPromoPage-C4bxCDcc-DQidouOl.js} +1 -1
  132. package/dist/assets/{ReimbursementSetUpPage-BkJ1-eNw-DtguijtQ.js → ReimbursementSetUpPage-BkJ1-eNw-CkFu5bNO.js} +1 -1
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CYZGBUms--1POKdZc.js → ReimbursementsBulkReviewDrawerPage-CYZGBUms-DSJsTy3L.js} +1 -1
  134. package/dist/assets/{ReloadCard-DrAfrMOy-Dp01MRiJ.js → ReloadCard-DrAfrMOy-DF5vomen.js} +1 -1
  135. package/dist/assets/{ReportTableViewSelector-DM_Em4lI-DVoP-nO6.js → ReportTableViewSelector-DM_Em4lI-BV_CwmkV.js} +1 -1
  136. package/dist/assets/{ReportsPage-E9MU25NS-BG-K0aaI.js → ReportsPage-E9MU25NS-DptYNHIB.js} +1 -1
  137. package/dist/assets/{RevenueChart-CzVs6lFB-CetzZFOl.js → RevenueChart-CzVs6lFB-CJ-sH0BH.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-DR0MCIgO-DeTv48zq.js → ReviewDetailsPage-DR0MCIgO-DnPwmDI4.js} +1 -1
  139. package/dist/assets/{ReviewOverlay-jDgQyzfL-CrHwzWa9.js → ReviewOverlay-jDgQyzfL-CfH6EFVz.js} +1 -1
  140. package/dist/assets/{RoleWithToolTip-zLU58xb1-CSAiI1iT.js → RoleWithToolTip-zLU58xb1-cBZpJZzg.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-D47R-Lyr-CZpPEcr2.js → ScheduleDetailsFixedAssetsPage-D47R-Lyr-CRrnUaPf.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsPage-DYNnVOEv-D18lxUWs.js → ScheduleDetailsPage-DYNnVOEv-3WVqotcd.js} +1 -1
  143. package/dist/assets/{ScheduleSequenceTable-CCHqmNhS-C5vei5ej.js → ScheduleSequenceTable-CCHqmNhS-DXJD_R5L.js} +1 -1
  144. package/dist/assets/{ScreenRoutes-CyJpBFvr.js → ScreenRoutes-DUTrRKTm.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-Bq2qSGml-DouG9J1c.js → SetUpAccountSection-Bq2qSGml-BkofzoQI.js} +1 -1
  146. package/dist/assets/{SignIn-Lqp6Uw4I--saqLsOx.js → SignIn-Lqp6Uw4I-0z412pCf.js} +1 -1
  147. package/dist/assets/{SignInScreen-Crh_lnSg.js → SignInScreen-Be5T3t3_.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-DUBWXnF--DVg116ep.js → SpendManagementListViewPage-DUBWXnF--DIh0EuS8.js} +3 -3
  149. package/dist/assets/{SpendManagementPerTabPage-RLv6LS-z-CYo8kes0.js → SpendManagementPerTabPage-RLv6LS-z-k8zZTrW8.js} +1 -1
  150. package/dist/assets/{SpendManagementSection-DJfAJzAL-ig4GL1ZT.js → SpendManagementSection-DJfAJzAL-wSpPjYzJ.js} +1 -1
  151. package/dist/assets/{StatementItem-DWaejUx_-C8v9F3EQ.js → StatementItem-DWaejUx_-6KabBr7v.js} +1 -1
  152. package/dist/assets/{StatementsPage-BgYeg1T4-C88dmgbV.js → StatementsPage-BgYeg1T4-Cd0P-8PR.js} +1 -1
  153. package/dist/assets/{StatusSwitcher-C4MmXvmy-xYxIiuBt.js → StatusSwitcher-C4MmXvmy-evJfeJy0.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-UW2b0f3g-Dn63h3aS.js → SubTabSwitcher-UW2b0f3g-CNOF9M5r.js} +1 -1
  155. package/dist/assets/{SummaryCard-BLqrfWMN-BoOQqfaJ.js → SummaryCard-BLqrfWMN-B7lRCfHv.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-BmOv6jb0-DMzDUJnW.js → TaskManagementPage-BmOv6jb0-DtdEtJiC.js} +1 -1
  157. package/dist/assets/{TimeRangeSwitcher-NHpll2Zg-Dr20odtf.js → TimeRangeSwitcher-NHpll2Zg-DESlkXFJ.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcher-DR4B6ENA-CD0Ac63k.js → TimeframeSwitcher-DR4B6ENA-C32GEGxC.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-DlZ34Erl-BkLOXZy3.js → TimeframeSwitcherWithToggle-DlZ34Erl-DlGIs5fl.js} +1 -1
  160. package/dist/assets/{TopExCard-BKUm1fVu-CdS4qfxw.js → TopExCard-BKUm1fVu-Dkgq81Or.js} +1 -1
  161. package/dist/assets/{TopExDetailPage-BpaKGiXB-_eDwMn8-.js → TopExDetailPage-BpaKGiXB-BRpojzic.js} +1 -1
  162. package/dist/assets/{TransactionActivityLogPage-C4oS0b8d-5ZoA1pgW.js → TransactionActivityLogPage-C4oS0b8d-K0IXutYe.js} +1 -1
  163. package/dist/assets/{TransactionDetailPage-Dz5UCI7c-DCbRyu-c.js → TransactionDetailPage-Dz5UCI7c-CO5TPMx8.js} +1 -1
  164. package/dist/assets/{TransactionList-7sC4Vvux-BdQNJsG3.js → TransactionList-7sC4Vvux-C5k3jDlJ.js} +1 -1
  165. package/dist/assets/{TransactionListBig-C1i2HOEm-BoHPxhV4.js → TransactionListBig-C1i2HOEm-BCSNHtty.js} +1 -1
  166. package/dist/assets/{TransactionListPage-CTzZTWJh-rMP8UEHn.js → TransactionListPage-CTzZTWJh-CkJUb0f2.js} +1 -1
  167. package/dist/assets/{TransactionVendorDetailPage-BhEUsSHE-DWkVZWnN.js → TransactionVendorDetailPage-BhEUsSHE-BaEFfZJ8.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-enFS8KsH-pWKe3GIV.js → TransferDrawerPage-enFS8KsH-B4bSUV5D.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-BT--Br6F-DZD_F62z.js → TreasuryOverviewPage-BT--Br6F-CDlrco1N.js} +1 -1
  170. package/dist/assets/{TreasuryPromoPage-DsUxXGv2-CbCXpGfI.js → TreasuryPromoPage-DsUxXGv2-v85UX9AS.js} +1 -1
  171. package/dist/assets/{TreasuryStatementsPage-D7NeRKLM-FnJOs5A5.js → TreasuryStatementsPage-D7NeRKLM-UJOmxDUF.js} +1 -1
  172. package/dist/assets/{TreasuryTaxLetterPage-Cj6nJmhq-eRbAIBG9.js → TreasuryTaxLetterPage-Cj6nJmhq-vWgzz_Cz.js} +1 -1
  173. package/dist/assets/{TrendChart-CWaL1-sD-jHXMg1Jt.js → TrendChart-CWaL1-sD-CtjAjIjX.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-ULrBa2b0-DV504Izy.js → TrendWithTransactions-ULrBa2b0-CUXV5EUz.js} +1 -1
  175. package/dist/assets/{UncategorizedAccountsMappingPage-D8b01XUy-DqqC0SGI.js → UncategorizedAccountsMappingPage-D8b01XUy-BCG_ctYT.js} +1 -1
  176. package/dist/assets/{UnitIntegrationPage-KbEwifey-DfbiDH3c.js → UnitIntegrationPage-KbEwifey-BkPFx-7g.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-Cxxuws-w-q1izSlj8.js → UploadAdditionalDocumentOverlay-Cxxuws-w-h9Zcn0UL.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-Dm6Ot_5k-CeyePLNN.js → Vendor2FAPopup-Dm6Ot_5k-Cyyx0pBR.js} +1 -1
  179. package/dist/assets/{VendorACHDetailsPage-DMhwUboX-DW77y7-e.js → VendorACHDetailsPage-DMhwUboX-BIV25eTJ.js} +1 -1
  180. package/dist/assets/{VendorDetailPage-BwbESVFq-BHZW_2ez.js → VendorDetailPage-BwbESVFq-DZF-YGzI.js} +1 -1
  181. package/dist/assets/{VendorDomesticWireDetailsPage-DU47133D-BNz0vLWP.js → VendorDomesticWireDetailsPage-DU47133D-D98d-Dy4.js} +1 -1
  182. package/dist/assets/{VendorFiling1099EditablePage-Dycvl3IG-DtHtcSbL.js → VendorFiling1099EditablePage-Dycvl3IG-n-plHQrw.js} +1 -1
  183. package/dist/assets/{VendorFirstReviewPage-COk5-4Mm-BUPA8fWX.js → VendorFirstReviewPage-COk5-4Mm-Bdi-813c.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-Di0TU5Db-B1HiqwDL.js → VendorInternationalWireDetailsPage-Di0TU5Db-BZNEzlNG.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Do345R_v-M_TSksW9.js → VendorInternationalWireSwiftDetailsPage-Do345R_v-CpFyt48-.js} +1 -1
  186. package/dist/assets/{VendorsAccountsSection-BPuqPLC8-CD6vaKdE.js → VendorsAccountsSection-BPuqPLC8-CIyz6AOI.js} +1 -1
  187. package/dist/assets/{VerifyDevice-BRCRNTf1-Dw4vKeVk.js → VerifyDevice-BRCRNTf1-D94fImMB.js} +1 -1
  188. package/dist/assets/{VideoPlayer-BgWCDJp3-CbPNc--2.js → VideoPlayer-BgWCDJp3-BDiNl4C5.js} +1 -1
  189. package/dist/assets/{VideoPopup-ckAw3yZZ-CPBR9ffY.js → VideoPopup-ckAw3yZZ-DVrSl0i_.js} +1 -1
  190. package/dist/assets/{WarningsDrawerPage-D0VOjlPL-Cmk9Gclc.js → WarningsDrawerPage-D0VOjlPL-C48hH2Qn.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-DxdKUJ_i-8Rps5gMW.js → ZeniAccountDetailPage-DxdKUJ_i-Bck9KH5c.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-DxCB40sG-D7wpBJpb.js → ZeniAccountListViewPage-DxCB40sG-BFpbbj_1.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-D7o4_8jk-DU75NHos.js → ZeniAccountNavBarPieces-D7o4_8jk-DDdjPhKO.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-BlfBjcVV-D8slteBQ.js → ZeniAccountPromoPage-BlfBjcVV-C5NBoHzD.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-akgqrbmw-xtslv-BN.js → ZeniAccountSetupPage-akgqrbmw-DHT4vlFP.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-BrtqzLbb-BE2v7OcH.js → ZeniCopyright-BrtqzLbb-5B18vRE0.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-yfG_RSE5-Chw30zZt.js → ZeniTransferAmountSlider-yfG_RSE5-C_ktMTOg.js} +1 -1
  198. package/dist/assets/{analyticsHelper-BROaWFlP.js → analyticsHelper-DmCNU5zy.js} +1 -1
  199. package/dist/assets/{analyticsHelper-YXL3oVeL-st_q3oRE.js → analyticsHelper-YXL3oVeL-BPAS52dh.js} +1 -1
  200. package/dist/assets/{chartTypes-BPQ65VEE-6yZpeJsO.js → chartTypes-BPQ65VEE-Cay7MVWd.js} +1 -1
  201. package/dist/assets/{commonDimensions-DY0eA-Tl-D8wklKVF.js → commonDimensions-DY0eA-Tl-DnpccLz6.js} +1 -1
  202. package/dist/assets/{commonTypes-WZYufpaN-dYh7B5Qi.js → commonTypes-WZYufpaN-jpwsOBFw.js} +1 -1
  203. package/dist/assets/{detailCommon-cqZF9ZV8-CcqFhiCw.js → detailCommon-cqZF9ZV8-CUfVqa9M.js} +1 -1
  204. package/dist/assets/{downloadPdf-3uDsBfRK-CGEKdVDQ.js → downloadPdf-3uDsBfRK-DRCC0Q19.js} +1 -1
  205. package/dist/assets/{helper-GwFcgf4f-QTj7P4Bk.js → helper-GwFcgf4f-DS4f5iLr.js} +1 -1
  206. package/dist/assets/{index-Cq3X29cS.js → index-B3hQ50EY.js} +5 -5
  207. package/dist/assets/{mapLoadingInProgressToTreeNode-CkbJ6R1I-DIVOAa5P.js → mapLoadingInProgressToTreeNode-CkbJ6R1I-CGGhBBTF.js} +1 -1
  208. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BR34hkWh-Dcg0Ex62.js → mapSectionWithAcOnlyToTreeNode-BR34hkWh-CdyWokMa.js} +1 -1
  209. package/dist/assets/{mapSpacerToTreeNode-BDHpjDEs-DAaIJCY0.js → mapSpacerToTreeNode-BDHpjDEs-7pQZWO_w.js} +1 -1
  210. package/dist/assets/{mapTimeframeBalancesToTreeNode-B-58xc9r-DNQTilLS.js → mapTimeframeBalancesToTreeNode-B-58xc9r-jnXKaloA.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-DNryKtmS-D24Y9ZFz.js → mapTimeframeBalancesToTreeNode-DNryKtmS-DUg0cGGx.js} +1 -1
  212. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-6kNSnV0m-BkRLjeRM.js → mapTimeframeHeaderLoadingInProgressToTreeNode-6kNSnV0m-BiaSXpyk.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-CU-N01Ne-BfeZ-0De.js → toCOABalancesWithID-CU-N01Ne-CsSiVXKO.js} +1 -1
  214. package/dist/assets/{toChartData-BIERIIE--CxJg6nKe.js → toChartData-BIERIIE--CUOhP7c-.js} +1 -1
  215. package/dist/assets/{uploadAttachment-htF-2xC2-BK-WmHcD.js → uploadAttachment-htF-2xC2-BpIX7dVX.js} +1 -1
  216. package/dist/assets/{uploadReceipts-Dge0cNF1-DNapZCC1.js → uploadReceipts-Dge0cNF1-DLu-JEaF.js} +1 -1
  217. package/dist/index.html +1 -1
  218. package/package.json +1 -1
  219. package/dist/assets/CustomerOnboardingContainerPage-DMF9BtF3-COJ-Wyve.js +0 -1
@@ -1,4 +1,4 @@
1
- import{ay as kt,y as Xe,V as t,jE as K,bE as xt,ab as _,cs as wt,an as U,as as ft,b as oe,o as s,jF as Ze,ck as Ie,co as Ct,gb as Tt,bb as $t,bQ as qe,aV as yt,cf as bt,J as le,aa as vt,x as Qe,cI as jt,ae as St,b5 as Gt,cw as Lt,i$ as Nt,j0 as It,jG as Be,aT as Et,a as De,bV as Ee,eR as et,jH as Mt,d2 as tt,jI as pe,jJ as xe,jK as we,jL as st,jM as Dt,jN as ot,jO as nt,jP as at,jQ as rt,jR as it,jS as V,u as ke,jT as re,ak as ie,jU as Bt,jV as zt,d as At,ap as Rt,jW as Wt,dd as Ot,jX as Pt,cM as lt,et as Ft,w as Ht,jY as _t,jZ as Vt,gc as Ut,gE as Kt,j_ as Jt,j$ as q,k0 as ze,cy as Yt,k1 as Xt,k2 as Zt,k3 as qt,k4 as Ae,p as Re,gB as Qt,ao as es}from"./index-Cq3X29cS.js";import{a as n}from"./sentry-DQ_HstYV.js";import{n as o,c as fe}from"./mui-DzE-7sTl.js";import{GZ as ts,G_ as We,cd as dt,ce as ct,cf as ss}from"./zeni-epic-state-B4gyGBI3.js";import{J as os,t as ns}from"./SpendManagementSection-DJfAJzAL-ig4GL1ZT.js";import{A as as,t as rs,a as is,E as ls}from"./NotificationsListConfig-B5Ei8fVY-6YLjvq8F.js";import{a as ds}from"./SpendManagementListViewPage-DUBWXnF--DVg116ep.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./StatusSwitcher-C4MmXvmy-xYxIiuBt.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]="e4062da8-4f21-42c9-8387-f19a49ce1f5b",e._sentryDebugIdIdentifier="sentry-dbid-e4062da8-4f21-42c9-8387-f19a49ce1f5b")}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)},v=m=>{const G=e.current;return!G||!(m.target instanceof Node)?!1:G.contains(m.target)},N=m=>v(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,D=E(I);k(m,D,"up")}else if(y>G-c){const I=y-(G-c),D=E(I);k(m,D,"down")}i=requestAnimationFrame(w)},B=m=>{N(m)?a=!0:(a=!1,T())},z=()=>{a=!1,T()},A=m=>{a&&(p=m.clientY)},M=m=>{A(m),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",B),document.addEventListener("dragend",z),document.addEventListener("dragover",M),()=>{document.removeEventListener("dragstart",B),document.removeEventListener("dragend",z),document.removeEventListener("dragover",M),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{ay as kt,y as Xe,V as t,jE as K,bE as xt,ab as _,cs as wt,an as U,as as ft,b as oe,o as s,jF as Ze,ck as Ie,co as Ct,gb as Tt,bb as $t,bQ as qe,aV as yt,cf as bt,J as le,aa as vt,x as Qe,cI as jt,ae as St,b5 as Gt,cw as Lt,i$ as Nt,j0 as It,jG as Be,aT as Et,a as De,bV as Ee,eR as et,jH as Mt,d2 as tt,jI as pe,jJ as xe,jK as we,jL as st,jM as Dt,jN as ot,jO as nt,jP as at,jQ as rt,jR as it,jS as V,u as ke,jT as re,ak as ie,jU as Bt,jV as zt,d as At,ap as Rt,jW as Wt,dd as Ot,jX as Pt,cM as lt,et as Ft,w as Ht,jY as _t,jZ as Vt,gc as Ut,gE as Kt,j_ as Jt,j$ as q,k0 as ze,cy as Yt,k1 as Xt,k2 as Zt,k3 as qt,k4 as Ae,p as Re,gB as Qt,ao as es}from"./index-B3hQ50EY.js";import{a as n}from"./sentry-DQ_HstYV.js";import{n as o,c as fe}from"./mui-DzE-7sTl.js";import{GZ as ts,G_ as We,cd as dt,ce as ct,cf as ss}from"./zeni-epic-state-B4gyGBI3.js";import{J as os,t as ns}from"./SpendManagementSection-DJfAJzAL-wSpPjYzJ.js";import{A as as,t as rs,a as is,E as ls}from"./NotificationsListConfig-B5Ei8fVY-C_r4NQMn.js";import{a as ds}from"./SpendManagementListViewPage-DUBWXnF--DIh0EuS8.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./StatusSwitcher-C4MmXvmy-evJfeJy0.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]="e4062da8-4f21-42c9-8387-f19a49ce1f5b",e._sentryDebugIdIdentifier="sentry-dbid-e4062da8-4f21-42c9-8387-f19a49ce1f5b")}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)},v=m=>{const G=e.current;return!G||!(m.target instanceof Node)?!1:G.contains(m.target)},N=m=>v(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,D=E(I);k(m,D,"up")}else if(y>G-c){const I=y-(G-c),D=E(I);k(m,D,"down")}i=requestAnimationFrame(w)},B=m=>{N(m)?a=!0:(a=!1,T())},z=()=>{a=!1,T()},A=m=>{a&&(p=m.clientY)},M=m=>{A(m),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",B),document.addEventListener("dragend",z),document.addEventListener("dragover",M),()=>{document.removeEventListener("dragstart",B),document.removeEventListener("dragend",z),document.removeEventListener("dragover",M),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,b5 as B,aG as S,dn as V,bt as H,o as c,ak as L}from"./index-Cq3X29cS.js";import{a as n}from"./sentry-DQ_HstYV.js";import{n as g}from"./mui-DzE-7sTl.js";import{Y as q}from"./core-CCdM5htn.js";import{O as G}from"./CollapsableReportTable-C4hqC6Uj-CeOhK0qJ.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]="ba7b8975-a824-4787-a2a5-a3994f6e9e26",e._sentryDebugIdIdentifier="sentry-dbid-ba7b8975-a824-4787-a2a5-a3994f6e9e26")}catch{}})();const U=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"})),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:"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,X=g.div`
1
+ import{V as t,b5 as B,aG as S,dn as V,bt as H,o as c,ak as L}from"./index-B3hQ50EY.js";import{a as n}from"./sentry-DQ_HstYV.js";import{n as g}from"./mui-DzE-7sTl.js";import{Y as q}from"./core-CCdM5htn.js";import{O as G}from"./CollapsableReportTable-C4hqC6Uj-5tFXuNTR.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]="ba7b8975-a824-4787-a2a5-a3994f6e9e26",e._sentryDebugIdIdentifier="sentry-dbid-ba7b8975-a824-4787-a2a5-a3994f6e9e26")}catch{}})();const U=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"})),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:"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,X=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 r,o as t,ak as p,b as u}from"./index-Cq3X29cS.js";import{n as d}from"./mui-DzE-7sTl.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]="0afee43a-e9d7-49ba-8b48-4209251f2444",e._sentryDebugIdIdentifier="sentry-dbid-0afee43a-e9d7-49ba-8b48-4209251f2444")}catch{}})();const g=d.div`
1
+ import{V as r,o as t,ak as p,b as u}from"./index-B3hQ50EY.js";import{n as d}from"./mui-DzE-7sTl.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]="0afee43a-e9d7-49ba-8b48-4209251f2444",e._sentryDebugIdIdentifier="sentry-dbid-0afee43a-e9d7-49ba-8b48-4209251f2444")}catch{}})();const g=d.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{J as d,V as i,x as n,ak as u,bL as w}from"./index-Cq3X29cS.js";import{n as o}from"./mui-DzE-7sTl.js";import{j as l}from"./TimeframeSwitcher-DR4B6ENA-CD0Ac63k.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]="14a4fb89-53c5-47f1-b4dd-d49960a48aa0",e._sentryDebugIdIdentifier="sentry-dbid-14a4fb89-53c5-47f1-b4dd-d49960a48aa0")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},x=({className:e,...a})=>i.jsx(w,{...a,className:e,classes:{...t}}),p=o(x)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>i.jsx(p,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=o.div`
1
+ import{J as d,V as i,x as n,ak as u,bL as w}from"./index-B3hQ50EY.js";import{n as o}from"./mui-DzE-7sTl.js";import{j as l}from"./TimeframeSwitcher-DR4B6ENA-C32GEGxC.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]="14a4fb89-53c5-47f1-b4dd-d49960a48aa0",e._sentryDebugIdIdentifier="sentry-dbid-14a4fb89-53c5-47f1-b4dd-d49960a48aa0")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},x=({className:e,...a})=>i.jsx(w,{...a,className:e,classes:{...t}}),p=o(x)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>i.jsx(p,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=o.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aG as z,J as M,V as t,y as x,u as p,w as T,a_ as X,aQ as H,aO as R,o as f,ak as C,bb as G,an as Q,b as S,aP as F,aU as E,b4 as N,b5 as Y,ac as q,aV as J,bT as U}from"./index-Cq3X29cS.js";import{P as w,a as W}from"./sentry-DQ_HstYV.js";import{FQ as Z}from"./zeni-epic-state-B4gyGBI3.js";import{n as g}from"./mui-DzE-7sTl.js";import{I as ee,T as te}from"./ReloadCard-DrAfrMOy-Dp01MRiJ.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-CsPk6hIb.js";import{H as k,X as L,Y as P,K as $,O,Q as ne,S as oe}from"./recharts-CiLmNGsl.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]="659d2cbe-6e3e-4f9f-9ed7-4bd42f86b01e",e._sentryDebugIdIdentifier="sentry-dbid-659d2cbe-6e3e-4f9f-9ed7-4bd42f86b01e")}catch{}})();const ie=g(E)`
1
+ import{aG as z,J as M,V as t,y as x,u as p,w as T,a_ as X,aQ as H,aO as R,o as f,ak as C,bb as G,an as Q,b as S,aP as F,aU as E,b4 as N,b5 as Y,ac as q,aV as J,bT as U}from"./index-B3hQ50EY.js";import{P as w,a as W}from"./sentry-DQ_HstYV.js";import{FQ as Z}from"./zeni-epic-state-B4gyGBI3.js";import{n as g}from"./mui-DzE-7sTl.js";import{I as ee,T as te}from"./ReloadCard-DrAfrMOy-DF5vomen.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-CsPk6hIb.js";import{H as k,X as L,Y as P,K as $,O,Q as ne,S as oe}from"./recharts-CiLmNGsl.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]="659d2cbe-6e3e-4f9f-9ed7-4bd42f86b01e",e._sentryDebugIdIdentifier="sentry-dbid-659d2cbe-6e3e-4f9f-9ed7-4bd42f86b01e")}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{y as b,J as S,V as t,bE as A,b as x,aQ as j,b5 as B,K as P,o as i,x as E,bS as H,bu as V,u as c,p as z,an as $,ac as D,b1 as F}from"./index-Cq3X29cS.js";import{n}from"./mui-DzE-7sTl.js";import{FQ as T}from"./zeni-epic-state-B4gyGBI3.js";import{E as _,I}from"./TopExCard-BKUm1fVu-CdS4qfxw.js";import{j as M}from"./TimeframeSwitcher-DR4B6ENA-CD0Ac63k.js";import{d as Z}from"./NoDataTable-B355xDAT-DcAZ4j4d.js";import{P as L,a as o}from"./sentry-DQ_HstYV.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./ReloadCard-DrAfrMOy-Dp01MRiJ.js";import"./graphic-no-data-l-DU4J8fDt-CsPk6hIb.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]="8e820f26-bddf-4cf1-aa2a-97efbdae7a0f",e._sentryDebugIdIdentifier="sentry-dbid-8e820f26-bddf-4cf1-aa2a-97efbdae7a0f")}catch{}})();const v="141px",O=i.sp4,N="123px",J=n(F)`
1
+ import{y as b,J as S,V as t,bE as A,b as x,aQ as j,b5 as B,K as P,o as i,x as E,bS as H,bu as V,u as c,p as z,an as $,ac as D,b1 as F}from"./index-B3hQ50EY.js";import{n}from"./mui-DzE-7sTl.js";import{FQ as T}from"./zeni-epic-state-B4gyGBI3.js";import{E as _,I}from"./TopExCard-BKUm1fVu-Dkgq81Or.js";import{j as M}from"./TimeframeSwitcher-DR4B6ENA-C32GEGxC.js";import{d as Z}from"./NoDataTable-B355xDAT-tSo-HWiz.js";import{P as L,a as o}from"./sentry-DQ_HstYV.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./ReloadCard-DrAfrMOy-DF5vomen.js";import"./graphic-no-data-l-DU4J8fDt-CsPk6hIb.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]="8e820f26-bddf-4cf1-aa2a-97efbdae7a0f",e._sentryDebugIdIdentifier="sentry-dbid-8e820f26-bddf-4cf1-aa2a-97efbdae7a0f")}catch{}})();const v="141px",O=i.sp4,N="123px",J=n(F)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{V as n,L as F,o as a,b9 as H,b as z,an as M,d as B,eJ as U,ao as J,bi as I,g as P,ak as Q,dw as q,a$ as K}from"./index-Cq3X29cS.js";import{a as O}from"./sentry-DQ_HstYV.js";import{n as i}from"./mui-DzE-7sTl.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="921e56ea-acf8-4008-84a9-3aad3e6e3ad1",e._sentryDebugIdIdentifier="sentry-dbid-921e56ea-acf8-4008-84a9-3aad3e6e3ad1")}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 W(e){return e.endsWith(".user_update")}function Y(e){return e.length>0&&W(e[0].eventType)}function Z(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 G(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=Z(s),h=G(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 o=0;for(;o<r.length;){const s=r[o],l=t.get(s)??[],m=y(l);let d=o;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}),o=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 o=0;for(;o<r.length;){const s=r[o],l=t.get(s)??[],m=j(l);let d=o;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}),o=d+1}return u}function ee(e){const t=[];let r=0;for(;r<e.length;){const u=e[r],o=[u],s=u.data?.transaction?.correlationId;let l=r+1;if(s!=null)for(;l<e.length&&e[l].data?.transaction?.correlationId===s;)o.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");)o.push(e[l]),l++;t.push(o),r=l}return t}function te(e){if(e.length===1&&e[0].eventType==="transaction.sync_database")return p.transactionIngested;if(Y(e)){const o=e[0].data?.user;if(o!=null){const s=p.userUpdatedDetails.charAt(0).toLowerCase()+p.userUpdatedDetails.slice(1);return`${o.firstName} ${o.lastName} ${s}`}return p.userUpdatedDetails}const t=[...new Set(e.map(o=>g[o.eventType]).filter(o=>o!=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(_,{children:n.jsx(b,{children:p.title})}),n.jsx(Ie,{children:n.jsx(Ae,{children:p.noLogsFound})})]}):n.jsxs(v,{children:[n.jsxs(_,{children:[n.jsx(b,{children:p.title}),n.jsx(se,{onClick:t,children:n.jsx(ae,{})})]}),n.jsx(oe,{children:u.map((o,s)=>n.jsx(re,{isLast:s===u.length-1,group:o},o[0].id))})]})},re=({group:e,isLast:t})=>{const[r,u]=O.useState(!1),o=Y(e),s=o?[]:X(e),l=o?R(e):[],m=o?[]:ne(e);return n.jsxs(ue,{children:[n.jsxs(he,{children:[n.jsx(me,{children:o?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(V,{children:e[0].createTime.format(x.visual.MMMDFormat)}),n.jsx(ve,{}),n.jsx(V,{children:e[0].createTime.format(x.visual.HHMMFormat)})]}),o&&l.length>0&&n.jsx(w,{children:l.map((d,h)=>n.jsxs(N,{children:[n.jsxs(T,{children:[n.jsx(L,{children:d.lineDisplayLabel}),n.jsx(k,{"aria-hidden":!0,children:"#"})]}),n.jsx(Le,{children:d.details.map((c,$)=>n.jsxs(ke,{children:[n.jsxs(Ve,{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(Me,{children:c.newValue})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!o&&s.length>0&&n.jsx(w,{children:s.map((d,h)=>n.jsxs(N,{children:[n.jsxs(T,{children:[n.jsxs(le,{children:[n.jsx(de,{}),n.jsx(L,{children:d.lineDisplayLabel})]}),n.jsx(k,{"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}`))}),!o&&s.length===0&&m.length>0&&n.jsxs(n.Fragment,{children:[n.jsxs(_e,{onClick:()=>u(d=>!d),children:[n.jsx(be,{isExpanded:r}),n.jsx(we,{children:p.details})]}),r&&n.jsx(Ne,{children:m.map((d,h)=>n.jsxs(Te,{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,L as F,o as a,b9 as H,b as z,an as M,d as B,eJ as U,ao as J,bi as I,g as P,ak as Q,dw as q,a$ as K}from"./index-B3hQ50EY.js";import{a as O}from"./sentry-DQ_HstYV.js";import{n as i}from"./mui-DzE-7sTl.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="921e56ea-acf8-4008-84a9-3aad3e6e3ad1",e._sentryDebugIdIdentifier="sentry-dbid-921e56ea-acf8-4008-84a9-3aad3e6e3ad1")}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 W(e){return e.endsWith(".user_update")}function Y(e){return e.length>0&&W(e[0].eventType)}function Z(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 G(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=Z(s),h=G(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 o=0;for(;o<r.length;){const s=r[o],l=t.get(s)??[],m=y(l);let d=o;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}),o=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 o=0;for(;o<r.length;){const s=r[o],l=t.get(s)??[],m=j(l);let d=o;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}),o=d+1}return u}function ee(e){const t=[];let r=0;for(;r<e.length;){const u=e[r],o=[u],s=u.data?.transaction?.correlationId;let l=r+1;if(s!=null)for(;l<e.length&&e[l].data?.transaction?.correlationId===s;)o.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");)o.push(e[l]),l++;t.push(o),r=l}return t}function te(e){if(e.length===1&&e[0].eventType==="transaction.sync_database")return p.transactionIngested;if(Y(e)){const o=e[0].data?.user;if(o!=null){const s=p.userUpdatedDetails.charAt(0).toLowerCase()+p.userUpdatedDetails.slice(1);return`${o.firstName} ${o.lastName} ${s}`}return p.userUpdatedDetails}const t=[...new Set(e.map(o=>g[o.eventType]).filter(o=>o!=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(_,{children:n.jsx(b,{children:p.title})}),n.jsx(Ie,{children:n.jsx(Ae,{children:p.noLogsFound})})]}):n.jsxs(v,{children:[n.jsxs(_,{children:[n.jsx(b,{children:p.title}),n.jsx(se,{onClick:t,children:n.jsx(ae,{})})]}),n.jsx(oe,{children:u.map((o,s)=>n.jsx(re,{isLast:s===u.length-1,group:o},o[0].id))})]})},re=({group:e,isLast:t})=>{const[r,u]=O.useState(!1),o=Y(e),s=o?[]:X(e),l=o?R(e):[],m=o?[]:ne(e);return n.jsxs(ue,{children:[n.jsxs(he,{children:[n.jsx(me,{children:o?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(V,{children:e[0].createTime.format(x.visual.MMMDFormat)}),n.jsx(ve,{}),n.jsx(V,{children:e[0].createTime.format(x.visual.HHMMFormat)})]}),o&&l.length>0&&n.jsx(w,{children:l.map((d,h)=>n.jsxs(N,{children:[n.jsxs(T,{children:[n.jsx(L,{children:d.lineDisplayLabel}),n.jsx(k,{"aria-hidden":!0,children:"#"})]}),n.jsx(Le,{children:d.details.map((c,$)=>n.jsxs(ke,{children:[n.jsxs(Ve,{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(Me,{children:c.newValue})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!o&&s.length>0&&n.jsx(w,{children:s.map((d,h)=>n.jsxs(N,{children:[n.jsxs(T,{children:[n.jsxs(le,{children:[n.jsx(de,{}),n.jsx(L,{children:d.lineDisplayLabel})]}),n.jsx(k,{"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}`))}),!o&&s.length===0&&m.length>0&&n.jsxs(n.Fragment,{children:[n.jsxs(_e,{onClick:()=>u(d=>!d),children:[n.jsx(be,{isExpanded:r}),n.jsx(we,{children:p.details})]}),r&&n.jsx(Ne,{children:m.map((d,h)=>n.jsxs(Te,{children:[n.jsxs(D,{children:[d.fieldName,d.newValue!=null&&`: ${d.newValue}`]}),n.jsx(S,{children:d.reasoning})]},`${d.fieldName}-${h}`))})]})]})]})},ie=i.div`
2
2
  display: flex;
3
3
  justify-content: center;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{dT as Fa,dU as Ha,P as Ja,E as Ga,y as _t,aa as Ya,J as ne,b as W,aS as Yt,dV as Xa,dW as Za,cI as Ka,aG as Qa,dX as aa,dY as en,V as i,ae as tn,bE as an,dZ as nn,d_ as on,d$ as sn,e0 as Ri,aT as ln,x as U,ac as T,e1 as na,e2 as Te,e3 as Oe,e4 as Ne,e5 as Ke,e6 as Qe,e7 as kt,e8 as zt,e9 as et,ea as ht,eb as Rt,ec as Vt,ed as Xt,ee,ef as rn,eg as Qt,eh as pe,ei as oa,ej as me,ek as sa,aM as dn,el as Tt,em as Vi,en as cn,a as un,cs as pn,L as Di,o as n,cf as mn,eo as hn,u as j,K as wi,p as re,as as Ti,bc as ni,g as gn,ep as fn,cm as yn,ck as oi,cM as ot,eq as bn,er as Ft,aW as la,d0 as xn,es as wn,ci as vn,cj as Cn,aQ as je,an as ye,b1 as $n,et as In,eu as ra,ev as Zt,ew as Kt,ex as mi,di as Dn,b5 as Tn,cw as On,ey as Oi,a9 as da,ez as ei,eA as ti,eB as ca,cR as ua,bV as ji,eC as hi,dp as gi,eD as jn,bu as Ln,eE as Ai,eF as Sn,eG as kn,aA as zn,eH as Rn,eI as Vn,c as pa,eJ as ma,bM as An,eK as Ei,eL as ha,eM as ga,eN as fa,bK as st,av as En,au as Pn,dw as _n,w as ya,eO as Nn,bI as Un,d as Mn,ao as Bn,f as qn,aY as vi}from"./index-Cq3X29cS.js";import{a as w,P as Ot}from"./sentry-DQ_HstYV.js";import{n as l}from"./mui-DzE-7sTl.js";import{Gl as Wn,vc as Fn,bE as Et,bD as Pt,bF as Hn,b$ as Jn,lR as Gn,bh as Yn}from"./zeni-epic-state-B4gyGBI3.js";import{x as Pi}from"./LabeledControlledCheckBoxField-DNMqJzBC-BPs_pf7S.js";import{R as Xn}from"./TrendWithTransactions-ULrBa2b0-DV504Izy.js";import{u as Zn,c as Kn,d as Qn,m as eo}from"./uploadAttachment-htF-2xC2-BK-WmHcD.js";import{o as to}from"./radio-default-CiSgisfh-Bxc-V1Pu.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./TrendChart-CWaL1-sD-jHXMg1Jt.js";import"./chartTypes-BPQ65VEE-6yZpeJsO.js";import"./toCOABalancesWithID-CU-N01Ne-BfeZ-0De.js";import"./toChartData-BIERIIE--CxJg6nKe.js";import"./NoDataChart-Vz2Z_iIL-BHz7pPoV.js";import"./InsightsSection-BdLDesVF-oVNFlqx0.js";import"./NavigationDots-C7DGhAsk-BigsWf2H.js";import"./TransactionList-7sC4Vvux-BdQNJsG3.js";import"./ConstrainedInnerElement-BeIpAPjB-yhWFdRSc.js";import"./BoxItem-C-VST523-DMPXmLe8.js";import"./commonDimensions-DY0eA-Tl-D8wklKVF.js";import"./panelSelectedMixin-Cddsb26L-CcYFb3nR.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]="3d044be5-5aa0-4e3a-8442-9862c8be9cc3",e._sentryDebugIdIdentifier="sentry-dbid-3d044be5-5aa0-4e3a-8442-9862c8be9cc3")}catch{}})();const io={headerMarginTop:new U(j[7],j[8])},ao=l(ye)`
1
+ import{dT as Fa,dU as Ha,P as Ja,E as Ga,y as _t,aa as Ya,J as ne,b as W,aS as Yt,dV as Xa,dW as Za,cI as Ka,aG as Qa,dX as aa,dY as en,V as i,ae as tn,bE as an,dZ as nn,d_ as on,d$ as sn,e0 as Ri,aT as ln,x as U,ac as T,e1 as na,e2 as Te,e3 as Oe,e4 as Ne,e5 as Ke,e6 as Qe,e7 as kt,e8 as zt,e9 as et,ea as ht,eb as Rt,ec as Vt,ed as Xt,ee,ef as rn,eg as Qt,eh as pe,ei as oa,ej as me,ek as sa,aM as dn,el as Tt,em as Vi,en as cn,a as un,cs as pn,L as Di,o as n,cf as mn,eo as hn,u as j,K as wi,p as re,as as Ti,bc as ni,g as gn,ep as fn,cm as yn,ck as oi,cM as ot,eq as bn,er as Ft,aW as la,d0 as xn,es as wn,ci as vn,cj as Cn,aQ as je,an as ye,b1 as $n,et as In,eu as ra,ev as Zt,ew as Kt,ex as mi,di as Dn,b5 as Tn,cw as On,ey as Oi,a9 as da,ez as ei,eA as ti,eB as ca,cR as ua,bV as ji,eC as hi,dp as gi,eD as jn,bu as Ln,eE as Ai,eF as Sn,eG as kn,aA as zn,eH as Rn,eI as Vn,c as pa,eJ as ma,bM as An,eK as Ei,eL as ha,eM as ga,eN as fa,bK as st,av as En,au as Pn,dw as _n,w as ya,eO as Nn,bI as Un,d as Mn,ao as Bn,f as qn,aY as vi}from"./index-B3hQ50EY.js";import{a as w,P as Ot}from"./sentry-DQ_HstYV.js";import{n as l}from"./mui-DzE-7sTl.js";import{Gl as Wn,vc as Fn,bE as Et,bD as Pt,bF as Hn,b$ as Jn,lR as Gn,bh as Yn}from"./zeni-epic-state-B4gyGBI3.js";import{x as Pi}from"./LabeledControlledCheckBoxField-DNMqJzBC-CuRveHGl.js";import{R as Xn}from"./TrendWithTransactions-ULrBa2b0-CUXV5EUz.js";import{u as Zn,c as Kn,d as Qn,m as eo}from"./uploadAttachment-htF-2xC2-BpIX7dVX.js";import{o as to}from"./radio-default-CiSgisfh-Bxc-V1Pu.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./TrendChart-CWaL1-sD-CtjAjIjX.js";import"./chartTypes-BPQ65VEE-Cay7MVWd.js";import"./toCOABalancesWithID-CU-N01Ne-CsSiVXKO.js";import"./toChartData-BIERIIE--CUOhP7c-.js";import"./NoDataChart-Vz2Z_iIL-y0n0-Ndo.js";import"./InsightsSection-BdLDesVF-CpQJT4QH.js";import"./NavigationDots-C7DGhAsk-ZkX74p-H.js";import"./TransactionList-7sC4Vvux-C5k3jDlJ.js";import"./ConstrainedInnerElement-BeIpAPjB-C-KqGnDU.js";import"./BoxItem-C-VST523-Dpmj8AX-.js";import"./commonDimensions-DY0eA-Tl-DnpccLz6.js";import"./panelSelectedMixin-Cddsb26L-CcYFb3nR.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]="3d044be5-5aa0-4e3a-8442-9862c8be9cc3",e._sentryDebugIdIdentifier="sentry-dbid-3d044be5-5aa0-4e3a-8442-9862c8be9cc3")}catch{}})();const io={headerMarginTop:new U(j[7],j[8])},ao=l(ye)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,no=l(ye)`
4
4
  margin-right: ${n.sp1};
@@ -1,4 +1,4 @@
1
- import{cf as ft,J as R,V as e,b5 as ut,ac as h,di as xt,dj as ht,dd as pt,dk as gt,o as a,p as _,cw as bt,b as y,x as X,L as wt,an as v,u as g,ak as $t,dl as yt,dm as Z,d4 as G,aQ as tt,ao as vt}from"./index-Cq3X29cS.js";import{a as u,P as kt}from"./sentry-DQ_HstYV.js";import{n,c as jt}from"./mui-DzE-7sTl.js";import{a as Lt}from"./ConstrainedInnerElement-BeIpAPjB-yhWFdRSc.js";import{FR as A,FS as J,FT as U,FU as Y,bh as Yt,Ga as et,bE as it}from"./zeni-epic-state-B4gyGBI3.js";import{g as at}from"./BoxItem-C-VST523-DMPXmLe8.js";import{t as Mt}from"./panelSelectedMixin-Cddsb26L-CcYFb3nR.js";import{o as B}from"./commonDimensions-DY0eA-Tl-D8wklKVF.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="81ae199b-2410-4d94-87ec-0f8612ca7a3d",t._sentryDebugIdIdentifier="sentry-dbid-81ae199b-2410-4d94-87ec-0f8612ca7a3d")}catch{}})();const D=t=>t?24:125,Pt={containerPaddingBottom:new X(g[9],g[8])},q=n.div`
1
+ import{cf as ft,J as R,V as e,b5 as ut,ac as h,di as xt,dj as ht,dd as pt,dk as gt,o as a,p as _,cw as bt,b as y,x as X,L as wt,an as v,u as g,ak as $t,dl as yt,dm as Z,d4 as G,aQ as tt,ao as vt}from"./index-B3hQ50EY.js";import{a as u,P as kt}from"./sentry-DQ_HstYV.js";import{n,c as jt}from"./mui-DzE-7sTl.js";import{a as Lt}from"./ConstrainedInnerElement-BeIpAPjB-C-KqGnDU.js";import{FR as A,FS as J,FT as U,FU as Y,bh as Yt,Ga as et,bE as it}from"./zeni-epic-state-B4gyGBI3.js";import{g as at}from"./BoxItem-C-VST523-Dpmj8AX-.js";import{t as Mt}from"./panelSelectedMixin-Cddsb26L-CcYFb3nR.js";import{o as B}from"./commonDimensions-DY0eA-Tl-DnpccLz6.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="81ae199b-2410-4d94-87ec-0f8612ca7a3d",t._sentryDebugIdIdentifier="sentry-dbid-81ae199b-2410-4d94-87ec-0f8612ca7a3d")}catch{}})();const D=t=>t?24:125,Pt={containerPaddingBottom:new X(g[9],g[8])},q=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{x as a,J as R,ay as V,aH as ie,a_ as ne,V as t,b5 as re,ac as w,u as n,w as ae,p as A,o,c as j,M as ee,b as $,bs as se,bt as le,ak as de,as as ce,aQ as me,bu as pe,aq as he,L as ue,K as G,bv as te,a as q,aV as oe}from"./index-Cq3X29cS.js";import{a as T,P as C}from"./sentry-DQ_HstYV.js";import{n as i,c as ge}from"./mui-DzE-7sTl.js";import{Fx as xe,bg as we,bC as O}from"./zeni-epic-state-B4gyGBI3.js";import{G as $e,c as be}from"./AccountsPromoCardStack-CB2gPVUw-D3B_FWzu.js";import{a as ye}from"./ConstrainedInnerElement-BeIpAPjB-yhWFdRSc.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./SummaryCard-BLqrfWMN-BoOQqfaJ.js";import"./ReloadCard-DrAfrMOy-Dp01MRiJ.js";import"./NavigationArrow-CqK2Gxhj-JoTM067o.js";import"./NavigationDots-C7DGhAsk-BigsWf2H.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]="b7641f09-5558-4b14-892a-24feabaeff21",e._sentryDebugIdIdentifier="sentry-dbid-b7641f09-5558-4b14-892a-24feabaeff21")}catch{}})();const fe={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
1
+ import{x as a,J as R,ay as V,aH as ie,a_ as ne,V as t,b5 as re,ac as w,u as n,w as ae,p as A,o,c as j,M as ee,b as $,bs as se,bt as le,ak as de,as as ce,aQ as me,bu as pe,aq as he,L as ue,K as G,bv as te,a as q,aV as oe}from"./index-B3hQ50EY.js";import{a as T,P as C}from"./sentry-DQ_HstYV.js";import{n as i,c as ge}from"./mui-DzE-7sTl.js";import{Fx as xe,bg as we,bC as O}from"./zeni-epic-state-B4gyGBI3.js";import{G as $e,c as be}from"./AccountsPromoCardStack-CB2gPVUw-C_-RQv2p.js";import{a as ye}from"./ConstrainedInnerElement-BeIpAPjB-C-KqGnDU.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./SummaryCard-BLqrfWMN-B7lRCfHv.js";import"./ReloadCard-DrAfrMOy-DF5vomen.js";import"./NavigationArrow-CqK2Gxhj-ChCXbTpI.js";import"./NavigationDots-C7DGhAsk-ZkX74p-H.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]="b7641f09-5558-4b14-892a-24feabaeff21",e._sentryDebugIdIdentifier="sentry-dbid-b7641f09-5558-4b14-892a-24feabaeff21")}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{y as M,bB as R,bC as q,V as t,bD as J,L as U,ac as h,bE as X,o as s,an as G}from"./index-Cq3X29cS.js";import{a as r,n as H}from"./sentry-DQ_HstYV.js";import{n as l}from"./mui-DzE-7sTl.js";import{T as K}from"./TransactionList-7sC4Vvux-BdQNJsG3.js";import{t as Q}from"./page-detail-CWX5S47F-CU2PSbaV.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./ConstrainedInnerElement-BeIpAPjB-yhWFdRSc.js";import"./BoxItem-C-VST523-DMPXmLe8.js";import"./commonDimensions-DY0eA-Tl-D8wklKVF.js";import"./panelSelectedMixin-Cddsb26L-CcYFb3nR.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]="ab35c912-fce2-4d4d-b8be-4be166047332",e._sentryDebugIdIdentifier="sentry-dbid-ab35c912-fce2-4d4d-b8be-4be166047332")}catch{}})();const W=l.div`
1
+ import{y as M,bB as R,bC as q,V as t,bD as J,L as U,ac as h,bE as X,o as s,an as G}from"./index-B3hQ50EY.js";import{a as r,n as H}from"./sentry-DQ_HstYV.js";import{n as l}from"./mui-DzE-7sTl.js";import{T as K}from"./TransactionList-7sC4Vvux-C5k3jDlJ.js";import{t as Q}from"./page-detail-CWX5S47F-CU2PSbaV.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./ConstrainedInnerElement-BeIpAPjB-C-KqGnDU.js";import"./BoxItem-C-VST523-Dpmj8AX-.js";import"./commonDimensions-DY0eA-Tl-DnpccLz6.js";import"./panelSelectedMixin-Cddsb26L-CcYFb3nR.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]="ab35c912-fce2-4d4d-b8be-4be166047332",e._sentryDebugIdIdentifier="sentry-dbid-ab35c912-fce2-4d4d-b8be-4be166047332")}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 H,b as k,V as o,L as R,ac as L,aT as W,o as a,x as g,d as _,c as U,d6 as J,aa as G,cI as K,ae as Q,u as r,ho as B,hp as F,hq as M,y as X,cN as Y,gU as z,hr as Z,b9 as ee,hv as oe,hw as te}from"./index-Cq3X29cS.js";import{a as I}from"./sentry-DQ_HstYV.js";import{n as c}from"./mui-DzE-7sTl.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="37534dc6-ecfd-43de-933f-58e3545dfda2",e._sentryDebugIdIdentifier="sentry-dbid-37534dc6-ecfd-43de-933f-58e3545dfda2")}catch{}})();const D=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:x})=>{const i=H(),y=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=s=>h.filter(O=>O.accountId===s)[0]?.coaId??"",l=s=>C.filter(O=>O.classId===s)[0]?.accountingClassNumber??"",b=s=>{const O=h.find(q=>q.accountId===s)?.accountName;return[oe,te].includes(O??"")};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:D(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:F(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:b,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:B(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:M(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
1
+ import{J as H,b as k,V as o,L as R,ac as L,aT as W,o as a,x as g,d as _,c as U,d6 as J,aa as G,cI as K,ae as Q,u as r,ho as B,hp as F,hq as M,y as X,cN as Y,gU as z,hr as Z,b9 as ee,hv as oe,hw as te}from"./index-B3hQ50EY.js";import{a as I}from"./sentry-DQ_HstYV.js";import{n as c}from"./mui-DzE-7sTl.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="37534dc6-ecfd-43de-933f-58e3545dfda2",e._sentryDebugIdIdentifier="sentry-dbid-37534dc6-ecfd-43de-933f-58e3545dfda2")}catch{}})();const D=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:x})=>{const i=H(),y=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=s=>h.filter(O=>O.accountId===s)[0]?.coaId??"",l=s=>C.filter(O=>O.classId===s)[0]?.accountingClassNumber??"",b=s=>{const O=h.find(q=>q.accountId===s)?.accountName;return[oe,te].includes(O??"")};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:D(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:F(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:b,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:B(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:M(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{V as t,J as ue,ac as A,hE as lt,aQ as J,a as ve,hN as ct,L as Ne,aT as $e,o as a,b as E,x as c,d as Ye,h as dt,bb as ut,as as ft,e as be,ak as De,an as fe,aS as ce,fF as pt,aa as Xe,cI as mt,a_ as ht,aR as gt,p as H,ae as qe,fJ as ke,fK as Ae,gh as wt,bV as ye,gb as xt,hO as $t,u as o,ft as bt,ck as Je,c2 as Dt,f5 as yt,bM as Tt,ao as Ue,fW as Ct,dw as St,c4 as He,h4 as vt,h5 as kt}from"./index-Cq3X29cS.js";import{a as u}from"./sentry-DQ_HstYV.js";import{n}from"./mui-DzE-7sTl.js";import{bL as At}from"./zeni-epic-state-B4gyGBI3.js";import{v as Pt}from"./ZeniTransferAmountSlider-yfG_RSE5-Chw30zZt.js";import{r as Lt}from"./AccountInfoPageContent-DeptuP1q-CsYE_k70.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./downloadPdf-3uDsBfRK-CGEKdVDQ.js";import"./commonDimensions-DY0eA-Tl-D8wklKVF.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]="fe67b2dd-c261-4dc6-8e9d-a4739a619178",e._sentryDebugIdIdentifier="sentry-dbid-fe67b2dd-c261-4dc6-8e9d-a4739a619178")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ke="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Qe="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:Q,onReviewClick:G}){const i=ue(),R=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Z=r.transferMoneyPartiesFetchState,oe=ce(Z),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Ze=u.useCallback(s=>{O?.(s),I(),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:Ze,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(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)&&Q?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Z==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Z,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};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:[W?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Vt,{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:H.heroLight}})})]})}):null,t.jsx(Nt,{children:J("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ge(Qe),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,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(Jt,{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(Ut,{windowSize:i,children:[t.jsx(Qt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Ht,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${J("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} ${J("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(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,ac as A,hE as lt,aQ as J,a as ve,hN as ct,L as Ne,aT as $e,o as a,b as E,x as c,d as Ye,h as dt,bb as ut,as as ft,e as be,ak as De,an as fe,aS as ce,fF as pt,aa as Xe,cI as mt,a_ as ht,aR as gt,p as H,ae as qe,fJ as ke,fK as Ae,gh as wt,bV as ye,gb as xt,hO as $t,u as o,ft as bt,ck as Je,c2 as Dt,f5 as yt,bM as Tt,ao as Ue,fW as Ct,dw as St,c4 as He,h4 as vt,h5 as kt}from"./index-B3hQ50EY.js";import{a as u}from"./sentry-DQ_HstYV.js";import{n}from"./mui-DzE-7sTl.js";import{bL as At}from"./zeni-epic-state-B4gyGBI3.js";import{v as Pt}from"./ZeniTransferAmountSlider-yfG_RSE5-C_ktMTOg.js";import{r as Lt}from"./AccountInfoPageContent-DeptuP1q-CXFDiEu_.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./downloadPdf-3uDsBfRK-DRCC0Q19.js";import"./commonDimensions-DY0eA-Tl-DnpccLz6.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]="fe67b2dd-c261-4dc6-8e9d-a4739a619178",e._sentryDebugIdIdentifier="sentry-dbid-fe67b2dd-c261-4dc6-8e9d-a4739a619178")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ke="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Qe="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:Q,onReviewClick:G}){const i=ue(),R=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Z=r.transferMoneyPartiesFetchState,oe=ce(Z),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Ze=u.useCallback(s=>{O?.(s),I(),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:Ze,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(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)&&Q?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Z==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Z,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};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:[W?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Vt,{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:H.heroLight}})})]})}):null,t.jsx(Nt,{children:J("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ge(Qe),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,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(Jt,{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(Ut,{windowSize:i,children:[t.jsx(Qt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Ht,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${J("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} ${J("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(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,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w as ie,ac as W,L as We,o as i,ak as k,b as L,p as w,bM as Ee,x as y,fm as X,c as B,u as p,b6 as ne,bQ as Le,aV as Me,ay as Ge,fZ as _e,hb as Ue,a as Je,an as O,b1 as Xe,jz as Qe,kb as qe,bi as Ze,eS as et,db as tt,fW as it,l8 as ot,j8 as Oe,j9 as Ae,cw as rt,i$ as at,j0 as nt,l9 as st,km as lt,ao as E,bT as dt,cC as le,j7 as ct,cF as ht}from"./index-Cq3X29cS.js";import{a as f,P as pt}from"./sentry-DQ_HstYV.js";import{n as o,c as de}from"./mui-DzE-7sTl.js";import{bL as G,c4 as xt}from"./zeni-epic-state-B4gyGBI3.js";import{s as gt}from"./commonDimensions-DY0eA-Tl-D8wklKVF.js";import{g as ce}from"./BoxItem-C-VST523-DMPXmLe8.js";import{o as mt}from"./shield-DOlUxcFf-B21f1_cN.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-CiLmNGsl.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="be66c023-aba2-4f01-8f6f-c01a30185465",e._sentryDebugIdIdentifier="sentry-dbid-be66c023-aba2-4f01-8f6f-c01a30185465")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Oe,Ae),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
1
+ import{J as C,y as M,a9 as Fe,cf as Ke,V as t,aQ as V,bV as ae,bE as Ve,w as ie,ac as W,L as We,o as i,ak as k,b as L,p as w,bM as Ee,x as y,fm as X,c as B,u as p,b6 as ne,bQ as Le,aV as Me,ay as Ge,fZ as _e,hb as Ue,a as Je,an as O,b1 as Xe,jz as Qe,kb as qe,bi as Ze,eS as et,db as tt,fW as it,l8 as ot,j8 as Oe,j9 as Ae,cw as rt,i$ as at,j0 as nt,l9 as st,km as lt,ao as E,bT as dt,cC as le,j7 as ct,cF as ht}from"./index-B3hQ50EY.js";import{a as f,P as pt}from"./sentry-DQ_HstYV.js";import{n as o,c as de}from"./mui-DzE-7sTl.js";import{bL as G,c4 as xt}from"./zeni-epic-state-B4gyGBI3.js";import{s as gt}from"./commonDimensions-DY0eA-Tl-DnpccLz6.js";import{g as ce}from"./BoxItem-C-VST523-Dpmj8AX-.js";import{o as mt}from"./shield-DOlUxcFf-B21f1_cN.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-CiLmNGsl.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="be66c023-aba2-4f01-8f6f-c01a30185465",e._sentryDebugIdIdentifier="sentry-dbid-be66c023-aba2-4f01-8f6f-c01a30185465")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Oe,Ae),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{y as ce,J as V,ay as $e,a9 as fe,aS as ye,V as r,bE as be,fy as ke,b6 as je,o as t,jz as Se,bV as ze,ak as k,a as Q,ac as Z,b as O,c as $,as as A,p as a,x as z,an as H,db as ve,bX as Le,h as Pe,ao as Me,fg as Be,u as h,dQ as Ee,bh as Te,e as Ie,d as De,w as ee,d6 as _e}from"./index-Cq3X29cS.js";import{a as s,P as We}from"./sentry-DQ_HstYV.js";import{n as i}from"./mui-DzE-7sTl.js";import{Hp as He}from"./zeni-epic-state-B4gyGBI3.js";import{I as Re,N as Ne}from"./VideoPlayer-BgWCDJp3-CbPNc--2.js";import{r as Ge}from"./auto-transfer-rule-mbafm5D3-DEP8Cseu.js";import{o as Ve}from"./shield-DOlUxcFf-B21f1_cN.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="864e995b-8c03-491a-b6f4-05f4a03601a7",e._sentryDebugIdIdentifier="sentry-dbid-864e995b-8c03-491a-b6f4-05f4a03601a7")}catch{}})();const Oe=({isOpen:e,onClose:g})=>{const d=V(),C=O.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(Ae,{windowSize:d,children:[r.jsx(Fe,{children:r.jsx(Ue,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ye,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(N,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(N,{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(Qe,{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(N,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Ae=i.div`
1
+ import{y as ce,J as V,ay as $e,a9 as fe,aS as ye,V as r,bE as be,fy as ke,b6 as je,o as t,jz as Se,bV as ze,ak as k,a as Q,ac as Z,b as O,c as $,as as A,p as a,x as z,an as H,db as ve,bX as Le,h as Pe,ao as Me,fg as Be,u as h,dQ as Ee,bh as Te,e as Ie,d as De,w as ee,d6 as _e}from"./index-B3hQ50EY.js";import{a as s,P as We}from"./sentry-DQ_HstYV.js";import{n as i}from"./mui-DzE-7sTl.js";import{Hp as He}from"./zeni-epic-state-B4gyGBI3.js";import{I as Re,N as Ne}from"./VideoPlayer-BgWCDJp3-BDiNl4C5.js";import{r as Ge}from"./auto-transfer-rule-mbafm5D3-DEP8Cseu.js";import{o as Ve}from"./shield-DOlUxcFf-B21f1_cN.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="864e995b-8c03-491a-b6f4-05f4a03601a7",e._sentryDebugIdIdentifier="sentry-dbid-864e995b-8c03-491a-b6f4-05f4a03601a7")}catch{}})();const Oe=({isOpen:e,onClose:g})=>{const d=V(),C=O.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(Ae,{windowSize:d,children:[r.jsx(Fe,{children:r.jsx(Ue,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ye,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(N,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(N,{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(Qe,{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(N,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Ae=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{y as S,J as j,V as t,bE as I,b5 as z,o as r,b as C,p as m,cw as E,x as P,u as p,an as T}from"./index-Cq3X29cS.js";import{a as h}from"./sentry-DQ_HstYV.js";import{n as o}from"./mui-DzE-7sTl.js";import{$ as D}from"./BoxItem-C-VST523-DMPXmLe8.js";import{o as M}from"./commonDimensions-DY0eA-Tl-D8wklKVF.js";import{M as B}from"./StatementItem-DWaejUx_-C8v9F3EQ.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./downloadPdf-3uDsBfRK-CGEKdVDQ.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]="003535e0-5306-4bce-a7d8-d321eef807a7",e._sentryDebugIdIdentifier="sentry-dbid-003535e0-5306-4bce-a7d8-d321eef807a7")}catch{}})();const b=C.getLocalizedStrings().spendManagement.treasury.statements,w={listItemMargin:new P(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:a,onBackClick:f})=>{const g=S(),i=j(),x=h.createRef(),y=h.useRef(),k=a.statements.length===0,$=()=>M.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=a.statements[s];return k===!1?t.jsx(u,{windowSize:i,style:{...l,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:D(s,a.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(u,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:f,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height: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``,u=o.div`
1
+ import{y as S,J as j,V as t,bE as I,b5 as z,o as r,b as C,p as m,cw as E,x as P,u as p,an as T}from"./index-B3hQ50EY.js";import{a as h}from"./sentry-DQ_HstYV.js";import{n as o}from"./mui-DzE-7sTl.js";import{$ as D}from"./BoxItem-C-VST523-Dpmj8AX-.js";import{o as M}from"./commonDimensions-DY0eA-Tl-DnpccLz6.js";import{M as B}from"./StatementItem-DWaejUx_-6KabBr7v.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./downloadPdf-3uDsBfRK-DRCC0Q19.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]="003535e0-5306-4bce-a7d8-d321eef807a7",e._sentryDebugIdIdentifier="sentry-dbid-003535e0-5306-4bce-a7d8-d321eef807a7")}catch{}})();const b=C.getLocalizedStrings().spendManagement.treasury.statements,w={listItemMargin:new P(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:a,onBackClick:f})=>{const g=S(),i=j(),x=h.createRef(),y=h.useRef(),k=a.statements.length===0,$=()=>M.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=a.statements[s];return k===!1?t.jsx(u,{windowSize:i,style:{...l,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:D(s,a.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(u,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:f,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height: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``,u=o.div`
2
2
  margin: ${e=>`${r.sp0} ${w.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{y as j,J as S,V as t,bE as L,b5 as I,o as r,b as z,p,cw as T,x as C,u as h,an as E}from"./index-Cq3X29cS.js";import{a as m}from"./sentry-DQ_HstYV.js";import{n as o}from"./mui-DzE-7sTl.js";import{$ as P}from"./BoxItem-C-VST523-DMPXmLe8.js";import{o as D}from"./commonDimensions-DY0eA-Tl-D8wklKVF.js";import{M}from"./StatementItem-DWaejUx_-C8v9F3EQ.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./downloadPdf-3uDsBfRK-CGEKdVDQ.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]="f87aac59-2137-422f-af89-cf14b414eb53",e._sentryDebugIdIdentifier="sentry-dbid-f87aac59-2137-422f-af89-cf14b414eb53")}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:w})=>{const u=j(),i=S(),g=m.createRef(),y=m.useRef(),$=n.taxLetters.length===0,k=()=>D.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return $===!1?t.jsx(x,{windowSize:i,style:{...l,width:`calc(100% - 2*${f.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:P(s,n.taxLetters.length)},d.id)}):t.jsx(B,{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:u.colors.grey4,style:{zIndex:3},onBackClick:w,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:k,initialScrollOffset:0,children:v})})})]})},B=o.div``,x=o.div`
1
+ import{y as j,J as S,V as t,bE as L,b5 as I,o as r,b as z,p,cw as T,x as C,u as h,an as E}from"./index-B3hQ50EY.js";import{a as m}from"./sentry-DQ_HstYV.js";import{n as o}from"./mui-DzE-7sTl.js";import{$ as P}from"./BoxItem-C-VST523-Dpmj8AX-.js";import{o as D}from"./commonDimensions-DY0eA-Tl-DnpccLz6.js";import{M}from"./StatementItem-DWaejUx_-6KabBr7v.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./downloadPdf-3uDsBfRK-DRCC0Q19.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]="f87aac59-2137-422f-af89-cf14b414eb53",e._sentryDebugIdIdentifier="sentry-dbid-f87aac59-2137-422f-af89-cf14b414eb53")}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:w})=>{const u=j(),i=S(),g=m.createRef(),y=m.useRef(),$=n.taxLetters.length===0,k=()=>D.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return $===!1?t.jsx(x,{windowSize:i,style:{...l,width:`calc(100% - 2*${f.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:P(s,n.taxLetters.length)},d.id)}):t.jsx(B,{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:u.colors.grey4,style:{zIndex:3},onBackClick:w,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:k,initialScrollOffset:0,children:v})})})]})},B=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{b as $,V as n,y as _,b5 as F,w as j,a_ as A,ac as Y,o as L,p as I,an as O}from"./index-Cq3X29cS.js";import{a as v,P as R}from"./sentry-DQ_HstYV.js";import{FU as m}from"./zeni-epic-state-B4gyGBI3.js";import{d as z,g as T,p as D,u as B}from"./chartTypes-BPQ65VEE-6yZpeJsO.js";import{n as k}from"./mui-DzE-7sTl.js";import{o as q}from"./toCOABalancesWithID-CU-N01Ne-BfeZ-0De.js";import{V as K}from"./toChartData-BIERIIE--CxJg6nKe.js";import{H as V,I as G,X as N,Y as W,J as X,R as H,K as J}from"./recharts-CiLmNGsl.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="4e926889-9e25-4528-92d6-004e99a5879f",e._sentryDebugIdIdentifier="sentry-dbid-4e926889-9e25-4528-92d6-004e99a5879f")}catch{}})();const Q=k.div`
1
+ import{b as $,V as n,y as _,b5 as F,w as j,a_ as A,ac as Y,o as L,p as I,an as O}from"./index-B3hQ50EY.js";import{a as v,P as R}from"./sentry-DQ_HstYV.js";import{FU as m}from"./zeni-epic-state-B4gyGBI3.js";import{d as z,g as T,p as D,u as B}from"./chartTypes-BPQ65VEE-Cay7MVWd.js";import{n as k}from"./mui-DzE-7sTl.js";import{o as q}from"./toCOABalancesWithID-CU-N01Ne-CsSiVXKO.js";import{V as K}from"./toChartData-BIERIIE--CUOhP7c-.js";import{H as V,I as G,X as N,Y as W,J as X,R as H,K as J}from"./recharts-CiLmNGsl.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="4e926889-9e25-4528-92d6-004e99a5879f",e._sentryDebugIdIdentifier="sentry-dbid-4e926889-9e25-4528-92d6-004e99a5879f")}catch{}})();const Q=k.div`
2
2
  display: flex;
3
3
  `,U=k.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{J as H,V as i,L as z,o as r,b as F,b5 as E,ac as T,x as c,b9 as I,e as V,u as a,an as A,d as q}from"./index-Cq3X29cS.js";import{a as k}from"./sentry-DQ_HstYV.js";import{n}from"./mui-DzE-7sTl.js";import K from"./TrendChart-CWaL1-sD-jHXMg1Jt.js";import{C as W}from"./NoDataChart-Vz2Z_iIL-BHz7pPoV.js";import{F as J}from"./InsightsSection-BdLDesVF-oVNFlqx0.js";import{T as Q}from"./TransactionList-7sC4Vvux-BdQNJsG3.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]="31fa5a5b-a587-4a9a-ad46-38c36e896af4",e._sentryDebugIdIdentifier="sentry-dbid-31fa5a5b-a587-4a9a-ad46-38c36e896af4")}catch{}})();const Z=n.div`
1
+ import{J as H,V as i,L as z,o as r,b as F,b5 as E,ac as T,x as c,b9 as I,e as V,u as a,an as A,d as q}from"./index-B3hQ50EY.js";import{a as k}from"./sentry-DQ_HstYV.js";import{n}from"./mui-DzE-7sTl.js";import K from"./TrendChart-CWaL1-sD-CtjAjIjX.js";import{C as W}from"./NoDataChart-Vz2Z_iIL-y0n0-Ndo.js";import{F as J}from"./InsightsSection-BdLDesVF-CpQJT4QH.js";import{T as Q}from"./TransactionList-7sC4Vvux-C5k3jDlJ.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]="31fa5a5b-a587-4a9a-ad46-38c36e896af4",e._sentryDebugIdIdentifier="sentry-dbid-31fa5a5b-a587-4a9a-ad46-38c36e896af4")}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{y as ie,J as ce,ay as Ye,aS as en,gO as I,hZ as U,aa as nn,h_ as tn,h$ as je,cI as on,V as t,bE as cn,cs as sn,ct as an,cu as ln,ae as dn,i0 as rn,L as un,aT as pn,fC as mn,b as H,i1 as _e,x as u,an as gn,o as a,cM as fe,aX as W,gU as te,i2 as oe,i3 as Z,i4 as xn,u as r,c as ye,p as Ae,ga as Ve,ak as $e,bk as hn}from"./index-Cq3X29cS.js";import{a as K}from"./sentry-DQ_HstYV.js";import{n as s}from"./mui-DzE-7sTl.js";import{GL as Te,Gp as bn,Gq as wn,GM as fn}from"./zeni-epic-state-B4gyGBI3.js";import{h as yn}from"./VendorsAccountsSection-BPuqPLC8-CD6vaKdE.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="c796a36c-0c78-4a8c-9fd8-e9574ae40284",e._sentryDebugIdIdentifier="sentry-dbid-c796a36c-0c78-4a8c-9fd8-e9574ae40284")}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])},qe={title:new ye("standardMedium","largeMedium")},An=s.div`
1
+ import{y as ie,J as ce,ay as Ye,aS as en,gO as I,hZ as U,aa as nn,h_ as tn,h$ as je,cI as on,V as t,bE as cn,cs as sn,ct as an,cu as ln,ae as dn,i0 as rn,L as un,aT as pn,fC as mn,b as H,i1 as _e,x as u,an as gn,o as a,cM as fe,aX as W,gU as te,i2 as oe,i3 as Z,i4 as xn,u as r,c as ye,p as Ae,ga as Ve,ak as $e,bk as hn}from"./index-B3hQ50EY.js";import{a as K}from"./sentry-DQ_HstYV.js";import{n as s}from"./mui-DzE-7sTl.js";import{GL as Te,Gp as bn,Gq as wn,GM as fn}from"./zeni-epic-state-B4gyGBI3.js";import{h as yn}from"./VendorsAccountsSection-BPuqPLC8-CIyz6AOI.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="c796a36c-0c78-4a8c-9fd8-e9574ae40284",e._sentryDebugIdIdentifier="sentry-dbid-c796a36c-0c78-4a8c-9fd8-e9574ae40284")}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])},qe={title:new ye("standardMedium","largeMedium")},An=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aS as b,V as t,i6 as _,i7 as W,J as T,b as O,cs as L,ag as C,ct as U,cu as N,aa as R,ae as J,cU as M,cP as D,x as g,cQ as G,p as z,aq as H,L as Q,a as K,o as i,an as X,u as F,as as Y,bc as Z}from"./index-Cq3X29cS.js";import{a as l}from"./sentry-DQ_HstYV.js";import{n as p}from"./mui-DzE-7sTl.js";import{bL as ee,bh as te}from"./zeni-epic-state-B4gyGBI3.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="f3c71d54-2f5d-4872-aa92-187121773b56",e._sentryDebugIdIdentifier="sentry-dbid-f3c71d54-2f5d-4872-aa92-187121773b56")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(F[3],F[2]),width:new g(300,420,420)},ie=p.div`
1
+ import{aS as b,V as t,i6 as _,i7 as W,J as T,b as O,cs as L,ag as C,ct as U,cu as N,aa as R,ae as J,cU as M,cP as D,x as g,cQ as G,p as z,aq as H,L as Q,a as K,o as i,an as X,u as F,as as Y,bc as Z}from"./index-B3hQ50EY.js";import{a as l}from"./sentry-DQ_HstYV.js";import{n as p}from"./mui-DzE-7sTl.js";import{bL as ee,bh as te}from"./zeni-epic-state-B4gyGBI3.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="f3c71d54-2f5d-4872-aa92-187121773b56",e._sentryDebugIdIdentifier="sentry-dbid-f3c71d54-2f5d-4872-aa92-187121773b56")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(F[3],F[2]),width:new g(300,420,420)},ie=p.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{aa as k,fD as b,aS as M,J as R,b as A,cI as W,V as i,ae as q,ac as J,fE as K,o as a,p as G,cV as H,aT as Q,x,d as X,e as Y,bc as Z,bb as ee,u as c}from"./index-Cq3X29cS.js";import{a as f}from"./sentry-DQ_HstYV.js";import{n as o}from"./mui-DzE-7sTl.js";import{Fy as te}from"./zeni-epic-state-B4gyGBI3.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]="e9c1b7d6-663f-4911-809a-9327c7a395bb",e._sentryDebugIdIdentifier="sentry-dbid-e9c1b7d6-663f-4911-809a-9327c7a395bb")}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:S,companyOfficer:t,updateStatus:p,onClose:$,onEditFileName:D,onDeleteFile:E,updateFilesEntity:P,onSendForVerificationClick:v,onCompanyOfficerUpdated:T}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,w]=f.useState(!1),[C,N]=f.useState(!1),j=M(p.fetchState),I=t?.deleteFileStatusById??{},O=t?.updateFileStatusById??{},V=Object.values(I??{}).filter(l=>l!=null),B=te(V);f.useEffect(()=>{j==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[j,p,n,t?.additionalFiles]);const r=R(),y=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,_=n.handleSubmit(()=>{B.fetchState!=="In-Progress"&&v?.(t?.officerType??"Officer_1")}),U=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(T?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&W(()=>U(d,h))});return()=>{l.unsubscribe()}}),i.jsx(q,{...n,children:i.jsxs("form",{id:u,onSubmit:_,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":J("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(K,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.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:I,updateFileStatusById:O,filesEndPoint:m,authParams:S,hasError:C,onEditFileName:D,onDeleteFile:E,updateFilesEntity:P,onFileSizeError:l=>N(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?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:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
1
+ import{aa as k,fD as b,aS as M,J as R,b as A,cI as W,V as i,ae as q,ac as J,fE as K,o as a,p as G,cV as H,aT as Q,x,d as X,e as Y,bc as Z,bb as ee,u as c}from"./index-B3hQ50EY.js";import{a as f}from"./sentry-DQ_HstYV.js";import{n as o}from"./mui-DzE-7sTl.js";import{Fy as te}from"./zeni-epic-state-B4gyGBI3.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]="e9c1b7d6-663f-4911-809a-9327c7a395bb",e._sentryDebugIdIdentifier="sentry-dbid-e9c1b7d6-663f-4911-809a-9327c7a395bb")}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:S,companyOfficer:t,updateStatus:p,onClose:$,onEditFileName:D,onDeleteFile:E,updateFilesEntity:P,onSendForVerificationClick:v,onCompanyOfficerUpdated:T}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,w]=f.useState(!1),[C,N]=f.useState(!1),j=M(p.fetchState),I=t?.deleteFileStatusById??{},O=t?.updateFileStatusById??{},V=Object.values(I??{}).filter(l=>l!=null),B=te(V);f.useEffect(()=>{j==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[j,p,n,t?.additionalFiles]);const r=R(),y=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,_=n.handleSubmit(()=>{B.fetchState!=="In-Progress"&&v?.(t?.officerType??"Officer_1")}),U=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(T?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&W(()=>U(d,h))});return()=>{l.unsubscribe()}}),i.jsx(q,{...n,children:i.jsxs("form",{id:u,onSubmit:_,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":J("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(K,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.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:I,updateFileStatusById:O,filesEndPoint:m,authParams:S,hasError:C,onEditFileName:D,onDeleteFile:E,updateFilesEntity:P,onFileSizeError:l=>N(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?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:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{aS as i,b as w,V as r,i6 as x,i7 as v}from"./index-Cq3X29cS.js";import{a as s}from"./sentry-DQ_HstYV.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./mui-DzE-7sTl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="a09b6020-0ea7-4177-a7e3-a8b933001bb5",t._sentryDebugIdIdentifier="sentry-dbid-a09b6020-0ea7-4177-a7e3-a8b933001bb5")}catch{}})();const H=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:b,newVendorState:m}=t,f=Object.assign({},b??m),[V,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:V===!0?r.jsx(x,{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(v,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:I=>S?.(I)}}):null})};export{H as default};
1
+ import{aS as i,b as w,V as r,i6 as x,i7 as v}from"./index-B3hQ50EY.js";import{a as s}from"./sentry-DQ_HstYV.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./mui-DzE-7sTl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="a09b6020-0ea7-4177-a7e3-a8b933001bb5",t._sentryDebugIdIdentifier="sentry-dbid-a09b6020-0ea7-4177-a7e3-a8b933001bb5")}catch{}})();const H=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:b,newVendorState:m}=t,f=Object.assign({},b??m),[V,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:V===!0?r.jsx(x,{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(v,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:I=>S?.(I)}}):null})};export{H as default};
@@ -1 +1 @@
1
- import{V as p}from"./index-Cq3X29cS.js";import{a as m}from"./sentry-DQ_HstYV.js";import{f as u}from"./ACHDetailsPage-CXIFSMnN-Coq6wI87.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./mui-DzE-7sTl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./BankAccountWarningSection-Bqrm3j-y-DAe6VsjZ.js";import"./MagicLinkTitleSection-D5RIlimx-5X1vjx5k.js";import"./BankAccountSection-B51-Hpnt-BDzmY8Fy.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="cac0998b-3588-49ed-a2ef-f9999b2882ba",t._sentryDebugIdIdentifier="sentry-dbid-cac0998b-3588-49ed-a2ef-f9999b2882ba")}catch{}})();const I=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:d,bankAccountToCreate:c,fetchBankNameByRoutingStatus:f}=t;return m.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),p.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:d,fetchBankNameByRoutingStatus:f,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})};export{I as default};
1
+ import{V as p}from"./index-B3hQ50EY.js";import{a as m}from"./sentry-DQ_HstYV.js";import{f as u}from"./ACHDetailsPage-CXIFSMnN-rOa7ijtO.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./mui-DzE-7sTl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./BankAccountWarningSection-Bqrm3j-y-Bfp1n-_2.js";import"./MagicLinkTitleSection-D5RIlimx-BVAtTe_l.js";import"./BankAccountSection-B51-Hpnt-zQcAknrg.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="cac0998b-3588-49ed-a2ef-f9999b2882ba",t._sentryDebugIdIdentifier="sentry-dbid-cac0998b-3588-49ed-a2ef-f9999b2882ba")}catch{}})();const I=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:d,bankAccountToCreate:c,fetchBankNameByRoutingStatus:f}=t;return m.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),p.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:d,fetchBankNameByRoutingStatus:f,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})};export{I as default};
@@ -1,4 +1,4 @@
1
- import{y as Ue,J as ae,x as u,aG as we,cL as ft,aa as wt,hk as Ce,hl as Ct,aX as $t,cI as St,V as t,bD as Dt,ae as Tt,hm as jt,hn as ye,u as l,cJ as Lt,aT as Vt,bE as kt,b as W,ho as Ee,hp as qe,hq as Qe,o,bR as S,cM as It,gU as $e,hr as Ot,cN as Pt,cO as Mt,cP as _t,hs as zt,gi as Ft,cW as Nt,ht as Wt,hu as Ht,p as N,b9 as Ye,ak as Ge,dw as Rt,b1 as Bt,hv as At,hw as Ut,an as Et,cp as qt,dv as Qt,d4 as Yt,a_ as pe,hx as Gt,ck as Je,hy as Jt,c as Se,M as Xe}from"./index-Cq3X29cS.js";import{a as $}from"./sentry-DQ_HstYV.js";import{n as a,c as Xt}from"./mui-DzE-7sTl.js";import{bi as De,GH as Kt,GI as Zt}from"./zeni-epic-state-B4gyGBI3.js";import{k as es}from"./SubTabSwitcher-UW2b0f3g-Dn63h3aS.js";import{T as ts}from"./TransactionList-7sC4Vvux-BdQNJsG3.js";import{R as ss}from"./TrendWithTransactions-ULrBa2b0-DV504Izy.js";import{o as os,t as as}from"./arrow-south-east-round-PEovUgvH-Cgw5LgRs.js";import{C as ns}from"./LabeledAddressValueField-B6IDZIGK-SXi-bQ86.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-BVtRyAo1-706o2HXB.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./ConstrainedInnerElement-BeIpAPjB-yhWFdRSc.js";import"./BoxItem-C-VST523-DMPXmLe8.js";import"./commonDimensions-DY0eA-Tl-D8wklKVF.js";import"./panelSelectedMixin-Cddsb26L-CcYFb3nR.js";import"./TrendChart-CWaL1-sD-jHXMg1Jt.js";import"./chartTypes-BPQ65VEE-6yZpeJsO.js";import"./toCOABalancesWithID-CU-N01Ne-BfeZ-0De.js";import"./toChartData-BIERIIE--CxJg6nKe.js";import"./NoDataChart-Vz2Z_iIL-BHz7pPoV.js";import"./InsightsSection-BdLDesVF-oVNFlqx0.js";import"./NavigationDots-C7DGhAsk-BigsWf2H.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]="08d56d5e-11f1-4214-87a3-20b147f041fa",e._sentryDebugIdIdentifier="sentry-dbid-08d56d5e-11f1-4214-87a3-20b147f041fa")}catch{}})();const is=a.div`
1
+ import{y as Ue,J as ae,x as u,aG as we,cL as ft,aa as wt,hk as Ce,hl as Ct,aX as $t,cI as St,V as t,bD as Dt,ae as Tt,hm as jt,hn as ye,u as l,cJ as Lt,aT as Vt,bE as kt,b as W,ho as Ee,hp as qe,hq as Qe,o,bR as S,cM as It,gU as $e,hr as Ot,cN as Pt,cO as Mt,cP as _t,hs as zt,gi as Ft,cW as Nt,ht as Wt,hu as Ht,p as N,b9 as Ye,ak as Ge,dw as Rt,b1 as Bt,hv as At,hw as Ut,an as Et,cp as qt,dv as Qt,d4 as Yt,a_ as pe,hx as Gt,ck as Je,hy as Jt,c as Se,M as Xe}from"./index-B3hQ50EY.js";import{a as $}from"./sentry-DQ_HstYV.js";import{n as a,c as Xt}from"./mui-DzE-7sTl.js";import{bi as De,GH as Kt,GI as Zt}from"./zeni-epic-state-B4gyGBI3.js";import{k as es}from"./SubTabSwitcher-UW2b0f3g-CNOF9M5r.js";import{T as ts}from"./TransactionList-7sC4Vvux-C5k3jDlJ.js";import{R as ss}from"./TrendWithTransactions-ULrBa2b0-CUXV5EUz.js";import{o as os,t as as}from"./arrow-south-east-round-PEovUgvH-Cgw5LgRs.js";import{C as ns}from"./LabeledAddressValueField-B6IDZIGK-63I3yM9l.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-BVtRyAo1-BmIAsd6l.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./ConstrainedInnerElement-BeIpAPjB-C-KqGnDU.js";import"./BoxItem-C-VST523-Dpmj8AX-.js";import"./commonDimensions-DY0eA-Tl-DnpccLz6.js";import"./panelSelectedMixin-Cddsb26L-CcYFb3nR.js";import"./TrendChart-CWaL1-sD-CtjAjIjX.js";import"./chartTypes-BPQ65VEE-Cay7MVWd.js";import"./toCOABalancesWithID-CU-N01Ne-CsSiVXKO.js";import"./toChartData-BIERIIE--CUOhP7c-.js";import"./NoDataChart-Vz2Z_iIL-y0n0-Ndo.js";import"./InsightsSection-BdLDesVF-CpQJT4QH.js";import"./NavigationDots-C7DGhAsk-ZkX74p-H.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]="08d56d5e-11f1-4214-87a3-20b147f041fa",e._sentryDebugIdIdentifier="sentry-dbid-08d56d5e-11f1-4214-87a3-20b147f041fa")}catch{}})();const is=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{V as l}from"./index-Cq3X29cS.js";import{a as k}from"./sentry-DQ_HstYV.js";import{D as y}from"./DomesticWireDetailsPage-2MqIFQbM-BGwsfDe-.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./mui-DzE-7sTl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./BankAccountSection-B51-Hpnt-BDzmY8Fy.js";import"./MagicLinkTitleSection-D5RIlimx-5X1vjx5k.js";import"./BankAccountWarningSection-Bqrm3j-y-DAe6VsjZ.js";import"./MailingDetailsSection-OYOVCPaq-B5APfdaG.js";import"./LabeledAddressValueField-B6IDZIGK-SXi-bQ86.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]="35620a8d-b4e0-4efb-9d03-0bc8491809d0",e._sentryDebugIdIdentifier="sentry-dbid-35620a8d-b4e0-4efb-9d03-0bc8491809d0")}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:u,bankAccountToCreate:b,fetchBankNameByRoutingStatus:f}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),l.jsx(y,{bankAccountToCreate:b,bankAccountCreationState:n,bankNameByRouting:u,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:f,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};
1
+ import{V as l}from"./index-B3hQ50EY.js";import{a as k}from"./sentry-DQ_HstYV.js";import{D as y}from"./DomesticWireDetailsPage-2MqIFQbM-Db5kbpdd.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./mui-DzE-7sTl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./BankAccountSection-B51-Hpnt-zQcAknrg.js";import"./MagicLinkTitleSection-D5RIlimx-BVAtTe_l.js";import"./BankAccountWarningSection-Bqrm3j-y-Bfp1n-_2.js";import"./MailingDetailsSection-OYOVCPaq-DqkyPuP0.js";import"./LabeledAddressValueField-B6IDZIGK-63I3yM9l.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]="35620a8d-b4e0-4efb-9d03-0bc8491809d0",e._sentryDebugIdIdentifier="sentry-dbid-35620a8d-b4e0-4efb-9d03-0bc8491809d0")}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:u,bankAccountToCreate:b,fetchBankNameByRoutingStatus:f}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),l.jsx(y,{bankAccountToCreate:b,bankAccountCreationState:n,bankNameByRouting:u,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:f,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};
@@ -1,4 +1,4 @@
1
- import{J as oe,y as ze,aa as Ae,cI as Be,x as w,V as t,bE as ke,ac as Ee,ae as Oe,cN as C,o as s,cS as Re,hs as We,gi as qe,cW as Me,ht as He,hu as Ke,cR as Ue,aT as _e,b as ne,f2 as U,hz as de,ey as Ge,f3 as Qe,u as c,d as Je,bR as L,cG as Ye,hA as Ze,p as F,n as Xe,ck as et,an as ce,eO as tt,hB as st,hC as lt,hD as M,f4 as it}from"./index-Cq3X29cS.js";import{a as x}from"./sentry-DQ_HstYV.js";import{n as a}from"./mui-DzE-7sTl.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-BVtRyAo1-706o2HXB.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="48ad5511-dc4e-47c7-acff-78e5316746d4",e._sentryDebugIdIdentifier="sentry-dbid-48ad5511-dc4e-47c7-acff-78e5316746d4")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(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:R}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,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:U(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(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
1
+ import{J as oe,y as ze,aa as Ae,cI as Be,x as w,V as t,bE as ke,ac as Ee,ae as Oe,cN as C,o as s,cS as Re,hs as We,gi as qe,cW as Me,ht as He,hu as Ke,cR as Ue,aT as _e,b as ne,f2 as U,hz as de,ey as Ge,f3 as Qe,u as c,d as Je,bR as L,cG as Ye,hA as Ze,p as F,n as Xe,ck as et,an as ce,eO as tt,hB as st,hC as lt,hD as M,f4 as it}from"./index-B3hQ50EY.js";import{a as x}from"./sentry-DQ_HstYV.js";import{n as a}from"./mui-DzE-7sTl.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-BVtRyAo1-BmIAsd6l.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./zeni-epic-state-B4gyGBI3.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="48ad5511-dc4e-47c7-acff-78e5316746d4",e._sentryDebugIdIdentifier="sentry-dbid-48ad5511-dc4e-47c7-acff-78e5316746d4")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(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:R}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,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:U(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(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{J as re,ay as On,y as mn,aa as ot,ii as Oe,cI as it,aA as In,ij as oe,ik as ge,il as we,im as ve,io as le,V as n,id as rt,ac as be,ae as st,bE as at,ab as lt,cs as dt,ct,cu as mt,bX as pt,bQ as ut,co as ht,b5 as gt,dr as wt,cw as vt,L as xt,b as ye,x as g,K as Ce,o as t,aW as Pn,an as Pe,aV as ft,u as m,ak as je,cC as bt,cp as Tn,bR as Ne,bj as zn,cF as St,c1 as yt,dI as jt,bc as Ye,bv as pn,p as E,g as Dn,ha as $t,dm as vn,d4 as rn,ip as sn,aq as Rt,bV as Ae,dS as Vt,eC as xn,bM as Ct,dx as kt,a as fn,cz as Mt,iq as Nt,ir as Ot,cM as It,ey as Pt,eH as Tt,eI as zt,ao as Ln,is as Dt,bK as ie,it as bn,gX as Lt,av as _t,au as At,dw as Bt,w as _n,c as Ft,f as Et,aY as dn}from"./index-Cq3X29cS.js";import{a as b}from"./sentry-DQ_HstYV.js";import{n as i,c as cn}from"./mui-DzE-7sTl.js";import{gu as Wt,GP as Ut}from"./zeni-epic-state-B4gyGBI3.js";import{r as qt}from"./core-CCdM5htn.js";import"./liveblocks-hPir54fv.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="6c56f61b-f3fa-4130-951e-1463e0bebf21",e._sentryDebugIdIdentifier="sentry-dbid-6c56f61b-f3fa-4130-951e-1463e0bebf21")}catch{}})();const An=({steps:e})=>{const s=re();return n.jsx(Ht,{windowSize:s,children:e.map((c,d)=>n.jsxs(Gt,{children:[n.jsx(Kt,{children:d!==e.length-1?d+1:n.jsx(Yt,{})}),n.jsx(Xt,{children:c}),d<e.length-1?n.jsx(Qt,{}):null]},`step_${d}`))})},Gt=i.div`
1
+ import{J as re,ay as On,y as mn,aa as ot,ii as Oe,cI as it,aA as In,ij as oe,ik as ge,il as we,im as ve,io as le,V as n,id as rt,ac as be,ae as st,bE as at,ab as lt,cs as dt,ct,cu as mt,bX as pt,bQ as ut,co as ht,b5 as gt,dr as wt,cw as vt,L as xt,b as ye,x as g,K as Ce,o as t,aW as Pn,an as Pe,aV as ft,u as m,ak as je,cC as bt,cp as Tn,bR as Ne,bj as zn,cF as St,c1 as yt,dI as jt,bc as Ye,bv as pn,p as E,g as Dn,ha as $t,dm as vn,d4 as rn,ip as sn,aq as Rt,bV as Ae,dS as Vt,eC as xn,bM as Ct,dx as kt,a as fn,cz as Mt,iq as Nt,ir as Ot,cM as It,ey as Pt,eH as Tt,eI as zt,ao as Ln,is as Dt,bK as ie,it as bn,gX as Lt,av as _t,au as At,dw as Bt,w as _n,c as Ft,f as Et,aY as dn}from"./index-B3hQ50EY.js";import{a as b}from"./sentry-DQ_HstYV.js";import{n as i,c as cn}from"./mui-DzE-7sTl.js";import{gu as Wt,GP as Ut}from"./zeni-epic-state-B4gyGBI3.js";import{r as qt}from"./core-CCdM5htn.js";import"./liveblocks-hPir54fv.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="6c56f61b-f3fa-4130-951e-1463e0bebf21",e._sentryDebugIdIdentifier="sentry-dbid-6c56f61b-f3fa-4130-951e-1463e0bebf21")}catch{}})();const An=({steps:e})=>{const s=re();return n.jsx(Ht,{windowSize:s,children:e.map((c,d)=>n.jsxs(Gt,{children:[n.jsx(Kt,{children:d!==e.length-1?d+1:n.jsx(Yt,{})}),n.jsx(Xt,{children:c}),d<e.length-1?n.jsx(Qt,{}):null]},`step_${d}`))})},Gt=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{V as t,J,aa as he,b as U,cI as ye,aG as ge,cs as be,ct as fe,cu as xe,ae as ve,aT as we,x as p,f2 as le,f3 as Ce,o as y,bb as $e,cM as oe,y as ne,f4 as De,f5 as Z,cR as G,b3 as H,cN as je,et as Te,u as a,ey as ke,ac as Se,p as V,c as Oe,L as Fe,bV as Le,ak as Ae,bM as Ie}from"./index-Cq3X29cS.js";import{a as P}from"./sentry-DQ_HstYV.js";import{n as g}from"./mui-DzE-7sTl.js";import{bi as K}from"./zeni-epic-state-B4gyGBI3.js";import{W as We,A as ze}from"./BankAccountWarningSection-Bqrm3j-y-DAe6VsjZ.js";import{T as Pe}from"./MailingDetailsSection-OYOVCPaq-B5APfdaG.js";import{S as Re}from"./CurrencySelectField-7to_rmTp-D1r0SB0Y.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./LabeledAddressValueField-B6IDZIGK-SXi-bQ86.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]="852fa354-e146-4213-a815-7cce2df0177e",e._sentryDebugIdIdentifier="sentry-dbid-852fa354-e146-4213-a815-7cce2df0177e")}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(Le,{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(Re,{...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,aa as he,b as U,cI as ye,aG as ge,cs as be,ct as fe,cu as xe,ae as ve,aT as we,x as p,f2 as le,f3 as Ce,o as y,bb as $e,cM as oe,y as ne,f4 as De,f5 as Z,cR as G,b3 as H,cN as je,et as Te,u as a,ey as ke,ac as Se,p as V,c as Oe,L as Fe,bV as Le,ak as Ae,bM as Ie}from"./index-B3hQ50EY.js";import{a as P}from"./sentry-DQ_HstYV.js";import{n as g}from"./mui-DzE-7sTl.js";import{bi as K}from"./zeni-epic-state-B4gyGBI3.js";import{W as We,A as ze}from"./BankAccountWarningSection-Bqrm3j-y-Bfp1n-_2.js";import{T as Pe}from"./MailingDetailsSection-OYOVCPaq-DqkyPuP0.js";import{S as Re}from"./CurrencySelectField-7to_rmTp-BXuKlnEM.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./LabeledAddressValueField-B6IDZIGK-63I3yM9l.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]="852fa354-e146-4213-a815-7cce2df0177e",e._sentryDebugIdIdentifier="sentry-dbid-852fa354-e146-4213-a815-7cce2df0177e")}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(Le,{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(Re,{...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;