@zeniai/web-cockpit-ui 1.14.2-qa → 1.14.3-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/dist/assets/{ACHDetailsPage-CfXmiXOX-Dg6Ba-cj.js → ACHDetailsPage-IlicpbsX-BV1MtBsX.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BTkeAbzQ-s19tFk-7.js → AIPerformancePage-Cg8pnJ1F-WBDBeKMs.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-Cw14e1jO-DINdFbY3.js → AccountInfoPage-Bo4f6WXu-ClVtqJpJ.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-cvYWnpel-ClM8r_sm.js → AccountInfoPageContent-CgyoqeY7-CvYbpldf.js} +1 -1
  5. package/dist/assets/{AccountReconDetailsDrawerPage-DOKqIknC-Dzk8wQao.js → AccountReconDetailsDrawerPage-X4XAlKXA-hRtWyDj0.js} +1 -1
  6. package/dist/assets/{AccountRow-Ca-OS9TF-B7TzFJDr.js → AccountRow-CmtPvQJV-CYdLibRB.js} +1 -1
  7. package/dist/assets/{AccountsPromoCardStack-CwEVkbGD-CqrQLuen.js → AccountsPromoCardStack-DSiki31T-CnwSZqb8.js} +1 -1
  8. package/dist/assets/{AddAddressForCardDrawer-B1zyrJMb-BNTvNYlR.js → AddAddressForCardDrawer-BPlI1vyY-CUbpi7Yr.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-s7c161JX-B7rbM8AY.js → AddToWalletPage-D33swzes-C-rT9lMA.js} +1 -1
  10. package/dist/assets/{AgingReportsPage-Be-2Z_KS-BPOMQgO2.js → AgingReportsPage-fmZS9DwN-dwewtKzh.js} +1 -1
  11. package/dist/assets/{AllUserItems-B4Iah9-Z-Cs_gNkpw.js → AllUserItems-Ah7nd-Zu-CuUaLUDf.js} +1 -1
  12. package/dist/assets/{ApAgingDetailPage-D_KV9urv-Cqk0R_rd.js → ApAgingDetailPage-BXFmj8CM-Cnb7ZrLg.js} +1 -1
  13. package/dist/assets/{AppBasePage-GbE58C1g-D43kkjBz.js → AppBasePage-A25scWRX-BYUaLZrY.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-YTvkEPk_-MCm-BdDU.js → AppDrawerContent-DDwmivCK-LG7yyT2a.js} +1 -1
  15. package/dist/assets/{ApprovalRulesSettingsPage-Cct7Nzfb-wHHXh6lM.js → ApprovalRulesSettingsPage-CKtm-n4R-Chgg5hdr.js} +1 -1
  16. package/dist/assets/{ArAgingChart-BeVadylU-D_i81Eju.js → ArAgingChart-0NSve898-C9cJIr6q.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-CWUA4S2q-BQF2MP5p.js → ArAgingDetailPage-2P188mhw-05og7FSZ.js} +1 -1
  18. package/dist/assets/{AttachmentView-DGsub__A-DQPpkEq0.js → AttachmentView-C4mcX4Zi-C-ivJPKr.js} +1 -1
  19. package/dist/assets/{BankAccountSection-CtTkNBok-DUA4Lph8.js → BankAccountSection-3-6tRy48-CEpsaXXh.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-dVdrPYm5-DBHfQvSq.js → BankAccountWarningSection-DiVd7shS-C8IRSlRD.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-_e4jMGI2-FxlSka1R.js → BankConnectionsSettingsPage-DORa-BJl-DY2e9VEh.js} +1 -1
  22. package/dist/assets/{BillDetailPage-Dz4_gdDb-BTdbTFBP.js → BillDetailPage-CntHvNW--CVlZQhzx.js} +1 -1
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-DcNLlDh2-Cpi_VL13.js → BillPayApprovalRuleDetailPage-B2xSwMW8-CGcp-80j.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-C_NDjp6G-CP0RfOUn.js → BillPayApprovalRulesPage-D3zs2AXf-Dm-IcneT.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-TkLMkxeC-C9OsNooP.js → BillPayPromoPage-CuRyMElO-DjxmscmV.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-DTGSGVO0-Df01979f.js → BillPaySetUpPage-l5cRtorO-BnjCpjxh.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-0RLFEj6x-B4WmopWv.js → BillingSettingsPage-CX5yCTyc-C7JOHITa.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-rkkXgsz4-CqNjoTEN.js → BillsBulkReviewDrawerPage-hbvOVMQk-DoOQi4Oi.js} +1 -1
  29. package/dist/assets/{BoxItem-CIBzy4ZV-B6mMcHpB.js → BoxItem-D3QYSB_0-DLYI4sQa.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-T63_ft8O-BT3xRand.js → BusinessVerificationPage-BqA2qWYz-BqATSy5M.js} +1 -1
  31. package/dist/assets/{CardNumberSubText-FOFiHz-M-BDVcG4wd.js → CardNumberSubText-DbBXFWnu-nkQkeoUG.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-C1rbQ71n-Dq76KK1Z.js → CashbackDetailPage-DmWiLgGr-B0mF5ZxP.js} +1 -1
  33. package/dist/assets/{ChargeCardDetailPage-OgsnesGD-1RyKe8XA.js → ChargeCardDetailPage-CWsbYZI_-B3EskDDe.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-CLHFYydY-DWhXL2Jr.js → ChargeCardListPage-7OVFjrMz-DCHmq173.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-ePSGyBtc-COSOazWm.js → ChargeCardListTable-BHhRhMRt-B5Q416pX.js} +1 -1
  36. package/dist/assets/ChargeCardPromoPage-Bz3R_LIK-DxeGE2pZ.js +219 -0
  37. package/dist/assets/{ChargeCardSetupPage-DvlKbA_C-B8qo2cfJ.js → ChargeCardSetupPage-Cd8IdYSm-MogJfGap.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-CXhcA95f-BRxuhfIY.js → ChargeCardStatementsPage-64aocTjB-nEAYdmuW.js} +1 -1
  39. package/dist/assets/{ChargeCardUtils--ltNyvP2-Dl7YHdX0.js → ChargeCardUtils-C9viDXeo-ChGOccjp.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-CxEiwxZq-9jN_giBP.js → ChaseOverlay-CIiRuAKM-CHTItafP.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-CmZbDsc3-B31SvwCT.js → CheckDepositDrawerPage-DjKaXOhO-CiU-l9dD.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CyQ4sWuS-hWc4YWqx.js → CollapsableReportTable-NkWEC75c-Deu0twiI.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-DPufRe0m-DTTOfcu3.js → CompanyOfficerDetailsSection-ELXdYttn-C2ULDuzE.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-JgslGZ14-CyNbjmE3.js → CompanyPassportCard-C9oh6f6c-BmMtAkXd.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-B89YFcPT-kmshN2LC.js → CompanyPassportPage-DqwIHSwq-BqcHbYKK.js} +1 -1
  46. package/dist/assets/{CompleteProfile-D0RvVu97-CmuxFLCO.js → CompleteProfile-BIlg3hln-nXJkeG-_.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-D3BYCsW2-HFudAv3P.js → ConfettiBurst-DTCsF6tY-DUUt7nWP.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-C6Ddagzy-OW4rxzHw.js → CreateOrEditVendorPage-eK7muw60-Cl0Ovttp.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-C3mZhiZb-VoORoTv1.js → CreditCardPaymentDrawerPage-C5y6Qeh2-DA6G1AnC.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentPlgSection-D9oAn9qk-BL_rmpsN.js → CreditCardPaymentPlgSection-BfHK2O6G-BIIMVTiG.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-BBgpim44-Dfp1XN-p.js → CurrencySelectField-Cq-8I5M7-B4VyHQP2.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-iG0RHsLk-Dh3kwuNY.js → CustomerOnboardingActivationPage-C9-hMQWD-CcL9FOm7.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-BVOEIC7A-pQu2vkC8.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-tTcayyvt-elVnkUmV.js → CustomerOnboardingDetailPageSkeleton-CTWkmWXm-pLg_xRl2.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CIranNRI-xbppTAw2.js → CustomerOnboardingNoStepsPage-CMsvHUPO-DxVhq6DJ.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-aq8E7XsP-kKfVjTb5.js → CustomerOnboardingPage-CUUtm6Cl-CcOROhvt.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DRnOKNVC-DcTLXIJc.js → CustomerOnboardingProductSuitePage-pN8y9rAE-Dm_9mU8D.js} +1 -1
  58. package/dist/assets/{Dashboard-DyvhSbme-CvgqGXMg.js → Dashboard-xlal4qqq-BhfJA9fU.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-Cy_f84RN-a96QebIx.js → DashboardReportPage-CBhxD-B4-B1gJcJpL.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-DK15lI5V-MhAzoBL0.js → DepositAccTransactionItem-B2nnVYf9-rW4LVabI.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-CRBhV8W1-8SHu1ezB.js → DepositAccTransactionListPage-C8rgdc0N-BbR2acc-.js} +1 -1
  62. package/dist/assets/{DocumentSecurityBanner-C0bght0k-DspuXEqY.js → DocumentSecurityBanner-D-c2msUb-CaQCac0Q.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-BX8glsOH-Cj_ZMZE4.js → DomesticWireDetailsPage-racBIxWu-CwdqjfvP.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-C5kTy4dA-DbxKC6bE.js → DownloadOverlay-Cvo4oa42-DDw7tM5d.js} +1 -1
  65. package/dist/assets/{DrawerPage-Bwgpjwed-B7BM2zu9.js → DrawerPage-ChV5Xh-2-BECBl1xE.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-W-SFOxhC-zea2EAdS.js → EditPeoplePage-CMtniu66-CbNczsx5.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-D1Iduokd-9TiPKEG-.js → EditReimbursementDetailPage-Bx4frTSg-u3z1HUwv.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-BkRcX4SZ-BCMD5-c7.js → EntityDetailPage-CZSlVlVM-fWfezg2_.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-BlJR-qOB-OSQJbzXM.js → EntitySummarySection-BVcKIen2-D-hDoU5O.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-qT0g5t_P-C09yJmnV.js → ExpenseAutomationOverviewPage-BWGtpYKA-CYMVEYAp.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-CMKwWy2d-BV_gRGWe.js → ExpenseAutomationPage-PAOsfgJ8-CPl3uYta.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-DXfqMxkG-CHvXFGbM.js → ExpressPayPage-CwQ5ge-1-DmBTsUV7.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-CjZuOo_K-CvnwmP5y.js → FeaturePreviewPage-BFHtMaGo-CEUrU8f1.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-CO5MsYe6-CkpPHzig.js → FollowStepsSection-d9o0CLQV-Cz3LnKWr.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-BIMdWu5P-Cjv-ucTF.js → GlobalReviewListPage-DDVOPoeM-BndlcNlU.js} +1 -1
  76. package/dist/assets/{HelpButton-BGHsn-1b-B7anqpxw.js → HelpButton-Cms9G_Fp-BBuusntx.js} +1 -1
  77. package/dist/assets/{InformationCardStack-B8rD8LSH-B2xYwyB5.js → InformationCardStack--nHJ7Vje-DTxYdwn7.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-AwXZ6ysD-CMRV6LPn.js → InsightsCardStack-DogY3RH--JX-OLq6I.js} +1 -1
  79. package/dist/assets/{InsightsSection-BZS-MEy4-CnIKr2kY.js → InsightsSection-BFSU6XTB-CqZsOa8Z.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-D2tfKsbR-jmJG3Xe8.js → IntegrationsSettingsPage-CH8yZ1rE-FCBOnRZG.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-5NmSFI7x-R4TQ2ANi.js → InternationalWireSwiftDetailsPage-5xZXSwfn-BNBBpaju.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-C8WA6jI_-DhyKzKYw.js → InternationalWireVerificationPage-CYE3BuMX-ljIf1S9O.js} +1 -1
  83. package/dist/assets/{InviteFormPage-DC2ewDUN-BvANXEhR.js → InviteFormPage-CpSZgL3C-BAwlXQdu.js} +1 -1
  84. package/dist/assets/{InvitePageListView-DaShj4IM-DxxEcrHW.js → InvitePageListView-CxWgQb_H-lGpxzN76.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-BbY4ZpGl-BcEEyytW.js → InvitePeoplePage-D2dxkMSc-D6ezskAA.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-DZJTULDZ-7pV7yRbj.js → InvoiceUploadSection-CesF-8aw-VCRMmqB2.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-C1zB2vrB-BW59ae-5.js → IssueChargeCardPage-BHoqeA-T-QRHX7oQN.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-BDA7y5Fq-C1I9ONpk.js → LabeledAddressValue-BzK11ds6-CRaU9zWw.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-fj8E8gFz-Dl49sbM5.js → LabeledAddressValueField-DCYUeYio-CbmzwkEi.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-aLuztBgv-BKumqHUY.js → LabeledControlledCheckBoxField-uBDSnSo1-DkIHLNe5.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-zhHbiOVO-Dvon0-bn.js → LabeledCreatableSingleSelectField-DCazn6yx-BaRWYFjn.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-BTgmGAGq-EDILW_5a.js → LabeledDocumentField-Cip0e83a-AMdSbb7b.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-BdAKZt7q-z63ryyaA.js → LabeledDropDownFormattedTextField-BEG28_NH-DyHEcTe0.js} +1 -1
  94. package/dist/assets/{LabeledText-CMrFKM7D-D7iPzVMk.js → LabeledText-CuwxNLlP-BYhz7pRD.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C8A0HrPt-CeUXyrRv.js → LabeledUserSingleSelectWithSubtitlesField-BST69Rvq-BOe36urj.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-BaiPRGJf-iST7LMUs.js → LabeledZeniRolesDropDownField-CsBQ5HAf-C2yM2C0-.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-CWc1e0RL-DqvOGGbB.js → LinkJETransactionPage-Dqx2CF7d-CMpJ_yKN.js} +1 -1
  98. package/dist/assets/{LowBalancePopup-COu8cuzS-DB8pPPg4.js → LowBalancePopup-B7YSf5nh-BG3RrNxr.js} +1 -1
  99. package/dist/assets/{MagicLinkACHDetailsPage-h0Srx7SO-DioTINO1.js → MagicLinkACHDetailsPage-Onv3TsOp-C9JNg-YN.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BIZqOfHW-CgKQRg4G.js → MagicLinkDomesticWireDetailsPage-DyQ47uYn-D104KD58.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-MSHTQMXn-D6Ov0WxI.js → MagicLinkInternationalWireDetailsPage-C-AvrrYI-DhJE7w2X.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-BjWw4cqt-3eU98AlX.js → MagicLinkSuccessPage-BSHuvzHb-Mm1ZHACD.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-Cll6JJDZ-B5UrPU65.js → MagicLinkTitleSection-C7oqHWqv-CkKgTikM.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-DWSj0MOB-C9ELNony.js → MailingDetailsSection-Cl8HeSLQ-uuzcsCOp.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-CTuOhFQC-O6ZxLtjI.js → MeetingCalenderPopup-Crufcivq-DYL_5ev9.js} +1 -1
  106. package/dist/assets/{Menu-DlBP5CCV-DJxwO4Ba.js → Menu-Bxgksma7-CwtXkA2y.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BYqoUq4q-C8mAgqAj.js → MyBankConnectionsSettingsPage-CP2msF1X-D4XZ8GKL.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-BABBa4je-zPU79Z5u.js → MyPendingActivationChargeCardListPage-BycRkfNQ-gnjx5ns4.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-Dk_jK8-R-YwIIR_RD.js → MyProfileSettingsPage-RuUJD6J4-L9fgB6K2.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-BC2xbV2b-Bf89QVkZ.js → NavBarWithPicker-JELo6Q4S-Cn6VM2o-.js} +1 -1
  111. package/dist/assets/{NavigationArrow-BovrdeuJ-DKcAPZgQ.js → NavigationArrow-CFSP9IjV-BU2CiUJ5.js} +1 -1
  112. package/dist/assets/{NavigationDots-yYTGREt4-B_TXvW9Q.js → NavigationDots-GHAOWiXe-DijU92FW.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-BKlPnipd-B2qF5hNv.js → NewGlobalMerchantPage-DwEjytGo-BuMba8Am.js} +1 -1
  114. package/dist/assets/{NoDataChart-Dhg-k7iX-C2SS_bK8.js → NoDataChart-CwAwvz9y-tnXSTZKG.js} +1 -1
  115. package/dist/assets/{NoDataTable-jpCLeiDv-CxfF0t1Z.js → NoDataTable-BAMPdDP7-4lsrb7c4.js} +1 -1
  116. package/dist/assets/{NotFoundPage-DrKqVOry-GOV1Vxy8.js → NotFoundPage-CaEcM3_c-CH_uBfaJ.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-lojoBPQ8-DKSlIai3.js → NotificationSettingsPage-Bam34Xpg-_SWjmK6y.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-jbIMYvrE-C7QimQze.js → NotificationsListConfig-B68mFIbn-DRANFTIn.js} +1 -1
  119. package/dist/assets/{NotificationsPage-DJNUS9wc-IJFU-eQL.js → NotificationsPage-C5ordrdT-eTh3hvRm.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-xMyUkO51-91dT0lZ2.js → OpExByVendorPage-DY3NOyYr-BRCFdRPW.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-GWXnlbZH-DL_NgHDQ.js → OverlayContainerPage-GWXnlbZH-lmI6l66W.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-BHtPelIT-CjMCHXhe.js → PandLWithForecastPage-BX6aj5Y6-BUH43uoJ.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-B2ZBSiCT-BheLQVGW.js → PaymentAccountSetupBillingAddressSection-f5qsN-3Y-COAiLT15.js} +1 -1
  124. package/dist/assets/{PeoplePage-CzQXmGVU-QvfR5wNa.js → PeoplePage-BkXdO_eN-xwRWTCEx.js} +1 -1
  125. package/dist/assets/{PortfolioAllocationFormPage-B1Xa0wKV-aYKA04AR.js → PortfolioAllocationFormPage-C_lmPeC9-C18wgQ96.js} +1 -1
  126. package/dist/assets/{PortfolioDetails-BY-IK4yO-aKLJ_efY.js → PortfolioDetails-BvN3T8NL-DoMnVuUh.js} +1 -1
  127. package/dist/assets/{ProductsCarousel-B7h_gH-R-D8_L3tq1.js → ProductsCarousel-BP9cI12D-BNZhjwFx.js} +1 -1
  128. package/dist/assets/{PromoBaseCards-CuJXuijt-x8n61Hvj.js → PromoBaseCards-6W04d7zP-W30n2OVX.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-DsNkkj_j-Bb7mFODr.js → QBOConnectionDialog-DjT-h910-BrRnOxYD.js} +1 -1
  130. package/dist/assets/{QBOSetupSection-DkoopYHr-Dunsf6NC.js → QBOSetupSection-DXfY8nFt-HGFNBREA.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BAapaJEJ-DFG8Lzdx.js → ReimbursementApprovalRuleDetailPage-I93XcmAv-DMBKbjre.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-BkiZVc7S-syeg53G3.js → ReimbursementApprovalRulesPage-D8mME0QI-Dr7WnKRv.js} +1 -1
  133. package/dist/assets/{ReimbursementDetailPage-S9j_KDZJ-DFCrziA4.js → ReimbursementDetailPage-CsqyYapD-CKKB2z3g.js} +1 -1
  134. package/dist/assets/{ReimbursementPromoPage-BJJruudV-B5qzp0pG.js → ReimbursementPromoPage-CjjAZH_R-Dt1GOOz2.js} +1 -1
  135. package/dist/assets/{ReimbursementSetUpPage-CQdxq5lk-CWuQFzoG.js → ReimbursementSetUpPage-CmENGPDd-BRi24MH9.js} +1 -1
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-5LGKVY6X-DoNJFHKI.js → ReimbursementsBulkReviewDrawerPage-DodlV376-D5cajYMF.js} +1 -1
  137. package/dist/assets/{ReloadCard-DBRY9FdH-ClHOe_7j.js → ReloadCard-DCswXdRU-BPS0YQ7v.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-DOxnK0VV-DIENvo0y.js → ReportTableViewSelector-CuJjacY9-Ca0_9any.js} +1 -1
  139. package/dist/assets/{ReportsPage-r_MRjkkb-CqwJv_8u.js → ReportsPage-BS1znKom-DkBiyG8B.js} +1 -1
  140. package/dist/assets/{RevenueChart-DhCkb0c6-Db5-d6KO.js → RevenueChart-QYZoX_2o-MAXFDj15.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-DWtgiOYE-BAPdF9kl.js → ReviewDetailsPage-DlcjxoKl-zHEBuEqI.js} +1 -1
  142. package/dist/assets/{ReviewOverlay-CjWEPPvw-BvhhSjGF.js → ReviewOverlay-qo1v9-E4--nEQ0-B2.js} +1 -1
  143. package/dist/assets/{RoleWithToolTip-4WCTaiOg-BbGumQgu.js → RoleWithToolTip-7IBT7PpV-Bt6xYXjy.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CSxG7vXq-BdFQOiex.js → ScheduleDetailsFixedAssetsPage-kz4Xwcye-Cfkf5x2O.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsPage-BqaZqCZJ-BTWKtncX.js → ScheduleDetailsPage-guEjspG5-CZ7XeIIh.js} +1 -1
  146. package/dist/assets/{ScheduleSequenceTable-H_kZuoon-BlhFDpBa.js → ScheduleSequenceTable-4Yc3ZRdp-BAXIPK8E.js} +1 -1
  147. package/dist/assets/{ScreenRoutes-C-eCIwAh.js → ScreenRoutes-BjyF1noT.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-B9L-2aHz-CN70K-X0.js → SetUpAccountSection-BlokopoC-B8jxPtba.js} +1 -1
  149. package/dist/assets/{SetUpDefaultSection-DO9aLike-CeAMTqY_.js → SetUpDefaultSection-CjXLrIH0-Clr5GDIw.js} +1 -1
  150. package/dist/assets/{SignIn-DOSDfnki-_RV7TJwj.js → SignIn-B4sJUaDd-DT69iJIX.js} +1 -1
  151. package/dist/assets/{SignInScreen-0PHG5dXY.js → SignInScreen-0Ar5-HKl.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-D6ysU0TE-DyH2ygMU.js → SpendManagementListViewPage-LA2GQyOi-SuHOoTma.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-CHvroeCa-5gBjdvdC.js → SpendManagementPerTabPage-BSV94PVx-BHG5M2dn.js} +1 -1
  154. package/dist/assets/{SpendManagementSection-BaEgJPY4-r_PB3IMq.js → SpendManagementSection-D5lkkIVU-DvhlO9ad.js} +1 -1
  155. package/dist/assets/{SpendMgmtSetupAccountSection-CVaXDNNK-BC8UZIDu.js → SpendMgmtSetupAccountSection-B2F0oKk_-DdOYa9CD.js} +1 -1
  156. package/dist/assets/{StatementItem-CYPCJ0XS-DIsNsiAW.js → StatementItem-CfkMZIbO-BcziylIY.js} +1 -1
  157. package/dist/assets/{StatementsPage-Cyqg2jd1-BUbUsA5q.js → StatementsPage-DmbLst4p-B0-XPxGT.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-C5UGqQw8-Dwl-DDS9.js → StatusSwitcher-BQK9o7R4-ClI6HZ7l.js} +1 -1
  159. package/dist/assets/{SubTabSwitcher-B3rFIZQy-x-9A1vXF.js → SubTabSwitcher-DWeDSFKx-DFdhIaTt.js} +1 -1
  160. package/dist/assets/{SummaryCard-CNADDyPG-DrV6jDY3.js → SummaryCard-egnXlcLU-CJYKpqj3.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-CtUQXjo2-D2ks-OoN.js → TaskManagementPage-CMRKQ-Ko-D3OWgs44.js} +1 -1
  162. package/dist/assets/{TimeRangeSwitcher-BXXqX3m6-CWx5qvxK.js → TimeRangeSwitcher-OxjJ576j-axxrAdNq.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcher-Bk9rjDg4-C79EE7jI.js → TimeframeSwitcher-DrC9bvMo-Cf9PWe5k.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-RH8QHQFd-D3_wgi6s.js → TimeframeSwitcherWithToggle-C7fCh8tl-Cz8vBFWH.js} +1 -1
  165. package/dist/assets/{TopExCard-xJbS_mNo-DZM_hLI3.js → TopExCard-wnzLjnaP-Bb8wcxT5.js} +1 -1
  166. package/dist/assets/{TopExDetailPage-BDUuqAEK-D2hec9do.js → TopExDetailPage-BbKGbGU5-DGAHsC7l.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-CtzLtYa8-h-UHMzbk.js → TransactionDetailPage-DztoB9X4-w333wj7f.js} +1 -1
  168. package/dist/assets/{TransactionList-DS-_gBrf-TErnQ9sH.js → TransactionList-DmEyc2C4-C4T7m47j.js} +1 -1
  169. package/dist/assets/{TransactionListBig-D9ebH5C0-CfoawC-1.js → TransactionListBig-BK_J4i4g-R4YdcNj6.js} +1 -1
  170. package/dist/assets/{TransactionListPage-CPjayOv5-BjH-qR3M.js → TransactionListPage-Ca55hjDg-DTmTZymQ.js} +1 -1
  171. package/dist/assets/{TransactionVendorDetailPage-DMYoBJ23-CoFbw4Xm.js → TransactionVendorDetailPage-7_O3STPw-C52mxcJH.js} +1 -1
  172. package/dist/assets/{TransferDrawerPage-BAghLjPn-BBo4atgA.js → TransferDrawerPage-CvCsaIq--UQ_zMmo8.js} +1 -1
  173. package/dist/assets/{TreasuryOverviewPage-B7EFea4a-DhoGwygo.js → TreasuryOverviewPage-DIKQKR_u-BBi0rQ-7.js} +1 -1
  174. package/dist/assets/{TreasuryPromoPage-D7Y8yGpx-ZnV09cn_.js → TreasuryPromoPage-BpgRih0--CinnLSlr.js} +1 -1
  175. package/dist/assets/{TreasurySetupPage-B1SZd_a5-DbfGYJT0.js → TreasurySetupPage-CZ1BTHXX-D9c-uj1m.js} +1 -1
  176. package/dist/assets/{TreasuryStatementsPage-uakhQGBW-Da5kb1EE.js → TreasuryStatementsPage-DgoatXf4-D5W_4zm0.js} +1 -1
  177. package/dist/assets/{TreasuryTaxLetterPage-BHvr72P1-C77w17kY.js → TreasuryTaxLetterPage-DZsnsmnk-rLI976GY.js} +1 -1
  178. package/dist/assets/{TreasuryTransferOrReviewPage-BBPDHav1-DUBDHdZH.js → TreasuryTransferOrReviewPage-BFRIDROn-C9IFf4oB.js} +1 -1
  179. package/dist/assets/{TrendChart-ChiKhGtw-D3ycTtRo.js → TrendChart-BfsNpqPF-Cxaiidf-.js} +1 -1
  180. package/dist/assets/{TrendWithTransactions-DEMNHbbz-BErr4Z4f.js → TrendWithTransactions-CcmSvqVJ-DNFGC0yy.js} +1 -1
  181. package/dist/assets/{UncategorizedAccountsMappingPage-BDNznj4Y-BJVteHUS.js → UncategorizedAccountsMappingPage-LqkF-E1i-CYAoE57_.js} +1 -1
  182. package/dist/assets/{UnitIntegrationPage-Bgu5xfcn-Dd7cQ2nZ.js → UnitIntegrationPage-uA8jq1yR-cSFrtlP0.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-DW6WCx4i-CHe3m8G6.js → UploadAdditionalDocumentOverlay-N0bSxafO-DgWhDXaG.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-D34glhep-IQ6SeZ7K.js → Vendor2FAPopup-e-xRW6rn-CbpC-XOE.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-CSqpbr2r-D9v5VbET.js → VendorACHDetailsPage-Cca7Gf4u-BCUQDRT7.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-CJw1v9tJ-9e84tuia.js → VendorDetailPage-Bk_NbpIs-BLsXLqEF.js} +1 -1
  187. package/dist/assets/{VendorDomesticWireDetailsPage-BY8F5AWO-g7Arp7a5.js → VendorDomesticWireDetailsPage-BI35k3uH-C2-ad_pK.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-COYZCnYS-BY0fRku2.js → VendorFiling1099EditablePage-Cr3OoQa1-DV2Qpx84.js} +1 -1
  189. package/dist/assets/{VendorFirstReviewPage-BqnXdq6Q-BlGLXQd1.js → VendorFirstReviewPage-O82qXI11-Wuqi3MWC.js} +1 -1
  190. package/dist/assets/{VendorInternationalWireDetailsPage-K9botaZv-Ckxh4vcn.js → VendorInternationalWireDetailsPage-a5jqRn0i-CNAfxXBb.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DQ_akVN_-1AkymirR.js → VendorInternationalWireSwiftDetailsPage-CR3nUSIG-F9MKJx_S.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-D5d42xeO-ZE4UM1yc.js → VendorsAccountsSection-DUUy43AG-BNdHvB_A.js} +1 -1
  193. package/dist/assets/{WarningsDrawerPage-DiA5MRFe-0QT2tBLm.js → WarningsDrawerPage-ANVg-uR9-D7FCptP9.js} +1 -1
  194. package/dist/assets/{ZeniAccountDetailPage-DSCbx6BB-IhxLTd-Y.js → ZeniAccountDetailPage-DuaoV3nD-BKNysVpy.js} +1 -1
  195. package/dist/assets/{ZeniAccountListViewPage-7zssUaoL-B8STehLR.js → ZeniAccountListViewPage-DJoQlRuS-CT2VvjKF.js} +1 -1
  196. package/dist/assets/{ZeniAccountNavBarPieces-By4S70vz-CVQ9O0QT.js → ZeniAccountNavBarPieces-DciiSI3f-BrOLrsYt.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-Bvr4t7zq-BFN3wcM-.js → ZeniAccountPromoPage-C4TGOls6-4ZEM9j7C.js} +1 -1
  198. package/dist/assets/{ZeniAccountSetupPage-DtDN9JWk-B2wksTrx.js → ZeniAccountSetupPage-CvIAyaFj-BtJrDz6t.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-CxC3wvp1-ByRnuwkw.js → ZeniCopyright-9rssOaZJ-ByYr9Bd3.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-CcbG1sHp-BObBzfSK.js → ZeniTransferAmountSlider-0yTtw1XU-DummaIPJ.js} +1 -1
  201. package/dist/assets/{analyticsHelper-3y6VD3VH-DdUR4aDt.js → analyticsHelper-BLAu2yM--BtlUQ17P.js} +1 -1
  202. package/dist/assets/{analyticsHelper-DQ6E4gcp.js → analyticsHelper-BvCId75V.js} +1 -1
  203. package/dist/assets/{chartTypes-mKuCmPTG-YS3tNiFM.js → chartTypes-Br4XSz7W-oIvhtG3a.js} +1 -1
  204. package/dist/assets/{commonDimensions-BHBDbLXD-BvR8UrAJ.js → commonDimensions-DYyjzo8L-DgdXOvG4.js} +1 -1
  205. package/dist/assets/{detailCommon-1QwSQL9C-Cg38x0Dq.js → detailCommon-CXtdUvH5-KT3peqoB.js} +1 -1
  206. package/dist/assets/{downloadPdf-DjM3Z_88-CTOAmMQ_.js → downloadPdf-Ceik9x1F-CBmYmy4S.js} +1 -1
  207. package/dist/assets/{index-CCu-aWq5.js → index-s8qDJKCo.js} +5 -5
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-CKZd1bh4-BhE1RSRL.js → mapLoadingInProgressToTreeNode-CTk8G3Gw-DzBo3k79.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CO6ix8Ks-BCtizP8z.js → mapSectionWithAcOnlyToTreeNode-DSfitd4--B4ZZl_RV.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-CzcEW1Rc-DoJ9CKGS.js → mapSpacerToTreeNode-NDmnO3-w-D-H_dtde.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-CEDhLCxY-BO12d8DH.js → mapTimeframeBalancesToTreeNode-CCDxZE7U-CgasGiHN.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-y3lzh3vX-Dv3qCAIR.js → mapTimeframeBalancesToTreeNode-DxbCC6c3-Ds5uSc5-.js} +1 -1
  213. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Bf3d9TrW-dvdXOZW_.js → mapTimeframeHeaderLoadingInProgressToTreeNode-nb9z_DUI-kxLgoPLv.js} +1 -1
  214. package/dist/assets/{play-icon-DfMYCOJa-Dl44eCCU.js → play-icon-CUEtOPwa-CoomuQ4g.js} +1 -1
  215. package/dist/assets/{toCOABalancesWithID-CEvuOTjK-dpm8hjgI.js → toCOABalancesWithID-BuGHg1ur-DMCVRPFW.js} +1 -1
  216. package/dist/assets/{toChartData-D2kGY49E-ChCxQw52.js → toChartData-C5QlPh1F-BE1Imfno.js} +1 -1
  217. package/dist/assets/{treasuryColorHelper-k2phUKLw-o1ZyU4q7.js → treasuryColorHelper-D1HNtoAk-DoXq99rd.js} +1 -1
  218. package/dist/assets/{uploadAttachment-kyOdZMbL-CWuI-fAQ.js → uploadAttachment-zGYCP5sV-DwhW2FOQ.js} +1 -1
  219. package/dist/assets/{uploadReceipts-D80JLNY4-Dm5klsXr.js → uploadReceipts-D80JLNY4-MsCjmjS2.js} +1 -1
  220. package/dist/index.html +1 -1
  221. package/package.json +2 -2
  222. package/dist/assets/ChargeCardPromoPage-Bi9cAv-f-IEZEK5PP.js +0 -219
  223. package/dist/assets/CustomerOnboardingContainerPage-Dh5KIySS-F0dofhqs.js +0 -1
