@zeniai/web-cockpit-ui 1.14.16-qa → 1.14.17-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 (258) hide show
  1. package/dist/assets/ACHDetailsPage-BwrF_fEr-DkyA5i2K.js +21 -0
  2. package/dist/assets/{AIPerformancePage-Do5bswa_-DAoOPzHS.js → AIPerformancePage-4oC8MJWN-DKgtdhwX.js} +44 -44
  3. package/dist/assets/{AccountInfoPage-BBhgLi_k-BDnk8wRY.js → AccountInfoPage-mOPytffA-CHwRigZs.js} +3 -3
  4. package/dist/assets/{AccountInfoPageContent-BJqXMkH6-270w5YXI.js → AccountInfoPageContent-VULusDEd-6lGswsvl.js} +14 -14
  5. package/dist/assets/{AccountReconDetailsDrawerPage-CV09UnoU-CHsOQmxO.js → AccountReconDetailsDrawerPage-89APlrhb-BX-kF9hA.js} +18 -18
  6. package/dist/assets/{AccountRow-TlJ0aU9H-BlwEdN_G.js → AccountRow-DJd-IAIl-CfLQe7at.js} +33 -33
  7. package/dist/assets/{AccountsPromoCardStack-D8Y5MNXA-CaIaUzET.js → AccountsPromoCardStack-DE39TpIu-DvYK9R7k.js} +33 -33
  8. package/dist/assets/{AddAddressForCardDrawer-DKJpGW7r-BpMaf86Y.js → AddAddressForCardDrawer-CKdcU_pi-IPZLStMw.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-1gMvHWq2-B8vVBjjQ.js → AddToWalletPage-DPXW2fbY-CNPYHMH9.js} +24 -24
  10. package/dist/assets/{AgingReportsPage-Bzn9xmRs-apdo7hGo.js → AgingReportsPage--CLUwcIa-DcSCN91R.js} +17 -17
  11. package/dist/assets/{AllUserItems-BPSpj-dO-ClBbyfzH.js → AllUserItems-CC9l-O5G-DJbAuU58.js} +11 -11
  12. package/dist/assets/ApAgingDetailPage-CsQ3DujX-DWGGqNtg.js +46 -0
  13. package/dist/assets/AppBasePage-CgHKYFmd-Bs3-qi9M.js +68 -0
  14. package/dist/assets/{AppDrawerContent-Cq8GkRBD-CRks4KWi.js → AppDrawerContent-Cofo0-5p-DYgesCt7.js} +19 -19
  15. package/dist/assets/{ApprovalRulesSettingsPage-zKh1CLv3-3l0xvat6.js → ApprovalRulesSettingsPage-DsshEbzW-DLpKueGV.js} +7 -7
  16. package/dist/assets/{ArAgingChart-Bs2fblA6-_eY76mOu.js → ArAgingChart-K2LSe8mo-CcrD54Kp.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-BWsV1tQP-BBPHFjg6.js → ArAgingDetailPage-DCFL9YAy-Cw3hCUfd.js} +4 -4
  18. package/dist/assets/{AttachmentView-BDkq5i_5-BDwPiUBQ.js → AttachmentView-Cn3VnVyO-BPJCq-4t.js} +9 -9
  19. package/dist/assets/{BankAccountSection-DL-Qgypb-DCyiZiMb.js → BankAccountSection-Au9_D0Ji-bmPPOv5B.js} +8 -8
  20. package/dist/assets/{BankAccountWarningSection-PFOmZUmz-jyv_7HW8.js → BankAccountWarningSection-927iR_QB-BLBTF_Hr.js} +7 -7
  21. package/dist/assets/{BankConnectionsSettingsPage-BiPEOltR-BEX0B3Xt.js → BankConnectionsSettingsPage-CXab8fzD-0RsCLwrp.js} +49 -49
  22. package/dist/assets/{BillDetailPage-nUoy5Pib-B9OAwnY8.js → BillDetailPage-yIdrE7YG-CO1_hc0X.js} +21 -21
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-uCd9CD_--CPg3Wdw0.js → BillPayApprovalRuleDetailPage-BJl_-eJN-DcYLdRk3.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-BsvzOO92-CCSqA2Ff.js → BillPayApprovalRulesPage-rXaFCSLp-DOP05VDc.js} +8 -8
  25. package/dist/assets/{BillPayPromoPage-D9tHxFrw-BDsnH40Y.js → BillPayPromoPage-BLi_wIbj-CZGLSHx_.js} +10 -10
  26. package/dist/assets/{BillPaySetUpPage-Ci__X7jC-BU_eTkYb.js → BillPaySetUpPage-BFmpWT_x-zTzNnL_X.js} +2 -2
  27. package/dist/assets/{BillingSettingsPage-JcOqMK9G-C2bvM8Au.js → BillingSettingsPage-Da01aYql-DLGfaRzo.js} +5 -5
  28. package/dist/assets/{BillsBulkReviewDrawerPage-FeZEMsS6-CjecTcPw.js → BillsBulkReviewDrawerPage-J2kO9_8C-B_ZetdEJ.js} +1 -1
  29. package/dist/assets/{BoxItem-BcQH7ATF-CU__oRAt.js → BoxItem-CQlEDklH-QYh8SK8x.js} +4 -4
  30. package/dist/assets/BusinessVerificationPage-DWhXCuG5-BlJy48X_.js +140 -0
  31. package/dist/assets/{CardNumberSubText-CRythvN3-DSiQJr5y.js → CardNumberSubText-BTjxrF3b-CNbVWSfp.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-CDa_GOsq-CJAMDrPJ.js → CashbackDetailPage-qcMtGUQ0-ClM0O4ek.js} +22 -22
  33. package/dist/assets/{ChargeCardDetailPage-BVxvmvYF-wsGLJRVi.js → ChargeCardDetailPage-BurpUHl9-ks5Ylh0a.js} +32 -32
  34. package/dist/assets/{ChargeCardListPage-Dk_9p-sM-DVvAu4yD.js → ChargeCardListPage-CBIYOllB-hsormxMA.js} +22 -22
  35. package/dist/assets/{ChargeCardListTable-DLAZTf8n-BSGVLMaS.js → ChargeCardListTable-BTZu7ldI-Dtf0dVvX.js} +104 -104
  36. package/dist/assets/ChargeCardPromoPage-us_v89rV-C0HHgs2t.js +222 -0
  37. package/dist/assets/{ChargeCardSetupPage-QPLpJN2z-gogu-vKD.js → ChargeCardSetupPage-QOdjFcsr-C35vd8Nk.js} +3 -3
  38. package/dist/assets/{ChargeCardStatementsPage-DwJYJjcf-B6wqaac-.js → ChargeCardStatementsPage-C1UmjyIW-CQoBe4qC.js} +8 -8
  39. package/dist/assets/{ChargeCardUtils-BbByGmi9-idcYoFNG.js → ChargeCardUtils-C3fhOMpV-CuPIdUk0.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-CvXMdD8r-DVeLI7lR.js → ChaseOverlay-RPex2o5e-Smu9780P.js} +6 -6
  41. package/dist/assets/CheckDepositDrawerPage-XZJ1F0aC-kws9zCak.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-BptltmMq-BOVY7pY_.js → CollapsableReportTable-Ds0h8x1N-DplOjSEj.js} +93 -93
  43. package/dist/assets/{CompanyOfficerDetailsSection-DTbhxCCJ-DSPRT4ko.js → CompanyOfficerDetailsSection-B8yGAFVj-BXFGaLke.js} +24 -24
  44. package/dist/assets/{CompanyPassportCard-CRgbazO4-BVLaJrBi.js → CompanyPassportCard-BDei9Pfp-eYqW_Kg9.js} +6 -6
  45. package/dist/assets/{CompanyPassportPage-wdWKvOuO-uEEF_NAz.js → CompanyPassportPage-DFA733vS-D6CEIM7b.js} +32 -32
  46. package/dist/assets/CompleteProfile-BpX6H4vJ-BVnH0M9g.js +52 -0
  47. package/dist/assets/ConfettiBurst-97CCPVCH-9-b-8JXj.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-DTbrZv48-DfbqQuzn.js → CreateOrEditVendorPage-BSi6pOXN-DT6XT0bI.js} +10 -10
  49. package/dist/assets/{CreditCardPaymentDrawerPage-CGGM52ND-DRUZYfAF.js → CreditCardPaymentDrawerPage-ZletyeGG-umQmaf0k.js} +17 -17
  50. package/dist/assets/{CreditCardPaymentPlgSection-BS99Rbz7-CTrSYAEg.js → CreditCardPaymentPlgSection-BE982atG-B6gcx6zm.js} +13 -14
  51. package/dist/assets/{CurrencySelectField-Cz1ZFZNL-rp7RZiQz.js → CurrencySelectField-cnP09xH2-COp3JBgC.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-Bw2z91CF-CXbTMafe.js → CustomerOnboardingActivationPage-DhcKiTJ_-B4Bo0l5a.js} +9 -9
  53. package/dist/assets/CustomerOnboardingContainerPage-C1higvpq-CPTgkuej.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BY4rv3eB-6NFXmXrK.js → CustomerOnboardingDetailPageSkeleton-jguCmaVx-CPLJBFIe.js} +9 -9
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-ByTpLszW-OlEfdwKj.js → CustomerOnboardingNoStepsPage-xakP7IDr-j9vb9__e.js} +2 -2
  56. package/dist/assets/{CustomerOnboardingPage-eyRDjOy--DJuua0xj.js → CustomerOnboardingPage-Ct5YbyHs-BO0Sy5Lx.js} +9 -9
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-C_GOhUsC-DsH2SPww.js → CustomerOnboardingProductSuitePage-CugfvMkw-B6aWX1Xf.js} +11 -11
  58. package/dist/assets/{Dashboard-DXTfxwrE-CisGpCCo.js → Dashboard-XbVGCnvI-Cwm6wdq7.js} +260 -242
  59. package/dist/assets/{DashboardReportPage-C7LmV0rQ-D73sqjmR.js → DashboardReportPage-OeEPg2kx-DUWAiMA5.js} +21 -21
  60. package/dist/assets/{DepositAccTransactionItem-BH6np-wq-C9S2eFCv.js → DepositAccTransactionItem-Dy6qzuSL-bj1K9hi4.js} +10 -10
  61. package/dist/assets/DepositAccTransactionListPage-BisaE6sH-CXEjoVG5.js +66 -0
  62. package/dist/assets/{DomesticWireDetailsPage-DhM2CLtr-s-sXaI-h.js → DomesticWireDetailsPage-B0tbjNLO-ByvPg7x-.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-CwqxQGbr-Ae7vpc4V.js → DownloadOverlay-BKKO1nm1-BQ5P_IH7.js} +15 -15
  64. package/dist/assets/{DrawerPage-C3k5XFW6-BcQ5z47A.js → DrawerPage-osM8gPVn-2LgFt42m.js} +10 -10
  65. package/dist/assets/EditPeoplePage-ixJkT03_-nZc9QeAd.js +55 -0
  66. package/dist/assets/{EditReimbursementDetailPage-DXLAtkkp-DnXcCwZz.js → EditReimbursementDetailPage-DvLeCixY-TeZdMP4Z.js} +23 -23
  67. package/dist/assets/{EntityDetailPage-_060OpVJ-D5TJErzM.js → EntityDetailPage-BzJbAOSj-9yzQeWus.js} +3 -3
  68. package/dist/assets/{EntitySummarySection-0QXWkpbX-D_GUS2WS.js → EntitySummarySection-Drj07P9h-6nsX9189.js} +13 -13
  69. package/dist/assets/{ExpenseAutomationOverviewPage-GPO42_rS-DQOlB6qp.js → ExpenseAutomationOverviewPage-BQ9dwGkq-BSO9oU-G.js} +23 -23
  70. package/dist/assets/{ExpenseAutomationPage-BQArYLAG-CHnCd6t8.js → ExpenseAutomationPage-DLld6Lux-C9UiIoPt.js} +56 -56
  71. package/dist/assets/{ExpressPayPage-DacK02lD-Dq4EbXyn.js → ExpressPayPage-QBNV0dC8-pBCRR5Rb.js} +12 -12
  72. package/dist/assets/FeaturePreviewPage-CpBX-Xic-BYSOYP2k.js +11 -0
  73. package/dist/assets/{FollowStepsSection-CMTo4gYl-CwkCaSv0.js → FollowStepsSection-1RCO2W7K-C-MoCYne.js} +25 -25
  74. package/dist/assets/{GlobalReviewListPage-BbI2YDxl-Cps6LriT.js → GlobalReviewListPage-ByMZFe7Y-CdorqsTM.js} +14 -14
  75. package/dist/assets/{HelpButton-Coe4ii48-CvuplgJt.js → HelpButton-CzTfBZQj-DZRTwrFl.js} +2 -2
  76. package/dist/assets/{InformationCardStack-BIumm5SJ-6MHSuSeN.js → InformationCardStack-C0AmMOu2-RArJXysN.js} +6 -6
  77. package/dist/assets/{InsightsCardStack-nndLG-Gx-C0PariBK.js → InsightsCardStack-BiIDBYY8-5lf82tLY.js} +7 -7
  78. package/dist/assets/InsightsSection-C-kpIvRH-CdqlGqmg.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-BRH3t6mo-DO-LHaxh.js → IntegrationsSettingsPage-7wAnV8kG-PXEXvEB6.js} +8 -8
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-vgA7iek9-ChmwO1by.js → InternationalWireSwiftDetailsPage-C7D15jtK-Li0eKKsY.js} +16 -16
  81. package/dist/assets/{InternationalWireVerificationPage-DEIs1ydr-DKS197rw.js → InternationalWireVerificationPage-GDKPXtU--j4IpooKm.js} +20 -20
  82. package/dist/assets/{InviteFormPage-Bowy0arK-DpBZL_pL.js → InviteFormPage-CKGJHYWa-DWj-EAub.js} +20 -20
  83. package/dist/assets/{InvitePageListView-DuXb15Ll-BQK3BFW6.js → InvitePageListView-CWXyDZU2-DCU4lB3m.js} +54 -54
  84. package/dist/assets/InvitePeoplePage-CPBMZNa--DlK3foAM.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-C0WzT0uv-Cn2JF08l.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-BIL4e5I_-CXGJBU9x.js → IssueChargeCardPage-DLX44XaR-CcflhM3M.js} +31 -31
  87. package/dist/assets/LabeledAddressValue-B8awEVKI-DfzIlkwb.js +49 -0
  88. package/dist/assets/LabeledAddressValueField-Dl5yKg2N-CzXWQu_Y.js +45 -0
  89. package/dist/assets/{LabeledControlledCheckBoxField-CwiyOI1Z-M-tLAb4Z.js → LabeledControlledCheckBoxField-B6cLYSmS-taSeLw3M.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-yLzlQU6_-Bfeib5XV.js → LabeledCreatableSingleSelectField-CV4GQQ7F-G2kg_Moc.js} +8 -8
  91. package/dist/assets/LabeledDocumentField-BFhyNqP8-B0rZURtH.js +41 -0
  92. package/dist/assets/{LabeledDropDownFormattedTextField-M_7KWHOd-D-fZzHek.js → LabeledDropDownFormattedTextField-gE3aWP_T-BOWWoTF_.js} +6 -6
  93. package/dist/assets/{LabeledText-CO_4w9Rx-DJRQWqFp.js → LabeledText-0pRIcJw5-Bl9-fI1Z.js} +2 -2
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-zPoNOgP7-j7Lks93T.js → LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-DFmPy8AM.js} +17 -17
  95. package/dist/assets/{LabeledZeniRolesDropDownField-C8-KfR-4-CdARW5vH.js → LabeledZeniRolesDropDownField--l6D29VX-CyvURl9h.js} +11 -11
  96. package/dist/assets/{LinkJETransactionPage-CZVlsT4d-Bn-cESFA.js → LinkJETransactionPage-DLcpx9ns-AgvCjDXO.js} +10 -10
  97. package/dist/assets/{LowBalancePopup-Dl5IXVvh-ZOyts8_X.js → LowBalancePopup-BuelKDeS-DZAUOSm3.js} +6 -6
  98. package/dist/assets/{MagicLinkACHDetailsPage-CP6ti0Ic-8tcSYl4a.js → MagicLinkACHDetailsPage-NIkquHvv-CI7Zc7xz.js} +1 -1
  99. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BhpSDeQW-IeQp4QdV.js → MagicLinkDomesticWireDetailsPage-CdaNz396-BGT3axjJ.js} +1 -1
  100. package/dist/assets/{MagicLinkInternationalWireDetailsPage-BXxTeh0G-gQ2fUGnD.js → MagicLinkInternationalWireDetailsPage-CnEhS5PP-DPChbPBR.js} +1 -1
  101. package/dist/assets/{MagicLinkSuccessPage-Bix48QB5-5BLIJX_g.js → MagicLinkSuccessPage-D_VJZV0O-FtY4wcd1.js} +2 -2
  102. package/dist/assets/MagicLinkTitleSection-tHh2d5Ld-_QN59pd4.js +17 -0
  103. package/dist/assets/MailingDetailsSection-CTrx1xoB-By7vG4Hi.js +21 -0
  104. package/dist/assets/{MeetingCalenderPopup-DlnppXL_-BsJ0aU_e.js → MeetingCalenderPopup-DWvpTRQJ-Bt4xdKnr.js} +1 -1
  105. package/dist/assets/{Menu-B_GJLZiP-mNj9dFun.js → Menu-CbQ6Zkdp-B0rPvp7W.js} +2 -2
  106. package/dist/assets/{MyBankConnectionsSettingsPage-2DAYVmHh-fUm8E92x.js → MyBankConnectionsSettingsPage-9dQLb8iw-C8Rj57bA.js} +17 -17
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-CWQq9D2t-Da8VyALM.js → MyPendingActivationChargeCardListPage-B2-YthuF-cm2yxhR4.js} +2 -2
  108. package/dist/assets/{MyProfileSettingsPage-imD_-Umc-DKjDOanW.js → MyProfileSettingsPage-CfmYPv4_-aC1znwk8.js} +5 -5
  109. package/dist/assets/NavBarWithPicker-Bzkl4W0x-CDy3Aggh.js +30 -0
  110. package/dist/assets/{NavigationArrow-De1st3tA-BAPoCX85.js → NavigationArrow-9pvhzLz8-DNW8ChSX.js} +1 -1
  111. package/dist/assets/NavigationDots-CXPwKFh1-CN4i4rO7.js +15 -0
  112. package/dist/assets/{NewGlobalMerchantPage-euJK3CXB-sukBYO3J.js → NewGlobalMerchantPage-D6ZpP6J1-D56cB-sU.js} +12 -12
  113. package/dist/assets/{NoDataChart-D_S6Pfkm-C3JVPSeM.js → NoDataChart-BUR7CF8w-JBqV9jC1.js} +1 -1
  114. package/dist/assets/{NoDataTable-CLwNCXFE-rGXp6Upe.js → NoDataTable-3L4pbKR0-B7fSM3B6.js} +1 -1
  115. package/dist/assets/{NotFoundPage-JfbMP3OG-CdLC4JTC.js → NotFoundPage-CgZfmKbj-BRxQmcCY.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-YBgrQBb2-Cpy35xKn.js → NotificationSettingsPage-BwYT3Tdc-D89puZca.js} +14 -14
  117. package/dist/assets/NotificationsListConfig-CeeJpJ2p-8AiJrLfH.js +1 -0
  118. package/dist/assets/{NotificationsPage-C3pnQT-K-CVRF5kRL.js → NotificationsPage-6qNQYQK4-DLvnPKkn.js} +39 -39
  119. package/dist/assets/{OpExByVendorPage-7FEOhvd--RHaoySaH.js → OpExByVendorPage-C28MBvmW-CYPqi7IY.js} +6 -6
  120. package/dist/assets/{OverlayContainerPage-GWXnlbZH-CVXBjiin.js → OverlayContainerPage-9K5jaX8Z-BZxsFO4t.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-D0f5zvhp-DcJszdXh.js → PandLWithForecastPage-onJJ3Fh4-_QaDHG-Z.js} +12 -12
  122. package/dist/assets/PaymentAccountSetupBillingAddressSection-nGuJ5fbq-D3E47Aos.js +107 -0
  123. package/dist/assets/{PeoplePage-B-j04rvc-CCfL9FKm.js → PeoplePage-CKzezKqB-ByzrDmy1.js} +33 -33
  124. package/dist/assets/PortfolioAllocationFormPage-28Rg5Um0-BlYwyLHy.js +207 -0
  125. package/dist/assets/{PortfolioDetails-C-YfZonF-CLSJrpEX.js → PortfolioDetails-CIv1yXo2-BXO78bZH.js} +34 -34
  126. package/dist/assets/{ProductsCarousel-9USsVLuf-Dx3uyiaJ.js → ProductsCarousel-CSUQ6rVw-BjLG54WQ.js} +7 -7
  127. package/dist/assets/{PromoBaseCards-OKpdHchW-DlAtXYPN.js → PromoBaseCards-2L1JfY-v-8Fx_ViSz.js} +5 -5
  128. package/dist/assets/{QBOConnectionDialog-BUr2NQiK-W-7dllOf.js → QBOConnectionDialog-DNP_b7aK-BzvUOq7o.js} +5 -5
  129. package/dist/assets/{QBOSetupSection-Cmf7-3wv-qvwzEewL.js → QBOSetupSection-CGrGCC2j-CuJwLC6X.js} +11 -11
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Dev4FHVt-D88aB6v1.js → ReimbursementApprovalRuleDetailPage-DqxyCfuQ-BcbdBa6J.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-BLMJY7El-e_ujsVQc.js → ReimbursementApprovalRulesPage-D_RMSSoW-DW4d-zUH.js} +33 -33
  132. package/dist/assets/{ReimbursementDetailPage-BIyq0BC0-CB2Fd2bq.js → ReimbursementDetailPage-BkT7zJoE-BUepvklz.js} +20 -20
  133. package/dist/assets/ReimbursementPromoPage-DQsLI50f-DvpBhx7F.js +112 -0
  134. package/dist/assets/{ReimbursementSetUpPage-VKXRSodl-D7JcNewb.js → ReimbursementSetUpPage-lH4Z7Lqi-C3uS6udC.js} +15 -15
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BmUcVSjU-BLnUm02Q.js → ReimbursementsBulkReviewDrawerPage-Bvh4mRws-DVwJvL8d.js} +1 -1
  136. package/dist/assets/{ReloadCard-DZhxB7Ar-hF1gT-u0.js → ReloadCard-BQKVLlzZ-CTM6ZQom.js} +5 -5
  137. package/dist/assets/{ReportTableViewSelector-DSfx5ZD--Dci-a61G.js → ReportTableViewSelector-Cvk4LxRf-eJ2TbRx4.js} +10 -10
  138. package/dist/assets/{ReportsPage-CLH0u0Bh-C1MJTTfa.js → ReportsPage-C2cIfu51-BxZnm0Ag.js} +5 -5
  139. package/dist/assets/{RevenueChart-BeqQveLu-DeA8SaiY.js → RevenueChart-ByCekdyG-8uQwfY47.js} +17 -17
  140. package/dist/assets/{ReviewDetailsPage-Dq7hRX5W-O_RQR1-u.js → ReviewDetailsPage-DGyfz9q5-BKYXEzMr.js} +25 -25
  141. package/dist/assets/{ReviewOverlay-BNHqYk2g-GkMrLGZt.js → ReviewOverlay-Dp5yLAdR-BtQ_1SYB.js} +24 -24
  142. package/dist/assets/RoleWithToolTip-B7xRZ-3a-DOUAAL_V.js +22 -0
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-QE0wa196-BAk-TXp_.js → ScheduleDetailsFixedAssetsPage-BvJX-G-F-EcV0Ga4I.js} +8 -8
  144. package/dist/assets/{ScheduleDetailsPage-BVyX-Z0H-BlUtpB7o.js → ScheduleDetailsPage-CNpkuW7O-B_ravSuG.js} +3 -3
  145. package/dist/assets/{ScheduleSequenceTable-D1FYbPfU-Ch0thzHH.js → ScheduleSequenceTable-B_90qPjE-CouAcwmm.js} +16 -16
  146. package/dist/assets/{ScreenRoutes-DE3IzrIT.js → ScreenRoutes-AFpRn9FR.js} +62 -62
  147. package/dist/assets/{SetUpAccountSection-CYn2o43t-Cyl8tfm8.js → SetUpAccountSection-D5x8PZG1-DygZSmwk.js} +17 -17
  148. package/dist/assets/{SetUpDefaultSection-C0-L2ZyA-BVH3L8he.js → SetUpDefaultSection-BsOdnADR-CaLnvPCj.js} +10 -10
  149. package/dist/assets/{SignIn-BIxTodeo-CKTRpX1-.js → SignIn-Bt7hCYjV-EKx-pTxB.js} +20 -20
  150. package/dist/assets/{SignInScreen-BiA-KBBQ.js → SignInScreen-rurSzHF5.js} +1 -1
  151. package/dist/assets/{SpendManagementListViewPage-DXtvYcrg-CdBfKQlr.js → SpendManagementListViewPage-C5cJKuRq-BvXZ8iTI.js} +12 -12
  152. package/dist/assets/{SpendManagementPerTabPage-Cn-UsxaR-D2WwRrYC.js → SpendManagementPerTabPage-IBAw8wc4-CqequpCF.js} +45 -45
  153. package/dist/assets/{SpendManagementSection-BBR4aFIT-DzW24Skc.js → SpendManagementSection-yNP3swb6-CDpN_vFS.js} +14 -14
  154. package/dist/assets/{SpendMgmtSetupAccountSection-DedLETSm-YLSeERft.js → SpendMgmtSetupAccountSection-CYxt9dN8-jE6ury5g.js} +19 -19
  155. package/dist/assets/{StatementItem-CnpTW8qb-D17PfvTr.js → StatementItem-q9U89Htr-Dnon4hoE.js} +9 -9
  156. package/dist/assets/{StatementsPage-Pdhh6wDA-jwcjw1WZ.js → StatementsPage-BM5Glizw-CQVS_jKg.js} +6 -6
  157. package/dist/assets/{StatusSwitcher-CY3fhZpk-DDb6KoNb.js → StatusSwitcher-CtuL5COG-G6MVUY78.js} +1 -1
  158. package/dist/assets/{SubTabSwitcher-BgzS4on6-Dwoyfu-k.js → SubTabSwitcher-DHiC-mOv-DT2nPRyj.js} +3 -3
  159. package/dist/assets/{SummaryCard-DB_r9qW_-DWYafO_s.js → SummaryCard-D4Me-qWU-DQUY-zeO.js} +1 -1
  160. package/dist/assets/{TaskManagementPage-B0gR2j1v-COQTSpG8.js → TaskManagementPage-D-F7ufTD-e1fJ4aPt.js} +34 -34
  161. package/dist/assets/{TimeRangeSwitcher-BbdpFsMU-BLzIMI-C.js → TimeRangeSwitcher-CGN9Hq2L-r0shmfu7.js} +2 -2
  162. package/dist/assets/{TimeframeSwitcher-CUpsv6b1-DSn3wgUk.js → TimeframeSwitcher-BN4-ACoQ-D22kJoI6.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcherWithToggle-DZbOWm8e-yKyY1kGN.js → TimeframeSwitcherWithToggle-BkzCFclG-CPGMypUZ.js} +2 -2
  164. package/dist/assets/{TopExCard-Bn5xXUvj-CEaRP9sl.js → TopExCard-Wuzj4gLV-Dr3lX9dX.js} +5 -5
  165. package/dist/assets/{TopExDetailPage-DRjO-pGo-C3d4g0dQ.js → TopExDetailPage-DMYNc-gj-DbGIeoCc.js} +10 -10
  166. package/dist/assets/{TransactionDetailPage-L-yLO1SI-DqT88RlY.js → TransactionDetailPage-CcryBjJ4-DTQbu83x.js} +43 -43
  167. package/dist/assets/{TransactionList-CSb5yqQj-D5O9i1eU.js → TransactionList-BrOpzi25-Db-4cinW.js} +9 -9
  168. package/dist/assets/{TransactionListBig-f2x4xrky-DSDJ_EXD.js → TransactionListBig-D6QMNaV6-CAdEtJgN.js} +26 -26
  169. package/dist/assets/TransactionListPage-BB_LkPKR-hsIp58b2.js +35 -0
  170. package/dist/assets/TransactionVendorDetailPage-RajWBB1I-BdySPl7M.js +80 -0
  171. package/dist/assets/TransferDrawerPage-D-KFK0BM-lEsdgmBR.js +362 -0
  172. package/dist/assets/{TreasuryOverviewPage-B01cSfUQ-kSH9i23n.js → TreasuryOverviewPage-EDaXKMNQ-CrrmzIet.js} +59 -59
  173. package/dist/assets/{TreasuryPromoPage-DC46ObGy-6BFpTzC9.js → TreasuryPromoPage-Brja4nGR-DglH7Il8.js} +26 -25
  174. package/dist/assets/{TreasurySetupPage-CiIqfQLR-Zvu7PlM8.js → TreasurySetupPage-8ZXXBvyU-l9-yURTU.js} +9 -9
  175. package/dist/assets/{TreasuryStatementsPage-C_pfPvgz-CvRKmTd0.js → TreasuryStatementsPage-BjT1FVfa-wIBwl3Q0.js} +5 -5
  176. package/dist/assets/{TreasuryTaxLetterPage-D-4Ntky2-CbNYYuLW.js → TreasuryTaxLetterPage-Cxk8TjrI-DPLTc42N.js} +5 -5
  177. package/dist/assets/TreasuryTransferOrReviewPage-DrNld8H2-DCvG8LPc.js +506 -0
  178. package/dist/assets/{TrendChart-DKIa4o8k-VO_JzwoY.js → TrendChart-D2B0mwGW-BG_v97N6.js} +5 -5
  179. package/dist/assets/{TrendWithTransactions-BumhCIjm-Yg7fpcN4.js → TrendWithTransactions-Ch8smOOz-jen0aqye.js} +6 -6
  180. package/dist/assets/{UncategorizedAccountsMappingPage-C4Njvj_H-DLrR6DBY.js → UncategorizedAccountsMappingPage-CCIn9g7v-pUmVA_Xq.js} +8 -8
  181. package/dist/assets/{UnitIntegrationPage-D_tfUXdS-Cl4gvNRF.js → UnitIntegrationPage-SY0L_D7Z-Cbnt8xFH.js} +5 -5
  182. package/dist/assets/{UploadAdditionalDocumentOverlay-CSdTPTA3-D_QTNdVG.js → UploadAdditionalDocumentOverlay-BowxerPw-ByoVxHT3.js} +2 -2
  183. package/dist/assets/{Vendor2FAPopup-DgKVft1G-BbWcKAyH.js → Vendor2FAPopup-DvWVDx58-nCTKo0G7.js} +1 -1
  184. package/dist/assets/{VendorACHDetailsPage-DdAbrbpS-CaSYamcy.js → VendorACHDetailsPage-Ba1oMHkp-BxaJZz_l.js} +1 -1
  185. package/dist/assets/{VendorDetailPage-CSPbUx-h-BA4BV8lD.js → VendorDetailPage-CjBeVAkw-CNG6GTiT.js} +12 -12
  186. package/dist/assets/{VendorDomesticWireDetailsPage-GODvpEne-B7JWdU5P.js → VendorDomesticWireDetailsPage-DJcyNUun-B_mMtp62.js} +1 -1
  187. package/dist/assets/{VendorFiling1099EditablePage-ByfEwSZJ-3EJs6Pdf.js → VendorFiling1099EditablePage-CUWkLY0f-CFmjh1GG.js} +10 -10
  188. package/dist/assets/{VendorFirstReviewPage-B2-UtNMO-BpFbEEFE.js → VendorFirstReviewPage-XUgEai-M-DTz6r_sf.js} +14 -14
  189. package/dist/assets/{VendorInternationalWireDetailsPage-DSziQ0jO-JD1dzlHt.js → VendorInternationalWireDetailsPage-BgHCBv0S-CqCl2AuO.js} +11 -11
  190. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dqc7XLbW-XxvhKcbT.js → VendorInternationalWireSwiftDetailsPage-axseacZL-DJ6kdu0R.js} +1 -1
  191. package/dist/assets/{VendorsAccountsSection-BLwMi5AB-CCLynqTL.js → VendorsAccountsSection-oYghWvs6-YBKazVEG.js} +4 -4
  192. package/dist/assets/VerifyDevice-XUExnmR9-Dvl0QizA.js +67 -0
  193. package/dist/assets/{WarningsDrawerPage-3h7UME3Y-DNttzlAa.js → WarningsDrawerPage-B1his2AN-wDPc6ygf.js} +11 -11
  194. package/dist/assets/{ZeniAccountDetailPage-Dn70Xhjm-D4MEKJZT.js → ZeniAccountDetailPage-B21kawRR-cYQnKtb2.js} +26 -26
  195. package/dist/assets/{ZeniAccountListViewPage-C7CX6-Bl-CV3TlLO2.js → ZeniAccountListViewPage-D9lefqbT-BqcU0pmn.js} +26 -26
  196. package/dist/assets/ZeniAccountNavBarPieces-5yZFq-zt-jLGGdcn1.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-CLufbB-B-BJ_7DF1e.js → ZeniAccountPromoPage-B8aWqCOQ-CKv07I8x.js} +21 -21
  198. package/dist/assets/{ZeniAccountSetupPage-rLdRA3Ld--977FCkZ.js → ZeniAccountSetupPage-BmFF5yvk-D-AdXd5I.js} +3 -3
  199. package/dist/assets/{ZeniCopyright-BItiuePl-C7k-X__M.js → ZeniCopyright-eQoaUH08-BVCPJkWr.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-DYCK5UWr-DVAoQDrm.js → ZeniTransferAmountSlider-B6ftMZ_m-C-6X1EH-.js} +2 -2
  201. package/dist/assets/{analyticsHelper-D4zFEqKN-DzUQzUlK.js → analyticsHelper-Bns4muDg-CtVpldLz.js} +1 -1
  202. package/dist/assets/{analyticsHelper-ClYKq5_x.js → analyticsHelper-u4uoMPvS.js} +1 -1
  203. package/dist/assets/{chartTypes-yiqF7w9Y-BGOhcpTx.js → chartTypes-ZJYcsh-k-BCVVPSGZ.js} +1 -1
  204. package/dist/assets/{commonDimensions-PPvas5dK-BGZQSqLq.js → commonDimensions-NUQEpowf-g8lux_Te.js} +1 -1
  205. package/dist/assets/{detailCommon-mCAXI64G-BAwUCtmX.js → detailCommon-DMKakaa6-DVMNrgCv.js} +7 -7
  206. package/dist/assets/{downloadPdf-C3XpsGeN-DqiveqBb.js → downloadPdf-CNrmv_yZ-BgWfIYNz.js} +1 -1
  207. package/dist/assets/{index-BS9BhstZ.js → index-CnrHU8WN.js} +4373 -4206
  208. package/dist/assets/{liveblocks-sSQ9JElv.js → liveblocks-DZpRS25q.js} +1 -1
  209. package/dist/assets/{mapLoadingInProgressToTreeNode-7wU2HX2P-Dj0X-cbJ.js → mapLoadingInProgressToTreeNode-CwLhcXcQ-nJqrr22I.js} +1 -1
  210. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-dSxF1sWM-BmY0ko4z.js → mapSectionWithAcOnlyToTreeNode-D8iLkGEE-Bl5usORJ.js} +1 -1
  211. package/dist/assets/{mapSpacerToTreeNode-1mXbBuNs-BE-8149w.js → mapSpacerToTreeNode-CF_gEYDy-aRE98CQL.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-DXVQrusd-BAb1FqOY.js → mapTimeframeBalancesToTreeNode-B672MK55-v1Bjh3U8.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-DtAULIDB-B4AiSiuC.js → mapTimeframeBalancesToTreeNode-Dp2QmYvb-Cr-c38Jl.js} +1 -1
  214. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DAqn8gdX-DPgokZ5l.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BaEMd-vj-CsyeIH1c.js} +1 -1
  215. package/dist/assets/mui-Bi8r7UDG.js +25 -0
  216. package/dist/assets/{play-icon-NvLdXSYk-BXzTREV-.js → play-icon-CgWP2Myd-BVsSsxSg.js} +1 -1
  217. package/dist/assets/{redux-ByjIRbhZ.js → redux-CC-tnuv1.js} +1 -1
  218. package/dist/assets/{routing-Cpaypegg.js → routing-CxYXTKiv.js} +1 -1
  219. package/dist/assets/{toCOABalancesWithID-C9fWPLt9-B2HBMv4h.js → toCOABalancesWithID-DJNZCEmi-D5UU_YFX.js} +1 -1
  220. package/dist/assets/{toChartData-BMDCuCgs-CEUldhRx.js → toChartData-HYsxUPzh-De2YqXiL.js} +1 -1
  221. package/dist/assets/{treasuryColorHelper-COfuUI3C-D6JaGfR1.js → treasuryColorHelper-BgV2H9Kv-BBqEUahx.js} +1 -1
  222. package/dist/assets/{uploadAttachment-DSku547V-Dfv7WcEs.js → uploadAttachment-BgjFjkkw-DJYt86D-.js} +34 -34
  223. package/dist/assets/{uploadReceipts-D80JLNY4-B-E7WYbX.js → uploadReceipts-CwjPukNh-SrJVbi2t.js} +1 -1
  224. package/dist/index.html +1 -1
  225. package/package.json +4 -4
  226. package/dist/assets/ACHDetailsPage-DyEK-yAb-CYzjb0P6.js +0 -21
  227. package/dist/assets/ApAgingDetailPage-C2HUvxWk-CmXftBCt.js +0 -46
  228. package/dist/assets/AppBasePage-C63xauck-B7uL-jnJ.js +0 -68
  229. package/dist/assets/BusinessVerificationPage-ClBQ39GB-lK0gfMrq.js +0 -140
  230. package/dist/assets/ChargeCardPromoPage-COA7csMK-Dhz6qtv_.js +0 -219
  231. package/dist/assets/CheckDepositDrawerPage-Cfdkbh0L-Cng8frow.js +0 -206
  232. package/dist/assets/CompleteProfile-Cp_nXCBI-BE9X5-eY.js +0 -36
  233. package/dist/assets/ConfettiBurst-tf23hrA_-zNQ15guQ.js +0 -1
  234. package/dist/assets/CustomerOnboardingContainerPage-DXWtttsb-B7v6_HN6.js +0 -1
  235. package/dist/assets/DepositAccTransactionListPage-BTZovTIK-DGF3gicj.js +0 -66
  236. package/dist/assets/EditPeoplePage-D2zQG-_T-BitbZ9jO.js +0 -55
  237. package/dist/assets/FeaturePreviewPage-Bv0D92ik-C-aLsKYk.js +0 -11
  238. package/dist/assets/InsightsSection-CSG5sVaE-CIf6iKuS.js +0 -27
  239. package/dist/assets/InvitePeoplePage-By3sTPj1-D6QvW3zn.js +0 -12
  240. package/dist/assets/InvoiceUploadSection-B8OA6oqe-BVyTHteY.js +0 -140
  241. package/dist/assets/LabeledAddressValue-BJ1dXCb1-xOyKePQ9.js +0 -49
  242. package/dist/assets/LabeledAddressValueField-DZCn1w6m-DYHHw-KS.js +0 -45
  243. package/dist/assets/LabeledDocumentField-gxNaFx2j-B3wJNd8f.js +0 -41
  244. package/dist/assets/MagicLinkTitleSection-DdTLuD-8-2eGCS_tx.js +0 -17
  245. package/dist/assets/MailingDetailsSection-Bo_v3Gp2-BGvmU6P-.js +0 -21
  246. package/dist/assets/NavBarWithPicker-D0Bv9P4m-BQsnrfPP.js +0 -30
  247. package/dist/assets/NavigationDots-BfJxPG2K-CpLLe-k9.js +0 -14
  248. package/dist/assets/NotificationsListConfig-TCmn6L9k-LI7EhO_K.js +0 -1
  249. package/dist/assets/PaymentAccountSetupBillingAddressSection-CBvjcBEH-CfnKIIUr.js +0 -106
  250. package/dist/assets/PortfolioAllocationFormPage-yvAHgF_R-D9k2f595.js +0 -207
  251. package/dist/assets/ReimbursementPromoPage-Dox8Q_BC-BCFx3nzd.js +0 -112
  252. package/dist/assets/RoleWithToolTip-Cob2-Ppj-Chor2yuB.js +0 -22
  253. package/dist/assets/TransactionListPage-XP6Axg1M-41ODaIRL.js +0 -35
  254. package/dist/assets/TransactionVendorDetailPage-CY9kUYZc-DGMwaOvo.js +0 -80
  255. package/dist/assets/TransferDrawerPage-DOMX4_HE-BJbzuBja.js +0 -362
  256. package/dist/assets/TreasuryTransferOrReviewPage-CjxiFUqO-CkGSBfSi.js +0 -506
  257. package/dist/assets/ZeniAccountNavBarPieces-Cl1zQVNd-Hw2Z1YcK.js +0 -14
  258. package/dist/assets/mui-C5LQ0bMa.js +0 -25
