@zeniai/web-cockpit-ui 1.14.58-qa → 1.14.59-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/dist/assets/{ACHDetailsPage-DzIkTxTe-szY0ZmSw.js → ACHDetailsPage-Dh-9B-tS-BKldvbI-.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DcSfABe8-aip8cm7a.js → AIPerformancePage-BXVWoVop-BDz2sJSr.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-DKZf9iEj-BWYLGbNJ.js → AccountInfoPage-DQaAqqov-zqBvvgmh.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-Z1na4dJy-LKHjtXPv.js → AccountInfoPageContent-CpnCTuuB-D1N9AAbn.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-4c3W-zeE-COIlptNP.js → AccountLockedInfoModal-DkfP7Aw7-DxqMYMO2.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-C5vlTGj8-DGLOEb2a.js → AccountReconDetailsDrawerPage-D4wc6twC-DYJu-DGm.js} +1 -1
  7. package/dist/assets/{AccountRow-3d9RsrK--CzSmDsqS.js → AccountRow-CrG8EbbJ-C5c4hS7Z.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CebFf63k-MO4-ur9l.js → AccountsPromoCardStack-BJPtx2Pe-BrO3SurU.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CUUW8OmY-WtojkQYs.js → AddAddressForCardDrawer-DdNhdiuv-DR_rGPF5.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-C-7QiNhe-BBaNm0hV.js → AddToWalletPage-DhYdz5U2-CBBekvlG.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-BDNPqEUA-CFmHoT7t.js → AgingReportsPage-D42GrcOf-CoErzTcB.js} +1 -1
  12. package/dist/assets/{AllUserItems-q1-exTg0-C-vzW5ZK.js → AllUserItems-vKh3Mm2X-BwTySL_M.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-Biqhlmi5-r_fB2Ah7.js → ApAgingDetailPage-CwPtOern-CdQtrx1v.js} +1 -1
  14. package/dist/assets/{AppBasePage-OcF9VjD2-B4E_fdOu.js → AppBasePage-DOG_AFC0-CUT3wwJW.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-Bvp-m86Z-BCjt1uzD.js → AppDrawerContent-BxOuACFq-BY_Wi0pb.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-DoU4XLU1-CtvRd_j4.js → ApprovalRulesSettingsPage-C_Op8xKo-YAo6-Sxl.js} +1 -1
  17. package/dist/assets/{ArAgingChart-Derurnjv-CgEJ1Uyl.js → ArAgingChart-DXEYzHyG-D0PB8GjF.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BANucXvz-BeAFS3t0.js → ArAgingDetailPage-Bc-KHlzV-ucTrDSe4.js} +1 -1
  19. package/dist/assets/{AttachmentView-DmZoR5fC-Cxq55CaJ.js → AttachmentView-D7RHXhJ5-BAAcjA-7.js} +1 -1
  20. package/dist/assets/{BankAccountSection-Cw7uDvEJ-DEZ19vJg.js → BankAccountSection-DC6iSj4R-BsAxAbXu.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-ClNYTjN_-C0GUXdVn.js → BankAccountWarningSection-2lKoI5Zs-Dj_Poz3W.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-B48-v1cX-B87m3vQH.js → BankConnectionsSettingsPage-C8yHSddE-BPyE73uV.js} +1 -1
  23. package/dist/assets/{BillDetailPage-Dz1Us8Hp-CCHNGJZt.js → BillDetailPage-JnsrnTiI-CRxufuo7.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DJhSGn1E-DP-F92v0.js → BillPayApprovalRuleDetailPage-BUZRTI5I-CRkErJ6g.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DZMg0cXF-DtQtvFNa.js → BillPayApprovalRulesPage-CLTcaidy-Bvnb2yJv.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-B0XdQSYS-C3p0-kIy.js → BillPayPromoPage-CkHwMvaQ-CwQAQZgp.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-Ft2KuiQF-CK6xYLj1.js → BillPaySetUpPage-zJq3HkEC-bT_1YYhS.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-uQpN2px5-Yl2Cylds.js → BillingSettingsPage-DQKc4f6L-Bkf9rSRY.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DBtKf5-t-DHZAPQFs.js → BillsBulkReviewDrawerPage-SpuBHxBw-BgFnsCSs.js} +1 -1
  30. package/dist/assets/{BoxItem-DR7ZjTUs-Dij4RmTj.js → BoxItem-Di-YXnG--cmTXxwxj.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-7EvtWjc2-CdOmJRrr.js +138 -0
  32. package/dist/assets/{CardNumberSubText-C1IwXiVs-Dqn3-4zM.js → CardNumberSubText-DzFn3_PZ-C9ZCSTzM.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-uh_slX-Q-CSlnj0Y7.js → CashbackDetailPage-CjQngqJh-CNd0id6g.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DEsNdsI1-BXmIwZAL.js → ChargeCardDetailPage-RIKW8QpG-5zMhrBmS.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-BRErjFyU-DDFTxheC.js → ChargeCardListPage-BLscpHh2-CtC38uJe.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-3b_fwt_f-C0sFK40q.js → ChargeCardListTable-CWs0yRb7-CCfyCYfZ.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-Dn0omfoT-uDoVdr0U.js → ChargeCardPromoPage-DcSxmF13-B--2dn9Z.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-doVAo_Au-DdGCqluH.js → ChargeCardSetupPage-D7KYTRhl-BcT1JXlI.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-DGOegtho-BgHIWvXY.js → ChargeCardStatementsPage-Dcp15xx_-BOrgAbrH.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-BlLiJhdJ-DMqoMM0H.js → ChargeCardUtils-CCCxZqkT-61TtCpjk.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-DY7W-VhR-vZ_gPYHY.js → ChaseOverlay-Nom4V5v9-NN79_kIT.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-CDelWBRG-B1k1OmWA.js → CheckDepositDrawerPage-CtWXEXK--BravvnwG.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-BEIzIiuS-DSPsVPW9.js → CollapsableReportTable-CfzLsUMN-BupSz6gn.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-B5JwDvdV-DqnjkUNS.js → CompanyOfficerDetailsSection-CuRcAM-3-BHLJpVyH.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-BcnnhR8L-DtcG5160.js → CompanyPassportCard-D23lD2Qq-ByoYXAJb.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-Cjc8jDSu-B7YHMqiV.js → CompanyPassportPage-tteVIvVs-Dnqp0vpO.js} +1 -1
  47. package/dist/assets/{CompleteProfile-bOwTw1Lh-_7Yxh2zS.js → CompleteProfile-BkpO098y-ORcz2OsL.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-w-1sEoT7-Cc6gVviT.js → ConfettiBurst-xzxQ6c8X-BoCLy-7Y.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-B7_YMeTg-DI5Jb9Bn.js → CreateOrEditVendorPage-fv_bmvfi-CzsLkNiO.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-1CZyhIOU-DMxRxZoh.js → CreditCardPaymentDrawerPage-7fnYwExb-CgcY_sd_.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentPlgSection-zy5jp8oZ-DwH8e2C-.js → CreditCardPaymentPlgSection-DthqKiKn-CaFdyplw.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-DLcojhnq-LEdI6qEo.js → CurrencySelectField-DIdZl5cW-DZ4QIRLF.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-DIwdLnW_-DZpcXe7V.js → CustomerOnboardingActivationPage-JhAaD-FC-CgaXelGg.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-BOI3JIGP-D4jiLFc2.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-G6eM-LXh-Do2IIou-.js → CustomerOnboardingDetailPageSkeleton-D__ymliT-CIUKwMvS.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-ZUm80ZnR-DMGMOEZ_.js → CustomerOnboardingNoStepsPage-CVere1yI-Dhi2fPd3.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-ap2hRZbg-Bo_Un-Di.js → CustomerOnboardingPage-WNQCQJ5n-CAH1yTcO.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-JHpQNLLp-BUZQChoL.js → CustomerOnboardingProductSuitePage-CAJfbnLK-BfYQQwIw.js} +1 -1
  59. package/dist/assets/{Dashboard-BGw23hBU-B19g_awj.js → Dashboard-D0UMJmya-BczA5Giq.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-DxQfaMpu-DYtlC0eo.js → DashboardReportPage-BCFw6ao6-D3KPXS3h.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-G2W4zpsl-MOmO21T6.js → DashboardSidebarBackgroundAnimation-DHkCvHUA-3uoAq2Nw.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-DMKKoFPE-CF64rSeT.js → DepositAccTransactionItem-d34JxwvA-xP5xNNeO.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-P_jQozTg-3ZOulPIT.js → DepositAccTransactionListPage-D7gDhDY8-CbzNTNTF.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-Cukq5TMS-ERF3exDh.js → DomesticWireDetailsPage-OrNehTKb-ZjH_fRSO.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-0TBZx4M5-ByMEel37.js → DownloadOverlay-DaCUudXP-CVZNoWAL.js} +1 -1
  66. package/dist/assets/{DrawerPage-BCFgiTrx-VKGmyzQW.js → DrawerPage-CmSHpc-z-iSTxaMwa.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-Bz6R4dHg-BTjQQhEC.js → EditPeoplePage-8KV3IPex-Bj4F00HM.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-CpyYBV_p-DLjfVB1T.js → EditReimbursementDetailPage-CeB1Zddt-CX7-LisA.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-B2zcu4ey-B4LA9yJE.js → EntityDetailPage-0gSd2S2a-Bk21CGEs.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-D5aLYTXS-BkfRlv-0.js → EntitySummarySection-CDqJFGbo-C_BhPxVx.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-DOCWbVlk-DmyrxVBN.js → ExpenseAutomationOverviewPage-m3uEsbuA-y6GuNqtY.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-CvRVtFoX-2gIzi6LR.js → ExpenseAutomationPage-41S7xtG5-gBOsYzMM.js} +50 -50
  73. package/dist/assets/{ExpressPayPage-BXf-9l9G-CC7Z3dOp.js → ExpressPayPage-D-7iK8kb-B4NN7Ool.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-LOJ6iaCh-0O88GlZa.js → FeaturePreviewPage-CGX75zlc-Da-yfHhx.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-BgJIGSUb-CkoWMlHD.js → FollowStepsSection-SyRYm6Xk-qRHgTOZ1.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-vKPeBn-E-BnywyD3i.js → GlobalReviewListPage-cFCPjHNY-Bu6QwgAj.js} +1 -1
  77. package/dist/assets/{HelpButton-JzcF30dH-DLUx9CMf.js → HelpButton-BaJhgb0U-D2odikp_.js} +1 -1
  78. package/dist/assets/{InformationCardStack-DE_mlx0b-CPdUvJef.js → InformationCardStack-CKwUXzzO-CxZ4zJeR.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-CPmZ9Zr6--vMWhqeE.js → InsightsCardStack-DgbzOi4U-Dvc9XXCQ.js} +1 -1
  80. package/dist/assets/{InsightsSection-mpQV3wZ8-CfoJ1FF7.js → InsightsSection-Baicql5I-Cy9IT7DF.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-CPSSCQzQ-Ds1xikyB.js → IntegrationsSettingsPage-F3YIomsV-MWcDg6Dx.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-D6WfqTKR-BZJpEOTH.js → InternationalWireSwiftDetailsPage-Bk3_uQsM-fzkyRJu7.js} +1 -1
  83. package/dist/assets/{InternationalWireVerificationPage-CryJKJXs-D3YrzZOR.js → InternationalWireVerificationPage-e30e4EN3-DosRWfnw.js} +1 -1
  84. package/dist/assets/{InviteFormPage-C7nLoXTU-CKDwjUes.js → InviteFormPage--XxaRUk9-8SgyKEGU.js} +1 -1
  85. package/dist/assets/{InvitePageListView-CtRAy7TX-DRn754w_.js → InvitePageListView-BxqSNNLQ-D2-KFzQG.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-ClFxfSTT-DHxAubtk.js → InvitePeoplePage-DH3kZeNR-JarVlmok.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-DjnuyOSw-BzB_1eSD.js → InvoiceUploadSection-D-8BRSZh-C_cyOMSQ.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-CstjZX3q-CnXQ18Tm.js → IssueChargeCardPage-Cx-mINDz-CHMPey88.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-Brk71Pjr-CbncPSM-.js → LabeledAddressValue-CBCPqHGX-Dr3MadHP.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-CvCb2aoN-BYPcHugY.js → LabeledAddressValueField-CMBF_lk1-CXJsPPo5.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-Gqssp1Ri-BC9ElSs1.js → LabeledControlledCheckBoxField-DaiUqmLm-z5jbKpsi.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-VKo2nKGM-C5nWLniy.js → LabeledCreatableSingleSelectField-DnywMYhK-CuEc_EGD.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-COC_Ej58-B7sKhk_9.js → LabeledDocumentField-M2THEAOY-Dc822rdF.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-r2aCE7Vv-BqBkqEAq.js → LabeledDropDownFormattedTextField-3XtnFSSO-BjRnQvhd.js} +1 -1
  95. package/dist/assets/{LabeledText-VrCpjPlp-f50Lqvph.js → LabeledText-imTCum1u-C4LjRwSo.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CoAdkKTm-XaSCNDrO.js → LabeledUserSingleSelectWithSubtitlesField-DlOa-ACw-D4rNrj__.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-BP7diqSR-CA1Pyi7y.js → LabeledZeniRolesDropDownField-XfcFfufN-DyDyz251.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-WS_VPmbY-C4uBwEZU.js → LinkJETransactionPage-B9eOkkRL-UaAvocit.js} +4 -4
  99. package/dist/assets/{LockCardPage-C0sABFjo-BVlSLk_G.js → LockCardPage-Ct7vGNS4-xE0ij8xJ.js} +1 -1
  100. package/dist/assets/{LowBalancePopup-Cnt8hF5d-CFST9NVY.js → LowBalancePopup-YZDhdF8c-YFnNkRi7.js} +1 -1
  101. package/dist/assets/{MagicLinkACHDetailsPage-DHMQHaja-BzK_yQB7.js → MagicLinkACHDetailsPage-BN-A0Efu-BDE_yHQ4.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CiLUscCx-C_flYJNw.js → MagicLinkDomesticWireDetailsPage-dzeckdoJ-C14GG0C5.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-X2ADFf0h-CyKhV7wU.js → MagicLinkInternationalWireDetailsPage-CYqXDRUn-wjMDal6c.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-BRHxmUGi-CqKnko0M.js → MagicLinkSuccessPage-DC24iw6B-Dbig4zBi.js} +1 -1
  105. package/dist/assets/{MagicLinkTitleSection-CHy41StU-CODeKCpT.js → MagicLinkTitleSection-BccVjN_n-DUbrRyeh.js} +1 -1
  106. package/dist/assets/{MailingDetailsSection-Djpl2M02-Clv4aZLv.js → MailingDetailsSection-BfdZmdwA-GzNbRy1Z.js} +1 -1
  107. package/dist/assets/{MeetingCalenderPopup-qui2SnEi-D13HOxSn.js → MeetingCalenderPopup-YzTE9xU9-DZIf1_Kg.js} +1 -1
  108. package/dist/assets/{Menu-BMPH4-8R-twEftGkH.js → Menu-EG5GC1HM-B-5uM-Tx.js} +1 -1
  109. package/dist/assets/{MyBankConnectionsSettingsPage-Mohwcu-e-BIUdfsnE.js → MyBankConnectionsSettingsPage-DvbBOAdm-BPRzynV4.js} +1 -1
  110. package/dist/assets/{MyPendingActivationChargeCardListPage-DePpW1nZ-6QYpbtTT.js → MyPendingActivationChargeCardListPage-BeNJP6gE-DFEiICFV.js} +1 -1
  111. package/dist/assets/{MyProfileSettingsPage-C--PD-iR-6QZuO8SJ.js → MyProfileSettingsPage-BRxBJZKl-gKdlJU9u.js} +1 -1
  112. package/dist/assets/{NavBarWithPicker-CDrtlEhe-BGmnf0qG.js → NavBarWithPicker-DcoxoePr-DY0E0Sw4.js} +1 -1
  113. package/dist/assets/{NavigationArrow-Ci8e8S3O-D0FrCepx.js → NavigationArrow-B8mAmEJR-C3_D4DIN.js} +1 -1
  114. package/dist/assets/{NavigationDots-CT4KVH38-Cxet2hdJ.js → NavigationDots-DWLQ8EKT-Dn6PHYKg.js} +1 -1
  115. package/dist/assets/{NewGlobalMerchantPage-Cih2BVZW-BP_IzGQ-.js → NewGlobalMerchantPage-BB_toJEW-DUyS3CYX.js} +1 -1
  116. package/dist/assets/{NoDataChart-Bb4iomO0-DjYfMx27.js → NoDataChart-BuWkhFal-CMKpuqZD.js} +1 -1
  117. package/dist/assets/{NoDataTable-CGhIXUQS-C71sow7j.js → NoDataTable-BUdL3yV2-BAXiHNpg.js} +1 -1
  118. package/dist/assets/{NotFoundPage-C1yRpH5R-DmahrbCG.js → NotFoundPage-DIKyx0G7-QpsaV-Y3.js} +1 -1
  119. package/dist/assets/{NotificationSettingsPage-B6niw-yz-BkI-B2wX.js → NotificationSettingsPage-BQKqMo0w-RU_hwiPu.js} +1 -1
  120. package/dist/assets/{NotificationsListConfig-BXhnYFMc-CgGcB0AY.js → NotificationsListConfig-DY24LAfq-CzV20Ii_.js} +1 -1
  121. package/dist/assets/{NotificationsPage-BxD_x5RM-jKKT4lH3.js → NotificationsPage-CcSiCmhM-DzTB0TJ2.js} +1 -1
  122. package/dist/assets/{OpExByVendorPage-DhU6KaAy-DXukgz7n.js → OpExByVendorPage-BOD4I42j-4oUDHO_u.js} +1 -1
  123. package/dist/assets/{OverlayContainerPage-D1XDQqSC-BBBCEdPK.js → OverlayContainerPage-D1XDQqSC-CbO1P_nf.js} +1 -1
  124. package/dist/assets/{PandLWithForecastPage-a4spNLTC-DqtSMOm0.js → PandLWithForecastPage-DR0hOvcK-BZ8eDuBW.js} +1 -1
  125. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BNP1S38J-B4CSZ3us.js → PaymentAccountSetupBillingAddressSection-aY0Kwk1v-B2LjsYYN.js} +1 -1
  126. package/dist/assets/{PeoplePage-BkflVTQ7-CZkWk1Jc.js → PeoplePage-CgbpQTzF-ytts5urg.js} +1 -1
  127. package/dist/assets/{PortfolioAllocationFormPage-B6dIZdSj-BAxP5Qz4.js → PortfolioAllocationFormPage-DyQS9mGR-k3yBOCSq.js} +29 -29
  128. package/dist/assets/{PortfolioDetails-DgBQTG2N-D9w2PpF1.js → PortfolioDetails-YqgY6irK-B5_kIUnF.js} +1 -1
  129. package/dist/assets/{ProductsCarousel-98LvzRjI-D_Ew5v2e.js → ProductsCarousel-D0vNX0Lg-BIRltpPH.js} +1 -1
  130. package/dist/assets/{PromoBaseCards-8w-GQx13-DtJWY6xl.js → PromoBaseCards-D7B2WP4y-lLUSWcFR.js} +1 -1
  131. package/dist/assets/{QBOConnectionDialog-Sok8rRG4-BBgIq76h.js → QBOConnectionDialog-BM3Ei-Uy-B7LqspAX.js} +1 -1
  132. package/dist/assets/{QBOSetupSection-BMRMT06i-Bp-caScU.js → QBOSetupSection-C1C9oOYp-CVAP_hlM.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cye5Dfay-Y6TTSpt_.js → ReimbursementApprovalRuleDetailPage-2NCQPRtH-CR9C88jV.js} +1 -1
  134. package/dist/assets/{ReimbursementApprovalRulesPage-C8C8pUIT-DEe2ZJqQ.js → ReimbursementApprovalRulesPage-D7M5LyNE-dlLzOYWa.js} +1 -1
  135. package/dist/assets/{ReimbursementDetailPage-BkrQE22J-DKvZxT2K.js → ReimbursementDetailPage-CFvkeM65-CSth0LqE.js} +1 -1
  136. package/dist/assets/{ReimbursementPromoPage-qafth1vd-BCvOyXrt.js → ReimbursementPromoPage-BiajhsSb-Baig1ByR.js} +1 -1
  137. package/dist/assets/{ReimbursementSetUpPage-CnroOkJk-Cvl76xek.js → ReimbursementSetUpPage--vFw3Coy-BZ_6GPaW.js} +1 -1
  138. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-2zlPBW1D-Dm47ghET.js → ReimbursementsBulkReviewDrawerPage-40sklAAn-B5qdPWLm.js} +1 -1
  139. package/dist/assets/{ReloadCard-B0LL0bsO-C47dx2C9.js → ReloadCard-DHXj7tDB-CoTLieDN.js} +1 -1
  140. package/dist/assets/{ReportTableViewSelector-CwM38MkL-sHSkOZUs.js → ReportTableViewSelector-BReW2rBY-De5-H-8i.js} +1 -1
  141. package/dist/assets/{ReportsPage-Cyl_WUQz-CtoykTaV.js → ReportsPage-8dRHTbBF-BSX3EPHA.js} +1 -1
  142. package/dist/assets/{RevenueChart-CXxEH9pM-D3g9dhJR.js → RevenueChart-BrJtZTP6-ckjmqhbu.js} +1 -1
  143. package/dist/assets/{ReviewDetailsPage-C0soI4uR-Bcmmq9xN.js → ReviewDetailsPage-BYKWuqrn-BR43E93Y.js} +1 -1
  144. package/dist/assets/{ReviewOverlay-BKS6IxUd-B4wfg7Gq.js → ReviewOverlay-DejTxf0F-D0BNFHZK.js} +1 -1
  145. package/dist/assets/{RoleWithToolTip-BfLzD5K8-DuzLs0Uw.js → RoleWithToolTip-SDWCAZAR-C5xFKYbN.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsFixedAssetsPage-1ULyqeCq-BzlJ6bjV.js → ScheduleDetailsFixedAssetsPage-DmrofLij-wGg0nxY-.js} +1 -1
  147. package/dist/assets/{ScheduleDetailsPage-D-Z-Fi_m-B2de1c09.js → ScheduleDetailsPage-ChMFxnSM-D7lnbvGR.js} +1 -1
  148. package/dist/assets/{ScheduleSequenceTable-DAwNCXh_-BKNkLrcn.js → ScheduleSequenceTable-D8Xld3H6-DxHk09G_.js} +1 -1
  149. package/dist/assets/{ScreenRoutes-BkWojgcY.js → ScreenRoutes-Lk4dQSrW.js} +1 -1
  150. package/dist/assets/{SetUpAccountSection-_zsQfBq1-Ixp7eWRa.js → SetUpAccountSection-D3cMHFo9-tGxpQ_Hm.js} +1 -1
  151. package/dist/assets/{SetUpDefaultSection-BHYOBJ7g-ugz5Fdi4.js → SetUpDefaultSection-DAYmX0ZV-wM42lVKW.js} +1 -1
  152. package/dist/assets/{SignIn-BOLyauQa-CSsg1k-k.js → SignIn-44novL5w-Da7_TNTW.js} +1 -1
  153. package/dist/assets/{SignInScreen-wnotOD9V.js → SignInScreen-DD04CaKk.js} +1 -1
  154. package/dist/assets/{SpendManagementListViewPage-zh_Ui5iH-YWp73SwO.js → SpendManagementListViewPage-DSoYdq_m-7NkIVVia.js} +3 -3
  155. package/dist/assets/{SpendManagementPerTabPage-Bu4V_wEU-CJZCCT7c.js → SpendManagementPerTabPage-xTIW-X7N-B96IfkCc.js} +1 -1
  156. package/dist/assets/{SpendManagementSection-vhFCT9_L-BgmgsOzT.js → SpendManagementSection-CJlsHGkm-CqhN8V8O.js} +1 -1
  157. package/dist/assets/{SpendMgmtSetupAccountSection-DiiBySox-DEuCmldp.js → SpendMgmtSetupAccountSection-S-3M9Tex-DxNcuUHJ.js} +1 -1
  158. package/dist/assets/{StatementItem-5oh_s6z3-CvMn_6Gz.js → StatementItem-DX6-flmJ-DQRFWSb3.js} +1 -1
  159. package/dist/assets/{StatementsPage-CQqrzaz3-BqgZGPio.js → StatementsPage-DCKr_4XZ-Bsxshbva.js} +1 -1
  160. package/dist/assets/{StatusSwitcher-C1BUhsR_-RxZm1ZuG.js → StatusSwitcher-C6SduIx3-CZMTB5w2.js} +1 -1
  161. package/dist/assets/{SubTabSwitcher-DbtPzcHo-C9Q3gR3c.js → SubTabSwitcher-W3Ntabka-CkJnLFDQ.js} +1 -1
  162. package/dist/assets/{SummaryCard-ChBY9-wb-BrnQwF1R.js → SummaryCard-z1Y1Z21L-BvNDOBhc.js} +1 -1
  163. package/dist/assets/{TaskManagementPage-BLvvJOu7-0xGKm0io.js → TaskManagementPage-Dr7_IfHc-AYu_HBiG.js} +1 -1
  164. package/dist/assets/{TimeRangeSwitcher-BKBRRSFm-Cz1Ee_vx.js → TimeRangeSwitcher-CrkB8n_m-UKQ-nTM4.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcher-BYbWJkqV-D9PNXfI7.js → TimeframeSwitcher-CMpQebr--jb5OdLW-.js} +1 -1
  166. package/dist/assets/{TimeframeSwitcherWithToggle-CQ7RqzAP-C0sGzizA.js → TimeframeSwitcherWithToggle-MSmSK_yv-1RIM15xs.js} +1 -1
  167. package/dist/assets/{TopExCard-DlOpHPBt-DLFzs4DQ.js → TopExCard-VQ8z2vI8-CcFX43B0.js} +1 -1
  168. package/dist/assets/{TopExDetailPage-DiRn3jsO-Y2QDGhmR.js → TopExDetailPage-DpnzP9SJ-DfzJMOHT.js} +1 -1
  169. package/dist/assets/TransactionDetailPage-CYUaKiqB-BzE195Mu.js +912 -0
  170. package/dist/assets/{TransactionList-bXlPU8EJ-CJpXRXe5.js → TransactionList-BingIVb_-DtIsd8Hw.js} +1 -1
  171. package/dist/assets/{TransactionListBig-C8XRWb2H-BtpYfolj.js → TransactionListBig-u-0Ia9Ua-K9wDHKU_.js} +1 -1
  172. package/dist/assets/{TransactionListPage-CUX45pNJ-BRuLNSm-.js → TransactionListPage-CYnEa2xe-O-SDZdNu.js} +1 -1
  173. package/dist/assets/{TransactionVendorDetailPage-CN37v29r-BwIXvjQA.js → TransactionVendorDetailPage-BFkUirn2-CeHhiYbe.js} +1 -1
  174. package/dist/assets/{TransferDrawerPage-GsrHKsdt-CTUErw4B.js → TransferDrawerPage-CX9GJ8vi-CEFyGVCx.js} +1 -1
  175. package/dist/assets/{TreasuryOverviewPage-C-yNzG5C-YBn2IUrW.js → TreasuryOverviewPage-C9I-VnRo-DTnaN1Tn.js} +1 -1
  176. package/dist/assets/{TreasuryPromoPage-BENRjIY1-r3JAqrfu.js → TreasuryPromoPage-DUScnOPQ-Dkbv6YRb.js} +1 -1
  177. package/dist/assets/TreasurySetupPage-DzkvNyQm-B3xMK5Hg.js +144 -0
  178. package/dist/assets/{TreasuryStatementsPage-DTCPq8Gp-iWzCT7nf.js → TreasuryStatementsPage-BipG_ii3-Dy6JBSif.js} +1 -1
  179. package/dist/assets/{TreasuryTaxLetterPage-O433FhAV-C1k6tduP.js → TreasuryTaxLetterPage-DCrdgOsu-DCMVMaW8.js} +1 -1
  180. package/dist/assets/{TreasuryTransferOrReviewPage-D_3AEXbX-Cn5Yufcy.js → TreasuryTransferOrReviewPage-DO9VVbX6-DZ53XF10.js} +62 -62
  181. package/dist/assets/{TrendChart-DdACpA7D-CjQnnjyH.js → TrendChart-BpsoQkO0-DB1sMg9j.js} +1 -1
  182. package/dist/assets/{TrendWithTransactions-BnHF9LmW-tSH-lIqy.js → TrendWithTransactions-D61X4lVu-B1TFib9_.js} +1 -1
  183. package/dist/assets/{UncategorizedAccountsMappingPage-CPwbKmda-DK_YTS86.js → UncategorizedAccountsMappingPage-CGGKjJaZ-D-H5tUAz.js} +1 -1
  184. package/dist/assets/{UnitIntegrationPage-Du-y-JVz-Dj8kt9Jm.js → UnitIntegrationPage-cQpbU9rB-Cbb-Whyn.js} +1 -1
  185. package/dist/assets/{UploadAdditionalDocumentOverlay-Pjy5PzIW-CGkZI-1j.js → UploadAdditionalDocumentOverlay-jDJV9q65-D9UMm7kL.js} +1 -1
  186. package/dist/assets/{Vendor2FAPopup-DgjZcTQX-D9W9dZq3.js → Vendor2FAPopup-B3ecYMnd-64QYc3pi.js} +1 -1
  187. package/dist/assets/{VendorACHDetailsPage-DcNKtZ0R-Bi8pbvaS.js → VendorACHDetailsPage-DgHf5ptD-DJ7gUVt7.js} +1 -1
  188. package/dist/assets/{VendorDetailPage-DEEb2gjp-CCMM19HN.js → VendorDetailPage-Bi8U23Yu-CYAI7EU_.js} +1 -1
  189. package/dist/assets/{VendorDomesticWireDetailsPage-y3jp785O-Cn755Yd_.js → VendorDomesticWireDetailsPage-1NJj7GtJ-D3rBN46J.js} +1 -1
  190. package/dist/assets/{VendorFiling1099EditablePage-BduWVF51-ZFGfV5H2.js → VendorFiling1099EditablePage-BRytcxuo-CZqTJihb.js} +1 -1
  191. package/dist/assets/{VendorFirstReviewPage-B8vqDzGi-DJiwpQ21.js → VendorFirstReviewPage-wW6F5Vyp-CwmSDV52.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireDetailsPage-DmJ3Bq2T-koc0rrhz.js → VendorInternationalWireDetailsPage-BvOCNJjZ-C9fzsF24.js} +1 -1
  193. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Bxy4g8yL-BEOh0GH5.js → VendorInternationalWireSwiftDetailsPage-DfyLskrB-CQ9ndRc7.js} +1 -1
  194. package/dist/assets/{VendorsAccountsSection-DhleXBjq-ChXEGqE2.js → VendorsAccountsSection-BgZ0EsGs-KDRhKsoW.js} +1 -1
  195. package/dist/assets/{VerifyDevice-BdUpM2Xk-BumcsjMz.js → VerifyDevice-Djjoi0YZ-_3zMjBLM.js} +1 -1
  196. package/dist/assets/{VideoPlayer-Bh9pi5bb-TiF1CvxS.js → VideoPlayer-DGYFB2YS-DUfF6yFC.js} +1 -1
  197. package/dist/assets/{VideoPopup-BmSbL0tQ-DjmLvupK.js → VideoPopup-DJk2FZWR-CM_0HjD0.js} +1 -1
  198. package/dist/assets/{WarningsDrawerPage-DfPbJNDz-D6Qv89yX.js → WarningsDrawerPage-CD08YNAB-Dx2KFQiH.js} +1 -1
  199. package/dist/assets/{ZeniAccountDetailPage-BgJTjD7y-CLcudSUF.js → ZeniAccountDetailPage-BymuJnpr-wd8ZOXRP.js} +1 -1
  200. package/dist/assets/{ZeniAccountListViewPage-BWVLF3FE-bImThYTF.js → ZeniAccountListViewPage-CSf3_-PQ-BIF2NgM3.js} +1 -1
  201. package/dist/assets/{ZeniAccountNavBarPieces-Qs5xZ8ja-Snqvnod-.js → ZeniAccountNavBarPieces-F42ZriYE-DqNJ1jU2.js} +1 -1
  202. package/dist/assets/{ZeniAccountPromoPage-B9FLpxZq-DAjEd67A.js → ZeniAccountPromoPage-VVCQ_UDm-Ct-iLwvJ.js} +1 -1
  203. package/dist/assets/{ZeniAccountSetupPage-CvumFc2I-DGe5s0B-.js → ZeniAccountSetupPage-BOwiGnM--Dz_2kMjh.js} +1 -1
  204. package/dist/assets/{ZeniCopyright-2Gm8bvIj-DzzOVwWa.js → ZeniCopyright-DkcWuMgx-RWRqD984.js} +1 -1
  205. package/dist/assets/{ZeniTransferAmountSlider-3iNLjlk5-BHZ8X84U.js → ZeniTransferAmountSlider-tcmR5JIX-Cd37-VEc.js} +1 -1
  206. package/dist/assets/{analyticsHelper-BjdxHYNU-D0RzuG-N.js → analyticsHelper-DgQ9dYv6-De-krZ12.js} +1 -1
  207. package/dist/assets/{analyticsHelper-Bz2Bv2NU.js → analyticsHelper-JHJDqaL3.js} +1 -1
  208. package/dist/assets/{chartTypes-C55wRbZm-DZYdSC6g.js → chartTypes-BkGKZtjd-9mZz2BPE.js} +1 -1
  209. package/dist/assets/{commonDimensions-kvPZ9uhR-B0JIHYIl.js → commonDimensions-D-rqQGD_-DguqB4oO.js} +1 -1
  210. package/dist/assets/{detailCommon-flEwHQWE-BLWYWFmQ.js → detailCommon-GKfk0vsu-okwQGabL.js} +1 -1
  211. package/dist/assets/{downloadPdf-9PwAfZrf-DIShnr79.js → downloadPdf-De1ILdAb-TsI5sZUf.js} +1 -1
  212. package/dist/assets/{index-JJMBnBNB.js → index-Ci6w3djJ.js} +156 -156
  213. package/dist/assets/{mapLoadingInProgressToTreeNode-D2-Xk-a2-CMsQ-3ZE.js → mapLoadingInProgressToTreeNode-BQLjNvTv-Bsg376BD.js} +1 -1
  214. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D8mXp6cH-CNK3VSms.js → mapSectionWithAcOnlyToTreeNode-C0VNdd8s-DEUZo2Rp.js} +1 -1
  215. package/dist/assets/{mapSpacerToTreeNode-DgTZkD7S-B5si502J.js → mapSpacerToTreeNode-BU36CqfC-Cr9vicKb.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-Dc8D2GxV-D8-XEGh6.js → mapTimeframeBalancesToTreeNode-BVtoixEC-BiHZ5pyZ.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-DacdNIKt-CLQ_K0_1.js → mapTimeframeBalancesToTreeNode-C45lf-nZ-CyNDhoCp.js} +1 -1
  218. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-ByVkwcZX-Czj_JvYh.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DeErljHZ-B_ZutE8q.js} +1 -1
  219. package/dist/assets/{toCOABalancesWithID-CHP1NmFV-BEycbicm.js → toCOABalancesWithID-jZvgYCO7-K9Aq1Sm_.js} +1 -1
  220. package/dist/assets/{toChartData-CV-IsjGn-Dk8tQTe6.js → toChartData-XC5K1jEk-BCy0qlOQ.js} +1 -1
  221. package/dist/assets/{treasuryColorHelper-73WJKkar-DR4hSDYc.js → treasuryColorHelper-Bn8hh2DU-D0UXXZoq.js} +1 -1
  222. package/dist/assets/{uploadAttachment-Cj3QcGO3-CSfQMSBZ.js → uploadAttachment-CAl_Ockc-C-WoP6Qy.js} +1 -1
  223. package/dist/assets/{uploadReceipts-CQ7whQyJ-Bg8PayZa.js → uploadReceipts-CQ7whQyJ-CcIwDZ8Y.js} +1 -1
  224. package/dist/index.html +1 -1
  225. package/package.json +3 -3
  226. package/dist/assets/BusinessVerificationPage-Ccqlx-_j-Bv3lOKHi.js +0 -140
  227. package/dist/assets/CustomerOnboardingContainerPage-AGr9ylBU-C-H4DDTq.js +0 -1
  228. package/dist/assets/TransactionDetailPage-CVxiCsG1-sNJ-d0rt.js +0 -912
  229. package/dist/assets/TreasurySetupPage-DmIyCtnW-DIYIFb2p.js +0 -146
