@zeniai/web-cockpit-ui 1.14.21-qa → 1.14.22-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 (267) hide show
  1. package/dist/assets/ACHDetailsPage-Csc8UPGK-C5DTl14D.js +21 -0
  2. package/dist/assets/{AIPerformancePage-DKwSS0Zl-_uRJy90x.js → AIPerformancePage-BNK1zghX-CXpkKBhu.js} +40 -40
  3. package/dist/assets/{AccountInfoPage-CSIM7DNw-t91eZQ9I.js → AccountInfoPage-WoQj1Knu-Cxdf_g3B.js} +5 -5
  4. package/dist/assets/{AccountInfoPageContent-CwbmE2Bb-T-BFbt0o.js → AccountInfoPageContent-BsiMZrTm-DfeZwew1.js} +17 -17
  5. package/dist/assets/{AccountLockedInfoModal-SFgC439X-CMjAhOqH.js → AccountLockedInfoModal-CaIpZQOZ-DUBexURk.js} +7 -7
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DhlVNNlq-D2_UrFsx.js → AccountReconDetailsDrawerPage-BQTm9Igh-bRUuCvDt.js} +12 -12
  7. package/dist/assets/{AccountRow-Bhq6cvtX-YU5AexfS.js → AccountRow-mHhwnvVT-61DHuT3I.js} +16 -16
  8. package/dist/assets/{AccountsPromoCardStack-Cx60IXNK-DbnDsykr.js → AccountsPromoCardStack-jk87J-uY-CYM3oaB-.js} +27 -27
  9. package/dist/assets/{AddAddressForCardDrawer-D1cDpMRq-W5tXjh3z.js → AddAddressForCardDrawer-BY-ABNiB-C1fgvotd.js} +2 -2
  10. package/dist/assets/{AddToWalletPage-DjD9kDfD-BVOukNrG.js → AddToWalletPage-BmaqhQ_z-fr9KNRwo.js} +29 -29
  11. package/dist/assets/{AgingReportsPage-C68tZbMZ-ltB8OanA.js → AgingReportsPage-B2tfefId-BY1ufaPI.js} +14 -14
  12. package/dist/assets/{AllUserItems-D4ZWfS3r-BIKyz3xK.js → AllUserItems-C5jB4yc_-bcEnXv8A.js} +8 -8
  13. package/dist/assets/{ApAgingDetailPage-C9xdKi6n-DQvox-Mj.js → ApAgingDetailPage-B-ZHX3JJ-Dm0NOaoH.js} +3 -3
  14. package/dist/assets/{AppBasePage-C77LebWx-DD6i2F9A.js → AppBasePage-DOXcrTCE-BU2ssx1Y.js} +11 -11
  15. package/dist/assets/{AppDrawerContent-rleLuP6d-N207k0Kf.js → AppDrawerContent-Cav4Sy09-XmmoSBRe.js} +17 -17
  16. package/dist/assets/ApprovalRulesSettingsPage-rzr9k2jA-BhZWVqKA.js +47 -0
  17. package/dist/assets/{ArAgingChart-BzPI5KpZ-Dwcwv8mU.js → ArAgingChart-B3NtEWh--G5H5BTO1.js} +10 -10
  18. package/dist/assets/{ArAgingDetailPage-QPScba6I-_mrA9Dmx.js → ArAgingDetailPage-uX2oVxj4-B2CH08AV.js} +1 -1
  19. package/dist/assets/{AttachmentView-BWRZe11t-geAB7dwF.js → AttachmentView-BQMzs_UT-DjbZBXs7.js} +8 -8
  20. package/dist/assets/{BankAccountSection-D4xFLS8Y-K9xaG_eB.js → BankAccountSection-MWGcLsKa-DYMEitGJ.js} +4 -4
  21. package/dist/assets/{BankAccountWarningSection-xch7b7oM-ChEsNIJ1.js → BankAccountWarningSection-CBlOG9xN-KyoF0Xjl.js} +6 -6
  22. package/dist/assets/{BankConnectionsSettingsPage-BAf6txkS-vMvoxtKR.js → BankConnectionsSettingsPage-PagAlxUn-CnNwI2lQ.js} +33 -33
  23. package/dist/assets/{BillDetailPage-DNjo2hSl-BIFlrRZ4.js → BillDetailPage-DU3KKWCI-Dgx7cNS3.js} +12 -12
  24. package/dist/assets/BillPayApprovalRuleDetailPage-DzfhQmLn-0k3Mkm1z.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-XcSe-JLu-CEbOBf4P.js → BillPayApprovalRulesPage-B051t9Mv-Bz466D-_.js} +10 -10
  26. package/dist/assets/BillPayPromoPage-DvBp9dFZ-DT65a4C3.js +84 -0
  27. package/dist/assets/BillPaySetUpPage-D7335PCo-lcC21Rm6.js +42 -0
  28. package/dist/assets/BillingSettingsPage-PsWVXatK-Df6MXAqh.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-C0-0H-LH-C4Ch0eQg.js → BillsBulkReviewDrawerPage-Dkq-bCpf-QfTbq_6Y.js} +1 -1
  30. package/dist/assets/{BoxItem-DfMMtLK3-DwhF3MEP.js → BoxItem-Bf9DDBGl-B4tzyane.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Bdf48vIt-CsMA_z06.js → BusinessVerificationPage-DZpS0b_1-DhH_xv3P.js} +14 -14
  32. package/dist/assets/{CardNumberSubText-DgQelYSF-EYjrhelR.js → CardNumberSubText-8FNDlBHV-xefYK_FQ.js} +2 -2
  33. package/dist/assets/{CashbackDetailPage-pDpjBsfK-B3tdD-nA.js → CashbackDetailPage-CUc07auE-CayGCDQt.js} +23 -23
  34. package/dist/assets/{ChargeCardDetailPage-DU9RMQc6-CYAFKGtS.js → ChargeCardDetailPage-D84v0WwQ-Drf4gFgi.js} +64 -64
  35. package/dist/assets/{ChargeCardListPage-DMYZIi2J-YzgnTjNz.js → ChargeCardListPage-BFssQAQg-Dr6YIgl1.js} +30 -30
  36. package/dist/assets/{ChargeCardListTable-BGhtEqlM-B7Fdytg0.js → ChargeCardListTable-BuI0T0Bn-DXKO7Y7U.js} +193 -193
  37. package/dist/assets/ChargeCardPromoPage-CRqyciNL-FrtjBhKN.js +222 -0
  38. package/dist/assets/ChargeCardSetupPage-BzqdaEET-j6EBeAK_.js +36 -0
  39. package/dist/assets/ChargeCardStatementsPage-BtImi0Pc-D6s-jUZ3.js +60 -0
  40. package/dist/assets/ChargeCardUtils-DQztOSYJ-DZxY6wV1.js +1 -0
  41. package/dist/assets/ChaseOverlay-BaGgoJZk-L4zZNkyz.js +170 -0
  42. package/dist/assets/CheckDepositDrawerPage-90KwCes_-BFVP9Xnd.js +206 -0
  43. package/dist/assets/{CollapsableReportTable-CuZSfiJ--BV5LvjsE.js → CollapsableReportTable-dCUjgg1X-DLs7OVqc.js} +51 -51
  44. package/dist/assets/{CompanyOfficerDetailsSection-B8_6LaaT-CKJVK2pK.js → CompanyOfficerDetailsSection-B5d06n1B-shOCzvZi.js} +19 -19
  45. package/dist/assets/{CompanyPassportCard-Dnoe52f1-BZsqn6WU.js → CompanyPassportCard-BOuhptIV-CVEQtf9Q.js} +6 -6
  46. package/dist/assets/{CompanyPassportPage-ChrMM5cG-DMFx8-D2.js → CompanyPassportPage-CPxR1IKu-B6sc0yZA.js} +12 -12
  47. package/dist/assets/CompleteProfile-BIN-sI3M-1L7bxHe9.js +52 -0
  48. package/dist/assets/{ConfettiBurst-CLXTwsEc-Baoit-xY.js → ConfettiBurst-nTrV9Xfw-D3DkhcOF.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-BQT9jEKf-BQUueMhM.js → CreateOrEditVendorPage-CQH4Gfy0-DBGaDkEf.js} +10 -10
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CqjXmiuE-BYGCpyAz.js → CreditCardPaymentDrawerPage-C3PvfNmm-amz8Ne7l.js} +23 -23
  51. package/dist/assets/CreditCardPaymentPlgSection-Cz-CSdKg-DO4yi827.js +78 -0
  52. package/dist/assets/CurrencySelectField-ltt1zExP-D2omcj4n.js +139 -0
  53. package/dist/assets/{CustomerOnboardingActivationPage-CwOkKzOg-B9TqM2NT.js → CustomerOnboardingActivationPage-Cst56yLP-ejyq0w3C.js} +7 -7
  54. package/dist/assets/CustomerOnboardingContainerPage-B9rA9JXM-C9nb1PSk.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-czdG16p5-DG6Ivo4n.js → CustomerOnboardingDetailPageSkeleton-H59MLCwU-KBQed5cV.js} +11 -11
  56. package/dist/assets/CustomerOnboardingNoStepsPage-B8cf9wWc-DoeA9g-j.js +66 -0
  57. package/dist/assets/{CustomerOnboardingPage-YXekfOBo-HDPrQ7VL.js → CustomerOnboardingPage-1o2R-ghV-DIOBtRSu.js} +12 -12
  58. package/dist/assets/CustomerOnboardingProductSuitePage-Dfv86gVc-xcmudBbw.js +202 -0
  59. package/dist/assets/{Dashboard-DSgwFRPe-BqbfAhX1.js → Dashboard-CptSiho6-CYuyH4KA.js} +25 -25
  60. package/dist/assets/{DashboardReportPage-BJvP8_MA-BBXCjxlc.js → DashboardReportPage-G32NOQFe-BOVMH67u.js} +19 -19
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-BzB16gcw-DuZKIfdP.js → DashboardSidebarBackgroundAnimation-DTkdczBR-Dm25xp1J.js} +2 -2
  62. package/dist/assets/{DepositAccTransactionItem-iLxnaDON-Cu2Jt3BR.js → DepositAccTransactionItem-CQX9MBK--x7S3np6v.js} +4 -4
  63. package/dist/assets/DepositAccTransactionListPage-C6lB4Qyv-67Okcjlq.js +66 -0
  64. package/dist/assets/{DomesticWireDetailsPage-D7ID3OCC-BWg_cPdV.js → DomesticWireDetailsPage-Bgm_YYHM-C2zlQj9Q.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-DK3Nswwn-CvcpFx8P.js → DownloadOverlay-DN4zwFl5-BWBizCPI.js} +27 -27
  66. package/dist/assets/{DrawerPage-qdVRf0zd-D3MHsEvl.js → DrawerPage-B-jrvyA1-D5alUPyS.js} +12 -12
  67. package/dist/assets/{EditPeoplePage-BQlHto3J-Up6qoGIH.js → EditPeoplePage-BTXEd5bm-DPBckywd.js} +9 -9
  68. package/dist/assets/{EditReimbursementDetailPage-wJUr8jPN-CucwYAji.js → EditReimbursementDetailPage-5-BeM3DC-BRw6nxEw.js} +52 -52
  69. package/dist/assets/{EntityDetailPage-BNbBdxQj-VYMr28kW.js → EntityDetailPage-CCTwe1iu-DAg47Prp.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-BQXLwSRf-Dmz-K_CZ.js → EntitySummarySection-B7uoP2ou-DZ_drzmW.js} +9 -9
  71. package/dist/assets/ExpenseAutomationOverviewPage-Bz-2JPdW-DaIoHdOM.js +222 -0
  72. package/dist/assets/{ExpenseAutomationPage-Cn4VyB6M-BhL8s7ps.js → ExpenseAutomationPage-o8ox1q0R-W0eDJCTN.js} +76 -76
  73. package/dist/assets/{ExpressPayPage-DjV_dQoe-TjH6IBGq.js → ExpressPayPage-BdUERste-C5P04O3w.js} +13 -13
  74. package/dist/assets/{FeaturePreviewPage-CPu1OiVj-DYKr-SZH.js → FeaturePreviewPage-B6_exSoS-Do4_f9l1.js} +2 -2
  75. package/dist/assets/{FollowStepsSection-6KGTmbym-BPFH0rIs.js → FollowStepsSection-BoA-EzkO-CtKbn8f6.js} +25 -25
  76. package/dist/assets/{GlobalReviewListPage-BpuYWhKy-ojejaE0U.js → GlobalReviewListPage-CYjobk5Y-BRiHcGuf.js} +15 -15
  77. package/dist/assets/HelpButton-DEwtg0Ez-BLNCXJFp.js +28 -0
  78. package/dist/assets/{InformationCardStack--_YYIZmU-DyhXfEfc.js → InformationCardStack-Dvu4sQsc-BlKJwxKC.js} +5 -5
  79. package/dist/assets/{InsightsCardStack-BAqsxgx_-DdyBnb2f.js → InsightsCardStack-DffcRWuM-BTqxOdqS.js} +12 -12
  80. package/dist/assets/{InsightsSection-R-m-A1rt-DREvFYeH.js → InsightsSection-C8Oi6wcZ-D3wuyBHx.js} +4 -4
  81. package/dist/assets/{IntegrationsSettingsPage-BP0P9-PB-DgpQQrpK.js → IntegrationsSettingsPage-C0VZQfG_-ks1Gh_uy.js} +15 -15
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-Bl40XkdZ-DcZdsGXF.js → InternationalWireSwiftDetailsPage-SAcvo9BB-BCh0Bmwt.js} +10 -10
  83. package/dist/assets/{InternationalWireVerificationPage-BxIz3xUq-2c84qgGL.js → InternationalWireVerificationPage-8Ff3v4gu-BQsNCeNp.js} +15 -15
  84. package/dist/assets/InviteFormPage-CRRvruND-BlSp_6On.js +312 -0
  85. package/dist/assets/{InvitePageListView-CWpmFhZH-mgWVAkee.js → InvitePageListView-DG91-L1w-HUdilJLK.js} +44 -44
  86. package/dist/assets/InvitePeoplePage-6ANmf4z2-D3l-3sjy.js +12 -0
  87. package/dist/assets/{InvoiceUploadSection-BWCF-vNf-BfXQEC3w.js → InvoiceUploadSection-C4O7GGrv-DEO_7ppT.js} +9 -9
  88. package/dist/assets/{IssueChargeCardPage-DrHldS8--A_AXmB6w.js → IssueChargeCardPage-gohjPIRu-KdDkWZ0o.js} +33 -33
  89. package/dist/assets/{LabeledAddressValue-WlsZ5Ghz-BRS36g9Q.js → LabeledAddressValue-C6EUPzNB-f8CKs718.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-B-6CWCep-D3jCl4nb.js → LabeledAddressValueField-CC4nYBb8-CmuRvhjZ.js} +3 -3
  91. package/dist/assets/{LabeledControlledCheckBoxField-DLlz4JyR-CMz1DNyM.js → LabeledControlledCheckBoxField-TB_2rc3R-DL54XhuW.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-rYzQ2Ot2-CDpWJTGr.js → LabeledCreatableSingleSelectField-CdgNcgTu-CwOMlXoT.js} +2 -2
  93. package/dist/assets/{LabeledDocumentField-CD2nmWBu-Cuw8I-AI.js → LabeledDocumentField-CzTqgS97-CVWMa21M.js} +5 -5
  94. package/dist/assets/{LabeledDropDownFormattedTextField-DpVX6osq-DUYnn-i2.js → LabeledDropDownFormattedTextField-CVzL0J5a-D5_Y7iWl.js} +6 -6
  95. package/dist/assets/{LabeledText-QTidAWAx-fh93_-mv.js → LabeledText-BICN3vpf-Lk4PuYrJ.js} +2 -2
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BlTOGYfX-BQucWzXB.js → LabeledUserSingleSelectWithSubtitlesField-VeWNep8c-tP0CG0Iv.js} +20 -20
  97. package/dist/assets/{LabeledZeniRolesDropDownField-BVYRgzSM-Cv81CAeG.js → LabeledZeniRolesDropDownField--Jr1KizL-SyZHoQyC.js} +14 -14
  98. package/dist/assets/{LinkJETransactionPage-CKTmE3J5-BL2a536w.js → LinkJETransactionPage-BNWOmBHj-C6dNtx3m.js} +13 -13
  99. package/dist/assets/{LowBalancePopup-3lHeOacz-Cg-6ggSe.js → LowBalancePopup-Dhrtsv_E-B0rnJzet.js} +6 -6
  100. package/dist/assets/{MagicLinkACHDetailsPage-CJwMNdWw-BbWz_BUe.js → MagicLinkACHDetailsPage-Brt9q6YZ-ByLyPANb.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-7fXlIwuo-GAs9HQCc.js → MagicLinkDomesticWireDetailsPage-CkSEgmKP-DxqY0_R2.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-D7oeyaXU-Bzhpe6Vc.js → MagicLinkInternationalWireDetailsPage-CqYC7uu7-CV88Q6h1.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-D8iyZlJy-j-oCJl1z.js → MagicLinkSuccessPage-VR-HSAYZ-DUCuiXm5.js} +4 -4
  104. package/dist/assets/{MagicLinkTitleSection-DUrwrEj2-BnMJM36s.js → MagicLinkTitleSection-T6m2zH4A-C4uTRZc1.js} +3 -3
  105. package/dist/assets/MailingDetailsSection-B6ZCAac5-CjQ8hXZb.js +21 -0
  106. package/dist/assets/{MeetingCalenderPopup-SnrmOSBf-CNpJ4esn.js → MeetingCalenderPopup-CgzTeE14-BMiIqHVm.js} +1 -1
  107. package/dist/assets/{Menu-C7N3gHcb-6AxGYl0u.js → Menu-DOJJ_REW-BwD6B3Nk.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-B4Pjmw7q-BoyImx6j.js → MyBankConnectionsSettingsPage-C_NrRV7T-BjsWlM7P.js} +18 -18
  109. package/dist/assets/MyPendingActivationChargeCardListPage-CNHCZPs--fg7FpZSk.js +6 -0
  110. package/dist/assets/{MyProfileSettingsPage-Dv0V1Z6z-DjnAaOLQ.js → MyProfileSettingsPage-CIfFufvo-uBNLzBNw.js} +8 -8
  111. package/dist/assets/NavBarWithPicker-CvhnGryh-CauN1w5W.js +30 -0
  112. package/dist/assets/{NavigationArrow-xI3dolgO-C-GiXFn4.js → NavigationArrow-CXkUidH6-fqvGvSGZ.js} +2 -2
  113. package/dist/assets/{NavigationDots-CbSSDiyy-WCBt3UxE.js → NavigationDots-hBq7kHVj-Vj1p5Rqn.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-vHNZ1z6p-BmDZAkXp.js → NewGlobalMerchantPage-DORHvz4D-CYDIdofb.js} +15 -15
  115. package/dist/assets/{NoDataChart-DHDhwnCE-CDUxuuOv.js → NoDataChart-C4KqN3ua-6H0vHNsB.js} +1 -1
  116. package/dist/assets/{NoDataTable-BnVKm6Qa-Da3lIrUA.js → NoDataTable-DaX07HI0-B6ZwwCAM.js} +1 -1
  117. package/dist/assets/{NotFoundPage-BNZEf9qH-BE8kBN6K.js → NotFoundPage-BIh20jzm-BXLRcjFX.js} +1 -1
  118. package/dist/assets/{NotificationSettingsPage-DfnpY6qJ-Q5CoK9_s.js → NotificationSettingsPage-gU3g8rJ2-Au_WueGH.js} +14 -14
  119. package/dist/assets/NotificationsListConfig-C14JCaD1-cAHM1Kht.js +1 -0
  120. package/dist/assets/{NotificationsPage-Bg1mW_-3-CzD0o_6Q.js → NotificationsPage-oy3LHVU2-C0LKRRGq.js} +52 -52
  121. package/dist/assets/{OpExByVendorPage-qNgK4tMM-CM_o2sby.js → OpExByVendorPage-D8jXzTd6-CpwZHxBM.js} +9 -9
  122. package/dist/assets/{OverlayContainerPage-ZbhbAqlg-l2yHPll9.js → OverlayContainerPage-Bmu909Fo-Drnebvl5.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-C8qE7xCZ-UDfg9dM5.js → PandLWithForecastPage-BQW2_QDB-BVhcDW_t.js} +15 -15
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DA77K9eY-BBrPsmYp.js → PaymentAccountSetupBillingAddressSection-CY9QJXXs-ByBDQvaD.js} +18 -18
  125. package/dist/assets/{PeoplePage-Chec7uSH-DFRieiVv.js → PeoplePage-B7s3mjRX-BNB49xB2.js} +26 -26
  126. package/dist/assets/{PortfolioAllocationFormPage-B_lIRV75-9B1_7c3Q.js → PortfolioAllocationFormPage-eonsRKDg-CW4TIBlU.js} +5 -5
  127. package/dist/assets/PortfolioDetails-BFqRNjFs-DdtIdWXw.js +218 -0
  128. package/dist/assets/ProductsCarousel-BaTq9uMB-DT3_7m1I.js +142 -0
  129. package/dist/assets/{PromoBaseCards-D3gKG9qA-Bq2w579j.js → PromoBaseCards-Bf3Dizji-DFvWixK1.js} +4 -4
  130. package/dist/assets/{QBOConnectionDialog-C8y2XvBN-CGZvEFLA.js → QBOConnectionDialog-DhOSSZ5O-BcCZx_dG.js} +13 -13
  131. package/dist/assets/{QBOSetupSection-DDGIRv8E-DDOtydJ8.js → QBOSetupSection-BWJoUKzu-DC5g6xXu.js} +14 -14
  132. package/dist/assets/ReimbursementApprovalRuleDetailPage-CiebC6vq-B0xwHjcZ.js +26 -0
  133. package/dist/assets/{ReimbursementApprovalRulesPage-DsIFWYvA-BGZ99R95.js → ReimbursementApprovalRulesPage-gKLkrIyV-DxnMuJiA.js} +10 -10
  134. package/dist/assets/ReimbursementDetailPage-BF4vlfIm-A5yNZHmb.js +314 -0
  135. package/dist/assets/ReimbursementPromoPage-BFwztEak-CceCs1UK.js +84 -0
  136. package/dist/assets/ReimbursementSetUpPage-D1AVnqd4-CKntMkOU.js +140 -0
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DblkkMcc-i1I7617W.js → ReimbursementsBulkReviewDrawerPage-BsqdpOS_-B3Pgz4a_.js} +1 -1
  138. package/dist/assets/{ReloadCard-BszztAdg-gseVFmCl.js → ReloadCard-BmYf1NZf-DhNr8urp.js} +3 -3
  139. package/dist/assets/ReportTableViewSelector-yTxheyC3-CSqeEY6U.js +150 -0
  140. package/dist/assets/{ReportsPage-BfKLEriq-CNsTnOim.js → ReportsPage-DZtCp9CP-GUEOyiOt.js} +8 -8
  141. package/dist/assets/{RevenueChart-B5dfrWKL-h1RS9vmc.js → RevenueChart-CXSh5l_p-dQ5RnZTk.js} +1 -1
  142. package/dist/assets/ReviewDetailsPage-DG7ms5Hy-bXyI7cqb.js +290 -0
  143. package/dist/assets/{ReviewOverlay-BysN2GYI-B54hA7h0.js → ReviewOverlay-B2jf6tfG-D_9vNPuM.js} +26 -26
  144. package/dist/assets/{RoleWithToolTip-BRe9iDOl-r4MeN03_.js → RoleWithToolTip-DHdLJcWR-GnlXHGj6.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-gij2cBvS-DYNVzDVF.js → ScheduleDetailsFixedAssetsPage-CY0i2n7i-9GRv9Sh2.js} +8 -8
  146. package/dist/assets/{ScheduleDetailsPage-DVm4cyKr-BOhfGajG.js → ScheduleDetailsPage-CVh8-Sc9-BcDI1QHR.js} +3 -3
  147. package/dist/assets/{ScheduleSequenceTable-aSVVm6mG-DuDPOPR7.js → ScheduleSequenceTable-8qqeMhAk-COgow_cL.js} +19 -19
  148. package/dist/assets/{ScreenRoutes-z4Ov9eJq.js → ScreenRoutes-HggFEvBU.js} +1 -1
  149. package/dist/assets/SetUpAccountSection-CKdSkMBO-Dgf4iucH.js +378 -0
  150. package/dist/assets/SetUpDefaultSection-BM57n5BV-BGP1G39B.js +174 -0
  151. package/dist/assets/SignIn-BMjCrrGx-DVM_TdnN.js +407 -0
  152. package/dist/assets/{SignInScreen-l-67Uvxk.js → SignInScreen-BP8BTBPi.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-Dav0JMKy-Y-GEx6Lw.js → SpendManagementListViewPage-BphSarNr-olaU5e62.js} +13 -13
  154. package/dist/assets/{SpendManagementPerTabPage-C-Y-BFqH-BkDeeVjW.js → SpendManagementPerTabPage-DCkS4HuZ-BoJws23h.js} +43 -43
  155. package/dist/assets/{SpendManagementSection-DGz-I0bf-Bw1c1jys.js → SpendManagementSection-DKqHikhq-CsTWl7zh.js} +15 -15
  156. package/dist/assets/SpendMgmtSetupAccountSection-BF7bb5O_-DSPc6rRK.js +206 -0
  157. package/dist/assets/{StatementItem-2F2qxL7G-sSXIEL81.js → StatementItem-Ki_Mzpf9-D38JqRpj.js} +6 -6
  158. package/dist/assets/StatementsPage-B6XMWWpt-Dr9BGLnN.js +58 -0
  159. package/dist/assets/{StatusSwitcher-DBUg94S_-C2JEQhps.js → StatusSwitcher-BkAnAbyd-DQZA1a3w.js} +4 -4
  160. package/dist/assets/{SubTabSwitcher-CoK8FOIA-DDQIjZPM.js → SubTabSwitcher-Au3snima-DElPxhu-.js} +6 -6
  161. package/dist/assets/{SummaryCard-D1KRVnqp-BaQsoKv3.js → SummaryCard-B-IXQpJ7-Dg8CCNrn.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-BhFEeDBu-DzfbV0Zn.js → TaskManagementPage-BPNEy-p0-BIbh7B8y.js} +42 -42
  163. package/dist/assets/{TimeRangeSwitcher-4JrIq9xZ-TFwqCfhn.js → TimeRangeSwitcher-DpDC0FGn-CoKhjSY7.js} +5 -5
  164. package/dist/assets/{TimeframeSwitcher-CjctaKq_-Dr_Vr7Rj.js → TimeframeSwitcher-D1cuigpc-D9PCDoa0.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-C0dRRCYf-B1COtObb.js → TimeframeSwitcherWithToggle-_2U17Wg0-Cc6NrQTz.js} +1 -1
  166. package/dist/assets/{TopExCard-CCBEun3e-BNc9p9eG.js → TopExCard-BWOozDK3-GMojpRJp.js} +7 -7
  167. package/dist/assets/{TopExDetailPage-DbwmOLnV-Dh4ElkDG.js → TopExDetailPage-DpYLakrO-vsCGpsy3.js} +21 -21
  168. package/dist/assets/{TransactionDetailPage-DsQJU2de-CxIPljIq.js → TransactionDetailPage-Bxzam_ho-gn2TcHkj.js} +32 -32
  169. package/dist/assets/{TransactionList-BIMzvzrT-_or9xEGN.js → TransactionList-CEfjoVPA-DR1uAuMl.js} +15 -15
  170. package/dist/assets/{TransactionListBig-DiFiu66r-BLXPBbpL.js → TransactionListBig-CefZbd83-D9G3vxbN.js} +24 -24
  171. package/dist/assets/TransactionListPage-CM319tsV-DkNHohDS.js +35 -0
  172. package/dist/assets/{TransactionVendorDetailPage-A2F8TF9r-DUOtbDNW.js → TransactionVendorDetailPage-Z7O-juRN-D3T9JsrE.js} +4 -4
  173. package/dist/assets/TransferDrawerPage-0vQtF6ID-fpHDlHlf.js +362 -0
  174. package/dist/assets/{TreasuryOverviewPage-Bwy2y6eI-CvBsMjHy.js → TreasuryOverviewPage-DaCuL9FX-BtE7UAml.js} +101 -101
  175. package/dist/assets/{TreasuryPromoPage-B3P0nF1z-17ooiVR4.js → TreasuryPromoPage-BQ6Cuqoa-DpBYobqK.js} +26 -26
  176. package/dist/assets/{TreasurySetupPage-BgrgBBsW-BvZOLqE5.js → TreasurySetupPage-BJRBNCvY-DTKYqc-u.js} +10 -10
  177. package/dist/assets/{TreasuryStatementsPage-DvCQhl_X-Dk5WyixX.js → TreasuryStatementsPage-z6cg-MO_-B6xE_NLh.js} +5 -5
  178. package/dist/assets/{TreasuryTaxLetterPage-iG8-cJFt-j6qmlNFn.js → TreasuryTaxLetterPage-DP-c4Sqo-DJ913yYo.js} +5 -5
  179. package/dist/assets/{TreasuryTransferOrReviewPage-BZ5sPJAg-NdyyZMx2.js → TreasuryTransferOrReviewPage-BGfIlPXx-DSEBAJOM.js} +56 -56
  180. package/dist/assets/{TrendChart-_IpSJoUH-DXWWW8tE.js → TrendChart-BAMRDfp7-BazRtItt.js} +5 -5
  181. package/dist/assets/{TrendWithTransactions-BqGV_CQg-DBpBbNzJ.js → TrendWithTransactions-CgbouMHP-BeJkYy2u.js} +8 -8
  182. package/dist/assets/{UncategorizedAccountsMappingPage-iK-1vllN-CsfRUZlv.js → UncategorizedAccountsMappingPage-DUVjNpg2--ZQ9jdii.js} +20 -20
  183. package/dist/assets/{UnitIntegrationPage-sYNoUudZ-CYUrKLfM.js → UnitIntegrationPage-DSWbn8gm-BF5pvmYs.js} +4 -4
  184. package/dist/assets/UploadAdditionalDocumentOverlay-BFn9gixM-TNCvf1wH.js +38 -0
  185. package/dist/assets/{Vendor2FAPopup--4Ufzmk0-Bhn3C6zT.js → Vendor2FAPopup-CA-cVVNX-Br4ikl9I.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-BD9WwdNN-B6rEBLg0.js → VendorACHDetailsPage-Hdw6gHNB-D1EJLe9f.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-DwLCEthT-DOEOWBu5.js → VendorDetailPage-CceVHonS-DTF5QB-w.js} +16 -16
  188. package/dist/assets/{VendorDomesticWireDetailsPage-Y2SlFgHo-ctcFxC1W.js → VendorDomesticWireDetailsPage-ChF-hj1o-CRNdIBeH.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-nGfjBA1D-Dj4qnXHI.js → VendorFiling1099EditablePage-BnMmu8g4-D-QjmAYA.js} +13 -13
  190. package/dist/assets/{VendorFirstReviewPage-Bgf9MtEn-B5_vtXIt.js → VendorFirstReviewPage-C9LNBxKs-iubpjCjr.js} +49 -49
  191. package/dist/assets/{VendorInternationalWireDetailsPage-CMxyzCCL-DgMIpDxj.js → VendorInternationalWireDetailsPage-B8F_1TYL-CehAU7df.js} +31 -31
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C6rMWgzM-C9CLMBsh.js → VendorInternationalWireSwiftDetailsPage-HuCjhvn4-DolPnQw8.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-Ceq0cYf6-Dwaaaz-u.js → VendorsAccountsSection-Cj3NFdKN-B9ouaYU2.js} +4 -4
  194. package/dist/assets/VerifyDevice-dg83_W2W-DmiPoszu.js +96 -0
  195. package/dist/assets/VideoPopup-0LSxcyRX-CeJLs_Z5.js +31 -0
  196. package/dist/assets/{WarningsDrawerPage-DSssRFm_-Dvfai-rz.js → WarningsDrawerPage-DR9oeIuj-B1HHe12t.js} +9 -9
  197. package/dist/assets/{ZeniAccountDetailPage-C6q8N5tU-DESMj8H1.js → ZeniAccountDetailPage-DHl0vyQ0-D4m750Dj.js} +25 -25
  198. package/dist/assets/{ZeniAccountListViewPage-CqUvXrvR-Cc02Six5.js → ZeniAccountListViewPage-BC1yUQbd-DA-thvu8.js} +63 -63
  199. package/dist/assets/ZeniAccountNavBarPieces-CpKh4Vxw-CQBSadEV.js +14 -0
  200. package/dist/assets/{ZeniAccountPromoPage-B6wyK1mQ-jB9p9r4X.js → ZeniAccountPromoPage-BaRzPlIW-DDgMDs51.js} +29 -29
  201. package/dist/assets/ZeniAccountSetupPage-CveI2__B-BL7QVBOR.js +36 -0
  202. package/dist/assets/{ZeniCopyright-BqG_ynZT-B8auuDYw.js → ZeniCopyright-D6e3OekQ-3nIDquq3.js} +1 -1
  203. package/dist/assets/{ZeniTransferAmountSlider-BZb23ypm-CNSeiXW5.js → ZeniTransferAmountSlider-BqyHxYBn-DOVMp_BS.js} +7 -7
  204. package/dist/assets/{analyticsHelper-517kzICQ-B_8oYoDB.js → analyticsHelper-CYiy63P3-BIFQ1l_N.js} +1 -1
  205. package/dist/assets/{analyticsHelper-fHYf245D.js → analyticsHelper-q5gZKv1q.js} +1 -1
  206. package/dist/assets/chartTypes-sx4859ds-GbS6VOEl.js +1 -0
  207. package/dist/assets/{commonDimensions-Dw8Sh6Gv-7gi8Z3Gt.js → commonDimensions-DbTYS1hy-sQ0jQuuT.js} +1 -1
  208. package/dist/assets/{detailCommon-BA8Eb9ta-Cls_xdIj.js → detailCommon-BeqWtSZF-C3x-L6T7.js} +10 -10
  209. package/dist/assets/downloadPdf-CLTp2aZt-DDw4mfQ_.js +1 -0
  210. package/dist/assets/{index-CteHikkY.js → index-P_4M6V8j.js} +17377 -14411
  211. package/dist/assets/{mapLoadingInProgressToTreeNode-B16JI0nu-CaT-riL3.js → mapLoadingInProgressToTreeNode-Dl_IFb2l-Dr2U1vob.js} +1 -1
  212. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-u05r0BKW-D93Qvfy9.js → mapSectionWithAcOnlyToTreeNode-BAhSN9Et-BvR2g837.js} +1 -1
  213. package/dist/assets/{mapSpacerToTreeNode-DHlbGqUH-CR4GfB3i.js → mapSpacerToTreeNode-3b46l63c-C8ssHh5s.js} +1 -1
  214. package/dist/assets/{mapTimeframeBalancesToTreeNode-CGkPIsh6-oG-KC4x3.js → mapTimeframeBalancesToTreeNode-3pTXOISe-CgCBO3AW.js} +1 -1
  215. package/dist/assets/{mapTimeframeBalancesToTreeNode-ymtaozr7-CN1Pxsue.js → mapTimeframeBalancesToTreeNode-DJqcH4tL-s-wMhKIa.js} +1 -1
  216. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-C7X7F5Ac-CAukvICG.js → mapTimeframeHeaderLoadingInProgressToTreeNode-yhbtLbK2-Buokl7Z0.js} +1 -1
  217. package/dist/assets/{toCOABalancesWithID-B0nbXcq3-CrfKiUyi.js → toCOABalancesWithID-D49XFhoj-DjL9meL6.js} +1 -1
  218. package/dist/assets/{toChartData-CZR7pH0W-Dm5lu3KI.js → toChartData-C9pHl0xA-CKVc0-Yj.js} +1 -1
  219. package/dist/assets/{treasuryColorHelper-99Jkq8AE-BBbuwlCb.js → treasuryColorHelper-CkjbPhqI-PraXB90r.js} +1 -1
  220. package/dist/assets/{uploadAttachment-5GZYaQNG-2L-QfpWR.js → uploadAttachment-BniS82zn-BreMBxbN.js} +20 -20
  221. package/dist/assets/{uploadReceipts-CtQowT1I-0zTSBTg9.js → uploadReceipts-dxsKhm9I-wO4Dla2j.js} +1 -1
  222. package/dist/index.html +1 -1
  223. package/package.json +3 -3
  224. package/dist/assets/ACHDetailsPage-B2GVy8XM-BOIvjXTj.js +0 -21
  225. package/dist/assets/ApprovalRulesSettingsPage-l6wNe5y0-1aq4Vv65.js +0 -47
  226. package/dist/assets/BillPayApprovalRuleDetailPage-CyzRcfmb-uOofdgcM.js +0 -27
  227. package/dist/assets/BillPayPromoPage-XAG7hXMH-BZL4sjAP.js +0 -112
  228. package/dist/assets/BillPaySetUpPage-BBsdhwgY-C2VZLsTX.js +0 -42
  229. package/dist/assets/BillingSettingsPage-DJNjNtIF-uDhkigAj.js +0 -44
  230. package/dist/assets/ChargeCardPromoPage-B2v83Vrf-COR15-4w.js +0 -222
  231. package/dist/assets/ChargeCardSetupPage-D4DqJYC2-Bgmue_Hy.js +0 -36
  232. package/dist/assets/ChargeCardStatementsPage-N-UJC5n3-DCTtgimP.js +0 -60
  233. package/dist/assets/CheckDepositDrawerPage-BlNXO233-Biy_ee3N.js +0 -206
  234. package/dist/assets/CompleteProfile-BcB52KEM-lFVSyCYA.js +0 -52
  235. package/dist/assets/CurrencySelectField-DptlyOSs-CWinX_tp.js +0 -139
  236. package/dist/assets/CustomerOnboardingContainerPage-CicNW9-B-DWzzD7vt.js +0 -1
  237. package/dist/assets/CustomerOnboardingNoStepsPage-vfiQQOHz-CcQVn2u7.js +0 -66
  238. package/dist/assets/CustomerOnboardingProductSuitePage-CZTuBAv2-_eb-zJs0.js +0 -202
  239. package/dist/assets/DepositAccTransactionListPage-BYdaEGCV-BFNeAgzu.js +0 -66
  240. package/dist/assets/ExpenseAutomationOverviewPage-UXpoYnDh-CO2tpATT.js +0 -222
  241. package/dist/assets/HelpButton-j66YbdZ7-Drvx-5iY.js +0 -28
  242. package/dist/assets/InviteFormPage-t42rmGiL-7JW6Km7H.js +0 -312
  243. package/dist/assets/InvitePeoplePage-78Fznvo4-BvI_a8sG.js +0 -12
  244. package/dist/assets/MailingDetailsSection-CXSm1fgW-DRNX0_o-.js +0 -21
  245. package/dist/assets/MyPendingActivationChargeCardListPage-COeIF-Gj-BJUi7XQw.js +0 -6
  246. package/dist/assets/NavBarWithPicker-Dd5TPoA8-BZQxCbZw.js +0 -30
  247. package/dist/assets/NotificationsListConfig-DtICI7X6-CayIRbFW.js +0 -1
  248. package/dist/assets/PortfolioDetails-Dm2r3i6b-BwrtFocU.js +0 -218
  249. package/dist/assets/ProductsCarousel-Ba0LHKrb-BDvM1Acb.js +0 -144
  250. package/dist/assets/ReimbursementApprovalRuleDetailPage-Dc_vsL89-DXMeU38o.js +0 -26
  251. package/dist/assets/ReimbursementDetailPage-6KZSAl8R-CGQrQ4-Q.js +0 -314
  252. package/dist/assets/ReimbursementPromoPage-Bijp59bV-Bq5XzABH.js +0 -112
  253. package/dist/assets/ReimbursementSetUpPage-UW_9Cl4O-BNhdS7cU.js +0 -140
  254. package/dist/assets/ReportTableViewSelector-DOnGrFNT-B1xUQ166.js +0 -150
  255. package/dist/assets/ReviewDetailsPage-BCo54ehm-fgesmtoD.js +0 -290
  256. package/dist/assets/SetUpAccountSection-qYVA9A09-CVxmZ6g-.js +0 -378
  257. package/dist/assets/SignIn-BLt95c3U-D3UBJiEv.js +0 -408
  258. package/dist/assets/StatementsPage-D8hwgVAz-DamBoqPu.js +0 -58
  259. package/dist/assets/TransactionListPage-7JveOMDe-v7-9Lfsn.js +0 -35
  260. package/dist/assets/TransferDrawerPage-CCqQ3Daq-DRUKf3ph.js +0 -362
  261. package/dist/assets/UploadAdditionalDocumentOverlay-DMtjF2N8-D2r5JejQ.js +0 -38
  262. package/dist/assets/VerifyDevice-BTFRL9bH-t2x3vCON.js +0 -96
  263. package/dist/assets/ZeniAccountNavBarPieces-DcmtDKVQ-xec3gYAK.js +0 -14
  264. package/dist/assets/ZeniAccountSetupPage-Dl83s-y4-Dwfiz5l8.js +0 -36
  265. package/dist/assets/chartTypes-BTkUFFIf-PQ5t5G6G.js +0 -1
  266. package/dist/assets/downloadPdf-CDKlyJb--BC8IkHL1.js +0 -1
  267. package/dist/assets/play-icon-B0_JAuQa-CnChOIaR.js +0 -31
