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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/dist/assets/{ACHDetailsPage-BtE9TY6d-C9maaZu_.js → ACHDetailsPage-BtE9TY6d-DlXHnmZI.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BkDJ2ST0-Dzxt81Gg.js → AIPerformancePage-BkDJ2ST0-DdxV1FER.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-CTbeJLI7-C29oNV5j.js → AccountInfoPage-CTbeJLI7-YGwDUr5I.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BUTcEduM-DVKpBXHq.js → AccountInfoPageContent-BUTcEduM-BtBtiOJ1.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-v6aQO7JB-xH0-ZPkG.js → AccountLockedInfoModal-v6aQO7JB-Bmx_9fRB.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DIAg-5PN-B1-bYNLU.js → AccountReconDetailsDrawerPage-DIAg-5PN-BRImj4bT.js} +1 -1
  7. package/dist/assets/{AccountRow-BVKk7u7h-CDJSAP1l.js → AccountRow-BVKk7u7h-DE3jk17J.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CM2kVta7-D4DDSl1Z.js → AccountsPromoCardStack-CM2kVta7-xsv0XjLY.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-DDTSYpDb-gu3pix_O.js → AddAddressForCardDrawer-DDTSYpDb-JihvzEA9.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-D2Qg0MR_-DL2aRvxj.js → AddToWalletPage-D2Qg0MR_-DceA0qP3.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-_mSqD2hW-Boesp-Ca.js → AgingReportsPage-_mSqD2hW-DvZz8QE2.js} +1 -1
  12. package/dist/assets/{AllUserItems-CLsMcXeg-B7yfRaza.js → AllUserItems-CLsMcXeg-C_vBaRY0.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-BsJuvMuy-C0lGm0Hq.js → ApAgingDetailPage-BsJuvMuy-B-lDR1HA.js} +1 -1
  14. package/dist/assets/{AppBasePage-BxGd2ny5-CxKcTkZB.js → AppBasePage-BxGd2ny5-CWXri9Tj.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-DzQ2jw8d-B8p2K7qi.js → AppDrawerContent-DzQ2jw8d-D8VrXhaf.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-6n8xLG5c-9HDMDjw5.js → ApprovalRulesSettingsPage-6n8xLG5c-rUlBEZw-.js} +1 -1
  17. package/dist/assets/{ArAgingChart-B3T4qk8t-CVyLgEv4.js → ArAgingChart-B3T4qk8t-DC1aMv-c.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-pdf0VjeI-BUmI9Ihk.js → ArAgingDetailPage-pdf0VjeI-DzDOnrIb.js} +1 -1
  19. package/dist/assets/{AttachmentView-BJfqJ9hP-BtlO-7I1.js → AttachmentView-BJfqJ9hP-CzySTjT1.js} +1 -1
  20. package/dist/assets/{BankAccountSection-Cd_h3co--DCzIyA5D.js → BankAccountSection-Cd_h3co--DX3-l7uu.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-Cz9fzMVv-CvaYS3T_.js → BankAccountWarningSection-Cz9fzMVv-C78lIrf-.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-P-hobvq_-BOnK_glB.js → BankConnectionsSettingsPage-P-hobvq_-BzAwx3dY.js} +1 -1
  23. package/dist/assets/{BillDetailPage-B-_gbDGZ-BtpvnzvD.js → BillDetailPage-B-_gbDGZ-B_LQVm2j.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CyoqtTu1-C1sdR4PX.js → BillPayApprovalRuleDetailPage-CyoqtTu1-D_fxMPFN.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CTRvfoZN-BLcwl2yw.js → BillPayApprovalRulesPage-CTRvfoZN-BFmRwDAj.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-OYlocjA7-7DEWsR0V.js → BillPayPromoPage-OYlocjA7-Dk_28IQs.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-B8_IEgff-CAWPUMJX.js → BillPaySetUpPage-B8_IEgff-CNh28yQl.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-DqO-9dDI-7RCoKyM1.js → BillingSettingsPage-DqO-9dDI-Dn4gcjrL.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-B-nfpiM2-CiONs4dM.js → BillsBulkReviewDrawerPage-B-nfpiM2-jLMe8utH.js} +1 -1
  30. package/dist/assets/{BoxItem-C-LLQ7NS-CyKsGaF0.js → BoxItem-C-LLQ7NS-CetZc7bf.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-BD-G0QbW-BuRfqr04.js → BusinessVerificationPage-BD-G0QbW-DwQy6YJY.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-CPcuTV6V-CmAy0kVV.js → CardNumberSubText-CPcuTV6V-BAIo0CeO.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-CzEHO7NM-DhooXBnW.js → CashbackDetailPage-CzEHO7NM-DUEG4moa.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DpA9C48D-Cg9lUs5_.js → ChargeCardDetailPage-DpA9C48D-DCli43eP.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-igseWp-z-CgO4ULTe.js → ChargeCardListPage-igseWp-z-Dd9P_YWL.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-C-nM1SEM-CukpO46W.js → ChargeCardListTable-C-nM1SEM-CwYUuouK.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-TCuBt2Cv-BDmH-kNH.js → ChargeCardPaymentHistoryPage-TCuBt2Cv-DlbhZqYa.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-DEjWh0Ax-DtQMu7KS.js → ChargeCardPromoPage-DEjWh0Ax-CKnAvVum.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-zdLpdeJV-CBsuPE8U.js → ChargeCardSetupPage-zdLpdeJV-DFnI87EV.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-D42XfAtE-RchDbumz.js → ChargeCardStatementsPage-D42XfAtE-BjUTAyJ7.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DC1L83fB-BCa5n7-H.js → CheckDepositDrawerPage-DC1L83fB-B0xBmV3f.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-BWfFYJbH-BIiPdpTy.js → CollapsableReportTable-BWfFYJbH-Csx3Wpo7.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-TNyVByDX-D2759MDx.js → CompanyOfficerDetailsSection-TNyVByDX-Bd8oGVxr.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-DjBkQwpn-Dd7qvLcE.js → CompanyPassportCard-DjBkQwpn-BuDYLpsd.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-CrqL6_wm-C8yNeeq6.js → CompanyPassportPage-CrqL6_wm-eHOcpVG-.js} +1 -1
  46. package/dist/assets/{CompleteProfile-BP-MRXpZ-BD6u4U_v.js → CompleteProfile-BP-MRXpZ-BsRg3cEA.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-D2FdlxTA-BPfMfLCc.js → ConfettiBurst-D2FdlxTA-BHxreRuI.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-D2Cuyhtu-CjSilO-g.js → CreateOrEditVendorPage-D2Cuyhtu-Bu3-s1BO.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-LQiWqyEO-5RaHGm67.js → CreditCardPaymentDrawerPage-LQiWqyEO-8lUSxdSh.js} +1 -1
  50. package/dist/assets/{CurrencySelectField-Dpcv7_rA-DStJFuSr.js → CurrencySelectField-Dpcv7_rA-CvKH35Va.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-BRWiLUVc-B8_ST9_b.js → CustomerOnboardingActivationPage-BRWiLUVc-D_n61q9B.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-BLGGDdc6-Dsct_2mh.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-D4fUQLXG-BvBHzbJv.js → CustomerOnboardingDetailPageSkeleton-D4fUQLXG-kIqkIxNG.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-CxF6ZEAa-CMxQsxHY.js → CustomerOnboardingNoStepsPage-CxF6ZEAa-poyeACv-.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingPage-DKcr5stz-DRi352cJ.js → CustomerOnboardingPage-DKcr5stz-Bki5C5w9.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-B84wAHDe-CoEVNP5O.js → CustomerOnboardingProductSuitePage-B84wAHDe-C7FRvOhH.js} +1 -1
  57. package/dist/assets/{Dashboard-DMAOn7Hi-CGGVivU9.js → Dashboard-DMAOn7Hi-D-lic6Dc.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-UUd1-ITz-DMCD3HWG.js → DashboardReportPage-UUd1-ITz-CmjHwIrB.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-BuINHqA--61tWJjrX.js → DashboardSidebarBackgroundAnimation-BuINHqA--Cg5tOJ8w.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-BE8LeqlM-hlhKmXR8.js → DepositAccTransactionItem-BE8LeqlM-BNISEok7.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-DyH-aZDX-DTHKAa1Z.js → DepositAccTransactionListPage-DyH-aZDX-BNK9hZEk.js} +1 -1
  62. package/dist/assets/{DomesticWireDetailsPage-Bk5AZOQt-CMcHRFaW.js → DomesticWireDetailsPage-Bk5AZOQt-5diXeWri.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-BOYOF8Po-BwD6Afat.js → DownloadOverlay-BOYOF8Po-Cu31pFas.js} +1 -1
  64. package/dist/assets/{DrawerPage-BGGHNo0X-DCBr8o9E.js → DrawerPage-BGGHNo0X-D8g-Zhq1.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-CEiwvizd-D-zbL-nU.js → EditPeoplePage-CEiwvizd-BZD3AgrU.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-DBLDLvqO-C54aQF5d.js → EditReimbursementDetailPage-DBLDLvqO-DCMCC4Ue.js} +1 -1
  67. package/dist/assets/{EntityDetailPage-Cd3eku5o-D0l7oH4S.js → EntityDetailPage-Cd3eku5o-BzkM9HDo.js} +1 -1
  68. package/dist/assets/{EntitySummarySection-Ddaj1RmO-DBcpL5Yc.js → EntitySummarySection-Ddaj1RmO-CgAsx02e.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-B_BlqiWf-CaFabiLU.js → ExpenseAutomationOverviewPage-B_BlqiWf-taw0ogpA.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-DfUf0zEN-B6VJ2UJy.js → ExpenseAutomationPage-DfUf0zEN-CiL6ukAq.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-Da8lLZso-Cwv7Clar.js → ExpressPayPage-Da8lLZso-B2DVYVBn.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-CmrPDUFU-5rcSl0eb.js → FeaturePreviewPage-CmrPDUFU-tUrE4OCj.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-DbxSUIzC-BaXmlzKU.js → FollowStepsSection-DbxSUIzC-DnJhR0Pi.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-Du_3tupM--fNfq6rW.js → GlobalReviewListPage-Du_3tupM-TtvcUWAH.js} +1 -1
  75. package/dist/assets/{InformationCardStack-Bx_9X95v-xPOrStCv.js → InformationCardStack-Bx_9X95v-ReoH-Wcd.js} +1 -1
  76. package/dist/assets/{InsightsCardStack-Xn2rGwX0-BAx1TkHE.js → InsightsCardStack-Xn2rGwX0-C4QlW2rC.js} +1 -1
  77. package/dist/assets/{InsightsSection-CwyGEE7C-BgS40gth.js → InsightsSection-CwyGEE7C-BgQsSBC8.js} +1 -1
  78. package/dist/assets/{IntegrationsSettingsPage-CEL26-eE-DfibyIun.js → IntegrationsSettingsPage-CEL26-eE-BidGkM4L.js} +1 -1
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-IUz-DwAH-CGr6Gc70.js → InternationalWireSwiftDetailsPage-IUz-DwAH-xlIyq_2u.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-C66rHdsi-fqJ5C72A.js → InternationalWireVerificationPage-C66rHdsi-BnclPAnn.js} +1 -1
  81. package/dist/assets/{InviteFormPage-Do-6PG8h-C-rzmYCh.js → InviteFormPage-Do-6PG8h-CuaaGEub.js} +1 -1
  82. package/dist/assets/{InvitePageListView-DYKcMtIL-nvuj34Qe.js → InvitePageListView-DYKcMtIL-BfWc8uTZ.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-C2SmS7y8-BN_wFYgu.js → InvitePeoplePage-C2SmS7y8-DYM50qpK.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-rCCcSbbj-CFzlgKg9.js → InvoiceUploadSection-rCCcSbbj-BXDZYW2T.js} +1 -1
  85. package/dist/assets/{IssueChargeCardPage-DZvVosb3-C2W1gOfV.js → IssueChargeCardPage-DZvVosb3-D0tVdJ6A.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-CAX5YTSE-BfVvpzvP.js → LabeledAddressValue-CAX5YTSE-zBK_OJ4a.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-BraOMDrG-CfBm_XIY.js → LabeledAddressValueField-BraOMDrG-CIfzW6iS.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-DBcPQa79-B_0nrSFr.js → LabeledControlledCheckBoxField-DBcPQa79-Dm3g8Rx5.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-DYid8vvM-BfPOTgp8.js → LabeledCountryMultiSelectField-DYid8vvM-CHu1M3vr.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-DzB7KPXf-BwfCQ3vj.js → LabeledCreatableSingleSelectField-DzB7KPXf-B4UxeEYu.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-BdQjt44W-EnLXAA71.js → LabeledDocumentField-BdQjt44W-BJ3GcTL_.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-BheK7sFg-D0D4XYai.js → LabeledDropDownFormattedTextField-BheK7sFg-DRz45mr_.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-m2Y_IFK_-DBGqM9Nr.js → LabeledMultiSelectField-m2Y_IFK_-Dgpx_QwD.js} +1 -1
  94. package/dist/assets/{LabeledText-C6M4paXi-dAFR23d7.js → LabeledText-C6M4paXi-CF38LKMP.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-i7qOybJ3-QdNWRUWG.js → LabeledUserSingleSelectWithSubtitlesField-i7qOybJ3-bSlpKmiR.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-BhNbXDjb-DgKv1slV.js → LabeledZeniRolesDropDownField-BhNbXDjb-Dujasvos.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage--sqluuih-VivXIc5D.js → LinkJETransactionPage--sqluuih-wy7uGmyh.js} +1 -1
  98. package/dist/assets/{LockCardPage-Bq0Tu8g8-C6m1-JJ1.js → LockCardPage-Bq0Tu8g8-DVKXgz4m.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-hlu_jjTZ-DZ1z8xe6.js → LowBalancePopup-hlu_jjTZ-BtKXHVoq.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-C1pJBTPa-Dk0xalTl.js → MagicLinkACHDetailsPage-C1pJBTPa-lXEPNfls.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-C77X02bo-Dbss_Tqv.js → MagicLinkDomesticWireDetailsPage-C77X02bo-2X6y-hYy.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DUHpAm8_-BkDmu3l4.js → MagicLinkInternationalWireDetailsPage-DUHpAm8_-DdkoLfBl.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-D6ZDRs5F-DQNiPx3u.js → MagicLinkSuccessPage-D6ZDRs5F-Bm6H-4K4.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-e9WYeJQA-BdMlQ905.js → MagicLinkTitleSection-e9WYeJQA-oFDVq4Q3.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection--Lx7QBGW-BxmiDkr6.js → MailingDetailsSection--Lx7QBGW-DZvTXReS.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-Bb7UZRJf-B5XKMom_.js → MyBankConnectionsSettingsPage-Bb7UZRJf-BUyi3j3X.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-BToJWGM8-CjAx4TXN.js → MyPendingActivationChargeCardListPage-BToJWGM8-DpXTg4m3.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-CGxf42bP-Cc5RApxz.js → MyProfileSettingsPage-CGxf42bP-BtWaSU77.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-DcDs1pe7-RUEHjYNa.js → NavBarWithPicker-DcDs1pe7-DsVVosIY.js} +1 -1
  110. package/dist/assets/{NavigationArrow-DGSdnTKQ-CgfnFgIs.js → NavigationArrow-DGSdnTKQ-DfQn-lGU.js} +1 -1
  111. package/dist/assets/{NavigationDots-BPsFQiss-Dqh0y0c_.js → NavigationDots-BPsFQiss-DRnWaEzO.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-od2IF__o-BUeowAQW.js → NewGlobalMerchantPage-od2IF__o-CtWz6efC.js} +1 -1
  113. package/dist/assets/{NoDataChart-qG0jmc8Z-Dctec7eR.js → NoDataChart-qG0jmc8Z-B_hbU-ac.js} +1 -1
  114. package/dist/assets/{NoDataTable-CgKT7NGU-CuzMQ4sx.js → NoDataTable-CgKT7NGU-BpL_-uTW.js} +1 -1
  115. package/dist/assets/{NotFoundPage-CdUJ7M5p-DbLXvN2b.js → NotFoundPage-CdUJ7M5p-wpuUnTnF.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-D1PKq-ED-ChTF7VDn.js → NotificationSettingsPage-D1PKq-ED-DVGiVyPe.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-Ctfr3h3b-B2C7Z_Di.js → NotificationsListConfig-Ctfr3h3b-BRM4cnLo.js} +1 -1
  118. package/dist/assets/{NotificationsPage-_5Yn9uTy-mxWdg1FN.js → NotificationsPage-_5Yn9uTy-CcENjSZ1.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-Dqr805s1-CqYYgxC3.js → OpExByVendorPage-Dqr805s1-D2FsgjpQ.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-IDTUbuAC-YfbThdai.js → OverlayContainerPage-IDTUbuAC-CGGpxgsy.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-CQ5IMW_B-BHtqAaTy.js → PandLWithForecastPage-CQ5IMW_B-Km7grtMK.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DtOeyTmL-DXDwBnq6.js → PaymentAccountSetupBillingAddressSection-DtOeyTmL-B9kEdFki.js} +1 -1
  123. package/dist/assets/{PeoplePage-DEp24LGx-BkYkgzLW.js → PeoplePage-DEp24LGx-CtRwEShD.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-Dgwws_g9-_dPrFjDV.js → ProductsCarousel-Dgwws_g9-CD5wt9ef.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-wfvFaqMw-CY2jDhRy.js → PromoBaseCards-wfvFaqMw-C39IUX2b.js} +1 -1
  126. package/dist/assets/{QBOConnectionDialog-CSMrKgrY-gVbZ-mZ8.js → QBOConnectionDialog-CSMrKgrY-DsO1m0F5.js} +1 -1
  127. package/dist/assets/{QBOSetupSection--FQKYLxN-LYuddynp.js → QBOSetupSection--FQKYLxN-CLUWgqk6.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Dzg2pNcJ-BdMg1RhW.js → ReimbursementApprovalRuleDetailPage-Dzg2pNcJ-CjlYXjNP.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRulesPage-eyZWsjXs-Du4OL-aC.js → ReimbursementApprovalRulesPage-eyZWsjXs-ntYifLKs.js} +1 -1
  130. package/dist/assets/{ReimbursementDetailPage-DnSo6uTd-B2fnQcOh.js → ReimbursementDetailPage-DnSo6uTd-lGWR6kLS.js} +1 -1
  131. package/dist/assets/{ReimbursementPromoPage-0st3rBmg-BJkFCzXz.js → ReimbursementPromoPage-0st3rBmg-BNpI0vNz.js} +1 -1
  132. package/dist/assets/{ReimbursementSetUpPage-DCMgwGAM-CVZuk20s.js → ReimbursementSetUpPage-DCMgwGAM-Ck06jKGh.js} +1 -1
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cx7BlVAb-BW2L-YXt.js → ReimbursementsBulkReviewDrawerPage-Cx7BlVAb-C4fmpZqf.js} +1 -1
  134. package/dist/assets/{ReloadCard-8Tiu9Mq9-WidMrFBg.js → ReloadCard-8Tiu9Mq9-B5a-0HR6.js} +1 -1
  135. package/dist/assets/{ReportTableViewSelector-BwBEG73W-D23xRsEe.js → ReportTableViewSelector-BwBEG73W-CV7HMyUw.js} +1 -1
  136. package/dist/assets/{ReportsPage-BxXxsNBv-dsPUH8v1.js → ReportsPage-BxXxsNBv-BCUQ0RAm.js} +1 -1
  137. package/dist/assets/{RevenueChart-D13bncyo-DisVSBsZ.js → RevenueChart-D13bncyo-Buwd2M8n.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-C5q0Abn_-DCYfD4eU.js → ReviewDetailsPage-C5q0Abn_-t-fqvI1P.js} +1 -1
  139. package/dist/assets/{ReviewOverlay-BNnNWFdW-Dc8TbL95.js → ReviewOverlay-BNnNWFdW-idP0Dl0H.js} +1 -1
  140. package/dist/assets/{RoleWithToolTip-DvYf0VUz-DfyQTHhc.js → RoleWithToolTip-DvYf0VUz-CCXcCA1t.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DqrwF4kG-YxjHzQUp.js → ScheduleDetailsFixedAssetsPage-DqrwF4kG-CbQilLNT.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsPage-CH2lKmlN-Db_nhPQU.js → ScheduleDetailsPage-CH2lKmlN-BsAj8OwQ.js} +1 -1
  143. package/dist/assets/{ScheduleSequenceTable-BzDIvZ9H-BagpGi8M.js → ScheduleSequenceTable-BzDIvZ9H-CBGDuoMj.js} +1 -1
  144. package/dist/assets/{ScreenRoutes-l2ZSRE3X.js → ScreenRoutes-COJmE7BV.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-DOvqcC8t-DxYvNTsg.js → SetUpAccountSection-DOvqcC8t-DY7o_nqL.js} +1 -1
  146. package/dist/assets/{SignIn-CBRwaiPC-DSZbn4tf.js → SignIn-CBRwaiPC-FsqeJ7yA.js} +1 -1
  147. package/dist/assets/{SignInScreen-DA-QJIMK.js → SignInScreen-CFntR-Lc.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-BjdD7zHz-duCSBxrR.js → SpendManagementListViewPage-BjdD7zHz-BZgeDSu_.js} +3 -3
  149. package/dist/assets/{SpendManagementPerTabPage-S5zX9fWg-B69ncWCU.js → SpendManagementPerTabPage-S5zX9fWg-D-QkrOXi.js} +1 -1
  150. package/dist/assets/{SpendManagementSection-vo9WEGWQ-DV0kvnxH.js → SpendManagementSection-vo9WEGWQ-DBmX8h6K.js} +1 -1
  151. package/dist/assets/{StatementItem-BxnOzchG-C1vR7F9V.js → StatementItem-BxnOzchG-Jqyfs7Z-.js} +1 -1
  152. package/dist/assets/{StatementsPage-0BpH6B2F-c3HeY-pH.js → StatementsPage-0BpH6B2F-_YEmXC1o.js} +1 -1
  153. package/dist/assets/{StatusSwitcher-Cj2oyfqn-GHqh8PSV.js → StatusSwitcher-Cj2oyfqn-zIIV8OEL.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-B-gfkK-k-9khtx1-k.js → SubTabSwitcher-B-gfkK-k-moeS1gnJ.js} +1 -1
  155. package/dist/assets/{SummaryCard-D92z4WU0-Dk2J87_c.js → SummaryCard-D92z4WU0-zmpilX3L.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-DND-MEly-DfQOsUTI.js → TaskManagementPage-DND-MEly-B5dK2msu.js} +1 -1
  157. package/dist/assets/{TimeRangeSwitcher-BCfDT5nQ-BnXndCyZ.js → TimeRangeSwitcher-BCfDT5nQ-CyE38Dxo.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcher-CCMyvSSI-DIRa_Jc4.js → TimeframeSwitcher-CCMyvSSI-DstqujKu.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-Di1hQ-WC-DVlTpSsC.js → TimeframeSwitcherWithToggle-Di1hQ-WC-BER3YD8I.js} +1 -1
  160. package/dist/assets/{TopExCard-B4CpuO-v-CxDodwtl.js → TopExCard-B4CpuO-v-K-hQswGF.js} +1 -1
  161. package/dist/assets/{TopExDetailPage-BWdJnu-c-DDcIl_DR.js → TopExDetailPage-BWdJnu-c-jydYbyNX.js} +1 -1
  162. package/dist/assets/{TransactionDetailPage-CL_VbaJy-BG7mpSq_.js → TransactionDetailPage-CL_VbaJy-uSq6HmXp.js} +1 -1
  163. package/dist/assets/{TransactionList-CSfzB0gM-Dw6vqliW.js → TransactionList-CSfzB0gM-BBDl0CVZ.js} +1 -1
  164. package/dist/assets/{TransactionListBig-Dkdt0pvn-BZrDL6CH.js → TransactionListBig-Dkdt0pvn-Dkg0pG-j.js} +1 -1
  165. package/dist/assets/{TransactionListPage-DBAqpKkc-SGyXtVgm.js → TransactionListPage-DBAqpKkc-WPXU9uRR.js} +1 -1
  166. package/dist/assets/{TransactionVendorDetailPage-BPb6IGMd-D5zJvpum.js → TransactionVendorDetailPage-BPb6IGMd-DsSYdwld.js} +1 -1
  167. package/dist/assets/{TransferDrawerPage-oyNu_G0D-C-dL6Rya.js → TransferDrawerPage-oyNu_G0D-BGNoYXDH.js} +1 -1
  168. package/dist/assets/{TreasuryOverviewPage-DIPEykKC-C5rL0Wer.js → TreasuryOverviewPage-DIPEykKC-WU-gNw4W.js} +1 -1
  169. package/dist/assets/{TreasuryPromoPage-wmxtzW1N-BB1K5PqR.js → TreasuryPromoPage-wmxtzW1N-BRuIoreO.js} +1 -1
  170. package/dist/assets/{TreasuryStatementsPage-vHS-mb3R-Ddrpn04Q.js → TreasuryStatementsPage-vHS-mb3R-Bz0qtPhg.js} +1 -1
  171. package/dist/assets/{TreasuryTaxLetterPage-3fiYxv2D-Dg0xbQQQ.js → TreasuryTaxLetterPage-3fiYxv2D-DzI3SHjy.js} +1 -1
  172. package/dist/assets/{TrendChart-dVd4QdGQ-CLKuTzb2.js → TrendChart-dVd4QdGQ-BJjG22Ov.js} +1 -1
  173. package/dist/assets/{TrendWithTransactions-zZUv_Qrs-BElxtx49.js → TrendWithTransactions-zZUv_Qrs-BCC3U8tC.js} +1 -1
  174. package/dist/assets/{UncategorizedAccountsMappingPage-CcyG64pA-0yQuhcbM.js → UncategorizedAccountsMappingPage-CcyG64pA-DuQQVPLE.js} +1 -1
  175. package/dist/assets/{UnitIntegrationPage-BL6g4XY0-fYnhKg75.js → UnitIntegrationPage-BL6g4XY0-DjP1Ctgu.js} +1 -1
  176. package/dist/assets/{UploadAdditionalDocumentOverlay-CBg0WhaZ-C_8-7GFi.js → UploadAdditionalDocumentOverlay-CBg0WhaZ-DBuHt0rj.js} +1 -1
  177. package/dist/assets/{Vendor2FAPopup-CF5AV8a5-BsgzaDOa.js → Vendor2FAPopup-CF5AV8a5-BShWHZIx.js} +1 -1
  178. package/dist/assets/{VendorACHDetailsPage-B_wVoMw5-D4XhjcJ1.js → VendorACHDetailsPage-B_wVoMw5-DCiPWwWE.js} +1 -1
  179. package/dist/assets/{VendorDetailPage-C168zV-E-B3dEwSOF.js → VendorDetailPage-C168zV-E-DIP_aGAZ.js} +1 -1
  180. package/dist/assets/{VendorDomesticWireDetailsPage-cAu_hGIj-CosrcI_S.js → VendorDomesticWireDetailsPage-cAu_hGIj-D8-MuSlB.js} +1 -1
  181. package/dist/assets/{VendorFiling1099EditablePage-DVrk7af6-wOFW-4Wi.js → VendorFiling1099EditablePage-DVrk7af6-DDztFsX5.js} +1 -1
  182. package/dist/assets/{VendorFirstReviewPage-kiMBuYID-CtvtJJUg.js → VendorFirstReviewPage-kiMBuYID-OfVFvljK.js} +1 -1
  183. package/dist/assets/{VendorInternationalWireDetailsPage-CtGJurq9-CCXwNCAZ.js → VendorInternationalWireDetailsPage-CtGJurq9-BDxbxP3S.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Cy8QoA_b-vnefUABQ.js → VendorInternationalWireSwiftDetailsPage-Cy8QoA_b-CGyz_V8v.js} +1 -1
  185. package/dist/assets/{VendorsAccountsSection-B9Ik1T2V-BaqvYUX_.js → VendorsAccountsSection-B9Ik1T2V-DqGOolpT.js} +1 -1
  186. package/dist/assets/{VerifyDevice-DfX9VA7b-BdOPIyEo.js → VerifyDevice-DfX9VA7b-VUfmXFaX.js} +1 -1
  187. package/dist/assets/{VideoPlayer-_FcQClfH-cuN5RcOe.js → VideoPlayer-_FcQClfH-CRE4D3aI.js} +1 -1
  188. package/dist/assets/{VideoPopup-D0XTfD6q-CZBktelE.js → VideoPopup-D0XTfD6q-qtGSnice.js} +1 -1
  189. package/dist/assets/{WarningsDrawerPage-DIwWkX4B-B-UdjfAF.js → WarningsDrawerPage-DIwWkX4B-3NfFweDe.js} +1 -1
  190. package/dist/assets/{ZeniAccountDetailPage-mo0trXHB-B20udciT.js → ZeniAccountDetailPage-mo0trXHB-DYo24dJH.js} +1 -1
  191. package/dist/assets/{ZeniAccountListViewPage-CVzyx1Sx-CoJhvG_N.js → ZeniAccountListViewPage-CVzyx1Sx-Dq_Wq9hu.js} +1 -1
  192. package/dist/assets/{ZeniAccountNavBarPieces-CbXVnnp9-Dnxyvh_X.js → ZeniAccountNavBarPieces-CbXVnnp9-B-qIpckN.js} +1 -1
  193. package/dist/assets/{ZeniAccountPromoPage-gZMYr_Ux-DJicJ7wt.js → ZeniAccountPromoPage-gZMYr_Ux-8GrkVROm.js} +1 -1
  194. package/dist/assets/{ZeniAccountSetupPage-DPOLAjZV-DJVpJ_Nd.js → ZeniAccountSetupPage-DPOLAjZV-Dw8Ao_So.js} +1 -1
  195. package/dist/assets/{ZeniCopyright-BDUQdaKP-B6B-IB0N.js → ZeniCopyright-BDUQdaKP-1S-2nFq7.js} +1 -1
  196. package/dist/assets/{ZeniTransferAmountSlider-B-nq8t_K-ANSQo16z.js → ZeniTransferAmountSlider-B-nq8t_K-D2lG7qBv.js} +1 -1
  197. package/dist/assets/{analyticsHelper-7cF4XxuH-_xEf-TSd.js → analyticsHelper-7cF4XxuH-DLvrIzdF.js} +1 -1
  198. package/dist/assets/{analyticsHelper-ZZI8M_53.js → analyticsHelper-Ecsp3tOS.js} +1 -1
  199. package/dist/assets/{chartTypes-DjzTOuyH-BFNN0c4F.js → chartTypes-DjzTOuyH--xZuCRkY.js} +1 -1
  200. package/dist/assets/{commonDimensions-CtIrih5r-CfslRtQI.js → commonDimensions-CtIrih5r-B1EQ7y18.js} +1 -1
  201. package/dist/assets/{commonTypes-9h2Y-L4i-CJG-nO2R.js → commonTypes-9h2Y-L4i-BZ0UmTpg.js} +1 -1
  202. package/dist/assets/{detailCommon-CEOeZl26-CdFIe8qF.js → detailCommon-CEOeZl26-B1iXLHB6.js} +1 -1
  203. package/dist/assets/{downloadPdf-Pyk_BhF7-WEbr68vS.js → downloadPdf-Pyk_BhF7-DBVN6DcC.js} +1 -1
  204. package/dist/assets/{index-BhvUwV_v.js → index-DYltSVfB.js} +5 -5
  205. package/dist/assets/{mapLoadingInProgressToTreeNode-DoHalh0I-DytjKdZ3.js → mapLoadingInProgressToTreeNode-DoHalh0I-gsXyYQpy.js} +1 -1
  206. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CjiNTI8L-BE28qPgb.js → mapSectionWithAcOnlyToTreeNode-CjiNTI8L-BMuLdMWD.js} +1 -1
  207. package/dist/assets/{mapSpacerToTreeNode-Di-_Qhw7-nEHRbBKZ.js → mapSpacerToTreeNode-Di-_Qhw7-8iQraUSQ.js} +1 -1
  208. package/dist/assets/{mapTimeframeBalancesToTreeNode-BaIl_VbE-C25WmKnk.js → mapTimeframeBalancesToTreeNode-BaIl_VbE-BRXeEdrt.js} +1 -1
  209. package/dist/assets/{mapTimeframeBalancesToTreeNode-mMtwXmJx-B8gyB0Lt.js → mapTimeframeBalancesToTreeNode-mMtwXmJx-CXxOT-wX.js} +1 -1
  210. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Bz1bR9oN-BR28SX0V.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Bz1bR9oN-Dre2GwgF.js} +1 -1
  211. package/dist/assets/{toCOABalancesWithID-CjVmQxAs-8r-ogQXf.js → toCOABalancesWithID-CjVmQxAs-DiJZXqdL.js} +1 -1
  212. package/dist/assets/{toChartData-BFuIgA2L-C4IkmCYG.js → toChartData-BFuIgA2L-BBySQ0d2.js} +1 -1
  213. package/dist/assets/{uploadAttachment-ux9baWqa-BwjN4G2_.js → uploadAttachment-ux9baWqa-G8p-50iG.js} +1 -1
  214. package/dist/assets/{uploadReceipts-DJRtId-4-xnWXJPvb.js → uploadReceipts-DJRtId-4-Ck-2fUTH.js} +1 -1
  215. package/dist/index.html +1 -1
  216. package/package.json +1 -1
  217. package/dist/assets/CustomerOnboardingContainerPage-BLGGDdc6-DSwc8Dwv.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a8 as se,V as o,fv as Ce,Q as be,g as Pe,a9 as we,aQ as xe,cE as ke,bB as Ie,o as i,aP as Ae,ac as $e,aR as ve,bn as Oe,hK as Ve,F as Te,eX as je,eY as oe,af as Le,y as Q,al as ze,u as A}from"./index-BhvUwV_v.js";import{n as c}from"./mui-DqYnCiYu.js";import{a as $}from"./sentry-DgGQRl6g.js";import{r as Be,t as Ee}from"./PaymentAccountSetupBillingAddressSection-DtOeyTmL-DXDwBnq6.js";import{f as Ue}from"./CustomerOnboardingDetailPageSkeleton-D4fUQLXG-BvBHzbJv.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./commonTypes-9h2Y-L4i-CJG-nO2R.js";import"./SetUpAccountSection-DOvqcC8t-DxYvNTsg.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]="7b3e7ea4-8b0b-4788-b409-7af44feae485",e._sentryDebugIdIdentifier="sentry-dbid-7b3e7ea4-8b0b-4788-b409-7af44feae485")}catch{}})();const J="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",X={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q(A[3],A[3]),subTitlePaddingBottom:new Q(A[3],A[3])},_e=e=>`${e}_form`,De=Te.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:O,googleAPIKey:V,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:z,updateCardPaymentModalState:P,handleAddCardPaymentSource:B,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:w,onUpdateCustomerView:_,...D})=>{const m=be(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:F,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:H,onAddressEditHandler:x}=D,W=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(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:Z}=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)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(v(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(J);t&&a&&(ye(),j("link_payment_account"),_(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,q,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Fe,{children:[o.jsxs(Re,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.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(He,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:_e(ie),children:o.jsxs(Me,{children:[o.jsx(Ze,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Be,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:Y,subscriptionBillingAddressSectionId:n,sectionId:J,analytics:h,isValid:ne(),onFetchLinkTokenClick:F,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionSuccess:N,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(Oe,{signedInUser:b,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:Z.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:z,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:B,cardPaymentView:p,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:U,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Fe=c.div`