@@ -0,0 +1 @@
1
+ import{j as r}from"./index-Ci6w3djJ.js";import o from"./CustomerOnboardingNoStepsPage-CVere1yI-Dhi2fPd3.js";import i from"./CustomerOnboardingPage-WNQCQJ5n-CAH1yTcO.js";import"./mui-Ty75qFQF.js";import"./vendor-Bs1fkIUX.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./HelpButton-BaJhgb0U-D2odikp_.js";import"./MeetingCalenderPopup-YzTE9xU9-DZIf1_Kg.js";import"./PaymentAccountSetupBillingAddressSection-aY0Kwk1v-B2LjsYYN.js";import"./SetUpAccountSection-D3cMHFo9-tGxpQ_Hm.js";import"./SetUpDefaultSection-DAYmX0ZV-wM42lVKW.js";import"./ChaseOverlay-Nom4V5v9-NN79_kIT.js";import"./CustomerOnboardingDetailPageSkeleton-D__ymliT-CIUKwMvS.js";import"./CompanyOfficerDetailsSection-CuRcAM-3-BHLJpVyH.js";import"./LabeledAddressValueField-CMBF_lk1-CXJsPPo5.js";import"./LabeledCreatableSingleSelectField-DnywMYhK-CuEc_EGD.js";import"./LabeledDocumentField-M2THEAOY-Dc822rdF.js";import"./QBOSetupSection-C1C9oOYp-CVAP_hlM.js";import"./QBOConnectionDialog-BM3Ei-Uy-B7LqspAX.js";const v=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?r.jsx(o,{...t}):r.jsx(i,{...t});export{v as default};
@@ -1,4 +1,4 @@
1
- import{j as s,aM as y,br as T,c as f,q as E,b_ as x,o as t,u as R,y as $,ag as N,F as I,h as u,K as P,hN as U,fJ as L,au as O,an as W,hO as q}from"./index-JJMBnBNB.js";import{n as r,w as S}from"./vendor-Bs1fkIUX.js";const B=r(q)`
1
+ import{j as s,aM as y,br as T,c as f,q as E,b_ as x,o as t,u as R,y as $,ag as N,F as I,h as u,K as P,hN as U,fJ as L,au as O,an as W,hO as q}from"./index-Ci6w3djJ.js";import{n as r,w as S}from"./vendor-Bs1fkIUX.js";const B=r(q)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,F=r.div`
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{a9 as se,j as o,q as Ce,c as Pe,aa as we,hL as be,F as xe,aP as ke,cS as Ie,bF as Ae,o as i,aM as $e,ad as ve,aQ as je,br as Oe,dj as Ve,dk as oe,ag as Te,y as Q,am as Le,u as A}from"./index-JJMBnBNB.js";import{n as c,b as $}from"./vendor-Bs1fkIUX.js";import{D as Be}from"./HelpButton-JzcF30dH-DLUx9CMf.js";import{s as Ue,o as ze}from"./PaymentAccountSetupBillingAddressSection-BNP1S38J-B4CSZ3us.js";import{f as Ee}from"./CustomerOnboardingDetailPageSkeleton-G6eM-LXh-Do2IIou-.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-qui2SnEi-D13HOxSn.js";import"./SetUpAccountSection-_zsQfBq1-Ixp7eWRa.js";import"./SetUpDefaultSection-BHYOBJ7g-ugz5Fdi4.js";import"./ChaseOverlay-DY7W-VhR-vZ_gPYHY.js";const J="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",q={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q(A[3],A[3]),subTitlePaddingBottom:new Q(A[3],A[3])},Fe=e=>`${e}_form`,_e=xe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:j,googleAPIKey:O,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:B,updateCardPaymentModalState:w,handleAddCardPaymentSource:U,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:E,redirectToProductSuitePage:b,onUpdateCustomerView:F,..._})=>{const u=Ce(),D=se(),{analytics:h}=D,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:G,handleLogOutClick:N,onZeniLogoClick:W,onAddressEditHandler:x}=_,Z=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)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ie(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.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(J);t&&a&&(ye(),T("link_payment_account"),F(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=$.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:u,children:[o.jsx(Ae,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":$e("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),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(Ue,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:J,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:G,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:z,cardSetupInProgress:ae,googleAPIKey:O,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(je,{formId:`${ie}`,leftSideComponent:o.jsx(Ne,{windowSize:u,children:o.jsx(Oe,{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(ze,{handleConfirmCardSetupIntent:B,updateCardPaymentModalState:w,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:y,stripeKey:j,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:E,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},Ke=c.div`
1
+ import{a9 as se,j as o,q as Ce,c as Pe,aa as we,hL as be,F as xe,aP as ke,cS as Ie,bF as Ae,o as i,aM as $e,ad as ve,aQ as je,br as Oe,dj as Ve,dk as oe,ag as Te,y as Q,am as Le,u as A}from"./index-Ci6w3djJ.js";import{n as c,b as $}from"./vendor-Bs1fkIUX.js";import{D as Be}from"./HelpButton-BaJhgb0U-D2odikp_.js";import{s as Ue,o as ze}from"./PaymentAccountSetupBillingAddressSection-aY0Kwk1v-B2LjsYYN.js";import{f as Ee}from"./CustomerOnboardingDetailPageSkeleton-D__ymliT-CIUKwMvS.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-YzTE9xU9-DZIf1_Kg.js";import"./SetUpAccountSection-D3cMHFo9-tGxpQ_Hm.js";import"./SetUpDefaultSection-DAYmX0ZV-wM42lVKW.js";import"./ChaseOverlay-Nom4V5v9-NN79_kIT.js";const J="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",q={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q(A[3],A[3]),subTitlePaddingBottom:new Q(A[3],A[3])},Fe=e=>`${e}_form`,_e=xe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:j,googleAPIKey:O,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:B,updateCardPaymentModalState:w,handleAddCardPaymentSource:U,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:E,redirectToProductSuitePage:b,onUpdateCustomerView:F,..._})=>{const u=Ce(),D=se(),{analytics:h}=D,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:G,handleLogOutClick:N,onZeniLogoClick:W,onAddressEditHandler:x}=_,Z=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)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ie(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.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(J);t&&a&&(ye(),T("link_payment_account"),F(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=$.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:u,children:[o.jsx(Ae,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":$e("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),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(Ue,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:J,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:G,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:z,cardSetupInProgress:ae,googleAPIKey:O,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(je,{formId:`${ie}`,leftSideComponent:o.jsx(Ne,{windowSize:u,children:o.jsx(Oe,{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(ze,{handleConfirmCardSetupIntent:B,updateCardPaymentModalState:w,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:y,stripeKey:j,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:E,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},Ke=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{j as r,q as Ke,c as Zt,aa as en,cS as me,F as We,aP as Qe,B as mt,aC as He,l as M,bF as tn,o as re,ad as nn,u as K,aQ as an,hL as on,gl as sn,fV as ft,dj as xt,dk as yt,y as fe,go as ye,d3 as rn,am as cn,hM as gt,ae as ht,d1 as ln,gn as dn}from"./index-JJMBnBNB.js";import{b as p,n as P,k as It}from"./vendor-Bs1fkIUX.js";import{D as pn}from"./HelpButton-JzcF30dH-DLUx9CMf.js";import{s as St,o as un}from"./PaymentAccountSetupBillingAddressSection-BNP1S38J-B4CSZ3us.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-G6eM-LXh-Do2IIou-.js";import{s as fn,b as yn}from"./CompanyOfficerDetailsSection-B5JwDvdV-DqnjkUNS.js";import{t as gn}from"./QBOSetupSection-BMRMT06i-Bp-caScU.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-qui2SnEi-D13HOxSn.js";import"./SetUpAccountSection-_zsQfBq1-Ixp7eWRa.js";import"./SetUpDefaultSection-BHYOBJ7g-ugz5Fdi4.js";import"./ChaseOverlay-DY7W-VhR-vZ_gPYHY.js";import"./LabeledAddressValueField-CvCb2aoN-BYPcHugY.js";import"./LabeledCreatableSingleSelectField-VKo2nKGM-C5nWLniy.js";import"./LabeledDocumentField-COC_Ej58-B7sKhk_9.js";import"./QBOConnectionDialog-Sok8rRG4-BBgIq76h.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:v,verifiedPhoneNumber:x,onPhoneVerified:y,...I})=>{const m=Ke(),V=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:F}=l,N=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:V??[],allNationalityCountries:c,sectionHeader:F,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:N,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...I})})},Sn=P.div`
1
+ import{j as r,q as Ke,c as Zt,aa as en,cS as me,F as We,aP as Qe,B as mt,aC as He,l as M,bF as tn,o as re,ad as nn,u as K,aQ as an,hL as on,gl as sn,fV as ft,dj as xt,dk as yt,y as fe,go as ye,d3 as rn,am as cn,hM as gt,ae as ht,d1 as ln,gn as dn}from"./index-Ci6w3djJ.js";import{b as p,n as P,k as It}from"./vendor-Bs1fkIUX.js";import{D as pn}from"./HelpButton-BaJhgb0U-D2odikp_.js";import{s as St,o as un}from"./PaymentAccountSetupBillingAddressSection-aY0Kwk1v-B2LjsYYN.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-D__ymliT-CIUKwMvS.js";import{s as fn,b as yn}from"./CompanyOfficerDetailsSection-CuRcAM-3-BHLJpVyH.js";import{t as gn}from"./QBOSetupSection-C1C9oOYp-CVAP_hlM.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-YzTE9xU9-DZIf1_Kg.js";import"./SetUpAccountSection-D3cMHFo9-tGxpQ_Hm.js";import"./SetUpDefaultSection-DAYmX0ZV-wM42lVKW.js";import"./ChaseOverlay-Nom4V5v9-NN79_kIT.js";import"./LabeledAddressValueField-CMBF_lk1-CXJsPPo5.js";import"./LabeledCreatableSingleSelectField-DnywMYhK-CuEc_EGD.js";import"./LabeledDocumentField-M2THEAOY-Dc822rdF.js";import"./QBOConnectionDialog-BM3Ei-Uy-B7LqspAX.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:v,verifiedPhoneNumber:x,onPhoneVerified:y,...I})=>{const m=Ke(),V=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:F}=l,N=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:V??[],allNationalityCountries:c,sectionHeader:F,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:N,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...I})})},Sn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{q as M,a9 as U,ax as D,c as W,F as A,j as e,bF as H,o as t,aM as k,br as I,l as R,am as V,ag as _,h as l,C as y,aj as N,s as J,L as Z,ar as q,a$ as G}from"./index-JJMBnBNB.js";import{b as n,n as i}from"./vendor-Bs1fkIUX.js";import K from"./ConfettiBurst-w-1sEoT7-Cc6gVviT.js";import{D as Q}from"./HelpButton-JzcF30dH-DLUx9CMf.js";import{T as X}from"./ProductsCarousel-98LvzRjI-D_Ew5v2e.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-qui2SnEi-D13HOxSn.js";const Y=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),De=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:b=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=M(),x=U().analytics,f=D(),S=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=L,B=W(),{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]},O=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,R.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(H,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:B.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:()=>O(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(X,{scale:1,showUpdatePaymentDetailButton:u,stopCarousel:w})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(I,{signedInUser:S,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(Q,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:b})]})},te=i.div`
1
+ import{q as M,a9 as U,ax as D,c as W,F as A,j as e,bF as H,o as t,aM as k,br as I,l as R,am as V,ag as _,h as l,C as y,aj as N,s as J,L as Z,ar as q,a$ as G}from"./index-Ci6w3djJ.js";import{b as n,n as i}from"./vendor-Bs1fkIUX.js";import K from"./ConfettiBurst-xzxQ6c8X-BoCLy-7Y.js";import{D as Q}from"./HelpButton-BaJhgb0U-D2odikp_.js";import{T as X}from"./ProductsCarousel-D0vNX0Lg-BIRltpPH.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-YzTE9xU9-DZIf1_Kg.js";const Y=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),De=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:b=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=M(),x=U().analytics,f=D(),S=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=L,B=W(),{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]},O=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,R.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(H,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:B.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:()=>O(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(X,{scale:1,showUpdatePaymentDetailButton:u,stopCarousel:w})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(I,{signedInUser:S,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(Q,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(K,{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{ax as ge,l as MA,j as e,ay as Lt,az as Ft,aA as Jt,o as a,aB as Ut,B as bA,aC as Pt,aD as ne,aE as Ot,aF as Tt,aG as Ht,aH as Yt,aI as Kt,aJ as Nt,aK as U,F as I,q as V,aL as Y,aM as y,aN as H,aO as G,u as S,aa as zt,aP as Oe,A as Te,ad as Gt,aQ as Wt,y as X,aR as K,aS as Z,an as $,aT as He,aU as J,aV as P,aW as KA,h as x,ap as qt,c as oA,aX as Xt,aY as NA,aZ as Vt,a_ as Zt,a$ as $t,ai as F,b0 as SA,ar as zA,am as RA,b1 as Ye,b2 as Ke,b3 as Ne,b4 as GA,O as _t,H as Ar,b5 as er,b6 as ze,b7 as tr,b8 as rr,b9 as WA,ba as or,bb as ar,bc as ir,bd as gr,be as Cr,bf as nr,bg as sr,bh as Er,bi as dr,m as Ge,C as Br,bj as Qr,M as lr,bk as We,bl as qe,ao as Ir,bm as cr,aj as hr,au as Xe}from"./index-JJMBnBNB.js";import{b as t,n as g,w,u as pr,i as hA,k as R}from"./vendor-Bs1fkIUX.js";import{j as mr}from"./DashboardSidebarBackgroundAnimation-G2W4zpsl-MOmO21T6.js";import{L as ur,k as xr}from"./ArAgingChart-Derurnjv-CgEJ1Uyl.js";import{E as fr,I as Ce,z as Ve}from"./ReloadCard-B0LL0bsO-C47dx2C9.js";import{L as wr,O as LA,c as BA}from"./TopExCard-DlOpHPBt-DLFzs4DQ.js";import{H as kr,Y as Dr,P as yr,G as jr,N as vr}from"./RevenueChart-CXxEH9pM-D3g9dhJR.js";import br from"./InsightsCardStack-CPmZ9Zr6--vMWhqeE.js";import{a as Mr}from"./AccountsPromoCardStack-CebFf63k-MO4-ur9l.js";import{c as W}from"./SummaryCard-ChBY9-wb-BrnQwF1R.js";import{t as Sr,o as Rr}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{N as rA}from"./NavigationArrow-Ci8e8S3O-D0FrCepx.js";import{j as qA}from"./NavigationDots-CT4KVH38-Cxet2hdJ.js";import Lr from"./CompanyPassportCard-BcnnhR8L-DtcG5160.js";import{C as Fr}from"./gift-box-Cmt9OgIZ-Bnh-gm_T.js";import Jr from"./InformationCardStack-DE_mlx0b-CPdUvJef.js";import{p as Ze}from"./chartTypes-C55wRbZm-DZYdSC6g.js";import{h as Ur}from"./toCOABalancesWithID-CHP1NmFV-BEycbicm.js";import{V as Pr}from"./toChartData-CV-IsjGn-Dk8tQTe6.js";import{r as Or,i as Tr}from"./graphic-no-data-net-burn-l-CzmycA0m-W-GGrHSF.js";import{N as Hr,J as Yr}from"./PromoBaseCards-8w-GQx13-DtJWY6xl.js";import{r as Kr}from"./mui-Ty75qFQF.js";import{K as Nr,I as zr}from"./VideoPlayer-Bh9pi5bb-TiF1CvxS.js";import{l as Gr}from"./treasuryColorHelper-73WJKkar-DR4hSDYc.js";import Wr from"./ConfettiBurst-w-1sEoT7-Cc6gVviT.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const qr=g(Z)`
1
+ import{ax as ge,l as MA,j as e,ay as Lt,az as Ft,aA as Jt,o as a,aB as Ut,B as bA,aC as Pt,aD as ne,aE as Ot,aF as Tt,aG as Ht,aH as Yt,aI as Kt,aJ as Nt,aK as U,F as I,q as V,aL as Y,aM as y,aN as H,aO as G,u as S,aa as zt,aP as Oe,A as Te,ad as Gt,aQ as Wt,y as X,aR as K,aS as Z,an as $,aT as He,aU as J,aV as P,aW as KA,h as x,ap as qt,c as oA,aX as Xt,aY as NA,aZ as Vt,a_ as Zt,a$ as $t,ai as F,b0 as SA,ar as zA,am as RA,b1 as Ye,b2 as Ke,b3 as Ne,b4 as GA,O as _t,H as Ar,b5 as er,b6 as ze,b7 as tr,b8 as rr,b9 as WA,ba as or,bb as ar,bc as ir,bd as gr,be as Cr,bf as nr,bg as sr,bh as Er,bi as dr,m as Ge,C as Br,bj as Qr,M as lr,bk as We,bl as qe,ao as Ir,bm as cr,aj as hr,au as Xe}from"./index-Ci6w3djJ.js";import{b as t,n as g,w,u as pr,i as hA,k as R}from"./vendor-Bs1fkIUX.js";import{j as mr}from"./DashboardSidebarBackgroundAnimation-DHkCvHUA-3uoAq2Nw.js";import{L as ur,k as xr}from"./ArAgingChart-DXEYzHyG-D0PB8GjF.js";import{E as fr,I as Ce,z as Ve}from"./ReloadCard-DHXj7tDB-CoTLieDN.js";import{L as wr,O as LA,c as BA}from"./TopExCard-VQ8z2vI8-CcFX43B0.js";import{H as kr,Y as Dr,P as yr,G as jr,N as vr}from"./RevenueChart-BrJtZTP6-ckjmqhbu.js";import br from"./InsightsCardStack-DgbzOi4U-Dvc9XXCQ.js";import{a as Mr}from"./AccountsPromoCardStack-BJPtx2Pe-BrO3SurU.js";import{c as W}from"./SummaryCard-z1Y1Z21L-BvNDOBhc.js";import{t as Sr,o as Rr}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{N as rA}from"./NavigationArrow-B8mAmEJR-C3_D4DIN.js";import{j as qA}from"./NavigationDots-DWLQ8EKT-Dn6PHYKg.js";import Lr from"./CompanyPassportCard-D23lD2Qq-ByoYXAJb.js";import{C as Fr}from"./gift-box-Cmt9OgIZ-Bnh-gm_T.js";import Jr from"./InformationCardStack-CKwUXzzO-CxZ4zJeR.js";import{p as Ze}from"./chartTypes-BkGKZtjd-9mZz2BPE.js";import{h as Ur}from"./toCOABalancesWithID-jZvgYCO7-K9Aq1Sm_.js";import{V as Pr}from"./toChartData-XC5K1jEk-BCy0qlOQ.js";import{r as Or,i as Tr}from"./graphic-no-data-net-burn-l-CzmycA0m-W-GGrHSF.js";import{N as Hr,J as Yr}from"./PromoBaseCards-D7B2WP4y-lLUSWcFR.js";import{r as Kr}from"./mui-Ty75qFQF.js";import{K as Nr,I as zr}from"./VideoPlayer-DGYFB2YS-DUfF6yFC.js";import{l as Gr}from"./treasuryColorHelper-Bn8hh2DU-D0UXXZoq.js";import Wr from"./ConfettiBurst-xzxQ6c8X-BoCLy-7Y.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const qr=g(Z)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,se=g.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{q as B,c as q,F as _,ax as Oe,l as D,j as s,bF as Je,m as Ke,B as Xe,bH as Qe,o as d,y as L,aC as Q,bI as et,bJ as tt,ai as ae,u as C,b3 as st,aU as ot,bK as at,A as Be,a as Pe,h as T,ar as Ne,aT as nt,b9 as it,ao as rt,bL as ct,av as lt,bM as dt,bN as ie,bO as pt,au as ut,an as gt,bP as ht}from"./index-JJMBnBNB.js";import{b as y,w as ee,n as u,k as Le}from"./vendor-Bs1fkIUX.js";import{m as G,l as oe}from"./analyticsHelper-BjdxHYNU-D0RzuG-N.js";import{h as mt,u as ft}from"./ReportTableViewSelector-CwM38MkL-sHSkOZUs.js";import{q as bt}from"./InsightsSection-mpQV3wZ8-CfoJ1FF7.js";import{N as _e,U as xt,k as _t,H as te,K as ue}from"./detailCommon-flEwHQWE-BLWYWFmQ.js";import{N as wt,G as St,H as we,Y as Se,P as ye}from"./RevenueChart-CXxEH9pM-D3g9dhJR.js";import{C as yt}from"./NoDataChart-Bb4iomO0-DjYfMx27.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-BKBRRSFm-Cz1Ee_vx.js";import{b as Ie}from"./TimeframeSwitcher-BYbWJkqV-D9PNXfI7.js";import{I as $t,R as V,x as jt,l as ge,D as Ct}from"./CollapsableReportTable-BEIzIiuS-DSPsVPW9.js";import{S as kt,M as Ot,g as Bt,L as se,D as Re,T as De,I as Te}from"./mapSectionWithAcOnlyToTreeNode-D8mXp6cH-CNK3VSms.js";import{d as Pt}from"./NoDataTable-CGhIXUQS-C71sow7j.js";import{d as he,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-ByVkwcZX-Czj_JvYh.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-D2-Xk-a2-CMsQ-3ZE.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./NavigationDots-CT4KVH38-Cxet2hdJ.js";import"./chartTypes-C55wRbZm-DZYdSC6g.js";import"./toCOABalancesWithID-CHP1NmFV-BEycbicm.js";import"./toChartData-CV-IsjGn-Dk8tQTe6.js";import"./AccountRow-3d9RsrK--CzSmDsqS.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const Nt=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Lt=u.div`
1
+ import{q as B,c as q,F as _,ax as Oe,l as D,j as s,bF as Je,m as Ke,B as Xe,bH as Qe,o as d,y as L,aC as Q,bI as et,bJ as tt,ai as ae,u as C,b3 as st,aU as ot,bK as at,A as Be,a as Pe,h as T,ar as Ne,aT as nt,b9 as it,ao as rt,bL as ct,av as lt,bM as dt,bN as ie,bO as pt,au as ut,an as gt,bP as ht}from"./index-Ci6w3djJ.js";import{b as y,w as ee,n as u,k as Le}from"./vendor-Bs1fkIUX.js";import{m as G,l as oe}from"./analyticsHelper-DgQ9dYv6-De-krZ12.js";import{h as mt,u as ft}from"./ReportTableViewSelector-BReW2rBY-De5-H-8i.js";import{q as bt}from"./InsightsSection-Baicql5I-Cy9IT7DF.js";import{N as _e,U as xt,k as _t,H as te,K as ue}from"./detailCommon-GKfk0vsu-okwQGabL.js";import{N as wt,G as St,H as we,Y as Se,P as ye}from"./RevenueChart-BrJtZTP6-ckjmqhbu.js";import{C as yt}from"./NoDataChart-BuWkhFal-CMKpuqZD.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-CrkB8n_m-UKQ-nTM4.js";import{b as Ie}from"./TimeframeSwitcher-CMpQebr--jb5OdLW-.js";import{I as $t,R as V,x as jt,l as ge,D as Ct}from"./CollapsableReportTable-CfzLsUMN-BupSz6gn.js";import{S as kt,M as Ot,g as Bt,L as se,D as Re,T as De,I as Te}from"./mapSectionWithAcOnlyToTreeNode-C0VNdd8s-DEUZo2Rp.js";import{d as Pt}from"./NoDataTable-BUdL3yV2-BAXiHNpg.js";import{d as he,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-DeErljHZ-B_ZutE8q.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-BQLjNvTv-Bsg376BD.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./NavigationDots-DWLQ8EKT-Dn6PHYKg.js";import"./chartTypes-BkGKZtjd-9mZz2BPE.js";import"./toCOABalancesWithID-jZvgYCO7-K9Aq1Sm_.js";import"./toChartData-XC5K1jEk-BCy0qlOQ.js";import"./AccountRow-CrG8EbbJ-C5c4hS7Z.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const Nt=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Lt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{aY as c,j as a,b4 as h,o as m}from"./index-JJMBnBNB.js";import{b as o,u,n as x}from"./vendor-Bs1fkIUX.js";const y=o.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:t=!1}){const s=u(),l=t?"DashboardNewYearShow":"DashboardChristmasSnow",[i,r]=c(l),[n,d]=o.useState(null);i!=null&&n==null&&!r&&d(i);const p=e&&s.mode==="light"?.7:.2;return(e||t)&&n!=null?a.jsx(b,{contextWiseOpacity:p,newYearAnimationEnabled:t,children:a.jsx(h,{style:{width:"inherit",height:"inherit",display:"block"},animationData:n,play:!0,loop:t?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),b=x.div`
1
+ import{aY as c,j as a,b4 as h,o as m}from"./index-Ci6w3djJ.js";import{b as o,u,n as x}from"./vendor-Bs1fkIUX.js";const y=o.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:t=!1}){const s=u(),l=t?"DashboardNewYearShow":"DashboardChristmasSnow",[i,r]=c(l),[n,d]=o.useState(null);i!=null&&n==null&&!r&&d(i);const p=e&&s.mode==="light"?.7:.2;return(e||t)&&n!=null?a.jsx(b,{contextWiseOpacity:p,newYearAnimationEnabled:t,children:a.jsx(h,{style:{width:"inherit",height:"inherit",display:"block"},animationData:n,play:!0,loop:t?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),b=x.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aN as $,hD as u,q as y,j as l,o as i,am as d,an as c}from"./index-JJMBnBNB.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{g as k}from"./BoxItem-DR7ZjTUs-Dij4RmTj.js";import{o as v}from"./commonDimensions-kvPZ9uhR-B0JIHYIl.js";function O({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:f}=e,g=r.length>0?r:m,a=$("0,0.00",x),n=u(f),o=y(),h=l.jsxs(N,{children:[l.jsx(T,{src:p?.toString(),loading:"lazy"}),l.jsx(D,{children:l.jsxs(E,{windowSize:o,children:[l.jsx(C,{children:g}),n!=null?l.jsxs(P,{windowSize:o,children:[l.jsx(q,{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{aN as $,hD as u,q as y,j as l,o as i,am as d,an as c}from"./index-Ci6w3djJ.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{g as k}from"./BoxItem-Di-YXnG--cmTXxwxj.js";import{o as v}from"./commonDimensions-D-rqQGD_-DguqB4oO.js";function O({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:f}=e,g=r.length>0?r:m,a=$("0,0.00",x),n=u(f),o=y(),h=l.jsxs(N,{children:[l.jsx(T,{src:p?.toString(),loading:"lazy"}),l.jsx(D,{children:l.jsxs(E,{windowSize:o,children:[l.jsx(C,{children:g}),n!=null?l.jsxs(P,{windowSize:o,children:[l.jsx(q,{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{c as S,q as z,hJ as D,j as e,bF as F,F as Y,b3 as B,o as r,h as b,cH as C,l as L,y as A,ai as R,am as I,u as g,dz as T,dA as q,dt as E,dB as H}from"./index-JJMBnBNB.js";import{b as f,n as a}from"./vendor-Bs1fkIUX.js";import{$ as N}from"./BoxItem-DR7ZjTUs-Dij4RmTj.js";import{o as P}from"./commonDimensions-kvPZ9uhR-B0JIHYIl.js";import{H as V}from"./DepositAccTransactionItem-DMKKoFPE-CF64rSeT.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const n=Y.getLocalizedStrings(),J={listItemMargin:new A(g[3],g[8])};function K(t){const d=T(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=q(d,o=>o.length>0);return E(m,o=>({date:o[0].transactionDate,transactions:H(o,h=>h.transactionDate,"desc")}))}const O=D(K),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=f.createRef(),p=f.useRef(null),l=O(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*P.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(Z,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(_,{children:s.transactions.map((M,u)=>e.jsx(V,{data:M,boxType:N(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(Q,{children:e.jsx($,{windowSize:o,children:e.jsx(X,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(U,{children:[e.jsx(F,{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(G,{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{c as S,q as z,hJ as D,j as e,bF as F,F as Y,b3 as B,o as r,h as b,cH as C,l as L,y as A,ai as R,am as I,u as g,dz as T,dA as q,dt as E,dB as H}from"./index-Ci6w3djJ.js";import{b as f,n as a}from"./vendor-Bs1fkIUX.js";import{$ as N}from"./BoxItem-Di-YXnG--cmTXxwxj.js";import{o as P}from"./commonDimensions-D-rqQGD_-DguqB4oO.js";import{H as V}from"./DepositAccTransactionItem-d34JxwvA-xP5xNNeO.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const n=Y.getLocalizedStrings(),J={listItemMargin:new A(g[3],g[8])};function K(t){const d=T(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=q(d,o=>o.length>0);return E(m,o=>({date:o[0].transactionDate,transactions:H(o,h=>h.transactionDate,"desc")}))}const O=D(K),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=f.createRef(),p=f.useRef(null),l=O(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*P.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(Z,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(_,{children:s.transactions.map((M,u)=>e.jsx(V,{data:M,boxType:N(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(Q,{children:e.jsx($,{windowSize:o,children:e.jsx(X,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(U,{children:[e.jsx(F,{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(G,{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} ${J.listItemMargin.valuePx(t.windowSize)}`};
3
3
  `,Q=a.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{q as U,aa as V,F as j,cS as H,aC as K,l as w,j as n,cD as Q,cE as _,cF as G,ad as J,aQ as X,y as u,fa as Y,o as Z,b8 as ee,u as a}from"./index-JJMBnBNB.js";import{b as S,n as h}from"./vendor-Bs1fkIUX.js";import{e as ne}from"./BankAccountSection-Cw7uDvEJ-DEZ19vJg.js";import{M as te}from"./MagicLinkTitleSection-CHy41StU-CODeKCpT.js";import{W as ae,F as oe}from"./BankAccountWarningSection-ClNYTjN_-C0GUXdVn.js";import{T as ie}from"./MailingDetailsSection-Djpl2M02-Clv4aZLv.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",$="mailingAddressSection",T=e=>`${e}_form`,he=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:y,isDisabled:A,companyName:D,isMagicLink:g,currencySymbol:v,amount:F,onSaveHandler:P,onWireDetailsUpdated:R,onFetchBankName:z,onAddressClick:E,onBackClick:C}=e,l=U(),c=V({mode:"onBlur",reValidateMode:"onChange",defaultValues:S.useMemo(()=>se(s,r),[s,r])}),[L,p]=S.useState(!1),t=j.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=j.getLocalizedStrings().common.footer,M=t.wireDetails.domestic,I={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},q=async(k,m)=>{const d=m[f].bankRoutingNumber;R(m),k===`${f}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&z?.(d)};S.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&H(()=>q(d,m))});return()=>{k.unsubscribe()}});const O=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&P("wire")}),N=!K(y!=null?w.getFormattedAddress(y):y,r!=null?w.getFormattedAddress(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[L===!0?n.jsx(Q,{titleComponent:n.jsx(G,{children:t.discardTitle}),descriptionComponent:n.jsx(_,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:I}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:D??"",currencySymbol:v??"",amount:F??0}):M.addWireDetails,isMagicLink:g,isDirty:N,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(J,{...c,children:n.jsxs("form",{id:T(B),onSubmit:O,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:f,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:x,addressToEdit:r,onAddressClick:E})]})})]}),n.jsx(X,{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:()=>{N?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},[$]:{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{q as U,aa as V,F as j,cS as H,aC as K,l as w,j as n,cD as Q,cE as _,cF as G,ad as J,aQ as X,y as u,fa as Y,o as Z,b8 as ee,u as a}from"./index-Ci6w3djJ.js";import{b as S,n as h}from"./vendor-Bs1fkIUX.js";import{e as ne}from"./BankAccountSection-DC6iSj4R-BsAxAbXu.js";import{M as te}from"./MagicLinkTitleSection-BccVjN_n-DUbrRyeh.js";import{W as ae,F as oe}from"./BankAccountWarningSection-2lKoI5Zs-Dj_Poz3W.js";import{T as ie}from"./MailingDetailsSection-BfdZmdwA-GzNbRy1Z.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",$="mailingAddressSection",T=e=>`${e}_form`,he=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:y,isDisabled:A,companyName:D,isMagicLink:g,currencySymbol:v,amount:F,onSaveHandler:P,onWireDetailsUpdated:R,onFetchBankName:z,onAddressClick:E,onBackClick:C}=e,l=U(),c=V({mode:"onBlur",reValidateMode:"onChange",defaultValues:S.useMemo(()=>se(s,r),[s,r])}),[L,p]=S.useState(!1),t=j.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=j.getLocalizedStrings().common.footer,M=t.wireDetails.domestic,I={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},q=async(k,m)=>{const d=m[f].bankRoutingNumber;R(m),k===`${f}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&z?.(d)};S.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&H(()=>q(d,m))});return()=>{k.unsubscribe()}});const O=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&P("wire")}),N=!K(y!=null?w.getFormattedAddress(y):y,r!=null?w.getFormattedAddress(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[L===!0?n.jsx(Q,{titleComponent:n.jsx(G,{children:t.discardTitle}),descriptionComponent:n.jsx(_,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:I}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:D??"",currencySymbol:v??"",amount:F??0}):M.addWireDetails,isMagicLink:g,isDirty:N,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(J,{...c,children:n.jsxs("form",{id:T(B),onSubmit:O,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:f,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:x,addressToEdit:r,onAddressClick:E})]})})]}),n.jsx(X,{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:()=>{N?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},[$]:{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,ch as Je,o as a,q as le,ci as et,ao as Re,l as d,h as de,y as H,A as tt,F as Y,cj as rt,bZ as ze,u as z,b8 as Ne,am as T,c3 as we,C as G,an as ce,a as ee,c as Be,c5 as at,ck as me,cl as pe,m as Ee,cm as Qe,ap as fe,cn as q,bX as ot,b9 as st,co as it,cp as nt,bP as lt,c4 as dt,ar as ct,cq as mt,cd as pt,av as ft}from"./index-JJMBnBNB.js";import{b as u,n,k as Ve,w as he}from"./vendor-Bs1fkIUX.js";import{m as ht}from"./analyticsHelper-BjdxHYNU-D0RzuG-N.js";import{h as ut,u as gt}from"./ReportTableViewSelector-CwM38MkL-sHSkOZUs.js";import{t as bt}from"./page-detail-CWX5S47F-lMo0MYzU.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./CollapsableReportTable-BEIzIiuS-DSPsVPW9.js";import"./AccountRow-3d9RsrK--CzSmDsqS.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(),S={pdf:12,excel:100,csv:100},B=(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:g}=d.getFYQuarterAndYear(p,e);for(;f<=g;)i.push(`${f}`),f++}return i},yt=n.div`
1
+ import{j as t,ch as Je,o as a,q as le,ci as et,ao as Re,l as d,h as de,y as H,A as tt,F as Y,cj as rt,bZ as ze,u as z,b8 as Ne,am as T,c3 as we,C as G,an as ce,a as ee,c as Be,c5 as at,ck as me,cl as pe,m as Ee,cm as Qe,ap as fe,cn as q,bX as ot,b9 as st,co as it,cp as nt,bP as lt,c4 as dt,ar as ct,cq as mt,cd as pt,av as ft}from"./index-Ci6w3djJ.js";import{b as u,n,k as Ve,w as he}from"./vendor-Bs1fkIUX.js";import{m as ht}from"./analyticsHelper-DgQ9dYv6-De-krZ12.js";import{h as ut,u as gt}from"./ReportTableViewSelector-BReW2rBY-De5-H-8i.js";import{t as bt}from"./page-detail-CWX5S47F-lMo0MYzU.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./CollapsableReportTable-CfzLsUMN-BupSz6gn.js";import"./AccountRow-CrG8EbbJ-C5c4hS7Z.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(),S={pdf:12,excel:100,csv:100},B=(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:g}=d.getFYQuarterAndYear(p,e);for(;f<=g;)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{q as a,j as i,c5 as P,o,F as h,y as s,cg as y,O as c,H as g,A as b,u as t,aN as L,jS as k,jT as C,jU as R}from"./index-JJMBnBNB.js";import{n}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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=[_(),A(),H({rewardsPlan:e})],d=a();return i.jsx(q,{children:r.map((f,j)=>i.jsxs(I,{children:[i.jsx(F,{children:f}),j<r.length-1?i.jsx(E,{windowSize:d}):null]},`step_${j}`))})},_=()=>{const e=a(),r=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(S,{windowSize:e,icon:"link",children:i.jsx(M,{windowSize:e})}),i.jsx(z,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},A=()=>{const e=a(),r=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(S,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(z,{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(S,{windowSize:r,icon:"money",children:i.jsx(B,{windowSize:r})}),i.jsx(z,{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{q as a,j as i,c5 as P,o,F as h,y as s,cg as y,O as c,H as g,A as b,u as t,aN as L,jS as k,jT as C,jU as R}from"./index-Ci6w3djJ.js";import{n}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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=[_(),A(),H({rewardsPlan:e})],d=a();return i.jsx(q,{children:r.map((f,j)=>i.jsxs(I,{children:[i.jsx(F,{children:f}),j<r.length-1?i.jsx(E,{windowSize:d}):null]},`step_${j}`))})},_=()=>{const e=a(),r=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(S,{windowSize:e,icon:"link",children:i.jsx(M,{windowSize:e})}),i.jsx(z,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},A=()=>{const e=a(),r=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(S,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(z,{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(S,{windowSize:r,icon:"money",children:i.jsx(B,{windowSize:r})}),i.jsx(z,{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{q as ae,F as de,g2 as pe,c as ce,aa as ue,aP as me,j as s,cD as ge,aq as he,cE as fe,cF as ye,gW as ve,aM as D,cJ as xe,o as r,c5 as $e,ad as be,aQ as we,y as T,g5 as Re,g6 as Oe,g7 as je,cO as Ce,l as K,b8 as Pe,h as M,da as ke,u as c}from"./index-JJMBnBNB.js";import{b,n}from"./vendor-Bs1fkIUX.js";import{f as Ie}from"./AllUserItems-q1-exTg0-C-vzW5ZK.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./LabeledUserSingleSelectWithSubtitlesField-CoAdkKTm-XaSCNDrO.js";import"./RoleWithToolTip-BfLzD5K8-DuzLs0Uw.js";import"./LabeledZeniRolesDropDownField-BP7diqSR-CA1Pyi7y.js";const j={containerPaddingTop:new T(c[3],c[3]),containerPaddingLeft:new T(c[3],c[6],c[6]),containerPaddingRight:new T(c[3],c[6],c[8]),buttonWidth:new T(85,85)},Q="editPeoplePage",w="userItems",a=de.getLocalizedStrings().peoplePage,Ye=({peopleDetails:e,managersList:u,classList:R,controllersList:C,mode:d,isZeniTenant:_,onCloseClick:P,onResetClick:k,onSaveClick:m,onDeleteUser:X,onPeopleLocalDataUpdated:G,analytics:U,isReimbursementDisabled:z,isZeniAccountsDisabled:N,isChargeCardDisabled:q,isTreasuryDisabled:Z,isBankingOnlyTenant:y,isCardsOnlyTenant:v,isLiteRoleDisabled:F})=>{const O=ae(),[H,E]=b.useState(!1),[Y,ee]=b.useState(-1),se=d==="zeni_only"?a.invitePage.editZeniTitle:a.invitePage.editTitle,te=b.useRef(null),S=b.useMemo(()=>pe(z,N,q,y,v,F,Z),[z,N,q,y,v,F,Z]),A=ce(),l=ue({mode:"onBlur",reValidateMode:"onChange",defaultValues:J(e.people,u,R,d,S,y,v),values:J(e.people,u,R,d,S,y,v)}),re=l.handleSubmit(()=>{V()&&m()},()=>{V(),console.warn("Edit Profile form error")}),V=()=>{const g=l.getValues();let o=!0;return g.userItems.forEach((h,x)=>{const{role:L,department:i,nonZeniRole:f,manager:p}=h;if(d==="zeni_only"){const t=L.selectedOptions;(!t?.length||t?.length===1&&t?.includes("company_officer"))&&(l.setError(`${w}.${x}.role`,{type:"required"}),o=!1)}else{const t=f?.userRole.selectedRole;(t!=null&&f!=null?f.productsByUserRole[t].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(l.setError(`${w}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),o=!1),t!=="investor_or_banker"&&i?.selectedOption==null&&(y||v||(l.setError(`${w}.${x}.department`,{type:"required"}),o=!1)),p?.selectedUser==null&&t!=="investor_or_banker"&&(l.setError(`${w}.${x}.manager`,{type:"required"}),o=!1)}}),o},oe=async(g,o)=>{const h=[],{userItems:x}=o,L=e.person?.userRole?.userRoleId;x.forEach(i=>{let f={};if(L!=null){if(d==="zeni_only")f={email:i.email,role:i.role.selectedOptions};else{const p=i.nonZeniRole?.userRole.selectedRole;let t=[];p==="admin"||p==="investor_or_banker"?t.push(p):t=p!=null?(i.nonZeniRole?.productsByUserRole[p]??[]).map(B=>K.toUserRoleTypeStrict(B.selectedOption?.value)).filter(B=>B!=null):[],p==="employee"&&t.length===0&&t.push("reimbursements_user");const $=K.hasInvestorBankerLevelAccess(t);f={email:i.email,role:t,departmentId:$?void 0:i.department?.selectedOption?.value,managerId:$?void 0:i.manager?.selectedUser}}h.push(f)}}),G(h)};b.useEffect(()=>{const g=l.watch((o,{name:h})=>{h!=null&&o!=null&&oe(h,o)});return()=>{g.unsubscribe()}});const ne=()=>{E(!0)},le={onOkClick:()=>{const g=e.person;U?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),X?.(e.person)},onCancelClick:()=>{E(!1)}},W=me(e.person?.update),I=e.person?.update,ie=a.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return b.useEffect(()=>{I==null&&W==="removeUsers"&&(E(!1),k?.())},[I,W]),s.jsxs(s.Fragment,{children:[H===!0?s.jsx(ge,{titleComponent:s.jsx(ye,{children:a.deleteOverlay.title}),descriptionComponent:s.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?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{}),s.jsx(Be,{children:s.jsx(De,{src:e.person?.user.photo?.toString()??he,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,s.jsx(ve,{title:se,backgroundColor:A.colors.grey4,style:{zIndex:4},onCloseClick:P,isTitleAlignLeft:O==="small"}),s.jsxs(Te,{"data-testid":D("edit-people-page-container"),windowSize:O,ref:te,children:[s.jsxs(Le,{children:[s.jsx(xe,{personBasic:e.person?.user,styles:{height:r.sp6,width:r.sp6}}),s.jsxs(_e,{children:[s.jsx(Ee,{children:e.person?.user?.firstName?s.jsxs(Se,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),s.jsx(Ne,{className:"delete-icon-wrapper","data-testid":D("edit-people-page-delete-icon-wrapper"),onClick:ne,children:s.jsx($e,{style:{padding:"2px 5px"},enterDelay:600,title:a.deleteOverlay.title,placement:"top",children:s.jsx(ze,{windowsize:O})})})]})]}),s.jsx(be,{...l,children:s.jsx("form",{id:`${Q}_form`,onSubmit:re,children:s.jsx(Ie,{control:l.control,sectionId:w,deleteConfirmationIndex:Y,updateDeleteConfirmationIndex:ee,mode:d,isZeniTenant:_,classList:R,managersList:u,controllersList:C,customerRoleOptions:S,isBankingOnlyTenant:y,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:U})})})]}),s.jsx(we,{formId:`${Q}_form`,"data-testid":D("edit-people-page-footer"),primaryBtn:{label:a.invitePage.update,style:{width:j.buttonWidth.value(O)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:a.invitePage.cancel,style:{width:j.buttonWidth.value(O)},shouldResetOnCancel:!1,onClick:P},separatorStyle:{marginRight:r.sp4}})]})},J=(e,u,R,C,d,_,P)=>{const k=R.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[w]:[{userIndex:0,email:e[0].email,role:C==="zeni_only"?{allOptions:Ce.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:C!=="zeni_only"?{userRole:{selectedRole:je(e[0]?.role),allRootRole:Oe(_,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)}}]}},es=(e,u)=>`${e}.${u}`,Te=n.div`
1
+ import{q as ae,F as de,g2 as pe,c as ce,aa as ue,aP as me,j as s,cD as ge,aq as he,cE as fe,cF as ye,gW as ve,aM as D,cJ as xe,o as r,c5 as $e,ad as be,aQ as we,y as T,g5 as Re,g6 as Oe,g7 as je,cO as Ce,l as K,b8 as Pe,h as M,da as ke,u as c}from"./index-Ci6w3djJ.js";import{b,n}from"./vendor-Bs1fkIUX.js";import{f as Ie}from"./AllUserItems-vKh3Mm2X-BwTySL_M.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./LabeledUserSingleSelectWithSubtitlesField-DlOa-ACw-D4rNrj__.js";import"./RoleWithToolTip-SDWCAZAR-C5xFKYbN.js";import"./LabeledZeniRolesDropDownField-XfcFfufN-DyDyz251.js";const j={containerPaddingTop:new T(c[3],c[3]),containerPaddingLeft:new T(c[3],c[6],c[6]),containerPaddingRight:new T(c[3],c[6],c[8]),buttonWidth:new T(85,85)},Q="editPeoplePage",w="userItems",a=de.getLocalizedStrings().peoplePage,Ye=({peopleDetails:e,managersList:u,classList:R,controllersList:C,mode:d,isZeniTenant:_,onCloseClick:P,onResetClick:k,onSaveClick:m,onDeleteUser:X,onPeopleLocalDataUpdated:G,analytics:U,isReimbursementDisabled:z,isZeniAccountsDisabled:N,isChargeCardDisabled:q,isTreasuryDisabled:Z,isBankingOnlyTenant:y,isCardsOnlyTenant:v,isLiteRoleDisabled:F})=>{const O=ae(),[H,E]=b.useState(!1),[Y,ee]=b.useState(-1),se=d==="zeni_only"?a.invitePage.editZeniTitle:a.invitePage.editTitle,te=b.useRef(null),S=b.useMemo(()=>pe(z,N,q,y,v,F,Z),[z,N,q,y,v,F,Z]),A=ce(),l=ue({mode:"onBlur",reValidateMode:"onChange",defaultValues:J(e.people,u,R,d,S,y,v),values:J(e.people,u,R,d,S,y,v)}),re=l.handleSubmit(()=>{V()&&m()},()=>{V(),console.warn("Edit Profile form error")}),V=()=>{const g=l.getValues();let o=!0;return g.userItems.forEach((h,x)=>{const{role:L,department:i,nonZeniRole:f,manager:p}=h;if(d==="zeni_only"){const t=L.selectedOptions;(!t?.length||t?.length===1&&t?.includes("company_officer"))&&(l.setError(`${w}.${x}.role`,{type:"required"}),o=!1)}else{const t=f?.userRole.selectedRole;(t!=null&&f!=null?f.productsByUserRole[t].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(l.setError(`${w}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),o=!1),t!=="investor_or_banker"&&i?.selectedOption==null&&(y||v||(l.setError(`${w}.${x}.department`,{type:"required"}),o=!1)),p?.selectedUser==null&&t!=="investor_or_banker"&&(l.setError(`${w}.${x}.manager`,{type:"required"}),o=!1)}}),o},oe=async(g,o)=>{const h=[],{userItems:x}=o,L=e.person?.userRole?.userRoleId;x.forEach(i=>{let f={};if(L!=null){if(d==="zeni_only")f={email:i.email,role:i.role.selectedOptions};else{const p=i.nonZeniRole?.userRole.selectedRole;let t=[];p==="admin"||p==="investor_or_banker"?t.push(p):t=p!=null?(i.nonZeniRole?.productsByUserRole[p]??[]).map(B=>K.toUserRoleTypeStrict(B.selectedOption?.value)).filter(B=>B!=null):[],p==="employee"&&t.length===0&&t.push("reimbursements_user");const $=K.hasInvestorBankerLevelAccess(t);f={email:i.email,role:t,departmentId:$?void 0:i.department?.selectedOption?.value,managerId:$?void 0:i.manager?.selectedUser}}h.push(f)}}),G(h)};b.useEffect(()=>{const g=l.watch((o,{name:h})=>{h!=null&&o!=null&&oe(h,o)});return()=>{g.unsubscribe()}});const ne=()=>{E(!0)},le={onOkClick:()=>{const g=e.person;U?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),X?.(e.person)},onCancelClick:()=>{E(!1)}},W=me(e.person?.update),I=e.person?.update,ie=a.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return b.useEffect(()=>{I==null&&W==="removeUsers"&&(E(!1),k?.())},[I,W]),s.jsxs(s.Fragment,{children:[H===!0?s.jsx(ge,{titleComponent:s.jsx(ye,{children:a.deleteOverlay.title}),descriptionComponent:s.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?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{}),s.jsx(Be,{children:s.jsx(De,{src:e.person?.user.photo?.toString()??he,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,s.jsx(ve,{title:se,backgroundColor:A.colors.grey4,style:{zIndex:4},onCloseClick:P,isTitleAlignLeft:O==="small"}),s.jsxs(Te,{"data-testid":D("edit-people-page-container"),windowSize:O,ref:te,children:[s.jsxs(Le,{children:[s.jsx(xe,{personBasic:e.person?.user,styles:{height:r.sp6,width:r.sp6}}),s.jsxs(_e,{children:[s.jsx(Ee,{children:e.person?.user?.firstName?s.jsxs(Se,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),s.jsx(Ne,{className:"delete-icon-wrapper","data-testid":D("edit-people-page-delete-icon-wrapper"),onClick:ne,children:s.jsx($e,{style:{padding:"2px 5px"},enterDelay:600,title:a.deleteOverlay.title,placement:"top",children:s.jsx(ze,{windowsize:O})})})]})]}),s.jsx(be,{...l,children:s.jsx("form",{id:`${Q}_form`,onSubmit:re,children:s.jsx(Ie,{control:l.control,sectionId:w,deleteConfirmationIndex:Y,updateDeleteConfirmationIndex:ee,mode:d,isZeniTenant:_,classList:R,managersList:u,controllersList:C,customerRoleOptions:S,isBankingOnlyTenant:y,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:U})})})]}),s.jsx(we,{formId:`${Q}_form`,"data-testid":D("edit-people-page-footer"),primaryBtn:{label:a.invitePage.update,style:{width:j.buttonWidth.value(O)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:a.invitePage.cancel,style:{width:j.buttonWidth.value(O)},shouldResetOnCancel:!1,onClick:P},separatorStyle:{marginRight:r.sp4}})]})},J=(e,u,R,C,d,_,P)=>{const k=R.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[w]:[{userIndex:0,email:e[0].email,role:C==="zeni_only"?{allOptions:Ce.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:C!=="zeni_only"?{userRole:{selectedRole:je(e[0]?.role),allRootRole:Oe(_,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)}}]}},es=(e,u)=>`${e}.${u}`,Te=n.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{aP as ai,c as bt,ax as ft,aa as en,az as Ci,l as ee,F as me,aC as tn,q as Ie,gr as Zn,gt as Xn,gu as eo,j as t,gN as to,ad as nn,cD as li,cE as on,cF as an,aM as q,o as i,y as d,bF as ki,bs as io,dN as no,gv as oo,gG as rn,gB as Ii,aQ as ln,ap as sn,gC as ao,eR as _e,gO as At,ff as si,m as xt,gP as ro,h as j,A as dn,ar as di,u as a,bB as lo,gE as so,cT as co,eY as ci,gQ as zt,fu as fe,fw as xe,cV as ui,d3 as dt,eD as uo,ft as cn,C as Rt,cY as un,cX as Xe,db as st,ai as mi,gR as mo,fG as po,cS as ho,aU as Di,bA as go,b9 as mn,M as yo,eC as bo,b6 as Bt,gw as fo,c7 as pn,O as pi,H as hn,dd as gn,cw as Ft,fa as xo,b8 as wo,dh as So,fB as vo,am as hi,a as Ti,c5 as yn,b1 as ji,da as $o,an as Co,c$ as bn,aN as ko,gS as fn,gT as ri,gm as Pi,gU as Ot,d9 as Io,gq as Do,bP as To,d8 as jo}from"./index-JJMBnBNB.js";import{b as $,n,w as $t}from"./vendor-Bs1fkIUX.js";import{_ as Po}from"./liveblocks-8ht9CoL5.js";import xn from"./InvoiceUploadSection-DjnuyOSw-BzB_1eSD.js";import{r as Ro,f as Lt,d as yt,p as gi,u as Ri,h as $e}from"./types-DyvtCprH-BcZYcgaq.js";import{I as Oo}from"./LabeledCreatableSingleSelectField-VKo2nKGM-C5nWLniy.js";import{S as Lo}from"./CurrencySelectField-DLcojhnq-LEdI6qEo.js";import{K as Ao}from"./SetUpDefaultSection-BHYOBJ7g-ugz5Fdi4.js";import{e as zo}from"./BankAccountSection-Cw7uDvEJ-DEZ19vJg.js";import{W as Bo,F as Fo}from"./BankAccountWarningSection-ClNYTjN_-C0GUXdVn.js";import{o as Mo}from"./radio-default-CiSgisfh-Cuu8ymvq.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./crypto-cQYYQPTZ.js";import"./AttachmentView-DmZoR5fC-Cxq55CaJ.js";import"./uploadReceipts-CQ7whQyJ-Bg8PayZa.js";const Qe=(e,o)=>`${e}.${o}`,Oi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Pe}},dateFormat:Eo,common:No}=me.getLocalizedStrings(),Wo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:u,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}`,P=bt(),{getValues:T}=dt(),v=No.strings.empty,K=T(Qe(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:Pe.transactionDate,width:L},style:{paddingBottom:Oi.paddingBottom.valuePx(f),width:"auto"},dateField:{name:Qe(p,"transactionDate"),placeholder:Pe.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(Pi,{isDisabled:S?"disabled":void 0,style:{width:"auto"},label:{label:Pe.distanceInMiles,width:L},formattedTextField:{type:"number",name:Qe(p,"distanceInMiles"),placeholder:Pe.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(Pi,{isDisabled:"disabled",label:{label:Pe.amount,width:L},formattedTextField:{type:"number",name:Qe(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:Xe(Pe.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?`${u.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:Pe.memo,width:L},style:{width:"auto"},text:{type:"text",name:Qe(p,"memo"),placeholder:Xe(Pe.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:Pe.department,width:L},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Qe(p,"class"),placeholder:Xe(Pe.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 ${P.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Qe(p,"class"))})]})},Ct=n.div`
1
+ import{aP as ai,c as bt,ax as ft,aa as en,az as Ci,l as ee,F as me,aC as tn,q as Ie,gr as Zn,gt as Xn,gu as eo,j as t,gN as to,ad as nn,cD as li,cE as on,cF as an,aM as q,o as i,y as d,bF as ki,bs as io,dN as no,gv as oo,gG as rn,gB as Ii,aQ as ln,ap as sn,gC as ao,eR as _e,gO as At,ff as si,m as xt,gP as ro,h as j,A as dn,ar as di,u as a,bB as lo,gE as so,cT as co,eY as ci,gQ as zt,fu as fe,fw as xe,cV as ui,d3 as dt,eD as uo,ft as cn,C as Rt,cY as un,cX as Xe,db as st,ai as mi,gR as mo,fG as po,cS as ho,aU as Di,bA as go,b9 as mn,M as yo,eC as bo,b6 as Bt,gw as fo,c7 as pn,O as pi,H as hn,dd as gn,cw as Ft,fa as xo,b8 as wo,dh as So,fB as vo,am as hi,a as Ti,c5 as yn,b1 as ji,da as $o,an as Co,c$ as bn,aN as ko,gS as fn,gT as ri,gm as Pi,gU as Ot,d9 as Io,gq as Do,bP as To,d8 as jo}from"./index-Ci6w3djJ.js";import{b as $,n,w as $t}from"./vendor-Bs1fkIUX.js";import{_ as Po}from"./liveblocks-8ht9CoL5.js";import xn from"./InvoiceUploadSection-D-8BRSZh-C_cyOMSQ.js";import{r as Ro,f as Lt,d as yt,p as gi,u as Ri,h as $e}from"./types-DyvtCprH-BcZYcgaq.js";import{I as Oo}from"./LabeledCreatableSingleSelectField-DnywMYhK-CuEc_EGD.js";import{S as Lo}from"./CurrencySelectField-DIdZl5cW-DZ4QIRLF.js";import{K as Ao}from"./SetUpDefaultSection-DAYmX0ZV-wM42lVKW.js";import{e as zo}from"./BankAccountSection-DC6iSj4R-BsAxAbXu.js";import{W as Bo,F as Fo}from"./BankAccountWarningSection-2lKoI5Zs-Dj_Poz3W.js";import{o as Mo}from"./radio-default-CiSgisfh-Cuu8ymvq.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./crypto-cQYYQPTZ.js";import"./AttachmentView-D7RHXhJ5-BAAcjA-7.js";import"./uploadReceipts-CQ7whQyJ-CcIwDZ8Y.js";const Qe=(e,o)=>`${e}.${o}`,Oi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Pe}},dateFormat:Eo,common:No}=me.getLocalizedStrings(),Wo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:u,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}`,P=bt(),{getValues:T}=dt(),v=No.strings.empty,K=T(Qe(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:Pe.transactionDate,width:L},style:{paddingBottom:Oi.paddingBottom.valuePx(f),width:"auto"},dateField:{name:Qe(p,"transactionDate"),placeholder:Pe.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(Pi,{isDisabled:S?"disabled":void 0,style:{width:"auto"},label:{label:Pe.distanceInMiles,width:L},formattedTextField:{type:"number",name:Qe(p,"distanceInMiles"),placeholder:Pe.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(Pi,{isDisabled:"disabled",label:{label:Pe.amount,width:L},formattedTextField:{type:"number",name:Qe(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:Xe(Pe.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?`${u.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:Pe.memo,width:L},style:{width:"auto"},text:{type:"text",name:Qe(p,"memo"),placeholder:Xe(Pe.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:Pe.department,width:L},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Qe(p,"class"),placeholder:Xe(Pe.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 ${P.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Qe(p,"class"))})]})},Ct=n.div`
2
2
  display: flex;
3
3
  flex: 1;
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{c as y,F as T,aU as C,j as o,ay as v,o as t,B as m}from"./index-JJMBnBNB.js";import{n as a}from"./vendor-Bs1fkIUX.js";import{R as k}from"./TrendWithTransactions-BnHF9LmW-tSH-lIqy.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./TrendChart-DdACpA7D-CjQnnjyH.js";import"./chartTypes-C55wRbZm-DZYdSC6g.js";import"./toCOABalancesWithID-CHP1NmFV-BEycbicm.js";import"./toChartData-CV-IsjGn-Dk8tQTe6.js";import"./NoDataChart-Bb4iomO0-DjYfMx27.js";import"./InsightsSection-mpQV3wZ8-CfoJ1FF7.js";import"./NavigationDots-CT4KVH38-Cxet2hdJ.js";import"./TransactionList-bXlPU8EJ-CJpXRXe5.js";import"./BoxItem-DR7ZjTUs-Dij4RmTj.js";import"./commonDimensions-kvPZ9uhR-B0JIHYIl.js";const $=a.div`
1
+ import{c as y,F as T,aU as C,j as o,ay as v,o as t,B as m}from"./index-Ci6w3djJ.js";import{n as a}from"./vendor-Bs1fkIUX.js";import{R as k}from"./TrendWithTransactions-D61X4lVu-B1TFib9_.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./TrendChart-BpsoQkO0-DB1sMg9j.js";import"./chartTypes-BkGKZtjd-9mZz2BPE.js";import"./toCOABalancesWithID-jZvgYCO7-K9Aq1Sm_.js";import"./toChartData-XC5K1jEk-BCy0qlOQ.js";import"./NoDataChart-BuWkhFal-CMKpuqZD.js";import"./InsightsSection-Baicql5I-Cy9IT7DF.js";import"./NavigationDots-DWLQ8EKT-Dn6PHYKg.js";import"./TransactionList-BingIVb_-DtIsd8Hw.js";import"./BoxItem-Di-YXnG--cmTXxwxj.js";import"./commonDimensions-D-rqQGD_-DguqB4oO.js";const $=a.div`
2
2
  display: flex;
3
3
  margin: ${t.sp0} ${t.sp0} ${t.sp0} ${t.sp0};
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{q as z,F as P,j as i,dK as O,y as d,df as N,o as s,ab as S,aN as b,b3 as R,cH as E,u as r,L as B,an as F,am as k,b8 as U,ai as _,cM as G,h as D,cP as q}from"./index-JJMBnBNB.js";import{b as f,n as t}from"./vendor-Bs1fkIUX.js";import{l as I}from"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";const w=P.getLocalizedStrings().reports.aging.agingDetail.header,m=[{key:"date",value:w.date,sortOrder:"ascending",width:new d(212,212)},{key:"invoiceNumber",value:w.invoiceNumber,sortOrder:"ascending",width:new d(188,188)},{key:"dueDate",value:w.dueDate,sortOrder:"ascending",width:new d(188,188)},{key:"daysPastDue",value:w.daysPastDue,sortOrder:"ascending",width:new d(188,188)},{key:"amount",value:w.amount,sortOrder:"ascending",width:new d(188,188)},{key:"balance",value:w.balance,sortOrder:"ascending",width:new d(120,120)}],M={headerHeight:new d(45,58)},Z=t.div`
1
+ import{q as z,F as P,j as i,dK as O,y as d,df as N,o as s,ab as S,aN as b,b3 as R,cH as E,u as r,L as B,an as F,am as k,b8 as U,ai as _,cM as G,h as D,cP as q}from"./index-Ci6w3djJ.js";import{b as f,n as t}from"./vendor-Bs1fkIUX.js";import{l as I}from"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";const w=P.getLocalizedStrings().reports.aging.agingDetail.header,m=[{key:"date",value:w.date,sortOrder:"ascending",width:new d(212,212)},{key:"invoiceNumber",value:w.invoiceNumber,sortOrder:"ascending",width:new d(188,188)},{key:"dueDate",value:w.dueDate,sortOrder:"ascending",width:new d(188,188)},{key:"daysPastDue",value:w.daysPastDue,sortOrder:"ascending",width:new d(188,188)},{key:"amount",value:w.amount,sortOrder:"ascending",width:new d(188,188)},{key:"balance",value:w.balance,sortOrder:"ascending",width:new d(120,120)}],M={headerHeight:new d(45,58)},Z=t.div`
2
2
  top: ${s.sp0};
3
3
  left: ${s.sp0};
4
4
  min-height: ${e=>M.headerHeight.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{c as K,q as ne,cr as ae,F as S,l as X,j as t,aM as f,gh as le,bZ as de,h as n,c5 as ce,o as r,bF as he,k1 as pe,C as a,hO as R,hN as _,a as me,k2 as Y,aj as ge,bA as ue,g0 as xe,cy as Ce,L as ke,bP as fe,ai as $,aw as U,am as $e,s as je,hz as ye,be as ve,bh as be,bg as we,bf as Le,b6 as Me,a$ as Ee,b8 as Q}from"./index-JJMBnBNB.js";import{b as s,n as o,i as ee,k as Se}from"./vendor-Bs1fkIUX.js";import{o as De}from"./transaction-placeholder-CpOwZAMG-CGEA36Na.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const We=S.getLocalizedStrings().expenseAutomation,Pe=S.getLocalizedStrings().dateFormat.visual;function Fe({data:e,height:d}){const u=K(),v=e.map(x=>({month:X.zeniDate(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Pe.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Re,{children:[t.jsx(ze,{children:We.overview.monthEndCloseTrend}),t.jsx(ye,{height:d,width:"100%",children:t.jsxs(ve,{data:v,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"scoreGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx("stop",{offset:"0%",stopColor:n.brandColorJade,stopOpacity:.8}),t.jsx("stop",{offset:"100%",stopColor:n.brandColorJade,stopOpacity:.1})]})}),t.jsx(be,{dataKey:"month",axisLine:{stroke:u.colors.grey3},tickLine:!1,label:{color:u.colors.hero,fontSize:a.smallRegular.fontSize,fontWeight:a.smallRegular.fontWeight,fontFamily:a.smallRegular.fontFamily}}),t.jsx(we,{hide:!0}),t.jsx(Le,{type:"monotone",dataKey:"count",stroke:n.brandColorJade,strokeWidth:2,fill:"url(#scoreGradient)",dot:!1,activeDot:{r:5}})]})})]})}const ze=o($)`
1
+ import{c as K,q as ne,cr as ae,F as S,l as X,j as t,aM as f,gh as le,bZ as de,h as n,c5 as ce,o as r,bF as he,k1 as pe,C as a,hO as R,hN as _,a as me,k2 as Y,aj as ge,bA as ue,g0 as xe,cy as Ce,L as ke,bP as fe,ai as $,aw as U,am as $e,s as je,hz as ye,be as ve,bh as be,bg as we,bf as Le,b6 as Me,a$ as Ee,b8 as Q}from"./index-Ci6w3djJ.js";import{b as s,n as o,i as ee,k as Se}from"./vendor-Bs1fkIUX.js";import{o as De}from"./transaction-placeholder-CpOwZAMG-CGEA36Na.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const We=S.getLocalizedStrings().expenseAutomation,Pe=S.getLocalizedStrings().dateFormat.visual;function Fe({data:e,height:d}){const u=K(),v=e.map(x=>({month:X.zeniDate(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Pe.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Re,{children:[t.jsx(ze,{children:We.overview.monthEndCloseTrend}),t.jsx(ye,{height:d,width:"100%",children:t.jsxs(ve,{data:v,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"scoreGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx("stop",{offset:"0%",stopColor:n.brandColorJade,stopOpacity:.8}),t.jsx("stop",{offset:"100%",stopColor:n.brandColorJade,stopOpacity:.1})]})}),t.jsx(be,{dataKey:"month",axisLine:{stroke:u.colors.grey3},tickLine:!1,label:{color:u.colors.hero,fontSize:a.smallRegular.fontSize,fontWeight:a.smallRegular.fontWeight,fontFamily:a.smallRegular.fontFamily}}),t.jsx(we,{hide:!0}),t.jsx(Le,{type:"monotone",dataKey:"count",stroke:n.brandColorJade,strokeWidth:2,fill:"url(#scoreGradient)",dot:!1,activeDot:{r:5}})]})})]})}const ze=o($)`
2
2
  color: ${e=>e.theme.colors.champion};
3
3
  `,Re=o.div`
4
4
  display: flex;