@zeniai/web-cockpit-ui 1.15.8-dev → 1.15.9-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 (320) hide show
  1. package/dist/assets/ACHDetailsPage-BVkQ4K87-2mUod8Ze.js +21 -0
  2. package/dist/assets/{AIPerformancePage-nAXYlFHx-B-yNLxsI.js → AIPerformancePage-BRTJZGiA-Uj0zJbS1.js} +47 -47
  3. package/dist/assets/AccountInfoPage-5HB6qYYU-DqbEDlqg.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-C6fN_njt-BfclYIhc.js → AccountInfoPageContent-PRtq3bFi-vLA60ZOz.js} +23 -23
  5. package/dist/assets/AccountLockedInfoModal-BPtkVnq9-Bo6KEtUJ.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-ChfImufh-Qmw1sJds.js → AccountReconDetailsDrawerPage-vJYKDiYF-DDXxWgsE.js} +47 -47
  7. package/dist/assets/{AccountRow-C0plHrDu-BlMGnWxc.js → AccountRow-DvTUqeYB-Coj4ZTWN.js} +16 -16
  8. package/dist/assets/{AccountsPromoCardStack-BCRuoijH-D0HIkJsh.js → AccountsPromoCardStack-B8BaHMXs-D4T6qOCp.js} +35 -35
  9. package/dist/assets/AddAddressForCardDrawer-B7RkZqGh-CR2hhnGw.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CKPw3FXG-D61c3n-w.js → AddToWalletPage-DuHNwXF4-B3zEKxpl.js} +28 -28
  11. package/dist/assets/{AgingReportsPage-BLYXtrbx-DW-1ybPL.js → AgingReportsPage-BK1LaJ_w-yS7wx6wk.js} +14 -14
  12. package/dist/assets/{AllUserItems-CIuKSRs--B0618Ye4.js → AllUserItems-CH9ybX41-BtFVBAV4.js} +5 -5
  13. package/dist/assets/ApAgingDetailPage-pA0gVWwq-0kF3KvyT.js +46 -0
  14. package/dist/assets/{AppBasePage-zQkWIZIS-COyO76Q-.js → AppBasePage-DhCn4MFY-D-3ZnoCB.js} +11 -11
  15. package/dist/assets/AppDrawerContent-oxbBkFJu-CMnZN7jn.js +92 -0
  16. package/dist/assets/{ApprovalRulesSettingsPage-Df5F_wnw-CP1luL-w.js → ApprovalRulesSettingsPage-B2Bp687h-BxxU0eeP.js} +2 -2
  17. package/dist/assets/{ArAgingChart-Dv9GPrlk-1IjLiFwv.js → ArAgingChart-DDYQFnOL-BvAsGOBT.js} +7 -7
  18. package/dist/assets/{ArAgingDetailPage-vW-JcTgF-Cy7lc6dB.js → ArAgingDetailPage-BHX3sNTi-BYBOdJhr.js} +2 -2
  19. package/dist/assets/{AttachmentView-CHgDKLit-BOkUOxft.js → AttachmentView-BreMzQ_m-BNxecg_Q.js} +5 -5
  20. package/dist/assets/{BankAccountSection-danXlJW--Ci61_HQI.js → BankAccountSection-1WOCLgt5-BoGJh_uP.js} +7 -7
  21. package/dist/assets/BankAccountWarningSection-Ddj7HexZ-DdPqPHd3.js +51 -0
  22. package/dist/assets/{BankConnectionsSettingsPage-D4iHZXiy-B50Jr36L.js → BankConnectionsSettingsPage-9nczNfIe-BzLc4VYR.js} +27 -27
  23. package/dist/assets/{BillDetailPage-BD2IX-iP-C1AsdsRK.js → BillDetailPage-NeZduyMi-6p7P1QOU.js} +11 -11
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DYbGnWVc-B9dRHLuy.js → BillPayApprovalRuleDetailPage-BBTe3n92-C8p-rxLw.js} +5 -5
  25. package/dist/assets/{BillPayApprovalRulesPage-BW2wEvAf-BP_2ZRbS.js → BillPayApprovalRulesPage-Blk0_0Ou-58r-fHor.js} +5 -5
  26. package/dist/assets/{BillPayPromoPage-C7PX-EVL-RrQTQk3r.js → BillPayPromoPage-DFXybg0r-B5uuR3JI.js} +11 -11
  27. package/dist/assets/{BillPaySetUpPage-Czno3Zre-B54xXO94.js → BillPaySetUpPage-CP6gsxaz-BVI06dHo.js} +4 -4
  28. package/dist/assets/{BillingSettingsPage-DwBAvbyP-BA7TOSu8.js → BillingSettingsPage-D6BmklmO-DmihnPn_.js} +7 -7
  29. package/dist/assets/BillsBulkReviewDrawerPage-D0JHXr9f-D-HkiVRv.js +1 -0
  30. package/dist/assets/{BoxItem-CQn8-mlp-3WaKvXCN.js → BoxItem-CjZDlBaw-C6EB-mJ-.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Pj_43PYG-Bf2eq8Ab.js → BusinessVerificationPage-cqBBWqBX-CZxCO1R2.js} +11 -11
  32. package/dist/assets/CardNumberSubText-BFe7Gawq-B8S1I_DT.js +21 -0
  33. package/dist/assets/{CashbackDetailPage-BPGA9iT0-BE7Kx4cM.js → CashbackDetailPage-4R2WSvUG-DpCyR1av.js} +25 -25
  34. package/dist/assets/{ChargeCardDetailPage-draAZn9S-DVIwh9R-.js → ChargeCardDetailPage-DgvJC7HX-DrGkLiOb.js} +59 -59
  35. package/dist/assets/{ChargeCardListPage-gsG1eX_i-Dapb8J_Z.js → ChargeCardListPage-y3xkEXMi-Dfnd6MIF.js} +16 -16
  36. package/dist/assets/{ChargeCardListTable-DVFpdT9f-BEElVTwC.js → ChargeCardListTable-BZVA1znA-1HTc8EZK.js} +29 -29
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-BbggvUhU-DsH52CB6.js → ChargeCardPaymentHistoryPage-DUqCYxCZ-Bi49patK.js} +31 -31
  38. package/dist/assets/ChargeCardPromoPage-BGwXpSoW-CFyoJOm3.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-Ck37bWHj-CA4YDMXc.js → ChargeCardSetupPage-CH6gSyU_-2ky3cmbf.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-4bExV6ox-DsvdoV21.js → ChargeCardStatementsPage-B1FjTF7r-Dy-EmhIk.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-cZ9nSw3H-CEFjqZ5t.js → CheckDepositDrawerPage-B30gCDxH-DoiHXVEd.js} +25 -25
  42. package/dist/assets/{CollapsableReportTable-D9EGRkFb-DwhLMO0b.js → CollapsableReportTable-CpOmWQO--CCW_jG6A.js} +60 -60
  43. package/dist/assets/{CompanyOfficerDetailsSection-C2j4TNi_-D3zewiNv.js → CompanyOfficerDetailsSection-0lnfwwSs-DTL-A6zC.js} +24 -24
  44. package/dist/assets/{CompanyPassportCard--3g9aidd-CxwOeh5K.js → CompanyPassportCard-BPpSNcXb-DiAvuMuN.js} +7 -7
  45. package/dist/assets/{CompanyPassportPage-BhF3zWN0-Cn2clYh0.js → CompanyPassportPage-DwNjeLgb-D9KCZAQQ.js} +22 -22
  46. package/dist/assets/{CompleteProfile-iee5HgiC-iD1IzEAE.js → CompleteProfile-BPllbFai-CKGTWhqU.js} +3 -3
  47. package/dist/assets/ConfettiBurst-DweZPNXH-B1074GKy.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-DTlxyMQ8-D1vsmSkA.js → CreateOrEditVendorPage-C_tIWYWJ-DrZr7pRF.js} +17 -17
  49. package/dist/assets/{CreditCardPaymentDrawerPage-CAZbzyFh-1lHa8wZR.js → CreditCardPaymentDrawerPage-DmYHQq7L-KNs23igZ.js} +14 -14
  50. package/dist/assets/{CurrencySelectField-CcU9PAOW-u3CiOTPH.js → CurrencySelectField-DoUpgUNU-D3sxrlik.js} +4 -4
  51. package/dist/assets/{CustomerOnboardingActivationPage-dXGInCs4-_xQt3N4Y.js → CustomerOnboardingActivationPage-fr40BxEG-BAtGkwek.js} +8 -8
  52. package/dist/assets/CustomerOnboardingContainerPage-9g2L_yuF-C903cC5U.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-eZtb_MiZ-oykMYoxJ.js → CustomerOnboardingDetailPageSkeleton-CbEuqDGK-DBipeF2y.js} +9 -9
  54. package/dist/assets/CustomerOnboardingNoStepsPage-CNolx9VQ-BJ-qYAip.js +66 -0
  55. package/dist/assets/{CustomerOnboardingPage-CP969grW-CLGTaPd5.js → CustomerOnboardingPage-DrDjl8iB-Dx9AAiNO.js} +7 -7
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-C-oDFj9a-By3_gtmn.js → CustomerOnboardingProductSuitePage-CE2ztcG2-D-ZOZhc2.js} +7 -7
  57. package/dist/assets/{Dashboard-CKSEolZn-B8UGwGX2.js → Dashboard-C1UoKVNa-DwZITN_K.js} +35 -35
  58. package/dist/assets/{DashboardReportPage-JLORU_HF-JuRm0_l-.js → DashboardReportPage-b0pHN0Cw-BW6hDiSR.js} +18 -18
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-BhNP2YDK-RRWjqzmy.js → DashboardSidebarBackgroundAnimation-Dql-Odcw-CrREhWdb.js} +2 -2
  60. package/dist/assets/{DepositAccTransactionItem-B3A_2ZTg-BGji2vDD.js → DepositAccTransactionItem-Buzx5B8J-B4X-L_gR.js} +8 -8
  61. package/dist/assets/DepositAccTransactionListPage-DmxWPS6J-CPhkjFGO.js +66 -0
  62. package/dist/assets/{DomesticWireDetailsPage-DqVaQ5WI-CEmGU0Lk.js → DomesticWireDetailsPage-o6cbscCg-D6yaIcSg.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-D7AI3CGS-DY9OdGrk.js → DownloadOverlay-CxtxqO0q-Dz3uXEue.js} +35 -35
  64. package/dist/assets/{DrawerPage-BiQurb8Q-CEeTnVDp.js → DrawerPage-iKzWhzfT-CLN7Nqu9.js} +16 -16
  65. package/dist/assets/EditPeoplePage-CjM-4H28-mYmRRYC8.js +55 -0
  66. package/dist/assets/{EditReimbursementDetailPage-CoBKUQzs-DPjSJBny.js → EditReimbursementDetailPage-BIPtvhlo-COIsNVhm.js} +13 -13
  67. package/dist/assets/EntityDetailPage-B0W-V9jY-CqJeONU8.js +18 -0
  68. package/dist/assets/{EntitySummarySection-dbyZ3ZMD-WaXS93t5.js → EntitySummarySection--ty3w4lI-o5ULFAtA.js} +11 -11
  69. package/dist/assets/{ExpenseAutomationOverviewPage-WTK5jHbV-RX7MJN4K.js → ExpenseAutomationOverviewPage-C62kbOQv-D4JsR6Ol.js} +29 -29
  70. package/dist/assets/{ExpenseAutomationPage-BLk7BdAz-BiJ_8J_A.js → ExpenseAutomationPage-KMTXCmGT-DZpekdJc.js} +30 -30
  71. package/dist/assets/{ExpressPayPage-CaBFl4M3-N5saqSFG.js → ExpressPayPage-DITkk_1c-BtyionmY.js} +11 -11
  72. package/dist/assets/FeaturePreviewPage-ZSyZuPj0-CJiy9EUi.js +11 -0
  73. package/dist/assets/{FollowStepsSection-BGZ3rzSO-DAxx1unm.js → FollowStepsSection-CaSXYy6M-CzewjFd_.js} +11 -11
  74. package/dist/assets/{GlobalReviewListPage-DIiVT0qf-DgTvaNXq.js → GlobalReviewListPage-D1MK5CDU-DobUC1e8.js} +13 -13
  75. package/dist/assets/{InformationCardStack-BZIU9Bwm-DWOE8xSt.js → InformationCardStack-WI0CkBUF-D7YCWLUH.js} +5 -5
  76. package/dist/assets/{InsightsCardStack-BZ6yws_x-DiUvTias.js → InsightsCardStack-28f145Lw-BuefuxqU.js} +8 -8
  77. package/dist/assets/InsightsSection-iq6BFe-O-DA4Jx3vy.js +27 -0
  78. package/dist/assets/{IntegrationsSettingsPage-JQ0sBJ-E-Dbn9Coz2.js → IntegrationsSettingsPage-QfH-2B7s-BNyYW5Gn.js} +11 -11
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-Bt0SYfe8-BOhQnyuJ.js → InternationalWireSwiftDetailsPage-DhNqaJ-7-RtzP87XE.js} +24 -24
  80. package/dist/assets/InternationalWireVerificationPage-CRnGH05I-vQbDV8jX.js +65 -0
  81. package/dist/assets/{InviteFormPage-C-_fbwpS-DFnpH_Sg.js → InviteFormPage-CZ9su_ZA-CsfVdhXE.js} +24 -24
  82. package/dist/assets/{InvitePageListView-DX3LFpcZ-wgARDxxe.js → InvitePageListView-Db5vL4dK-NFzFyNlR.js} +75 -75
  83. package/dist/assets/InvitePeoplePage-C7Ij2l1O-Dbf_TXXj.js +12 -0
  84. package/dist/assets/InvoiceUploadSection-DEchJrtp-C92WVr8V.js +140 -0
  85. package/dist/assets/{IssueChargeCardPage-BSax9G6t-Ccz8TXME.js → IssueChargeCardPage-DVdMjgbO-mkT6Gcda.js} +26 -26
  86. package/dist/assets/{LabeledAddressValue-kz4tRnLH-XbapS3ut.js → LabeledAddressValue-jMXXok9a-C_alXtK_.js} +2 -2
  87. package/dist/assets/{LabeledAddressValueField-D950JjHi-B7-ZxMwG.js → LabeledAddressValueField-BMQUZAxr-B3DdD5Cx.js} +3 -3
  88. package/dist/assets/{LabeledControlledCheckBoxField-BxXnpjp--Dg3HIXbL.js → LabeledControlledCheckBoxField-CrOtltBs-BgazwPA0.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-CzFImFhW-CGgJ4k83.js → LabeledCountryMultiSelectField-uBMn5XNT-nRQiUi6Y.js} +12 -12
  90. package/dist/assets/{LabeledCreatableSingleSelectField-gJu9uvr7-DQ2Nsagb.js → LabeledCreatableSingleSelectField-BMRdFPtx--AY2rrpE.js} +7 -7
  91. package/dist/assets/LabeledDocumentField-DtsIRcRg-LgfBBRyq.js +41 -0
  92. package/dist/assets/LabeledDropDownFormattedTextField-rLwWoG-Y-aM061UXo.js +59 -0
  93. package/dist/assets/{LabeledMultiSelectField-CIuHS55z-0cjXFx_d.js → LabeledMultiSelectField-BhRoctp7-CtOCs4Ag.js} +1 -1
  94. package/dist/assets/{LabeledText-D0g7m29R-CGPY2mDY.js → LabeledText-Deyr6isW-Cw3u4ojj.js} +4 -4
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DzIW_6we-BycaRLEY.js → LabeledUserSingleSelectWithSubtitlesField-u_6eDShW-BsQOZeOj.js} +14 -14
  96. package/dist/assets/{LabeledZeniRolesDropDownField-LWb3m6uz-DqLmiKb-.js → LabeledZeniRolesDropDownField-CdAAgiie-C2bU99c9.js} +19 -19
  97. package/dist/assets/LinkJETransactionPage-A9rqpCyG-CiYf2g5t.js +98 -0
  98. package/dist/assets/{LockCardPage-XgZwsozn-B7KEhFgG.js → LockCardPage-CXZAffaX-CqLS5XfJ.js} +41 -41
  99. package/dist/assets/LowBalancePopup-BRxiaGRC-CJ9ANz96.js +34 -0
  100. package/dist/assets/MagicLinkACHDetailsPage-DwbFsGsL-BQPyG1YA.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-BgjMH36H-BbUZS1ad.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-C0jHD-87-CatMqDsO.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-D9asRaYX-BLWFhDtP.js → MagicLinkSuccessPage-BiR4YUoK-xHaH-3WR.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-CI_X5_g6-DmElUYen.js → MagicLinkTitleSection-euMftC6_-Bdpw9jEH.js} +8 -8
  105. package/dist/assets/MailingDetailsSection-B8g--tZ7-9mvfahRZ.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-Bo5DQnsA-KlDGNzcW.js → MyBankConnectionsSettingsPage-9Zw-bIsu-Uzll3gZc.js} +11 -11
  107. package/dist/assets/MyPendingActivationChargeCardListPage-_MhlKwOj-4wTxZJyE.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-BeSze0xM-Do6mSiuu.js +85 -0
  109. package/dist/assets/NavBarWithPicker-C4ExxFQW-CBeQSmTW.js +30 -0
  110. package/dist/assets/{NavigationArrow-BuPVGh38-C7FStd2H.js → NavigationArrow-CJOSZIEx-Vi5xYiOy.js} +7 -7
  111. package/dist/assets/{NavigationDots-CLd0nZZT-DkTweDHl.js → NavigationDots-DgfBVlG5-Begp91rh.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-B4X5B9Kx-DIjUgsWq.js → NewGlobalMerchantPage-BXTlzEbY-AVMqLh8E.js} +43 -43
  113. package/dist/assets/{NoDataChart-VrW0gNeK-CoKQWY6y.js → NoDataChart-Bwc_xftR-BPirwt2c.js} +2 -2
  114. package/dist/assets/NoDataTable-D_VKD0kA-DmQluo-I.js +8 -0
  115. package/dist/assets/{NotFoundPage-CvuhMeh3-DzAU1c1V.js → NotFoundPage-CLkfFo_R-C8j5B2Ga.js} +4 -4
  116. package/dist/assets/{NotificationSettingsPage-612cyOPa-BDov0Or2.js → NotificationSettingsPage-CC1kNoTw-DotH2NS5.js} +19 -19
  117. package/dist/assets/NotificationsListConfig-CEDk57Lr-DAddVQQW.js +1 -0
  118. package/dist/assets/{NotificationsPage-DOq8YY_K-B5AJl0PR.js → NotificationsPage-DR_MVYdY-CTDJJoO4.js} +29 -29
  119. package/dist/assets/{OpExByVendorPage-JhAQyVWO-CgqLDeMB.js → OpExByVendorPage-CRkTiAd5-C0As_oOM.js} +20 -20
  120. package/dist/assets/OverlayContainerPage-IDTUbuAC-CRFgbke2.js +11 -0
  121. package/dist/assets/{PandLWithForecastPage-B8WG6VDM-B7n_PAXf.js → PandLWithForecastPage-BCEjC9iA-DALj3dPN.js} +12 -12
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BT4jtUDt-BicenMSK.js → PaymentAccountSetupBillingAddressSection-BFcZtn5n-qrQdGMeL.js} +11 -11
  123. package/dist/assets/{PeoplePage-BJui-Wgk-Blym3c87.js → PeoplePage-D7D1SrW0-QS6a-b0Q.js} +25 -25
  124. package/dist/assets/{Preview-CWOI4w-4.js → Preview-o2DriYSg.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-CGhEa82h-Bt-P-vzg.js → ProductsCarousel-CSUU4sEb-_cwSUdhx.js} +7 -7
  126. package/dist/assets/{PromoBaseCards-1PF_kyGP-DnK5w4Qj.js → PromoBaseCards-CSisWvqE-flcR83jC.js} +3 -3
  127. package/dist/assets/{QBOConnectionDialog-BVpU5kvg-BwCSP0e9.js → QBOConnectionDialog-gTTF-Gc0-DtM6eHvu.js} +7 -7
  128. package/dist/assets/QBOSetupSection-B2c7ZErC-C8usnCBc.js +79 -0
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CcH6vHDZ-1I93dA7B.js → ReimbursementApprovalRuleDetailPage-DRxHZeeM-BSDkdjQ8.js} +6 -6
  130. package/dist/assets/{ReimbursementApprovalRulesPage-C22bGg4Y-DujacG7V.js → ReimbursementApprovalRulesPage-CA54CNCd-BZeyQfno.js} +29 -29
  131. package/dist/assets/ReimbursementDetailPage-C8P6S9yn-CjGqaV3N.js +314 -0
  132. package/dist/assets/ReimbursementPromoPage-Bv6Eg8CH-iUgCjzha.js +84 -0
  133. package/dist/assets/{ReimbursementSetUpPage-B_Mkgwzu-K4BhhXOp.js → ReimbursementSetUpPage-CL1j_14z-1ntDkasP.js} +11 -11
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-XRdWaRhQ-CM2OmWD1.js → ReimbursementsBulkReviewDrawerPage-BXlm8qfr-DFnWXpWm.js} +1 -1
  135. package/dist/assets/{ReloadCard-crbWeOPP-CkioU763.js → ReloadCard-DQ8-0JyV-DB-bkjWN.js} +5 -5
  136. package/dist/assets/{ReportTableViewSelector-KXoOW677-Cxk4-6kw.js → ReportTableViewSelector-BDXux6ow-8eyOx1Yh.js} +8 -8
  137. package/dist/assets/{ReportsPage-C3Jj54B2-CJg2yyXf.js → ReportsPage-fjTk3JSs-DUY58vJz.js} +10 -10
  138. package/dist/assets/{RevenueChart-B2lwdex1-DM-m44Ax.js → RevenueChart-BAlErS9A-BXzh7yRj.js} +14 -14
  139. package/dist/assets/{ReviewDetailsPage-BzJuymlx-B43bDwEk.js → ReviewDetailsPage-CSNmpZKJ-CmkvpWlb.js} +52 -52
  140. package/dist/assets/{ReviewOverlay-CXHcM5J8-Z1A7mqWB.js → ReviewOverlay-Zcv9Vljd-hWfuTO7b.js} +17 -17
  141. package/dist/assets/RoleWithToolTip-D4abtguM-CazMvZo7.js +22 -0
  142. package/dist/assets/ScheduleDetailsFixedAssetsPage-AzGpMIv9-qvpVTvvJ.js +37 -0
  143. package/dist/assets/{ScheduleDetailsPage-C0WZjjTg-DX2t9Wrq.js → ScheduleDetailsPage-FXdL5BP_-BIXnOShB.js} +8 -8
  144. package/dist/assets/{ScheduleSequenceTable-MEIZsagy-bHxXvqLR.js → ScheduleSequenceTable-D4NEi6ZW-FMzTzWLm.js} +54 -54
  145. package/dist/assets/{ScreenRoutes-BGG-33kI.js → ScreenRoutes-esZWtP8Y.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-Drp97o6h-xxM8m8_w.js → SetUpAccountSection-DHNGWTAX-B_r28Ehm.js} +7 -7
  147. package/dist/assets/SignIn-8lCVuAse-CHvndysC.js +491 -0
  148. package/dist/assets/SignInScreen-4muhcIyV.js +1 -0
  149. package/dist/assets/{SpendManagementListViewPage-SufQOT9Y-5mvmwHQW.js → SpendManagementListViewPage-D0iaA1Tz-COkv1PV-.js} +11 -11
  150. package/dist/assets/{SpendManagementPerTabPage-vkAKQl3f-CYCCZ3rU.js → SpendManagementPerTabPage-NhC0DYPW-Dwrce6yO.js} +33 -33
  151. package/dist/assets/{SpendManagementSection-WqBeexgm-D6ZHNQRi.js → SpendManagementSection-p_rbwPsi-DexNllt-.js} +14 -14
  152. package/dist/assets/StatementItem-BrFonWga-DiqKGCh-.js +31 -0
  153. package/dist/assets/{StatementsPage-ProqQbaP-BB4Fbh50.js → StatementsPage-1LjLplay-CRMJqr5z.js} +2 -2
  154. package/dist/assets/{StatusSwitcher-CWQs9lpu-RXB7-04g.js → StatusSwitcher-BWCVuAz5-D3jo7wqm.js} +2 -2
  155. package/dist/assets/{SubTabSwitcher-B2uBojsp-DZNkw8WS.js → SubTabSwitcher-W-flws9A-BTelX8y_.js} +2 -2
  156. package/dist/assets/{SummaryCard-Dcd_VUph-BV3h5iTx.js → SummaryCard-Cy_49HY6-B5IOHtbz.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-BM9VR6Lt-C4YfHc_A.js → TaskManagementPage-CgcgC28Q-DPD0nZtS.js} +36 -36
  158. package/dist/assets/{TimeRangeSwitcher-Sfz9Zsfu-DOBYaYdI.js → TimeRangeSwitcher-xEM6Ast5-BNVisZRV.js} +2 -2
  159. package/dist/assets/{TimeframeSwitcher--oC4RNb6-CvfDTC-U.js → TimeframeSwitcher-CJnjD8oY-C839RlNd.js} +6 -6
  160. package/dist/assets/{TimeframeSwitcherWithToggle-CaOGQOMX-D3Vo1Cjd.js → TimeframeSwitcherWithToggle-CTsXGTZM-Y9gaGt4o.js} +2 -2
  161. package/dist/assets/{TopExCard-DQ50kCvS-_2HPPX6t.js → TopExCard-CK7rIKlo-BNMHqp-4.js} +5 -5
  162. package/dist/assets/{TopExDetailPage-iwv1KNmn-sj6nj5zr.js → TopExDetailPage-Dc310wcN-BBhzZoVz.js} +13 -13
  163. package/dist/assets/{TransactionDetailPage-dcUFs9xb-CrNRbBcr.js → TransactionDetailPage-BsSYhKxb-BeUI9jq4.js} +37 -37
  164. package/dist/assets/{TransactionList-1g-61_2b-CWHQyly8.js → TransactionList-CKgtf7lj-CeKhT4wB.js} +14 -14
  165. package/dist/assets/{TransactionListBig-CSrLWjaV-BtYTXkmc.js → TransactionListBig-DY6b3Ezl-DffujAvB.js} +17 -17
  166. package/dist/assets/{TransactionListPage-CKkWpoxH-CDqG5M4K.js → TransactionListPage-CDc30p4A-D4rmxF8E.js} +6 -6
  167. package/dist/assets/{TransactionVendorDetailPage-BdVFxZdL-Dwyqb3QB.js → TransactionVendorDetailPage-Ca8K8WSI-CLXVHv_c.js} +15 -15
  168. package/dist/assets/{TransferDrawerPage-nyepeege-Tib1D3Ko.js → TransferDrawerPage-xTOs2aDo-Cdu71p0I.js} +28 -28
  169. package/dist/assets/{TreasuryOverviewPage-CkaOtstB-DJ6jh11f.js → TreasuryOverviewPage-CnJn5fQJ-BMNFC9wv.js} +26 -26
  170. package/dist/assets/{TreasuryPromoPage-B55rqmLO-BovduQF3.js → TreasuryPromoPage-PW6ExJSX-C2E-AneM.js} +18 -18
  171. package/dist/assets/TreasuryStatementsPage-Dh5jSrh1-DVLMH1-Q.js +58 -0
  172. package/dist/assets/TreasuryTaxLetterPage-K4MAoNHw-C_oxTn6C.js +58 -0
  173. package/dist/assets/{TrendChart-BsSVNJm5-CngvRWQH.js → TrendChart-DGkb9XC6-TghRUAyK.js} +4 -4
  174. package/dist/assets/{TrendWithTransactions-B6iLzpiJ-BNwLmu5S.js → TrendWithTransactions-BhIw1vzx-DxHaizu4.js} +6 -6
  175. package/dist/assets/{UncategorizedAccountsMappingPage-p3mhxO3d-hTb-4Xip.js → UncategorizedAccountsMappingPage-U-ABmUHs-HkDX3n37.js} +15 -15
  176. package/dist/assets/{UnitIntegrationPage-CEtqPMTy-BFsuhTVj.js → UnitIntegrationPage-XOk1iw8U-R_8yzBvv.js} +11 -11
  177. package/dist/assets/UploadAdditionalDocumentOverlay-ucIA0by--ChniuyNy.js +38 -0
  178. package/dist/assets/{Vendor2FAPopup-BPoFrkoj-DQVyS_En.js → Vendor2FAPopup-CNfFCjsZ-CkoROyAM.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-DbsvUZbM-D7Jtn49D.js +1 -0
  180. package/dist/assets/{VendorDetailPage-C0qX459r-CReufchw.js → VendorDetailPage-DRLUdE3F-D_wc_LO2.js} +94 -94
  181. package/dist/assets/VendorDomesticWireDetailsPage-zrRC15oK-WziwpShk.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-Da667Gu2-1r_mMv0x.js → VendorFiling1099EditablePage-Yq4XoFtd-SHoE98jg.js} +32 -32
  183. package/dist/assets/{VendorFirstReviewPage-CJ-NKRm1-_2DgNT9J.js → VendorFirstReviewPage-BTFeQPW6-CV-VtP76.js} +54 -54
  184. package/dist/assets/{VendorInternationalWireDetailsPage-DodDB5wc-DbWBFoxR.js → VendorInternationalWireDetailsPage-CdXjkgWl-DUXdXswt.js} +6 -6
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BjUdW9fP-BIKyz_yo.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-C5cJ9KYV-CyL_wlEF.js → VendorsAccountsSection-CIZ6amoh-iOdKNRxH.js} +2 -2
  187. package/dist/assets/{VerifyDevice-B23jU0_c-B85D_w3i.js → VerifyDevice-BLi9cbRT-CwhVwlo_.js} +6 -6
  188. package/dist/assets/{VideoPlayer-CylTUX4X-BEZtED7z.js → VideoPlayer-BDCZd8K1-B6XIA6Sy.js} +2 -2
  189. package/dist/assets/{VideoPopup-C9x0ntQ5-C94oLuE1.js → VideoPopup-Cni9gWLX-Db1l5e36.js} +3 -3
  190. package/dist/assets/{WarningsDrawerPage-DrjxA1t_-DrM3KM-2.js → WarningsDrawerPage-DO3TH_cI-DqJoX6_I.js} +5 -5
  191. package/dist/assets/{ZeniAccountDetailPage-B7aCx_qz-DMRHevfC.js → ZeniAccountDetailPage-CBbqwtvo-DCLT-Box.js} +19 -19
  192. package/dist/assets/{ZeniAccountListViewPage-C2AHdlrD-DmjpZpES.js → ZeniAccountListViewPage-bS_K_U_k-C2TK8yr_.js} +14 -14
  193. package/dist/assets/ZeniAccountNavBarPieces-D4Nhv6iC-CW7ZMFVA.js +14 -0
  194. package/dist/assets/{ZeniAccountPromoPage-c0ITsnMc-BxSMGlkl.js → ZeniAccountPromoPage-C40ORHL2-5Ose9Cov.js} +21 -21
  195. package/dist/assets/{ZeniAccountSetupPage-BE975QGg-DFrCRSD2.js → ZeniAccountSetupPage-DfGwW1gJ-N18Rwn0q.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-eB9rNuZ3-BNyg83Vo.js → ZeniCopyright-D_tc-vwm-DQ7m38Jq.js} +1 -1
  197. package/dist/assets/ZeniTransferAmountSlider-CwO6861o-9MWcE76i.js +63 -0
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-DHrWYIzW.js → add-to-wallet-DgdBD8_G-DMQostt2.js} +1 -1
  199. package/dist/assets/{analytics-g5EpLRud.js → analytics-YsywGP0I.js} +1 -1
  200. package/dist/assets/{analyticsHelper-CLY1vV_E-BemgqSJF.js → analyticsHelper-Bv2VSRHR-D5TeO7Fb.js} +1 -1
  201. package/dist/assets/{analyticsHelper-D-tLilsz.js → analyticsHelper-CM3pI6rO.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-Clrgdbmr.js → arrow-south-east-round-PEovUgvH-BwMp8Z1R.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-DfhOF4oT.js → auto-transfer-rule-mbafm5D3-CCCTiB9K.js} +1 -1
  204. package/dist/assets/{chartTypes-BjaXr-A2-DXtLo4Yx.js → chartTypes-CiiHHtlc-DhZqwiAZ.js} +1 -1
  205. package/dist/assets/{commonDimensions-C0X17W9N-BSrHO4N_.js → commonDimensions-B94VpAp0-CDUYcayo.js} +1 -1
  206. package/dist/assets/{commonTypes-BN7Uh_8W-pfbkHgmN.js → commonTypes-CG4vvGyc-CziHlkCE.js} +1 -1
  207. package/dist/assets/{constants-BnWgOytJ.js → constants-D9J3MLx1.js} +1 -1
  208. package/dist/assets/{core-hVMF2uNa.js → core-mVc5WAnu.js} +1 -1
  209. package/dist/assets/{dash.all.min-DDFTHNwM.js → dash.all.min-DEG4Ymx5.js} +1 -1
  210. package/dist/assets/{detailCommon-D9PsnkY1-BuBcpPrC.js → detailCommon-D84jR8Js-CvDn1aAe.js} +5 -5
  211. package/dist/assets/downloadPdf-CU0hwe3m-B1XwfpLd.js +1 -0
  212. package/dist/assets/{empty-B0DaVBWz.js → empty-5WWfUuj_.js} +1 -1
  213. package/dist/assets/{empty-BNJPHWFv.js → empty-DgV33Jfm.js} +1 -1
  214. package/dist/assets/{epic-BVJNtCg8.js → epic-BDbWyMmO.js} +1 -1
  215. package/dist/assets/{gift-box-Cmt9OgIZ-CLwRJG71.js → gift-box-Cmt9OgIZ-DkfKk8Ub.js} +1 -1
  216. package/dist/assets/{graphic-no-data-l-DU4J8fDt-C7rs195d.js → graphic-no-data-l-DU4J8fDt-DdD14QZ1.js} +1 -1
  217. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BeL6_aGQ.js → graphic-no-data-net-burn-l-CzmycA0m-Bxmoc4Q1.js} +1 -1
  218. package/dist/assets/{handshake-BPg58FML-BW29_pZa.js → handshake-BPg58FML-BtKj2QSx.js} +1 -1
  219. package/dist/assets/{index-rCukSMbs.js → index-0lgepYHN.js} +1 -1
  220. package/dist/assets/{index-CRNmezJu.js → index-AqGiWrum.js} +4262 -4259
  221. package/dist/assets/{index-BAImUaY2.js → index-B0WS5HXc.js} +1 -1
  222. package/dist/assets/{index-B3faO1JB.js → index-CneahQyi.js} +1 -1
  223. package/dist/assets/{index-C_w5gZ8Z.js → index-DBHzoy-Y.js} +1 -1
  224. package/dist/assets/{index-lOJEokPl.js → index-DfP1TP46.js} +1 -1
  225. package/dist/assets/{index-6pOBrRlk.js → index-s8Qql19x.js} +1 -1
  226. package/dist/assets/{lexical-DYQnWL1V.js → lexical-D1NyDz9G.js} +1 -1
  227. package/dist/assets/{liveblocks-BKvkleJ3.js → liveblocks-D8QW-YrN.js} +1 -1
  228. package/dist/assets/{lottie-N_bekW9H.js → lottie-CoVfqInY.js} +1 -1
  229. package/dist/assets/mapLoadingInProgressToTreeNode-dE6c_J7g-BidRqUlX.js +1 -0
  230. package/dist/assets/mapSectionWithAcOnlyToTreeNode-C9RPV_Hz-BdcAtsjX.js +1 -0
  231. package/dist/assets/mapSpacerToTreeNode-CxY0Ic8W-W7hZE2p5.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-BJHD6cPI-DvQ95SJz.js +1 -0
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-rysmkLch-Dj7OJ6xq.js +1 -0
  234. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dj8VTtaz-BeBYiLrc.js +1 -0
  235. package/dist/assets/{mui-mhzAEcDs.js → mui-C_Pjuwl5.js} +1 -1
  236. package/dist/assets/{page-detail-CWX5S47F-C7t8NOxn.js → page-detail-CWX5S47F-CwgQ04Z1.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-j32Y6uZn.js → radio-default-CiSgisfh-DOAN6MGR.js} +1 -1
  238. package/dist/assets/{react-DtZ57b9E.js → react-B1uWJZNI.js} +1 -1
  239. package/dist/assets/{react-CQNyoV6B.js → react-B4qkP2kJ.js} +1 -1
  240. package/dist/assets/{react-DmkejrPd.js → react-COMbZ_ke.js} +1 -1
  241. package/dist/assets/{react-d4G_qR0V.js → react-CYpEpWLK.js} +1 -1
  242. package/dist/assets/{react-CYwBg0du.js → react-CzW7TnV7.js} +2 -2
  243. package/dist/assets/{react-BcEP-SPV.js → react-Dk6KMPxp.js} +1 -1
  244. package/dist/assets/{react-3qVVe610.js → react-UmTxIL5W.js} +1 -1
  245. package/dist/assets/{react-Dvjzsiej.js → react-VqVdlbBp.js} +1 -1
  246. package/dist/assets/{recharts-BErFcng5.js → recharts-BGj_NTVO.js} +1 -1
  247. package/dist/assets/{sentry-Dla7mstv.js → sentry-CTKU7CLc.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-CJdp4Bi9.js → shield-DOlUxcFf-Chnu35pG.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-RFiSMP1Z-CSbaIcFr.js +1 -0
  250. package/dist/assets/toChartData-DShY1WZ8-5FxZpBKl.js +1 -0
  251. package/dist/assets/{uploadAttachment-BLADYUsp-BO1TVLxu.js → uploadAttachment-DKMAkDBt-BNugFjMC.js} +19 -19
  252. package/dist/assets/{uploadReceipts-CLN2DLHQ-CHihhpL-.js → uploadReceipts-DJRtId-4-Bz9k1YgZ.js} +1 -1
  253. package/dist/assets/{url-B3SdXouN.js → url-CQ0hVJlH.js} +1 -1
  254. package/dist/assets/{url-HFFKPU2S.js → url-QugEHHKq.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-km9xaFy6.js → useLongPress-GCK2COYQ-B-Cv7oJI.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-C5eOwLOD.js → usp-line-BBd1wKwW-DQyOXy13.js} +1 -1
  257. package/dist/assets/{utils-D6NmQd1Q.js → utils-DJxCyxGL.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-CSmiPBaP.js → zeni-epic-state-Cl3KIlic.js} +3 -3
  259. package/dist/index.html +1 -1
  260. package/package.json +2 -2
  261. package/dist/assets/ACHDetailsPage-C4kSZtcW-DXbi1tk_.js +0 -21
  262. package/dist/assets/AccountInfoPage-BgYgT10O-CcaqKm0M.js +0 -18
  263. package/dist/assets/AccountLockedInfoModal-DRmaVRzS-BiL1l-3p.js +0 -59
  264. package/dist/assets/AddAddressForCardDrawer-BOX_B6jm-BbCABLHY.js +0 -6
  265. package/dist/assets/ApAgingDetailPage-DeqICFKW-a9KWHhRJ.js +0 -46
  266. package/dist/assets/AppDrawerContent-OIrm7j-k-Dut49GGC.js +0 -91
  267. package/dist/assets/BankAccountWarningSection-Byabqq8Z-DlkkUlqm.js +0 -51
  268. package/dist/assets/BillsBulkReviewDrawerPage-YBZ0Qqa6-BvssydGl.js +0 -1
  269. package/dist/assets/CardNumberSubText-2Tw37MOu-DLENhMmY.js +0 -21
  270. package/dist/assets/ChargeCardPromoPage-DIxy-YcS-Bpah01ZO.js +0 -222
  271. package/dist/assets/ConfettiBurst-Dl2Z6LKw-OEcvzGtj.js +0 -1
  272. package/dist/assets/CustomerOnboardingContainerPage-CtySgp6R-CAM0wcfl.js +0 -1
  273. package/dist/assets/CustomerOnboardingNoStepsPage-BprU0lwT-FU4__G2R.js +0 -66
  274. package/dist/assets/DepositAccTransactionListPage-S0zh1Xel-D4E89wzd.js +0 -66
  275. package/dist/assets/EditPeoplePage-DkLTV485-DyUGQQC3.js +0 -55
  276. package/dist/assets/EntityDetailPage-ougFUO1M-BRBPuzyF.js +0 -18
  277. package/dist/assets/FeaturePreviewPage-BY7VDaUB-C72FE9k5.js +0 -11
  278. package/dist/assets/InsightsSection-CdlmvyOs-DmXLU_Lu.js +0 -27
  279. package/dist/assets/InternationalWireVerificationPage-ZiPvLcjo-TFRIwP9z.js +0 -65
  280. package/dist/assets/InvitePeoplePage-DOfw4ntH-CNo6v_nK.js +0 -12
  281. package/dist/assets/InvoiceUploadSection-7NLq2wUY-qezR9Z74.js +0 -140
  282. package/dist/assets/LabeledDocumentField-y5kqHnHe-CmBeTY2E.js +0 -41
  283. package/dist/assets/LabeledDropDownFormattedTextField-Vg6A9BxH-DOIAkkAy.js +0 -59
  284. package/dist/assets/LinkJETransactionPage-DQUYzOEN-Dr7MZbKQ.js +0 -98
  285. package/dist/assets/LowBalancePopup-ChBTdcM2-CwIZnZTi.js +0 -34
  286. package/dist/assets/MagicLinkACHDetailsPage-CwTDkcTO-CNPrJSVK.js +0 -1
  287. package/dist/assets/MagicLinkDomesticWireDetailsPage-ncokQaY5-NW6YIUza.js +0 -1
  288. package/dist/assets/MagicLinkInternationalWireDetailsPage-BHRkSlI7-DhjhQlqA.js +0 -1
  289. package/dist/assets/MailingDetailsSection-C_ZYNZtm-CsF-OIaa.js +0 -21
  290. package/dist/assets/MyPendingActivationChargeCardListPage-yE_BAGUU-CF-N63jy.js +0 -6
  291. package/dist/assets/MyProfileSettingsPage-BHZrydBY-CouLcv-w.js +0 -85
  292. package/dist/assets/NavBarWithPicker-DfM5Vi5g-B5Y2cvHv.js +0 -30
  293. package/dist/assets/NoDataTable-CZaHTbXi-BvRSGEWZ.js +0 -8
  294. package/dist/assets/NotificationsListConfig-CrNHxW9v-0zuPtBoA.js +0 -1
  295. package/dist/assets/OverlayContainerPage-CEiw6dk7-DNyrAeAy.js +0 -11
  296. package/dist/assets/QBOSetupSection-QpfgbXqT-DZhl1eaB.js +0 -79
  297. package/dist/assets/ReimbursementDetailPage-BntmMmsa-BON1Pgl-.js +0 -314
  298. package/dist/assets/ReimbursementPromoPage--ddzF7ri-CzikH3CP.js +0 -84
  299. package/dist/assets/RoleWithToolTip-q4rQTPKj-BeUt86oC.js +0 -22
  300. package/dist/assets/ScheduleDetailsFixedAssetsPage-BDxnIjkN-CrAKUlFE.js +0 -37
  301. package/dist/assets/SignIn-YqQXhCUb-BOeW8x0h.js +0 -491
  302. package/dist/assets/SignInScreen-D-bsy2_u.js +0 -1
  303. package/dist/assets/StatementItem-DNtPyOiC-mibD54OH.js +0 -31
  304. package/dist/assets/TreasuryStatementsPage-DA72LRB2-COfX6A9q.js +0 -58
  305. package/dist/assets/TreasuryTaxLetterPage-CQ2nQIPi-CBS_UC-D.js +0 -58
  306. package/dist/assets/UploadAdditionalDocumentOverlay-BYrAIUiK-zdW8Yium.js +0 -38
  307. package/dist/assets/VendorACHDetailsPage-_UmamDKx-3__MSdLg.js +0 -1
  308. package/dist/assets/VendorDomesticWireDetailsPage-DJCb_XK0-CqOHNcHl.js +0 -1
  309. package/dist/assets/VendorInternationalWireSwiftDetailsPage-ain3pHSa-EKqJyej-.js +0 -1
  310. package/dist/assets/ZeniAccountNavBarPieces-AwdFLryC-S89TIuvH.js +0 -14
  311. package/dist/assets/ZeniTransferAmountSlider-CMYjwzsb--Afhr34i.js +0 -63
  312. package/dist/assets/downloadPdf-DE7Hd8jE-DAbFGRh1.js +0 -1
  313. package/dist/assets/mapLoadingInProgressToTreeNode-C4CzR5xS-Cg81Asz9.js +0 -1
  314. package/dist/assets/mapSectionWithAcOnlyToTreeNode-4MBuc1Sm-B6R5EAwN.js +0 -1
  315. package/dist/assets/mapSpacerToTreeNode-hZvWCXjA-CuA0QfzK.js +0 -1
  316. package/dist/assets/mapTimeframeBalancesToTreeNode-CHvIKq5Y-CV_qZTRk.js +0 -1
  317. package/dist/assets/mapTimeframeBalancesToTreeNode-D4r2BVXx-DnEFsarG.js +0 -1
  318. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-nP8CDp4j-BxTMyk7D.js +0 -1
  319. package/dist/assets/toCOABalancesWithID-DPAmy3GS-lyRBWxwk.js +0 -1
  320. package/dist/assets/toChartData-D5QdTlGa-DOsyIRYt.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c as l,o as i,y as x,jj as De,cd as Oe,jk as X,aQ as B,b4 as Be,ct as Me,iR as Ae,bO as Ne,aU as He,al as W,dv as j,gX as Y,aO as K,bT as We,cv as Ee,bR as _e,am as N,cz as J,p as $,gY as pe,fP as me,fL as ge,ci as Ke,ai as F,iG as ue,bM as Ve,jl as Fe,iZ as Ue,cC as Ze,aW as z,i_ as Ye,i$ as Ge}from"./index-CRNmezJu.js";import{a as S,S as G}from"./sentry-Dla7mstv.js";import{n,c as q}from"./mui-mhzAEcDs.js";import{t as Qe}from"./SpendManagementSection-WqBeexgm-D6ZHNQRi.js";import{r as Xe,a as Je,i as ye,g as qe}from"./SpendManagementListViewPage-SufQOT9Y-5mvmwHQW.js";import{ck as xe,G5 as fe}from"./zeni-epic-state-CSmiPBaP.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-DfhOF4oT.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./StatusSwitcher-CWQs9lpu-RXB7-04g.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="a08d8a03-2cbd-4577-b90a-4823e31c15df",e._sentryDebugIdIdentifier="sentry-dbid-a08d8a03-2cbd-4577-b90a-4823e31c15df")}catch{}})();const E=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,tt={key:"paymentDate",value:E.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},it={key:"sourceAccount",value:E.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},nt={key:"paymentStatus",value:E.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},ot={key:"initiatedBy",value:E.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},at={key:"amount",value:E.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},we=()=>[tt,it,nt,ot,at],P={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new x(l[0],l[4]),headerLastColumnRightPadding:new x(l[3],l[11]),headerLastColumnBottomPadding:new x(l[0],l[4]),headerLastColumnLeftPadding:new x(l[0],l[11]),headerHeight:new x(Ye,Ge)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=V(),r=H(),[d,g]=S.useState(we());S.useEffect(()=>{const s=[...d];for(const m of s)m.key===o.sortKey?m.sortOrder=o.sortOrder:m.sortOrder="ascending";g(s)},[o.sortKey,o.sortOrder]);const y=(s,m)=>{let C=m;o.sortKey===s&&(C=m==="ascending"?"descending":"ascending"),c(s,C)},h=d.find(s=>s.key===o.sortKey)??d[0],p=s=>d.find(m=>m.key===s)?.value??"",u=d.map(s=>s.key),b=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return r==="small"?t.jsxs(ct,{windowSize:r,children:[t.jsxs(mt,{children:[t.jsx(ut,{children:t.jsx(gt,{})}),t.jsx(_e,{title:b.header.paymentDate,placeholder:b.header.paymentDate,pickerValues:u,valueToLabel:p,selectedValue:o.sortKey,onPickerSelectionChanged:s=>{y(s,"ascending")},optionTextStyle:I.extraSmallRegular,titleTextStyle:I.extraSmallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.grey4})]}),t.jsxs(ft,{onClick:()=>y(h.key,h.sortOrder),"data-testid":B("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:h.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:r,children:t.jsx(J,{})})})]})]}):t.jsx(dt,{windowSize:r,children:t.jsx(lt,{children:d.map(s=>s.width.value(r)!==0&&t.jsxs(ht,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:r,children:[t.jsxs(xt,{onClick:()=>y(s.key,s.sortOrder),"data-testid":B("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:s.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:s,children:t.jsx(te,{windowSize:r,children:t.jsx(J,{})})})]}),t.jsx(yt,{sortDataValue:o.sortKey,windowSize:r,isVisible:o.sortKey===s.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(pt,{onClick:()=>y("paymentDate","ascending"),"data-testid":B("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=G.memo(st),dt=n.div`
1
+ import{a8 as ze,aw as Re,Q as H,g as V,V as t,bB as Ie,b as I,g4 as Te,F as T,u as l,o as i,y as x,ji as De,cc as Be,jj as G,aP as O,b3 as Oe,cs as Ae,iQ as Ne,bN as Me,aT as He,al as W,du as j,gW as Y,aN as K,bS as We,cu as Ee,bQ as _e,am as M,cy as q,p as $,gX as pe,fO as me,fK as ge,ch as Ke,ai as F,iF as ue,bL as Ve,jk as Fe,iY as Ze,cB as Ue,aV as z,iZ as Ye,i_ as Qe}from"./index-AqGiWrum.js";import{a as S,S as Q}from"./sentry-CTKU7CLc.js";import{n,c as J}from"./mui-C_Pjuwl5.js";import{t as Xe}from"./SpendManagementSection-p_rbwPsi-DexNllt-.js";import{r as Ge,a as qe,i as ye,g as Je}from"./SpendManagementListViewPage-D0iaA1Tz-COkv1PV-.js";import{ck as xe,G5 as fe}from"./zeni-epic-state-Cl3KIlic.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-CCCTiB9K.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";import"./StatusSwitcher-BWCVuAz5-D3jo7wqm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="766e4b7f-d301-47fb-8643-5200bd6a01d6",e._sentryDebugIdIdentifier="sentry-dbid-766e4b7f-d301-47fb-8643-5200bd6a01d6")}catch{}})();const E=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,tt={key:"paymentDate",value:E.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},it={key:"sourceAccount",value:E.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},nt={key:"paymentStatus",value:E.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},ot={key:"initiatedBy",value:E.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},at={key:"amount",value:E.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},we=()=>[tt,it,nt,ot,at],P={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new x(l[0],l[4]),headerLastColumnRightPadding:new x(l[3],l[11]),headerLastColumnBottomPadding:new x(l[0],l[4]),headerLastColumnLeftPadding:new x(l[0],l[11]),headerHeight:new x(Ye,Qe)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=V(),r=H(),[d,g]=S.useState(we());S.useEffect(()=>{const s=[...d];for(const m of s)m.key===o.sortKey?m.sortOrder=o.sortOrder:m.sortOrder="ascending";g(s)},[o.sortKey,o.sortOrder]);const y=(s,m)=>{let C=m;o.sortKey===s&&(C=m==="ascending"?"descending":"ascending"),c(s,C)},h=d.find(s=>s.key===o.sortKey)??d[0],p=s=>d.find(m=>m.key===s)?.value??"",u=d.map(s=>s.key),b=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return r==="small"?t.jsxs(ct,{windowSize:r,children:[t.jsxs(mt,{children:[t.jsx(ut,{children:t.jsx(gt,{})}),t.jsx(_e,{title:b.header.paymentDate,placeholder:b.header.paymentDate,pickerValues:u,valueToLabel:p,selectedValue:o.sortKey,onPickerSelectionChanged:s=>{y(s,"ascending")},optionTextStyle:I.extraSmallRegular,titleTextStyle:I.extraSmallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.grey4})]}),t.jsxs(ft,{onClick:()=>y(h.key,h.sortOrder),"data-testid":O("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(M,{children:h.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:r,children:t.jsx(q,{})})})]})]}):t.jsx(dt,{windowSize:r,children:t.jsx(lt,{children:d.map(s=>s.width.value(r)!==0&&t.jsxs(ht,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:r,children:[t.jsxs(xt,{onClick:()=>y(s.key,s.sortOrder),"data-testid":O("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(M,{children:s.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:s,children:t.jsx(te,{windowSize:r,children:t.jsx(q,{})})})]}),t.jsx(yt,{sortDataValue:o.sortKey,windowSize:r,isVisible:o.sortKey===s.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(pt,{onClick:()=>y("paymentDate","ascending"),"data-testid":O("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=Q.memo(st),dt=n.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -35,10 +35,10 @@ import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c
35
35
  align-items: center;
36
36
  left: ${i.sp0};
37
37
  justify-content: ${e=>e.actualDataValue==="amount"?"flex-end":"flex-start"};
38
- ${e=>e.companyNameSticky?q`
38
+ ${e=>e.companyNameSticky?J`
39
39
  position: sticky;
40
40
  z-index: 1;
41
- `:q`
41
+ `:J`
42
42
  position: static;
43
43
  z-index: 0;
44
44
  `};
@@ -46,7 +46,7 @@ import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c
46
46
  overflow: hidden;
47
47
  padding-left: ${i.sp3};
48
48
  padding-right: ${e=>e.actualDataValue==="amount"?i.sp2:i.sp3};
49
- `,pt=n(Ze)`
49
+ `,pt=n(Ue)`
50
50
  width: ${i.sp3};
51
51
  height: ${i.sp3};
52
52
  cursor: pointer;
@@ -67,7 +67,7 @@ import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c
67
67
  gap: ${i.sp1};
68
68
  display: flex;
69
69
  color: ${e=>e.theme.colors.hero};
70
- `,gt=n(Ue)`
70
+ `,gt=n(Ze)`
71
71
  width: ${i.sp3};
72
72
  height: ${i.sp3};
73
73
  color: inherit;
@@ -91,7 +91,7 @@ import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c
91
91
  cursor: pointer;
92
92
  gap: 5px;
93
93
  color: ${e=>e.theme.colors.primary};
94
- `,O={containerPaddingLeft:new x(l[3],l[2]),containerPaddingRight:new x(l[2],l[3]),containerPaddingTop:new x(l[2],l[3]),containerPaddingBottom:new x(l[2],l[3]),containerMarginLeft:new x(l[4],l[0]),containerMarginRight:new x(l[4],l[0])},{spendManagement:{chargeCard:{paymentHistory:M}}}=T.getLocalizedStrings(),wt=e=>e.base64!==void 0?`${me}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",$t=({repayment:e,accountInfo:o,isLatestFailedPayment:c=!1,isLoading:a=!1,isZeniTenant:r,onRetryPaymentClick:d})=>{const{accountLogo:g,accountType:y,depositAccountLast4:h,depositAccountName:p}=o??{},u=H(),b=S.useCallback(Z=>{Z.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),s=T.getLocalizedStrings(),m=e.repaymentDate.format(s.dateFormat.visual.MMMDCommaYYYYformat),C=qe(p,h,M.sourceAccountUnknown),v=ye(e),w=e.paidByUser?.email?.endsWith("@zeni.ai")??!1,f=v||!r&&w,R=f?M.autopay:xe(e.paidByUser),D=e.status==="Rejected"||e.status==="Returned",_=e.status==="Sent",U=e.updateTime.format(s.dateFormat.visual.MMMDCommaYYYYformat),k=we();return t.jsx(St,{windowSize:u,children:t.jsx(Ct,{children:t.jsxs(kt,{children:[t.jsx(Pt,{windowSize:u,responsiveWidth:k[0].width,children:t.jsx(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:_?t.jsx(We,{placement:"bottom-start",title:t.jsxs(Gt,{children:[t.jsxs(oe,{children:[t.jsx(ae,{children:M.initiatedOn}),t.jsx(se,{children:m})]}),t.jsxs(oe,{children:[t.jsx(ae,{children:M.completedOn}),t.jsx(se,{children:U})]})]}),style:{padding:"12px 16px"},display:"block",children:t.jsx(ie,{className:"paymentDate",children:m})}):t.jsx(ie,{className:"paymentDate",children:m})})}),t.jsxs(Lt,{windowSize:u,responsiveWidth:k[1].width,children:[t.jsx(j,{isLoading:a,customStyle:{width:i.sp4,height:i.sp4,borderRadius:"50%"},children:t.jsx(zt,{children:y==="depositAccount"&&p!=null&&p!==""?t.jsx(Rt,{children:t.jsx(It,{color:Y(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(Ot,{src:wt(g),loading:"lazy"}):t.jsx(Tt,{children:t.jsx(Dt,{})})})}),t.jsx(Bt,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"20px",borderRadius:i.sp1},children:p!=null&&p!==""?t.jsxs(ne,{className:"sourceAccount",children:[t.jsx(Mt,{children:p}),h!=null&&h!==""&&t.jsx(At,{children:`•••• ${h}`})]}):t.jsx(ne,{className:"sourceAccount",children:C})})})]}),t.jsx(Nt,{windowSize:u,isLoading:a,responsiveWidth:k[2].width,children:t.jsx(j,{isLoading:a,customStyle:{width:"120px",height:i.sp4,borderRadius:i.sp1},children:t.jsxs(Ht,{children:[t.jsx(Wt,{children:t.jsx(vt,{status:e.status})}),D===!0&&c===!0&&d!=null&&t.jsxs(t.Fragment,{children:[t.jsx(bt,{}),t.jsx(Et,{onClick:b,"data-testid":B("retry-payment",e.cardRepaymentId),children:M.retryPayment})]})]})})}),t.jsxs(_t,{windowSize:u,responsiveWidth:k[3].width,children:[t.jsx(j,{isLoading:a,customStyle:{width:i.sp4,height:i.sp4,borderRadius:"50%"},children:f?t.jsx(Kt,{children:t.jsx(Vt,{})}):t.jsx(Ft,{children:t.jsx(Ee,{personBasic:e.paidByUser,styles:{height:i.sp4,width:i.sp4,minWidth:i.sp4}})})}),t.jsx(j,{isLoading:a,customStyle:{width:"80px",height:"20px",borderRadius:i.sp1,marginLeft:i.sp2},children:t.jsx(Ut,{className:"initiatedBy",children:R})})]}),t.jsx(Zt,{windowSize:u,responsiveWidth:k[4].width,children:t.jsx(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:t.jsx(Yt,{className:"amount",windowSize:u,title:K("0,0.00",e.amount),children:K("0,0.00",e.amount)})})})]})})})},vt=({status:e,style:o})=>{const c=V(),a=jt(e,c),r=fe(e);return t.jsx(ue,{textColor:a,borderColor:a,text:r,tagStyles:{padding:"1px 6px",...o}})},jt=(e,o)=>{switch(e){case"Sent":return new z($.success);case"Clearing":case"Pending":case"PendingReview":return new z($.alert);case"Rejected":case"Returned":return new z($.important);default:return new z(o.colors.grey1)}},bt=n.div`
94
+ `,B={containerPaddingLeft:new x(l[3],l[2]),containerPaddingRight:new x(l[2],l[3]),containerPaddingTop:new x(l[2],l[3]),containerPaddingBottom:new x(l[2],l[3]),containerMarginLeft:new x(l[4],l[0]),containerMarginRight:new x(l[4],l[0])},{spendManagement:{chargeCard:{paymentHistory:A}}}=T.getLocalizedStrings(),wt=e=>e.base64!==void 0?`${me}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",$t=({repayment:e,accountInfo:o,isLatestFailedPayment:c=!1,isLoading:a=!1,isZeniTenant:r,onRetryPaymentClick:d})=>{const{accountLogo:g,accountType:y,depositAccountLast4:h,depositAccountName:p}=o??{},u=H(),b=S.useCallback(U=>{U.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),s=T.getLocalizedStrings(),m=e.repaymentDate.format(s.dateFormat.visual.MMMDCommaYYYYformat),C=Je(p,h,A.sourceAccountUnknown),v=ye(e),w=e.paidByUser?.email?.endsWith("@zeni.ai")??!1,f=v||!r&&w,R=f?A.autopay:xe(e.paidByUser),D=e.status==="Rejected"||e.status==="Returned",_=e.status==="Sent",Z=e.updateTime.format(s.dateFormat.visual.MMMDCommaYYYYformat),k=we();return t.jsx(St,{windowSize:u,children:t.jsx(Ct,{children:t.jsxs(kt,{children:[t.jsx(Pt,{windowSize:u,responsiveWidth:k[0].width,children:t.jsx(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:_?t.jsx(We,{placement:"bottom-start",title:t.jsxs(Qt,{children:[t.jsxs(oe,{children:[t.jsx(ae,{children:A.initiatedOn}),t.jsx(se,{children:m})]}),t.jsxs(oe,{children:[t.jsx(ae,{children:A.completedOn}),t.jsx(se,{children:Z})]})]}),style:{padding:"12px 16px"},display:"block",children:t.jsx(ie,{className:"paymentDate",children:m})}):t.jsx(ie,{className:"paymentDate",children:m})})}),t.jsxs(Lt,{windowSize:u,responsiveWidth:k[1].width,children:[t.jsx(j,{isLoading:a,customStyle:{width:i.sp4,height:i.sp4,borderRadius:"50%"},children:t.jsx(zt,{children:y==="depositAccount"&&p!=null&&p!==""?t.jsx(Rt,{children:t.jsx(It,{color:Y(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(Bt,{src:wt(g),loading:"lazy"}):t.jsx(Tt,{children:t.jsx(Dt,{})})})}),t.jsx(Ot,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"20px",borderRadius:i.sp1},children:p!=null&&p!==""?t.jsxs(ne,{className:"sourceAccount",children:[t.jsx(At,{children:p}),h!=null&&h!==""&&t.jsx(Nt,{children:`•••• ${h}`})]}):t.jsx(ne,{className:"sourceAccount",children:C})})})]}),t.jsx(Mt,{windowSize:u,isLoading:a,responsiveWidth:k[2].width,children:t.jsx(j,{isLoading:a,customStyle:{width:"120px",height:i.sp4,borderRadius:i.sp1},children:t.jsxs(Ht,{children:[t.jsx(Wt,{children:t.jsx(vt,{status:e.status})}),D===!0&&c===!0&&d!=null&&t.jsxs(t.Fragment,{children:[t.jsx(bt,{}),t.jsx(Et,{onClick:b,"data-testid":O("retry-payment",e.cardRepaymentId),children:A.retryPayment})]})]})})}),t.jsxs(_t,{windowSize:u,responsiveWidth:k[3].width,children:[t.jsx(j,{isLoading:a,customStyle:{width:i.sp4,height:i.sp4,borderRadius:"50%"},children:f?t.jsx(Kt,{children:t.jsx(Vt,{})}):t.jsx(Ft,{children:t.jsx(Ee,{personBasic:e.paidByUser,styles:{height:i.sp4,width:i.sp4,minWidth:i.sp4}})})}),t.jsx(j,{isLoading:a,customStyle:{width:"80px",height:"20px",borderRadius:i.sp1,marginLeft:i.sp2},children:t.jsx(Zt,{className:"initiatedBy",children:R})})]}),t.jsx(Ut,{windowSize:u,responsiveWidth:k[4].width,children:t.jsx(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:t.jsx(Yt,{className:"amount",windowSize:u,title:K("0,0.00",e.amount),children:K("0,0.00",e.amount)})})})]})})})},vt=({status:e,style:o})=>{const c=V(),a=jt(e,c),r=fe(e);return t.jsx(ue,{textColor:a,borderColor:a,text:r,tagStyles:{padding:"1px 6px",...o}})},jt=(e,o)=>{switch(e){case"Sent":return new z($.success);case"Clearing":case"Pending":case"PendingReview":return new z($.alert);case"Rejected":case"Returned":return new z($.important);default:return new z(o.colors.grey1)}},bt=n.div`
95
95
  width: ${i.sp1};
96
96
  height: ${i.sp1};
97
97
  background-color: ${e=>e.theme.colors.grey1};
@@ -99,10 +99,10 @@ import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c
99
99
  `,St=n.div`
100
100
  display: flex;
101
101
  background-color: ${e=>e.theme.colors.grey5};
102
- padding-left: ${e=>O.containerPaddingLeft.valuePx(e.windowSize)};
103
- padding-right: ${e=>O.containerPaddingRight.valuePx(e.windowSize)};
104
- padding-top: ${e=>O.containerPaddingTop.valuePx(e.windowSize)};
105
- padding-bottom: ${e=>O.containerPaddingBottom.valuePx(e.windowSize)};
102
+ padding-left: ${e=>B.containerPaddingLeft.valuePx(e.windowSize)};
103
+ padding-right: ${e=>B.containerPaddingRight.valuePx(e.windowSize)};
104
+ padding-top: ${e=>B.containerPaddingTop.valuePx(e.windowSize)};
105
+ padding-bottom: ${e=>B.containerPaddingBottom.valuePx(e.windowSize)};
106
106
  border: ${e=>`1px solid ${e.theme.colors.grey3}`};
107
107
  box-shadow: ${e=>e.theme.mode==="dark"?$.Elevation1Dark:$.Elevation1Light};
108
108
  border-radius: ${i.sp2};
@@ -119,8 +119,8 @@ import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c
119
119
  }
120
120
  }
121
121
 
122
- margin-right: ${e=>O.containerMarginLeft.valuePx(e.windowSize)};
123
- margin-left: ${e=>O.containerMarginRight.valuePx(e.windowSize)};
122
+ margin-right: ${e=>B.containerMarginLeft.valuePx(e.windowSize)};
123
+ margin-left: ${e=>B.containerMarginRight.valuePx(e.windowSize)};
124
124
  margin-bottom: ${i.sp3};
125
125
  box-sizing: border-box;
126
126
  align-items: center;
@@ -180,14 +180,14 @@ import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c
180
180
  min-width: inherit;
181
181
  width: ${i.sp4};
182
182
  height: ${i.sp4};
183
- `,Ot=n.img`
183
+ `,Bt=n.img`
184
184
  display: flex;
185
185
  width: ${i.sp4};
186
186
  height: ${i.sp4};
187
187
  min-width: ${i.sp4};
188
188
  border-radius: 50%;
189
189
  object-fit: cover;
190
- `,Bt=n.div`
190
+ `,Ot=n.div`
191
191
  display: flex;
192
192
  flex-direction: column;
193
193
  overflow: hidden;
@@ -198,15 +198,15 @@ import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c
198
198
  column-gap: ${i.sp1};
199
199
  overflow: hidden;
200
200
  min-width: 0;
201
- `,Mt=n.span`
201
+ `,At=n.span`
202
202
  overflow: hidden;
203
203
  text-overflow: ellipsis;
204
204
  white-space: nowrap;
205
205
  min-width: 0;
206
- `,At=n.span`
206
+ `,Nt=n.span`
207
207
  white-space: nowrap;
208
208
  flex-shrink: 0;
209
- `,Nt=n.div`
209
+ `,Mt=n.div`
210
210
  position: relative;
211
211
  top: 2px;
212
212
  width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
@@ -271,13 +271,13 @@ import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c
271
271
  height: ${i.sp4};
272
272
  border-radius: 50%;
273
273
  background-color: ${e=>e.theme.colors.grey3};
274
- `,Ut=n(W)`
274
+ `,Zt=n(W)`
275
275
  color: ${e=>e.theme.colors.hero};
276
276
  max-width: 100%;
277
277
  overflow: hidden;
278
278
  text-overflow: ellipsis;
279
279
  white-space: nowrap;
280
- `,Zt=n.div`
280
+ `,Ut=n.div`
281
281
  display: flex;
282
282
  align-items: center;
283
283
  justify-content: flex-end;
@@ -291,7 +291,7 @@ import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c
291
291
  overflow: hidden;
292
292
  text-overflow: ellipsis;
293
293
  white-space: nowrap;
294
- `,Gt=n.div`
294
+ `,Qt=n.div`
295
295
  display: flex;
296
296
  flex-direction: column;
297
297
  gap: ${i.sp1};
@@ -304,7 +304,7 @@ import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c
304
304
  color: ${e=>e.theme.colors.hero};
305
305
  `,se=n(F)`
306
306
  color: ${$.brandColorPearl};
307
- `,Qt=new z(Y(0)).lighten(.3).hex(),{spendManagement:{chargeCard:{paymentHistory:A}}}=T.getLocalizedStrings(),Xt=e=>e.base64!==void 0?`${me}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Jt=({repayment:e,accountInfo:o,isLatestFailedPayment:c=!1,isLoading:a=!1,isZeniTenant:r,onRetryPaymentClick:d})=>{const{accountLogo:g,accountType:y,depositAccountLast4:h,depositAccountName:p}=o??{},u=S.useCallback(f=>{f.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),b=T.getLocalizedStrings(),s=e.repaymentDate.format(b.dateFormat.visual.MMMDCommaYYYYformat),m=ye(e),C=e.paidByUser?.email?.endsWith("@zeni.ai")??!1,v=m||!r&&C?A.autopay:xe(e.paidByUser),w=e.status==="Rejected"||e.status==="Returned";return t.jsx(ti,{children:t.jsxs(ii,{children:[t.jsxs(ni,{children:[t.jsx(oi,{children:t.jsx(j,{isLoading:a,customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:y==="depositAccount"&&p!=null&&p!==""?t.jsx(ai,{children:t.jsx(si,{color:Y(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(li,{src:Xt(g),loading:"lazy"}):t.jsx(ri,{children:t.jsx(di,{})})})}),t.jsxs(ci,{children:[t.jsx(hi,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"20px",borderRadius:i.sp1},children:t.jsx(pi,{className:"sourceAccount",children:p!=null&&p!==""?p:A.sourceAccountUnknown})})}),t.jsx(mi,{children:t.jsx(j,{isLoading:a,customStyle:{width:"120px",height:"16px",borderRadius:i.sp1},children:t.jsx(gi,{children:h!=null&&h!==""?`Checking •••• ${h}`:""})})}),t.jsx(ui,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"16px",borderRadius:i.sp1},children:t.jsxs(yi,{children:[A.header.initiatedBy,":"," ",t.jsx(xi,{className:"initiatedBy",children:v})]})})}),t.jsx(fi,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"16px",borderRadius:i.sp1},children:t.jsxs(wi,{children:[A.header.paymentDate,":"," ",t.jsx($i,{className:"paymentDate",children:s})]})})})]})]}),t.jsxs(vi,{children:[t.jsx(ji,{children:t.jsx(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:t.jsx(bi,{className:"amount",title:K("0,0.[00]",e.amount),children:K("0,0.[00]",e.amount)})})}),t.jsx(Si,{children:t.jsx(j,{isLoading:a,customStyle:{width:"120px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Ci,{children:t.jsx(ki,{children:t.jsx(qt,{status:e.status})})})})}),w===!0&&c===!0&&d!=null&&t.jsx(Pi,{children:t.jsx(Li,{onClick:u,"data-testid":B("retry-payment",e.cardRepaymentId),children:A.retryPayment})})]})]})})},qt=({status:e,style:o})=>{const c=V(),a=ei(e,c),r=fe(e);return t.jsx(ue,{textColor:a,borderColor:a,text:r,tagStyles:{padding:"1px 6px",...o}})},ei=(e,o)=>{switch(e){case"Sent":return new z($.success);case"Clearing":case"Pending":case"PendingReview":return new z($.alert);case"Rejected":case"Returned":return new z($.important);default:return new z(o.colors.grey1)}},ti=n.div`
307
+ `,Xt=new z(Y(0)).lighten(.3).hex(),{spendManagement:{chargeCard:{paymentHistory:N}}}=T.getLocalizedStrings(),Gt=e=>e.base64!==void 0?`${me}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",qt=({repayment:e,accountInfo:o,isLatestFailedPayment:c=!1,isLoading:a=!1,isZeniTenant:r,onRetryPaymentClick:d})=>{const{accountLogo:g,accountType:y,depositAccountLast4:h,depositAccountName:p}=o??{},u=S.useCallback(f=>{f.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),b=T.getLocalizedStrings(),s=e.repaymentDate.format(b.dateFormat.visual.MMMDCommaYYYYformat),m=ye(e),C=e.paidByUser?.email?.endsWith("@zeni.ai")??!1,v=m||!r&&C?N.autopay:xe(e.paidByUser),w=e.status==="Rejected"||e.status==="Returned";return t.jsx(ti,{children:t.jsxs(ii,{children:[t.jsxs(ni,{children:[t.jsx(oi,{children:t.jsx(j,{isLoading:a,customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:y==="depositAccount"&&p!=null&&p!==""?t.jsx(ai,{children:t.jsx(si,{color:Y(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(li,{src:Gt(g),loading:"lazy"}):t.jsx(ri,{children:t.jsx(di,{})})})}),t.jsxs(ci,{children:[t.jsx(hi,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"20px",borderRadius:i.sp1},children:t.jsx(pi,{className:"sourceAccount",children:p!=null&&p!==""?p:N.sourceAccountUnknown})})}),t.jsx(mi,{children:t.jsx(j,{isLoading:a,customStyle:{width:"120px",height:"16px",borderRadius:i.sp1},children:t.jsx(gi,{children:h!=null&&h!==""?`Checking •••• ${h}`:""})})}),t.jsx(ui,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"16px",borderRadius:i.sp1},children:t.jsxs(yi,{children:[N.header.initiatedBy,":"," ",t.jsx(xi,{className:"initiatedBy",children:v})]})})}),t.jsx(fi,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"16px",borderRadius:i.sp1},children:t.jsxs(wi,{children:[N.header.paymentDate,":"," ",t.jsx($i,{className:"paymentDate",children:s})]})})})]})]}),t.jsxs(vi,{children:[t.jsx(ji,{children:t.jsx(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:t.jsx(bi,{className:"amount",title:K("0,0.[00]",e.amount),children:K("0,0.[00]",e.amount)})})}),t.jsx(Si,{children:t.jsx(j,{isLoading:a,customStyle:{width:"120px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Ci,{children:t.jsx(ki,{children:t.jsx(Jt,{status:e.status})})})})}),w===!0&&c===!0&&d!=null&&t.jsx(Pi,{children:t.jsx(Li,{onClick:u,"data-testid":O("retry-payment",e.cardRepaymentId),children:N.retryPayment})})]})]})})},Jt=({status:e,style:o})=>{const c=V(),a=ei(e,c),r=fe(e);return t.jsx(ue,{textColor:a,borderColor:a,text:r,tagStyles:{padding:"1px 6px",...o}})},ei=(e,o)=>{switch(e){case"Sent":return new z($.success);case"Clearing":case"Pending":case"PendingReview":return new z($.alert);case"Rejected":case"Returned":return new z($.important);default:return new z(o.colors.grey1)}},ti=n.div`
308
308
  display: flex;
309
309
  background-color: ${e=>e.theme.colors.grey5};
310
310
  padding: ${i.sp3};
@@ -354,7 +354,7 @@ import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c
354
354
  align-items: center;
355
355
  justify-content: center;
356
356
  border-radius: 50%;
357
- background-color: ${Qt};
357
+ background-color: ${Xt};
358
358
  `,si=n(pe)`
359
359
  min-width: inherit;
360
360
  width: ${i.sp6};
@@ -410,7 +410,7 @@ import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c
410
410
  display: flex;
411
411
  align-items: center;
412
412
  margin-top: 3px;
413
- `,yi=n(N)`
413
+ `,yi=n(M)`
414
414
  color: ${e=>e.theme.colors.hero};
415
415
  max-width: 100%;
416
416
  overflow: hidden;
@@ -423,7 +423,7 @@ import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c
423
423
  align-items: center;
424
424
  position: relative;
425
425
  top: -2px;
426
- `,wi=n(N)`
426
+ `,wi=n(M)`
427
427
  color: ${e=>e.theme.colors.hero};
428
428
  max-width: 100%;
429
429
  overflow: hidden;
@@ -441,7 +441,7 @@ import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c
441
441
  display: flex;
442
442
  align-items: center;
443
443
  justify-content: flex-end;
444
- `,bi=n(N)`
444
+ `,bi=n(M)`
445
445
  color: ${e=>e.theme.colors.hero};
446
446
  max-width: 100%;
447
447
  overflow: hidden;
@@ -481,7 +481,7 @@ import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c
481
481
  &:hover {
482
482
  text-decoration: underline;
483
483
  }
484
- `,zi={lastListItemHeight:new x(200,114)},Ri=T.getLocalizedStrings(),{spendManagement:{chargeCard:re},common:Ii}=Ri,de=50,Ti=64,Di=351,Oi=86,$e=G.memo(({fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,searchText:a,isZeniTenant:r,onColumnSortConfigChanged:d,onReloadPayments:g,onRetryPaymentClick:y})=>{const h=H(),p=S.useCallback(v=>v===0?de:h==="small"?132:X,[h]),u=S.useMemo(()=>{let v=de+Ti;for(let w=1;w<=o.length;w++)v+=p(w);return v},[o.length,p]),b=S.useMemo(()=>window.innerHeight-Di,[]),s=u>b,m=S.useRef(null);S.useEffect(()=>{m.current?.resetAfterIndex(0)},[h]);const C=()=>e==="Error"?t.jsxs(Hi,{children:[t.jsx(Wi,{onClick:g,"data-testid":B("payment-history-list-reload"),children:t.jsx(Ei,{})}),t.jsx(_i,{children:Ii.reloadPage.label})]}):e==="Completed"&&o.length===0?t.jsx(Fi,{children:t.jsx(Ui,{children:a!==""?re.paymentHistory.noPaymentHistoryMatchedSearch:re.paymentHistory.noPaymentHistoryAvailable})}):t.jsx(je,{children:t.jsx(Ki,{windowSize:h,availableHeight:b,isListTooLarge:s,children:t.jsx(Be,{children:({height:v,width:w})=>t.jsx(Me,{ref:m,height:v,itemCount:o.length+1,innerElementType:ve,itemSize:p,estimatedItemSize:X,itemKey:f=>f===0?"header":o[f-1].repayment.cardRepaymentId,width:w,overscanCount:Ae,initialScrollOffset:0,children:f=>t.jsx(Bi,{...f,repaymentListWithAccountInfo:o,sortConfig:c,isZeniTenant:r,onColumnSortConfigChanged:d,onRetryPaymentClick:y})})})})});return t.jsx(Ni,{fetchState:e,children:C()})},(e,o)=>e.repaymentListWithAccountInfo===o.repaymentListWithAccountInfo&&e.fetchState===o.fetchState&&e.sortConfig.sortKey===o.sortConfig.sortKey&&e.sortConfig.sortOrder===o.sortConfig.sortOrder&&e.searchText===o.searchText&&e.isZeniTenant===o.isZeniTenant);$e.displayName="ChargeCardPaymentHistoryContent";const ve=S.forwardRef((e,o)=>{const{children:c,style:a,...r}=e;return t.jsx(je,{ref:o,style:{...a,width:"auto"},...r,children:t.jsx(Vi,{children:c})})});ve.displayName="ChargeCardPaymentHistoryInnerElement";const Bi=({index:e,style:o,repaymentListWithAccountInfo:c,sortConfig:a,isZeniTenant:r,onColumnSortConfigChanged:d,onRetryPaymentClick:g})=>{const y=H(),h=e===0,p=h?null:c[e-1],u=p?.repayment??null,b=p?.accountInfo,s=S.useMemo(()=>{if(c.length===0)return null;const w=c.map(R=>R.repayment),f=w.slice(1).reduce((R,D)=>D.repaymentDate.isAfter(R.repaymentDate)?D:R,w[0]);return f.status==="Rejected"||f.status==="Returned"?f.cardRepaymentId:null},[c]),m={...o,width:"100%"};if(h)return t.jsx(le,{style:m,className:"spend-management-list-item",children:t.jsx(rt,{companyNameSticky:!1,sortConfig:a,onColumnSortConfigChanged:d})});if(u==null)return null;const C=s!==null&&u.cardRepaymentId===s,v=y==="small"?Jt:$t;return t.jsx(le,{style:m,className:"spend-management-list-item",children:t.jsx(v,{repayment:u,accountInfo:b,isLatestFailedPayment:C,isZeniTenant:r,onRetryPaymentClick:g})})},Mi=({fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,onColumnSortConfigChanged:a,onReloadPayments:r,searchText:d,isZeniTenant:g,onRetryPaymentClick:y})=>(Oe({componentName:"charge_card_payment_history.list",enabled:e==="Completed"}),t.jsx($e,{fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,onColumnSortConfigChanged:a,onReloadPayments:r,searchText:d,isZeniTenant:g,onRetryPaymentClick:y})),Ai=G.memo(Mi),Ni=n.div`
484
+ `,zi={lastListItemHeight:new x(200,114)},Ri=T.getLocalizedStrings(),{spendManagement:{chargeCard:re},common:Ii}=Ri,de=50,Ti=64,Di=351,Bi=86,$e=Q.memo(({fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,searchText:a,isZeniTenant:r,onColumnSortConfigChanged:d,onReloadPayments:g,onRetryPaymentClick:y})=>{const h=H(),p=S.useCallback(v=>v===0?de:h==="small"?132:G,[h]),u=S.useMemo(()=>{let v=de+Ti;for(let w=1;w<=o.length;w++)v+=p(w);return v},[o.length,p]),b=S.useMemo(()=>window.innerHeight-Di,[]),s=u>b,m=S.useRef(null);S.useEffect(()=>{m.current?.resetAfterIndex(0)},[h]);const C=()=>e==="Error"?t.jsxs(Hi,{children:[t.jsx(Wi,{onClick:g,"data-testid":O("payment-history-list-reload"),children:t.jsx(Ei,{})}),t.jsx(_i,{children:Ii.reloadPage.label})]}):e==="Completed"&&o.length===0?t.jsx(Fi,{children:t.jsx(Zi,{children:a!==""?re.paymentHistory.noPaymentHistoryMatchedSearch:re.paymentHistory.noPaymentHistoryAvailable})}):t.jsx(je,{children:t.jsx(Ki,{windowSize:h,availableHeight:b,isListTooLarge:s,children:t.jsx(Oe,{children:({height:v,width:w})=>t.jsx(Ae,{ref:m,height:v,itemCount:o.length+1,innerElementType:ve,itemSize:p,estimatedItemSize:G,itemKey:f=>f===0?"header":o[f-1].repayment.cardRepaymentId,width:w,overscanCount:Ne,initialScrollOffset:0,children:f=>t.jsx(Oi,{...f,repaymentListWithAccountInfo:o,sortConfig:c,isZeniTenant:r,onColumnSortConfigChanged:d,onRetryPaymentClick:y})})})})});return t.jsx(Mi,{fetchState:e,children:C()})},(e,o)=>e.repaymentListWithAccountInfo===o.repaymentListWithAccountInfo&&e.fetchState===o.fetchState&&e.sortConfig.sortKey===o.sortConfig.sortKey&&e.sortConfig.sortOrder===o.sortConfig.sortOrder&&e.searchText===o.searchText&&e.isZeniTenant===o.isZeniTenant);$e.displayName="ChargeCardPaymentHistoryContent";const ve=S.forwardRef((e,o)=>{const{children:c,style:a,...r}=e;return t.jsx(je,{ref:o,style:{...a,width:"auto"},...r,children:t.jsx(Vi,{children:c})})});ve.displayName="ChargeCardPaymentHistoryInnerElement";const Oi=({index:e,style:o,repaymentListWithAccountInfo:c,sortConfig:a,isZeniTenant:r,onColumnSortConfigChanged:d,onRetryPaymentClick:g})=>{const y=H(),h=e===0,p=h?null:c[e-1],u=p?.repayment??null,b=p?.accountInfo,s=S.useMemo(()=>{if(c.length===0)return null;const w=c.map(R=>R.repayment),f=w.slice(1).reduce((R,D)=>D.repaymentDate.isAfter(R.repaymentDate)?D:R,w[0]);return f.status==="Rejected"||f.status==="Returned"?f.cardRepaymentId:null},[c]),m={...o,width:"100%"};if(h)return t.jsx(le,{style:m,className:"spend-management-list-item",children:t.jsx(rt,{companyNameSticky:!1,sortConfig:a,onColumnSortConfigChanged:d})});if(u==null)return null;const C=s!==null&&u.cardRepaymentId===s,v=y==="small"?qt:$t;return t.jsx(le,{style:m,className:"spend-management-list-item",children:t.jsx(v,{repayment:u,accountInfo:b,isLatestFailedPayment:C,isZeniTenant:r,onRetryPaymentClick:g})})},Ai=({fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,onColumnSortConfigChanged:a,onReloadPayments:r,searchText:d,isZeniTenant:g,onRetryPaymentClick:y})=>(Be({componentName:"charge_card_payment_history.list",enabled:e==="Completed"}),t.jsx($e,{fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,onColumnSortConfigChanged:a,onReloadPayments:r,searchText:d,isZeniTenant:g,onRetryPaymentClick:y})),Ni=Q.memo(Ai),Mi=n.div`
485
485
  margin: ${e=>e.fetchState==="Error"?"auto":"unset"};
486
486
  display: block;
487
487
  height: 100%;
@@ -501,7 +501,7 @@ import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c
501
501
  background: ${e=>e.theme.colors.background};
502
502
  border-radius: 50%;
503
503
  cursor: pointer;
504
- `,Ei=n(Ne)`
504
+ `,Ei=n(Me)`
505
505
  height: ${i.sp5};
506
506
  width: ${i.sp5};
507
507
  color: ${e=>e.theme.colors.grey1};
@@ -513,7 +513,7 @@ import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c
513
513
  color: ${e=>e.theme.colors.hero};
514
514
  `,Ki=n.div`
515
515
  position: sticky;
516
- height: ${e=>e.isListTooLarge||e.windowSize==="small"?`calc(100vh - ${Oi}px)`:`${e.availableHeight}px`};
516
+ height: ${e=>e.isListTooLarge||e.windowSize==="small"?`calc(100vh - ${Bi}px)`:`${e.availableHeight}px`};
517
517
  max-width: 99.9%;
518
518
  ${({isListTooLarge:e,windowSize:o})=>(e||o==="small")&&`
519
519
  .spend-management-list-item:last-of-type {
@@ -548,16 +548,16 @@ import{a8 as ze,ax as Re,J as H,e as V,V as t,bC as Ie,b as I,g5 as Te,O as T,c
548
548
  flex-direction: row;
549
549
  justify-content: center;
550
550
  align-items: flex-end;
551
- `,Ui=n(W)`
551
+ `,Zi=n(W)`
552
552
  display: flex;
553
553
  color: ${e=>e.theme.colors.grey2};
554
- `,ce={contentContainerMargin:new x(l[3],l[4],l[8])},{spendManagement:{chargeCard:{paymentHistory:he}},common:Zi}=T.getLocalizedStrings(),pn=({repaymentList:e,fetchState:o,sortConfig:c,accountInfoByAccountId:a,searchText:r,filters:d,isZeniTenant:g,onBackClick:y,repaymentHistoryUsers:h,onColumnSortConfigChanged:p,onFiltersChange:u,onReloadPayments:b,onRetryPaymentClick:s,onSearchTextChanged:m,onClickMenuIcon:C,downloadParams:v,downloadState:w,updateDownloadStateHandler:f})=>{const R=ze().analytics,D=Re(),[_,U]=S.useState(!1),k=H(),Z=V(),be=r===""&&(d?.categories==null||d.categories.length===0||d.categories.every(L=>L.values==null||L.values.length===0)),Q=o==="Completed"&&be&&e.length===0,Se=L=>{U(L)},Ce={entity:"charge_card_payment_history",showNewButtonOnNavbar:!1,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:Zi.strings.empty,hideSearchBtn:!1,disableSearch:Q,disableFilters:Q,searchTextBoxStyle:{right:"86px"},moreIconContainerStyle:{paddingRight:l[4]},isSearchOpen:_,searchPlaceHolder:he.searchPlaceHolder,searchText:r,showSettingsIcon:!1,showSettingsIconOnNavbar:!1,showStatementButtonOnNavbar:!1,showPayEarlyButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,showDownloadIcon:!0,onDownloadClick:async()=>{f("In-Progress");try{await De({localeID:"en-US",fileType:"excel",entity:"charge_card_payment_history",filter:{filters:d,searchText:r},...v})}finally{f("Completed")}},disableDownloadButton:w==="In-Progress"||o!=="Completed"||e.length===0,analytics:R,onSearchOpen:Se,filterIconContainerStyle:{...k==="small"&&{position:"static",paddingRight:"10px"}},onSearchTextChanged:m,onClickSetupIcon:()=>{},onClickStatementsIcon:()=>{},downloadState:w,onNewButtonClick:()=>{},onClickPayEarlyIcon:()=>{},onMenuOpen:()=>{},filters:d,onFiltersChange:u,createdByUserListLoaded:o==="Completed",getFilterOptions:()=>Je("charge_card_payment_history",h,D.loggedInUserRole??[],[],a),renderDropdownOptionIcon:Xe},ke=t.jsx(Qe,{spendManagementSectionProps:Ce}),Pe=he.pageTitle,Le=S.useMemo(()=>e.map(L=>({repayment:L,accountInfo:L.paymentAccountId!=null&&L.paymentAccountId!==""?a?.[L.paymentAccountId]:void 0})),[e,a]);return t.jsxs(Yi,{children:[t.jsx(Ie,{title:Pe,showBackButton:!0,showMenuIcon:k==="medium-compact"||k==="small",onClickMenuIcon:C,titleTextStyles:k==="small"?{...I.standardMedium.cssObject}:void 0,style:{zIndex:3},onBackClick:y,rightSideComponent:ke,isSearchOpen:_,hideSearchBtn:!1,scrollableContent:void 0,source:"ChargeCardPaymentHistoryPage",backgroundColor:Z.colors.grey4}),o==="Not-Started"||o==="In-Progress"?t.jsx(Te,{fetchState:o,styles:{margin:"auto"}}):t.jsx(Gi,{windowSize:k,children:t.jsx(Ai,{fetchState:o,repaymentListWithAccountInfo:Le,sortConfig:c,onColumnSortConfigChanged:p,onReloadPayments:b,searchText:r,isZeniTenant:g,onRetryPaymentClick:s})})]})},Yi=n.div`
554
+ `,ce={contentContainerMargin:new x(l[3],l[4],l[8])},{spendManagement:{chargeCard:{paymentHistory:he}},common:Ui}=T.getLocalizedStrings(),pn=({repaymentList:e,fetchState:o,sortConfig:c,accountInfoByAccountId:a,searchText:r,filters:d,isZeniTenant:g,onBackClick:y,repaymentHistoryUsers:h,onColumnSortConfigChanged:p,onFiltersChange:u,onReloadPayments:b,onRetryPaymentClick:s,onSearchTextChanged:m,onClickMenuIcon:C,downloadParams:v,downloadState:w,updateDownloadStateHandler:f})=>{const R=ze().analytics,D=Re(),[_,Z]=S.useState(!1),k=H(),U=V(),be=r===""&&(d?.categories==null||d.categories.length===0||d.categories.every(L=>L.values==null||L.values.length===0)),X=o==="Completed"&&be&&e.length===0,Se=L=>{Z(L)},Ce={entity:"charge_card_payment_history",showNewButtonOnNavbar:!1,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:Ui.strings.empty,hideSearchBtn:!1,disableSearch:X,disableFilters:X,searchTextBoxStyle:{right:"86px"},moreIconContainerStyle:{paddingRight:l[4]},isSearchOpen:_,searchPlaceHolder:he.searchPlaceHolder,searchText:r,showSettingsIcon:!1,showSettingsIconOnNavbar:!1,showStatementButtonOnNavbar:!1,showPayEarlyButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,showDownloadIcon:!0,onDownloadClick:async()=>{f("In-Progress");try{await De({localeID:"en-US",fileType:"excel",entity:"charge_card_payment_history",filter:{filters:d,searchText:r},...v})}finally{f("Completed")}},disableDownloadButton:w==="In-Progress"||o!=="Completed"||e.length===0,analytics:R,onSearchOpen:Se,filterIconContainerStyle:{...k==="small"&&{position:"static",paddingRight:"10px"}},onSearchTextChanged:m,onClickSetupIcon:()=>{},onClickStatementsIcon:()=>{},downloadState:w,onNewButtonClick:()=>{},onClickPayEarlyIcon:()=>{},onMenuOpen:()=>{},filters:d,onFiltersChange:u,createdByUserListLoaded:o==="Completed",getFilterOptions:()=>qe("charge_card_payment_history",h,D.loggedInUserRole??[],[],a),renderDropdownOptionIcon:Ge},ke=t.jsx(Xe,{spendManagementSectionProps:Ce}),Pe=he.pageTitle,Le=S.useMemo(()=>e.map(L=>({repayment:L,accountInfo:L.paymentAccountId!=null&&L.paymentAccountId!==""?a?.[L.paymentAccountId]:void 0})),[e,a]);return t.jsxs(Yi,{children:[t.jsx(Ie,{title:Pe,showBackButton:!0,showMenuIcon:k==="medium-compact"||k==="small",onClickMenuIcon:C,titleTextStyles:k==="small"?{...I.standardMedium.cssObject}:void 0,style:{zIndex:3},onBackClick:y,rightSideComponent:ke,isSearchOpen:_,hideSearchBtn:!1,scrollableContent:void 0,source:"ChargeCardPaymentHistoryPage",backgroundColor:U.colors.grey4}),o==="Not-Started"||o==="In-Progress"?t.jsx(Te,{fetchState:o,styles:{margin:"auto"}}):t.jsx(Qi,{windowSize:k,children:t.jsx(Ni,{fetchState:o,repaymentListWithAccountInfo:Le,sortConfig:c,onColumnSortConfigChanged:p,onReloadPayments:b,searchText:r,isZeniTenant:g,onRetryPaymentClick:s})})]})},Yi=n.div`
555
555
  display: flex;
556
556
  flex-direction: column;
557
557
  width: 100%;
558
558
  height: 100vh;
559
559
  overflow: auto;
560
- `,Gi=n.div`
560
+ `,Qi=n.div`
561
561
  margin-top: ${i.sp4};
562
562
  margin-right: ${e=>ce.contentContainerMargin.valuePx(e.windowSize)};
563
563
  margin-bottom: ${i.sp0};
@@ -0,0 +1,222 @@
1
+ import{Q as $,V as r,g as J,aw as be,a8 as $e,aQ as je,aN as Se,fS as Te,bB as ze,fr as ve,r as Y,aP as ee,F as oe,o as t,M as Pe,f as O,cC as ke,aq as Be,y as u,ap as Ie,bS as Ae,iJ as Le,ai as Re,u as p,a as S,p as y,ba as _e,aU as Me,iK as Ee}from"./index-AqGiWrum.js";import{a as T}from"./sentry-CTKU7CLc.js";import{n,c as De,k as Fe}from"./mui-C_Pjuwl5.js";import{EL as Ue}from"./zeni-epic-state-Cl3KIlic.js";import{k as Ne}from"./NavigationDots-DgfBVlG5-Begp91rh.js";import{J as H,N as G}from"./PromoBaseCards-CSisWvqE-flcR83jC.js";import{M as R}from"./usp-line-BBd1wKwW-DQyOXy13.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="6f548ae3-ef0f-4020-8020-84e789d6d5de",e._sentryDebugIdIdentifier="sentry-dbid-6f548ae3-ef0f-4020-8020-84e789d6d5de")}catch{}})();const g={containerPaddingTopBottom:new u(p[0],p[0]),uspContainerMarginX:new u(p[6],p[0]),midContainerGap:new u(p[4],84),iconContainerMinHeight:new u(236,396),emptySectionHeight:new u(p[6],43),navigationBottom:new u(p[4],94),navigationLeft:new u(192,244),carouselHeight:new u(268,396),carouselMarginTop:new u(54,p[4]),carouselMarginLeft:new u(120,p[12]),buttonTrayGap:new u(p[3],p[5]),termsOfAgreementMarginTop:new u(p[5],p[10]),contactAdminContainerMarginTop:new u(p[0],p[10]),contactAdminContainerMarginBottom:new u(p[4],p[0]),contactAdminContainerMarginLeftRight:new u(p[3],p[0])},z={promoBadgeText:new S("standardRegular","largeRegular"),promoBadgeTextBold:new S("standardBold","largeBold"),cardsContent:new S("extraSmallRegular","smallRegular"),contactAdmin:new S("extraSmallRegular","largeRegular"),uspText:new S("smallRegular","standardRegular"),uspBoldText:new S("smallMedium","standardMedium")},{common:U,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),_r=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:a,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:x,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:V,onExpressInterestClick:ge})=>{const he=J(),X=be(),v=$(),q=$e().analytics,{chargeCardTermsDetails:_,companyChargeCardInfo:C,companyLocaleInfo:M}=i,K=je(_?.fetchStatus.fetchState),[ue,Q]=T.useState(!1),xe=()=>{q.trackCardsPromoPageClicked("schedule demo"),q.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:x,isCreditCardEnabled:w},"Cards Promo"),Q(!0)},we=C!=null&&M!=null?Se("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;T.useEffect(()=>{K==="In-Progress"&&_?.fetchStatus.fetchState==="Completed"&&V()},[K,V,_?.fetchStatus]);const W=Ue(X.loggedInUserRoleMap),fe=Te(X),E=f==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:ye}=i,Z=E?o.getPreApprovedNow:a?o.enableCardsButton:o.setupCardsButton;return r.jsxs(Xe,{children:[r.jsx(ze,{title:o.title[f],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:v==="medium-compact"||v==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),ue===!0?r.jsx(ve,{onCancelClick:()=>{Q(!1)},meetingUrl:e}):null,r.jsx(We,{windowSize:v,children:W===!0?r.jsxs(Qe,{children:[r.jsxs(Ke,{children:[r.jsx(Ge,{isApproved:Ce,creditAmount:we,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(ae,{cardPromoType:f,cashbackRate:P})]}),r.jsx(ne,{showEnableCardButton:a,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,isCheckingEnabled:l})]}):r.jsx(Je,{companyLegalName:s,cards:[],admins:j,cashbackRate:P,hasZeniFinopsRoles:fe,cardPromoType:f,isCheckingEnabled:l})}),W&&!(F||D)?r.jsxs(or,{windowSize:v,children:[r.jsx(Y,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:xe,"data-testid":ee("schedule-demo-button")}),r.jsx(qe,{windowSize:v,children:o.orText}),r.jsx(Y,{variant:"primary",label:Z,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||ye==="In-Progress",onClick:Z===o.getPreApprovedNow?ge:()=>d(f),"data-testid":ee("enable-card-button")})]}):null]})},He=({admins:e})=>{const s=e.flatMap(a=>a.user?.firstName+" "+a.user?.lastName).join(", "),i=$();return r.jsxs(mr,{windowSize:i,children:[r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Ae,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(N,{underline:!0,windowSize:i,children:o.noCardAssigned.tooltip})}),r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.post})]})},ne=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:i,isUnderReview:a,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const x=$();return r.jsx(ir,{windowSize:x,children:r.jsx(Le,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:a===!0||c===!0||h===!0?void 0:m===!0?o.terms.getPreApprovedNowTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&a===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(x)},cardPromoType:e,isCheckingEnabled:i})})},Ge=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:a,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const x=$(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,j=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(rr,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,U.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):a?o.promoBadgeText.underReview:c?o.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:x==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ye,{cardPromoType:s,hasContent:j!=null,hideBadge:i==null||s==="debit",windowSize:x,children:[a||c||m?null:r.jsx(yr,{}),r.jsx(er,{windowSize:x,children:j})]})]})},Je=({companyLegalName:e,cards:s,admins:i,cashbackRate:a,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const x=$(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[x==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(pr,{windowSize:x}):r.jsx(Oe,{cards:s,companyLegalName:e}),r.jsx(ae,{cardPromoType:m,cashbackRate:a}),c?null:r.jsx(He,{admins:i}),r.jsx(ne,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Oe=({cards:e,companyLegalName:s})=>{const i=J(),a=$();let c="",m;if(e.length===1){m=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;c=o.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else c=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(hr,{children:[m!=null?r.jsx(Ze,{width:t.sp5,height:t.sp5,style:{paddingTop:a==="small"?t.sp1:t.sp0},src:m.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Ie},loading:"lazy"}):null,r.jsx(gr,{windowSize:a,mode:i.mode,children:r.jsx(ur,{windowSize:a,children:c})})]})},re=({windowSize:e,cardPromoType:s})=>{let i=o.businessText;return s==="debit"&&(i=`${i} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Ve,{}):r.jsxs(ar,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(G,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ae=({cardPromoType:e,cashbackRate:s})=>{const i=$(),a=o.benefits;return r.jsxs(tr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(nr,{windowSize:i,children:[r.jsxs(B,{windowSize:i,children:[r.jsx(A,{children:r.jsx(lr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:a.item1.pre}),r.jsx(I,{windowSize:i,children:a.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(b,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?a.singleStarred:""}${a.item1.post}`})]})]}),r.jsxs(B,{windowSize:i,children:[r.jsx(A,{children:r.jsx(sr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:a.item2.pre}),r.jsx(I,{windowSize:i,children:a.item2.bold}),r.jsx(b,{windowSize:i,children:a.item2.post})]})]}),r.jsxs(B,{windowSize:i,children:[r.jsx(A,{children:r.jsx(cr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:a.item3.pre}),r.jsx(I,{windowSize:i,children:a.item3.bold}),r.jsx(b,{windowSize:i,children:a.item3.post})]})]}),r.jsxs(B,{windowSize:i,children:[r.jsx(A,{children:r.jsx(dr,{})}),r.jsxs(L,{children:[r.jsx(b,{windowSize:i,children:a.item4.pre}),r.jsx(I,{windowSize:i,children:a.item4.bold}),r.jsx(b,{windowSize:i,children:a.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Ve=()=>{const e=$(),s=J(),[i,a]=T.useState(0),[c,m]=T.useState(!1),h=o.businessText,x=`${h} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:x},{id:2,cardType:"debit",cardText:x},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];T.useEffect(()=>(c||(k=setInterval(()=>{a(l=>{const d=l+1;return d===w.length?(m(!0),0):d})},2e3)),()=>clearInterval(k)),[c,w.length]),T.useEffect(()=>{c&&k!=null&&clearInterval(k)},[c]);const j=(l,d)=>{switch((l-i+w.length)%w.length){case 0:return{transform:`translate(0,${d?"100%":0}) scale(1)`,zIndex:d?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${d?"80%":"5%"}) scale(0.75)`,zIndex:d?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};default:return}},P=l=>{const d=j(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},f=l=>{c||m(!0),a(l)};return r.jsxs(xr,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:w.map((l,d)=>r.jsxs(fr,{children:[r.jsx(ie,{isReflection:!1,style:{...j(d,!1)},onClick:()=>f(d),children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(G,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(G,{cardPromoType:l.cardType,cardText:l.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${l.id}`)]},l.id))}),c&&r.jsx(Ne,{numberOfDots:w.length,activeIndex:i,handleClick:a,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},Xe=n.div`
2
+ display: flex;
3
+ flex: 1 1 auto;
4
+ min-height: 100%;
5
+ flex-direction: column;
6
+ background-color: ${e=>e.theme.colors.grey4};
7
+ `,qe=n(Re)`
8
+ color: ${e=>e.theme.colors.hero};
9
+ `,Ke=n.div`
10
+ display: flex;
11
+ flex-direction: column;
12
+ align-items: center;
13
+ `,Qe=n.div`
14
+ display: flex;
15
+ flex-direction: column;
16
+ justify-content: space-between;
17
+ flex: 1;
18
+ width: 100%;
19
+ `,We=n.div`
20
+ padding-top: ${e=>g.containerPaddingTopBottom.valuePx(e.windowSize)};
21
+ padding-bottom: ${e=>g.containerPaddingTopBottom.valuePx(e.windowSize)};
22
+ text-align: center;
23
+ flex: 1;
24
+ display: flex;
25
+ flex-direction: column;
26
+ overflow-x: hidden;
27
+ `,se=n(ke)`
28
+ max-width: 927px;
29
+ margin: auto;
30
+ display: flex;
31
+ justify-content: center;
32
+ flex-wrap: wrap;
33
+ padding: ${t.sp7} ${t.sp0} ${t.sp0} ${t.sp0};
34
+ color: ${e=>e.theme.colors.primary};
35
+ `,de=n(Be)`
36
+ color: ${e=>e.theme.colors.primary};
37
+ margin: auto;
38
+ margin-top: ${t.sp2};
39
+ `,le=n(Pe)`
40
+ margin: auto;
41
+ max-width: 343px;
42
+ display: flex;
43
+ justify-content: center;
44
+ text-align: center;
45
+ flex-wrap: wrap;
46
+ padding: ${t.sp5} ${t.sp0} ${t.sp0} ${t.sp0};
47
+ color: ${e=>e.theme.colors.primary};
48
+ `,ce=n(O)`
49
+ max-width: 314px;
50
+ margin: auto;
51
+ color: ${e=>e.theme.colors.primary};
52
+ padding: 6px ${t.sp3} ${t.sp0} ${t.sp3};
53
+ text-align: center;
54
+ margin-top: 6px;
55
+ `,Ze=n.img`
56
+ border-radius: 50%;
57
+ justify-content: center;
58
+ color: ${e=>e.theme.colors.hero};
59
+ `,Ye=n.div`
60
+ display: flex;
61
+ flex-direction: row;
62
+ align-items: center;
63
+ justify-content: center;
64
+ position: relative;
65
+ overflow: hidden;
66
+ padding: ${e=>e.hasContent?`${t.sp2} ${t.sp3}`:t.sp0};
67
+ background-color: ${e=>e.theme.colors.grey3};
68
+ border-radius: 96px;
69
+ margin-top: ${t.sp4};
70
+ margin-left: ${e=>e.windowSize==="small"?t.sp3:"auto"};
71
+ margin-right: ${e=>e.windowSize==="small"?t.sp3:"auto"};
72
+ margin-bottom: ${e=>e.cardPromoType==="debit_and_credit"&&e.windowSize==="small"?t.sp0:t.sp6};
73
+ width: fit-content;
74
+ gap: ${t.sp1};
75
+ ${e=>e.hideBadge&&`
76
+ visibility: hidden;
77
+ `}
78
+ `,er=n(O)`
79
+ color: ${e=>e.theme.mode==="dark"?y.brandColorJade:y.brandColorSapphire};
80
+ text-align: ${e=>e.windowSize==="small"?"left":"center"};
81
+ ${e=>`${z.promoBadgeText.style(e.windowSize)}`};
82
+ span {
83
+ ${e=>`${z.promoBadgeTextBold.style(e.windowSize)}`};
84
+ }
85
+ `,rr=n.span``,te=n.span`
86
+ color: ${y.success};
87
+ `,tr=n.div`
88
+ display: flex;
89
+ gap: ${e=>g.midContainerGap.valuePx(e.windowSize)};
90
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
91
+ align-items: center;
92
+ justify-content: center;
93
+ `,ir=n.div`
94
+ display: flex;
95
+ flex-direction: column;
96
+ `,or=n.div`
97
+ border-top: 1px solid ${e=>e.theme.colors.grey3};
98
+ padding: ${t.sp2} ${t.sp3};
99
+ position: sticky;
100
+ bottom: 0;
101
+ left: 0;
102
+ right: 0;
103
+ z-index: 8;
104
+ display: flex;
105
+ justify-content: center;
106
+ align-items: center;
107
+ flex-direction: row;
108
+ row-gap: ${t.sp2};
109
+ background-color: ${e=>e.theme.colors.grey5};
110
+ gap: ${e=>g.buttonTrayGap.valuePx(e.windowSize)};
111
+ `,nr=n.div`
112
+ width: ${e=>e.windowSize==="small"?"auto":"288px"};
113
+ display: flex;
114
+ flex-direction: column;
115
+ margin-left: ${e=>g.uspContainerMarginX.valuePx(e.windowSize)};
116
+ margin-right: ${e=>g.uspContainerMarginX.valuePx(e.windowSize)};
117
+ z-index: 8;
118
+ `,ar=n.div`
119
+ display: flex;
120
+ justify-content: ${e=>e.windowSize==="small"?"center":"flex-start"};
121
+ min-height: ${e=>g.iconContainerMinHeight.valuePx(e.windowSize)};
122
+ align-items: center;
123
+ min-width: 480px;
124
+ `,B=n.div`
125
+ border-radius: ${t.sp12};
126
+ border: ${e=>`1px solid ${e.theme.colors.grey2}`};
127
+ padding: ${e=>e.windowSize==="small"?`${t.sp2} ${t.sp4} ${t.sp2} ${t.sp0}`:`${t.sp3} ${t.sp5} ${t.sp3} ${t.sp0}`};
128
+ background: ${e=>e.theme.colors.grey5};
129
+ position: relative;
130
+ margin-bottom: ${t.sp3};
131
+ display: flex;
132
+ align-items: center;
133
+ text-align: start;
134
+ width: ${e=>e.windowSize==="small"?"288px":"100%"};
135
+ min-height: ${e=>e.windowSize!=="small"?"83px":"44px"};
136
+ box-sizing: ${e=>e.windowSize==="small"?"unset":"border-box"};
137
+ `,b=n(_e)`
138
+ color: ${e=>e.theme.colors.champion};
139
+ ${e=>`${z.uspText.style(e.windowSize)}`};
140
+ `,I=n(Me)`
141
+ color: ${e=>e.theme.colors.champion};
142
+ ${e=>`${z.uspBoldText.style(e.windowSize)}`};
143
+ `,A=n.div``,L=n.div`
144
+ padding-left: ${t.sp3};
145
+ `,sr=n(R)`
146
+ color: ${y.graphColor16Dark};
147
+ `,dr=n(R)`
148
+ color: ${y.alert};
149
+ `,lr=n(R)`
150
+ color: ${y.graphColor11};
151
+ `,cr=n(R)`
152
+ color: ${y.success};
153
+ `,pr=n.div`
154
+ height: ${e=>g.emptySectionHeight.valuePx(e.windowSize)};
155
+ ${e=>e.windowSize==="small"?null:De`
156
+ margin-top: ${t.sp4};
157
+ margin-bottom: ${t.sp6};
158
+ `}
159
+ `,mr=n(O)`
160
+ color: ${e=>e.theme.colors.hero};
161
+ margin-top: ${e=>g.contactAdminContainerMarginTop.valuePx(e.windowSize)};
162
+ margin-bottom: ${e=>g.contactAdminContainerMarginBottom.valuePx(e.windowSize)};
163
+ margin-left: ${e=>g.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
164
+ margin-right: ${e=>g.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
165
+ text-align: center;
166
+ `,N=n(Ee)`
167
+ ${e=>`${z.contactAdmin.style(e.windowSize)}`};
168
+ text-decoration: ${e=>e.underline?"underline":"none"};
169
+ cursor: ${e=>e.underline?"default":null};
170
+ `,gr=n.div`
171
+ color: ${e=>e.mode==="dark"?e.theme.colors.brandColorJade:e.theme.colors.brandColorSapphire};
172
+ `,hr=n.div`
173
+ background-color: ${e=>e.theme.colors.grey3};
174
+ padding: ${t.sp2} ${t.sp3};
175
+ display: flex;
176
+ gap: ${t.sp2};
177
+ margin: auto;
178
+ max-width: fit-content;
179
+ border-radius: 96px;
180
+ margin-top: ${t.sp4};
181
+ margin-bottom: ${t.sp6};
182
+ `,ur=n.span`
183
+ ${e=>`${z.cardsContent.style(e.windowSize)}`};
184
+ `,xr=n.div`
185
+ display: flex;
186
+ flex-direction: column;
187
+ min-height: ${e=>g.carouselHeight.valuePx(e.windowSize)};
188
+ min-width: 480px;
189
+ position: relative;
190
+ `,wr=n.div`
191
+ position: relative;
192
+ margin-top: ${e=>g.carouselMarginTop.valuePx(e.windowSize)};
193
+ margin-left: ${e=>g.carouselMarginLeft.valuePx(e.windowSize)};
194
+ `,fr=n.div`
195
+ position: relative;
196
+ overflow: visible;
197
+ `,ie=n.div`
198
+ position: absolute;
199
+ ${e=>e.isReflection&&`
200
+ background-color: ${e.theme.colors.grey4};
201
+ clip-path: inset(16% 0 0 0);
202
+ `}
203
+ `,Cr=Fe`
204
+ 0% {
205
+ left: -${t.sp6};
206
+ }
207
+ 50% {
208
+ left: calc(100% + ${t.sp6});
209
+ }
210
+ 100% {
211
+ left: calc(100% + ${t.sp6});
212
+ }
213
+ `,yr=n.div`
214
+ position: absolute;
215
+ background:
216
+ ${y.promoCardGradient1Strong}, ${y.promoCardGradient2Strong};
217
+ width: ${t.sp10};
218
+ z-index: 3;
219
+ height: 100%;
220
+ transform: skew(15deg);
221
+ animation: ${Cr} 4s linear infinite;
222
+ `;export{Je as ChargeCardPromoUserContent,_r as default};
@@ -1,4 +1,4 @@
1
- import{e as Oe,J as je,a8 as Ue,aR as M,a9 as Be,cF as _e,aW as G,V as t,fa as ze,p as Re,y as r,bC as $e,T as Le,ac as We,ft as He,dP as Ne,fu as qe,o as B,b as Me,iM as J,bx as Ge,aS as Je,fw as Qe,O as Ke,c as o,al as Xe}from"./index-CRNmezJu.js";import{a as f}from"./sentry-Dla7mstv.js";import{n as w}from"./mui-mhzAEcDs.js";import{bJ as Ye}from"./zeni-epic-state-CSmiPBaP.js";import{x as Ze}from"./LabeledControlledCheckBoxField-BxXnpjp--Dg3HIXbL.js";import{g as et}from"./UploadAdditionalDocumentOverlay-BYrAIUiK-zdW8Yium.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="09ac2798-0582-44aa-8c83-32f1b5acee32",e._sentryDebugIdIdentifier="sentry-dbid-09ac2798-0582-44aa-8c83-32f1b5acee32")}catch{}})();const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,o[5],o[5]),sectionRowGap:new r(o[5],o[9],o[9]),iconWidthHeight:new r(20,o[4]),subTitlePaddingTop:new r(12,o[3]),subTitlePaddingBottom:new r(o[3],o[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(o[1],o[0])},Q="chargeCardSetUpPage",m="payAccount",{commonSetUp:tt,spendManagement:nt}=Ke.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:g}=Y,{setUp:_}=tt,wt=({autoPayThreshold:e,isDisabled:d,meetingUrl:P,isEarlyPayEnabled:h,chargeCardSetUpView:a,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:ae,onFetchLinkTokenClick:oe,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:fe,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:me,onClickMenuIcon:he,onEnableChargeCardSuccess:x,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:we,onSignUpClick:Pe})=>{const y=Oe(),i=je(),E=Ue().analytics,[A,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:z,isRefreshingViewInBackground:xe,updateStatus:u,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:I,companyDebitCardInfo:R,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:$}=a,L=M(C),k=M(u.fetchState),D=Be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>K(a),[a]),values:K(a)}),ve=D.handleSubmit(se),Ee=async(S,T)=>{const n=T[m];if(S.includes(m))if(S.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const p=$.find(U=>U.id===n.fundingAccount.selectedOption);p!=null&&pe(n.fundingAccount.selectedOption,p.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const p=n.account.allOptions.find(U=>U.value===n.account.selectedOption);p!=null&&typeof p.label=="string"&&E.trackConnectBankLink(p.value,p.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else S.includes("enableAutoPay")&&n.enableAutoPay!=null&&fe(n.enableAutoPay)};f.useEffect(()=>{const S=D.watch((T,{name:n})=>{n!=null&&T!=null&&_e(()=>Ee(n,T))});return()=>{S.unsubscribe()}}),f.useEffect(()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),A&&L==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,L]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,k,u.fetchState]);const F=I?.isChargeCardEnabled===!0,V=R?.isDebitCardEnabled===!0,W=R?.isDebitCardTOSAccepted===!0,H=I?.isChargeCardTOSAccepted===!0,N=z?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ye(l?.providerVerificationStatus?.code??""),O=v?N:N&&Ie,De=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,k,u.fetchState]);const j=v?O&&!V&&W:ie?O&&!F&&H:O&&!(F&&V)&&H&&W,Fe=j?g.setupSubTitleNotEnabled:g.setupSubTitle,q=y.mode==="light"?new G(y.colors.brandColorJadeLight):new G(y.colors.brandColorJadeDark),Ve=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):re?.()};return t.jsxs(at,{children:[t.jsx(ze,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>b(!1),style:{backgroundColor:Re.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:u,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:we})}),t.jsx($e,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!F&&!V&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(ot,{windowSize:i,children:Fe}),De?t.jsx(ct,{children:t.jsx(Le,{size:"ExtraLarge",start:!0})}):t.jsx(We,{...D,children:t.jsx("form",{id:X(Q),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(He,{onClick:Ve,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(Ne,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:q},status:z?.businessVerificationStatus,isLoading:xe,isActiveWhileLoading:!0}),v?null:t.jsx(qe,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:$,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:m,isDisabled:d,onFetchLinkTokenClick:oe,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:g.setupAccountSectionTitle,onEstablishConnectionSuccess:me,icon:{element:t.jsx(Ge,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:q},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:Pe,pageName:g.pageName,accountsPromoConfig:ae,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:J(m,"enableAutoPay"),checkBoxValue:J(m,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),j?t.jsx(Je,{formId:X(Q),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:d!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Qe,{isFooterRendered:j,meetingUrl:P,analytics:E,productType:"charge_cards"})]})},K=e=>{const{allBankAccounts:d,allFundingAccounts:P,primaryFundingAccount:h}=e;return{[m]:{fundingAccount:{selectedOption:h?.id,allOptions:P.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:d.map(a=>({label:a.accountName,value:a.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},X=e=>`${e}_form`,it=w.div`
1
+ import{g as je,Q as Oe,a8 as Be,aQ as M,a9 as Ue,cE as _e,aV as Q,V as t,f9 as $e,p as ze,y as r,bB as Re,T as Le,ac as We,fs as Ne,dO as qe,ft as He,o as U,b as Me,iL as G,bw as Qe,aR as Ge,fv as Je,F as Ke,u as a,al as Xe}from"./index-AqGiWrum.js";import{a as f}from"./sentry-CTKU7CLc.js";import{n as w}from"./mui-C_Pjuwl5.js";import{bJ as Ye}from"./zeni-epic-state-Cl3KIlic.js";import{x as Ze}from"./LabeledControlledCheckBoxField-CrOtltBs-BgazwPA0.js";import{g as et}from"./UploadAdditionalDocumentOverlay-ucIA0by--ChniuyNy.js";import"./liveblocks-D8QW-YrN.js";import"./core-mVc5WAnu.js";import"./recharts-BGj_NTVO.js";import"./lottie-CoVfqInY.js";import"./analytics-YsywGP0I.js";import"./lexical-D1NyDz9G.js";import"./utils-DJxCyxGL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="65ec607c-3d54-42a1-96b2-485f80065300",e._sentryDebugIdIdentifier="sentry-dbid-65ec607c-3d54-42a1-96b2-485f80065300")}catch{}})();const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,a[5],a[5]),sectionRowGap:new r(a[5],a[9],a[9]),iconWidthHeight:new r(20,a[4]),subTitlePaddingTop:new r(12,a[3]),subTitlePaddingBottom:new r(a[3],a[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(a[1],a[0])},J="chargeCardSetUpPage",m="payAccount",{commonSetUp:tt,spendManagement:nt}=Ke.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:g}=Y,{setUp:_}=tt,wt=({autoPayThreshold:e,isDisabled:d,meetingUrl:P,isEarlyPayEnabled:h,chargeCardSetUpView:o,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:oe,onFetchLinkTokenClick:ae,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:fe,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:me,onClickMenuIcon:he,onEnableChargeCardSuccess:x,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:we,onSignUpClick:Pe})=>{const y=je(),i=Oe(),E=Be().analytics,[A,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:$,isRefreshingViewInBackground:xe,updateStatus:u,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:I,companyDebitCardInfo:z,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:R}=o,L=M(C),k=M(u.fetchState),V=Ue({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>K(o),[o]),values:K(o)}),ve=V.handleSubmit(se),Ee=async(S,T)=>{const n=T[m];if(S.includes(m))if(S.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const p=R.find(B=>B.id===n.fundingAccount.selectedOption);p!=null&&pe(n.fundingAccount.selectedOption,p.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const p=n.account.allOptions.find(B=>B.value===n.account.selectedOption);p!=null&&typeof p.label=="string"&&E.trackConnectBankLink(p.value,p.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else S.includes("enableAutoPay")&&n.enableAutoPay!=null&&fe(n.enableAutoPay)};f.useEffect(()=>{const S=V.watch((T,{name:n})=>{n!=null&&T!=null&&_e(()=>Ee(n,T))});return()=>{S.unsubscribe()}}),f.useEffect(()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),A&&L==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,L]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,k,u.fetchState]);const D=I?.isChargeCardEnabled===!0,F=z?.isDebitCardEnabled===!0,W=z?.isDebitCardTOSAccepted===!0,N=I?.isChargeCardTOSAccepted===!0,q=$?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ye(l?.providerVerificationStatus?.code??""),j=v?q:q&&Ie,Ve=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,k,u.fetchState]);const O=v?j&&!F&&W:ie?j&&!D&&N:j&&!(D&&F)&&N&&W,De=O?g.setupSubTitleNotEnabled:g.setupSubTitle,H=y.mode==="light"?new Q(y.colors.brandColorJadeLight):new Q(y.colors.brandColorJadeDark),Fe=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):re?.()};return t.jsxs(ot,{children:[t.jsx($e,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>b(!1),style:{backgroundColor:ze.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:u,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:we})}),t.jsx(Re,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!D&&!F&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(at,{windowSize:i,children:De}),Ve?t.jsx(ct,{children:t.jsx(Le,{size:"ExtraLarge",start:!0})}):t.jsx(We,{...V,children:t.jsx("form",{id:X(J),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Ne,{onClick:Fe,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(qe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:$?.businessVerificationStatus,isLoading:xe,isActiveWhileLoading:!0}),v?null:t.jsx(He,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:R,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:m,isDisabled:d,onFetchLinkTokenClick:ae,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:g.setupAccountSectionTitle,onEstablishConnectionSuccess:me,icon:{element:t.jsx(Qe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:Pe,pageName:g.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:U.sp4,marginTop:U.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:G(m,"enableAutoPay"),checkBoxValue:G(m,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),O?t.jsx(Ge,{formId:X(J),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:d!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${U.sp3}`}}):null,t.jsx(Je,{isFooterRendered:O,meetingUrl:P,analytics:E,productType:"charge_cards"})]})},K=e=>{const{allBankAccounts:d,allFundingAccounts:P,primaryFundingAccount:h}=e;return{[m]:{fundingAccount:{selectedOption:h?.id,allOptions:P.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:d.map(o=>({label:o.accountName,value:o.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},X=e=>`${e}_form`,it=w.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -6,14 +6,14 @@ import{e as Oe,J as je,a8 as Ue,aR as M,a9 as Be,cF as _e,aW as G,V as t,fa as z
6
6
  flex-direction: column;
7
7
  align-items: center;
8
8
  row-gap: ${e=>c.setupDetailsRowGap.valuePx(e.windowSize)};
9
- `,at=w.div`
9
+ `,ot=w.div`
10
10
  display: flex;
11
11
  min-height: 100%;
12
12
  height: 100%;
13
13
  flex-direction: column;
14
14
  width: 100%;
15
15
  background-color: ${e=>e.theme.colors.grey4};
16
- `,ot=w(Xe)`
16
+ `,at=w(Xe)`
17
17
  color: ${e=>e.theme.colors.hero};
18
18
  display: flex;
19
19
  justify-content: center;