@zeniai/web-app-ui 4.14.34-dev → 4.14.34-next

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 (347) hide show
  1. package/dist/assets/{ACHDetailsPage-iiVBlQka-kJJwShx9.js → ACHDetailsPage-iiVBlQka-D5mKQfBD.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-MBAB5kgB-CllvurBN.js → AIPerformancePage-MBAB5kgB-DYjikmd2.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-Cz9yoVl8-yEC5AHJo.js → AccountInfoPage-Cz9yoVl8-CmCgEK1m.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-j85psx_A-B10pnZIl.js → AccountInfoPageContent-j85psx_A-HR0H-eLP.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-B1JxHllU-zA2mS4xW.js → AccountLockedInfoModal-B1JxHllU-CApHAbyP.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DF-X46_u-DqFdxkfQ.js → AccountReconDetailsDrawerPage-DF-X46_u-Ca8PuqCB.js} +1 -1
  7. package/dist/assets/{AccountRow-DEtntSrL-CJ0B8bgS.js → AccountRow-DEtntSrL-DccMoOXH.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Cvixqb_6-D97qRbqR.js → AccountsPromoCardStack-Cvixqb_6-DC4LEqBz.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-B1Qfn44J-CPpzlUkA.js → AddAddressForCardDrawer-B1Qfn44J-BcMQra1g.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BLxUsh1Y-BlYpwefQ.js → AddToWalletPage-BLxUsh1Y-DSfpr8wZ.js} +1 -1
  11. package/dist/assets/{AddressRoutes-D9ypa9JP.js → AddressRoutes-re_P5Gi8.js} +1 -1
  12. package/dist/assets/{AddressScreen-7cFlirZg.js → AddressScreen-D0jdlECR.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-XIzuLRE4-Ci3KQGlf.js → AgingReportsPage-XIzuLRE4-Dg2ff8zG.js} +1 -1
  14. package/dist/assets/{AiCfoScreen-DoYaPaX9.js → AiCfoScreen-DU_mftPt.js} +1 -1
  15. package/dist/assets/{AllUserItems-BGMZCYUO-D3nrnj9J.js → AllUserItems-BGMZCYUO-BjCAS0VR.js} +1 -1
  16. package/dist/assets/{ApAgingDetailPage-B-1gVAu6-Bzjn8P1m.js → ApAgingDetailPage-B-1gVAu6-BcSRnhTZ.js} +1 -1
  17. package/dist/assets/{AppBasePage-CYjdUgY4-B_GezOYf.js → AppBasePage-CYjdUgY4-5oNPEz3E.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-CbF8TOjd-CJdJC4Gi.js → AppDrawerContent-CbF8TOjd-Cfws62tB.js} +1 -1
  19. package/dist/assets/{ApprovalRulesSettingsPage-RCtygkuw-D7FKTOUR.js → ApprovalRulesSettingsPage-RCtygkuw-7HGRK-Kk.js} +1 -1
  20. package/dist/assets/{ArAgingChart-ZwWwEBJ3-CYvKQAY1.js → ArAgingChart-ZwWwEBJ3-BX2BsofQ.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-DtqyngrA-dzglT1I2.js → ArAgingDetailPage-DtqyngrA-DhqLr2c3.js} +1 -1
  22. package/dist/assets/{AttachmentView-UxkSFZmq-Dr8yZ85U.js → AttachmentView-UxkSFZmq-D8zXcRrH.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-Co6ZUc5x-DLuw_h8-.js → BalancesInsightWithToolTip-Co6ZUc5x-BGKH31_O.js} +1 -1
  24. package/dist/assets/{BankAccountSection-DnBVOkJC-Bn2rFs67.js → BankAccountSection-DnBVOkJC-CZ4VvDPT.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-D7OuLiLz-CD3SlEdY.js → BankAccountWarningSection-D7OuLiLz-46LAz_wy.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-BDLTuNLu-BCTZxVaa.js → BankConnectionsSettingsPage-BDLTuNLu-CjCCAjX4.js} +1 -1
  27. package/dist/assets/{BillDetailPage-V8us93cj-B0TwX2a_.js → BillDetailPage-V8us93cj-BklrwzsQ.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-DSmRUBge.js → BillPayApprovalRoutes-ayd5Uhdd.js} +1 -1
  29. package/dist/assets/{BillPayApprovalRuleDetailPage-C_REwEVS-CztPHOm6.js → BillPayApprovalRuleDetailPage-C_REwEVS-DLUSXFmg.js} +1 -1
  30. package/dist/assets/{BillPayApprovalRulesPage-C6G_eDX9-C8wM1oCi.js → BillPayApprovalRulesPage-C6G_eDX9-Dv1ykerd.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-CTQSknOB-CxSqRwoG.js → BillPayPromoPage-CTQSknOB-BB-idd70.js} +1 -1
  32. package/dist/assets/{BillPayRoutes-DUDFuwtX.js → BillPayRoutes-Imk-TXga.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-BmgMLaf--BkQms9Qs.js → BillPaySetUpPage-BmgMLaf--ByUAKdsa.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-IHY3ak0N-CL3RSkEP.js → BillingSettingsPage-IHY3ak0N-ACDwSPG2.js} +1 -1
  35. package/dist/assets/{BillsBulkReviewDrawerPage-ZoFahXYa-BH-n-En_.js → BillsBulkReviewDrawerPage-ZoFahXYa-B8FNahM_.js} +1 -1
  36. package/dist/assets/{BoxItem-XoWq-tnh-BmrAcTRu.js → BoxItem-XoWq-tnh-BKabUWbk.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-D9HtnNOu-FQn5FW8q.js → BusinessVerificationPage-D9HtnNOu-DDDa00sg.js} +1 -1
  38. package/dist/assets/{BusinessVerificationPageScreen-DB2AuUe-.js → BusinessVerificationPageScreen-DOorrN1e.js} +1 -1
  39. package/dist/assets/{BusyIndication-BLGcHlgu-d1oE1KKV.js → BusyIndication-BLGcHlgu-DO50OPkT.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-Cn0EZrNE-tK-yujMO.js → CardNumberSubText-Cn0EZrNE-8S_Hkb0o.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-Bk5ssPnj-C8QC0Hig.js → CashbackDetailPage-Bk5ssPnj-CtoifsbU.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-Ge9Aw7PA-DZlpK6dI.js → ChargeCardDetailPage-Ge9Aw7PA-CAFYyH-X.js} +1 -1
  43. package/dist/assets/{ChargeCardListPage-BNLOoSv3-DV7-d8CD.js → ChargeCardListPage-BNLOoSv3-BSIYp8tw.js} +1 -1
  44. package/dist/assets/{ChargeCardListTable-BoufojYF-Cnvek6YP.js → ChargeCardListTable-BoufojYF-BTQboiSm.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-5lUxK8pF-eVmFgfvo.js → ChargeCardPaymentHistoryPage-5lUxK8pF-CIMB2FXY.js} +1 -1
  46. package/dist/assets/{ChargeCardPromoPage-CKl6K-nr-DnYu005E.js → ChargeCardPromoPage-CKl6K-nr-Bb0IG3IR.js} +1 -1
  47. package/dist/assets/{ChargeCardRoutes-B4WS6JPM.js → ChargeCardRoutes-BOv39ITT.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-Dqoel2Do-DOmmeiiu.js → ChargeCardSetupPage-Dqoel2Do-CUYct81I.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-Dalrj66w-B8hsBg7k.js → ChargeCardStatementsPage-Dalrj66w-DetFA813.js} +1 -1
  50. package/dist/assets/{CheckDepositDrawerPage-mYjv1H0f-Cz8ArAIi.js → CheckDepositDrawerPage-mYjv1H0f-BkMT_2BX.js} +1 -1
  51. package/dist/assets/{CollapsableReportTable-CIaa7SIH-BTOs1ROa.js → CollapsableReportTable-CIaa7SIH-BcmrCcCw.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-BSFNYauO-CNbg81GJ.js → CompanyOfficerDetailsSection-BSFNYauO-CqdsvmlQ.js} +1 -1
  53. package/dist/assets/{CompanyPassportCard-B-mBb9Q5-DTZPiAcJ.js → CompanyPassportCard-B-mBb9Q5-D5OLWrri.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-Blyl_Z-c-DaWkc5U5.js → CompanyPassportPage-Blyl_Z-c-Bv6cz8vO.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-DzV8epiZ.js → CompanyPassportScreen-BSgWemfd.js} +1 -1
  56. package/dist/assets/{CompleteProfile-ySk9I1Ut-Co_b7X5p.js → CompleteProfile-ySk9I1Ut-CX4lUHXI.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-CeAc4Ily-fAc6vAhM.js → ConfettiBurst-CeAc4Ily-CQzNjmhJ.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-XNPx_XcE.js → ConnectionAuthScreen-B4jR-OqM.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CQrlu1iR.js → ConstrainedInnerElement-CgdnMeoA-D6DpOFeV.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-BRkqkhfw-6tasCpNK.js → CreateOrEditVendorPage-BRkqkhfw-CD_B7FM4.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-oUIakAtz-DpasI8GY.js → CreditCardPaymentDrawerPage-oUIakAtz-FAWvFh7a.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-CSPhUjwG-QMsL0N8I.js → CurrencySelectField-CSPhUjwG-TUea2NgP.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-CoOyWe6_-Dn0m9Q2e.js → CustomerOnboardingActivationPage-CoOyWe6_-BbzsUah6.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-ChFZfEbR.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-BAW70o1Y.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CWNyUuRp-PCUtxDIZ.js → CustomerOnboardingDetailPageSkeleton-CWNyUuRp-TlQiouZ5.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-DWx46Z6R-Ba9gs9mp.js → CustomerOnboardingNoStepsPage-DWx46Z6R-DGUwV-k3.js} +1 -1
  68. package/dist/assets/{CustomerOnboardingPage-D86Sj2KP-BtfnNu-9.js → CustomerOnboardingPage-D86Sj2KP-RtLD02LU.js} +1 -1
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-Bo0LFveG-BnqGrm-5.js → CustomerOnboardingProductSuitePage-Bo0LFveG-C45nsoZA.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-Cii6REat.js → CustomerOnboardingRoutes-KhoQMmxs.js} +1 -1
  71. package/dist/assets/{Dashboard-DQLJzr16-BXSSEaEy.js → Dashboard-DQLJzr16-XDHVlVNP.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-CwfTMXY5-CyyBZOOf.js → DashboardReportPage-CwfTMXY5-cFYSJu0N.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-DPYTQsIc.js → DashboardRoutes-Dkt6idAs.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-CUZGIAxW-Cr2AFDv0.js → DashboardSidebarBackgroundAnimation-CUZGIAxW-CTx7mG_i.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-DShfBjyT.js → DefaultTenantHome-BLYjm2Rl.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-Ci-LxLsk-Ba_0JQSS.js → DepositAccTransactionItem-Ci-LxLsk-Ak1hNE9N.js} +1 -1
  77. package/dist/assets/{DepositAccTransactionListPage-RG7P8vQS-DbfwdIAf.js → DepositAccTransactionListPage-RG7P8vQS-SKAVbGWJ.js} +1 -1
  78. package/dist/assets/{DomesticWireDetailScreen-DdRhRffk.js → DomesticWireDetailScreen-Cb8yfXyQ.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-DsPFUOcE-CNM83Rj8.js → DomesticWireDetailsPage-DsPFUOcE-ACmLsH0n.js} +1 -1
  80. package/dist/assets/{DownloadOverlay-BjTf50Dz-DEzcOvm5.js → DownloadOverlay-BjTf50Dz-4dKqJIUv.js} +1 -1
  81. package/dist/assets/{DrawerPage-0OFinUxM-CdrQ9TzW.js → DrawerPage-0OFinUxM-DQiNyOfv.js} +1 -1
  82. package/dist/assets/{DrawerScreen-BgWdy-zB.js → DrawerScreen-BxAJjX-V.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-BKcOmYVv-D9y240Gc.js → EditPeoplePage-BKcOmYVv-CCeaCSZK.js} +1 -1
  84. package/dist/assets/{EditReimbursementDetailPage-BFIHhQbx-CqZ1c7qf.js → EditReimbursementDetailPage-BFIHhQbx-D5cGJPvr.js} +1 -1
  85. package/dist/assets/{EntityDetailPage-D8FzsqNk-DxrfKvnb.js → EntityDetailPage-D8FzsqNk-CTE5lJhs.js} +1 -1
  86. package/dist/assets/{EntityDetailRoutes-jLGbxUaz.js → EntityDetailRoutes-T0SbGq5C.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-ORJ2pE_k-BgNQmv_X.js → EntitySummarySection-ORJ2pE_k-CrZhDCdR.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-Dzf7j2zV-gCWUW27x.js → ExpenseAutomationOverviewPage-Dzf7j2zV-CB93FJgY.js} +1 -1
  89. package/dist/assets/{ExpenseAutomationPage-BRsKGeoM-BXGFdyb-.js → ExpenseAutomationPage-BRsKGeoM-CuVPAlKg.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-D9vGLTe3.js → ExpenseAutomationRoutes-DdrEQ35G.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-DlBFtMaR-C8b9Izur.js → ExpressPayPage-DlBFtMaR-COte8Hl6.js} +1 -1
  92. package/dist/assets/{FeaturePreviewPage-C31F3Gmz-DHInFJNz.js → FeaturePreviewPage-C31F3Gmz-zATsNfdb.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-BUEayEBU.js → FeaturePreviewScreen-D_I8hTXD.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-BVT2K7mu-DYEgY8Jh.js → FollowStepsSection-BVT2K7mu-DOUcVu-3.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-0cZe1hh0-BPLQx8Xp.js → GlobalReviewListPage-0cZe1hh0-lMXvemkS.js} +1 -1
  96. package/dist/assets/{InformationCardStack-t8eELRLU-Fl6DqL5O.js → InformationCardStack-t8eELRLU-DKi42zgD.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-CJBPZbzD-DGmN2b_X.js → InsightsCardStack-CJBPZbzD-C9DEIBNn.js} +1 -1
  98. package/dist/assets/{InsightsSection-tUBzsCix-DIQLSRNu.js → InsightsSection-tUBzsCix-t2SD0L6y.js} +1 -1
  99. package/dist/assets/{IntegrationsSettingsPage-Ce0yKUWI-Dbrmpo2j.js → IntegrationsSettingsPage-Ce0yKUWI-BFf92zp0.js} +1 -1
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-BzR-rKaL-DTkvcjTH.js → InternationalWireSwiftDetailsPage-BzR-rKaL-DLEAf0e9.js} +1 -1
  101. package/dist/assets/{InternationalWireVerificationPage-7tCXdJ3Y-BOpLh7TD.js → InternationalWireVerificationPage-7tCXdJ3Y-CCylLosQ.js} +1 -1
  102. package/dist/assets/{InviteFormPage-DePVC0CH-TfpQcbbS.js → InviteFormPage-DePVC0CH-BiWnY9_1.js} +1 -1
  103. package/dist/assets/{InvitePageListView-ChbvDKgQ-CxYzSS3J.js → InvitePageListView-ChbvDKgQ-DOGDOCwK.js} +1 -1
  104. package/dist/assets/{InvitePeoplePage-DJiEzIeY-YtuIrr11.js → InvitePeoplePage-DJiEzIeY-DBD22Qe2.js} +1 -1
  105. package/dist/assets/{InvoiceUploadSection-BjNMjhQR-B0WmHo8s.js → InvoiceUploadSection-BjNMjhQR-BiXOVXBw.js} +1 -1
  106. package/dist/assets/{IssueChargeCardPage-4xbGf5Ut-CG64H4WO.js → IssueChargeCardPage-4xbGf5Ut-Bzzrbo3g.js} +1 -1
  107. package/dist/assets/{LabeledAddressValue-Czt7QvSJ-ezeCCYD9.js → LabeledAddressValue-Czt7QvSJ-C3osThRZ.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-Dl3atH92-CBuLNDhF.js → LabeledAddressValueField-Dl3atH92-CjWOLfvq.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-DT_nxhPN-DrCJem7I.js → LabeledControlledCheckBoxField-DT_nxhPN-DG3q_4VK.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-BnljZpX0-CrALbnep.js → LabeledCountryMultiSelectField-BnljZpX0-Bai5L6wP.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-CiInq9yD-B0A_NESz.js → LabeledCreatableSingleSelectField-CiInq9yD-BahNvXgw.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-Ceb8vgVH-BzsX4WXj.js → LabeledDocumentField-Ceb8vgVH-DKJFu0uE.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-B98gNWTE-rwd9doXk.js → LabeledDropDownFormattedTextField-B98gNWTE-BFLazuPm.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-C53P9fJl-BS-n0yyf.js → LabeledEmailInputField-C53P9fJl-DlfrFCPM.js} +1 -1
  115. package/dist/assets/{LabeledNameField-BdVztq_8-Cc3_vzCa.js → LabeledNameField-BdVztq_8-BVu5RDiT.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-sjDjhxfQ-DngJSR1z.js → LabeledSingleSelectField-sjDjhxfQ-GUbWbkLt.js} +1 -1
  117. package/dist/assets/{LabeledText-CFJSoGtK-hLpZiX2C.js → LabeledText-CFJSoGtK-YKLGY1KT.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-CajsyJVF.js → LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-BLveJfCB.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-CQiP2rEh-DpkAVgvo.js → LabeledZeniRolesDropDownField-CQiP2rEh-cspEcG7h.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-ANY7Ns42-CApOUFWk.js → LinkJETransactionPage-ANY7Ns42-BXUS9vB-.js} +1 -1
  121. package/dist/assets/{LockCardPage-0piclOz3-FnbsGUI5.js → LockCardPage-0piclOz3-CpQTPdSC.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-CplxkRHP-B1Znghgy.js → LowBalancePopup-CplxkRHP-D51-vJar.js} +1 -1
  123. package/dist/assets/{MagicLinkACHDetailsPage-BKh8WrCR-Ee7s37LW.js → MagicLinkACHDetailsPage-BKh8WrCR-Dhxfjrr6.js} +1 -1
  124. package/dist/assets/{MagicLinkDomesticWireDetailsPage-Cv19HbKi-ByrEtbtY.js → MagicLinkDomesticWireDetailsPage-Cv19HbKi-CtCxTvdx.js} +1 -1
  125. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DbFxpWOg-BpTLsET9.js → MagicLinkInternationalWireDetailsPage-DbFxpWOg-RGB6DLRx.js} +1 -1
  126. package/dist/assets/{MagicLinkRoutes-B8zheK-B.js → MagicLinkRoutes-DFvfWmRN.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-qtJuxxon.js → MagicLinkSignInScreen-Dqj0rmTv.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-BA1LfhVb-By8HxESz.js → MagicLinkSuccessPage-BA1LfhVb-Cs7EEnSb.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-DLdaV8WG-BuvestSo.js → MagicLinkTitleSection-DLdaV8WG-C3bsdoSE.js} +1 -1
  130. package/dist/assets/{MailingDetailsSection-BNVPaGFt-De-HK05Q.js → MailingDetailsSection-BNVPaGFt-l5wno-Nb.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-CKcdPSDd.js → MobileAppDrawer-lcEQxANw.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-DrAQ635T-BL2i_PBG.js → MoreMenuButton-DrAQ635T-CD7O87sU.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-BiDvyO_G-BqsVQnsn.js → MyBankConnectionsSettingsPage-BiDvyO_G-DmJiZ7Np.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-Bb4_b9o6-DszbbtUq.js → MyPendingActivationChargeCardListPage-Bb4_b9o6-CqgYRvuz.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-nY_eDqfm-aRf1sJOL.js → MyProfileSettingsPage-nY_eDqfm-gJ1y9AQT.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-Dr5XHgP5-CjhNLCso.js → NavBarWithPicker-Dr5XHgP5-Baq2EBjR.js} +1 -1
  137. package/dist/assets/{NavigationArrow-DT82hMh--BnPRXoeX.js → NavigationArrow-DT82hMh--_l1Xq3OC.js} +1 -1
  138. package/dist/assets/{NavigationDots-CwCZ9EAa-ovWuwmnJ.js → NavigationDots-CwCZ9EAa-Uo4o2B8k.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-D1lxnByE-D4tZVWQn.js → NewGlobalMerchantPage-D1lxnByE-BPjTlYDM.js} +1 -1
  140. package/dist/assets/{NoDataChart-DCTRXLc7-C1K6noeS.js → NoDataChart-DCTRXLc7-BU0W5yLr.js} +1 -1
  141. package/dist/assets/{NoDataTable-D8Xw5pAY-C0LyDZgH.js → NoDataTable-D8Xw5pAY-EktbXITg.js} +1 -1
  142. package/dist/assets/{NotFoundPage-B_zPUigU-CFd5sZ-j.js → NotFoundPage-B_zPUigU-DNJnTGd6.js} +1 -1
  143. package/dist/assets/{NotFoundScreen-CJqSMVfb.js → NotFoundScreen-Cg8eb9UX.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-j0M-AVSa.js → NotificationRoutes-CSEEDZ70.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-aKLRiMp--Vy4Thl7S.js → NotificationSettingsPage-aKLRiMp--D5QirhkW.js} +1 -1
  146. package/dist/assets/{NotificationsListConfig-CVEetkBc-BGp3geYy.js → NotificationsListConfig-CVEetkBc-C-y-bIu5.js} +1 -1
  147. package/dist/assets/{NotificationsPage-DEw6V83J-SkJPHzO4.js → NotificationsPage-DEw6V83J-CdE2VpYg.js} +1 -1
  148. package/dist/assets/{OpExByVendorPage-DJMov6Ux-CzqjhunS.js → OpExByVendorPage-DJMov6Ux-DGUP7ne6.js} +1 -1
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-CuyJ8LZt.js → OverlayContainerPage-BG9y5C0t-GGV7TQTP.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-RBTh1bFk-BwnpORkG.js → PandLWithForecastPage-RBTh1bFk-cjQssrIs.js} +1 -1
  151. package/dist/assets/{PandLWithForecastRoutes-J6LmjJ1B.js → PandLWithForecastRoutes-NvgQAmB8.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D-kQI4nd-BoSQv9rJ.js → PaymentAccountSetupBillingAddressSection-D-kQI4nd-CkzD5-JK.js} +1 -1
  153. package/dist/assets/{PeoplePage-BEc-Oss7-DoZuQeL3.js → PeoplePage-BEc-Oss7-DLtdqqo0.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-C0vyagIg.js → PeopleRoutes-NI_EwZmv.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-zXK3SrhB.js → PerformanceRoutes-DWe9qDT0.js} +1 -1
  156. package/dist/assets/{Preview-COp40RlO.js → Preview-KXQhErZz.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-BRo0P4GW-Bu_QsU8W.js → ProductsCarousel-BRo0P4GW-DqFI6EgG.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BrXJEufN-C4zOhiIC.js → PromoBaseCards-BrXJEufN-Ct5eWSri.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-BIg9Iais-CzdJGXEh.js → QBOConnectionDialog-BIg9Iais-C-bKnRUb.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-DROpihDX.js → QBOConnectionScreen-BbH6Q0Zv.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-DDoUJ7L6-qtD1b_uv.js → QBOSetupSection-DDoUJ7L6-C84E_gV5.js} +1 -1
  162. package/dist/assets/{ReferralListScreen-Bkepb1RS.js → ReferralListScreen-yb3eBsQ9.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-B_Qw-_-n.js → ReimbursementApprovalRoutes-JsmozJ90.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CP0muUGK-B40CL0Ys.js → ReimbursementApprovalRuleDetailPage-CP0muUGK-CcMzRfdI.js} +1 -1
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-Ud4xo4RE.js → ReimbursementApprovalRuleDetailScreen-CmvANLeO.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-BpVWq3rk-pDKAG_dA.js → ReimbursementApprovalRulesPage-BpVWq3rk-DqxLa5ss.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-pCg86_Ty-BwD3VA7C.js → ReimbursementDetailPage-pCg86_Ty-CbpPhjAt.js} +1 -1
  168. package/dist/assets/{ReimbursementPromoPage-BW6icjG5-CwTaRQC0.js → ReimbursementPromoPage-BW6icjG5-DKQI9joH.js} +1 -1
  169. package/dist/assets/{ReimbursementRoutes-kGf8y_Pc.js → ReimbursementRoutes-BuDt9Zc1.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-B6OhWEWH-CGJsBL7Z.js → ReimbursementSetUpPage-B6OhWEWH-BS8UGS4Z.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DmDoqEZh-DV9AjOeD.js → ReimbursementsBulkReviewDrawerPage-DmDoqEZh-khE9K_mL.js} +1 -1
  172. package/dist/assets/{ReloadCard-DIFXZM9U-DuI83eQl.js → ReloadCard-DIFXZM9U-CDUNRCGh.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-BsIDwouQ-DLCe8EfR.js → ReportTableViewSelector-BsIDwouQ-BXT2zDSg.js} +1 -1
  174. package/dist/assets/{ReportsPage-BFTuYQt2-BHmgPSl5.js → ReportsPage-BFTuYQt2-CMI7yOCk.js} +1 -1
  175. package/dist/assets/{ReportsRoutes-DaW9sMcm.js → ReportsRoutes-CjyJQ43R.js} +1 -1
  176. package/dist/assets/{RevenueChart-BoFq3ebd-B1Jmsn3P.js → RevenueChart-BoFq3ebd-DF5yhvon.js} +1 -1
  177. package/dist/assets/{ReviewDetailsPage-6kCQzaHm-Cn6HDwAl.js → ReviewDetailsPage-6kCQzaHm-DplNkQk4.js} +1 -1
  178. package/dist/assets/{ReviewOverlay-Dhb-kL6G-BfSpCmKQ.js → ReviewOverlay-Dhb-kL6G-C2wB3DBc.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-ZPHX_bEI.js → RewardsRoutes-r3Lwv-tv.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-BfM8Ltz4-DGj9-oQ7.js → RoleWithToolTip-BfM8Ltz4-D7NtOwF-.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ccewwmwc-BRbRv99B.js → ScheduleDetailsFixedAssetsPage-Ccewwmwc-ChZX0aFf.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-D4LK83qQ-C27rzfV2.js → ScheduleDetailsPage-D4LK83qQ-kEM_9suf.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-BZR2cL6z-BUCxLw4U.js → ScheduleSequenceTable-BZR2cL6z-CphiJELf.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-DUg5kVGG.js → ScreenRoutes-ChEs7BzO.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-CxjYbrXu-D_xZkN4u.js → SetUpAccountSection-CxjYbrXu-B-CwrNpf.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-BrYKFKqU.js → SettingsRoutes-C1Kq1J_D.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-BDAmd8Nv.js → SetupPagesScreen-CoGP1Xn9.js} +1 -1
  188. package/dist/assets/{SignIn-CVmtPGKL-BjZd_WFj.js → SignIn-CVmtPGKL-BcX200wt.js} +1 -1
  189. package/dist/assets/{SignInScreen-BwyzU0FU.js → SignInScreen-D0kLHiST.js} +1 -1
  190. package/dist/assets/{SignOutScreen-DIMehMGL.js → SignOutScreen-G-A2kWXp.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-BLjP9T8h-zDO_JYhV.js → SpendManagementListViewPage-BLjP9T8h-CjHcTVHF.js} +3 -3
  192. package/dist/assets/{SpendManagementPerTabPage-Ck4brjun-DcKQnpZe.js → SpendManagementPerTabPage-Ck4brjun-CCGYGR5C.js} +1 -1
  193. package/dist/assets/{SpendManagementSection-DAqR2c98-Cn1QTtEj.js → SpendManagementSection-DAqR2c98-D3UQb_pP.js} +1 -1
  194. package/dist/assets/{StatementItem-B_iG99XI-BTCPeQVA.js → StatementItem-B_iG99XI-Cw1V7vkp.js} +1 -1
  195. package/dist/assets/{StatementsPage-DcKziEfZ-Ckb4n5eQ.js → StatementsPage-DcKziEfZ-BIqp5I24.js} +1 -1
  196. package/dist/assets/{StatusSwitcher-BI-dgnrK-D9HsJYc3.js → StatusSwitcher-BI-dgnrK-RmmgjxXK.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-BpNI5Wke-J6S5GWya.js → SubTabSwitcher-BpNI5Wke-CkiBjSyM.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-AojDorqX-DelQrrOf.js → SuccessAnimation-AojDorqX-DkE_42MT.js} +1 -1
  199. package/dist/assets/{SummaryCard-HW-1WXN9-DmGROxw-.js → SummaryCard-HW-1WXN9-BBwEPOlY.js} +1 -1
  200. package/dist/assets/{TaskDetailPage-Cwe193JO-B3mrz9Ub.js → TaskDetailPage-Cwe193JO-ewAuLH52.js} +1 -1
  201. package/dist/assets/{TaskListScreen-BkKSoC_l.js → TaskListScreen-DSEOf3IG.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-Bz1uP5hK-CqiPZXfA.js → TaskManagementPage-Bz1uP5hK-CSZ7cyMf.js} +1 -1
  203. package/dist/assets/{TaskRoutes-BGbHdjST.js → TaskRoutes-BRwNIKsT.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-oORYeFzN-Bcz5e_ib.js → TimeRangeSwitcher-oORYeFzN-DMRym10P.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-JcJSbn0--fOirrXtT.js → TimeframeSwitcher-JcJSbn0--NxzXFooZ.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-BEZU-KDj-P0Jp8ujn.js → TimeframeSwitcherWithToggle-BEZU-KDj-DCVf1xga.js} +1 -1
  207. package/dist/assets/{TopExCard-CF6z0JWk-aJxcszKV.js → TopExCard-CF6z0JWk-BLcp4aU-.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-DrcKlFuy-oABFUcUd.js → TopExDetailPage-DrcKlFuy-CmjEb40G.js} +1 -1
  209. package/dist/assets/{TransactionActivityLogPage-BB4q0jan-DmLyvTEw.js → TransactionActivityLogPage-BB4q0jan-C5nPIzaf.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-DRG_qosz-BtS_tJXW.js → TransactionDetailPage-DRG_qosz-D9fl3J-h.js} +1 -1
  211. package/dist/assets/{TransactionDetailRoutes-BqT5fc1q.js → TransactionDetailRoutes-CAxYOH5j.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-CAd4Ee0D.js → TransactionDetailScreen-DqwOALaI.js} +1 -1
  213. package/dist/assets/{TransactionList-iw4pyMYF-DcV99PuO.js → TransactionList-iw4pyMYF-BEukkbgw.js} +1 -1
  214. package/dist/assets/{TransactionListBig-BljAUwAB-CgBr6OF2.js → TransactionListBig-BljAUwAB-DPYo8qDs.js} +1 -1
  215. package/dist/assets/{TransactionListPage-ReGTmF43-DlTPQjmK.js → TransactionListPage-ReGTmF43-T1nD9Uec.js} +1 -1
  216. package/dist/assets/{TransactionListRoutes-BhvTNW6M.js → TransactionListRoutes-Iquxrv0X.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DXuYIj-p-BYLZbSnP.js → TransactionVendorDetailPage-DXuYIj-p-PZqvaBS6.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-C3q8h8Zy-C9Bu2kIu.js → TransferDrawerPage-C3q8h8Zy-CC7puzT8.js} +1 -1
  219. package/dist/assets/{TreasuryOverviewPage-DqjFEV9B-CYFYYxZY.js → TreasuryOverviewPage-DqjFEV9B-DejoDznR.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-ByeK0W_5-CfOqREZ0.js → TreasuryPromoPage-ByeK0W_5-CDilRLcX.js} +1 -1
  221. package/dist/assets/{TreasuryRoutes-CP_kclcP.js → TreasuryRoutes-Dyo-oi_i.js} +1 -1
  222. package/dist/assets/{TreasuryStatementsPage-BjGwvMFL-CyFCCkuV.js → TreasuryStatementsPage-BjGwvMFL--8sdcv4h.js} +1 -1
  223. package/dist/assets/{TreasuryTaxLetterPage-DwLyqS86-DUS4dLDe.js → TreasuryTaxLetterPage-DwLyqS86-BuzUnyLn.js} +1 -1
  224. package/dist/assets/{TrendChart-Dgh_21FN-DldNMNLW.js → TrendChart-Dgh_21FN-Dg7QPEOU.js} +1 -1
  225. package/dist/assets/{TrendWithTransactions-BgIPapHk-yF3cpnF6.js → TrendWithTransactions-BgIPapHk-6i4jdit5.js} +1 -1
  226. package/dist/assets/{UncategorizedAccountsMappingPage-DIIJcGrj-DpxmnOrf.js → UncategorizedAccountsMappingPage-DIIJcGrj-B5UXABtw.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-DIOZhQOZ-D5vOldwB.js → UnitIntegrationPage-DIOZhQOZ-SKHNorkF.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-qrcEQmkz-DEAH1rR2.js → UploadAdditionalDocumentOverlay-qrcEQmkz-BT3JtLBM.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-C58w6vC7-B6Whv7tb.js → Vendor2FAPopup-C58w6vC7-DeUBxd1k.js} +1 -1
  230. package/dist/assets/{VendorACHDetailsPage-BbxRwrEv-BMYPvmSB.js → VendorACHDetailsPage-BbxRwrEv-B1FHSUnq.js} +1 -1
  231. package/dist/assets/{VendorDetailPage-CEQFcNHr-CX9v8TJZ.js → VendorDetailPage-CEQFcNHr-C6lUHaOU.js} +1 -1
  232. package/dist/assets/{VendorDomesticWireDetailsPage-C02ZhGg3-CcLCcIv4.js → VendorDomesticWireDetailsPage-C02ZhGg3-DPrHDHbN.js} +1 -1
  233. package/dist/assets/{VendorFiling1099EditablePage-Dl7jZYBV-DZmwa4DL.js → VendorFiling1099EditablePage-Dl7jZYBV-Da2k3M6O.js} +1 -1
  234. package/dist/assets/{VendorFirstReviewPage-yVbtg_tG-vnisIb8R.js → VendorFirstReviewPage-yVbtg_tG-DcfprkGG.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-DNDv_s8G-f9eGCIqU.js → VendorInternationalWireDetailsPage-DNDv_s8G-B-pyh3MJ.js} +1 -1
  236. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-CeTlsL7U.js → VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-C9751j1W.js} +1 -1
  237. package/dist/assets/{VendorsAccountsSection-Cscbgqrx-Zty_2Das.js → VendorsAccountsSection-Cscbgqrx-Ce3rtYta.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-0dl7Omuv.js → VendorsRoutes-BBEDIzoc.js} +1 -1
  239. package/dist/assets/{VerifyDevice-D1vsUSdJ-hlyDWjEh.js → VerifyDevice-D1vsUSdJ-BJqUkCDT.js} +1 -1
  240. package/dist/assets/{VideoPlayer-TlEy-oD0-DnsdEgv4.js → VideoPlayer-TlEy-oD0-gkMXG7RM.js} +1 -1
  241. package/dist/assets/{VideoPopup-3DD646kG-BEeSChGm.js → VideoPopup-3DD646kG-BZkPXier.js} +1 -1
  242. package/dist/assets/{WiseConfirmationScreen-BW6hT1Lt.js → WiseConfirmationScreen-DqyRLv9N.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-BbsXzuHD-DIIfMLh3.js → ZeniAccountDetailPage-BbsXzuHD-Bd6UhBNb.js} +1 -1
  244. package/dist/assets/{ZeniAccountListViewPage-lmuVUpKS-DSNsPUPM.js → ZeniAccountListViewPage-lmuVUpKS-DnaPAR_9.js} +1 -1
  245. package/dist/assets/{ZeniAccountNavBarPieces-CQhwBKXD-CSe8C_Ya.js → ZeniAccountNavBarPieces-CQhwBKXD-C5pPBUjJ.js} +1 -1
  246. package/dist/assets/{ZeniAccountPromoPage-CXEb9tRE-DBFLOPLE.js → ZeniAccountPromoPage-CXEb9tRE-D3KRNdIi.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-CAjxqnTS.js → ZeniAccountRoutes-DmdwgYJg.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-DPhYQu6u-B9IBOs3Q.js → ZeniAccountSetupPage-DPhYQu6u-C7pVffOX.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-I7iDP5eY.js → ZeniAccountStatementScreen-wf3nq6fE.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-CCOD249Z-DHdRsr5H.js → ZeniAvatar-CCOD249Z-CjjovQwc.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-pvaggW6x-DhIa5hzn.js → ZeniCopyright-pvaggW6x-D1Otd6KX.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-EhzRlpFY-Bagds5F3.js → ZeniDatePicker-EhzRlpFY-EOxDZOmQ.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-Dlyom9dD-CMHS5vTr.js → ZeniTransferAmountSlider-Dlyom9dD-GrZZTmIS.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-DeA_Vzuk.js → accountMappingHelper-CVdhvGPq.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-DSVHJQZ8.js → add-to-wallet-DgdBD8_G-CaGBANmB.js} +1 -1
  256. package/dist/assets/{analytics-hnA26KoH.js → analytics-B1todtP5.js} +1 -1
  257. package/dist/assets/{analyticsHelper-AeOsAjMK-B2elKvEV.js → analyticsHelper-AeOsAjMK-DaU6AkkF.js} +1 -1
  258. package/dist/assets/{analyticsHelper-C6d1RQIz.js → analyticsHelper-BbSyGowe.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-C7VEDzJz.js → arrow-south-east-round-PEovUgvH-BEbw-5Yd.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-CvacsS1B.js → auto-transfer-rule-mbafm5D3-DnNkWE4v.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-BBjMxgr_.js → avatar-Dz7aEm3d-DMNCAMEH.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-BDC6rOv1.js → bank-letter-BOcVjN6J-BPuaG37P.js} +1 -1
  263. package/dist/assets/{calculateSize-D-LzlJzs-DNCT8MgL.js → calculateSize-D-LzlJzs-DFGwuhs_.js} +1 -1
  264. package/dist/assets/{chartTypes-BLsP7rGF-Cjsgj_un.js → chartTypes-BLsP7rGF-vQGIz6hv.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-CTyWvBpx.js → clock-CJkylEKt-FEGV41kB.js} +1 -1
  266. package/dist/assets/{common-CAmBErdt-BVIeK7KA.js → common-CAmBErdt-Df8rw7Lg.js} +1 -1
  267. package/dist/assets/{commonDimensions-DIm7kTtR-DqNzhcTL.js → commonDimensions-DIm7kTtR-D3Xn6J24.js} +1 -1
  268. package/dist/assets/{commonTypes-B3mnx2x_-C4g4js89.js → commonTypes-B3mnx2x_-CroghFI-.js} +1 -1
  269. package/dist/assets/{core-DuCBl3U1.js → core-DzJgWcSP.js} +1 -1
  270. package/dist/assets/{dash.all.min-DJBtyB-p.js → dash.all.min-m6zq1IwU.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-B5ZlGWkv.js → decodeURIComponentSafe-KkOdhBBM.js} +1 -1
  272. package/dist/assets/{dnd-BPJHdlPA.js → dnd-CHoU1kzM.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-C91Luiym.js → dollar-round-D18u7nlm-CbvimQvt.js} +1 -1
  274. package/dist/assets/{downloadPdf-B5WrL0K1-C6-xl2en.js → downloadPdf-B5WrL0K1-tr71U0aD.js} +1 -1
  275. package/dist/assets/{empty-BcYVHaFA.js → empty-CPN39ukT.js} +1 -1
  276. package/dist/assets/{empty-UwS7bCyx.js → empty-DeLuycYG.js} +1 -1
  277. package/dist/assets/{epic-DAzl9zmQ.js → epic-C4j1vZle.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-CU1t2o_9.js → filter-cZIFUNvj-DPs6iKkq.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-B4PeqeqG.js → getLocaleForTenant-Wt99tKjn.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-CTJlvd1T.js → gift-box-Cmt9OgIZ-fewdE2Of.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-Gma2xMWq.js → graphic-no-data-l-DU4J8fDt-8kufdn6n.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-D0m0NfVz.js → graphic-no-data-net-burn-l-CzmycA0m-CYa2bwlw.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-DVgbSASX.js → handshake-BPg58FML-DDrW3vFD.js} +1 -1
  284. package/dist/assets/{helper-BVESv00--BfyFxQUD.js → helper-BVESv00--DJZ1TZmV.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-i9FNT3rr.js → hyperlink-DQyCeXx2-DmgckPpf.js} +1 -1
  286. package/dist/assets/{index-TFe4MZqS.js → index-B4Iram2Y.js} +1 -1
  287. package/dist/assets/{index-bPu7mlA1.js → index-CpL7aMNT.js} +6 -6
  288. package/dist/assets/{index-CqCwZ9Bo.js → index-DMvVAF9y.js} +1 -1
  289. package/dist/assets/{index-BO-jmwXl.js → index-Da5QqNEd.js} +1 -1
  290. package/dist/assets/{index-5deWfiyy.js → index-Df7CIWGo.js} +1 -1
  291. package/dist/assets/{index-C0E4etuS.js → index-DvyqBD9K.js} +1 -1
  292. package/dist/assets/{lexical-Ct26b5l4.js → lexical-IHnBM1y6.js} +1 -1
  293. package/dist/assets/{liveblocks-UDiQs1XL.js → liveblocks-DFEps-VX.js} +1 -1
  294. package/dist/assets/{lottie-DyJgmWhI.js → lottie-BKwTCLtN.js} +1 -1
  295. package/dist/assets/{mapLoadingInProgressToTreeNode-DJxRl0X1-CvJBQQvj.js → mapLoadingInProgressToTreeNode-DJxRl0X1-eq40ooKW.js} +1 -1
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BIiMj0sc-ByugsxAl.js → mapSectionWithAcOnlyToTreeNode-BIiMj0sc-CPxDFwgO.js} +1 -1
  297. package/dist/assets/{mapSpacerToTreeNode-Bj3f2irs-Ngbliu4M.js → mapSpacerToTreeNode-Bj3f2irs-gWkFUMYW.js} +1 -1
  298. package/dist/assets/{mapTimeframeBalancesToTreeNode-AI17uMHa-DAlg0uz7.js → mapTimeframeBalancesToTreeNode-AI17uMHa-OjRUPUv4.js} +1 -1
  299. package/dist/assets/{mapTimeframeBalancesToTreeNode-CyO5pm8k-BJN9BucH.js → mapTimeframeBalancesToTreeNode-CyO5pm8k-BhCoVmMQ.js} +1 -1
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-CbmdzU04.js → mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-DfhY90Zy.js} +1 -1
  301. package/dist/assets/{media-player-Bc2nje5G.js → media-player-DTE-47lc.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-BqWS5D8h.js → money-2cg1MuG4-CS00Zw1N.js} +1 -1
  303. package/dist/assets/{mui-CvPZa6D0.js → mui-Bkh9mHku.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-OEFqGWSt.js → page-detail-CWX5S47F-DIsY0RGw.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-CzEvyMZF.js → page-summary-D7_VQHwN-CPkNBTme.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-CcaPMjiP.js → panelSelectedMixin-Cddsb26L-DrgKnSgE.js} +1 -1
  307. package/dist/assets/{pathToGoBack-BdyVSZWc.js → pathToGoBack-CVP2PAJB.js} +1 -1
  308. package/dist/assets/{pdf-LR9rRMEe.js → pdf-B2Mjqvbt.js} +3 -3
  309. package/dist/assets/{pdf-lib-B2ywHAlU.js → pdf-lib-D3H8wuz5.js} +1 -1
  310. package/dist/assets/{plaid-C4PyP873.js → plaid-DK5T1xk0.js} +1 -1
  311. package/dist/assets/{pusher-Cr29ksza.js → pusher-XA-QAM4y.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-CvJrfQYK.js → radio-default-CiSgisfh-DyUowwkD.js} +1 -1
  313. package/dist/assets/{react-DgBIg1r8.js → react-BHm_BED9.js} +1 -1
  314. package/dist/assets/{react-D8ws7sMn.js → react-BeMd7khY.js} +1 -1
  315. package/dist/assets/{react-S5J_OrT1.js → react-CE5hFMxZ.js} +3 -3
  316. package/dist/assets/{react-p9LV8Gbe.js → react-Cj_Jwgdx.js} +1 -1
  317. package/dist/assets/{react-CC2kbVB0.js → react-D2KU5dAD.js} +1 -1
  318. package/dist/assets/{react-BpPHxptQ.js → react-DTIyYN_7.js} +1 -1
  319. package/dist/assets/{react-B7DTlDjT.js → react-cE9bfIgF.js} +1 -1
  320. package/dist/assets/{react-BKUY-Nle.js → react-oG0R2hr9.js} +1 -1
  321. package/dist/assets/{recharts-7AyWv7E-.js → recharts-Cex23pUy.js} +1 -1
  322. package/dist/assets/{routePaths-rBllTjJq.js → routePaths-BW7eum2v.js} +1 -1
  323. package/dist/assets/{sentry-uXR4_KRo.js → sentry-Cw2y1cds.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-Bahpx3SF.js → shield-DOlUxcFf-BymyXTB6.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-lpJ_hpRn.js → spend-limit-D6SyboD4-CciA3XkG.js} +1 -1
  326. package/dist/assets/{toCOABalancesWithID-BWMF0py6-CojDIytn.js → toCOABalancesWithID-BWMF0py6-Cfce2Nwc.js} +1 -1
  327. package/dist/assets/{toChartData-BkubFDq8-CyY5jx0a.js → toChartData-BkubFDq8-BcIfwb51.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-Bn-8TRqx.js → transaction-placeholder-CpOwZAMG-BdKC2D6J.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-Bwi1P-k2.js → undo-b_3XZ5CX-CAaI7tMV.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-BihjIVk1.js → unlock-BPWn2I5L-CsX6-f2z.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BrS_KRA7.js → upload-reimbursement-receipt-O2N8vcO7-DiOxDVP5.js} +1 -1
  332. package/dist/assets/{uploadAttachment-CzgakLtr-D9IiqYxz.js → uploadAttachment-CzgakLtr-BXMV7Ssr.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-7sbogiaq.js → uploadReceipts-CIgkuVpu-DzT3q5XH.js} +1 -1
  334. package/dist/assets/{url-DK_QsAj3.js → url-B--KBVQO.js} +1 -1
  335. package/dist/assets/{url-DnJ-MRbo.js → url-Cb1SMxJX.js} +1 -1
  336. package/dist/assets/{useDeviceId-D6CPIX5r.js → useDeviceId-Blv0FTZw.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-D7H0jhrF.js → useInitialThreadRequest-C3TkjaAN.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-BV6rxzXX.js → useLongPress-GCK2COYQ-C7S-Au32.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-DYAH7Au1.js → usp-line-BBd1wKwW-DghPNW3_.js} +1 -1
  340. package/dist/assets/{utils-DXqO5lkM.js → utils-DqUQm2Md.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-BzT1kjjx.js → withTransactionSidePanel-VAEC0Epo.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-BDdTNPzg.js → zeni-epic-state-C-J3ARpk.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-Cldmtd10.js → zeni-icon-only-Vz4_IoFJ.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +1 -1
  346. package/dist/assets/CustomerOnboardingAuthScreen-CPpHJyPJ.js +0 -1
  347. package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-iH-ugk6E.js +0 -1
@@ -1 +1 @@
1
- import{j as i}from"./pdf-LR9rRMEe.js";import{j as J,h as R,i as U,l as q,u as L,N as B,k as H,R as Te,m as v}from"./core-DuCBl3U1.js";import{ct as $,ga as T,MC as K,De as de,bs as ne,MD as De,II as W,ME as ce,MF as ge,bG as x,Db as le,MG as ye,MH as oe,MI as Ae,MJ as ue,MK as he,ML as Se,MM as ie,Er as ke,bm as Ie}from"./zeni-epic-state-BDdTNPzg.js";import{O as Z,jz as O,lW as Q,jO as w,jM as X,k2 as be,js as ve,aE as Ye,aG as se}from"./index-bPu7mlA1.js";import"./mui-CvPZa6D0.js";import{a as A}from"./sentry-uXR4_KRo.js";import{w as ee}from"./withTransactionSidePanel-BzT1kjjx.js";import{p as te,b as ae}from"./routePaths-rBllTjJq.js";import{u as xe}from"./utils-DXqO5lkM.js";import{d as M}from"./decodeURIComponentSafe-B5ZlGWkv.js";import{Z as Pe}from"./ZeniAccountStatementScreen-I7iDP5eY.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./TransactionDetailScreen-CAd4Ee0D.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="12391f5e-7f7f-4565-9a66-ebfc8c44ba14",a._sentryDebugIdIdentifier="sentry-dbid-12391f5e-7f7f-4565-9a66-ebfc8c44ba14")}catch{}})();const G=a=>xe(a),Me=H(function(a,e){const t=De(a.transactionState,a.transactionListState,e.selectedAccount.period,e.selectedAccount.timeframe,G(e.selectedAccount.tranListType));return{title:e.selectedAccount.title,subTitle:e.selectedAccount.subTitle,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:e.dataAvailableForPeriod,report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??"../../";e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();const o=Z.getLocalizedStrings(),r=G(e.selectedAccount.tranListType),s=je(t,n,c,r,e.bookCloseDate);O.trackTransactionList(void 0,void 0,void 0,e.selectedAccount.title,void 0,!0),a(ce({uiState:{dateRange:s},type:G(e.selectedAccount.tranListType)})),a(de(r,T(s),!1,r==="missingReceipts"?o.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0)),e.onSelectedTimePeriodChange(T(s))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ce({uiState:{scrollYOffset:t},type:G(e.selectedAccount.tranListType)}))}}})(Q),F=ee(function({...a}){const e=J(),t=R(),n=U(),c=t.pathname.substring(t.pathname.lastIndexOf("/")+1),{tenantEmailDomain:o}=q(),r=Z.getLocalizedStrings(),{accountType:s,title:u,subTitle:h}=Le(c),D="month",g=L(p=>$(p)),Y=g.company?.companyInfo.firstMonthOfFY??1,{dataAvailable:y,initialTimeframeTick:S}=Ee(c,Y,g.bookCloseDate),[k,E]=A.useState(!1),[j,P]=A.useState(void 0),m=A.useMemo(()=>{const p=T(S);return{tranListType:c,accountType:K(s),title:u,subTitle:h,timeframe:D,period:p}},[c,D,s,y]);A.useEffect(()=>{if(!k&&m!=null){E(!0),O.trackTransactionList(void 0,void 0,void 0,m.title);const p=G(m.tranListType);n(de(p,m.period,!0,p==="missingReceipts"?r.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0))}},[k,m,n]);let I=m;return m!=null&&j!=null&&(I={...m,period:j}),I==null?i.jsx(B,{to:"../"}):i.jsx(Me,{firstMonthOfFY:Y,tenantEmailDomain:o,location:t,useFixedPeriod:{timeframe:"month",numberOfPeriods:12},dataAvailableForPeriod:y,navigate:e,selectedAccount:I,referrerType:c,bookCloseDate:g.bookCloseDate,onSelectedTimePeriodChange:p=>P(p),...a})}),Le=a=>{let e="",t="",n="";const c=Z.getLocalizedStrings();switch(a){case"uncategorized-income":e="income",t=c.uncategorizedTransactionList.income.title,n=c.uncategorizedTransactionList.income.subTitle;break;case"uncategorized-expense":e="expenses",t=c.uncategorizedTransactionList.expense.title,n=c.uncategorizedTransactionList.expense.subTitle;break;case"miscategorized-expense":e="expenses",t=c.miscategorizedTransactionList.expense.title,n=c.miscategorizedTransactionList.expense.subTitle;break;case"miscategorized-income":e="income",t=c.miscategorizedTransactionList.income.title,n=c.miscategorizedTransactionList.income.subTitle;break;case"missing-receipts":t=c.uncategorizedTransactionList.missingReceipt.title,n=c.uncategorizedTransactionList.missingReceipt.subTitle}return{accountType:e,title:t,subTitle:n}},Ee=(a,e,t)=>{const n=ne();let c=ne().startOf("month").subtract(11,"month");return t!=null&&a!=="missing-receipts"?t.add(1,"day").isBefore(c)?{dataAvailable:{startDate:t.add(1,"day"),endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}:(c=t.add(1,"day"),{dataAvailable:{startDate:c,endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}):{dataAvailable:te(5,e),initialTimeframeTick:{startDate:c,endDate:n}}},je=(a,e,t,n,c)=>{let o=e;return n==="missingReceipts"||c==null?a.startDate.isBefore(e.startDate,t)?o={startDate:a.startDate,endDate:e.endDate}:a.startDate.isAfter(e.endDate,t)?o={startDate:e.startDate,endDate:a.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(a)}`):o=a.startDate.isBefore(c,t)?{startDate:c.add(1,"day"),endDate:e.endDate}:{startDate:a.startDate,endDate:e.endDate},o},ze=H(function(a,e){const t=ye(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,e.selectedAccount.timeframe,e.selectedAccount.period);return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??me();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{dateRange:o}})),a(le(e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{scrollYOffset:t}}))}}})(Q),Be=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,classIdEncoded:u,timeframe:h,startDate:D,endDate:g,titleEncoded:Y}=q(),y=M(r??""),S=M(s??""),k=M(u??""),E=M(Y??""),j=L(f=>ge(f.transactionListState,S,y,k)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(f=>$(f)),V=_.company?.companyInfo.firstMonthOfFY??1;let d;const l=Oe(y,S,k,h,D,g,E);if(l){const f={startDate:x(D,"YYYY-MM-DD"),endDate:x(g,"YYYY-MM-DD")},N=Ce(j?.dateRange,f);d={accountId:S,accountType:K(y),classId:k,title:E,timeframe:h,period:N}}A.useEffect(()=>{P||d==null||(m(!0),O.trackTransactionList(d.accountId,void 0,a,d.title),c(le(d.accountId,d.accountType,d.classId,d.period)))},[P,d,c]);let z=d;d!=null&&I!=null&&(z={...d,period:I});const C=[r,s,u,h,D,g,Y].filter(f=>f!=null);return l&&z!=null?i.jsx(ze,{firstMonthOfFY:V,tenantEmailDomain:o,location:n,navigate:t,selectedAccount:z,referrerType:a,onSelectedTimePeriodChange:f=>p(f),...e}):i.jsx(B,{to:me(C.length)})}),me=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Oe=(a,e,t,n,c,o,r)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&o!=null&&(n==="month"||n==="quarter")&&x(c,"YYYY-MM-DD").isValid()&&x(o,"YYYY-MM-DD").isValid()&&r!=null,Ce=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),Fe=H(function(a,e){const t=he(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.timeframe,e.selectedAccount.period),n=t.account?.coaId,c=e.isConnectedAccountProviderUnit&&Se(n??"");return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0,showStatementPageIcon:c}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??pe();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{dateRange:o}})),a(ue(e.selectedAccount.accountId,e.selectedAccount.accountType,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{scrollYOffset:t}}))},onStatementPageIconClick:()=>{const t=we(e.tenantEmailDomain),n=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(t,{state:{pathnameStackToGoBack:n}})}}})(Q),re=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,timeframe:u,startDate:h,endDate:D,titleEncoded:g,excludeSubAccounts:Y}=q(),y=M(r??""),S=M(s??""),k=M(g??""),E=!(Y!=null&&Y==="exclude_subaccounts"),j=L(b=>Ae(b.transactionListState,S,y)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(b=>$(b)),V=_.company?.featuresActivationInfo.connectedAccountProvider==="unit",d=_.company?.companyInfo.firstMonthOfFY??1;let l;const z=Ge(y,S,u,h,D,k);if(z){const b={startDate:x(h,"YYYY-MM-DD"),endDate:x(D,"YYYY-MM-DD")},fe=_e(j?.dateRange,b);l={accountId:S,accountType:K(y),title:k,timeframe:u,period:fe}}let C=l;l!=null&&I!=null&&(C={...l,period:I});const{areTenantIdsInSync:f}=be();A.useEffect(()=>{!P&&l!=null&&f&&(m(!0),O.trackTransactionList(l.accountId,void 0,a,l.title),c(ue(l.accountId,l.accountType,l.period,void 0,!1,E)))},[P,l,c,f]);const N=[r,s,u,h,D,g].filter(b=>b!=null);return z&&C!=null?i.jsx(Fe,{firstMonthOfFY:d,tenantEmailDomain:o,location:n,navigate:t,isConnectedAccountProviderUnit:V,selectedAccount:C,referrerType:a,onSelectedTimePeriodChange:b=>p(b),...e}):i.jsx(B,{to:pe(N.length)})}),pe=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Ge=(a,e,t,n,c,o)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&(t==="month"||t==="quarter")&&x(n,"YYYY-MM-DD").isValid()&&x(c,"YYYY-MM-DD").isValid()&&o!=null,_e=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),we=a=>`/${a}/transactions/${ke}/statements`;function ot(){const a=R().state?.referrer,e=ve.getSignedInUser(),t=Ie(e),{useFeatureGate:n}=Ye(),{isFeatureEnabled:c}=n(se.isExpenseAutomationEnabled),o=L(u=>u.expenseAutomationViewState.selectedPeriodByTenantId)[L(u=>$(u)).tenantId],{isFeatureEnabled:r}=n(se.isExpenseAutomationEnabledV2),s=r||c&&t;return i.jsxs(Te,{children:[i.jsx(v,{path:"/:accountTypeEncoded/:accountIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/:excludeSubAccounts/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/zeni-clearing-account/statements",element:i.jsx(Pe,{})}),i.jsx(v,{path:"/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/uncategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/uncategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/missing-receipts/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/missing_receipts/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/by-class/:accountTypeEncoded/:accountIdEncoded/:classIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/*",element:i.jsx(Be,{referrerType:a})})]})}export{ot as default};
1
+ import{j as i}from"./pdf-B2Mjqvbt.js";import{j as J,h as R,i as U,l as q,u as L,N as B,k as H,R as Te,m as v}from"./core-DzJgWcSP.js";import{ct as $,ga as T,MC as K,De as de,bs as ne,MD as De,II as W,ME as ce,MF as ge,bG as x,Db as le,MG as ye,MH as oe,MI as Ae,MJ as ue,MK as he,ML as Se,MM as ie,Er as ke,bm as Ie}from"./zeni-epic-state-C-J3ARpk.js";import{O as Z,jz as O,lW as Q,jO as w,jM as X,k2 as be,js as ve,aE as Ye,aG as se}from"./index-CpL7aMNT.js";import"./mui-Bkh9mHku.js";import{a as A}from"./sentry-Cw2y1cds.js";import{w as ee}from"./withTransactionSidePanel-VAEC0Epo.js";import{p as te,b as ae}from"./routePaths-BW7eum2v.js";import{u as xe}from"./utils-DqUQm2Md.js";import{d as M}from"./decodeURIComponentSafe-KkOdhBBM.js";import{Z as Pe}from"./ZeniAccountStatementScreen-wf3nq6fE.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./TransactionDetailScreen-DqwOALaI.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="12391f5e-7f7f-4565-9a66-ebfc8c44ba14",a._sentryDebugIdIdentifier="sentry-dbid-12391f5e-7f7f-4565-9a66-ebfc8c44ba14")}catch{}})();const G=a=>xe(a),Me=H(function(a,e){const t=De(a.transactionState,a.transactionListState,e.selectedAccount.period,e.selectedAccount.timeframe,G(e.selectedAccount.tranListType));return{title:e.selectedAccount.title,subTitle:e.selectedAccount.subTitle,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:e.dataAvailableForPeriod,report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??"../../";e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();const o=Z.getLocalizedStrings(),r=G(e.selectedAccount.tranListType),s=je(t,n,c,r,e.bookCloseDate);O.trackTransactionList(void 0,void 0,void 0,e.selectedAccount.title,void 0,!0),a(ce({uiState:{dateRange:s},type:G(e.selectedAccount.tranListType)})),a(de(r,T(s),!1,r==="missingReceipts"?o.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0)),e.onSelectedTimePeriodChange(T(s))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ce({uiState:{scrollYOffset:t},type:G(e.selectedAccount.tranListType)}))}}})(Q),F=ee(function({...a}){const e=J(),t=R(),n=U(),c=t.pathname.substring(t.pathname.lastIndexOf("/")+1),{tenantEmailDomain:o}=q(),r=Z.getLocalizedStrings(),{accountType:s,title:u,subTitle:h}=Le(c),D="month",g=L(p=>$(p)),Y=g.company?.companyInfo.firstMonthOfFY??1,{dataAvailable:y,initialTimeframeTick:S}=Ee(c,Y,g.bookCloseDate),[k,E]=A.useState(!1),[j,P]=A.useState(void 0),m=A.useMemo(()=>{const p=T(S);return{tranListType:c,accountType:K(s),title:u,subTitle:h,timeframe:D,period:p}},[c,D,s,y]);A.useEffect(()=>{if(!k&&m!=null){E(!0),O.trackTransactionList(void 0,void 0,void 0,m.title);const p=G(m.tranListType);n(de(p,m.period,!0,p==="missingReceipts"?r.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0))}},[k,m,n]);let I=m;return m!=null&&j!=null&&(I={...m,period:j}),I==null?i.jsx(B,{to:"../"}):i.jsx(Me,{firstMonthOfFY:Y,tenantEmailDomain:o,location:t,useFixedPeriod:{timeframe:"month",numberOfPeriods:12},dataAvailableForPeriod:y,navigate:e,selectedAccount:I,referrerType:c,bookCloseDate:g.bookCloseDate,onSelectedTimePeriodChange:p=>P(p),...a})}),Le=a=>{let e="",t="",n="";const c=Z.getLocalizedStrings();switch(a){case"uncategorized-income":e="income",t=c.uncategorizedTransactionList.income.title,n=c.uncategorizedTransactionList.income.subTitle;break;case"uncategorized-expense":e="expenses",t=c.uncategorizedTransactionList.expense.title,n=c.uncategorizedTransactionList.expense.subTitle;break;case"miscategorized-expense":e="expenses",t=c.miscategorizedTransactionList.expense.title,n=c.miscategorizedTransactionList.expense.subTitle;break;case"miscategorized-income":e="income",t=c.miscategorizedTransactionList.income.title,n=c.miscategorizedTransactionList.income.subTitle;break;case"missing-receipts":t=c.uncategorizedTransactionList.missingReceipt.title,n=c.uncategorizedTransactionList.missingReceipt.subTitle}return{accountType:e,title:t,subTitle:n}},Ee=(a,e,t)=>{const n=ne();let c=ne().startOf("month").subtract(11,"month");return t!=null&&a!=="missing-receipts"?t.add(1,"day").isBefore(c)?{dataAvailable:{startDate:t.add(1,"day"),endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}:(c=t.add(1,"day"),{dataAvailable:{startDate:c,endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}):{dataAvailable:te(5,e),initialTimeframeTick:{startDate:c,endDate:n}}},je=(a,e,t,n,c)=>{let o=e;return n==="missingReceipts"||c==null?a.startDate.isBefore(e.startDate,t)?o={startDate:a.startDate,endDate:e.endDate}:a.startDate.isAfter(e.endDate,t)?o={startDate:e.startDate,endDate:a.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(a)}`):o=a.startDate.isBefore(c,t)?{startDate:c.add(1,"day"),endDate:e.endDate}:{startDate:a.startDate,endDate:e.endDate},o},ze=H(function(a,e){const t=ye(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,e.selectedAccount.timeframe,e.selectedAccount.period);return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??me();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{dateRange:o}})),a(le(e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{scrollYOffset:t}}))}}})(Q),Be=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,classIdEncoded:u,timeframe:h,startDate:D,endDate:g,titleEncoded:Y}=q(),y=M(r??""),S=M(s??""),k=M(u??""),E=M(Y??""),j=L(f=>ge(f.transactionListState,S,y,k)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(f=>$(f)),V=_.company?.companyInfo.firstMonthOfFY??1;let d;const l=Oe(y,S,k,h,D,g,E);if(l){const f={startDate:x(D,"YYYY-MM-DD"),endDate:x(g,"YYYY-MM-DD")},N=Ce(j?.dateRange,f);d={accountId:S,accountType:K(y),classId:k,title:E,timeframe:h,period:N}}A.useEffect(()=>{P||d==null||(m(!0),O.trackTransactionList(d.accountId,void 0,a,d.title),c(le(d.accountId,d.accountType,d.classId,d.period)))},[P,d,c]);let z=d;d!=null&&I!=null&&(z={...d,period:I});const C=[r,s,u,h,D,g,Y].filter(f=>f!=null);return l&&z!=null?i.jsx(ze,{firstMonthOfFY:V,tenantEmailDomain:o,location:n,navigate:t,selectedAccount:z,referrerType:a,onSelectedTimePeriodChange:f=>p(f),...e}):i.jsx(B,{to:me(C.length)})}),me=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Oe=(a,e,t,n,c,o,r)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&o!=null&&(n==="month"||n==="quarter")&&x(c,"YYYY-MM-DD").isValid()&&x(o,"YYYY-MM-DD").isValid()&&r!=null,Ce=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),Fe=H(function(a,e){const t=he(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.timeframe,e.selectedAccount.period),n=t.account?.coaId,c=e.isConnectedAccountProviderUnit&&Se(n??"");return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0,showStatementPageIcon:c}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??pe();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{dateRange:o}})),a(ue(e.selectedAccount.accountId,e.selectedAccount.accountType,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{scrollYOffset:t}}))},onStatementPageIconClick:()=>{const t=we(e.tenantEmailDomain),n=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(t,{state:{pathnameStackToGoBack:n}})}}})(Q),re=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,timeframe:u,startDate:h,endDate:D,titleEncoded:g,excludeSubAccounts:Y}=q(),y=M(r??""),S=M(s??""),k=M(g??""),E=!(Y!=null&&Y==="exclude_subaccounts"),j=L(b=>Ae(b.transactionListState,S,y)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(b=>$(b)),V=_.company?.featuresActivationInfo.connectedAccountProvider==="unit",d=_.company?.companyInfo.firstMonthOfFY??1;let l;const z=Ge(y,S,u,h,D,k);if(z){const b={startDate:x(h,"YYYY-MM-DD"),endDate:x(D,"YYYY-MM-DD")},fe=_e(j?.dateRange,b);l={accountId:S,accountType:K(y),title:k,timeframe:u,period:fe}}let C=l;l!=null&&I!=null&&(C={...l,period:I});const{areTenantIdsInSync:f}=be();A.useEffect(()=>{!P&&l!=null&&f&&(m(!0),O.trackTransactionList(l.accountId,void 0,a,l.title),c(ue(l.accountId,l.accountType,l.period,void 0,!1,E)))},[P,l,c,f]);const N=[r,s,u,h,D,g].filter(b=>b!=null);return z&&C!=null?i.jsx(Fe,{firstMonthOfFY:d,tenantEmailDomain:o,location:n,navigate:t,isConnectedAccountProviderUnit:V,selectedAccount:C,referrerType:a,onSelectedTimePeriodChange:b=>p(b),...e}):i.jsx(B,{to:pe(N.length)})}),pe=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Ge=(a,e,t,n,c,o)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&(t==="month"||t==="quarter")&&x(n,"YYYY-MM-DD").isValid()&&x(c,"YYYY-MM-DD").isValid()&&o!=null,_e=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),we=a=>`/${a}/transactions/${ke}/statements`;function ot(){const a=R().state?.referrer,e=ve.getSignedInUser(),t=Ie(e),{useFeatureGate:n}=Ye(),{isFeatureEnabled:c}=n(se.isExpenseAutomationEnabled),o=L(u=>u.expenseAutomationViewState.selectedPeriodByTenantId)[L(u=>$(u)).tenantId],{isFeatureEnabled:r}=n(se.isExpenseAutomationEnabledV2),s=r||c&&t;return i.jsxs(Te,{children:[i.jsx(v,{path:"/:accountTypeEncoded/:accountIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/:excludeSubAccounts/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/zeni-clearing-account/statements",element:i.jsx(Pe,{})}),i.jsx(v,{path:"/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/uncategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/uncategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/missing-receipts/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/missing_receipts/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/by-class/:accountTypeEncoded/:accountIdEncoded/:classIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/*",element:i.jsx(Be,{referrerType:a})})]})}export{ot as default};
@@ -1,4 +1,4 @@
1
- import{e as A,O as k,V as o,L as q,b as I,a9 as R,o as t,x as m,a8 as W,d as _,cu as G,T as K,c8 as U,A as J,m as a,gD as M,gE as B,gF as F,y as Q,cd as X,ga as z,gG as Y,ar as Z,gK as ee,gL as oe}from"./index-bPu7mlA1.js";import{a as j}from"./sentry-uXR4_KRo.js";import{n as l}from"./mui-CvPZa6D0.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="b47e9681-e0b8-4b96-a348-63c4709d0ddf",e._sentryDebugIdIdentifier="sentry-dbid-b47e9681-e0b8-4b96-a348-63c4709d0ddf")}catch{}})();const L=(e,r)=>`${e}.${r}`,N={labelWidth:new m(120,145,160),controlWidth:new m(110,145,160)},i=k.getLocalizedStrings().transactionDetail.vendorDetails.vendorCreation,te=({selectedAccountId:e,isSaveError:r,selectedClassId:g,selectedOwnerId:d,selectedVendorName:w,allAccounts:u,allClasses:O,allOwners:$,sectionId:h,isDisabled:c,accountsHierarchyList:x,classHierarchyList:b})=>{const s=A(),y=Q(),C=N.labelWidth.value(s),S=N.controlWidth.value(s);return o.jsxs(ae,{"data-testid":I("vendor-details-section",h),children:[o.jsx(ne,{children:i.vendorDetails.title}),o.jsxs(re,{children:[o.jsx(X,{label:{label:i.vendorDetails.vendorName,width:C},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:w,autoComplete:"off",options:{required:!0}},isSaveError:r,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(se,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:C},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:v=>(p=>u.filter(n=>n.accountId===p)[0]?.coaId??"")(v),defaultValue:{selectedOption:e,allOptions:B(x)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c,disableCurrentOption:v=>{const p=u.find(n=>n.accountId===v)?.accountName;return[ee,oe].includes(p??"")},zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:C},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:v=>(p=>O.filter(n=>n.classId===p)[0]?.accountingClassNumber??"")(v),defaultValue:{selectedOption:g,allOptions:M(b)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c}),$!=null?o.jsx(Y,{label:{label:i.vendorDetails.vendorOwner,width:C},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:F($),selectedOption:d},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:c,style:{justifyContent:"space-between"},controlWidth:S}):null]})]})},ae=l.div`
1
+ import{e as A,O as k,V as o,L as q,b as I,a9 as R,o as t,x as m,a8 as W,d as _,cu as G,T as K,c8 as U,A as J,m as a,gD as M,gE as B,gF as F,y as Q,cd as X,ga as z,gG as Y,ar as Z,gK as ee,gL as oe}from"./index-CpL7aMNT.js";import{a as j}from"./sentry-Cw2y1cds.js";import{n as l}from"./mui-Bkh9mHku.js";import"./pdf-B2Mjqvbt.js";import"./zeni-epic-state-C-J3ARpk.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="b47e9681-e0b8-4b96-a348-63c4709d0ddf",e._sentryDebugIdIdentifier="sentry-dbid-b47e9681-e0b8-4b96-a348-63c4709d0ddf")}catch{}})();const L=(e,r)=>`${e}.${r}`,N={labelWidth:new m(120,145,160),controlWidth:new m(110,145,160)},i=k.getLocalizedStrings().transactionDetail.vendorDetails.vendorCreation,te=({selectedAccountId:e,isSaveError:r,selectedClassId:g,selectedOwnerId:d,selectedVendorName:w,allAccounts:u,allClasses:O,allOwners:$,sectionId:h,isDisabled:c,accountsHierarchyList:x,classHierarchyList:b})=>{const s=A(),y=Q(),C=N.labelWidth.value(s),S=N.controlWidth.value(s);return o.jsxs(ae,{"data-testid":I("vendor-details-section",h),children:[o.jsx(ne,{children:i.vendorDetails.title}),o.jsxs(re,{children:[o.jsx(X,{label:{label:i.vendorDetails.vendorName,width:C},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:w,autoComplete:"off",options:{required:!0}},isSaveError:r,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(se,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:C},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:v=>(p=>u.filter(n=>n.accountId===p)[0]?.coaId??"")(v),defaultValue:{selectedOption:e,allOptions:B(x)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c,disableCurrentOption:v=>{const p=u.find(n=>n.accountId===v)?.accountName;return[ee,oe].includes(p??"")},zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:C},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:v=>(p=>O.filter(n=>n.classId===p)[0]?.accountingClassNumber??"")(v),defaultValue:{selectedOption:g,allOptions:M(b)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:c}),$!=null?o.jsx(Y,{label:{label:i.vendorDetails.vendorOwner,width:C},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:F($),selectedOption:d},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:c,style:{justifyContent:"space-between"},controlWidth:S}):null]})]})},ae=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${t.sp3};
@@ -1,4 +1,4 @@
1
- import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,o as a,O as I,x as c,a8 as qe,n as ct,at as dt,D as ft,c2 as ye,C as Te,l as ue,a7 as ce,T as Ge,c8 as ut,ag as pt,a6 as mt,f as U,A as He,f6 as Le,f7 as je,fD as ht,bo as Ce,h3 as gt,m as i,eT as wt,bH as Je,bv as xt,ex as $t,b6 as bt,H as Ze,fj as Dt,bj as yt,bx as Ke,gk as Tt,gl as Ct}from"./index-bPu7mlA1.js";import{a as f}from"./sentry-uXR4_KRo.js";import{n}from"./mui-CvPZa6D0.js";import{u as St}from"./plaid-C4PyP873.js";import{bG as vt}from"./zeni-epic-state-BDdTNPzg.js";import{v as kt}from"./ZeniTransferAmountSlider-Dlyom9dD-CMHS5vTr.js";import{m as At}from"./BusyIndication-BLGcHlgu-d1oE1KKV.js";import{r as Pt}from"./AccountInfoPageContent-j85psx_A-B10pnZIl.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./utils-DXqO5lkM.js";import"./downloadPdf-B5WrL0K1-C6-xl2en.js";import"./commonDimensions-DIm7kTtR-DqNzhcTL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="42c94be9-7d3d-4b1e-a838-111dc29b9b0f",e._sentryDebugIdIdentifier="sentry-dbid-42c94be9-7d3d-4b1e-a838-111dc29b9b0f")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=I.getLocalizedStrings(),Qe="amount",ze="transferFrom",k="transferDetails",et="transferDetailPage",xe=(e,r)=>`${e}.${r}`,tt=e=>`${e}_form`,u={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(i[3],i[4]),labeleMarginLeft:new c(i[0],i[0]),labelMarginRight:new c(i[3],i[3]),labeleMarginBottom:new c(i[2],i[0]),labeledFieldPaddingLeft:new c(i[3],i[0]),labeledFieldPaddingRight:new c(i[3],i[2]),labeledFieldPaddingTop:new c(i[3],i[3]),labeledFieldPaddingBottom:new c(i[3],i[2]),infoLabelPaddingRight:new c(i[0],i[3]),infoLabelMarginTop:new c(i[1],i[0]),controllerWrapperFlex:new c(1,i[0])};function Lt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:h,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:p,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:F,onSaveChangesToLocalStore:q,onBackClick:M,onEstablishConnectionClick:R,fireTrackTransferBetweenAccountsFormClicked:O,onFetchLinkTokenClick:G,onReviewClick:H}){const o=fe(),E=u.largeLabelWidth.value(o),[_,j]=f.useState(!1),m=e.link_account_no_microdeposit,[v,W]=f.useState(m.linkToken??null),[x,z]=f.useState(!1),[V,ie]=f.useState(!1),J=r.transferMoneyPartiesFetchState,Z=ce(J),K=r.transferDetailLocalData.transferFrom?.id,Q=r.transferDetailLocalData.transferTo?.id,Se=ce(K),ve=ce(Q),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),at=f.useCallback(s=>{R?.(s),M(),ie(!1),z(!1)},[M,R]),nt=f.useCallback((s,g)=>{s!=null&&console.log("Plaid Connection Error",s,g)},[]),{open:Y,ready:ee}=St({token:v,onSuccess:at,onExit:nt}),oe=f.useCallback(s=>{s.preventDefault(),s.stopPropagation(),ee?Y():z(!0)},[Y,ee]),P=Ge({mode:"all",reValidateMode:"onBlur",defaultValues:f.useMemo(()=>Be(r,oe),[r])});f.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),f.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&ee&&ie(!0)},[ee,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),f.useEffect(()=>{V&&x&&Y()},[V,Y,x]),f.useEffect(()=>{(vt(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&G?.("link_account_no_microdeposit")},[]),f.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(Z==="In-Progress"&&J==="Completed"||Se!==K||ve!==Q||s)&&P.reset(Be(r,()=>Y()))},[ee,v,m.fetchStatus.fetchState,Z,J,Se,ve,Q,K,me,pe,P,r,Y]);const{isValid:rt}=P.formState;f.useEffect(()=>{const s=P.watch((g,{name:se})=>{if(se!=null&&g!=null){const le=g[k]?.amount??0,he=g[k]?.transferFrom,te=g[k]?.transferTo,ge=r.transferMoneyParties.find(we=>we.id===he?.selectedOption),ae=r.transferMoneyParties.find(we=>we.id===te?.selectedOption);ge?.accType==="paymentAccount"&&ae?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),f.useEffect(()=>{const s=P.watch((g,{name:se})=>{se!=null&&g!=null&&ut(()=>(async(le,he)=>{if(le!=null){const te={...he},ge={amount:{amount:te[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===te[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===te[k].transferTo.selectedOption)};q(ge)}})(se,g))});return()=>{s.unsubscribe()}}),f.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const it=P.handleSubmit(()=>{rt&&(O("Review","Amount Details"),H())});f.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ze}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,oe,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const ke=h.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Ae=ke[ke.length-1].annualPercentageYield.toString(),ot=pt(mt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[_?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(It,{}),t.jsxs(Rt,{children:[t.jsx(Ot,{children:r.reviewTransferDetail.error?.title}),t.jsx(_t,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{O("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Wt,{children:N("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(He,{...P,children:t.jsxs(Bt,{id:tt(et),onSubmit:it,children:[t.jsxs(Qt,{children:[t.jsx(Oe,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,ze),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,oe,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Re,{}),t.jsx(Oe,{size:o,children:t.jsx(ea,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,"transferTo"),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,oe)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Re,{}),t.jsx(ht,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:xe(k,Qe),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Xt,{children:[$?t.jsxs(Vt,{children:[t.jsx(Yt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Ae).replace("__amount__",ot)}),t.jsx(kt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:h,setYieldEarned:B,setTotalBalance:F})]}):null,t.jsxs(Ut,{windowSize:o,children:[t.jsx(Ht,{windowSize:o,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Me,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${N("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Ce,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:o==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Gt,{windowSize:o}),t.jsx(Jt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${N("0,0",{amount:p,currencySymbol:"$"})}`})]}):t.jsx(Me,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Ae)})}),$?t.jsxs(Ie,{windowSize:o,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Ie,{windowSize:o,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ue,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,h,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const p={label:d.label,value:d.id};return $&&(p.isDisabled=r?d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),p});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:h};w.push(d)}return w},Be=(e,r)=>({transferDetails:{[Qe]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=n.div`
1
+ import{V as t,e as fe,b as A,gT as st,a5 as N,a as Pe,h2 as lt,L as Ue,a9 as De,o as a,O as I,x as c,a8 as qe,n as ct,at as dt,D as ft,c2 as ye,C as Te,l as ue,a7 as ce,T as Ge,c8 as ut,ag as pt,a6 as mt,f as U,A as He,f6 as Le,f7 as je,fD as ht,bo as Ce,h3 as gt,m as i,eT as wt,bH as Je,bv as xt,ex as $t,b6 as bt,H as Ze,fj as Dt,bj as yt,bx as Ke,gk as Tt,gl as Ct}from"./index-CpL7aMNT.js";import{a as f}from"./sentry-Cw2y1cds.js";import{n}from"./mui-Bkh9mHku.js";import{u as St}from"./plaid-DK5T1xk0.js";import{bG as vt}from"./zeni-epic-state-C-J3ARpk.js";import{v as kt}from"./ZeniTransferAmountSlider-Dlyom9dD-GrZZTmIS.js";import{m as At}from"./BusyIndication-BLGcHlgu-DO50OPkT.js";import{r as Pt}from"./AccountInfoPageContent-j85psx_A-HR0H-eLP.js";import"./pdf-B2Mjqvbt.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./utils-DqUQm2Md.js";import"./downloadPdf-B5WrL0K1-tr71U0aD.js";import"./commonDimensions-DIm7kTtR-D3Xn6J24.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="42c94be9-7d3d-4b1e-a838-111dc29b9b0f",e._sentryDebugIdIdentifier="sentry-dbid-42c94be9-7d3d-4b1e-a838-111dc29b9b0f")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=I.getLocalizedStrings(),Qe="amount",ze="transferFrom",k="transferDetails",et="transferDetailPage",xe=(e,r)=>`${e}.${r}`,tt=e=>`${e}_form`,u={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(i[3],i[4]),labeleMarginLeft:new c(i[0],i[0]),labelMarginRight:new c(i[3],i[3]),labeleMarginBottom:new c(i[2],i[0]),labeledFieldPaddingLeft:new c(i[3],i[0]),labeledFieldPaddingRight:new c(i[3],i[2]),labeledFieldPaddingTop:new c(i[3],i[3]),labeledFieldPaddingBottom:new c(i[3],i[2]),infoLabelPaddingRight:new c(i[0],i[3]),infoLabelMarginTop:new c(i[1],i[0]),controllerWrapperFlex:new c(1,i[0])};function Lt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:h,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:p,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:F,onSaveChangesToLocalStore:q,onBackClick:M,onEstablishConnectionClick:R,fireTrackTransferBetweenAccountsFormClicked:O,onFetchLinkTokenClick:G,onReviewClick:H}){const o=fe(),E=u.largeLabelWidth.value(o),[_,j]=f.useState(!1),m=e.link_account_no_microdeposit,[v,W]=f.useState(m.linkToken??null),[x,z]=f.useState(!1),[V,ie]=f.useState(!1),J=r.transferMoneyPartiesFetchState,Z=ce(J),K=r.transferDetailLocalData.transferFrom?.id,Q=r.transferDetailLocalData.transferTo?.id,Se=ce(K),ve=ce(Q),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),at=f.useCallback(s=>{R?.(s),M(),ie(!1),z(!1)},[M,R]),nt=f.useCallback((s,g)=>{s!=null&&console.log("Plaid Connection Error",s,g)},[]),{open:Y,ready:ee}=St({token:v,onSuccess:at,onExit:nt}),oe=f.useCallback(s=>{s.preventDefault(),s.stopPropagation(),ee?Y():z(!0)},[Y,ee]),P=Ge({mode:"all",reValidateMode:"onBlur",defaultValues:f.useMemo(()=>Be(r,oe),[r])});f.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),f.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&ee&&ie(!0)},[ee,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),f.useEffect(()=>{V&&x&&Y()},[V,Y,x]),f.useEffect(()=>{(vt(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&G?.("link_account_no_microdeposit")},[]),f.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(Z==="In-Progress"&&J==="Completed"||Se!==K||ve!==Q||s)&&P.reset(Be(r,()=>Y()))},[ee,v,m.fetchStatus.fetchState,Z,J,Se,ve,Q,K,me,pe,P,r,Y]);const{isValid:rt}=P.formState;f.useEffect(()=>{const s=P.watch((g,{name:se})=>{if(se!=null&&g!=null){const le=g[k]?.amount??0,he=g[k]?.transferFrom,te=g[k]?.transferTo,ge=r.transferMoneyParties.find(we=>we.id===he?.selectedOption),ae=r.transferMoneyParties.find(we=>we.id===te?.selectedOption);ge?.accType==="paymentAccount"&&ae?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),f.useEffect(()=>{const s=P.watch((g,{name:se})=>{se!=null&&g!=null&&ut(()=>(async(le,he)=>{if(le!=null){const te={...he},ge={amount:{amount:te[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===te[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===te[k].transferTo.selectedOption)};q(ge)}})(se,g))});return()=>{s.unsubscribe()}}),f.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const it=P.handleSubmit(()=>{rt&&(O("Review","Amount Details"),H())});f.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ze}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,oe,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const ke=h.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Ae=ke[ke.length-1].annualPercentageYield.toString(),ot=pt(mt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[_?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(It,{}),t.jsxs(Rt,{children:[t.jsx(Ot,{children:r.reviewTransferDetail.error?.title}),t.jsx(_t,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{O("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Wt,{children:N("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(He,{...P,children:t.jsxs(Bt,{id:tt(et),onSubmit:it,children:[t.jsxs(Qt,{children:[t.jsx(Oe,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,ze),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,oe,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Re,{}),t.jsx(Oe,{size:o,children:t.jsx(ea,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:u.labeleMarginLeft.valuePx(o),marginBottom:u.labeleMarginBottom.valuePx(o),marginRight:u.labelMarginRight.valuePx(o)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:u.labeledFieldPaddingTop.valuePx(o),paddingBottom:u.labeledFieldPaddingBottom.valuePx(o),paddingLeft:u.labeledFieldPaddingLeft.valuePx(o),paddingRight:u.labeledFieldPaddingRight.valuePx(o),border:"none",width:"100%",outline:"none",padding:0,display:o==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:o==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(o),marginTop:u.infoLabelMarginTop.valuePx(o)},singleSelectPickerField:{name:xe(k,"transferTo"),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,g)=>je(r.transferMoneyParties,s,g),valueToSubLabels:(s,g)=>Le(r.transferMoneyParties,s,g,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,oe)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Re,{}),t.jsx(ht,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:xe(k,Qe),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Xt,{children:[$?t.jsxs(Vt,{children:[t.jsx(Yt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Ae).replace("__amount__",ot)}),t.jsx(kt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:h,setYieldEarned:B,setTotalBalance:F})]}):null,t.jsxs(Ut,{windowSize:o,children:[t.jsx(Ht,{windowSize:o,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Me,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${N("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Ce,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:o==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Gt,{windowSize:o}),t.jsx(Jt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${N("0,0",{amount:p,currencySymbol:"$"})}`})]}):t.jsx(Me,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Ae)})}),$?t.jsxs(Ie,{windowSize:o,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Ie,{windowSize:o,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Ee,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ue,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,h,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const p={label:d.label,value:d.id};return $&&(p.isDisabled=r?d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),p});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:h};w.push(d)}return w},Be=(e,r)=>({transferDetails:{[Qe]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,a5 as G,bo as he,a_ as tt,w as de,b as F,L as it,be as ot,o as i,x as w,C as T,O as M,f as b,b6 as nt,eO as oe,d as N,m as p,ao as me,bd as He,ab as Ke,fm as at,aM as rt,a as st,cR as lt,l as B,aj as dt,iA as ct,bf as pt,aB as ht,ef as mt,cz as xt,fj as gt,bV as ut,jq as yt,c$ as ge,H as U,bm as ft,b_ as ue,ib as wt,c1 as $t}from"./index-bPu7mlA1.js";import{a as y,b as bt}from"./sentry-uXR4_KRo.js";import{n as o,c as ye}from"./mui-CvPZa6D0.js";import{bG as q,bp as jt}from"./zeni-epic-state-BDdTNPzg.js";import{s as vt}from"./commonDimensions-DIm7kTtR-DqNzhcTL.js";import{a as St,M as Ye,S as Fe,L as Ct,_ as kt}from"./common-CAmBErdt-BVIeK7KA.js";import{g as fe}from"./BoxItem-XoWq-tnh-BmrAcTRu.js";import{o as zt}from"./transaction-placeholder-CpOwZAMG-Bn-8TRqx.js";import{y as Tt}from"./MoreMenuButton-DrAQ635T-BL2i_PBG.js";import{o as Pt}from"./money-2cg1MuG4-BqWS5D8h.js";import{o as Dt}from"./shield-DOlUxcFf-Bahpx3SF.js";import{R as we,N as $e,X as be,Y as je,O as ve,F as Lt}from"./recharts-7AyWv7E-.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./calculateSize-D-LzlJzs-DNCT8MgL.js";import"./bank-letter-BOcVjN6J-BDC6rOv1.js";import"./spend-limit-D6SyboD4-lpJ_hpRn.js";import"./dollar-round-D18u7nlm-C91Luiym.js";import"./page-summary-D7_VQHwN-CzEvyMZF.js";import"./unlock-BPWn2I5L-BihjIVk1.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]="0d0c1db5-c5e0-44b9-957f-b425d5b93311",e._sentryDebugIdIdentifier="sentry-dbid-0d0c1db5-c5e0-44b9-957f-b425d5b93311")}catch{}})();const xe=M.getLocalizedStrings().spendManagement.treasury.overviewPage.header,It={key:"description",value:xe.trasnactionTitle,sortOrder:"ascending",width:new w(120,250,400,400,500)},Mt={key:"date",value:xe.paymentDate,sortOrder:"ascending",width:new w(100,120,200,250,300)},Ot={key:"amount",value:xe.amount,sortOrder:"ascending",width:new w(80,100,150,180,200)},ce=()=>[It,Mt,Ot],z={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new w(p[0],p[4]),headerLastColumnRightPadding:new w(p[3],p[11]),headerLastColumnBottomPadding:new w(p[0],p[4]),headerLastColumnLeftPadding:new w(p[3],p[11]),headerHeight:new w(Ye,Fe),sortIconSize:new w(p[2],p[2]),headerPaddingTop:new w(p[0],2)},Rt=bt.memo(function({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const s=A(),l=L(),[r,u]=y.useState(ce());y.useEffect(()=>{const d=[...r];for(const h of d)h.key===n.sortKey?h.sortOrder=n.sortOrder:h.sortOrder="ascending";u(d)},[n.sortKey,n.sortOrder]);const m=(d,h)=>{let c=h;n.sortKey===d&&(c=h==="ascending"?"descending":"ascending"),a(d,c)},x=r.find(d=>d.key===n.sortKey)??r[0],g=r.map(d=>d.key),f=M.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(Nt,{windowSize:l,children:[t.jsxs(Kt,{children:[t.jsx(Ft,{children:t.jsx(Yt,{})}),t.jsx(ft,{title:f.sortBy,placeholder:f.sortBy,pickerValues:g,valueToLabel:d=>r.find(h=>h.key===d)?.value??"",selectedValue:n.sortKey,onPickerSelectionChanged:d=>{m(d,"ascending")},optionTextStyle:de.extraSmallRegular,titleTextStyle:de.extraSmallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.grey4})]}),t.jsxs(_t,{onClick:()=>m(x.key,x.sortOrder),"data-testid":F("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:x.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:x,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===x.key,children:t.jsx(ue,{})})})]})]}):t.jsx(At,{windowSize:l,children:t.jsx(Bt,{children:r.map(d=>d.width.value(l)!==0&&t.jsxs(Et,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:d.key,wrapperWidth:d.width,windowSize:l,children:[t.jsxs(Wt,{onClick:()=>m(d.key,d.sortOrder),"data-testid":F("cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:d.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:d,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===d.key,children:t.jsx(ue,{})})})]}),t.jsx(Vt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===d.key&&d.key!=="date",children:t.jsx(Ht,{onClick:()=>m("date","ascending"),"data-testid":F("cards-list-sort-cancel",n.sortKey)})})]},d.key))})})}),At=o.div`
1
+ import{_ as te,V as t,fI as qe,e as L,y as A,h as Xe,ba as Qe,fJ as Ze,bF as et,a5 as G,bo as he,a_ as tt,w as de,b as F,L as it,be as ot,o as i,x as w,C as T,O as M,f as b,b6 as nt,eO as oe,d as N,m as p,ao as me,bd as He,ab as Ke,fm as at,aM as rt,a as st,cR as lt,l as B,aj as dt,iA as ct,bf as pt,aB as ht,ef as mt,cz as xt,fj as gt,bV as ut,jq as yt,c$ as ge,H as U,bm as ft,b_ as ue,ib as wt,c1 as $t}from"./index-CpL7aMNT.js";import{a as y,b as bt}from"./sentry-Cw2y1cds.js";import{n as o,c as ye}from"./mui-Bkh9mHku.js";import{bG as q,bp as jt}from"./zeni-epic-state-C-J3ARpk.js";import{s as vt}from"./commonDimensions-DIm7kTtR-D3Xn6J24.js";import{a as St,M as Ye,S as Fe,L as Ct,_ as kt}from"./common-CAmBErdt-Df8rw7Lg.js";import{g as fe}from"./BoxItem-XoWq-tnh-BKabUWbk.js";import{o as zt}from"./transaction-placeholder-CpOwZAMG-BdKC2D6J.js";import{y as Tt}from"./MoreMenuButton-DrAQ635T-CD7O87sU.js";import{o as Pt}from"./money-2cg1MuG4-CS00Zw1N.js";import{o as Dt}from"./shield-DOlUxcFf-BymyXTB6.js";import{R as we,N as $e,X as be,Y as je,O as ve,F as Lt}from"./recharts-Cex23pUy.js";import"./pdf-B2Mjqvbt.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";import"./calculateSize-D-LzlJzs-DFGwuhs_.js";import"./bank-letter-BOcVjN6J-BPuaG37P.js";import"./spend-limit-D6SyboD4-CciA3XkG.js";import"./dollar-round-D18u7nlm-CbvimQvt.js";import"./page-summary-D7_VQHwN-CPkNBTme.js";import"./unlock-BPWn2I5L-CsX6-f2z.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]="0d0c1db5-c5e0-44b9-957f-b425d5b93311",e._sentryDebugIdIdentifier="sentry-dbid-0d0c1db5-c5e0-44b9-957f-b425d5b93311")}catch{}})();const xe=M.getLocalizedStrings().spendManagement.treasury.overviewPage.header,It={key:"description",value:xe.trasnactionTitle,sortOrder:"ascending",width:new w(120,250,400,400,500)},Mt={key:"date",value:xe.paymentDate,sortOrder:"ascending",width:new w(100,120,200,250,300)},Ot={key:"amount",value:xe.amount,sortOrder:"ascending",width:new w(80,100,150,180,200)},ce=()=>[It,Mt,Ot],z={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new w(p[0],p[4]),headerLastColumnRightPadding:new w(p[3],p[11]),headerLastColumnBottomPadding:new w(p[0],p[4]),headerLastColumnLeftPadding:new w(p[3],p[11]),headerHeight:new w(Ye,Fe),sortIconSize:new w(p[2],p[2]),headerPaddingTop:new w(p[0],2)},Rt=bt.memo(function({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const s=A(),l=L(),[r,u]=y.useState(ce());y.useEffect(()=>{const d=[...r];for(const h of d)h.key===n.sortKey?h.sortOrder=n.sortOrder:h.sortOrder="ascending";u(d)},[n.sortKey,n.sortOrder]);const m=(d,h)=>{let c=h;n.sortKey===d&&(c=h==="ascending"?"descending":"ascending"),a(d,c)},x=r.find(d=>d.key===n.sortKey)??r[0],g=r.map(d=>d.key),f=M.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(Nt,{windowSize:l,children:[t.jsxs(Kt,{children:[t.jsx(Ft,{children:t.jsx(Yt,{})}),t.jsx(ft,{title:f.sortBy,placeholder:f.sortBy,pickerValues:g,valueToLabel:d=>r.find(h=>h.key===d)?.value??"",selectedValue:n.sortKey,onPickerSelectionChanged:d=>{m(d,"ascending")},optionTextStyle:de.extraSmallRegular,titleTextStyle:de.extraSmallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.grey4})]}),t.jsxs(_t,{onClick:()=>m(x.key,x.sortOrder),"data-testid":F("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:x.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:x,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===x.key,children:t.jsx(ue,{})})})]})]}):t.jsx(At,{windowSize:l,children:t.jsx(Bt,{children:r.map(d=>d.width.value(l)!==0&&t.jsxs(Et,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:d.key,wrapperWidth:d.width,windowSize:l,children:[t.jsxs(Wt,{onClick:()=>m(d.key,d.sortOrder),"data-testid":F("cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:d.value}),t.jsx(Se,{windowSize:l,sortDataValue:n.sortKey,headerdata:d,children:t.jsx(Ce,{windowSize:l,isSelected:n.sortKey===d.key,children:t.jsx(ue,{})})})]}),t.jsx(Vt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===d.key&&d.key!=="date",children:t.jsx(Ht,{onClick:()=>m("date","ascending"),"data-testid":F("cards-list-sort-cancel",n.sortKey)})})]},d.key))})})}),At=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{y as ae,e as G,_ as Ce,h as we,a7 as $e,V as r,a_ as fe,eY as ye,ao as ke,o as i,iA as be,bo as je,C as j,a as K,b as J,O as N,d as f,D as A,f as a,x as z,l as _,cz as Se,bq as ze,n as ve,H as Le,eI as Me,m as h,az as Pe,c2 as Be,a8 as Ee,w as Q,cu as Te}from"./index-bPu7mlA1.js";import{a as s,b as Ie}from"./sentry-uXR4_KRo.js";import{n as o}from"./mui-CvPZa6D0.js";import{H6 as De}from"./zeni-epic-state-BDdTNPzg.js";import{I as We,N as _e}from"./VideoPlayer-TlEy-oD0-DnsdEgv4.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-CvacsS1B.js";import{t as Re}from"./clock-CJkylEKt-CTyWvBpx.js";import{o as Ge}from"./shield-DOlUxcFf-Bahpx3SF.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./media-player-Bc2nje5G.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="89066c86-47f6-4672-8d67-803dfffecd15",e._sentryDebugIdIdentifier="sentry-dbid-89066c86-47f6-4672-8d67-803dfffecd15")}catch{}})();const Ne=({isOpen:e,onClose:g})=>{const d=G(),C=N.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Me,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ae,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(qe,{onClick:g})}),r.jsxs(Ve,{children:[r.jsx(Fe,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(Z,{children:C.agreementDrawer.intro}),r.jsx(H,{children:C.agreementDrawer.introBullets.map((p,u)=>r.jsx(re,{children:p},u))}),r.jsx(H,{children:C.agreementDrawer.documents.map((p,u)=>r.jsx(Ye,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ue,{children:p.links.map((w,b)=>r.jsx(Xe,{children:w.link!==""?r.jsx(ee,{href:w.link,target:"_blank",rel:"noopener noreferrer",children:w.text}):w.text},b))}):r.jsx(ee,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},u))}),r.jsx(Z,{style:{marginTop:i.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(H,{children:C.agreementDrawer.confirmBullets.map((p,u)=>r.jsx(re,{children:p},u))})]})]})})},Ae=o.div`
1
+ import{y as ae,e as G,_ as Ce,h as we,a7 as $e,V as r,a_ as fe,eY as ye,ao as ke,o as i,iA as be,bo as je,C as j,a as K,b as J,O as N,d as f,D as A,f as a,x as z,l as _,cz as Se,bq as ze,n as ve,H as Le,eI as Me,m as h,az as Pe,c2 as Be,a8 as Ee,w as Q,cu as Te}from"./index-CpL7aMNT.js";import{a as s,b as Ie}from"./sentry-Cw2y1cds.js";import{n as o}from"./mui-Bkh9mHku.js";import{H6 as De}from"./zeni-epic-state-C-J3ARpk.js";import{I as We,N as _e}from"./VideoPlayer-TlEy-oD0-gkMXG7RM.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-DnNkWE4v.js";import{t as Re}from"./clock-CJkylEKt-FEGV41kB.js";import{o as Ge}from"./shield-DOlUxcFf-BymyXTB6.js";import"./pdf-B2Mjqvbt.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";import"./media-player-DTE-47lc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="89066c86-47f6-4672-8d67-803dfffecd15",e._sentryDebugIdIdentifier="sentry-dbid-89066c86-47f6-4672-8d67-803dfffecd15")}catch{}})();const Ne=({isOpen:e,onClose:g})=>{const d=G(),C=N.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Me,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ae,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(qe,{onClick:g})}),r.jsxs(Ve,{children:[r.jsx(Fe,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(Z,{children:C.agreementDrawer.intro}),r.jsx(H,{children:C.agreementDrawer.introBullets.map((p,u)=>r.jsx(re,{children:p},u))}),r.jsx(H,{children:C.agreementDrawer.documents.map((p,u)=>r.jsx(Ye,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ue,{children:p.links.map((w,b)=>r.jsx(Xe,{children:w.link!==""?r.jsx(ee,{href:w.link,target:"_blank",rel:"noopener noreferrer",children:w.text}):w.text},b))}):r.jsx(ee,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},u))}),r.jsx(Z,{style:{marginTop:i.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(H,{children:C.agreementDrawer.confirmBullets.map((p,u)=>r.jsx(re,{children:p},u))})]})]})})},Ae=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{j as e}from"./pdf-LR9rRMEe.js";import{j as L,h as U,i as P,l as R,u as g,N as F,k as O,R as he,m as k}from"./core-DuCBl3U1.js";import{H6 as z,ct as v,Lr as B,zV as ne,cW as W,zD as se,Lt as Se,zY as xe,Lp as Ie,Lq as re,LH as we,y2 as Te,pc as je,Lv as ke,A7 as Ce,Ls as oe,bO as Z,zC as ie,cy as be,cA as Ae,Mz as ve,MA as Ee,zE as De,MB as Fe,zF as Le,zO as Ue,bt as Pe,FX as Be,FY as Me,G5 as Ve,F5 as Re,cV as Oe,F4 as ze,Hb as Ne,Gj as _e}from"./zeni-epic-state-BDdTNPzg.js";import{_ as N,a7 as Ge,js as A,bk as _,jz as C,L as $,lP as $e,lQ as He,lR as H,e as q,y as K,k2 as We,aE as ce,aG as D,jQ as V,x as Ze,lS as qe,kv as Q,jO as Ke,lT as Qe,jM as Y,lU as Ye,lV as Je,kc as Xe}from"./index-bPu7mlA1.js";import{n as M,D as et,S as tt}from"./mui-CvPZa6D0.js";import at from"./NotFoundScreen-CJqSMVfb.js";import{S as ee}from"./SetupPagesScreen-BDAmd8Nv.js";import{a as u}from"./sentry-uXR4_KRo.js";import{M as le}from"./MobileAppDrawer-CKcdPSDd.js";import{F as nt}from"./FeaturePreviewScreen-BUEayEBU.js";import{a as te}from"./analyticsHelper-C6d1RQIz.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./routePaths-rBllTjJq.js";import"./BusinessVerificationPageScreen-DB2AuUe-.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="9c870022-792e-4f67-8d48-514db409eea8",t._sentryDebugIdIdentifier="sentry-dbid-9c870022-792e-4f67-8d48-514db409eea8")}catch{}})();const st=M.div`
1
+ import{j as e}from"./pdf-B2Mjqvbt.js";import{j as L,h as U,i as P,l as R,u as g,N as F,k as O,R as he,m as k}from"./core-DzJgWcSP.js";import{H6 as z,ct as v,Lr as B,zV as ne,cW as W,zD as se,Lt as Se,zY as xe,Lp as Ie,Lq as re,LH as we,y2 as Te,pc as je,Lv as ke,A7 as Ce,Ls as oe,bO as Z,zC as ie,cy as be,cA as Ae,Mz as ve,MA as Ee,zE as De,MB as Fe,zF as Le,zO as Ue,bt as Pe,FX as Be,FY as Me,G5 as Ve,F5 as Re,cV as Oe,F4 as ze,Hb as Ne,Gj as _e}from"./zeni-epic-state-C-J3ARpk.js";import{_ as N,a7 as Ge,js as A,bk as _,jz as C,L as $,lP as $e,lQ as He,lR as H,e as q,y as K,k2 as We,aE as ce,aG as D,jQ as V,x as Ze,lS as qe,kv as Q,jO as Ke,lT as Qe,jM as Y,lU as Ye,lV as Je,kc as Xe}from"./index-CpL7aMNT.js";import{n as M,D as et,S as tt}from"./mui-Bkh9mHku.js";import at from"./NotFoundScreen-Cg8eb9UX.js";import{S as ee}from"./SetupPagesScreen-CoGP1Xn9.js";import{a as u}from"./sentry-Cw2y1cds.js";import{M as le}from"./MobileAppDrawer-lcEQxANw.js";import{F as nt}from"./FeaturePreviewScreen-D_I8hTXD.js";import{a as te}from"./analyticsHelper-BbSyGowe.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";import"./routePaths-BW7eum2v.js";import"./BusinessVerificationPageScreen-DOorrN1e.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="9c870022-792e-4f67-8d48-514db409eea8",t._sentryDebugIdIdentifier="sentry-dbid-9c870022-792e-4f67-8d48-514db409eea8")}catch{}})();const st=M.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{y as v,e as S,V as t,a_ as I,an as z,o as r,O as P,f as m,bV as C,x as T,m as p,l as B}from"./index-bPu7mlA1.js";import{a as h}from"./sentry-uXR4_KRo.js";import{n as o}from"./mui-CvPZa6D0.js";import{$ as _}from"./BoxItem-XoWq-tnh-BmrAcTRu.js";import{o as D}from"./commonDimensions-DIm7kTtR-DqNzhcTL.js";import{O as M}from"./StatementItem-B_iG99XI-BTCPeQVA.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./downloadPdf-B5WrL0K1-C6-xl2en.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]="45f08f54-20aa-40e5-8a07-f1c9f29d06a9",e._sentryDebugIdIdentifier="sentry-dbid-45f08f54-20aa-40e5-8a07-f1c9f29d06a9")}catch{}})();const f=P.getLocalizedStrings().spendManagement.treasury.statements,b={listItemMargin:new T(p[3],p[8])},ae=({currentTenantCompanyName:e,authParams:i,downloadEndPoint:c,statementListView:n,onBackClick:g})=>{const w=v(),a=S(),x=h.createRef(),y=h.useRef(),k=n.statements.length===0,$=()=>D.transactionItemHeightResponsive.value(a),j=({index:s,style:l})=>{const d=n.statements[s];return k===!1?t.jsx(u,{windowSize:a,style:{...l,width:`calc(100% - 2*${b.listItemMargin.valuePx(a)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:i,downloadEndPoint:c,documentType:"treasuryStatement",boxType:_(s,n.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(E,{children:t.jsx(u,{windowSize:a,children:t.jsx(O,{children:f.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:f.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(V,{windowSize:a,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(N,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.statements.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},R=o.div``,u=o.div`
1
+ import{y as v,e as S,V as t,a_ as I,an as z,o as r,O as P,f as m,bV as C,x as T,m as p,l as B}from"./index-CpL7aMNT.js";import{a as h}from"./sentry-Cw2y1cds.js";import{n as o}from"./mui-Bkh9mHku.js";import{$ as _}from"./BoxItem-XoWq-tnh-BKabUWbk.js";import{o as D}from"./commonDimensions-DIm7kTtR-D3Xn6J24.js";import{O as M}from"./StatementItem-B_iG99XI-Cw1V7vkp.js";import"./pdf-B2Mjqvbt.js";import"./zeni-epic-state-C-J3ARpk.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";import"./downloadPdf-B5WrL0K1-tr71U0aD.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]="45f08f54-20aa-40e5-8a07-f1c9f29d06a9",e._sentryDebugIdIdentifier="sentry-dbid-45f08f54-20aa-40e5-8a07-f1c9f29d06a9")}catch{}})();const f=P.getLocalizedStrings().spendManagement.treasury.statements,b={listItemMargin:new T(p[3],p[8])},ae=({currentTenantCompanyName:e,authParams:i,downloadEndPoint:c,statementListView:n,onBackClick:g})=>{const w=v(),a=S(),x=h.createRef(),y=h.useRef(),k=n.statements.length===0,$=()=>D.transactionItemHeightResponsive.value(a),j=({index:s,style:l})=>{const d=n.statements[s];return k===!1?t.jsx(u,{windowSize:a,style:{...l,width:`calc(100% - 2*${b.listItemMargin.valuePx(a)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:i,downloadEndPoint:c,documentType:"treasuryStatement",boxType:_(s,n.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(E,{children:t.jsx(u,{windowSize:a,children:t.jsx(O,{children:f.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:f.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(V,{windowSize:a,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(N,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.statements.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},R=o.div``,u=o.div`
2
2
  margin: ${e=>`${r.sp0} ${b.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{y as v,e as L,V as t,a_ as I,an as S,o as r,O as z,f as p,bV as T,x as C,m as h,l as P}from"./index-bPu7mlA1.js";import{a as m}from"./sentry-uXR4_KRo.js";import{n as o}from"./mui-CvPZa6D0.js";import{$ as B}from"./BoxItem-XoWq-tnh-BmrAcTRu.js";import{o as _}from"./commonDimensions-DIm7kTtR-DqNzhcTL.js";import{O as D}from"./StatementItem-B_iG99XI-BTCPeQVA.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./downloadPdf-B5WrL0K1-C6-xl2en.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]="2ca42432-da71-4849-8200-1cd6f63b8024",e._sentryDebugIdIdentifier="sentry-dbid-2ca42432-da71-4849-8200-1cd6f63b8024")}catch{}})();const x=z.getLocalizedStrings().spendManagement.treasury.taxLetter,g={listItemMargin:new C(h[3],h[8])},ie=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const f=v(),i=L(),w=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>_.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${g.listItemMargin.valuePx(i)})`},children:t.jsx(D,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:B(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(b,{windowSize:i,children:t.jsx(O,{children:x.noTaxLetter})})})})};return t.jsxs(E,{children:[t.jsx(I,{title:x.title,backgroundColor:f.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(S,{children:({height:s,width:l})=>t.jsx(N,{ref:w,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},M=o.div``,b=o.div`
1
+ import{y as v,e as L,V as t,a_ as I,an as S,o as r,O as z,f as p,bV as T,x as C,m as h,l as P}from"./index-CpL7aMNT.js";import{a as m}from"./sentry-Cw2y1cds.js";import{n as o}from"./mui-Bkh9mHku.js";import{$ as B}from"./BoxItem-XoWq-tnh-BKabUWbk.js";import{o as _}from"./commonDimensions-DIm7kTtR-D3Xn6J24.js";import{O as D}from"./StatementItem-B_iG99XI-Cw1V7vkp.js";import"./pdf-B2Mjqvbt.js";import"./zeni-epic-state-C-J3ARpk.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";import"./downloadPdf-B5WrL0K1-tr71U0aD.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]="2ca42432-da71-4849-8200-1cd6f63b8024",e._sentryDebugIdIdentifier="sentry-dbid-2ca42432-da71-4849-8200-1cd6f63b8024")}catch{}})();const x=z.getLocalizedStrings().spendManagement.treasury.taxLetter,g={listItemMargin:new C(h[3],h[8])},ie=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const f=v(),i=L(),w=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>_.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${g.listItemMargin.valuePx(i)})`},children:t.jsx(D,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:B(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(b,{windowSize:i,children:t.jsx(O,{children:x.noTaxLetter})})})})};return t.jsxs(E,{children:[t.jsx(I,{title:x.title,backgroundColor:f.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(S,{children:({height:s,width:l})=>t.jsx(N,{ref:w,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},M=o.div``,b=o.div`
2
2
  margin: ${e=>`${r.sp0} ${g.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{O as Y,V as s,y as _,an as O,w as $,ag as z,b as k,o as M,f as I,l as P}from"./index-bPu7mlA1.js";import{a as w,b as q}from"./sentry-uXR4_KRo.js";import{Fu as h}from"./zeni-epic-state-BDdTNPzg.js";import{d as B,g as T,p as j,u as K}from"./chartTypes-BLsP7rGF-Cjsgj_un.js";import{n as L}from"./mui-CvPZa6D0.js";import{o as R}from"./toCOABalancesWithID-BWMF0py6-CojDIytn.js";import{V as N}from"./toChartData-BkubFDq8-CyY5jx0a.js";import{J as V,E as A,X as G,Y as Q,F as W,Q as J,K as X}from"./recharts-7AyWv7E-.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.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]="12bd2da5-8f7d-4d44-ab56-9cce1c8fbdfa",e._sentryDebugIdIdentifier="sentry-dbid-12bd2da5-8f7d-4d44-ab56-9cce1c8fbdfa")}catch{}})();const H=L.div`
1
+ import{O as Y,V as s,y as _,an as O,w as $,ag as z,b as k,o as M,f as I,l as P}from"./index-CpL7aMNT.js";import{a as w,b as q}from"./sentry-Cw2y1cds.js";import{Fu as h}from"./zeni-epic-state-C-J3ARpk.js";import{d as B,g as T,p as j,u as K}from"./chartTypes-BLsP7rGF-vQGIz6hv.js";import{n as L}from"./mui-Bkh9mHku.js";import{o as R}from"./toCOABalancesWithID-BWMF0py6-Cfce2Nwc.js";import{V as N}from"./toChartData-BkubFDq8-BcIfwb51.js";import{J as V,E as A,X as G,Y as Q,F as W,Q as J,K as X}from"./recharts-Cex23pUy.js";import"./pdf-B2Mjqvbt.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.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]="12bd2da5-8f7d-4d44-ab56-9cce1c8fbdfa",e._sentryDebugIdIdentifier="sentry-dbid-12bd2da5-8f7d-4d44-ab56-9cce1c8fbdfa")}catch{}})();const H=L.div`
2
2
  display: flex;
3
3
  `,U=L.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{e as k,V as i,L as C,o as n,O as L,b as $,an as N,x as l,ar as H,c2 as _,m as a,l as B,a8 as V}from"./index-bPu7mlA1.js";import{a as R}from"./sentry-uXR4_KRo.js";import{n as r}from"./mui-CvPZa6D0.js";import q from"./TrendChart-Dgh_21FN-DldNMNLW.js";import{C as A}from"./NoDataChart-DCTRXLc7-C1K6noeS.js";import{F as E}from"./InsightsSection-tUBzsCix-DIQLSRNu.js";import{D as K}from"./TransactionList-iw4pyMYF-DcV99PuO.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]="fa8307e2-c0cc-41e0-947f-a6d0e3b13b15",e._sentryDebugIdIdentifier="sentry-dbid-fa8307e2-c0cc-41e0-947f-a6d0e3b13b15")}catch{}})();const W=r.div`
1
+ import{e as k,V as i,L as C,o as n,O as L,b as $,an as N,x as l,ar as H,c2 as _,m as a,l as B,a8 as V}from"./index-CpL7aMNT.js";import{a as R}from"./sentry-Cw2y1cds.js";import{n as r}from"./mui-Bkh9mHku.js";import q from"./TrendChart-Dgh_21FN-Dg7QPEOU.js";import{C as A}from"./NoDataChart-DCTRXLc7-BU0W5yLr.js";import{F as E}from"./InsightsSection-tUBzsCix-t2SD0L6y.js";import{D as K}from"./TransactionList-iw4pyMYF-BEukkbgw.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]="fa8307e2-c0cc-41e0-947f-a6d0e3b13b15",e._sentryDebugIdIdentifier="sentry-dbid-fa8307e2-c0cc-41e0-947f-a6d0e3b13b15")}catch{}})();const W=r.div`
2
2
  display: inline-block;
3
3
  `,U=r.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{y as ie,e as ce,_ as Qe,a7 as Ze,g4 as I,he as J,T as Ke,hf as Xe,hg as je,c8 as Ye,V as o,a_ as en,bR as nn,bS as on,bT as tn,A as cn,hh as sn,L as an,a9 as ln,f0 as dn,O as G,hi as _e,x as u,l as rn,o as a,cc as ye,ad as N,ga as oe,hj as te,hk as Z,hl as un,m as r,d as fe,f as Ae,fu as Ve,C as Se,aD as pn}from"./index-bPu7mlA1.js";import{a as K}from"./sentry-uXR4_KRo.js";import{n as s}from"./mui-CvPZa6D0.js";import{Gl as Te,FZ as mn,F_ as gn,cU as xn}from"./zeni-epic-state-BDdTNPzg.js";import{h as hn}from"./VendorsAccountsSection-Cscbgqrx-Zty_2Das.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.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]="0054371b-77e3-4d80-add4-cb5509f321ac",e._sentryDebugIdIdentifier="sentry-dbid-0054371b-77e3-4d80-add4-cb5509f321ac")}catch{}})();const $={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new fe("standardMedium","largeMedium")},bn=s.div`
1
+ import{y as ie,e as ce,_ as Qe,a7 as Ze,g4 as I,he as J,T as Ke,hf as Xe,hg as je,c8 as Ye,V as o,a_ as en,bR as nn,bS as on,bT as tn,A as cn,hh as sn,L as an,a9 as ln,f0 as dn,O as G,hi as _e,x as u,l as rn,o as a,cc as ye,ad as N,ga as oe,hj as te,hk as Z,hl as un,m as r,d as fe,f as Ae,fu as Ve,C as Se,aD as pn}from"./index-CpL7aMNT.js";import{a as K}from"./sentry-Cw2y1cds.js";import{n as s}from"./mui-Bkh9mHku.js";import{Gl as Te,FZ as mn,F_ as gn,cU as xn}from"./zeni-epic-state-C-J3ARpk.js";import{h as hn}from"./VendorsAccountsSection-Cscbgqrx-Ce3rtYta.js";import"./pdf-B2Mjqvbt.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.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]="0054371b-77e3-4d80-add4-cb5509f321ac",e._sentryDebugIdIdentifier="sentry-dbid-0054371b-77e3-4d80-add4-cb5509f321ac")}catch{}})();const $={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new fe("standardMedium","largeMedium")},bn=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>$.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{a7 as S,V as t,hn as _,ho as W,e as T,O,bR as L,c as k,bS as U,bT as z,T as R,A as G,ci as M,cf as D,x as b,cg as H,f as A,k as J,L as K,a as Q,o as i,l as X,m as F,D as Y,au as Z}from"./index-bPu7mlA1.js";import{a as l}from"./sentry-uXR4_KRo.js";import{n as f}from"./mui-CvPZa6D0.js";import{bG as ee,bs as te}from"./zeni-epic-state-BDdTNPzg.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="c9af28e4-3818-471b-9332-cc3ad6a68813",e._sentryDebugIdIdentifier="sentry-dbid-c9af28e4-3818-471b-9332-cc3ad6a68813")}catch{}})();const x={labelWidth:new b(152,176,176),smallLabelWidth:new b(92,110,110),paddingBottom:new b(F[3],F[2]),width:new b(300,420,420)},ie=f.div`
1
+ import{a7 as S,V as t,hn as _,ho as W,e as T,O,bR as L,c as k,bS as U,bT as z,T as R,A as G,ci as M,cf as D,x as b,cg as H,f as A,k as J,L as K,a as Q,o as i,l as X,m as F,D as Y,au as Z}from"./index-CpL7aMNT.js";import{a as l}from"./sentry-Cw2y1cds.js";import{n as f}from"./mui-Bkh9mHku.js";import{bG as ee,bs as te}from"./zeni-epic-state-C-J3ARpk.js";import"./pdf-B2Mjqvbt.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="c9af28e4-3818-471b-9332-cc3ad6a68813",e._sentryDebugIdIdentifier="sentry-dbid-c9af28e4-3818-471b-9332-cc3ad6a68813")}catch{}})();const x={labelWidth:new b(152,176,176),smallLabelWidth:new b(92,110,110),paddingBottom:new b(F[3],F[2]),width:new b(300,420,420)},ie=f.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{T as M,f1 as g,a7 as W,e as q,O as A,c8 as G,V as i,A as H,b as J,f2 as K,o as a,f as Q,cj as X,a9 as Y,x as y,a8 as Z,c2 as ee,au as te,at as ie,m as d}from"./index-bPu7mlA1.js";import{a as c}from"./sentry-uXR4_KRo.js";import{n as o}from"./mui-CvPZa6D0.js";import{F6 as ae}from"./zeni-epic-state-BDdTNPzg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="d42f3c16-2b65-4116-8879-6322dba96ccf",e._sentryDebugIdIdentifier="sentry-dbid-d42f3c16-2b65-4116-8879-6322dba96ccf")}catch{}})();const b={marginRight:new y(d[3],d[8]),marginLeft:new y(d[3],d[8]),height:new y(d[5],62)},f="additionalDocumentsForm",s="ssnCard";function ge(e){const{filesEndPoint:m,authParams:x,companyOfficer:t,updateStatus:u,onClose:F,onEditFileName:v,onDeleteFile:E,updateFilesEntity:P,onSendForVerificationClick:z,onCompanyOfficerUpdated:C}=e,l=M({mode:"all",reValidateMode:"onChange",defaultValues:c.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[T,S]=c.useState(!1),[N,O]=c.useState(!1),$=W(u.fetchState),w=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},V=Object.values(w??{}).filter(r=>r!=null),L=ae(V);c.useEffect(()=>{$==="In-Progress"&&u.fetchState==="Completed"&&l.reset({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}})},[$,u,l,t?.additionalFiles]);const n=q(),p=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:h}=p,_=`${h.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=l.handleSubmit(()=>{L.fetchState!=="In-Progress"&&z?.(t?.officerType??"Officer_1")});return c.useEffect(()=>{const r=l.watch((j,{name:I})=>{I!=null&&j!=null&&G(()=>(async(R,U)=>{const D=U[f].front;R.includes("front")&&D?.fileId!=null?(C?.(t?.officerType??"Officer_1",[D?.fileId]),S(!0)):S(!1)})(I,j))});return()=>{r.unsubscribe()}}),i.jsx(H,{...l,children:i.jsxs("form",{id:f,onSubmit:k,children:[i.jsxs(ce,{size:n,children:[i.jsx(re,{size:n,children:i.jsx(de,{size:n,onClick:F,"data-testid":J("upload-additional-documents-close",f)})}),i.jsxs(fe,{children:[i.jsx(se,{children:h.title[s]}),i.jsx(oe,{children:h.description[s]})]}),i.jsx(ne,{children:i.jsx(le,{children:_})}),i.jsx(K,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:X,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${Q.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:g(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:w,updateFileStatusById:B,filesEndPoint:m,authParams:x,hasError:N,onEditFileName:v,onDeleteFile:E,updateFilesEntity:P,onFileSizeError:r=>O(r),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),T?i.jsx(Y,{formId:f,primaryBtn:{label:p.sendForVerificationButton,style:{width:"auto",minWidth:n==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:p.cancel,style:{width:n==="small"?"auto":"181px"},onClick:F},style:{position:"absolute",width:"100%"}}):null]})})}const se=o(ee)`
1
+ import{T as M,f1 as g,a7 as W,e as q,O as A,c8 as G,V as i,A as H,b as J,f2 as K,o as a,f as Q,cj as X,a9 as Y,x as y,a8 as Z,c2 as ee,au as te,at as ie,m as d}from"./index-CpL7aMNT.js";import{a as c}from"./sentry-Cw2y1cds.js";import{n as o}from"./mui-Bkh9mHku.js";import{F6 as ae}from"./zeni-epic-state-C-J3ARpk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="d42f3c16-2b65-4116-8879-6322dba96ccf",e._sentryDebugIdIdentifier="sentry-dbid-d42f3c16-2b65-4116-8879-6322dba96ccf")}catch{}})();const b={marginRight:new y(d[3],d[8]),marginLeft:new y(d[3],d[8]),height:new y(d[5],62)},f="additionalDocumentsForm",s="ssnCard";function ge(e){const{filesEndPoint:m,authParams:x,companyOfficer:t,updateStatus:u,onClose:F,onEditFileName:v,onDeleteFile:E,updateFilesEntity:P,onSendForVerificationClick:z,onCompanyOfficerUpdated:C}=e,l=M({mode:"all",reValidateMode:"onChange",defaultValues:c.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[T,S]=c.useState(!1),[N,O]=c.useState(!1),$=W(u.fetchState),w=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},V=Object.values(w??{}).filter(r=>r!=null),L=ae(V);c.useEffect(()=>{$==="In-Progress"&&u.fetchState==="Completed"&&l.reset({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}})},[$,u,l,t?.additionalFiles]);const n=q(),p=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:h}=p,_=`${h.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=l.handleSubmit(()=>{L.fetchState!=="In-Progress"&&z?.(t?.officerType??"Officer_1")});return c.useEffect(()=>{const r=l.watch((j,{name:I})=>{I!=null&&j!=null&&G(()=>(async(R,U)=>{const D=U[f].front;R.includes("front")&&D?.fileId!=null?(C?.(t?.officerType??"Officer_1",[D?.fileId]),S(!0)):S(!1)})(I,j))});return()=>{r.unsubscribe()}}),i.jsx(H,{...l,children:i.jsxs("form",{id:f,onSubmit:k,children:[i.jsxs(ce,{size:n,children:[i.jsx(re,{size:n,children:i.jsx(de,{size:n,onClick:F,"data-testid":J("upload-additional-documents-close",f)})}),i.jsxs(fe,{children:[i.jsx(se,{children:h.title[s]}),i.jsx(oe,{children:h.description[s]})]}),i.jsx(ne,{children:i.jsx(le,{children:_})}),i.jsx(K,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:X,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${Q.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:g(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:w,updateFileStatusById:B,filesEndPoint:m,authParams:x,hasError:N,onEditFileName:v,onDeleteFile:E,updateFilesEntity:P,onFileSizeError:r=>O(r),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),T?i.jsx(Y,{formId:f,primaryBtn:{label:p.sendForVerificationButton,style:{width:"auto",minWidth:n==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:p.cancel,style:{width:n==="small"?"auto":"181px"},onClick:F},style:{position:"absolute",width:"100%"}}):null]})})}const se=o(ee)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{a7 as a,O as w,V as r,hn as x,ho as P}from"./index-bPu7mlA1.js";import{a as n}from"./sentry-uXR4_KRo.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./mui-CvPZa6D0.js";import"./recharts-7AyWv7E-.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="0f8b20de-f6ae-407b-b94c-abd6714c7b46",t._sentryDebugIdIdentifier="sentry-dbid-0f8b20de-f6ae-407b-b94c-abd6714c7b46")}catch{}})();const A=({vendorViewDetails:t,isExpressPayPage:o,onSaveVendor:p,onGetOtp:h,onResendOtp:S,onVerifyOtp:g,onVerifyOtpSuccess:f})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:b}=t,c=Object.assign({},m??b),[V,i]=n.useState(!1),[y,s]=n.useState(e.initiateVerification===!0),d=a(c?.saveStatus?.fetchState),C=a(e.userVerificationStatus.fetchState),u=a(e.otpVerificationStatus?.fetchState),l=a(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return n.useEffect(()=>{d==="In-Progress"&&c?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&s(!0)},[c,e,d]),n.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(i(!1),p())},[e.userVerificationStatus]),n.useEffect(()=>{u==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&f?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[u,e,f]),n.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(i(!0),s(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(x,{showHelperText:!o,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>i(!1),onResendOtp:S,onEditButtonClick:()=>{s(!0),i(!1)}}}):y===!0?r.jsx(P,{showHelperText:!o,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:o?O:void 0,action:{onCancelClick:()=>s(!1),onGetCodeClick:I=>h?.(I)}}):null})};export{A as default};
1
+ import{a7 as a,O as w,V as r,hn as x,ho as P}from"./index-CpL7aMNT.js";import{a as n}from"./sentry-Cw2y1cds.js";import"./pdf-B2Mjqvbt.js";import"./zeni-epic-state-C-J3ARpk.js";import"./core-DzJgWcSP.js";import"./mui-Bkh9mHku.js";import"./recharts-Cex23pUy.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="0f8b20de-f6ae-407b-b94c-abd6714c7b46",t._sentryDebugIdIdentifier="sentry-dbid-0f8b20de-f6ae-407b-b94c-abd6714c7b46")}catch{}})();const A=({vendorViewDetails:t,isExpressPayPage:o,onSaveVendor:p,onGetOtp:h,onResendOtp:S,onVerifyOtp:g,onVerifyOtpSuccess:f})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:b}=t,c=Object.assign({},m??b),[V,i]=n.useState(!1),[y,s]=n.useState(e.initiateVerification===!0),d=a(c?.saveStatus?.fetchState),C=a(e.userVerificationStatus.fetchState),u=a(e.otpVerificationStatus?.fetchState),l=a(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return n.useEffect(()=>{d==="In-Progress"&&c?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&s(!0)},[c,e,d]),n.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(i(!1),p())},[e.userVerificationStatus]),n.useEffect(()=>{u==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&f?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[u,e,f]),n.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(i(!0),s(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(x,{showHelperText:!o,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>i(!1),onResendOtp:S,onEditButtonClick:()=>{s(!0),i(!1)}}}):y===!0?r.jsx(P,{showHelperText:!o,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:o?O:void 0,action:{onCancelClick:()=>s(!1),onGetCodeClick:I=>h?.(I)}}):null})};export{A as default};
@@ -1 +1 @@
1
- import{V as c}from"./index-bPu7mlA1.js";import{a as m}from"./sentry-uXR4_KRo.js";import{f as b}from"./ACHDetailsPage-iiVBlQka-kJJwShx9.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./mui-CvPZa6D0.js";import"./recharts-7AyWv7E-.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./BankAccountWarningSection-D7OuLiLz-CD3SlEdY.js";import"./MagicLinkTitleSection-DLdaV8WG-BuvestSo.js";import"./BankAccountSection-DnBVOkJC-Bn2rFs67.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]="66c2167b-3b50-4143-ab4f-3afaab12ff81",t._sentryDebugIdIdentifier="sentry-dbid-66c2167b-3b50-4143-ab4f-3afaab12ff81")}catch{}})();const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:d,bankAccountToCreate:f,fetchBankNameByRoutingStatus:p}=t;return m.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),c.jsx(b,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameByRouting:d,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})};export{R as default};
1
+ import{V as c}from"./index-CpL7aMNT.js";import{a as m}from"./sentry-Cw2y1cds.js";import{f as b}from"./ACHDetailsPage-iiVBlQka-D5mKQfBD.js";import"./pdf-B2Mjqvbt.js";import"./zeni-epic-state-C-J3ARpk.js";import"./core-DzJgWcSP.js";import"./mui-Bkh9mHku.js";import"./recharts-Cex23pUy.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";import"./BankAccountWarningSection-D7OuLiLz-46LAz_wy.js";import"./MagicLinkTitleSection-DLdaV8WG-C3bsdoSE.js";import"./BankAccountSection-DnBVOkJC-CZ4VvDPT.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]="66c2167b-3b50-4143-ab4f-3afaab12ff81",t._sentryDebugIdIdentifier="sentry-dbid-66c2167b-3b50-4143-ab4f-3afaab12ff81")}catch{}})();const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:d,bankAccountToCreate:f,fetchBankNameByRoutingStatus:p}=t;return m.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),c.jsx(b,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameByRouting:d,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})};export{R as default};
@@ -1,4 +1,4 @@
1
- import{y as Ye,e as le,x as g,S as $e,cb as wt,T as ft,gz as De,gA as bt,ad as Ct,c8 as St,V as t,aZ as $t,A as Dt,gB as jt,gC as ye,m as n,c9 as Lt,a9 as Tt,a_ as _t,O as A,gD as Ge,gE as Qe,gF as Ze,o as s,bg as $,cc as Vt,b as u,ga as je,gG as It,cd as kt,ce as Ot,cf as Pt,gH as Mt,fE as zt,ck as Ft,gI as Nt,gJ as Wt,f as R,ar as Je,C as Ke,bj as Ht,aj as Rt,gK as At,gL as Bt,l as Et,bO as Ut,cQ as qt,cs as Yt,ag as pe,gM as Gt,bH as Xe,gN as Qt,d as Le,M as et}from"./index-bPu7mlA1.js";import{a as S}from"./sentry-uXR4_KRo.js";import{n as o,c as Zt}from"./mui-CvPZa6D0.js";import{bQ as Te,Gh as Jt,Gi as Kt}from"./zeni-epic-state-BDdTNPzg.js";import{R as Xt}from"./SubTabSwitcher-BpNI5Wke-J6S5GWya.js";import{D as ea}from"./TransactionList-iw4pyMYF-DcV99PuO.js";import{R as ta}from"./TrendWithTransactions-BgIPapHk-yF3cpnF6.js";import{o as aa,t as sa}from"./arrow-south-east-round-PEovUgvH-C7VEDzJz.js";import{C as oa}from"./LabeledAddressValueField-Dl3atH92-CBuLNDhF.js";import{Y as na}from"./LabeledDropDownFormattedTextField-B98gNWTE-rwd9doXk.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./ConstrainedInnerElement-CgdnMeoA-CQrlu1iR.js";import"./BoxItem-XoWq-tnh-BmrAcTRu.js";import"./commonDimensions-DIm7kTtR-DqNzhcTL.js";import"./panelSelectedMixin-Cddsb26L-CcaPMjiP.js";import"./TrendChart-Dgh_21FN-DldNMNLW.js";import"./chartTypes-BLsP7rGF-Cjsgj_un.js";import"./toCOABalancesWithID-BWMF0py6-CojDIytn.js";import"./toChartData-BkubFDq8-CyY5jx0a.js";import"./NoDataChart-DCTRXLc7-C1K6noeS.js";import"./InsightsSection-tUBzsCix-DIQLSRNu.js";import"./NavigationDots-CwCZ9EAa-ovWuwmnJ.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]="95780a76-2e42-444a-9084-83c8cfefb68a",e._sentryDebugIdIdentifier="sentry-dbid-95780a76-2e42-444a-9084-83c8cfefb68a")}catch{}})();const ia=o.div`
1
+ import{y as Ye,e as le,x as g,S as $e,cb as wt,T as ft,gz as De,gA as bt,ad as Ct,c8 as St,V as t,aZ as $t,A as Dt,gB as jt,gC as ye,m as n,c9 as Lt,a9 as Tt,a_ as _t,O as A,gD as Ge,gE as Qe,gF as Ze,o as s,bg as $,cc as Vt,b as u,ga as je,gG as It,cd as kt,ce as Ot,cf as Pt,gH as Mt,fE as zt,ck as Ft,gI as Nt,gJ as Wt,f as R,ar as Je,C as Ke,bj as Ht,aj as Rt,gK as At,gL as Bt,l as Et,bO as Ut,cQ as qt,cs as Yt,ag as pe,gM as Gt,bH as Xe,gN as Qt,d as Le,M as et}from"./index-CpL7aMNT.js";import{a as S}from"./sentry-Cw2y1cds.js";import{n as o,c as Zt}from"./mui-Bkh9mHku.js";import{bQ as Te,Gh as Jt,Gi as Kt}from"./zeni-epic-state-C-J3ARpk.js";import{R as Xt}from"./SubTabSwitcher-BpNI5Wke-CkiBjSyM.js";import{D as ea}from"./TransactionList-iw4pyMYF-BEukkbgw.js";import{R as ta}from"./TrendWithTransactions-BgIPapHk-6i4jdit5.js";import{o as aa,t as sa}from"./arrow-south-east-round-PEovUgvH-BEbw-5Yd.js";import{C as oa}from"./LabeledAddressValueField-Dl3atH92-CjWOLfvq.js";import{Y as na}from"./LabeledDropDownFormattedTextField-B98gNWTE-BFLazuPm.js";import"./pdf-B2Mjqvbt.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";import"./ConstrainedInnerElement-CgdnMeoA-D6DpOFeV.js";import"./BoxItem-XoWq-tnh-BKabUWbk.js";import"./commonDimensions-DIm7kTtR-D3Xn6J24.js";import"./panelSelectedMixin-Cddsb26L-DrgKnSgE.js";import"./TrendChart-Dgh_21FN-Dg7QPEOU.js";import"./chartTypes-BLsP7rGF-vQGIz6hv.js";import"./toCOABalancesWithID-BWMF0py6-Cfce2Nwc.js";import"./toChartData-BkubFDq8-BcIfwb51.js";import"./NoDataChart-DCTRXLc7-BU0W5yLr.js";import"./InsightsSection-tUBzsCix-t2SD0L6y.js";import"./NavigationDots-CwCZ9EAa-Uo4o2B8k.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]="95780a76-2e42-444a-9084-83c8cfefb68a",e._sentryDebugIdIdentifier="sentry-dbid-95780a76-2e42-444a-9084-83c8cfefb68a")}catch{}})();const ia=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{V as b}from"./index-bPu7mlA1.js";import{a as k}from"./sentry-uXR4_KRo.js";import{y}from"./DomesticWireDetailsPage-DsPFUOcE-CNM83Rj8.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./mui-CvPZa6D0.js";import"./recharts-7AyWv7E-.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./BankAccountSection-DnBVOkJC-Bn2rFs67.js";import"./MagicLinkTitleSection-DLdaV8WG-BuvestSo.js";import"./BankAccountWarningSection-D7OuLiLz-CD3SlEdY.js";import"./MailingDetailsSection-BNVPaGFt-De-HK05Q.js";import"./LabeledAddressValueField-Dl3atH92-CBuLNDhF.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]="36c727de-9524-4c7d-8d3a-d8db4cd42afe",e._sentryDebugIdIdentifier="sentry-dbid-36c727de-9524-4c7d-8d3a-d8db4cd42afe")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:d,onSaveHandler:r,onWireDetailsUpdated:s,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:u,bankAccountToCreate:l,fetchBankNameByRoutingStatus:f}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),b.jsx(y,{bankAccountToCreate:l,bankAccountCreationState:n,bankNameByRouting:u,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:f,isDisabled:d,onSaveHandler:r,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{H as default};
1
+ import{V as b}from"./index-CpL7aMNT.js";import{a as k}from"./sentry-Cw2y1cds.js";import{y}from"./DomesticWireDetailsPage-DsPFUOcE-ACmLsH0n.js";import"./pdf-B2Mjqvbt.js";import"./zeni-epic-state-C-J3ARpk.js";import"./core-DzJgWcSP.js";import"./mui-Bkh9mHku.js";import"./recharts-Cex23pUy.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";import"./BankAccountSection-DnBVOkJC-CZ4VvDPT.js";import"./MagicLinkTitleSection-DLdaV8WG-C3bsdoSE.js";import"./BankAccountWarningSection-D7OuLiLz-46LAz_wy.js";import"./MailingDetailsSection-BNVPaGFt-l5wno-Nb.js";import"./LabeledAddressValueField-Dl3atH92-CjWOLfvq.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]="36c727de-9524-4c7d-8d3a-d8db4cd42afe",e._sentryDebugIdIdentifier="sentry-dbid-36c727de-9524-4c7d-8d3a-d8db4cd42afe")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:d,onSaveHandler:r,onWireDetailsUpdated:s,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:u,bankAccountToCreate:l,fetchBankNameByRoutingStatus:f}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),b.jsx(y,{bankAccountToCreate:l,bankAccountCreationState:n,bankNameByRouting:u,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:f,isDisabled:d,onSaveHandler:r,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{H as default};
@@ -1,4 +1,4 @@
1
- import{e as ce,y as Ne,T as ke,c8 as Ae,x as b,V as t,a_ as Be,b as Ee,A as Oe,cd as D,o as s,ch as Re,gH as We,fE as qe,ck as Me,gI as He,gJ as Ue,c6 as _e,a9 as Ge,O as pe,eu as J,gO as ue,dX as Ke,ev as Je,m as d,a8 as Qe,bg as F,c3 as Xe,gP as Ze,f as z,er as Ye,bH as et,l as ge,eb as tt,gQ as st,gR as lt,gS as _,ew as it}from"./index-bPu7mlA1.js";import{a as m}from"./sentry-uXR4_KRo.js";import{n as o}from"./mui-CvPZa6D0.js";import{Y as at}from"./LabeledDropDownFormattedTextField-B98gNWTE-rwd9doXk.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.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]="4a866be7-0f15-4ffc-bf2f-9679bb3ffe56",e._sentryDebugIdIdentifier="sentry-dbid-4a866be7-0f15-4ffc-bf2f-9679bb3ffe56")}catch{}})();const ie={largeLabelWidth:new b(160,210,230),paddingBottom:new b(d[3],d[2])},S=(e,i)=>`${e}.${i}`;function ot(e){const{loadingState:i}=e;return t.jsx(rt,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function rt({googleAPIKey:e,addressToEdit:i,sectionId:r,isDisabled:u,style:q}){const R=ce(),c=pe.getLocalizedStrings().companyPassport,p=ie.largeLabelWidth.value(R);return t.jsxs(t.Fragment,{children:[t.jsx(ae,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:q,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:u,label:{label:c.address.street,width:p,showBullet:!0},addressField:{name:S(r,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?ue(i):void 0},placeholder:_(c.address.street),registerOptions:{required:!0,validate:$=>$!=null&&!!$.addressString},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(D,{isDisabled:u,label:{label:c.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:S(r,"suite"),defaultValue:i?.street[1],placeholder:c.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(D,{isDisabled:u,label:{label:c.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"city"),defaultValue:i?.city,placeholder:_(c.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"state"),defaultValue:i?.state,placeholder:_(c.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(ae,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:u,label:{label:c.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:S(r,"country"),placeholder:c.address.countryPlaceholder,defaultValue:J(i?.country),registerOptions:{validate:$=>!($==null||!$.selectedOption)}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"postalCode"),defaultValue:i?.postalCode,placeholder:c.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:ie.paddingBottom.valuePx(R),width:"100%",outline:"none"},text:{type:"text",name:S(r,"secondaryInfo"),defaultValue:i?.street[2],placeholder:c.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=o.div`
1
+ import{e as ce,y as Ne,T as ke,c8 as Ae,x as b,V as t,a_ as Be,b as Ee,A as Oe,cd as D,o as s,ch as Re,gH as We,fE as qe,ck as Me,gI as He,gJ as Ue,c6 as _e,a9 as Ge,O as pe,eu as J,gO as ue,dX as Ke,ev as Je,m as d,a8 as Qe,bg as F,c3 as Xe,gP as Ze,f as z,er as Ye,bH as et,l as ge,eb as tt,gQ as st,gR as lt,gS as _,ew as it}from"./index-CpL7aMNT.js";import{a as m}from"./sentry-Cw2y1cds.js";import{n as o}from"./mui-Bkh9mHku.js";import{Y as at}from"./LabeledDropDownFormattedTextField-B98gNWTE-BFLazuPm.js";import"./pdf-B2Mjqvbt.js";import"./zeni-epic-state-C-J3ARpk.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.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]="4a866be7-0f15-4ffc-bf2f-9679bb3ffe56",e._sentryDebugIdIdentifier="sentry-dbid-4a866be7-0f15-4ffc-bf2f-9679bb3ffe56")}catch{}})();const ie={largeLabelWidth:new b(160,210,230),paddingBottom:new b(d[3],d[2])},S=(e,i)=>`${e}.${i}`;function ot(e){const{loadingState:i}=e;return t.jsx(rt,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function rt({googleAPIKey:e,addressToEdit:i,sectionId:r,isDisabled:u,style:q}){const R=ce(),c=pe.getLocalizedStrings().companyPassport,p=ie.largeLabelWidth.value(R);return t.jsxs(t.Fragment,{children:[t.jsx(ae,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:q,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:u,label:{label:c.address.street,width:p,showBullet:!0},addressField:{name:S(r,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?ue(i):void 0},placeholder:_(c.address.street),registerOptions:{required:!0,validate:$=>$!=null&&!!$.addressString},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(D,{isDisabled:u,label:{label:c.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:S(r,"suite"),defaultValue:i?.street[1],placeholder:c.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(D,{isDisabled:u,label:{label:c.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"city"),defaultValue:i?.city,placeholder:_(c.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"state"),defaultValue:i?.state,placeholder:_(c.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(ae,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:u,label:{label:c.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:S(r,"country"),placeholder:c.address.countryPlaceholder,defaultValue:J(i?.country),registerOptions:{validate:$=>!($==null||!$.selectedOption)}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(r,"postalCode"),defaultValue:i?.postalCode,placeholder:c.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(D,{isDisabled:u,label:{label:c.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:ie.paddingBottom.valuePx(R),width:"100%",outline:"none"},text:{type:"text",name:S(r,"secondaryInfo"),defaultValue:i?.street[2],placeholder:c.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{e as oe,_ as Rn,y as tn,T as Bn,hv as Me,c8 as Fn,B as Vn,hw as ee,hx as pe,hy as he,hz as ue,hA as re,V as n,hr as En,b as ve,A as Un,a_ as Wn,E as qn,bR as Hn,bS as Gn,bT as Qn,bq as Kn,bd as Xn,bN as Jn,an as Yn,cO as Zn,bV as eo,L as no,O as be,x as w,J as Re,o,ac as Cn,l as Ie,ab as oo,m,C as fe,b_ as to,bO as kn,bg as ke,aC as Mn,c1 as io,bu as ro,d4 as so,au as Ke,aR as rn,f as A,aA as Nn,gq as ao,cK as cn,cs as Ye,hB as Ze,k as lo,bo as Ae,de as co,d$ as mn,b6 as mo,cR as po,a as pn,bX as ho,hC as uo,hD as wo,cc as go,dX as vo,e4 as xo,e5 as bo,H as In,hE as fo,b4 as ne,hF as hn,gc as $o,$ as So,t as yo,bj as jo,w as On,d as Ro,ec as Vo,ae as nn}from"./index-bPu7mlA1.js";import{a as f}from"./sentry-uXR4_KRo.js";import{n as i,c as on}from"./mui-CvPZa6D0.js";import{bJ as Co,Go as ko}from"./zeni-epic-state-BDdTNPzg.js";import{r as Mo}from"./core-DuCBl3U1.js";import"./pdf-LR9rRMEe.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.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]="e27ba930-74a6-4f24-bf67-1c1333a76c88",e._sentryDebugIdIdentifier="sentry-dbid-e27ba930-74a6-4f24-bf67-1c1333a76c88")}catch{}})();const Pn=({steps:e})=>{const a=oe();return n.jsx(Io,{windowSize:a,children:e.map((c,l)=>n.jsxs(No,{children:[n.jsx(Po,{children:l!==e.length-1?l+1:n.jsx(zo,{})}),n.jsx(To,{children:c}),l<e.length-1?n.jsx(Oo,{}):null]},`step_${l}`))})},No=i.div`
1
+ import{e as oe,_ as Rn,y as tn,T as Bn,hv as Me,c8 as Fn,B as Vn,hw as ee,hx as pe,hy as he,hz as ue,hA as re,V as n,hr as En,b as ve,A as Un,a_ as Wn,E as qn,bR as Hn,bS as Gn,bT as Qn,bq as Kn,bd as Xn,bN as Jn,an as Yn,cO as Zn,bV as eo,L as no,O as be,x as w,J as Re,o,ac as Cn,l as Ie,ab as oo,m,C as fe,b_ as to,bO as kn,bg as ke,aC as Mn,c1 as io,bu as ro,d4 as so,au as Ke,aR as rn,f as A,aA as Nn,gq as ao,cK as cn,cs as Ye,hB as Ze,k as lo,bo as Ae,de as co,d$ as mn,b6 as mo,cR as po,a as pn,bX as ho,hC as uo,hD as wo,cc as go,dX as vo,e4 as xo,e5 as bo,H as In,hE as fo,b4 as ne,hF as hn,gc as $o,$ as So,t as yo,bj as jo,w as On,d as Ro,ec as Vo,ae as nn}from"./index-CpL7aMNT.js";import{a as f}from"./sentry-Cw2y1cds.js";import{n as i,c as on}from"./mui-Bkh9mHku.js";import{bJ as Co,Go as ko}from"./zeni-epic-state-C-J3ARpk.js";import{r as Mo}from"./core-DzJgWcSP.js";import"./pdf-B2Mjqvbt.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.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]="e27ba930-74a6-4f24-bf67-1c1333a76c88",e._sentryDebugIdIdentifier="sentry-dbid-e27ba930-74a6-4f24-bf67-1c1333a76c88")}catch{}})();const Pn=({steps:e})=>{const a=oe();return n.jsx(Io,{windowSize:a,children:e.map((c,l)=>n.jsxs(No,{children:[n.jsx(Po,{children:l!==e.length-1?l+1:n.jsx(zo,{})}),n.jsx(To,{children:c}),l<e.length-1?n.jsx(Oo,{}):null]},`step_${l}`))})},No=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,A as Ce,a9 as $e,x as c,eu as ae,ev as De,o as y,at as Te,cc as re,y as de,ew as je,ex as Y,c6 as Q,al as H,cd as Se,dS as ke,m as a,dX as Oe,b as Ae,f as M,d as Le,L as Fe,bo as ze,C as Ie,b6 as We}from"./index-bPu7mlA1.js";import{a as W}from"./sentry-uXR4_KRo.js";import{n as g}from"./mui-CvPZa6D0.js";import{bQ as Z}from"./zeni-epic-state-BDdTNPzg.js";import{W as Re,A as Pe}from"./BankAccountWarningSection-D7OuLiLz-CD3SlEdY.js";import{T as _e}from"./MailingDetailsSection-BNVPaGFt-De-HK05Q.js";import{S as Ee}from"./CurrencySelectField-CSPhUjwG-QMsL0N8I.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./LabeledAddressValueField-Dl3atH92-CBuLNDhF.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]="b29eef05-6165-4ae7-a201-c1b50afd3e7d",e._sentryDebugIdIdentifier="sentry-dbid-b29eef05-6165-4ae7-a201-c1b50afd3e7d")}catch{}})();const A={width:new c(343,580,726),height:new c(a[6],a[6]),controlHeight:new c(a[6],a[6]),paddingTopBottom:new c(a[2],a[2]),marginRight:new c(a[2],a[2]),labelMarginLeft:new c(a[3],a[4]),labelMarginRight:new c(a[3],a[4]),labelMarginTop:new c(a[2],a[2])},se={infoLabel:new Le("extraSmallRegular","smallRegular")};function Me({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:s,isAdditionalInfoLabelLoading:o=!1,showAdditionalLabelTooltip:n=!1,additionalLabelTooltip:w,additionalInfoLabel:T,showAdditionalInfoLabel:k=!0}){const C=X(),{formState:{errors:b}}=re(),$=de(),D=Oe(b,l.name);return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Ae("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(He,{labelWidth:i.width,children:[t.jsx(Ee,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:A.controlHeight.value(C)}}),D?t.jsx(Ve,{windowSize:C,hasError:D,children:s}):null,(()=>{if(o===!0)return t.jsx(Ue,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&T||D){let p=null;return n===!0&&k&&w&&(p=t.jsx(ze,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(qe,{children:w}),children:t.jsx(Ge,{children:t.jsx(Qe,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:n,isDisabled:e!=null,children:[p,T]})}})()]})]})}const Be=g.div`
1
+ import{V as t,e as X,T as ge,O as G,c8 as be,S as fe,bR as xe,bS as ve,bT as we,A as Ce,a9 as $e,x as c,eu as ae,ev as De,o as y,at as Te,cc as re,y as de,ew as je,ex as Y,c6 as Q,al as H,cd as Se,dS as ke,m as a,dX as Oe,b as Ae,f as M,d as Le,L as Fe,bo as ze,C as Ie,b6 as We}from"./index-CpL7aMNT.js";import{a as W}from"./sentry-Cw2y1cds.js";import{n as g}from"./mui-Bkh9mHku.js";import{bQ as Z}from"./zeni-epic-state-C-J3ARpk.js";import{W as Re,A as Pe}from"./BankAccountWarningSection-D7OuLiLz-46LAz_wy.js";import{T as _e}from"./MailingDetailsSection-BNVPaGFt-l5wno-Nb.js";import{S as Ee}from"./CurrencySelectField-CSPhUjwG-TUea2NgP.js";import"./pdf-B2Mjqvbt.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";import"./LabeledAddressValueField-Dl3atH92-CjWOLfvq.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]="b29eef05-6165-4ae7-a201-c1b50afd3e7d",e._sentryDebugIdIdentifier="sentry-dbid-b29eef05-6165-4ae7-a201-c1b50afd3e7d")}catch{}})();const A={width:new c(343,580,726),height:new c(a[6],a[6]),controlHeight:new c(a[6],a[6]),paddingTopBottom:new c(a[2],a[2]),marginRight:new c(a[2],a[2]),labelMarginLeft:new c(a[3],a[4]),labelMarginRight:new c(a[3],a[4]),labelMarginTop:new c(a[2],a[2])},se={infoLabel:new Le("extraSmallRegular","smallRegular")};function Me({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:s,isAdditionalInfoLabelLoading:o=!1,showAdditionalLabelTooltip:n=!1,additionalLabelTooltip:w,additionalInfoLabel:T,showAdditionalInfoLabel:k=!0}){const C=X(),{formState:{errors:b}}=re(),$=de(),D=Oe(b,l.name);return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Ae("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(He,{labelWidth:i.width,children:[t.jsx(Ee,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:A.controlHeight.value(C)}}),D?t.jsx(Ve,{windowSize:C,hasError:D,children:s}):null,(()=>{if(o===!0)return t.jsx(Ue,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&T||D){let p=null;return n===!0&&k&&w&&(p=t.jsx(ze,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(qe,{children:w}),children:t.jsx(Ge,{children:t.jsx(Qe,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:n,isDisabled:e!=null,children:[p,T]})}})()]})]})}const Be=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{V as k}from"./index-bPu7mlA1.js";import{a as S}from"./sentry-uXR4_KRo.js";import{f as b}from"./InternationalWireSwiftDetailsPage-BzR-rKaL-DTkvcjTH.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./mui-CvPZa6D0.js";import"./recharts-7AyWv7E-.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./BankAccountWarningSection-D7OuLiLz-CD3SlEdY.js";import"./MailingDetailsSection-BNVPaGFt-De-HK05Q.js";import"./LabeledAddressValueField-Dl3atH92-CBuLNDhF.js";import"./MagicLinkTitleSection-DLdaV8WG-BuvestSo.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]="905e8f99-fb79-4763-a94f-29cc474e19fa",e._sentryDebugIdIdentifier="sentry-dbid-905e8f99-fb79-4763-a94f-29cc474e19fa")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:f})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:c,editVendorState:m,newVendorState:p,bankNameBySwift:l,fetchBankNameBySwiftStatus:u}=e,a={...m??p};return S.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),k.jsx(b,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameBySwift:l,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onAddressClick:f,onFetchBankNameBySwift:s})};export{H as default};
1
+ import{V as k}from"./index-CpL7aMNT.js";import{a as S}from"./sentry-Cw2y1cds.js";import{f as b}from"./InternationalWireSwiftDetailsPage-BzR-rKaL-DLEAf0e9.js";import"./pdf-B2Mjqvbt.js";import"./zeni-epic-state-C-J3ARpk.js";import"./core-DzJgWcSP.js";import"./mui-Bkh9mHku.js";import"./recharts-Cex23pUy.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";import"./BankAccountWarningSection-D7OuLiLz-46LAz_wy.js";import"./MailingDetailsSection-BNVPaGFt-l5wno-Nb.js";import"./LabeledAddressValueField-Dl3atH92-CjWOLfvq.js";import"./MagicLinkTitleSection-DLdaV8WG-C3bsdoSE.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]="905e8f99-fb79-4763-a94f-29cc474e19fa",e._sentryDebugIdIdentifier="sentry-dbid-905e8f99-fb79-4763-a94f-29cc474e19fa")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:f})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:c,editVendorState:m,newVendorState:p,bankNameBySwift:l,fetchBankNameBySwiftStatus:u}=e,a={...m??p};return S.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),k.jsx(b,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameBySwift:l,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onAddressClick:f,onFetchBankNameBySwift:s})};export{H as default};
@@ -1,4 +1,4 @@
1
- import{e as ie,y as oe,O as te,x as c,g4 as w,ad as k,V as i,hm as g,o as r,hj as m,d as ne,f as re,cX as de,C as se,m as a}from"./index-bPu7mlA1.js";import{n as s}from"./mui-CvPZa6D0.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]="9443c2bb-c04f-43aa-beab-da9b9daca9b7",e._sentryDebugIdIdentifier="sentry-dbid-9443c2bb-c04f-43aa-beab-da9b9daca9b7")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},T={title:new ne("standardMedium","largeMedium")},le=s.div`
1
+ import{e as ie,y as oe,O as te,x as c,g4 as w,ad as k,V as i,hm as g,o as r,hj as m,d as ne,f as re,cX as de,C as se,m as a}from"./index-CpL7aMNT.js";import{n as s}from"./mui-Bkh9mHku.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]="9443c2bb-c04f-43aa-beab-da9b9daca9b7",e._sentryDebugIdIdentifier="sentry-dbid-9443c2bb-c04f-43aa-beab-da9b9daca9b7")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},T={title:new ne("standardMedium","largeMedium")},le=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>d.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{j as l}from"./pdf-LR9rRMEe.js";import{a as g}from"./sentry-uXR4_KRo.js";import{j as R,h as K,l as J,u as S,k as G,i as Y,R as tt,m as B,N as $}from"./core-DuCBl3U1.js";import{ct as L,I6 as De,I7 as Je,dt as X,bH as ye,bI as Ce,rP as pt,I8 as at,rT as Gt,Ei as ee,rN as $t,rH as zt,I9 as Ue,rz as Yt,ry as Kt,rs as qt,rE as Ht,rU as Qt,Ia as ue,Ib as Ne,rA as Wt,Ic as he,cF as mt,s7 as St,s0 as ft,Id as gt,k$ as Ie,rX as vt,rV as Tt,Ie as xt,se as It,sb as Dt,rY as yt,sd as Me,CK as Ct,If as Zt,Ig as Xt,bJ as ea,Ih as ta,Ii as aa,Ij as pe,Ik as le,Il as Ee,Ej as Re,st as ve,Eh as Te,sg as Et,rQ as Ge,Im as na,Ek as H,In as $e,rK as sa,Io as oa,Ip as la,Iq as ze,Ir as Ye,Is as Ke,It as qe,sn as be,Iu as bt,s4 as wt,Iv as ia,Iw as ca,Ix as da,Iy as ra,Iz as ua,IA as ha,IB as pa,IC as ma,po as Sa,pp as fa,Do as je,ID as ga,IE as va,ga as Fe,bs as Ta,IF as xa,IG as Ia,hJ as Da,hS as ya,Dn as Pe,bG as nt,IH as kt,D3 as jt,II as Ca,IJ as Ea,IK as ba,hU as wa,IL as st,IM as ot,IN as lt,IO as it,IP as ka,hQ as ja,IQ as Fa,hT as Pa,IR as Aa,IS as Ft,DK as Pt,h7 as _a,IT as Va,IU as Ae,IV as At,DI as _t,un as La,IW as Ba,IX as Oa,hr as Vt,IY as Ja,IZ as Ua,DW as Na,n3 as Ma,I_ as Lt,I$ as ct,DT as _e,J0 as dt,J1 as Ra,DY as Ga,J2 as $a,J3 as za,J4 as Ya,J5 as Ka,J6 as qa,n6 as Ha,J7 as Qa,El as Wa,J8 as Za,DB as Ve,eb as Xa,J9 as en,Ja as tn,e9 as an,Jb as nn,Jc as sn,ur as on,Jd as ln,Je as cn,Jf as dn,Jg as rn,hb as un,bm as hn,cA as pn,cy as mn}from"./zeni-epic-state-BDdTNPzg.js";import{js as U,a7 as Le,jQ as Bt,bk as W,jz as F,k4 as Z,kx as Sn,jO as N,O as xe,N as ie,ky as He,kz as fn,kA as gn,jM as Qe,kB as vn,y as Tn,e as ce,x as We,aE as te,aG as z,kC as xn,jD as Ze,kD as In,kE as Ot,k2 as Dn,kF as yn,_ as Cn,kG as En,kv as Jt,o as Q,f as Ut,jT as bn,kH as wn,kI as kn,J as Xe,kJ as jn,kK as Fn,jL as Pn,kL as An,kM as _n}from"./index-bPu7mlA1.js";import{n as M,D as Vn,S as Nt}from"./mui-CvPZa6D0.js";import{t as Ln,A as Bn}from"./AddressScreen-7cFlirZg.js";import oe from"./NotFoundScreen-CJqSMVfb.js";import{F as On}from"./FeaturePreviewScreen-BUEayEBU.js";import{b as q,v as et,c as Jn}from"./routePaths-rBllTjJq.js";import{p as Mt}from"./pathToGoBack-BdyVSZWc.js";import{M as me}from"./MobileAppDrawer-CKcdPSDd.js";import{S as Un}from"./zeni-icon-only-Cldmtd10.js";import{D as Nn}from"./DrawerScreen-BgWdy-zB.js";import{g as Mn,m as Rn}from"./accountMappingHelper-DeA_Vzuk.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.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]="2b07b3b5-bd24-4f3e-8a9b-19d894576ac8",e._sentryDebugIdIdentifier="sentry-dbid-2b07b3b5-bd24-4f3e-8a9b-19d894576ac8")}catch{}})();const Gn=xe.getLocalizedStrings(),$n=G(function(e,a){const s=Je(e,a.scheduleTab),t=e.tenantState.currentTenantId;return{authParams:{userId:a.signedInUser.userId??"",sessionId:a.signedInUser.zeniSessionId??"",tenantId:t??""},linkBillExpenseView:s.linkBillExpenseView,transactions:s.linkBillExpenseView.transactions}},function(e,a){const{navigate:s,location:t}=a;return{onTransactionSelect(n){e(at({selectedTransaction:n}))},onBackClick:()=>{s("..",{relative:"path"})},onCancel(){e(at({selectedTransaction:void 0})),e(Gt()),s("..",{relative:"path"})},onTransactionClick:n=>{const o=`${q(n,a.tenantEmailDomain)}`,c=N(t.state?.pathnameStackToGoBack,t.pathname);s(o,{state:{pathnameStackToGoBack:c}})},onLinkSave(){a.setShouldNavigateBack(!1),e(pt(a.scheduleTab,a.scheduleAccruedDetailsView.selectedJEAccruedSchedule?.jeScheduleId))}}})(Sn),zn=({setShouldNavigateBack:e})=>{const a=R(),s=K(),{scheduleDetailId:t,tenantEmailDomain:n}=J(),{scheduleType:o}=J();if(n==null)throw Error("Can't access Link Bill Expense page without tenant Email Domain");const c=S(f=>L(f)),r=De(o)??"accrued_expenses",h=U.getSignedInUser();if(h==null)throw Error("Can't access Link Bill Expensedetail page without signing in...");if(t==null)throw Error("Invalid Schedule Detail Id");const i=S(f=>Je(f,r)),m=i.selectedJELinkRowIndex,d=S(f=>X(f,c.companyId)),u=Le(i.updateStatus.fetchState);g.useEffect(()=>{u==="In-Progress"&&i.updateStatus.fetchState==="Completed"&&a("..",{relative:"path"})},[u,i.updateStatus.fetchState]),g.useEffect(()=>{i.fetchState==="Not-Started"&&a("..",{relative:"path"})},[]),g.useEffect(()=>{i.selectedJEAccruedSchedule!=null&&i.selectedJELinkRowIndex!=null||a("..",{relative:"path"})},[i.selectedJEAccruedSchedule,i.selectedJELinkRowIndex]);const p=i.linkBillExpenseView.fetchState==="Completed";return l.jsx(l.Fragment,{children:i.linkBillExpenseView.fetchState==="In-Progress"?l.jsx(Bt,{fetchState:i.linkBillExpenseView.fetchState}):i.selectedJEAccruedSchedule!=null&&m!=null?l.jsxs(l.Fragment,{children:[p===!0?l.jsx(W,{analytics:F,onLoad:()=>{Yn(i,r,d)}}):null,l.jsx($n,{signedInUser:h,attachmentEndPoint:`${Z}/vendor_attachments`,setShouldNavigateBack:e,scheduleVendorId:i.selectedJEAccruedSchedule.vendor.id??"",location:s,tenantEmailDomain:n,scheduleAccruedDetailsView:i,saveFetchState:i.updateStatus.fetchState,scheduleTab:r,navigate:a,analytics:F,controllerUserDetails:d,saveStatus:i.updateStatus.fetchState,jeAccruedSchedule:i.selectedJEAccruedSchedule,localData:i.scheduleAccruedDetailsLocalData.jeScheduleDetails[m]})]}):null})},Rt=e=>{const a=Gn.dateFormat.analytics.YYYYDashMMDashDDFormat;return{scheduleCreateDate:e.createTime.format(a)??null,scheduleMonthlyAmount:e.recurringAmount??null,startingBalance:e.otherAttributes.startingBalance??null,scheduleAccountCategory:e.jeCredit.account?.accountName??null,description:e.memo,runningBalance:e.balanceAsOfToday??null,currentBalance:e.balanceAsOfToday??null,currentStatus:e.status.label,period:e.period??null,startMonth:e.startDate?.format(a)??null,endMonth:e.endDate?.format(a)??null}},Yn=(e,a,s)=>{const t=e.selectedJEAccruedSchedule,n=e.selectedJELinkRowIndex;let o;n!=null&&t!=null&&(o=t.scheduledJournalEntry[n]);const{transactions:c}=e.linkBillExpenseView,r=c.some(m=>m.isRecommendedTransaction===!0),h=ye(s.controllers),i=Ce(s.controllerUserIds);t!=null&&F.trackScheduleAccruedDetailsJournalEntryLinkedLoaded({scheduleType:a,schedule:{...Rt(t)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{wasRecommendationAvailable:r,journalEntryPostingStatus:o?.status.label??""},vendorName:t.vendor.name??null,controllerEmails:h,controllerUserIds:i})},Kn=M.div`
1
+ import{j as l}from"./pdf-B2Mjqvbt.js";import{a as g}from"./sentry-Cw2y1cds.js";import{j as R,h as K,l as J,u as S,k as G,i as Y,R as tt,m as B,N as $}from"./core-DzJgWcSP.js";import{ct as L,I6 as De,I7 as Je,dt as X,bH as ye,bI as Ce,rP as pt,I8 as at,rT as Gt,Ei as ee,rN as $t,rH as zt,I9 as Ue,rz as Yt,ry as Kt,rs as qt,rE as Ht,rU as Qt,Ia as ue,Ib as Ne,rA as Wt,Ic as he,cF as mt,s7 as St,s0 as ft,Id as gt,k$ as Ie,rX as vt,rV as Tt,Ie as xt,se as It,sb as Dt,rY as yt,sd as Me,CK as Ct,If as Zt,Ig as Xt,bJ as ea,Ih as ta,Ii as aa,Ij as pe,Ik as le,Il as Ee,Ej as Re,st as ve,Eh as Te,sg as Et,rQ as Ge,Im as na,Ek as H,In as $e,rK as sa,Io as oa,Ip as la,Iq as ze,Ir as Ye,Is as Ke,It as qe,sn as be,Iu as bt,s4 as wt,Iv as ia,Iw as ca,Ix as da,Iy as ra,Iz as ua,IA as ha,IB as pa,IC as ma,po as Sa,pp as fa,Do as je,ID as ga,IE as va,ga as Fe,bs as Ta,IF as xa,IG as Ia,hJ as Da,hS as ya,Dn as Pe,bG as nt,IH as kt,D3 as jt,II as Ca,IJ as Ea,IK as ba,hU as wa,IL as st,IM as ot,IN as lt,IO as it,IP as ka,hQ as ja,IQ as Fa,hT as Pa,IR as Aa,IS as Ft,DK as Pt,h7 as _a,IT as Va,IU as Ae,IV as At,DI as _t,un as La,IW as Ba,IX as Oa,hr as Vt,IY as Ja,IZ as Ua,DW as Na,n3 as Ma,I_ as Lt,I$ as ct,DT as _e,J0 as dt,J1 as Ra,DY as Ga,J2 as $a,J3 as za,J4 as Ya,J5 as Ka,J6 as qa,n6 as Ha,J7 as Qa,El as Wa,J8 as Za,DB as Ve,eb as Xa,J9 as en,Ja as tn,e9 as an,Jb as nn,Jc as sn,ur as on,Jd as ln,Je as cn,Jf as dn,Jg as rn,hb as un,bm as hn,cA as pn,cy as mn}from"./zeni-epic-state-C-J3ARpk.js";import{js as U,a7 as Le,jQ as Bt,bk as W,jz as F,k4 as Z,kx as Sn,jO as N,O as xe,N as ie,ky as He,kz as fn,kA as gn,jM as Qe,kB as vn,y as Tn,e as ce,x as We,aE as te,aG as z,kC as xn,jD as Ze,kD as In,kE as Ot,k2 as Dn,kF as yn,_ as Cn,kG as En,kv as Jt,o as Q,f as Ut,jT as bn,kH as wn,kI as kn,J as Xe,kJ as jn,kK as Fn,jL as Pn,kL as An,kM as _n}from"./index-CpL7aMNT.js";import{n as M,D as Vn,S as Nt}from"./mui-Bkh9mHku.js";import{t as Ln,A as Bn}from"./AddressScreen-D0jdlECR.js";import oe from"./NotFoundScreen-Cg8eb9UX.js";import{F as On}from"./FeaturePreviewScreen-D_I8hTXD.js";import{b as q,v as et,c as Jn}from"./routePaths-BW7eum2v.js";import{p as Mt}from"./pathToGoBack-CVP2PAJB.js";import{M as me}from"./MobileAppDrawer-lcEQxANw.js";import{S as Un}from"./zeni-icon-only-Vz4_IoFJ.js";import{D as Nn}from"./DrawerScreen-BxAJjX-V.js";import{g as Mn,m as Rn}from"./accountMappingHelper-CVdhvGPq.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.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]="2b07b3b5-bd24-4f3e-8a9b-19d894576ac8",e._sentryDebugIdIdentifier="sentry-dbid-2b07b3b5-bd24-4f3e-8a9b-19d894576ac8")}catch{}})();const Gn=xe.getLocalizedStrings(),$n=G(function(e,a){const s=Je(e,a.scheduleTab),t=e.tenantState.currentTenantId;return{authParams:{userId:a.signedInUser.userId??"",sessionId:a.signedInUser.zeniSessionId??"",tenantId:t??""},linkBillExpenseView:s.linkBillExpenseView,transactions:s.linkBillExpenseView.transactions}},function(e,a){const{navigate:s,location:t}=a;return{onTransactionSelect(n){e(at({selectedTransaction:n}))},onBackClick:()=>{s("..",{relative:"path"})},onCancel(){e(at({selectedTransaction:void 0})),e(Gt()),s("..",{relative:"path"})},onTransactionClick:n=>{const o=`${q(n,a.tenantEmailDomain)}`,c=N(t.state?.pathnameStackToGoBack,t.pathname);s(o,{state:{pathnameStackToGoBack:c}})},onLinkSave(){a.setShouldNavigateBack(!1),e(pt(a.scheduleTab,a.scheduleAccruedDetailsView.selectedJEAccruedSchedule?.jeScheduleId))}}})(Sn),zn=({setShouldNavigateBack:e})=>{const a=R(),s=K(),{scheduleDetailId:t,tenantEmailDomain:n}=J(),{scheduleType:o}=J();if(n==null)throw Error("Can't access Link Bill Expense page without tenant Email Domain");const c=S(f=>L(f)),r=De(o)??"accrued_expenses",h=U.getSignedInUser();if(h==null)throw Error("Can't access Link Bill Expensedetail page without signing in...");if(t==null)throw Error("Invalid Schedule Detail Id");const i=S(f=>Je(f,r)),m=i.selectedJELinkRowIndex,d=S(f=>X(f,c.companyId)),u=Le(i.updateStatus.fetchState);g.useEffect(()=>{u==="In-Progress"&&i.updateStatus.fetchState==="Completed"&&a("..",{relative:"path"})},[u,i.updateStatus.fetchState]),g.useEffect(()=>{i.fetchState==="Not-Started"&&a("..",{relative:"path"})},[]),g.useEffect(()=>{i.selectedJEAccruedSchedule!=null&&i.selectedJELinkRowIndex!=null||a("..",{relative:"path"})},[i.selectedJEAccruedSchedule,i.selectedJELinkRowIndex]);const p=i.linkBillExpenseView.fetchState==="Completed";return l.jsx(l.Fragment,{children:i.linkBillExpenseView.fetchState==="In-Progress"?l.jsx(Bt,{fetchState:i.linkBillExpenseView.fetchState}):i.selectedJEAccruedSchedule!=null&&m!=null?l.jsxs(l.Fragment,{children:[p===!0?l.jsx(W,{analytics:F,onLoad:()=>{Yn(i,r,d)}}):null,l.jsx($n,{signedInUser:h,attachmentEndPoint:`${Z}/vendor_attachments`,setShouldNavigateBack:e,scheduleVendorId:i.selectedJEAccruedSchedule.vendor.id??"",location:s,tenantEmailDomain:n,scheduleAccruedDetailsView:i,saveFetchState:i.updateStatus.fetchState,scheduleTab:r,navigate:a,analytics:F,controllerUserDetails:d,saveStatus:i.updateStatus.fetchState,jeAccruedSchedule:i.selectedJEAccruedSchedule,localData:i.scheduleAccruedDetailsLocalData.jeScheduleDetails[m]})]}):null})},Rt=e=>{const a=Gn.dateFormat.analytics.YYYYDashMMDashDDFormat;return{scheduleCreateDate:e.createTime.format(a)??null,scheduleMonthlyAmount:e.recurringAmount??null,startingBalance:e.otherAttributes.startingBalance??null,scheduleAccountCategory:e.jeCredit.account?.accountName??null,description:e.memo,runningBalance:e.balanceAsOfToday??null,currentBalance:e.balanceAsOfToday??null,currentStatus:e.status.label,period:e.period??null,startMonth:e.startDate?.format(a)??null,endMonth:e.endDate?.format(a)??null}},Yn=(e,a,s)=>{const t=e.selectedJEAccruedSchedule,n=e.selectedJELinkRowIndex;let o;n!=null&&t!=null&&(o=t.scheduledJournalEntry[n]);const{transactions:c}=e.linkBillExpenseView,r=c.some(m=>m.isRecommendedTransaction===!0),h=ye(s.controllers),i=Ce(s.controllerUserIds);t!=null&&F.trackScheduleAccruedDetailsJournalEntryLinkedLoaded({scheduleType:a,schedule:{...Rt(t)},scheduleExpenseCategoryAndClass:{expenseCategory:t.jeDebit.account?.accountName??null,expenseClass:t.jeDebit.accountingClass?.className??null},journalEntryDetails:{wasRecommendationAvailable:r,journalEntryPostingStatus:o?.status.label??""},vendorName:t.vendor.name??null,controllerEmails:h,controllerUserIds:i})},Kn=M.div`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{a7 as L,T as N,V as r,bn as P,E as d,A,bo as M,C as f,bp as R,o as n,O as _,a as I,bq as z,l as O,br as H,bs as C,b6 as q,f as j,au as v,bt as U}from"./index-bPu7mlA1.js";import{a as l}from"./sentry-uXR4_KRo.js";import{n as t}from"./mui-CvPZa6D0.js";import{bs as W}from"./zeni-epic-state-BDdTNPzg.js";import{A as X,Z as k}from"./AccountLockedInfoModal-B1JxHllU-zA2mS4xW.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./handshake-BPg58FML-DVgbSASX.js";import"./unlock-BPWn2I5L-BihjIVk1.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]="327e655a-b3cc-470e-a167-c13fb5a3872b",e._sentryDebugIdIdentifier="sentry-dbid-327e655a-b3cc-470e-a167-c13fb5a3872b")}catch{}})();const Z=e=>{if(!e)return"";try{const i=H(e);if(!i){const s=e.replace(/\D/g,"");if(s.length>=4){const c=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${c}`}return C(e)||e}return`+${i.countryCallingCode} (•••) ••• ${i.nationalNumber.slice(-4)}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const p=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},o=_.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",Oe=e=>{const i=e.verifyOtpFetchState==="In-Progress",[p,s]=l.useState(!1),[c,w]=l.useState(!1),[g,T]=l.useState(0),[$,D]=l.useState(120),[h,S]=l.useState(30),E=L(e.verifyOtpFetchState),m=N({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),y=m.watch(x),F=o.footerHelperText.replace(/<button_text>/,o.verify);return l.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(s(!0),T(a=>a+1),m.setValue(x,""))},[E,e.verifyOtpFetchState,m]),l.useEffect(()=>{if($<=0)return void w(!0);const a=setInterval(()=>{D(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[$]),l.useEffect(()=>{if(h<=0)return;const a=setInterval(()=>{S(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[h]),r.jsx(P,{open:!0,children:r.jsxs(B,{children:[r.jsx(d,{controller:g>2,children:r.jsx(X,{unlockDate:W().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:g<=2,children:r.jsx(A,{...m,children:r.jsxs(ce,{children:[r.jsxs(se,{children:[r.jsx(G,{children:o.verifyDeviceTitle}),r.jsx(J,{children:o.verifyDeviceDescription}),r.jsxs(Q,{children:[e.phoneNumber!=null&&r.jsx(K,{children:Z(e.phoneNumber+"")}),r.jsx(M,{placement:"top",title:r.jsxs(f,{children:[o.changePhoneNumberHelperText,r.jsx(xe,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(ue,{})})]})]}),r.jsxs(Y,{children:[r.jsx(R,{value:y,valueLength:6,hasError:c===!0||p===!0,style:{margin:n.sp0},onChange:a=>{m.setValue(x,a),s(!1)}}),r.jsx(d,{controller:c===!1,children:r.jsx(V,{children:r.jsxs(de,{children:[o.codeExpiresIn," ",(b=$,`${Math.floor(b/60)}:${(b%60).toString().padStart(2,"0")}`)]})})}),r.jsx(d,{controller:c===!0,children:r.jsx(V,{children:r.jsx(pe,{children:o.codeExpired})})})]}),p===!0&&c===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:g>=1,children:r.jsx(ee,{children:o.incorrectCode})}),r.jsx(d,{controller:g===2,children:r.jsx(he,{children:r.jsxs(f,{children:[r.jsx(me,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(re,{children:[r.jsx(te,{children:o.codeNotReceived}),r.jsx(oe,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),s(!1),w(!1),m.setValue(x,""),D(120),S(30))},children:o.resend}),h>0&&r.jsxs(ne,{children:[_.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ae,{children:[r.jsxs(ie,{children:[r.jsx(I,{label:o.cancel,onClick:()=>{e.onCancelVerifyDevice()},style:{width:82}}),r.jsx(I,{variant:"primary",label:o.verify,onClick:()=>{y.trim().length===6&&e.onVerifyOtp(y)},style:{width:82},loading:i,disabled:y.trim().length!==6||c===!0})]}),r.jsx(le,{children:F})]})]})})})]})});var b},B=t.div`
1
+ import{a7 as L,T as N,V as r,bn as P,E as d,A,bo as M,C as f,bp as R,o as n,O as _,a as I,bq as z,l as O,br as H,bs as C,b6 as q,f as j,au as v,bt as U}from"./index-CpL7aMNT.js";import{a as l}from"./sentry-Cw2y1cds.js";import{n as t}from"./mui-Bkh9mHku.js";import{bs as W}from"./zeni-epic-state-C-J3ARpk.js";import{A as X,Z as k}from"./AccountLockedInfoModal-B1JxHllU-CApHAbyP.js";import"./pdf-B2Mjqvbt.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";import"./handshake-BPg58FML-DDrW3vFD.js";import"./unlock-BPWn2I5L-CsX6-f2z.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]="327e655a-b3cc-470e-a167-c13fb5a3872b",e._sentryDebugIdIdentifier="sentry-dbid-327e655a-b3cc-470e-a167-c13fb5a3872b")}catch{}})();const Z=e=>{if(!e)return"";try{const i=H(e);if(!i){const s=e.replace(/\D/g,"");if(s.length>=4){const c=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${c}`}return C(e)||e}return`+${i.countryCallingCode} (•••) ••• ${i.nationalNumber.slice(-4)}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const p=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},o=_.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",Oe=e=>{const i=e.verifyOtpFetchState==="In-Progress",[p,s]=l.useState(!1),[c,w]=l.useState(!1),[g,T]=l.useState(0),[$,D]=l.useState(120),[h,S]=l.useState(30),E=L(e.verifyOtpFetchState),m=N({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),y=m.watch(x),F=o.footerHelperText.replace(/<button_text>/,o.verify);return l.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(s(!0),T(a=>a+1),m.setValue(x,""))},[E,e.verifyOtpFetchState,m]),l.useEffect(()=>{if($<=0)return void w(!0);const a=setInterval(()=>{D(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[$]),l.useEffect(()=>{if(h<=0)return;const a=setInterval(()=>{S(u=>u<=1?0:u-1)},1e3);return()=>clearInterval(a)},[h]),r.jsx(P,{open:!0,children:r.jsxs(B,{children:[r.jsx(d,{controller:g>2,children:r.jsx(X,{unlockDate:W().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:g<=2,children:r.jsx(A,{...m,children:r.jsxs(ce,{children:[r.jsxs(se,{children:[r.jsx(G,{children:o.verifyDeviceTitle}),r.jsx(J,{children:o.verifyDeviceDescription}),r.jsxs(Q,{children:[e.phoneNumber!=null&&r.jsx(K,{children:Z(e.phoneNumber+"")}),r.jsx(M,{placement:"top",title:r.jsxs(f,{children:[o.changePhoneNumberHelperText,r.jsx(xe,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(ue,{})})]})]}),r.jsxs(Y,{children:[r.jsx(R,{value:y,valueLength:6,hasError:c===!0||p===!0,style:{margin:n.sp0},onChange:a=>{m.setValue(x,a),s(!1)}}),r.jsx(d,{controller:c===!1,children:r.jsx(V,{children:r.jsxs(de,{children:[o.codeExpiresIn," ",(b=$,`${Math.floor(b/60)}:${(b%60).toString().padStart(2,"0")}`)]})})}),r.jsx(d,{controller:c===!0,children:r.jsx(V,{children:r.jsx(pe,{children:o.codeExpired})})})]}),p===!0&&c===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:g>=1,children:r.jsx(ee,{children:o.incorrectCode})}),r.jsx(d,{controller:g===2,children:r.jsx(he,{children:r.jsxs(f,{children:[r.jsx(me,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(re,{children:[r.jsx(te,{children:o.codeNotReceived}),r.jsx(oe,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),s(!1),w(!1),m.setValue(x,""),D(120),S(30))},children:o.resend}),h>0&&r.jsxs(ne,{children:[_.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ae,{children:[r.jsxs(ie,{children:[r.jsx(I,{label:o.cancel,onClick:()=>{e.onCancelVerifyDevice()},style:{width:82}}),r.jsx(I,{variant:"primary",label:o.verify,onClick:()=>{y.trim().length===6&&e.onVerifyOtp(y)},style:{width:82},loading:i,disabled:y.trim().length!==6||c===!0})]}),r.jsx(le,{children:F})]})]})})})]})});var b},B=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${"256px"};