@zeniai/web-cockpit-ui 1.14.90-dev → 1.14.90-qa

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (214) hide show
  1. package/dist/assets/{ACHDetailsPage-BUP-_2-W-BxsdzxJg.js → ACHDetailsPage-BUP-_2-W-gKUKs0Pb.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DHF_70JI-BB0m0Wmb.js → AIPerformancePage-DHF_70JI-Byb0JaRY.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-pmUIckJ9-ClFTcWKH.js → AccountInfoPage-pmUIckJ9-CAlO-FHB.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DLSL1NNm-ysW8pq2z.js → AccountInfoPageContent-DLSL1NNm-CTMQNQY3.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-Bq3y0K0F-DT_bUQ3U.js → AccountLockedInfoModal-Bq3y0K0F-Caep-eEi.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CGcZO_qz-Cy1Ijv5f.js → AccountReconDetailsDrawerPage-CGcZO_qz-DphTR8AG.js} +1 -1
  7. package/dist/assets/{AccountRow-D2Ypckgj-DU9kFXuE.js → AccountRow-D2Ypckgj-BVuVsxAI.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-BVVDCW1H-DJjdfLGW.js → AccountsPromoCardStack-BVVDCW1H-CHjSEilj.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-C8aENofu-DA1NQK9C.js → AddAddressForCardDrawer-C8aENofu-_B3noxtJ.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CmT5jSb5-D2YVbVt5.js → AddToWalletPage-CmT5jSb5-BtE7INh2.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-BeUGvj3b-CHP-b-K4.js → AgingReportsPage-BeUGvj3b-BnHb3lWK.js} +1 -1
  12. package/dist/assets/{AllUserItems-CmlMyz-f-C0puagwR.js → AllUserItems-CmlMyz-f-BE3QXVOa.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-Dz1_N0Yw-iyEKxxlG.js → ApAgingDetailPage-Dz1_N0Yw-TUc4-BfW.js} +1 -1
  14. package/dist/assets/{AppBasePage-DX4EGGcT-DxyBlsaI.js → AppBasePage-DX4EGGcT-CA5JIcq8.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-Brg3Rw4K-DWiehP3E.js → AppDrawerContent-Brg3Rw4K-Du3ev71U.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-Bn7KrUl2-CvKRvgo_.js → ApprovalRulesSettingsPage-Bn7KrUl2-C_CZXQYN.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DQZtCsHS-CSTDLkfC.js → ArAgingChart-DQZtCsHS-zcjxKJqm.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BtF6K5dA-VZeY_ZUJ.js → ArAgingDetailPage-BtF6K5dA-CM34YcdM.js} +1 -1
  19. package/dist/assets/{AttachmentView-DgPySmB8-B0CUUwUu.js → AttachmentView-DgPySmB8-B41pIkR9.js} +1 -1
  20. package/dist/assets/{BankAccountSection-BVZK5jmO-oboSifeA.js → BankAccountSection-BVZK5jmO-CjTZMznk.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-DHdeDi15-DsdgRhNS.js → BankAccountWarningSection-DHdeDi15-M9LQMU5u.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BN3lAARB-UlnRR8CQ.js → BankConnectionsSettingsPage-BN3lAARB-B0yEFHuK.js} +1 -1
  23. package/dist/assets/{BillDetailPage-BuUm6vdf-DEUKUhee.js → BillDetailPage-BuUm6vdf-BEfZuL72.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BXSdsF2E-CYUFVErE.js → BillPayApprovalRuleDetailPage-BXSdsF2E-BZdDia51.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-B8HbVvc9-DpzHPmZp.js → BillPayApprovalRulesPage-B8HbVvc9-CNKY0-NR.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DkoqXDNt-FNHctwfQ.js → BillPayPromoPage-DkoqXDNt-Jx7NR9vs.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-BommXkLS-DOKgmPVm.js → BillPaySetUpPage-BommXkLS-CxAPQ6nt.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-gHbc5Kq3-CFDIJf8G.js → BillingSettingsPage-gHbc5Kq3-6eOgIWo-.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-C541rBnx-DPMvwxh2.js → BillsBulkReviewDrawerPage-C541rBnx-CpMaFNun.js} +1 -1
  30. package/dist/assets/{BoxItem-usHxaONy-BSYmkNdH.js → BoxItem-usHxaONy-yqmV2_EE.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CLsxXy9d-ClcyVS-f.js → BusinessVerificationPage-CLsxXy9d-ThEm2-hv.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-D_fWhc_K-BxJ3GoBc.js → CardNumberSubText-D_fWhc_K-C63mXt5C.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-D3WylWVP-CydwwFdH.js → CashbackDetailPage-D3WylWVP-D9Vs2ft8.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-BUsGBwBf-DhD5ouX9.js → ChargeCardDetailPage-BUsGBwBf-B-LmCTsN.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-Jhx05dVV-DjDdThgH.js → ChargeCardListPage-Jhx05dVV-CgbSqG5e.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-D-eYWaxh-CZeSVtIX.js → ChargeCardListTable-D-eYWaxh-OyS_l2le.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-CzR82VtA-DoVVgv51.js → ChargeCardPromoPage-CzR82VtA-C4AU7pmq.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-Ctz8PCuu-Dmh0C1fi.js → ChargeCardSetupPage-Ctz8PCuu-CQ_qZ7MK.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-EUtRTAX2-CIQRTxBN.js → ChargeCardStatementsPage-EUtRTAX2-C_GDwTRC.js} +1 -1
  40. package/dist/assets/{CheckDepositDrawerPage-B7DC0HAi-DPwOJJS7.js → CheckDepositDrawerPage-B7DC0HAi-p07KcTOW.js} +1 -1
  41. package/dist/assets/{CollapsableReportTable-I40BZv7o-RBVPkQ58.js → CollapsableReportTable-I40BZv7o-d2_h6r8O.js} +1 -1
  42. package/dist/assets/{CompanyOfficerDetailsSection-ChsNKXbx-Dk7vpi01.js → CompanyOfficerDetailsSection-ChsNKXbx-BF5MOIbR.js} +1 -1
  43. package/dist/assets/{CompanyPassportCard-82bbFwk--C3mnYk4t.js → CompanyPassportCard-82bbFwk--CB88G7Qo.js} +1 -1
  44. package/dist/assets/{CompanyPassportPage-DG1Fa_Uw-B4wsnqA2.js → CompanyPassportPage-DG1Fa_Uw-Dkbt-nxV.js} +1 -1
  45. package/dist/assets/{CompleteProfile-B7bQqLQH-DwtJrHr4.js → CompleteProfile-B7bQqLQH-3BvSCHX1.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-DUyIBnw4-BZY51mbD.js → ConfettiBurst-DUyIBnw4-Bzth-g3m.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-DVzMO96w-CjeOn0Zu.js → CreateOrEditVendorPage-DVzMO96w-D2_PioHE.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-C03hfKGc-BI7dTqV7.js → CreditCardPaymentDrawerPage-C03hfKGc-CNfSxnSZ.js} +1 -1
  49. package/dist/assets/{CurrencySelectField-2hU3oIp_-CnccIVlk.js → CurrencySelectField-2hU3oIp_-C4bLV2kj.js} +1 -1
  50. package/dist/assets/{CustomerOnboardingActivationPage-Dt-Nml2t-CQyv3wO4.js → CustomerOnboardingActivationPage-Dt-Nml2t-B6WqU8lr.js} +1 -1
  51. package/dist/assets/CustomerOnboardingContainerPage-Dt-_tVOQ-UhKf7bOm.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-C4Z1pDVe-CS261SSd.js → CustomerOnboardingDetailPageSkeleton-C4Z1pDVe-BqoeEQuE.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-CwI8nL61-Xg6qQ6Ku.js → CustomerOnboardingNoStepsPage-CwI8nL61-fFJJ4fRN.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingPage-C3FgZjAN-C75cnlLW.js → CustomerOnboardingPage-C3FgZjAN-BMoiiOVQ.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingProductSuitePage-BOYu-82S-uR17VQjV.js → CustomerOnboardingProductSuitePage-BOYu-82S-CVVsk6ik.js} +1 -1
  56. package/dist/assets/{Dashboard-D_oTtu1--CP9XS1zf.js → Dashboard-D_oTtu1--DmU_Kxzw.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-Dprj3eUQ-BK5e1r9g.js → DashboardReportPage-Dprj3eUQ-BvCOtKTf.js} +1 -1
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-C6SQaB7q-C2qHBViE.js → DashboardSidebarBackgroundAnimation-C6SQaB7q-Dxl5QlMk.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-C2oP415b-B5ygx6vl.js → DepositAccTransactionItem-C2oP415b-fO_vukRP.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionListPage-DCvdqAz1-Df_FOAOf.js → DepositAccTransactionListPage-DCvdqAz1-B_wb_nSG.js} +1 -1
  61. package/dist/assets/{DomesticWireDetailsPage-Da_3EveP-Bjb9K-P-.js → DomesticWireDetailsPage-Da_3EveP-BRE1nKx5.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-BwddFmV2-BqOR54wm.js → DownloadOverlay-BwddFmV2-TXwTh2dm.js} +1 -1
  63. package/dist/assets/{DrawerPage-CGrnrvf2-BvrxfWnf.js → DrawerPage-CGrnrvf2-C0F2USa4.js} +1 -1
  64. package/dist/assets/{EditPeoplePage-DMgxG2Gd-C3BsPnxU.js → EditPeoplePage-DMgxG2Gd-CCtVDE58.js} +1 -1
  65. package/dist/assets/{EditReimbursementDetailPage-DwCiVkeu-B4w5FVLx.js → EditReimbursementDetailPage-DwCiVkeu-CHb4Vx_R.js} +1 -1
  66. package/dist/assets/{EntityDetailPage-BcRVEfi5-Cnj_gM9q.js → EntityDetailPage-BcRVEfi5-CepotlTP.js} +1 -1
  67. package/dist/assets/{EntitySummarySection-BaHHLLkE-D3Ip19-Y.js → EntitySummarySection-BaHHLLkE-Drrfo_tg.js} +1 -1
  68. package/dist/assets/{ExpenseAutomationOverviewPage-hl_3Pc0g-gY12ACUr.js → ExpenseAutomationOverviewPage-hl_3Pc0g-DYxAAMa6.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationPage-D70ghitX-EafeQT3m.js → ExpenseAutomationPage-D70ghitX-sSwqGXv6.js} +1 -1
  70. package/dist/assets/{ExpressPayPage-BpfkmJ_I-B4izq8YR.js → ExpressPayPage-BpfkmJ_I-Cr6J8360.js} +1 -1
  71. package/dist/assets/{FeaturePreviewPage-Bzi8Bpk3-DtSpKYbK.js → FeaturePreviewPage-Bzi8Bpk3-Drk_uxAx.js} +1 -1
  72. package/dist/assets/{FollowStepsSection-Bu3RG_GH-DmaIgxgE.js → FollowStepsSection-Bu3RG_GH-1o9BWCUV.js} +1 -1
  73. package/dist/assets/{GlobalReviewListPage-D4BD7q-I-BHZQG-gN.js → GlobalReviewListPage-D4BD7q-I-IVn_04O3.js} +1 -1
  74. package/dist/assets/{InformationCardStack-B9wnkR3p-CjpaX6cg.js → InformationCardStack-B9wnkR3p-InW9f_7k.js} +1 -1
  75. package/dist/assets/{InsightsCardStack-C1_rd2Sb-uYkz47Dy.js → InsightsCardStack-C1_rd2Sb-Dhs19DDG.js} +1 -1
  76. package/dist/assets/{InsightsSection-7-T67WeF-BlMRO9Ba.js → InsightsSection-7-T67WeF-R1I0UTTj.js} +1 -1
  77. package/dist/assets/{IntegrationsSettingsPage-C9YpvDgg-DjW-A2Ra.js → IntegrationsSettingsPage-C9YpvDgg-q-aOCVtI.js} +1 -1
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-C5mI8dEh-MFTemI3R.js → InternationalWireSwiftDetailsPage-C5mI8dEh-B0sOCS9F.js} +1 -1
  79. package/dist/assets/{InternationalWireVerificationPage-B8AOwcSX-HJr1qwVZ.js → InternationalWireVerificationPage-B8AOwcSX-O5d4_jx5.js} +1 -1
  80. package/dist/assets/{InviteFormPage-DuBhhnre-DKK8UkI0.js → InviteFormPage-DuBhhnre-BDO1iW13.js} +1 -1
  81. package/dist/assets/{InvitePageListView-Dw8kwEFd-zXFzVUiq.js → InvitePageListView-Dw8kwEFd-BOBOJq-T.js} +1 -1
  82. package/dist/assets/{InvitePeoplePage-BI_vd7xw-BSlMVd1C.js → InvitePeoplePage-BI_vd7xw-BK1DYXv5.js} +1 -1
  83. package/dist/assets/{InvoiceUploadSection-9DaovMq8-DOf6F-xG.js → InvoiceUploadSection-9DaovMq8-nY-DuZwJ.js} +1 -1
  84. package/dist/assets/{IssueChargeCardPage-fumweN4Y-Ie_niRER.js → IssueChargeCardPage-fumweN4Y-CbGa-1Sy.js} +1 -1
  85. package/dist/assets/{LabeledAddressValue-cNf6hI1l-C1IgZGiS.js → LabeledAddressValue-cNf6hI1l-BswrPJcJ.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-CoTtV0RQ-CTJHm8Dm.js → LabeledAddressValueField-CoTtV0RQ-oEM2MjQO.js} +1 -1
  87. package/dist/assets/{LabeledControlledCheckBoxField-DQwUvKR2-BFeYWYOG.js → LabeledControlledCheckBoxField-DQwUvKR2-CCQx34pM.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-CnQsTYWe-BxSldgLD.js → LabeledCreatableSingleSelectField-CnQsTYWe-BNKI3sBW.js} +1 -1
  89. package/dist/assets/{LabeledDocumentField-MkryOLQ8-ZmKcbrkd.js → LabeledDocumentField-MkryOLQ8-DH1KAWxk.js} +1 -1
  90. package/dist/assets/{LabeledDropDownFormattedTextField-B-yUtgxR-CkZPhULB.js → LabeledDropDownFormattedTextField-B-yUtgxR-Svg2dZ6s.js} +1 -1
  91. package/dist/assets/{LabeledText-BJ3Zvb5p-yc50ilCa.js → LabeledText-BJ3Zvb5p-ndTmW7U8.js} +1 -1
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CSEiKb8M-B7kyEAM_.js → LabeledUserSingleSelectWithSubtitlesField-CSEiKb8M-DUVObrd4.js} +1 -1
  93. package/dist/assets/{LabeledZeniRolesDropDownField-CS_oKjBG-CatyVbOL.js → LabeledZeniRolesDropDownField-CS_oKjBG-BYrCH7sg.js} +1 -1
  94. package/dist/assets/{LinkJETransactionPage-BsszwFNq-BtKpHm2U.js → LinkJETransactionPage-BsszwFNq-CVlh2hC9.js} +1 -1
  95. package/dist/assets/{LockCardPage-DqQGGac2-Bntrtxvn.js → LockCardPage-DqQGGac2-DNRrTsHA.js} +1 -1
  96. package/dist/assets/{LowBalancePopup-BFo5zRk3-BLFy36gu.js → LowBalancePopup-BFo5zRk3-mdHe1dcy.js} +1 -1
  97. package/dist/assets/{MagicLinkACHDetailsPage-wYa3cyyZ-Cn9Ml7SS.js → MagicLinkACHDetailsPage-wYa3cyyZ-tz2BvffR.js} +1 -1
  98. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CW4RNKOV-Bj3CP8hj.js → MagicLinkDomesticWireDetailsPage-CW4RNKOV-CtiYd2c1.js} +1 -1
  99. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CX9SeCLl-Bato55Wl.js → MagicLinkInternationalWireDetailsPage-CX9SeCLl-HVNLuX22.js} +1 -1
  100. package/dist/assets/{MagicLinkSuccessPage-Dipq1-St-C4ZMZxw5.js → MagicLinkSuccessPage-Dipq1-St-CbeB13LZ.js} +1 -1
  101. package/dist/assets/{MagicLinkTitleSection-DnN52Uwb-aNaCMrDN.js → MagicLinkTitleSection-DnN52Uwb-Cs_fy5V9.js} +1 -1
  102. package/dist/assets/{MailingDetailsSection-DwNF-L2Y-DJJZ9RqI.js → MailingDetailsSection-DwNF-L2Y-DrhhdeyV.js} +1 -1
  103. package/dist/assets/{Menu-D0jF6uaE-AMW53cTN.js → Menu-D0jF6uaE-063ttLpF.js} +1 -1
  104. package/dist/assets/{MyBankConnectionsSettingsPage-DpM6MKBq-CmnrHUZV.js → MyBankConnectionsSettingsPage-DpM6MKBq-E1-nhC0K.js} +1 -1
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-BaT55Pwg-BdKjhqSf.js → MyPendingActivationChargeCardListPage-BaT55Pwg-Ag6G6vZu.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-kD1dY6P6-BAgE1Tqp.js → MyProfileSettingsPage-kD1dY6P6-BfZFNoxD.js} +1 -1
  107. package/dist/assets/{NavBarWithPicker-D-WQJ-tG-C6mGlKIr.js → NavBarWithPicker-D-WQJ-tG-Cy7zBv5q.js} +1 -1
  108. package/dist/assets/{NavigationArrow-Z9PgxZ-c-DrPA9Vgt.js → NavigationArrow-Z9PgxZ-c-2tqZ4Fw-.js} +1 -1
  109. package/dist/assets/{NavigationDots-BT-m0FmS-CJdtX5bS.js → NavigationDots-BT-m0FmS-COkqBkfX.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-YsnX4uQU-7PwHdB8y.js → NewGlobalMerchantPage-YsnX4uQU-D0h-bx1p.js} +1 -1
  111. package/dist/assets/{NoDataChart-DMivligx-DVgr9SAl.js → NoDataChart-DMivligx-CY99ibCB.js} +1 -1
  112. package/dist/assets/{NoDataTable-DwOJY23X-BMIpXvJR.js → NoDataTable-DwOJY23X-0CWxLk-0.js} +1 -1
  113. package/dist/assets/{NotFoundPage-DuKXpHos-BIXgl60z.js → NotFoundPage-DuKXpHos-CG3u4rQy.js} +1 -1
  114. package/dist/assets/{NotificationSettingsPage-DlU2NxiC-DDx7Rraa.js → NotificationSettingsPage-DlU2NxiC-Dm2QaTZo.js} +1 -1
  115. package/dist/assets/{NotificationsListConfig-BQCb9x9X-C3jJIn48.js → NotificationsListConfig-BQCb9x9X-CKZiM7oL.js} +1 -1
  116. package/dist/assets/{NotificationsPage-q0bK_5gs-C_zZBYkJ.js → NotificationsPage-q0bK_5gs-jK6e_Uyw.js} +1 -1
  117. package/dist/assets/{OpExByVendorPage-Boc7U8eu-BxBRsCtx.js → OpExByVendorPage-Boc7U8eu-CVJq9vF2.js} +1 -1
  118. package/dist/assets/{OverlayContainerPage-CrZuT2Jj-DDO8EgYZ.js → OverlayContainerPage-CrZuT2Jj-CY2cJwH_.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-B2eGvFPp-CEl0eyCC.js → PandLWithForecastPage-B2eGvFPp-BaY0fBnf.js} +1 -1
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BP-_59EO-KoltH9y1.js → PaymentAccountSetupBillingAddressSection-BP-_59EO-hGRsM6bI.js} +1 -1
  121. package/dist/assets/{PeoplePage-YMfZIga6-BPMCy-eb.js → PeoplePage-YMfZIga6-BEib8XAV.js} +1 -1
  122. package/dist/assets/{ProductsCarousel-CUaU5-V7-CFq7I05R.js → ProductsCarousel-CUaU5-V7-DTCkPx2F.js} +1 -1
  123. package/dist/assets/{PromoBaseCards-CmOYEhSO-D3yPErwW.js → PromoBaseCards-CmOYEhSO-bExxN6kp.js} +1 -1
  124. package/dist/assets/{QBOConnectionDialog-BNiXUEAk-B55AIWRo.js → QBOConnectionDialog-BNiXUEAk-O1EeGUUa.js} +1 -1
  125. package/dist/assets/{QBOSetupSection-CjjNFfgF-CIhiV9Dd.js → QBOSetupSection-CjjNFfgF-hqHet92Q.js} +1 -1
  126. package/dist/assets/{ReimbursementApprovalRuleDetailPage-tP7WcKvd-CCMfftol.js → ReimbursementApprovalRuleDetailPage-tP7WcKvd-47DORnA2.js} +1 -1
  127. package/dist/assets/{ReimbursementApprovalRulesPage-BkuYJ6qb-BIx385RC.js → ReimbursementApprovalRulesPage-BkuYJ6qb-7dFuSzMb.js} +1 -1
  128. package/dist/assets/{ReimbursementDetailPage-D5IzqJS5-BklJr7jT.js → ReimbursementDetailPage-D5IzqJS5-B19mA4vu.js} +1 -1
  129. package/dist/assets/{ReimbursementPromoPage-D7n6lZNo-BpT8Ss67.js → ReimbursementPromoPage-D7n6lZNo-CgdMqXow.js} +1 -1
  130. package/dist/assets/{ReimbursementSetUpPage-E1elWU5Z-VC2DwUtC.js → ReimbursementSetUpPage-E1elWU5Z-D7O-pf9b.js} +1 -1
  131. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-HzYNji-G-DGG79plx.js → ReimbursementsBulkReviewDrawerPage-HzYNji-G-BjLwNAB4.js} +1 -1
  132. package/dist/assets/{ReloadCard-DMWwNZ1z-CIbg2f6Q.js → ReloadCard-DMWwNZ1z-D31XYoZn.js} +1 -1
  133. package/dist/assets/{ReportTableViewSelector-EU36E1lv-XPDH-qLc.js → ReportTableViewSelector-EU36E1lv-CLM26q4e.js} +1 -1
  134. package/dist/assets/{ReportsPage-iJDifG6q-BnnQKn2l.js → ReportsPage-iJDifG6q-CYAyIPrv.js} +1 -1
  135. package/dist/assets/{RevenueChart-BbOK-HCB-UtcLA02J.js → RevenueChart-BbOK-HCB-C8qpvMvb.js} +1 -1
  136. package/dist/assets/{ReviewDetailsPage-Bk2vvBn3-C2KvPaPZ.js → ReviewDetailsPage-Bk2vvBn3-CMASDCWv.js} +1 -1
  137. package/dist/assets/{ReviewOverlay-CJlk2MNH-s-FncxF6.js → ReviewOverlay-CJlk2MNH-DksHT3Bn.js} +1 -1
  138. package/dist/assets/{RoleWithToolTip-B7woUKhj-CCCbdbHN.js → RoleWithToolTip-B7woUKhj-tuSqaaK3.js} +1 -1
  139. package/dist/assets/{ScheduleDetailsFixedAssetsPage-B-WjqQN_-BZxRVl4y.js → ScheduleDetailsFixedAssetsPage-B-WjqQN_-lrt0yIGR.js} +1 -1
  140. package/dist/assets/{ScheduleDetailsPage-ocFBINM3-BwGXsqpK.js → ScheduleDetailsPage-ocFBINM3-BDslid8Y.js} +1 -1
  141. package/dist/assets/{ScheduleSequenceTable-Bb7MJ-zJ-GmSlZz8a.js → ScheduleSequenceTable-Bb7MJ-zJ-BYUE2OMk.js} +1 -1
  142. package/dist/assets/{ScreenRoutes-Bs2X1R3V.js → ScreenRoutes-DoE2zy1N.js} +1 -1
  143. package/dist/assets/{SetUpAccountSection-9zELif-q-xWCkQEz2.js → SetUpAccountSection-9zELif-q-jAntwqfL.js} +1 -1
  144. package/dist/assets/{SignIn-BHHUcLal-BDutKsDY.js → SignIn-BHHUcLal-B9B7yu5c.js} +1 -1
  145. package/dist/assets/{SignInScreen-DqJeiieA.js → SignInScreen-Czg-Wlkz.js} +1 -1
  146. package/dist/assets/{SpendManagementListViewPage-BAdSW-49-C0b0e4ib.js → SpendManagementListViewPage-BAdSW-49-Cy3aFFuZ.js} +3 -3
  147. package/dist/assets/{SpendManagementPerTabPage-HzCmGr0--BrKmnwTS.js → SpendManagementPerTabPage-HzCmGr0--xZeoOzCY.js} +1 -1
  148. package/dist/assets/{SpendManagementSection-LzT-Bnhy-DcyEJGSm.js → SpendManagementSection-LzT-Bnhy-7KIDrHzn.js} +1 -1
  149. package/dist/assets/{StatementItem-BnxTFgdM-ncI51LoG.js → StatementItem-BnxTFgdM-BUy1CSEA.js} +1 -1
  150. package/dist/assets/{StatementsPage-B8X2un5p-CiIvEzAF.js → StatementsPage-B8X2un5p-Ao0DiWwm.js} +1 -1
  151. package/dist/assets/{StatusSwitcher-BPKr5BUW-lb0m6Cbr.js → StatusSwitcher-BPKr5BUW-iZy1SY4R.js} +1 -1
  152. package/dist/assets/{SubTabSwitcher-4dvyyQSv-BdqA6ZlC.js → SubTabSwitcher-4dvyyQSv-B0aTRMDP.js} +1 -1
  153. package/dist/assets/{SummaryCard-CiNkV7uy-BHimAYKo.js → SummaryCard-CiNkV7uy-CyUPIfT8.js} +1 -1
  154. package/dist/assets/{TaskManagementPage-BiyyDIWi-DCcTniX2.js → TaskManagementPage-BiyyDIWi-DOn8-w1u.js} +1 -1
  155. package/dist/assets/{TimeRangeSwitcher-DEEhq2Us-D64DWBCZ.js → TimeRangeSwitcher-DEEhq2Us-DC70llJC.js} +1 -1
  156. package/dist/assets/{TimeframeSwitcher-u606tI8Z-DKc_Ov1z.js → TimeframeSwitcher-u606tI8Z-CLiEbUCN.js} +1 -1
  157. package/dist/assets/{TimeframeSwitcherWithToggle-D2sBGHXQ-Dp4KGiW_.js → TimeframeSwitcherWithToggle-D2sBGHXQ-ChLeBSSB.js} +1 -1
  158. package/dist/assets/{TopExCard-DbPlohSJ-YKd6FEuQ.js → TopExCard-DbPlohSJ-Dhp9OZxf.js} +1 -1
  159. package/dist/assets/{TopExDetailPage-Cla8Hd-1-1fpYe-lT.js → TopExDetailPage-Cla8Hd-1-DK-xuoZs.js} +1 -1
  160. package/dist/assets/{TransactionDetailPage-BbjtQvBr-DNyUqobk.js → TransactionDetailPage-BbjtQvBr-FXHAHiFr.js} +1 -1
  161. package/dist/assets/{TransactionList-BRiHadkm-BVpjF8up.js → TransactionList-BRiHadkm-DPpaSQ1Y.js} +1 -1
  162. package/dist/assets/{TransactionListBig-BOeu4-R4-Cua70V6_.js → TransactionListBig-BOeu4-R4-o6UH9k2V.js} +1 -1
  163. package/dist/assets/{TransactionListPage-ByVvx6ON-C32shKZQ.js → TransactionListPage-ByVvx6ON-CwQjGljA.js} +1 -1
  164. package/dist/assets/{TransactionVendorDetailPage-DMweGn3b-CelejD-M.js → TransactionVendorDetailPage-DMweGn3b-Dq7toltd.js} +1 -1
  165. package/dist/assets/{TransferDrawerPage-BTqCR3Hb-CYdeK3jF.js → TransferDrawerPage-BTqCR3Hb-BWfDRvEr.js} +1 -1
  166. package/dist/assets/{TreasuryOverviewPage-CDJtsQsC-ns0b2xlD.js → TreasuryOverviewPage-CDJtsQsC-BAM2Gg0T.js} +1 -1
  167. package/dist/assets/{TreasuryPromoPage-Bqt6DcqL-DbWZMgaj.js → TreasuryPromoPage-Bqt6DcqL-CXIyIitA.js} +1 -1
  168. package/dist/assets/{TreasuryStatementsPage-2PsC-PWa-MMDwIX2Z.js → TreasuryStatementsPage-2PsC-PWa-D70yhjS2.js} +1 -1
  169. package/dist/assets/{TreasuryTaxLetterPage-D6MoHMAo-MFFnXqVo.js → TreasuryTaxLetterPage-D6MoHMAo-DmesESI8.js} +1 -1
  170. package/dist/assets/{TrendChart-DiutckSt-CgHLzJj6.js → TrendChart-DiutckSt-D94T5IZh.js} +1 -1
  171. package/dist/assets/{TrendWithTransactions-rPwZKHfV-DNKy45Dj.js → TrendWithTransactions-rPwZKHfV-Dtp5jwDW.js} +1 -1
  172. package/dist/assets/{UncategorizedAccountsMappingPage-CFx4P194-CH9WyFGN.js → UncategorizedAccountsMappingPage-CFx4P194-BZZ4iMs4.js} +1 -1
  173. package/dist/assets/{UnitIntegrationPage-DO8dMzVg-DvbEuGmN.js → UnitIntegrationPage-DO8dMzVg-Cd3rb01x.js} +1 -1
  174. package/dist/assets/{UploadAdditionalDocumentOverlay-Ug3kL02_-B3G6i9sn.js → UploadAdditionalDocumentOverlay-Ug3kL02_-DKI6OhwV.js} +1 -1
  175. package/dist/assets/{Vendor2FAPopup-BdG-Ywma-QkJvZ609.js → Vendor2FAPopup-BdG-Ywma-CO_da9UG.js} +1 -1
  176. package/dist/assets/{VendorACHDetailsPage-BUNmE_s6-5dZ0tO5y.js → VendorACHDetailsPage-BUNmE_s6-DPSp4E23.js} +1 -1
  177. package/dist/assets/{VendorDetailPage-Dy9McuGu-BueeE3oi.js → VendorDetailPage-Dy9McuGu-d-ZpZ6aU.js} +1 -1
  178. package/dist/assets/{VendorDomesticWireDetailsPage-DvACrh7C-fv6qIbh-.js → VendorDomesticWireDetailsPage-DvACrh7C-BLzpieuI.js} +1 -1
  179. package/dist/assets/{VendorFiling1099EditablePage-Y0hGO4RH-Bkykk5NB.js → VendorFiling1099EditablePage-Y0hGO4RH-BToJSlm-.js} +1 -1
  180. package/dist/assets/{VendorFirstReviewPage-C-pT1M36-D21-SWZN.js → VendorFirstReviewPage-C-pT1M36-D4-Nv1Fg.js} +1 -1
  181. package/dist/assets/{VendorInternationalWireDetailsPage-CCMramET-CvrUOrMX.js → VendorInternationalWireDetailsPage-CCMramET-BwYsNdGo.js} +1 -1
  182. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-lxD_Z5W--BAaZ1iJw.js → VendorInternationalWireSwiftDetailsPage-lxD_Z5W--961yvZRp.js} +1 -1
  183. package/dist/assets/{VendorsAccountsSection-D-3fhQvy-ODF-nF1J.js → VendorsAccountsSection-D-3fhQvy-CbP2SER5.js} +1 -1
  184. package/dist/assets/{VerifyDevice-DDZdWfa8-C2_zooti.js → VerifyDevice-DDZdWfa8-H5PbdKsY.js} +1 -1
  185. package/dist/assets/{VideoPlayer-D0GZ_Yml-CzUqkm8K.js → VideoPlayer-D0GZ_Yml-gee9OAo-.js} +1 -1
  186. package/dist/assets/{VideoPopup-CEdhfU31-CRc_PqEa.js → VideoPopup-CEdhfU31-8qrMVIxi.js} +1 -1
  187. package/dist/assets/{WarningsDrawerPage-CIK9lkT2-4Dbh3gee.js → WarningsDrawerPage-CIK9lkT2-D5cDBgQm.js} +1 -1
  188. package/dist/assets/{ZeniAccountDetailPage-BF8cg2oa-D23upslb.js → ZeniAccountDetailPage-BF8cg2oa-Df5W17bc.js} +1 -1
  189. package/dist/assets/{ZeniAccountListViewPage-BkdkYY8j-BsJgCgRQ.js → ZeniAccountListViewPage-BkdkYY8j-Bvi6PCOk.js} +1 -1
  190. package/dist/assets/{ZeniAccountNavBarPieces-FAxN1QDY-BljetA4S.js → ZeniAccountNavBarPieces-FAxN1QDY-C5pMry9_.js} +1 -1
  191. package/dist/assets/{ZeniAccountPromoPage-COAOIU03-Bkst1764.js → ZeniAccountPromoPage-COAOIU03-B_FVyXMi.js} +1 -1
  192. package/dist/assets/{ZeniAccountSetupPage-QMBiVius-DdJzbNoZ.js → ZeniAccountSetupPage-QMBiVius-DueIhJzT.js} +1 -1
  193. package/dist/assets/{ZeniCopyright-CgfP-kcy-BQ8g3w-z.js → ZeniCopyright-CgfP-kcy-DUMhOisg.js} +1 -1
  194. package/dist/assets/{ZeniTransferAmountSlider-B1fmc3f9-BXoBksgM.js → ZeniTransferAmountSlider-B1fmc3f9-DSYZgQje.js} +1 -1
  195. package/dist/assets/{analyticsHelper-BKtlFOJm-DFeq4K6y.js → analyticsHelper-BKtlFOJm-CcPLbTK6.js} +1 -1
  196. package/dist/assets/{analyticsHelper-BY515BEN.js → analyticsHelper-BV9ovV44.js} +1 -1
  197. package/dist/assets/{chartTypes-BZYC5y5J-fsutalT0.js → chartTypes-BZYC5y5J-CVmMioA0.js} +1 -1
  198. package/dist/assets/{commonDimensions-B-aZt-hB-CyMsSMR_.js → commonDimensions-B-aZt-hB-CP54iB8v.js} +1 -1
  199. package/dist/assets/{detailCommon-DCtkwfR8-BBwf5Sk5.js → detailCommon-DCtkwfR8-Dr2vx6ZY.js} +1 -1
  200. package/dist/assets/{downloadPdf-BhQlJMh0-BaxCiwAc.js → downloadPdf-BhQlJMh0-DeqZGQ39.js} +1 -1
  201. package/dist/assets/{index-BhteR_e0.js → index-Dm9r1f6s.js} +4 -4
  202. package/dist/assets/{mapLoadingInProgressToTreeNode-B8iO-fIh-RTAx_JGt.js → mapLoadingInProgressToTreeNode-B8iO-fIh-DwG7e-RM.js} +1 -1
  203. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-PLUfKBDd-B2JV3NdC.js → mapSectionWithAcOnlyToTreeNode-PLUfKBDd-BfmC19Y6.js} +1 -1
  204. package/dist/assets/{mapSpacerToTreeNode-BPbkmHFY-Ce33KPvG.js → mapSpacerToTreeNode-BPbkmHFY-BZPeecIF.js} +1 -1
  205. package/dist/assets/{mapTimeframeBalancesToTreeNode-B-kK0AfR-BuUApKLg.js → mapTimeframeBalancesToTreeNode-B-kK0AfR-0kzYcFSC.js} +1 -1
  206. package/dist/assets/{mapTimeframeBalancesToTreeNode-BvN4m9TA-kT_avyio.js → mapTimeframeBalancesToTreeNode-BvN4m9TA-DSQ0LTze.js} +1 -1
  207. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BiRfdc4g-CoGG1EsI.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BiRfdc4g-C5Cp6P0a.js} +1 -1
  208. package/dist/assets/{toCOABalancesWithID-ChMShONK-DKVddnaL.js → toCOABalancesWithID-ChMShONK-Cq-mLDe3.js} +1 -1
  209. package/dist/assets/{toChartData-BUweupH8-9P9fGujj.js → toChartData-BUweupH8-sZruIW4t.js} +1 -1
  210. package/dist/assets/{uploadAttachment-CeUHLpzO-CvskAe_e.js → uploadAttachment-CeUHLpzO-C_J8w5W4.js} +1 -1
  211. package/dist/assets/{uploadReceipts-Bkf_PaOH-B-Qf32vH.js → uploadReceipts-Bkf_PaOH-qo0cBRii.js} +1 -1
  212. package/dist/index.html +1 -1
  213. package/package.json +1 -1
  214. package/dist/assets/CustomerOnboardingContainerPage-Dt-_tVOQ-B7ffmmrc.js +0 -1
