@zeniai/web-cockpit-ui 1.13.87-qa → 1.13.88-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 (233) hide show
  1. package/dist/assets/{ACHDetailsPage-CW8vDdF5-CB90wsmr.js → ACHDetailsPage-Dht0mfFW-Dn9VZjx5.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-tSqRY12b-tNOiZGci.js → AIPerformancePage-D8LI2uJ_-CFMKtsQV.js} +35 -35
  3. package/dist/assets/{AccountInfoPage-C9rcnhgb-Bt9MjsHp.js → AccountInfoPage-Cw_Mdy7Z-CgHNbOHf.js} +5 -5
  4. package/dist/assets/{AccountInfoPageContent-DftJxUep-ButkkA5-.js → AccountInfoPageContent-DadwVfBB-CcKZ7ci4.js} +20 -20
  5. package/dist/assets/{AccountReconDetailsDrawerPage-CBpvkm_m-tlx5xCRW.js → AccountReconDetailsDrawerPage-mQx5-mCY-CXTHdi5q.js} +15 -15
  6. package/dist/assets/{AccountRow-cQU8OX0K-BBK1UMsW.js → AccountRow-B4i2KTVu-DZIGknQG.js} +19 -19
  7. package/dist/assets/{AccountsPromoCardStack-DuBj_EHe-CNfBFeFD.js → AccountsPromoCardStack-B2NngRd9-cDiIvZy1.js} +22 -22
  8. package/dist/assets/{AddAddressForCardDrawer-D4edy26A-e-F2C-zj.js → AddAddressForCardDrawer-D-IznBH5-BJus8-sl.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-Lkfz2CzH-DcYM0qVc.js → AddToWalletPage-DflLtoqk-C5v1fW7G.js} +32 -32
  10. package/dist/assets/{AgingReportsPage-DtW2tU4n-DkXoH2pY.js → AgingReportsPage-z5SauZFW-CWSELr2T.js} +7 -7
  11. package/dist/assets/{AllUserItems-DcuO9Oho-DDFEui6F.js → AllUserItems-Cs-QjNZz-DLp9A32f.js} +5 -5
  12. package/dist/assets/{ApAgingDetailPage-D2UVTYqP-BcSUwDzr.js → ApAgingDetailPage-lLcH4EB_-rlPPDzk2.js} +2 -2
  13. package/dist/assets/{AppBasePage-iuomCofd-Bxi0l-Aj.js → AppBasePage-jmR82AtE-DayOXpZP.js} +4 -4
  14. package/dist/assets/{AppDrawerContent-BfpdXsfY-BuDkKpJQ.js → AppDrawerContent-BjVgRQD8-BmKoXH6f.js} +8 -8
  15. package/dist/assets/{ApprovalRulesSettingsPage-BKAWfUl9-CFjzXJN0.js → ApprovalRulesSettingsPage-zl3t7M0D-Cdqy44le.js} +7 -7
  16. package/dist/assets/{ArAgingChart--GzyqIlN-DqhBhlO7.js → ArAgingChart-B7_os9Eg-CgtB3vV8.js} +8 -8
  17. package/dist/assets/{ArAgingDetailPage-A0zmG_tR-DDPVHIgN.js → ArAgingDetailPage-DPGrFIuw-DbqMnESI.js} +4 -4
  18. package/dist/assets/{AttachmentView-D203zhS3-xLK_ead9.js → AttachmentView-B0X31J2n-CsjUR1d_.js} +5 -5
  19. package/dist/assets/{BankAccountSection-iz2k4H5K-CmQw-qqR.js → BankAccountSection-BGfiGdYG-BvbymoQK.js} +2 -2
  20. package/dist/assets/{BankAccountWarningSection-CSJXyjMA-BdlwzT2G.js → BankAccountWarningSection-Cd5lC0dV-ChbciCQi.js} +5 -5
  21. package/dist/assets/{BankConnectionsSettingsPage-Co5pwxWT-C57CQz8T.js → BankConnectionsSettingsPage-DHJqJw74-BePSQANr.js} +19 -19
  22. package/dist/assets/{BillDetailPage-BJbdAC5y-BRmRjS1t.js → BillDetailPage-CVPyGkX2-BrTeB9W1.js} +9 -9
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-D4-goF6x-AEPzGGmW.js → BillPayApprovalRuleDetailPage-CPvu5b92-Ms299zWc.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-CpAFdET_-CgrWnjdA.js → BillPayApprovalRulesPage-04rw5oF_-ByiJUcvs.js} +6 -6
  25. package/dist/assets/{BillPayPromoPage-DZn9Wdsi-DdmjMVny.js → BillPayPromoPage-xnBNKyGo-Qs57CtUW.js} +2 -2
  26. package/dist/assets/{BillPaySetUpPage-BGxI3SGy-DG6mHxGC.js → BillPaySetUpPage-2FceZZW4-B3NVG0AT.js} +2 -2
  27. package/dist/assets/{BillingSettingsPage-B3h6dTYD-CjqQwGO7.js → BillingSettingsPage-D2iVTCtE-DzLgV1gZ.js} +5 -5
  28. package/dist/assets/BillsBulkReviewDrawerPage-sdzCq1Cx-CMrpjPLV.js +1 -0
  29. package/dist/assets/{BoxItem-C-RN4c2j-bhmEIuEY.js → BoxItem-dOIVDQzt-BM2Or2XI.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-BEK8kZil-5C7hCzBt.js → BusinessVerificationPage-DaVB5XYz-abkyr0KT.js} +7 -7
  31. package/dist/assets/{CardNumberSubText-Bvs0Rr9x-BVW8Jq-r.js → CardNumberSubText-CX7raaMz-YubYXrEf.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-9aAW-23b-fVZRzgKq.js → CashbackDetailPage-xKd1BcXA-BnqvBKy2.js} +23 -23
  33. package/dist/assets/{ChargeCardDetailPage-DHjtLrCu-BQfT_X3n.js → ChargeCardDetailPage-D-htyuB--DNk7-kF0.js} +52 -52
  34. package/dist/assets/ChargeCardListPage-BFEDq_hH-CIWVY9p8.js +355 -0
  35. package/dist/assets/{ChargeCardListTable-jGT-e74M-Bfo2xdKo.js → ChargeCardListTable-D0rr5rCb-ubys_P-K.js} +24 -24
  36. package/dist/assets/ChargeCardPromoPage-C4RyYN8x-DrItIyBg.js +175 -0
  37. package/dist/assets/{ChargeCardSetupPage-CN5Nbcsp-BIe6etx3.js → ChargeCardSetupPage-DdabiH79-BJYnLJP3.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-Bu_rIDAD-p0UdCCCX.js → ChargeCardStatementsPage-fcVVhHeN-3BJYN5k8.js} +4 -4
  39. package/dist/assets/{ChargeCardUtils-C-37hd5J-BewU7KRU.js → ChargeCardUtils-CHUMBmgR-CJymagC4.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-BG833ttH-PaGVRTWF.js → ChaseOverlay-kXvIXrLn-BoWFlEip.js} +6 -6
  41. package/dist/assets/{CheckDepositDrawerPage-B4F_yGVS-DVC1uVGK.js → CheckDepositDrawerPage-DzZGbAGe-CUI6hMoI.js} +17 -17
  42. package/dist/assets/{CollapsableReportTable-CtS-s84B-xyO0T-AR.js → CollapsableReportTable-B7JqlhCA-D-71vAGn.js} +29 -29
  43. package/dist/assets/{CompanyOfficerDetailsSection-Bor8xmLS-CbhKmd4Y.js → CompanyOfficerDetailsSection-Cd0QdDAc-CRTLz9vU.js} +28 -28
  44. package/dist/assets/{CompanyPassportCard-n-awcw82-Bb4eo7Hj.js → CompanyPassportCard-Bhm76W7a-DhQY8aBm.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-WfbfWOs1-DXnLKQUM.js → CompanyPassportPage-B6Urivf7-Cf5kWZCy.js} +137 -137
  46. package/dist/assets/CompleteProfile-Ch4TNwnb-BDWK7-aS.js +36 -0
  47. package/dist/assets/{ConfettiBurst-UJtKVS38-DoQ2-0_a.js → ConfettiBurst-DxWLsUlB-rN2UgITP.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-BMLSs7Yo-Cs-PsPQz.js → CreateOrEditVendorPage-MjFD4wWW-Duct_eTQ.js} +4 -4
  49. package/dist/assets/{CreditCardPaymentDrawerPage-8zmbMj3u-CpO5DLfk.js → CreditCardPaymentDrawerPage-CcZnGiIZ-Ci6NOj44.js} +17 -17
  50. package/dist/assets/{CreditCardPaymentPlgSection-DD7kSp5v-D8blJ_Gx.js → CreditCardPaymentPlgSection-DEV6AUvV-Dv95csrn.js} +10 -10
  51. package/dist/assets/{CurrencySelectField-DGID-Pjb-CR93FCkZ.js → CurrencySelectField-iFR770y_-C1fOBvED.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-pdEVqtkO-BR-Us5Rj.js → CustomerOnboardingActivationPage-O_lVI1Iw-CSIlT4cV.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-DY7-75zX-BNg2Axnl.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-1d9j5dWO-Db0A3eib.js → CustomerOnboardingDetailPageSkeleton-WBhn2MmI-IC_mQp6e.js} +10 -10
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-BqrKQCFg-D9dxAH00.js → CustomerOnboardingNoStepsPage-CmnwYeBe-VDPM90YE.js} +9 -9
  56. package/dist/assets/{CustomerOnboardingPage-DVVWivk2-BKVrB-wE.js → CustomerOnboardingPage-DUMb3HBt-C_i7oxut.js} +5 -5
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-D_WVGW91-BCFkx71h.js → CustomerOnboardingProductSuitePage-DZ8c60qu-Ca-OS69A.js} +2 -2
  58. package/dist/assets/Dashboard-BqpjCXF4-2DYnY2Iv.js +778 -0
  59. package/dist/assets/DashboardReportPage-pKEtfyyz-CVEg_i3S.js +349 -0
  60. package/dist/assets/{DepositAccTransactionItem--OdW7LRx-DQO2v30s.js → DepositAccTransactionItem-CzhTsz8T-D_UbOtXk.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-BGapI5f0-D59wO-Pg.js → DepositAccTransactionListPage-BdBZvUQu-BB7xhCYl.js} +8 -8
  62. package/dist/assets/{DocumentSecurityBanner-Ctdvj5Tn-Bg7h7TYo.js → DocumentSecurityBanner-CjDxLXR5-BndWfQhM.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-BGP2DLHb-XHJJeAMf.js → DomesticWireDetailsPage-Ckv29rd5-DrJPPbKc.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-VDEpvzHH-5AMSntFu.js → DownloadOverlay-9HCQzpew-CsaBVCuK.js} +17 -17
  65. package/dist/assets/{DrawerPage-BauCSJ4q-SOaiaCNZ.js → DrawerPage-BxA7btCQ-vpjTPccl.js} +6 -6
  66. package/dist/assets/{EditPeoplePage-mz7FTion-Bp4oBpAG.js → EditPeoplePage-B9oW6E0C-C3pRQE6D.js} +13 -13
  67. package/dist/assets/{EditReimbursementDetailPage-Bi_rdyjb-BS7xPVWZ.js → EditReimbursementDetailPage-2_Ugsfav-CInqqrZe.js} +72 -72
  68. package/dist/assets/{EntityDetailPage-Bc2AVCEp-EAKy23II.js → EntityDetailPage-Dv97bCUN-BCQJ8lei.js} +2 -2
  69. package/dist/assets/{EntitySummarySection-CDO6K9RG-m9Xb7D9G.js → EntitySummarySection-CAz28n_B-DA_p__eJ.js} +7 -7
  70. package/dist/assets/{ExpenseAutomationOverviewPage-C7SAclix-D48fksxu.js → ExpenseAutomationOverviewPage-CpVokJPL-BSrPWwJ8.js} +23 -23
  71. package/dist/assets/{ExpenseAutomationPage-A03nzEV--JwDlhRhG.js → ExpenseAutomationPage-CFRiNGRE-CFvonBSo.js} +50 -50
  72. package/dist/assets/{ExpressPayPage-B5QCvPtb-Ceuw1nSf.js → ExpressPayPage-BsCQmXdG-CzkMNsZH.js} +11 -11
  73. package/dist/assets/{FeaturePreviewPage-Czr4aIad-ClnwSMd5.js → FeaturePreviewPage-CnYlH8Tm-cl_d37Wd.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-Cf1g5oOj-pTuhRnC4.js → FollowStepsSection-CvsH5sJq-DWW0wJJE.js} +10 -10
  75. package/dist/assets/{GlobalReviewListPage-BI8uyXfO-BqBR8N9Y.js → GlobalReviewListPage-CKbg3WRJ-BhA6WSL7.js} +9 -9
  76. package/dist/assets/HelpButton-DmSTrp5G-BZ5gO3eI.js +28 -0
  77. package/dist/assets/{InformationCardStack-WnJWUp5O-BdrN9-Nm.js → InformationCardStack-X52PXCzi-BTPqjoZv.js} +3 -3
  78. package/dist/assets/{InsightsCardStack-CRA0RPsW-DEulUvm7.js → InsightsCardStack-CXxA6hpf-BZ7-Ipfo.js} +8 -8
  79. package/dist/assets/{InsightsSection-DvcmBPbo-I8txt4Ed.js → InsightsSection-obWu95-o-miX-wlBZ.js} +2 -2
  80. package/dist/assets/{IntegrationsSettingsPage-D41_8UnK-BzX1klF8.js → IntegrationsSettingsPage-BFZjrnDu-BWjoBVhl.js} +7 -7
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BFN-eaZB-DiWzN9fj.js → InternationalWireSwiftDetailsPage-CywJ88_i-BroHKack.js} +13 -13
  82. package/dist/assets/{InternationalWireVerificationPage-xmoJO63s-fcjYXfBh.js → InternationalWireVerificationPage-CjunyEiQ-CkCrwyQO.js} +16 -16
  83. package/dist/assets/{InviteFormPage-Zy3qQng6-Dzi4wjiJ.js → InviteFormPage-BaaFGzDE-BIlf9-kB.js} +26 -26
  84. package/dist/assets/{InvitePageListView-gATEAhxa-1750k_N1.js → InvitePageListView-BJJQpITw-CDEymEsw.js} +36 -36
  85. package/dist/assets/InvitePeoplePage-7yKV1JuU-BmXtVrGW.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-CTbnx9F4-BKwFvytL.js → InvoiceUploadSection-CjV8q6sM-BkASWvfN.js} +5 -5
  87. package/dist/assets/{IssueChargeCardPage-BwBDVxeq-DMBVrvy7.js → IssueChargeCardPage-BTloC5fY-_HD69MiA.js} +20 -20
  88. package/dist/assets/{LabeledAddressValue-C5YXOhcz-B9O8J_oa.js → LabeledAddressValue-C8xq-j7G-D16vnyhu.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-CMIVYcKX-DwmLf5XR.js → LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.js} +2 -2
  90. package/dist/assets/{LabeledControlledCheckBoxField-Dr8ND8SA-qU3T6bE6.js → LabeledControlledCheckBoxField-D5A-8bnH-DqiGgCzm.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CrDFWvwI-ByyQPs9e.js → LabeledCreatableSingleSelectField-CB34OT80-C0m35imT.js} +3 -3
  92. package/dist/assets/LabeledDocumentField-MyG-6WMu-Cbf-CDaI.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-cv7zClcb-Rd0UWPPQ.js → LabeledDropDownFormattedTextField-DyvjlBIK-CeaVwHLj.js} +2 -2
  94. package/dist/assets/{LabeledText-DaM1ChQF-BJDKUk91.js → LabeledText-CEbLfx4b-BTTGqwXz.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-ClM9Uj1y-Ca9Srd9k.js → LabeledUserSingleSelectWithSubtitlesField-CDXChSPU-Dz8I-s1u.js} +12 -12
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DfAO3Vyq-DMlhbb58.js → LabeledZeniRolesDropDownField-CpZOSybd-7yPpOapA.js} +24 -24
  97. package/dist/assets/{LinkJETransactionPage-CSlZZ9r4-u030v8sX.js → LinkJETransactionPage-CF2S7mlj-BoLj0J2f.js} +10 -10
  98. package/dist/assets/{LowBalancePopup-ZfmTgr7J-CyqdgmTs.js → LowBalancePopup-CI3FeJJc-CdKJER0J.js} +5 -5
  99. package/dist/assets/{MagicLinkACHDetailsPage-Ad9q16ze-B-zDRQ1s.js → MagicLinkACHDetailsPage-Hs-8X1gB-CIg2sh6N.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-TudYpGU_-rl_ai-7x.js → MagicLinkDomesticWireDetailsPage-JY153fBS-Cm2_mDog.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DfZQur8x-BkWB4ski.js → MagicLinkInternationalWireDetailsPage-C7H0tqh2-n8HQkRdB.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-G9P6M-7E-Dn9-_Ceq.js → MagicLinkSuccessPage-DrfXx_R1-BNU78zpj.js} +5 -5
  103. package/dist/assets/{MagicLinkTitleSection-BnKDwhBK-dFBURNKh.js → MagicLinkTitleSection-GAlgtNgO-BKAs3T24.js} +3 -3
  104. package/dist/assets/{MailingDetailsSection-BV_-2RQM-BISYNWKn.js → MailingDetailsSection-DwEajxFH-BrjelhuF.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-C6y2cRLo-BXlKsIPR.js → MeetingCalenderPopup-CF-RTU9K-BubT6ngE.js} +3 -3
  106. package/dist/assets/{Menu-Dhi3mAAc-oy5nVsxE.js → Menu-DgxJQlbW-DIVRGIXR.js} +4 -4
  107. package/dist/assets/{MyBankConnectionsSettingsPage-D1DMNxbh-DyCsxMiu.js → MyBankConnectionsSettingsPage-Bkn9hqAF-DqE41rF5.js} +14 -14
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-CtxNt4Km-BAgms1T4.js → MyPendingActivationChargeCardListPage-Bg1r7PJb-DnJ-MJDd.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-ehPTh7cb-3Kvtm4mm.js → MyProfileSettingsPage-DFqIWGcr-jQcxs-Wf.js} +9 -9
  110. package/dist/assets/{NavBarWithPicker-BF7k45-H-BD-4z31h.js → NavBarWithPicker-BJyEgvZP-C-f0-1c6.js} +4 -4
  111. package/dist/assets/{NavigationArrow-DKuw9kCL-DcXiDSNd.js → NavigationArrow-CUVFG2Pf-P3tdOWHt.js} +6 -9
  112. package/dist/assets/{NavigationDots-DfJQIsra-B4-lC62v.js → NavigationDots-BDLMSply-CVhKiAdV.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-CWyjN00H-aj__e3zn.js → NewGlobalMerchantPage-Ck7DGlQi-CVmDfXRL.js} +9 -9
  114. package/dist/assets/NoDataChart-DMqFH96W--xyVCmNv.js +26 -0
  115. package/dist/assets/{NoDataTable-Txtz3a1x-B4acGol_.js → NoDataTable-B8PHBrBF-BIIbtUFT.js} +1 -1
  116. package/dist/assets/{NotFoundPage-DewJikvf-Dwa043Sn.js → NotFoundPage-4JmEE0vS-BkO12wXJ.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-CAFlFJ9J-Do-ef_2Q.js → NotificationSettingsPage-D6YQunRL-Dh3lfacW.js} +16 -16
  118. package/dist/assets/{NotificationsListConfig-B6PteXf7-BIkdPhzT.js → NotificationsListConfig-DZBF9h2L-DipP-kuo.js} +1 -1
  119. package/dist/assets/{NotificationsPage-CqmgbRYI-swH0XU-z.js → NotificationsPage-PjOFwF6H-CB9uEJYk.js} +14 -14
  120. package/dist/assets/{OpExByVendorPage-CYAYFvCM-Bf-NUPQ3.js → OpExByVendorPage-BNNQdeqy-v4NH_AXr.js} +6 -6
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-BQMRdhd_.js → OverlayContainerPage-C0rUb6-5-Dg1IHqst.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-v5t7YeHA-CmFZsOpi.js → PandLWithForecastPage-Cg3I1JPR-BHcMSGKl.js} +5 -5
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CnCCn9XQ-B8AttqeR.js → PaymentAccountSetupBillingAddressSection-BaNMRbqw-CIIlY3kM.js} +8 -8
  124. package/dist/assets/{PeoplePage-D89yZGJn-SKC3xcjg.js → PeoplePage-BRnDI6mc-CLBN4-_q.js} +29 -29
  125. package/dist/assets/{PortfolioAllocationFormPage-Cit7ssiw-DRnypnlm.js → PortfolioAllocationFormPage-BG5sY-R6-BBFBmc8X.js} +1 -1
  126. package/dist/assets/{PortfolioDetails-B1HXVeH2-JS5mwQ6d.js → PortfolioDetails-g9uKkfc0-2ntvLazE.js} +12 -12
  127. package/dist/assets/{ProductsCarousel-BeOYePu1-BLn0kA4L.js → ProductsCarousel-DZmAO-Ad-BvStEG-O.js} +6 -6
  128. package/dist/assets/{PromoBaseCards-D1DDp9C1-CtSgxD8-.js → PromoBaseCards-B9AnaalQ-hSs7-TQL.js} +23 -23
  129. package/dist/assets/{QBOConnectionDialog-nb_5mvqp-Dx2zeGQJ.js → QBOConnectionDialog-Bnhkqpjg-DkGgqNtn.js} +5 -5
  130. package/dist/assets/{QBOSetupSection-b-OrlvdU-J1tSF69q.js → QBOSetupSection-CHXmbhAv-C0u3acrS.js} +8 -8
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-vg7A7Fqa-Bs8ULMyB.js → ReimbursementApprovalRuleDetailPage-B2zXkJz--CABHH5fp.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-FYfZ8-hX-C7_-SNFA.js → ReimbursementApprovalRulesPage-HuTMMWVv-E3dBhOaI.js} +15 -15
  133. package/dist/assets/{ReimbursementDetailPage-DHsqq__V-CW4x7gsh.js → ReimbursementDetailPage-BLvwZrVh-DyidHFPC.js} +14 -14
  134. package/dist/assets/{ReimbursementPromoPage-D-wmyfH--BXOukruh.js → ReimbursementPromoPage-D_mQJpBI-Dp4ArZsT.js} +1 -1
  135. package/dist/assets/{ReimbursementSetUpPage-Cneg3RyB-BLaPlx-E.js → ReimbursementSetUpPage-FkxlkcbN-DldfTkkM.js} +6 -6
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-OTHapAJy--FdRStrz.js → ReimbursementsBulkReviewDrawerPage-Oqy1_VEa-BpS2SfWm.js} +1 -1
  137. package/dist/assets/{ReloadCard-D72dkm5s-pruy4X0y.js → ReloadCard-DXOUba_M-CHzipN0D.js} +3 -3
  138. package/dist/assets/ReportTableViewSelector-CHN0DsMB-DHP2dHrr.js +150 -0
  139. package/dist/assets/ReportsPage-FPxKx4-a-CZcO3AqP.js +120 -0
  140. package/dist/assets/{RevenueChart-G7w1_QXE-4uA5c1Xh.js → RevenueChart-L0b_usU7-Cf8KBYNj.js} +13 -13
  141. package/dist/assets/{ReviewDetailsPage-i6ZXMuAf-Bi36BJrO.js → ReviewDetailsPage-BNpQBWoS-DCIttZXD.js} +14 -14
  142. package/dist/assets/{ReviewOverlay-D0tbkcpk-D67sCtmU.js → ReviewOverlay-DDNAl3b3-DNGVMro9.js} +15 -15
  143. package/dist/assets/{RoleWithToolTip-w2s9tX9j-BuSHjydh.js → RoleWithToolTip-B-ODIDAN-8uYeRtpZ.js} +2 -2
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-5uPqQbhv-DKHty5Ss.js → ScheduleDetailsFixedAssetsPage-DqZ58bn4-KjYX5XLP.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-n2Mhm3VT-Cx_O7EWQ.js → ScheduleDetailsPage-BASxSK8V-BPASbuj9.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-BbLZtq_G-CDkEPkjI.js → ScheduleSequenceTable-6xfi8GG9-DmNanpes.js} +50 -50
  147. package/dist/assets/{ScreenRoutes-B09FfdGa.js → ScreenRoutes-BiNVsQKa.js} +35 -35
  148. package/dist/assets/{SetUpAccountSection-CuOJZCNp-pnGbYCVV.js → SetUpAccountSection-pi1sH7b5-Cq5TVamg.js} +11 -11
  149. package/dist/assets/{SetUpDefaultSection-D0d0yzu8-Bvz7vZrr.js → SetUpDefaultSection-BpL2WnED-COlpwQhL.js} +16 -16
  150. package/dist/assets/{SignIn-CtZ8rTB_-Dmn8P3hR.js → SignIn-Bijj9JoA-Cew9W98o.js} +12 -12
  151. package/dist/assets/{SignInScreen-CTyOdckZ.js → SignInScreen-BJO_D-wG.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-ymHs-MwL-Cvxx50BK.js → SpendManagementListViewPage-D5QPI34r-C-QrSt_z.js} +12 -12
  153. package/dist/assets/{SpendManagementPerTabPage-DwRwO5jR-KDLKiIU6.js → SpendManagementPerTabPage-BtYyuusT-Do7z39Lr.js} +44 -44
  154. package/dist/assets/{SpendManagementSection-B1F6rl-n-r-gQss8s.js → SpendManagementSection-D_HyfwAe-SNH64OwE.js} +10 -10
  155. package/dist/assets/{SpendMgmtSetupAccountSection-o-48qyw7-Blkz3omT.js → SpendMgmtSetupAccountSection-B4wik5Ee-Dl8PxI-i.js} +14 -14
  156. package/dist/assets/{StatementItem-CK2sUgkE-CV2yMx9D.js → StatementItem-BNQblVLa-DfVA7ygW.js} +5 -5
  157. package/dist/assets/StatementsPage-_-cg9582-BHbhelbD.js +58 -0
  158. package/dist/assets/{StatusSwitcher-BppDI7-7-D5wYUblP.js → StatusSwitcher-D-0rNVEI-0aefdUDA.js} +2 -2
  159. package/dist/assets/{SubTabSwitcher-DTe2L8JC-DqmpaA37.js → SubTabSwitcher-D_djwADF-D-PRIZuk.js} +1 -1
  160. package/dist/assets/{SummaryCard-B-_3DnqQ-bNOEfr4c.js → SummaryCard-0WkhoBZC-D0OeJhk2.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-NFVqhs6K-DHzf2Ob9.js → TaskManagementPage-Dwna66e0-B61LD4aR.js} +29 -29
  162. package/dist/assets/{TimeRangeSwitcher-D5pSi1fB-CyiIexM1.js → TimeRangeSwitcher-C_XduWs4-CbvmuLlw.js} +2 -2
  163. package/dist/assets/{TimeframeSwitcher-CQ37qP58-BR2uPjpg.js → TimeframeSwitcher-rcx5z-sh-BEuYgoAf.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-DDX_BvPF-D7Uat0Z2.js → TimeframeSwitcherWithToggle-Bvkq6Qa--BjOAxPwu.js} +1 -1
  165. package/dist/assets/{TopExCard-CU-kbyDP-DpFe18S5.js → TopExCard-J5ItU1Wy-Cu15poFM.js} +4 -4
  166. package/dist/assets/{TopExDetailPage-COxNovqU-BNoHxwIV.js → TopExDetailPage-Lqg8jkw2-DtS18JXg.js} +6 -6
  167. package/dist/assets/{TransactionDetailPage-k06RliU--DRDMDhs2.js → TransactionDetailPage-jXKnnUTd-B5jk24Y7.js} +33 -33
  168. package/dist/assets/{TransactionList-CuRdM1xm-BxrzhpwN.js → TransactionList-BVJHbP4d-Ch-jGNeO.js} +1 -1
  169. package/dist/assets/{TransactionListBig-ByLaQQUK-Cbobr9Mu.js → TransactionListBig-CUi7KfHo-C4bVkVsF.js} +1 -1
  170. package/dist/assets/{TransactionListPage-ioT-Jexm-DvAtPQvQ.js → TransactionListPage-BFYQMXP7-C0S4ibvh.js} +3 -3
  171. package/dist/assets/{TransactionVendorDetailPage-Dyg9upjC-llCQwJ83.js → TransactionVendorDetailPage-Cc45iBaC-CYlKau2p.js} +4 -4
  172. package/dist/assets/{TransferDrawerPage-B6zOVR7E-T5_goh6O.js → TransferDrawerPage-D0eKdLeA-iajVz-hc.js} +6 -6
  173. package/dist/assets/{TreasuryOverviewPage-Cae5Kj1r-BixeOVer.js → TreasuryOverviewPage-C-tdus29-TA5FDvFH.js} +21 -21
  174. package/dist/assets/{TreasuryPromoPage-iNiwYAiH-D38CXmN0.js → TreasuryPromoPage-Cohb5lP7-CR5t6hp9.js} +13 -13
  175. package/dist/assets/{TreasurySetupPage-Bdl5g5Ct-6BMxYLJY.js → TreasurySetupPage-DS2_m-SO-C9dOpRDI.js} +6 -6
  176. package/dist/assets/{TreasuryStatementsPage-CLy-YBGI-C2MGmDDx.js → TreasuryStatementsPage-DooqXGAQ-Nys4g6CT.js} +5 -5
  177. package/dist/assets/{TreasuryTaxLetterPage-lRsyHBLO-DTC-Ozh-.js → TreasuryTaxLetterPage-hpQxSwqV-C6md3T0o.js} +5 -5
  178. package/dist/assets/{TreasuryTransferOrReviewPage-Cbfh-a6j-DA35yu7V.js → TreasuryTransferOrReviewPage-LCmwI3GX-DIM186Ba.js} +18 -18
  179. package/dist/assets/{TrendChart-BXOatw0x-DWANUBOO.js → TrendChart-N85Ktah2-DbfJUW0C.js} +3 -3
  180. package/dist/assets/{TrendWithTransactions-BxoyLfjd-BzgPdMBE.js → TrendWithTransactions-Cm8gWBLF-D6KvkDCe.js} +3 -3
  181. package/dist/assets/{UncategorizedAccountsMappingPage-BA4o7PWu-CIUAowc3.js → UncategorizedAccountsMappingPage-DF2hKM1m-81hpHrc8.js} +14 -14
  182. package/dist/assets/{UnitIntegrationPage-Clt-99RU--2bMpJpJ.js → UnitIntegrationPage-DXYXOU32-D4QmLDZr.js} +4 -4
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-LxTjdCJQ-BVVTySSY.js → UploadAdditionalDocumentOverlay-ed-RjMyM-CfzPGhhV.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-DjHQdB-O-DwQ3MUMw.js → Vendor2FAPopup-CNiCYT5L-CWO_4B0w.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-TaEzA3ib-Qw97wjnm.js → VendorACHDetailsPage-DfERI3o4-BsWmPjPQ.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-BeADTlAW-t4AIOnaP.js → VendorDetailPage-BYEJTlBT-F41D5bVR.js} +11 -11
  187. package/dist/assets/{VendorDomesticWireDetailsPage-EpIw_vNR-Bn05lHNP.js → VendorDomesticWireDetailsPage-Cvje85xW-CoKfiQe4.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-B-jTzcx7-3eLtd7Wp.js → VendorFiling1099EditablePage-Brjs_rAW-xrscdaKd.js} +11 -11
  189. package/dist/assets/{VendorFirstReviewPage-BrlyeQoC-C39w7xpJ.js → VendorFirstReviewPage-CjmWNXBj-gmr0s-A9.js} +45 -45
  190. package/dist/assets/{VendorInternationalWireDetailsPage-B22crnTD-B_UIm63i.js → VendorInternationalWireDetailsPage-CRPZSizn-Cs0CkU1Q.js} +6 -6
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BpXZD_Eh-CBhBTsHL.js → VendorInternationalWireSwiftDetailsPage-DgOKhTmI-CrPwfH_9.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-CLrfBouK-CJ-SFhFR.js → VendorsAccountsSection-CdrVkoqQ-DQSVBIpk.js} +2 -2
  193. package/dist/assets/{WarningsDrawerPage-CBZRy4Sm-CNpM2hV4.js → WarningsDrawerPage-vVdVeMGb-CxkitKe7.js} +5 -5
  194. package/dist/assets/{ZeniAccountDetailPage-Bfvuuiyl-D5iu_To5.js → ZeniAccountDetailPage-DzA2-ZfY-wtm1nTKn.js} +11 -11
  195. package/dist/assets/{ZeniAccountListViewPage-CTqmq_Vp-DDWNWU5S.js → ZeniAccountListViewPage-BjOzn-pL-6JPmGfI4.js} +18 -18
  196. package/dist/assets/{ZeniAccountNavBarPieces-iNAQFffX-CAuA9AB8.js → ZeniAccountNavBarPieces-C4QCZKVg-D6pvbVi1.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-XHKL_dgv-FIauIEMl.js → ZeniAccountPromoPage-CojH6h6Y-CD2AJLZX.js} +6 -6
  198. package/dist/assets/{ZeniAccountSetupPage-BHMr828J-s14Ot8pw.js → ZeniAccountSetupPage-BQ4BSW6F-BBPr3Uxy.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-B_2DB9mm-Iu5ZYmr5.js → ZeniCopyright-DZ-h_Rou-a8ozaQ8I.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-BnjyU6o3-BRZo4rWq.js → ZeniTransferAmountSlider-CDH-_8b0-DSbwC4eG.js} +1 -1
  201. package/dist/assets/{analyticsHelper-mkCbekyx.js → analyticsHelper-Bfbjyikr.js} +1 -1
  202. package/dist/assets/{analyticsHelper-Bh8Vo_J_-Dz70yD0Z.js → analyticsHelper-DqZXz5oK-BxmRVxaA.js} +1 -1
  203. package/dist/assets/{chartTypes-DpnOYtNo-B5aKSihc.js → chartTypes-BrP58mNO-B-70_tkk.js} +1 -1
  204. package/dist/assets/{commonDimensions-D2zuat_O-_HAURWTX.js → commonDimensions-C9IpJAVN-CUmNJDhl.js} +1 -1
  205. package/dist/assets/{detailCommon-CloEmsTm-DPRCEjHN.js → detailCommon-nFSW0gvc-DlaVwlOn.js} +6 -6
  206. package/dist/assets/{downloadPdf-OWaFOL1J-1Uf6CtV1.js → downloadPdf-CYD5QftD-D8rZSmdk.js} +1 -1
  207. package/dist/assets/{index-BPBiFjSz.js → index-CvH632ro.js} +2991 -3029
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-Df6n7jwq-BbzFMVUs.js → mapLoadingInProgressToTreeNode-Dj9DvcOS-DbJ7Bl88.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BvlNBFiJ-hONNtf60.js → mapSectionWithAcOnlyToTreeNode-Bw9kw0FP-Cp0PGUTm.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-BM8XMc8I-lw0HLFsb.js → mapSpacerToTreeNode-CJfnsOmt-Cn-_J65X.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-B3bP14C6-CrVRO0eE.js → mapTimeframeBalancesToTreeNode-BJdFcHRm-B1px_eKw.js} +1 -1
  212. package/dist/assets/{play-icon-NE4JTPpx-g-DRHCM4.js → play-icon-C1_v_oqQ-CDjV5GaD.js} +3 -3
  213. package/dist/assets/{toCOABalancesWithID-DN21aiLH-BF_wyRtn.js → toCOABalancesWithID-CYXJAMXX-B3cjnX0k.js} +1 -1
  214. package/dist/assets/{toChartData-CG9GudeA-BhlsMGvX.js → toChartData-oAAd1YDY-DlgK3yY0.js} +1 -1
  215. package/dist/assets/{treasuryColorHelper-CNX5IuXX-D3P3dfsj.js → treasuryColorHelper-BClHzQle-D6h04w-g.js} +1 -1
  216. package/dist/assets/{uploadAttachment-D42oX05_-B8NoiuTW.js → uploadAttachment-Bi2HYlA8-BLU3BxOX.js} +23 -23
  217. package/dist/assets/{uploadReceipts-Buvz7DfG-BvrCCUv7.js → uploadReceipts-Buvz7DfG-CBvWSxWy.js} +1 -1
  218. package/dist/index.html +1 -1
  219. package/package.json +4 -4
  220. package/dist/assets/BillsBulkReviewDrawerPage-Ck830aIk-Muwqz4V9.js +0 -1
  221. package/dist/assets/ChargeCardListPage-DzmHmoAp-DkDCof5G.js +0 -355
  222. package/dist/assets/ChargeCardPromoPage-C2wn8FfE-Bwf33b5s.js +0 -219
  223. package/dist/assets/CompleteProfile-D80JYwPP-BeltN21o.js +0 -36
  224. package/dist/assets/CustomerOnboardingContainerPage-ChQOOhF_-CPShfQl0.js +0 -1
  225. package/dist/assets/Dashboard-B-fLAQ8T-Dd2qG3Mu.js +0 -1253
  226. package/dist/assets/DashboardReportPage--SAxmUu_-BTOL1yPy.js +0 -349
  227. package/dist/assets/HelpButton-CWPUP9Y_-CSln-b4P.js +0 -28
  228. package/dist/assets/InvitePeoplePage-DkRbCpN7-CQ2Yf4e7.js +0 -12
  229. package/dist/assets/LabeledDocumentField-BG6Pu34Y-DioMBjOT.js +0 -41
  230. package/dist/assets/NoDataChart-BHIoW_SW-CVC9oSAH.js +0 -26
  231. package/dist/assets/ReportTableViewSelector-DfZ5geuW-WxWsI3EO.js +0 -133
  232. package/dist/assets/ReportsPage-7E3Q5HHF-CAVn2aMT.js +0 -120
  233. package/dist/assets/StatementsPage-D25LsJRp-js6eUI8q.js +0 -58
