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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/dist/assets/{ACHDetailsPage-D6-Uk4xr-CqCQg7ha.js → ACHDetailsPage-D6-Uk4xr-jFv1GnoI.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-pQP8EI_S-DOdJRYuT.js → AIPerformancePage-pQP8EI_S-BmqjuJLP.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-DxAa9GD7-BDuKQBCM.js → AccountInfoPage-DxAa9GD7-D7apIJBS.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-tNTpX5pA-DZsnTAw6.js → AccountInfoPageContent-tNTpX5pA-Dq_hVydq.js} +1 -1
  5. package/dist/assets/{AccountReconDetailsDrawerPage-CbZaDfU0-D6InUwmP.js → AccountReconDetailsDrawerPage-CbZaDfU0-DaawWCL4.js} +1 -1
  6. package/dist/assets/{AccountRow-BpBK8mVs-D3-rIOZV.js → AccountRow-BpBK8mVs-CWKKWdc9.js} +1 -1
  7. package/dist/assets/{AccountsPromoCardStack-DBCYok4Z-BX2c8K6j.js → AccountsPromoCardStack-DBCYok4Z-A49ZhRDR.js} +1 -1
  8. package/dist/assets/{AddAddressForCardDrawer-BP8sDedz-fAvU3zAk.js → AddAddressForCardDrawer-BP8sDedz-DSB40bVC.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-Dsw1GIbh-C-TkI1oG.js → AddToWalletPage-Dsw1GIbh-BSm9RiLd.js} +1 -1
  10. package/dist/assets/{AgingReportsPage-COC3iACh-ihUmY_za.js → AgingReportsPage-COC3iACh-C5F0xJIX.js} +1 -1
  11. package/dist/assets/{AllUserItems-DKoDASKq-BK1HOlxO.js → AllUserItems-DKoDASKq-DdNtnSb4.js} +1 -1
  12. package/dist/assets/{ApAgingDetailPage-BKAJMyRm-D4FAXjMB.js → ApAgingDetailPage-BKAJMyRm-BNLhw8rC.js} +1 -1
  13. package/dist/assets/{AppBasePage-6fgXwSBv-PwB9ZP6-.js → AppBasePage-6fgXwSBv-D_v1hA25.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-DnYw60Xv-DEM6VfAx.js → AppDrawerContent-DnYw60Xv-B7MgYjtO.js} +1 -1
  15. package/dist/assets/{ApprovalRulesSettingsPage-X4EYoBfl-BbXFDQ_-.js → ApprovalRulesSettingsPage-X4EYoBfl-KdnTY675.js} +1 -1
  16. package/dist/assets/{ArAgingChart-CNghm3pm-Dc-aS72N.js → ArAgingChart-CNghm3pm-BgpJccmt.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-DD4M5tUJ-CHn9GwO8.js → ArAgingDetailPage-DD4M5tUJ-BlYSsYlo.js} +1 -1
  18. package/dist/assets/{AttachmentView-Bp678glv-Bz7vnOLP.js → AttachmentView-Bp678glv-q5i7KaEA.js} +1 -1
  19. package/dist/assets/{BankAccountSection-DCHOrv1O-CHEMQ8hk.js → BankAccountSection-DCHOrv1O-5bvqtg8o.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-Bof6a4Ai-D6cSyNpo.js → BankAccountWarningSection-Bof6a4Ai-D_X_UYgf.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-KWPfd_oN-Cw1WYpDv.js → BankConnectionsSettingsPage-KWPfd_oN-Bz0yQRf6.js} +1 -1
  22. package/dist/assets/{BillDetailPage-D5FyJKQZ-F16Zazrc.js → BillDetailPage-D5FyJKQZ-BDKG0T5L.js} +1 -1
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-C17DUKc8-dVTzDWJq.js → BillPayApprovalRuleDetailPage-C17DUKc8-uDIFTPco.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-C6b0Dx9D-GKQByTVv.js → BillPayApprovalRulesPage-C6b0Dx9D-DhxHdUJx.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-BhbcKNjD-Dc50ymZA.js → BillPayPromoPage-BhbcKNjD-CvojuwFp.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-DFkYsW2C-ejvkAWu2.js → BillPaySetUpPage-DFkYsW2C-BYQSIQ2q.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-DQ-GDRoK-DLGZh1Tj.js → BillingSettingsPage-DQ-GDRoK-DXTBvn4K.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-DzTwDeIy-Ds5BqJGh.js → BillsBulkReviewDrawerPage-DzTwDeIy-DqYYhO09.js} +1 -1
  29. package/dist/assets/{BoxItem-a04JWA45-DJp9lW-u.js → BoxItem-a04JWA45-C1LNy4lJ.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-BCr_ObVJ-OqegkAuZ.js → BusinessVerificationPage-BCr_ObVJ-B8FzYlfZ.js} +1 -1
  31. package/dist/assets/{CardNumberSubText-B5ejHnml-CLY9anWS.js → CardNumberSubText-B5ejHnml-C3WWdznE.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-DX_XsNhS-BMZOysYo.js → CashbackDetailPage-DX_XsNhS-BZkWZvJX.js} +1 -1
  33. package/dist/assets/{ChargeCardDetailPage-Ckbi7U9j-D_fwMr5K.js → ChargeCardDetailPage-Ckbi7U9j-DV5ro9Lj.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-CglfbPqr-D7muWz7z.js → ChargeCardListPage-CglfbPqr-DkdBMcPW.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-BxAeA97m-C-BUBRdZ.js → ChargeCardListTable-BxAeA97m-DhK6iFhq.js} +1 -1
  36. package/dist/assets/{ChargeCardPromoPage-BfsQUUYb-D4zqkYsh.js → ChargeCardPromoPage-BfsQUUYb-Dgj-8gSG.js} +1 -1
  37. package/dist/assets/{ChargeCardSetupPage-Bq953HsV-BJMN-xIh.js → ChargeCardSetupPage-Bq953HsV-J6EdPALC.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-B_5uvkaq-QS7pzZOg.js → ChargeCardStatementsPage-B_5uvkaq-GOsKFOMZ.js} +1 -1
  39. package/dist/assets/{ChargeCardUtils-Bivw83fy-L79bEW0e.js → ChargeCardUtils-Bivw83fy-DoKh_ipP.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-LcVAgdoT-D1Jb2EIj.js → ChaseOverlay-LcVAgdoT-9JR0Zv57.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-SpI62oU7-Q03dZELD.js → CheckDepositDrawerPage-SpI62oU7-ay-ttmIe.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CKmPwC_x-DvM2BIk1.js → CollapsableReportTable-CKmPwC_x-QhRCql-r.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-BlLsNJaD-grOU-fb_.js → CompanyOfficerDetailsSection-BlLsNJaD-DFeWFucX.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-ElwK6uOD-uKq6JSMM.js → CompanyPassportCard-ElwK6uOD-F6JuKciR.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-B6mGjsJZ-QyXjNlOK.js → CompanyPassportPage-B6mGjsJZ-D4tm48-a.js} +1 -1
  46. package/dist/assets/{CompleteProfile-C1PIn6EM-BoaPrgBO.js → CompleteProfile-C1PIn6EM-Ir6BV2zK.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-CjhkW_Be-tE_S1zJ3.js → ConfettiBurst-CjhkW_Be-BI15fZq4.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-DHvmRSee-B7H_LsnK.js → CreateOrEditVendorPage-DHvmRSee-CxkBhh6M.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-BIaTYAUf-Rj5ttUPd.js → CreditCardPaymentDrawerPage-BIaTYAUf-B7y-9nys.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentPlgSection-mUqReF9z-IZFYMes7.js → CreditCardPaymentPlgSection-mUqReF9z-BfHxZrsE.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-DS-pGcuE-DLCIpnvb.js → CurrencySelectField-DS-pGcuE-BGqiVYG1.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-CIOyRd8r-BQMewqvn.js → CustomerOnboardingActivationPage-CIOyRd8r-FLMbZZc8.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-Lh0xH_Pl-BrVAUFsT.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-A_l9Qen8-BtaF5eWl.js → CustomerOnboardingDetailPageSkeleton-A_l9Qen8-C1oSOHVg.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-D5BcbVEK-CYF4Do82.js → CustomerOnboardingNoStepsPage-D5BcbVEK-pj30prKU.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-N-8Zd7M_-BLw-RmQq.js → CustomerOnboardingPage-N-8Zd7M_-DNIqvHf3.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DZwacur5-CHyEWXN_.js → CustomerOnboardingProductSuitePage-DZwacur5-hGJUPhue.js} +1 -1
  58. package/dist/assets/{Dashboard-CQoNm84Z-CGt51QX0.js → Dashboard-CQoNm84Z-Cs2ZdkxJ.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-D4BoWobJ-DB51j3mA.js → DashboardReportPage-D4BoWobJ-yZjHxD4A.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-C6_OrohL-DcY3deV_.js → DepositAccTransactionItem-C6_OrohL-BGfaLs6w.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-Cxvs7tMg-CslTnL-f.js → DepositAccTransactionListPage-Cxvs7tMg-CZX95_vZ.js} +1 -1
  62. package/dist/assets/{DocumentSecurityBanner-Bo9Hgo-I-DBmSgZgH.js → DocumentSecurityBanner-Bo9Hgo-I-rtEtCt6Y.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-DzKlJFvy-D6rsk0GH.js → DomesticWireDetailsPage-DzKlJFvy-C-BExS4G.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-BoIyiJ9R-BzDhGwzl.js → DownloadOverlay-BoIyiJ9R-DsBfFiz4.js} +1 -1
  65. package/dist/assets/{DrawerPage-C_kxrXIc-CYxcqhiW.js → DrawerPage-C_kxrXIc-DVV_RfYu.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-auUWC3gB-DhunvsTv.js → EditPeoplePage-auUWC3gB-eVdswl0e.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-C-Lj-_YG-D3CWZXPH.js → EditReimbursementDetailPage-C-Lj-_YG-CD5iBKwa.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-Cqkhzu9O-CQdpKsUY.js → EntityDetailPage-Cqkhzu9O-D4nSYNpc.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-Dqgxknt6-CcorkWsq.js → EntitySummarySection-Dqgxknt6-BJXynL5O.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CEsyeJ9u-IlYsieJj.js → ExpenseAutomationOverviewPage-CEsyeJ9u-BgjJamdE.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-DxpK2JR5-b76Jf9fI.js → ExpenseAutomationPage-DxpK2JR5-Bno6HNVc.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-DBWJERD9-DkcgiQRL.js → ExpressPayPage-DBWJERD9-C99_7DYc.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-CwGJVCMk-c-nKLWL3.js → FeaturePreviewPage-CwGJVCMk-C88NXisE.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-BrJecw-e-CQdWJjWJ.js → FollowStepsSection-BrJecw-e-DxiUX8Lf.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-Duoi9mD_-Der2mhxZ.js → GlobalReviewListPage-Duoi9mD_-xu3W8826.js} +1 -1
  76. package/dist/assets/{HelpButton-C1djo0zO-BW6NBTNW.js → HelpButton-C1djo0zO-CxYW3QWQ.js} +1 -1
  77. package/dist/assets/{InformationCardStack-BE5eaq-x-7TOfUxxA.js → InformationCardStack-BE5eaq-x-jnl5_r_P.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-EzAsNm_U-Cm_xrDcd.js → InsightsCardStack-EzAsNm_U-DOxieK32.js} +1 -1
  79. package/dist/assets/{InsightsSection-nzKuS0T9-CcXyZxZ8.js → InsightsSection-nzKuS0T9-DxBuHfNE.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-45ETlpC6-ClhfPkcQ.js → IntegrationsSettingsPage-45ETlpC6-Ceg3xdUn.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-B21X5YFS-DWJjZuCw.js → InternationalWireSwiftDetailsPage-B21X5YFS-DUJjwzMe.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-BzagdPaG-Cl81RiNZ.js → InternationalWireVerificationPage-BzagdPaG-ETH-TFJ4.js} +1 -1
  83. package/dist/assets/{InviteFormPage-BNdBP-Mm-BdFbqKES.js → InviteFormPage-BNdBP-Mm-DdF7yrct.js} +1 -1
  84. package/dist/assets/{InvitePageListView-ChzmK7Rt-D29gFXI6.js → InvitePageListView-ChzmK7Rt-CsxcBmQK.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-DgqE2Y-0-DKu709Rv.js → InvitePeoplePage-DgqE2Y-0-CrbUVUxy.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-B8o-l15n-Da7WgU-0.js → InvoiceUploadSection-B8o-l15n-DT5xRRC2.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-BW0cXQqh-BmbmlACe.js → IssueChargeCardPage-BW0cXQqh-Am6endI_.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-BioQUVCV-fsudcvfQ.js → LabeledAddressValue-BioQUVCV-BQVyTN5W.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-Cw-p18du-D9T5QqTG.js → LabeledAddressValueField-Cw-p18du-ncMTWBsz.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-CGT7KsYZ-jRPtCjyI.js → LabeledControlledCheckBoxField-CGT7KsYZ-8Yk74ikH.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-nys9pbO0-0SJcSq-w.js → LabeledCreatableSingleSelectField-nys9pbO0-Cdtj6tvs.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-Y6TKpyZ8-CW27Za_m.js → LabeledDocumentField-Y6TKpyZ8-CxE5GTn1.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-DWP9oUzM-TYwr2dWi.js → LabeledDropDownFormattedTextField-DWP9oUzM-Bq2gS2Tu.js} +1 -1
  94. package/dist/assets/{LabeledText-QrjXGWwJ-Csl1kB9E.js → LabeledText-QrjXGWwJ-CNRYgiQJ.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BK9XCXKo-CRz-dhMo.js → LabeledUserSingleSelectWithSubtitlesField-BK9XCXKo-piBn824J.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-C2PAZOPW-ChSwcxj4.js → LabeledZeniRolesDropDownField-C2PAZOPW-BazOR2LB.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-BF6-BdWE-DO5i53f_.js → LinkJETransactionPage-BF6-BdWE-DwavLRyr.js} +1 -1
  98. package/dist/assets/{LowBalancePopup-ZZ8Ap8Ls-CO5moJjL.js → LowBalancePopup-ZZ8Ap8Ls-8KOv0WBL.js} +1 -1
  99. package/dist/assets/{MagicLinkACHDetailsPage-BDXiOwx_-D5AHGKn1.js → MagicLinkACHDetailsPage-BDXiOwx_-CO5NrWbz.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-B1-CK91r-BBsb3LWh.js → MagicLinkDomesticWireDetailsPage-B1-CK91r-CLFCWolP.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-D2rnWzME-pHczJsmC.js → MagicLinkInternationalWireDetailsPage-D2rnWzME-CH-1IkqQ.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-IHajRicG-TvKR0rcg.js → MagicLinkSuccessPage-IHajRicG-BibYk803.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-CmTUPCA1-crT0_cjI.js → MagicLinkTitleSection-CmTUPCA1-CdDbl1jW.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-AiehjqI1-CrcmbjEa.js → MailingDetailsSection-AiehjqI1-DltTuNAp.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-COpKcBhx-C1b7HyPI.js → MeetingCalenderPopup-COpKcBhx-DUhr4aqa.js} +1 -1
  106. package/dist/assets/{Menu-frAXxk4e-ChxiZJil.js → Menu-frAXxk4e-CEl4TWuB.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BtC6C9fL-CIbylXW-.js → MyBankConnectionsSettingsPage-BtC6C9fL-Du0eSPRF.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-tXIpyxdq-DyLbYr-a.js → MyPendingActivationChargeCardListPage-tXIpyxdq-Be08cRIN.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BmMskLyK-BRbEv4qP.js → MyProfileSettingsPage-BmMskLyK-BhR2LYzK.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-ByLynfu6-DkhTP5l5.js → NavBarWithPicker-ByLynfu6-BwveajND.js} +1 -1
  111. package/dist/assets/{NavigationArrow-D5-YpdfE-BYBuxDoB.js → NavigationArrow-D5-YpdfE-BwY9x4L-.js} +1 -1
  112. package/dist/assets/{NavigationDots-MA8SVlUT-BNaROjbH.js → NavigationDots-MA8SVlUT-xHbUxadi.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-DtTW2Du8-teWW5fR7.js → NewGlobalMerchantPage-DtTW2Du8-DMQT2zFb.js} +1 -1
  114. package/dist/assets/{NoDataChart-BdzVnx59-Zwl7GRg0.js → NoDataChart-BdzVnx59-oKIht6u7.js} +1 -1
  115. package/dist/assets/{NoDataTable-B4J5Ou18-BjRs61V8.js → NoDataTable-B4J5Ou18-Cw0Ivws_.js} +1 -1
  116. package/dist/assets/{NotFoundPage-BeAXQOme-HRJfFoZt.js → NotFoundPage-BeAXQOme-CuhCQaCm.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-CRZRet42-B4tscA88.js → NotificationSettingsPage-CRZRet42-ChT5Efdt.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-CkSDaMij-aj-ed0aI.js → NotificationsListConfig-CkSDaMij-BWI9bnS_.js} +1 -1
  119. package/dist/assets/{NotificationsPage-Dqe96fU8-DGXpNPVr.js → NotificationsPage-Dqe96fU8-B4GRmHU9.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-CXtkN87m-D6OjOLM9.js → OpExByVendorPage-CXtkN87m-9RF5RbBE.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-Cy_Jxf8N-B2CxgCWd.js → OverlayContainerPage-Cy_Jxf8N-Bv7YPFQu.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-DTOqkynU-9NyuYxx1.js → PandLWithForecastPage-DTOqkynU-DcIpR3TG.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-C6WFeB3A-C9tSnFrF.js → PaymentAccountSetupBillingAddressSection-C6WFeB3A-JhDc6t0k.js} +1 -1
  124. package/dist/assets/{PeoplePage-D-j114xg-s5ngzrYI.js → PeoplePage-D-j114xg-BxamB_kT.js} +1 -1
  125. package/dist/assets/{PortfolioAllocationFormPage-C4XzSjzr-AaZTXsTp.js → PortfolioAllocationFormPage-C4XzSjzr-Ckb17xct.js} +1 -1
  126. package/dist/assets/{PortfolioDetails-Bbfo0XDo-F8wi_TkN.js → PortfolioDetails-Bbfo0XDo-CpIyByD0.js} +1 -1
  127. package/dist/assets/{ProductsCarousel-COUx0Xdj-Bk25WJ5z.js → ProductsCarousel-COUx0Xdj-C589g0zM.js} +1 -1
  128. package/dist/assets/{PromoBaseCards-DG1CAZvU-Kp-BaaPo.js → PromoBaseCards-DG1CAZvU-DDe9HUmw.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-DLVcifji-BzsFl8lU.js → QBOConnectionDialog-DLVcifji-0Jo7Zt8G.js} +1 -1
  130. package/dist/assets/{QBOSetupSection-BeRZZ-Q_-a6rhf4W-.js → QBOSetupSection-BeRZZ-Q_-sC98B-t_.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CrbiufS3-Bj0-a-7-.js → ReimbursementApprovalRuleDetailPage-CrbiufS3-CDL6aFMg.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-CTk2aZMz-oZhsGYfa.js → ReimbursementApprovalRulesPage-CTk2aZMz-P7YlSIWb.js} +1 -1
  133. package/dist/assets/{ReimbursementDetailPage-BofsP0W--DVgChjvg.js → ReimbursementDetailPage-BofsP0W--3SXuCoLt.js} +1 -1
  134. package/dist/assets/{ReimbursementPromoPage-CA2cUBsx-DqpwfsT0.js → ReimbursementPromoPage-CA2cUBsx-DTv3uM9b.js} +1 -1
  135. package/dist/assets/{ReimbursementSetUpPage-Em6S1wkj-DAxU1I0b.js → ReimbursementSetUpPage-Em6S1wkj-DUaBVZlT.js} +1 -1
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DpWChhvB-CNq5fdbL.js → ReimbursementsBulkReviewDrawerPage-DpWChhvB-Bbi3QmlG.js} +1 -1
  137. package/dist/assets/{ReloadCard-CZ1Ix5em-CJhVpNi9.js → ReloadCard-CZ1Ix5em-ntwCW2pN.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-BRA3CT_O-BWHSw_d5.js → ReportTableViewSelector-BRA3CT_O-5B_3yPmG.js} +1 -1
  139. package/dist/assets/{ReportsPage-CauV3wnZ-Bfok01xk.js → ReportsPage-CauV3wnZ-JaeNla79.js} +1 -1
  140. package/dist/assets/{RevenueChart-BeM_1hYw-DP9fkCbH.js → RevenueChart-BeM_1hYw-BC40z0R8.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-C5xC8Cf1-Bcj2cFMw.js → ReviewDetailsPage-C5xC8Cf1-BAevb1zN.js} +1 -1
  142. package/dist/assets/{ReviewOverlay-DdWa7GLG-YdWdWayu.js → ReviewOverlay-DdWa7GLG-BGKsJw6X.js} +1 -1
  143. package/dist/assets/{RoleWithToolTip-BP8MTZdU-BOm9Us2_.js → RoleWithToolTip-BP8MTZdU-DnEd53cN.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BlhhW9A6-Cgf6Hq7_.js → ScheduleDetailsFixedAssetsPage-BlhhW9A6-ttxCT2nP.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsPage-BKWKZuAL-CQ6iSQsN.js → ScheduleDetailsPage-BKWKZuAL-Dj0cWygj.js} +1 -1
  146. package/dist/assets/{ScheduleSequenceTable-BzWPTqDM-Dgu5c0RS.js → ScheduleSequenceTable-BzWPTqDM-6FAFWl-T.js} +1 -1
  147. package/dist/assets/{ScreenRoutes-BBcvidtT.js → ScreenRoutes-DjRy_uCy.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-Trj1x2HL-CiAxSNYR.js → SetUpAccountSection-Trj1x2HL-BZyG0FUR.js} +1 -1
  149. package/dist/assets/{SetUpDefaultSection-BQzNGjO7-an74W3Da.js → SetUpDefaultSection-BQzNGjO7-C6ny-1cl.js} +1 -1
  150. package/dist/assets/{SignIn-Duk9PNwU-Y2eo5FDG.js → SignIn-Duk9PNwU-XgHu7-OU.js} +1 -1
  151. package/dist/assets/{SignInScreen-BDl851xo.js → SignInScreen-BZwFN3GK.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-CREdM633-Cg0NFbb7.js → SpendManagementListViewPage-CREdM633-X97fArWe.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-BZ6ISWXe-BYNegFz5.js → SpendManagementPerTabPage-BZ6ISWXe--gdxlwsD.js} +1 -1
  154. package/dist/assets/{SpendManagementSection-bMsztUap-upI-ZdzC.js → SpendManagementSection-bMsztUap-ChI9xiC5.js} +1 -1
  155. package/dist/assets/{SpendMgmtSetupAccountSection-Btdtp-ry-M7exC_NJ.js → SpendMgmtSetupAccountSection-Btdtp-ry-25hbeX41.js} +1 -1
  156. package/dist/assets/{StatementItem-XLqlrHIu-VoU4RUpG.js → StatementItem-XLqlrHIu-VUIrNJz9.js} +1 -1
  157. package/dist/assets/{StatementsPage-DWiXiOFU-DZPVh_4x.js → StatementsPage-DWiXiOFU-DpX-5t-Y.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-D1XZ-pbx-DwwsmfkA.js → StatusSwitcher-D1XZ-pbx-cB_dyto4.js} +1 -1
  159. package/dist/assets/{SubTabSwitcher-Bt3F7ANv-e4DBICdr.js → SubTabSwitcher-Bt3F7ANv-HbYWozk_.js} +1 -1
  160. package/dist/assets/{SummaryCard-edbbHOmb-DIbjh5sC.js → SummaryCard-edbbHOmb-BEN1lpgF.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-BhtJBdco-CawcFnLk.js → TaskManagementPage-BhtJBdco-BwmkQiB4.js} +1 -1
  162. package/dist/assets/{TimeRangeSwitcher-D9KzhRYO-DSUt4L30.js → TimeRangeSwitcher-D9KzhRYO-CGt3UmvC.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcher-CbEHKZvd-CUipNC15.js → TimeframeSwitcher-CbEHKZvd-BCN5TvqV.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-Cb91RXpD-Bqbdu9xs.js → TimeframeSwitcherWithToggle-Cb91RXpD-DUY2ERxI.js} +1 -1
  165. package/dist/assets/{TopExCard-DD9Rf9T6-CfNVkG6m.js → TopExCard-DD9Rf9T6-CUD3JVc3.js} +1 -1
  166. package/dist/assets/{TopExDetailPage-DaDuwFrj-BOsQHlTA.js → TopExDetailPage-DaDuwFrj-ClnsDrKm.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-0fIW4o-6-BKhKFulx.js → TransactionDetailPage-0fIW4o-6-BtL9d2ga.js} +1 -1
  168. package/dist/assets/{TransactionList-CLjBadiP-By9OtkVt.js → TransactionList-CLjBadiP-DaI1JPM6.js} +1 -1
  169. package/dist/assets/{TransactionListBig-CwBxP1xB-DEm91bPU.js → TransactionListBig-CwBxP1xB-Clk1cQcr.js} +1 -1
  170. package/dist/assets/{TransactionListPage-S1nTM7Yy-Hu_PcxrN.js → TransactionListPage-S1nTM7Yy-BXDsYhyh.js} +1 -1
  171. package/dist/assets/{TransactionVendorDetailPage-CTTTAais-CKKUnVWe.js → TransactionVendorDetailPage-CTTTAais-D9_4MDSM.js} +1 -1
  172. package/dist/assets/{TransferDrawerPage-BJDNWagE-B5RBpIT8.js → TransferDrawerPage-BJDNWagE-ClPD7-YE.js} +1 -1
  173. package/dist/assets/{TreasuryOverviewPage-DB-ZH19K-0cVLv_tv.js → TreasuryOverviewPage-DB-ZH19K-DqpiFB-5.js} +1 -1
  174. package/dist/assets/{TreasuryPromoPage-3MwRPpCt-B5X2lU4M.js → TreasuryPromoPage-3MwRPpCt-BfvkdVaO.js} +1 -1
  175. package/dist/assets/{TreasurySetupPage--G4JCzdh-Ck5w0LPU.js → TreasurySetupPage--G4JCzdh-DA6_HWAL.js} +1 -1
  176. package/dist/assets/{TreasuryStatementsPage-DBykLGfz-gFLjSnAI.js → TreasuryStatementsPage-DBykLGfz-C9eS4qdh.js} +1 -1
  177. package/dist/assets/{TreasuryTaxLetterPage-DgbrzE9u-BsWgo8r5.js → TreasuryTaxLetterPage-DgbrzE9u-BEbCeRNe.js} +1 -1
  178. package/dist/assets/{TreasuryTransferOrReviewPage-ByM1UIiU-CjSaFqgC.js → TreasuryTransferOrReviewPage-ByM1UIiU-Bl3BH8HM.js} +1 -1
  179. package/dist/assets/{TrendChart-B0CS3MXT-D7qhkgQT.js → TrendChart-B0CS3MXT-D4ZaQVdh.js} +1 -1
  180. package/dist/assets/{TrendWithTransactions-D4OAA6yK-BF-AbaMY.js → TrendWithTransactions-D4OAA6yK-CZGys78m.js} +1 -1
  181. package/dist/assets/{UncategorizedAccountsMappingPage-C6jaWqrE-zTG-_1nm.js → UncategorizedAccountsMappingPage-C6jaWqrE-C-92ar8F.js} +1 -1
  182. package/dist/assets/{UnitIntegrationPage-5LOvIFvr-Bzw8mu6B.js → UnitIntegrationPage-5LOvIFvr-BluS5BB9.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-CLQLrn0v-SNsFu9LY.js → UploadAdditionalDocumentOverlay-CLQLrn0v-DY-77k9g.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-BOl520xa-LnECkqk5.js → Vendor2FAPopup-BOl520xa-Dt6F8E1q.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-B5jKUOjo-CQSiDv6a.js → VendorACHDetailsPage-B5jKUOjo-B4yUV9Ye.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-B0GRXPKg--VPcZWOw.js → VendorDetailPage-B0GRXPKg-CA80qYWU.js} +1 -1
  187. package/dist/assets/{VendorDomesticWireDetailsPage-CeI3QihK-q_cf3oNF.js → VendorDomesticWireDetailsPage-CeI3QihK-B8yONSic.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-aNGSdZBf-MeHUgDES.js → VendorFiling1099EditablePage-aNGSdZBf-CyZQ-IxR.js} +1 -1
  189. package/dist/assets/{VendorFirstReviewPage-CjwnZLcm-DmkymrJ0.js → VendorFirstReviewPage-CjwnZLcm-Cs4x3rcX.js} +1 -1
  190. package/dist/assets/{VendorInternationalWireDetailsPage-w-46Xxg--xMskWvbV.js → VendorInternationalWireDetailsPage-w-46Xxg--Cvm17HTp.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C5dogij9-DD3MG-8Z.js → VendorInternationalWireSwiftDetailsPage-C5dogij9-Dga7zQTh.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-DBYoP6us-C4im8TRF.js → VendorsAccountsSection-DBYoP6us-DpK6bEzn.js} +1 -1
  193. package/dist/assets/{VerifyDevice-C-ZVbaIJ-BL0Q3Y3x.js → VerifyDevice-C-ZVbaIJ-BKz0GUVP.js} +1 -1
  194. package/dist/assets/{WarningsDrawerPage-CZcR7kH4-sqfZfsTI.js → WarningsDrawerPage-CZcR7kH4-CIXMQAfX.js} +1 -1
  195. package/dist/assets/{ZeniAccountDetailPage-C-NQEE2--DiLlSCD5.js → ZeniAccountDetailPage-C-NQEE2--BEYCTo6P.js} +1 -1
  196. package/dist/assets/{ZeniAccountListViewPage-Cb8Ptf-w-Bz8qB5Gm.js → ZeniAccountListViewPage-Cb8Ptf-w-pA8-UWgA.js} +1 -1
  197. package/dist/assets/{ZeniAccountNavBarPieces-DX2iXF2E-CQG9bWdR.js → ZeniAccountNavBarPieces-DX2iXF2E-BAAXHmSZ.js} +1 -1
  198. package/dist/assets/{ZeniAccountPromoPage-D5ihjbrM-uye9J5Yp.js → ZeniAccountPromoPage-D5ihjbrM-CXHTXM3S.js} +1 -1
  199. package/dist/assets/{ZeniAccountSetupPage-BRxz_tnh-hDbWbkKw.js → ZeniAccountSetupPage-BRxz_tnh-CYEsC3w5.js} +1 -1
  200. package/dist/assets/{ZeniCopyright-Bi82glrb-Dz0CNsex.js → ZeniCopyright-Bi82glrb-BRrA0AqO.js} +1 -1
  201. package/dist/assets/{ZeniTransferAmountSlider-B4d4bp7D-Cs4p2KhU.js → ZeniTransferAmountSlider-B4d4bp7D-Bp4AH9yD.js} +1 -1
  202. package/dist/assets/{analyticsHelper-D3DK7bgU-BvVFcTDm.js → analyticsHelper-D3DK7bgU-D0sMi45U.js} +1 -1
  203. package/dist/assets/{analyticsHelper-DijVlDk5.js → analyticsHelper-pUiXW9f6.js} +1 -1
  204. package/dist/assets/{chartTypes-DJY-6KK0-Bzq8Fcov.js → chartTypes-DJY-6KK0-SGOoEyJZ.js} +1 -1
  205. package/dist/assets/{commonDimensions-DRK1vfDX-CO7PCzy1.js → commonDimensions-DRK1vfDX-BlL6juoL.js} +1 -1
  206. package/dist/assets/{detailCommon-6K-6m9pv-2y9fI_2t.js → detailCommon-6K-6m9pv-1H1N15Tv.js} +1 -1
  207. package/dist/assets/{downloadPdf-DAA4T-qo-CPXN54rf.js → downloadPdf-DAA4T-qo-DGFaMd6S.js} +1 -1
  208. package/dist/assets/{index-CIAgrDi2.js → index-CiKxqrxk.js} +3 -3
  209. package/dist/assets/{mapLoadingInProgressToTreeNode-BAlOrI07-CQVT-QlQ.js → mapLoadingInProgressToTreeNode-BAlOrI07-Bu5AjmSW.js} +1 -1
  210. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Bk-EXs-E-B9fPZZTu.js → mapSectionWithAcOnlyToTreeNode-Bk-EXs-E-CmXnWtv4.js} +1 -1
  211. package/dist/assets/{mapSpacerToTreeNode-Cxd9BEJr--PDlNxOC.js → mapSpacerToTreeNode-Cxd9BEJr-Bo_chRJz.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-BzFUtqqU-DR76PT1e.js → mapTimeframeBalancesToTreeNode-BzFUtqqU-BVi3Z0h1.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cf8fsAZJ-D1uR1QLu.js → mapTimeframeBalancesToTreeNode-Cf8fsAZJ-BkPpGHJf.js} +1 -1
  214. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CZMzZg1q-oHDpC_ju.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CZMzZg1q-DwuR5tyN.js} +1 -1
  215. package/dist/assets/{play-icon-DY_hSiAf-DitmQkz7.js → play-icon-DY_hSiAf-56dnsDLb.js} +1 -1
  216. package/dist/assets/{toCOABalancesWithID-BaqBVqJ_-1rnUe3A4.js → toCOABalancesWithID-BaqBVqJ_-CGRkqNDS.js} +1 -1
  217. package/dist/assets/{toChartData-7MYPev1U-zJcYDtq1.js → toChartData-7MYPev1U-_Gg3mLDi.js} +1 -1
  218. package/dist/assets/{treasuryColorHelper-CDhLDRLr-CltoUNO8.js → treasuryColorHelper-CDhLDRLr-COVWjAtV.js} +1 -1
  219. package/dist/assets/{uploadAttachment-DqCoxBNU-CxpASWHI.js → uploadAttachment-DqCoxBNU-m18_9GhV.js} +1 -1
  220. package/dist/assets/{uploadReceipts-CU1mDxNv-0vPSSd-N.js → uploadReceipts-CU1mDxNv-D_CYTfGX.js} +1 -1
  221. package/dist/index.html +1 -1
  222. package/package.json +1 -1
  223. package/dist/assets/CustomerOnboardingContainerPage-Lh0xH_Pl-cw9bBAdD.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a as U,fc as x,a2 as M,l as _,X as W,B as X,j as i,c6 as q,F as A,_ as Q,fd as G,o as a,d as H,cg as J,a4 as K,C as y,a3 as Y,c3 as Z,ap as ee,ao as te,s as c}from"./index-CIAgrDi2.js";import{b as m,n as l}from"./vendor-CnQcJ2Lu.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:f,onClose:S,onEditFileName:v,onDeleteFile:D,updateFilesEntity:I,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,$]=m.useState(!1),[N,B]=m.useState(!1),b=M(f.fetchState),j=t?.deleteFileStatusById??{},O=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=_.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,f,n,t?.additionalFiles]);const r=W(),h=X.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),R=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),$(!0)):$(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(A,{...n,children:i.jsxs("form",{id:u,onSubmit:k,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:S,"data-testid":Q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(G,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:J,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${H.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:O,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:v,onDeleteFile:D,updateFilesEntity:I,onFileSizeError:o=>B(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(K,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:S},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