@@ -0,0 +1,52 @@
1
+ import{a as q,gk as v,M as m,j as A,gl as $,b as i,n as J,F as V,cc as W,cl as _,ci as T,l as Z,o as E,gm as z,cg as X,a3 as AA,c6 as gA,bw as BA,gn as eA}from"./index-P_4M6V8j.js";import{b as g,f as D,n as Q}from"./vendor-rkTZJa59.js";import{$ as EA}from"./LabeledAddressValue-C6EUPzNB-f8CKs718.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const CA=B=>g.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...B},g.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),g.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("g",{style:{mixBlendMode:"darken"}},g.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),g.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),g.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("defs",null,g.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},g.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),g.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},g.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),g.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,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"}))),QA=B=>g.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...B},g.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=m.getLocalizedStrings(),h="completeProfilePage",o="basicDetailsSection",c="addressSection",s=(B,l)=>`${B}.${l}`,wA=({userEmail:B,googleAPIKey:l,twoFactorAuthenticationView:u,saveStatus:G,hasUserEnteredBasicDetails:S,onSave:d,onGetOtp:w,onVerifyOtp:M,onResendOtp:k})=>{const[I,n]=g.useState(!1),[x,Y]=g.useState(!1),t=q({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:B,dateOfBirth:void 0,phone:"",address:void 0}}}),y=v({control:t.control,name:`${o}.address`}),{dateFormat:f}=m.getLocalizedStrings(),F=t.handleSubmit(C=>{d&&d(C)}),L=()=>{const C=t.getValues(`${o}.phone`);C!=null&&C.trim().length>0&&w(C)},R=(C,a)=>{M(C,a)},U=C=>{C!=null&&C.trim().length>0&&k(C)},K=()=>{n(!0)},P=()=>{n(!1)},b=()=>{const C=t.getValues(`${c}`);if(C!=null){const a=eA(C);t.setValue(`${o}.address`,a)}n(!1)},{sendOtpStatus:j,otpVerificationStatus:r,otpChallenge:O,phone:H}=u,N=A.jsxs(iA,{children:[A.jsx(CA,{}),A.jsxs(sA,{children:[A.jsxs(lA,{children:[A.jsx($,{children:r.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),A.jsx(i,{controller:r.fetchState==="Completed",children:A.jsx(nA,{})})]}),A.jsx(J,{children:e.completeProfile.enableTwoFADescription})]})]});return A.jsxs(oA,{children:[A.jsxs(IA,{children:[A.jsxs(tA,{children:[I&&A.jsx(rA,{onClick:P}),e.completeProfile.title]}),A.jsx(V,{...t,children:A.jsxs("form",{id:`${h}_form`,onSubmit:F,children:[A.jsx(i,{controller:S===!1,children:A.jsxs(p,{children:[A.jsx(i,{controller:I===!1,children:A.jsxs(D.Fragment,{children:[A.jsx(W,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:s(o,"email")}}),A.jsx(_,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:s(o,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),A.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:s(o,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:f.visual.defaultInput,autoComplete:"off",maxDate:Z.dateNow().subtract(18,"year")}}),A.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:y,onClick:K},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),A.jsx(i,{controller:I===!0,children:A.jsx(D.Fragment,{children:A.jsx(z,{sectionId:c,googleAPIKey:l,isSubPage:!0})})})]})}),A.jsx(p,{children:A.jsx(X,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:s(o,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${o}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:x,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:O,showOtpButton:!0,onGetOtp:L,onVerifyOtp:R,onResendOtp:U,isPhoneVerified:r.fetchState==="Completed",phoneVerificationStatus:r,getOtpStatus:j,verifiedPhoneNumber:r.fetchState==="Completed"?H:void 0,openPopup:()=>{Y(!0)},focusNotRequired:!0},bottomText:r.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),A.jsx(AA,{formId:I?void 0:`${h}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?b:void 0,isLoading:G.fetchState==="In-Progress"},showCancel:!1})]})},oA=Q.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ min-height: 100vh;
5
+ `,IA=Q.div`
6
+ display: flex;
7
+ flex-direction: column;
8
+ align-items: flex-start;
9
+ padding: ${E.sp5};
10
+ row-gap: ${E.sp3};
11
+ flex: 1;
12
+ `,tA=Q(gA)`
13
+ color: ${B=>B.theme.colors.primary};
14
+ text-align: left;
15
+ display: flex;
16
+ align-items: center;
17
+ justify-content: flex-start;
18
+ gap: ${E.sp2};
19
+ `,rA=Q(BA)`
20
+ cursor: pointer;
21
+ width: ${E.sp4};
22
+ height: ${E.sp4};
23
+ color: ${B=>B.theme.colors.hero};
24
+ display: flex;
25
+ align-items: center;
26
+ justify-content: center;
27
+ &:hover {
28
+ color: ${B=>B.theme.colors.primary};
29
+ }
30
+ `,p=Q.div`
31
+ background-color: ${B=>B.theme.colors.grey5};
32
+ border-radius: ${E.sp2};
33
+ width: 100%;
34
+ box-shadow: ${B=>B.theme.colors.elevation1};
35
+ border-color: ${B=>B.theme.colors.grey3};
36
+ `,iA=Q.div`
37
+ padding: ${E.sp3} ${E.sp6};
38
+ background-color: ${B=>B.theme.colors.background};
39
+ display: flex;
40
+ column-gap: ${E.sp3};
41
+ width: 100%;
42
+ align-items: center;
43
+ `,sA=Q.div``,lA=Q.div`
44
+ display: flex;
45
+ align-items: center;
46
+ justify-content: flex-start;
47
+ column-gap: ${E.sp2};
48
+ `,nA=Q(QA)`
49
+ width: ${E.sp3};
50
+ height: ${E.sp3};
51
+ color: ${B=>B.theme.colors.success};
52
+ `;export{wA as default};
@@ -1 +1 @@
1
- import{d4 as m,ac as l,j as a,ak as f,o as n}from"./index-CteHikkY.js";import{b as i}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.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{d4 as m,ab as l,j as a,aj as f,o as n}from"./index-P_4M6V8j.js";import{b as i}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const c="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",C=({showConfetti:t})=>{const[e,p]=i.useState(t),[o,s]=m(c),[r]=l("ConfettiSuccess");return i.useEffect(()=>{t&&p(!0)},[t]),i.useEffect(()=>{e&&o===!1&&s(!0)},[e,o,s]),a.jsx(a.Fragment,{children:e&&o&&r!=null?a.jsx(f,{style:{position:"absolute",width:"100%",height:"100vh",top:n.sp0,left:n.sp0,zIndex:5},onComplete:()=>{s(!1),p(!1)},animationData:r,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{C as default};
@@ -1,4 +1,4 @@
1
- import{u as Ye,e as w,B as h,M as U,cb as _e,j as t,aW as qe,Z as b,p as Xe,bU as ae,bW as ie,bX as se,cz as Ge,a4 as Qe,C as W,bw as Ze,o,cA as Je,bA as k,bN as le,s as f,am as de,c as ce,k as X,aP as Ke,cw as pe,g as L,cB as me,ct as ue}from"./index-CteHikkY.js";import{b as x,n as r}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const et=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:a,bankName:s,routingNumberOrSwiftCode:d,accountName:u,routingNumberOrSwiftCodeLabel:m,onDeleteClick:v})=>{const j=w(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(H,{children:[t.jsx(Y,{children:m}),t.jsx(_,{children:d})]}),t.jsxs(H,{children:[t.jsx(Y,{children:p.achDetails.bankName}),t.jsx(_,{children:s})]}),t.jsxs(H,{children:[t.jsx(Y,{children:a}),t.jsx(_,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(X,{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,e as w,M as h,K as U,cb as _e,j as t,aW as Ye,_ as b,m as Je,bU as ae,bW as ie,bX as se,cz as Qe,a3 as Xe,C as W,bw as Ge,o,cA as Ke,bA as k,bN as le,q as f,al as de,i as ce,n as J,aO as Ze,cw as pe,g as L,cB as me,ct as ue}from"./index-P_4M6V8j.js";import{b as x,n as r}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.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(_,{children:d})]}),t.jsxs(H,{children:[t.jsx(q,{children:p.achDetails.bankName}),t.jsx(_,{children:s})]}),t.jsxs(H,{children:[t.jsx(q,{children:a}),t.jsx(_,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(J,{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};
@@ -6,7 +6,7 @@ import{u as Ye,e as w,B as h,M as U,cb as _e,j as t,aW as qe,Z as b,p as Xe,bU a
6
6
  display: flex;
7
7
  justify-content: space-between;
8
8
  width: 100%;
9
- `,Y=r.div`
9
+ `,q=r.div`
10
10
  box-sizing: border-box;
11
11
  text-align: left;
12
12
  flex: 1 0 50%;
@@ -70,7 +70,7 @@ import{u as Ye,e as w,B as h,M as U,cb as _e,j as t,aW as qe,Z as b,p as Xe,bU a
70
70
  &:hover {
71
71
  color: ${L.important};
72
72
  }
73
- `,ct=({paymentInstrument:e,onDeleteClick:a})=>{const s=w(),d=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,u=t.jsx(pt,{children:e.piLabels.map(m=>t.jsxs(mt,{children:[t.jsxs(ut,{children:[m.name,d.colon]}),t.jsx(ht,{children:m.value})]},m.name))});return t.jsxs($t,{size:s,children:[t.jsx(xt,{children:t.jsxs(X,{children:[e.displayText,t.jsx(k,{title:u,placement:"top",children:t.jsx(yt,{children:t.jsx(ft,{})})})]})}),t.jsx(gt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:d.deleteAccountTooltip,placement:"top",children:t.jsx(bt,{onClick:m=>{m.stopPropagation(),a()},"data-testid":b("delete-vendor-international-account-section",e.paymentInstrumentId),children:t.jsx(wt,{})})})})]})},pt=r.div`
73
+ `,ct=({paymentInstrument:e,onDeleteClick:a})=>{const s=w(),d=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,u=t.jsx(pt,{children:e.piLabels.map(m=>t.jsxs(mt,{children:[t.jsxs(ut,{children:[m.name,d.colon]}),t.jsx(ht,{children:m.value})]},m.name))});return t.jsxs($t,{size:s,children:[t.jsx(xt,{children:t.jsxs(J,{children:[e.displayText,t.jsx(k,{title:u,placement:"top",children:t.jsx(yt,{children:t.jsx(ft,{})})})]})}),t.jsx(gt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:d.deleteAccountTooltip,placement:"top",children:t.jsx(bt,{onClick:m=>{m.stopPropagation(),a()},"data-testid":b("delete-vendor-international-account-section",e.paymentInstrumentId),children:t.jsx(wt,{})})})})]})},pt=r.div`
74
74
  display: flex;
75
75
  flex-wrap: wrap;
76
76
  gap: ${o.sp1};
@@ -140,7 +140,7 @@ import{u as Ye,e as w,B as h,M as U,cb as _e,j as t,aW as qe,Z as b,p as Xe,bU a
140
140
  &:hover {
141
141
  color: ${L.important};
142
142
  }
143
- `,he=(e,a)=>{const s=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;switch(e){case"ach":return s.achDetails.ach;case"wire":switch(a){case"us-domestic":return s.wireDetails.domestic.domestic;case"international":return s.wireDetails.international.international;default:return""}default:return""}},q=({type:e,subType:a,vendorAccountDetails:s,vendorAccountDetailsInternational:d,onRemoveBankAccount:u,onAddNewAccountDetailClick:m})=>{const v=w(),[j,p]=x.useState(!1),[g,y]=x.useState(""),[N,I]=x.useState(!1),c=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,S=i=>{y(i),p(!0)},P={onOkClick:()=>{p(!1),u(g,N)},onCancelClick:()=>{p(!1),y("")}},T=i=>e==="ach"||e==="wire"&&a==="us-domestic"?i.bankAccountNumber:e==="wire"&&a==="international"?i.bankAccountIban??"":"",z=i=>e==="ach"?i.bankRoutingNumberAch:e==="wire"&&a==="us-domestic"?i.bankRoutingNumberWireTransfer:e==="wire"&&a==="international"?i.bankSwiftCode??"":"",B=()=>e==="ach"?c.achDetails.bankRoutingNumber:e==="wire"&&a==="us-domestic"?c.wireDetails.bankRoutingNumber:e==="wire"&&a==="international"?c.wireDetails.international.swiftCode:"",V=()=>e==="ach"?c.achDetails.bankAccountNumber:e==="wire"&&a==="us-domestic"?c.wireDetails.accountNumber:e==="wire"&&a==="international"?c.wireDetails.international.iban:"";return t.jsxs(St,{children:[j===!0?t.jsx(ae,{titleComponent:t.jsx(se,{children:c.areYOuSure}),descriptionComponent:t.jsx(ie,{children:c.ifYouSubmit}),primaryButtonText:c.delete,secondaryButtonText:c.cancel,action:P,isEditPopup:!0,proceedButtonVariant:"danger"}):null,t.jsx(kt,{windowSize:v,children:`${he(e,a)} ${c.accountsLabel}`}),s?.map(i=>t.jsx(te,{children:t.jsx(et,{bankName:i.bankName,bankAccountNumberOrIban:T(i),routingNumberOrSwiftCode:z(i),routingNumberOrSwiftCodeLabel:B(),accountNumberOrIbanLabel:V(),accountName:i.bankAccountName,onDeleteClick:()=>S(i.bankAccountId)})},i.bankAccountId)),d?.map(i=>t.jsx(te,{children:t.jsx(ct,{paymentInstrument:i,onDeleteClick:()=>{I(!0),S(i.paymentInstrumentId)}})},i.paymentInstrumentId)),t.jsx(vt,{onAddAccountDetailsSection:m,type:e,subType:a})]})},vt=({onAddAccountDetailsSection:e,type:a,subType:s})=>{const d=w(),u=h.getLocalizedStrings().spendManagement.billPay;return t.jsx(t.Fragment,{children:t.jsxs(Ct,{windowSize:d,onClick:e,"data-testid":b("add-vendor-account",a),children:[t.jsx(jt,{}),t.jsx(le,{children:`${u.vendorCreation.addPrefix} ${he(a,s)}`})]})})},jt=r(pe)`
143
+ `,he=(e,a)=>{const s=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;switch(e){case"ach":return s.achDetails.ach;case"wire":switch(a){case"us-domestic":return s.wireDetails.domestic.domestic;case"international":return s.wireDetails.international.international;default:return""}default:return""}},Y=({type:e,subType:a,vendorAccountDetails:s,vendorAccountDetailsInternational:d,onRemoveBankAccount:u,onAddNewAccountDetailClick:m})=>{const v=w(),[j,p]=x.useState(!1),[g,y]=x.useState(""),[N,I]=x.useState(!1),c=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,S=i=>{y(i),p(!0)},P={onOkClick:()=>{p(!1),u(g,N)},onCancelClick:()=>{p(!1),y("")}},T=i=>e==="ach"||e==="wire"&&a==="us-domestic"?i.bankAccountNumber:e==="wire"&&a==="international"?i.bankAccountIban??"":"",z=i=>e==="ach"?i.bankRoutingNumberAch:e==="wire"&&a==="us-domestic"?i.bankRoutingNumberWireTransfer:e==="wire"&&a==="international"?i.bankSwiftCode??"":"",B=()=>e==="ach"?c.achDetails.bankRoutingNumber:e==="wire"&&a==="us-domestic"?c.wireDetails.bankRoutingNumber:e==="wire"&&a==="international"?c.wireDetails.international.swiftCode:"",V=()=>e==="ach"?c.achDetails.bankAccountNumber:e==="wire"&&a==="us-domestic"?c.wireDetails.accountNumber:e==="wire"&&a==="international"?c.wireDetails.international.iban:"";return t.jsxs(St,{children:[j===!0?t.jsx(ae,{titleComponent:t.jsx(se,{children:c.areYOuSure}),descriptionComponent:t.jsx(ie,{children:c.ifYouSubmit}),primaryButtonText:c.delete,secondaryButtonText:c.cancel,action:P,isEditPopup:!0,proceedButtonVariant:"danger"}):null,t.jsx(kt,{windowSize:v,children:`${he(e,a)} ${c.accountsLabel}`}),s?.map(i=>t.jsx(te,{children:t.jsx(et,{bankName:i.bankName,bankAccountNumberOrIban:T(i),routingNumberOrSwiftCode:z(i),routingNumberOrSwiftCodeLabel:B(),accountNumberOrIbanLabel:V(),accountName:i.bankAccountName,onDeleteClick:()=>S(i.bankAccountId)})},i.bankAccountId)),d?.map(i=>t.jsx(te,{children:t.jsx(ct,{paymentInstrument:i,onDeleteClick:()=>{I(!0),S(i.paymentInstrumentId)}})},i.paymentInstrumentId)),t.jsx(vt,{onAddAccountDetailsSection:m,type:e,subType:a})]})},vt=({onAddAccountDetailsSection:e,type:a,subType:s})=>{const d=w(),u=h.getLocalizedStrings().spendManagement.billPay;return t.jsx(t.Fragment,{children:t.jsxs(Ct,{windowSize:d,onClick:e,"data-testid":b("add-vendor-account",a),children:[t.jsx(jt,{}),t.jsx(le,{children:`${u.vendorCreation.addPrefix} ${he(a,s)}`})]})})},jt=r(pe)`
144
144
  margin-right: ${o.sp2};
145
145
  width: ${o.sp3};
146
146
  height: ${o.sp3};
@@ -175,7 +175,7 @@ import{u as Ye,e as w,B as h,M as U,cb as _e,j as t,aW as qe,Z as b,p as Xe,bU a
175
175
  svg {
176
176
  display: none;
177
177
  }
178
- `,Nt=r(Ke)`
178
+ `,Nt=r(Ze)`
179
179
  width: ${o.sp3};
180
180
  height: ${o.sp3};
181
181
  cursor: pointer;
@@ -203,7 +203,7 @@ import{u as Ye,e as w,B as h,M as U,cb as _e,j as t,aW as qe,Z as b,p as Xe,bU a
203
203
  color: ${e=>e.theme.colors.primary};
204
204
  border: 1px solid ${e=>e.theme.colors.primary};
205
205
  }
206
- `,Tt=r(X)`
206
+ `,Tt=r(J)`
207
207
  margin-top: ${o.sp2};
208
208
  padding: ${o.sp3} ${o.sp4};
209
209
  background-color: ${e=>e.theme.colors.grey5};
@@ -253,7 +253,7 @@ import{u as Ye,e as w,B as h,M as U,cb as _e,j as t,aW as qe,Z as b,p as Xe,bU a
253
253
  padding-left: ${e=>`${A.containerPaddingLeft.valuePx(e.windowSize)}`};
254
254
  padding-right: ${e=>`${A.containerPaddingRight.valuePx(e.windowSize)}`};
255
255
  overflow: auto;
256
- `,Et=r.div`
256
+ `,Ot=r.div`
257
257
  display: flex;
258
258
  flex: 1 1 auto;
259
259
  height: 100vh;
@@ -262,11 +262,11 @@ import{u as Ye,e as w,B as h,M as U,cb as _e,j as t,aW as qe,Z as b,p as Xe,bU a
262
262
  justify-content: center;
263
263
  align-items: center;
264
264
  box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
265
- `,Ot=r(Je)`
265
+ `,Et=r(Ke)`
266
266
  color: ${e=>e.theme.colors.primary};
267
267
  margin-bottom: ${o.sp3};
268
268
  margin-top: ${o.sp3};
269
- `,Mt=r(Ze)`
269
+ `,Mt=r(Ge)`
270
270
  cursor: pointer;
271
271
  color: ${e=>e.theme.colors.hero};
272
272
  width: 20px;
@@ -278,4 +278,4 @@ import{u as Ye,e as w,B as h,M as U,cb as _e,j as t,aW as qe,Z as b,p as Xe,bU 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,Kt=({vendorViewDetails:e,vendorId:a,screenType:s,analytics:d,filesEndPoint:u,authParams:m,vendorSearchAutoCompleteData:v,vendorSearchAutoCompleteActions:j,isLocalCurrencyEnabled:p,onBackClick:g,onVendorSelected:y,navigateToBankDetailPage:N,updateSelectedVendorForCreate:I,onRemoveBankAccount:c,updateSaveFetchState:S,onSaveVendor:P,navigateToMailingAddressPage:T,saveVendorDetailLocalData:z,resetVendorDetailLocalData:B,saveContactsInVendorDetailLocalData:V,updateFilesEntity:i,onEditFileName:xe,onFetchAndUpdateVendorRecommendations:ge})=>{const{accountList:{accounts:$e},classList:{classes:be},vendorTypeList:ye,ownerList:fe,editVendorState:G,newVendorState:Q,fetchState:we,hasWireTransfer:Z,hasInternationalWireTransfer:R,deleteFileStatusById:ve,updateFileStatusById:je,accountsHierarchyList:Ce,classHierarchyList:ke}=e,D=a!=null?G?.vendorDetailLocalData:Q?.vendorDetailLocalData,l=Object.assign({},G??Q),Se=Ye(),C=w(),[De,F]=x.useState(!1),[Ae,E]=x.useState(!1),J=s==="create"?$.newVendorTitle:$.editVendor,Le=(l.bankAccountsUpdated??[]).map(n=>n.bankAccountId).sort(),Ne=(l.vendorBasic?.bankAccounts??[]).map(n=>n.bankAccountId).sort(),Ie=!U(Le,Ne),Pe=(l.paymentInstrumentsUpdated??[]).map(n=>n.paymentInstrumentId).sort(),Te=(l.vendorBasic?.paymentInstruments??[]).map(n=>n.paymentInstrumentId).sort(),ze=!U(Pe,Te),Be=(D?.contacts??[]).filter(n=>n.email!==""||n.fullName!==""||n.phone!=="").map(n=>_e(n,"contactInfoType")),Ve=l.vendorBasic?.contacts??[],Re=!U(Be,Ve),Fe=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberAch),Ee=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberWireTransfer),Oe=l.paymentInstrumentsUpdated.filter(n=>!!n.piNumber),K=()=>{E(!0)},Me=n=>{F(n)},Ue={onOkClick:()=>{E(!1),F(!1),B?.(),g()},onCancelClick:()=>{E(!1),F(!1)}},O=x.useRef(null),We=n=>{O.current?.syncFormData(),T(n)},M=(n,He)=>{O.current?.syncFormData(),N(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(qe,{"data-testid":b("vendor-detail-container-nav-bar"),title:J,backgroundColor:Se.colors.grey4,leftSideComponent:t.jsx(Mt,{onClick:K,"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(Et,{children:t.jsx(Xe,{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(Ot,{children:J}):null,t.jsx(Ge,{ref:O,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:Ie,isContactListChanged:Re,isPaymentInstrumentChanged:ze,analytics:d,pageBackBtnClicked:Ae,onBackClick:g,onSaveVendor:P,saveContactsInVendorDetailLocalData:V,updateSelectedVendorForCreate:I,saveVendorDetailLocalData:z,updateFilesEntity:i,toggleConfirmationPopup:Me,filesEndPoint:u,authParams:m,onEditFileName:xe,deleteFileStatusById:ve,updateFileStatusById:je,onFetchAndUpdateVendorRecommendations:ge,isLocalCurrencyEnabled:p}),Z||R?t.jsx(Dt,{addressState:l.vendorNewAddressStatus?.addressToCreate,onUpdateMailingAddress:We}):null,l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode?t.jsx(q,{type:"ach",vendorAccountDetails:Fe,onAddNewAccountDetailClick:()=>M("ach","standard"),onRemoveBankAccount:c}):null,Z&&(l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode)?t.jsx(q,{type:"wire",subType:"us-domestic",vendorAccountDetails:Ee,onAddNewAccountDetailClick:()=>M("wire","us-domestic"),onRemoveBankAccount:c}):null,R&&(D?.countryCode!=null&&D.countryCode!=="US"||p)?t.jsx(q,{type:"wire",subType:"international",vendorAccountDetailsInternational:Oe,isLocalCurrencyEnabled:p,onAddNewAccountDetailClick:()=>M("wire","international"),onRemoveBankAccount:c}):null]}),t.jsx(Ut,{})]}),t.jsx(Qe,{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:K}})]})};export{Kt 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:N,updateSelectedVendorForCreate:I,onRemoveBankAccount:c,updateSaveFetchState:S,onSaveVendor:P,navigateToMailingAddressPage:T,saveVendorDetailLocalData:z,resetVendorDetailLocalData:B,saveContactsInVendorDetailLocalData:V,updateFilesEntity:i,onEditFileName:xe,onFetchAndUpdateVendorRecommendations:ge})=>{const{accountList:{accounts:$e},classList:{classes:be},vendorTypeList:ye,ownerList:fe,editVendorState:Q,newVendorState:X,fetchState:we,hasWireTransfer:G,hasInternationalWireTransfer:R,deleteFileStatusById:ve,updateFileStatusById:je,accountsHierarchyList:Ce,classHierarchyList:ke}=e,D=a!=null?Q?.vendorDetailLocalData:X?.vendorDetailLocalData,l=Object.assign({},Q??X),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(),Ne=(l.vendorBasic?.bankAccounts??[]).map(n=>n.bankAccountId).sort(),Ie=!U(Le,Ne),Pe=(l.paymentInstrumentsUpdated??[]).map(n=>n.paymentInstrumentId).sort(),Te=(l.vendorBasic?.paymentInstruments??[]).map(n=>n.paymentInstrumentId).sort(),ze=!U(Pe,Te),Be=(D?.contacts??[]).filter(n=>n.email!==""||n.fullName!==""||n.phone!=="").map(n=>_e(n,"contactInfoType")),Ve=l.vendorBasic?.contacts??[],Re=!U(Be,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),B?.(),g()},onCancelClick:()=>{O(!1),F(!1)}},E=x.useRef(null),We=n=>{E.current?.syncFormData(),T(n)},M=(n,He)=>{E.current?.syncFormData(),N(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(Ye,{"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(Je,{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(Qe,{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:Ie,isContactListChanged:Re,isPaymentInstrumentChanged:ze,analytics:d,pageBackBtnClicked:Ae,onBackClick:g,onSaveVendor:P,saveContactsInVendorDetailLocalData:V,updateSelectedVendorForCreate:I,saveVendorDetailLocalData:z,updateFilesEntity:i,toggleConfirmationPopup:Me,filesEndPoint:u,authParams:m,onEditFileName:xe,deleteFileStatusById:ve,updateFileStatusById:je,onFetchAndUpdateVendorRecommendations:ge,isLocalCurrencyEnabled:p}),G||R?t.jsx(Dt,{addressState:l.vendorNewAddressStatus?.addressToCreate,onUpdateMailingAddress:We}):null,l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode?t.jsx(Y,{type:"ach",vendorAccountDetails:Fe,onAddNewAccountDetailClick:()=>M("ach","standard"),onRemoveBankAccount:c}):null,G&&(l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode)?t.jsx(Y,{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(Y,{type:"wire",subType:"international",vendorAccountDetailsInternational:Ee,isLocalCurrencyEnabled:p,onAddNewAccountDetailClick:()=>M("wire","international"),onRemoveBankAccount:c}):null]}),t.jsx(Ut,{})]}),t.jsx(Xe,{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,e as me,d5 as pe,Z as te,gV as Je,B as W,a0 as Te,K as He,p as et,a4 as Pe,o as t,C as d,a3 as je,T as tt,z as at,u as ze,bA as nt,cU as Ee,b as V,g as G,fU as Ce,$ as ot,l as T,Y as Me,c6 as it,a2 as be,a as rt,f2 as lt,c9 as ct,F as st,cF as dt,fg as mt,ce as pt,h7 as xe,h8 as ut,fH as ht,s as r,bw as gt,bu as Be,d0 as yt,bN as ft,k as Oe,gW as Ct,f9 as bt,a7 as xt,h9 as St,cw as wt,gY as Dt,fm as $t}from"./index-CteHikkY.js";import{n as o,b as p}from"./vendor-rkTZJa59.js";import{x as kt}from"./LabeledControlledCheckBoxField-DLlz4JyR-CMz1DNyM.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const ae={largeLabelWidth:new d(120,120,160),navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(r[3],r[6],r[8]),containerPaddingRight:new d(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new d(r[5],r[8])},de={pageTitle:new V("h6Regular","h5Regular"),integerAmountInput:new V("h5Regular","h2Regular"),decimalAmountInput:new V("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:At}},common:{edit:Lt,labels:Se,currency:we,navBar:{back:vt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=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:D})=>{const m=me(),P=ze(),j=pe().analytics,[M,v]=p.useState(!1);p.useEffect(()=>{e.error!=null?v(!0):v(!1)},[e.error]);const k=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Zt,{windowSize:m,children:a.jsx(nt,{title:vt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Kt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)}})})}),a.jsx(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(Yt,{}),a.jsxs(Et,{children:[a.jsx(Mt,{children:e.error?.title}),a.jsx(Bt,{children:e.error?.message})]})]}),a.jsx(Ut,{children:a.jsx(Vt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{v(!1)},style:{width:t.sp3,height:t.sp3,color:G.heroLight}})})]})}):null,a.jsx(Gt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:k},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Wt,{}),a.jsx(Ce,{label:{label:Se.amount,width:k},showAdditionalInfoLabel:!0,additionalInfoLabel:`${D?ee.creditLimitReset:ee.creditLimitUpdate} ${T.zeniDate(T.getNextNthWorkingDay(T.dateNow().toDate(),[0,6],3).toDateString()).format(At)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:P.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Te("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:Lt,onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Ht,{isOptionSelected:h,children:a.jsx(ea,{color:Ct(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(Xt,{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?`${bt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Tt=o(Be)`
1
+ import{j as a,e as me,d5 as pe,_ as te,gU as He,M as Y,$ as Te,J as Qe,m as et,a3 as Pe,o as t,C as d,a2 as je,L as tt,f as at,u as ze,bA as nt,cU as Ee,X as V,g as J,fW as Ce,v as ot,l as T,s as Me,c6 as it,a1 as be,a as rt,f1 as lt,c9 as ct,F as st,cF as dt,fa as mt,ce as pt,fJ as ut,q as r,bw as ht,bu as Be,d0 as gt,bN as yt,n as Oe,fd as ft,f5 as Ct,a6 as bt,fe as xt,cw as St,ff as wt,fo as Dt}from"./index-P_4M6V8j.js";import{n as o,b as p}from"./vendor-rkTZJa59.js";import{x as $t}from"./LabeledControlledCheckBoxField-TB_2rc3R-DL54XhuW.js";import{S as kt}from"./ChargeCardUtils-DQztOSYJ-DZxY6wV1.js";import{Z as xe}from"./CreditCardPaymentPlgSection-Cz-CSdKg-DO4yi827.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const ae={largeLabelWidth:new d(120,120,160),navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(r[3],r[6],r[8]),containerPaddingRight:new d(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new d(r[5],r[8])},de={pageTitle:new V("h6Regular","h5Regular"),integerAmountInput:new V("h5Regular","h2Regular"),decimalAmountInput:new V("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:At}},common:{edit:Lt,labels:Se,currency:we,navBar:{back:vt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=Y.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:L,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:D})=>{const m=me(),P=ze(),j=pe().analytics,[M,v]=p.useState(!1);p.useEffect(()=>{e.error!=null?v(!0):v(!1)},[e.error]);const k=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(qt,{windowSize:m,children:a.jsx(nt,{title:vt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Xt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)}})})}),a.jsx(Gt,{windowSize:m,children:It.reviewAndConfirm}),a.jsx(Tt,{children:a.jsx(Ee,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),M?a.jsx(Ot,{children:a.jsxs(zt,{children:[a.jsxs(Nt,{children:[a.jsx(Wt,{}),a.jsxs(Et,{children:[a.jsx(Mt,{children:e.error?.title}),a.jsx(Bt,{children:e.error?.message})]})]}),a.jsx(Ut,{children:a.jsx(Vt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{v(!1)},style:{width:t.sp3,height:t.sp3,color:J.heroLight}})})]})}):null,a.jsx(Jt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:k},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Yt,{}),a.jsx(Ce,{label:{label:Se.amount,width:k},showAdditionalInfoLabel:!0,additionalInfoLabel:`${D?ee.creditLimitReset:ee.creditLimitUpdate} ${T.zeniDate(T.getNextNthWorkingDay(T.dateNow().toDate(),[0,6],3).toDateString()).format(At)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:P.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Te("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:Lt,onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Qt,{isOptionSelected:h,children:a.jsx(ea,{color:ft(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(Zt,{src:Rt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Kt,{isOptionSelected:h,children:a.jsx(Ht,{})})}return null},Rt=e=>e.base64!==void 0?`${Ct}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Tt=o(Be)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  padding-top: ${t.sp3};
4
4
  `,Pt=o.div`
@@ -20,16 +20,16 @@ import{j as a,e as me,d5 as pe,Z as te,gV as Je,B as W,a0 as Te,K as He,p as et,
20
20
  width: 100%;
21
21
  justify-content: space-between;
22
22
  padding: ${t.sp3} ${t.sp4};
23
- background-color: ${G.importantLight};
23
+ background-color: ${J.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
- `,Mt=o(ft)`
30
- color: ${G.important};
29
+ `,Mt=o(yt)`
30
+ color: ${J.important};
31
31
  `,Bt=o(Oe)`
32
- color: ${G.important};
32
+ color: ${J.important};
33
33
  `,Ot=o.div`
34
34
  margin-top: ${t.sp3};
35
35
  display: flex;
@@ -47,10 +47,10 @@ import{j as a,e as me,d5 as pe,Z as te,gV as Je,B as W,a0 as Te,K as He,p as et,
47
47
  `,Nt=o.div`
48
48
  display: flex;
49
49
  align-items: flex-start;
50
- `,Ut=o.div``,Yt=o(yt)`
50
+ `,Ut=o.div``,Wt=o(gt)`
51
51
  width: ${t.sp4};
52
52
  height: ${t.sp4};
53
- color: ${G.important};
53
+ color: ${J.important};
54
54
  `,Vt=o(je)`
55
55
  cursor: pointer;
56
56
  color: ${e=>e.theme.colors.hero};
@@ -60,18 +60,18 @@ import{j as a,e as me,d5 as pe,Z as te,gV as Je,B as W,a0 as Te,K as He,p as et,
60
60
  &:hover {
61
61
  color: ${e=>e.theme.colors.primary};
62
62
  }
63
- `,Wt=o.div`
63
+ `,Yt=o.div`
64
64
  display: flex;
65
65
  flex: 1;
66
66
  background-color: ${e=>e.theme.colors.grey3};
67
67
  min-height: 1px;
68
68
  max-height: 1px;
69
- `,Gt=o.div`
69
+ `,Jt=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
- `,Kt=o(gt)`
74
+ `,Xt=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,e as me,d5 as pe,Z as te,gV as Je,B as W,a0 as Te,K as He,p as et,
80
80
  &:hover {
81
81
  color: ${e=>e.theme.colors.primary};
82
82
  }
83
- `,Zt=o.div`
83
+ `,qt=o.div`
84
84
  display: flex;
85
85
  flex-direction: row;
86
86
  justify-content: flex-start;
@@ -90,46 +90,46 @@ import{j as a,e as me,d5 as pe,Z as te,gV as Je,B as W,a0 as Te,K as He,p as et,
90
90
  padding: ${e=>`${ae.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
91
91
  z-index: 2;
92
92
  background-color: ${e=>e.theme.colors.grey4};
93
- `,Qt=o(Me)`
93
+ `,Gt=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
- `,Xt=o.img`
97
+ `,Zt=o.img`
98
98
  display: flex;
99
99
  width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
100
100
  height: ${e=>e.isOptionSelected?t.sp4:t.sp5};
101
101
  min-width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
102
102
  margin-right: ${t.sp2};
103
- `,qt=o.div`
103
+ `,Kt=o.div`
104
104
  min-width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
105
105
  width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
106
106
  height: ${e=>e.isOptionSelected?t.sp4:t.sp5};
107
- `,Jt=o($t)`
107
+ `,Ht=o(Dt)`
108
108
  min-width: inherit;
109
109
  width: inherit;
110
110
  height: inherit;
111
111
  margin-right: ${t.sp2};
112
- `,Ht=o.div`
112
+ `,Qt=o.div`
113
113
  min-width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
114
114
  width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
115
115
  height: ${e=>e.isOptionSelected?t.sp4:t.sp5};
116
116
  margin-right: ${t.sp2};
117
- `,ea=o(Dt)`
117
+ `,ea=o(wt)`
118
118
  min-width: inherit;
119
119
  width: inherit;
120
120
  height: inherit;
121
121
  margin-right: ${t.sp2};
122
- `,ta=o(wt)`
122
+ `,ta=o(St)`
123
123
  min-width: ${t.sp4};
124
124
  width: ${t.sp4};
125
125
  height: ${t.sp4};
126
126
  margin-right: 12px;
127
127
  margin-left: ${t.sp1};
128
128
  color: ${e=>e.theme.colors.hero};
129
- `,{common:se,spendManagement:{zeniAccounts:{zeniAccountList:aa},billPay:{insufficientFunds:na},chargeCard:{payEarly:U}},commonSetUp:{setUp:{accountsPlg:ie}}}=W.getLocalizedStrings(),Ne="amount",oa="withdrawFrom",B="paymentDetails",Ue="creditCardPaymentPage",re=(e,i)=>`${e}.${i}`,Ye=e=>`${e}_form`,S={largeLabelWidth:new d(120,120,160),labelMarginLeftPicker:new d(r[3],r[4]),labelMarginRightPicker:new d(r[3],r[4]),labelMarginTopPicker:new d(r[2],r[2]),labeledFieldPaddingLeft:new d(r[2],r[0]),labeledFieldPaddingRight:new d(r[2],r[2]),labeledFieldPaddingTop:new d(r[2],r[2]),labeledFieldPaddingBottom:new d(r[2],r[2]),infoLabelPaddingRight:new d(r[0],r[3]),infoLabelMarginTop:new d(r[1],r[0]),checkBoxTop:new d(r[1],r[0])},$e={integerAmountInput:new V("h5Regular","h2Regular"),decimalAmountInput:new V("largeSemiBold","h5Medium")};function ia({autoPayThreshold:e,plaidConnectionDetails:i,maxInsuredAmount:h,paymentDetails:n,lowBalanceAdditionalInfo:g,paymentAccount:c,isAccountsEnabled:f,onSaveChangesToLocalStore:L,onUpdatePaymentAccountStatus:y,onEstablishConnectionClick:b,onEstablishConnectionSuccess:x,onFetchLinkTokenClick:C,setShowReviewLoading:D,onSignUpAccountClick:m,onMoveMoneyClick:P,isCashbackInfoFetchStateCompleted:j,isCreditCardInfoFetchStateCompleted:M,isDebitCardInfoFetchStateCompleted:v,controllerEmails:k,productInformation:K,cashbackInformation:Z,paymentSourceInformation:Q,creditAccountInformation:X,debitAccountInformation:q}){const s=me(),le=ze(),w=S.largeLabelWidth.value(s),J=pe().analytics,H=p.useRef(null),[z,E]=p.useState(!1),[I,O]=p.useState(void 0),A=i.link_account,oe=i.update_account,$=I==="update_account"?oe:A,[_,ue]=p.useState($.linkToken??null),he=be(A.updateStatus.fetchState),N=rt({mode:"all",reValidateMode:"onBlur",defaultValues:p.useMemo(()=>ke(n),[n]),values:p.useMemo(()=>ke(n),[n])}),ge=c?.isLoginRequired??!1,F=c?.providerVerificationStatus?.code,ye=be(oe.updateStatus.fetchState),Ve=p.useCallback((l,u)=>{const R=u.accounts.find(qe=>qe.id===c?.providerAccountId)??u.accounts[0];c?.paymentAccountId!=null&&I==="update_account"&&R?.verification_status!=null&&!ge?y(R?.verification_status,c.paymentAccountId,"update_account"):b?.(l,I),O(void 0),E(!1)},[c?.paymentAccountId,c?.providerAccountId,I,ge,y,b]),We=p.useCallback((l,u)=>{l!=null&&(l.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&c?.paymentAccountId!=null&&y("verification_failed",c.paymentAccountId,"update_account"),console.log("Plaid Connection Error",l,u)),O(void 0),E(!1)},[c?.paymentAccountId,y]),{open:ce,ready:fe}=lt({token:_,onSuccess:Ve,onExit:We});p.useEffect(()=>{(he==="In-Progress"&&A.updateStatus.fetchState==="Completed"||ye==="In-Progress"&&oe.updateStatus.fetchState==="Completed")&&(T.isVerifiedPaymentAccountProviderStatusCode(F??"")||(C?.("link_account"),x()))},[A.updateStatus.fetchState,x,C,he,ye,oe.updateStatus.fetchState,F]),p.useEffect(()=>{(T.isVerifiedStatusCode(F??"")||F==="verification_failed")&&!z&&I!=null&&$.linkToken===_&&$.fetchStatus.fetchState==="Completed"&&fe&&E(!0)},[fe,_,$.fetchStatus.fetchState,$.linkToken,F,I,z]),p.useEffect(()=>{$.fetchStatus.fetchState==="Completed"&&$.linkToken!=null&&$.linkToken!==_&&ue($.linkToken)},[$.fetchStatus.fetchState,$.linkToken,_]),p.useEffect(()=>{z&&ce()},[z,ce]),p.useEffect(()=>{(F==null||F==="verification_failed"||F==="verification_expired"||T.isVerifiedStatusCode(F))&&(T.zeniDate(new Date().toISOString()).isAfter(A.expiration)||A.linkToken==null)&&C?.("link_account")},[]);const{isValid:Ge}=N.formState,Ke=async(l,u)=>{if(l!=null){if(l.includes("amount"))return;const R=Ae(u,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(R)}},Ze=l=>{if(g!=null)return g;const u=n.transferFromAccounts.find(R=>R.id===l);return u?.accountBalance?.available!=null&&T.checkIfLowBalance(n.chargeCardRepaymentDetailLocalData.amount,u?.accountBalance?.available)?na.addMoney:""};p.useEffect(()=>{const l=N.watch((u,{name:R})=>{R!=null&&u!=null&&ct(()=>Ke(R,u))});return()=>{l.unsubscribe()}});const Qe=N.watch("paymentDetails.amount"),Xe=N.handleSubmit(()=>{if(Ge){const l=N.getValues(),u=Ae(l,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(u),D(!0),j&&M&&v&&J.trackCardsPayEarlyFormClick(k,K,Z,"Review",n.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:n.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:n.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:n.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:n.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},Q,X,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:Ye(Ue),onSubmit:Xe,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:G.brandColorGoldDark},bottomComponent:a.jsx(kt,{label:{label:U.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{textAlign:s==="small"?"end":"center",color:le.colors.primary}},style:{width:"unset",marginRight:t.sp3,alignItems:s==="small"?"flex-start":"center"},checkBoxField:{name:re(B,"enableAutoPay"),checkBoxValue:re(B,"enableAutoPay"),defaultChecked:n.chargeCardRepaymentDetailLocalData.isAutoRepayment,style:{top:S.checkBoxTop.valuePx(s)}}}),singleSelectPickerField:{name:re(B,oa),placeholder:pt(se.labels.transferFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(l,u)=>_e(n.transferFromAccounts,l,u),valueToSubLabels:(l,u)=>mt(n.transferFromAccounts,l,u,!0),defaultValue:{selectedOption:n.chargeCardRepaymentDetailLocalData.transferFrom?.id,allOptions:n.transferFromAccounts.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="depositAccount"}))},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption},showCreateOption:!0,onClickCreateOption:()=>{O("link_account"),A.linkToken==null||T.zeniDate(new Date().toISOString()).isAfter(A.expiration)?C?.("link_account"):_!==A.linkToken?ue(A.linkToken):z?ce():E(!0)}},valueToAdditionalLabel:Ze}),n?.chargeCardRepaymentDetailLocalData.transferFrom==null||n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="paymentAccount"?a.jsx(xe,{maxInsuredAmount:h,heading:a.jsxs(ra,{windowSize:s,children:[U.earn,a.jsx(la,{children:U.percentageCashback.replace("__percentage__",ut)}),U.whenYouPayViaZeniChecking]}),buttonText:f?ie.switchButtonText:ie.signUpButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onSignUpClick:m,onSwitchClick:()=>{H.current!=null&&H.current.focus()}}):n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"&&n?.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available.amount<n.chargeCardRepaymentDetailLocalData.amount.amount?a.jsx(xe,{maxInsuredAmount:h,heading:ie.moveMoneyHeading,buttonText:ie.moveMoneyButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onMoveMoneyClick:P}):a.jsx(ca,{}),a.jsx(ht,{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(xt)`
129
+ `,{common:se,spendManagement:{zeniAccounts:{zeniAccountList:aa},billPay:{insufficientFunds:na},chargeCard:{payEarly:U}},commonSetUp:{setUp:{accountsPlg:ie}}}=Y.getLocalizedStrings(),Ne="amount",oa="withdrawFrom",B="paymentDetails",Ue="creditCardPaymentPage",re=(e,i)=>`${e}.${i}`,We=e=>`${e}_form`,S={largeLabelWidth:new d(120,120,160),labelMarginLeftPicker:new d(r[3],r[4]),labelMarginRightPicker:new d(r[3],r[4]),labelMarginTopPicker:new d(r[2],r[2]),labeledFieldPaddingLeft:new d(r[2],r[0]),labeledFieldPaddingRight:new d(r[2],r[2]),labeledFieldPaddingTop:new d(r[2],r[2]),labeledFieldPaddingBottom:new d(r[2],r[2]),infoLabelPaddingRight:new d(r[0],r[3]),infoLabelMarginTop:new d(r[1],r[0]),checkBoxTop:new d(r[1],r[0])},$e={integerAmountInput:new V("h5Regular","h2Regular"),decimalAmountInput:new V("largeSemiBold","h5Medium")};function ia({autoPayThreshold:e,plaidConnectionDetails:i,maxInsuredAmount:h,paymentDetails:n,lowBalanceAdditionalInfo:g,paymentAccount:c,isAccountsEnabled:f,onSaveChangesToLocalStore:L,onUpdatePaymentAccountStatus:y,onEstablishConnectionClick:b,onEstablishConnectionSuccess:x,onFetchLinkTokenClick:C,setShowReviewLoading:D,onSignUpAccountClick:m,onMoveMoneyClick:P,isCashbackInfoFetchStateCompleted:j,isCreditCardInfoFetchStateCompleted:M,isDebitCardInfoFetchStateCompleted:v,controllerEmails:k,productInformation:X,cashbackInformation:q,paymentSourceInformation:G,creditAccountInformation:Z,debitAccountInformation:K}){const s=me(),le=ze(),w=S.largeLabelWidth.value(s),H=pe().analytics,Q=p.useRef(null),[z,E]=p.useState(!1),[I,O]=p.useState(void 0),A=i.link_account,oe=i.update_account,$=I==="update_account"?oe:A,[_,ue]=p.useState($.linkToken??null),he=be(A.updateStatus.fetchState),N=rt({mode:"all",reValidateMode:"onBlur",defaultValues:p.useMemo(()=>ke(n),[n]),values:p.useMemo(()=>ke(n),[n])}),ge=c?.isLoginRequired??!1,F=c?.providerVerificationStatus?.code,ye=be(oe.updateStatus.fetchState),Ve=p.useCallback((l,u)=>{const R=u.accounts.find(Ke=>Ke.id===c?.providerAccountId)??u.accounts[0];c?.paymentAccountId!=null&&I==="update_account"&&R?.verification_status!=null&&!ge?y(R?.verification_status,c.paymentAccountId,"update_account"):b?.(l,I),O(void 0),E(!1)},[c?.paymentAccountId,c?.providerAccountId,I,ge,y,b]),Ye=p.useCallback((l,u)=>{l!=null&&(l.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&c?.paymentAccountId!=null&&y("verification_failed",c.paymentAccountId,"update_account"),console.log("Plaid Connection Error",l,u)),O(void 0),E(!1)},[c?.paymentAccountId,y]),{open:ce,ready:fe}=lt({token:_,onSuccess:Ve,onExit:Ye});p.useEffect(()=>{(he==="In-Progress"&&A.updateStatus.fetchState==="Completed"||ye==="In-Progress"&&oe.updateStatus.fetchState==="Completed")&&(T.isVerifiedPaymentAccountProviderStatusCode(F??"")||(C?.("link_account"),x()))},[A.updateStatus.fetchState,x,C,he,ye,oe.updateStatus.fetchState,F]),p.useEffect(()=>{(T.isVerifiedStatusCode(F??"")||F==="verification_failed")&&!z&&I!=null&&$.linkToken===_&&$.fetchStatus.fetchState==="Completed"&&fe&&E(!0)},[fe,_,$.fetchStatus.fetchState,$.linkToken,F,I,z]),p.useEffect(()=>{$.fetchStatus.fetchState==="Completed"&&$.linkToken!=null&&$.linkToken!==_&&ue($.linkToken)},[$.fetchStatus.fetchState,$.linkToken,_]),p.useEffect(()=>{z&&ce()},[z,ce]),p.useEffect(()=>{(F==null||F==="verification_failed"||F==="verification_expired"||T.isVerifiedStatusCode(F))&&(T.zeniDate(new Date().toISOString()).isAfter(A.expiration)||A.linkToken==null)&&C?.("link_account")},[]);const{isValid:Je}=N.formState,Xe=async(l,u)=>{if(l!=null){if(l.includes("amount"))return;const R=Ae(u,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(R)}},qe=l=>{if(g!=null)return g;const u=n.transferFromAccounts.find(R=>R.id===l);return u?.accountBalance?.available!=null&&T.checkIfLowBalance(n.chargeCardRepaymentDetailLocalData.amount,u?.accountBalance?.available)?na.addMoney:""};p.useEffect(()=>{const l=N.watch((u,{name:R})=>{R!=null&&u!=null&&ct(()=>Xe(R,u))});return()=>{l.unsubscribe()}});const Ge=N.watch("paymentDetails.amount"),Ze=N.handleSubmit(()=>{if(Je){const l=N.getValues(),u=Ae(l,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(u),D(!0),j&&M&&v&&H.trackCardsPayEarlyFormClick(k,X,q,"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},G,Z,K)}});return a.jsxs(a.Fragment,{children:[a.jsx(da,{children:a.jsx(Ee,{amount:{amount:Ge??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:Ze,children:a.jsxs(ma,{children:[a.jsx(dt,{selectRef:Q,label:{label:se.labels.transferFrom,width:w,style:{marginLeft:S.labelMarginLeftPicker.valuePx(s),marginTop:S.labelMarginTopPicker.valuePx(s),marginRight:S.labelMarginRightPicker.valuePx(s),width:S.largeLabelWidth.value(s)}},style:{paddingTop:S.labeledFieldPaddingTop.valuePx(s),paddingBottom:S.labeledFieldPaddingBottom.valuePx(s),paddingLeft:S.labeledFieldPaddingLeft.valuePx(s),paddingRight:S.labeledFieldPaddingRight.valuePx(s),border:"none",width:"auto",display:"flex"},infoLabelStyle:{textAlign:"right",paddingRight:S.infoLabelPaddingRight.valuePx(s),marginTop:S.infoLabelMarginTop.valuePx(s),color:J.brandColorGoldDark},bottomComponent:a.jsx($t,{label:{label:U.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{textAlign:s==="small"?"end":"center",color:le.colors.primary}},style:{width:"unset",marginRight:t.sp3,alignItems:s==="small"?"flex-start":"center"},checkBoxField:{name:re(B,"enableAutoPay"),checkBoxValue:re(B,"enableAutoPay"),defaultChecked:n.chargeCardRepaymentDetailLocalData.isAutoRepayment,style:{top:S.checkBoxTop.valuePx(s)}}}),singleSelectPickerField:{name:re(B,oa),placeholder:pt(se.labels.transferFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(l,u)=>_e(n.transferFromAccounts,l,u),valueToSubLabels:(l,u)=>mt(n.transferFromAccounts,l,u,!0),defaultValue:{selectedOption:n.chargeCardRepaymentDetailLocalData.transferFrom?.id,allOptions:n.transferFromAccounts.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="depositAccount"}))},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption},showCreateOption:!0,onClickCreateOption:()=>{O("link_account"),A.linkToken==null||T.zeniDate(new Date().toISOString()).isAfter(A.expiration)?C?.("link_account"):_!==A.linkToken?ue(A.linkToken):z?ce():E(!0)}},valueToAdditionalLabel:qe}),n?.chargeCardRepaymentDetailLocalData.transferFrom==null||n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="paymentAccount"?a.jsx(xe,{maxInsuredAmount:h,heading:a.jsxs(ra,{windowSize:s,children:[U.earn,a.jsx(la,{children:U.percentageCashback.replace("__percentage__",kt)}),U.whenYouPayViaZeniChecking]}),buttonText:f?ie.switchButtonText:ie.signUpButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onSignUpClick:m,onSwitchClick:()=>{Q.current!=null&&Q.current.focus()}}):n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"&&n?.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available.amount<n.chargeCardRepaymentDetailLocalData.amount.amount?a.jsx(xe,{maxInsuredAmount:h,heading:ie.moveMoneyHeading,buttonText:ie.moveMoneyButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onMoveMoneyClick:P}):a.jsx(ca,{}),a.jsx(ut,{showAdditionalInfoLabel:!1,label:{label:se.labels.amount,width:w},formattedTextField:{type:"number",name:re(B,Ne),defaultValue:n.chargeCardRepaymentDetailLocalData.amount.amount===0?void 0:n.chargeCardRepaymentDetailLocalData.amount.amount,placeholder:aa.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto",paddingLeft:S.labeledFieldPaddingLeft.valuePx(s)}})]})})})]})}const ra=o(bt)`
130
130
  color: ${e=>e.theme.colors.primary};
131
131
  width: ${e=>e.windowSize==="small"?"80%":"100%"};
132
- `,la=o(St)`
132
+ `,la=o(xt)`
133
133
  color: ${e=>e.theme.colors.primary};
134
134
  `,ca=o.div`
135
135
  display: flex;
@@ -154,7 +154,7 @@ import{j as a,e as me,d5 as pe,Z as te,gV as Je,B as W,a0 as Te,K as He,p as et,
154
154
  border: 1px solid ${e=>e.theme.colors.grey3};
155
155
  box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
156
156
  border-radius: ${t.sp2};
157
- `,Ae=(e,i,h)=>({amount:{amount:e[B].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:i.find(n=>n.id===e[B].withdrawFrom.selectedOption),isAutoRepayment:e[B].enableAutoPay,idempotencyKey:h}),ne={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),successContentMargin:new d(r[3],r[12]),buttonTrayGap:new d(r[4],r[5])},pa={sectionTitle:new V("h6Regular","h5Regular")},Le=W.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,Y=W.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:ve}=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:D,isDebitCardInfoFetchStateCompleted:m,paymentInitiatedDate:P,onSaveChangesToLocalStore:j,onTransferClick:M,goToCards:v,onDismissClick:k,onEstablishConnectionClick:K,onFetchLinkTokenClick:Z,plaidConnectionDetails:Q,onSignUpAccountClick:X,onMoveMoneyClick:q,onUpdatePaymentAccountStatus:s,onEstablishConnectionSuccess:le})=>{const w=me(),J=pe().analytics,[H,z]=p.useState(!1),[E,I]=p.useState(!1);p.useEffect(()=>{E&&setTimeout(()=>{I(!1),z(!0)},1e3)},[E]);const O=i.chargeCardRepaymentDetailLocalData.amount.amount===L;return a.jsx(ha,{windowSize:w,children:i.updateStatus==="Completed"?a.jsxs(Ie,{windowSize:w,isTransferCompleted:!0,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Re,{"data-testid":te("cross-credit-card-payment-success-close-button"),onClick:()=>{C&&D&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,f,y),k?.()}})}),a.jsxs(Ca,{windowSize:w,children:[a.jsx(Je,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),a.jsx(ga,{children:a.jsxs(a.Fragment,{children:[Y.youvePaid,a.jsx(ya,{children:Te("0,0.[00]",i.chargeCardRepaymentDetailLocalData.amount)}),Le.transferDrawer.internal.transferSuccessMsgMidfix,`"${i.chargeCardRepaymentDetailLocalData.transferFrom?.label}".`,O?Y.theCreditLimitWillResetWithin23BusinessDays:Y.theCreditLimitWillUpdateWithin23BusinessDays]})}),a.jsx(fa,{windowSize:w,children:a.jsx(He,{variant:"primary",label:Y.goToCards,"data-testid":te("back-to-cards-button"),onClick:v})})]})]}):H?a.jsx(Ft,{paymentDetails:i,setShowReviewContent:z,onTransferClick:M,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:b,paymentSourceInformation:x,creditAccountInformation:f,debitAccountInformation:y,isCompleteOutstandingBalanceBeingPaid:O}):a.jsxs(a.Fragment,{children:[a.jsxs(Ie,{windowSize:w,isTransferCompleted:!1,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Re,{"data-testid":te("cross-amount-details-close-button"),onClick:()=>{C&&D&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:P?.add(3,"day").format(ve.visual.MMMDCommaYYYYformat),paymentInitiatedDate:P?.format(ve.visual.MMMDCommaYYYYformat)},x,f,y),k?.()}})}),w==="small"?a.jsx(ba,{windowSize:w,children:Y.payCreditCardBalance}):a.jsx(xa,{children:Y.payCreditCardBalance}),i.fetchState==="Completed"?a.jsx(ia,{autoPayThreshold:e,maxInsuredAmount:h,onSaveChangesToLocalStore:j,plaidConnectionDetails:Q,paymentDetails:i,setShowReviewLoading:I,onEstablishConnectionSuccess:le,isAccountsEnabled:n,onFetchLinkTokenClick:Z,onUpdatePaymentAccountStatus:s,onEstablishConnectionClick:K,onSignUpAccountClick:X,onMoveMoneyClick:q,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:b,paymentSourceInformation:x,creditAccountInformation:f,debitAccountInformation:y}):a.jsx(et,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:Ye(Ue),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:W.getLocalizedStrings().common.review,isLoading:E},cancelBtn:{label:Le.transferDrawer.cancelBtn,onClick:()=>{C&&D&&m&&J.trackCardsPayEarlyFormClick(c,g,b,"Cancel",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,f,y),k?.()}}})]})})},ha=o.div`
157
+ `,Ae=(e,i,h)=>({amount:{amount:e[B].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:i.find(n=>n.id===e[B].withdrawFrom.selectedOption),isAutoRepayment:e[B].enableAutoPay,idempotencyKey:h}),ne={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),successContentMargin:new d(r[3],r[12]),buttonTrayGap:new d(r[4],r[5])},pa={sectionTitle:new V("h6Regular","h5Regular")},Le=Y.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,W=Y.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:ve}=Y.getLocalizedStrings(),ua=({autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:h,isAccountsEnabled:n,productInformation:g,controllerEmails:c,creditAccountInformation:f,creditAccountSpentAmount:L,debitAccountInformation:y,cashbackInformation:b,paymentSourceInformation:x,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,paymentInitiatedDate:P,onSaveChangesToLocalStore:j,onTransferClick:M,goToCards:v,onDismissClick:k,onEstablishConnectionClick:X,onFetchLinkTokenClick:q,plaidConnectionDetails:G,onSignUpAccountClick:Z,onMoveMoneyClick:K,onUpdatePaymentAccountStatus:s,onEstablishConnectionSuccess:le})=>{const w=me(),H=pe().analytics,[Q,z]=p.useState(!1),[E,I]=p.useState(!1);p.useEffect(()=>{E&&setTimeout(()=>{I(!1),z(!0)},1e3)},[E]);const O=i.chargeCardRepaymentDetailLocalData.amount.amount===L;return a.jsx(ha,{windowSize:w,children:i.updateStatus==="Completed"?a.jsxs(Ie,{windowSize:w,isTransferCompleted:!0,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Re,{"data-testid":te("cross-credit-card-payment-success-close-button"),onClick:()=>{C&&D&&m&&H.trackCardsPayEarlyFormClick(c,g,b,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,f,y),k?.()}})}),a.jsxs(Ca,{windowSize:w,children:[a.jsx(He,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),a.jsx(ga,{children:a.jsxs(a.Fragment,{children:[W.youvePaid,a.jsx(ya,{children:Te("0,0.[00]",i.chargeCardRepaymentDetailLocalData.amount)}),Le.transferDrawer.internal.transferSuccessMsgMidfix,`"${i.chargeCardRepaymentDetailLocalData.transferFrom?.label}".`,O?W.theCreditLimitWillResetWithin23BusinessDays:W.theCreditLimitWillUpdateWithin23BusinessDays]})}),a.jsx(fa,{windowSize:w,children:a.jsx(Qe,{variant:"primary",label:W.goToCards,"data-testid":te("back-to-cards-button"),onClick:v})})]})]}):Q?a.jsx(Ft,{paymentDetails:i,setShowReviewContent:z,onTransferClick:M,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:b,paymentSourceInformation:x,creditAccountInformation:f,debitAccountInformation:y,isCompleteOutstandingBalanceBeingPaid:O}):a.jsxs(a.Fragment,{children:[a.jsxs(Ie,{windowSize:w,isTransferCompleted:!1,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Re,{"data-testid":te("cross-amount-details-close-button"),onClick:()=>{C&&D&&m&&H.trackCardsPayEarlyFormClick(c,g,b,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:P?.add(3,"day").format(ve.visual.MMMDCommaYYYYformat),paymentInitiatedDate:P?.format(ve.visual.MMMDCommaYYYYformat)},x,f,y),k?.()}})}),w==="small"?a.jsx(ba,{windowSize:w,children:W.payCreditCardBalance}):a.jsx(xa,{children:W.payCreditCardBalance}),i.fetchState==="Completed"?a.jsx(ia,{autoPayThreshold:e,maxInsuredAmount:h,onSaveChangesToLocalStore:j,plaidConnectionDetails:G,paymentDetails:i,setShowReviewLoading:I,onEstablishConnectionSuccess:le,isAccountsEnabled:n,onFetchLinkTokenClick:q,onUpdatePaymentAccountStatus:s,onEstablishConnectionClick:X,onSignUpAccountClick:Z,onMoveMoneyClick:K,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:b,paymentSourceInformation:x,creditAccountInformation:f,debitAccountInformation:y}):a.jsx(et,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:We(Ue),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:Y.getLocalizedStrings().common.review,isLoading:E},cancelBtn:{label:Le.transferDrawer.cancelBtn,onClick:()=>{C&&D&&m&&H.trackCardsPayEarlyFormClick(c,g,b,"Cancel",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},x,f,y),k?.()}}})]})})},ha=o.div`
158
158
  display: flex;
159
159
  flex-direction: column;
160
160
  background-color: ${e=>e.theme.colors.grey4};
@@ -214,11 +214,11 @@ import{j as a,e as me,d5 as pe,Z as te,gV as Je,B as W,a0 as Te,K as He,p as et,
214
214
  color: ${e=>e.theme.colors.primary};
215
215
  margin-top: ${t.sp3};
216
216
  margin-bottom: ${t.sp2};
217
- `,Ta=({autoPayThreshold:e,paymentDetails:i,isZeniAccountSetupEnabled:h,maxInsuredAmount:n,onUpdatePaymentAccountStatus:g,onSaveChangesToLocalStore:c,creditAccountSpentAmount:f,onTransferClick:L,controllerEmails:y,productInformation:b,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:D,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:j,isDebitCardInfoFetchStateCompleted:M,goToCards:v,onDismissClick:k,onEstablishConnectionClick:K,onEstablishConnectionSuccess:Z,onFetchLinkTokenClick:Q,plaidConnectionDetails:X,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:D,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:j,isDebitCardInfoFetchStateCompleted:M,creditAccountSpentAmount:f,onSaveChangesToLocalStore:c,onTransferClick:L,goToCards:v,onDismissClick:k,plaidConnectionDetails:X,isAccountsEnabled:h,onEstablishConnectionClick:K,onFetchLinkTokenClick:Q,onUpdatePaymentAccountStatus:g,onEstablishConnectionSuccess:Z,onSignUpAccountClick:q,onMoveMoneyClick:s})}),Sa=o.div`
217
+ `,ja=({autoPayThreshold:e,paymentDetails:i,isZeniAccountSetupEnabled:h,maxInsuredAmount:n,onUpdatePaymentAccountStatus:g,onSaveChangesToLocalStore:c,creditAccountSpentAmount:f,onTransferClick:L,controllerEmails:y,productInformation:b,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:D,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:j,isDebitCardInfoFetchStateCompleted:M,goToCards:v,onDismissClick:k,onEstablishConnectionClick:X,onEstablishConnectionSuccess:q,onFetchLinkTokenClick:G,plaidConnectionDetails:Z,onSignUpAccountClick:K,onMoveMoneyClick:s})=>a.jsx(Sa,{children:a.jsx(ua,{autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:n,productInformation:b,controllerEmails:y,creditAccountInformation:x,debitAccountInformation:C,cashbackInformation:D,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:j,isDebitCardInfoFetchStateCompleted:M,creditAccountSpentAmount:f,onSaveChangesToLocalStore:c,onTransferClick:L,goToCards:v,onDismissClick:k,plaidConnectionDetails:Z,isAccountsEnabled:h,onEstablishConnectionClick:X,onFetchLinkTokenClick:G,onUpdatePaymentAccountStatus:g,onEstablishConnectionSuccess:q,onSignUpAccountClick:K,onMoveMoneyClick:s})}),Sa=o.div`
218
218
  display: flex;
219
219
  flex-direction: column;
220
220
  background-color: ${e=>e.theme.colors.grey4};
221
221
  overflow-x: hidden;
222
222
  height: 100%;
223
223
  width: 100%;
224
- `;export{Ta as default};
224
+ `;export{ja as default};
@@ -0,0 +1,78 @@
1
+ import{e as j,u as M,M as L,aa as T,a0 as H,j as i,_ as b,J as R,bt as U,o as l,g as n,C as a,aR as W,bN as G,ay as J,i as _,q as o}from"./index-P_4M6V8j.js";import{n as t}from"./vendor-rkTZJa59.js";const r={iconContainerMaxWidthHeight:new a(o[6],o[7]),iconContainerMarginRight:new a(o[3],o[3]),iconWidthHeight:new a(20,o[4]),iconPadding:new a(10,12),containerPaddingTopBottom:new a(o[4],o[4]),containerPaddingLeftRight:new a(o[3],o[4]),buttonLeftMargin:new a(o[8],o[0]),buttonTopMargin:new a(o[4],o[2]),bulletContainerGap:new a(12,o[3])};function Q({heading:e,buttonText:c,analytics:g,maxInsuredAmount:m,pageName:h,style:x,onSignUpClick:y,onSwitchClick:S,onMoveMoneyClick:f}){const d=j(),$=M(),{common:v,commonSetUp:C}=L.getLocalizedStrings(),s=C.setUp.accountsPlg,P=()=>{switch(c){case s.signUpButtonText:g?.trackPlgPromoClicked(h,"Sign Up for Free"),y?.();break;case s.switchButtonText:g?.trackPlgPromoClicked(h,"Switch Now"),S?.();break;default:g?.trackPlgPromoClicked(h,"Move Money"),f?.()}},k=T(H(m),m,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:$.mode==="dark",children:i.jsx(q,{windowSize:d,children:i.jsx(A,{})})}),i.jsx(O,{children:i.jsxs(I,{children:[i.jsx(D,{windowSize:d,children:e}),i.jsxs(K,{windowSize:d,children:[i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(u,{children:s.bulletPoints.two.replace("__amount__",k)})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(u,{children:s.bulletPoints.three})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(u,{children:s.bulletPoints.four})]})]})]})})]}),i.jsx(N,{windowSize:d,children:i.jsx(R,{label:c,"data-testid":b("accounts-plg-button",c),onClick:z=>{z.stopPropagation(),P()},buttonColors:{borderColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},backgroundColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},textColor:{default:n.neutralGrey5Light,hover:n.neutralGrey5Light,disabled:n.neutralGrey5Light}},size:"small",style:{padding:`6px ${l.sp3}`,borderRadius:"6px"},textStyle:{fontWeight:U.regular}})})]})}const B=t.div`
2
+ display: flex;
3
+ align-items: center;
4
+ `,D=t(G)`
5
+ color: ${e=>e.theme.colors.primary};
6
+ width: 100%;
7
+ `,N=t.div`
8
+ display: flex;
9
+ color: inherit;
10
+ margin-bottom: auto;
11
+ margin-left: ${e=>r.buttonLeftMargin.valuePx(e.windowSize)};
12
+ margin-top: ${e=>r.buttonTopMargin.valuePx(e.windowSize)};
13
+ `,q=t.div`
14
+ width: ${e=>r.iconWidthHeight.valuePx(e.windowSize)};
15
+ height: ${e=>r.iconWidthHeight.valuePx(e.windowSize)};
16
+ `,A=t(W)`
17
+ color: ${e=>e.theme.colors.primary};
18
+ width: inherit;
19
+ height: inherit;
20
+ `,E=t.div`
21
+ display: flex;
22
+ margin-bottom: auto;
23
+ flex-direction: row;
24
+ justify-content: center;
25
+ align-items: center;
26
+ align-self: ${e=>e.windowSize==="small"?"flex-start":"unset"};
27
+ padding: ${e=>r.iconPadding.valuePx(e.windowSize)};
28
+ background: ${e=>e.isDarkMode?e.theme.colors.brandColorJadeDark:e.theme.colors.brandColorJadeLight};
29
+ border-radius: ${l.sp11};
30
+ color: ${e=>e.isDarkMode?n.neutralGrey5Light:e.theme.colors.brandColorOnyx};
31
+ max-width: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
32
+ max-height: ${e=>r.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
33
+ margin-right: ${e=>r.iconContainerMarginRight.valuePx(e.windowSize)};
34
+ `,F=t.div`
35
+ display: flex;
36
+ align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
37
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
38
+ padding: ${e=>`${r.containerPaddingTopBottom.valuePx(e.windowSize)} ${r.containerPaddingLeftRight.valuePx(e.windowSize)}`};
39
+ background-color: ${e=>e.theme.colors.grey5};
40
+ fill: ${e=>e.theme.colors.grey1};
41
+ color: ${e=>e.theme.colors.grey1};
42
+ justify-content: space-between;
43
+ box-sizing: border-box;
44
+ &:hover {
45
+ color: ${e=>e.theme.colors.primary};
46
+ fill: ${e=>e.theme.colors.primary};
47
+ }
48
+ background-color: ${e=>e.theme.colors.grey3};
49
+ background-image:
50
+ url(https://storage.googleapis.com/zeni-apis.appspot.com/images/cards-plg-background-lower.svg),
51
+ url(https://storage.googleapis.com/zeni-apis.appspot.com/images/cards-plg-background-upper.svg);
52
+ background-position:
53
+ 100% 100%,
54
+ 0% 0%;
55
+ background-repeat: no-repeat;
56
+ `,O=t.div`
57
+ display: flex;
58
+ flex-direction: column;
59
+ `,I=t.div``,K=t.div`
60
+ display: flex;
61
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
62
+ gap: ${e=>r.bulletContainerGap.valuePx(e.windowSize)};
63
+ justify-content: space-between;
64
+ margin: ${e=>e.windowSize==="small"?l.sp3:l.sp1}
65
+ auto 0 0;
66
+ `,p=t.div`
67
+ display: flex;
68
+ align-items: center;
69
+ `,w=t(J)`
70
+ width: ${l.sp3};
71
+ height: ${l.sp3};
72
+ vertical-align: middle;
73
+ margin-right: ${l.sp1};
74
+ color: ${n.success};
75
+ `,u=t(_)`
76
+ color: ${e=>e.theme.colors.primary};
77
+ white-space: nowrap;
78
+ `;export{Q as Z};