@zeniai/web-cockpit-ui 1.15.65-qa → 1.15.66-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 (265) hide show
  1. package/dist/assets/{ACHDetailsPage-BShpKoIj-DfqbKIrs.js → ACHDetailsPage-BShpKoIj-CW1imKMz.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-CFErwUsE-Cojw_Wfy.js → AIPerformancePage-CFErwUsE-C9puPCCO.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-B8upbXj9-BQtVDThI.js → AccountInfoPage-B8upbXj9-Dtz8WQyO.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-CKpeDot5-BCCA2AcF.js → AccountInfoPageContent-CKpeDot5-DIGFDBxC.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-c30P9O_3-D4jjMEZV.js → AccountLockedInfoModal-c30P9O_3-n0xGj_zZ.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CO9BYPWm-BvjoYv6x.js → AccountReconDetailsDrawerPage-CO9BYPWm-Mg0FsDRd.js} +1 -1
  7. package/dist/assets/{AccountRow-BrW_eEjE-BkBbs4aB.js → AccountRow-BrW_eEjE-DlgTvuFF.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-De2yNNuZ-DyMiMR3x.js → AccountsPromoCardStack-De2yNNuZ-G5M7i2un.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-riOPLnxb-DmtzGlYX.js → AddAddressForCardDrawer-riOPLnxb-4wUmSook.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CsOmzC7v-I22cNtfS.js → AddToWalletPage-CsOmzC7v-DDekkTcs.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-D9I9afnB-nPuC7737.js → AgingReportsPage-D9I9afnB-Pr6LqJHU.js} +1 -1
  12. package/dist/assets/{AllUserItems-Dq7NcP-o-Bb4D8Iq7.js → AllUserItems-Dq7NcP-o-BNPnQC3d.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-Z5JgfH-e-JnIIwdm2.js → ApAgingDetailPage-Z5JgfH-e-BCqAdteh.js} +1 -1
  14. package/dist/assets/{AppBasePage-B5sDynhi-BCr-TzEC.js → AppBasePage-B5sDynhi-CUXe21st.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-D9Q8ir0T-BixxjR_X.js → AppDrawerContent-D9Q8ir0T-CV--mref.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-DVGvJsQG-DhxleZ0_.js → ApprovalRulesSettingsPage-DVGvJsQG-COBJqCxP.js} +1 -1
  17. package/dist/assets/{ArAgingChart-Tcu0Lja_-Bn-GYO8G.js → ArAgingChart-Tcu0Lja_-Dcd3iM-I.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-B5vqkc3v-BduuFDYJ.js → ArAgingDetailPage-B5vqkc3v-DkiCuj_D.js} +1 -1
  19. package/dist/assets/{AttachmentView-CiYfninr-CUmSw95Q.js → AttachmentView-CiYfninr-76W0iAd5.js} +1 -1
  20. package/dist/assets/{BalancesInsightWithToolTip-tiQUQUbX-frV275AV.js → BalancesInsightWithToolTip-tiQUQUbX-C4adSAUq.js} +1 -1
  21. package/dist/assets/{BankAccountSection-EZtscP2z-BgicWcYt.js → BankAccountSection-EZtscP2z-BUefIH5V.js} +1 -1
  22. package/dist/assets/{BankAccountWarningSection-DCfyIUlu-BMej2Zyu.js → BankAccountWarningSection-DCfyIUlu-CKci9TET.js} +1 -1
  23. package/dist/assets/{BankConnectionsSettingsPage-CQWy9jvt-wGlY_7dS.js → BankConnectionsSettingsPage-CQWy9jvt-BdLZIBvy.js} +1 -1
  24. package/dist/assets/{BillDetailPage-pt1k5AQf-CyNhjuPS.js → BillDetailPage-pt1k5AQf-BjT4Ihsm.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRuleDetailPage-Drh7Bhi8-kVFER1lm.js → BillPayApprovalRuleDetailPage-Drh7Bhi8-091yCGF7.js} +1 -1
  26. package/dist/assets/{BillPayApprovalRulesPage-Cmyo59xB-DqCAQW7z.js → BillPayApprovalRulesPage-Cmyo59xB-Bc1FlC0c.js} +1 -1
  27. package/dist/assets/{BillPayPromoPage-Dgpz2TLG-Bmim6gnH.js → BillPayPromoPage-Dgpz2TLG-RoPtYKEQ.js} +1 -1
  28. package/dist/assets/{BillPaySetUpPage-B6Pd_eBf-CEDluSe2.js → BillPaySetUpPage-B6Pd_eBf-CWUn729m.js} +1 -1
  29. package/dist/assets/{BillingSettingsPage-CYsvBrFV-DPsrg5X4.js → BillingSettingsPage-CYsvBrFV-DtV08_g9.js} +1 -1
  30. package/dist/assets/{BillsBulkReviewDrawerPage-DNnAmqWz-qrneENng.js → BillsBulkReviewDrawerPage-DNnAmqWz-CEdBVzVe.js} +1 -1
  31. package/dist/assets/{BoxItem-B06DK4G--gd85wEki.js → BoxItem-B06DK4G--Bupc4dyY.js} +1 -1
  32. package/dist/assets/{BusinessVerificationPage-Dgk5gyMv-BJ9aIxVM.js → BusinessVerificationPage-Dgk5gyMv-BKMYH8C3.js} +1 -1
  33. package/dist/assets/{CardNumberSubText-CcH9jUoZ-B2VFk3-3.js → CardNumberSubText-CcH9jUoZ-mqNKBu9B.js} +1 -1
  34. package/dist/assets/{CashbackDetailPage-5eysaHGf--MmhOABJ.js → CashbackDetailPage-5eysaHGf-O2irFEC3.js} +1 -1
  35. package/dist/assets/{ChargeCardDetailPage-Diwf-gwZ-Cd_uwbQb.js → ChargeCardDetailPage-Diwf-gwZ-BUyvgd6i.js} +1 -1
  36. package/dist/assets/{ChargeCardListPage-C-RTGkKK-B0mW-6Hb.js → ChargeCardListPage-C-RTGkKK-DLkixTq5.js} +1 -1
  37. package/dist/assets/{ChargeCardListTable-B-bNbtZQ-CVPyDOrN.js → ChargeCardListTable-B-bNbtZQ--LQKl6Xj.js} +1 -1
  38. package/dist/assets/{ChargeCardPaymentHistoryPage-Cu-zT5tO-D1H0yQXX.js → ChargeCardPaymentHistoryPage-Cu-zT5tO-CNtnC-O7.js} +1 -1
  39. package/dist/assets/{ChargeCardPromoPage-Cz3rNFwM-DeGEAS3w.js → ChargeCardPromoPage-Cz3rNFwM-D_0OzJRZ.js} +1 -1
  40. package/dist/assets/{ChargeCardSetupPage-BcTB9Yy5-CzgkZNHd.js → ChargeCardSetupPage-BcTB9Yy5-BOaP0LVe.js} +1 -1
  41. package/dist/assets/{ChargeCardStatementsPage-B_ERvgmB-DCZvRjGs.js → ChargeCardStatementsPage-B_ERvgmB-DjHyNuHd.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-D7_usOVn-BLpGmRAA.js → CheckDepositDrawerPage-D7_usOVn-B0KdoA_b.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-h0vIfI8o-C_nIboyL.js → CollapsableReportTable-h0vIfI8o-D3Pt-4FZ.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-CWADX4kZ-DAJDbqKY.js → CompanyOfficerDetailsSection-CWADX4kZ-jF_BBJt5.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-DF9LFrFD-CfORxvik.js → CompanyPassportCard-DF9LFrFD-nY8e_5Nd.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-BtAopyLq-BAcVVtkr.js → CompanyPassportPage-BtAopyLq-BcF__FaA.js} +1 -1
  47. package/dist/assets/{CompleteProfile-CsbsHQ0p-B21zbfQo.js → CompleteProfile-CsbsHQ0p-Da1z9Z7H.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-duD341Gp-D_XM-ZLA.js → ConfettiBurst-duD341Gp-CRM9LgmA.js} +1 -1
  49. package/dist/assets/{ConstrainedInnerElement-hv51KpGg-CmdPlE4F.js → ConstrainedInnerElement-hv51KpGg-CXln6N2t.js} +1 -1
  50. package/dist/assets/{CreateOrEditVendorPage-C2xU6c51-Bbcgjb9-.js → CreateOrEditVendorPage-C2xU6c51-B-kxLo4f.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentDrawerPage-CeagMaCu-1y85DWq7.js → CreditCardPaymentDrawerPage-CeagMaCu-tu_QZ5if.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-B8EoF2aF-bqlkSsm1.js → CurrencySelectField-B8EoF2aF-GOW4qR7m.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-CIeR2XvU-HFKU3SJV.js → CustomerOnboardingActivationPage-CIeR2XvU-CK8C5kkD.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-DVL4s-eV-BLPiI0Mv.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-kUbwh2r2-BummVZhW.js → CustomerOnboardingDetailPageSkeleton-kUbwh2r2-J-3HD8z8.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-Br0jy7Pu-Dl_Mv5Wl.js → CustomerOnboardingNoStepsPage-Br0jy7Pu-ChmYYCLk.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-Dm2Si769-v8HiMA2t.js → CustomerOnboardingPage-Dm2Si769-D58-iBoA.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-Cz81Q5jC-DcDufkYh.js → CustomerOnboardingProductSuitePage-Cz81Q5jC-n81ts80h.js} +1 -1
  59. package/dist/assets/{Dashboard-DReG_aaf-D4X-o9_o.js → Dashboard-DReG_aaf-DwSOFg0b.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-BXSlwsR7-Cz_0lopm.js → DashboardReportPage-BXSlwsR7-CQ7UXe-C.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-B3dtVAe2-CnL0efQL.js → DashboardSidebarBackgroundAnimation-B3dtVAe2-B6yGX6Ah.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-YuSXjbLh-Dx6q11sT.js → DepositAccTransactionItem-YuSXjbLh-C2vDDOod.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-C-FAvZwD-C5Fhkuso.js → DepositAccTransactionListPage-C-FAvZwD-BbAq4nWD.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-BaiSpc0N-uZETNNhJ.js → DomesticWireDetailsPage-BaiSpc0N-DnjTEbYw.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-BpRKCn-0-D916sq-Q.js → DownloadOverlay-BpRKCn-0-CHKRQCgV.js} +1 -1
  66. package/dist/assets/{DrawerPage-DQ3Xuekx-CPQLwVxj.js → DrawerPage-DQ3Xuekx-B9p3dBku.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-8DalSMWH-CQGejIQU.js → EditPeoplePage-8DalSMWH-Ckh9exV5.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-CC2BjMkR-CTUwI237.js → EditReimbursementDetailPage-CC2BjMkR-CV9Xwg25.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-fmWuxHTZ-BIJZhZst.js → EntityDetailPage-fmWuxHTZ-DJDbCj57.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-vsEMiXYh-CeoK4uKh.js → EntitySummarySection-vsEMiXYh-CDZa-Mc3.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-B3HPfIsK-Dke8ZZM7.js → ExpenseAutomationOverviewPage-B3HPfIsK-CWN4kP2X.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-4LJefgNh-B3SC6b6Z.js → ExpenseAutomationPage-4LJefgNh-isL_Jc14.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-BH7oCW_F-BgagaIu0.js → ExpressPayPage-BH7oCW_F-ls2gqEkj.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-DSv61BhF-Bydcxxv7.js → FeaturePreviewPage-DSv61BhF-D3bUAc_I.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-Bgy9MpO4-BD-x00_h.js → FollowStepsSection-Bgy9MpO4-DjmY6ECY.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-VRq_gimm-C4s7IsET.js → GlobalReviewListPage-VRq_gimm-BJViyoax.js} +1 -1
  77. package/dist/assets/{InformationCardStack-rx0fypl3-lIkh6DIc.js → InformationCardStack-rx0fypl3-PVL5sP4g.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-uJWMkIZL-DtJ0hQoC.js → InsightsCardStack-uJWMkIZL-BMcef6eP.js} +1 -1
  79. package/dist/assets/{InsightsSection-ByFf2oGn-BpaFGZob.js → InsightsSection-ByFf2oGn-v8_DJRM0.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-Cj01Nub6-ukII9-Qt.js → IntegrationsSettingsPage-Cj01Nub6-Ckk6jPFc.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-C2PM97sv-B1VGuN9H.js → InternationalWireSwiftDetailsPage-C2PM97sv-DZ12UKs3.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-Cr3sDrT--p70b3BcM.js → InternationalWireVerificationPage-Cr3sDrT--DP2ZfrSL.js} +1 -1
  83. package/dist/assets/{InviteFormPage-dsMpScvq-CFmeqnsL.js → InviteFormPage-dsMpScvq-CwRYtYza.js} +1 -1
  84. package/dist/assets/{InvitePageListView-e7vGSbFa-CJKyi1gx.js → InvitePageListView-e7vGSbFa-DcUjhdI-.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-BT_YVCP4-CH8t_pZ3.js → InvitePeoplePage-BT_YVCP4-CgT1m3Z3.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-Dg1-uunA-DNwM3go9.js → InvoiceUploadSection-Dg1-uunA-CW2z21hh.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-CyF9wrb0-ClM-IPZk.js → IssueChargeCardPage-CyF9wrb0-CEZ2-O-B.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-3l0Bv00--D-HSHhPl.js → LabeledAddressValue-3l0Bv00--CRsMpkI1.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-F9kvUR_r-DBGec-DX.js → LabeledAddressValueField-F9kvUR_r--rBMYRFp.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-BgC8y0D6-GOZsgGrW.js → LabeledControlledCheckBoxField-BgC8y0D6-BL02IYWO.js} +1 -1
  91. package/dist/assets/{LabeledCountryMultiSelectField-3qI_4noU-BbsNYM5E.js → LabeledCountryMultiSelectField-3qI_4noU-BwwxeoBQ.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-BV3h9bh7-1HTMQlga.js → LabeledCreatableSingleSelectField-BV3h9bh7-D2WoBuGQ.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-rriEcsdr-BmxO7VvX.js → LabeledDocumentField-rriEcsdr-DuJ2zUxk.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-DoVSg3nZ-CBz2J7Mt.js → LabeledDropDownFormattedTextField-DoVSg3nZ-k-dWGYUh.js} +1 -1
  95. package/dist/assets/{LabeledText-DGZ7hxY4-RKJj2tnG.js → LabeledText-DGZ7hxY4-DsEkDfJy.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-CEQc_jEa.js → LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-BdZT_J4k.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-jIrTovp--Bg5do-m5.js → LabeledZeniRolesDropDownField-jIrTovp--BhxE0P_I.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-Bvbqpltz-CUqW1qfB.js → LinkJETransactionPage-Bvbqpltz-HF3tsHRK.js} +1 -1
  99. package/dist/assets/{LockCardPage-DyEQBJYx-DPKd8EJ2.js → LockCardPage-DyEQBJYx-Cp9KP7Ha.js} +1 -1
  100. package/dist/assets/{LowBalancePopup-C2vHKMNF-CtUR2Fp6.js → LowBalancePopup-C2vHKMNF-bdPNLfbg.js} +1 -1
  101. package/dist/assets/{MagicLinkACHDetailsPage-lAAwAtH7-MCpTChZt.js → MagicLinkACHDetailsPage-lAAwAtH7-Ck-bBlpT.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-cv823ASo-Dc2-bFCa.js → MagicLinkDomesticWireDetailsPage-cv823ASo-o8N9E1Vn.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C_SjsgC9-TLhL2PMx.js → MagicLinkInternationalWireDetailsPage-C_SjsgC9-VMrnWF1u.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-B1LBYM2F-Cz9gaxKE.js → MagicLinkSuccessPage-B1LBYM2F-6icyR0Uu.js} +1 -1
  105. package/dist/assets/{MagicLinkTitleSection-ClAnBBt9-BMtrSFyH.js → MagicLinkTitleSection-ClAnBBt9-BG2qP1eV.js} +1 -1
  106. package/dist/assets/{MailingDetailsSection-9_XLl4bT-Bv_CjAr1.js → MailingDetailsSection-9_XLl4bT-aum9pUe4.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-CBNYcuP4-CiKLyA9R.js → MyBankConnectionsSettingsPage-CBNYcuP4-JphRdcv2.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-n71n40uQ-ClE2TpxA.js → MyPendingActivationChargeCardListPage-n71n40uQ-Dl2qH7gb.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BUMIjZYc-s_FxKeTm.js → MyProfileSettingsPage-BUMIjZYc-Bnuq---Y.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-CbjFNysh-DBMFFH1I.js → NavBarWithPicker-CbjFNysh-fM8X8YaY.js} +1 -1
  111. package/dist/assets/{NavigationArrow-Dpc7u6y4-Bivw7Wa_.js → NavigationArrow-Dpc7u6y4-BiRqyGkx.js} +1 -1
  112. package/dist/assets/{NavigationDots-DCpslVnm-DJbgqxZk.js → NavigationDots-DCpslVnm-DccClgwI.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-B10sY6Q_-CwJxcq0b.js → NewGlobalMerchantPage-B10sY6Q_-VgMXWXS2.js} +1 -1
  114. package/dist/assets/{NoDataChart-9-bhq204-BRTzKooZ.js → NoDataChart-9-bhq204-Mk2SpDph.js} +1 -1
  115. package/dist/assets/{NoDataTable-C6Q2Anpz-DCUTf7HA.js → NoDataTable-C6Q2Anpz-DUKNluuK.js} +1 -1
  116. package/dist/assets/{NotFoundPage-4mPhXD5--D-JRx0YU.js → NotFoundPage-4mPhXD5--D8Xe2RH2.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-BTxCoB_b-BOBOU_9f.js → NotificationSettingsPage-BTxCoB_b-EQULZcKC.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-CylnViXd-BKjC0LaR.js → NotificationsListConfig-CylnViXd-BsFR_NcM.js} +1 -1
  119. package/dist/assets/{NotificationsPage-D41h0mS6-RbJ-rwMb.js → NotificationsPage-D41h0mS6-Bb6S9Jk3.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-BV_uJSCh-CgiHSILj.js → OpExByVendorPage-BV_uJSCh-DSWgiZdt.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-CkUYOhlh-D1er0FrR.js → OverlayContainerPage-CkUYOhlh-BnCo9_OT.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-Cj3UWjG4-B5oBOgUH.js → PandLWithForecastPage-Cj3UWjG4-Daok_AzA.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BWFl695q-ndA3bqXt.js → PaymentAccountSetupBillingAddressSection-BWFl695q-CDWvoSql.js} +1 -1
  124. package/dist/assets/{PeoplePage-DcGqWtAP-5e40vHb9.js → PeoplePage-DcGqWtAP-DkPagYKu.js} +1 -1
  125. package/dist/assets/{Preview-DHku7oFH.js → Preview-Cc9vKqgF.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-C9JoJQeH-DlyT6T1y.js → ProductsCarousel-C9JoJQeH-x81n9I1l.js} +1 -1
  127. package/dist/assets/{PromoBaseCards-mFk7SsOr-BDNaSYdf.js → PromoBaseCards-mFk7SsOr-qtCHMf8v.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-CJsIrEZq-CKD26IpL.js → QBOConnectionDialog-CJsIrEZq-Cv6iSpTz.js} +1 -1
  129. package/dist/assets/{QBOSetupSection-C_fqHza_-ZXq_dYb4.js → QBOSetupSection-C_fqHza_-DgpfNI-0.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BMZnKpsk-BkQdiZ11.js → ReimbursementApprovalRuleDetailPage-BMZnKpsk-C2eUzL_F.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-C2zNa8dT-Csprjigd.js → ReimbursementApprovalRulesPage-C2zNa8dT-BewT1FOV.js} +1 -1
  132. package/dist/assets/{ReimbursementDetailPage-B1o8ea57-BYCDKcOS.js → ReimbursementDetailPage-B1o8ea57-DRCLvjWj.js} +1 -1
  133. package/dist/assets/{ReimbursementPromoPage-Df5QmXzC-5bmJ3l2r.js → ReimbursementPromoPage-Df5QmXzC-CiqDm3oM.js} +1 -1
  134. package/dist/assets/{ReimbursementSetUpPage-D450RVsP-D-xWgVhY.js → ReimbursementSetUpPage-D450RVsP-CoGf8qvT.js} +1 -1
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-HAGRhUjO.js → ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-qH0UNUqD.js} +1 -1
  136. package/dist/assets/{ReloadCard-D5cvzWxe-DyLnfF3x.js → ReloadCard-D5cvzWxe-B3IyXnq9.js} +1 -1
  137. package/dist/assets/{ReportTableViewSelector-Ig41fOPb-wIBJqt8s.js → ReportTableViewSelector-Ig41fOPb-CLRRGAhe.js} +1 -1
  138. package/dist/assets/{ReportsPage-CRAVAUTO-BI7A0p7Y.js → ReportsPage-CRAVAUTO-Cw7xKvAS.js} +1 -1
  139. package/dist/assets/{RevenueChart-DtQu0KAn-ne0YujYK.js → RevenueChart-DtQu0KAn-D8weCECA.js} +1 -1
  140. package/dist/assets/{ReviewDetailsPage-vui4TqeA-Bpr-d7mz.js → ReviewDetailsPage-vui4TqeA-D-XziIJQ.js} +1 -1
  141. package/dist/assets/{ReviewOverlay-CUnL7H-a-D6aj2Dtd.js → ReviewOverlay-CUnL7H-a-17YpOTAb.js} +1 -1
  142. package/dist/assets/{RoleWithToolTip-x2rnvWn9-C8vnNy04.js → RoleWithToolTip-x2rnvWn9-Decoe-vI.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-D_Cls2jC-DCiHNqHB.js → ScheduleDetailsFixedAssetsPage-D_Cls2jC-BwmKM1Tl.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsPage-DmSLuM8g-DG6o7-eZ.js → ScheduleDetailsPage-DmSLuM8g-DYOZWouJ.js} +1 -1
  145. package/dist/assets/{ScheduleSequenceTable-js9_P_Lo-B9h5W4w0.js → ScheduleSequenceTable-js9_P_Lo-CzCZ3H3Q.js} +1 -1
  146. package/dist/assets/{ScreenRoutes-B7ajeMjg.js → ScreenRoutes-VDuiXW2A.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-DYRWWXcL-l59zkQO0.js → SetUpAccountSection-DYRWWXcL-CqyVY0zk.js} +1 -1
  148. package/dist/assets/{SignIn-CUJkZb3S-PavEkJaR.js → SignIn-CUJkZb3S-BQ5cYlKz.js} +1 -1
  149. package/dist/assets/{SignInScreen-BveD6w8K.js → SignInScreen-BxnvlP3D.js} +1 -1
  150. package/dist/assets/{SpendManagementListViewPage-BieufnDb-CI_P4x1e.js → SpendManagementListViewPage-BieufnDb-DsSgx26K.js} +3 -3
  151. package/dist/assets/{SpendManagementPerTabPage-BmUp80QX-B5V0Wpxy.js → SpendManagementPerTabPage-BmUp80QX-_fIZmx1n.js} +1 -1
  152. package/dist/assets/{SpendManagementSection-DKZNTYXT-Czj4IlKu.js → SpendManagementSection-DKZNTYXT-Y5i2WptS.js} +1 -1
  153. package/dist/assets/{StatementItem-Dyt5Q0eR-BsHX8AwV.js → StatementItem-Dyt5Q0eR-ge2odajX.js} +1 -1
  154. package/dist/assets/{StatementsPage-CbtnJM5y-DN08uQjb.js → StatementsPage-CbtnJM5y-D7odQb22.js} +1 -1
  155. package/dist/assets/{StatusSwitcher-BfQ9VbBH-CMZDlves.js → StatusSwitcher-BfQ9VbBH-B-KO1Buq.js} +1 -1
  156. package/dist/assets/{SubTabSwitcher-CzGiuhk3-B9O-KX6j.js → SubTabSwitcher-CzGiuhk3-BJdsqPl7.js} +1 -1
  157. package/dist/assets/{SummaryCard-D61xzK3a-BK5ue-_1.js → SummaryCard-D61xzK3a-D5OwtVH7.js} +1 -1
  158. package/dist/assets/{TaskManagementPage-ucVAdv7x-BKEHBYJn.js → TaskManagementPage-ucVAdv7x-DzPLVMfi.js} +1 -1
  159. package/dist/assets/{TimeRangeSwitcher-C3jXm39I-Cb64l_sF.js → TimeRangeSwitcher-C3jXm39I-pg9s0UqV.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcher-CcYg-YQJ-IhSu35ud.js → TimeframeSwitcher-CcYg-YQJ-B8uZpFtx.js} +1 -1
  161. package/dist/assets/{TimeframeSwitcherWithToggle-w4YJno-p-C6wpknbe.js → TimeframeSwitcherWithToggle-w4YJno-p-B2pTF6KS.js} +1 -1
  162. package/dist/assets/{TopExCard-D2PRxvFc-CcqH1-v5.js → TopExCard-D2PRxvFc-jwp5OjNB.js} +1 -1
  163. package/dist/assets/{TopExDetailPage-C0uHdU7N-Bq7qKLlT.js → TopExDetailPage-C0uHdU7N-D9KWDen5.js} +1 -1
  164. package/dist/assets/{TransactionActivityLogPage-CqYb19tY-2szllqb1.js → TransactionActivityLogPage-CqYb19tY-BvG_2MHQ.js} +1 -1
  165. package/dist/assets/{TransactionDetailPage-D-NR_yZG-B2Sautks.js → TransactionDetailPage-D-NR_yZG-DLNp0Ym3.js} +1 -1
  166. package/dist/assets/{TransactionList-f6yB-byH-ezH96LKS.js → TransactionList-f6yB-byH-BeXigMDL.js} +1 -1
  167. package/dist/assets/{TransactionListBig-BrDWayQS-CQl5zccf.js → TransactionListBig-BrDWayQS-DsH6Jycs.js} +1 -1
  168. package/dist/assets/{TransactionListPage-C-Z62y2d-rpfMnfYg.js → TransactionListPage-C-Z62y2d-BZTkx2mc.js} +1 -1
  169. package/dist/assets/{TransactionVendorDetailPage-CQQuAR6V-Ci8W67Bw.js → TransactionVendorDetailPage-CQQuAR6V-D21ZQKzj.js} +1 -1
  170. package/dist/assets/{TransferDrawerPage-DfFm-1-3-C4oicCQl.js → TransferDrawerPage-DfFm-1-3-DcsnoXjo.js} +1 -1
  171. package/dist/assets/{TreasuryOverviewPage-CKSanlUG-C07uy0I1.js → TreasuryOverviewPage-CKSanlUG-CsJ07wXK.js} +1 -1
  172. package/dist/assets/{TreasuryPromoPage-Dyip3H10-rLajdXPg.js → TreasuryPromoPage-Dyip3H10-BFjPECcI.js} +1 -1
  173. package/dist/assets/{TreasuryStatementsPage-mljf2Van-B5lrauBX.js → TreasuryStatementsPage-mljf2Van-CKwUR6NQ.js} +1 -1
  174. package/dist/assets/{TreasuryTaxLetterPage-D3cV3a-8-NbhufeE3.js → TreasuryTaxLetterPage-D3cV3a-8-L4BwstYA.js} +1 -1
  175. package/dist/assets/{TrendChart-fFlHCvNx-D1INkMf3.js → TrendChart-fFlHCvNx--8jxSfa_.js} +1 -1
  176. package/dist/assets/{TrendWithTransactions-It4KDov3-38S285oR.js → TrendWithTransactions-It4KDov3-uJUU6y8f.js} +1 -1
  177. package/dist/assets/{UncategorizedAccountsMappingPage-BxBz2Ce0-HjEejVuC.js → UncategorizedAccountsMappingPage-BxBz2Ce0-CNPxhzU9.js} +1 -1
  178. package/dist/assets/{UnitIntegrationPage-gVgsk2ji-BzPkw_kp.js → UnitIntegrationPage-gVgsk2ji-COCsJfhk.js} +1 -1
  179. package/dist/assets/{UploadAdditionalDocumentOverlay-C5m8jqup-DsAYb7GV.js → UploadAdditionalDocumentOverlay-C5m8jqup-S0ohEV34.js} +1 -1
  180. package/dist/assets/{Vendor2FAPopup-DRwBzOwn-BVMTGmHy.js → Vendor2FAPopup-DRwBzOwn-DhtM-fsI.js} +1 -1
  181. package/dist/assets/{VendorACHDetailsPage-By2Ya2bv-CAhsvkfV.js → VendorACHDetailsPage-By2Ya2bv-q_tye6Vo.js} +1 -1
  182. package/dist/assets/{VendorDetailPage-jci1LqX3-DmAkqT8U.js → VendorDetailPage-jci1LqX3-BiOnbd3f.js} +1 -1
  183. package/dist/assets/{VendorDomesticWireDetailsPage-uIDE-n5v-jtMrW6rK.js → VendorDomesticWireDetailsPage-uIDE-n5v-CXJb5J3y.js} +1 -1
  184. package/dist/assets/{VendorFiling1099EditablePage-8pYT3u-X-CCxpM1hv.js → VendorFiling1099EditablePage-8pYT3u-X-D_UDyuhP.js} +1 -1
  185. package/dist/assets/{VendorFirstReviewPage-CafakxA1-CvW3WynL.js → VendorFirstReviewPage-CafakxA1-DLht7hvz.js} +1 -1
  186. package/dist/assets/{VendorInternationalWireDetailsPage-DJeI-ZFW-CBf1rXyh.js → VendorInternationalWireDetailsPage-DJeI-ZFW-Y_m9RvHt.js} +1 -1
  187. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Co-5nTam-CW2DmQxH.js → VendorInternationalWireSwiftDetailsPage-Co-5nTam-2AgQI36C.js} +1 -1
  188. package/dist/assets/{VendorsAccountsSection-YX2g8ETe-wCDHzNEi.js → VendorsAccountsSection-YX2g8ETe-e-Ebd3i7.js} +1 -1
  189. package/dist/assets/{VerifyDevice-DeHW4GAi-yrEokCCl.js → VerifyDevice-DeHW4GAi-BrrxSvi2.js} +1 -1
  190. package/dist/assets/{VideoPlayer-DxIfGrPu-B2YmNbuT.js → VideoPlayer-DxIfGrPu-DG9_29pb.js} +2 -2
  191. package/dist/assets/{VideoPopup-CUP7ctgS-BcfKwRlS.js → VideoPopup-CUP7ctgS-CnQZCBbO.js} +1 -1
  192. package/dist/assets/{WarningsDrawerPage--s6b380L-BSwXMmOc.js → WarningsDrawerPage--s6b380L-BvzCi6Jk.js} +1 -1
  193. package/dist/assets/{ZeniAccountDetailPage-7NdkdSg3-Cr6HQeS4.js → ZeniAccountDetailPage-7NdkdSg3-CzyDTlLy.js} +1 -1
  194. package/dist/assets/{ZeniAccountListViewPage-B-cs_xnc-D7pWlm_S.js → ZeniAccountListViewPage-B-cs_xnc-CitANkcs.js} +1 -1
  195. package/dist/assets/{ZeniAccountNavBarPieces-CjRip0v9-IbxcQtCH.js → ZeniAccountNavBarPieces-CjRip0v9-fqy5uhYF.js} +1 -1
  196. package/dist/assets/{ZeniAccountPromoPage-BikXtkeH-D_RRsNkQ.js → ZeniAccountPromoPage-BikXtkeH-DjpOin1U.js} +1 -1
  197. package/dist/assets/{ZeniAccountSetupPage-BRBsijVt-CRqhhR58.js → ZeniAccountSetupPage-BRBsijVt-CVgD2Uf6.js} +1 -1
  198. package/dist/assets/{ZeniCopyright-DDGvdmLF-BKXO4QNt.js → ZeniCopyright-DDGvdmLF-447g6hlp.js} +1 -1
  199. package/dist/assets/{ZeniTransferAmountSlider-Cdg0TlHk-BBV5qPLq.js → ZeniTransferAmountSlider-Cdg0TlHk-DPnsENMy.js} +1 -1
  200. package/dist/assets/{add-to-wallet-DgdBD8_G-BPAwAHT2.js → add-to-wallet-DgdBD8_G-Tvhq1Gb8.js} +1 -1
  201. package/dist/assets/{analytics-B3XlZNQ8.js → analytics-BSh5cBTM.js} +1 -1
  202. package/dist/assets/{analyticsHelper-D9xdJK4b-BJA83zZE.js → analyticsHelper-D9xdJK4b-DdFbzSx8.js} +1 -1
  203. package/dist/assets/{analyticsHelper-BBWNRi26.js → analyticsHelper-DOE_CVQ_.js} +1 -1
  204. package/dist/assets/{arrow-south-east-round-PEovUgvH-DYcTfV8-.js → arrow-south-east-round-PEovUgvH-D9NhRqZJ.js} +1 -1
  205. package/dist/assets/{auto-transfer-rule-mbafm5D3-C0L9GopF.js → auto-transfer-rule-mbafm5D3-Bd8ltJD0.js} +1 -1
  206. package/dist/assets/{chartTypes-Dq3hUz_T-CqrGtvb6.js → chartTypes-Dq3hUz_T-CZIhQYGg.js} +1 -1
  207. package/dist/assets/{commonDimensions-CGHIQ2To-BRyzQY__.js → commonDimensions-CGHIQ2To-ChTwXt2F.js} +1 -1
  208. package/dist/assets/{commonTypes-BAJPaPYg-CDifTgTP.js → commonTypes-BAJPaPYg-ZRT2EIAq.js} +1 -1
  209. package/dist/assets/{constants-BcG8RJNm.js → constants-Ca2l-eSK.js} +1 -1
  210. package/dist/assets/{core-DTlL91ob.js → core-BBKQkJb7.js} +1 -1
  211. package/dist/assets/{dash.all.min-wCYxg1-F.js → dash.all.min-DzQe-Q97.js} +1 -1
  212. package/dist/assets/{downloadPdf-BI2Y41h2-DfnhmK8V.js → downloadPdf-BI2Y41h2-CJxUrMkc.js} +1 -1
  213. package/dist/assets/{empty-DTLC6acq.js → empty-BAhHXN-J.js} +1 -1
  214. package/dist/assets/{empty-9h6tGMxX.js → empty-CvQ9mfdA.js} +1 -1
  215. package/dist/assets/{epic-CSBGbcOS.js → epic-DPl_yeEQ.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-CvfvQG3y.js → gift-box-Cmt9OgIZ-DeI78FXp.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-ChqWps-8.js → graphic-no-data-l-DU4J8fDt-l3Wpg2uF.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-1sZH3huZ.js → graphic-no-data-net-burn-l-CzmycA0m-Dyry9S3b.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-C8qC_oIS.js → handshake-BPg58FML-CAcdkk5J.js} +1 -1
  220. package/dist/assets/{helper-z5-P4a-y-O76OASBi.js → helper-z5-P4a-y-BjC38EFp.js} +1 -1
  221. package/dist/assets/{index-CTllXPEB.js → index-BSFE83ps.js} +1 -1
  222. package/dist/assets/{index-DA1Z8sqg.js → index-C2tYLV1-.js} +1 -1
  223. package/dist/assets/{index-CXoFWELS.js → index-CbQy18LL.js} +1 -1
  224. package/dist/assets/{index-BRlvHWYX.js → index-Co5CHcL-.js} +1 -1
  225. package/dist/assets/{index-DivE10Xm.js → index-D1n9iNXR.js} +1 -1
  226. package/dist/assets/{index-BTxAEBwp.js → index-Di0PzFTw.js} +1 -1
  227. package/dist/assets/{index-DtIqdweZ.js → index-DmJDLobC.js} +7 -7
  228. package/dist/assets/{lexical-CoKvBbaA.js → lexical-CC2d_kE2.js} +1 -1
  229. package/dist/assets/{liveblocks-offUbtxr.js → liveblocks-D1Gf9COF.js} +1 -1
  230. package/dist/assets/{lottie-Cqel28AC.js → lottie-B-DVrXwa.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-DrC2Zs2y-DWmiG5c4.js → mapLoadingInProgressToTreeNode-DrC2Zs2y-BjsjwyTG.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-dsBogxKz-BmzUOsCF.js → mapSectionWithAcOnlyToTreeNode-dsBogxKz-4f0Ul0l4.js} +1 -1
  233. package/dist/assets/{mapSpacerToTreeNode-DMDEaLzQ-D3_MaPFV.js → mapSpacerToTreeNode-DMDEaLzQ-V5HoG67-.js} +1 -1
  234. package/dist/assets/{mapTimeframeBalancesToTreeNode-CW_wzI5T-DJSjPY4U.js → mapTimeframeBalancesToTreeNode-CW_wzI5T-DDDj-Taw.js} +1 -1
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-DvfKBCs5-DK8IB_iY.js → mapTimeframeBalancesToTreeNode-DvfKBCs5-BZ6MszHu.js} +1 -1
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-ewu-2x9z.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-LJEHXizn.js} +1 -1
  237. package/dist/assets/{mui-BVCBQYdL.js → mui-Bgk_7_3h.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-D1vlmLcE.js → page-detail-CWX5S47F-DpTi0lr5.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-CSqoRxwG.js → panelSelectedMixin-Cddsb26L-BeWHMcNi.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-BGMZB5pj.js → radio-default-CiSgisfh-Dt6ezU-k.js} +1 -1
  241. package/dist/assets/{react-CSBaF2r0.js → react-0s0M_CAb.js} +1 -1
  242. package/dist/assets/{react-QuNdLWH0.js → react-8rwwNA9S.js} +1 -1
  243. package/dist/assets/{react-CLksnFSH.js → react-93CibPtS.js} +1 -1
  244. package/dist/assets/{react-BXvNRT2q.js → react-Cz3x_Ojh.js} +1 -1
  245. package/dist/assets/{react-C_JPVQ2C.js → react-Dfxv8P4v.js} +1 -1
  246. package/dist/assets/{react-DRddHEvz.js → react-DwGR9wjl.js} +1 -1
  247. package/dist/assets/{react-jkd7J1Kg.js → react-TtlD7S5U.js} +2 -2
  248. package/dist/assets/{react-BEal1Iuh.js → react-vKhkI9QX.js} +1 -1
  249. package/dist/assets/{recharts-DAsNs3BU.js → recharts-DQ94kkTy.js} +1 -1
  250. package/dist/assets/{sentry-Fca4mdIl.js → sentry-L3H0lnBS.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-CRgtaaqW.js → shield-DOlUxcFf-BeXfYuLC.js} +1 -1
  252. package/dist/assets/{toCOABalancesWithID-P7keEtAg-DSr-Ji44.js → toCOABalancesWithID-P7keEtAg-CKsrAJNb.js} +1 -1
  253. package/dist/assets/{toChartData-BUf5HHim-CcuAup9f.js → toChartData-BUf5HHim-DU5WiVJh.js} +1 -1
  254. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BVwF7gzx.js → upload-reimbursement-receipt-O2N8vcO7-N655yXJS.js} +1 -1
  255. package/dist/assets/{uploadAttachment-DJA30WSD-BjBmWUFe.js → uploadAttachment-DJA30WSD-Ce-ZEqY3.js} +1 -1
  256. package/dist/assets/{uploadReceipts-CqDftTRt-DjBPShf8.js → uploadReceipts-CqDftTRt-DXWV7iem.js} +1 -1
  257. package/dist/assets/{url-DdD720VJ.js → url-3bnwMjsG.js} +1 -1
  258. package/dist/assets/{url-DkjikAwv.js → url-CVUNFFPg.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-DXicXlES.js → useLongPress-GCK2COYQ-rqfVb6ME.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-BQlBhf7H.js → usp-line-BBd1wKwW-J8zgXRmN.js} +1 -1
  261. package/dist/assets/{utils-Cgs4R-d4.js → utils-WSIc2RtD.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-BZv12Eez.js → zeni-epic-state-B9Z2lD6g.js} +3 -3
  263. package/dist/index.html +1 -1
  264. package/package.json +3 -3
  265. package/dist/assets/CustomerOnboardingContainerPage-DVL4s-eV-CfdbcJAi.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a9 as se,V as o,fV as Ce,X as Pe,y as be,aa as we,aS as xe,cQ as ke,bE as Ie,o as i,ac as Ae,ae as Oe,aT as $e,bp as Ve,i3 as ve,O as Te,fn as je,fo as oe,ah as Le,x as J,an as Ee,u as A}from"./index-DtIqdweZ.js";import{n as c}from"./mui-BVCBQYdL.js";import{a as O}from"./sentry-Fca4mdIl.js";import{r as Ue,t as _e}from"./PaymentAccountSetupBillingAddressSection-BWFl695q-ndA3bqXt.js";import{f as ze}from"./CustomerOnboardingDetailPageSkeleton-kUbwh2r2-BummVZhW.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./zeni-epic-state-BZv12Eez.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";import"./commonTypes-BAJPaPYg-CDifTgTP.js";import"./SetUpAccountSection-DYRWWXcL-l59zkQO0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="9974848d-9420-4e46-97dc-27aef449fa72",e._sentryDebugIdIdentifier="sentry-dbid-9974848d-9420-4e46-97dc-27aef449fa72")}catch{}})();const X="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},Be=e=>`${e}_form`,De=Te.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:V,googleAPIKey:v,signedInUser:P,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:E,updateCardPaymentModalState:b,handleAddCardPaymentSource:U,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:w,onUpdateCustomerView:B,...D})=>{const m=Pe(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:M,onUpdatePaymentAccountStatus:F,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=D,Z=be(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:$(e),values:$(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:Y,uiState:le,allNationalityCountries:q,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=xe(g.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,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}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)}};O.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),O.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset($(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,q]);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??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(Y).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(X);t&&a&&(ye(),j("link_payment_account"),B(me,!1,!0))};O.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset($(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,q,w]);const[ae,Se]=O.useState(!1);return o.jsxs(Me,{children:[o.jsxs(Fe,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(Oe,{...r,children:o.jsx(Ne,{id:Be(ie),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:Y,subscriptionBillingAddressSectionId:n,sectionId:X,analytics:h,isValid:ne(),onFetchLinkTokenClick:M,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:F,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:b,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:v,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx($e,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(Ve,{signedInUser:P,currentTenant:T,onLogOutClick:G})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:H.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(_e,{handleConfirmCardSetupIntent:E,updateCardPaymentModalState:b,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:V,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:z,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Me=c.div`
1
+ import{a9 as se,V as o,fV as Ce,X as Pe,y as be,aa as we,aS as xe,cQ as ke,bE as Ie,o as i,ac as Ae,ae as Oe,aT as $e,bp as Ve,i3 as ve,O as Te,fn as je,fo as oe,ah as Le,x as J,an as Ee,u as A}from"./index-DmJDLobC.js";import{n as c}from"./mui-Bgk_7_3h.js";import{a as O}from"./sentry-L3H0lnBS.js";import{r as Ue,t as _e}from"./PaymentAccountSetupBillingAddressSection-BWFl695q-CDWvoSql.js";import{f as ze}from"./CustomerOnboardingDetailPageSkeleton-kUbwh2r2-J-3HD8z8.js";import"./liveblocks-D1Gf9COF.js";import"./core-BBKQkJb7.js";import"./zeni-epic-state-B9Z2lD6g.js";import"./lottie-B-DVrXwa.js";import"./recharts-DQ94kkTy.js";import"./analytics-BSh5cBTM.js";import"./lexical-CC2d_kE2.js";import"./utils-WSIc2RtD.js";import"./commonTypes-BAJPaPYg-ZRT2EIAq.js";import"./SetUpAccountSection-DYRWWXcL-CqyVY0zk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="9974848d-9420-4e46-97dc-27aef449fa72",e._sentryDebugIdIdentifier="sentry-dbid-9974848d-9420-4e46-97dc-27aef449fa72")}catch{}})();const X="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J(A[3],A[3]),subTitlePaddingBottom:new J(A[3],A[3])},Be=e=>`${e}_form`,De=Te.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:V,googleAPIKey:v,signedInUser:P,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:E,updateCardPaymentModalState:b,handleAddCardPaymentSource:U,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:w,onUpdateCustomerView:B,...D})=>{const m=Pe(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:M,onUpdatePaymentAccountStatus:F,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=D,Z=be(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:$(e),values:$(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:Y,uiState:le,allNationalityCountries:q,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=xe(g.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,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}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)}};O.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),O.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset($(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,q]);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??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(Y).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(X);t&&a&&(ye(),j("link_payment_account"),B(me,!1,!0))};O.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset($(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,q,w]);const[ae,Se]=O.useState(!1);return o.jsxs(Me,{children:[o.jsxs(Fe,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(Oe,{...r,children:o.jsx(Ne,{id:Be(ie),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:Y,subscriptionBillingAddressSectionId:n,sectionId:X,analytics:h,isValid:ne(),onFetchLinkTokenClick:M,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:F,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:b,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:v,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx($e,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(Ve,{signedInUser:P,currentTenant:T,onLogOutClick:G})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:H.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(_e,{handleConfirmCardSetupIntent:E,updateCardPaymentModalState:b,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:V,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:z,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Me=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{V as l,fV as tn,X as Ye,y as nn,aa as an,cQ as me,aS as We,I as ft,aG as Me,bE as on,o as re,ae as sn,u as Q,aT as rn,i3 as ln,gz as cn,fW as yt,fn as Pt,O as Ke,fo as gt,x as fe,gC as ye,cU as dn,an as pn,i4 as ht,af as St,d2 as un,gB as mn}from"./index-DtIqdweZ.js";import{a as m}from"./sentry-Fca4mdIl.js";import{n as O,k as wt}from"./mui-BVCBQYdL.js";import{bi as j,Gi as fn,Gj as yn}from"./zeni-epic-state-BZv12Eez.js";import{r as Ct,t as gn}from"./PaymentAccountSetupBillingAddressSection-BWFl695q-ndA3bqXt.js";import{b as bt,f as hn,a as It}from"./CustomerOnboardingDetailPageSkeleton-kUbwh2r2-BummVZhW.js";import{z as Sn,r as Cn}from"./CompanyOfficerDetailsSection-CWADX4kZ-DAJDbqKY.js";import{t as bn}from"./QBOSetupSection-C_fqHza_-ZXq_dYb4.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";import"./commonTypes-BAJPaPYg-CDifTgTP.js";import"./SetUpAccountSection-DYRWWXcL-l59zkQO0.js";import"./helper-z5-P4a-y-O76OASBi.js";import"./LabeledAddressValueField-F9kvUR_r-DBGec-DX.js";import"./LabeledCountryMultiSelectField-3qI_4noU-BbsNYM5E.js";import"./LabeledCreatableSingleSelectField-BV3h9bh7-1HTMQlga.js";import"./LabeledDocumentField-rriEcsdr-BmxO7VvX.js";import"./QBOConnectionDialog-CJsIrEZq-CKD26IpL.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="ddd6b66f-f203-4582-ad56-ebe4afc99cf2",n._sentryDebugIdIdentifier="sentry-dbid-ddd6b66f-f203-4582-ad56-ebe4afc99cf2")}catch{}})();const In=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:i,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:P,onPhoneVerified:h,...w})=>{const y=Ye(),A=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ke.getLocalizedStrings().customerOnboardingPage.sections,{title:v}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(On,{children:l.jsx(Cn,{companyOfficerData:C,allOfficers:A??[],allNationalityCountries:i,sectionHeader:v,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:P,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...w})})},On=O.div`
1
+ import{V as l,fV as tn,X as Ye,y as nn,aa as an,cQ as me,aS as We,I as ft,aG as Me,bE as on,o as re,ae as sn,u as Q,aT as rn,i3 as ln,gz as cn,fW as yt,fn as Pt,O as Ke,fo as gt,x as fe,gC as ye,cU as dn,an as pn,i4 as ht,af as St,d2 as un,gB as mn}from"./index-DmJDLobC.js";import{a as m}from"./sentry-L3H0lnBS.js";import{n as O,k as wt}from"./mui-Bgk_7_3h.js";import{bi as j,Gi as fn,Gj as yn}from"./zeni-epic-state-B9Z2lD6g.js";import{r as Ct,t as gn}from"./PaymentAccountSetupBillingAddressSection-BWFl695q-CDWvoSql.js";import{b as bt,f as hn,a as It}from"./CustomerOnboardingDetailPageSkeleton-kUbwh2r2-J-3HD8z8.js";import{z as Sn,r as Cn}from"./CompanyOfficerDetailsSection-CWADX4kZ-jF_BBJt5.js";import{t as bn}from"./QBOSetupSection-C_fqHza_-DgpfNI-0.js";import"./liveblocks-D1Gf9COF.js";import"./core-BBKQkJb7.js";import"./lottie-B-DVrXwa.js";import"./recharts-DQ94kkTy.js";import"./analytics-BSh5cBTM.js";import"./lexical-CC2d_kE2.js";import"./utils-WSIc2RtD.js";import"./commonTypes-BAJPaPYg-ZRT2EIAq.js";import"./SetUpAccountSection-DYRWWXcL-CqyVY0zk.js";import"./helper-z5-P4a-y-BjC38EFp.js";import"./LabeledAddressValueField-F9kvUR_r--rBMYRFp.js";import"./LabeledCountryMultiSelectField-3qI_4noU-BwwxeoBQ.js";import"./LabeledCreatableSingleSelectField-BV3h9bh7-D2WoBuGQ.js";import"./LabeledDocumentField-rriEcsdr-DuJ2zUxk.js";import"./QBOConnectionDialog-CJsIrEZq-Cv6iSpTz.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="ddd6b66f-f203-4582-ad56-ebe4afc99cf2",n._sentryDebugIdIdentifier="sentry-dbid-ddd6b66f-f203-4582-ad56-ebe4afc99cf2")}catch{}})();const In=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:i,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:P,onPhoneVerified:h,...w})=>{const y=Ye(),A=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ke.getLocalizedStrings().customerOnboardingPage.sections,{title:v}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(On,{children:l.jsx(Cn,{companyOfficerData:C,allOfficers:A??[],allNationalityCountries:i,sectionHeader:v,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:P,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...w})})},On=O.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{X as F,a9 as I,ay as M,y as U,V as e,bE as V,o as t,ac as b,bp as W,fV as _,O as A,an as H,ah as N,p as l,w as k,ai as R,n as J,d as Z,as as G,b1 as X}from"./index-DtIqdweZ.js";import{a as n}from"./sentry-Fca4mdIl.js";import{n as o}from"./mui-BVCBQYdL.js";import{GV as q}from"./zeni-epic-state-BZv12Eez.js";import K from"./ConfettiBurst-duD341Gp-D_XM-ZLA.js";import{T as Q}from"./ProductsCarousel-C9JoJQeH-DlyT6T1y.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new i.Error().stack;p&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[p]="d21be472-a92d-4ad1-9319-ac2ab0c6cad6",i._sentryDebugIdIdentifier="sentry-dbid-d21be472-a92d-4ad1-9319-ac2ab0c6cad6")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),Me=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=F(),f=I().analytics,w=M(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,D=U(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:B}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=B;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},O=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,q(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(V,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:D.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":b("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:x?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>O(a),children:[e.jsx(be,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(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:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(Q,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),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(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(W,{signedInUser:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(_,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},te=o.div`
1
+ import{X as F,a9 as I,ay as M,y as U,V as e,bE as V,o as t,ac as b,bp as W,fV as _,O as A,an as H,ah as N,p as l,w as k,ai as R,n as J,d as Z,as as G,b1 as X}from"./index-DmJDLobC.js";import{a as n}from"./sentry-L3H0lnBS.js";import{n as o}from"./mui-Bgk_7_3h.js";import{GV as q}from"./zeni-epic-state-B9Z2lD6g.js";import K from"./ConfettiBurst-duD341Gp-CRM9LgmA.js";import{T as Q}from"./ProductsCarousel-C9JoJQeH-x81n9I1l.js";import"./liveblocks-D1Gf9COF.js";import"./core-BBKQkJb7.js";import"./lottie-B-DVrXwa.js";import"./recharts-DQ94kkTy.js";import"./analytics-BSh5cBTM.js";import"./lexical-CC2d_kE2.js";import"./utils-WSIc2RtD.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new i.Error().stack;p&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[p]="d21be472-a92d-4ad1-9319-ac2ab0c6cad6",i._sentryDebugIdIdentifier="sentry-dbid-d21be472-a92d-4ad1-9319-ac2ab0c6cad6")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),Me=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=F(),f=I().analytics,w=M(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,D=U(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:B}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=B;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},O=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,q(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(V,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:D.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":b("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:x?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>O(a),children:[e.jsx(be,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(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:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(Q,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),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(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(W,{signedInUser:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(_,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},te=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{ax as OA,X as V,ay as Ee,V as e,az as qt,O as Q,aA as Xt,aB as Vt,o as r,aC as Zt,aD as $t,I as UA,p as m,aE as _t,aF as Ar,aG as er,aH as Ie,aI as tr,aJ as rr,aK as or,aL as ar,aM as ir,aN as gr,aO as P,aP as N,aQ as Y,aR as X,ac as D,aa as nr,aS as We,c as qe,ae as Cr,aT as sr,x as eA,aU as G,aV as tA,ao as rA,aW as Xe,aX as J,aY as U,aZ as VA,aq as Er,y as gA,a_ as dr,a$ as Br,b0 as lr,b1 as Qr,ak as F,b2 as TA,u as S,as as ZA,an as HA,b3 as Ve,b4 as Ze,b5 as $e,b6 as Ir,b7 as $A,N as cr,M as hr,b8 as pr,b9 as _e,ba as mr,bb as ur,bc as _A,bd as xr,be as fr,bf as wr,bg as kr,L as At,w as Dr,bh as yr,e as jr,bi as et,bj as tt,ap as vr,bk as br,ai as Mr,au as rt}from"./index-DtIqdweZ.js";import{a as t,P as k}from"./sentry-Fca4mdIl.js";import{n as g,a as Sr,c as fA,k as R}from"./mui-BVCBQYdL.js";import{L as Rr}from"./lottie-Cqel28AC.js";import{bg as Lr,bh as ot,FH as at}from"./zeni-epic-state-BZv12Eez.js";import{v as Fr}from"./DashboardSidebarBackgroundAnimation-B3dtVAe2-CnL0efQL.js";import{L as Jr,k as Pr}from"./ArAgingChart-Tcu0Lja_-Bn-GYO8G.js";import{E as Ur,T as de,I as it}from"./ReloadCard-D5cvzWxe-DyLnfF3x.js";import{L as Or,O as YA,c as QA}from"./TopExCard-D2PRxvFc-CcqH1-v5.js";import{Y as Tr,X as Hr,H as Yr,P as Kr,G as Nr}from"./RevenueChart-DtQu0KAn-ne0YujYK.js";import Gr from"./InsightsCardStack-uJWMkIZL-DtJ0hQoC.js";import{a as zr}from"./AccountsPromoCardStack-De2yNNuZ-DyMiMR3x.js";import{c as Z}from"./SummaryCard-D61xzK3a-BK5ue-_1.js";import{t as Wr,o as qr}from"./arrow-south-east-round-PEovUgvH-DYcTfV8-.js";import{N as iA}from"./NavigationArrow-Dpc7u6y4-Bivw7Wa_.js";import{x as Ae}from"./NavigationDots-DCpslVnm-DJbgqxZk.js";import Xr from"./CompanyPassportCard-DF9LFrFD-CfORxvik.js";import{C as Vr}from"./gift-box-Cmt9OgIZ-CvfvQG3y.js";import Zr from"./InformationCardStack-rx0fypl3-lIkh6DIc.js";import{p as gt}from"./chartTypes-Dq3hUz_T-CqrGtvb6.js";import{h as $r}from"./toCOABalancesWithID-P7keEtAg-DSr-Ji44.js";import{V as _r}from"./toChartData-BUf5HHim-CcuAup9f.js";import{r as Ao,i as eo}from"./graphic-no-data-net-burn-l-CzmycA0m-1sZH3huZ.js";import{N as to,J as ro}from"./PromoBaseCards-mFk7SsOr-BDNaSYdf.js";import{r as oo}from"./core-DTlL91ob.js";import{N as ao,I as io}from"./VideoPlayer-DxIfGrPu-B2YmNbuT.js";import go from"./ConfettiBurst-duD341Gp-D_XM-ZLA.js";import{C as no,D as Co,Y as so,X as Eo,R as Bo}from"./recharts-DAsNs3BU.js";import"./liveblocks-offUbtxr.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";import"./graphic-no-data-l-DU4J8fDt-ChqWps-8.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new A.Error().stack;o&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[o]="84e05c6c-4e26-4dec-8262-2e1fb9e6f780",A._sentryDebugIdIdentifier="sentry-dbid-84e05c6c-4e26-4dec-8262-2e1fb9e6f780")}catch{}})();const lo=g(tA)`
1
+ import{ax as OA,X as V,ay as Ee,V as e,az as qt,O as Q,aA as Xt,aB as Vt,o as r,aC as Zt,aD as $t,I as UA,p as m,aE as _t,aF as Ar,aG as er,aH as Ie,aI as tr,aJ as rr,aK as or,aL as ar,aM as ir,aN as gr,aO as P,aP as N,aQ as Y,aR as X,ac as D,aa as nr,aS as We,c as qe,ae as Cr,aT as sr,x as eA,aU as G,aV as tA,ao as rA,aW as Xe,aX as J,aY as U,aZ as VA,aq as Er,y as gA,a_ as dr,a$ as Br,b0 as lr,b1 as Qr,ak as F,b2 as TA,u as S,as as ZA,an as HA,b3 as Ve,b4 as Ze,b5 as $e,b6 as Ir,b7 as $A,N as cr,M as hr,b8 as pr,b9 as _e,ba as mr,bb as ur,bc as _A,bd as xr,be as fr,bf as wr,bg as kr,L as At,w as Dr,bh as yr,e as jr,bi as et,bj as tt,ap as vr,bk as br,ai as Mr,au as rt}from"./index-DmJDLobC.js";import{a as t,P as k}from"./sentry-L3H0lnBS.js";import{n as g,a as Sr,c as fA,k as R}from"./mui-Bgk_7_3h.js";import{L as Rr}from"./lottie-B-DVrXwa.js";import{bg as Lr,bh as ot,FH as at}from"./zeni-epic-state-B9Z2lD6g.js";import{v as Fr}from"./DashboardSidebarBackgroundAnimation-B3dtVAe2-B6yGX6Ah.js";import{L as Jr,k as Pr}from"./ArAgingChart-Tcu0Lja_-Dcd3iM-I.js";import{E as Ur,T as de,I as it}from"./ReloadCard-D5cvzWxe-B3IyXnq9.js";import{L as Or,O as YA,c as QA}from"./TopExCard-D2PRxvFc-jwp5OjNB.js";import{Y as Tr,X as Hr,H as Yr,P as Kr,G as Nr}from"./RevenueChart-DtQu0KAn-D8weCECA.js";import Gr from"./InsightsCardStack-uJWMkIZL-BMcef6eP.js";import{a as zr}from"./AccountsPromoCardStack-De2yNNuZ-G5M7i2un.js";import{c as Z}from"./SummaryCard-D61xzK3a-D5OwtVH7.js";import{t as Wr,o as qr}from"./arrow-south-east-round-PEovUgvH-D9NhRqZJ.js";import{N as iA}from"./NavigationArrow-Dpc7u6y4-BiRqyGkx.js";import{x as Ae}from"./NavigationDots-DCpslVnm-DccClgwI.js";import Xr from"./CompanyPassportCard-DF9LFrFD-nY8e_5Nd.js";import{C as Vr}from"./gift-box-Cmt9OgIZ-DeI78FXp.js";import Zr from"./InformationCardStack-rx0fypl3-PVL5sP4g.js";import{p as gt}from"./chartTypes-Dq3hUz_T-CZIhQYGg.js";import{h as $r}from"./toCOABalancesWithID-P7keEtAg-CKsrAJNb.js";import{V as _r}from"./toChartData-BUf5HHim-DU5WiVJh.js";import{r as Ao,i as eo}from"./graphic-no-data-net-burn-l-CzmycA0m-Dyry9S3b.js";import{N as to,J as ro}from"./PromoBaseCards-mFk7SsOr-qtCHMf8v.js";import{r as oo}from"./core-BBKQkJb7.js";import{N as ao,I as io}from"./VideoPlayer-DxIfGrPu-DG9_29pb.js";import go from"./ConfettiBurst-duD341Gp-CRM9LgmA.js";import{C as no,D as Co,Y as so,X as Eo,R as Bo}from"./recharts-DQ94kkTy.js";import"./liveblocks-D1Gf9COF.js";import"./analytics-BSh5cBTM.js";import"./lexical-CC2d_kE2.js";import"./utils-WSIc2RtD.js";import"./graphic-no-data-l-DU4J8fDt-l3Wpg2uF.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new A.Error().stack;o&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[o]="84e05c6c-4e26-4dec-8262-2e1fb9e6f780",A._sentryDebugIdIdentifier="sentry-dbid-84e05c6c-4e26-4dec-8262-2e1fb9e6f780")}catch{}})();const lo=g(tA)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,ce=g.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{X as B,y as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,I as qe,bF as Je,o as d,x as L,aG as J,bG as Qe,bH as et,ak as oe,u as C,b5 as tt,aX as st,c as Oe,b as Be,p as T,as as Pe,aW as ot,bc as at,ap as nt,bI as it,av as rt,bJ as ct,bK as ne,bL as lt,au as dt,ao as pt,bM as ut,bN as gt}from"./index-DtIqdweZ.js";import{a as S,P as Q}from"./sentry-Fca4mdIl.js";import{n as u,k as Ie}from"./mui-BVCBQYdL.js";import{bg as ht,FJ as mt,F3 as ft,FK as bt,FL as xt,FM as _t,FN as wt,FO as yt,FP as St,FQ as vt,FR as $t}from"./zeni-epic-state-BZv12Eez.js";import{m as G,l as se}from"./analyticsHelper-D9xdJK4b-BJA83zZE.js";import{x as jt,b as Ct}from"./ReportTableViewSelector-Ig41fOPb-wIBJqt8s.js";import{F as kt}from"./InsightsSection-ByFf2oGn-BpaFGZob.js";import{H as ee}from"./BalancesInsightWithToolTip-tiQUQUbX-frV275AV.js";import{y as Ot,$ as Bt,v as Pt,M as xe,b as pe}from"./TimeRangeSwitcher-C3jXm39I-Cb64l_sF.js";import{G as It,P as Lt,Y as _e,X as we,H as ye}from"./RevenueChart-DtQu0KAn-ne0YujYK.js";import{C as Nt}from"./NoDataChart-9-bhq204-BRTzKooZ.js";import{n as D}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{T as Le}from"./TimeframeSwitcher-CcYg-YQJ-IhSu35ud.js";import{n as Rt,t as E,j as Dt,h as ue,D as Tt}from"./CollapsableReportTable-h0vIfI8o-C_nIboyL.js";import{S as zt,M as Mt,g as Ft,C as te,L as Ne,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-dsBogxKz-BmzUOsCF.js";import{d as At}from"./NoDataTable-C6Q2Anpz-DCUTf7HA.js";import{d as ge,l as he}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-ewu-2x9z.js";import{d as me}from"./mapLoadingInProgressToTreeNode-DrC2Zs2y-DWmiG5c4.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";import"./NavigationDots-DCpslVnm-DJbgqxZk.js";import"./chartTypes-Dq3hUz_T-CqrGtvb6.js";import"./toCOABalancesWithID-P7keEtAg-DSr-Ji44.js";import"./toChartData-BUf5HHim-CcuAup9f.js";import"./AccountRow-BrW_eEjE-BkBbs4aB.js";import"./graphic-no-data-l-DU4J8fDt-ChqWps-8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="862dd0bd-88d0-431e-b38a-437bb58d9716",e._sentryDebugIdIdentifier="sentry-dbid-862dd0bd-88d0-431e-b38a-437bb58d9716")}catch{}})();const Et=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.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"}),S.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"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.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"}),S.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"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.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"})),Vt=u.div`
1
+ import{X as B,y as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,I as qe,bF as Je,o as d,x as L,aG as J,bG as Qe,bH as et,ak as oe,u as C,b5 as tt,aX as st,c as Oe,b as Be,p as T,as as Pe,aW as ot,bc as at,ap as nt,bI as it,av as rt,bJ as ct,bK as ne,bL as lt,au as dt,ao as pt,bM as ut,bN as gt}from"./index-DmJDLobC.js";import{a as S,P as Q}from"./sentry-L3H0lnBS.js";import{n as u,k as Ie}from"./mui-Bgk_7_3h.js";import{bg as ht,FJ as mt,F3 as ft,FK as bt,FL as xt,FM as _t,FN as wt,FO as yt,FP as St,FQ as vt,FR as $t}from"./zeni-epic-state-B9Z2lD6g.js";import{m as G,l as se}from"./analyticsHelper-D9xdJK4b-DdFbzSx8.js";import{x as jt,b as Ct}from"./ReportTableViewSelector-Ig41fOPb-CLRRGAhe.js";import{F as kt}from"./InsightsSection-ByFf2oGn-v8_DJRM0.js";import{H as ee}from"./BalancesInsightWithToolTip-tiQUQUbX-C4adSAUq.js";import{y as Ot,$ as Bt,v as Pt,M as xe,b as pe}from"./TimeRangeSwitcher-C3jXm39I-pg9s0UqV.js";import{G as It,P as Lt,Y as _e,X as we,H as ye}from"./RevenueChart-DtQu0KAn-D8weCECA.js";import{C as Nt}from"./NoDataChart-9-bhq204-Mk2SpDph.js";import{n as D}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{T as Le}from"./TimeframeSwitcher-CcYg-YQJ-B8uZpFtx.js";import{n as Rt,t as E,j as Dt,h as ue,D as Tt}from"./CollapsableReportTable-h0vIfI8o-D3Pt-4FZ.js";import{S as zt,M as Mt,g as Ft,C as te,L as Ne,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-dsBogxKz-4f0Ul0l4.js";import{d as At}from"./NoDataTable-C6Q2Anpz-DUKNluuK.js";import{d as ge,l as he}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-LJEHXizn.js";import{d as me}from"./mapLoadingInProgressToTreeNode-DrC2Zs2y-BjsjwyTG.js";import"./liveblocks-D1Gf9COF.js";import"./core-BBKQkJb7.js";import"./lottie-B-DVrXwa.js";import"./recharts-DQ94kkTy.js";import"./analytics-BSh5cBTM.js";import"./lexical-CC2d_kE2.js";import"./utils-WSIc2RtD.js";import"./NavigationDots-DCpslVnm-DccClgwI.js";import"./chartTypes-Dq3hUz_T-CZIhQYGg.js";import"./toCOABalancesWithID-P7keEtAg-CKsrAJNb.js";import"./toChartData-BUf5HHim-DU5WiVJh.js";import"./AccountRow-BrW_eEjE-DlgTvuFF.js";import"./graphic-no-data-l-DU4J8fDt-l3Wpg2uF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="862dd0bd-88d0-431e-b38a-437bb58d9716",e._sentryDebugIdIdentifier="sentry-dbid-862dd0bd-88d0-431e-b38a-437bb58d9716")}catch{}})();const Et=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.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"}),S.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"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.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"}),S.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"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.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"})),Vt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{ax as b,V as o,b7 as f,o as p}from"./index-DtIqdweZ.js";import{a as s}from"./sentry-Fca4mdIl.js";import{a as h,n as m}from"./mui-BVCBQYdL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="037aa97a-20aa-4ac5-84c4-9b2dfa9d146b",e._sentryDebugIdIdentifier="sentry-dbid-037aa97a-20aa-4ac5-84c4-9b2dfa9d146b")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[i,d]=b(l,r),[a,c]=s.useState(null);i!=null&&a==null&&!d&&c(i);const u=e&&t.mode==="light"?.7:.2;return(e||n)&&a!=null?o.jsx(y,{contextWiseOpacity:u,newYearAnimationEnabled:n,children:o.jsx(f,{style:{width:"inherit",height:"inherit",display:"block"},animationData:a,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
1
+ import{ax as b,V as o,b7 as f,o as p}from"./index-DmJDLobC.js";import{a as s}from"./sentry-L3H0lnBS.js";import{a as h,n as m}from"./mui-Bgk_7_3h.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="037aa97a-20aa-4ac5-84c4-9b2dfa9d146b",e._sentryDebugIdIdentifier="sentry-dbid-037aa97a-20aa-4ac5-84c4-9b2dfa9d146b")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[i,d]=b(l,r),[a,c]=s.useState(null);i!=null&&a==null&&!d&&c(i);const u=e&&t.mode==="light"?.7:.2;return(e||n)&&a!=null?o.jsx(y,{contextWiseOpacity:u,newYearAnimationEnabled:n,children:o.jsx(f,{style:{width:"inherit",height:"inherit",display:"block"},animationData:a,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aQ as z,hU as T,X as D,ay as _,V as i,dQ as N,o as t,an as g,ao as y,O as A}from"./index-DtIqdweZ.js";import{n}from"./mui-BVCBQYdL.js";import{g as C}from"./BoxItem-B06DK4G--gd85wEki.js";import{o as O}from"./commonDimensions-CGHIQ2To-BRyzQY__.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="fb239da4-1185-4ffd-9cb9-ca8fcb2baa05",e._sentryDebugIdIdentifier="sentry-dbid-fb239da4-1185-4ffd-9cb9-ca8fcb2baa05")}catch{}})();const{common:{strings:{empty:f}}}=A.getLocalizedStrings();function J({data:e,boxType:a,depositAccountId:l,isCheckingCommentingEnabled:x=!1}){const{counterParty:s,typeName:c,amount:h,logo:u,summary:$,direction:k,status:v}=e,j=s.length>0?s:$,p=z("0,0.00",h),r=T(v),o=D(),d=_(),S=`dashboard_${d.currentTenant?.companyId}`,m=`list.${e.id}`,w=l!=null?{application:"dashboard",companyId:d.currentTenant?.companyId,tab:"checking",entityType:`checking.${m}`,entityId:e.id,isGlobalComment:!1,groupId:l}:void 0,I=i.jsxs(W,{children:[i.jsx(L,{src:u?.toString(),loading:"lazy"}),i.jsx(K,{children:i.jsxs(Q,{windowSize:o,children:[i.jsx(M,{children:j}),r!=null?i.jsxs(X,{windowSize:o,children:[i.jsx(B,{windowSize:o}),i.jsx(q,{color:r?.color,children:r?.value})]}):null]})}),i.jsxs(E,{windowSize:o,children:[c!=null?i.jsx(P,{children:i.jsx(V,{className:"tag",children:c})}):null,i.jsx(G,{windowSize:o,children:k==="debit"?`-${p}`:p})]})]}),b=i.jsx(C,{content:I,boxType:a,isDisabled:!1,isNotClickable:!0});return!x||w==null||l==null?b:i.jsx(N,{isThreadAllowed:!0,entityId:e.id,dashboardTabKey:m,roomId:S,companyId:d.currentTenant?.companyId??f,companyName:d.currentTenant?.companyName??f,dashboardOptionType:"checking",filterMetaData:w,groupId:l,style:{width:"100%",minWidth:0,alignSelf:"stretch"},children:b})}const E=n.div`
1
+ import{aQ as z,hU as T,X as D,ay as _,V as i,dQ as N,o as t,an as g,ao as y,O as A}from"./index-DmJDLobC.js";import{n}from"./mui-Bgk_7_3h.js";import{g as C}from"./BoxItem-B06DK4G--Bupc4dyY.js";import{o as O}from"./commonDimensions-CGHIQ2To-ChTwXt2F.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="fb239da4-1185-4ffd-9cb9-ca8fcb2baa05",e._sentryDebugIdIdentifier="sentry-dbid-fb239da4-1185-4ffd-9cb9-ca8fcb2baa05")}catch{}})();const{common:{strings:{empty:f}}}=A.getLocalizedStrings();function J({data:e,boxType:a,depositAccountId:l,isCheckingCommentingEnabled:x=!1}){const{counterParty:s,typeName:c,amount:h,logo:u,summary:$,direction:k,status:v}=e,j=s.length>0?s:$,p=z("0,0.00",h),r=T(v),o=D(),d=_(),S=`dashboard_${d.currentTenant?.companyId}`,m=`list.${e.id}`,w=l!=null?{application:"dashboard",companyId:d.currentTenant?.companyId,tab:"checking",entityType:`checking.${m}`,entityId:e.id,isGlobalComment:!1,groupId:l}:void 0,I=i.jsxs(W,{children:[i.jsx(L,{src:u?.toString(),loading:"lazy"}),i.jsx(K,{children:i.jsxs(Q,{windowSize:o,children:[i.jsx(M,{children:j}),r!=null?i.jsxs(X,{windowSize:o,children:[i.jsx(B,{windowSize:o}),i.jsx(q,{color:r?.color,children:r?.value})]}):null]})}),i.jsxs(E,{windowSize:o,children:[c!=null?i.jsx(P,{children:i.jsx(V,{className:"tag",children:c})}):null,i.jsx(G,{windowSize:o,children:k==="debit"?`-${p}`:p})]})]}),b=i.jsx(C,{content:I,boxType:a,isDisabled:!1,isNotClickable:!0});return!x||w==null||l==null?b:i.jsx(N,{isThreadAllowed:!0,entityId:e.id,dashboardTabKey:m,roomId:S,companyId:d.currentTenant?.companyId??f,companyName:d.currentTenant?.companyName??f,dashboardOptionType:"checking",filterMetaData:w,groupId:l,style:{width:"100%",minWidth:0,alignSelf:"stretch"},children:b})}const E=n.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{y as M,X as I,V as t,bE as E,b5 as Y,i1 as z,o,O as F,p as u,cC as _,dr as A,ds as L,dl as T,dt as B,x as R,ak as X,an as N,u as x}from"./index-DtIqdweZ.js";import{a as w}from"./sentry-Fca4mdIl.js";import{n as r}from"./mui-BVCBQYdL.js";import{bh as P}from"./zeni-epic-state-BZv12Eez.js";import{$ as V}from"./BoxItem-B06DK4G--gd85wEki.js";import{o as O}from"./commonDimensions-CGHIQ2To-BRyzQY__.js";import{Y as G}from"./DepositAccTransactionItem-YuSXjbLh-Dx6q11sT.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="d9ed1c46-3423-402c-ab98-9eb908ff0d97",e._sentryDebugIdIdentifier="sentry-dbid-d9ed1c46-3423-402c-ab98-9eb908ff0d97")}catch{}})();const l=F.getLocalizedStrings(),H={listItemMargin:new R(x[3],x[8])};function J(e){const i=A(e,a=>a.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=L(i,a=>a.length>0);return T(d,a=>({date:a[0].transactionDate,transactions:B(a,h=>h.transactionDate,"desc")}))}const K=z(J),be=({transactionListView:e,onBackClick:i,depositAccountId:d,isCheckingCommentingEnabled:a=!1})=>{const h=M(),p=I(),j=w.createRef(),f=w.useRef(null),c=K(e.transactions),v=e.depositAccountName,b=c.length===0,C=n=>b===!1?c[n].transactions.length*O.transactionItemHeightResponsive.value(p)+45:24,S=({index:n,style:m})=>{if(b===!1){const s=c[n];return t.jsx(y,{style:{...m},children:t.jsx($,{windowSize:p,children:t.jsxs(k,{children:[t.jsx(q,{children:P().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(W,{children:s.transactions.map((D,g)=>t.jsx(G,{data:D,boxType:V(g,s.transactions.length),depositAccountId:d,isCheckingCommentingEnabled:a},g))})]})})})}else return t.jsx(y,{style:{...m},children:t.jsx(Q,{children:t.jsx($,{windowSize:p,children:t.jsx(Z,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(U,{children:[t.jsx(E,{title:`${v} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:f.current!=null?f:void 0,source:"DepositAccTransactionListPage"}),t.jsx(k,{children:t.jsx(Y,{children:({height:n,width:m})=>t.jsx(ee,{ref:j,height:n,width:m,outerRef:f,itemKey:s=>s,itemCount:c.length,itemSize:C,initialScrollOffset:0,children:S})})})]})},y=r.div``,$=r.div`
1
+ import{y as M,X as I,V as t,bE as E,b5 as Y,i1 as z,o,O as F,p as u,cC as _,dr as A,ds as L,dl as T,dt as B,x as R,ak as X,an as N,u as x}from"./index-DmJDLobC.js";import{a as w}from"./sentry-L3H0lnBS.js";import{n as r}from"./mui-Bgk_7_3h.js";import{bh as P}from"./zeni-epic-state-B9Z2lD6g.js";import{$ as V}from"./BoxItem-B06DK4G--Bupc4dyY.js";import{o as O}from"./commonDimensions-CGHIQ2To-ChTwXt2F.js";import{Y as G}from"./DepositAccTransactionItem-YuSXjbLh-C2vDDOod.js";import"./liveblocks-D1Gf9COF.js";import"./core-BBKQkJb7.js";import"./lottie-B-DVrXwa.js";import"./recharts-DQ94kkTy.js";import"./analytics-BSh5cBTM.js";import"./lexical-CC2d_kE2.js";import"./utils-WSIc2RtD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="d9ed1c46-3423-402c-ab98-9eb908ff0d97",e._sentryDebugIdIdentifier="sentry-dbid-d9ed1c46-3423-402c-ab98-9eb908ff0d97")}catch{}})();const l=F.getLocalizedStrings(),H={listItemMargin:new R(x[3],x[8])};function J(e){const i=A(e,a=>a.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=L(i,a=>a.length>0);return T(d,a=>({date:a[0].transactionDate,transactions:B(a,h=>h.transactionDate,"desc")}))}const K=z(J),be=({transactionListView:e,onBackClick:i,depositAccountId:d,isCheckingCommentingEnabled:a=!1})=>{const h=M(),p=I(),j=w.createRef(),f=w.useRef(null),c=K(e.transactions),v=e.depositAccountName,b=c.length===0,C=n=>b===!1?c[n].transactions.length*O.transactionItemHeightResponsive.value(p)+45:24,S=({index:n,style:m})=>{if(b===!1){const s=c[n];return t.jsx(y,{style:{...m},children:t.jsx($,{windowSize:p,children:t.jsxs(k,{children:[t.jsx(q,{children:P().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(W,{children:s.transactions.map((D,g)=>t.jsx(G,{data:D,boxType:V(g,s.transactions.length),depositAccountId:d,isCheckingCommentingEnabled:a},g))})]})})})}else return t.jsx(y,{style:{...m},children:t.jsx(Q,{children:t.jsx($,{windowSize:p,children:t.jsx(Z,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(U,{children:[t.jsx(E,{title:`${v} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:f.current!=null?f:void 0,source:"DepositAccTransactionListPage"}),t.jsx(k,{children:t.jsx(Y,{children:({height:n,width:m})=>t.jsx(ee,{ref:j,height:n,width:m,outerRef:f,itemKey:s=>s,itemCount:c.length,itemSize:C,initialScrollOffset:0,children:S})})})]})},y=r.div``,$=r.div`
2
2
  margin: ${e=>`${o.sp0} ${H.listItemMargin.valuePx(e.windowSize)}`};
3
3
  `,Q=r.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{X as F,aa as J,O as S,cQ as U,aG as G,V as n,cy as H,cz as Q,cA as X,ae as q,aT as K,x as b,fk as Y,o as Z,bb as ee,u as o}from"./index-DtIqdweZ.js";import{a as C}from"./sentry-Fca4mdIl.js";import{n as h}from"./mui-BVCBQYdL.js";import{bi as T}from"./zeni-epic-state-BZv12Eez.js";import{e as ne}from"./BankAccountSection-EZtscP2z-BgicWcYt.js";import{M as te}from"./MagicLinkTitleSection-ClAnBBt9-BMtrSFyH.js";import{W as ae,A as oe}from"./BankAccountWarningSection-DCfyIUlu-BMej2Zyu.js";import{T as ie}from"./MailingDetailsSection-9_XLl4bT-Bv_CjAr1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9575fbfc-2702-402e-a3e5-40b57b72b973",e._sentryDebugIdIdentifier="sentry-dbid-9575fbfc-2702-402e-a3e5-40b57b72b973")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},B="domesticWireDetailsPage",k="bankAccountSection",$="mailingAddressSection",D=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:f,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:w}=e,u=F(),c=J({mode:"onBlur",reValidateMode:"onChange",defaultValues:C.useMemo(()=>se(s,r),[s,r])}),[W,g]=C.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{g(!1),c.reset(),w?.()},onCancelClick:()=>{g(!1)}},O=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&R?.(d)};C.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&U(()=>O(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),N=!G(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[W===!0?n.jsx(H,{titleComponent:n.jsx(X,{children:a.discardTitle}),descriptionComponent:n.jsx(Q,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:f?n.jsx(te,{companyName:j??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:f,isDirty:N,onBackClick:w,setShowConfirmationPopup:g}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(q,{...c,children:n.jsxs("form",{id:D(B),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(K,{formId:D(B),primaryBtn:{label:f?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!f,cancelBtn:{label:E.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?g(!0):(c.reset(),w?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
1
+ import{X as F,aa as J,O as S,cQ as U,aG as G,V as n,cy as H,cz as Q,cA as X,ae as q,aT as K,x as b,fk as Y,o as Z,bb as ee,u as o}from"./index-DmJDLobC.js";import{a as C}from"./sentry-L3H0lnBS.js";import{n as h}from"./mui-Bgk_7_3h.js";import{bi as T}from"./zeni-epic-state-B9Z2lD6g.js";import{e as ne}from"./BankAccountSection-EZtscP2z-BUefIH5V.js";import{M as te}from"./MagicLinkTitleSection-ClAnBBt9-BG2qP1eV.js";import{W as ae,A as oe}from"./BankAccountWarningSection-DCfyIUlu-CKci9TET.js";import{T as ie}from"./MailingDetailsSection-9_XLl4bT-aum9pUe4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9575fbfc-2702-402e-a3e5-40b57b72b973",e._sentryDebugIdIdentifier="sentry-dbid-9575fbfc-2702-402e-a3e5-40b57b72b973")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},B="domesticWireDetailsPage",k="bankAccountSection",$="mailingAddressSection",D=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:f,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:w}=e,u=F(),c=J({mode:"onBlur",reValidateMode:"onChange",defaultValues:C.useMemo(()=>se(s,r),[s,r])}),[W,g]=C.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{g(!1),c.reset(),w?.()},onCancelClick:()=>{g(!1)}},O=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&R?.(d)};C.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&U(()=>O(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),N=!G(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[W===!0?n.jsx(H,{titleComponent:n.jsx(X,{children:a.discardTitle}),descriptionComponent:n.jsx(Q,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:f?n.jsx(te,{companyName:j??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:f,isDirty:N,onBackClick:w,setShowConfirmationPopup:g}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(q,{...c,children:n.jsxs("form",{id:D(B),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(K,{formId:D(B),primaryBtn:{label:f?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!f,cancelBtn:{label:E.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?g(!0):(c.reset(),w?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!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{V as t,cd as pt,o as s,X as ge,ce as mt,ap as qe,p as xe,x as Z,c as ht,O as v,cf as ft,bT as Ze,u as V,bb as Je,an as R,b$ as Se,w as re,ao as ye,b as ne,y as Xe,c1 as ut,cg as $e,ch as we,L as Ke,ci as et,bO as bt,bc as gt,aq as je,bX as X,cj as xt,ck as yt,bM as $t,c0 as wt,as as jt,bY as Ft,c9 as Ot,av as _t}from"./index-DtIqdweZ.js";import{a as m,P as Fe}from"./sentry-Fca4mdIl.js";import{n,k as tt}from"./mui-BVCBQYdL.js";import{G2 as ue,G3 as S,G4 as K,bI as M,G5 as ee,G6 as Oe,FT as U,bh as Dt,G7 as C,G8 as vt,G9 as Yt,Ga as kt,Gb as Ct,Gc as Pt}from"./zeni-epic-state-BZv12Eez.js";import{m as St}from"./analyticsHelper-D9xdJK4b-BJA83zZE.js";import{x as Mt,b as At}from"./ReportTableViewSelector-Ig41fOPb-wIBJqt8s.js";import{t as Tt}from"./page-detail-CWX5S47F-D1vlmLcE.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";import"./CollapsableReportTable-h0vIfI8o-C_nIboyL.js";import"./AccountRow-BrW_eEjE-BkBbs4aB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="7b649f85-83f2-4cad-a8d1-71137c17058f",e._sentryDebugIdIdentifier="sentry-dbid-7b649f85-83f2-4cad-a8d1-71137c17058f")}catch{}})();const It=["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 le(e,o,r,a){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}=S(r.startDate,e,"quarter"),{endOfTimeframeFY:c}=S(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(c.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=S(r.startDate,e,"year"),{endOfTimeframeFY:c}=S(r.endDate,e,"year");i=Math.ceil(Math.ceil(c.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function ie(e,o,r,a=1){if(a>1){const i=K(r,e,a-1,o),{startOfTimeframeFY:l}=S(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 Me{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,c=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=c}get value(){return ie(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=ue(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=S(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:a}=S(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=S(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=le(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=S(ue(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=S(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=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const ce=["1","2","3","4"],pe=Dt().localeData().monthsShort(),I={pdf:12,excel:100,csv:100},G=(e,o,r)=>{const a=v.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:c}=r;let p=l;for(;p.isSameOrBefore(c,"year");)i.push(p.format(a)),p=ue(p,e,1,"year")}else{const{startOfTimeframeFY:l}=S(r.startDate,e,"year"),{endOfTimeframeFY:c}=S(r.endDate,e,"year");let{fyYear:p}=C(l,e);const{fyYear:u}=C(c,e);for(;p<=u;)i.push(`${p}`),p++}return i},Lt=n.div`
1
+ import{V as t,cd as pt,o as s,X as ge,ce as mt,ap as qe,p as xe,x as Z,c as ht,O as v,cf as ft,bT as Ze,u as V,bb as Je,an as R,b$ as Se,w as re,ao as ye,b as ne,y as Xe,c1 as ut,cg as $e,ch as we,L as Ke,ci as et,bO as bt,bc as gt,aq as je,bX as X,cj as xt,ck as yt,bM as $t,c0 as wt,as as jt,bY as Ft,c9 as Ot,av as _t}from"./index-DmJDLobC.js";import{a as m,P as Fe}from"./sentry-L3H0lnBS.js";import{n,k as tt}from"./mui-Bgk_7_3h.js";import{G2 as ue,G3 as S,G4 as K,bI as M,G5 as ee,G6 as Oe,FT as U,bh as Dt,G7 as C,G8 as vt,G9 as Yt,Ga as kt,Gb as Ct,Gc as Pt}from"./zeni-epic-state-B9Z2lD6g.js";import{m as St}from"./analyticsHelper-D9xdJK4b-DdFbzSx8.js";import{x as Mt,b as At}from"./ReportTableViewSelector-Ig41fOPb-CLRRGAhe.js";import{t as Tt}from"./page-detail-CWX5S47F-DpTi0lr5.js";import"./liveblocks-D1Gf9COF.js";import"./core-BBKQkJb7.js";import"./lottie-B-DVrXwa.js";import"./recharts-DQ94kkTy.js";import"./analytics-BSh5cBTM.js";import"./lexical-CC2d_kE2.js";import"./utils-WSIc2RtD.js";import"./CollapsableReportTable-h0vIfI8o-D3Pt-4FZ.js";import"./AccountRow-BrW_eEjE-DlgTvuFF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="7b649f85-83f2-4cad-a8d1-71137c17058f",e._sentryDebugIdIdentifier="sentry-dbid-7b649f85-83f2-4cad-a8d1-71137c17058f")}catch{}})();const It=["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 le(e,o,r,a){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}=S(r.startDate,e,"quarter"),{endOfTimeframeFY:c}=S(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(c.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=S(r.startDate,e,"year"),{endOfTimeframeFY:c}=S(r.endDate,e,"year");i=Math.ceil(Math.ceil(c.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function ie(e,o,r,a=1){if(a>1){const i=K(r,e,a-1,o),{startOfTimeframeFY:l}=S(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 Me{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,c=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=c}get value(){return ie(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=ue(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=S(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:a}=S(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=S(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=le(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=S(ue(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=S(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=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const ce=["1","2","3","4"],pe=Dt().localeData().monthsShort(),I={pdf:12,excel:100,csv:100},G=(e,o,r)=>{const a=v.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:c}=r;let p=l;for(;p.isSameOrBefore(c,"year");)i.push(p.format(a)),p=ue(p,e,1,"year")}else{const{startOfTimeframeFY:l}=S(r.startDate,e,"year"),{endOfTimeframeFY:c}=S(r.endDate,e,"year");let{fyYear:p}=C(l,e);const{fyYear:u}=C(c,e);for(;p<=u;)i.push(`${p}`),p++}return i},Lt=n.div`
2
2
  padding: ${s.sp3};
3
3
  border: 1px solid ${e=>e.borderColor.default};
4
4
  border-radius: ${s.sp1};
@@ -1,4 +1,4 @@
1
- import{X as a,V as i,c1 as y,o as r,x as s,O as h,cc as P,N as c,M as g,c as b,u as t,aQ as k,ki as L,kj as D,kk as C}from"./index-DtIqdweZ.js";import{n as o}from"./mui-BVCBQYdL.js";import"./sentry-Fca4mdIl.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./zeni-epic-state-BZv12Eez.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e6d1fd67-4b92-4759-87b6-9ddd82055a9f",e._sentryDebugIdIdentifier="sentry-dbid-e6d1fd67-4b92-4759-87b6-9ddd82055a9f")}catch{}})();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,_=({rewardsPlan:e})=>{const n=[I(),R(),M({rewardsPlan:e})],d=a();return i.jsx(A,{children:n.map((j,f)=>i.jsxs(E,{children:[i.jsx(O,{children:j}),f<n.length-1?i.jsx(H,{windowSize:d}):null]},`step_${f}`))})},I=()=>{const e=a(),n=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(N,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(X,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},M=({rewardsPlan:e})=>{const n=a(),d=x.item3;return i.jsxs(p,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(B,{windowSize:n})}),i.jsx(z,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(S,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))})})]})},p=o.div`
1
+ import{X as a,V as i,c1 as y,o as r,x as s,O as h,cc as P,N as c,M as g,c as b,u as t,aQ as k,ki as L,kj as D,kk as C}from"./index-DmJDLobC.js";import{n as o}from"./mui-Bgk_7_3h.js";import"./sentry-L3H0lnBS.js";import"./liveblocks-D1Gf9COF.js";import"./core-BBKQkJb7.js";import"./zeni-epic-state-B9Z2lD6g.js";import"./lottie-B-DVrXwa.js";import"./recharts-DQ94kkTy.js";import"./analytics-BSh5cBTM.js";import"./lexical-CC2d_kE2.js";import"./utils-WSIc2RtD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e6d1fd67-4b92-4759-87b6-9ddd82055a9f",e._sentryDebugIdIdentifier="sentry-dbid-e6d1fd67-4b92-4759-87b6-9ddd82055a9f")}catch{}})();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,_=({rewardsPlan:e})=>{const n=[I(),R(),M({rewardsPlan:e})],d=a();return i.jsx(A,{children:n.map((j,f)=>i.jsxs(E,{children:[i.jsx(O,{children:j}),f<n.length-1?i.jsx(H,{windowSize:d}):null]},`step_${f}`))})},I=()=>{const e=a(),n=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(N,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(X,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},M=({rewardsPlan:e})=>{const n=a(),d=x.item3;return i.jsxs(p,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(B,{windowSize:n})}),i.jsx(z,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(S,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))})})]})},p=o.div`
2
2
  border: 1px solid ${e=>e.theme.colors.grey3};
3
3
  border-radius: ${r.sp2};
4
4
  box-shadow: ${e=>`${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.dropShadowNormal}`};
@@ -1,4 +1,4 @@
1
- import{X as ie,gf as ae,y as de,aa as pe,aS as ce,V as t,cy as ue,ar as me,cz as ge,cA as fe,h6 as he,cE as ye,o as n,c1 as be,ac as L,ae as ve,aT as xe,x as _,O as $e,cK as we,gi as Re,gj as Ce,gk as Ie,bb as je,p as X,d9 as ke,u}from"./index-DtIqdweZ.js";import{a as w}from"./sentry-Fca4mdIl.js";import{n as l}from"./mui-BVCBQYdL.js";import{GD as Oe,bg as Pe}from"./zeni-epic-state-BZv12Eez.js";import{f as _e}from"./AllUserItems-Dq7NcP-o-Bb4D8Iq7.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";import"./LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-CEQc_jEa.js";import"./RoleWithToolTip-x2rnvWn9-C8vnNy04.js";import"./LabeledZeniRolesDropDownField-jIrTovp--Bg5do-m5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="bef5d367-9a7a-47b6-8b65-2e7d259f2e61",e._sentryDebugIdIdentifier="sentry-dbid-bef5d367-9a7a-47b6-8b65-2e7d259f2e61")}catch{}})();const I={containerPaddingTop:new _(u[3],u[3]),containerPaddingLeft:new _(u[3],u[6],u[6]),containerPaddingRight:new _(u[3],u[6],u[8]),buttonWidth:new _(85,85)},J="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:j,mode:p,isZeniTenant:T,onCloseClick:k,onResetClick:O,onSaveClick:m,onDeleteUser:W,onPeopleLocalDataUpdated:Q,analytics:U,isReimbursementDisabled:B,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:A,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:V})=>{const C=ie(),[Y,E]=w.useState(!1),[G,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),D=w.useMemo(()=>ae(B,N,Z,b,v,V,A),[B,N,Z,b,v,V,A]),q=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:M(e.people,o,y,p,D,b,v),values:M(e.people,o,y,p,D,b,v)}),se=i.handleSubmit(()=>{F()&&m()},()=>{F(),console.warn("Edit Profile form error")}),F=()=>{const g=i.getValues();let r=!0;return g.userItems.forEach((f,x)=>{const{role:S,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const s=S.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(g,r)=>{const f=[],{userItems:x}=r,S=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(S!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(z=>Oe(z.selectedOption?.value)).filter(z=>z!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=Pe(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),Q(f)};w.useEffect(()=>{const g=i.watch((r,{name:f})=>{f!=null&&r!=null&&ne(f,r)});return()=>{g.unsubscribe()}});const oe=()=>{E(!0)},re={onOkClick:()=>{const g=e.person;U?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),W?.(e.person)},onCancelClick:()=>{E(!1)}},K=ce(e.person?.update),P=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{P==null&&K==="removeUsers"&&(E(!1),O?.())},[P,K]),t.jsxs(t.Fragment,{children:[Y===!0?t.jsx(ue,{titleComponent:t.jsx(fe,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(ge,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:P==="removeUsers",isDisabled:P==="removeUsers",style:{background:q.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Be,{}),t.jsx(Le,{children:t.jsx(Ue,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:q.colors.grey4,style:{zIndex:4},onCloseClick:k,isTitleAlignLeft:C==="small"}),t.jsxs(Te,{"data-testid":L("edit-people-page-container"),windowSize:C,ref:te,children:[t.jsxs(ze,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Ee,{children:[t.jsx(De,{children:e.person?.user?.firstName?t.jsxs(Se,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ze,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(Ne,{windowsize:C})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${J}_form`,onSubmit:se,children:t.jsx(_e,{control:i.control,sectionId:R,deleteConfirmationIndex:G,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:T,classList:y,managersList:o,controllersList:j,customerRoleOptions:D,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:U})})})]}),t.jsx(xe,{formId:`${J}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:k},separatorStyle:{marginRight:n.sp4}})]})},M=(e,o,y,j,p,T,k)=>{const O=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:j==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:j!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(T,k)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:O,selectedOption:O.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,Te=l.div`
1
+ import{X as ie,gf as ae,y as de,aa as pe,aS as ce,V as t,cy as ue,ar as me,cz as ge,cA as fe,h6 as he,cE as ye,o as n,c1 as be,ac as L,ae as ve,aT as xe,x as _,O as $e,cK as we,gi as Re,gj as Ce,gk as Ie,bb as je,p as X,d9 as ke,u}from"./index-DmJDLobC.js";import{a as w}from"./sentry-L3H0lnBS.js";import{n as l}from"./mui-Bgk_7_3h.js";import{GD as Oe,bg as Pe}from"./zeni-epic-state-B9Z2lD6g.js";import{f as _e}from"./AllUserItems-Dq7NcP-o-BNPnQC3d.js";import"./liveblocks-D1Gf9COF.js";import"./core-BBKQkJb7.js";import"./lottie-B-DVrXwa.js";import"./recharts-DQ94kkTy.js";import"./analytics-BSh5cBTM.js";import"./lexical-CC2d_kE2.js";import"./utils-WSIc2RtD.js";import"./LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-BdZT_J4k.js";import"./RoleWithToolTip-x2rnvWn9-Decoe-vI.js";import"./LabeledZeniRolesDropDownField-jIrTovp--BhxE0P_I.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="bef5d367-9a7a-47b6-8b65-2e7d259f2e61",e._sentryDebugIdIdentifier="sentry-dbid-bef5d367-9a7a-47b6-8b65-2e7d259f2e61")}catch{}})();const I={containerPaddingTop:new _(u[3],u[3]),containerPaddingLeft:new _(u[3],u[6],u[6]),containerPaddingRight:new _(u[3],u[6],u[8]),buttonWidth:new _(85,85)},J="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:j,mode:p,isZeniTenant:T,onCloseClick:k,onResetClick:O,onSaveClick:m,onDeleteUser:W,onPeopleLocalDataUpdated:Q,analytics:U,isReimbursementDisabled:B,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:A,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:V})=>{const C=ie(),[Y,E]=w.useState(!1),[G,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),D=w.useMemo(()=>ae(B,N,Z,b,v,V,A),[B,N,Z,b,v,V,A]),q=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:M(e.people,o,y,p,D,b,v),values:M(e.people,o,y,p,D,b,v)}),se=i.handleSubmit(()=>{F()&&m()},()=>{F(),console.warn("Edit Profile form error")}),F=()=>{const g=i.getValues();let r=!0;return g.userItems.forEach((f,x)=>{const{role:S,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const s=S.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(g,r)=>{const f=[],{userItems:x}=r,S=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(S!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(z=>Oe(z.selectedOption?.value)).filter(z=>z!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=Pe(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),Q(f)};w.useEffect(()=>{const g=i.watch((r,{name:f})=>{f!=null&&r!=null&&ne(f,r)});return()=>{g.unsubscribe()}});const oe=()=>{E(!0)},re={onOkClick:()=>{const g=e.person;U?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),W?.(e.person)},onCancelClick:()=>{E(!1)}},K=ce(e.person?.update),P=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{P==null&&K==="removeUsers"&&(E(!1),O?.())},[P,K]),t.jsxs(t.Fragment,{children:[Y===!0?t.jsx(ue,{titleComponent:t.jsx(fe,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(ge,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:P==="removeUsers",isDisabled:P==="removeUsers",style:{background:q.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Be,{}),t.jsx(Le,{children:t.jsx(Ue,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:q.colors.grey4,style:{zIndex:4},onCloseClick:k,isTitleAlignLeft:C==="small"}),t.jsxs(Te,{"data-testid":L("edit-people-page-container"),windowSize:C,ref:te,children:[t.jsxs(ze,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Ee,{children:[t.jsx(De,{children:e.person?.user?.firstName?t.jsxs(Se,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ze,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(Ne,{windowsize:C})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${J}_form`,onSubmit:se,children:t.jsx(_e,{control:i.control,sectionId:R,deleteConfirmationIndex:G,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:T,classList:y,managersList:o,controllersList:j,customerRoleOptions:D,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:U})})})]}),t.jsx(xe,{formId:`${J}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:k},separatorStyle:{marginRight:n.sp4}})]})},M=(e,o,y,j,p,T,k)=>{const O=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:j==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:j!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(T,k)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:O,selectedOption:O.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,Te=l.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{ay as yt,V as t,e5 as po,aS as un,y as $t,aa as di,aA as On,aG as ui,X as Ae,gX as ho,bQ as go,e8 as yo,e9 as bo,ee as fo,ae as mi,cy as pn,cz as pi,cA as hi,ac as q,o as n,x as s,bE as Pn,bq as xo,dH as wo,gF as So,gO as gi,gL as Ln,aT as yi,aq as bi,bU as vo,gY as He,e$ as Ye,ft as hn,gZ as Mt,O as Se,L as Ct,g_ as $o,p as L,c as fi,as as gn,u as l,bz as Co,bV as ko,cR as Io,f7 as yn,eL as Ft,dQ as ge,cV as bn,dW as ye,cU as rt,eI as Do,fH as xi,w as At,cY as wi,cX as ot,eT as Oe,ak as fn,g$ as To,fY as jo,cQ as Oo,aX as Rn,fS as Po,by as Lo,h0 as An,bc as Si,e as Ro,eH as Ao,b9 as Et,gG as zo,c3 as vi,N as xn,M as $i,da as Ci,cq as Nt,fk as Bo,bb as Mo,de as Fo,fM as Eo,an as wn,b as zn,c1 as ki,b3 as Bn,d9 as No,ao as Wo,d0 as Ii,aQ as Uo,h1 as Di,h2 as mn,h3 as Ti,gA as Mn,h4 as zt,cZ as _o,gE as Vo,bM as Ho,d8 as qo}from"./index-DtIqdweZ.js";import{a as v,P as Tt}from"./sentry-Fca4mdIl.js";import{n as i}from"./mui-BVCBQYdL.js";import{GK as Ko,bI as at,bY as ji,bo as Oi,bm as Fn,GL as En,bh as Sn}from"./zeni-epic-state-BZv12Eez.js";import Pi from"./InvoiceUploadSection-Dg1-uunA-DNwM3go9.js";import{r as Go,f as Bt,d as vt,p as vn,u as Nn,h as we}from"./types-DyvtCprH-NFPm5TaG.js";import{D as Yo}from"./LabeledCreatableSingleSelectField-BV3h9bh7-1HTMQlga.js";import{S as Xo}from"./CurrencySelectField-B8EoF2aF-bqlkSsm1.js";import{e as Qo}from"./BankAccountSection-EZtscP2z-BgicWcYt.js";import{W as Jo,A as Zo}from"./BankAccountWarningSection-DCfyIUlu-BMej2Zyu.js";import{o as ea}from"./radio-default-CiSgisfh-BGMZB5pj.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";import"./AttachmentView-CiYfninr-CUmSw95Q.js";import"./uploadReceipts-CqDftTRt-DjBPShf8.js";import"./upload-reimbursement-receipt-O2N8vcO7-BVwF7gzx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="ec06c3e0-29d2-4fa5-97b7-e1ff16b1038c",e._sentryDebugIdIdentifier="sentry-dbid-ec06c3e0-29d2-4fa5-97b7-e1ff16b1038c")}catch{}})();const Te=(e,o)=>`${e}.${o}`,Wn={largeLabelWidth:new s(120,120,160),paddingBottom:new s(l[3],l[2])},{spendManagement:{reimbursement:{reimbursementDetail:fe}},dateFormat:ta,common:na}=Se.getLocalizedStrings(),ia=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:D,isDisabled:m,isAddReimbursementDisabled:I,companyMileageConfigInfo:T,customerSearchAutoComplete:h,reimbursementId:a,classHierarchyList:$})=>{const d=Ae(),y=yt(),w=Ft(),O=`dashboard_${y.currentTenant?.companyId}`,R=$t(),{formState:{errors:A},getValues:S,trigger:P}=rt(),f=na.strings.empty,B=S(Te(p,"distanceInMiles")),te=Wn.largeLabelWidth.value(d),ne=S(Te(p,"class")),re=r.find(j=>j.classId===ne?.selectedOption),K=Te(p,"class"),X=Oe(A,K);v.useEffect(()=>{ne?.selectedOption!=null&&(re?.isDeleted===!0||X)&&P(K)},[ne?.selectedOption,re?.isDeleted,r,K,P]);const W={application:"dashboard",companyId:y.currentTenant?.companyId,tab:"reimbursement",entityId:a},G=j=>r.filter(ie=>ie.classId===j)[0]?.accountingClassNumber,V=r.find(j=>j.classId===o.class),ue={valueContainer:j=>({...j,padding:`2px ${n.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})},Pe={valueContainer:j=>({...j,padding:`2px ${n.sp3} !important`,overflow:"unset"})};return t.jsxs(t.Fragment,{children:[t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.transactionDate`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("transactionDate",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Ii,{isDisabled:m,label:{label:fe.transactionDate,width:te},style:{paddingBottom:Wn.paddingBottom.valuePx(d),width:"auto"},dateField:{name:Te(p,"transactionDate"),placeholder:fe.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:ta.visual.defaultInput,autoComplete:"off",maxDate:Sn(),registerOptions:{required:!0,validate:j=>!!j}}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Mn,{isDisabled:I?"disabled":void 0,style:{width:"auto"},label:{label:fe.distanceInMiles,width:te},formattedTextField:{type:"number",name:Te(p,"distanceInMiles"),placeholder:fe.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:j=>j!=null?j>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.amount`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("amount",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Mn,{isDisabled:"disabled",label:{label:fe.amount,width:te},formattedTextField:{type:"number",name:Te(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:ot(fe.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:j=>j!=null?j>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:B!=null&&T?.mileageUnitAmount!=null?`${c.currencySymbol}${T?.mileageUnitAmount} per mile x ${B}`:void 0})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.memo`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("memo",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(bn,{isDisabled:m,label:{label:fe.memo,width:te},style:{width:"auto"},text:{type:"text",name:Te(p,"memo"),placeholder:ot(fe.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:Di}}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.class`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("class",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(mn,{isLoading:!1,label:{label:fe.department,width:te},additionalLabelInfo:re?.isDeleted===!0&&Oe(A,Te(p,"class"))?fe.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Te(p,"class"),placeholder:ot(fe.department),valueToId:j=>G(j),defaultValue:{selectedOption:V?.classId,allOptions:Ye($,[])},style:{width:"100%"},customStyleConfig:ue,registerOptions:{required:!0,validate:j=>j?.selectedOption==null?!1:r.find(ie=>ie.classId===j?.selectedOption)?.isDeleted===!0?fe.deletedClassError:!0}},style:{borderBottom:`1px solid ${R.colors.grey3}`},fullWidthSelect:!0},Te(p,"class"))}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.customer`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("customer",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${n.sp2} ${n.sp2}`},children:t.jsx(Ti,{label:{label:fe.customer,width:te},isDisabled:m,autoCompleteSingleSelectField:{name:Te(p,"customer"),placeholder:fe.customerPlaceholder,isDisabled:m,valueToId:j=>j,defaultValue:{selectedOption:o.customer?.selectedOption,defaultOptions:o.customer?.defaultOptions??[]},style:{width:"100%"},customStyleConfig:Pe,loadOptions:h?.loadOptions},style:{justifyContent:"space-between"},fullWidthSelect:!0},Te(p,"customer"))})]})},wt=i.div`
1
+ import{ay as yt,V as t,e5 as po,aS as un,y as $t,aa as di,aA as On,aG as ui,X as Ae,gX as ho,bQ as go,e8 as yo,e9 as bo,ee as fo,ae as mi,cy as pn,cz as pi,cA as hi,ac as q,o as n,x as s,bE as Pn,bq as xo,dH as wo,gF as So,gO as gi,gL as Ln,aT as yi,aq as bi,bU as vo,gY as He,e$ as Ye,ft as hn,gZ as Mt,O as Se,L as Ct,g_ as $o,p as L,c as fi,as as gn,u as l,bz as Co,bV as ko,cR as Io,f7 as yn,eL as Ft,dQ as ge,cV as bn,dW as ye,cU as rt,eI as Do,fH as xi,w as At,cY as wi,cX as ot,eT as Oe,ak as fn,g$ as To,fY as jo,cQ as Oo,aX as Rn,fS as Po,by as Lo,h0 as An,bc as Si,e as Ro,eH as Ao,b9 as Et,gG as zo,c3 as vi,N as xn,M as $i,da as Ci,cq as Nt,fk as Bo,bb as Mo,de as Fo,fM as Eo,an as wn,b as zn,c1 as ki,b3 as Bn,d9 as No,ao as Wo,d0 as Ii,aQ as Uo,h1 as Di,h2 as mn,h3 as Ti,gA as Mn,h4 as zt,cZ as _o,gE as Vo,bM as Ho,d8 as qo}from"./index-DmJDLobC.js";import{a as v,P as Tt}from"./sentry-L3H0lnBS.js";import{n as i}from"./mui-Bgk_7_3h.js";import{GK as Ko,bI as at,bY as ji,bo as Oi,bm as Fn,GL as En,bh as Sn}from"./zeni-epic-state-B9Z2lD6g.js";import Pi from"./InvoiceUploadSection-Dg1-uunA-CW2z21hh.js";import{r as Go,f as Bt,d as vt,p as vn,u as Nn,h as we}from"./types-DyvtCprH-NFPm5TaG.js";import{D as Yo}from"./LabeledCreatableSingleSelectField-BV3h9bh7-D2WoBuGQ.js";import{S as Xo}from"./CurrencySelectField-B8EoF2aF-GOW4qR7m.js";import{e as Qo}from"./BankAccountSection-EZtscP2z-BUefIH5V.js";import{W as Jo,A as Zo}from"./BankAccountWarningSection-DCfyIUlu-CKci9TET.js";import{o as ea}from"./radio-default-CiSgisfh-Dt6ezU-k.js";import"./liveblocks-D1Gf9COF.js";import"./core-BBKQkJb7.js";import"./lottie-B-DVrXwa.js";import"./recharts-DQ94kkTy.js";import"./analytics-BSh5cBTM.js";import"./lexical-CC2d_kE2.js";import"./utils-WSIc2RtD.js";import"./AttachmentView-CiYfninr-76W0iAd5.js";import"./uploadReceipts-CqDftTRt-DXWV7iem.js";import"./upload-reimbursement-receipt-O2N8vcO7-N655yXJS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="ec06c3e0-29d2-4fa5-97b7-e1ff16b1038c",e._sentryDebugIdIdentifier="sentry-dbid-ec06c3e0-29d2-4fa5-97b7-e1ff16b1038c")}catch{}})();const Te=(e,o)=>`${e}.${o}`,Wn={largeLabelWidth:new s(120,120,160),paddingBottom:new s(l[3],l[2])},{spendManagement:{reimbursement:{reimbursementDetail:fe}},dateFormat:ta,common:na}=Se.getLocalizedStrings(),ia=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:D,isDisabled:m,isAddReimbursementDisabled:I,companyMileageConfigInfo:T,customerSearchAutoComplete:h,reimbursementId:a,classHierarchyList:$})=>{const d=Ae(),y=yt(),w=Ft(),O=`dashboard_${y.currentTenant?.companyId}`,R=$t(),{formState:{errors:A},getValues:S,trigger:P}=rt(),f=na.strings.empty,B=S(Te(p,"distanceInMiles")),te=Wn.largeLabelWidth.value(d),ne=S(Te(p,"class")),re=r.find(j=>j.classId===ne?.selectedOption),K=Te(p,"class"),X=Oe(A,K);v.useEffect(()=>{ne?.selectedOption!=null&&(re?.isDeleted===!0||X)&&P(K)},[ne?.selectedOption,re?.isDeleted,r,K,P]);const W={application:"dashboard",companyId:y.currentTenant?.companyId,tab:"reimbursement",entityId:a},G=j=>r.filter(ie=>ie.classId===j)[0]?.accountingClassNumber,V=r.find(j=>j.classId===o.class),ue={valueContainer:j=>({...j,padding:`2px ${n.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})},Pe={valueContainer:j=>({...j,padding:`2px ${n.sp3} !important`,overflow:"unset"})};return t.jsxs(t.Fragment,{children:[t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.transactionDate`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("transactionDate",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Ii,{isDisabled:m,label:{label:fe.transactionDate,width:te},style:{paddingBottom:Wn.paddingBottom.valuePx(d),width:"auto"},dateField:{name:Te(p,"transactionDate"),placeholder:fe.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:ta.visual.defaultInput,autoComplete:"off",maxDate:Sn(),registerOptions:{required:!0,validate:j=>!!j}}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Mn,{isDisabled:I?"disabled":void 0,style:{width:"auto"},label:{label:fe.distanceInMiles,width:te},formattedTextField:{type:"number",name:Te(p,"distanceInMiles"),placeholder:fe.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:j=>j!=null?j>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.amount`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("amount",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Mn,{isDisabled:"disabled",label:{label:fe.amount,width:te},formattedTextField:{type:"number",name:Te(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:ot(fe.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:j=>j!=null?j>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:B!=null&&T?.mileageUnitAmount!=null?`${c.currencySymbol}${T?.mileageUnitAmount} per mile x ${B}`:void 0})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.memo`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("memo",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(bn,{isDisabled:m,label:{label:fe.memo,width:te},style:{width:"auto"},text:{type:"text",name:Te(p,"memo"),placeholder:ot(fe.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:Di}}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.class`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("class",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(mn,{isLoading:!1,label:{label:fe.department,width:te},additionalLabelInfo:re?.isDeleted===!0&&Oe(A,Te(p,"class"))?fe.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Te(p,"class"),placeholder:ot(fe.department),valueToId:j=>G(j),defaultValue:{selectedOption:V?.classId,allOptions:Ye($,[])},style:{width:"100%"},customStyleConfig:ue,registerOptions:{required:!0,validate:j=>j?.selectedOption==null?!1:r.find(ie=>ie.classId===j?.selectedOption)?.isDeleted===!0?fe.deletedClassError:!0}},style:{borderBottom:`1px solid ${R.colors.grey3}`},fullWidthSelect:!0},Te(p,"class"))}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.customer`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("customer",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${n.sp2} ${n.sp2}`},children:t.jsx(Ti,{label:{label:fe.customer,width:te},isDisabled:m,autoCompleteSingleSelectField:{name:Te(p,"customer"),placeholder:fe.customerPlaceholder,isDisabled:m,valueToId:j=>j,defaultValue:{selectedOption:o.customer?.selectedOption,defaultOptions:o.customer?.defaultOptions??[]},style:{width:"100%"},customStyleConfig:Pe,loadOptions:h?.loadOptions},style:{justifyContent:"space-between"},fullWidthSelect:!0},Te(p,"customer"))})]})},wt=i.div`
2
2
  display: flex;
3
3
  flex: 1;
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{y as x,O as w,aX as v,V as o,bD as D,az as I,o as i,I as l}from"./index-DtIqdweZ.js";import{n as a}from"./mui-BVCBQYdL.js";import{R as k}from"./TrendWithTransactions-It4KDov3-38S285oR.js";import"./sentry-Fca4mdIl.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./zeni-epic-state-BZv12Eez.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";import"./TrendChart-fFlHCvNx-D1INkMf3.js";import"./chartTypes-Dq3hUz_T-CqrGtvb6.js";import"./toCOABalancesWithID-P7keEtAg-DSr-Ji44.js";import"./toChartData-BUf5HHim-CcuAup9f.js";import"./NoDataChart-9-bhq204-BRTzKooZ.js";import"./InsightsSection-ByFf2oGn-BpaFGZob.js";import"./NavigationDots-DCpslVnm-DJbgqxZk.js";import"./TransactionList-f6yB-byH-ezH96LKS.js";import"./ConstrainedInnerElement-hv51KpGg-CmdPlE4F.js";import"./BoxItem-B06DK4G--gd85wEki.js";import"./commonDimensions-CGHIQ2To-BRyzQY__.js";import"./panelSelectedMixin-Cddsb26L-CSqoRxwG.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="e9849575-a475-43d4-8a7d-3c8c781f537c",t._sentryDebugIdIdentifier="sentry-dbid-e9849575-a475-43d4-8a7d-3c8c781f537c")}catch{}})();const P=a.div`
1
+ import{y as x,O as w,aX as v,V as o,bD as D,az as I,o as i,I as l}from"./index-DmJDLobC.js";import{n as a}from"./mui-Bgk_7_3h.js";import{R as k}from"./TrendWithTransactions-It4KDov3-uJUU6y8f.js";import"./sentry-L3H0lnBS.js";import"./liveblocks-D1Gf9COF.js";import"./core-BBKQkJb7.js";import"./zeni-epic-state-B9Z2lD6g.js";import"./lottie-B-DVrXwa.js";import"./recharts-DQ94kkTy.js";import"./analytics-BSh5cBTM.js";import"./lexical-CC2d_kE2.js";import"./utils-WSIc2RtD.js";import"./TrendChart-fFlHCvNx--8jxSfa_.js";import"./chartTypes-Dq3hUz_T-CZIhQYGg.js";import"./toCOABalancesWithID-P7keEtAg-CKsrAJNb.js";import"./toChartData-BUf5HHim-DU5WiVJh.js";import"./NoDataChart-9-bhq204-Mk2SpDph.js";import"./InsightsSection-ByFf2oGn-v8_DJRM0.js";import"./NavigationDots-DCpslVnm-DccClgwI.js";import"./TransactionList-f6yB-byH-BeXigMDL.js";import"./ConstrainedInnerElement-hv51KpGg-CXln6N2t.js";import"./BoxItem-B06DK4G--Bupc4dyY.js";import"./commonDimensions-CGHIQ2To-ChTwXt2F.js";import"./panelSelectedMixin-Cddsb26L-BeWHMcNi.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="e9849575-a475-43d4-8a7d-3c8c781f537c",t._sentryDebugIdIdentifier="sentry-dbid-e9849575-a475-43d4-8a7d-3c8c781f537c")}catch{}})();const P=a.div`
2
2
  display: flex;
3
3
  margin: ${i.sp0} ${i.sp0} ${i.sp0} ${i.sp0};
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{X as C,x as d,V as i,b5 as E,cC as R,O as k,dG as I,dc as V,o as s,ab as S,aQ as z,e6 as D,u as a,d as B,ao as F,an as Y,bb as G,ak as K,cI as U,p as M,cL as X}from"./index-DtIqdweZ.js";import{a as m}from"./sentry-Fca4mdIl.js";import{n}from"./mui-BVCBQYdL.js";import{l as Q}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="a4884fb7-4509-41f1-937f-128cc7de89f0",e._sentryDebugIdIdentifier="sentry-dbid-a4884fb7-4509-41f1-937f-128cc7de89f0")}catch{}})();const f=k.getLocalizedStrings().reports.aging.agingDetail.header,g=[{key:"date",value:f.date,sortOrder:"ascending",width:new d(212,212),compressedWidth:new d(300,300)},{key:"invoiceNumber",value:f.invoiceNumber,sortOrder:"ascending",width:new d(188,188)},{key:"dueDate",value:f.dueDate,sortOrder:"ascending",width:new d(188,188)},{key:"daysPastDue",value:f.daysPastDue,sortOrder:"ascending",width:new d(188,188)},{key:"amount",value:f.amount,sortOrder:"ascending",width:new d(188,188),compressedWidth:new d(100,100)},{key:"balance",value:f.balance,sortOrder:"ascending",width:new d(120,120)}],O={headerHeight:new d(45,58)},q=n.div`
1
+ import{X as C,x as d,V as i,b5 as E,cC as R,O as k,dG as I,dc as V,o as s,ab as S,aQ as z,e6 as D,u as a,d as B,ao as F,an as Y,bb as G,ak as K,cI as U,p as M,cL as X}from"./index-DmJDLobC.js";import{a as m}from"./sentry-L3H0lnBS.js";import{n}from"./mui-Bgk_7_3h.js";import{l as Q}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="a4884fb7-4509-41f1-937f-128cc7de89f0",e._sentryDebugIdIdentifier="sentry-dbid-a4884fb7-4509-41f1-937f-128cc7de89f0")}catch{}})();const f=k.getLocalizedStrings().reports.aging.agingDetail.header,g=[{key:"date",value:f.date,sortOrder:"ascending",width:new d(212,212),compressedWidth:new d(300,300)},{key:"invoiceNumber",value:f.invoiceNumber,sortOrder:"ascending",width:new d(188,188)},{key:"dueDate",value:f.dueDate,sortOrder:"ascending",width:new d(188,188)},{key:"daysPastDue",value:f.daysPastDue,sortOrder:"ascending",width:new d(188,188)},{key:"amount",value:f.amount,sortOrder:"ascending",width:new d(188,188),compressedWidth:new d(100,100)},{key:"balance",value:f.balance,sortOrder:"ascending",width:new d(120,120)}],O={headerHeight:new d(45,58)},q=n.div`
2
2
  top: ${s.sp0};
3
3
  left: ${s.sp0};
4
4
  min-height: ${e=>O.headerHeight.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{y as U,X as me,cl as ue,V as t,gu as q,ac as v,bT as ge,p as a,c1 as F,o as r,bE as Ce,kt as ke,w as d,i6 as R,i5 as T,b as xe,by as fe,ai as je,ku as ye,kv as ve,O as k,cs as $e,d as be,bM as we,ak as h,aw as ee,an as Le,n as Ee,b9 as Me,b1 as We,bb as te}from"./index-DtIqdweZ.js";import{a as s}from"./sentry-Fca4mdIl.js";import{n as o,c as re,k as Se}from"./mui-BVCBQYdL.js";import{bh as oe,bI as De}from"./zeni-epic-state-BZv12Eez.js";import{O as Ve,C as _e,X as He,Y as Pe,G as ze,D as Fe}from"./recharts-DAsNs3BU.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="d40d66d6-3e3a-4182-8297-51f4d7295177",e._sentryDebugIdIdentifier="sentry-dbid-d40d66d6-3e3a-4182-8297-51f4d7295177")}catch{}})();const Re=k.getLocalizedStrings().expenseAutomation,Te=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:Ye},texts:{score:Ie}}}=k.getLocalizedStrings(),Ze=({active:e,payload:i})=>{if(e===!1||e===void 0||!i||i.length===0)return null;const c=i[0]?.value;return c==null?null:t.jsxs(Oe,{children:[t.jsx(Ge,{children:Ie}),t.jsxs(Je,{children:[c,Ye]})]})};function Be({data:e,height:i}){const c=U(),$=e.map(x=>({month:De(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Te.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ae,{children:[t.jsx(Ne,{children:Re.overview.monthEndCloseTrend}),t.jsx(Ve,{height:i,width:"100%",children:t.jsxs(_e,{data:$,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"scoreGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx("stop",{offset:"0%",stopColor:a.brandColorJade,stopOpacity:.8}),t.jsx("stop",{offset:"100%",stopColor:a.brandColorJade,stopOpacity:.1})]})}),t.jsx(He,{dataKey:"month",axisLine:{stroke:c.colors.grey3},tickLine:!1,interval:"preserveStartEnd",label:{color:c.colors.hero,fontSize:d.smallRegular.fontSize,fontWeight:d.smallRegular.fontWeight,fontFamily:d.smallRegular.fontFamily}}),t.jsx(Pe,{hide:!0}),t.jsx(ze,{content:Ze,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(Fe,{type:"monotone",dataKey:"count",stroke:a.brandColorJade,strokeWidth:2,fill:"url(#scoreGradient)",dot:!1,activeDot:{r:5,fill:a.neutralGrey4Light,stroke:a.brandColorJade,strokeWidth:2}})]})})]})}const Ne=o(h)`
1
+ import{y as U,X as me,cl as ue,V as t,gu as q,ac as v,bT as ge,p as a,c1 as F,o as r,bE as Ce,kt as ke,w as d,i6 as R,i5 as T,b as xe,by as fe,ai as je,ku as ye,kv as ve,O as k,cs as $e,d as be,bM as we,ak as h,aw as ee,an as Le,n as Ee,b9 as Me,b1 as We,bb as te}from"./index-DmJDLobC.js";import{a as s}from"./sentry-L3H0lnBS.js";import{n as o,c as re,k as Se}from"./mui-Bgk_7_3h.js";import{bh as oe,bI as De}from"./zeni-epic-state-B9Z2lD6g.js";import{O as Ve,C as _e,X as He,Y as Pe,G as ze,D as Fe}from"./recharts-DQ94kkTy.js";import"./liveblocks-D1Gf9COF.js";import"./core-BBKQkJb7.js";import"./lottie-B-DVrXwa.js";import"./analytics-BSh5cBTM.js";import"./lexical-CC2d_kE2.js";import"./utils-WSIc2RtD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="d40d66d6-3e3a-4182-8297-51f4d7295177",e._sentryDebugIdIdentifier="sentry-dbid-d40d66d6-3e3a-4182-8297-51f4d7295177")}catch{}})();const Re=k.getLocalizedStrings().expenseAutomation,Te=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:Ye},texts:{score:Ie}}}=k.getLocalizedStrings(),Ze=({active:e,payload:i})=>{if(e===!1||e===void 0||!i||i.length===0)return null;const c=i[0]?.value;return c==null?null:t.jsxs(Oe,{children:[t.jsx(Ge,{children:Ie}),t.jsxs(Je,{children:[c,Ye]})]})};function Be({data:e,height:i}){const c=U(),$=e.map(x=>({month:De(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Te.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ae,{children:[t.jsx(Ne,{children:Re.overview.monthEndCloseTrend}),t.jsx(Ve,{height:i,width:"100%",children:t.jsxs(_e,{data:$,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"scoreGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx("stop",{offset:"0%",stopColor:a.brandColorJade,stopOpacity:.8}),t.jsx("stop",{offset:"100%",stopColor:a.brandColorJade,stopOpacity:.1})]})}),t.jsx(He,{dataKey:"month",axisLine:{stroke:c.colors.grey3},tickLine:!1,interval:"preserveStartEnd",label:{color:c.colors.hero,fontSize:d.smallRegular.fontSize,fontWeight:d.smallRegular.fontWeight,fontFamily:d.smallRegular.fontFamily}}),t.jsx(Pe,{hide:!0}),t.jsx(ze,{content:Ze,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(Fe,{type:"monotone",dataKey:"count",stroke:a.brandColorJade,strokeWidth:2,fill:"url(#scoreGradient)",dot:!1,activeDot:{r:5,fill:a.neutralGrey4Light,stroke:a.brandColorJade,strokeWidth:2}})]})})]})}const Ne=o(h)`
2
2
  color: ${e=>e.theme.colors.champion};
3
3
  `,Ae=o.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{o as n,c3 as Fl,X as be,bQ as tr,bR as nr,V as t,cy as Bl,bD as _l,ab as Ze,aT as ir,u as f,O as me,ak as st,an as Re,cz as Vl,ac as O,x as G,y as Tt,bE as Nl,ir as Ul,aQ as it,c1 as xe,dv as Fi,eK as Wl,bx as Hl,p as he,au as ql,f2 as Qt,L as qn,e6 as Xe,b5 as Kn,dC as or,bt as Kl,gu as Jl,ip as Ql,hg as Gl,h8 as sr,by as Zl,bW as ot,b9 as Jn,bM as ar,kB as Yl,ao as Ye,ce as Xl,n as rr,bb as lr,as as No,aa as xn,bT as Uo,ae as fn,kC as ec,kD as tc,kE as nc,kF as _n,kG as cr,kH as dr,kI as ic,kJ as ps,kK as oc,e9 as ur,dA as hr,kL as sc,kM as ac,kN as rc,kO as lc,kP as cc,kQ as dc,kR as uc,kS as hc,kT as pc,kU as mc,kV as pr,kW as gc,kX as xc,kY as fc,kZ as yc,gR as Wo,cl as Qn,cC as Bi,v as mr,A as gr,cQ as Gn,ec as Ho,c as qo,dx as wc,bq as Cc,cs as bc,cc as vc,c9 as Zn,cv as Yn,cI as Xn,cL as ei,k_ as Sc,dU as qe,w as yt,dy as ti,dc as Jt,iA as xr,fY as kc,aG as fr,k$ as jc,aX as Ko,aS as ms,ha as yr,l0 as $c,l1 as Ic,l2 as Tc,bH as wr,aV as Lc,gZ as Kt,id as Ki,e$ as Ti,cU as Jo,aA as Ac,f0 as Cr,bV as Rc,gb as Ec,hk as br,e as Dc,l3 as Mc,gU as gs,j2 as xs,aq as $t,e4 as vr,l4 as Sr,j8 as Oc,i0 as Pc,gS as Li,jz as fs,l5 as zc,a$ as Fc,dG as kr,b as Wn,iJ as jr,iS as Eo,l6 as In,eA as $r,eC as Ir,jb as Do,jc as Tr,a_ as Qo,k1 as Bc,k2 as _c,l7 as Vc,da as _i,iK as Lr,fM as Ar,l8 as Nc,eS as Ji,aM as Mo,d9 as Rr,l9 as Uc,cZ as Wc,iZ as Hc,ea as qc,la as Kc,gX as Jc,b3 as Qi,eM as Qc,g5 as Gc,lb as Zc,e3 as Yc,hR as Xc,a9 as ed,eP as td,eQ as nd,eR as id,eU as ys,eV as ws,eW as od,h0 as sd,b1 as ad,f4 as rd,f5 as ld,f6 as cd}from"./index-DtIqdweZ.js";import{a as s,P as dd}from"./sentry-Fca4mdIl.js";import{n as o,c as re,k as Vi}from"./mui-BVCBQYdL.js";import{bh as ud,kP as hd,Hk as Cs,Hl as Hn,Hm as pd,Hn as md,cy as gd,bI as Oi,cz as xd,c3 as Go,Ho as fd,FJ as bs,cA as yd,cB as wd,l$ as Vn,bT as ln,Hp as vs,Hq as Cd,b_ as Er,bo as cn,Hr as bd,Hs as Dr,Ht as Mr,Hu as Or,Hv as Pr,Hw as zr,Hx as Zo,lo as vd}from"./zeni-epic-state-BZv12Eez.js";import{t as Yo}from"./panelSelectedMixin-Cddsb26L-CSqoRxwG.js";import{m as Fr,n as Br,a as Tn,t as Mt}from"./CollapsableReportTable-h0vIfI8o-C_nIboyL.js";import{N as Gi}from"./AccountRow-BrW_eEjE-BkBbs4aB.js";import{o as _r}from"./mapTimeframeBalancesToTreeNode-DvfKBCs5-DK8IB_iY.js";import{d as Ss}from"./mapLoadingInProgressToTreeNode-DrC2Zs2y-DWmiG5c4.js";import{h as Sd}from"./VendorsAccountsSection-YX2g8ETe-wCDHzNEi.js";import{u as kd,c as ks,d as jd,m as $d}from"./uploadAttachment-DJA30WSD-BjBmWUFe.js";import{r as Pi}from"./core-DTlL91ob.js";import{t as Id}from"./upload-reimbursement-receipt-O2N8vcO7-BVwF7gzx.js";import"./liveblocks-offUbtxr.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="e0522cfb-2a87-47bd-a4a1-b46e13e37488",e._sentryDebugIdIdentifier="sentry-dbid-e0522cfb-2a87-47bd-a4a1-b46e13e37488")}catch{}})();const{common:{navBar:{back:Td},texts:{refresh:Ld,close:Ad,copy:Rd,copied:Ed,open:Dd}},expenseAutomation:{common:{numbers:{maximumCount:Md}}}}=me.getLocalizedStrings(),Od=o(Rc)`
1
+ import{o as n,c3 as Fl,X as be,bQ as tr,bR as nr,V as t,cy as Bl,bD as _l,ab as Ze,aT as ir,u as f,O as me,ak as st,an as Re,cz as Vl,ac as O,x as G,y as Tt,bE as Nl,ir as Ul,aQ as it,c1 as xe,dv as Fi,eK as Wl,bx as Hl,p as he,au as ql,f2 as Qt,L as qn,e6 as Xe,b5 as Kn,dC as or,bt as Kl,gu as Jl,ip as Ql,hg as Gl,h8 as sr,by as Zl,bW as ot,b9 as Jn,bM as ar,kB as Yl,ao as Ye,ce as Xl,n as rr,bb as lr,as as No,aa as xn,bT as Uo,ae as fn,kC as ec,kD as tc,kE as nc,kF as _n,kG as cr,kH as dr,kI as ic,kJ as ps,kK as oc,e9 as ur,dA as hr,kL as sc,kM as ac,kN as rc,kO as lc,kP as cc,kQ as dc,kR as uc,kS as hc,kT as pc,kU as mc,kV as pr,kW as gc,kX as xc,kY as fc,kZ as yc,gR as Wo,cl as Qn,cC as Bi,v as mr,A as gr,cQ as Gn,ec as Ho,c as qo,dx as wc,bq as Cc,cs as bc,cc as vc,c9 as Zn,cv as Yn,cI as Xn,cL as ei,k_ as Sc,dU as qe,w as yt,dy as ti,dc as Jt,iA as xr,fY as kc,aG as fr,k$ as jc,aX as Ko,aS as ms,ha as yr,l0 as $c,l1 as Ic,l2 as Tc,bH as wr,aV as Lc,gZ as Kt,id as Ki,e$ as Ti,cU as Jo,aA as Ac,f0 as Cr,bV as Rc,gb as Ec,hk as br,e as Dc,l3 as Mc,gU as gs,j2 as xs,aq as $t,e4 as vr,l4 as Sr,j8 as Oc,i0 as Pc,gS as Li,jz as fs,l5 as zc,a$ as Fc,dG as kr,b as Wn,iJ as jr,iS as Eo,l6 as In,eA as $r,eC as Ir,jb as Do,jc as Tr,a_ as Qo,k1 as Bc,k2 as _c,l7 as Vc,da as _i,iK as Lr,fM as Ar,l8 as Nc,eS as Ji,aM as Mo,d9 as Rr,l9 as Uc,cZ as Wc,iZ as Hc,ea as qc,la as Kc,gX as Jc,b3 as Qi,eM as Qc,g5 as Gc,lb as Zc,e3 as Yc,hR as Xc,a9 as ed,eP as td,eQ as nd,eR as id,eU as ys,eV as ws,eW as od,h0 as sd,b1 as ad,f4 as rd,f5 as ld,f6 as cd}from"./index-DmJDLobC.js";import{a as s,P as dd}from"./sentry-L3H0lnBS.js";import{n as o,c as re,k as Vi}from"./mui-Bgk_7_3h.js";import{bh as ud,kP as hd,Hk as Cs,Hl as Hn,Hm as pd,Hn as md,cy as gd,bI as Oi,cz as xd,c3 as Go,Ho as fd,FJ as bs,cA as yd,cB as wd,l$ as Vn,bT as ln,Hp as vs,Hq as Cd,b_ as Er,bo as cn,Hr as bd,Hs as Dr,Ht as Mr,Hu as Or,Hv as Pr,Hw as zr,Hx as Zo,lo as vd}from"./zeni-epic-state-B9Z2lD6g.js";import{t as Yo}from"./panelSelectedMixin-Cddsb26L-BeWHMcNi.js";import{m as Fr,n as Br,a as Tn,t as Mt}from"./CollapsableReportTable-h0vIfI8o-D3Pt-4FZ.js";import{N as Gi}from"./AccountRow-BrW_eEjE-DlgTvuFF.js";import{o as _r}from"./mapTimeframeBalancesToTreeNode-DvfKBCs5-BZ6MszHu.js";import{d as Ss}from"./mapLoadingInProgressToTreeNode-DrC2Zs2y-BjsjwyTG.js";import{h as Sd}from"./VendorsAccountsSection-YX2g8ETe-e-Ebd3i7.js";import{u as kd,c as ks,d as jd,m as $d}from"./uploadAttachment-DJA30WSD-Ce-ZEqY3.js";import{r as Pi}from"./core-BBKQkJb7.js";import{t as Id}from"./upload-reimbursement-receipt-O2N8vcO7-N655yXJS.js";import"./liveblocks-D1Gf9COF.js";import"./lottie-B-DVrXwa.js";import"./recharts-DQ94kkTy.js";import"./analytics-BSh5cBTM.js";import"./lexical-CC2d_kE2.js";import"./utils-WSIc2RtD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="e0522cfb-2a87-47bd-a4a1-b46e13e37488",e._sentryDebugIdIdentifier="sentry-dbid-e0522cfb-2a87-47bd-a4a1-b46e13e37488")}catch{}})();const{common:{navBar:{back:Td},texts:{refresh:Ld,close:Ad,copy:Rd,copied:Ed,open:Dd}},expenseAutomation:{common:{numbers:{maximumCount:Md}}}}=me.getLocalizedStrings(),Od=o(Rc)`
2
2
  display: flex;
3
3
  width: ${n.sp4};
4
4
  height: ${n.sp4};
@@ -1,4 +1,4 @@
1
- import{y as Ve,X as K,O as q,aa as et,aS as Fe,cQ as tt,V as t,bE as it,ae as at,aT as nt,x as f,o as n,lc as lt,ld as ot,le as rt,cY as ze,cV as dt,fq as st,g0 as ct,g1 as pt,cX as Oe,gA as mt,lf as ut,d0 as ht,d1 as yt,fx as Re,fy as Ae,fH as ke,w as ge,u,fI as gt,bc as ft,b9 as be,p as Ee,ao as xt,at as We}from"./index-DtIqdweZ.js";import{a as X}from"./sentry-Fca4mdIl.js";import{n as d}from"./mui-BVCBQYdL.js";import{bI as qe,bh as le,bY as Ye,bE as bt,bo as wt}from"./zeni-epic-state-BZv12Eez.js";import{Y as vt}from"./LabeledDocumentField-rriEcsdr-BmxO7VvX.js";import{S as te}from"./LabeledText-DGZ7hxY4-RKJj2tnG.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="50406c1e-be92-4a9f-9ecc-279967948f3d",e._sentryDebugIdIdentifier="sentry-dbid-50406c1e-be92-4a9f-9ecc-279967948f3d")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=K(),a=Ve(),s=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Pt,{children:h.map((p,l)=>t.jsx(Dt,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Tt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
1
+ import{y as Ve,X as K,O as q,aa as et,aS as Fe,cQ as tt,V as t,bE as it,ae as at,aT as nt,x as f,o as n,lc as lt,ld as ot,le as rt,cY as ze,cV as dt,fq as st,g0 as ct,g1 as pt,cX as Oe,gA as mt,lf as ut,d0 as ht,d1 as yt,fx as Re,fy as Ae,fH as ke,w as ge,u,fI as gt,bc as ft,b9 as be,p as Ee,ao as xt,at as We}from"./index-DmJDLobC.js";import{a as X}from"./sentry-L3H0lnBS.js";import{n as d}from"./mui-Bgk_7_3h.js";import{bI as qe,bh as le,bY as Ye,bE as bt,bo as wt}from"./zeni-epic-state-B9Z2lD6g.js";import{Y as vt}from"./LabeledDocumentField-rriEcsdr-DuJ2zUxk.js";import{S as te}from"./LabeledText-DGZ7hxY4-DsEkDfJy.js";import"./liveblocks-D1Gf9COF.js";import"./core-BBKQkJb7.js";import"./lottie-B-DVrXwa.js";import"./recharts-DQ94kkTy.js";import"./analytics-BSh5cBTM.js";import"./lexical-CC2d_kE2.js";import"./utils-WSIc2RtD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="50406c1e-be92-4a9f-9ecc-279967948f3d",e._sentryDebugIdIdentifier="sentry-dbid-50406c1e-be92-4a9f-9ecc-279967948f3d")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=K(),a=Ve(),s=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Pt,{children:h.map((p,l)=>t.jsx(Dt,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Tt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-top: ${n.sp3};
@@ -1,4 +1,4 @@
1
- import{y as _,X as y,O as w,aX as n,p as r,V as i,cy as v,x as p,cz as k,cA as x,u as g}from"./index-DtIqdweZ.js";import{n as d}from"./mui-BVCBQYdL.js";import"./sentry-Fca4mdIl.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./zeni-epic-state-BZv12Eez.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="54fc4515-62e6-4fac-9e6b-ae4d5f3fab95",e._sentryDebugIdIdentifier="sentry-dbid-54fc4515-62e6-4fac-9e6b-ae4d5f3fab95")}catch{}})();const t={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(g[0],g[0],255),popupContainerWidth:new p(100,100,85)},z=d.div`
1
+ import{y as _,X as y,O as w,aX as n,p as r,V as i,cy as v,x as p,cz as k,cA as x,u as g}from"./index-DmJDLobC.js";import{n as d}from"./mui-Bgk_7_3h.js";import"./sentry-L3H0lnBS.js";import"./liveblocks-D1Gf9COF.js";import"./core-BBKQkJb7.js";import"./zeni-epic-state-B9Z2lD6g.js";import"./lottie-B-DVrXwa.js";import"./recharts-DQ94kkTy.js";import"./analytics-BSh5cBTM.js";import"./lexical-CC2d_kE2.js";import"./utils-WSIc2RtD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="54fc4515-62e6-4fac-9e6b-ae4d5f3fab95",e._sentryDebugIdIdentifier="sentry-dbid-54fc4515-62e6-4fac-9e6b-ae4d5f3fab95")}catch{}})();const t={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(g[0],g[0],255),popupContainerWidth:new p(100,100,85)},z=d.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{X as A,V as l,O as Y,cU as H,eT as G,y as ee,cZ as Q,x as L,gE as Z,o as i,ac as M,eI as ce,aG as le,gw as pe,gx as ue,b as he,p as u,u as g,gW as ge,d9 as be,f0 as ye,aq as ve,bJ as we,w as W,dA as $e,bK as fe,bI as ke}from"./index-DtIqdweZ.js";import{n as d}from"./mui-BVCBQYdL.js";import{a as V}from"./sentry-Fca4mdIl.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="95ca9025-b7b6-4d03-a966-eeb7b3926dd0",e._sentryDebugIdIdentifier="sentry-dbid-95ca9025-b7b6-4d03-a966-eeb7b3926dd0")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=A(),{formState:{errors:j}}=H(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":M("labeled-multi-text-field",t.name),children:[l.jsx(Q,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.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(f),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||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),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(f),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{X as A,V as l,O as Y,cU as H,eT as G,y as ee,cZ as Q,x as L,gE as Z,o as i,ac as M,eI as ce,aG as le,gw as pe,gx as ue,b as he,p as u,u as g,gW as ge,d9 as be,f0 as ye,aq as ve,bJ as we,w as W,dA as $e,bK as fe,bI as ke}from"./index-DmJDLobC.js";import{n as d}from"./mui-Bgk_7_3h.js";import{a as V}from"./sentry-L3H0lnBS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="95ca9025-b7b6-4d03-a966-eeb7b3926dd0",e._sentryDebugIdIdentifier="sentry-dbid-95ca9025-b7b6-4d03-a966-eeb7b3926dd0")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=A(),{formState:{errors:j}}=H(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":M("labeled-multi-text-field",t.name),children:[l.jsx(Q,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.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(f),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||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),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(f),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{y as Ee,X,aa as Ke,aA as _e,cQ as Xe,V as t,ac as V,bE as Je,ae as Ye,cw as Ie,o,b as ye,O as ue,bT as Qe,cu as Ze,b5 as et,dC as tt,cC as lt,ab as ot,L as at,da as nt,bH as De,aV as it,x as z,bW as se,u as $,cv as Ce,ak as we,cI as rt,cL as st,cU as dt,dy as je,dc as me,c1 as K,eX as ke,aq as ct,iE as ht,an as mt,bj as gt,iB as pt,iF as Oe,cq as ut,bv as wt,p as We,iG as bt}from"./index-DtIqdweZ.js";import{a as j}from"./sentry-Fca4mdIl.js";import{n as r,c as Se}from"./mui-BVCBQYdL.js";import{c3 as xt,G$ as vt}from"./zeni-epic-state-BZv12Eez.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="971df31c-9789-4a1e-91d8-1de48911f82c",e._sentryDebugIdIdentifier="sentry-dbid-971df31c-9789-4a1e-91d8-1de48911f82c")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",U="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,n)=>n!=null?`${e}.${l}.${n}`:`${e}.${l}`;function ft(e){const l=X(),{button:{label:n,onClick:a},search:{isOpen:u,placeHolder:g,searchText:b,onTextChange:f},newVendorButtonDataTestId:d,searchBarDataTestId:h}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:u&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ie,{placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"unset",right:o.sp0},onSearchTextChanged:f}):null}),l==="small"?t.jsx(Ie,{keepSearchBoxOpen:!0,placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},onSearchTextChanged:f}):null,l==="small"?t.jsx(St,{"data-testid":d,style:{marginLeft:o.sp5}}):t.jsx(ye,{dataTestId:d,label:n,onClick:a,size:"small",style:{marginLeft:o.sp3},variant:"primary"})]})}const yt=r.div`
1
+ import{y as Ee,X,aa as Ke,aA as _e,cQ as Xe,V as t,ac as V,bE as Je,ae as Ye,cw as Ie,o,b as ye,O as ue,bT as Qe,cu as Ze,b5 as et,dC as tt,cC as lt,ab as ot,L as at,da as nt,bH as De,aV as it,x as z,bW as se,u as $,cv as Ce,ak as we,cI as rt,cL as st,cU as dt,dy as je,dc as me,c1 as K,eX as ke,aq as ct,iE as ht,an as mt,bj as gt,iB as pt,iF as Oe,cq as ut,bv as wt,p as We,iG as bt}from"./index-DmJDLobC.js";import{a as j}from"./sentry-L3H0lnBS.js";import{n as r,c as Se}from"./mui-Bgk_7_3h.js";import{c3 as xt,G$ as vt}from"./zeni-epic-state-B9Z2lD6g.js";import"./liveblocks-D1Gf9COF.js";import"./core-BBKQkJb7.js";import"./lottie-B-DVrXwa.js";import"./recharts-DQ94kkTy.js";import"./analytics-BSh5cBTM.js";import"./lexical-CC2d_kE2.js";import"./utils-WSIc2RtD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="971df31c-9789-4a1e-91d8-1de48911f82c",e._sentryDebugIdIdentifier="sentry-dbid-971df31c-9789-4a1e-91d8-1de48911f82c")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",U="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,n)=>n!=null?`${e}.${l}.${n}`:`${e}.${l}`;function ft(e){const l=X(),{button:{label:n,onClick:a},search:{isOpen:u,placeHolder:g,searchText:b,onTextChange:f},newVendorButtonDataTestId:d,searchBarDataTestId:h}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:u&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ie,{placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"unset",right:o.sp0},onSearchTextChanged:f}):null}),l==="small"?t.jsx(Ie,{keepSearchBoxOpen:!0,placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},onSearchTextChanged:f}):null,l==="small"?t.jsx(St,{"data-testid":d,style:{marginLeft:o.sp5}}):t.jsx(ye,{dataTestId:d,label:n,onClick:a,size:"small",style:{marginLeft:o.sp3},variant:"primary"})]})}const yt=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  padding-right: ${o.sp0};
@@ -1,4 +1,4 @@
1
- import{V as r,aO as D,O as c,ac as E,aZ as b,I,aP as Z,aU as j,o as H,ak as x}from"./index-DtIqdweZ.js";import{P as m,a as t}from"./sentry-Fca4mdIl.js";import{c as V}from"./SummaryCard-D61xzK3a-BK5ue-_1.js";import{n as d}from"./mui-BVCBQYdL.js";import{N as y}from"./NavigationArrow-Dpc7u6y4-Bivw7Wa_.js";import{x as T}from"./NavigationDots-DCpslVnm-DJbgqxZk.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./zeni-epic-state-BZv12Eez.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";import"./ReloadCard-D5cvzWxe-DyLnfF3x.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="36336afd-1be7-4eca-ad0a-1a753209253c",e._sentryDebugIdIdentifier="sentry-dbid-36336afd-1be7-4eca-ad0a-1a753209253c")}catch{}})();const S=d.div`
1
+ import{V as r,aO as D,O as c,ac as E,aZ as b,I,aP as Z,aU as j,o as H,ak as x}from"./index-DmJDLobC.js";import{P as m,a as t}from"./sentry-L3H0lnBS.js";import{c as V}from"./SummaryCard-D61xzK3a-D5OwtVH7.js";import{n as d}from"./mui-Bgk_7_3h.js";import{N as y}from"./NavigationArrow-Dpc7u6y4-BiRqyGkx.js";import{x as T}from"./NavigationDots-DCpslVnm-DccClgwI.js";import"./liveblocks-D1Gf9COF.js";import"./core-BBKQkJb7.js";import"./zeni-epic-state-B9Z2lD6g.js";import"./lottie-B-DVrXwa.js";import"./recharts-DQ94kkTy.js";import"./analytics-BSh5cBTM.js";import"./lexical-CC2d_kE2.js";import"./utils-WSIc2RtD.js";import"./ReloadCard-D5cvzWxe-B3IyXnq9.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="36336afd-1be7-4eca-ad0a-1a753209253c",e._sentryDebugIdIdentifier="sentry-dbid-36336afd-1be7-4eca-ad0a-1a753209253c")}catch{}})();const S=d.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: column;