1
+ import{a as U,fc as x,a2 as M,l as _,X as W,B as X,j as i,c6 as q,F as A,_ as Q,fd as G,o as a,d as H,cg as J,a4 as K,C as y,a3 as Y,c3 as Z,ap as ee,ao as te,s as c}from"./index-CiKxqrxk.js";import{b as m,n as l}from"./vendor-CnQcJ2Lu.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:f,onClose:S,onEditFileName:v,onDeleteFile:D,updateFilesEntity:I,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,$]=m.useState(!1),[N,B]=m.useState(!1),b=M(f.fetchState),j=t?.deleteFileStatusById??{},O=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=_.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,f,n,t?.additionalFiles]);const r=W(),h=X.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),R=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),$(!0)):$(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(A,{...n,children:i.jsxs("form",{id:u,onSubmit:k,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:S,"data-testid":Q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(G,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:J,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${H.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:O,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:v,onDeleteFile:D,updateFilesEntity:I,onFileSizeError:o=>B(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(K,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:S},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{a2 as o,B as P,j as n,hn as y,ho as j}from"./index-CIAgrDi2.js";import{b as e}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const G=({vendorViewDetails:S,isExpressPayPage:i,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=P.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),n.jsx(n.Fragment,{children:C===!0?n.jsx(y,{showHelperText:!i,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?n.jsx(j,{showHelperText:!i,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:i?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:v=>h?.(v)}}):null})};export{G as default};
1
+ import{a2 as o,B as P,j as n,hn as y,ho as j}from"./index-CiKxqrxk.js";import{b as e}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const G=({vendorViewDetails:S,isExpressPayPage:i,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=P.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),n.jsx(n.Fragment,{children:C===!0?n.jsx(y,{showHelperText:!i,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?n.jsx(j,{showHelperText:!i,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:i?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:v=>h?.(v)}}):null})};export{G as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-CIAgrDi2.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-D6-Uk4xr-CqCQg7ha.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-Bof6a4Ai-D6cSyNpo.js";import"./MagicLinkTitleSection-CmTUPCA1-crT0_cjI.js";import"./BankAccountSection-DCHOrv1O-CHEMQ8hk.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
1
+ import{j as u}from"./index-CiKxqrxk.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-D6-Uk4xr-jFv1GnoI.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-Bof6a4Ai-D_X_UYgf.js";import"./MagicLinkTitleSection-CmTUPCA1-CdDbl1jW.js";import"./BankAccountSection-DCHOrv1O-5bvqtg8o.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
@@ -1,4 +1,4 @@
1
- import{B as _,u as Re,X as ne,C as g,J as be,l as se,c8 as xt,a as yt,gw as Be,gx as Ae,gy as Ee,gz as fe,gA as bt,a8 as ft,c6 as wt,j as t,aV as Ct,F as $t,gB as St,gC as ue,s as l,c7 as Dt,a4 as jt,o,bf as S,cj as Tt,ga as we,gD as Lt,c9 as Vt,ca as kt,cb as It,gE as Ot,fG as Pt,ch as zt,gF as Ft,gG as Mt,d as M,dr as _t,dq as Nt,cv as Wt,ab as de,am as qe,$ as Ue,ds as Ht,f2 as Rt,gH as Bt,gI as At,n as Et,gJ as qt,bK as Ye,gK as Ut,Q as Ce,g as Qe}from"./index-CIAgrDi2.js";import{b as $,n as a,j as Yt}from"./vendor-CnQcJ2Lu.js";import{k as Qt}from"./SubTabSwitcher-Bt3F7ANv-e4DBICdr.js";import{d as Gt}from"./TransactionList-CLjBadiP-By9OtkVt.js";import{R as Jt}from"./TrendWithTransactions-D4OAA6yK-BF-AbaMY.js";import{o as Kt,t as Zt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{W as Xt}from"./LabeledAddressValueField-Cw-p18du-D9T5QqTG.js";import{Y as es}from"./LabeledDropDownFormattedTextField-DWP9oUzM-TYwr2dWi.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-a04JWA45-DJp9lW-u.js";import"./commonDimensions-DRK1vfDX-CO7PCzy1.js";import"./TrendChart-B0CS3MXT-D7qhkgQT.js";import"./chartTypes-DJY-6KK0-Bzq8Fcov.js";import"./toCOABalancesWithID-BaqBVqJ_-1rnUe3A4.js";import"./toChartData-7MYPev1U-zJcYDtq1.js";import"./NoDataChart-BdzVnx59-Zwl7GRg0.js";import"./InsightsSection-nzKuS0T9-CcXyZxZ8.js";import"./NavigationDots-MA8SVlUT-BNaROjbH.js";const ts=a.div`
1
+ import{B as _,u as Re,X as ne,C as g,J as be,l as se,c8 as xt,a as yt,gw as Be,gx as Ae,gy as Ee,gz as fe,gA as bt,a8 as ft,c6 as wt,j as t,aV as Ct,F as $t,gB as St,gC as ue,s as l,c7 as Dt,a4 as jt,o,bf as S,cj as Tt,ga as we,gD as Lt,c9 as Vt,ca as kt,cb as It,gE as Ot,fG as Pt,ch as zt,gF as Ft,gG as Mt,d as M,dr as _t,dq as Nt,cv as Wt,ab as de,am as qe,$ as Ue,ds as Ht,f2 as Rt,gH as Bt,gI as At,n as Et,gJ as qt,bK as Ye,gK as Ut,Q as Ce,g as Qe}from"./index-CiKxqrxk.js";import{b as $,n as a,j as Yt}from"./vendor-CnQcJ2Lu.js";import{k as Qt}from"./SubTabSwitcher-Bt3F7ANv-HbYWozk_.js";import{d as Gt}from"./TransactionList-CLjBadiP-DaI1JPM6.js";import{R as Jt}from"./TrendWithTransactions-D4OAA6yK-CZGys78m.js";import{o as Kt,t as Zt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{W as Xt}from"./LabeledAddressValueField-Cw-p18du-ncMTWBsz.js";import{Y as es}from"./LabeledDropDownFormattedTextField-DWP9oUzM-Bq2gS2Tu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-a04JWA45-C1LNy4lJ.js";import"./commonDimensions-DRK1vfDX-BlL6juoL.js";import"./TrendChart-B0CS3MXT-D4ZaQVdh.js";import"./chartTypes-DJY-6KK0-SGOoEyJZ.js";import"./toCOABalancesWithID-BaqBVqJ_-CGRkqNDS.js";import"./toChartData-7MYPev1U-_Gg3mLDi.js";import"./NoDataChart-BdzVnx59-oKIht6u7.js";import"./InsightsSection-nzKuS0T9-DxBuHfNE.js";import"./NavigationDots-MA8SVlUT-xHbUxadi.js";const ts=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{j as S}from"./index-CIAgrDi2.js";import{b as C}from"./vendor-CnQcJ2Lu.js";import{y as b}from"./DomesticWireDetailsPage-DzKlJFvy-D6rsk0GH.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-DCHOrv1O-CHEMQ8hk.js";import"./MagicLinkTitleSection-CmTUPCA1-crT0_cjI.js";import"./BankAccountWarningSection-Bof6a4Ai-D6cSyNpo.js";import"./MailingDetailsSection-AiehjqI1-CrcmbjEa.js";import"./LabeledAddressValueField-Cw-p18du-D9T5QqTG.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
1
+ import{j as S}from"./index-CiKxqrxk.js";import{b as C}from"./vendor-CnQcJ2Lu.js";import{y as b}from"./DomesticWireDetailsPage-DzKlJFvy-C-BExS4G.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-DCHOrv1O-5bvqtg8o.js";import"./MagicLinkTitleSection-CmTUPCA1-CdDbl1jW.js";import"./BankAccountWarningSection-Bof6a4Ai-D_X_UYgf.js";import"./MailingDetailsSection-AiehjqI1-DltTuNAp.js";import"./LabeledAddressValueField-Cw-p18du-ncMTWBsz.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
@@ -1,4 +1,4 @@
1
- import{X as oe,u as Ne,B as ne,a as ke,cz as U,gL as de,c6 as Ae,C as w,j as t,aV as Be,_ as Ee,F as Oe,c9 as C,o as s,cd as We,gE as Re,fG as qe,ch as Me,gF as He,gG as Ke,cp as Ue,a4 as Ge,cr as Qe,cA as Ye,s as c,a3 as _e,bf as D,c4 as Je,gM as Xe,d as I,eT as Ze,bK as et,n as ce,eC as tt,gN as st,gO as lt,gP as M,cB as it}from"./index-CIAgrDi2.js";import{b as y,n as a}from"./vendor-CnQcJ2Lu.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-DWP9oUzM-TYwr2dWi.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:h,style:W}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:W,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:h,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:h,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:U(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
1
+ import{X as oe,u as Ne,B as ne,a as ke,cz as U,gL as de,c6 as Ae,C as w,j as t,aV as Be,_ as Ee,F as Oe,c9 as C,o as s,cd as We,gE as Re,fG as qe,ch as Me,gF as He,gG as Ke,cp as Ue,a4 as Ge,cr as Qe,cA as Ye,s as c,a3 as _e,bf as D,c4 as Je,gM as Xe,d as I,eT as Ze,bK as et,n as ce,eC as tt,gN as st,gO as lt,gP as M,cB as it}from"./index-CiKxqrxk.js";import{b as y,n as a}from"./vendor-CnQcJ2Lu.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-DWP9oUzM-Bq2gS2Tu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:h,style:W}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:W,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:h,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:h,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:U(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{X as ae,y as On,u as mn,a as nt,hz as Te,c6 as tt,A as Nn,hA as ie,hB as xe,hC as fe,hD as be,hE as me,B as je,j as n,hv as ot,F as rt,aV as it,T as st,bR as at,bT as lt,bU as dt,bp as ct,_ as Y,be as mt,bO as pt,aj as ut,dl as ht,bW as gt,C as w,i as wt,I as Oe,o as t,a7 as In,n as De,a6 as vt,s as c,$ as Re,b$ as xt,l as Pn,dr as Tn,bf as Pe,aA as zn,c2 as ft,bE as bt,d2 as $t,ap as Ye,aO as pn,d as F,ay as Dn,fg as St,dh as wn,cv as rn,hF as yt,hG as sn,r as jt,bw as Fe,d1 as Rt,er as vn,b4 as Ct,dt as Vt,K as xn,hH as kt,cj as Mt,cr as Ot,cs as Nt,ew as It,M as Ln,hI as Pt,b2 as se,hJ as fn,gc as Tt,b0 as zt,aC as Dt,ds as Lt,v as An,Q as At,eD as _t,a9 as dn}from"./index-CIAgrDi2.js";import{b as f,n as o,j as cn}from"./vendor-CnQcJ2Lu.js";import{r as Bt}from"./mui-C5LQ0bMa.js";import{R as Ft}from"./Menu-frAXxk4e-ChxiZJil.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const _n=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(Gt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(qt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
1
+ import{X as ae,y as On,u as mn,a as nt,hz as Te,c6 as tt,A as Nn,hA as ie,hB as xe,hC as fe,hD as be,hE as me,B as je,j as n,hv as ot,F as rt,aV as it,T as st,bR as at,bT as lt,bU as dt,bp as ct,_ as Y,be as mt,bO as pt,aj as ut,dl as ht,bW as gt,C as w,i as wt,I as Oe,o as t,a7 as In,n as De,a6 as vt,s as c,$ as Re,b$ as xt,l as Pn,dr as Tn,bf as Pe,aA as zn,c2 as ft,bE as bt,d2 as $t,ap as Ye,aO as pn,d as F,ay as Dn,fg as St,dh as wn,cv as rn,hF as yt,hG as sn,r as jt,bw as Fe,d1 as Rt,er as vn,b4 as Ct,dt as Vt,K as xn,hH as kt,cj as Mt,cr as Ot,cs as Nt,ew as It,M as Ln,hI as Pt,b2 as se,hJ as fn,gc as Tt,b0 as zt,aC as Dt,ds as Lt,v as An,Q as At,eD as _t,a9 as dn}from"./index-CiKxqrxk.js";import{b as f,n as o,j as cn}from"./vendor-CnQcJ2Lu.js";import{r as Bt}from"./mui-C5LQ0bMa.js";import{R as Ft}from"./Menu-frAXxk4e-CEl4TWuB.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const _n=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(Gt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(qt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as t,X as Q,a as he,B as N,c6 as ye,J as ge,l as J,bR as be,bT as fe,bU as xe,F as ve,a4 as we,C as p,cz as le,cA as Ce,o as y,ao as $e,cj as oe,u as ne,cB as je,cC as X,cp as G,ah as H,c9 as De,cD as Te,s as r,cr as Se,_ as ke,d as V,i as Fe,Q as Oe,bw as Ae,$ as Le,b4 as We}from"./index-CIAgrDi2.js";import{b as I,n as g}from"./vendor-CnQcJ2Lu.js";import{W as ze,A as Re}from"./BankAccountWarningSection-Bof6a4Ai-D6cSyNpo.js";import{T as Ie}from"./MailingDetailsSection-AiehjqI1-CrcmbjEa.js";import{S as Pe}from"./CurrencySelectField-DS-pGcuE-DLCIpnvb.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-Cw-p18du-D9T5QqTG.js";const O={width:new p(343,580,726),height:new p(r[6],r[6]),controlHeight:new p(r[6],r[6]),paddingTopBottom:new p(r[2],r[2]),marginRight:new p(r[2],r[2]),labelMarginLeft:new p(r[3],r[4]),labelMarginRight:new p(r[3],r[4]),labelMarginTop:new p(r[2],r[2])},re={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:k=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ue,{children:t.jsx(Ne,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(Be,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const Ee=g.div`
1
+ import{j as t,X as Q,a as he,B as N,c6 as ye,J as ge,l as J,bR as be,bT as fe,bU as xe,F as ve,a4 as we,C as p,cz as le,cA as Ce,o as y,ao as $e,cj as oe,u as ne,cB as je,cC as X,cp as G,ah as H,c9 as De,cD as Te,s as r,cr as Se,_ as ke,d as V,i as Fe,Q as Oe,bw as Ae,$ as Le,b4 as We}from"./index-CiKxqrxk.js";import{b as I,n as g}from"./vendor-CnQcJ2Lu.js";import{W as ze,A as Re}from"./BankAccountWarningSection-Bof6a4Ai-D_X_UYgf.js";import{T as Ie}from"./MailingDetailsSection-AiehjqI1-DltTuNAp.js";import{S as Pe}from"./CurrencySelectField-DS-pGcuE-BGqiVYG1.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-Cw-p18du-ncMTWBsz.js";const O={width:new p(343,580,726),height:new p(r[6],r[6]),controlHeight:new p(r[6],r[6]),paddingTopBottom:new p(r[2],r[2]),marginRight:new p(r[2],r[2]),labelMarginLeft:new p(r[3],r[4]),labelMarginRight:new p(r[3],r[4]),labelMarginTop:new p(r[2],r[2])},re={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:k=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ue,{children:t.jsx(Ne,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(Be,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const Ee=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{j as l}from"./index-CIAgrDi2.js";import{b as B}from"./vendor-CnQcJ2Lu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-B21X5YFS-DWJjZuCw.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-Bof6a4Ai-D6cSyNpo.js";import"./MailingDetailsSection-AiehjqI1-CrcmbjEa.js";import"./LabeledAddressValueField-Cw-p18du-D9T5QqTG.js";import"./MagicLinkTitleSection-CmTUPCA1-crT0_cjI.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
1
+ import{j as l}from"./index-CiKxqrxk.js";import{b as B}from"./vendor-CnQcJ2Lu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-B21X5YFS-DUJjwzMe.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-Bof6a4Ai-D_X_UYgf.js";import"./MailingDetailsSection-AiehjqI1-DltTuNAp.js";import"./LabeledAddressValueField-Cw-p18du-ncMTWBsz.js";import"./MagicLinkTitleSection-CmTUPCA1-CdDbl1jW.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{X as ie,u as oe,B as te,C as c,g5 as w,a8 as L,j as i,hm as m,hl as g,o as n,Q as re,d as ne,dy as se,$ as le,s as a}from"./index-CIAgrDi2.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const s={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:n.sp6},T={title:new re("standardMedium","largeMedium")},de=l.div`
1
+ import{X as ie,u as oe,B as te,C as c,g5 as w,a8 as L,j as i,hm as m,hl as g,o as n,Q as re,d as ne,dy as se,$ as le,s as a}from"./index-CiKxqrxk.js";import{n as l}from"./vendor-CnQcJ2Lu.js";const s={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:n.sp6},T={title:new re("standardMedium","largeMedium")},de=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>s.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{a2 as v,a as $,B as b,j as t,bm as w,F as C,bn as F,bo as S,K as d,o as n,bp as V,n as h,ap as m,$ as k}from"./index-CIAgrDi2.js";import{b as p,n as r}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const l="otpInputField",Y=e=>{const x=e.verifyOtpFetchState==="In-Progress",[f,c]=p.useState(!1),a=v(e.verifyOtpFetchState),i=$({mode:"all",reValidateMode:"onChange",defaultValues:{[l]:""}}),s=i.watch(l),u=()=>{e.onCancelVerifyDevice()},y=()=>{s.length===6&&e.onVerifyOtp(s)},o=b.getLocalizedStrings().commonSetUp.twoFactorAuthentication,g=o.footerHelperText.replace(/<button_text>/,o.verify);return p.useEffect(()=>{a==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(c(!0),i.setValue(l,""))},[a,e.verifyOtpFetchState,i]),t.jsx(w,{open:!0,onClose:e.onCancelVerifyDevice,children:t.jsx(D,{children:t.jsx(C,{...i,children:t.jsxs(H,{children:[t.jsxs(A,{children:[t.jsx(O,{children:o.verifyDeviceTitle}),t.jsx(E,{children:o.verifyDeviceDescription}),t.jsx(P,{children:F(e.phoneNumber+"")})]}),t.jsx(B,{children:t.jsx(S,{value:s,valueLength:6,onChange:j=>i.setValue(l,j)})}),f===!0?t.jsx(I,{children:o.invalidCode}):null,t.jsxs(N,{children:[t.jsx(R,{children:o.codeNotReceived}),t.jsx(L,{onClick:()=>{e.onResendOtp(),c(!1),i.setValue(l,"")},children:o.resend})]}),t.jsxs(J,{children:[t.jsxs(T,{children:[t.jsx(d,{label:o.cancel,onClick:u,style:{width:82}}),t.jsx(d,{variant:"primary",label:o.verify,onClick:y,style:{width:82},loading:x,disabled:s.length!==6})]}),t.jsx(z,{children:g})]})]})})})})},D=r.div`
1
+ import{a2 as v,a as $,B as b,j as t,bm as w,F as C,bn as F,bo as S,K as d,o as n,bp as V,n as h,ap as m,$ as k}from"./index-CiKxqrxk.js";import{b as p,n as r}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const l="otpInputField",Y=e=>{const x=e.verifyOtpFetchState==="In-Progress",[f,c]=p.useState(!1),a=v(e.verifyOtpFetchState),i=$({mode:"all",reValidateMode:"onChange",defaultValues:{[l]:""}}),s=i.watch(l),u=()=>{e.onCancelVerifyDevice()},y=()=>{s.length===6&&e.onVerifyOtp(s)},o=b.getLocalizedStrings().commonSetUp.twoFactorAuthentication,g=o.footerHelperText.replace(/<button_text>/,o.verify);return p.useEffect(()=>{a==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(c(!0),i.setValue(l,""))},[a,e.verifyOtpFetchState,i]),t.jsx(w,{open:!0,onClose:e.onCancelVerifyDevice,children:t.jsx(D,{children:t.jsx(C,{...i,children:t.jsxs(H,{children:[t.jsxs(A,{children:[t.jsx(O,{children:o.verifyDeviceTitle}),t.jsx(E,{children:o.verifyDeviceDescription}),t.jsx(P,{children:F(e.phoneNumber+"")})]}),t.jsx(B,{children:t.jsx(S,{value:s,valueLength:6,onChange:j=>i.setValue(l,j)})}),f===!0?t.jsx(I,{children:o.invalidCode}):null,t.jsxs(N,{children:[t.jsx(R,{children:o.codeNotReceived}),t.jsx(L,{onClick:()=>{e.onResendOtp(),c(!1),i.setValue(l,"")},children:o.resend})]}),t.jsxs(J,{children:[t.jsxs(T,{children:[t.jsx(d,{label:o.cancel,onClick:u,style:{width:82}}),t.jsx(d,{variant:"primary",label:o.verify,onClick:y,style:{width:82},loading:x,disabled:s.length!==6})]}),t.jsx(z,{children:g})]})]})})})})},D=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 456px;
@@ -1,4 +1,4 @@
1
- import{X as C,l as B,B as D,j as s,eP as j,eT as S,K as M,v as E,o as n,C as $,Q as L,g as P,a3 as z,c3 as N,d as h,k as A,ay as T,eD as R,s as g}from"./index-CIAgrDi2.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const e=D.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},Q={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?B.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",u=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=G(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=O(v,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=F(y,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=V(k,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(X,{children:[s.jsx(q,{windowSize:l,children:s.jsx(H,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(U,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(K,{children:[s.jsx(_,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
1
+ import{X as C,l as B,B as D,j as s,eP as j,eT as S,K as M,v as E,o as n,C as $,Q as L,g as P,a3 as z,c3 as N,d as h,k as A,ay as T,eD as R,s as g}from"./index-CiKxqrxk.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const e=D.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(g[3],g[3],g[8]),navBarPaddingRight:new $(g[3],g[3],g[8]),navBarPaddingTop:new $(12,12,g[3]),navBarPaddingBottom:new $(12,12,19)},Q={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?B.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",u=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=G(x,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=O(v,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=F(y,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=V(k,f,i);u.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(X,{children:[s.jsx(q,{windowSize:l,children:s.jsx(H,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(U,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(K,{children:[s.jsx(_,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
2
2
  ${j(e.cockpit.review.warningsDrawer.issueFound)}`})}),u.map((i,c)=>s.jsx(W,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(S,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(M,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...E.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},G=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},O=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},F=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},V=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},X=t.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{a as Te,X as H,y as Pe,l as P,u as pe,a2 as Be,j as t,B as _,a0 as B,bw as L,o,aV as Le,v as D,bR as R,bT as V,bU as F,F as Ne,cD as Me,d as $,cr as He,_ as C,i as ue,$ as w,b4 as Ee,be as Ie,a6 as Ue,C as j,fe as We,cR as ae,s as p,gT as Oe,as as Re,b6 as Ve,av as Fe,au as Ye,b7 as Ge,at as Je,n as Q,gU as Xe,am as Ke,af as _e,gV as Qe,k as Ze,gW as qe,ay as et,fg as tt,cy as ot,M as at,Q as it,bK as nt}from"./index-CIAgrDi2.js";import{b as r,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as lt}from"./BoxItem-a04JWA45-DJp9lW-u.js";import{w as rt}from"./downloadPdf-DAA4T-qo-CPXN54rf.js";import{H as ct}from"./DepositAccTransactionItem-C6_OrohL-DcY3deV_.js";import{T as st}from"./ZeniAccountNavBarPieces-DX2iXF2E-CQG9bWdR.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./commonDimensions-DRK1vfDX-CO7PCzy1.js";const dt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
1
+ import{a as Te,X as H,y as Pe,l as P,u as pe,a2 as Be,j as t,B as _,a0 as B,bw as L,o,aV as Le,v as D,bR as R,bT as V,bU as F,F as Ne,cD as Me,d as $,cr as He,_ as C,i as ue,$ as w,b4 as Ee,be as Ie,a6 as Ue,C as j,fe as We,cR as ae,s as p,gT as Oe,as as Re,b6 as Ve,av as Fe,au as Ye,b7 as Ge,at as Je,n as Q,gU as Xe,am as Ke,af as _e,gV as Qe,k as Ze,gW as qe,ay as et,fg as tt,cy as ot,M as at,Q as it,bK as nt}from"./index-CiKxqrxk.js";import{b as r,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as lt}from"./BoxItem-a04JWA45-C1LNy4lJ.js";import{w as rt}from"./downloadPdf-DAA4T-qo-DGFaMd6S.js";import{H as ct}from"./DepositAccTransactionItem-C6_OrohL-BGfaLs6w.js";import{T as st}from"./ZeniAccountNavBarPieces-DX2iXF2E-BAAXHmSZ.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./commonDimensions-DRK1vfDX-BlL6juoL.js";const dt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{X,a as Ie,a2 as _e,u as De,ab as Ee,B as H,a1 as Fe,j as t,bR as W,d as o,F as Ge,o as n,cD as Re,cr as Ne,bT as ne,bU as ie,gQ as Ue,a0 as G,bw as fe,aV as Oe,v as z,Y as We,n as Ye,k as Ve,bE as qe,b4 as ye,$ as b,y as Ze,l as Qe,cR as F,_ as R,C as j,M as J,f9 as Ke,Q as Xe,g as He,q as Je,ct as et,bK as tt,fA as nt,s as u,dL as it,fi as ot,gR as rt,K as st,fb as at,be as ct,a6 as lt}from"./index-CIAgrDi2.js";import{b as g,n as i}from"./vendor-CnQcJ2Lu.js";import{r as dt}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as pt}from"./shield-DOlUxcFf-BCUrujod.js";import{T as ut}from"./ZeniAccountNavBarPieces-DX2iXF2E-CQG9bWdR.js";import{v as mt}from"./ZeniTransferAmountSlider-B4d4bp7D-Cs4p2KhU.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ht=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=H.getLocalizedStrings(),gt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:w,style:C})=>{const s=X(),v=(c,T)=>Object.entries(T).reduce((M,[L,$])=>M.replace(new RegExp(`__${L}__`,"g"),$),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),S=[{icon:t.jsx(At,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(zt,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(Ct,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs(xt,{style:C,children:[t.jsx($t,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(wt,{}),t.jsx(ft,{})]}),t.jsx(yt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(kt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:S.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(jt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsxs(bt,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:S.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},xt=i.div`
1
+ import{X,a as Ie,a2 as _e,u as De,ab as Ee,B as H,a1 as Fe,j as t,bR as W,d as o,F as Ge,o as n,cD as Re,cr as Ne,bT as ne,bU as ie,gQ as Ue,a0 as G,bw as fe,aV as Oe,v as z,Y as We,n as Ye,k as Ve,bE as qe,b4 as ye,$ as b,y as Ze,l as Qe,cR as F,_ as R,C as j,M as J,f9 as Ke,Q as Xe,g as He,q as Je,ct as et,bK as tt,fA as nt,s as u,dL as it,fi as ot,gR as rt,K as st,fb as at,be as ct,a6 as lt}from"./index-CiKxqrxk.js";import{b as g,n as i}from"./vendor-CnQcJ2Lu.js";import{r as dt}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as pt}from"./shield-DOlUxcFf-BCUrujod.js";import{T as ut}from"./ZeniAccountNavBarPieces-DX2iXF2E-BAAXHmSZ.js";import{v as mt}from"./ZeniTransferAmountSlider-B4d4bp7D-Bp4AH9yD.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ht=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=H.getLocalizedStrings(),gt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:w,style:C})=>{const s=X(),v=(c,T)=>Object.entries(T).reduce((M,[L,$])=>M.replace(new RegExp(`__${L}__`,"g"),$),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),S=[{icon:t.jsx(At,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(zt,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(Ct,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs(xt,{style:C,children:[t.jsx($t,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(wt,{}),t.jsx(ft,{})]}),t.jsx(yt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(kt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:S.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(jt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsxs(bt,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:S.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},xt=i.div`
2
2
  position: relative;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{y as P,fm as j,l as B,B as O,j as l,_ as $,gn as p,gS as u,o as s,gp as w}from"./index-CIAgrDi2.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const o=O.getLocalizedStrings().spendManagement.zeniAccounts,m=[{value:"editNickName",label:o.moveMoney.editNickName},{value:"accountStatement",label:o.moveMoney.accountStatement}],y={value:"payBill",label:o.moveMoney.payBills},g={value:"transfer",label:o.moveMoney.transfer},v={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:o.moveMoney.checkDeposit},z=[y,g,v,M],A=[v,g,y,M],R=({zeniBankProps:e,isBillPayEnabled:f,isExpressPayEnabled:h,analytics:x,onSettingsClick:S})=>{const a=P(),i=a.loggedInUserRoleMap.deposit_accounts_user===!0||j(a),b=B.hasBillPayAccess(a.loggedInUserRoleMap),k=m.filter(t=>t.value==="accountStatement"),c=f===!0?z:A,r=h===!0?c:c.filter(t=>t.value!=="sendMoney"),N=b?r:r.filter(t=>t.value!=="payBill");return l.jsxs(_,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!i?l.jsx(E,{onClick:S,"data-testid":$("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&l.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!0,options:i?k:m,title:o.moveMoney.title}),i?null:l.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!1,options:N,title:o.moveMoney.title,onMenuOpen:()=>x?.trackAccountsListPageClicked("Move Money")})]})},E=d(w)`
1
+ import{y as P,fm as j,l as B,B as O,j as l,_ as $,gn as p,gS as u,o as s,gp as w}from"./index-CiKxqrxk.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const o=O.getLocalizedStrings().spendManagement.zeniAccounts,m=[{value:"editNickName",label:o.moveMoney.editNickName},{value:"accountStatement",label:o.moveMoney.accountStatement}],y={value:"payBill",label:o.moveMoney.payBills},g={value:"transfer",label:o.moveMoney.transfer},v={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:o.moveMoney.checkDeposit},z=[y,g,v,M],A=[v,g,y,M],R=({zeniBankProps:e,isBillPayEnabled:f,isExpressPayEnabled:h,analytics:x,onSettingsClick:S})=>{const a=P(),i=a.loggedInUserRoleMap.deposit_accounts_user===!0||j(a),b=B.hasBillPayAccess(a.loggedInUserRoleMap),k=m.filter(t=>t.value==="accountStatement"),c=f===!0?z:A,r=h===!0?c:c.filter(t=>t.value!=="sendMoney"),N=b?r:r.filter(t=>t.value!=="payBill");return l.jsxs(_,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!i?l.jsx(E,{onClick:S,"data-testid":$("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&l.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!0,options:i?k:m,title:o.moveMoney.title}),i?null:l.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!1,options:N,title:o.moveMoney.title,onMenuOpen:()=>x?.trackAccountsListPageClicked("Move Money")})]})},E=d(w)`
2
2
  cursor: pointer;
3
3
  min-width: ${s.sp4};
4
4
  width: ${s.sp4};
@@ -1,4 +1,4 @@
1
- import{u as ce,X as v,a2 as ae,y as xe,fm as me,j as i,aV as pe,B as I,k as ue,o,c4 as he,Y as Q,K as Y,_ as L,b as j,c3 as ge,ab as z,a1 as k,a6 as V,p as we,C as x,d as A,c5 as je,a7 as $e,ap as ye,s as W,Q as $,g as C,M as T,c as Se}from"./index-CIAgrDi2.js";import{b as D,n}from"./vendor-CnQcJ2Lu.js";import{x as fe}from"./MeetingCalenderPopup-COpKcBhx-C1b7HyPI.js";import{M as B}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(W[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,W[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new $("extraSmallRegular","smallRegular"),title:new $("smallRegular","largeRegular"),uninsuredAmountStr:new $("largeRegular","h6Regular"),yAxisAmount:new $("h6Regular","extraSmallRegular")},be=n.div`
1
+ import{u as ce,X as v,a2 as ae,y as xe,fm as me,j as i,aV as pe,B as I,k as ue,o,c4 as he,Y as Q,K as Y,_ as L,b as j,c3 as ge,ab as z,a1 as k,a6 as V,p as we,C as x,d as A,c5 as je,a7 as $e,ap as ye,s as W,Q as $,g as C,M as T,c as Se}from"./index-CiKxqrxk.js";import{b as D,n}from"./vendor-CnQcJ2Lu.js";import{x as fe}from"./MeetingCalenderPopup-COpKcBhx-DUhr4aqa.js";import{M as B}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(W[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,W[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new $("extraSmallRegular","smallRegular"),title:new $("smallRegular","largeRegular"),uninsuredAmountStr:new $("largeRegular","h6Regular"),yAxisAmount:new $("h6Regular","extraSmallRegular")},be=n.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{u as we,X as Se,a2 as U,a as be,c6 as Ae,B as xe,a8 as $,j as t,cL as Ce,d as Pe,C as d,aV as ke,i as Fe,F as ve,d1 as je,aR as Te,a4 as Ve,o as ze,s as a,n as Ee}from"./index-CIAgrDi2.js";import{b as f,n as w}from"./vendor-CnQcJ2Lu.js";import{I as Ie}from"./HelpButton-C1djo0zO-BW6NBTNW.js";import{K as De}from"./SetUpDefaultSection-BQzNGjO7-an74W3Da.js";import{f as Oe}from"./SpendMgmtSetupAccountSection-Btdtp-ry-M7exC_NJ.js";import{g as Ue}from"./UploadAdditionalDocumentOverlay-CLQLrn0v-SNsFu9LY.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-COpKcBhx-C1b7HyPI.js";import"./ChargeCardUtils-Bivw83fy-L79bEW0e.js";import"./CreditCardPaymentPlgSection-mUqReF9z-IZFYMes7.js";import"./ChaseOverlay-LcVAgdoT-D1Jb2EIj.js";const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59)},B="zeniAccountSetUpPage",k="payAccount",{common:$e,commonSetUp:W,spendManagement:Be}=xe.getLocalizedStrings(),{zeniAccounts:_}=Be,{zeniAccountSetUp:V}=_,{setUp:z}=W,st=({isDisabled:e,meetingUrl:F,zeniAccountSetUpView:p,analytics:l,connectedAccountProvider:s,filesEndPoint:H,authParams:q,accountsPromoConfig:N,onFetchLinkTokenClick:Z,onBackClick:M,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:K,onBusinessVerificationSectionClick:X,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:S,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const b=we(),i=Se(),[A,h]=f.useState(!1),{fetchState:g,companyBillPayInfo:E,isRefreshingViewInBackground:le,updateStatus:r,accountUpdateStatus:re,plaidConnectionDetails:ue,allBankAccounts:de,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:I}=p,D=U(g),x=U(r.fetchState),v=be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>L(p),[p]),values:L(p)}),me=v.handleSubmit(y=>{l.trackEnableZeniAccounts(),G()}),fe=async(y,P)=>{const n=P[k];if(y.includes(k)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const u=I.find(T=>T.id===n.fundingAccount.selectedOption);u!=null&&J(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(T=>T.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&l.trackConnectBankLink(u.value,u.label,"zeni_accounts"),K(n.account.selectedOption,m.id,m.accType)}}};f.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),A&&D==="In-Progress"&&g==="Completed"&&h(!1)},[o,g,D]),f.useEffect(()=>{const y=v.watch((P,{name:n})=>{n!=null&&P!=null&&Ae(()=>fe(n,P))});return()=>{y.unsubscribe()}}),f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&S()},[S,x,r.fetchState]);const C=pe?.isZeniAccountEnabled===!0,j=E?.isBusinessVerified===!0,he=g==="In-Progress"||g==="Not-Started";f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&S()},[S,x,r.fetchState]);const ge=j?W.setUp.setupVerifiedSubTitle:V.setupSubTitle,O=b.mode==="light"?new $(b.colors.brandColorJadeLight):new $(b.colors.brandColorJadeDark),ye=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):X?.()};return t.jsxs(Re,{children:[t.jsx(Ce,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Ue,{authParams:q,filesEndPoint:H,updateStatus:r,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(ke,{title:V.setupTitle,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:M,showMenuIcon:!C&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx(We,{windowSize:i,children:ge}),he?t.jsx(_e,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...v,children:t.jsx("form",{id:R(B),onSubmit:me,children:t.jsxs(He,{windowSize:i,children:[t.jsx(De,{onClick:ye,title:z.businessVerificationTitle,subTitle:z.businessVerificationSubTitle,header:z.businessVerificationHeader,icon:{element:t.jsx(je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},status:E?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Oe,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:de,sectionId:k,isDisabled:e,header:_.accountSectionHeader,onFetchLinkTokenClick:Z,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Te,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},analytics:l,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:C,allFundingAccounts:I,pageName:"Zeni Account Setup",accountsPromoConfig:N})]})})})]}),j&&!C?t.jsx(Ve,{formId:R(B),primaryBtn:{label:V.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:r.fetchState==="In-Progress"||re.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:$e.strings.empty},style:{padding:`12px ${ze.sp3}`}}):null,t.jsx(Ie,{isFooterRendered:j&&!C,meetingUrl:F,analytics:l,productType:"zeni_accounts"})]})},L=e=>{const{allBankAccounts:F,allFundingAccounts:p,primaryFundingAccount:l}=e;return{[k]:{fundingAccount:{selectedOption:l?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:l?.zeniAccountId,allOptions:F.map(s=>({label:s.accountName,value:s.accountId}))}}}},Le=w.div`
1
+ import{u as we,X as Se,a2 as U,a as be,c6 as Ae,B as xe,a8 as $,j as t,cL as Ce,d as Pe,C as d,aV as ke,i as Fe,F as ve,d1 as je,aR as Te,a4 as Ve,o as ze,s as a,n as Ee}from"./index-CiKxqrxk.js";import{b as f,n as w}from"./vendor-CnQcJ2Lu.js";import{I as Ie}from"./HelpButton-C1djo0zO-CxYW3QWQ.js";import{K as De}from"./SetUpDefaultSection-BQzNGjO7-C6ny-1cl.js";import{f as Oe}from"./SpendMgmtSetupAccountSection-Btdtp-ry-25hbeX41.js";import{g as Ue}from"./UploadAdditionalDocumentOverlay-CLQLrn0v-DY-77k9g.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-COpKcBhx-DUhr4aqa.js";import"./ChargeCardUtils-Bivw83fy-DoKh_ipP.js";import"./CreditCardPaymentPlgSection-mUqReF9z-BfHxZrsE.js";import"./ChaseOverlay-LcVAgdoT-9JR0Zv57.js";const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59)},B="zeniAccountSetUpPage",k="payAccount",{common:$e,commonSetUp:W,spendManagement:Be}=xe.getLocalizedStrings(),{zeniAccounts:_}=Be,{zeniAccountSetUp:V}=_,{setUp:z}=W,st=({isDisabled:e,meetingUrl:F,zeniAccountSetUpView:p,analytics:l,connectedAccountProvider:s,filesEndPoint:H,authParams:q,accountsPromoConfig:N,onFetchLinkTokenClick:Z,onBackClick:M,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:K,onBusinessVerificationSectionClick:X,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:S,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const b=we(),i=Se(),[A,h]=f.useState(!1),{fetchState:g,companyBillPayInfo:E,isRefreshingViewInBackground:le,updateStatus:r,accountUpdateStatus:re,plaidConnectionDetails:ue,allBankAccounts:de,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:I}=p,D=U(g),x=U(r.fetchState),v=be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>L(p),[p]),values:L(p)}),me=v.handleSubmit(y=>{l.trackEnableZeniAccounts(),G()}),fe=async(y,P)=>{const n=P[k];if(y.includes(k)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const u=I.find(T=>T.id===n.fundingAccount.selectedOption);u!=null&&J(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(T=>T.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&l.trackConnectBankLink(u.value,u.label,"zeni_accounts"),K(n.account.selectedOption,m.id,m.accType)}}};f.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),A&&D==="In-Progress"&&g==="Completed"&&h(!1)},[o,g,D]),f.useEffect(()=>{const y=v.watch((P,{name:n})=>{n!=null&&P!=null&&Ae(()=>fe(n,P))});return()=>{y.unsubscribe()}}),f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&S()},[S,x,r.fetchState]);const C=pe?.isZeniAccountEnabled===!0,j=E?.isBusinessVerified===!0,he=g==="In-Progress"||g==="Not-Started";f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&S()},[S,x,r.fetchState]);const ge=j?W.setUp.setupVerifiedSubTitle:V.setupSubTitle,O=b.mode==="light"?new $(b.colors.brandColorJadeLight):new $(b.colors.brandColorJadeDark),ye=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):X?.()};return t.jsxs(Re,{children:[t.jsx(Ce,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Ue,{authParams:q,filesEndPoint:H,updateStatus:r,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(ke,{title:V.setupTitle,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:M,showMenuIcon:!C&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx(We,{windowSize:i,children:ge}),he?t.jsx(_e,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...v,children:t.jsx("form",{id:R(B),onSubmit:me,children:t.jsxs(He,{windowSize:i,children:[t.jsx(De,{onClick:ye,title:z.businessVerificationTitle,subTitle:z.businessVerificationSubTitle,header:z.businessVerificationHeader,icon:{element:t.jsx(je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},status:E?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Oe,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:de,sectionId:k,isDisabled:e,header:_.accountSectionHeader,onFetchLinkTokenClick:Z,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Te,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},analytics:l,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:C,allFundingAccounts:I,pageName:"Zeni Account Setup",accountsPromoConfig:N})]})})})]}),j&&!C?t.jsx(Ve,{formId:R(B),primaryBtn:{label:V.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:r.fetchState==="In-Progress"||re.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:$e.strings.empty},style:{padding:`12px ${ze.sp3}`}}):null,t.jsx(Ie,{isFooterRendered:j&&!C,meetingUrl:F,analytics:l,productType:"zeni_accounts"})]})},L=e=>{const{allBankAccounts:F,allFundingAccounts:p,primaryFundingAccount:l}=e;return{[k]:{fundingAccount:{selectedOption:l?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:l?.zeniAccountId,allOptions:F.map(s=>({label:s.accountName,value:s.accountId}))}}}},Le=w.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -1 +1 @@
1
- import{B as r,j as e}from"./index-CIAgrDi2.js";function i(){const t=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",t.toString());return e.jsx(e.Fragment,{children:n})}export{i};
1
+ import{B as r,j as e}from"./index-CiKxqrxk.js";function i(){const t=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",t.toString());return e.jsx(e.Fragment,{children:n})}export{i};
@@ -1,4 +1,4 @@
1
- import{j as g,B as E,_ as L,o as i,d as j,$ as S}from"./index-CIAgrDi2.js";import{b,n as m}from"./vendor-CnQcJ2Lu.js";const M=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function O({zeniAccountsConfigDetail:o,transferAmount:x,minStep:p,currentAccountBalance:w,setYieldEarned:$,setTotalBalance:k}){const[l,A]=b.useState(0),{depositProductConfig:h}=o.zeniAccountsConfigDetail,c=b.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=b.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[t,r]=e.range;return r==null&&t!=null?t+25e5:r??0}):[],[h?.depositProducts]),z=e=>{const t=parseFloat(e.target.value),{returnedYield:r,totalAmount:u}=P(t);A(t),$(r),k(u)},D=e=>`${C(e)}${M.transferDrawer.calculator.sliderTooltipText}`,C=e=>e===0?c[0]:e>0&&e<1?c[1]:e>=1&&e<2?c[2]:e>=2&&e<3?c[3]:c[4],P=e=>{const t=C(e),[r,u]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else return{returnedYield:f(5e6,t),totalAmount:5e6}},T=e=>{const{returnedYield:t,totalAmount:r}=P(e);A(e),k(r),$(t)},Y=b.useCallback((e,t,r,u)=>{let a=0,s=0,v=0,y=0;if(e<r[0])a=t[0];else{for(let d=0;d<r.length-1;d++)if(e>=r[d]&&e<r[d+1]){a=t[d+1],s=(r[d+1]-r[d])*u,v=e-r[d],y=v/s*u+d;break}e>=r[r.length-1]&&(a=t[t.length-1],y=r.length-1)}A(y),$(f(e,a))},[$]);return b.useEffect(()=>{const e=x+w;k(e),Y(e,c,n,p)},[x,w,k,c,p,$,n,Y]),g.jsxs(V,{sliderValue:l,children:[g.jsx(I,{sliderValue:l,type:"range",min:0,max:c.length-1,step:p,value:l,onChange:z}),g.jsx(H,{style:{width:`calc(${l/(c.length-1)*100}% - ${l*7.5}px)`}}),g.jsx(G,{sliderValue:l,style:{left:`calc(${l/(c.length-1)*100}% - ${l*10+20}px)`},children:D(l)}),g.jsx(N,{children:n.map((e,t)=>g.jsx(Q,{onClick:()=>T(t),"data-testid":L("slider-label",e.toString()),style:{left:B(t)},children:g.jsx(X,{isSelected:l>=t,children:F(e)})},t))})]})}const f=(o,x)=>{const p=x/100,w=o*Math.pow(1+p/12,12);return Math.floor(w-o)},B=o=>{switch(o){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},F=o=>o===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(o)}`:o===5e6?M.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(o),I=m.input`
1
+ import{j as g,B as E,_ as L,o as i,d as j,$ as S}from"./index-CiKxqrxk.js";import{b,n as m}from"./vendor-CnQcJ2Lu.js";const M=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function O({zeniAccountsConfigDetail:o,transferAmount:x,minStep:p,currentAccountBalance:w,setYieldEarned:$,setTotalBalance:k}){const[l,A]=b.useState(0),{depositProductConfig:h}=o.zeniAccountsConfigDetail,c=b.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=b.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[t,r]=e.range;return r==null&&t!=null?t+25e5:r??0}):[],[h?.depositProducts]),z=e=>{const t=parseFloat(e.target.value),{returnedYield:r,totalAmount:u}=P(t);A(t),$(r),k(u)},D=e=>`${C(e)}${M.transferDrawer.calculator.sliderTooltipText}`,C=e=>e===0?c[0]:e>0&&e<1?c[1]:e>=1&&e<2?c[2]:e>=2&&e<3?c[3]:c[4],P=e=>{const t=C(e),[r,u]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else return{returnedYield:f(5e6,t),totalAmount:5e6}},T=e=>{const{returnedYield:t,totalAmount:r}=P(e);A(e),k(r),$(t)},Y=b.useCallback((e,t,r,u)=>{let a=0,s=0,v=0,y=0;if(e<r[0])a=t[0];else{for(let d=0;d<r.length-1;d++)if(e>=r[d]&&e<r[d+1]){a=t[d+1],s=(r[d+1]-r[d])*u,v=e-r[d],y=v/s*u+d;break}e>=r[r.length-1]&&(a=t[t.length-1],y=r.length-1)}A(y),$(f(e,a))},[$]);return b.useEffect(()=>{const e=x+w;k(e),Y(e,c,n,p)},[x,w,k,c,p,$,n,Y]),g.jsxs(V,{sliderValue:l,children:[g.jsx(I,{sliderValue:l,type:"range",min:0,max:c.length-1,step:p,value:l,onChange:z}),g.jsx(H,{style:{width:`calc(${l/(c.length-1)*100}% - ${l*7.5}px)`}}),g.jsx(G,{sliderValue:l,style:{left:`calc(${l/(c.length-1)*100}% - ${l*10+20}px)`},children:D(l)}),g.jsx(N,{children:n.map((e,t)=>g.jsx(Q,{onClick:()=>T(t),"data-testid":L("slider-label",e.toString()),style:{left:B(t)},children:g.jsx(X,{isSelected:l>=t,children:F(e)})},t))})]})}const f=(o,x)=>{const p=x/100,w=o*Math.pow(1+p/12,12);return Math.floor(w-o)},B=o=>{switch(o){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},F=o=>o===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(o)}`:o===5e6?M.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(o),I=m.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1 +1 @@
1
- import{B as o,l as s}from"./index-CIAgrDi2.js";const m=t=>{switch(t){case"week":return"weeks";case"month":return"months";case"quarter":return"quarters";case"year":return"years";case"this_month_to_date":case"this_week_to_date":case"this_year_to_date":case"last_year":case"last_week":case"last_month":case"last_6_months":case"last_3_months":case"last_12_months":case"free_range":return t}},_=(t,n,e)=>{const{dateFormat:{analytics:a},common:{strings:{atTheRate:r}}}=o.getLocalizedStrings();if(e==null)return"";switch(n){case"month":return r+s.formatZeniDate(e.startDate,a.MMMYYFormat,t);case"quarter":return r+"Q"+s.formatZeniDate(e.startDate,a.QYYYYFormat,t);case"year":return r+s.formatZeniDate(e.startDate,a.YYYYFormat,t);case"free_range":case"week":return r+s.formatZeniDate(e.startDate,a.MMMYYYYFormat,t)}};export{_ as l,m};
1
+ import{B as o,l as s}from"./index-CiKxqrxk.js";const m=t=>{switch(t){case"week":return"weeks";case"month":return"months";case"quarter":return"quarters";case"year":return"years";case"this_month_to_date":case"this_week_to_date":case"this_year_to_date":case"last_year":case"last_week":case"last_month":case"last_6_months":case"last_3_months":case"last_12_months":case"free_range":return t}},_=(t,n,e)=>{const{dateFormat:{analytics:a},common:{strings:{atTheRate:r}}}=o.getLocalizedStrings();if(e==null)return"";switch(n){case"month":return r+s.formatZeniDate(e.startDate,a.MMMYYFormat,t);case"quarter":return r+"Q"+s.formatZeniDate(e.startDate,a.QYYYYFormat,t);case"year":return r+s.formatZeniDate(e.startDate,a.YYYYFormat,t);case"free_range":case"week":return r+s.formatZeniDate(e.startDate,a.MMMYYYYFormat,t)}};export{_ as l,m};
@@ -1 +1 @@
1
- import{kf as o}from"./index-CIAgrDi2.js";const t=(a,m,i,s)=>{o.identify(a.userId,{tenant_id:i?.tenantId,tenant_email_domain:i?.tenantEmailDomain,company_id:i?.companyId,company_name:i?.companyName,user_role:i?.userRole,$email:a.userEmail,user_email_domain:a.userEmailDomain,$first_name:a.firstName,$last_name:a.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:m})};export{t as f};
1
+ import{kf as o}from"./index-CiKxqrxk.js";const t=(a,m,i,s)=>{o.identify(a.userId,{tenant_id:i?.tenantId,tenant_email_domain:i?.tenantEmailDomain,company_id:i?.companyId,company_name:i?.companyName,user_role:i?.userRole,$email:a.userEmail,user_email_domain:a.userEmailDomain,$first_name:a.firstName,$last_name:a.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:m})};export{t as f};
@@ -1 +1 @@
1
- import{a0 as i}from"./index-CIAgrDi2.js";const u=n=>i("0,0.[00]a",n),d=(n,e,r)=>{const o=e.findIndex(c=>c===n);let t=n,s=o<e.length?e[o]:void 0;return r>1&&(t=o-r+1>=0?e[o-r+1]:void 0,t===void 0?s=o===0?e[o+r-1]:e[o+r-2]:s=e[o]),[t,s]},a=n=>{const e=n.recordByTimeseries;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},l=n=>{const e=n.recordByDurations;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},p={net_burn_or_income:5,revenue:5,cash_position:8,operating_expenses:8,cash_in_cash_out:5,operating_expenses_by_vendor:12},y=(n,e)=>`${n}_${e}`,m=n=>n.substring(0,n.lastIndexOf("_")),b=(n,e)=>`${n}_${e}`,g=n=>{const[e]=n.split("_");return e},h=n=>{const[e,...r]=n.split("_");return r.join("_")};export{l as _,m as b,a as d,d as g,h,b as l,g as m,y as p,u,p as y};
1
+ import{a0 as i}from"./index-CiKxqrxk.js";const u=n=>i("0,0.[00]a",n),d=(n,e,r)=>{const o=e.findIndex(c=>c===n);let t=n,s=o<e.length?e[o]:void 0;return r>1&&(t=o-r+1>=0?e[o-r+1]:void 0,t===void 0?s=o===0?e[o+r-1]:e[o+r-2]:s=e[o]),[t,s]},a=n=>{const e=n.recordByTimeseries;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},l=n=>{const e=n.recordByDurations;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},p={net_burn_or_income:5,revenue:5,cash_position:8,operating_expenses:8,cash_in_cash_out:5,operating_expenses_by_vendor:12},y=(n,e)=>`${n}_${e}`,m=n=>n.substring(0,n.lastIndexOf("_")),b=(n,e)=>`${n}_${e}`,g=n=>{const[e]=n.split("_");return e},h=n=>{const[e,...r]=n.split("_");return r.join("_")};export{l as _,m as b,a as d,d as g,h,b as l,g as m,y as p,u,p as y};
@@ -1 +1 @@
1
- import{C as t}from"./index-CIAgrDi2.js";const n=58,e=76,i={transactionItemHeight:n,transactionItemHeightResponsive:new t(e,n),amountWidth:new t(105,200)};export{i as o,e as s};
1
+ import{C as t}from"./index-CiKxqrxk.js";const n=58,e=76,i={transactionItemHeight:n,transactionItemHeightResponsive:new t(e,n),amountWidth:new t(105,200)};export{i as o,e as s};
@@ -1,4 +1,4 @@
1
- import{X as x,j as r,r as g,bh as M,o as n,aN as v,b4 as f,C as h,n as P,B as S,s as p}from"./index-CIAgrDi2.js";import{b,n as s,j}from"./vendor-CnQcJ2Lu.js";import{Q as D}from"./CollapsableReportTable-CKmPwC_x-DvM2BIk1.js";const c={tooltipLeftPosition:new h(p[0],-156),tooltipTopPosition:new h(p[3],p[4]),tooltipWidth:new h(300,350)},u=j`
1
+ import{X as x,j as r,r as g,bh as M,o as n,aN as v,b4 as f,C as h,n as P,B as S,s as p}from"./index-CiKxqrxk.js";import{b,n as s,j}from"./vendor-CnQcJ2Lu.js";import{Q as D}from"./CollapsableReportTable-CKmPwC_x-QhRCql-r.js";const c={tooltipLeftPosition:new h(p[0],-156),tooltipTopPosition:new h(p[3],p[4]),tooltipWidth:new h(300,350)},u=j`
2
2
  position: relative;
3
3
  `,z=s.div`
4
4
  color: ${e=>e.theme.colors.primary};
@@ -1 +1 @@
1
- import{bH as l,bI as f,bJ as d}from"./index-CIAgrDi2.js";async function w(e,o,s,t,r=!1){t?.(!0);try{const a=await l({urlEndPoint:e,authParams:s,fileType:"pdf"});if(a.ok){const i=f(a.headers,o),n=await a.arrayBuffer();d(n,r?i:o),t?.(!1)}else console.error(`${o} download Failed with ${a.statusText}`),t?.(!1)}catch(a){console.error(`${o} download Failed with ${JSON.stringify(a)}`),t?.(!1)}}export{w};
1
+ import{bH as l,bI as f,bJ as d}from"./index-CiKxqrxk.js";async function w(e,o,s,t,r=!1){t?.(!0);try{const a=await l({urlEndPoint:e,authParams:s,fileType:"pdf"});if(a.ok){const i=f(a.headers,o),n=await a.arrayBuffer();d(n,r?i:o),t?.(!1)}else console.error(`${o} download Failed with ${a.statusText}`),t?.(!1)}catch(a){console.error(`${o} download Failed with ${JSON.stringify(a)}`),t?.(!1)}}export{w};