@@ -0,0 +1,36 @@
1
+ import{a as R,gg as M,M as $,j as e,F as q,T as f,c6 as z,cf as G,cc as K,l as T,o as a,ca as _,gh as H,a7 as W,c0 as X,bp as Y,gi as J}from"./index-CvH632ro.js";import{b as g,f as b,n}from"./vendor-CnQcJ2Lu.js";import{$ as Q}from"./LabeledAddressValue-C8xq-j7G-D16vnyhu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const t=$.getLocalizedStrings(),x="completeProfilePage",r="basicDetailsSection",y="addressSection",d=(o,m)=>`${o}.${m}`,he=({userEmail:o,googleAPIKey:m,otpChallenge:j,sendOtpStatus:w,verifyOtpStatus:h,saveStatus:v,onSave:u,onGetOtp:P,onVerifyOtp:S,onResendOtp:O})=>{const[s,c]=g.useState(!1),[V,C]=g.useState(!1),i=R({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:o,dateOfBirth:void 0,phone:"",address:void 0}}}),F=M({control:i.control,name:`${r}.address`}),{dateFormat:I}=$.getLocalizedStrings(),N=i.handleSubmit(l=>{u&&u(l)}),L=()=>{const l=i.getValues(`${r}.phone`);l!=null&&l.trim().length>0&&P(l)},k=(l,p)=>{S(l,p)},D=l=>{l!=null&&l.trim().length>0&&O(l)},B=()=>{c(!0)},E=()=>{c(!1)},A=()=>{const l=i.getValues(`${y}`);if(l!=null){const p=J(l);i.setValue(`${r}.address`,p)}c(!1)};return e.jsxs(U,{children:[e.jsxs(Z,{children:[e.jsxs(ee,{children:[s&&e.jsx(oe,{onClick:E}),t.completeProfile.title]}),e.jsx(te,{children:e.jsx(q,{...i,children:e.jsxs("form",{id:`${x}_form`,onSubmit:N,children:[e.jsx(f,{controller:s===!1,children:e.jsxs(b.Fragment,{children:[e.jsx(z,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:t.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:d(r,"email")}}),e.jsx(G,{isDisabled:void 0,label:{label:t.common.labels.name,width:168},style:{width:"100%"},nameField:{name:d(r,"name"),placeHolder:{firstName:t.common.placeholder.firstNamePlaceholder,lastName:t.common.placeholder.lastNamePlaceholder,name:t.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),e.jsx(K,{isOptional:!0,label:{label:t.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:d(r,"dateOfBirth"),placeholder:t.common.placeholder.dobPlaceholder,dateFormat:I.visual.defaultInput,autoComplete:"off",maxDate:T.dateNow().subtract(18,"year")}}),e.jsx(Q,{isOptional:!0,label:{label:t.common.labels.address,width:168},addressValue:{placeholder:t.common.placeholder.addressPlaceholder,address:F,onClick:B},style:{width:"100%",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`}}),e.jsx(_,{isOptional:!0,label:{label:t.common.labels.phone,width:168},style:{width:"100%"},text:{name:d(r,"phone"),placeholder:t.common.placeholder.phonePlaceholder,defaultValue:"",autoComplete:"new-password"},errorInfoLabel:"",verificationErrorInfoLabel:t.common.errorMessage.invalidPhoneNumber,isPopupOpen:V,phoneVerifyButtonProps:{otpChallenge:j,showOtpButton:!0,onGetOtp:L,onVerifyOtp:k,onResendOtp:D,isPhoneVerified:h.fetchState==="Completed",phoneVerificationStatus:h,getOtpStatus:w,openPopup:()=>{C(!0)},focusNotRequired:!0}})]})}),e.jsx(f,{controller:s===!0,children:e.jsx(b.Fragment,{children:e.jsx(H,{sectionId:y,googleAPIKey:m,isSubPage:!0})})})]})})})]}),e.jsx(W,{formId:s?void 0:`${x}_form`,primaryBtn:{label:s?t.companyPassport.address.saveAddress:t.common.footer.save,type:s?"button":"submit",onClick:s?A:void 0,isLoading:v.fetchState==="In-Progress"},showCancel:!1})]})},U=n.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ min-height: 100vh;
5
+ `,Z=n.div`
6
+ display: flex;
7
+ flex-direction: column;
8
+ align-items: flex-start;
9
+ padding: ${a.sp5};
10
+ row-gap: ${a.sp3};
11
+ flex: 1;
12
+ `,ee=n(X)`
13
+ color: ${o=>o.theme.colors.primary};
14
+ text-align: left;
15
+ display: flex;
16
+ align-items: center;
17
+ justify-content: flex-start;
18
+ gap: ${a.sp2};
19
+ `,oe=n(Y)`
20
+ cursor: pointer;
21
+ width: ${a.sp4};
22
+ height: ${a.sp4};
23
+ color: ${o=>o.theme.colors.hero};
24
+ display: flex;
25
+ align-items: center;
26
+ justify-content: center;
27
+ &:hover {
28
+ color: ${o=>o.theme.colors.primary};
29
+ }
30
+ `,te=n.div`
31
+ background-color: ${o=>o.theme.colors.grey5};
32
+ border-radius: ${a.sp2};
33
+ width: 100%;
34
+ box-shadow: ${o=>o.theme.colors.elevation1};
35
+ border-color: ${o=>o.theme.colors.grey3};
36
+ `;export{he as default};
@@ -1 +1 @@
1
- import{d0 as m,ab as l,j as a,aj as f,o as n}from"./index-BPBiFjSz.js";import{b as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const c="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",C=({showConfetti:t})=>{const[e,p]=i.useState(t),[o,s]=m(c),[r]=l("ConfettiSuccess");return i.useEffect(()=>{t&&p(!0)},[t]),i.useEffect(()=>{e&&o===!1&&s(!0)},[e,o,s]),a.jsx(a.Fragment,{children:e&&o&&r!=null?a.jsx(f,{style:{position:"absolute",width:"100%",height:"100vh",top:n.sp0,left:n.sp0,zIndex:5},onComplete:()=>{s(!1),p(!1)},animationData:r,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{C as default};
1
+ import{d2 as m,at as l,j as a,au as f,o as n}from"./index-CvH632ro.js";import{b as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",C=({showConfetti:t})=>{const[e,p]=i.useState(t),[o,s]=m(u),[r]=l("ConfettiSuccess");return i.useEffect(()=>{t&&p(!0)},[t]),i.useEffect(()=>{e&&o===!1&&s(!0)},[e,o,s]),a.jsx(a.Fragment,{children:e&&o&&r!=null?a.jsx(f,{style:{position:"absolute",width:"100%",height:"100vh",top:n.sp0,left:n.sp0,zIndex:5},onComplete:()=>{s(!1),p(!1)},animationData:r,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{C as default};
@@ -1,4 +1,4 @@
1
- import{u as qe,X as w,M as h,H as U,c4 as Ye,j as t,aW as _e,Y as b,d as Qe,bM as ae,bO as ie,bP as se,cs as Xe,a3 as Ge,C as W,bo as Je,o,ct as Ke,bs as k,bF as le,p as f,al as de,w as ce,q as Q,aN as Ze,cp as pe,g as L,cu as me,cm as ue}from"./index-BPBiFjSz.js";import{b as x,n as r}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const et=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:a,bankName:s,routingNumberOrSwiftCode:d,accountName:u,routingNumberOrSwiftCodeLabel:m,onDeleteClick:v})=>{const j=w(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(H,{children:[t.jsx(q,{children:m}),t.jsx(Y,{children:d})]}),t.jsxs(H,{children:[t.jsx(q,{children:p.achDetails.bankName}),t.jsx(Y,{children:s})]}),t.jsxs(H,{children:[t.jsx(q,{children:a}),t.jsx(Y,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(Q,{children:[`${s} ${p.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(k,{title:g,placement:"top",children:t.jsx(st,{children:t.jsx(lt,{})})})]}),t.jsx(ot,{children:u??p.emptyPlaceholderString})]}),t.jsx(nt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:p.deleteAccountTooltip,placement:"top",children:t.jsx(it,{onClick:y=>{y.stopPropagation(),v()},"data-testid":b("delete-vendor-account-section",u),children:t.jsx(dt,{})})})})]})},tt=r.div`
1
+ import{u as qe,X as w,M as h,H as U,c5 as Ye,j as t,aW as _e,Y as b,e as Qe,bO as ae,bQ as ie,bR as se,ct as Xe,a7 as Ge,C as W,bp as Je,o,cu as Ke,bt as k,ah as le,p as f,aq as de,w as ce,s as Q,aN as Ze,cq as pe,g as L,cv as me,cn as ue}from"./index-CvH632ro.js";import{b as x,n as r}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const et=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:a,bankName:s,routingNumberOrSwiftCode:d,accountName:u,routingNumberOrSwiftCodeLabel:m,onDeleteClick:v})=>{const j=w(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(H,{children:[t.jsx(q,{children:m}),t.jsx(Y,{children:d})]}),t.jsxs(H,{children:[t.jsx(q,{children:p.achDetails.bankName}),t.jsx(Y,{children:s})]}),t.jsxs(H,{children:[t.jsx(q,{children:a}),t.jsx(Y,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(Q,{children:[`${s} ${p.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(k,{title:g,placement:"top",children:t.jsx(st,{children:t.jsx(lt,{})})})]}),t.jsx(ot,{children:u??p.emptyPlaceholderString})]}),t.jsx(nt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:p.deleteAccountTooltip,placement:"top",children:t.jsx(it,{onClick:y=>{y.stopPropagation(),v()},"data-testid":b("delete-vendor-account-section",u),children:t.jsx(dt,{})})})})]})},tt=r.div`
2
2
  display: flex;
3
3
  flex-wrap: wrap;
4
4
  gap: ${o.sp1};
@@ -240,12 +240,12 @@ import{u as qe,X as w,M as h,H as U,c4 as Ye,j as t,aW as _e,Y as b,d as Qe,bM a
240
240
  padding-bottom: ${o.sp2};
241
241
  margin-top: ${o.sp3};
242
242
  margin-bottom: ${o.sp3};
243
- `,oe="createVendorPage",re=e=>`${e}_form`,A={containerPaddingLeft:new W(f[3],f[6],f[6]),containerPaddingRight:new W(f[3],f[6],f[8]),buttonWidth:new W(125,125)},Ft=r.div`
243
+ `,oe="createVendorPage",re=e=>`${e}_form`,A={containerPaddingLeft:new W(f[3],f[6],f[6]),containerPaddingRight:new W(f[3],f[6],f[8]),buttonWidth:new W(125,125)},Rt=r.div`
244
244
  display: flex;
245
245
  flex-direction: column;
246
246
  overflow: auto;
247
247
  width: 100%;
248
- `,Rt=r.div`
248
+ `,Ft=r.div`
249
249
  display: flex;
250
250
  flex-direction: column;
251
251
  background-color: ${e=>e.theme.colors.grey4};
@@ -278,4 +278,4 @@ import{u as qe,X as w,M as h,H as U,c4 as Ye,j as t,aW as _e,Y as b,d as Qe,bM a
278
278
  display: flex;
279
279
  flex-direction: column;
280
280
  padding-top: ${o.sp11};
281
- `,$=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,Wt=h.getLocalizedStrings().common.footer,ne=h.getLocalizedStrings().common.currency,Zt=({vendorViewDetails:e,vendorId:a,screenType:s,analytics:d,filesEndPoint:u,authParams:m,vendorSearchAutoCompleteData:v,vendorSearchAutoCompleteActions:j,isLocalCurrencyEnabled:p,onBackClick:g,onVendorSelected:y,navigateToBankDetailPage:I,updateSelectedVendorForCreate:N,onRemoveBankAccount:c,updateSaveFetchState:S,onSaveVendor:P,navigateToMailingAddressPage:T,saveVendorDetailLocalData:B,resetVendorDetailLocalData:z,saveContactsInVendorDetailLocalData:V,updateFilesEntity:i,onEditFileName:xe,onFetchAndUpdateVendorRecommendations:ge})=>{const{accountList:{accounts:$e},classList:{classes:be},vendorTypeList:ye,ownerList:fe,editVendorState:X,newVendorState:G,fetchState:we,hasWireTransfer:J,hasInternationalWireTransfer:F,deleteFileStatusById:ve,updateFileStatusById:je,accountsHierarchyList:Ce,classHierarchyList:ke}=e,D=a!=null?X?.vendorDetailLocalData:G?.vendorDetailLocalData,l=Object.assign({},X??G),Se=qe(),C=w(),[De,R]=x.useState(!1),[Ae,O]=x.useState(!1),K=s==="create"?$.newVendorTitle:$.editVendor,Le=(l.bankAccountsUpdated??[]).map(n=>n.bankAccountId).sort(),Ie=(l.vendorBasic?.bankAccounts??[]).map(n=>n.bankAccountId).sort(),Ne=!U(Le,Ie),Pe=(l.paymentInstrumentsUpdated??[]).map(n=>n.paymentInstrumentId).sort(),Te=(l.vendorBasic?.paymentInstruments??[]).map(n=>n.paymentInstrumentId).sort(),Be=!U(Pe,Te),ze=(D?.contacts??[]).filter(n=>n.email!==""||n.fullName!==""||n.phone!=="").map(n=>Ye(n,"contactInfoType")),Ve=l.vendorBasic?.contacts??[],Fe=!U(ze,Ve),Re=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberAch),Oe=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberWireTransfer),Ee=l.paymentInstrumentsUpdated.filter(n=>!!n.piNumber),Z=()=>{O(!0)},Me=n=>{R(n)},Ue={onOkClick:()=>{O(!1),R(!1),z?.(),g()},onCancelClick:()=>{O(!1),R(!1)}},E=x.useRef(null),We=n=>{E.current?.syncFormData(),T(n)},M=(n,He)=>{E.current?.syncFormData(),I(n,He)};x.useEffect(()=>{l?.saveStatus?.fetchState==="Completed"&&(S(),g())},[l]);const ee=x.useRef(null);return t.jsxs(Ft,{windowSize:C,children:[t.jsx(_e,{"data-testid":b("vendor-detail-container-nav-bar"),title:K,backgroundColor:Se.colors.grey4,leftSideComponent:t.jsx(Mt,{onClick:Z,"data-testid":b("create-edit-vendor-nav-bar-back")}),enableTitleOnScroll:!0,scrollableContent:ee,source:"CreateOrEditVendorPage"}),t.jsxs(Rt,{windowSize:C,ref:ee,children:[we==="In-Progress"?t.jsx(Ot,{children:t.jsx(Qe,{size:"ExtraLarge",start:!0})}):t.jsxs(t.Fragment,{children:[De===!0?t.jsx(ae,{titleComponent:t.jsx(se,{children:$.discardTitle}),descriptionComponent:t.jsx(ie,{children:$.discardDescription}),primaryButtonText:$.discard,secondaryButtonText:$.cancel,action:Ue}):null,C!=="small"?t.jsx(Et,{children:K}):null,t.jsx(Xe,{ref:E,id:re(oe),allAccounts:$e,allClasses:be,accountsHierarchyList:Ce,classHierarchyList:ke,vendorTypeList:ye,allOwners:fe,vendorSearchAutoCompleteData:v,vendorSearchAutoCompleteActions:j,onVendorSelected:y,screenType:s,hasInternationalWireTransfer:F,selectedVendor:l,formLocalData:D,isBankAccountChanged:Ne,isContactListChanged:Fe,isPaymentInstrumentChanged:Be,analytics:d,pageBackBtnClicked:Ae,onBackClick:g,onSaveVendor:P,saveContactsInVendorDetailLocalData:V,updateSelectedVendorForCreate:N,saveVendorDetailLocalData:B,updateFilesEntity:i,toggleConfirmationPopup:Me,filesEndPoint:u,authParams:m,onEditFileName:xe,deleteFileStatusById:ve,updateFileStatusById:je,onFetchAndUpdateVendorRecommendations:ge,isLocalCurrencyEnabled:p}),J||F?t.jsx(Dt,{addressState:l.vendorNewAddressStatus?.addressToCreate,onUpdateMailingAddress:We}):null,l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode?t.jsx(_,{type:"ach",vendorAccountDetails:Re,onAddNewAccountDetailClick:()=>M("ach","standard"),onRemoveBankAccount:c}):null,J&&(l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode)?t.jsx(_,{type:"wire",subType:"us-domestic",vendorAccountDetails:Oe,onAddNewAccountDetailClick:()=>M("wire","us-domestic"),onRemoveBankAccount:c}):null,F&&(D?.countryCode!=null&&D.countryCode!=="US"||p)?t.jsx(_,{type:"wire",subType:"international",vendorAccountDetailsInternational:Ee,isLocalCurrencyEnabled:p,onAddNewAccountDetailClick:()=>M("wire","international"),onRemoveBankAccount:c}):null]}),t.jsx(Ut,{})]}),t.jsx(Ge,{formId:re(oe),primaryBtn:{label:$.saveDetails,isLoading:l.saveStatus?.fetchState==="In-Progress",style:{width:A.buttonWidth.value(C)},isDisabled:!1},cancelBtn:{label:Wt.cancel,style:{width:A.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:Z}})]})};export{Zt as default,re as formUniqueName};
281
+ `,$=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,Wt=h.getLocalizedStrings().common.footer,ne=h.getLocalizedStrings().common.currency,Zt=({vendorViewDetails:e,vendorId:a,screenType:s,analytics:d,filesEndPoint:u,authParams:m,vendorSearchAutoCompleteData:v,vendorSearchAutoCompleteActions:j,isLocalCurrencyEnabled:p,onBackClick:g,onVendorSelected:y,navigateToBankDetailPage:I,updateSelectedVendorForCreate:N,onRemoveBankAccount:c,updateSaveFetchState:S,onSaveVendor:P,navigateToMailingAddressPage:T,saveVendorDetailLocalData:B,resetVendorDetailLocalData:z,saveContactsInVendorDetailLocalData:V,updateFilesEntity:i,onEditFileName:xe,onFetchAndUpdateVendorRecommendations:ge})=>{const{accountList:{accounts:$e},classList:{classes:be},vendorTypeList:ye,ownerList:fe,editVendorState:X,newVendorState:G,fetchState:we,hasWireTransfer:J,hasInternationalWireTransfer:R,deleteFileStatusById:ve,updateFileStatusById:je,accountsHierarchyList:Ce,classHierarchyList:ke}=e,D=a!=null?X?.vendorDetailLocalData:G?.vendorDetailLocalData,l=Object.assign({},X??G),Se=qe(),C=w(),[De,F]=x.useState(!1),[Ae,O]=x.useState(!1),K=s==="create"?$.newVendorTitle:$.editVendor,Le=(l.bankAccountsUpdated??[]).map(n=>n.bankAccountId).sort(),Ie=(l.vendorBasic?.bankAccounts??[]).map(n=>n.bankAccountId).sort(),Ne=!U(Le,Ie),Pe=(l.paymentInstrumentsUpdated??[]).map(n=>n.paymentInstrumentId).sort(),Te=(l.vendorBasic?.paymentInstruments??[]).map(n=>n.paymentInstrumentId).sort(),Be=!U(Pe,Te),ze=(D?.contacts??[]).filter(n=>n.email!==""||n.fullName!==""||n.phone!=="").map(n=>Ye(n,"contactInfoType")),Ve=l.vendorBasic?.contacts??[],Re=!U(ze,Ve),Fe=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberAch),Oe=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberWireTransfer),Ee=l.paymentInstrumentsUpdated.filter(n=>!!n.piNumber),Z=()=>{O(!0)},Me=n=>{F(n)},Ue={onOkClick:()=>{O(!1),F(!1),z?.(),g()},onCancelClick:()=>{O(!1),F(!1)}},E=x.useRef(null),We=n=>{E.current?.syncFormData(),T(n)},M=(n,He)=>{E.current?.syncFormData(),I(n,He)};x.useEffect(()=>{l?.saveStatus?.fetchState==="Completed"&&(S(),g())},[l]);const ee=x.useRef(null);return t.jsxs(Rt,{windowSize:C,children:[t.jsx(_e,{"data-testid":b("vendor-detail-container-nav-bar"),title:K,backgroundColor:Se.colors.grey4,leftSideComponent:t.jsx(Mt,{onClick:Z,"data-testid":b("create-edit-vendor-nav-bar-back")}),enableTitleOnScroll:!0,scrollableContent:ee,source:"CreateOrEditVendorPage"}),t.jsxs(Ft,{windowSize:C,ref:ee,children:[we==="In-Progress"?t.jsx(Ot,{children:t.jsx(Qe,{size:"ExtraLarge",start:!0})}):t.jsxs(t.Fragment,{children:[De===!0?t.jsx(ae,{titleComponent:t.jsx(se,{children:$.discardTitle}),descriptionComponent:t.jsx(ie,{children:$.discardDescription}),primaryButtonText:$.discard,secondaryButtonText:$.cancel,action:Ue}):null,C!=="small"?t.jsx(Et,{children:K}):null,t.jsx(Xe,{ref:E,id:re(oe),allAccounts:$e,allClasses:be,accountsHierarchyList:Ce,classHierarchyList:ke,vendorTypeList:ye,allOwners:fe,vendorSearchAutoCompleteData:v,vendorSearchAutoCompleteActions:j,onVendorSelected:y,screenType:s,hasInternationalWireTransfer:R,selectedVendor:l,formLocalData:D,isBankAccountChanged:Ne,isContactListChanged:Re,isPaymentInstrumentChanged:Be,analytics:d,pageBackBtnClicked:Ae,onBackClick:g,onSaveVendor:P,saveContactsInVendorDetailLocalData:V,updateSelectedVendorForCreate:N,saveVendorDetailLocalData:B,updateFilesEntity:i,toggleConfirmationPopup:Me,filesEndPoint:u,authParams:m,onEditFileName:xe,deleteFileStatusById:ve,updateFileStatusById:je,onFetchAndUpdateVendorRecommendations:ge,isLocalCurrencyEnabled:p}),J||R?t.jsx(Dt,{addressState:l.vendorNewAddressStatus?.addressToCreate,onUpdateMailingAddress:We}):null,l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode?t.jsx(_,{type:"ach",vendorAccountDetails:Fe,onAddNewAccountDetailClick:()=>M("ach","standard"),onRemoveBankAccount:c}):null,J&&(l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode)?t.jsx(_,{type:"wire",subType:"us-domestic",vendorAccountDetails:Oe,onAddNewAccountDetailClick:()=>M("wire","us-domestic"),onRemoveBankAccount:c}):null,R&&(D?.countryCode!=null&&D.countryCode!=="US"||p)?t.jsx(_,{type:"wire",subType:"international",vendorAccountDetailsInternational:Ee,isLocalCurrencyEnabled:p,onAddNewAccountDetailClick:()=>M("wire","international"),onRemoveBankAccount:c}):null]}),t.jsx(Ut,{})]}),t.jsx(Ge,{formId:re(oe),primaryBtn:{label:$.saveDetails,isLoading:l.saveStatus?.fetchState==="In-Progress",style:{width:A.buttonWidth.value(C)},isDisabled:!1},cancelBtn:{label:Wt.cancel,style:{width:A.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:Z}})]})};export{Zt as default,re as formUniqueName};
@@ -1,4 +1,4 @@
1
- import{j as a,X as me,d1 as pe,Y as te,gN as Je,M as W,_ as Te,K as He,d as et,a3 as Pe,o as t,C as d,a2 as je,k as tt,R as at,u as ze,bs as nt,cN as Ee,Q as Y,g as X,fQ as Ce,v as ot,l as E,Z as Me,b$ as it,a1 as be,a as rt,eX as lt,c2 as ct,F as st,cy as dt,f4 as mt,c7 as pt,fD as ut,p as r,bo as ht,bm as Be,cV as gt,bF as yt,q as Oe,f7 as ft,e$ as Ct,a6 as bt,f8 as xt,cp as St,f9 as wt,fi as Dt}from"./index-BPBiFjSz.js";import{n as o,b as p}from"./vendor-CnQcJ2Lu.js";import{x as $t}from"./LabeledControlledCheckBoxField-Dr8ND8SA-qU3T6bE6.js";import{S as kt}from"./ChargeCardUtils-C-37hd5J-BewU7KRU.js";import{X as xe}from"./CreditCardPaymentPlgSection-DD7kSp5v-D8blJ_Gx.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ae={largeLabelWidth:new d(120,120,160),navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(r[3],r[6],r[8]),containerPaddingRight:new d(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new d(r[5],r[8])},de={pageTitle:new Y("h6Regular","h5Regular"),integerAmountInput:new Y("h5Regular","h2Regular"),decimalAmountInput:new Y("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:vt}},common:{edit:At,labels:Se,currency:we,navBar:{back:Lt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=W.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:L,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:$})=>{const m=me(),T=ze(),P=pe().analytics,[M,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const v=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Kt,{windowSize:m,children:a.jsx(nt,{title:Lt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Zt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&P.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)}})})}),a.jsx(Qt,{windowSize:m,children:It.reviewAndConfirm}),a.jsx(Tt,{children:a.jsx(Ee,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),M?a.jsx(Ot,{children:a.jsxs(zt,{children:[a.jsxs(Nt,{children:[a.jsx(Vt,{}),a.jsxs(Et,{children:[a.jsx(Mt,{children:e.error?.title}),a.jsx(Bt,{children:e.error?.message})]})]}),a.jsx(Ut,{children:a.jsx(Yt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:t.sp3,height:t.sp3,color:X.heroLight}})})]})}):null,a.jsx(Xt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:v},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Wt,{}),a.jsx(Ce,{label:{label:Se.amount,width:v},showAdditionalInfoLabel:!0,additionalInfoLabel:`${$?ee.creditLimitReset:ee.creditLimitUpdate} ${E.zeniDate(E.getNextNthWorkingDay(E.dateNow().toDate(),[0,6],3).toDateString()).format(vt)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:T.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Te("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:At,onClick:()=>{i&&h&&n&&P.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Ht,{isOptionSelected:h,children:a.jsx(ea,{color:ft(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(qt,{src:Rt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Gt,{isOptionSelected:h,children:a.jsx(Jt,{})})}return null},Rt=e=>e.base64!==void 0?`${Ct}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Tt=o(Be)`
1
+ import{j as a,X as me,d3 as pe,Y as te,gP as Je,M as Y,_ as Te,K as He,e as et,a7 as Pe,o as t,C as d,a6 as je,k as tt,b as at,u as ze,bt as nt,cO as Ee,Q as V,g as Z,fS as Ce,v as ot,l as E,Z as Me,c0 as it,a5 as be,a as rt,eZ as lt,c3 as ct,F as st,cz as dt,f6 as mt,c8 as pt,fF as ut,p as r,bp as ht,bn as Be,cW as gt,ah as yt,s as Oe,f9 as ft,f1 as Ct,aa as bt,fa as xt,cq as St,fb as wt,fk as Dt}from"./index-CvH632ro.js";import{n as o,b as p}from"./vendor-CnQcJ2Lu.js";import{x as $t}from"./LabeledControlledCheckBoxField-D5A-8bnH-DqiGgCzm.js";import{S as kt}from"./ChargeCardUtils-CHUMBmgR-CJymagC4.js";import{Z as xe}from"./CreditCardPaymentPlgSection-DEV6AUvV-Dv95csrn.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ae={largeLabelWidth:new d(120,120,160),navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(r[3],r[6],r[8]),containerPaddingRight:new d(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new d(r[5],r[8])},de={pageTitle:new V("h6Regular","h5Regular"),integerAmountInput:new V("h5Regular","h2Regular"),decimalAmountInput:new V("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:vt}},common:{edit:At,labels:Se,currency:we,navBar:{back:Lt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=Y.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:L,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:$})=>{const m=me(),T=ze(),P=pe().analytics,[M,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const v=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Xt,{windowSize:m,children:a.jsx(nt,{title:Lt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Kt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&P.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)}})})}),a.jsx(qt,{windowSize:m,children:It.reviewAndConfirm}),a.jsx(Tt,{children:a.jsx(Ee,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),M?a.jsx(Ot,{children:a.jsxs(zt,{children:[a.jsxs(Nt,{children:[a.jsx(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:()=>{I(!1)},style:{width:t.sp3,height:t.sp3,color:Z.heroLight}})})]})}):null,a.jsx(Zt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:v},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Yt,{}),a.jsx(Ce,{label:{label:Se.amount,width:v},showAdditionalInfoLabel:!0,additionalInfoLabel:`${$?ee.creditLimitReset:ee.creditLimitUpdate} ${E.zeniDate(E.getNextNthWorkingDay(E.dateNow().toDate(),[0,6],3).toDateString()).format(vt)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:T.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Te("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:At,onClick:()=>{i&&h&&n&&P.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Ht,{isOptionSelected:h,children:a.jsx(ea,{color:ft(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(Gt,{src:Rt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Qt,{isOptionSelected:h,children:a.jsx(Jt,{})})}return null},Rt=e=>e.base64!==void 0?`${Ct}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Tt=o(Be)`
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,d1 as pe,Y as te,gN as Je,M as W,_ as Te,K as He,d as et,a
20
20
  width: 100%;
21
21
  justify-content: space-between;
22
22
  padding: ${t.sp3} ${t.sp4};
23
- background-color: ${X.importantLight};
23
+ background-color: ${Z.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: ${X.important};
30
+ color: ${Z.important};
31
31
  `,Bt=o(Oe)`
32
- color: ${X.important};
32
+ color: ${Z.important};
33
33
  `,Ot=o.div`
34
34
  margin-top: ${t.sp3};
35
35
  display: flex;
@@ -47,11 +47,11 @@ import{j as a,X as me,d1 as pe,Y as te,gN as Je,M as W,_ as Te,K as He,d as et,a
47
47
  `,Nt=o.div`
48
48
  display: flex;
49
49
  align-items: flex-start;
50
- `,Ut=o.div``,Vt=o(gt)`
50
+ `,Ut=o.div``,Wt=o(gt)`
51
51
  width: ${t.sp4};
52
52
  height: ${t.sp4};
53
- color: ${X.important};
54
- `,Yt=o(je)`
53
+ color: ${Z.important};
54
+ `,Vt=o(je)`
55
55
  cursor: pointer;
56
56
  color: ${e=>e.theme.colors.hero};
57
57
  width: ${t.sp4};
@@ -60,18 +60,18 @@ import{j as a,X as me,d1 as pe,Y as te,gN as Je,M as W,_ as Te,K as He,d as et,a
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
- `,Xt=o.div`
69
+ `,Zt=o.div`
70
70
  display: flex;
71
71
  flex-direction: column;
72
72
  padding-top: ${t.sp3};
73
73
  padding-bottom: ${e=>`${ae.reviewContentWrapperPaddingBottom.valuePx(e.windowSize)}`};
74
- `,Zt=o(ht)`
74
+ `,Kt=o(ht)`
75
75
  cursor: pointer;
76
76
  color: ${e=>e.theme.colors.hero};
77
77
  width: ${t.sp4};
@@ -80,7 +80,7 @@ import{j as a,X as me,d1 as pe,Y as te,gN as Je,M as W,_ as Te,K as He,d as et,a
80
80
  &:hover {
81
81
  color: ${e=>e.theme.colors.primary};
82
82
  }
83
- `,Kt=o.div`
83
+ `,Xt=o.div`
84
84
  display: flex;
85
85
  flex-direction: row;
86
86
  justify-content: flex-start;
@@ -90,17 +90,17 @@ import{j as a,X as me,d1 as pe,Y as te,gN as Je,M as W,_ as Te,K as He,d as et,a
90
90
  padding: ${e=>`${ae.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
91
91
  z-index: 2;
92
92
  background-color: ${e=>e.theme.colors.grey4};
93
- `,Qt=o(Me)`
93
+ `,qt=o(Me)`
94
94
  ${e=>`${de.pageTitle.style(e.windowSize)}`};
95
95
  color: ${e=>e.theme.colors.primary};
96
96
  padding: ${t.sp3} ${t.sp0} ${t.sp3} ${t.sp0};
97
- `,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
+ `,Qt=o.div`
104
104
  min-width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
105
105
  width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
106
106
  height: ${e=>e.isOptionSelected?t.sp4:t.sp5};
@@ -126,7 +126,7 @@ import{j as a,X as me,d1 as pe,Y as te,gN as Je,M as W,_ as Te,K as He,d as et,a
126
126
  margin-right: 12px;
127
127
  margin-left: ${t.sp1};
128
128
  color: ${e=>e.theme.colors.hero};
129
- `,{common:se,spendManagement:{zeniAccounts:{zeniAccountList:aa},billPay:{insufficientFunds:na},chargeCard:{payEarly:U}},commonSetUp:{setUp:{accountsPlg:ie}}}=W.getLocalizedStrings(),Ne="amount",oa="withdrawFrom",B="paymentDetails",Ue="creditCardPaymentPage",re=(e,i)=>`${e}.${i}`,Ve=e=>`${e}_form`,S={largeLabelWidth:new d(120,120,160),labelMarginLeftPicker:new d(r[3],r[4]),labelMarginRightPicker:new d(r[3],r[4]),labelMarginTopPicker:new d(r[2],r[2]),labeledFieldPaddingLeft:new d(r[2],r[0]),labeledFieldPaddingRight:new d(r[2],r[2]),labeledFieldPaddingTop:new d(r[2],r[2]),labeledFieldPaddingBottom:new d(r[2],r[2]),infoLabelPaddingRight:new d(r[0],r[3]),infoLabelMarginTop:new d(r[1],r[0]),checkBoxTop:new d(r[1],r[0])},$e={integerAmountInput:new Y("h5Regular","h2Regular"),decimalAmountInput:new Y("largeSemiBold","h5Medium")};function ia({autoPayThreshold:e,plaidConnectionDetails:i,maxInsuredAmount:h,paymentDetails:n,lowBalanceAdditionalInfo:g,paymentAccount:c,isAccountsEnabled:f,onSaveChangesToLocalStore:L,onUpdatePaymentAccountStatus:y,onEstablishConnectionClick:b,onEstablishConnectionSuccess:x,onFetchLinkTokenClick:C,setShowReviewLoading:$,onSignUpAccountClick:m,onMoveMoneyClick:T,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:M,isDebitCardInfoFetchStateCompleted:I,controllerEmails:v,productInformation:Z,cashbackInformation:K,paymentSourceInformation:Q,creditAccountInformation:q,debitAccountInformation:G}){const s=me(),le=ze(),w=S.largeLabelWidth.value(s),J=pe().analytics,H=p.useRef(null),[j,z]=p.useState(!1),[F,O]=p.useState(void 0),A=i.link_account,oe=i.update_account,k=F==="update_account"?oe:A,[_,ue]=p.useState(k.linkToken??null),he=be(A.updateStatus.fetchState),N=rt({mode:"all",reValidateMode:"onBlur",defaultValues:p.useMemo(()=>ke(n),[n]),values:p.useMemo(()=>ke(n),[n])}),ge=c?.isLoginRequired??!1,D=c?.providerVerificationStatus?.code,ye=be(oe.updateStatus.fetchState),Ye=p.useCallback((l,u)=>{const R=u.accounts.find(Ge=>Ge.id===c?.providerAccountId)??u.accounts[0];c?.paymentAccountId!=null&&F==="update_account"&&R?.verification_status!=null&&!ge?y(R?.verification_status,c.paymentAccountId,"update_account"):b?.(l,F),O(void 0),z(!1)},[c?.paymentAccountId,c?.providerAccountId,F,ge,y,b]),We=p.useCallback((l,u)=>{l!=null&&(l.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&c?.paymentAccountId!=null&&y("verification_failed",c.paymentAccountId,"update_account"),console.log("Plaid Connection Error",l,u)),O(void 0),z(!1)},[c?.paymentAccountId,y]),{open:ce,ready:fe}=lt({token:_,onSuccess:Ye,onExit:We});p.useEffect(()=>{(he==="In-Progress"&&A.updateStatus.fetchState==="Completed"||ye==="In-Progress"&&oe.updateStatus.fetchState==="Completed")&&D!=="verified"&&D!=="manually_verified"&&D!=="automatically_verified"&&D!=="database_matched"&&(C?.("link_account"),x())},[A.updateStatus.fetchState,x,C,he,ye,oe.updateStatus.fetchState,D]),p.useEffect(()=>{(E.isVerifiedStatusCode(D??"")||D==="verification_failed")&&!j&&F!=null&&k.linkToken===_&&k.fetchStatus.fetchState==="Completed"&&fe&&z(!0)},[fe,_,k.fetchStatus.fetchState,k.linkToken,D,F,j]),p.useEffect(()=>{k.fetchStatus.fetchState==="Completed"&&k.linkToken!=null&&k.linkToken!==_&&ue(k.linkToken)},[k.fetchStatus.fetchState,k.linkToken,_]),p.useEffect(()=>{j&&ce()},[j,ce]),p.useEffect(()=>{(D==null||D==="verification_failed"||D==="verification_expired"||E.isVerifiedStatusCode(D))&&(E.zeniDate(new Date().toISOString()).isAfter(A.expiration)||A.linkToken==null)&&C?.("link_account")},[]);const{isValid:Xe}=N.formState,Ze=async(l,u)=>{if(l!=null){if(l.includes("amount"))return;const R=ve(u,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(R)}},Ke=l=>{if(g!=null)return g;const u=n.transferFromAccounts.find(R=>R.id===l);return u?.accountBalance?.available!=null&&E.checkIfLowBalance(n.chargeCardRepaymentDetailLocalData.amount,u?.accountBalance?.available)?na.addMoney:""};p.useEffect(()=>{const l=N.watch((u,{name:R})=>{R!=null&&u!=null&&ct(()=>Ze(R,u))});return()=>{l.unsubscribe()}});const Qe=N.watch("paymentDetails.amount"),qe=N.handleSubmit(()=>{if(Xe){const l=N.getValues(),u=ve(l,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(u),$(!0),P&&M&&I&&J.trackCardsPayEarlyFormClick(v,Z,K,"Review",n.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:n.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:n.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:n.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:n.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},Q,q,G)}});return a.jsxs(a.Fragment,{children:[a.jsx(da,{children:a.jsx(Ee,{amount:{amount:Qe??0,currencyCode:n.chargeCardRepaymentDetailLocalData.amount.currencyCode,currencySymbol:n.chargeCardRepaymentDetailLocalData.amount.currencySymbol},integerStyles:$e.integerAmountInput.styleObject(s),decimalStyles:$e.decimalAmountInput.styleObject(s)})}),a.jsx(st,{...N,children:a.jsx(sa,{id:Ve(Ue),onSubmit:qe,children:a.jsxs(ma,{children:[a.jsx(dt,{selectRef:H,label:{label:se.labels.transferFrom,width:w,style:{marginLeft:S.labelMarginLeftPicker.valuePx(s),marginTop:S.labelMarginTopPicker.valuePx(s),marginRight:S.labelMarginRightPicker.valuePx(s),width:S.largeLabelWidth.value(s)}},style:{paddingTop:S.labeledFieldPaddingTop.valuePx(s),paddingBottom:S.labeledFieldPaddingBottom.valuePx(s),paddingLeft:S.labeledFieldPaddingLeft.valuePx(s),paddingRight:S.labeledFieldPaddingRight.valuePx(s),border:"none",width:"auto",display:"flex"},infoLabelStyle:{textAlign:"right",paddingRight:S.infoLabelPaddingRight.valuePx(s),marginTop:S.infoLabelMarginTop.valuePx(s),color:X.brandColorGoldDark},bottomComponent:a.jsx($t,{label:{label:U.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{textAlign:s==="small"?"end":"center",color:le.colors.primary}},style:{width:"unset",marginRight:t.sp3,alignItems:s==="small"?"flex-start":"center"},checkBoxField:{name:re(B,"enableAutoPay"),checkBoxValue:re(B,"enableAutoPay"),defaultChecked:n.chargeCardRepaymentDetailLocalData.isAutoRepayment,style:{top:S.checkBoxTop.valuePx(s)}}}),singleSelectPickerField:{name:re(B,oa),placeholder:pt(se.labels.transferFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(l,u)=>_e(n.transferFromAccounts,l,u),valueToSubLabels:(l,u)=>mt(n.transferFromAccounts,l,u,!0),defaultValue:{selectedOption:n.chargeCardRepaymentDetailLocalData.transferFrom?.id,allOptions:n.transferFromAccounts.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="depositAccount"}))},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption},showCreateOption:!0,onClickCreateOption:()=>{O("link_account"),A.linkToken==null||E.zeniDate(new Date().toISOString()).isAfter(A.expiration)?C?.("link_account"):_!==A.linkToken?ue(A.linkToken):j?ce():z(!0)}},valueToAdditionalLabel:Ke}),n?.chargeCardRepaymentDetailLocalData.transferFrom==null||n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="paymentAccount"?a.jsx(xe,{maxInsuredAmount:h,heading:a.jsxs(ra,{windowSize:s,children:[U.earn,a.jsx(la,{children:U.percentageCashback.replace("__percentage__",kt)}),U.whenYouPayViaZeniChecking]}),buttonText:f?ie.switchButtonText:ie.signUpButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onSignUpClick:m,onSwitchClick:()=>{H.current!=null&&H.current.focus()}}):n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"&&n?.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available.amount<n.chargeCardRepaymentDetailLocalData.amount.amount?a.jsx(xe,{maxInsuredAmount:h,heading:ie.moveMoneyHeading,buttonText:ie.moveMoneyButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onMoveMoneyClick:T}):a.jsx(ca,{}),a.jsx(ut,{showAdditionalInfoLabel:!1,label:{label:se.labels.amount,width:w},formattedTextField:{type:"number",name:re(B,Ne),defaultValue:n.chargeCardRepaymentDetailLocalData.amount.amount===0?void 0:n.chargeCardRepaymentDetailLocalData.amount.amount,placeholder:aa.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto",paddingLeft:S.labeledFieldPaddingLeft.valuePx(s)}})]})})})]})}const ra=o(bt)`
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:$,onSignUpAccountClick:m,onMoveMoneyClick:T,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:M,isDebitCardInfoFetchStateCompleted:I,controllerEmails:v,productInformation:K,cashbackInformation:X,paymentSourceInformation:q,creditAccountInformation:G,debitAccountInformation:Q}){const s=me(),le=ze(),w=S.largeLabelWidth.value(s),J=pe().analytics,H=p.useRef(null),[j,z]=p.useState(!1),[F,O]=p.useState(void 0),A=i.link_account,oe=i.update_account,k=F==="update_account"?oe:A,[_,ue]=p.useState(k.linkToken??null),he=be(A.updateStatus.fetchState),N=rt({mode:"all",reValidateMode:"onBlur",defaultValues:p.useMemo(()=>ke(n),[n]),values:p.useMemo(()=>ke(n),[n])}),ge=c?.isLoginRequired??!1,D=c?.providerVerificationStatus?.code,ye=be(oe.updateStatus.fetchState),Ve=p.useCallback((l,u)=>{const R=u.accounts.find(Qe=>Qe.id===c?.providerAccountId)??u.accounts[0];c?.paymentAccountId!=null&&F==="update_account"&&R?.verification_status!=null&&!ge?y(R?.verification_status,c.paymentAccountId,"update_account"):b?.(l,F),O(void 0),z(!1)},[c?.paymentAccountId,c?.providerAccountId,F,ge,y,b]),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),z(!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")&&D!=="verified"&&D!=="manually_verified"&&D!=="automatically_verified"&&D!=="database_matched"&&(C?.("link_account"),x())},[A.updateStatus.fetchState,x,C,he,ye,oe.updateStatus.fetchState,D]),p.useEffect(()=>{(E.isVerifiedStatusCode(D??"")||D==="verification_failed")&&!j&&F!=null&&k.linkToken===_&&k.fetchStatus.fetchState==="Completed"&&fe&&z(!0)},[fe,_,k.fetchStatus.fetchState,k.linkToken,D,F,j]),p.useEffect(()=>{k.fetchStatus.fetchState==="Completed"&&k.linkToken!=null&&k.linkToken!==_&&ue(k.linkToken)},[k.fetchStatus.fetchState,k.linkToken,_]),p.useEffect(()=>{j&&ce()},[j,ce]),p.useEffect(()=>{(D==null||D==="verification_failed"||D==="verification_expired"||E.isVerifiedStatusCode(D))&&(E.zeniDate(new Date().toISOString()).isAfter(A.expiration)||A.linkToken==null)&&C?.("link_account")},[]);const{isValid:Ze}=N.formState,Ke=async(l,u)=>{if(l!=null){if(l.includes("amount"))return;const R=ve(u,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(R)}},Xe=l=>{if(g!=null)return g;const u=n.transferFromAccounts.find(R=>R.id===l);return u?.accountBalance?.available!=null&&E.checkIfLowBalance(n.chargeCardRepaymentDetailLocalData.amount,u?.accountBalance?.available)?na.addMoney:""};p.useEffect(()=>{const l=N.watch((u,{name:R})=>{R!=null&&u!=null&&ct(()=>Ke(R,u))});return()=>{l.unsubscribe()}});const qe=N.watch("paymentDetails.amount"),Ge=N.handleSubmit(()=>{if(Ze){const l=N.getValues(),u=ve(l,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(u),$(!0),P&&M&&I&&J.trackCardsPayEarlyFormClick(v,K,X,"Review",n.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:n.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:n.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:n.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:n.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},q,G,Q)}});return a.jsxs(a.Fragment,{children:[a.jsx(da,{children:a.jsx(Ee,{amount:{amount:qe??0,currencyCode:n.chargeCardRepaymentDetailLocalData.amount.currencyCode,currencySymbol:n.chargeCardRepaymentDetailLocalData.amount.currencySymbol},integerStyles:$e.integerAmountInput.styleObject(s),decimalStyles:$e.decimalAmountInput.styleObject(s)})}),a.jsx(st,{...N,children:a.jsx(sa,{id:We(Ue),onSubmit:Ge,children:a.jsxs(ma,{children:[a.jsx(dt,{selectRef:H,label:{label:se.labels.transferFrom,width:w,style:{marginLeft:S.labelMarginLeftPicker.valuePx(s),marginTop:S.labelMarginTopPicker.valuePx(s),marginRight:S.labelMarginRightPicker.valuePx(s),width:S.largeLabelWidth.value(s)}},style:{paddingTop:S.labeledFieldPaddingTop.valuePx(s),paddingBottom:S.labeledFieldPaddingBottom.valuePx(s),paddingLeft:S.labeledFieldPaddingLeft.valuePx(s),paddingRight:S.labeledFieldPaddingRight.valuePx(s),border:"none",width:"auto",display:"flex"},infoLabelStyle:{textAlign:"right",paddingRight:S.infoLabelPaddingRight.valuePx(s),marginTop:S.infoLabelMarginTop.valuePx(s),color:Z.brandColorGoldDark},bottomComponent:a.jsx($t,{label:{label:U.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{textAlign:s==="small"?"end":"center",color:le.colors.primary}},style:{width:"unset",marginRight:t.sp3,alignItems:s==="small"?"flex-start":"center"},checkBoxField:{name:re(B,"enableAutoPay"),checkBoxValue:re(B,"enableAutoPay"),defaultChecked:n.chargeCardRepaymentDetailLocalData.isAutoRepayment,style:{top:S.checkBoxTop.valuePx(s)}}}),singleSelectPickerField:{name:re(B,oa),placeholder:pt(se.labels.transferFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(l,u)=>_e(n.transferFromAccounts,l,u),valueToSubLabels:(l,u)=>mt(n.transferFromAccounts,l,u,!0),defaultValue:{selectedOption:n.chargeCardRepaymentDetailLocalData.transferFrom?.id,allOptions:n.transferFromAccounts.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="depositAccount"}))},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption},showCreateOption:!0,onClickCreateOption:()=>{O("link_account"),A.linkToken==null||E.zeniDate(new Date().toISOString()).isAfter(A.expiration)?C?.("link_account"):_!==A.linkToken?ue(A.linkToken):j?ce():z(!0)}},valueToAdditionalLabel:Xe}),n?.chargeCardRepaymentDetailLocalData.transferFrom==null||n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="paymentAccount"?a.jsx(xe,{maxInsuredAmount:h,heading:a.jsxs(ra,{windowSize:s,children:[U.earn,a.jsx(la,{children:U.percentageCashback.replace("__percentage__",kt)}),U.whenYouPayViaZeniChecking]}),buttonText:f?ie.switchButtonText:ie.signUpButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onSignUpClick:m,onSwitchClick:()=>{H.current!=null&&H.current.focus()}}):n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"&&n?.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available.amount<n.chargeCardRepaymentDetailLocalData.amount.amount?a.jsx(xe,{maxInsuredAmount:h,heading:ie.moveMoneyHeading,buttonText:ie.moveMoneyButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onMoveMoneyClick:T}):a.jsx(ca,{}),a.jsx(ut,{showAdditionalInfoLabel:!1,label:{label:se.labels.amount,width:w},formattedTextField:{type:"number",name:re(B,Ne),defaultValue:n.chargeCardRepaymentDetailLocalData.amount.amount===0?void 0:n.chargeCardRepaymentDetailLocalData.amount.amount,placeholder:aa.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto",paddingLeft:S.labeledFieldPaddingLeft.valuePx(s)}})]})})})]})}const ra=o(bt)`
130
130
  color: ${e=>e.theme.colors.primary};
