@zeniai/web-app-ui 4.14.30-dev → 4.14.30-qa

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 (279) hide show
  1. package/dist/assets/{ACHDetailsPage-CQdbfxHV-BW88pIYa.js → ACHDetailsPage-CQdbfxHV-CVfdxX3S.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-jyNXVGMj-Bs4Wcfnt.js → AIPerformancePage-jyNXVGMj-Df3oatFx.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-CiPtog_o-B4btRIXv.js → AccountInfoPage-CiPtog_o-DPWdb5xr.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-Bj0kaRHv-CjMeZGo_.js → AccountInfoPageContent-Bj0kaRHv-B0-iD3mG.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-EbQpyRJx-DeA2eRRt.js → AccountLockedInfoModal-EbQpyRJx-CBjiURZ4.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CK1QV13E-BSUxm7rf.js → AccountReconDetailsDrawerPage-CK1QV13E-DZmItK8g.js} +1 -1
  7. package/dist/assets/{AccountRow-B3Sz6a-V-GlNhkavB.js → AccountRow-B3Sz6a-V-CTAgoDt8.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-DJtz56-u-D5uyYQuY.js → AccountsPromoCardStack-DJtz56-u-DZZMgyeG.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-BDtxj9h6-Xx-rQDHp.js → AddAddressForCardDrawer-BDtxj9h6-CGRCP-Ov.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-Czepun8f-MGSdB8OM.js → AddToWalletPage-Czepun8f-BSrXEfN0.js} +1 -1
  11. package/dist/assets/{AddressRoutes-CmvRhhab.js → AddressRoutes-TFWvRoK1.js} +1 -1
  12. package/dist/assets/{AddressScreen-Cb00RwYZ.js → AddressScreen-TV5gX_gl.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-DzAVDq_i-BP-WG6Wy.js → AgingReportsPage-DzAVDq_i-ym_LOlxy.js} +1 -1
  14. package/dist/assets/{AiCfoScreen-CZVtCrsQ.js → AiCfoScreen-D6K-vpzr.js} +1 -1
  15. package/dist/assets/{AllUserItems-BEoRQT-v-9OnCgvS-.js → AllUserItems-BEoRQT-v-B0L7dc_f.js} +1 -1
  16. package/dist/assets/{ApAgingDetailPage-55JdoIHh-kk28-9yG.js → ApAgingDetailPage-55JdoIHh-DrarMtyY.js} +1 -1
  17. package/dist/assets/{AppBasePage-CLye29uw-B08L49eb.js → AppBasePage-CLye29uw-XKxIMpL1.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-CDawrmfz-DqagnYqP.js → AppDrawerContent-CDawrmfz-CIsX5yBE.js} +1 -1
  19. package/dist/assets/{ApprovalRulesSettingsPage-BHUZdWCO-tMTnXaFd.js → ApprovalRulesSettingsPage-BHUZdWCO-Dwb34rZQ.js} +1 -1
  20. package/dist/assets/{ArAgingChart-DeL9nNI7-Bj8y0fT6.js → ArAgingChart-DeL9nNI7-jiARVqmw.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-CuG65EQs-CXt16x8B.js → ArAgingDetailPage-CuG65EQs-DJsQVyGf.js} +1 -1
  22. package/dist/assets/{AttachmentView-C5anq6-B-BkQi2I92.js → AttachmentView-C5anq6-B-B0oKrwit.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-1PK_fwhP-BOcx7wZs.js → BalancesInsightWithToolTip-1PK_fwhP-DTycoTBO.js} +1 -1
  24. package/dist/assets/{BankAccountSection-BUJoSOk8-BG4ByPDH.js → BankAccountSection-BUJoSOk8-CktP5_6B.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-BQaoV2yQ-BLOJsai8.js → BankAccountWarningSection-BQaoV2yQ-D2dPrb3a.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-DRDS5xzS-CGYqJS-4.js → BankConnectionsSettingsPage-DRDS5xzS-sJm12Xpi.js} +1 -1
  27. package/dist/assets/{BillDetailPage-CtVVaqTN-BwEQZwAf.js → BillDetailPage-CtVVaqTN-Cs2maBN6.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-DwRul1Fq.js → BillPayApprovalRoutes-BcknH4As.js} +1 -1
  29. package/dist/assets/{BillPayApprovalRuleDetailPage-6GHCsDkX-ClsaXk5H.js → BillPayApprovalRuleDetailPage-6GHCsDkX-BhEokdj1.js} +1 -1
  30. package/dist/assets/{BillPayApprovalRulesPage-QKjq-qVP-DTJcefrH.js → BillPayApprovalRulesPage-QKjq-qVP-bPrJjJ_n.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-_n9uoXTN-DW34nsnh.js → BillPayPromoPage-_n9uoXTN-C-ItO23h.js} +1 -1
  32. package/dist/assets/{BillPayRoutes-D22Q6pQL.js → BillPayRoutes-CrujOQ7A.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-DNYX24VA-DLV9gKNt.js → BillPaySetUpPage-DNYX24VA-xlmRW4oi.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-Btv3yiNs-M_OusRvc.js → BillingSettingsPage-Btv3yiNs-8WC50UDB.js} +1 -1
  35. package/dist/assets/{BillsBulkReviewDrawerPage-BiLLeGke-Bs5f4SMl.js → BillsBulkReviewDrawerPage-BiLLeGke-JyRoZ7s-.js} +1 -1
  36. package/dist/assets/{BoxItem-Dqp4SNlI-EUjyx5Zm.js → BoxItem-Dqp4SNlI-CnJYfmyU.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-_8Wg_S5G-ChiNdD4I.js → BusinessVerificationPage-_8Wg_S5G-CBDfKOCi.js} +1 -1
  38. package/dist/assets/{BusinessVerificationPageScreen-B_00ICvM.js → BusinessVerificationPageScreen-BSkh5puj.js} +1 -1
  39. package/dist/assets/{BusyIndication-BZLVwIo8-6s8wSi7T.js → BusyIndication-BZLVwIo8-D7x09Syx.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-12zyW5qQ-c22fv1fM.js → CardNumberSubText-12zyW5qQ-CZArd4_p.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-B8-TDuv8-Dd6aEuJQ.js → CashbackDetailPage-B8-TDuv8-BtBdmaco.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-Bdz5L2ko-CaBbXfBZ.js → ChargeCardDetailPage-Bdz5L2ko-B9HW8VJu.js} +1 -1
  43. package/dist/assets/{ChargeCardListPage-EuJ1VXck-BU5r2hWM.js → ChargeCardListPage-EuJ1VXck-C9ILrDfC.js} +1 -1
  44. package/dist/assets/{ChargeCardListTable-SgjwYd8W-EVdaCbR4.js → ChargeCardListTable-SgjwYd8W-D2X3nHhv.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-BC2DkmZT--xdPwk1t.js → ChargeCardPaymentHistoryPage-BC2DkmZT-z-BJ1TRl.js} +1 -1
  46. package/dist/assets/{ChargeCardPromoPage-C-z0xtuN-qFHF_adM.js → ChargeCardPromoPage-C-z0xtuN-Cj9Xh0NF.js} +1 -1
  47. package/dist/assets/{ChargeCardRoutes-DV8TKacG.js → ChargeCardRoutes-DtXgeUrQ.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-ByLoLZE_-DIekUpHc.js → ChargeCardSetupPage-ByLoLZE_-D5yhBe12.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-C4XdqPO1-BSM3bO35.js → ChargeCardStatementsPage-C4XdqPO1-B4JvhC1B.js} +1 -1
  50. package/dist/assets/{CheckDepositDrawerPage-D5X61CKc-CyEf-jUu.js → CheckDepositDrawerPage-D5X61CKc-DCVEIWOd.js} +1 -1
  51. package/dist/assets/{CollapsableReportTable-D7zD4-h0-CdsTnLhf.js → CollapsableReportTable-D7zD4-h0-CXEJdn3k.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-w86_5FXJ-CDmgqN3N.js → CompanyOfficerDetailsSection-w86_5FXJ-BVS8U2VI.js} +1 -1
  53. package/dist/assets/{CompanyPassportCard-tpE1lXug-CLl-IbcU.js → CompanyPassportCard-tpE1lXug-aG1e_v_p.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-bND99CJN-D7hjvVvQ.js → CompanyPassportPage-bND99CJN-51EM3BS8.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-DR-zdvAJ.js → CompanyPassportScreen-DNHzvh3T.js} +1 -1
  56. package/dist/assets/{CompleteProfile-B5W07hcs-mOeGRg8M.js → CompleteProfile-B5W07hcs-BYS2Cw7x.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-C0DFgWJj-DC0n_rE6.js → ConfettiBurst-C0DFgWJj-BGxc90V2.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-D4VaoAIy.js → ConnectionAuthScreen-C1ACdx6M.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-bMF_z_bc.js → ConstrainedInnerElement-CgdnMeoA-C96GWvku.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-CrQh8JCh-BX5wTD-m.js → CreateOrEditVendorPage-CrQh8JCh-CdARK_ay.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-BoVmLCHh-Blea7AvV.js → CreditCardPaymentDrawerPage-BoVmLCHh-ClmStU3s.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-D2azwi1T-CSrQI1j0.js → CurrencySelectField-D2azwi1T-Yce6ywvM.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-DxuEGe6X-BPuiwcIL.js → CustomerOnboardingActivationPage-DxuEGe6X-DOVYYini.js} +1 -1
  64. package/dist/assets/{CustomerOnboardingAuthScreen-DLH-rYdF.js → CustomerOnboardingAuthScreen-voIng-Gb.js} +1 -1
  65. package/dist/assets/CustomerOnboardingContainerPage-DS0-65s7-CbCO9XOL.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DRGKainD-Y7JaILNu.js → CustomerOnboardingDetailPageSkeleton-DRGKainD-DRHsfYAC.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-C--jDBQq-BgvTeh9S.js → CustomerOnboardingNoStepsPage-C--jDBQq-D1RWdf29.js} +1 -1
  68. package/dist/assets/{CustomerOnboardingPage-BXZSl2im-DDrc-wX_.js → CustomerOnboardingPage-BXZSl2im-CdR09mXQ.js} +1 -1
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-BJmYX0kI-C3qX-GBN.js → CustomerOnboardingProductSuitePage-BJmYX0kI-DgmtQLkO.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-DqfIHwc7.js → CustomerOnboardingRoutes-BNk50EBa.js} +1 -1
  71. package/dist/assets/{Dashboard-yhqyXPbZ-CPcltsfF.js → Dashboard-yhqyXPbZ-DD3l1FY2.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-BG4StCjY-CzFGaujV.js → DashboardReportPage-BG4StCjY-BqArxOAD.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-Bawz4pw0.js → DashboardRoutes-sZ-hP0Lz.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-DsWKmIXY-BuOmk2Nk.js → DashboardSidebarBackgroundAnimation-DsWKmIXY-BKVS4wpr.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-B10KVon4.js → DefaultTenantHome-BZ1C0pHF.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-5ZEPnNxa-3AfijWCl.js → DepositAccTransactionItem-5ZEPnNxa-5QBvNOk0.js} +1 -1
  77. package/dist/assets/{DepositAccTransactionListPage-BR8d0Kun-DVyGTLJU.js → DepositAccTransactionListPage-BR8d0Kun-DoTQr_rp.js} +1 -1
  78. package/dist/assets/{DomesticWireDetailScreen-CMEoUywc.js → DomesticWireDetailScreen-H_WuL4rG.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-wGIWvhgQ-CmjPpsLr.js → DomesticWireDetailsPage-wGIWvhgQ-uEZDY48j.js} +1 -1
  80. package/dist/assets/{DownloadOverlay-SLvxfa6B-CQ7BxjF9.js → DownloadOverlay-SLvxfa6B-BbI1muq1.js} +1 -1
  81. package/dist/assets/{DrawerPage-CFdTV10k-BenpSUGv.js → DrawerPage-CFdTV10k-BDAq-J1m.js} +1 -1
  82. package/dist/assets/{DrawerScreen-B7BWNi51.js → DrawerScreen-DokbcyFi.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-C-Y62PJ0-BgijqRCf.js → EditPeoplePage-C-Y62PJ0-OR5daMys.js} +1 -1
  84. package/dist/assets/{EditReimbursementDetailPage-BYpXof8e-CdyZTm2g.js → EditReimbursementDetailPage-BYpXof8e-DpqR0TKa.js} +1 -1
  85. package/dist/assets/{EntityDetailPage-CgDHg6g5-B_vQblwz.js → EntityDetailPage-CgDHg6g5-DEy7q7j7.js} +1 -1
  86. package/dist/assets/{EntityDetailRoutes-nFrPna9t.js → EntityDetailRoutes-DPf_I5PV.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-B2uG3-Zh-DoF2hAYB.js → EntitySummarySection-B2uG3-Zh-BNN-XEhG.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-CrtNuarm-C8tGkYQU.js → ExpenseAutomationOverviewPage-CrtNuarm-DCl80aVX.js} +1 -1
  89. package/dist/assets/{ExpenseAutomationPage-CWPnIMSu-BUnHNcGe.js → ExpenseAutomationPage-CWPnIMSu-DYb4-i2t.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-DxRmXEnL.js → ExpenseAutomationRoutes-DUWDjNay.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-CsI_DUc6-BKAOKKa9.js → ExpressPayPage-CsI_DUc6-DXAWujAE.js} +1 -1
  92. package/dist/assets/{FeaturePreviewPage-B67a68N9-BPSn99tM.js → FeaturePreviewPage-B67a68N9-D61ej93i.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-D_cOMPjM.js → FeaturePreviewScreen-Bcvg8Bfv.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-CgjzMm02-DPMc3VYJ.js → FollowStepsSection-CgjzMm02-glrhNO5E.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-CIfK-0rd-F3X4MQ4k.js → GlobalReviewListPage-CIfK-0rd-COml45hA.js} +1 -1
  96. package/dist/assets/{InformationCardStack-qKld10kr-IVC5wYc5.js → InformationCardStack-qKld10kr-0nHm6M6u.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-Bbh77o6f-Dr_8r9pW.js → InsightsCardStack-Bbh77o6f-D3KyjkmI.js} +1 -1
  98. package/dist/assets/{InsightsSection-DgfCOO4F-rd7xZxVI.js → InsightsSection-DgfCOO4F-D4slzBMJ.js} +1 -1
  99. package/dist/assets/{IntegrationsSettingsPage-BRQFeOLt-2BecY83T.js → IntegrationsSettingsPage-BRQFeOLt-PsXcQlIc.js} +1 -1
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-DPemNncS-Datvi8oR.js → InternationalWireSwiftDetailsPage-DPemNncS-DLnjaRZK.js} +1 -1
  101. package/dist/assets/{InternationalWireVerificationPage-BOxXfIY5-D1lMmBlP.js → InternationalWireVerificationPage-BOxXfIY5-B_1WnyJ0.js} +1 -1
  102. package/dist/assets/{InviteFormPage-BbbPCdh--Cb0-_CQ6.js → InviteFormPage-BbbPCdh--NZBdztJE.js} +1 -1
  103. package/dist/assets/{InvitePageListView-DqfrAulo-BtCqgsIl.js → InvitePageListView-DqfrAulo-DhRBOiF7.js} +1 -1
  104. package/dist/assets/{InvitePeoplePage-CgTpZp4M-CYe0nmg8.js → InvitePeoplePage-CgTpZp4M-BUUsiiJF.js} +1 -1
  105. package/dist/assets/{InvoiceUploadSection-DZOzTShz-BFwyUvOT.js → InvoiceUploadSection-DZOzTShz-CcOswv0c.js} +1 -1
  106. package/dist/assets/{IssueChargeCardPage-x6dLcd-P-D7R8buXv.js → IssueChargeCardPage-x6dLcd-P-w04y_5jk.js} +1 -1
  107. package/dist/assets/{LabeledAddressValue-CY4Fn72d-VdKSkT_l.js → LabeledAddressValue-CY4Fn72d-eGI6rz6c.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-D47ofJFV-CGqdgTnp.js → LabeledAddressValueField-D47ofJFV-vxJBVafU.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-C_c8Rs-i-Cz1fNsx_.js → LabeledControlledCheckBoxField-C_c8Rs-i-BHT9Wulx.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-vRw9drBe-Bw1loTny.js → LabeledCountryMultiSelectField-vRw9drBe-B76tRzel.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-CdF97ljM-DTrzefeb.js → LabeledCreatableSingleSelectField-CdF97ljM-CAYzF-3Y.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-Dn25Ru1C-CLM-i9xW.js → LabeledDocumentField-Dn25Ru1C-B_WMp98N.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-C2sZjA-q-Bkuc_5w_.js → LabeledDropDownFormattedTextField-C2sZjA-q-Ct_5ILId.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-DzAdekQn-BkQ7kdJx.js → LabeledEmailInputField-DzAdekQn-C8rbJEKG.js} +1 -1
  115. package/dist/assets/{LabeledNameField-Dxx0xwMv-DBRkdNqp.js → LabeledNameField-Dxx0xwMv-q011DeE8.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-EO8TA_z_-C26qdLJU.js → LabeledSingleSelectField-EO8TA_z_-C5J3CIRA.js} +1 -1
  117. package/dist/assets/{LabeledText-Bo7B-LrF-DECCi3EJ.js → LabeledText-Bo7B-LrF-XkdNglCy.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DD11_Map-ZtH1v-68.js → LabeledUserSingleSelectWithSubtitlesField-DD11_Map-Cz77QBp-.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-BJ99uBt1-DGvakh0f.js → LabeledZeniRolesDropDownField-BJ99uBt1-DRxN007k.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-BiDoUKQW-xgKDBdnj.js → LinkJETransactionPage-BiDoUKQW-DfQfBCux.js} +1 -1
  121. package/dist/assets/{LockCardPage-B1QOSByp-BfsUhZIZ.js → LockCardPage-B1QOSByp-DoXf8Ddb.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-Bl_PaIUx-yOClgIGf.js → LowBalancePopup-Bl_PaIUx-Cz8COji5.js} +1 -1
  123. package/dist/assets/{MagicLinkACHDetailsPage-l76_Y3sO-DBz5GRKZ.js → MagicLinkACHDetailsPage-l76_Y3sO-BRaxCag1.js} +1 -1
  124. package/dist/assets/{MagicLinkDomesticWireDetailsPage-D_z_Q-jz-DriIOIxl.js → MagicLinkDomesticWireDetailsPage-D_z_Q-jz-C4Uhpu4B.js} +1 -1
  125. package/dist/assets/{MagicLinkInternationalWireDetailsPage-D276lsq_-ColrMYZA.js → MagicLinkInternationalWireDetailsPage-D276lsq_-BhCxcHkI.js} +1 -1
  126. package/dist/assets/{MagicLinkRoutes-B-WHuq25.js → MagicLinkRoutes-26mPfcBZ.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-BBwmXYDm.js → MagicLinkSignInScreen-BZrsQ5lk.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-CuL-7CWN-C2vVBJ4S.js → MagicLinkSuccessPage-CuL-7CWN-CPURwwOW.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-RYhrN820-BbeWYlVu.js → MagicLinkTitleSection-RYhrN820-C7Vcy8B4.js} +1 -1
  130. package/dist/assets/{MailingDetailsSection-D9_I-DTk-Cdb1WRS_.js → MailingDetailsSection-D9_I-DTk-CH2kzcO6.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-CTcTm5tx.js → MobileAppDrawer-CVmbFUtl.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-5MZl4h9B-BympoCwa.js → MoreMenuButton-5MZl4h9B-zFBR8G0C.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-CBw6kNsm-DlddyW1w.js → MyBankConnectionsSettingsPage-CBw6kNsm-CLFKHbI6.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-BC4YjZtP-DfpXnRCt.js → MyPendingActivationChargeCardListPage-BC4YjZtP-DazHEsal.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-DZ5M2BUN-CQ7zk2gg.js → MyProfileSettingsPage-DZ5M2BUN-CgmWIcfU.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-C6FiaLu5-BVvTIBUE.js → NavBarWithPicker-C6FiaLu5-CpPmiX85.js} +1 -1
  137. package/dist/assets/{NavigationArrow-BnAgR0wH-BYYktF7B.js → NavigationArrow-BnAgR0wH-BHMKW5N7.js} +1 -1
  138. package/dist/assets/{NavigationDots-WUDG_g8M-CSwlLBTM.js → NavigationDots-WUDG_g8M-DDdWfUW3.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-gAsCusVw-CA6lhup4.js → NewGlobalMerchantPage-gAsCusVw-Dq-IWGpb.js} +1 -1
  140. package/dist/assets/{NoDataChart-BBYUjdKn-CaszePO0.js → NoDataChart-BBYUjdKn-CRdzJbNp.js} +1 -1
  141. package/dist/assets/{NoDataTable-D3750d25-CC_2gGkK.js → NoDataTable-D3750d25-DG2oQDdM.js} +1 -1
  142. package/dist/assets/{NotFoundPage-C4D8Rn9E--AJk-xer.js → NotFoundPage-C4D8Rn9E-CwNmDrN1.js} +1 -1
  143. package/dist/assets/{NotFoundScreen-SRDW4_mE.js → NotFoundScreen-B8XFlejE.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-BSrkx0LD.js → NotificationRoutes-N8MRrxNI.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-CD-t91ia-DJoX_UtT.js → NotificationSettingsPage-CD-t91ia-m4MxTTW4.js} +1 -1
  146. package/dist/assets/{NotificationsListConfig-C7JSE-eQ-DyT-ZhYk.js → NotificationsListConfig-C7JSE-eQ-KxVFUV3z.js} +1 -1
  147. package/dist/assets/{NotificationsPage-Be1v8niA-BlgDo9nE.js → NotificationsPage-Be1v8niA-VHkbcX-a.js} +1 -1
  148. package/dist/assets/{OpExByVendorPage-D1f1lQbs-BnyzfFJz.js → OpExByVendorPage-D1f1lQbs-DLXANeGq.js} +1 -1
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-DTorHW75.js → OverlayContainerPage-BG9y5C0t-B0J4P0vh.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-DIYb7BWp-B3vKwRhN.js → PandLWithForecastPage-DIYb7BWp-eRZ2xhPy.js} +1 -1
  151. package/dist/assets/{PandLWithForecastRoutes-CsL0r0I3.js → PandLWithForecastRoutes-DV3lwMtf.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-tGkjxbjY-CHrQD7Oe.js → PaymentAccountSetupBillingAddressSection-tGkjxbjY-DHB-KR0X.js} +1 -1
  153. package/dist/assets/{PeoplePage-xwAOX4Jk-BnzId5aB.js → PeoplePage-xwAOX4Jk-cobVcrYv.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-D-yY-A49.js → PeopleRoutes-0VPcCQMG.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-DUxeAB_T.js → PerformanceRoutes-DWL6I_M2.js} +1 -1
  156. package/dist/assets/{ProductsCarousel-OHbYasaa-Bps9QCYO.js → ProductsCarousel-OHbYasaa-DyO10mDE.js} +1 -1
  157. package/dist/assets/{PromoBaseCards-B_0dccCZ-BeKRkhdX.js → PromoBaseCards-B_0dccCZ-Cll52Aug.js} +1 -1
  158. package/dist/assets/{QBOConnectionDialog-5ItNvdCA-D1LNYclF.js → QBOConnectionDialog-5ItNvdCA-B93tYXoX.js} +1 -1
  159. package/dist/assets/{QBOConnectionScreen-BDwso3KZ.js → QBOConnectionScreen-CIFlgaXj.js} +1 -1
  160. package/dist/assets/{QBOSetupSection-CHZgQppe-Fu_QXCEh.js → QBOSetupSection-CHZgQppe-Boi15f5H.js} +1 -1
  161. package/dist/assets/{ReferralListScreen-DPkRtA1r.js → ReferralListScreen-OXcIgRf5.js} +1 -1
  162. package/dist/assets/{ReimbursementApprovalRoutes-DyX9YlA9.js → ReimbursementApprovalRoutes-CoU_u8MQ.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CqZT111l-Th1QLQg3.js → ReimbursementApprovalRuleDetailPage-CqZT111l-BQrCKR9A.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-BR6Wdj2J.js → ReimbursementApprovalRuleDetailScreen-CPkYjm-o.js} +1 -1
  165. package/dist/assets/{ReimbursementApprovalRulesPage-BzTe2nqd-DFHyb7gY.js → ReimbursementApprovalRulesPage-BzTe2nqd-CnRJV-7t.js} +1 -1
  166. package/dist/assets/{ReimbursementDetailPage-DM650uCR-BZojPp4W.js → ReimbursementDetailPage-DM650uCR-CfT7lIQy.js} +1 -1
  167. package/dist/assets/{ReimbursementPromoPage-CitTg9s4-C6Ht-4dW.js → ReimbursementPromoPage-CitTg9s4-C0IJS9C3.js} +1 -1
  168. package/dist/assets/{ReimbursementRoutes-C4Yz_jbS.js → ReimbursementRoutes-CexK6hr3.js} +1 -1
  169. package/dist/assets/{ReimbursementSetUpPage-qphyaCoX-CvNz9jXQ.js → ReimbursementSetUpPage-qphyaCoX-DoGJ3Yjs.js} +1 -1
  170. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CCJvQKip-BQLPbz53.js → ReimbursementsBulkReviewDrawerPage-CCJvQKip-DJZoHiHh.js} +1 -1
  171. package/dist/assets/{ReloadCard-DMNbI6QE-C1j_tgy-.js → ReloadCard-DMNbI6QE-C_0_5wQl.js} +1 -1
  172. package/dist/assets/{ReportTableViewSelector-CUG4hVI9-Bjuyu4DH.js → ReportTableViewSelector-CUG4hVI9-BizHpKUG.js} +1 -1
  173. package/dist/assets/{ReportsPage-nuM-ub1p-CKOT47VZ.js → ReportsPage-nuM-ub1p-B6rPi-ib.js} +1 -1
  174. package/dist/assets/{ReportsRoutes-DohAZqsL.js → ReportsRoutes-Cp6mze8I.js} +1 -1
  175. package/dist/assets/{RevenueChart-BL5Wb2UT-JQVA4c7e.js → RevenueChart-BL5Wb2UT-33eDsujQ.js} +1 -1
  176. package/dist/assets/{ReviewDetailsPage-CUolLJ6s-I5bNk9-1.js → ReviewDetailsPage-CUolLJ6s-D-zhUoA6.js} +1 -1
  177. package/dist/assets/{ReviewOverlay-A1OYNSqG-DCeKL3J7.js → ReviewOverlay-A1OYNSqG-9s_1ZdtP.js} +1 -1
  178. package/dist/assets/{RewardsRoutes-BjB7FD9l.js → RewardsRoutes-BSovi6wQ.js} +1 -1
  179. package/dist/assets/{RoleWithToolTip-VOllzDDB-BXr_ucO6.js → RoleWithToolTip-VOllzDDB-BYsZPBtm.js} +1 -1
  180. package/dist/assets/{ScheduleDetailsFixedAssetsPage-By3U1RYU-Dut2stb8.js → ScheduleDetailsFixedAssetsPage-By3U1RYU-DKJcrnu_.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsPage-ButJHPUw-XhuUVDsI.js → ScheduleDetailsPage-ButJHPUw-QIDoDzfq.js} +1 -1
  182. package/dist/assets/{ScheduleSequenceTable-Dv831gVJ-OIQZXWKl.js → ScheduleSequenceTable-Dv831gVJ-DAMs3BZ5.js} +1 -1
  183. package/dist/assets/{ScreenRoutes-B6WQ9uqs.js → ScreenRoutes-Dbhh2QOI.js} +2 -2
  184. package/dist/assets/{SetUpAccountSection-BcNG0nDh-C2x0keC_.js → SetUpAccountSection-BcNG0nDh-wr_b4Gnf.js} +1 -1
  185. package/dist/assets/{SettingsRoutes-U8aLQkxi.js → SettingsRoutes-DsoaaeGm.js} +1 -1
  186. package/dist/assets/{SetupPagesScreen-KLzrKq5d.js → SetupPagesScreen-C8L8QqMz.js} +1 -1
  187. package/dist/assets/{SignIn-D80UITQm-CVsAto0V.js → SignIn-D80UITQm-DIIeYnW9.js} +1 -1
  188. package/dist/assets/{SignInScreen-g1CD9jiJ.js → SignInScreen-CWsG4Mxf.js} +1 -1
  189. package/dist/assets/{SignOutScreen-Cclrjb6Y.js → SignOutScreen-Cs9C3-Pe.js} +1 -1
  190. package/dist/assets/{SpendManagementListViewPage-DSG6Son_-3Woa8ZKL.js → SpendManagementListViewPage-DSG6Son_-kr01Gbhc.js} +3 -3
  191. package/dist/assets/{SpendManagementPerTabPage-DiSu0RS1-Dj2U_5YO.js → SpendManagementPerTabPage-DiSu0RS1-DHuUoD95.js} +1 -1
  192. package/dist/assets/{SpendManagementSection-BXU3RGG8-BwEQ7fN8.js → SpendManagementSection-BXU3RGG8-BYhx4BvA.js} +1 -1
  193. package/dist/assets/{StatementItem-B1M65xN--D_j2q7nS.js → StatementItem-B1M65xN--GeNfVEEV.js} +1 -1
  194. package/dist/assets/{StatementsPage-Ck1xzA0w-CdWUN6DK.js → StatementsPage-Ck1xzA0w-ClPKQbtk.js} +1 -1
  195. package/dist/assets/{StatusSwitcher-_Cs3CzJl-D1XlTHt5.js → StatusSwitcher-_Cs3CzJl-Dgp2ChlN.js} +1 -1
  196. package/dist/assets/{SubTabSwitcher-D3ltE_yc-Ry1ed6uf.js → SubTabSwitcher-D3ltE_yc-CnL7Gxp8.js} +1 -1
  197. package/dist/assets/{SuccessAnimation-RuQd1S4B-C9QgxngQ.js → SuccessAnimation-RuQd1S4B-Bm3TMOLx.js} +1 -1
  198. package/dist/assets/{SummaryCard-buadhnmc-COTvxgGf.js → SummaryCard-buadhnmc-D_ubT5UT.js} +1 -1
  199. package/dist/assets/{TaskDetailPage-CJKga1vr-ciDskCCR.js → TaskDetailPage-CJKga1vr-C9aggkuO.js} +1 -1
  200. package/dist/assets/{TaskListScreen-ksTObC06.js → TaskListScreen--R6ZRUkx.js} +1 -1
  201. package/dist/assets/{TaskManagementPage-BMwMSG1j-D-VvypFm.js → TaskManagementPage-BMwMSG1j-H5G6dYbH.js} +1 -1
  202. package/dist/assets/{TaskRoutes-C_cjp_9o.js → TaskRoutes-DYzJiY4s.js} +1 -1
  203. package/dist/assets/{TimeRangeSwitcher-B1Wx03tG-Br6TSwpo.js → TimeRangeSwitcher-B1Wx03tG-BWIrI-Q6.js} +1 -1
  204. package/dist/assets/{TimeframeSwitcher-Dmtsdwi9-Ce3iuH6w.js → TimeframeSwitcher-Dmtsdwi9-Cw7Bi58F.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcherWithToggle-P5CfgTUd-DXOPf3Bj.js → TimeframeSwitcherWithToggle-P5CfgTUd-Dktx47QV.js} +1 -1
  206. package/dist/assets/{TopExCard-DQkr9Xhh-CEMSG53J.js → TopExCard-DQkr9Xhh-BRnZbxyD.js} +1 -1
  207. package/dist/assets/{TopExDetailPage-5Di6WUfV-hilBOr7-.js → TopExDetailPage-5Di6WUfV-BUXw1BOA.js} +1 -1
  208. package/dist/assets/{TransactionActivityLogPage-R9LoW4DL-C_Mhlr8m.js → TransactionActivityLogPage-R9LoW4DL-D_EoHZ59.js} +1 -1
  209. package/dist/assets/{TransactionDetailPage-B-blHtkn-CbeGtCIa.js → TransactionDetailPage-B-blHtkn-DCMnh0nU.js} +1 -1
  210. package/dist/assets/{TransactionDetailRoutes-CG9Ya3UI.js → TransactionDetailRoutes-Ct3Dbt4h.js} +1 -1
  211. package/dist/assets/{TransactionDetailScreen-DG1rRYuu.js → TransactionDetailScreen-BI8wXwWu.js} +1 -1
  212. package/dist/assets/{TransactionList-FQvTXSzy-oI0UZGJM.js → TransactionList-FQvTXSzy-B5IF52jl.js} +1 -1
  213. package/dist/assets/{TransactionListBig-CNDw7zRw-DTLpPxaS.js → TransactionListBig-CNDw7zRw-TaxjiJ28.js} +1 -1
  214. package/dist/assets/{TransactionListPage-BkZLtwmQ-DzH0F7Wk.js → TransactionListPage-BkZLtwmQ-DMj8aMnI.js} +1 -1
  215. package/dist/assets/{TransactionListRoutes-BbWNwfVS.js → TransactionListRoutes-B3byuAak.js} +1 -1
  216. package/dist/assets/{TransactionVendorDetailPage-Ch2UUF1f-DGdjSa3g.js → TransactionVendorDetailPage-Ch2UUF1f-BrGjAHyI.js} +1 -1
  217. package/dist/assets/{TransferDrawerPage-C1Ly_xKj-DX3atlS9.js → TransferDrawerPage-C1Ly_xKj-fiBb4oDE.js} +1 -1
  218. package/dist/assets/{TreasuryOverviewPage-Zt5w8zfp-CedvlZd9.js → TreasuryOverviewPage-Zt5w8zfp-Ch3HnWvf.js} +1 -1
  219. package/dist/assets/{TreasuryPromoPage-BsP73kf7-etf9xlFS.js → TreasuryPromoPage-BsP73kf7-CL2gh8Up.js} +1 -1
  220. package/dist/assets/{TreasuryRoutes-CuQ3uJ15.js → TreasuryRoutes-CiZ9sTKP.js} +1 -1
  221. package/dist/assets/{TreasuryStatementsPage-DhXESeOi-uJElEPeD.js → TreasuryStatementsPage-DhXESeOi-D1GmDTaA.js} +1 -1
  222. package/dist/assets/{TreasuryTaxLetterPage-tHkQvX2V-pYxXn6xj.js → TreasuryTaxLetterPage-tHkQvX2V-DC4DIUK0.js} +1 -1
  223. package/dist/assets/{TrendChart-B7Pox_TQ-7BkibFBY.js → TrendChart-B7Pox_TQ-CaG-s4IC.js} +1 -1
  224. package/dist/assets/{TrendWithTransactions-DP1jZL1i-2bOe0VtV.js → TrendWithTransactions-DP1jZL1i-DLC5jL9Q.js} +1 -1
  225. package/dist/assets/{UncategorizedAccountsMappingPage-4mHyt2P6-BwcucbSK.js → UncategorizedAccountsMappingPage-4mHyt2P6-CaPpF27u.js} +1 -1
  226. package/dist/assets/{UnitIntegrationPage-BymmWe1G-DFsBuiFb.js → UnitIntegrationPage-BymmWe1G-c3FxOZsw.js} +1 -1
  227. package/dist/assets/{UploadAdditionalDocumentOverlay-DUO2ZoU--ozi0LNFT.js → UploadAdditionalDocumentOverlay-DUO2ZoU--C5vn0EeB.js} +1 -1
  228. package/dist/assets/{Vendor2FAPopup-8kpMx5RI-CGazITGN.js → Vendor2FAPopup-8kpMx5RI-B6wz9ehO.js} +1 -1
  229. package/dist/assets/{VendorACHDetailsPage-BODHiiUQ-DmAQiimf.js → VendorACHDetailsPage-BODHiiUQ-CbkmGhf7.js} +1 -1
  230. package/dist/assets/{VendorDetailPage-C-JJfR0u-DCJ_f7dN.js → VendorDetailPage-C-JJfR0u-xsJdXYgh.js} +1 -1
  231. package/dist/assets/{VendorDomesticWireDetailsPage-CVfEcUFJ-8ddL7pEj.js → VendorDomesticWireDetailsPage-CVfEcUFJ-Bq6iA8BG.js} +1 -1
  232. package/dist/assets/{VendorFiling1099EditablePage-B4vFgSwb-DDTykyPn.js → VendorFiling1099EditablePage-B4vFgSwb-BhTGj51T.js} +1 -1
  233. package/dist/assets/{VendorFirstReviewPage-CUwdrbjH-DPvTVvHI.js → VendorFirstReviewPage-CUwdrbjH-C8NXBWTw.js} +1 -1
  234. package/dist/assets/{VendorInternationalWireDetailsPage-BzP1zqhw-CAXXQP5N.js → VendorInternationalWireDetailsPage-BzP1zqhw-BApkoCPp.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dgz0TPoZ-CYv9JR1l.js → VendorInternationalWireSwiftDetailsPage-Dgz0TPoZ-CIw7ERg3.js} +1 -1
  236. package/dist/assets/{VendorsAccountsSection-Drue-Lvz-DQRReXtk.js → VendorsAccountsSection-Drue-Lvz-BCNmsP23.js} +1 -1
  237. package/dist/assets/{VendorsRoutes-Buw6G1yr.js → VendorsRoutes-CKhkv2e_.js} +1 -1
  238. package/dist/assets/{VerifyDevice-B_NNzkjT-BkggAu3P.js → VerifyDevice-B_NNzkjT-DssvqA1v.js} +1 -1
  239. package/dist/assets/{VideoPlayer-Bc4tAd79-Crbsq9LQ.js → VideoPlayer-Bc4tAd79-1S5ggZVm.js} +1 -1
  240. package/dist/assets/{VideoPopup-BYo5bzpU-BthyvsgQ.js → VideoPopup-BYo5bzpU-DUVlPGQp.js} +1 -1
  241. package/dist/assets/{WiseConfirmationScreen-CEIT9jMF.js → WiseConfirmationScreen-DJuJvNzv.js} +1 -1
  242. package/dist/assets/{ZeniAccountDetailPage-BW6G2voE-DBU5fQds.js → ZeniAccountDetailPage-BW6G2voE-DG228Rrt.js} +1 -1
  243. package/dist/assets/{ZeniAccountListViewPage-gNszI2XV-BLZmP_oZ.js → ZeniAccountListViewPage-gNszI2XV-vz3h67sw.js} +1 -1
  244. package/dist/assets/{ZeniAccountNavBarPieces-BP1IxZ18-ABeEpX-y.js → ZeniAccountNavBarPieces-BP1IxZ18-D8VlWC64.js} +1 -1
  245. package/dist/assets/{ZeniAccountPromoPage-LsZxIdX9-D62PvtLZ.js → ZeniAccountPromoPage-LsZxIdX9-BS_EkGM_.js} +1 -1
  246. package/dist/assets/{ZeniAccountRoutes-Bp_1In61.js → ZeniAccountRoutes-1i5H0-IW.js} +1 -1
  247. package/dist/assets/{ZeniAccountSetupPage-BExQA9Cz-D04LOVK1.js → ZeniAccountSetupPage-BExQA9Cz-xecz4xSG.js} +1 -1
  248. package/dist/assets/{ZeniAccountStatementScreen-6LzJoR1o.js → ZeniAccountStatementScreen-YmdFA__8.js} +1 -1
  249. package/dist/assets/{ZeniAvatar-5wP6sb3W-CKgtWCng.js → ZeniAvatar-5wP6sb3W-CwxwTkTA.js} +1 -1
  250. package/dist/assets/{ZeniCopyright-CMjFbDBQ-So_Gi_8l.js → ZeniCopyright-CMjFbDBQ-Ck2DhCCZ.js} +1 -1
  251. package/dist/assets/{ZeniDatePicker-C_YQpGe--CXBBhIwN.js → ZeniDatePicker-C_YQpGe--B6o5NtIP.js} +1 -1
  252. package/dist/assets/{ZeniTransferAmountSlider-CIu35Xz9-BCHS6-b-.js → ZeniTransferAmountSlider-CIu35Xz9-CbkYbuv-.js} +1 -1
  253. package/dist/assets/{analyticsHelper-CBcY8lmv.js → analyticsHelper-BkUpwFP4.js} +1 -1
  254. package/dist/assets/{analyticsHelper-CG-L3dO7-WIHh4rd-.js → analyticsHelper-CG-L3dO7-BuQ3dQan.js} +1 -1
  255. package/dist/assets/{calculateSize-CAxK0dN_-6AyeRPo8.js → calculateSize-CAxK0dN_-CtindZTL.js} +1 -1
  256. package/dist/assets/{chartTypes-_AEkJ5Cg-CVupoc41.js → chartTypes-_AEkJ5Cg-BoLLmK-7.js} +1 -1
  257. package/dist/assets/{common-B74Sb4iG-Ba1Dna3Q.js → common-B74Sb4iG-wPHt407r.js} +1 -1
  258. package/dist/assets/{commonDimensions-_Dpm4Anv-BHT-EeW2.js → commonDimensions-_Dpm4Anv-JKxakvSV.js} +1 -1
  259. package/dist/assets/{commonTypes-C64XobC6-BTobasZR.js → commonTypes-C64XobC6-zWzHHgag.js} +1 -1
  260. package/dist/assets/{downloadPdf-BAZhe2iR-C4ju3Lqh.js → downloadPdf-BAZhe2iR-XXbzTfDj.js} +1 -1
  261. package/dist/assets/{getLocaleForTenant-DZi5Q22y.js → getLocaleForTenant-gFC-Rnfp.js} +1 -1
  262. package/dist/assets/{helper-D3UIpXq7-DCH1HBMI.js → helper-D3UIpXq7-k6HHkxTA.js} +1 -1
  263. package/dist/assets/{index-BHAcVHeH.js → index-ByqexAVU.js} +448 -448
  264. package/dist/assets/{mapLoadingInProgressToTreeNode-C_DjhqLk-Ct7OsbEi.js → mapLoadingInProgressToTreeNode-C_DjhqLk-Cbs7Of5h.js} +1 -1
  265. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BLsSfpaF-B_J7hTEH.js → mapSectionWithAcOnlyToTreeNode-BLsSfpaF-B5H-460G.js} +1 -1
  266. package/dist/assets/{mapSpacerToTreeNode-Dq4CasLR-BKZfs44u.js → mapSpacerToTreeNode-Dq4CasLR-Dqbo2uhz.js} +1 -1
  267. package/dist/assets/{mapTimeframeBalancesToTreeNode--FHVcIix-D7muHBWz.js → mapTimeframeBalancesToTreeNode--FHVcIix-DC7cXapm.js} +1 -1
  268. package/dist/assets/{mapTimeframeBalancesToTreeNode-BP0iF3Of-BZXMdjjY.js → mapTimeframeBalancesToTreeNode-BP0iF3Of-DbCZ7i8N.js} +1 -1
  269. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D45Dn747-DMQQGP6s.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D45Dn747-CPa7R1do.js} +1 -1
  270. package/dist/assets/{routePaths-WWdcktge.js → routePaths-BnaAtOOM.js} +1 -1
  271. package/dist/assets/{toCOABalancesWithID-CuxwOBs0-D4IOrabU.js → toCOABalancesWithID-CuxwOBs0-BNfZJE4p.js} +1 -1
  272. package/dist/assets/{toChartData-BODe4y2V-CHAJ4Jnp.js → toChartData-BODe4y2V-C6JFTy1O.js} +1 -1
  273. package/dist/assets/{uploadAttachment-Dbumcc_g-LXlwbhth.js → uploadAttachment-Dbumcc_g-Dxdg1PHe.js} +1 -1
  274. package/dist/assets/{uploadReceipts-CIgkuVpu-FU2oOS1s.js → uploadReceipts-CIgkuVpu-BX0LuAuH.js} +1 -1
  275. package/dist/assets/{useInitialThreadRequest-DTIHWJqF.js → useInitialThreadRequest-D1CqutXV.js} +1 -1
  276. package/dist/assets/{withTransactionSidePanel-X05Jc0ej.js → withTransactionSidePanel-BzduT6UI.js} +1 -1
  277. package/dist/index.html +1 -1
  278. package/package.json +1 -1
  279. package/dist/assets/CustomerOnboardingContainerPage-DS0-65s7-CeH0I7wN.js +0 -1