1
+ import{a8 as se,V as o,fv as Ce,Q as be,g as Pe,a9 as we,aQ as xe,cE as ke,bB as Ie,o as i,aP as Ae,ac as $e,aR as ve,bn as Oe,hK as Ve,F as Te,eX as je,eY as oe,af as Le,y as Q,al as ze,u as A}from"./index-DYltSVfB.js";import{n as c}from"./mui-DqYnCiYu.js";import{a as $}from"./sentry-DgGQRl6g.js";import{r as Be,t as Ee}from"./PaymentAccountSetupBillingAddressSection-DtOeyTmL-B9kEdFki.js";import{f as Ue}from"./CustomerOnboardingDetailPageSkeleton-D4fUQLXG-kIqkIxNG.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./commonTypes-9h2Y-L4i-BZ0UmTpg.js";import"./SetUpAccountSection-DOvqcC8t-DY7o_nqL.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]="7b3e7ea4-8b0b-4788-b409-7af44feae485",e._sentryDebugIdIdentifier="sentry-dbid-7b3e7ea4-8b0b-4788-b409-7af44feae485")}catch{}})();const J="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",X={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q(A[3],A[3]),subTitlePaddingBottom:new Q(A[3],A[3])},_e=e=>`${e}_form`,De=Te.getLocalizedStrings(),Ke=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:O,googleAPIKey:V,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:z,updateCardPaymentModalState:P,handleAddCardPaymentSource:B,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:U,redirectToProductSuitePage:w,onUpdateCustomerView:_,...D})=>{const m=be(),K=se(),{analytics:h}=K,{onFetchLinkTokenClick:F,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:H,onAddressEditHandler:x}=D,W=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(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:Z}=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)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(v(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(J);t&&a&&(ye(),j("link_payment_account"),_(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,q,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Fe,{children:[o.jsxs(Re,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:W.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(He,{children:o.jsx(We,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:H})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:_e(ie),children:o.jsxs(Me,{children:[o.jsx(Ze,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Be,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:Y,subscriptionBillingAddressSectionId:n,sectionId:J,analytics:h,isValid:ne(),onFetchLinkTokenClick:F,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:R,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionSuccess:N,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(Oe,{signedInUser:b,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:Z.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:Z.submitText.replace("__action__",Z.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:z,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:B,cardPaymentView:p,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:U,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Fe=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,Q as Me,g as nn,a9 as an,cE as me,aQ as Qe,G as ft,aD as Ke,bB as on,o as re,ac as sn,u as W,aR as rn,hK as ln,g9 as cn,fw as yt,eX as Ot,F as Ye,eY as gt,y as fe,gd as ye,cI as dn,al as pn,hL as ht,ad as St,cS as un,gb as mn}from"./index-BhvUwV_v.js";import{a as m}from"./sentry-DgGQRl6g.js";import{n as P,k as xt}from"./mui-DqYnCiYu.js";import{bi as j}from"./zeni-epic-state-WWg2r7iB.js";import{r as Ct,t as fn}from"./PaymentAccountSetupBillingAddressSection-DtOeyTmL-DXDwBnq6.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-D4fUQLXG-BvBHzbJv.js";import{z as gn,n as hn}from"./CompanyOfficerDetailsSection-TNyVByDX-D2759MDx.js";import{t as Sn}from"./QBOSetupSection--FQKYLxN-LYuddynp.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./commonTypes-9h2Y-L4i-CJG-nO2R.js";import"./SetUpAccountSection-DOvqcC8t-DxYvNTsg.js";import"./LabeledAddressValueField-BraOMDrG-CfBm_XIY.js";import"./LabeledCountryMultiSelectField-DYid8vvM-BfPOTgp8.js";import"./LabeledCreatableSingleSelectField-DzB7KPXf-BwfCQ3vj.js";import"./LabeledDocumentField-BdQjt44W-EnLXAA71.js";import"./LabeledMultiSelectField-m2Y_IFK_-DBGqM9Nr.js";import"./QBOConnectionDialog-CSMrKgrY-gVbZ-mZ8.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]="2cdcc2cc-e24e-4d48-89db-3e26ba611ac9",n._sentryDebugIdIdentifier="sentry-dbid-2cdcc2cc-e24e-4d48-89db-3e26ba611ac9")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:v,verifiedPhoneNumber:O,onPhoneVerified:h,...x})=>{const y=Me(),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}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:N}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:A??[],allNationalityCountries:r,sectionHeader:N,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...x})})},bn=P.div`
1
+ import{V as l,fv as tn,Q as Me,g as nn,a9 as an,cE as me,aQ as Qe,G as ft,aD as Ke,bB as on,o as re,ac as sn,u as W,aR as rn,hK as ln,g9 as cn,fw as yt,eX as Ot,F as Ye,eY as gt,y as fe,gd as ye,cI as dn,al as pn,hL as ht,ad as St,cS as un,gb as mn}from"./index-DYltSVfB.js";import{a as m}from"./sentry-DgGQRl6g.js";import{n as P,k as xt}from"./mui-DqYnCiYu.js";import{bi as j}from"./zeni-epic-state-WWg2r7iB.js";import{r as Ct,t as fn}from"./PaymentAccountSetupBillingAddressSection-DtOeyTmL-B9kEdFki.js";import{b as bt,f as yn,a as It}from"./CustomerOnboardingDetailPageSkeleton-D4fUQLXG-kIqkIxNG.js";import{z as gn,n as hn}from"./CompanyOfficerDetailsSection-TNyVByDX-Bd8oGVxr.js";import{t as Sn}from"./QBOSetupSection--FQKYLxN-CLUWgqk6.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./commonTypes-9h2Y-L4i-BZ0UmTpg.js";import"./SetUpAccountSection-DOvqcC8t-DY7o_nqL.js";import"./LabeledAddressValueField-BraOMDrG-CIfzW6iS.js";import"./LabeledCountryMultiSelectField-DYid8vvM-CHu1M3vr.js";import"./LabeledCreatableSingleSelectField-DzB7KPXf-B4UxeEYu.js";import"./LabeledDocumentField-BdQjt44W-BJ3GcTL_.js";import"./LabeledMultiSelectField-m2Y_IFK_-Dgpx_QwD.js";import"./QBOConnectionDialog-CSMrKgrY-DsO1m0F5.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]="2cdcc2cc-e24e-4d48-89db-3e26ba611ac9",n._sentryDebugIdIdentifier="sentry-dbid-2cdcc2cc-e24e-4d48-89db-3e26ba611ac9")}catch{}})();const Cn=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:r,isVerificationPopupOpen:g,setIsVerificationPopupOpen:v,verifiedPhoneNumber:O,onPhoneVerified:h,...x})=>{const y=Me(),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}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:N}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(bn,{children:l.jsx(hn,{companyOfficerData:C,allOfficers:A??[],allNationalityCountries:r,sectionHeader:N,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:v,...x})})},bn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{Q as D,a8 as I,aw as M,g as _,V as e,bB as U,o as t,aP as k,bn as W,fv as V,F as A,al as H,af as R,p as l,b,ag as N,f as J,M as Z,aq as q,a$ as Q}from"./index-BhvUwV_v.js";import{a as n}from"./sentry-DgGQRl6g.js";import{n as o}from"./mui-DqYnCiYu.js";import{FT as G}from"./zeni-epic-state-WWg2r7iB.js";import K from"./ConfettiBurst-D2FdlxTA-BPfMfLCc.js";import{T as X}from"./ProductsCarousel-Dgwws_g9-_dPrFjDV.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="4387a02f-5222-4ea6-8808-beae47e593f5",i._sentryDebugIdIdentifier="sentry-dbid-4387a02f-5222-4ea6-8808-beae47e593f5")}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:f=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=D(),x=I().analytics,w=M(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,B=_(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=F;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",x.trackOnboardingClickUpdatePaymentDetails(r,G(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:B.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:f?e.jsxs(be,{"data-testid":k("update-to-payment-address-details"),onClick:()=>O(a),children:[e.jsx(ke,{}),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(X,{scale:1,showUpdatePaymentDetailButton:f,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(fe,{children:[e.jsx(xe,{windowSize:d,children:e.jsx(W,{signedInUser:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(V,{isFooterRendered:!1,meetingUrl:p,analytics:x,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},te=o.div`
1
+ import{Q as D,a8 as I,aw as M,g as _,V as e,bB as U,o as t,aP as k,bn as W,fv as V,F as A,al as H,af as R,p as l,b,ag as N,f as J,M as Z,aq as q,a$ as Q}from"./index-DYltSVfB.js";import{a as n}from"./sentry-DgGQRl6g.js";import{n as o}from"./mui-DqYnCiYu.js";import{FT as G}from"./zeni-epic-state-WWg2r7iB.js";import K from"./ConfettiBurst-D2FdlxTA-BHxreRuI.js";import{T as X}from"./ProductsCarousel-Dgwws_g9-CD5wt9ef.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="4387a02f-5222-4ea6-8808-beae47e593f5",i._sentryDebugIdIdentifier="sentry-dbid-4387a02f-5222-4ea6-8808-beae47e593f5")}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:f=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=D(),x=I().analytics,w=M(),L=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=S,B=_(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=F;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",x.trackOnboardingClickUpdatePaymentDetails(r,G(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(U,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:B.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:f?e.jsxs(be,{"data-testid":k("update-to-payment-address-details"),onClick:()=>O(a),children:[e.jsx(ke,{}),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(X,{scale:1,showUpdatePaymentDetailButton:f,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(fe,{children:[e.jsx(xe,{windowSize:d,children:e.jsx(W,{signedInUser:L,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(V,{isFooterRendered:!1,meetingUrl:p,analytics:x,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{av as FA,aw as Ee,V as e,ax as Yt,F as Q,ay as Ht,az as Kt,o,aA as Nt,G as LA,p as u,aB as Gt,aC as zt,aD as Wt,aE as Be,aF as qt,aG as Xt,aH as Vt,aI as Zt,aJ as $t,aK as _t,aL as P,Q as eA,aM as N,aN as Y,aO as X,aP as D,a9 as Ar,aQ as Ke,x as Ne,ac as er,aR as tr,y as AA,aS as G,aT as tA,am as rA,aU as Ge,aV as J,aW as U,aX as qA,ao as rr,g as nA,aY as or,aZ as ar,a_ as ir,a$ as gr,ai as F,b0 as JA,u as S,aq as XA,al as PA,b1 as ze,b2 as We,b3 as qe,b4 as nr,b5 as VA,a as Cr,d as sr,b6 as Er,b7 as Xe,b8 as dr,b9 as Br,ba as ZA,bb as lr,bc as Qr,bd as Ir,be as cr,T as Ve,b as hr,bf as pr,e as mr,bg as Ze,bh as $e,an as ur,bi as xr,ag as fr,as as _e}from"./index-BhvUwV_v.js";import{a as t,P as k}from"./sentry-DgGQRl6g.js";import{n as g,a as wr,c as xA,k as R}from"./mui-DqYnCiYu.js";import{L as kr}from"./lottie-oQfNS8l-.js";import{bg as Dr,bh as At,EL as et}from"./zeni-epic-state-WWg2r7iB.js";import{v as yr}from"./DashboardSidebarBackgroundAnimation-BuINHqA--61tWJjrX.js";import{L as jr,k as vr}from"./ArAgingChart-B3T4qk8t-CVyLgEv4.js";import{E as br,I as de,A as tt}from"./ReloadCard-8Tiu9Mq9-WidMrFBg.js";import{L as Mr,O as UA,c as lA}from"./TopExCard-B4CpuO-v-CxDodwtl.js";import{Y as Sr,X as Rr,H as Lr,P as Fr,G as Jr}from"./RevenueChart-D13bncyo-DisVSBsZ.js";import Pr from"./InsightsCardStack-Xn2rGwX0-BAx1TkHE.js";import{a as Ur}from"./AccountsPromoCardStack-CM2kVta7-D4DDSl1Z.js";import{c as V}from"./SummaryCard-D92z4WU0-Dk2J87_c.js";import{t as Or,o as Tr}from"./arrow-south-east-round-PEovUgvH-CV7FSM6U.js";import{N as gA}from"./NavigationArrow-DGSdnTKQ-CgfnFgIs.js";import{k as $A}from"./NavigationDots-BPsFQiss-Dqh0y0c_.js";import Yr from"./CompanyPassportCard-DjBkQwpn-Dd7qvLcE.js";import{C as Hr}from"./gift-box-Cmt9OgIZ-DNEMczKk.js";import Kr from"./InformationCardStack-Bx_9X95v-xPOrStCv.js";import{p as rt}from"./chartTypes-DjzTOuyH-BFNN0c4F.js";import{h as Nr}from"./toCOABalancesWithID-CjVmQxAs-8r-ogQXf.js";import{V as Gr}from"./toChartData-BFuIgA2L-C4IkmCYG.js";import{r as zr,i as Wr}from"./graphic-no-data-net-burn-l-CzmycA0m-C46dJM7J.js";import{N as qr,J as Xr}from"./PromoBaseCards-wfvFaqMw-CY2jDhRy.js";import{r as Vr}from"./core-B9Znwqny.js";import{N as Zr,I as $r}from"./VideoPlayer-_FcQClfH-cuN5RcOe.js";import _r from"./ConfettiBurst-D2FdlxTA-BPfMfLCc.js";import{F as Ao,G as eo,Y as to,X as ro,R as oo}from"./recharts-D7E0WJGk.js";import"./liveblocks-BqcT5iTZ.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./graphic-no-data-l-DU4J8fDt-Bx_mQw5e.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new A.Error().stack;a&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[a]="9e45c3f0-be53-4f32-90fb-20a45cd4ef2d",A._sentryDebugIdIdentifier="sentry-dbid-9e45c3f0-be53-4f32-90fb-20a45cd4ef2d")}catch{}})();const ao=g(tA)`
1
+ import{av as FA,aw as Ee,V as e,ax as Yt,F as Q,ay as Ht,az as Kt,o,aA as Nt,G as LA,p as u,aB as Gt,aC as zt,aD as Wt,aE as Be,aF as qt,aG as Xt,aH as Vt,aI as Zt,aJ as $t,aK as _t,aL as P,Q as eA,aM as N,aN as Y,aO as X,aP as D,a9 as Ar,aQ as Ke,x as Ne,ac as er,aR as tr,y as AA,aS as G,aT as tA,am as rA,aU as Ge,aV as J,aW as U,aX as qA,ao as rr,g as nA,aY as or,aZ as ar,a_ as ir,a$ as gr,ai as F,b0 as JA,u as S,aq as XA,al as PA,b1 as ze,b2 as We,b3 as qe,b4 as nr,b5 as VA,a as Cr,d as sr,b6 as Er,b7 as Xe,b8 as dr,b9 as Br,ba as ZA,bb as lr,bc as Qr,bd as Ir,be as cr,T as Ve,b as hr,bf as pr,e as mr,bg as Ze,bh as $e,an as ur,bi as xr,ag as fr,as as _e}from"./index-DYltSVfB.js";import{a as t,P as k}from"./sentry-DgGQRl6g.js";import{n as g,a as wr,c as xA,k as R}from"./mui-DqYnCiYu.js";import{L as kr}from"./lottie-oQfNS8l-.js";import{bg as Dr,bh as At,EL as et}from"./zeni-epic-state-WWg2r7iB.js";import{v as yr}from"./DashboardSidebarBackgroundAnimation-BuINHqA--Cg5tOJ8w.js";import{L as jr,k as vr}from"./ArAgingChart-B3T4qk8t-DC1aMv-c.js";import{E as br,I as de,A as tt}from"./ReloadCard-8Tiu9Mq9-B5a-0HR6.js";import{L as Mr,O as UA,c as lA}from"./TopExCard-B4CpuO-v-K-hQswGF.js";import{Y as Sr,X as Rr,H as Lr,P as Fr,G as Jr}from"./RevenueChart-D13bncyo-Buwd2M8n.js";import Pr from"./InsightsCardStack-Xn2rGwX0-C4QlW2rC.js";import{a as Ur}from"./AccountsPromoCardStack-CM2kVta7-xsv0XjLY.js";import{c as V}from"./SummaryCard-D92z4WU0-zmpilX3L.js";import{t as Or,o as Tr}from"./arrow-south-east-round-PEovUgvH-CV7FSM6U.js";import{N as gA}from"./NavigationArrow-DGSdnTKQ-DfQn-lGU.js";import{k as $A}from"./NavigationDots-BPsFQiss-DRnWaEzO.js";import Yr from"./CompanyPassportCard-DjBkQwpn-BuDYLpsd.js";import{C as Hr}from"./gift-box-Cmt9OgIZ-DNEMczKk.js";import Kr from"./InformationCardStack-Bx_9X95v-ReoH-Wcd.js";import{p as rt}from"./chartTypes-DjzTOuyH--xZuCRkY.js";import{h as Nr}from"./toCOABalancesWithID-CjVmQxAs-DiJZXqdL.js";import{V as Gr}from"./toChartData-BFuIgA2L-BBySQ0d2.js";import{r as zr,i as Wr}from"./graphic-no-data-net-burn-l-CzmycA0m-C46dJM7J.js";import{N as qr,J as Xr}from"./PromoBaseCards-wfvFaqMw-C39IUX2b.js";import{r as Vr}from"./core-B9Znwqny.js";import{N as Zr,I as $r}from"./VideoPlayer-_FcQClfH-CRE4D3aI.js";import _r from"./ConfettiBurst-D2FdlxTA-BHxreRuI.js";import{F as Ao,G as eo,Y as to,X as ro,R as oo}from"./recharts-D7E0WJGk.js";import"./liveblocks-BqcT5iTZ.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./graphic-no-data-l-DU4J8fDt-Bx_mQw5e.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new A.Error().stack;a&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[a]="9e45c3f0-be53-4f32-90fb-20a45cd4ef2d",A._sentryDebugIdIdentifier="sentry-dbid-9e45c3f0-be53-4f32-90fb-20a45cd4ef2d")}catch{}})();const ao=g(tA)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,le=g.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{Q as B,g as Z,F as _,aw as ke,V as s,bB as qe,T as Je,G as Qe,bC as Xe,o as d,y as N,aD as X,bD as Ke,bE as et,ai as oe,u as j,b3 as tt,aV as st,x as Oe,r as Be,p as D,aq as Pe,aU as ot,ba as at,an as nt,bF as it,at as rt,bG as ct,bH as ne,bI as lt,as as dt,am as pt,bJ as ut,bK as gt}from"./index-BhvUwV_v.js";import{a as S,P as K}from"./sentry-DgGQRl6g.js";import{n as u,k as Ie}from"./mui-DqYnCiYu.js";import{bg as mt,EN as ht,E7 as ft,EO as bt,EP as xt,EQ as _t,ER as wt,ES as yt,ET as St,EU as vt,EV as $t}from"./zeni-epic-state-WWg2r7iB.js";import{m as Y,l as se}from"./analyticsHelper-7cF4XxuH-_xEf-TSd.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-BwBEG73W-D23xRsEe.js";import{q as kt}from"./InsightsSection-CwyGEE7C-BgS40gth.js";import{k as Ot,q as Bt,U as xe,H as ee,N as pe}from"./detailCommon-CEOeZl26-CdFIe8qF.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-D13bncyo-DisVSBsZ.js";import{C as Nt}from"./NoDataChart-qG0jmc8Z-Dctec7eR.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-BCfDT5nQ-BnXndCyZ.js";import{b as Ne}from"./TimeframeSwitcher-CCMyvSSI-DIRa_Jc4.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-BWfFYJbH-BIiPdpTy.js";import{S as zt,M as At,g as Et,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-CjiNTI8L-BE28qPgb.js";import{d as Mt}from"./NoDataTable-CgKT7NGU-CuzMQ4sx.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-Bz1bR9oN-BR28SX0V.js";import{d as he}from"./mapLoadingInProgressToTreeNode-DoHalh0I-DytjKdZ3.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./NavigationDots-BPsFQiss-Dqh0y0c_.js";import"./chartTypes-DjzTOuyH-BFNN0c4F.js";import"./toCOABalancesWithID-CjVmQxAs-8r-ogQXf.js";import"./toChartData-BFuIgA2L-C4IkmCYG.js";import"./AccountRow-BVKk7u7h-CDJSAP1l.js";import"./graphic-no-data-l-DU4J8fDt-Bx_mQw5e.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]="5db59e99-f4d8-4545-896f-818c023eeb96",e._sentryDebugIdIdentifier="sentry-dbid-5db59e99-f4d8-4545-896f-818c023eeb96")}catch{}})();const Ft=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{Q as B,g as Z,F as _,aw as ke,V as s,bB as qe,T as Je,G as Qe,bC as Xe,o as d,y as N,aD as X,bD as Ke,bE as et,ai as oe,u as j,b3 as tt,aV as st,x as Oe,r as Be,p as D,aq as Pe,aU as ot,ba as at,an as nt,bF as it,at as rt,bG as ct,bH as ne,bI as lt,as as dt,am as pt,bJ as ut,bK as gt}from"./index-DYltSVfB.js";import{a as S,P as K}from"./sentry-DgGQRl6g.js";import{n as u,k as Ie}from"./mui-DqYnCiYu.js";import{bg as mt,EN as ht,E7 as ft,EO as bt,EP as xt,EQ as _t,ER as wt,ES as yt,ET as St,EU as vt,EV as $t}from"./zeni-epic-state-WWg2r7iB.js";import{m as Y,l as se}from"./analyticsHelper-7cF4XxuH-DLvrIzdF.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-BwBEG73W-CV7HMyUw.js";import{q as kt}from"./InsightsSection-CwyGEE7C-BgQsSBC8.js";import{k as Ot,q as Bt,U as xe,H as ee,N as pe}from"./detailCommon-CEOeZl26-B1iXLHB6.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-D13bncyo-Buwd2M8n.js";import{C as Nt}from"./NoDataChart-qG0jmc8Z-B_hbU-ac.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-BCfDT5nQ-CyE38Dxo.js";import{b as Ne}from"./TimeframeSwitcher-CCMyvSSI-DstqujKu.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-BWfFYJbH-Csx3Wpo7.js";import{S as zt,M as At,g as Et,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-CjiNTI8L-BMuLdMWD.js";import{d as Mt}from"./NoDataTable-CgKT7NGU-BpL_-uTW.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-Bz1bR9oN-Dre2GwgF.js";import{d as he}from"./mapLoadingInProgressToTreeNode-DoHalh0I-gsXyYQpy.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./NavigationDots-BPsFQiss-DRnWaEzO.js";import"./chartTypes-DjzTOuyH--xZuCRkY.js";import"./toCOABalancesWithID-CjVmQxAs-DiJZXqdL.js";import"./toChartData-BFuIgA2L-BBySQ0d2.js";import"./AccountRow-BVKk7u7h-DE3jk17J.js";import"./graphic-no-data-l-DU4J8fDt-Bx_mQw5e.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]="5db59e99-f4d8-4545-896f-818c023eeb96",e._sentryDebugIdIdentifier="sentry-dbid-5db59e99-f4d8-4545-896f-818c023eeb96")}catch{}})();const Ft=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{av as u,V as o,b5 as b,o as p}from"./index-BhvUwV_v.js";import{a as s}from"./sentry-DgGQRl6g.js";import{a as h,n as m}from"./mui-DqYnCiYu.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]="a74d6bf1-0ec9-48c1-abf5-55d92e19ccd4",e._sentryDebugIdIdentifier="sentry-dbid-a74d6bf1-0ec9-48c1-abf5-55d92e19ccd4")}catch{}})();const v=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const i=h(),r=e||n,d=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,l]=u(d,r),[t,c]=s.useState(null);a!=null&&t==null&&!l&&c(a);const f=e&&i.mode==="light"?.7:.2;return(e||n)&&t!=null?o.jsx(y,{contextWiseOpacity:f,newYearAnimationEnabled:n,children:o.jsx(b,{style:{width:"inherit",height:"inherit",display:"block"},animationData:t,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
1
+ import{av as u,V as o,b5 as b,o as p}from"./index-DYltSVfB.js";import{a as s}from"./sentry-DgGQRl6g.js";import{a as h,n as m}from"./mui-DqYnCiYu.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]="a74d6bf1-0ec9-48c1-abf5-55d92e19ccd4",e._sentryDebugIdIdentifier="sentry-dbid-a74d6bf1-0ec9-48c1-abf5-55d92e19ccd4")}catch{}})();const v=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const i=h(),r=e||n,d=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,l]=u(d,r),[t,c]=s.useState(null);a!=null&&t==null&&!l&&c(a);const f=e&&i.mode==="light"?.7:.2;return(e||n)&&t!=null?o.jsx(y,{contextWiseOpacity:f,newYearAnimationEnabled:n,children:o.jsx(b,{style:{width:"inherit",height:"inherit",display:"block"},animationData:t,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{aN as y,hz as u,Q as $,V as l,o as i,al as c,am as w}from"./index-BhvUwV_v.js";import{n as t}from"./mui-DqYnCiYu.js";import{g as k}from"./BoxItem-C-LLQ7NS-CyKsGaF0.js";import{o as v}from"./commonDimensions-CtIrih5r-CfslRtQI.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]="c30b0169-046c-4261-8787-229683da8853",e._sentryDebugIdIdentifier="sentry-dbid-c30b0169-046c-4261-8787-229683da8853")}catch{}})();function K({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:p,logo:x,summary:b,direction:f,status:m}=e,g=r.length>0?r:b,a=y("0,0.00",p),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(N,{src:x?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(T,{children:g}),s!=null?l.jsxs(C,{windowSize:o,children:[l.jsx(P,{windowSize:o}),l.jsx(E,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(Q,{windowSize:o,children:f==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{aN as y,hz as u,Q as $,V as l,o as i,al as c,am as w}from"./index-DYltSVfB.js";import{n as t}from"./mui-DqYnCiYu.js";import{g as k}from"./BoxItem-C-LLQ7NS-CetZc7bf.js";import{o as v}from"./commonDimensions-CtIrih5r-B1EQ7y18.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]="c30b0169-046c-4261-8787-229683da8853",e._sentryDebugIdIdentifier="sentry-dbid-c30b0169-046c-4261-8787-229683da8853")}catch{}})();function K({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:p,logo:x,summary:b,direction:f,status:m}=e,g=r.length>0?r:b,a=y("0,0.00",p),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(N,{src:x?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(T,{children:g}),s!=null?l.jsxs(C,{windowSize:o,children:[l.jsx(P,{windowSize:o}),l.jsx(E,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(Q,{windowSize:o,children:f==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -1,4 +1,4 @@
1
- import{g as M,Q as S,V as t,bB as I,b3 as F,hI as Y,o,F as z,p as u,cs as C,de as E,df as _,d9 as B,dg as L,y as T,ai as R,al as V,u as g}from"./index-BhvUwV_v.js";import{a as x}from"./sentry-DgGQRl6g.js";import{n as a}from"./mui-DqYnCiYu.js";import{bh as A}from"./zeni-epic-state-WWg2r7iB.js";import{$ as N}from"./BoxItem-C-LLQ7NS-CyKsGaF0.js";import{o as P}from"./commonDimensions-CtIrih5r-CfslRtQI.js";import{H as Q}from"./DepositAccTransactionItem-BE8LeqlM-hlhKmXR8.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="ff5cc5af-4db1-41f9-9b5f-de537bb0d19c",e._sentryDebugIdIdentifier="sentry-dbid-ff5cc5af-4db1-41f9-9b5f-de537bb0d19c")}catch{}})();const l=z.getLocalizedStrings(),H={listItemMargin:new T(g[3],g[8])};function X(e){const i=E(e,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,r=>r.length>0);return B(d,r=>({date:r[0].transactionDate,transactions:L(r,f=>f.transactionDate,"desc")}))}const q=Y(X),me=({transactionListView:e,onBackClick:i})=>{const d=M(),r=S(),f=x.createRef(),m=x.useRef(null),c=q(e.transactions),k=e.depositAccountName,p=c.length===0,j=n=>p===!1?c[n].transactions.length*P.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(p===!1){const s=c[n];return t.jsx(y,{style:{...h},children:t.jsx(w,{windowSize:r,children:t.jsxs($,{children:[t.jsx(O,{children:A().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,b)=>t.jsx(Q,{data:D,boxType:N(b,s.transactions.length)},b))})]})})})}else return t.jsx(y,{style:{...h},children:t.jsx(G,{children:t.jsx(w,{windowSize:r,children:t.jsx(K,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(J,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:d.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:m.current!=null?m:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(F,{children:({height:n,width:h})=>t.jsx(Z,{ref:f,height:n,width:h,outerRef:m,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},y=a.div``,w=a.div`
1
+ import{g as M,Q as S,V as t,bB as I,b3 as F,hI as Y,o,F as z,p as u,cs as C,de as E,df as _,d9 as B,dg as L,y as T,ai as R,al as V,u as g}from"./index-DYltSVfB.js";import{a as x}from"./sentry-DgGQRl6g.js";import{n as a}from"./mui-DqYnCiYu.js";import{bh as A}from"./zeni-epic-state-WWg2r7iB.js";import{$ as N}from"./BoxItem-C-LLQ7NS-CetZc7bf.js";import{o as P}from"./commonDimensions-CtIrih5r-B1EQ7y18.js";import{H as Q}from"./DepositAccTransactionItem-BE8LeqlM-BNISEok7.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="ff5cc5af-4db1-41f9-9b5f-de537bb0d19c",e._sentryDebugIdIdentifier="sentry-dbid-ff5cc5af-4db1-41f9-9b5f-de537bb0d19c")}catch{}})();const l=z.getLocalizedStrings(),H={listItemMargin:new T(g[3],g[8])};function X(e){const i=E(e,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,r=>r.length>0);return B(d,r=>({date:r[0].transactionDate,transactions:L(r,f=>f.transactionDate,"desc")}))}const q=Y(X),me=({transactionListView:e,onBackClick:i})=>{const d=M(),r=S(),f=x.createRef(),m=x.useRef(null),c=q(e.transactions),k=e.depositAccountName,p=c.length===0,j=n=>p===!1?c[n].transactions.length*P.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(p===!1){const s=c[n];return t.jsx(y,{style:{...h},children:t.jsx(w,{windowSize:r,children:t.jsxs($,{children:[t.jsx(O,{children:A().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,b)=>t.jsx(Q,{data:D,boxType:N(b,s.transactions.length)},b))})]})})})}else return t.jsx(y,{style:{...h},children:t.jsx(G,{children:t.jsx(w,{windowSize:r,children:t.jsx(K,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(J,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:d.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:m.current!=null?m:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(F,{children:({height:n,width:h})=>t.jsx(Z,{ref:f,height:n,width:h,outerRef:m,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},y=a.div``,w=a.div`
2
2
  margin: ${e=>`${o.sp0} ${H.listItemMargin.valuePx(e.windowSize)}`};
3
3
  `,G=a.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{Q as U,a9 as O,F as S,cE as q,aD as G,V as n,co as H,cp as J,cq as Q,ac as K,aR as X,y as b,eU as Y,o as Z,b9 as ee,u as o}from"./index-BhvUwV_v.js";import{a as C}from"./sentry-DgGQRl6g.js";import{n as h}from"./mui-DqYnCiYu.js";import{bi as T}from"./zeni-epic-state-WWg2r7iB.js";import{e as ne}from"./BankAccountSection-Cd_h3co--DCzIyA5D.js";import{M as te}from"./MagicLinkTitleSection-e9WYeJQA-BdMlQ905.js";import{W as ae,A as oe}from"./BankAccountWarningSection-Cz9fzMVv-CvaYS3T_.js";import{T as ie}from"./MailingDetailsSection--Lx7QBGW-BxmiDkr6.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]="98794c4b-e880-468c-8931-20f22429ae7d",e._sentryDebugIdIdentifier="sentry-dbid-98794c4b-e880-468c-8931-20f22429ae7d")}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])},D="domesticWireDetailsPage",k="bankAccountSection",j="mailingAddressSection",B=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:$,isMagicLink:g,currencySymbol:v,amount:P,onSaveHandler:R,onWireDetailsUpdated:z,onFetchBankName:I,onAddressClick:L,onBackClick:w}=e,u=U(),c=O({mode:"onBlur",reValidateMode:"onChange",defaultValues:C.useMemo(()=>se(s,r),[s,r])}),[E,f]=C.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{f(!1),c.reset(),w?.()},onCancelClick:()=>{f(!1)}},F=async(p,m)=>{const d=m[k].bankRoutingNumber;z(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&I?.(d)};C.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>F(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&R("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:[E===!0?n.jsx(H,{titleComponent:n.jsx(Q,{children:a.discardTitle}),descriptionComponent:n.jsx(J,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:$??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:g,isDirty:N,onBackClick:w,setShowConfirmationPopup:f}),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(K,{...c,children:n.jsxs("form",{id:B(D),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:j,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:B(D),primaryBtn:{label:g?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?f(!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},[j]:{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{Q as U,a9 as O,F as S,cE as q,aD as G,V as n,co as H,cp as J,cq as Q,ac as K,aR as X,y as b,eU as Y,o as Z,b9 as ee,u as o}from"./index-DYltSVfB.js";import{a as C}from"./sentry-DgGQRl6g.js";import{n as h}from"./mui-DqYnCiYu.js";import{bi as T}from"./zeni-epic-state-WWg2r7iB.js";import{e as ne}from"./BankAccountSection-Cd_h3co--DX3-l7uu.js";import{M as te}from"./MagicLinkTitleSection-e9WYeJQA-oFDVq4Q3.js";import{W as ae,A as oe}from"./BankAccountWarningSection-Cz9fzMVv-C78lIrf-.js";import{T as ie}from"./MailingDetailsSection--Lx7QBGW-DZvTXReS.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]="98794c4b-e880-468c-8931-20f22429ae7d",e._sentryDebugIdIdentifier="sentry-dbid-98794c4b-e880-468c-8931-20f22429ae7d")}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])},D="domesticWireDetailsPage",k="bankAccountSection",j="mailingAddressSection",B=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:$,isMagicLink:g,currencySymbol:v,amount:P,onSaveHandler:R,onWireDetailsUpdated:z,onFetchBankName:I,onAddressClick:L,onBackClick:w}=e,u=U(),c=O({mode:"onBlur",reValidateMode:"onChange",defaultValues:C.useMemo(()=>se(s,r),[s,r])}),[E,f]=C.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{f(!1),c.reset(),w?.()},onCancelClick:()=>{f(!1)}},F=async(p,m)=>{const d=m[k].bankRoutingNumber;z(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&I?.(d)};C.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>F(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&R("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:[E===!0?n.jsx(H,{titleComponent:n.jsx(Q,{children:a.discardTitle}),descriptionComponent:n.jsx(J,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:$??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:g,isDirty:N,onBackClick:w,setShowConfirmationPopup:f}),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(K,{...c,children:n.jsxs("form",{id:B(D),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:j,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:B(D),primaryBtn:{label:g?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?f(!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},[j]:{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,c2 as it,o as s,Q as he,c3 as nt,an as He,p as ue,y as W,x as lt,F,c4 as dt,bN as Ue,u as B,b9 as qe,al as L,bQ as ke,b as te,am as be,r as ae,g as We,bS as ct,c5 as xe,c6 as ge,T as Ge,c7 as Ze,bL as pt,ba as mt,ao as ye,c8 as Z,c9 as ft,ca as ht,bJ as ut,bR as bt,aq as xt,cb as gt,b_ as yt,at as $t}from"./index-BhvUwV_v.js";import{a as h,P as $e}from"./sentry-DgGQRl6g.js";import{n,k as Je}from"./mui-DqYnCiYu.js";import{F4 as me,F5 as C,F6 as J,bL as P,F7 as X,F8 as we,F9 as U,bh as wt,Fa as k,Fb as Ft,Fc as vt,Fd as jt,Fe as Ot,Ff as Yt}from"./zeni-epic-state-WWg2r7iB.js";import{m as Dt}from"./analyticsHelper-7cF4XxuH-_xEf-TSd.js";import{g as _t,x as kt}from"./ReportTableViewSelector-BwBEG73W-D23xRsEe.js";import{t as Ct}from"./page-detail-CWX5S47F-C4YmGfRe.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./CollapsableReportTable-BWfFYJbH-BIiPdpTy.js";import"./AccountRow-BVKk7u7h-CDJSAP1l.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]="d8b829c0-8ec9-435b-88d3-9633b7f1a26c",e._sentryDebugIdIdentifier="sentry-dbid-d8b829c0-8ec9-435b-88d3-9633b7f1a26c")}catch{}})();const Pt=["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 ie(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}=C(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=C(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function oe(e,o,r,a=1){if(a>1){const i=J(r,e,a-1,o),{startOfTimeframeFY:l}=C(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 Ce{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,p=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=p}get value(){return oe(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=me(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=C(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}=C(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=C(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=ie(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=C(me(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}=C(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 le=["1","2","3","4"],de=wt().localeData().monthsShort(),A={pdf:12,excel:100,csv:100},E=(e,o,r)=>{const a=F.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let m=l;for(;m.isSameOrBefore(p,"year");)i.push(m.format(a)),m=me(m,e,1,"year")}else{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");let{fyYear:m}=k(l,e);const{fyYear:u}=k(p,e);for(;m<=u;)i.push(`${m}`),m++}return i},St=n.div`
1
+ import{V as t,c2 as it,o as s,Q as he,c3 as nt,an as He,p as ue,y as W,x as lt,F,c4 as dt,bN as Ue,u as B,b9 as qe,al as L,bQ as ke,b as te,am as be,r as ae,g as We,bS as ct,c5 as xe,c6 as ge,T as Ge,c7 as Ze,bL as pt,ba as mt,ao as ye,c8 as Z,c9 as ft,ca as ht,bJ as ut,bR as bt,aq as xt,cb as gt,b_ as yt,at as $t}from"./index-DYltSVfB.js";import{a as h,P as $e}from"./sentry-DgGQRl6g.js";import{n,k as Je}from"./mui-DqYnCiYu.js";import{F4 as me,F5 as C,F6 as J,bL as P,F7 as X,F8 as we,F9 as U,bh as wt,Fa as k,Fb as Ft,Fc as vt,Fd as jt,Fe as Ot,Ff as Yt}from"./zeni-epic-state-WWg2r7iB.js";import{m as Dt}from"./analyticsHelper-7cF4XxuH-DLvrIzdF.js";import{g as _t,x as kt}from"./ReportTableViewSelector-BwBEG73W-CV7HMyUw.js";import{t as Ct}from"./page-detail-CWX5S47F-C4YmGfRe.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./CollapsableReportTable-BWfFYJbH-Csx3Wpo7.js";import"./AccountRow-BVKk7u7h-DE3jk17J.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]="d8b829c0-8ec9-435b-88d3-9633b7f1a26c",e._sentryDebugIdIdentifier="sentry-dbid-d8b829c0-8ec9-435b-88d3-9633b7f1a26c")}catch{}})();const Pt=["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 ie(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}=C(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=C(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function oe(e,o,r,a=1){if(a>1){const i=J(r,e,a-1,o),{startOfTimeframeFY:l}=C(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 Ce{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,p=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=p}get value(){return oe(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=me(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=C(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}=C(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=C(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=ie(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=C(me(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}=C(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 le=["1","2","3","4"],de=wt().localeData().monthsShort(),A={pdf:12,excel:100,csv:100},E=(e,o,r)=>{const a=F.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let m=l;for(;m.isSameOrBefore(p,"year");)i.push(m.format(a)),m=me(m,e,1,"year")}else{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");let{fyYear:m}=k(l,e);const{fyYear:u}=k(p,e);for(;m<=u;)i.push(`${m}`),m++}return i},St=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{Q as a,V as i,bS as y,o as r,y as s,F as h,c1 as P,a as c,d as g,x as b,u as t,aN as k,j_ as L,j$ as D,k0 as _}from"./index-BhvUwV_v.js";import{n as o}from"./mui-DqYnCiYu.js";import"./sentry-DgGQRl6g.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="1ce9aae7-1cb7-4771-9201-3417e68176a0",e._sentryDebugIdIdentifier="sentry-dbid-1ce9aae7-1cb7-4771-9201-3417e68176a0")}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,C=({rewardsPlan:e})=>{const n=[I(),R(),B({rewardsPlan:e})],d=a();return i.jsx(A,{children:n.map((j,f)=>i.jsxs(F,{children:[i.jsx(Q,{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(M,{windowSize:e})}),i.jsx(S,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{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(N,{windowSize:e})}),i.jsx(S,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},B=({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(E,{windowSize:n})}),i.jsx(S,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(z,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))})})]})},p=o.div`
1
+ import{Q as a,V as i,bS as y,o as r,y as s,F as h,c1 as P,a as c,d as g,x as b,u as t,aN as k,j_ as L,j$ as D,k0 as _}from"./index-DYltSVfB.js";import{n as o}from"./mui-DqYnCiYu.js";import"./sentry-DgGQRl6g.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="1ce9aae7-1cb7-4771-9201-3417e68176a0",e._sentryDebugIdIdentifier="sentry-dbid-1ce9aae7-1cb7-4771-9201-3417e68176a0")}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,C=({rewardsPlan:e})=>{const n=[I(),R(),B({rewardsPlan:e})],d=a();return i.jsx(A,{children:n.map((j,f)=>i.jsxs(F,{children:[i.jsx(Q,{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(M,{windowSize:e})}),i.jsx(S,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{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(N,{windowSize:e})}),i.jsx(S,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},B=({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(E,{windowSize:n})}),i.jsx(S,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(z,{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{Q as ie,fR as ae,g as de,a9 as pe,aQ as ce,V as t,co as ue,ap as me,cp as ge,cq as fe,gO as he,cu as ye,o as n,bS as be,aP as L,ac as ve,aR as xe,y as P,F as $e,cA as we,fU as Re,fV as je,fW as Ce,b9 as Ie,p as Q,cZ as ke,u}from"./index-BhvUwV_v.js";import{a as w}from"./sentry-DgGQRl6g.js";import{n as l}from"./mui-DqYnCiYu.js";import{FB as Oe,bg as _e}from"./zeni-epic-state-WWg2r7iB.js";import{f as Pe}from"./AllUserItems-CLsMcXeg-B7yfRaza.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./LabeledUserSingleSelectWithSubtitlesField-i7qOybJ3-QdNWRUWG.js";import"./RoleWithToolTip-DvYf0VUz-DfyQTHhc.js";import"./LabeledZeniRolesDropDownField-BhNbXDjb-DgKv1slV.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]="a696a51d-512a-4141-9f26-02ded7cb9c79",e._sentryDebugIdIdentifier="sentry-dbid-a696a51d-512a-4141-9f26-02ded7cb9c79")}catch{}})();const C={containerPaddingTop:new P(u[3],u[3]),containerPaddingLeft:new P(u[3],u[6],u[6]),containerPaddingRight:new P(u[3],u[6],u[8]),buttonWidth:new P(85,85)},Y="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:I,mode:p,isZeniTenant:T,onCloseClick:k,onResetClick:O,onSaveClick:m,onDeleteUser:J,onPeopleLocalDataUpdated:M,analytics:E,isReimbursementDisabled:z,isZeniAccountsDisabled:q,isChargeCardDisabled:N,isTreasuryDisabled:Z,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:A})=>{const j=ie(),[X,B]=w.useState(!1),[H,K]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),S=w.useMemo(()=>ae(z,q,N,b,v,A,Z),[z,q,N,b,v,A,Z]),V=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:G(e.people,o,y,p,S,b,v),values:G(e.people,o,y,p,S,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:D,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const s=D.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,D=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(D!=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(U=>Oe(U.selectedOption?.value)).filter(U=>U!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=_e(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),M(f)};w.useEffect(()=>{const g=i.watch((r,{name:f})=>{f!=null&&r!=null&&ne(f,r)});return()=>{g.unsubscribe()}});const oe=()=>{B(!0)},re={onOkClick:()=>{const g=e.person;E?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),J?.(e.person)},onCancelClick:()=>{B(!1)}},W=ce(e.person?.update),_=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{_==null&&W==="removeUsers"&&(B(!1),O?.())},[_,W]),t.jsxs(t.Fragment,{children:[X===!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:_==="removeUsers",isDisabled:_==="removeUsers",style:{background:V.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(ze,{}),t.jsx(Le,{children:t.jsx(Ee,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:V.colors.grey4,style:{zIndex:4},onCloseClick:k,isTitleAlignLeft:j==="small"}),t.jsxs(Te,{"data-testid":L("edit-people-page-container"),windowSize:j,ref:te,children:[t.jsxs(Ue,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Be,{children:[t.jsx(Se,{children:e.person?.user?.firstName?t.jsxs(De,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ne,{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(qe,{windowsize:j})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${Y}_form`,onSubmit:se,children:t.jsx(Pe,{control:i.control,sectionId:R,deleteConfirmationIndex:H,updateDeleteConfirmationIndex:K,mode:p,isZeniTenant:T,classList:y,managersList:o,controllersList:I,customerRoleOptions:S,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:E})})})]}),t.jsx(xe,{formId:`${Y}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:C.buttonWidth.value(j)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:C.buttonWidth.value(j)},shouldResetOnCancel:!1,onClick:k},separatorStyle:{marginRight:n.sp4}})]})},G=(e,o,y,I,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:I==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:I!=="zeni_only"?{userRole:{selectedRole:Ce(e[0]?.role),allRootRole:je(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{Q as ie,fR as ae,g as de,a9 as pe,aQ as ce,V as t,co as ue,ap as me,cp as ge,cq as fe,gO as he,cu as ye,o as n,bS as be,aP as L,ac as ve,aR as xe,y as P,F as $e,cA as we,fU as Re,fV as je,fW as Ce,b9 as Ie,p as Q,cZ as ke,u}from"./index-DYltSVfB.js";import{a as w}from"./sentry-DgGQRl6g.js";import{n as l}from"./mui-DqYnCiYu.js";import{FB as Oe,bg as _e}from"./zeni-epic-state-WWg2r7iB.js";import{f as Pe}from"./AllUserItems-CLsMcXeg-C_vBaRY0.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./LabeledUserSingleSelectWithSubtitlesField-i7qOybJ3-bSlpKmiR.js";import"./RoleWithToolTip-DvYf0VUz-CCXcCA1t.js";import"./LabeledZeniRolesDropDownField-BhNbXDjb-Dujasvos.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]="a696a51d-512a-4141-9f26-02ded7cb9c79",e._sentryDebugIdIdentifier="sentry-dbid-a696a51d-512a-4141-9f26-02ded7cb9c79")}catch{}})();const C={containerPaddingTop:new P(u[3],u[3]),containerPaddingLeft:new P(u[3],u[6],u[6]),containerPaddingRight:new P(u[3],u[6],u[8]),buttonWidth:new P(85,85)},Y="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:I,mode:p,isZeniTenant:T,onCloseClick:k,onResetClick:O,onSaveClick:m,onDeleteUser:J,onPeopleLocalDataUpdated:M,analytics:E,isReimbursementDisabled:z,isZeniAccountsDisabled:q,isChargeCardDisabled:N,isTreasuryDisabled:Z,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:A})=>{const j=ie(),[X,B]=w.useState(!1),[H,K]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),S=w.useMemo(()=>ae(z,q,N,b,v,A,Z),[z,q,N,b,v,A,Z]),V=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:G(e.people,o,y,p,S,b,v),values:G(e.people,o,y,p,S,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:D,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const s=D.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,D=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(D!=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(U=>Oe(U.selectedOption?.value)).filter(U=>U!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=_e(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),M(f)};w.useEffect(()=>{const g=i.watch((r,{name:f})=>{f!=null&&r!=null&&ne(f,r)});return()=>{g.unsubscribe()}});const oe=()=>{B(!0)},re={onOkClick:()=>{const g=e.person;E?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),J?.(e.person)},onCancelClick:()=>{B(!1)}},W=ce(e.person?.update),_=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{_==null&&W==="removeUsers"&&(B(!1),O?.())},[_,W]),t.jsxs(t.Fragment,{children:[X===!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:_==="removeUsers",isDisabled:_==="removeUsers",style:{background:V.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(ze,{}),t.jsx(Le,{children:t.jsx(Ee,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:V.colors.grey4,style:{zIndex:4},onCloseClick:k,isTitleAlignLeft:j==="small"}),t.jsxs(Te,{"data-testid":L("edit-people-page-container"),windowSize:j,ref:te,children:[t.jsxs(Ue,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Be,{children:[t.jsx(Se,{children:e.person?.user?.firstName?t.jsxs(De,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ne,{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(qe,{windowsize:j})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${Y}_form`,onSubmit:se,children:t.jsx(Pe,{control:i.control,sectionId:R,deleteConfirmationIndex:H,updateDeleteConfirmationIndex:K,mode:p,isZeniTenant:T,classList:y,managersList:o,controllersList:I,customerRoleOptions:S,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:E})})})]}),t.jsx(xe,{formId:`${Y}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:C.buttonWidth.value(j)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:C.buttonWidth.value(j)},shouldResetOnCancel:!1,onClick:k},separatorStyle:{marginRight:n.sp4}})]})},G=(e,o,y,I,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:I==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:I!=="zeni_only"?{userRole:{selectedRole:Ce(e[0]?.role),allRootRole:je(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{aQ as li,g as ft,aw as wt,a9 as an,ay as Ii,aD as rn,Q as Re,gg as ao,gi as ro,gj as lo,V as t,gE as so,ac as ln,co as di,cp as sn,cq as dn,aP as H,o as i,y as d,bB as Ti,bo as co,dt as uo,gk as mo,gv as cn,gq as Di,aR as un,ao as mn,gr as po,gF as Ve,ez as Ke,f1 as ci,gG as Bt,F as fe,T as xt,gH as ho,p as j,x as pn,aq as ui,u as a,bx as go,gt as yo,cF as bo,eH as mi,gI as Mt,fg as Se,cJ as pi,fj as $e,cI as nt,ej as fo,ff as hn,b as Rt,cM as gn,cL as tt,er as Te,ai as hi,gJ as wo,fy as xo,cE as So,aV as ji,fs as $o,bw as vo,ba as yn,e as Co,ei as ko,b7 as Ft,gl as Io,bU as bn,a as gi,d as fn,c_ as wn,ch as Et,eU as To,b9 as Do,d2 as jo,fm as Oo,al as yi,r as Oi,bS as xn,b1 as Pi,cZ as Po,am as Lo,cQ as Sn,aN as Ro,gK as $n,gL as si,ga as Li,gM as At,cN as Ao,gf as zo,bJ as Bo,cY as Mo}from"./index-BhvUwV_v.js";import{a as S,P as kt}from"./sentry-DgGQRl6g.js";import{n}from"./mui-DqYnCiYu.js";import{a as Fo}from"./liveblocks-BqcT5iTZ.js";import{FI as Eo,bL as it,bP as vn,bo as Cn,bm as Ri,FJ as Ai,bh as bi}from"./zeni-epic-state-WWg2r7iB.js";import kn from"./InvoiceUploadSection-rCCcSbbj-CFzlgKg9.js";import{r as No,f as zt,d as bt,p as fi,u as zi,h as ke}from"./types-DyvtCprH-NFPm5TaG.js";import{I as Wo}from"./LabeledCreatableSingleSelectField-DzB7KPXf-BwfCQ3vj.js";import{S as Uo}from"./CurrencySelectField-Dpcv7_rA-DStJFuSr.js";import{e as _o}from"./BankAccountSection-Cd_h3co--DCzIyA5D.js";import{W as Vo,A as Ho}from"./BankAccountWarningSection-Cz9fzMVv-CvaYS3T_.js";import{o as qo}from"./radio-default-CiSgisfh-C5tnzklf.js";import"./core-B9Znwqny.js";import"./lottie-oQfNS8l-.js";import"./recharts-D7E0WJGk.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./AttachmentView-BJfqJ9hP-BtlO-7I1.js";import"./uploadReceipts-DJRtId-4-xnWXJPvb.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]="2f5d69db-c75b-4bd7-85c6-d5f1531e7ab9",e._sentryDebugIdIdentifier="sentry-dbid-2f5d69db-c75b-4bd7-85c6-d5f1531e7ab9")}catch{}})();const Me=(e,o)=>`${e}.${o}`,Bi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Ce}},dateFormat:Ko,common:Go}=fe.getLocalizedStrings(),Jo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:v,companyMileageConfigInfo:f,reimbursementId:l,classHierarchyList:k})=>{const w=Re(),s=wt(),y=Mt(),$=`dashboard_${s.currentTenant?.companyId}`,P=ft(),{formState:{errors:I},getValues:L,trigger:q}=nt(),R=Go.strings.empty,T=L(Me(p,"distanceInMiles")),B=Bi.largeLabelWidth.value(w),te=L(Me(p,"class")),ne=r.find(z=>z.classId===te?.selectedOption),oe=Me(p,"class"),J=Te(I,oe);S.useEffect(()=>{te?.selectedOption!=null&&(ne?.isDeleted===!0||J)&&q(oe)},[te?.selectedOption,ne?.isDeleted,r,oe,q]);const K={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},F=z=>r.filter(ae=>ae.classId===z)[0]?.accountingClassNumber,Y=r.find(z=>z.classId===o.class),V={valueContainer:z=>({...z,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.transactionDate`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("transactionDate",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Sn,{isDisabled:m,label:{label:Ce.transactionDate,width:B},style:{paddingBottom:Bi.paddingBottom.valuePx(w),width:"auto"},dateField:{name:Me(p,"transactionDate"),placeholder:Ce.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Ko.visual.defaultInput,autoComplete:"off",maxDate:bi(),registerOptions:{required:!0,validate:z=>!!z}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:v?"disabled":void 0,style:{width:"auto"},label:{label:Ce.distanceInMiles,width:B},formattedTextField:{type:"number",name:Me(p,"distanceInMiles"),placeholder:Ce.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.amount`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("amount",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:"disabled",label:{label:Ce.amount,width:B},formattedTextField:{type:"number",name:Me(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:tt(Ce.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:T!=null&&f?.mileageUnitAmount!=null?`${c.currencySymbol}${f?.mileageUnitAmount} per mile x ${T}`:void 0})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.memo`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("memo",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(pi,{isDisabled:m,label:{label:Ce.memo,width:B},style:{width:"auto"},text:{type:"text",name:Me(p,"memo"),placeholder:tt(Ce.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:$n}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.class`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("class",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(si,{isLoading:!1,label:{label:Ce.department,width:B},additionalLabelInfo:ne?.isDeleted===!0&&Te(I,Me(p,"class"))?Ce.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Me(p,"class"),placeholder:tt(Ce.department),valueToId:z=>F(z),defaultValue:{selectedOption:Y?.classId,allOptions:Ke(k,[])},style:{width:"100%"},customStyleConfig:V,registerOptions:{required:!0,validate:z=>z?.selectedOption==null?!1:r.find(ae=>ae.classId===z?.selectedOption)?.isDeleted===!0?Ce.deletedClassError:!0}},style:{borderBottom:`1px solid ${P.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Me(p,"class"))})]})},It=n.div`
1
+ import{aQ as li,g as ft,aw as wt,a9 as an,ay as Ii,aD as rn,Q as Re,gg as ao,gi as ro,gj as lo,V as t,gE as so,ac as ln,co as di,cp as sn,cq as dn,aP as H,o as i,y as d,bB as Ti,bo as co,dt as uo,gk as mo,gv as cn,gq as Di,aR as un,ao as mn,gr as po,gF as Ve,ez as Ke,f1 as ci,gG as Bt,F as fe,T as xt,gH as ho,p as j,x as pn,aq as ui,u as a,bx as go,gt as yo,cF as bo,eH as mi,gI as Mt,fg as Se,cJ as pi,fj as $e,cI as nt,ej as fo,ff as hn,b as Rt,cM as gn,cL as tt,er as Te,ai as hi,gJ as wo,fy as xo,cE as So,aV as ji,fs as $o,bw as vo,ba as yn,e as Co,ei as ko,b7 as Ft,gl as Io,bU as bn,a as gi,d as fn,c_ as wn,ch as Et,eU as To,b9 as Do,d2 as jo,fm as Oo,al as yi,r as Oi,bS as xn,b1 as Pi,cZ as Po,am as Lo,cQ as Sn,aN as Ro,gK as $n,gL as si,ga as Li,gM as At,cN as Ao,gf as zo,bJ as Bo,cY as Mo}from"./index-DYltSVfB.js";import{a as S,P as kt}from"./sentry-DgGQRl6g.js";import{n}from"./mui-DqYnCiYu.js";import{a as Fo}from"./liveblocks-BqcT5iTZ.js";import{FI as Eo,bL as it,bP as vn,bo as Cn,bm as Ri,FJ as Ai,bh as bi}from"./zeni-epic-state-WWg2r7iB.js";import kn from"./InvoiceUploadSection-rCCcSbbj-BXDZYW2T.js";import{r as No,f as zt,d as bt,p as fi,u as zi,h as ke}from"./types-DyvtCprH-NFPm5TaG.js";import{I as Wo}from"./LabeledCreatableSingleSelectField-DzB7KPXf-B4UxeEYu.js";import{S as Uo}from"./CurrencySelectField-Dpcv7_rA-CvKH35Va.js";import{e as _o}from"./BankAccountSection-Cd_h3co--DX3-l7uu.js";import{W as Vo,A as Ho}from"./BankAccountWarningSection-Cz9fzMVv-C78lIrf-.js";import{o as qo}from"./radio-default-CiSgisfh-C5tnzklf.js";import"./core-B9Znwqny.js";import"./lottie-oQfNS8l-.js";import"./recharts-D7E0WJGk.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./AttachmentView-BJfqJ9hP-CzySTjT1.js";import"./uploadReceipts-DJRtId-4-Ck-2fUTH.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]="2f5d69db-c75b-4bd7-85c6-d5f1531e7ab9",e._sentryDebugIdIdentifier="sentry-dbid-2f5d69db-c75b-4bd7-85c6-d5f1531e7ab9")}catch{}})();const Me=(e,o)=>`${e}.${o}`,Bi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:Ce}},dateFormat:Ko,common:Go}=fe.getLocalizedStrings(),Jo=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:v,companyMileageConfigInfo:f,reimbursementId:l,classHierarchyList:k})=>{const w=Re(),s=wt(),y=Mt(),$=`dashboard_${s.currentTenant?.companyId}`,P=ft(),{formState:{errors:I},getValues:L,trigger:q}=nt(),R=Go.strings.empty,T=L(Me(p,"distanceInMiles")),B=Bi.largeLabelWidth.value(w),te=L(Me(p,"class")),ne=r.find(z=>z.classId===te?.selectedOption),oe=Me(p,"class"),J=Te(I,oe);S.useEffect(()=>{te?.selectedOption!=null&&(ne?.isDeleted===!0||J)&&q(oe)},[te?.selectedOption,ne?.isDeleted,r,oe,q]);const K={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},F=z=>r.filter(ae=>ae.classId===z)[0]?.accountingClassNumber,Y=r.find(z=>z.classId===o.class),V={valueContainer:z=>({...z,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.transactionDate`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("transactionDate",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Sn,{isDisabled:m,label:{label:Ce.transactionDate,width:B},style:{paddingBottom:Bi.paddingBottom.valuePx(w),width:"auto"},dateField:{name:Me(p,"transactionDate"),placeholder:Ce.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Ko.visual.defaultInput,autoComplete:"off",maxDate:bi(),registerOptions:{required:!0,validate:z=>!!z}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:v?"disabled":void 0,style:{width:"auto"},label:{label:Ce.distanceInMiles,width:B},formattedTextField:{type:"number",name:Me(p,"distanceInMiles"),placeholder:Ce.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.amount`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("amount",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Li,{isDisabled:"disabled",label:{label:Ce.amount,width:B},formattedTextField:{type:"number",name:Me(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:tt(Ce.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:z=>z!=null?z>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:T!=null&&f?.mileageUnitAmount!=null?`${c.currencySymbol}${f?.mileageUnitAmount} per mile x ${T}`:void 0})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.memo`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("memo",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(pi,{isDisabled:m,label:{label:Ce.memo,width:B},style:{width:"auto"},text:{type:"text",name:Me(p,"memo"),placeholder:tt(Ce.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:$n}}})}),t.jsx(It,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.class`}),roomId:$,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...K,entityType:`reimbursement.details.${ke("class",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(si,{isLoading:!1,label:{label:Ce.department,width:B},additionalLabelInfo:ne?.isDeleted===!0&&Te(I,Me(p,"class"))?Ce.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Me(p,"class"),placeholder:tt(Ce.department),valueToId:z=>F(z),defaultValue:{selectedOption:Y?.classId,allOptions:Ke(k,[])},style:{width:"100%"},customStyleConfig:V,registerOptions:{required:!0,validate:z=>z?.selectedOption==null?!1:r.find(ae=>ae.classId===z?.selectedOption)?.isDeleted===!0?Ce.deletedClassError:!0}},style:{borderBottom:`1px solid ${P.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Me(p,"class"))})]})},It=n.div`
2
2
  display: flex;
3
3
  flex: 1;
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{g as b,F as T,aV as x,V as i,ax as v,o,G as p}from"./index-BhvUwV_v.js";import{n as a}from"./mui-DqYnCiYu.js";import{R as C}from"./TrendWithTransactions-zZUv_Qrs-BElxtx49.js";import"./sentry-DgGQRl6g.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./TrendChart-dVd4QdGQ-CLKuTzb2.js";import"./chartTypes-DjzTOuyH-BFNN0c4F.js";import"./toCOABalancesWithID-CjVmQxAs-8r-ogQXf.js";import"./toChartData-BFuIgA2L-C4IkmCYG.js";import"./NoDataChart-qG0jmc8Z-Dctec7eR.js";import"./InsightsSection-CwyGEE7C-BgS40gth.js";import"./NavigationDots-BPsFQiss-Dqh0y0c_.js";import"./TransactionList-CSfzB0gM-Dw6vqliW.js";import"./BoxItem-C-LLQ7NS-CyKsGaF0.js";import"./commonDimensions-CtIrih5r-CfslRtQI.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]="074ba9c1-4f2b-4575-89a3-434c9ccddb88",t._sentryDebugIdIdentifier="sentry-dbid-074ba9c1-4f2b-4575-89a3-434c9ccddb88")}catch{}})();const w=a.div`
1
+ import{g as b,F as T,aV as x,V as i,ax as v,o,G as p}from"./index-DYltSVfB.js";import{n as a}from"./mui-DqYnCiYu.js";import{R as C}from"./TrendWithTransactions-zZUv_Qrs-BCC3U8tC.js";import"./sentry-DgGQRl6g.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./TrendChart-dVd4QdGQ-BJjG22Ov.js";import"./chartTypes-DjzTOuyH--xZuCRkY.js";import"./toCOABalancesWithID-CjVmQxAs-DiJZXqdL.js";import"./toChartData-BFuIgA2L-BBySQ0d2.js";import"./NoDataChart-qG0jmc8Z-B_hbU-ac.js";import"./InsightsSection-CwyGEE7C-BgQsSBC8.js";import"./NavigationDots-BPsFQiss-DRnWaEzO.js";import"./TransactionList-CSfzB0gM-BBDl0CVZ.js";import"./BoxItem-C-LLQ7NS-CetZc7bf.js";import"./commonDimensions-CtIrih5r-B1EQ7y18.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]="074ba9c1-4f2b-4575-89a3-434c9ccddb88",t._sentryDebugIdIdentifier="sentry-dbid-074ba9c1-4f2b-4575-89a3-434c9ccddb88")}catch{}})();const w=a.div`
2
2
  display: flex;
3
3
  margin: ${o.sp0} ${o.sp0} ${o.sp0} ${o.sp0};
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{Q as z,F as L,V as i,dq as O,y as l,d0 as _,o as d,aa as j,aN as S,b3 as A,cs as E,u as r,M as B,am as R,al as k,b9 as F,ai as N,cy as U,p as W,cB as G}from"./index-BhvUwV_v.js";import{a as f}from"./sentry-DgGQRl6g.js";import{n}from"./mui-DqYnCiYu.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:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="927558d1-5eae-41e3-81be-9e517c703c22",e._sentryDebugIdIdentifier="sentry-dbid-927558d1-5eae-41e3-81be-9e517c703c22")}catch{}})();const w=L.getLocalizedStrings().reports.aging.agingDetail.header,m=[{key:"date",value:w.date,sortOrder:"ascending",width:new l(212,212)},{key:"invoiceNumber",value:w.invoiceNumber,sortOrder:"ascending",width:new l(188,188)},{key:"dueDate",value:w.dueDate,sortOrder:"ascending",width:new l(188,188)},{key:"daysPastDue",value:w.daysPastDue,sortOrder:"ascending",width:new l(188,188)},{key:"amount",value:w.amount,sortOrder:"ascending",width:new l(188,188)},{key:"balance",value:w.balance,sortOrder:"ascending",width:new l(120,120)}],M={headerHeight:new l(45,58)},Q=n.div`
1
+ import{Q as z,F as L,V as i,dq as O,y as l,d0 as _,o as d,aa as j,aN as S,b3 as A,cs as E,u as r,M as B,am as R,al as k,b9 as F,ai as N,cy as U,p as W,cB as G}from"./index-DYltSVfB.js";import{a as f}from"./sentry-DgGQRl6g.js";import{n}from"./mui-DqYnCiYu.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:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="927558d1-5eae-41e3-81be-9e517c703c22",e._sentryDebugIdIdentifier="sentry-dbid-927558d1-5eae-41e3-81be-9e517c703c22")}catch{}})();const w=L.getLocalizedStrings().reports.aging.agingDetail.header,m=[{key:"date",value:w.date,sortOrder:"ascending",width:new l(212,212)},{key:"invoiceNumber",value:w.invoiceNumber,sortOrder:"ascending",width:new l(188,188)},{key:"dueDate",value:w.dueDate,sortOrder:"ascending",width:new l(188,188)},{key:"daysPastDue",value:w.daysPastDue,sortOrder:"ascending",width:new l(188,188)},{key:"amount",value:w.amount,sortOrder:"ascending",width:new l(188,188)},{key:"balance",value:w.balance,sortOrder:"ascending",width:new l(120,120)}],M={headerHeight:new l(45,58)},Q=n.div`
2
2
  top: ${d.sp0};
3
3
  left: ${d.sp0};
4
4
  min-height: ${e=>M.headerHeight.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{g as Q,Q as le,cc as de,V as t,g4 as q,aP as b,bN as ce,p as a,bS as z,o as r,bB as he,k9 as pe,b as d,hN as _,hM as T,r as me,bw as ue,ag as ge,ka as Ce,kb as ke,F as k,cj as xe,M as fe,bJ as je,ai as h,au as U,al as ye,f as be,b7 as ve,a$ as $e,b9 as ee}from"./index-BhvUwV_v.js";import{a as n}from"./sentry-DgGQRl6g.js";import{n as o,c as te,k as Le}from"./mui-DqYnCiYu.js";import{bh as re,bL as we}from"./zeni-epic-state-WWg2r7iB.js";import{U as Me,F as Ee,X as We,Y as Se,J as De,G as He}from"./recharts-D7E0WJGk.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="2e3d91ec-10b0-4b75-b4be-c64bc2bcc1f5",e._sentryDebugIdIdentifier="sentry-dbid-2e3d91ec-10b0-4b75-b4be-c64bc2bcc1f5")}catch{}})();const Pe=k.getLocalizedStrings().expenseAutomation,Ve=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:Fe},texts:{score:ze}}}=k.getLocalizedStrings(),_e=({active:e,payload:s})=>{if(e===!1||e===void 0||!s||s.length===0)return null;const c=s[0]?.value;return c==null?null:t.jsxs(Ye,{children:[t.jsx(Be,{children:ze}),t.jsxs(Ze,{children:[c,Fe]})]})};function Te({data:e,height:s}){const c=Q(),L=e.map(x=>({month:we(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Ve.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ne,{children:[t.jsx(Re,{children:Pe.overview.monthEndCloseTrend}),t.jsx(Me,{height:s,width:"100%",children:t.jsxs(Ee,{data:L,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(We,{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(Se,{hide:!0}),t.jsx(De,{content:_e,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(He,{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 Re=o(h)`
1
+ import{g as Q,Q as le,cc as de,V as t,g4 as q,aP as b,bN as ce,p as a,bS as z,o as r,bB as he,k9 as pe,b as d,hN as _,hM as T,r as me,bw as ue,ag as ge,ka as Ce,kb as ke,F as k,cj as xe,M as fe,bJ as je,ai as h,au as U,al as ye,f as be,b7 as ve,a$ as $e,b9 as ee}from"./index-DYltSVfB.js";import{a as n}from"./sentry-DgGQRl6g.js";import{n as o,c as te,k as Le}from"./mui-DqYnCiYu.js";import{bh as re,bL as we}from"./zeni-epic-state-WWg2r7iB.js";import{U as Me,F as Ee,X as We,Y as Se,J as De,G as He}from"./recharts-D7E0WJGk.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="2e3d91ec-10b0-4b75-b4be-c64bc2bcc1f5",e._sentryDebugIdIdentifier="sentry-dbid-2e3d91ec-10b0-4b75-b4be-c64bc2bcc1f5")}catch{}})();const Pe=k.getLocalizedStrings().expenseAutomation,Ve=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:Fe},texts:{score:ze}}}=k.getLocalizedStrings(),_e=({active:e,payload:s})=>{if(e===!1||e===void 0||!s||s.length===0)return null;const c=s[0]?.value;return c==null?null:t.jsxs(Ye,{children:[t.jsx(Be,{children:ze}),t.jsxs(Ze,{children:[c,Fe]})]})};function Te({data:e,height:s}){const c=Q(),L=e.map(x=>({month:we(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Ve.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ne,{children:[t.jsx(Re,{children:Pe.overview.monthEndCloseTrend}),t.jsx(Me,{height:s,width:"100%",children:t.jsxs(Ee,{data:L,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(We,{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(Se,{hide:!0}),t.jsx(De,{content:_e,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(He,{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 Re=o(h)`
2
2
  color: ${e=>e.theme.colors.champion};
3
3
  `,Ne=o.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{o,bU as ca,Q as ke,gg as Qi,gh as es,V as t,co as da,aa as Pe,aR as ts,u as g,F as Ie,cp as ua,g as bt,bB as ha,i4 as pa,aN as Ue,bS as ye,y as ee,bv as ma,aP as M,i2 as ga,al as ze,gY as xa,gQ as ns,bw as fa,bO as Dt,b7 as os,ai as vt,bJ as is,p as Xe,kh as ya,g4 as Ca,am as pt,x as wa,gi as ba,gj as ss,bo as va,cj as Sa,c1 as ja,eC as gn,b_ as So,a9 as qt,bN as jo,ac as Jt,ki as ka,kj as Ia,kk as $a,kl as ln,km as as,kn as rs,ko as La,kp as Po,kq as Ta,dj as ls,kr as Aa,ks as Ea,kt as Ra,ku as Da,kv as Oa,kw as Fa,kx as za,ky as Ba,kz as _a,kA as Ma,kB as cs,kC as Pa,kD as Na,kE as Va,kF as Ha,gy as ds,b3 as zn,cs as Bn,T as us,P as hs,n as ps,cE as xn,dR as ko,gt as Wa,fN as Ua,g$ as qa,aq as Ja,f as Ka,fy as Ga,aD as ms,kG as Ya,aV as Io,aQ as No,gS as gs,kH as Za,kI as Xa,kJ as Qa,bE as xs,aT as er,gG as Rt,hU as Nn,ez as En,cI as $o,ay as tr,eA as fs,dl as nr,iQ as or,dr as Lo,cy as _n,cB as Mn,ix as nt,b as At,hH as ir,gz as Vn,jf as Vo,dh as ys,d0 as hn,kK as sr,aZ as ar,dq as Cs,r as pn,io as ws,iy as fo,kL as tn,eb as bs,ed as vs,iT as Ss,iU as js,kM as rr,c_ as Pn,ip as ks,fm as Is,eq as Hn,aJ as To,kN as lr,cN as cr,aY as $s,iF as dr,dP as ur,ao as ft,kO as hr,kP as pr,b1 as Wn,em as mr,a8 as gr,en as xr,eo as fr,ep as yr,es as Ho,et as Wo,eu as Cr,kQ as wr,a$ as br,eE as vr,eF as Sr,eG as jr}from"./index-BhvUwV_v.js";import{a as s,P as Ls}from"./sentry-DgGQRl6g.js";import{n as a,c as Ze,k as Ao}from"./mui-DqYnCiYu.js";import{bh as Un,Gi as Uo,Gj as mn,Gk as kr,Gl as Ir,cx as $r,bL as yo,cy as Lr,EN as qo,cz as Tr,cA as Ar,l8 as cn,bE as Nt,Gm as Jo,c4 as Ts,Gn as Er,bY as Rr,bo as Vt,Go as Dr,Gp as As,Gq as Es,Gr as Rs,Gs as Ds,Gt as Os,Gu as Eo,kU as Or}from"./zeni-epic-state-WWg2r7iB.js";import{r as Fs,I as zs,n as nn,R as ht}from"./CollapsableReportTable-BWfFYJbH-BIiPdpTy.js";import{N as qn}from"./AccountRow-BVKk7u7h-CDJSAP1l.js";import{o as Bs}from"./mapTimeframeBalancesToTreeNode-BaIl_VbE-C25WmKnk.js";import{d as Ko}from"./mapLoadingInProgressToTreeNode-DoHalh0I-DytjKdZ3.js";import{h as Fr}from"./VendorsAccountsSection-B9Ik1T2V-BaqvYUX_.js";import{u as zr,c as Go,d as Br,m as _r}from"./uploadAttachment-ux9baWqa-BwjN4G2_.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="ca8cb9a7-aa4c-41f7-a0d1-39d6de0a94b3",e._sentryDebugIdIdentifier="sentry-dbid-ca8cb9a7-aa4c-41f7-a0d1-39d6de0a94b3")}catch{}})();const{common:{navBar:{back:Mr},texts:{refresh:Pr,close:Nr,copy:Vr,copied:Hr,open:Wr}},expenseAutomation:{common:{numbers:{maximumCount:Ur}}}}=Ie.getLocalizedStrings(),qr=a(Wa)`
1
+ import{o,bU as ca,Q as ke,gg as Qi,gh as es,V as t,co as da,aa as Pe,aR as ts,u as g,F as Ie,cp as ua,g as bt,bB as ha,i4 as pa,aN as Ue,bS as ye,y as ee,bv as ma,aP as M,i2 as ga,al as ze,gY as xa,gQ as ns,bw as fa,bO as Dt,b7 as os,ai as vt,bJ as is,p as Xe,kh as ya,g4 as Ca,am as pt,x as wa,gi as ba,gj as ss,bo as va,cj as Sa,c1 as ja,eC as gn,b_ as So,a9 as qt,bN as jo,ac as Jt,ki as ka,kj as Ia,kk as $a,kl as ln,km as as,kn as rs,ko as La,kp as Po,kq as Ta,dj as ls,kr as Aa,ks as Ea,kt as Ra,ku as Da,kv as Oa,kw as Fa,kx as za,ky as Ba,kz as _a,kA as Ma,kB as cs,kC as Pa,kD as Na,kE as Va,kF as Ha,gy as ds,b3 as zn,cs as Bn,T as us,P as hs,n as ps,cE as xn,dR as ko,gt as Wa,fN as Ua,g$ as qa,aq as Ja,f as Ka,fy as Ga,aD as ms,kG as Ya,aV as Io,aQ as No,gS as gs,kH as Za,kI as Xa,kJ as Qa,bE as xs,aT as er,gG as Rt,hU as Nn,ez as En,cI as $o,ay as tr,eA as fs,dl as nr,iQ as or,dr as Lo,cy as _n,cB as Mn,ix as nt,b as At,hH as ir,gz as Vn,jf as Vo,dh as ys,d0 as hn,kK as sr,aZ as ar,dq as Cs,r as pn,io as ws,iy as fo,kL as tn,eb as bs,ed as vs,iT as Ss,iU as js,kM as rr,c_ as Pn,ip as ks,fm as Is,eq as Hn,aJ as To,kN as lr,cN as cr,aY as $s,iF as dr,dP as ur,ao as ft,kO as hr,kP as pr,b1 as Wn,em as mr,a8 as gr,en as xr,eo as fr,ep as yr,es as Ho,et as Wo,eu as Cr,kQ as wr,a$ as br,eE as vr,eF as Sr,eG as jr}from"./index-DYltSVfB.js";import{a as s,P as Ls}from"./sentry-DgGQRl6g.js";import{n as a,c as Ze,k as Ao}from"./mui-DqYnCiYu.js";import{bh as Un,Gi as Uo,Gj as mn,Gk as kr,Gl as Ir,cx as $r,bL as yo,cy as Lr,EN as qo,cz as Tr,cA as Ar,l8 as cn,bE as Nt,Gm as Jo,c4 as Ts,Gn as Er,bY as Rr,bo as Vt,Go as Dr,Gp as As,Gq as Es,Gr as Rs,Gs as Ds,Gt as Os,Gu as Eo,kU as Or}from"./zeni-epic-state-WWg2r7iB.js";import{r as Fs,I as zs,n as nn,R as ht}from"./CollapsableReportTable-BWfFYJbH-Csx3Wpo7.js";import{N as qn}from"./AccountRow-BVKk7u7h-DE3jk17J.js";import{o as Bs}from"./mapTimeframeBalancesToTreeNode-BaIl_VbE-BRXeEdrt.js";import{d as Ko}from"./mapLoadingInProgressToTreeNode-DoHalh0I-gsXyYQpy.js";import{h as Fr}from"./VendorsAccountsSection-B9Ik1T2V-DqGOolpT.js";import{u as zr,c as Go,d as Br,m as _r}from"./uploadAttachment-ux9baWqa-G8p-50iG.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="ca8cb9a7-aa4c-41f7-a0d1-39d6de0a94b3",e._sentryDebugIdIdentifier="sentry-dbid-ca8cb9a7-aa4c-41f7-a0d1-39d6de0a94b3")}catch{}})();const{common:{navBar:{back:Mr},texts:{refresh:Pr,close:Nr,copy:Vr,copied:Hr,open:Wr}},expenseAutomation:{common:{numbers:{maximumCount:Ur}}}}=Ie.getLocalizedStrings(),qr=a(Wa)`
2
2
  display: flex;
3
3
  width: ${o.sp4};
4
4
  height: ${o.sp4};
@@ -1,4 +1,4 @@
1
- import{g as Re,Q as G,F as _,a9 as et,aQ as Fe,cE as tt,V as t,bB as it,ac as at,aR as nt,y as f,o as n,kR as lt,kS as ot,kT as rt,cM as Ve,cJ as dt,e_ as st,fC as ct,fD as pt,cL as ke,ga as mt,kU as ut,cQ as ht,cR as yt,f5 as ze,f6 as Ae,ff as Oe,b as ge,u,fh as gt,ba as ft,b7 as be,p as Ee,am as xt,ar as We}from"./index-BhvUwV_v.js";import{a as J}from"./sentry-DgGQRl6g.js";import{n as d}from"./mui-DqYnCiYu.js";import{bL as _e,bh as le,bP as qe,bH as bt,bo as wt}from"./zeni-epic-state-WWg2r7iB.js";import{Y as vt}from"./LabeledDocumentField-BdQjt44W-EnLXAA71.js";import{S as te}from"./LabeledText-C6M4paXi-dAFR23d7.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="aa73de46-f383-4add-9e30-178259db4a1f",e._sentryDebugIdIdentifier="sentry-dbid-aa73de46-f383-4add-9e30-178259db4a1f")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=G(),a=Re(),s=_.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(Tt,{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(Pt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
1
+ import{g as Re,Q as G,F as _,a9 as et,aQ as Fe,cE as tt,V as t,bB as it,ac as at,aR as nt,y as f,o as n,kR as lt,kS as ot,kT as rt,cM as Ve,cJ as dt,e_ as st,fC as ct,fD as pt,cL as ke,ga as mt,kU as ut,cQ as ht,cR as yt,f5 as ze,f6 as Ae,ff as Oe,b as ge,u,fh as gt,ba as ft,b7 as be,p as Ee,am as xt,ar as We}from"./index-DYltSVfB.js";import{a as J}from"./sentry-DgGQRl6g.js";import{n as d}from"./mui-DqYnCiYu.js";import{bL as _e,bh as le,bP as qe,bH as bt,bo as wt}from"./zeni-epic-state-WWg2r7iB.js";import{Y as vt}from"./LabeledDocumentField-BdQjt44W-BJ3GcTL_.js";import{S as te}from"./LabeledText-C6M4paXi-CF38LKMP.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="aa73de46-f383-4add-9e30-178259db4a1f",e._sentryDebugIdIdentifier="sentry-dbid-aa73de46-f383-4add-9e30-178259db4a1f")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=G(),a=Re(),s=_.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(Tt,{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(Pt,{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{g as _,Q as w,F as y,aV as n,p as r,V as i,co as v,y as p,cp as k,cq as x,u as g}from"./index-BhvUwV_v.js";import{n as d}from"./mui-DqYnCiYu.js";import"./sentry-DgGQRl6g.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="54f22e5c-32ad-4312-85fd-8da21eeb0ea4",e._sentryDebugIdIdentifier="sentry-dbid-54f22e5c-32ad-4312-85fd-8da21eeb0ea4")}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{g as _,Q as w,F as y,aV as n,p as r,V as i,co as v,y as p,cp as k,cq as x,u as g}from"./index-DYltSVfB.js";import{n as d}from"./mui-DqYnCiYu.js";import"./sentry-DgGQRl6g.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="54f22e5c-32ad-4312-85fd-8da21eeb0ea4",e._sentryDebugIdIdentifier="sentry-dbid-54f22e5c-32ad-4312-85fd-8da21eeb0ea4")}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{Q as H,V as l,F as Y,cI as A,er as G,g as ee,cN as J,y as L,gf as Z,o as i,aP as M,ej as ce,aD as le,g6 as pe,g7 as ue,r as he,p as u,u as g,gD as ge,cZ as be,eA as ye,ao as ve,bG as we,b as W,dj as $e,bH as fe,bF as ke}from"./index-BhvUwV_v.js";import{n as d}from"./mui-DqYnCiYu.js";import{a as V}from"./sentry-DgGQRl6g.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]="f6ffefe0-ce4a-4a9d-ab43-7d918bb7a7d6",e._sentryDebugIdIdentifier="sentry-dbid-f6ffefe0-ce4a-4a9d-ab43-7d918bb7a7d6")}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=H(),{formState:{errors:j}}=A(),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(J,{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{Q as H,V as l,F as Y,cI as A,er as G,g as ee,cN as J,y as L,gf as Z,o as i,aP as M,ej as ce,aD as le,g6 as pe,g7 as ue,r as he,p as u,u as g,gD as ge,cZ as be,eA as ye,ao as ve,bG as we,b as W,dj as $e,bH as fe,bF as ke}from"./index-DYltSVfB.js";import{n as d}from"./mui-DqYnCiYu.js";import{a as V}from"./sentry-DgGQRl6g.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]="f6ffefe0-ce4a-4a9d-ab43-7d918bb7a7d6",e._sentryDebugIdIdentifier="sentry-dbid-f6ffefe0-ce4a-4a9d-ab43-7d918bb7a7d6")}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=H(),{formState:{errors:j}}=A(),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(J,{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{g as Ee,Q as Y,a9 as Ke,ay as _e,cE as Ye,V as t,bB as Qe,ac as Je,cm as Ce,o,r as ye,F as ue,bN as Xe,aP as P,cl as Ze,b3 as et,dl as tt,cs as lt,aa as ot,T as nt,c_ as it,bE as We,aT as at,y as N,bO as se,u as $,dr as Ie,ai as we,cy as rt,cB as st,cI as dt,dh as je,d0 as me,bS as K,ev as ke,ao as ct,ii as ht,al as mt,bh as gt,ie as pt,ij as De,ch as ut,bt as wt,p as Oe,ik as bt}from"./index-BhvUwV_v.js";import{a as C}from"./sentry-DgGQRl6g.js";import{n as i,c as Se}from"./mui-DqYnCiYu.js";import{c4 as xt,FZ as vt}from"./zeni-epic-state-WWg2r7iB.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="58026b72-b482-4a13-ac89-149071cad76a",e._sentryDebugIdIdentifier="sentry-dbid-58026b72-b482-4a13-ac89-149071cad76a")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",H="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,a)=>a!=null?`${e}.${l}.${a}`:`${e}.${l}`;function ft(e){const l=Y(),{button:{label:a,onClick:n},search:{isOpen:g,placeHolder:m,searchText:w,onTextChange:y}}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:g&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ce,{style:{position:"absolute",left:"unset",right:o.sp0},placeholder:m,searchText:w,onSearchTextChanged:y}):null}),l==="small"?t.jsx(Ce,{style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},placeholder:m,searchText:w,onSearchTextChanged:y,keepSearchBoxOpen:!0}):null,l==="small"?t.jsx(St,{style:{marginLeft:o.sp5}}):t.jsx(ye,{variant:"primary",onClick:n,label:a,size:"small",style:{marginLeft:o.sp3}})]})}const yt=i.div`
1
+ import{g as Ee,Q as Y,a9 as Ke,ay as _e,cE as Ye,V as t,bB as Qe,ac as Je,cm as Ce,o,r as ye,F as ue,bN as Xe,aP as P,cl as Ze,b3 as et,dl as tt,cs as lt,aa as ot,T as nt,c_ as it,bE as We,aT as at,y as N,bO as se,u as $,dr as Ie,ai as we,cy as rt,cB as st,cI as dt,dh as je,d0 as me,bS as K,ev as ke,ao as ct,ii as ht,al as mt,bh as gt,ie as pt,ij as De,ch as ut,bt as wt,p as Oe,ik as bt}from"./index-DYltSVfB.js";import{a as C}from"./sentry-DgGQRl6g.js";import{n as i,c as Se}from"./mui-DqYnCiYu.js";import{c4 as xt,FZ as vt}from"./zeni-epic-state-WWg2r7iB.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="58026b72-b482-4a13-ac89-149071cad76a",e._sentryDebugIdIdentifier="sentry-dbid-58026b72-b482-4a13-ac89-149071cad76a")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",H="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,a)=>a!=null?`${e}.${l}.${a}`:`${e}.${l}`;function ft(e){const l=Y(),{button:{label:a,onClick:n},search:{isOpen:g,placeHolder:m,searchText:w,onTextChange:y}}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:g&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ce,{style:{position:"absolute",left:"unset",right:o.sp0},placeholder:m,searchText:w,onSearchTextChanged:y}):null}),l==="small"?t.jsx(Ce,{style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},placeholder:m,searchText:w,onSearchTextChanged:y,keepSearchBoxOpen:!0}):null,l==="small"?t.jsx(St,{style:{marginLeft:o.sp5}}):t.jsx(ye,{variant:"primary",onClick:n,label:a,size:"small",style:{marginLeft:o.sp3}})]})}const yt=i.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,aL as D,F as C,aP as E,aX as b,G as I,aM as Z,aS as j,o as H,ai as x}from"./index-BhvUwV_v.js";import{P as m,a as t}from"./sentry-DgGQRl6g.js";import{c as V}from"./SummaryCard-D92z4WU0-Dk2J87_c.js";import{n as d}from"./mui-DqYnCiYu.js";import{N as y}from"./NavigationArrow-DGSdnTKQ-CgfnFgIs.js";import{k as S}from"./NavigationDots-BPsFQiss-Dqh0y0c_.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./ReloadCard-8Tiu9Mq9-WidMrFBg.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]="79456575-e185-410a-950b-639a4749e5ab",e._sentryDebugIdIdentifier="sentry-dbid-79456575-e185-410a-950b-639a4749e5ab")}catch{}})();const T=d.div`
1
+ import{V as r,aL as D,F as C,aP as E,aX as b,G as I,aM as Z,aS as j,o as H,ai as x}from"./index-DYltSVfB.js";import{P as m,a as t}from"./sentry-DgGQRl6g.js";import{c as V}from"./SummaryCard-D92z4WU0-zmpilX3L.js";import{n as d}from"./mui-DqYnCiYu.js";import{N as y}from"./NavigationArrow-DGSdnTKQ-DfQn-lGU.js";import{k as S}from"./NavigationDots-BPsFQiss-DRnWaEzO.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./ReloadCard-8Tiu9Mq9-B5a-0HR6.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]="79456575-e185-410a-950b-639a4749e5ab",e._sentryDebugIdIdentifier="sentry-dbid-79456575-e185-410a-950b-639a4749e5ab")}catch{}})();const T=d.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: column;