@zeniai/web-app-ui 4.14.39-dev → 4.14.39-next

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 (347) hide show
  1. package/dist/assets/{ACHDetailsPage-B5qIuZya-Dqn8ZaVl.js → ACHDetailsPage-B5qIuZya-BboaJ5Zr.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BHB45mP--CWtWN8JR.js → AIPerformancePage-BHB45mP--DuYh96Lo.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-Cd5xYT1g-BylH1aam.js → AccountInfoPage-Cd5xYT1g-BzT4bUfo.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-CJ7ycVIK-3aE5KJwU.js → AccountInfoPageContent-CJ7ycVIK-NsaXNkYE.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-Dox7IuAX-C5qPLBPz.js → AccountLockedInfoModal-Dox7IuAX-MWfg9fM9.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Bqty08m0-Dbr-jmu7.js → AccountReconDetailsDrawerPage-Bqty08m0-3OHzMw1v.js} +1 -1
  7. package/dist/assets/{AccountRow-D1cjRJJD-Dsnq1o4t.js → AccountRow-D1cjRJJD-DCTz53Y7.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Bs3naJHM-DvbUMPbJ.js → AccountsPromoCardStack-Bs3naJHM-bNpxpQEx.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-DZkBMJfp-DwU9s4jD.js → AddAddressForCardDrawer-DZkBMJfp-BGCGfzy4.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CyRfqVDB-DtRghMSs.js → AddToWalletPage-CyRfqVDB-BaYfr9Ht.js} +1 -1
  11. package/dist/assets/{AddressRoutes-DbIoDD0z.js → AddressRoutes-DTgm6mKn.js} +1 -1
  12. package/dist/assets/{AddressScreen-Duz_V-eF.js → AddressScreen-B8gfjqEn.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-xBFff3BM-B936IQ2N.js → AgingReportsPage-xBFff3BM-BqcuMCWE.js} +1 -1
  14. package/dist/assets/{AiCfoScreen-DkKXC6Fw.js → AiCfoScreen-Df3rY3E4.js} +1 -1
  15. package/dist/assets/{AllUserItems-BJf6WPDo-D0H1tMjG.js → AllUserItems-BJf6WPDo-DaazUDax.js} +1 -1
  16. package/dist/assets/{ApAgingDetailPage-CjBrPyi8-Dy0hX-gn.js → ApAgingDetailPage-CjBrPyi8-PluJor4q.js} +1 -1
  17. package/dist/assets/{AppBasePage-CqDm-hnV-DluaESRo.js → AppBasePage-CqDm-hnV-ClXPAX-Y.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-CVVWj66i-D4zioU_X.js → AppDrawerContent-CVVWj66i-CRK6-Obq.js} +1 -1
  19. package/dist/assets/{ApprovalRulesSettingsPage-Cckd2uVA-Bu-mEOHu.js → ApprovalRulesSettingsPage-Cckd2uVA-skHp2w7n.js} +1 -1
  20. package/dist/assets/{ArAgingChart-CBsqOd-4-CVCl4d59.js → ArAgingChart-CBsqOd-4-Dts9ynla.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-i7JObt60-CsyQx3rL.js → ArAgingDetailPage-i7JObt60-CTOam1OA.js} +1 -1
  22. package/dist/assets/{AttachmentView-CzC4skJ3-D2ObdnK2.js → AttachmentView-CzC4skJ3-U_fleRPf.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-B6umvmgL-B94s6jgr.js → BalancesInsightWithToolTip-B6umvmgL-CgBb85hL.js} +1 -1
  24. package/dist/assets/{BankAccountSection-Di4sF52j-BobhPzIF.js → BankAccountSection-Di4sF52j-DuXYleyr.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-Cled-2cR-CypxFFmY.js → BankAccountWarningSection-Cled-2cR-C5Td9Zy0.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-Ccnzq7st-DGOhp4FX.js → BankConnectionsSettingsPage-Ccnzq7st-C5iXdNbh.js} +1 -1
  27. package/dist/assets/{BillDetailPage-XXOwBfO1-DauaxUA2.js → BillDetailPage-XXOwBfO1-CiFI5WQ4.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-S9Y_fMTz.js → BillPayApprovalRoutes-DbLockDC.js} +1 -1
  29. package/dist/assets/{BillPayApprovalRuleDetailPage-DFZ0csaT-1KbX_IY6.js → BillPayApprovalRuleDetailPage-DFZ0csaT-DCv5Liw3.js} +1 -1
  30. package/dist/assets/{BillPayApprovalRulesPage-COCypDcS-BjGZEACH.js → BillPayApprovalRulesPage-COCypDcS-BHoqToop.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-DOE2YIqC-C8ApdrdB.js → BillPayPromoPage-DOE2YIqC-UyyGsqXE.js} +1 -1
  32. package/dist/assets/{BillPayRoutes-Bz92yFGI.js → BillPayRoutes-bqq_VU8v.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-BCJbZDsV-BF2fTyNr.js → BillPaySetUpPage-BCJbZDsV-D7l0Q-ma.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-iImtlEmO-CBp1rdfh.js → BillingSettingsPage-iImtlEmO-B0BEEoul.js} +1 -1
  35. package/dist/assets/{BillsBulkReviewDrawerPage-B11GWM_0-Crsw24X2.js → BillsBulkReviewDrawerPage-B11GWM_0-BOiAhL8I.js} +1 -1
  36. package/dist/assets/{BoxItem-Bxa1M4QU-BEQbjRW-.js → BoxItem-Bxa1M4QU-C2Kb1GRV.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-DSuJFoW1-mYZPYqnm.js → BusinessVerificationPage-DSuJFoW1-BQIuegCC.js} +1 -1
  38. package/dist/assets/{BusinessVerificationPageScreen-BlaiKu4I.js → BusinessVerificationPageScreen-CbTYG8Hf.js} +1 -1
  39. package/dist/assets/{BusyIndication-9zDqSKBP-WSsX6_uU.js → BusyIndication-9zDqSKBP-ApwhicGs.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-_ZZbaz_k-D2s6-wsQ.js → CardNumberSubText-_ZZbaz_k-Bp_OYPUa.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-DAZXitLt-Dn6UduwT.js → CashbackDetailPage-DAZXitLt-CrYCHWkO.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-B1VIpASk-D0l4y1IR.js → ChargeCardDetailPage-B1VIpASk-BxYXHsrw.js} +1 -1
  43. package/dist/assets/{ChargeCardListPage-BOBepN-x-BtfglwWz.js → ChargeCardListPage-BOBepN-x-DYAa25cV.js} +1 -1
  44. package/dist/assets/{ChargeCardListTable-YznzSsJo-KwncCUaT.js → ChargeCardListTable-YznzSsJo-CdA4ealc.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage--jOwsMla-DQFHZBZ2.js → ChargeCardPaymentHistoryPage--jOwsMla-DDJ7S39f.js} +1 -1
  46. package/dist/assets/{ChargeCardPromoPage-DIfakIOK-CUSVcG-Z.js → ChargeCardPromoPage-DIfakIOK-dyMsZ6mW.js} +1 -1
  47. package/dist/assets/{ChargeCardRoutes-PKJBtykP.js → ChargeCardRoutes-BQP3DQiy.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-0bpVkeJs-yW1xF9DG.js → ChargeCardSetupPage-0bpVkeJs-DrB23oU5.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-ChWyQlw6-BDnJUrTu.js → ChargeCardStatementsPage-ChWyQlw6-DdDzuBaO.js} +1 -1
  50. package/dist/assets/{CheckDepositDrawerPage-BS7hnyZn-C-RoPs-w.js → CheckDepositDrawerPage-BS7hnyZn-DuHIcxll.js} +1 -1
  51. package/dist/assets/{CollapsableReportTable-DNfFkAts-CoCUKzx3.js → CollapsableReportTable-DNfFkAts-CgoPEzRX.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-CrOIN4IW-wL1QY22J.js → CompanyOfficerDetailsSection-CrOIN4IW-BY8CFKLU.js} +1 -1
  53. package/dist/assets/{CompanyPassportCard-CkzYFTrp-DRHCWpeb.js → CompanyPassportCard-CkzYFTrp-CNxSmsJj.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-FE6yli6h-Dd4_9uh3.js → CompanyPassportPage-FE6yli6h-gNDI1bKt.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-BxfK5qi-.js → CompanyPassportScreen-Cif7gWIs.js} +1 -1
  56. package/dist/assets/{CompleteProfile-Cb8i1XgZ-BjB2Cj8T.js → CompleteProfile-Cb8i1XgZ-C-dNRGCH.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-BZCXEGYA-2D0_Pemr.js → ConfettiBurst-BZCXEGYA-DO5vEGIl.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-Wp_pgh6b.js → ConnectionAuthScreen-BGRFLJAg.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CE1VZ_Vz.js → ConstrainedInnerElement-CgdnMeoA-D3Ko5GjD.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-CzpSgxbO-k7E9cu5j.js → CreateOrEditVendorPage-CzpSgxbO-B0D9tPf4.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-c_q0MsSO-dQfGXEwP.js → CreditCardPaymentDrawerPage-c_q0MsSO-DWGoyUTz.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-BAh7SHrG-BY-wwlD4.js → CurrencySelectField-BAh7SHrG-BcnftycV.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-f3Aa6E5r-CsLUjIve.js → CustomerOnboardingActivationPage-f3Aa6E5r-DkEANiME.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-CdWLepNd.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-CXwX-0H6.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYuiWn8s-Cjt3eU6d.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-DVhcuP_Z.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-Bh_F0-oC-wTFuOqC8.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-CsJFUtvp.js} +1 -1
  68. package/dist/assets/{CustomerOnboardingPage-B9hSO88_-DWmXd-Uc.js → CustomerOnboardingPage-B9hSO88_-DaDxlvdm.js} +1 -1
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-CG0HKCpQ-GHwnhZEx.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-CnBjW8yE.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-liI38PH4.js → CustomerOnboardingRoutes-oCh7dr02.js} +1 -1
  71. package/dist/assets/{Dashboard-BJ_oIHab-R3_sy9De.js → Dashboard-BJ_oIHab-BD4CSy0p.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-BemzMw2e-DvGvflyG.js → DashboardReportPage-BemzMw2e-D-YSCsia.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-C7dEIbTS.js → DashboardRoutes-Cy_YRmAM.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-BtA5oEGG-DP44-3NB.js → DashboardSidebarBackgroundAnimation-BtA5oEGG-YuJINs6U.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-CkG7rrVy.js → DefaultTenantHome-Dd8UiLj4.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-CyFi1P_L-VEy51_-P.js → DepositAccTransactionItem-CyFi1P_L-BP02J70D.js} +1 -1
  77. package/dist/assets/{DepositAccTransactionListPage-DvBRRUdZ-FPrNb8c2.js → DepositAccTransactionListPage-DvBRRUdZ-Csvx_rt4.js} +1 -1
  78. package/dist/assets/{DomesticWireDetailScreen-CgfzlsVD.js → DomesticWireDetailScreen-D0CKS-oI.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-DCDo3aHI-DZy_Auc2.js → DomesticWireDetailsPage-DCDo3aHI-DcHgzfkS.js} +1 -1
  80. package/dist/assets/{DownloadOverlay-D_lL1sPW-DBEVtdkQ.js → DownloadOverlay-D_lL1sPW-DCEtUoIU.js} +1 -1
  81. package/dist/assets/{DrawerPage-DesxXhZk-qxdDcPRN.js → DrawerPage-DesxXhZk-Do0_VN-2.js} +1 -1
  82. package/dist/assets/{DrawerScreen-IScn_gPb.js → DrawerScreen-pM6VxF9h.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-QvPy_Six-pqhLCmsP.js → EditPeoplePage-QvPy_Six-CH3FU4C6.js} +1 -1
  84. package/dist/assets/{EditReimbursementDetailPage-C0ZDkboO-Ds7tBMbu.js → EditReimbursementDetailPage-C0ZDkboO-BgfUsV79.js} +1 -1
  85. package/dist/assets/{EntityDetailPage-l7nXIsyF-D-OEpTX_.js → EntityDetailPage-l7nXIsyF-cAmMGE3C.js} +1 -1
  86. package/dist/assets/{EntityDetailRoutes-DCBMx6-C.js → EntityDetailRoutes-D8wEB86w.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-BwX0a4JL-CYDWshdA.js → EntitySummarySection-BwX0a4JL-DuRKMZ-v.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-EdyHjbff-QECZrSJL.js → ExpenseAutomationOverviewPage-EdyHjbff-CDrjM5y1.js} +1 -1
  89. package/dist/assets/{ExpenseAutomationPage-DA22Qofw-QWboM4Rp.js → ExpenseAutomationPage-DA22Qofw-CViJZe09.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-DVcJr4np.js → ExpenseAutomationRoutes-DntWlKII.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-EMP6inpX-C812vhu_.js → ExpressPayPage-EMP6inpX-ST_lUkJo.js} +1 -1
  92. package/dist/assets/{FeaturePreviewPage-SYJm-3aR-BnuhMtuP.js → FeaturePreviewPage-SYJm-3aR-BRZE4laD.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-C3Y9pgiz.js → FeaturePreviewScreen-Bde69TZv.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-BxESVqJD-BFhnhk7r.js → FollowStepsSection-BxESVqJD-Dj7Cijm6.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-D5_ACa-q-DZo6UglL.js → GlobalReviewListPage-D5_ACa-q-DrTmnrvJ.js} +1 -1
  96. package/dist/assets/{InformationCardStack-B_qQUEYD-DRekqbq_.js → InformationCardStack-B_qQUEYD-Bckvj3ZH.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-BsQzoVzj-BI_nQIXQ.js → InsightsCardStack-BsQzoVzj-CV9EmGUZ.js} +1 -1
  98. package/dist/assets/{InsightsSection-B6CNlTNH-BFr6MnTG.js → InsightsSection-B6CNlTNH-BmptuiIV.js} +1 -1
  99. package/dist/assets/{IntegrationsSettingsPage-DP6fAccq-CigqZ0SM.js → IntegrationsSettingsPage-DP6fAccq-D4Quk8KT.js} +1 -1
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-VdG7bDZi-Rlu68XJQ.js → InternationalWireSwiftDetailsPage-VdG7bDZi-BXgdMxkR.js} +1 -1
  101. package/dist/assets/{InternationalWireVerificationPage-COC6lZml-CR1f2JQF.js → InternationalWireVerificationPage-COC6lZml-DJAsjZ4x.js} +1 -1
  102. package/dist/assets/{InviteFormPage-DN02jRy5-UECY6Ai9.js → InviteFormPage-DN02jRy5-D-G8DKbJ.js} +1 -1
  103. package/dist/assets/{InvitePageListView-CP4K9tJi-CrsR5dUL.js → InvitePageListView-CP4K9tJi-D6uY6C2m.js} +1 -1
  104. package/dist/assets/{InvitePeoplePage-VTM6kM1u-DEUyoj-n.js → InvitePeoplePage-VTM6kM1u-BnB9hQR6.js} +1 -1
  105. package/dist/assets/{InvoiceUploadSection-it-ZYl1N-gndqObmu.js → InvoiceUploadSection-it-ZYl1N-CfnRpBn8.js} +1 -1
  106. package/dist/assets/{IssueChargeCardPage-CVfuvGey-DLZauQU0.js → IssueChargeCardPage-CVfuvGey-CVYd98VP.js} +1 -1
  107. package/dist/assets/{LabeledAddressValue-DDrQcHIE-CrQXufeN.js → LabeledAddressValue-DDrQcHIE-RXR2A4RS.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-BgWwd5Gw-BjdQu4oY.js → LabeledAddressValueField-BgWwd5Gw-BYMURjwW.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-CcPO1k23-wgZTidrw.js → LabeledControlledCheckBoxField-CcPO1k23-DykfbVo9.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-BYYjzwUG-Dh1nhUsB.js → LabeledCountryMultiSelectField-BYYjzwUG-zLfWc4No.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-CISYMojq-C0CA90PE.js → LabeledCreatableSingleSelectField-CISYMojq-CMJ9eeqA.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-C_bcFxdY-rxfuitkN.js → LabeledDocumentField-C_bcFxdY-DIwHcgwk.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-ScGGCap8-5XDDElAU.js → LabeledDropDownFormattedTextField-ScGGCap8-VmE8Aemx.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-BppuWRbl-BqM5ToGw.js → LabeledEmailInputField-BppuWRbl-u-OS8XPf.js} +1 -1
  115. package/dist/assets/{LabeledNameField-mxSNQk3k-DSUzbE3j.js → LabeledNameField-mxSNQk3k-a0jnVYIS.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-C6ctNzkA-DJY2_gU-.js → LabeledSingleSelectField-C6ctNzkA-CAud5HS9.js} +1 -1
  117. package/dist/assets/{LabeledText-C8Y7EOsX-BG8Z0MTH.js → LabeledText-C8Y7EOsX-N_iUp5mT.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-eV0BTiQT.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-CnZmg4n1.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-BZtreVpj-BQKcvtGQ.js → LabeledZeniRolesDropDownField-BZtreVpj-BBGr9uyQ.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-CKq4oiX9-BMq1iE01.js → LinkJETransactionPage-CKq4oiX9-CzmIT1Mk.js} +1 -1
  121. package/dist/assets/{LockCardPage-CZENNby7-fCE1WXTx.js → LockCardPage-CZENNby7-BXwYxnbc.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-1727S1ri-CiFxrWZ6.js → LowBalancePopup-1727S1ri-BC4Xybgi.js} +1 -1
  123. package/dist/assets/{MagicLinkACHDetailsPage-BSOlSfNu-C5Jji5Bc.js → MagicLinkACHDetailsPage-BSOlSfNu-CjAGgrId.js} +1 -1
  124. package/dist/assets/{MagicLinkDomesticWireDetailsPage-D1DTPo0E-DNJbU9wA.js → MagicLinkDomesticWireDetailsPage-D1DTPo0E-BfTwgT3E.js} +1 -1
  125. package/dist/assets/{MagicLinkInternationalWireDetailsPage-D_wo_2nm-BDPVvMNI.js → MagicLinkInternationalWireDetailsPage-D_wo_2nm-4arI-6RT.js} +1 -1
  126. package/dist/assets/{MagicLinkRoutes-BBf-u6YU.js → MagicLinkRoutes-BQKi08TJ.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-BGYMIMGW.js → MagicLinkSignInScreen-B-1VM2nY.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-QMkZgQLG-0gaJkIUo.js → MagicLinkSuccessPage-QMkZgQLG-BWWjgK4k.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-CARU1oLQ-D-x2cYul.js → MagicLinkTitleSection-CARU1oLQ-CXURA0x4.js} +1 -1
  130. package/dist/assets/{MailingDetailsSection-ByOPaJ05-C__aFJd6.js → MailingDetailsSection-ByOPaJ05-BUe8T5l9.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-TF-9OTZ8.js → MobileAppDrawer-rVevilC6.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-BsBKwXvk-DeCIVX9G.js → MoreMenuButton-BsBKwXvk-ClzmCqOH.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-BdgIIhL1-DSKnFya9.js → MyBankConnectionsSettingsPage-BdgIIhL1-s3mmpSeE.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-CX38bDdq-CKY6khDW.js → MyPendingActivationChargeCardListPage-CX38bDdq-DOH2K7OJ.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-DYu0Fx6I-MQ1Uu5yx.js → MyProfileSettingsPage-DYu0Fx6I-BILfzBIz.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-CGGEvLwe-xLu9BDbC.js → NavBarWithPicker-CGGEvLwe-CE-mtSfR.js} +1 -1
  137. package/dist/assets/{NavigationArrow-CTNkKUtV-Cv--eO3H.js → NavigationArrow-CTNkKUtV-CQPh2h-t.js} +1 -1
  138. package/dist/assets/{NavigationDots-Dvce3gHt-B5IBT8ql.js → NavigationDots-Dvce3gHt-Di2DPDrT.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-D_f7z47T-DZeAHBD8.js → NewGlobalMerchantPage-D_f7z47T-CN6Ccym2.js} +1 -1
  140. package/dist/assets/{NoDataChart-CrKeqWSr-aTXx8C4D.js → NoDataChart-CrKeqWSr-CeScymZW.js} +1 -1
  141. package/dist/assets/{NoDataTable-4vPXmPYF-MAxQ6k5D.js → NoDataTable-4vPXmPYF-9mWyQln0.js} +1 -1
  142. package/dist/assets/{NotFoundPage-BLWPU1wU-BDFevjLh.js → NotFoundPage-BLWPU1wU-DIv40p2u.js} +1 -1
  143. package/dist/assets/{NotFoundScreen-BOQb1xUE.js → NotFoundScreen-DTEhtYR0.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-CHyP48D4.js → NotificationRoutes-DxaS5d-G.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-CDiDLX3A-CdiPU3_w.js → NotificationSettingsPage-CDiDLX3A-DJOardbK.js} +1 -1
  146. package/dist/assets/{NotificationsListConfig-B5pDa4cJ-C0GWEb8S.js → NotificationsListConfig-B5pDa4cJ-BoM-sqm3.js} +1 -1
  147. package/dist/assets/{NotificationsPage-Ccl7Dny1-CsnU2sZr.js → NotificationsPage-Ccl7Dny1-WuwFTQR_.js} +1 -1
  148. package/dist/assets/{OpExByVendorPage-spd-nKV4-Cz37eGG7.js → OpExByVendorPage-spd-nKV4-J-pbq8Jd.js} +1 -1
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-DvO1fY_N.js → OverlayContainerPage-BG9y5C0t-eJpqSHyn.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-TSoe4Z7F-xn1jaFoi.js → PandLWithForecastPage-TSoe4Z7F-RUUoz_ux.js} +1 -1
  151. package/dist/assets/{PandLWithForecastRoutes-DWeIYgqG.js → PandLWithForecastRoutes-B1YzdCGl.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-9ma8SpIa-BDBHBe3a.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-BsFf_XcA.js} +1 -1
  153. package/dist/assets/{PeoplePage-b5_I0qOw-lWi2XLJ6.js → PeoplePage-b5_I0qOw-C3oWKZpr.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-D96ZRShY.js → PeopleRoutes-CrD0VY43.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-w_Iip8ae.js → PerformanceRoutes-BWcUuVT0.js} +1 -1
  156. package/dist/assets/{Preview-C2zvk1tu.js → Preview-CcWZZe7T.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-C3M0ocdF-2raBZnNq.js → ProductsCarousel-C3M0ocdF-CkvnYmsu.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BOGJI2ws-Cm4e0wPQ.js → PromoBaseCards-BOGJI2ws-exvrpIWF.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-CmpnnuzP-BhhJabU7.js → QBOConnectionDialog-CmpnnuzP-gKv_vAVh.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-CCeXLrlB.js → QBOConnectionScreen-DncsFsu6.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-DjnN9dgv-6umyaC6d.js → QBOSetupSection-DjnN9dgv-CgJu6eHS.js} +1 -1
  162. package/dist/assets/{ReferralListScreen-DY8vZLmY.js → ReferralListScreen-B8Nu-uTQ.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-kgV17rI7.js → ReimbursementApprovalRoutes-w3eOfR5T.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D5NXjrO9-Bjrjwfbm.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-W4FQVovP.js} +1 -1
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CrQlcAIE.js → ReimbursementApprovalRuleDetailScreen-CgyW0uIS.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-BsCTIqUJ-CQyWyznw.js → ReimbursementApprovalRulesPage-BsCTIqUJ-2OY_BVbG.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-BbyxE2uL-DAWO6MN3.js → ReimbursementDetailPage-BbyxE2uL-CBMkVBC7.js} +1 -1
  168. package/dist/assets/{ReimbursementPromoPage-CyEgwqcf-D5kNu4r7.js → ReimbursementPromoPage-CyEgwqcf-CrWSHciC.js} +1 -1
  169. package/dist/assets/{ReimbursementRoutes-9PVCls-1.js → ReimbursementRoutes-BrmX1eOJ.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-RETPkEQd-zKPq6P2O.js → ReimbursementSetUpPage-RETPkEQd-7GvsEJkX.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DnmYl0FM-Cp5RXmHi.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-DBIRmQL8.js} +1 -1
  172. package/dist/assets/{ReloadCard-Bdoo0XiI-CgAT4eqC.js → ReloadCard-Bdoo0XiI-BpY0M0Fy.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-Bc1K7mU_-CRH7B2Xe.js → ReportTableViewSelector-Bc1K7mU_-BnrzXnF8.js} +1 -1
  174. package/dist/assets/{ReportsPage-BOTHMLWh-DYARtx-l.js → ReportsPage-BOTHMLWh-w3c9_hV6.js} +1 -1
  175. package/dist/assets/{ReportsRoutes-DAq_Kk7t.js → ReportsRoutes-pSSgx2Qb.js} +1 -1
  176. package/dist/assets/{RevenueChart-DvyZ3aO7-D41DyD4f.js → RevenueChart-DvyZ3aO7-KXLkQ2jm.js} +1 -1
  177. package/dist/assets/{ReviewDetailsPage-BIMg1n2e-w51F2KtJ.js → ReviewDetailsPage-BIMg1n2e-CxHvsJfl.js} +1 -1
  178. package/dist/assets/{ReviewOverlay-CxwoiOLC-C8uqNFMN.js → ReviewOverlay-CxwoiOLC-YC2fr4OR.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-2CDMw_SM.js → RewardsRoutes-DeJMEv1x.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-Ct3_VuDM-zYFjvA-a.js → RoleWithToolTip-Ct3_VuDM-DHuzrtTD.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DiL5Dozk-DjOTIJE4.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-BGTilK66.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-5FWpLRtd-DdkQQcuL.js → ScheduleDetailsPage-5FWpLRtd-CZ91s9r1.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-R3-PsXES-F_YuqAKO.js → ScheduleSequenceTable-R3-PsXES-C9M9znUj.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-D-VUXgUA.js → ScreenRoutes-Dpv4vaK4.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-CctbMmoK-BIwzDeUn.js → SetUpAccountSection-CctbMmoK-B5qXicxM.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-BCFW0mUs.js → SettingsRoutes-DoX4oXJJ.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-D_H5m3yT.js → SetupPagesScreen-BuUIKag1.js} +1 -1
  188. package/dist/assets/{SignIn-CmgmnRm4-BefvH7_D.js → SignIn-CmgmnRm4-jNO1UUJP.js} +1 -1
  189. package/dist/assets/{SignInScreen-DNDiNfUZ.js → SignInScreen-Df_WgqgT.js} +1 -1
  190. package/dist/assets/{SignOutScreen-CGgsrBqm.js → SignOutScreen-D5f8OtMZ.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-CFUxCqkU-DWVJ8T34.js → SpendManagementListViewPage-CFUxCqkU-D3RqoucQ.js} +3 -3
  192. package/dist/assets/{SpendManagementPerTabPage-C-kqNTci-61EpQHHf.js → SpendManagementPerTabPage-C-kqNTci-Cq3WTmz3.js} +1 -1
  193. package/dist/assets/{SpendManagementSection-CIz4nE_w-CLtvB3Jo.js → SpendManagementSection-CIz4nE_w-BaA0r3_e.js} +1 -1
  194. package/dist/assets/{StatementItem-vVtoBN2w-CGfe2rf-.js → StatementItem-vVtoBN2w-DXHKcNMW.js} +1 -1
  195. package/dist/assets/{StatementsPage-As5WOnMR-C07ZcwWR.js → StatementsPage-As5WOnMR-W6wXixcr.js} +1 -1
  196. package/dist/assets/{StatusSwitcher-Bv-ozN6U-BMGDezKv.js → StatusSwitcher-Bv-ozN6U-C0fMXl7o.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-D7QeM6nb-C5vo1QLg.js → SubTabSwitcher-D7QeM6nb-CBdxZlIi.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-hijccO_0-CXGCZdn9.js → SuccessAnimation-hijccO_0-BwDYm_dF.js} +1 -1
  199. package/dist/assets/{SummaryCard-C2qoTsAY-LkZgmc3l.js → SummaryCard-C2qoTsAY-DidYJA3G.js} +1 -1
  200. package/dist/assets/{TaskDetailPage-QMk4DTDK-DuNonnMy.js → TaskDetailPage-QMk4DTDK-DW5fe09T.js} +1 -1
  201. package/dist/assets/{TaskListScreen-DXCPcaMg.js → TaskListScreen-D2kR8azy.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-BJwp32Ph-D-u68mRD.js → TaskManagementPage-BJwp32Ph-BC5LDYUd.js} +1 -1
  203. package/dist/assets/{TaskRoutes-Biii2LFo.js → TaskRoutes-BvWLUs7r.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-D00bDDhP-BG1zi2IK.js → TimeRangeSwitcher-D00bDDhP-yy95hp97.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-DA99HdHt-BQziHQmj.js → TimeframeSwitcher-DA99HdHt-5oKitLal.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-DyggDIQj-BfhUUfrK.js → TimeframeSwitcherWithToggle-DyggDIQj-DQpldmIO.js} +1 -1
  207. package/dist/assets/{TopExCard-Z1WabZ8c-CBwSMJxd.js → TopExCard-Z1WabZ8c-B78CPbtD.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-CzHG4f9E-gwAj-hq_.js → TopExDetailPage-CzHG4f9E-DchJ1qZJ.js} +1 -1
  209. package/dist/assets/{TransactionActivityLogPage-CGKnjNfU-BApvDmwN.js → TransactionActivityLogPage-CGKnjNfU-8o6raS9n.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-1-mLOWSz-rzQ235mE.js → TransactionDetailPage-1-mLOWSz-C2ZSTkhD.js} +1 -1
  211. package/dist/assets/{TransactionDetailRoutes-C36yIgf5.js → TransactionDetailRoutes-YfxO98HV.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-B9QxqSWW.js → TransactionDetailScreen-ByHGSvnK.js} +1 -1
  213. package/dist/assets/{TransactionList-BB-xoIGm-Cfa3U35Q.js → TransactionList-BB-xoIGm-F7S3v1aS.js} +1 -1
  214. package/dist/assets/{TransactionListBig-C5Sf5Xh--ILOBUs5F.js → TransactionListBig-C5Sf5Xh--CwjonwcT.js} +1 -1
  215. package/dist/assets/{TransactionListPage-Cj7h1Ros-C0trpcRO.js → TransactionListPage-Cj7h1Ros-CXe6QjAv.js} +1 -1
  216. package/dist/assets/{TransactionListRoutes-DYDLTelW.js → TransactionListRoutes-BU-XvV1I.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-SsrSOk3O-DvVZeIE6.js → TransactionVendorDetailPage-SsrSOk3O-C7K20Ai0.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-BvKZ7vHF-gusMX693.js → TransferDrawerPage-BvKZ7vHF-DleA-ak7.js} +1 -1
  219. package/dist/assets/{TreasuryOverviewPage-DwvjMR4_-v_PwtYfB.js → TreasuryOverviewPage-DwvjMR4_-VLFOxsp9.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-CtTFvSQW-CBUcln_7.js → TreasuryPromoPage-CtTFvSQW-D7zd52z2.js} +1 -1
  221. package/dist/assets/{TreasuryRoutes-BL7M49IT.js → TreasuryRoutes-CfYtaYkL.js} +1 -1
  222. package/dist/assets/{TreasuryStatementsPage-Catz8shX-B10cgIs5.js → TreasuryStatementsPage-Catz8shX-Byjwyyhi.js} +1 -1
  223. package/dist/assets/{TreasuryTaxLetterPage-D8hzCL5o-8bU6d1vy.js → TreasuryTaxLetterPage-D8hzCL5o-kpBJqlaQ.js} +1 -1
  224. package/dist/assets/{TrendChart-Bnp4Pcdf-CsoTufL2.js → TrendChart-Bnp4Pcdf-B89YGErG.js} +1 -1
  225. package/dist/assets/{TrendWithTransactions-3D1FvM8G-Dwn_v3ES.js → TrendWithTransactions-3D1FvM8G-Dl9PLm1i.js} +1 -1
  226. package/dist/assets/{UncategorizedAccountsMappingPage-DbyY-dYB-DJ-xU1nq.js → UncategorizedAccountsMappingPage-DbyY-dYB-DEnR4UYU.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-CTzme1te-Kzmir-JV.js → UnitIntegrationPage-CTzme1te-B4-Reryc.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-Wl4Spdpn-vi85vqk-.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-CnzpCimW.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-D0zYKkIv-Corqbsks.js → Vendor2FAPopup-D0zYKkIv-B2BGeQKY.js} +1 -1
  230. package/dist/assets/{VendorACHDetailsPage-YYX9aQdw-DWmocppw.js → VendorACHDetailsPage-YYX9aQdw-CAbcrBpp.js} +1 -1
  231. package/dist/assets/{VendorDetailPage-Br9wIOnI-D1eJIjzb.js → VendorDetailPage-Br9wIOnI-D9UwRyl6.js} +1 -1
  232. package/dist/assets/{VendorDomesticWireDetailsPage-BpPgQRHI-BpbupYob.js → VendorDomesticWireDetailsPage-BpPgQRHI-nU1GK0uK.js} +1 -1
  233. package/dist/assets/{VendorFiling1099EditablePage-himC7iD3-DuTr9_9d.js → VendorFiling1099EditablePage-himC7iD3-Dh94ooSA.js} +1 -1
  234. package/dist/assets/{VendorFirstReviewPage-BbknTCBD-DB1g9Qot.js → VendorFirstReviewPage-BbknTCBD-D-XuKkeu.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-CS595Xgc-CmEESHX6.js → VendorInternationalWireDetailsPage-CS595Xgc-CQUQLo2F.js} +1 -1
  236. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-yhTjWXvw-D43LaVfJ.js → VendorInternationalWireSwiftDetailsPage-yhTjWXvw-DXJJEiDk.js} +1 -1
  237. package/dist/assets/{VendorsAccountsSection-CgSJu8wq-CW2zmnnP.js → VendorsAccountsSection-CgSJu8wq-B4TwJfQN.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-C4N6gRBp.js → VendorsRoutes-D4dIFblM.js} +1 -1
  239. package/dist/assets/{VerifyDevice-Dvf0JsNN-CSGpw0v_.js → VerifyDevice-Dvf0JsNN-F8m_4xHg.js} +1 -1
  240. package/dist/assets/{VideoPlayer-VAzOGCDL-BYL37uoQ.js → VideoPlayer-VAzOGCDL-Hgp4vsnE.js} +1 -1
  241. package/dist/assets/{VideoPopup-BqvZ-XIh-DBw1PWZ3.js → VideoPopup-BqvZ-XIh-CeeolMZa.js} +1 -1
  242. package/dist/assets/{WiseConfirmationScreen-DNU9Mqxk.js → WiseConfirmationScreen-Cfwwca69.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-GcwTJdB8-_6oIn_wc.js → ZeniAccountDetailPage-GcwTJdB8-C9OOYZwY.js} +1 -1
  244. package/dist/assets/{ZeniAccountListViewPage-CdwO0Duy-G5U6kbnQ.js → ZeniAccountListViewPage-CdwO0Duy-BLcCB3K4.js} +1 -1
  245. package/dist/assets/{ZeniAccountNavBarPieces-BrSIfL36-CgdxCVoA.js → ZeniAccountNavBarPieces-BrSIfL36-vjVS5fgR.js} +1 -1
  246. package/dist/assets/{ZeniAccountPromoPage-JrcedQYB-BtfY6t2a.js → ZeniAccountPromoPage-JrcedQYB-D5FGpyVw.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-uUgaZh13.js → ZeniAccountRoutes-IOX1mdKC.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-TKBfbgzJ-Ovrdcrt5.js → ZeniAccountSetupPage-TKBfbgzJ-CyxkHh_z.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-CPFcfx6A.js → ZeniAccountStatementScreen-hhsdWeL6.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-Bzhq25CU-DO1x3yqH.js → ZeniAvatar-Bzhq25CU-BwcwPttX.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-DglqrTpl-iRqjfc19.js → ZeniCopyright-DglqrTpl-DpYJMQKd.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-BHXPxPnI-CRe89Wst.js → ZeniDatePicker-BHXPxPnI-CD37ufwj.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-BcaZZuAw-BeVI8Qc_.js → ZeniTransferAmountSlider-BcaZZuAw-CT5RKdUY.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-BVO1DeGB.js → accountMappingHelper-BbZUkMb2.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-CV8RMwhX.js → add-to-wallet-DgdBD8_G-BRIY7D41.js} +1 -1
  256. package/dist/assets/{analytics-CZ3wLx3P.js → analytics-J_ppbv70.js} +1 -1
  257. package/dist/assets/{analyticsHelper-RqmdZ4w4.js → analyticsHelper-B9Ts5e--.js} +1 -1
  258. package/dist/assets/{analyticsHelper-CAYdbjhS-CB8PHHr8.js → analyticsHelper-CAYdbjhS-BuVbZGrg.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-DB6pjtdO.js → arrow-south-east-round-PEovUgvH-CE3-QTnK.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-CrxycPHV.js → auto-transfer-rule-mbafm5D3-CDaF_oVp.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-B1h__iIh.js → avatar-Dz7aEm3d-BUjes861.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-B0RfZgcz.js → bank-letter-BOcVjN6J-CT4dpGSQ.js} +1 -1
  263. package/dist/assets/{calculateSize-B2w5JPEU-BqvYgtxt.js → calculateSize-B2w5JPEU-bKAzqeB1.js} +1 -1
  264. package/dist/assets/{chartTypes-CD3vrBsI-4eICteeW.js → chartTypes-CD3vrBsI-DlT7D3-o.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-o4osYW2f.js → clock-CJkylEKt-C1Si1fkb.js} +1 -1
  266. package/dist/assets/{common-BpxEACHl-SqfXrkK_.js → common-BpxEACHl-KZ-vbPPc.js} +1 -1
  267. package/dist/assets/{commonDimensions-Oz1tdAcx-Cf4qEJmU.js → commonDimensions-Oz1tdAcx-CRXXe8IB.js} +1 -1
  268. package/dist/assets/{commonTypes-5tEXwrX4-F6mC0EfI.js → commonTypes-5tEXwrX4-BEomvuoj.js} +1 -1
  269. package/dist/assets/{core-CVVdXRky.js → core-CsRts4ln.js} +1 -1
  270. package/dist/assets/{dash.all.min-C2vle8BQ.js → dash.all.min-v176pJlB.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-Da8IsQO4.js → decodeURIComponentSafe-DXQXSSXg.js} +1 -1
  272. package/dist/assets/{dnd-CcRW__D6.js → dnd-BXL1VS_L.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-BkHqkGHG.js → dollar-round-D18u7nlm-D9R4fejb.js} +1 -1
  274. package/dist/assets/{downloadPdf-Dsuxeias-CPZEuUrl.js → downloadPdf-Dsuxeias-CuYCUFrF.js} +1 -1
  275. package/dist/assets/{empty-BHbH22vT.js → empty-CrW9DFEA.js} +1 -1
  276. package/dist/assets/{empty-M26y6UyA.js → empty-CzkFxkiA.js} +1 -1
  277. package/dist/assets/{epic-CiCSO3K5.js → epic-CL8qgila.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-BeqNUW3e.js → filter-cZIFUNvj-ldxjvgUH.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-DBVI4ovb.js → getLocaleForTenant-D0Pp_qkd.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-CR0qdQnT.js → gift-box-Cmt9OgIZ-Dw39nU-G.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CslJm2fU.js → graphic-no-data-l-DU4J8fDt-CJ50MBWC.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Cj977U7E.js → graphic-no-data-net-burn-l-CzmycA0m-9WFaFsuS.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-tq0X0Kiz.js → handshake-BPg58FML-DNugM_ST.js} +1 -1
  284. package/dist/assets/{helper-Ckm10Uko-U81O1HXL.js → helper-Ckm10Uko-Dzz19A3D.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-D504LM2b.js → hyperlink-DQyCeXx2-Bz1j9SvR.js} +1 -1
  286. package/dist/assets/{index-ClO_SXUU.js → index-B1yunZ-e.js} +1 -1
  287. package/dist/assets/{index-BZOQWoRX.js → index-B_X62jQr.js} +1 -1
  288. package/dist/assets/{index-jI4vB8VC.js → index-Bp4e-dHu.js} +1 -1
  289. package/dist/assets/{index-BngCC-zG.js → index-CM-kLVx4.js} +6 -6
  290. package/dist/assets/{index-uxYir9Bm.js → index-CtGJaov8.js} +1 -1
  291. package/dist/assets/{index-DiKwyzh3.js → index-DAwH6DwI.js} +1 -1
  292. package/dist/assets/{lexical-DPtIv0jk.js → lexical-DnTMEwjt.js} +1 -1
  293. package/dist/assets/{liveblocks-CHs9GmLG.js → liveblocks-Dne4miE8.js} +1 -1
  294. package/dist/assets/{lottie-D68Xb3aQ.js → lottie-BzC9xJC8.js} +1 -1
  295. package/dist/assets/{mapLoadingInProgressToTreeNode-jcHEi-mv-cRyD83dc.js → mapLoadingInProgressToTreeNode-jcHEi-mv-DAtr9O2d.js} +1 -1
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Cgyt68f3-C2AYKRBA.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-D0srveg4.js} +1 -1
  297. package/dist/assets/{mapSpacerToTreeNode-XgUp1xUb-VRJ6un-L.js → mapSpacerToTreeNode-XgUp1xUb-B1CcQSVd.js} +1 -1
  298. package/dist/assets/{mapTimeframeBalancesToTreeNode-Bre8FfBF-XT9mQqpQ.js → mapTimeframeBalancesToTreeNode-Bre8FfBF-B_cazlJu.js} +1 -1
  299. package/dist/assets/{mapTimeframeBalancesToTreeNode-DOyCX6ij-CGvd2Wmc.js → mapTimeframeBalancesToTreeNode-DOyCX6ij-IiJXI2ke.js} +1 -1
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-BVVmyoym.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-rE1wQWnu.js} +1 -1
  301. package/dist/assets/{media-player-D-MhIu5T.js → media-player-BmpFVVq9.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-DZxnWrWu.js → money-2cg1MuG4-DrKWt7H-.js} +1 -1
  303. package/dist/assets/{mui-DyGc7Pg8.js → mui-Ca9xxv13.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-CXX81aXy.js → page-detail-CWX5S47F-C6pHuQ2l.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-V_V9hbFl.js → page-summary-D7_VQHwN-zvSY4T76.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-bdcPTs-R.js → panelSelectedMixin-Cddsb26L-C7CXOyJk.js} +1 -1
  307. package/dist/assets/{pathToGoBack-CsNBJVc2.js → pathToGoBack-L1TCPzMr.js} +1 -1
  308. package/dist/assets/{pdf-BxqSCr4b.js → pdf-B939253e.js} +3 -3
  309. package/dist/assets/{pdf-lib-jHogAi_2.js → pdf-lib-Dg1IFikm.js} +1 -1
  310. package/dist/assets/{plaid-xWfKHEqu.js → plaid-Du-0dhaT.js} +1 -1
  311. package/dist/assets/{pusher-pngVK7xY.js → pusher-B5-XAmD-.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-sLqGTxQv.js → radio-default-CiSgisfh-D6FwNsNZ.js} +1 -1
  313. package/dist/assets/{react-CuUL9Ybl.js → react-BRVnUKIO.js} +1 -1
  314. package/dist/assets/{react-BElDOWJc.js → react-BVctT8bN.js} +1 -1
  315. package/dist/assets/{react-mv5GPJR4.js → react-BjqfvHV9.js} +1 -1
  316. package/dist/assets/{react-BuoJ-wtg.js → react-BupeEH38.js} +1 -1
  317. package/dist/assets/{react-BC4BTRLG.js → react-Bvif99LO.js} +1 -1
  318. package/dist/assets/{react-DyZ9MM_3.js → react-C74EzKMu.js} +3 -3
  319. package/dist/assets/{react-B3z4onjT.js → react-MaeeFSA6.js} +1 -1
  320. package/dist/assets/{react-DpxbyLPn.js → react-nmdltcZB.js} +1 -1
  321. package/dist/assets/{recharts-CMjB5mmq.js → recharts-BjhLQRRU.js} +1 -1
  322. package/dist/assets/{routePaths-B2Ez8xiG.js → routePaths-B10zk6VD.js} +1 -1
  323. package/dist/assets/{sentry-CHlUi953.js → sentry-fDh08ad-.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-u1WG480f.js → shield-DOlUxcFf-BqI86OCQ.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-DKcfJ6au.js → spend-limit-D6SyboD4-Zip6F-uT.js} +1 -1
  326. package/dist/assets/{toCOABalancesWithID-aLNB35t7-DBx2vR3D.js → toCOABalancesWithID-aLNB35t7-I1omFuyE.js} +1 -1
  327. package/dist/assets/{toChartData-DUL6vnzJ-CHvhrhF4.js → toChartData-DUL6vnzJ-CT6XC2gk.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-BRNI97Lv.js → transaction-placeholder-CpOwZAMG-CPO3W1DV.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-CHRencVP.js → undo-b_3XZ5CX-t8Ok2Sqy.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-BfuVrsIJ.js → unlock-BPWn2I5L-Dly17oLj.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-vYnAE0FP.js → upload-reimbursement-receipt-O2N8vcO7-CXDOR9Ln.js} +1 -1
  332. package/dist/assets/{uploadAttachment-Ck4wivBR-D3iFmRh8.js → uploadAttachment-Ck4wivBR-DnbtZaNo.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-DQDaRUPe.js → uploadReceipts-CIgkuVpu-CTQLJP7G.js} +1 -1
  334. package/dist/assets/{url-7B3Yv5Zc.js → url-AruCXdzx.js} +1 -1
  335. package/dist/assets/{url-CDjIygfF.js → url-ISI8nt4o.js} +1 -1
  336. package/dist/assets/{useDeviceId-CPhY1yO5.js → useDeviceId-7lrLWqLl.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-D3BmEojQ.js → useInitialThreadRequest-Bi5IiyxT.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-C-ro8Pxu.js → useLongPress-GCK2COYQ-BT_ie1ls.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-BHKdiO38.js → usp-line-BBd1wKwW-BvzRJGiy.js} +1 -1
  340. package/dist/assets/{utils-BpkJZQMI.js → utils-BC3aPe-C.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-D4jXMzEn.js → withTransactionSidePanel-BFrXZ2Dq.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-D8D2Skiq.js → zeni-epic-state-C00HUVJa.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-BUIVMYdQ.js → zeni-icon-only-DikSiTcc.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +1 -1
  346. package/dist/assets/CustomerOnboardingAuthScreen-CTK0e_jx.js +0 -1
  347. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-CHM5gdzL.js +0 -1
@@ -1 +1 @@
1
- import{j as i}from"./pdf-BxqSCr4b.js";import{j as J,h as R,i as U,l as q,u as L,N as B,k as H,R as Te,m as v}from"./core-CVVdXRky.js";import{ct as $,ga as T,MC as K,De as de,bs as ne,MD as De,II as W,ME as ce,MF as ge,bG as x,Db as le,MG as ye,MH as oe,MI as Ae,MJ as ue,MK as he,ML as Se,MM as ie,Er as ke,bm as Ie}from"./zeni-epic-state-D8D2Skiq.js";import{O as Z,jz as O,lW as Q,jO as w,jM as X,k2 as be,js as ve,aE as Ye,aG as se}from"./index-BngCC-zG.js";import"./mui-DyGc7Pg8.js";import{a as A}from"./sentry-CHlUi953.js";import{w as ee}from"./withTransactionSidePanel-D4jXMzEn.js";import{p as te,b as ae}from"./routePaths-B2Ez8xiG.js";import{u as xe}from"./utils-BpkJZQMI.js";import{d as M}from"./decodeURIComponentSafe-Da8IsQO4.js";import{Z as Pe}from"./ZeniAccountStatementScreen-CPFcfx6A.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./TransactionDetailScreen-B9QxqSWW.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="12391f5e-7f7f-4565-9a66-ebfc8c44ba14",a._sentryDebugIdIdentifier="sentry-dbid-12391f5e-7f7f-4565-9a66-ebfc8c44ba14")}catch{}})();const G=a=>xe(a),Me=H(function(a,e){const t=De(a.transactionState,a.transactionListState,e.selectedAccount.period,e.selectedAccount.timeframe,G(e.selectedAccount.tranListType));return{title:e.selectedAccount.title,subTitle:e.selectedAccount.subTitle,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:e.dataAvailableForPeriod,report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??"../../";e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();const o=Z.getLocalizedStrings(),r=G(e.selectedAccount.tranListType),s=je(t,n,c,r,e.bookCloseDate);O.trackTransactionList(void 0,void 0,void 0,e.selectedAccount.title,void 0,!0),a(ce({uiState:{dateRange:s},type:G(e.selectedAccount.tranListType)})),a(de(r,T(s),!1,r==="missingReceipts"?o.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0)),e.onSelectedTimePeriodChange(T(s))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ce({uiState:{scrollYOffset:t},type:G(e.selectedAccount.tranListType)}))}}})(Q),F=ee(function({...a}){const e=J(),t=R(),n=U(),c=t.pathname.substring(t.pathname.lastIndexOf("/")+1),{tenantEmailDomain:o}=q(),r=Z.getLocalizedStrings(),{accountType:s,title:u,subTitle:h}=Le(c),D="month",g=L(p=>$(p)),Y=g.company?.companyInfo.firstMonthOfFY??1,{dataAvailable:y,initialTimeframeTick:S}=Ee(c,Y,g.bookCloseDate),[k,E]=A.useState(!1),[j,P]=A.useState(void 0),m=A.useMemo(()=>{const p=T(S);return{tranListType:c,accountType:K(s),title:u,subTitle:h,timeframe:D,period:p}},[c,D,s,y]);A.useEffect(()=>{if(!k&&m!=null){E(!0),O.trackTransactionList(void 0,void 0,void 0,m.title);const p=G(m.tranListType);n(de(p,m.period,!0,p==="missingReceipts"?r.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0))}},[k,m,n]);let I=m;return m!=null&&j!=null&&(I={...m,period:j}),I==null?i.jsx(B,{to:"../"}):i.jsx(Me,{firstMonthOfFY:Y,tenantEmailDomain:o,location:t,useFixedPeriod:{timeframe:"month",numberOfPeriods:12},dataAvailableForPeriod:y,navigate:e,selectedAccount:I,referrerType:c,bookCloseDate:g.bookCloseDate,onSelectedTimePeriodChange:p=>P(p),...a})}),Le=a=>{let e="",t="",n="";const c=Z.getLocalizedStrings();switch(a){case"uncategorized-income":e="income",t=c.uncategorizedTransactionList.income.title,n=c.uncategorizedTransactionList.income.subTitle;break;case"uncategorized-expense":e="expenses",t=c.uncategorizedTransactionList.expense.title,n=c.uncategorizedTransactionList.expense.subTitle;break;case"miscategorized-expense":e="expenses",t=c.miscategorizedTransactionList.expense.title,n=c.miscategorizedTransactionList.expense.subTitle;break;case"miscategorized-income":e="income",t=c.miscategorizedTransactionList.income.title,n=c.miscategorizedTransactionList.income.subTitle;break;case"missing-receipts":t=c.uncategorizedTransactionList.missingReceipt.title,n=c.uncategorizedTransactionList.missingReceipt.subTitle}return{accountType:e,title:t,subTitle:n}},Ee=(a,e,t)=>{const n=ne();let c=ne().startOf("month").subtract(11,"month");return t!=null&&a!=="missing-receipts"?t.add(1,"day").isBefore(c)?{dataAvailable:{startDate:t.add(1,"day"),endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}:(c=t.add(1,"day"),{dataAvailable:{startDate:c,endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}):{dataAvailable:te(5,e),initialTimeframeTick:{startDate:c,endDate:n}}},je=(a,e,t,n,c)=>{let o=e;return n==="missingReceipts"||c==null?a.startDate.isBefore(e.startDate,t)?o={startDate:a.startDate,endDate:e.endDate}:a.startDate.isAfter(e.endDate,t)?o={startDate:e.startDate,endDate:a.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(a)}`):o=a.startDate.isBefore(c,t)?{startDate:c.add(1,"day"),endDate:e.endDate}:{startDate:a.startDate,endDate:e.endDate},o},ze=H(function(a,e){const t=ye(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,e.selectedAccount.timeframe,e.selectedAccount.period);return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??me();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{dateRange:o}})),a(le(e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{scrollYOffset:t}}))}}})(Q),Be=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,classIdEncoded:u,timeframe:h,startDate:D,endDate:g,titleEncoded:Y}=q(),y=M(r??""),S=M(s??""),k=M(u??""),E=M(Y??""),j=L(f=>ge(f.transactionListState,S,y,k)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(f=>$(f)),V=_.company?.companyInfo.firstMonthOfFY??1;let d;const l=Oe(y,S,k,h,D,g,E);if(l){const f={startDate:x(D,"YYYY-MM-DD"),endDate:x(g,"YYYY-MM-DD")},N=Ce(j?.dateRange,f);d={accountId:S,accountType:K(y),classId:k,title:E,timeframe:h,period:N}}A.useEffect(()=>{P||d==null||(m(!0),O.trackTransactionList(d.accountId,void 0,a,d.title),c(le(d.accountId,d.accountType,d.classId,d.period)))},[P,d,c]);let z=d;d!=null&&I!=null&&(z={...d,period:I});const C=[r,s,u,h,D,g,Y].filter(f=>f!=null);return l&&z!=null?i.jsx(ze,{firstMonthOfFY:V,tenantEmailDomain:o,location:n,navigate:t,selectedAccount:z,referrerType:a,onSelectedTimePeriodChange:f=>p(f),...e}):i.jsx(B,{to:me(C.length)})}),me=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Oe=(a,e,t,n,c,o,r)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&o!=null&&(n==="month"||n==="quarter")&&x(c,"YYYY-MM-DD").isValid()&&x(o,"YYYY-MM-DD").isValid()&&r!=null,Ce=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),Fe=H(function(a,e){const t=he(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.timeframe,e.selectedAccount.period),n=t.account?.coaId,c=e.isConnectedAccountProviderUnit&&Se(n??"");return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0,showStatementPageIcon:c}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??pe();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{dateRange:o}})),a(ue(e.selectedAccount.accountId,e.selectedAccount.accountType,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{scrollYOffset:t}}))},onStatementPageIconClick:()=>{const t=we(e.tenantEmailDomain),n=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(t,{state:{pathnameStackToGoBack:n}})}}})(Q),re=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,timeframe:u,startDate:h,endDate:D,titleEncoded:g,excludeSubAccounts:Y}=q(),y=M(r??""),S=M(s??""),k=M(g??""),E=!(Y!=null&&Y==="exclude_subaccounts"),j=L(b=>Ae(b.transactionListState,S,y)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(b=>$(b)),V=_.company?.featuresActivationInfo.connectedAccountProvider==="unit",d=_.company?.companyInfo.firstMonthOfFY??1;let l;const z=Ge(y,S,u,h,D,k);if(z){const b={startDate:x(h,"YYYY-MM-DD"),endDate:x(D,"YYYY-MM-DD")},fe=_e(j?.dateRange,b);l={accountId:S,accountType:K(y),title:k,timeframe:u,period:fe}}let C=l;l!=null&&I!=null&&(C={...l,period:I});const{areTenantIdsInSync:f}=be();A.useEffect(()=>{!P&&l!=null&&f&&(m(!0),O.trackTransactionList(l.accountId,void 0,a,l.title),c(ue(l.accountId,l.accountType,l.period,void 0,!1,E)))},[P,l,c,f]);const N=[r,s,u,h,D,g].filter(b=>b!=null);return z&&C!=null?i.jsx(Fe,{firstMonthOfFY:d,tenantEmailDomain:o,location:n,navigate:t,isConnectedAccountProviderUnit:V,selectedAccount:C,referrerType:a,onSelectedTimePeriodChange:b=>p(b),...e}):i.jsx(B,{to:pe(N.length)})}),pe=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Ge=(a,e,t,n,c,o)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&(t==="month"||t==="quarter")&&x(n,"YYYY-MM-DD").isValid()&&x(c,"YYYY-MM-DD").isValid()&&o!=null,_e=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),we=a=>`/${a}/transactions/${ke}/statements`;function ot(){const a=R().state?.referrer,e=ve.getSignedInUser(),t=Ie(e),{useFeatureGate:n}=Ye(),{isFeatureEnabled:c}=n(se.isExpenseAutomationEnabled),o=L(u=>u.expenseAutomationViewState.selectedPeriodByTenantId)[L(u=>$(u)).tenantId],{isFeatureEnabled:r}=n(se.isExpenseAutomationEnabledV2),s=r||c&&t;return i.jsxs(Te,{children:[i.jsx(v,{path:"/:accountTypeEncoded/:accountIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/:excludeSubAccounts/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/zeni-clearing-account/statements",element:i.jsx(Pe,{})}),i.jsx(v,{path:"/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/uncategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/uncategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/missing-receipts/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/missing_receipts/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/by-class/:accountTypeEncoded/:accountIdEncoded/:classIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/*",element:i.jsx(Be,{referrerType:a})})]})}export{ot as default};
1
+ import{j as i}from"./pdf-B939253e.js";import{j as J,h as R,i as U,l as q,u as L,N as B,k as H,R as Te,m as v}from"./core-CsRts4ln.js";import{ct as $,ga as T,MC as K,De as de,bs as ne,MD as De,II as W,ME as ce,MF as ge,bG as x,Db as le,MG as ye,MH as oe,MI as Ae,MJ as ue,MK as he,ML as Se,MM as ie,Er as ke,bm as Ie}from"./zeni-epic-state-C00HUVJa.js";import{O as Z,jz as O,lW as Q,jO as w,jM as X,k2 as be,js as ve,aE as Ye,aG as se}from"./index-CM-kLVx4.js";import"./mui-Ca9xxv13.js";import{a as A}from"./sentry-fDh08ad-.js";import{w as ee}from"./withTransactionSidePanel-BFrXZ2Dq.js";import{p as te,b as ae}from"./routePaths-B10zk6VD.js";import{u as xe}from"./utils-BC3aPe-C.js";import{d as M}from"./decodeURIComponentSafe-DXQXSSXg.js";import{Z as Pe}from"./ZeniAccountStatementScreen-hhsdWeL6.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./recharts-BjhLQRRU.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./TransactionDetailScreen-ByHGSvnK.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="12391f5e-7f7f-4565-9a66-ebfc8c44ba14",a._sentryDebugIdIdentifier="sentry-dbid-12391f5e-7f7f-4565-9a66-ebfc8c44ba14")}catch{}})();const G=a=>xe(a),Me=H(function(a,e){const t=De(a.transactionState,a.transactionListState,e.selectedAccount.period,e.selectedAccount.timeframe,G(e.selectedAccount.tranListType));return{title:e.selectedAccount.title,subTitle:e.selectedAccount.subTitle,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:e.dataAvailableForPeriod,report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??"../../";e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();const o=Z.getLocalizedStrings(),r=G(e.selectedAccount.tranListType),s=je(t,n,c,r,e.bookCloseDate);O.trackTransactionList(void 0,void 0,void 0,e.selectedAccount.title,void 0,!0),a(ce({uiState:{dateRange:s},type:G(e.selectedAccount.tranListType)})),a(de(r,T(s),!1,r==="missingReceipts"?o.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0)),e.onSelectedTimePeriodChange(T(s))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ce({uiState:{scrollYOffset:t},type:G(e.selectedAccount.tranListType)}))}}})(Q),F=ee(function({...a}){const e=J(),t=R(),n=U(),c=t.pathname.substring(t.pathname.lastIndexOf("/")+1),{tenantEmailDomain:o}=q(),r=Z.getLocalizedStrings(),{accountType:s,title:u,subTitle:h}=Le(c),D="month",g=L(p=>$(p)),Y=g.company?.companyInfo.firstMonthOfFY??1,{dataAvailable:y,initialTimeframeTick:S}=Ee(c,Y,g.bookCloseDate),[k,E]=A.useState(!1),[j,P]=A.useState(void 0),m=A.useMemo(()=>{const p=T(S);return{tranListType:c,accountType:K(s),title:u,subTitle:h,timeframe:D,period:p}},[c,D,s,y]);A.useEffect(()=>{if(!k&&m!=null){E(!0),O.trackTransactionList(void 0,void 0,void 0,m.title);const p=G(m.tranListType);n(de(p,m.period,!0,p==="missingReceipts"?r.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0))}},[k,m,n]);let I=m;return m!=null&&j!=null&&(I={...m,period:j}),I==null?i.jsx(B,{to:"../"}):i.jsx(Me,{firstMonthOfFY:Y,tenantEmailDomain:o,location:t,useFixedPeriod:{timeframe:"month",numberOfPeriods:12},dataAvailableForPeriod:y,navigate:e,selectedAccount:I,referrerType:c,bookCloseDate:g.bookCloseDate,onSelectedTimePeriodChange:p=>P(p),...a})}),Le=a=>{let e="",t="",n="";const c=Z.getLocalizedStrings();switch(a){case"uncategorized-income":e="income",t=c.uncategorizedTransactionList.income.title,n=c.uncategorizedTransactionList.income.subTitle;break;case"uncategorized-expense":e="expenses",t=c.uncategorizedTransactionList.expense.title,n=c.uncategorizedTransactionList.expense.subTitle;break;case"miscategorized-expense":e="expenses",t=c.miscategorizedTransactionList.expense.title,n=c.miscategorizedTransactionList.expense.subTitle;break;case"miscategorized-income":e="income",t=c.miscategorizedTransactionList.income.title,n=c.miscategorizedTransactionList.income.subTitle;break;case"missing-receipts":t=c.uncategorizedTransactionList.missingReceipt.title,n=c.uncategorizedTransactionList.missingReceipt.subTitle}return{accountType:e,title:t,subTitle:n}},Ee=(a,e,t)=>{const n=ne();let c=ne().startOf("month").subtract(11,"month");return t!=null&&a!=="missing-receipts"?t.add(1,"day").isBefore(c)?{dataAvailable:{startDate:t.add(1,"day"),endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}:(c=t.add(1,"day"),{dataAvailable:{startDate:c,endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}):{dataAvailable:te(5,e),initialTimeframeTick:{startDate:c,endDate:n}}},je=(a,e,t,n,c)=>{let o=e;return n==="missingReceipts"||c==null?a.startDate.isBefore(e.startDate,t)?o={startDate:a.startDate,endDate:e.endDate}:a.startDate.isAfter(e.endDate,t)?o={startDate:e.startDate,endDate:a.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(a)}`):o=a.startDate.isBefore(c,t)?{startDate:c.add(1,"day"),endDate:e.endDate}:{startDate:a.startDate,endDate:e.endDate},o},ze=H(function(a,e){const t=ye(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,e.selectedAccount.timeframe,e.selectedAccount.period);return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??me();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{dateRange:o}})),a(le(e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{scrollYOffset:t}}))}}})(Q),Be=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,classIdEncoded:u,timeframe:h,startDate:D,endDate:g,titleEncoded:Y}=q(),y=M(r??""),S=M(s??""),k=M(u??""),E=M(Y??""),j=L(f=>ge(f.transactionListState,S,y,k)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(f=>$(f)),V=_.company?.companyInfo.firstMonthOfFY??1;let d;const l=Oe(y,S,k,h,D,g,E);if(l){const f={startDate:x(D,"YYYY-MM-DD"),endDate:x(g,"YYYY-MM-DD")},N=Ce(j?.dateRange,f);d={accountId:S,accountType:K(y),classId:k,title:E,timeframe:h,period:N}}A.useEffect(()=>{P||d==null||(m(!0),O.trackTransactionList(d.accountId,void 0,a,d.title),c(le(d.accountId,d.accountType,d.classId,d.period)))},[P,d,c]);let z=d;d!=null&&I!=null&&(z={...d,period:I});const C=[r,s,u,h,D,g,Y].filter(f=>f!=null);return l&&z!=null?i.jsx(ze,{firstMonthOfFY:V,tenantEmailDomain:o,location:n,navigate:t,selectedAccount:z,referrerType:a,onSelectedTimePeriodChange:f=>p(f),...e}):i.jsx(B,{to:me(C.length)})}),me=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Oe=(a,e,t,n,c,o,r)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&o!=null&&(n==="month"||n==="quarter")&&x(c,"YYYY-MM-DD").isValid()&&x(o,"YYYY-MM-DD").isValid()&&r!=null,Ce=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),Fe=H(function(a,e){const t=he(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.timeframe,e.selectedAccount.period),n=t.account?.coaId,c=e.isConnectedAccountProviderUnit&&Se(n??"");return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0,showStatementPageIcon:c}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??pe();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{dateRange:o}})),a(ue(e.selectedAccount.accountId,e.selectedAccount.accountType,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{scrollYOffset:t}}))},onStatementPageIconClick:()=>{const t=we(e.tenantEmailDomain),n=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(t,{state:{pathnameStackToGoBack:n}})}}})(Q),re=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,timeframe:u,startDate:h,endDate:D,titleEncoded:g,excludeSubAccounts:Y}=q(),y=M(r??""),S=M(s??""),k=M(g??""),E=!(Y!=null&&Y==="exclude_subaccounts"),j=L(b=>Ae(b.transactionListState,S,y)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(b=>$(b)),V=_.company?.featuresActivationInfo.connectedAccountProvider==="unit",d=_.company?.companyInfo.firstMonthOfFY??1;let l;const z=Ge(y,S,u,h,D,k);if(z){const b={startDate:x(h,"YYYY-MM-DD"),endDate:x(D,"YYYY-MM-DD")},fe=_e(j?.dateRange,b);l={accountId:S,accountType:K(y),title:k,timeframe:u,period:fe}}let C=l;l!=null&&I!=null&&(C={...l,period:I});const{areTenantIdsInSync:f}=be();A.useEffect(()=>{!P&&l!=null&&f&&(m(!0),O.trackTransactionList(l.accountId,void 0,a,l.title),c(ue(l.accountId,l.accountType,l.period,void 0,!1,E)))},[P,l,c,f]);const N=[r,s,u,h,D,g].filter(b=>b!=null);return z&&C!=null?i.jsx(Fe,{firstMonthOfFY:d,tenantEmailDomain:o,location:n,navigate:t,isConnectedAccountProviderUnit:V,selectedAccount:C,referrerType:a,onSelectedTimePeriodChange:b=>p(b),...e}):i.jsx(B,{to:pe(N.length)})}),pe=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Ge=(a,e,t,n,c,o)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&(t==="month"||t==="quarter")&&x(n,"YYYY-MM-DD").isValid()&&x(c,"YYYY-MM-DD").isValid()&&o!=null,_e=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),we=a=>`/${a}/transactions/${ke}/statements`;function ot(){const a=R().state?.referrer,e=ve.getSignedInUser(),t=Ie(e),{useFeatureGate:n}=Ye(),{isFeatureEnabled:c}=n(se.isExpenseAutomationEnabled),o=L(u=>u.expenseAutomationViewState.selectedPeriodByTenantId)[L(u=>$(u)).tenantId],{isFeatureEnabled:r}=n(se.isExpenseAutomationEnabledV2),s=r||c&&t;return i.jsxs(Te,{children:[i.jsx(v,{path:"/:accountTypeEncoded/:accountIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/:excludeSubAccounts/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/zeni-clearing-account/statements",element:i.jsx(Pe,{})}),i.jsx(v,{path:"/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/uncategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/uncategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/missing-receipts/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/missing_receipts/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/by-class/:accountTypeEncoded/:accountIdEncoded/:classIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/*",element:i.jsx(Be,{referrerType:a})})]})}export{ot as default};
@@ -1,4 +1,4 @@
1
- import{e as A,O as k,V as o,L as q,b as I,a9 as R,o as t,x as m,a8 as W,d as _,cu as G,T as K,c8 as U,A as J,m as a,gD as M,gE as B,gF as F,y as Q,cd as X,ga as z,gG as Y,ar as Z,gK as ee,gL as oe}from"./index-BngCC-zG.js";import{a as j}from"./sentry-CHlUi953.js";import{n as l}from"./mui-DyGc7Pg8.js";import"./pdf-BxqSCr4b.js";import"./zeni-epic-state-D8D2Skiq.js";import"./core-CVVdXRky.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.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]="b47e9681-e0b8-4b96-a348-63c4709d0ddf",e._sentryDebugIdIdentifier="sentry-dbid-b47e9681-e0b8-4b96-a348-63c4709d0ddf")}catch{}})();const L=(e,r)=>`${e}.${r}`,N={labelWidth:new m(120,145,160),controlWidth:new m(110,145,160)},i=k.getLocalizedStrings().transactionDetail.vendorDetails.vendorCreation,te=({selectedAccountId:e,isSaveError:r,selectedClassId:g,selectedOwnerId:d,selectedVendorName:w,allAccounts:u,allClasses:O,allOwners:$,sectionId:h,isDisabled:c,accountsHierarchyList:x,classHierarchyList:b})=>{const s=A(),y=Q(),C=N.labelWidth.value(s),S=N.controlWidth.value(s);return o.jsxs(ae,{"data-testid":I("vendor-details-section",h),children:[o.jsx(ne,{children:i.vendorDetails.title}),o.jsxs(re,{children:[o.jsx(X,{label:{label:i.vendorDetails.vendorName,width:C},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:w,autoComplete:"off",options:{required:!0}},isSaveError:r,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(se,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:C},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:v=>(p=>u.filter(n=>n.accountId===p)[0]?.coaId??"")(v),defaultValue:{selectedOption:e,allOptions:B(x)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c,disableCurrentOption:v=>{const p=u.find(n=>n.accountId===v)?.accountName;return[ee,oe].includes(p??"")},zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:C},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:v=>(p=>O.filter(n=>n.classId===p)[0]?.accountingClassNumber??"")(v),defaultValue:{selectedOption:g,allOptions:M(b)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c}),$!=null?o.jsx(Y,{label:{label:i.vendorDetails.vendorOwner,width:C},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:F($),selectedOption:d},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:c,style:{justifyContent:"space-between"},controlWidth:S}):null]})]})},ae=l.div`
1
+ import{e as A,O as k,V as o,L as q,b as I,a9 as R,o as t,x as m,a8 as W,d as _,cu as G,T as K,c8 as U,A as J,m as a,gD as M,gE as B,gF as F,y as Q,cd as X,ga as z,gG as Y,ar as Z,gK as ee,gL as oe}from"./index-CM-kLVx4.js";import{a as j}from"./sentry-fDh08ad-.js";import{n as l}from"./mui-Ca9xxv13.js";import"./pdf-B939253e.js";import"./zeni-epic-state-C00HUVJa.js";import"./core-CsRts4ln.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./recharts-BjhLQRRU.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./utils-BC3aPe-C.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]="b47e9681-e0b8-4b96-a348-63c4709d0ddf",e._sentryDebugIdIdentifier="sentry-dbid-b47e9681-e0b8-4b96-a348-63c4709d0ddf")}catch{}})();const L=(e,r)=>`${e}.${r}`,N={labelWidth:new m(120,145,160),controlWidth:new m(110,145,160)},i=k.getLocalizedStrings().transactionDetail.vendorDetails.vendorCreation,te=({selectedAccountId:e,isSaveError:r,selectedClassId:g,selectedOwnerId:d,selectedVendorName:w,allAccounts:u,allClasses:O,allOwners:$,sectionId:h,isDisabled:c,accountsHierarchyList:x,classHierarchyList:b})=>{const s=A(),y=Q(),C=N.labelWidth.value(s),S=N.controlWidth.value(s);return o.jsxs(ae,{"data-testid":I("vendor-details-section",h),children:[o.jsx(ne,{children:i.vendorDetails.title}),o.jsxs(re,{children:[o.jsx(X,{label:{label:i.vendorDetails.vendorName,width:C},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:w,autoComplete:"off",options:{required:!0}},isSaveError:r,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(se,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:C},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:v=>(p=>u.filter(n=>n.accountId===p)[0]?.coaId??"")(v),defaultValue:{selectedOption:e,allOptions:B(x)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c,disableCurrentOption:v=>{const p=u.find(n=>n.accountId===v)?.accountName;return[ee,oe].includes(p??"")},zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:C},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:v=>(p=>O.filter(n=>n.classId===p)[0]?.accountingClassNumber??"")(v),defaultValue:{selectedOption:g,allOptions:M(b)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c}),$!=null?o.jsx(Y,{label:{label:i.vendorDetails.vendorOwner,width:C},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:F($),selectedOption:d},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:c,style:{justifyContent:"space-between"},controlWidth:S}):null]})]})},ae=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${t.sp3};
@@ -1,4 +1,4 @@
1
- import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ge,a9 as De,o as a,O as I,x as c,a8 as qe,n as ct,at as dt,D as ft,c2 as ye,C as Te,l as ue,a7 as ce,T as Je,c8 as ut,ag as pt,a6 as mt,f as G,A as Ue,f6 as Le,f7 as je,fD as ht,bo as Ce,h3 as gt,m as i,eT as wt,bH as He,bv as xt,ex as $t,b6 as bt,H as Ze,fj as Dt,bj as yt,bx as Ke,gk as Tt,gl as Ct}from"./index-BngCC-zG.js";import{a as f}from"./sentry-CHlUi953.js";import{n}from"./mui-DyGc7Pg8.js";import{u as St}from"./plaid-xWfKHEqu.js";import{bG as vt}from"./zeni-epic-state-D8D2Skiq.js";import{v as kt}from"./ZeniTransferAmountSlider-BcaZZuAw-BeVI8Qc_.js";import{m as At}from"./BusyIndication-9zDqSKBP-WSsX6_uU.js";import{r as Pt}from"./AccountInfoPageContent-CJ7ycVIK-3aE5KJwU.js";import"./pdf-BxqSCr4b.js";import"./core-CVVdXRky.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./utils-BpkJZQMI.js";import"./downloadPdf-Dsuxeias-CPZEuUrl.js";import"./commonDimensions-Oz1tdAcx-Cf4qEJmU.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]="caf6a274-436b-48cc-9426-84ed2ea799ae",e._sentryDebugIdIdentifier="sentry-dbid-caf6a274-436b-48cc-9426-84ed2ea799ae")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=I.getLocalizedStrings(),Qe="amount",ze="transferFrom",k="transferDetails",et="transferDetailPage",xe=(e,r)=>`${e}.${r}`,tt=e=>`${e}_form`,u={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(i[3],i[4]),labeleMarginLeft:new c(i[0],i[0]),labelMarginRight:new c(i[3],i[3]),labeleMarginBottom:new c(i[2],i[0]),labeledFieldPaddingLeft:new c(i[3],i[0]),labeledFieldPaddingRight:new c(i[3],i[2]),labeledFieldPaddingTop:new c(i[3],i[3]),labeledFieldPaddingBottom:new c(i[3],i[2]),infoLabelPaddingRight:new c(i[0],i[3]),infoLabelMarginTop:new c(i[1],i[0]),controllerWrapperFlex:new c(1,i[0])};function Lt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:h,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:p,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:F,onSaveChangesToLocalStore:q,onBackClick:M,onEstablishConnectionClick:R,fireTrackTransferBetweenAccountsFormClicked:O,onFetchLinkTokenClick:J,onReviewClick:U}){const o=fe(),E=u.largeLabelWidth.value(o),[_,j]=f.useState(!1),m=e.link_account_no_microdeposit,[v,W]=f.useState(m.linkToken??null),[x,z]=f.useState(!1),[V,ie]=f.useState(!1),H=r.transferMoneyPartiesFetchState,Z=ce(H),K=r.transferDetailLocalData.transferFrom?.id,Q=r.transferDetailLocalData.transferTo?.id,Se=ce(K),ve=ce(Q),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),at=f.useCallback(s=>{R?.(s),M(),ie(!1),z(!1)},[M,R]),nt=f.useCallback((s,g)=>{s!=null&&console.log("Plaid Connection Error",s,g)},[]),{open:Y,ready:ee}=St({token:v,onSuccess:at,onExit:nt}),oe=f.useCallback(s=>{s.preventDefault(),s.stopPropagation(),ee?Y():z(!0)},[Y,ee]),P=Je({mode:"all",reValidateMode:"onBlur",defaultValues:f.useMemo(()=>Be(r,oe),[r])});f.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),f.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&ee&&ie(!0)},[ee,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),f.useEffect(()=>{V&&x&&Y()},[V,Y,x]),f.useEffect(()=>{(vt(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),f.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(Z==="In-Progress"&&H==="Completed"||Se!==K||ve!==Q||s)&&P.reset(Be(r,()=>Y()))},[ee,v,m.fetchStatus.fetchState,Z,H,Se,ve,Q,K,me,pe,P,r,Y]);const{isValid:rt}=P.formState;f.useEffect(()=>{const s=P.watch((g,{name:se})=>{if(se!=null&&g!=null){const le=g[k]?.amount??0,he=g[k]?.transferFrom,te=g[k]?.transferTo,ge=r.transferMoneyParties.find(we=>we.id===he?.selectedOption),ae=r.transferMoneyParties.find(we=>we.id===te?.selectedOption);ge?.accType==="paymentAccount"&&ae?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),f.useEffect(()=>{const s=P.watch((g,{name:se})=>{se!=null&&g!=null&&ut(()=>(async(le,he)=>{if(le!=null){const te={...he},ge={amount:{amount:te[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===te[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===te[k].transferTo.selectedOption)};q(ge)}})(se,g))});return()=>{s.unsubscribe()}}),f.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const it=P.handleSubmit(()=>{rt&&(O("Review","Amount Details"),U())});f.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ze}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,oe,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const ke=h.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Ae=ke[ke.length-1].annualPercentageYield.toString(),ot=pt(mt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[_?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(It,{}),t.jsxs(Rt,{children:[t.jsx(Ot,{children:r.reviewTransferDetail.error?.title}),t.jsx(_t,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{O("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Wt,{children:N("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(Ue,{...P,children:t.jsxs(Bt,{id:tt(et),onSubmit:it,children:[t.jsxs(Qt,{children:[t.jsx(Oe,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,ze),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,oe,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Re,{}),t.jsx(Oe,{size:o,children:t.jsx(ea,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,"transferTo"),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,oe)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Re,{}),t.jsx(ht,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:xe(k,Qe),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(Xt,{children:[$?t.jsxs(Vt,{children:[t.jsx(Yt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Ae).replace("__amount__",ot)}),t.jsx(kt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:h,setYieldEarned:B,setTotalBalance:F})]}):null,t.jsxs(Gt,{windowSize:o,children:[t.jsx(Ut,{windowSize:o,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Me,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${N("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Ce,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:o==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Jt,{windowSize:o}),t.jsx(Ht,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${N("0,0",{amount:p,currencySymbol:"$"})}`})]}):t.jsx(Me,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Ae)})}),$?t.jsxs(Ie,{windowSize:o,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Ie,{windowSize:o,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ge,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,h,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const p={label:d.label,value:d.id};return $&&(p.isDisabled=r?d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),p});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:h};w.push(d)}return w},Be=(e,r)=>({transferDetails:{[Qe]: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:jt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=n.div`
1
+ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ge,a9 as De,o as a,O as I,x as c,a8 as qe,n as ct,at as dt,D as ft,c2 as ye,C as Te,l as ue,a7 as ce,T as Je,c8 as ut,ag as pt,a6 as mt,f as G,A as Ue,f6 as Le,f7 as je,fD as ht,bo as Ce,h3 as gt,m as i,eT as wt,bH as He,bv as xt,ex as $t,b6 as bt,H as Ze,fj as Dt,bj as yt,bx as Ke,gk as Tt,gl as Ct}from"./index-CM-kLVx4.js";import{a as f}from"./sentry-fDh08ad-.js";import{n}from"./mui-Ca9xxv13.js";import{u as St}from"./plaid-Du-0dhaT.js";import{bG as vt}from"./zeni-epic-state-C00HUVJa.js";import{v as kt}from"./ZeniTransferAmountSlider-BcaZZuAw-CT5RKdUY.js";import{m as At}from"./BusyIndication-9zDqSKBP-ApwhicGs.js";import{r as Pt}from"./AccountInfoPageContent-CJ7ycVIK-NsaXNkYE.js";import"./pdf-B939253e.js";import"./core-CsRts4ln.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./recharts-BjhLQRRU.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./utils-BC3aPe-C.js";import"./downloadPdf-Dsuxeias-CuYCUFrF.js";import"./commonDimensions-Oz1tdAcx-CRXXe8IB.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]="caf6a274-436b-48cc-9426-84ed2ea799ae",e._sentryDebugIdIdentifier="sentry-dbid-caf6a274-436b-48cc-9426-84ed2ea799ae")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=I.getLocalizedStrings(),Qe="amount",ze="transferFrom",k="transferDetails",et="transferDetailPage",xe=(e,r)=>`${e}.${r}`,tt=e=>`${e}_form`,u={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(i[3],i[4]),labeleMarginLeft:new c(i[0],i[0]),labelMarginRight:new c(i[3],i[3]),labeleMarginBottom:new c(i[2],i[0]),labeledFieldPaddingLeft:new c(i[3],i[0]),labeledFieldPaddingRight:new c(i[3],i[2]),labeledFieldPaddingTop:new c(i[3],i[3]),labeledFieldPaddingBottom:new c(i[3],i[2]),infoLabelPaddingRight:new c(i[0],i[3]),infoLabelMarginTop:new c(i[1],i[0]),controllerWrapperFlex:new c(1,i[0])};function Lt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:h,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:p,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:F,onSaveChangesToLocalStore:q,onBackClick:M,onEstablishConnectionClick:R,fireTrackTransferBetweenAccountsFormClicked:O,onFetchLinkTokenClick:J,onReviewClick:U}){const o=fe(),E=u.largeLabelWidth.value(o),[_,j]=f.useState(!1),m=e.link_account_no_microdeposit,[v,W]=f.useState(m.linkToken??null),[x,z]=f.useState(!1),[V,ie]=f.useState(!1),H=r.transferMoneyPartiesFetchState,Z=ce(H),K=r.transferDetailLocalData.transferFrom?.id,Q=r.transferDetailLocalData.transferTo?.id,Se=ce(K),ve=ce(Q),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),at=f.useCallback(s=>{R?.(s),M(),ie(!1),z(!1)},[M,R]),nt=f.useCallback((s,g)=>{s!=null&&console.log("Plaid Connection Error",s,g)},[]),{open:Y,ready:ee}=St({token:v,onSuccess:at,onExit:nt}),oe=f.useCallback(s=>{s.preventDefault(),s.stopPropagation(),ee?Y():z(!0)},[Y,ee]),P=Je({mode:"all",reValidateMode:"onBlur",defaultValues:f.useMemo(()=>Be(r,oe),[r])});f.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),f.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&ee&&ie(!0)},[ee,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),f.useEffect(()=>{V&&x&&Y()},[V,Y,x]),f.useEffect(()=>{(vt(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),f.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(Z==="In-Progress"&&H==="Completed"||Se!==K||ve!==Q||s)&&P.reset(Be(r,()=>Y()))},[ee,v,m.fetchStatus.fetchState,Z,H,Se,ve,Q,K,me,pe,P,r,Y]);const{isValid:rt}=P.formState;f.useEffect(()=>{const s=P.watch((g,{name:se})=>{if(se!=null&&g!=null){const le=g[k]?.amount??0,he=g[k]?.transferFrom,te=g[k]?.transferTo,ge=r.transferMoneyParties.find(we=>we.id===he?.selectedOption),ae=r.transferMoneyParties.find(we=>we.id===te?.selectedOption);ge?.accType==="paymentAccount"&&ae?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),f.useEffect(()=>{const s=P.watch((g,{name:se})=>{se!=null&&g!=null&&ut(()=>(async(le,he)=>{if(le!=null){const te={...he},ge={amount:{amount:te[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===te[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===te[k].transferTo.selectedOption)};q(ge)}})(se,g))});return()=>{s.unsubscribe()}}),f.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const it=P.handleSubmit(()=>{rt&&(O("Review","Amount Details"),U())});f.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ze}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,oe,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const ke=h.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Ae=ke[ke.length-1].annualPercentageYield.toString(),ot=pt(mt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[_?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(It,{}),t.jsxs(Rt,{children:[t.jsx(Ot,{children:r.reviewTransferDetail.error?.title}),t.jsx(_t,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{O("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Wt,{children:N("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(Ue,{...P,children:t.jsxs(Bt,{id:tt(et),onSubmit:it,children:[t.jsxs(Qt,{children:[t.jsx(Oe,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,ze),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,oe,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Re,{}),t.jsx(Oe,{size:o,children:t.jsx(ea,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,"transferTo"),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,oe)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Re,{}),t.jsx(ht,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:xe(k,Qe),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(Xt,{children:[$?t.jsxs(Vt,{children:[t.jsx(Yt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Ae).replace("__amount__",ot)}),t.jsx(kt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:h,setYieldEarned:B,setTotalBalance:F})]}):null,t.jsxs(Gt,{windowSize:o,children:[t.jsx(Ut,{windowSize:o,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Me,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${N("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Ce,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:o==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Jt,{windowSize:o}),t.jsx(Ht,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${N("0,0",{amount:p,currencySymbol:"$"})}`})]}):t.jsx(Me,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Ae)})}),$?t.jsxs(Ie,{windowSize:o,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Ie,{windowSize:o,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ge,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,h,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const p={label:d.label,value:d.id};return $&&(p.isDisabled=r?d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),p});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:h};w.push(d)}return w},Be=(e,r)=>({transferDetails:{[Qe]: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:jt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=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{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,a5 as G,bo as he,a_ as tt,w as de,b as F,L as it,be as ot,o as i,x as w,C as T,O as M,f as b,b6 as nt,eO as oe,d as N,m as p,ao as me,bd as He,ab as Ke,fm as at,aM as rt,a as st,cR as lt,l as B,aj as dt,iA as ct,bf as pt,aB as ht,ef as mt,cz as xt,fj as gt,bV as ut,jq as yt,c$ as ge,H as U,bm as ft,b_ as ue,ib as wt,c1 as $t}from"./index-BngCC-zG.js";import{a as y,b as bt}from"./sentry-CHlUi953.js";import{n as o,c as ye}from"./mui-DyGc7Pg8.js";import{bG as q,bp as jt}from"./zeni-epic-state-D8D2Skiq.js";import{s as vt}from"./commonDimensions-Oz1tdAcx-Cf4qEJmU.js";import{a as St,M as Ye,S as Fe,L as Ct,_ as kt}from"./common-BpxEACHl-SqfXrkK_.js";import{g as fe}from"./BoxItem-Bxa1M4QU-BEQbjRW-.js";import{o as zt}from"./transaction-placeholder-CpOwZAMG-BRNI97Lv.js";import{y as Tt}from"./MoreMenuButton-BsBKwXvk-DeCIVX9G.js";import{o as Pt}from"./money-2cg1MuG4-DZxnWrWu.js";import{o as Dt}from"./shield-DOlUxcFf-u1WG480f.js";import{R as we,N as $e,X as be,Y as je,O as ve,F as Lt}from"./recharts-CMjB5mmq.js";import"./pdf-BxqSCr4b.js";import"./core-CVVdXRky.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.js";import"./calculateSize-B2w5JPEU-BqvYgtxt.js";import"./bank-letter-BOcVjN6J-B0RfZgcz.js";import"./spend-limit-D6SyboD4-DKcfJ6au.js";import"./dollar-round-D18u7nlm-BkHqkGHG.js";import"./page-summary-D7_VQHwN-V_V9hbFl.js";import"./unlock-BPWn2I5L-BfuVrsIJ.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]="74462b22-1cfe-4805-8cd4-df0e40ea0e3d",e._sentryDebugIdIdentifier="sentry-dbid-74462b22-1cfe-4805-8cd4-df0e40ea0e3d")}catch{}})();const xe=M.getLocalizedStrings().spendManagement.treasury.overviewPage.header,It={key:"description",value:xe.trasnactionTitle,sortOrder:"ascending",width:new w(120,250,400,400,500)},Mt={key:"date",value:xe.paymentDate,sortOrder:"ascending",width:new w(100,120,200,250,300)},Ot={key:"amount",value:xe.amount,sortOrder:"ascending",width:new w(80,100,150,180,200)},ce=()=>[It,Mt,Ot],z={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new w(p[0],p[4]),headerLastColumnRightPadding:new w(p[3],p[11]),headerLastColumnBottomPadding:new w(p[0],p[4]),headerLastColumnLeftPadding:new w(p[3],p[11]),headerHeight:new w(Ye,Fe),sortIconSize:new w(p[2],p[2]),headerPaddingTop:new w(p[0],2)},Rt=bt.memo(function({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const s=A(),l=L(),[r,u]=y.useState(ce());y.useEffect(()=>{const d=[...r];for(const h of d)h.key===n.sortKey?h.sortOrder=n.sortOrder:h.sortOrder="ascending";u(d)},[n.sortKey,n.sortOrder]);const m=(d,h)=>{let c=h;n.sortKey===d&&(c=h==="ascending"?"descending":"ascending"),a(d,c)},x=r.find(d=>d.key===n.sortKey)??r[0],g=r.map(d=>d.key),f=M.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(Nt,{windowSize:l,children:[t.jsxs(Kt,{children:[t.jsx(Ft,{children:t.jsx(Yt,{})}),t.jsx(ft,{title:f.sortBy,placeholder:f.sortBy,pickerValues:g,valueToLabel:d=>r.find(h=>h.key===d)?.value??"",selectedValue:n.sortKey,onPickerSelectionChanged:d=>{m(d,"ascending")},optionTextStyle:de.extraSmallRegular,titleTextStyle:de.extraSmallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.grey4})]}),t.jsxs(_t,{onClick:()=>m(x.key,x.sortOrder),"data-testid":F("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:x.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:x,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===x.key,children:t.jsx(ue,{})})})]})]}):t.jsx(At,{windowSize:l,children:t.jsx(Bt,{children:r.map(d=>d.width.value(l)!==0&&t.jsxs(Et,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:d.key,wrapperWidth:d.width,windowSize:l,children:[t.jsxs(Wt,{onClick:()=>m(d.key,d.sortOrder),"data-testid":F("cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:d.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:d,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===d.key,children:t.jsx(ue,{})})})]}),t.jsx(Vt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===d.key&&d.key!=="date",children:t.jsx(Ht,{onClick:()=>m("date","ascending"),"data-testid":F("cards-list-sort-cancel",n.sortKey)})})]},d.key))})})}),At=o.div`
1
+ import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,a5 as G,bo as he,a_ as tt,w as de,b as F,L as it,be as ot,o as i,x as w,C as T,O as M,f as b,b6 as nt,eO as oe,d as N,m as p,ao as me,bd as He,ab as Ke,fm as at,aM as rt,a as st,cR as lt,l as B,aj as dt,iA as ct,bf as pt,aB as ht,ef as mt,cz as xt,fj as gt,bV as ut,jq as yt,c$ as ge,H as U,bm as ft,b_ as ue,ib as wt,c1 as $t}from"./index-CM-kLVx4.js";import{a as y,b as bt}from"./sentry-fDh08ad-.js";import{n as o,c as ye}from"./mui-Ca9xxv13.js";import{bG as q,bp as jt}from"./zeni-epic-state-C00HUVJa.js";import{s as vt}from"./commonDimensions-Oz1tdAcx-CRXXe8IB.js";import{a as St,M as Ye,S as Fe,L as Ct,_ as kt}from"./common-BpxEACHl-KZ-vbPPc.js";import{g as fe}from"./BoxItem-Bxa1M4QU-C2Kb1GRV.js";import{o as zt}from"./transaction-placeholder-CpOwZAMG-CPO3W1DV.js";import{y as Tt}from"./MoreMenuButton-BsBKwXvk-ClzmCqOH.js";import{o as Pt}from"./money-2cg1MuG4-DrKWt7H-.js";import{o as Dt}from"./shield-DOlUxcFf-BqI86OCQ.js";import{R as we,N as $e,X as be,Y as je,O as ve,F as Lt}from"./recharts-BjhLQRRU.js";import"./pdf-B939253e.js";import"./core-CsRts4ln.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./utils-BC3aPe-C.js";import"./calculateSize-B2w5JPEU-bKAzqeB1.js";import"./bank-letter-BOcVjN6J-CT4dpGSQ.js";import"./spend-limit-D6SyboD4-Zip6F-uT.js";import"./dollar-round-D18u7nlm-D9R4fejb.js";import"./page-summary-D7_VQHwN-zvSY4T76.js";import"./unlock-BPWn2I5L-Dly17oLj.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]="74462b22-1cfe-4805-8cd4-df0e40ea0e3d",e._sentryDebugIdIdentifier="sentry-dbid-74462b22-1cfe-4805-8cd4-df0e40ea0e3d")}catch{}})();const xe=M.getLocalizedStrings().spendManagement.treasury.overviewPage.header,It={key:"description",value:xe.trasnactionTitle,sortOrder:"ascending",width:new w(120,250,400,400,500)},Mt={key:"date",value:xe.paymentDate,sortOrder:"ascending",width:new w(100,120,200,250,300)},Ot={key:"amount",value:xe.amount,sortOrder:"ascending",width:new w(80,100,150,180,200)},ce=()=>[It,Mt,Ot],z={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new w(p[0],p[4]),headerLastColumnRightPadding:new w(p[3],p[11]),headerLastColumnBottomPadding:new w(p[0],p[4]),headerLastColumnLeftPadding:new w(p[3],p[11]),headerHeight:new w(Ye,Fe),sortIconSize:new w(p[2],p[2]),headerPaddingTop:new w(p[0],2)},Rt=bt.memo(function({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const s=A(),l=L(),[r,u]=y.useState(ce());y.useEffect(()=>{const d=[...r];for(const h of d)h.key===n.sortKey?h.sortOrder=n.sortOrder:h.sortOrder="ascending";u(d)},[n.sortKey,n.sortOrder]);const m=(d,h)=>{let c=h;n.sortKey===d&&(c=h==="ascending"?"descending":"ascending"),a(d,c)},x=r.find(d=>d.key===n.sortKey)??r[0],g=r.map(d=>d.key),f=M.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(Nt,{windowSize:l,children:[t.jsxs(Kt,{children:[t.jsx(Ft,{children:t.jsx(Yt,{})}),t.jsx(ft,{title:f.sortBy,placeholder:f.sortBy,pickerValues:g,valueToLabel:d=>r.find(h=>h.key===d)?.value??"",selectedValue:n.sortKey,onPickerSelectionChanged:d=>{m(d,"ascending")},optionTextStyle:de.extraSmallRegular,titleTextStyle:de.extraSmallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.grey4})]}),t.jsxs(_t,{onClick:()=>m(x.key,x.sortOrder),"data-testid":F("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:x.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:x,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===x.key,children:t.jsx(ue,{})})})]})]}):t.jsx(At,{windowSize:l,children:t.jsx(Bt,{children:r.map(d=>d.width.value(l)!==0&&t.jsxs(Et,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:d.key,wrapperWidth:d.width,windowSize:l,children:[t.jsxs(Wt,{onClick:()=>m(d.key,d.sortOrder),"data-testid":F("cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:d.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:d,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===d.key,children:t.jsx(ue,{})})})]}),t.jsx(Vt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===d.key&&d.key!=="date",children:t.jsx(Ht,{onClick:()=>m("date","ascending"),"data-testid":F("cards-list-sort-cancel",n.sortKey)})})]},d.key))})})}),At=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 ae,e as G,_ as Ce,h as we,a7 as $e,V as r,a_ as fe,eY as ye,ao as be,o as i,iA as ke,bo as je,C as j,a as K,b as J,O as N,d as f,D as A,f as a,x as z,l as _,cz as Se,bq as ze,n as ve,H as Le,eI as Me,m as h,az as Pe,c2 as Be,a8 as Ee,w as Q,cu as Te}from"./index-BngCC-zG.js";import{a as s,b as Ie}from"./sentry-CHlUi953.js";import{n as o}from"./mui-DyGc7Pg8.js";import{H6 as De}from"./zeni-epic-state-D8D2Skiq.js";import{I as We,N as _e}from"./VideoPlayer-VAzOGCDL-BYL37uoQ.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-CrxycPHV.js";import{t as Re}from"./clock-CJkylEKt-o4osYW2f.js";import{o as Ge}from"./shield-DOlUxcFf-u1WG480f.js";import"./pdf-BxqSCr4b.js";import"./core-CVVdXRky.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.js";import"./media-player-D-MhIu5T.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]="46709a0c-68b7-4e4b-8508-661979fca2bd",e._sentryDebugIdIdentifier="sentry-dbid-46709a0c-68b7-4e4b-8508-661979fca2bd")}catch{}})();const Ne=({isOpen:e,onClose:g})=>{const d=G(),C=N.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Me,{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(Oe,{children:r.jsx(qe,{onClick:g})}),r.jsxs(Ve,{children:[r.jsx(Fe,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(Z,{children:C.agreementDrawer.intro}),r.jsx(H,{children:C.agreementDrawer.introBullets.map((p,u)=>r.jsx(re,{children:p},u))}),r.jsx(H,{children:C.agreementDrawer.documents.map((p,u)=>r.jsx(Ye,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ue,{children:p.links.map((w,k)=>r.jsx(Xe,{children:w.link!==""?r.jsx(ee,{href:w.link,target:"_blank",rel:"noopener noreferrer",children:w.text}):w.text},k))}):r.jsx(ee,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},u))}),r.jsx(Z,{style:{marginTop:i.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(H,{children:C.agreementDrawer.confirmBullets.map((p,u)=>r.jsx(re,{children:p},u))})]})]})})},Ae=o.div`
1
+ import{y as ae,e as G,_ as Ce,h as we,a7 as $e,V as r,a_ as fe,eY as ye,ao as be,o as i,iA as ke,bo as je,C as j,a as K,b as J,O as N,d as f,D as A,f as a,x as z,l as _,cz as Se,bq as ze,n as ve,H as Le,eI as Me,m as h,az as Pe,c2 as Be,a8 as Ee,w as Q,cu as Te}from"./index-CM-kLVx4.js";import{a as s,b as Ie}from"./sentry-fDh08ad-.js";import{n as o}from"./mui-Ca9xxv13.js";import{H6 as De}from"./zeni-epic-state-C00HUVJa.js";import{I as We,N as _e}from"./VideoPlayer-VAzOGCDL-Hgp4vsnE.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-CDaF_oVp.js";import{t as Re}from"./clock-CJkylEKt-C1Si1fkb.js";import{o as Ge}from"./shield-DOlUxcFf-BqI86OCQ.js";import"./pdf-B939253e.js";import"./core-CsRts4ln.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./recharts-BjhLQRRU.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./utils-BC3aPe-C.js";import"./media-player-BmpFVVq9.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]="46709a0c-68b7-4e4b-8508-661979fca2bd",e._sentryDebugIdIdentifier="sentry-dbid-46709a0c-68b7-4e4b-8508-661979fca2bd")}catch{}})();const Ne=({isOpen:e,onClose:g})=>{const d=G(),C=N.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Me,{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(Oe,{children:r.jsx(qe,{onClick:g})}),r.jsxs(Ve,{children:[r.jsx(Fe,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(Z,{children:C.agreementDrawer.intro}),r.jsx(H,{children:C.agreementDrawer.introBullets.map((p,u)=>r.jsx(re,{children:p},u))}),r.jsx(H,{children:C.agreementDrawer.documents.map((p,u)=>r.jsx(Ye,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ue,{children:p.links.map((w,k)=>r.jsx(Xe,{children:w.link!==""?r.jsx(ee,{href:w.link,target:"_blank",rel:"noopener noreferrer",children:w.text}):w.text},k))}):r.jsx(ee,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},u))}),r.jsx(Z,{style:{marginTop:i.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(H,{children:C.agreementDrawer.confirmBullets.map((p,u)=>r.jsx(re,{children:p},u))})]})]})})},Ae=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{j as e}from"./pdf-BxqSCr4b.js";import{j as L,h as U,i as P,l as R,u as g,N as F,k as O,R as he,m as k}from"./core-CVVdXRky.js";import{H6 as z,ct as v,Lr as B,zV as ne,cW as W,zD as se,Lt as Se,zY as xe,Lp as Ie,Lq as re,LH as we,y2 as Te,pc as je,Lv as ke,A7 as Ce,Ls as oe,bO as Z,zC as ie,cy as be,cA as Ae,Mz as ve,MA as Ee,zE as De,MB as Fe,zF as Le,zO as Ue,bt as Pe,FX as Be,FY as Me,G5 as Ve,F5 as Re,cV as Oe,F4 as ze,Hb as Ne,Gj as _e}from"./zeni-epic-state-D8D2Skiq.js";import{_ as N,a7 as Ge,js as A,bk as _,jz as C,L as $,lP as $e,lQ as He,lR as H,e as q,y as K,k2 as We,aE as ce,aG as D,jQ as V,x as Ze,lS as qe,kv as Q,jO as Ke,lT as Qe,jM as Y,lU as Ye,lV as Je,kc as Xe}from"./index-BngCC-zG.js";import{n as M,D as et,S as tt}from"./mui-DyGc7Pg8.js";import at from"./NotFoundScreen-BOQb1xUE.js";import{S as ee}from"./SetupPagesScreen-D_H5m3yT.js";import{a as u}from"./sentry-CHlUi953.js";import{M as le}from"./MobileAppDrawer-TF-9OTZ8.js";import{F as nt}from"./FeaturePreviewScreen-C3Y9pgiz.js";import{a as te}from"./analyticsHelper-RqmdZ4w4.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.js";import"./routePaths-B2Ez8xiG.js";import"./BusinessVerificationPageScreen-BlaiKu4I.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]="9c870022-792e-4f67-8d48-514db409eea8",t._sentryDebugIdIdentifier="sentry-dbid-9c870022-792e-4f67-8d48-514db409eea8")}catch{}})();const st=M.div`
1
+ import{j as e}from"./pdf-B939253e.js";import{j as L,h as U,i as P,l as R,u as g,N as F,k as O,R as he,m as k}from"./core-CsRts4ln.js";import{H6 as z,ct as v,Lr as B,zV as ne,cW as W,zD as se,Lt as Se,zY as xe,Lp as Ie,Lq as re,LH as we,y2 as Te,pc as je,Lv as ke,A7 as Ce,Ls as oe,bO as Z,zC as ie,cy as be,cA as Ae,Mz as ve,MA as Ee,zE as De,MB as Fe,zF as Le,zO as Ue,bt as Pe,FX as Be,FY as Me,G5 as Ve,F5 as Re,cV as Oe,F4 as ze,Hb as Ne,Gj as _e}from"./zeni-epic-state-C00HUVJa.js";import{_ as N,a7 as Ge,js as A,bk as _,jz as C,L as $,lP as $e,lQ as He,lR as H,e as q,y as K,k2 as We,aE as ce,aG as D,jQ as V,x as Ze,lS as qe,kv as Q,jO as Ke,lT as Qe,jM as Y,lU as Ye,lV as Je,kc as Xe}from"./index-CM-kLVx4.js";import{n as M,D as et,S as tt}from"./mui-Ca9xxv13.js";import at from"./NotFoundScreen-DTEhtYR0.js";import{S as ee}from"./SetupPagesScreen-BuUIKag1.js";import{a as u}from"./sentry-fDh08ad-.js";import{M as le}from"./MobileAppDrawer-rVevilC6.js";import{F as nt}from"./FeaturePreviewScreen-Bde69TZv.js";import{a as te}from"./analyticsHelper-B9Ts5e--.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./recharts-BjhLQRRU.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./utils-BC3aPe-C.js";import"./routePaths-B10zk6VD.js";import"./BusinessVerificationPageScreen-CbTYG8Hf.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]="9c870022-792e-4f67-8d48-514db409eea8",t._sentryDebugIdIdentifier="sentry-dbid-9c870022-792e-4f67-8d48-514db409eea8")}catch{}})();const st=M.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{y as v,e as S,V as t,a_ as I,an as z,o as r,O as P,f as m,bV as C,x as T,m as h,l as B}from"./index-BngCC-zG.js";import{a as p}from"./sentry-CHlUi953.js";import{n as o}from"./mui-DyGc7Pg8.js";import{$ as _}from"./BoxItem-Bxa1M4QU-BEQbjRW-.js";import{o as D}from"./commonDimensions-Oz1tdAcx-Cf4qEJmU.js";import{O as M}from"./StatementItem-vVtoBN2w-CGfe2rf-.js";import"./pdf-BxqSCr4b.js";import"./zeni-epic-state-D8D2Skiq.js";import"./core-CVVdXRky.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.js";import"./downloadPdf-Dsuxeias-CPZEuUrl.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]="624e2652-13ed-4500-a659-4848f6600063",e._sentryDebugIdIdentifier="sentry-dbid-624e2652-13ed-4500-a659-4848f6600063")}catch{}})();const u=P.getLocalizedStrings().spendManagement.treasury.statements,g={listItemMargin:new T(h[3],h[8])},ie=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:a,onBackClick:f})=>{const w=v(),i=S(),x=p.createRef(),y=p.useRef(),k=a.statements.length===0,$=()=>D.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=a.statements[s];return k===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${g.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:_(s,a.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(E,{children:t.jsx(b,{windowSize:i,children:t.jsx(O,{children:u.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:u.title,backgroundColor:w.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(N,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:a.statements.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},R=o.div``,b=o.div`
1
+ import{y as v,e as S,V as t,a_ as I,an as z,o as r,O as P,f as m,bV as C,x as T,m as h,l as B}from"./index-CM-kLVx4.js";import{a as p}from"./sentry-fDh08ad-.js";import{n as o}from"./mui-Ca9xxv13.js";import{$ as _}from"./BoxItem-Bxa1M4QU-C2Kb1GRV.js";import{o as D}from"./commonDimensions-Oz1tdAcx-CRXXe8IB.js";import{O as M}from"./StatementItem-vVtoBN2w-DXHKcNMW.js";import"./pdf-B939253e.js";import"./zeni-epic-state-C00HUVJa.js";import"./core-CsRts4ln.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./recharts-BjhLQRRU.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./utils-BC3aPe-C.js";import"./downloadPdf-Dsuxeias-CuYCUFrF.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]="624e2652-13ed-4500-a659-4848f6600063",e._sentryDebugIdIdentifier="sentry-dbid-624e2652-13ed-4500-a659-4848f6600063")}catch{}})();const u=P.getLocalizedStrings().spendManagement.treasury.statements,g={listItemMargin:new T(h[3],h[8])},ie=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:a,onBackClick:f})=>{const w=v(),i=S(),x=p.createRef(),y=p.useRef(),k=a.statements.length===0,$=()=>D.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=a.statements[s];return k===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${g.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:_(s,a.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(E,{children:t.jsx(b,{windowSize:i,children:t.jsx(O,{children:u.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:u.title,backgroundColor:w.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(N,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:a.statements.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},R=o.div``,b=o.div`
2
2
  margin: ${e=>`${r.sp0} ${g.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{y as v,e as L,V as t,a_ as I,an as S,o as r,O as z,f as h,bV as T,x as C,m as p,l as P}from"./index-BngCC-zG.js";import{a as m}from"./sentry-CHlUi953.js";import{n as o}from"./mui-DyGc7Pg8.js";import{$ as B}from"./BoxItem-Bxa1M4QU-BEQbjRW-.js";import{o as _}from"./commonDimensions-Oz1tdAcx-Cf4qEJmU.js";import{O as D}from"./StatementItem-vVtoBN2w-CGfe2rf-.js";import"./pdf-BxqSCr4b.js";import"./zeni-epic-state-D8D2Skiq.js";import"./core-CVVdXRky.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.js";import"./downloadPdf-Dsuxeias-CPZEuUrl.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]="1d57c1e1-2099-433a-8d84-83b49db7b3b4",e._sentryDebugIdIdentifier="sentry-dbid-1d57c1e1-2099-433a-8d84-83b49db7b3b4")}catch{}})();const b=z.getLocalizedStrings().spendManagement.treasury.taxLetter,g={listItemMargin:new C(p[3],p[8])},ie=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const w=v(),i=L(),f=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>_.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(x,{windowSize:i,style:{...l,width:`calc(100% - 2*${g.listItemMargin.valuePx(i)})`},children:t.jsx(D,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:B(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(x,{windowSize:i,children:t.jsx(O,{children:b.noTaxLetter})})})})};return t.jsxs(E,{children:[t.jsx(I,{title:b.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(S,{children:({height:s,width:l})=>t.jsx(N,{ref:f,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},M=o.div``,x=o.div`
1
+ import{y as v,e as L,V as t,a_ as I,an as S,o as r,O as z,f as h,bV as T,x as C,m as p,l as P}from"./index-CM-kLVx4.js";import{a as m}from"./sentry-fDh08ad-.js";import{n as o}from"./mui-Ca9xxv13.js";import{$ as B}from"./BoxItem-Bxa1M4QU-C2Kb1GRV.js";import{o as _}from"./commonDimensions-Oz1tdAcx-CRXXe8IB.js";import{O as D}from"./StatementItem-vVtoBN2w-DXHKcNMW.js";import"./pdf-B939253e.js";import"./zeni-epic-state-C00HUVJa.js";import"./core-CsRts4ln.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./recharts-BjhLQRRU.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./utils-BC3aPe-C.js";import"./downloadPdf-Dsuxeias-CuYCUFrF.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]="1d57c1e1-2099-433a-8d84-83b49db7b3b4",e._sentryDebugIdIdentifier="sentry-dbid-1d57c1e1-2099-433a-8d84-83b49db7b3b4")}catch{}})();const b=z.getLocalizedStrings().spendManagement.treasury.taxLetter,g={listItemMargin:new C(p[3],p[8])},ie=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const w=v(),i=L(),f=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>_.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(x,{windowSize:i,style:{...l,width:`calc(100% - 2*${g.listItemMargin.valuePx(i)})`},children:t.jsx(D,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:B(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(x,{windowSize:i,children:t.jsx(O,{children:b.noTaxLetter})})})})};return t.jsxs(E,{children:[t.jsx(I,{title:b.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(S,{children:({height:s,width:l})=>t.jsx(N,{ref:f,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},M=o.div``,x=o.div`
2
2
  margin: ${e=>`${r.sp0} ${g.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{O as Y,V as s,y as _,an as O,w as $,ag as z,b as k,o as M,f as I,l as P}from"./index-BngCC-zG.js";import{a as w,b as q}from"./sentry-CHlUi953.js";import{Fu as h}from"./zeni-epic-state-D8D2Skiq.js";import{d as B,g as T,p as j,u as K}from"./chartTypes-CD3vrBsI-4eICteeW.js";import{n as L}from"./mui-DyGc7Pg8.js";import{o as R}from"./toCOABalancesWithID-aLNB35t7-DBx2vR3D.js";import{V as N}from"./toChartData-DUL6vnzJ-CHvhrhF4.js";import{J as V,E as A,X as G,Y as Q,F as W,Q as J,K as X}from"./recharts-CMjB5mmq.js";import"./pdf-BxqSCr4b.js";import"./core-CVVdXRky.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.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]="f7be1499-582c-4aec-aa8d-eb01ab5fdd9d",e._sentryDebugIdIdentifier="sentry-dbid-f7be1499-582c-4aec-aa8d-eb01ab5fdd9d")}catch{}})();const H=L.div`
1
+ import{O as Y,V as s,y as _,an as O,w as $,ag as z,b as k,o as M,f as I,l as P}from"./index-CM-kLVx4.js";import{a as w,b as q}from"./sentry-fDh08ad-.js";import{Fu as h}from"./zeni-epic-state-C00HUVJa.js";import{d as B,g as T,p as j,u as K}from"./chartTypes-CD3vrBsI-DlT7D3-o.js";import{n as L}from"./mui-Ca9xxv13.js";import{o as R}from"./toCOABalancesWithID-aLNB35t7-I1omFuyE.js";import{V as N}from"./toChartData-DUL6vnzJ-CT6XC2gk.js";import{J as V,E as A,X as G,Y as Q,F as W,Q as J,K as X}from"./recharts-BjhLQRRU.js";import"./pdf-B939253e.js";import"./core-CsRts4ln.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./utils-BC3aPe-C.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]="f7be1499-582c-4aec-aa8d-eb01ab5fdd9d",e._sentryDebugIdIdentifier="sentry-dbid-f7be1499-582c-4aec-aa8d-eb01ab5fdd9d")}catch{}})();const H=L.div`
2
2
  display: flex;
3
3
  `,U=L.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{e as k,V as i,L as b,o as n,O as L,b as $,an as N,x as l,ar as H,c2 as _,m as a,l as B,a8 as V}from"./index-BngCC-zG.js";import{a as R}from"./sentry-CHlUi953.js";import{n as r}from"./mui-DyGc7Pg8.js";import q from"./TrendChart-Bnp4Pcdf-CsoTufL2.js";import{C as A}from"./NoDataChart-CrKeqWSr-aTXx8C4D.js";import{F as E}from"./InsightsSection-B6CNlTNH-BFr6MnTG.js";import{D as K}from"./TransactionList-BB-xoIGm-Cfa3U35Q.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]="6baad395-ade4-4f7e-9521-6117845e8a37",e._sentryDebugIdIdentifier="sentry-dbid-6baad395-ade4-4f7e-9521-6117845e8a37")}catch{}})();const W=r.div`
1
+ import{e as k,V as i,L as b,o as n,O as L,b as $,an as N,x as l,ar as H,c2 as _,m as a,l as B,a8 as V}from"./index-CM-kLVx4.js";import{a as R}from"./sentry-fDh08ad-.js";import{n as r}from"./mui-Ca9xxv13.js";import q from"./TrendChart-Bnp4Pcdf-B89YGErG.js";import{C as A}from"./NoDataChart-CrKeqWSr-CeScymZW.js";import{F as E}from"./InsightsSection-B6CNlTNH-BmptuiIV.js";import{D as K}from"./TransactionList-BB-xoIGm-F7S3v1aS.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]="6baad395-ade4-4f7e-9521-6117845e8a37",e._sentryDebugIdIdentifier="sentry-dbid-6baad395-ade4-4f7e-9521-6117845e8a37")}catch{}})();const W=r.div`
2
2
  display: inline-block;
3
3
  `,G=r.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{y as ie,e as ce,_ as Qe,a7 as Ze,g4 as I,he as J,T as Ke,hf as Xe,hg as je,c8 as Ye,V as o,a_ as en,bR as nn,bS as on,bT as tn,A as cn,hh as sn,L as an,a9 as ln,f0 as dn,O as G,hi as _e,x as u,l as rn,o as a,cc as ye,ad as N,ga as oe,hj as te,hk as Z,hl as un,m as r,d as fe,f as Ae,fu as Ve,C as Se,aD as pn}from"./index-BngCC-zG.js";import{a as K}from"./sentry-CHlUi953.js";import{n as s}from"./mui-DyGc7Pg8.js";import{Gl as Te,FZ as mn,F_ as gn,cU as xn}from"./zeni-epic-state-D8D2Skiq.js";import{h as hn}from"./VendorsAccountsSection-CgSJu8wq-CW2zmnnP.js";import"./pdf-BxqSCr4b.js";import"./core-CVVdXRky.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.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]="c4234151-8328-4f2e-a168-17d53f13e18d",e._sentryDebugIdIdentifier="sentry-dbid-c4234151-8328-4f2e-a168-17d53f13e18d")}catch{}})();const $={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 fe("standardMedium","largeMedium")},bn=s.div`
1
+ import{y as ie,e as ce,_ as Qe,a7 as Ze,g4 as I,he as J,T as Ke,hf as Xe,hg as je,c8 as Ye,V as o,a_ as en,bR as nn,bS as on,bT as tn,A as cn,hh as sn,L as an,a9 as ln,f0 as dn,O as G,hi as _e,x as u,l as rn,o as a,cc as ye,ad as N,ga as oe,hj as te,hk as Z,hl as un,m as r,d as fe,f as Ae,fu as Ve,C as Se,aD as pn}from"./index-CM-kLVx4.js";import{a as K}from"./sentry-fDh08ad-.js";import{n as s}from"./mui-Ca9xxv13.js";import{Gl as Te,FZ as mn,F_ as gn,cU as xn}from"./zeni-epic-state-C00HUVJa.js";import{h as hn}from"./VendorsAccountsSection-CgSJu8wq-B4TwJfQN.js";import"./pdf-B939253e.js";import"./core-CsRts4ln.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./recharts-BjhLQRRU.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./utils-BC3aPe-C.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]="c4234151-8328-4f2e-a168-17d53f13e18d",e._sentryDebugIdIdentifier="sentry-dbid-c4234151-8328-4f2e-a168-17d53f13e18d")}catch{}})();const $={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 fe("standardMedium","largeMedium")},bn=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>$.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{a7 as S,V as t,hn as _,ho as W,e as T,O,bR as L,c as k,bS as U,bT as z,T as R,A as G,ci as M,cf as D,x as b,cg as H,f as A,k as J,L as K,a as Q,o as i,l as X,m as F,D as Y,au as Z}from"./index-BngCC-zG.js";import{a as l}from"./sentry-CHlUi953.js";import{n as f}from"./mui-DyGc7Pg8.js";import{bG as ee,bs as te}from"./zeni-epic-state-D8D2Skiq.js";import"./pdf-BxqSCr4b.js";import"./core-CVVdXRky.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.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]="c9af28e4-3818-471b-9332-cc3ad6a68813",e._sentryDebugIdIdentifier="sentry-dbid-c9af28e4-3818-471b-9332-cc3ad6a68813")}catch{}})();const x={labelWidth:new b(152,176,176),smallLabelWidth:new b(92,110,110),paddingBottom:new b(F[3],F[2]),width:new b(300,420,420)},ie=f.div`
1
+ import{a7 as S,V as t,hn as _,ho as W,e as T,O,bR as L,c as k,bS as U,bT as z,T as R,A as G,ci as M,cf as D,x as b,cg as H,f as A,k as J,L as K,a as Q,o as i,l as X,m as F,D as Y,au as Z}from"./index-CM-kLVx4.js";import{a as l}from"./sentry-fDh08ad-.js";import{n as f}from"./mui-Ca9xxv13.js";import{bG as ee,bs as te}from"./zeni-epic-state-C00HUVJa.js";import"./pdf-B939253e.js";import"./core-CsRts4ln.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./recharts-BjhLQRRU.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./utils-BC3aPe-C.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]="c9af28e4-3818-471b-9332-cc3ad6a68813",e._sentryDebugIdIdentifier="sentry-dbid-c9af28e4-3818-471b-9332-cc3ad6a68813")}catch{}})();const x={labelWidth:new b(152,176,176),smallLabelWidth:new b(92,110,110),paddingBottom:new b(F[3],F[2]),width:new b(300,420,420)},ie=f.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{T as M,f1 as g,a7 as W,e as q,O as A,c8 as G,V as i,A as H,b as J,f2 as K,o as a,f as Q,cj as X,a9 as Y,x as y,a8 as Z,c2 as ee,au as te,at as ie,m as d}from"./index-BngCC-zG.js";import{a as c}from"./sentry-CHlUi953.js";import{n as o}from"./mui-DyGc7Pg8.js";import{F6 as ae}from"./zeni-epic-state-D8D2Skiq.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]="d42f3c16-2b65-4116-8879-6322dba96ccf",e._sentryDebugIdIdentifier="sentry-dbid-d42f3c16-2b65-4116-8879-6322dba96ccf")}catch{}})();const b={marginRight:new y(d[3],d[8]),marginLeft:new y(d[3],d[8]),height:new y(d[5],62)},f="additionalDocumentsForm",s="ssnCard";function ge(e){const{filesEndPoint:m,authParams:x,companyOfficer:t,updateStatus:u,onClose:F,onEditFileName:v,onDeleteFile:E,updateFilesEntity:P,onSendForVerificationClick:z,onCompanyOfficerUpdated:C}=e,l=M({mode:"all",reValidateMode:"onChange",defaultValues:c.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[T,S]=c.useState(!1),[N,O]=c.useState(!1),$=W(u.fetchState),w=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},V=Object.values(w??{}).filter(r=>r!=null),L=ae(V);c.useEffect(()=>{$==="In-Progress"&&u.fetchState==="Completed"&&l.reset({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}})},[$,u,l,t?.additionalFiles]);const n=q(),p=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:h}=p,_=`${h.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=l.handleSubmit(()=>{L.fetchState!=="In-Progress"&&z?.(t?.officerType??"Officer_1")});return c.useEffect(()=>{const r=l.watch((j,{name:I})=>{I!=null&&j!=null&&G(()=>(async(R,U)=>{const D=U[f].front;R.includes("front")&&D?.fileId!=null?(C?.(t?.officerType??"Officer_1",[D?.fileId]),S(!0)):S(!1)})(I,j))});return()=>{r.unsubscribe()}}),i.jsx(H,{...l,children:i.jsxs("form",{id:f,onSubmit:k,children:[i.jsxs(ce,{size:n,children:[i.jsx(re,{size:n,children:i.jsx(de,{size:n,onClick:F,"data-testid":J("upload-additional-documents-close",f)})}),i.jsxs(fe,{children:[i.jsx(se,{children:h.title[s]}),i.jsx(oe,{children:h.description[s]})]}),i.jsx(ne,{children:i.jsx(le,{children:_})}),i.jsx(K,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:X,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${Q.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:g(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:w,updateFileStatusById:B,filesEndPoint:m,authParams:x,hasError:N,onEditFileName:v,onDeleteFile:E,updateFilesEntity:P,onFileSizeError:r=>O(r),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),T?i.jsx(Y,{formId:f,primaryBtn:{label:p.sendForVerificationButton,style:{width:"auto",minWidth:n==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:p.cancel,style:{width:n==="small"?"auto":"181px"},onClick:F},style:{position:"absolute",width:"100%"}}):null]})})}const se=o(ee)`
1
+ import{T as M,f1 as g,a7 as W,e as q,O as A,c8 as G,V as i,A as H,b as J,f2 as K,o as a,f as Q,cj as X,a9 as Y,x as y,a8 as Z,c2 as ee,au as te,at as ie,m as d}from"./index-CM-kLVx4.js";import{a as c}from"./sentry-fDh08ad-.js";import{n as o}from"./mui-Ca9xxv13.js";import{F6 as ae}from"./zeni-epic-state-C00HUVJa.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]="d42f3c16-2b65-4116-8879-6322dba96ccf",e._sentryDebugIdIdentifier="sentry-dbid-d42f3c16-2b65-4116-8879-6322dba96ccf")}catch{}})();const b={marginRight:new y(d[3],d[8]),marginLeft:new y(d[3],d[8]),height:new y(d[5],62)},f="additionalDocumentsForm",s="ssnCard";function ge(e){const{filesEndPoint:m,authParams:x,companyOfficer:t,updateStatus:u,onClose:F,onEditFileName:v,onDeleteFile:E,updateFilesEntity:P,onSendForVerificationClick:z,onCompanyOfficerUpdated:C}=e,l=M({mode:"all",reValidateMode:"onChange",defaultValues:c.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[T,S]=c.useState(!1),[N,O]=c.useState(!1),$=W(u.fetchState),w=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},V=Object.values(w??{}).filter(r=>r!=null),L=ae(V);c.useEffect(()=>{$==="In-Progress"&&u.fetchState==="Completed"&&l.reset({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}})},[$,u,l,t?.additionalFiles]);const n=q(),p=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:h}=p,_=`${h.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=l.handleSubmit(()=>{L.fetchState!=="In-Progress"&&z?.(t?.officerType??"Officer_1")});return c.useEffect(()=>{const r=l.watch((j,{name:I})=>{I!=null&&j!=null&&G(()=>(async(R,U)=>{const D=U[f].front;R.includes("front")&&D?.fileId!=null?(C?.(t?.officerType??"Officer_1",[D?.fileId]),S(!0)):S(!1)})(I,j))});return()=>{r.unsubscribe()}}),i.jsx(H,{...l,children:i.jsxs("form",{id:f,onSubmit:k,children:[i.jsxs(ce,{size:n,children:[i.jsx(re,{size:n,children:i.jsx(de,{size:n,onClick:F,"data-testid":J("upload-additional-documents-close",f)})}),i.jsxs(fe,{children:[i.jsx(se,{children:h.title[s]}),i.jsx(oe,{children:h.description[s]})]}),i.jsx(ne,{children:i.jsx(le,{children:_})}),i.jsx(K,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:X,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${Q.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:g(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:w,updateFileStatusById:B,filesEndPoint:m,authParams:x,hasError:N,onEditFileName:v,onDeleteFile:E,updateFilesEntity:P,onFileSizeError:r=>O(r),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),T?i.jsx(Y,{formId:f,primaryBtn:{label:p.sendForVerificationButton,style:{width:"auto",minWidth:n==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:p.cancel,style:{width:n==="small"?"auto":"181px"},onClick:F},style:{position:"absolute",width:"100%"}}):null]})})}const se=o(ee)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{a7 as a,O as w,V as r,hn as x,ho as P}from"./index-BngCC-zG.js";import{a as n}from"./sentry-CHlUi953.js";import"./pdf-BxqSCr4b.js";import"./zeni-epic-state-D8D2Skiq.js";import"./core-CVVdXRky.js";import"./mui-DyGc7Pg8.js";import"./recharts-CMjB5mmq.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="0f8b20de-f6ae-407b-b94c-abd6714c7b46",t._sentryDebugIdIdentifier="sentry-dbid-0f8b20de-f6ae-407b-b94c-abd6714c7b46")}catch{}})();const A=({vendorViewDetails:t,isExpressPayPage:o,onSaveVendor:p,onGetOtp:h,onResendOtp:S,onVerifyOtp:g,onVerifyOtpSuccess:f})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:b}=t,c=Object.assign({},m??b),[V,i]=n.useState(!1),[y,s]=n.useState(e.initiateVerification===!0),d=a(c?.saveStatus?.fetchState),C=a(e.userVerificationStatus.fetchState),u=a(e.otpVerificationStatus?.fetchState),l=a(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return n.useEffect(()=>{d==="In-Progress"&&c?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&s(!0)},[c,e,d]),n.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(i(!1),p())},[e.userVerificationStatus]),n.useEffect(()=>{u==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&f?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[u,e,f]),n.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(i(!0),s(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(x,{showHelperText:!o,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>i(!1),onResendOtp:S,onEditButtonClick:()=>{s(!0),i(!1)}}}):y===!0?r.jsx(P,{showHelperText:!o,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:o?O:void 0,action:{onCancelClick:()=>s(!1),onGetCodeClick:I=>h?.(I)}}):null})};export{A as default};
1
+ import{a7 as a,O as w,V as r,hn as x,ho as P}from"./index-CM-kLVx4.js";import{a as n}from"./sentry-fDh08ad-.js";import"./pdf-B939253e.js";import"./zeni-epic-state-C00HUVJa.js";import"./core-CsRts4ln.js";import"./mui-Ca9xxv13.js";import"./recharts-BjhLQRRU.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./utils-BC3aPe-C.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="0f8b20de-f6ae-407b-b94c-abd6714c7b46",t._sentryDebugIdIdentifier="sentry-dbid-0f8b20de-f6ae-407b-b94c-abd6714c7b46")}catch{}})();const A=({vendorViewDetails:t,isExpressPayPage:o,onSaveVendor:p,onGetOtp:h,onResendOtp:S,onVerifyOtp:g,onVerifyOtpSuccess:f})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:b}=t,c=Object.assign({},m??b),[V,i]=n.useState(!1),[y,s]=n.useState(e.initiateVerification===!0),d=a(c?.saveStatus?.fetchState),C=a(e.userVerificationStatus.fetchState),u=a(e.otpVerificationStatus?.fetchState),l=a(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return n.useEffect(()=>{d==="In-Progress"&&c?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&s(!0)},[c,e,d]),n.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(i(!1),p())},[e.userVerificationStatus]),n.useEffect(()=>{u==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&f?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[u,e,f]),n.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(i(!0),s(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(x,{showHelperText:!o,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>i(!1),onResendOtp:S,onEditButtonClick:()=>{s(!0),i(!1)}}}):y===!0?r.jsx(P,{showHelperText:!o,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:o?O:void 0,action:{onCancelClick:()=>s(!1),onGetCodeClick:I=>h?.(I)}}):null})};export{A as default};
@@ -1 +1 @@
1
- import{V as m}from"./index-BngCC-zG.js";import{a as b}from"./sentry-CHlUi953.js";import{f}from"./ACHDetailsPage-B5qIuZya-Dqn8ZaVl.js";import"./pdf-BxqSCr4b.js";import"./zeni-epic-state-D8D2Skiq.js";import"./core-CVVdXRky.js";import"./mui-DyGc7Pg8.js";import"./recharts-CMjB5mmq.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.js";import"./BankAccountWarningSection-Cled-2cR-CypxFFmY.js";import"./MagicLinkTitleSection-CARU1oLQ-D-x2cYul.js";import"./BankAccountSection-Di4sF52j-BobhPzIF.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]="f785b3ae-b56a-43d9-a0b7-7cb301670998",t._sentryDebugIdIdentifier="sentry-dbid-f785b3ae-b56a-43d9-a0b7-7cb301670998")}catch{}})();const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})=>{const{bankAccountCreationState:o,bankNameByRouting:s,bankAccountToCreate:p,fetchBankNameByRoutingStatus:c}=t;return b.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),m.jsx(f,{bankAccountToCreate:p,bankAccountCreationState:o,bankNameByRouting:s,fetchBankNameByRoutingStatus:c,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})};export{R as default};
1
+ import{V as m}from"./index-CM-kLVx4.js";import{a as b}from"./sentry-fDh08ad-.js";import{f}from"./ACHDetailsPage-B5qIuZya-BboaJ5Zr.js";import"./pdf-B939253e.js";import"./zeni-epic-state-C00HUVJa.js";import"./core-CsRts4ln.js";import"./mui-Ca9xxv13.js";import"./recharts-BjhLQRRU.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./utils-BC3aPe-C.js";import"./BankAccountWarningSection-Cled-2cR-C5Td9Zy0.js";import"./MagicLinkTitleSection-CARU1oLQ-CXURA0x4.js";import"./BankAccountSection-Di4sF52j-DuXYleyr.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]="f785b3ae-b56a-43d9-a0b7-7cb301670998",t._sentryDebugIdIdentifier="sentry-dbid-f785b3ae-b56a-43d9-a0b7-7cb301670998")}catch{}})();const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})=>{const{bankAccountCreationState:o,bankNameByRouting:s,bankAccountToCreate:p,fetchBankNameByRoutingStatus:c}=t;return b.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),m.jsx(f,{bankAccountToCreate:p,bankAccountCreationState:o,bankNameByRouting:s,fetchBankNameByRoutingStatus:c,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})};export{R as default};
@@ -1,4 +1,4 @@
1
- import{y as Ye,e as le,x as g,S as $e,cb as bt,T as wt,gz as De,gA as ft,ad as Ct,c8 as St,V as t,aZ as $t,A as Dt,gB as jt,gC as ye,m as n,c9 as Lt,a9 as Tt,a_ as _t,O as A,gD as Ge,gE as Qe,gF as Ze,o as s,bg as $,cc as Vt,b as u,ga as je,gG as kt,cd as It,ce as Ot,cf as Pt,gH as Mt,fE as zt,ck as Ft,gI as Nt,gJ as Wt,f as R,ar as Je,C as Ke,bj as Ht,aj as Rt,gK as At,gL as Bt,l as Et,bO as Ut,cQ as qt,cs as Yt,ag as pe,gM as Gt,bH as Xe,gN as Qt,d as Le,M as et}from"./index-BngCC-zG.js";import{a as S}from"./sentry-CHlUi953.js";import{n as o,c as Zt}from"./mui-DyGc7Pg8.js";import{bQ as Te,Gh as Jt,Gi as Kt}from"./zeni-epic-state-D8D2Skiq.js";import{R as Xt}from"./SubTabSwitcher-D7QeM6nb-C5vo1QLg.js";import{D as ea}from"./TransactionList-BB-xoIGm-Cfa3U35Q.js";import{R as ta}from"./TrendWithTransactions-3D1FvM8G-Dwn_v3ES.js";import{o as aa,t as sa}from"./arrow-south-east-round-PEovUgvH-DB6pjtdO.js";import{C as oa}from"./LabeledAddressValueField-BgWwd5Gw-BjdQu4oY.js";import{Y as na}from"./LabeledDropDownFormattedTextField-ScGGCap8-5XDDElAU.js";import"./pdf-BxqSCr4b.js";import"./core-CVVdXRky.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.js";import"./ConstrainedInnerElement-CgdnMeoA-CE1VZ_Vz.js";import"./BoxItem-Bxa1M4QU-BEQbjRW-.js";import"./commonDimensions-Oz1tdAcx-Cf4qEJmU.js";import"./panelSelectedMixin-Cddsb26L-bdcPTs-R.js";import"./TrendChart-Bnp4Pcdf-CsoTufL2.js";import"./chartTypes-CD3vrBsI-4eICteeW.js";import"./toCOABalancesWithID-aLNB35t7-DBx2vR3D.js";import"./toChartData-DUL6vnzJ-CHvhrhF4.js";import"./NoDataChart-CrKeqWSr-aTXx8C4D.js";import"./InsightsSection-B6CNlTNH-BFr6MnTG.js";import"./NavigationDots-Dvce3gHt-B5IBT8ql.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]="b4d02ec7-72ea-4b7b-85b0-cc855f2137f9",e._sentryDebugIdIdentifier="sentry-dbid-b4d02ec7-72ea-4b7b-85b0-cc855f2137f9")}catch{}})();const ia=o.div`
1
+ import{y as Ye,e as le,x as g,S as $e,cb as bt,T as wt,gz as De,gA as ft,ad as Ct,c8 as St,V as t,aZ as $t,A as Dt,gB as jt,gC as ye,m as n,c9 as Lt,a9 as Tt,a_ as _t,O as A,gD as Ge,gE as Qe,gF as Ze,o as s,bg as $,cc as Vt,b as u,ga as je,gG as kt,cd as It,ce as Ot,cf as Pt,gH as Mt,fE as zt,ck as Ft,gI as Nt,gJ as Wt,f as R,ar as Je,C as Ke,bj as Ht,aj as Rt,gK as At,gL as Bt,l as Et,bO as Ut,cQ as qt,cs as Yt,ag as pe,gM as Gt,bH as Xe,gN as Qt,d as Le,M as et}from"./index-CM-kLVx4.js";import{a as S}from"./sentry-fDh08ad-.js";import{n as o,c as Zt}from"./mui-Ca9xxv13.js";import{bQ as Te,Gh as Jt,Gi as Kt}from"./zeni-epic-state-C00HUVJa.js";import{R as Xt}from"./SubTabSwitcher-D7QeM6nb-CBdxZlIi.js";import{D as ea}from"./TransactionList-BB-xoIGm-F7S3v1aS.js";import{R as ta}from"./TrendWithTransactions-3D1FvM8G-Dl9PLm1i.js";import{o as aa,t as sa}from"./arrow-south-east-round-PEovUgvH-CE3-QTnK.js";import{C as oa}from"./LabeledAddressValueField-BgWwd5Gw-BYMURjwW.js";import{Y as na}from"./LabeledDropDownFormattedTextField-ScGGCap8-VmE8Aemx.js";import"./pdf-B939253e.js";import"./core-CsRts4ln.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./recharts-BjhLQRRU.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./utils-BC3aPe-C.js";import"./ConstrainedInnerElement-CgdnMeoA-D3Ko5GjD.js";import"./BoxItem-Bxa1M4QU-C2Kb1GRV.js";import"./commonDimensions-Oz1tdAcx-CRXXe8IB.js";import"./panelSelectedMixin-Cddsb26L-C7CXOyJk.js";import"./TrendChart-Bnp4Pcdf-B89YGErG.js";import"./chartTypes-CD3vrBsI-DlT7D3-o.js";import"./toCOABalancesWithID-aLNB35t7-I1omFuyE.js";import"./toChartData-DUL6vnzJ-CT6XC2gk.js";import"./NoDataChart-CrKeqWSr-CeScymZW.js";import"./InsightsSection-B6CNlTNH-BmptuiIV.js";import"./NavigationDots-Dvce3gHt-Di2DPDrT.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]="b4d02ec7-72ea-4b7b-85b0-cc855f2137f9",e._sentryDebugIdIdentifier="sentry-dbid-b4d02ec7-72ea-4b7b-85b0-cc855f2137f9")}catch{}})();const ia=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{V as b}from"./index-BngCC-zG.js";import{a as k}from"./sentry-CHlUi953.js";import{y}from"./DomesticWireDetailsPage-DCDo3aHI-DZy_Auc2.js";import"./pdf-BxqSCr4b.js";import"./zeni-epic-state-D8D2Skiq.js";import"./core-CVVdXRky.js";import"./mui-DyGc7Pg8.js";import"./recharts-CMjB5mmq.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.js";import"./BankAccountSection-Di4sF52j-BobhPzIF.js";import"./MagicLinkTitleSection-CARU1oLQ-D-x2cYul.js";import"./BankAccountWarningSection-Cled-2cR-CypxFFmY.js";import"./MailingDetailsSection-ByOPaJ05-C__aFJd6.js";import"./LabeledAddressValueField-BgWwd5Gw-BjdQu4oY.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]="e1c48142-37ae-46e5-aafe-a6bfd6eafc5b",e._sentryDebugIdIdentifier="sentry-dbid-e1c48142-37ae-46e5-aafe-a6bfd6eafc5b")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:o,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:f,bankAccountToCreate:u,fetchBankNameByRoutingStatus:l}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),b.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:f,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:o,onAddressClick:c,onFetchBankName:d})};export{H as default};
1
+ import{V as b}from"./index-CM-kLVx4.js";import{a as k}from"./sentry-fDh08ad-.js";import{y}from"./DomesticWireDetailsPage-DCDo3aHI-DcHgzfkS.js";import"./pdf-B939253e.js";import"./zeni-epic-state-C00HUVJa.js";import"./core-CsRts4ln.js";import"./mui-Ca9xxv13.js";import"./recharts-BjhLQRRU.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./utils-BC3aPe-C.js";import"./BankAccountSection-Di4sF52j-DuXYleyr.js";import"./MagicLinkTitleSection-CARU1oLQ-CXURA0x4.js";import"./BankAccountWarningSection-Cled-2cR-C5Td9Zy0.js";import"./MailingDetailsSection-ByOPaJ05-BUe8T5l9.js";import"./LabeledAddressValueField-BgWwd5Gw-BYMURjwW.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]="e1c48142-37ae-46e5-aafe-a6bfd6eafc5b",e._sentryDebugIdIdentifier="sentry-dbid-e1c48142-37ae-46e5-aafe-a6bfd6eafc5b")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:o,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:f,bankAccountToCreate:u,fetchBankNameByRoutingStatus:l}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),b.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:f,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:o,onAddressClick:c,onFetchBankName:d})};export{H as default};
@@ -1,4 +1,4 @@
1
- import{e as ce,y as Ne,T as ke,c8 as Ae,x as b,V as t,a_ as Be,b as Ee,A as Oe,cd as D,o as s,ch as We,gH as Re,fE as qe,ck as Me,gI as He,gJ as Ue,c6 as _e,a9 as Ge,O as pe,eu as J,gO as ue,dX as Ke,ev as Je,m as d,a8 as Qe,bg as F,c3 as Xe,gP as Ze,f as z,er as Ye,bH as et,l as ge,eb as tt,gQ as st,gR as lt,gS as _,ew as it}from"./index-BngCC-zG.js";import{a as m}from"./sentry-CHlUi953.js";import{n as o}from"./mui-DyGc7Pg8.js";import{Y as at}from"./LabeledDropDownFormattedTextField-ScGGCap8-5XDDElAU.js";import"./pdf-BxqSCr4b.js";import"./zeni-epic-state-D8D2Skiq.js";import"./core-CVVdXRky.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.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]="7a0837e1-0e55-490a-a900-a86c388e696e",e._sentryDebugIdIdentifier="sentry-dbid-7a0837e1-0e55-490a-a900-a86c388e696e")}catch{}})();const ie={largeLabelWidth:new b(160,210,230),paddingBottom:new b(d[3],d[2])},S=(e,i)=>`${e}.${i}`;function ot(e){const{loadingState:i}=e;return t.jsx(rt,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function rt({googleAPIKey:e,addressToEdit:i,sectionId:r,isDisabled:u,style:q}){const W=ce(),c=pe.getLocalizedStrings().companyPassport,p=ie.largeLabelWidth.value(W);return t.jsxs(t.Fragment,{children:[t.jsx(ae,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:q,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:u,label:{label:c.address.street,width:p,showBullet:!0},addressField:{name:S(r,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?ue(i):void 0},placeholder:_(c.address.street),registerOptions:{required:!0,validate:$=>$!=null&&!!$.addressString},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(D,{isDisabled:u,label:{label:c.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:S(r,"suite"),defaultValue:i?.street[1],placeholder:c.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(D,{isDisabled:u,label:{label:c.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"city"),defaultValue:i?.city,placeholder:_(c.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"state"),defaultValue:i?.state,placeholder:_(c.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(ae,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:u,label:{label:c.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:S(r,"country"),placeholder:c.address.countryPlaceholder,defaultValue:J(i?.country),registerOptions:{validate:$=>!($==null||!$.selectedOption)}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"postalCode"),defaultValue:i?.postalCode,placeholder:c.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:ie.paddingBottom.valuePx(W),width:"100%",outline:"none"},text:{type:"text",name:S(r,"secondaryInfo"),defaultValue:i?.street[2],placeholder:c.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=o.div`
1
+ import{e as ce,y as Ne,T as ke,c8 as Ae,x as b,V as t,a_ as Be,b as Ee,A as Oe,cd as D,o as s,ch as We,gH as Re,fE as qe,ck as Me,gI as He,gJ as Ue,c6 as _e,a9 as Ge,O as pe,eu as J,gO as ue,dX as Ke,ev as Je,m as d,a8 as Qe,bg as F,c3 as Xe,gP as Ze,f as z,er as Ye,bH as et,l as ge,eb as tt,gQ as st,gR as lt,gS as _,ew as it}from"./index-CM-kLVx4.js";import{a as m}from"./sentry-fDh08ad-.js";import{n as o}from"./mui-Ca9xxv13.js";import{Y as at}from"./LabeledDropDownFormattedTextField-ScGGCap8-VmE8Aemx.js";import"./pdf-B939253e.js";import"./zeni-epic-state-C00HUVJa.js";import"./core-CsRts4ln.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./recharts-BjhLQRRU.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./utils-BC3aPe-C.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]="7a0837e1-0e55-490a-a900-a86c388e696e",e._sentryDebugIdIdentifier="sentry-dbid-7a0837e1-0e55-490a-a900-a86c388e696e")}catch{}})();const ie={largeLabelWidth:new b(160,210,230),paddingBottom:new b(d[3],d[2])},S=(e,i)=>`${e}.${i}`;function ot(e){const{loadingState:i}=e;return t.jsx(rt,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function rt({googleAPIKey:e,addressToEdit:i,sectionId:r,isDisabled:u,style:q}){const W=ce(),c=pe.getLocalizedStrings().companyPassport,p=ie.largeLabelWidth.value(W);return t.jsxs(t.Fragment,{children:[t.jsx(ae,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:q,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:u,label:{label:c.address.street,width:p,showBullet:!0},addressField:{name:S(r,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?ue(i):void 0},placeholder:_(c.address.street),registerOptions:{required:!0,validate:$=>$!=null&&!!$.addressString},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(D,{isDisabled:u,label:{label:c.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:S(r,"suite"),defaultValue:i?.street[1],placeholder:c.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(D,{isDisabled:u,label:{label:c.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"city"),defaultValue:i?.city,placeholder:_(c.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"state"),defaultValue:i?.state,placeholder:_(c.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(ae,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:u,label:{label:c.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:S(r,"country"),placeholder:c.address.countryPlaceholder,defaultValue:J(i?.country),registerOptions:{validate:$=>!($==null||!$.selectedOption)}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"postalCode"),defaultValue:i?.postalCode,placeholder:c.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:ie.paddingBottom.valuePx(W),width:"100%",outline:"none"},text:{type:"text",name:S(r,"secondaryInfo"),defaultValue:i?.street[2],placeholder:c.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{e as oe,_ as Rn,y as tn,T as Bn,hv as Me,c8 as Fn,B as Vn,hw as ee,hx as pe,hy as he,hz as ue,hA as re,V as n,hr as En,b as ve,A as Un,a_ as Wn,E as qn,bR as Hn,bS as Gn,bT as Qn,bq as Kn,bd as Xn,bN as Jn,an as Yn,cO as Zn,bV as eo,L as no,O as be,x as w,J as Re,o,ac as Cn,l as Ie,ab as oo,m,C as fe,b_ as to,bO as kn,bg as ke,aC as Mn,c1 as io,bu as ro,d4 as so,au as Ke,aR as rn,f as A,aA as Nn,gq as ao,cK as cn,cs as Ye,hB as Ze,k as lo,bo as Ae,de as co,d$ as mn,b6 as mo,cR as po,a as pn,bX as ho,hC as uo,hD as wo,cc as go,dX as vo,e4 as xo,e5 as bo,H as In,hE as fo,b4 as ne,hF as hn,gc as $o,$ as So,t as yo,bj as jo,w as On,d as Ro,ec as Vo,ae as nn}from"./index-BngCC-zG.js";import{a as f}from"./sentry-CHlUi953.js";import{n as i,c as on}from"./mui-DyGc7Pg8.js";import{bJ as Co,Go as ko}from"./zeni-epic-state-D8D2Skiq.js";import{r as Mo}from"./core-CVVdXRky.js";import"./pdf-BxqSCr4b.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.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]="e27ba930-74a6-4f24-bf67-1c1333a76c88",e._sentryDebugIdIdentifier="sentry-dbid-e27ba930-74a6-4f24-bf67-1c1333a76c88")}catch{}})();const Pn=({steps:e})=>{const a=oe();return n.jsx(Io,{windowSize:a,children:e.map((c,l)=>n.jsxs(No,{children:[n.jsx(Po,{children:l!==e.length-1?l+1:n.jsx(zo,{})}),n.jsx(To,{children:c}),l<e.length-1?n.jsx(Oo,{}):null]},`step_${l}`))})},No=i.div`
1
+ import{e as oe,_ as Rn,y as tn,T as Bn,hv as Me,c8 as Fn,B as Vn,hw as ee,hx as pe,hy as he,hz as ue,hA as re,V as n,hr as En,b as ve,A as Un,a_ as Wn,E as qn,bR as Hn,bS as Gn,bT as Qn,bq as Kn,bd as Xn,bN as Jn,an as Yn,cO as Zn,bV as eo,L as no,O as be,x as w,J as Re,o,ac as Cn,l as Ie,ab as oo,m,C as fe,b_ as to,bO as kn,bg as ke,aC as Mn,c1 as io,bu as ro,d4 as so,au as Ke,aR as rn,f as A,aA as Nn,gq as ao,cK as cn,cs as Ye,hB as Ze,k as lo,bo as Ae,de as co,d$ as mn,b6 as mo,cR as po,a as pn,bX as ho,hC as uo,hD as wo,cc as go,dX as vo,e4 as xo,e5 as bo,H as In,hE as fo,b4 as ne,hF as hn,gc as $o,$ as So,t as yo,bj as jo,w as On,d as Ro,ec as Vo,ae as nn}from"./index-CM-kLVx4.js";import{a as f}from"./sentry-fDh08ad-.js";import{n as i,c as on}from"./mui-Ca9xxv13.js";import{bJ as Co,Go as ko}from"./zeni-epic-state-C00HUVJa.js";import{r as Mo}from"./core-CsRts4ln.js";import"./pdf-B939253e.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./recharts-BjhLQRRU.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./utils-BC3aPe-C.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]="e27ba930-74a6-4f24-bf67-1c1333a76c88",e._sentryDebugIdIdentifier="sentry-dbid-e27ba930-74a6-4f24-bf67-1c1333a76c88")}catch{}})();const Pn=({steps:e})=>{const a=oe();return n.jsx(Io,{windowSize:a,children:e.map((c,l)=>n.jsxs(No,{children:[n.jsx(Po,{children:l!==e.length-1?l+1:n.jsx(zo,{})}),n.jsx(To,{children:c}),l<e.length-1?n.jsx(Oo,{}):null]},`step_${l}`))})},No=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,A as Ce,a9 as $e,x as c,eu as ae,ev as De,o as y,at as Te,cc as re,y as se,ew as je,ex as Y,c6 as Q,al as H,cd as Se,dS as ke,m as a,dX as Oe,b as Ae,f as M,d as Le,L as Fe,bo as ze,C as Ie,b6 as We}from"./index-BngCC-zG.js";import{a as W}from"./sentry-CHlUi953.js";import{n as g}from"./mui-DyGc7Pg8.js";import{bQ as Z}from"./zeni-epic-state-D8D2Skiq.js";import{W as Re,A as Pe}from"./BankAccountWarningSection-Cled-2cR-CypxFFmY.js";import{T as _e}from"./MailingDetailsSection-ByOPaJ05-C__aFJd6.js";import{S as Ee}from"./CurrencySelectField-BAh7SHrG-BY-wwlD4.js";import"./pdf-BxqSCr4b.js";import"./core-CVVdXRky.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.js";import"./LabeledAddressValueField-BgWwd5Gw-BjdQu4oY.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]="cab11672-39a2-48af-90f6-15e908c9e599",e._sentryDebugIdIdentifier="sentry-dbid-cab11672-39a2-48af-90f6-15e908c9e599")}catch{}})();const A={width:new c(343,580,726),height:new c(a[6],a[6]),controlHeight:new c(a[6],a[6]),paddingTopBottom:new c(a[2],a[2]),marginRight:new c(a[2],a[2]),labelMarginLeft:new c(a[3],a[4]),labelMarginRight:new c(a[3],a[4]),labelMarginTop:new c(a[2],a[2])},de={infoLabel:new Le("extraSmallRegular","smallRegular")};function Me({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:d,isAdditionalInfoLabelLoading:o=!1,showAdditionalLabelTooltip:n=!1,additionalLabelTooltip:w,additionalInfoLabel:T,showAdditionalInfoLabel:k=!0}){const C=X(),{formState:{errors:b}}=re(),$=se(),D=Oe(b,l.name);return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Ae("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(He,{labelWidth:i.width,children:[t.jsx(Ee,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:A.controlHeight.value(C)}}),D?t.jsx(Ve,{windowSize:C,hasError:D,children:d}):null,(()=>{if(o===!0)return t.jsx(Ue,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&T||D){let p=null;return n===!0&&k&&w&&(p=t.jsx(ze,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(qe,{children:w}),children:t.jsx(Ge,{children:t.jsx(Qe,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:n,isDisabled:e!=null,children:[p,T]})}})()]})]})}const Be=g.div`
1
+ import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,A as Ce,a9 as $e,x as c,eu as ae,ev as De,o as y,at as Te,cc as re,y as se,ew as je,ex as Y,c6 as Q,al as H,cd as Se,dS as ke,m as a,dX as Oe,b as Ae,f as M,d as Le,L as Fe,bo as ze,C as Ie,b6 as We}from"./index-CM-kLVx4.js";import{a as W}from"./sentry-fDh08ad-.js";import{n as g}from"./mui-Ca9xxv13.js";import{bQ as Z}from"./zeni-epic-state-C00HUVJa.js";import{W as Re,A as Pe}from"./BankAccountWarningSection-Cled-2cR-C5Td9Zy0.js";import{T as _e}from"./MailingDetailsSection-ByOPaJ05-BUe8T5l9.js";import{S as Ee}from"./CurrencySelectField-BAh7SHrG-BcnftycV.js";import"./pdf-B939253e.js";import"./core-CsRts4ln.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./recharts-BjhLQRRU.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./utils-BC3aPe-C.js";import"./LabeledAddressValueField-BgWwd5Gw-BYMURjwW.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]="cab11672-39a2-48af-90f6-15e908c9e599",e._sentryDebugIdIdentifier="sentry-dbid-cab11672-39a2-48af-90f6-15e908c9e599")}catch{}})();const A={width:new c(343,580,726),height:new c(a[6],a[6]),controlHeight:new c(a[6],a[6]),paddingTopBottom:new c(a[2],a[2]),marginRight:new c(a[2],a[2]),labelMarginLeft:new c(a[3],a[4]),labelMarginRight:new c(a[3],a[4]),labelMarginTop:new c(a[2],a[2])},de={infoLabel:new Le("extraSmallRegular","smallRegular")};function Me({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:d,isAdditionalInfoLabelLoading:o=!1,showAdditionalLabelTooltip:n=!1,additionalLabelTooltip:w,additionalInfoLabel:T,showAdditionalInfoLabel:k=!0}){const C=X(),{formState:{errors:b}}=re(),$=se(),D=Oe(b,l.name);return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Ae("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(He,{labelWidth:i.width,children:[t.jsx(Ee,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:A.controlHeight.value(C)}}),D?t.jsx(Ve,{windowSize:C,hasError:D,children:d}):null,(()=>{if(o===!0)return t.jsx(Ue,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&T||D){let p=null;return n===!0&&k&&w&&(p=t.jsx(ze,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(qe,{children:w}),children:t.jsx(Ge,{children:t.jsx(Qe,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:n,isDisabled:e!=null,children:[p,T]})}})()]})]})}const Be=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{V as k}from"./index-BngCC-zG.js";import{a as S}from"./sentry-CHlUi953.js";import{f as b}from"./InternationalWireSwiftDetailsPage-VdG7bDZi-Rlu68XJQ.js";import"./pdf-BxqSCr4b.js";import"./zeni-epic-state-D8D2Skiq.js";import"./core-CVVdXRky.js";import"./mui-DyGc7Pg8.js";import"./recharts-CMjB5mmq.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.js";import"./BankAccountWarningSection-Cled-2cR-CypxFFmY.js";import"./MailingDetailsSection-ByOPaJ05-C__aFJd6.js";import"./LabeledAddressValueField-BgWwd5Gw-BjdQu4oY.js";import"./MagicLinkTitleSection-CARU1oLQ-D-x2cYul.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]="2a1e8dc0-894c-4680-80be-479a91da48e5",e._sentryDebugIdIdentifier="sentry-dbid-2a1e8dc0-894c-4680-80be-479a91da48e5")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,editVendorState:m,newVendorState:p,bankNameBySwift:l,fetchBankNameBySwiftStatus:u}=e,a={...m??p};return S.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),k.jsx(b,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameBySwift:l,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onAddressClick:c,onFetchBankNameBySwift:s})};export{H as default};
1
+ import{V as k}from"./index-CM-kLVx4.js";import{a as S}from"./sentry-fDh08ad-.js";import{f as b}from"./InternationalWireSwiftDetailsPage-VdG7bDZi-BXgdMxkR.js";import"./pdf-B939253e.js";import"./zeni-epic-state-C00HUVJa.js";import"./core-CsRts4ln.js";import"./mui-Ca9xxv13.js";import"./recharts-BjhLQRRU.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./utils-BC3aPe-C.js";import"./BankAccountWarningSection-Cled-2cR-C5Td9Zy0.js";import"./MailingDetailsSection-ByOPaJ05-BUe8T5l9.js";import"./LabeledAddressValueField-BgWwd5Gw-BYMURjwW.js";import"./MagicLinkTitleSection-CARU1oLQ-CXURA0x4.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]="2a1e8dc0-894c-4680-80be-479a91da48e5",e._sentryDebugIdIdentifier="sentry-dbid-2a1e8dc0-894c-4680-80be-479a91da48e5")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,editVendorState:m,newVendorState:p,bankNameBySwift:l,fetchBankNameBySwiftStatus:u}=e,a={...m??p};return S.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),k.jsx(b,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameBySwift:l,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onAddressClick:c,onFetchBankNameBySwift:s})};export{H as default};
@@ -1,4 +1,4 @@
1
- import{e as ie,y as oe,O as te,x as c,g4 as w,ad as k,V as i,hm as g,o as r,hj as m,d as ne,f as re,cX as de,C as se,m as a}from"./index-BngCC-zG.js";import{n as s}from"./mui-DyGc7Pg8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="9443c2bb-c04f-43aa-beab-da9b9daca9b7",e._sentryDebugIdIdentifier="sentry-dbid-9443c2bb-c04f-43aa-beab-da9b9daca9b7")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},T={title:new ne("standardMedium","largeMedium")},le=s.div`
1
+ import{e as ie,y as oe,O as te,x as c,g4 as w,ad as k,V as i,hm as g,o as r,hj as m,d as ne,f as re,cX as de,C as se,m as a}from"./index-CM-kLVx4.js";import{n as s}from"./mui-Ca9xxv13.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="9443c2bb-c04f-43aa-beab-da9b9daca9b7",e._sentryDebugIdIdentifier="sentry-dbid-9443c2bb-c04f-43aa-beab-da9b9daca9b7")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},T={title:new ne("standardMedium","largeMedium")},le=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>d.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{j as l}from"./pdf-BxqSCr4b.js";import{a as g}from"./sentry-CHlUi953.js";import{j as R,h as K,l as J,u as S,k as G,i as Y,R as tt,m as B,N as $}from"./core-CVVdXRky.js";import{ct as L,I6 as De,I7 as Je,dt as X,bH as ye,bI as Ce,rP as pt,I8 as at,rT as Gt,Ei as ee,rN as $t,rH as zt,I9 as Ue,rz as Yt,ry as Kt,rs as qt,rE as Ht,rU as Qt,Ia as ue,Ib as Ne,rA as Wt,Ic as he,cF as mt,s7 as St,s0 as ft,Id as gt,k$ as Ie,rX as vt,rV as Tt,Ie as xt,se as It,sb as Dt,rY as yt,sd as Me,CK as Ct,If as Zt,Ig as Xt,bJ as ea,Ih as ta,Ii as aa,Ij as pe,Ik as le,Il as Ee,Ej as Re,st as ve,Eh as Te,sg as Et,rQ as Ge,Im as na,Ek as H,In as $e,rK as sa,Io as oa,Ip as la,Iq as ze,Ir as Ye,Is as Ke,It as qe,sn as be,Iu as bt,s4 as wt,Iv as ia,Iw as ca,Ix as da,Iy as ra,Iz as ua,IA as ha,IB as pa,IC as ma,po as Sa,pp as fa,Do as je,ID as ga,IE as va,ga as Fe,bs as Ta,IF as xa,IG as Ia,hJ as Da,hS as ya,Dn as Pe,bG as nt,IH as kt,D3 as jt,II as Ca,IJ as Ea,IK as ba,hU as wa,IL as st,IM as ot,IN as lt,IO as it,IP as ka,hQ as ja,IQ as Fa,hT as Pa,IR as Aa,IS as Ft,DK as Pt,h7 as _a,IT as Va,IU as Ae,IV as At,DI as _t,un as La,IW as Ba,IX as Oa,hr as Vt,IY as Ja,IZ as Ua,DW as Na,n3 as Ma,I_ as Lt,I$ as ct,DT as _e,J0 as dt,J1 as Ra,DY as Ga,J2 as $a,J3 as za,J4 as Ya,J5 as Ka,J6 as qa,n6 as Ha,J7 as Qa,El as Wa,J8 as Za,DB as Ve,eb as Xa,J9 as en,Ja as tn,e9 as an,Jb as nn,Jc as sn,ur as on,Jd as ln,Je as cn,Jf as dn,Jg as rn,hb as un,bm as hn,cA as pn,cy as mn}from"./zeni-epic-state-D8D2Skiq.js";import{js as U,a7 as Le,jQ as Bt,bk as W,jz as F,k4 as Z,kx as Sn,jO as N,O as xe,N as ie,ky as He,kz as fn,kA as gn,jM as Qe,kB as vn,y as Tn,e as ce,x as We,aE as te,aG as z,kC as xn,jD as Ze,kD as In,kE as Ot,k2 as Dn,kF as yn,_ as Cn,kG as En,kv as Jt,o as Q,f as Ut,jT as bn,kH as wn,kI as kn,J as Xe,kJ as jn,kK as Fn,jL as Pn,kL as An,kM as _n}from"./index-BngCC-zG.js";import{n as M,D as Vn,S as Nt}from"./mui-DyGc7Pg8.js";import{t as Ln,A as Bn}from"./AddressScreen-Duz_V-eF.js";import oe from"./NotFoundScreen-BOQb1xUE.js";import{F as On}from"./FeaturePreviewScreen-C3Y9pgiz.js";import{b as q,v as et,c as Jn}from"./routePaths-B2Ez8xiG.js";import{p as Mt}from"./pathToGoBack-CsNBJVc2.js";import{M as me}from"./MobileAppDrawer-TF-9OTZ8.js";import{S as Un}from"./zeni-icon-only-BUIVMYdQ.js";import{D as Nn}from"./DrawerScreen-IScn_gPb.js";import{g as Mn,m as Rn}from"./accountMappingHelper-BVO1DeGB.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.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]="2b07b3b5-bd24-4f3e-8a9b-19d894576ac8",e._sentryDebugIdIdentifier="sentry-dbid-2b07b3b5-bd24-4f3e-8a9b-19d894576ac8")}catch{}})();const Gn=xe.getLocalizedStrings(),$n=G(function(e,a){const s=Je(e,a.scheduleTab),t=e.tenantState.currentTenantId;return{authParams:{userId:a.signedInUser.userId??"",sessionId:a.signedInUser.zeniSessionId??"",tenantId:t??""},linkBillExpenseView:s.linkBillExpenseView,transactions:s.linkBillExpenseView.transactions}},function(e,a){const{navigate:s,location:t}=a;return{onTransactionSelect(n){e(at({selectedTransaction:n}))},onBackClick:()=>{s("..",{relative:"path"})},onCancel(){e(at({selectedTransaction:void 0})),e(Gt()),s("..",{relative:"path"})},onTransactionClick:n=>{const o=`${q(n,a.tenantEmailDomain)}`,c=N(t.state?.pathnameStackToGoBack,t.pathname);s(o,{state:{pathnameStackToGoBack:c}})},onLinkSave(){a.setShouldNavigateBack(!1),e(pt(a.scheduleTab,a.scheduleAccruedDetailsView.selectedJEAccruedSchedule?.jeScheduleId))}}})(Sn),zn=({setShouldNavigateBack:e})=>{const a=R(),s=K(),{scheduleDetailId:t,tenantEmailDomain:n}=J(),{scheduleType:o}=J();if(n==null)throw Error("Can't access Link Bill Expense page without tenant Email Domain");const c=S(f=>L(f)),r=De(o)??"accrued_expenses",h=U.getSignedInUser();if(h==null)throw Error("Can't access Link Bill Expensedetail page without signing in...");if(t==null)throw Error("Invalid Schedule Detail Id");const i=S(f=>Je(f,r)),m=i.selectedJELinkRowIndex,d=S(f=>X(f,c.companyId)),u=Le(i.updateStatus.fetchState);g.useEffect(()=>{u==="In-Progress"&&i.updateStatus.fetchState==="Completed"&&a("..",{relative:"path"})},[u,i.updateStatus.fetchState]),g.useEffect(()=>{i.fetchState==="Not-Started"&&a("..",{relative:"path"})},[]),g.useEffect(()=>{i.selectedJEAccruedSchedule!=null&&i.selectedJELinkRowIndex!=null||a("..",{relative:"path"})},[i.selectedJEAccruedSchedule,i.selectedJELinkRowIndex]);const p=i.linkBillExpenseView.fetchState==="Completed";return l.jsx(l.Fragment,{children:i.linkBillExpenseView.fetchState==="In-Progress"?l.jsx(Bt,{fetchState:i.linkBillExpenseView.fetchState}):i.selectedJEAccruedSchedule!=null&&m!=null?l.jsxs(l.Fragment,{children:[p===!0?l.jsx(W,{analytics:F,onLoad:()=>{Yn(i,r,d)}}):null,l.jsx($n,{signedInUser:h,attachmentEndPoint:`${Z}/vendor_attachments`,setShouldNavigateBack:e,scheduleVendorId:i.selectedJEAccruedSchedule.vendor.id??"",location:s,tenantEmailDomain:n,scheduleAccruedDetailsView:i,saveFetchState:i.updateStatus.fetchState,scheduleTab:r,navigate:a,analytics:F,controllerUserDetails:d,saveStatus:i.updateStatus.fetchState,jeAccruedSchedule:i.selectedJEAccruedSchedule,localData:i.scheduleAccruedDetailsLocalData.jeScheduleDetails[m]})]}):null})},Rt=e=>{const a=Gn.dateFormat.analytics.YYYYDashMMDashDDFormat;return{scheduleCreateDate:e.createTime.format(a)??null,scheduleMonthlyAmount:e.recurringAmount??null,startingBalance:e.otherAttributes.startingBalance??null,scheduleAccountCategory:e.jeCredit.account?.accountName??null,description:e.memo,runningBalance:e.balanceAsOfToday??null,currentBalance:e.balanceAsOfToday??null,currentStatus:e.status.label,period:e.period??null,startMonth:e.startDate?.format(a)??null,endMonth:e.endDate?.format(a)??null}},Yn=(e,a,s)=>{const t=e.selectedJEAccruedSchedule,n=e.selectedJELinkRowIndex;let o;n!=null&&t!=null&&(o=t.scheduledJournalEntry[n]);const{transactions:c}=e.linkBillExpenseView,r=c.some(m=>m.isRecommendedTransaction===!0),h=ye(s.controllers),i=Ce(s.controllerUserIds);t!=null&&F.trackScheduleAccruedDetailsJournalEntryLinkedLoaded({scheduleType:a,schedule:{...Rt(t)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{wasRecommendationAvailable:r,journalEntryPostingStatus:o?.status.label??""},vendorName:t.vendor.name??null,controllerEmails:h,controllerUserIds:i})},Kn=M.div`
1
+ import{j as l}from"./pdf-B939253e.js";import{a as g}from"./sentry-fDh08ad-.js";import{j as R,h as K,l as J,u as S,k as G,i as Y,R as tt,m as B,N as $}from"./core-CsRts4ln.js";import{ct as L,I6 as De,I7 as Je,dt as X,bH as ye,bI as Ce,rP as pt,I8 as at,rT as Gt,Ei as ee,rN as $t,rH as zt,I9 as Ue,rz as Yt,ry as Kt,rs as qt,rE as Ht,rU as Qt,Ia as ue,Ib as Ne,rA as Wt,Ic as he,cF as mt,s7 as St,s0 as ft,Id as gt,k$ as Ie,rX as vt,rV as Tt,Ie as xt,se as It,sb as Dt,rY as yt,sd as Me,CK as Ct,If as Zt,Ig as Xt,bJ as ea,Ih as ta,Ii as aa,Ij as pe,Ik as le,Il as Ee,Ej as Re,st as ve,Eh as Te,sg as Et,rQ as Ge,Im as na,Ek as H,In as $e,rK as sa,Io as oa,Ip as la,Iq as ze,Ir as Ye,Is as Ke,It as qe,sn as be,Iu as bt,s4 as wt,Iv as ia,Iw as ca,Ix as da,Iy as ra,Iz as ua,IA as ha,IB as pa,IC as ma,po as Sa,pp as fa,Do as je,ID as ga,IE as va,ga as Fe,bs as Ta,IF as xa,IG as Ia,hJ as Da,hS as ya,Dn as Pe,bG as nt,IH as kt,D3 as jt,II as Ca,IJ as Ea,IK as ba,hU as wa,IL as st,IM as ot,IN as lt,IO as it,IP as ka,hQ as ja,IQ as Fa,hT as Pa,IR as Aa,IS as Ft,DK as Pt,h7 as _a,IT as Va,IU as Ae,IV as At,DI as _t,un as La,IW as Ba,IX as Oa,hr as Vt,IY as Ja,IZ as Ua,DW as Na,n3 as Ma,I_ as Lt,I$ as ct,DT as _e,J0 as dt,J1 as Ra,DY as Ga,J2 as $a,J3 as za,J4 as Ya,J5 as Ka,J6 as qa,n6 as Ha,J7 as Qa,El as Wa,J8 as Za,DB as Ve,eb as Xa,J9 as en,Ja as tn,e9 as an,Jb as nn,Jc as sn,ur as on,Jd as ln,Je as cn,Jf as dn,Jg as rn,hb as un,bm as hn,cA as pn,cy as mn}from"./zeni-epic-state-C00HUVJa.js";import{js as U,a7 as Le,jQ as Bt,bk as W,jz as F,k4 as Z,kx as Sn,jO as N,O as xe,N as ie,ky as He,kz as fn,kA as gn,jM as Qe,kB as vn,y as Tn,e as ce,x as We,aE as te,aG as z,kC as xn,jD as Ze,kD as In,kE as Ot,k2 as Dn,kF as yn,_ as Cn,kG as En,kv as Jt,o as Q,f as Ut,jT as bn,kH as wn,kI as kn,J as Xe,kJ as jn,kK as Fn,jL as Pn,kL as An,kM as _n}from"./index-CM-kLVx4.js";import{n as M,D as Vn,S as Nt}from"./mui-Ca9xxv13.js";import{t as Ln,A as Bn}from"./AddressScreen-B8gfjqEn.js";import oe from"./NotFoundScreen-DTEhtYR0.js";import{F as On}from"./FeaturePreviewScreen-Bde69TZv.js";import{b as q,v as et,c as Jn}from"./routePaths-B10zk6VD.js";import{p as Mt}from"./pathToGoBack-L1TCPzMr.js";import{M as me}from"./MobileAppDrawer-rVevilC6.js";import{S as Un}from"./zeni-icon-only-DikSiTcc.js";import{D as Nn}from"./DrawerScreen-pM6VxF9h.js";import{g as Mn,m as Rn}from"./accountMappingHelper-BbZUkMb2.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./recharts-BjhLQRRU.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./utils-BC3aPe-C.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]="2b07b3b5-bd24-4f3e-8a9b-19d894576ac8",e._sentryDebugIdIdentifier="sentry-dbid-2b07b3b5-bd24-4f3e-8a9b-19d894576ac8")}catch{}})();const Gn=xe.getLocalizedStrings(),$n=G(function(e,a){const s=Je(e,a.scheduleTab),t=e.tenantState.currentTenantId;return{authParams:{userId:a.signedInUser.userId??"",sessionId:a.signedInUser.zeniSessionId??"",tenantId:t??""},linkBillExpenseView:s.linkBillExpenseView,transactions:s.linkBillExpenseView.transactions}},function(e,a){const{navigate:s,location:t}=a;return{onTransactionSelect(n){e(at({selectedTransaction:n}))},onBackClick:()=>{s("..",{relative:"path"})},onCancel(){e(at({selectedTransaction:void 0})),e(Gt()),s("..",{relative:"path"})},onTransactionClick:n=>{const o=`${q(n,a.tenantEmailDomain)}`,c=N(t.state?.pathnameStackToGoBack,t.pathname);s(o,{state:{pathnameStackToGoBack:c}})},onLinkSave(){a.setShouldNavigateBack(!1),e(pt(a.scheduleTab,a.scheduleAccruedDetailsView.selectedJEAccruedSchedule?.jeScheduleId))}}})(Sn),zn=({setShouldNavigateBack:e})=>{const a=R(),s=K(),{scheduleDetailId:t,tenantEmailDomain:n}=J(),{scheduleType:o}=J();if(n==null)throw Error("Can't access Link Bill Expense page without tenant Email Domain");const c=S(f=>L(f)),r=De(o)??"accrued_expenses",h=U.getSignedInUser();if(h==null)throw Error("Can't access Link Bill Expensedetail page without signing in...");if(t==null)throw Error("Invalid Schedule Detail Id");const i=S(f=>Je(f,r)),m=i.selectedJELinkRowIndex,d=S(f=>X(f,c.companyId)),u=Le(i.updateStatus.fetchState);g.useEffect(()=>{u==="In-Progress"&&i.updateStatus.fetchState==="Completed"&&a("..",{relative:"path"})},[u,i.updateStatus.fetchState]),g.useEffect(()=>{i.fetchState==="Not-Started"&&a("..",{relative:"path"})},[]),g.useEffect(()=>{i.selectedJEAccruedSchedule!=null&&i.selectedJELinkRowIndex!=null||a("..",{relative:"path"})},[i.selectedJEAccruedSchedule,i.selectedJELinkRowIndex]);const p=i.linkBillExpenseView.fetchState==="Completed";return l.jsx(l.Fragment,{children:i.linkBillExpenseView.fetchState==="In-Progress"?l.jsx(Bt,{fetchState:i.linkBillExpenseView.fetchState}):i.selectedJEAccruedSchedule!=null&&m!=null?l.jsxs(l.Fragment,{children:[p===!0?l.jsx(W,{analytics:F,onLoad:()=>{Yn(i,r,d)}}):null,l.jsx($n,{signedInUser:h,attachmentEndPoint:`${Z}/vendor_attachments`,setShouldNavigateBack:e,scheduleVendorId:i.selectedJEAccruedSchedule.vendor.id??"",location:s,tenantEmailDomain:n,scheduleAccruedDetailsView:i,saveFetchState:i.updateStatus.fetchState,scheduleTab:r,navigate:a,analytics:F,controllerUserDetails:d,saveStatus:i.updateStatus.fetchState,jeAccruedSchedule:i.selectedJEAccruedSchedule,localData:i.scheduleAccruedDetailsLocalData.jeScheduleDetails[m]})]}):null})},Rt=e=>{const a=Gn.dateFormat.analytics.YYYYDashMMDashDDFormat;return{scheduleCreateDate:e.createTime.format(a)??null,scheduleMonthlyAmount:e.recurringAmount??null,startingBalance:e.otherAttributes.startingBalance??null,scheduleAccountCategory:e.jeCredit.account?.accountName??null,description:e.memo,runningBalance:e.balanceAsOfToday??null,currentBalance:e.balanceAsOfToday??null,currentStatus:e.status.label,period:e.period??null,startMonth:e.startDate?.format(a)??null,endMonth:e.endDate?.format(a)??null}},Yn=(e,a,s)=>{const t=e.selectedJEAccruedSchedule,n=e.selectedJELinkRowIndex;let o;n!=null&&t!=null&&(o=t.scheduledJournalEntry[n]);const{transactions:c}=e.linkBillExpenseView,r=c.some(m=>m.isRecommendedTransaction===!0),h=ye(s.controllers),i=Ce(s.controllerUserIds);t!=null&&F.trackScheduleAccruedDetailsJournalEntryLinkedLoaded({scheduleType:a,schedule:{...Rt(t)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{wasRecommendationAvailable:r,journalEntryPostingStatus:o?.status.label??""},vendorName:t.vendor.name??null,controllerEmails:h,controllerUserIds:i})},Kn=M.div`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{a7 as L,T as N,V as r,bn as P,E as d,A,bo as M,C as x,bp as R,o as n,O as _,a as I,bq as z,l as O,br as H,bs as C,b6 as q,f as j,au as v,bt as U}from"./index-BngCC-zG.js";import{a as l}from"./sentry-CHlUi953.js";import{n as t}from"./mui-DyGc7Pg8.js";import{bs as W}from"./zeni-epic-state-D8D2Skiq.js";import{A as X,Z as k}from"./AccountLockedInfoModal-Dox7IuAX-C5qPLBPz.js";import"./pdf-BxqSCr4b.js";import"./core-CVVdXRky.js";import"./lottie-D68Xb3aQ.js";import"./liveblocks-CHs9GmLG.js";import"./recharts-CMjB5mmq.js";import"./dnd-CcRW__D6.js";import"./analytics-CZ3wLx3P.js";import"./plaid-xWfKHEqu.js";import"./utils-BpkJZQMI.js";import"./handshake-BPg58FML-tq0X0Kiz.js";import"./unlock-BPWn2I5L-BfuVrsIJ.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]="8aac7a96-247c-4e1f-b5e1-f59899352afa",e._sentryDebugIdIdentifier="sentry-dbid-8aac7a96-247c-4e1f-b5e1-f59899352afa")}catch{}})();const Z=e=>{if(!e)return"";try{const i=H(e);if(!i){const s=e.replace(/\D/g,"");if(s.length>=4){const c=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${c}`}return C(e)||e}return`+${i.countryCallingCode} (•••) ••• ${i.nationalNumber.slice(-4)}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const p=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},o=_.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f="otpInputField",Oe=e=>{const i=e.verifyOtpFetchState==="In-Progress",[p,s]=l.useState(!1),[c,w]=l.useState(!1),[g,T]=l.useState(0),[$,D]=l.useState(120),[h,S]=l.useState(30),E=L(e.verifyOtpFetchState),m=N({mode:"all",reValidateMode:"onChange",defaultValues:{[f]:""}}),y=m.watch(f),F=o.footerHelperText.replace(/<button_text>/,o.verify);return l.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(s(!0),T(a=>a+1),m.setValue(f,""))},[E,e.verifyOtpFetchState,m]),l.useEffect(()=>{if($<=0)return void w(!0);const a=setInterval(()=>{D(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[$]),l.useEffect(()=>{if(h<=0)return;const a=setInterval(()=>{S(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[h]),r.jsx(P,{open:!0,children:r.jsxs(B,{children:[r.jsx(d,{controller:g>2,children:r.jsx(X,{unlockDate:W().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:g<=2,children:r.jsx(A,{...m,children:r.jsxs(ce,{children:[r.jsxs(se,{children:[r.jsx(G,{children:o.verifyDeviceTitle}),r.jsx(J,{children:o.verifyDeviceDescription}),r.jsxs(Q,{children:[e.phoneNumber!=null&&r.jsx(K,{children:Z(e.phoneNumber+"")}),r.jsx(M,{placement:"top",title:r.jsxs(x,{children:[o.changePhoneNumberHelperText,r.jsx(fe,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(ue,{})})]})]}),r.jsxs(Y,{children:[r.jsx(R,{value:y,valueLength:6,hasError:c===!0||p===!0,style:{margin:n.sp0},onChange:a=>{m.setValue(f,a),s(!1)}}),r.jsx(d,{controller:c===!1,children:r.jsx(V,{children:r.jsxs(de,{children:[o.codeExpiresIn," ",(b=$,`${Math.floor(b/60)}:${(b%60).toString().padStart(2,"0")}`)]})})}),r.jsx(d,{controller:c===!0,children:r.jsx(V,{children:r.jsx(pe,{children:o.codeExpired})})})]}),p===!0&&c===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:g>=1,children:r.jsx(ee,{children:o.incorrectCode})}),r.jsx(d,{controller:g===2,children:r.jsx(he,{children:r.jsxs(x,{children:[r.jsx(me,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(re,{children:[r.jsx(te,{children:o.codeNotReceived}),r.jsx(oe,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),s(!1),w(!1),m.setValue(f,""),D(120),S(30))},children:o.resend}),h>0&&r.jsxs(ne,{children:[_.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ae,{children:[r.jsxs(ie,{children:[r.jsx(I,{label:o.cancel,onClick:()=>{e.onCancelVerifyDevice()},style:{width:82}}),r.jsx(I,{variant:"primary",label:o.verify,onClick:()=>{y.trim().length===6&&e.onVerifyOtp(y)},style:{width:82},loading:i,disabled:y.trim().length!==6||c===!0})]}),r.jsx(le,{children:F})]})]})})})]})});var b},B=t.div`
1
+ import{a7 as L,T as N,V as r,bn as P,E as d,A,bo as M,C as x,bp as R,o as n,O as _,a as I,bq as z,l as O,br as H,bs as C,b6 as q,f as j,au as v,bt as U}from"./index-CM-kLVx4.js";import{a as l}from"./sentry-fDh08ad-.js";import{n as t}from"./mui-Ca9xxv13.js";import{bs as W}from"./zeni-epic-state-C00HUVJa.js";import{A as X,Z as k}from"./AccountLockedInfoModal-Dox7IuAX-MWfg9fM9.js";import"./pdf-B939253e.js";import"./core-CsRts4ln.js";import"./lottie-BzC9xJC8.js";import"./liveblocks-Dne4miE8.js";import"./recharts-BjhLQRRU.js";import"./dnd-BXL1VS_L.js";import"./analytics-J_ppbv70.js";import"./plaid-Du-0dhaT.js";import"./utils-BC3aPe-C.js";import"./handshake-BPg58FML-DNugM_ST.js";import"./unlock-BPWn2I5L-Dly17oLj.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]="8aac7a96-247c-4e1f-b5e1-f59899352afa",e._sentryDebugIdIdentifier="sentry-dbid-8aac7a96-247c-4e1f-b5e1-f59899352afa")}catch{}})();const Z=e=>{if(!e)return"";try{const i=H(e);if(!i){const s=e.replace(/\D/g,"");if(s.length>=4){const c=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${c}`}return C(e)||e}return`+${i.countryCallingCode} (•••) ••• ${i.nationalNumber.slice(-4)}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const p=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},o=_.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f="otpInputField",Oe=e=>{const i=e.verifyOtpFetchState==="In-Progress",[p,s]=l.useState(!1),[c,w]=l.useState(!1),[g,T]=l.useState(0),[$,D]=l.useState(120),[h,S]=l.useState(30),E=L(e.verifyOtpFetchState),m=N({mode:"all",reValidateMode:"onChange",defaultValues:{[f]:""}}),y=m.watch(f),F=o.footerHelperText.replace(/<button_text>/,o.verify);return l.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(s(!0),T(a=>a+1),m.setValue(f,""))},[E,e.verifyOtpFetchState,m]),l.useEffect(()=>{if($<=0)return void w(!0);const a=setInterval(()=>{D(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[$]),l.useEffect(()=>{if(h<=0)return;const a=setInterval(()=>{S(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[h]),r.jsx(P,{open:!0,children:r.jsxs(B,{children:[r.jsx(d,{controller:g>2,children:r.jsx(X,{unlockDate:W().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:g<=2,children:r.jsx(A,{...m,children:r.jsxs(ce,{children:[r.jsxs(se,{children:[r.jsx(G,{children:o.verifyDeviceTitle}),r.jsx(J,{children:o.verifyDeviceDescription}),r.jsxs(Q,{children:[e.phoneNumber!=null&&r.jsx(K,{children:Z(e.phoneNumber+"")}),r.jsx(M,{placement:"top",title:r.jsxs(x,{children:[o.changePhoneNumberHelperText,r.jsx(fe,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(ue,{})})]})]}),r.jsxs(Y,{children:[r.jsx(R,{value:y,valueLength:6,hasError:c===!0||p===!0,style:{margin:n.sp0},onChange:a=>{m.setValue(f,a),s(!1)}}),r.jsx(d,{controller:c===!1,children:r.jsx(V,{children:r.jsxs(de,{children:[o.codeExpiresIn," ",(b=$,`${Math.floor(b/60)}:${(b%60).toString().padStart(2,"0")}`)]})})}),r.jsx(d,{controller:c===!0,children:r.jsx(V,{children:r.jsx(pe,{children:o.codeExpired})})})]}),p===!0&&c===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:g>=1,children:r.jsx(ee,{children:o.incorrectCode})}),r.jsx(d,{controller:g===2,children:r.jsx(he,{children:r.jsxs(x,{children:[r.jsx(me,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(re,{children:[r.jsx(te,{children:o.codeNotReceived}),r.jsx(oe,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),s(!1),w(!1),m.setValue(f,""),D(120),S(30))},children:o.resend}),h>0&&r.jsxs(ne,{children:[_.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ae,{children:[r.jsxs(ie,{children:[r.jsx(I,{label:o.cancel,onClick:()=>{e.onCancelVerifyDevice()},style:{width:82}}),r.jsx(I,{variant:"primary",label:o.verify,onClick:()=>{y.trim().length===6&&e.onVerifyOtp(y)},style:{width:82},loading:i,disabled:y.trim().length!==6||c===!0})]}),r.jsx(le,{children:F})]})]})})})]})});var b},B=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${"256px"};