@zeniai/web-cockpit-ui 1.14.5-prod → 1.14.6-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/dist/assets/{ACHDetailsPage-CIw_jdIY-nkivmIUR.js → ACHDetailsPage-DgGGv2hx-DTY9oLT9.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BflDOenW-DqeZ81sN.js → AIPerformancePage-cpZUms56-BBcIcyzo.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-D8k3wGmD-D-8qe8e0.js → AccountInfoPage-CFLaCiT5-5AiF8EJ9.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-C5gATs9y-DZF7xeex.js → AccountInfoPageContent-DtAZ50Qc-DUP_wcrg.js} +1 -1
  5. package/dist/assets/{AccountReconDetailsDrawerPage-CddofGws-DFpr6EFW.js → AccountReconDetailsDrawerPage-CMN1zNHW-OJMmHFy6.js} +1 -1
  6. package/dist/assets/{AccountRow-WEuGwVlL-JxLe7wdK.js → AccountRow-DAc1wwY9-DEIj0_IL.js} +1 -1
  7. package/dist/assets/{AccountsPromoCardStack-DSxSdGCd-CQwXZt6p.js → AccountsPromoCardStack-Bp1wRT6M-yc7U5gNK.js} +1 -1
  8. package/dist/assets/{AddAddressForCardDrawer-CdIt-G3_-BesYr_PX.js → AddAddressForCardDrawer-ChDzvTVq-U4RBHj9r.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-CxzUceYd-Bm-9lfb4.js → AddToWalletPage-BvrcjDhk-BAMsq_uj.js} +1 -1
  10. package/dist/assets/{AgingReportsPage-FVsrlpLM-k_hdK6iq.js → AgingReportsPage-CzYUWOIt-xhKsVxTG.js} +1 -1
  11. package/dist/assets/{AllUserItems-Bw0qVHfp-CYGYStGU.js → AllUserItems-XxV2Tu4Y-VnOFdHoZ.js} +1 -1
  12. package/dist/assets/{ApAgingDetailPage-Dnq6kgik-Dp64W-8B.js → ApAgingDetailPage-DTXhjXRb-C8uMKsqJ.js} +1 -1
  13. package/dist/assets/{AppBasePage-CnvWVXa_-Cu1XLZB2.js → AppBasePage-Cfiv8Ecs-CDBmdGFq.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-COo8rIzQ-XVk2mDpb.js → AppDrawerContent-ggBgpYsv-BQGBPgzE.js} +1 -1
  15. package/dist/assets/{ApprovalRulesSettingsPage-DEDgJJu_-Dk89vbJv.js → ApprovalRulesSettingsPage-BlRSdCTV-Ba3VQ5Ff.js} +1 -1
  16. package/dist/assets/{ArAgingChart-B5rtQeer-ecz-Zqzf.js → ArAgingChart-C7_e1ezL-B5cv8rdg.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-DyNSK8aO-BYRHAhXC.js → ArAgingDetailPage-DhjFbj4K-DzN-2OD-.js} +1 -1
  18. package/dist/assets/{AttachmentView-OXyBpL2F-DYlig7pu.js → AttachmentView-CQD-yy-o-CNYsfmt9.js} +1 -1
  19. package/dist/assets/{BankAccountSection-DQns2Rla-BFwSJeyO.js → BankAccountSection-CmOHWLFq-JZncqm1R.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-qTsFgeuD-BLjrvoXb.js → BankAccountWarningSection-DsBsO84p-D8XBZBGY.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-Bvnltb7a-Cb3q7PQF.js → BankConnectionsSettingsPage-Cz6smhXo-BNxJJyGM.js} +1 -1
  22. package/dist/assets/{BillDetailPage-Da_E9_nC-BYUXwKXk.js → BillDetailPage-CYa0EITJ-CsdEjHL9.js} +1 -1
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-ziAMcG0m-CZNaA2WD.js → BillPayApprovalRuleDetailPage-BbU_Q81T-Bs1k5EiQ.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-97qcqa5F-DDXVS_zj.js → BillPayApprovalRulesPage-D8ehXeiO-CBviDfty.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-BYzFaKct-CRIGGAT1.js → BillPayPromoPage-DuaA85G4-CCb8T9vP.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-ijAWNt3n-BW3bIFwJ.js → BillPaySetUpPage-BH06l9Hv-C9lkGPRY.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-DNZAJ-3V-CX7lm6-B.js → BillingSettingsPage-BUas93LA-CscI75OR.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-DqQL9iFe-Dg28oXmP.js → BillsBulkReviewDrawerPage-D6cSAH1--DGq_mOk4.js} +1 -1
  29. package/dist/assets/{BoxItem-DT51UimN-kFXGdmJC.js → BoxItem-D88gMTQn-B1kkFD04.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-D_sLy4b9-Cj98U4ae.js → BusinessVerificationPage-rX7_wUAW-BsbYtglz.js} +1 -1
  31. package/dist/assets/{CardNumberSubText-BkDxvc37-Cne33WTX.js → CardNumberSubText-CxTVkF4V-Ct-KOGH7.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-eJO-ODcm-DlOV2BJ-.js → CashbackDetailPage-DdDMDW2I-Jzq4bLKz.js} +1 -1
  33. package/dist/assets/{ChargeCardDetailPage-Dc-3stHW-BPBshj48.js → ChargeCardDetailPage-JrO7h-ff-C9bshVlU.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-DRot1SKG-B_-3GUoh.js → ChargeCardListPage-CelWKqSg-DbRD1T3_.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-B3HCvxfz-DWM9JMsr.js → ChargeCardListTable-B4c4WFSq-CrRtTBWM.js} +1 -1
  36. package/dist/assets/{ChargeCardPromoPage-oU5JQfGc-DASVpDpm.js → ChargeCardPromoPage-BiyYawq5-KMXkWe6B.js} +1 -1
  37. package/dist/assets/ChargeCardSetupPage-PQAwr78u-Byy3_Lz6.js +36 -0
  38. package/dist/assets/{ChargeCardStatementsPage-B-XViYjO-B86W-Ab9.js → ChargeCardStatementsPage-DVPKN4xX-CzVkb3Pg.js} +1 -1
  39. package/dist/assets/{ChargeCardUtils-Bol5oWmA-CmmODJlt.js → ChargeCardUtils-BQZTS-KQ-BEdPKA-Q.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-DAxqw7Vj-CgIFMhSK.js → ChaseOverlay-DveM_aY_-DNzo2JiY.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-CkKK3qKT-ClU5qOvy.js → CheckDepositDrawerPage-DoMhVKPu-WiZ6iqFw.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-q6K7jAw6-DUkjuT2o.js → CollapsableReportTable-CWIVhYku-Di1SJf6r.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-BVARFx2M-Dlnoj0mO.js → CompanyOfficerDetailsSection-Ci47swN_-BA3Vbogj.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-Bfc0SPQL-PF4i4VtV.js → CompanyPassportCard-Bw2TdWs0-C8coLEDf.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-CnEeyb9L-JEjXq7q4.js → CompanyPassportPage-CKIihOM0-C8LZIaU2.js} +1 -1
  46. package/dist/assets/{CompleteProfile-DvtAzqIF-CplCN8kU.js → CompleteProfile-CikcmDmg-Bx0bFhKW.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-DI_ur1ii-CP_toxHr.js → ConfettiBurst-CU6fcwCz-DM4PmL8N.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-DmaAqZ07-DQFMB9kz.js → CreateOrEditVendorPage-BoDt1Ez7-ihMNs_cQ.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-CvNctQ-G-B7sd-cn9.js → CreditCardPaymentDrawerPage-D7Hka4sI-Cnrvme6i.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentPlgSection-CGiJIVca-CihNYXrO.js → CreditCardPaymentPlgSection-C86KVs5o-DS3hiQEi.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-Dg-v771d-DyG4YBrb.js → CurrencySelectField-B0VTg3Rt-BiyrySfK.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-VpzSrW82-C_aJSfNq.js → CustomerOnboardingActivationPage-oegOz3kP-Djz8CScI.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-56mBQg5m-B7bUPJSx.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-j16Xqnmk-Dwv_Sf5M.js → CustomerOnboardingDetailPageSkeleton-DhuLaWYK-DXGjF58n.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DwdySDPO-Bnb25wHM.js → CustomerOnboardingNoStepsPage-BxwT2uzY-Cs8WelHb.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-BB1ZxqG3-1kI-VdZy.js → CustomerOnboardingPage-L_1XcD2Y-BN0hGCDA.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BScpvgDb-ByIJgq6I.js → CustomerOnboardingProductSuitePage-Xqdww5iU-fcjjI_cL.js} +1 -1
  58. package/dist/assets/{Dashboard-BpolYa4C-ClyfT6PR.js → Dashboard-CWSUiuiJ-BGpFaZbs.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-pQRUl_gG-BYumgoFL.js → DashboardReportPage-D79gYgHb-Bdmj-j3o.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-Wt0dXING-DGElhLBC.js → DepositAccTransactionItem-BCJn6a_d-C1iXuRbP.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-Cs0KlI24-CliUVO6u.js → DepositAccTransactionListPage-6QMW3q5S-LbnWCAZH.js} +1 -1
  62. package/dist/assets/{DocumentSecurityBanner-DDc5UFRt-DtIawul4.js → DocumentSecurityBanner-C7TAyvIZ-DrKz95xX.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-CPGShq-e-DVwSFTSK.js → DomesticWireDetailsPage-DGOgMHF5-Dj6aB45z.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-2cyqFPGO-mq9Ke6Fz.js → DownloadOverlay-BrVMY7u8-PA5PVprH.js} +1 -1
  65. package/dist/assets/{DrawerPage-C-qJ2Dm4-CjO1Di9r.js → DrawerPage-DbmFkDa9-a_7f3jw_.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-lFbayOOG-D7msYw32.js → EditPeoplePage-CKiV3DO3-DWg5i0Bd.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-UuxUgVMA-KvHQSVtQ.js → EditReimbursementDetailPage-BSXwufQy-CZrhHx2S.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-scWkPKyF-ChCS54ry.js → EntityDetailPage-ClKvTCns-D989IPFG.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-BiMRux1v-DXOZ8I9R.js → EntitySummarySection-BcyWfLW_-CA1NuAEW.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CdyrLRZJ-B56CIDH0.js → ExpenseAutomationOverviewPage-CQ5_4jtz-CJmOeqaA.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-CbEb08AK-CEpIh5AR.js → ExpenseAutomationPage-SDYsJmGO-ClxfX9Ah.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-DA_tTo4g-aRpihcMb.js → ExpressPayPage-S33czP_U-zP-9g0Jw.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-BNqQXX2a-C5qqUK8Z.js → FeaturePreviewPage-COWIqmTf-7yGzqASh.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-BbWkIUb_-DTEF_Mzk.js → FollowStepsSection-Cw8htUBe-BHcpEdlZ.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-COj3_1we-C9MzwgeM.js → GlobalReviewListPage-DKBYTVNe-9qWeNgUP.js} +1 -1
  76. package/dist/assets/{HelpButton-B-GBd1e8-Cp7Oxsen.js → HelpButton-BvPX8uxd-BlwFNZhB.js} +1 -1
  77. package/dist/assets/{InformationCardStack-BQz2--SG-L3HWqatS.js → InformationCardStack-CtueyMCq-CecAsOTT.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-es6BneiX-n_9LJsaQ.js → InsightsCardStack-BKtPGTdt-DGnUS7GP.js} +1 -1
  79. package/dist/assets/{InsightsSection-DXW-B4Fa-BdiTA2CO.js → InsightsSection-BFIeAUrz-DhqGCmzD.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-C_sRDpnl-Bv3-UcpY.js → IntegrationsSettingsPage-BSyZC7Kg-HQ8AMRN8.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-Dxab2GVU-BLE-M761.js → InternationalWireSwiftDetailsPage-C9Z04pG5-CN1lREHk.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-DnJzLl92-CeVL003i.js → InternationalWireVerificationPage-iRa0YMo6-BUrJWmZw.js} +1 -1
  83. package/dist/assets/{InviteFormPage-BS5WRi1w-DulGzSSp.js → InviteFormPage-CbSJssAT-B68pBBll.js} +1 -1
  84. package/dist/assets/{InvitePageListView-CO8_ZG4N-DgU17xpb.js → InvitePageListView-BrUBTz5B-C4Bi8HKo.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-D3vbP-JS-Bu-BR2rk.js → InvitePeoplePage-BbDUlUjQ-D-lcrPrg.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-B-ZrMaqn-aCeuHZcd.js → InvoiceUploadSection-CRgtSthn-DpsfwSSA.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-CjWitICD-D-_uARBC.js → IssueChargeCardPage-CdOs81el-BxrEFsor.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-Brl4LzSu-Crlgewjx.js → LabeledAddressValue-CoQKG0Vs-ArQ7GQm6.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-CkMlEpyG-DoliwdUM.js → LabeledAddressValueField-D5zB7wnP-D9_x4rj6.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-KplLKC3R-CMCXrJ87.js → LabeledControlledCheckBoxField-DSefRIxV-DEzZcib8.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CB5WGZwa-wo9NjzlR.js → LabeledCreatableSingleSelectField-DOv10RFp-E8nB4rrt.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-ClOVVHoy-Dq3PNVOa.js → LabeledDocumentField-CO6_e65U-Xg9JvMjr.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-7a2TUZx2-_D_vGvij.js → LabeledDropDownFormattedTextField-D6qgntCW-DZEs5m5T.js} +1 -1
  94. package/dist/assets/{LabeledText-DbGX_kFb-WPRiKZuu.js → LabeledText-DiD_FvMm-BU273AGf.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C_2dWkTR-DyBMsIH4.js → LabeledUserSingleSelectWithSubtitlesField-rBaXx4JB-BoxuQpFr.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-BOE3zuQX-ChGKD1Fc.js → LabeledZeniRolesDropDownField-DI9XLkn7-BEClY3V7.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-DnXY1rVh-CGORo_Qk.js → LinkJETransactionPage-BI9rvDWF-D9HoKgaf.js} +1 -1
  98. package/dist/assets/{LowBalancePopup-DCPaPCI6-B4h_YdQE.js → LowBalancePopup-ChqqEeWk-C11eT2fZ.js} +1 -1
  99. package/dist/assets/{MagicLinkACHDetailsPage-BfKYEUuG-DguQEV0a.js → MagicLinkACHDetailsPage-DYDNDN_--CfETFAb1.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CFQuFGEV-DAD1w4TT.js → MagicLinkDomesticWireDetailsPage-DQuuLyWQ-1Hg08lPo.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-BCyp3gND-DWNCHFBg.js → MagicLinkInternationalWireDetailsPage-CnUTecpU-CePRHOps.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-DVobyltE-C5Ml1Afs.js → MagicLinkSuccessPage-Dyhk5vnq-DqL0YIDt.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-C2kT2QNt-CNdQTDBW.js → MagicLinkTitleSection-CAwqT4_X-DiR04CmD.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-DUFIMEFw-BBRMfmnJ.js → MailingDetailsSection-Cpu-qwub-DVRGUTuN.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-Zcyrwwqh-Dc9YMkPA.js → MeetingCalenderPopup-B5M2lm-y-3o2gRW-j.js} +1 -1
  106. package/dist/assets/{Menu-DxxrCzV1-gFv-eZWn.js → Menu-D0NUi1FB-YWmFK_J2.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-DqpBaroQ-BuEl8iLy.js → MyBankConnectionsSettingsPage-SYlGHINJ-D_q0bDPS.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-BRBQ-D56-DYUvtEXv.js → MyPendingActivationChargeCardListPage-EBaDVcO8-DWWruauc.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-1KpIFCJp-BoygOCKn.js → MyProfileSettingsPage-a1LKde_U-B-2dtISH.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-CTn1eQHT-B1LTES71.js → NavBarWithPicker-D3YzfX06-B5-Ttkpq.js} +1 -1
  111. package/dist/assets/{NavigationArrow-B6h0SDdP-Y1jq_YX_.js → NavigationArrow-C81m-KZF-l3LUWA_R.js} +1 -1
  112. package/dist/assets/{NavigationDots-BzUjuHrF-BHvj9J2p.js → NavigationDots-CB3WQq54-Vldskk9V.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-Vv7Gn5oQ-BOUOhTlk.js → NewGlobalMerchantPage-BwuCbGQ_-ClFRyYGa.js} +1 -1
  114. package/dist/assets/{NoDataChart-T4586K3d-QluGmZeg.js → NoDataChart-B0CMrh6X-y7xNFTPm.js} +1 -1
  115. package/dist/assets/{NoDataTable-7SOJQOqT-BwnILKpD.js → NoDataTable-BgcSvfNz-B8UgcWMt.js} +1 -1
  116. package/dist/assets/{NotFoundPage-C7JGgj7V-Dq3YfoXj.js → NotFoundPage-BnPqLAwW-B4lghZn4.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-DYxOSsX7-BgcWm3OJ.js → NotificationSettingsPage-wigFcdhu-vy-nP7LS.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-DRx-9Yz6-Ce4vzpIo.js → NotificationsListConfig-D2ndsr4D-DM4ejkSe.js} +1 -1
  119. package/dist/assets/{NotificationsPage-CWCUtTy2-BupjE978.js → NotificationsPage-BC-f8rc3-7yuQcc5s.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-CcYVhhkB-DDdOxino.js → OpExByVendorPage-CIh1CcAU-qJCynb-Y.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-GWXnlbZH-C5zeOihl.js → OverlayContainerPage-GWXnlbZH-CAJiUNdH.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-B9DbC93o-_eh4ot8J.js → PandLWithForecastPage-Dj21XOWq-6pELxt5n.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CCX-Pec--t2UZiNL0.js → PaymentAccountSetupBillingAddressSection-C0eGjv2q-Cu0V-kwW.js} +1 -1
  124. package/dist/assets/{PeoplePage-BiCeSvCZ-CHU6rnDX.js → PeoplePage-DHWuODjG-Pq5Jb5FY.js} +1 -1
  125. package/dist/assets/{PortfolioAllocationFormPage-BSvoK4qv-C2w8iakM.js → PortfolioAllocationFormPage-CYoVD723-B-VSgWfT.js} +1 -1
  126. package/dist/assets/{PortfolioDetails-pPKPD1a1-BdbwObm0.js → PortfolioDetails-5xc1wonC-BAeZ6WYz.js} +1 -1
  127. package/dist/assets/{ProductsCarousel-DR2qv1mK-L8s4NYfF.js → ProductsCarousel-DcSxZECS-DEnj1JWZ.js} +1 -1
  128. package/dist/assets/{PromoBaseCards-BnHveXZh-DEWVy6e9.js → PromoBaseCards-B-s9wF0Q-C1F62bpn.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-D8vq5tbS-Dab6soZ0.js → QBOConnectionDialog-CQlXDalh-D41g3YBn.js} +1 -1
  130. package/dist/assets/{QBOSetupSection-A1omZG46-CqcT2iQC.js → QBOSetupSection-Dpib3Rx5-Cl178Gzl.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-zd6wsvgN-AdLkkk9d.js → ReimbursementApprovalRuleDetailPage-CutUv2m2-WY3FiPdI.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-DmRH5taR-evM1EqsM.js → ReimbursementApprovalRulesPage-Cyye_Ayg-D6djPKh9.js} +1 -1
  133. package/dist/assets/{ReimbursementDetailPage-B1I-bvKz-COOjEuxS.js → ReimbursementDetailPage-C4Tsi1io-D7xNSc-Z.js} +1 -1
  134. package/dist/assets/{ReimbursementPromoPage-BUMZSzw5-oxZ_ycQA.js → ReimbursementPromoPage-4BFu3jYR-Cpj_0RjQ.js} +1 -1
  135. package/dist/assets/{ReimbursementSetUpPage-C3k9-DjY-CNw321iC.js → ReimbursementSetUpPage-Cpl4wfuS-bOQsc45a.js} +1 -1
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CuSB32kj-CoL-12ss.js → ReimbursementsBulkReviewDrawerPage-iGaIl0hj-ByWQrboJ.js} +1 -1
  137. package/dist/assets/{ReloadCard-BsW5v4Z9-CUdTOVzf.js → ReloadCard-F-DEmw51-CyIUQ5A1.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-KU1rwaTS-7E_4CsFX.js → ReportTableViewSelector-BSPNRs-f-DQGy-EeN.js} +1 -1
  139. package/dist/assets/{ReportsPage-BIz5qsi--BjPDOabH.js → ReportsPage-BQF-yVRz-B8_CA5t6.js} +1 -1
  140. package/dist/assets/{RevenueChart-lzn4f31Q-MVF33ZDx.js → RevenueChart-ClRH1Vei-DyQxLBCO.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-BAHxvnIm-2R97IBmt.js → ReviewDetailsPage-BKfSEXv--DVAIAByb.js} +1 -1
  142. package/dist/assets/{ReviewOverlay-BS3Bb8UE-LO55TXM8.js → ReviewOverlay-Dgnr47GU-BR4bFQZ5.js} +1 -1
  143. package/dist/assets/{RoleWithToolTip-Bg5SMNk0-DlUtXuLe.js → RoleWithToolTip-Bcjjd_2M-BwYePEiA.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BV45Yp7u-DBDwcI5u.js → ScheduleDetailsFixedAssetsPage-Bq6XAACj-D3PtjElx.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsPage-BImlVd01-DlI-9-SG.js → ScheduleDetailsPage-DTLTxgOx-B_v0b0ZL.js} +1 -1
  146. package/dist/assets/{ScheduleSequenceTable-1JyAvL7Q-DU-yBzu6.js → ScheduleSequenceTable-CEZL4GA8-2gj8oGSn.js} +1 -1
  147. package/dist/assets/{ScreenRoutes-DnrkRxDX.js → ScreenRoutes-Bjd9WUE9.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-BWj67_7V-BY4wualA.js → SetUpAccountSection-CJsY-S6w-DFvRMNS-.js} +1 -1
  149. package/dist/assets/{SetUpDefaultSection-CcTYu9KI-BE67r-Ge.js → SetUpDefaultSection-Dbzui0hL-DgmPb_eb.js} +1 -1
  150. package/dist/assets/{SignIn-C9Bis1UR-D34WcJ5T.js → SignIn-yFG7aeiJ-9NI597Q3.js} +1 -1
  151. package/dist/assets/{SignInScreen-wz5z0Nk2.js → SignInScreen-fi8j7ajy.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-CAqXkCNm-D_oO4dJU.js → SpendManagementListViewPage-cw0B29Ux-IBWIggY1.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-BH8fKe7l-B9D7r01O.js → SpendManagementPerTabPage-Bkw1eegW-DEu3PUyn.js} +1 -1
  154. package/dist/assets/{SpendManagementSection-C5TccKK--CVQu6w5N.js → SpendManagementSection-DuYMRljT-5VK3CJom.js} +1 -1
  155. package/dist/assets/{SpendMgmtSetupAccountSection-B_tGpehs-C13G2u3A.js → SpendMgmtSetupAccountSection-DF3XzW-2-DM5lmQVp.js} +1 -1
  156. package/dist/assets/{StatementItem-DG9w15d--RRq4REg8.js → StatementItem-DGX-Yd6i-apD-vT-Z.js} +1 -1
  157. package/dist/assets/{StatementsPage-BdN88QJJ-d3brFalJ.js → StatementsPage-BJ3A9NXT-eW57dBnC.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-gNATihC3-C-o7lNI-.js → StatusSwitcher-Duc8UFd8-DR89v0rI.js} +1 -1
  159. package/dist/assets/{SubTabSwitcher-DAEoIU-Q-C-niCmiC.js → SubTabSwitcher-U04APwPI-ByK3d4eV.js} +1 -1
  160. package/dist/assets/{SummaryCard-OxWKTAi_-hNJY3gZm.js → SummaryCard-BPy7YF4F-BlgzbHmQ.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-ucrH-SxY-DIYUY5ps.js → TaskManagementPage-CaPSMhTy-B_FogQNy.js} +1 -1
  162. package/dist/assets/{TimeRangeSwitcher-Ebmo9AYk-DN1fvxBa.js → TimeRangeSwitcher-DR2s6McL-Bd4-0Nxt.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcher-pPrxCjwR-D66U4eSK.js → TimeframeSwitcher-CR_Pithb-DXZcXjqp.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-ywAz9QoN-BUbMmc9Y.js → TimeframeSwitcherWithToggle-CxsK8B8h-MKstCMxH.js} +1 -1
  165. package/dist/assets/{TopExCard-DBn2NqIA-CVHGN5Cl.js → TopExCard-CykkX8Ny-BpkNf26X.js} +1 -1
  166. package/dist/assets/{TopExDetailPage-p64hNnnA-BlwErjQ0.js → TopExDetailPage-D9lST5M2-BH3jx1F5.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-CxAe72G9-CU73BzUi.js → TransactionDetailPage-CdEYjFbk-DsyJoIP9.js} +1 -1
  168. package/dist/assets/{TransactionList-yK7ZYEou-CPK5ow1f.js → TransactionList-Dybq00u0-BXF28aDD.js} +1 -1
  169. package/dist/assets/{TransactionListBig-D7aG1I33-1X_KgIVv.js → TransactionListBig-C08_BfqV-D6Q1VE_X.js} +1 -1
  170. package/dist/assets/{TransactionListPage-CRqs-wlv-DOS9yZFD.js → TransactionListPage-B1Yrd7M3-ITYl3V2H.js} +1 -1
  171. package/dist/assets/{TransactionVendorDetailPage-CZTN0wW8-CG6HRg-A.js → TransactionVendorDetailPage-C4c-gk4U-DtCUPkDI.js} +1 -1
  172. package/dist/assets/{TransferDrawerPage-BrhFck8u-BeVpEpdW.js → TransferDrawerPage-R6BJFqqt-DaxCp2PU.js} +1 -1
  173. package/dist/assets/{TreasuryOverviewPage-BpV4pCSA-C281p1qd.js → TreasuryOverviewPage-BsLzvGJ9-J84QwhvQ.js} +1 -1
  174. package/dist/assets/{TreasuryPromoPage-C6ZnQSpk-CYqZJQhB.js → TreasuryPromoPage-k4TR0X4_-CJYFJSJB.js} +1 -1
  175. package/dist/assets/{TreasurySetupPage-BmoVprJL-DaSPtSJl.js → TreasurySetupPage-xA9wkaxu-CK0UbTOW.js} +1 -1
  176. package/dist/assets/{TreasuryStatementsPage-Cm5_xU1n-C123kIcU.js → TreasuryStatementsPage-BeGMnFii-BTaJz6Ur.js} +1 -1
  177. package/dist/assets/{TreasuryTaxLetterPage-_rEGQMR3-Ck4ioaLU.js → TreasuryTaxLetterPage-D6xf_HNB-D4wojYti.js} +1 -1
  178. package/dist/assets/{TreasuryTransferOrReviewPage-DgiHAsBg-DEKgBWau.js → TreasuryTransferOrReviewPage-Cy90K2k1-Bhrl_iDh.js} +1 -1
  179. package/dist/assets/{TrendChart-xIdxctU8-VX-yReb8.js → TrendChart-CJ4ymPpY-CRRzaBld.js} +1 -1
  180. package/dist/assets/{TrendWithTransactions-BfLGuXQj-DKXwCJR7.js → TrendWithTransactions-B1FMv4RR-ChUN4shx.js} +1 -1
  181. package/dist/assets/{UncategorizedAccountsMappingPage-CDy9Ri0a-J2e6RPRE.js → UncategorizedAccountsMappingPage-MX9qLxmy-CiluJ24B.js} +1 -1
  182. package/dist/assets/{UnitIntegrationPage-k2FVWXIc-jsb-UW_Z.js → UnitIntegrationPage-B1wIRNw1-CVcTooNC.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-BOA4AHm2-xdXtSUOm.js → UploadAdditionalDocumentOverlay-DiX5Dbc--BGaLR6hc.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-DWbOSde1-CIn7Mawv.js → Vendor2FAPopup-Cljy86Us-DXjV0e44.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-Dxa1YMIJ-Bignbe8A.js → VendorACHDetailsPage-BZG4bwOp-jh2vQyQm.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-Iiwzh-ZT-BVXuEkoF.js → VendorDetailPage-B8m4FkG5-DfgwwjnN.js} +1 -1
  187. package/dist/assets/{VendorDomesticWireDetailsPage-CGJ4MlC8-CWb3Qc0o.js → VendorDomesticWireDetailsPage-D7Mt3s3R-Z8XslteE.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-B7871Mhw-Bj0jiayg.js → VendorFiling1099EditablePage-B1FNkNlL-BMywY9Fs.js} +1 -1
  189. package/dist/assets/{VendorFirstReviewPage-BkEdIBG_-CjcRvdQC.js → VendorFirstReviewPage-CDmMppJJ-D_TzCwlD.js} +1 -1
  190. package/dist/assets/{VendorInternationalWireDetailsPage-Kfagr169-jRMOV2if.js → VendorInternationalWireDetailsPage-X-j8j32p-Ccr-6IC8.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DOProal8-BGpw17ZD.js → VendorInternationalWireSwiftDetailsPage-eJXY7B89-D5ZjryiC.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-Dvq3DO8J-CzIklM5K.js → VendorsAccountsSection-DH0v9LaU-Nuf2omrd.js} +1 -1
  193. package/dist/assets/{WarningsDrawerPage-CT9Yu_kA-DYdKNIAr.js → WarningsDrawerPage-0XqR-WSe-DwIvPWAi.js} +1 -1
  194. package/dist/assets/{ZeniAccountDetailPage-Bn-xkPN7-BsAraKtD.js → ZeniAccountDetailPage-poRKOvKO-DLO7qVLF.js} +1 -1
  195. package/dist/assets/{ZeniAccountListViewPage-CrfoK_-S-CVNttUml.js → ZeniAccountListViewPage-DAwsHVFu-BFTLIRTF.js} +1 -1
  196. package/dist/assets/{ZeniAccountNavBarPieces-CauNX8EE-CITfbmPn.js → ZeniAccountNavBarPieces-CK1z6uDE-Dx8IkqyL.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-BjvqNB1t-MPJ7O7Ay.js → ZeniAccountPromoPage-D_AeQXK0-BmsKPXvG.js} +1 -1
  198. package/dist/assets/{ZeniAccountSetupPage-DSw_KPxq-CY17LgKe.js → ZeniAccountSetupPage-B5KmPY23-9lXbmgUa.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-QA9RHYMK-K4iHoWJi.js → ZeniCopyright-DawBwguL-BaJFfLKQ.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-B4cUboEh-Csz834w3.js → ZeniTransferAmountSlider-BBQgQPfw-CrMPlaZB.js} +1 -1
  201. package/dist/assets/{analyticsHelper-CL93s-1C.js → analyticsHelper-CSTTcbjG.js} +1 -1
  202. package/dist/assets/{analyticsHelper-C4qmWpU5-CfuV4cN9.js → analyticsHelper-mARzqEfV-BMxvjyCP.js} +1 -1
  203. package/dist/assets/{chartTypes-voo0IDRB-CYGaQom1.js → chartTypes-CedtWDkU-cTNKZniI.js} +1 -1
  204. package/dist/assets/{commonDimensions-DlTnUSCm-DO5W9slZ.js → commonDimensions-ZxGdYNGR-CUt8Derw.js} +1 -1
  205. package/dist/assets/{detailCommon-D_Iv7bJI-DIDHl_8c.js → detailCommon-C0urnGcj-DiOtpfF1.js} +1 -1
  206. package/dist/assets/{downloadPdf-C3McD4L4-CDamigyg.js → downloadPdf-C1cvLEsi-Dk04IBab.js} +1 -1
  207. package/dist/assets/{index-4Vt70fVf.js → index-Bac0rl1Z.js} +3 -3
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-DPFqqVtT-gXlUMh7k.js → mapLoadingInProgressToTreeNode-D9ofcMAJ-C2yg5vuU.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B1YNY6Ry-Coc_OiI6.js → mapSectionWithAcOnlyToTreeNode-CAhuUnXV-CREi-s41.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-CiA7DvHN-B6UOcRIa.js → mapSpacerToTreeNode-BPXOBdsi-CZkOhrs-.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-DaJ2Xi-V-BsJVghPD.js → mapTimeframeBalancesToTreeNode-BU0Ph9My-DACi2i5F.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-JmS044Zg-n00d47Hl.js → mapTimeframeBalancesToTreeNode-BYB1q7M0-DA6Wa0rz.js} +1 -1
  213. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DxwUIfBr-5lxS3Vma.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bkav2l0W-DPWpD0Vt.js} +1 -1
  214. package/dist/assets/{play-icon-Bp64ZIEx-B2XW1StB.js → play-icon-BaaR5WkW-DL1x5IAn.js} +1 -1
  215. package/dist/assets/{toCOABalancesWithID-B7LbirMG-Bc-9sy4D.js → toCOABalancesWithID-CCW7YVfm-Bs0ZA7KW.js} +1 -1
  216. package/dist/assets/{toChartData-CuB9yc-H-D5hI4s-u.js → toChartData-C3kVg0fD-BVd6kxYy.js} +1 -1
  217. package/dist/assets/{treasuryColorHelper-DyLAAeN7-rqV_AmOj.js → treasuryColorHelper-Cc1DTnhB-CSWgA_MM.js} +1 -1
  218. package/dist/assets/{uploadAttachment-NIRC4dWz-CPJCwR0y.js → uploadAttachment-C56u0Q20-DI9f2svy.js} +1 -1
  219. package/dist/assets/{uploadReceipts-D80JLNY4-DW6Z9ayE.js → uploadReceipts-D80JLNY4-ie9T0Rq7.js} +1 -1
  220. package/dist/index.html +1 -1
  221. package/package.json +4 -4
  222. package/dist/assets/ChargeCardSetupPage-BADfRJlj-gyolcwRN.js +0 -36
  223. package/dist/assets/CustomerOnboardingContainerPage-L6Hnku03-COKiVoOG.js +0 -1