@@ -1,4 +1,4 @@
1
- import{y as S,e as b,V as i,a_ as ee,eO as z,w as u,an as N,bt as ie,o as t,O as w,f as O,x as h,l as v,cI as te,m as l,ag as oe,a5 as B,bl as re,C as $,b as L,iu as X,iv as q,ib as ae,b_ as se,c1 as ne,H as T}from"./index-BHAcVHeH.js";import{n as o}from"./mui-Cni6P-fz.js";import{Gu as f,bs as de}from"./zeni-epic-state-cFF_NqwA.js";import{b as K,a as Y}from"./sentry-CY6wsJT-.js";import{F as le}from"./InsightsSection-DgfCOO4F-rd7xZxVI.js";import{M as ce,S as he}from"./common-B74Sb4iG-Ba1Dna3Q.js";import{J as pe,E as ge,X as me,Y as xe,F as we,K as ue,W as ye}from"./recharts-LlOU9oLm.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./NavigationDots-WUDG_g8M-CSwlLBTM.js";import"./calculateSize-CAxK0dN_-6AyeRPo8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="4c53b803-88a3-40de-a812-a3b264948a5b",e._sentryDebugIdIdentifier="sentry-dbid-4c53b803-88a3-40de-a812-a3b264948a5b")}catch{}})();const be=({x:e,y:a,width:n,height:s,payload:r})=>{const c=S();return i.jsx(ye,{fill:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",stroke:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",x:e,y:a,width:n,height:s})},V=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,fe=w.getLocalizedStrings().dateFormat.visual.MMMMFormat,W=o.div`
1
+ import{y as S,e as b,V as i,a_ as ee,eO as z,w as u,an as N,bt as ie,o as t,O as w,f as O,x as h,l as v,cI as te,m as l,ag as oe,a5 as B,bl as re,C as $,b as L,iu as X,iv as q,ib as ae,b_ as se,c1 as ne,H as T}from"./index-ByqexAVU.js";import{n as o}from"./mui-Cni6P-fz.js";import{Gu as f,bs as de}from"./zeni-epic-state-cFF_NqwA.js";import{b as K,a as Y}from"./sentry-CY6wsJT-.js";import{F as le}from"./InsightsSection-DgfCOO4F-D4slzBMJ.js";import{M as ce,S as he}from"./common-B74Sb4iG-wPHt407r.js";import{J as pe,E as ge,X as me,Y as xe,F as we,K as ue,W as ye}from"./recharts-LlOU9oLm.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./NavigationDots-WUDG_g8M-DDdWfUW3.js";import"./calculateSize-CAxK0dN_-CtindZTL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="4c53b803-88a3-40de-a812-a3b264948a5b",e._sentryDebugIdIdentifier="sentry-dbid-4c53b803-88a3-40de-a812-a3b264948a5b")}catch{}})();const be=({x:e,y:a,width:n,height:s,payload:r})=>{const c=S();return i.jsx(ye,{fill:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",stroke:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",x:e,y:a,width:n,height:s})},V=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,fe=w.getLocalizedStrings().dateFormat.visual.MMMMFormat,W=o.div`
2
2
  display: flex;
3
3
  gap: ${t.sp1};
4
4
  `,$e=o.div`
