@zeniai/web-cockpit-ui 1.14.12-qa → 1.14.13-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 (250) hide show
  1. package/dist/assets/ACHDetailsPage-DVi_fb5U-BWoXmLUY.js +21 -0
  2. package/dist/assets/{AIPerformancePage-C459GJxs-CUFOWwFR.js → AIPerformancePage-C-orwzaK-DOCKSZSl.js} +44 -44
  3. package/dist/assets/{AccountInfoPage-DWqJj9l6-Capr_Z-3.js → AccountInfoPage-DvhQOLM6-C0wQ6YRZ.js} +3 -3
  4. package/dist/assets/{AccountInfoPageContent-Ca328DM4-Cb8-F3Q9.js → AccountInfoPageContent-B1BJnQNd-Dywp_u_s.js} +18 -18
  5. package/dist/assets/{AccountReconDetailsDrawerPage-BqIo4mya-BHbTJiEq.js → AccountReconDetailsDrawerPage-C8EtTwZE-BoEh8Ely.js} +13 -13
  6. package/dist/assets/{AccountRow-Bk3xWobY-C4Zvilnd.js → AccountRow-m3N4T8ro-CB7I5u10.js} +27 -27
  7. package/dist/assets/{AccountsPromoCardStack-Co90dxxm-BlSZ2eIa.js → AccountsPromoCardStack-DGHAcZ7D-BqYytjsB.js} +28 -28
  8. package/dist/assets/{AddAddressForCardDrawer-XNGsKMvs-rj1kuL_e.js → AddAddressForCardDrawer-B_1jj1h7-Cu6_XTQ0.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-BiQWQXvz-Bblrbomq.js → AddToWalletPage-DL1Bk4bd-ClBCUS3g.js} +21 -21
  10. package/dist/assets/{AgingReportsPage-ClR6ctjm-BvsA-X32.js → AgingReportsPage-DQ4P7iSR-BaDY7W1-.js} +8 -8
  11. package/dist/assets/{AllUserItems-RFWkNfw--C4DCHl34.js → AllUserItems-BSWk_1pR-BC2mjTTt.js} +13 -13
  12. package/dist/assets/{ApAgingDetailPage-F-pd4-We-BM-jeada.js → ApAgingDetailPage-0i8K1czh-BtF7tRtB.js} +2 -2
  13. package/dist/assets/{AppBasePage-B9-FGKn--CpOP-7R8.js → AppBasePage-CV3kU-Ax-HUIuRSgH.js} +7 -7
  14. package/dist/assets/{AppDrawerContent-C6P8rk3y-BWhPaRYb.js → AppDrawerContent-DA8q-1_m-Ip7rRN25.js} +19 -19
  15. package/dist/assets/{ApprovalRulesSettingsPage-CPNEEGTF-BhZ8kwTo.js → ApprovalRulesSettingsPage-CRlqbhea-CnWEhcBd.js} +7 -7
  16. package/dist/assets/{ArAgingChart-D9qmMVoC-DsreAD17.js → ArAgingChart-CiJNNObG-DOT8YGoK.js} +6 -6
  17. package/dist/assets/{ArAgingDetailPage-DMuZM6P_-Vz-qJNmg.js → ArAgingDetailPage-2I9R_J97-CEWBavmC.js} +1 -1
  18. package/dist/assets/{AttachmentView-B2ZOED0q-dJMT88ra.js → AttachmentView-D0naVbDk-BMIJVqWj.js} +7 -7
  19. package/dist/assets/{BankAccountSection-C8G4yj75-B_w1M8Cy.js → BankAccountSection-CYYTnOEW-ta40gqBk.js} +6 -6
  20. package/dist/assets/BankAccountWarningSection--b6oxmO3-bf21H1-K.js +51 -0
  21. package/dist/assets/{BankConnectionsSettingsPage-B5IQ5w6f-1z2_M0sV.js → BankConnectionsSettingsPage-BzwCu93j-CCEpUgq7.js} +49 -49
  22. package/dist/assets/{BillDetailPage-B-PMkZ44-Dz4DR1t2.js → BillDetailPage-OzI0RkQ_-Bav1HJG-.js} +16 -16
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-CdLKENJ--kCXb23Bw.js → BillPayApprovalRuleDetailPage-DIQW7KY9-C0xmBCct.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-BueljBn0-CPA-G34p.js → BillPayApprovalRulesPage-BMmJ4cuT-CLahxDlm.js} +9 -9
  25. package/dist/assets/{BillPayPromoPage-WXntEliq-SuckTMGr.js → BillPayPromoPage-CN5LKQzn-T_t_dz_s.js} +8 -8
  26. package/dist/assets/{BillPaySetUpPage-By7rYetf-BlaS7RoJ.js → BillPaySetUpPage-DMKmupPw-CmltaH2A.js} +2 -2
  27. package/dist/assets/{BillingSettingsPage-D-XtlyVU-D47jr1yc.js → BillingSettingsPage-Bt_0mrqR-CgkXOlNp.js} +8 -8
  28. package/dist/assets/{BillsBulkReviewDrawerPage-P8siJ8lO-69e-PfV-.js → BillsBulkReviewDrawerPage-GFME_IXw-CmxfCt6F.js} +1 -1
  29. package/dist/assets/{BoxItem-Bcy7IYuZ-CuoCQ3AF.js → BoxItem-nvtPdCwS-CiJFmSMj.js} +1 -1
  30. package/dist/assets/BusinessVerificationPage-_E3jrLwS-D28zK5AA.js +140 -0
  31. package/dist/assets/{CardNumberSubText-VsMOF0Xv-DCsVHK-6.js → CardNumberSubText-DBpF1pjJ-BDHubHrk.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-DNbRs50r-Buun1iiv.js → CashbackDetailPage-DrdbDPXK-BHacfWCb.js} +30 -30
  33. package/dist/assets/{ChargeCardDetailPage-BSDS8Kqb-DpPROxWg.js → ChargeCardDetailPage-DvY3CSB4-DTju6vUj.js} +54 -54
  34. package/dist/assets/{ChargeCardListPage-Bzr8qMC0-CP4LVMfI.js → ChargeCardListPage-BE5yGbg8-B5XQaFqy.js} +14 -14
  35. package/dist/assets/{ChargeCardListTable-CTp6TFBR-BvzqcSSI.js → ChargeCardListTable-B-scLCAt-DWKxrdfC.js} +37 -37
  36. package/dist/assets/ChargeCardPromoPage-2OheDHbA-BAFEqKdK.js +222 -0
  37. package/dist/assets/{ChargeCardSetupPage-B1wzJjgH-CTGNj7vw.js → ChargeCardSetupPage-FNCK1n4W-DRpaATuu.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-CePfbLPp-CyQ0YrOT.js → ChargeCardStatementsPage-1fuIth_h-DUYP62lN.js} +9 -9
  39. package/dist/assets/{ChargeCardUtils-DC2v2EHU-B8YRIRH7.js → ChargeCardUtils-CErWBcYS-DYGG4Kg0.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-B-Sx71yo-CVGS055Q.js → ChaseOverlay-9_ms5LgM-DLbFcFUT.js} +7 -7
  41. package/dist/assets/CheckDepositDrawerPage-DEFEMwuI-FYtd8ETj.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-mEqm05fp-CpGwQyDI.js → CollapsableReportTable-DX-FpwE7-MJq_0H8T.js} +59 -59
  43. package/dist/assets/CompanyOfficerDetailsSection-BEgNqg-b-BZkAjfXP.js +260 -0
  44. package/dist/assets/{CompanyPassportCard-Ct6tCZqT-gCSCuEJk.js → CompanyPassportCard-BZXE3iJL-D0vVN1yd.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-D9NQ4bXl-DTZK2KZn.js → CompanyPassportPage-BYZC3G4H-Dyir7GPA.js} +22 -22
  46. package/dist/assets/CompleteProfile-mCKLQjGe-D37b51yU.js +52 -0
  47. package/dist/assets/{ConfettiBurst-DqSwVGBC-BHlAAcPF.js → ConfettiBurst-BEoFHjQ0-BZkigu9v.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-D27A1926-BsU3_dv5.js → CreateOrEditVendorPage-6sohsdle-DulmpRQu.js} +11 -11
  49. package/dist/assets/{CreditCardPaymentDrawerPage-BI37dSwx-39VjlJr3.js → CreditCardPaymentDrawerPage-6oVDS3D8-BG57VbJ5.js} +21 -21
  50. package/dist/assets/{CreditCardPaymentPlgSection-CAsn4Ae6-CZm-m7f1.js → CreditCardPaymentPlgSection-DX1BieKp-CaB1ZnNz.js} +11 -12
  51. package/dist/assets/{CurrencySelectField-5uG4FfJ9-qAwPonrx.js → CurrencySelectField-F2P1iCLk-DqZUsNYq.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-Be-GrAiK-besA9uPP.js → CustomerOnboardingActivationPage-CNJkyjta-BXFLHGd8.js} +8 -8
  53. package/dist/assets/CustomerOnboardingContainerPage-D6yeERaX-CnXYVWPD.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DhGp71bj-DWlhhsi_.js → CustomerOnboardingDetailPageSkeleton-B_MgUg-5-Bgdn7kSU.js} +12 -12
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CdOGTNXC-CHTF3KrU.js → CustomerOnboardingNoStepsPage-B49-4wZk-KyTxoYIy.js} +9 -9
  56. package/dist/assets/{CustomerOnboardingPage-ClPsywa3-DzHYHzx_.js → CustomerOnboardingPage-4FPXG220-Bhtz8R34.js} +7 -7
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-pnHglqXq-CCAeHa0M.js → CustomerOnboardingProductSuitePage-cJPPvh-5-CdfdHVAA.js} +9 -9
  58. package/dist/assets/{Dashboard-avtbjFLf-CWLaijij.js → Dashboard-BBy_mQ8p-zBP8Z7QF.js} +260 -242
  59. package/dist/assets/{DashboardReportPage-CqJAu5WP-C5R220Aq.js → DashboardReportPage-DYttySr4-ICoa42Db.js} +6 -6
  60. package/dist/assets/{DepositAccTransactionItem-Da0GWYei-C6IiAcvx.js → DepositAccTransactionItem-PNTL0e8v-Bf5t1weD.js} +6 -6
  61. package/dist/assets/DepositAccTransactionListPage-DUwVnkwy-91dKQsy5.js +66 -0
  62. package/dist/assets/{DomesticWireDetailsPage-DGcVKriv-CQ6tNZZ5.js → DomesticWireDetailsPage-BhwTfZwI-lG3b6Dqd.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-BdGiqnp7-Do8jKDZO.js → DownloadOverlay-CUbv29mo-Cm7YvHGd.js} +21 -21
  64. package/dist/assets/{DrawerPage-DCfm1BVs-CkoWC70i.js → DrawerPage-2_QOgQ1m-jFj08QrD.js} +11 -11
  65. package/dist/assets/EditPeoplePage-CtTYiqg3-C_rRpXUg.js +55 -0
  66. package/dist/assets/{EditReimbursementDetailPage-C-nYgUua-C1FZgAx7.js → EditReimbursementDetailPage-C_jRh7w0-BjxLHuhj.js} +61 -61
  67. package/dist/assets/{EntityDetailPage-4HX_rHUf-CkoCECUD.js → EntityDetailPage-BhQsnCgQ-BJqshBB_.js} +3 -3
  68. package/dist/assets/{EntitySummarySection-C9VeOBpT-C1O3lIMZ.js → EntitySummarySection-CKkXzM76-JNV3nj4B.js} +12 -12
  69. package/dist/assets/{ExpenseAutomationOverviewPage-8jTkscWa-CfASrU1u.js → ExpenseAutomationOverviewPage-ZuB3Aiv2-g-beRD6J.js} +26 -26
  70. package/dist/assets/{ExpenseAutomationPage-D1wcc9GW-C8FX-4rm.js → ExpenseAutomationPage-BUic8zfk-CY9AnIj2.js} +41 -41
  71. package/dist/assets/{ExpressPayPage-Cj6cvMwQ-D9CJAZ17.js → ExpressPayPage-DEkJ_H0W-D2MJYEqV.js} +12 -12
  72. package/dist/assets/FeaturePreviewPage-CtK7L5vk-zb1RibOL.js +11 -0
  73. package/dist/assets/{FollowStepsSection-DjfnVH8N-B6vBO9jA.js → FollowStepsSection-CWw764ZM-BMjBkJvU.js} +9 -9
  74. package/dist/assets/{GlobalReviewListPage-CEOzc0We-DJGBphLn.js → GlobalReviewListPage-CZctHM7r-C-SmU9tc.js} +12 -12
  75. package/dist/assets/{HelpButton-BdhMFvtG-BdXfZX0U.js → HelpButton-Dpx0Yoel-1C4sAmaf.js} +4 -4
  76. package/dist/assets/{InformationCardStack-DFOumIBr-C0vq2uPl.js → InformationCardStack-BGpHl4yb-D2VMsFIF.js} +5 -5
  77. package/dist/assets/InsightsCardStack-BbMJEahw-XjHe58kA.js +79 -0
  78. package/dist/assets/InsightsSection-CYkuQHcj-B18a-FIC.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-DF-jcHzr-CvvJemcw.js → IntegrationsSettingsPage-CMjSCRm_-C9xmqHS7.js} +8 -8
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-BFMqW1oQ-cIs7ycQ9.js → InternationalWireSwiftDetailsPage-BTbTUt8U-DHwEWLr_.js} +15 -15
  81. package/dist/assets/{InternationalWireVerificationPage-Cq7swzrt-BXVkaYvX.js → InternationalWireVerificationPage-DAW2eMTg-BGhWwB2B.js} +22 -22
  82. package/dist/assets/{InviteFormPage-DXl2sEn9-Qq6BD2nX.js → InviteFormPage-CCbyacPR-DUt2JWiG.js} +20 -20
  83. package/dist/assets/{InvitePageListView-B5fRPcOg-BIAYUEYw.js → InvitePageListView-mHkALr5o-BpwevZSI.js} +62 -62
  84. package/dist/assets/InvitePeoplePage-r6PLBiEv-CRU1obhZ.js +12 -0
  85. package/dist/assets/{InvoiceUploadSection-opkVsXZH-CiDZyXEw.js → InvoiceUploadSection-BsjeicP1-CxRipy2m.js} +41 -41
  86. package/dist/assets/{IssueChargeCardPage-CZU1qbHO-D3xb_BWj.js → IssueChargeCardPage-C3esnkQg-Bt2ncw32.js} +33 -33
  87. package/dist/assets/{LabeledAddressValue-CCd3y8zQ-BLzq0Yq7.js → LabeledAddressValue-CeeoKoY4-C81fNRY2.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-XuFlx-oK-YJyhDZDY.js → LabeledAddressValueField-B6eeRCSM-BGM6iGCs.js} +3 -3
  89. package/dist/assets/{LabeledControlledCheckBoxField-CCQn4-_S-CzvDrRjj.js → LabeledControlledCheckBoxField-CK8YBqJ7-dH7h4-c9.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-uQKngCdt-CU01d4Cj.js → LabeledCreatableSingleSelectField-BSKL8pA3-y22U9yzT.js} +6 -6
  91. package/dist/assets/LabeledDocumentField-BEyArLK3-Bbt820GM.js +41 -0
  92. package/dist/assets/{LabeledDropDownFormattedTextField-BrUNxsKy-CdrCxnZe.js → LabeledDropDownFormattedTextField-DikXPnxD-3H5194hi.js} +7 -7
  93. package/dist/assets/{LabeledText-ByqI7uq0-DxtGCoMb.js → LabeledText-qSjyNZO1-BMO1teu9.js} +1 -1
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Dg1Lpwl0-CcatEpZT.js → LabeledUserSingleSelectWithSubtitlesField-x87S_Azj-BPP3i4wb.js} +16 -16
  95. package/dist/assets/{LabeledZeniRolesDropDownField-DZL4GZtE-BBfYQkEz.js → LabeledZeniRolesDropDownField-nm5bG2up-B-C-v8v9.js} +17 -17
  96. package/dist/assets/{LinkJETransactionPage-CJlBllrr-6j6wzRRV.js → LinkJETransactionPage-p7wdZbtp-BamvjpR7.js} +13 -13
  97. package/dist/assets/{LowBalancePopup-BEvuAR0Z-Bk_xFnCD.js → LowBalancePopup-DHk6xd2B-V5eEOh0a.js} +7 -7
  98. package/dist/assets/{MagicLinkACHDetailsPage-DloX1GWg-BFMutoMu.js → MagicLinkACHDetailsPage-DRQ8oej8-B79oZw1R.js} +1 -1
  99. package/dist/assets/{MagicLinkDomesticWireDetailsPage-DewjvM4v-DuBt-sx-.js → MagicLinkDomesticWireDetailsPage-BxXU9Opg-BdNHmjDj.js} +1 -1
  100. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CVhazlxQ-BlY4hBeE.js → MagicLinkInternationalWireDetailsPage-DYN1baIc-DT4ZdIcR.js} +1 -1
  101. package/dist/assets/MagicLinkSuccessPage-CX3bJ5_B-Bgn3-P2S.js +31 -0
  102. package/dist/assets/{MagicLinkTitleSection-d1edBt3w-BVfkhuQ-.js → MagicLinkTitleSection-K2cZQVzq-CIEidPVy.js} +4 -4
  103. package/dist/assets/MailingDetailsSection--zHyCquq-Cn3SWfKt.js +21 -0
  104. package/dist/assets/{MeetingCalenderPopup-MtSyJ1AS-C61rImN5.js → MeetingCalenderPopup-DbFlQ8Km-9ZxBnjo6.js} +1 -1
  105. package/dist/assets/{Menu-BV79l8xf-B7WjdNMQ.js → Menu-LLL9taEz-CtH4c9eF.js} +2 -2
  106. package/dist/assets/{MyBankConnectionsSettingsPage-D-xDtURG-C2HMY51d.js → MyBankConnectionsSettingsPage-BfDsHVZw-aWZVlaCb.js} +15 -15
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-VEhml0PW-BCXZzbbW.js → MyPendingActivationChargeCardListPage-vag56A65-DvFj3aDV.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-DPJ0fJdQ-TQrYLgYZ.js → MyProfileSettingsPage-DCKqWh-p-Ca4URKq-.js} +8 -8
  109. package/dist/assets/NavBarWithPicker-Cvi89wZV-3CVqu6ha.js +30 -0
  110. package/dist/assets/{NavigationArrow-BwXNdvOg-BPZh6hXD.js → NavigationArrow-CHmddDC--CUC3t4BZ.js} +2 -2
  111. package/dist/assets/NavigationDots-1wpj484Z-By9SVfKB.js +15 -0
  112. package/dist/assets/{NewGlobalMerchantPage-IeE86L-X-Bae2AXUm.js → NewGlobalMerchantPage-B0FywA12-BRuJ6OhE.js} +13 -13
  113. package/dist/assets/{NoDataChart-C9yfE8vY-4P6j_Myy.js → NoDataChart-D43mhDJW-B9CXfEvp.js} +1 -1
  114. package/dist/assets/{NoDataTable-DF9QNT4a-BHK-o5qC.js → NoDataTable-BOfUxs9D-8iqVCaVk.js} +1 -1
  115. package/dist/assets/{NotFoundPage-DSaizJve-BxedHkcK.js → NotFoundPage-DFioH5Rt-BQR0ORs3.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-DeAeFHmj-DUWQVg3q.js → NotificationSettingsPage-y4g1rAal-BJEuhBam.js} +13 -13
  117. package/dist/assets/{NotificationsListConfig-DuzDckh--C6BvfucE.js → NotificationsListConfig-sybPesiv-FmaZBisq.js} +1 -1
  118. package/dist/assets/{NotificationsPage-B7ZC7ezP-Cdj0nN7a.js → NotificationsPage-C88YOjuY-Ds4zz6jH.js} +31 -32
  119. package/dist/assets/{OpExByVendorPage-DzODetHf-Dm-W-8O1.js → OpExByVendorPage-qBWbJhv9-Cs148Yzz.js} +7 -7
  120. package/dist/assets/{OverlayContainerPage-GWXnlbZH-Db5ZTmqB.js → OverlayContainerPage-Dres4Grh-BoM1wcb9.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-FEi5USqF-DEFE8FSJ.js → PandLWithForecastPage-uiaHrci6-ClUgwvyo.js} +8 -8
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BbL4x5pQ-CArcGp7V.js → PaymentAccountSetupBillingAddressSection-BepDUdA0-DvE7tkJU.js} +11 -11
  123. package/dist/assets/{PeoplePage-B35T31YZ-C-lJt47m.js → PeoplePage-oF6C1uyM-DLFAgG_p.js} +20 -20
  124. package/dist/assets/{PortfolioAllocationFormPage-D3FP_MRr-BcOrWJml.js → PortfolioAllocationFormPage-C5O3GLqz-BYzrfMTu.js} +4 -4
  125. package/dist/assets/{PortfolioDetails-Dtz3YEPu-CbnH_B-R.js → PortfolioDetails-BkGNpmoO-B3KzDtEL.js} +31 -31
  126. package/dist/assets/{ProductsCarousel-DIlEuuqg-BjDLvopn.js → ProductsCarousel-C_tmo4EA-BDn6T3LG.js} +6 -6
  127. package/dist/assets/{PromoBaseCards-DTsaas8S-Bp3Sdx9s.js → PromoBaseCards-Bq5-q2ew-oeM6E2Gs.js} +5 -5
  128. package/dist/assets/{QBOConnectionDialog-Cvt38cmU-BbZWHEnH.js → QBOConnectionDialog-BXNWjeYB-CT3y8ZPP.js} +9 -9
  129. package/dist/assets/QBOSetupSection-D3sIWrh1-Dt8ceji3.js +79 -0
  130. package/dist/assets/ReimbursementApprovalRuleDetailPage-ClgCUbVP-DfTW4OAe.js +26 -0
  131. package/dist/assets/{ReimbursementApprovalRulesPage-BG8uMxNw-V-B_Oc7d.js → ReimbursementApprovalRulesPage-hjja5JFq-1dF9j3jn.js} +8 -8
  132. package/dist/assets/{ReimbursementDetailPage-Cs7XeZrC-CDH5tk6j.js → ReimbursementDetailPage-sXYC_aoR-CngyEl5D.js} +19 -19
  133. package/dist/assets/{ReimbursementPromoPage-CKITZNUc-B3czdsVE.js → ReimbursementPromoPage-C9zs7VRV-DY_b0K3o.js} +24 -24
  134. package/dist/assets/{ReimbursementSetUpPage-DD5P181p-BNAJ0P6-.js → ReimbursementSetUpPage-Ban56LOC-Cen4aYhY.js} +11 -11
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C0eORL7o-BZhXRsOE.js → ReimbursementsBulkReviewDrawerPage-CsRwI-rl-KeeGuW4E.js} +1 -1
  136. package/dist/assets/{ReloadCard-CZ4IXHy1-D0PwAZkP.js → ReloadCard-EBXtqdt5-e0DLVF2o.js} +5 -5
  137. package/dist/assets/{ReportTableViewSelector-Do0yQJxY-C6yall7R.js → ReportTableViewSelector-Ae5lGopA-CZicNwDg.js} +10 -10
  138. package/dist/assets/{ReportsPage-BUi475EG-BorB4Vqw.js → ReportsPage-Dh3DhbEK-DCmUMwXx.js} +5 -5
  139. package/dist/assets/{RevenueChart-DPNqxQ4n-5RLNohUA.js → RevenueChart-C5qfXMEg-D1BQhist.js} +1 -1
  140. package/dist/assets/{ReviewDetailsPage-DTCC2C0D-IffnuWda.js → ReviewDetailsPage-DjcJd2VM-CMmXdVTb.js} +17 -17
  141. package/dist/assets/{ReviewOverlay-CPN-RHG--C8J652Ar.js → ReviewOverlay-Dmrea9EK-DOxs4FI1.js} +14 -14
  142. package/dist/assets/RoleWithToolTip-CqeM8Bh0-BSEMOUZO.js +22 -0
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BSz5BdJ4-ajU7u-K2.js → ScheduleDetailsFixedAssetsPage-CQGRrdSx-BKHIJc5L.js} +8 -8
  144. package/dist/assets/{ScheduleDetailsPage-DKVlaW9e-Mc61Wcxe.js → ScheduleDetailsPage-D5OBZ80r-BSViQYwc.js} +3 -3
  145. package/dist/assets/{ScheduleSequenceTable-BhpHoReF-BCeDdvJx.js → ScheduleSequenceTable-fgV8zz4I-B96Fw2cP.js} +49 -49
  146. package/dist/assets/{ScreenRoutes-Cb2UBar1.js → ScreenRoutes-Bs8GRIgm.js} +62 -62
  147. package/dist/assets/{SetUpAccountSection-Blh-Vipv-DTzNADjZ.js → SetUpAccountSection-4-gtB3I4-CmDUZ7Ps.js} +24 -24
  148. package/dist/assets/{SetUpDefaultSection-DsyZbNsv-BU4fjsR8.js → SetUpDefaultSection-DSslQOgJ-y5lEHYNN.js} +12 -12
  149. package/dist/assets/{SignIn-DehOoUba-D1wgEnhj.js → SignIn-CgXxIawW-DSrGSPuV.js} +17 -17
  150. package/dist/assets/{SignInScreen-CdOVOg4V.js → SignInScreen-DSt7uixJ.js} +1 -1
  151. package/dist/assets/{SpendManagementListViewPage-C23fDDXZ-YGqIsuA5.js → SpendManagementListViewPage-SkhzkIYZ-CI28gjhv.js} +11 -11
  152. package/dist/assets/{SpendManagementPerTabPage-Cx0sB3qO-BUuUjlAR.js → SpendManagementPerTabPage-CofY1YYQ-C9YpxBTZ.js} +55 -55
  153. package/dist/assets/{SpendManagementSection-DbZYpbtO-d6L97RYF.js → SpendManagementSection-DbC93chQ-CmYHf5ne.js} +13 -13
  154. package/dist/assets/{SpendMgmtSetupAccountSection-BkUIdz9m-B2ewL4T_.js → SpendMgmtSetupAccountSection-_8G7bMAw-CYWZUz0n.js} +22 -22
  155. package/dist/assets/{StatementItem-BF8L0fc_-DzjaOfpz.js → StatementItem-7ezfuDl--CcU7F4Hj.js} +5 -5
  156. package/dist/assets/{StatementsPage-96e3ZbSU-f9GKAGwn.js → StatementsPage-C4ziRzkU-Cl2Heiw2.js} +6 -6
  157. package/dist/assets/{StatusSwitcher-jwpQ49F7-BnZJLj82.js → StatusSwitcher-0rVfFE-a-CheRZPfP.js} +7 -7
  158. package/dist/assets/{SubTabSwitcher-B8H6McwL-Cu2vNU7E.js → SubTabSwitcher-aoWbkCmT-CaMIdf8x.js} +1 -1
  159. package/dist/assets/{SummaryCard-Bv4ja9yJ-aDvuTxki.js → SummaryCard-6V1G-Yln-AkNgJPj0.js} +1 -1
  160. package/dist/assets/{TaskManagementPage-D7tD4WRl-Css52_VB.js → TaskManagementPage-DjQma5Cr-DLhPVic-.js} +18 -18
  161. package/dist/assets/{TimeRangeSwitcher-Cr-ObvZ9-DYgsNzbf.js → TimeRangeSwitcher-DeIRg5zY-Bi--_Fx4.js} +5 -5
  162. package/dist/assets/{TimeframeSwitcher-YkFxZedG-BzHaiUBA.js → TimeframeSwitcher-Cop4G4gx-DupejW9U.js} +5 -5
  163. package/dist/assets/TimeframeSwitcherWithToggle-BhoniKOB-DuZjqpvb.js +31 -0
  164. package/dist/assets/{TopExCard-DtrsuLFD-C29DggA1.js → TopExCard-BKirBv7q-BKzGhACE.js} +6 -6
  165. package/dist/assets/{TopExDetailPage-HMRdJt_a-Dv3hZE10.js → TopExDetailPage-DcVunE8d-BJAugcNm.js} +11 -11
  166. package/dist/assets/{TransactionDetailPage-CkWEdpTW-D5C8nT3c.js → TransactionDetailPage-TJf3D0K6-ChXVy1nH.js} +26 -26
  167. package/dist/assets/{TransactionList-8rOZr8BD-z7em6_Iq.js → TransactionList-fn6VXYIJ-XKKmCfLI.js} +4 -4
  168. package/dist/assets/{TransactionListBig-DGx1qy2c-Bq45CoFX.js → TransactionListBig-B_hNDFjS-Bc3M6sby.js} +25 -25
  169. package/dist/assets/{TransactionListPage-CnbufCaM-AKYbMbcz.js → TransactionListPage-BbXZWbie-DmTuImVR.js} +6 -6
  170. package/dist/assets/{TransactionVendorDetailPage-UpZX_EgR-DgquOs9I.js → TransactionVendorDetailPage-C6qJ5ncL-DRKEGbRL.js} +6 -6
  171. package/dist/assets/TransferDrawerPage-BtYoqKi--BK8jkNir.js +362 -0
  172. package/dist/assets/{TreasuryOverviewPage-DoPe6v4O-DcxluBgr.js → TreasuryOverviewPage-DOV8Hanc-BzuaF_Oy.js} +53 -53
  173. package/dist/assets/{TreasuryPromoPage-Db20FO_G-C0PMRVyO.js → TreasuryPromoPage-C9O7G72q-D0fVcP3x.js} +30 -29
  174. package/dist/assets/TreasurySetupPage-CNzkkEjw-Dh78QFWy.js +146 -0
  175. package/dist/assets/{TreasuryStatementsPage-BONCF7O1-Woy-dxsL.js → TreasuryStatementsPage-Ts6D6F-l-CQAmEMl1.js} +5 -5
  176. package/dist/assets/{TreasuryTaxLetterPage-NCZ0Y4yr-xzYydVxV.js → TreasuryTaxLetterPage-CM93_rS4-CfzYhIka.js} +5 -5
  177. package/dist/assets/TreasuryTransferOrReviewPage-C8-tbCUQ-DHGOUHuT.js +506 -0
  178. package/dist/assets/{TrendChart-DQXhBbqy-lVikR6m-.js → TrendChart-BXjPAYgk-DjYRl65V.js} +5 -5
  179. package/dist/assets/{TrendWithTransactions-Du-a-c_9-D0k8nTAC.js → TrendWithTransactions-BlGX9aVa-DUrKUprM.js} +8 -8
  180. package/dist/assets/{UncategorizedAccountsMappingPage-mSPC4LpU-Bq53-vV1.js → UncategorizedAccountsMappingPage--PnxDLIj-DgyLI8TV.js} +12 -12
  181. package/dist/assets/{UnitIntegrationPage-B5O9G4QH-yrWt_3qv.js → UnitIntegrationPage-D5mzaVVL-B87wl-C8.js} +4 -4
  182. package/dist/assets/{UploadAdditionalDocumentOverlay-CnjzAGYo-D_ZhLUZy.js → UploadAdditionalDocumentOverlay-BXS2l5kF-4XXbIdgY.js} +1 -1
  183. package/dist/assets/{Vendor2FAPopup-CYcCB8tr-m6LRb8Yr.js → Vendor2FAPopup-jXN-6kcB-WQjywdob.js} +1 -1
  184. package/dist/assets/{VendorACHDetailsPage-C6EuQBcH-CBj3o4fH.js → VendorACHDetailsPage-CHfX_7tk-CseZDy3t.js} +1 -1
  185. package/dist/assets/{VendorDetailPage-CnSXWVCg-5ItKK9hK.js → VendorDetailPage-CZuQaTCe-00z-DC1U.js} +13 -13
  186. package/dist/assets/{VendorDomesticWireDetailsPage-CVTkzHFB-BtQZkYtT.js → VendorDomesticWireDetailsPage-dBmyAkGL-BzziQHyn.js} +1 -1
  187. package/dist/assets/{VendorFiling1099EditablePage-TJb9mpk0-Cas0dzf5.js → VendorFiling1099EditablePage-C6KWbHaM-FdVjec5X.js} +7 -7
  188. package/dist/assets/{VendorFirstReviewPage-gBLVMddY-41zXx76R.js → VendorFirstReviewPage-DLaCXLH8-Bp3HVWXV.js} +30 -30
  189. package/dist/assets/{VendorInternationalWireDetailsPage-Bhm7j6HC-B5gepNJS.js → VendorInternationalWireDetailsPage-DgCH9Rad-DD-YZWBN.js} +10 -10
  190. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-MgN7VFET-OsBZ-jKy.js → VendorInternationalWireSwiftDetailsPage-CprymE3v-BXc-3kQm.js} +1 -1
  191. package/dist/assets/{VendorsAccountsSection-Cn-8Yemv-2EiEgDAM.js → VendorsAccountsSection-CpkfwFDJ-DeHCyl4j.js} +15 -15
  192. package/dist/assets/VerifyDevice-CSIkEBig-DzQ9uYAN.js +67 -0
  193. package/dist/assets/{WarningsDrawerPage-Cc_Rty0A-Bxm78d1e.js → WarningsDrawerPage-DeqbJ2Le-CygSrVz8.js} +12 -12
  194. package/dist/assets/{ZeniAccountDetailPage-BU2TTiDP-DntPjYyg.js → ZeniAccountDetailPage-kwKoeRAb-yy2D4Oyh.js} +29 -29
  195. package/dist/assets/{ZeniAccountListViewPage-DbcnkYvX-rxgnFm8v.js → ZeniAccountListViewPage-15LxhIiI-3EkZXZhB.js} +19 -19
  196. package/dist/assets/ZeniAccountNavBarPieces-C0pq95hS-D_BEJJwy.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-D-5ArrRO-DxJXUZdx.js → ZeniAccountPromoPage-DvlAb5YA-BxPQZ-TN.js} +33 -33
  198. package/dist/assets/{ZeniAccountSetupPage-DXYR0Ipo-B0J0wJvQ.js → ZeniAccountSetupPage-BjpvTfF5-DJqm4qSs.js} +3 -3
  199. package/dist/assets/{ZeniCopyright-DPd1ifIT-DNR_P6Qj.js → ZeniCopyright-BYJFIZ_X-DJl-W8Ni.js} +1 -1
  200. package/dist/assets/ZeniTransferAmountSlider-Did4Chpj-CHnHwXGw.js +63 -0
  201. package/dist/assets/{analyticsHelper-DrNmU0vn-RfFhCbWD.js → analyticsHelper-BRyA7WLX-Ch8yhvbw.js} +1 -1
  202. package/dist/assets/{analyticsHelper-LynOmXwT.js → analyticsHelper-DEjyvXKA.js} +1 -1
  203. package/dist/assets/{chartTypes-YTQv3tre-qplKaXfA.js → chartTypes-CWEoqL4g-Bo1GQ9Y0.js} +1 -1
  204. package/dist/assets/{commonDimensions-BtmBVXgZ-BqS_uHfS.js → commonDimensions-UvndzJjv-DkCvzihA.js} +1 -1
  205. package/dist/assets/{detailCommon-hHyz3hj3-B-18TbC2.js → detailCommon-C3ymS8dg-BusgYXoD.js} +2 -2
  206. package/dist/assets/{downloadPdf-CDvgLzWC-CFICoubl.js → downloadPdf-CHwWcCR1-BQYdnkG1.js} +1 -1
  207. package/dist/assets/{index-BP54u7bE.js → index-DYVNUtTS.js} +4129 -3984
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-BfoqmoAq-RPIy6iu_.js → mapLoadingInProgressToTreeNode-BV9ky97n-C6-bn_qJ.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BjtxR9iQ-CPCcXgC9.js → mapSectionWithAcOnlyToTreeNode-WivyN4Y7-DeEMrm9i.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-D8o529OP-DP0HQuYK.js → mapSpacerToTreeNode-AXNRptLX-B0rl0_Lw.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-BirMnIzY-J7LlhZYj.js → mapTimeframeBalancesToTreeNode-DUac2vK4-jK2oIVF4.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-NA69l84M-C2q_xZ5l.js → mapTimeframeBalancesToTreeNode-JTl35sFx-B-SNtaen.js} +1 -1
  213. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BCqRt8GN-h4qQS3pU.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DtkeOXnf-Dl0F4JWH.js} +1 -1
  214. package/dist/assets/{play-icon-DyIc5aGx-DYJXRLAT.js → play-icon-HSIOzxQm-DtUz8FwI.js} +1 -1
  215. package/dist/assets/{toCOABalancesWithID-2jQJLb8S-pfoeU7Ox.js → toCOABalancesWithID-CkjYSysY-DF7YtxZI.js} +1 -1
  216. package/dist/assets/{toChartData-Dsjd8dGe-DHACvX24.js → toChartData-BhKlnyso-CKLUlraQ.js} +1 -1
  217. package/dist/assets/{treasuryColorHelper-EG8VpBia-BgT0ZOn3.js → treasuryColorHelper-yIAXBrrM-D_iAl7kS.js} +1 -1
  218. package/dist/assets/{uploadAttachment-CVUM4FN--C6O7_W28.js → uploadAttachment-CWaYLqwb-DAXv_gFj.js} +32 -32
  219. package/dist/assets/{uploadReceipts-D80JLNY4-BMq6fzqz.js → uploadReceipts-C6Ld_WLK-CscO-OGr.js} +1 -1
  220. package/dist/index.html +1 -1
  221. package/package.json +4 -4
  222. package/dist/assets/ACHDetailsPage-BQBpkHfF-BJV02vLX.js +0 -21
  223. package/dist/assets/BankAccountWarningSection-CWXa-X6f-CSqGyUZG.js +0 -51
  224. package/dist/assets/BusinessVerificationPage-BoSLJbyU-f7l6iMFH.js +0 -140
  225. package/dist/assets/ChargeCardPromoPage-dIg8OIlx-Ddw_9zEm.js +0 -219
  226. package/dist/assets/CheckDepositDrawerPage-uABg3PMN-DvmvYwzA.js +0 -206
  227. package/dist/assets/CompanyOfficerDetailsSection-BzYsDrr2-CLxqo3zC.js +0 -232
  228. package/dist/assets/CompleteProfile-CN_hAW-2-jVc6moRl.js +0 -36
  229. package/dist/assets/CustomerOnboardingContainerPage-B9qcJNx5-BFEUbXJj.js +0 -1
  230. package/dist/assets/DepositAccTransactionListPage-Db90ITIq-CYwbJ4ON.js +0 -66
  231. package/dist/assets/DocumentSecurityBanner-Bxg3ctYZ-CgQ3FYOu.js +0 -29
  232. package/dist/assets/EditPeoplePage-CBPmCcoG-tI7XznTq.js +0 -55
  233. package/dist/assets/FeaturePreviewPage-BBkfKvIu-C1W_sdo_.js +0 -11
  234. package/dist/assets/InsightsCardStack-rByhzgji-Dc1ZnT3c.js +0 -79
  235. package/dist/assets/InsightsSection-jnWJ877y-CHYibtt_.js +0 -27
  236. package/dist/assets/InvitePeoplePage-DvGON1va-CxkOilw7.js +0 -12
  237. package/dist/assets/LabeledDocumentField-TFmz23mS-Dg7dpofQ.js +0 -41
  238. package/dist/assets/MagicLinkSuccessPage-dxBSlbub-EYHDnj3E.js +0 -31
  239. package/dist/assets/MailingDetailsSection-CsK09X11-DWOFuFpA.js +0 -21
  240. package/dist/assets/NavBarWithPicker-CuJe05iJ-CtehKlX0.js +0 -30
  241. package/dist/assets/NavigationDots-BQfoX9p0-CtOBXvA3.js +0 -14
  242. package/dist/assets/QBOSetupSection-Dijb03ZX-Dtu5gcm7.js +0 -79
  243. package/dist/assets/ReimbursementApprovalRuleDetailPage-bkJIpwyU-CHus277R.js +0 -26
  244. package/dist/assets/RoleWithToolTip-Bst2IdUy-HslXk23_.js +0 -22
  245. package/dist/assets/TimeframeSwitcherWithToggle-4h9WX4z9-D-Rtx-Rf.js +0 -31
  246. package/dist/assets/TransferDrawerPage-cUyg27nq-BPk1VE3B.js +0 -362
  247. package/dist/assets/TreasurySetupPage-BoVhd65r-CXuNgzdi.js +0 -152
  248. package/dist/assets/TreasuryTransferOrReviewPage-DAmZboLO-COiTPnD3.js +0 -506
  249. package/dist/assets/ZeniAccountNavBarPieces-CeJHAl4O-B_tojQsK.js +0 -14
  250. package/dist/assets/ZeniTransferAmountSlider-di46G5TN-Crpvkv3z.js +0 -63
