@zeniai/web-cockpit-ui 1.14.42-qa → 1.14.43-dev

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 (228) hide show
  1. package/dist/assets/{ACHDetailsPage-C0Ys2JJm-DO_oU6A_.js → ACHDetailsPage-CmrHphBc-CCjHb-P6.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-CsR8PRb9-CR5nd_X3.js → AIPerformancePage-DVLZQQLx-zn-23nDO.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-GuppZ3vX-CeDVgzX0.js → AccountInfoPage-imteGSK1-C9QvJYjb.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BLKO0eIw-bPEBjQFC.js → AccountInfoPageContent-DIjQnfrv-BrFyIq6Y.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-DxcSHNgE-D2uL0GmW.js → AccountLockedInfoModal-LYiLlZrv-CQT40dfU.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BoS3J4pw-CHY_XEBy.js → AccountReconDetailsDrawerPage-CSzw7Xdo-Bv21u4kp.js} +1 -1
  7. package/dist/assets/{AccountRow-Dj74AzIh-xP3FLMcB.js → AccountRow-DnMX1pTV-DzyPY1GP.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-MQ_e8aZu-B-b5q7Pi.js → AccountsPromoCardStack-BY9-YdTi-oCbxhKHP.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-LpGynQhq-CazlktNs.js → AddAddressForCardDrawer-BY8rla0d-DeNAiW75.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-wtm2Oua5-BVXzwSjP.js → AddToWalletPage-BND3tkMk-DnGY-X4j.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-e98Qmrut-BLJFH4aK.js → AgingReportsPage-C1HG4wzc-D_51o2Vw.js} +1 -1
  12. package/dist/assets/{AllUserItems-Cyr74U6h-BEjcecnQ.js → AllUserItems-rYc34keO-Cx2yE3IC.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-Kjz7NPLx-BSVEV7Qf.js → ApAgingDetailPage-CNG6prpn-C4L_FUMN.js} +1 -1
  14. package/dist/assets/{AppBasePage-DrR3bM5Z-DwrgkTN9.js → AppBasePage-Dk4672v_-krp90oaN.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-C2GlTktJ-BervwsJr.js → AppDrawerContent-Y99P1DCR-DnO5NpXg.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-Cy9uHg-R-sb01mezt.js → ApprovalRulesSettingsPage-CO8-E7dA-D6eiQ5KV.js} +1 -1
  17. package/dist/assets/{ArAgingChart-CtxyhI9X-B5YCVZL2.js → ArAgingChart-CsuanjH1-DSoDp9i5.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-GX7S1gNm-I8t7YWod.js → ArAgingDetailPage-D6CHRGxo-d25mgZbl.js} +1 -1
  19. package/dist/assets/{AttachmentView-C8CksG-9-hqMTc_ZB.js → AttachmentView-B3p8mkIi-DG3k711N.js} +1 -1
  20. package/dist/assets/{BankAccountSection-8JPKANMP-C-OF_cda.js → BankAccountSection--gqsJj6B-UPd-Yh1u.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-HW7t6lPN-BxYKpJiW.js → BankAccountWarningSection-BM-Bu8CI-BPZDfXvA.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-C_jyBPLn-Wg4RTCY7.js → BankConnectionsSettingsPage-B_RVLsvX-Chn1l7AE.js} +1 -1
  23. package/dist/assets/{BillDetailPage-BwuHMPBb-BthKHLXO.js → BillDetailPage-Bu20m9VL-BUA39mWG.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-9RqkaWf2-Ce6S7eTt.js → BillPayApprovalRuleDetailPage-CR168utn-CkPCJz8P.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CZmACduz-DMDHXhbZ.js → BillPayApprovalRulesPage-DQbLEENj-DZMa4MYn.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-C2m0GTw3-BiegkzcQ.js → BillPayPromoPage-DqUNPVeq-DgNZSmr8.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-C71BRWUw-C_vuAOSC.js → BillPaySetUpPage-BO8V-KVh-B0fHP_CJ.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-Gc3cUKmE-ClnSz0Xy.js → BillingSettingsPage-clzpJwrI-D8bCm6Ri.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CO1oJuvH-BWr9AvlU.js → BillsBulkReviewDrawerPage-CFldRiX8-CLbuQuW0.js} +1 -1
  30. package/dist/assets/{BoxItem-D09XMKDc-Bw3kfbzM.js → BoxItem-CnpQOIVn-CNkfS6h2.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Ef4KSPWc-FGSd4FWB.js → BusinessVerificationPage-DKmaCoDK-pfIQg2S-.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-Chba_z2--CnmWtDil.js → CardNumberSubText-uaXIushe-Bx2nZV75.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-DAM-IJ8V-msI_KaQs.js → CashbackDetailPage-DrW60zjw-Dbf3vfs6.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-U_ZuntGp-DdRX435G.js → ChargeCardDetailPage-X1HoUp96-DOMbUjNw.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-DJ5TbLO--DC8i8t37.js → ChargeCardListPage-_0lUmAxM-B3fy-mzD.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-D7BV3Iv9-C5GhRKBn.js → ChargeCardListTable-mfIUvL0A-CPKekIhI.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-CMqzRnza-CJ_g_fWc.js → ChargeCardPromoPage-Bo2JJ5g4-CLbzwd3s.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-dOz2soLF-BNyPEoCo.js → ChargeCardSetupPage-D9IikPGO-RTClLCON.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-S2JH9s6i-DZCRS7UG.js → ChargeCardStatementsPage-Ck3qug5N-Bb-MPmDp.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-Bv0OpE88-aSHBcI_8.js → ChargeCardUtils-BEBqV4Ri-D_Hnspw1.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-4Rv__bdV-BGiRorBN.js → ChaseOverlay-CauClKmi-CFbGjU4W.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-BKogbkJv-BgGR0y3z.js → CheckDepositDrawerPage-DmszT7bh-rDvzmJWy.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-B_qvVX0p-BzLwdCFV.js → CollapsableReportTable-CHthdzdj-ChiC9ii3.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-aAwv9WfC-CXS756Yr.js → CompanyOfficerDetailsSection-BEb3_zYO-DcsmBnYA.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-DchSKG4l-DSlNuaik.js → CompanyPassportCard-FhjZyorS-BMpg0d2K.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-DLIJn7Fp-BtIHuALv.js → CompanyPassportPage-BlhNB8Ah-VPSKwD76.js} +1 -1
  47. package/dist/assets/{CompleteProfile-Bf5sNhdg-CmWt1hc0.js → CompleteProfile-Bk9Oyn1_-BwRdLNNT.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-BPWFB4Ty-CXWnM85o.js → ConfettiBurst-DZLI1m4w-CVaN18FA.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-BTWihvJ--DyiROacC.js → CreateOrEditVendorPage-C3CFRcUl-Cs6KHLA1.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-B5p_onzw-DA0RqcSj.js → CreditCardPaymentDrawerPage-Drl9yZi5-gMAp6Fc4.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentPlgSection-CTpwe7CS-BwlpGWY3.js → CreditCardPaymentPlgSection-D-Ptzdeo-DV96PY8N.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-Dn9EcyiE-BaNsJGR4.js → CurrencySelectField-CTAalWEI-CLkCFXC5.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage--C7Nj5oq-BhxcUwoR.js → CustomerOnboardingActivationPage-BkPgpEPw-HvYys8Le.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-BAZbPHa2-HrAOAIJ-.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BEldzNUC-DgSmlNNg.js → CustomerOnboardingDetailPageSkeleton-DzG4nVbk-Dl9zYjyQ.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-BWPx0oGa-CH7bgFJQ.js → CustomerOnboardingNoStepsPage-Czttv30c-DMfPS84t.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-CQsXgrSi-DtqPleyX.js → CustomerOnboardingPage-CNXBzMG5-DJK4W9F2.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-Ba-hBJDr-CRi7Fs7-.js → CustomerOnboardingProductSuitePage-BArjfUBb-C4vD90lw.js} +1 -1
  59. package/dist/assets/{Dashboard-D9a8ZSVk-CqZBwIFD.js → Dashboard-DyA5sBz3-BbKJ3Sxy.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-DC7almyE-CxGTnBBu.js → DashboardReportPage-DvUvM8lA-BLhDX9Wv.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-BZPfkv0W-C9IxzdCW.js → DashboardSidebarBackgroundAnimation-CAa8yETt-jTqz5gzA.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-D6Pxnskx-CkQ-E6uU.js → DepositAccTransactionItem-VZZvr2Gl-jIVsrsNC.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-RPv15wO3-C1khFOLd.js → DepositAccTransactionListPage-xt11Y65Z-D4SLXGqA.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-C7SMSdym-C6AsUgPa.js → DomesticWireDetailsPage-DmE3TVQk-DloHnEEV.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-DSuuIFd2-CtAaHiDX.js → DownloadOverlay-DBhAvmRv-CCJvxfZh.js} +1 -1
  66. package/dist/assets/{DrawerPage-G3indLUm-KDBiLr1g.js → DrawerPage-BSy9zQ8e-BnYB7jC2.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-B3OUzvId-DupE09Ur.js → EditPeoplePage-DyaHesFS-m0sJIT4p.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-BDtXtGDU-BcBuZIRV.js → EditReimbursementDetailPage-EEKR__zQ-C-PImemb.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-Duk7QFjU-BxvKwYnJ.js → EntityDetailPage-BECoxBfR-C7abLrXu.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-Cr7WMJ8D-DJAnI7E2.js → EntitySummarySection-wzMCZjZE-DrhMPVSS.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-hpARiJiY-BasbCxne.js → ExpenseAutomationOverviewPage-MlPZZ_Mz-Dd7OsYXY.js} +1 -1
  72. package/dist/assets/ExpenseAutomationPage-mdYWsafr-qx5nkQ54.js +1650 -0
  73. package/dist/assets/{ExpressPayPage-I-QL4uh--D9TF_lu8.js → ExpressPayPage-Dg03hVzu-B2avGC_K.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-BHb59Q7j-DmfTfLoX.js → FeaturePreviewPage-BePsYONK-B2yH8Fph.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-DONqc9yn-D0mWYYLp.js → FollowStepsSection-BqqrsOIP-DBSaHnE2.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-BFAgZIJv-CjcolAPg.js → GlobalReviewListPage-BVpHhHli-BVaUXk67.js} +1 -1
  77. package/dist/assets/{HelpButton-DoSu6q8h-D2QNiRS_.js → HelpButton-DXDj1Qju-DnQQURkZ.js} +1 -1
  78. package/dist/assets/{InformationCardStack-JtvRODJe-BckRaEiX.js → InformationCardStack-CauWOEJQ-QIe84Z5T.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-BEceNZZE-DZzBavNp.js → InsightsCardStack-C-52awo8-BlPifdQR.js} +1 -1
  80. package/dist/assets/{InsightsSection-KsnkYRQw-B7Aa3iSu.js → InsightsSection-Bq2ZlQ8--bZpQBOUU.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-D4cEY5iJ-Xpo32vjI.js → IntegrationsSettingsPage-CQCxjOHh-NHelX_xc.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-Tf_vaD2v-DshYJiDx.js → InternationalWireSwiftDetailsPage-Bi3ERJ96-CaFnSRYh.js} +1 -1
  83. package/dist/assets/{InternationalWireVerificationPage-qIIqh0iv-Bta_KUnQ.js → InternationalWireVerificationPage-DhX_OpJ6-BpviOc29.js} +1 -1
  84. package/dist/assets/{InviteFormPage-ByA4uyh2-C8GZgkKz.js → InviteFormPage-BJkMxjIE-C7G5Q0E2.js} +1 -1
  85. package/dist/assets/{InvitePageListView-0_dBCqFt-BFjmWrp0.js → InvitePageListView-0zD-YAJA-CIxbN6SJ.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-C4d-Ov5z-BxDTKzbB.js → InvitePeoplePage-CvQNFpjb-DB6AeZGB.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-MEPQPiCt-th9B9DiY.js → InvoiceUploadSection-BrnUjxIH-DvK-NqPJ.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-C77SyJR9-DFBBjnIj.js → IssueChargeCardPage-agEqgGPg-DtDWJTwt.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-DKKL0jnt-Df_7m6cr.js → LabeledAddressValue-DphNZz4y-BbhziMPr.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-Ca10mEAm-BYXlyxvu.js → LabeledAddressValueField-DBlBlkO_-fjUzU_a0.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-BYk2-ixd-BEj9gH8B.js → LabeledControlledCheckBoxField-CBRqbUDe-zjklDavb.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-DMhTj1GM-CwLykRyb.js → LabeledCreatableSingleSelectField-DOjtbusw-O47c6W6Y.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-DX4zVKkz-WJvH9-Ei.js → LabeledDocumentField-Bxggz66t-Cwirfoo_.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-BoizuD7H-v4Q8CQfZ.js → LabeledDropDownFormattedTextField-1dqcE0E4-BkupDBAp.js} +1 -1
  95. package/dist/assets/{LabeledText-4NNrEynJ-DGSkmo9K.js → LabeledText-BJFW2h6S-DNf9x09V.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DaXDpM0N-DvOiGuc2.js → LabeledUserSingleSelectWithSubtitlesField-CLzwYw4O-BiN7ZdIi.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-zRamZWIQ-Dvg7Ba_y.js → LabeledZeniRolesDropDownField-DGsJbILm-D0lgOjM8.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-FMYLsvT_-CYlVNKOt.js → LinkJETransactionPage-CvdbDO5J-BQoBCpbx.js} +4 -4
  99. package/dist/assets/{LowBalancePopup-Ig5iJGIg-KnO8OBAh.js → LowBalancePopup-BhLxnyK0-BxHV5E9i.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-Cf-TvH4n-B0L8_YVG.js → MagicLinkACHDetailsPage-CcD-_iOV-D_4ibNuj.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CLJo-rez-CdiJYIeQ.js → MagicLinkDomesticWireDetailsPage-C-YfhiNr-BjXKGnQe.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C-cD6L4u-C0367lWO.js → MagicLinkInternationalWireDetailsPage-DXZBFcUc-DgGAF9HQ.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-cJ0PjYEe-CdKZYAi2.js → MagicLinkSuccessPage-OikwemO4-C9bkoZsD.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-Dc8RKV1p-CofIGuzn.js → MagicLinkTitleSection-CcsVjT5g-CoREkk_L.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-BD9QWumq-BBGbTuq8.js → MailingDetailsSection-ClULuPML-Q3RQkre6.js} +1 -1
  106. package/dist/assets/{MeetingCalenderPopup-D10SioCO-1_HeRLgo.js → MeetingCalenderPopup-DJHrBVXi-BogUsqxG.js} +1 -1
  107. package/dist/assets/{Menu-DV3oFAip-lRllgVp1.js → Menu-C3EXvt9P-B2-q6Czj.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-jrPeCDe3-DnlrQZ-B.js → MyBankConnectionsSettingsPage-Cn-dlR5V-B_zrG4ku.js} +1 -1
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-CpaPeIYq-b4lVf6j4.js → MyPendingActivationChargeCardListPage-B3xeafnf-ItSEItx9.js} +1 -1
  110. package/dist/assets/{MyProfileSettingsPage-DLj2PeG9-CmYpnx4K.js → MyProfileSettingsPage-CcyS0ijJ-CPWTUrys.js} +1 -1
  111. package/dist/assets/{NavBarWithPicker-CilKdL1D-CUI5Ot55.js → NavBarWithPicker-C3MsVwsg-CBrULXjZ.js} +1 -1
  112. package/dist/assets/{NavigationArrow-DvGjNVsn-t1BRpFFN.js → NavigationArrow-DSMn_azz-zpYBMo3g.js} +1 -1
  113. package/dist/assets/{NavigationDots-BZNvrGBo-Lo2Iyk3a.js → NavigationDots-BiiEFlFj-zDNVZc4v.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-D5ESBBO5-D03F13z-.js → NewGlobalMerchantPage-DJ0zT8Xy-DWdOFNFW.js} +1 -1
  115. package/dist/assets/{NoDataChart-D9tQhnyu-CFEwB6jg.js → NoDataChart-O6Mg_gf4-DcekUaqa.js} +1 -1
  116. package/dist/assets/{NoDataTable-8FGbkVty-aqfoH-V1.js → NoDataTable-BgKg_U0s-DNuaeMW7.js} +1 -1
  117. package/dist/assets/{NotFoundPage-D8qvMFgl-BdhhCh3s.js → NotFoundPage-DA6cvlNW-DHFTqUjU.js} +1 -1
  118. package/dist/assets/{NotificationSettingsPage-BSJTBlX6-CxUhyf7Q.js → NotificationSettingsPage-BwqCG-6J-DqpXFIhc.js} +1 -1
  119. package/dist/assets/{NotificationsListConfig-EynMAcn9-BYkKFFfF.js → NotificationsListConfig-DqM-Z8oE-CuDCUFPm.js} +1 -1
  120. package/dist/assets/{NotificationsPage-d4HJEE7S-fSuBY2pQ.js → NotificationsPage-iYF222-C-C2fO1XcZ.js} +1 -1
  121. package/dist/assets/{OpExByVendorPage-CmuEz33W-9eGP2hA8.js → OpExByVendorPage-BwekpbHo-DhL9GePe.js} +1 -1
  122. package/dist/assets/{OverlayContainerPage-Bmu909Fo-Bjkff-6V.js → OverlayContainerPage-Bmu909Fo-Bsb5IMg7.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-C7WaIZ8e-CVd9unuB.js → PandLWithForecastPage-B7IxSSMo-DudAcLk6.js} +1 -1
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-B3m8zs_b-BX8-54k0.js → PaymentAccountSetupBillingAddressSection-CJk4EUwr-D0h0XeO4.js} +1 -1
  125. package/dist/assets/{PeoplePage-BN8tiBew-DktNBsvw.js → PeoplePage-97Qe6dqr-B3BHOXBh.js} +1 -1
  126. package/dist/assets/{PortfolioAllocationFormPage-BD1u1-Or-_9hkXIsm.js → PortfolioAllocationFormPage-Df2lZK30-CgKreoEg.js} +1 -1
  127. package/dist/assets/{PortfolioDetails-fLO6-kOh-DqBirAUP.js → PortfolioDetails-CGVqC5q--BeoFkSLS.js} +1 -1
  128. package/dist/assets/{ProductsCarousel-RHO5BWU--CKeK3hr3.js → ProductsCarousel-DqvLLayZ-DeMZpSQB.js} +1 -1
  129. package/dist/assets/{PromoBaseCards-Bm6GGzhn-NcCsm_GX.js → PromoBaseCards-Bq-mwvkh-DjLYfAja.js} +1 -1
  130. package/dist/assets/{QBOConnectionDialog-Dp_Zkpup-Bj92J1hC.js → QBOConnectionDialog-DWZd5o0q-uzGQQJYB.js} +1 -1
  131. package/dist/assets/{QBOSetupSection-C1hBKDG3-DuCsXQ2D.js → QBOSetupSection-B_V2Y6DW-SjwVzAFH.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DFUyL8tS-Cdi6rK0Z.js → ReimbursementApprovalRuleDetailPage-hWUoXT59-C-Kz7IOK.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRulesPage-CGb7oMjB-Dy2cQd1k.js → ReimbursementApprovalRulesPage-C20mPnJH-UI1oZkMb.js} +1 -1
  134. package/dist/assets/{ReimbursementDetailPage-ByD43ffh-DbazdLJO.js → ReimbursementDetailPage-DAVdVUp0-C07knSwN.js} +1 -1
  135. package/dist/assets/{ReimbursementPromoPage-CPFAYaW8-BD2qUwGu.js → ReimbursementPromoPage-TKdLARUD-CCC9lI90.js} +1 -1
  136. package/dist/assets/{ReimbursementSetUpPage-B_jUtf6N-BFBLA9Wl.js → ReimbursementSetUpPage-CW10ZPs7-CoVdJvFs.js} +1 -1
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DU-QA2n3-B6KRALO7.js → ReimbursementsBulkReviewDrawerPage-_rgixsBG-1ORB6LSI.js} +1 -1
  138. package/dist/assets/{ReloadCard-HsDGbgTn-CogYt9k2.js → ReloadCard-Bzt6gIzi-DStfhNjw.js} +1 -1
  139. package/dist/assets/{ReportTableViewSelector-BzFUam8T-BhaKwC2u.js → ReportTableViewSelector-CPc3yRAI-rxPTNVbQ.js} +1 -1
  140. package/dist/assets/{ReportsPage-MQSNDA98-BzJpYpJ_.js → ReportsPage-DIHjl3Xd-DvAuC-5b.js} +1 -1
  141. package/dist/assets/{RevenueChart-BzYEiXeP-CqwHafPG.js → RevenueChart-MkoD0EoE-Da8rUny4.js} +1 -1
  142. package/dist/assets/{ReviewDetailsPage-w2tTvIFQ-Cs9m1WmD.js → ReviewDetailsPage-B96vIWt9-DkFTWrbI.js} +1 -1
  143. package/dist/assets/{ReviewOverlay-DbYrvPld-DqEZFPx8.js → ReviewOverlay-CKOAcLzJ-JwWyu_Z9.js} +1 -1
  144. package/dist/assets/{RoleWithToolTip-B_Ivheco-CS2u-SUl.js → RoleWithToolTip-BiydziFE-Q-xg-fVJ.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CSiXckiF-1K9HNlY8.js → ScheduleDetailsFixedAssetsPage-Ce2BDLCX-BfoIrqo1.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsPage-BUprw9Sk-DvPPq-1B.js → ScheduleDetailsPage-ClK-ymjD-Bt58f9EO.js} +1 -1
  147. package/dist/assets/{ScheduleSequenceTable-DnIgU9m6-DHuLrlek.js → ScheduleSequenceTable-BOFaTbv5-88y97LwV.js} +1 -1
  148. package/dist/assets/{ScreenRoutes-BUTzMwOP.js → ScreenRoutes-D1x9fjK_.js} +1 -1
  149. package/dist/assets/{SetUpAccountSection-DDxjcjeg-Nsmn_Kay.js → SetUpAccountSection-DPEjJt-s-DbxecFrv.js} +1 -1
  150. package/dist/assets/{SetUpDefaultSection-BSWh5Hvi-BOsknp6D.js → SetUpDefaultSection-Br-a1ECs-Cis1Rx0T.js} +1 -1
  151. package/dist/assets/{SignIn-CImCEnZS-C_paDK6W.js → SignIn-B7p2vrI4-B0gBOkIG.js} +1 -1
  152. package/dist/assets/{SignInScreen-C-BLiTmk.js → SignInScreen-DWtytZ4U.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-B61K65wh-iO25bbcu.js → SpendManagementListViewPage-Ds1WRCNc-BEPVq15t.js} +11 -11
  154. package/dist/assets/SpendManagementPerTabPage-uBi60ESx-GN_GmWoa.js +754 -0
  155. package/dist/assets/{SpendManagementSection-Ddoo9sSg-C6BGVA5R.js → SpendManagementSection-CESND8ho-CRWiaZIA.js} +1 -1
  156. package/dist/assets/{SpendMgmtSetupAccountSection-GjJmiN01-u7mV3Ko6.js → SpendMgmtSetupAccountSection-CiPoUdg_-D55PFMrP.js} +1 -1
  157. package/dist/assets/{StatementItem-D_ctLWr0-BGFGp8G0.js → StatementItem-BSfAH9fl-Bs-0cP-o.js} +1 -1
  158. package/dist/assets/{StatementsPage-D1M95WeY-CfQLlRfA.js → StatementsPage-BQ-wkg9f-CI_Wd3xM.js} +1 -1
  159. package/dist/assets/{StatusSwitcher-ZC7lyTov-CK4-copc.js → StatusSwitcher-CoX1TvcC-BX39ulZO.js} +2 -2
  160. package/dist/assets/{SubTabSwitcher-BNFnbB_T-COPPhMcX.js → SubTabSwitcher-C4Kvmep7-DBYw0ksy.js} +1 -1
  161. package/dist/assets/{SummaryCard-CSo1L2R4-C8XHG3oH.js → SummaryCard-Cdh_w38m-DLTVVQZ4.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-CAcMcS83-Dzo6IaaJ.js → TaskManagementPage-CCiARHPO-CUVWW_h-.js} +1 -1
  163. package/dist/assets/{TimeRangeSwitcher-CNdJhUPl-LVlhLdwC.js → TimeRangeSwitcher-CMNnx0hW-D2iXnh9p.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcher-B7t79hiQ-v3qnXON1.js → TimeframeSwitcher-BAkn3cys-Bpob1MlE.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-gywVFoaK-Dq8bdSg_.js → TimeframeSwitcherWithToggle-Bp8FBsnD-mJytFc_W.js} +1 -1
  166. package/dist/assets/{TopExCard-D_LHVo5q-CiYt7BMD.js → TopExCard-CH7QX8Xe-DZTLNcIB.js} +1 -1
  167. package/dist/assets/{TopExDetailPage-DuiVBT_3-DpY9bqTT.js → TopExDetailPage-CJuOpApW-CCZjCdMZ.js} +1 -1
  168. package/dist/assets/TransactionDetailPage-280hbOwA-DbVllBjK.js +912 -0
  169. package/dist/assets/{TransactionList-Xd2JupaK-Dyt3TjcD.js → TransactionList-BV18tWaE-vlDng4jw.js} +1 -1
  170. package/dist/assets/{TransactionListBig-CnJaFkxR-DoCpmZbP.js → TransactionListBig-DmVgWxvf-s2_CLDsp.js} +1 -1
  171. package/dist/assets/{TransactionListPage-DJXFQaro-D4RWLZFg.js → TransactionListPage-CE61eqZh-7Ng-Dwo6.js} +1 -1
  172. package/dist/assets/{TransactionVendorDetailPage-Yd_VuyUP-BFDTNSi7.js → TransactionVendorDetailPage-CKRUJzG5-BfxXE0nd.js} +1 -1
  173. package/dist/assets/{TransferDrawerPage-DAQ23FUW-BiZn6wvM.js → TransferDrawerPage-DdIXX8dR-QDp_h_zO.js} +1 -1
  174. package/dist/assets/{TreasuryOverviewPage-D7PkIffG-BqGHTe2l.js → TreasuryOverviewPage-D9NcFBhg-CiLY6I-B.js} +1 -1
  175. package/dist/assets/{TreasuryPromoPage-BjVUBF-M-PIDTDbdn.js → TreasuryPromoPage-BKXMayjO-DOitctTn.js} +1 -1
  176. package/dist/assets/{TreasurySetupPage-CTwhrB6V-BUWRZA3R.js → TreasurySetupPage-Bo24F7wL-DZFA_IDY.js} +1 -1
  177. package/dist/assets/{TreasuryStatementsPage-jvmgqTxl-BXKXw881.js → TreasuryStatementsPage-DUKtmwwf-CPfJrl6T.js} +1 -1
  178. package/dist/assets/{TreasuryTaxLetterPage-CtKw-_Ab-enlCPtr8.js → TreasuryTaxLetterPage-vqThZpY5-h8GfcnUs.js} +1 -1
  179. package/dist/assets/{TreasuryTransferOrReviewPage-HDfVKjSA-0NrqZs7l.js → TreasuryTransferOrReviewPage-1Kqod57a-BftVr2x0.js} +1 -1
  180. package/dist/assets/{TrendChart-BqU6zv7L-DKZM8Asl.js → TrendChart-uCE73Vf8-DAeYNFwV.js} +1 -1
  181. package/dist/assets/{TrendWithTransactions-CbzZEtLk-BWdNScRD.js → TrendWithTransactions-lNYrtUkf-Didi-rkf.js} +1 -1
  182. package/dist/assets/{UncategorizedAccountsMappingPage-BqfWXEzv-DliYz2eG.js → UncategorizedAccountsMappingPage-CbLMkBab-C6ijUMSu.js} +1 -1
  183. package/dist/assets/{UnitIntegrationPage-DOt0PQxi-CfxjJMKV.js → UnitIntegrationPage-DzfchgLS-BhcBVaTd.js} +1 -1
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-DCG_biA8-BJmhb05s.js → UploadAdditionalDocumentOverlay-CJwjYpvy-BM1gvPaq.js} +1 -1
  185. package/dist/assets/{Vendor2FAPopup-AFJ4ji6z-Bm5FuZX1.js → Vendor2FAPopup-BDatjVhv-xckjR8GQ.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-CMZezqhj-vkz7wU-U.js → VendorACHDetailsPage-BTo9s38E-BkO_uBxu.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-iMWNwLtE-C2zNvoxa.js → VendorDetailPage-DOdRZKwE-CiF7RbY2.js} +1 -1
  188. package/dist/assets/{VendorDomesticWireDetailsPage-LLQSi6rq-Cc7eNflp.js → VendorDomesticWireDetailsPage-Ch_HedkY-C-FBXIHe.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-BFWuxMl8-C75iU2LR.js → VendorFiling1099EditablePage-ChgTi2cq-bvFFEvbb.js} +1 -1
  190. package/dist/assets/{VendorFirstReviewPage-G_Cr6q5s-D3fFbYJs.js → VendorFirstReviewPage-C_HBOo29-ChTUQzmE.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireDetailsPage-DReuPGpX-yLpvmkH9.js → VendorInternationalWireDetailsPage-Ct42LbtQ-XCBxG3kr.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CmAzQ-7v-C0MV63fk.js → VendorInternationalWireSwiftDetailsPage-CalHOqYH-BbZmA4Jh.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-Cjwpb7Ej-Dbu7JZ5x.js → VendorsAccountsSection-Briqd_pt-DRwMIKOs.js} +1 -1
  194. package/dist/assets/{VerifyDevice-CvJ2zJdk-Daj-imTj.js → VerifyDevice-DxP4a4YR-WzF7jf1V.js} +1 -1
  195. package/dist/assets/{VideoPlayer-9UKbocWs-D6ldVshR.js → VideoPlayer-DqRss8fV-CPfVjMmq.js} +1 -1
  196. package/dist/assets/{VideoPopup-DfQxE-EQ-C_Goo9ju.js → VideoPopup-CwEiOVHQ-BFbb_zgA.js} +1 -1
  197. package/dist/assets/{WarningsDrawerPage-2QsB6DYE-BNokYOvg.js → WarningsDrawerPage-Cdd0mag5-jaWJbGg5.js} +1 -1
  198. package/dist/assets/{ZeniAccountDetailPage-gFXGgRzS-iXevsl83.js → ZeniAccountDetailPage-5sn9Wphj-DKdbO4Vy.js} +1 -1
  199. package/dist/assets/{ZeniAccountListViewPage-Daboqhbe-H893CIj9.js → ZeniAccountListViewPage-BLCYWphf-M5fLX64J.js} +1 -1
  200. package/dist/assets/{ZeniAccountNavBarPieces-DhpbtWHu-UFQA7PsK.js → ZeniAccountNavBarPieces-Cwo5QtoT-D1SMOFic.js} +1 -1
  201. package/dist/assets/{ZeniAccountPromoPage-Df5MahOc-Duh5-gql.js → ZeniAccountPromoPage-CKQOu6Ab-CpoFwUjo.js} +1 -1
  202. package/dist/assets/{ZeniAccountSetupPage-DLlRCOCj-BdXC0xKV.js → ZeniAccountSetupPage-BW1l7qJf-Bv0SVArc.js} +1 -1
  203. package/dist/assets/{ZeniCopyright-D-Z193Re-Bvi63P7L.js → ZeniCopyright-B6fSw5kZ-CRgQ6kVa.js} +1 -1
  204. package/dist/assets/{ZeniTransferAmountSlider-D8dT_-Hq-D83Z4tyt.js → ZeniTransferAmountSlider-DgkjDK9D-CVt2TkCY.js} +1 -1
  205. package/dist/assets/{analyticsHelper-c9SRwhe3-snrr44LY.js → analyticsHelper-BIYs-BU5-BBbQGYqz.js} +1 -1
  206. package/dist/assets/{analyticsHelper-CqRk-xPI.js → analyticsHelper-DzajxkoA.js} +1 -1
  207. package/dist/assets/{chartTypes-C2jC2nzT-Dd9Dm_ev.js → chartTypes-BFc-FQm9-BY56epjm.js} +1 -1
  208. package/dist/assets/{commonDimensions-CtVQ1dPI-DOovbubg.js → commonDimensions-B_ShoU61-B2BQjped.js} +1 -1
  209. package/dist/assets/{detailCommon-BBImn49A-CpSlTw_V.js → detailCommon-CoFrLjgw-BialcQVh.js} +1 -1
  210. package/dist/assets/{downloadPdf-BvdzZp_S-nn1wV9jH.js → downloadPdf-yID9qiGz-Dx8pLF3I.js} +1 -1
  211. package/dist/assets/{index-DxZ9Uw7o.js → index-DVFYvj7P.js} +8 -8
  212. package/dist/assets/{mapLoadingInProgressToTreeNode-CKsE235C-Chr95ITX.js → mapLoadingInProgressToTreeNode-xaG_j34l-D4x68Lia.js} +1 -1
  213. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D1DheCOl-CKCzpetC.js → mapSectionWithAcOnlyToTreeNode-Cf1Q8iLQ-Ck75U1M4.js} +1 -1
  214. package/dist/assets/{mapSpacerToTreeNode-DkIeEOlL-BXF8YPij.js → mapSpacerToTreeNode-CiLMcagY-091j94NC.js} +1 -1
  215. package/dist/assets/{mapTimeframeBalancesToTreeNode-Vy-w7j2m-CAANn3O8.js → mapTimeframeBalancesToTreeNode-BpcCExFt-gIWGlkbh.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-BhmM7oKt-CuzK25Ny.js → mapTimeframeBalancesToTreeNode-VuMYRsaA-EBj_hl8w.js} +1 -1
  217. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CGrrLYwc-c_ZMN85O.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Cfz6o8XS-DL8hiZjS.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-BdeWiors-CAMQCzY4.js → toCOABalancesWithID-CL2W-2Ks-CpVda8Yv.js} +1 -1
  219. package/dist/assets/{toChartData-BCFss2y_-Y9xIvEBL.js → toChartData-CD4rOlNx-BE4t5CeX.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-BJcGoSGt-Ho84Gr1_.js → treasuryColorHelper-DHqBe6al-DjRQFofZ.js} +1 -1
  221. package/dist/assets/{uploadAttachment-PMsRrXUz-CsErn5g7.js → uploadAttachment-Bqf6VI3L-BUGZbe1u.js} +1 -1
  222. package/dist/assets/{uploadReceipts-dxsKhm9I-DPzJ4iG4.js → uploadReceipts-dxsKhm9I-ss2G_wQJ.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +3 -3
  225. package/dist/assets/CustomerOnboardingContainerPage-BDHp6tYk-FIpE3fG6.js +0 -1
  226. package/dist/assets/ExpenseAutomationPage-BC5qS_i3-B75wBbZR.js +0 -1650
  227. package/dist/assets/SpendManagementPerTabPage-Bxo7BTP3-CTkuSFDU.js +0 -754
  228. package/dist/assets/TransactionDetailPage-BWbWafDA-_L4jc956.js +0 -912
@@ -1,4 +1,4 @@
1
- import{u as Ie,e as Ve,b as Ue,a2 as M,a as Be,ca as $e,l as ze,R as Re,a8 as G,j as t,cP as _e,f as Le,C as r,aX as We,m as qe,F as Ne,dO as He,o as B,v as Me,aS as Ge,a4 as Je,q as a,y as Xe}from"./index-DxZ9Uw7o.js";import{b as p,n as S}from"./vendor-rkTZJa59.js";import{D as Ke}from"./HelpButton-DoSu6q8h-D2QNiRS_.js";import{q as Qe}from"./SetUpDefaultSection-BSWh5Hvi-BOsknp6D.js";import{f as Ye,y as J}from"./SpendMgmtSetupAccountSection-GjJmiN01-u7mV3Ko6.js";import{x as Ze}from"./LabeledControlledCheckBoxField-BYk2-ixd-BEj9gH8B.js";import{g as et}from"./UploadAdditionalDocumentOverlay-DCG_biA8-BJmhb05s.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./MeetingCalenderPopup-D10SioCO-1_HeRLgo.js";import"./ChargeCardUtils-Bv0OpE88-aSHBcI_8.js";import"./CreditCardPaymentPlgSection-CTpwe7CS-BwlpGWY3.js";import"./ChaseOverlay-4Rv__bdV-BGiRorBN.js";const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,a[5],a[5]),sectionRowGap:new r(a[5],a[9],a[9]),iconWidthHeight:new r(20,a[4]),subTitlePaddingTop:new r(12,a[3]),subTitlePaddingBottom:new r(a[3],a[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(a[1],a[0])},X="chargeCardSetUpPage",f="payAccount",{commonSetUp:tt,spendManagement:nt}=Re.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:m}=Y,{setUp:$}=tt,Tt=({autoPayThreshold:e,isDisabled:x,meetingUrl:T,isEarlyPayEnabled:g,chargeCardSetUpView:o,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:oe,onFetchLinkTokenClick:ae,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:me,onEstablishConnectionClick:fe,onEstablishConnectionSuccess:ge,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe,onSignUpClick:Pe})=>{const h=Ie(),i=Ve(),E=Ue().analytics,[w,y]=p.useState(!1),{fetchState:b,companyBillPayInfo:z,isRefreshingViewInBackground:we,updateStatus:d,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:F,companyDebitCardInfo:R,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:_}=o,L=M(b),A=M(d.fetchState),j=Be({mode:"all",reValidateMode:"onChange",defaultValues:p.useMemo(()=>K(o),[o]),values:K(o)}),ve=j.handleSubmit(se),Ee=async(C,k)=>{const n=k[f];if(C.includes(f))if(C.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const u=_.find(U=>U.id===n.fundingAccount.selectedOption);u!=null&&pe(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(U=>U.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&E.trackConnectBankLink(u.value,u.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else C.includes("enableAutoPay")&&n.enableAutoPay!=null&&me(n.enableAutoPay)};p.useEffect(()=>{const C=j.watch((k,{name:n})=>{n!=null&&k!=null&&$e(()=>Ee(n,k))});return()=>{C.unsubscribe()}}),p.useEffect(()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&y(!0),w&&L==="In-Progress"&&b==="Completed"&&y(!1)},[s,b,L]),p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const D=F?.isChargeCardEnabled===!0,O=R?.isDebitCardEnabled===!0,W=R?.isDebitCardTOSAccepted===!0,q=F?.isChargeCardTOSAccepted===!0,N=z?.isBusinessVerified===!0,Fe=l?.accType==="depositAccount"||ze.isVerifiedPaymentAccountProviderStatusCode(l?.providerVerificationStatus?.code??""),I=v?N:N&&Fe,je=b==="In-Progress"||b==="Not-Started";p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const V=v?I&&!O&&W:ie?I&&!D&&q:I&&!(D&&O)&&q&&W,De=V?m.setupSubTitleNotEnabled:m.setupSubTitle,H=h.mode==="light"?new G(h.colors.brandColorJadeLight):new G(h.colors.brandColorJadeDark),Oe=()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?y(!0):re?.()};return t.jsxs(ot,{children:[t.jsx(_e,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:w,onClose:()=>y(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:d,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>y(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe})}),t.jsx(We,{title:m.setupTitle,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!D&&!O&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(at,{windowSize:i,children:De}),je?t.jsx(ct,{children:t.jsx(qe,{size:"ExtraLarge",start:!0})}):t.jsx(Ne,{...j,children:t.jsx("form",{id:Q(X),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Qe,{onClick:Oe,title:$.businessVerificationTitle,subTitle:$.businessVerificationSubTitle,header:$.businessVerificationHeader,icon:{element:t.jsx(He,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:z?.businessVerificationStatus,isLoading:we,isActiveWhileLoading:!0}),v?null:t.jsx(Ye,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:_,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:f,isDisabled:x,onFetchLinkTokenClick:ae,onEstablishConnectionClick:fe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:ge,icon:{element:t.jsx(Ge,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:Pe,pageName:m.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:g?{marginBottom:"20px"}:{},bottomComponent:g&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:h.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:J(f,"enableAutoPay"),checkBoxValue:J(f,"enableAutoPay"),defaultChecked:F?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),V?t.jsx(Je,{formId:Q(X),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:d.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:x!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:V,meetingUrl:T,analytics:E,productType:"charge_cards"})]})},K=e=>{const{allBankAccounts:x,allFundingAccounts:T,primaryFundingAccount:g}=e;return{[f]:{fundingAccount:{selectedOption:g?.id,allOptions:T.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))},account:{selectedOption:g?.zeniAccountId,allOptions:x.map(o=>({label:o.accountName,value:o.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},Q=e=>`${e}_form`,it=S.div`
1
+ import{u as Ie,e as Ve,b as Ue,a2 as M,a as Be,ca as $e,l as ze,R as Re,a8 as G,j as t,cP as _e,f as Le,C as r,aX as We,m as qe,F as Ne,dO as He,o as B,v as Me,aS as Ge,a4 as Je,q as a,y as Xe}from"./index-DVFYvj7P.js";import{b as p,n as S}from"./vendor-rkTZJa59.js";import{D as Ke}from"./HelpButton-DXDj1Qju-DnQQURkZ.js";import{q as Qe}from"./SetUpDefaultSection-Br-a1ECs-Cis1Rx0T.js";import{f as Ye,y as J}from"./SpendMgmtSetupAccountSection-CiPoUdg_-D55PFMrP.js";import{x as Ze}from"./LabeledControlledCheckBoxField-CBRqbUDe-zjklDavb.js";import{g as et}from"./UploadAdditionalDocumentOverlay-CJwjYpvy-BM1gvPaq.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./MeetingCalenderPopup-DJHrBVXi-BogUsqxG.js";import"./ChargeCardUtils-BEBqV4Ri-D_Hnspw1.js";import"./CreditCardPaymentPlgSection-D-Ptzdeo-DV96PY8N.js";import"./ChaseOverlay-CauClKmi-CFbGjU4W.js";const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,a[5],a[5]),sectionRowGap:new r(a[5],a[9],a[9]),iconWidthHeight:new r(20,a[4]),subTitlePaddingTop:new r(12,a[3]),subTitlePaddingBottom:new r(a[3],a[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(a[1],a[0])},X="chargeCardSetUpPage",f="payAccount",{commonSetUp:tt,spendManagement:nt}=Re.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:m}=Y,{setUp:$}=tt,Tt=({autoPayThreshold:e,isDisabled:x,meetingUrl:T,isEarlyPayEnabled:g,chargeCardSetUpView:o,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:oe,onFetchLinkTokenClick:ae,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:me,onEstablishConnectionClick:fe,onEstablishConnectionSuccess:ge,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe,onSignUpClick:Pe})=>{const h=Ie(),i=Ve(),E=Ue().analytics,[w,y]=p.useState(!1),{fetchState:b,companyBillPayInfo:z,isRefreshingViewInBackground:we,updateStatus:d,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:F,companyDebitCardInfo:R,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:_}=o,L=M(b),A=M(d.fetchState),j=Be({mode:"all",reValidateMode:"onChange",defaultValues:p.useMemo(()=>K(o),[o]),values:K(o)}),ve=j.handleSubmit(se),Ee=async(C,k)=>{const n=k[f];if(C.includes(f))if(C.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const u=_.find(U=>U.id===n.fundingAccount.selectedOption);u!=null&&pe(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(U=>U.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&E.trackConnectBankLink(u.value,u.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else C.includes("enableAutoPay")&&n.enableAutoPay!=null&&me(n.enableAutoPay)};p.useEffect(()=>{const C=j.watch((k,{name:n})=>{n!=null&&k!=null&&$e(()=>Ee(n,k))});return()=>{C.unsubscribe()}}),p.useEffect(()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&y(!0),w&&L==="In-Progress"&&b==="Completed"&&y(!1)},[s,b,L]),p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const D=F?.isChargeCardEnabled===!0,O=R?.isDebitCardEnabled===!0,W=R?.isDebitCardTOSAccepted===!0,q=F?.isChargeCardTOSAccepted===!0,N=z?.isBusinessVerified===!0,Fe=l?.accType==="depositAccount"||ze.isVerifiedPaymentAccountProviderStatusCode(l?.providerVerificationStatus?.code??""),I=v?N:N&&Fe,je=b==="In-Progress"||b==="Not-Started";p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const V=v?I&&!O&&W:ie?I&&!D&&q:I&&!(D&&O)&&q&&W,De=V?m.setupSubTitleNotEnabled:m.setupSubTitle,H=h.mode==="light"?new G(h.colors.brandColorJadeLight):new G(h.colors.brandColorJadeDark),Oe=()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?y(!0):re?.()};return t.jsxs(ot,{children:[t.jsx(_e,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:w,onClose:()=>y(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:d,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>y(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe})}),t.jsx(We,{title:m.setupTitle,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!D&&!O&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(at,{windowSize:i,children:De}),je?t.jsx(ct,{children:t.jsx(qe,{size:"ExtraLarge",start:!0})}):t.jsx(Ne,{...j,children:t.jsx("form",{id:Q(X),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Qe,{onClick:Oe,title:$.businessVerificationTitle,subTitle:$.businessVerificationSubTitle,header:$.businessVerificationHeader,icon:{element:t.jsx(He,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:z?.businessVerificationStatus,isLoading:we,isActiveWhileLoading:!0}),v?null:t.jsx(Ye,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:_,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:f,isDisabled:x,onFetchLinkTokenClick:ae,onEstablishConnectionClick:fe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:ge,icon:{element:t.jsx(Ge,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:Pe,pageName:m.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:g?{marginBottom:"20px"}:{},bottomComponent:g&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:h.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:J(f,"enableAutoPay"),checkBoxValue:J(f,"enableAutoPay"),defaultChecked:F?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),V?t.jsx(Je,{formId:Q(X),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:d.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:x!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:V,meetingUrl:T,analytics:E,productType:"charge_cards"})]})},K=e=>{const{allBankAccounts:x,allFundingAccounts:T,primaryFundingAccount:g}=e;return{[f]:{fundingAccount:{selectedOption:g?.id,allOptions:T.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))},account:{selectedOption:g?.zeniAccountId,allOptions:x.map(o=>({label:o.accountName,value:o.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},Q=e=>`${e}_form`,it=S.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{u as F,e as N,j as t,aX as W,R as T,o as h,C as w,y as B,ao as O,b as q,h7 as V,W as G,m as J,q as s,bz as K}from"./index-DxZ9Uw7o.js";import{n as i,b as Q}from"./vendor-rkTZJa59.js";import{$ as U,g as X}from"./BoxItem-D09XMKDc-Bw3kfbzM.js";import{w as _}from"./downloadPdf-BvdzZp_S-nn1wV9jH.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./commonDimensions-CtVQ1dPI-DOovbubg.js";const Y=T.getLocalizedStrings().months,A={downloadButtonSize:new w(s[4],20)},H=i.div`
1
+ import{u as F,e as N,j as t,aX as W,R as T,o as h,C as w,y as B,ao as O,b as q,h7 as V,W as G,m as J,q as s,bz as K}from"./index-DVFYvj7P.js";import{n as i,b as Q}from"./vendor-rkTZJa59.js";import{$ as U,g as X}from"./BoxItem-CnpQOIVn-CNkfS6h2.js";import{w as _}from"./downloadPdf-yID9qiGz-Dx8pLF3I.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./commonDimensions-B_ShoU61-B2BQjped.js";const Y=T.getLocalizedStrings().months,A={downloadButtonSize:new w(s[4],20)},H=i.div`
2
2
  display: flex;
3
3
  padding: ${h.sp3} ${h.sp4};
4
4
  flex-direction: row;
@@ -1 +1 @@
1
- import{fm as D,R as S,dt as c,l as B}from"./index-DxZ9Uw7o.js";function A(e){const a=e.match(/\d+/g);if(!a||a.length!==3)return null;const r=parseInt(a[0]),d=parseInt(a[1]),t=parseInt(a[2]);return"#"+(1<<24|r<<16|d<<8|t).toString(16).slice(1)}const L=({signedInUserToken:e,showSecretInfo:a,setShowPhoneNumberPopup:r,onFireOnClickAnalytics:d,setShowSecretInfo:t})=>{(e==null||e.expiry.isBefore(B.dateNow()))&&a===!1?(r(!0),d("verify card details")):e?.token!=null&&a===!1?t(!0):e?.token!=null&&a===!0&&t(!1)},F=e=>e.includes("credit")?"credit":"debit",{dateFormat:s}=S.getLocalizedStrings(),N=({chargeCardDetailView:e,classListFetchState:a,analytics:r,isChargeCardFeatureEnabled:d,creditAccount:t,pageName:o,addToWalletType:i,creditAccountRepayment:l,isDebitCard:n,isChargeCardAdmin:m,cardIssuedByRoles:u,cardIssuedByDepartmentName:h,cardHolderRoles:C,cardHolderDepartmentName:g,controllerEmails:p,productInformation:y,creditAccountInformation:f,debitAccountInformation:I})=>{e.chargeCard!=null&&a==="Completed"&&(!d||t.fetchState==="Completed"&&l.fetchState==="Completed")&&(!(n&&m)||e.depositAccountLimitFetchState.fetchState==="Completed")&&r.trackCardsAddToWalletClick(p,y,{cardId:e.chargeCard.id,cardName:e.chargeCard.cardName,cardType:F(e.chargeCard.type.code),cardCategory:e.chargeCard.type.code.includes("physical")?"physical":"virtual",cardLimit:D(e.chargeCard.limit.amount),cardLastFourDigits:e.chargeCard.accountLast4,cardStatus:e.chargeCard.status.code,cardAssignedDate:e.chargeCard.createTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:e.chargeCard.providerCardCreateTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:e.chargeCard.creditLimitFrequency.name},{cardIssuedByName:c(e.chargeCard.cardCreatedByUser,!1),cardIssuedByEmail:e.chargeCard.cardCreatedByUser?.email,cardIssuedByUserId:e.chargeCard.cardCreatedByUser?.userId,cardIssuedByRole:u,cardIssuedByDepartment:h},{cardholderName:c(e.chargeCard.cardHolderUser,!1),cardholderEmail:e.chargeCard.cardHolderUser?.email,cardholderRole:C,cardholderUserId:e.chargeCard.cardHolderUser?.userId,cardholderDepartment:g},o,i,f,I)},b=(e,a)=>{if(e<=0)return 0;const r=e-a;return Math.round(r/e*100)},M=e=>e.limit.amount-e.available.amount,Y="1.75";export{F,N as H,A as L,b as M,L as U,M as _,Y as b};
1
+ import{fm as D,R as S,dt as c,l as B}from"./index-DVFYvj7P.js";function A(e){const a=e.match(/\d+/g);if(!a||a.length!==3)return null;const r=parseInt(a[0]),d=parseInt(a[1]),t=parseInt(a[2]);return"#"+(1<<24|r<<16|d<<8|t).toString(16).slice(1)}const L=({signedInUserToken:e,showSecretInfo:a,setShowPhoneNumberPopup:r,onFireOnClickAnalytics:d,setShowSecretInfo:t})=>{(e==null||e.expiry.isBefore(B.dateNow()))&&a===!1?(r(!0),d("verify card details")):e?.token!=null&&a===!1?t(!0):e?.token!=null&&a===!0&&t(!1)},F=e=>e.includes("credit")?"credit":"debit",{dateFormat:s}=S.getLocalizedStrings(),N=({chargeCardDetailView:e,classListFetchState:a,analytics:r,isChargeCardFeatureEnabled:d,creditAccount:t,pageName:o,addToWalletType:i,creditAccountRepayment:l,isDebitCard:n,isChargeCardAdmin:m,cardIssuedByRoles:u,cardIssuedByDepartmentName:h,cardHolderRoles:C,cardHolderDepartmentName:g,controllerEmails:p,productInformation:y,creditAccountInformation:f,debitAccountInformation:I})=>{e.chargeCard!=null&&a==="Completed"&&(!d||t.fetchState==="Completed"&&l.fetchState==="Completed")&&(!(n&&m)||e.depositAccountLimitFetchState.fetchState==="Completed")&&r.trackCardsAddToWalletClick(p,y,{cardId:e.chargeCard.id,cardName:e.chargeCard.cardName,cardType:F(e.chargeCard.type.code),cardCategory:e.chargeCard.type.code.includes("physical")?"physical":"virtual",cardLimit:D(e.chargeCard.limit.amount),cardLastFourDigits:e.chargeCard.accountLast4,cardStatus:e.chargeCard.status.code,cardAssignedDate:e.chargeCard.createTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:e.chargeCard.providerCardCreateTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:e.chargeCard.creditLimitFrequency.name},{cardIssuedByName:c(e.chargeCard.cardCreatedByUser,!1),cardIssuedByEmail:e.chargeCard.cardCreatedByUser?.email,cardIssuedByUserId:e.chargeCard.cardCreatedByUser?.userId,cardIssuedByRole:u,cardIssuedByDepartment:h},{cardholderName:c(e.chargeCard.cardHolderUser,!1),cardholderEmail:e.chargeCard.cardHolderUser?.email,cardholderRole:C,cardholderUserId:e.chargeCard.cardHolderUser?.userId,cardholderDepartment:g},o,i,f,I)},b=(e,a)=>{if(e<=0)return 0;const r=e-a;return Math.round(r/e*100)},M=e=>e.limit.amount-e.available.amount,Y="1.75";export{F,N as H,A as L,b as M,L as U,M as _,Y as b};
@@ -1,4 +1,4 @@
1
- import{e as X,fj as J,fk as Y,R as Z,j as t,f as x,p as ee,Q as N,W as c,o as s,C as m,r as te,y as ie,ao as se,bv as oe,dE as re,q as l,ap as A,az as Q,a7 as ne,fl as le,w as ae,cx as de,aR as ce}from"./index-DxZ9Uw7o.js";import{b as p,n as o}from"./vendor-rkTZJa59.js";const u={width:new m(350,624,624),height:new m(600,730,730),paddingLeft:new m(l[4],l[8],l[8]),paddingRight:new m(l[4],l[7],l[7])};function Be(e){const d=X(),[,U]=J(),{isMobileOrTabletScreen:g}=Y(),[y,k]=p.useState(!0),[j,S]=p.useState(!0),[z,C]=p.useState(!1),[T,L]=p.useState(!1),r=Z.getLocalizedStrings().commonSetUp.chaseOverlay,_=r.title,q=r.description,V=()=>{window.open(r.chaseVideoUrl,"_blank")},M=[0,1,2,3],P=i=>i<M.length-1,D=(i,n)=>{U(i??""),n?k(!1):S(!1)},B=i=>{i?C(!0):L(!0)},E=i=>{i?C(!1):L(!1)};p.useEffect(()=>{y===!1&&setTimeout(()=>{k(!0)},2e3),j===!1&&setTimeout(()=>{S(!0)},2e3)},[y,j]);const G=()=>{const i=r.step1;return t.jsxs($,{children:[t.jsx(Ce,{"data-testid":c("chase-overlay-signin-link"),href:r.chaseSigninUrl,target:"_blank",rel:"noreferrer noopener",children:i.text1}),i.text2,t.jsxs(a,{children:[" ",i.text3]}),i.text4,t.jsxs(a,{children:[" ",i.text5]}),i.text6]})},K=()=>{const i=r.step2;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",t.jsx(be,{}),i.text2]}),t.jsx(ke,{}),i.text3]})},F=()=>{const i=r.step3,n=e.connectedAccountProvider==="stripe"?i.payeeIdStripe:i.payeeIdUnit;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(Te,{children:[t.jsxs(f,{onClick:()=>D(n,!0),onMouseOver:()=>B(!0),onMouseLeave:()=>E(!0),"data-testid":c("copy-payee-id",n),children:[t.jsx(v,{}),i.payeeIdTitle,t.jsx(b,{children:n}),y?t.jsxs(h,{children:[t.jsx(O,{showCopyText:z&&!g,windowSize:d,children:t.jsx(R,{})}),t.jsx(w,{shouldDisplay:z&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(I,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{onClick:()=>D(i.payeeName,!1),onMouseOver:()=>B(!1),onMouseLeave:()=>E(!1),"data-testid":c("copy-payee-name",i.payeeName),children:[t.jsx(v,{}),i.payeeNameTitle,t.jsx(b,{children:i.payeeName}),j?t.jsxs(h,{children:[t.jsx(O,{showCopyText:T&&!g,windowSize:d,children:t.jsx(R,{})}),t.jsx(w,{shouldDisplay:T&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(I,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{children:[t.jsx(h,{children:t.jsx(v,{})}),t.jsxs(Le,{children:[i.amountLimitTitle,i.text4,t.jsx(b,{children:i.amountLimit}),i.text5]})]})]})]})},H=()=>{const i=r.step4;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(a,{children:[" ",i.text4]})]})},W=i=>{switch(i){case 0:return t.jsx(G,{});case 1:return t.jsx(K,{});case 2:return t.jsx(F,{});default:return t.jsx(H,{})}};return t.jsx(pe,{windowSize:d,role:"presentation",style:{background:x.overlayDark,...e.style},children:t.jsx(ee,{onClickAway:()=>e.action.onBackClick?.(),children:t.jsxs(he,{windowSize:d,isEditPopup:!1,children:[t.jsxs(Me,{children:[t.jsx(xe,{children:_}),t.jsx(ge,{children:q}),t.jsx(ye,{children:r.stepsTitle}),t.jsx(ue,{windowSize:d,children:M.map((i,n)=>t.jsxs(me,{children:[t.jsx(fe,{children:P(n)?n+1:t.jsx(Se,{})}),t.jsx(ve,{children:W(n)}),P(n)&&t.jsx(je,{})]},`step_${n}`))})]}),t.jsx($e,{}),t.jsxs(we,{children:[t.jsx(N,{variant:"secondary",label:r.primaryButtonText,onClick:V,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-watch-video-button")}),t.jsx(ze,{}),t.jsx(N,{variant:e.proceedButtonVariant??"primary",label:r.secondaryButtonText,onClick:e.action.onBackClick,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-proceed-button")})]})]})})})}const pe=o.div`
1
+ import{e as X,fj as J,fk as Y,R as Z,j as t,f as x,p as ee,Q as N,W as c,o as s,C as m,r as te,y as ie,ao as se,bv as oe,dE as re,q as l,ap as A,az as Q,a7 as ne,fl as le,w as ae,cx as de,aR as ce}from"./index-DVFYvj7P.js";import{b as p,n as o}from"./vendor-rkTZJa59.js";const u={width:new m(350,624,624),height:new m(600,730,730),paddingLeft:new m(l[4],l[8],l[8]),paddingRight:new m(l[4],l[7],l[7])};function Be(e){const d=X(),[,U]=J(),{isMobileOrTabletScreen:g}=Y(),[y,k]=p.useState(!0),[j,S]=p.useState(!0),[z,C]=p.useState(!1),[T,L]=p.useState(!1),r=Z.getLocalizedStrings().commonSetUp.chaseOverlay,_=r.title,q=r.description,V=()=>{window.open(r.chaseVideoUrl,"_blank")},M=[0,1,2,3],P=i=>i<M.length-1,D=(i,n)=>{U(i??""),n?k(!1):S(!1)},B=i=>{i?C(!0):L(!0)},E=i=>{i?C(!1):L(!1)};p.useEffect(()=>{y===!1&&setTimeout(()=>{k(!0)},2e3),j===!1&&setTimeout(()=>{S(!0)},2e3)},[y,j]);const G=()=>{const i=r.step1;return t.jsxs($,{children:[t.jsx(Ce,{"data-testid":c("chase-overlay-signin-link"),href:r.chaseSigninUrl,target:"_blank",rel:"noreferrer noopener",children:i.text1}),i.text2,t.jsxs(a,{children:[" ",i.text3]}),i.text4,t.jsxs(a,{children:[" ",i.text5]}),i.text6]})},K=()=>{const i=r.step2;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",t.jsx(be,{}),i.text2]}),t.jsx(ke,{}),i.text3]})},F=()=>{const i=r.step3,n=e.connectedAccountProvider==="stripe"?i.payeeIdStripe:i.payeeIdUnit;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(Te,{children:[t.jsxs(f,{onClick:()=>D(n,!0),onMouseOver:()=>B(!0),onMouseLeave:()=>E(!0),"data-testid":c("copy-payee-id",n),children:[t.jsx(v,{}),i.payeeIdTitle,t.jsx(b,{children:n}),y?t.jsxs(h,{children:[t.jsx(O,{showCopyText:z&&!g,windowSize:d,children:t.jsx(R,{})}),t.jsx(w,{shouldDisplay:z&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(I,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{onClick:()=>D(i.payeeName,!1),onMouseOver:()=>B(!1),onMouseLeave:()=>E(!1),"data-testid":c("copy-payee-name",i.payeeName),children:[t.jsx(v,{}),i.payeeNameTitle,t.jsx(b,{children:i.payeeName}),j?t.jsxs(h,{children:[t.jsx(O,{showCopyText:T&&!g,windowSize:d,children:t.jsx(R,{})}),t.jsx(w,{shouldDisplay:T&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(I,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{children:[t.jsx(h,{children:t.jsx(v,{})}),t.jsxs(Le,{children:[i.amountLimitTitle,i.text4,t.jsx(b,{children:i.amountLimit}),i.text5]})]})]})]})},H=()=>{const i=r.step4;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(a,{children:[" ",i.text4]})]})},W=i=>{switch(i){case 0:return t.jsx(G,{});case 1:return t.jsx(K,{});case 2:return t.jsx(F,{});default:return t.jsx(H,{})}};return t.jsx(pe,{windowSize:d,role:"presentation",style:{background:x.overlayDark,...e.style},children:t.jsx(ee,{onClickAway:()=>e.action.onBackClick?.(),children:t.jsxs(he,{windowSize:d,isEditPopup:!1,children:[t.jsxs(Me,{children:[t.jsx(xe,{children:_}),t.jsx(ge,{children:q}),t.jsx(ye,{children:r.stepsTitle}),t.jsx(ue,{windowSize:d,children:M.map((i,n)=>t.jsxs(me,{children:[t.jsx(fe,{children:P(n)?n+1:t.jsx(Se,{})}),t.jsx(ve,{children:W(n)}),P(n)&&t.jsx(je,{})]},`step_${n}`))})]}),t.jsx($e,{}),t.jsxs(we,{children:[t.jsx(N,{variant:"secondary",label:r.primaryButtonText,onClick:V,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-watch-video-button")}),t.jsx(ze,{}),t.jsx(N,{variant:e.proceedButtonVariant??"primary",label:r.secondaryButtonText,onClick:e.action.onBackClick,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-proceed-button")})]})]})})})}const pe=o.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,4 +1,4 @@
1
- import{e as Z,j as t,W as $,h5 as pe,R as ee,a0 as M,Q,o,a4 as he,C as l,a3 as oe,T as ue,ao as me,c7 as te,w as ge,y as F,a2 as xe,a as fe,ca as ke,f as w,F as De,fK as $e,cd as we,eT as W,ck as J,q as s,d1 as be,bO as ye,bw as je,cG as Pe,fe as Se,n as q,fg as Le}from"./index-DxZ9Uw7o.js";import{b as k,n as a}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",I=e=>{const p=[];return e.checkFront!=null&&p.push(e.checkFront.fileId),e.checkBack!=null&&p.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(x=>({label:x.accountName,value:x.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:p,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,p)=>`${e}.${p}`,ze=e=>`${e}_form`,u={largeLabelWidth:new l(160,160,160),rowContentPaddingLeft:new l(s[3],s[4]),checkPicRowContentPaddingXAxis:new l(s[3],s[4]),labeleMarginLeft:new l(s[0],s[0]),labeleMarginBottom:new l(s[2],s[0]),labelMarginRight:new l(s[3],s[3]),labeledFieldPaddingLeft:new l(s[3],s[0]),labeledFieldPaddingRight:new l(s[3],s[2]),labeledFieldPaddingTop:new l(s[3],s[3]),labeledFieldPaddingBottom:new l(s[3],s[2]),infoLabelPaddingRight:new l(s[0],s[3]),infoLabelMarginTop:new l(s[1],s[0])},{spendManagement:Be,common:V}=ee.getLocalizedStrings(),c=Be.zeniAccounts.zeniAccountList,Ae=V.documents;function Ee({checkDeposit:e,analytics:p,filesEndPoint:x,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=Z(),n=e.fetchState,L=xe(n),[v,G]=k.useState(!1),[se,z]=k.useState(!1),B=u.largeLabelWidth.value(r),f=fe({mode:"all",reValidateMode:"onBlur",defaultValues:I(e),values:I(e)}),{isValid:re}=f.formState,Y=i=>{const d={amount:{amount:i[g].amount??0,currencyCode:V.currency.currencyCode,currencySymbol:V.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(d)},ce=async(i,d)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},d);Y(h)}};k.useEffect(()=>{const i=f.watch((d,{name:h})=>{h!=null&&d!=null&&ke(()=>ce(h,d))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{L==="Completed"&&n==="Not-Started"&&f.reset(I(e))},[L,n,f,e]),k.useEffect(()=>{e.error!=null?z(!0):z(!1)},[e.error]);const le=f.handleSubmit(()=>{if(re){p.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=f.getValues();Y(i),T?.()}}),ne=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(E=>E.id===i),A=e.depositAccounts.depositAccounts.findIndex(E=>E.id===i);return h?t.jsx(Ve,{color:Se(A),isSelectedValue:d}):null},de=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?d===!0?t.jsx(Re,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(K,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(K,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(Ge,{children:[t.jsx(Qe,{}),t.jsxs(We,{children:[t.jsx(Je,{children:e.error?.title}),t.jsx(Ke,{children:e.error?.message})]})]}),t.jsx(Ye,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),z(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(Xe,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...f,children:t.jsx("form",{id:ze(ve),onSubmit:le,children:t.jsxs(He,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:B},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(we,{label:{label:c.checkDepositDrawer.sourceLabel,width:B},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(_e,{label:{label:c.checkDepositDrawer.depositToLabel,width:B,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,d)=>ne(i,d),valueToSubLabels:(i,d)=>de(i,d),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(Ue,{size:r,children:[t.jsxs(Ze,{size:r,children:[t.jsx(Ie,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(X,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(W,{name:`${D(g,R)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>G(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(X,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(W,{name:`${D(g,R)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>G(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ie=a(F)`
1
+ import{e as Z,j as t,W as $,h5 as pe,R as ee,a0 as M,Q,o,a4 as he,C as l,a3 as oe,T as ue,ao as me,c7 as te,w as ge,y as F,a2 as xe,a as fe,ca as ke,f as w,F as De,fK as $e,cd as we,eT as W,ck as J,q as s,d1 as be,bO as ye,bw as je,cG as Pe,fe as Se,n as q,fg as Le}from"./index-DVFYvj7P.js";import{b as k,n as a}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",I=e=>{const p=[];return e.checkFront!=null&&p.push(e.checkFront.fileId),e.checkBack!=null&&p.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(x=>({label:x.accountName,value:x.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:p,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,p)=>`${e}.${p}`,ze=e=>`${e}_form`,u={largeLabelWidth:new l(160,160,160),rowContentPaddingLeft:new l(s[3],s[4]),checkPicRowContentPaddingXAxis:new l(s[3],s[4]),labeleMarginLeft:new l(s[0],s[0]),labeleMarginBottom:new l(s[2],s[0]),labelMarginRight:new l(s[3],s[3]),labeledFieldPaddingLeft:new l(s[3],s[0]),labeledFieldPaddingRight:new l(s[3],s[2]),labeledFieldPaddingTop:new l(s[3],s[3]),labeledFieldPaddingBottom:new l(s[3],s[2]),infoLabelPaddingRight:new l(s[0],s[3]),infoLabelMarginTop:new l(s[1],s[0])},{spendManagement:Be,common:V}=ee.getLocalizedStrings(),c=Be.zeniAccounts.zeniAccountList,Ae=V.documents;function Ee({checkDeposit:e,analytics:p,filesEndPoint:x,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=Z(),n=e.fetchState,L=xe(n),[v,G]=k.useState(!1),[se,z]=k.useState(!1),B=u.largeLabelWidth.value(r),f=fe({mode:"all",reValidateMode:"onBlur",defaultValues:I(e),values:I(e)}),{isValid:re}=f.formState,Y=i=>{const d={amount:{amount:i[g].amount??0,currencyCode:V.currency.currencyCode,currencySymbol:V.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(d)},ce=async(i,d)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},d);Y(h)}};k.useEffect(()=>{const i=f.watch((d,{name:h})=>{h!=null&&d!=null&&ke(()=>ce(h,d))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{L==="Completed"&&n==="Not-Started"&&f.reset(I(e))},[L,n,f,e]),k.useEffect(()=>{e.error!=null?z(!0):z(!1)},[e.error]);const le=f.handleSubmit(()=>{if(re){p.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=f.getValues();Y(i),T?.()}}),ne=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(E=>E.id===i),A=e.depositAccounts.depositAccounts.findIndex(E=>E.id===i);return h?t.jsx(Ve,{color:Se(A),isSelectedValue:d}):null},de=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?d===!0?t.jsx(Re,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(K,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(K,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(Ge,{children:[t.jsx(Qe,{}),t.jsxs(We,{children:[t.jsx(Je,{children:e.error?.title}),t.jsx(Ke,{children:e.error?.message})]})]}),t.jsx(Ye,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),z(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(Xe,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...f,children:t.jsx("form",{id:ze(ve),onSubmit:le,children:t.jsxs(He,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:B},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(we,{label:{label:c.checkDepositDrawer.sourceLabel,width:B},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(_e,{label:{label:c.checkDepositDrawer.depositToLabel,width:B,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,d)=>ne(i,d),valueToSubLabels:(i,d)=>de(i,d),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(Ue,{size:r,children:[t.jsxs(Ze,{size:r,children:[t.jsx(Ie,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(X,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(W,{name:`${D(g,R)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>G(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(X,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(W,{name:`${D(g,R)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>G(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ie=a(F)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Ne=a(F)`
4
4
  color: ${e=>e.theme.colors.hero};
@@ -1,4 +1,4 @@
1
- import{j as t,aj as po,W as m,bf as fe,a0 as q,dj as go,o as c,f as ee,a2 as hi,e as M,J as ui,D as fo,dk as pi,dl as xo,l as A,R as W,q as w,dm as Vi,dn as Ot,a8 as _,dp as Mt,bH as Nt,dq as It,C as D,cz as Pt,Y as Di,_ as Je,dr as Ne,bh as K,m as mo,u as ce,af as Ri,ds as Gi,a9 as V,s as Ae,dt as wo,du as se,bG as zt,bv as gi,w as yo,n as ye,dv as Xe,dw as Be,dx as tt,y as C,bO as ne,dy as bo,v as Ft,dz as Re,dA as fi,dB as xi,dC as ko,dD as jo,ao as Ei,al as So,c3 as Tt,c2 as Vt,dE as Co,am as Hi,c6 as Ki,bn as $o,dF as vo,dG as mi,dH as wi,dI as _o,dJ as Lo,bp as Ao,b6 as Bo,dK as Wo}from"./index-DxZ9Uw7o.js";import{n as a,b as I,f as Oo,j as P}from"./vendor-rkTZJa59.js";import{L as it,N as Mo,D as No,B as be,u as v}from"./AccountRow-Dj74AzIh-xP3FLMcB.js";function Z(e,i){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return q("0,0",e?.balance)}function J(e){return q("0,0",e?.forecast)}function Yi(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.totalPercentValue)}return q("0,0",e?.totalBalance)}function bt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.forecastPercentValue)}return q("0,0",e?.totalForecast)}function de(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const i=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function he(e){if(e!=null&&e.forecast!=null){const i=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return q("0,0",Object.assign({},e.forecast,{amount:i}))}else return q("0,0",null)}function Ui(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const i=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function qi(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const i=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return q("0,0",Object.assign({},e.totalForecast,{amount:i}))}else return q("0,0",null)}const Ie=(e,i,n)=>{const{startDate:o,balanceType:r}=i,{dateFormat:{visual:l}}=W.getLocalizedStrings();switch(n){case"month":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.MMMYYYYFormat,e)}`:ft(r,n);case"quarter":return r==="default"||r==="default_with_percent"?`${W.getLocalizedStrings().reports.quarterPrefix}${A.formatZeniDate(o,l.QYYYYformat,e)}`:ft(r,n);case"year":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.YYYYformat,e)}`:ft(r,n);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function ft(e,i){return W.getLocalizedStrings().downloadReport.additionalColumns.labels[i][e]}const eg=(e,i,n)=>{const o=i.length==0?e:`${e}_${i.join("_")}`;return n!=null&&n.trim().length>0?`${o}_${n}`:`${o}_${go(10)}`},Io=a.div`
1
+ import{j as t,aj as po,W as m,bf as fe,a0 as q,dj as go,o as c,f as ee,a2 as hi,e as M,J as ui,D as fo,dk as pi,dl as xo,l as A,R as W,q as w,dm as Vi,dn as Ot,a8 as _,dp as Mt,bH as Nt,dq as It,C as D,cz as Pt,Y as Di,_ as Je,dr as Ne,bh as K,m as mo,u as ce,af as Ri,ds as Gi,a9 as V,s as Ae,dt as wo,du as se,bG as zt,bv as gi,w as yo,n as ye,dv as Xe,dw as Be,dx as tt,y as C,bO as ne,dy as bo,v as Ft,dz as Re,dA as fi,dB as xi,dC as ko,dD as jo,ao as Ei,al as So,c3 as Tt,c2 as Vt,dE as Co,am as Hi,c6 as Ki,bn as $o,dF as vo,dG as mi,dH as wi,dI as _o,dJ as Lo,bp as Ao,b6 as Bo,dK as Wo}from"./index-DVFYvj7P.js";import{n as a,b as I,f as Oo,j as P}from"./vendor-rkTZJa59.js";import{L as it,N as Mo,D as No,B as be,u as v}from"./AccountRow-DnMX1pTV-DzyPY1GP.js";function Z(e,i){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return q("0,0",e?.balance)}function J(e){return q("0,0",e?.forecast)}function Yi(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.totalPercentValue)}return q("0,0",e?.totalBalance)}function bt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.forecastPercentValue)}return q("0,0",e?.totalForecast)}function de(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const i=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function he(e){if(e!=null&&e.forecast!=null){const i=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return q("0,0",Object.assign({},e.forecast,{amount:i}))}else return q("0,0",null)}function Ui(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const i=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function qi(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const i=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return q("0,0",Object.assign({},e.totalForecast,{amount:i}))}else return q("0,0",null)}const Ie=(e,i,n)=>{const{startDate:o,balanceType:r}=i,{dateFormat:{visual:l}}=W.getLocalizedStrings();switch(n){case"month":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.MMMYYYYFormat,e)}`:ft(r,n);case"quarter":return r==="default"||r==="default_with_percent"?`${W.getLocalizedStrings().reports.quarterPrefix}${A.formatZeniDate(o,l.QYYYYformat,e)}`:ft(r,n);case"year":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.YYYYformat,e)}`:ft(r,n);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function ft(e,i){return W.getLocalizedStrings().downloadReport.additionalColumns.labels[i][e]}const eg=(e,i,n)=>{const o=i.length==0?e:`${e}_${i.join("_")}`;return n!=null&&n.trim().length>0?`${o}_${n}`:`${o}_${go(10)}`},Io=a.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{e as Oe,u as Re,cn as wl,R as ae,C as L,a2 as jl,j as l,bp as We,f4 as qe,bW as _e,fA as Ee,o as a,fJ as $l,cm as He,cd as ee,cf as ce,cj as Ue,l as Se,cF as vl,cD as Sl,ch as Ye,cg as Ie,fK as Ve,fL as Il,fi as Cl,fh as ke,ck as Ce,cl as Ll,f as Pe,f5 as Ge,X as xe,b6 as Ke,f3 as Qe,y as Ne,fz as Je,v as ye,p as Ol,b3 as _l,q as F,dj as El,ac as Pl,fM as Nl,n as Dl,fN as Fl,b4 as ge,ak as Vl,g as Ze,w as kl,cx as Tl,b2 as zl,b1 as Al}from"./index-DxZ9Uw7o.js";import{b as d,n as t}from"./vendor-rkTZJa59.js";import{C as Le}from"./LabeledAddressValueField-Ca10mEAm-BYXlyxvu.js";import{T as Bl}from"./LabeledCreatableSingleSelectField-DMhTj1GM-CwLykRyb.js";import{Y as Te}from"./LabeledDocumentField-DX4zVKkz-WJvH9-Ei.js";const Ml=e=>d.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),d.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("g",{clipPath:"url(#clip0_1350_23850)"},d.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip1_1350_23850)"},d.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip2_1350_23850)"},d.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip3_1350_23850)"},d.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),d.createElement("defs",null,d.createElement("clipPath",{id:"clip0_1350_23850"},d.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),d.createElement("clipPath",{id:"clip1_1350_23850"},d.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),d.createElement("clipPath",{id:"clip2_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),d.createElement("clipPath",{id:"clip3_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:Rl}=ae.getLocalizedStrings(),{businessVerification:ze}=Rl,ue={iconSize:new L(F[6],F[10]),gap:new L(F[2],F[3])},Xe={title:new xe("smallSemiBold","standardSemiBold"),description:new xe("smallRegular","standardRegular")},el=()=>{const[e]=Pl("Secure"),c=Oe();return l.jsxs(Wl,{windowSize:c,children:[e!=null?l.jsx(ql,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Hl,{windowSize:c}),l.jsxs(Ul,{children:[l.jsx(Yl,{windowSize:c,children:ze.securityMessageTitle}),l.jsx(Gl,{windowSize:c,children:ze.securityMessageDescription})]})]})},Wl=t.div`
1
+ import{e as Oe,u as Re,cn as wl,R as ae,C as L,a2 as jl,j as l,bp as We,f4 as qe,bW as _e,fA as Ee,o as a,fJ as $l,cm as He,cd as ee,cf as ce,cj as Ue,l as Se,cF as vl,cD as Sl,ch as Ye,cg as Ie,fK as Ve,fL as Il,fi as Cl,fh as ke,ck as Ce,cl as Ll,f as Pe,f5 as Ge,X as xe,b6 as Ke,f3 as Qe,y as Ne,fz as Je,v as ye,p as Ol,b3 as _l,q as F,dj as El,ac as Pl,fM as Nl,n as Dl,fN as Fl,b4 as ge,ak as Vl,g as Ze,w as kl,cx as Tl,b2 as zl,b1 as Al}from"./index-DVFYvj7P.js";import{b as d,n as t}from"./vendor-rkTZJa59.js";import{C as Le}from"./LabeledAddressValueField-DBlBlkO_-fjUzU_a0.js";import{T as Bl}from"./LabeledCreatableSingleSelectField-DOjtbusw-O47c6W6Y.js";import{Y as Te}from"./LabeledDocumentField-Bxggz66t-Cwirfoo_.js";const Ml=e=>d.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),d.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("g",{clipPath:"url(#clip0_1350_23850)"},d.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip1_1350_23850)"},d.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip2_1350_23850)"},d.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip3_1350_23850)"},d.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),d.createElement("defs",null,d.createElement("clipPath",{id:"clip0_1350_23850"},d.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),d.createElement("clipPath",{id:"clip1_1350_23850"},d.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),d.createElement("clipPath",{id:"clip2_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),d.createElement("clipPath",{id:"clip3_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:Rl}=ae.getLocalizedStrings(),{businessVerification:ze}=Rl,ue={iconSize:new L(F[6],F[10]),gap:new L(F[2],F[3])},Xe={title:new xe("smallSemiBold","standardSemiBold"),description:new xe("smallRegular","standardRegular")},el=()=>{const[e]=Pl("Secure"),c=Oe();return l.jsxs(Wl,{windowSize:c,children:[e!=null?l.jsx(ql,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Hl,{windowSize:c}),l.jsxs(Ul,{children:[l.jsx(Yl,{windowSize:c,children:ze.securityMessageTitle}),l.jsx(Gl,{windowSize:c,children:ze.securityMessageDescription})]})]})},Wl=t.div`
2
2
  display: flex;
3
3
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
4
4
  gap: ${e=>ue.gap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{j as r,V as x,Z as M,W as f,R as p,o as s,a5 as w,w as g,a6 as j}from"./index-DxZ9Uw7o.js";import{b as t,n as o}from"./vendor-rkTZJa59.js";import{c as H}from"./SummaryCard-CSo1L2R4-C8XHG3oH.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./ReloadCard-HsDGbgTn-CogYt9k2.js";const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),L=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:v},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:L},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],D=o(w)`
1
+ import{j as r,V as x,Z as M,W as f,R as p,o as s,a5 as w,w as g,a6 as j}from"./index-DVFYvj7P.js";import{b as t,n as o}from"./vendor-rkTZJa59.js";import{c as H}from"./SummaryCard-Cdh_w38m-DLTVVQZ4.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./ReloadCard-Bzt6gIzi-DStfhNjw.js";const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),L=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:v},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:L},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],D=o(w)`
2
2
  margin: ${s.sp5};
3
3
  justify-content: space-between;
4
4
  `,W=o.div`
@@ -1,4 +1,4 @@
1
- import{e as P,u as Ae,a2 as ca,a as da,ca as pa,R as k,j as a,aX as ma,F as ua,cb as ha,l as V,a4 as fa,C as m,cc as xa,a3 as Ce,o as t,y as ae,cd as z,ce as ze,cf as L,cg as ya,ch as qe,ci as ga,cj as ba,ck as Ue,Y as $a,cl as wa,cm as He,cn as Ge,co as Ia,cp as ja,cq as va,f as N,cr as Sa,cs as Da,aO as Oa,a6 as Ca,ao as U,ct as Fe,q as p,w as Xe,Q as Me,cu as Fa,J as ka,cv as Ta,cw as Na,b3 as Pa,cx as La,bO as za,cy as Ma,n as Ea,b4 as _,cz as Va,v as de,b1 as Ba}from"./index-DxZ9Uw7o.js";import{b as R,n as s,f as Wa,k as Ra}from"./vendor-rkTZJa59.js";import{T as Ze}from"./LabeledCreatableSingleSelectField-DMhTj1GM-CwLykRyb.js";import{Y as Je}from"./LabeledDocumentField-DX4zVKkz-WJvH9-Ei.js";import{$ as Qe}from"./LabeledAddressValue-DKKL0jnt-Df_7m6cr.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const Ke={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},_a=Ra`
1
+ import{e as P,u as Ae,a2 as ca,a as da,ca as pa,R as k,j as a,aX as ma,F as ua,cb as ha,l as V,a4 as fa,C as m,cc as xa,a3 as Ce,o as t,y as ae,cd as z,ce as ze,cf as L,cg as ya,ch as qe,ci as ga,cj as ba,ck as Ue,Y as $a,cl as wa,cm as He,cn as Ge,co as Ia,cp as ja,cq as va,f as N,cr as Sa,cs as Da,aO as Oa,a6 as Ca,ao as U,ct as Fe,q as p,w as Xe,Q as Me,cu as Fa,J as ka,cv as Ta,cw as Na,b3 as Pa,cx as La,bO as za,cy as Ma,n as Ea,b4 as _,cz as Va,v as de,b1 as Ba}from"./index-DVFYvj7P.js";import{b as R,n as s,f as Wa,k as Ra}from"./vendor-rkTZJa59.js";import{T as Ze}from"./LabeledCreatableSingleSelectField-DOjtbusw-O47c6W6Y.js";import{Y as Je}from"./LabeledDocumentField-Bxggz66t-Cwirfoo_.js";import{$ as Qe}from"./LabeledAddressValue-DphNZz4y-BbhziMPr.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const Ke={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},_a=Ra`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -1,4 +1,4 @@
1
- import{a as v,gl as J,R as S,j as A,gm as $,_ as s,y as q,F as V,cd as _,cm as W,cj as T,l as Z,o as E,gn as z,ch as X,a4 as AA,c7 as gA,by as BA,go as eA}from"./index-DxZ9Uw7o.js";import{b as g,f as c,n as o}from"./vendor-rkTZJa59.js";import{$ as EA}from"./LabeledAddressValue-DKKL0jnt-Df_7m6cr.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const CA=B=>g.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...B},g.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),g.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("g",{style:{mixBlendMode:"darken"}},g.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),g.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),g.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("defs",null,g.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},g.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),g.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},g.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),g.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,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"}))),QA=B=>g.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...B},g.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",l=(B,n)=>`${B}.${n}`,wA=({userEmail:B,googleAPIKey:n,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:k,onResendOtp:x})=>{const[I,a]=g.useState(!1),[y,Y]=g.useState(!1),t=v({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:B,dateOfBirth:void 0,phone:"",address:void 0}}}),f=J({control:t.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{k(C,d)},R=C=>{C!=null&&C.trim().length>0&&x(C)},U=()=>{a(!0)},K=()=>{a(!1)},P=()=>{const C=t.getValues(`${m}`);if(C!=null){const d=eA(C);t.setValue(`${Q}.address`,d)}a(!1)},b=t.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:j,otpVerificationStatus:i,otpChallenge:O,phone:H}=r,N=A.jsxs(rA,{children:[A.jsx(CA,{}),A.jsxs(sA,{children:[A.jsxs(lA,{children:[A.jsx($,{children:i.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),A.jsx(s,{controller:i.fetchState==="Completed",children:A.jsx(nA,{})})]}),A.jsx(q,{children:e.completeProfile.enableTwoFADescription})]})]});return A.jsxs(oA,{children:[A.jsxs(IA,{children:[A.jsxs(tA,{children:[I&&A.jsx(iA,{onClick:K}),e.completeProfile.title]}),A.jsx(V,{...t,children:A.jsxs("form",{id:`${p}_form`,onSubmit:b,children:[A.jsx(s,{controller:w===!1,children:A.jsxs(u,{children:[A.jsx(s,{controller:I===!1,children:A.jsxs(c.Fragment,{children:[A.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:l(Q,"email")}}),A.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:l(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),A.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:l(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:Z.dateNow().subtract(18,"year")}}),A.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:f,onClick:U},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),A.jsx(s,{controller:I===!0,children:A.jsx(c.Fragment,{children:A.jsx(z,{sectionId:m,googleAPIKey:n,isSubPage:!0})})})]})}),A.jsx(u,{children:A.jsx(X,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:l(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:y,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:O,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:i.fetchState==="Completed",phoneVerificationStatus:i,getOtpStatus:j,verifiedPhoneNumber:i.fetchState==="Completed"?H:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:i.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),A.jsx(AA,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?P:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
1
+ import{a as v,gl as J,R as S,j as A,gm as $,_ as s,y as q,F as V,cd as _,cm as W,cj as T,l as Z,o as E,gn as z,ch as X,a4 as AA,c7 as gA,by as BA,go as eA}from"./index-DVFYvj7P.js";import{b as g,f as c,n as o}from"./vendor-rkTZJa59.js";import{$ as EA}from"./LabeledAddressValue-DphNZz4y-BbhziMPr.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const CA=B=>g.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...B},g.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),g.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("g",{style:{mixBlendMode:"darken"}},g.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),g.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),g.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("defs",null,g.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},g.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),g.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},g.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),g.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,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"}))),QA=B=>g.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...B},g.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",l=(B,n)=>`${B}.${n}`,wA=({userEmail:B,googleAPIKey:n,twoFactorAuthenticationView:r,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:k,onResendOtp:x})=>{const[I,a]=g.useState(!1),[y,Y]=g.useState(!1),t=v({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:B,dateOfBirth:void 0,phone:"",address:void 0}}}),f=J({control:t.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{k(C,d)},R=C=>{C!=null&&C.trim().length>0&&x(C)},U=()=>{a(!0)},K=()=>{a(!1)},P=()=>{const C=t.getValues(`${m}`);if(C!=null){const d=eA(C);t.setValue(`${Q}.address`,d)}a(!1)},b=t.handleSubmit(C=>{if(C[Q].phone!=null&&r.otpVerificationStatus.fetchState!=="Completed"||r.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=r.phone){h();return}D&&D(C)}),{sendOtpStatus:j,otpVerificationStatus:i,otpChallenge:O,phone:H}=r,N=A.jsxs(rA,{children:[A.jsx(CA,{}),A.jsxs(sA,{children:[A.jsxs(lA,{children:[A.jsx($,{children:i.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),A.jsx(s,{controller:i.fetchState==="Completed",children:A.jsx(nA,{})})]}),A.jsx(q,{children:e.completeProfile.enableTwoFADescription})]})]});return A.jsxs(oA,{children:[A.jsxs(IA,{children:[A.jsxs(tA,{children:[I&&A.jsx(iA,{onClick:K}),e.completeProfile.title]}),A.jsx(V,{...t,children:A.jsxs("form",{id:`${p}_form`,onSubmit:b,children:[A.jsx(s,{controller:w===!1,children:A.jsxs(u,{children:[A.jsx(s,{controller:I===!1,children:A.jsxs(c.Fragment,{children:[A.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:l(Q,"email")}}),A.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:l(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),A.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:l(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:Z.dateNow().subtract(18,"year")}}),A.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:f,onClick:U},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),A.jsx(s,{controller:I===!0,children:A.jsx(c.Fragment,{children:A.jsx(z,{sectionId:m,googleAPIKey:n,isSubPage:!0})})})]})}),A.jsx(u,{children:A.jsx(X,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:l(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:y,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:O,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:i.fetchState==="Completed",phoneVerificationStatus:i,getOtpStatus:j,verifiedPhoneNumber:i.fetchState==="Completed"?H:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:i.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),A.jsx(AA,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?P:void 0,isLoading:G.fetchState==="In-Progress"||r.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-height: 100vh;
@@ -1 +1 @@
1
- import{d5 as m,ac as l,j as a,ak as f,o as n}from"./index-DxZ9Uw7o.js";import{b as i}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const c="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",C=({showConfetti:t})=>{const[e,p]=i.useState(t),[o,s]=m(c),[r]=l("ConfettiSuccess");return i.useEffect(()=>{t&&p(!0)},[t]),i.useEffect(()=>{e&&o===!1&&s(!0)},[e,o,s]),a.jsx(a.Fragment,{children:e&&o&&r!=null?a.jsx(f,{style:{position:"absolute",width:"100%",height:"100vh",top:n.sp0,left:n.sp0,zIndex:5},onComplete:()=>{s(!1),p(!1)},animationData:r,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{C as default};
1
+ import{d5 as m,ac as l,j as a,ak as f,o as n}from"./index-DVFYvj7P.js";import{b as i}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const c="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",C=({showConfetti:t})=>{const[e,p]=i.useState(t),[o,s]=m(c),[r]=l("ConfettiSuccess");return i.useEffect(()=>{t&&p(!0)},[t]),i.useEffect(()=>{e&&o===!1&&s(!0)},[e,o,s]),a.jsx(a.Fragment,{children:e&&o&&r!=null?a.jsx(f,{style:{position:"absolute",width:"100%",height:"100vh",top:n.sp0,left:n.sp0,zIndex:5},onComplete:()=>{s(!1),p(!1)},animationData:r,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{C as default};
@@ -1,4 +1,4 @@
1
- import{u as Ye,e as w,R as h,J as U,cc as qe,j as t,aX as _e,W as b,m as Qe,bV as ae,bX as ie,bY as se,cA as Xe,a4 as Je,C as W,by as Ge,o,cB as Ke,bp as k,bO as le,q as f,am as de,w as ce,y as Q,aP as Ze,cx as pe,f as L,cC as me,cu as ue}from"./index-DxZ9Uw7o.js";import{b as x,n as r}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const et=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:a,bankName:s,routingNumberOrSwiftCode:d,accountName:u,routingNumberOrSwiftCodeLabel:m,onDeleteClick:v})=>{const j=w(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(H,{children:[t.jsx(Y,{children:m}),t.jsx(q,{children:d})]}),t.jsxs(H,{children:[t.jsx(Y,{children:p.achDetails.bankName}),t.jsx(q,{children:s})]}),t.jsxs(H,{children:[t.jsx(Y,{children:a}),t.jsx(q,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(Q,{children:[`${s} ${p.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(k,{title:g,placement:"top",children:t.jsx(st,{children:t.jsx(lt,{})})})]}),t.jsx(ot,{children:u??p.emptyPlaceholderString})]}),t.jsx(nt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:p.deleteAccountTooltip,placement:"top",children:t.jsx(it,{onClick:y=>{y.stopPropagation(),v()},"data-testid":b("delete-vendor-account-section",u),children:t.jsx(dt,{})})})})]})},tt=r.div`
1
+ import{u as Ye,e as w,R as h,J as U,cc as qe,j as t,aX as _e,W as b,m as Qe,bV as ae,bX as ie,bY as se,cA as Xe,a4 as Je,C as W,by as Ge,o,cB as Ke,bp as k,bO as le,q as f,am as de,w as ce,y as Q,aP as Ze,cx as pe,f as L,cC as me,cu as ue}from"./index-DVFYvj7P.js";import{b as x,n as r}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const et=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:a,bankName:s,routingNumberOrSwiftCode:d,accountName:u,routingNumberOrSwiftCodeLabel:m,onDeleteClick:v})=>{const j=w(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(H,{children:[t.jsx(Y,{children:m}),t.jsx(q,{children:d})]}),t.jsxs(H,{children:[t.jsx(Y,{children:p.achDetails.bankName}),t.jsx(q,{children:s})]}),t.jsxs(H,{children:[t.jsx(Y,{children:a}),t.jsx(q,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(Q,{children:[`${s} ${p.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(k,{title:g,placement:"top",children:t.jsx(st,{children:t.jsx(lt,{})})})]}),t.jsx(ot,{children:u??p.emptyPlaceholderString})]}),t.jsx(nt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:p.deleteAccountTooltip,placement:"top",children:t.jsx(it,{onClick:y=>{y.stopPropagation(),v()},"data-testid":b("delete-vendor-account-section",u),children:t.jsx(dt,{})})})})]})},tt=r.div`
2
2
  display: flex;
3
3
  flex-wrap: wrap;
4
4
  gap: ${o.sp1};
@@ -1,4 +1,4 @@
1
- import{j as a,e as me,b as pe,W as te,gV as Je,R as Y,a0 as Te,Q as He,m as et,a4 as Pe,o as t,C as d,a3 as je,T as tt,t as at,u as ze,bp as nt,cV as Ee,X as W,f as q,fX as Ce,v as ot,l as T,r as Me,c7 as it,a2 as be,a as rt,f2 as lt,ca as ct,F as st,cG as dt,fb as mt,cf as pt,fK as ut,q as r,by as ht,bw as Be,d1 as gt,bO as yt,y as Oe,fe as ft,f6 as Ct,a7 as bt,ff as xt,cx as St,fg as wt,fp as Dt}from"./index-DxZ9Uw7o.js";import{n as o,b as p}from"./vendor-rkTZJa59.js";import{x as $t}from"./LabeledControlledCheckBoxField-BYk2-ixd-BEj9gH8B.js";import{b as kt}from"./ChargeCardUtils-Bv0OpE88-aSHBcI_8.js";import{Y as xe}from"./CreditCardPaymentPlgSection-CTpwe7CS-BwlpGWY3.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const ae={largeLabelWidth:new d(120,120,160),navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(r[3],r[6],r[8]),containerPaddingRight:new d(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new d(r[5],r[8])},de={pageTitle:new W("h6Regular","h5Regular"),integerAmountInput:new W("h5Regular","h2Regular"),decimalAmountInput:new W("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:At}},common:{edit:vt,labels:Se,currency:we,navBar:{back:Lt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=Y.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:v,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:D})=>{const m=me(),P=ze(),j=pe().analytics,[M,L]=p.useState(!1);p.useEffect(()=>{e.error!=null?L(!0):L(!1)},[e.error]);const k=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Gt,{windowSize:m,children:a.jsx(nt,{title:Lt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Xt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},v,y,b),x(!1)}})})}),a.jsx(Qt,{windowSize:m,children:It.reviewAndConfirm}),a.jsx(Tt,{children:a.jsx(Ee,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),M?a.jsx(Ot,{children:a.jsxs(zt,{children:[a.jsxs(Nt,{children:[a.jsx(Vt,{}),a.jsxs(Et,{children:[a.jsx(Mt,{children:e.error?.title}),a.jsx(Bt,{children:e.error?.message})]})]}),a.jsx(Ut,{children:a.jsx(Wt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{L(!1)},style:{width:t.sp3,height:t.sp3,color:q.heroLight}})})]})}):null,a.jsx(qt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:k},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Yt,{}),a.jsx(Ce,{label:{label:Se.amount,width:k},showAdditionalInfoLabel:!0,additionalInfoLabel:`${D?ee.creditLimitReset:ee.creditLimitUpdate} ${T.zeniDate(T.getNextNthWorkingDay(T.dateNow().toDate(),[0,6],3).toDateString()).format(At)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:P.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Te("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:vt,onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},v,y,b),x(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Ht,{isOptionSelected:h,children:a.jsx(ea,{color:ft(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(Kt,{src:Rt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Zt,{isOptionSelected:h,children:a.jsx(Jt,{})})}return null},Rt=e=>e.base64!==void 0?`${Ct}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Tt=o(Be)`
1
+ import{j as a,e as me,b as pe,W as te,gV as Je,R as Y,a0 as Te,Q as He,m as et,a4 as Pe,o as t,C as d,a3 as je,T as tt,t as at,u as ze,bp as nt,cV as Ee,X as W,f as q,fX as Ce,v as ot,l as T,r as Me,c7 as it,a2 as be,a as rt,f2 as lt,ca as ct,F as st,cG as dt,fb as mt,cf as pt,fK as ut,q as r,by as ht,bw as Be,d1 as gt,bO as yt,y as Oe,fe as ft,f6 as Ct,a7 as bt,ff as xt,cx as St,fg as wt,fp as Dt}from"./index-DVFYvj7P.js";import{n as o,b as p}from"./vendor-rkTZJa59.js";import{x as $t}from"./LabeledControlledCheckBoxField-CBRqbUDe-zjklDavb.js";import{b as kt}from"./ChargeCardUtils-BEBqV4Ri-D_Hnspw1.js";import{Y as xe}from"./CreditCardPaymentPlgSection-D-Ptzdeo-DV96PY8N.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const ae={largeLabelWidth:new d(120,120,160),navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(r[3],r[6],r[8]),containerPaddingRight:new d(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new d(r[5],r[8])},de={pageTitle:new W("h6Regular","h5Regular"),integerAmountInput:new W("h5Regular","h2Regular"),decimalAmountInput:new W("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:At}},common:{edit:vt,labels:Se,currency:we,navBar:{back:Lt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=Y.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:v,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:D})=>{const m=me(),P=ze(),j=pe().analytics,[M,L]=p.useState(!1);p.useEffect(()=>{e.error!=null?L(!0):L(!1)},[e.error]);const k=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Gt,{windowSize:m,children:a.jsx(nt,{title:Lt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Xt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},v,y,b),x(!1)}})})}),a.jsx(Qt,{windowSize:m,children:It.reviewAndConfirm}),a.jsx(Tt,{children:a.jsx(Ee,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),M?a.jsx(Ot,{children:a.jsxs(zt,{children:[a.jsxs(Nt,{children:[a.jsx(Vt,{}),a.jsxs(Et,{children:[a.jsx(Mt,{children:e.error?.title}),a.jsx(Bt,{children:e.error?.message})]})]}),a.jsx(Ut,{children:a.jsx(Wt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{L(!1)},style:{width:t.sp3,height:t.sp3,color:q.heroLight}})})]})}):null,a.jsx(qt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:k},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Yt,{}),a.jsx(Ce,{label:{label:Se.amount,width:k},showAdditionalInfoLabel:!0,additionalInfoLabel:`${D?ee.creditLimitReset:ee.creditLimitUpdate} ${T.zeniDate(T.getNextNthWorkingDay(T.dateNow().toDate(),[0,6],3).toDateString()).format(At)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:P.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Te("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:vt,onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},v,y,b),x(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Ht,{isOptionSelected:h,children:a.jsx(ea,{color:ft(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(Kt,{src:Rt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Zt,{isOptionSelected:h,children:a.jsx(Jt,{})})}return null},Rt=e=>e.base64!==void 0?`${Ct}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Tt=o(Be)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  padding-top: ${t.sp3};
4
4
  `,Pt=o.div`
@@ -1,4 +1,4 @@
1
- import{e as j,u as M,R as L,ab as T,a1 as W,j as i,W as b,Q as H,bv as R,o as l,f as n,C as a,aS as U,bO as G,az as B,w as _,q as o}from"./index-DxZ9Uw7o.js";import{n as t}from"./vendor-rkTZJa59.js";const r={iconContainerMaxWidthHeight:new a(o[6],o[7]),iconContainerMarginRight:new a(o[3],o[3]),iconWidthHeight:new a(20,o[4]),iconPadding:new a(10,12),containerPaddingTopBottom:new a(o[4],o[4]),containerPaddingLeftRight:new a(o[3],o[4]),buttonLeftMargin:new a(o[8],o[0]),buttonTopMargin:new a(o[4],o[2]),bulletContainerGap:new a(12,o[3])};function Y({heading:e,buttonText:c,analytics:g,maxInsuredAmount:m,pageName:p,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:f}){const s=j(),$=M(),{common:v,commonSetUp:C}=L.getLocalizedStrings(),d=C.setUp.accountsPlg,P=()=>{switch(c){case d.signUpButtonText:g?.trackPlgPromoClicked(p,"Sign Up for Free"),S?.();break;case d.switchButtonText:g?.trackPlgPromoClicked(p,"Switch Now"),y?.();break;default:g?.trackPlgPromoClicked(p,"Move Money"),f?.()}},z=T(W(m),m,v.currency.currencySymbol).toUpperCase();return i.jsxs(E,{windowSize:s,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(D,{children:[i.jsx(A,{windowSize:s,isDarkMode:$.mode==="dark",children:i.jsx(Q,{windowSize:s,children:i.jsx(q,{})})}),i.jsx(F,{children:i.jsxs(N,{children:[i.jsx(J,{windowSize:s,children:e}),i.jsxs(I,{windowSize:s,children:[i.jsxs(h,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.two.replace("__amount__",z)})]}),i.jsxs(h,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.three})]}),i.jsxs(h,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.four})]})]})]})})]}),i.jsx(O,{windowSize:s,children:i.jsx(H,{label:c,"data-testid":b("accounts-plg-button",c),onClick:k=>{k.stopPropagation(),P()},buttonColors:{borderColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},backgroundColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},textColor:{default:n.neutralGrey5Light,hover:n.neutralGrey5Light,disabled:n.neutralGrey5Light}},size:"small",style:{padding:`6px ${l.sp3}`,borderRadius:"6px"},textStyle:{fontWeight:R.regular}})})]})}const D=t.div`
1
+ import{e as j,u as M,R as L,ab as T,a1 as W,j as i,W as b,Q as H,bv as R,o as l,f as n,C as a,aS as U,bO as G,az as B,w as _,q as o}from"./index-DVFYvj7P.js";import{n as t}from"./vendor-rkTZJa59.js";const r={iconContainerMaxWidthHeight:new a(o[6],o[7]),iconContainerMarginRight:new a(o[3],o[3]),iconWidthHeight:new a(20,o[4]),iconPadding:new a(10,12),containerPaddingTopBottom:new a(o[4],o[4]),containerPaddingLeftRight:new a(o[3],o[4]),buttonLeftMargin:new a(o[8],o[0]),buttonTopMargin:new a(o[4],o[2]),bulletContainerGap:new a(12,o[3])};function Y({heading:e,buttonText:c,analytics:g,maxInsuredAmount:m,pageName:p,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:f}){const s=j(),$=M(),{common:v,commonSetUp:C}=L.getLocalizedStrings(),d=C.setUp.accountsPlg,P=()=>{switch(c){case d.signUpButtonText:g?.trackPlgPromoClicked(p,"Sign Up for Free"),S?.();break;case d.switchButtonText:g?.trackPlgPromoClicked(p,"Switch Now"),y?.();break;default:g?.trackPlgPromoClicked(p,"Move Money"),f?.()}},z=T(W(m),m,v.currency.currencySymbol).toUpperCase();return i.jsxs(E,{windowSize:s,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(D,{children:[i.jsx(A,{windowSize:s,isDarkMode:$.mode==="dark",children:i.jsx(Q,{windowSize:s,children:i.jsx(q,{})})}),i.jsx(F,{children:i.jsxs(N,{children:[i.jsx(J,{windowSize:s,children:e}),i.jsxs(I,{windowSize:s,children:[i.jsxs(h,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.two.replace("__amount__",z)})]}),i.jsxs(h,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.three})]}),i.jsxs(h,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.four})]})]})]})})]}),i.jsx(O,{windowSize:s,children:i.jsx(H,{label:c,"data-testid":b("accounts-plg-button",c),onClick:k=>{k.stopPropagation(),P()},buttonColors:{borderColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},backgroundColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},textColor:{default:n.neutralGrey5Light,hover:n.neutralGrey5Light,disabled:n.neutralGrey5Light}},size:"small",style:{padding:`6px ${l.sp3}`,borderRadius:"6px"},textStyle:{fontWeight:R.regular}})})]})}const D=t.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  `,J=t(G)`
@@ -1,4 +1,4 @@
1
- import{cn as M,u as N,cv as P,R as H,j as l,cw as L,W as x,b3 as _,o,dj as z,b_ as B,b4 as g,y as Z,v as S,eZ as Q,e_ as T,e$ as U,w as W,b1 as X,a3 as Y,f as m}from"./index-DxZ9Uw7o.js";import{b as w,n}from"./vendor-rkTZJa59.js";const fe=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[O,C]=w.useState(!1),k=P(f,e??""),I=H.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??I.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(L,{name:e,control:y,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return w.createElement(_,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:O===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:q,Option:A,Input:K,SingleValue:ee,ValueContainer:J,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:G},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},q=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},A=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},G=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(B,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:t[y]})})},J=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),K=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(j,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(j,{children:r.label})})},j=n(Z)`
1
+ import{cn as M,u as N,cv as P,R as H,j as l,cw as L,W as x,b3 as _,o,dj as z,b_ as B,b4 as g,y as Z,v as S,eZ as Q,e_ as T,e$ as U,w as W,b1 as X,a3 as Y,f as m}from"./index-DVFYvj7P.js";import{b as w,n}from"./vendor-rkTZJa59.js";const fe=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[O,C]=w.useState(!1),k=P(f,e??""),I=H.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??I.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(L,{name:e,control:y,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return w.createElement(_,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:O===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:q,Option:A,Input:K,SingleValue:ee,ValueContainer:J,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:G},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},q=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},A=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},G=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(B,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:t[y]})})},J=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),K=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(j,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(j,{children:r.label})})},j=n(Z)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&Q(e)===!1)return l.jsx(l.Fragment,{});{const r=T[`${U(e??"")}`];return l.jsx(ie,{children:l.jsx(r,{width:o.sp4,height:o.sp3})})}},te=n.span`
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{j as t,e as b,R as d,a2 as l,W as p,m as x,o as i,M as g,c7 as h,T as m}from"./index-DxZ9Uw7o.js";import{b as u,n as o}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const f=o.div`
1
+ import{j as t,e as b,R as d,a2 as l,W as p,m as x,o as i,M as g,c7 as h,T as m}from"./index-DVFYvj7P.js";import{b as u,n as o}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";const f=o.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -0,0 +1 @@
1
+ import{j as r}from"./index-DVFYvj7P.js";import o from"./CustomerOnboardingNoStepsPage-Czttv30c-DMfPS84t.js";import i from"./CustomerOnboardingPage-CNXBzMG5-DJK4W9F2.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./HelpButton-DXDj1Qju-DnQQURkZ.js";import"./MeetingCalenderPopup-DJHrBVXi-BogUsqxG.js";import"./PaymentAccountSetupBillingAddressSection-CJk4EUwr-D0h0XeO4.js";import"./SetUpAccountSection-DPEjJt-s-DbxecFrv.js";import"./SetUpDefaultSection-Br-a1ECs-Cis1Rx0T.js";import"./ChaseOverlay-CauClKmi-CFbGjU4W.js";import"./CustomerOnboardingDetailPageSkeleton-DzG4nVbk-Dl9zYjyQ.js";import"./CompanyOfficerDetailsSection-BEb3_zYO-DcsmBnYA.js";import"./LabeledAddressValueField-DBlBlkO_-fjUzU_a0.js";import"./LabeledCreatableSingleSelectField-DOjtbusw-O47c6W6Y.js";import"./LabeledDocumentField-Bxggz66t-Cwirfoo_.js";import"./QBOSetupSection-B_V2Y6DW-SjwVzAFH.js";import"./QBOConnectionDialog-DWZd5o0q-uzGQQJYB.js";const v=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?r.jsx(o,{...t}):r.jsx(i,{...t});export{v as default};
@@ -1,4 +1,4 @@
1
- import{j as s,W as y,aJ as E,u as f,e as R,bh as x,o as t,q as T,C as $,M as I,R as N,f as u,eW as P,ha as U,f5 as W,aD as L,n as O,hb as J}from"./index-DxZ9Uw7o.js";import{n as r,f as S}from"./vendor-rkTZJa59.js";const M=r(J)`
1
+ import{j as s,W as y,aJ as E,u as f,e as R,bh as x,o as t,q as T,C as $,M as I,R as N,f as u,eW as P,ha as U,f5 as W,aD as L,n as O,hb as J}from"./index-DVFYvj7P.js";import{n as r,f as S}from"./vendor-rkTZJa59.js";const M=r(J)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,q=r.div`
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{b as ie,j as o,e as Ce,u as Pe,a as we,h8 as be,R as xe,a2 as ke,ca as Ie,aX as Ae,o as s,W as $e,F as ve,a4 as Oe,aJ as je,cD as Ve,cE as oe,M as Te,C as J,y as Ee,q as A}from"./index-DxZ9Uw7o.js";import{n as c,b as $}from"./vendor-rkTZJa59.js";import{D as Le}from"./HelpButton-DoSu6q8h-D2QNiRS_.js";import{s as Ue,o as ze}from"./PaymentAccountSetupBillingAddressSection-B3m8zs_b-BX8-54k0.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-BEldzNUC-DgSmlNNg.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./MeetingCalenderPopup-D10SioCO-1_HeRLgo.js";import"./SetUpAccountSection-DDxjcjeg-Nsmn_Kay.js";import"./SetUpDefaultSection-BSWh5Hvi-BOsknp6D.js";import"./ChaseOverlay-4Rv__bdV-BGiRorBN.js";const q="onboardingPaymentAccountSetupSection",se="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},Fe=e=>`${e}_form`,_e=xe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:O,googleAPIKey:j,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:E,handleConfirmCardSetupIntent:L,updateCardPaymentModalState:w,handleAddCardPaymentSource:U,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:F,..._})=>{const u=Ce(),D=ie(),{analytics:h}=D,{onFetchLinkTokenClick:M,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:G,handleLogOutClick:W,onZeniLogoClick:N,onAddressEditHandler:x}=_,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=_e,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const i=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=Ve(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},i.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&i.selectedOption!=null?d={...d,countryCode:oe(i.selectedOption)}:i.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(i.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:i})=>{i!=null&&a!=null&&Ie(()=>ge(i,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??g.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,i=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&i||!i&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),i=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!i&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),T("link_payment_account"),F(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=$.useState(!1);return o.jsxs(Me,{children:[o.jsxs(Ke,{windowSize:u,children:[o.jsx(Ae,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:s.sp0,paddingBottom:s.sp0},leftSideComponent:o.jsx(Ne,{children:o.jsx(Ze,{"data-testid":$e("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:N})})}),o.jsx(ve,{...r,children:o.jsx(Ge,{id:Fe(se),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:M,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:G,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:z,cardSetupInProgress:ae,googleAPIKey:j,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${se}`,leftSideComponent:o.jsx(We,{windowSize:u,children:o.jsx(je,{signedInUser:P,currentTenant:V,onLogOutClick:W})}),style:{width:u==="small"?"auto":"100%",padding:s.sp0,rowGap:s.sp1},helperContainerStyle:{width:"100%",rowGap:s.sp1,marginTop:"12px",marginBottom:s.sp2},primaryBtn:{onClick:Se,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:s.sp0,rowGap:s.sp0,textAlign:"center"}})]}),o.jsx(ze,{handleConfirmCardSetupIntent:L,updateCardPaymentModalState:w,handleCreateCardSetupIntent:E,handleAddCardPaymentSource:U,cardPaymentView:y,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},Me=c.div`
1
+ import{b as ie,j as o,e as Ce,u as Pe,a as we,h8 as be,R as xe,a2 as ke,ca as Ie,aX as Ae,o as s,W as $e,F as ve,a4 as Oe,aJ as je,cD as Ve,cE as oe,M as Te,C as J,y as Ee,q as A}from"./index-DVFYvj7P.js";import{n as c,b as $}from"./vendor-rkTZJa59.js";import{D as Le}from"./HelpButton-DXDj1Qju-DnQQURkZ.js";import{s as Ue,o as ze}from"./PaymentAccountSetupBillingAddressSection-CJk4EUwr-D0h0XeO4.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-DzG4nVbk-Dl9zYjyQ.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./MeetingCalenderPopup-DJHrBVXi-BogUsqxG.js";import"./SetUpAccountSection-DPEjJt-s-DbxecFrv.js";import"./SetUpDefaultSection-Br-a1ECs-Cis1Rx0T.js";import"./ChaseOverlay-CauClKmi-CFbGjU4W.js";const q="onboardingPaymentAccountSetupSection",se="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},Fe=e=>`${e}_form`,_e=xe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:O,googleAPIKey:j,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:E,handleConfirmCardSetupIntent:L,updateCardPaymentModalState:w,handleAddCardPaymentSource:U,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:F,..._})=>{const u=Ce(),D=ie(),{analytics:h}=D,{onFetchLinkTokenClick:M,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:G,handleLogOutClick:W,onZeniLogoClick:N,onAddressEditHandler:x}=_,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=_e,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const i=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=Ve(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},i.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&i.selectedOption!=null?d={...d,countryCode:oe(i.selectedOption)}:i.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(i.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:i})=>{i!=null&&a!=null&&Ie(()=>ge(i,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??g.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,i=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&i||!i&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),i=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!i&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),T("link_payment_account"),F(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=$.useState(!1);return o.jsxs(Me,{children:[o.jsxs(Ke,{windowSize:u,children:[o.jsx(Ae,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:s.sp0,paddingBottom:s.sp0},leftSideComponent:o.jsx(Ne,{children:o.jsx(Ze,{"data-testid":$e("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:N})})}),o.jsx(ve,{...r,children:o.jsx(Ge,{id:Fe(se),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:M,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:G,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:z,cardSetupInProgress:ae,googleAPIKey:j,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${se}`,leftSideComponent:o.jsx(We,{windowSize:u,children:o.jsx(je,{signedInUser:P,currentTenant:V,onLogOutClick:W})}),style:{width:u==="small"?"auto":"100%",padding:s.sp0,rowGap:s.sp1},helperContainerStyle:{width:"100%",rowGap:s.sp1,marginTop:"12px",marginBottom:s.sp2},primaryBtn:{onClick:Se,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:s.sp0,rowGap:s.sp0,textAlign:"center"}})]}),o.jsx(ze,{handleConfirmCardSetupIntent:L,updateCardPaymentModalState:w,handleCreateCardSetupIntent:E,handleAddCardPaymentSource:U,cardPaymentView:y,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},Me=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{j as r,e as Ke,u as Zt,a as en,ca as me,R as We,a2 as Qe,I as mt,J as He,l as M,aX as tn,o as re,F as nn,q as K,a4 as an,h8 as on,fJ as sn,fh as ft,cD as xt,cE as yt,C as fe,fM as ye,cn as rn,y as cn,h9 as gt,c as ht,cl as ln,fL as dn}from"./index-DxZ9Uw7o.js";import{b as p,n as P,k as It}from"./vendor-rkTZJa59.js";import{D as pn}from"./HelpButton-DoSu6q8h-D2QNiRS_.js";import{s as St,o as un}from"./PaymentAccountSetupBillingAddressSection-B3m8zs_b-BX8-54k0.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-BEldzNUC-DgSmlNNg.js";import{s as fn,x as yn}from"./CompanyOfficerDetailsSection-aAwv9WfC-CXS756Yr.js";import{o as gn}from"./QBOSetupSection-C1hBKDG3-DuCsXQ2D.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./MeetingCalenderPopup-D10SioCO-1_HeRLgo.js";import"./SetUpAccountSection-DDxjcjeg-Nsmn_Kay.js";import"./SetUpDefaultSection-BSWh5Hvi-BOsknp6D.js";import"./ChaseOverlay-4Rv__bdV-BGiRorBN.js";import"./LabeledAddressValueField-Ca10mEAm-BYXlyxvu.js";import"./LabeledCreatableSingleSelectField-DMhTj1GM-CwLykRyb.js";import"./LabeledDocumentField-DX4zVKkz-WJvH9-Ei.js";import"./QBOConnectionDialog-Dp_Zkpup-Bj92J1hC.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:A,verifiedPhoneNumber:x,onPhoneVerified:y,...I})=>{const m=Ke(),V=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:D}=l,F=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:V??[],allNationalityCountries:c,sectionHeader:D,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:F,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:A,...I})})},Sn=P.div`
1
+ import{j as r,e as Ke,u as Zt,a as en,ca as me,R as We,a2 as Qe,I as mt,J as He,l as M,aX as tn,o as re,F as nn,q as K,a4 as an,h8 as on,fJ as sn,fh as ft,cD as xt,cE as yt,C as fe,fM as ye,cn as rn,y as cn,h9 as gt,c as ht,cl as ln,fL as dn}from"./index-DVFYvj7P.js";import{b as p,n as P,k as It}from"./vendor-rkTZJa59.js";import{D as pn}from"./HelpButton-DXDj1Qju-DnQQURkZ.js";import{s as St,o as un}from"./PaymentAccountSetupBillingAddressSection-CJk4EUwr-D0h0XeO4.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-DzG4nVbk-Dl9zYjyQ.js";import{s as fn,x as yn}from"./CompanyOfficerDetailsSection-BEb3_zYO-DcsmBnYA.js";import{o as gn}from"./QBOSetupSection-B_V2Y6DW-SjwVzAFH.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./MeetingCalenderPopup-DJHrBVXi-BogUsqxG.js";import"./SetUpAccountSection-DPEjJt-s-DbxecFrv.js";import"./SetUpDefaultSection-Br-a1ECs-Cis1Rx0T.js";import"./ChaseOverlay-CauClKmi-CFbGjU4W.js";import"./LabeledAddressValueField-DBlBlkO_-fjUzU_a0.js";import"./LabeledCreatableSingleSelectField-DOjtbusw-O47c6W6Y.js";import"./LabeledDocumentField-Bxggz66t-Cwirfoo_.js";import"./QBOConnectionDialog-DWZd5o0q-uzGQQJYB.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:A,verifiedPhoneNumber:x,onPhoneVerified:y,...I})=>{const m=Ke(),V=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:D}=l,F=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:V??[],allNationalityCountries:c,sectionHeader:D,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:F,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:A,...I})})},Sn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{e as M,b as U,Y as W,u as D,R as _,j as e,aX as A,o as t,W as y,aJ as R,l as H,y as I,M as V,f as l,v as k,h as J,T as N,c7 as Y,r as Z,af as q}from"./index-DxZ9Uw7o.js";import{b as n,n as i}from"./vendor-rkTZJa59.js";import Q from"./ConfettiBurst-BPWFB4Ty-CXWnM85o.js";import{D as X}from"./HelpButton-DoSu6q8h-D2QNiRS_.js";import{_ as G}from"./ProductsCarousel-RHO5BWU--CKeK3hr3.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./MeetingCalenderPopup-D10SioCO-1_HeRLgo.js";const K=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=_.getLocalizedStrings(),We=({hasVerifiedBankAccount:o,meetingUrl:b,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=M(),x=U().analytics,f=W(),L=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=S,O=D(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=F;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,H.getProductSettingsString(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(A,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":y("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":y("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(ke,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(be,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:p(a)[0]})]}),e.jsx(C,{children:p(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(G,{scale:1,showUpdatePaymentDetailButton:u,stopCarousel:w})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(R,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(X,{isFooterRendered:!1,meetingUrl:b,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=i.div`
1
+ import{e as M,b as U,Y as W,u as D,R as _,j as e,aX as A,o as t,W as y,aJ as R,l as H,y as I,M as V,f as l,v as k,h as J,T as N,c7 as Y,r as Z,af as q}from"./index-DVFYvj7P.js";import{b as n,n as i}from"./vendor-rkTZJa59.js";import Q from"./ConfettiBurst-DZLI1m4w-CVaN18FA.js";import{D as X}from"./HelpButton-DXDj1Qju-DnQQURkZ.js";import{_ as G}from"./ProductsCarousel-DqvLLayZ-DeMZpSQB.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./MeetingCalenderPopup-DJHrBVXi-BogUsqxG.js";const K=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=_.getLocalizedStrings(),We=({hasVerifiedBankAccount:o,meetingUrl:b,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=M(),x=U().analytics,f=W(),L=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=S,O=D(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=F;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,H.getProductSettingsString(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(A,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":y("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":y("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(ke,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(be,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:p(a)[0]})]}),e.jsx(C,{children:p(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(G,{scale:1,showUpdatePaymentDetailButton:u,stopCarousel:w})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(R,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(X,{isFooterRendered:!1,meetingUrl:b,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{Y as YA,l as uA,j as e,B as kt,D as Dt,E as yt,o as r,$ as jt,I as mA,J as Mt,K as _A,L as vt,N as bt,O as Rt,P as St,S as Lt,U as Ft,V as J,R as l,e as q,Z as H,W as f,a0 as U,a1 as Y,q as R,a as Jt,a2 as je,a3 as Pt,F as Ut,a4 as Ot,C as K,a5 as T,a6 as G,n as X,a7 as Me,a8 as S,a9 as F,aa as KA,u as AA,ab as Ht,ac as GA,ad as Tt,f as k,ae as Yt,af as Kt,w as P,ag as bA,r as NA,y as zA,ah as ve,ai as be,aj as Re,ak as WA,X as Gt,g as Nt,al as zt,am as Se,an as Wt,ao as qt,ap as RA,aq as Xt,ar as Vt,as as Zt,at as $t,au as _t,av as Ar,aw as er,ax as tr,m as Le,v as rr,ay as or,az as gr,aA as Fe,aB as Je,s as ar,aC as Cr,h as ir,aD as Pe}from"./index-DxZ9Uw7o.js";import{b as a,n as C,f as D,k as L,j as pA}from"./vendor-rkTZJa59.js";import{j as nr}from"./DashboardSidebarBackgroundAnimation-BZPfkv0W-C9IxzdCW.js";import{L as Er,k as Br}from"./ArAgingChart-CtxyhI9X-B5YCVZL2.js";import{E as sr,T as qA,I as Ue}from"./ReloadCard-HsDGbgTn-CogYt9k2.js";import{L as Qr,O as wA,c as eA}from"./TopExCard-D_LHVo5q-CiYt7BMD.js";import{H as Ir,Y as dr,P as lr,G as cr,N as hr}from"./RevenueChart-BzYEiXeP-CqwHafPG.js";import mr from"./InsightsCardStack-BEceNZZE-DZzBavNp.js";import{a as pr}from"./AccountsPromoCardStack-MQ_e8aZu-B-b5q7Pi.js";import{c as N}from"./SummaryCard-CSo1L2R4-C8XHG3oH.js";import{t as ur,o as wr}from"./arrow-south-east-round-PEovUgvH-D6oVD1ix.js";import{x as iA}from"./NavigationArrow-DvGjNVsn-t1BRpFFN.js";import{k as XA}from"./NavigationDots-BZNvrGBo-Lo2Iyk3a.js";import xr from"./CompanyPassportCard-DchSKG4l-DSlNuaik.js";import{C as fr}from"./gift-box-Cmt9OgIZ-BqWjP_Ex.js";import kr from"./InformationCardStack-JtvRODJe-BckRaEiX.js";import{p as Oe}from"./chartTypes-C2jC2nzT-Dd9Dm_ev.js";import{h as Dr}from"./toCOABalancesWithID-BdeWiors-CAMQCzY4.js";import{V as yr}from"./toChartData-BCFss2y_-Y9xIvEBL.js";import{r as jr,i as Mr}from"./graphic-no-data-net-burn-l-CzmycA0m-DANomItj.js";import{N as vr,J as br}from"./PromoBaseCards-Bm6GGzhn-NcCsm_GX.js";import Rr from"./ConfettiBurst-BPWFB4Ty-CXWnM85o.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const Sr=C(G)`
1
+ import{Y as YA,l as uA,j as e,B as kt,D as Dt,E as yt,o as r,$ as jt,I as mA,J as Mt,K as _A,L as vt,N as bt,O as Rt,P as St,S as Lt,U as Ft,V as J,R as l,e as q,Z as H,W as f,a0 as U,a1 as Y,q as R,a as Jt,a2 as je,a3 as Pt,F as Ut,a4 as Ot,C as K,a5 as T,a6 as G,n as X,a7 as Me,a8 as S,a9 as F,aa as KA,u as AA,ab as Ht,ac as GA,ad as Tt,f as k,ae as Yt,af as Kt,w as P,ag as bA,r as NA,y as zA,ah as ve,ai as be,aj as Re,ak as WA,X as Gt,g as Nt,al as zt,am as Se,an as Wt,ao as qt,ap as RA,aq as Xt,ar as Vt,as as Zt,at as $t,au as _t,av as Ar,aw as er,ax as tr,m as Le,v as rr,ay as or,az as gr,aA as Fe,aB as Je,s as ar,aC as Cr,h as ir,aD as Pe}from"./index-DVFYvj7P.js";import{b as a,n as C,f as D,k as L,j as pA}from"./vendor-rkTZJa59.js";import{j as nr}from"./DashboardSidebarBackgroundAnimation-CAa8yETt-jTqz5gzA.js";import{L as Er,k as Br}from"./ArAgingChart-CsuanjH1-DSoDp9i5.js";import{E as sr,T as qA,I as Ue}from"./ReloadCard-Bzt6gIzi-DStfhNjw.js";import{L as Qr,O as wA,c as eA}from"./TopExCard-CH7QX8Xe-DZTLNcIB.js";import{H as Ir,Y as dr,P as lr,G as cr,N as hr}from"./RevenueChart-MkoD0EoE-Da8rUny4.js";import mr from"./InsightsCardStack-C-52awo8-BlPifdQR.js";import{a as pr}from"./AccountsPromoCardStack-BY9-YdTi-oCbxhKHP.js";import{c as N}from"./SummaryCard-Cdh_w38m-DLTVVQZ4.js";import{t as ur,o as wr}from"./arrow-south-east-round-PEovUgvH-D6oVD1ix.js";import{x as iA}from"./NavigationArrow-DSMn_azz-zpYBMo3g.js";import{k as XA}from"./NavigationDots-BiiEFlFj-zDNVZc4v.js";import xr from"./CompanyPassportCard-FhjZyorS-BMpg0d2K.js";import{C as fr}from"./gift-box-Cmt9OgIZ-BqWjP_Ex.js";import kr from"./InformationCardStack-CauWOEJQ-QIe84Z5T.js";import{p as Oe}from"./chartTypes-BFc-FQm9-BY56epjm.js";import{h as Dr}from"./toCOABalancesWithID-CL2W-2Ks-CpVda8Yv.js";import{V as yr}from"./toChartData-CD4rOlNx-BE4t5CeX.js";import{r as jr,i as Mr}from"./graphic-no-data-net-burn-l-CzmycA0m-DANomItj.js";import{N as vr,J as br}from"./PromoBaseCards-Bq-mwvkh-DjLYfAja.js";import Rr from"./ConfettiBurst-DZLI1m4w-CVaN18FA.js";import"./mui-C42whWwM.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const Sr=C(G)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,Ae=C.div`
4
4
  display: flex;