@@ -1,4 +1,4 @@
1
- import{q as b,F as oe,V as r,e as J,av as ye,a7 as be,aN as je,aL as Se,fP as Te,bz as ze,fo as ve,n as Z,aK as ee,o as t,D as Pe,l as O,cz as ke,ap as Ae,y as x,ao as Be,bQ as Ie,iD as Le,ag as Me,d as p,a as S,p as $,b8 as Re,aR as Ee,iE as _e}from"./index-BhteR_e0.js";import{a as T}from"./core-B-FNbYlu.js";import{n as a,b as De,k as Fe}from"./mui-DLNyBjYF.js";import{Er as Ne}from"./zeni-epic-state-HWtMOH-U.js";import{k as Ue}from"./NavigationDots-BT-m0FmS-CJdtX5bS.js";import{J as G,N as H}from"./PromoBaseCards-CmOYEhSO-D3yPErwW.js";import{M}from"./usp-line-BBd1wKwW-_aHpaGit.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const h={containerPaddingTopBottom:new x(p[0],p[0]),uspContainerMarginX:new x(p[6],p[0]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12]),buttonTrayGap:new x(p[3],p[5]),termsOfAgreementMarginTop:new x(p[5],p[10]),contactAdminContainerMarginTop:new x(p[0],p[10]),contactAdminContainerMarginBottom:new x(p[4],p[0]),contactAdminContainerMarginLeftRight:new x(p[3],p[0])},z={promoBadgeText:new S("standardRegular","largeRegular"),promoBadgeTextBold:new S("standardBold","largeBold"),cardsContent:new S("extraSmallRegular","smallRegular"),contactAdmin:new S("extraSmallRegular","largeRegular"),uspText:new S("smallRegular","standardRegular"),uspBoldText:new S("smallMedium","standardMedium")},{common:N,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),Rr=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:n,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:g,isDebitCardSetupEnabled:u,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:V,onExpressInterestClick:he})=>{const ge=J(),K=ye(),v=b(),W=be().analytics,{chargeCardTermsDetails:R,companyChargeCardInfo:C,companyLocaleInfo:E}=i,X=je(R?.fetchStatus.fetchState),[xe,q]=T.useState(!1),ue=()=>{W.trackCardsPromoPageClicked("schedule demo"),W.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:g,isDebitCardEnabled:u,isCreditCardEnabled:w},"Cards Promo"),q(!0)},we=C!=null&&E!=null?Se("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:E.currencyCode,currencySymbol:E.currencySymbol}):void 0;T.useEffect(()=>{X==="In-Progress"&&R?.fetchStatus.fetchState==="Completed"&&V()},[X,V,R?.fetchStatus]);const Q=Ne(K.loggedInUserRoleMap),fe=Te(K),_=f==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:$e}=i,Y=_?o.getPreApprovedNow:n?o.enableCardsButton:o.setupCardsButton;return r.jsxs(Ke,{children:[r.jsx(ze,{title:o.title[f],backgroundColor:ge.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:v==="medium-compact"||v==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(ve,{onCancelClick:()=>{q(!1)},meetingUrl:e}):null,r.jsx(Qe,{windowSize:v,children:Q===!0?r.jsxs(qe,{children:[r.jsxs(Xe,{children:[r.jsx(He,{isApproved:Ce,creditAmount:we,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:_,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(ne,{cardPromoType:f,cashbackRate:P})]}),r.jsx(ae,{showEnableCardButton:n,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:_,isCheckingEnabled:l})]}):r.jsx(Je,{companyLegalName:s,cards:[],admins:j,cashbackRate:P,hasZeniFinopsRoles:fe,cardPromoType:f,isCheckingEnabled:l})}),Q&&!(F||D)?r.jsxs(or,{windowSize:v,children:[r.jsx(Z,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:ue,"data-testid":ee("schedule-demo-button")}),r.jsx(We,{windowSize:v,children:o.orText}),r.jsx(Z,{variant:"primary",label:Y,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||$e==="In-Progress",onClick:Y===o.getPreApprovedNow?he:()=>d(f),"data-testid":ee("enable-card-button")})]}):null]})},Ge=({admins:e})=>{const s=e.flatMap(n=>n.user?.firstName+" "+n.user?.lastName).join(", "),i=b();return r.jsxs(mr,{windowSize:i,children:[r.jsx(U,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Ie,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(U,{underline:!0,windowSize:i,children:o.noCardAssigned.tooltip})}),r.jsx(U,{underline:!1,windowSize:i,children:o.noCardAssigned.post})]})},ae=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:i,isUnderReview:n,isRejected:c,showExpressInterest:m,isCardUser:g=!1})=>{const u=b();return r.jsx(ir,{windowSize:u,children:r.jsx(Le,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:n===!0||c===!0||g===!0?void 0:m===!0?o.terms.getPreApprovedNowTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:c===!1&&g===!1&&n===!1,style:{marginTop:h.termsOfAgreementMarginTop.valuePx(u)},cardPromoType:e,isCheckingEnabled:i})})},He=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:n,isRejected:c,showExpressInterest:m,creditLimit:g})=>{const u=b(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,j=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,N.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(rr,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,N.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):n?o.promoBadgeText.underReview:c?o.promoBadgeText.rejected:s==="debit_and_credit"&&g===0?null:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(te,{children:i}),o.creditLimit,N.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:u==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ze,{cardPromoType:s,hasContent:j!=null,hideBadge:i==null||s==="debit",windowSize:u,children:[n||c||m?null:r.jsx($r,{}),r.jsx(er,{windowSize:u,children:j})]})]})},Je=({companyLegalName:e,cards:s,admins:i,cashbackRate:n,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:g})=>{const u=b(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[u==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(pr,{windowSize:u}):r.jsx(Oe,{cards:s,companyLegalName:e}),r.jsx(ne,{cardPromoType:m,cashbackRate:n}),c?null:r.jsx(Ge,{admins:i}),r.jsx(ae,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:g})]})},Oe=({cards:e,companyLegalName:s})=>{const i=J(),n=b();let c="",m;if(e.length===1){m=e[0].cardCreatedByUser.photo;const g=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;c=o.cardAssigned.singleCreditCard.replace("__issuing-user__",g).replace("__company-name__",s)}else c=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(gr,{children:[m!=null?r.jsx(Ye,{width:t.sp5,height:t.sp5,style:{paddingTop:n==="small"?t.sp1:t.sp0},src:m.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=Be},loading:"lazy"}):null,r.jsx(hr,{windowSize:n,mode:i.mode,children:r.jsx(xr,{windowSize:n,children:c})})]})},re=({windowSize:e,cardPromoType:s})=>{let i=o.businessText;return s==="debit"&&(i=`${i} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Ve,{}):r.jsxs(nr,{windowSize:e,children:[r.jsx(G,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(H,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ne=({cardPromoType:e,cashbackRate:s})=>{const i=b(),n=o.benefits;return r.jsxs(tr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(ar,{windowSize:i,children:[r.jsxs(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(lr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item1.pre}),r.jsx(B,{windowSize:i,children:n.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(y,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?n.singleStarred:""}${n.item1.post}`})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(sr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item2.pre}),r.jsx(B,{windowSize:i,children:n.item2.bold}),r.jsx(y,{windowSize:i,children:n.item2.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(cr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item3.pre}),r.jsx(B,{windowSize:i,children:n.item3.bold}),r.jsx(y,{windowSize:i,children:n.item3.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(dr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item4.pre}),r.jsx(B,{windowSize:i,children:n.item4.bold}),r.jsx(y,{windowSize:i,children:n.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Ve=()=>{const e=b(),s=J(),[i,n]=T.useState(0),[c,m]=T.useState(!1),g=o.businessText,u=`${g} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:u},{id:2,cardType:"debit",cardText:u},{id:3,cardType:"credit",cardText:g},{id:4,cardType:"credit",cardText:g}];T.useEffect(()=>(c||(k=setInterval(()=>{n(l=>{const d=l+1;return d===w.length?(m(!0),0):d})},2e3)),()=>clearInterval(k)),[c,w.length]),T.useEffect(()=>{c&&k!=null&&clearInterval(k)},[c]);const j=(l,d)=>{switch((l-i+w.length)%w.length){case 0:return{transform:`translate(0,${d?"100%":0}) scale(1)`,zIndex:d?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${d?"80%":"5%"}) scale(0.75)`,zIndex:d?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};default:return}},P=l=>{const d=j(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},f=l=>{c||m(!0),n(l)};return r.jsxs(ur,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:w.map((l,d)=>r.jsxs(fr,{children:[r.jsx(ie,{isReflection:!1,style:{...j(d,!1)},onClick:()=>f(d),children:d===0||d===2?r.jsx(G,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(G,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${l.id}`)]},l.id))}),c&&r.jsx(Ue,{numberOfDots:w.length,activeIndex:i,handleClick:n,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:h.navigationBottom.valuePx(e),left:h.navigationLeft.valuePx(e),zIndex:7}})]})},Ke=a.div`
1
+ import{q as b,F as oe,V as r,e as J,av as ye,a7 as be,aN as je,aL as Se,fP as Te,bz as ze,fo as ve,n as Z,aK as ee,o as t,D as Pe,l as O,cz as ke,ap as Ae,y as x,ao as Be,bQ as Ie,iD as Le,ag as Me,d as p,a as S,p as $,b8 as Re,aR as Ee,iE as _e}from"./index-Dm9r1f6s.js";import{a as T}from"./core-B-FNbYlu.js";import{n as a,b as De,k as Fe}from"./mui-DLNyBjYF.js";import{Er as Ne}from"./zeni-epic-state-HWtMOH-U.js";import{k as Ue}from"./NavigationDots-BT-m0FmS-COkqBkfX.js";import{J as G,N as H}from"./PromoBaseCards-CmOYEhSO-bExxN6kp.js";import{M}from"./usp-line-BBd1wKwW-_aHpaGit.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const h={containerPaddingTopBottom:new x(p[0],p[0]),uspContainerMarginX:new x(p[6],p[0]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12]),buttonTrayGap:new x(p[3],p[5]),termsOfAgreementMarginTop:new x(p[5],p[10]),contactAdminContainerMarginTop:new x(p[0],p[10]),contactAdminContainerMarginBottom:new x(p[4],p[0]),contactAdminContainerMarginLeftRight:new x(p[3],p[0])},z={promoBadgeText:new S("standardRegular","largeRegular"),promoBadgeTextBold:new S("standardBold","largeBold"),cardsContent:new S("extraSmallRegular","smallRegular"),contactAdmin:new S("extraSmallRegular","largeRegular"),uspText:new S("smallRegular","standardRegular"),uspBoldText:new S("smallMedium","standardMedium")},{common:N,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),Rr=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:n,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:g,isDebitCardSetupEnabled:u,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:V,onExpressInterestClick:he})=>{const ge=J(),K=ye(),v=b(),W=be().analytics,{chargeCardTermsDetails:R,companyChargeCardInfo:C,companyLocaleInfo:E}=i,X=je(R?.fetchStatus.fetchState),[xe,q]=T.useState(!1),ue=()=>{W.trackCardsPromoPageClicked("schedule demo"),W.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:g,isDebitCardEnabled:u,isCreditCardEnabled:w},"Cards Promo"),q(!0)},we=C!=null&&E!=null?Se("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:E.currencyCode,currencySymbol:E.currencySymbol}):void 0;T.useEffect(()=>{X==="In-Progress"&&R?.fetchStatus.fetchState==="Completed"&&V()},[X,V,R?.fetchStatus]);const Q=Ne(K.loggedInUserRoleMap),fe=Te(K),_=f==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:$e}=i,Y=_?o.getPreApprovedNow:n?o.enableCardsButton:o.setupCardsButton;return r.jsxs(Ke,{children:[r.jsx(ze,{title:o.title[f],backgroundColor:ge.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:v==="medium-compact"||v==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(ve,{onCancelClick:()=>{q(!1)},meetingUrl:e}):null,r.jsx(Qe,{windowSize:v,children:Q===!0?r.jsxs(qe,{children:[r.jsxs(Xe,{children:[r.jsx(He,{isApproved:Ce,creditAmount:we,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:_,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(ne,{cardPromoType:f,cashbackRate:P})]}),r.jsx(ae,{showEnableCardButton:n,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:_,isCheckingEnabled:l})]}):r.jsx(Je,{companyLegalName:s,cards:[],admins:j,cashbackRate:P,hasZeniFinopsRoles:fe,cardPromoType:f,isCheckingEnabled:l})}),Q&&!(F||D)?r.jsxs(or,{windowSize:v,children:[r.jsx(Z,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:ue,"data-testid":ee("schedule-demo-button")}),r.jsx(We,{windowSize:v,children:o.orText}),r.jsx(Z,{variant:"primary",label:Y,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||$e==="In-Progress",onClick:Y===o.getPreApprovedNow?he:()=>d(f),"data-testid":ee("enable-card-button")})]}):null]})},Ge=({admins:e})=>{const s=e.flatMap(n=>n.user?.firstName+" "+n.user?.lastName).join(", "),i=b();return r.jsxs(mr,{windowSize:i,children:[r.jsx(U,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Ie,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(U,{underline:!0,windowSize:i,children:o.noCardAssigned.tooltip})}),r.jsx(U,{underline:!1,windowSize:i,children:o.noCardAssigned.post})]})},ae=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:i,isUnderReview:n,isRejected:c,showExpressInterest:m,isCardUser:g=!1})=>{const u=b();return r.jsx(ir,{windowSize:u,children:r.jsx(Le,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:n===!0||c===!0||g===!0?void 0:m===!0?o.terms.getPreApprovedNowTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:c===!1&&g===!1&&n===!1,style:{marginTop:h.termsOfAgreementMarginTop.valuePx(u)},cardPromoType:e,isCheckingEnabled:i})})},He=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:n,isRejected:c,showExpressInterest:m,creditLimit:g})=>{const u=b(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,j=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,N.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(rr,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,N.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):n?o.promoBadgeText.underReview:c?o.promoBadgeText.rejected:s==="debit_and_credit"&&g===0?null:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(te,{children:i}),o.creditLimit,N.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:u==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ze,{cardPromoType:s,hasContent:j!=null,hideBadge:i==null||s==="debit",windowSize:u,children:[n||c||m?null:r.jsx($r,{}),r.jsx(er,{windowSize:u,children:j})]})]})},Je=({companyLegalName:e,cards:s,admins:i,cashbackRate:n,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:g})=>{const u=b(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[u==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(pr,{windowSize:u}):r.jsx(Oe,{cards:s,companyLegalName:e}),r.jsx(ne,{cardPromoType:m,cashbackRate:n}),c?null:r.jsx(Ge,{admins:i}),r.jsx(ae,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:g})]})},Oe=({cards:e,companyLegalName:s})=>{const i=J(),n=b();let c="",m;if(e.length===1){m=e[0].cardCreatedByUser.photo;const g=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;c=o.cardAssigned.singleCreditCard.replace("__issuing-user__",g).replace("__company-name__",s)}else c=o.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(gr,{children:[m!=null?r.jsx(Ye,{width:t.sp5,height:t.sp5,style:{paddingTop:n==="small"?t.sp1:t.sp0},src:m.href,alt:oe.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=Be},loading:"lazy"}):null,r.jsx(hr,{windowSize:n,mode:i.mode,children:r.jsx(xr,{windowSize:n,children:c})})]})},re=({windowSize:e,cardPromoType:s})=>{let i=o.businessText;return s==="debit"&&(i=`${i} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Ve,{}):r.jsxs(nr,{windowSize:e,children:[r.jsx(G,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(H,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ne=({cardPromoType:e,cashbackRate:s})=>{const i=b(),n=o.benefits;return r.jsxs(tr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(ar,{windowSize:i,children:[r.jsxs(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(lr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item1.pre}),r.jsx(B,{windowSize:i,children:n.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(y,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?n.singleStarred:""}${n.item1.post}`})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(sr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item2.pre}),r.jsx(B,{windowSize:i,children:n.item2.bold}),r.jsx(y,{windowSize:i,children:n.item2.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(cr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item3.pre}),r.jsx(B,{windowSize:i,children:n.item3.bold}),r.jsx(y,{windowSize:i,children:n.item3.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(I,{children:r.jsx(dr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item4.pre}),r.jsx(B,{windowSize:i,children:n.item4.bold}),r.jsx(y,{windowSize:i,children:n.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Ve=()=>{const e=b(),s=J(),[i,n]=T.useState(0),[c,m]=T.useState(!1),g=o.businessText,u=`${g} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:u},{id:2,cardType:"debit",cardText:u},{id:3,cardType:"credit",cardText:g},{id:4,cardType:"credit",cardText:g}];T.useEffect(()=>(c||(k=setInterval(()=>{n(l=>{const d=l+1;return d===w.length?(m(!0),0):d})},2e3)),()=>clearInterval(k)),[c,w.length]),T.useEffect(()=>{c&&k!=null&&clearInterval(k)},[c]);const j=(l,d)=>{switch((l-i+w.length)%w.length){case 0:return{transform:`translate(0,${d?"100%":0}) scale(1)`,zIndex:d?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${d?"80%":"5%"}) scale(0.75)`,zIndex:d?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};default:return}},P=l=>{const d=j(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},f=l=>{c||m(!0),n(l)};return r.jsxs(ur,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:w.map((l,d)=>r.jsxs(fr,{children:[r.jsx(ie,{isReflection:!1,style:{...j(d,!1)},onClick:()=>f(d),children:d===0||d===2?r.jsx(G,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(G,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${l.id}`)]},l.id))}),c&&r.jsx(Ue,{numberOfDots:w.length,activeIndex:i,handleClick:n,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:h.navigationBottom.valuePx(e),left:h.navigationLeft.valuePx(e),zIndex:7}})]})},Ke=a.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{e as Ie,q as Be,a7 as De,aN as H,a8 as Ue,cB as _e,F as ze,aS as G,V as t,f6 as $e,p as Le,y as r,bz as Re,m as We,ab as qe,fp as Ne,dM as Me,fq as He,iF as J,o as U,b as Ge,bu as Je,aO as Ke,fs as Qe,d as o,ak as Xe}from"./index-BhteR_e0.js";import{a as p}from"./core-B-FNbYlu.js";import{n as S}from"./mui-DLNyBjYF.js";import{bM as Ye}from"./zeni-epic-state-HWtMOH-U.js";import{x as Ze}from"./LabeledControlledCheckBoxField-DQwUvKR2-BFeYWYOG.js";import{g as et}from"./UploadAdditionalDocumentOverlay-Ug3kL02_-B3G6i9sn.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,o[5],o[5]),sectionRowGap:new r(o[5],o[9],o[9]),iconWidthHeight:new r(20,o[4]),subTitlePaddingTop:new r(12,o[3]),subTitlePaddingBottom:new r(o[3],o[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(o[1],o[0])},K="chargeCardSetUpPage",f="payAccount",{commonSetUp:tt,spendManagement:nt}=ze.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:m}=Y,{setUp:_}=tt,xt=({autoPayThreshold:e,isDisabled:x,meetingUrl:T,isEarlyPayEnabled:g,chargeCardSetUpView:a,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:E,isCreditCardOnlyEnabled:ie,accountsPromoConfig:ae,onFetchLinkTokenClick:oe,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:me,onEstablishConnectionClick:fe,onEstablishConnectionSuccess:ge,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe,onSignUpClick:Pe})=>{const h=Ie(),i=Be(),v=De().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:L}=a,R=H(b),A=H(d.fetchState),V=Ue({mode:"all",reValidateMode:"onChange",defaultValues:p.useMemo(()=>Q(a),[a]),values:Q(a)}),Ee=V.handleSubmit(se),ve=async(C,k)=>{const n=k[f];if(C.includes(f))if(C.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const u=L.find(D=>D.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(D=>D.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&v.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=V.watch((k,{name:n})=>{n!=null&&k!=null&&_e(()=>ve(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&&R==="In-Progress"&&b==="Completed"&&y(!1)},[s,b,R]),p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const j=F?.isChargeCardEnabled===!0,O=$?.isDebitCardEnabled===!0,W=$?.isDebitCardTOSAccepted===!0,q=F?.isChargeCardTOSAccepted===!0,N=z?.isBusinessVerified===!0,Fe=l?.accType==="depositAccount"||Ye(l?.providerVerificationStatus?.code??""),I=E?N:N&&Fe,Ve=b==="In-Progress"||b==="Not-Started";p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const B=E?I&&!O&&W:ie?I&&!j&&q:I&&!(j&&O)&&q&&W,je=B?m.setupSubTitleNotEnabled:m.setupSubTitle,M=h.mode==="light"?new G(h.colors.brandColorJadeLight):new G(h.colors.brandColorJadeDark),Oe=()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?y(!0):re?.()};return t.jsxs(at,{children:[t.jsx($e,{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(Re,{title:m.setupTitle,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!j&&!O&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(ot,{windowSize:i,children:je}),Ve?t.jsx(ct,{children:t.jsx(We,{size:"ExtraLarge",start:!0})}):t.jsx(qe,{...V,children:t.jsx("form",{id:X(K),onSubmit:Ee,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Ne,{onClick:Oe,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(Me,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:M},status:z?.businessVerificationStatus,isLoading:we,isActiveWhileLoading:!0}),E?null:t.jsx(He,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:L,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:f,isDisabled:x,onFetchLinkTokenClick:oe,onEstablishConnectionClick:fe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:ge,icon:{element:t.jsx(Je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:M},analytics:v,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:Pe,pageName:m.pageName,accountsPromoConfig:ae,accountSelectContainerStyle:g?{marginBottom:"20px"}:{},bottomComponent:g&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:h.colors.primary,...Ge.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:U.sp4,marginTop:U.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:J(f,"enableAutoPay"),checkBoxValue:J(f,"enableAutoPay"),defaultChecked:F?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),B?t.jsx(Ke,{formId:X(K),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 ${U.sp3}`}}):null,t.jsx(Qe,{isFooterRendered:B,meetingUrl:T,analytics:v,productType:"charge_cards"})]})},Q=e=>{const{allBankAccounts:x,allFundingAccounts:T,primaryFundingAccount:g}=e;return{[f]:{fundingAccount:{selectedOption:g?.id,allOptions:T.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))},account:{selectedOption:g?.zeniAccountId,allOptions:x.map(a=>({label:a.accountName,value:a.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},X=e=>`${e}_form`,it=S.div`
1
+ import{e as Ie,q as Be,a7 as De,aN as H,a8 as Ue,cB as _e,F as ze,aS as G,V as t,f6 as $e,p as Le,y as r,bz as Re,m as We,ab as qe,fp as Ne,dM as Me,fq as He,iF as J,o as U,b as Ge,bu as Je,aO as Ke,fs as Qe,d as o,ak as Xe}from"./index-Dm9r1f6s.js";import{a as p}from"./core-B-FNbYlu.js";import{n as S}from"./mui-DLNyBjYF.js";import{bM as Ye}from"./zeni-epic-state-HWtMOH-U.js";import{x as Ze}from"./LabeledControlledCheckBoxField-DQwUvKR2-CCQx34pM.js";import{g as et}from"./UploadAdditionalDocumentOverlay-Ug3kL02_-DKI6OhwV.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,o[5],o[5]),sectionRowGap:new r(o[5],o[9],o[9]),iconWidthHeight:new r(20,o[4]),subTitlePaddingTop:new r(12,o[3]),subTitlePaddingBottom:new r(o[3],o[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(o[1],o[0])},K="chargeCardSetUpPage",f="payAccount",{commonSetUp:tt,spendManagement:nt}=ze.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:m}=Y,{setUp:_}=tt,xt=({autoPayThreshold:e,isDisabled:x,meetingUrl:T,isEarlyPayEnabled:g,chargeCardSetUpView:a,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:E,isCreditCardOnlyEnabled:ie,accountsPromoConfig:ae,onFetchLinkTokenClick:oe,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:me,onEstablishConnectionClick:fe,onEstablishConnectionSuccess:ge,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe,onSignUpClick:Pe})=>{const h=Ie(),i=Be(),v=De().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:L}=a,R=H(b),A=H(d.fetchState),V=Ue({mode:"all",reValidateMode:"onChange",defaultValues:p.useMemo(()=>Q(a),[a]),values:Q(a)}),Ee=V.handleSubmit(se),ve=async(C,k)=>{const n=k[f];if(C.includes(f))if(C.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const u=L.find(D=>D.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(D=>D.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&v.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=V.watch((k,{name:n})=>{n!=null&&k!=null&&_e(()=>ve(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&&R==="In-Progress"&&b==="Completed"&&y(!1)},[s,b,R]),p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const j=F?.isChargeCardEnabled===!0,O=$?.isDebitCardEnabled===!0,W=$?.isDebitCardTOSAccepted===!0,q=F?.isChargeCardTOSAccepted===!0,N=z?.isBusinessVerified===!0,Fe=l?.accType==="depositAccount"||Ye(l?.providerVerificationStatus?.code??""),I=E?N:N&&Fe,Ve=b==="In-Progress"||b==="Not-Started";p.useEffect(()=>{A==="In-Progress"&&d.fetchState==="Completed"&&P()},[P,A,d.fetchState]);const B=E?I&&!O&&W:ie?I&&!j&&q:I&&!(j&&O)&&q&&W,je=B?m.setupSubTitleNotEnabled:m.setupSubTitle,M=h.mode==="light"?new G(h.colors.brandColorJadeLight):new G(h.colors.brandColorJadeDark),Oe=()=>{!w&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?y(!0):re?.()};return t.jsxs(at,{children:[t.jsx($e,{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(Re,{title:m.setupTitle,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!j&&!O&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(ot,{windowSize:i,children:je}),Ve?t.jsx(ct,{children:t.jsx(We,{size:"ExtraLarge",start:!0})}):t.jsx(qe,{...V,children:t.jsx("form",{id:X(K),onSubmit:Ee,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Ne,{onClick:Oe,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(Me,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:M},status:z?.businessVerificationStatus,isLoading:we,isActiveWhileLoading:!0}),E?null:t.jsx(He,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:L,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:f,isDisabled:x,onFetchLinkTokenClick:oe,onEstablishConnectionClick:fe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:ge,icon:{element:t.jsx(Je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:M},analytics:v,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:Pe,pageName:m.pageName,accountsPromoConfig:ae,accountSelectContainerStyle:g?{marginBottom:"20px"}:{},bottomComponent:g&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:h.colors.primary,...Ge.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:U.sp4,marginTop:U.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:J(f,"enableAutoPay"),checkBoxValue:J(f,"enableAutoPay"),defaultChecked:F?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),B?t.jsx(Ke,{formId:X(K),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 ${U.sp3}`}}):null,t.jsx(Qe,{isFooterRendered:B,meetingUrl:T,analytics:v,productType:"charge_cards"})]})},Q=e=>{const{allBankAccounts:x,allFundingAccounts:T,primaryFundingAccount:g}=e;return{[f]:{fundingAccount:{selectedOption:g?.id,allOptions:T.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))},account:{selectedOption:g?.zeniAccountId,allOptions:x.map(a=>({label:a.accountName,value:a.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},X=e=>`${e}_form`,it=S.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{e as F,q as T,V as t,bz as W,F as B,o as h,y as w,ak as R,b7 as V,a7 as O,hD as q,aK as J,m as K,d as s,c0 as U}from"./index-BhteR_e0.js";import{n as i}from"./mui-DLNyBjYF.js";import{$ as X,g as Z}from"./BoxItem-usHxaONy-BSYmkNdH.js";import{a as _}from"./core-B-FNbYlu.js";import{w as G}from"./downloadPdf-BhQlJMh0-BaxCiwAc.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./commonDimensions-B-aZt-hB-CyMsSMR_.js";const Y=B.getLocalizedStrings().months,D={downloadButtonSize:new w(s[4],20)},H=i.div`
1
+ import{e as F,q as T,V as t,bz as W,F as B,o as h,y as w,ak as R,b7 as V,a7 as O,hD as q,aK as J,m as K,d as s,c0 as U}from"./index-Dm9r1f6s.js";import{n as i}from"./mui-DLNyBjYF.js";import{$ as X,g as Z}from"./BoxItem-usHxaONy-yqmV2_EE.js";import{a as _}from"./core-B-FNbYlu.js";import{w as G}from"./downloadPdf-BhQlJMh0-DeqZGQ39.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./commonDimensions-B-aZt-hB-CP54iB8v.js";const Y=B.getLocalizedStrings().months,D={downloadButtonSize:new w(s[4],20)},H=i.div`
2
2
  display: flex;
3
3
  padding: ${h.sp3} ${h.sp4};
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{q as U,V as t,aK as $,hB as pe,F as ee,aL as M,n as J,o,aO as he,y as c,L as oe,l as ue,b7 as me,D as te,ag as ge,ak as F,aN as xe,a8 as ke,cB as fe,p as w,ab as De,g7 as $e,cE as we,eP as Y,cL as _,d as s,fk as be,cf as ye,bZ as je,eX as Le,hm as Pe,al as q,ho as Se}from"./index-BhteR_e0.js";import{a as f}from"./core-B-FNbYlu.js";import{n as a}from"./mui-DLNyBjYF.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",V="selectDocument",I=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,[V]:{front:e.checkFront,back:e.checkBack}}}},D=(e,p)=>`${e}.${p}`,Be=e=>`${e}_form`,u={largeLabelWidth:new c(160,160,160),rowContentPaddingLeft:new c(s[3],s[4]),checkPicRowContentPaddingXAxis:new c(s[3],s[4]),labeleMarginLeft:new c(s[0],s[0]),labeleMarginBottom:new c(s[2],s[0]),labelMarginRight:new c(s[3],s[3]),labeledFieldPaddingLeft:new c(s[3],s[0]),labeledFieldPaddingRight:new c(s[3],s[2]),labeledFieldPaddingTop:new c(s[3],s[3]),labeledFieldPaddingBottom:new c(s[3],s[2]),infoLabelPaddingRight:new c(s[0],s[3]),infoLabelMarginTop:new c(s[1],s[0])},{spendManagement:Ae,common:R}=ee.getLocalizedStrings(),l=Ae.zeniAccounts.zeniAccountList,ze=R.documents;function Ee({checkDeposit:e,analytics:p,filesEndPoint:x,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:L,onEditFileName:P,onCheckDpositClick:T}){const r=U(),n=e.fetchState,S=xe(n),[v,X]=f.useState(!1),[se,B]=f.useState(!1),A=u.largeLabelWidth.value(r),k=ke({mode:"all",reValidateMode:"onBlur",defaultValues:I(e),values:I(e)}),{isValid:re}=k.formState,G=i=>{const d={amount:{amount:i[g].amount??0,currencyCode:R.currency.currencyCode,currencySymbol:R.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(d)},le=async(i,d)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},d);G(h)}};f.useEffect(()=>{const i=k.watch((d,{name:h})=>{h!=null&&d!=null&&fe(()=>le(h,d))});return()=>{i.unsubscribe()}}),f.useEffect(()=>{S==="Completed"&&n==="Not-Started"&&k.reset(I(e))},[S,n,k,e]),f.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const ce=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();G(i),T?.()}}),ne=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(E=>E.id===i),z=e.depositAccounts.depositAccounts.findIndex(E=>E.id===i);return h?t.jsx(Re,{color:Pe(z),isSelectedValue:d}):null},de=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(z=>z.id===i);return h?d===!0?t.jsx(Ve,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(K,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(K,{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(Je,{}),t.jsxs(Ye,{children:[t.jsx(_e,{children:e.error?.title}),t.jsx(Ke,{children:e.error?.message})]})]}),t.jsx(Ge,{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),B(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(We,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...k,children:t.jsx("form",{id:Be(ve),onSubmit:ce,children:t.jsxs(He,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:l.checkDepositDrawer.amountLabel,width:A},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:l.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:l.checkDepositDrawer.sourceLabel,width:A},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:l.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(Ze,{label:{label:l.checkDepositDrawer.depositToLabel,width:A,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:l.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(Qe,{size:r,children:[t.jsxs(Ue,{size:r,children:[t.jsx(Ie,{children:l.checkDepositDrawer.checkPicLabel}),t.jsx(W,{isLast:!1,children:l.checkDepositDrawer.frontSide}),t.jsx(Y,{name:`${D(g,V)}.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:_,placeholderText:r==="small"?l.checkDepositDrawer.uploadDocument:l.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:L,onFileSizeError:i=>X(i),onEditFileName:P,openPopup:b,showPhotoPicker:!0,errorInfoLabel:l.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(W,{isLast:!0,children:l.checkDepositDrawer.backSide}),t.jsx(Y,{name:`${D(g,V)}.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:_,placeholderText:r==="small"?l.checkDepositDrawer.uploadDocument:l.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:L,onFileSizeError:i=>X(i),onEditFileName:P,openPopup:b,showPhotoPicker:!0,errorInfoLabel:l.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:l.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:ze.formatJPGText10MB})]})]})})})]})}const Ie=a(F)`
1
+ import{q as U,V as t,aK as $,hB as pe,F as ee,aL as M,n as J,o,aO as he,y as c,L as oe,l as ue,b7 as me,D as te,ag as ge,ak as F,aN as xe,a8 as ke,cB as fe,p as w,ab as De,g7 as $e,cE as we,eP as Y,cL as _,d as s,fk as be,cf as ye,bZ as je,eX as Le,hm as Pe,al as q,ho as Se}from"./index-Dm9r1f6s.js";import{a as f}from"./core-B-FNbYlu.js";import{n as a}from"./mui-DLNyBjYF.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",V="selectDocument",I=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,[V]:{front:e.checkFront,back:e.checkBack}}}},D=(e,p)=>`${e}.${p}`,Be=e=>`${e}_form`,u={largeLabelWidth:new c(160,160,160),rowContentPaddingLeft:new c(s[3],s[4]),checkPicRowContentPaddingXAxis:new c(s[3],s[4]),labeleMarginLeft:new c(s[0],s[0]),labeleMarginBottom:new c(s[2],s[0]),labelMarginRight:new c(s[3],s[3]),labeledFieldPaddingLeft:new c(s[3],s[0]),labeledFieldPaddingRight:new c(s[3],s[2]),labeledFieldPaddingTop:new c(s[3],s[3]),labeledFieldPaddingBottom:new c(s[3],s[2]),infoLabelPaddingRight:new c(s[0],s[3]),infoLabelMarginTop:new c(s[1],s[0])},{spendManagement:Ae,common:R}=ee.getLocalizedStrings(),l=Ae.zeniAccounts.zeniAccountList,ze=R.documents;function Ee({checkDeposit:e,analytics:p,filesEndPoint:x,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:L,onEditFileName:P,onCheckDpositClick:T}){const r=U(),n=e.fetchState,S=xe(n),[v,X]=f.useState(!1),[se,B]=f.useState(!1),A=u.largeLabelWidth.value(r),k=ke({mode:"all",reValidateMode:"onBlur",defaultValues:I(e),values:I(e)}),{isValid:re}=k.formState,G=i=>{const d={amount:{amount:i[g].amount??0,currencyCode:R.currency.currencyCode,currencySymbol:R.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(d)},le=async(i,d)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},d);G(h)}};f.useEffect(()=>{const i=k.watch((d,{name:h})=>{h!=null&&d!=null&&fe(()=>le(h,d))});return()=>{i.unsubscribe()}}),f.useEffect(()=>{S==="Completed"&&n==="Not-Started"&&k.reset(I(e))},[S,n,k,e]),f.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const ce=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();G(i),T?.()}}),ne=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(E=>E.id===i),z=e.depositAccounts.depositAccounts.findIndex(E=>E.id===i);return h?t.jsx(Re,{color:Pe(z),isSelectedValue:d}):null},de=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(z=>z.id===i);return h?d===!0?t.jsx(Ve,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(K,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(K,{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(Je,{}),t.jsxs(Ye,{children:[t.jsx(_e,{children:e.error?.title}),t.jsx(Ke,{children:e.error?.message})]})]}),t.jsx(Ge,{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),B(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(We,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...k,children:t.jsx("form",{id:Be(ve),onSubmit:ce,children:t.jsxs(He,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:l.checkDepositDrawer.amountLabel,width:A},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:l.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:l.checkDepositDrawer.sourceLabel,width:A},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:l.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(Ze,{label:{label:l.checkDepositDrawer.depositToLabel,width:A,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:l.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(Qe,{size:r,children:[t.jsxs(Ue,{size:r,children:[t.jsx(Ie,{children:l.checkDepositDrawer.checkPicLabel}),t.jsx(W,{isLast:!1,children:l.checkDepositDrawer.frontSide}),t.jsx(Y,{name:`${D(g,V)}.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:_,placeholderText:r==="small"?l.checkDepositDrawer.uploadDocument:l.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:L,onFileSizeError:i=>X(i),onEditFileName:P,openPopup:b,showPhotoPicker:!0,errorInfoLabel:l.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(W,{isLast:!0,children:l.checkDepositDrawer.backSide}),t.jsx(Y,{name:`${D(g,V)}.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:_,placeholderText:r==="small"?l.checkDepositDrawer.uploadDocument:l.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:L,onFileSizeError:i=>X(i),onEditFileName:P,openPopup:b,showPhotoPicker:!0,errorInfoLabel:l.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:l.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:ze.formatJPGText10MB})]})]})})})]})}const Ie=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{V as t,b1 as vo,aK as m,bK as pe,aL as U,dh as $o,o as s,p as X,aN as bn,q as O,aA as kn,ax as Lo,di as jn,dj as Ao,F as B,d as w,dk as Qn,dl as Nt,aS as $,dm as It,c8 as Ft,dn as Pt,y as V,c_ as zt,av as Zn,a9 as Xe,dp as Me,bM as H,m as Bo,e as ce,aZ as Jn,dq as Xn,aT as T,am as Le,dr as Wo,ds as le,c7 as Tt,bY as Sn,ag as Oo,al as we,dt as et,du as Ae,dv as nt,ak as _,cf as ne,dw as Mo,b as Vt,dx as Ee,dy as Cn,dz as _n,dA as No,dB as Io,b7 as ei,b4 as Fo,cv as Dt,cu as Rt,dC as Po,b5 as ti,cy as ni,bO as zo,dD as To,dE as vn,dF as $n,dG as Vo,dH as Do,bQ as Ro,bI as Eo,dI as Go}from"./index-BhteR_e0.js";import{n as a,b as F}from"./mui-DLNyBjYF.js";import{a as N,S as Ho}from"./core-B-FNbYlu.js";import{EC as Et,F0 as Gt,F1 as Ne,F2 as Ht,F3 as Kt,F4 as Yt,F5 as Ut,F6 as ii,F7 as Ko,EP as xt,ED as Ie,bn as Ln,bh as oi,F8 as ri,F9 as Yo,bp as Uo,EQ as ai}from"./zeni-epic-state-HWtMOH-U.js";import{N as it,D as qo,R as Qo,B as ye,u as v}from"./AccountRow-D2Ypckgj-DU9kFXuE.js";function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function Z(e){return U("0,0",e?.forecast)}function li(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function jt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function se(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function de(e){if(e!=null&&e.forecast!=null){const n=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:n}))}else return U("0,0",null)}function ci(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function si(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:n}))}else return U("0,0",null)}const Fe=(e,n,i)=>{const{startDate:o,balanceType:r}=n,{dateFormat:{visual:l}}=B.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${xt(o,l.MMMYYYYFormat,e)}`:mt(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${B.getLocalizedStrings().reports.quarterPrefix}${xt(o,l.QYYYYformat,e)}`:mt(r,i);case"year":return r==="default"||r==="default_with_percent"?`${xt(o,l.YYYYformat,e)}`:mt(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function mt(e,n){return B.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const wp=(e,n,i)=>{const o=n.length==0?e:`${e}_${n.join("_")}`;return i!=null&&i.trim().length>0?`${o}_${i}`:`${o}_${$o(10)}`},Zo=a.div`
1
+ import{V as t,b1 as vo,aK as m,bK as pe,aL as U,dh as $o,o as s,p as X,aN as bn,q as O,aA as kn,ax as Lo,di as jn,dj as Ao,F as B,d as w,dk as Qn,dl as Nt,aS as $,dm as It,c8 as Ft,dn as Pt,y as V,c_ as zt,av as Zn,a9 as Xe,dp as Me,bM as H,m as Bo,e as ce,aZ as Jn,dq as Xn,aT as T,am as Le,dr as Wo,ds as le,c7 as Tt,bY as Sn,ag as Oo,al as we,dt as et,du as Ae,dv as nt,ak as _,cf as ne,dw as Mo,b as Vt,dx as Ee,dy as Cn,dz as _n,dA as No,dB as Io,b7 as ei,b4 as Fo,cv as Dt,cu as Rt,dC as Po,b5 as ti,cy as ni,bO as zo,dD as To,dE as vn,dF as $n,dG as Vo,dH as Do,bQ as Ro,bI as Eo,dI as Go}from"./index-Dm9r1f6s.js";import{n as a,b as F}from"./mui-DLNyBjYF.js";import{a as N,S as Ho}from"./core-B-FNbYlu.js";import{EC as Et,F0 as Gt,F1 as Ne,F2 as Ht,F3 as Kt,F4 as Yt,F5 as Ut,F6 as ii,F7 as Ko,EP as xt,ED as Ie,bn as Ln,bh as oi,F8 as ri,F9 as Yo,bp as Uo,EQ as ai}from"./zeni-epic-state-HWtMOH-U.js";import{N as it,D as qo,R as Qo,B as ye,u as v}from"./AccountRow-D2Ypckgj-BVuVsxAI.js";function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function Z(e){return U("0,0",e?.forecast)}function li(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function jt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function se(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function de(e){if(e!=null&&e.forecast!=null){const n=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:n}))}else return U("0,0",null)}function ci(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function si(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:n}))}else return U("0,0",null)}const Fe=(e,n,i)=>{const{startDate:o,balanceType:r}=n,{dateFormat:{visual:l}}=B.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${xt(o,l.MMMYYYYFormat,e)}`:mt(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${B.getLocalizedStrings().reports.quarterPrefix}${xt(o,l.QYYYYformat,e)}`:mt(r,i);case"year":return r==="default"||r==="default_with_percent"?`${xt(o,l.YYYYformat,e)}`:mt(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function mt(e,n){return B.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const wp=(e,n,i)=>{const o=n.length==0?e:`${e}_${n.join("_")}`;return i!=null&&i.trim().length>0?`${o}_${i}`:`${o}_${$o(10)}`},Zo=a.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{q as Oe,e as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fC as Re,ao as Le,fY as _e,o as a,g6 as jl,cN as qe,cE as ee,cG as ce,cK as He,eW as vl,eU as Il,cI as Ue,cH as Ie,g7 as Fe,g8 as Sl,fu as Cl,ft as Ve,cL as Se,cM as Ol,p as Ee,fK as Ge,a as xe,bI as Ke,fB as Ze,ak as Pe,fX as Qe,b as ye,an as Ll,bF as _l,d as F,dh as El,aW as Pl,g9 as Nl,al as Dl,ga as Fl,bG as ge,b3 as Vl,B as Ye,ag as kl,cY as Tl,at as zl,bE as Bl}from"./index-BhteR_e0.js";import{a as d}from"./core-B-FNbYlu.js";import{n as t}from"./mui-DLNyBjYF.js";import{bj as Je,bO as Al}from"./zeni-epic-state-HWtMOH-U.js";import{W as Ce}from"./LabeledAddressValueField-CoTtV0RQ-CTJHm8Dm.js";import{I as Wl}from"./LabeledCreatableSingleSelectField-CnQsTYWe-BxSldgLD.js";import{Y as ke}from"./LabeledDocumentField-MkryOLQ8-ZmKcbrkd.js";const Ml=e=>d.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),d.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("g",{clipPath:"url(#clip0_1350_23850)"},d.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip1_1350_23850)"},d.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip2_1350_23850)"},d.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip3_1350_23850)"},d.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),d.createElement("defs",null,d.createElement("clipPath",{id:"clip0_1350_23850"},d.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),d.createElement("clipPath",{id:"clip1_1350_23850"},d.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),d.createElement("clipPath",{id:"clip2_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),d.createElement("clipPath",{id:"clip3_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:Rl}=ae.getLocalizedStrings(),{businessVerification:Te}=Rl,ue={iconSize:new O(F[6],F[10]),gap:new O(F[2],F[3])},Xe={title:new xe("smallSemiBold","standardSemiBold"),description:new xe("smallRegular","standardRegular")},el=()=>{const[e]=Pl("Secure"),c=Oe();return l.jsxs(ql,{windowSize:c,children:[e!=null?l.jsx(Hl,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Ul,{windowSize:c}),l.jsxs(Gl,{children:[l.jsx(Kl,{windowSize:c,children:Te.securityMessageTitle}),l.jsx(Zl,{windowSize:c,children:Te.securityMessageDescription})]})]})},ql=t.div`
1
+ import{q as Oe,e as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fC as Re,ao as Le,fY as _e,o as a,g6 as jl,cN as qe,cE as ee,cG as ce,cK as He,eW as vl,eU as Il,cI as Ue,cH as Ie,g7 as Fe,g8 as Sl,fu as Cl,ft as Ve,cL as Se,cM as Ol,p as Ee,fK as Ge,a as xe,bI as Ke,fB as Ze,ak as Pe,fX as Qe,b as ye,an as Ll,bF as _l,d as F,dh as El,aW as Pl,g9 as Nl,al as Dl,ga as Fl,bG as ge,b3 as Vl,B as Ye,ag as kl,cY as Tl,at as zl,bE as Bl}from"./index-Dm9r1f6s.js";import{a as d}from"./core-B-FNbYlu.js";import{n as t}from"./mui-DLNyBjYF.js";import{bj as Je,bO as Al}from"./zeni-epic-state-HWtMOH-U.js";import{W as Ce}from"./LabeledAddressValueField-CoTtV0RQ-oEM2MjQO.js";import{I as Wl}from"./LabeledCreatableSingleSelectField-CnQsTYWe-BNKI3sBW.js";import{Y as ke}from"./LabeledDocumentField-MkryOLQ8-DH1KAWxk.js";const Ml=e=>d.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),d.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("g",{clipPath:"url(#clip0_1350_23850)"},d.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip1_1350_23850)"},d.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip2_1350_23850)"},d.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip3_1350_23850)"},d.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),d.createElement("defs",null,d.createElement("clipPath",{id:"clip0_1350_23850"},d.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),d.createElement("clipPath",{id:"clip1_1350_23850"},d.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),d.createElement("clipPath",{id:"clip2_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),d.createElement("clipPath",{id:"clip3_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:Rl}=ae.getLocalizedStrings(),{businessVerification:Te}=Rl,ue={iconSize:new O(F[6],F[10]),gap:new O(F[2],F[3])},Xe={title:new xe("smallSemiBold","standardSemiBold"),description:new xe("smallRegular","standardRegular")},el=()=>{const[e]=Pl("Secure"),c=Oe();return l.jsxs(ql,{windowSize:c,children:[e!=null?l.jsx(Hl,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Ul,{windowSize:c}),l.jsxs(Gl,{children:[l.jsx(Kl,{windowSize:c,children:Te.securityMessageTitle}),l.jsx(Zl,{windowSize:c,children:Te.securityMessageDescription})]})]})},ql=t.div`
2
2
  display: flex;
3
3
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
4
4
  gap: ${e=>ue.gap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{V as r,aI as x,aJ as M,aK as f,F as p,o as s,aP as w,ag as g,aQ as H}from"./index-BhteR_e0.js";import{n as o}from"./mui-DLNyBjYF.js";import{c as j}from"./SummaryCard-CiNkV7uy-BHimAYKo.js";import{a as t}from"./core-B-FNbYlu.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./ReloadCard-DMWwNZ1z-CIbg2f6Q.js";const 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:"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"})),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:"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:v},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:L},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],D=o(w)`