@@ -1,12 +1,12 @@
1
- import{X as z,u as _,M as L,j as o,bM as H,o as r,gk as ie,q as R,K as ce,f as J,b1 as Q,C as ee,gl as de,gm as pe,cq as te,b2 as A,ap as ue,v as oe,gn as he,a$ as re,w as ge,go as me,gp as xe,e as N,ao as fe,l as M,gq as ye,z as Ce,gr as be,gs as ve,g as we,cn as $e,be as Se,fs as je,c as ke,h as V,a3 as Le,ft as Oe,a6 as Ee}from"./index-BP54u7bE.js";import{b as a,n as l,k as Ie}from"./vendor-CnQcJ2Lu.js";const Me=l.div`
1
+ import{X as z,u as _,B as L,j as o,bQ as H,o as r,go as ie,s as B,i as ce,v as J,b2 as Z,C as ee,gp as de,gq as pe,cu as te,b3 as M,ap as ue,w as oe,gr as he,b0 as re,Y as ge,gs as me,gt as xe,m as N,ao as fe,l as A,gu as ye,D as Ce,gv as be,gw as ve,d as we,cr as $e,bf as Se,fv as je,h as ke,g as V,a3 as Le,fw as Oe,a6 as Ee}from"./index-DYVNUtTS.js";import{b as a,n as l,k as Ie}from"./vendor-CnQcJ2Lu.js";const Ae=l.div`
2
2
  display: flex;
