@zeniai/web-cockpit-ui 1.14.41-qa → 1.14.42-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 (243) hide show
  1. package/dist/assets/ACHDetailsPage-C0Ys2JJm-CSmQeh3x.js +21 -0
  2. package/dist/assets/{AIPerformancePage-DUz4HfZ1-Dw16_h1i.js → AIPerformancePage-CsR8PRb9-DlWAPyY5.js} +32 -32
  3. package/dist/assets/{AccountInfoPage-YaZUNWd--C7mX1TUK.js → AccountInfoPage-GuppZ3vX-ybOuy1Kd.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-CMDfYWOh-2t3Y-Tgi.js → AccountInfoPageContent-BLKO0eIw-B7kvUMt5.js} +30 -30
  5. package/dist/assets/{AccountLockedInfoModal-DVLQ0FPH-B5gNUsGD.js → AccountLockedInfoModal-DxcSHNgE-BkMfAWj6.js} +3 -3
  6. package/dist/assets/{AccountReconDetailsDrawerPage-D15tKD4N-wdhiO3so.js → AccountReconDetailsDrawerPage-BoS3J4pw-C7qNHT6H.js} +15 -15
  7. package/dist/assets/{AccountRow-D-CPGejv-C0MkYOn9.js → AccountRow-Dj74AzIh-BbDAUA8T.js} +22 -22
  8. package/dist/assets/{AccountsPromoCardStack-BP_NIYH9-CknZDmQk.js → AccountsPromoCardStack-MQ_e8aZu-DokMp7Fc.js} +28 -28
  9. package/dist/assets/{AddAddressForCardDrawer-CgUhQtxS-ZERwnczq.js → AddAddressForCardDrawer-LpGynQhq-BiZdAWgh.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BJ1zD8Fp-DS4otSje.js → AddToWalletPage-wtm2Oua5-x0zhdZBl.js} +14 -14
  11. package/dist/assets/{AgingReportsPage-BC3a8enN-CH94puRQ.js → AgingReportsPage-e98Qmrut-DEPFVdEb.js} +14 -14
  12. package/dist/assets/{AllUserItems-vM-R7kC6-dC4XnH-i.js → AllUserItems-Cyr74U6h-DLHOl5bM.js} +10 -10
  13. package/dist/assets/{ApAgingDetailPage-C0soj3QL-CIKu7KMh.js → ApAgingDetailPage-Kjz7NPLx-Bf3lvNxo.js} +4 -4
  14. package/dist/assets/{AppBasePage-vYi6vqB3-CUCnltWx.js → AppBasePage-DrR3bM5Z-CWPfvLBQ.js} +17 -17
  15. package/dist/assets/{AppDrawerContent-4OWU2TFD-hU4F7Wlo.js → AppDrawerContent-C2GlTktJ-DMFov52N.js} +8 -8
  16. package/dist/assets/{ApprovalRulesSettingsPage-D9sYwLt_-eXBjf9wx.js → ApprovalRulesSettingsPage-Cy9uHg-R-Lb5cY5kU.js} +1 -1
  17. package/dist/assets/{ArAgingChart-B_o6w4NZ-eMi5HTRp.js → ArAgingChart-CtxyhI9X-mEADLb4-.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-CBVZytB--DpqLoVCo.js → ArAgingDetailPage-GX7S1gNm-CGPsvsX3.js} +1 -1
  19. package/dist/assets/{AttachmentView-B-4i3ruL-Coezd-6G.js → AttachmentView-C8CksG-9-RpLYPFoP.js} +6 -6
  20. package/dist/assets/{BankAccountSection-BSpqPLea-DnHvULrV.js → BankAccountSection-8JPKANMP-DuTpIyau.js} +4 -4
  21. package/dist/assets/BankAccountWarningSection-HW7t6lPN-CXdJbZl-.js +51 -0
  22. package/dist/assets/{BankConnectionsSettingsPage-Bb8Ug1B7-BrJkpQBD.js → BankConnectionsSettingsPage-C_jyBPLn-CLp_uRqW.js} +31 -31
  23. package/dist/assets/BillDetailPage-BwuHMPBb-CWwzJCXe.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-zgj-w04l-DlkJNyRo.js → BillPayApprovalRuleDetailPage-9RqkaWf2-BU5jdCnL.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-8Yu9sjNN-CP9d39U-.js → BillPayApprovalRulesPage-CZmACduz-93oNGY5M.js} +9 -9
  26. package/dist/assets/{BillPayPromoPage-DwiZ7BtU-fiyE_zkg.js → BillPayPromoPage-C2m0GTw3-CZokQfrc.js} +4 -4
  27. package/dist/assets/{BillPaySetUpPage-qkDjDwA2-BVCc21N3.js → BillPaySetUpPage-C71BRWUw-VI3bvPN6.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-CcAIOY2J-REyIPWiq.js → BillingSettingsPage-Gc3cUKmE-DleW0m9X.js} +5 -5
  29. package/dist/assets/{BillsBulkReviewDrawerPage-BONjbFFw-qDHExLn5.js → BillsBulkReviewDrawerPage-CO1oJuvH-DO4MY9I-.js} +1 -1
  30. package/dist/assets/{BoxItem-BebxqupW-BdoD_mmi.js → BoxItem-D09XMKDc-dcEB3ro9.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-DB134_1e-CZY_8hSF.js → BusinessVerificationPage-Ef4KSPWc-CGQqBH2S.js} +9 -9
  32. package/dist/assets/CardNumberSubText-Chba_z2--BgVxGcnT.js +21 -0
  33. package/dist/assets/{CashbackDetailPage-CCb57-3P-p_PVDcq5.js → CashbackDetailPage-DAM-IJ8V-GMcbY1v3.js} +20 -20
  34. package/dist/assets/{ChargeCardDetailPage-DZ53kEgD-CVscm9WX.js → ChargeCardDetailPage-U_ZuntGp-Bifm6uRw.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-67dSFsMj-BER-SYIw.js → ChargeCardListPage-DJ5TbLO--IUEMfPwT.js} +23 -23
  36. package/dist/assets/{ChargeCardListTable-Czriruk3-DeRl2C1o.js → ChargeCardListTable-D7BV3Iv9-CvArKgFC.js} +13 -13
  37. package/dist/assets/{ChargeCardPromoPage-DvMyjHD_-Dd7MlnjV.js → ChargeCardPromoPage-CMqzRnza-BLyUSFwI.js} +26 -26
  38. package/dist/assets/{ChargeCardSetupPage-D6o-evfw-2pOurEiq.js → ChargeCardSetupPage-dOz2soLF-Bc9pTyfy.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-vmEZp2Gc-k4U6YJ8h.js → ChargeCardStatementsPage-S2JH9s6i-BXX6utVL.js} +11 -11
  40. package/dist/assets/ChargeCardUtils-Bv0OpE88-D5Y-HOpD.js +1 -0
  41. package/dist/assets/{ChaseOverlay-DU98sRYz-NBdZIJp3.js → ChaseOverlay-4Rv__bdV-G7KHiWVk.js} +7 -7
  42. package/dist/assets/{CheckDepositDrawerPage-D559Iqfg-2Xs20KLS.js → CheckDepositDrawerPage-BKogbkJv-CWQTz4_P.js} +15 -15
  43. package/dist/assets/{CollapsableReportTable-C3JrOMbA-C8RANxS5.js → CollapsableReportTable-B_qvVX0p-B7sAIIqY.js} +85 -85
  44. package/dist/assets/{CompanyOfficerDetailsSection-ByPjcDhp-UGnVN2eW.js → CompanyOfficerDetailsSection-aAwv9WfC-B4p0BPWe.js} +22 -22
  45. package/dist/assets/{CompanyPassportCard-DtaT5LBX-sjzIwivo.js → CompanyPassportCard-DchSKG4l-bx1QGbPl.js} +4 -4
  46. package/dist/assets/{CompanyPassportPage-CYqtLLPi-BZvETxjP.js → CompanyPassportPage-DLIJn7Fp-oxmh8Pcm.js} +14 -14
  47. package/dist/assets/{CompleteProfile-bz1Sx_Ks-eJUFer6h.js → CompleteProfile-Bf5sNhdg-Bo2AvDlJ.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-DmQRRfzl-CENtoeqN.js → ConfettiBurst-BPWFB4Ty-0v38oqti.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-R5xXzTyF-B9baa0jh.js → CreateOrEditVendorPage-BTWihvJ--DUStbYOW.js} +8 -8
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CxFF-ITI-WcUeJ00Z.js → CreditCardPaymentDrawerPage-B5p_onzw-DCjutv5C.js} +11 -11
  51. package/dist/assets/{CreditCardPaymentPlgSection-D5M15mry-CMaSHERV.js → CreditCardPaymentPlgSection-CTpwe7CS-BcL1YjIs.js} +5 -5
  52. package/dist/assets/{CurrencySelectField-DdtldGsv-C812lF_Y.js → CurrencySelectField-Dn9EcyiE-BQIfFGfi.js} +7 -7
  53. package/dist/assets/{CustomerOnboardingActivationPage-S5ljEjEE-Jb-LTm9b.js → CustomerOnboardingActivationPage--C7Nj5oq-JR3YGMUS.js} +2 -2
  54. package/dist/assets/CustomerOnboardingContainerPage-BDHp6tYk-BLNEL0qV.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B-aHwtTV-FqYSR0lJ.js → CustomerOnboardingDetailPageSkeleton-BEldzNUC-BEL3C00x.js} +11 -11
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-D_WXGOKQ-DBupGUX6.js → CustomerOnboardingNoStepsPage-BWPx0oGa-CDRjdq54.js} +4 -4
  57. package/dist/assets/{CustomerOnboardingPage-D3GUyy20-COjJdfeN.js → CustomerOnboardingPage-CQsXgrSi-DMAOHFB2.js} +6 -6
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-BcpIczxe-GA6RVDjg.js → CustomerOnboardingProductSuitePage-Ba-hBJDr-D6bzZxGx.js} +4 -4
  59. package/dist/assets/{Dashboard-D19IvfgJ--DOQVvlB.js → Dashboard-D9a8ZSVk-r42V_isI.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-DucQv3ZE-CMnuoHmh.js → DashboardReportPage-DC7almyE-DPo9kVmb.js} +18 -18
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-zEtk_8x9-CJFT1DkV.js → DashboardSidebarBackgroundAnimation-BZPfkv0W-C5DTnalV.js} +3 -3
  62. package/dist/assets/{DepositAccTransactionItem-DG7JaTJY-BCT3hCg7.js → DepositAccTransactionItem-D6Pxnskx-DNWsx-r8.js} +5 -5
  63. package/dist/assets/{DepositAccTransactionListPage-DEDzaAaX-DzTp8c-j.js → DepositAccTransactionListPage-RPv15wO3-g2ti0qw6.js} +2 -2
  64. package/dist/assets/{DomesticWireDetailsPage-DH4keptD-D01iyx2r.js → DomesticWireDetailsPage-C7SMSdym-4FSz7OmR.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-DQZd_zyi-B9VMhe_d.js → DownloadOverlay-DSuuIFd2-BOmkiO4Q.js} +18 -18
  66. package/dist/assets/{DrawerPage-CtDNbXHp-C2cmEeEY.js → DrawerPage-G3indLUm-BloVVmDh.js} +12 -12
  67. package/dist/assets/EditPeoplePage-B3OUzvId-mGEO8i8C.js +55 -0
  68. package/dist/assets/{EditReimbursementDetailPage-BxzB9b4R-COHPUQv7.js → EditReimbursementDetailPage-BDtXtGDU-C7db0ozx.js} +51 -51
  69. package/dist/assets/{EntityDetailPage-CuPr64cj-DyxVHR3_.js → EntityDetailPage-Duk7QFjU-4fI6-YD5.js} +3 -3
  70. package/dist/assets/{EntitySummarySection-CX-KbVbj-CNqoxowU.js → EntitySummarySection-Cr7WMJ8D-CxAoWGpH.js} +7 -7
  71. package/dist/assets/{ExpenseAutomationOverviewPage-DRFk1z66-B4CXhi6d.js → ExpenseAutomationOverviewPage-hpARiJiY-Cl3fyuZ_.js} +55 -55
  72. package/dist/assets/{ExpenseAutomationPage-ugq4J-e3-Cq8XKeSo.js → ExpenseAutomationPage-BC5qS_i3-B_dfKUDn.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-DWFyq0OM-Xap9PWuy.js → ExpressPayPage-I-QL4uh--CR8ltLbL.js} +9 -9
  74. package/dist/assets/{FeaturePreviewPage-Bdostf75-Co3kb8i2.js → FeaturePreviewPage-BHb59Q7j-BMGHbQAr.js} +2 -2
  75. package/dist/assets/{FollowStepsSection-CFs_c9UA-C2ivxTgB.js → FollowStepsSection-DONqc9yn-DTdIc25n.js} +9 -9
  76. package/dist/assets/{GlobalReviewListPage-Cw8nJl7r-ucxhv7FU.js → GlobalReviewListPage-BFAgZIJv-pSG93cS5.js} +11 -11
  77. package/dist/assets/{HelpButton-DJeoop_B-BbsNSnSE.js → HelpButton-DoSu6q8h-w0fElDGQ.js} +1 -1
  78. package/dist/assets/{InformationCardStack-DXqbwonQ-D-8qMtbR.js → InformationCardStack-JtvRODJe-BAk9iE1O.js} +4 -4
  79. package/dist/assets/{InsightsCardStack-7JsHAYeW-ug-71Tgc.js → InsightsCardStack-BEceNZZE-_pfKOcnL.js} +9 -9
  80. package/dist/assets/{InsightsSection-BkKqEnbT-p9XkPAwR.js → InsightsSection-KsnkYRQw-CjzvB6rM.js} +5 -5
  81. package/dist/assets/{IntegrationsSettingsPage-DQ_GH1NV-DceBqihU.js → IntegrationsSettingsPage-D4cEY5iJ-Ct8U8ddA.js} +5 -5
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-B6ER7qfQ-Cn8QyFOw.js → InternationalWireSwiftDetailsPage-Tf_vaD2v-Bx9cBAe-.js} +15 -15
  83. package/dist/assets/{InternationalWireVerificationPage-hb0w0-FP-CjYCUXS4.js → InternationalWireVerificationPage-qIIqh0iv-Dla3dOLs.js} +15 -15
  84. package/dist/assets/{InviteFormPage-1dBkKRKs-DciMQTpm.js → InviteFormPage-ByA4uyh2-CUZJDn4x.js} +22 -22
  85. package/dist/assets/{InvitePageListView-DhpXrg6S-iVD2f3Qa.js → InvitePageListView-0_dBCqFt-HjR3qPdd.js} +44 -44
  86. package/dist/assets/{InvitePeoplePage-DrHGaYn6-cG76tknZ.js → InvitePeoplePage-C4d-Ov5z-CPj8BOmp.js} +3 -3
  87. package/dist/assets/InvoiceUploadSection-MEPQPiCt-C4G2s06g.js +140 -0
  88. package/dist/assets/{IssueChargeCardPage-B_O7rJSC-DBAUNHK1.js → IssueChargeCardPage-C77SyJR9-CUKH1f59.js} +21 -21
  89. package/dist/assets/{LabeledAddressValue-DWpOvFnM-MVu54lHC.js → LabeledAddressValue-DKKL0jnt-DbFZZVFw.js} +1 -1
  90. package/dist/assets/LabeledAddressValueField-Ca10mEAm-D8rcZ6WA.js +45 -0
  91. package/dist/assets/{LabeledControlledCheckBoxField-tNAjM4hM-BvgQqmxU.js → LabeledControlledCheckBoxField-BYk2-ixd-B_p740LF.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-yMTUEfLS-toELldV7.js → LabeledCreatableSingleSelectField-DMhTj1GM-Cqe5AURU.js} +2 -2
  93. package/dist/assets/LabeledDocumentField-DX4zVKkz-CS1LiAul.js +41 -0
  94. package/dist/assets/{LabeledDropDownFormattedTextField-Dm1etnU5-C8--qfVi.js → LabeledDropDownFormattedTextField-BoizuD7H-Ce48u3nd.js} +5 -5
  95. package/dist/assets/{LabeledText-BRS0e-dG-BZq4VrX9.js → LabeledText-4NNrEynJ-BDzeNgnU.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Bml1bcSK-BC3kyZqP.js → LabeledUserSingleSelectWithSubtitlesField-DaXDpM0N-DYtP0MFC.js} +10 -10
  97. package/dist/assets/{LabeledZeniRolesDropDownField-l2veUn4k-CULldLpx.js → LabeledZeniRolesDropDownField-zRamZWIQ-oWeJ0wbt.js} +10 -10
  98. package/dist/assets/{LinkJETransactionPage-VtgdRNhL-D7ndfEzz.js → LinkJETransactionPage-FMYLsvT_-IUHBR-RO.js} +5 -5
  99. package/dist/assets/{LowBalancePopup-Dg43FP8p-BLvbua8r.js → LowBalancePopup-Ig5iJGIg-BisR1D9G.js} +4 -4
  100. package/dist/assets/{MagicLinkACHDetailsPage-UfT8yCmX-DOK_VceA.js → MagicLinkACHDetailsPage-Cf-TvH4n-BBkkCR2W.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-Bgwf3qMA-BfpKCTOv.js → MagicLinkDomesticWireDetailsPage-CLJo-rez-MDjP3aI7.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-B9QWmf9B-Dk7a13qP.js → MagicLinkInternationalWireDetailsPage-C-cD6L4u-Z9qBkl5z.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-SjBCvTm5-8jc-eo0M.js → MagicLinkSuccessPage-cJ0PjYEe-DY9yZh-d.js} +1 -1
  104. package/dist/assets/MagicLinkTitleSection-Dc8RKV1p-VRc37nwk.js +17 -0
  105. package/dist/assets/{MailingDetailsSection-Dk8tP8LP-YFImgirq.js → MailingDetailsSection-BD9QWumq-Bo7ZhKA-.js} +1 -1
  106. package/dist/assets/{MeetingCalenderPopup-gebcIIpu-DuyM5Ce0.js → MeetingCalenderPopup-D10SioCO-Sv9k3aJ6.js} +1 -1
  107. package/dist/assets/{Menu-BeDBbRH8-NbbFIuDT.js → Menu-DV3oFAip-BjpENrFA.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-Bp6o9Mts-4X9R_NQE.js → MyBankConnectionsSettingsPage-jrPeCDe3-C_FxZh14.js} +11 -11
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-CEWRTVvz-CijMZlz_.js → MyPendingActivationChargeCardListPage-CpaPeIYq-Ckzf1YTL.js} +1 -1
  110. package/dist/assets/{MyProfileSettingsPage-Dvgp3Ycy-DSUbYEGm.js → MyProfileSettingsPage-DLj2PeG9-d2LNa8rI.js} +10 -10
  111. package/dist/assets/{NavBarWithPicker-XmGu6RQR-C9BXxiKA.js → NavBarWithPicker-CilKdL1D-Z1krBpRG.js} +4 -4
  112. package/dist/assets/{NavigationArrow-DuEUVDwX-DfD0NIdE.js → NavigationArrow-DvGjNVsn-C-QNklxa.js} +1 -1
  113. package/dist/assets/{NavigationDots-BcP-rh-K-DS8oU4Qg.js → NavigationDots-BZNvrGBo-CvNSDZNv.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-CI0ohS8I-DWKnTzMp.js → NewGlobalMerchantPage-D5ESBBO5-CiqJ8Tsp.js} +7 -7
  115. package/dist/assets/{NoDataChart-Cu34Y6fv-CDediDtZ.js → NoDataChart-D9tQhnyu-C94gJNvj.js} +3 -3
  116. package/dist/assets/{NoDataTable-CPWzH0PE-DkDzGQpn.js → NoDataTable-8FGbkVty-RgNhnWfj.js} +1 -1
  117. package/dist/assets/{NotFoundPage-yZOAgP9f-BvtMauqa.js → NotFoundPage-D8qvMFgl-BJxrGtQd.js} +4 -4
  118. package/dist/assets/{NotificationSettingsPage-5bXbyP0i-Dn4CCfRt.js → NotificationSettingsPage-BSJTBlX6-Dh8E-2JN.js} +14 -14
  119. package/dist/assets/{NotificationsListConfig-DINVh9-P-Cr5z8nJ2.js → NotificationsListConfig-EynMAcn9-B66CEzXh.js} +1 -1
  120. package/dist/assets/{NotificationsPage-CKcEU-jy-D9LjSHYu.js → NotificationsPage-d4HJEE7S-DignNo6N.js} +21 -21
  121. package/dist/assets/{OpExByVendorPage-3oQc7n37-ie-HlsGj.js → OpExByVendorPage-CmuEz33W-DHZbqMQl.js} +4 -4
  122. package/dist/assets/{OverlayContainerPage-Bmu909Fo-c3kkjLHu.js → OverlayContainerPage-Bmu909Fo-BEKpfYXF.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-BPcWHQXd-CtN-h80b.js → PandLWithForecastPage-C7WaIZ8e-AKi0ejYh.js} +11 -11
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D7JHebDo-BRRsi8Cn.js → PaymentAccountSetupBillingAddressSection-B3m8zs_b-ShdTy6dm.js} +9 -9
  125. package/dist/assets/{PeoplePage-AdCHl8Rj-GGNGd1tU.js → PeoplePage-BN8tiBew-SMy3y22T.js} +33 -33
  126. package/dist/assets/PortfolioAllocationFormPage-BD1u1-Or-BP5X7l75.js +207 -0
  127. package/dist/assets/{PortfolioDetails-DaiiBOps-RHi4PLpn.js → PortfolioDetails-fLO6-kOh-CadDK_zj.js} +14 -14
  128. package/dist/assets/{ProductsCarousel--PIp0Wwx-1HYPMREY.js → ProductsCarousel-RHO5BWU--BaB4l4pQ.js} +3 -3
  129. package/dist/assets/{PromoBaseCards-hEn7m0Ea-Dc9Lc6Jd.js → PromoBaseCards-Bm6GGzhn-7qUEmgGZ.js} +2 -2
  130. package/dist/assets/{QBOConnectionDialog-DByNCCyR-xe7LeSrJ.js → QBOConnectionDialog-Dp_Zkpup-B6ThY6EF.js} +7 -7
  131. package/dist/assets/{QBOSetupSection-NdDTo0GG-op77rVCs.js → QBOSetupSection-C1hBKDG3-D4_IOTse.js} +13 -13
  132. package/dist/assets/ReimbursementApprovalRuleDetailPage-DFUyL8tS-CjazMZUR.js +26 -0
  133. package/dist/assets/{ReimbursementApprovalRulesPage-D13xg5lU-zFGSLUlG.js → ReimbursementApprovalRulesPage-CGb7oMjB-DRxFMpGG.js} +11 -11
  134. package/dist/assets/{ReimbursementDetailPage-1S7-fp6x-Hi7ghCPV.js → ReimbursementDetailPage-ByD43ffh-CS-2jIxA.js} +8 -8
  135. package/dist/assets/{ReimbursementPromoPage-TwSf4vIh-CMdRmwjh.js → ReimbursementPromoPage-CPFAYaW8-Tc6w3wrG.js} +20 -20
  136. package/dist/assets/{ReimbursementSetUpPage-D-g1h8Z7-DKvqAEBO.js → ReimbursementSetUpPage-B_jUtf6N-CH4GgWXW.js} +4 -4
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-nsM0DGyC-BKjafGKk.js → ReimbursementsBulkReviewDrawerPage-DU-QA2n3-CKhaAS5r.js} +1 -1
  138. package/dist/assets/{ReloadCard-K9SGlmus-DZ7vYKCw.js → ReloadCard-HsDGbgTn-BsloOU08.js} +5 -5
  139. package/dist/assets/{ReportTableViewSelector-BVw08xMR-S2k8-vyd.js → ReportTableViewSelector-BzFUam8T-BhACNwXr.js} +6 -6
  140. package/dist/assets/{ReportsPage-DrbFSYgn-Dhzyn189.js → ReportsPage-MQSNDA98-DYJWfk_K.js} +10 -10
  141. package/dist/assets/{RevenueChart-mib92BSo-vb-0BYYz.js → RevenueChart-BzYEiXeP-CL_U7QVF.js} +29 -29
  142. package/dist/assets/{ReviewDetailsPage-C5f_GAjv-rA6jgu-n.js → ReviewDetailsPage-w2tTvIFQ-DFmBHsAk.js} +5 -5
  143. package/dist/assets/ReviewOverlay-DbYrvPld-BPButrhP.js +152 -0
  144. package/dist/assets/{RoleWithToolTip-C5grx1DM-Bhnk8KKY.js → RoleWithToolTip-B_Ivheco-R8i0Qg5c.js} +6 -6
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BfqQFFiq-CwYQjSQh.js → ScheduleDetailsFixedAssetsPage-CSiXckiF-snYrLXiT.js} +8 -8
  146. package/dist/assets/{ScheduleDetailsPage-DkNwuZzq-Dw4BBNuN.js → ScheduleDetailsPage-BUprw9Sk-CY06UcmD.js} +4 -4
  147. package/dist/assets/{ScheduleSequenceTable-CviQlsxi-BixaGSYy.js → ScheduleSequenceTable-DnIgU9m6-CTOQUShp.js} +18 -18
  148. package/dist/assets/{ScreenRoutes-BOEZc6DS.js → ScreenRoutes-Df5fPQoi.js} +1 -1
  149. package/dist/assets/{SetUpAccountSection-d5HPps92-DZbUJeeo.js → SetUpAccountSection-DDxjcjeg-CBwjkDjl.js} +10 -10
  150. package/dist/assets/{SetUpDefaultSection-D1OXPM9M-2zaSn3KY.js → SetUpDefaultSection-BSWh5Hvi-BrKOFekt.js} +14 -14
  151. package/dist/assets/{SignIn-tpfovElQ-C4991EnD.js → SignIn-CImCEnZS-CTfoa2RW.js} +23 -23
  152. package/dist/assets/{SignInScreen-DgNycLfV.js → SignInScreen-DOATVkIe.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-B3t2U-Lq-GWfzNKhc.js → SpendManagementListViewPage-B61K65wh-DBswKLKE.js} +6 -6
  154. package/dist/assets/{SpendManagementPerTabPage-vATAr6zx-sNIcyb2f.js → SpendManagementPerTabPage-Bxo7BTP3-BTpFLD01.js} +11 -11
  155. package/dist/assets/{SpendManagementSection-C8S1zv_Z-D1UddAHC.js → SpendManagementSection-Ddoo9sSg-BrfWcTur.js} +11 -11
  156. package/dist/assets/{SpendMgmtSetupAccountSection-C3n3CKZp-DgPqGmio.js → SpendMgmtSetupAccountSection-GjJmiN01-CfomDHm3.js} +19 -19
  157. package/dist/assets/{StatementItem-C2VaQMdB-GityFkee.js → StatementItem-D_ctLWr0-D0j_MHXQ.js} +5 -5
  158. package/dist/assets/StatementsPage-D1M95WeY-CnAx-9oR.js +58 -0
  159. package/dist/assets/{StatusSwitcher-CI_4NJc0-D3kMd2Ls.js → StatusSwitcher-ZC7lyTov-GCiWQPGY.js} +4 -4
  160. package/dist/assets/{SubTabSwitcher-CKh0fbAL-CZyzUbuM.js → SubTabSwitcher-BNFnbB_T-DaWGnnx_.js} +1 -1
  161. package/dist/assets/{SummaryCard-56XeB7PA-B87JqDih.js → SummaryCard-CSo1L2R4-Biw8Izdi.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-el6vudQA-DkYDl2e-.js → TaskManagementPage-CAcMcS83-D_9dscfp.js} +14 -14
  163. package/dist/assets/{TimeRangeSwitcher-X1sd0HJo-D3i-wisc.js → TimeRangeSwitcher-CNdJhUPl-Lk4TfGUR.js} +5 -5
  164. package/dist/assets/{TimeframeSwitcher-TLcNg_CN-98HiGYj7.js → TimeframeSwitcher-B7t79hiQ-DXBKb0F7.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-Cnlgngu_-BVr6cN7Q.js → TimeframeSwitcherWithToggle-gywVFoaK-CKJ0rtbC.js} +1 -1
  166. package/dist/assets/{TopExCard-BuCdMdGn-DzugoAzP.js → TopExCard-D_LHVo5q-kM42LZ8h.js} +4 -4
  167. package/dist/assets/{TopExDetailPage-DJwK85mY-BLlAa0Mx.js → TopExDetailPage-DuiVBT_3--4JswmJo.js} +13 -13
  168. package/dist/assets/{TransactionDetailPage-fKLOaC53-B4PLnewq.js → TransactionDetailPage-BWbWafDA-BA5tAQ-_.js} +33 -33
  169. package/dist/assets/{TransactionList-vNVcmGH2-B0OTKj50.js → TransactionList-Xd2JupaK-ME3jRgkK.js} +7 -7
  170. package/dist/assets/{TransactionListBig-C_1iHb-m-7xzK-ehO.js → TransactionListBig-CnJaFkxR-rlrfsVcy.js} +19 -19
  171. package/dist/assets/{TransactionListPage-vE1jowuA-CVyTABcH.js → TransactionListPage-DJXFQaro-6w510avL.js} +2 -2
  172. package/dist/assets/{TransactionVendorDetailPage-C9wGiyJs-DnpJgf-D.js → TransactionVendorDetailPage-Yd_VuyUP-3bCwp_zG.js} +4 -4
  173. package/dist/assets/{TransferDrawerPage-6AaaV1fR-CcXij2fb.js → TransferDrawerPage-DAQ23FUW-Zp14Y_jD.js} +27 -27
  174. package/dist/assets/{TreasuryOverviewPage-8z3dgsQ--0GGyt5L1.js → TreasuryOverviewPage-D7PkIffG-CctuefA8.js} +26 -26
  175. package/dist/assets/{TreasuryPromoPage-BRZCU7u0-YXB-IJNp.js → TreasuryPromoPage-BjVUBF-M-CeyEfLuA.js} +33 -33
  176. package/dist/assets/{TreasurySetupPage-BietgoUm-DuvVLyjQ.js → TreasurySetupPage-CTwhrB6V-Bbh2Nemp.js} +5 -5
  177. package/dist/assets/{TreasuryStatementsPage-BrTZ2Tc9-CuYVtjaG.js → TreasuryStatementsPage-jvmgqTxl-bbGSjEnB.js} +3 -3
  178. package/dist/assets/{TreasuryTaxLetterPage-Bm8Kh9ci-D-bqdUc-.js → TreasuryTaxLetterPage-CtKw-_Ab-DpqHDLut.js} +2 -2
  179. package/dist/assets/{TreasuryTransferOrReviewPage-DAsCB5hY-CGMzbTrq.js → TreasuryTransferOrReviewPage-HDfVKjSA-D8yPiIy_.js} +37 -37
  180. package/dist/assets/{TrendChart-CDuKYDbr-Bn9DvEcA.js → TrendChart-BqU6zv7L-wkRyWRpL.js} +4 -4
  181. package/dist/assets/{TrendWithTransactions-CXFGBD3a-COfDIjjP.js → TrendWithTransactions-CbzZEtLk-CdMXYj1c.js} +4 -4
  182. package/dist/assets/{UncategorizedAccountsMappingPage-CZp60Srt-CzRmIywg.js → UncategorizedAccountsMappingPage-BqfWXEzv-Cz9H5I4W.js} +11 -11
  183. package/dist/assets/{UnitIntegrationPage-Bt3BsIP--CS7__SGc.js → UnitIntegrationPage-DOt0PQxi-x_I9Vs5M.js} +4 -4
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-CiKy5Nj7-B-MuYA3T.js → UploadAdditionalDocumentOverlay-DCG_biA8-DwZNYXuq.js} +2 -2
  185. package/dist/assets/{Vendor2FAPopup-mpeQ7vp6-drhI-HQb.js → Vendor2FAPopup-AFJ4ji6z-DAWxFDI5.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-DaH6D39U-CWjco5Dp.js → VendorACHDetailsPage-CMZezqhj-omVFdTVD.js} +1 -1
  187. package/dist/assets/{VendorDetailPage--NEui4cR-CjVNfg_w.js → VendorDetailPage-iMWNwLtE-B5NQ34jt.js} +16 -16
  188. package/dist/assets/{VendorDomesticWireDetailsPage-ZpWio-lR-C61aUqHr.js → VendorDomesticWireDetailsPage-LLQSi6rq-JFMiqG0a.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-BH50orlv-D4s1kmxT.js → VendorFiling1099EditablePage-BFWuxMl8-CXYevD1L.js} +16 -16
  190. package/dist/assets/{VendorFirstReviewPage-F3ufon8s-De09Hv60.js → VendorFirstReviewPage-G_Cr6q5s-qjW-FU9s.js} +18 -18
  191. package/dist/assets/{VendorInternationalWireDetailsPage-BFCRIyx4-lseeqNrB.js → VendorInternationalWireDetailsPage-DReuPGpX-J63QxGJH.js} +10 -10
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Bsw5XWc5-Cxyk29cs.js → VendorInternationalWireSwiftDetailsPage-CmAzQ-7v-D44Jz7aO.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-DyEqMESi-D9e9kicf.js → VendorsAccountsSection-Cjwpb7Ej-Cx7NEKJj.js} +2 -2
  194. package/dist/assets/{VerifyDevice-Cghi40l4-ThU6PIgT.js → VerifyDevice-CvJ2zJdk-DMGMblcz.js} +10 -10
  195. package/dist/assets/{VideoPlayer-BqxR2aZr-C4HSzI7g.js → VideoPlayer-9UKbocWs-CskDssHe.js} +1 -1
  196. package/dist/assets/{VideoPopup-RZCI8_Gx-CwtDMYFf.js → VideoPopup-DfQxE-EQ-DMlN8l45.js} +4 -4
  197. package/dist/assets/{WarningsDrawerPage-ChJqfUoo-C8vzQoCW.js → WarningsDrawerPage-2QsB6DYE-SQ5KLE5P.js} +9 -9
  198. package/dist/assets/{ZeniAccountDetailPage-BVl5QTX2-DcQoIUQu.js → ZeniAccountDetailPage-gFXGgRzS-DY2FypIA.js} +18 -18
  199. package/dist/assets/{ZeniAccountListViewPage-CsAF1Cyb-D_F8pojL.js → ZeniAccountListViewPage-Daboqhbe-C9ys4A5t.js} +12 -12
  200. package/dist/assets/ZeniAccountNavBarPieces-DhpbtWHu-gWttgZ20.js +14 -0
  201. package/dist/assets/{ZeniAccountPromoPage-Bdx-nwJO-CAY8oVsD.js → ZeniAccountPromoPage-Df5MahOc-B26r14Mi.js} +21 -21
  202. package/dist/assets/{ZeniAccountSetupPage-vZ7vjnBw-63QHHhU4.js → ZeniAccountSetupPage-DLlRCOCj-ChweJElI.js} +1 -1
  203. package/dist/assets/{ZeniCopyright-CpkvfVwM-CpIzcf5N.js → ZeniCopyright-D-Z193Re-BzgSGNSq.js} +1 -1
  204. package/dist/assets/ZeniTransferAmountSlider-D8dT_-Hq-BM5AfJxY.js +63 -0
  205. package/dist/assets/{analytics-Dr_Q0qi5.js → analytics-CcevxdRy.js} +19 -19
  206. package/dist/assets/{analyticsHelper-B29pAXmB.js → analyticsHelper-HFa4L7zM.js} +1 -1
  207. package/dist/assets/{analyticsHelper-nzXGHX-f-DDF_mzG5.js → analyticsHelper-c9SRwhe3-rKFHsE9O.js} +1 -1
  208. package/dist/assets/{chartTypes-DJwqK5Pl-BjORIfWQ.js → chartTypes-C2jC2nzT-B64Jl2-O.js} +1 -1
  209. package/dist/assets/{commonDimensions-BI8wHGzb-vF0LFeSK.js → commonDimensions-CtVQ1dPI-BWfVCzLH.js} +1 -1
  210. package/dist/assets/{crypto-Ccg-ICil.js → crypto-CK3r1iTV.js} +1 -1
  211. package/dist/assets/{detailCommon-BqVKB773-C2U67xrp.js → detailCommon-BBImn49A-BK4c1Pxj.js} +6 -6
  212. package/dist/assets/{downloadPdf-BET_DSP9-DmgSWYo3.js → downloadPdf-BvdzZp_S-DQnizCwq.js} +1 -1
  213. package/dist/assets/{index-IgYBqF_x.js → index-DESjn-8d.js} +3503 -3503
  214. package/dist/assets/{mapLoadingInProgressToTreeNode-BrrNGuAc-CqsUk4Uv.js → mapLoadingInProgressToTreeNode-CKsE235C-BIU8Mfd7.js} +1 -1
  215. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Dwov7nU5-BqLpmvIL.js → mapSectionWithAcOnlyToTreeNode-D1DheCOl-DwSkrZHk.js} +1 -1
  216. package/dist/assets/{mapSpacerToTreeNode-CgMaqSi_-CjubQCh8.js → mapSpacerToTreeNode-DkIeEOlL-Pn1zCywK.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-BrNgTlbp-CrsNT2yx.js → mapTimeframeBalancesToTreeNode-BhmM7oKt-BQL5w7UJ.js} +1 -1
  218. package/dist/assets/{mapTimeframeBalancesToTreeNode-Brqz18bN-TNhDDil7.js → mapTimeframeBalancesToTreeNode-Vy-w7j2m-DzRWaem3.js} +1 -1
  219. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-UT-UQHkH-D9cTp9HM.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CGrrLYwc-B0qlbSf3.js} +1 -1
  220. package/dist/assets/{toCOABalancesWithID-CAwHN54Z-Dl4_Ib5c.js → toCOABalancesWithID-BdeWiors-BqeL9v71.js} +1 -1
  221. package/dist/assets/{toChartData-pW2XLZo--pfboHwjV.js → toChartData-BCFss2y_-DT7ekoOJ.js} +1 -1
  222. package/dist/assets/{treasuryColorHelper-CdOoL_vC-BdLikaU-.js → treasuryColorHelper-BJcGoSGt-CBJKPFpW.js} +1 -1
  223. package/dist/assets/{uploadAttachment-nqQ-JycC-9pV7MrnE.js → uploadAttachment-PMsRrXUz-BBJRkZzC.js} +20 -20
  224. package/dist/assets/{uploadReceipts-dxsKhm9I-2_GAIK6m.js → uploadReceipts-dxsKhm9I-Bda3Op9y.js} +1 -1
  225. package/dist/index.html +1 -1
  226. package/package.json +4 -4
  227. package/dist/assets/ACHDetailsPage-DZnFgkJZ-DDsy2m6t.js +0 -21
  228. package/dist/assets/BankAccountWarningSection-BS0dlrJ3-BaiUaE4V.js +0 -51
  229. package/dist/assets/BillDetailPage-CuVdQqQW-IOfqi65V.js +0 -266
  230. package/dist/assets/CardNumberSubText-uxqTFnFX--LrYHxfC.js +0 -21
  231. package/dist/assets/ChargeCardUtils-Bptae9Pt-CYq-MsYY.js +0 -1
  232. package/dist/assets/CustomerOnboardingContainerPage-B8_LR61d-DZh0ZsS1.js +0 -1
  233. package/dist/assets/EditPeoplePage-ZzjDJoTQ-DidkWXNI.js +0 -55
  234. package/dist/assets/InvoiceUploadSection-D79UFJii-FhgETgPb.js +0 -140
  235. package/dist/assets/LabeledAddressValueField-DxW5wUY3-fZGEKDYY.js +0 -45
  236. package/dist/assets/LabeledDocumentField-BQDoGQsy-DjCrwjKi.js +0 -41
  237. package/dist/assets/MagicLinkTitleSection-b4t7XGb8-Bc_IiT_b.js +0 -17
  238. package/dist/assets/PortfolioAllocationFormPage-DJVrByWQ-MfVlBQJr.js +0 -207
  239. package/dist/assets/ReimbursementApprovalRuleDetailPage-CCTo6kvJ-BhsLlWsu.js +0 -26
  240. package/dist/assets/ReviewOverlay-CFgWwm-p-BrjMlpfM.js +0 -152
  241. package/dist/assets/StatementsPage-DD2PvuDv-CJO0D7Zd.js +0 -58
  242. package/dist/assets/ZeniAccountNavBarPieces-BlVvO8S4-Bu0wNDog.js +0 -14
  243. package/dist/assets/ZeniTransferAmountSlider-H-uhh5z4-DVStaopp.js +0 -63