@@ -0,0 +1,36 @@
1
+ import{u as Ve,X as De,d2 as Ue,a1 as M,a as Be,c3 as $e,l as ze,M as _e,a7 as G,j as t,cI as Re,g as Le,C as r,aV as We,c as Ne,F as qe,c_ as He,o as B,p as Me,aQ as Ge,a3 as Ke,m as a,s as Xe}from"./index-Bac0rl1Z.js";import{b as p,n as S}from"./vendor-CnQcJ2Lu.js";import{F as Je}from"./HelpButton-BvPX8uxd-BlwFNZhB.js";import{K as Qe}from"./SetUpDefaultSection-Dbzui0hL-DgmPb_eb.js";import{f as Ye,y as K}from"./SpendMgmtSetupAccountSection-DF3XzW-2-DM5lmQVp.js";import{x as Ze}from"./LabeledControlledCheckBoxField-DSefRIxV-DEzZcib8.js";import{g as et}from"./UploadAdditionalDocumentOverlay-DiX5Dbc--BGaLR6hc.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-B5M2lm-y-3o2gRW-j.js";import"./ChargeCardUtils-BQZTS-KQ-BEdPKA-Q.js";import"./CreditCardPaymentPlgSection-C86KVs5o-DS3hiQEi.js";import"./ChaseOverlay-DveM_aY_-DNzo2JiY.js";const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,a[5],a[5]),sectionRowGap:new r(a[5],a[9],a[9]),iconWidthHeight:new r(20,a[4]),subTitlePaddingTop:new r(12,a[3]),subTitlePaddingBottom:new r(a[3],a[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(a[1],a[0])},X="chargeCardSetUpPage",h="payAccount",{commonSetUp:tt,spendManagement:nt}=_e.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:m}=Y,{setUp:$}=tt,Tt=({autoPayThreshold:e,isDisabled:x,meetingUrl:T,isEarlyPayEnabled:f,chargeCardSetUpView:o,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:oe,onFetchLinkTokenClick:ae,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:me,onEstablishConnectionClick:he,onEstablishConnectionSuccess:fe,onClickMenuIcon:ge,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe,onSignUpClick:Pe})=>{const g=Ve(),i=De(),E=Ue().analytics,[w,y]=p.useState(!1),{fetchState:b,companyBillPayInfo:z,isRefreshingViewInBackground:we,updateStatus:d,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:F,companyDebitCardInfo:_,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:R}=o,L=M(b),A=M(d.fetchState),j=Be({mode:"all",reValidateMode:"onChange",defaultValues:p.useMemo(()=>J(o),[o]),values:J(o)}),ve=j.handleSubmit(se),Ee=async(C,k)=>{const n=k[h];if(C.includes(h))if(C.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const u=R.find(U=>U.id===n.fundingAccount.selectedOption);u!=null&&pe(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(U=>U.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&E.trackConnectBankLink(u.value,u.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else C.includes("enableAutoPay")&&n.enableAutoPay!=null&&me(n.enableAutoPay)};p.useEffect(()=>{const C=j.watch((k,{name:n})=>{n!=null&&k!=null&&$e(()=>Ee(n,k))});return()=>{C.unsubscribe()}}),p.useEffect(()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&y(!0),w&&L==="In-Progress"&&b==="Completed"&&y(!1)},[s,b,L]),p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const O=F?.isChargeCardEnabled===!0,I=_?.isDebitCardEnabled===!0,W=_?.isDebitCardTOSAccepted===!0,N=F?.isChargeCardTOSAccepted===!0,q=z?.isBusinessVerified===!0,Fe=l?.accType==="depositAccount"||ze.isVerifiedPaymentAccountProviderStatusCode(l?.providerVerificationStatus?.code??""),V=v?q:q&&Fe,je=b==="In-Progress"||b==="Not-Started";p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const D=v?V&&!I&&W:ie?V&&!O&&N:V&&!(O&&I)&&N&&W,Oe=D?m.setupSubTitleNotEnabled:m.setupSubTitle,H=g.mode==="light"?new G(g.colors.brandColorJadeLight):new G(g.colors.brandColorJadeDark),Ie=()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?y(!0):re?.()};return t.jsxs(ot,{children:[t.jsx(Re,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:w,onClose:()=>y(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:d,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>y(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe})}),t.jsx(We,{title:m.setupTitle,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!O&&!I&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ge,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(at,{windowSize:i,children:Oe}),je?t.jsx(ct,{children:t.jsx(Ne,{size:"ExtraLarge",start:!0})}):t.jsx(qe,{...j,children:t.jsx("form",{id:Q(X),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Qe,{onClick:Ie,title:$.businessVerificationTitle,subTitle:$.businessVerificationSubTitle,header:$.businessVerificationHeader,icon:{element:t.jsx(He,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:z?.businessVerificationStatus,isLoading:we,isActiveWhileLoading:!0}),v?null:t.jsx(Ye,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:R,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:h,isDisabled:x,onFetchLinkTokenClick:ae,onEstablishConnectionClick:he,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:fe,icon:{element:t.jsx(Ge,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:Pe,pageName:m.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:f?{marginBottom:"20px"}:{},bottomComponent:f&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:g.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:K(h,"enableAutoPay"),checkBoxValue:K(h,"enableAutoPay"),defaultChecked:F?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),D?t.jsx(Ke,{formId:Q(X),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:d.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:x!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Je,{isFooterRendered:D,meetingUrl:T,analytics:E,productType:"charge_cards"})]})},J=e=>{const{allBankAccounts:x,allFundingAccounts:T,primaryFundingAccount:f}=e;return{[h]:{fundingAccount:{selectedOption:f?.id,allOptions:T.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))},account:{selectedOption:f?.zeniAccountId,allOptions:x.map(o=>({label:o.accountName,value:o.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},Q=e=>`${e}_form`,it=S.div`
2
+ display: flex;
3
+ justify-content: flex-start;
4
+ height: 100%;
5
+ overflow-y: auto;
6
+ flex-direction: column;
7
+ align-items: center;
8
+ row-gap: ${e=>c.setupDetailsRowGap.valuePx(e.windowSize)};
9
+ `,ot=S.div`
10
+ display: flex;
11
+ min-height: 100%;
12
+ height: 100%;
13
+ flex-direction: column;
14
+ width: 100%;
15
+ background-color: ${e=>e.theme.colors.grey4};
16
+ `,at=S(Xe)`
17
+ color: ${e=>e.theme.colors.hero};
18
+ display: flex;
19
+ justify-content: center;
20
+ width: ${e=>c.titleWidth.valuePx(e.windowSize)};
21
+ padding-top: ${e=>c.subTitlePaddingTop.valuePx(e.windowSize)};
22
+ padding-bottom: ${e=>c.subTitlePaddingBottom.valuePx(e.windowSize)};
23
+ text-align: ${e=>e.windowSize==="small"?"initial":"center"};
24
+ `,ct=S.div`
25
+ display: flex;
26
+ width: 100%;
27
+ height: calc(100vh - 110px);
28
+ flex-direction: row;
29
+ justify-content: center;
30
+ align-items: center;
31
+ background-color: ${e=>e.theme.colors.grey4};
32
+ `,st=S.div`
33
+ display: flex;
34
+ flex-direction: column;
35
+ row-gap: ${e=>c.sectionRowGap.valuePx(e.windowSize)};
36
+ `;export{Tt as default,Q as uniqueName};
@@ -1,4 +1,4 @@
1
- import{u as F,X as T,j as t,aV as W,M as R,o as h,C as g,s as B,an as O,d2 as V,g$ as J,Y as q,c as K,m as s,bp as U}from"./index-4Vt70fVf.js";import{n as i,b as X}from"./vendor-CnQcJ2Lu.js";import{$ as _,g as G}from"./BoxItem-DT51UimN-kFXGdmJC.js";import{w as H}from"./downloadPdf-C3McD4L4-CDamigyg.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./commonDimensions-DlTnUSCm-DO5W9slZ.js";const z=R.getLocalizedStrings().months,A={downloadButtonSize:new g(s[4],20)},Q=i.div`
1
+ import{u as F,X as T,j as t,aV as W,M as R,o as h,C as g,s as B,an as O,d2 as V,g$ as J,Y as q,c as K,m as s,bp as U}from"./index-Bac0rl1Z.js";import{n as i,b as X}from"./vendor-CnQcJ2Lu.js";import{$ as _,g as G}from"./BoxItem-D88gMTQn-B1kkFD04.js";import{w as H}from"./downloadPdf-C1cvLEsi-Dk04IBab.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./commonDimensions-ZxGdYNGR-CUt8Derw.js";const z=R.getLocalizedStrings().months,A={downloadButtonSize:new g(s[4],20)},Q=i.div`
2
2
  display: flex;
3
3
  padding: ${h.sp3} ${h.sp4};
4
4
  flex-direction: row;
@@ -1 +1 @@
1
- import{ff as D,M as S,dq as c,l as B}from"./index-4Vt70fVf.js";function U(e){const a=e.match(/\d+/g);if(!a||a.length!==3)return null;const r=parseInt(a[0]),d=parseInt(a[1]),t=parseInt(a[2]);return"#"+(1<<24|r<<16|d<<8|t).toString(16).slice(1)}const A=({signedInUserToken:e,showSecretInfo:a,setShowPhoneNumberPopup:r,onFireOnClickAnalytics:d,setShowSecretInfo:t})=>{(e==null||e.expiry.isBefore(B.dateNow()))&&a===!1?(r(!0),d("verify card details")):e?.token!=null&&a===!1?t(!0):e?.token!=null&&a===!0&&t(!1)},F=e=>e.includes("credit")?"credit":"debit",{dateFormat:s}=S.getLocalizedStrings(),L=({chargeCardDetailView:e,classListFetchState:a,analytics:r,isChargeCardFeatureEnabled:d,creditAccount:t,pageName:o,addToWalletType:i,creditAccountRepayment:l,isDebitCard:n,isChargeCardAdmin:m,cardIssuedByRoles:u,cardIssuedByDepartmentName:h,cardHolderRoles:C,cardHolderDepartmentName:g,controllerEmails:p,productInformation:y,creditAccountInformation:f,debitAccountInformation:I})=>{e.chargeCard!=null&&a==="Completed"&&(!d||t.fetchState==="Completed"&&l.fetchState==="Completed")&&(!(n&&m)||e.depositAccountLimitFetchState.fetchState==="Completed")&&r.trackCardsAddToWalletClick(p,y,{cardId:e.chargeCard.id,cardName:e.chargeCard.cardName,cardType:F(e.chargeCard.type.code),cardCategory:e.chargeCard.type.code.includes("physical")?"physical":"virtual",cardLimit:D(e.chargeCard.limit.amount),cardLastFourDigits:e.chargeCard.accountLast4,cardStatus:e.chargeCard.status.code,cardAssignedDate:e.chargeCard.createTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:e.chargeCard.providerCardCreateTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:e.chargeCard.creditLimitFrequency.name},{cardIssuedByName:c(e.chargeCard.cardCreatedByUser,!1),cardIssuedByEmail:e.chargeCard.cardCreatedByUser?.email,cardIssuedByUserId:e.chargeCard.cardCreatedByUser?.userId,cardIssuedByRole:u,cardIssuedByDepartment:h},{cardholderName:c(e.chargeCard.cardHolderUser,!1),cardholderEmail:e.chargeCard.cardHolderUser?.email,cardholderRole:C,cardholderUserId:e.chargeCard.cardHolderUser?.userId,cardholderDepartment:g},o,i,f,I)},N=(e,a)=>{if(e<=0)return 0;const r=e-a;return Math.round(r/e*100)},Y=e=>e.limit.amount-e.available.amount,b="1.75";export{F,L as H,U as L,N as M,A as U,Y as _,b as v};
1
+ import{ff as D,M as S,dq as c,l as B}from"./index-Bac0rl1Z.js";function U(e){const a=e.match(/\d+/g);if(!a||a.length!==3)return null;const r=parseInt(a[0]),d=parseInt(a[1]),t=parseInt(a[2]);return"#"+(1<<24|r<<16|d<<8|t).toString(16).slice(1)}const A=({signedInUserToken:e,showSecretInfo:a,setShowPhoneNumberPopup:r,onFireOnClickAnalytics:d,setShowSecretInfo:t})=>{(e==null||e.expiry.isBefore(B.dateNow()))&&a===!1?(r(!0),d("verify card details")):e?.token!=null&&a===!1?t(!0):e?.token!=null&&a===!0&&t(!1)},F=e=>e.includes("credit")?"credit":"debit",{dateFormat:s}=S.getLocalizedStrings(),L=({chargeCardDetailView:e,classListFetchState:a,analytics:r,isChargeCardFeatureEnabled:d,creditAccount:t,pageName:o,addToWalletType:i,creditAccountRepayment:l,isDebitCard:n,isChargeCardAdmin:m,cardIssuedByRoles:u,cardIssuedByDepartmentName:h,cardHolderRoles:C,cardHolderDepartmentName:g,controllerEmails:p,productInformation:y,creditAccountInformation:f,debitAccountInformation:I})=>{e.chargeCard!=null&&a==="Completed"&&(!d||t.fetchState==="Completed"&&l.fetchState==="Completed")&&(!(n&&m)||e.depositAccountLimitFetchState.fetchState==="Completed")&&r.trackCardsAddToWalletClick(p,y,{cardId:e.chargeCard.id,cardName:e.chargeCard.cardName,cardType:F(e.chargeCard.type.code),cardCategory:e.chargeCard.type.code.includes("physical")?"physical":"virtual",cardLimit:D(e.chargeCard.limit.amount),cardLastFourDigits:e.chargeCard.accountLast4,cardStatus:e.chargeCard.status.code,cardAssignedDate:e.chargeCard.createTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:e.chargeCard.providerCardCreateTime?.format(s.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:e.chargeCard.creditLimitFrequency.name},{cardIssuedByName:c(e.chargeCard.cardCreatedByUser,!1),cardIssuedByEmail:e.chargeCard.cardCreatedByUser?.email,cardIssuedByUserId:e.chargeCard.cardCreatedByUser?.userId,cardIssuedByRole:u,cardIssuedByDepartment:h},{cardholderName:c(e.chargeCard.cardHolderUser,!1),cardholderEmail:e.chargeCard.cardHolderUser?.email,cardholderRole:C,cardholderUserId:e.chargeCard.cardHolderUser?.userId,cardholderDepartment:g},o,i,f,I)},N=(e,a)=>{if(e<=0)return 0;const r=e-a;return Math.round(r/e*100)},Y=e=>e.limit.amount-e.available.amount,b="1.75";export{F,L as H,U as L,N as M,A as U,Y as _,b as v};
@@ -1,4 +1,4 @@
1
- import{X as H,fc as X,fd as Q,M as W,j as t,g as x,f as ee,K as N,Y as c,o as s,C as m,Z as te,s as ie,an as se,bB as oe,c$ as re,m as l,ao as A,ax as R,a6 as ne,fe as le,v as ae,cq as de,aP as ce}from"./index-4Vt70fVf.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";const u={width:new m(350,624,624),height:new m(600,730,730),paddingLeft:new m(l[4],l[8],l[8]),paddingRight:new m(l[4],l[7],l[7])};function De(e){const d=H(),[,_]=X(),{isMobileOrTabletScreen:g}=Q(),[j,k]=p.useState(!0),[y,S]=p.useState(!0),[z,C]=p.useState(!1),[T,M]=p.useState(!1),r=W.getLocalizedStrings().commonSetUp.chaseOverlay,K=r.title,V=r.description,Y=()=>{window.open(r.chaseVideoUrl,"_blank")},L=[0,1,2,3],P=i=>i<L.length-1,B=(i,n)=>{_(i??""),n?k(!1):S(!1)},D=i=>{i?C(!0):M(!0)},U=i=>{i?C(!1):M(!1)};p.useEffect(()=>{j===!1&&setTimeout(()=>{k(!0)},2e3),y===!1&&setTimeout(()=>{S(!0)},2e3)},[j,y]);const q=()=>{const i=r.step1;return t.jsxs($,{children:[t.jsx(Ce,{"data-testid":c("chase-overlay-signin-link"),href:r.chaseSigninUrl,target:"_blank",rel:"noreferrer noopener",children:i.text1}),i.text2,t.jsxs(a,{children:[" ",i.text3]}),i.text4,t.jsxs(a,{children:[" ",i.text5]}),i.text6]})},J=()=>{const i=r.step2;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",t.jsx(be,{}),i.text2]}),t.jsx(ke,{}),i.text3]})},Z=()=>{const i=r.step3,n=e.connectedAccountProvider==="stripe"?i.payeeIdStripe:i.payeeIdUnit;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(Te,{children:[t.jsxs(f,{onClick:()=>B(n,!0),onMouseOver:()=>D(!0),onMouseLeave:()=>U(!0),"data-testid":c("copy-payee-id",n),children:[t.jsx(v,{}),i.payeeIdTitle,t.jsx(b,{children:n}),j?t.jsxs(h,{children:[t.jsx(I,{showCopyText:z&&!g,windowSize:d,children:t.jsx(O,{})}),t.jsx(w,{shouldDisplay:z&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(E,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{onClick:()=>B(i.payeeName,!1),onMouseOver:()=>D(!1),onMouseLeave:()=>U(!1),"data-testid":c("copy-payee-name",i.payeeName),children:[t.jsx(v,{}),i.payeeNameTitle,t.jsx(b,{children:i.payeeName}),y?t.jsxs(h,{children:[t.jsx(I,{showCopyText:T&&!g,windowSize:d,children:t.jsx(O,{})}),t.jsx(w,{shouldDisplay:T&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(E,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{children:[t.jsx(h,{children:t.jsx(v,{})}),t.jsxs(Me,{children:[i.amountLimitTitle,i.text4,t.jsx(b,{children:i.amountLimit}),i.text5]})]})]})]})},F=()=>{const i=r.step4;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(a,{children:[" ",i.text4]})]})},G=i=>{switch(i){case 0:return t.jsx(q,{});case 1:return t.jsx(J,{});case 2:return t.jsx(Z,{});default:return t.jsx(F,{})}};return t.jsx(pe,{windowSize:d,role:"presentation",style:{background:x.overlayDark,...e.style},children:t.jsx(ee,{onClickAway:()=>e.action.onBackClick?.(),children:t.jsxs(he,{windowSize:d,isEditPopup:!1,children:[t.jsxs(Le,{children:[t.jsx(xe,{children:K}),t.jsx(ge,{children:V}),t.jsx(je,{children:r.stepsTitle}),t.jsx(ue,{windowSize:d,children:L.map((i,n)=>t.jsxs(me,{children:[t.jsx(fe,{children:P(n)?n+1:t.jsx(Se,{})}),t.jsx(ve,{children:G(n)}),P(n)&&t.jsx(ye,{})]},`step_${n}`))})]}),t.jsx($e,{}),t.jsxs(we,{children:[t.jsx(N,{variant:"secondary",label:r.primaryButtonText,onClick:Y,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-watch-video-button")}),t.jsx(ze,{}),t.jsx(N,{variant:e.proceedButtonVariant??"primary",label:r.secondaryButtonText,onClick:e.action.onBackClick,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-proceed-button")})]})]})})})}const pe=o.div`
1
+ import{X as H,fc as X,fd as Q,M as W,j as t,g as x,f as ee,K as N,Y as c,o as s,C as m,Z as te,s as ie,an as se,bB as oe,c$ as re,m as l,ao as A,ax as R,a6 as ne,fe as le,v as ae,cq as de,aP as ce}from"./index-Bac0rl1Z.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";const u={width:new m(350,624,624),height:new m(600,730,730),paddingLeft:new m(l[4],l[8],l[8]),paddingRight:new m(l[4],l[7],l[7])};function De(e){const d=H(),[,_]=X(),{isMobileOrTabletScreen:g}=Q(),[j,k]=p.useState(!0),[y,S]=p.useState(!0),[z,C]=p.useState(!1),[T,M]=p.useState(!1),r=W.getLocalizedStrings().commonSetUp.chaseOverlay,K=r.title,V=r.description,Y=()=>{window.open(r.chaseVideoUrl,"_blank")},L=[0,1,2,3],P=i=>i<L.length-1,B=(i,n)=>{_(i??""),n?k(!1):S(!1)},D=i=>{i?C(!0):M(!0)},U=i=>{i?C(!1):M(!1)};p.useEffect(()=>{j===!1&&setTimeout(()=>{k(!0)},2e3),y===!1&&setTimeout(()=>{S(!0)},2e3)},[j,y]);const q=()=>{const i=r.step1;return t.jsxs($,{children:[t.jsx(Ce,{"data-testid":c("chase-overlay-signin-link"),href:r.chaseSigninUrl,target:"_blank",rel:"noreferrer noopener",children:i.text1}),i.text2,t.jsxs(a,{children:[" ",i.text3]}),i.text4,t.jsxs(a,{children:[" ",i.text5]}),i.text6]})},J=()=>{const i=r.step2;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",t.jsx(be,{}),i.text2]}),t.jsx(ke,{}),i.text3]})},Z=()=>{const i=r.step3,n=e.connectedAccountProvider==="stripe"?i.payeeIdStripe:i.payeeIdUnit;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(Te,{children:[t.jsxs(f,{onClick:()=>B(n,!0),onMouseOver:()=>D(!0),onMouseLeave:()=>U(!0),"data-testid":c("copy-payee-id",n),children:[t.jsx(v,{}),i.payeeIdTitle,t.jsx(b,{children:n}),j?t.jsxs(h,{children:[t.jsx(I,{showCopyText:z&&!g,windowSize:d,children:t.jsx(O,{})}),t.jsx(w,{shouldDisplay:z&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(E,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{onClick:()=>B(i.payeeName,!1),onMouseOver:()=>D(!1),onMouseLeave:()=>U(!1),"data-testid":c("copy-payee-name",i.payeeName),children:[t.jsx(v,{}),i.payeeNameTitle,t.jsx(b,{children:i.payeeName}),y?t.jsxs(h,{children:[t.jsx(I,{showCopyText:T&&!g,windowSize:d,children:t.jsx(O,{})}),t.jsx(w,{shouldDisplay:T&&!g,children:i.copy})]}):t.jsxs(h,{children:[t.jsx(E,{}),t.jsx(w,{children:i.copied})]})]}),t.jsxs(f,{children:[t.jsx(h,{children:t.jsx(v,{})}),t.jsxs(Me,{children:[i.amountLimitTitle,i.text4,t.jsx(b,{children:i.amountLimit}),i.text5]})]})]})]})},F=()=>{const i=r.step4;return t.jsxs($,{children:[i.text1,t.jsxs(a,{children:[" ",i.text2]}),i.text3,t.jsxs(a,{children:[" ",i.text4]})]})},G=i=>{switch(i){case 0:return t.jsx(q,{});case 1:return t.jsx(J,{});case 2:return t.jsx(Z,{});default:return t.jsx(F,{})}};return t.jsx(pe,{windowSize:d,role:"presentation",style:{background:x.overlayDark,...e.style},children:t.jsx(ee,{onClickAway:()=>e.action.onBackClick?.(),children:t.jsxs(he,{windowSize:d,isEditPopup:!1,children:[t.jsxs(Le,{children:[t.jsx(xe,{children:K}),t.jsx(ge,{children:V}),t.jsx(je,{children:r.stepsTitle}),t.jsx(ue,{windowSize:d,children:L.map((i,n)=>t.jsxs(me,{children:[t.jsx(fe,{children:P(n)?n+1:t.jsx(Se,{})}),t.jsx(ve,{children:G(n)}),P(n)&&t.jsx(ye,{})]},`step_${n}`))})]}),t.jsx($e,{}),t.jsxs(we,{children:[t.jsx(N,{variant:"secondary",label:r.primaryButtonText,onClick:Y,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-watch-video-button")}),t.jsx(ze,{}),t.jsx(N,{variant:e.proceedButtonVariant??"primary",label:r.secondaryButtonText,onClick:e.action.onBackClick,style:{width:134,whiteSpace:"nowrap"},"data-testid":c("chase-overlay-proceed-button")})]})]})})})}const pe=o.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,4 +1,4 @@
1
- import{X as Q,j as t,Y as $,gZ as pe,M as ee,_ as M,K as Y,o,a3 as he,C as l,a2 as oe,k as ue,an as me,c0 as te,v as ge,s as F,a1 as xe,a as ke,c3 as fe,g as w,F as De,fD as $e,c6 as we,eN as G,cd as J,m as s,cW as be,bH as ye,bm as je,cz as Pe,f7 as Se,e as q,f9 as Le}from"./index-4Vt70fVf.js";import{b as f,n as a}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",E=e=>{const p=[];return e.checkFront!=null&&p.push(e.checkFront.fileId),e.checkBack!=null&&p.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(x=>({label:x.accountName,value:x.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:p,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,p)=>`${e}.${p}`,ze=e=>`${e}_form`,u={largeLabelWidth:new l(160,160,160),rowContentPaddingLeft:new l(s[3],s[4]),checkPicRowContentPaddingXAxis:new l(s[3],s[4]),labeleMarginLeft:new l(s[0],s[0]),labeleMarginBottom:new l(s[2],s[0]),labelMarginRight:new l(s[3],s[3]),labeledFieldPaddingLeft:new l(s[3],s[0]),labeledFieldPaddingRight:new l(s[3],s[2]),labeledFieldPaddingTop:new l(s[3],s[3]),labeledFieldPaddingBottom:new l(s[3],s[2]),infoLabelPaddingRight:new l(s[0],s[3]),infoLabelMarginTop:new l(s[1],s[0])},{spendManagement:Be,common:V}=ee.getLocalizedStrings(),c=Be.zeniAccounts.zeniAccountList,Ae=V.documents;function Ie({checkDeposit:e,analytics:p,filesEndPoint:x,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=Q(),n=e.fetchState,L=xe(n),[v,X]=f.useState(!1),[se,z]=f.useState(!1),B=u.largeLabelWidth.value(r),k=ke({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=k.formState,K=i=>{const d={amount:{amount:i[g].amount??0,currencyCode:V.currency.currencyCode,currencySymbol:V.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(d)},ce=async(i,d)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},d);K(h)}};f.useEffect(()=>{const i=k.watch((d,{name:h})=>{h!=null&&d!=null&&fe(()=>ce(h,d))});return()=>{i.unsubscribe()}}),f.useEffect(()=>{L==="Completed"&&n==="Not-Started"&&k.reset(E(e))},[L,n,k,e]),f.useEffect(()=>{e.error!=null?z(!0):z(!1)},[e.error]);const le=k.handleSubmit(()=>{if(re){p.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=k.getValues();K(i),T?.()}}),ne=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(I=>I.id===i),A=e.depositAccounts.depositAccounts.findIndex(I=>I.id===i);return h?t.jsx(Ve,{color:Se(A),isSelectedValue:d}):null},de=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?d===!0?t.jsx(Re,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(W,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(W,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(Xe,{children:[t.jsx(Ye,{}),t.jsxs(Ge,{children:[t.jsx(Je,{children:e.error?.title}),t.jsx(We,{children:e.error?.message})]})]}),t.jsx(Ke,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),z(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(Ze,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...k,children:t.jsx("form",{id:ze(ve),onSubmit:le,children:t.jsxs(He,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:B},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(we,{label:{label:c.checkDepositDrawer.sourceLabel,width:B},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(_e,{label:{label:c.checkDepositDrawer.depositToLabel,width:B,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,d)=>ne(i,d),valueToSubLabels:(i,d)=>de(i,d),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(Ue,{size:r,children:[t.jsxs(Qe,{size:r,children:[t.jsx(Ee,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(Z,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(G,{name:`${D(g,R)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>X(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(Z,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(G,{name:`${D(g,R)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>X(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ee=a(F)`
1
+ import{X as Q,j as t,Y as $,gZ as pe,M as ee,_ as M,K as Y,o,a3 as he,C as l,a2 as oe,k as ue,an as me,c0 as te,v as ge,s as F,a1 as xe,a as ke,c3 as fe,g as w,F as De,fD as $e,c6 as we,eN as G,cd as J,m as s,cW as be,bH as ye,bm as je,cz as Pe,f7 as Se,e as q,f9 as Le}from"./index-Bac0rl1Z.js";import{b as f,n as a}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",E=e=>{const p=[];return e.checkFront!=null&&p.push(e.checkFront.fileId),e.checkBack!=null&&p.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(x=>({label:x.accountName,value:x.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:p,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,p)=>`${e}.${p}`,ze=e=>`${e}_form`,u={largeLabelWidth:new l(160,160,160),rowContentPaddingLeft:new l(s[3],s[4]),checkPicRowContentPaddingXAxis:new l(s[3],s[4]),labeleMarginLeft:new l(s[0],s[0]),labeleMarginBottom:new l(s[2],s[0]),labelMarginRight:new l(s[3],s[3]),labeledFieldPaddingLeft:new l(s[3],s[0]),labeledFieldPaddingRight:new l(s[3],s[2]),labeledFieldPaddingTop:new l(s[3],s[3]),labeledFieldPaddingBottom:new l(s[3],s[2]),infoLabelPaddingRight:new l(s[0],s[3]),infoLabelMarginTop:new l(s[1],s[0])},{spendManagement:Be,common:V}=ee.getLocalizedStrings(),c=Be.zeniAccounts.zeniAccountList,Ae=V.documents;function Ie({checkDeposit:e,analytics:p,filesEndPoint:x,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=Q(),n=e.fetchState,L=xe(n),[v,X]=f.useState(!1),[se,z]=f.useState(!1),B=u.largeLabelWidth.value(r),k=ke({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=k.formState,K=i=>{const d={amount:{amount:i[g].amount??0,currencyCode:V.currency.currencyCode,currencySymbol:V.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(d)},ce=async(i,d)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},d);K(h)}};f.useEffect(()=>{const i=k.watch((d,{name:h})=>{h!=null&&d!=null&&fe(()=>ce(h,d))});return()=>{i.unsubscribe()}}),f.useEffect(()=>{L==="Completed"&&n==="Not-Started"&&k.reset(E(e))},[L,n,k,e]),f.useEffect(()=>{e.error!=null?z(!0):z(!1)},[e.error]);const le=k.handleSubmit(()=>{if(re){p.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=k.getValues();K(i),T?.()}}),ne=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(I=>I.id===i),A=e.depositAccounts.depositAccounts.findIndex(I=>I.id===i);return h?t.jsx(Ve,{color:Se(A),isSelectedValue:d}):null},de=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?d===!0?t.jsx(Re,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(W,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(W,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(Xe,{children:[t.jsx(Ye,{}),t.jsxs(Ge,{children:[t.jsx(Je,{children:e.error?.title}),t.jsx(We,{children:e.error?.message})]})]}),t.jsx(Ke,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),z(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(Ze,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...k,children:t.jsx("form",{id:ze(ve),onSubmit:le,children:t.jsxs(He,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:B},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(we,{label:{label:c.checkDepositDrawer.sourceLabel,width:B},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(_e,{label:{label:c.checkDepositDrawer.depositToLabel,width:B,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,d)=>ne(i,d),valueToSubLabels:(i,d)=>de(i,d),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(Ue,{size:r,children:[t.jsxs(Qe,{size:r,children:[t.jsx(Ee,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(Z,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(G,{name:`${D(g,R)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>X(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(Z,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(G,{name:`${D(g,R)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:J,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>X(i),onEditFileName:S,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ee=a(F)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Ne=a(F)`
4
4
  color: ${e=>e.theme.colors.hero};
@@ -1,4 +1,4 @@
1
- import{j as t,ai as po,Y as m,bd as fe,_ as Z,dg as go,o as c,g as ee,a1 as hi,X as M,H as ui,z as fo,dh as pi,di as xo,l as A,M as W,m as w,dj as Vi,dk as Ot,a7 as _,dl as Mt,by as Nt,dm as It,C as D,cs as Pt,w as Di,T as Je,dn as Ne,bf as K,c as mo,u as ce,ae as Ri,dp as Ei,a8 as V,n as Ae,dq as wo,dr as se,bx as zt,bB as gi,v as yo,e as ye,ds as Xe,dt as Be,du as tt,s as C,bH as ne,dv as bo,p as Ft,dw as Re,dx as fi,dy as xi,dz as ko,dA as jo,an as Gi,ak as So,bY as Tt,bX as Vt,c$ as Co,al as Hi,b$ as Ki,bl as vo,dB as $o,dC as mi,dD as wi,dE as _o,dF as Lo,bs as Ao,b4 as Bo,dG as Wo}from"./index-4Vt70fVf.js";import{n as a,b as I,f as Oo,j as P}from"./vendor-CnQcJ2Lu.js";import{L as it,N as Mo,D as No,B as be,u as $}from"./AccountRow-WEuGwVlL-JxLe7wdK.js";function q(e,i){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("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 Yi(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.totalPercentValue)}return Z("0,0",e?.totalBalance)}function bt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.forecastPercentValue)}return Z("0,0",e?.totalForecast)}function de(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const i=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function he(e){if(e!=null&&e.forecast!=null){const i=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return Z("0,0",Object.assign({},e.forecast,{amount:i}))}else return Z("0,0",null)}function Ui(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const i=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function Zi(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const i=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return Z("0,0",Object.assign({},e.totalForecast,{amount:i}))}else return Z("0,0",null)}const Ie=(e,i,n)=>{const{startDate:o,balanceType:r}=i,{dateFormat:{visual:l}}=W.getLocalizedStrings();switch(n){case"month":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.MMMYYYYFormat,e)}`:ft(r,n);case"quarter":return r==="default"||r==="default_with_percent"?`${W.getLocalizedStrings().reports.quarterPrefix}${A.formatZeniDate(o,l.QYYYYformat,e)}`:ft(r,n);case"year":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.YYYYformat,e)}`:ft(r,n);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function ft(e,i){return W.getLocalizedStrings().downloadReport.additionalColumns.labels[i][e]}const eg=(e,i,n)=>{const o=i.length==0?e:`${e}_${i.join("_")}`;return n!=null&&n.trim().length>0?`${o}_${n}`:`${o}_${go(10)}`},Io=a.div`
1
+ import{j as t,ai as po,Y as m,bd as fe,_ as Z,dg as go,o as c,g as ee,a1 as hi,X as M,H as ui,z as fo,dh as pi,di as xo,l as A,M as W,m as w,dj as Vi,dk as Ot,a7 as _,dl as Mt,by as Nt,dm as It,C as D,cs as Pt,w as Di,T as Je,dn as Ne,bf as K,c as mo,u as ce,ae as Ri,dp as Ei,a8 as V,n as Ae,dq as wo,dr as se,bx as zt,bB as gi,v as yo,e as ye,ds as Xe,dt as Be,du as tt,s as C,bH as ne,dv as bo,p as Ft,dw as Re,dx as fi,dy as xi,dz as ko,dA as jo,an as Gi,ak as So,bY as Tt,bX as Vt,c$ as Co,al as Hi,b$ as Ki,bl as vo,dB as $o,dC as mi,dD as wi,dE as _o,dF as Lo,bs as Ao,b4 as Bo,dG as Wo}from"./index-Bac0rl1Z.js";import{n as a,b as I,f as Oo,j as P}from"./vendor-CnQcJ2Lu.js";import{L as it,N as Mo,D as No,B as be,u as $}from"./AccountRow-DAc1wwY9-DEIj0_IL.js";function q(e,i){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("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 Yi(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.totalPercentValue)}return Z("0,0",e?.totalBalance)}function bt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return fe("0.00%",e.forecastPercentValue)}return Z("0,0",e?.totalForecast)}function de(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const i=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function he(e){if(e!=null&&e.forecast!=null){const i=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return Z("0,0",Object.assign({},e.forecast,{amount:i}))}else return Z("0,0",null)}function Ui(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const i=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return fe("0.00%",Math.floor(i*100)/100)}else return fe("0.00%",void 0)}function Zi(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const i=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return Z("0,0",Object.assign({},e.totalForecast,{amount:i}))}else return Z("0,0",null)}const Ie=(e,i,n)=>{const{startDate:o,balanceType:r}=i,{dateFormat:{visual:l}}=W.getLocalizedStrings();switch(n){case"month":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.MMMYYYYFormat,e)}`:ft(r,n);case"quarter":return r==="default"||r==="default_with_percent"?`${W.getLocalizedStrings().reports.quarterPrefix}${A.formatZeniDate(o,l.QYYYYformat,e)}`:ft(r,n);case"year":return r==="default"||r==="default_with_percent"?`${A.formatZeniDate(o,l.YYYYformat,e)}`:ft(r,n);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function ft(e,i){return W.getLocalizedStrings().downloadReport.additionalColumns.labels[i][e]}const eg=(e,i,n)=>{const o=i.length==0?e:`${e}_${i.join("_")}`;return n!=null&&n.trim().length>0?`${o}_${n}`:`${o}_${go(10)}`},Io=a.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{X as ze,u as Re,cg as yl,M as ue,C,a1 as gl,j as l,bs as Be,eZ as We,bP as _e,ft as Ce,o as a,fC as bl,cf as qe,c6 as ee,c8 as ce,cc as Me,l as Le,cy as xl,cw as wl,ca as Ue,c9 as De,fD as Te,fE as jl,fb as vl,fa as ke,cd as ge,ce as $l,g as Ne,e_ as He,Q as Ge,b4 as Ye,eY as Ze,s as Pe,fs as Qe,p as ye,f as Il,b1 as Sl,m as ae,dg as Ol,fF as Ll,e as Dl,fG as Fl,b2 as be,v as _l,cq as Cl,b0 as Nl,a$ as Pl}from"./index-4Vt70fVf.js";import{b as M,n as t}from"./vendor-CnQcJ2Lu.js";import{W as Fe}from"./LabeledAddressValueField-CkMlEpyG-DoliwdUM.js";import{D as El}from"./LabeledCreatableSingleSelectField-CB5WGZwa-wo9NjzlR.js";import{Y as Ie}from"./LabeledDocumentField-ClOVVHoy-Dq3PNVOa.js";import{P as Xe}from"./DocumentSecurityBanner-DDc5UFRt-DtIawul4.js";const Je=({text:e})=>l.jsx(Tl,{children:l.jsx(Vl,{children:e})}),Vl=t(Fl)`
1
+ import{X as ze,u as Re,cg as yl,M as ue,C,a1 as gl,j as l,bs as Be,eZ as We,bP as _e,ft as Ce,o as a,fC as bl,cf as qe,c6 as ee,c8 as ce,cc as Me,l as Le,cy as xl,cw as wl,ca as Ue,c9 as De,fD as Te,fE as jl,fb as vl,fa as ke,cd as ge,ce as $l,g as Ne,e_ as He,Q as Ge,b4 as Ye,eY as Ze,s as Pe,fs as Qe,p as ye,f as Il,b1 as Sl,m as ae,dg as Ol,fF as Ll,e as Dl,fG as Fl,b2 as be,v as _l,cq as Cl,b0 as Nl,a$ as Pl}from"./index-Bac0rl1Z.js";import{b as M,n as t}from"./vendor-CnQcJ2Lu.js";import{W as Fe}from"./LabeledAddressValueField-D5zB7wnP-D9_x4rj6.js";import{D as El}from"./LabeledCreatableSingleSelectField-DOv10RFp-E8nB4rrt.js";import{Y as Ie}from"./LabeledDocumentField-CO6_e65U-Xg9JvMjr.js";import{P as Xe}from"./DocumentSecurityBanner-C7TAyvIZ-DrKz95xX.js";const Je=({text:e})=>l.jsx(Tl,{children:l.jsx(Vl,{children:e})}),Vl=t(Fl)`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  color: ${e=>e.theme.colors.hero};
@@ -1,4 +1,4 @@
1
- import{j as r,U as x,W as M,Y as f,M as p,o as s,a4 as w,v as g,a5 as j}from"./index-4Vt70fVf.js";import{b as t,n as o}from"./vendor-CnQcJ2Lu.js";import{c as H}from"./SummaryCard-OxWKTAi_-hNJY3gZm.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-BsW5v4Z9-CUdTOVzf.js";const v=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=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})),L=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"})),y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:B},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:L},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:v}],D=o(w)`
1
+ import{j as r,U as x,W as M,Y as f,M as p,o as s,a4 as w,v as g,a5 as j}from"./index-Bac0rl1Z.js";import{b as t,n as o}from"./vendor-CnQcJ2Lu.js";import{c as H}from"./SummaryCard-BPy7YF4F-BlgzbHmQ.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-F-DEmw51-CyIUQ5A1.js";const v=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=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})),L=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"})),y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:B},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:L},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:v}],D=o(w)`
2
2
  margin: ${s.sp5};
3
3
  justify-content: space-between;
4
4
  `,W=o.div`
@@ -1,4 +1,4 @@
1
- import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c4 as ha,l as V,a3 as fa,C as m,c5 as xa,a2 as Ce,o as t,s as ae,c6 as z,c7 as ze,c8 as L,c9 as ya,ca as Ue,cb as ga,cc as ba,cd as qe,w as $a,ce as wa,cf as He,cg as Ze,ch as Ia,ci as ja,cj as va,g as N,ck as Da,cl as Sa,aM as Oa,a5 as Ca,an as q,cm as Fe,m as p,v as Ge,K as Me,cn as Fa,H as ka,co as Ta,cp as Na,b1 as Pa,cq as La,bH as za,cr as Ma,e as Ea,b2 as R,cs as Va,p as de,a$ as Ba}from"./index-4Vt70fVf.js";import{b as _,n as s,f as Wa,k as _a}from"./vendor-CnQcJ2Lu.js";import{D as Xe}from"./LabeledCreatableSingleSelectField-CB5WGZwa-wo9NjzlR.js";import{Y as Ke}from"./LabeledDocumentField-ClOVVHoy-Dq3PNVOa.js";import{$ as Je}from"./LabeledAddressValue-Brl4LzSu-Crlgewjx.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Qe={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ra=_a`
1
+ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c4 as ha,l as V,a3 as fa,C as m,c5 as xa,a2 as Ce,o as t,s as ae,c6 as z,c7 as ze,c8 as L,c9 as ya,ca as Ue,cb as ga,cc as ba,cd as qe,w as $a,ce as wa,cf as He,cg as Ze,ch as Ia,ci as ja,cj as va,g as N,ck as Da,cl as Sa,aM as Oa,a5 as Ca,an as q,cm as Fe,m as p,v as Ge,K as Me,cn as Fa,H as ka,co as Ta,cp as Na,b1 as Pa,cq as La,bH as za,cr as Ma,e as Ea,b2 as R,cs as Va,p as de,a$ as Ba}from"./index-Bac0rl1Z.js";import{b as _,n as s,f as Wa,k as _a}from"./vendor-CnQcJ2Lu.js";import{D as Xe}from"./LabeledCreatableSingleSelectField-DOv10RFp-E8nB4rrt.js";import{Y as Ke}from"./LabeledDocumentField-CO6_e65U-Xg9JvMjr.js";import{$ as Je}from"./LabeledAddressValue-CoQKG0Vs-ArQ7GQm6.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Qe={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ra=_a`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -1,4 +1,4 @@
1
- import{a as R,ge as M,M as $,j as e,F as T,T as f,c6 as q,cf as z,cc as G,l as K,o as a,ca as _,gf as H,a3 as W,c0 as Y,bo as Z,gg as J}from"./index-4Vt70fVf.js";import{b as g,f as b,n}from"./vendor-CnQcJ2Lu.js";import{$ as Q}from"./LabeledAddressValue-Brl4LzSu-Crlgewjx.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const t=$.getLocalizedStrings(),x="completeProfilePage",r="basicDetailsSection",y="addressSection",d=(o,m)=>`${o}.${m}`,he=({userEmail:o,googleAPIKey:m,otpChallenge:j,sendOtpStatus:v,verifyOtpStatus:h,saveStatus:w,onSave:u,onGetOtp:P,onVerifyOtp:S,onResendOtp:O})=>{const[s,c]=g.useState(!1),[V,C]=g.useState(!1),i=R({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:o,dateOfBirth:void 0,phone:"",address:void 0}}}),F=M({control:i.control,name:`${r}.address`}),{dateFormat:I}=$.getLocalizedStrings(),N=i.handleSubmit(l=>{u&&u(l)}),L=()=>{const l=i.getValues(`${r}.phone`);l!=null&&l.trim().length>0&&P(l)},k=(l,p)=>{S(l,p)},D=l=>{l!=null&&l.trim().length>0&&O(l)},B=()=>{c(!0)},E=()=>{c(!1)},A=()=>{const l=i.getValues(`${y}`);if(l!=null){const p=J(l);i.setValue(`${r}.address`,p)}c(!1)};return e.jsxs(U,{children:[e.jsxs(X,{children:[e.jsxs(ee,{children:[s&&e.jsx(oe,{onClick:E}),t.completeProfile.title]}),e.jsx(te,{children:e.jsx(T,{...i,children:e.jsxs("form",{id:`${x}_form`,onSubmit:N,children:[e.jsx(f,{controller:s===!1,children:e.jsxs(b.Fragment,{children:[e.jsx(q,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:t.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:d(r,"email")}}),e.jsx(z,{isDisabled:void 0,label:{label:t.common.labels.name,width:168},style:{width:"100%"},nameField:{name:d(r,"name"),placeHolder:{firstName:t.common.placeholder.firstNamePlaceholder,lastName:t.common.placeholder.lastNamePlaceholder,name:t.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),e.jsx(G,{isOptional:!0,label:{label:t.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:d(r,"dateOfBirth"),placeholder:t.common.placeholder.dobPlaceholder,dateFormat:I.visual.defaultInput,autoComplete:"off",maxDate:K.dateNow().subtract(18,"year")}}),e.jsx(Q,{isOptional:!0,label:{label:t.common.labels.address,width:168},addressValue:{placeholder:t.common.placeholder.addressPlaceholder,address:F,onClick:B},style:{width:"100%",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`}}),e.jsx(_,{isOptional:!0,label:{label:t.common.labels.phone,width:168},style:{width:"100%"},text:{name:d(r,"phone"),placeholder:t.common.placeholder.phonePlaceholder,defaultValue:"",autoComplete:"new-password"},errorInfoLabel:"",verificationErrorInfoLabel:t.common.errorMessage.invalidPhoneNumber,isPopupOpen:V,phoneVerifyButtonProps:{otpChallenge:j,showOtpButton:!0,onGetOtp:L,onVerifyOtp:k,onResendOtp:D,isPhoneVerified:h.fetchState==="Completed",phoneVerificationStatus:h,getOtpStatus:v,openPopup:()=>{C(!0)},focusNotRequired:!0}})]})}),e.jsx(f,{controller:s===!0,children:e.jsx(b.Fragment,{children:e.jsx(H,{sectionId:y,googleAPIKey:m,isSubPage:!0})})})]})})})]}),e.jsx(W,{formId:s?void 0:`${x}_form`,primaryBtn:{label:s?t.companyPassport.address.saveAddress:t.common.footer.save,type:s?"button":"submit",onClick:s?A:void 0,isLoading:w.fetchState==="In-Progress"},showCancel:!1})]})},U=n.div`
1
+ import{a as R,ge as M,M as $,j as e,F as T,T as f,c6 as q,cf as z,cc as G,l as K,o as a,ca as _,gf as H,a3 as W,c0 as Y,bo as Z,gg as J}from"./index-Bac0rl1Z.js";import{b as g,f as b,n}from"./vendor-CnQcJ2Lu.js";import{$ as Q}from"./LabeledAddressValue-CoQKG0Vs-ArQ7GQm6.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const t=$.getLocalizedStrings(),x="completeProfilePage",r="basicDetailsSection",y="addressSection",d=(o,m)=>`${o}.${m}`,he=({userEmail:o,googleAPIKey:m,otpChallenge:j,sendOtpStatus:v,verifyOtpStatus:h,saveStatus:w,onSave:u,onGetOtp:P,onVerifyOtp:S,onResendOtp:O})=>{const[s,c]=g.useState(!1),[V,C]=g.useState(!1),i=R({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:o,dateOfBirth:void 0,phone:"",address:void 0}}}),F=M({control:i.control,name:`${r}.address`}),{dateFormat:I}=$.getLocalizedStrings(),N=i.handleSubmit(l=>{u&&u(l)}),L=()=>{const l=i.getValues(`${r}.phone`);l!=null&&l.trim().length>0&&P(l)},k=(l,p)=>{S(l,p)},D=l=>{l!=null&&l.trim().length>0&&O(l)},B=()=>{c(!0)},E=()=>{c(!1)},A=()=>{const l=i.getValues(`${y}`);if(l!=null){const p=J(l);i.setValue(`${r}.address`,p)}c(!1)};return e.jsxs(U,{children:[e.jsxs(X,{children:[e.jsxs(ee,{children:[s&&e.jsx(oe,{onClick:E}),t.completeProfile.title]}),e.jsx(te,{children:e.jsx(T,{...i,children:e.jsxs("form",{id:`${x}_form`,onSubmit:N,children:[e.jsx(f,{controller:s===!1,children:e.jsxs(b.Fragment,{children:[e.jsx(q,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:t.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:d(r,"email")}}),e.jsx(z,{isDisabled:void 0,label:{label:t.common.labels.name,width:168},style:{width:"100%"},nameField:{name:d(r,"name"),placeHolder:{firstName:t.common.placeholder.firstNamePlaceholder,lastName:t.common.placeholder.lastNamePlaceholder,name:t.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),e.jsx(G,{isOptional:!0,label:{label:t.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:d(r,"dateOfBirth"),placeholder:t.common.placeholder.dobPlaceholder,dateFormat:I.visual.defaultInput,autoComplete:"off",maxDate:K.dateNow().subtract(18,"year")}}),e.jsx(Q,{isOptional:!0,label:{label:t.common.labels.address,width:168},addressValue:{placeholder:t.common.placeholder.addressPlaceholder,address:F,onClick:B},style:{width:"100%",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`}}),e.jsx(_,{isOptional:!0,label:{label:t.common.labels.phone,width:168},style:{width:"100%"},text:{name:d(r,"phone"),placeholder:t.common.placeholder.phonePlaceholder,defaultValue:"",autoComplete:"new-password"},errorInfoLabel:"",verificationErrorInfoLabel:t.common.errorMessage.invalidPhoneNumber,isPopupOpen:V,phoneVerifyButtonProps:{otpChallenge:j,showOtpButton:!0,onGetOtp:L,onVerifyOtp:k,onResendOtp:D,isPhoneVerified:h.fetchState==="Completed",phoneVerificationStatus:h,getOtpStatus:v,openPopup:()=>{C(!0)},focusNotRequired:!0}})]})}),e.jsx(f,{controller:s===!0,children:e.jsx(b.Fragment,{children:e.jsx(H,{sectionId:y,googleAPIKey:m,isSubPage:!0})})})]})})})]}),e.jsx(W,{formId:s?void 0:`${x}_form`,primaryBtn:{label:s?t.companyPassport.address.saveAddress:t.common.footer.save,type:s?"button":"submit",onClick:s?A:void 0,isLoading:w.fetchState==="In-Progress"},showCancel:!1})]})},U=n.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-height: 100vh;
@@ -1 +1 @@
1
- import{d1 as m,ab as l,j as a,aj as f,o as n}from"./index-4Vt70fVf.js";import{b as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const c="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",C=({showConfetti:t})=>{const[e,p]=i.useState(t),[o,s]=m(c),[r]=l("ConfettiSuccess");return i.useEffect(()=>{t&&p(!0)},[t]),i.useEffect(()=>{e&&o===!1&&s(!0)},[e,o,s]),a.jsx(a.Fragment,{children:e&&o&&r!=null?a.jsx(f,{style:{position:"absolute",width:"100%",height:"100vh",top:n.sp0,left:n.sp0,zIndex:5},onComplete:()=>{s(!1),p(!1)},animationData:r,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{C as default};
1
+ import{d1 as m,ab as l,j as a,aj as f,o as n}from"./index-Bac0rl1Z.js";import{b as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const c="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",C=({showConfetti:t})=>{const[e,p]=i.useState(t),[o,s]=m(c),[r]=l("ConfettiSuccess");return i.useEffect(()=>{t&&p(!0)},[t]),i.useEffect(()=>{e&&o===!1&&s(!0)},[e,o,s]),a.jsx(a.Fragment,{children:e&&o&&r!=null?a.jsx(f,{style:{position:"absolute",width:"100%",height:"100vh",top:n.sp0,left:n.sp0,zIndex:5},onComplete:()=>{s(!1),p(!1)},animationData:r,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{C as default};
@@ -1,4 +1,4 @@
1
- import{u as qe,X as v,M as h,H as U,c5 as Ye,j as t,aV as _e,Y as b,c as Qe,bO as ae,bQ as ie,bR as se,ct as Ge,a3 as Ke,C as W,bo as Xe,o,cu as Ze,bs as k,bH as le,m as f,al as de,v as ce,s as Q,aN as Je,cq as pe,g as L,cv as me,cn as ue}from"./index-4Vt70fVf.js";import{b as x,n as r}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const et=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:a,bankName:s,routingNumberOrSwiftCode:d,accountName:u,routingNumberOrSwiftCodeLabel:m,onDeleteClick:w})=>{const j=v(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(H,{children:[t.jsx(q,{children:m}),t.jsx(Y,{children:d})]}),t.jsxs(H,{children:[t.jsx(q,{children:p.achDetails.bankName}),t.jsx(Y,{children:s})]}),t.jsxs(H,{children:[t.jsx(q,{children:a}),t.jsx(Y,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(Q,{children:[`${s} ${p.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(k,{title:g,placement:"top",children:t.jsx(st,{children:t.jsx(lt,{})})})]}),t.jsx(ot,{children:u??p.emptyPlaceholderString})]}),t.jsx(nt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:p.deleteAccountTooltip,placement:"top",children:t.jsx(it,{onClick:y=>{y.stopPropagation(),w()},"data-testid":b("delete-vendor-account-section",u),children:t.jsx(dt,{})})})})]})},tt=r.div`
1
+ import{u as qe,X as v,M as h,H as U,c5 as Ye,j as t,aV as _e,Y as b,c as Qe,bO as ae,bQ as ie,bR as se,ct as Ge,a3 as Ke,C as W,bo as Xe,o,cu as Ze,bs as k,bH as le,m as f,al as de,v as ce,s as Q,aN as Je,cq as pe,g as L,cv as me,cn as ue}from"./index-Bac0rl1Z.js";import{b as x,n as r}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const et=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:a,bankName:s,routingNumberOrSwiftCode:d,accountName:u,routingNumberOrSwiftCodeLabel:m,onDeleteClick:w})=>{const j=v(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(H,{children:[t.jsx(q,{children:m}),t.jsx(Y,{children:d})]}),t.jsxs(H,{children:[t.jsx(q,{children:p.achDetails.bankName}),t.jsx(Y,{children:s})]}),t.jsxs(H,{children:[t.jsx(q,{children:a}),t.jsx(Y,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(Q,{children:[`${s} ${p.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(k,{title:g,placement:"top",children:t.jsx(st,{children:t.jsx(lt,{})})})]}),t.jsx(ot,{children:u??p.emptyPlaceholderString})]}),t.jsx(nt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:p.deleteAccountTooltip,placement:"top",children:t.jsx(it,{onClick:y=>{y.stopPropagation(),w()},"data-testid":b("delete-vendor-account-section",u),children:t.jsx(dt,{})})})})]})},tt=r.div`
2
2
  display: flex;
3
3
  flex-wrap: wrap;
4
4
  gap: ${o.sp1};
@@ -1,4 +1,4 @@
1
- import{j as a,X as me,d2 as pe,Y as te,gN as Je,M as W,_ as Te,K as He,c as et,a3 as Pe,o as t,C as d,a2 as je,k as tt,O as at,u as ze,bs as nt,cO as Ee,Q as V,g as X,fQ as Ce,p as ot,l as T,Z as Me,c0 as it,a1 as be,a as rt,eX as lt,c3 as ct,F as st,cz as dt,f4 as mt,c8 as pt,fD as ut,m as r,bo as ht,bm as Be,cW as gt,bH as yt,s as Oe,f7 as ft,e$ as Ct,a6 as bt,f8 as xt,cq as St,f9 as wt,fi as Dt}from"./index-4Vt70fVf.js";import{n as o,b as p}from"./vendor-CnQcJ2Lu.js";import{x as $t}from"./LabeledControlledCheckBoxField-KplLKC3R-CMCXrJ87.js";import{v as kt}from"./ChargeCardUtils-Bol5oWmA-CmmODJlt.js";import{X as xe}from"./CreditCardPaymentPlgSection-CGiJIVca-CihNYXrO.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ae={largeLabelWidth:new d(120,120,160),navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(r[3],r[6],r[8]),containerPaddingRight:new d(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new d(r[5],r[8])},de={pageTitle:new V("h6Regular","h5Regular"),integerAmountInput:new V("h5Regular","h2Regular"),decimalAmountInput:new V("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:At}},common:{edit:vt,labels:Se,currency:we,navBar:{back:Lt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=W.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:v,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:D})=>{const m=me(),P=ze(),j=pe().analytics,[M,L]=p.useState(!1);p.useEffect(()=>{e.error!=null?L(!0):L(!1)},[e.error]);const k=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Kt,{windowSize:m,children:a.jsx(nt,{title:Lt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Zt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},v,y,b),x(!1)}})})}),a.jsx(Qt,{windowSize:m,children:It.reviewAndConfirm}),a.jsx(Tt,{children:a.jsx(Ee,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),M?a.jsx(Ot,{children:a.jsxs(zt,{children:[a.jsxs(Nt,{children:[a.jsx(Yt,{}),a.jsxs(Et,{children:[a.jsx(Mt,{children:e.error?.title}),a.jsx(Bt,{children:e.error?.message})]})]}),a.jsx(Ut,{children:a.jsx(Vt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{L(!1)},style:{width:t.sp3,height:t.sp3,color:X.heroLight}})})]})}):null,a.jsx(Xt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:k},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Wt,{}),a.jsx(Ce,{label:{label:Se.amount,width:k},showAdditionalInfoLabel:!0,additionalInfoLabel:`${D?ee.creditLimitReset:ee.creditLimitUpdate} ${T.zeniDate(T.getNextNthWorkingDay(T.dateNow().toDate(),[0,6],3).toDateString()).format(At)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:P.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Te("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:vt,onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},v,y,b),x(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Ht,{isOptionSelected:h,children:a.jsx(ea,{color:ft(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(qt,{src:Rt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Gt,{isOptionSelected:h,children:a.jsx(Jt,{})})}return null},Rt=e=>e.base64!==void 0?`${Ct}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Tt=o(Be)`
1
+ import{j as a,X as me,d2 as pe,Y as te,gN as Je,M as W,_ as Te,K as He,c as et,a3 as Pe,o as t,C as d,a2 as je,k as tt,O as at,u as ze,bs as nt,cO as Ee,Q as V,g as X,fQ as Ce,p as ot,l as T,Z as Me,c0 as it,a1 as be,a as rt,eX as lt,c3 as ct,F as st,cz as dt,f4 as mt,c8 as pt,fD as ut,m as r,bo as ht,bm as Be,cW as gt,bH as yt,s as Oe,f7 as ft,e$ as Ct,a6 as bt,f8 as xt,cq as St,f9 as wt,fi as Dt}from"./index-Bac0rl1Z.js";import{n as o,b as p}from"./vendor-CnQcJ2Lu.js";import{x as $t}from"./LabeledControlledCheckBoxField-DSefRIxV-DEzZcib8.js";import{v as kt}from"./ChargeCardUtils-BQZTS-KQ-BEdPKA-Q.js";import{X as xe}from"./CreditCardPaymentPlgSection-C86KVs5o-DS3hiQEi.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ae={largeLabelWidth:new d(120,120,160),navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(r[3],r[6],r[8]),containerPaddingRight:new d(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new d(r[5],r[8])},de={pageTitle:new V("h6Regular","h5Regular"),integerAmountInput:new V("h5Regular","h2Regular"),decimalAmountInput:new V("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:At}},common:{edit:vt,labels:Se,currency:we,navBar:{back:Lt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=W.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:v,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:D})=>{const m=me(),P=ze(),j=pe().analytics,[M,L]=p.useState(!1);p.useEffect(()=>{e.error!=null?L(!0):L(!1)},[e.error]);const k=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Kt,{windowSize:m,children:a.jsx(nt,{title:Lt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Zt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},v,y,b),x(!1)}})})}),a.jsx(Qt,{windowSize:m,children:It.reviewAndConfirm}),a.jsx(Tt,{children:a.jsx(Ee,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),M?a.jsx(Ot,{children:a.jsxs(zt,{children:[a.jsxs(Nt,{children:[a.jsx(Yt,{}),a.jsxs(Et,{children:[a.jsx(Mt,{children:e.error?.title}),a.jsx(Bt,{children:e.error?.message})]})]}),a.jsx(Ut,{children:a.jsx(Vt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{L(!1)},style:{width:t.sp3,height:t.sp3,color:X.heroLight}})})]})}):null,a.jsx(Xt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:k},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Wt,{}),a.jsx(Ce,{label:{label:Se.amount,width:k},showAdditionalInfoLabel:!0,additionalInfoLabel:`${D?ee.creditLimitReset:ee.creditLimitUpdate} ${T.zeniDate(T.getNextNthWorkingDay(T.dateNow().toDate(),[0,6],3).toDateString()).format(At)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:P.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Te("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:vt,onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},v,y,b),x(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Ht,{isOptionSelected:h,children:a.jsx(ea,{color:ft(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(qt,{src:Rt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Gt,{isOptionSelected:h,children:a.jsx(Jt,{})})}return null},Rt=e=>e.base64!==void 0?`${Ct}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Tt=o(Be)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  padding-top: ${t.sp3};
4
4
  `,Pt=o.div`
@@ -1,4 +1,4 @@
1
- import{X as j,u as M,M as L,aa as R,a0 as T,j as i,Y as b,K as H,bB as U,o as l,g as n,C as a,aQ as W,bH as B,ax as G,v as _,m as o}from"./index-4Vt70fVf.js";import{n as t}from"./vendor-CnQcJ2Lu.js";const r={iconContainerMaxWidthHeight:new a(o[6],o[7]),iconContainerMarginRight:new a(o[3],o[3]),iconWidthHeight:new a(20,o[4]),iconPadding:new a(10,12),containerPaddingTopBottom:new a(o[4],o[4]),containerPaddingLeftRight:new a(o[3],o[4]),buttonLeftMargin:new a(o[8],o[0]),buttonTopMargin:new a(o[4],o[2]),buttonRightMargin:new a(o[0],20)};function Q({heading:e,buttonText:c,analytics:g,maxInsuredAmount:u,pageName:h,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:$}){const d=j(),f=M(),{common:v,commonSetUp:P}=L.getLocalizedStrings(),s=P.setUp.accountsPlg,z=()=>{switch(c){case s.signUpButtonText:g?.trackPlgPromoClicked(h,"Sign Up for Free"),S?.();break;case s.switchButtonText:g?.trackPlgPromoClicked(h,"Switch Now"),y?.();break;default:g?.trackPlgPromoClicked(h,"Move Money"),$?.()}},k=R(T(u),u,v.currency.currencySymbol).toUpperCase();return i.jsxs(E,{windowSize:d,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(D,{children:[i.jsx(A,{windowSize:d,isDarkMode:f.mode==="dark",children:i.jsx(O,{windowSize:d,children:i.jsx(X,{})})}),i.jsx(F,{children:i.jsxs(I,{children:[i.jsx(J,{windowSize:d,children:e}),i.jsxs(N,{windowSize:d,children:[i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.two.replace("__amount__",k)})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.three})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.four})]})]})]})})]}),i.jsx(K,{windowSize:d,children:i.jsx(H,{label:c,"data-testid":b("accounts-plg-button",c),onClick:C=>{C.stopPropagation(),z()},buttonColors:{borderColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},backgroundColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},textColor:{default:n.neutralGrey5Light,hover:n.neutralGrey5Light,disabled:n.neutralGrey5Light}},size:"small",style:{padding:`6px ${l.sp3}`,borderRadius:"6px"},textStyle:{fontWeight:U.regular}})})]})}const D=t.div`
1
+ import{X as j,u as M,M as L,aa as R,a0 as T,j as i,Y as b,K as H,bB as U,o as l,g as n,C as a,aQ as W,bH as B,ax as G,v as _,m as o}from"./index-Bac0rl1Z.js";import{n as t}from"./vendor-CnQcJ2Lu.js";const r={iconContainerMaxWidthHeight:new a(o[6],o[7]),iconContainerMarginRight:new a(o[3],o[3]),iconWidthHeight:new a(20,o[4]),iconPadding:new a(10,12),containerPaddingTopBottom:new a(o[4],o[4]),containerPaddingLeftRight:new a(o[3],o[4]),buttonLeftMargin:new a(o[8],o[0]),buttonTopMargin:new a(o[4],o[2]),buttonRightMargin:new a(o[0],20)};function Q({heading:e,buttonText:c,analytics:g,maxInsuredAmount:u,pageName:h,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:$}){const d=j(),f=M(),{common:v,commonSetUp:P}=L.getLocalizedStrings(),s=P.setUp.accountsPlg,z=()=>{switch(c){case s.signUpButtonText:g?.trackPlgPromoClicked(h,"Sign Up for Free"),S?.();break;case s.switchButtonText:g?.trackPlgPromoClicked(h,"Switch Now"),y?.();break;default:g?.trackPlgPromoClicked(h,"Move Money"),$?.()}},k=R(T(u),u,v.currency.currencySymbol).toUpperCase();return i.jsxs(E,{windowSize:d,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(D,{children:[i.jsx(A,{windowSize:d,isDarkMode:f.mode==="dark",children:i.jsx(O,{windowSize:d,children:i.jsx(X,{})})}),i.jsx(F,{children:i.jsxs(I,{children:[i.jsx(J,{windowSize:d,children:e}),i.jsxs(N,{windowSize:d,children:[i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.two.replace("__amount__",k)})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.three})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.four})]})]})]})})]}),i.jsx(K,{windowSize:d,children:i.jsx(H,{label:c,"data-testid":b("accounts-plg-button",c),onClick:C=>{C.stopPropagation(),z()},buttonColors:{borderColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},backgroundColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},textColor:{default:n.neutralGrey5Light,hover:n.neutralGrey5Light,disabled:n.neutralGrey5Light}},size:"small",style:{padding:`6px ${l.sp3}`,borderRadius:"6px"},textStyle:{fontWeight:U.regular}})})]})}const D=t.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  `,J=t(B)`
@@ -1,4 +1,4 @@
1
- import{cg as M,u as N,co as P,M as H,j as l,cp as L,Y as x,b1 as z,o,dg as _,bT as T,b2 as g,s as B,p as S,eT as U,eU as Y,eV as A,v as K,a$ as X,a2 as Z,g as m}from"./index-4Vt70fVf.js";import{b as w,n}from"./vendor-CnQcJ2Lu.js";const fe=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[j,C]=w.useState(!1),k=P(f,e??""),V=H.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??V.countryCode}},I={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(L,{name:e,control:y,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return w.createElement(z,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:_(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:q,Option:G,Input:W,SingleValue:ee,ValueContainer:Q,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:J},hideSelectedOptions:!1,styles:I,isDisabled:a!=null})}})},q=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},G=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},J=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(T,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:t[y]})})},Q=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),W=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(B)`
1
+ import{cg as M,u as N,co as P,M as H,j as l,cp as L,Y as x,b1 as z,o,dg as _,bT as T,b2 as g,s as B,p as S,eT as U,eU as Y,eV as A,v as K,a$ as X,a2 as Z,g as m}from"./index-Bac0rl1Z.js";import{b as w,n}from"./vendor-CnQcJ2Lu.js";const fe=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[j,C]=w.useState(!1),k=P(f,e??""),V=H.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??V.countryCode}},I={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(L,{name:e,control:y,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return w.createElement(z,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:_(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:q,Option:G,Input:W,SingleValue:ee,ValueContainer:Q,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:J},hideSelectedOptions:!1,styles:I,isDisabled:a!=null})}})},q=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},G=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},J=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(T,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:t[y]})})},Q=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),W=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(B)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&U(e)===!1)return l.jsx(l.Fragment,{});{const r=Y[`${A(e??"")}`];return l.jsx(ie,{children:l.jsx(r,{width:o.sp4,height:o.sp3})})}},te=n.span`
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{j as t,X as b,M as d,a1 as l,Y as p,c as x,o as i,$ as g,c0 as h,k as m}from"./index-4Vt70fVf.js";import{b as u,n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const f=o.div`
1
+ import{j as t,X as b,M as d,a1 as l,Y as p,c as x,o as i,$ as g,c0 as h,k as m}from"./index-Bac0rl1Z.js";import{b as u,n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const f=o.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -0,0 +1 @@
1
+ import{j as r}from"./index-Bac0rl1Z.js";import o from"./CustomerOnboardingNoStepsPage-BxwT2uzY-Cs8WelHb.js";import i from"./CustomerOnboardingPage-L_1XcD2Y-BN0hGCDA.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./HelpButton-BvPX8uxd-BlwFNZhB.js";import"./MeetingCalenderPopup-B5M2lm-y-3o2gRW-j.js";import"./PaymentAccountSetupBillingAddressSection-C0eGjv2q-Cu0V-kwW.js";import"./SetUpAccountSection-CJsY-S6w-DFvRMNS-.js";import"./SetUpDefaultSection-Dbzui0hL-DgmPb_eb.js";import"./ChaseOverlay-DveM_aY_-DNzo2JiY.js";import"./CustomerOnboardingDetailPageSkeleton-DhuLaWYK-DXGjF58n.js";import"./CompanyOfficerDetailsSection-Ci47swN_-BA3Vbogj.js";import"./LabeledAddressValueField-D5zB7wnP-D9_x4rj6.js";import"./LabeledCreatableSingleSelectField-DOv10RFp-E8nB4rrt.js";import"./LabeledDocumentField-CO6_e65U-Xg9JvMjr.js";import"./DocumentSecurityBanner-C7TAyvIZ-DrKz95xX.js";import"./QBOSetupSection-Dpib3Rx5-Cl178Gzl.js";import"./QBOConnectionDialog-CQlXDalh-D41g3YBn.js";const w=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?r.jsx(o,{...t}):r.jsx(i,{...t});export{w as default};
@@ -1,4 +1,4 @@
1
- import{j as s,Y as y,aH as E,u as f,X as T,bf as x,o as t,m as R,C as $,$ as I,M as N,g as u,eQ as U,h9 as P,e_ as L,aB as W,e as M,ha as O}from"./index-4Vt70fVf.js";import{n as r,f as S}from"./vendor-CnQcJ2Lu.js";const Y=r(O)`
1
+ import{j as s,Y as y,aH as E,u as f,X as T,bf as x,o as t,m as R,C as $,$ as I,M as N,g as u,eQ as U,h9 as P,e_ as L,aB as W,e as M,ha as O}from"./index-Bac0rl1Z.js";import{n as r,f as S}from"./vendor-CnQcJ2Lu.js";const Y=r(O)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,X=r.div`
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{d2 as se,j as o,X as Ce,u as Pe,a as we,h0 as be,M as xe,a1 as ke,c3 as Ie,aV as $e,o as i,Y as Ae,F as Oe,a3 as ve,aH as Ve,cw as je,cx as oe,$ as Te,C as Q,s as Le,m as $}from"./index-4Vt70fVf.js";import{n as c,b as A}from"./vendor-CnQcJ2Lu.js";import{F as Ue}from"./HelpButton-B-GBd1e8-Cp7Oxsen.js";import{t as ze,e as Ee}from"./PaymentAccountSetupBillingAddressSection-CCX-Pec--t2UZiNL0.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-j16Xqnmk-Dwv_Sf5M.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-Zcyrwwqh-Dc9YMkPA.js";import"./SetUpAccountSection-BWj67_7V-BY4wualA.js";import"./SetUpDefaultSection-CcTYu9KI-BE67r-Ge.js";import"./ChaseOverlay-DAxqw7Vj-CgIFMhSK.js";const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Y={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q($[3],$[3]),subTitlePaddingBottom:new Q($[3],$[3])},Fe=e=>`${e}_form`,_e=xe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:v,googleAPIKey:V,signedInUser:P,currentTenant:j,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:F,..._})=>{const u=Ce(),D=se(),{analytics:h}=D,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:H,onAddressEditHandler:x}=_,W=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:O(e),values:O(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:J,uiState:le,allNationalityCountries:X,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=_e,{footer:ue,steps:pe}=ce,{buttons:Z}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=je(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};A.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ie(()=>ge(s,a))});return()=>{t.unsubscribe()}}),A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(O(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,X]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??g.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(J).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),s=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),T("link_payment_account"),F(me,!1,!0))};A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(O(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,X,b]);const[ae,fe]=A.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(He,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx(Oe,{...r,children:o.jsx(Ne,{id:Fe(ie),children:o.jsxs(Re,{children:[o.jsx(Ze,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(ze,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:J,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:u,children:o.jsx(Ve,{signedInUser:P,currentTenant:j,onLogOutClick:G})}),style:{width:u==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:Se,label:Z.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:y,stripeKey:v,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},Ke=c.div`
1
+ import{d2 as se,j as o,X as Ce,u as Pe,a as we,h0 as be,M as xe,a1 as ke,c3 as Ie,aV as $e,o as i,Y as Ae,F as Oe,a3 as ve,aH as Ve,cw as je,cx as oe,$ as Te,C as Q,s as Le,m as $}from"./index-Bac0rl1Z.js";import{n as c,b as A}from"./vendor-CnQcJ2Lu.js";import{F as Ue}from"./HelpButton-BvPX8uxd-BlwFNZhB.js";import{t as ze,e as Ee}from"./PaymentAccountSetupBillingAddressSection-C0eGjv2q-Cu0V-kwW.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-DhuLaWYK-DXGjF58n.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-B5M2lm-y-3o2gRW-j.js";import"./SetUpAccountSection-CJsY-S6w-DFvRMNS-.js";import"./SetUpDefaultSection-Dbzui0hL-DgmPb_eb.js";import"./ChaseOverlay-DveM_aY_-DNzo2JiY.js";const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Y={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q($[3],$[3]),subTitlePaddingBottom:new Q($[3],$[3])},Fe=e=>`${e}_form`,_e=xe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:v,googleAPIKey:V,signedInUser:P,currentTenant:j,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:F,..._})=>{const u=Ce(),D=se(),{analytics:h}=D,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:H,onAddressEditHandler:x}=_,W=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:O(e),values:O(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:J,uiState:le,allNationalityCountries:X,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=_e,{footer:ue,steps:pe}=ce,{buttons:Z}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=je(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};A.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ie(()=>ge(s,a))});return()=>{t.unsubscribe()}}),A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(O(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,X]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??g.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(J).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),s=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),T("link_payment_account"),F(me,!1,!0))};A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(O(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,X,b]);const[ae,fe]=A.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(He,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx(Oe,{...r,children:o.jsx(Ne,{id:Fe(ie),children:o.jsxs(Re,{children:[o.jsx(Ze,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(ze,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:J,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:u,children:o.jsx(Ve,{signedInUser:P,currentTenant:j,onLogOutClick:G})}),style:{width:u==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:Se,label:Z.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:y,stripeKey:v,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},Ke=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{j as r,X as Ke,u as Zt,a as en,c3 as me,M as We,a1 as He,D as mt,H as Qe,l as M,aV as tn,o as re,F as nn,m as K,a3 as an,h0 as on,fC as sn,fa as ft,cw as xt,cx as yt,C as fe,fF as ye,cg as rn,s as cn,h1 as gt,E as ht,ce as ln,fE as dn}from"./index-4Vt70fVf.js";import{b as p,n as P,k as It}from"./vendor-CnQcJ2Lu.js";import{F as pn}from"./HelpButton-B-GBd1e8-Cp7Oxsen.js";import{t as St,e as un}from"./PaymentAccountSetupBillingAddressSection-CCX-Pec--t2UZiNL0.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-j16Xqnmk-Dwv_Sf5M.js";import{G as fn,o as yn}from"./CompanyOfficerDetailsSection-BVARFx2M-Dlnoj0mO.js";import{o as gn}from"./QBOSetupSection-A1omZG46-CqcT2iQC.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-Zcyrwwqh-Dc9YMkPA.js";import"./SetUpAccountSection-BWj67_7V-BY4wualA.js";import"./SetUpDefaultSection-CcTYu9KI-BE67r-Ge.js";import"./ChaseOverlay-DAxqw7Vj-CgIFMhSK.js";import"./LabeledAddressValueField-CkMlEpyG-DoliwdUM.js";import"./LabeledCreatableSingleSelectField-CB5WGZwa-wo9NjzlR.js";import"./LabeledDocumentField-ClOVVHoy-Dq3PNVOa.js";import"./DocumentSecurityBanner-DDc5UFRt-DtIawul4.js";import"./QBOConnectionDialog-D8vq5tbS-Dab6soZ0.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:v,verifiedPhoneNumber:x,onPhoneVerified:y,...I})=>{const m=Ke(),V=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:$}=l,N=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:V??[],allNationalityCountries:c,sectionHeader:$,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:N,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...I})})},Sn=P.div`
1
+ import{j as r,X as Ke,u as Zt,a as en,c3 as me,M as We,a1 as He,D as mt,H as Qe,l as M,aV as tn,o as re,F as nn,m as K,a3 as an,h0 as on,fC as sn,fa as ft,cw as xt,cx as yt,C as fe,fF as ye,cg as rn,s as cn,h1 as gt,E as ht,ce as ln,fE as dn}from"./index-Bac0rl1Z.js";import{b as p,n as P,k as It}from"./vendor-CnQcJ2Lu.js";import{F as pn}from"./HelpButton-BvPX8uxd-BlwFNZhB.js";import{t as St,e as un}from"./PaymentAccountSetupBillingAddressSection-C0eGjv2q-Cu0V-kwW.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-DhuLaWYK-DXGjF58n.js";import{G as fn,o as yn}from"./CompanyOfficerDetailsSection-Ci47swN_-BA3Vbogj.js";import{o as gn}from"./QBOSetupSection-Dpib3Rx5-Cl178Gzl.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-B5M2lm-y-3o2gRW-j.js";import"./SetUpAccountSection-CJsY-S6w-DFvRMNS-.js";import"./SetUpDefaultSection-Dbzui0hL-DgmPb_eb.js";import"./ChaseOverlay-DveM_aY_-DNzo2JiY.js";import"./LabeledAddressValueField-D5zB7wnP-D9_x4rj6.js";import"./LabeledCreatableSingleSelectField-DOv10RFp-E8nB4rrt.js";import"./LabeledDocumentField-CO6_e65U-Xg9JvMjr.js";import"./DocumentSecurityBanner-C7TAyvIZ-DrKz95xX.js";import"./QBOConnectionDialog-CQlXDalh-D41g3YBn.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:v,verifiedPhoneNumber:x,onPhoneVerified:y,...I})=>{const m=Ke(),V=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:$}=l,N=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:V??[],allNationalityCountries:c,sectionHeader:$,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:N,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...I})})},Sn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{X as M,d2 as U,w as W,u as D,M as V,j as e,aV as A,o as t,Y as k,aH as H,l as I,s as R,$ as Z,g as l,p as y,r as _,k as N,c0 as J,Z as Y,ae as K}from"./index-4Vt70fVf.js";import{b as n,n as i}from"./vendor-CnQcJ2Lu.js";import X from"./ConfettiBurst-DI_ur1ii-CP_toxHr.js";import{F as q}from"./HelpButton-B-GBd1e8-Cp7Oxsen.js";import{f as G}from"./ProductsCarousel-DR2qv1mK-L8s4NYfF.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-Zcyrwwqh-Dc9YMkPA.js";const Q=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=V.getLocalizedStrings(),We=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:b=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=M(),x=U().analytics,f=W(),L=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=S,O=D(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=F;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,I.getProductSettingsString(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(A,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ke,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(ye,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx($e,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:p(a)[0]})]}),e.jsx(C,{children:p(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(G,{stopCarousel:w,showUpdatePaymentDetailButton:u})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(H,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(q,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(X,{showConfetti:b})]})},te=i.div`
1
+ import{X as M,d2 as U,w as W,u as D,M as V,j as e,aV as A,o as t,Y as k,aH as H,l as I,s as R,$ as Z,g as l,p as y,r as _,k as N,c0 as J,Z as Y,ae as K}from"./index-Bac0rl1Z.js";import{b as n,n as i}from"./vendor-CnQcJ2Lu.js";import X from"./ConfettiBurst-CU6fcwCz-DM4PmL8N.js";import{F as q}from"./HelpButton-BvPX8uxd-BlwFNZhB.js";import{f as G}from"./ProductsCarousel-DcSxZECS-DEnj1JWZ.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-B5M2lm-y-3o2gRW-j.js";const Q=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=V.getLocalizedStrings(),We=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:b=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=M(),x=U().analytics,f=W(),L=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=S,O=D(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=F;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,I.getProductSettingsString(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(A,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ke,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(ye,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx($e,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:p(a)[0]})]}),e.jsx(C,{children:p(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(G,{stopCarousel:w,showUpdatePaymentDetailButton:u})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(H,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(q,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(X,{showConfetti:b})]})},te=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{w as zA,l as uA,j as e,y as wt,z as xt,A as ft,o as r,B as kt,D as mA,H as Dt,I as Ae,J as yt,L as Mt,N as jt,P as vt,R as bt,S as Rt,U as F,M as d,X as V,W as H,Y as x,_ as P,a0 as G,m as b,a as St,a1 as ye,a2 as Lt,F as Ft,a3 as Jt,C as z,a4 as T,a5 as W,e as Z,a6 as Me,a7 as R,a8 as L,a9 as WA,u as rA,aa as Ut,ab as qA,ac as Pt,g as f,ad as Ot,ae as Ht,v as J,af as vA,Z as XA,s as VA,ag as je,ah as ve,ai as be,aj as ZA,Q as Tt,h as Yt,ak as Kt,al as Re,am as Gt,an as Nt,ao as bA,ap as zt,aq as Wt,ar as qt,as as Xt,at as Vt,au as Zt,av as $t,c as Se,p as _t,aw as Ar,ax as er,ay as Le,az as tr,n as rr,aA as gr,r as ar,aB as Fe}from"./index-4Vt70fVf.js";import{b as o,n as C,f as D,k as S,j as pA}from"./vendor-CnQcJ2Lu.js";import{L as or,k as Cr}from"./ArAgingChart-B5rtQeer-ecz-Zqzf.js";import{E as ir,T as $A,I as Je}from"./ReloadCard-BsW5v4Z9-CUdTOVzf.js";import{L as nr,O as wA,c as gA}from"./TopExCard-DBn2NqIA-CVHGN5Cl.js";import{H as Er,Y as Br,P as Qr,G as sr,N as Ir}from"./RevenueChart-lzn4f31Q-MVF33ZDx.js";import dr from"./InsightsCardStack-es6BneiX-n_9LJsaQ.js";import{a as lr}from"./AccountsPromoCardStack-DSxSdGCd-CQwXZt6p.js";import{c as q}from"./SummaryCard-OxWKTAi_-hNJY3gZm.js";import{t as cr,o as hr}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{x as EA}from"./NavigationArrow-B6h0SDdP-Y1jq_YX_.js";import{f as _A}from"./NavigationDots-BzUjuHrF-BHvj9J2p.js";import mr from"./CompanyPassportCard-Bfc0SPQL-PF4i4VtV.js";import{C as pr}from"./gift-box-Cmt9OgIZ-DKWN92w0.js";import ur from"./InformationCardStack-BQz2--SG-L3HWqatS.js";import{p as Ue}from"./chartTypes-voo0IDRB-CYGaQom1.js";import{h as wr}from"./toCOABalancesWithID-B7LbirMG-Bc-9sy4D.js";import{V as xr}from"./toChartData-CuB9yc-H-D5hI4s-u.js";import{r as fr,i as kr}from"./graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js";import{N as Dr,J as yr}from"./PromoBaseCards-BnHveXZh-DEWVy6e9.js";import Mr from"./ConfettiBurst-DI_ur1ii-CP_toxHr.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const jr=C(W)`
1
+ import{w as zA,l as uA,j as e,y as wt,z as xt,A as ft,o as r,B as kt,D as mA,H as Dt,I as Ae,J as yt,L as Mt,N as jt,P as vt,R as bt,S as Rt,U as F,M as d,X as V,W as H,Y as x,_ as P,a0 as G,m as b,a as St,a1 as ye,a2 as Lt,F as Ft,a3 as Jt,C as z,a4 as T,a5 as W,e as Z,a6 as Me,a7 as R,a8 as L,a9 as WA,u as rA,aa as Ut,ab as qA,ac as Pt,g as f,ad as Ot,ae as Ht,v as J,af as vA,Z as XA,s as VA,ag as je,ah as ve,ai as be,aj as ZA,Q as Tt,h as Yt,ak as Kt,al as Re,am as Gt,an as Nt,ao as bA,ap as zt,aq as Wt,ar as qt,as as Xt,at as Vt,au as Zt,av as $t,c as Se,p as _t,aw as Ar,ax as er,ay as Le,az as tr,n as rr,aA as gr,r as ar,aB as Fe}from"./index-Bac0rl1Z.js";import{b as o,n as C,f as D,k as S,j as pA}from"./vendor-CnQcJ2Lu.js";import{L as or,k as Cr}from"./ArAgingChart-C7_e1ezL-B5cv8rdg.js";import{E as ir,T as $A,I as Je}from"./ReloadCard-F-DEmw51-CyIUQ5A1.js";import{L as nr,O as wA,c as gA}from"./TopExCard-CykkX8Ny-BpkNf26X.js";import{H as Er,Y as Br,P as Qr,G as sr,N as Ir}from"./RevenueChart-ClRH1Vei-DyQxLBCO.js";import dr from"./InsightsCardStack-BKtPGTdt-DGnUS7GP.js";import{a as lr}from"./AccountsPromoCardStack-Bp1wRT6M-yc7U5gNK.js";import{c as q}from"./SummaryCard-BPy7YF4F-BlgzbHmQ.js";import{t as cr,o as hr}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{x as EA}from"./NavigationArrow-C81m-KZF-l3LUWA_R.js";import{f as _A}from"./NavigationDots-CB3WQq54-Vldskk9V.js";import mr from"./CompanyPassportCard-Bw2TdWs0-C8coLEDf.js";import{C as pr}from"./gift-box-Cmt9OgIZ-DKWN92w0.js";import ur from"./InformationCardStack-CtueyMCq-CecAsOTT.js";import{p as Ue}from"./chartTypes-CedtWDkU-cTNKZniI.js";import{h as wr}from"./toCOABalancesWithID-CCW7YVfm-Bs0ZA7KW.js";import{V as xr}from"./toChartData-C3kVg0fD-BVd6kxYy.js";import{r as fr,i as kr}from"./graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js";import{N as Dr,J as yr}from"./PromoBaseCards-B-s9wF0Q-C1F62bpn.js";import Mr from"./ConfettiBurst-CU6fcwCz-DM4PmL8N.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const jr=C(W)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,ee=C.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Xe,c as Ke,D as Je,aX as Qe,o as d,C as L,H as Q,aY as et,aZ as tt,v as ae,m as C,ai as st,a7 as ot,a_ as at,a2 as Be,K as Pe,g as T,Z as Ne,a6 as nt,ao as it,n as rt,a$ as ct,b0 as lt,b1 as dt,b2 as ie,b3 as pt,aB as ut,e as gt,b4 as ht}from"./index-4Vt70fVf.js";import{b as y,f as ee,n as u,k as Le}from"./vendor-CnQcJ2Lu.js";import{m as U,l as oe}from"./analyticsHelper-C4qmWpU5-CfuV4cN9.js";import{c as mt,h as ft}from"./ReportTableViewSelector-KU1rwaTS-7E_4CsFX.js";import{F as bt}from"./InsightsSection-DXW-B4Fa-BdiTA2CO.js";import{k as _e,q as xt,G as _t,H as te,N as ue}from"./detailCommon-D_Iv7bJI-DIDHl_8c.js";import{N as wt,G as St,H as we,Y as Se,P as ye}from"./RevenueChart-lzn4f31Q-MVF33ZDx.js";import{C as yt}from"./NoDataChart-T4586K3d-QluGmZeg.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-Ebmo9AYk-DN1fvxBa.js";import{b as Ie}from"./TimeframeSwitcher-pPrxCjwR-D66U4eSK.js";import{R as $t,W as V,x as jt,l as ge,D as Ct}from"./CollapsableReportTable-q6K7jAw6-DUkjuT2o.js";import{S as kt,M as Ot,g as Bt,L as se,D as Re,T as De,I as Te}from"./mapSectionWithAcOnlyToTreeNode-B1YNY6Ry-Coc_OiI6.js";import{d as Pt}from"./NoDataTable-7SOJQOqT-BwnILKpD.js";import{d as he,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-DxwUIfBr-5lxS3Vma.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-DPFqqVtT-gXlUMh7k.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./NavigationDots-BzUjuHrF-BHvj9J2p.js";import"./chartTypes-voo0IDRB-CYGaQom1.js";import"./toCOABalancesWithID-B7LbirMG-Bc-9sy4D.js";import"./toChartData-CuB9yc-H-D5hI4s-u.js";import"./AccountRow-WEuGwVlL-JxLe7wdK.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const Nt=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Lt=u.div`
1
+ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Xe,c as Ke,D as Je,aX as Qe,o as d,C as L,H as Q,aY as et,aZ as tt,v as ae,m as C,ai as st,a7 as ot,a_ as at,a2 as Be,K as Pe,g as T,Z as Ne,a6 as nt,ao as it,n as rt,a$ as ct,b0 as lt,b1 as dt,b2 as ie,b3 as pt,aB as ut,e as gt,b4 as ht}from"./index-Bac0rl1Z.js";import{b as y,f as ee,n as u,k as Le}from"./vendor-CnQcJ2Lu.js";import{m as U,l as oe}from"./analyticsHelper-mARzqEfV-BMxvjyCP.js";import{c as mt,h as ft}from"./ReportTableViewSelector-BSPNRs-f-DQGy-EeN.js";import{F as bt}from"./InsightsSection-BFIeAUrz-DhqGCmzD.js";import{k as _e,q as xt,G as _t,H as te,N as ue}from"./detailCommon-C0urnGcj-DiOtpfF1.js";import{N as wt,G as St,H as we,Y as Se,P as ye}from"./RevenueChart-ClRH1Vei-DyQxLBCO.js";import{C as yt}from"./NoDataChart-B0CMrh6X-y7xNFTPm.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-DR2s6McL-Bd4-0Nxt.js";import{b as Ie}from"./TimeframeSwitcher-CR_Pithb-DXZcXjqp.js";import{R as $t,W as V,x as jt,l as ge,D as Ct}from"./CollapsableReportTable-CWIVhYku-Di1SJf6r.js";import{S as kt,M as Ot,g as Bt,L as se,D as Re,T as De,I as Te}from"./mapSectionWithAcOnlyToTreeNode-CAhuUnXV-CREi-s41.js";import{d as Pt}from"./NoDataTable-BgcSvfNz-B8UgcWMt.js";import{d as he,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-Bkav2l0W-DPWpD0Vt.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-D9ofcMAJ-C2yg5vuU.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./NavigationDots-CB3WQq54-Vldskk9V.js";import"./chartTypes-CedtWDkU-cTNKZniI.js";import"./toCOABalancesWithID-CCW7YVfm-Bs0ZA7KW.js";import"./toChartData-C3kVg0fD-BVd6kxYy.js";import"./AccountRow-DAc1wwY9-DEIj0_IL.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const Nt=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Lt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{_ as $,gU as u,X as y,j as l,o as i,s as d,e as c}from"./index-4Vt70fVf.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{g as k}from"./BoxItem-DT51UimN-kFXGdmJC.js";import{o as v}from"./commonDimensions-DlTnUSCm-DO5W9slZ.js";function U({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:g}=e,f=r.length>0?r:m,a=$("0,0.00",x),n=u(g),o=y(),h=l.jsxs(N,{children:[l.jsx(C,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(E,{windowSize:o,children:[l.jsx(D,{children:f}),n!=null?l.jsxs(P,{windowSize:o,children:[l.jsx(A,{windowSize:o}),l.jsx(R,{color:n?.color,children:n?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(B,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{_ as $,gU as u,X as y,j as l,o as i,s as d,e as c}from"./index-Bac0rl1Z.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{g as k}from"./BoxItem-D88gMTQn-B1kkFD04.js";import{o as v}from"./commonDimensions-ZxGdYNGR-CUt8Derw.js";function U({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:g}=e,f=r.length>0?r:m,a=$("0,0.00",x),n=u(g),o=y(),h=l.jsxs(N,{children:[l.jsx(C,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(E,{windowSize:o,children:[l.jsx(D,{children:f}),n!=null?l.jsxs(P,{windowSize:o,children:[l.jsx(A,{windowSize:o}),l.jsx(R,{color:n?.color,children:n?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(B,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -1,4 +1,4 @@
1
- import{u as S,X as z,g_ as C,j as e,aV as D,M as Y,ai as B,o as r,g,bT as F,l as L,C as R,v as T,s as A,m as b,db as I,dc as V,d6 as E,dd as N}from"./index-4Vt70fVf.js";import{b as f,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as O}from"./BoxItem-DT51UimN-kFXGdmJC.js";import{o as P}from"./commonDimensions-DlTnUSCm-DO5W9slZ.js";import{H as X}from"./DepositAccTransactionItem-Wt0dXING-DGElhLBC.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const n=Y.getLocalizedStrings(),H={listItemMargin:new R(b[3],b[8])};function _(t){const d=I(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=V(d,o=>o.length>0);return E(m,o=>({date:o[0].transactionDate,transactions:N(o,h=>h.transactionDate,"desc")}))}const q=C(_),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=f.createRef(),p=f.useRef(null),l=q(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*P.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(Q,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(U,{children:s.transactions.map((M,u)=>e.jsx(X,{data:M,boxType:O(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(G,{children:e.jsx($,{windowSize:o,children:e.jsx(K,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(J,{children:[e.jsx(D,{title:`${j} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(B,{children:({height:i,width:c})=>e.jsx(Z,{ref:h,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
1
+ import{u as S,X as z,g_ as C,j as e,aV as D,M as Y,ai as B,o as r,g,bT as F,l as L,C as R,v as T,s as A,m as b,db as I,dc as V,d6 as E,dd as N}from"./index-Bac0rl1Z.js";import{b as f,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as O}from"./BoxItem-D88gMTQn-B1kkFD04.js";import{o as P}from"./commonDimensions-ZxGdYNGR-CUt8Derw.js";import{H as X}from"./DepositAccTransactionItem-BCJn6a_d-C1iXuRbP.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const n=Y.getLocalizedStrings(),H={listItemMargin:new R(b[3],b[8])};function _(t){const d=I(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=V(d,o=>o.length>0);return E(m,o=>({date:o[0].transactionDate,transactions:N(o,h=>h.transactionDate,"desc")}))}const q=C(_),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=f.createRef(),p=f.useRef(null),l=q(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*P.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(Q,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(U,{children:s.transactions.map((M,u)=>e.jsx(X,{data:M,boxType:O(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(G,{children:e.jsx($,{windowSize:o,children:e.jsx(K,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(J,{children:[e.jsx(D,{title:`${j} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(B,{children:({height:i,width:c})=>e.jsx(Z,{ref:h,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
2
2
  margin: ${t=>`${r.sp0} ${H.listItemMargin.valuePx(t.windowSize)}`};
3
3
  `,G=a.div`
4
4
  display: flex;