3
3
  justify-content: space-between;
4
4
  align-items: center;
5
- `,Ae=l(re)`
5
+ `,Me=l(re)`
6
6
  color: ${e=>e.theme.colors.primary};
7
7
  width: ${r.sp3};
8
8
  height: ${r.sp3};
9
- `,W=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:i,onChange:p,getOptionLabel:s})=>{const C=_(),y=a.useRef(null),h=Be(C),b=n.find(x=>x.value===e);return a.useEffect(()=>{const x=setTimeout(()=>{y.current!=null&&t&&y.current.focus()},300);return()=>{clearTimeout(x)}},[t]),o.jsx(Q,{ref:y,isMulti:!1,value:b,onChange:x=>{p(x)},placeholder:i,options:n,styles:h,openMenuOnFocus:!0,components:{Option:x=>Fe(x,s),SingleValue:x=>Te(x,s)}})},Te=(e,t)=>{const n=t?.(e.data.value)??e.data.label;return o.jsx(A.SingleValue,{...e,children:o.jsx(ue,{children:n})})},Fe=(e,t)=>{const{isSelected:n}=e,i=t?.(e.data.value)??e.data.label;return o.jsx(A.Option,{...e,children:o.jsxs(Me,{children:[o.jsx(oe,{children:i}),n?o.jsx(Ae,{}):null]})})},Be=e=>({placeholder:t=>({...t,color:e.colors.grey1,...J.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",height:r.sp6,cursor:"pointer"}),valueContainer:t=>({...t,height:"100%",padding:`${r.sp2} ${r.sp3}`}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,padding:`${r.sp2} ${r.sp3}`,cursor:"pointer",color:n.isSelected||n.isFocused?e.colors.primary:e.colors.hero,background:n.isSelected||n.isFocused?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary,margin:0}),menuList:t=>({...t,backgroundColor:e.colors.grey5,maxHeight:"320px"}),menu:t=>({...t,boxShadow:`${r.sp0} 2px ${r.sp2} ${e.colors.dropShadowHover}`})}),Re="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.8999%205.04416L9.65575%2017.6653C9.48897%2017.8247%209.29152%2017.9484%209.07541%2018.0291C8.85929%2018.1097%208.62902%2018.1456%208.39862%2018.1345C8.17133%2018.1236%207.94853%2018.0673%207.7434%2017.9689C7.53827%2017.8704%207.35499%2017.7318%207.20439%2017.5612L1.17558%2010.7125'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ze=l.div`
9
+ `,W=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:i,onChange:p,getOptionLabel:s})=>{const C=_(),y=a.useRef(null),h=Re(C),b=n.find(x=>x.value===e);return a.useEffect(()=>{const x=setTimeout(()=>{y.current!=null&&t&&y.current.focus()},300);return()=>{clearTimeout(x)}},[t]),o.jsx(Z,{ref:y,isMulti:!1,value:b,onChange:x=>{p(x)},placeholder:i,options:n,styles:h,openMenuOnFocus:!0,components:{Option:x=>Fe(x,s),SingleValue:x=>Te(x,s)}})},Te=(e,t)=>{const n=t?.(e.data.value)??e.data.label;return o.jsx(M.SingleValue,{...e,children:o.jsx(ue,{children:n})})},Fe=(e,t)=>{const{isSelected:n}=e,i=t?.(e.data.value)??e.data.label;return o.jsx(M.Option,{...e,children:o.jsxs(Ae,{children:[o.jsx(oe,{children:i}),n?o.jsx(Me,{}):null]})})},Re=e=>({placeholder:t=>({...t,color:e.colors.grey1,...J.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",height:r.sp6,cursor:"pointer"}),valueContainer:t=>({...t,height:"100%",padding:`${r.sp2} ${r.sp3}`}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,padding:`${r.sp2} ${r.sp3}`,cursor:"pointer",color:n.isSelected||n.isFocused?e.colors.primary:e.colors.hero,background:n.isSelected||n.isFocused?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary,margin:0}),menuList:t=>({...t,backgroundColor:e.colors.grey5,maxHeight:"320px"}),menu:t=>({...t,boxShadow:`${r.sp0} 2px ${r.sp2} ${e.colors.dropShadowHover}`})}),Be="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.8999%205.04416L9.65575%2017.6653C9.48897%2017.8247%209.29152%2017.9484%209.07541%2018.0291C8.85929%2018.1097%208.62902%2018.1456%208.39862%2018.1345C8.17133%2018.1236%207.94853%2018.0673%207.7434%2017.9689C7.53827%2017.8704%207.35499%2017.7318%207.20439%2017.5612L1.17558%2010.7125'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",ze=l.div`
10
10
  display: flex;
11
11
  align-items: flex-start;
12
12
  padding: ${r.sp2} ${r.sp3};
