@zeniai/web-cockpit-ui 1.13.86-prod → 1.13.87-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 (253) hide show
  1. package/dist/assets/{ACHDetailsPage-DGGeHZnW-B0w75Qqa.js → ACHDetailsPage-CW8vDdF5-BjcStneE.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-BnFh61HC-oYjMDFhp.js → AIPerformancePage-tSqRY12b-CS74oHek.js} +29 -29
  3. package/dist/assets/AccountInfoPage-C9rcnhgb-CRWEZYsW.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-C4VpFgc_-PZ9I-m68.js → AccountInfoPageContent-DftJxUep-Cw9zyQ_s.js} +20 -20
  5. package/dist/assets/{AccountReconDetailsDrawerPage-DJmFBJve-CKMiqNaf.js → AccountReconDetailsDrawerPage-CBpvkm_m-BXrukYLg.js} +16 -16
  6. package/dist/assets/AccountRow-cQU8OX0K-yHyqR7LP.js +298 -0
  7. package/dist/assets/{AccountsPromoCardStack-D5elLwcD-DUhWydOV.js → AccountsPromoCardStack-DuBj_EHe-B3WzwbTq.js} +23 -23
  8. package/dist/assets/{AddAddressForCardDrawer-D9uW1sU2-Bc-Z7xPG.js → AddAddressForCardDrawer-D4edy26A-B1-8tiAZ.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-D3yOWwc3-DhHNF9uo.js → AddToWalletPage-Lkfz2CzH--lPqUVOg.js} +35 -35
  10. package/dist/assets/{AgingReportsPage-DlB02nzb-D-Sm1I5S.js → AgingReportsPage-DtW2tU4n-DVEUTxX1.js} +4 -4
  11. package/dist/assets/{AllUserItems-Bwbb5_fm-ynRHF0MF.js → AllUserItems-DcuO9Oho-D7VaO8Uf.js} +7 -7
  12. package/dist/assets/{ApAgingDetailPage-Bhf_ygxm-Ct0RZobi.js → ApAgingDetailPage-D2UVTYqP-9KAbUMxy.js} +3 -3
  13. package/dist/assets/{AppBasePage-DyGLpjZ0-DaARhwk6.js → AppBasePage-iuomCofd-D1M4Ldw8.js} +4 -4
  14. package/dist/assets/{AppDrawerContent-D_dlUPFp-KwJJQrM6.js → AppDrawerContent-BfpdXsfY-BoqfQVbX.js} +8 -8
  15. package/dist/assets/{ApprovalRulesSettingsPage-DLvGE0ND-BRmcznJ6.js → ApprovalRulesSettingsPage-BKAWfUl9-BUmVoC9W.js} +6 -6
  16. package/dist/assets/{ArAgingChart-CR7dx7XY-CKZgeOzb.js → ArAgingChart--GzyqIlN-wEZY3asj.js} +5 -5
  17. package/dist/assets/{ArAgingDetailPage-kU_SEimL-BvGZHW4B.js → ArAgingDetailPage-A0zmG_tR--cuXu7ko.js} +2 -2
  18. package/dist/assets/{AttachmentView-ClQPirg--DEqMxi0K.js → AttachmentView-D203zhS3-Blc80O1o.js} +8 -8
  19. package/dist/assets/{BankAccountSection-DLB1oftk-DWVfhPoh.js → BankAccountSection-iz2k4H5K-CWZXnWVk.js} +4 -4
  20. package/dist/assets/{BankAccountWarningSection-ClrNHLqo-BkJ1BVkf.js → BankAccountWarningSection-CSJXyjMA-BgaGb4P-.js} +5 -5
  21. package/dist/assets/{BankConnectionsSettingsPage-D1w10U35-YZIDDT6F.js → BankConnectionsSettingsPage-Co5pwxWT-C5lfXSpY.js} +15 -15
  22. package/dist/assets/{BillDetailPage-Bfrn4oa6-DQMbSBkL.js → BillDetailPage-BJbdAC5y-CMbCAQ4h.js} +5 -5
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-DIzv3Xu9-B9yjottn.js → BillPayApprovalRuleDetailPage-D4-goF6x-C23aUqzX.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRulesPage-CPBknTMQ-CVKAq3ly.js → BillPayApprovalRulesPage-CpAFdET_-DdMQ64US.js} +3 -3
  25. package/dist/assets/{BillPayPromoPage-CKETeVet-DdUaRi_i.js → BillPayPromoPage-DZn9Wdsi-COOh5nks.js} +2 -2
  26. package/dist/assets/{BillPaySetUpPage-DIz-RZih-BreWbM81.js → BillPaySetUpPage-BGxI3SGy--373OJdf.js} +2 -2
  27. package/dist/assets/BillingSettingsPage-B3h6dTYD-CiH5BD6s.js +44 -0
  28. package/dist/assets/BillsBulkReviewDrawerPage-Ck830aIk-BaNyoEgy.js +1 -0
  29. package/dist/assets/{BoxItem-B8KF3Skh-JYmAPE_J.js → BoxItem-C-RN4c2j-F6XwRGQ-.js} +1 -1
  30. package/dist/assets/BusinessVerificationPage-BEK8kZil-Di05q2Gg.js +140 -0
  31. package/dist/assets/{CardNumberSubText-CNiPWVeO-LUxFhNyr.js → CardNumberSubText-Bvs0Rr9x-DPY11oi8.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-BNWBGKHa-CgYtx0i2.js → CashbackDetailPage-9aAW-23b-6kdPvDSO.js} +24 -24
  33. package/dist/assets/{ChargeCardDetailPage-BuCwlpLH-Dqmxnq7H.js → ChargeCardDetailPage-DHjtLrCu-8rSs9AMN.js} +58 -58
  34. package/dist/assets/ChargeCardListPage-DzmHmoAp-BfBb-N8b.js +355 -0
  35. package/dist/assets/{ChargeCardListTable-D4-Br785-CA2JSsF9.js → ChargeCardListTable-jGT-e74M-5-uAUG8Z.js} +18 -18
  36. package/dist/assets/ChargeCardPromoPage-C2wn8FfE-Qh6s_V9A.js +219 -0
  37. package/dist/assets/{ChargeCardSetupPage-fy0EpA-m-BxDAwTha.js → ChargeCardSetupPage-CN5Nbcsp-Bu6r203Z.js} +2 -2
  38. package/dist/assets/{ChargeCardStatementsPage-B_rdiq_Y-jjH-DAgp.js → ChargeCardStatementsPage-Bu_rIDAD-BeeV8bqA.js} +4 -4
  39. package/dist/assets/{ChargeCardUtils-CtoTn6DQ-CEQAXg_r.js → ChargeCardUtils-C-37hd5J-B8Ue09Ej.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-DfjQ73Ie-BuvaJtMo.js → ChaseOverlay-BG833ttH-_qJdBH9y.js} +8 -8
  41. package/dist/assets/CheckDepositDrawerPage-B4F_yGVS-pfAuDSEr.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-CHsJ-93l-Bi7TfJ-K.js → CollapsableReportTable-CtS-s84B-BR4en1d9.js} +2 -2
  43. package/dist/assets/{CompanyOfficerDetailsSection-BlUCDRW6-B6U8H_cM.js → CompanyOfficerDetailsSection-Bor8xmLS-OgNQHHeC.js} +29 -29
  44. package/dist/assets/{CompanyPassportCard-DSRRu6RZ-C9HDgYfN.js → CompanyPassportCard-n-awcw82-DRSohnEc.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-DpeoVbLk-DkaYrVic.js → CompanyPassportPage-WfbfWOs1-COSgoQMl.js} +139 -139
  46. package/dist/assets/{CompleteProfile-BaTEooSW-BYqXMLi8.js → CompleteProfile-D80JYwPP-BRDUY6r-.js} +10 -10
  47. package/dist/assets/ConfettiBurst-UJtKVS38-DdsiBpUw.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-CaIc3Tib-CxIwekzk.js → CreateOrEditVendorPage-BMLSs7Yo-DmUQ86jB.js} +15 -15
  49. package/dist/assets/{CreditCardPaymentDrawerPage-DEFrzmkG-BRXwoTyj.js → CreditCardPaymentDrawerPage-8zmbMj3u-ZPA-ktu-.js} +16 -16
  50. package/dist/assets/{CreditCardPaymentPlgSection-IeRxDnG7-BraPG36j.js → CreditCardPaymentPlgSection-DD7kSp5v-BuL73gip.js} +10 -10
  51. package/dist/assets/{CurrencySelectField-DDiCwLn7-R8-HKoHS.js → CurrencySelectField-DGID-Pjb-B38xYqrH.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-976y8y35-BKB9eQaF.js → CustomerOnboardingActivationPage-pdEVqtkO-B5fJSkdd.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-ChQOOhF_-C8keGYSw.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYfidx87-BCTz__9n.js → CustomerOnboardingDetailPageSkeleton-1d9j5dWO-dyqi73hm.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DrLZ3k77-D649rhkt.js → CustomerOnboardingNoStepsPage-BqrKQCFg-1lfgph7E.js} +8 -8
  56. package/dist/assets/CustomerOnboardingPage-DVVWivk2-WMhFdF9M.js +107 -0
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CmHltdpN-H0vMGnp1.js → CustomerOnboardingProductSuitePage-D_WVGW91-B4zQnbeq.js} +4 -4
  58. package/dist/assets/Dashboard-B-fLAQ8T-DoAtb0kg.js +1253 -0
  59. package/dist/assets/{DashboardReportPage-DULpVd6J-l4Vy7hhH.js → DashboardReportPage--SAxmUu_-Dq18S8YZ.js} +67 -67
  60. package/dist/assets/{DepositAccTransactionItem-BEs_Al_8-Bg20fmit.js → DepositAccTransactionItem--OdW7LRx-zcdQHy5Q.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-CL8Rr3I4-PTeUP6x-.js → DepositAccTransactionListPage-BGapI5f0-BXH4xxAt.js} +8 -8
  62. package/dist/assets/{DocumentSecurityBanner-BgKXBGg3-Bl8BwMyM.js → DocumentSecurityBanner-Ctdvj5Tn-CM5WmW33.js} +1 -1
  63. package/dist/assets/DomesticWireDetailsPage-BGP2DLHb-CLZOaehZ.js +21 -0
  64. package/dist/assets/{DownloadOverlay-cne9_fIV-BVhcS5G6.js → DownloadOverlay-VDEpvzHH-C6KDM3Im.js} +17 -17
  65. package/dist/assets/{DrawerPage-B0mgBHB5-B97-EY3F.js → DrawerPage-BauCSJ4q-DA93KkS0.js} +8 -8
  66. package/dist/assets/EditPeoplePage-mz7FTion-DdIStM8G.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-DWhSkrJ7-Ck-WrOdO.js → EditReimbursementDetailPage-Bi_rdyjb-DXvJQD3u.js} +69 -69
  68. package/dist/assets/{EntityDetailPage-wnOA1SH7-DunEwi-2.js → EntityDetailPage-Bc2AVCEp-DOVttkwP.js} +2 -2
  69. package/dist/assets/{EntitySummarySection-Q_UUVBaU-CCdZqN3Z.js → EntitySummarySection-CDO6K9RG-CZ1I06e-.js} +11 -11
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BumrdlGf-DlUCUheT.js → ExpenseAutomationOverviewPage-C7SAclix-Ch7r281h.js} +20 -20
  71. package/dist/assets/{ExpenseAutomationPage-DKjInf-x-CLrqgMqv.js → ExpenseAutomationPage-A03nzEV--i6evGevK.js} +84 -84
  72. package/dist/assets/{ExpressPayPage-wwfao-Tr-ryF8peXx.js → ExpressPayPage-B5QCvPtb-mYcSl8Ub.js} +8 -8
  73. package/dist/assets/{FeaturePreviewPage-DriDr9id-U4qY_kzw.js → FeaturePreviewPage-Czr4aIad-Bq5X23tc.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-5025urr9-DTswNK5r.js → FollowStepsSection-Cf1g5oOj-5G8g4W7R.js} +9 -9
  75. package/dist/assets/{GlobalReviewListPage-BFjOsp4u-CkPnlCwo.js → GlobalReviewListPage-BI8uyXfO-DlP3gmGv.js} +11 -11
  76. package/dist/assets/HelpButton-CWPUP9Y_-RpIu9G0D.js +28 -0
  77. package/dist/assets/{InformationCardStack-DrD-sWV8-CpQ1DMby.js → InformationCardStack-WnJWUp5O-BeMJUt9i.js} +5 -5
  78. package/dist/assets/{InsightsCardStack-CFqfiCOY-CdOcRooy.js → InsightsCardStack-CRA0RPsW-D6ISd9AF.js} +8 -8
  79. package/dist/assets/{InsightsSection-CN1BVvSr-BcPmBh3t.js → InsightsSection-DvcmBPbo-Kmp0eo1Q.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-BBlKuJxA-BSt5UPQP.js → IntegrationsSettingsPage-D41_8UnK-CBjS_ZvM.js} +5 -5
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-f4DZUYIx-Bc0iCI6o.js → InternationalWireSwiftDetailsPage-BFN-eaZB-DkA8hvOx.js} +11 -11
  82. package/dist/assets/{InternationalWireVerificationPage-5WpkXxPC-D1J0y5mG.js → InternationalWireVerificationPage-xmoJO63s-D_kiU9kB.js} +17 -17
  83. package/dist/assets/{InviteFormPage-Bw2ykerx-CTE02jgl.js → InviteFormPage-Zy3qQng6-WUFAPnrT.js} +14 -14
  84. package/dist/assets/{InvitePageListView-BHp1m02Z-Bsala5KT.js → InvitePageListView-gATEAhxa-BJvv1nxH.js} +40 -40
  85. package/dist/assets/InvitePeoplePage-DkRbCpN7-4Qef88o5.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-B8Xsz6dM-DG10muME.js → InvoiceUploadSection-CTbnx9F4-DxOvNNGL.js} +5 -5
  87. package/dist/assets/{IssueChargeCardPage-DYrMWSZg-B_Lk6fnL.js → IssueChargeCardPage-BwBDVxeq-QT3JqZbp.js} +25 -25
  88. package/dist/assets/{LabeledAddressValue-kKgzA0is-XuxMbm26.js → LabeledAddressValue-C5YXOhcz-DcQYX30H.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-Bey_bvyv-DkjQja9O.js → LabeledAddressValueField-CMIVYcKX-IiR7eG-s.js} +3 -3
  90. package/dist/assets/{LabeledControlledCheckBoxField-CKrD5nfN-VcMd1w66.js → LabeledControlledCheckBoxField-Dr8ND8SA-C9Qzlvtb.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-B3x1MZJr-BQbLyyvB.js → LabeledCreatableSingleSelectField-CrDFWvwI-C1AD80Rw.js} +7 -7
  92. package/dist/assets/LabeledDocumentField-BG6Pu34Y-Dl5pM6Dq.js +41 -0
  93. package/dist/assets/LabeledDropDownFormattedTextField-cv7zClcb-f3M9bbM_.js +59 -0
  94. package/dist/assets/{LabeledText-BUZXeSSr-TfY54fhJ.js → LabeledText-DaM1ChQF-BwcpwF0f.js} +3 -3
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField--jmAGQy--CoSZdDuI.js → LabeledUserSingleSelectWithSubtitlesField-ClM9Uj1y-6k_crmLc.js} +6 -6
  96. package/dist/assets/{LabeledZeniRolesDropDownField-Dt5MOz8L-DuC7vLqr.js → LabeledZeniRolesDropDownField-DfAO3Vyq-C62yt72O.js} +21 -21
  97. package/dist/assets/{LinkJETransactionPage-DZZORFZw-zu63LnoB.js → LinkJETransactionPage-CSlZZ9r4-ChRBBG28.js} +7 -7
  98. package/dist/assets/{LowBalancePopup-BQYkTR6v-BKR39KfH.js → LowBalancePopup-ZfmTgr7J-C3y63M8c.js} +7 -7
  99. package/dist/assets/{MagicLinkACHDetailsPage-B2TCqv5k-YAHQsZg5.js → MagicLinkACHDetailsPage-Ad9q16ze-Cc4KtwXI.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-D0Fcshtr-ClddkEWx.js → MagicLinkDomesticWireDetailsPage-TudYpGU_-cwp5jFX6.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-BfschSvJ-jdQCIQzO.js → MagicLinkInternationalWireDetailsPage-DfZQur8x-MDCFOTKW.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-CLkxou_Q-88Fi-ErF.js → MagicLinkSuccessPage-G9P6M-7E-bWNtOw6X.js} +5 -5
  103. package/dist/assets/{MagicLinkTitleSection-BcnZtmCV-epy2dj3A.js → MagicLinkTitleSection-BnKDwhBK-wh8Yf-S0.js} +3 -3
  104. package/dist/assets/{MailingDetailsSection-B5PAttoo-CAWfzI0V.js → MailingDetailsSection-BV_-2RQM-CCg3F_6v.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-DM1wkT0M-Bm_cctkg.js → MeetingCalenderPopup-C6y2cRLo-BgxsFwD_.js} +1 -1
  106. package/dist/assets/{Menu-teOpHszN-Dh_2vQ1Q.js → Menu-Dhi3mAAc-CTdMUIt5.js} +3 -3
  107. package/dist/assets/{MyBankConnectionsSettingsPage-M74Mv2-V-Cz_Rumpg.js → MyBankConnectionsSettingsPage-D1DMNxbh-ChPr7QXP.js} +13 -13
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-jv9dbM48-CnTuqx43.js → MyPendingActivationChargeCardListPage-CtxNt4Km-OhPuLid4.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-CrhE1vfc-DajCnu6s.js → MyProfileSettingsPage-ehPTh7cb-C19JE_a0.js} +8 -8
  110. package/dist/assets/{NavBarWithPicker-w36OQzVq-CmZfp2mA.js → NavBarWithPicker-BF7k45-H-CqiTH9vF.js} +3 -3
  111. package/dist/assets/{NavigationArrow-CUVjQXS6-qUKTkXFl.js → NavigationArrow-DKuw9kCL-2Rze1y5j.js} +9 -6
  112. package/dist/assets/{NavigationDots-Dt6TkUQ7-sum6xK1Z.js → NavigationDots-DfJQIsra-CF_rwB9h.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-BAq_UQw1-DoKkpxED.js → NewGlobalMerchantPage-CWyjN00H-0DvMrAS7.js} +9 -9
  114. package/dist/assets/NoDataChart-BHIoW_SW-DoqAVhyM.js +26 -0
  115. package/dist/assets/{NoDataTable-Akc9VjuK-DBDpQtci.js → NoDataTable-Txtz3a1x-CVIPKw2H.js} +1 -1
  116. package/dist/assets/{NotFoundPage-3pCYWZU4-CzFa-O_Q.js → NotFoundPage-DewJikvf-DquNlF_a.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-BX5y9Bhs-ChsBGNJT.js → NotificationSettingsPage-CAFlFJ9J-DNtSJXlE.js} +17 -17
  118. package/dist/assets/NotificationsListConfig-B6PteXf7-BPHFWRyo.js +1 -0
  119. package/dist/assets/{NotificationsPage-tre5LIJg-DXHT17a1.js → NotificationsPage-CqmgbRYI-B1REvxM0.js} +32 -32
  120. package/dist/assets/{OpExByVendorPage-Dagfjaza-BG12d2vk.js → OpExByVendorPage-CYAYFvCM-CDkrX969.js} +5 -5
  121. package/dist/assets/{OverlayContainerPage-nhe7xtoR-DhgreE--.js → OverlayContainerPage-C0rUb6-5-W0ax80yE.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-B6BwG3ZF-CpWFWN3l.js → PandLWithForecastPage-v5t7YeHA-c32BpF_9.js} +7 -7
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-w6QwL-c4-BQdRKRB_.js → PaymentAccountSetupBillingAddressSection-CnCCn9XQ-CNY3y6cT.js} +9 -9
  124. package/dist/assets/{PeoplePage-EFDCrYUk-CE3mVjyD.js → PeoplePage-D89yZGJn-CFNcLLmk.js} +21 -21
  125. package/dist/assets/{PortfolioAllocationFormPage-DbGLXM2D-Bx9gvRhX.js → PortfolioAllocationFormPage-Cit7ssiw-CpmTmt3z.js} +3 -3
  126. package/dist/assets/{PortfolioDetails-D2RWl4uo-DGy5rPyu.js → PortfolioDetails-B1HXVeH2-D3KDftxW.js} +12 -12
  127. package/dist/assets/{ProductsCarousel-o-YsHwnV-CbcIWkQ0.js → ProductsCarousel-BeOYePu1-BPS8weXu.js} +7 -7
  128. package/dist/assets/{PromoBaseCards-D21UZaz1-BKv3YpvZ.js → PromoBaseCards-D1DDp9C1-BMl9m8-G.js} +25 -25
  129. package/dist/assets/{QBOConnectionDialog-DOpuFcsk-DYkeM55L.js → QBOConnectionDialog-nb_5mvqp-CNrftMhR.js} +8 -8
  130. package/dist/assets/{QBOSetupSection-Dcf_Afvz-Cbe3ZtEf.js → QBOSetupSection-b-OrlvdU-D5Bh2qoF.js} +11 -11
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DcDdM_Ss-C7HEqCY_.js → ReimbursementApprovalRuleDetailPage-vg7A7Fqa-DKxcfaTy.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-BhdyXjR--D8DMWvvK.js → ReimbursementApprovalRulesPage-FYfZ8-hX-DxG5e0_0.js} +8 -8
  133. package/dist/assets/ReimbursementDetailPage-DHsqq__V-BbntdEZI.js +314 -0
  134. package/dist/assets/{ReimbursementPromoPage-DJTuXxOX-Drg3-8a0.js → ReimbursementPromoPage-D-wmyfH--DT237a-Y.js} +16 -16
  135. package/dist/assets/{ReimbursementSetUpPage-DaIc03J9-DLaizgXu.js → ReimbursementSetUpPage-Cneg3RyB-nHTacFs2.js} +12 -12
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BW6yGqNG-btJeNAgh.js → ReimbursementsBulkReviewDrawerPage-OTHapAJy-B07Bk0eB.js} +1 -1
  137. package/dist/assets/{ReloadCard-D3-WJk3W-OXxdzcMU.js → ReloadCard-D72dkm5s-DHOqIhPE.js} +5 -5
  138. package/dist/assets/{ReportTableViewSelector-ZI_K0-D2-CIoJuBlW.js → ReportTableViewSelector-DfZ5geuW-DyPrCXZD.js} +7 -7
  139. package/dist/assets/{ReportsPage-DsILNosH-BV3Vvbdo.js → ReportsPage-7E3Q5HHF-DXypTMXr.js} +9 -9
  140. package/dist/assets/{RevenueChart-CKKeqpBi-BfzJ94CA.js → RevenueChart-G7w1_QXE-CK6mJH77.js} +15 -15
  141. package/dist/assets/{ReviewDetailsPage-BTag8Rn9-gND3y4kA.js → ReviewDetailsPage-i6ZXMuAf-CAvd4g6H.js} +19 -19
  142. package/dist/assets/{ReviewOverlay-CmbxFXT5-DAX6Vi5G.js → ReviewOverlay-D0tbkcpk-u3R_yBnI.js} +15 -15
  143. package/dist/assets/{RoleWithToolTip-D25NUL6y-tf-yHmuW.js → RoleWithToolTip-w2s9tX9j-CThc8drW.js} +6 -6
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-svqtgWEw-2FnaI8Kv.js → ScheduleDetailsFixedAssetsPage-5uPqQbhv-c_seLLEr.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-ClifB2yP-BqsDO0Dj.js → ScheduleDetailsPage-n2Mhm3VT-Qa9fyFQC.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-Bzz4WFsb-BwftU03v.js → ScheduleSequenceTable-BbLZtq_G-B-PxnDpg.js} +50 -50
  147. package/dist/assets/{ScreenRoutes-DCMPUDES.js → ScreenRoutes-1MbaXcJV.js} +35 -35
  148. package/dist/assets/{SetUpAccountSection-DHHAhE7n-BYj2HZ1g.js → SetUpAccountSection-CuOJZCNp-D6aQorsQ.js} +103 -103
  149. package/dist/assets/{SetUpDefaultSection-DkoRgSyp-Bj90DWQf.js → SetUpDefaultSection-D0d0yzu8-BDWGdtc-.js} +16 -16
  150. package/dist/assets/{SignIn-DSJylxLB-RERuk1YM.js → SignIn-CtZ8rTB_-wQdGuYtt.js} +16 -16
  151. package/dist/assets/{SignInScreen-B8ft0_Ar.js → SignInScreen-BSTxrh_N.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-NfjbjBOy-DW0rH2Ft.js → SpendManagementListViewPage-ymHs-MwL-BFF1eR3M.js} +13 -13
  153. package/dist/assets/{SpendManagementPerTabPage-CJqqj2pl-E24ZlsVq.js → SpendManagementPerTabPage-DwRwO5jR-DYEyp8w8.js} +52 -52
  154. package/dist/assets/{SpendManagementSection-C8jUu71n-BZHis9xk.js → SpendManagementSection-B1F6rl-n-Bxu1kHsM.js} +10 -10
  155. package/dist/assets/{SpendMgmtSetupAccountSection-CNcWLqIc-Bd_LEEBx.js → SpendMgmtSetupAccountSection-o-48qyw7-BwGu-MNC.js} +17 -17
  156. package/dist/assets/{StatementItem-CV3b0pVj-BI2xUPtS.js → StatementItem-CK2sUgkE-C5tUfOGU.js} +8 -8
  157. package/dist/assets/StatementsPage-D25LsJRp-EGUjR_Fx.js +58 -0
  158. package/dist/assets/{StatusSwitcher-CxzYEzIO-Co7QMQgC.js → StatusSwitcher-BppDI7-7-CaTqg34_.js} +5 -5
  159. package/dist/assets/{SubTabSwitcher-_XBeoyd8-B6G5BhKB.js → SubTabSwitcher-DTe2L8JC-D4RBO14j.js} +1 -1
  160. package/dist/assets/{SummaryCard-egXz66_a-Cl1rSzvu.js → SummaryCard-B-_3DnqQ-C4MQdd4u.js} +1 -1
  161. package/dist/assets/TaskManagementPage-NFVqhs6K-Bu_ZJ76r.js +508 -0
  162. package/dist/assets/{TimeRangeSwitcher-DETvaZov-CwVHTAYo.js → TimeRangeSwitcher-D5pSi1fB-XM_OXE-C.js} +5 -5
  163. package/dist/assets/{TimeframeSwitcher-DRQZAZ8X-DCySEKV1.js → TimeframeSwitcher-CQ37qP58-CJPthL9i.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-DDX_BvPF-1t-6tvHL.js +31 -0
  165. package/dist/assets/{TopExCard-CtEulaIf-Zmeg67y4.js → TopExCard-CU-kbyDP-BkqVk6Yr.js} +6 -6
  166. package/dist/assets/{TopExDetailPage-O4MMssGR-B3pvpEDI.js → TopExDetailPage-COxNovqU-TyxPPRK9.js} +11 -11
  167. package/dist/assets/{TransactionDetailPage-CfY8i6QF-DDhR6G8w.js → TransactionDetailPage-k06RliU--jpVAAS-E.js} +40 -40
  168. package/dist/assets/{TransactionList-BABUQprb-CGrGARxw.js → TransactionList-CuRdM1xm-CGrWmUwi.js} +13 -13
  169. package/dist/assets/{TransactionListBig-qJc1PM0U-D-w-QKVO.js → TransactionListBig-ByLaQQUK-DVTWGGO_.js} +18 -18
  170. package/dist/assets/TransactionListPage-ioT-Jexm-z12q095m.js +35 -0
  171. package/dist/assets/{TransactionVendorDetailPage-nHnLQdj7-BobBNONL.js → TransactionVendorDetailPage-Dyg9upjC-FtRQ9fft.js} +6 -6
  172. package/dist/assets/{TransferDrawerPage-CkbHu9oQ-Cr2kLjQa.js → TransferDrawerPage-B6zOVR7E-PtwoiwD5.js} +33 -33
  173. package/dist/assets/{TreasuryOverviewPage-D9qxqZOy-DgvCDwU7.js → TreasuryOverviewPage-Cae5Kj1r-CipOXBTi.js} +29 -29
  174. package/dist/assets/{TreasuryPromoPage-Bn_4ae7Q-MjHQLB6N.js → TreasuryPromoPage-iNiwYAiH-bWL0zXEM.js} +15 -15
  175. package/dist/assets/{TreasurySetupPage-CpZDjXwu-BlgaftAJ.js → TreasurySetupPage-Bdl5g5Ct-DGTj2ns3.js} +6 -6
  176. package/dist/assets/{TreasuryStatementsPage-BXDwbrcC-B0Yvh0ZH.js → TreasuryStatementsPage-CLy-YBGI-_kq4Lb1i.js} +7 -7
  177. package/dist/assets/{TreasuryTaxLetterPage-Cwf-e3Jz-BGI8bIrR.js → TreasuryTaxLetterPage-lRsyHBLO-DlgswuUG.js} +7 -7
  178. package/dist/assets/{TreasuryTransferOrReviewPage-BSiDVjnO-jKxiAOAU.js → TreasuryTransferOrReviewPage-Cbfh-a6j-DM2Y9vYh.js} +10 -10
  179. package/dist/assets/TrendChart-BXOatw0x-CophMwJ6.js +16 -0
  180. package/dist/assets/{TrendWithTransactions-D8xzYG_f-BXYJlM5g.js → TrendWithTransactions-BxoyLfjd-_bPvq9jR.js} +3 -3
  181. package/dist/assets/{UncategorizedAccountsMappingPage-CteEKVJk-V8s5GSE9.js → UncategorizedAccountsMappingPage-BA4o7PWu-CMrlTXMW.js} +13 -13
  182. package/dist/assets/{UnitIntegrationPage-BBAq4_81-CQPS6SXm.js → UnitIntegrationPage-Clt-99RU-BrzMoE2E.js} +4 -4
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-Drs2Czkg-CGyOsBXK.js → UploadAdditionalDocumentOverlay-LxTjdCJQ-COub0S1H.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-DKe-eMoF-C2M9SXlf.js → Vendor2FAPopup-DjHQdB-O-CGPHoNJv.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-CTeRlLgu-kYd8MIRh.js → VendorACHDetailsPage-TaEzA3ib-BtSubgL_.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-Cw7Qe1rv-VsBgNF4C.js → VendorDetailPage-BeADTlAW-BEAFQ3r2.js} +13 -13
  187. package/dist/assets/{VendorDomesticWireDetailsPage-CYkst1D5-7By2THmG.js → VendorDomesticWireDetailsPage-EpIw_vNR-C7RuY-PA.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-CXQx0jJQ-IhMnk3PA.js → VendorFiling1099EditablePage-B-jTzcx7-CbBKMdpG.js} +8 -8
  189. package/dist/assets/{VendorFirstReviewPage-C1yTYtW6-DMX2ZPAc.js → VendorFirstReviewPage-BrlyeQoC-BZiG_JRb.js} +29 -29
  190. package/dist/assets/{VendorInternationalWireDetailsPage-CfbGRN9B-DCdpm2-s.js → VendorInternationalWireDetailsPage-B22crnTD-tpyu7OIk.js} +7 -7
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DTxy0byj-D5CQNR_y.js → VendorInternationalWireSwiftDetailsPage-BpXZD_Eh-CX1DO0ul.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-B_nDMJSn-1NkwRYu4.js → VendorsAccountsSection-CLrfBouK-CqWzAgHB.js} +4 -4
  193. package/dist/assets/{WarningsDrawerPage-Dz3EM7AW-BaYVjn6f.js → WarningsDrawerPage-CBZRy4Sm-DJIt8rHu.js} +4 -4
  194. package/dist/assets/{ZeniAccountDetailPage-C01gqJIN-BM-R1eoj.js → ZeniAccountDetailPage-Bfvuuiyl-Dadw6og4.js} +26 -26
  195. package/dist/assets/{ZeniAccountListViewPage-3DEdKuaM-CRpdg_Kj.js → ZeniAccountListViewPage-CTqmq_Vp-3SYD23NH.js} +18 -18
  196. package/dist/assets/ZeniAccountNavBarPieces-iNAQFffX-jEy_vHEe.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-ClgIxS0H-dyns3_0Y.js → ZeniAccountPromoPage-XHKL_dgv-zxVudUmY.js} +12 -12
  198. package/dist/assets/{ZeniAccountSetupPage-C-vwyHUJ-ByPV9mPy.js → ZeniAccountSetupPage-BHMr828J-Cb9LGjcX.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-CqFabZnN-CFC5-_8n.js → ZeniCopyright-B_2DB9mm-Do8EbmHN.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-BwHzq-qG-CpfXUhbu.js → ZeniTransferAmountSlider-BnjyU6o3-D4fZwoL6.js} +1 -1
  201. package/dist/assets/analytics-DThoELaW.js +7 -0
  202. package/dist/assets/{analyticsHelper-CvW7m-EV-nO2i_RUx.js → analyticsHelper-Bh8Vo_J_-DdkQ2A3j.js} +1 -1
  203. package/dist/assets/{analyticsHelper-m4qvu5s8.js → analyticsHelper-COZBEzRa.js} +1 -1
  204. package/dist/assets/{chartTypes-0tTBFzPe-CKqP5TB1.js → chartTypes-DpnOYtNo-C1MRDQOQ.js} +1 -1
  205. package/dist/assets/{commonDimensions-B68wSFi9-BOPm5YVm.js → commonDimensions-D2zuat_O-BjWWOnE2.js} +1 -1
  206. package/dist/assets/{detailCommon-D2RAJL6g-Ctxx0B-m.js → detailCommon-CloEmsTm-FeTpoyrx.js} +10 -10
  207. package/dist/assets/{downloadPdf-IPGZ8YB9-CGTdag_A.js → downloadPdf-OWaFOL1J-_yuPyAAc.js} +1 -1
  208. package/dist/assets/{index-CjViJI82.js → index-LFy5NlUr.js} +3519 -3479
  209. package/dist/assets/{liveblocks-BUGn2yQ6.js → liveblocks-sSQ9JElv.js} +1 -1
  210. package/dist/assets/{mapLoadingInProgressToTreeNode-DhjVTksX-D9f25W17.js → mapLoadingInProgressToTreeNode-Df6n7jwq-DhIXCvCe.js} +1 -1
  211. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DtR1UNND--ulpnsBf.js → mapSectionWithAcOnlyToTreeNode-BvlNBFiJ-CBY5TVGr.js} +1 -1
  212. package/dist/assets/{mapSpacerToTreeNode-oskKbJKo-DkK4Sqat.js → mapSpacerToTreeNode-BM8XMc8I-DixdkzZo.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-BkUJJy_y-8lKA5ScY.js → mapTimeframeBalancesToTreeNode-B3bP14C6-CT5Uu0sF.js} +1 -1
  214. package/dist/assets/mui-C5LQ0bMa.js +25 -0
  215. package/dist/assets/{play-icon-C_pnFd6Q-9jE99gvQ.js → play-icon-NE4JTPpx-CK0WoxqT.js} +1 -1
  216. package/dist/assets/{redux-DmDqXYej.js → redux-ByjIRbhZ.js} +1 -1
  217. package/dist/assets/{routing-BNz5gZgX.js → routing-Cpaypegg.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-e2ImXwdp-CKDntHr-.js → toCOABalancesWithID-DN21aiLH-Bx86HqeI.js} +1 -1
  219. package/dist/assets/{toChartData-Dh91kb97-BZZ8pWR6.js → toChartData-CG9GudeA-Bcz5dDyw.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-D9SYrM7P-DmVNjxNp.js → treasuryColorHelper-CNX5IuXX-6ZEgxHO3.js} +1 -1
  221. package/dist/assets/{uploadAttachment-BZTALP74-BVGfc45j.js → uploadAttachment-D42oX05_-CRxK5DEq.js} +29 -29
  222. package/dist/assets/{uploadReceipts-BH9fi3Vt-BJeYWSVA.js → uploadReceipts-Buvz7DfG-DslgfUmv.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +5 -5
  225. package/dist/assets/AccountInfoPage-BoCzcaQW-0jZO3NrI.js +0 -18
  226. package/dist/assets/AccountRow-vtPa0PJn-Ccj8p0p9.js +0 -298
  227. package/dist/assets/BillingSettingsPage-Bm-IF_p7-DNHl4xz8.js +0 -44
  228. package/dist/assets/BillsBulkReviewDrawerPage-CVAG78EK-DCPUzEL9.js +0 -1
  229. package/dist/assets/BusinessVerificationPage-Ctqy7ZwA-Pibcm8K3.js +0 -140
  230. package/dist/assets/ChargeCardListPage-CXbTalVQ-CKsNCzlh.js +0 -355
  231. package/dist/assets/ChargeCardPromoPage-BTfg7L28-DF47hcgS.js +0 -175
  232. package/dist/assets/CheckDepositDrawerPage-yUzhTMSu-MeotqJRr.js +0 -206
  233. package/dist/assets/ConfettiBurst-C2engbkN-V_uY_tO9.js +0 -1
  234. package/dist/assets/CustomerOnboardingContainerPage-DzzvTpfs-pWxD83yn.js +0 -1
  235. package/dist/assets/CustomerOnboardingPage-BiUXryld-HgqXiajr.js +0 -107
  236. package/dist/assets/Dashboard-B1UeMAoF-Uk-MHkBf.js +0 -778
  237. package/dist/assets/DomesticWireDetailsPage-CVKheLW6-BJ0WqkU8.js +0 -21
  238. package/dist/assets/EditPeoplePage-DgVDgYlm-DOxAUhJ5.js +0 -55
  239. package/dist/assets/HelpButton-CzonsAOi-C6o6gRiy.js +0 -28
  240. package/dist/assets/InvitePeoplePage-BnlUrpPG-CsqOL2ci.js +0 -12
  241. package/dist/assets/LabeledDocumentField-BKPP0tRe-CIjTxmdT.js +0 -41
  242. package/dist/assets/LabeledDropDownFormattedTextField-NsCaPjuf-DxsA2YFq.js +0 -59
  243. package/dist/assets/NoDataChart-CydgbaO2-CIdUt3UK.js +0 -26
  244. package/dist/assets/NotificationsListConfig-BrTtuTMy-4ldKuia7.js +0 -1
  245. package/dist/assets/ReimbursementDetailPage-BSWNsboq-DNwPGNwv.js +0 -314
  246. package/dist/assets/StatementsPage-ly5aBK2M-B3w4WjIP.js +0 -58
  247. package/dist/assets/TaskManagementPage-CQL5Q6wr-_3qK_AWB.js +0 -508
  248. package/dist/assets/TimeframeSwitcherWithToggle-CuU7mRU9-0sgW3h40.js +0 -31
  249. package/dist/assets/TransactionListPage-DuAk6fJT-BXMjUZ88.js +0 -35
  250. package/dist/assets/TrendChart-Dp3QrDED-TLZjgCXh.js +0 -16
  251. package/dist/assets/ZeniAccountNavBarPieces-bthmMpbV-DlefBJUL.js +0 -14
  252. package/dist/assets/analytics-BSSiLa6f.js +0 -7
  253. package/dist/assets/mui-BgvZYSo0.js +0 -22
@@ -1,25 +1,25 @@
1
- import{a as R,gh as q,M as $,j as e,F as M,T as f,c6 as z,cf as G,cc as K,l as T,o as l,ca as _,gi as H,a7 as W,c0 as Y,bq as Z,gj as J}from"./index-CjViJI82.js";import{b,f as g,n}from"./vendor-CnQcJ2Lu.js";import{$ as Q}from"./LabeledAddressValue-kKgzA0is-XuxMbm26.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const t=$.getLocalizedStrings(),x="completeProfilePage",r="basicDetailsSection",y="addressSection",d=(o,m)=>`${o}.${m}`,he=({userEmail:o,googleAPIKey:m,otpChallenge:j,sendOtpStatus:w,verifyOtpStatus:h,saveStatus:v,onSave:u,onGetOtp:P,onVerifyOtp:S,onResendOtp:O})=>{const[s,c]=b.useState(!1),[V,C]=b.useState(!1),i=R({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:o,dateOfBirth:void 0,phone:"",address:void 0}}}),F=q({control:i.control,name:`${r}.address`}),{dateFormat:I}=$.getLocalizedStrings(),N=i.handleSubmit(a=>{u&&u(a)}),L=()=>{const a=i.getValues(`${r}.phone`);a!=null&&a.trim().length>0&&P(a)},k=(a,p)=>{S(a,p)},D=a=>{a!=null&&a.trim().length>0&&O(a)},B=()=>{c(!0)},E=()=>{c(!1)},A=()=>{const a=i.getValues(`${y}`);if(a!=null){const p=J(a);i.setValue(`${r}.address`,p)}c(!1)};return e.jsxs(U,{children:[e.jsxs(X,{children:[e.jsxs(ee,{children:[s&&e.jsx(oe,{onClick:E}),t.completeProfile.title]}),e.jsx(te,{children:e.jsx(M,{...i,children:e.jsxs("form",{id:`${x}_form`,onSubmit:N,children:[e.jsx(f,{controller:s===!1,children:e.jsxs(g.Fragment,{children:[e.jsx(z,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:t.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:d(r,"email")}}),e.jsx(G,{isDisabled:void 0,label:{label:t.common.labels.name,width:168},style:{width:"100%"},nameField:{name:d(r,"name"),placeHolder:{firstName:t.common.placeholder.firstNamePlaceholder,lastName:t.common.placeholder.lastNamePlaceholder,name:t.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),e.jsx(K,{isOptional:!0,label:{label:t.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:d(r,"dateOfBirth"),placeholder:t.common.placeholder.dobPlaceholder,dateFormat:I.visual.defaultInput,autoComplete:"off",maxDate:T.dateNow().subtract(18,"year")}}),e.jsx(Q,{isOptional:!0,label:{label:t.common.labels.address,width:168},addressValue:{placeholder:t.common.placeholder.addressPlaceholder,address:F,onClick:B},style:{width:"100%",padding:`${l.sp2} ${l.sp2} ${l.sp2} ${l.sp0}`}}),e.jsx(_,{isOptional:!0,label:{label:t.common.labels.phone,width:168},style:{width:"100%"},text:{name:d(r,"phone"),placeholder:t.common.placeholder.phonePlaceholder,defaultValue:"",autoComplete:"new-password"},errorInfoLabel:"",verificationErrorInfoLabel:t.common.errorMessage.invalidPhoneNumber,isPopupOpen:V,phoneVerifyButtonProps:{otpChallenge:j,showOtpButton:!0,onGetOtp:L,onVerifyOtp:k,onResendOtp:D,isPhoneVerified:h.fetchState==="Completed",phoneVerificationStatus:h,getOtpStatus:w,openPopup:()=>{C(!0)},focusNotRequired:!0}})]})}),e.jsx(f,{controller:s===!0,children:e.jsx(g.Fragment,{children:e.jsx(H,{sectionId:y,googleAPIKey:m,isSubPage:!0})})})]})})})]}),e.jsx(W,{formId:s?void 0:`${x}_form`,primaryBtn:{label:s?t.companyPassport.address.saveAddress:t.common.footer.save,type:s?"button":"submit",onClick:s?A:void 0,isLoading:v.fetchState==="In-Progress"},showCancel:!1})]})},U=n.div`
1
+ import{a as R,ge as M,M as $,j as e,F as T,T as f,c5 as q,ce as z,cb as G,l as K,o as a,c9 as _,gf as H,a3 as W,b$ as X,bo as Y,gg as J}from"./index-LFy5NlUr.js";import{b,f as g,n}from"./vendor-CnQcJ2Lu.js";import{$ as Q}from"./LabeledAddressValue-C5YXOhcz-DcQYX30H.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const t=$.getLocalizedStrings(),x="completeProfilePage",r="basicDetailsSection",y="addressSection",d=(o,m)=>`${o}.${m}`,he=({userEmail:o,googleAPIKey:m,otpChallenge:w,sendOtpStatus:j,verifyOtpStatus:h,saveStatus:v,onSave:u,onGetOtp:P,onVerifyOtp:S,onResendOtp:O})=>{const[s,c]=b.useState(!1),[V,C]=b.useState(!1),i=R({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:o,dateOfBirth:void 0,phone:"",address:void 0}}}),F=M({control:i.control,name:`${r}.address`}),{dateFormat:I}=$.getLocalizedStrings(),N=i.handleSubmit(l=>{u&&u(l)}),L=()=>{const l=i.getValues(`${r}.phone`);l!=null&&l.trim().length>0&&P(l)},k=(l,p)=>{S(l,p)},D=l=>{l!=null&&l.trim().length>0&&O(l)},B=()=>{c(!0)},E=()=>{c(!1)},A=()=>{const l=i.getValues(`${y}`);if(l!=null){const p=J(l);i.setValue(`${r}.address`,p)}c(!1)};return e.jsxs(U,{children:[e.jsxs(Z,{children:[e.jsxs(ee,{children:[s&&e.jsx(oe,{onClick:E}),t.completeProfile.title]}),e.jsx(te,{children:e.jsx(T,{...i,children:e.jsxs("form",{id:`${x}_form`,onSubmit:N,children:[e.jsx(f,{controller:s===!1,children:e.jsxs(g.Fragment,{children:[e.jsx(q,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:t.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:d(r,"email")}}),e.jsx(z,{isDisabled:void 0,label:{label:t.common.labels.name,width:168},style:{width:"100%"},nameField:{name:d(r,"name"),placeHolder:{firstName:t.common.placeholder.firstNamePlaceholder,lastName:t.common.placeholder.lastNamePlaceholder,name:t.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),e.jsx(G,{isOptional:!0,label:{label:t.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:d(r,"dateOfBirth"),placeholder:t.common.placeholder.dobPlaceholder,dateFormat:I.visual.defaultInput,autoComplete:"off",maxDate:K.dateNow().subtract(18,"year")}}),e.jsx(Q,{isOptional:!0,label:{label:t.common.labels.address,width:168},addressValue:{placeholder:t.common.placeholder.addressPlaceholder,address:F,onClick:B},style:{width:"100%",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`}}),e.jsx(_,{isOptional:!0,label:{label:t.common.labels.phone,width:168},style:{width:"100%"},text:{name:d(r,"phone"),placeholder:t.common.placeholder.phonePlaceholder,defaultValue:"",autoComplete:"new-password"},errorInfoLabel:"",verificationErrorInfoLabel:t.common.errorMessage.invalidPhoneNumber,isPopupOpen:V,phoneVerifyButtonProps:{otpChallenge:w,showOtpButton:!0,onGetOtp:L,onVerifyOtp:k,onResendOtp:D,isPhoneVerified:h.fetchState==="Completed",phoneVerificationStatus:h,getOtpStatus:j,openPopup:()=>{C(!0)},focusNotRequired:!0}})]})}),e.jsx(f,{controller:s===!0,children:e.jsx(g.Fragment,{children:e.jsx(H,{sectionId:y,googleAPIKey:m,isSubPage:!0})})})]})})})]}),e.jsx(W,{formId:s?void 0:`${x}_form`,primaryBtn:{label:s?t.companyPassport.address.saveAddress:t.common.footer.save,type:s?"button":"submit",onClick:s?A:void 0,isLoading:v.fetchState==="In-Progress"},showCancel:!1})]})},U=n.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-height: 100vh;
5
- `,X=n.div`
5
+ `,Z=n.div`
6
6
  display: flex;
7
7
  flex-direction: column;
8
8
  align-items: flex-start;
9
- padding: ${l.sp5};
10
- row-gap: ${l.sp3};
9
+ padding: ${a.sp5};
10
+ row-gap: ${a.sp3};
11
11
  flex: 1;
12
- `,ee=n(Y)`
12
+ `,ee=n(X)`
13
13
  color: ${o=>o.theme.colors.primary};
14
14
  text-align: left;
15
15
  display: flex;
16
16
  align-items: center;
17
17
  justify-content: flex-start;
18
- gap: ${l.sp2};
19
- `,oe=n(Z)`
18
+ gap: ${a.sp2};
19
+ `,oe=n(Y)`
20
20
  cursor: pointer;
21
- width: ${l.sp4};
22
- height: ${l.sp4};
21
+ width: ${a.sp4};
22
+ height: ${a.sp4};
23
23
  color: ${o=>o.theme.colors.hero};
24
24
  display: flex;
25
25
  align-items: center;
@@ -29,7 +29,7 @@ import{a as R,gh as q,M as $,j as e,F as M,T as f,c6 as z,cf as G,cc as K,l as T
29
29
  }
30
30
  `,te=n.div`
31
31
  background-color: ${o=>o.theme.colors.grey5};
32
- border-radius: ${l.sp2};
32
+ border-radius: ${a.sp2};
33
33
  width: 100%;
34
34
  box-shadow: ${o=>o.theme.colors.elevation1};
35
35
  border-color: ${o=>o.theme.colors.grey3};
@@ -0,0 +1 @@
1
+ import{d0 as m,ab as l,j as a,aj as f,o as n}from"./index-LFy5NlUr.js";import{b as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.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,12 +1,12 @@
1
- import{u as He,X as v,M as h,J as U,c5 as Ye,j as t,aW as _e,Y as b,d as Ge,bN as ae,bP as ie,bQ as se,ct as Je,a7 as Ke,C as W,bq as Xe,o,cu as Qe,bu as k,ah as le,p as f,aq as de,v as ce,s as G,aN as Ze,cq as pe,g as L,cv as me,cn as ue}from"./index-CjViJI82.js";import{b as x,n as r}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const et=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:a,bankName:s,routingNumberOrSwiftCode:d,accountName:u,routingNumberOrSwiftCodeLabel:m,onDeleteClick:w})=>{const j=v(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(q,{children:[t.jsx(H,{children:m}),t.jsx(Y,{children:d})]}),t.jsxs(q,{children:[t.jsx(H,{children:p.achDetails.bankName}),t.jsx(Y,{children:s})]}),t.jsxs(q,{children:[t.jsx(H,{children:a}),t.jsx(Y,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(G,{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(),w()},"data-testid":b("delete-vendor-account-section",u),children:t.jsx(dt,{})})})})]})},tt=r.div`
1
+ import{u as qe,X as w,M as h,H as U,c4 as Ye,j as t,aW as _e,Y as b,d as Qe,bM as ae,bO as ie,bP as se,cs as Xe,a3 as Ge,C as W,bo as Je,o,ct as Ke,bs as k,bF as le,p as f,al as de,w as ce,q as Q,aN as Ze,cp as pe,g as L,cu as me,cm as ue}from"./index-LFy5NlUr.js";import{b as x,n as r}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.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(q,{children:m}),t.jsx(Y,{children:d})]}),t.jsxs(H,{children:[t.jsx(q,{children:p.achDetails.bankName}),t.jsx(Y,{children:s})]}),t.jsxs(H,{children:[t.jsx(q,{children:a}),t.jsx(Y,{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};
5
- `,q=r.div`
5
+ `,H=r.div`
6
6
  display: flex;
7
7
  justify-content: space-between;
8
8
  width: 100%;
9
- `,H=r.div`
9
+ `,q=r.div`
10
10
  box-sizing: border-box;
11
11
  text-align: left;
12
12
  flex: 1 0 50%;
@@ -70,7 +70,7 @@ import{u as He,X as v,M as h,J as U,c5 as Ye,j as t,aW as _e,Y as b,d as Ge,bN a
70
70
  &:hover {
71
71
  color: ${L.important};
72
72
  }
73
- `,ct=({paymentInstrument:e,onDeleteClick:a})=>{const s=v(),d=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,u=t.jsx(pt,{children:e.piLabels.map(m=>t.jsxs(mt,{children:[t.jsxs(ut,{children:[m.name,d.colon]}),t.jsx(ht,{children:m.value})]},m.name))});return t.jsxs($t,{size:s,children:[t.jsx(xt,{children:t.jsxs(G,{children:[e.displayText,t.jsx(k,{title:u,placement:"top",children:t.jsx(yt,{children:t.jsx(ft,{})})})]})}),t.jsx(gt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:d.deleteAccountTooltip,placement:"top",children:t.jsx(bt,{onClick:m=>{m.stopPropagation(),a()},"data-testid":b("delete-vendor-international-account-section",e.paymentInstrumentId),children:t.jsx(vt,{})})})})]})},pt=r.div`
73
+ `,ct=({paymentInstrument:e,onDeleteClick:a})=>{const s=w(),d=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,u=t.jsx(pt,{children:e.piLabels.map(m=>t.jsxs(mt,{children:[t.jsxs(ut,{children:[m.name,d.colon]}),t.jsx(ht,{children:m.value})]},m.name))});return t.jsxs($t,{size:s,children:[t.jsx(xt,{children:t.jsxs(Q,{children:[e.displayText,t.jsx(k,{title:u,placement:"top",children:t.jsx(yt,{children:t.jsx(ft,{})})})]})}),t.jsx(gt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:d.deleteAccountTooltip,placement:"top",children:t.jsx(bt,{onClick:m=>{m.stopPropagation(),a()},"data-testid":b("delete-vendor-international-account-section",e.paymentInstrumentId),children:t.jsx(wt,{})})})})]})},pt=r.div`
74
74
  display: flex;
75
75
  flex-wrap: wrap;
76
76
  gap: ${o.sp1};
@@ -132,7 +132,7 @@ import{u as He,X as v,M as h,J as U,c5 as Ye,j as t,aW as _e,Y as b,d as Ge,bN a
132
132
  &:hover {
133
133
  color: ${e=>e.theme.colors.primary};
134
134
  }
135
- `,vt=r(ue)`
135
+ `,wt=r(ue)`
136
136
  width: ${o.sp3};
137
137
  height: ${o.sp3};
138
138
  cursor: pointer;
@@ -140,7 +140,7 @@ import{u as He,X as v,M as h,J as U,c5 as Ye,j as t,aW as _e,Y as b,d as Ge,bN a
140
140
  &:hover {
141
141
  color: ${L.important};
142
142
  }
143
- `,he=(e,a)=>{const s=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;switch(e){case"ach":return s.achDetails.ach;case"wire":switch(a){case"us-domestic":return s.wireDetails.domestic.domestic;case"international":return s.wireDetails.international.international;default:return""}default:return""}},_=({type:e,subType:a,vendorAccountDetails:s,vendorAccountDetailsInternational:d,onRemoveBankAccount:u,onAddNewAccountDetailClick:m})=>{const w=v(),[j,p]=x.useState(!1),[g,y]=x.useState(""),[N,I]=x.useState(!1),c=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,S=i=>{y(i),p(!0)},P={onOkClick:()=>{p(!1),u(g,N)},onCancelClick:()=>{p(!1),y("")}},T=i=>e==="ach"||e==="wire"&&a==="us-domestic"?i.bankAccountNumber:e==="wire"&&a==="international"?i.bankAccountIban??"":"",B=i=>e==="ach"?i.bankRoutingNumberAch:e==="wire"&&a==="us-domestic"?i.bankRoutingNumberWireTransfer:e==="wire"&&a==="international"?i.bankSwiftCode??"":"",z=()=>e==="ach"?c.achDetails.bankRoutingNumber:e==="wire"&&a==="us-domestic"?c.wireDetails.bankRoutingNumber:e==="wire"&&a==="international"?c.wireDetails.international.swiftCode:"",V=()=>e==="ach"?c.achDetails.bankAccountNumber:e==="wire"&&a==="us-domestic"?c.wireDetails.accountNumber:e==="wire"&&a==="international"?c.wireDetails.international.iban:"";return t.jsxs(St,{children:[j===!0?t.jsx(ae,{titleComponent:t.jsx(se,{children:c.areYOuSure}),descriptionComponent:t.jsx(ie,{children:c.ifYouSubmit}),primaryButtonText:c.delete,secondaryButtonText:c.cancel,action:P,isEditPopup:!0,proceedButtonVariant:"danger"}):null,t.jsx(kt,{windowSize:w,children:`${he(e,a)} ${c.accountsLabel}`}),s?.map(i=>t.jsx(te,{children:t.jsx(et,{bankName:i.bankName,bankAccountNumberOrIban:T(i),routingNumberOrSwiftCode:B(i),routingNumberOrSwiftCodeLabel:z(),accountNumberOrIbanLabel:V(),accountName:i.bankAccountName,onDeleteClick:()=>S(i.bankAccountId)})},i.bankAccountId)),d?.map(i=>t.jsx(te,{children:t.jsx(ct,{paymentInstrument:i,onDeleteClick:()=>{I(!0),S(i.paymentInstrumentId)}})},i.paymentInstrumentId)),t.jsx(wt,{onAddAccountDetailsSection:m,type:e,subType:a})]})},wt=({onAddAccountDetailsSection:e,type:a,subType:s})=>{const d=v(),u=h.getLocalizedStrings().spendManagement.billPay;return t.jsx(t.Fragment,{children:t.jsxs(Ct,{windowSize:d,onClick:e,"data-testid":b("add-vendor-account",a),children:[t.jsx(jt,{}),t.jsx(le,{children:`${u.vendorCreation.addPrefix} ${he(a,s)}`})]})})},jt=r(pe)`
143
+ `,he=(e,a)=>{const s=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;switch(e){case"ach":return s.achDetails.ach;case"wire":switch(a){case"us-domestic":return s.wireDetails.domestic.domestic;case"international":return s.wireDetails.international.international;default:return""}default:return""}},_=({type:e,subType:a,vendorAccountDetails:s,vendorAccountDetailsInternational:d,onRemoveBankAccount:u,onAddNewAccountDetailClick:m})=>{const v=w(),[j,p]=x.useState(!1),[g,y]=x.useState(""),[I,N]=x.useState(!1),c=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,S=i=>{y(i),p(!0)},P={onOkClick:()=>{p(!1),u(g,I)},onCancelClick:()=>{p(!1),y("")}},T=i=>e==="ach"||e==="wire"&&a==="us-domestic"?i.bankAccountNumber:e==="wire"&&a==="international"?i.bankAccountIban??"":"",B=i=>e==="ach"?i.bankRoutingNumberAch:e==="wire"&&a==="us-domestic"?i.bankRoutingNumberWireTransfer:e==="wire"&&a==="international"?i.bankSwiftCode??"":"",z=()=>e==="ach"?c.achDetails.bankRoutingNumber:e==="wire"&&a==="us-domestic"?c.wireDetails.bankRoutingNumber:e==="wire"&&a==="international"?c.wireDetails.international.swiftCode:"",V=()=>e==="ach"?c.achDetails.bankAccountNumber:e==="wire"&&a==="us-domestic"?c.wireDetails.accountNumber:e==="wire"&&a==="international"?c.wireDetails.international.iban:"";return t.jsxs(St,{children:[j===!0?t.jsx(ae,{titleComponent:t.jsx(se,{children:c.areYOuSure}),descriptionComponent:t.jsx(ie,{children:c.ifYouSubmit}),primaryButtonText:c.delete,secondaryButtonText:c.cancel,action:P,isEditPopup:!0,proceedButtonVariant:"danger"}):null,t.jsx(kt,{windowSize:v,children:`${he(e,a)} ${c.accountsLabel}`}),s?.map(i=>t.jsx(te,{children:t.jsx(et,{bankName:i.bankName,bankAccountNumberOrIban:T(i),routingNumberOrSwiftCode:B(i),routingNumberOrSwiftCodeLabel:z(),accountNumberOrIbanLabel:V(),accountName:i.bankAccountName,onDeleteClick:()=>S(i.bankAccountId)})},i.bankAccountId)),d?.map(i=>t.jsx(te,{children:t.jsx(ct,{paymentInstrument:i,onDeleteClick:()=>{N(!0),S(i.paymentInstrumentId)}})},i.paymentInstrumentId)),t.jsx(vt,{onAddAccountDetailsSection:m,type:e,subType:a})]})},vt=({onAddAccountDetailsSection:e,type:a,subType:s})=>{const d=w(),u=h.getLocalizedStrings().spendManagement.billPay;return t.jsx(t.Fragment,{children:t.jsxs(Ct,{windowSize:d,onClick:e,"data-testid":b("add-vendor-account",a),children:[t.jsx(jt,{}),t.jsx(le,{children:`${u.vendorCreation.addPrefix} ${he(a,s)}`})]})})},jt=r(pe)`
144
144
  margin-right: ${o.sp2};
145
145
  width: ${o.sp3};
146
146
  height: ${o.sp3};
@@ -170,12 +170,12 @@ import{u as He,X as v,M as h,J as U,c5 as Ye,j as t,aW as _e,Y as b,d as Ge,bN a
170
170
  padding-bottom: ${o.sp2};
171
171
  margin-top: ${o.sp3};
172
172
  margin-bottom: ${o.sp3};
173
- `,Dt=({addressState:e,onUpdateMailingAddress:a})=>{const s=v(),d=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;return t.jsxs(Vt,{children:[t.jsxs(zt,{windowSize:s,children:[`${d.mailingAddressLabel}`,t.jsx(Bt,{children:`${d.mailingAddressPlaceholder}`})]}),e!=null?t.jsxs(Tt,{children:[At(e),t.jsx(k,{enterDelay:600,display:"flex",title:d.editMailingAddressTooltip,placement:"top",children:t.jsx(Lt,{"data-testid":b("edit-vendor-mailing-address"),onClick:()=>a("vendor_address"),children:t.jsx(Nt,{})})})]}):t.jsx(t.Fragment,{children:t.jsxs(Pt,{windowSize:s,"data-testid":b("add-vendor-mailing-address"),onClick:()=>a("vendor_address"),children:[t.jsx(It,{}),t.jsx(le,{children:d.addMailingAddress})]})})]})},At=e=>[e.street[2],e.street[0],e.street[1],e.city,`${e.state} ${e.postalCode}`.trim(),e.countryCode??e.country].filter(Boolean).join(", "),Lt=r.div`
173
+ `,Dt=({addressState:e,onUpdateMailingAddress:a})=>{const s=w(),d=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;return t.jsxs(Vt,{children:[t.jsxs(zt,{windowSize:s,children:[`${d.mailingAddressLabel}`,t.jsx(Bt,{children:`${d.mailingAddressPlaceholder}`})]}),e!=null?t.jsxs(Tt,{children:[At(e),t.jsx(k,{enterDelay:600,display:"flex",title:d.editMailingAddressTooltip,placement:"top",children:t.jsx(Lt,{"data-testid":b("edit-vendor-mailing-address"),onClick:()=>a("vendor_address"),children:t.jsx(It,{})})})]}):t.jsx(t.Fragment,{children:t.jsxs(Pt,{windowSize:s,"data-testid":b("add-vendor-mailing-address"),onClick:()=>a("vendor_address"),children:[t.jsx(Nt,{}),t.jsx(le,{children:d.addMailingAddress})]})})]})},At=e=>[e.street[2],e.street[0],e.street[1],e.city,`${e.state} ${e.postalCode}`.trim(),e.countryCode??e.country].filter(Boolean).join(", "),Lt=r.div`
174
174
  width: ${o.sp3};
175
175
  svg {
176
176
  display: none;
177
177
  }
178
- `,Nt=r(Ze)`
178
+ `,It=r(Ze)`
179
179
  width: ${o.sp3};
180
180
  height: ${o.sp3};
181
181
  cursor: pointer;
@@ -183,7 +183,7 @@ import{u as He,X as v,M as h,J as U,c5 as Ye,j as t,aW as _e,Y as b,d as Ge,bN a
183
183
  &:hover {
184
184
  color: ${e=>e.theme.colors.primary};
185
185
  }
186
- `,It=r(pe)`
186
+ `,Nt=r(pe)`
187
187
  margin-right: ${o.sp2};
188
188
  width: ${o.sp3};
189
189
  height: ${o.sp3};
@@ -203,7 +203,7 @@ import{u as He,X as v,M as h,J as U,c5 as Ye,j as t,aW as _e,Y as b,d as Ge,bN a
203
203
  color: ${e=>e.theme.colors.primary};
204
204
  border: 1px solid ${e=>e.theme.colors.primary};
205
205
  }
206
- `,Tt=r(G)`
206
+ `,Tt=r(Q)`
207
207
  margin-top: ${o.sp2};
208
208
  padding: ${o.sp3} ${o.sp4};
209
209
  background-color: ${e=>e.theme.colors.grey5};
@@ -240,12 +240,12 @@ import{u as He,X as v,M as h,J as U,c5 as Ye,j as t,aW as _e,Y as b,d as Ge,bN a
240
240
  padding-bottom: ${o.sp2};
241
241
  margin-top: ${o.sp3};
242
242
  margin-bottom: ${o.sp3};
243
- `,oe="createVendorPage",re=e=>`${e}_form`,A={containerPaddingLeft:new W(f[3],f[6],f[6]),containerPaddingRight:new W(f[3],f[6],f[8]),buttonWidth:new W(125,125)},Rt=r.div`
243
+ `,oe="createVendorPage",re=e=>`${e}_form`,A={containerPaddingLeft:new W(f[3],f[6],f[6]),containerPaddingRight:new W(f[3],f[6],f[8]),buttonWidth:new W(125,125)},Ft=r.div`
244
244
  display: flex;
245
245
  flex-direction: column;
246
246
  overflow: auto;
247
247
  width: 100%;
248
- `,Ft=r.div`
248
+ `,Rt=r.div`
249
249
  display: flex;
250
250
  flex-direction: column;
251
251
  background-color: ${e=>e.theme.colors.grey4};
@@ -262,11 +262,11 @@ import{u as He,X as v,M as h,J as U,c5 as Ye,j as t,aW as _e,Y as b,d as Ge,bN a
262
262
  justify-content: center;
263
263
  align-items: center;
264
264
  box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
265
- `,Et=r(Qe)`
265
+ `,Et=r(Ke)`
266
266
  color: ${e=>e.theme.colors.primary};
267
267
  margin-bottom: ${o.sp3};
268
268
  margin-top: ${o.sp3};
269
- `,Mt=r(Xe)`
269
+ `,Mt=r(Je)`
270
270
  cursor: pointer;
271
271
  color: ${e=>e.theme.colors.hero};
272
272
  width: 20px;
@@ -278,4 +278,4 @@ import{u as He,X as v,M as h,J as U,c5 as Ye,j as t,aW as _e,Y as b,d as Ge,bN a
278
278
  display: flex;
279
279
  flex-direction: column;
280
280
  padding-top: ${o.sp11};
281
- `,$=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,Wt=h.getLocalizedStrings().common.footer,ne=h.getLocalizedStrings().common.currency,Zt=({vendorViewDetails:e,vendorId:a,screenType:s,analytics:d,filesEndPoint:u,authParams:m,vendorSearchAutoCompleteData:w,vendorSearchAutoCompleteActions:j,isLocalCurrencyEnabled:p,onBackClick:g,onVendorSelected:y,navigateToBankDetailPage:N,updateSelectedVendorForCreate:I,onRemoveBankAccount:c,updateSaveFetchState:S,onSaveVendor:P,navigateToMailingAddressPage:T,saveVendorDetailLocalData:B,resetVendorDetailLocalData:z,saveContactsInVendorDetailLocalData:V,updateFilesEntity:i,onEditFileName:xe,onFetchAndUpdateVendorRecommendations:ge})=>{const{accountList:{accounts:$e},classList:{classes:be},vendorTypeList:ye,ownerList:fe,editVendorState:J,newVendorState:K,fetchState:ve,hasWireTransfer:X,hasInternationalWireTransfer:R,deleteFileStatusById:we,updateFileStatusById:je,accountsHierarchyList:Ce,classHierarchyList:ke}=e,D=a!=null?J?.vendorDetailLocalData:K?.vendorDetailLocalData,l=Object.assign({},J??K),Se=He(),C=v(),[De,F]=x.useState(!1),[Ae,O]=x.useState(!1),Q=s==="create"?$.newVendorTitle:$.editVendor,Le=(l.bankAccountsUpdated??[]).map(n=>n.bankAccountId).sort(),Ne=(l.vendorBasic?.bankAccounts??[]).map(n=>n.bankAccountId).sort(),Ie=!U(Le,Ne),Pe=(l.paymentInstrumentsUpdated??[]).map(n=>n.paymentInstrumentId).sort(),Te=(l.vendorBasic?.paymentInstruments??[]).map(n=>n.paymentInstrumentId).sort(),Be=!U(Pe,Te),ze=(D?.contacts??[]).filter(n=>n.email!==""||n.fullName!==""||n.phone!=="").map(n=>Ye(n,"contactInfoType")),Ve=l.vendorBasic?.contacts??[],Re=!U(ze,Ve),Fe=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberAch),Oe=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberWireTransfer),Ee=l.paymentInstrumentsUpdated.filter(n=>!!n.piNumber),Z=()=>{O(!0)},Me=n=>{F(n)},Ue={onOkClick:()=>{O(!1),F(!1),z?.(),g()},onCancelClick:()=>{O(!1),F(!1)}},E=x.useRef(null),We=n=>{E.current?.syncFormData(),T(n)},M=(n,qe)=>{E.current?.syncFormData(),N(n,qe)};x.useEffect(()=>{l?.saveStatus?.fetchState==="Completed"&&(S(),g())},[l]);const ee=x.useRef(null);return t.jsxs(Rt,{windowSize:C,children:[t.jsx(_e,{"data-testid":b("vendor-detail-container-nav-bar"),title:Q,backgroundColor:Se.colors.grey4,leftSideComponent:t.jsx(Mt,{onClick:Z,"data-testid":b("create-edit-vendor-nav-bar-back")}),enableTitleOnScroll:!0,scrollableContent:ee,source:"CreateOrEditVendorPage"}),t.jsxs(Ft,{windowSize:C,ref:ee,children:[ve==="In-Progress"?t.jsx(Ot,{children:t.jsx(Ge,{size:"ExtraLarge",start:!0})}):t.jsxs(t.Fragment,{children:[De===!0?t.jsx(ae,{titleComponent:t.jsx(se,{children:$.discardTitle}),descriptionComponent:t.jsx(ie,{children:$.discardDescription}),primaryButtonText:$.discard,secondaryButtonText:$.cancel,action:Ue}):null,C!=="small"?t.jsx(Et,{children:Q}):null,t.jsx(Je,{ref:E,id:re(oe),allAccounts:$e,allClasses:be,accountsHierarchyList:Ce,classHierarchyList:ke,vendorTypeList:ye,allOwners:fe,vendorSearchAutoCompleteData:w,vendorSearchAutoCompleteActions:j,onVendorSelected:y,screenType:s,hasInternationalWireTransfer:R,selectedVendor:l,formLocalData:D,isBankAccountChanged:Ie,isContactListChanged:Re,isPaymentInstrumentChanged:Be,analytics:d,pageBackBtnClicked:Ae,onBackClick:g,onSaveVendor:P,saveContactsInVendorDetailLocalData:V,updateSelectedVendorForCreate:I,saveVendorDetailLocalData:B,updateFilesEntity:i,toggleConfirmationPopup:Me,filesEndPoint:u,authParams:m,onEditFileName:xe,deleteFileStatusById:we,updateFileStatusById:je,onFetchAndUpdateVendorRecommendations:ge,isLocalCurrencyEnabled:p}),X||R?t.jsx(Dt,{addressState:l.vendorNewAddressStatus?.addressToCreate,onUpdateMailingAddress:We}):null,l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode?t.jsx(_,{type:"ach",vendorAccountDetails:Fe,onAddNewAccountDetailClick:()=>M("ach","standard"),onRemoveBankAccount:c}):null,X&&(l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode)?t.jsx(_,{type:"wire",subType:"us-domestic",vendorAccountDetails:Oe,onAddNewAccountDetailClick:()=>M("wire","us-domestic"),onRemoveBankAccount:c}):null,R&&(D?.countryCode!=null&&D.countryCode!=="US"||p)?t.jsx(_,{type:"wire",subType:"international",vendorAccountDetailsInternational:Ee,isLocalCurrencyEnabled:p,onAddNewAccountDetailClick:()=>M("wire","international"),onRemoveBankAccount:c}):null]}),t.jsx(Ut,{})]}),t.jsx(Ke,{formId:re(oe),primaryBtn:{label:$.saveDetails,isLoading:l.saveStatus?.fetchState==="In-Progress",style:{width:A.buttonWidth.value(C)},isDisabled:!1},cancelBtn:{label:Wt.cancel,style:{width:A.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:Z}})]})};export{Zt as default,re as formUniqueName};
281
+ `,$=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,Wt=h.getLocalizedStrings().common.footer,ne=h.getLocalizedStrings().common.currency,Zt=({vendorViewDetails:e,vendorId:a,screenType:s,analytics:d,filesEndPoint:u,authParams:m,vendorSearchAutoCompleteData:v,vendorSearchAutoCompleteActions:j,isLocalCurrencyEnabled:p,onBackClick:g,onVendorSelected:y,navigateToBankDetailPage:I,updateSelectedVendorForCreate:N,onRemoveBankAccount:c,updateSaveFetchState:S,onSaveVendor:P,navigateToMailingAddressPage:T,saveVendorDetailLocalData:B,resetVendorDetailLocalData:z,saveContactsInVendorDetailLocalData:V,updateFilesEntity:i,onEditFileName:xe,onFetchAndUpdateVendorRecommendations:ge})=>{const{accountList:{accounts:$e},classList:{classes:be},vendorTypeList:ye,ownerList:fe,editVendorState:X,newVendorState:G,fetchState:we,hasWireTransfer:J,hasInternationalWireTransfer:F,deleteFileStatusById:ve,updateFileStatusById:je,accountsHierarchyList:Ce,classHierarchyList:ke}=e,D=a!=null?X?.vendorDetailLocalData:G?.vendorDetailLocalData,l=Object.assign({},X??G),Se=qe(),C=w(),[De,R]=x.useState(!1),[Ae,O]=x.useState(!1),K=s==="create"?$.newVendorTitle:$.editVendor,Le=(l.bankAccountsUpdated??[]).map(n=>n.bankAccountId).sort(),Ie=(l.vendorBasic?.bankAccounts??[]).map(n=>n.bankAccountId).sort(),Ne=!U(Le,Ie),Pe=(l.paymentInstrumentsUpdated??[]).map(n=>n.paymentInstrumentId).sort(),Te=(l.vendorBasic?.paymentInstruments??[]).map(n=>n.paymentInstrumentId).sort(),Be=!U(Pe,Te),ze=(D?.contacts??[]).filter(n=>n.email!==""||n.fullName!==""||n.phone!=="").map(n=>Ye(n,"contactInfoType")),Ve=l.vendorBasic?.contacts??[],Fe=!U(ze,Ve),Re=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberAch),Oe=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberWireTransfer),Ee=l.paymentInstrumentsUpdated.filter(n=>!!n.piNumber),Z=()=>{O(!0)},Me=n=>{R(n)},Ue={onOkClick:()=>{O(!1),R(!1),z?.(),g()},onCancelClick:()=>{O(!1),R(!1)}},E=x.useRef(null),We=n=>{E.current?.syncFormData(),T(n)},M=(n,He)=>{E.current?.syncFormData(),I(n,He)};x.useEffect(()=>{l?.saveStatus?.fetchState==="Completed"&&(S(),g())},[l]);const ee=x.useRef(null);return t.jsxs(Ft,{windowSize:C,children:[t.jsx(_e,{"data-testid":b("vendor-detail-container-nav-bar"),title:K,backgroundColor:Se.colors.grey4,leftSideComponent:t.jsx(Mt,{onClick:Z,"data-testid":b("create-edit-vendor-nav-bar-back")}),enableTitleOnScroll:!0,scrollableContent:ee,source:"CreateOrEditVendorPage"}),t.jsxs(Rt,{windowSize:C,ref:ee,children:[we==="In-Progress"?t.jsx(Ot,{children:t.jsx(Qe,{size:"ExtraLarge",start:!0})}):t.jsxs(t.Fragment,{children:[De===!0?t.jsx(ae,{titleComponent:t.jsx(se,{children:$.discardTitle}),descriptionComponent:t.jsx(ie,{children:$.discardDescription}),primaryButtonText:$.discard,secondaryButtonText:$.cancel,action:Ue}):null,C!=="small"?t.jsx(Et,{children:K}):null,t.jsx(Xe,{ref:E,id:re(oe),allAccounts:$e,allClasses:be,accountsHierarchyList:Ce,classHierarchyList:ke,vendorTypeList:ye,allOwners:fe,vendorSearchAutoCompleteData:v,vendorSearchAutoCompleteActions:j,onVendorSelected:y,screenType:s,hasInternationalWireTransfer:F,selectedVendor:l,formLocalData:D,isBankAccountChanged:Ne,isContactListChanged:Fe,isPaymentInstrumentChanged:Be,analytics:d,pageBackBtnClicked:Ae,onBackClick:g,onSaveVendor:P,saveContactsInVendorDetailLocalData:V,updateSelectedVendorForCreate:N,saveVendorDetailLocalData:B,updateFilesEntity:i,toggleConfirmationPopup:Me,filesEndPoint:u,authParams:m,onEditFileName:xe,deleteFileStatusById:ve,updateFileStatusById:je,onFetchAndUpdateVendorRecommendations:ge,isLocalCurrencyEnabled:p}),J||F?t.jsx(Dt,{addressState:l.vendorNewAddressStatus?.addressToCreate,onUpdateMailingAddress:We}):null,l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode?t.jsx(_,{type:"ach",vendorAccountDetails:Re,onAddNewAccountDetailClick:()=>M("ach","standard"),onRemoveBankAccount:c}):null,J&&(l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode)?t.jsx(_,{type:"wire",subType:"us-domestic",vendorAccountDetails:Oe,onAddNewAccountDetailClick:()=>M("wire","us-domestic"),onRemoveBankAccount:c}):null,F&&(D?.countryCode!=null&&D.countryCode!=="US"||p)?t.jsx(_,{type:"wire",subType:"international",vendorAccountDetailsInternational:Ee,isLocalCurrencyEnabled:p,onAddNewAccountDetailClick:()=>M("wire","international"),onRemoveBankAccount:c}):null]}),t.jsx(Ut,{})]}),t.jsx(Ge,{formId:re(oe),primaryBtn:{label:$.saveDetails,isLoading:l.saveStatus?.fetchState==="In-Progress",style:{width:A.buttonWidth.value(C)},isDisabled:!1},cancelBtn:{label:Wt.cancel,style:{width:A.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:Z}})]})};export{Zt as default,re as formUniqueName};
@@ -1,4 +1,4 @@
1
- import{j as a,X as me,d3 as pe,Y as te,gQ as Je,M as V,_ as Te,K as He,d as et,a7 as Pe,o as t,C as d,a6 as je,k as tt,D as at,u as ze,bu as nt,cO as Ee,Q as W,g as Z,fT as Ce,q as ot,l as E,Z as Me,c0 as it,a5 as be,a as rt,e_ as lt,c3 as ct,F as st,cz as dt,f7 as mt,c8 as pt,fG as ut,p as r,bq as ht,bo as Be,cW as gt,ah as yt,s as Oe,fa as ft,f2 as Ct,aa as bt,fb as xt,cq as St,fc as wt,fl as Dt}from"./index-CjViJI82.js";import{n as o,b as p}from"./vendor-CnQcJ2Lu.js";import{x as $t}from"./LabeledControlledCheckBoxField-CKrD5nfN-VcMd1w66.js";import{v as kt}from"./ChargeCardUtils-CtoTn6DQ-CEQAXg_r.js";import{Z as xe}from"./CreditCardPaymentPlgSection-IeRxDnG7-BraPG36j.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.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:vt}},common:{edit:At,labels:Se,currency:we,navBar:{back:Lt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=V.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:L,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:$})=>{const m=me(),T=ze(),P=pe().analytics,[M,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const v=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Kt,{windowSize:m,children:a.jsx(nt,{title:Lt,enterTouchDelay:600,placement:"bottom",children:a.jsx(qt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&P.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},L,y,b),x(!1)}})})}),a.jsx(Xt,{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(Yt,{}),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:()=>{I(!1)},style:{width:t.sp3,height:t.sp3,color:Z.heroLight}})})]})}):null,a.jsx(Zt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:v},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(Vt,{}),a.jsx(Ce,{label:{label:Se.amount,width:v},showAdditionalInfoLabel:!0,additionalInfoLabel:`${$?ee.creditLimitReset:ee.creditLimitUpdate} ${E.zeniDate(E.getNextNthWorkingDay(E.dateNow().toDate(),[0,6],3).toDateString()).format(vt)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:T.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:At,onClick:()=>{i&&h&&n&&P.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},L,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(Gt,{src:Rt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Qt,{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,X as me,d1 as pe,Y as te,gN as Je,M as W,_ as Te,K as He,d as et,a3 as Pe,o as t,C as d,a2 as je,k as tt,R as at,u as ze,bs as nt,cN as Ee,Q as Y,g as X,fQ as Ce,v as ot,l as E,Z as Me,b$ as it,a1 as be,a as rt,eX as lt,c2 as ct,F as st,cy as dt,f4 as mt,c7 as pt,fD as ut,p as r,bo as ht,bm as Be,cV as gt,bF as yt,q as Oe,f7 as ft,e$ as Ct,a6 as bt,f8 as xt,cp as St,f9 as wt,fi as Dt}from"./index-LFy5NlUr.js";import{n as o,b as p}from"./vendor-CnQcJ2Lu.js";import{x as $t}from"./LabeledControlledCheckBoxField-Dr8ND8SA-C9Qzlvtb.js";import{S as kt}from"./ChargeCardUtils-C-37hd5J-B8Ue09Ej.js";import{X as xe}from"./CreditCardPaymentPlgSection-DD7kSp5v-BuL73gip.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.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 Y("h6Regular","h5Regular"),integerAmountInput:new Y("h5Regular","h2Regular"),decimalAmountInput:new Y("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:vt}},common:{edit:At,labels:Se,currency:we,navBar:{back:Lt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=W.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:L,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:$})=>{const m=me(),T=ze(),P=pe().analytics,[M,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const v=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Kt,{windowSize:m,children:a.jsx(nt,{title:Lt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Zt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&P.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},L,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(Yt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:t.sp3,height:t.sp3,color:X.heroLight}})})]})}):null,a.jsx(Xt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:v},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(Wt,{}),a.jsx(Ce,{label:{label:Se.amount,width:v},showAdditionalInfoLabel:!0,additionalInfoLabel:`${$?ee.creditLimitReset:ee.creditLimitUpdate} ${E.zeniDate(E.getNextNthWorkingDay(E.dateNow().toDate(),[0,6],3).toDateString()).format(vt)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:T.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:At,onClick:()=>{i&&h&&n&&P.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},L,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(qt,{src:Rt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Gt,{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`
@@ -20,16 +20,16 @@ import{j as a,X as me,d3 as pe,Y as te,gQ as Je,M as V,_ as Te,K as He,d as et,a
20
20
  width: 100%;
21
21
  justify-content: space-between;
22
22
  padding: ${t.sp3} ${t.sp4};
23
- background-color: ${Z.importantLight};
23
+ background-color: ${X.importantLight};
24
24
  border-radius: ${t.sp2};
25
25
  `,Et=o.div`
26
26
  display: flex;
27
27
  flex-direction: column;
28
28
  margin-left: ${t.sp2};
29
29
  `,Mt=o(yt)`
30
- color: ${Z.important};
30
+ color: ${X.important};
31
31
  `,Bt=o(Oe)`
32
- color: ${Z.important};
32
+ color: ${X.important};
33
33
  `,Ot=o.div`
34
34
  margin-top: ${t.sp3};
35
35
  display: flex;
@@ -47,11 +47,11 @@ import{j as a,X as me,d3 as pe,Y as te,gQ as Je,M as V,_ as Te,K as He,d as et,a
47
47
  `,Nt=o.div`
48
48
  display: flex;
49
49
  align-items: flex-start;
50
- `,Ut=o.div``,Yt=o(gt)`
50
+ `,Ut=o.div``,Vt=o(gt)`
51
51
  width: ${t.sp4};
52
52
  height: ${t.sp4};
53
- color: ${Z.important};
54
- `,Wt=o(je)`
53
+ color: ${X.important};
54
+ `,Yt=o(je)`
55
55
  cursor: pointer;
56
56
  color: ${e=>e.theme.colors.hero};
57
57
  width: ${t.sp4};
@@ -60,18 +60,18 @@ import{j as a,X as me,d3 as pe,Y as te,gQ as Je,M as V,_ as Te,K as He,d as et,a
60
60
  &:hover {
61
61
  color: ${e=>e.theme.colors.primary};
62
62
  }
63
- `,Vt=o.div`
63
+ `,Wt=o.div`
64
64
  display: flex;
65
65
  flex: 1;
66
66
  background-color: ${e=>e.theme.colors.grey3};
67
67
  min-height: 1px;
68
68
  max-height: 1px;
69
- `,Zt=o.div`
69
+ `,Xt=o.div`
70
70
  display: flex;
71
71
  flex-direction: column;
72
72
  padding-top: ${t.sp3};
73
73
  padding-bottom: ${e=>`${ae.reviewContentWrapperPaddingBottom.valuePx(e.windowSize)}`};
74
- `,qt=o(ht)`
74
+ `,Zt=o(ht)`
75
75
  cursor: pointer;
76
76
  color: ${e=>e.theme.colors.hero};
77
77
  width: ${t.sp4};
@@ -90,17 +90,17 @@ import{j as a,X as me,d3 as pe,Y as te,gQ as Je,M as V,_ as Te,K as He,d as et,a
90
90
  padding: ${e=>`${ae.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
91
91
  z-index: 2;
92
92
  background-color: ${e=>e.theme.colors.grey4};
93
- `,Xt=o(Me)`
93
+ `,Qt=o(Me)`
94
94
  ${e=>`${de.pageTitle.style(e.windowSize)}`};
95
95
  color: ${e=>e.theme.colors.primary};
96
96
  padding: ${t.sp3} ${t.sp0} ${t.sp3} ${t.sp0};
97
- `,Gt=o.img`
97
+ `,qt=o.img`
98
98
  display: flex;
99
99
  width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
100
100
  height: ${e=>e.isOptionSelected?t.sp4:t.sp5};
101
101
  min-width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
102
102
  margin-right: ${t.sp2};
103
- `,Qt=o.div`
103
+ `,Gt=o.div`
104
104
  min-width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
105
105
  width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
106
106
  height: ${e=>e.isOptionSelected?t.sp4:t.sp5};
@@ -126,7 +126,7 @@ import{j as a,X as me,d3 as pe,Y as te,gQ as Je,M as V,_ as Te,K as He,d as et,a
126
126
  margin-right: 12px;
127
127
  margin-left: ${t.sp1};
128
128
  color: ${e=>e.theme.colors.hero};
129
- `,{common:se,spendManagement:{zeniAccounts:{zeniAccountList:aa},billPay:{insufficientFunds:na},chargeCard:{payEarly:U}},commonSetUp:{setUp:{accountsPlg:ie}}}=V.getLocalizedStrings(),Ne="amount",oa="withdrawFrom",B="paymentDetails",Ue="creditCardPaymentPage",re=(e,i)=>`${e}.${i}`,Ye=e=>`${e}_form`,S={largeLabelWidth:new d(120,120,160),labelMarginLeftPicker:new d(r[3],r[4]),labelMarginRightPicker:new d(r[3],r[4]),labelMarginTopPicker:new d(r[2],r[2]),labeledFieldPaddingLeft:new d(r[2],r[0]),labeledFieldPaddingRight:new d(r[2],r[2]),labeledFieldPaddingTop:new d(r[2],r[2]),labeledFieldPaddingBottom:new d(r[2],r[2]),infoLabelPaddingRight:new d(r[0],r[3]),infoLabelMarginTop:new d(r[1],r[0]),checkBoxTop:new d(r[1],r[0])},$e={integerAmountInput:new W("h5Regular","h2Regular"),decimalAmountInput:new W("largeSemiBold","h5Medium")};function ia({autoPayThreshold:e,plaidConnectionDetails:i,maxInsuredAmount:h,paymentDetails:n,lowBalanceAdditionalInfo:g,paymentAccount:c,isAccountsEnabled:f,onSaveChangesToLocalStore:L,onUpdatePaymentAccountStatus:y,onEstablishConnectionClick:b,onEstablishConnectionSuccess:x,onFetchLinkTokenClick:C,setShowReviewLoading:$,onSignUpAccountClick:m,onMoveMoneyClick:T,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:M,isDebitCardInfoFetchStateCompleted:I,controllerEmails:v,productInformation:q,cashbackInformation:K,paymentSourceInformation:X,creditAccountInformation:G,debitAccountInformation:Q}){const s=me(),le=ze(),w=S.largeLabelWidth.value(s),J=pe().analytics,H=p.useRef(null),[j,z]=p.useState(!1),[F,O]=p.useState(void 0),A=i.link_account,oe=i.update_account,k=F==="update_account"?oe:A,[_,ue]=p.useState(k.linkToken??null),he=be(A.updateStatus.fetchState),N=rt({mode:"all",reValidateMode:"onBlur",defaultValues:p.useMemo(()=>ke(n),[n]),values:p.useMemo(()=>ke(n),[n])}),ge=c?.isLoginRequired??!1,D=c?.providerVerificationStatus?.code,ye=be(oe.updateStatus.fetchState),We=p.useCallback((l,u)=>{const R=u.accounts.find(Qe=>Qe.id===c?.providerAccountId)??u.accounts[0];c?.paymentAccountId!=null&&F==="update_account"&&R?.verification_status!=null&&!ge?y(R?.verification_status,c.paymentAccountId,"update_account"):b?.(l,F),O(void 0),z(!1)},[c?.paymentAccountId,c?.providerAccountId,F,ge,y,b]),Ve=p.useCallback((l,u)=>{l!=null&&(l.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&c?.paymentAccountId!=null&&y("verification_failed",c.paymentAccountId,"update_account"),console.log("Plaid Connection Error",l,u)),O(void 0),z(!1)},[c?.paymentAccountId,y]),{open:ce,ready:fe}=lt({token:_,onSuccess:We,onExit:Ve});p.useEffect(()=>{(he==="In-Progress"&&A.updateStatus.fetchState==="Completed"||ye==="In-Progress"&&oe.updateStatus.fetchState==="Completed")&&D!=="verified"&&D!=="manually_verified"&&D!=="automatically_verified"&&D!=="database_matched"&&(C?.("link_account"),x())},[A.updateStatus.fetchState,x,C,he,ye,oe.updateStatus.fetchState,D]),p.useEffect(()=>{(E.isVerifiedStatusCode(D??"")||D==="verification_failed")&&!j&&F!=null&&k.linkToken===_&&k.fetchStatus.fetchState==="Completed"&&fe&&z(!0)},[fe,_,k.fetchStatus.fetchState,k.linkToken,D,F,j]),p.useEffect(()=>{k.fetchStatus.fetchState==="Completed"&&k.linkToken!=null&&k.linkToken!==_&&ue(k.linkToken)},[k.fetchStatus.fetchState,k.linkToken,_]),p.useEffect(()=>{j&&ce()},[j,ce]),p.useEffect(()=>{(D==null||D==="verification_failed"||D==="verification_expired"||E.isVerifiedStatusCode(D))&&(E.zeniDate(new Date().toISOString()).isAfter(A.expiration)||A.linkToken==null)&&C?.("link_account")},[]);const{isValid:Ze}=N.formState,qe=async(l,u)=>{if(l!=null){if(l.includes("amount"))return;const R=ve(u,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(R)}},Ke=l=>{if(g!=null)return g;const u=n.transferFromAccounts.find(R=>R.id===l);return u?.accountBalance?.available!=null&&E.checkIfLowBalance(n.chargeCardRepaymentDetailLocalData.amount,u?.accountBalance?.available)?na.addMoney:""};p.useEffect(()=>{const l=N.watch((u,{name:R})=>{R!=null&&u!=null&&ct(()=>qe(R,u))});return()=>{l.unsubscribe()}});const Xe=N.watch("paymentDetails.amount"),Ge=N.handleSubmit(()=>{if(Ze){const l=N.getValues(),u=ve(l,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(u),$(!0),P&&M&&I&&J.trackCardsPayEarlyFormClick(v,q,K,"Review",n.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:n.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:n.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:n.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:n.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},X,G,Q)}});return a.jsxs(a.Fragment,{children:[a.jsx(da,{children:a.jsx(Ee,{amount:{amount:Xe??0,currencyCode:n.chargeCardRepaymentDetailLocalData.amount.currencyCode,currencySymbol:n.chargeCardRepaymentDetailLocalData.amount.currencySymbol},integerStyles:$e.integerAmountInput.styleObject(s),decimalStyles:$e.decimalAmountInput.styleObject(s)})}),a.jsx(st,{...N,children:a.jsx(sa,{id:Ye(Ue),onSubmit:Ge,children:a.jsxs(ma,{children:[a.jsx(dt,{selectRef:H,label:{label:se.labels.transferFrom,width:w,style:{marginLeft:S.labelMarginLeftPicker.valuePx(s),marginTop:S.labelMarginTopPicker.valuePx(s),marginRight:S.labelMarginRightPicker.valuePx(s),width:S.largeLabelWidth.value(s)}},style:{paddingTop:S.labeledFieldPaddingTop.valuePx(s),paddingBottom:S.labeledFieldPaddingBottom.valuePx(s),paddingLeft:S.labeledFieldPaddingLeft.valuePx(s),paddingRight:S.labeledFieldPaddingRight.valuePx(s),border:"none",width:"auto",display:"flex"},infoLabelStyle:{textAlign:"right",paddingRight:S.infoLabelPaddingRight.valuePx(s),marginTop:S.infoLabelMarginTop.valuePx(s),color:Z.brandColorGoldDark},bottomComponent:a.jsx($t,{label:{label:U.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{textAlign:s==="small"?"end":"center",color:le.colors.primary}},style:{width:"unset",marginRight:t.sp3,alignItems:s==="small"?"flex-start":"center"},checkBoxField:{name:re(B,"enableAutoPay"),checkBoxValue:re(B,"enableAutoPay"),defaultChecked:n.chargeCardRepaymentDetailLocalData.isAutoRepayment,style:{top:S.checkBoxTop.valuePx(s)}}}),singleSelectPickerField:{name:re(B,oa),placeholder:pt(se.labels.transferFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(l,u)=>_e(n.transferFromAccounts,l,u),valueToSubLabels:(l,u)=>mt(n.transferFromAccounts,l,u,!0),defaultValue:{selectedOption:n.chargeCardRepaymentDetailLocalData.transferFrom?.id,allOptions:n.transferFromAccounts.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="depositAccount"}))},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption},showCreateOption:!0,onClickCreateOption:()=>{O("link_account"),A.linkToken==null||E.zeniDate(new Date().toISOString()).isAfter(A.expiration)?C?.("link_account"):_!==A.linkToken?ue(A.linkToken):j?ce():z(!0)}},valueToAdditionalLabel:Ke}),n?.chargeCardRepaymentDetailLocalData.transferFrom==null||n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="paymentAccount"?a.jsx(xe,{maxInsuredAmount:h,heading:a.jsxs(ra,{windowSize:s,children:[U.earn,a.jsx(la,{children:U.percentageCashback.replace("__percentage__",kt)}),U.whenYouPayViaZeniChecking]}),buttonText:f?ie.switchButtonText:ie.signUpButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onSignUpClick:m,onSwitchClick:()=>{H.current!=null&&H.current.focus()}}):n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"&&n?.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available.amount<n.chargeCardRepaymentDetailLocalData.amount.amount?a.jsx(xe,{maxInsuredAmount:h,heading:ie.moveMoneyHeading,buttonText:ie.moveMoneyButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onMoveMoneyClick:T}):a.jsx(ca,{}),a.jsx(ut,{showAdditionalInfoLabel:!1,label:{label:se.labels.amount,width:w},formattedTextField:{type:"number",name:re(B,Ne),defaultValue:n.chargeCardRepaymentDetailLocalData.amount.amount===0?void 0:n.chargeCardRepaymentDetailLocalData.amount.amount,placeholder:aa.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto",paddingLeft:S.labeledFieldPaddingLeft.valuePx(s)}})]})})})]})}const ra=o(bt)`
129
+ `,{common:se,spendManagement:{zeniAccounts:{zeniAccountList:aa},billPay:{insufficientFunds:na},chargeCard:{payEarly:U}},commonSetUp:{setUp:{accountsPlg:ie}}}=W.getLocalizedStrings(),Ne="amount",oa="withdrawFrom",B="paymentDetails",Ue="creditCardPaymentPage",re=(e,i)=>`${e}.${i}`,Ve=e=>`${e}_form`,S={largeLabelWidth:new d(120,120,160),labelMarginLeftPicker:new d(r[3],r[4]),labelMarginRightPicker:new d(r[3],r[4]),labelMarginTopPicker:new d(r[2],r[2]),labeledFieldPaddingLeft:new d(r[2],r[0]),labeledFieldPaddingRight:new d(r[2],r[2]),labeledFieldPaddingTop:new d(r[2],r[2]),labeledFieldPaddingBottom:new d(r[2],r[2]),infoLabelPaddingRight:new d(r[0],r[3]),infoLabelMarginTop:new d(r[1],r[0]),checkBoxTop:new d(r[1],r[0])},$e={integerAmountInput:new Y("h5Regular","h2Regular"),decimalAmountInput:new Y("largeSemiBold","h5Medium")};function ia({autoPayThreshold:e,plaidConnectionDetails:i,maxInsuredAmount:h,paymentDetails:n,lowBalanceAdditionalInfo:g,paymentAccount:c,isAccountsEnabled:f,onSaveChangesToLocalStore:L,onUpdatePaymentAccountStatus:y,onEstablishConnectionClick:b,onEstablishConnectionSuccess:x,onFetchLinkTokenClick:C,setShowReviewLoading:$,onSignUpAccountClick:m,onMoveMoneyClick:T,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:M,isDebitCardInfoFetchStateCompleted:I,controllerEmails:v,productInformation:Z,cashbackInformation:K,paymentSourceInformation:Q,creditAccountInformation:q,debitAccountInformation:G}){const s=me(),le=ze(),w=S.largeLabelWidth.value(s),J=pe().analytics,H=p.useRef(null),[j,z]=p.useState(!1),[F,O]=p.useState(void 0),A=i.link_account,oe=i.update_account,k=F==="update_account"?oe:A,[_,ue]=p.useState(k.linkToken??null),he=be(A.updateStatus.fetchState),N=rt({mode:"all",reValidateMode:"onBlur",defaultValues:p.useMemo(()=>ke(n),[n]),values:p.useMemo(()=>ke(n),[n])}),ge=c?.isLoginRequired??!1,D=c?.providerVerificationStatus?.code,ye=be(oe.updateStatus.fetchState),Ye=p.useCallback((l,u)=>{const R=u.accounts.find(Ge=>Ge.id===c?.providerAccountId)??u.accounts[0];c?.paymentAccountId!=null&&F==="update_account"&&R?.verification_status!=null&&!ge?y(R?.verification_status,c.paymentAccountId,"update_account"):b?.(l,F),O(void 0),z(!1)},[c?.paymentAccountId,c?.providerAccountId,F,ge,y,b]),We=p.useCallback((l,u)=>{l!=null&&(l.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&c?.paymentAccountId!=null&&y("verification_failed",c.paymentAccountId,"update_account"),console.log("Plaid Connection Error",l,u)),O(void 0),z(!1)},[c?.paymentAccountId,y]),{open:ce,ready:fe}=lt({token:_,onSuccess:Ye,onExit:We});p.useEffect(()=>{(he==="In-Progress"&&A.updateStatus.fetchState==="Completed"||ye==="In-Progress"&&oe.updateStatus.fetchState==="Completed")&&D!=="verified"&&D!=="manually_verified"&&D!=="automatically_verified"&&D!=="database_matched"&&(C?.("link_account"),x())},[A.updateStatus.fetchState,x,C,he,ye,oe.updateStatus.fetchState,D]),p.useEffect(()=>{(E.isVerifiedStatusCode(D??"")||D==="verification_failed")&&!j&&F!=null&&k.linkToken===_&&k.fetchStatus.fetchState==="Completed"&&fe&&z(!0)},[fe,_,k.fetchStatus.fetchState,k.linkToken,D,F,j]),p.useEffect(()=>{k.fetchStatus.fetchState==="Completed"&&k.linkToken!=null&&k.linkToken!==_&&ue(k.linkToken)},[k.fetchStatus.fetchState,k.linkToken,_]),p.useEffect(()=>{j&&ce()},[j,ce]),p.useEffect(()=>{(D==null||D==="verification_failed"||D==="verification_expired"||E.isVerifiedStatusCode(D))&&(E.zeniDate(new Date().toISOString()).isAfter(A.expiration)||A.linkToken==null)&&C?.("link_account")},[]);const{isValid:Xe}=N.formState,Ze=async(l,u)=>{if(l!=null){if(l.includes("amount"))return;const R=ve(u,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(R)}},Ke=l=>{if(g!=null)return g;const u=n.transferFromAccounts.find(R=>R.id===l);return u?.accountBalance?.available!=null&&E.checkIfLowBalance(n.chargeCardRepaymentDetailLocalData.amount,u?.accountBalance?.available)?na.addMoney:""};p.useEffect(()=>{const l=N.watch((u,{name:R})=>{R!=null&&u!=null&&ct(()=>Ze(R,u))});return()=>{l.unsubscribe()}});const Qe=N.watch("paymentDetails.amount"),qe=N.handleSubmit(()=>{if(Xe){const l=N.getValues(),u=ve(l,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(u),$(!0),P&&M&&I&&J.trackCardsPayEarlyFormClick(v,Z,K,"Review",n.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:n.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:n.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:n.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:n.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},Q,q,G)}});return a.jsxs(a.Fragment,{children:[a.jsx(da,{children:a.jsx(Ee,{amount:{amount:Qe??0,currencyCode:n.chargeCardRepaymentDetailLocalData.amount.currencyCode,currencySymbol:n.chargeCardRepaymentDetailLocalData.amount.currencySymbol},integerStyles:$e.integerAmountInput.styleObject(s),decimalStyles:$e.decimalAmountInput.styleObject(s)})}),a.jsx(st,{...N,children:a.jsx(sa,{id:Ve(Ue),onSubmit:qe,children:a.jsxs(ma,{children:[a.jsx(dt,{selectRef:H,label:{label:se.labels.transferFrom,width:w,style:{marginLeft:S.labelMarginLeftPicker.valuePx(s),marginTop:S.labelMarginTopPicker.valuePx(s),marginRight:S.labelMarginRightPicker.valuePx(s),width:S.largeLabelWidth.value(s)}},style:{paddingTop:S.labeledFieldPaddingTop.valuePx(s),paddingBottom:S.labeledFieldPaddingBottom.valuePx(s),paddingLeft:S.labeledFieldPaddingLeft.valuePx(s),paddingRight:S.labeledFieldPaddingRight.valuePx(s),border:"none",width:"auto",display:"flex"},infoLabelStyle:{textAlign:"right",paddingRight:S.infoLabelPaddingRight.valuePx(s),marginTop:S.infoLabelMarginTop.valuePx(s),color:X.brandColorGoldDark},bottomComponent:a.jsx($t,{label:{label:U.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{textAlign:s==="small"?"end":"center",color:le.colors.primary}},style:{width:"unset",marginRight:t.sp3,alignItems:s==="small"?"flex-start":"center"},checkBoxField:{name:re(B,"enableAutoPay"),checkBoxValue:re(B,"enableAutoPay"),defaultChecked:n.chargeCardRepaymentDetailLocalData.isAutoRepayment,style:{top:S.checkBoxTop.valuePx(s)}}}),singleSelectPickerField:{name:re(B,oa),placeholder:pt(se.labels.transferFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(l,u)=>_e(n.transferFromAccounts,l,u),valueToSubLabels:(l,u)=>mt(n.transferFromAccounts,l,u,!0),defaultValue:{selectedOption:n.chargeCardRepaymentDetailLocalData.transferFrom?.id,allOptions:n.transferFromAccounts.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="depositAccount"}))},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption},showCreateOption:!0,onClickCreateOption:()=>{O("link_account"),A.linkToken==null||E.zeniDate(new Date().toISOString()).isAfter(A.expiration)?C?.("link_account"):_!==A.linkToken?ue(A.linkToken):j?ce():z(!0)}},valueToAdditionalLabel:Ke}),n?.chargeCardRepaymentDetailLocalData.transferFrom==null||n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="paymentAccount"?a.jsx(xe,{maxInsuredAmount:h,heading:a.jsxs(ra,{windowSize:s,children:[U.earn,a.jsx(la,{children:U.percentageCashback.replace("__percentage__",kt)}),U.whenYouPayViaZeniChecking]}),buttonText:f?ie.switchButtonText:ie.signUpButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onSignUpClick:m,onSwitchClick:()=>{H.current!=null&&H.current.focus()}}):n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"&&n?.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available.amount<n.chargeCardRepaymentDetailLocalData.amount.amount?a.jsx(xe,{maxInsuredAmount:h,heading:ie.moveMoneyHeading,buttonText:ie.moveMoneyButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onMoveMoneyClick:T}):a.jsx(ca,{}),a.jsx(ut,{showAdditionalInfoLabel:!1,label:{label:se.labels.amount,width:w},formattedTextField:{type:"number",name:re(B,Ne),defaultValue:n.chargeCardRepaymentDetailLocalData.amount.amount===0?void 0:n.chargeCardRepaymentDetailLocalData.amount.amount,placeholder:aa.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto",paddingLeft:S.labeledFieldPaddingLeft.valuePx(s)}})]})})})]})}const ra=o(bt)`
130
130
  color: ${e=>e.theme.colors.primary};
131
131
  width: ${e=>e.windowSize==="small"?"80%":"100%"};
132
132
  `,la=o(xt)`
@@ -154,7 +154,7 @@ import{j as a,X as me,d3 as pe,Y as te,gQ as Je,M as V,_ as Te,K as He,d as et,a
154
154
  border: 1px solid ${e=>e.theme.colors.grey3};
155
155
  box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
156
156
  border-radius: ${t.sp2};
157
- `,ve=(e,i,h)=>({amount:{amount:e[B].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:i.find(n=>n.id===e[B].withdrawFrom.selectedOption),isAutoRepayment:e[B].enableAutoPay,idempotencyKey:h}),ne={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),successContentMargin:new d(r[3],r[12]),buttonTrayGap:new d(r[4],r[5])},pa={sectionTitle:new W("h6Regular","h5Regular")},Ae=V.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,Y=V.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:Le}=V.getLocalizedStrings(),ua=({autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:h,isAccountsEnabled:n,productInformation:g,controllerEmails:c,creditAccountInformation:f,creditAccountSpentAmount:L,debitAccountInformation:y,cashbackInformation:b,paymentSourceInformation:x,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:$,isDebitCardInfoFetchStateCompleted:m,paymentInitiatedDate:T,onSaveChangesToLocalStore:P,onTransferClick:M,goToCards:I,onDismissClick:v,onEstablishConnectionClick:q,onFetchLinkTokenClick:K,plaidConnectionDetails:X,onSignUpAccountClick:G,onMoveMoneyClick:Q,onUpdatePaymentAccountStatus:s,onEstablishConnectionSuccess:le})=>{const w=me(),J=pe().analytics,[H,j]=p.useState(!1),[z,F]=p.useState(!1);p.useEffect(()=>{z&&setTimeout(()=>{F(!1),j(!0)},1e3)},[z]);const O=i.chargeCardRepaymentDetailLocalData.amount.amount===L;return a.jsx(ha,{windowSize:w,children:i.updateStatus==="Completed"?a.jsxs(Ie,{windowSize:w,isTransferCompleted:!0,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Re,{"data-testid":te("cross-credit-card-payment-success-close-button"),onClick:()=>{C&&$&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,f,y),v?.()}})}),a.jsxs(Ca,{windowSize:w,children:[a.jsx(Je,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),a.jsx(ga,{children:a.jsxs(a.Fragment,{children:[Y.youvePaid,a.jsx(ya,{children:Te("0,0.[00]",i.chargeCardRepaymentDetailLocalData.amount)}),Ae.transferDrawer.internal.transferSuccessMsgMidfix,`"${i.chargeCardRepaymentDetailLocalData.transferFrom?.label}".`,O?Y.theCreditLimitWillResetWithin23BusinessDays:Y.theCreditLimitWillUpdateWithin23BusinessDays]})}),a.jsx(fa,{windowSize:w,children:a.jsx(He,{variant:"primary",label:Y.goToCards,"data-testid":te("back-to-cards-button"),onClick:I})})]})]}):H?a.jsx(Ft,{paymentDetails:i,setShowReviewContent:j,onTransferClick:M,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:$,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:b,paymentSourceInformation:x,creditAccountInformation:f,debitAccountInformation:y,isCompleteOutstandingBalanceBeingPaid:O}):a.jsxs(a.Fragment,{children:[a.jsxs(Ie,{windowSize:w,isTransferCompleted:!1,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Re,{"data-testid":te("cross-amount-details-close-button"),onClick:()=>{C&&$&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:T?.add(3,"day").format(Le.visual.MMMDCommaYYYYformat),paymentInitiatedDate:T?.format(Le.visual.MMMDCommaYYYYformat)},x,f,y),v?.()}})}),w==="small"?a.jsx(ba,{windowSize:w,children:Y.payCreditCardBalance}):a.jsx(xa,{children:Y.payCreditCardBalance}),i.fetchState==="Completed"?a.jsx(ia,{autoPayThreshold:e,maxInsuredAmount:h,onSaveChangesToLocalStore:P,plaidConnectionDetails:X,paymentDetails:i,setShowReviewLoading:F,onEstablishConnectionSuccess:le,isAccountsEnabled:n,onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:s,onEstablishConnectionClick:q,onSignUpAccountClick:G,onMoveMoneyClick:Q,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:$,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:b,paymentSourceInformation:x,creditAccountInformation:f,debitAccountInformation:y}):a.jsx(et,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:Ye(Ue),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:V.getLocalizedStrings().common.review,isLoading:z},cancelBtn:{label:Ae.transferDrawer.cancelBtn,onClick:()=>{C&&$&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cancel",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,f,y),v?.()}}})]})})},ha=o.div`
157
+ `,ve=(e,i,h)=>({amount:{amount:e[B].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:i.find(n=>n.id===e[B].withdrawFrom.selectedOption),isAutoRepayment:e[B].enableAutoPay,idempotencyKey:h}),ne={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),successContentMargin:new d(r[3],r[12]),buttonTrayGap:new d(r[4],r[5])},pa={sectionTitle:new Y("h6Regular","h5Regular")},Ae=W.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,V=W.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:Le}=W.getLocalizedStrings(),ua=({autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:h,isAccountsEnabled:n,productInformation:g,controllerEmails:c,creditAccountInformation:f,creditAccountSpentAmount:L,debitAccountInformation:y,cashbackInformation:b,paymentSourceInformation:x,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:$,isDebitCardInfoFetchStateCompleted:m,paymentInitiatedDate:T,onSaveChangesToLocalStore:P,onTransferClick:M,goToCards:I,onDismissClick:v,onEstablishConnectionClick:Z,onFetchLinkTokenClick:K,plaidConnectionDetails:Q,onSignUpAccountClick:q,onMoveMoneyClick:G,onUpdatePaymentAccountStatus:s,onEstablishConnectionSuccess:le})=>{const w=me(),J=pe().analytics,[H,j]=p.useState(!1),[z,F]=p.useState(!1);p.useEffect(()=>{z&&setTimeout(()=>{F(!1),j(!0)},1e3)},[z]);const O=i.chargeCardRepaymentDetailLocalData.amount.amount===L;return a.jsx(ha,{windowSize:w,children:i.updateStatus==="Completed"?a.jsxs(Ie,{windowSize:w,isTransferCompleted:!0,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Re,{"data-testid":te("cross-credit-card-payment-success-close-button"),onClick:()=>{C&&$&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,f,y),v?.()}})}),a.jsxs(Ca,{windowSize:w,children:[a.jsx(Je,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),a.jsx(ga,{children:a.jsxs(a.Fragment,{children:[V.youvePaid,a.jsx(ya,{children:Te("0,0.[00]",i.chargeCardRepaymentDetailLocalData.amount)}),Ae.transferDrawer.internal.transferSuccessMsgMidfix,`"${i.chargeCardRepaymentDetailLocalData.transferFrom?.label}".`,O?V.theCreditLimitWillResetWithin23BusinessDays:V.theCreditLimitWillUpdateWithin23BusinessDays]})}),a.jsx(fa,{windowSize:w,children:a.jsx(He,{variant:"primary",label:V.goToCards,"data-testid":te("back-to-cards-button"),onClick:I})})]})]}):H?a.jsx(Ft,{paymentDetails:i,setShowReviewContent:j,onTransferClick:M,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:$,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:b,paymentSourceInformation:x,creditAccountInformation:f,debitAccountInformation:y,isCompleteOutstandingBalanceBeingPaid:O}):a.jsxs(a.Fragment,{children:[a.jsxs(Ie,{windowSize:w,isTransferCompleted:!1,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Re,{"data-testid":te("cross-amount-details-close-button"),onClick:()=>{C&&$&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:T?.add(3,"day").format(Le.visual.MMMDCommaYYYYformat),paymentInitiatedDate:T?.format(Le.visual.MMMDCommaYYYYformat)},x,f,y),v?.()}})}),w==="small"?a.jsx(ba,{windowSize:w,children:V.payCreditCardBalance}):a.jsx(xa,{children:V.payCreditCardBalance}),i.fetchState==="Completed"?a.jsx(ia,{autoPayThreshold:e,maxInsuredAmount:h,onSaveChangesToLocalStore:P,plaidConnectionDetails:Q,paymentDetails:i,setShowReviewLoading:F,onEstablishConnectionSuccess:le,isAccountsEnabled:n,onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:s,onEstablishConnectionClick:Z,onSignUpAccountClick:q,onMoveMoneyClick:G,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:$,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:b,paymentSourceInformation:x,creditAccountInformation:f,debitAccountInformation:y}):a.jsx(et,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:Ve(Ue),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:W.getLocalizedStrings().common.review,isLoading:z},cancelBtn:{label:Ae.transferDrawer.cancelBtn,onClick:()=>{C&&$&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cancel",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,f,y),v?.()}}})]})})},ha=o.div`
158
158
  display: flex;
159
159
  flex-direction: column;
160
160
  background-color: ${e=>e.theme.colors.grey4};
@@ -214,7 +214,7 @@ import{j as a,X as me,d3 as pe,Y as te,gQ as Je,M as V,_ as Te,K as He,d as et,a
214
214
  color: ${e=>e.theme.colors.primary};
215
215
  margin-top: ${t.sp3};
216
216
  margin-bottom: ${t.sp2};
217
- `,ja=({autoPayThreshold:e,paymentDetails:i,isZeniAccountSetupEnabled:h,maxInsuredAmount:n,onUpdatePaymentAccountStatus:g,onSaveChangesToLocalStore:c,creditAccountSpentAmount:f,onTransferClick:L,controllerEmails:y,productInformation:b,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:$,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:T,isCreditCardInfoFetchStateCompleted:P,isDebitCardInfoFetchStateCompleted:M,goToCards:I,onDismissClick:v,onEstablishConnectionClick:q,onEstablishConnectionSuccess:K,onFetchLinkTokenClick:X,plaidConnectionDetails:G,onSignUpAccountClick:Q,onMoveMoneyClick:s})=>a.jsx(Sa,{children:a.jsx(ua,{autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:n,productInformation:b,controllerEmails:y,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:$,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:T,isCreditCardInfoFetchStateCompleted:P,isDebitCardInfoFetchStateCompleted:M,creditAccountSpentAmount:f,onSaveChangesToLocalStore:c,onTransferClick:L,goToCards:I,onDismissClick:v,plaidConnectionDetails:G,isAccountsEnabled:h,onEstablishConnectionClick:q,onFetchLinkTokenClick:X,onUpdatePaymentAccountStatus:g,onEstablishConnectionSuccess:K,onSignUpAccountClick:Q,onMoveMoneyClick:s})}),Sa=o.div`
217
+ `,ja=({autoPayThreshold:e,paymentDetails:i,isZeniAccountSetupEnabled:h,maxInsuredAmount:n,onUpdatePaymentAccountStatus:g,onSaveChangesToLocalStore:c,creditAccountSpentAmount:f,onTransferClick:L,controllerEmails:y,productInformation:b,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:$,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:T,isCreditCardInfoFetchStateCompleted:P,isDebitCardInfoFetchStateCompleted:M,goToCards:I,onDismissClick:v,onEstablishConnectionClick:Z,onEstablishConnectionSuccess:K,onFetchLinkTokenClick:Q,plaidConnectionDetails:q,onSignUpAccountClick:G,onMoveMoneyClick:s})=>a.jsx(Sa,{children:a.jsx(ua,{autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:n,productInformation:b,controllerEmails:y,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:$,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:T,isCreditCardInfoFetchStateCompleted:P,isDebitCardInfoFetchStateCompleted:M,creditAccountSpentAmount:f,onSaveChangesToLocalStore:c,onTransferClick:L,goToCards:I,onDismissClick:v,plaidConnectionDetails:q,isAccountsEnabled:h,onEstablishConnectionClick:Z,onFetchLinkTokenClick:Q,onUpdatePaymentAccountStatus:g,onEstablishConnectionSuccess:K,onSignUpAccountClick:G,onMoveMoneyClick:s})}),Sa=o.div`
218
218
  display: flex;
219
219
  flex-direction: column;
220
220
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,24 +1,24 @@
1
- import{X as j,u as M,M as L,aJ as R,a0 as T,j as i,Y as b,K as W,bD as H,o as l,g as n,C as a,aQ as U,ah as D,ee as G,v as J,p as o}from"./index-CjViJI82.js";import{n as t}from"./vendor-CnQcJ2Lu.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]),buttonRightMargin:new a(o[0],20)};function V({heading:e,buttonText:c,analytics:g,maxInsuredAmount:u,pageName:h,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:$}){const d=j(),f=M(),{common:v,commonSetUp:P}=L.getLocalizedStrings(),s=P.setUp.accountsPlg,z=()=>{switch(c){case s.signUpButtonText:g?.trackPlgPromoClicked(h,"Sign Up for Free"),S?.();break;case s.switchButtonText:g?.trackPlgPromoClicked(h,"Switch Now"),y?.();break;default:g?.trackPlgPromoClicked(h,"Move Money"),$?.()}},k=R(T(u),u,v.currency.currencySymbol).toUpperCase();return i.jsxs(F,{windowSize:d,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(_,{children:[i.jsx(A,{windowSize:d,isDarkMode:f.mode==="dark",children:i.jsx(E,{windowSize:d,children:i.jsx(O,{})})}),i.jsx(N,{children:i.jsxs(Y,{children:[i.jsx(B,{windowSize:d,children:e}),i.jsxs(q,{windowSize:d,children:[i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.two.replace("__amount__",k)})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.three})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.four})]})]})]})})]}),i.jsx(K,{windowSize:d,children:i.jsx(W,{label:c,"data-testid":b("accounts-plg-button",c),onClick:C=>{C.stopPropagation(),z()},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:H.regular}})})]})}const _=t.div`
1
+ import{X as j,u as M,M as L,aa as R,a0 as T,j as i,Y as b,K as W,bB as H,o as l,g as n,C as a,aQ as U,bF as B,ax as G,w as _,p as o}from"./index-LFy5NlUr.js";import{n as t}from"./vendor-CnQcJ2Lu.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]),buttonRightMargin:new a(o[0],20)};function Q({heading:e,buttonText:c,analytics:g,maxInsuredAmount:u,pageName:h,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:$}){const d=j(),f=M(),{common:v,commonSetUp:P}=L.getLocalizedStrings(),s=P.setUp.accountsPlg,z=()=>{switch(c){case s.signUpButtonText:g?.trackPlgPromoClicked(h,"Sign Up for Free"),S?.();break;case s.switchButtonText:g?.trackPlgPromoClicked(h,"Switch Now"),y?.();break;default:g?.trackPlgPromoClicked(h,"Move Money"),$?.()}},k=R(T(u),u,v.currency.currencySymbol).toUpperCase();return i.jsxs(Y,{windowSize:d,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(D,{children:[i.jsx(X,{windowSize:d,isDarkMode:f.mode==="dark",children:i.jsx(K,{windowSize:d,children:i.jsx(O,{})})}),i.jsx(A,{children:i.jsxs(E,{children:[i.jsx(J,{windowSize:d,children:e}),i.jsxs(I,{windowSize:d,children:[i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.two.replace("__amount__",k)})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.three})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.four})]})]})]})})]}),i.jsx(F,{windowSize:d,children:i.jsx(W,{label:c,"data-testid":b("accounts-plg-button",c),onClick:C=>{C.stopPropagation(),z()},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:H.regular}})})]})}const D=t.div`
2
2
  display: flex;
3
3
  align-items: center;
4
- `,B=t(D)`
4
+ `,J=t(B)`
5
5
  color: ${e=>e.theme.colors.primary};
6
6
  width: 100%;
7
- `,K=t.div`
7
+ `,F=t.div`
8
8
  display: flex;
9
9
  color: inherit;
10
10
  margin-bottom: auto;
11
11
  margin-left: ${e=>r.buttonLeftMargin.valuePx(e.windowSize)};
12
12
  margin-top: ${e=>r.buttonTopMargin.valuePx(e.windowSize)};
13
13
  margin-right: ${e=>r.buttonRightMargin.valuePx(e.windowSize)};
14
- `,E=t.div`
14
+ `,K=t.div`
15
15
  width: ${e=>r.iconWidthHeight.valuePx(e.windowSize)};
16
16
  height: ${e=>r.iconWidthHeight.valuePx(e.windowSize)};
17
17
  `,O=t(U)`
18
18
  color: ${e=>e.theme.colors.primary};
19
19
  width: inherit;
20
20
  height: inherit;
21
- `,A=t.div`
21
+ `,X=t.div`
22
22
  display: flex;
23
23
  margin-bottom: auto;
24
24
  flex-direction: row;
@@ -32,7 +32,7 @@ import{X as j,u as M,M as L,aJ as R,a0 as T,j as i,Y as b,K as W,bD as H,o as l,
32
32
  max-width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
33
33
  max-height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
34
34
  margin-right: ${e=>r.iconContainerMarginRight.valuePx(e.windowSize)};
35
- `,F=t.div`
35
+ `,Y=t.div`
36
36
  display: flex;
37
37
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
38
38
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
@@ -54,10 +54,10 @@ import{X as j,u as M,M as L,aJ as R,a0 as T,j as i,Y as b,K as W,bD as H,o as l,
54
54
  100% 100%,
55
55
  0% 0%;
56
56
  background-repeat: no-repeat;
57
- `,N=t.div`
57
+ `,A=t.div`
58
58
  display: flex;
59
59
  flex-direction: column;
60
- `,Y=t.div``,q=t.div`
60
+ `,E=t.div``,I=t.div`
61
61
  display: flex;
62
62
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
63
63
  gap: ${e=>e.windowSize==="small"?"12px":l.sp5};
@@ -73,7 +73,7 @@ import{X as j,u as M,M as L,aJ as R,a0 as T,j as i,Y as b,K as W,bD as H,o as l,
73
73
  vertical-align: middle;
74
74
  margin-right: ${l.sp1};
75
75
  color: ${n.success};
76
- `,m=t(J)`
76
+ `,m=t(_)`
77
77
  color: ${e=>e.theme.colors.primary};
78
78
  white-space: nowrap;
79
- `;export{V as Z};
79
+ `;export{Q as X};
@@ -1,6 +1,6 @@
1
- import{cg as M,u as N,co as P,M as H,j as l,cp as L,Y as x,b2 as z,o,dh as _,bS as Y,b3 as g,s as B,q as S,eW as X,eX as q,eY as A,v as K,b0 as T,a6 as U,g as m}from"./index-CjViJI82.js";import{b as w,n}from"./vendor-CnQcJ2Lu.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(),[j,C]=w.useState(!1),k=P(f,e??""),D=H.getLocalizedStrings().common.currency,I=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??D.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(z,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:I(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:_(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:W,Option:Z,Input:Q,SingleValue:ee,ValueContainer:J,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:G},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},W=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})})},Z=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(Y,{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}),Q=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{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(O,{children:r.label})})},O=n(B)`
1
+ import{cf as M,u as N,cn as P,M as H,j as l,co as L,Y as x,b1 as z,o,df as _,bR as B,b2 as g,q as T,v as S,eT as U,eU as Y,eV as q,w as A,a$ as K,a2 as X,g as m}from"./index-LFy5NlUr.js";import{b as v,n}from"./vendor-CnQcJ2Lu.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(),[j,C]=v.useState(!1),k=P(f,e??""),V=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??V.countryCode}},I={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 w=R;return v.createElement(z,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(w.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&w?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:_(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Z,Option:G,Input:W,SingleValue:ee,ValueContainer:Q,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:J},hideSelectedOptions:!1,styles:I,isDisabled:a!=null})}})},Z=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})})},G=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]})})})},J=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]})})},Q=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),W=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{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(O,{children:r.label})})},O=n(T)`
2
2
  color: ${e=>e.theme.colors.primary};
3
- `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&X(e)===!1)return l.jsx(l.Fragment,{});{const r=q[`${A(e??"")}`];return l.jsx(ie,{children:l.jsx(r,{width:o.sp4,height:o.sp3})})}},te=n.span`
3
+ `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&U(e)===!1)return l.jsx(l.Fragment,{});{const r=Y[`${q(e??"")}`];return l.jsx(ie,{children:l.jsx(r,{width:o.sp4,height:o.sp3})})}},te=n.span`
4
4
  width: 100%;
5
5
  background-color: ${e=>e.hasError?m.importantLight:e.menuIsOpen?e.theme.colors.background:e.controlStyle?.backgroundColor!=null?e.controlStyle?.backgroundColor:e.theme.colors.grey5};
6
6
  border-radius: ${o.sp1};
@@ -105,7 +105,7 @@ import{cg as M,u as N,co as P,M as H,j as l,cp as L,Y as x,b2 as z,o,dh as _,bS
105
105
  justify-content: space-between;
106
106
  fill: initial;
107
107
  color: initial;
108
- `,ne=n(K)`
108
+ `,ne=n(A)`
109
109
  padding-right: 10px;
110
110
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
111
111
  ${e=>e.isSelected&&"cursor: default"};
@@ -126,13 +126,13 @@ import{cg as M,u as N,co as P,M as H,j as l,cp as L,Y as x,b2 as z,o,dh as _,bS
126
126
  }
127
127
  `,de=n.div`
128
128
  display: flex;
129
- `,ue=n(T)`
129
+ `,ue=n(K)`
130
130
  width: 12px;
131
131
  height: 12px;
132
132
  margin-right: 2px;
133
133
  margin-left: ${o.sp1};
134
134
  color: ${e=>e.theme.colors.primary};
135
- `,pe=n(U)`
135
+ `,pe=n(X)`
136
136
  width: ${o.sp3};
137
137
  height: ${o.sp3};
138
138
  color: ${e=>e.theme.colors.primary};
@@ -1,8 +1,8 @@
1
- import{j as t,X as b,M as d,a5 as l,Y as p,d as x,o as i,$ as g,c0 as h,k as m}from"./index-CjViJI82.js";import{b as u,n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const f=o.div`
1
+ import{j as t,X as b,M as d,a1 as l,Y as p,d as x,o as i,$ as g,b$ as h,k as m}from"./index-LFy5NlUr.js";import{b as u,n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const $=o.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
5
- `,$=o.div`
5
+ `,f=o.div`
6
6
  display: flex;
7
7
  flex: 1 1 auto;
8
8
  flex-direction: column;
@@ -44,7 +44,7 @@ import{j as t,X as b,M as d,a5 as l,Y as p,d as x,o as i,$ as g,c0 as h,k as m}f
44
44
  text-align: center;
45
45
  `,w=o.div`
46
46
  margin-top: ${i.sp3};
47
- `,z=({dashboardFetchState:e,onZeniLogoClick:n,onDashboardFetchDone:r})=>{const{title:a,subTitle:c}=d.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return u.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&r()},[e,s,r]),t.jsxs(f,{children:[t.jsx($,{children:t.jsx(j,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:n})}),t.jsxs(k,{children:[t.jsx(v,{children:a}),t.jsx(y,{children:c}),t.jsx(w,{children:t.jsx(x,{size:"Large",start:!0})})]})]})},L=o.div`
47
+ `,z=({dashboardFetchState:e,onZeniLogoClick:n,onDashboardFetchDone:r})=>{const{title:a,subTitle:c}=d.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return u.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&r()},[e,s,r]),t.jsxs($,{children:[t.jsx(f,{children:t.jsx(j,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:n})}),t.jsxs(k,{children:[t.jsx(v,{children:a}),t.jsx(y,{children:c}),t.jsx(w,{children:t.jsx(x,{size:"Large",start:!0})})]})]})},L=o.div`
48
48
  display: flex;
49
49
  flex-direction: column;
50
50
  height: 100vh;
@@ -0,0 +1 @@
1
+ import{j as r}from"./index-LFy5NlUr.js";import o from"./CustomerOnboardingNoStepsPage-BqrKQCFg-1lfgph7E.js";import i from"./CustomerOnboardingPage-DVVWivk2-WMhFdF9M.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./HelpButton-CWPUP9Y_-RpIu9G0D.js";import"./MeetingCalenderPopup-C6y2cRLo-BgxsFwD_.js";import"./PaymentAccountSetupBillingAddressSection-CnCCn9XQ-CNY3y6cT.js";import"./SetUpAccountSection-CuOJZCNp-D6aQorsQ.js";import"./SetUpDefaultSection-D0d0yzu8-BDWGdtc-.js";import"./ChaseOverlay-BG833ttH-_qJdBH9y.js";import"./CustomerOnboardingDetailPageSkeleton-1d9j5dWO-dyqi73hm.js";import"./CompanyOfficerDetailsSection-Bor8xmLS-OgNQHHeC.js";import"./LabeledAddressValueField-CMIVYcKX-IiR7eG-s.js";import"./LabeledCreatableSingleSelectField-CrDFWvwI-C1AD80Rw.js";import"./LabeledDocumentField-BG6Pu34Y-Dl5pM6Dq.js";import"./DocumentSecurityBanner-Ctdvj5Tn-CM5WmW33.js";import"./QBOSetupSection-b-OrlvdU-D5Bh2qoF.js";import"./QBOConnectionDialog-nb_5mvqp-CNrftMhR.js";const w=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?r.jsx(o,{...t}):r.jsx(i,{...t});export{w as default};