131
131
  width: ${e=>e.windowSize==="small"?"80%":"100%"};
132
132
  `,la=o(xt)`
@@ -154,7 +154,7 @@ import{j as a,X as me,d1 as pe,Y as te,gN as Je,M as W,_ as Te,K as He,d as et,a
154
154
  border: 1px solid ${e=>e.theme.colors.grey3};
155
155
  box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
156
156
  border-radius: ${t.sp2};
157
- `,ve=(e,i,h)=>({amount:{amount:e[B].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:i.find(n=>n.id===e[B].withdrawFrom.selectedOption),isAutoRepayment:e[B].enableAutoPay,idempotencyKey:h}),ne={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),successContentMargin:new d(r[3],r[12]),buttonTrayGap:new d(r[4],r[5])},pa={sectionTitle:new Y("h6Regular","h5Regular")},Ae=W.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,V=W.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:Le}=W.getLocalizedStrings(),ua=({autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:h,isAccountsEnabled:n,productInformation:g,controllerEmails:c,creditAccountInformation:f,creditAccountSpentAmount:L,debitAccountInformation:y,cashbackInformation:b,paymentSourceInformation:x,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:$,isDebitCardInfoFetchStateCompleted:m,paymentInitiatedDate:T,onSaveChangesToLocalStore:P,onTransferClick:M,goToCards:I,onDismissClick:v,onEstablishConnectionClick:Z,onFetchLinkTokenClick:K,plaidConnectionDetails:Q,onSignUpAccountClick:q,onMoveMoneyClick:G,onUpdatePaymentAccountStatus:s,onEstablishConnectionSuccess:le})=>{const w=me(),J=pe().analytics,[H,j]=p.useState(!1),[z,F]=p.useState(!1);p.useEffect(()=>{z&&setTimeout(()=>{F(!1),j(!0)},1e3)},[z]);const O=i.chargeCardRepaymentDetailLocalData.amount.amount===L;return a.jsx(ha,{windowSize:w,children:i.updateStatus==="Completed"?a.jsxs(Ie,{windowSize:w,isTransferCompleted:!0,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Re,{"data-testid":te("cross-credit-card-payment-success-close-button"),onClick:()=>{C&&$&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,f,y),v?.()}})}),a.jsxs(Ca,{windowSize:w,children:[a.jsx(Je,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),a.jsx(ga,{children:a.jsxs(a.Fragment,{children:[V.youvePaid,a.jsx(ya,{children:Te("0,0.[00]",i.chargeCardRepaymentDetailLocalData.amount)}),Ae.transferDrawer.internal.transferSuccessMsgMidfix,`"${i.chargeCardRepaymentDetailLocalData.transferFrom?.label}".`,O?V.theCreditLimitWillResetWithin23BusinessDays:V.theCreditLimitWillUpdateWithin23BusinessDays]})}),a.jsx(fa,{windowSize:w,children:a.jsx(He,{variant:"primary",label:V.goToCards,"data-testid":te("back-to-cards-button"),onClick:I})})]})]}):H?a.jsx(Ft,{paymentDetails:i,setShowReviewContent:j,onTransferClick:M,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:$,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:b,paymentSourceInformation:x,creditAccountInformation:f,debitAccountInformation:y,isCompleteOutstandingBalanceBeingPaid:O}):a.jsxs(a.Fragment,{children:[a.jsxs(Ie,{windowSize:w,isTransferCompleted:!1,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Re,{"data-testid":te("cross-amount-details-close-button"),onClick:()=>{C&&$&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:T?.add(3,"day").format(Le.visual.MMMDCommaYYYYformat),paymentInitiatedDate:T?.format(Le.visual.MMMDCommaYYYYformat)},x,f,y),v?.()}})}),w==="small"?a.jsx(ba,{windowSize:w,children:V.payCreditCardBalance}):a.jsx(xa,{children:V.payCreditCardBalance}),i.fetchState==="Completed"?a.jsx(ia,{autoPayThreshold:e,maxInsuredAmount:h,onSaveChangesToLocalStore:P,plaidConnectionDetails:Q,paymentDetails:i,setShowReviewLoading:F,onEstablishConnectionSuccess:le,isAccountsEnabled:n,onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:s,onEstablishConnectionClick:Z,onSignUpAccountClick:q,onMoveMoneyClick:G,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:$,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:b,paymentSourceInformation:x,creditAccountInformation:f,debitAccountInformation:y}):a.jsx(et,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:Ve(Ue),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:W.getLocalizedStrings().common.review,isLoading:z},cancelBtn:{label:Ae.transferDrawer.cancelBtn,onClick:()=>{C&&$&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cancel",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,f,y),v?.()}}})]})})},ha=o.div`
157
+ `,ve=(e,i,h)=>({amount:{amount:e[B].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:i.find(n=>n.id===e[B].withdrawFrom.selectedOption),isAutoRepayment:e[B].enableAutoPay,idempotencyKey:h}),ne={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),successContentMargin:new d(r[3],r[12]),buttonTrayGap:new d(r[4],r[5])},pa={sectionTitle:new V("h6Regular","h5Regular")},Ae=Y.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,W=Y.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:Le}=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:$,isDebitCardInfoFetchStateCompleted:m,paymentInitiatedDate:T,onSaveChangesToLocalStore:P,onTransferClick:M,goToCards:I,onDismissClick:v,onEstablishConnectionClick:K,onFetchLinkTokenClick:X,plaidConnectionDetails:q,onSignUpAccountClick:G,onMoveMoneyClick:Q,onUpdatePaymentAccountStatus:s,onEstablishConnectionSuccess:le})=>{const w=me(),J=pe().analytics,[H,j]=p.useState(!1),[z,F]=p.useState(!1);p.useEffect(()=>{z&&setTimeout(()=>{F(!1),j(!0)},1e3)},[z]);const O=i.chargeCardRepaymentDetailLocalData.amount.amount===L;return a.jsx(ha,{windowSize:w,children:i.updateStatus==="Completed"?a.jsxs(Ie,{windowSize:w,isTransferCompleted:!0,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Re,{"data-testid":te("cross-credit-card-payment-success-close-button"),onClick:()=>{C&&$&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,f,y),v?.()}})}),a.jsxs(Ca,{windowSize:w,children:[a.jsx(Je,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),a.jsx(ga,{children:a.jsxs(a.Fragment,{children:[W.youvePaid,a.jsx(ya,{children:Te("0,0.[00]",i.chargeCardRepaymentDetailLocalData.amount)}),Ae.transferDrawer.internal.transferSuccessMsgMidfix,`"${i.chargeCardRepaymentDetailLocalData.transferFrom?.label}".`,O?W.theCreditLimitWillResetWithin23BusinessDays:W.theCreditLimitWillUpdateWithin23BusinessDays]})}),a.jsx(fa,{windowSize:w,children:a.jsx(He,{variant:"primary",label:W.goToCards,"data-testid":te("back-to-cards-button"),onClick:I})})]})]}):H?a.jsx(Ft,{paymentDetails:i,setShowReviewContent:j,onTransferClick:M,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:$,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:b,paymentSourceInformation:x,creditAccountInformation:f,debitAccountInformation:y,isCompleteOutstandingBalanceBeingPaid:O}):a.jsxs(a.Fragment,{children:[a.jsxs(Ie,{windowSize:w,isTransferCompleted:!1,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Re,{"data-testid":te("cross-amount-details-close-button"),onClick:()=>{C&&$&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:T?.add(3,"day").format(Le.visual.MMMDCommaYYYYformat),paymentInitiatedDate:T?.format(Le.visual.MMMDCommaYYYYformat)},x,f,y),v?.()}})}),w==="small"?a.jsx(ba,{windowSize:w,children:W.payCreditCardBalance}):a.jsx(xa,{children:W.payCreditCardBalance}),i.fetchState==="Completed"?a.jsx(ia,{autoPayThreshold:e,maxInsuredAmount:h,onSaveChangesToLocalStore:P,plaidConnectionDetails:q,paymentDetails:i,setShowReviewLoading:F,onEstablishConnectionSuccess:le,isAccountsEnabled:n,onFetchLinkTokenClick:X,onUpdatePaymentAccountStatus:s,onEstablishConnectionClick:K,onSignUpAccountClick:G,onMoveMoneyClick:Q,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:$,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:b,paymentSourceInformation:x,creditAccountInformation:f,debitAccountInformation:y}):a.jsx(et,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:We(Ue),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:Y.getLocalizedStrings().common.review,isLoading:z},cancelBtn:{label:Ae.transferDrawer.cancelBtn,onClick:()=>{C&&$&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cancel",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,f,y),v?.()}}})]})})},ha=o.div`
158
158
  display: flex;
159
159
  flex-direction: column;
160
160
  background-color: ${e=>e.theme.colors.grey4};
@@ -214,7 +214,7 @@ import{j as a,X as me,d1 as pe,Y as te,gN as Je,M as W,_ as Te,K as He,d as et,a
214
214
  color: ${e=>e.theme.colors.primary};
215
215
  margin-top: ${t.sp3};
216
216
  margin-bottom: ${t.sp2};
217
- `,ja=({autoPayThreshold:e,paymentDetails:i,isZeniAccountSetupEnabled:h,maxInsuredAmount:n,onUpdatePaymentAccountStatus:g,onSaveChangesToLocalStore:c,creditAccountSpentAmount:f,onTransferClick:L,controllerEmails:y,productInformation:b,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:$,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:T,isCreditCardInfoFetchStateCompleted:P,isDebitCardInfoFetchStateCompleted:M,goToCards:I,onDismissClick:v,onEstablishConnectionClick:Z,onEstablishConnectionSuccess:K,onFetchLinkTokenClick:Q,plaidConnectionDetails:q,onSignUpAccountClick:G,onMoveMoneyClick:s})=>a.jsx(Sa,{children:a.jsx(ua,{autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:n,productInformation:b,controllerEmails:y,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:$,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:T,isCreditCardInfoFetchStateCompleted:P,isDebitCardInfoFetchStateCompleted:M,creditAccountSpentAmount:f,onSaveChangesToLocalStore:c,onTransferClick:L,goToCards:I,onDismissClick:v,plaidConnectionDetails:q,isAccountsEnabled:h,onEstablishConnectionClick:Z,onFetchLinkTokenClick:Q,onUpdatePaymentAccountStatus:g,onEstablishConnectionSuccess:K,onSignUpAccountClick:G,onMoveMoneyClick:s})}),Sa=o.div`
217
+ `,ja=({autoPayThreshold:e,paymentDetails:i,isZeniAccountSetupEnabled:h,maxInsuredAmount:n,onUpdatePaymentAccountStatus:g,onSaveChangesToLocalStore:c,creditAccountSpentAmount:f,onTransferClick:L,controllerEmails:y,productInformation:b,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:$,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:T,isCreditCardInfoFetchStateCompleted:P,isDebitCardInfoFetchStateCompleted:M,goToCards:I,onDismissClick:v,onEstablishConnectionClick:K,onEstablishConnectionSuccess:X,onFetchLinkTokenClick:q,plaidConnectionDetails:G,onSignUpAccountClick:Q,onMoveMoneyClick:s})=>a.jsx(Sa,{children:a.jsx(ua,{autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:n,productInformation:b,controllerEmails:y,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:$,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:T,isCreditCardInfoFetchStateCompleted:P,isDebitCardInfoFetchStateCompleted:M,creditAccountSpentAmount:f,onSaveChangesToLocalStore:c,onTransferClick:L,goToCards:I,onDismissClick:v,plaidConnectionDetails:G,isAccountsEnabled:h,onEstablishConnectionClick:K,onFetchLinkTokenClick:q,onUpdatePaymentAccountStatus:g,onEstablishConnectionSuccess:X,onSignUpAccountClick:Q,onMoveMoneyClick:s})}),Sa=o.div`
218
218
  display: flex;
219
219
  flex-direction: column;
220
220
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,24 +1,24 @@
1
- import{X as j,u as M,M as L,aa as R,a0 as T,j as i,Y as b,K as W,bB as H,o as l,g as n,C as a,aQ as U,bF as B,ax as G,w as _,p as o}from"./index-BPBiFjSz.js";import{n as t}from"./vendor-CnQcJ2Lu.js";const r={iconContainerMaxWidthHeight:new a(o[6],o[7]),iconContainerMarginRight:new a(o[3],o[3]),iconWidthHeight:new a(20,o[4]),iconPadding:new a(10,12),containerPaddingTopBottom:new a(o[4],o[4]),containerPaddingLeftRight:new a(o[3],o[4]),buttonLeftMargin:new a(o[8],o[0]),buttonTopMargin:new a(o[4],o[2]),buttonRightMargin:new a(o[0],20)};function Q({heading:e,buttonText:c,analytics:g,maxInsuredAmount:u,pageName:h,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:$}){const d=j(),f=M(),{common:v,commonSetUp:P}=L.getLocalizedStrings(),s=P.setUp.accountsPlg,z=()=>{switch(c){case s.signUpButtonText:g?.trackPlgPromoClicked(h,"Sign Up for Free"),S?.();break;case s.switchButtonText:g?.trackPlgPromoClicked(h,"Switch Now"),y?.();break;default:g?.trackPlgPromoClicked(h,"Move Money"),$?.()}},k=R(T(u),u,v.currency.currencySymbol).toUpperCase();return i.jsxs(Y,{windowSize:d,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(D,{children:[i.jsx(X,{windowSize:d,isDarkMode:f.mode==="dark",children:i.jsx(K,{windowSize:d,children:i.jsx(O,{})})}),i.jsx(A,{children:i.jsxs(E,{children:[i.jsx(J,{windowSize:d,children:e}),i.jsxs(I,{windowSize:d,children:[i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.two.replace("__amount__",k)})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.three})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.four})]})]})]})})]}),i.jsx(F,{windowSize:d,children:i.jsx(W,{label:c,"data-testid":b("accounts-plg-button",c),onClick:C=>{C.stopPropagation(),z()},buttonColors:{borderColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},backgroundColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},textColor:{default:n.neutralGrey5Light,hover:n.neutralGrey5Light,disabled:n.neutralGrey5Light}},size:"small",style:{padding:`6px ${l.sp3}`,borderRadius:"6px"},textStyle:{fontWeight:H.regular}})})]})}const D=t.div`
1
+ import{X as j,u as M,M as L,aJ as R,a0 as T,j as i,Y as b,K as W,bC as H,o as l,g as n,C as a,aQ as U,ah as G,ee as J,w as _,p as o}from"./index-CvH632ro.js";import{n as t}from"./vendor-CnQcJ2Lu.js";const r={iconContainerMaxWidthHeight:new a(o[6],o[7]),iconContainerMarginRight:new a(o[3],o[3]),iconWidthHeight:new a(20,o[4]),iconPadding:new a(10,12),containerPaddingTopBottom:new a(o[4],o[4]),containerPaddingLeftRight:new a(o[3],o[4]),buttonLeftMargin:new a(o[8],o[0]),buttonTopMargin:new a(o[4],o[2]),buttonRightMargin:new a(o[0],20)};function V({heading:e,buttonText:c,analytics:g,maxInsuredAmount:u,pageName:h,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:$}){const d=j(),f=M(),{common:v,commonSetUp:P}=L.getLocalizedStrings(),s=P.setUp.accountsPlg,z=()=>{switch(c){case s.signUpButtonText:g?.trackPlgPromoClicked(h,"Sign Up for Free"),S?.();break;case s.switchButtonText:g?.trackPlgPromoClicked(h,"Switch Now"),y?.();break;default:g?.trackPlgPromoClicked(h,"Move Money"),$?.()}},C=R(T(u),u,v.currency.currencySymbol).toUpperCase();return i.jsxs(F,{windowSize:d,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(B,{children:[i.jsx(E,{windowSize:d,isDarkMode:f.mode==="dark",children:i.jsx(A,{windowSize:d,children:i.jsx(O,{})})}),i.jsx(N,{children:i.jsxs(Y,{children:[i.jsx(D,{windowSize:d,children:e}),i.jsxs(q,{windowSize:d,children:[i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.two.replace("__amount__",C)})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.three})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.four})]})]})]})})]}),i.jsx(K,{windowSize:d,children:i.jsx(W,{label:c,"data-testid":b("accounts-plg-button",c),onClick:k=>{k.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 B=t.div`
2
2
  display: flex;