@@ -49,25 +49,25 @@ import{X as z,u as _,M as L,j as o,bM as H,o as r,gk as ie,q as R,K as ce,f as J
49
49
  color: ${e=>e.theme.colors.primary};
50
50
  height: 10px;
51
51
  width: 10px;
52
- `,qe=l(Ee)`
52
+ `,Ye=l(Ee)`
53
53
  overflow: hidden;
54
54
  text-overflow: ellipsis;
55
- `,Ye=({options:e,value:t,placeHolder:n,filterCategoryType:i,searchAutoCompleteData:p,searchAutoCompleteActions:s,onChange:C})=>{const y=_(),h=ve(y),[b,x]=a.useState(e);a.useEffect(()=>{i==="searchAutocomplete"&&p?.entityAutoCompleteView.fetchState==="Completed"&&x(d=>ye([...d,...p?.entityAutoCompleteView!=null?Ge(p?.entityAutoCompleteView):[]],"value"))},[p?.entityAutoCompleteView.fetchState]);const S=i==="searchAutocomplete"?t.map(d=>({label:d,value:d})):t.map(d=>b.find(f=>f.value===d)),v=a.useRef(Ce(d=>s?.onAutoCompleteInputChange?.(d),500,{trailing:!0})).current,j=p?.entityAutoCompleteView.fetchState,O={options:e,filterCategoryType:i,searchAutoCompleteStatus:j},$=L.getLocalizedStrings().common.filters;return o.jsx(ze,{children:i==="dateRange"?o.jsx(be,{onDateRangeChange:d=>{C([{label:$.startDate,value:d.startDate??""},{label:$.endDate,value:d.endDate??""}])},selectedDates:t}):o.jsxs(_e,{children:[S.length===0&&i==="user"&&o.jsx(Ve,{}),o.jsx(Q,{...O,isMulti:!0,hideSelectedOptions:!1,value:S,onInputChange:d=>{i==="searchAutocomplete"&&v(d)},onChange:d=>{C(d)},placeholder:n,options:b,styles:h,menuPosition:"fixed",components:{Option:Xe,MultiValueLabel:Ke,MultiValueRemove:Ze},filterOption:(d,f)=>Qe(d,f,i),noOptionsMessage:()=>Je(i,j)})]})})},Ge=e=>(e?.vendor.map(t=>({label:t.name,value:t.name}))??[]).sort((t,n)=>(t.label??"").localeCompare(n.label??"")),Ke=e=>{const{selectProps:t}=e,{options:n,filterCategoryType:i}=t,p=n.findIndex(s=>s.value===e.data.value);return o.jsx(A.MultiValueLabel,{...e,children:o.jsxs(Pe,{children:[ne(e.data.photo,e.data.label.split(" ")[0],e.data.label.split(" ")[1]!=null?e.data.label.split(" ")[1]:"",p,i),o.jsx(qe,{children:e.children})]})})},Xe=e=>{const{onMouseMove:t,onMouseOver:n,isSelected:i,...p}=e.innerProps,{options:s,filterCategoryType:C}=e.selectProps,y=s.findIndex(b=>b.value===e.data.value),h={...e,innerProps:p};return o.jsx(A.Option,{...h,children:o.jsxs(He,{children:[o.jsxs(De,{children:[ne(e.data.photo,e.data.label.split(" ")[0],e.data.label.split(" ")[1]!=null?e.data.label.split(" ")[1]:"",y,C),o.jsx(oe,{children:e.label})]}),e.isSelected&&o.jsx(We,{})]})})},Ze=e=>o.jsx(A.MultiValueRemove,{...e,children:o.jsx(Ue,{})}),Je=(e,t)=>{const n=L.getLocalizedStrings().common.filters;if(e==="searchAutocomplete"){if(t==="In-Progress")return o.jsx(ke,{size:"Small-Compact",start:!0});if(t==="Not-Started")return null;if(t==="Completed")return o.jsx(V,{children:n.noMatchesFound})}return o.jsx(V,{children:n.noOptions})},ne=(e,t,n,i,p)=>p!=="user"?null:e==null?o.jsx(Oe,{firstName:t,lastName:n,size:`${r.sp3}`,index:i,fontSize:"9px"}):o.jsx(Ne,{src:e.href,alt:L.getLocalizedStrings().common.filters.userProfileAltText,onError:({currentTarget:s})=>{s.onerror=null,s.src=Re},loading:"lazy"}),Qe=(e,t,n)=>n==="user"&&e.data.email!=null?e.data.label.toLowerCase().includes(t.toLowerCase())||e.data.email.toLowerCase().includes(t.toLowerCase()):e.data.label.toLowerCase().includes(t.toLowerCase()),T={categoryCombinationOperator:"AND",categories:[]},le={valuesCombinationOperator:"ANY",values:[],matchingOperator:"equal"},F=(e,t)=>{switch(e){case"bill_pay":return M.BILL_PAY_FILTER_CATEGORIES;case"reimbursement":return M.hideCreatedByFilter(t)?M.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED:M.REIMBURSEMENT_FILTER_CATEGORIES;case"task_management":return M.TASK_LIST_FILTER_CATEGORIES}},B=(e,t)=>{if(e==="bill_pay"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.bills[n]}if(e==="reimbursement"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.reimbursements[n]}if(e==="task_management"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.taskManagement[n]}return""},et=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?{categoryCombinationOperator:"AND",categories:[{...le,field:t.value}]}:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,field:t.value,values:[]})},tt=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,matchingOperator:t.value})},ot=({currentFilters:e,selectedOptions:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,values:t.map(s=>s.value)})},rt={width:new ee(215,315)},U=l.div`
55
+ `,Xe=({options:e,value:t,placeHolder:n,filterCategoryType:i,searchAutoCompleteData:p,searchAutoCompleteActions:s,onChange:C})=>{const y=_(),h=ve(y),[b,x]=a.useState(e);a.useEffect(()=>{i==="searchAutocomplete"&&p?.entityAutoCompleteView.fetchState==="Completed"&&x(d=>ye([...d,...p?.entityAutoCompleteView!=null?Ge(p?.entityAutoCompleteView):[]],"value"))},[p?.entityAutoCompleteView.fetchState]);const S=i==="searchAutocomplete"?t.map(d=>({label:d,value:d})):t.map(d=>b.find(f=>f.value===d)),v=a.useRef(Ce(d=>s?.onAutoCompleteInputChange?.(d),500,{trailing:!0})).current,j=p?.entityAutoCompleteView.fetchState,O={options:e,filterCategoryType:i,searchAutoCompleteStatus:j},$=L.getLocalizedStrings().common.filters;return o.jsx(ze,{children:i==="dateRange"?o.jsx(be,{onDateRangeChange:d=>{C([{label:$.startDate,value:d.startDate??""},{label:$.endDate,value:d.endDate??""}])},selectedDates:t}):o.jsxs(_e,{children:[S.length===0&&i==="user"&&o.jsx(Ve,{}),o.jsx(Z,{...O,isMulti:!0,hideSelectedOptions:!1,value:S,onInputChange:d=>{i==="searchAutocomplete"&&v(d)},onChange:d=>{C(d)},placeholder:n,options:b,styles:h,menuPosition:"fixed",components:{Option:Qe,MultiValueLabel:qe,MultiValueRemove:Ke},filterOption:(d,f)=>Ze(d,f,i),noOptionsMessage:()=>Je(i,j)})]})})},Ge=e=>(e?.vendor.map(t=>({label:t.name,value:t.name}))??[]).sort((t,n)=>(t.label??"").localeCompare(n.label??"")),qe=e=>{const{selectProps:t}=e,{options:n,filterCategoryType:i}=t,p=n.findIndex(s=>s.value===e.data.value);return o.jsx(M.MultiValueLabel,{...e,children:o.jsxs(Pe,{children:[ne(e.data.photo,e.data.label.split(" ")[0],e.data.label.split(" ")[1]!=null?e.data.label.split(" ")[1]:"",p,i),o.jsx(Ye,{children:e.children})]})})},Qe=e=>{const{onMouseMove:t,onMouseOver:n,isSelected:i,...p}=e.innerProps,{options:s,filterCategoryType:C}=e.selectProps,y=s.findIndex(b=>b.value===e.data.value),h={...e,innerProps:p};return o.jsx(M.Option,{...h,children:o.jsxs(He,{children:[o.jsxs(De,{children:[ne(e.data.photo,e.data.label.split(" ")[0],e.data.label.split(" ")[1]!=null?e.data.label.split(" ")[1]:"",y,C),o.jsx(oe,{children:e.label})]}),e.isSelected&&o.jsx(We,{})]})})},Ke=e=>o.jsx(M.MultiValueRemove,{...e,children:o.jsx(Ue,{})}),Je=(e,t)=>{const n=L.getLocalizedStrings().common.filters;if(e==="searchAutocomplete"){if(t==="In-Progress")return o.jsx(ke,{size:"Small-Compact",start:!0});if(t==="Not-Started")return null;if(t==="Completed")return o.jsx(V,{children:n.noMatchesFound})}return o.jsx(V,{children:n.noOptions})},ne=(e,t,n,i,p)=>p!=="user"?null:e==null?o.jsx(Oe,{firstName:t,lastName:n,size:`${r.sp3}`,index:i,fontSize:"9px"}):o.jsx(Ne,{src:e.href,alt:L.getLocalizedStrings().common.filters.userProfileAltText,onError:({currentTarget:s})=>{s.onerror=null,s.src=Be},loading:"lazy"}),Ze=(e,t,n)=>n==="user"&&e.data.email!=null?e.data.label.toLowerCase().includes(t.toLowerCase())||e.data.email.toLowerCase().includes(t.toLowerCase()):e.data.label.toLowerCase().includes(t.toLowerCase()),T={categoryCombinationOperator:"AND",categories:[]},le={valuesCombinationOperator:"ANY",values:[],matchingOperator:"equal"},F=(e,t)=>{switch(e){case"bill_pay":return A.BILL_PAY_FILTER_CATEGORIES;case"reimbursement":return A.hideCreatedByFilter(t)?A.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED:A.REIMBURSEMENT_FILTER_CATEGORIES;case"task_management":return A.TASK_LIST_FILTER_CATEGORIES}},R=(e,t)=>{if(e==="bill_pay"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.bills[n]}if(e==="reimbursement"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.reimbursements[n]}if(e==="task_management"){const n=t;return L.getLocalizedStrings().spendManagement.filters.filterCategories.taskManagement[n]}return""},et=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?{categoryCombinationOperator:"AND",categories:[{...le,field:t.value}]}:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,field:t.value,values:[]})},tt=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,matchingOperator:t.value})},ot=({currentFilters:e,selectedOptions:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((i,p)=>p!==n?i:{...i,values:t.map(s=>s.value)})},rt={width:new ee(215,315)},U=l.div`
56
56
  display: flex;
57
57
  flex-direction: column;
58
58
  row-gap: ${r.sp4};
59
- `,q=l.div`
59
+ `,Y=l.div`
60
60
  display: flex;
61
61
  column-gap: ${r.sp3};
62
62
  align-items: flex-start;
63
63
  flex-wrap: ${e=>e.windowSize==="small"?"wrap":"nowrap"};
64
64
  row-gap: ${e=>e.windowSize==="small"?r.sp3:r.sp0};
65
- `,Y=l.div`
65
+ `,X=l.div`
66
66
  width: 90px;
67
67
  color: ${e=>e.theme.colors.primary};
68
68
  `,G=l.div`
69
69
  width: 194px;
70
- `,K=l.button`
70
+ `,q=l.button`
71
71
  display: flex;
72
72
  align-items: center;
73
73
  column-gap: ${r.sp1};
@@ -98,7 +98,7 @@ import{X as z,u as _,M as L,j as o,bM as H,o as r,gk as ie,q as R,K as ce,f as J
98
98
  display: flex;
99
99
  justify-content: space-between;
100
100
  align-items: center;
101
- `,X=l(fe)`
101
+ `,Q=l(fe)`
102
102
  color: ${e=>e.theme.colors.primary};
103
103
  `,it=l.button`
104
104
  display: ${e=>e.windowSize==="small"?"none":"block"};
@@ -123,7 +123,7 @@ import{X as z,u as _,M as L,j as o,bM as H,o as r,gk as ie,q as R,K as ce,f as J
123
123
  width: ${e=>rt.width.valuePx(e.windowSize)};
124
124
  background: ${e=>e.theme.colors.background};
125
125
  border-radius: ${r.sp1};
126
- `,Z=l.div`
126
+ `,K=l.div`
127
127
  display: flex;
128
128
  align-items: center;
129
129
  column-gap: ${r.sp3};
@@ -139,7 +139,7 @@ import{X as z,u as _,M as L,j as o,bM as H,o as r,gk as ie,q as R,K as ce,f as J
139
139
  align-items: flex-start;
140
140
  column-gap: ${r.sp3};
141
141
  animation: ${ut} 0.4s;
142
- `,ae=a.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:i,vendorSearchAutoCompleteActions:p,onFiltersChange:s},C)=>{const y=ge(),h=z(),b=a.useCallback((c,u)=>{const g=et({currentFilters:e,selectedOption:c,categoryIndex:u});s(g)},[e,s]),x=a.useCallback((c,u)=>{const g=tt({currentFilters:e,selectedOption:c,categoryIndex:u});s(g)},[e,s]),S=a.useCallback(c=>{if(e!=null){const u={...e,categoryCombinationOperator:c};s(u)}},[e,s]),v=a.useCallback(c=>{if(c===0&&e.categories!=null&&e.categories.length===1){s(T);return}if(e.categories!=null&&e.categories.length!==0){if([...e.categories.slice(0,c),...e.categories.slice(c+1)].filter(u=>u.field!=null).length){const u={...e,categories:[...e.categories.slice(0,c),...e.categories.slice(c+1)]};s(u);return}s(T)}},[s,e]),j=()=>{e.categories!=null&&e.categories.length&&s({...e,categories:[...e.categories,{...le}]})},O=()=>{s(T)},$=a.useCallback((c,u)=>{const g=ot({currentFilters:e,selectedOptions:c,categoryIndex:u});s(g)},[e,s]),d=L.getLocalizedStrings().spendManagement.filters,f=()=>e.categories!=null&&e.categories.length!==0?o.jsxs(st,{children:[o.jsxs(K,{onClick:j,children:[o.jsx(nt,{}),o.jsx(N,{children:d.addFilterBtnText})]}),o.jsxs(K,{onClick:O,children:[o.jsx(lt,{}),o.jsx(N,{children:d.clearAllBtnText})]})]}):null,E=()=>e.categories==null||e.categories.length===0?o.jsx(U,{children:o.jsx(q,{children:o.jsxs(Z,{children:[o.jsx(Y,{children:o.jsx(X,{children:d.filterByLabel})}),o.jsx(G,{children:o.jsx(W,{defaultMenuIsOpen:!0,onChange:b,placeHolder:d.categoryPlaceholder,getOptionLabel:c=>B(n,c),options:F(n,y.loggedInUserRole)})})]})})}):o.jsx(a.Fragment,{children:e.categories.map((c,u)=>{const g=F(n,y.loggedInUserRole??[]).find(w=>w.value===c.field),k=g?.type,m=g!=null?B(n,g?.value):"";return o.jsxs(q,{windowSize:h,children:[o.jsxs(Z,{children:[o.jsxs(Y,{children:[u===0&&o.jsx(X,{children:d.filterByLabel}),u!==0?o.jsx(me,{categoryCombinationOperator:e.categoryCombinationOperator,onChange:S,buttonsDisabled:u>1}):null]}),o.jsx(G,{children:o.jsx(W,{value:c.field,placeHolder:d.categoryPlaceholder,onChange:w=>b(w,u),getOptionLabel:w=>B(n,w),options:F(n,y.loggedInUserRole??[])})})]}),c.field?o.jsxs(ht,{children:[o.jsx(at,{children:o.jsx(xe,{categoryIndex:u,value:c.matchingOperator,onChange:x})}),o.jsxs(dt,{children:[o.jsx(pt,{windowSize:h,children:o.jsx(Ye,{options:t[c.field]!=null?t[c.field]:[],placeHolder:k==="searchAutocomplete"?d.searchPlaceholder:`${d.select} ${m}`,value:c.values,filterCategoryType:k??"dropdown",onChange:w=>$(w,u),valuesCombinationOperator:c.valuesCombinationOperator,searchAutoCompleteData:i,searchAutoCompleteActions:p})}),o.jsx(it,{onClick:()=>v(u),windowSize:h,children:o.jsx(ct,{})})]})]}):null]},c.field?c.field+u:u)})});return o.jsxs(U,{ref:C,children:[E(),f()]})});ae.displayName="FiltersSelection";const gt=l.div`
142
+ `,ae=a.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:i,vendorSearchAutoCompleteActions:p,onFiltersChange:s},C)=>{const y=ge(),h=z(),b=a.useCallback((c,u)=>{const g=et({currentFilters:e,selectedOption:c,categoryIndex:u});s(g)},[e,s]),x=a.useCallback((c,u)=>{const g=tt({currentFilters:e,selectedOption:c,categoryIndex:u});s(g)},[e,s]),S=a.useCallback(c=>{if(e!=null){const u={...e,categoryCombinationOperator:c};s(u)}},[e,s]),v=a.useCallback(c=>{if(c===0&&e.categories!=null&&e.categories.length===1){s(T);return}if(e.categories!=null&&e.categories.length!==0){if([...e.categories.slice(0,c),...e.categories.slice(c+1)].filter(u=>u.field!=null).length){const u={...e,categories:[...e.categories.slice(0,c),...e.categories.slice(c+1)]};s(u);return}s(T)}},[s,e]),j=()=>{e.categories!=null&&e.categories.length&&s({...e,categories:[...e.categories,{...le}]})},O=()=>{s(T)},$=a.useCallback((c,u)=>{const g=ot({currentFilters:e,selectedOptions:c,categoryIndex:u});s(g)},[e,s]),d=L.getLocalizedStrings().spendManagement.filters,f=()=>e.categories!=null&&e.categories.length!==0?o.jsxs(st,{children:[o.jsxs(q,{onClick:j,children:[o.jsx(nt,{}),o.jsx(N,{children:d.addFilterBtnText})]}),o.jsxs(q,{onClick:O,children:[o.jsx(lt,{}),o.jsx(N,{children:d.clearAllBtnText})]})]}):null,E=()=>e.categories==null||e.categories.length===0?o.jsx(U,{children:o.jsx(Y,{children:o.jsxs(K,{children:[o.jsx(X,{children:o.jsx(Q,{children:d.filterByLabel})}),o.jsx(G,{children:o.jsx(W,{defaultMenuIsOpen:!0,onChange:b,placeHolder:d.categoryPlaceholder,getOptionLabel:c=>R(n,c),options:F(n,y.loggedInUserRole)})})]})})}):o.jsx(a.Fragment,{children:e.categories.map((c,u)=>{const g=F(n,y.loggedInUserRole??[]).find(w=>w.value===c.field),k=g?.type,m=g!=null?R(n,g?.value):"";return o.jsxs(Y,{windowSize:h,children:[o.jsxs(K,{children:[o.jsxs(X,{children:[u===0&&o.jsx(Q,{children:d.filterByLabel}),u!==0?o.jsx(me,{categoryCombinationOperator:e.categoryCombinationOperator,onChange:S,buttonsDisabled:u>1}):null]}),o.jsx(G,{children:o.jsx(W,{value:c.field,placeHolder:d.categoryPlaceholder,onChange:w=>b(w,u),getOptionLabel:w=>R(n,w),options:F(n,y.loggedInUserRole??[])})})]}),c.field?o.jsxs(ht,{children:[o.jsx(at,{children:o.jsx(xe,{categoryIndex:u,value:c.matchingOperator,onChange:x})}),o.jsxs(dt,{children:[o.jsx(pt,{windowSize:h,children:o.jsx(Xe,{options:t[c.field]!=null?t[c.field]:[],placeHolder:k==="searchAutocomplete"?d.searchPlaceholder:`${d.select} ${m}`,value:c.values,filterCategoryType:k??"dropdown",onChange:w=>$(w,u),valuesCombinationOperator:c.valuesCombinationOperator,searchAutoCompleteData:i,searchAutoCompleteActions:p})}),o.jsx(it,{onClick:()=>v(u),windowSize:h,children:o.jsx(ct,{})})]})]}):null]},c.field?c.field+u:u)})});return o.jsxs(U,{ref:C,children:[E(),f()]})});ae.displayName="FiltersSelection";const gt=l.div`
143
143
  padding-top: ${r.sp4};
144
144
  padding-bottom: ${r.sp4};
145
145
  box-sizing: border-box;
@@ -157,7 +157,7 @@ import{X as z,u as _,M as L,j as o,bM as H,o as r,gk as ie,q as R,K as ce,f as J
157
157
  `,xt=l.div`
158
158
  padding-left: ${r.sp4};
159
159
  padding-right: ${r.sp4};
160
- `,ft=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:i,disableFilters:p=!1,transactionsLoaded:s=!0,createdByUserListLoaded:C=!0,analytics:y,groupByFiltersComponent:h,onFiltersChange:b,getCategoryWiseOptions:x})=>{const S=a.useRef(null),[v,j]=a.useState(!1),O=a.useRef(!1),[$,d]=a.useState({bill_pay:{},reimbursement:{},task_management:{}}),[f,E]=a.useState("auto"),c=a.useRef(null),u=z(),g=a.useCallback(()=>{j(!1)},[]),k=L.getLocalizedStrings().common.strings.empty,m=a.useCallback(()=>{e!=="task_management"&&y?.trackSpendManagmentFilterClick(e),p===!1&&j(!0)},[p,y,e]);a.useEffect(()=>{x&&Object.keys($[e]).length===0&&C&&s&&d(I=>({...I,[e]:x()}))},[e,$,s,C]);const w=a.useCallback(()=>{if(t?.categories==null||t.categories.length===0)return h!=null?88+h.height:88;const I=c.current,D=I!=null?I.clientHeight:0;return u==="small"?"auto":R[7]+(D>0?D:88)+(h!=null?h.height:0)},[t,u,h]);a.useEffect(()=>{if(v!==O.current){E("auto");return}E(w())},[w,v]),a.useEffect(()=>{O.current=v},[v]),a.useEffect(()=>{f==="auto"&&E(w())},[f,w]);const se=()=>o.jsx(he,{anchorEl:S.current,open:v,onClose:g,paperStyle:{overflow:"visible"},children:o.jsxs(gt,{height:f,windowSize:u,children:[h!=null?o.jsx(mt,{children:h?.component}):null,o.jsx(xt,{children:o.jsx(ae,{filters:t,onFiltersChange:b,filterValues:$[e],selectedEntity:e,ref:c,vendorSearchAutoCompleteActions:i,vendorSearchAutoCompleteData:n})})]})},t?.categories==null||t.categories.length===0?"smallBox":"largeBox"),P=t?.categories==null||t?.categories.length===0?0:t.categories.filter(I=>I.field!=null&&I.values.length>0).length;return o.jsxs(a.Fragment,{children:[o.jsx(de,{searchPlaceholder:k,isFilterBtnActive:v||P>0,ref:S,isFilterDisabled:p,onFilterButtonClick:m,filtersCount:P,includeSearch:!1,filterText:k}),p!=!0&&se()]})},yt=e=>a.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M18.8447 9.03137L22.4962 11.5418V21.127C22.4962 21.4902 22.3519 21.8385 22.0951 22.0953C21.8383 22.3521 21.4901 22.4963 21.1269 22.4963H2.86932C2.50615 22.4963 2.15786 22.3521 1.90106 22.0953C1.64427 21.8385 1.5 21.4902 1.5 21.127V11.5418L5.15151 9.03137",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M4.24207 19.7577L8.80646 16.1062H15.1966L19.761 19.7577",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M22.5 11.5416L17.0227 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M1.50378 11.5416L6.98105 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M18.8446 13.9754V2.41288C18.8446 2.17077 18.7484 1.93857 18.5772 1.76738C18.406 1.59618 18.1738 1.5 17.9317 1.5H6.06431C5.8222 1.5 5.59 1.59618 5.4188 1.76738C5.24761 1.93857 5.15143 2.17077 5.15143 2.41288V13.9754",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 5.55005H14.7654",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 8.83069H13.3818",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 12.0398H10.9606",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:Ct}=L.getLocalizedStrings(),bt={filterIconContainerPaddingRight:new ee(18,10)};function At({spendManagementSectionProps:e}){const{entity:t,moreIconContainerStyle:n,searchTextBoxStyle:i,disableDownloadButton:p,filters:s,searchText:C,downloadParams:y,downloadState:h,showSettingsIcon:b=!0,showSettingsIconOnNavbar:x,showDownloadButtonOnNavbar:S,showStatementButtonOnNavbar:v,showPayEarlyButtonOnNavbar:j,groupByFiltersComponent:O,updateDownloadStateHandler:$,onMenuOpen:d}=e,f=z(),E=_(),[c,u]=a.useState(void 0);a.useEffect(()=>{h!=="Error"&&u(!1)},[h]);let g=Ct.moreMenuOptions;x||(g=g.filter(m=>m.value!=="settings")),v||(g=g.filter(m=>m.value!=="statements")),j||(g=g.filter(m=>m.value!=="payEarly")),S||(g=g.filter(m=>m.value!=="download"));const k={};return e.entity==="charge_cards"?k.width="275px":e.entity==="reimbursement"&&(k.width="208px"),o.jsxs($t,{children:[o.jsxs(wt,{isSearchOpen:e.isSearchOpen&&f==="small",windowsize:f,children:[f!=="small"&&!e.hideSearchBtn?o.jsx(H,{style:{position:"absolute",left:"unset",...i},placeholder:e.searchPlaceHolder,searchText:e.searchText,onSearchTextChanged:m=>{e.onSearchTextChanged?.(m)},onSearchOpen:e.onSearchOpen,inputWrapperStyle:k,searchIconMarginRight:e.entity==="charge_cards"?r.sp4:"10px"}):null,(e.entity==="bill_pay"||e.entity==="reimbursement"||e.entity==="task_management")&&e.onFiltersChange!=null?o.jsx(kt,{size:f,children:o.jsx(ft,{entity:e.entity,groupByFiltersComponent:O,onFiltersChange:e.onFiltersChange,filters:e.filters,getCategoryWiseOptions:e.getFilterOptions,vendorSearchAutoCompleteData:e.vendorSearchAutoCompleteData,vendorSearchAutoCompleteActions:e.vendorSearchAutoCompleteActions,createdByUserListLoaded:e.createdByUserListLoaded,analytics:e.analytics})}):null,e.showEntityEmailInfoIconOnNavbar===!0?o.jsx(jt,{onClick:e.onClickEmailInfoIcon,children:o.jsx(vt,{})}):null,b?o.jsx(St,{onClick:()=>u(void 0),style:n,children:t==="bill_pay"||t==="reimbursement"||t==="charge_cards"?o.jsx(ie,{entity:t,isMoreOption:!0,closeMenuOnSelect:!1,isMenuOpen:f!=="small"?c:void 0,options:g,onMenuOpen:d,customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),menu:m=>({...m,left:"23px",top:"29px",transform:"translateX(-100%)",width:"auto",backgroundColor:E.colors.grey5,borderRadius:r.sp1,boxShadow:`${r.sp0} 2px ${r.sp2} ${E.colors.dropShadowHover}`,whiteSpace:"nowrap"}),container:()=>({marginLeft:R[0]}),valueContainer:()=>({display:"flex","#react-select-2-placeholder":{marginRight:R[0],marginLeft:-1}})},onOptionSelection:m=>{m==="settings"?e.onClickSetupIcon?.():m==="statements"?e.onClickStatementsIcon?.():m==="payEarly"&&e.onClickPayEarlyIcon?.()},downloadProps:(t==="bill_pay"||t==="reimbursement")&&y!=null?{entity:t,isDisabled:p,filter:{filters:s,searchText:C},downloadParams:y,downloadState:h,updateDownloadStateHandler:$}:void 0}):o.jsx(Ot,{onClick:e.onClickSetupIcon})}):null,e.showNewButtonOnNavbar===!0?o.jsx(o.Fragment,{children:f==="small"?o.jsx(Lt,{onClick:e.onNewButtonClick,children:o.jsx(Et,{})}):o.jsx(ce,{variant:"primary",onClick:e.onNewButtonClick,label:e.newButtonLabel??"",size:"small",style:{height:"29px",paddingLeft:"12px",paddingRight:"12px",...J.extraSmallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"}})}):null]}),f==="small"&&!e.hideSearchBtn?o.jsx(H,{style:{position:"absolute",left:"5px",right:f!=="small"?"120px":"unset",top:r.sp6,width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,onSearchTextChanged:m=>{e.onSearchTextChanged?.(m)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0,inputWrapperStyle:e.entity==="charge_cards"?{width:270}:{}}):null]})}const vt=l(yt)`
160
+ `,ft=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:i,disableFilters:p=!1,transactionsLoaded:s=!0,createdByUserListLoaded:C=!0,analytics:y,groupByFiltersComponent:h,onFiltersChange:b,getCategoryWiseOptions:x})=>{const S=a.useRef(null),[v,j]=a.useState(!1),O=a.useRef(!1),[$,d]=a.useState({bill_pay:{},reimbursement:{},task_management:{}}),[f,E]=a.useState("auto"),c=a.useRef(null),u=z(),g=a.useCallback(()=>{j(!1)},[]),k=L.getLocalizedStrings().common.strings.empty,m=a.useCallback(()=>{e!=="task_management"&&y?.trackSpendManagmentFilterClick(e),p===!1&&j(!0)},[p,y,e]);a.useEffect(()=>{x&&Object.keys($[e]).length===0&&C&&s&&d(I=>({...I,[e]:x()}))},[e,$,s,C]);const w=a.useCallback(()=>{if(t?.categories==null||t.categories.length===0)return h!=null?88+h.height:88;const I=c.current,D=I!=null?I.clientHeight:0;return u==="small"?"auto":B[7]+(D>0?D:88)+(h!=null?h.height:0)},[t,u,h]);a.useEffect(()=>{if(v!==O.current){E("auto");return}E(w())},[w,v]),a.useEffect(()=>{O.current=v},[v]),a.useEffect(()=>{f==="auto"&&E(w())},[f,w]);const se=()=>o.jsx(he,{anchorEl:S.current,open:v,onClose:g,paperStyle:{overflow:"visible"},children:o.jsxs(gt,{height:f,windowSize:u,children:[h!=null?o.jsx(mt,{children:h?.component}):null,o.jsx(xt,{children:o.jsx(ae,{filters:t,onFiltersChange:b,filterValues:$[e],selectedEntity:e,ref:c,vendorSearchAutoCompleteActions:i,vendorSearchAutoCompleteData:n})})]})},t?.categories==null||t.categories.length===0?"smallBox":"largeBox"),P=t?.categories==null||t?.categories.length===0?0:t.categories.filter(I=>I.field!=null&&I.values.length>0).length;return o.jsxs(a.Fragment,{children:[o.jsx(de,{searchPlaceholder:k,isFilterBtnActive:v||P>0,ref:S,isFilterDisabled:p,onFilterButtonClick:m,filtersCount:P,includeSearch:!1,filterText:k}),p!=!0&&se()]})},yt=e=>a.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M18.8447 9.03137L22.4962 11.5418V21.127C22.4962 21.4902 22.3519 21.8385 22.0951 22.0953C21.8383 22.3521 21.4901 22.4963 21.1269 22.4963H2.86932C2.50615 22.4963 2.15786 22.3521 1.90106 22.0953C1.64427 21.8385 1.5 21.4902 1.5 21.127V11.5418L5.15151 9.03137",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M4.24207 19.7577L8.80646 16.1062H15.1966L19.761 19.7577",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M22.5 11.5416L17.0227 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M1.50378 11.5416L6.98105 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M18.8446 13.9754V2.41288C18.8446 2.17077 18.7484 1.93857 18.5772 1.76738C18.406 1.59618 18.1738 1.5 17.9317 1.5H6.06431C5.8222 1.5 5.59 1.59618 5.4188 1.76738C5.24761 1.93857 5.15143 2.17077 5.15143 2.41288V13.9754",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 5.55005H14.7654",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 8.83069H13.3818",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 12.0398H10.9606",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:Ct}=L.getLocalizedStrings(),bt={filterIconContainerPaddingRight:new ee(18,10)};function Mt({spendManagementSectionProps:e}){const{entity:t,moreIconContainerStyle:n,searchTextBoxStyle:i,disableDownloadButton:p,filters:s,searchText:C,downloadParams:y,downloadState:h,showSettingsIcon:b=!0,showSettingsIconOnNavbar:x,showDownloadButtonOnNavbar:S,showStatementButtonOnNavbar:v,showPayEarlyButtonOnNavbar:j,groupByFiltersComponent:O,updateDownloadStateHandler:$,onMenuOpen:d}=e,f=z(),E=_(),[c,u]=a.useState(void 0);a.useEffect(()=>{h!=="Error"&&u(!1)},[h]);let g=Ct.moreMenuOptions;x||(g=g.filter(m=>m.value!=="settings")),v||(g=g.filter(m=>m.value!=="statements")),j||(g=g.filter(m=>m.value!=="payEarly")),S||(g=g.filter(m=>m.value!=="download"));const k={};return e.entity==="charge_cards"?k.width="275px":e.entity==="reimbursement"&&(k.width="208px"),o.jsxs($t,{children:[o.jsxs(wt,{isSearchOpen:e.isSearchOpen&&f==="small",windowsize:f,children:[f!=="small"&&!e.hideSearchBtn?o.jsx(H,{style:{position:"absolute",left:"unset",...i},placeholder:e.searchPlaceHolder,searchText:e.searchText,onSearchTextChanged:m=>{e.onSearchTextChanged?.(m)},onSearchOpen:e.onSearchOpen,inputWrapperStyle:k,searchIconMarginRight:e.entity==="charge_cards"?r.sp4:"10px"}):null,(e.entity==="bill_pay"||e.entity==="reimbursement"||e.entity==="task_management")&&e.onFiltersChange!=null?o.jsx(kt,{size:f,children:o.jsx(ft,{entity:e.entity,groupByFiltersComponent:O,onFiltersChange:e.onFiltersChange,filters:e.filters,getCategoryWiseOptions:e.getFilterOptions,vendorSearchAutoCompleteData:e.vendorSearchAutoCompleteData,vendorSearchAutoCompleteActions:e.vendorSearchAutoCompleteActions,createdByUserListLoaded:e.createdByUserListLoaded,analytics:e.analytics})}):null,e.showEntityEmailInfoIconOnNavbar===!0?o.jsx(jt,{onClick:e.onClickEmailInfoIcon,children:o.jsx(vt,{})}):null,b?o.jsx(St,{onClick:()=>u(void 0),style:n,children:t==="bill_pay"||t==="reimbursement"||t==="charge_cards"?o.jsx(ie,{entity:t,isMoreOption:!0,closeMenuOnSelect:!1,isMenuOpen:f!=="small"?c:void 0,options:g,onMenuOpen:d,customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),menu:m=>({...m,left:"23px",top:"29px",transform:"translateX(-100%)",width:"auto",backgroundColor:E.colors.grey5,borderRadius:r.sp1,boxShadow:`${r.sp0} 2px ${r.sp2} ${E.colors.dropShadowHover}`,whiteSpace:"nowrap"}),container:()=>({marginLeft:B[0]}),valueContainer:()=>({display:"flex","#react-select-2-placeholder":{marginRight:B[0],marginLeft:-1}})},onOptionSelection:m=>{m==="settings"?e.onClickSetupIcon?.():m==="statements"?e.onClickStatementsIcon?.():m==="payEarly"&&e.onClickPayEarlyIcon?.()},downloadProps:(t==="bill_pay"||t==="reimbursement")&&y!=null?{entity:t,isDisabled:p,filter:{filters:s,searchText:C},downloadParams:y,downloadState:h,updateDownloadStateHandler:$}:void 0}):o.jsx(Ot,{onClick:e.onClickSetupIcon})}):null,e.showNewButtonOnNavbar===!0?o.jsx(o.Fragment,{children:f==="small"?o.jsx(Lt,{onClick:e.onNewButtonClick,children:o.jsx(Et,{})}):o.jsx(ce,{variant:"primary",onClick:e.onNewButtonClick,label:e.newButtonLabel??"",size:"small",style:{height:"29px",paddingLeft:"12px",paddingRight:"12px",...J.extraSmallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"}})}):null]}),f==="small"&&!e.hideSearchBtn?o.jsx(H,{style:{position:"absolute",left:"5px",right:f!=="small"?"120px":"unset",top:r.sp6,width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,onSearchTextChanged:m=>{e.onSearchTextChanged?.(m)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0,inputWrapperStyle:e.entity==="charge_cards"?{width:270}:{}}):null]})}const vt=l(yt)`
161
161
  height: ${r.sp4};
162
162
  width: ${r.sp4};
163
163
  `,wt=l.div`
@@ -227,4 +227,4 @@ import{X as z,u as _,M as L,j as o,bM as H,o as r,gk as ie,q as R,K as ce,f as J
227
227
  height: ${r.sp4};
228
228
  width: ${r.sp4};
229
229
  color: ${e=>e.theme.colors.hero};
230
- `;export{W as K,At as Y};
230
+ `;export{W as K,Mt as Y};
@@ -1,7 +1,7 @@
1
- import{X as Te,cg as qe,u as Ge,M as Q,co as Ze,a2 as se,eX as Ye,l as W,a8 as re,j as t,aR as Ke,C as d,f3 as Je,f4 as Qe,f5 as Xe,bB as et,q as o,a0 as tt,eY as ye,eZ as ve,o as i,_ as N,f6 as Le,c as pe,g as j,e_ as it,Q as ze,f7 as nt,e$ as at,v as ot,bs as $e,cz as lt,a7 as st,f8 as rt,m as _e,af as Ae,f9 as ct,cl as dt}from"./index-BP54u7bE.js";import{b as f,n}from"./vendor-CnQcJ2Lu.js";import{r as ut}from"./mui-C5LQ0bMa.js";import{v as pt}from"./ChargeCardUtils-DC2v2EHU-B8YRIRH7.js";import{Y as ht}from"./CreditCardPaymentPlgSection-CAsn4Ae6-CZm-m7f1.js";import{M as gt}from"./ChaseOverlay-B-Sx71yo-CVGS055Q.js";import{K as mt}from"./SetUpDefaultSection-DsyZbNsv-BU4fjsR8.js";const X={sectionWidth:new d(343,580,726),rowGap:new d(o[2],o[3]),footerPaddingLeftRight:new d(o[3],o[4])},ft={title:new ze("standardMedium","largeMedium")};function xt({plaidConnectionDetails:e,header:p,isAccountsEnabled:v=!0,analytics:x,pageName:b,accountsPromoConfig:$,style:A,onConnectClick:M,onSignUpClick:I}){const u=Te(),{setUp:r}=Q.getLocalizedStrings().commonSetUp,m=e.link_account,P=m.fetchStatus.fetchState==="In-Progress"||m.updateStatus.fetchState==="In-Progress";return t.jsxs(St,{windowSize:u,style:A,"data-testid":N("default-account-section",b),children:[t.jsx(wt,{children:t.jsx(bt,{windowSize:u,children:p})}),t.jsxs(yt,{windowSize:u,width:A?.width,children:[t.jsx(Le,{heading:r.accountsPlg.heading,buttonText:r.accountsPlg.signUpButtonText,onSignUpClick:I,isAccountsEnabled:v,pageName:b,analytics:x,style:{borderTopLeftRadius:i.sp2,borderTopRightRadius:i.sp2},accountsPromoConfig:$}),t.jsxs($t,{windowSize:u,children:[t.jsxs(kt,{onClick:M,children:[t.jsx(Ct,{isLoading:P,children:r.connectExternalAccount}),P?null:t.jsx(jt,{className:"right-arrow"})]}),P?t.jsx(vt,{children:t.jsx(pe,{size:"ExtraSmall",start:!0,style:{display:"flex"}})}):null]})]})]})}const St=n.div`
1
+ import{X as Le,ck as Je,u as qe,B as K,cs as Ge,a2 as se,e_ as Xe,l as W,a8 as re,j as t,aS as Ze,C as d,f6 as Ye,f7 as Ke,f8 as Qe,bF as et,s as o,a0 as tt,e$ as ye,f0 as ve,o as i,$ as V,f9 as Te,h as pe,d as j,f1 as it,J as ze,fa as nt,f2 as at,w as ot,bx as $e,cD as lt,a7 as st,fb as rt,M as _e,af as Ae,fc as ct,cp as dt}from"./index-DYVNUtTS.js";import{b as f,n}from"./vendor-CnQcJ2Lu.js";import{r as ut}from"./mui-C5LQ0bMa.js";import{S as pt}from"./ChargeCardUtils-CErWBcYS-DYGG4Kg0.js";import{Z as ht}from"./CreditCardPaymentPlgSection-DX1BieKp-CaB1ZnNz.js";import{M as gt}from"./ChaseOverlay-9_ms5LgM-DLbFcFUT.js";import{J as mt}from"./SetUpDefaultSection-DSslQOgJ-y5lEHYNN.js";const Q={sectionWidth:new d(343,580,726),rowGap:new d(o[2],o[3]),footerPaddingLeftRight:new d(o[3],o[4])},ft={title:new ze("standardMedium","largeMedium")};function xt({plaidConnectionDetails:e,header:p,isAccountsEnabled:v=!0,analytics:x,pageName:b,accountsPromoConfig:$,style:A,onConnectClick:D,onSignUpClick:I}){const u=Le(),{setUp:r}=K.getLocalizedStrings().commonSetUp,m=e.link_account,P=m.fetchStatus.fetchState==="In-Progress"||m.updateStatus.fetchState==="In-Progress";return t.jsxs(St,{windowSize:u,style:A,"data-testid":V("default-account-section",b),children:[t.jsx(wt,{children:t.jsx(bt,{windowSize:u,children:p})}),t.jsxs(yt,{windowSize:u,width:A?.width,children:[t.jsx(Te,{heading:r.accountsPlg.heading,buttonText:r.accountsPlg.signUpButtonText,onSignUpClick:I,isAccountsEnabled:v,pageName:b,analytics:x,style:{borderTopLeftRadius:i.sp2,borderTopRightRadius:i.sp2},accountsPromoConfig:$}),t.jsxs($t,{windowSize:u,children:[t.jsxs(kt,{onClick:D,children:[t.jsx(Ct,{isLoading:P,children:r.connectExternalAccount}),P?null:t.jsx(jt,{className:"right-arrow"})]}),P?t.jsx(vt,{children:t.jsx(pe,{size:"ExtraSmall",start:!0,style:{display:"flex"}})}):null]})]})]})}const St=n.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
- row-gap: ${e=>X.rowGap.valuePx(e.windowSize)};
4
+ row-gap: ${e=>Q.rowGap.valuePx(e.windowSize)};
5
5
  `,wt=n.div`
6
6
  display: flex;
7
7
  align-items: center;
@@ -11,7 +11,7 @@ import{X as Te,cg as qe,u as Ge,M as Q,co as Ze,a2 as se,eX as Ye,l as W,a8 as r
11
11
  color: ${e=>e.theme.colors.primary};
12
12
  ${e=>`${ft.title.style(e.windowSize)}`};
13
13
  `,yt=n.div`
14
- width: ${e=>e.width!=null?e.width:X.sectionWidth.valuePx(e.windowSize)};
14
+ width: ${e=>e.width!=null?e.width:Q.sectionWidth.valuePx(e.windowSize)};
15
15
  border: 1px solid ${e=>e.theme.colors.grey3};
16
16
  box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
17
17
  border-radius: ${i.sp2};
@@ -29,8 +29,8 @@ import{X as Te,cg as qe,u as Ge,M as Q,co as Ze,a2 as se,eX as Ye,l as W,a8 as r
29
29
  align-items: center;
30
30
  padding-top: ${i.sp1};
31
31
  padding-bottom: ${i.sp1};
32
- padding-left: ${e=>X.footerPaddingLeftRight.valuePx(e.windowSize)};
33
- padding-right: ${e=>X.footerPaddingLeftRight.valuePx(e.windowSize)};
32
+ padding-left: ${e=>Q.footerPaddingLeftRight.valuePx(e.windowSize)};
33
+ padding-right: ${e=>Q.footerPaddingLeftRight.valuePx(e.windowSize)};
34
34
  background: ${e=>e.theme.colors.grey4};
35
35
  border-radius: ${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2};
36
36
  color: ${e=>e.theme.colors.hero};
@@ -52,7 +52,7 @@ import{X as Te,cg as qe,u as Ge,M as Q,co as Ze,a2 as se,eX as Ye,l as W,a8 as r
52
52
  height: 12px;
53
53
  cursor: pointer;
54
54
  color: ${e=>e.theme.colors.hero};
55
- `,s={labelWidth:new d(120,190,190),sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(o[6],o[7]),iconPadding:new d(10,12),rowGap:new d(o[2],o[3]),elementsMarginLeftRight:new d(o[3],o[4]),labeledFieldPaddingLeft:new d(o[3],o[0]),labeledFieldPaddingRight:new d(o[3],o[2]),labeledFieldPaddingTop:new d(o[3],o[3]),labeledFieldPaddingBottom:new d(o[3],o[2]),labeleMarginLeft:new d(o[0],o[4]),labeleMarginBottom:new d(o[2],o[0]),infoLabelPaddingRight:new d(o[0],o[3]),infoLabelMarginTop:new d(o[1],o[0]),iconWidthHeight:new d(20,o[4])},Pt={title:new ze("standardSemiBold","largeSemiBold")};function si({primaryFundingAccount:e,allFundingAccounts:p,allBankAccounts:v,plaidConnectionDetails:x,sectionId:b,isDisabled:$,icon:A,sectionTitle:M,style:I,analytics:u,productType:r,referrer:m,accountSelectContainerStyle:P,connectedAccountProvider:te,isCompleted:H=!1,showCompletedIcon:q=!1,showZeniAccountSection:ie=!0,isAccountsEnabled:k,accountsPromoConfig:T,pageName:G,onFetchLinkTokenClick:L,onEstablishConnectionClick:Z,onUpdatePaymentAccountStatus:E,onEstablishConnectionSuccess:U,onSignUpClick:ne,bottomComponent:Ie}){const a=Te(),{trigger:Ee,formState:{errors:Re}}=qe(),D=f.useRef(null),R=Ge(),{setUp:h}=Q.getLocalizedStrings().commonSetUp,Y=Q.getLocalizedStrings().spendManagement.chargeCard.payEarly;let y,he,c,S=!1;e!=null&&e.accType==="paymentAccount"&&(y=e.providerVerificationStatus,he=e?.institutionDetails,c=y?.code,S=e?.isLoginRequired??!1);const ae=ke(b,"account"),Be=Ze(Re,ae),[z,K]=f.useState(void 0),g=x.link_account,_=x.update_account,w=z==="update_account"?_:g,[B,ge]=f.useState(w.linkToken??null),[O,J]=f.useState(!1),[Me,me]=f.useState(!1),fe=se(g.updateStatus.fetchState),oe=se(_.updateStatus.fetchState),Ue=se(_.fetchStatus.fetchState),De=f.useCallback((l,C)=>{u.trackConnectBankSuccess(r,m);const be=C.accounts.find(He=>He.id===e?.providerAccountId)??C.accounts[0];e?.id!=null&&z==="update_account"&&be?.verification_status!=null&&!S?E(be?.verification_status,e.id,"update_account"):Z(l,z),K(void 0),J(!1)},[u,m,r,e?.id,e?.providerAccountId,z,S,E,Z]),Oe=f.useCallback((l,C)=>{l!=null&&(u.trackConnectBankFailure(r,l.error_code+" "+l.error_message,m),l.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e?.id!=null&&E("verification_failed",e.id,"update_account"),console.log("Plaid Connection Error",l,C)),K(void 0),J(!1)},[u,r,m,e?.id,E]),{open:F,ready:xe}=Ye({token:B,onSuccess:De,onExit:Oe});f.useEffect(()=>{(fe==="In-Progress"&&g.updateStatus.fetchState==="Completed"||oe==="In-Progress"&&_.updateStatus.fetchState==="Completed")&&(W.isVerifiedPaymentAccountProviderStatusCode(c??"")||(L("link_account"),U()))},[g.updateStatus.fetchState,U,L,e?.providerVerificationStatus?.code,e?.id,fe,oe,_.updateStatus.fetchState,c]),f.useEffect(()=>{(W.isVerifiedStatusCode(c??"")||c==="verification_failed")&&!O&&z!=null&&w.linkToken===B&&w.fetchStatus.fetchState==="Completed"&&xe&&J(!0)},[xe,B,w.fetchStatus.fetchState,w.linkToken,c,z,O]),f.useEffect(()=>{w.fetchStatus.fetchState==="Completed"&&w.linkToken!=null&&w.linkToken!==B&&ge(w.linkToken)},[w.fetchStatus.fetchState,w.linkToken,B]),f.useEffect(()=>{O&&F()},[O,F]),f.useEffect(()=>{!e?.zeniAccountId&&!Be&&Ee(ae)},[e?.id]),f.useEffect(()=>{(c==null||c==="verification_failed"||c==="verification_expired"||W.isVerifiedStatusCode(c))&&(W.zeniDate(new Date().toISOString()).isAfter(g.expiration)||g.linkToken==null)&&L("link_account")},[]);const Fe=()=>{u.trackConnectBankGetBalance(r,m),K("update_account"),L("update_account",e?.id)},Se=`${e?.accountSubType?.name!=null?e?.accountSubType?.name.substring(0,1).toUpperCase().concat(e?.accountSubType?.name.substring(1)):""} ${e?.maskedAccountNumber??""}`.trim(),le=g.fetchStatus.fetchState==="In-Progress"||g.updateStatus.fetchState==="In-Progress",We=p.findIndex(l=>l.id===e?.id),Ve=()=>{me(!0)},Ne=R.mode==="light"?new re(R.colors.brandColorJadeLight):new re(R.colors.brandColorJadeDark);if(e==null&&p.length===0)return r==="zeni_accounts"?t.jsx(mt,{onClick:()=>{(c==null||c==="verification_failed"||c==="verification_expired")&&(u.trackConnectBank(r,m),F())},title:h.achTitle,subTitle:h.achSubTitle,header:h.paymentSource,isCompleted:H,showCompletedIcon:q,icon:{element:t.jsx(Ke,{width:s.iconWidthHeight.valuePx(a),height:s.iconWidthHeight.valuePx(a)}),color:new re(Ne)},isLoading:le,status:y}):t.jsx(Ce,{windowSize:a,style:I,children:t.jsx(xt,{header:h.paymentSource,plaidConnectionDetails:x,onConnectClick:()=>{(c==null||c==="verification_failed"||c==="verification_expired")&&(u.trackConnectBank(r,m),F())},onSignUpClick:ne,isAccountsEnabled:!1,analytics:u,pageName:G,accountsPromoConfig:T})});const we=he?.zeniInstitutionId.toLowerCase()==="chase";return t.jsxs(Ce,{windowSize:a,style:I,children:[Me===!0?ut.createPortal(t.jsx(gt,{connectedAccountProvider:te,action:{onBackClick:()=>me(!1)}}),document.body):null,t.jsxs(Wt,{children:[q===!0?t.jsx(Nt,{children:H?t.jsx(Ht,{}):t.jsx(qt,{})}):null,t.jsx(Vt,{windowSize:a,children:M??h.paymentSource})]}),t.jsxs(Ft,{windowSize:a,isDisabled:S,children:[t.jsxs(At,{windowSize:a,children:[t.jsxs(Bt,{children:[e!=null?t.jsx(Rt,{isDisabled:S,children:Tt(A,a,R.mode==="dark",e,We)}):null,t.jsxs(Jt,{children:[t.jsxs(Gt,{children:[t.jsx(Je,{ref:D,style:{display:a==="small"?"block":"inherit",width:"-webkit-fill-available"},customStyleConfig:{menu:()=>({width:a==="small"?"100%":"510px"})},controlProperty:{controlHeight:o[4],fontWeight:et.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:a==="small"?240:300},customPlaceholder:{color:R.colors.hero,weight:500},name:ke(b,"fundingAccount"),placeholder:h.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(l,C)=>Xe(p,l,C),valueToSubLabels:(l,C)=>Qe(p,l,C,!1),defaultValue:{selectedOption:e?.id,allOptions:p.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,isDisabled:le?"disabled":void 0,showLoadingIcon:le,onClickCreateOption:()=>{u.trackConnectBank(r,m),K("link_account"),g.linkToken==null||W.zeniDate(new Date().toISOString()).isAfter(g.expiration)?L("link_account"):B!==g.linkToken?ge(g.linkToken):O?F():J(!0)}}),t.jsxs(Ut,{isDisabled:S,children:[Se?t.jsxs(t.Fragment,{children:[t.jsx(ee,{children:Se}),a!=="small"&&(c!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification"||S||we||e?.accountBalance?.available)?t.jsx(Yt,{}):null]}):null,c!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification"||S||we?t.jsx(Lt,{isUpdateLinkClicked:z==="update_account",isLoginRequired:S,isPendingVerification:c!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification",productType:r,fetchAndUpdateStatues:{fetchStatus:_.fetchStatus,updateStatus:_.updateStatus,linkFetchStatus:g.fetchStatus,linkUpdateStatus:g.updateStatus,prevFetchState:Ue,prevUpdateState:oe},onUpdateLinkTokenClick:Fe,onChaseInfoClick:Ve}):e?.accountBalance?.available?t.jsx(ee,{children:tt("0,0[.]00",e?.accountBalance?.available)}):null]})]}),y!=null&&a==="small"?t.jsx(ye,{style:{width:"max-content",padding:0,marginTop:i.sp2},tagTitle:y.name,textColor:ve(y.code)}):null]})]}),t.jsx(Mt,{children:y!=null&&a!=="small"?t.jsxs(t.Fragment,{children:[t.jsx(ye,{style:{width:"max-content"},tagTitle:y.name,textColor:ve(y.code)}),t.jsx(Zt,{})]}):null})]}),ie?t.jsxs(It,{style:P,windowSize:a,isDisabled:S,onClick:l=>l.stopPropagation(),"data-testid":N("account-select-container",r),children:[t.jsx(Et,{isDisabled:S?"disabled":$,label:{label:h.zeniCashAccountLabel,width:a==="small"?void 0:s.labelWidth.value(a),style:{marginLeft:s.labeleMarginLeft.valuePx(a),marginBottom:s.labeleMarginBottom.valuePx(a)}},style:{paddingTop:s.labeledFieldPaddingTop.valuePx(a),paddingBottom:s.labeledFieldPaddingBottom.valuePx(a),paddingLeft:s.labeledFieldPaddingLeft.valuePx(a),paddingRight:s.labeledFieldPaddingRight.valuePx(a),borderRadius:i.sp2,border:`1px solid ${R.colors.grey3}`,width:"-webkit-fill-available",display:a==="small"?"block":"inherit"},infoLabelStyle:{textAlign:a==="small"?"left":"right",paddingRight:s.infoLabelPaddingRight.valuePx(a),marginTop:s.infoLabelMarginTop.valuePx(a)},singleSelectPickerField:{name:ae,placeholder:h.zeniCashAccountPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e?.zeniAccountId??"",allOptions:v.map(l=>({label:l.accountName,value:l.accountId}))},isOptionRemovable:!1,withBorder:a==="small",textAlignment:a==="small"?"left":"right",registerOptions:{required:!1}},valueToAdditionalLabel:()=>h.zeniCashAcoountInfo}),Ie]}):null,e?.accType==="paymentAccount"?r==="charge_cards"?t.jsx(ht,{style:{borderRadius:`${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2}`},maxInsuredAmount:T.maxInsuredAmount,heading:t.jsxs(zt,{windowSize:a,children:[Y.earn,t.jsx(_t,{children:Y.percentageCashback.replace("__percentage__",pt)}),Y.whenYouPayViaZeniChecking]}),buttonText:k===!1?h.accountsPlg.signUpButtonText:h.accountsPlg.switchButtonText,isAccountsEnabled:k,pageName:Y.creditCardPayment,onSignUpClick:ne,onSwitchClick:()=>{D.current!=null&&D.current.focus()}}):r!=="zeni_accounts"?t.jsx(Le,{heading:h.accountsPlg.heading,style:{borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},isAccountsEnabled:k,buttonText:k===!1?h.accountsPlg.signUpButtonText:h.accountsPlg.switchButtonText,analytics:u,pageName:G,onSignUpClick:ne,onSwitchClick:()=>{D.current!=null&&D.current.focus()},accountsPromoConfig:T}):null:null]})]})}const Tt=(e,p,v,x,b,$)=>x?.accType==="depositAccount"?t.jsx(Qt,{isOptionSelected:!0,children:t.jsx(Xt,{color:nt(b??0)})}):x?.institutionDetails?.logo?.base64!=null?t.jsx(Kt,{windowSize:p,src:`${at}${x?.institutionDetails.logo?.base64.toString()}`,alt:x?.institutionDetails.institutionName,loading:"lazy"}):$===!0?e.element:t.jsx(Ot,{iconColor:e.color,windowSize:p,isDarkMode:v,children:e.element}),Lt=({productType:e,isLoginRequired:p,isUpdateLinkClicked:v,isPendingVerification:x,fetchAndUpdateStatues:b,onUpdateLinkTokenClick:$,onChaseInfoClick:A})=>{const{commonSetUp:M}=Q.getLocalizedStrings(),{setUp:I}=M,{verifyAccount:u,verifyingAccount:r,verifyAccountError:m,reLogging:P,reLoginLabel:te,reLoginError:H,reLoginMessage:q,chaseLabel:ie}=I,{fetchStatus:k,updateStatus:T,linkFetchStatus:G,linkUpdateStatus:L,prevFetchState:Z,prevUpdateState:E}=b,U=v&&Z==="In-Progress"&&k?.fetchState==="Error"||E==="In-Progress"&&T?.fetchState==="Error";return p?v&&(k?.fetchState==="In-Progress"||T?.fetchState==="In-Progress"||G?.fetchState==="In-Progress"||L?.fetchState==="In-Progress")?t.jsxs(V,{style:{color:j.important},children:[t.jsx(ee,{children:P}),t.jsx(Pe,{children:t.jsx(pe,{size:"Small",start:!0,style:{display:"flex",color:j.important}})})]}):t.jsx(V,{style:{cursor:"pointer"},onClick:$,"data-testid":N("re-login-label-clicked"),children:t.jsx($e,{style:{padding:`12px ${i.sp3}`},title:q,placement:"bottom",maxWidth:"264px",children:t.jsxs(Dt,{children:[t.jsx(je,{style:{marginLeft:i.sp0,marginRight:i.sp1}}),t.jsx(ce,{isError:!0,style:{color:j.important},children:U?H:te}),t.jsx(de,{children:t.jsx(ue,{style:{color:j.important}})})]})})}):k?.fetchState==="In-Progress"||T?.fetchState==="In-Progress"?t.jsxs(V,{children:[t.jsx(ee,{children:r}),t.jsx(Pe,{children:t.jsx(pe,{size:"Small",start:!0,style:{display:"flex"}})})]}):x?t.jsxs(V,{onClick:$,"data-testid":N("verify-account-label-clicked",e),children:[t.jsx(ce,{isError:!1,children:u}),t.jsx(de,{children:t.jsx(ue,{})}),U?t.jsx($e,{maxWidth:"280px",style:{padding:`12px ${i.sp3}`,color:j.important},title:m,placement:"bottom",children:t.jsx(je,{})}):null]}):t.jsxs(V,{onClick:A,"data-testid":N("chase-info-label-clicked"),children:[t.jsx(ce,{isError:!1,children:ie}),t.jsx(de,{children:t.jsx(ue,{})})]})},ke=(e,p)=>`${e}.${p}`,zt=n(st)`
55
+ `,s={labelWidth:new d(120,190,190),sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(o[6],o[7]),iconPadding:new d(10,12),rowGap:new d(o[2],o[3]),elementsMarginLeftRight:new d(o[3],o[4]),labeledFieldPaddingLeft:new d(o[3],o[0]),labeledFieldPaddingRight:new d(o[3],o[2]),labeledFieldPaddingTop:new d(o[3],o[3]),labeledFieldPaddingBottom:new d(o[3],o[2]),labeleMarginLeft:new d(o[0],o[4]),labeleMarginBottom:new d(o[2],o[0]),infoLabelPaddingRight:new d(o[0],o[3]),infoLabelMarginTop:new d(o[1],o[0]),iconWidthHeight:new d(20,o[4])},Pt={title:new ze("standardSemiBold","largeSemiBold")};function si({primaryFundingAccount:e,allFundingAccounts:p,allBankAccounts:v,plaidConnectionDetails:x,sectionId:b,isDisabled:$,icon:A,sectionTitle:D,style:I,analytics:u,productType:r,referrer:m,accountSelectContainerStyle:P,connectedAccountProvider:te,isCompleted:H=!1,showCompletedIcon:J=!1,showZeniAccountSection:ie=!0,isAccountsEnabled:k,accountsPromoConfig:L,pageName:q,onFetchLinkTokenClick:T,onEstablishConnectionClick:G,onUpdatePaymentAccountStatus:E,onEstablishConnectionSuccess:M,onSignUpClick:ne,bottomComponent:Ie}){const a=Le(),{trigger:Ee,formState:{errors:Re}}=Je(),U=f.useRef(null),R=qe(),{setUp:h}=K.getLocalizedStrings().commonSetUp,X=K.getLocalizedStrings().spendManagement.chargeCard.payEarly;let y,he,c,S=!1;e!=null&&e.accType==="paymentAccount"&&(y=e.providerVerificationStatus,he=e?.institutionDetails,c=y?.code,S=e?.isLoginRequired??!1);const ae=ke(b,"account"),Be=Ge(Re,ae),[z,Z]=f.useState(void 0),g=x.link_account,_=x.update_account,w=z==="update_account"?_:g,[B,ge]=f.useState(w.linkToken??null),[F,Y]=f.useState(!1),[De,me]=f.useState(!1),fe=se(g.updateStatus.fetchState),oe=se(_.updateStatus.fetchState),Me=se(_.fetchStatus.fetchState),Ue=f.useCallback((l,C)=>{u.trackConnectBankSuccess(r,m);const be=C.accounts.find(He=>He.id===e?.providerAccountId)??C.accounts[0];e?.id!=null&&z==="update_account"&&be?.verification_status!=null&&!S?E(be?.verification_status,e.id,"update_account"):G(l,z),Z(void 0),Y(!1)},[u,m,r,e?.id,e?.providerAccountId,z,S,E,G]),Fe=f.useCallback((l,C)=>{l!=null&&(u.trackConnectBankFailure(r,l.error_code+" "+l.error_message,m),l.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e?.id!=null&&E("verification_failed",e.id,"update_account"),console.log("Plaid Connection Error",l,C)),Z(void 0),Y(!1)},[u,r,m,e?.id,E]),{open:O,ready:xe}=Xe({token:B,onSuccess:Ue,onExit:Fe});f.useEffect(()=>{(fe==="In-Progress"&&g.updateStatus.fetchState==="Completed"||oe==="In-Progress"&&_.updateStatus.fetchState==="Completed")&&(W.isVerifiedPaymentAccountProviderStatusCode(c??"")||(T("link_account"),M()))},[g.updateStatus.fetchState,M,T,e?.providerVerificationStatus?.code,e?.id,fe,oe,_.updateStatus.fetchState,c]),f.useEffect(()=>{(W.isVerifiedStatusCode(c??"")||c==="verification_failed")&&!F&&z!=null&&w.linkToken===B&&w.fetchStatus.fetchState==="Completed"&&xe&&Y(!0)},[xe,B,w.fetchStatus.fetchState,w.linkToken,c,z,F]),f.useEffect(()=>{w.fetchStatus.fetchState==="Completed"&&w.linkToken!=null&&w.linkToken!==B&&ge(w.linkToken)},[w.fetchStatus.fetchState,w.linkToken,B]),f.useEffect(()=>{F&&O()},[F,O]),f.useEffect(()=>{!e?.zeniAccountId&&!Be&&Ee(ae)},[e?.id]),f.useEffect(()=>{(c==null||c==="verification_failed"||c==="verification_expired"||W.isVerifiedStatusCode(c))&&(W.zeniDate(new Date().toISOString()).isAfter(g.expiration)||g.linkToken==null)&&T("link_account")},[]);const Oe=()=>{u.trackConnectBankGetBalance(r,m),Z("update_account"),T("update_account",e?.id)},Se=`${e?.accountSubType?.name!=null?e?.accountSubType?.name.substring(0,1).toUpperCase().concat(e?.accountSubType?.name.substring(1)):""} ${e?.maskedAccountNumber??""}`.trim(),le=g.fetchStatus.fetchState==="In-Progress"||g.updateStatus.fetchState==="In-Progress",We=p.findIndex(l=>l.id===e?.id),Ne=()=>{me(!0)},Ve=R.mode==="light"?new re(R.colors.brandColorJadeLight):new re(R.colors.brandColorJadeDark);if(e==null&&p.length===0)return r==="zeni_accounts"?t.jsx(mt,{onClick:()=>{(c==null||c==="verification_failed"||c==="verification_expired")&&(u.trackConnectBank(r,m),O())},title:h.achTitle,subTitle:h.achSubTitle,header:h.paymentSource,isCompleted:H,showCompletedIcon:J,icon:{element:t.jsx(Ze,{width:s.iconWidthHeight.valuePx(a),height:s.iconWidthHeight.valuePx(a)}),color:new re(Ve)},isLoading:le,status:y}):t.jsx(Ce,{windowSize:a,style:I,children:t.jsx(xt,{header:h.paymentSource,plaidConnectionDetails:x,onConnectClick:()=>{(c==null||c==="verification_failed"||c==="verification_expired")&&(u.trackConnectBank(r,m),O())},onSignUpClick:ne,isAccountsEnabled:!1,analytics:u,pageName:q,accountsPromoConfig:L})});const we=he?.zeniInstitutionId.toLowerCase()==="chase";return t.jsxs(Ce,{windowSize:a,style:I,children:[De===!0?ut.createPortal(t.jsx(gt,{connectedAccountProvider:te,action:{onBackClick:()=>me(!1)}}),document.body):null,t.jsxs(Wt,{children:[J===!0?t.jsx(Vt,{children:H?t.jsx(Ht,{}):t.jsx(Jt,{})}):null,t.jsx(Nt,{windowSize:a,children:D??h.paymentSource})]}),t.jsxs(Ot,{windowSize:a,isDisabled:S,children:[t.jsxs(At,{windowSize:a,children:[t.jsxs(Bt,{children:[e!=null?t.jsx(Rt,{isDisabled:S,children:Lt(A,a,R.mode==="dark",e,We)}):null,t.jsxs(Yt,{children:[t.jsxs(qt,{children:[t.jsx(Ye,{ref:U,style:{display:a==="small"?"block":"inherit",width:"-webkit-fill-available"},customStyleConfig:{menu:()=>({width:a==="small"?"100%":"510px"})},controlProperty:{controlHeight:o[4],fontWeight:et.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:a==="small"?240:300},customPlaceholder:{color:R.colors.hero,weight:500},name:ke(b,"fundingAccount"),placeholder:h.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(l,C)=>Qe(p,l,C),valueToSubLabels:(l,C)=>Ke(p,l,C,!1),defaultValue:{selectedOption:e?.id,allOptions:p.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,isDisabled:le?"disabled":void 0,showLoadingIcon:le,onClickCreateOption:()=>{u.trackConnectBank(r,m),Z("link_account"),g.linkToken==null||W.zeniDate(new Date().toISOString()).isAfter(g.expiration)?T("link_account"):B!==g.linkToken?ge(g.linkToken):F?O():Y(!0)}}),t.jsxs(Mt,{isDisabled:S,children:[Se?t.jsxs(t.Fragment,{children:[t.jsx(ee,{children:Se}),a!=="small"&&(c!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification"||S||we||e?.accountBalance?.available)?t.jsx(Xt,{}):null]}):null,c!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification"||S||we?t.jsx(Tt,{isUpdateLinkClicked:z==="update_account",isLoginRequired:S,isPendingVerification:c!=="verification_failed"&&e?.providerVerificationStatus?.code==="pending_manual_verification",productType:r,fetchAndUpdateStatues:{fetchStatus:_.fetchStatus,updateStatus:_.updateStatus,linkFetchStatus:g.fetchStatus,linkUpdateStatus:g.updateStatus,prevFetchState:Me,prevUpdateState:oe},onUpdateLinkTokenClick:Oe,onChaseInfoClick:Ne}):e?.accountBalance?.available?t.jsx(ee,{children:tt("0,0[.]00",e?.accountBalance?.available)}):null]})]}),y!=null&&a==="small"?t.jsx(ye,{style:{width:"max-content",padding:0,marginTop:i.sp2},tagTitle:y.name,textColor:ve(y.code)}):null]})]}),t.jsx(Dt,{children:y!=null&&a!=="small"?t.jsxs(t.Fragment,{children:[t.jsx(ye,{style:{width:"max-content"},tagTitle:y.name,textColor:ve(y.code)}),t.jsx(Gt,{})]}):null})]}),ie?t.jsxs(It,{style:P,windowSize:a,isDisabled:S,onClick:l=>l.stopPropagation(),"data-testid":V("account-select-container",r),children:[t.jsx(Et,{isDisabled:S?"disabled":$,label:{label:h.zeniCashAccountLabel,width:a==="small"?void 0:s.labelWidth.value(a),style:{marginLeft:s.labeleMarginLeft.valuePx(a),marginBottom:s.labeleMarginBottom.valuePx(a)}},style:{paddingTop:s.labeledFieldPaddingTop.valuePx(a),paddingBottom:s.labeledFieldPaddingBottom.valuePx(a),paddingLeft:s.labeledFieldPaddingLeft.valuePx(a),paddingRight:s.labeledFieldPaddingRight.valuePx(a),borderRadius:i.sp2,border:`1px solid ${R.colors.grey3}`,width:"-webkit-fill-available",display:a==="small"?"block":"inherit"},infoLabelStyle:{textAlign:a==="small"?"left":"right",paddingRight:s.infoLabelPaddingRight.valuePx(a),marginTop:s.infoLabelMarginTop.valuePx(a)},singleSelectPickerField:{name:ae,placeholder:h.zeniCashAccountPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e?.zeniAccountId??"",allOptions:v.map(l=>({label:l.accountName,value:l.accountId}))},isOptionRemovable:!1,withBorder:a==="small",textAlignment:a==="small"?"left":"right",registerOptions:{required:!1}},valueToAdditionalLabel:()=>h.zeniCashAcoountInfo}),Ie]}):null,e?.accType==="paymentAccount"?r==="charge_cards"?t.jsx(ht,{style:{borderRadius:`${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2}`},maxInsuredAmount:L.maxInsuredAmount,heading:t.jsxs(zt,{windowSize:a,children:[X.earn,t.jsx(_t,{children:X.percentageCashback.replace("__percentage__",pt)}),X.whenYouPayViaZeniChecking]}),buttonText:k===!1?h.accountsPlg.signUpButtonText:h.accountsPlg.switchButtonText,isAccountsEnabled:k,pageName:X.creditCardPayment,onSignUpClick:ne,onSwitchClick:()=>{U.current!=null&&U.current.focus()}}):r!=="zeni_accounts"?t.jsx(Te,{heading:h.accountsPlg.heading,style:{borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},isAccountsEnabled:k,buttonText:k===!1?h.accountsPlg.signUpButtonText:h.accountsPlg.switchButtonText,analytics:u,pageName:q,onSignUpClick:ne,onSwitchClick:()=>{U.current!=null&&U.current.focus()},accountsPromoConfig:L}):null:null]})]})}const Lt=(e,p,v,x,b,$)=>x?.accType==="depositAccount"?t.jsx(Kt,{isOptionSelected:!0,children:t.jsx(Qt,{color:nt(b??0)})}):x?.institutionDetails?.logo?.base64!=null?t.jsx(Zt,{windowSize:p,src:`${at}${x?.institutionDetails.logo?.base64.toString()}`,alt:x?.institutionDetails.institutionName,loading:"lazy"}):$===!0?e.element:t.jsx(Ft,{iconColor:e.color,windowSize:p,isDarkMode:v,children:e.element}),Tt=({productType:e,isLoginRequired:p,isUpdateLinkClicked:v,isPendingVerification:x,fetchAndUpdateStatues:b,onUpdateLinkTokenClick:$,onChaseInfoClick:A})=>{const{commonSetUp:D}=K.getLocalizedStrings(),{setUp:I}=D,{verifyAccount:u,verifyingAccount:r,verifyAccountError:m,reLogging:P,reLoginLabel:te,reLoginError:H,reLoginMessage:J,chaseLabel:ie}=I,{fetchStatus:k,updateStatus:L,linkFetchStatus:q,linkUpdateStatus:T,prevFetchState:G,prevUpdateState:E}=b,M=v&&G==="In-Progress"&&k?.fetchState==="Error"||E==="In-Progress"&&L?.fetchState==="Error";return p?v&&(k?.fetchState==="In-Progress"||L?.fetchState==="In-Progress"||q?.fetchState==="In-Progress"||T?.fetchState==="In-Progress")?t.jsxs(N,{style:{color:j.important},children:[t.jsx(ee,{children:P}),t.jsx(Pe,{children:t.jsx(pe,{size:"Small",start:!0,style:{display:"flex",color:j.important}})})]}):t.jsx(N,{style:{cursor:"pointer"},onClick:$,"data-testid":V("re-login-label-clicked"),children:t.jsx($e,{style:{padding:`12px ${i.sp3}`},title:J,placement:"bottom",maxWidth:"264px",children:t.jsxs(Ut,{children:[t.jsx(je,{style:{marginLeft:i.sp0,marginRight:i.sp1}}),t.jsx(ce,{isError:!0,style:{color:j.important},children:M?H:te}),t.jsx(de,{children:t.jsx(ue,{style:{color:j.important}})})]})})}):k?.fetchState==="In-Progress"||L?.fetchState==="In-Progress"?t.jsxs(N,{children:[t.jsx(ee,{children:r}),t.jsx(Pe,{children:t.jsx(pe,{size:"Small",start:!0,style:{display:"flex"}})})]}):x?t.jsxs(N,{onClick:$,"data-testid":V("verify-account-label-clicked",e),children:[t.jsx(ce,{isError:!1,children:u}),t.jsx(de,{children:t.jsx(ue,{})}),M?t.jsx($e,{maxWidth:"280px",style:{padding:`12px ${i.sp3}`,color:j.important},title:m,placement:"bottom",children:t.jsx(je,{})}):null]}):t.jsxs(N,{onClick:A,"data-testid":V("chase-info-label-clicked"),children:[t.jsx(ce,{isError:!1,children:ie}),t.jsx(de,{children:t.jsx(ue,{})})]})},ke=(e,p)=>`${e}.${p}`,zt=n(st)`
56
56
  color: ${e=>e.theme.colors.primary};
57
57
  width: ${e=>e.windowSize==="small"?"80%":"100%"};
58
58
  `,_t=n(rt)`
@@ -88,9 +88,9 @@ import{X as Te,cg as qe,u as Ge,M as Q,co as Ze,a2 as se,eX as Ye,l as W,a8 as r
88
88
  `,Bt=n.div`
89
89
  display: flex;
90
90
  align-items: flex-start;
91
- `,Mt=n.div`
91
+ `,Dt=n.div`
92
92
  display: flex;
93
- `,Ut=n(ot)`
93
+ `,Mt=n(ot)`
94
94
  display: flex;
95
95
  align-items: center;
96
96
  color: ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.hero};
@@ -102,14 +102,14 @@ import{X as Te,cg as qe,u as Ge,M as Q,co as Ze,a2 as se,eX as Ye,l as W,a8 as r
102
102
  cursor: pointer;
103
103
  color: ${e=>e.isError?e.theme.colors.important:e.theme.colors.primary};
104
104
  }
105
- `,V=n(_e)`
105
+ `,N=n(_e)`
106
106
  display: flex;
107
107
  align-items: center;
108
- `,Dt=n.div`
108
+ `,Ut=n.div`
109
109
  display: flex;
110
110
  align-items: center;
111
111
  justify-content: center;
112
- `,Ot=n.div`
112
+ `,Ft=n.div`
113
113
  display: flex;
114
114
  flex-direction: row;
115
115
  align-items: center;
@@ -122,7 +122,7 @@ import{X as Te,cg as qe,u as Ge,M as Q,co as Ze,a2 as se,eX as Ye,l as W,a8 as r
122
122
  max-width: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
123
123
  max-height: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
124
124
  margin-right: ${i.sp2};
125
- `,Ft=n.div`
125
+ `,Ot=n.div`
126
126
  display: flex;
127
127
  flex-direction: column;
128
128
  width: ${e=>s.sectionWidth.valuePx(e.windowSize)};
@@ -142,25 +142,25 @@ import{X as Te,cg as qe,u as Ge,M as Q,co as Ze,a2 as se,eX as Ye,l as W,a8 as r
142
142
  `,Wt=n.div`
143
143
  display: flex;
144
144
  align-items: center;
145
- `,Vt=n.div`
145
+ `,Nt=n.div`
146
146
  color: ${e=>e.theme.colors.primary};
147
147
  ${e=>`${Pt.title.style(e.windowSize)}`};
148
- `,Nt=n.div`
148
+ `,Vt=n.div`
149
149
  margin-right: ${i.sp2};
150
150
  `,Ht=n(it)`
151
151
  width: ${i.sp3};
152
152
  height: ${i.sp3};
153
153
  color: ${j.success};
154
- `,qt=n.div`
154
+ `,Jt=n.div`
155
155
  height: 14px;
156
156
  width: 14px;
157
157
  border: 1px solid ${e=>e.theme.colors.primary};
158
158
  border-radius: 50%;
159
- `,Gt=n.div``,Zt=n.div`
159
+ `,qt=n.div``,Gt=n.div`
160
160
  width: ${i.sp4};
161
161
  height: ${i.sp4};
162
162
  margin-left: ${i.sp4};
163
- `,Yt=n.div`
163
+ `,Xt=n.div`
164
164
  display: inline-block;
165
165
  border-radius: ${i.sp2};
166
166
  margin: ${i.sp0} 12px;
@@ -168,12 +168,12 @@ import{X as Te,cg as qe,u as Ge,M as Q,co as Ze,a2 as se,eX as Ye,l as W,a8 as r
168
168
  height: ${i.sp1};
169
169
  cursor: inherit;
170
170
  background-color: ${e=>e.theme.colors.grey1};
171
- `,Kt=n.img`
171
+ `,Zt=n.img`
172
172
  width: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
173
173
  height: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
174
174
  border-radius: ${i.sp11};
175
175
  margin-right: ${i.sp2};
176
- `,Jt=n.div`
176
+ `,Yt=n.div`
177
177
  display: flex;
178
178
  flex-direction: column;
179
179
  `,de=n.div`
@@ -194,13 +194,13 @@ import{X as Te,cg as qe,u as Ge,M as Q,co as Ze,a2 as se,eX as Ye,l as W,a8 as r
194
194
  align-items: center;
195
195
  justify-content: center;
196
196
  margin-left: ${i.sp2};
197
- `,Qt=n.div`
197
+ `,Kt=n.div`
198
198
  min-width: ${e=>e.isOptionSelected?i.sp4:i.sp5};
199
199
  width: ${e=>e.isOptionSelected?i.sp7:i.sp5};
200
200
  height: ${e=>e.isOptionSelected?i.sp7:i.sp5};
201
201
  margin-right: ${i.sp2};
202
- `,Xt=n(ct)`
202
+ `,Qt=n(ct)`
203
203
  min-width: inherit;
204
204
  width: inherit;
205
205
  height: inherit;
206
- `;export{Lt as B,si as f,ke as y,Tt as z};
206
+ `;export{Tt as B,si as f,ke as y,Lt as z};
@@ -1,4 +1,4 @@
1
- import{X as y,M as S,g$ as b,j as o,c as g,o as r,e as j,C as v,bp as z,q as k}from"./index-BP54u7bE.js";import{b as P,n as i}from"./vendor-CnQcJ2Lu.js";import{g as C}from"./BoxItem-Bcy7IYuZ-CuoCQ3AF.js";import{w as L}from"./downloadPdf-CDvgLzWC-CFICoubl.js";const d=S.getLocalizedStrings().months,a={downloadButtonSize:new v(k[4],20)},B=i.div`
1
+ import{X as y,B as b,h3 as S,j as o,h as g,o as r,m as j,C as v,bu as z,s as k}from"./index-DYVNUtTS.js";import{b as P,n as i}from"./vendor-CnQcJ2Lu.js";import{g as B}from"./BoxItem-nvtPdCwS-CiJFmSMj.js";import{w as C}from"./downloadPdf-CHwWcCR1-BQYdnkG1.js";const d=b.getLocalizedStrings().months,a={downloadButtonSize:new v(k[4],20)},L=i.div`
2
2
  display: flex;
3
3
  padding: ${r.sp3} ${r.sp4};
4
4
  flex-direction: row;
@@ -8,7 +8,7 @@ import{X as y,M as S,g$ as b,j as o,c as g,o as r,e as j,C as v,bp as z,q as k}f
8
8
  justify-content: space-between;
9
9
  align-items: center;
10
10
  width: 100%;
11
- `,q=i(j)`
11
+ `,E=i(j)`
12
12
  display: -webkit-box;
13
13
  -webkit-box-orient: vertical;
14
14
  -webkit-line-clamp: 1;
@@ -18,9 +18,9 @@ import{X as y,M as S,g$ as b,j as o,c as g,o as r,e as j,C as v,bp as z,q as k}f
18
18
  word-break: break-word;
19
19
  text-align: left;
20
20
  overflow: hidden;
21
- `,E=i.div`
21
+ `,N=i.div`
22
22
  cursor: pointer;
23
- `,J=i(z)`
23
+ `,R=i(z)`
24
24
  width: ${t=>a.downloadButtonSize.valuePx(t.windowSize)};
25
25
  height: ${t=>a.downloadButtonSize.valuePx(t.windowSize)};
26
26
  min-height: ${t=>a.downloadButtonSize.valuePx(t.windowSize)};
@@ -28,4 +28,4 @@ import{X as y,M as S,g$ as b,j as o,c as g,o as r,e as j,C as v,bp as z,q as k}f
28
28
  &:hover {
29
29
  color: ${t=>t.theme.colors.primary};
30
30
  }
31
- `;function M({accountLast4:t,currentTenantCompanyName:s,data:e,authParams:m,downloadEndPoint:l,documentType:n="statement",boxType:p}){const[c,w]=P.useState(!1),x=y(),h=n==="taxLetter"?`${e.title.year}`:`${d[e.title.month-1]} ${e.title.year}`,$=n==="taxLetter"?`${s}-treasury-tax-letter-${e.title.year}.pdf`:`${s}-${t}-monthly-statement-${d[e.title.month-1]}-${e.title.year}.pdf`,u={period:`${e.title.year}-${b(e.title.month)}`,format:"pdf"},f=o.jsx(B,{children:o.jsxs(T,{children:[o.jsx(q,{children:h}),o.jsx(E,{onClick:()=>L(n==="treasuryStatement"||n==="taxLetter"?`${l}/statements/${e.id}`:`${l}/statements?query=${encodeURIComponent(JSON.stringify(u))}`,$,m,w),children:c?o.jsx(g,{size:"Small",start:!0}):o.jsx(J,{windowSize:x})})]})});return o.jsx(C,{content:f,boxType:p,isDisabled:!1,isNotClickable:!0})}export{M as J};
31
+ `;function F({accountLast4:t,currentTenantCompanyName:s,data:e,authParams:m,downloadEndPoint:l,documentType:n="statement",boxType:p}){const[c,h]=P.useState(!1),w=y(),x=n==="taxLetter"?`${e.title.year}`:`${d[e.title.month-1]} ${e.title.year}`,$=n==="taxLetter"?`${s}-treasury-tax-letter-${e.title.year}.pdf`:`${s}-${t}-monthly-statement-${d[e.title.month-1]}-${e.title.year}.pdf`,u={period:`${e.title.year}-${S(e.title.month)}`,format:"pdf"},f=o.jsx(L,{children:o.jsxs(T,{children:[o.jsx(E,{children:x}),o.jsx(N,{onClick:()=>C(n==="treasuryStatement"||n==="taxLetter"?`${l}/statements/${e.id}`:`${l}/statements?query=${encodeURIComponent(JSON.stringify(u))}`,$,m,h),children:c?o.jsx(g,{size:"Small",start:!0}):o.jsx(R,{windowSize:w})})]})});return o.jsx(B,{content:f,boxType:p,isDisabled:!1,isNotClickable:!0})}export{F as O};
@@ -1,32 +1,32 @@
1
- import{u as v,X as z,j as t,aV as C,M as P,aj as I,o as r,g as m,bT as L,C as M,q as h,e as T}from"./index-BP54u7bE.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as B}from"./BoxItem-Bcy7IYuZ-CuoCQ3AF.js";import{o as E}from"./commonDimensions-BtmBVXgZ-BqS_uHfS.js";import{J as R}from"./StatementItem-BF8L0fc_-DzjaOfpz.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-CDvgLzWC-CFICoubl.js";const x=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,b={listItemMargin:new M(h[3],h[8])},et=({currentTenantCompanyName:e,authParams:g,downloadEndPoint:w,statementListView:i,accountLast4:f,onBackClick:y})=>{const k=v(),l=z(),$=p.createRef(),c=p.useRef(null),d=i.statements.length===0,j=()=>d===!1?E.transactionItemHeight:24,S=({index:a,style:n})=>{const s=i.statements[a];return d===!1?t.jsx(u,{windowSize:l,style:{...n,width:`calc(100% - 2*${b.listItemMargin.valuePx(l)})`},children:t.jsx(R,{currentTenantCompanyName:e,accountLast4:f,data:s,authParams:g,downloadEndPoint:w,boxType:B(a,i.statements.length)},s.id)}):t.jsx(N,{style:{...n},children:t.jsx(O,{children:t.jsx(u,{windowSize:l,children:t.jsx(A,{children:x.noStatements})})})})};return t.jsxs(V,{children:[t.jsx(C,{title:x.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(H,{children:t.jsx(I,{children:({height:a,width:n})=>t.jsx(K,{ref:$,height:a,width:n,outerRef:c,itemKey:s=>s,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:S})})})]})},N=o.div``,u=o.div`
1
+ import{u as v,X as z,j as t,aW as C,B as P,aj as B,o as r,d as m,bX as I,C as L,s as h,m as O}from"./index-DYVNUtTS.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as E}from"./BoxItem-nvtPdCwS-CiJFmSMj.js";import{o as M}from"./commonDimensions-UvndzJjv-DkCvzihA.js";import{O as R}from"./StatementItem-7ezfuDl--CcU7F4Hj.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-CHwWcCR1-BQYdnkG1.js";const x=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,b={listItemMargin:new L(h[3],h[8])},et=({currentTenantCompanyName:e,authParams:g,downloadEndPoint:w,statementListView:i,accountLast4:f,onBackClick:y})=>{const $=v(),l=z(),k=p.createRef(),c=p.useRef(null),d=i.statements.length===0,j=()=>d===!1?M.transactionItemHeight:24,S=({index:a,style:s})=>{const n=i.statements[a];return d===!1?t.jsx(u,{windowSize:l,style:{...s,width:`calc(100% - 2*${b.listItemMargin.valuePx(l)})`},children:t.jsx(R,{currentTenantCompanyName:e,accountLast4:f,data:n,authParams:g,downloadEndPoint:w,boxType:E(a,i.statements.length)},n.id)}):t.jsx(T,{style:{...s},children:t.jsx(N,{children:t.jsx(u,{windowSize:l,children:t.jsx(H,{children:x.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(C,{title:x.title,backgroundColor:$.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(K,{children:t.jsx(B,{children:({height:a,width:s})=>t.jsx(V,{ref:k,height:a,width:s,outerRef:c,itemKey:n=>n,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:S})})})]})},T=o.div``,u=o.div`
2
2
  margin: ${e=>`${r.sp0} ${b.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
5
5
  z-index: 2;
6
6
  }
7
- `,O=o.div`
7
+ `,N=o.div`
8
8
  display: flex;
9
9
  height: 100%;
10
10
  flex: 1 1 auto;
11
11
  flex-direction: row;
12
12
  justify-content: center;
13
13
  align-items: flex-end;
14
- `,V=o.div`
14
+ `,A=o.div`
15
15
  display: flex;
16
16
  height: 100%;
17
17
  flex-direction: column;
18
18
  width: 100%;
19
19
  padding-bottom: ${r.sp7};
20
- `,A=o(T)`
20
+ `,H=o(O)`
21
21
  display: flex;
22
22
  color: ${e=>e.theme.colors.grey2};
23
- `,H=o.div`
23
+ `,K=o.div`
24
24
  display: flex;
25
25
  flex-direction: column;
26
26
  width: 100%;
27
27
  height: 100%;
28
28
  margin-top: ${r.sp6};
29
- `,K=o(L)`
29
+ `,V=o(I)`
30
30
  scrollbar-width: thin;
31
31
  scrollbar-color: transparent transparent;
32
32
  &::-webkit-scrollbar {
@@ -1,12 +1,12 @@
1
- import{X as y,j as d,bC as T,M as v,C as f,o as s,q as c,v as z}from"./index-BP54u7bE.js";import{n as u,j as g}from"./vendor-CnQcJ2Lu.js";function m(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const _=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:m(a)}return m(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??m(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:x}},reimbursement:{reimbursementByTabs:{tabsById:$}},zeniAccounts:{zeniAccountList:{tabsById:M}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new f(c[4],c[8]),containerMarginRight:new f(c[4],c[8]),segmentContainerMarginLeft:new f(c[4],c[8])},j=u.div`
1
+ import{X as y,j as d,bG as T,B as v,C as f,o as s,s as c,w as z}from"./index-DYVNUtTS.js";import{n as u,j as g}from"./vendor-CnQcJ2Lu.js";function w(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const _=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:w(a)}return w(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??w(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:x}},reimbursement:{reimbursementByTabs:{tabsById:$}},zeniAccounts:{zeniAccountList:{tabsById:j}}}}=v.getLocalizedStrings(),m={containerMarginLeft:new f(c[4],c[8]),containerMarginRight:new f(c[4],c[8]),segmentContainerMarginLeft:new f(c[4],c[8])},M=u.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  width: 100%;
5
5
  border-bottom: ${e=>e.hasSubTabs===!0?"none":`1px solid ${e.theme.colors.grey3}`};
6
6
  justify-content: ${e=>e.isSwitcherLeftAlign===!0?"left":"center"};
7
- margin-right: ${e=>e.hasSubTabs===!0?"auto":w.containerMarginRight.valuePx(e.windowSize)};
8
- margin-left: ${e=>e.hasSubTabs===!0?"auto":w.containerMarginLeft.valuePx(e.windowSize)};
9
- `,k=u.div`
7
+ margin-right: ${e=>e.hasSubTabs===!0?"auto":m.containerMarginRight.valuePx(e.windowSize)};
8
+ margin-left: ${e=>e.hasSubTabs===!0?"auto":m.containerMarginLeft.valuePx(e.windowSize)};
9
+ `,B=u.div`
10
10
  position: relative;
11
11
  display: flex;
12
12
  align-items: center;
@@ -15,8 +15,8 @@ import{X as y,j as d,bC as T,M as v,C as f,o as s,q as c,v as z}from"./index-BP5
15
15
  margin-left: ${e=>e.hasSubTabs===!0?"initial":"auto"};
16
16
  column-gap: ${e=>e.hasSubTabs!==!0?e.windowSize==="small"?s.sp3:s.sp6:s.sp4};
17
17
 
18
- margin-left: ${e=>e.hasSubTabs===!0?w.segmentContainerMarginLeft.valuePx(e.windowSize):"0"};
19
- `,B=u(z)`
18
+ margin-left: ${e=>e.hasSubTabs===!0?m.segmentContainerMarginLeft.valuePx(e.windowSize):"0"};
19
+ `,k=u(z)`
20
20
  display: flex;
21
21
  padding: ${e=>e.isMainTab?"12px":"6px 12px"};
22
22
  white-space: nowrap;
@@ -117,4 +117,4 @@ import{X as y,j as d,bC as T,M as v,C as f,o as s,q as c,v as z}from"./index-BP5
117
117
  left: 60%;
118
118
  }
119
119
  `}
120
- `;function P({tabId:e,isSelected:a,approvalCount:r,entity:n,onClick:l}){const t=o=>{switch(o){case"draft":case"pending_approval":case"scheduled":case"paid":case"all":case"failed":case"overdue":case"cancelled":case"rejected":case"awaitingAllApproval":case"ach":case"wire":case"deleted":return n==="bill_pay"?x[o]:$[o];case"offline":case"awaiting_approval":case"awaiting_my_approval":return x[o];case"awaitingApproval":case"awaitingMyApproval":case"myDrafts":return $[o];case"wireDetails":case"achDetails":return M[o];default:return""}},i=y();return d.jsxs(B,{onClick:()=>{a===!1&&l(e)},isClickDisabled:!1,isSelected:a,isMainTab:R(e)===!0,windowSize:i,children:[t(e),e==="pending_approval"&&r!==0?d.jsx(D,{isSelected:a,children:r}):null]})}function E({tabIds:e,selectedTab:a,entity:r,isSwitcherLeftAlign:n=!1,approvalCount:l,hasSubTabs:t=!1,enablePerformanceTracking:i=!0,onTabSelectedChange:o}){const h=y(),S=b=>{o(b)};return T({componentName:`${_(r).toLowerCase()}.${L(a,r).toLowerCase()}`,enabled:i}),d.jsx(j,{windowSize:h,hasSubTabs:t,isSwitcherLeftAlign:n,children:d.jsxs(k,{windowSize:h,hasSubTabs:t,children:[e.map((b,C)=>d.jsx(P,{tabId:b,approvalCount:l,isSelected:a===b,entity:r,onClick:S},C)),d.jsx(I,{className:`Slider ${a}`,windowSize:h,approvalCount:l})]})})}const R=e=>e==="draft"||e==="pending_approval"||e==="scheduled"||e==="paid"||e==="achDetails"||e==="wireDetails";export{E as K};
120
+ `;function P({tabId:e,isSelected:a,approvalCount:r,entity:n,onClick:l}){const t=o=>{switch(o){case"draft":case"pending_approval":case"scheduled":case"paid":case"all":case"failed":case"overdue":case"cancelled":case"rejected":case"awaitingAllApproval":case"ach":case"wire":case"deleted":return n==="bill_pay"?x[o]:$[o];case"offline":case"awaiting_approval":case"awaiting_my_approval":return x[o];case"awaitingApproval":case"awaitingMyApproval":case"myDrafts":return $[o];case"wireDetails":case"achDetails":return j[o];default:return""}},i=y();return d.jsxs(k,{onClick:()=>{a===!1&&l(e)},isClickDisabled:!1,isSelected:a,isMainTab:R(e)===!0,windowSize:i,children:[t(e),e==="pending_approval"&&r!==0?d.jsx(D,{isSelected:a,children:r}):null]})}function G({tabIds:e,selectedTab:a,entity:r,isSwitcherLeftAlign:n=!1,approvalCount:l,hasSubTabs:t=!1,enablePerformanceTracking:i=!0,onTabSelectedChange:o}){const h=y(),S=b=>{o(b)};return T({componentName:`${_(r).toLowerCase()}.${L(a,r).toLowerCase()}`,enabled:i}),d.jsx(M,{windowSize:h,hasSubTabs:t,isSwitcherLeftAlign:n,children:d.jsxs(B,{windowSize:h,hasSubTabs:t,children:[e.map((b,C)=>d.jsx(P,{tabId:b,approvalCount:l,isSelected:a===b,entity:r,onClick:S},C)),d.jsx(I,{className:`Slider ${a}`,windowSize:h,approvalCount:l})]})})}const R=e=>e==="draft"||e==="pending_approval"||e==="scheduled"||e==="paid"||e==="achDetails"||e==="wireDetails";export{G as K};
@@ -1,4 +1,4 @@
1
- import{j as r,c as u,o as s,v as g,ae as m}from"./index-BP54u7bE.js";import{n as i,j as a}from"./vendor-CnQcJ2Lu.js";function S({allTabs:e,selectedTab:c,containerStyle:d,rightComponent:o,onTabChange:p}){const h=o!=null;return r.jsxs(x,{style:d,hasRightComponent:h,children:[r.jsx($,{children:e.map(t=>{const n=t.id===c,l=t.isDisabled!=null;return r.jsxs(b,{onClick:()=>{n===!1&&!l&&p(t)},isSelected:n,isDisabled:l,children:[r.jsx(y,{children:t.label}),t.countDetails?.count!=null?r.jsx(j,{children:r.jsx(f,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:r.jsx(D,{children:t.countDetails.isFetching?r.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),o]})}const x=i.div`
1
+ import{j as r,h as u,o as s,w as g,ae as m}from"./index-DYVNUtTS.js";import{n as i,j as a}from"./vendor-CnQcJ2Lu.js";function S({allTabs:e,selectedTab:c,containerStyle:d,rightComponent:o,onTabChange:p}){const h=o!=null;return r.jsxs(x,{style:d,hasRightComponent:h,children:[r.jsx($,{children:e.map(t=>{const n=t.id===c,l=t.isDisabled!=null;return r.jsxs(b,{onClick:()=>{n===!1&&!l&&p(t)},isSelected:n,isDisabled:l,children:[r.jsx(y,{children:t.label}),t.countDetails?.count!=null?r.jsx(j,{children:r.jsx(f,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:r.jsx(D,{children:t.countDetails.isFetching?r.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),o]})}const x=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
@@ -1 +1 @@
1
- import{j as d}from"./index-BP54u7bE.js";import{E as n,T as t}from"./ReloadCard-CZ4IXHy1-D0PwAZkP.js";const o=r=>{function e(){return r.card.fetchState==="In-Progress"||r.card.fetchState==="Not-Started"?d.jsx(n,{dimension:r.card.dimension,animated:!r.card.disableAnimations}):r.card.fetchState==="Error"?d.jsx(t,{dimension:r.card.dimension,cardType:r.card.cardType,cardIndex:r.card.cardIndex,onReloadData:r.actions.onReloadData}):d.jsx("div",{children:r.children})}return d.jsx("div",{children:e()})};export{o as c};
1
+ import{j as d}from"./index-DYVNUtTS.js";import{E as n,T as t}from"./ReloadCard-EBXtqdt5-e0DLVF2o.js";const o=r=>{function e(){return r.card.fetchState==="In-Progress"||r.card.fetchState==="Not-Started"?d.jsx(n,{dimension:r.card.dimension,animated:!r.card.disableAnimations}):r.card.fetchState==="Error"?d.jsx(t,{dimension:r.card.dimension,cardType:r.card.cardType,cardIndex:r.card.cardIndex,onReloadData:r.actions.onReloadData}):d.jsx("div",{children:r.children})}return d.jsx("div",{children:e()})};export{o as c};