@@ -1,4 +1,4 @@
1
- import{j as a,X as me,d2 as pe,_ as te,gN as Je,M as W,a0 as Te,K as He,c as et,a4 as Pe,o as t,C as d,a3 as je,k as tt,O as at,u as ze,bs as nt,cO as Ee,Q as V,g as Z,fQ as Ce,f as ot,l as T,Z as Me,c0 as it,a2 as be,a as rt,eX as lt,c3 as ct,F as st,cz as dt,f4 as mt,c8 as pt,fD as ut,q as r,bo as ht,bm as Be,cW as gt,bH as yt,e as Oe,f7 as ft,e$ as Ct,a7 as bt,f8 as xt,cq as St,f9 as wt,fi as Dt}from"./index-BS9BhstZ.js";import{n as o,b as p}from"./vendor-CnQcJ2Lu.js";import{x as $t}from"./LabeledControlledCheckBoxField-CwiyOI1Z-M-tLAb4Z.js";import{v as kt}from"./ChargeCardUtils-BbByGmi9-idcYoFNG.js";import{Y as xe}from"./CreditCardPaymentPlgSection-BS99Rbz7-CTrSYAEg.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const 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 V("h6Regular","h5Regular"),integerAmountInput:new V("h5Regular","h2Regular"),decimalAmountInput:new V("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:At}},common:{edit:vt,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:v,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:D})=>{const m=me(),P=ze(),j=pe().analytics,[M,L]=p.useState(!1);p.useEffect(()=>{e.error!=null?L(!0):L(!1)},[e.error]);const k=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(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&&j.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},v,y,b),x(!1)}})})}),a.jsx(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(Vt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{L(!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:k},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Wt,{}),a.jsx(Ce,{label:{label:Se.amount,width:k},showAdditionalInfoLabel:!0,additionalInfoLabel:`${D?ee.creditLimitReset:ee.creditLimitUpdate} ${T.zeniDate(T.getNextNthWorkingDay(T.dateNow().toDate(),[0,6],3).toDateString()).format(At)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:P.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Te("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:vt,onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},v,y,b),x(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Ht,{isOptionSelected:h,children:a.jsx(ea,{color:ft(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(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)`
1
+ import{j as a,e as me,d6 as pe,$ as te,gR as He,M as Y,a0 as Te,J as Qe,m as et,a4 as Pe,o as t,C as d,a3 as je,L as tt,c as at,u as ze,bx as nt,cS as Ee,X as V,g as X,fT as Ce,v as ot,l as T,s as Me,c4 as it,a2 as be,a as rt,e_ as lt,c7 as ct,F as st,cD as dt,f7 as mt,cc as pt,fG as ut,q as r,bt as ht,br as Be,c_ as gt,bL as yt,n as Oe,fa as ft,f2 as Ct,a7 as bt,fb as xt,cu as St,fc as wt,fl as Dt}from"./index-CnrHU8WN.js";import{n as o,b as p}from"./vendor-CnQcJ2Lu.js";import{x as $t}from"./LabeledControlledCheckBoxField-B6cLYSmS-taSeLw3M.js";import{S as kt}from"./ChargeCardUtils-C3fhOMpV-CuPIdUk0.js";import{Z as xe}from"./CreditCardPaymentPlgSection-BE982atG-B6gcx6zm.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.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 V("h6Regular","h5Regular"),integerAmountInput:new V("h5Regular","h2Regular"),decimalAmountInput:new V("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:At}},common:{edit:Lt,labels:Se,currency:we,navBar:{back:vt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=Y.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:L,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:D})=>{const m=me(),P=ze(),j=pe().analytics,[M,v]=p.useState(!1);p.useEffect(()=>{e.error!=null?v(!0):v(!1)},[e.error]);const k=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Zt,{windowSize:m,children:a.jsx(nt,{title:vt,enterTouchDelay:600,placement:"bottom",children:a.jsx(qt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)}})})}),a.jsx(Jt,{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(Wt,{}),a.jsxs(Et,{children:[a.jsx(Mt,{children:e.error?.title}),a.jsx(Bt,{children:e.error?.message})]})]}),a.jsx(Ut,{children:a.jsx(Vt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{v(!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:k},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Yt,{}),a.jsx(Ce,{label:{label:Se.amount,width:k},showAdditionalInfoLabel:!0,additionalInfoLabel:`${D?ee.creditLimitReset:ee.creditLimitUpdate} ${T.zeniDate(T.getNextNthWorkingDay(T.dateNow().toDate(),[0,6],3).toDateString()).format(At)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:P.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Te("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:Lt,onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},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(Qt,{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(Kt,{isOptionSelected:h,children:a.jsx(Ht,{})})}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,d2 as pe,_ as te,gN as Je,M as W,a0 as Te,K as He,c as et,
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,10 +47,10 @@ import{j as a,X as me,d2 as pe,_ as te,gN as Je,M as W,a0 as Te,K as He,c as et,
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``,Wt=o(gt)`
51
51
  width: ${t.sp4};
52
52
  height: ${t.sp4};
53
- color: ${Z.important};
53
+ color: ${X.important};
54
54
  `,Vt=o(je)`
55
55
  cursor: pointer;
56
56
  color: ${e=>e.theme.colors.hero};
@@ -60,13 +60,13 @@ import{j as a,X as me,d2 as pe,_ as te,gN as Je,M as W,a0 as Te,K as He,c as et,
60
60
  &:hover {
61
61
  color: ${e=>e.theme.colors.primary};
62
62
  }
63
- `,Wt=o.div`
63
+ `,Yt=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};
@@ -80,7 +80,7 @@ import{j as a,X as me,d2 as pe,_ as te,gN as Je,M as W,a0 as Te,K as He,c as et,
80
80
  &:hover {
81
81
  color: ${e=>e.theme.colors.primary};
82
82
  }
83
- `,Kt=o.div`
83
+ `,Zt=o.div`
84
84
  display: flex;
85
85
  flex-direction: row;
86
86
  justify-content: flex-start;
@@ -90,26 +90,26 @@ import{j as a,X as me,d2 as pe,_ as te,gN as Je,M as W,a0 as Te,K as He,c as et,
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
+ `,Jt=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
- `,Qt=o.img`
97
+ `,Gt=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
- `,Gt=o.div`
103
+ `,Kt=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};
107
- `,Jt=o(Dt)`
107
+ `,Ht=o(Dt)`
108
108
  min-width: inherit;
109
109
  width: inherit;
110
110
  height: inherit;
111
111
  margin-right: ${t.sp2};
112
- `,Ht=o.div`
112
+ `,Qt=o.div`
113
113
  min-width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
114
114
  width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
115
115
  height: ${e=>e.isOptionSelected?t.sp4:t.sp5};
@@ -126,7 +126,7 @@ import{j as a,X as me,d2 as pe,_ as te,gN as Je,M as W,a0 as Te,K as He,c as et,
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}}}=W.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 V("h5Regular","h2Regular"),decimalAmountInput:new V("largeSemiBold","h5Medium")};function ia({autoPayThreshold:e,plaidConnectionDetails:i,maxInsuredAmount:h,paymentDetails:n,lowBalanceAdditionalInfo:g,paymentAccount:c,isAccountsEnabled:f,onSaveChangesToLocalStore:v,onUpdatePaymentAccountStatus:y,onEstablishConnectionClick:b,onEstablishConnectionSuccess:x,onFetchLinkTokenClick:C,setShowReviewLoading:D,onSignUpAccountClick:m,onMoveMoneyClick:P,isCashbackInfoFetchStateCompleted:j,isCreditCardInfoFetchStateCompleted:M,isDebitCardInfoFetchStateCompleted:L,controllerEmails:k,productInformation:q,cashbackInformation:K,paymentSourceInformation:X,creditAccountInformation:Q,debitAccountInformation:G}){const s=me(),le=ze(),w=S.largeLabelWidth.value(s),J=pe().analytics,H=p.useRef(null),[z,E]=p.useState(!1),[I,O]=p.useState(void 0),A=i.link_account,oe=i.update_account,$=I==="update_account"?oe:A,[_,ue]=p.useState($.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,F=c?.providerVerificationStatus?.code,ye=be(oe.updateStatus.fetchState),Ve=p.useCallback((l,u)=>{const R=u.accounts.find(Ge=>Ge.id===c?.providerAccountId)??u.accounts[0];c?.paymentAccountId!=null&&I==="update_account"&&R?.verification_status!=null&&!ge?y(R?.verification_status,c.paymentAccountId,"update_account"):b?.(l,I),O(void 0),E(!1)},[c?.paymentAccountId,c?.providerAccountId,I,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),E(!1)},[c?.paymentAccountId,y]),{open:ce,ready:fe}=lt({token:_,onSuccess:Ve,onExit:We});p.useEffect(()=>{(he==="In-Progress"&&A.updateStatus.fetchState==="Completed"||ye==="In-Progress"&&oe.updateStatus.fetchState==="Completed")&&(T.isVerifiedPaymentAccountProviderStatusCode(F??"")||(C?.("link_account"),x()))},[A.updateStatus.fetchState,x,C,he,ye,oe.updateStatus.fetchState,F]),p.useEffect(()=>{(T.isVerifiedStatusCode(F??"")||F==="verification_failed")&&!z&&I!=null&&$.linkToken===_&&$.fetchStatus.fetchState==="Completed"&&fe&&E(!0)},[fe,_,$.fetchStatus.fetchState,$.linkToken,F,I,z]),p.useEffect(()=>{$.fetchStatus.fetchState==="Completed"&&$.linkToken!=null&&$.linkToken!==_&&ue($.linkToken)},[$.fetchStatus.fetchState,$.linkToken,_]),p.useEffect(()=>{z&&ce()},[z,ce]),p.useEffect(()=>{(F==null||F==="verification_failed"||F==="verification_expired"||T.isVerifiedStatusCode(F))&&(T.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=Ae(u,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);v(R)}},Ke=l=>{if(g!=null)return g;const u=n.transferFromAccounts.find(R=>R.id===l);return u?.accountBalance?.available!=null&&T.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"),Qe=N.handleSubmit(()=>{if(Ze){const l=N.getValues(),u=Ae(l,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);v(u),D(!0),j&&M&&L&&J.trackCardsPayEarlyFormClick(k,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,Q,G)}});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: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: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||T.zeniDate(new Date().toISOString()).isAfter(A.expiration)?C?.("link_account"):_!==A.linkToken?ue(A.linkToken):z?ce():E(!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:P}):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}}}=Y.getLocalizedStrings(),Ne="amount",oa="withdrawFrom",B="paymentDetails",Ue="creditCardPaymentPage",re=(e,i)=>`${e}.${i}`,We=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 V("h5Regular","h2Regular"),decimalAmountInput:new V("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:D,onSignUpAccountClick:m,onMoveMoneyClick:P,isCashbackInfoFetchStateCompleted:j,isCreditCardInfoFetchStateCompleted:M,isDebitCardInfoFetchStateCompleted:v,controllerEmails:k,productInformation:q,cashbackInformation:Z,paymentSourceInformation:J,creditAccountInformation:G,debitAccountInformation:K}){const s=me(),le=ze(),w=S.largeLabelWidth.value(s),H=pe().analytics,Q=p.useRef(null),[z,E]=p.useState(!1),[I,O]=p.useState(void 0),A=i.link_account,oe=i.update_account,$=I==="update_account"?oe:A,[_,ue]=p.useState($.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,F=c?.providerVerificationStatus?.code,ye=be(oe.updateStatus.fetchState),Ve=p.useCallback((l,u)=>{const R=u.accounts.find(Ke=>Ke.id===c?.providerAccountId)??u.accounts[0];c?.paymentAccountId!=null&&I==="update_account"&&R?.verification_status!=null&&!ge?y(R?.verification_status,c.paymentAccountId,"update_account"):b?.(l,I),O(void 0),E(!1)},[c?.paymentAccountId,c?.providerAccountId,I,ge,y,b]),Ye=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),E(!1)},[c?.paymentAccountId,y]),{open:ce,ready:fe}=lt({token:_,onSuccess:Ve,onExit:Ye});p.useEffect(()=>{(he==="In-Progress"&&A.updateStatus.fetchState==="Completed"||ye==="In-Progress"&&oe.updateStatus.fetchState==="Completed")&&(T.isVerifiedPaymentAccountProviderStatusCode(F??"")||(C?.("link_account"),x()))},[A.updateStatus.fetchState,x,C,he,ye,oe.updateStatus.fetchState,F]),p.useEffect(()=>{(T.isVerifiedStatusCode(F??"")||F==="verification_failed")&&!z&&I!=null&&$.linkToken===_&&$.fetchStatus.fetchState==="Completed"&&fe&&E(!0)},[fe,_,$.fetchStatus.fetchState,$.linkToken,F,I,z]),p.useEffect(()=>{$.fetchStatus.fetchState==="Completed"&&$.linkToken!=null&&$.linkToken!==_&&ue($.linkToken)},[$.fetchStatus.fetchState,$.linkToken,_]),p.useEffect(()=>{z&&ce()},[z,ce]),p.useEffect(()=>{(F==null||F==="verification_failed"||F==="verification_expired"||T.isVerifiedStatusCode(F))&&(T.zeniDate(new Date().toISOString()).isAfter(A.expiration)||A.linkToken==null)&&C?.("link_account")},[]);const{isValid:Xe}=N.formState,qe=async(l,u)=>{if(l!=null){if(l.includes("amount"))return;const R=Ae(u,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(R)}},Ze=l=>{if(g!=null)return g;const u=n.transferFromAccounts.find(R=>R.id===l);return u?.accountBalance?.available!=null&&T.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 Je=N.watch("paymentDetails.amount"),Ge=N.handleSubmit(()=>{if(Xe){const l=N.getValues(),u=Ae(l,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(u),D(!0),j&&M&&v&&H.trackCardsPayEarlyFormClick(k,q,Z,"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},J,G,K)}});return a.jsxs(a.Fragment,{children:[a.jsx(da,{children:a.jsx(Ee,{amount:{amount:Je??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:We(Ue),onSubmit:Ge,children:a.jsxs(ma,{children:[a.jsx(dt,{selectRef:Q,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||T.zeniDate(new Date().toISOString()).isAfter(A.expiration)?C?.("link_account"):_!==A.linkToken?ue(A.linkToken):z?ce():E(!0)}},valueToAdditionalLabel:Ze}),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:()=>{Q.current!=null&&Q.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:P}):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,d2 as pe,_ as te,gN as Je,M as W,a0 as Te,K as He,c as et,
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
- `,Ae=(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 V("h6Regular","h5Regular")},ve=W.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,Y=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:v,debitAccountInformation:y,cashbackInformation:b,paymentSourceInformation:x,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,paymentInitiatedDate:P,onSaveChangesToLocalStore:j,onTransferClick:M,goToCards:L,onDismissClick:k,onEstablishConnectionClick:q,onFetchLinkTokenClick:K,plaidConnectionDetails:X,onSignUpAccountClick:Q,onMoveMoneyClick:G,onUpdatePaymentAccountStatus:s,onEstablishConnectionSuccess:le})=>{const w=me(),J=pe().analytics,[H,z]=p.useState(!1),[E,I]=p.useState(!1);p.useEffect(()=>{E&&setTimeout(()=>{I(!1),z(!0)},1e3)},[E]);const O=i.chargeCardRepaymentDetailLocalData.amount.amount===v;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&&D&&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),k?.()}})}),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)}),ve.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:L})})]})]}):H?a.jsx(Ft,{paymentDetails:i,setShowReviewContent:z,onTransferClick:M,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,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&&D&&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:P?.add(3,"day").format(Le.visual.MMMDCommaYYYYformat),paymentInitiatedDate:P?.format(Le.visual.MMMDCommaYYYYformat)},x,f,y),k?.()}})}),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:j,plaidConnectionDetails:X,paymentDetails:i,setShowReviewLoading:I,onEstablishConnectionSuccess:le,isAccountsEnabled:n,onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:s,onEstablishConnectionClick:q,onSignUpAccountClick:Q,onMoveMoneyClick:G,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,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:W.getLocalizedStrings().common.review,isLoading:E},cancelBtn:{label:ve.transferDrawer.cancelBtn,onClick:()=>{C&&D&&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),k?.()}}})]})})},ha=o.div`
157
+ `,Ae=(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 V("h6Regular","h5Regular")},Le=Y.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,W=Y.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:ve}=Y.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:D,isDebitCardInfoFetchStateCompleted:m,paymentInitiatedDate:P,onSaveChangesToLocalStore:j,onTransferClick:M,goToCards:v,onDismissClick:k,onEstablishConnectionClick:q,onFetchLinkTokenClick:Z,plaidConnectionDetails:J,onSignUpAccountClick:G,onMoveMoneyClick:K,onUpdatePaymentAccountStatus:s,onEstablishConnectionSuccess:le})=>{const w=me(),H=pe().analytics,[Q,z]=p.useState(!1),[E,I]=p.useState(!1);p.useEffect(()=>{E&&setTimeout(()=>{I(!1),z(!0)},1e3)},[E]);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&&D&&m&&H.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),k?.()}})}),a.jsxs(Ca,{windowSize:w,children:[a.jsx(He,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),a.jsx(ga,{children:a.jsxs(a.Fragment,{children:[W.youvePaid,a.jsx(ya,{children:Te("0,0.[00]",i.chargeCardRepaymentDetailLocalData.amount)}),Le.transferDrawer.internal.transferSuccessMsgMidfix,`"${i.chargeCardRepaymentDetailLocalData.transferFrom?.label}".`,O?W.theCreditLimitWillResetWithin23BusinessDays:W.theCreditLimitWillUpdateWithin23BusinessDays]})}),a.jsx(fa,{windowSize:w,children:a.jsx(Qe,{variant:"primary",label:W.goToCards,"data-testid":te("back-to-cards-button"),onClick:v})})]})]}):Q?a.jsx(Ft,{paymentDetails:i,setShowReviewContent:z,onTransferClick:M,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,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&&D&&m&&H.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:P?.add(3,"day").format(ve.visual.MMMDCommaYYYYformat),paymentInitiatedDate:P?.format(ve.visual.MMMDCommaYYYYformat)},x,f,y),k?.()}})}),w==="small"?a.jsx(ba,{windowSize:w,children:W.payCreditCardBalance}):a.jsx(xa,{children:W.payCreditCardBalance}),i.fetchState==="Completed"?a.jsx(ia,{autoPayThreshold:e,maxInsuredAmount:h,onSaveChangesToLocalStore:j,plaidConnectionDetails:J,paymentDetails:i,setShowReviewLoading:I,onEstablishConnectionSuccess:le,isAccountsEnabled:n,onFetchLinkTokenClick:Z,onUpdatePaymentAccountStatus:s,onEstablishConnectionClick:q,onSignUpAccountClick:G,onMoveMoneyClick:K,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,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:We(Ue),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:Y.getLocalizedStrings().common.review,isLoading:E},cancelBtn:{label:Le.transferDrawer.cancelBtn,onClick:()=>{C&&D&&m&&H.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),k?.()}}})]})})},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,d2 as pe,_ as te,gN as Je,M as W,a0 as Te,K as He,c as et,
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:v,controllerEmails:y,productInformation:b,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:D,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:j,isDebitCardInfoFetchStateCompleted:M,goToCards:L,onDismissClick:k,onEstablishConnectionClick:q,onEstablishConnectionSuccess:K,onFetchLinkTokenClick:X,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:D,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:j,isDebitCardInfoFetchStateCompleted:M,creditAccountSpentAmount:f,onSaveChangesToLocalStore:c,onTransferClick:v,goToCards:L,onDismissClick:k,plaidConnectionDetails:Q,isAccountsEnabled:h,onEstablishConnectionClick:q,onFetchLinkTokenClick:X,onUpdatePaymentAccountStatus:g,onEstablishConnectionSuccess:K,onSignUpAccountClick:G,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:D,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:j,isDebitCardInfoFetchStateCompleted:M,goToCards:v,onDismissClick:k,onEstablishConnectionClick:q,onEstablishConnectionSuccess:Z,onFetchLinkTokenClick:J,plaidConnectionDetails:G,onSignUpAccountClick:K,onMoveMoneyClick:s})=>a.jsx(Sa,{children:a.jsx(ua,{autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:n,productInformation:b,controllerEmails:y,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:D,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:j,isDebitCardInfoFetchStateCompleted:M,creditAccountSpentAmount:f,onSaveChangesToLocalStore:c,onTransferClick:L,goToCards:v,onDismissClick:k,plaidConnectionDetails:G,isAccountsEnabled:h,onEstablishConnectionClick:q,onFetchLinkTokenClick:J,onUpdatePaymentAccountStatus:g,onEstablishConnectionSuccess:Z,onSignUpAccountClick:K,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,23 @@
1
- import{X as j,u as M,M as L,ab as R,a1 as T,j as i,_ as b,K as U,bB as H,o as l,g as n,C as a,aR as W,bH as B,ay as G,v as _,q as o}from"./index-BS9BhstZ.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 Y({heading:e,buttonText:c,analytics:g,maxInsuredAmount:u,pageName:h,style:x,onSignUpClick:y,onSwitchClick:S,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"),y?.();break;case s.switchButtonText:g?.trackPlgPromoClicked(h,"Switch Now"),S?.();break;default:g?.trackPlgPromoClicked(h,"Move Money"),$?.()}},k=R(T(u),u,v.currency.currencySymbol).toUpperCase();return i.jsxs(E,{windowSize:d,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(D,{children:[i.jsx(A,{windowSize:d,isDarkMode:f.mode==="dark",children:i.jsx(O,{windowSize:d,children:i.jsx(q,{})})}),i.jsx(F,{children:i.jsxs(I,{children:[i.jsx(J,{windowSize:d,children:e}),i.jsxs(N,{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(U,{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`
1
+ import{e as j,u as M,M as L,ab as T,a1 as H,j as i,$ as b,J as U,bF as W,o as l,g as n,C as a,aS as G,bL as J,az as R,d as D,q as o}from"./index-CnrHU8WN.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]),bulletContainerGap:new a(12,o[3])};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:C}=L.getLocalizedStrings(),s=C.setUp.accountsPlg,P=()=>{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"),$?.()}},z=T(H(u),u,v.currency.currencySymbol).toUpperCase();return i.jsxs(N,{windowSize:d,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(_,{children:[i.jsx(E,{windowSize:d,isDarkMode:f.mode==="dark",children:i.jsx(q,{windowSize:d,children:i.jsx(A,{})})}),i.jsx(O,{children:i.jsxs(I,{children:[i.jsx(B,{windowSize:d,children:e}),i.jsxs(K,{windowSize:d,children:[i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.two.replace("__amount__",z)})]}),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(U,{label:c,"data-testid":b("accounts-plg-button",c),onClick:k=>{k.stopPropagation(),P()},buttonColors:{borderColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},backgroundColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},textColor:{default:n.neutralGrey5Light,hover:n.neutralGrey5Light,disabled:n.neutralGrey5Light}},size:"small",style:{padding:`6px ${l.sp3}`,borderRadius:"6px"},textStyle:{fontWeight:W.regular}})})]})}const _=t.div`
2
2
  display: flex;
3
3
  align-items: center;
4
- `,J=t(B)`
4
+ `,B=t(J)`
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
- margin-right: ${e=>r.buttonRightMargin.valuePx(e.windowSize)};
14
- `,O=t.div`
13
+ `,q=t.div`
15
14
  width: ${e=>r.iconWidthHeight.valuePx(e.windowSize)};
16
15
  height: ${e=>r.iconWidthHeight.valuePx(e.windowSize)};
17
- `,q=t(W)`
16
+ `,A=t(G)`
18
17
  color: ${e=>e.theme.colors.primary};
19
18
  width: inherit;
20
19
  height: inherit;
21
- `,A=t.div`
20
+ `,E=t.div`
22
21
  display: flex;
23
22
  margin-bottom: auto;
24
23
  flex-direction: row;
@@ -32,7 +31,7 @@ import{X as j,u as M,M as L,ab as R,a1 as T,j as i,_ as b,K as U,bB as H,o as l,
32
31
  max-width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
33
32
  max-height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
34
33
  margin-right: ${e=>r.iconContainerMarginRight.valuePx(e.windowSize)};
35
- `,E=t.div`
34
+ `,N=t.div`
36
35
  display: flex;
37
36
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
38
37
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
@@ -54,26 +53,26 @@ import{X as j,u as M,M as L,ab as R,a1 as T,j as i,_ as b,K as U,bB as H,o as l,
54
53
  100% 100%,
55
54
  0% 0%;
56
55
  background-repeat: no-repeat;
57
- `,F=t.div`
56
+ `,O=t.div`
58
57
  display: flex;
59
58
  flex-direction: column;
60
- `,I=t.div``,N=t.div`
59
+ `,I=t.div``,K=t.div`
61
60
  display: flex;
62
61
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
63
- gap: ${e=>e.windowSize==="small"?"12px":l.sp5};
62
+ gap: ${e=>r.bulletContainerGap.valuePx(e.windowSize)};
64
63
  justify-content: space-between;
65
64
  margin: ${e=>e.windowSize==="small"?l.sp3:l.sp1}
66
65
  auto 0 0;
67
66
  `,p=t.div`
68
67
  display: flex;
69
68
  align-items: center;
70
- `,w=t(G)`
69
+ `,w=t(R)`
71
70
  width: ${l.sp3};
72
71
  height: ${l.sp3};
73
72
  vertical-align: middle;
74
73
  margin-right: ${l.sp1};
75
74
  color: ${n.success};
76
- `,m=t(_)`
75
+ `,m=t(D)`
77
76
  color: ${e=>e.theme.colors.primary};
78
77
  white-space: nowrap;
79
- `;export{Y};
78
+ `;export{Q as Z};
@@ -1,6 +1,6 @@
1
- import{cg as M,u as N,co as P,M as H,j as l,cp as L,_ as x,b1 as _,o,dg as z,bT as T,b2 as g,e as B,f as S,eT as U,eU as A,eV as K,v as X,a$ as Y,a3 as Z,g as m}from"./index-BS9BhstZ.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??""),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 v=R;return w.createElement(_,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:q,Option:G,Input:W,SingleValue:ee,ValueContainer:Q,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:J},hideSelectedOptions:!1,styles:I,isDisabled:a!=null})}})},q=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},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(T,{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(B)`
1
+ import{ck as M,u as P,cs as N,M as H,j as l,ct as L,$ as x,b2 as z,o,dk as _,bX as X,b3 as g,n as B,v as S,eX as Y,eY as Z,eZ as J,d as T,b0 as U,a3 as q,g as m}from"./index-CnrHU8WN.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=P(),[j,C]=w.useState(!1),k=N(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:A,Option:G,Input:W,SingleValue:ee,ValueContainer:Q,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:K},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},A=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]})})})},K=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(X,{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(B)`
2
2
  color: ${e=>e.theme.colors.primary};
3
- `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&U(e)===!1)return l.jsx(l.Fragment,{});{const r=A[`${K(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&&Y(e)===!1)return l.jsx(l.Fragment,{});{const r=Z[`${J(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,_ as x,b1 as _,o,dg as z,bT
105
105
  justify-content: space-between;
106
106
  fill: initial;
107
107
  color: initial;
108
- `,ne=n(X)`
108
+ `,ne=n(T)`
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,_ as x,b1 as _,o,dg as z,bT
126
126
  }
127
127
  `,de=n.div`
128
128
  display: flex;
129
- `,ue=n(Y)`
129
+ `,ue=n(U)`
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(Z)`
135
+ `,pe=n(q)`
136
136
  width: ${o.sp3};
137
137
  height: ${o.sp3};
138
138
  color: ${e=>e.theme.colors.primary};
@@ -1,4 +1,4 @@
1
- import{j as t,X as b,M as d,a2 as l,_ as p,c as x,o as i,$ as g,c0 as h,k as m}from"./index-BS9BhstZ.js";import{b as u,n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const $=o.div`
1
+ import{j as t,e as b,M as d,a2 as l,$ as p,m as x,o as i,D as g,c4 as h,L as m}from"./index-CnrHU8WN.js";import{b as u,n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const $=o.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -20,7 +20,7 @@ import{j as t,X as b,M as d,a2 as l,_ as p,c as x,o as i,$ as g,c0 as h,k as m}f
20
20
  width: 102px;
21
21
  color: ${e=>e.theme.colors.primary};
22
22
  cursor: pointer;
23
- `,k=o.div`
23
+ `,y=o.div`
24
24
  display: flex;
25
25
  flex: 1 1 auto;
26
26
  flex-direction: column;
@@ -38,13 +38,13 @@ import{j as t,X as b,M as d,a2 as l,_ as p,c as x,o as i,$ as g,c0 as h,k as m}f
38
38
  margin-bottom: ${i.sp1};
39
39
  padding: ${i.sp0} ${i.sp3};
40
40
  text-align: center;
41
- `,y=o(m)`
41
+ `,k=o(m)`
42
42
  color: ${e=>e.theme.colors.hero};
43
43
  padding: ${i.sp0} ${i.sp3};
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($,{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`
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(y,{children:[t.jsx(v,{children:a}),t.jsx(k,{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;
@@ -52,7 +52,7 @@ import{j as t,X as b,M as d,a2 as l,_ as p,c as x,o as i,$ as g,c0 as h,k as m}f
52
52
  `,P=o.div`
53
53
  width: 100%;
54
54
  position: absolute;
55
- `,S=o.div`
55
+ `,D=o.div`
56
56
  position: relative;
57
57
  display: flex;
58
58
  -webkit-box-align: center;
@@ -60,12 +60,12 @@ import{j as t,X as b,M as d,a2 as l,_ as p,c as x,o as i,$ as g,c0 as h,k as m}f
60
60
  justify-content: center;
61
61
  padding: ${i.sp0} ${i.sp3};
62
62
  min-height: ${i.sp8};
63
- `,C=o(g)`
63
+ `,S=o(g)`
64
64
  height: ${i.sp4};
65
65
  width: 102px;
66
66
  color: ${e=>e.theme.colors.primary};
67
67
  cursor: pointer;
68
- `,I=o.div`
68
+ `,C=o.div`
69
69
  display: flex;
70
70
  flex: 1 1 auto;
71
71
  flex-direction: column;
@@ -74,7 +74,7 @@ import{j as t,X as b,M as d,a2 as l,_ as p,c as x,o as i,$ as g,c0 as h,k as m}f
74
74
  justify-content: center;
75
75
  background: ${e=>e.theme.colors.background};
76
76
  padding: ${i.sp0} ${i.sp3};
77
- `,D=o(h)`
77
+ `,I=o(h)`
78
78
  color: ${e=>e.theme.colors.primary};
79
79
  margin-bottom: ${i.sp1};
80
80
  text-align: center;
@@ -85,4 +85,4 @@ import{j as t,X as b,M as d,a2 as l,_ as p,c as x,o as i,$ as g,c0 as h,k as m}f
85
85
  width: 100%;
86
86
  `,F=o.div`
87
87
  margin-top: ${i.sp3};
88
- `,M=({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(L,{children:[t.jsx(P,{children:t.jsx(S,{children:t.jsx(C,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:n})})}),t.jsxs(I,{children:[t.jsx(D,{children:a}),t.jsx(E,{children:c}),t.jsx(F,{children:t.jsx(x,{size:"Large",start:!0})})]})]})},q=e=>b()==="small"?t.jsx(M,{...e}):t.jsx(z,{...e});export{q as default};
88
+ `,M=({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(L,{children:[t.jsx(P,{children:t.jsx(D,{children:t.jsx(S,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:n})})}),t.jsxs(C,{children:[t.jsx(I,{children:a}),t.jsx(E,{children:c}),t.jsx(F,{children:t.jsx(x,{size:"Large",start:!0})})]})]})},G=e=>b()==="small"?t.jsx(M,{...e}):t.jsx(z,{...e});export{G as default};
@@ -0,0 +1 @@
1
+ import{j as r}from"./index-CnrHU8WN.js";import o from"./CustomerOnboardingNoStepsPage-xakP7IDr-j9vb9__e.js";import i from"./CustomerOnboardingPage-Ct5YbyHs-BO0Sy5Lx.js";import"./mui-Bi8r7UDG.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./HelpButton-CzTfBZQj-DZRTwrFl.js";import"./MeetingCalenderPopup-DWvpTRQJ-Bt4xdKnr.js";import"./PaymentAccountSetupBillingAddressSection-nGuJ5fbq-D3E47Aos.js";import"./SetUpAccountSection-D5x8PZG1-DygZSmwk.js";import"./SetUpDefaultSection-BsOdnADR-CaLnvPCj.js";import"./ChaseOverlay-RPex2o5e-Smu9780P.js";import"./CustomerOnboardingDetailPageSkeleton-jguCmaVx-CPLJBFIe.js";import"./CompanyOfficerDetailsSection-B8yGAFVj-BXFGaLke.js";import"./LabeledAddressValueField-Dl5yKg2N-CzXWQu_Y.js";import"./LabeledCreatableSingleSelectField-CV4GQQ7F-G2kg_Moc.js";import"./LabeledDocumentField-BFhyNqP8-B0rZURtH.js";import"./QBOSetupSection-CGrGCC2j-CuJwLC6X.js";import"./QBOConnectionDialog-DNP_b7aK-BzvUOq7o.js";const v=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?r.jsx(o,{...t}):r.jsx(i,{...t});export{v as default};
@@ -1,6 +1,6 @@
1
- import{j as s,_ as y,aI as E,u as f,X as T,bf as x,o as t,q as R,C as $,$ as I,M as N,g as u,eQ as U,h9 as P,e_ as L,aC as W,m as M,ha as O}from"./index-BS9BhstZ.js";import{n as r,f as S}from"./vendor-CnQcJ2Lu.js";const X=r(O)`
1
+ import{j as s,$ as y,aJ as E,u as f,e as T,bg as x,o as t,q as R,C as $,D as I,M as N,g as u,eU as U,h6 as P,f1 as L,aD as J,B as W,h7 as O}from"./index-CnrHU8WN.js";import{n as r,f as S}from"./vendor-CnQcJ2Lu.js";const B=r(O)`
2
2
  /* Size is controlled by styles.root prop */
3
- `,Y=r.div`
3
+ `,M=r.div`
4
4
  position: relative;
5
5
  width: ${t.sp3};
6
6
  height: ${t.sp3};
@@ -22,7 +22,7 @@ import{j as s,_ as y,aI as E,u as f,X as T,bf as x,o as t,q as R,C as $,$ as I,M
22
22
  pointer-events: none;
23
23
  z-index: 1;
24
24
  }
25
- `,_=({valueEnd:e,valueStart:i,children:o})=>{const[l,d]=S.useState(i);return S.useEffect(()=>{const a=setTimeout(()=>{d(e)},100);return()=>clearTimeout(a)},[e]),s.jsx(s.Fragment,{children:o(l)})},q=({valueEnd:e=50})=>{const i=f();return s.jsx(_,{valueStart:0,valueEnd:e,children:o=>s.jsx(Y,{theme:i,children:s.jsx(X,{value:o,strokeWidth:50,circleRatio:1,styles:{...P({pathColor:u.success,trailColor:"transparent",pathTransitionDuration:1.5,rotation:1,strokeLinecap:"butt"}),root:{width:t.sp3,height:t.sp3,position:"relative",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center"}}})})})},j=({isActive:e,isCompleted:i,isDisabled:o,isError:l,isHalfCompleted:d,theme:a})=>e||i||d||l?l?u.runwayRed:a.colors.primary:o?a.colors.grey1:a.colors.hero,w=({isActive:e,isCompleted:i,isDisabled:o,isHalfCompleted:l,theme:d})=>e||i||l?d.colors.primary:o?d.colors.grey1:d.colors.hero,F=r.div`
25
+ `,q=({valueEnd:e,valueStart:i,children:o})=>{const[l,d]=S.useState(i);return S.useEffect(()=>{const a=setTimeout(()=>{d(e)},100);return()=>clearTimeout(a)},[e]),s.jsx(s.Fragment,{children:o(l)})},F=({valueEnd:e=50})=>{const i=f();return s.jsx(q,{valueStart:0,valueEnd:e,children:o=>s.jsx(M,{theme:i,children:s.jsx(B,{value:o,strokeWidth:50,circleRatio:1,styles:{...P({pathColor:u.success,trailColor:"transparent",pathTransitionDuration:1.5,rotation:1,strokeLinecap:"butt"}),root:{width:t.sp3,height:t.sp3,position:"relative",zIndex:2,display:"flex",alignItems:"center",justifyContent:"center"}}})})})},j=({isActive:e,isCompleted:i,isDisabled:o,isError:l,isHalfCompleted:d,theme:a})=>e||i||d||l?l?u.runwayRed:a.colors.primary:o?a.colors.grey1:a.colors.hero,w=({isActive:e,isCompleted:i,isDisabled:o,isHalfCompleted:l,theme:d})=>e||i||l?d.colors.primary:o?d.colors.grey1:d.colors.hero,Z=r.div`
26
26
  width: 100%;
27
27
  display: flex;
28
28
  background: ${e=>e.isActive?e.theme.colors.grey5:null};
@@ -41,7 +41,7 @@ import{j as s,_ as y,aI as E,u as f,X as T,bf as x,o as t,q as R,C as $,$ as I,M
41
41
  color: ${e=>w({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.isDisabled,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
42
42
  }
43
43
  }
44
- `,J=r.div`
44
+ `,G=r.div`
45
45
  margin-right: ${t.sp2};
46
46
  margin-top: 2px;
47
47
  `,K=r(L)`
@@ -58,14 +58,14 @@ import{j as s,_ as y,aI as E,u as f,X as T,bf as x,o as t,q as R,C as $,$ as I,M
58
58
  border: 1px solid
59
59
  ${e=>e.isActive?e.theme.colors.primary:e.disabledStep?e.theme.colors.grey2:e.theme.colors.hero};
60
60
  border-radius: 50%;
61
- `,Z=r.div`
61
+ `,X=r.div`
62
62
  display: flex;
63
63
  flex-direction: column;
64
- `,B=r(W)`
64
+ `,Y=r(J)`
65
65
  color: ${e=>j({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isError:e.isError,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
66
- `,G=r(M)`
66
+ `,_=r(W)`
67
67
  color: ${e=>w({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
68
- `;function ee({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:l,isDisabled:d,isError:a,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:n}){const c=d||n.includes(e)&&i===!1;return s.jsxs(F,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:l,isError:a,onClick:d===!1?()=>{n.includes(e)&&i===!1||(p(!0),g(e))}:void 0,"data-testid":y("step-box",e),children:[s.jsx(J,{children:a?s.jsx(Q,{}):l?s.jsx(q,{}):o?s.jsx(K,{}):s.jsx(V,{isActive:i,disabledStep:c})}),s.jsxs(Z,{children:[s.jsx(B,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,isError:a,children:h}),s.jsx(G,{className:"step-content-subtitle",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,children:m})]})]})}const te=r.div`
68
+ `;function ee({onboardingStep:e,isActive:i,isCompleted:o,isHalfCompleted:l,isDisabled:d,isError:a,stepText:h,stepSubText:m,onUpdateStep:g,setIsStepClicked:p,disabledSteps:n}){const c=d||n.includes(e)&&i===!1;return s.jsxs(Z,{isActive:i,isDisabled:c,isCompleted:o,isHalfCompleted:l,isError:a,onClick:d===!1?()=>{n.includes(e)&&i===!1||(p(!0),g(e))}:void 0,"data-testid":y("step-box",e),children:[s.jsx(G,{children:a?s.jsx(Q,{}):l?s.jsx(F,{}):o?s.jsx(K,{}):s.jsx(V,{isActive:i,disabledStep:c})}),s.jsxs(X,{children:[s.jsx(Y,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,isError:a,children:h}),s.jsx(_,{className:"step-content-subtitle",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,children:m})]})]})}const te=r.div`
69
69
  display: flex;
70
70
  flex: 1 1 auto;
71
71
  margin-top: 84px;
@@ -115,7 +115,7 @@ import{j as s,_ as y,aI as E,u as f,X as T,bf as x,o as t,q as R,C as $,$ as I,M
115
115
  color: ${e=>e.theme.colors.primary};
116
116
  cursor: pointer;
117
117
  flex-shrink: 0;
118
- `,ue=e=>{const{isOnAddressPage:i,allSteps:o,completedSteps:l,halfCompletedSteps:d,errorSteps:a,currentStep:h,signedInUser:m,currentTenant:g,fetchStatus:p,onUpdateStep:n,onZeniLogoClick:c,handleLogOutClick:k,handleCockpitClick:A,setIsStepClicked:z}=e,D=p.fetchState==="In-Progress"||p.fetchState==="Not-Started",H=[];return s.jsxs(de,{children:[s.jsx(ne,{"data-testid":y("zeni-logo-customer-onboarding-drawer"),onClick:c}),D?s.jsx(le,{}):s.jsx(ie,{allSteps:o,isDisabled:i,disabledSteps:H,completedSteps:l,halfCompletedSteps:d,errorSteps:a,currentStep:h,onUpdateStep:n,setIsStepClicked:z}),s.jsx(ae,{children:s.jsx(E,{signedInUser:m,currentTenant:g,onLogOutClick:k,onCockpitClick:A})})]})},C={titleRectangleWidth:new $(250,500,550,600),subTitleRectangleWidth:new $(343,600,700,800)},pe=r.div`
118
+ `,ue=e=>{const{isOnAddressPage:i,allSteps:o,completedSteps:l,halfCompletedSteps:d,errorSteps:a,currentStep:h,signedInUser:m,currentTenant:g,fetchStatus:p,onUpdateStep:n,onZeniLogoClick:c,handleLogOutClick:k,handleCockpitClick:A,setIsStepClicked:D}=e,z=p.fetchState==="In-Progress"||p.fetchState==="Not-Started",H=[];return s.jsxs(de,{children:[s.jsx(ne,{"data-testid":y("zeni-logo-customer-onboarding-drawer"),onClick:c}),z?s.jsx(le,{}):s.jsx(ie,{allSteps:o,isDisabled:i,disabledSteps:H,completedSteps:l,halfCompletedSteps:d,errorSteps:a,currentStep:h,onUpdateStep:n,setIsStepClicked:D}),s.jsx(ae,{children:s.jsx(E,{signedInUser:m,currentTenant:g,onLogOutClick:k,onCockpitClick:A})})]})},C={titleRectangleWidth:new $(250,500,550,600),subTitleRectangleWidth:new $(343,600,700,800)},pe=r.div`
119
119
  display: flex;
120
120
  flex-direction: column;
121
121
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{d2 as se,j as o,X as Ce,u as Pe,a as we,h0 as be,M as xe,a2 as ke,c3 as Ie,aV as $e,o as i,_ as Ae,F as ve,a4 as Oe,aI as Ve,cw as je,cx as oe,$ as Te,C as Q,e as Le,q as $}from"./index-BS9BhstZ.js";import{n as c,b as A}from"./vendor-CnQcJ2Lu.js";import{D as Ue}from"./HelpButton-Coe4ii48-CvuplgJt.js";import{t as ze,e as Ee}from"./PaymentAccountSetupBillingAddressSection-CBvjcBEH-CfnKIIUr.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-BY4rv3eB-6NFXmXrK.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-DlnppXL_-BsJ0aU_e.js";import"./SetUpAccountSection-CYn2o43t-Cyl8tfm8.js";import"./SetUpDefaultSection-C0-L2ZyA-BVH3L8he.js";import"./ChaseOverlay-CvXMdD8r-DVeLI7lR.js";const J="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",q={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q($[3],$[3]),subTitlePaddingBottom:new Q($[3],$[3])},_e=e=>`${e}_form`,Fe=xe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:O,googleAPIKey:V,signedInUser:P,currentTenant:j,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:_,...F})=>{const u=Ce(),D=se(),{analytics:h}=D,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=F,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=Fe,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=je(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};A.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ie(()=>ge(s,a))});return()=>{t.unsubscribe()}}),A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??g.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),s=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(J);t&&a&&(ye(),T("link_payment_account"),_(me,!1,!0))};A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=A.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(ve,{...r,children:o.jsx(Ne,{id:_e(ie),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(ze,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:J,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:u,children:o.jsx(Ve,{signedInUser:P,currentTenant:j,onLogOutClick:G})}),style:{width:u==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:Se,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:y,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},Ke=c.div`
1
+ import{d6 as se,j as o,e as Ce,u as Pe,a as we,h4 as be,M as xe,a2 as ke,c7 as Ie,aW as $e,o as i,$ as Ae,F as Oe,a4 as ve,aJ as je,cA as Ve,cB as oe,D as Te,C as J,n as Le,q as $}from"./index-CnrHU8WN.js";import{n as c,b as A}from"./vendor-CnQcJ2Lu.js";import{D as Ee}from"./HelpButton-CzTfBZQj-DZRTwrFl.js";import{s as Ue,o as ze}from"./PaymentAccountSetupBillingAddressSection-nGuJ5fbq-D3E47Aos.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-jguCmaVx-CPLJBFIe.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-DWvpTRQJ-Bt4xdKnr.js";import"./SetUpAccountSection-D5x8PZG1-DygZSmwk.js";import"./SetUpDefaultSection-BsOdnADR-CaLnvPCj.js";import"./ChaseOverlay-RPex2o5e-Smu9780P.js";const Q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J($[3],$[3]),subTitlePaddingBottom:new J($[3],$[3])},De=e=>`${e}_form`,Fe=xe.getLocalizedStrings(),_e=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:v,googleAPIKey:j,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:E,updateCardPaymentModalState:w,handleAddCardPaymentSource:U,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:D,...F})=>{const u=Ce(),_=se(),{analytics:h}=_,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=F,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:O(e),values:O(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=Fe,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=Ve(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};A.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ie(()=>ge(s,a))});return()=>{t.unsubscribe()}}),A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(O(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??g.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),s=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(Q);t&&a&&(ye(),T("link_payment_account"),D(me,!1,!0))};A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(O(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=A.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(Oe,{...r,children:o.jsx(Ne,{id:De(ie),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:Q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:z,cardSetupInProgress:ae,googleAPIKey:j,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:u,children:o.jsx(je,{signedInUser:P,currentTenant:V,onLogOutClick:G})}),style:{width:u==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:Se,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(ze,{handleConfirmCardSetupIntent:E,updateCardPaymentModalState:w,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:y,stripeKey:v,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},Ke=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -58,7 +58,7 @@ import{d2 as se,j as o,X as Ce,u as Pe,a as we,h0 as be,M as xe,a2 as ke,c3 as I
58
58
  padding-bottom: ${e=>q.subTitlePaddingBottom.valuePx(e.windowSize)};
59
59
  text-align: ${e=>e.windowSize==="small"?"initial":"center"};
60
60
  width: 100%;
61
- `,v=e=>({[J]:{account:{allOptions:[],selectedOption:void 0}},[n]:be(n,e?.subscriptionBillingAddress)[n]}),pt=e=>{const{onboardingCustomerView:C,cardPaymentView:y,signedInUser:O,currentTenant:V,isOnAddressPage:P,stripeKey:j,googleAPIKey:T,meetingUrl:L,onUpdateStep:U,onZeniLogoClick:w,handleLogOutClick:z,handleCockpitClick:E,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:b,handleFetchPaymentSources:_,updateCardPaymentModalState:F,resetCardPaymentViewState:u,handleResetCardPaymentErrorStatuses:D,redirectToProductSuitePage:h,...K}=e,{allSteps:M,currentStep:R,fetchStatus:S}=C,N=se(),{analytics:G}=N,W={allSteps:M,isOnAddressPage:P,currentStep:R,fetchStatus:S,signedInUser:O,currentTenant:V,onUpdateStep:Z=>{U(Z)},onZeniLogoClick:w,handleLogOutClick:z,handleCockpitClick:E,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Qe,{isOnAddressPage:P,children:[x?o.jsx(Be,{isNoStepsPage:!0}):o.jsx(De,{...W,onboardingCustomerView:C,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:b,updateCardPaymentModalState:F,handleFetchPaymentSources:_,cardPaymentView:y,resetCardPaymentViewState:u,stripeKey:j,googleAPIKey:T,handleResetCardPaymentErrorStatuses:D,redirectToProductSuitePage:h,...K}),x?null:o.jsx(Ue,{isFooterRendered:!0,meetingUrl:L,analytics:G,productType:"onboarding"})]})},Qe=c.div`
61
+ `,O=e=>({[Q]:{account:{allOptions:[],selectedOption:void 0}},[n]:be(n,e?.subscriptionBillingAddress)[n]}),pt=e=>{const{onboardingCustomerView:C,cardPaymentView:y,signedInUser:v,currentTenant:j,isOnAddressPage:P,stripeKey:V,googleAPIKey:T,meetingUrl:L,onUpdateStep:E,onZeniLogoClick:w,handleLogOutClick:U,handleCockpitClick:z,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:b,handleFetchPaymentSources:D,updateCardPaymentModalState:F,resetCardPaymentViewState:u,handleResetCardPaymentErrorStatuses:_,redirectToProductSuitePage:h,...K}=e,{allSteps:M,currentStep:R,fetchStatus:S}=C,N=se(),{analytics:G}=N,W={allSteps:M,isOnAddressPage:P,currentStep:R,fetchStatus:S,signedInUser:v,currentTenant:j,onUpdateStep:Z=>{E(Z)},onZeniLogoClick:w,handleLogOutClick:U,handleCockpitClick:z,redirectToProductSuitePage:h},x=S.fetchState==="In-Progress"||S.fetchState==="Not-Started";return o.jsxs(Je,{isOnAddressPage:P,children:[x?o.jsx(Be,{isNoStepsPage:!0}):o.jsx(_e,{...W,onboardingCustomerView:C,handleCreateCardSetupIntent:B,handleConfirmCardSetupIntent:b,updateCardPaymentModalState:F,handleFetchPaymentSources:D,cardPaymentView:y,resetCardPaymentViewState:u,stripeKey:V,googleAPIKey:T,handleResetCardPaymentErrorStatuses:_,redirectToProductSuitePage:h,...K}),x?null:o.jsx(Ee,{isFooterRendered:!0,meetingUrl:L,analytics:G,productType:"onboarding"})]})},Je=c.div`
62
62
  display: flex;
63
63
  flex-direction: column;
64
64
  width: ${e=>e.isOnAddressPage?"fit-content":"100%"};