3
3
  align-items: center;
4
- `,J=t(B)`
4
+ `,D=t(G)`
5
5
  color: ${e=>e.theme.colors.primary};
6
6
  width: 100%;
7
- `,F=t.div`
7
+ `,K=t.div`
8
8
  display: flex;
9
9
  color: inherit;
10
10
  margin-bottom: auto;
11
11
  margin-left: ${e=>r.buttonLeftMargin.valuePx(e.windowSize)};
12
12
  margin-top: ${e=>r.buttonTopMargin.valuePx(e.windowSize)};
13
13
  margin-right: ${e=>r.buttonRightMargin.valuePx(e.windowSize)};
14
- `,K=t.div`
14
+ `,A=t.div`
15
15
  width: ${e=>r.iconWidthHeight.valuePx(e.windowSize)};
16
16
  height: ${e=>r.iconWidthHeight.valuePx(e.windowSize)};
17
17
  `,O=t(U)`
18
18
  color: ${e=>e.theme.colors.primary};
19
19
  width: inherit;
20
20
  height: inherit;
21
- `,X=t.div`
21
+ `,E=t.div`
22
22
  display: flex;
23
23
  margin-bottom: auto;
24
24
  flex-direction: row;
@@ -32,7 +32,7 @@ import{X as j,u as M,M as L,aa as R,a0 as T,j as i,Y as b,K as W,bB as H,o as l,
32
32
  max-width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
33
33
  max-height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
34
34
  margin-right: ${e=>r.iconContainerMarginRight.valuePx(e.windowSize)};
35
- `,Y=t.div`
35
+ `,F=t.div`
36
36
  display: flex;
37
37
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
38
38
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
@@ -54,10 +54,10 @@ import{X as j,u as M,M as L,aa as R,a0 as T,j as i,Y as b,K as W,bB as H,o as l,
54
54
  100% 100%,
55
55
  0% 0%;
56
56
  background-repeat: no-repeat;
57
- `,A=t.div`
57
+ `,N=t.div`
58
58
  display: flex;
59
59
  flex-direction: column;
60
- `,E=t.div``,I=t.div`
60
+ `,Y=t.div``,q=t.div`
61
61
  display: flex;
62
62
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
63
63
  gap: ${e=>e.windowSize==="small"?"12px":l.sp5};
@@ -67,7 +67,7 @@ import{X as j,u as M,M as L,aa as R,a0 as T,j as i,Y as b,K as W,bB as H,o as l,
67
67
  `,p=t.div`
68
68
  display: flex;
69
69
  align-items: center;
70
- `,w=t(G)`
70
+ `,w=t(J)`
71
71
  width: ${l.sp3};
72
72
  height: ${l.sp3};
73
73
  vertical-align: middle;
@@ -76,4 +76,4 @@ import{X as j,u as M,M as L,aa as R,a0 as T,j as i,Y as b,K as W,bB as H,o as l,
76
76
  `,m=t(_)`
77
77
  color: ${e=>e.theme.colors.primary};
78
78
  white-space: nowrap;
79
- `;export{Q as X};
79
+ `;export{V as Z};
@@ -1,6 +1,6 @@
1
- import{cf as M,u as N,cn as P,M as H,j as l,co as L,Y as x,b1 as z,o,df as _,bR as B,b2 as g,q as T,v as S,eT as U,eU as Y,eV as q,w as A,a$ as K,a2 as X,g as m}from"./index-BPBiFjSz.js";import{b as v,n}from"./vendor-CnQcJ2Lu.js";const fe=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[j,C]=v.useState(!1),k=P(f,e??""),V=H.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??V.countryCode}},I={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(L,{name:e,control:y,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const w=R;return v.createElement(z,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(w.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&w?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:_(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Z,Option:G,Input:W,SingleValue:ee,ValueContainer:Q,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:J},hideSelectedOptions:!1,styles:I,isDisabled:a!=null})}})},Z=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},G=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},J=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(B,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:t[y]})})},Q=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),W=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(T)`
1
+ import{cg as M,u as N,co as P,M as H,j as l,cp as L,Y as x,b1 as z,o,dh as _,bT as B,b2 as g,s as T,v as S,eV as X,eW as Y,eX as A,w as K,a$ as U,a6 as W,g as m}from"./index-CvH632ro.js";import{b as v,n}from"./vendor-CnQcJ2Lu.js";const fe=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[j,C]=v.useState(!1),k=P(f,e??""),V=H.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??V.countryCode}},I={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(L,{name:e,control:y,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const w=R;return v.createElement(z,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(w.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&w?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:_(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Z,Option:q,Input:Q,SingleValue:ee,ValueContainer:J,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:G},hideSelectedOptions:!1,styles:I,isDisabled:a!=null})}})},Z=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},q=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},G=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(B,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:t[y]})})},J=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),Q=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(T)`
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=Y[`${q(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&&X(e)===!1)return l.jsx(l.Fragment,{});{const r=Y[`${A(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{cf as M,u as N,cn as P,M as H,j as l,co as L,Y as x,b1 as z,o,df as _,bR
105
105
  justify-content: space-between;
106
106
  fill: initial;
107
107
  color: initial;
108
- `,ne=n(A)`
108
+ `,ne=n(K)`
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{cf as M,u as N,cn as P,M as H,j as l,co as L,Y as x,b1 as z,o,df as _,bR
126
126
  }
127
127
  `,de=n.div`
128
128
  display: flex;
129
- `,ue=n(K)`
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(X)`
135
+ `,pe=n(W)`
136
136
  width: ${o.sp3};
137
137
  height: ${o.sp3};
138
138
  color: ${e=>e.theme.colors.primary};
@@ -1,8 +1,8 @@
1
- import{j as t,X as b,M as d,a1 as l,Y as p,d as x,o as i,$ as g,b$ as h,k as m}from"./index-BPBiFjSz.js";import{b as u,n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const $=o.div`
1
+ import{j as t,X as b,M as d,a5 as l,Y as p,e as x,o as i,$ as g,c0 as h,k as m}from"./index-CvH632ro.js";import{b as u,n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const f=o.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
5
- `,f=o.div`
5
+ `,$=o.div`
6
6
  display: flex;
7
7
  flex: 1 1 auto;
8
8
  flex-direction: column;
@@ -44,7 +44,7 @@ import{j as t,X as b,M as d,a1 as l,Y as p,d as x,o as i,$ as g,b$ as h,k as m}f
44
44
  text-align: center;
45
45
  `,w=o.div`
46
46
  margin-top: ${i.sp3};
47
- `,z=({dashboardFetchState:e,onZeniLogoClick:n,onDashboardFetchDone:r})=>{const{title:a,subTitle:c}=d.getLocalizedStrings().customerOnboardingPage.thankYou,s=l(e);return u.useEffect(()=>{s==="In-Progress"&&e!=="In-Progress"&&r()},[e,s,r]),t.jsxs($,{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(f,{children:[t.jsx($,{children:t.jsx(j,{"data-testid":p("zeni-logo-customer-onboarding-activation-page"),onClick:n})}),t.jsxs(k,{children:[t.jsx(v,{children:a}),t.jsx(y,{children:c}),t.jsx(w,{children:t.jsx(x,{size:"Large",start:!0})})]})]})},L=o.div`
48
48
  display: flex;
49
49
  flex-direction: column;
50
50
  height: 100vh;
@@ -0,0 +1 @@
1
+ import{j as r}from"./index-CvH632ro.js";import o from"./CustomerOnboardingNoStepsPage-CmnwYeBe-VDPM90YE.js";import i from"./CustomerOnboardingPage-DUMb3HBt-C_i7oxut.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./HelpButton-DmSTrp5G-BZ5gO3eI.js";import"./MeetingCalenderPopup-CF-RTU9K-BubT6ngE.js";import"./PaymentAccountSetupBillingAddressSection-BaNMRbqw-CIIlY3kM.js";import"./SetUpAccountSection-pi1sH7b5-Cq5TVamg.js";import"./SetUpDefaultSection-BpL2WnED-COlpwQhL.js";import"./ChaseOverlay-kXvIXrLn-BoWFlEip.js";import"./CustomerOnboardingDetailPageSkeleton-WBhn2MmI-IC_mQp6e.js";import"./CompanyOfficerDetailsSection-Cd0QdDAc-CRTLz9vU.js";import"./LabeledAddressValueField-CqhBSQ8f-lPB35Jmc.js";import"./LabeledCreatableSingleSelectField-CB34OT80-C0m35imT.js";import"./LabeledDocumentField-MyG-6WMu-Cbf-CDaI.js";import"./DocumentSecurityBanner-CjDxLXR5-BndWfQhM.js";import"./QBOSetupSection-CHXmbhAv-C0u3acrS.js";import"./QBOConnectionDialog-Bnhkqpjg-DkGgqNtn.js";const w=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?r.jsx(o,{...t}):r.jsx(i,{...t});export{w as default};
@@ -1,4 +1,4 @@
1
- import{j as s,Y as y,aH as E,u as f,X as T,bf as x,o as t,p as R,C as $,$ as I,M as N,g as u,eQ as U,h9 as P,e_ as L,aB as W,f as M,ha as O}from"./index-BPBiFjSz.js";import{n as r,f as S}from"./vendor-CnQcJ2Lu.js";const Z=r(O)`
1
+ import{j as s,Y as y,aG as E,u as f,X as T,bg as x,o as t,p as R,C as $,$ as I,M as N,g as u,eS as U,hb as P,f0 as L,b4 as W,m as M,hc as O}from"./index-CvH632ro.js";import{n as r,f as S}from"./vendor-CnQcJ2Lu.js";const Z=r(O)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,X=r.div`
4
4
  position: relative;
@@ -22,7 +22,7 @@ import{j as s,Y as y,aH as E,u as f,X as T,bf as x,o as t,p as R,C as $,$ as I,M
22
22
  pointer-events: none;
23
23
  z-index: 1;
24
24
  }
25
- `,B=({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(B,{valueStart:0,valueEnd:e,children:o=>s.jsx(X,{theme:i,children:s.jsx(Z,{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,J=r.div`
25
+ `,F=({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)})},G=({valueEnd:e=50})=>{const i=f();return s.jsx(F,{valueStart:0,valueEnd:e,children:o=>s.jsx(X,{theme:i,children:s.jsx(Z,{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,J=r.div`
26
26
  width: 100%;
27
27
  display: flex;
28
28
  background: ${e=>e.isActive?e.theme.colors.grey5:null};
@@ -44,28 +44,28 @@ import{j as s,Y as y,aH as E,u as f,X as T,bf as x,o as t,p as R,C as $,$ as I,M
44
44
  `,K=r.div`
45
45
  margin-right: ${t.sp2};
46
46
  margin-top: 2px;
47
- `,Q=r(L)`
47
+ `,Y=r(L)`
48
48
  width: ${t.sp3};
49
49
  height: ${t.sp3};
50
50
  color: ${u.success};
51
- `,Y=r(U)`
51
+ `,q=r(U)`
52
52
  width: ${t.sp3};
53
53
  height: ${t.sp3};
54
54
  color: ${u.runwayRed};
55
- `,_=r.div`
55
+ `,B=r.div`
56
56
  height: ${t.sp3};
57
57
  width: ${t.sp3};
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
- `,q=r.div`
61
+ `,Q=r.div`
62
62
  display: flex;
63
63
  flex-direction: column;
64
- `,G=r(W)`
64
+ `,V=r(W)`
65
65
  color: ${e=>j({isActive:e.isActive,isCompleted:e.isCompleted,isDisabled:e.disabledStep,isError:e.isError,isHalfCompleted:e.isHalfCompleted,theme:e.theme})};
66
- `,V=r(M)`
66
+ `,_=r(M)`
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(J,{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(K,{children:a?s.jsx(Y,{}):l?s.jsx(F,{}):o?s.jsx(Q,{}):s.jsx(_,{isActive:i,disabledStep:c})}),s.jsxs(q,{children:[s.jsx(G,{className:"step-content-title",isActive:i,isCompleted:o,isHalfCompleted:l,disabledStep:c,isError:a,children:h}),s.jsx(V,{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(J,{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(K,{children:a?s.jsx(q,{}):l?s.jsx(G,{}):o?s.jsx(Y,{}):s.jsx(B,{isActive:i,disabledStep:c})}),s.jsxs(Q,{children:[s.jsx(V,{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,Y as y,aH as E,u as f,X as T,bf as x,o as t,p 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:H}=e,z=p.fetchState==="In-Progress"||p.fetchState==="Not-Started",D=[];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:D,completedSteps:l,halfCompletedSteps:d,errorSteps:a,currentStep:h,onUpdateStep:n,setIsStepClicked:H}),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: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`
119
119
  display: flex;
120
120
  flex-direction: column;
121
121
  align-items: center;