1
+ import{V as r,aI as x,aJ as M,aK as f,F as p,o as s,aP as w,ag as g,aQ as H}from"./index-Dm9r1f6s.js";import{n as o}from"./mui-DLNyBjYF.js";import{c as j}from"./SummaryCard-CiNkV7uy-CyUPIfT8.js";import{a as t}from"./core-B-FNbYlu.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./ReloadCard-DMWwNZ1z-D31XYoZn.js";const 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:"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"})),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:"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:v},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:L},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],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{q as P,e as Ae,aN as da,a8 as pa,cB as ma,F as k,V as a,bz as ua,ab as ha,cC as fa,aO as xa,y as m,cD as ya,L as Ce,o,ak as ee,cE as z,cF as ze,cG as L,cH as ba,cI as qe,cJ as ga,cK as $a,cL as Ue,av as wa,cM as Ia,cN as He,cO as Ze,cP as ja,cQ as va,cR as Da,p as N,cS as Sa,cT as Oa,bq as Ca,aQ as Fa,b7 as q,cU as Fe,d as p,ag as Ge,n as Me,cV as ka,aA as Ta,cW as Na,cX as Pa,bF as La,cY as za,cf as Ma,cZ as Ea,al as Va,bG as _,c_ as Ba,b as ce,bE as Wa}from"./index-BhteR_e0.js";import{a as W,S as _a}from"./core-B-FNbYlu.js";import{n as s,k as Ra}from"./mui-DLNyBjYF.js";import{EY as Ya,bk as Xe,bO as Aa,bj as be,bD as qa,EZ as Ua}from"./zeni-epic-state-HWtMOH-U.js";import{I as Je}from"./LabeledCreatableSingleSelectField-CnQsTYWe-BxSldgLD.js";import{Y as Qe}from"./LabeledDocumentField-MkryOLQ8-ZmKcbrkd.js";import{$ as Ke}from"./LabeledAddressValue-cNf6hI1l-C1IgZGiS.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const ea={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ha=Ra`
1
+ import{q as P,e as Ae,aN as da,a8 as pa,cB as ma,F as k,V as a,bz as ua,ab as ha,cC as fa,aO as xa,y as m,cD as ya,L as Ce,o,ak as ee,cE as z,cF as ze,cG as L,cH as ba,cI as qe,cJ as ga,cK as $a,cL as Ue,av as wa,cM as Ia,cN as He,cO as Ze,cP as ja,cQ as va,cR as Da,p as N,cS as Sa,cT as Oa,bq as Ca,aQ as Fa,b7 as q,cU as Fe,d as p,ag as Ge,n as Me,cV as ka,aA as Ta,cW as Na,cX as Pa,bF as La,cY as za,cf as Ma,cZ as Ea,al as Va,bG as _,c_ as Ba,b as ce,bE as Wa}from"./index-Dm9r1f6s.js";import{a as W,S as _a}from"./core-B-FNbYlu.js";import{n as s,k as Ra}from"./mui-DLNyBjYF.js";import{EY as Ya,bk as Xe,bO as Aa,bj as be,bD as qa,EZ as Ua}from"./zeni-epic-state-HWtMOH-U.js";import{I as Je}from"./LabeledCreatableSingleSelectField-CnQsTYWe-BNKI3sBW.js";import{Y as Qe}from"./LabeledDocumentField-MkryOLQ8-DH1KAWxk.js";import{$ as Ke}from"./LabeledAddressValue-cNf6hI1l-BswrPJcJ.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const ea={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ha=Ra`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -1,4 +1,4 @@
1
- import{a8 as V,gL as $,F as S,V as A,gM as q,a9 as s,ak as v,ab as J,cE as _,cN as W,cK as T,o as E,gN as Z,cI as z,aO as X,D as AA,b$ as gA,gO as BA}from"./index-BhteR_e0.js";import{a as g,S as c}from"./core-B-FNbYlu.js";import{n as o}from"./mui-DLNyBjYF.js";import{bj as eA}from"./zeni-epic-state-HWtMOH-U.js";import{$ as EA}from"./LabeledAddressValue-cNf6hI1l-C1IgZGiS.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const CA=B=>g.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...B},g.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),g.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("g",{style:{mixBlendMode:"darken"}},g.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),g.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),g.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("defs",null,g.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},g.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),g.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},g.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),g.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,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"}))),QA=B=>g.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...B},g.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",l=(B,n)=>`${B}.${n}`,kA=({userEmail:B,googleAPIKey:n,twoFactorAuthenticationView:i,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:k,onResendOtp:y})=>{const[I,a]=g.useState(!1),[Y,f]=g.useState(!1),t=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:B,dateOfBirth:void 0,phone:"",address:void 0}}}),x=$({control:t.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{k(C,d)},R=C=>{C!=null&&C.trim().length>0&&y(C)},K=()=>{a(!0)},U=()=>{a(!1)},b=()=>{const C=t.getValues(`${m}`);if(C!=null){const d=BA(C);t.setValue(`${Q}.address`,d)}a(!1)},P=t.handleSubmit(C=>{if(C[Q].phone!=null&&i.otpVerificationStatus.fetchState!=="Completed"||i.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=i.phone){h();return}D&&D(C)}),{sendOtpStatus:O,otpVerificationStatus:r,otpChallenge:j,phone:H}=i,N=A.jsxs(iA,{children:[A.jsx(CA,{}),A.jsxs(sA,{children:[A.jsxs(lA,{children:[A.jsx(q,{children:r.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),A.jsx(s,{controller:r.fetchState==="Completed",children:A.jsx(nA,{})})]}),A.jsx(v,{children:e.completeProfile.enableTwoFADescription})]})]});return A.jsxs(oA,{children:[A.jsxs(IA,{children:[A.jsxs(tA,{children:[I&&A.jsx(rA,{onClick:U}),e.completeProfile.title]}),A.jsx(J,{...t,children:A.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[A.jsx(s,{controller:w===!1,children:A.jsxs(u,{children:[A.jsx(s,{controller:I===!1,children:A.jsxs(c.Fragment,{children:[A.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:l(Q,"email")}}),A.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:l(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),A.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:l(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),A.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:K},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),A.jsx(s,{controller:I===!0,children:A.jsx(c.Fragment,{children:A.jsx(Z,{sectionId:m,googleAPIKey:n,isSubPage:!0})})})]})}),A.jsx(u,{children:A.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:l(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:Y,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:j,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:r.fetchState==="Completed",phoneVerificationStatus:r,getOtpStatus:O,verifiedPhoneNumber:r.fetchState==="Completed"?H:void 0,openPopup:()=>{f(!0)},focusNotRequired:!0},bottomText:r.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),A.jsx(X,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?b:void 0,isLoading:G.fetchState==="In-Progress"||i.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
1
+ import{a8 as V,gL as $,F as S,V as A,gM as q,a9 as s,ak as v,ab as J,cE as _,cN as W,cK as T,o as E,gN as Z,cI as z,aO as X,D as AA,b$ as gA,gO as BA}from"./index-Dm9r1f6s.js";import{a as g,S as c}from"./core-B-FNbYlu.js";import{n as o}from"./mui-DLNyBjYF.js";import{bj as eA}from"./zeni-epic-state-HWtMOH-U.js";import{$ as EA}from"./LabeledAddressValue-cNf6hI1l-BswrPJcJ.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const CA=B=>g.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...B},g.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),g.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("g",{style:{mixBlendMode:"darken"}},g.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),g.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),g.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("defs",null,g.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},g.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),g.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},g.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),g.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,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"}))),QA=B=>g.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...B},g.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=S.getLocalizedStrings(),p="completeProfilePage",Q="basicDetailsSection",m="addressSection",l=(B,n)=>`${B}.${n}`,kA=({userEmail:B,googleAPIKey:n,twoFactorAuthenticationView:i,saveStatus:G,hasUserEnteredBasicDetails:w,onSave:D,onGetOtp:M,onVerifyOtp:k,onResendOtp:y})=>{const[I,a]=g.useState(!1),[Y,f]=g.useState(!1),t=V({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:B,dateOfBirth:void 0,phone:"",address:void 0}}}),x=$({control:t.control,name:`${Q}.address`}),{dateFormat:F}=S.getLocalizedStrings(),h=()=>{const C=t.getValues(`${Q}.phone`);C!=null&&C.trim().length>0&&M(C)},L=(C,d)=>{k(C,d)},R=C=>{C!=null&&C.trim().length>0&&y(C)},K=()=>{a(!0)},U=()=>{a(!1)},b=()=>{const C=t.getValues(`${m}`);if(C!=null){const d=BA(C);t.setValue(`${Q}.address`,d)}a(!1)},P=t.handleSubmit(C=>{if(C[Q].phone!=null&&i.otpVerificationStatus.fetchState!=="Completed"||i.otpVerificationStatus.fetchState==="Completed"&&C[Q].phone!=i.phone){h();return}D&&D(C)}),{sendOtpStatus:O,otpVerificationStatus:r,otpChallenge:j,phone:H}=i,N=A.jsxs(iA,{children:[A.jsx(CA,{}),A.jsxs(sA,{children:[A.jsxs(lA,{children:[A.jsx(q,{children:r.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),A.jsx(s,{controller:r.fetchState==="Completed",children:A.jsx(nA,{})})]}),A.jsx(v,{children:e.completeProfile.enableTwoFADescription})]})]});return A.jsxs(oA,{children:[A.jsxs(IA,{children:[A.jsxs(tA,{children:[I&&A.jsx(rA,{onClick:U}),e.completeProfile.title]}),A.jsx(J,{...t,children:A.jsxs("form",{id:`${p}_form`,onSubmit:P,children:[A.jsx(s,{controller:w===!1,children:A.jsxs(u,{children:[A.jsx(s,{controller:I===!1,children:A.jsxs(c.Fragment,{children:[A.jsx(_,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:l(Q,"email")}}),A.jsx(W,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:l(Q,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),A.jsx(T,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:l(Q,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:F.visual.defaultInput,autoComplete:"off",maxDate:eA().subtract(18,"year")}}),A.jsx(EA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:x,onClick:K},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),A.jsx(s,{controller:I===!0,children:A.jsx(c.Fragment,{children:A.jsx(Z,{sectionId:m,googleAPIKey:n,isSubPage:!0})})})]})}),A.jsx(u,{children:A.jsx(z,{infoBox:N,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:l(Q,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${Q}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:Y,productType:"complete_profile",phoneVerifyButtonProps:{otpChallenge:j,showOtpButton:!0,onGetOtp:h,onVerifyOtp:L,onResendOtp:R,isPhoneVerified:r.fetchState==="Completed",phoneVerificationStatus:r,getOtpStatus:O,verifiedPhoneNumber:r.fetchState==="Completed"?H:void 0,openPopup:()=>{f(!0)},focusNotRequired:!0},bottomText:r.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),A.jsx(X,{formId:I?void 0:`${p}_form`,primaryBtn:{label:I?e.companyPassport.address.saveAddress:e.common.footer.save,type:I?"button":"submit",onClick:I?b:void 0,isLoading:G.fetchState==="In-Progress"||i.sendOtpStatus.fetchState==="In-Progress"},showCancel:!1})]})},oA=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-height: 100vh;
@@ -1 +1 @@
1
- import{d3 as n,aW as l,V as i,b3 as f,o as m}from"./index-BhteR_e0.js";import{a as p}from"./core-B-FNbYlu.js";import"./mui-DLNyBjYF.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const c="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",v=({showConfetti:t})=>{const[e,r]=p.useState(t),[o,s]=n(c,t),[a]=l("ConfettiSuccess");return p.useEffect(()=>{t&&r(!0)},[t]),p.useEffect(()=>{e&&o===!1&&s(!0)},[e,o,s]),i.jsx(i.Fragment,{children:e&&o&&a!=null?i.jsx(f,{style:{position:"absolute",width:"100%",height:"100vh",top:m.sp0,left:m.sp0,zIndex:5},onComplete:()=>{s(!1),r(!1)},animationData:a,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{v as default};
1
+ import{d3 as n,aW as l,V as i,b3 as f,o as m}from"./index-Dm9r1f6s.js";import{a as p}from"./core-B-FNbYlu.js";import"./mui-DLNyBjYF.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const c="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",v=({showConfetti:t})=>{const[e,r]=p.useState(t),[o,s]=n(c,t),[a]=l("ConfettiSuccess");return p.useEffect(()=>{t&&r(!0)},[t]),p.useEffect(()=>{e&&o===!1&&s(!0)},[e,o,s]),i.jsx(i.Fragment,{children:e&&o&&a!=null?i.jsx(f,{style:{position:"absolute",width:"100%",height:"100vh",top:m.sp0,left:m.sp0,zIndex:5},onComplete:()=>{s(!1),r(!1)},animationData:a,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{v as default};
@@ -1,4 +1,4 @@
1
- import{e as Ye,q as v,F as x,aA as _,cD as _e,V as t,bz as Qe,aK as y,m as qe,cm as ie,cn as se,co as le,c$ as Je,aO as Ke,y as Q,b$ as Xe,o,d0 as Ge,bQ as D,cf as ce,d as w,b5 as de,ag as pe,ak as J,br as Ze,cY as me,d1 as et,p as z,d2 as ue,cV as he}from"./index-BhteR_e0.js";import{a as g}from"./core-B-FNbYlu.js";import{n as r}from"./mui-DLNyBjYF.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:l,accountType:s,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const $=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(ot,{children:[t.jsxs(N,{children:[t.jsx(I,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(N,{children:[t.jsx(I,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(N,{children:[t.jsx(I,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(N,{children:[t.jsx(I,{children:l}),t.jsx(T,{children:typeof s=="string"&&s!==""?et(s.toLowerCase()):s??""})]})]});return t.jsxs(it,{size:$,children:[t.jsxs(nt,{children:[t.jsxs(J,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(D,{title:C,placement:"top",children:t.jsx(lt,{children:t.jsx(ct,{})})})]}),t.jsx(rt,{children:f??h.emptyPlaceholderString})]}),t.jsx(at,{children:t.jsx(D,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(st,{onClick:k=>{k.stopPropagation(),u()},"data-testid":y("delete-vendor-account-section",f),children:t.jsx(dt,{})})})})]})},ot=r.div`
1
+ import{e as Ye,q as v,F as x,aA as _,cD as _e,V as t,bz as Qe,aK as y,m as qe,cm as ie,cn as se,co as le,c$ as Je,aO as Ke,y as Q,b$ as Xe,o,d0 as Ge,bQ as D,cf as ce,d as w,b5 as de,ag as pe,ak as J,br as Ze,cY as me,d1 as et,p as z,d2 as ue,cV as he}from"./index-Dm9r1f6s.js";import{a as g}from"./core-B-FNbYlu.js";import{n as r}from"./mui-DLNyBjYF.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const tt=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:n,accountTypeLabel:l,accountType:s,bankName:m,routingNumberOrSwiftCode:p,accountName:f,routingNumberOrSwiftCodeLabel:j,onDeleteClick:u})=>{const $=v(),h=x.getLocalizedStrings().spendManagement.billPay.vendorCreation,C=t.jsxs(ot,{children:[t.jsxs(N,{children:[t.jsx(I,{children:j}),t.jsx(T,{children:p})]}),t.jsxs(N,{children:[t.jsx(I,{children:h.achDetails.bankName}),t.jsx(T,{children:m})]}),t.jsxs(N,{children:[t.jsx(I,{children:n}),t.jsx(T,{children:e})]}),t.jsxs(N,{children:[t.jsx(I,{children:l}),t.jsx(T,{children:typeof s=="string"&&s!==""?et(s.toLowerCase()):s??""})]})]});return t.jsxs(it,{size:$,children:[t.jsxs(nt,{children:[t.jsxs(J,{children:[`${m} ${h.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(D,{title:C,placement:"top",children:t.jsx(lt,{children:t.jsx(ct,{})})})]}),t.jsx(rt,{children:f??h.emptyPlaceholderString})]}),t.jsx(at,{children:t.jsx(D,{enterDelay:600,display:"flex",title:h.deleteAccountTooltip,placement:"top",children:t.jsx(st,{onClick:k=>{k.stopPropagation(),u()},"data-testid":y("delete-vendor-account-section",f),children:t.jsx(dt,{})})})})]})},ot=r.div`
2
2
  display: flex;
3
3
  flex-wrap: wrap;
4
4
  gap: ${o.sp1};
@@ -1,4 +1,4 @@
1
- import{V as a,q as me,a7 as pe,aK as ee,hl as Qe,F as W,aL as Pe,n as et,m as tt,aO as je,o as t,y as d,L as ze,l as at,af as nt,e as Ee,bQ as ot,fc as Me,a as Y,p as X,gk as Ce,b as it,ap as Be,D as rt,aN as be,a8 as lt,fv as ct,cB as st,ab as dt,eX as mt,fz as pt,cG as ut,hy as xe,hz as ht,g7 as gt,d as r,b$ as yt,bZ as Oe,fk as ft,cf as Ct,ak as _e,hm as bt,fL as xt,aR as St,hA as wt,cY as Dt,ho as $t,fH as kt}from"./index-BhteR_e0.js";import{n as o}from"./mui-DLNyBjYF.js";import{a as p}from"./core-B-FNbYlu.js";import{bO as se,bS as At,bj as Lt,bM as vt,bN as Se,bL as It}from"./zeni-epic-state-HWtMOH-U.js";import{x as Ft}from"./LabeledControlledCheckBoxField-DQwUvKR2-BFeYWYOG.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const te={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 Y("h6Regular","h5Regular"),integerAmountInput:new Y("h5Regular","h2Regular"),decimalAmountInput:new Y("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:Rt}},common:{edit:Tt,labels:we,currency:De,navBar:{back:Pt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:jt}},chargeCard:{payEarly:Q}}}=W.getLocalizedStrings(),zt=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:y,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:h,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b,isCompleteOutstandingBalanceBeingPaid:D})=>{const m=me(),T=Ee(),P=pe().analytics,[E,v]=p.useState(!1);p.useEffect(()=>{e.error!=null?v(!0):v(!1)},[e.error]);const k=te.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(Wt,{windowSize:m,children:[a.jsx(Qt,{windowSize:m,children:a.jsx(ot,{title:Pt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Jt,{"data-testid":ee("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&y&&n&&h!=null&&P.trackCardsPayEarlyFormClick(f,c,h,"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},L,C,g),x(!1)}})})}),a.jsx(ea,{windowSize:m,children:jt.reviewAndConfirm}),a.jsx(Mt,{children:a.jsx(Me,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),E?a.jsx(Yt,{children:a.jsxs(_t,{children:[a.jsxs(Xt,{children:[a.jsx(qt,{}),a.jsxs(Nt,{children:[a.jsx(Ut,{children:e.error?.title}),a.jsx(Vt,{children:e.error?.message})]})]}),a.jsx(Zt,{children:a.jsx(Gt,{"data-testid":ee("close-error-credit-card-payment-review"),onClick:()=>{v(!1)},style:{width:t.sp3,height:t.sp3,color:X.heroLight}})})]})}):null,a.jsx(Kt,{windowSize:m,children:a.jsxs(Ot,{children:[a.jsx(Ce,{label:{label:we.transferFrom,width:k},text:a.jsxs($e,{windowSize:m,children:[Ne(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Bt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Ht,{}),a.jsx(Ce,{label:{label:we.amount,width:k},showAdditionalInfoLabel:!0,additionalInfoLabel:`${D?Q.creditLimitReset:Q.creditLimitUpdate} ${se(At(Lt().toDate(),[0,6],3).toDateString()).format(Rt)} ${Q.business23Days}`,additionalInfoLabelStyles:{color:T.colors.hero,...it.smallRegular.cssObject},text:a.jsx($e,{windowSize:m,children:Pe("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:De.currencyCode,currencySymbol:De.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(je,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:Q.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:Tt,onClick:()=>{i&&y&&n&&h!=null&&P.trackCardsPayEarlyFormClick(f,c,h,"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},L,C,g),x(!1)},style:{minWidth:94}},primaryBtn:{label:Q.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},Ne=(e,i,y)=>{if(i==="")return a.jsx(ra,{});const n=e.find(c=>c.id===i),f=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(oa,{isOptionSelected:y,children:a.jsx(ia,{color:bt(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(ta,{src:Et(n.logo),isOptionSelected:y,loading:"lazy"}):a.jsx(aa,{isOptionSelected:y,children:a.jsx(na,{})})}return null},Et=e=>e.base64!==void 0?`${xt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Mt=o(Oe)`
1
+ import{V as a,q as me,a7 as pe,aK as ee,hl as Qe,F as W,aL as Pe,n as et,m as tt,aO as je,o as t,y as d,L as ze,l as at,af as nt,e as Ee,bQ as ot,fc as Me,a as Y,p as X,gk as Ce,b as it,ap as Be,D as rt,aN as be,a8 as lt,fv as ct,cB as st,ab as dt,eX as mt,fz as pt,cG as ut,hy as xe,hz as ht,g7 as gt,d as r,b$ as yt,bZ as Oe,fk as ft,cf as Ct,ak as _e,hm as bt,fL as xt,aR as St,hA as wt,cY as Dt,ho as $t,fH as kt}from"./index-Dm9r1f6s.js";import{n as o}from"./mui-DLNyBjYF.js";import{a as p}from"./core-B-FNbYlu.js";import{bO as se,bS as At,bj as Lt,bM as vt,bN as Se,bL as It}from"./zeni-epic-state-HWtMOH-U.js";import{x as Ft}from"./LabeledControlledCheckBoxField-DQwUvKR2-CCQx34pM.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const te={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 Y("h6Regular","h5Regular"),integerAmountInput:new Y("h5Regular","h2Regular"),decimalAmountInput:new Y("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:Rt}},common:{edit:Tt,labels:we,currency:De,navBar:{back:Pt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:jt}},chargeCard:{payEarly:Q}}}=W.getLocalizedStrings(),zt=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:y,isDebitCardInfoFetchStateCompleted:n,controllerEmails:f,productInformation:c,cashbackInformation:h,paymentSourceInformation:L,creditAccountInformation:C,debitAccountInformation:g,setShowReviewContent:x,onTransferClick:b,isCompleteOutstandingBalanceBeingPaid:D})=>{const m=me(),T=Ee(),P=pe().analytics,[E,v]=p.useState(!1);p.useEffect(()=>{e.error!=null?v(!0):v(!1)},[e.error]);const k=te.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(Wt,{windowSize:m,children:[a.jsx(Qt,{windowSize:m,children:a.jsx(ot,{title:Pt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Jt,{"data-testid":ee("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&y&&n&&h!=null&&P.trackCardsPayEarlyFormClick(f,c,h,"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},L,C,g),x(!1)}})})}),a.jsx(ea,{windowSize:m,children:jt.reviewAndConfirm}),a.jsx(Mt,{children:a.jsx(Me,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),E?a.jsx(Yt,{children:a.jsxs(_t,{children:[a.jsxs(Xt,{children:[a.jsx(qt,{}),a.jsxs(Nt,{children:[a.jsx(Ut,{children:e.error?.title}),a.jsx(Vt,{children:e.error?.message})]})]}),a.jsx(Zt,{children:a.jsx(Gt,{"data-testid":ee("close-error-credit-card-payment-review"),onClick:()=>{v(!1)},style:{width:t.sp3,height:t.sp3,color:X.heroLight}})})]})}):null,a.jsx(Kt,{windowSize:m,children:a.jsxs(Ot,{children:[a.jsx(Ce,{label:{label:we.transferFrom,width:k},text:a.jsxs($e,{windowSize:m,children:[Ne(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Bt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Ht,{}),a.jsx(Ce,{label:{label:we.amount,width:k},showAdditionalInfoLabel:!0,additionalInfoLabel:`${D?Q.creditLimitReset:Q.creditLimitUpdate} ${se(At(Lt().toDate(),[0,6],3).toDateString()).format(Rt)} ${Q.business23Days}`,additionalInfoLabelStyles:{color:T.colors.hero,...it.smallRegular.cssObject},text:a.jsx($e,{windowSize:m,children:Pe("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:De.currencyCode,currencySymbol:De.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(je,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:Q.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:Tt,onClick:()=>{i&&y&&n&&h!=null&&P.trackCardsPayEarlyFormClick(f,c,h,"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},L,C,g),x(!1)},style:{minWidth:94}},primaryBtn:{label:Q.payNow,onClick:b,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},Ne=(e,i,y)=>{if(i==="")return a.jsx(ra,{});const n=e.find(c=>c.id===i),f=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(oa,{isOptionSelected:y,children:a.jsx(ia,{color:bt(f)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(ta,{src:Et(n.logo),isOptionSelected:y,loading:"lazy"}):a.jsx(aa,{isOptionSelected:y,children:a.jsx(na,{})})}return null},Et=e=>e.base64!==void 0?`${xt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Mt=o(Oe)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  padding-top: ${t.sp3};
4
4
  `,Bt=o.div`
@@ -1,4 +1,4 @@
1
- import{cO as M,e as L,cW as P,F as N,V as l,cX as H,aK as x,bF as _,o,dh as z,cq as X,bG as g,ak as q,b as S,eY as B,eZ as W,e_ as Y,ag as Z,bE as G,L as K,p as m}from"./index-BhteR_e0.js";import{a as w}from"./core-B-FNbYlu.js";import{n}from"./mui-DLNyBjYF.js";const $e=({name:e,registerOptions:t,defaultValue:r,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=L(),[j,k]=w.useState(!1),C=P(f,e??""),D=N.getLocalizedStrings().common.currency,V=s=>{if(!(s==null||!s))return{value:s,label:r.allOptions.find(h=>h.value===s)?.label??s,countryCode:r.allOptions.find(h=>h.value===s)?.countryCode??D.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:C,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(H,{name:e,control:y,defaultValue:r,rules:t,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return w.createElement(_,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:V(v.selectedOption),options:r.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:r.allOptions}):s({selectedOption:$?.value,allOptions:r.allOptions})},onMenuClose:()=>k(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Q,Option:U,Input:T,SingleValue:ee,ValueContainer:J,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:A},hideSelectedOptions:!1,styles:I,isDisabled:a!=null})}})},Q=e=>{const{menuIsOpen:t,isFocused:r,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(re,{controlStyle:u,menuIsOpen:t,isFocused:r,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},U=e=>{const{data:t,isSelected:r,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=t.countryCode,p=typeof t.label=="string"?t.label:t.value;return l.jsx(te,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:r,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:r,children:l.jsx(ne,{isSelected:r,isDisabled:a,children:t.label})}),r?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},A=e=>{const{options:t,children:r,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=t.indexOf(u)*i;return l.jsx(X,{height:r.length>7?a:r.length*i,width:"100%",itemCount:r.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:r[y]})})},J=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),T=e=>{const{selectProps:t}=e,{placeholder:r,value:a}=t;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?r:void 0,children:e.children})})},ee=e=>{const{data:t}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:t.label})})},O=n(q)`
1
+ import{cO as M,e as L,cW as P,F as N,V as l,cX as H,aK as x,bF as _,o,dh as z,cq as X,bG as g,ak as q,b as S,eY as B,eZ as W,e_ as Y,ag as Z,bE as G,L as K,p as m}from"./index-Dm9r1f6s.js";import{a as w}from"./core-B-FNbYlu.js";import{n}from"./mui-DLNyBjYF.js";const $e=({name:e,registerOptions:t,defaultValue:r,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=L(),[j,k]=w.useState(!1),C=P(f,e??""),D=N.getLocalizedStrings().common.currency,V=s=>{if(!(s==null||!s))return{value:s,label:r.allOptions.find(h=>h.value===s)?.label??s,countryCode:r.allOptions.find(h=>h.value===s)?.countryCode??D.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:C,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(H,{name:e,control:y,defaultValue:r,rules:t,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return w.createElement(_,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:V(v.selectedOption),options:r.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:r.allOptions}):s({selectedOption:$?.value,allOptions:r.allOptions})},onMenuClose:()=>k(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Q,Option:U,Input:T,SingleValue:ee,ValueContainer:J,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:A},hideSelectedOptions:!1,styles:I,isDisabled:a!=null})}})},Q=e=>{const{menuIsOpen:t,isFocused:r,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(re,{controlStyle:u,menuIsOpen:t,isFocused:r,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},U=e=>{const{data:t,isSelected:r,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=t.countryCode,p=typeof t.label=="string"?t.label:t.value;return l.jsx(te,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:r,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:r,children:l.jsx(ne,{isSelected:r,isDisabled:a,children:t.label})}),r?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},A=e=>{const{options:t,children:r,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=t.indexOf(u)*i;return l.jsx(X,{height:r.length>7?a:r.length*i,width:"100%",itemCount:r.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:r[y]})})},J=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),T=e=>{const{selectProps:t}=e,{placeholder:r,value:a}=t;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?r:void 0,children:e.children})})},ee=e=>{const{data:t}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:t.label})})},O=n(q)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&B(e)===!1)return l.jsx(l.Fragment,{});{const t=W[`${Y(e??"")}`];return l.jsx(ie,{children:l.jsx(t,{width:o.sp4,height:o.sp3})})}},re=n.span`
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{V as t,q as b,F as l,aN as d,aK as p,m as x,o as i,ae as g,D as h,l as m}from"./index-BhteR_e0.js";import{a as u}from"./core-B-FNbYlu.js";import{n as o}from"./mui-DLNyBjYF.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const f=o.div`
1
+ import{V as t,q as b,F as l,aN as d,aK as p,m as x,o as i,ae as g,D as h,l as m}from"./index-Dm9r1f6s.js";import{a as u}from"./core-B-FNbYlu.js";import{n as o}from"./mui-DLNyBjYF.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const f=o.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -0,0 +1 @@
1
+ import{V as t}from"./index-Dm9r1f6s.js";import o from"./CustomerOnboardingNoStepsPage-CwI8nL61-fFJJ4fRN.js";import i from"./CustomerOnboardingPage-C3FgZjAN-BMoiiOVQ.js";import"./mui-DLNyBjYF.js";import"./core-B-FNbYlu.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./PaymentAccountSetupBillingAddressSection-BP-_59EO-hGRsM6bI.js";import"./SetUpAccountSection-9zELif-q-jAntwqfL.js";import"./CustomerOnboardingDetailPageSkeleton-C4Z1pDVe-BqoeEQuE.js";import"./CompanyOfficerDetailsSection-ChsNKXbx-BF5MOIbR.js";import"./LabeledAddressValueField-CoTtV0RQ-oEM2MjQO.js";import"./LabeledCreatableSingleSelectField-CnQsTYWe-BNKI3sBW.js";import"./LabeledDocumentField-MkryOLQ8-DH1KAWxk.js";import"./QBOSetupSection-CjjNFfgF-hqHet92Q.js";import"./QBOConnectionDialog-BNiXUEAk-O1EeGUUa.js";const k=r=>r.currentTenant?.productSettings.isOtherProductsEnabled===!0?t.jsx(o,{...r}):t.jsx(i,{...r});export{k as default};
@@ -1,4 +1,4 @@
1
- import{V as s,aK as y,bl as E,e as f,q as T,bM as x,o as t,d as R,y as $,ae as I,F as N,p as u,u as U,hG as P,fK as L,as as O,al as W,hH as q}from"./index-BhteR_e0.js";import{n as r}from"./mui-DLNyBjYF.js";import{S}from"./core-B-FNbYlu.js";const F=r(q)`
1
+ import{V as s,aK as y,bl as E,e as f,q as T,bM as x,o as t,d as R,y as $,ae as I,F as N,p as u,u as U,hG as P,fK as L,as as O,al as W,hH as q}from"./index-Dm9r1f6s.js";import{n as r}from"./mui-DLNyBjYF.js";import{S}from"./core-B-FNbYlu.js";const F=r(q)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,K=r.div`
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{a7 as se,V as o,fs as Ce,q as Pe,e as be,a8 as we,hE as xe,F as ke,aN as Ie,cB as Ae,bz as $e,o as i,aK as Oe,ab as Ve,aO as ve,bl as je,eU as Te,eV as oe,ae as Le,y as q,ak as Ue,d as A}from"./index-BhteR_e0.js";import{n as c}from"./mui-DLNyBjYF.js";import{a as $}from"./core-B-FNbYlu.js";import{s as ze,o as Ee}from"./PaymentAccountSetupBillingAddressSection-BP-_59EO-KoltH9y1.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-C4Z1pDVe-CS261SSd.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./SetUpAccountSection-9zELif-q-xWCkQEz2.js";const Q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",J={titleWidth:new q(343,580,726,826),subTitlePaddingTop:new q(A[3],A[3]),subTitlePaddingBottom:new q(A[3],A[3])},_e=e=>`${e}_form`,Fe=ke.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:V,googleAPIKey:v,signedInUser:P,currentTenant:j,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:b,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:w,onUpdateCustomerView:_,...F})=>{const u=Pe(),K=se(),{analytics:S}=K,{onFetchLinkTokenClick:D,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionClick:h,onEstablishConnectionSuccess:R,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=F,Z=be(),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:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=Fe,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=Ie(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=Te(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)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ae(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(O(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,Y]);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};S.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).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 Se(){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 he=async()=>{const t=await r.trigger(n),a=await r.trigger(Q);t&&a&&(ye(),T("link_payment_account"),_(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(O(e),{keepDirtyValues:!1}),w())},[r,e,I,p.fetchState,Y,w]);const[ae,fe]=$.useState(!1);return o.jsxs(De,{children:[o.jsxs(Me,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.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(We,{children:o.jsx(Ze,{"data-testid":Oe("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(Ve,{...r,children:o.jsx(Re,{id:_e(ie),children:o.jsxs(Ne,{children:[o.jsx(He,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(ze,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:Q,analytics:S,isValid:ne(),onFetchLinkTokenClick:D,onEstablishConnectionClick:h,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionSuccess:R,updateCardPaymentModalState:b,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(je,{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:he,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(Se()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:b,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:y,stripeKey:V,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},De=c.div`
1
+ import{a7 as se,V as o,fs as Ce,q as Pe,e as be,a8 as we,hE as xe,F as ke,aN as Ie,cB as Ae,bz as $e,o as i,aK as Oe,ab as Ve,aO as ve,bl as je,eU as Te,eV as oe,ae as Le,y as q,ak as Ue,d as A}from"./index-Dm9r1f6s.js";import{n as c}from"./mui-DLNyBjYF.js";import{a as $}from"./core-B-FNbYlu.js";import{s as ze,o as Ee}from"./PaymentAccountSetupBillingAddressSection-BP-_59EO-hGRsM6bI.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-C4Z1pDVe-BqoeEQuE.js";import"./sentry-EYLV4XmG.js";import"./zeni-epic-state-HWtMOH-U.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./SetUpAccountSection-9zELif-q-jAntwqfL.js";const Q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",J={titleWidth:new q(343,580,726,826),subTitlePaddingTop:new q(A[3],A[3]),subTitlePaddingBottom:new q(A[3],A[3])},_e=e=>`${e}_form`,Fe=ke.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:V,googleAPIKey:v,signedInUser:P,currentTenant:j,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:b,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:w,onUpdateCustomerView:_,...F})=>{const u=Pe(),K=se(),{analytics:S}=K,{onFetchLinkTokenClick:D,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionClick:h,onEstablishConnectionSuccess:R,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=F,Z=be(),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:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=Fe,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=Ie(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=Te(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)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ae(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(O(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,Y]);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};S.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).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 Se(){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 he=async()=>{const t=await r.trigger(n),a=await r.trigger(Q);t&&a&&(ye(),T("link_payment_account"),_(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(O(e),{keepDirtyValues:!1}),w())},[r,e,I,p.fetchState,Y,w]);const[ae,fe]=$.useState(!1);return o.jsxs(De,{children:[o.jsxs(Me,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.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(We,{children:o.jsx(Ze,{"data-testid":Oe("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(Ve,{...r,children:o.jsx(Re,{id:_e(ie),children:o.jsxs(Ne,{children:[o.jsx(He,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(ze,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:Q,analytics:S,isValid:ne(),onFetchLinkTokenClick:D,onEstablishConnectionClick:h,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:N,onEstablishConnectionSuccess:R,updateCardPaymentModalState:b,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(je,{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:he,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(Se()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:b,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:y,stripeKey:V,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},De=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{V as r,fs as tn,q as We,e as nn,a8 as an,cB as me,F as Ye,aN as He,E as ft,aA as Ke,bz as on,o as re,ab as sn,d as Q,aO as rn,hE as cn,g6 as ln,ft as yt,eU as Ot,eV as gt,y as fe,g9 as ye,cO as dn,ak as pn,hF as ht,ac as St,cM as un,g8 as mn}from"./index-BhteR_e0.js";import{a as m}from"./core-B-FNbYlu.js";import{n as P,k as xt}from"./mui-DLNyBjYF.js";import{bi as j}from"./zeni-epic-state-HWtMOH-U.js";import{s as Ct,o as fn}from"./PaymentAccountSetupBillingAddressSection-BP-_59EO-KoltH9y1.js";import{b as bt,f as yn,a as Pt}from"./CustomerOnboardingDetailPageSkeleton-C4Z1pDVe-CS261SSd.js";import{s as gn,S as hn}from"./CompanyOfficerDetailsSection-ChsNKXbx-Dk7vpi01.js";import{t as Sn}from"./QBOSetupSection-CjjNFfgF-CIhiV9Dd.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./SetUpAccountSection-9zELif-q-xWCkQEz2.js";import"./LabeledAddressValueField-CoTtV0RQ-CTJHm8Dm.js";import"./LabeledCreatableSingleSelectField-CnQsTYWe-BxSldgLD.js";import"./LabeledDocumentField-MkryOLQ8-ZmKcbrkd.js";import"./QBOConnectionDialog-BNiXUEAk-B55AIWRo.js";const Cn=({companyView:n,companyOfficerLocalData:k,allNationalityCountries:c,isVerificationPopupOpen:g,setIsVerificationPopupOpen:v,verifiedPhoneNumber:I,onPhoneVerified:h,...O})=>{const y=We(),V=n?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:A}=l,$=n?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(bn,{children:r.jsx(hn,{companyOfficerData:k,allOfficers:V??[],allNationalityCountries:c,sectionHeader:A,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:$,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:I,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...O})})},bn=P.div`
1
+ import{V as r,fs as tn,q as We,e as nn,a8 as an,cB as me,F as Ye,aN as He,E as ft,aA as Ke,bz as on,o as re,ab as sn,d as Q,aO as rn,hE as cn,g6 as ln,ft as yt,eU as Ot,eV as gt,y as fe,g9 as ye,cO as dn,ak as pn,hF as ht,ac as St,cM as un,g8 as mn}from"./index-Dm9r1f6s.js";import{a as m}from"./core-B-FNbYlu.js";import{n as P,k as xt}from"./mui-DLNyBjYF.js";import{bi as j}from"./zeni-epic-state-HWtMOH-U.js";import{s as Ct,o as fn}from"./PaymentAccountSetupBillingAddressSection-BP-_59EO-hGRsM6bI.js";import{b as bt,f as yn,a as Pt}from"./CustomerOnboardingDetailPageSkeleton-C4Z1pDVe-BqoeEQuE.js";import{s as gn,S as hn}from"./CompanyOfficerDetailsSection-ChsNKXbx-BF5MOIbR.js";import{t as Sn}from"./QBOSetupSection-CjjNFfgF-hqHet92Q.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./SetUpAccountSection-9zELif-q-jAntwqfL.js";import"./LabeledAddressValueField-CoTtV0RQ-oEM2MjQO.js";import"./LabeledCreatableSingleSelectField-CnQsTYWe-BNKI3sBW.js";import"./LabeledDocumentField-MkryOLQ8-DH1KAWxk.js";import"./QBOConnectionDialog-BNiXUEAk-O1EeGUUa.js";const Cn=({companyView:n,companyOfficerLocalData:k,allNationalityCountries:c,isVerificationPopupOpen:g,setIsVerificationPopupOpen:v,verifiedPhoneNumber:I,onPhoneVerified:h,...O})=>{const y=We(),V=n?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:A}=l,$=n?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(bn,{children:r.jsx(hn,{companyOfficerData:k,allOfficers:V??[],allNationalityCountries:c,sectionHeader:A,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:$,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:I,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...O})})},bn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{q as M,a7 as D,av as U,e as W,F as V,V as e,bz as A,o as t,aK as y,bl as _,fs as H,ak as I,ae as N,p as l,b as k,ah as R,l as Z,D as J,ap as q,aZ as K}from"./index-BhteR_e0.js";import{a as n}from"./core-B-FNbYlu.js";import{n as i}from"./mui-DLNyBjYF.js";import{Fy as G}from"./zeni-epic-state-HWtMOH-U.js";import Q from"./ConfettiBurst-DUyIBnw4-BZY51mbD.js";import{T as X}from"./ProductsCarousel-CUaU5-V7-CFq7I05R.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const Y=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(),Ue=({hasVerifiedBankAccount:o,meetingUrl:b,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=M(),x=D().analytics,f=U(),L=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=S,O=W(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:B}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=B;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]},F=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,G(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(ye,{"data-testid":y("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":y("update-to-payment-address-details"),onClick:()=>F(a),children:[e.jsx(ke,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(be,{})})}),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(X,{scale:1,showUpdatePaymentDetailButton:u,stopCarousel:w})}),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(_,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(H,{isFooterRendered:!1,meetingUrl:b,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=i.div`
1
+ import{q as M,a7 as D,av as U,e as W,F as V,V as e,bz as A,o as t,aK as y,bl as _,fs as H,ak as I,ae as N,p as l,b as k,ah as R,l as Z,D as J,ap as q,aZ as K}from"./index-Dm9r1f6s.js";import{a as n}from"./core-B-FNbYlu.js";import{n as i}from"./mui-DLNyBjYF.js";import{Fy as G}from"./zeni-epic-state-HWtMOH-U.js";import Q from"./ConfettiBurst-DUyIBnw4-Bzth-g3m.js";import{T as X}from"./ProductsCarousel-CUaU5-V7-DTCkPx2F.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";const Y=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(),Ue=({hasVerifiedBankAccount:o,meetingUrl:b,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=M(),x=D().analytics,f=U(),L=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=S,O=W(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:B}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=B;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]},F=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,G(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(ye,{"data-testid":y("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":y("update-to-payment-address-details"),onClick:()=>F(a),children:[e.jsx(ke,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(be,{})})}),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(X,{scale:1,showUpdatePaymentDetailButton:u,stopCarousel:w})}),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(_,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(H,{isFooterRendered:!1,meetingUrl:b,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;