@@ -1,10 +1,10 @@
1
- import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,B as re,o as i,m as se,bS as Ze,F as et,bp as tt,C as I,n as nt,t as D,ao as it,v as De,J as ot,x as ze,cn as at,a2 as G,a8 as fe,f2 as Te,l as J,cv as ct,aS as Ne,fa as qe,fb as lt,fc as st,bv as Ee,q as k,f3 as ge,f4 as we,a0 as Se,bK as xe,$ as rt,b6 as dt,dL as He,g as ie,w as F,f9 as ut,fn as pt,fo as ht,aC as mt,fp as ft}from"./index-IgYBqF_x.js";import{b as r,n}from"./vendor-rkTZJa59.js";import{r as _e}from"./mui-C42whWwM.js";import{M as Pe}from"./ChaseOverlay-DU98sRYz-NBdZIJp3.js";import{a as gt}from"./SetUpAccountSection-d5HPps92-DZbUJeeo.js";import{z as wt,B as Ie}from"./SpendMgmtSetupAccountSection-C3n3CKZp-DgPqGmio.js";import"./analytics-Dr_Q0qi5.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-Ccg-ICil.js";import"./SetUpDefaultSection-D1OXPM9M-2zaSn3KY.js";import"./ChargeCardUtils-Bptae9Pt-CYq-MsYY.js";import"./CreditCardPaymentPlgSection-D5M15mry-CMaSHERV.js";const{settings:{bankConnectionHeader:de}}=re.getLocalizedStrings().common,St={value:de.productType,width:new I(100,19)},xt={value:de.primaryAccount,width:new I(100,36)},yt={value:de.linkAccount,width:new I(100,22)},vt={value:de.status,width:new I(12,12)},kt={value:de.balance,width:new I(12,13)},N=[St,xt,yt,vt,kt],{common:{settings:Oe,strings:{hyphen:ke}},commonSetUp:{setUp:Be}}=re.getLocalizedStrings(),T={containerPadding:new I(k[3],k[4]),containerRightPadding:new I(k[3],k[8]),iconContainerMaxWidthHeight:new I(k[6],k[7]),iconWidthHeight:new I(20,k[4]),iconPadding:new I(k[1],12),productTypeContainerMarginBottom:new I(k[3],k[0]),linkAccountContainerMarginTop:new I(k[3],k[0]),productTypeIconSize:new I(k[3],k[4])},bt="bankConnectionsSettingsPage",$t=({productType:e,windowSize:h})=>{switch(e){case"bill_pay":return t.jsx(Dt,{windowSize:h,children:t.jsx(mt,{})});case"reimbursement":return t.jsx(Nt,{windowSize:h,children:t.jsx(ht,{})});case"zeni_accounts":return t.jsx(qt,{windowSize:h,children:t.jsx(Ne,{})});case"zeni_treasury":return t.jsx(Jt,{windowSize:h,children:t.jsx(pt,{})});case"charge_cards":default:return t.jsx(Ht,{windowSize:h,children:t.jsx(ut,{})})}},Ct=({allBankAccounts:e,setupView:h,connectedAccountProvider:q,onFetchLinkTokenClick:R,onUpdatePaymentAccountStatus:_,onEstablishConnectionClick:P,onEstablishConnectionSuccess:M})=>{const C=ve(),c=je(),f=ze().analytics,{trigger:w,formState:{errors:V}}=at(),{plaidConnectionDetails:U,allFundingAccounts:a,primaryFundingAccount:o,productType:l}=h,m=U.link_account,b=U.update_account,[u,A]=r.useState(void 0),[H,v]=r.useState(!1),W=()=>{v(!0)},d=u==="update_account"?b:m,[S,L]=r.useState(d.linkToken??null),[$,z]=r.useState(!1),g=m.fetchStatus.fetchState==="In-Progress"||m.updateStatus.fetchState==="In-Progress";let p,E,s,j=!1;o!=null&&(o.accType==="depositAccount"?p={code:"verified",name:"Verified"}:(p=o.providerVerificationStatus,E=o?.institutionDetails,s=p?.code,j=o?.isLoginRequired??!1));const Y=G(m.updateStatus.fetchState),Q=G(b.updateStatus.fetchState),ee=G(b.fetchStatus.fetchState),O=C.mode==="light"?new fe(C.colors.brandColorJadeLight):new fe(C.colors.brandColorJadeDark),X=r.useCallback((x,K)=>{f.trackConnectBankSuccess(l,"Settings");const Le=K.accounts.find(Xe=>Xe.id===o?.providerAccountId)??K.accounts[0];o?.id!=null&&u==="update_account"&&Le?.verification_status!=null&&!j?_(Le?.verification_status,o.id,"update_account",y(l),l):P(x,y(l),l),A(void 0),z(!1)},[f,l,o?.id,o?.providerAccountId,u,j,_,P]),te=r.useCallback((x,K)=>{x!=null&&(f.trackConnectBankFailure(l,x.error_code+" "+x.error_message,"Settings"),x.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&o?.id!=null&&_("verification_failed",o.id,"update_account",y(l),l),console.log("Plaid Connection Error",x,K)),A(void 0),z(!1)},[f,l,o?.id,_]),{open:Z,ready:ue}=Te({token:S,onSuccess:X,onExit:te});r.useEffect(()=>{(Y==="In-Progress"&&m.updateStatus.fetchState==="Completed"||Q==="In-Progress"&&b.updateStatus.fetchState==="Completed")&&(J.isVerifiedPaymentAccountProviderStatusCode(s??"")||(R("link_account",y(l)),M(y(l),l)))},[m.updateStatus.fetchState,M,R,o?.providerVerificationStatus?.code,o?.id,Y,Q,b.updateStatus.fetchState,s,l]),r.useEffect(()=>{(J.isVerifiedStatusCode(s??"")||s==="verification_failed")&&!$&&u!=null&&d.linkToken===S&&d.fetchStatus.fetchState==="Completed"&&ue&&z(!0)},[ue,S,d.fetchStatus.fetchState,d.linkToken,s,u,$]);const oe=$e(bt,"primaryAccountSection"),B=ct(V,oe);r.useEffect(()=>{d.fetchStatus.fetchState==="Completed"&&d.linkToken!=null&&d.linkToken!==S&&L(d.linkToken)},[d.fetchStatus.fetchState,d.linkToken,S]),r.useEffect(()=>{$&&Z()},[$,Z]),r.useEffect(()=>{!o?.zeniAccountId&&!B&&w(oe)},[o?.id]),r.useEffect(()=>{(s==null||s==="verification_failed"||s==="verification_expired"||J.isVerifiedStatusCode(s))&&(J.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&R("link_account",y(l))},[]);const ne=()=>{f.trackConnectBankGetBalance(l,"Settings"),A("update_account"),R("update_account",y(l),o?.id)},ae=`${o?.accountSubType?.name!=null?o?.accountSubType?.name.substring(0,1).toUpperCase().concat(o?.accountSubType?.name.substring(1)):""} ${o?.maskedAccountNumber??""}`.trim(),pe=E?.zeniInstitutionId.toLowerCase()==="chase",Je=a.findIndex(x=>x.id===o?.id),Ge={element:t.jsx(Ne,{width:T.iconWidthHeight.valuePx(c)}),color:O};return t.jsxs(At,{windowSize:c,children:[H===!0?_e.createPortal(t.jsx(Pe,{connectedAccountProvider:q,action:{onBackClick:()=>v(!1)}}),document.body):null,t.jsxs(jt,{windowSize:c,wrapperWidth:N[0].width,children:[t.jsx(Tt,{windowSize:c,isDarkMode:C.mode==="dark",children:t.jsx($t,{productType:l,windowSize:c})}),t.jsx(zt,{children:Oe.productNameByType[l]})]}),t.jsx(_t,{windowSize:c,wrapperWidth:N[1].width,children:t.jsxs(Bt,{windowSize:c,children:[o!=null&&c!=="small"?t.jsx(Ot,{isDisabled:j,children:wt(Ge,c,C.mode==="dark",o,Je,!1)}):null,t.jsxs(Ft,{windowSize:c,className:"fundingAccount",children:[t.jsx(qe,{style:{display:c==="small"?"block":"inherit",width:"-webkit-fill-available",color:C.colors.hero},customStyleConfig:{menu:()=>({width:c==="small"?"auto":510})},controlProperty:{controlHeight:k[4],fontWeight:Ee.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:c==="small"?240:300},customPlaceholder:{color:C.colors.hero,weight:Ee.medium},name:$e(l,"primaryAccountSection"),placeholder:Be.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(x,K)=>st(a,x,K),valueToSubLabels:(x,K)=>lt(a,x,K,!1),defaultValue:{selectedOption:o?.id,allOptions:a.map(x=>({label:x.label,value:x.id,isRecommended:x.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,showEmptyState:!1,isDisabled:g?"disabled":void 0,showLoadingIcon:g,onClickCreateOption:()=>{f.trackConnectBank(l,"Settings"),A("link_account"),m.linkToken==null||J.zeniDate(new Date().toISOString()).isAfter(m.expiration)?R("link_account",y(l)):S!==m.linkToken?L(m.linkToken):$?Z():z(!0)}}),t.jsxs(Pt,{isDisabled:j,children:[ae?t.jsxs(t.Fragment,{children:[t.jsx(It,{children:ae}),c!=="small"&&(s!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification"||j||pe)?t.jsx(Et,{}):null]}):null,c==="small"&&p!=null?t.jsx(ge,{style:{width:"max-content",padding:i.sp0,marginLeft:i.sp2},tagTitle:p.name,textColor:we(p.code)}):null,s!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification"||j||pe?t.jsx(Ie,{productType:l,isUpdateLinkClicked:u==="update_account",isLoginRequired:j,isPendingVerification:s!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification",fetchAndUpdateStatues:{fetchStatus:b.fetchStatus,updateStatus:b.updateStatus,linkFetchStatus:m.fetchStatus,linkUpdateStatus:m.updateStatus,prevFetchState:ee,prevUpdateState:Q},onUpdateLinkTokenClick:ne,onChaseInfoClick:W}):null]})]}),c==="small"?t.jsxs(Mt,{children:[o?.accountBalance?.available?t.jsx(Fe,{className:"balanceLabel",children:Se("0,0[.]00",o?.accountBalance?.available)}):t.jsx(be,{children:ke}),o?.accountBalance?.lastRefreshTime?t.jsx(Re,{className:"balanceLabel",children:xe(o?.accountBalance?.lastRefreshTime)}):o?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})}),t.jsxs(Ut,{windowSize:c,isDisabled:j,wrapperWidth:N[2].width,onClick:x=>x.stopPropagation(),"data-testid":rt("bank-account-section",l),className:"qboLinkAcc",children:[c==="small"?t.jsx(Lt,{children:Oe.bankConnectionHeader.linkAccount}):null,t.jsx(Wt,{isDisabled:j?"disabled":void 0,name:$e(l,"bankAccountSection"),placeholder:Be.zeniCashAccountPlaceholder,defaultValue:{selectedOption:o?.zeniAccountId??"",allOptions:e.map(x=>({label:x.accountName,value:x.accountId}))},controlProperty:{highlightOnHover:!0},isOptionRemovable:!1,textAlignment:"left",registerOptions:{required:!1},style:{width:c==="small"?"calc(100% - 135px)":"100%",marginLeft:c==="small"?i.sp0:`-${i.sp3}`}})]}),c!=="small"?t.jsx(Vt,{windowSize:c,wrapperWidth:N[3].width,children:p!=null?t.jsx(ge,{style:{width:"max-content",padding:0},tagTitle:p.name,textColor:we(p.code)}):t.jsx(be,{children:ke})}):null,c!=="small"?t.jsxs(Rt,{windowSize:c,wrapperWidth:N[4].width,children:[o?.accountBalance?.available?t.jsx(Fe,{className:"balanceLabel",children:Se("0,0[.]00",o?.accountBalance?.available)}):t.jsx(be,{children:ke}),o?.accountBalance?.lastRefreshTime?t.jsx(Re,{className:"balanceLabel",children:xe(o?.accountBalance?.lastRefreshTime)}):o?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})},At=n.div`
1
+ import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,R as re,o as i,m as se,bS as Ze,F as et,bp as tt,C as I,n as nt,y as D,ao as it,v as De,X as ot,b as ze,cn as at,a2 as J,a8 as fe,f2 as Te,l as G,cv as ct,aS as Ne,fa as qe,fb as lt,fc as st,bv as Ee,q as b,f3 as ge,f4 as we,a0 as Se,bK as xe,W as rt,b6 as dt,dL as He,f as ie,w as B,f9 as ut,fn as pt,fo as ht,aC as mt,fp as ft}from"./index-DESjn-8d.js";import{b as r,n}from"./vendor-rkTZJa59.js";import{r as _e}from"./mui-C42whWwM.js";import{M as Pe}from"./ChaseOverlay-4Rv__bdV-G7KHiWVk.js";import{a as gt}from"./SetUpAccountSection-DDxjcjeg-CBwjkDjl.js";import{z as wt,B as Ie}from"./SpendMgmtSetupAccountSection-GjJmiN01-CfomDHm3.js";import"./analytics-CcevxdRy.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-CK3r1iTV.js";import"./SetUpDefaultSection-BSWh5Hvi-BrKOFekt.js";import"./ChargeCardUtils-Bv0OpE88-D5Y-HOpD.js";import"./CreditCardPaymentPlgSection-CTpwe7CS-BcL1YjIs.js";const{settings:{bankConnectionHeader:de}}=re.getLocalizedStrings().common,St={value:de.productType,width:new I(100,19)},xt={value:de.primaryAccount,width:new I(100,36)},yt={value:de.linkAccount,width:new I(100,22)},vt={value:de.status,width:new I(12,12)},bt={value:de.balance,width:new I(12,13)},N=[St,xt,yt,vt,bt],{common:{settings:Oe,strings:{hyphen:be}},commonSetUp:{setUp:Fe}}=re.getLocalizedStrings(),T={containerPadding:new I(b[3],b[4]),containerRightPadding:new I(b[3],b[8]),iconContainerMaxWidthHeight:new I(b[6],b[7]),iconWidthHeight:new I(20,b[4]),iconPadding:new I(b[1],12),productTypeContainerMarginBottom:new I(b[3],b[0]),linkAccountContainerMarginTop:new I(b[3],b[0]),productTypeIconSize:new I(b[3],b[4])},kt="bankConnectionsSettingsPage",$t=({productType:e,windowSize:h})=>{switch(e){case"bill_pay":return t.jsx(Dt,{windowSize:h,children:t.jsx(mt,{})});case"reimbursement":return t.jsx(Nt,{windowSize:h,children:t.jsx(ht,{})});case"zeni_accounts":return t.jsx(qt,{windowSize:h,children:t.jsx(Ne,{})});case"zeni_treasury":return t.jsx(Gt,{windowSize:h,children:t.jsx(pt,{})});case"charge_cards":default:return t.jsx(Ht,{windowSize:h,children:t.jsx(ut,{})})}},Ct=({allBankAccounts:e,setupView:h,connectedAccountProvider:q,onFetchLinkTokenClick:R,onUpdatePaymentAccountStatus:_,onEstablishConnectionClick:P,onEstablishConnectionSuccess:M})=>{const C=ve(),c=je(),f=ze().analytics,{trigger:w,formState:{errors:U}}=at(),{plaidConnectionDetails:V,allFundingAccounts:a,primaryFundingAccount:o,productType:l}=h,m=V.link_account,k=V.update_account,[u,A]=r.useState(void 0),[H,v]=r.useState(!1),W=()=>{v(!0)},d=u==="update_account"?k:m,[S,L]=r.useState(d.linkToken??null),[$,z]=r.useState(!1),g=m.fetchStatus.fetchState==="In-Progress"||m.updateStatus.fetchState==="In-Progress";let p,E,s,j=!1;o!=null&&(o.accType==="depositAccount"?p={code:"verified",name:"Verified"}:(p=o.providerVerificationStatus,E=o?.institutionDetails,s=p?.code,j=o?.isLoginRequired??!1));const Y=J(m.updateStatus.fetchState),Q=J(k.updateStatus.fetchState),ee=J(k.fetchStatus.fetchState),O=C.mode==="light"?new fe(C.colors.brandColorJadeLight):new fe(C.colors.brandColorJadeDark),X=r.useCallback((x,K)=>{f.trackConnectBankSuccess(l,"Settings");const Le=K.accounts.find(Xe=>Xe.id===o?.providerAccountId)??K.accounts[0];o?.id!=null&&u==="update_account"&&Le?.verification_status!=null&&!j?_(Le?.verification_status,o.id,"update_account",y(l),l):P(x,y(l),l),A(void 0),z(!1)},[f,l,o?.id,o?.providerAccountId,u,j,_,P]),te=r.useCallback((x,K)=>{x!=null&&(f.trackConnectBankFailure(l,x.error_code+" "+x.error_message,"Settings"),x.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&o?.id!=null&&_("verification_failed",o.id,"update_account",y(l),l),console.log("Plaid Connection Error",x,K)),A(void 0),z(!1)},[f,l,o?.id,_]),{open:Z,ready:ue}=Te({token:S,onSuccess:X,onExit:te});r.useEffect(()=>{(Y==="In-Progress"&&m.updateStatus.fetchState==="Completed"||Q==="In-Progress"&&k.updateStatus.fetchState==="Completed")&&(G.isVerifiedPaymentAccountProviderStatusCode(s??"")||(R("link_account",y(l)),M(y(l),l)))},[m.updateStatus.fetchState,M,R,o?.providerVerificationStatus?.code,o?.id,Y,Q,k.updateStatus.fetchState,s,l]),r.useEffect(()=>{(G.isVerifiedStatusCode(s??"")||s==="verification_failed")&&!$&&u!=null&&d.linkToken===S&&d.fetchStatus.fetchState==="Completed"&&ue&&z(!0)},[ue,S,d.fetchStatus.fetchState,d.linkToken,s,u,$]);const oe=$e(kt,"primaryAccountSection"),F=ct(U,oe);r.useEffect(()=>{d.fetchStatus.fetchState==="Completed"&&d.linkToken!=null&&d.linkToken!==S&&L(d.linkToken)},[d.fetchStatus.fetchState,d.linkToken,S]),r.useEffect(()=>{$&&Z()},[$,Z]),r.useEffect(()=>{!o?.zeniAccountId&&!F&&w(oe)},[o?.id]),r.useEffect(()=>{(s==null||s==="verification_failed"||s==="verification_expired"||G.isVerifiedStatusCode(s))&&(G.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&R("link_account",y(l))},[]);const ne=()=>{f.trackConnectBankGetBalance(l,"Settings"),A("update_account"),R("update_account",y(l),o?.id)},ae=`${o?.accountSubType?.name!=null?o?.accountSubType?.name.substring(0,1).toUpperCase().concat(o?.accountSubType?.name.substring(1)):""} ${o?.maskedAccountNumber??""}`.trim(),pe=E?.zeniInstitutionId.toLowerCase()==="chase",Ge=a.findIndex(x=>x.id===o?.id),Je={element:t.jsx(Ne,{width:T.iconWidthHeight.valuePx(c)}),color:O};return t.jsxs(At,{windowSize:c,children:[H===!0?_e.createPortal(t.jsx(Pe,{connectedAccountProvider:q,action:{onBackClick:()=>v(!1)}}),document.body):null,t.jsxs(jt,{windowSize:c,wrapperWidth:N[0].width,children:[t.jsx(Tt,{windowSize:c,isDarkMode:C.mode==="dark",children:t.jsx($t,{productType:l,windowSize:c})}),t.jsx(zt,{children:Oe.productNameByType[l]})]}),t.jsx(_t,{windowSize:c,wrapperWidth:N[1].width,children:t.jsxs(Ft,{windowSize:c,children:[o!=null&&c!=="small"?t.jsx(Ot,{isDisabled:j,children:wt(Je,c,C.mode==="dark",o,Ge,!1)}):null,t.jsxs(Bt,{windowSize:c,className:"fundingAccount",children:[t.jsx(qe,{style:{display:c==="small"?"block":"inherit",width:"-webkit-fill-available",color:C.colors.hero},customStyleConfig:{menu:()=>({width:c==="small"?"auto":510})},controlProperty:{controlHeight:b[4],fontWeight:Ee.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:c==="small"?240:300},customPlaceholder:{color:C.colors.hero,weight:Ee.medium},name:$e(l,"primaryAccountSection"),placeholder:Fe.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(x,K)=>st(a,x,K),valueToSubLabels:(x,K)=>lt(a,x,K,!1),defaultValue:{selectedOption:o?.id,allOptions:a.map(x=>({label:x.label,value:x.id,isRecommended:x.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,showEmptyState:!1,isDisabled:g?"disabled":void 0,showLoadingIcon:g,onClickCreateOption:()=>{f.trackConnectBank(l,"Settings"),A("link_account"),m.linkToken==null||G.zeniDate(new Date().toISOString()).isAfter(m.expiration)?R("link_account",y(l)):S!==m.linkToken?L(m.linkToken):$?Z():z(!0)}}),t.jsxs(Pt,{isDisabled:j,children:[ae?t.jsxs(t.Fragment,{children:[t.jsx(It,{children:ae}),c!=="small"&&(s!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification"||j||pe)?t.jsx(Et,{}):null]}):null,c==="small"&&p!=null?t.jsx(ge,{style:{width:"max-content",padding:i.sp0,marginLeft:i.sp2},tagTitle:p.name,textColor:we(p.code)}):null,s!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification"||j||pe?t.jsx(Ie,{productType:l,isUpdateLinkClicked:u==="update_account",isLoginRequired:j,isPendingVerification:s!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification",fetchAndUpdateStatues:{fetchStatus:k.fetchStatus,updateStatus:k.updateStatus,linkFetchStatus:m.fetchStatus,linkUpdateStatus:m.updateStatus,prevFetchState:ee,prevUpdateState:Q},onUpdateLinkTokenClick:ne,onChaseInfoClick:W}):null]})]}),c==="small"?t.jsxs(Mt,{children:[o?.accountBalance?.available?t.jsx(Be,{className:"balanceLabel",children:Se("0,0[.]00",o?.accountBalance?.available)}):t.jsx(ke,{children:be}),o?.accountBalance?.lastRefreshTime?t.jsx(Re,{className:"balanceLabel",children:xe(o?.accountBalance?.lastRefreshTime)}):o?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})}),t.jsxs(Vt,{windowSize:c,isDisabled:j,wrapperWidth:N[2].width,onClick:x=>x.stopPropagation(),"data-testid":rt("bank-account-section",l),className:"qboLinkAcc",children:[c==="small"?t.jsx(Lt,{children:Oe.bankConnectionHeader.linkAccount}):null,t.jsx(Wt,{isDisabled:j?"disabled":void 0,name:$e(l,"bankAccountSection"),placeholder:Fe.zeniCashAccountPlaceholder,defaultValue:{selectedOption:o?.zeniAccountId??"",allOptions:e.map(x=>({label:x.accountName,value:x.accountId}))},controlProperty:{highlightOnHover:!0},isOptionRemovable:!1,textAlignment:"left",registerOptions:{required:!1},style:{width:c==="small"?"calc(100% - 135px)":"100%",marginLeft:c==="small"?i.sp0:`-${i.sp3}`}})]}),c!=="small"?t.jsx(Ut,{windowSize:c,wrapperWidth:N[3].width,children:p!=null?t.jsx(ge,{style:{width:"max-content",padding:0},tagTitle:p.name,textColor:we(p.code)}):t.jsx(ke,{children:be})}):null,c!=="small"?t.jsxs(Rt,{windowSize:c,wrapperWidth:N[4].width,children:[o?.accountBalance?.available?t.jsx(Be,{className:"balanceLabel",children:Se("0,0[.]00",o?.accountBalance?.available)}):t.jsx(ke,{children:be}),o?.accountBalance?.lastRefreshTime?t.jsx(Re,{className:"balanceLabel",children:xe(o?.accountBalance?.lastRefreshTime)}):o?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})},At=n.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
5
5
  padding: ${e=>T.containerPadding.valuePx(e.windowSize)};
6
6
  padding-right: ${e=>T.containerRightPadding.valuePx(e.windowSize)};
7
- `,be=n.div`
7
+ `,ke=n.div`
8
8
  color: ${e=>e.theme.colors.hero};
9
9
  display: flex;
10
10
  align-items: flex-end;
@@ -38,19 +38,19 @@ import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,B as re,o as i,m as se,b
38
38
  display: flex;
39
39
  flex-direction: column;
40
40
  width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
41
- `,Pt=n(F)`
41
+ `,Pt=n(B)`
42
42
  display: flex;
43
43
  align-items: center;
44
44
  color: ${e=>e.isDisabled?e.theme.colors.grey1:"inherit"};
45
45
  flex-wrap: wrap;
46
46
  `,It=n.div`
47
47
  display: flex;
48
- `,Fe=n(D)`
48
+ `,Be=n(D)`
49
49
  display: flex;
50
50
  justify-content: flex-end;
51
- `,Re=n(F)`
51
+ `,Re=n(B)`
52
52
  color: ${e=>e.theme.colors.hero};
53
- `,Lt=n(F)`
53
+ `,Lt=n(B)`
54
54
  color: ${e=>e.theme.colors.grey1};
55
55
  width: 135px;
56
56
  `,Et=n.div`
@@ -64,10 +64,10 @@ import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,B as re,o as i,m as se,b
64
64
  `,Ot=n.div`
65
65
  display: flex;
66
66
  opacity: ${e=>e.isDisabled?.8:1};
67
- `,Bt=n.div`
67
+ `,Ft=n.div`
68
68
  display: flex;
69
69
  justify-content: flex-start;
70
- `,Ft=n.div`
70
+ `,Bt=n.div`
71
71
  display: flex;
72
72
  flex-direction: column;
73
73
  width: ${e=>e.windowSize==="small"?"64%":"100%"};
@@ -83,9 +83,9 @@ import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,B as re,o as i,m as se,b
83
83
  align-items: flex-end;
84
84
  justify-content: center;
85
85
  width: 36%;
86
- `,Vt=n.div`
87
- width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
88
86
  `,Ut=n.div`
87
+ width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
88
+ `,Vt=n.div`
89
89
  display: flex;
90
90
  align-items: center;
91
91
  opacity: ${e=>e.isDisabled?.4:1};
@@ -136,7 +136,7 @@ import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,B as re,o as i,m as se,b
136
136
  width: 100%;
137
137
  height: 100%;
138
138
  }
139
- `,Jt=n.div`
139
+ `,Gt=n.div`
140
140
  width: ${e=>T.productTypeIconSize.valuePx(e.windowSize)};
141
141
  height: ${e=>T.productTypeIconSize.valuePx(e.windowSize)};
142
142
  display: flex;
@@ -146,7 +146,7 @@ import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,B as re,o as i,m as se,b
146
146
  width: 100%;
147
147
  height: 100%;
148
148
  }
149
- `,$e=(e,h)=>`${e}.${h}`,y=e=>{switch(e){case"zeni_accounts":return"account_setup";case"bill_pay":return"bill_pay_setup";case"charge_cards":return"charge_card_setup";case"reimbursement":return"reimbursement_setup";case"zeni_treasury":return"treasury_setup";case"other_connection":return"other_connection_setup"}},{common:{settings:Ce,strings:{empty:Gt,hyphen:Xt}}}=re.getLocalizedStrings(),he={paymentAccountIconSize:new I(k[6],k[7])},Kt=()=>null,Yt=({paymentAccount:e,bankAccountList:h,balanceFetchStatus:q,connectedAccountProvider:R,onRemoveConnection:_,onFetchLinkTokenClick:P,onEstablishConnectionClick:M,onEstablishConnectionSuccess:C,onUpdatePaymentAccountStatus:c})=>{const f=ve(),w=je(),V=ze().analytics,[U,a]=r.useState(!1),[o,l]=r.useState(!1),m=()=>{l(!0)},b=e.plaidConnectionDetails.link_account,u=e.plaidConnectionDetails.update_account,[A,H]=r.useState(void 0),v=A==="update_account"?u:b,[W,d]=r.useState(v.linkToken??null),[S,L]=r.useState(!1),$=G(b.updateStatus.fetchState),z=G(u.updateStatus.fetchState),g=G(u.fetchStatus.fetchState),p=e?.providerVerificationStatus,E=e?.isLoginRequired??!1,s="other_connection",j=p?.code,Y=r.useCallback((B,ne)=>{V.trackConnectBankSuccess(s,"Settings");const ae=ne.accounts.find(pe=>pe.id===e.providerAccountId)??ne.accounts[0];e.paymentAccountId!=null&&A==="update_account"&&ae?.verification_status!=null&&!E?c(ae?.verification_status,e.paymentAccountId,"update_account",y(s),s):M(B,y(s),s),H(void 0),L(!1)},[V,s,e.paymentAccountId,e.providerAccountId,A,E,c,M]),Q=r.useCallback((B,ne)=>{B!=null&&(V.trackConnectBankFailure(s,B.error_code+" "+B.error_message,"Settings"),B.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e.paymentAccountId!=null&&c("verification_failed",e.paymentAccountId,"update_account",y(s),s),console.log("Plaid Connection Error",B,ne)),H(void 0),L(!1)},[V,s,e.paymentAccountId,c]),{open:ee,ready:O}=Te({token:W,onSuccess:Y,onExit:Q});r.useEffect(()=>{v.fetchStatus.fetchState==="Completed"&&v.linkToken!=null&&v.linkToken!==W&&d(v.linkToken)},[v.fetchStatus.fetchState,v.linkToken,W]),r.useEffect(()=>{S&&ee()},[S,ee]),r.useEffect(()=>{($==="In-Progress"&&b.updateStatus.fetchState==="Completed"||z==="In-Progress"&&u.updateStatus.fetchState==="Completed")&&(J.isVerifiedStatusCode(j??"")||(P("link_account",y(s)),C(y(s),s)))},[b.updateStatus.fetchState,C,P,e?.providerVerificationStatus?.code,e?.paymentAccountId,$,z,u.updateStatus.fetchState,j,s]),r.useEffect(()=>{(J.isVerifiedStatusCode(j??"")||j==="verification_failed")&&!S&&A!=null&&v.linkToken===W&&v.fetchStatus.fetchState==="Completed"&&O&&L(!0)},[O,W,v.fetchStatus.fetchState,v.linkToken,j,A,S]);const X=()=>{V.trackConnectBankGetBalance(s,"Settings"),H("update_account"),P("update_account",y(s),e.paymentAccountId)},te=f.mode==="light"?new fe(f.colors.brandColorJadeLight):new fe(f.colors.brandColorJadeDark),Z={element:t.jsx(dn,{windowSize:w,children:t.jsx(ft,{})}),color:te},ue=h.find(B=>B.accountId===e.zeniAccountId),oe=()=>{a(B=>!B)};return t.jsxs(Qt,{onMouseEnter:oe,onMouseLeave:oe,children:[o===!0?_e.createPortal(t.jsx(Pe,{connectedAccountProvider:R,action:{onBackClick:()=>l(!1)}}),document.body):null,t.jsxs(Zt,{windowSize:w,wrapperWidth:N[0].width,children:[t.jsx(en,{children:Ce.otherAccount.title}),t.jsx(tn,{children:Ce.otherAccount.subTitle})]}),t.jsxs(nn,{windowSize:w,wrapperWidth:N[1].width,children:[gt(Z,w,f.mode==="dark",e,!0),t.jsxs(un,{children:[t.jsx(pn,{children:t.jsx(gn,{windowSize:w,children:e.institutionDetails.institutionName})}),t.jsxs(hn,{windowSize:w,children:[t.jsxs(wn,{children:[t.jsx(mn,{children:e.accountSubType?.name}),t.jsx(fn,{children:e.maskedAccountNumber}),E&&t.jsx(Sn,{})]}),E&&t.jsx(Ie,{productType:"other_connection",isUpdateLinkClicked:A==="update_account",isLoginRequired:E,isPendingVerification:!1,fetchAndUpdateStatues:{fetchStatus:u.fetchStatus,updateStatus:u.updateStatus,linkFetchStatus:b.fetchStatus,linkUpdateStatus:b.updateStatus,prevFetchState:g,prevUpdateState:z},onUpdateLinkTokenClick:X,onChaseInfoClick:m})]})]})]}),t.jsx(on,{windowSize:w,wrapperWidth:N[2].width,children:ue?.accountName??Gt}),t.jsx(an,{windowSize:w,wrapperWidth:N[3].width,children:p!=null?t.jsx(ge,{style:{width:"max-content",padding:0,marginTop:i.sp2},tagTitle:p.name,textColor:we(p.code)}):Xt}),t.jsxs(cn,{windowSize:w,wrapperWidth:N[4].width,children:[t.jsx(ln,{className:"balanceLabel",isRemoveHovered:U,children:Se("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(sn,{className:"balanceLabel",isRemoveHovered:U,children:xe(e.balances?.lastRefreshTime)}):q?.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null,U&&t.jsx(rn,{children:t.jsx(He,{moreIconType:"plain",options:[{label:Ce.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:f.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,borderRadius:i.sp1,marginTop:i.sp2,background:f.colors.grey5,width:"162px",border:`1px solid ${f.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${ie.boxShadowElevation}`}),option:()=>({height:i.sp6,paddingLeft:i.sp3,paddingRight:i.sp3,display:"flex",alignItems:"center",color:ie.important,":hover":{color:ie.important,backgroundColor:f.colors.background}})},menuPlacement:"bottom",onOptionSelection:B=>{B==="remove"&&_(e.paymentAccountId)},valueToIcon:Kt})})]})]})},Qt=n.div`
149
+ `,$e=(e,h)=>`${e}.${h}`,y=e=>{switch(e){case"zeni_accounts":return"account_setup";case"bill_pay":return"bill_pay_setup";case"charge_cards":return"charge_card_setup";case"reimbursement":return"reimbursement_setup";case"zeni_treasury":return"treasury_setup";case"other_connection":return"other_connection_setup"}},{common:{settings:Ce,strings:{empty:Jt,hyphen:Xt}}}=re.getLocalizedStrings(),he={paymentAccountIconSize:new I(b[6],b[7])},Kt=()=>null,Yt=({paymentAccount:e,bankAccountList:h,balanceFetchStatus:q,connectedAccountProvider:R,onRemoveConnection:_,onFetchLinkTokenClick:P,onEstablishConnectionClick:M,onEstablishConnectionSuccess:C,onUpdatePaymentAccountStatus:c})=>{const f=ve(),w=je(),U=ze().analytics,[V,a]=r.useState(!1),[o,l]=r.useState(!1),m=()=>{l(!0)},k=e.plaidConnectionDetails.link_account,u=e.plaidConnectionDetails.update_account,[A,H]=r.useState(void 0),v=A==="update_account"?u:k,[W,d]=r.useState(v.linkToken??null),[S,L]=r.useState(!1),$=J(k.updateStatus.fetchState),z=J(u.updateStatus.fetchState),g=J(u.fetchStatus.fetchState),p=e?.providerVerificationStatus,E=e?.isLoginRequired??!1,s="other_connection",j=p?.code,Y=r.useCallback((F,ne)=>{U.trackConnectBankSuccess(s,"Settings");const ae=ne.accounts.find(pe=>pe.id===e.providerAccountId)??ne.accounts[0];e.paymentAccountId!=null&&A==="update_account"&&ae?.verification_status!=null&&!E?c(ae?.verification_status,e.paymentAccountId,"update_account",y(s),s):M(F,y(s),s),H(void 0),L(!1)},[U,s,e.paymentAccountId,e.providerAccountId,A,E,c,M]),Q=r.useCallback((F,ne)=>{F!=null&&(U.trackConnectBankFailure(s,F.error_code+" "+F.error_message,"Settings"),F.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e.paymentAccountId!=null&&c("verification_failed",e.paymentAccountId,"update_account",y(s),s),console.log("Plaid Connection Error",F,ne)),H(void 0),L(!1)},[U,s,e.paymentAccountId,c]),{open:ee,ready:O}=Te({token:W,onSuccess:Y,onExit:Q});r.useEffect(()=>{v.fetchStatus.fetchState==="Completed"&&v.linkToken!=null&&v.linkToken!==W&&d(v.linkToken)},[v.fetchStatus.fetchState,v.linkToken,W]),r.useEffect(()=>{S&&ee()},[S,ee]),r.useEffect(()=>{($==="In-Progress"&&k.updateStatus.fetchState==="Completed"||z==="In-Progress"&&u.updateStatus.fetchState==="Completed")&&(G.isVerifiedStatusCode(j??"")||(P("link_account",y(s)),C(y(s),s)))},[k.updateStatus.fetchState,C,P,e?.providerVerificationStatus?.code,e?.paymentAccountId,$,z,u.updateStatus.fetchState,j,s]),r.useEffect(()=>{(G.isVerifiedStatusCode(j??"")||j==="verification_failed")&&!S&&A!=null&&v.linkToken===W&&v.fetchStatus.fetchState==="Completed"&&O&&L(!0)},[O,W,v.fetchStatus.fetchState,v.linkToken,j,A,S]);const X=()=>{U.trackConnectBankGetBalance(s,"Settings"),H("update_account"),P("update_account",y(s),e.paymentAccountId)},te=f.mode==="light"?new fe(f.colors.brandColorJadeLight):new fe(f.colors.brandColorJadeDark),Z={element:t.jsx(dn,{windowSize:w,children:t.jsx(ft,{})}),color:te},ue=h.find(F=>F.accountId===e.zeniAccountId),oe=()=>{a(F=>!F)};return t.jsxs(Qt,{onMouseEnter:oe,onMouseLeave:oe,children:[o===!0?_e.createPortal(t.jsx(Pe,{connectedAccountProvider:R,action:{onBackClick:()=>l(!1)}}),document.body):null,t.jsxs(Zt,{windowSize:w,wrapperWidth:N[0].width,children:[t.jsx(en,{children:Ce.otherAccount.title}),t.jsx(tn,{children:Ce.otherAccount.subTitle})]}),t.jsxs(nn,{windowSize:w,wrapperWidth:N[1].width,children:[gt(Z,w,f.mode==="dark",e,!0),t.jsxs(un,{children:[t.jsx(pn,{children:t.jsx(gn,{windowSize:w,children:e.institutionDetails.institutionName})}),t.jsxs(hn,{windowSize:w,children:[t.jsxs(wn,{children:[t.jsx(mn,{children:e.accountSubType?.name}),t.jsx(fn,{children:e.maskedAccountNumber}),E&&t.jsx(Sn,{})]}),E&&t.jsx(Ie,{productType:"other_connection",isUpdateLinkClicked:A==="update_account",isLoginRequired:E,isPendingVerification:!1,fetchAndUpdateStatues:{fetchStatus:u.fetchStatus,updateStatus:u.updateStatus,linkFetchStatus:k.fetchStatus,linkUpdateStatus:k.updateStatus,prevFetchState:g,prevUpdateState:z},onUpdateLinkTokenClick:X,onChaseInfoClick:m})]})]})]}),t.jsx(on,{windowSize:w,wrapperWidth:N[2].width,children:ue?.accountName??Jt}),t.jsx(an,{windowSize:w,wrapperWidth:N[3].width,children:p!=null?t.jsx(ge,{style:{width:"max-content",padding:0,marginTop:i.sp2},tagTitle:p.name,textColor:we(p.code)}):Xt}),t.jsxs(cn,{windowSize:w,wrapperWidth:N[4].width,children:[t.jsx(ln,{className:"balanceLabel",isRemoveHovered:V,children:Se("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(sn,{className:"balanceLabel",isRemoveHovered:V,children:xe(e.balances?.lastRefreshTime)}):q?.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null,V&&t.jsx(rn,{children:t.jsx(He,{moreIconType:"plain",options:[{label:Ce.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:f.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,borderRadius:i.sp1,marginTop:i.sp2,background:f.colors.grey5,width:"162px",border:`1px solid ${f.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${ie.boxShadowElevation}`}),option:()=>({height:i.sp6,paddingLeft:i.sp3,paddingRight:i.sp3,display:"flex",alignItems:"center",color:ie.important,":hover":{color:ie.important,backgroundColor:f.colors.background}})},menuPlacement:"bottom",onOptionSelection:F=>{F==="remove"&&_(e.paymentAccountId)},valueToIcon:Kt})})]})]})},Qt=n.div`
150
150
  display: flex;
151
151
  padding: ${i.sp4};
152
152
  padding-right: ${i.sp8};
@@ -161,7 +161,7 @@ import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,B as re,o as i,m as se,b
161
161
  color: ${e=>e.theme.colors.grey1};
162
162
  display: flex;
163
163
  align-items: center;
164
- `,tn=n(F)`
164
+ `,tn=n(B)`
165
165
  color: ${e=>e.theme.colors.grey1};
166
166
  display: flex;
167
167
  align-items: center;
@@ -185,7 +185,7 @@ import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,B as re,o as i,m as se,b
185
185
  align-items: flex-end;
186
186
  `,ln=n(D)`
187
187
  color: ${e=>e.theme.colors.hero};
188
- `,sn=n(F)`
188
+ `,sn=n(B)`
189
189
  color: ${e=>e.theme.colors.hero};
190
190
  `,rn=n.div`
191
191
  position: absolute;
@@ -210,10 +210,10 @@ import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,B as re,o as i,m as se,b
210
210
  display: flex;
211
211
  flex-direction: ${e=>e.windowSize==="large"||e.windowSize==="extra-large"?"row":"column"};
212
212
  align-items: ${e=>e.windowSize==="large"||e.windowSize==="extra-large"?"center":"start"};
213
- `,mn=n(F)`
213
+ `,mn=n(B)`
214
214
  text-transform: capitalize;
215
215
  color: inherit;
216
- `,fn=n(F)`
216
+ `,fn=n(B)`
217
217
  margin-left: ${i.sp1};
218
218
  `,gn=n(D)`
219
219
  max-width: ${`calc(100% - ${i.sp3})`};
@@ -230,11 +230,11 @@ import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,B as re,o as i,m as se,b
230
230
  height: ${i.sp1};
231
231
  cursor: inherit;
232
232
  background-color: ${e=>e.theme.colors.grey1};
233
- `,{common:{settings:me,strings:{empty:xn}}}=re.getLocalizedStrings(),yn=()=>null,vn=({paymentAccount:e,bankAccountList:h,balanceFetchStatus:q,connectedAccountProvider:R,onRemoveConnection:_,onFetchLinkTokenClick:P,onEstablishConnectionClick:M,onEstablishConnectionSuccess:C,onUpdatePaymentAccountStatus:c})=>{const f=ve(),w=ze().analytics,[V,U]=r.useState(!1),a=()=>{U(!0)},o=e.plaidConnectionDetails.link_account,l=e.plaidConnectionDetails.update_account,[m,b]=r.useState(void 0),u=m==="update_account"?l:o,[A,H]=r.useState(u.linkToken??null),[v,W]=r.useState(!1),d=G(o.updateStatus.fetchState),S=G(l.updateStatus.fetchState),L=G(l.fetchStatus.fetchState),$=e?.providerVerificationStatus,z=e?.isLoginRequired??!1,g="other_connection",p=$?.code,E=r.useCallback((O,X)=>{w.trackConnectBankSuccess(g,"Settings");const te=X.accounts.find(Z=>Z.id===e.providerAccountId)??X.accounts[0];e.paymentAccountId!=null&&m==="update_account"&&te?.verification_status!=null&&!z?c(te?.verification_status,e.paymentAccountId,"update_account",y(g),g):M(O,y(g),g),b(void 0),W(!1)},[w,g,e.paymentAccountId,e.providerAccountId,m,z,c,M]),s=r.useCallback((O,X)=>{O!=null&&(w.trackConnectBankFailure(g,O.error_code+" "+O.error_message,"Settings"),O.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e.paymentAccountId!=null&&c("verification_failed",e.paymentAccountId,"update_account",y(g),g),console.log("Plaid Connection Error",O,X)),b(void 0),W(!1)},[w,g,e.paymentAccountId,c]),{open:j,ready:Y}=Te({token:A,onSuccess:E,onExit:s});r.useEffect(()=>{u.fetchStatus.fetchState==="Completed"&&u.linkToken!=null&&u.linkToken!==A&&H(u.linkToken)},[u.fetchStatus.fetchState,u.linkToken,A]),r.useEffect(()=>{v&&j()},[v,j]),r.useEffect(()=>{(d==="In-Progress"&&o.updateStatus.fetchState==="Completed"||S==="In-Progress"&&l.updateStatus.fetchState==="Completed")&&(J.isVerifiedStatusCode(p??"")||(P("link_account",y(g)),C(y(g),g)))},[o.updateStatus.fetchState,C,P,e?.providerVerificationStatus?.code,e?.paymentAccountId,d,S,l.updateStatus.fetchState,p,g]),r.useEffect(()=>{(J.isVerifiedStatusCode(p??"")||p==="verification_failed")&&!v&&m!=null&&u.linkToken===A&&u.fetchStatus.fetchState==="Completed"&&Y&&W(!0)},[Y,A,u.fetchStatus.fetchState,u.linkToken,p,m,v]);const Q=()=>{w.trackConnectBankGetBalance(g,"Settings"),b("update_account"),P("update_account",y(g),e.paymentAccountId)},ee=h.find(O=>O.accountId===e.zeniAccountId);return t.jsxs(kn,{children:[V===!0?_e.createPortal(t.jsx(Pe,{connectedAccountProvider:R,action:{onBackClick:()=>U(!1)}}),document.body):null,t.jsxs(bn,{children:[t.jsx($n,{children:`${me.otherAccount.title} ${me.otherAccount.subTitleSmall}`}),t.jsx(He,{moreIconType:"plain",options:[{label:me.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:f.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,width:"158px",border:`1px solid ${f.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${ie.boxShadowElevation}`}),option:()=>({color:f.colors.important,":hover":{color:f.colors.important,backgroundColor:f.colors.background}})},menuPlacement:"bottom",onOptionSelection:O=>{O==="remove"&&_(e.paymentAccountId)},valueToIcon:yn})]}),t.jsxs(Cn,{children:[t.jsxs(Ln,{children:[t.jsx(En,{children:t.jsx(Fn,{children:e.institutionDetails.institutionName})}),t.jsxs(Rn,{children:[t.jsx(On,{children:e.accountSubType?.name}),t.jsx(Bn,{children:e.maskedAccountNumber}),t.jsx(Tn,{children:$!=null?t.jsx(ge,{style:{width:"max-content",padding:0},tagTitle:$.name,textColor:we($.code)}):null}),z&&t.jsx(Ie,{productType:"other_connection",isUpdateLinkClicked:m==="update_account",isLoginRequired:z,isPendingVerification:!1,fetchAndUpdateStatues:{fetchStatus:l.fetchStatus,updateStatus:l.updateStatus,linkFetchStatus:o.fetchStatus,linkUpdateStatus:o.updateStatus,prevFetchState:L,prevUpdateState:S},onUpdateLinkTokenClick:Q,onChaseInfoClick:a})]})]}),t.jsxs(_n,{children:[t.jsx(Pn,{className:"balanceLabel",children:Se("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(In,{className:"balanceLabel",children:xe(e.balances?.lastRefreshTime)}):q?.fetchState==="In-Progress"?t.jsx(se,{size:"ExtraSmall",start:!0}):null]})]}),t.jsxs(An,{children:[t.jsx(jn,{children:me.bankConnectionHeader.linkAccount}),t.jsx(zn,{children:ee?.accountName??xn})]})]})},kn=n.div`
233
+ `,{common:{settings:me,strings:{empty:xn}}}=re.getLocalizedStrings(),yn=()=>null,vn=({paymentAccount:e,bankAccountList:h,balanceFetchStatus:q,connectedAccountProvider:R,onRemoveConnection:_,onFetchLinkTokenClick:P,onEstablishConnectionClick:M,onEstablishConnectionSuccess:C,onUpdatePaymentAccountStatus:c})=>{const f=ve(),w=ze().analytics,[U,V]=r.useState(!1),a=()=>{V(!0)},o=e.plaidConnectionDetails.link_account,l=e.plaidConnectionDetails.update_account,[m,k]=r.useState(void 0),u=m==="update_account"?l:o,[A,H]=r.useState(u.linkToken??null),[v,W]=r.useState(!1),d=J(o.updateStatus.fetchState),S=J(l.updateStatus.fetchState),L=J(l.fetchStatus.fetchState),$=e?.providerVerificationStatus,z=e?.isLoginRequired??!1,g="other_connection",p=$?.code,E=r.useCallback((O,X)=>{w.trackConnectBankSuccess(g,"Settings");const te=X.accounts.find(Z=>Z.id===e.providerAccountId)??X.accounts[0];e.paymentAccountId!=null&&m==="update_account"&&te?.verification_status!=null&&!z?c(te?.verification_status,e.paymentAccountId,"update_account",y(g),g):M(O,y(g),g),k(void 0),W(!1)},[w,g,e.paymentAccountId,e.providerAccountId,m,z,c,M]),s=r.useCallback((O,X)=>{O!=null&&(w.trackConnectBankFailure(g,O.error_code+" "+O.error_message,"Settings"),O.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e.paymentAccountId!=null&&c("verification_failed",e.paymentAccountId,"update_account",y(g),g),console.log("Plaid Connection Error",O,X)),k(void 0),W(!1)},[w,g,e.paymentAccountId,c]),{open:j,ready:Y}=Te({token:A,onSuccess:E,onExit:s});r.useEffect(()=>{u.fetchStatus.fetchState==="Completed"&&u.linkToken!=null&&u.linkToken!==A&&H(u.linkToken)},[u.fetchStatus.fetchState,u.linkToken,A]),r.useEffect(()=>{v&&j()},[v,j]),r.useEffect(()=>{(d==="In-Progress"&&o.updateStatus.fetchState==="Completed"||S==="In-Progress"&&l.updateStatus.fetchState==="Completed")&&(G.isVerifiedStatusCode(p??"")||(P("link_account",y(g)),C(y(g),g)))},[o.updateStatus.fetchState,C,P,e?.providerVerificationStatus?.code,e?.paymentAccountId,d,S,l.updateStatus.fetchState,p,g]),r.useEffect(()=>{(G.isVerifiedStatusCode(p??"")||p==="verification_failed")&&!v&&m!=null&&u.linkToken===A&&u.fetchStatus.fetchState==="Completed"&&Y&&W(!0)},[Y,A,u.fetchStatus.fetchState,u.linkToken,p,m,v]);const Q=()=>{w.trackConnectBankGetBalance(g,"Settings"),k("update_account"),P("update_account",y(g),e.paymentAccountId)},ee=h.find(O=>O.accountId===e.zeniAccountId);return t.jsxs(bn,{children:[U===!0?_e.createPortal(t.jsx(Pe,{connectedAccountProvider:R,action:{onBackClick:()=>V(!1)}}),document.body):null,t.jsxs(kn,{children:[t.jsx($n,{children:`${me.otherAccount.title} ${me.otherAccount.subTitleSmall}`}),t.jsx(He,{moreIconType:"plain",options:[{label:me.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:f.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,width:"158px",border:`1px solid ${f.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${ie.boxShadowElevation}`}),option:()=>({color:f.colors.important,":hover":{color:f.colors.important,backgroundColor:f.colors.background}})},menuPlacement:"bottom",onOptionSelection:O=>{O==="remove"&&_(e.paymentAccountId)},valueToIcon:yn})]}),t.jsxs(Cn,{children:[t.jsxs(Ln,{children:[t.jsx(En,{children:t.jsx(Bn,{children:e.institutionDetails.institutionName})}),t.jsxs(Rn,{children:[t.jsx(On,{children:e.accountSubType?.name}),t.jsx(Fn,{children:e.maskedAccountNumber}),t.jsx(Tn,{children:$!=null?t.jsx(ge,{style:{width:"max-content",padding:0},tagTitle:$.name,textColor:we($.code)}):null}),z&&t.jsx(Ie,{productType:"other_connection",isUpdateLinkClicked:m==="update_account",isLoginRequired:z,isPendingVerification:!1,fetchAndUpdateStatues:{fetchStatus:l.fetchStatus,updateStatus:l.updateStatus,linkFetchStatus:o.fetchStatus,linkUpdateStatus:o.updateStatus,prevFetchState:L,prevUpdateState:S},onUpdateLinkTokenClick:Q,onChaseInfoClick:a})]})]}),t.jsxs(_n,{children:[t.jsx(Pn,{className:"balanceLabel",children:Se("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(In,{className:"balanceLabel",children:xe(e.balances?.lastRefreshTime)}):q?.fetchState==="In-Progress"?t.jsx(se,{size:"ExtraSmall",start:!0}):null]})]}),t.jsxs(An,{children:[t.jsx(jn,{children:me.bankConnectionHeader.linkAccount}),t.jsx(zn,{children:ee?.accountName??xn})]})]})},bn=n.div`
234
234
  display: flex;
235
235
  flex-direction: column;
236
236
  padding: ${i.sp3};
237
- `,bn=n.div`
237
+ `,kn=n.div`
238
238
  display: flex;
239
239
  align-items: center;
240
240
  flex-direction: row;
@@ -254,10 +254,10 @@ import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,B as re,o as i,m as se,b
254
254
  `,An=n.div`
255
255
  display: flex;
256
256
  align-items: center;
257
- `,jn=n(F)`
257
+ `,jn=n(B)`
258
258
  color: ${e=>e.theme.colors.grey1};
259
259
  margin-right: ${i.sp2};
260
- `,zn=n(F)`
260
+ `,zn=n(B)`
261
261
  color: ${e=>e.theme.colors.hero};
262
262
  `,Tn=n(D)`
263
263
  display: flex;
@@ -269,7 +269,7 @@ import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,B as re,o as i,m as se,b
269
269
  flex-direction: column;
270
270
  `,Pn=n(D)`
271
271
  color: ${e=>e.theme.colors.hero};
272
- `,In=n(F)`
272
+ `,In=n(B)`
273
273
  color: ${e=>e.theme.colors.hero};
274
274
  `,Ln=n.div``,En=n.div`
275
275
  display: flex;
@@ -277,11 +277,11 @@ import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,B as re,o as i,m as se,b
277
277
  align-items: center;
278
278
  white-space: nowrap;
279
279
  overflow: hidden;
280
- `,On=n(F)`
280
+ `,On=n(B)`
281
281
  text-transform: capitalize;
282
- `,Bn=n(F)`
282
+ `,Fn=n(B)`
283
283
  margin-left: ${i.sp1};
284
- `,Fn=n(D)`
284
+ `,Bn=n(D)`
285
285
  max-width: ${`calc(100% - ${i.sp3})`};
286
286
  text-transform: capitalize;
287
287
  overflow: hidden;
@@ -291,7 +291,7 @@ import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,B as re,o as i,m as se,b
291
291
  align-items: center;
292
292
  flex-wrap: wrap;
293
293
  gap: ${i.sp2};
294
- `,{settings:{bankConnectionListHeader:Ae,title:Mn,infoText:Vn}}=re.getLocalizedStrings().common,ye={pageContentPadding:new I(k[4],k[8]),subtitleSectionWidth:new I(343,580,1200),subTitleBottomMargin:new I(k[0],k[5])},Un={qboLinkAcc:new ot("smallRegular","standardRegular")},Wn="bankConnectionsSettingsPage",ce="bankAccountSection",le="primaryAccountSection",Dn="bill_pay",Nn="reimbursement",qn="zeni_accounts",Hn="charge_cards",Jn="zeni_treasury",Me=e=>t.jsx(Kn,{children:N.map(h=>t.jsx(Yn,{actualDataValue:h.value,wrapperWidth:h.width,windowSize:e,children:t.jsx(Qn,{children:h.value})},h.value))}),bi=({bankSetupView:e,connectedAccountProvider:h,onBackClick:q,onUpdateAccountClick:R,onFetchLinkTokenClick:_,onUpdatePaymentAccountStatus:P,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionClick:C,onEstablishConnectionSuccess:c,onClickMenuIcon:f,onUpdatePrimaryFundingAccount:w,onRemoveConnection:V})=>{const U=ve(),a=je(),{allFundingAccounts:o,primaryConnection:l}=e,m=Ke({mode:"all",reValidateMode:"onChange",defaultValues:We(e),values:We(e)}),b=m.handleSubmit(d=>{}),u=async(d,S)=>{const L=d.split("."),$=L[0],z=L[1],g=l.find(p=>p.productType===$);if($!=null&&z!=null){const p=S[$][z];if(z==="primaryAccountSection"){const E=o.find(s=>s.id===p.selectedOption)?.accType;p.selectedOption!=null&&E!=null&&w(p.selectedOption,y($),E)}else if(z==="bankAccountSection"&&g!=null&&g.primaryFundingAccount!=null&&p.selectedOption!=null){const E=g.primaryFundingAccount?.id,s=g.primaryFundingAccount?.accType;E!=null&&s!=null&&R(p.selectedOption,E,$,y($),s)}}};r.useEffect(()=>{const d=m.watch((S,{name:L})=>{L!=null&&S!=null&&Ye(()=>u(L,S))});return()=>{d.unsubscribe()}});const A=e.fetchState==="In-Progress"||e.fetchState==="Not-Started",H=e.fetchState==="Completed"&&e.allFundingAccounts.length===0,v=a==="small"?vn:Yt,W=()=>A?t.jsx(ti,{children:t.jsx(se,{size:"ExtraLarge",start:!0})}):H?t.jsx(Ze,{message:"No bank connections added."}):t.jsxs(Gn,{windowSize:a,children:[t.jsx(Ue,{children:Ae.primary}),a!=="small"?Me(a):null,t.jsx(et,{...m,children:t.jsx("form",{id:li(Wn),onSubmit:b,children:t.jsx(ni,{windowSize:a,children:e.primaryConnection.map(d=>d!=null?t.jsx(Ve,{windowSize:a,children:t.jsx(Ct,{allBankAccounts:e.allBankAccounts,setupView:d,connectedAccountProvider:h,onFetchLinkTokenClick:_,onUpdatePaymentAccountStatus:P,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionClick:C,onEstablishConnectionSuccess:c})},d.productType):null)})})}),e.otherPaymentAccounts.length>0?t.jsxs(Zn,{children:[t.jsx(Ue,{children:Ae.other}),t.jsx(ai,{children:t.jsx(tt,{display:"flex",placement:"right",maxWidth:"340px",title:Ae.otherToolTip,style:{padding:`12px ${i.sp3}`},children:t.jsx(ci,{})})})]}):null,a!=="small"&&e.otherPaymentAccounts.length>0?Me(a):null,e.otherPaymentAccounts.map(d=>{const S=o.find(L=>L.id===d.paymentAccountId)?.balanceFetchStatus;return t.jsx(Ve,{windowSize:a,children:t.jsx(v,{paymentAccount:d,bankAccountList:e.allBankAccounts,balanceFetchStatus:S,connectedAccountProvider:h,onRemoveConnection:V,onFetchLinkTokenClick:_,onEstablishConnectionClick:C,onUpdatePaymentAccountStatus:P,onEstablishConnectionSuccess:c})},d.paymentAccountId)})]});return t.jsxs(Xn,{children:[t.jsx(Qe,{source:"BankConnectionsSettingsPage",title:Mn.bankConnections,backgroundColor:U.colors.grey4,style:{zIndex:3},onBackClick:q,showBackButton:!1,showMenuIcon:a==="medium-compact"||a==="small",onClickMenuIcon:f}),t.jsxs(ei,{windowSize:a,children:[t.jsx(ii,{windowSize:a,children:t.jsx(oi,{windowSize:a,children:Vn.bankConnections})}),W()]})]})},Gn=n.div`
294
+ `,{settings:{bankConnectionListHeader:Ae,title:Mn,infoText:Un}}=re.getLocalizedStrings().common,ye={pageContentPadding:new I(b[4],b[8]),subtitleSectionWidth:new I(343,580,1200),subTitleBottomMargin:new I(b[0],b[5])},Vn={qboLinkAcc:new ot("smallRegular","standardRegular")},Wn="bankConnectionsSettingsPage",ce="bankAccountSection",le="primaryAccountSection",Dn="bill_pay",Nn="reimbursement",qn="zeni_accounts",Hn="charge_cards",Gn="zeni_treasury",Me=e=>t.jsx(Kn,{children:N.map(h=>t.jsx(Yn,{actualDataValue:h.value,wrapperWidth:h.width,windowSize:e,children:t.jsx(Qn,{children:h.value})},h.value))}),ki=({bankSetupView:e,connectedAccountProvider:h,onBackClick:q,onUpdateAccountClick:R,onFetchLinkTokenClick:_,onUpdatePaymentAccountStatus:P,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionClick:C,onEstablishConnectionSuccess:c,onClickMenuIcon:f,onUpdatePrimaryFundingAccount:w,onRemoveConnection:U})=>{const V=ve(),a=je(),{allFundingAccounts:o,primaryConnection:l}=e,m=Ke({mode:"all",reValidateMode:"onChange",defaultValues:We(e),values:We(e)}),k=m.handleSubmit(d=>{}),u=async(d,S)=>{const L=d.split("."),$=L[0],z=L[1],g=l.find(p=>p.productType===$);if($!=null&&z!=null){const p=S[$][z];if(z==="primaryAccountSection"){const E=o.find(s=>s.id===p.selectedOption)?.accType;p.selectedOption!=null&&E!=null&&w(p.selectedOption,y($),E)}else if(z==="bankAccountSection"&&g!=null&&g.primaryFundingAccount!=null&&p.selectedOption!=null){const E=g.primaryFundingAccount?.id,s=g.primaryFundingAccount?.accType;E!=null&&s!=null&&R(p.selectedOption,E,$,y($),s)}}};r.useEffect(()=>{const d=m.watch((S,{name:L})=>{L!=null&&S!=null&&Ye(()=>u(L,S))});return()=>{d.unsubscribe()}});const A=e.fetchState==="In-Progress"||e.fetchState==="Not-Started",H=e.fetchState==="Completed"&&e.allFundingAccounts.length===0,v=a==="small"?vn:Yt,W=()=>A?t.jsx(ti,{children:t.jsx(se,{size:"ExtraLarge",start:!0})}):H?t.jsx(Ze,{message:"No bank connections added."}):t.jsxs(Jn,{windowSize:a,children:[t.jsx(Ve,{children:Ae.primary}),a!=="small"?Me(a):null,t.jsx(et,{...m,children:t.jsx("form",{id:li(Wn),onSubmit:k,children:t.jsx(ni,{windowSize:a,children:e.primaryConnection.map(d=>d!=null?t.jsx(Ue,{windowSize:a,children:t.jsx(Ct,{allBankAccounts:e.allBankAccounts,setupView:d,connectedAccountProvider:h,onFetchLinkTokenClick:_,onUpdatePaymentAccountStatus:P,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionClick:C,onEstablishConnectionSuccess:c})},d.productType):null)})})}),e.otherPaymentAccounts.length>0?t.jsxs(Zn,{children:[t.jsx(Ve,{children:Ae.other}),t.jsx(ai,{children:t.jsx(tt,{display:"flex",placement:"right",maxWidth:"340px",title:Ae.otherToolTip,style:{padding:`12px ${i.sp3}`},children:t.jsx(ci,{})})})]}):null,a!=="small"&&e.otherPaymentAccounts.length>0?Me(a):null,e.otherPaymentAccounts.map(d=>{const S=o.find(L=>L.id===d.paymentAccountId)?.balanceFetchStatus;return t.jsx(Ue,{windowSize:a,children:t.jsx(v,{paymentAccount:d,bankAccountList:e.allBankAccounts,balanceFetchStatus:S,connectedAccountProvider:h,onRemoveConnection:U,onFetchLinkTokenClick:_,onEstablishConnectionClick:C,onUpdatePaymentAccountStatus:P,onEstablishConnectionSuccess:c})},d.paymentAccountId)})]});return t.jsxs(Xn,{children:[t.jsx(Qe,{source:"BankConnectionsSettingsPage",title:Mn.bankConnections,backgroundColor:V.colors.grey4,style:{zIndex:3},onBackClick:q,showBackButton:!1,showMenuIcon:a==="medium-compact"||a==="small",onClickMenuIcon:f}),t.jsxs(ei,{windowSize:a,children:[t.jsx(ii,{windowSize:a,children:t.jsx(oi,{windowSize:a,children:Un.bankConnections})}),W()]})]})},Jn=n.div`
295
295
  display: flex;
296
296
  flex-direction: column;
297
297
  width: 100%;
@@ -304,7 +304,7 @@ import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,B as re,o as i,m as se,b
304
304
  row-gap: ${i.sp3};
305
305
  width: 100%;
306
306
  background-color: ${e=>e.theme.colors.grey4};
307
- `,Kn=n(F)`
307
+ `,Kn=n(B)`
308
308
  top: ${i.sp0};
309
309
  left: ${i.sp0};
310
310
  min-height: ${i.sp8};
@@ -331,13 +331,13 @@ import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,B as re,o as i,m as se,b
331
331
  padding-left: ${i.sp0};
332
332
  box-sizing: border-box;
333
333
  overflow: hidden;
334
- `,Qn=n(F)`
334
+ `,Qn=n(B)`
335
335
  display: flex;
336
336
  gap: 5px;
337
337
  `,Zn=n.div`
338
338
  display: flex;
339
339
  align-items: center;
340
- `,Ve=n.div`
340
+ `,Ue=n.div`
341
341
  display: flex;
342
342
  min-height: 96px;
343
343
  justify-content: center;
@@ -363,7 +363,7 @@ import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,B as re,o as i,m as se,b
363
363
  .select-value-container
364
364
  .single-select-field__single-value {
365
365
  color: ${e=>e.theme.colors.hero};
366
- ${e=>`${Un.qboLinkAcc.style(e.windowSize)}`};
366
+ ${e=>`${Vn.qboLinkAcc.style(e.windowSize)}`};
367
367
  }
368
368
  &:hover {
369
369
  border: ${e=>`1px solid ${e.theme.colors.primary}`};
@@ -395,7 +395,7 @@ import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,B as re,o as i,m as se,b
395
395
  `,ni=n.div`
396
396
  display: flex;
397
397
  flex-direction: column;
398
- `,Ue=n(it)`
398
+ `,Ve=n(it)`
399
399
  color: ${e=>e.theme.colors.primary};
400
400
  margin-right: ${i.sp1};
401
401
  padding: ${i.sp3} ${i.sp0} ${i.sp3} ${i.sp2};
@@ -422,4 +422,4 @@ import{u as ve,e as je,a as Ke,ca as Ye,j as t,aX as Qe,B as re,o as i,m as se,b
422
422
  width: ${i.sp3};
423
423
  height: ${i.sp3};
424
424
  color: ${e=>e.theme.colors.hero};
425
- `,We=e=>{const{primaryConnection:h,allBankAccounts:q,allFundingAccounts:R}=e,_=q.map(a=>({label:a.accountName,value:a.accountId})),P=R.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"})),M=h.find(a=>a.productType==="bill_pay"),C=h.find(a=>a.productType==="reimbursement"),c=h.find(a=>a.productType==="zeni_accounts"),f=h.find(a=>a.productType==="charge_cards"),w=h.find(a=>a.productType==="zeni_treasury"),V=c?.allFundingAccounts.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))??[],U=w?.allFundingAccounts.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="paymentAccount"}))??[];return{[Dn]:{[ce]:{selectedOption:M?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:M?.primaryFundingAccount?.id,allOptions:P}},[Nn]:{[ce]:{selectedOption:C?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:C?.primaryFundingAccount?.id,allOptions:P}},[qn]:{[ce]:{selectedOption:c?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:c?.primaryFundingAccount?.id,allOptions:V}},[Jn]:{[ce]:{selectedOption:w?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:w?.primaryFundingAccount?.id,allOptions:U}},[Hn]:{[ce]:{selectedOption:f?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:f?.primaryFundingAccount?.id,allOptions:P}}}},li=e=>`${e}_form`;export{bi as default,li as formUniqueName};
425
+ `,We=e=>{const{primaryConnection:h,allBankAccounts:q,allFundingAccounts:R}=e,_=q.map(a=>({label:a.accountName,value:a.accountId})),P=R.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"})),M=h.find(a=>a.productType==="bill_pay"),C=h.find(a=>a.productType==="reimbursement"),c=h.find(a=>a.productType==="zeni_accounts"),f=h.find(a=>a.productType==="charge_cards"),w=h.find(a=>a.productType==="zeni_treasury"),U=c?.allFundingAccounts.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))??[],V=w?.allFundingAccounts.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="paymentAccount"}))??[];return{[Dn]:{[ce]:{selectedOption:M?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:M?.primaryFundingAccount?.id,allOptions:P}},[Nn]:{[ce]:{selectedOption:C?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:C?.primaryFundingAccount?.id,allOptions:P}},[qn]:{[ce]:{selectedOption:c?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:c?.primaryFundingAccount?.id,allOptions:U}},[Gn]:{[ce]:{selectedOption:w?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:w?.primaryFundingAccount?.id,allOptions:V}},[Hn]:{[ce]:{selectedOption:f?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:f?.primaryFundingAccount?.id,allOptions:P}}}},li=e=>`${e}_form`;export{ki as default,li as formUniqueName};