@zeniai/web-cockpit-ui 1.13.92-dev → 1.13.92-prod

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 (220) hide show
  1. package/dist/assets/{ACHDetailsPage-DSxVnTLA-DXaPhpBb.js → ACHDetailsPage-DSxVnTLA-DQ5hyRPZ.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DpJmdFIS-DdYjoAnf.js → AIPerformancePage-DpJmdFIS-v3w0n1_t.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-UxE6vaxM-CTCDVeHj.js → AccountInfoPage-UxE6vaxM-BKC2rl6V.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-B8luWP8D-BvO-xoVa.js → AccountInfoPageContent-B8luWP8D-D_9Ih9aO.js} +1 -1
  5. package/dist/assets/{AccountReconDetailsDrawerPage-CRuSLa04-C6RSAAh5.js → AccountReconDetailsDrawerPage-CRuSLa04-D-K1ZLZ6.js} +1 -1
  6. package/dist/assets/{AccountRow-DVnBiB7_-BUb357r1.js → AccountRow-DVnBiB7_-J44FakMX.js} +1 -1
  7. package/dist/assets/{AccountsPromoCardStack-oPvi6hmo-Cb1NCYmc.js → AccountsPromoCardStack-oPvi6hmo-OA0s77-O.js} +1 -1
  8. package/dist/assets/{AddAddressForCardDrawer-Bl8FShie-B0Exe6lR.js → AddAddressForCardDrawer-Bl8FShie-i1WSnUQT.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-BykgUTfa-Cb4sl07y.js → AddToWalletPage-BykgUTfa-BDdyLcOr.js} +1 -1
  10. package/dist/assets/{AgingReportsPage-CtpuS77Y-CRkQ2tHo.js → AgingReportsPage-CtpuS77Y-DtZ2PXub.js} +1 -1
  11. package/dist/assets/{AllUserItems-zqRosy03-ampV7sMY.js → AllUserItems-zqRosy03-Cs4csIlw.js} +1 -1
  12. package/dist/assets/{ApAgingDetailPage-B4dHhJE1-DX7CQmyB.js → ApAgingDetailPage-B4dHhJE1-DD149xB0.js} +1 -1
  13. package/dist/assets/{AppBasePage-ntAldChd-Da_5AGnO.js → AppBasePage-ntAldChd-CqmvMW4d.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-LRG0OW3a-BgVe2pK0.js → AppDrawerContent-LRG0OW3a-D-Uu_dh-.js} +1 -1
  15. package/dist/assets/{ApprovalRulesSettingsPage-CFCbNOcB-CE0uOkBi.js → ApprovalRulesSettingsPage-CFCbNOcB-DqUDrXZ1.js} +1 -1
  16. package/dist/assets/{ArAgingChart-BmfMCB8_-Bg3m3QlY.js → ArAgingChart-BmfMCB8_-DmvBDcyM.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-C2lhYsGV-BhHfiwwM.js → ArAgingDetailPage-C2lhYsGV-C5rZDRGB.js} +1 -1
  18. package/dist/assets/{AttachmentView-CQlsMYN3-DG4dPEyp.js → AttachmentView-CQlsMYN3-DzTpPq3-.js} +1 -1
  19. package/dist/assets/{BankAccountSection-D1tQzNSO-piXQT6-V.js → BankAccountSection-D1tQzNSO-C_sKIdwB.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-Dj_S6brX-2DYBSMY8.js → BankAccountWarningSection-Dj_S6brX-C9ELW6aN.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-UQAJXShM-C8thl88u.js → BankConnectionsSettingsPage-UQAJXShM-Qhq0Pgu1.js} +1 -1
  22. package/dist/assets/{BillDetailPage-BOy1MkMT-CTieBS_0.js → BillDetailPage-BOy1MkMT-DxTJJg4k.js} +1 -1
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-C7c04fyW-D_3vBsw2.js → BillPayApprovalRuleDetailPage-C7c04fyW-DVLpyOTC.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-D7vn36vA-CcaFc_r3.js → BillPayApprovalRulesPage-D7vn36vA-CMpZz5F0.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-VCQ0v0Ko-_chCPS2P.js → BillPayPromoPage-VCQ0v0Ko-xduBQZLD.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-MD1PbTMB-DAVLcuLh.js → BillPaySetUpPage-MD1PbTMB-C2K6g1vr.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-B0U9RKLC-CSDiDt5p.js → BillingSettingsPage-B0U9RKLC-xDKZksR_.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-CStmvhgL-CRjbCjmC.js → BillsBulkReviewDrawerPage-CStmvhgL-Dbr4Aj-D.js} +1 -1
  29. package/dist/assets/{BoxItem-D3v5T6bP-DCh7smhZ.js → BoxItem-D3v5T6bP-BOLCnSeA.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-BIba2-zs-BbKHm-00.js → BusinessVerificationPage-BIba2-zs-DYcAve60.js} +1 -1
  31. package/dist/assets/{CardNumberSubText-DoWj5vAy-CUdY7eYA.js → CardNumberSubText-DoWj5vAy-UIXS_891.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-CPz0J2HA-mlCo9BqT.js → CashbackDetailPage-CPz0J2HA-6i9rTXwB.js} +1 -1
  33. package/dist/assets/{ChargeCardDetailPage-DxE5h1S5-_Ar3evhS.js → ChargeCardDetailPage-DxE5h1S5-DoqsPVXx.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-fXayrykw-DfSXe2y4.js → ChargeCardListPage-fXayrykw-D_Av_aTf.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-C-WxFg6W-ZTAQI24j.js → ChargeCardListTable-C-WxFg6W-DaGBsMkN.js} +1 -1
  36. package/dist/assets/{ChargeCardPromoPage-CiwWzvym-CQS1Kn9Z.js → ChargeCardPromoPage-CiwWzvym-mX5HHnvt.js} +1 -1
  37. package/dist/assets/{ChargeCardSetupPage-ByLkUH5I-CAqoYnxa.js → ChargeCardSetupPage-ByLkUH5I-CkMXps05.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-Dsv5AXrZ-DLsXp3ds.js → ChargeCardStatementsPage-Dsv5AXrZ-DSUPLibI.js} +1 -1
  39. package/dist/assets/{ChargeCardUtils-CVC43_6w-DTPKdzGf.js → ChargeCardUtils-CVC43_6w-CF1lXmY5.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-CHWBgNa9-BGn2Q_2a.js → ChaseOverlay-CHWBgNa9-BopXJjvt.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DySu5_BH-zAFSAP0i.js → CheckDepositDrawerPage-DySu5_BH-C-eiJPK5.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-ZObwzBbY-BfOvomCm.js → CollapsableReportTable-ZObwzBbY-BysjoVFa.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-DVG0lvX--Dfy9v0Wy.js → CompanyOfficerDetailsSection-DVG0lvX--DVsfgUwx.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-DBZRV0g0-BA5CzU7Q.js → CompanyPassportCard-DBZRV0g0-BbdPQsC4.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-BoaNol0L-DnxxOJfB.js → CompanyPassportPage-BoaNol0L-BoQuDw9B.js} +1 -1
  46. package/dist/assets/{CompleteProfile-nkRKLJTF-D06O2tPg.js → CompleteProfile-nkRKLJTF-Criq8Ljm.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-BYoGZ66F-DY-7GLNq.js → ConfettiBurst-BYoGZ66F-BF6awnnE.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-C1Yx8t4M-BzNtZfYl.js → CreateOrEditVendorPage-C1Yx8t4M-Cm2ZBJu1.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-DlnR16jr-Cp09nlhb.js → CreditCardPaymentDrawerPage-DlnR16jr-B4-3qddP.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentPlgSection-CZ2vyMiF-CAkrDs6q.js → CreditCardPaymentPlgSection-CZ2vyMiF-Dv-Vc4T9.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-vH1oB0K8-B5AHvAUJ.js → CurrencySelectField-vH1oB0K8-wHe9UTtT.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-rpZmgNZo-CwICpwxp.js → CustomerOnboardingActivationPage-rpZmgNZo-yoY6ZZPd.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-DEDQrgtq-Bgtk1o5G.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CFIeHxxw-SHM_Ui8B.js → CustomerOnboardingDetailPageSkeleton-CFIeHxxw-Ch_NCmop.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-BueMiyFl-46-BK9fl.js → CustomerOnboardingNoStepsPage-BueMiyFl-Be70Dm6Q.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-CmHXtB9v-BJU0moTi.js → CustomerOnboardingPage-CmHXtB9v-N2UU7_FI.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-I9pftf_j-DOK-Bf5L.js → CustomerOnboardingProductSuitePage-I9pftf_j-Cq5FoNJf.js} +1 -1
  58. package/dist/assets/{Dashboard-DcfkiicK-D3UJUCYb.js → Dashboard-DcfkiicK-Cm9EkmBL.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-B7J8yZR6-B09J8zzA.js → DashboardReportPage-B7J8yZR6-mwifnpEI.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-CP_2AL3M-BdaPu6PV.js → DepositAccTransactionItem-CP_2AL3M-BUfk_EHJ.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-C4o1y1mJ-KyIyoawm.js → DepositAccTransactionListPage-C4o1y1mJ-BCGYl-3q.js} +1 -1
  62. package/dist/assets/{DocumentSecurityBanner-C5w0d_S8-DMiwYsyK.js → DocumentSecurityBanner-C5w0d_S8-7kR46baw.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-t0Ebo518-CZtrAoDV.js → DomesticWireDetailsPage-t0Ebo518-DcWosEiy.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-CPW9ebxu-B84vZ8Vf.js → DownloadOverlay-CPW9ebxu-CBIAqpEI.js} +1 -1
  65. package/dist/assets/{DrawerPage-Xc2rQipJ-CbzWMzby.js → DrawerPage-Xc2rQipJ-vAGShlns.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-CF5UleI0-DHfURipS.js → EditPeoplePage-CF5UleI0-IR4jULIP.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-DGCkOykv-BxliJYVA.js → EditReimbursementDetailPage-DGCkOykv-CxbUxJWC.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-BykQZo8S-TLciQOdt.js → EntityDetailPage-BykQZo8S-BxO8SQOK.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-Dw4PBcg_-D8XPKjkN.js → EntitySummarySection-Dw4PBcg_-Bj_myq1U.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BwAaZVq3-DULdspcH.js → ExpenseAutomationOverviewPage-BwAaZVq3-Dh0_-ULP.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-Cqiyk-AY-Cbn2hM3p.js → ExpenseAutomationPage-Cqiyk-AY-2jDbqfUl.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-D0lCczvw-DeekuCPU.js → ExpressPayPage-D0lCczvw-BKP2pyII.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-CxZIUB8l-xGc8umN-.js → FeaturePreviewPage-CxZIUB8l-DOVVe0bn.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-CILr1_vc-DOHzLCEi.js → FollowStepsSection-CILr1_vc-CyBQiJEA.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-DL6H7PZG-CcFAQ4Jd.js → GlobalReviewListPage-DL6H7PZG-C2ENZA8V.js} +1 -1
  76. package/dist/assets/{HelpButton-CkSfhBfN-BCuT-w0J.js → HelpButton-CkSfhBfN-l0ZmaZgI.js} +1 -1
  77. package/dist/assets/{InformationCardStack-i76c5dym-B_ZpROXq.js → InformationCardStack-i76c5dym-B2hRo2sD.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-wcWhovKK-DSw729j8.js → InsightsCardStack-wcWhovKK-D5i-CS8Q.js} +1 -1
  79. package/dist/assets/{InsightsSection-CCzgI0uK-wk2msd_s.js → InsightsSection-CCzgI0uK-YzyDaTgw.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-B2CDE2Xd-D7F50RmA.js → IntegrationsSettingsPage-B2CDE2Xd-DdpGmyZ0.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-DNT75nXv-Ugsofr3W.js → InternationalWireSwiftDetailsPage-DNT75nXv-DPS5Vbqb.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-BDxujQK--CFeRgIkU.js → InternationalWireVerificationPage-BDxujQK--DSmITxMC.js} +1 -1
  83. package/dist/assets/{InviteFormPage-BnLBPR7X-QQpB8eQo.js → InviteFormPage-BnLBPR7X-BUgP_pam.js} +1 -1
  84. package/dist/assets/{InvitePageListView-7mhz_Fyy-D6doua_f.js → InvitePageListView-7mhz_Fyy-DsAbeFJv.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-B8gb9N_8-DX1GZlvh.js → InvitePeoplePage-B8gb9N_8-CpTkSYzD.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-Bes1nCJn-Be4DogKt.js → InvoiceUploadSection-Bes1nCJn-CI5aLm07.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-DC3yIsQd-D0BAohGU.js → IssueChargeCardPage-DC3yIsQd-DaEy5Twd.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-Dtw8vM0g-D81z6ltq.js → LabeledAddressValue-Dtw8vM0g-BatSanO0.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-D72yUpQl-C0ZR7mu4.js → LabeledAddressValueField-D72yUpQl-EukAFw0M.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-BFaru2xf-AfZiR_o0.js → LabeledControlledCheckBoxField-BFaru2xf-BBWtrziO.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CCXfjgxP-BI63rs1t.js → LabeledCreatableSingleSelectField-CCXfjgxP-CnxEpEdS.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-aYYBY16j-D9fngETw.js → LabeledDocumentField-aYYBY16j-DiHUA7gr.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-Co7u6hHL-Cpugeu34.js → LabeledDropDownFormattedTextField-Co7u6hHL-xLKIGiNZ.js} +1 -1
  94. package/dist/assets/{LabeledText-BrOLGzO5-CQVuQAJd.js → LabeledText-BrOLGzO5-DZaVXgIe.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D-Huhkbq-B8_Gy80w.js → LabeledUserSingleSelectWithSubtitlesField-D-Huhkbq-B8D7YUkE.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-WXH8xLJq-Bz0_UVs1.js → LabeledZeniRolesDropDownField-WXH8xLJq-qoydEE07.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-NFV4Vo3i-Dh75sd9Q.js → LinkJETransactionPage-NFV4Vo3i-BI2YmfkU.js} +1 -1
  98. package/dist/assets/{LowBalancePopup-Bxkd2pBR-DnLeMaGm.js → LowBalancePopup-Bxkd2pBR-_OwRs2WF.js} +1 -1
  99. package/dist/assets/{MagicLinkACHDetailsPage-BJFlUq7i-CR2iAlWE.js → MagicLinkACHDetailsPage-BJFlUq7i-Dpmq3H_6.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CTuaNol6-CwHBeiVQ.js → MagicLinkDomesticWireDetailsPage-CTuaNol6-DcoGcITs.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-L2dPsfWM-jS2Sj2EL.js → MagicLinkInternationalWireDetailsPage-L2dPsfWM-EuAyHUTS.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-DutanrSJ-BcHGJ4_T.js → MagicLinkSuccessPage-DutanrSJ-M6t2IhUS.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-5B8jYoBn-ChnkNHHY.js → MagicLinkTitleSection-5B8jYoBn-oxb2T2eH.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-DwWeiSC0-CYpVyPYc.js → MailingDetailsSection-DwWeiSC0-D_M7IxPH.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-rC3PQdjG-DZoBtMzd.js → MeetingCalenderPopup-rC3PQdjG-DYE6kzDs.js} +1 -1
  106. package/dist/assets/{Menu-CrSQ1yNo-Cx3bEBb1.js → Menu-CrSQ1yNo-Bv-dHYqs.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-CJjW9ymP-BqJ36Kdj.js → MyBankConnectionsSettingsPage-CJjW9ymP-CrHV2cpA.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-CvxqOjc7-DSUp87U3.js → MyPendingActivationChargeCardListPage-CvxqOjc7-CtBP8g1r.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BX5dXulH-rLCsz38p.js → MyProfileSettingsPage-BX5dXulH-Dfifbw5G.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-CuVAj7o5-QRyCYrfU.js → NavBarWithPicker-CuVAj7o5-CEGVfhrc.js} +1 -1
  111. package/dist/assets/{NavigationArrow-BPQ9vRqR-CA2ua3KM.js → NavigationArrow-BPQ9vRqR-CplDa_T1.js} +1 -1
  112. package/dist/assets/{NavigationDots-Toh5TKEv-D4TuvGNx.js → NavigationDots-Toh5TKEv-CA0n9HQq.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-B4r1haCm-V82_isUI.js → NewGlobalMerchantPage-B4r1haCm-BkdFCE3S.js} +1 -1
  114. package/dist/assets/{NoDataChart-CVM-QPHf-C-oyhVAy.js → NoDataChart-CVM-QPHf-C9B0uxva.js} +1 -1
  115. package/dist/assets/{NoDataTable-CM-tApqo-CD71WwmK.js → NoDataTable-CM-tApqo-BFJr-jl2.js} +1 -1
  116. package/dist/assets/{NotFoundPage-I-EBmx2b-H5l_OBUP.js → NotFoundPage-I-EBmx2b-CdYXt2jJ.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-CtZ7hdMN-D-_tIuJn.js → NotificationSettingsPage-CtZ7hdMN-DWIPkxdy.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-BAKipCDG-DNDbmhPU.js → NotificationsListConfig-BAKipCDG-B8nCR-af.js} +1 -1
  119. package/dist/assets/{NotificationsPage-xyLmK3l7-D0WoPK5r.js → NotificationsPage-xyLmK3l7-Clly1YOz.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-B63DEuJM-BARCJc78.js → OpExByVendorPage-B63DEuJM-pkzuBzfO.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-BDWmQRwQ.js → OverlayContainerPage-C0rUb6-5-BJTXz7EF.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-uY-ajYp4-Lez30LQU.js → PandLWithForecastPage-uY-ajYp4-U3FMr0Xz.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DM9NYbmX-C_WC5GD-.js → PaymentAccountSetupBillingAddressSection-DM9NYbmX-CPcRwkU8.js} +1 -1
  124. package/dist/assets/{PeoplePage-DPZj6XeQ-87NclcP_.js → PeoplePage-DPZj6XeQ-Uf9hTrMZ.js} +1 -1
  125. package/dist/assets/{PortfolioAllocationFormPage-De56plDa-D_5OdoiP.js → PortfolioAllocationFormPage-De56plDa-C7xgHS3E.js} +1 -1
  126. package/dist/assets/{PortfolioDetails-DiITguNZ-C9ff3dxU.js → PortfolioDetails-DiITguNZ-cyxUfNyR.js} +1 -1
  127. package/dist/assets/{ProductsCarousel-BojgZxY7-C7ixhh1B.js → ProductsCarousel-BojgZxY7-DdyXJr2w.js} +1 -1
  128. package/dist/assets/{PromoBaseCards-DPAkjdDp-BSbN47iG.js → PromoBaseCards-DPAkjdDp-BGlT4RI_.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-CzuH4c1o-CmxBeQPY.js → QBOConnectionDialog-CzuH4c1o-C7pXVe4U.js} +1 -1
  130. package/dist/assets/{QBOSetupSection-DJBfLeXn-CaDVg5Hs.js → QBOSetupSection-DJBfLeXn-n3W_hKe8.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CAcLCt68-CHZOZjbd.js → ReimbursementApprovalRuleDetailPage-CAcLCt68-z_TSwQVX.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-edz_6MDX-C6mJ2DuI.js → ReimbursementApprovalRulesPage-edz_6MDX-BBQCU7zZ.js} +1 -1
  133. package/dist/assets/{ReimbursementDetailPage-DD_GbfiV-DO_TXxDc.js → ReimbursementDetailPage-DD_GbfiV-Br_JM6Bl.js} +1 -1
  134. package/dist/assets/{ReimbursementPromoPage-B_HZWdXi-ujWpRxU3.js → ReimbursementPromoPage-B_HZWdXi-BTiGgxO3.js} +1 -1
  135. package/dist/assets/{ReimbursementSetUpPage-C0SNbg5D-CMixW-_k.js → ReimbursementSetUpPage-C0SNbg5D-B3aU2e8W.js} +1 -1
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-NOK5jPjr-DI2xKDYj.js → ReimbursementsBulkReviewDrawerPage-NOK5jPjr-Cia2ZDC0.js} +1 -1
  137. package/dist/assets/{ReloadCard-CqyGWGqs-B2pPTz9i.js → ReloadCard-CqyGWGqs-_YURCGpq.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-B8ZW0kxU-_1sW9OpN.js → ReportTableViewSelector-B8ZW0kxU-8Kw8Bgrt.js} +1 -1
  139. package/dist/assets/{ReportsPage-DdqQgvJt-pEgVGJHX.js → ReportsPage-DdqQgvJt-ChJzejj9.js} +1 -1
  140. package/dist/assets/{RevenueChart-QoBLII7z-Brgj42T7.js → RevenueChart-QoBLII7z-BxG5kvro.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-BVoI7xF7--oTVBYBc.js → ReviewDetailsPage-BVoI7xF7-BZLZQS7P.js} +1 -1
  142. package/dist/assets/{ReviewOverlay-CbpylyCx-CRT_fGNL.js → ReviewOverlay-CbpylyCx-DaZFUH7Y.js} +1 -1
  143. package/dist/assets/{RoleWithToolTip-TxLTa63q-S46u0htc.js → RoleWithToolTip-TxLTa63q-h_h2zj3V.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CuwxZJjj-CbljEJHF.js → ScheduleDetailsFixedAssetsPage-CuwxZJjj-DGJYOl0Z.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsPage-u0VNz7hA-DBA6XeYX.js → ScheduleDetailsPage-u0VNz7hA-BXvUVAFs.js} +1 -1
  146. package/dist/assets/{ScheduleSequenceTable-usJjTfAn-CsILXb5x.js → ScheduleSequenceTable-usJjTfAn-BVSbI8s8.js} +1 -1
  147. package/dist/assets/{ScreenRoutes-DfucM-A_.js → ScreenRoutes-CSiIYQhL.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-DDe06VBR--XDyyAq7.js → SetUpAccountSection-DDe06VBR-B9IJiM9A.js} +1 -1
  149. package/dist/assets/{SetUpDefaultSection-B6pcOXMO-DgPwbXlv.js → SetUpDefaultSection-B6pcOXMO-eZCrqrSe.js} +1 -1
  150. package/dist/assets/{SignIn-BdhV8PbY-BEcS89H3.js → SignIn-BdhV8PbY-BtAifhPi.js} +1 -1
  151. package/dist/assets/{SignInScreen-CQe6jUnb.js → SignInScreen-Bz8feu1F.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-DNgC__pX-CtNBT1Yc.js → SpendManagementListViewPage-DNgC__pX-B532HqYI.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-BkiWOMch-DNxdfM54.js → SpendManagementPerTabPage-BkiWOMch-DQ0tV62-.js} +1 -1
  154. package/dist/assets/{SpendManagementSection-DuR3sx7V-wtusVJD4.js → SpendManagementSection-DuR3sx7V-CT7Uld_h.js} +1 -1
  155. package/dist/assets/{SpendMgmtSetupAccountSection-DoUKX4Sf-BWt9unUe.js → SpendMgmtSetupAccountSection-DoUKX4Sf-BldIeqnn.js} +1 -1
  156. package/dist/assets/{StatementItem-VYK0Vtgt-CDJF9Bdy.js → StatementItem-VYK0Vtgt-Bk5BgCtg.js} +1 -1
  157. package/dist/assets/{StatementsPage-CLxned7l-kbRne1uO.js → StatementsPage-CLxned7l-BhLZL60e.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-Jqpvk1VX-KiHu5pz2.js → StatusSwitcher-Jqpvk1VX-xLUVqT6G.js} +1 -1
  159. package/dist/assets/{SubTabSwitcher-C7_JB54g-TfIjK1e4.js → SubTabSwitcher-C7_JB54g-CphEJgto.js} +1 -1
  160. package/dist/assets/{SummaryCard-oqK_zyxl-DP8NWbIJ.js → SummaryCard-oqK_zyxl-CPgSyc_4.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-BDOhB7Ny-0hkaxI_I.js → TaskManagementPage-BDOhB7Ny-BBdO0DDz.js} +1 -1
  162. package/dist/assets/{TimeRangeSwitcher-AWKZ7PNb-CoqhGH2B.js → TimeRangeSwitcher-AWKZ7PNb-JsWizZnK.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcher-BlL5woGb-Cmk__EzQ.js → TimeframeSwitcher-BlL5woGb-CYQePLIH.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-CRnWI6xW-CcO9Smot.js → TimeframeSwitcherWithToggle-CRnWI6xW-C86KiNGD.js} +1 -1
  165. package/dist/assets/{TopExCard-B4T3kqhZ-Boo9L6AS.js → TopExCard-B4T3kqhZ-5leQC_es.js} +1 -1
  166. package/dist/assets/{TopExDetailPage-Cx9T3i9O-Dego-R-_.js → TopExDetailPage-Cx9T3i9O-BUFgQydG.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-CAGxHcQ9-D2MX0HZx.js → TransactionDetailPage-CAGxHcQ9-DAEh18Kl.js} +1 -1
  168. package/dist/assets/{TransactionList-CVrK_-YB-DNCdrvzR.js → TransactionList-CVrK_-YB-CzryXgTg.js} +1 -1
  169. package/dist/assets/{TransactionListBig-BnI6EofP-_rQrLZ8Q.js → TransactionListBig-BnI6EofP-CiyZQoDY.js} +1 -1
  170. package/dist/assets/{TransactionListPage-vK6DdhrP-BFxBj0Xu.js → TransactionListPage-vK6DdhrP-DT6k2g4T.js} +1 -1
  171. package/dist/assets/{TransactionVendorDetailPage-IyAfkyMv-DMgJng31.js → TransactionVendorDetailPage-IyAfkyMv-lNTZZabw.js} +1 -1
  172. package/dist/assets/{TransferDrawerPage-Bp0TG8fm-BrYG-dvh.js → TransferDrawerPage-Bp0TG8fm-CznoIWIM.js} +1 -1
  173. package/dist/assets/{TreasuryOverviewPage-Cr1liTpc-DUvbI9m6.js → TreasuryOverviewPage-Cr1liTpc-Cd33lmI2.js} +1 -1
  174. package/dist/assets/{TreasuryPromoPage-Da7l7gv8-BI2e-RBa.js → TreasuryPromoPage-Da7l7gv8-CKMiHpr6.js} +1 -1
  175. package/dist/assets/{TreasurySetupPage-DLNsPnS8-CsV7YDNa.js → TreasurySetupPage-DLNsPnS8-CDmeA1e-.js} +1 -1
  176. package/dist/assets/{TreasuryStatementsPage-CNXxykvB-Xo9bsOcj.js → TreasuryStatementsPage-CNXxykvB-CuoSCyX7.js} +1 -1
  177. package/dist/assets/{TreasuryTaxLetterPage-DUbt8ItG-Bx6VQjMk.js → TreasuryTaxLetterPage-DUbt8ItG-CFIrAIuu.js} +1 -1
  178. package/dist/assets/{TreasuryTransferOrReviewPage-qxabbCrK-Cn6E59-e.js → TreasuryTransferOrReviewPage-qxabbCrK-NTQJ00iK.js} +1 -1
  179. package/dist/assets/{TrendChart-SOAxSpv2-C2I66UL7.js → TrendChart-SOAxSpv2-DgR01mAM.js} +1 -1
  180. package/dist/assets/{TrendWithTransactions-BSQ2TJvu-CXRyOB__.js → TrendWithTransactions-BSQ2TJvu-C2vH4bQx.js} +1 -1
  181. package/dist/assets/{UncategorizedAccountsMappingPage-Caf242zp-C8p8QWva.js → UncategorizedAccountsMappingPage-Caf242zp-VGuE3thQ.js} +1 -1
  182. package/dist/assets/{UnitIntegrationPage-Bvc4wx_r-CxpS2DzG.js → UnitIntegrationPage-Bvc4wx_r-B7he8exM.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-BTEhwmVL-Bv1cJYiQ.js → UploadAdditionalDocumentOverlay-BTEhwmVL-C4lSvPpB.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-DimcegQ_-DbqY7M5C.js → Vendor2FAPopup-DimcegQ_-WnSXqrLw.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-BOIRRgCy-3ls1AaMO.js → VendorACHDetailsPage-BOIRRgCy-UgegopbT.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-CWcqMMpT-CUN694wM.js → VendorDetailPage-CWcqMMpT-9VL32fGD.js} +1 -1
  187. package/dist/assets/{VendorDomesticWireDetailsPage-9C2CIkhB-CIWMgQrd.js → VendorDomesticWireDetailsPage-9C2CIkhB-ZF2CrFpl.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-Crz_WLRG-C1B5bpoY.js → VendorFiling1099EditablePage-Crz_WLRG-BF546nfl.js} +1 -1
  189. package/dist/assets/{VendorFirstReviewPage-hQ0U61KD-DXRFO6yh.js → VendorFirstReviewPage-hQ0U61KD-C9g--4mo.js} +1 -1
  190. package/dist/assets/{VendorInternationalWireDetailsPage-mm1qIXTf-CIqQKpow.js → VendorInternationalWireDetailsPage-mm1qIXTf-BLxRn49M.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BaOsJGNO-DJWhQcKK.js → VendorInternationalWireSwiftDetailsPage-BaOsJGNO-BH9lf0Lb.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-CGbDIAMd-CpNcTh0l.js → VendorsAccountsSection-CGbDIAMd-ym1H8Uh3.js} +1 -1
  193. package/dist/assets/{WarningsDrawerPage-7DzlUfv7-BkCPq2fE.js → WarningsDrawerPage-7DzlUfv7-BKqLm7L1.js} +1 -1
  194. package/dist/assets/{ZeniAccountDetailPage-B_U4d2iv-CeotXzaF.js → ZeniAccountDetailPage-B_U4d2iv-BManRlon.js} +1 -1
  195. package/dist/assets/{ZeniAccountListViewPage-C2Yej3tG-5nEB_ziW.js → ZeniAccountListViewPage-C2Yej3tG-BD_IZ5aS.js} +1 -1
  196. package/dist/assets/{ZeniAccountNavBarPieces-DsWyZL7N-DfzfZF8w.js → ZeniAccountNavBarPieces-DsWyZL7N-D5tOjgeX.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-D6S3o6xA-Bi4N8dmb.js → ZeniAccountPromoPage-D6S3o6xA-B-4D3zUQ.js} +1 -1
  198. package/dist/assets/{ZeniAccountSetupPage-YpW9LEB1-BJ2MLgxE.js → ZeniAccountSetupPage-YpW9LEB1-DY1tJUjA.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-Buv4_0jF-CqCj0NE5.js → ZeniCopyright-Buv4_0jF-BUJ7afxM.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-CvuOgkEg-CuXG6PC2.js → ZeniTransferAmountSlider-CvuOgkEg-D9otBk72.js} +1 -1
  201. package/dist/assets/{analyticsHelper-B3QVnfWf-Ii66sXHH.js → analyticsHelper-B3QVnfWf-Cfyqi3Js.js} +1 -1
  202. package/dist/assets/{analyticsHelper-ej1xHeXQ.js → analyticsHelper-RWvozMVr.js} +1 -1
  203. package/dist/assets/{chartTypes-DYAHlgKd-DnqAO3Rp.js → chartTypes-DYAHlgKd-H1smi7OR.js} +1 -1
  204. package/dist/assets/{commonDimensions-Pkc8qIrn-B-bjjlb8.js → commonDimensions-Pkc8qIrn-CnS_lHb5.js} +1 -1
  205. package/dist/assets/{detailCommon-CsukAL3T-lIItUxyr.js → detailCommon-CsukAL3T-BWIfVtAp.js} +1 -1
  206. package/dist/assets/{downloadPdf-DlKRXI5W-DoYYMEWD.js → downloadPdf-DlKRXI5W-OJRqS6Ne.js} +1 -1
  207. package/dist/assets/{index-DEtloYMb.js → index-BFn0iyzF.js} +3 -3
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-KYsp1YPe-CdYtsyMK.js → mapLoadingInProgressToTreeNode-KYsp1YPe-CLN9qM8e.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-t5fK12Uc-CbMkSgtE.js → mapSectionWithAcOnlyToTreeNode-t5fK12Uc--riMsIoZ.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-1YBqnFwa-K_d13sRq.js → mapSpacerToTreeNode-1YBqnFwa-BUbNWLck.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-DD1v-gTG-9n0fkm_w.js → mapTimeframeBalancesToTreeNode-DD1v-gTG-CsfVJjJT.js} +1 -1
  212. package/dist/assets/{play-icon-19dLaWkG-CvLTbZAK.js → play-icon-19dLaWkG-Dp_fy0nZ.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-B8NxsLlK-741DYvDg.js → toCOABalancesWithID-B8NxsLlK-f7IcEqR5.js} +1 -1
  214. package/dist/assets/{toChartData-CxZEcdj_-B9fAXWHm.js → toChartData-CxZEcdj_-BYbG-aHT.js} +1 -1
  215. package/dist/assets/{treasuryColorHelper-BqwCUN2u-C54KKUXs.js → treasuryColorHelper-BqwCUN2u-X_XE57yN.js} +1 -1
  216. package/dist/assets/{uploadAttachment-CHFo3qZI-fjIbqTID.js → uploadAttachment-CHFo3qZI-V-zea-FO.js} +1 -1
  217. package/dist/assets/{uploadReceipts-Buvz7DfG-BUbqoJXB.js → uploadReceipts-Buvz7DfG-C9miDyXe.js} +1 -1
  218. package/dist/index.html +1 -1
  219. package/package.json +1 -1
  220. package/dist/assets/CustomerOnboardingContainerPage-DEDQrgtq-a_kK-7zZ.js +0 -1