@@ -1,4 +1,4 @@
1
- import{j as s,Y as y,aH as E,u as f,X as T,bf as x,o as t,m as R,C as $,$ as I,M as N,g as u,eQ as U,h9 as P,e_ as L,aB as W,e as M,ha as O}from"./index-CCu-aWq5.js";import{n as r,f as S}from"./vendor-CnQcJ2Lu.js";const Y=r(O)`
1
+ import{j as s,Y as y,aH as E,u as f,X as T,bf as x,o as t,m as R,C as $,$ as I,M as N,g as u,eQ as U,h9 as P,e_ as L,aB as W,e as M,ha as O}from"./index-s8qDJKCo.js";import{n as r,f as S}from"./vendor-CnQcJ2Lu.js";const Y=r(O)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,X=r.div`
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{d2 as se,j as o,X as Ce,u as Pe,a as we,h0 as be,M as xe,a1 as ke,c3 as Ie,aV as $e,o as i,Y as Ae,F as Oe,a3 as ve,aH as Ve,cw as je,cx as oe,$ as Te,C as Q,s as Le,m as $}from"./index-CCu-aWq5.js";import{n as c,b as A}from"./vendor-CnQcJ2Lu.js";import{F as Ue}from"./HelpButton-BGHsn-1b-B7anqpxw.js";import{t as ze,e as Ee}from"./PaymentAccountSetupBillingAddressSection-B2ZBSiCT-BheLQVGW.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-tTcayyvt-elVnkUmV.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-CTuOhFQC-O6ZxLtjI.js";import"./SetUpAccountSection-B9L-2aHz-CN70K-X0.js";import"./SetUpDefaultSection-DO9aLike-CeAMTqY_.js";import"./ChaseOverlay-CxEiwxZq-9jN_giBP.js";const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Y={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q($[3],$[3]),subTitlePaddingBottom:new Q($[3],$[3])},Fe=e=>`${e}_form`,_e=xe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:v,googleAPIKey:V,signedInUser:P,currentTenant:j,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:F,..._})=>{const u=Ce(),D=se(),{analytics:h}=D,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:H,onAddressEditHandler:x}=_,W=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:O(e),values:O(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:J,uiState:le,allNationalityCountries:X,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=_e,{footer:ue,steps:pe}=ce,{buttons:Z}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=je(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};A.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ie(()=>ge(s,a))});return()=>{t.unsubscribe()}}),A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(O(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,X]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??g.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(J).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),s=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),T("link_payment_account"),F(me,!1,!0))};A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(O(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,X,b]);const[ae,fe]=A.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(He,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx(Oe,{...r,children:o.jsx(Ne,{id:Fe(ie),children:o.jsxs(Re,{children:[o.jsx(Ze,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(ze,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:J,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:u,children:o.jsx(Ve,{signedInUser:P,currentTenant:j,onLogOutClick:G})}),style:{width:u==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:Se,label:Z.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:y,stripeKey:v,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},Ke=c.div`
1
+ import{d2 as se,j as o,X as Ce,u as Pe,a as we,h0 as be,M as xe,a1 as ke,c3 as Ie,aV as $e,o as i,Y as Ae,F as Oe,a3 as ve,aH as Ve,cw as je,cx as oe,$ as Te,C as Q,s as Le,m as $}from"./index-s8qDJKCo.js";import{n as c,b as A}from"./vendor-CnQcJ2Lu.js";import{F as Ue}from"./HelpButton-Cms9G_Fp-BBuusntx.js";import{t as ze,e as Ee}from"./PaymentAccountSetupBillingAddressSection-f5qsN-3Y-COAiLT15.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-CTWkmWXm-pLg_xRl2.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-Crufcivq-DYL_5ev9.js";import"./SetUpAccountSection-BlokopoC-B8jxPtba.js";import"./SetUpDefaultSection-CjXLrIH0-Clr5GDIw.js";import"./ChaseOverlay-CIiRuAKM-CHTItafP.js";const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Y={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q($[3],$[3]),subTitlePaddingBottom:new Q($[3],$[3])},Fe=e=>`${e}_form`,_e=xe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:v,googleAPIKey:V,signedInUser:P,currentTenant:j,onUpdateStep:T,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:F,..._})=>{const u=Ce(),D=se(),{analytics:h}=D,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:H,onAddressEditHandler:x}=_,W=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:O(e),values:O(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:J,uiState:le,allNationalityCountries:X,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=_e,{footer:ue,steps:pe}=ce,{buttons:Z}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=je(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};A.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&Ie(()=>ge(s,a))});return()=>{t.unsubscribe()}}),A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(O(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,X]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??g.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(J).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),s=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),T("link_payment_account"),F(me,!1,!0))};A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(O(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,X,b]);const[ae,fe]=A.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(He,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx(Oe,{...r,children:o.jsx(Ne,{id:Fe(ie),children:o.jsxs(Re,{children:[o.jsx(Ze,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(ze,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:J,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:u,children:o.jsx(Ve,{signedInUser:P,currentTenant:j,onLogOutClick:G})}),style:{width:u==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:Se,label:Z.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:w,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:y,stripeKey:v,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},Ke=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{j as r,X as Ke,u as Zt,a as en,c3 as me,M as We,a1 as He,D as mt,H as Qe,l as M,aV as tn,o as re,F as nn,m as K,a3 as an,h0 as on,fC as sn,fa as ft,cw as xt,cx as yt,C as fe,fF as ye,cg as rn,s as cn,h1 as gt,E as ht,ce as ln,fE as dn}from"./index-CCu-aWq5.js";import{b as p,n as P,k as It}from"./vendor-CnQcJ2Lu.js";import{F as pn}from"./HelpButton-BGHsn-1b-B7anqpxw.js";import{t as St,e as un}from"./PaymentAccountSetupBillingAddressSection-B2ZBSiCT-BheLQVGW.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-tTcayyvt-elVnkUmV.js";import{G as fn,o as yn}from"./CompanyOfficerDetailsSection-DPufRe0m-DTTOfcu3.js";import{o as gn}from"./QBOSetupSection-DkoopYHr-Dunsf6NC.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-CTuOhFQC-O6ZxLtjI.js";import"./SetUpAccountSection-B9L-2aHz-CN70K-X0.js";import"./SetUpDefaultSection-DO9aLike-CeAMTqY_.js";import"./ChaseOverlay-CxEiwxZq-9jN_giBP.js";import"./LabeledAddressValueField-fj8E8gFz-Dl49sbM5.js";import"./LabeledCreatableSingleSelectField-zhHbiOVO-Dvon0-bn.js";import"./LabeledDocumentField-BTgmGAGq-EDILW_5a.js";import"./DocumentSecurityBanner-C0bght0k-DspuXEqY.js";import"./QBOConnectionDialog-DsNkkj_j-Bb7mFODr.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:v,verifiedPhoneNumber:x,onPhoneVerified:y,...I})=>{const m=Ke(),V=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:$}=l,N=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:V??[],allNationalityCountries:c,sectionHeader:$,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:N,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...I})})},Sn=P.div`
1
+ import{j as r,X as Ke,u as Zt,a as en,c3 as me,M as We,a1 as He,D as mt,H as Qe,l as M,aV as tn,o as re,F as nn,m as K,a3 as an,h0 as on,fC as sn,fa as ft,cw as xt,cx as yt,C as fe,fF as ye,cg as rn,s as cn,h1 as gt,E as ht,ce as ln,fE as dn}from"./index-s8qDJKCo.js";import{b as p,n as P,k as It}from"./vendor-CnQcJ2Lu.js";import{F as pn}from"./HelpButton-Cms9G_Fp-BBuusntx.js";import{t as St,e as un}from"./PaymentAccountSetupBillingAddressSection-f5qsN-3Y-COAiLT15.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-CTWkmWXm-pLg_xRl2.js";import{G as fn,o as yn}from"./CompanyOfficerDetailsSection-ELXdYttn-C2ULDuzE.js";import{o as gn}from"./QBOSetupSection-DXfY8nFt-HGFNBREA.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-Crufcivq-DYL_5ev9.js";import"./SetUpAccountSection-BlokopoC-B8jxPtba.js";import"./SetUpDefaultSection-CjXLrIH0-Clr5GDIw.js";import"./ChaseOverlay-CIiRuAKM-CHTItafP.js";import"./LabeledAddressValueField-DCYUeYio-CbmzwkEi.js";import"./LabeledCreatableSingleSelectField-DCazn6yx-BaRWYFjn.js";import"./LabeledDocumentField-Cip0e83a-AMdSbb7b.js";import"./DocumentSecurityBanner-D-c2msUb-CaQCac0Q.js";import"./QBOConnectionDialog-DjT-h910-BrRnOxYD.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:v,verifiedPhoneNumber:x,onPhoneVerified:y,...I})=>{const m=Ke(),V=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:$}=l,N=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:V??[],allNationalityCountries:c,sectionHeader:$,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:N,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...I})})},Sn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{X as M,d2 as U,w as W,u as D,M as V,j as e,aV as A,o as t,Y as k,aH as H,l as I,s as R,$ as Z,g as l,p as y,r as _,k as N,c0 as J,Z as Y,ae as K}from"./index-CCu-aWq5.js";import{b as n,n as i}from"./vendor-CnQcJ2Lu.js";import X from"./ConfettiBurst-D3BYCsW2-HFudAv3P.js";import{F as q}from"./HelpButton-BGHsn-1b-B7anqpxw.js";import{f as G}from"./ProductsCarousel-B7h_gH-R-D8_L3tq1.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-CTuOhFQC-O6ZxLtjI.js";const Q=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=V.getLocalizedStrings(),We=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:b=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=M(),x=U().analytics,f=W(),L=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=S,O=D(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=F;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,I.getProductSettingsString(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(A,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ke,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(ye,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx($e,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:p(a)[0]})]}),e.jsx(C,{children:p(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(G,{stopCarousel:w,showUpdatePaymentDetailButton:u})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(H,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(q,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(X,{showConfetti:b})]})},te=i.div`
1
+ import{X as M,d2 as U,w as W,u as D,M as V,j as e,aV as A,o as t,Y as k,aH as H,l as I,s as R,$ as Z,g as l,p as y,r as _,k as N,c0 as J,Z as Y,ae as K}from"./index-s8qDJKCo.js";import{b as n,n as i}from"./vendor-CnQcJ2Lu.js";import X from"./ConfettiBurst-DTCsF6tY-DUUt7nWP.js";import{F as q}from"./HelpButton-Cms9G_Fp-BBuusntx.js";import{f as G}from"./ProductsCarousel-BP9cI12D-BNZhjwFx.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-Crufcivq-DYL_5ev9.js";const Q=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=V.getLocalizedStrings(),We=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:b=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=M(),x=U().analytics,f=W(),L=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=S,O=D(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=F;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,I.getProductSettingsString(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(A,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ke,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(ye,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx($e,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:p(a)[0]})]}),e.jsx(C,{children:p(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(G,{stopCarousel:w,showUpdatePaymentDetailButton:u})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(H,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(q,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(X,{showConfetti:b})]})},te=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{w as zA,l as uA,j as e,y as wt,z as xt,A as ft,o as r,B as kt,D as mA,H as Dt,I as Ae,J as yt,L as Mt,N as jt,P as vt,R as bt,S as Rt,U as F,M as d,X as V,W as H,Y as x,_ as P,a0 as G,m as b,a as St,a1 as ye,a2 as Lt,F as Ft,a3 as Jt,C as z,a4 as T,a5 as W,e as Z,a6 as Me,a7 as R,a8 as L,a9 as WA,u as rA,aa as Ut,ab as qA,ac as Pt,g as f,ad as Ot,ae as Ht,v as J,af as vA,Z as XA,s as VA,ag as je,ah as ve,ai as be,aj as ZA,Q as Tt,h as Yt,ak as Kt,al as Re,am as Gt,an as Nt,ao as bA,ap as zt,aq as Wt,ar as qt,as as Xt,at as Vt,au as Zt,av as $t,c as Se,p as _t,aw as Ar,ax as er,ay as Le,az as tr,n as rr,aA as gr,r as ar,aB as Fe}from"./index-CCu-aWq5.js";import{b as o,n as C,f as D,k as S,j as pA}from"./vendor-CnQcJ2Lu.js";import{L as or,k as Cr}from"./ArAgingChart-BeVadylU-D_i81Eju.js";import{E as ir,T as $A,I as Je}from"./ReloadCard-DBRY9FdH-ClHOe_7j.js";import{L as nr,O as wA,c as gA}from"./TopExCard-xJbS_mNo-DZM_hLI3.js";import{H as Er,Y as Br,P as Qr,G as sr,N as Ir}from"./RevenueChart-DhCkb0c6-Db5-d6KO.js";import dr from"./InsightsCardStack-AwXZ6ysD-CMRV6LPn.js";import{a as lr}from"./AccountsPromoCardStack-CwEVkbGD-CqrQLuen.js";import{c as q}from"./SummaryCard-CNADDyPG-DrV6jDY3.js";import{t as cr,o as hr}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{x as EA}from"./NavigationArrow-BovrdeuJ-DKcAPZgQ.js";import{f as _A}from"./NavigationDots-yYTGREt4-B_TXvW9Q.js";import mr from"./CompanyPassportCard-JgslGZ14-CyNbjmE3.js";import{C as pr}from"./gift-box-Cmt9OgIZ-DKWN92w0.js";import ur from"./InformationCardStack-B8rD8LSH-B2xYwyB5.js";import{p as Ue}from"./chartTypes-mKuCmPTG-YS3tNiFM.js";import{h as wr}from"./toCOABalancesWithID-CEvuOTjK-dpm8hjgI.js";import{V as xr}from"./toChartData-D2kGY49E-ChCxQw52.js";import{r as fr,i as kr}from"./graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js";import{N as Dr,J as yr}from"./PromoBaseCards-CuJXuijt-x8n61Hvj.js";import Mr from"./ConfettiBurst-D3BYCsW2-HFudAv3P.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const jr=C(W)`
1
+ import{w as zA,l as uA,j as e,y as wt,z as xt,A as ft,o as r,B as kt,D as mA,H as Dt,I as Ae,J as yt,L as Mt,N as jt,P as vt,R as bt,S as Rt,U as F,M as d,X as V,W as H,Y as x,_ as P,a0 as G,m as b,a as St,a1 as ye,a2 as Lt,F as Ft,a3 as Jt,C as z,a4 as T,a5 as W,e as Z,a6 as Me,a7 as R,a8 as L,a9 as WA,u as rA,aa as Ut,ab as qA,ac as Pt,g as f,ad as Ot,ae as Ht,v as J,af as vA,Z as XA,s as VA,ag as je,ah as ve,ai as be,aj as ZA,Q as Tt,h as Yt,ak as Kt,al as Re,am as Gt,an as Nt,ao as bA,ap as zt,aq as Wt,ar as qt,as as Xt,at as Vt,au as Zt,av as $t,c as Se,p as _t,aw as Ar,ax as er,ay as Le,az as tr,n as rr,aA as gr,r as ar,aB as Fe}from"./index-s8qDJKCo.js";import{b as o,n as C,f as D,k as S,j as pA}from"./vendor-CnQcJ2Lu.js";import{L as or,k as Cr}from"./ArAgingChart-0NSve898-C9cJIr6q.js";import{E as ir,T as $A,I as Je}from"./ReloadCard-DCswXdRU-BPS0YQ7v.js";import{L as nr,O as wA,c as gA}from"./TopExCard-wnzLjnaP-Bb8wcxT5.js";import{H as Er,Y as Br,P as Qr,G as sr,N as Ir}from"./RevenueChart-QYZoX_2o-MAXFDj15.js";import dr from"./InsightsCardStack-DogY3RH--JX-OLq6I.js";import{a as lr}from"./AccountsPromoCardStack-DSiki31T-CnwSZqb8.js";import{c as q}from"./SummaryCard-egnXlcLU-CJYKpqj3.js";import{t as cr,o as hr}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{x as EA}from"./NavigationArrow-CFSP9IjV-BU2CiUJ5.js";import{f as _A}from"./NavigationDots-GHAOWiXe-DijU92FW.js";import mr from"./CompanyPassportCard-C9oh6f6c-BmMtAkXd.js";import{C as pr}from"./gift-box-Cmt9OgIZ-DKWN92w0.js";import ur from"./InformationCardStack--nHJ7Vje-DTxYdwn7.js";import{p as Ue}from"./chartTypes-Br4XSz7W-oIvhtG3a.js";import{h as wr}from"./toCOABalancesWithID-BuGHg1ur-DMCVRPFW.js";import{V as xr}from"./toChartData-C5QlPh1F-BE1Imfno.js";import{r as fr,i as kr}from"./graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js";import{N as Dr,J as yr}from"./PromoBaseCards-6W04d7zP-W30n2OVX.js";import Mr from"./ConfettiBurst-DTCsF6tY-DUUt7nWP.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const jr=C(W)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,ee=C.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Xe,c as Ke,D as Je,aX as Qe,o as d,C as L,H as Q,aY as et,aZ as tt,v as ae,m as C,ai as st,a7 as ot,a_ as at,a2 as Be,K as Pe,g as T,Z as Ne,a6 as nt,ao as it,n as rt,a$ as ct,b0 as lt,b1 as dt,b2 as ie,b3 as pt,aB as ut,e as gt,b4 as ht}from"./index-CCu-aWq5.js";import{b as y,f as ee,n as u,k as Le}from"./vendor-CnQcJ2Lu.js";import{m as U,l as oe}from"./analyticsHelper-3y6VD3VH-DdUR4aDt.js";import{c as mt,h as ft}from"./ReportTableViewSelector-DOxnK0VV-DIENvo0y.js";import{F as bt}from"./InsightsSection-BZS-MEy4-CnIKr2kY.js";import{k as _e,q as xt,G as _t,H as te,N as ue}from"./detailCommon-1QwSQL9C-Cg38x0Dq.js";import{N as wt,G as St,H as we,Y as Se,P as ye}from"./RevenueChart-DhCkb0c6-Db5-d6KO.js";import{C as yt}from"./NoDataChart-Dhg-k7iX-C2SS_bK8.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-BXXqX3m6-CWx5qvxK.js";import{b as Ie}from"./TimeframeSwitcher-Bk9rjDg4-C79EE7jI.js";import{R as $t,W as V,x as jt,l as ge,D as Ct}from"./CollapsableReportTable-CyQ4sWuS-hWc4YWqx.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-CO6ix8Ks-BCtizP8z.js";import{d as Pt}from"./NoDataTable-jpCLeiDv-CxfF0t1Z.js";import{d as he,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-Bf3d9TrW-dvdXOZW_.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-CKZd1bh4-BhE1RSRL.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./NavigationDots-yYTGREt4-B_TXvW9Q.js";import"./chartTypes-mKuCmPTG-YS3tNiFM.js";import"./toCOABalancesWithID-CEvuOTjK-dpm8hjgI.js";import"./toChartData-D2kGY49E-ChCxQw52.js";import"./AccountRow-Ca-OS9TF-B7TzFJDr.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const Nt=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Lt=u.div`
1
+ import{X as B,u as q,M as _,w as Oe,l as D,j as s,aV as Xe,c as Ke,D as Je,aX as Qe,o as d,C as L,H as Q,aY as et,aZ as tt,v as ae,m as C,ai as st,a7 as ot,a_ as at,a2 as Be,K as Pe,g as T,Z as Ne,a6 as nt,ao as it,n as rt,a$ as ct,b0 as lt,b1 as dt,b2 as ie,b3 as pt,aB as ut,e as gt,b4 as ht}from"./index-s8qDJKCo.js";import{b as y,f as ee,n as u,k as Le}from"./vendor-CnQcJ2Lu.js";import{m as U,l as oe}from"./analyticsHelper-BLAu2yM--BtlUQ17P.js";import{c as mt,h as ft}from"./ReportTableViewSelector-CuJjacY9-Ca0_9any.js";import{F as bt}from"./InsightsSection-BFSU6XTB-CqZsOa8Z.js";import{k as _e,q as xt,G as _t,H as te,N as ue}from"./detailCommon-CXtdUvH5-KT3peqoB.js";import{N as wt,G as St,H as we,Y as Se,P as ye}from"./RevenueChart-QYZoX_2o-MAXFDj15.js";import{C as yt}from"./NoDataChart-CwAwvz9y-tnXSTZKG.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-OxjJ576j-axxrAdNq.js";import{b as Ie}from"./TimeframeSwitcher-DrC9bvMo-Cf9PWe5k.js";import{R as $t,W as V,x as jt,l as ge,D as Ct}from"./CollapsableReportTable-NkWEC75c-Deu0twiI.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-DSfitd4--B4ZZl_RV.js";import{d as Pt}from"./NoDataTable-BAMPdDP7-4lsrb7c4.js";import{d as he,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-nb9z_DUI-kxLgoPLv.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-CTk8G3Gw-DzBo3k79.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./NavigationDots-GHAOWiXe-DijU92FW.js";import"./chartTypes-Br4XSz7W-oIvhtG3a.js";import"./toCOABalancesWithID-BuGHg1ur-DMCVRPFW.js";import"./toChartData-C5QlPh1F-BE1Imfno.js";import"./AccountRow-CmtPvQJV-CYdLibRB.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const Nt=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Lt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{_ as $,gU as u,X as y,j as l,o as i,s as d,e as c}from"./index-CCu-aWq5.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{g as k}from"./BoxItem-CIBzy4ZV-B6mMcHpB.js";import{o as v}from"./commonDimensions-BHBDbLXD-BvR8UrAJ.js";function U({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:g}=e,f=r.length>0?r:m,a=$("0,0.00",x),n=u(g),o=y(),h=l.jsxs(N,{children:[l.jsx(C,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(E,{windowSize:o,children:[l.jsx(D,{children:f}),n!=null?l.jsxs(P,{windowSize:o,children:[l.jsx(A,{windowSize:o}),l.jsx(R,{color:n?.color,children:n?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(B,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{_ as $,gU as u,X as y,j as l,o as i,s as d,e as c}from"./index-s8qDJKCo.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{g as k}from"./BoxItem-D3QYSB_0-DLYI4sQa.js";import{o as v}from"./commonDimensions-DYyjzo8L-DgdXOvG4.js";function U({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:g}=e,f=r.length>0?r:m,a=$("0,0.00",x),n=u(g),o=y(),h=l.jsxs(N,{children:[l.jsx(C,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(E,{windowSize:o,children:[l.jsx(D,{children:f}),n!=null?l.jsxs(P,{windowSize:o,children:[l.jsx(A,{windowSize:o}),l.jsx(R,{color:n?.color,children:n?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(B,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -1,4 +1,4 @@
1
- import{u as S,X as z,g_ as C,j as e,aV as D,M as Y,ai as B,o as r,g,bT as F,l as L,C as R,v as T,s as A,m as b,db as I,dc as V,d6 as E,dd as N}from"./index-CCu-aWq5.js";import{b as f,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as O}from"./BoxItem-CIBzy4ZV-B6mMcHpB.js";import{o as P}from"./commonDimensions-BHBDbLXD-BvR8UrAJ.js";import{H as X}from"./DepositAccTransactionItem-DK15lI5V-MhAzoBL0.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const n=Y.getLocalizedStrings(),H={listItemMargin:new R(b[3],b[8])};function _(t){const d=I(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=V(d,o=>o.length>0);return E(m,o=>({date:o[0].transactionDate,transactions:N(o,h=>h.transactionDate,"desc")}))}const q=C(_),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=f.createRef(),p=f.useRef(null),l=q(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*P.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(Q,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(U,{children:s.transactions.map((M,u)=>e.jsx(X,{data:M,boxType:O(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(G,{children:e.jsx($,{windowSize:o,children:e.jsx(K,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(J,{children:[e.jsx(D,{title:`${j} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(B,{children:({height:i,width:c})=>e.jsx(Z,{ref:h,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
1
+ import{u as S,X as z,g_ as C,j as e,aV as D,M as Y,ai as B,o as r,g,bT as F,l as L,C as R,v as T,s as A,m as b,db as I,dc as V,d6 as E,dd as N}from"./index-s8qDJKCo.js";import{b as f,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as O}from"./BoxItem-D3QYSB_0-DLYI4sQa.js";import{o as P}from"./commonDimensions-DYyjzo8L-DgdXOvG4.js";import{H as X}from"./DepositAccTransactionItem-B2nnVYf9-rW4LVabI.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const n=Y.getLocalizedStrings(),H={listItemMargin:new R(b[3],b[8])};function _(t){const d=I(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=V(d,o=>o.length>0);return E(m,o=>({date:o[0].transactionDate,transactions:N(o,h=>h.transactionDate,"desc")}))}const q=C(_),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=f.createRef(),p=f.useRef(null),l=q(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*P.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(Q,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(U,{children:s.transactions.map((M,u)=>e.jsx(X,{data:M,boxType:O(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(G,{children:e.jsx($,{windowSize:o,children:e.jsx(K,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(J,{children:[e.jsx(D,{title:`${j} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(B,{children:({height:i,width:c})=>e.jsx(Z,{ref:h,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
2
2
  margin: ${t=>`${r.sp0} ${H.listItemMargin.valuePx(t.windowSize)}`};
3
3
  `,G=a.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{ab as w,X as p,j as i,M as f,C as o,o as n,aj as x,Q as s,h as d,m as a}from"./index-CCu-aWq5.js";import{n as r,b as t}from"./vendor-CnQcJ2Lu.js";const C=e=>t.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),t.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("g",{clipPath:"url(#clip0_1350_23850)"},t.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip1_1350_23850)"},t.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip2_1350_23850)"},t.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip3_1350_23850)"},t.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_1350_23850"},t.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),t.createElement("clipPath",{id:"clip1_1350_23850"},t.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),t.createElement("clipPath",{id:"clip2_1350_23850"},t.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),t.createElement("clipPath",{id:"clip3_1350_23850"},t.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:g}=f.getLocalizedStrings(),{businessVerification:m}=g,c={iconSize:new o(a[6],a[10]),gap:new o(a[2],a[3])},h={title:new s("smallSemiBold","standardSemiBold"),description:new s("smallRegular","standardRegular")},P=()=>{const[e]=w("Secure"),l=p();return i.jsxs(E,{windowSize:l,children:[e!=null?i.jsx(u,{windowSize:l,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):i.jsx(S,{windowSize:l}),i.jsxs(y,{children:[i.jsx(z,{windowSize:l,children:m.securityMessageTitle}),i.jsx(B,{windowSize:l,children:m.securityMessageDescription})]})]})},E=r.div`
1
+ import{ab as w,X as p,j as i,M as f,C as o,o as n,aj as x,Q as s,h as d,m as a}from"./index-s8qDJKCo.js";import{n as r,b as t}from"./vendor-CnQcJ2Lu.js";const C=e=>t.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),t.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("g",{clipPath:"url(#clip0_1350_23850)"},t.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip1_1350_23850)"},t.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip2_1350_23850)"},t.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip3_1350_23850)"},t.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_1350_23850"},t.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),t.createElement("clipPath",{id:"clip1_1350_23850"},t.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),t.createElement("clipPath",{id:"clip2_1350_23850"},t.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),t.createElement("clipPath",{id:"clip3_1350_23850"},t.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:g}=f.getLocalizedStrings(),{businessVerification:m}=g,c={iconSize:new o(a[6],a[10]),gap:new o(a[2],a[3])},h={title:new s("smallSemiBold","standardSemiBold"),description:new s("smallRegular","standardRegular")},P=()=>{const[e]=w("Secure"),l=p();return i.jsxs(E,{windowSize:l,children:[e!=null?i.jsx(u,{windowSize:l,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):i.jsx(S,{windowSize:l}),i.jsxs(y,{children:[i.jsx(z,{windowSize:l,children:m.securityMessageTitle}),i.jsx(B,{windowSize:l,children:m.securityMessageDescription})]})]})},E=r.div`
2
2
  display: flex;
3
3
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
4
4
  gap: ${e=>c.gap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{X as U,a as V,M as $,c3 as q,H as G,l as j,j as n,bO as Q,bQ as X,bR as Y,F as _,a3 as J,C as u,eP as K,o as Z,an as ee,m as a}from"./index-CCu-aWq5.js";import{b as N,n as h}from"./vendor-CnQcJ2Lu.js";import{e as ne}from"./BankAccountSection-CtTkNBok-DUA4Lph8.js";import{M as te}from"./MagicLinkTitleSection-Cll6JJDZ-B5UrPU65.js";import{W as ae,A as oe}from"./BankAccountWarningSection-dVdrPYm5-DBHfQvSq.js";import{T as ie}from"./MailingDetailsSection-DWSj0MOB-C9ELNony.js";const i={paddingTopBottom:new u(a[3],a[3]),paddingRight:new u(a[3],a[8]),paddingLeft:new u(a[3],a[6]),buttonWidth:new u(140,140),marginLeft:new u(a[4],a[6])},B="domesticWireDetailsPage",f="bankAccountSection",w="mailingAddressSection",T=e=>`${e}_form`,he=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:y,isDisabled:A,companyName:v,isMagicLink:g,currencySymbol:D,amount:P,onSaveHandler:R,onWireDetailsUpdated:z,onFetchBankName:E,onAddressClick:L,onBackClick:C}=e,l=U(),c=V({mode:"onBlur",reValidateMode:"onChange",defaultValues:N.useMemo(()=>se(s,r),[s,r])}),[M,p]=N.useState(!1),t=$.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=$.getLocalizedStrings().common.footer,F=t.wireDetails.domestic,I={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},O=async(k,m)=>{const d=m[f].bankRoutingNumber;z(m),k===`${f}.bankRoutingNumber`&&d?.length===9&&K.test(d)===!0&&E?.(d)};N.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>O(d,m))});return()=>{k.unsubscribe()}});const H=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&R("wire")}),S=!G(y!=null?j.getFormattedAddress(y):y,r!=null?j.getFormattedAddress(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[M===!0?n.jsx(Q,{titleComponent:n.jsx(Y,{children:t.discardTitle}),descriptionComponent:n.jsx(X,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:I}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:v??"",currencySymbol:D??"",amount:P??0}):F.addWireDetails,isMagicLink:g,isDirty:S,onBackClick:C,setShowConfirmationPopup:p}),o?.fetchState==="Error"&&o.error?.code===409?n.jsx(oe,{warningText:t.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:l,children:t.bankAccountCommon.accountDetailsTitle}),n.jsx(_,{...c,children:n.jsxs("form",{id:T(B),onSubmit:H,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:f,isDisabled:A})}),n.jsx(ie,{sectionId:w,isDisabled:A,addressType:x,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(J,{formId:T(B),primaryBtn:{label:g?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:o.fetchState==="In-Progress",style:{width:i.buttonWidth.value(l)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(l)},shouldResetOnCancel:!1,onClick:()=>{S?p(!0):(c.reset(),C?.())}}})]})},se=(e,o)=>({[f]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[w]:{mailingAddress:o}}),re=e=>{if(e==null)return!1;const{bankAccountName:o,bankAccountNumber:b,bankName:x,bankRoutingNumber:s}=e;return!!o||!!b||!!x||!!s},ce=h.div`
1
+ import{X as U,a as V,M as $,c3 as q,H as G,l as j,j as n,bO as Q,bQ as X,bR as Y,F as _,a3 as J,C as u,eP as K,o as Z,an as ee,m as a}from"./index-s8qDJKCo.js";import{b as N,n as h}from"./vendor-CnQcJ2Lu.js";import{e as ne}from"./BankAccountSection-3-6tRy48-CEpsaXXh.js";import{M as te}from"./MagicLinkTitleSection-C7oqHWqv-CkKgTikM.js";import{W as ae,A as oe}from"./BankAccountWarningSection-DiVd7shS-C8IRSlRD.js";import{T as ie}from"./MailingDetailsSection-Cl8HeSLQ-uuzcsCOp.js";const i={paddingTopBottom:new u(a[3],a[3]),paddingRight:new u(a[3],a[8]),paddingLeft:new u(a[3],a[6]),buttonWidth:new u(140,140),marginLeft:new u(a[4],a[6])},B="domesticWireDetailsPage",f="bankAccountSection",w="mailingAddressSection",T=e=>`${e}_form`,he=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:y,isDisabled:A,companyName:v,isMagicLink:g,currencySymbol:D,amount:P,onSaveHandler:R,onWireDetailsUpdated:z,onFetchBankName:E,onAddressClick:L,onBackClick:C}=e,l=U(),c=V({mode:"onBlur",reValidateMode:"onChange",defaultValues:N.useMemo(()=>se(s,r),[s,r])}),[M,p]=N.useState(!1),t=$.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=$.getLocalizedStrings().common.footer,F=t.wireDetails.domestic,I={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},O=async(k,m)=>{const d=m[f].bankRoutingNumber;z(m),k===`${f}.bankRoutingNumber`&&d?.length===9&&K.test(d)===!0&&E?.(d)};N.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>O(d,m))});return()=>{k.unsubscribe()}});const H=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&R("wire")}),S=!G(y!=null?j.getFormattedAddress(y):y,r!=null?j.getFormattedAddress(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[M===!0?n.jsx(Q,{titleComponent:n.jsx(Y,{children:t.discardTitle}),descriptionComponent:n.jsx(X,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:I}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:v??"",currencySymbol:D??"",amount:P??0}):F.addWireDetails,isMagicLink:g,isDirty:S,onBackClick:C,setShowConfirmationPopup:p}),o?.fetchState==="Error"&&o.error?.code===409?n.jsx(oe,{warningText:t.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:l,children:t.bankAccountCommon.accountDetailsTitle}),n.jsx(_,{...c,children:n.jsxs("form",{id:T(B),onSubmit:H,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:f,isDisabled:A})}),n.jsx(ie,{sectionId:w,isDisabled:A,addressType:x,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(J,{formId:T(B),primaryBtn:{label:g?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:o.fetchState==="In-Progress",style:{width:i.buttonWidth.value(l)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(l)},shouldResetOnCancel:!1,onClick:()=>{S?p(!0):(c.reset(),C?.())}}})]})},se=(e,o)=>({[f]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[w]:{mailingAddress:o}}),re=e=>{if(e==null)return!1;const{bankAccountName:o,bankAccountNumber:b,bankName:x,bankRoutingNumber:s}=e;return!!o||!!b||!!x||!!s},ce=h.div`
2
2
  padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
3
  padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
4
  padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{j as t,bp as Je,o as a,X as le,bq as et,n as Le,l as d,g as de,C as H,a2 as tt,M as Y,br as rt,be as ze,m as z,an as Be,s as T,bl as we,p as G,e as ce,K as ee,u as Ne,bs as at,bt as me,bu as pe,c as Ee,bv as Qe,f as fe,bw as q,bc as ot,ao as st,bx as it,by as nt,b4 as lt,bz as dt,Z as ct,bA as mt,bB as pt,b0 as ft}from"./index-CCu-aWq5.js";import{b as u,n,k as Ve,f as he}from"./vendor-CnQcJ2Lu.js";import{m as ht}from"./analyticsHelper-3y6VD3VH-DdUR4aDt.js";import{c as ut,h as bt}from"./ReportTableViewSelector-DOxnK0VV-DIENvo0y.js";import{t as gt}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./CollapsableReportTable-CyQ4sWuS-hWc4YWqx.js";import"./AccountRow-Ca-OS9TF-B7TzFJDr.js";const xt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function te(e,o,r,s){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return s!=null?Math.min(i,s):i}function J(e,o,r,s=1){if(s>1){const i=d.subtractPeriod(r,e,s-1,o),{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ye{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,s,i,l,p=s.endDate){if(s.endDate.isBefore(s.startDate))throw Error(`Invalid data available period ${JSON.stringify(s)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=s,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return J(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=d.addPeriod(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:s}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(s,i,null,"[]")&&r.isBetween(s,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let s=te(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(s>this.maxNumberOfPeriods){s=this._numberOfPeriods;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(d.addPeriod(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){s=1;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=s,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const ae=["1","2","3","4"],oe=d.dateNow().localeData().monthsShort(),P={pdf:12,excel:100,csv:100},N=(e,o,r)=>{const s=Y.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let f=l;for(;f.isSameOrBefore(p,"year");)i.push(f.format(s)),f=d.addPeriod(f,e,1,"year")}else{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");let{fyYear:f}=d.getFYQuarterAndYear(l,e);const{fyYear:b}=d.getFYQuarterAndYear(p,e);for(;f<=b;)i.push(`${f}`),f++}return i},yt=n.div`
1
+ import{j as t,bp as Je,o as a,X as le,bq as et,n as Le,l as d,g as de,C as H,a2 as tt,M as Y,br as rt,be as ze,m as z,an as Be,s as T,bl as we,p as G,e as ce,K as ee,u as Ne,bs as at,bt as me,bu as pe,c as Ee,bv as Qe,f as fe,bw as q,bc as ot,ao as st,bx as it,by as nt,b4 as lt,bz as dt,Z as ct,bA as mt,bB as pt,b0 as ft}from"./index-s8qDJKCo.js";import{b as u,n,k as Ve,f as he}from"./vendor-CnQcJ2Lu.js";import{m as ht}from"./analyticsHelper-BLAu2yM--BtlUQ17P.js";import{c as ut,h as bt}from"./ReportTableViewSelector-CuJjacY9-Ca0_9any.js";import{t as gt}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./CollapsableReportTable-NkWEC75c-Deu0twiI.js";import"./AccountRow-CmtPvQJV-CYdLibRB.js";const xt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function te(e,o,r,s){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return s!=null?Math.min(i,s):i}function J(e,o,r,s=1){if(s>1){const i=d.subtractPeriod(r,e,s-1,o),{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ye{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,s,i,l,p=s.endDate){if(s.endDate.isBefore(s.startDate))throw Error(`Invalid data available period ${JSON.stringify(s)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=s,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return J(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=d.addPeriod(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:s}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(s,i,null,"[]")&&r.isBetween(s,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let s=te(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(s>this.maxNumberOfPeriods){s=this._numberOfPeriods;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(d.addPeriod(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){s=1;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=s,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const ae=["1","2","3","4"],oe=d.dateNow().localeData().monthsShort(),P={pdf:12,excel:100,csv:100},N=(e,o,r)=>{const s=Y.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let f=l;for(;f.isSameOrBefore(p,"year");)i.push(f.format(s)),f=d.addPeriod(f,e,1,"year")}else{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");let{fyYear:f}=d.getFYQuarterAndYear(l,e);const{fyYear:b}=d.getFYQuarterAndYear(p,e);for(;f<=b;)i.push(`${f}`),f++}return i},yt=n.div`
2
2
  padding: ${a.sp3};
3
3
  border: 1px solid ${e=>e.borderColor.default};
4
4
  border-radius: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{X as a,j as i,bs as P,o,M as h,C as s,bo as y,Q as c,h as g,a2 as b,m as t,_ as L,ja as k,jb as C,jc as R}from"./index-CCu-aWq5.js";import{n}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,D=({rewardsPlan:e})=>{const r=[M(),_(),H({rewardsPlan:e})],d=a();return i.jsx(A,{children:r.map((f,j)=>i.jsxs(W,{children:[i.jsx(I,{children:f}),j<r.length-1?i.jsx(E,{windowSize:d}):null]},`step_${j}`))})},M=()=>{const e=a(),r=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"link",children:i.jsx(X,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},_=()=>{const e=a(),r=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"user",children:i.jsx(B,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},H=({rewardsPlan:e})=>{const r=a(),d=x.item3;return i.jsxs(p,{windowSize:r,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:r,icon:"money",children:i.jsx(N,{windowSize:r})}),i.jsx(S,{windowSize:r,children:d.title[e.planName]})]}),i.jsx($,{windowSize:r,children:i.jsx(u,{windowSize:r,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},p=n.div`
1
+ import{X as a,j as i,bs as P,o,M as h,C as s,bo as y,Q as c,h as g,a2 as b,m as t,_ as L,ja as k,jb as C,jc as R}from"./index-s8qDJKCo.js";import{n}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,D=({rewardsPlan:e})=>{const r=[M(),_(),H({rewardsPlan:e})],d=a();return i.jsx(A,{children:r.map((f,j)=>i.jsxs(W,{children:[i.jsx(I,{children:f}),j<r.length-1?i.jsx(E,{windowSize:d}):null]},`step_${j}`))})},M=()=>{const e=a(),r=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"link",children:i.jsx(X,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},_=()=>{const e=a(),r=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"user",children:i.jsx(B,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},H=({rewardsPlan:e})=>{const r=a(),d=x.item3;return i.jsxs(p,{windowSize:r,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:r,icon:"money",children:i.jsx(N,{windowSize:r})}),i.jsx(S,{windowSize:r,children:d.title[e.planName]})]}),i.jsx($,{windowSize:r,children:i.jsx(u,{windowSize:r,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},p=n.div`
2
2
  border: 1px solid ${e=>e.theme.colors.grey3};
3
3
  border-radius: ${o.sp2};
4
4
  box-shadow: ${e=>`${o.sp0} 1px 2px ${o.sp0} ${e.theme.colors.dropShadowNormal}`};
@@ -1,4 +1,4 @@
1
- import{X as ae,M as de,fj as pe,u as ce,a as ue,a1 as me,j as t,bO as ge,bP as he,bQ as fe,bR as ye,gb as ve,Y as B,bV as xe,o as n,bs as be,F as $e,a3 as we,C as T,fm as Re,fn as Ce,fo as je,b_ as Oe,l as W,an as Pe,g as X,cn as ke,m as c}from"./index-CCu-aWq5.js";import{b as $,n as r}from"./vendor-CnQcJ2Lu.js";import{x as Ie}from"./AllUserItems-B4Iah9-Z-Cs_gNkpw.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledUserSingleSelectWithSubtitlesField-C8A0HrPt-CeUXyrRv.js";import"./RoleWithToolTip-4WCTaiOg-BbGumQgu.js";import"./LabeledZeniRolesDropDownField-BaiPRGJf-iST7LMUs.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)},Y="editPeoplePage",w="userItems",a=de.getLocalizedStrings().peoplePage,He=({peopleDetails:e,managersList:u,classList:R,controllersList:O,mode:d,isZeniTenant:_,onCloseClick:P,onResetClick:k,onSaveClick:m,onDeleteUser:K,onPeopleLocalDataUpdated:Q,analytics:U,isReimbursementDisabled:D,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:F,isBankingOnlyTenant:y,isCardsOnlyTenant:v,isLiteRoleDisabled:q})=>{const C=ae(),[J,E]=$.useState(!1),[H,ee]=$.useState(-1),te=d==="zeni_only"?a.invitePage.editZeniTitle:a.invitePage.editTitle,se=$.useRef(null),S=$.useMemo(()=>pe(D,N,Z,y,v,q,F),[D,N,Z,y,v,q,F]),A=ce(),l=ue({mode:"onBlur",reValidateMode:"onChange",defaultValues:G(e.people,u,R,d,S,y,v),values:G(e.people,u,R,d,S,y,v)}),ne=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:z,department:i,nonZeniRole:f,manager:p}=h;if(d==="zeni_only"){const s=z.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(l.setError(`${w}.${x}.role`,{type:"required"}),o=!1)}else{const s=f?.userRole.selectedRole;(s!=null&&f!=null?f.productsByUserRole[s].map(b=>b.selectedOption).filter(b=>b!=null):[]).length<1&&(l.setError(`${w}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),o=!1),s!=="investor_or_banker"&&i?.selectedOption==null&&(y||v||(l.setError(`${w}.${x}.department`,{type:"required"}),o=!1)),p?.selectedUser==null&&s!=="investor_or_banker"&&(l.setError(`${w}.${x}.manager`,{type:"required"}),o=!1)}}),o},oe=async(g,o)=>{const h=[],{userItems:x}=o,z=e.person?.userRole?.userRoleId;x.forEach(i=>{let f={};if(z!=null){if(d==="zeni_only")f={email:i.email,role:i.role.selectedOptions};else{const p=i.nonZeniRole?.userRole.selectedRole;let s=[];p==="admin"||p==="investor_or_banker"?s.push(p):s=p!=null?(i.nonZeniRole?.productsByUserRole[p]??[]).map(L=>W.toUserRoleTypeStrict(L.selectedOption?.value)).filter(L=>L!=null):[],p==="employee"&&s.length===0&&s.push("reimbursements_user");const b=W.hasInvestorBankerLevelAccess(s);f={email:i.email,role:s,departmentId:b?void 0:i.department?.selectedOption?.value,managerId:b?void 0:i.manager?.selectedUser}}h.push(f)}}),Q(h)};$.useEffect(()=>{const g=l.watch((o,{name:h})=>{h!=null&&o!=null&&oe(h,o)});return()=>{g.unsubscribe()}});const re=()=>{E(!0)},le={onOkClick:()=>{const g=e.person;U?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),K?.(e.person)},onCancelClick:()=>{E(!1)}},M=me(e.person?.update),I=e.person?.update,ie=a.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return $.useEffect(()=>{I==null&&M==="removeUsers"&&(E(!1),k?.())},[I,M]),t.jsxs(t.Fragment,{children:[J===!0?t.jsx(ge,{titleComponent:t.jsx(ye,{children:a.deleteOverlay.title}),descriptionComponent:t.jsx(fe,{children:ie}),primaryButtonText:a.deleteOverlay.remove,secondaryButtonText:a.deleteOverlay.cancel,action:le,proceedButtonVariant:"danger",isLoading:I==="removeUsers",isDisabled:I==="removeUsers",style:{background:A.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Ue,{}),t.jsx(Le,{children:t.jsx(Be,{src:e.person?.user.photo?.toString()??he,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(ve,{title:te,backgroundColor:A.colors.grey4,style:{zIndex:4},onCloseClick:P,isTitleAlignLeft:C==="small"}),t.jsxs(Te,{"data-testid":B("edit-people-page-container"),windowSize:C,ref:se,children:[t.jsxs(ze,{children:[t.jsx(xe,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(_e,{children:[t.jsx(Ee,{children:e.person?.user?.firstName?t.jsxs(Se,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ne,{className:"delete-icon-wrapper","data-testid":B("edit-people-page-delete-icon-wrapper"),onClick:re,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:a.deleteOverlay.title,placement:"top",children:t.jsx(De,{windowsize:C})})})]})]}),t.jsx($e,{...l,children:t.jsx("form",{id:`${Y}_form`,onSubmit:ne,children:t.jsx(Ie,{control:l.control,sectionId:w,deleteConfirmationIndex:H,updateDeleteConfirmationIndex:ee,mode:d,isZeniTenant:_,classList:R,managersList:u,controllersList:O,customerRoleOptions:S,isBankingOnlyTenant:y,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:U})})})]}),t.jsx(we,{formId:`${Y}_form`,"data-testid":B("edit-people-page-footer"),primaryBtn:{label:a.invitePage.update,style:{width:j.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:a.invitePage.cancel,style:{width:j.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:P},separatorStyle:{marginRight:n.sp4}})]})},G=(e,u,R,O,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:O==="zeni_only"?{allOptions:Oe.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:O!=="zeni_only"?{userRole:{selectedRole:je(e[0]?.role),allRootRole:Ce(_,P)},productsByUserRole:Re(e[0]?.role,d)}:void 0,manager:{allUsers:u,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:k,selectedOption:k.find(m=>m.value===e[0]?.departmentId)}}]}},et=(e,u)=>`${e}.${u}`,Te=r.div`
1
+ import{X as ae,M as de,fj as pe,u as ce,a as ue,a1 as me,j as t,bO as ge,bP as he,bQ as fe,bR as ye,gb as ve,Y as B,bV as xe,o as n,bs as be,F as $e,a3 as we,C as T,fm as Re,fn as Ce,fo as je,b_ as Oe,l as W,an as Pe,g as X,cn as ke,m as c}from"./index-s8qDJKCo.js";import{b as $,n as r}from"./vendor-CnQcJ2Lu.js";import{x as Ie}from"./AllUserItems-Ah7nd-Zu-CuUaLUDf.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledUserSingleSelectWithSubtitlesField-BST69Rvq-BOe36urj.js";import"./RoleWithToolTip-7IBT7PpV-Bt6xYXjy.js";import"./LabeledZeniRolesDropDownField-CsBQ5HAf-C2yM2C0-.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)},Y="editPeoplePage",w="userItems",a=de.getLocalizedStrings().peoplePage,He=({peopleDetails:e,managersList:u,classList:R,controllersList:O,mode:d,isZeniTenant:_,onCloseClick:P,onResetClick:k,onSaveClick:m,onDeleteUser:K,onPeopleLocalDataUpdated:Q,analytics:U,isReimbursementDisabled:D,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:F,isBankingOnlyTenant:y,isCardsOnlyTenant:v,isLiteRoleDisabled:q})=>{const C=ae(),[J,E]=$.useState(!1),[H,ee]=$.useState(-1),te=d==="zeni_only"?a.invitePage.editZeniTitle:a.invitePage.editTitle,se=$.useRef(null),S=$.useMemo(()=>pe(D,N,Z,y,v,q,F),[D,N,Z,y,v,q,F]),A=ce(),l=ue({mode:"onBlur",reValidateMode:"onChange",defaultValues:G(e.people,u,R,d,S,y,v),values:G(e.people,u,R,d,S,y,v)}),ne=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:z,department:i,nonZeniRole:f,manager:p}=h;if(d==="zeni_only"){const s=z.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(l.setError(`${w}.${x}.role`,{type:"required"}),o=!1)}else{const s=f?.userRole.selectedRole;(s!=null&&f!=null?f.productsByUserRole[s].map(b=>b.selectedOption).filter(b=>b!=null):[]).length<1&&(l.setError(`${w}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),o=!1),s!=="investor_or_banker"&&i?.selectedOption==null&&(y||v||(l.setError(`${w}.${x}.department`,{type:"required"}),o=!1)),p?.selectedUser==null&&s!=="investor_or_banker"&&(l.setError(`${w}.${x}.manager`,{type:"required"}),o=!1)}}),o},oe=async(g,o)=>{const h=[],{userItems:x}=o,z=e.person?.userRole?.userRoleId;x.forEach(i=>{let f={};if(z!=null){if(d==="zeni_only")f={email:i.email,role:i.role.selectedOptions};else{const p=i.nonZeniRole?.userRole.selectedRole;let s=[];p==="admin"||p==="investor_or_banker"?s.push(p):s=p!=null?(i.nonZeniRole?.productsByUserRole[p]??[]).map(L=>W.toUserRoleTypeStrict(L.selectedOption?.value)).filter(L=>L!=null):[],p==="employee"&&s.length===0&&s.push("reimbursements_user");const b=W.hasInvestorBankerLevelAccess(s);f={email:i.email,role:s,departmentId:b?void 0:i.department?.selectedOption?.value,managerId:b?void 0:i.manager?.selectedUser}}h.push(f)}}),Q(h)};$.useEffect(()=>{const g=l.watch((o,{name:h})=>{h!=null&&o!=null&&oe(h,o)});return()=>{g.unsubscribe()}});const re=()=>{E(!0)},le={onOkClick:()=>{const g=e.person;U?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),K?.(e.person)},onCancelClick:()=>{E(!1)}},M=me(e.person?.update),I=e.person?.update,ie=a.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return $.useEffect(()=>{I==null&&M==="removeUsers"&&(E(!1),k?.())},[I,M]),t.jsxs(t.Fragment,{children:[J===!0?t.jsx(ge,{titleComponent:t.jsx(ye,{children:a.deleteOverlay.title}),descriptionComponent:t.jsx(fe,{children:ie}),primaryButtonText:a.deleteOverlay.remove,secondaryButtonText:a.deleteOverlay.cancel,action:le,proceedButtonVariant:"danger",isLoading:I==="removeUsers",isDisabled:I==="removeUsers",style:{background:A.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Ue,{}),t.jsx(Le,{children:t.jsx(Be,{src:e.person?.user.photo?.toString()??he,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(ve,{title:te,backgroundColor:A.colors.grey4,style:{zIndex:4},onCloseClick:P,isTitleAlignLeft:C==="small"}),t.jsxs(Te,{"data-testid":B("edit-people-page-container"),windowSize:C,ref:se,children:[t.jsxs(ze,{children:[t.jsx(xe,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(_e,{children:[t.jsx(Ee,{children:e.person?.user?.firstName?t.jsxs(Se,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ne,{className:"delete-icon-wrapper","data-testid":B("edit-people-page-delete-icon-wrapper"),onClick:re,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:a.deleteOverlay.title,placement:"top",children:t.jsx(De,{windowsize:C})})})]})]}),t.jsx($e,{...l,children:t.jsx("form",{id:`${Y}_form`,onSubmit:ne,children:t.jsx(Ie,{control:l.control,sectionId:w,deleteConfirmationIndex:H,updateDeleteConfirmationIndex:ee,mode:d,isZeniTenant:_,classList:R,managersList:u,controllersList:O,customerRoleOptions:S,isBankingOnlyTenant:y,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:U})})})]}),t.jsx(we,{formId:`${Y}_form`,"data-testid":B("edit-people-page-footer"),primaryBtn:{label:a.invitePage.update,style:{width:j.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:a.invitePage.cancel,style:{width:j.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:P},separatorStyle:{marginRight:n.sp4}})]})},G=(e,u,R,O,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:O==="zeni_only"?{allOptions:Oe.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:O!=="zeni_only"?{userRole:{selectedRole:je(e[0]?.role),allRootRole:Ce(_,P)},productsByUserRole:Re(e[0]?.role,d)}:void 0,manager:{allUsers:u,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:k,selectedOption:k.find(m=>m.value===e[0]?.departmentId)}}]}},et=(e,u)=>`${e}.${u}`,Te=r.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{a1 as ai,u as bt,w as ft,a as en,z as Ci,l as ee,M as me,H as tn,X as Ie,fI as Qn,fK as Zn,fL as eo,j as t,g2 as to,F as nn,bO as li,bQ as on,bR as an,Y as K,o as i,C as c,aV as ki,aI as io,dq as no,fM as oo,fX as rn,fS as Ii,a3 as ln,f as sn,fT as ao,es as _e,g3 as At,eV as si,c as xt,g4 as ro,g as j,a2 as cn,Z as ci,m as a,aR as lo,fV as so,c4 as co,ez as di,g5 as zt,cP as fe,cR as xe,c6 as ui,cg as ct,ee as uo,cO as dn,p as Pt,c9 as un,c8 as Ze,co as st,v as mi,g6 as mo,eX as po,c3 as ho,a7 as Di,aQ as go,ao as mn,ax as yo,ed as bo,al as Bt,fN as fo,eW as pn,Q as pi,h as hn,cq as gn,bH as Mt,eP as xo,an as wo,cu as So,cW as vo,s as hi,K as Ti,bs as yn,ag as ji,cn as $o,e as Co,cc as bn,_ as ko,g7 as fn,g8 as ri,fD as Ri,g9 as Ot,cm as Io,fH as Do,b4 as To,cl as jo}from"./index-CCu-aWq5.js";import{b as $,n,f as $t}from"./vendor-CnQcJ2Lu.js";import{_ as Ro}from"./liveblocks-sSQ9JElv.js";import xn from"./InvoiceUploadSection-DZJTULDZ-7pV7yRbj.js";import{r as Po,f as Lt,d as yt,p as gi,u as Pi,h as $e}from"./types-DyvtCprH-BcZYcgaq.js";import{D as Oo}from"./LabeledCreatableSingleSelectField-zhHbiOVO-Dvon0-bn.js";import{S as Lo}from"./CurrencySelectField-BBgpim44-Dfp1XN-p.js";import{K as Ao}from"./SetUpDefaultSection-DO9aLike-CeAMTqY_.js";import{e as zo}from"./BankAccountSection-CtTkNBok-DUA4Lph8.js";import{W as Bo,A as Mo}from"./BankAccountWarningSection-dVdrPYm5-DBHfQvSq.js";import{o as Fo}from"./radio-default-CiSgisfh-ub7QGXr8.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./crypto-BURQLTgV.js";import"./AttachmentView-DGsub__A-DQPpkEq0.js";import"./uploadReceipts-D80JLNY4-Dm5klsXr.js";const Je=(e,o)=>`${e}.${o}`,Oi={largeLabelWidth:new c(120,120,160),paddingBottom:new c(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Re}},dateFormat:Eo,common:No}=me.getLocalizedStrings(),Wo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:d,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:S,companyMileageConfigInfo:b,reimbursementId:l,classHierarchyList:k})=>{const f=Ie(),s=ft(),g=zt(),w=`dashboard_${s.currentTenant?.companyId}`,R=bt(),{getValues:D}=ct(),v=No.strings.empty,q=D(Je(p,"distanceInMiles")),L=Oi.largeLabelWidth.value(f),I={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},E=A=>r.filter(_=>_.classId===A)[0]?.accountingClassNumber,te=r.find(A=>A.classId===o.class),pe={valueContainer:A=>({...A,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.transactionDate`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("transactionDate",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(bn,{isDisabled:m,label:{label:Re.transactionDate,width:L},style:{paddingBottom:Oi.paddingBottom.valuePx(f),width:"auto"},dateField:{name:Je(p,"transactionDate"),placeholder:Re.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Eo.visual.defaultInput,autoComplete:"off",maxDate:ee.dateNow(),registerOptions:{required:!0,validate:A=>!!A}}})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:S?"disabled":void 0,style:{width:"auto"},label:{label:Re.distanceInMiles,width:L},formattedTextField:{type:"number",name:Je(p,"distanceInMiles"),placeholder:Re.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:A=>A!=null?A>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.amount`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("amount",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:"disabled",label:{label:Re.amount,width:L},formattedTextField:{type:"number",name:Je(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:Ze(Re.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:A=>A!=null?A>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:q!=null&&b?.mileageUnitAmount!=null?`${d.currencySymbol}${b?.mileageUnitAmount} per mile x ${q}`:void 0})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.memo`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("memo",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(ui,{isDisabled:m,label:{label:Re.memo,width:L},style:{width:"auto"},text:{type:"text",name:Je(p,"memo"),placeholder:Ze(Re.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:fn}}})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.class`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("class",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(ri,{isLoading:!1,label:{label:Re.department,width:L},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Je(p,"class"),placeholder:Ze(Re.department),valueToId:A=>E(A),defaultValue:{selectedOption:te?.classId,allOptions:_e(k,[])},style:{width:"100%"},customStyleConfig:pe,registerOptions:{required:!0,validate:A=>!!A.selectedOption}},style:{borderBottom:`1px solid ${R.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Je(p,"class"))})]})},Ct=n.div`
1
+ import{a1 as ai,u as bt,w as ft,a as en,z as Ci,l as ee,M as me,H as tn,X as Ie,fI as Qn,fK as Zn,fL as eo,j as t,g2 as to,F as nn,bO as li,bQ as on,bR as an,Y as K,o as i,C as c,aV as ki,aI as io,dq as no,fM as oo,fX as rn,fS as Ii,a3 as ln,f as sn,fT as ao,es as _e,g3 as At,eV as si,c as xt,g4 as ro,g as j,a2 as cn,Z as ci,m as a,aR as lo,fV as so,c4 as co,ez as di,g5 as zt,cP as fe,cR as xe,c6 as ui,cg as ct,ee as uo,cO as dn,p as Pt,c9 as un,c8 as Ze,co as st,v as mi,g6 as mo,eX as po,c3 as ho,a7 as Di,aQ as go,ao as mn,ax as yo,ed as bo,al as Bt,fN as fo,eW as pn,Q as pi,h as hn,cq as gn,bH as Mt,eP as xo,an as wo,cu as So,cW as vo,s as hi,K as Ti,bs as yn,ag as ji,cn as $o,e as Co,cc as bn,_ as ko,g7 as fn,g8 as ri,fD as Ri,g9 as Ot,cm as Io,fH as Do,b4 as To,cl as jo}from"./index-s8qDJKCo.js";import{b as $,n,f as $t}from"./vendor-CnQcJ2Lu.js";import{_ as Ro}from"./liveblocks-sSQ9JElv.js";import xn from"./InvoiceUploadSection-CesF-8aw-VCRMmqB2.js";import{r as Po,f as Lt,d as yt,p as gi,u as Pi,h as $e}from"./types-DyvtCprH-BcZYcgaq.js";import{D as Oo}from"./LabeledCreatableSingleSelectField-DCazn6yx-BaRWYFjn.js";import{S as Lo}from"./CurrencySelectField-Cq-8I5M7-B4VyHQP2.js";import{K as Ao}from"./SetUpDefaultSection-CjXLrIH0-Clr5GDIw.js";import{e as zo}from"./BankAccountSection-3-6tRy48-CEpsaXXh.js";import{W as Bo,A as Mo}from"./BankAccountWarningSection-DiVd7shS-C8IRSlRD.js";import{o as Fo}from"./radio-default-CiSgisfh-ub7QGXr8.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./crypto-BURQLTgV.js";import"./AttachmentView-C4mcX4Zi-C-ivJPKr.js";import"./uploadReceipts-D80JLNY4-MsCjmjS2.js";const Je=(e,o)=>`${e}.${o}`,Oi={largeLabelWidth:new c(120,120,160),paddingBottom:new c(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Re}},dateFormat:Eo,common:No}=me.getLocalizedStrings(),Wo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:d,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:S,companyMileageConfigInfo:b,reimbursementId:l,classHierarchyList:k})=>{const f=Ie(),s=ft(),g=zt(),w=`dashboard_${s.currentTenant?.companyId}`,R=bt(),{getValues:D}=ct(),v=No.strings.empty,q=D(Je(p,"distanceInMiles")),L=Oi.largeLabelWidth.value(f),I={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},E=A=>r.filter(_=>_.classId===A)[0]?.accountingClassNumber,te=r.find(A=>A.classId===o.class),pe={valueContainer:A=>({...A,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.transactionDate`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("transactionDate",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(bn,{isDisabled:m,label:{label:Re.transactionDate,width:L},style:{paddingBottom:Oi.paddingBottom.valuePx(f),width:"auto"},dateField:{name:Je(p,"transactionDate"),placeholder:Re.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Eo.visual.defaultInput,autoComplete:"off",maxDate:ee.dateNow(),registerOptions:{required:!0,validate:A=>!!A}}})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:S?"disabled":void 0,style:{width:"auto"},label:{label:Re.distanceInMiles,width:L},formattedTextField:{type:"number",name:Je(p,"distanceInMiles"),placeholder:Re.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:A=>A!=null?A>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.amount`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("amount",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:"disabled",label:{label:Re.amount,width:L},formattedTextField:{type:"number",name:Je(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:Ze(Re.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:A=>A!=null?A>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:q!=null&&b?.mileageUnitAmount!=null?`${d.currencySymbol}${b?.mileageUnitAmount} per mile x ${q}`:void 0})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.memo`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("memo",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,children:t.jsx(ui,{isDisabled:m,label:{label:Re.memo,width:L},style:{width:"auto"},text:{type:"text",name:Je(p,"memo"),placeholder:Ze(Re.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:fn}}})}),t.jsx(Ct,{}),t.jsx(fe,{isThreadAllowed:C&&l!=null,dashboardTabKey:xe({type:"details",key:`${e}.mileage.class`}),roomId:w,companyId:s.currentTenant?.companyId??v,companyName:s.currentTenant?.companyName??v,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...I,entityType:`reimbursement.details.${$e("class",e,"mileage")}`},fieldThreadTargetElement:g?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(ri,{isLoading:!1,label:{label:Re.department,width:L},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Je(p,"class"),placeholder:Ze(Re.department),valueToId:A=>E(A),defaultValue:{selectedOption:te?.classId,allOptions:_e(k,[])},style:{width:"100%"},customStyleConfig:pe,registerOptions:{required:!0,validate:A=>!!A.selectedOption}},style:{borderBottom:`1px solid ${R.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Je(p,"class"))})]})},Ct=n.div`
2
2
  display: flex;
3
3
  flex: 1;
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{u as y,M as T,a7 as C,j as o,y as v,o as t,D as m}from"./index-CCu-aWq5.js";import{n}from"./vendor-CnQcJ2Lu.js";import{R as k}from"./TrendWithTransactions-DEMNHbbz-BErr4Z4f.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TrendChart-ChiKhGtw-D3ycTtRo.js";import"./chartTypes-mKuCmPTG-YS3tNiFM.js";import"./toCOABalancesWithID-CEvuOTjK-dpm8hjgI.js";import"./toChartData-D2kGY49E-ChCxQw52.js";import"./NoDataChart-Dhg-k7iX-C2SS_bK8.js";import"./InsightsSection-BZS-MEy4-CnIKr2kY.js";import"./NavigationDots-yYTGREt4-B_TXvW9Q.js";import"./TransactionList-DS-_gBrf-TErnQ9sH.js";import"./BoxItem-CIBzy4ZV-B6mMcHpB.js";import"./commonDimensions-BHBDbLXD-BvR8UrAJ.js";const $=n.div`
1
+ import{u as y,M as T,a7 as C,j as o,y as v,o as t,D as m}from"./index-s8qDJKCo.js";import{n}from"./vendor-CnQcJ2Lu.js";import{R as k}from"./TrendWithTransactions-CcmSvqVJ-DNFGC0yy.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TrendChart-BfsNpqPF-Cxaiidf-.js";import"./chartTypes-Br4XSz7W-oIvhtG3a.js";import"./toCOABalancesWithID-BuGHg1ur-DMCVRPFW.js";import"./toChartData-C5QlPh1F-BE1Imfno.js";import"./NoDataChart-CwAwvz9y-tnXSTZKG.js";import"./InsightsSection-BFSU6XTB-CqZsOa8Z.js";import"./NavigationDots-GHAOWiXe-DijU92FW.js";import"./TransactionList-DmEyc2C4-C4T7m47j.js";import"./BoxItem-D3QYSB_0-DLYI4sQa.js";import"./commonDimensions-DYyjzo8L-DgdXOvG4.js";const $=n.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{X as z,M as L,j as i,dm as H,C as d,cs as _,o as s,T as S,_ as b,ai as R,bT as E,m as r,c0 as B,e as U,s as k,an as F,v as N,bY as G,g as D,b$ as Z}from"./index-CCu-aWq5.js";import{b as v,n as t}from"./vendor-CnQcJ2Lu.js";import{l as I}from"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";const w=L.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)},J=t.div`
1
+ import{X as z,M as L,j as i,dm as H,C as d,cs as _,o as s,T as S,_ as b,ai as R,bT as E,m as r,c0 as B,e as U,s as k,an as F,v as N,bY as G,g as D,b$ as Z}from"./index-s8qDJKCo.js";import{b as v,n as t}from"./vendor-CnQcJ2Lu.js";import{l as I}from"./agingReportHelper-ovKP-qSS-BPG0U4uX.js";const w=L.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)},J=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{u as B,X as W,bC as J,j as r,Y as y,fy as O,be as H,g as a,bs as I,M as K,o as s,aV as q,jm as V,p as c,ha as G,h9 as Q,K as Z,_ as U,l as X,jn as E,r as ee,aQ as re,fh as oe,T as se,bJ as te,c0 as ie,v as g,s as ae,eu as ne,q as le,eW as ce,gJ as de,Z as he,al as pe,an as M,ae as me}from"./index-CCu-aWq5.js";import{n as o,j as m,k as ge}from"./vendor-CnQcJ2Lu.js";import{o as xe}from"./transaction-placeholder-CpOwZAMG-CJJQqrcA.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ue={transaction_categorization:xe,missing_receipts:oe,flux_analysis:re,je_schedules:E,month_end_insights:ee,reconciliation:E},fe=e=>{const x={Weekly:[],Monthly:[]};return e.forEach(u=>{x[u.frequency].push(u)}),x},{expenseAutomation:d,common:i,dateFormat:ye}=K.getLocalizedStrings();function xr({monthEndCloseChecksView:e,isRealtimeInsightsFeatureEnabled:x,onMonthEndCheckClick:u,onBackClick:L,handleReviewButtonClick:P,onPeriodChange:T,onReload:C}){const b=B(),R=W();if(J({componentName:"expense_automation.overview"}),e.monthEndCloseChecks==null||e.fetchState==="Not-Started"||e.fetchState==="In-Progress")return r.jsx(_,{"data-testid":y("expense-automation-overview-page-activity-indicator"),children:r.jsx(O,{fetchState:"In-Progress"})});if(e.monthEndCloseChecks==null||e.fetchState==="Error")return r.jsx(_,{children:r.jsx(Ue,{"data-testid":y("expense-automation-overview-page-reload-page"),onClick:C,children:r.jsx(H,{})})});const{monthEndCloseChecks:{auditSummary:n,monthEndCloseCheckList:N,insights:h,reportEmailSentDate:S},refreshStatus:z}=e,F=fe(N);let f,p;n.auditScorePercentage<=50?(f=a.important,p=a.importantLight):n.auditScorePercentage<=75?(f=a.alert,p=a.alertLight):(f=a.success,p=a.successLight);const Y=r.jsx(qe,{"data-testid":y("expense-automation-overview-page-refresh-icon"),onClick:C,children:r.jsx(I,{style:{marginTop:s.sp1},placement:"bottom",title:i.texts.refresh,enterDelay:600,children:r.jsx(er,{$spinning:z.fetchState==="In-Progress"})})});return r.jsxs($e,{children:[r.jsx(q,{title:r.jsx(V,{labelSuffix:i.texts.close,pickerLabelStyle:{...c.largeSemiBold.cssObject},onPeriodChange:T,monthEndCloseChecksView:e}),showBackButton:!0,onBackClick:L,source:"ExpenseAutomationOverviewPage",rightSideComponent:Y}),r.jsxs(_e,{children:[r.jsxs(je,{children:[r.jsx(ve,{windowSize:R,children:r.jsx(be,{children:r.jsxs(Se,{children:[r.jsx(Ke,{children:r.jsx(G,{background:!0,value:Math.floor(n.auditScorePercentage),text:`${Math.floor(n.auditScorePercentage)}${i.strings.percentage}`,strokeWidth:10,styles:{...Q({strokeLinecap:"butt",pathColor:f,textColor:b.colors.primary,trailColor:b.colors.grey2,backgroundColor:p}),root:{width:"96px",height:"96px",backgroundColor:p,borderRadius:"50%"},text:{fontSize:c.h6Medium.fontSize,fontFamily:c.h6Medium.fontFamily,lineHeight:c.h6Medium.lineHeight,fontWeight:c.h6Medium.fontWeight,letterSpacing:c.h6Medium.letterSpacing,fill:a.primaryLight}}})}),r.jsxs(tr,{children:[r.jsxs(Ee,{children:[r.jsxs(k,{children:[r.jsxs(Ve,{children:[r.jsx(ke,{children:d.overview.auditScoreTitle}),n.auditReportLastGeneratedDate!=null?r.jsx(Ge,{children:n.auditReportLastGeneratedDate.utc(!0).fromNow()}):null]}),r.jsx(Ce,{children:d.overview.auditScoreDescription})]}),r.jsx(Z,{style:{alignSelf:"flex-start"},variant:"primary",label:i.texts.review,onClick:P})]}),r.jsxs(De,{children:[r.jsxs(We,{children:[r.jsx(He,{}),r.jsx(Je,{children:i.texts.aiAgents}),r.jsx(Oe,{children:i.texts.saved})]}),r.jsx(Ie,{children:U("0,0",{amount:h.savedAmount,currencyCode:i.currency.countryCode,currencySymbol:i.currency.currencySymbol})})]})]})]})})}),r.jsxs(we,{children:[r.jsxs($,{isLastTab:!1,children:[r.jsx(j,{children:h.vendorsWithFluctuations}),r.jsx(v,{children:d.overview.statistics.vendorsWithFluctuations})]}),r.jsxs($,{isLastTab:!1,children:[r.jsx(j,{children:h.transactionsAutoCategorized}),r.jsx(v,{children:d.overview.statistics.transactionsAutoCategorized})]}),r.jsxs($,{isLastTab:!1,children:[r.jsxs(j,{children:[h.efficiencyPercentage,i.strings.percentage]}),r.jsx(v,{children:d.overview.statistics.humanEfficiency})]}),r.jsxs($,{isLastTab:!0,children:[r.jsxs(j,{children:[h.efficiency,"x"]}),r.jsx(v,{children:d.overview.statistics.fasterReviews})]})]})]}),r.jsx(Me,{children:X.ALL_MONTH_END_CLOSE_CHECKS_FREQUENCY.map(w=>r.jsxs(Le,{children:[r.jsx(D,{cardDisabled:!1,children:w}),r.jsx(Pe,{children:F[w].map(t=>{const l=t.id==="month_end_insights"?!x:t.isDisabled,A=l===!0||t.id==="month_end_insights"&&e.monthEndCloseChecks?.reportEmailSentDate!=null;return r.jsxs(Te,{"data-testid":y("expense-automation-overview-page-month-end-close-check-card",t.id),cardDisabled:l,onClick:()=>{A===!1&&u(t.id)},children:[r.jsxs(Be,{children:[r.jsx(Ae,{cardDisabled:l,isDarkMode:b.mode==="dark",children:r.jsx(Ye,{as:ue[t.id]??null})}),r.jsxs(k,{children:[r.jsx(D,{cardDisabled:l,children:t.title}),r.jsx(Re,{className:"card-description",cardDisabled:l,children:t.description})]})]}),r.jsxs(Ne,{children:[r.jsx(se,{controller:t.id!=="month_end_insights",children:r.jsxs(ze,{children:[r.jsxs(Qe,{progress:t.progress,children:[Math.floor(t.progress),i.strings.percentage]}),r.jsx(Ze,{className:t.progress<100?"progress-complete-text":i.strings.empty,progress:t.progress,children:i.texts.complete})]})}),t.id==="month_end_insights"&&S!=null?r.jsxs(sr,{children:[r.jsx(rr,{children:i.texts.closed}),r.jsx(or,{children:S.format(ye.visual.MMMDCommaYYYYformat)})]}):null,r.jsx(k,{children:r.jsx(Fe,{className:"card-right-chevron",disabled:l})})]})]},t.id)})})]},w))})]})]})}const $e=o.div`
1
+ import{u as B,X as W,bC as J,j as r,Y as y,fy as O,be as H,g as a,bs as I,M as K,o as s,aV as q,jm as V,p as c,ha as G,h9 as Q,K as Z,_ as U,l as X,jn as E,r as ee,aQ as re,fh as oe,T as se,bJ as te,c0 as ie,v as g,s as ae,eu as ne,q as le,eW as ce,gJ as de,Z as he,al as pe,an as M,ae as me}from"./index-s8qDJKCo.js";import{n as o,j as m,k as ge}from"./vendor-CnQcJ2Lu.js";import{o as xe}from"./transaction-placeholder-CpOwZAMG-CJJQqrcA.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ue={transaction_categorization:xe,missing_receipts:oe,flux_analysis:re,je_schedules:E,month_end_insights:ee,reconciliation:E},fe=e=>{const x={Weekly:[],Monthly:[]};return e.forEach(u=>{x[u.frequency].push(u)}),x},{expenseAutomation:d,common:i,dateFormat:ye}=K.getLocalizedStrings();function xr({monthEndCloseChecksView:e,isRealtimeInsightsFeatureEnabled:x,onMonthEndCheckClick:u,onBackClick:L,handleReviewButtonClick:P,onPeriodChange:T,onReload:C}){const b=B(),R=W();if(J({componentName:"expense_automation.overview"}),e.monthEndCloseChecks==null||e.fetchState==="Not-Started"||e.fetchState==="In-Progress")return r.jsx(_,{"data-testid":y("expense-automation-overview-page-activity-indicator"),children:r.jsx(O,{fetchState:"In-Progress"})});if(e.monthEndCloseChecks==null||e.fetchState==="Error")return r.jsx(_,{children:r.jsx(Ue,{"data-testid":y("expense-automation-overview-page-reload-page"),onClick:C,children:r.jsx(H,{})})});const{monthEndCloseChecks:{auditSummary:n,monthEndCloseCheckList:N,insights:h,reportEmailSentDate:S},refreshStatus:z}=e,F=fe(N);let f,p;n.auditScorePercentage<=50?(f=a.important,p=a.importantLight):n.auditScorePercentage<=75?(f=a.alert,p=a.alertLight):(f=a.success,p=a.successLight);const Y=r.jsx(qe,{"data-testid":y("expense-automation-overview-page-refresh-icon"),onClick:C,children:r.jsx(I,{style:{marginTop:s.sp1},placement:"bottom",title:i.texts.refresh,enterDelay:600,children:r.jsx(er,{$spinning:z.fetchState==="In-Progress"})})});return r.jsxs($e,{children:[r.jsx(q,{title:r.jsx(V,{labelSuffix:i.texts.close,pickerLabelStyle:{...c.largeSemiBold.cssObject},onPeriodChange:T,monthEndCloseChecksView:e}),showBackButton:!0,onBackClick:L,source:"ExpenseAutomationOverviewPage",rightSideComponent:Y}),r.jsxs(_e,{children:[r.jsxs(je,{children:[r.jsx(ve,{windowSize:R,children:r.jsx(be,{children:r.jsxs(Se,{children:[r.jsx(Ke,{children:r.jsx(G,{background:!0,value:Math.floor(n.auditScorePercentage),text:`${Math.floor(n.auditScorePercentage)}${i.strings.percentage}`,strokeWidth:10,styles:{...Q({strokeLinecap:"butt",pathColor:f,textColor:b.colors.primary,trailColor:b.colors.grey2,backgroundColor:p}),root:{width:"96px",height:"96px",backgroundColor:p,borderRadius:"50%"},text:{fontSize:c.h6Medium.fontSize,fontFamily:c.h6Medium.fontFamily,lineHeight:c.h6Medium.lineHeight,fontWeight:c.h6Medium.fontWeight,letterSpacing:c.h6Medium.letterSpacing,fill:a.primaryLight}}})}),r.jsxs(tr,{children:[r.jsxs(Ee,{children:[r.jsxs(k,{children:[r.jsxs(Ve,{children:[r.jsx(ke,{children:d.overview.auditScoreTitle}),n.auditReportLastGeneratedDate!=null?r.jsx(Ge,{children:n.auditReportLastGeneratedDate.utc(!0).fromNow()}):null]}),r.jsx(Ce,{children:d.overview.auditScoreDescription})]}),r.jsx(Z,{style:{alignSelf:"flex-start"},variant:"primary",label:i.texts.review,onClick:P})]}),r.jsxs(De,{children:[r.jsxs(We,{children:[r.jsx(He,{}),r.jsx(Je,{children:i.texts.aiAgents}),r.jsx(Oe,{children:i.texts.saved})]}),r.jsx(Ie,{children:U("0,0",{amount:h.savedAmount,currencyCode:i.currency.countryCode,currencySymbol:i.currency.currencySymbol})})]})]})]})})}),r.jsxs(we,{children:[r.jsxs($,{isLastTab:!1,children:[r.jsx(j,{children:h.vendorsWithFluctuations}),r.jsx(v,{children:d.overview.statistics.vendorsWithFluctuations})]}),r.jsxs($,{isLastTab:!1,children:[r.jsx(j,{children:h.transactionsAutoCategorized}),r.jsx(v,{children:d.overview.statistics.transactionsAutoCategorized})]}),r.jsxs($,{isLastTab:!1,children:[r.jsxs(j,{children:[h.efficiencyPercentage,i.strings.percentage]}),r.jsx(v,{children:d.overview.statistics.humanEfficiency})]}),r.jsxs($,{isLastTab:!0,children:[r.jsxs(j,{children:[h.efficiency,"x"]}),r.jsx(v,{children:d.overview.statistics.fasterReviews})]})]})]}),r.jsx(Me,{children:X.ALL_MONTH_END_CLOSE_CHECKS_FREQUENCY.map(w=>r.jsxs(Le,{children:[r.jsx(D,{cardDisabled:!1,children:w}),r.jsx(Pe,{children:F[w].map(t=>{const l=t.id==="month_end_insights"?!x:t.isDisabled,A=l===!0||t.id==="month_end_insights"&&e.monthEndCloseChecks?.reportEmailSentDate!=null;return r.jsxs(Te,{"data-testid":y("expense-automation-overview-page-month-end-close-check-card",t.id),cardDisabled:l,onClick:()=>{A===!1&&u(t.id)},children:[r.jsxs(Be,{children:[r.jsx(Ae,{cardDisabled:l,isDarkMode:b.mode==="dark",children:r.jsx(Ye,{as:ue[t.id]??null})}),r.jsxs(k,{children:[r.jsx(D,{cardDisabled:l,children:t.title}),r.jsx(Re,{className:"card-description",cardDisabled:l,children:t.description})]})]}),r.jsxs(Ne,{children:[r.jsx(se,{controller:t.id!=="month_end_insights",children:r.jsxs(ze,{children:[r.jsxs(Qe,{progress:t.progress,children:[Math.floor(t.progress),i.strings.percentage]}),r.jsx(Ze,{className:t.progress<100?"progress-complete-text":i.strings.empty,progress:t.progress,children:i.texts.complete})]})}),t.id==="month_end_insights"&&S!=null?r.jsxs(sr,{children:[r.jsx(rr,{children:i.texts.closed}),r.jsx(or,{children:S.format(ye.visual.MMMDCommaYYYYformat)})]}):null,r.jsx(k,{children:r.jsx(Fe,{className:"card-right-chevron",disabled:l})})]})]},t.id)})})]},w))})]})]})}const $e=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{o,eW as zs,X as ve,fI as Pi,fJ as zi,l as J,M as je,j as t,bO as Ns,T as Pe,a3 as Ni,m as g,bQ as Vs,u as bt,aV as Hs,hu as Ws,_ as qe,bs as we,C as Q,aP as Us,Y as N,hs as qs,s as Me,fc as Js,gd as Vi,aQ as Ks,bf as Et,al as Hi,v as St,b4 as Wi,g as Ge,jt as Zs,fy as Ys,e as ht,a2 as Gs,fK as Xs,fL as Ui,aI as Qs,bJ as ea,bo as ta,eu as dn,bB as ho,a as Ht,be as po,F as Wt,ju as na,jv as oa,jw as ia,jx as sn,jy as qi,jz as Ji,jA as sa,jB as aa,dg as Ki,jC as ra,jD as la,jE as ca,jF as da,jG as ua,jH as Lo,jI as ha,jJ as pa,jK as ma,jL as ga,jM as xa,jN as Zi,jO as fa,jP as ya,jQ as Ca,jR as wa,fZ as Yi,ai as Ln,bT as Tn,c as Gi,c3 as un,dM as mo,fV as ba,e_ as Sa,fe as va,Z as ja,k as ka,aC as Ia,jS as $a,eX as La,H as Xi,jT as Ta,a7 as go,a1 as To,jU as Aa,jV as Ea,jW as Qi,jX as Ra,aZ as es,a5 as Da,g3 as At,hf as Dn,es as vn,cg as xo,z as Oa,cp as ts,di as Ma,ia as Ba,dn as fo,bY as An,b$ as En,hV as Qe,p as Lt,gZ as Fa,f_ as On,iu as Ao,de as ns,cs as ln,jY as _a,ad as Pa,dm as os,K as cn,hM as is,hW as ao,jZ as Xt,dS as ss,dT as as,j_ as rs,j$ as ls,k0 as za,cq as Rn,hN as cs,cW as ds,ek as Mn,S as yo,k1 as Na,cm as Va,aa as us,i1 as Ha,dK as Wa,f as ft,k2 as Ua,k3 as qa,ag as Bn,cA as Ja,d2 as Ka,eh as Za,ei as Ya,ej as Ga,el as Eo,em as Ro,en as Xa,k4 as Qa,ae as er,ew as tr,ex as nr,ey as or}from"./index-CCu-aWq5.js";import{n as a,b as s,j as Ye,k as Co,f as hs}from"./vendor-CnQcJ2Lu.js";import{r as ps,R as ms,n as Qt,W as ut}from"./CollapsableReportTable-CyQ4sWuS-hWc4YWqx.js";import{o as gs}from"./mapTimeframeBalancesToTreeNode-y3lzh3vX-Dv3qCAIR.js";import{d as Do}from"./mapLoadingInProgressToTreeNode-CKZd1bh4-BhE1RSRL.js";import{h as ir}from"./VendorsAccountsSection-D5d42xeO-ZE4UM1yc.js";import{u as sr,c as Oo,d as ar,m as rr}from"./uploadAttachment-kyOdZMbL-CWuI-fAQ.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./AccountRow-Ca-OS9TF-B7TzFJDr.js";const{common:{navBar:{back:lr},texts:{refresh:cr,close:dr,copy:ur,copied:hr,open:pr}},expenseAutomation:{common:{numbers:{maximumCount:mr}}}}=je.getLocalizedStrings(),gr=a(ba)`
1
+ import{o,eW as zs,X as ve,fI as Pi,fJ as zi,l as J,M as je,j as t,bO as Ns,T as Pe,a3 as Ni,m as g,bQ as Vs,u as bt,aV as Hs,hu as Ws,_ as qe,bs as we,C as Q,aP as Us,Y as N,hs as qs,s as Me,fc as Js,gd as Vi,aQ as Ks,bf as Et,al as Hi,v as St,b4 as Wi,g as Ge,jt as Zs,fy as Ys,e as ht,a2 as Gs,fK as Xs,fL as Ui,aI as Qs,bJ as ea,bo as ta,eu as dn,bB as ho,a as Ht,be as po,F as Wt,ju as na,jv as oa,jw as ia,jx as sn,jy as qi,jz as Ji,jA as sa,jB as aa,dg as Ki,jC as ra,jD as la,jE as ca,jF as da,jG as ua,jH as Lo,jI as ha,jJ as pa,jK as ma,jL as ga,jM as xa,jN as Zi,jO as fa,jP as ya,jQ as Ca,jR as wa,fZ as Yi,ai as Ln,bT as Tn,c as Gi,c3 as un,dM as mo,fV as ba,e_ as Sa,fe as va,Z as ja,k as ka,aC as Ia,jS as $a,eX as La,H as Xi,jT as Ta,a7 as go,a1 as To,jU as Aa,jV as Ea,jW as Qi,jX as Ra,aZ as es,a5 as Da,g3 as At,hf as Dn,es as vn,cg as xo,z as Oa,cp as ts,di as Ma,ia as Ba,dn as fo,bY as An,b$ as En,hV as Qe,p as Lt,gZ as Fa,f_ as On,iu as Ao,de as ns,cs as ln,jY as _a,ad as Pa,dm as os,K as cn,hM as is,hW as ao,jZ as Xt,dS as ss,dT as as,j_ as rs,j$ as ls,k0 as za,cq as Rn,hN as cs,cW as ds,ek as Mn,S as yo,k1 as Na,cm as Va,aa as us,i1 as Ha,dK as Wa,f as ft,k2 as Ua,k3 as qa,ag as Bn,cA as Ja,d2 as Ka,eh as Za,ei as Ya,ej as Ga,el as Eo,em as Ro,en as Xa,k4 as Qa,ae as er,ew as tr,ex as nr,ey as or}from"./index-s8qDJKCo.js";import{n as a,b as s,j as Ye,k as Co,f as hs}from"./vendor-CnQcJ2Lu.js";import{r as ps,R as ms,n as Qt,W as ut}from"./CollapsableReportTable-NkWEC75c-Deu0twiI.js";import{o as gs}from"./mapTimeframeBalancesToTreeNode-DxbCC6c3-Ds5uSc5-.js";import{d as Do}from"./mapLoadingInProgressToTreeNode-CTk8G3Gw-DzBo3k79.js";import{h as ir}from"./VendorsAccountsSection-DUUy43AG-BNdHvB_A.js";import{u as sr,c as Oo,d as ar,m as rr}from"./uploadAttachment-zGYCP5sV-DwhW2FOQ.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./AccountRow-CmtPvQJV-CYdLibRB.js";const{common:{navBar:{back:lr},texts:{refresh:cr,close:dr,copy:ur,copied:hr,open:pr}},expenseAutomation:{common:{numbers:{maximumCount:mr}}}}=je.getLocalizedStrings(),gr=a(ba)`
2
2
  display: flex;
3
3
  width: ${o.sp4};
4
4
  height: ${o.sp4};
@@ -1,4 +1,4 @@
1
- import{u as ze,X as K,M as U,a as Qe,a1 as De,c3 as Ke,l as O,j as t,aV as et,F as tt,a3 as it,C as x,o as n,k8 as at,k9 as nt,ka as lt,c9 as Re,c6 as ot,cz as rt,f4 as dt,f5 as st,c8 as ke,fD as ct,kb as pt,cc as mt,cE as Ve,cd as ut,cF as Ae,cO as Oe,p as ge,cS as ht,m as u,ao as yt,al as be,g as Ee,e as gt,q as We}from"./index-CCu-aWq5.js";import{b as X,n as d}from"./vendor-CnQcJ2Lu.js";import{Y as xt}from"./LabeledDocumentField-BTgmGAGq-EDILW_5a.js";import{S as ie}from"./LabeledText-CMrFKM7D-D7iPzVMk.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ft={progressBarWidth:new x(343,726)},bt=({pageIndex:e})=>{const i=K(),a=ze(),s=U.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs(vt,{children:[t.jsx(at,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Ct,{children:h.map((p,l)=>t.jsx($t,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(wt,{windowSize:i,children:[t.jsx(nt,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(St,{children:h.map((p,l)=>t.jsx(jt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},wt=d.div`
1
+ import{u as ze,X as K,M as U,a as Qe,a1 as De,c3 as Ke,l as O,j as t,aV as et,F as tt,a3 as it,C as x,o as n,k8 as at,k9 as nt,ka as lt,c9 as Re,c6 as ot,cz as rt,f4 as dt,f5 as st,c8 as ke,fD as ct,kb as pt,cc as mt,cE as Ve,cd as ut,cF as Ae,cO as Oe,p as ge,cS as ht,m as u,ao as yt,al as be,g as Ee,e as gt,q as We}from"./index-s8qDJKCo.js";import{b as X,n as d}from"./vendor-CnQcJ2Lu.js";import{Y as xt}from"./LabeledDocumentField-Cip0e83a-AMdSbb7b.js";import{S as ie}from"./LabeledText-CuwxNLlP-BYhz7pRD.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ft={progressBarWidth:new x(343,726)},bt=({pageIndex:e})=>{const i=K(),a=ze(),s=U.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs(vt,{children:[t.jsx(at,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Ct,{children:h.map((p,l)=>t.jsx($t,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(wt,{windowSize:i,children:[t.jsx(nt,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(St,{children:h.map((p,l)=>t.jsx(jt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},wt=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-top: ${n.sp3};
@@ -1,4 +1,4 @@
1
- import{u as w,X as f,M as k,a7 as s,g as p,j as e,bO as y,C as n,bQ as x,bR as z,m as c}from"./index-CCu-aWq5.js";import{n as l}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const i={popupWidth:new n(200,468,468,468),buttonWidth:new n(140,160,160,160),popupContainerLeft:new n(c[0],c[0],255),popupContainerWidth:new n(100,100,85)},_=l.div`
1
+ import{u as w,X as f,M as k,a7 as s,g as p,j as e,bO as y,C as n,bQ as x,bR as z,m as c}from"./index-s8qDJKCo.js";import{n as l}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const i={popupWidth:new n(200,468,468,468),buttonWidth:new n(140,160,160,160),popupContainerLeft:new n(c[0],c[0],255),popupContainerWidth:new n(100,100,85)},_=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{j as l,X as H,M as Q,cg as A,co as G,u as ee,cm as J,C as S,fH as Z,o as i,Y as B,ee as ce,H as le,fA as pe,fB as ue,K as he,g as u,m as g,g1 as ge,cn as be,cp as ye,f as ve,b1 as we,p as _,dg as $e,b2 as me,a$ as ke}from"./index-CCu-aWq5.js";import{b as V,n as d}from"./vendor-CnQcJ2Lu.js";const v={width:new S(343,580,726),height:new S(g[6],g[6]),controlHeight:new S(g[6],g[6]),paddingLeftRight:new S(g[3],g[4]),paddingTop:new S(g[3],g[3]),paddingBottom:new S(g[3],g[2]),labelMarginRight:new S(g[3],g[4])};function je({isDisabled:e,label:o,firstText:t,secondText:p,style:$,isFieldError:k}){const m=H(),{formState:{errors:j}}=A(),f=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:m,style:$,isDisabled:e!=null,isErrorFirstText:f,isErrorSecondText:T,"data-testid":B("labeled-multi-text-field",t.name),children:[l.jsx(J,{isDisabled:e,label:o.label,style:{marginRight:v.labelMarginRight.value(m),width:o.width??"auto",color:r.colors.champion}}),l.jsxs(Le,{labelWidth:o.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||f&&t.additionalErrorLabel?l.jsx(oe,{isError:f,children:f?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Oe,{children:[l.jsx(se,{}),l.jsx(Se,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
1
+ import{j as l,X as H,M as Q,cg as A,co as G,u as ee,cm as J,C as S,fH as Z,o as i,Y as B,ee as ce,H as le,fA as pe,fB as ue,K as he,g as u,m as g,g1 as ge,cn as be,cp as ye,f as ve,b1 as we,p as _,dg as $e,b2 as me,a$ as ke}from"./index-s8qDJKCo.js";import{b as V,n as d}from"./vendor-CnQcJ2Lu.js";const v={width:new S(343,580,726),height:new S(g[6],g[6]),controlHeight:new S(g[6],g[6]),paddingLeftRight:new S(g[3],g[4]),paddingTop:new S(g[3],g[3]),paddingBottom:new S(g[3],g[2]),labelMarginRight:new S(g[3],g[4])};function je({isDisabled:e,label:o,firstText:t,secondText:p,style:$,isFieldError:k}){const m=H(),{formState:{errors:j}}=A(),f=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:m,style:$,isDisabled:e!=null,isErrorFirstText:f,isErrorSecondText:T,"data-testid":B("labeled-multi-text-field",t.name),children:[l.jsx(J,{isDisabled:e,label:o.label,style:{marginRight:v.labelMarginRight.value(m),width:o.width??"auto",color:r.colors.champion}}),l.jsxs(Le,{labelWidth:o.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||f&&t.additionalErrorLabel?l.jsx(oe,{isError:f,children:f?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Oe,{children:[l.jsx(se,{}),l.jsx(Se,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(m),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{u as Ee,X as Y,a as _e,z as Ye,c3 as Je,j as t,M as ue,aV as Xe,F as Ze,bM as Ce,o,K as je,Y as T,be as Qe,bL as et,ai as tt,di as lt,bT as ot,T as it,c as nt,cq as at,aZ as We,a5 as rt,C as N,l as Oe,bf as se,m as $,dn as Ie,v as we,bY as st,b$ as dt,cg as ct,hC as ht,de as ye,cs as me,bs as E,eo as ke,f as mt,hH as gt,s as pt,az as ut,hI as Fe,bH as wt,aN as bt,g as De,hJ as xt}from"./index-CCu-aWq5.js";import{b as C,n,j as Se}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Re="recommendedFirst",Ne="recommendedSecond",H="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,a)=>a!=null?`${e}.${l}.${a}`:`${e}.${l}`;function vt(e){const l=Y(),{button:{label:a,onClick:i},search:{isOpen:g,placeHolder:m,searchText:w,onTextChange:j}}=e;return t.jsxs(ft,{children:[t.jsx(jt,{isSearchOpen:g&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ce,{style:{position:"absolute",left:"unset",right:o.sp0},placeholder:m,searchText:w,onSearchTextChanged:j}):null}),l==="small"?t.jsx(Ce,{style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},placeholder:m,searchText:w,onSearchTextChanged:j,keepSearchBoxOpen:!0}):null,l==="small"?t.jsx(yt,{style:{marginLeft:o.sp5}}):t.jsx(je,{variant:"primary",onClick:i,label:a,size:"small",style:{marginLeft:o.sp3}})]})}const ft=n.div`
1
+ import{u as Ee,X as Y,a as _e,z as Ye,c3 as Je,j as t,M as ue,aV as Xe,F as Ze,bM as Ce,o,K as je,Y as T,be as Qe,bL as et,ai as tt,di as lt,bT as ot,T as it,c as nt,cq as at,aZ as We,a5 as rt,C as N,l as Oe,bf as se,m as $,dn as Ie,v as we,bY as st,b$ as dt,cg as ct,hC as ht,de as ye,cs as me,bs as E,eo as ke,f as mt,hH as gt,s as pt,az as ut,hI as Fe,bH as wt,aN as bt,g as De,hJ as xt}from"./index-s8qDJKCo.js";import{b as C,n,j as Se}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Re="recommendedFirst",Ne="recommendedSecond",H="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,a)=>a!=null?`${e}.${l}.${a}`:`${e}.${l}`;function vt(e){const l=Y(),{button:{label:a,onClick:i},search:{isOpen:g,placeHolder:m,searchText:w,onTextChange:j}}=e;return t.jsxs(ft,{children:[t.jsx(jt,{isSearchOpen:g&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ce,{style:{position:"absolute",left:"unset",right:o.sp0},placeholder:m,searchText:w,onSearchTextChanged:j}):null}),l==="small"?t.jsx(Ce,{style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},placeholder:m,searchText:w,onSearchTextChanged:j,keepSearchBoxOpen:!0}):null,l==="small"?t.jsx(yt,{style:{marginLeft:o.sp5}}):t.jsx(je,{variant:"primary",onClick:i,label:a,size:"small",style:{marginLeft:o.sp3}})]})}const ft=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  padding-right: ${o.sp0};
@@ -1,4 +1,4 @@
1
- import{X as $,j as o,Y as w,M as n,o as t,C as j,eA as S,ao as v,a6 as y}from"./index-CCu-aWq5.js";import{b as d,n as r}from"./vendor-CnQcJ2Lu.js";import{x as z}from"./MeetingCalenderPopup-CTuOhFQC-O6ZxLtjI.js";const C={helpButtonBottom:new j(138,96,96)};function L({isFooterRendered:e,meetingUrl:h,analytics:u,productType:s,setShowPopup:i}){const m=$(),[l,x]=d.useState(!1),[g,p]=d.useState(!1),a=()=>{x(f=>!f)};return o.jsxs(o.Fragment,{children:[g===!0?o.jsx(z,{onCancelClick:()=>{p(!1),i?.(!1)},meetingUrl:h}):null,o.jsxs(H,{"data-testid":w("help-button",s),isFooterRendered:e,windowSize:m,onMouseEnter:a,onMouseLeave:a,onClick:()=>{s!=null&&u?.trackNeedHelp(s),p(!0),i?.(!0)},children:[o.jsx(B,{}),o.jsx(M,{helpTextHover:l,children:l?o.jsxs(c,{children:[n.getLocalizedStrings().common.needHelp.hoverPrefix,o.jsx(b,{children:n.getLocalizedStrings().common.needHelp.hoverSuffix})]}):o.jsx(c,{children:n.getLocalizedStrings().common.needHelp.text})})]})]})}const H=r.div`
1
+ import{X as $,j as o,Y as w,M as n,o as t,C as j,eA as S,ao as v,a6 as y}from"./index-s8qDJKCo.js";import{b as d,n as r}from"./vendor-CnQcJ2Lu.js";import{x as z}from"./MeetingCalenderPopup-Crufcivq-DYL_5ev9.js";const C={helpButtonBottom:new j(138,96,96)};function L({isFooterRendered:e,meetingUrl:h,analytics:u,productType:s,setShowPopup:i}){const m=$(),[l,x]=d.useState(!1),[g,p]=d.useState(!1),a=()=>{x(f=>!f)};return o.jsxs(o.Fragment,{children:[g===!0?o.jsx(z,{onCancelClick:()=>{p(!1),i?.(!1)},meetingUrl:h}):null,o.jsxs(H,{"data-testid":w("help-button",s),isFooterRendered:e,windowSize:m,onMouseEnter:a,onMouseLeave:a,onClick:()=>{s!=null&&u?.trackNeedHelp(s),p(!0),i?.(!0)},children:[o.jsx(B,{}),o.jsx(M,{helpTextHover:l,children:l?o.jsxs(c,{children:[n.getLocalizedStrings().common.needHelp.hoverPrefix,o.jsx(b,{children:n.getLocalizedStrings().common.needHelp.hoverSuffix})]}):o.jsx(c,{children:n.getLocalizedStrings().common.needHelp.text})})]})]})}const H=r.div`
2
2
  position: fixed;
3
3
  right: ${t.sp4};
4
4
  bottom: ${e=>e.isFooterRendered?C.helpButtonBottom.valuePx(e.windowSize):t.sp4};
@@ -1,4 +1,4 @@
1
- import{M as C,j as r,U as D,Y as E,a9 as j,D as Z,W as H,a4 as I,o as S,v}from"./index-CCu-aWq5.js";import{f as h,b as t,n as d}from"./vendor-CnQcJ2Lu.js";import{c as V}from"./SummaryCard-CNADDyPG-DrV6jDY3.js";import{x}from"./NavigationArrow-BovrdeuJ-DKcAPZgQ.js";import{f as b}from"./NavigationDots-yYTGREt4-B_TXvW9Q.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-DBRY9FdH-ClHOe_7j.js";const A=d.div`
1
+ import{M as C,j as r,U as D,Y as E,a9 as j,D as Z,W as H,a4 as I,o as S,v}from"./index-s8qDJKCo.js";import{f as h,b as t,n as d}from"./vendor-CnQcJ2Lu.js";import{c as V}from"./SummaryCard-egnXlcLU-CJYKpqj3.js";import{x}from"./NavigationArrow-CFSP9IjV-BU2CiUJ5.js";import{f as b}from"./NavigationDots-GHAOWiXe-DijU92FW.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-DCswXdRU-BPS0YQ7v.js";const A=d.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: column;