@@ -1,4 +1,4 @@
1
- import{y as Qe,e as ve,_ as Dt,h as It,gm as fr,h1 as $i,ad as Xe,gn as $r,a7 as Je,V as t,a_ as vi,m as l,fn as vr,a5 as _e,b as ee,aZ as ki,bn as ta,f as d,o as a,O as $e,ie as kr,w as H,bR as ji,ig as Li,eI as Di,gd as Ii,ih as Ai,b1 as Ti,bd as jr,ab as aa,x as T,ar as ra,b6 as Lr,C as ue,e6 as Ri,au as ia,i6 as Ei,ac as Dr,aA as mt,gq as Ir,bF as Fi,L as ut,an as Pi,cO as zi,bV as Mi,ii as Vi,ij as Ar,ik as it,er as Oi,aj as Hi,il as Ni,im as Bi,bS as Wi,cw as _i,g_ as Ui,l as Fe,bp as Zi,v as Ut,io as Ma,ip as Gi,cJ as Yi,d as Va,M as Tr,at as qi,P as Ki,i5 as ht,ia as Xi,ic as Ji,id as Qi,cR as Oa,en as eo,a as Rr,b_ as Er,bs as to,n as Fr,iq as ao,t as kt,bt as Ha,aV as ro,cF as io,D as oo,H as nt,gl as no,a8 as so,b2 as co,ir as At,eT as lo,is as Pr,fX as zr,it as Lt,hC as Mr,df as Vr,bl as ho,dL as Or,ib as po,c1 as uo,de as mo,cq as go,dR as Co,bK as wo,bL as xo}from"./index-BHAcVHeH.js";import{a as o,b as bo}from"./sentry-CY6wsJT-.js";import{n as r,c as ge,k as Hr}from"./mui-Cni6P-fz.js";import{F4 as Tt,bs as yo,c0 as So,Gt as fo}from"./zeni-epic-state-cFF_NqwA.js";import{y as $o}from"./MoreMenuButton-5MZl4h9B-BympoCwa.js";import{x as vo}from"./NavigationDots-WUDG_g8M-CSwlLBTM.js";import{A as ko,i as jo,a as Lo,l as Do,r as Io,t as Ao,n as To}from"./add-to-wallet-DgdBD8_G-q_ZatOIu.js";import{L as Zt}from"./lottie-DEK510sX.js";import{t as Ro}from"./spend-limit-D6SyboD4-DAZsY_K2.js";import{j as Eo}from"./CardNumberSubText-12zyW5qQ-c22fv1fM.js";import{t as Fo}from"./panelSelectedMixin-Cddsb26L-BCo5ICo2.js";import{M as Po,S as zo}from"./common-B74Sb4iG-Ba1Dna3Q.js";import{r as Nr}from"./core-oEkj6b51.js";import{l as Br}from"./uploadReceipts-CIgkuVpu-FU2oOS1s.js";import{L as Mo,z as Vo,k as Oo,P as Ho}from"./LockCardPage-B1QOSByp-BfsUhZIZ.js";import"./pdf-CTJ16aEe.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./bank-letter-BOcVjN6J-a5lcVCZG.js";import"./dollar-round-D18u7nlm-BxzwYsJa.js";import"./money-2cg1MuG4-BmcWx6In.js";import"./page-summary-D7_VQHwN-ZSqDN0WI.js";import"./transaction-placeholder-CpOwZAMG-B7lzeBRq.js";import"./unlock-BPWn2I5L-BcwMx3a4.js";import"./calculateSize-CAxK0dN_-6AyeRPo8.js";import"./RoleWithToolTip-VOllzDDB-BXr_ucO6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="d3d7b850-8eeb-44f3-ad0b-1b209abf8ca4",e._sentryDebugIdIdentifier="sentry-dbid-d3d7b850-8eeb-44f3-ad0b-1b209abf8ca4")}catch{}})();const Wr=$e.getLocalizedStrings().spendManagement.chargeCard,No=({controllerEmails:e,classListFetchState:i,isChargeCardFeatureEnabled:s,isDebitCardFeatureEnabled:m,isDebitCardSetupEnabled:c,isChargeCardSetupEnabled:$,chargeCardDetailView:h,productInformation:g,creditAccountInformation:u,debitAccountInformation:C,creditAccount:x,creditAccountRepayment:n,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,appleWalletLink:L,googleWalletLink:A,style:p,showDrawerAnimation:R,setWalletType:v,setIsAddToWalletDrawerOpen:V,isDebitCard:O})=>{const f=It().analytics,{isIPadScreen:Z}=Ni(),{isAndroidScreen:K}=Bi(),X=Dt(),E=Tt(X.loggedInUserRoleMap);return t.jsx(Bo,{style:p,children:Z===!0?t.jsx(ea,{onClick:()=>{it({chargeCardDetailView:h,classListFetchState:i,analytics:f,isDebitCard:O,isChargeCardAdmin:E,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",productInformation:g,creditAccountInformation:u,debitAccountInformation:C,isChargeCardFeatureEnabled:s,creditAccount:x,creditAccountRepayment:n}),window.open(L,"_blank")}}):K===!0?t.jsx(Qt,{onClick:()=>{it({chargeCardDetailView:h,classListFetchState:i,analytics:f,isDebitCard:O,isChargeCardAdmin:E,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",productInformation:g,creditAccountInformation:u,debitAccountInformation:C,isChargeCardFeatureEnabled:s,creditAccount:x,creditAccountRepayment:n}),window.open(A,"_blank")}}):t.jsxs(t.Fragment,{children:[t.jsx(ea,{onClick:()=>{v("apple"),R.current="slide-in-right-to-left-add-to-wallet",it({chargeCardDetailView:h,classListFetchState:i,analytics:f,isDebitCard:O,isChargeCardAdmin:E,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",isChargeCardFeatureEnabled:s,productInformation:g,creditAccountInformation:u,debitAccountInformation:C,creditAccount:x,creditAccountRepayment:n}),V(!0)}}),t.jsx(Qt,{onClick:()=>{v("google"),R.current="slide-in-right-to-left-add-to-wallet",it({chargeCardDetailView:h,classListFetchState:i,analytics:f,isDebitCard:O,isChargeCardAdmin:E,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",isChargeCardFeatureEnabled:s,productInformation:g,creditAccountInformation:u,debitAccountInformation:C,creditAccount:x,creditAccountRepayment:n}),V(!0)}})]})})},Qt=({onClick:e})=>{const i=Qe();return t.jsx(Rr,{prefixIcon:t.jsx(Wo,{}),label:Wr.cardDetails.addToGoogleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":ee("add-to-google-wallet-button")})},ea=({onClick:e})=>{const i=Qe();return t.jsx(Rr,{prefixIcon:t.jsx(_o,{}),label:Wr.cardDetails.addToAppleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":ee("add-to-apple-wallet-button")})},Bo=r.div`
1
+ import{y as Qe,e as ve,_ as Dt,h as It,gm as fr,h1 as $i,ad as Xe,gn as $r,a7 as Je,V as t,a_ as vi,m as l,fn as vr,a5 as _e,b as ee,aZ as ki,bn as ta,f as d,o as a,O as $e,ie as kr,w as H,bR as ji,ig as Li,eI as Di,gd as Ii,ih as Ai,b1 as Ti,bd as jr,ab as aa,x as T,ar as ra,b6 as Lr,C as ue,e6 as Ri,au as ia,i6 as Ei,ac as Dr,aA as mt,gq as Ir,bF as Fi,L as ut,an as Pi,cO as zi,bV as Mi,ii as Vi,ij as Ar,ik as it,er as Oi,aj as Hi,il as Ni,im as Bi,bS as Wi,cw as _i,g_ as Ui,l as Fe,bp as Zi,v as Ut,io as Ma,ip as Gi,cJ as Yi,d as Va,M as Tr,at as qi,P as Ki,i5 as ht,ia as Xi,ic as Ji,id as Qi,cR as Oa,en as eo,a as Rr,b_ as Er,bs as to,n as Fr,iq as ao,t as kt,bt as Ha,aV as ro,cF as io,D as oo,H as nt,gl as no,a8 as so,b2 as co,ir as At,eT as lo,is as Pr,fX as zr,it as Lt,hC as Mr,df as Vr,bl as ho,dL as Or,ib as po,c1 as uo,de as mo,cq as go,dR as Co,bK as wo,bL as xo}from"./index-ByqexAVU.js";import{a as o,b as bo}from"./sentry-CY6wsJT-.js";import{n as r,c as ge,k as Hr}from"./mui-Cni6P-fz.js";import{F4 as Tt,bs as yo,c0 as So,Gt as fo}from"./zeni-epic-state-cFF_NqwA.js";import{y as $o}from"./MoreMenuButton-5MZl4h9B-zFBR8G0C.js";import{x as vo}from"./NavigationDots-WUDG_g8M-DDdWfUW3.js";import{A as ko,i as jo,a as Lo,l as Do,r as Io,t as Ao,n as To}from"./add-to-wallet-DgdBD8_G-q_ZatOIu.js";import{L as Zt}from"./lottie-DEK510sX.js";import{t as Ro}from"./spend-limit-D6SyboD4-DAZsY_K2.js";import{j as Eo}from"./CardNumberSubText-12zyW5qQ-CZArd4_p.js";import{t as Fo}from"./panelSelectedMixin-Cddsb26L-BCo5ICo2.js";import{M as Po,S as zo}from"./common-B74Sb4iG-wPHt407r.js";import{r as Nr}from"./core-oEkj6b51.js";import{l as Br}from"./uploadReceipts-CIgkuVpu-BX0LuAuH.js";import{L as Mo,z as Vo,k as Oo,P as Ho}from"./LockCardPage-B1QOSByp-DoXf8Ddb.js";import"./pdf-CTJ16aEe.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./bank-letter-BOcVjN6J-a5lcVCZG.js";import"./dollar-round-D18u7nlm-BxzwYsJa.js";import"./money-2cg1MuG4-BmcWx6In.js";import"./page-summary-D7_VQHwN-ZSqDN0WI.js";import"./transaction-placeholder-CpOwZAMG-B7lzeBRq.js";import"./unlock-BPWn2I5L-BcwMx3a4.js";import"./calculateSize-CAxK0dN_-CtindZTL.js";import"./RoleWithToolTip-VOllzDDB-BYsZPBtm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="d3d7b850-8eeb-44f3-ad0b-1b209abf8ca4",e._sentryDebugIdIdentifier="sentry-dbid-d3d7b850-8eeb-44f3-ad0b-1b209abf8ca4")}catch{}})();const Wr=$e.getLocalizedStrings().spendManagement.chargeCard,No=({controllerEmails:e,classListFetchState:i,isChargeCardFeatureEnabled:s,isDebitCardFeatureEnabled:m,isDebitCardSetupEnabled:c,isChargeCardSetupEnabled:$,chargeCardDetailView:h,productInformation:g,creditAccountInformation:u,debitAccountInformation:C,creditAccount:x,creditAccountRepayment:n,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,appleWalletLink:L,googleWalletLink:A,style:p,showDrawerAnimation:R,setWalletType:v,setIsAddToWalletDrawerOpen:V,isDebitCard:O})=>{const f=It().analytics,{isIPadScreen:Z}=Ni(),{isAndroidScreen:K}=Bi(),X=Dt(),E=Tt(X.loggedInUserRoleMap);return t.jsx(Bo,{style:p,children:Z===!0?t.jsx(ea,{onClick:()=>{it({chargeCardDetailView:h,classListFetchState:i,analytics:f,isDebitCard:O,isChargeCardAdmin:E,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",productInformation:g,creditAccountInformation:u,debitAccountInformation:C,isChargeCardFeatureEnabled:s,creditAccount:x,creditAccountRepayment:n}),window.open(L,"_blank")}}):K===!0?t.jsx(Qt,{onClick:()=>{it({chargeCardDetailView:h,classListFetchState:i,analytics:f,isDebitCard:O,isChargeCardAdmin:E,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",productInformation:g,creditAccountInformation:u,debitAccountInformation:C,isChargeCardFeatureEnabled:s,creditAccount:x,creditAccountRepayment:n}),window.open(A,"_blank")}}):t.jsxs(t.Fragment,{children:[t.jsx(ea,{onClick:()=>{v("apple"),R.current="slide-in-right-to-left-add-to-wallet",it({chargeCardDetailView:h,classListFetchState:i,analytics:f,isDebitCard:O,isChargeCardAdmin:E,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",isChargeCardFeatureEnabled:s,productInformation:g,creditAccountInformation:u,debitAccountInformation:C,creditAccount:x,creditAccountRepayment:n}),V(!0)}}),t.jsx(Qt,{onClick:()=>{v("google"),R.current="slide-in-right-to-left-add-to-wallet",it({chargeCardDetailView:h,classListFetchState:i,analytics:f,isDebitCard:O,isChargeCardAdmin:E,cardIssuedByRoles:w,cardIssuedByDepartmentName:b,cardHolderRoles:I,cardHolderDepartmentName:j,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",isChargeCardFeatureEnabled:s,productInformation:g,creditAccountInformation:u,debitAccountInformation:C,creditAccount:x,creditAccountRepayment:n}),V(!0)}})]})})},Qt=({onClick:e})=>{const i=Qe();return t.jsx(Rr,{prefixIcon:t.jsx(Wo,{}),label:Wr.cardDetails.addToGoogleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":ee("add-to-google-wallet-button")})},ea=({onClick:e})=>{const i=Qe();return t.jsx(Rr,{prefixIcon:t.jsx(_o,{}),label:Wr.cardDetails.addToAppleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":ee("add-to-apple-wallet-button")})},Bo=r.div`
2
2
  margin-top: ${a.sp4};
3
3
  display: flex;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{h as Ja,a7 as _,_ as Ka,fm as Wa,i5 as z,e as Fe,o as a,y as ta,V as t,a_ as Xa,eO as ae,w as D,bn as nt,f as p,a5 as he,b as M,ag as st,O as Ee,x as V,C as Y,d as Za,M as Qa,co as er,r as aa,b6 as tr,aj as ct,ab as ar,H as lt,T as rr,gf as ir,dX as or,k as nr,A as sr,fD as dr,a as Ot,m as O,cy as ra,D as cr,l as lr,c2 as hr,cn as ur,aT as mr,bp as pr}from"./index-BHAcVHeH.js";import{a as c}from"./sentry-CY6wsJT-.js";import{n as r,c as ht,k as Cr}from"./mui-Cni6P-fz.js";import{F4 as gr,Gs as xr,bs as Bt,bG as br,c6 as yr}from"./zeni-epic-state-cFF_NqwA.js";import{m as fr}from"./BusyIndication-BZLVwIo8-6s8wSi7T.js";import{t as Sr}from"./SpendManagementSection-BXU3RGG8-BwEQ7fN8.js";import{D as re,r as wr,i as kr}from"./ChargeCardListTable-SgjwYd8W-EVdaCbR4.js";import{ChargeCardPromoUserContent as $r}from"./ChargeCardPromoPage-C-z0xtuN-qFHF_adM.js";import{N as Ir,J as vr}from"./PromoBaseCards-B_0dccCZ-BeKRkhdX.js";import{z as Mt,L as zt,k as jr,P as Ar}from"./LockCardPage-B1QOSByp-BfsUhZIZ.js";import{r as Lr,i as Pr}from"./graphic-no-data-net-burn-l-CzmycA0m-CaA33M1d.js";import{t as Fr,o as Er}from"./arrow-south-east-round-PEovUgvH-BXAmISmi.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./MoreMenuButton-5MZl4h9B-BympoCwa.js";import"./bank-letter-BOcVjN6J-a5lcVCZG.js";import"./spend-limit-D6SyboD4-DAZsY_K2.js";import"./dollar-round-D18u7nlm-BxzwYsJa.js";import"./money-2cg1MuG4-BmcWx6In.js";import"./page-summary-D7_VQHwN-ZSqDN0WI.js";import"./transaction-placeholder-CpOwZAMG-B7lzeBRq.js";import"./unlock-BPWn2I5L-BcwMx3a4.js";import"./filter-cZIFUNvj-Cn5LR_-W.js";import"./ZeniDatePicker-C_YQpGe--CXBBhIwN.js";import"./avatar-Dz7aEm3d-lVrrjTFE.js";import"./common-B74Sb4iG-Ba1Dna3Q.js";import"./calculateSize-CAxK0dN_-6AyeRPo8.js";import"./ZeniAvatar-5wP6sb3W-CKgtWCng.js";import"./RoleWithToolTip-VOllzDDB-BXr_ucO6.js";import"./CardNumberSubText-12zyW5qQ-c22fv1fM.js";import"./NavigationDots-WUDG_g8M-CSwlLBTM.js";import"./usp-line-BBd1wKwW-CuU9mWQv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="1c339044-48e3-4b96-826b-aa04d38aa242",e._sentryDebugIdIdentifier="sentry-dbid-1c339044-48e3-4b96-826b-aa04d38aa242")}catch{}})();const ut={infoSubheadingTextMarginTop:new V(O[0],O[0]),cardsMinWidth:new V(343,353)},Pe=Ee.getLocalizedStrings().spendManagement.chargeCard.chargeCardsPromo.listPage,Vt=({cardPromoType:e,cardText:m,header:l,title:d,subTitle:n,slidingTextList:h,onClick:B,status:$,statusMessage:q})=>{const U=Fe(),A=$!==void 0,G=$==="rejected"?Pe.status.requestRejected:$==="under_review"?Pe.status.requestUnderReview:"";return t.jsxs(Dr,{windowSize:U,cardPromoType:e,"data-testid":M("list-page-promo-card",e),onClick:()=>B(e),children:[t.jsxs(ia,{isStatusMode:A,children:[t.jsxs(na,{children:[A?t.jsx(_r,{children:G}):t.jsx(oa,{children:l}),t.jsx(Or,{children:d}),A?null:t.jsx(zr,{children:n})]}),!A&&t.jsxs(Vr,{children:[t.jsx(Ur,{}),h.length>0&&t.jsx(dt,{slideUpCount:h.length,children:h.map((ie,oe)=>t.jsx(sa,{children:ie},`card-promo-${oe.toString()}`))}),t.jsx(Gr,{})]}),q!=null&&A?t.jsx(Nr,{status:$,children:q}):null]}),t.jsx(Hr,{isStatusMode:A,children:t.jsx(Ir,{cardPromoType:e,cardText:m,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})}),t.jsx(Yr,{isStatusMode:A,children:t.jsx(vr,{cardPromoType:e,cardText:m,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})})]})},Ut=({cardType:e,header:m,title:l,creditLimit:d,onCreateNowClick:n})=>{const h=Fe();return t.jsx(Tr,{windowSize:h,cardType:e,children:t.jsxs(Rr,{children:[t.jsxs(na,{children:[t.jsx(oa,{children:m}),t.jsx(Mr,{children:t.jsx(Br,{children:l})}),t.jsx(qr,{windowSize:h,children:t.jsxs(Jr,{windowSize:h,onClick:()=>n(e),"data-testid":M("total-cashback-info"),children:[t.jsx(sa,{children:Pe.createNow}),t.jsx(Kr,{})]})})]}),e==="creditCard"?t.jsxs(Wr,{children:[t.jsx(Xr,{children:Pe.creditLimit}),t.jsx(Zr,{children:d})]}):null]})})},Dr=r.div`
1
+ import{h as Ja,a7 as _,_ as Ka,fm as Wa,i5 as z,e as Fe,o as a,y as ta,V as t,a_ as Xa,eO as ae,w as D,bn as nt,f as p,a5 as he,b as M,ag as st,O as Ee,x as V,C as Y,d as Za,M as Qa,co as er,r as aa,b6 as tr,aj as ct,ab as ar,H as lt,T as rr,gf as ir,dX as or,k as nr,A as sr,fD as dr,a as Ot,m as O,cy as ra,D as cr,l as lr,c2 as hr,cn as ur,aT as mr,bp as pr}from"./index-ByqexAVU.js";import{a as c}from"./sentry-CY6wsJT-.js";import{n as r,c as ht,k as Cr}from"./mui-Cni6P-fz.js";import{F4 as gr,Gs as xr,bs as Bt,bG as br,c6 as yr}from"./zeni-epic-state-cFF_NqwA.js";import{m as fr}from"./BusyIndication-BZLVwIo8-D7x09Syx.js";import{t as Sr}from"./SpendManagementSection-BXU3RGG8-BYhx4BvA.js";import{D as re,r as wr,i as kr}from"./ChargeCardListTable-SgjwYd8W-D2X3nHhv.js";import{ChargeCardPromoUserContent as $r}from"./ChargeCardPromoPage-C-z0xtuN-Cj9Xh0NF.js";import{N as Ir,J as vr}from"./PromoBaseCards-B_0dccCZ-Cll52Aug.js";import{z as Mt,L as zt,k as jr,P as Ar}from"./LockCardPage-B1QOSByp-DoXf8Ddb.js";import{r as Lr,i as Pr}from"./graphic-no-data-net-burn-l-CzmycA0m-CaA33M1d.js";import{t as Fr,o as Er}from"./arrow-south-east-round-PEovUgvH-BXAmISmi.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./MoreMenuButton-5MZl4h9B-zFBR8G0C.js";import"./bank-letter-BOcVjN6J-a5lcVCZG.js";import"./spend-limit-D6SyboD4-DAZsY_K2.js";import"./dollar-round-D18u7nlm-BxzwYsJa.js";import"./money-2cg1MuG4-BmcWx6In.js";import"./page-summary-D7_VQHwN-ZSqDN0WI.js";import"./transaction-placeholder-CpOwZAMG-B7lzeBRq.js";import"./unlock-BPWn2I5L-BcwMx3a4.js";import"./filter-cZIFUNvj-Cn5LR_-W.js";import"./ZeniDatePicker-C_YQpGe--B6o5NtIP.js";import"./avatar-Dz7aEm3d-lVrrjTFE.js";import"./common-B74Sb4iG-wPHt407r.js";import"./calculateSize-CAxK0dN_-CtindZTL.js";import"./ZeniAvatar-5wP6sb3W-CwxwTkTA.js";import"./RoleWithToolTip-VOllzDDB-BYsZPBtm.js";import"./CardNumberSubText-12zyW5qQ-CZArd4_p.js";import"./NavigationDots-WUDG_g8M-DDdWfUW3.js";import"./usp-line-BBd1wKwW-CuU9mWQv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="1c339044-48e3-4b96-826b-aa04d38aa242",e._sentryDebugIdIdentifier="sentry-dbid-1c339044-48e3-4b96-826b-aa04d38aa242")}catch{}})();const ut={infoSubheadingTextMarginTop:new V(O[0],O[0]),cardsMinWidth:new V(343,353)},Pe=Ee.getLocalizedStrings().spendManagement.chargeCard.chargeCardsPromo.listPage,Vt=({cardPromoType:e,cardText:m,header:l,title:d,subTitle:n,slidingTextList:h,onClick:B,status:$,statusMessage:q})=>{const U=Fe(),A=$!==void 0,G=$==="rejected"?Pe.status.requestRejected:$==="under_review"?Pe.status.requestUnderReview:"";return t.jsxs(Dr,{windowSize:U,cardPromoType:e,"data-testid":M("list-page-promo-card",e),onClick:()=>B(e),children:[t.jsxs(ia,{isStatusMode:A,children:[t.jsxs(na,{children:[A?t.jsx(_r,{children:G}):t.jsx(oa,{children:l}),t.jsx(Or,{children:d}),A?null:t.jsx(zr,{children:n})]}),!A&&t.jsxs(Vr,{children:[t.jsx(Ur,{}),h.length>0&&t.jsx(dt,{slideUpCount:h.length,children:h.map((ie,oe)=>t.jsx(sa,{children:ie},`card-promo-${oe.toString()}`))}),t.jsx(Gr,{})]}),q!=null&&A?t.jsx(Nr,{status:$,children:q}):null]}),t.jsx(Hr,{isStatusMode:A,children:t.jsx(Ir,{cardPromoType:e,cardText:m,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})}),t.jsx(Yr,{isStatusMode:A,children:t.jsx(vr,{cardPromoType:e,cardText:m,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})})]})},Ut=({cardType:e,header:m,title:l,creditLimit:d,onCreateNowClick:n})=>{const h=Fe();return t.jsx(Tr,{windowSize:h,cardType:e,children:t.jsxs(Rr,{children:[t.jsxs(na,{children:[t.jsx(oa,{children:m}),t.jsx(Mr,{children:t.jsx(Br,{children:l})}),t.jsx(qr,{windowSize:h,children:t.jsxs(Jr,{windowSize:h,onClick:()=>n(e),"data-testid":M("total-cashback-info"),children:[t.jsx(sa,{children:Pe.createNow}),t.jsx(Kr,{})]})})]}),e==="creditCard"?t.jsxs(Wr,{children:[t.jsx(Xr,{children:Pe.creditLimit}),t.jsx(Zr,{children:d})]}):null]})})},Dr=r.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{bF as st,V as i,T as nt,A as at,O as le,e as oe,_ as ke,h as lt,y as ze,gm as dt,a9 as ct,o as t,b as G,bN as ht,w as Be,f as I,an as pt,bV as ut,bn as ye,bX as Oe,bd as mt,ab as gt,x as C,e6 as xt,au as wt,i6 as Ct,ac as ft,aA as yt,C as ee,gq as kt,H as J,l as X,m as u,cc as St,e4 as vt,i7 as jt,i8 as $t,d as Ci,bs as fi,i9 as bt,bl as It,b_ as Je,ia as yi,cR as Lt,cS as q,a5 as de,L as ki,ib as zt,c1 as At,h_ as Xe,b6 as Si,b8 as vi,ad as je,aR as Ft}from"./index-BHAcVHeH.js";import{b as he,a as f}from"./sentry-CY6wsJT-.js";import{n as o,c as Ye}from"./mui-Cni6P-fz.js";import{H as Pt,o as Rt,R as Bt,L as Dt,_ as _t,M as Et,S as Tt}from"./common-B74Sb4iG-Ba1Dna3Q.js";import{d as ji}from"./ZeniAvatar-5wP6sb3W-CKgtWCng.js";import{T as $i}from"./RoleWithToolTip-VOllzDDB-BXr_ucO6.js";import{j as Ve}from"./CardNumberSubText-12zyW5qQ-c22fv1fM.js";import{t as bi,r as Ot}from"./spend-limit-D6SyboD4-DAZsY_K2.js";import{o as Vt,r as Nt}from"./unlock-BPWn2I5L-BcwMx3a4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="225ae1d5-8e67-43c3-8440-a013ede29f52",e._sentryDebugIdIdentifier="sentry-dbid-225ae1d5-8e67-43c3-8440-a013ede29f52")}catch{}})();const me=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Mt=le.getLocalizedStrings().common.strings.empty,Qe={key:"owner",value:me.owner,sortOrder:"ascending",width:new C(120,120,160,200,200)},Ze={key:"cardName",value:me.cardName,sortOrder:"ascending",width:new C(120,120,160,171,171)},ei={key:"cardType",value:me.cardType,sortOrder:"ascending",width:new C(120,120,130,170,170)},ii={key:"status",value:me.status,sortOrder:"ascending",width:new C(115,115,125,132,132)},ti={key:"utilisation",value:me.utilisation,sortOrder:"ascending",width:new C(u[11],u[11],u[11],u[12],120)},oi={key:"limit",value:me.limit,sortOrder:"ascending",width:new C(68,68,68,120,120)},Ii=e=>e===!0?[{...Qe,width:new C(0,0),value:Mt},Ze,ei,ii,ti,oi]:[Qe,Ze,ei,ii,ti,oi],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Ut}},chargeCard:j}}=le.getLocalizedStrings(),se={containerPaddingLeft:new C(u[3],u[2]),containerPaddingRight:new C(u[2],u[3]),containerPaddingTop:new C(u[2],u[3]),containerPaddingBottom:new C(u[2],u[3]),containerMarginLeft:new C(u[4],u[0]),containerMarginRight:new C(u[4],u[0]),webkitLineClamp:new C(2,1,1,1,1)};var Wt=(e=>(e.CLOSE="close",e.LOCK="lock",e.UNLOCK="unlock",e.RENAME="rename",e.UPDATE_SPEND_LIMIT="update_spend_limit",e.REVOKE_INVITE="revoke_invite",e))(Wt||{});const Ht={moreItemFont:new Ci("extraSmallRegular","smallRegular")},Kt=({setCardIdForRowAction:e,setActionTypeForRowAction:r,rowActionView:s,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:n,isCardControlsEnabled:a,showViewForCardUser:x,signedInUser:m,resendInviteId:y,index:k,onChargeCardRowClick:S,onChargeCardResendInviteClick:h})=>{const[p,w]=f.useState(!1),[$,R]=f.useState(!1);f.useEffect(()=>{p||R(!1)},[p]),f.useEffect(()=>{l.length>0&&p&&(w(!1),R(!1))},[l.length,p]);const B=s.cardId===n.id,D=l.includes(n.id),z=B&&s.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",M=B&&s.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",g=z||M,v=oe(),_=!!ke().loggedInUserRole.includes("charge_card_user")||x,U=f.useCallback(()=>{S(n.id,k)},[n.id]),T=yi(n)/n.limit.amount*100,W=n?.cardHolderUserId===m.userId,F=n.status.code!=="closed"&&n.status.code!=="closed_by_customer",O=Lt(n.cardHolderUser,!1),K=n.balance,A=Ii(_),H=i.jsxs(i.Fragment,{children:[i.jsx(q,{isLoading:g,customStyle:{width:t.sp9,height:"20px",borderRadius:t.sp1},children:i.jsx(ho,{title:de("0,0.[00]",K),className:"amountToUtilize",children:de("0,0.[00]",K)})}),T!==0?i.jsx(q,{isLoading:g,customStyle:{width:t.sp11,height:t.sp3,borderRadius:t.sp1},children:i.jsx(po,{className:"amountToUtilize",children:`${Math.round(T)}${Ut}`})}):null]}),V=n.type.code,ie=j.cardList.tooltip[V],te=ie!=null?W?ie.self:`${O} ${ie.cardUser}`:Ce.strings.empty;return i.jsx(Gt,{windowSize:v,children:i.jsx(Jt,{onClick:U,"data-testid":G("card-row",n.id),children:i.jsxs(Yt,{children:[_?null:i.jsx(pe,{children:i.jsxs(Qt,{windowSize:v,responsiveWidth:A[0].width,children:[i.jsx(q,{isLoading:g,flex:"0 0",customStyle:{width:t.sp6,height:t.sp6,borderRadius:"50%"},children:i.jsx(ji,{personBasic:n.cardHolderUser,styles:{height:t.sp6,width:t.sp6,minWidth:t.sp6}})}),i.jsxs(eo,{isLoading:g,children:[i.jsx(Zt,{isLoading:g,children:i.jsx(q,{isLoading:g,customStyle:{width:"88px",height:"20px",borderRadius:t.sp1},children:i.jsx(io,{windowSize:v,title:O,className:"cardHolderName",children:O===Ce.strings.empty?Ce.strings.hyphen:O})})}),i.jsx(q,{isLoading:g,customStyle:{width:"104px",height:t.sp3,borderRadius:t.sp1},children:i.jsx(ai,{className:"additionalInfoContainer",children:n.cardHolderRoles?.userRoles!=null&&i.jsx($i,{roles:n.cardHolderRoles?.userRoles})})})]})]})}),i.jsx(pe,{children:i.jsxs(so,{isLoading:g,windowSize:v,responsiveWidth:A[1].width,children:[i.jsx(q,{isLoading:g,customStyle:{width:"88px",height:"20px",borderRadius:t.sp1},children:i.jsx(no,{title:n.cardName,className:"cardName",children:n.cardName})}),i.jsxs(q,{isLoading:g,customStyle:{width:"104px",height:t.sp3,borderRadius:t.sp1},children:[" ",i.jsx(Co,{windowSize:v,className:"cardNameSubText",children:n.status.code==="request_on_hold"?Ce.strings.hyphen:j.cardDetails.expiryHideOut+Ce.strings.space+n.accountLast4})]})]})}),i.jsx(pe,{children:i.jsx(ao,{windowSize:v,responsiveWidth:A[2].width,children:i.jsx(lo,{className:"card-type",children:i.jsx(q,{isLoading:g,customStyle:{width:"144px",height:t.sp4,borderRadius:t.sp1},children:i.jsx(Ve,{cardDetail:n,forDetailPage:!1})})})})}),i.jsx(pe,{children:i.jsx(li,{windowSize:v,isLoading:g,responsiveWidth:A[3].width,children:i.jsx(q,{isLoading:g,customStyle:{width:"112px",height:t.sp4,borderRadius:t.sp1},children:y===n.id?i.jsx(ki,{size:"Small",start:!0}):i.jsxs(co,{children:[i.jsx(go,{children:n.status.code==="request_on_hold"?i.jsxs(ye,{display:"flex",title:te,placement:"top",style:{padding:`${t.sp2} ${t.sp3}`},children:[i.jsx(Le,{status:n.status.code,style:{cursor:"pointer"}}),i.jsx(uo,{style:{marginLeft:t.sp1},className:"infoIconTooltip"})]}):i.jsx(Le,{status:n.status.code})}),n.status.code!=="request_on_hold"||W?null:i.jsx(mo,{onClick:Y=>{Y.stopPropagation(),h(n.id)},"data-testid":G("send-reminder",n.id),children:j.cardList.sendReminder})]})})})}),i.jsx(pe,{children:i.jsx(li,{windowSize:v,isLoading:g,responsiveWidth:A[4].width,children:H})}),i.jsx(pe,{children:i.jsxs(to,{windowSize:v,responsiveWidth:A[5].width,children:[i.jsxs(oo,{windowSize:v,isLoading:g,children:[i.jsx(q,{isLoading:g,customStyle:{width:"68px",height:"20px",borderRadius:t.sp1},children:i.jsx(ro,{className:"limitAmount",windowSize:v,title:de("0,0.[00]",n.limit),children:de("0,0.[00]",n.limit)})}),i.jsx(ai,{className:"additionalInfoContainer",children:i.jsx(q,{isLoading:g,customStyle:{width:t.sp8,height:t.sp3,borderRadius:t.sp1},children:n.creditLimitFrequency.name})})]}),i.jsx(xo,{className:"menu-icon",onMouseEnter:()=>{!p&&F&&R(!0)},onMouseLeave:()=>{F&&R(!1)},children:(()=>{const Y=n.status.code==="locked",ge=n.status.code==="closed"||n.status.code==="closed_by_customer",xe=_?a&&!g&&!ge&&!(Y&&n.isLockedByAdmin):a?!g&&F:n.status.code==="request_on_hold",b=l.length>0;return xe&&i.jsx(ye,{open:$&&!p&&!b,variant:"standard",title:j.cardList.moreActionsTooltip,placement:"bottom-end",children:i.jsx(Oe,{isMenuVisible:!0,menuItems:i.jsx(wo,{children:i.jsx(Li,{cardDetail:n,isCardControlsEnabled:a,isChargeCardUser:_,setIsMenuOpen:w,setCardIdForRowAction:e,setActionTypeForRowAction:r})}),setIsMenuOpen:Ae=>{b||w(Ae)},isMenuOpen:p&&!b,menuIconStyles:{height:"auto",cursor:b?"not-allowed":"pointer",opacity:b?.5:1,pointerEvents:b?"none":"auto"},styles:{transform:`translate(${t.sp3},${t.sp2})`}})})})()})]})})]})})})},Li=({cardDetail:e,isCardControlsEnabled:r,isChargeCardUser:s,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const n=oe();return r?e.status.code==="request_on_hold"?s?i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}):i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsx($e,{}),i.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[i.jsx(Xt,{}),i.jsx(fe,{children:j.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?s?i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}):i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsx($e,{}),i.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[i.jsx(Re,{}),i.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?s?i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[i.jsx(ni,{}),i.jsx(E,{children:j.cardDetails.moreOptions.unlock})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[i.jsx(ni,{}),i.jsx(E,{children:j.cardDetails.moreOptions.unlock})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[i.jsx(ri,{}),i.jsx(E,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),i.jsx($e,{}),i.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[i.jsx(Re,{}),i.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):s?i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("lock")},children:[i.jsx(si,{}),i.jsx(E,{children:j.cardDetails.moreOptions.lock})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[i.jsx(ri,{}),i.jsx(E,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("lock")},children:[i.jsx(si,{}),i.jsx(E,{children:j.cardDetails.moreOptions.lock})]}),i.jsx($e,{}),i.jsxs(L,{windowSize:n,hoverImportant:!0,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[i.jsx(Re,{}),i.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?i.jsx(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:i.jsx(fe,{children:j.cardDetails.revokeInvite})}):null},Le=({status:e,style:r})=>{const s=ze(),d=qt(e,s),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return oe()==="small"?i.jsx(Xe,{textColor:d,text:c[e],tagStyles:{maxWidth:t.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...r}}):i.jsx(Xe,{textColor:d,text:c[e],styles:r,tagStyles:{padding:"1px 6px"}})},qt=(e,r)=>{switch(e){case"active":return new je(I.success);case"request_on_hold":return new je(I.graphColor36);case"inactive":return new je(I.alert);default:return new je(r.colors.grey1)}},E=o(X)`
1
+ import{bF as st,V as i,T as nt,A as at,O as le,e as oe,_ as ke,h as lt,y as ze,gm as dt,a9 as ct,o as t,b as G,bN as ht,w as Be,f as I,an as pt,bV as ut,bn as ye,bX as Oe,bd as mt,ab as gt,x as C,e6 as xt,au as wt,i6 as Ct,ac as ft,aA as yt,C as ee,gq as kt,H as J,l as X,m as u,cc as St,e4 as vt,i7 as jt,i8 as $t,d as Ci,bs as fi,i9 as bt,bl as It,b_ as Je,ia as yi,cR as Lt,cS as q,a5 as de,L as ki,ib as zt,c1 as At,h_ as Xe,b6 as Si,b8 as vi,ad as je,aR as Ft}from"./index-ByqexAVU.js";import{b as he,a as f}from"./sentry-CY6wsJT-.js";import{n as o,c as Ye}from"./mui-Cni6P-fz.js";import{H as Pt,o as Rt,R as Bt,L as Dt,_ as _t,M as Et,S as Tt}from"./common-B74Sb4iG-wPHt407r.js";import{d as ji}from"./ZeniAvatar-5wP6sb3W-CwxwTkTA.js";import{T as $i}from"./RoleWithToolTip-VOllzDDB-BYsZPBtm.js";import{j as Ve}from"./CardNumberSubText-12zyW5qQ-CZArd4_p.js";import{t as bi,r as Ot}from"./spend-limit-D6SyboD4-DAZsY_K2.js";import{o as Vt,r as Nt}from"./unlock-BPWn2I5L-BcwMx3a4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="225ae1d5-8e67-43c3-8440-a013ede29f52",e._sentryDebugIdIdentifier="sentry-dbid-225ae1d5-8e67-43c3-8440-a013ede29f52")}catch{}})();const me=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Mt=le.getLocalizedStrings().common.strings.empty,Qe={key:"owner",value:me.owner,sortOrder:"ascending",width:new C(120,120,160,200,200)},Ze={key:"cardName",value:me.cardName,sortOrder:"ascending",width:new C(120,120,160,171,171)},ei={key:"cardType",value:me.cardType,sortOrder:"ascending",width:new C(120,120,130,170,170)},ii={key:"status",value:me.status,sortOrder:"ascending",width:new C(115,115,125,132,132)},ti={key:"utilisation",value:me.utilisation,sortOrder:"ascending",width:new C(u[11],u[11],u[11],u[12],120)},oi={key:"limit",value:me.limit,sortOrder:"ascending",width:new C(68,68,68,120,120)},Ii=e=>e===!0?[{...Qe,width:new C(0,0),value:Mt},Ze,ei,ii,ti,oi]:[Qe,Ze,ei,ii,ti,oi],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Ut}},chargeCard:j}}=le.getLocalizedStrings(),se={containerPaddingLeft:new C(u[3],u[2]),containerPaddingRight:new C(u[2],u[3]),containerPaddingTop:new C(u[2],u[3]),containerPaddingBottom:new C(u[2],u[3]),containerMarginLeft:new C(u[4],u[0]),containerMarginRight:new C(u[4],u[0]),webkitLineClamp:new C(2,1,1,1,1)};var Wt=(e=>(e.CLOSE="close",e.LOCK="lock",e.UNLOCK="unlock",e.RENAME="rename",e.UPDATE_SPEND_LIMIT="update_spend_limit",e.REVOKE_INVITE="revoke_invite",e))(Wt||{});const Ht={moreItemFont:new Ci("extraSmallRegular","smallRegular")},Kt=({setCardIdForRowAction:e,setActionTypeForRowAction:r,rowActionView:s,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:n,isCardControlsEnabled:a,showViewForCardUser:x,signedInUser:m,resendInviteId:y,index:k,onChargeCardRowClick:S,onChargeCardResendInviteClick:h})=>{const[p,w]=f.useState(!1),[$,R]=f.useState(!1);f.useEffect(()=>{p||R(!1)},[p]),f.useEffect(()=>{l.length>0&&p&&(w(!1),R(!1))},[l.length,p]);const B=s.cardId===n.id,D=l.includes(n.id),z=B&&s.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",M=B&&s.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",g=z||M,v=oe(),_=!!ke().loggedInUserRole.includes("charge_card_user")||x,U=f.useCallback(()=>{S(n.id,k)},[n.id]),T=yi(n)/n.limit.amount*100,W=n?.cardHolderUserId===m.userId,F=n.status.code!=="closed"&&n.status.code!=="closed_by_customer",O=Lt(n.cardHolderUser,!1),K=n.balance,A=Ii(_),H=i.jsxs(i.Fragment,{children:[i.jsx(q,{isLoading:g,customStyle:{width:t.sp9,height:"20px",borderRadius:t.sp1},children:i.jsx(ho,{title:de("0,0.[00]",K),className:"amountToUtilize",children:de("0,0.[00]",K)})}),T!==0?i.jsx(q,{isLoading:g,customStyle:{width:t.sp11,height:t.sp3,borderRadius:t.sp1},children:i.jsx(po,{className:"amountToUtilize",children:`${Math.round(T)}${Ut}`})}):null]}),V=n.type.code,ie=j.cardList.tooltip[V],te=ie!=null?W?ie.self:`${O} ${ie.cardUser}`:Ce.strings.empty;return i.jsx(Gt,{windowSize:v,children:i.jsx(Jt,{onClick:U,"data-testid":G("card-row",n.id),children:i.jsxs(Yt,{children:[_?null:i.jsx(pe,{children:i.jsxs(Qt,{windowSize:v,responsiveWidth:A[0].width,children:[i.jsx(q,{isLoading:g,flex:"0 0",customStyle:{width:t.sp6,height:t.sp6,borderRadius:"50%"},children:i.jsx(ji,{personBasic:n.cardHolderUser,styles:{height:t.sp6,width:t.sp6,minWidth:t.sp6}})}),i.jsxs(eo,{isLoading:g,children:[i.jsx(Zt,{isLoading:g,children:i.jsx(q,{isLoading:g,customStyle:{width:"88px",height:"20px",borderRadius:t.sp1},children:i.jsx(io,{windowSize:v,title:O,className:"cardHolderName",children:O===Ce.strings.empty?Ce.strings.hyphen:O})})}),i.jsx(q,{isLoading:g,customStyle:{width:"104px",height:t.sp3,borderRadius:t.sp1},children:i.jsx(ai,{className:"additionalInfoContainer",children:n.cardHolderRoles?.userRoles!=null&&i.jsx($i,{roles:n.cardHolderRoles?.userRoles})})})]})]})}),i.jsx(pe,{children:i.jsxs(so,{isLoading:g,windowSize:v,responsiveWidth:A[1].width,children:[i.jsx(q,{isLoading:g,customStyle:{width:"88px",height:"20px",borderRadius:t.sp1},children:i.jsx(no,{title:n.cardName,className:"cardName",children:n.cardName})}),i.jsxs(q,{isLoading:g,customStyle:{width:"104px",height:t.sp3,borderRadius:t.sp1},children:[" ",i.jsx(Co,{windowSize:v,className:"cardNameSubText",children:n.status.code==="request_on_hold"?Ce.strings.hyphen:j.cardDetails.expiryHideOut+Ce.strings.space+n.accountLast4})]})]})}),i.jsx(pe,{children:i.jsx(ao,{windowSize:v,responsiveWidth:A[2].width,children:i.jsx(lo,{className:"card-type",children:i.jsx(q,{isLoading:g,customStyle:{width:"144px",height:t.sp4,borderRadius:t.sp1},children:i.jsx(Ve,{cardDetail:n,forDetailPage:!1})})})})}),i.jsx(pe,{children:i.jsx(li,{windowSize:v,isLoading:g,responsiveWidth:A[3].width,children:i.jsx(q,{isLoading:g,customStyle:{width:"112px",height:t.sp4,borderRadius:t.sp1},children:y===n.id?i.jsx(ki,{size:"Small",start:!0}):i.jsxs(co,{children:[i.jsx(go,{children:n.status.code==="request_on_hold"?i.jsxs(ye,{display:"flex",title:te,placement:"top",style:{padding:`${t.sp2} ${t.sp3}`},children:[i.jsx(Le,{status:n.status.code,style:{cursor:"pointer"}}),i.jsx(uo,{style:{marginLeft:t.sp1},className:"infoIconTooltip"})]}):i.jsx(Le,{status:n.status.code})}),n.status.code!=="request_on_hold"||W?null:i.jsx(mo,{onClick:Y=>{Y.stopPropagation(),h(n.id)},"data-testid":G("send-reminder",n.id),children:j.cardList.sendReminder})]})})})}),i.jsx(pe,{children:i.jsx(li,{windowSize:v,isLoading:g,responsiveWidth:A[4].width,children:H})}),i.jsx(pe,{children:i.jsxs(to,{windowSize:v,responsiveWidth:A[5].width,children:[i.jsxs(oo,{windowSize:v,isLoading:g,children:[i.jsx(q,{isLoading:g,customStyle:{width:"68px",height:"20px",borderRadius:t.sp1},children:i.jsx(ro,{className:"limitAmount",windowSize:v,title:de("0,0.[00]",n.limit),children:de("0,0.[00]",n.limit)})}),i.jsx(ai,{className:"additionalInfoContainer",children:i.jsx(q,{isLoading:g,customStyle:{width:t.sp8,height:t.sp3,borderRadius:t.sp1},children:n.creditLimitFrequency.name})})]}),i.jsx(xo,{className:"menu-icon",onMouseEnter:()=>{!p&&F&&R(!0)},onMouseLeave:()=>{F&&R(!1)},children:(()=>{const Y=n.status.code==="locked",ge=n.status.code==="closed"||n.status.code==="closed_by_customer",xe=_?a&&!g&&!ge&&!(Y&&n.isLockedByAdmin):a?!g&&F:n.status.code==="request_on_hold",b=l.length>0;return xe&&i.jsx(ye,{open:$&&!p&&!b,variant:"standard",title:j.cardList.moreActionsTooltip,placement:"bottom-end",children:i.jsx(Oe,{isMenuVisible:!0,menuItems:i.jsx(wo,{children:i.jsx(Li,{cardDetail:n,isCardControlsEnabled:a,isChargeCardUser:_,setIsMenuOpen:w,setCardIdForRowAction:e,setActionTypeForRowAction:r})}),setIsMenuOpen:Ae=>{b||w(Ae)},isMenuOpen:p&&!b,menuIconStyles:{height:"auto",cursor:b?"not-allowed":"pointer",opacity:b?.5:1,pointerEvents:b?"none":"auto"},styles:{transform:`translate(${t.sp3},${t.sp2})`}})})})()})]})})]})})})},Li=({cardDetail:e,isCardControlsEnabled:r,isChargeCardUser:s,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const n=oe();return r?e.status.code==="request_on_hold"?s?i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}):i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsx($e,{}),i.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[i.jsx(Xt,{}),i.jsx(fe,{children:j.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?s?i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}):i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsx($e,{}),i.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[i.jsx(Re,{}),i.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?s?i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[i.jsx(ni,{}),i.jsx(E,{children:j.cardDetails.moreOptions.unlock})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[i.jsx(ni,{}),i.jsx(E,{children:j.cardDetails.moreOptions.unlock})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[i.jsx(ri,{}),i.jsx(E,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),i.jsx($e,{}),i.jsxs(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[i.jsx(Re,{}),i.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):s?i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("lock")},children:[i.jsx(si,{}),i.jsx(E,{children:j.cardDetails.moreOptions.lock})]})]}):i.jsxs(i.Fragment,{children:[i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[i.jsx(ri,{}),i.jsx(E,{children:j.cardDetails.moreOptions.updateSpendLimit})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("rename")},children:[i.jsx(re,{}),i.jsx(E,{children:j.cardDetails.moreOptions.rename})]}),i.jsxs(L,{windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("lock")},children:[i.jsx(si,{}),i.jsx(E,{children:j.cardDetails.moreOptions.lock})]}),i.jsx($e,{}),i.jsxs(L,{windowSize:n,hoverImportant:!0,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("close")},children:[i.jsx(Re,{}),i.jsx(fe,{children:j.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?i.jsx(L,{hoverImportant:!0,windowSize:n,onClick:a=>{a.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:i.jsx(fe,{children:j.cardDetails.revokeInvite})}):null},Le=({status:e,style:r})=>{const s=ze(),d=qt(e,s),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return oe()==="small"?i.jsx(Xe,{textColor:d,text:c[e],tagStyles:{maxWidth:t.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...r}}):i.jsx(Xe,{textColor:d,text:c[e],styles:r,tagStyles:{padding:"1px 6px"}})},qt=(e,r)=>{switch(e){case"active":return new je(I.success);case"request_on_hold":return new je(I.graphColor36);case"inactive":return new je(I.alert);default:return new je(r.colors.grey1)}},E=o(X)`
2
2
  color: inherit;
3
3
  `,fe=o(X)`
4
4
  color: ${I.important};
@@ -1,4 +1,4 @@
1
- import{h as Pe,_ as Le,e as H,y as V,V as t,a_ as ze,w as I,O as T,m as l,o as i,x,bF as Re,b as O,an as Ie,bV as Te,bd as De,ab as Be,l as W,cS as b,gk as U,a5 as K,bn as Oe,bl as Me,H as N,b_ as J,f,gl as he,fi as pe,fe as me,bH as Ae,C as F,h_ as ge,b8 as Ne,iw as He,ib as We,c1 as _e,ad as z}from"./index-BHAcVHeH.js";import{a as S,b as G}from"./sentry-CY6wsJT-.js";import{n,c as Q}from"./mui-Cni6P-fz.js";import{m as Ee}from"./BusyIndication-BZLVwIo8-6s8wSi7T.js";import{t as Ke}from"./SpendManagementSection-BXU3RGG8-BwEQ7fN8.js";import{r as Ve,a as Fe,i as ye,g as Ye}from"./SpendManagementListViewPage-DSG6Son_-3Woa8ZKL.js";import{m as Ze}from"./MoreMenuButton-5MZl4h9B-BympoCwa.js";import{c as X,L as Ue,M as Ge,S as qe}from"./common-B74Sb4iG-Ba1Dna3Q.js";import{Gv as ue,Gw as xe}from"./zeni-epic-state-cFF_NqwA.js";import{d as Je}from"./ZeniAvatar-5wP6sb3W-CKgtWCng.js";import{r as Qe}from"./auto-transfer-rule-mbafm5D3-Qtr813uy.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./filter-cZIFUNvj-Cn5LR_-W.js";import"./ZeniDatePicker-C_YQpGe--CXBBhIwN.js";import"./avatar-Dz7aEm3d-lVrrjTFE.js";import"./StatusSwitcher-_Cs3CzJl-D1XlTHt5.js";import"./bank-letter-BOcVjN6J-a5lcVCZG.js";import"./spend-limit-D6SyboD4-DAZsY_K2.js";import"./dollar-round-D18u7nlm-BxzwYsJa.js";import"./money-2cg1MuG4-BmcWx6In.js";import"./page-summary-D7_VQHwN-ZSqDN0WI.js";import"./transaction-placeholder-CpOwZAMG-B7lzeBRq.js";import"./unlock-BPWn2I5L-BcwMx3a4.js";import"./calculateSize-CAxK0dN_-6AyeRPo8.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]="e2b6f2bb-f67f-4310-a7e5-5d309c2069b3",e._sentryDebugIdIdentifier="sentry-dbid-e2b6f2bb-f67f-4310-a7e5-5d309c2069b3")}catch{}})();const _=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,Xe={key:"paymentDate",value:_.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},et={key:"sourceAccount",value:_.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},tt={key:"paymentStatus",value:_.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},it={key:"initiatedBy",value:_.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},nt={key:"amount",value:_.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},we=()=>[Xe,et,tt,it,nt],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(Ge,qe)},ot=G.memo(function({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=V(),s=H(),[d,y]=S.useState(we());S.useEffect(()=>{const r=[...d];for(const g of r)g.key===o.sortKey?g.sortOrder=o.sortOrder:g.sortOrder="ascending";y(r)},[o.sortKey,o.sortOrder]);const u=(r,g)=>{let w=g;o.sortKey===r&&(w=g==="ascending"?"descending":"ascending"),c(r,w)},h=d.find(r=>r.key===o.sortKey)??d[0],p=d.map(r=>r.key),m=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return s==="small"?t.jsxs(st,{windowSize:s,children:[t.jsxs(ct,{children:[t.jsx(pt,{children:t.jsx(ht,{})}),t.jsx(Me,{title:m.header.paymentDate,placeholder:m.header.paymentDate,pickerValues:p,valueToLabel:r=>d.find(g=>g.key===r)?.value??"",selectedValue:o.sortKey,onPickerSelectionChanged:r=>{u(r,"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(yt,{onClick:()=>u(h.key,h.sortOrder),"data-testid":O("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:h.value}),t.jsx(ee,{windowSize:s,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:s,children:t.jsx(J,{})})})]})]}):t.jsx(at,{windowSize:s,children:t.jsx(rt,{children:d.map(r=>r.width.value(s)!==0&&t.jsxs(dt,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:r.key,wrapperWidth:r.width,windowSize:s,children:[t.jsxs(gt,{onClick:()=>u(r.key,r.sortOrder),"data-testid":O("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:r.value}),t.jsx(ee,{windowSize:s,sortDataValue:o.sortKey,headerdata:r,children:t.jsx(te,{windowSize:s,children:t.jsx(J,{})})})]}),t.jsx(mt,{sortDataValue:o.sortKey,windowSize:s,isVisible:o.sortKey===r.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(lt,{onClick:()=>u("paymentDate","ascending"),"data-testid":O("payment-history-list-sort-cancel",o.sortKey)})})]},r.key))})})}),at=n.div`
1
+ import{h as Pe,_ as Le,e as H,y as V,V as t,a_ as ze,w as I,O as T,m as l,o as i,x,bF as Re,b as O,an as Ie,bV as Te,bd as De,ab as Be,l as W,cS as b,gk as U,a5 as K,bn as Oe,bl as Me,H as N,b_ as J,f,gl as he,fi as pe,fe as me,bH as Ae,C as F,h_ as ge,b8 as Ne,iw as He,ib as We,c1 as _e,ad as z}from"./index-ByqexAVU.js";import{a as S,b as G}from"./sentry-CY6wsJT-.js";import{n,c as Q}from"./mui-Cni6P-fz.js";import{m as Ee}from"./BusyIndication-BZLVwIo8-D7x09Syx.js";import{t as Ke}from"./SpendManagementSection-BXU3RGG8-BYhx4BvA.js";import{r as Ve,a as Fe,i as ye,g as Ye}from"./SpendManagementListViewPage-DSG6Son_-kr01Gbhc.js";import{m as Ze}from"./MoreMenuButton-5MZl4h9B-zFBR8G0C.js";import{c as X,L as Ue,M as Ge,S as qe}from"./common-B74Sb4iG-wPHt407r.js";import{Gv as ue,Gw as xe}from"./zeni-epic-state-cFF_NqwA.js";import{d as Je}from"./ZeniAvatar-5wP6sb3W-CwxwTkTA.js";import{r as Qe}from"./auto-transfer-rule-mbafm5D3-Qtr813uy.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./filter-cZIFUNvj-Cn5LR_-W.js";import"./ZeniDatePicker-C_YQpGe--B6o5NtIP.js";import"./avatar-Dz7aEm3d-lVrrjTFE.js";import"./StatusSwitcher-_Cs3CzJl-Dgp2ChlN.js";import"./bank-letter-BOcVjN6J-a5lcVCZG.js";import"./spend-limit-D6SyboD4-DAZsY_K2.js";import"./dollar-round-D18u7nlm-BxzwYsJa.js";import"./money-2cg1MuG4-BmcWx6In.js";import"./page-summary-D7_VQHwN-ZSqDN0WI.js";import"./transaction-placeholder-CpOwZAMG-B7lzeBRq.js";import"./unlock-BPWn2I5L-BcwMx3a4.js";import"./calculateSize-CAxK0dN_-CtindZTL.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]="e2b6f2bb-f67f-4310-a7e5-5d309c2069b3",e._sentryDebugIdIdentifier="sentry-dbid-e2b6f2bb-f67f-4310-a7e5-5d309c2069b3")}catch{}})();const _=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,Xe={key:"paymentDate",value:_.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},et={key:"sourceAccount",value:_.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},tt={key:"paymentStatus",value:_.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},it={key:"initiatedBy",value:_.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},nt={key:"amount",value:_.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},we=()=>[Xe,et,tt,it,nt],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(Ge,qe)},ot=G.memo(function({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=V(),s=H(),[d,y]=S.useState(we());S.useEffect(()=>{const r=[...d];for(const g of r)g.key===o.sortKey?g.sortOrder=o.sortOrder:g.sortOrder="ascending";y(r)},[o.sortKey,o.sortOrder]);const u=(r,g)=>{let w=g;o.sortKey===r&&(w=g==="ascending"?"descending":"ascending"),c(r,w)},h=d.find(r=>r.key===o.sortKey)??d[0],p=d.map(r=>r.key),m=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return s==="small"?t.jsxs(st,{windowSize:s,children:[t.jsxs(ct,{children:[t.jsx(pt,{children:t.jsx(ht,{})}),t.jsx(Me,{title:m.header.paymentDate,placeholder:m.header.paymentDate,pickerValues:p,valueToLabel:r=>d.find(g=>g.key===r)?.value??"",selectedValue:o.sortKey,onPickerSelectionChanged:r=>{u(r,"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(yt,{onClick:()=>u(h.key,h.sortOrder),"data-testid":O("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:h.value}),t.jsx(ee,{windowSize:s,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:s,children:t.jsx(J,{})})})]})]}):t.jsx(at,{windowSize:s,children:t.jsx(rt,{children:d.map(r=>r.width.value(s)!==0&&t.jsxs(dt,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:r.key,wrapperWidth:r.width,windowSize:s,children:[t.jsxs(gt,{onClick:()=>u(r.key,r.sortOrder),"data-testid":O("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:r.value}),t.jsx(ee,{windowSize:s,sortDataValue:o.sortKey,headerdata:r,children:t.jsx(te,{windowSize:s,children:t.jsx(J,{})})})]}),t.jsx(mt,{sortDataValue:o.sortKey,windowSize:s,isVisible:o.sortKey===r.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(lt,{onClick:()=>u("paymentDate","ascending"),"data-testid":O("payment-history-list-sort-cancel",o.sortKey)})})]},r.key))})})}),at=n.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{e as y,V as r,y as O,_ as be,h as ye,a7 as $e,a5 as je,fm as Se,a_ as Te,eY as ze,a as Q,b as ee,O as ne,o as i,c2 as ve,n as X,c3 as Pe,D as ke,x,s as Ie,bn as Ae,i2 as Be,C as _e,m as p,d as j,f as C,au as Le,ac as Re,i3 as Me}from"./index-BHAcVHeH.js";import{a as S}from"./sentry-CY6wsJT-.js";import{n as o,c as Ee,k as De}from"./mui-Cni6P-fz.js";import{F4 as Fe}from"./zeni-epic-state-cFF_NqwA.js";import{x as Ue}from"./NavigationDots-WUDG_g8M-CSwlLBTM.js";import{J as H,N as G}from"./PromoBaseCards-B_0dccCZ-BeKRkhdX.js";import{M as _}from"./usp-line-BBd1wKwW-CuU9mWQv.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="655ea2b3-4c3f-44cf-b95e-b251eba11829",e._sentryDebugIdIdentifier="sentry-dbid-655ea2b3-4c3f-44cf-b95e-b251eba11829")}catch{}})();const g={containerPaddingTopBottom:new x(p[0],p[0]),uspContainerMarginX:new x(p[6],p[0]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12]),buttonTrayGap:new x(p[3],p[5]),termsOfAgreementMarginTop:new x(p[5],p[10]),contactAdminContainerMarginTop:new x(p[0],p[10]),contactAdminContainerMarginBottom:new x(p[4],p[0]),contactAdminContainerMarginLeftRight:new x(p[3],p[0])},T={promoBadgeText:new j("standardRegular","largeRegular"),promoBadgeTextBold:new j("standardBold","largeBold"),cardsContent:new j("extraSmallRegular","smallRegular"),contactAdmin:new j("extraSmallRegular","largeRegular"),uspText:new j("smallRegular","standardRegular"),uspBoldText:new j("smallMedium","standardMedium")},{common:U,spendManagement:{chargeCard:{chargeCardsPromo:n}}}=ne.getLocalizedStrings(),Mr=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:t,showEnableCardButton:a,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:u,admins:$,cashbackRate:v,cardPromoType:d="credit",isCheckingEnabled:l,onSetupButtonClick:L,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:J,onExpressInterestClick:ge})=>{const he=O(),V=be(),z=y(),W=ye().analytics,{chargeCardTermsDetails:R,companyChargeCardInfo:f,companyLocaleInfo:M}=t,Y=$e(R?.fetchStatus.fetchState),[xe,Z]=S.useState(!1),we=f!=null&&M!=null?je("0,0",{amount:f.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;S.useEffect(()=>{Y==="In-Progress"&&R?.fetchStatus.fetchState==="Completed"&&J()},[Y,J,R?.fetchStatus]);const q=Fe(V.loggedInUserRoleMap),ue=Se(V),E=d==="credit"&&f?.isCompanyInterestedInChargeCard===!1&&f.chargeCardsCreditAccountLimit===0,D=d==="credit"&&f?.isCompanyInterestedInChargeCard===!0&&f.chargeCardsCreditAccountLimit===-1,F=d==="credit"&&f?.isCompanyInterestedInChargeCard===!0&&f.chargeCardsCreditAccountLimit===0,fe=d==="credit"&&f?.isCompanyInterestedInChargeCard===!0&&f.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:Ce}=t,K=E?n.getPreApprovedNow:a?n.enableCardsButton:n.setupCardsButton;return r.jsxs(Je,{children:[r.jsx(Te,{title:n.title[d],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:z==="medium-compact"||z==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(ze,{onCancelClick:()=>{Z(!1)},meetingUrl:e}):null,r.jsx(Ze,{windowSize:z,children:q===!0?r.jsxs(Ye,{children:[r.jsxs(We,{children:[r.jsx(He,{isApproved:fe,creditAmount:we,cardPromoType:d,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:f?.chargeCardsCreditAccountLimit}),r.jsx(ae,{cardPromoType:d,cashbackRate:v})]}),r.jsx(oe,{showEnableCardButton:a,cardPromoType:d,isUnderReview:F,isRejected:D,showExpressInterest:E,isCheckingEnabled:l})]}):r.jsx(Ge,{companyLegalName:s,cards:[],admins:$,cashbackRate:v,hasZeniFinopsRoles:ue,cardPromoType:d,isCheckingEnabled:l})}),!q||F||D?null:r.jsxs(tr,{windowSize:z,children:[r.jsx(Q,{variant:"secondary",label:n.scheduleDemoButton,style:{width:166},onClick:()=>{W.trackCardsPromoPageClicked("schedule demo"),W.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:w,isCreditCardEnabled:u},"Cards Promo"),Z(!0)},"data-testid":ee("schedule-demo-button")}),r.jsx(Ve,{windowSize:z,children:n.orText}),r.jsx(Q,{variant:"primary",label:K,style:{minWidth:166},loading:t.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||Ce==="In-Progress",onClick:K===n.getPreApprovedNow?ge:()=>L(d),"data-testid":ee("enable-card-button")})]})]})},Ne=({admins:e})=>{const s=e.flatMap(a=>a.user?.firstName+" "+a.user?.lastName).join(", "),t=y();return r.jsxs(pr,{windowSize:t,children:[r.jsx(N,{underline:!1,windowSize:t,children:n.noCardAssigned.pre}),r.jsx(Ae,{title:s,placement:"top-start",style:{padding:`2px ${i.sp2}`},children:r.jsx(N,{underline:!0,windowSize:t,children:n.noCardAssigned.tooltip})}),r.jsx(N,{underline:!1,windowSize:t,children:n.noCardAssigned.post})]})},oe=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:t,isUnderReview:a,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const w=y();return r.jsx(ir,{windowSize:w,children:r.jsx(Be,{topTermLabel:n.terms.checkingAccountTerm,buttonTermLabel:a===!0||c===!0||h===!0?void 0:m===!0?n.terms.getPreApprovedNowTerm:s?n.terms.alternateTerm1:n.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&a===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(w)},cardPromoType:e,isCheckingEnabled:t})})},He=({isApproved:e,cardPromoType:s,creditAmount:t,isUnderReview:a,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const w=y(),u=s==="debit_and_credit"?n.promoTextDebitCreditCard:s==="debit"?n.promoTextDebitCard:n.promoTextCreditCard,$=e?r.jsxs(r.Fragment,{children:[n.promoBadgeText.approved,r.jsx(ie,{children:t}),n.creditLimit,U.strings.space]}):m?r.jsxs(r.Fragment,{children:[n.promoBadgeText.nonPreApproved.get,r.jsx(er,{children:n.promoBadgeText.nonPreApproved.scale}),n.promoBadgeText.nonPreApproved.doubleStarred,U.strings.space,n.promoBadgeText.nonPreApproved.higherLimits]}):a?n.promoBadgeText.underReview:c?n.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[n.promoBadgeText.preApproved,r.jsx(ie,{children:t}),n.creditLimit,U.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:w==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:u}),r.jsx(ce,{children:n.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:u}),r.jsx(de,{children:n.promoSubText})]})}),r.jsxs(Ke,{cardPromoType:s,hasContent:$!=null,hideBadge:t==null||s==="debit",windowSize:w,children:[a||c||m?null:r.jsx(Cr,{}),r.jsx(Qe,{windowSize:w,children:$})]})]})},Ge=({companyLegalName:e,cards:s,admins:t,cashbackRate:a,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const w=y(),u=m==="debit_and_credit"?n.promoTextDebitCreditCard:m==="debit"?n.promoTextDebitCard:n.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[w==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:u}),r.jsx(ce,{children:n.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:u}),r.jsx(de,{children:n.promoSubText})]}),s.length===0?r.jsx(cr,{windowSize:w}):r.jsx(Oe,{cards:s,companyLegalName:e}),r.jsx(ae,{cardPromoType:m,cashbackRate:a}),c?null:r.jsx(Ne,{admins:t}),r.jsx(oe,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Oe=({cards:e,companyLegalName:s})=>{const t=O(),a=y();let c,m="";if(e.length===1){c=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;m=n.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else m=n.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(gr,{children:[c!=null?r.jsx(qe,{width:i.sp5,height:i.sp5,style:{paddingTop:a==="small"?i.sp1:i.sp0},src:c.href,alt:ne.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Ie},loading:"lazy"}):null,r.jsx(mr,{windowSize:a,mode:t.mode,children:r.jsx(hr,{windowSize:a,children:m})})]})},re=({windowSize:e,cardPromoType:s})=>{let t=n.businessText;return s==="debit"&&(t=`${t} ${n.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Xe,{}):r.jsxs(or,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:t,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(G,{cardPromoType:s,cardText:t,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ae=({cardPromoType:e,cashbackRate:s})=>{const t=y(),a=n.benefits;return r.jsxs(rr,{windowSize:t,children:[t==="small"?r.jsx(re,{windowSize:t,cardPromoType:e}):null,r.jsxs(nr,{windowSize:t,children:[r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(dr,{})}),r.jsxs(B,{children:[r.jsx(b,{windowSize:t,children:a.item1.pre}),r.jsx(I,{windowSize:t,children:a.item1.bold.replace("__cashback__",(100*s).toFixed(2))}),r.jsx(b,{windowSize:t,children:`${e==="credit"||e==="debit_and_credit"?a.singleStarred:""}${a.item1.post}`})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(ar,{})}),r.jsxs(B,{children:[r.jsx(b,{windowSize:t,children:a.item2.pre}),r.jsx(I,{windowSize:t,children:a.item2.bold}),r.jsx(b,{windowSize:t,children:a.item2.post})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(lr,{})}),r.jsxs(B,{children:[r.jsx(b,{windowSize:t,children:a.item3.pre}),r.jsx(I,{windowSize:t,children:a.item3.bold}),r.jsx(b,{windowSize:t,children:a.item3.post})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(sr,{})}),r.jsxs(B,{children:[r.jsx(b,{windowSize:t,children:a.item4.pre}),r.jsx(I,{windowSize:t,children:a.item4.bold}),r.jsx(b,{windowSize:t,children:a.item4.post})]})]})]}),t==="small"?null:r.jsx(re,{windowSize:t,cardPromoType:e})]})};let P;const Xe=()=>{const e=y(),s=O(),[t,a]=S.useState(0),[c,m]=S.useState(!1),h=n.businessText,w=`${h} ${n.debit}`,u=[{id:1,cardType:"debit",cardText:w},{id:2,cardType:"debit",cardText:w},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];S.useEffect(()=>(c||(P=setInterval(()=>{a(d=>{const l=d+1;return l===u.length?(m(!0),0):l})},2e3)),()=>clearInterval(P)),[c,u.length]),S.useEffect(()=>{c&&P!=null&&clearInterval(P)},[c]);const $=(d,l)=>{switch((d-t+u.length)%u.length){case 0:return{transform:`translate(0,${l?"100%":0}) scale(1)`,zIndex:l?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${l?"80%":"5%"}) scale(0.75)`,zIndex:l?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${l?"80%":"5%"}) scale(0.75)`,zIndex:l?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${l?"80%":"5%"}) scale(0.75)`,zIndex:l?4:5,opacity:1,transition:"all 0.4s"};default:return}},v=d=>{const l=$(d,!0);return{...l,transform:`${l?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}};return r.jsxs(xr,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:u.map((d,l)=>r.jsxs(ur,{children:[r.jsx(te,{isReflection:!1,style:{...$(l,!1)},onClick:()=>(L=>{c||m(!0),a(L)})(l),children:l===0||l===2?r.jsx(H,{cardPromoType:d.cardType,cardText:d.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(G,{cardPromoType:d.cardType,cardText:d.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},d.id),r.jsx(te,{isReflection:!0,style:{...v(l)},children:l===0||l===2?r.jsx(H,{cardPromoType:d.cardType,cardText:d.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:d.cardType,cardText:d.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-${d.id}`)]},d.id))}),c&&r.jsx(Ue,{numberOfDots:u.length,activeIndex:t,handleClick:a,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:i.sp2,height:i.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},Je=o.div`
1
+ import{e as y,V as r,y as O,_ as be,h as ye,a7 as $e,a5 as je,fm as Se,a_ as Te,eY as ze,a as Q,b as ee,O as ne,o as i,c2 as ve,n as X,c3 as Pe,D as ke,x,s as Ie,bn as Ae,i2 as Be,C as _e,m as p,d as j,f as C,au as Le,ac as Re,i3 as Me}from"./index-ByqexAVU.js";import{a as S}from"./sentry-CY6wsJT-.js";import{n as o,c as Ee,k as De}from"./mui-Cni6P-fz.js";import{F4 as Fe}from"./zeni-epic-state-cFF_NqwA.js";import{x as Ue}from"./NavigationDots-WUDG_g8M-DDdWfUW3.js";import{J as H,N as G}from"./PromoBaseCards-B_0dccCZ-Cll52Aug.js";import{M as _}from"./usp-line-BBd1wKwW-CuU9mWQv.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="655ea2b3-4c3f-44cf-b95e-b251eba11829",e._sentryDebugIdIdentifier="sentry-dbid-655ea2b3-4c3f-44cf-b95e-b251eba11829")}catch{}})();const g={containerPaddingTopBottom:new x(p[0],p[0]),uspContainerMarginX:new x(p[6],p[0]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12]),buttonTrayGap:new x(p[3],p[5]),termsOfAgreementMarginTop:new x(p[5],p[10]),contactAdminContainerMarginTop:new x(p[0],p[10]),contactAdminContainerMarginBottom:new x(p[4],p[0]),contactAdminContainerMarginLeftRight:new x(p[3],p[0])},T={promoBadgeText:new j("standardRegular","largeRegular"),promoBadgeTextBold:new j("standardBold","largeBold"),cardsContent:new j("extraSmallRegular","smallRegular"),contactAdmin:new j("extraSmallRegular","largeRegular"),uspText:new j("smallRegular","standardRegular"),uspBoldText:new j("smallMedium","standardMedium")},{common:U,spendManagement:{chargeCard:{chargeCardsPromo:n}}}=ne.getLocalizedStrings(),Mr=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:t,showEnableCardButton:a,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:u,admins:$,cashbackRate:v,cardPromoType:d="credit",isCheckingEnabled:l,onSetupButtonClick:L,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:J,onExpressInterestClick:ge})=>{const he=O(),V=be(),z=y(),W=ye().analytics,{chargeCardTermsDetails:R,companyChargeCardInfo:f,companyLocaleInfo:M}=t,Y=$e(R?.fetchStatus.fetchState),[xe,Z]=S.useState(!1),we=f!=null&&M!=null?je("0,0",{amount:f.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;S.useEffect(()=>{Y==="In-Progress"&&R?.fetchStatus.fetchState==="Completed"&&J()},[Y,J,R?.fetchStatus]);const q=Fe(V.loggedInUserRoleMap),ue=Se(V),E=d==="credit"&&f?.isCompanyInterestedInChargeCard===!1&&f.chargeCardsCreditAccountLimit===0,D=d==="credit"&&f?.isCompanyInterestedInChargeCard===!0&&f.chargeCardsCreditAccountLimit===-1,F=d==="credit"&&f?.isCompanyInterestedInChargeCard===!0&&f.chargeCardsCreditAccountLimit===0,fe=d==="credit"&&f?.isCompanyInterestedInChargeCard===!0&&f.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:Ce}=t,K=E?n.getPreApprovedNow:a?n.enableCardsButton:n.setupCardsButton;return r.jsxs(Je,{children:[r.jsx(Te,{title:n.title[d],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:z==="medium-compact"||z==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(ze,{onCancelClick:()=>{Z(!1)},meetingUrl:e}):null,r.jsx(Ze,{windowSize:z,children:q===!0?r.jsxs(Ye,{children:[r.jsxs(We,{children:[r.jsx(He,{isApproved:fe,creditAmount:we,cardPromoType:d,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:f?.chargeCardsCreditAccountLimit}),r.jsx(ae,{cardPromoType:d,cashbackRate:v})]}),r.jsx(oe,{showEnableCardButton:a,cardPromoType:d,isUnderReview:F,isRejected:D,showExpressInterest:E,isCheckingEnabled:l})]}):r.jsx(Ge,{companyLegalName:s,cards:[],admins:$,cashbackRate:v,hasZeniFinopsRoles:ue,cardPromoType:d,isCheckingEnabled:l})}),!q||F||D?null:r.jsxs(tr,{windowSize:z,children:[r.jsx(Q,{variant:"secondary",label:n.scheduleDemoButton,style:{width:166},onClick:()=>{W.trackCardsPromoPageClicked("schedule demo"),W.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:w,isCreditCardEnabled:u},"Cards Promo"),Z(!0)},"data-testid":ee("schedule-demo-button")}),r.jsx(Ve,{windowSize:z,children:n.orText}),r.jsx(Q,{variant:"primary",label:K,style:{minWidth:166},loading:t.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||Ce==="In-Progress",onClick:K===n.getPreApprovedNow?ge:()=>L(d),"data-testid":ee("enable-card-button")})]})]})},Ne=({admins:e})=>{const s=e.flatMap(a=>a.user?.firstName+" "+a.user?.lastName).join(", "),t=y();return r.jsxs(pr,{windowSize:t,children:[r.jsx(N,{underline:!1,windowSize:t,children:n.noCardAssigned.pre}),r.jsx(Ae,{title:s,placement:"top-start",style:{padding:`2px ${i.sp2}`},children:r.jsx(N,{underline:!0,windowSize:t,children:n.noCardAssigned.tooltip})}),r.jsx(N,{underline:!1,windowSize:t,children:n.noCardAssigned.post})]})},oe=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:t,isUnderReview:a,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const w=y();return r.jsx(ir,{windowSize:w,children:r.jsx(Be,{topTermLabel:n.terms.checkingAccountTerm,buttonTermLabel:a===!0||c===!0||h===!0?void 0:m===!0?n.terms.getPreApprovedNowTerm:s?n.terms.alternateTerm1:n.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&a===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(w)},cardPromoType:e,isCheckingEnabled:t})})},He=({isApproved:e,cardPromoType:s,creditAmount:t,isUnderReview:a,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const w=y(),u=s==="debit_and_credit"?n.promoTextDebitCreditCard:s==="debit"?n.promoTextDebitCard:n.promoTextCreditCard,$=e?r.jsxs(r.Fragment,{children:[n.promoBadgeText.approved,r.jsx(ie,{children:t}),n.creditLimit,U.strings.space]}):m?r.jsxs(r.Fragment,{children:[n.promoBadgeText.nonPreApproved.get,r.jsx(er,{children:n.promoBadgeText.nonPreApproved.scale}),n.promoBadgeText.nonPreApproved.doubleStarred,U.strings.space,n.promoBadgeText.nonPreApproved.higherLimits]}):a?n.promoBadgeText.underReview:c?n.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[n.promoBadgeText.preApproved,r.jsx(ie,{children:t}),n.creditLimit,U.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:w==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:u}),r.jsx(ce,{children:n.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:u}),r.jsx(de,{children:n.promoSubText})]})}),r.jsxs(Ke,{cardPromoType:s,hasContent:$!=null,hideBadge:t==null||s==="debit",windowSize:w,children:[a||c||m?null:r.jsx(Cr,{}),r.jsx(Qe,{windowSize:w,children:$})]})]})},Ge=({companyLegalName:e,cards:s,admins:t,cashbackRate:a,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const w=y(),u=m==="debit_and_credit"?n.promoTextDebitCreditCard:m==="debit"?n.promoTextDebitCard:n.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[w==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:u}),r.jsx(ce,{children:n.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:u}),r.jsx(de,{children:n.promoSubText})]}),s.length===0?r.jsx(cr,{windowSize:w}):r.jsx(Oe,{cards:s,companyLegalName:e}),r.jsx(ae,{cardPromoType:m,cashbackRate:a}),c?null:r.jsx(Ne,{admins:t}),r.jsx(oe,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Oe=({cards:e,companyLegalName:s})=>{const t=O(),a=y();let c,m="";if(e.length===1){c=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;m=n.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else m=n.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(gr,{children:[c!=null?r.jsx(qe,{width:i.sp5,height:i.sp5,style:{paddingTop:a==="small"?i.sp1:i.sp0},src:c.href,alt:ne.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Ie},loading:"lazy"}):null,r.jsx(mr,{windowSize:a,mode:t.mode,children:r.jsx(hr,{windowSize:a,children:m})})]})},re=({windowSize:e,cardPromoType:s})=>{let t=n.businessText;return s==="debit"&&(t=`${t} ${n.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Xe,{}):r.jsxs(or,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:t,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(G,{cardPromoType:s,cardText:t,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ae=({cardPromoType:e,cashbackRate:s})=>{const t=y(),a=n.benefits;return r.jsxs(rr,{windowSize:t,children:[t==="small"?r.jsx(re,{windowSize:t,cardPromoType:e}):null,r.jsxs(nr,{windowSize:t,children:[r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(dr,{})}),r.jsxs(B,{children:[r.jsx(b,{windowSize:t,children:a.item1.pre}),r.jsx(I,{windowSize:t,children:a.item1.bold.replace("__cashback__",(100*s).toFixed(2))}),r.jsx(b,{windowSize:t,children:`${e==="credit"||e==="debit_and_credit"?a.singleStarred:""}${a.item1.post}`})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(ar,{})}),r.jsxs(B,{children:[r.jsx(b,{windowSize:t,children:a.item2.pre}),r.jsx(I,{windowSize:t,children:a.item2.bold}),r.jsx(b,{windowSize:t,children:a.item2.post})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(lr,{})}),r.jsxs(B,{children:[r.jsx(b,{windowSize:t,children:a.item3.pre}),r.jsx(I,{windowSize:t,children:a.item3.bold}),r.jsx(b,{windowSize:t,children:a.item3.post})]})]}),r.jsxs(k,{windowSize:t,children:[r.jsx(A,{children:r.jsx(sr,{})}),r.jsxs(B,{children:[r.jsx(b,{windowSize:t,children:a.item4.pre}),r.jsx(I,{windowSize:t,children:a.item4.bold}),r.jsx(b,{windowSize:t,children:a.item4.post})]})]})]}),t==="small"?null:r.jsx(re,{windowSize:t,cardPromoType:e})]})};let P;const Xe=()=>{const e=y(),s=O(),[t,a]=S.useState(0),[c,m]=S.useState(!1),h=n.businessText,w=`${h} ${n.debit}`,u=[{id:1,cardType:"debit",cardText:w},{id:2,cardType:"debit",cardText:w},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];S.useEffect(()=>(c||(P=setInterval(()=>{a(d=>{const l=d+1;return l===u.length?(m(!0),0):l})},2e3)),()=>clearInterval(P)),[c,u.length]),S.useEffect(()=>{c&&P!=null&&clearInterval(P)},[c]);const $=(d,l)=>{switch((d-t+u.length)%u.length){case 0:return{transform:`translate(0,${l?"100%":0}) scale(1)`,zIndex:l?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${l?"80%":"5%"}) scale(0.75)`,zIndex:l?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${l?"80%":"5%"}) scale(0.75)`,zIndex:l?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${l?"80%":"5%"}) scale(0.75)`,zIndex:l?4:5,opacity:1,transition:"all 0.4s"};default:return}},v=d=>{const l=$(d,!0);return{...l,transform:`${l?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}};return r.jsxs(xr,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:u.map((d,l)=>r.jsxs(ur,{children:[r.jsx(te,{isReflection:!1,style:{...$(l,!1)},onClick:()=>(L=>{c||m(!0),a(L)})(l),children:l===0||l===2?r.jsx(H,{cardPromoType:d.cardType,cardText:d.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(G,{cardPromoType:d.cardType,cardText:d.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},d.id),r.jsx(te,{isReflection:!0,style:{...v(l)},children:l===0||l===2?r.jsx(H,{cardPromoType:d.cardType,cardText:d.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:d.cardType,cardText:d.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-${d.id}`)]},d.id))}),c&&r.jsx(Ue,{numberOfDots:u.length,activeIndex:t,handleClick:a,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:i.sp2,height:i.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},Je=o.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{j as s}from"./pdf-CTJ16aEe.js";import{j as ue,l as oa,i as me,u as S,h as be,k as he,N as pa,o as ot,R as Mt,m as te}from"./core-oEkj6b51.js";import{ct as ce,F4 as Be,MN as Ia,cy as ye,cz as Se,cA as Ie,dt as Me,bH as $e,MO as Ge,MP as Va,pS as ha,gT as ga,MQ as fa,eg as ra,v$ as Xe,w1 as Ha,w2 as Ma,gL as ct,MR as ze,vP as it,MS as $t,MT as Gt,vS as ka,MU as zt,Lh as Ea,o2 as dt,vY as $a,er as Yt,MV as lt,MW as Ye,bs as Zt,MX as Kt,dj as Aa,di as Da,ww as Wt,dh as _a,KZ as qt,MY as ut,F5 as mt,bM as Qt,Lg as ca,x6 as Xt,MZ as Ja,wI as wa,M_ as Ct,x7 as Jt,LH as en,x8 as an,y2 as tn,pc as nn,xY as rn,wh as pt,wa as sn,M$ as on,dv as cn,wq as ht,wu as gt,du as dn,N0 as ln,wU as ft,N1 as un,N2 as mn,N3 as Cn,ws as bt,wd as yt,vV as St,wm as It,wk as kt,wo as pn,w0 as et,N4 as Et,N5 as Pa,wF as ba,HX as At,bN as Ga,N6 as hn,N7 as gn,N8 as fn,N9 as bn,wC as Oa,w$ as yn,wX as Sn,wy as In,wZ as kn,wP as En,wR as An,Na as Dt,x5 as _t,Dr as Dn,Nb as _n,Nc as wn,Nd as Pn,Ne as wt,Nf as Tn,xs as Fn,wH as Pt,wB as sa,wG as vn,Ng as xn,Nh as Ln,vM as Bn,Ni as Tt,Nj as Ft,Nk as Un,vO as Rn,vN as at,Nl as On,Nm as Nn,Nn as jn,HT as Vn,No as za,Np as Hn,sE as vt,hr as Mn,eh as $n,xx as Gn,Nq as xt,Nr as zn,xy as Yn,Ns as Zn,cg as Kn,pM as Wn,xn as qn,xh as Le,bt as Qn,FX as Xn,FY as Jn,G5 as er,Hb as ar}from"./zeni-epic-state-cFF_NqwA.js";import{js as X,_ as Re,aE as oe,aG as K,jQ as _e,lM as Ta,lX as tr,lY as nr,jM as Te,e as ia,aF as Pe,jO as fe,l8 as Ya,lZ as rr,x as da,jD as Fa,y as va,jz as q,O as Za,l_ as sr,a7 as Ka,i5 as qe,cR as Na,L as or,bj as Wa,k9 as cr,l$ as ir,kv as Lt,k4 as ja,k2 as Bt,J as Ut,m0 as dr,m1 as lr,m2 as ur,m3 as mr,o as ya,m4 as Cr,m5 as pr,m as Ba,N as hr,m6 as gr,m7 as fr,m8 as br,kc as yr}from"./index-BHAcVHeH.js";import{n as ke,D as Rt,S as Sr}from"./mui-Cni6P-fz.js";import{a as l}from"./sentry-CY6wsJT-.js";import{g as pe,a as la,b as Ot,c as Ee,d as Ae,e as Ue,f as Oe,A as Ir,h as qa,P as kr,i as Qa,s as Qe,j as Nt,k as He,l as jt,m as Er,n as Vt,p as Ar,S as tt}from"./SetupPagesScreen-KLzrKq5d.js";import xa from"./NotFoundScreen-SRDW4_mE.js";import{M as ua}from"./MobileAppDrawer-CTcTm5tx.js";import{v as nt}from"./utils-ChLimP28.js";import{t as Dr}from"./AddressScreen-Cb00RwYZ.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./analyticsHelper-CBcY8lmv.js";import"./routePaths-WWdcktge.js";import"./BusinessVerificationPageScreen-B_00ICvM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bd59b22d-8d1e-42dc-ae1a-99cf5511830a",e._sentryDebugIdIdentifier="sentry-dbid-bd59b22d-8d1e-42dc-ae1a-99cf5511830a")}catch{}})();function _r(){const e=ue(),{cardId:t}=oa(),a=me(),r=X.getSignedInUser(),n=S(W=>ce(W)),c=Re(),u=Be(c?.loggedInUserRoleMap),{useFeatureGate:m}=oe();if(r==null)throw Error("Can't access Add To Wallet Page without signing in...");const[E,i]=l.useState(!1),g=S(W=>Ia(W).firstViewAfterActivation);if(t==null)throw Error("Empty card id is not valid...");const I=n.userRole.includes("charge_card_user"),{isFeatureEnabled:_}=m(K.isChargeCardFeatureEnabled),C=!!n.companyChargeCardInfo?.info?.isChargeCardEnabled,{isFeatureEnabled:U}=m(K.isDebitCardFeatureEnabled),v=ye(n),T=Se(n),d=Ie(U,n),f=n.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,b=Ee({isDebitCardFeatureEnabled:U,isBankingOnlyTenant:d}),o=Ae({isCardsOnlyTenant:v,isChargeCardFeatureEnabled:_,isBookKeepingTenant:T,isDebitCardProductVisible:b,chargeCardsCreditAccountLimit:f}),w=!!n.companyDebitCardInfo?.info?.isDebitCardEnabled,O=S(W=>Me(W,n.companyId)),N=$e(O.controllers),{creditAccount:L,creditAccountRepayment:F}=S(W=>Ge(W)),R=S(W=>W.classListState.fetchState),p=!I&&o&&C,h=S(W=>Va(W,t,p,o)),[k,A]=l.useState(!1),M=h.chargeCard,$=M?.cardCreatedByUser?.userId,H=S(W=>$!=null?ha(W.userRoleState,$):void 0),B=H?.accountingClassIDs[0],y=S(W=>B!=null?ga(W.classState,{classId:B,reportId:"class_list"}):void 0),Y=M?.cardHolderUser?.userId,x=S(W=>Y!=null?ha(W.userRoleState,Y):void 0),P=x?.accountingClassIDs[0],z=S(W=>P!=null?ga(W.classState,{classId:P,reportId:"class_list"}):void 0),D=M?.type.code==="business_physical_credit_card"||M?.type.code==="business_physical_debit_card",Z=M?.type.code==="business_physical_debit_card";l.useEffect(()=>{g&&E===!1&&D&&(i(!0),setTimeout(()=>{a(fa()),Z&&a(ra({messageSection:"set_debit_card_pin",messageText:"success",type:"success",showStatusIcon:!0}))},5e3))},[g,E,D,Z]),l.useEffect(()=>{k||h.fetchState==="Completed"||h.fetchState==="In-Progress"||t==null||(A(!0),a(Xe(t,p,!1)))},[k,h,t,a]),l.useEffect(()=>{if(h.fetchState==="Completed"&&(D===!1||D&&M?.status?.code!=="active"||M?.cardHolderUserId!==r.userId||g===!1&&E===!1||M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card")){const W=pe(n.tenantEmailDomain,t,r,M,g);e(W)}},[h.fetchState,g,D]),l.useEffect(()=>{L.fetchState!=="Completed"&&L.fetchState!=="In-Progress"&&o&&C&&u&&a(Ha()),F.fetchState!=="Completed"&&F.fetchState!=="In-Progress"&&o&&C&&u&&a(Ma()),R!=="Completed"&&R!=="In-Progress"&&a(ct())},[L.fetchState,F.fetchState,a,o,C,u,R]);const G=()=>{if(r!=null&&t!=null){a(fa());const W=pe(n.tenantEmailDomain,t,r);e(W)}},ae=M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card",se=Ue(o,b,w,C),J=la(o,C,u,L,F),de=Ot(ae,h);return h.fetchState!=="Completed"?s.jsx(_e,{fetchState:"In-Progress"}):s.jsxs(s.Fragment,{children:[s.jsx(Ta,{showConfetti:g}),s.jsx(tr,{onGotItClick:G,isDebitCard:M?.type.code==="business_physical_debit_card",controllerEmails:N,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:b,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:C,productInformation:se,creditAccountInformation:J,debitAccountInformation:de,chargeCardDetailView:h,creditAccount:L,classListFetchState:R,creditAccountRepayment:F,cardIssuedByRoles:H?.userRoles,cardIssuedByDepartmentName:y?.className,cardHolderRoles:x?.userRoles,cardHolderDepartmentName:z?.className})]})}const wr=he(function(e){const t=ze(e);return{insightsData:t.insight,cashbackByPeriod:t.cashbackByPeriod,uiState:t.uiState,cashbackSummary:t.cashbackSummary}},function(e,t){const{currentTenant:a,navigate:r,location:n}=t,{tenantEmailDomain:c}=a;return{onColumnSortConfigChanged:(u,m)=>{e($t({uiState:{sortKey:u,sortOrder:m}}))},onBackClick:()=>{const u=Te(n.state?.pathnameStackToGoBack),m=u.poppedPathname??Tr(c);r(m,{state:{pathnameStackToGoBack:u.newStack}})}}})(nr);function Pr(){const e=ue(),t=me(),a=be(),r=X.getSignedInUser(),n=S(E=>ce(E)),[c,u]=l.useState(!1),m=S(E=>ze(E));if(l.useEffect(()=>{c||m.fetchState==="Completed"||m.fetchState==="In-Progress"||(u(!0),t(it()))},[c,m,t]),r==null)throw Error("Can't access cashback detail page without signing in...");return m.fetchState==="In-Progress"?s.jsx(_e,{fetchState:m.fetchState}):m.cashbackSummary.cashbackEarned.amount===0&&m.fetchState==="Completed"?s.jsx(xa,{}):s.jsx(wr,{navigate:e,location:a,currentTenant:n})}const Tr=e=>`/${e}/cards`,Fr={containerWidth:new da(100,58)},vr=({appContent:e})=>{const t=ia(),a=me(),r=ue(),{cardId:n}=oa(),c=be(),{useDynamicConfig:u}=oe(),[m,E]=l.useState(!1),[i,g]=l.useState(!1),[I,_]=l.useState(!1),[C,U]=l.useState(!1),v=X.getSignedInUser();if(v==null)throw Error("Can't access onboarding card page without signing in...");const T=S(z=>ce(z));if(n==null)throw Error("Empty card id is not valid...");const{configValue:d}=u(Pe.zeniCardsConfig),f=d.max_charge_card_activation_attempts_by_card_id,b=S(z=>Gt(z,n)),o=b.chargeCard,w=S(z=>z.chargeCardConfigState.fetchState),{useFeatureGate:O}=oe(),{isFeatureEnabled:N}=O(K.isChargeCardFeatureEnabled),{isFeatureEnabled:L}=O(K.isDebitCardFeatureEnabled),F=Ie(L,T),R=Ee({isDebitCardFeatureEnabled:L,isBankingOnlyTenant:F}),p=!!T.companyChargeCardInfo?.info?.isChargeCardEnabled,h=T.userRole.includes("charge_card_user"),k=ye(T),A=Se(T),M=T.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,$=Ae({isCardsOnlyTenant:k,isChargeCardFeatureEnabled:N,isBookKeepingTenant:A,isDebitCardProductVisible:R,chargeCardsCreditAccountLimit:M}),H=!h&&$&&p;l.useEffect(()=>{m===!1&&w!=="In-Progress"&&w!=="Completed"&&(a(ka()),E(!0)),i===!1&&b.fetchState==="Not-Started"&&(g(!0),a(Xe(n,H,$)))},[i,b.fetchState,m,w]);const B=o?.type.code==="business_physical_credit_card"||o?.type.code==="business_physical_debit_card";l.useEffect(()=>{if(b.fetchState==="Completed"){if(I===!1&&(B===!1||B&&o?.status?.code!=="inactive"||o?.cardHolderUserId!==v.userId)){const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);r(z,{state:{pathnameStackToGoBack:D}})}else if(I&&b.isRefreshingViewInBackground===!1&&o?.status?.code==="active"){a(zt({chargeCardId:n}));const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);a(Ea()),r(z,{state:{pathnameStackToGoBack:D}})}}},[b.fetchState,o?.type.code,I,b.isRefreshingViewInBackground]);const y=X.getZeniOtpTokenForCardHolder(n),Y=S(z=>dt(z.userState,v.userId)),x=()=>{o?.status?.code!=="active"&&a($a(n,!0))};l.useEffect(()=>{b.updatePhysicalChargeCardAttemptFetchState.fetchState==="Completed"&&o?.cardActivationAttemptHistory.some(z=>z.statusCode==="success")===!0&&I===!1&&(setTimeout(x,3e3),_(!0))},[b.updatePhysicalChargeCardAttemptFetchState.fetchState,o?.cardActivationAttemptHistory]);const P=z=>{U(z)};if(w!=="Completed"||o==null)return s.jsx(_e,{fetchState:"In-Progress"});if(o.shippingAddressId==null)throw Error("Can't access shippingAddressId.");if(Y?.phone==null)throw Error("Can't access user phone number.");return s.jsxs(Br,{children:[s.jsx(ua,{isAppContentDrawerOpen:C,handleDrawerToggle:P}),s.jsx(xr,{cardId:n,card:o,shippingAddressId:o.shippingAddressId,phone:Y.phone,signedInUser:v,isSandboxEnv:Ya(),chargeCardDetailState:b,signedInUserToken:y,navigate:r,currentTenant:T,location:c,maxChargeCardActivationAttempts:f[n]!=null?f[n]:d.default_max_charge_card_activation_attempts!=null?d.default_max_charge_card_activation_attempts:3,chargeCardCashbackRatePerTransaction:d.charge_card_cashback_rate_per_transaction!=null?d.charge_card_cashback_rate_per_transaction:.0175,onClickMenuIcon:()=>{P(!0)}}),e!=null?s.jsx(Lr,{windowSize:t,children:e}):null]})},xr=he(function(e,{chargeCardDetailState:t,shippingAddressId:a,location:r,cardId:n}){const c=Yt(e.addressState,a);if(c==null)throw Error("Can't access shippingAddress.");const u=lt(e,n),m=t.updateStatus,E=Ye(e,!1,!1,!1);let i=!1;E.fetchState==="Completed"&&E.cards.length<=1&&(i=!0);const g=r.state?.message==="comingFromV2UrlPath";return{showActivatePage:t.chargeCard?.providerCardCreateTime!=null&&t.chargeCard.providerCardCreateTime.add(24,"h").isBefore(Zt())||g,showMenuIcon:i,shippingAddress:c,vgsVaultId:Fa.cardVaultId,twoFAView:u,activationWaitStatus:m,isRefreshingViewInBackground:t.isRefreshingViewInBackground}},function(e,t){const{navigate:a,cardId:r,location:n,currentTenant:c,chargeCardDetailState:u}=t,m=u.chargeCard?.cardProviderID,{tenantEmailDomain:E}=c;return{onGetOtp:i=>{m!=null&&e(_a(i,"ChargeCardHolder",r))},onUpdatePhysicalChargeCardAttempt:i=>{e(Wt(r,i))},onResendOtp:i=>{m!=null&&e(Da(i,"ChargeCardHolder",r))},onVerifyOtp:(i,g)=>{m!=null&&e(Aa(i,g,"ChargeCardHolder",r))},onVerifyOtpSuccess:i=>{i!=null&&X.saveZeniOtpTokenForCardHolder(i,r)},onCVVActivateSuccess:()=>{e(Kt({chargeCardId:r}))},onBackClick:()=>{const i=Te(n.state?.pathnameStackToGoBack),g=i.poppedPathname==null||i.poppedPathname.includes("onboard")===!0?Oe(E):i.poppedPathname;a(g,{state:{pathnameStackToGoBack:i.newStack}})}}})(rr),Lr=ke.div`
1
+ import{j as s}from"./pdf-CTJ16aEe.js";import{j as ue,l as oa,i as me,u as S,h as be,k as he,N as pa,o as ot,R as Mt,m as te}from"./core-oEkj6b51.js";import{ct as ce,F4 as Be,MN as Ia,cy as ye,cz as Se,cA as Ie,dt as Me,bH as $e,MO as Ge,MP as Va,pS as ha,gT as ga,MQ as fa,eg as ra,v$ as Xe,w1 as Ha,w2 as Ma,gL as ct,MR as ze,vP as it,MS as $t,MT as Gt,vS as ka,MU as zt,Lh as Ea,o2 as dt,vY as $a,er as Yt,MV as lt,MW as Ye,bs as Zt,MX as Kt,dj as Aa,di as Da,ww as Wt,dh as _a,KZ as qt,MY as ut,F5 as mt,bM as Qt,Lg as ca,x6 as Xt,MZ as Ja,wI as wa,M_ as Ct,x7 as Jt,LH as en,x8 as an,y2 as tn,pc as nn,xY as rn,wh as pt,wa as sn,M$ as on,dv as cn,wq as ht,wu as gt,du as dn,N0 as ln,wU as ft,N1 as un,N2 as mn,N3 as Cn,ws as bt,wd as yt,vV as St,wm as It,wk as kt,wo as pn,w0 as et,N4 as Et,N5 as Pa,wF as ba,HX as At,bN as Ga,N6 as hn,N7 as gn,N8 as fn,N9 as bn,wC as Oa,w$ as yn,wX as Sn,wy as In,wZ as kn,wP as En,wR as An,Na as Dt,x5 as _t,Dr as Dn,Nb as _n,Nc as wn,Nd as Pn,Ne as wt,Nf as Tn,xs as Fn,wH as Pt,wB as sa,wG as vn,Ng as xn,Nh as Ln,vM as Bn,Ni as Tt,Nj as Ft,Nk as Un,vO as Rn,vN as at,Nl as On,Nm as Nn,Nn as jn,HT as Vn,No as za,Np as Hn,sE as vt,hr as Mn,eh as $n,xx as Gn,Nq as xt,Nr as zn,xy as Yn,Ns as Zn,cg as Kn,pM as Wn,xn as qn,xh as Le,bt as Qn,FX as Xn,FY as Jn,G5 as er,Hb as ar}from"./zeni-epic-state-cFF_NqwA.js";import{js as X,_ as Re,aE as oe,aG as K,jQ as _e,lM as Ta,lX as tr,lY as nr,jM as Te,e as ia,aF as Pe,jO as fe,l8 as Ya,lZ as rr,x as da,jD as Fa,y as va,jz as q,O as Za,l_ as sr,a7 as Ka,i5 as qe,cR as Na,L as or,bj as Wa,k9 as cr,l$ as ir,kv as Lt,k4 as ja,k2 as Bt,J as Ut,m0 as dr,m1 as lr,m2 as ur,m3 as mr,o as ya,m4 as Cr,m5 as pr,m as Ba,N as hr,m6 as gr,m7 as fr,m8 as br,kc as yr}from"./index-ByqexAVU.js";import{n as ke,D as Rt,S as Sr}from"./mui-Cni6P-fz.js";import{a as l}from"./sentry-CY6wsJT-.js";import{g as pe,a as la,b as Ot,c as Ee,d as Ae,e as Ue,f as Oe,A as Ir,h as qa,P as kr,i as Qa,s as Qe,j as Nt,k as He,l as jt,m as Er,n as Vt,p as Ar,S as tt}from"./SetupPagesScreen-C8L8QqMz.js";import xa from"./NotFoundScreen-B8XFlejE.js";import{M as ua}from"./MobileAppDrawer-CVmbFUtl.js";import{v as nt}from"./utils-ChLimP28.js";import{t as Dr}from"./AddressScreen-TV5gX_gl.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./analyticsHelper-BkUpwFP4.js";import"./routePaths-BnaAtOOM.js";import"./BusinessVerificationPageScreen-BSkh5puj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bd59b22d-8d1e-42dc-ae1a-99cf5511830a",e._sentryDebugIdIdentifier="sentry-dbid-bd59b22d-8d1e-42dc-ae1a-99cf5511830a")}catch{}})();function _r(){const e=ue(),{cardId:t}=oa(),a=me(),r=X.getSignedInUser(),n=S(W=>ce(W)),c=Re(),u=Be(c?.loggedInUserRoleMap),{useFeatureGate:m}=oe();if(r==null)throw Error("Can't access Add To Wallet Page without signing in...");const[E,i]=l.useState(!1),g=S(W=>Ia(W).firstViewAfterActivation);if(t==null)throw Error("Empty card id is not valid...");const I=n.userRole.includes("charge_card_user"),{isFeatureEnabled:_}=m(K.isChargeCardFeatureEnabled),C=!!n.companyChargeCardInfo?.info?.isChargeCardEnabled,{isFeatureEnabled:U}=m(K.isDebitCardFeatureEnabled),v=ye(n),T=Se(n),d=Ie(U,n),f=n.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,b=Ee({isDebitCardFeatureEnabled:U,isBankingOnlyTenant:d}),o=Ae({isCardsOnlyTenant:v,isChargeCardFeatureEnabled:_,isBookKeepingTenant:T,isDebitCardProductVisible:b,chargeCardsCreditAccountLimit:f}),w=!!n.companyDebitCardInfo?.info?.isDebitCardEnabled,O=S(W=>Me(W,n.companyId)),N=$e(O.controllers),{creditAccount:L,creditAccountRepayment:F}=S(W=>Ge(W)),R=S(W=>W.classListState.fetchState),p=!I&&o&&C,h=S(W=>Va(W,t,p,o)),[k,A]=l.useState(!1),M=h.chargeCard,$=M?.cardCreatedByUser?.userId,H=S(W=>$!=null?ha(W.userRoleState,$):void 0),B=H?.accountingClassIDs[0],y=S(W=>B!=null?ga(W.classState,{classId:B,reportId:"class_list"}):void 0),Y=M?.cardHolderUser?.userId,x=S(W=>Y!=null?ha(W.userRoleState,Y):void 0),P=x?.accountingClassIDs[0],z=S(W=>P!=null?ga(W.classState,{classId:P,reportId:"class_list"}):void 0),D=M?.type.code==="business_physical_credit_card"||M?.type.code==="business_physical_debit_card",Z=M?.type.code==="business_physical_debit_card";l.useEffect(()=>{g&&E===!1&&D&&(i(!0),setTimeout(()=>{a(fa()),Z&&a(ra({messageSection:"set_debit_card_pin",messageText:"success",type:"success",showStatusIcon:!0}))},5e3))},[g,E,D,Z]),l.useEffect(()=>{k||h.fetchState==="Completed"||h.fetchState==="In-Progress"||t==null||(A(!0),a(Xe(t,p,!1)))},[k,h,t,a]),l.useEffect(()=>{if(h.fetchState==="Completed"&&(D===!1||D&&M?.status?.code!=="active"||M?.cardHolderUserId!==r.userId||g===!1&&E===!1||M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card")){const W=pe(n.tenantEmailDomain,t,r,M,g);e(W)}},[h.fetchState,g,D]),l.useEffect(()=>{L.fetchState!=="Completed"&&L.fetchState!=="In-Progress"&&o&&C&&u&&a(Ha()),F.fetchState!=="Completed"&&F.fetchState!=="In-Progress"&&o&&C&&u&&a(Ma()),R!=="Completed"&&R!=="In-Progress"&&a(ct())},[L.fetchState,F.fetchState,a,o,C,u,R]);const G=()=>{if(r!=null&&t!=null){a(fa());const W=pe(n.tenantEmailDomain,t,r);e(W)}},ae=M?.type.code==="business_physical_debit_card"||M?.type.code==="business_virtual_debit_card",se=Ue(o,b,w,C),J=la(o,C,u,L,F),de=Ot(ae,h);return h.fetchState!=="Completed"?s.jsx(_e,{fetchState:"In-Progress"}):s.jsxs(s.Fragment,{children:[s.jsx(Ta,{showConfetti:g}),s.jsx(tr,{onGotItClick:G,isDebitCard:M?.type.code==="business_physical_debit_card",controllerEmails:N,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:b,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:C,productInformation:se,creditAccountInformation:J,debitAccountInformation:de,chargeCardDetailView:h,creditAccount:L,classListFetchState:R,creditAccountRepayment:F,cardIssuedByRoles:H?.userRoles,cardIssuedByDepartmentName:y?.className,cardHolderRoles:x?.userRoles,cardHolderDepartmentName:z?.className})]})}const wr=he(function(e){const t=ze(e);return{insightsData:t.insight,cashbackByPeriod:t.cashbackByPeriod,uiState:t.uiState,cashbackSummary:t.cashbackSummary}},function(e,t){const{currentTenant:a,navigate:r,location:n}=t,{tenantEmailDomain:c}=a;return{onColumnSortConfigChanged:(u,m)=>{e($t({uiState:{sortKey:u,sortOrder:m}}))},onBackClick:()=>{const u=Te(n.state?.pathnameStackToGoBack),m=u.poppedPathname??Tr(c);r(m,{state:{pathnameStackToGoBack:u.newStack}})}}})(nr);function Pr(){const e=ue(),t=me(),a=be(),r=X.getSignedInUser(),n=S(E=>ce(E)),[c,u]=l.useState(!1),m=S(E=>ze(E));if(l.useEffect(()=>{c||m.fetchState==="Completed"||m.fetchState==="In-Progress"||(u(!0),t(it()))},[c,m,t]),r==null)throw Error("Can't access cashback detail page without signing in...");return m.fetchState==="In-Progress"?s.jsx(_e,{fetchState:m.fetchState}):m.cashbackSummary.cashbackEarned.amount===0&&m.fetchState==="Completed"?s.jsx(xa,{}):s.jsx(wr,{navigate:e,location:a,currentTenant:n})}const Tr=e=>`/${e}/cards`,Fr={containerWidth:new da(100,58)},vr=({appContent:e})=>{const t=ia(),a=me(),r=ue(),{cardId:n}=oa(),c=be(),{useDynamicConfig:u}=oe(),[m,E]=l.useState(!1),[i,g]=l.useState(!1),[I,_]=l.useState(!1),[C,U]=l.useState(!1),v=X.getSignedInUser();if(v==null)throw Error("Can't access onboarding card page without signing in...");const T=S(z=>ce(z));if(n==null)throw Error("Empty card id is not valid...");const{configValue:d}=u(Pe.zeniCardsConfig),f=d.max_charge_card_activation_attempts_by_card_id,b=S(z=>Gt(z,n)),o=b.chargeCard,w=S(z=>z.chargeCardConfigState.fetchState),{useFeatureGate:O}=oe(),{isFeatureEnabled:N}=O(K.isChargeCardFeatureEnabled),{isFeatureEnabled:L}=O(K.isDebitCardFeatureEnabled),F=Ie(L,T),R=Ee({isDebitCardFeatureEnabled:L,isBankingOnlyTenant:F}),p=!!T.companyChargeCardInfo?.info?.isChargeCardEnabled,h=T.userRole.includes("charge_card_user"),k=ye(T),A=Se(T),M=T.companyChargeCardInfo?.info?.chargeCardsCreditAccountLimit??0,$=Ae({isCardsOnlyTenant:k,isChargeCardFeatureEnabled:N,isBookKeepingTenant:A,isDebitCardProductVisible:R,chargeCardsCreditAccountLimit:M}),H=!h&&$&&p;l.useEffect(()=>{m===!1&&w!=="In-Progress"&&w!=="Completed"&&(a(ka()),E(!0)),i===!1&&b.fetchState==="Not-Started"&&(g(!0),a(Xe(n,H,$)))},[i,b.fetchState,m,w]);const B=o?.type.code==="business_physical_credit_card"||o?.type.code==="business_physical_debit_card";l.useEffect(()=>{if(b.fetchState==="Completed"){if(I===!1&&(B===!1||B&&o?.status?.code!=="inactive"||o?.cardHolderUserId!==v.userId)){const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);r(z,{state:{pathnameStackToGoBack:D}})}else if(I&&b.isRefreshingViewInBackground===!1&&o?.status?.code==="active"){a(zt({chargeCardId:n}));const z=pe(T.tenantEmailDomain,n,v,o,!0),D=fe(c.state?.pathnameStackToGoBack,c.pathname);a(Ea()),r(z,{state:{pathnameStackToGoBack:D}})}}},[b.fetchState,o?.type.code,I,b.isRefreshingViewInBackground]);const y=X.getZeniOtpTokenForCardHolder(n),Y=S(z=>dt(z.userState,v.userId)),x=()=>{o?.status?.code!=="active"&&a($a(n,!0))};l.useEffect(()=>{b.updatePhysicalChargeCardAttemptFetchState.fetchState==="Completed"&&o?.cardActivationAttemptHistory.some(z=>z.statusCode==="success")===!0&&I===!1&&(setTimeout(x,3e3),_(!0))},[b.updatePhysicalChargeCardAttemptFetchState.fetchState,o?.cardActivationAttemptHistory]);const P=z=>{U(z)};if(w!=="Completed"||o==null)return s.jsx(_e,{fetchState:"In-Progress"});if(o.shippingAddressId==null)throw Error("Can't access shippingAddressId.");if(Y?.phone==null)throw Error("Can't access user phone number.");return s.jsxs(Br,{children:[s.jsx(ua,{isAppContentDrawerOpen:C,handleDrawerToggle:P}),s.jsx(xr,{cardId:n,card:o,shippingAddressId:o.shippingAddressId,phone:Y.phone,signedInUser:v,isSandboxEnv:Ya(),chargeCardDetailState:b,signedInUserToken:y,navigate:r,currentTenant:T,location:c,maxChargeCardActivationAttempts:f[n]!=null?f[n]:d.default_max_charge_card_activation_attempts!=null?d.default_max_charge_card_activation_attempts:3,chargeCardCashbackRatePerTransaction:d.charge_card_cashback_rate_per_transaction!=null?d.charge_card_cashback_rate_per_transaction:.0175,onClickMenuIcon:()=>{P(!0)}}),e!=null?s.jsx(Lr,{windowSize:t,children:e}):null]})},xr=he(function(e,{chargeCardDetailState:t,shippingAddressId:a,location:r,cardId:n}){const c=Yt(e.addressState,a);if(c==null)throw Error("Can't access shippingAddress.");const u=lt(e,n),m=t.updateStatus,E=Ye(e,!1,!1,!1);let i=!1;E.fetchState==="Completed"&&E.cards.length<=1&&(i=!0);const g=r.state?.message==="comingFromV2UrlPath";return{showActivatePage:t.chargeCard?.providerCardCreateTime!=null&&t.chargeCard.providerCardCreateTime.add(24,"h").isBefore(Zt())||g,showMenuIcon:i,shippingAddress:c,vgsVaultId:Fa.cardVaultId,twoFAView:u,activationWaitStatus:m,isRefreshingViewInBackground:t.isRefreshingViewInBackground}},function(e,t){const{navigate:a,cardId:r,location:n,currentTenant:c,chargeCardDetailState:u}=t,m=u.chargeCard?.cardProviderID,{tenantEmailDomain:E}=c;return{onGetOtp:i=>{m!=null&&e(_a(i,"ChargeCardHolder",r))},onUpdatePhysicalChargeCardAttempt:i=>{e(Wt(r,i))},onResendOtp:i=>{m!=null&&e(Da(i,"ChargeCardHolder",r))},onVerifyOtp:(i,g)=>{m!=null&&e(Aa(i,g,"ChargeCardHolder",r))},onVerifyOtpSuccess:i=>{i!=null&&X.saveZeniOtpTokenForCardHolder(i,r)},onCVVActivateSuccess:()=>{e(Kt({chargeCardId:r}))},onBackClick:()=>{const i=Te(n.state?.pathnameStackToGoBack),g=i.poppedPathname==null||i.poppedPathname.includes("onboard")===!0?Oe(E):i.poppedPathname;a(g,{state:{pathnameStackToGoBack:i.newStack}})}}})(rr),Lr=ke.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: ${e=>`${Fr.containerWidth.value(e.windowSize)}%`};
@@ -1,4 +1,4 @@
1
- import{y as je,e as Be,h as Ue,a7 as G,T as _e,c8 as ze,ad as Z,V as t,eI as Re,f as Le,x as d,a_ as We,L as $e,A as Ne,eZ as qe,de as He,e_ as Me,o as B,w as Ge,i4 as J,aU as Ze,a9 as Je,f0 as Ke,O as Qe,m as o,l as Xe}from"./index-BHAcVHeH.js";import{a as m}from"./sentry-CY6wsJT-.js";import{n as S}from"./mui-Cni6P-fz.js";import{cg as Ye}from"./zeni-epic-state-cFF_NqwA.js";import{x as et}from"./LabeledControlledCheckBoxField-C_c8Rs-i-Cz1fNsx_.js";import{g as tt}from"./UploadAdditionalDocumentOverlay-DUO2ZoU--ozi0LNFT.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="429ee487-9a71-41ce-8dd9-61fa542c1a2b",e._sentryDebugIdIdentifier="sentry-dbid-429ee487-9a71-41ce-8dd9-61fa542c1a2b")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,o[5],o[5]),sectionRowGap:new d(o[5],o[9],o[9]),iconWidthHeight:new d(20,o[4]),subTitlePaddingTop:new d(12,o[3]),subTitlePaddingBottom:new d(o[3],o[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(o[1],o[0])},K="chargeCardSetUpPage",f="payAccount",{commonSetUp:nt,spendManagement:it}=Qe.getLocalizedStrings(),{chargeCard:Y}=it,{chargeCardSetUp:g}=Y,{setUp:U}=nt,At=({autoPayThreshold:e,isDisabled:r,meetingUrl:w,isEarlyPayEnabled:h,chargeCardSetUpView:i,connectedAccountProvider:ee,filesEndPoint:te,authParams:ne,isAccountsEnabled:ie,isDebitCardOnlyEnabled:k,isCreditCardOnlyEnabled:ae,accountsPromoConfig:oe,onFetchLinkTokenClick:ce,onBackClick:se,onEnableChargeCardClick:le,onUpdateChargeCardClick:de,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:ue,onUpdatePaymentAccountLoginStatus:pe,onUpdatePrimaryFundingAccount:me,onUpdateAutoPayClick:ge,onEstablishConnectionClick:fe,onEstablishConnectionSuccess:he,onClickMenuIcon:ye,onEnableChargeCardSuccess:x,onEditFileName:be,onDeleteFile:Ce,updateFilesEntity:Se,onCompanyOfficerUpdated:we,onSendForVerificationClick:xe,onSignUpClick:Pe})=>{const y=je(),n=Be(),T=Ue().analytics,[P,b]=m.useState(!1),{fetchState:C,companyBillPayInfo:_,isRefreshingViewInBackground:Ae,updateStatus:u,accountUpdateStatus:ke,plaidConnectionDetails:Te,allBankAccounts:Ee,companyChargeCardInfo:E,companyDebitCardInfo:z,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:R}=i,L=G(C),A=G(u.fetchState),v=_e({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>Q(i),[i]),values:Q(i)}),ve=v.handleSubmit(le);m.useEffect(()=>{const Oe=v.watch((H,{name:M})=>{M!=null&&H!=null&&ze(()=>(async(V,Ve)=>{const a=Ve[f];if(V.includes(f))if(V.includes("fundingAccount")){if(a.fundingAccount.selectedOption!=null&&l?.id!=a.fundingAccount.selectedOption){const p=R.find(j=>j.id===a.fundingAccount.selectedOption);p!=null&&me(a.fundingAccount.selectedOption,p.accType)}}else if(a.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=a.account.selectedOption){const p=a.account.allOptions.find(j=>j.value===a.account.selectedOption);p!=null&&typeof p.label=="string"&&T.trackConnectBankLink(p.value,p.label,"charge_cards"),de(a.account.selectedOption,l.id,l.accType)}else V.includes("enableAutoPay")&&a.enableAutoPay!=null&&ge(a.enableAutoPay)})(M,H))});return()=>{Oe.unsubscribe()}}),m.useEffect(()=>{!P&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),P&&L==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,L]),m.useEffect(()=>{A==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,A,u.fetchState]);const I=E?.isChargeCardEnabled===!0,D=z?.isDebitCardEnabled===!0,W=z?.isDebitCardTOSAccepted===!0,$=E?.isChargeCardTOSAccepted===!0,N=_?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ye(l?.providerVerificationStatus?.code??""),F=k?N:N&&Ie,De=C==="In-Progress"||C==="Not-Started";m.useEffect(()=>{A==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,A,u.fetchState]);const O=k?F&&!D&&W:ae?F&&!I&&$:F&&!(I&&D)&&$&&W,Fe=O?g.setupSubTitleNotEnabled:g.setupSubTitle,q=y.mode==="light"?new Z(y.colors.brandColorJadeLight):new Z(y.colors.brandColorJadeDark);return t.jsxs(ot,{children:[t.jsx(Re,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(n),boxShadow:"none"}},open:P,onClose:()=>b(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(tt,{authParams:ne,filesEndPoint:te,updateStatus:u,onEditFileName:be,onDeleteFile:Ce,updateFilesEntity:Se,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:xe})}),t.jsx(We,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:se,showMenuIcon:!(I||D||n!=="medium-compact"&&n!=="small"),onClickMenuIcon:ye,source:"ChargeCardSetupPage"}),t.jsxs(at,{windowSize:n,children:[t.jsx(ct,{windowSize:n,children:Fe}),De?t.jsx(st,{children:t.jsx($e,{size:"ExtraLarge",start:!0})}):t.jsx(Ne,{...v,children:t.jsx("form",{id:X(K),onSubmit:ve,children:t.jsxs(lt,{windowSize:n,children:[t.jsx(qe,{onClick:()=>{P||s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")!==!0||!s.areAdditionalDocumentsRequestedForVerification||s.areAdditionalDocumentsSubmittedForVerification||s.userVerificationStatus?.code!=="require_info"?re?.():b(!0)},title:U.businessVerificationTitle,subTitle:U.businessVerificationSubTitle,header:U.businessVerificationHeader,icon:{element:t.jsx(He,{width:c.iconWidthHeight.valuePx(n),height:c.iconWidthHeight.valuePx(n)}),color:q},status:_?.businessVerificationStatus,isLoading:Ae,isActiveWhileLoading:!0}),k?null:t.jsx(Me,{connectedAccountProvider:ee,primaryFundingAccount:l,allFundingAccounts:R,plaidConnectionDetails:Te,allBankAccounts:Ee,sectionId:f,isDisabled:r,onFetchLinkTokenClick:ce,onEstablishConnectionClick:fe,onUpdatePaymentAccountStatus:ue,onUpdatePaymentAccountLoginStatus:pe,sectionTitle:g.setupAccountSectionTitle,onEstablishConnectionSuccess:he,icon:{element:t.jsx(Ze,{width:c.iconWidthHeight.valuePx(n),height:c.iconWidthHeight.valuePx(n)}),color:q},analytics:T,productType:"charge_cards",isAccountsEnabled:ie,onSignUpClick:Pe,pageName:g.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(et,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Ge.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:n==="small"?"flex-start":"center"},checkBoxField:{name:J(f,"enableAutoPay"),checkBoxValue:J(f,"enableAutoPay"),defaultChecked:E?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(n)}}})})]})})})]}),O?t.jsx(Je,{formId:X(K),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:n==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:O,meetingUrl:w,analytics:T,productType:"charge_cards"})]})},Q=e=>{const{allBankAccounts:r,allFundingAccounts:w,primaryFundingAccount:h}=e;return{[f]:{fundingAccount:{selectedOption:h?.id,allOptions:w.map(i=>({label:i.label,value:i.id,isRecommended:i.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(i=>({label:i.accountName,value:i.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},X=e=>`${e}_form`,at=S.div`
1
+ import{y as je,e as Be,h as Ue,a7 as G,T as _e,c8 as ze,ad as Z,V as t,eI as Re,f as Le,x as d,a_ as We,L as $e,A as Ne,eZ as qe,de as He,e_ as Me,o as B,w as Ge,i4 as J,aU as Ze,a9 as Je,f0 as Ke,O as Qe,m as o,l as Xe}from"./index-ByqexAVU.js";import{a as m}from"./sentry-CY6wsJT-.js";import{n as S}from"./mui-Cni6P-fz.js";import{cg as Ye}from"./zeni-epic-state-cFF_NqwA.js";import{x as et}from"./LabeledControlledCheckBoxField-C_c8Rs-i-BHT9Wulx.js";import{g as tt}from"./UploadAdditionalDocumentOverlay-DUO2ZoU--C5vn0EeB.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="429ee487-9a71-41ce-8dd9-61fa542c1a2b",e._sentryDebugIdIdentifier="sentry-dbid-429ee487-9a71-41ce-8dd9-61fa542c1a2b")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,o[5],o[5]),sectionRowGap:new d(o[5],o[9],o[9]),iconWidthHeight:new d(20,o[4]),subTitlePaddingTop:new d(12,o[3]),subTitlePaddingBottom:new d(o[3],o[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(o[1],o[0])},K="chargeCardSetUpPage",f="payAccount",{commonSetUp:nt,spendManagement:it}=Qe.getLocalizedStrings(),{chargeCard:Y}=it,{chargeCardSetUp:g}=Y,{setUp:U}=nt,At=({autoPayThreshold:e,isDisabled:r,meetingUrl:w,isEarlyPayEnabled:h,chargeCardSetUpView:i,connectedAccountProvider:ee,filesEndPoint:te,authParams:ne,isAccountsEnabled:ie,isDebitCardOnlyEnabled:k,isCreditCardOnlyEnabled:ae,accountsPromoConfig:oe,onFetchLinkTokenClick:ce,onBackClick:se,onEnableChargeCardClick:le,onUpdateChargeCardClick:de,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:ue,onUpdatePaymentAccountLoginStatus:pe,onUpdatePrimaryFundingAccount:me,onUpdateAutoPayClick:ge,onEstablishConnectionClick:fe,onEstablishConnectionSuccess:he,onClickMenuIcon:ye,onEnableChargeCardSuccess:x,onEditFileName:be,onDeleteFile:Ce,updateFilesEntity:Se,onCompanyOfficerUpdated:we,onSendForVerificationClick:xe,onSignUpClick:Pe})=>{const y=je(),n=Be(),T=Ue().analytics,[P,b]=m.useState(!1),{fetchState:C,companyBillPayInfo:_,isRefreshingViewInBackground:Ae,updateStatus:u,accountUpdateStatus:ke,plaidConnectionDetails:Te,allBankAccounts:Ee,companyChargeCardInfo:E,companyDebitCardInfo:z,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:R}=i,L=G(C),A=G(u.fetchState),v=_e({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>Q(i),[i]),values:Q(i)}),ve=v.handleSubmit(le);m.useEffect(()=>{const Oe=v.watch((H,{name:M})=>{M!=null&&H!=null&&ze(()=>(async(V,Ve)=>{const a=Ve[f];if(V.includes(f))if(V.includes("fundingAccount")){if(a.fundingAccount.selectedOption!=null&&l?.id!=a.fundingAccount.selectedOption){const p=R.find(j=>j.id===a.fundingAccount.selectedOption);p!=null&&me(a.fundingAccount.selectedOption,p.accType)}}else if(a.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=a.account.selectedOption){const p=a.account.allOptions.find(j=>j.value===a.account.selectedOption);p!=null&&typeof p.label=="string"&&T.trackConnectBankLink(p.value,p.label,"charge_cards"),de(a.account.selectedOption,l.id,l.accType)}else V.includes("enableAutoPay")&&a.enableAutoPay!=null&&ge(a.enableAutoPay)})(M,H))});return()=>{Oe.unsubscribe()}}),m.useEffect(()=>{!P&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),P&&L==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,L]),m.useEffect(()=>{A==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,A,u.fetchState]);const I=E?.isChargeCardEnabled===!0,D=z?.isDebitCardEnabled===!0,W=z?.isDebitCardTOSAccepted===!0,$=E?.isChargeCardTOSAccepted===!0,N=_?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ye(l?.providerVerificationStatus?.code??""),F=k?N:N&&Ie,De=C==="In-Progress"||C==="Not-Started";m.useEffect(()=>{A==="In-Progress"&&u.fetchState==="Completed"&&x()},[x,A,u.fetchState]);const O=k?F&&!D&&W:ae?F&&!I&&$:F&&!(I&&D)&&$&&W,Fe=O?g.setupSubTitleNotEnabled:g.setupSubTitle,q=y.mode==="light"?new Z(y.colors.brandColorJadeLight):new Z(y.colors.brandColorJadeDark);return t.jsxs(ot,{children:[t.jsx(Re,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(n),boxShadow:"none"}},open:P,onClose:()=>b(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(tt,{authParams:ne,filesEndPoint:te,updateStatus:u,onEditFileName:be,onDeleteFile:Ce,updateFilesEntity:Se,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:xe})}),t.jsx(We,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:se,showMenuIcon:!(I||D||n!=="medium-compact"&&n!=="small"),onClickMenuIcon:ye,source:"ChargeCardSetupPage"}),t.jsxs(at,{windowSize:n,children:[t.jsx(ct,{windowSize:n,children:Fe}),De?t.jsx(st,{children:t.jsx($e,{size:"ExtraLarge",start:!0})}):t.jsx(Ne,{...v,children:t.jsx("form",{id:X(K),onSubmit:ve,children:t.jsxs(lt,{windowSize:n,children:[t.jsx(qe,{onClick:()=>{P||s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")!==!0||!s.areAdditionalDocumentsRequestedForVerification||s.areAdditionalDocumentsSubmittedForVerification||s.userVerificationStatus?.code!=="require_info"?re?.():b(!0)},title:U.businessVerificationTitle,subTitle:U.businessVerificationSubTitle,header:U.businessVerificationHeader,icon:{element:t.jsx(He,{width:c.iconWidthHeight.valuePx(n),height:c.iconWidthHeight.valuePx(n)}),color:q},status:_?.businessVerificationStatus,isLoading:Ae,isActiveWhileLoading:!0}),k?null:t.jsx(Me,{connectedAccountProvider:ee,primaryFundingAccount:l,allFundingAccounts:R,plaidConnectionDetails:Te,allBankAccounts:Ee,sectionId:f,isDisabled:r,onFetchLinkTokenClick:ce,onEstablishConnectionClick:fe,onUpdatePaymentAccountStatus:ue,onUpdatePaymentAccountLoginStatus:pe,sectionTitle:g.setupAccountSectionTitle,onEstablishConnectionSuccess:he,icon:{element:t.jsx(Ze,{width:c.iconWidthHeight.valuePx(n),height:c.iconWidthHeight.valuePx(n)}),color:q},analytics:T,productType:"charge_cards",isAccountsEnabled:ie,onSignUpClick:Pe,pageName:g.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(et,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Ge.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:n==="small"?"flex-start":"center"},checkBoxField:{name:J(f,"enableAutoPay"),checkBoxValue:J(f,"enableAutoPay"),defaultChecked:E?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(n)}}})})]})})})]}),O?t.jsx(Je,{formId:X(K),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:n==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||ke.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:O,meetingUrl:w,analytics:T,productType:"charge_cards"})]})},Q=e=>{const{allBankAccounts:r,allFundingAccounts:w,primaryFundingAccount:h}=e;return{[f]:{fundingAccount:{selectedOption:h?.id,allOptions:w.map(i=>({label:i.label,value:i.id,isRecommended:i.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(i=>({label:i.accountName,value:i.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},X=e=>`${e}_form`,at=S.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{y as F,e as T,V as t,a_ as W,o as h,O as R,x as g,l as B,at as _,h as O,h9 as V,L as q,b as J,m as s,bx as U}from"./index-BHAcVHeH.js";import{n as o}from"./mui-Cni6P-fz.js";import{$ as G,g as H}from"./BoxItem-Dqp4SNlI-EUjyx5Zm.js";import{a as K}from"./sentry-CY6wsJT-.js";import{w as Q}from"./downloadPdf-BAZhe2iR-C4ju3Lqh.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./commonDimensions-_Dpm4Anv-BHT-EeW2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="f138af55-11fc-428b-87dc-2e79e3ac77c6",e._sentryDebugIdIdentifier="sentry-dbid-f138af55-11fc-428b-87dc-2e79e3ac77c6")}catch{}})();const E=R.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},X=o.div`
1
+ import{y as F,e as T,V as t,a_ as W,o as h,O as R,x as g,l as B,at as _,h as O,h9 as V,L as q,b as J,m as s,bx as U}from"./index-ByqexAVU.js";import{n as o}from"./mui-Cni6P-fz.js";import{$ as G,g as H}from"./BoxItem-Dqp4SNlI-CnJYfmyU.js";import{a as K}from"./sentry-CY6wsJT-.js";import{w as Q}from"./downloadPdf-BAZhe2iR-XXbzTfDj.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./commonDimensions-_Dpm4Anv-JKxakvSV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="f138af55-11fc-428b-87dc-2e79e3ac77c6",e._sentryDebugIdIdentifier="sentry-dbid-f138af55-11fc-428b-87dc-2e79e3ac77c6")}catch{}})();const E=R.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},X=o.div`
2
2
  display: flex;
3
3
  padding: ${h.sp3} ${h.sp4};
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{e as oe,V as t,b as y,a5 as R,a as X,o,a9 as de,x as n,a8 as te,n as pe,O as ie,at as he,c2 as ae,C as ue,l as B,a7 as me,T as ge,c8 as fe,f as j,A as xe,fD as ke,cd as De,el as Y,cj as J,m as a,eT as be,bH as we,bu as $e,ex as ye,gk as je,H as G,gl as Le}from"./index-BHAcVHeH.js";import{a as b}from"./sentry-CY6wsJT-.js";import{n as i}from"./mui-Cni6P-fz.js";import{v as Pe}from"./SuccessAnimation-RuQd1S4B-C9QgxngQ.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="9bf6241a-d913-44d0-b5bb-8395af10733f",e._sentryDebugIdIdentifier="sentry-dbid-9bf6241a-d913-44d0-b5bb-8395af10733f")}catch{}})();const m="checkDepositDetails",Se="amount",ve="depositTo",Fe="source",se="fileIds",O="selectDocument",M=e=>{const l=[];return e.checkFront!=null&&l.push(e.checkFront.fileId),e.checkBack!=null&&l.push(e.checkBack.fileId),{[m]:{[Se]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Fe]:e.checkDepositLocalData.source,[ve]:{allOptions:e.depositAccounts.depositAccounts.map(g=>({label:g.accountName,value:g.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[se]:l,[O]:{front:e.checkFront,back:e.checkBack}}}},$=(e,l)=>`${e}.${l}`,Ce=e=>`${e}_form`,p={largeLabelWidth:new n(160,160,160),rowContentPaddingLeft:new n(a[3],a[4]),checkPicRowContentPaddingXAxis:new n(a[3],a[4]),labeleMarginLeft:new n(a[0],a[0]),labeleMarginBottom:new n(a[2],a[0]),labelMarginRight:new n(a[3],a[3]),labeledFieldPaddingLeft:new n(a[3],a[0]),labeledFieldPaddingRight:new n(a[3],a[2]),labeledFieldPaddingTop:new n(a[3],a[3]),labeledFieldPaddingBottom:new n(a[3],a[2]),infoLabelPaddingRight:new n(a[0],a[3]),infoLabelMarginTop:new n(a[1],a[0])},{spendManagement:Te,common:q}=ie.getLocalizedStrings(),r=Te.zeniAccounts.zeniAccountList,Be=q.documents;function ze({checkDeposit:e,analytics:l,filesEndPoint:g,openPopup:L,authParams:P,onSaveChangesToLocalStore:z,updateFilesEntity:S,onDeleteFile:v,onEditFileName:F,onCheckDpositClick:A}){const c=oe(),d=e.fetchState,C=me(d),[T,H]=b.useState(!1),[le,I]=b.useState(!1),E=p.largeLabelWidth.value(c),k=ge({mode:"all",reValidateMode:"onBlur",defaultValues:M(e),values:M(e)}),{isValid:re}=k.formState,W=s=>{const f={amount:{amount:s[m].amount??0,currencyCode:q.currency.currencyCode,currencySymbol:q.currency.currencySymbol},source:s[m].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===s[m].depositTo.selectedOption),fileIds:s[m][se]};z(f)};b.useEffect(()=>{const s=k.watch((f,{name:h})=>{h!=null&&f!=null&&fe(()=>(async(D,x)=>{if(D!=null){if(D.includes("source")||D.includes("amount"))return;const w=Object.assign({},x);W(w)}})(h,f))});return()=>{s.unsubscribe()}}),b.useEffect(()=>{C==="Completed"&&d==="Not-Started"&&k.reset(M(e))},[C,d,k,e]),b.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const ne=k.handleSubmit(()=>{if(re){l.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const s=k.getValues();W(s),A?.()}});return t.jsxs(t.Fragment,{children:[le?t.jsx(Ve,{children:t.jsxs(Re,{children:[t.jsxs(Oe,{children:[t.jsx(_e,{}),t.jsxs(Ge,{children:[t.jsx(He,{children:e.error?.title}),t.jsx(We,{children:e.error?.message})]})]}),t.jsx(qe,{children:t.jsx(ao,{"data-testid":y("check-deposit-form-close"),onClick:()=>{l.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),I(!1)},style:{width:o.sp3,height:o.sp3,color:j.heroLight}})})]})}):null,t.jsx(Xe,{children:R("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(xe,{...k,children:t.jsx("form",{id:Ce("checkDepositDetailPage"),onSubmit:ne,children:t.jsxs(Je,{children:[t.jsx(ke,{showAdditionalInfoLabel:!1,label:{label:r.checkDepositDrawer.amountLabel,width:E},formattedTextField:{type:"number",name:$(m,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:r.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(V,{}),t.jsx(De,{label:{label:r.checkDepositDrawer.sourceLabel,width:E},style:{width:"100%"},text:{type:"text",name:$(m,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:r.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:s=>s!=null}}}),t.jsx(V,{}),t.jsx(ce,{size:c,children:t.jsx(Qe,{size:c,children:t.jsx(Ye,{label:{label:r.checkDepositDrawer.depositToLabel,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(c),marginBottom:p.labeleMarginBottom.valuePx(c),marginRight:p.labelMarginRight.valuePx(c)}},style:{paddingTop:p.labeledFieldPaddingTop.valuePx(c),paddingBottom:p.labeledFieldPaddingBottom.valuePx(c),paddingLeft:p.labeledFieldPaddingLeft.valuePx(c),paddingRight:p.labeledFieldPaddingRight.valuePx(c),border:"none",width:"100%",outline:"none",padding:0,display:c==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:c==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(c),marginTop:p.infoLabelMarginTop.valuePx(c)},singleSelectPickerField:{valueToLogo:(s,f)=>((h,D)=>{if(!h)return null;const x=e.depositAccounts.depositAccounts.find(N=>N.id===h),w=e.depositAccounts.depositAccounts.findIndex(N=>N.id===h);return x?t.jsx(Me,{color:je(w),isSelectedValue:D}):null})(s,f),valueToSubLabels:(s,f)=>((h,D)=>{if(!h)return null;const x=e.depositAccounts.depositAccounts.find(w=>w.id===h);return x?D===!0?t.jsx(Ne,{children:x?.maskedAccountNumber}):t.jsxs(Ee,{children:[t.jsx(Z,{children:x?.maskedAccountNumber}),t.jsx(eo,{}),t.jsx(Z,{children:R("0,0[.]00",x?.accountBalance?.available)})]}):null})(s,f),name:$(m,"depositTo"),placeholder:r.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(s=>({label:s.accountName,value:s.id}))},textAlignment:"right",registerOptions:{required:!0,validate:s=>!(s==null||!s.selectedOption)}}})})}),t.jsx(V,{}),t.jsxs(Ze,{size:c,children:[t.jsxs(Ke,{size:c,children:[t.jsx(Ae,{children:r.checkDepositDrawer.checkPicLabel}),t.jsx(K,{isLast:!1,children:r.checkDepositDrawer.frontSide}),t.jsx(Y,{name:`${$(m,O)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:g,authParams:P,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:c==="small"?r.checkDepositDrawer.uploadDocument:r.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:T,updateFilesEntity:S,onDeleteFile:v,onFileSizeError:s=>H(s),onEditFileName:F,openPopup:L,showPhotoPicker:!0,errorInfoLabel:r.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(K,{isLast:!0,children:r.checkDepositDrawer.backSide}),t.jsx(Y,{name:`${$(m,O)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:g,authParams:P,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:c==="small"?r.checkDepositDrawer.uploadDocument:r.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:T,updateFilesEntity:S,onDeleteFile:v,onFileSizeError:s=>H(s),onEditFileName:F,openPopup:L,showPhotoPicker:!0,errorInfoLabel:r.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(oo,{children:r.checkDepositDrawer.picGuides.map(s=>t.jsxs(to,{children:[t.jsx(Ue,{}),t.jsx(Ie,{children:s})]},s))})]}),t.jsx(io,{windowSize:c,children:Be.formatJPGText10MB})]})]})})})]})}const Ae=i(B)`
1
+ import{e as oe,V as t,b as y,a5 as R,a as X,o,a9 as de,x as n,a8 as te,n as pe,O as ie,at as he,c2 as ae,C as ue,l as B,a7 as me,T as ge,c8 as fe,f as j,A as xe,fD as ke,cd as De,el as Y,cj as J,m as a,eT as be,bH as we,bu as $e,ex as ye,gk as je,H as G,gl as Le}from"./index-ByqexAVU.js";import{a as b}from"./sentry-CY6wsJT-.js";import{n as i}from"./mui-Cni6P-fz.js";import{v as Pe}from"./SuccessAnimation-RuQd1S4B-Bm3TMOLx.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="9bf6241a-d913-44d0-b5bb-8395af10733f",e._sentryDebugIdIdentifier="sentry-dbid-9bf6241a-d913-44d0-b5bb-8395af10733f")}catch{}})();const m="checkDepositDetails",Se="amount",ve="depositTo",Fe="source",se="fileIds",O="selectDocument",M=e=>{const l=[];return e.checkFront!=null&&l.push(e.checkFront.fileId),e.checkBack!=null&&l.push(e.checkBack.fileId),{[m]:{[Se]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Fe]:e.checkDepositLocalData.source,[ve]:{allOptions:e.depositAccounts.depositAccounts.map(g=>({label:g.accountName,value:g.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[se]:l,[O]:{front:e.checkFront,back:e.checkBack}}}},$=(e,l)=>`${e}.${l}`,Ce=e=>`${e}_form`,p={largeLabelWidth:new n(160,160,160),rowContentPaddingLeft:new n(a[3],a[4]),checkPicRowContentPaddingXAxis:new n(a[3],a[4]),labeleMarginLeft:new n(a[0],a[0]),labeleMarginBottom:new n(a[2],a[0]),labelMarginRight:new n(a[3],a[3]),labeledFieldPaddingLeft:new n(a[3],a[0]),labeledFieldPaddingRight:new n(a[3],a[2]),labeledFieldPaddingTop:new n(a[3],a[3]),labeledFieldPaddingBottom:new n(a[3],a[2]),infoLabelPaddingRight:new n(a[0],a[3]),infoLabelMarginTop:new n(a[1],a[0])},{spendManagement:Te,common:q}=ie.getLocalizedStrings(),r=Te.zeniAccounts.zeniAccountList,Be=q.documents;function ze({checkDeposit:e,analytics:l,filesEndPoint:g,openPopup:L,authParams:P,onSaveChangesToLocalStore:z,updateFilesEntity:S,onDeleteFile:v,onEditFileName:F,onCheckDpositClick:A}){const c=oe(),d=e.fetchState,C=me(d),[T,H]=b.useState(!1),[le,I]=b.useState(!1),E=p.largeLabelWidth.value(c),k=ge({mode:"all",reValidateMode:"onBlur",defaultValues:M(e),values:M(e)}),{isValid:re}=k.formState,W=s=>{const f={amount:{amount:s[m].amount??0,currencyCode:q.currency.currencyCode,currencySymbol:q.currency.currencySymbol},source:s[m].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===s[m].depositTo.selectedOption),fileIds:s[m][se]};z(f)};b.useEffect(()=>{const s=k.watch((f,{name:h})=>{h!=null&&f!=null&&fe(()=>(async(D,x)=>{if(D!=null){if(D.includes("source")||D.includes("amount"))return;const w=Object.assign({},x);W(w)}})(h,f))});return()=>{s.unsubscribe()}}),b.useEffect(()=>{C==="Completed"&&d==="Not-Started"&&k.reset(M(e))},[C,d,k,e]),b.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const ne=k.handleSubmit(()=>{if(re){l.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const s=k.getValues();W(s),A?.()}});return t.jsxs(t.Fragment,{children:[le?t.jsx(Ve,{children:t.jsxs(Re,{children:[t.jsxs(Oe,{children:[t.jsx(_e,{}),t.jsxs(Ge,{children:[t.jsx(He,{children:e.error?.title}),t.jsx(We,{children:e.error?.message})]})]}),t.jsx(qe,{children:t.jsx(ao,{"data-testid":y("check-deposit-form-close"),onClick:()=>{l.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),I(!1)},style:{width:o.sp3,height:o.sp3,color:j.heroLight}})})]})}):null,t.jsx(Xe,{children:R("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(xe,{...k,children:t.jsx("form",{id:Ce("checkDepositDetailPage"),onSubmit:ne,children:t.jsxs(Je,{children:[t.jsx(ke,{showAdditionalInfoLabel:!1,label:{label:r.checkDepositDrawer.amountLabel,width:E},formattedTextField:{type:"number",name:$(m,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:r.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(V,{}),t.jsx(De,{label:{label:r.checkDepositDrawer.sourceLabel,width:E},style:{width:"100%"},text:{type:"text",name:$(m,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:r.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:s=>s!=null}}}),t.jsx(V,{}),t.jsx(ce,{size:c,children:t.jsx(Qe,{size:c,children:t.jsx(Ye,{label:{label:r.checkDepositDrawer.depositToLabel,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(c),marginBottom:p.labeleMarginBottom.valuePx(c),marginRight:p.labelMarginRight.valuePx(c)}},style:{paddingTop:p.labeledFieldPaddingTop.valuePx(c),paddingBottom:p.labeledFieldPaddingBottom.valuePx(c),paddingLeft:p.labeledFieldPaddingLeft.valuePx(c),paddingRight:p.labeledFieldPaddingRight.valuePx(c),border:"none",width:"100%",outline:"none",padding:0,display:c==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:c==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(c),marginTop:p.infoLabelMarginTop.valuePx(c)},singleSelectPickerField:{valueToLogo:(s,f)=>((h,D)=>{if(!h)return null;const x=e.depositAccounts.depositAccounts.find(N=>N.id===h),w=e.depositAccounts.depositAccounts.findIndex(N=>N.id===h);return x?t.jsx(Me,{color:je(w),isSelectedValue:D}):null})(s,f),valueToSubLabels:(s,f)=>((h,D)=>{if(!h)return null;const x=e.depositAccounts.depositAccounts.find(w=>w.id===h);return x?D===!0?t.jsx(Ne,{children:x?.maskedAccountNumber}):t.jsxs(Ee,{children:[t.jsx(Z,{children:x?.maskedAccountNumber}),t.jsx(eo,{}),t.jsx(Z,{children:R("0,0[.]00",x?.accountBalance?.available)})]}):null})(s,f),name:$(m,"depositTo"),placeholder:r.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(s=>({label:s.accountName,value:s.id}))},textAlignment:"right",registerOptions:{required:!0,validate:s=>!(s==null||!s.selectedOption)}}})})}),t.jsx(V,{}),t.jsxs(Ze,{size:c,children:[t.jsxs(Ke,{size:c,children:[t.jsx(Ae,{children:r.checkDepositDrawer.checkPicLabel}),t.jsx(K,{isLast:!1,children:r.checkDepositDrawer.frontSide}),t.jsx(Y,{name:`${$(m,O)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:g,authParams:P,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:c==="small"?r.checkDepositDrawer.uploadDocument:r.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:T,updateFilesEntity:S,onDeleteFile:v,onFileSizeError:s=>H(s),onEditFileName:F,openPopup:L,showPhotoPicker:!0,errorInfoLabel:r.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(K,{isLast:!0,children:r.checkDepositDrawer.backSide}),t.jsx(Y,{name:`${$(m,O)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:g,authParams:P,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:c==="small"?r.checkDepositDrawer.uploadDocument:r.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:T,updateFilesEntity:S,onDeleteFile:v,onFileSizeError:s=>H(s),onEditFileName:F,openPopup:L,showPhotoPicker:!0,errorInfoLabel:r.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(oo,{children:r.checkDepositDrawer.picGuides.map(s=>t.jsxs(to,{children:[t.jsx(Ue,{}),t.jsx(Ie,{children:s})]},s))})]}),t.jsx(io,{windowSize:c,children:Be.formatJPGText10MB})]})]})})})]})}const Ae=i(B)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Ie=i(B)`
4
4
  color: ${e=>e.theme.colors.hero};
@@ -1,4 +1,4 @@
1
- import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a7 as Wn,e as W,S as Pn,B as Ui,cN as Fn,cO as Zi,O as N,m as C,cP as qt,bD as Qt,cQ as Jt,x as E,cs as Xt,_ as en,E as st,bO as He,bg as Y,L as qi,aE as Qi,aG as Ji,y as de,ad as I,aj as wo,bi as yo,j as Te,cR as Xi,cS as se,bC as tn,bt as zn,C as er,H as Ce,cT as dt,cU as Ve,cV as mt,l as _,bH as ne,cW as bo,cX as tr,w as nn,cY as Je,cZ as Tn,c_ as nr,c$ as or,d0 as Vn,d1 as ir,d2 as rr,d3 as ar,at as ko,aq as lr,b_ as on,bZ as rn,d4 as cr,ar as jo,c1 as So,bl as sr,d5 as dr,d6 as hr,d7 as Dn,d8 as En,d9 as ur,da as pr,bn as gr,b6 as xr,db as fr}from"./index-BHAcVHeH.js";import{n as a,c as z}from"./mui-Cni6P-fz.js";import{a as V,b as mr}from"./sentry-CY6wsJT-.js";import{Fu as Ot,Ff as an,FM as ln,FN as Ke,FO as cn,FP as sn,FQ as dn,FR as hn,FS as Co,FT as wr,Fh as Me,cj as Gn,bt as vo,FU as $o,cs as yr,cp as br,Fv as _o}from"./zeni-epic-state-cFF_NqwA.js";import{N as ct,D as kr,R as jr,B as ve,u as A}from"./AccountRow-B3Sz6a-V-GlNhkavB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9f348f50-6d08-4685-92f2-12506292d148",e._sentryDebugIdIdentifier="sentry-dbid-9f348f50-6d08-4685-92f2-12506292d148")}catch{}})();const Nt=[O.graphColor34,O.graphColor08,O.graphColor11,O.graphColor13,O.graphColor19,O.graphColor20,O.graphColor14,O.graphColor35,O.graphColor32,O.graphColor02,O.graphColor06,O.graphColor04,O.graphColor10,O.graphColor12,O.graphColor15,O.graphColor18];function un(e,n=0){const o=(i=>{const r=String.prototype.concat(...new Set(i));let l=0;for(let c=0;c<r.length;++c)l+=r.charCodeAt(c);return l})(e)+n*n*n;return Nt[Math.floor(o/Nt.length)%Nt.length]}function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return Z("0,0",e?.balance)}function J(e){return Z("0,0",e?.forecast)}function Lo(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.totalPercentValue)}return Z("0,0",e?.totalBalance)}function Tt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.forecastPercentValue)}return Z("0,0",e?.totalForecast)}function pe(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return ye("0.00%",Math.floor(100*n)/100)}return ye("0.00%",void 0)}function ge(e){if(e!=null&&e.forecast!=null){const n=Math.floor(100*(e.balance.amount-e.forecast.amount)/100);return Z("0,0",Object.assign({},e.forecast,{amount:n}))}return Z("0,0",null)}function Ao(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return ye("0.00%",Math.floor(100*n)/100)}return ye("0.00%",void 0)}function Bo(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor(100*(e.totalBalance.amount-e.totalForecast.amount)/100);return Z("0,0",Object.assign({},e.totalForecast,{amount:n}))}return Z("0,0",null)}const Ye=(e,n,o)=>{const{startDate:i,balanceType:r}=n,{dateFormat:{visual:l}}=N.getLocalizedStrings();switch(o){case"month":return r==="default"||r==="default_with_percent"?`${Ot(i,l.MMMYYYYFormat,e)}`:Mt(r,o);case"quarter":return r==="default"||r==="default_with_percent"?`${N.getLocalizedStrings().reports.quarterPrefix}${Ot(i,l.QYYYYformat,e)}`:Mt(r,o);case"year":return r==="default"||r==="default_with_percent"?`${Ot(i,l.YYYYformat,e)}`:Mt(r,o);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function Mt(e,n){return N.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const fg=(e,n,o)=>{const i=n.length==0?e:`${e}_${n.join("_")}`;return o!=null&&o.trim().length>0?`${i}_${o}`:`${i}_${Yi(10)}`},Sr=a.div`
1
+ import{ae as O,b9 as ye,a5 as Z,V as t,an as Ki,b as y,cM as Yi,o as s,f as ee,a7 as Wn,e as W,S as Pn,B as Ui,cN as Fn,cO as Zi,O as N,m as C,cP as qt,bD as Qt,cQ as Jt,x as E,cs as Xt,_ as en,E as st,bO as He,bg as Y,L as qi,aE as Qi,aG as Ji,y as de,ad as I,aj as wo,bi as yo,j as Te,cR as Xi,cS as se,bC as tn,bt as zn,C as er,H as Ce,cT as dt,cU as Ve,cV as mt,l as _,bH as ne,cW as bo,cX as tr,w as nn,cY as Je,cZ as Tn,c_ as nr,c$ as or,d0 as Vn,d1 as ir,d2 as rr,d3 as ar,at as ko,aq as lr,b_ as on,bZ as rn,d4 as cr,ar as jo,c1 as So,bl as sr,d5 as dr,d6 as hr,d7 as Dn,d8 as En,d9 as ur,da as pr,bn as gr,b6 as xr,db as fr}from"./index-ByqexAVU.js";import{n as a,c as z}from"./mui-Cni6P-fz.js";import{a as V,b as mr}from"./sentry-CY6wsJT-.js";import{Fu as Ot,Ff as an,FM as ln,FN as Ke,FO as cn,FP as sn,FQ as dn,FR as hn,FS as Co,FT as wr,Fh as Me,cj as Gn,bt as vo,FU as $o,cs as yr,cp as br,Fv as _o}from"./zeni-epic-state-cFF_NqwA.js";import{N as ct,D as kr,R as jr,B as ve,u as A}from"./AccountRow-B3Sz6a-V-CTAgoDt8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9f348f50-6d08-4685-92f2-12506292d148",e._sentryDebugIdIdentifier="sentry-dbid-9f348f50-6d08-4685-92f2-12506292d148")}catch{}})();const Nt=[O.graphColor34,O.graphColor08,O.graphColor11,O.graphColor13,O.graphColor19,O.graphColor20,O.graphColor14,O.graphColor35,O.graphColor32,O.graphColor02,O.graphColor06,O.graphColor04,O.graphColor10,O.graphColor12,O.graphColor15,O.graphColor18];function un(e,n=0){const o=(i=>{const r=String.prototype.concat(...new Set(i));let l=0;for(let c=0;c<r.length;++c)l+=r.charCodeAt(c);return l})(e)+n*n*n;return Nt[Math.floor(o/Nt.length)%Nt.length]}function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return Z("0,0",e?.balance)}function J(e){return Z("0,0",e?.forecast)}function Lo(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.totalPercentValue)}return Z("0,0",e?.totalBalance)}function Tt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return ye("0.00%",e.forecastPercentValue)}return Z("0,0",e?.totalForecast)}function pe(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return ye("0.00%",Math.floor(100*n)/100)}return ye("0.00%",void 0)}function ge(e){if(e!=null&&e.forecast!=null){const n=Math.floor(100*(e.balance.amount-e.forecast.amount)/100);return Z("0,0",Object.assign({},e.forecast,{amount:n}))}return Z("0,0",null)}function Ao(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return ye("0.00%",Math.floor(100*n)/100)}return ye("0.00%",void 0)}function Bo(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor(100*(e.totalBalance.amount-e.totalForecast.amount)/100);return Z("0,0",Object.assign({},e.totalForecast,{amount:n}))}return Z("0,0",null)}const Ye=(e,n,o)=>{const{startDate:i,balanceType:r}=n,{dateFormat:{visual:l}}=N.getLocalizedStrings();switch(o){case"month":return r==="default"||r==="default_with_percent"?`${Ot(i,l.MMMYYYYFormat,e)}`:Mt(r,o);case"quarter":return r==="default"||r==="default_with_percent"?`${N.getLocalizedStrings().reports.quarterPrefix}${Ot(i,l.QYYYYformat,e)}`:Mt(r,o);case"year":return r==="default"||r==="default_with_percent"?`${Ot(i,l.YYYYformat,e)}`:Mt(r,o);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function Mt(e,n){return N.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const fg=(e,n,o)=>{const i=n.length==0?e:`${e}_${n.join("_")}`;return o!=null&&o.trim().length>0?`${i}_${o}`:`${i}_${Yi(10)}`},Sr=a.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{e as Je,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn as gl,f9 as wl,s as Ye,fw as Qe,o,fC as Tl,cd as A,cf as Se,ci as Sl,ew as zl,eu as Nl,ch as Il,cg as Y,fD as el,fE as Al,f2 as Bl,cj as He,f1 as ll,ca as ql,f as B,c6 as il,al as _e,ck as Rl,fh as Ol,d as Ee,b6 as jl,f8 as vl,l as Xe,w as De,k as Wl,b3 as Ml,m as q,cM as Ul,v as Gl,fF as Hl,C as Ke,H as Zl,fG as Jl,b4 as Pe,ap as Yl,M as $l,cq as Ql,$ as Xl,b2 as Kl}from"./index-BHAcVHeH.js";import{a as h}from"./sentry-CY6wsJT-.js";import{d as ei,n as r}from"./mui-Cni6P-fz.js";import{bs as Ll,FH as li,FI as ol,bG as ii,FG as oi,FF as ti,FD as ai,FE as ri}from"./zeni-epic-state-cFF_NqwA.js";import{x as ni,p as si,h as di,g as ci,m as pi,b as ui,f as mi}from"./helper-D3UIpXq7-DCH1HBMI.js";import{C as Ze}from"./LabeledAddressValueField-D47ofJFV-CGqdgTnp.js";import{b as hi}from"./LabeledCountryMultiSelectField-vRw9drBe-Bw1loTny.js";import{D as tl}from"./LabeledCreatableSingleSelectField-CdF97ljM-DTrzefeb.js";import{Y as al}from"./LabeledDocumentField-Dn25Ru1C-CLM-i9xW.js";import{Z as Fl}from"./LabeledNameField-Dxx0xwMv-DBRkdNqp.js";import{p as fi,i as yi,t as bi}from"./commonTypes-C64XobC6-BTobasZR.js";import{r as Cl}from"./avatar-Dz7aEm3d-lVrrjTFE.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new l.Error().stack;u&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[u]="ec3dafba-5b67-4aff-9897-f527c1b33b42",l._sentryDebugIdIdentifier="sentry-dbid-ec3dafba-5b67-4aff-9897-f527c1b33b42")}catch{}})();const{commonSetUp:xi}=se.getLocalizedStrings(),{businessVerification:rl}=xi,Oe={iconSize:new _(q[6],q[10]),gap:new _(q[2],q[3])},_l={title:new Ee("smallSemiBold","standardSemiBold"),description:new Ee("smallRegular","standardRegular")},Dl=()=>{const[l]=Gl("Secure"),u=Je();return e.jsxs(gi,{windowSize:u,children:[l!=null?e.jsx(wi,{windowSize:u,animationData:l,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):e.jsx(Si,{windowSize:u}),e.jsxs(Ii,{children:[e.jsx(Oi,{windowSize:u,children:rl.securityMessageTitle}),e.jsx(ji,{windowSize:u,children:rl.securityMessageDescription})]})]})},gi=r.div`
1
+ import{e as Je,y as bl,cc as xl,O as se,x as _,a7 as Vl,V as e,bn as gl,f9 as wl,s as Ye,fw as Qe,o,fC as Tl,cd as A,cf as Se,ci as Sl,ew as zl,eu as Nl,ch as Il,cg as Y,fD as el,fE as Al,f2 as Bl,cj as He,f1 as ll,ca as ql,f as B,c6 as il,al as _e,ck as Rl,fh as Ol,d as Ee,b6 as jl,f8 as vl,l as Xe,w as De,k as Wl,b3 as Ml,m as q,cM as Ul,v as Gl,fF as Hl,C as Ke,H as Zl,fG as Jl,b4 as Pe,ap as Yl,M as $l,cq as Ql,$ as Xl,b2 as Kl}from"./index-ByqexAVU.js";import{a as h}from"./sentry-CY6wsJT-.js";import{d as ei,n as r}from"./mui-Cni6P-fz.js";import{bs as Ll,FH as li,FI as ol,bG as ii,FG as oi,FF as ti,FD as ai,FE as ri}from"./zeni-epic-state-cFF_NqwA.js";import{x as ni,p as si,h as di,g as ci,m as pi,b as ui,f as mi}from"./helper-D3UIpXq7-k6HHkxTA.js";import{C as Ze}from"./LabeledAddressValueField-D47ofJFV-vxJBVafU.js";import{b as hi}from"./LabeledCountryMultiSelectField-vRw9drBe-B76tRzel.js";import{D as tl}from"./LabeledCreatableSingleSelectField-CdF97ljM-CAYzF-3Y.js";import{Y as al}from"./LabeledDocumentField-Dn25Ru1C-B_WMp98N.js";import{Z as Fl}from"./LabeledNameField-Dxx0xwMv-q011DeE8.js";import{p as fi,i as yi,t as bi}from"./commonTypes-C64XobC6-zWzHHgag.js";import{r as Cl}from"./avatar-Dz7aEm3d-lVrrjTFE.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new l.Error().stack;u&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[u]="ec3dafba-5b67-4aff-9897-f527c1b33b42",l._sentryDebugIdIdentifier="sentry-dbid-ec3dafba-5b67-4aff-9897-f527c1b33b42")}catch{}})();const{commonSetUp:xi}=se.getLocalizedStrings(),{businessVerification:rl}=xi,Oe={iconSize:new _(q[6],q[10]),gap:new _(q[2],q[3])},_l={title:new Ee("smallSemiBold","standardSemiBold"),description:new Ee("smallRegular","standardRegular")},Dl=()=>{const[l]=Gl("Secure"),u=Je();return e.jsxs(gi,{windowSize:u,children:[l!=null?e.jsx(wi,{windowSize:u,animationData:l,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):e.jsx(Si,{windowSize:u}),e.jsxs(Ii,{children:[e.jsx(Oi,{windowSize:u,children:rl.securityMessageTitle}),e.jsx(ji,{windowSize:u,children:rl.securityMessageDescription})]})]})},gi=r.div`
2
2
  display: flex;
3
3
  align-items: ${l=>l.windowSize==="small"?"flex-start":"center"};
4
4
  gap: ${l=>Oe.gap.valuePx(l.windowSize)};
@@ -1,4 +1,4 @@
1
- import{V as r,a3 as E,a4 as x,O as p,o as l,b as M,aa as w,C as g,ab as H}from"./index-BHAcVHeH.js";import{n as o}from"./mui-Cni6P-fz.js";import{c as j}from"./SummaryCard-buadhnmc-COTvxgGf.js";import{a as t}from"./sentry-CY6wsJT-.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./ReloadCard-DMNbI6QE-C1j_tgy-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="a58b7242-08c2-4129-8539-75ba74bf5626",e._sentryDebugIdIdentifier="sentry-dbid-a58b7242-08c2-4129-8539-75ba74bf5626")}catch{}})();const y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}))},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}))},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}))}],B=o(w)`
1
+ import{V as r,a3 as E,a4 as x,O as p,o as l,b as M,aa as w,C as g,ab as H}from"./index-ByqexAVU.js";import{n as o}from"./mui-Cni6P-fz.js";import{c as j}from"./SummaryCard-buadhnmc-D_ubT5UT.js";import{a as t}from"./sentry-CY6wsJT-.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./ReloadCard-DMNbI6QE-C_0_5wQl.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="a58b7242-08c2-4129-8539-75ba74bf5626",e._sentryDebugIdIdentifier="sentry-dbid-a58b7242-08c2-4129-8539-75ba74bf5626")}catch{}})();const y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}))},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}))},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}))}],B=o(w)`
2
2
  margin: ${l.sp5};
3
3
  justify-content: space-between;
4
4
  `,b=o.div`
@@ -1,4 +1,4 @@
1
- import{e as V,V as t,c6 as ne,x as m,c7 as vt,m as h,y as Ft,a7 as Ct,T as Tt,c8 as kt,O as z,a_ as Lt,A as Nt,c9 as Pt,a9 as zt,ca as nt,cb as Et,a8 as Vt,o as a,l as we,cc as st,cd as P,ce as qe,cf as A,cg as ee,f as L,al as fe,ch as rt,ci as Mt,cj as dt,_ as At,ck as Wt,cl as Bt,cm as _t,cn as Rt,co as Yt,aQ as Ut,ab as qt,at as Q,C as Ie,a as He,cp as Ht,S as Gt,cq as Zt,bH as Jt,cr as Xt,H as Qt,cs as Kt}from"./index-BHAcVHeH.js";import{a as Y,b as ea}from"./sentry-CY6wsJT-.js";import{n,d as ta,k as aa}from"./mui-Cni6P-fz.js";import{FC as la,FD as ct,FE as pt,FF as mt,FG as ut,FH as ht,bR as ft,FI as ke,bG as oa,bs as Le,bE as ia,FJ as na}from"./zeni-epic-state-cFF_NqwA.js";import{D as yt}from"./LabeledCreatableSingleSelectField-CdF97ljM-DTrzefeb.js";import{Y as gt}from"./LabeledDocumentField-Dn25Ru1C-CLM-i9xW.js";import{e as sa}from"./LabeledSingleSelectField-EO8TA_z_-C26qdLJU.js";import{p as ra,i as da,t as ca}from"./commonTypes-C64XobC6-BTobasZR.js";import{b as pa}from"./LabeledCountryMultiSelectField-vRw9drBe-Bw1loTny.js";import{x as ma,f as ua,p as ha,h as fa,m as xt,b as ya,g as ga}from"./helper-D3UIpXq7-DCH1HBMI.js";import{$ as bt}from"./LabeledAddressValue-CY4Fn72d-VdKSkT_l.js";import{Z as wt}from"./LabeledNameField-Dxx0xwMv-DBRkdNqp.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="3c3f97fc-1dbc-4947-8484-f8f0917ec700",e._sentryDebugIdIdentifier="sentry-dbid-3c3f97fc-1dbc-4947-8484-f8f0917ec700")}catch{}})();const W={width:new m(343,580,726),height:new m(h[6],h[6]),controlHeight:new m(h[6],h[6]),paddingTopBottom:new m(h[2],h[2]),marginRight:new m(h[2],h[2]),labelMarginLeft:new m(h[3],h[4]),labelMarginRight:new m(h[3],h[4]),labelMarginTop:new m(h[2],h[2])};function xa({isDisabled:e,label:o,button:p,style:i}){const r=V();return t.jsxs(ba,{size:r,style:i,children:[t.jsx(ne,{isDisabled:e,label:o.label,style:{marginLeft:W.labelMarginLeft.value(r),marginRight:W.labelMarginRight.value(r),marginTop:W.labelMarginTop.value(r),width:o.width??"auto"}}),t.jsx(vt,{...p,style:{minHeight:W.controlHeight.value(r),display:"flex",flexGrow:1,...p.style}})]})}const ba=n.div`
1
+ import{e as V,V as t,c6 as ne,x as m,c7 as vt,m as h,y as Ft,a7 as Ct,T as Tt,c8 as kt,O as z,a_ as Lt,A as Nt,c9 as Pt,a9 as zt,ca as nt,cb as Et,a8 as Vt,o as a,l as we,cc as st,cd as P,ce as qe,cf as A,cg as ee,f as L,al as fe,ch as rt,ci as Mt,cj as dt,_ as At,ck as Wt,cl as Bt,cm as _t,cn as Rt,co as Yt,aQ as Ut,ab as qt,at as Q,C as Ie,a as He,cp as Ht,S as Gt,cq as Zt,bH as Jt,cr as Xt,H as Qt,cs as Kt}from"./index-ByqexAVU.js";import{a as Y,b as ea}from"./sentry-CY6wsJT-.js";import{n,d as ta,k as aa}from"./mui-Cni6P-fz.js";import{FC as la,FD as ct,FE as pt,FF as mt,FG as ut,FH as ht,bR as ft,FI as ke,bG as oa,bs as Le,bE as ia,FJ as na}from"./zeni-epic-state-cFF_NqwA.js";import{D as yt}from"./LabeledCreatableSingleSelectField-CdF97ljM-CAYzF-3Y.js";import{Y as gt}from"./LabeledDocumentField-Dn25Ru1C-B_WMp98N.js";import{e as sa}from"./LabeledSingleSelectField-EO8TA_z_-C5J3CIRA.js";import{p as ra,i as da,t as ca}from"./commonTypes-C64XobC6-zWzHHgag.js";import{b as pa}from"./LabeledCountryMultiSelectField-vRw9drBe-B76tRzel.js";import{x as ma,f as ua,p as ha,h as fa,m as xt,b as ya,g as ga}from"./helper-D3UIpXq7-k6HHkxTA.js";import{$ as bt}from"./LabeledAddressValue-CY4Fn72d-eGI6rz6c.js";import{Z as wt}from"./LabeledNameField-Dxx0xwMv-q011DeE8.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.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]="3c3f97fc-1dbc-4947-8484-f8f0917ec700",e._sentryDebugIdIdentifier="sentry-dbid-3c3f97fc-1dbc-4947-8484-f8f0917ec700")}catch{}})();const W={width:new m(343,580,726),height:new m(h[6],h[6]),controlHeight:new m(h[6],h[6]),paddingTopBottom:new m(h[2],h[2]),marginRight:new m(h[2],h[2]),labelMarginLeft:new m(h[3],h[4]),labelMarginRight:new m(h[3],h[4]),labelMarginTop:new m(h[2],h[2])};function xa({isDisabled:e,label:o,button:p,style:i}){const r=V();return t.jsxs(ba,{size:r,style:i,children:[t.jsx(ne,{isDisabled:e,label:o.label,style:{marginLeft:W.labelMarginLeft.value(r),marginRight:W.labelMarginRight.value(r),marginTop:W.labelMarginTop.value(r),width:o.width??"auto"}}),t.jsx(vt,{...p,style:{minHeight:W.controlHeight.value(r),display:"flex",flexGrow:1,...p.style}})]})}const ba=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{j as l}from"./pdf-CTJ16aEe.js";import{a as g}from"./sentry-CY6wsJT-.js";import{j as k,i as w,h as x,l as T,u as O,k as j}from"./core-oEkj6b51.js";import{y as E,js as D,jQ as P,k_ as F,bj as V,jz as A,J as L,ki as C,k$ as U,kv as _,ev as B,jO as M}from"./index-BHAcVHeH.js";import{ct as b,dl as G,oD as R,dg as z,bE as K,Kl as J,bm as Y,mK as $,my as H,hj as Q,iP as S,Km as X,bG as Z,bJ as N,iX as q,i_ as W}from"./zeni-epic-state-cFF_NqwA.js";import"./mui-Cni6P-fz.js";import{c as ee}from"./routePaths-WWdcktge.js";import{M as te}from"./MobileAppDrawer-CTcTm5tx.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new n.Error().stack;s&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[s]="22f89154-3fed-48e3-8add-8c144958e088",n._sentryDebugIdIdentifier="sentry-dbid-22f89154-3fed-48e3-8add-8c144958e088")}catch{}})();const ne=j(function(n){const s=z(n),r=D.getSignedInUser(),p=b(n),u=p.tenantId,d={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:u??""},f=K(p?.userRole??[])&&s.localData.updateStatus.fetchState!=="In-Progress"?void 0:"readonly",e=J(n.companyConfigState),t=n.countryListState?.byCountryListCode?.nationalityCountryList?.countries??[];return{isCompanyVerified:s.companyView?.company?.company?.companyBillPayInfo?.companyVerificationStatus?.code==="verified",companyPassportView:s,allIndustries:e.companyIndustries??[],allNationalityCountries:t,isDisabled:f,authParams:d,filesEndPoint:`${_.fileMicroServiceBaseUrl}`,isZeniUser:Y(r)}},function(n,s){const{companyId:r,currentTenant:p,navigate:u,location:d}=s,{tenantEmailDomain:f}=p;return{onScheduleClick:e=>{let t=e.href;t.includes("http")||(t="https://".concat(t)),window.open(t,"_blank")},onSaveAll:()=>{n(W())},onAddressClick:e=>{const t=ee(f,e),a=M(d.state?.pathnameStackToGoBack,d.pathname);u(t,{state:{pathnameStackToGoBack:a}})},onResetClick:()=>{n(q({companyId:r}))},onBackClick:()=>{u("../")},onCompanyDetailsChanged:e=>{const{companyInfo:t,incInfo:a,taxDetails:o,zeniFinanceTeam:I}=e,{website:c}=t,{meetingLink:m}=I,{incDate:i}=a,{taxesFiledYears:h}=o,v={companyInfo:{...t,website:c!=""&&c!=null?N(c):void 0,meetingLink:m!=""&&m!=null?N(m):void 0,industry:t.industry.selectedOption,companyIndustryType:t.companyIndustryType?.selectedOption??void 0,companySubIndustry:t.subIndustry?.selectedOption??void 0,businessModel:t.businessModel.selectedOption??"",companySourceOfFunds:t.companySourceOfFunds?.selectedOption,companySourceOfFundsDescription:t.companySourceOfFundsDescription??void 0,countriesOfOperations:t.countriesOfOperations?.selectedOptions?.map(y=>y.length===2?y:B(y))??[],transactionVolume:t.transactionVolume?.selectedOption??void 0,transactionVolumeDescription:t.transactionVolumeDescription??void 0,regulatedStatus:t.regulatedStatus??void 0,regulatedStatusDescription:t.regulatedStatusDescription??void 0,usNexus:t.usNexus??void 0,usNexusTypes:t.usNexusTypes?.selectedOptions??[],purposeOfAccount:t.purposeOfAccount?.selectedOption??void 0,purposeOfAccountDescription:t.purposeOfAccountDescription??void 0},incInfo:{typeOfInc:a.typeOfInc.selectedOption??"",stateOfInc:a.stateOfInc.selectedOption??"",incDate:i!=null?Z(i?.toString()):i,fileId:a.fileIds[0]},taxDetails:{taxIdOrEIN:o.taxIdOrEIN,sicCode:o.sicCode,naicsCode:o.naicsCode,dunsNumber:o.dunsNumber,taxesFiledYears:h.selectedOptions.map(y=>parseInt(y)),fileId:o.fileIds[0]}};n(S({companyDetails:v}))},onPrimaryContactDetailsUpdated:e=>{n(S({primaryContact:{userId:e.userId,email:e.email.trim(),firstName:e.name.firstName,lastName:e.name.lastName}}))},onNewCompanyOfficerAdded:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:void 0}]}))},onNewCompanyOfficerRemoved:e=>{n(X(e))},onCompanyOfficerUpdated:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:e.userId}]}))},updateFilesEntity:e=>{n(Q({files:e}))},onDeleteFile:e=>{n(H(e))},onEditFileName:(e,t)=>{n($(e,t.split(".")[0]))}}})(U);function pe(){const n=k(),s=w(),r=x(),{tenantEmailDomain:p}=T(),u=E(),[d,f]=g.useState(!1),[e,t]=g.useState(!1),a=O(i=>i.companyViewState.passportView.fetchState),o=O(i=>i.companyConfigState.fetchState),I=O(i=>b(i)),c=I.companyId??D.getSignedInUserTenant(p)?.companyId;if(D.getSignedInUser()==null)throw Error("Can't access company details page without signing in...");g.useEffect(()=>{d||a!=="Not-Started"||c==null||(f(!0),s(G(c)))},[d,a,c,s]),g.useEffect(()=>{o==="Not-Started"&&s(R())},[o,s]);const m=i=>{t(i)};return a==="Not-Started"||a==="In-Progress"||o==="Not-Started"||o==="In-Progress"?l.jsx(P,{fetchState:a==="In-Progress"?a:o,style:{backgroundColor:u.colors.grey5}}):c!=null&&a==="Error"?l.jsx(F,{onGoHome:()=>n("../",{replace:!0}),onReload:()=>window.location.reload()}):l.jsxs(l.Fragment,{children:[l.jsx(V,{analytics:A,onLoad:i=>i.trackPageLoaded(L.Event.companyPassport,C(r)?"Settings":"Company Passport")}),C(r)?l.jsx(te,{isAppContentDrawerOpen:e,handleDrawerToggle:m}):null,l.jsx(ne,{companyId:c,navigate:n,location:r,currentTenant:I,isSettings:C(r),onClickMenuIcon:()=>{m(!0)}})]})}export{pe as C};
1
+ import{j as l}from"./pdf-CTJ16aEe.js";import{a as g}from"./sentry-CY6wsJT-.js";import{j as k,i as w,h as x,l as T,u as O,k as j}from"./core-oEkj6b51.js";import{y as E,js as D,jQ as P,k_ as F,bj as V,jz as A,J as L,ki as C,k$ as U,kv as _,ev as B,jO as M}from"./index-ByqexAVU.js";import{ct as b,dl as G,oD as R,dg as z,bE as K,Kl as J,bm as Y,mK as $,my as H,hj as Q,iP as S,Km as X,bG as Z,bJ as N,iX as q,i_ as W}from"./zeni-epic-state-cFF_NqwA.js";import"./mui-Cni6P-fz.js";import{c as ee}from"./routePaths-BnaAtOOM.js";import{M as te}from"./MobileAppDrawer-CVmbFUtl.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new n.Error().stack;s&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[s]="22f89154-3fed-48e3-8add-8c144958e088",n._sentryDebugIdIdentifier="sentry-dbid-22f89154-3fed-48e3-8add-8c144958e088")}catch{}})();const ne=j(function(n){const s=z(n),r=D.getSignedInUser(),p=b(n),u=p.tenantId,d={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:u??""},f=K(p?.userRole??[])&&s.localData.updateStatus.fetchState!=="In-Progress"?void 0:"readonly",e=J(n.companyConfigState),t=n.countryListState?.byCountryListCode?.nationalityCountryList?.countries??[];return{isCompanyVerified:s.companyView?.company?.company?.companyBillPayInfo?.companyVerificationStatus?.code==="verified",companyPassportView:s,allIndustries:e.companyIndustries??[],allNationalityCountries:t,isDisabled:f,authParams:d,filesEndPoint:`${_.fileMicroServiceBaseUrl}`,isZeniUser:Y(r)}},function(n,s){const{companyId:r,currentTenant:p,navigate:u,location:d}=s,{tenantEmailDomain:f}=p;return{onScheduleClick:e=>{let t=e.href;t.includes("http")||(t="https://".concat(t)),window.open(t,"_blank")},onSaveAll:()=>{n(W())},onAddressClick:e=>{const t=ee(f,e),a=M(d.state?.pathnameStackToGoBack,d.pathname);u(t,{state:{pathnameStackToGoBack:a}})},onResetClick:()=>{n(q({companyId:r}))},onBackClick:()=>{u("../")},onCompanyDetailsChanged:e=>{const{companyInfo:t,incInfo:a,taxDetails:o,zeniFinanceTeam:I}=e,{website:c}=t,{meetingLink:m}=I,{incDate:i}=a,{taxesFiledYears:h}=o,v={companyInfo:{...t,website:c!=""&&c!=null?N(c):void 0,meetingLink:m!=""&&m!=null?N(m):void 0,industry:t.industry.selectedOption,companyIndustryType:t.companyIndustryType?.selectedOption??void 0,companySubIndustry:t.subIndustry?.selectedOption??void 0,businessModel:t.businessModel.selectedOption??"",companySourceOfFunds:t.companySourceOfFunds?.selectedOption,companySourceOfFundsDescription:t.companySourceOfFundsDescription??void 0,countriesOfOperations:t.countriesOfOperations?.selectedOptions?.map(y=>y.length===2?y:B(y))??[],transactionVolume:t.transactionVolume?.selectedOption??void 0,transactionVolumeDescription:t.transactionVolumeDescription??void 0,regulatedStatus:t.regulatedStatus??void 0,regulatedStatusDescription:t.regulatedStatusDescription??void 0,usNexus:t.usNexus??void 0,usNexusTypes:t.usNexusTypes?.selectedOptions??[],purposeOfAccount:t.purposeOfAccount?.selectedOption??void 0,purposeOfAccountDescription:t.purposeOfAccountDescription??void 0},incInfo:{typeOfInc:a.typeOfInc.selectedOption??"",stateOfInc:a.stateOfInc.selectedOption??"",incDate:i!=null?Z(i?.toString()):i,fileId:a.fileIds[0]},taxDetails:{taxIdOrEIN:o.taxIdOrEIN,sicCode:o.sicCode,naicsCode:o.naicsCode,dunsNumber:o.dunsNumber,taxesFiledYears:h.selectedOptions.map(y=>parseInt(y)),fileId:o.fileIds[0]}};n(S({companyDetails:v}))},onPrimaryContactDetailsUpdated:e=>{n(S({primaryContact:{userId:e.userId,email:e.email.trim(),firstName:e.name.firstName,lastName:e.name.lastName}}))},onNewCompanyOfficerAdded:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:void 0}]}))},onNewCompanyOfficerRemoved:e=>{n(X(e))},onCompanyOfficerUpdated:e=>{n(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:e.userId}]}))},updateFilesEntity:e=>{n(Q({files:e}))},onDeleteFile:e=>{n(H(e))},onEditFileName:(e,t)=>{n($(e,t.split(".")[0]))}}})(U);function pe(){const n=k(),s=w(),r=x(),{tenantEmailDomain:p}=T(),u=E(),[d,f]=g.useState(!1),[e,t]=g.useState(!1),a=O(i=>i.companyViewState.passportView.fetchState),o=O(i=>i.companyConfigState.fetchState),I=O(i=>b(i)),c=I.companyId??D.getSignedInUserTenant(p)?.companyId;if(D.getSignedInUser()==null)throw Error("Can't access company details page without signing in...");g.useEffect(()=>{d||a!=="Not-Started"||c==null||(f(!0),s(G(c)))},[d,a,c,s]),g.useEffect(()=>{o==="Not-Started"&&s(R())},[o,s]);const m=i=>{t(i)};return a==="Not-Started"||a==="In-Progress"||o==="Not-Started"||o==="In-Progress"?l.jsx(P,{fetchState:a==="In-Progress"?a:o,style:{backgroundColor:u.colors.grey5}}):c!=null&&a==="Error"?l.jsx(F,{onGoHome:()=>n("../",{replace:!0}),onReload:()=>window.location.reload()}):l.jsxs(l.Fragment,{children:[l.jsx(V,{analytics:A,onLoad:i=>i.trackPageLoaded(L.Event.companyPassport,C(r)?"Settings":"Company Passport")}),C(r)?l.jsx(te,{isAppContentDrawerOpen:e,handleDrawerToggle:m}):null,l.jsx(ne,{companyId:c,navigate:n,location:r,currentTenant:I,isSettings:C(r),onClickMenuIcon:()=>{m(!0)}})]})}export{pe as C};