@@ -1,4 +1,4 @@
1
- import{X as ze,u as Re,cg as yl,M as ue,C as P,a5 as gl,j as l,bt as Be,e$ as qe,bP as De,fv as Pe,o as a,fE as bl,cf as We,c6 as ee,c8 as ce,cc as Me,l as Le,cy as xl,cw as wl,ca as Ue,c9 as Fe,fF as Te,fG as jl,fd as vl,fc as ke,cd as ge,ce as Il,g as Ce,f0 as He,Q as Ge,b5 as Qe,e_ as Xe,t as Ne,fu as Ye,r as ye,p as $l,b1 as Sl,q as ae,dh as Ol,fH as Ll,m as Fl,fI as _l,b2 as be,v as Dl,cq as Pl,b0 as Cl,a$ as Nl}from"./index-DEtloYMb.js";import{b as M,n as t}from"./vendor-CnQcJ2Lu.js";import{C as _e}from"./LabeledAddressValueField-D72yUpQl-C0ZR7mu4.js";import{I as El}from"./LabeledCreatableSingleSelectField-CCXfjgxP-BI63rs1t.js";import{Y as $e}from"./LabeledDocumentField-aYYBY16j-D9fngETw.js";import{P as Je}from"./DocumentSecurityBanner-C5w0d_S8-DMiwYsyK.js";const Ke=({text:e})=>l.jsx(Tl,{children:l.jsx(Vl,{children:e})}),Vl=t(_l)`
1
+ import{X as ze,u as Re,cg as yl,M as ue,C as P,a5 as gl,j as l,bt as Be,e$ as qe,bP as De,fv as Pe,o as a,fE as bl,cf as We,c6 as ee,c8 as ce,cc as Me,l as Le,cy as xl,cw as wl,ca as Ue,c9 as Fe,fF as Te,fG as jl,fd as vl,fc as ke,cd as ge,ce as Il,g as Ce,f0 as He,Q as Ge,b5 as Qe,e_ as Xe,t as Ne,fu as Ye,r as ye,p as $l,b1 as Sl,q as ae,dh as Ol,fH as Ll,m as Fl,fI as _l,b2 as be,v as Dl,cq as Pl,b0 as Cl,a$ as Nl}from"./index-BFn0iyzF.js";import{b as M,n as t}from"./vendor-CnQcJ2Lu.js";import{C as _e}from"./LabeledAddressValueField-D72yUpQl-EukAFw0M.js";import{I as El}from"./LabeledCreatableSingleSelectField-CCXfjgxP-CnxEpEdS.js";import{Y as $e}from"./LabeledDocumentField-aYYBY16j-DiHUA7gr.js";import{P as Je}from"./DocumentSecurityBanner-C5w0d_S8-7kR46baw.js";const Ke=({text:e})=>l.jsx(Tl,{children:l.jsx(Vl,{children:e})}),Vl=t(_l)`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  color: ${e=>e.theme.colors.hero};
@@ -1,4 +1,4 @@
1
- import{j as r,U as x,V as M,Y as f,M as p,o as s,a8 as w,v as g,a9 as j}from"./index-DEtloYMb.js";import{b as t,n as o}from"./vendor-CnQcJ2Lu.js";import{c as H}from"./SummaryCard-oqK_zyxl-DP8NWbIJ.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-CqyGWGqs-B2pPTz9i.js";const v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),L=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:B},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:L},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:v}],D=o(w)`
1
+ import{j as r,U as x,V as M,Y as f,M as p,o as s,a8 as w,v as g,a9 as j}from"./index-BFn0iyzF.js";import{b as t,n as o}from"./vendor-CnQcJ2Lu.js";import{c as H}from"./SummaryCard-oqK_zyxl-CPgSyc_4.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-CqyGWGqs-_YURCGpq.js";const v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),L=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:B},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:L},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:v}],D=o(w)`
2
2
  margin: ${s.sp5};
3
3
  justify-content: space-between;
4
4
  `,W=o.div`
@@ -1,4 +1,4 @@
1
- import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c4 as ha,l as V,a7 as fa,C as m,c5 as xa,a6 as Ce,o as t,t as ae,c6 as z,c7 as ze,c8 as L,c9 as ya,ca as qe,cb as ga,cc as ba,cd as Ue,y as $a,ce as wa,cf as He,cg as Ge,ch as Ia,ci as ja,cj as va,g as N,ck as Sa,cl as Da,aM as Oa,a9 as Ca,as as U,cm as Fe,q as p,v as Ze,K as Me,cn as Fa,H as ka,co as Ta,cp as Na,b1 as Pa,cq as La,ah as za,cr as Ma,m as Ea,b2 as R,cs as Va,r as de,a$ as Ba}from"./index-DEtloYMb.js";import{b as _,n as s,f as Wa,k as _a}from"./vendor-CnQcJ2Lu.js";import{I as Ke}from"./LabeledCreatableSingleSelectField-CCXfjgxP-BI63rs1t.js";import{Y as Xe}from"./LabeledDocumentField-aYYBY16j-D9fngETw.js";import{$ as Je}from"./LabeledAddressValue-Dtw8vM0g-D81z6ltq.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Qe={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ra=_a`
1
+ import{X as P,u as Ae,a5 as ca,a as da,c3 as pa,M as k,j as a,aW as ma,F as ua,c4 as ha,l as V,a7 as fa,C as m,c5 as xa,a6 as Ce,o as t,t as ae,c6 as z,c7 as ze,c8 as L,c9 as ya,ca as qe,cb as ga,cc as ba,cd as Ue,y as $a,ce as wa,cf as He,cg as Ge,ch as Ia,ci as ja,cj as va,g as N,ck as Sa,cl as Da,aM as Oa,a9 as Ca,as as U,cm as Fe,q as p,v as Ze,K as Me,cn as Fa,H as ka,co as Ta,cp as Na,b1 as Pa,cq as La,ah as za,cr as Ma,m as Ea,b2 as R,cs as Va,r as de,a$ as Ba}from"./index-BFn0iyzF.js";import{b as _,n as s,f as Wa,k as _a}from"./vendor-CnQcJ2Lu.js";import{I as Ke}from"./LabeledCreatableSingleSelectField-CCXfjgxP-CnxEpEdS.js";import{Y as Xe}from"./LabeledDocumentField-aYYBY16j-DiHUA7gr.js";import{$ as Je}from"./LabeledAddressValue-Dtw8vM0g-BatSanO0.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Qe={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ra=_a`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -1,4 +1,4 @@
1
- import{a as R,gg as M,M as $,j as e,F as q,T as f,c6 as z,cf as G,cc as K,l as T,o as a,ca as _,gh as H,a7 as W,c0 as X,bp as Y,gi as J}from"./index-DEtloYMb.js";import{b as g,f as b,n}from"./vendor-CnQcJ2Lu.js";import{$ as Q}from"./LabeledAddressValue-Dtw8vM0g-D81z6ltq.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const t=$.getLocalizedStrings(),x="completeProfilePage",r="basicDetailsSection",y="addressSection",d=(o,m)=>`${o}.${m}`,he=({userEmail:o,googleAPIKey:m,otpChallenge:j,sendOtpStatus:w,verifyOtpStatus:h,saveStatus:v,onSave:u,onGetOtp:P,onVerifyOtp:S,onResendOtp:O})=>{const[s,c]=g.useState(!1),[V,C]=g.useState(!1),i=R({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:o,dateOfBirth:void 0,phone:"",address:void 0}}}),F=M({control:i.control,name:`${r}.address`}),{dateFormat:I}=$.getLocalizedStrings(),N=i.handleSubmit(l=>{u&&u(l)}),L=()=>{const l=i.getValues(`${r}.phone`);l!=null&&l.trim().length>0&&P(l)},k=(l,p)=>{S(l,p)},D=l=>{l!=null&&l.trim().length>0&&O(l)},B=()=>{c(!0)},E=()=>{c(!1)},A=()=>{const l=i.getValues(`${y}`);if(l!=null){const p=J(l);i.setValue(`${r}.address`,p)}c(!1)};return e.jsxs(U,{children:[e.jsxs(Z,{children:[e.jsxs(ee,{children:[s&&e.jsx(oe,{onClick:E}),t.completeProfile.title]}),e.jsx(te,{children:e.jsx(q,{...i,children:e.jsxs("form",{id:`${x}_form`,onSubmit:N,children:[e.jsx(f,{controller:s===!1,children:e.jsxs(b.Fragment,{children:[e.jsx(z,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:t.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:d(r,"email")}}),e.jsx(G,{isDisabled:void 0,label:{label:t.common.labels.name,width:168},style:{width:"100%"},nameField:{name:d(r,"name"),placeHolder:{firstName:t.common.placeholder.firstNamePlaceholder,lastName:t.common.placeholder.lastNamePlaceholder,name:t.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),e.jsx(K,{isOptional:!0,label:{label:t.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:d(r,"dateOfBirth"),placeholder:t.common.placeholder.dobPlaceholder,dateFormat:I.visual.defaultInput,autoComplete:"off",maxDate:T.dateNow().subtract(18,"year")}}),e.jsx(Q,{isOptional:!0,label:{label:t.common.labels.address,width:168},addressValue:{placeholder:t.common.placeholder.addressPlaceholder,address:F,onClick:B},style:{width:"100%",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`}}),e.jsx(_,{isOptional:!0,label:{label:t.common.labels.phone,width:168},style:{width:"100%"},text:{name:d(r,"phone"),placeholder:t.common.placeholder.phonePlaceholder,defaultValue:"",autoComplete:"new-password"},errorInfoLabel:"",verificationErrorInfoLabel:t.common.errorMessage.invalidPhoneNumber,isPopupOpen:V,phoneVerifyButtonProps:{otpChallenge:j,showOtpButton:!0,onGetOtp:L,onVerifyOtp:k,onResendOtp:D,isPhoneVerified:h.fetchState==="Completed",phoneVerificationStatus:h,getOtpStatus:w,openPopup:()=>{C(!0)},focusNotRequired:!0}})]})}),e.jsx(f,{controller:s===!0,children:e.jsx(b.Fragment,{children:e.jsx(H,{sectionId:y,googleAPIKey:m,isSubPage:!0})})})]})})})]}),e.jsx(W,{formId:s?void 0:`${x}_form`,primaryBtn:{label:s?t.companyPassport.address.saveAddress:t.common.footer.save,type:s?"button":"submit",onClick:s?A:void 0,isLoading:v.fetchState==="In-Progress"},showCancel:!1})]})},U=n.div`
1
+ import{a as R,gg as M,M as $,j as e,F as q,T as f,c6 as z,cf as G,cc as K,l as T,o as a,ca as _,gh as H,a7 as W,c0 as X,bp as Y,gi as J}from"./index-BFn0iyzF.js";import{b as g,f as b,n}from"./vendor-CnQcJ2Lu.js";import{$ as Q}from"./LabeledAddressValue-Dtw8vM0g-BatSanO0.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const t=$.getLocalizedStrings(),x="completeProfilePage",r="basicDetailsSection",y="addressSection",d=(o,m)=>`${o}.${m}`,he=({userEmail:o,googleAPIKey:m,otpChallenge:j,sendOtpStatus:w,verifyOtpStatus:h,saveStatus:v,onSave:u,onGetOtp:P,onVerifyOtp:S,onResendOtp:O})=>{const[s,c]=g.useState(!1),[V,C]=g.useState(!1),i=R({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:o,dateOfBirth:void 0,phone:"",address:void 0}}}),F=M({control:i.control,name:`${r}.address`}),{dateFormat:I}=$.getLocalizedStrings(),N=i.handleSubmit(l=>{u&&u(l)}),L=()=>{const l=i.getValues(`${r}.phone`);l!=null&&l.trim().length>0&&P(l)},k=(l,p)=>{S(l,p)},D=l=>{l!=null&&l.trim().length>0&&O(l)},B=()=>{c(!0)},E=()=>{c(!1)},A=()=>{const l=i.getValues(`${y}`);if(l!=null){const p=J(l);i.setValue(`${r}.address`,p)}c(!1)};return e.jsxs(U,{children:[e.jsxs(Z,{children:[e.jsxs(ee,{children:[s&&e.jsx(oe,{onClick:E}),t.completeProfile.title]}),e.jsx(te,{children:e.jsx(q,{...i,children:e.jsxs("form",{id:`${x}_form`,onSubmit:N,children:[e.jsx(f,{controller:s===!1,children:e.jsxs(b.Fragment,{children:[e.jsx(z,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:t.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:d(r,"email")}}),e.jsx(G,{isDisabled:void 0,label:{label:t.common.labels.name,width:168},style:{width:"100%"},nameField:{name:d(r,"name"),placeHolder:{firstName:t.common.placeholder.firstNamePlaceholder,lastName:t.common.placeholder.lastNamePlaceholder,name:t.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),e.jsx(K,{isOptional:!0,label:{label:t.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:d(r,"dateOfBirth"),placeholder:t.common.placeholder.dobPlaceholder,dateFormat:I.visual.defaultInput,autoComplete:"off",maxDate:T.dateNow().subtract(18,"year")}}),e.jsx(Q,{isOptional:!0,label:{label:t.common.labels.address,width:168},addressValue:{placeholder:t.common.placeholder.addressPlaceholder,address:F,onClick:B},style:{width:"100%",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`}}),e.jsx(_,{isOptional:!0,label:{label:t.common.labels.phone,width:168},style:{width:"100%"},text:{name:d(r,"phone"),placeholder:t.common.placeholder.phonePlaceholder,defaultValue:"",autoComplete:"new-password"},errorInfoLabel:"",verificationErrorInfoLabel:t.common.errorMessage.invalidPhoneNumber,isPopupOpen:V,phoneVerifyButtonProps:{otpChallenge:j,showOtpButton:!0,onGetOtp:L,onVerifyOtp:k,onResendOtp:D,isPhoneVerified:h.fetchState==="Completed",phoneVerificationStatus:h,getOtpStatus:w,openPopup:()=>{C(!0)},focusNotRequired:!0}})]})}),e.jsx(f,{controller:s===!0,children:e.jsx(b.Fragment,{children:e.jsx(H,{sectionId:y,googleAPIKey:m,isSubPage:!0})})})]})})})]}),e.jsx(W,{formId:s?void 0:`${x}_form`,primaryBtn:{label:s?t.companyPassport.address.saveAddress:t.common.footer.save,type:s?"button":"submit",onClick:s?A:void 0,isLoading:v.fetchState==="In-Progress"},showCancel:!1})]})},U=n.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-height: 100vh;
@@ -1 +1 @@
1
- import{d2 as m,at as l,j as a,au as f,o as n}from"./index-DEtloYMb.js";import{b as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",C=({showConfetti:t})=>{const[e,p]=i.useState(t),[o,s]=m(u),[r]=l("ConfettiSuccess");return i.useEffect(()=>{t&&p(!0)},[t]),i.useEffect(()=>{e&&o===!1&&s(!0)},[e,o,s]),a.jsx(a.Fragment,{children:e&&o&&r!=null?a.jsx(f,{style:{position:"absolute",width:"100%",height:"100vh",top:n.sp0,left:n.sp0,zIndex:5},onComplete:()=>{s(!1),p(!1)},animationData:r,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{C as default};
1
+ import{d2 as m,at as l,j as a,au as f,o as n}from"./index-BFn0iyzF.js";import{b as i}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const u="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",C=({showConfetti:t})=>{const[e,p]=i.useState(t),[o,s]=m(u),[r]=l("ConfettiSuccess");return i.useEffect(()=>{t&&p(!0)},[t]),i.useEffect(()=>{e&&o===!1&&s(!0)},[e,o,s]),a.jsx(a.Fragment,{children:e&&o&&r!=null?a.jsx(f,{style:{position:"absolute",width:"100%",height:"100vh",top:n.sp0,left:n.sp0,zIndex:5},onComplete:()=>{s(!1),p(!1)},animationData:r,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{C as default};
@@ -1,4 +1,4 @@
1
- import{u as He,X as v,M as h,H as U,c5 as Ye,j as t,aW as _e,Y as b,e as Qe,bO as ae,bQ as ie,bR as se,ct as Xe,a7 as Ge,C as W,bp as Je,o,cu as Ke,bt as k,ah as le,q as f,aq as de,v as ce,t as Q,aN as Ze,cq as pe,g as L,cv as me,cn as ue}from"./index-DEtloYMb.js";import{b as x,n as r}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const et=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:a,bankName:s,routingNumberOrSwiftCode:d,accountName:u,routingNumberOrSwiftCodeLabel:m,onDeleteClick:w})=>{const j=v(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(q,{children:[t.jsx(H,{children:m}),t.jsx(Y,{children:d})]}),t.jsxs(q,{children:[t.jsx(H,{children:p.achDetails.bankName}),t.jsx(Y,{children:s})]}),t.jsxs(q,{children:[t.jsx(H,{children:a}),t.jsx(Y,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(Q,{children:[`${s} ${p.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(k,{title:g,placement:"top",children:t.jsx(st,{children:t.jsx(lt,{})})})]}),t.jsx(ot,{children:u??p.emptyPlaceholderString})]}),t.jsx(nt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:p.deleteAccountTooltip,placement:"top",children:t.jsx(it,{onClick:y=>{y.stopPropagation(),w()},"data-testid":b("delete-vendor-account-section",u),children:t.jsx(dt,{})})})})]})},tt=r.div`
1
+ import{u as He,X as v,M as h,H as U,c5 as Ye,j as t,aW as _e,Y as b,e as Qe,bO as ae,bQ as ie,bR as se,ct as Xe,a7 as Ge,C as W,bp as Je,o,cu as Ke,bt as k,ah as le,q as f,aq as de,v as ce,t as Q,aN as Ze,cq as pe,g as L,cv as me,cn as ue}from"./index-BFn0iyzF.js";import{b as x,n as r}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const et=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:a,bankName:s,routingNumberOrSwiftCode:d,accountName:u,routingNumberOrSwiftCodeLabel:m,onDeleteClick:w})=>{const j=v(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(q,{children:[t.jsx(H,{children:m}),t.jsx(Y,{children:d})]}),t.jsxs(q,{children:[t.jsx(H,{children:p.achDetails.bankName}),t.jsx(Y,{children:s})]}),t.jsxs(q,{children:[t.jsx(H,{children:a}),t.jsx(Y,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(Q,{children:[`${s} ${p.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(k,{title:g,placement:"top",children:t.jsx(st,{children:t.jsx(lt,{})})})]}),t.jsx(ot,{children:u??p.emptyPlaceholderString})]}),t.jsx(nt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:p.deleteAccountTooltip,placement:"top",children:t.jsx(it,{onClick:y=>{y.stopPropagation(),w()},"data-testid":b("delete-vendor-account-section",u),children:t.jsx(dt,{})})})})]})},tt=r.div`
2
2
  display: flex;
3
3
  flex-wrap: wrap;
4
4
  gap: ${o.sp1};
@@ -1,4 +1,4 @@
1
- import{j as a,X as me,d3 as pe,Y as te,gP as Je,M as Y,_ as Te,K as He,e as et,a7 as Pe,o as t,C as d,a6 as je,k as tt,b as at,u as ze,bt as nt,cO as Ee,Q as V,g as Z,fS as Ce,r as ot,l as E,Z as Me,c0 as it,a5 as be,a as rt,eZ as lt,c3 as ct,F as st,cz as dt,f6 as mt,c8 as pt,fF as ut,q as r,bp as ht,bn as Be,cW as gt,ah as yt,t as Oe,f9 as ft,f1 as Ct,aa as bt,fa as xt,cq as St,fb as wt,fk as Dt}from"./index-DEtloYMb.js";import{n as o,b as p}from"./vendor-CnQcJ2Lu.js";import{x as $t}from"./LabeledControlledCheckBoxField-BFaru2xf-AfZiR_o0.js";import{S as kt}from"./ChargeCardUtils-CVC43_6w-DTPKdzGf.js";import{Z as xe}from"./CreditCardPaymentPlgSection-CZ2vyMiF-CAkrDs6q.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ae={largeLabelWidth:new d(120,120,160),navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(r[3],r[6],r[8]),containerPaddingRight:new d(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new d(r[5],r[8])},de={pageTitle:new V("h6Regular","h5Regular"),integerAmountInput:new V("h5Regular","h2Regular"),decimalAmountInput:new V("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:vt}},common:{edit:At,labels:Se,currency:we,navBar:{back:Lt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=Y.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:L,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:$})=>{const m=me(),T=ze(),P=pe().analytics,[M,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const v=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Xt,{windowSize:m,children:a.jsx(nt,{title:Lt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Kt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&P.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)}})})}),a.jsx(qt,{windowSize:m,children:It.reviewAndConfirm}),a.jsx(Tt,{children:a.jsx(Ee,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),M?a.jsx(Ot,{children:a.jsxs(zt,{children:[a.jsxs(Nt,{children:[a.jsx(Wt,{}),a.jsxs(Et,{children:[a.jsx(Mt,{children:e.error?.title}),a.jsx(Bt,{children:e.error?.message})]})]}),a.jsx(Ut,{children:a.jsx(Vt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:t.sp3,height:t.sp3,color:Z.heroLight}})})]})}):null,a.jsx(Zt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:v},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Yt,{}),a.jsx(Ce,{label:{label:Se.amount,width:v},showAdditionalInfoLabel:!0,additionalInfoLabel:`${$?ee.creditLimitReset:ee.creditLimitUpdate} ${E.zeniDate(E.getNextNthWorkingDay(E.dateNow().toDate(),[0,6],3).toDateString()).format(vt)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:T.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Te("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:At,onClick:()=>{i&&h&&n&&P.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Ht,{isOptionSelected:h,children:a.jsx(ea,{color:ft(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(Gt,{src:Rt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Qt,{isOptionSelected:h,children:a.jsx(Jt,{})})}return null},Rt=e=>e.base64!==void 0?`${Ct}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Tt=o(Be)`
1
+ import{j as a,X as me,d3 as pe,Y as te,gP as Je,M as Y,_ as Te,K as He,e as et,a7 as Pe,o as t,C as d,a6 as je,k as tt,b as at,u as ze,bt as nt,cO as Ee,Q as V,g as Z,fS as Ce,r as ot,l as E,Z as Me,c0 as it,a5 as be,a as rt,eZ as lt,c3 as ct,F as st,cz as dt,f6 as mt,c8 as pt,fF as ut,q as r,bp as ht,bn as Be,cW as gt,ah as yt,t as Oe,f9 as ft,f1 as Ct,aa as bt,fa as xt,cq as St,fb as wt,fk as Dt}from"./index-BFn0iyzF.js";import{n as o,b as p}from"./vendor-CnQcJ2Lu.js";import{x as $t}from"./LabeledControlledCheckBoxField-BFaru2xf-BBWtrziO.js";import{S as kt}from"./ChargeCardUtils-CVC43_6w-CF1lXmY5.js";import{Z as xe}from"./CreditCardPaymentPlgSection-CZ2vyMiF-Dv-Vc4T9.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ae={largeLabelWidth:new d(120,120,160),navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(r[3],r[6],r[8]),containerPaddingRight:new d(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new d(r[5],r[8])},de={pageTitle:new V("h6Regular","h5Regular"),integerAmountInput:new V("h5Regular","h2Regular"),decimalAmountInput:new V("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:vt}},common:{edit:At,labels:Se,currency:we,navBar:{back:Lt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=Y.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:L,creditAccountInformation:y,debitAccountInformation:b,setShowReviewContent:x,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:$})=>{const m=me(),T=ze(),P=pe().analytics,[M,I]=p.useState(!1);p.useEffect(()=>{e.error!=null?I(!0):I(!1)},[e.error]);const v=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Xt,{windowSize:m,children:a.jsx(nt,{title:Lt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Kt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&P.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)}})})}),a.jsx(qt,{windowSize:m,children:It.reviewAndConfirm}),a.jsx(Tt,{children:a.jsx(Ee,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),M?a.jsx(Ot,{children:a.jsxs(zt,{children:[a.jsxs(Nt,{children:[a.jsx(Wt,{}),a.jsxs(Et,{children:[a.jsx(Mt,{children:e.error?.title}),a.jsx(Bt,{children:e.error?.message})]})]}),a.jsx(Ut,{children:a.jsx(Vt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{I(!1)},style:{width:t.sp3,height:t.sp3,color:Z.heroLight}})})]})}):null,a.jsx(Zt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:v},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Yt,{}),a.jsx(Ce,{label:{label:Se.amount,width:v},showAdditionalInfoLabel:!0,additionalInfoLabel:`${$?ee.creditLimitReset:ee.creditLimitUpdate} ${E.zeniDate(E.getNextNthWorkingDay(E.dateNow().toDate(),[0,6],3).toDateString()).format(vt)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:T.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Te("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:At,onClick:()=>{i&&h&&n&&P.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,b),x(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Ht,{isOptionSelected:h,children:a.jsx(ea,{color:ft(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(Gt,{src:Rt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Qt,{isOptionSelected:h,children:a.jsx(Jt,{})})}return null},Rt=e=>e.base64!==void 0?`${Ct}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Tt=o(Be)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  padding-top: ${t.sp3};
4
4
  `,Pt=o.div`
@@ -1,4 +1,4 @@
1
- import{X as j,u as M,M as L,aJ as R,a0 as T,j as i,Y as b,K as W,bC as H,o as l,g as n,C as a,aQ as U,ah as G,ee as J,v as _,q as o}from"./index-DEtloYMb.js";import{n as t}from"./vendor-CnQcJ2Lu.js";const r={iconContainerMaxWidthHeight:new a(o[6],o[7]),iconContainerMarginRight:new a(o[3],o[3]),iconWidthHeight:new a(20,o[4]),iconPadding:new a(10,12),containerPaddingTopBottom:new a(o[4],o[4]),containerPaddingLeftRight:new a(o[3],o[4]),buttonLeftMargin:new a(o[8],o[0]),buttonTopMargin:new a(o[4],o[2]),buttonRightMargin:new a(o[0],20)};function V({heading:e,buttonText:c,analytics:g,maxInsuredAmount:u,pageName:h,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:$}){const d=j(),f=M(),{common:v,commonSetUp:P}=L.getLocalizedStrings(),s=P.setUp.accountsPlg,z=()=>{switch(c){case s.signUpButtonText:g?.trackPlgPromoClicked(h,"Sign Up for Free"),S?.();break;case s.switchButtonText:g?.trackPlgPromoClicked(h,"Switch Now"),y?.();break;default:g?.trackPlgPromoClicked(h,"Move Money"),$?.()}},C=R(T(u),u,v.currency.currencySymbol).toUpperCase();return i.jsxs(E,{windowSize:d,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(B,{children:[i.jsx(q,{windowSize:d,isDarkMode:f.mode==="dark",children:i.jsx(A,{windowSize:d,children:i.jsx(O,{})})}),i.jsx(F,{children:i.jsxs(N,{children:[i.jsx(D,{windowSize:d,children:e}),i.jsxs(Y,{windowSize:d,children:[i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.two.replace("__amount__",C)})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.three})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.four})]})]})]})})]}),i.jsx(K,{windowSize:d,children:i.jsx(W,{label:c,"data-testid":b("accounts-plg-button",c),onClick:k=>{k.stopPropagation(),z()},buttonColors:{borderColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},backgroundColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},textColor:{default:n.neutralGrey5Light,hover:n.neutralGrey5Light,disabled:n.neutralGrey5Light}},size:"small",style:{padding:`6px ${l.sp3}`,borderRadius:"6px"},textStyle:{fontWeight:H.regular}})})]})}const B=t.div`
1
+ import{X as j,u as M,M as L,aJ as R,a0 as T,j as i,Y as b,K as W,bC as H,o as l,g as n,C as a,aQ as U,ah as G,ee as J,v as _,q as o}from"./index-BFn0iyzF.js";import{n as t}from"./vendor-CnQcJ2Lu.js";const r={iconContainerMaxWidthHeight:new a(o[6],o[7]),iconContainerMarginRight:new a(o[3],o[3]),iconWidthHeight:new a(20,o[4]),iconPadding:new a(10,12),containerPaddingTopBottom:new a(o[4],o[4]),containerPaddingLeftRight:new a(o[3],o[4]),buttonLeftMargin:new a(o[8],o[0]),buttonTopMargin:new a(o[4],o[2]),buttonRightMargin:new a(o[0],20)};function V({heading:e,buttonText:c,analytics:g,maxInsuredAmount:u,pageName:h,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:$}){const d=j(),f=M(),{common:v,commonSetUp:P}=L.getLocalizedStrings(),s=P.setUp.accountsPlg,z=()=>{switch(c){case s.signUpButtonText:g?.trackPlgPromoClicked(h,"Sign Up for Free"),S?.();break;case s.switchButtonText:g?.trackPlgPromoClicked(h,"Switch Now"),y?.();break;default:g?.trackPlgPromoClicked(h,"Move Money"),$?.()}},C=R(T(u),u,v.currency.currencySymbol).toUpperCase();return i.jsxs(E,{windowSize:d,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(B,{children:[i.jsx(q,{windowSize:d,isDarkMode:f.mode==="dark",children:i.jsx(A,{windowSize:d,children:i.jsx(O,{})})}),i.jsx(F,{children:i.jsxs(N,{children:[i.jsx(D,{windowSize:d,children:e}),i.jsxs(Y,{windowSize:d,children:[i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.two.replace("__amount__",C)})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.three})]}),i.jsxs(p,{children:[i.jsx(w,{}),i.jsx(m,{children:s.bulletPoints.four})]})]})]})})]}),i.jsx(K,{windowSize:d,children:i.jsx(W,{label:c,"data-testid":b("accounts-plg-button",c),onClick:k=>{k.stopPropagation(),z()},buttonColors:{borderColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},backgroundColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},textColor:{default:n.neutralGrey5Light,hover:n.neutralGrey5Light,disabled:n.neutralGrey5Light}},size:"small",style:{padding:`6px ${l.sp3}`,borderRadius:"6px"},textStyle:{fontWeight:H.regular}})})]})}const B=t.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  `,D=t(G)`
@@ -1,4 +1,4 @@
1
- import{cg as M,u as N,co as P,M as H,j as l,cp as L,Y as x,b1 as z,o,dh as _,bT as B,b2 as g,t as T,r as S,eV as X,eW as Y,eX as A,v as K,a$ as U,a6 as W,g as m}from"./index-DEtloYMb.js";import{b as w,n}from"./vendor-CnQcJ2Lu.js";const fe=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[j,C]=w.useState(!1),k=P(f,e??""),V=H.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??V.countryCode}},I={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(L,{name:e,control:y,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return w.createElement(z,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:_(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Z,Option:q,Input:Q,SingleValue:ee,ValueContainer:J,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:G},hideSelectedOptions:!1,styles:I,isDisabled:a!=null})}})},Z=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},q=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},G=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(B,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:t[y]})})},J=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),Q=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(T)`
1
+ import{cg as M,u as N,co as P,M as H,j as l,cp as L,Y as x,b1 as z,o,dh as _,bT as B,b2 as g,t as T,r as S,eV as X,eW as Y,eX as A,v as K,a$ as U,a6 as W,g as m}from"./index-BFn0iyzF.js";import{b as w,n}from"./vendor-CnQcJ2Lu.js";const fe=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[j,C]=w.useState(!1),k=P(f,e??""),V=H.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??V.countryCode}},I={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(L,{name:e,control:y,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const v=R;return w.createElement(z,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:j===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(v.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&v?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:_(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:Z,Option:q,Input:Q,SingleValue:ee,ValueContainer:J,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:G},hideSelectedOptions:!1,styles:I,isDisabled:a!=null})}})},Z=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},q=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},G=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(B,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:t[y]})})},J=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),Q=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(O,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(O,{children:r.label})})},O=n(T)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&X(e)===!1)return l.jsx(l.Fragment,{});{const r=Y[`${A(e??"")}`];return l.jsx(ie,{children:l.jsx(r,{width:o.sp4,height:o.sp3})})}},te=n.span`
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{j as t,X as b,M as d,a5 as l,Y as p,e as x,o as i,$ as g,c0 as h,k as m}from"./index-DEtloYMb.js";import{b as u,n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const f=o.div`
1
+ import{j as t,X as b,M as d,a5 as l,Y as p,e as x,o as i,$ as g,c0 as h,k as m}from"./index-BFn0iyzF.js";import{b as u,n as o}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const f=o.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -0,0 +1 @@
1
+ import{j as r}from"./index-BFn0iyzF.js";import o from"./CustomerOnboardingNoStepsPage-BueMiyFl-Be70Dm6Q.js";import i from"./CustomerOnboardingPage-CmHXtB9v-N2UU7_FI.js";import"./mui-C5LQ0bMa.js";import"./vendor-CnQcJ2Lu.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./HelpButton-CkSfhBfN-l0ZmaZgI.js";import"./MeetingCalenderPopup-rC3PQdjG-DYE6kzDs.js";import"./PaymentAccountSetupBillingAddressSection-DM9NYbmX-CPcRwkU8.js";import"./SetUpAccountSection-DDe06VBR-B9IJiM9A.js";import"./SetUpDefaultSection-B6pcOXMO-eZCrqrSe.js";import"./ChaseOverlay-CHWBgNa9-BopXJjvt.js";import"./CustomerOnboardingDetailPageSkeleton-CFIeHxxw-Ch_NCmop.js";import"./CompanyOfficerDetailsSection-DVG0lvX--DVsfgUwx.js";import"./LabeledAddressValueField-D72yUpQl-EukAFw0M.js";import"./LabeledCreatableSingleSelectField-CCXfjgxP-CnxEpEdS.js";import"./LabeledDocumentField-aYYBY16j-DiHUA7gr.js";import"./DocumentSecurityBanner-C5w0d_S8-7kR46baw.js";import"./QBOSetupSection-DJBfLeXn-n3W_hKe8.js";import"./QBOConnectionDialog-CzuH4c1o-C7pXVe4U.js";const w=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?r.jsx(o,{...t}):r.jsx(i,{...t});export{w as default};
@@ -1,4 +1,4 @@
1
- import{j as s,Y as y,aG as E,u as f,X as T,bg as x,o as t,q as R,C as $,$ as I,M as N,g as u,eS as U,hb as P,f0 as L,b4 as W,m as M,hc as O}from"./index-DEtloYMb.js";import{n as r,f as S}from"./vendor-CnQcJ2Lu.js";const Z=r(O)`
1
+ import{j as s,Y as y,aG as E,u as f,X as T,bg as x,o as t,q as R,C as $,$ as I,M as N,g as u,eS as U,hb as P,f0 as L,b4 as W,m as M,hc as O}from"./index-BFn0iyzF.js";import{n as r,f as S}from"./vendor-CnQcJ2Lu.js";const Z=r(O)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,X=r.div`
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{d3 as se,j as o,X as Ce,u as Pe,a as we,h2 as be,M as xe,a5 as ke,c3 as Ie,aW as $e,o as i,Y as Ae,F as ve,a7 as Oe,aG as je,cw as Ve,cx as oe,$ as Te,C as J,t as Le,q as $}from"./index-DEtloYMb.js";import{n as c,b as A}from"./vendor-CnQcJ2Lu.js";import{F as Ue}from"./HelpButton-CkSfhBfN-BCuT-w0J.js";import{t as ze,e as Ee}from"./PaymentAccountSetupBillingAddressSection-DM9NYbmX-C_WC5GD-.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-CFIeHxxw-SHM_Ui8B.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-rC3PQdjG-DZoBtMzd.js";import"./SetUpAccountSection-DDe06VBR--XDyyAq7.js";import"./SetUpDefaultSection-B6pcOXMO-DgPwbXlv.js";import"./ChaseOverlay-CHWBgNa9-BGn2Q_2a.js";const Q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J($[3],$[3]),subTitlePaddingBottom:new J($[3],$[3])},Fe=e=>`${e}_form`,_e=xe.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:O,googleAPIKey:j,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:F,..._})=>{const u=Ce(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:D,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:G,handleLogOutClick:N,onZeniLogoClick:Z,onAddressEditHandler:x}=_,W=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(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}=_e,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=Ve(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};A.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ie(()=>ge(s,a))});return()=>{t.unsubscribe()}}),A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(v(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};h.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 he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),s=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(Q);t&&a&&(ye(),T("link_payment_account"),F(me,!1,!0))};A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=A.useState(!1);return o.jsxs(De,{children:[o.jsxs(Me,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(Ze,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:Z})})}),o.jsx(ve,{...r,children:o.jsx(Ge,{id:Fe(ie),children:o.jsxs(Re,{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:h,isValid:ne(),onFetchLinkTokenClick:D,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:G,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:j,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${ie}`,leftSideComponent:o.jsx(Ne,{windowSize:u,children:o.jsx(je,{signedInUser:P,currentTenant:V,onLogOutClick:N})}),style:{width:u==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:Se,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&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:w,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:y,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},De=c.div`
1
+ import{d3 as se,j as o,X as Ce,u as Pe,a as we,h2 as be,M as xe,a5 as ke,c3 as Ie,aW as $e,o as i,Y as Ae,F as ve,a7 as Oe,aG as je,cw as Ve,cx as oe,$ as Te,C as J,t as Le,q as $}from"./index-BFn0iyzF.js";import{n as c,b as A}from"./vendor-CnQcJ2Lu.js";import{F as Ue}from"./HelpButton-CkSfhBfN-l0ZmaZgI.js";import{t as ze,e as Ee}from"./PaymentAccountSetupBillingAddressSection-DM9NYbmX-CPcRwkU8.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-CFIeHxxw-Ch_NCmop.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-rC3PQdjG-DYE6kzDs.js";import"./SetUpAccountSection-DDe06VBR-B9IJiM9A.js";import"./SetUpDefaultSection-B6pcOXMO-eZCrqrSe.js";import"./ChaseOverlay-CHWBgNa9-BopXJjvt.js";const Q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J($[3],$[3]),subTitlePaddingBottom:new J($[3],$[3])},Fe=e=>`${e}_form`,_e=xe.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:O,googleAPIKey:j,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:F,..._})=>{const u=Ce(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:D,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:G,handleLogOutClick:N,onZeniLogoClick:Z,onAddressEditHandler:x}=_,W=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(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}=_e,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=Ve(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};A.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ie(()=>ge(s,a))});return()=>{t.unsubscribe()}}),A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(v(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};h.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 he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),s=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(Q);t&&a&&(ye(),T("link_payment_account"),F(me,!1,!0))};A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=A.useState(!1);return o.jsxs(De,{children:[o.jsxs(Me,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(Ze,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:Z})})}),o.jsx(ve,{...r,children:o.jsx(Ge,{id:Fe(ie),children:o.jsxs(Re,{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:h,isValid:ne(),onFetchLinkTokenClick:D,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:G,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:j,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${ie}`,leftSideComponent:o.jsx(Ne,{windowSize:u,children:o.jsx(je,{signedInUser:P,currentTenant:V,onLogOutClick:N})}),style:{width:u==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:Se,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&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:w,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:y,stripeKey:O,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{j as r,X as Me,u as Zt,a as en,c3 as me,M as We,a5 as He,D as mt,H as Qe,l as K,aW as tn,o as re,F as nn,q as M,a7 as an,h2 as on,fE as sn,fc as ft,cw as xt,cx as yt,C as fe,fH as ye,cg as rn,t as cn,h3 as gt,E as ht,ce as ln,fG as dn}from"./index-DEtloYMb.js";import{b as p,n as P,k as It}from"./vendor-CnQcJ2Lu.js";import{F as pn}from"./HelpButton-CkSfhBfN-BCuT-w0J.js";import{t as St,e as un}from"./PaymentAccountSetupBillingAddressSection-DM9NYbmX-C_WC5GD-.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-CFIeHxxw-SHM_Ui8B.js";import{G as fn,o as yn}from"./CompanyOfficerDetailsSection-DVG0lvX--Dfy9v0Wy.js";import{o as gn}from"./QBOSetupSection-DJBfLeXn-CaDVg5Hs.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-rC3PQdjG-DZoBtMzd.js";import"./SetUpAccountSection-DDe06VBR--XDyyAq7.js";import"./SetUpDefaultSection-B6pcOXMO-DgPwbXlv.js";import"./ChaseOverlay-CHWBgNa9-BGn2Q_2a.js";import"./LabeledAddressValueField-D72yUpQl-C0ZR7mu4.js";import"./LabeledCreatableSingleSelectField-CCXfjgxP-BI63rs1t.js";import"./LabeledDocumentField-aYYBY16j-D9fngETw.js";import"./DocumentSecurityBanner-C5w0d_S8-DMiwYsyK.js";import"./QBOConnectionDialog-CzuH4c1o-CmxBeQPY.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:v,verifiedPhoneNumber:x,onPhoneVerified:y,...I})=>{const m=Me(),V=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:$}=l,T=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:V??[],allNationalityCountries:c,sectionHeader:$,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:T,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...I})})},Sn=P.div`
1
+ import{j as r,X as Me,u as Zt,a as en,c3 as me,M as We,a5 as He,D as mt,H as Qe,l as K,aW as tn,o as re,F as nn,q as M,a7 as an,h2 as on,fE as sn,fc as ft,cw as xt,cx as yt,C as fe,fH as ye,cg as rn,t as cn,h3 as gt,E as ht,ce as ln,fG as dn}from"./index-BFn0iyzF.js";import{b as p,n as P,k as It}from"./vendor-CnQcJ2Lu.js";import{F as pn}from"./HelpButton-CkSfhBfN-l0ZmaZgI.js";import{t as St,e as un}from"./PaymentAccountSetupBillingAddressSection-DM9NYbmX-CPcRwkU8.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-CFIeHxxw-Ch_NCmop.js";import{G as fn,o as yn}from"./CompanyOfficerDetailsSection-DVG0lvX--DVsfgUwx.js";import{o as gn}from"./QBOSetupSection-DJBfLeXn-n3W_hKe8.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-rC3PQdjG-DYE6kzDs.js";import"./SetUpAccountSection-DDe06VBR-B9IJiM9A.js";import"./SetUpDefaultSection-B6pcOXMO-eZCrqrSe.js";import"./ChaseOverlay-CHWBgNa9-BopXJjvt.js";import"./LabeledAddressValueField-D72yUpQl-EukAFw0M.js";import"./LabeledCreatableSingleSelectField-CCXfjgxP-CnxEpEdS.js";import"./LabeledDocumentField-aYYBY16j-DiHUA7gr.js";import"./DocumentSecurityBanner-C5w0d_S8-7kR46baw.js";import"./QBOConnectionDialog-CzuH4c1o-C7pXVe4U.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:v,verifiedPhoneNumber:x,onPhoneVerified:y,...I})=>{const m=Me(),V=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:$}=l,T=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:V??[],allNationalityCountries:c,sectionHeader:$,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:T,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...I})})},Sn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{X as M,d3 as U,y as W,u as D,M as A,j as e,aW as Z,o as t,Y as k,aG as H,l as I,t as R,$ as V,g as l,r as y,c as _,k as N,c0 as J,Z as G,ak as K}from"./index-DEtloYMb.js";import{b as n,n as i}from"./vendor-CnQcJ2Lu.js";import X from"./ConfettiBurst-BYoGZ66F-DY-7GLNq.js";import{F as Y}from"./HelpButton-CkSfhBfN-BCuT-w0J.js";import{f as q}from"./ProductsCarousel-BojgZxY7-C7ixhh1B.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-rC3PQdjG-DZoBtMzd.js";const Q=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),We=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:b=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=M(),x=U().analytics,f=W(),L=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=S,O=D(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=F;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,I.getProductSettingsString(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(Z,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ke,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(ye,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx($e,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:p(a)[0]})]}),e.jsx(C,{children:p(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(q,{stopCarousel:w,showUpdatePaymentDetailButton:u})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(H,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(Y,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(X,{showConfetti:b})]})},te=i.div`
1
+ import{X as M,d3 as U,y as W,u as D,M as A,j as e,aW as Z,o as t,Y as k,aG as H,l as I,t as R,$ as V,g as l,r as y,c as _,k as N,c0 as J,Z as G,ak as K}from"./index-BFn0iyzF.js";import{b as n,n as i}from"./vendor-CnQcJ2Lu.js";import X from"./ConfettiBurst-BYoGZ66F-BF6awnnE.js";import{F as Y}from"./HelpButton-CkSfhBfN-l0ZmaZgI.js";import{f as q}from"./ProductsCarousel-BojgZxY7-DdyXJr2w.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-rC3PQdjG-DYE6kzDs.js";const Q=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),We=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:b=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=M(),x=U().analytics,f=W(),L=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=S,O=D(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=F;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,I.getProductSettingsString(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(Z,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ke,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(ye,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx($e,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:p(a)[0]})]}),e.jsx(C,{children:p(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(q,{stopCarousel:w,showUpdatePaymentDetailButton:u})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(H,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(Y,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(X,{showConfetti:b})]})},te=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,I as Se,J as Xt,L as Qt,N as er,O as tr,P as rr,R as ar,U as B,M as u,X as Z,V as _,Y as w,_ as A,a0 as z,a1 as ir,a2 as or,a3 as nr,a4 as dr,q as L,a as sr,a5 as Ge,a6 as lr,F as cr,a7 as mr,C as R,a8 as W,a9 as N,m as G,aa as Ye,ab as T,ac as S,ad as Je,u as ee,v as P,ae as pr,af as hr,ag as gr,Q as qe,g as j,ah as ur,ai as xr,aj as Cr,ak as fr,al as je,Z as Xe,t as Qe,am as et,an as tt,ao as rt,h as kr,ap as yr,aq as at,ar as br,as as vr,at as it,au as ot,av as $e,aw as wr,ax as jr,ay as $r,az as Dr,aA as Mr,aB as Er,aC as Lr}from"./index-DEtloYMb.js";import{b as n,n as d,f as $,j as Tr,k as nt}from"./vendor-CnQcJ2Lu.js";import{k as Sr,L as Br}from"./ArAgingChart-BmfMCB8_-Bg3m3QlY.js";import{E as Pr,T as De,I as dt}from"./ReloadCard-CqyGWGqs-B2pPTz9i.js";import{L as Ir,O as me,c as Y}from"./TopExCard-B4T3kqhZ-Boo9L6AS.js";import{H as Ar,Y as _r,P as Wr,G as zr,N as Or}from"./RevenueChart-QoBLII7z-Brgj42T7.js";import Rr from"./InsightsCardStack-wcWhovKK-DSw729j8.js";import{a as Nr}from"./AccountsPromoCardStack-oPvi6hmo-Cb1NCYmc.js";import{c as F}from"./SummaryCard-oqK_zyxl-DP8NWbIJ.js";import{t as Fr,o as Hr}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{b as ge}from"./NavigationArrow-BPQ9vRqR-CA2ua3KM.js";import{f as st}from"./NavigationDots-Toh5TKEv-D4TuvGNx.js";import Zr from"./CompanyPassportCard-DBZRV0g0-BA5CzU7Q.js";import{C as Vr}from"./gift-box-Cmt9OgIZ-DKWN92w0.js";import Ur from"./InformationCardStack-i76c5dym-B_ZpROXq.js";import{p as lt}from"./chartTypes-DYAHlgKd-DnqAO3Rp.js";import{h as Kr}from"./toCOABalancesWithID-B8NxsLlK-741DYvDg.js";import{V as Gr}from"./toChartData-CxZEcdj_-B9fAXWHm.js";import{r as Yr,i as Jr}from"./graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js";import{A as qr,J as Xr}from"./PromoBaseCards-DPAkjdDp-BSbN47iG.js";import Qr from"./ConfettiBurst-BYoGZ66F-DY-7GLNq.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const ea=d(N)`
1
+ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,I as Se,J as Xt,L as Qt,N as er,O as tr,P as rr,R as ar,U as B,M as u,X as Z,V as _,Y as w,_ as A,a0 as z,a1 as ir,a2 as or,a3 as nr,a4 as dr,q as L,a as sr,a5 as Ge,a6 as lr,F as cr,a7 as mr,C as R,a8 as W,a9 as N,m as G,aa as Ye,ab as T,ac as S,ad as Je,u as ee,v as P,ae as pr,af as hr,ag as gr,Q as qe,g as j,ah as ur,ai as xr,aj as Cr,ak as fr,al as je,Z as Xe,t as Qe,am as et,an as tt,ao as rt,h as kr,ap as yr,aq as at,ar as br,as as vr,at as it,au as ot,av as $e,aw as wr,ax as jr,ay as $r,az as Dr,aA as Mr,aB as Er,aC as Lr}from"./index-BFn0iyzF.js";import{b as n,n as d,f as $,j as Tr,k as nt}from"./vendor-CnQcJ2Lu.js";import{k as Sr,L as Br}from"./ArAgingChart-BmfMCB8_-DmvBDcyM.js";import{E as Pr,T as De,I as dt}from"./ReloadCard-CqyGWGqs-_YURCGpq.js";import{L as Ir,O as me,c as Y}from"./TopExCard-B4T3kqhZ-5leQC_es.js";import{H as Ar,Y as _r,P as Wr,G as zr,N as Or}from"./RevenueChart-QoBLII7z-BxG5kvro.js";import Rr from"./InsightsCardStack-wcWhovKK-D5i-CS8Q.js";import{a as Nr}from"./AccountsPromoCardStack-oPvi6hmo-OA0s77-O.js";import{c as F}from"./SummaryCard-oqK_zyxl-CPgSyc_4.js";import{t as Fr,o as Hr}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{b as ge}from"./NavigationArrow-BPQ9vRqR-CplDa_T1.js";import{f as st}from"./NavigationDots-Toh5TKEv-CA0n9HQq.js";import Zr from"./CompanyPassportCard-DBZRV0g0-BbdPQsC4.js";import{C as Vr}from"./gift-box-Cmt9OgIZ-DKWN92w0.js";import Ur from"./InformationCardStack-i76c5dym-B2hRo2sD.js";import{p as lt}from"./chartTypes-DYAHlgKd-H1smi7OR.js";import{h as Kr}from"./toCOABalancesWithID-B8NxsLlK-f7IcEqR5.js";import{V as Gr}from"./toChartData-CxZEcdj_-BYbG-aHT.js";import{r as Yr,i as Jr}from"./graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js";import{A as qr,J as Xr}from"./PromoBaseCards-DPAkjdDp-BGlT4RI_.js";import Qr from"./ConfettiBurst-BYoGZ66F-BF6awnnE.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const ea=d(N)`
2
2
  color: ${e=>e.theme.colors.champion};
3
3
  `,Be=d.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{X as O,u as J,M as f,y as Ce,l as D,j as s,aW as Ge,e as Ue,D as Ze,aY as qe,o as d,C as R,H as K,aZ as Je,v as oe,q as N,ao as Ke,ab as Xe,a_ as Qe,a6 as je,K as $e,g as T,Z as ke,aa as et,av as tt,n as st,a$ as ot,b0 as at,b1 as nt,b2 as ne,b3 as it,b4 as rt,m as ct,b5 as lt}from"./index-DEtloYMb.js";import{b as _,f as X,n as u,k as Oe}from"./vendor-CnQcJ2Lu.js";import{m as U,l as te}from"./analyticsHelper-B3QVnfWf-Ii66sXHH.js";import{c as dt,h as pt}from"./ReportTableViewSelector-B8ZW0kxU-_1sW9OpN.js";import{F as ut}from"./InsightsSection-CCzgI0uK-wk2msd_s.js";import{N as he,k as mt,q as gt,H as Q,G as pe}from"./detailCommon-CsukAL3T-lIItUxyr.js";import{N as ht,G as ft,H as fe,Y as be,P as xe}from"./RevenueChart-QoBLII7z-Brgj42T7.js";import{C as bt}from"./NoDataChart-CVM-QPHf-C-oyhVAy.js";import{n as I}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as xt}from"./TimeRangeSwitcher-AWKZ7PNb-CoqhGH2B.js";import{b as Be}from"./TimeframeSwitcher-BlL5woGb-Cmk__EzQ.js";import{a as _t,r as V,b as wt,i as ue,D as St}from"./CollapsableReportTable-ZObwzBbY-BfOvomCm.js";import{S as yt,M as vt,g as Ct,L as ee,D as Pe,T as Le,I as Ne}from"./mapSectionWithAcOnlyToTreeNode-t5fK12Uc-CbMkSgtE.js";import{d as jt}from"./NoDataTable-CM-tApqo-CD71WwmK.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./NavigationDots-Toh5TKEv-D4TuvGNx.js";import"./chartTypes-DYAHlgKd-DnqAO3Rp.js";import"./toCOABalancesWithID-B8NxsLlK-741DYvDg.js";import"./toChartData-CxZEcdj_-B9fAXWHm.js";import"./AccountRow-DVnBiB7_-BUb357r1.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const $t=e=>_.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},_.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),_.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),_.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),_.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),_.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),kt=u.div`
1
+ import{X as O,u as J,M as f,y as Ce,l as D,j as s,aW as Ge,e as Ue,D as Ze,aY as qe,o as d,C as R,H as K,aZ as Je,v as oe,q as N,ao as Ke,ab as Xe,a_ as Qe,a6 as je,K as $e,g as T,Z as ke,aa as et,av as tt,n as st,a$ as ot,b0 as at,b1 as nt,b2 as ne,b3 as it,b4 as rt,m as ct,b5 as lt}from"./index-BFn0iyzF.js";import{b as _,f as X,n as u,k as Oe}from"./vendor-CnQcJ2Lu.js";import{m as U,l as te}from"./analyticsHelper-B3QVnfWf-Cfyqi3Js.js";import{c as dt,h as pt}from"./ReportTableViewSelector-B8ZW0kxU-8Kw8Bgrt.js";import{F as ut}from"./InsightsSection-CCzgI0uK-YzyDaTgw.js";import{N as he,k as mt,q as gt,H as Q,G as pe}from"./detailCommon-CsukAL3T-BWIfVtAp.js";import{N as ht,G as ft,H as fe,Y as be,P as xe}from"./RevenueChart-QoBLII7z-BxG5kvro.js";import{C as bt}from"./NoDataChart-CVM-QPHf-C9B0uxva.js";import{n as I}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as xt}from"./TimeRangeSwitcher-AWKZ7PNb-JsWizZnK.js";import{b as Be}from"./TimeframeSwitcher-BlL5woGb-CYQePLIH.js";import{a as _t,r as V,b as wt,i as ue,D as St}from"./CollapsableReportTable-ZObwzBbY-BysjoVFa.js";import{S as yt,M as vt,g as Ct,L as ee,D as Pe,T as Le,I as Ne}from"./mapSectionWithAcOnlyToTreeNode-t5fK12Uc--riMsIoZ.js";import{d as jt}from"./NoDataTable-CM-tApqo-BFJr-jl2.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./NavigationDots-Toh5TKEv-CA0n9HQq.js";import"./chartTypes-DYAHlgKd-H1smi7OR.js";import"./toCOABalancesWithID-B8NxsLlK-f7IcEqR5.js";import"./toChartData-CxZEcdj_-BYbG-aHT.js";import"./AccountRow-DVnBiB7_-J44FakMX.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const $t=e=>_.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},_.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),_.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),_.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),_.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),_.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),kt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{_ as $,gW as u,X as y,j as l,o as i,t as d,m as c}from"./index-DEtloYMb.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{g as k}from"./BoxItem-D3v5T6bP-DCh7smhZ.js";import{o as v}from"./commonDimensions-Pkc8qIrn-B-bjjlb8.js";function M({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:g}=e,f=r.length>0?r:m,a=$("0,0.00",x),n=u(g),o=y(),h=l.jsxs(N,{children:[l.jsx(C,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(E,{windowSize:o,children:[l.jsx(D,{children:f}),n!=null?l.jsxs(P,{windowSize:o,children:[l.jsx(W,{windowSize:o}),l.jsx(R,{color:n?.color,children:n?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(A,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{_ as $,gW as u,X as y,j as l,o as i,t as d,m as c}from"./index-BFn0iyzF.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{g as k}from"./BoxItem-D3v5T6bP-BOLCnSeA.js";import{o as v}from"./commonDimensions-Pkc8qIrn-CnS_lHb5.js";function M({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:g}=e,f=r.length>0?r:m,a=$("0,0.00",x),n=u(g),o=y(),h=l.jsxs(N,{children:[l.jsx(C,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(E,{windowSize:o,children:[l.jsx(D,{children:f}),n!=null?l.jsxs(P,{windowSize:o,children:[l.jsx(W,{windowSize:o}),l.jsx(R,{color:n?.color,children:n?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(A,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -1,4 +1,4 @@
1
- import{u as S,X as z,h0 as C,j as e,aW as D,M as Y,ao as B,o as r,g,bT as F,l as L,C as R,v as T,t as A,q as b,dc as I,dd as E,d7 as N,de as O}from"./index-DEtloYMb.js";import{b as f,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as P}from"./BoxItem-D3v5T6bP-DCh7smhZ.js";import{o as V}from"./commonDimensions-Pkc8qIrn-B-bjjlb8.js";import{H as X}from"./DepositAccTransactionItem-CP_2AL3M-BdaPu6PV.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const n=Y.getLocalizedStrings(),q={listItemMargin:new R(b[3],b[8])};function H(t){const d=I(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=E(d,o=>o.length>0);return N(m,o=>({date:o[0].transactionDate,transactions:O(o,h=>h.transactionDate,"desc")}))}const G=C(H),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=f.createRef(),p=f.useRef(null),l=G(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*V.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(U,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(W,{children:s.transactions.map((M,u)=>e.jsx(X,{data:M,boxType:P(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(J,{children:e.jsx($,{windowSize:o,children:e.jsx(Q,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(K,{children:[e.jsx(D,{title:`${j} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(B,{children:({height:i,width:c})=>e.jsx(Z,{ref:h,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
1
+ import{u as S,X as z,h0 as C,j as e,aW as D,M as Y,ao as B,o as r,g,bT as F,l as L,C as R,v as T,t as A,q as b,dc as I,dd as E,d7 as N,de as O}from"./index-BFn0iyzF.js";import{b as f,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as P}from"./BoxItem-D3v5T6bP-BOLCnSeA.js";import{o as V}from"./commonDimensions-Pkc8qIrn-CnS_lHb5.js";import{H as X}from"./DepositAccTransactionItem-CP_2AL3M-BUfk_EHJ.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const n=Y.getLocalizedStrings(),q={listItemMargin:new R(b[3],b[8])};function H(t){const d=I(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=E(d,o=>o.length>0);return N(m,o=>({date:o[0].transactionDate,transactions:O(o,h=>h.transactionDate,"desc")}))}const G=C(H),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=f.createRef(),p=f.useRef(null),l=G(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*V.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(U,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(W,{children:s.transactions.map((M,u)=>e.jsx(X,{data:M,boxType:P(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(J,{children:e.jsx($,{windowSize:o,children:e.jsx(Q,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(K,{children:[e.jsx(D,{title:`${j} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(B,{children:({height:i,width:c})=>e.jsx(Z,{ref:h,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
2
2
  margin: ${t=>`${r.sp0} ${q.listItemMargin.valuePx(t.windowSize)}`};
3
3
  `,J=a.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{at as w,X as p,j as i,M as f,C as o,o as n,au as x,Q as s,h as d,q as a}from"./index-DEtloYMb.js";import{n as r,b as t}from"./vendor-CnQcJ2Lu.js";const C=e=>t.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.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"}),t.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"}),t.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"}),t.createElement("g",{clipPath:"url(#clip0_1350_23850)"},t.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip1_1350_23850)"},t.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip2_1350_23850)"},t.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip3_1350_23850)"},t.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_1350_23850"},t.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),t.createElement("clipPath",{id:"clip1_1350_23850"},t.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),t.createElement("clipPath",{id:"clip2_1350_23850"},t.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),t.createElement("clipPath",{id:"clip3_1350_23850"},t.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:g}=f.getLocalizedStrings(),{businessVerification:m}=g,c={iconSize:new o(a[6],a[10]),gap:new o(a[2],a[3])},h={title:new s("smallSemiBold","standardSemiBold"),description:new s("smallRegular","standardRegular")},P=()=>{const[e]=w("Secure"),l=p();return i.jsxs(E,{windowSize:l,children:[e!=null?i.jsx(u,{windowSize:l,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):i.jsx(S,{windowSize:l}),i.jsxs(y,{children:[i.jsx(z,{windowSize:l,children:m.securityMessageTitle}),i.jsx(B,{windowSize:l,children:m.securityMessageDescription})]})]})},E=r.div`
1
+ import{at as w,X as p,j as i,M as f,C as o,o as n,au as x,Q as s,h as d,q as a}from"./index-BFn0iyzF.js";import{n as r,b as t}from"./vendor-CnQcJ2Lu.js";const C=e=>t.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.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"}),t.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"}),t.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"}),t.createElement("g",{clipPath:"url(#clip0_1350_23850)"},t.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip1_1350_23850)"},t.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip2_1350_23850)"},t.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip3_1350_23850)"},t.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_1350_23850"},t.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),t.createElement("clipPath",{id:"clip1_1350_23850"},t.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),t.createElement("clipPath",{id:"clip2_1350_23850"},t.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),t.createElement("clipPath",{id:"clip3_1350_23850"},t.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:g}=f.getLocalizedStrings(),{businessVerification:m}=g,c={iconSize:new o(a[6],a[10]),gap:new o(a[2],a[3])},h={title:new s("smallSemiBold","standardSemiBold"),description:new s("smallRegular","standardRegular")},P=()=>{const[e]=w("Secure"),l=p();return i.jsxs(E,{windowSize:l,children:[e!=null?i.jsx(u,{windowSize:l,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):i.jsx(S,{windowSize:l}),i.jsxs(y,{children:[i.jsx(z,{windowSize:l,children:m.securityMessageTitle}),i.jsx(B,{windowSize:l,children:m.securityMessageDescription})]})]})},E=r.div`
2
2
  display: flex;
3
3
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
4
4
  gap: ${e=>c.gap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{X as O,a as U,M as $,c3 as V,H as Q,l as j,j as n,bO as X,bQ as Y,bR as _,F as G,a7 as J,C as u,eR as K,o as Z,as as ee,q as a}from"./index-DEtloYMb.js";import{b as N,n as h}from"./vendor-CnQcJ2Lu.js";import{e as ne}from"./BankAccountSection-D1tQzNSO-piXQT6-V.js";import{M as te}from"./MagicLinkTitleSection-5B8jYoBn-ChnkNHHY.js";import{W as ae,A as oe}from"./BankAccountWarningSection-Dj_S6brX-2DYBSMY8.js";import{T as ie}from"./MailingDetailsSection-DwWeiSC0-CYpVyPYc.js";const i={paddingTopBottom:new u(a[3],a[3]),paddingRight:new u(a[3],a[8]),paddingLeft:new u(a[3],a[6]),buttonWidth:new u(140,140),marginLeft:new u(a[4],a[6])},B="domesticWireDetailsPage",f="bankAccountSection",w="mailingAddressSection",T=e=>`${e}_form`,he=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:y,isDisabled:A,companyName:v,isMagicLink:g,currencySymbol:R,amount:D,onSaveHandler:P,onWireDetailsUpdated:z,onFetchBankName:E,onAddressClick:L,onBackClick:C}=e,l=O(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:N.useMemo(()=>se(s,r),[s,r])}),[M,p]=N.useState(!1),t=$.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=$.getLocalizedStrings().common.footer,F=t.wireDetails.domestic,I={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},q=async(k,m)=>{const d=m[f].bankRoutingNumber;z(m),k===`${f}.bankRoutingNumber`&&d?.length===9&&K.test(d)===!0&&E?.(d)};N.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&V(()=>q(d,m))});return()=>{k.unsubscribe()}});const H=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&P("wire")}),S=!Q(y!=null?j.getFormattedAddress(y):y,r!=null?j.getFormattedAddress(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[M===!0?n.jsx(X,{titleComponent:n.jsx(_,{children:t.discardTitle}),descriptionComponent:n.jsx(Y,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:I}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:v??"",currencySymbol:R??"",amount:D??0}):F.addWireDetails,isMagicLink:g,isDirty:S,onBackClick:C,setShowConfirmationPopup:p}),o?.fetchState==="Error"&&o.error?.code===409?n.jsx(oe,{warningText:t.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:l,children:t.bankAccountCommon.accountDetailsTitle}),n.jsx(G,{...c,children:n.jsxs("form",{id:T(B),onSubmit:H,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:f,isDisabled:A})}),n.jsx(ie,{sectionId:w,isDisabled:A,addressType:x,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(J,{formId:T(B),primaryBtn:{label:g?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:o.fetchState==="In-Progress",style:{width:i.buttonWidth.value(l)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(l)},shouldResetOnCancel:!1,onClick:()=>{S?p(!0):(c.reset(),C?.())}}})]})},se=(e,o)=>({[f]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[w]:{mailingAddress:o}}),re=e=>{if(e==null)return!1;const{bankAccountName:o,bankAccountNumber:b,bankName:x,bankRoutingNumber:s}=e;return!!o||!!b||!!x||!!s},ce=h.div`
1
+ import{X as O,a as U,M as $,c3 as V,H as Q,l as j,j as n,bO as X,bQ as Y,bR as _,F as G,a7 as J,C as u,eR as K,o as Z,as as ee,q as a}from"./index-BFn0iyzF.js";import{b as N,n as h}from"./vendor-CnQcJ2Lu.js";import{e as ne}from"./BankAccountSection-D1tQzNSO-C_sKIdwB.js";import{M as te}from"./MagicLinkTitleSection-5B8jYoBn-oxb2T2eH.js";import{W as ae,A as oe}from"./BankAccountWarningSection-Dj_S6brX-C9ELW6aN.js";import{T as ie}from"./MailingDetailsSection-DwWeiSC0-D_M7IxPH.js";const i={paddingTopBottom:new u(a[3],a[3]),paddingRight:new u(a[3],a[8]),paddingLeft:new u(a[3],a[6]),buttonWidth:new u(140,140),marginLeft:new u(a[4],a[6])},B="domesticWireDetailsPage",f="bankAccountSection",w="mailingAddressSection",T=e=>`${e}_form`,he=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:y,isDisabled:A,companyName:v,isMagicLink:g,currencySymbol:R,amount:D,onSaveHandler:P,onWireDetailsUpdated:z,onFetchBankName:E,onAddressClick:L,onBackClick:C}=e,l=O(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:N.useMemo(()=>se(s,r),[s,r])}),[M,p]=N.useState(!1),t=$.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=$.getLocalizedStrings().common.footer,F=t.wireDetails.domestic,I={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},q=async(k,m)=>{const d=m[f].bankRoutingNumber;z(m),k===`${f}.bankRoutingNumber`&&d?.length===9&&K.test(d)===!0&&E?.(d)};N.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&V(()=>q(d,m))});return()=>{k.unsubscribe()}});const H=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&P("wire")}),S=!Q(y!=null?j.getFormattedAddress(y):y,r!=null?j.getFormattedAddress(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[M===!0?n.jsx(X,{titleComponent:n.jsx(_,{children:t.discardTitle}),descriptionComponent:n.jsx(Y,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:I}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:v??"",currencySymbol:R??"",amount:D??0}):F.addWireDetails,isMagicLink:g,isDirty:S,onBackClick:C,setShowConfirmationPopup:p}),o?.fetchState==="Error"&&o.error?.code===409?n.jsx(oe,{warningText:t.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:l,children:t.bankAccountCommon.accountDetailsTitle}),n.jsx(G,{...c,children:n.jsxs("form",{id:T(B),onSubmit:H,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:f,isDisabled:A})}),n.jsx(ie,{sectionId:w,isDisabled:A,addressType:x,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(J,{formId:T(B),primaryBtn:{label:g?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:o.fetchState==="In-Progress",style:{width:i.buttonWidth.value(l)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(l)},shouldResetOnCancel:!1,onClick:()=>{S?p(!0):(c.reset(),C?.())}}})]})},se=(e,o)=>({[f]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[w]:{mailingAddress:o}}),re=e=>{if(e==null)return!1;const{bankAccountName:o,bankAccountNumber:b,bankName:x,bankRoutingNumber:s}=e;return!!o||!!b||!!x||!!s},ce=h.div`
2
2
  padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
3
  padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
4
  padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{j as t,bq as Je,o as a,X as le,br as et,n as Le,l as d,g as de,C as H,a6 as tt,M as Y,bs as rt,bf as ze,q as z,as as Be,t as T,bm as we,r as G,m as ce,K as ee,u as Ne,bt as at,bu as me,bv as pe,e as Ee,bw as Qe,p as fe,bx as q,bd as ot,av as st,by as it,bz as nt,b5 as lt,bA as dt,Z as ct,bB as mt,bC as pt,b0 as ft}from"./index-DEtloYMb.js";import{b as u,n,k as Ve,f as he}from"./vendor-CnQcJ2Lu.js";import{m as ht}from"./analyticsHelper-B3QVnfWf-Ii66sXHH.js";import{c as ut,h as bt}from"./ReportTableViewSelector-B8ZW0kxU-_1sW9OpN.js";import{t as gt}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./CollapsableReportTable-ZObwzBbY-BfOvomCm.js";import"./AccountRow-DVnBiB7_-BUb357r1.js";const xt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function te(e,o,r,s){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return s!=null?Math.min(i,s):i}function J(e,o,r,s=1){if(s>1){const i=d.subtractPeriod(r,e,s-1,o),{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ye{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,s,i,l,p=s.endDate){if(s.endDate.isBefore(s.startDate))throw Error(`Invalid data available period ${JSON.stringify(s)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=s,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return J(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=d.addPeriod(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:s}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(s,i,null,"[]")&&r.isBetween(s,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let s=te(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(s>this.maxNumberOfPeriods){s=this._numberOfPeriods;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(d.addPeriod(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){s=1;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=s,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const ae=["1","2","3","4"],oe=d.dateNow().localeData().monthsShort(),P={pdf:12,excel:100,csv:100},N=(e,o,r)=>{const s=Y.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let f=l;for(;f.isSameOrBefore(p,"year");)i.push(f.format(s)),f=d.addPeriod(f,e,1,"year")}else{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");let{fyYear:f}=d.getFYQuarterAndYear(l,e);const{fyYear:b}=d.getFYQuarterAndYear(p,e);for(;f<=b;)i.push(`${f}`),f++}return i},yt=n.div`
1
+ import{j as t,bq as Je,o as a,X as le,br as et,n as Le,l as d,g as de,C as H,a6 as tt,M as Y,bs as rt,bf as ze,q as z,as as Be,t as T,bm as we,r as G,m as ce,K as ee,u as Ne,bt as at,bu as me,bv as pe,e as Ee,bw as Qe,p as fe,bx as q,bd as ot,av as st,by as it,bz as nt,b5 as lt,bA as dt,Z as ct,bB as mt,bC as pt,b0 as ft}from"./index-BFn0iyzF.js";import{b as u,n,k as Ve,f as he}from"./vendor-CnQcJ2Lu.js";import{m as ht}from"./analyticsHelper-B3QVnfWf-Cfyqi3Js.js";import{c as ut,h as bt}from"./ReportTableViewSelector-B8ZW0kxU-8Kw8Bgrt.js";import{t as gt}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./CollapsableReportTable-ZObwzBbY-BysjoVFa.js";import"./AccountRow-DVnBiB7_-J44FakMX.js";const xt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function te(e,o,r,s){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return s!=null?Math.min(i,s):i}function J(e,o,r,s=1){if(s>1){const i=d.subtractPeriod(r,e,s-1,o),{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ye{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,s,i,l,p=s.endDate){if(s.endDate.isBefore(s.startDate))throw Error(`Invalid data available period ${JSON.stringify(s)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=s,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return J(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=d.addPeriod(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:s}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(s,i,null,"[]")&&r.isBetween(s,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let s=te(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(s>this.maxNumberOfPeriods){s=this._numberOfPeriods;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(d.addPeriod(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){s=1;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=s,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const ae=["1","2","3","4"],oe=d.dateNow().localeData().monthsShort(),P={pdf:12,excel:100,csv:100},N=(e,o,r)=>{const s=Y.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let f=l;for(;f.isSameOrBefore(p,"year");)i.push(f.format(s)),f=d.addPeriod(f,e,1,"year")}else{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");let{fyYear:f}=d.getFYQuarterAndYear(l,e);const{fyYear:b}=d.getFYQuarterAndYear(p,e);for(;f<=b;)i.push(`${f}`),f++}return i},yt=n.div`
2
2
  padding: ${a.sp3};
3
3
  border: 1px solid ${e=>e.borderColor.default};
4
4
  border-radius: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{X as a,j as i,bt as P,o,M as h,C as s,bp as y,Q as c,h as g,a6 as b,q as t,_ as L,jc as k,jd as C,je as R}from"./index-DEtloYMb.js";import{n}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,D=({rewardsPlan:e})=>{const r=[M(),_(),H({rewardsPlan:e})],d=a();return i.jsx(A,{children:r.map((f,j)=>i.jsxs(W,{children:[i.jsx(I,{children:f}),j<r.length-1?i.jsx(E,{windowSize:d}):null]},`step_${j}`))})},M=()=>{const e=a(),r=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"link",children:i.jsx(X,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},_=()=>{const e=a(),r=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"user",children:i.jsx(B,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},H=({rewardsPlan:e})=>{const r=a(),d=x.item3;return i.jsxs(p,{windowSize:r,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:r,icon:"money",children:i.jsx(N,{windowSize:r})}),i.jsx(S,{windowSize:r,children:d.title[e.planName]})]}),i.jsx($,{windowSize:r,children:i.jsx(u,{windowSize:r,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},p=n.div`
1
+ import{X as a,j as i,bt as P,o,M as h,C as s,bp as y,Q as c,h as g,a6 as b,q as t,_ as L,jc as k,jd as C,je as R}from"./index-BFn0iyzF.js";import{n}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,D=({rewardsPlan:e})=>{const r=[M(),_(),H({rewardsPlan:e})],d=a();return i.jsx(A,{children:r.map((f,j)=>i.jsxs(W,{children:[i.jsx(I,{children:f}),j<r.length-1?i.jsx(E,{windowSize:d}):null]},`step_${j}`))})},M=()=>{const e=a(),r=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"link",children:i.jsx(X,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},_=()=>{const e=a(),r=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"user",children:i.jsx(B,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},H=({rewardsPlan:e})=>{const r=a(),d=x.item3;return i.jsxs(p,{windowSize:r,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:r,icon:"money",children:i.jsx(N,{windowSize:r})}),i.jsx(S,{windowSize:r,children:d.title[e.planName]})]}),i.jsx($,{windowSize:r,children:i.jsx(u,{windowSize:r,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},p=n.div`
2
2
  border: 1px solid ${e=>e.theme.colors.grey3};
3
3
  border-radius: ${o.sp2};
4
4
  box-shadow: ${e=>`${o.sp0} 1px 2px ${o.sp0} ${e.theme.colors.dropShadowNormal}`};
@@ -1,4 +1,4 @@
1
- import{X as ae,M as de,fl as pe,u as ce,a as ue,a5 as me,j as t,bO as ge,bP as he,bQ as fe,bR as ye,gd as ve,Y as U,bV as xe,o as r,bt as be,F as $e,a7 as we,C as _,fo as Re,fp as Ce,fq as je,b_ as Oe,l as W,as as Pe,g as X,cn as ke,q as c}from"./index-DEtloYMb.js";import{b as $,n as o}from"./vendor-CnQcJ2Lu.js";import{x as Ie}from"./AllUserItems-zqRosy03-ampV7sMY.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledUserSingleSelectWithSubtitlesField-D-Huhkbq-B8_Gy80w.js";import"./RoleWithToolTip-TxLTa63q-S46u0htc.js";import"./LabeledZeniRolesDropDownField-WXH8xLJq-Bz0_UVs1.js";const j={containerPaddingTop:new _(c[3],c[3]),containerPaddingLeft:new _(c[3],c[6],c[6]),containerPaddingRight:new _(c[3],c[6],c[8]),buttonWidth:new _(85,85)},Y="editPeoplePage",w="userItems",a=de.getLocalizedStrings().peoplePage,He=({peopleDetails:e,managersList:u,classList:R,controllersList:O,mode:d,isZeniTenant:L,onCloseClick:P,onResetClick:k,onSaveClick:m,onDeleteUser:K,onPeopleLocalDataUpdated:Q,analytics:z,isReimbursementDisabled:D,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:y,isCardsOnlyTenant:v,isLiteRoleDisabled:F})=>{const C=ae(),[G,T]=$.useState(!1),[H,ee]=$.useState(-1),te=d==="zeni_only"?a.invitePage.editZeniTitle:a.invitePage.editTitle,se=$.useRef(null),E=$.useMemo(()=>pe(D,N,Z,y,v,F,q),[D,N,Z,y,v,F,q]),A=ce(),l=ue({mode:"onBlur",reValidateMode:"onChange",defaultValues:J(e.people,u,R,d,E,y,v),values:J(e.people,u,R,d,E,y,v)}),re=l.handleSubmit(()=>{V()&&m()},()=>{V(),console.warn("Edit Profile form error")}),V=()=>{const g=l.getValues();let n=!0;return g.userItems.forEach((h,x)=>{const{role:S,department:i,nonZeniRole:f,manager:p}=h;if(d==="zeni_only"){const s=S.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(l.setError(`${w}.${x}.role`,{type:"required"}),n=!1)}else{const s=f?.userRole.selectedRole;(s!=null&&f!=null?f.productsByUserRole[s].map(b=>b.selectedOption).filter(b=>b!=null):[]).length<1&&(l.setError(`${w}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),n=!1),s!=="investor_or_banker"&&i?.selectedOption==null&&(y||v||(l.setError(`${w}.${x}.department`,{type:"required"}),n=!1)),p?.selectedUser==null&&s!=="investor_or_banker"&&(l.setError(`${w}.${x}.manager`,{type:"required"}),n=!1)}}),n},ne=async(g,n)=>{const h=[],{userItems:x}=n,S=e.person?.userRole?.userRoleId;x.forEach(i=>{let f={};if(S!=null){if(d==="zeni_only")f={email:i.email,role:i.role.selectedOptions};else{const p=i.nonZeniRole?.userRole.selectedRole;let s=[];p==="admin"||p==="investor_or_banker"?s.push(p):s=p!=null?(i.nonZeniRole?.productsByUserRole[p]??[]).map(B=>W.toUserRoleTypeStrict(B.selectedOption?.value)).filter(B=>B!=null):[],p==="employee"&&s.length===0&&s.push("reimbursements_user");const b=W.hasInvestorBankerLevelAccess(s);f={email:i.email,role:s,departmentId:b?void 0:i.department?.selectedOption?.value,managerId:b?void 0:i.manager?.selectedUser}}h.push(f)}}),Q(h)};$.useEffect(()=>{const g=l.watch((n,{name:h})=>{h!=null&&n!=null&&ne(h,n)});return()=>{g.unsubscribe()}});const oe=()=>{T(!0)},le={onOkClick:()=>{const g=e.person;z?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),K?.(e.person)},onCancelClick:()=>{T(!1)}},M=me(e.person?.update),I=e.person?.update,ie=a.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return $.useEffect(()=>{I==null&&M==="removeUsers"&&(T(!1),k?.())},[I,M]),t.jsxs(t.Fragment,{children:[G===!0?t.jsx(ge,{titleComponent:t.jsx(ye,{children:a.deleteOverlay.title}),descriptionComponent:t.jsx(fe,{children:ie}),primaryButtonText:a.deleteOverlay.remove,secondaryButtonText:a.deleteOverlay.cancel,action:le,proceedButtonVariant:"danger",isLoading:I==="removeUsers",isDisabled:I==="removeUsers",style:{background:A.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(ze,{}),t.jsx(Be,{children:t.jsx(Ue,{src:e.person?.user.photo?.toString()??he,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(ve,{title:te,backgroundColor:A.colors.grey4,style:{zIndex:4},onCloseClick:P,isTitleAlignLeft:C==="small"}),t.jsxs(_e,{"data-testid":U("edit-people-page-container"),windowSize:C,ref:se,children:[t.jsxs(Se,{children:[t.jsx(xe,{personBasic:e.person?.user,styles:{height:r.sp6,width:r.sp6}}),t.jsxs(Le,{children:[t.jsx(Te,{children:e.person?.user?.firstName?t.jsxs(Ee,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ne,{className:"delete-icon-wrapper","data-testid":U("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:a.deleteOverlay.title,placement:"top",children:t.jsx(De,{windowsize:C})})})]})]}),t.jsx($e,{...l,children:t.jsx("form",{id:`${Y}_form`,onSubmit:re,children:t.jsx(Ie,{control:l.control,sectionId:w,deleteConfirmationIndex:H,updateDeleteConfirmationIndex:ee,mode:d,isZeniTenant:L,classList:R,managersList:u,controllersList:O,customerRoleOptions:E,isBankingOnlyTenant:y,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:z})})})]}),t.jsx(we,{formId:`${Y}_form`,"data-testid":U("edit-people-page-footer"),primaryBtn:{label:a.invitePage.update,style:{width:j.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:a.invitePage.cancel,style:{width:j.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:P},separatorStyle:{marginRight:r.sp4}})]})},J=(e,u,R,O,d,L,P)=>{const k=R.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[w]:[{userIndex:0,email:e[0].email,role:O==="zeni_only"?{allOptions:Oe.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:O!=="zeni_only"?{userRole:{selectedRole:je(e[0]?.role),allRootRole:Ce(L,P)},productsByUserRole:Re(e[0]?.role,d)}:void 0,manager:{allUsers:u,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:k,selectedOption:k.find(m=>m.value===e[0]?.departmentId)}}]}},et=(e,u)=>`${e}.${u}`,_e=o.div`
1
+ import{X as ae,M as de,fl as pe,u as ce,a as ue,a5 as me,j as t,bO as ge,bP as he,bQ as fe,bR as ye,gd as ve,Y as U,bV as xe,o as r,bt as be,F as $e,a7 as we,C as _,fo as Re,fp as Ce,fq as je,b_ as Oe,l as W,as as Pe,g as X,cn as ke,q as c}from"./index-BFn0iyzF.js";import{b as $,n as o}from"./vendor-CnQcJ2Lu.js";import{x as Ie}from"./AllUserItems-zqRosy03-Cs4csIlw.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledUserSingleSelectWithSubtitlesField-D-Huhkbq-B8D7YUkE.js";import"./RoleWithToolTip-TxLTa63q-h_h2zj3V.js";import"./LabeledZeniRolesDropDownField-WXH8xLJq-qoydEE07.js";const j={containerPaddingTop:new _(c[3],c[3]),containerPaddingLeft:new _(c[3],c[6],c[6]),containerPaddingRight:new _(c[3],c[6],c[8]),buttonWidth:new _(85,85)},Y="editPeoplePage",w="userItems",a=de.getLocalizedStrings().peoplePage,He=({peopleDetails:e,managersList:u,classList:R,controllersList:O,mode:d,isZeniTenant:L,onCloseClick:P,onResetClick:k,onSaveClick:m,onDeleteUser:K,onPeopleLocalDataUpdated:Q,analytics:z,isReimbursementDisabled:D,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:y,isCardsOnlyTenant:v,isLiteRoleDisabled:F})=>{const C=ae(),[G,T]=$.useState(!1),[H,ee]=$.useState(-1),te=d==="zeni_only"?a.invitePage.editZeniTitle:a.invitePage.editTitle,se=$.useRef(null),E=$.useMemo(()=>pe(D,N,Z,y,v,F,q),[D,N,Z,y,v,F,q]),A=ce(),l=ue({mode:"onBlur",reValidateMode:"onChange",defaultValues:J(e.people,u,R,d,E,y,v),values:J(e.people,u,R,d,E,y,v)}),re=l.handleSubmit(()=>{V()&&m()},()=>{V(),console.warn("Edit Profile form error")}),V=()=>{const g=l.getValues();let n=!0;return g.userItems.forEach((h,x)=>{const{role:S,department:i,nonZeniRole:f,manager:p}=h;if(d==="zeni_only"){const s=S.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(l.setError(`${w}.${x}.role`,{type:"required"}),n=!1)}else{const s=f?.userRole.selectedRole;(s!=null&&f!=null?f.productsByUserRole[s].map(b=>b.selectedOption).filter(b=>b!=null):[]).length<1&&(l.setError(`${w}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),n=!1),s!=="investor_or_banker"&&i?.selectedOption==null&&(y||v||(l.setError(`${w}.${x}.department`,{type:"required"}),n=!1)),p?.selectedUser==null&&s!=="investor_or_banker"&&(l.setError(`${w}.${x}.manager`,{type:"required"}),n=!1)}}),n},ne=async(g,n)=>{const h=[],{userItems:x}=n,S=e.person?.userRole?.userRoleId;x.forEach(i=>{let f={};if(S!=null){if(d==="zeni_only")f={email:i.email,role:i.role.selectedOptions};else{const p=i.nonZeniRole?.userRole.selectedRole;let s=[];p==="admin"||p==="investor_or_banker"?s.push(p):s=p!=null?(i.nonZeniRole?.productsByUserRole[p]??[]).map(B=>W.toUserRoleTypeStrict(B.selectedOption?.value)).filter(B=>B!=null):[],p==="employee"&&s.length===0&&s.push("reimbursements_user");const b=W.hasInvestorBankerLevelAccess(s);f={email:i.email,role:s,departmentId:b?void 0:i.department?.selectedOption?.value,managerId:b?void 0:i.manager?.selectedUser}}h.push(f)}}),Q(h)};$.useEffect(()=>{const g=l.watch((n,{name:h})=>{h!=null&&n!=null&&ne(h,n)});return()=>{g.unsubscribe()}});const oe=()=>{T(!0)},le={onOkClick:()=>{const g=e.person;z?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),K?.(e.person)},onCancelClick:()=>{T(!1)}},M=me(e.person?.update),I=e.person?.update,ie=a.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return $.useEffect(()=>{I==null&&M==="removeUsers"&&(T(!1),k?.())},[I,M]),t.jsxs(t.Fragment,{children:[G===!0?t.jsx(ge,{titleComponent:t.jsx(ye,{children:a.deleteOverlay.title}),descriptionComponent:t.jsx(fe,{children:ie}),primaryButtonText:a.deleteOverlay.remove,secondaryButtonText:a.deleteOverlay.cancel,action:le,proceedButtonVariant:"danger",isLoading:I==="removeUsers",isDisabled:I==="removeUsers",style:{background:A.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(ze,{}),t.jsx(Be,{children:t.jsx(Ue,{src:e.person?.user.photo?.toString()??he,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(ve,{title:te,backgroundColor:A.colors.grey4,style:{zIndex:4},onCloseClick:P,isTitleAlignLeft:C==="small"}),t.jsxs(_e,{"data-testid":U("edit-people-page-container"),windowSize:C,ref:se,children:[t.jsxs(Se,{children:[t.jsx(xe,{personBasic:e.person?.user,styles:{height:r.sp6,width:r.sp6}}),t.jsxs(Le,{children:[t.jsx(Te,{children:e.person?.user?.firstName?t.jsxs(Ee,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ne,{className:"delete-icon-wrapper","data-testid":U("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:a.deleteOverlay.title,placement:"top",children:t.jsx(De,{windowsize:C})})})]})]}),t.jsx($e,{...l,children:t.jsx("form",{id:`${Y}_form`,onSubmit:re,children:t.jsx(Ie,{control:l.control,sectionId:w,deleteConfirmationIndex:H,updateDeleteConfirmationIndex:ee,mode:d,isZeniTenant:L,classList:R,managersList:u,controllersList:O,customerRoleOptions:E,isBankingOnlyTenant:y,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:z})})})]}),t.jsx(we,{formId:`${Y}_form`,"data-testid":U("edit-people-page-footer"),primaryBtn:{label:a.invitePage.update,style:{width:j.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:a.invitePage.cancel,style:{width:j.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:P},separatorStyle:{marginRight:r.sp4}})]})},J=(e,u,R,O,d,L,P)=>{const k=R.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[w]:[{userIndex:0,email:e[0].email,role:O==="zeni_only"?{allOptions:Oe.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:O!=="zeni_only"?{userRole:{selectedRole:je(e[0]?.role),allRootRole:Ce(L,P)},productsByUserRole:Re(e[0]?.role,d)}:void 0,manager:{allUsers:u,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:k,selectedOption:k.find(m=>m.value===e[0]?.departmentId)}}]}},et=(e,u)=>`${e}.${u}`,_e=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{a5 as ai,u as bt,y as ft,a as en,A as Ci,l as ee,M as me,H as tn,X as Ie,fK as Xn,fM as Qn,fN as eo,j as t,g4 as to,F as nn,bO as li,bQ as on,bR as an,Y as q,o as i,C as c,aW as ki,aH as io,dr as no,fO as oo,fZ as rn,fU as Ii,a7 as ln,p as sn,fV as ao,eu as _e,g5 as At,eX as si,e as xt,g6 as ro,g as j,a6 as cn,Z as ci,q as a,aR as lo,fX as so,c4 as co,eB as di,g7 as zt,cP as fe,cR as xe,c6 as ui,cg as ct,eg as uo,cO as dn,r as Pt,c9 as un,c8 as Qe,co as st,v as mi,g8 as mo,eZ as po,c3 as ho,ab as Ti,aQ as go,av as mn,ee as yo,ef as bo,aq as Bt,fP as fo,eY as pn,Q as pi,h as hn,cq as gn,ah as Mt,eR as xo,as as wo,cu as So,cW as vo,t as hi,K as Di,bt as yn,am as ji,cn as $o,m as Co,cc as bn,_ as ko,g9 as fn,ga as ri,fF as Ri,gb as Ot,cm as Io,fJ as To,b5 as Do,cl as jo}from"./index-DEtloYMb.js";import{b as $,n,f as $t}from"./vendor-CnQcJ2Lu.js";import{_ as Ro}from"./liveblocks-sSQ9JElv.js";import xn from"./InvoiceUploadSection-Bes1nCJn-Be4DogKt.js";import{r as Po,f as Lt,d as yt,p as gi,u as Pi,h as $e}from"./types-DyvtCprH-BcZYcgaq.js";import{I as Oo}from"./LabeledCreatableSingleSelectField-CCXfjgxP-BI63rs1t.js";import{S as Lo}from"./CurrencySelectField-vH1oB0K8-B5AHvAUJ.js";import{J as Ao}from"./SetUpDefaultSection-B6pcOXMO-DgPwbXlv.js";import{e as zo}from"./BankAccountSection-D1tQzNSO-piXQT6-V.js";import{W as Bo,A as Mo}from"./BankAccountWarningSection-Dj_S6brX-2DYBSMY8.js";import{o as Fo}from"./radio-default-CiSgisfh-ub7QGXr8.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./crypto-BURQLTgV.js";import"./AttachmentView-CQlsMYN3-DG4dPEyp.js";import"./uploadReceipts-Buvz7DfG-BUbqoJXB.js";const Je=(e,o)=>`${e}.${o}`,Oi={largeLabelWidth:new c(120,120,160),paddingBottom:new c(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Re}},dateFormat:Eo,common:No}=me.getLocalizedStrings(),Wo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:d,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:S,companyMileageConfigInfo:b,reimbursementId:l,classHierarchyList:k})=>{const f=Ie(),s=ft(),g=zt(),w=`dashboard_${s.currentTenant?.companyId}`,R=bt(),{getValues:T}=ct(),v=No.strings.empty,K=T(Je(p,"distanceInMiles")),L=Oi.largeLabelWidth.value(f),I={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},E=A=>r.filter(_=>_.classId===A)[0]?.accountingClassNumber,te=r.find(A=>A.classId===o.class),pe={valueContainer:A=>({...A,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.transactionDate`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("transactionDate",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(bn,{isDisabled:m,label:{label:Re.transactionDate,width:L},style:{paddingBottom:Oi.paddingBottom.valuePx(f),width:"auto"},dateField:{name:Je(p,"transactionDate"),placeholder:Re.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Eo.visual.defaultInput,autoComplete:"off",maxDate:ee.dateNow(),registerOptions:{required:!0,validate:A=>!!A}}})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:S?"disabled":void 0,style:{width:"auto"},label:{label:Re.distanceInMiles,width:L},formattedTextField:{type:"number",name:Je(p,"distanceInMiles"),placeholder:Re.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:A=>A!=null?A>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.amount`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("amount",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:"disabled",label:{label:Re.amount,width:L},formattedTextField:{type:"number",name:Je(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:Qe(Re.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:A=>A!=null?A>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:K!=null&&b?.mileageUnitAmount!=null?`${d.currencySymbol}${b?.mileageUnitAmount} per mile x ${K}`:void 0})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.memo`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("memo",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(ui,{isDisabled:m,label:{label:Re.memo,width:L},style:{width:"auto"},text:{type:"text",name:Je(p,"memo"),placeholder:Qe(Re.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:fn}}})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.class`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("class",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(ri,{isLoading:!1,label:{label:Re.department,width:L},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Je(p,"class"),placeholder:Qe(Re.department),valueToId:A=>E(A),defaultValue:{selectedOption:te?.classId,allOptions:_e(k,[])},style:{width:"100%"},customStyleConfig:pe,registerOptions:{required:!0,validate:A=>!!A.selectedOption}},style:{borderBottom:`1px solid ${R.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Je(p,"class"))})]})},Ct=n.div`
1
+ import{a5 as ai,u as bt,y as ft,a as en,A as Ci,l as ee,M as me,H as tn,X as Ie,fK as Xn,fM as Qn,fN as eo,j as t,g4 as to,F as nn,bO as li,bQ as on,bR as an,Y as q,o as i,C as c,aW as ki,aH as io,dr as no,fO as oo,fZ as rn,fU as Ii,a7 as ln,p as sn,fV as ao,eu as _e,g5 as At,eX as si,e as xt,g6 as ro,g as j,a6 as cn,Z as ci,q as a,aR as lo,fX as so,c4 as co,eB as di,g7 as zt,cP as fe,cR as xe,c6 as ui,cg as ct,eg as uo,cO as dn,r as Pt,c9 as un,c8 as Qe,co as st,v as mi,g8 as mo,eZ as po,c3 as ho,ab as Ti,aQ as go,av as mn,ee as yo,ef as bo,aq as Bt,fP as fo,eY as pn,Q as pi,h as hn,cq as gn,ah as Mt,eR as xo,as as wo,cu as So,cW as vo,t as hi,K as Di,bt as yn,am as ji,cn as $o,m as Co,cc as bn,_ as ko,g9 as fn,ga as ri,fF as Ri,gb as Ot,cm as Io,fJ as To,b5 as Do,cl as jo}from"./index-BFn0iyzF.js";import{b as $,n,f as $t}from"./vendor-CnQcJ2Lu.js";import{_ as Ro}from"./liveblocks-sSQ9JElv.js";import xn from"./InvoiceUploadSection-Bes1nCJn-CI5aLm07.js";import{r as Po,f as Lt,d as yt,p as gi,u as Pi,h as $e}from"./types-DyvtCprH-BcZYcgaq.js";import{I as Oo}from"./LabeledCreatableSingleSelectField-CCXfjgxP-CnxEpEdS.js";import{S as Lo}from"./CurrencySelectField-vH1oB0K8-wHe9UTtT.js";import{J as Ao}from"./SetUpDefaultSection-B6pcOXMO-eZCrqrSe.js";import{e as zo}from"./BankAccountSection-D1tQzNSO-C_sKIdwB.js";import{W as Bo,A as Mo}from"./BankAccountWarningSection-Dj_S6brX-C9ELW6aN.js";import{o as Fo}from"./radio-default-CiSgisfh-ub7QGXr8.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./crypto-BURQLTgV.js";import"./AttachmentView-CQlsMYN3-DzTpPq3-.js";import"./uploadReceipts-Buvz7DfG-C9miDyXe.js";const Je=(e,o)=>`${e}.${o}`,Oi={largeLabelWidth:new c(120,120,160),paddingBottom:new c(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Re}},dateFormat:Eo,common:No}=me.getLocalizedStrings(),Wo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:d,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:S,companyMileageConfigInfo:b,reimbursementId:l,classHierarchyList:k})=>{const f=Ie(),s=ft(),g=zt(),w=`dashboard_${s.currentTenant?.companyId}`,R=bt(),{getValues:T}=ct(),v=No.strings.empty,K=T(Je(p,"distanceInMiles")),L=Oi.largeLabelWidth.value(f),I={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},E=A=>r.filter(_=>_.classId===A)[0]?.accountingClassNumber,te=r.find(A=>A.classId===o.class),pe={valueContainer:A=>({...A,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.transactionDate`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("transactionDate",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(bn,{isDisabled:m,label:{label:Re.transactionDate,width:L},style:{paddingBottom:Oi.paddingBottom.valuePx(f),width:"auto"},dateField:{name:Je(p,"transactionDate"),placeholder:Re.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Eo.visual.defaultInput,autoComplete:"off",maxDate:ee.dateNow(),registerOptions:{required:!0,validate:A=>!!A}}})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:S?"disabled":void 0,style:{width:"auto"},label:{label:Re.distanceInMiles,width:L},formattedTextField:{type:"number",name:Je(p,"distanceInMiles"),placeholder:Re.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:A=>A!=null?A>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.amount`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("amount",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:"disabled",label:{label:Re.amount,width:L},formattedTextField:{type:"number",name:Je(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:Qe(Re.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:A=>A!=null?A>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:K!=null&&b?.mileageUnitAmount!=null?`${d.currencySymbol}${b?.mileageUnitAmount} per mile x ${K}`:void 0})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.memo`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("memo",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(ui,{isDisabled:m,label:{label:Re.memo,width:L},style:{width:"auto"},text:{type:"text",name:Je(p,"memo"),placeholder:Qe(Re.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:fn}}})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.class`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("class",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(ri,{isLoading:!1,label:{label:Re.department,width:L},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Je(p,"class"),placeholder:Qe(Re.department),valueToId:A=>E(A),defaultValue:{selectedOption:te?.classId,allOptions:_e(k,[])},style:{width:"100%"},customStyleConfig:pe,registerOptions:{required:!0,validate:A=>!!A.selectedOption}},style:{borderBottom:`1px solid ${R.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Je(p,"class"))})]})},Ct=n.div`
2
2
  display: flex;
3
3
  flex: 1;
4
4
  background-color: ${e=>e.theme.colors.grey3};