@zeniai/web-app-ui 4.14.33-dev → 4.14.33-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-DKTSwNyl-CDIFOfdq.js → ACHDetailsPage-DKTSwNyl-Bc2bTi8N.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BzTlSxeg-BuDeNPSy.js → AIPerformancePage-BzTlSxeg-C_b6NGr8.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-CrEEthms-45HqRER7.js → AccountInfoPage-CrEEthms-BX4FcVy1.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-B0ZnsyrQ-BWluBgsD.js → AccountInfoPageContent-B0ZnsyrQ-C9xmKmsg.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-B6A-nGIq-Dg3p8NEN.js → AccountLockedInfoModal-B6A-nGIq-f9xp9SZb.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BTmjrd8b-CvWGr60v.js → AccountReconDetailsDrawerPage-BTmjrd8b-DSRp7nAY.js} +1 -1
  7. package/dist/assets/{AccountRow-C-Iunc36-CWR0-Stg.js → AccountRow-C-Iunc36-4-Fl4GH4.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-D6xN5A4_-DaMwJmFg.js → AccountsPromoCardStack-D6xN5A4_-Bo61ICuL.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-B6tLAOA_-DSLXld5A.js → AddAddressForCardDrawer-B6tLAOA_-CAGLnUzn.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-Bw1oz9Y2-D8T9ntRu.js → AddToWalletPage-Bw1oz9Y2-B2JzMVjJ.js} +1 -1
  11. package/dist/assets/{AddressRoutes-Du2U1_wy.js → AddressRoutes-C6-PDitU.js} +1 -1
  12. package/dist/assets/{AddressScreen-Do5YL4Hs.js → AddressScreen-PFAhLrpu.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-BK3PXwnr-sRb89fRD.js → AgingReportsPage-BK3PXwnr-Veddbnlf.js} +1 -1
  14. package/dist/assets/{AiCfoScreen-m0mtpC7v.js → AiCfoScreen-CL25R3t3.js} +1 -1
  15. package/dist/assets/{AllUserItems-B42zEFpe-Dt3QyoOE.js → AllUserItems-B42zEFpe-D5lPCnFq.js} +1 -1
  16. package/dist/assets/{ApAgingDetailPage-vzW4qF2Y-Be_AyJp4.js → ApAgingDetailPage-vzW4qF2Y-CBwVparw.js} +1 -1
  17. package/dist/assets/{AppBasePage-yAU5vW5D-DRiBAUPT.js → AppBasePage-yAU5vW5D-bpqbqFGe.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-nnh5cFf7-LHEC_nmn.js → AppDrawerContent-nnh5cFf7-D2XEkxcV.js} +1 -1
  19. package/dist/assets/{ApprovalRulesSettingsPage-B-Y2YjpT-Di6q3Tts.js → ApprovalRulesSettingsPage-B-Y2YjpT-DOScYuf-.js} +1 -1
  20. package/dist/assets/{ArAgingChart-CCc6eh55-fg322qhA.js → ArAgingChart-CCc6eh55-BZtSTYFW.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-CYXVPEzK-BXygZJWM.js → ArAgingDetailPage-CYXVPEzK--7bbNGLz.js} +1 -1
  22. package/dist/assets/{AttachmentView-DqrQDEWc-bqv6C4yz.js → AttachmentView-DqrQDEWc-C1XsL57s.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-D1_dZg5k-Cp5teLbH.js → BalancesInsightWithToolTip-D1_dZg5k-BX_AMA1l.js} +1 -1
  24. package/dist/assets/{BankAccountSection-4vXBKCFA-DKXdSrK9.js → BankAccountSection-4vXBKCFA-CGmaaTlD.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-Dhmxhwx--DZdDHKDy.js → BankAccountWarningSection-Dhmxhwx--58Xa5u-H.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-z52fh-wH-8ecSlDkf.js → BankConnectionsSettingsPage-z52fh-wH-Coc05w4w.js} +1 -1
  27. package/dist/assets/{BillDetailPage-DRpctLxu-LXI19q8V.js → BillDetailPage-DRpctLxu-BrCWUdn-.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-KGuDCnTY.js → BillPayApprovalRoutes-AUHYDbAN.js} +1 -1
  29. package/dist/assets/{BillPayApprovalRuleDetailPage-CJtb4oOG-D3VWhKCe.js → BillPayApprovalRuleDetailPage-CJtb4oOG-M9GflHmY.js} +1 -1
  30. package/dist/assets/{BillPayApprovalRulesPage-HG32jtX9-BIhcv1hk.js → BillPayApprovalRulesPage-HG32jtX9-B32iWQZN.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-DwxNDF0k-CcLPK5n4.js → BillPayPromoPage-DwxNDF0k-LRfhlmXF.js} +1 -1
  32. package/dist/assets/{BillPayRoutes-Ce5JVkt4.js → BillPayRoutes-C1D-ob4g.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-B-kmDrpB-DqUJzo3-.js → BillPaySetUpPage-B-kmDrpB-BikhT1jy.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-CNZyUOpM-KCtCCu_U.js → BillingSettingsPage-CNZyUOpM-DgIRt-jE.js} +1 -1
  35. package/dist/assets/{BillsBulkReviewDrawerPage-DbIDTE51-jz6OelMc.js → BillsBulkReviewDrawerPage-DbIDTE51-SWHTQENA.js} +1 -1
  36. package/dist/assets/{BoxItem-CIyMdw2s-BlAcmWAT.js → BoxItem-CIyMdw2s-D-lQpxkp.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-DQ34qLUA-DQ_EHnlJ.js → BusinessVerificationPage-DQ34qLUA-DCkHdIkD.js} +1 -1
  38. package/dist/assets/{BusinessVerificationPageScreen-iODPCcKg.js → BusinessVerificationPageScreen-IjG0yQZ_.js} +1 -1
  39. package/dist/assets/{BusyIndication-YMYY0Pff-BY32OnMI.js → BusyIndication-YMYY0Pff-8c_TagDV.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-CN1RN7Tf-Crkz5sd9.js → CardNumberSubText-CN1RN7Tf-DnCmI7xu.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-CyYkVa0H-YXMN_DEG.js → CashbackDetailPage-CyYkVa0H-CedYX8Dk.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-DFUAF2OM-DP6SPQkf.js → ChargeCardDetailPage-DFUAF2OM-DO8luaXQ.js} +1 -1
  43. package/dist/assets/{ChargeCardListPage-BTHDGtJ6-Cjssvtzk.js → ChargeCardListPage-BTHDGtJ6-BQhLVPYb.js} +1 -1
  44. package/dist/assets/{ChargeCardListTable-BiKjkqVs-C2Q47jri.js → ChargeCardListTable-BiKjkqVs-C5oCI8Q3.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-sPGU7qmY-D7s1gonC.js → ChargeCardPaymentHistoryPage-sPGU7qmY-DQ9xiOfg.js} +1 -1
  46. package/dist/assets/{ChargeCardPromoPage-6JwKgWli-CuEACLDU.js → ChargeCardPromoPage-6JwKgWli-BlwYb81n.js} +1 -1
  47. package/dist/assets/{ChargeCardRoutes-R82vHuIV.js → ChargeCardRoutes-B1FcltEY.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-DmhPAnYT-kDmietjf.js → ChargeCardSetupPage-DmhPAnYT-BtPogUbs.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-DUXupPSN-BYaTogVZ.js → ChargeCardStatementsPage-DUXupPSN-Cpjzl-p5.js} +1 -1
  50. package/dist/assets/{CheckDepositDrawerPage-C8nbDVSz-fCr2LZZm.js → CheckDepositDrawerPage-C8nbDVSz-BESjH8Mb.js} +1 -1
  51. package/dist/assets/{CollapsableReportTable-C_bWRP7w-ybv6uXaY.js → CollapsableReportTable-C_bWRP7w-CciBV8Xg.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-6LXCxWYP-N1CjwGwi.js → CompanyOfficerDetailsSection-6LXCxWYP-BF-OJUme.js} +1 -1
  53. package/dist/assets/{CompanyPassportCard-DVJS9xE7-WQAczivM.js → CompanyPassportCard-DVJS9xE7-BpJqDciV.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-FJ30paB0-B650xBRc.js → CompanyPassportPage-FJ30paB0-Dt9VsmnN.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-v4ozfRkw.js → CompanyPassportScreen-MWWSZ8B2.js} +1 -1
  56. package/dist/assets/{CompleteProfile-D3Im5rsm-DOcwDl2N.js → CompleteProfile-D3Im5rsm-BpIxXAAi.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-BJrOe5Fg-B4cWwrd1.js → ConfettiBurst-BJrOe5Fg-BAZHOIGJ.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-CRf6FtAm.js → ConnectionAuthScreen-CzNm9ad0.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-Dk4QFttG.js → ConstrainedInnerElement-CgdnMeoA-CoG3P9vK.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-C8dK3_XQ-BF1JDoLL.js → CreateOrEditVendorPage-C8dK3_XQ-C15I416N.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-Dp5mS2Hc-CeHtX3in.js → CreditCardPaymentDrawerPage-Dp5mS2Hc-DTIZsaSw.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-BAQ5aoHk-DH5SrL5M.js → CurrencySelectField-BAQ5aoHk-CjYKKLQE.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-D8T1akbN-CiWQ4BME.js → CustomerOnboardingActivationPage-D8T1akbN-jAZ-c4Jb.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-DsaM79Am.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-CGFQ4G4y-C4Xe2rGH.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DSvvHqR_-B6nZNBwn.js → CustomerOnboardingDetailPageSkeleton-DSvvHqR_-C7zWHcUG.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-CSLO3M7E-qZci9B5e.js → CustomerOnboardingNoStepsPage-CSLO3M7E-brzZQgCi.js} +1 -1
  68. package/dist/assets/{CustomerOnboardingPage-weza3x24-BkXOFQX9.js → CustomerOnboardingPage-weza3x24-Ccyqgn8h.js} +1 -1
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-3YH4y1e1-JkiatwoQ.js → CustomerOnboardingProductSuitePage-3YH4y1e1-pjdfDTb8.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-BH4p4U2x.js → CustomerOnboardingRoutes-XRSaaY78.js} +1 -1
  71. package/dist/assets/{Dashboard-Bpuy-Pez-CGeVqi25.js → Dashboard-Bpuy-Pez-Ds7FnePH.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-1p79NBF9-PsndgGNB.js → DashboardReportPage-1p79NBF9-BNxbXDi-.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-BpbDpYw3.js → DashboardRoutes-DQPYEQgc.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-CBg2tWHO-BrEJtieY.js → DashboardSidebarBackgroundAnimation-CBg2tWHO-Cui2Fdgf.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-dh0i9bS7.js → DefaultTenantHome-CawwJRef.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-DlztlGZL-BabOldBp.js → DepositAccTransactionItem-DlztlGZL-B-P-23Qj.js} +1 -1
  77. package/dist/assets/{DepositAccTransactionListPage-BO43c3Uz-DAiR329Z.js → DepositAccTransactionListPage-BO43c3Uz-CvNdUtgH.js} +1 -1
  78. package/dist/assets/{DomesticWireDetailScreen-73EFUwYw.js → DomesticWireDetailScreen-ddav_vr8.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-SEql3I0P-DopSoItu.js → DomesticWireDetailsPage-SEql3I0P-CtmaSgSg.js} +1 -1
  80. package/dist/assets/{DownloadOverlay-PhrwF2iZ-DE41QNaR.js → DownloadOverlay-PhrwF2iZ-6hCqaF8S.js} +1 -1
  81. package/dist/assets/{DrawerPage-Bf3AP3Lj-Ca4Hlb-5.js → DrawerPage-Bf3AP3Lj-DPgOYdm3.js} +1 -1
  82. package/dist/assets/{DrawerScreen-DHeqOl2i.js → DrawerScreen-LnM4SFeC.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-B-rBzonN-uBCjqsHV.js → EditPeoplePage-B-rBzonN-Czwb7LFT.js} +1 -1
  84. package/dist/assets/{EditReimbursementDetailPage-CUiIHNgT-8PuUQb7F.js → EditReimbursementDetailPage-CUiIHNgT-DL0vyswh.js} +1 -1
  85. package/dist/assets/{EntityDetailPage-CvLzsrUE-BBux-0Uo.js → EntityDetailPage-CvLzsrUE-YnSALKmS.js} +1 -1
  86. package/dist/assets/{EntityDetailRoutes-DBLMB4dw.js → EntityDetailRoutes-qDLMojb-.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-mXeSjiuZ-B9FERucG.js → EntitySummarySection-mXeSjiuZ-mbYzj6f7.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-DQCoy1O9-BZfo9th3.js → ExpenseAutomationOverviewPage-DQCoy1O9-DafDYajd.js} +1 -1
  89. package/dist/assets/{ExpenseAutomationPage-BeAzQ7Qx-Dz7fhupP.js → ExpenseAutomationPage-BeAzQ7Qx-DruHAbxW.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-Ciow3RJ2.js → ExpenseAutomationRoutes-C_YfRs2F.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-C-isOU1b-CVmq_SpS.js → ExpressPayPage-C-isOU1b-BduG_pTk.js} +1 -1
  92. package/dist/assets/{FeaturePreviewPage-Cyre9YzV-Cftfc0PA.js → FeaturePreviewPage-Cyre9YzV-DlvO5vnT.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-2RPLc4Gf.js → FeaturePreviewScreen-DpQUlVdb.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-DZNWzSvo-BRkqWsPS.js → FollowStepsSection-DZNWzSvo-CV855DLe.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-Dp--ugNc-Dtv4hNaC.js → GlobalReviewListPage-Dp--ugNc-CUgp524d.js} +1 -1
  96. package/dist/assets/{InformationCardStack-D7naFDX0-DgOmsE3E.js → InformationCardStack-D7naFDX0-dxr-0NGh.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-DexUl4h--CD8yzPkl.js → InsightsCardStack-DexUl4h--BEmjrK0J.js} +1 -1
  98. package/dist/assets/{InsightsSection-D9PJ55E6-BZ3NURYW.js → InsightsSection-D9PJ55E6-B7HiYLyV.js} +1 -1
  99. package/dist/assets/{IntegrationsSettingsPage-hFTe3wiP-BhlDRzBS.js → IntegrationsSettingsPage-hFTe3wiP-BOjrQBI4.js} +1 -1
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-DLkE5bXp-CEjk6OlM.js → InternationalWireSwiftDetailsPage-DLkE5bXp--5MNtm85.js} +1 -1
  101. package/dist/assets/{InternationalWireVerificationPage-DYGjEqNz-BHv8RAGX.js → InternationalWireVerificationPage-DYGjEqNz-CipGhHux.js} +1 -1
  102. package/dist/assets/{InviteFormPage-CGAsWQn7-CTMj3TWe.js → InviteFormPage-CGAsWQn7-n0DTMWoR.js} +1 -1
  103. package/dist/assets/{InvitePageListView-BSPE9f03-DiWtDrPd.js → InvitePageListView-BSPE9f03-BNctE-CG.js} +1 -1
  104. package/dist/assets/{InvitePeoplePage-ANvLB-mB-bW0ZLS4w.js → InvitePeoplePage-ANvLB-mB-CpaE4Rlp.js} +1 -1
  105. package/dist/assets/{InvoiceUploadSection-OGMswY7c-CziQJBl6.js → InvoiceUploadSection-OGMswY7c-Bxl-23KJ.js} +1 -1
  106. package/dist/assets/{IssueChargeCardPage-sLInqAsW-C2PmO3GP.js → IssueChargeCardPage-sLInqAsW-D13dNOa1.js} +1 -1
  107. package/dist/assets/{LabeledAddressValue-DBJ236tZ-DRwoxJhK.js → LabeledAddressValue-DBJ236tZ-CCUelxNZ.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-CAr-IiTa-hz8acdw2.js → LabeledAddressValueField-CAr-IiTa-BbDMgSK1.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-BdWZgcQc-Dj_Rq1GV.js → LabeledControlledCheckBoxField-BdWZgcQc-DBRyRoy4.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-C6z1v9S1-B3o5vQAY.js → LabeledCountryMultiSelectField-C6z1v9S1-BroEe8Pk.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-Dhi0n2ky-DMTYZTz6.js → LabeledCreatableSingleSelectField-Dhi0n2ky-oXAYRW3Y.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-B3QSq1eM-IGzby_k8.js → LabeledDocumentField-B3QSq1eM-B1fkGtqc.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-B39DlufR-DdaTss6V.js → LabeledDropDownFormattedTextField-B39DlufR-DEbEW-xe.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-CY2mGhJG-CWnMQ78-.js → LabeledEmailInputField-CY2mGhJG-aSv90Inf.js} +1 -1
  115. package/dist/assets/{LabeledNameField-CYN5kdQi-86Gkfv4K.js → LabeledNameField-CYN5kdQi-DRc8wnom.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-CBXzDXMd-Bb2Vdxcj.js → LabeledSingleSelectField-CBXzDXMd-7n9Z8sV3.js} +1 -1
  117. package/dist/assets/{LabeledText-GEbY3-bB-BUisrQ9a.js → LabeledText-GEbY3-bB-PhBp6bfW.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-CSkej6UT.js → LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-CjXLbV84.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-DJfE1qQb-B_HO08cO.js → LabeledZeniRolesDropDownField-DJfE1qQb-BhRDIGaK.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-B2ROo3VS-YhdCoxbn.js → LinkJETransactionPage-B2ROo3VS-BBFt4dlQ.js} +1 -1
  121. package/dist/assets/{LockCardPage-D2dUPnNL-tuQUusRC.js → LockCardPage-D2dUPnNL-DUp7qiCt.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-DTtl3SIc-jw3rRGRn.js → LowBalancePopup-DTtl3SIc-E1tDZRd2.js} +1 -1
  123. package/dist/assets/{MagicLinkACHDetailsPage-BC6_cyO0-C-40wwsX.js → MagicLinkACHDetailsPage-BC6_cyO0-_gBSeN5R.js} +1 -1
  124. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CdG5oCPl-DLQOqv2b.js → MagicLinkDomesticWireDetailsPage-CdG5oCPl-DZXtyTS-.js} +1 -1
  125. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C046BNUz-Du-Hf2Rs.js → MagicLinkInternationalWireDetailsPage-C046BNUz-B8SVk8N4.js} +1 -1
  126. package/dist/assets/{MagicLinkRoutes-Ce7UoZ3g.js → MagicLinkRoutes-By7eKEwY.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-BzoOowms.js → MagicLinkSignInScreen-BHvms_oA.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-Ctt1pLiv-DgUpkUDW.js → MagicLinkSuccessPage-Ctt1pLiv-BdN-cc5m.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-CtsQ_c44-DD1X6fG2.js → MagicLinkTitleSection-CtsQ_c44-CLgX51Lh.js} +1 -1
  130. package/dist/assets/{MailingDetailsSection-DiZwQ9QV-Zw0hJwAt.js → MailingDetailsSection-DiZwQ9QV-C9cOsJmb.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-qasrJsA4.js → MobileAppDrawer-D_Zv7SEm.js} +1 -1
  132. package/dist/assets/{MoreMenuButton--MxUyTqX-BRissmUy.js → MoreMenuButton--MxUyTqX-BKClOngp.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-6ltpx62E-D6KFe-KP.js → MyBankConnectionsSettingsPage-6ltpx62E-DmKyUIJL.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-CwDedcXl-Dxd2fyLg.js → MyPendingActivationChargeCardListPage-CwDedcXl-cvE251rw.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-Bmhu2lrK-CTluZRHn.js → MyProfileSettingsPage-Bmhu2lrK-rBcXWdJd.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-jqJCHGvR-DMu0y4Qb.js → NavBarWithPicker-jqJCHGvR-CWWdfH19.js} +1 -1
  137. package/dist/assets/{NavigationArrow-DY_BhITD-gGit-4br.js → NavigationArrow-DY_BhITD-Dnzcm7uo.js} +1 -1
  138. package/dist/assets/{NavigationDots-Kh5ODrCQ-DwZ3hrog.js → NavigationDots-Kh5ODrCQ-C4TC7zOM.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-BYTROFvX-DwdJUPSt.js → NewGlobalMerchantPage-BYTROFvX-DtVNAYMZ.js} +1 -1
  140. package/dist/assets/{NoDataChart-CuiKDcAB-DcvOdNkO.js → NoDataChart-CuiKDcAB-DfDAq8HZ.js} +1 -1
  141. package/dist/assets/{NoDataTable-BpH8puX--CKc9Uumk.js → NoDataTable-BpH8puX--HM2_sbNG.js} +1 -1
  142. package/dist/assets/{NotFoundPage-BKvCYyvc-CVW4jAzU.js → NotFoundPage-BKvCYyvc-CJXp0Pjb.js} +1 -1
  143. package/dist/assets/{NotFoundScreen-BGyIaLbV.js → NotFoundScreen-Do4glXJR.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-g75WljLy.js → NotificationRoutes-BCkL19us.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-F2xXUCSE-1aLSD_P9.js → NotificationSettingsPage-F2xXUCSE-DKAOjF99.js} +1 -1
  146. package/dist/assets/{NotificationsListConfig-C9r-O2kH-aq3nwp_9.js → NotificationsListConfig-C9r-O2kH-B3gctenq.js} +1 -1
  147. package/dist/assets/{NotificationsPage-CZZ9GTVy-CjLasA13.js → NotificationsPage-CZZ9GTVy-DOSjvq6w.js} +1 -1
  148. package/dist/assets/{OpExByVendorPage-Crvcsx0U-D2kbC2Nh.js → OpExByVendorPage-Crvcsx0U-BOOYb9mh.js} +1 -1
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-DpfAmCAx.js → OverlayContainerPage-BG9y5C0t-kQ2dclsK.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-CkDCt5NK-CZTB6HyP.js → PandLWithForecastPage-CkDCt5NK-DhqWsErR.js} +1 -1
  151. package/dist/assets/{PandLWithForecastRoutes-BIm6SNTl.js → PandLWithForecastRoutes-Ckga0WLf.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D1ZDh1GY-CDM1qPvj.js → PaymentAccountSetupBillingAddressSection-D1ZDh1GY-Cln5yBGB.js} +1 -1
  153. package/dist/assets/{PeoplePage-D2CtRlrd-By7K7MoK.js → PeoplePage-D2CtRlrd-BWKSpHTw.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-DYEYoT-Z.js → PeopleRoutes-BS6R7lSX.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-DfWgoWPO.js → PerformanceRoutes-DAaAjlXW.js} +1 -1
  156. package/dist/assets/{Preview-CBFJfLMb.js → Preview-BuEGao8y.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-sNagRI0c-61XsnGmO.js → ProductsCarousel-sNagRI0c-q0UofySm.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BUk-u73S-BOYyiMks.js → PromoBaseCards-BUk-u73S-B_feA__0.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-C1rEAxUE-DfW1Uzaj.js → QBOConnectionDialog-C1rEAxUE-D1j3DSMJ.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-Rp-2rn0k.js → QBOConnectionScreen-Dl_GxDAm.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-iQJCHR-K-Cozk6L0j.js → QBOSetupSection-iQJCHR-K-C3LseTYy.js} +1 -1
  162. package/dist/assets/{ReferralListScreen-CBuGWNNX.js → ReferralListScreen-D-sgCNbc.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-D0ehNmsg.js → ReimbursementApprovalRoutes-CQIxmg26.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BPIKZ9v1-_Rw4LFib.js → ReimbursementApprovalRuleDetailPage-BPIKZ9v1-DknSmPsq.js} +1 -1
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen--zBLN-vr.js → ReimbursementApprovalRuleDetailScreen-BaTXZjqC.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-AE810nQZ-CKLvlvGT.js → ReimbursementApprovalRulesPage-AE810nQZ-rHOZAsXP.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-CYuZJL_J-Dc9Q5SmJ.js → ReimbursementDetailPage-CYuZJL_J-CmVpaMeo.js} +1 -1
  168. package/dist/assets/{ReimbursementPromoPage-CaxjSwrz-BqYGPT-x.js → ReimbursementPromoPage-CaxjSwrz-Bgmmavhd.js} +1 -1
  169. package/dist/assets/{ReimbursementRoutes-Dw1HmBPZ.js → ReimbursementRoutes-Ds1vAXJ2.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-Bw77MBHF-CqZyhccg.js → ReimbursementSetUpPage-Bw77MBHF-CDPgcL4C.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B-svIloS-u7x5I4fB.js → ReimbursementsBulkReviewDrawerPage-B-svIloS-CmzaTHm1.js} +1 -1
  172. package/dist/assets/{ReloadCard-D5kxTfzJ-CHGlYP1Y.js → ReloadCard-D5kxTfzJ-CZ8wxjLD.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-BZU8yltx-BXz0jYWq.js → ReportTableViewSelector-BZU8yltx-2MvtPuPo.js} +1 -1
  174. package/dist/assets/{ReportsPage-CdN9MEVy-VFwi_Sta.js → ReportsPage-CdN9MEVy-CvjTiycT.js} +1 -1
  175. package/dist/assets/{ReportsRoutes-BxP48mVj.js → ReportsRoutes-BmdEt3w3.js} +1 -1
  176. package/dist/assets/{RevenueChart-B_RMeweH-sORV0ExB.js → RevenueChart-B_RMeweH-AiqO1KqZ.js} +1 -1
  177. package/dist/assets/{ReviewDetailsPage-a73YIZSO-BwRkWQP6.js → ReviewDetailsPage-a73YIZSO-Tef-ZEJo.js} +1 -1
  178. package/dist/assets/{ReviewOverlay-Ubmz06uP-Dq2e8WZF.js → ReviewOverlay-Ubmz06uP-HtoUn_Ti.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-kNiN5XKd.js → RewardsRoutes-yiDs6N7E.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-BYO1YG6N-CpH6tY8x.js → RoleWithToolTip-BYO1YG6N-CaokIy7E.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-vgqilDC8-BtW6gR7z.js → ScheduleDetailsFixedAssetsPage-vgqilDC8-SbL9rtAb.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-DdEeFryA-D3pgpVcx.js → ScheduleDetailsPage-DdEeFryA-vTpnBDkc.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-poNEzbqS-Bn1GkRq3.js → ScheduleSequenceTable-poNEzbqS-BGHdCWPs.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-D1xPWhMn.js → ScreenRoutes-iWOPDJaE.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-BSOGwHCj-BawfFLHE.js → SetUpAccountSection-BSOGwHCj-DwPymY5H.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-CQFKHlBE.js → SettingsRoutes-CsT4-Otz.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-Khrg4fmZ.js → SetupPagesScreen-CIriiNTf.js} +1 -1
  188. package/dist/assets/{SignIn-q4J9wRx8-CmY6_2-N.js → SignIn-q4J9wRx8-0QGGO6ID.js} +1 -1
  189. package/dist/assets/{SignInScreen-DE5iszhl.js → SignInScreen-Cpe96DKm.js} +1 -1
  190. package/dist/assets/{SignOutScreen-BrEmVZ7k.js → SignOutScreen-hzgipE95.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-DKRkSADM-CyVMAS6i.js → SpendManagementListViewPage-DKRkSADM-TrO1q5C-.js} +3 -3
  192. package/dist/assets/{SpendManagementPerTabPage-Cd30NnXU-CuxG4XXm.js → SpendManagementPerTabPage-Cd30NnXU-BDL5aWXq.js} +1 -1
  193. package/dist/assets/{SpendManagementSection-CPBOh_J5-VebfRScE.js → SpendManagementSection-CPBOh_J5-fi40VxZS.js} +1 -1
  194. package/dist/assets/{StatementItem-NyOORj5f-CGBabGx-.js → StatementItem-NyOORj5f-DSu3WebE.js} +1 -1
  195. package/dist/assets/{StatementsPage-Cp77wyFS-BNWHu83c.js → StatementsPage-Cp77wyFS-VERkVje-.js} +1 -1
  196. package/dist/assets/{StatusSwitcher-DN-yYdli-C38uA7vA.js → StatusSwitcher-DN-yYdli-Bv7Xw_4U.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-D1LNrhUn-k7hSwnGE.js → SubTabSwitcher-D1LNrhUn-DEJheffX.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-DdyAYe1e-CRBZLEcw.js → SuccessAnimation-DdyAYe1e-DLWRRkYw.js} +1 -1
  199. package/dist/assets/{SummaryCard-DgIPSt4y-BreXikds.js → SummaryCard-DgIPSt4y-rab6yv19.js} +1 -1
  200. package/dist/assets/{TaskDetailPage-DXTLNhtf-DSitOXq0.js → TaskDetailPage-DXTLNhtf-CI4SV8Ej.js} +1 -1
  201. package/dist/assets/{TaskListScreen-DkpddMj-.js → TaskListScreen-DdNWjwGa.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-BaLJR4-7-CF4lQh5a.js → TaskManagementPage-BaLJR4-7-CHxsRn7m.js} +1 -1
  203. package/dist/assets/{TaskRoutes-FkwKuuJe.js → TaskRoutes-DAiy7f7K.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-CkgGEwEw-BPD6p-o-.js → TimeRangeSwitcher-CkgGEwEw-Ce0sLkHV.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-B8fpnYS8-DN6x7QeB.js → TimeframeSwitcher-B8fpnYS8-CFf68arp.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-DwFo6jY4-D-j20nY7.js → TimeframeSwitcherWithToggle-DwFo6jY4-ClErfR3e.js} +1 -1
  207. package/dist/assets/{TopExCard-PayAZZY--CN7knT9a.js → TopExCard-PayAZZY--D2ZYBf29.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-Mp2KcYf6-DF6BJLe1.js → TopExDetailPage-Mp2KcYf6-CriIrjqX.js} +1 -1
  209. package/dist/assets/{TransactionActivityLogPage-CnmL_hUz-xxBYOo0V.js → TransactionActivityLogPage-CnmL_hUz-BsEMTiqD.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-Bqlnmn8Y-C-G32l9E.js → TransactionDetailPage-Bqlnmn8Y-C0BjrON2.js} +1 -1
  211. package/dist/assets/{TransactionDetailRoutes-Bur6XOBC.js → TransactionDetailRoutes-uNhJnedN.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-TsmDBl7P.js → TransactionDetailScreen-BOICj-_z.js} +1 -1
  213. package/dist/assets/{TransactionList-BOmlsfpv-P61oqFED.js → TransactionList-BOmlsfpv-DxCfMqXj.js} +1 -1
  214. package/dist/assets/{TransactionListBig-CaMT-rq_-CyI8cEhp.js → TransactionListBig-CaMT-rq_-Czwhp9uV.js} +1 -1
  215. package/dist/assets/{TransactionListPage-D_dgwnFp-D9ucLBYe.js → TransactionListPage-D_dgwnFp-Cftagdsz.js} +1 -1
  216. package/dist/assets/{TransactionListRoutes-Bze4GklF.js → TransactionListRoutes-CyxfPXP6.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DlXuiPC5-CVKs_i6q.js → TransactionVendorDetailPage-DlXuiPC5-D61QUqtZ.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-C2VcssbM-BdJwka8r.js → TransferDrawerPage-C2VcssbM-DZ2ySTY2.js} +1 -1
  219. package/dist/assets/{TreasuryOverviewPage-DyyoGY23-8NjmnIXR.js → TreasuryOverviewPage-DyyoGY23-NINdpiz5.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-B9Hf7oxZ-CY7Z2jR8.js → TreasuryPromoPage-B9Hf7oxZ-DL0uMEvH.js} +1 -1
  221. package/dist/assets/{TreasuryRoutes-BcEhSPu-.js → TreasuryRoutes-BMj4xYJV.js} +1 -1
  222. package/dist/assets/{TreasuryStatementsPage-DOzJzfTG-COamdHZN.js → TreasuryStatementsPage-DOzJzfTG-BEN0V17Z.js} +1 -1
  223. package/dist/assets/{TreasuryTaxLetterPage-BcTBr9x9-DQ6bAdf9.js → TreasuryTaxLetterPage-BcTBr9x9-Bu2mrxe3.js} +1 -1
  224. package/dist/assets/{TrendChart-BvXDrgUJ-D_jexAAy.js → TrendChart-BvXDrgUJ-UjmVpapm.js} +1 -1
  225. package/dist/assets/{TrendWithTransactions-RCpzdPf3-B6dzBDBs.js → TrendWithTransactions-RCpzdPf3-DZWbY1AB.js} +1 -1
  226. package/dist/assets/{UncategorizedAccountsMappingPage-B1m3iXh5-Ip2N2jHp.js → UncategorizedAccountsMappingPage-B1m3iXh5-PCWHP_cU.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-lVg_8mQ4-CG7xv8GT.js → UnitIntegrationPage-lVg_8mQ4-2xXBHR-t.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-DrAWxBXn-_zHsjfu5.js → UploadAdditionalDocumentOverlay-DrAWxBXn-CVrGlUxs.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-C8m_OJEH-D165qdUh.js → Vendor2FAPopup-C8m_OJEH-2HNC8yEL.js} +1 -1
  230. package/dist/assets/{VendorACHDetailsPage-JhO6KtMC-CANKU5ry.js → VendorACHDetailsPage-JhO6KtMC-CxMHxpU1.js} +1 -1
  231. package/dist/assets/{VendorDetailPage-Y9_hsgjs-C9Wt_5QU.js → VendorDetailPage-Y9_hsgjs-Drbme3Xh.js} +1 -1
  232. package/dist/assets/{VendorDomesticWireDetailsPage-D0RsDHxf-Bxd9GX1z.js → VendorDomesticWireDetailsPage-D0RsDHxf-AR0uQHbi.js} +1 -1
  233. package/dist/assets/{VendorFiling1099EditablePage-CPevpiim-qmsYTkLB.js → VendorFiling1099EditablePage-CPevpiim-B8Rbuhlu.js} +1 -1
  234. package/dist/assets/{VendorFirstReviewPage-CXftFNl_-CCYTLrD_.js → VendorFirstReviewPage-CXftFNl_-D07tVBsf.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-88NtGE3e-C0C0m4pv.js → VendorInternationalWireDetailsPage-88NtGE3e-BNNV8gb7.js} +1 -1
  236. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BTh-VP1b-C-5vzJEN.js → VendorInternationalWireSwiftDetailsPage-BTh-VP1b-DSqTYNVt.js} +1 -1
  237. package/dist/assets/{VendorsAccountsSection-DorsKXyL-B5FHsSOL.js → VendorsAccountsSection-DorsKXyL-yx2dulXE.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-FQkb12pI.js → VendorsRoutes-C47mB67w.js} +1 -1
  239. package/dist/assets/{VerifyDevice-DAym8rUN-BlHFuMzS.js → VerifyDevice-DAym8rUN-DzVOyWTa.js} +1 -1
  240. package/dist/assets/{VideoPlayer-53OvOC7l-pPI6Q2OV.js → VideoPlayer-53OvOC7l-DZM2lBlI.js} +1 -1
  241. package/dist/assets/{VideoPopup-v9quqdro-CKa7Hhxk.js → VideoPopup-v9quqdro-Bco2LuO2.js} +1 -1
  242. package/dist/assets/{WiseConfirmationScreen-DsF9s3cq.js → WiseConfirmationScreen-CI2bVH3q.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-CFEGqW5l-Cc3o93o-.js → ZeniAccountDetailPage-CFEGqW5l-C7BkDP5-.js} +1 -1
  244. package/dist/assets/{ZeniAccountListViewPage-j85TO5tM-D8dMZ6jp.js → ZeniAccountListViewPage-j85TO5tM-BHJE1M8X.js} +1 -1
  245. package/dist/assets/{ZeniAccountNavBarPieces-Bv34Vsqj-S8eWsLxK.js → ZeniAccountNavBarPieces-Bv34Vsqj-C6dnhgFa.js} +1 -1
  246. package/dist/assets/{ZeniAccountPromoPage-DeHmh4My-CfY9P4dJ.js → ZeniAccountPromoPage-DeHmh4My-DTRMQp2b.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-CfCvabZR.js → ZeniAccountRoutes-DaOcVmd1.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-ofkQR72l-CBlKDRVk.js → ZeniAccountSetupPage-ofkQR72l-jZ6Lmwil.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-CGYScuoU.js → ZeniAccountStatementScreen-D7mYkEK4.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-Ct7MPW2X-BHlw9FbG.js → ZeniAvatar-Ct7MPW2X-DMhfb-RB.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-CmCqmJmV-3KycUvio.js → ZeniCopyright-CmCqmJmV-CIcW_pNx.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-RNJ2ukKC-BM4oYXJe.js → ZeniDatePicker-RNJ2ukKC-DVUBQrCy.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-BpfqM032-CVzLkYGE.js → ZeniTransferAmountSlider-BpfqM032-RR2abwX_.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-rwWvpsms.js → accountMappingHelper-BJJweXl5.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-CzXhL1Ym.js → add-to-wallet-DgdBD8_G-C3oqk2s6.js} +1 -1
  256. package/dist/assets/{analytics-DIWVqtXV.js → analytics-CBcw09YE.js} +1 -1
  257. package/dist/assets/{analyticsHelper-CLBcUDc5.js → analyticsHelper-CAh70fFl.js} +1 -1
  258. package/dist/assets/{analyticsHelper-qtejXlXH-UFbrYbZ_.js → analyticsHelper-qtejXlXH-BF9BvwEK.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-CWRd961V.js → arrow-south-east-round-PEovUgvH-BxM3SJE_.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-Bjm-l3iW.js → auto-transfer-rule-mbafm5D3-B9Rf6PEc.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-CKqFD1L0.js → avatar-Dz7aEm3d-Cue7W3WL.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-BhxkRonC.js → bank-letter-BOcVjN6J-FSeNIRc7.js} +1 -1
  263. package/dist/assets/{calculateSize-CzpGCfNE-CNrV3_Iu.js → calculateSize-CzpGCfNE-CHnQlTyp.js} +1 -1
  264. package/dist/assets/{chartTypes-BqRsL6eJ-D0sv3zgU.js → chartTypes-BqRsL6eJ-DsyaxzxR.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-9m-0TbEY.js → clock-CJkylEKt-DrD7tBVk.js} +1 -1
  266. package/dist/assets/{common-BxjzMhDO-M6F2cReY.js → common-BxjzMhDO-Cc18kJBU.js} +1 -1
  267. package/dist/assets/{commonDimensions-CzWWgDTA-C5sl3WWf.js → commonDimensions-CzWWgDTA-B2ds-CHa.js} +1 -1
  268. package/dist/assets/{commonTypes-CF6UyWSv-BQXpwXby.js → commonTypes-CF6UyWSv-DPfdzcl0.js} +1 -1
  269. package/dist/assets/{core-BAxGDYbL.js → core-BKvxtRah.js} +1 -1
  270. package/dist/assets/{dash.all.min-DLVq1nc5.js → dash.all.min-BnjlXPd9.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-Bypqq6TF.js → decodeURIComponentSafe-DQkFfGPG.js} +1 -1
  272. package/dist/assets/{dnd-BEk5qqV2.js → dnd-C7c3o2xJ.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-DgPiQ4X2.js → dollar-round-D18u7nlm-BbHEYM2d.js} +1 -1
  274. package/dist/assets/{downloadPdf-BFFM3Hea-CZaqSBqv.js → downloadPdf-BFFM3Hea-QUnesvej.js} +1 -1
  275. package/dist/assets/{empty-BWHMm5Kr.js → empty-Crc3-P-F.js} +1 -1
  276. package/dist/assets/{empty-C6XM9c0M.js → empty-DBZa3pil.js} +1 -1
  277. package/dist/assets/{epic-CkteLEKR.js → epic-BppzDt1u.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-yDtIQZZZ.js → filter-cZIFUNvj-Db00DH6f.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-DIET8R83.js → getLocaleForTenant-X49_MIph.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-a88q6Sec.js → gift-box-Cmt9OgIZ-BKaG8dWI.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BXu_Erqy.js → graphic-no-data-l-DU4J8fDt-B7DleUMF.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CDJ9LscK.js → graphic-no-data-net-burn-l-CzmycA0m-3KzqqSSM.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-DXXhI3e_.js → handshake-BPg58FML-DOiOu9KH.js} +1 -1
  284. package/dist/assets/{helper-COxPEvgL-B99qx9wP.js → helper-COxPEvgL-CMNtMZR3.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-DDEc353Q.js → hyperlink-DQyCeXx2-_37w4884.js} +1 -1
  286. package/dist/assets/{index-CkLoBdAM.js → index-B-rXAYJi.js} +1 -1
  287. package/dist/assets/{index-rcznrhDB.js → index-BNkH8HqK.js} +1 -1
  288. package/dist/assets/{index-BUTnHeUk.js → index-DYWyKBTW.js} +1 -1
  289. package/dist/assets/{index-CVe1fo1a.js → index-KcTwm1K9.js} +6 -6
  290. package/dist/assets/{index-CDtqLLbw.js → index-X2joKKW6.js} +1 -1
  291. package/dist/assets/{index-CVjW2ppf.js → index-uqAJlX5e.js} +1 -1
  292. package/dist/assets/{lexical-eSt6-8-s.js → lexical-EU-b4BqE.js} +1 -1
  293. package/dist/assets/{liveblocks-DIb7UiB5.js → liveblocks-B5iiMj-5.js} +1 -1
  294. package/dist/assets/{lottie-DR43ghJ6.js → lottie-DSHEuZXs.js} +1 -1
  295. package/dist/assets/{mapLoadingInProgressToTreeNode-COOJxneh-Dn5oaOob.js → mapLoadingInProgressToTreeNode-COOJxneh-DuQX8yvd.js} +1 -1
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CcuLqf_I-DlLPz3lr.js → mapSectionWithAcOnlyToTreeNode-CcuLqf_I-DnQ0OzUu.js} +1 -1
  297. package/dist/assets/{mapSpacerToTreeNode-Ci5bdH6P-L9lviHBs.js → mapSpacerToTreeNode-Ci5bdH6P-DSX3e3gz.js} +1 -1
  298. package/dist/assets/{mapTimeframeBalancesToTreeNode-CCZ9A7A6-m60AXXy6.js → mapTimeframeBalancesToTreeNode-CCZ9A7A6-BglMWE7U.js} +1 -1
  299. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cql9mEn3-BI70JNWv.js → mapTimeframeBalancesToTreeNode-Cql9mEn3-M00szu5l.js} +1 -1
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-C3md0v2d.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-DIcaxo5z.js} +1 -1
  301. package/dist/assets/{media-player-t6imgqTs.js → media-player-9CieCm_T.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-BKLw88Z7.js → money-2cg1MuG4-D96-gv6L.js} +1 -1
  303. package/dist/assets/{mui-DcvwYC51.js → mui-n8MJ8WXv.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-DYwfMchM.js → page-detail-CWX5S47F-g6S7T_Pr.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-Ccsx0X5Z.js → page-summary-D7_VQHwN-CB9ORzTM.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-oybQQD8A.js → panelSelectedMixin-Cddsb26L-D6E_GSSj.js} +1 -1
  307. package/dist/assets/{pathToGoBack-DgCvIIns.js → pathToGoBack-BiD1mrMc.js} +1 -1
  308. package/dist/assets/{pdf-DA3UteIy.js → pdf-Bel8Snu-.js} +3 -3
  309. package/dist/assets/{pdf-lib-CB0YH404.js → pdf-lib-CVUdPvqc.js} +1 -1
  310. package/dist/assets/{plaid-Dma9BWZs.js → plaid-DlPRc3VW.js} +1 -1
  311. package/dist/assets/{pusher-BpsMW-yL.js → pusher-1B7hFTqL.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-DhACFBeo.js → radio-default-CiSgisfh-DflsgPfm.js} +1 -1
  313. package/dist/assets/{react-DSe89Cs9.js → react-B_xQXYLc.js} +1 -1
  314. package/dist/assets/{react-B399TF4z.js → react-BccFD_Ip.js} +3 -3
  315. package/dist/assets/{react-Da-tqkFZ.js → react-BkHOYdXT.js} +1 -1
  316. package/dist/assets/{react-Gk8q99af.js → react-BsQw7Npr.js} +1 -1
  317. package/dist/assets/{react-CGustVKo.js → react-CzLATOxt.js} +1 -1
  318. package/dist/assets/{react-DIlTJIev.js → react-Dpr33JgG.js} +1 -1
  319. package/dist/assets/{react-DYy5XxA9.js → react-OEWbQbV4.js} +1 -1
  320. package/dist/assets/{react-CHYwPjVO.js → react-d5kYRMKi.js} +1 -1
  321. package/dist/assets/{recharts-LOG_L3Q0.js → recharts-CWIF3mJW.js} +1 -1
  322. package/dist/assets/{routePaths-B9s6SzIs.js → routePaths-IQhVVjuV.js} +1 -1
  323. package/dist/assets/{sentry-CFYfTv_F.js → sentry-JtTANUcK.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-DouOIUSu.js → shield-DOlUxcFf-pFq-AHdV.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-DTJkvAlS.js → spend-limit-D6SyboD4-NC2bg4Ef.js} +1 -1
  326. package/dist/assets/{toCOABalancesWithID-B70YK7cw-CXnt8iTO.js → toCOABalancesWithID-B70YK7cw-f3GxdGt8.js} +1 -1
  327. package/dist/assets/{toChartData-CWgd8E5c-DiIGKIgi.js → toChartData-CWgd8E5c-DcGOW82R.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-9RLgCBK-.js → transaction-placeholder-CpOwZAMG-CSA8GVr2.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-4JO3_5lb.js → undo-b_3XZ5CX-dx0HTJJr.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-CncAfPJ6.js → unlock-BPWn2I5L-ciNOv6AF.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CX9b95cy.js → upload-reimbursement-receipt-O2N8vcO7-BbO1KSUp.js} +1 -1
  332. package/dist/assets/{uploadAttachment-D1ybl0Fy-CsdIaI-4.js → uploadAttachment-D1ybl0Fy-CCk_vaJq.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-BTLELte6.js → uploadReceipts-CIgkuVpu-BOM88Hmz.js} +1 -1
  334. package/dist/assets/{url-CG3dVLHq.js → url-BIQrhyCy.js} +1 -1
  335. package/dist/assets/{url-Cds_9Ffk.js → url-DlU_JcCu.js} +1 -1
  336. package/dist/assets/{useDeviceId-Dzb269rv.js → useDeviceId-BiN6Jv-2.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-D4Yk6niJ.js → useInitialThreadRequest-D96Y0hT4.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-BCXZNFDE.js → useLongPress-GCK2COYQ-QHFgASa5.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-D0lXP7am.js → usp-line-BBd1wKwW-Da8fc4EA.js} +1 -1
  340. package/dist/assets/{utils-B0HnpOzO.js → utils-NVDzAOjk.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-BBzl-sYH.js → withTransactionSidePanel-DfxXZ3Ja.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-BZiG8B71.js → zeni-epic-state-4Sh7AIuB.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-DWQkIW-o.js → zeni-icon-only-i09YF2Nh.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +1 -1
  346. package/dist/assets/CustomerOnboardingAuthScreen-BP0HWrE7.js +0 -1
  347. package/dist/assets/CustomerOnboardingContainerPage-CGFQ4G4y-B6eAJyRQ.js +0 -1
@@ -1 +1 @@
1
- import{j as i}from"./pdf-DA3UteIy.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-BAxGDYbL.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-BZiG8B71.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-CVe1fo1a.js";import"./mui-DcvwYC51.js";import{a as A}from"./sentry-CFYfTv_F.js";import{w as ee}from"./withTransactionSidePanel-BBzl-sYH.js";import{p as te,b as ae}from"./routePaths-B9s6SzIs.js";import{u as xe}from"./utils-B0HnpOzO.js";import{d as M}from"./decodeURIComponentSafe-Bypqq6TF.js";import{Z as Pe}from"./ZeniAccountStatementScreen-CGYScuoU.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./TransactionDetailScreen-TsmDBl7P.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-Bel8Snu-.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-BKvxtRah.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-4Sh7AIuB.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-KcTwm1K9.js";import"./mui-n8MJ8WXv.js";import{a as A}from"./sentry-JtTANUcK.js";import{w as ee}from"./withTransactionSidePanel-DfxXZ3Ja.js";import{p as te,b as ae}from"./routePaths-IQhVVjuV.js";import{u as xe}from"./utils-NVDzAOjk.js";import{d as M}from"./decodeURIComponentSafe-DQkFfGPG.js";import{Z as Pe}from"./ZeniAccountStatementScreen-D7mYkEK4.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./TransactionDetailScreen-BOICj-_z.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-CVe1fo1a.js";import{a as j}from"./sentry-CFYfTv_F.js";import{n as l}from"./mui-DcvwYC51.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.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-KcTwm1K9.js";import{a as j}from"./sentry-JtTANUcK.js";import{n as l}from"./mui-n8MJ8WXv.js";import"./pdf-Bel8Snu-.js";import"./zeni-epic-state-4Sh7AIuB.js";import"./core-BKvxtRah.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.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 R,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-CVe1fo1a.js";import{a as f}from"./sentry-CFYfTv_F.js";import{n}from"./mui-DcvwYC51.js";import{u as St}from"./plaid-Dma9BWZs.js";import{bG as vt}from"./zeni-epic-state-BZiG8B71.js";import{v as kt}from"./ZeniTransferAmountSlider-BpfqM032-CVzLkYGE.js";import{m as At}from"./BusyIndication-YMYY0Pff-BY32OnMI.js";import{r as Pt}from"./AccountInfoPageContent-B0ZnsyrQ-BWluBgsD.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./utils-B0HnpOzO.js";import"./downloadPdf-BFFM3Hea-CZaqSBqv.js";import"./commonDimensions-CzWWgDTA-C5sl3WWf.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]="cdffe319-463c-4943-9c27-f64fe48e3580",e._sentryDebugIdIdentifier="sentry-dbid-cdffe319-463c-4943-9c27-f64fe48e3580")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.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:E,fireTrackTransferBetweenAccountsFormClicked:O,onFetchLinkTokenClick:G,onReviewClick:H}){const o=fe(),I=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=>{E?.(s),M(),ie(!1),z(!1)},[M,E]),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(Rt,{}),t.jsxs(Et,{children:[t.jsx(Ot,{children:r.reviewTransferDetail.error?.title}),t.jsx(_t,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{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:I,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(Ee,{}),t.jsx(Oe,{size:o,children:t.jsx(ea,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferTo,width:I,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(Ee,{}),t.jsx(ht,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:I},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(Re,{windowSize:o,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Ie,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Re,{windowSize:o,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Ie,{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 R,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-KcTwm1K9.js";import{a as f}from"./sentry-JtTANUcK.js";import{n}from"./mui-n8MJ8WXv.js";import{u as St}from"./plaid-DlPRc3VW.js";import{bG as vt}from"./zeni-epic-state-4Sh7AIuB.js";import{v as kt}from"./ZeniTransferAmountSlider-BpfqM032-RR2abwX_.js";import{m as At}from"./BusyIndication-YMYY0Pff-8c_TagDV.js";import{r as Pt}from"./AccountInfoPageContent-B0ZnsyrQ-C9xmKmsg.js";import"./pdf-Bel8Snu-.js";import"./core-BKvxtRah.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./utils-NVDzAOjk.js";import"./downloadPdf-BFFM3Hea-QUnesvej.js";import"./commonDimensions-CzWWgDTA-B2ds-CHa.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]="cdffe319-463c-4943-9c27-f64fe48e3580",e._sentryDebugIdIdentifier="sentry-dbid-cdffe319-463c-4943-9c27-f64fe48e3580")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.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:E,fireTrackTransferBetweenAccountsFormClicked:O,onFetchLinkTokenClick:G,onReviewClick:H}){const o=fe(),I=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=>{E?.(s),M(),ie(!1),z(!1)},[M,E]),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(Rt,{}),t.jsxs(Et,{children:[t.jsx(Ot,{children:r.reviewTransferDetail.error?.title}),t.jsx(_t,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{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:I,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(Ee,{}),t.jsx(Oe,{size:o,children:t.jsx(ea,{size:o,children:t.jsx(Fe,{label:{label:de.labels.transferTo,width:I,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(Ee,{}),t.jsx(ht,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:I},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(Re,{windowSize:o,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Ie,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Re,{windowSize:o,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Ie,{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-CVe1fo1a.js";import{a as y,b as bt}from"./sentry-CFYfTv_F.js";import{n as o,c as ye}from"./mui-DcvwYC51.js";import{bG as q,bp as jt}from"./zeni-epic-state-BZiG8B71.js";import{s as vt}from"./commonDimensions-CzWWgDTA-C5sl3WWf.js";import{a as St,M as Ye,S as Fe,L as Ct,_ as kt}from"./common-BxjzMhDO-M6F2cReY.js";import{g as fe}from"./BoxItem-CIyMdw2s-BlAcmWAT.js";import{o as zt}from"./transaction-placeholder-CpOwZAMG-9RLgCBK-.js";import{y as Tt}from"./MoreMenuButton--MxUyTqX-BRissmUy.js";import{o as Pt}from"./money-2cg1MuG4-BKLw88Z7.js";import{o as Dt}from"./shield-DOlUxcFf-DouOIUSu.js";import{R as we,N as $e,X as be,Y as je,O as ve,F as Lt}from"./recharts-LOG_L3Q0.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./calculateSize-CzpGCfNE-CNrV3_Iu.js";import"./bank-letter-BOcVjN6J-BhxkRonC.js";import"./spend-limit-D6SyboD4-DTJkvAlS.js";import"./dollar-round-D18u7nlm-DgPiQ4X2.js";import"./page-summary-D7_VQHwN-Ccsx0X5Z.js";import"./unlock-BPWn2I5L-CncAfPJ6.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]="69343dbd-0639-4e2d-91e6-a9285d3c4fc9",e._sentryDebugIdIdentifier="sentry-dbid-69343dbd-0639-4e2d-91e6-a9285d3c4fc9")}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-KcTwm1K9.js";import{a as y,b as bt}from"./sentry-JtTANUcK.js";import{n as o,c as ye}from"./mui-n8MJ8WXv.js";import{bG as q,bp as jt}from"./zeni-epic-state-4Sh7AIuB.js";import{s as vt}from"./commonDimensions-CzWWgDTA-B2ds-CHa.js";import{a as St,M as Ye,S as Fe,L as Ct,_ as kt}from"./common-BxjzMhDO-Cc18kJBU.js";import{g as fe}from"./BoxItem-CIyMdw2s-D-lQpxkp.js";import{o as zt}from"./transaction-placeholder-CpOwZAMG-CSA8GVr2.js";import{y as Tt}from"./MoreMenuButton--MxUyTqX-BKClOngp.js";import{o as Pt}from"./money-2cg1MuG4-D96-gv6L.js";import{o as Dt}from"./shield-DOlUxcFf-pFq-AHdV.js";import{R as we,N as $e,X as be,Y as je,O as ve,F as Lt}from"./recharts-CWIF3mJW.js";import"./pdf-Bel8Snu-.js";import"./core-BKvxtRah.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.js";import"./calculateSize-CzpGCfNE-CHnQlTyp.js";import"./bank-letter-BOcVjN6J-FSeNIRc7.js";import"./spend-limit-D6SyboD4-NC2bg4Ef.js";import"./dollar-round-D18u7nlm-BbHEYM2d.js";import"./page-summary-D7_VQHwN-CB9ORzTM.js";import"./unlock-BPWn2I5L-ciNOv6AF.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]="69343dbd-0639-4e2d-91e6-a9285d3c4fc9",e._sentryDebugIdIdentifier="sentry-dbid-69343dbd-0639-4e2d-91e6-a9285d3c4fc9")}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 be,o as i,iA as ke,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-CVe1fo1a.js";import{a as s,b as Ie}from"./sentry-CFYfTv_F.js";import{n as o}from"./mui-DcvwYC51.js";import{H6 as De}from"./zeni-epic-state-BZiG8B71.js";import{I as We,N as _e}from"./VideoPlayer-53OvOC7l-pPI6Q2OV.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-Bjm-l3iW.js";import{t as Re}from"./clock-CJkylEKt-9m-0TbEY.js";import{o as Ge}from"./shield-DOlUxcFf-DouOIUSu.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./media-player-t6imgqTs.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]="2ca1094b-8b86-42e8-934a-393d3da7f361",e._sentryDebugIdIdentifier="sentry-dbid-2ca1094b-8b86-42e8-934a-393d3da7f361")}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,k)=>r.jsx(Xe,{children:w.link!==""?r.jsx(ee,{href:w.link,target:"_blank",rel:"noopener noreferrer",children:w.text}):w.text},k))}):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 be,o as i,iA as ke,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-KcTwm1K9.js";import{a as s,b as Ie}from"./sentry-JtTANUcK.js";import{n as o}from"./mui-n8MJ8WXv.js";import{H6 as De}from"./zeni-epic-state-4Sh7AIuB.js";import{I as We,N as _e}from"./VideoPlayer-53OvOC7l-DZM2lBlI.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-B9Rf6PEc.js";import{t as Re}from"./clock-CJkylEKt-DrD7tBVk.js";import{o as Ge}from"./shield-DOlUxcFf-pFq-AHdV.js";import"./pdf-Bel8Snu-.js";import"./core-BKvxtRah.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.js";import"./media-player-9CieCm_T.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]="2ca1094b-8b86-42e8-934a-393d3da7f361",e._sentryDebugIdIdentifier="sentry-dbid-2ca1094b-8b86-42e8-934a-393d3da7f361")}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,k)=>r.jsx(Xe,{children:w.link!==""?r.jsx(ee,{href:w.link,target:"_blank",rel:"noopener noreferrer",children:w.text}):w.text},k))}):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-DA3UteIy.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-BAxGDYbL.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-BZiG8B71.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-CVe1fo1a.js";import{n as M,D as et,S as tt}from"./mui-DcvwYC51.js";import at from"./NotFoundScreen-BGyIaLbV.js";import{S as ee}from"./SetupPagesScreen-Khrg4fmZ.js";import{a as u}from"./sentry-CFYfTv_F.js";import{M as le}from"./MobileAppDrawer-qasrJsA4.js";import{F as nt}from"./FeaturePreviewScreen-2RPLc4Gf.js";import{a as te}from"./analyticsHelper-CLBcUDc5.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./routePaths-B9s6SzIs.js";import"./BusinessVerificationPageScreen-iODPCcKg.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-Bel8Snu-.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-BKvxtRah.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-4Sh7AIuB.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-KcTwm1K9.js";import{n as M,D as et,S as tt}from"./mui-n8MJ8WXv.js";import at from"./NotFoundScreen-Do4glXJR.js";import{S as ee}from"./SetupPagesScreen-CIriiNTf.js";import{a as u}from"./sentry-JtTANUcK.js";import{M as le}from"./MobileAppDrawer-D_Zv7SEm.js";import{F as nt}from"./FeaturePreviewScreen-DpQUlVdb.js";import{a as te}from"./analyticsHelper-CAh70fFl.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.js";import"./routePaths-IQhVVjuV.js";import"./BusinessVerificationPageScreen-IjG0yQZ_.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 C,f as m,bV as P,x as T,m as h,l as _}from"./index-CVe1fo1a.js";import{a as p}from"./sentry-CFYfTv_F.js";import{n as o}from"./mui-DcvwYC51.js";import{$ as B}from"./BoxItem-CIyMdw2s-BlAcmWAT.js";import{o as D}from"./commonDimensions-CzWWgDTA-C5sl3WWf.js";import{O as M}from"./StatementItem-NyOORj5f-CGBabGx-.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./downloadPdf-BFFM3Hea-CZaqSBqv.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]="a0e586f1-dd10-4aef-be61-50305ec16506",e._sentryDebugIdIdentifier="sentry-dbid-a0e586f1-dd10-4aef-be61-50305ec16506")}catch{}})();const b=C.getLocalizedStrings().spendManagement.treasury.statements,u={listItemMargin:new T(h[3],h[8])},ie=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:a,onBackClick:g})=>{const w=v(),i=S(),x=p.createRef(),y=p.useRef(),k=a.statements.length===0,$=()=>D.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=a.statements[s];return k===!1?t.jsx(f,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:B(s,a.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(E,{children:t.jsx(f,{windowSize:i,children:t.jsx(O,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(N,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:a.statements.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},R=o.div``,f=o.div`
1
+ import{y as v,e as S,V as t,a_ as I,an as z,o as r,O as C,f as m,bV as P,x as T,m as h,l as _}from"./index-KcTwm1K9.js";import{a as p}from"./sentry-JtTANUcK.js";import{n as o}from"./mui-n8MJ8WXv.js";import{$ as B}from"./BoxItem-CIyMdw2s-D-lQpxkp.js";import{o as D}from"./commonDimensions-CzWWgDTA-B2ds-CHa.js";import{O as M}from"./StatementItem-NyOORj5f-DSu3WebE.js";import"./pdf-Bel8Snu-.js";import"./zeni-epic-state-4Sh7AIuB.js";import"./core-BKvxtRah.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.js";import"./downloadPdf-BFFM3Hea-QUnesvej.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]="a0e586f1-dd10-4aef-be61-50305ec16506",e._sentryDebugIdIdentifier="sentry-dbid-a0e586f1-dd10-4aef-be61-50305ec16506")}catch{}})();const b=C.getLocalizedStrings().spendManagement.treasury.statements,u={listItemMargin:new T(h[3],h[8])},ie=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:a,onBackClick:g})=>{const w=v(),i=S(),x=p.createRef(),y=p.useRef(),k=a.statements.length===0,$=()=>D.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=a.statements[s];return k===!1?t.jsx(f,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:B(s,a.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(E,{children:t.jsx(f,{windowSize:i,children:t.jsx(O,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(N,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:a.statements.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},R=o.div``,f=o.div`
2
2
  margin: ${e=>`${r.sp0} ${u.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 h,bV as C,x as T,m as p,l as P}from"./index-CVe1fo1a.js";import{a as m}from"./sentry-CFYfTv_F.js";import{n as o}from"./mui-DcvwYC51.js";import{$ as _}from"./BoxItem-CIyMdw2s-BlAcmWAT.js";import{o as B}from"./commonDimensions-CzWWgDTA-C5sl3WWf.js";import{O as D}from"./StatementItem-NyOORj5f-CGBabGx-.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./downloadPdf-BFFM3Hea-CZaqSBqv.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]="423ea7e7-5796-405d-9105-7366a380fbe9",e._sentryDebugIdIdentifier="sentry-dbid-423ea7e7-5796-405d-9105-7366a380fbe9")}catch{}})();const x=z.getLocalizedStrings().spendManagement.treasury.taxLetter,g={listItemMargin:new T(p[3],p[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,$=()=>B.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:_(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 h,bV as C,x as T,m as p,l as P}from"./index-KcTwm1K9.js";import{a as m}from"./sentry-JtTANUcK.js";import{n as o}from"./mui-n8MJ8WXv.js";import{$ as _}from"./BoxItem-CIyMdw2s-D-lQpxkp.js";import{o as B}from"./commonDimensions-CzWWgDTA-B2ds-CHa.js";import{O as D}from"./StatementItem-NyOORj5f-DSu3WebE.js";import"./pdf-Bel8Snu-.js";import"./zeni-epic-state-4Sh7AIuB.js";import"./core-BKvxtRah.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.js";import"./downloadPdf-BFFM3Hea-QUnesvej.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]="423ea7e7-5796-405d-9105-7366a380fbe9",e._sentryDebugIdIdentifier="sentry-dbid-423ea7e7-5796-405d-9105-7366a380fbe9")}catch{}})();const x=z.getLocalizedStrings().spendManagement.treasury.taxLetter,g={listItemMargin:new T(p[3],p[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,$=()=>B.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:_(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-CVe1fo1a.js";import{a as w,b as q}from"./sentry-CFYfTv_F.js";import{Fu as h}from"./zeni-epic-state-BZiG8B71.js";import{d as B,g as T,p as j,u as K}from"./chartTypes-BqRsL6eJ-D0sv3zgU.js";import{n as L}from"./mui-DcvwYC51.js";import{o as R}from"./toCOABalancesWithID-B70YK7cw-CXnt8iTO.js";import{V as N}from"./toChartData-CWgd8E5c-DiIGKIgi.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-LOG_L3Q0.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.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]="e05e555a-5aa3-4f04-bcb1-ab1eb2e77250",e._sentryDebugIdIdentifier="sentry-dbid-e05e555a-5aa3-4f04-bcb1-ab1eb2e77250")}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-KcTwm1K9.js";import{a as w,b as q}from"./sentry-JtTANUcK.js";import{Fu as h}from"./zeni-epic-state-4Sh7AIuB.js";import{d as B,g as T,p as j,u as K}from"./chartTypes-BqRsL6eJ-DsyaxzxR.js";import{n as L}from"./mui-n8MJ8WXv.js";import{o as R}from"./toCOABalancesWithID-B70YK7cw-f3GxdGt8.js";import{V as N}from"./toChartData-CWgd8E5c-DcGOW82R.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-CWIF3mJW.js";import"./pdf-Bel8Snu-.js";import"./core-BKvxtRah.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.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]="e05e555a-5aa3-4f04-bcb1-ab1eb2e77250",e._sentryDebugIdIdentifier="sentry-dbid-e05e555a-5aa3-4f04-bcb1-ab1eb2e77250")}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-CVe1fo1a.js";import{a as R}from"./sentry-CFYfTv_F.js";import{n as r}from"./mui-DcvwYC51.js";import q from"./TrendChart-BvXDrgUJ-D_jexAAy.js";import{C as A}from"./NoDataChart-CuiKDcAB-DcvOdNkO.js";import{F as E}from"./InsightsSection-D9PJ55E6-BZ3NURYW.js";import{D as K}from"./TransactionList-BOmlsfpv-P61oqFED.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]="baab76bd-2f97-471b-a118-db5c5a5c947c",e._sentryDebugIdIdentifier="sentry-dbid-baab76bd-2f97-471b-a118-db5c5a5c947c")}catch{}})();const J=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-KcTwm1K9.js";import{a as R}from"./sentry-JtTANUcK.js";import{n as r}from"./mui-n8MJ8WXv.js";import q from"./TrendChart-BvXDrgUJ-UjmVpapm.js";import{C as A}from"./NoDataChart-CuiKDcAB-DfDAq8HZ.js";import{F as E}from"./InsightsSection-D9PJ55E6-B7HiYLyV.js";import{D as K}from"./TransactionList-BOmlsfpv-DxCfMqXj.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]="baab76bd-2f97-471b-a118-db5c5a5c947c",e._sentryDebugIdIdentifier="sentry-dbid-baab76bd-2f97-471b-a118-db5c5a5c947c")}catch{}})();const J=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-CVe1fo1a.js";import{a as K}from"./sentry-CFYfTv_F.js";import{n as s}from"./mui-DcvwYC51.js";import{Gl as Te,FZ as mn,F_ as gn,cU as xn}from"./zeni-epic-state-BZiG8B71.js";import{h as hn}from"./VendorsAccountsSection-DorsKXyL-B5FHsSOL.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.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]="af562d27-8437-4cbf-9317-0716187a7621",e._sentryDebugIdIdentifier="sentry-dbid-af562d27-8437-4cbf-9317-0716187a7621")}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-KcTwm1K9.js";import{a as K}from"./sentry-JtTANUcK.js";import{n as s}from"./mui-n8MJ8WXv.js";import{Gl as Te,FZ as mn,F_ as gn,cU as xn}from"./zeni-epic-state-4Sh7AIuB.js";import{h as hn}from"./VendorsAccountsSection-DorsKXyL-yx2dulXE.js";import"./pdf-Bel8Snu-.js";import"./core-BKvxtRah.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.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]="af562d27-8437-4cbf-9317-0716187a7621",e._sentryDebugIdIdentifier="sentry-dbid-af562d27-8437-4cbf-9317-0716187a7621")}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-CVe1fo1a.js";import{a as l}from"./sentry-CFYfTv_F.js";import{n as f}from"./mui-DcvwYC51.js";import{bG as ee,bs as te}from"./zeni-epic-state-BZiG8B71.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.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-KcTwm1K9.js";import{a as l}from"./sentry-JtTANUcK.js";import{n as f}from"./mui-n8MJ8WXv.js";import{bG as ee,bs as te}from"./zeni-epic-state-4Sh7AIuB.js";import"./pdf-Bel8Snu-.js";import"./core-BKvxtRah.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.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-CVe1fo1a.js";import{a as c}from"./sentry-CFYfTv_F.js";import{n as o}from"./mui-DcvwYC51.js";import{F6 as ae}from"./zeni-epic-state-BZiG8B71.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-KcTwm1K9.js";import{a as c}from"./sentry-JtTANUcK.js";import{n as o}from"./mui-n8MJ8WXv.js";import{F6 as ae}from"./zeni-epic-state-4Sh7AIuB.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-CVe1fo1a.js";import{a as n}from"./sentry-CFYfTv_F.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./mui-DcvwYC51.js";import"./recharts-LOG_L3Q0.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.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-KcTwm1K9.js";import{a as n}from"./sentry-JtTANUcK.js";import"./pdf-Bel8Snu-.js";import"./zeni-epic-state-4Sh7AIuB.js";import"./core-BKvxtRah.js";import"./mui-n8MJ8WXv.js";import"./recharts-CWIF3mJW.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.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 f}from"./index-CVe1fo1a.js";import{a as m}from"./sentry-CFYfTv_F.js";import{f as u}from"./ACHDetailsPage-DKTSwNyl-CDIFOfdq.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./mui-DcvwYC51.js";import"./recharts-LOG_L3Q0.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./BankAccountWarningSection-Dhmxhwx--DZdDHKDy.js";import"./MagicLinkTitleSection-CtsQ_c44-DD1X6fG2.js";import"./BankAccountSection-4vXBKCFA-DKXdSrK9.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]="3cd827ec-acfd-4676-a266-4b74d4f6ae38",t._sentryDebugIdIdentifier="sentry-dbid-3cd827ec-acfd-4676-a266-4b74d4f6ae38")}catch{}})();const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})=>{const{bankAccountCreationState:o,bankNameByRouting:s,bankAccountToCreate:c,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]),f.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:s,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})};export{R as default};
1
+ import{V as f}from"./index-KcTwm1K9.js";import{a as m}from"./sentry-JtTANUcK.js";import{f as u}from"./ACHDetailsPage-DKTSwNyl-Bc2bTi8N.js";import"./pdf-Bel8Snu-.js";import"./zeni-epic-state-4Sh7AIuB.js";import"./core-BKvxtRah.js";import"./mui-n8MJ8WXv.js";import"./recharts-CWIF3mJW.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.js";import"./BankAccountWarningSection-Dhmxhwx--58Xa5u-H.js";import"./MagicLinkTitleSection-CtsQ_c44-CLgX51Lh.js";import"./BankAccountSection-4vXBKCFA-CGmaaTlD.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]="3cd827ec-acfd-4676-a266-4b74d4f6ae38",t._sentryDebugIdIdentifier="sentry-dbid-3cd827ec-acfd-4676-a266-4b74d4f6ae38")}catch{}})();const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})=>{const{bankAccountCreationState:o,bankNameByRouting:s,bankAccountToCreate:c,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]),f.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:s,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})};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 bt,gz as De,gA as ft,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 kt,cd as It,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-CVe1fo1a.js";import{a as S}from"./sentry-CFYfTv_F.js";import{n as o,c as Zt}from"./mui-DcvwYC51.js";import{bQ as Te,Gh as Jt,Gi as Kt}from"./zeni-epic-state-BZiG8B71.js";import{R as Xt}from"./SubTabSwitcher-D1LNrhUn-k7hSwnGE.js";import{D as ea}from"./TransactionList-BOmlsfpv-P61oqFED.js";import{R as ta}from"./TrendWithTransactions-RCpzdPf3-B6dzBDBs.js";import{o as aa,t as sa}from"./arrow-south-east-round-PEovUgvH-CWRd961V.js";import{C as oa}from"./LabeledAddressValueField-CAr-IiTa-hz8acdw2.js";import{Y as na}from"./LabeledDropDownFormattedTextField-B39DlufR-DdaTss6V.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./ConstrainedInnerElement-CgdnMeoA-Dk4QFttG.js";import"./BoxItem-CIyMdw2s-BlAcmWAT.js";import"./commonDimensions-CzWWgDTA-C5sl3WWf.js";import"./panelSelectedMixin-Cddsb26L-oybQQD8A.js";import"./TrendChart-BvXDrgUJ-D_jexAAy.js";import"./chartTypes-BqRsL6eJ-D0sv3zgU.js";import"./toCOABalancesWithID-B70YK7cw-CXnt8iTO.js";import"./toChartData-CWgd8E5c-DiIGKIgi.js";import"./NoDataChart-CuiKDcAB-DcvOdNkO.js";import"./InsightsSection-D9PJ55E6-BZ3NURYW.js";import"./NavigationDots-Kh5ODrCQ-DwZ3hrog.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]="725f063f-a5b1-4361-aac5-28dc435422be",e._sentryDebugIdIdentifier="sentry-dbid-725f063f-a5b1-4361-aac5-28dc435422be")}catch{}})();const ia=o.div`
1
+ import{y as Ye,e as le,x as g,S as $e,cb as wt,T as bt,gz as De,gA as ft,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 kt,cd as It,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-KcTwm1K9.js";import{a as S}from"./sentry-JtTANUcK.js";import{n as o,c as Zt}from"./mui-n8MJ8WXv.js";import{bQ as Te,Gh as Jt,Gi as Kt}from"./zeni-epic-state-4Sh7AIuB.js";import{R as Xt}from"./SubTabSwitcher-D1LNrhUn-DEJheffX.js";import{D as ea}from"./TransactionList-BOmlsfpv-DxCfMqXj.js";import{R as ta}from"./TrendWithTransactions-RCpzdPf3-DZWbY1AB.js";import{o as aa,t as sa}from"./arrow-south-east-round-PEovUgvH-BxM3SJE_.js";import{C as oa}from"./LabeledAddressValueField-CAr-IiTa-BbDMgSK1.js";import{Y as na}from"./LabeledDropDownFormattedTextField-B39DlufR-DEbEW-xe.js";import"./pdf-Bel8Snu-.js";import"./core-BKvxtRah.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.js";import"./ConstrainedInnerElement-CgdnMeoA-CoG3P9vK.js";import"./BoxItem-CIyMdw2s-D-lQpxkp.js";import"./commonDimensions-CzWWgDTA-B2ds-CHa.js";import"./panelSelectedMixin-Cddsb26L-D6E_GSSj.js";import"./TrendChart-BvXDrgUJ-UjmVpapm.js";import"./chartTypes-BqRsL6eJ-DsyaxzxR.js";import"./toCOABalancesWithID-B70YK7cw-f3GxdGt8.js";import"./toChartData-CWgd8E5c-DcGOW82R.js";import"./NoDataChart-CuiKDcAB-DfDAq8HZ.js";import"./InsightsSection-D9PJ55E6-B7HiYLyV.js";import"./NavigationDots-Kh5ODrCQ-C4TC7zOM.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]="725f063f-a5b1-4361-aac5-28dc435422be",e._sentryDebugIdIdentifier="sentry-dbid-725f063f-a5b1-4361-aac5-28dc435422be")}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 f}from"./index-CVe1fo1a.js";import{a as k}from"./sentry-CFYfTv_F.js";import{y}from"./DomesticWireDetailsPage-SEql3I0P-DopSoItu.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./mui-DcvwYC51.js";import"./recharts-LOG_L3Q0.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./BankAccountSection-4vXBKCFA-DKXdSrK9.js";import"./MagicLinkTitleSection-CtsQ_c44-DD1X6fG2.js";import"./BankAccountWarningSection-Dhmxhwx--DZdDHKDy.js";import"./MailingDetailsSection-DiZwQ9QV-Zw0hJwAt.js";import"./LabeledAddressValueField-CAr-IiTa-hz8acdw2.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]="26377b7a-9731-4ac0-8c4d-a82a7bb45097",e._sentryDebugIdIdentifier="sentry-dbid-26377b7a-9731-4ac0-8c4d-a82a7bb45097")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:d,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:u,bankAccountToCreate:l,fetchBankNameByRoutingStatus:b}=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]),f.jsx(y,{bankAccountToCreate:l,bankAccountCreationState:n,bankNameByRouting:u,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:b,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:d,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{H as default};
1
+ import{V as f}from"./index-KcTwm1K9.js";import{a as k}from"./sentry-JtTANUcK.js";import{y}from"./DomesticWireDetailsPage-SEql3I0P-CtmaSgSg.js";import"./pdf-Bel8Snu-.js";import"./zeni-epic-state-4Sh7AIuB.js";import"./core-BKvxtRah.js";import"./mui-n8MJ8WXv.js";import"./recharts-CWIF3mJW.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.js";import"./BankAccountSection-4vXBKCFA-CGmaaTlD.js";import"./MagicLinkTitleSection-CtsQ_c44-CLgX51Lh.js";import"./BankAccountWarningSection-Dhmxhwx--58Xa5u-H.js";import"./MailingDetailsSection-DiZwQ9QV-C9cOsJmb.js";import"./LabeledAddressValueField-CAr-IiTa-BbDMgSK1.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]="26377b7a-9731-4ac0-8c4d-a82a7bb45097",e._sentryDebugIdIdentifier="sentry-dbid-26377b7a-9731-4ac0-8c4d-a82a7bb45097")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:d,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:u,bankAccountToCreate:l,fetchBankNameByRoutingStatus:b}=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]),f.jsx(y,{bankAccountToCreate:l,bankAccountCreationState:n,bankNameByRouting:u,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:b,isDisabled:r,onSaveHandler:s,onWireDetailsUpdated:d,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 Oe,A as Ee,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-CVe1fo1a.js";import{a as m}from"./sentry-CFYfTv_F.js";import{n as o}from"./mui-DcvwYC51.js";import{Y as at}from"./LabeledDropDownFormattedTextField-B39DlufR-DdaTss6V.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.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]="550dd2c7-c5cc-4b3b-b645-f4c0ec9a34b4",e._sentryDebugIdIdentifier="sentry-dbid-550dd2c7-c5cc-4b3b-b645-f4c0ec9a34b4")}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 Oe,A as Ee,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-KcTwm1K9.js";import{a as m}from"./sentry-JtTANUcK.js";import{n as o}from"./mui-n8MJ8WXv.js";import{Y as at}from"./LabeledDropDownFormattedTextField-B39DlufR-DEbEW-xe.js";import"./pdf-Bel8Snu-.js";import"./zeni-epic-state-4Sh7AIuB.js";import"./core-BKvxtRah.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.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]="550dd2c7-c5cc-4b3b-b645-f4c0ec9a34b4",e._sentryDebugIdIdentifier="sentry-dbid-550dd2c7-c5cc-4b3b-b645-f4c0ec9a34b4")}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-CVe1fo1a.js";import{a as f}from"./sentry-CFYfTv_F.js";import{n as i,c as on}from"./mui-DcvwYC51.js";import{bJ as Co,Go as ko}from"./zeni-epic-state-BZiG8B71.js";import{r as Mo}from"./core-BAxGDYbL.js";import"./pdf-DA3UteIy.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.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-KcTwm1K9.js";import{a as f}from"./sentry-JtTANUcK.js";import{n as i,c as on}from"./mui-n8MJ8WXv.js";import{bJ as Co,Go as ko}from"./zeni-epic-state-4Sh7AIuB.js";import{r as Mo}from"./core-BKvxtRah.js";import"./pdf-Bel8Snu-.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.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 se,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-CVe1fo1a.js";import{a as W}from"./sentry-CFYfTv_F.js";import{n as g}from"./mui-DcvwYC51.js";import{bQ as Z}from"./zeni-epic-state-BZiG8B71.js";import{W as Re,A as Pe}from"./BankAccountWarningSection-Dhmxhwx--DZdDHKDy.js";import{T as _e}from"./MailingDetailsSection-DiZwQ9QV-Zw0hJwAt.js";import{S as Ee}from"./CurrencySelectField-BAQ5aoHk-DH5SrL5M.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./LabeledAddressValueField-CAr-IiTa-hz8acdw2.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]="99f01328-62fb-4fbe-b594-e458ca73f88f",e._sentryDebugIdIdentifier="sentry-dbid-99f01328-62fb-4fbe-b594-e458ca73f88f")}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])},de={infoLabel:new Le("extraSmallRegular","smallRegular")};function Me({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:d,isAdditionalInfoLabelLoading:o=!1,showAdditionalLabelTooltip:n=!1,additionalLabelTooltip:w,additionalInfoLabel:T,showAdditionalInfoLabel:k=!0}){const C=X(),{formState:{errors:b}}=re(),$=se(),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:d}):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 se,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-KcTwm1K9.js";import{a as W}from"./sentry-JtTANUcK.js";import{n as g}from"./mui-n8MJ8WXv.js";import{bQ as Z}from"./zeni-epic-state-4Sh7AIuB.js";import{W as Re,A as Pe}from"./BankAccountWarningSection-Dhmxhwx--58Xa5u-H.js";import{T as _e}from"./MailingDetailsSection-DiZwQ9QV-C9cOsJmb.js";import{S as Ee}from"./CurrencySelectField-BAQ5aoHk-CjYKKLQE.js";import"./pdf-Bel8Snu-.js";import"./core-BKvxtRah.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.js";import"./LabeledAddressValueField-CAr-IiTa-BbDMgSK1.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]="99f01328-62fb-4fbe-b594-e458ca73f88f",e._sentryDebugIdIdentifier="sentry-dbid-99f01328-62fb-4fbe-b594-e458ca73f88f")}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])},de={infoLabel:new Le("extraSmallRegular","smallRegular")};function Me({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:d,isAdditionalInfoLabelLoading:o=!1,showAdditionalLabelTooltip:n=!1,additionalLabelTooltip:w,additionalInfoLabel:T,showAdditionalInfoLabel:k=!0}){const C=X(),{formState:{errors:b}}=re(),$=se(),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:d}):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-CVe1fo1a.js";import{a as S}from"./sentry-CFYfTv_F.js";import{f as b}from"./InternationalWireSwiftDetailsPage-DLkE5bXp-CEjk6OlM.js";import"./pdf-DA3UteIy.js";import"./zeni-epic-state-BZiG8B71.js";import"./core-BAxGDYbL.js";import"./mui-DcvwYC51.js";import"./recharts-LOG_L3Q0.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./BankAccountWarningSection-Dhmxhwx--DZdDHKDy.js";import"./MailingDetailsSection-DiZwQ9QV-Zw0hJwAt.js";import"./LabeledAddressValueField-CAr-IiTa-hz8acdw2.js";import"./MagicLinkTitleSection-CtsQ_c44-DD1X6fG2.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]="8c2674ab-ae4d-41cc-a6f6-222bf13de472",e._sentryDebugIdIdentifier="sentry-dbid-8c2674ab-ae4d-41cc-a6f6-222bf13de472")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,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:f,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:c,onFetchBankNameBySwift:s})};export{H as default};
1
+ import{V as k}from"./index-KcTwm1K9.js";import{a as S}from"./sentry-JtTANUcK.js";import{f as b}from"./InternationalWireSwiftDetailsPage-DLkE5bXp--5MNtm85.js";import"./pdf-Bel8Snu-.js";import"./zeni-epic-state-4Sh7AIuB.js";import"./core-BKvxtRah.js";import"./mui-n8MJ8WXv.js";import"./recharts-CWIF3mJW.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.js";import"./BankAccountWarningSection-Dhmxhwx--58Xa5u-H.js";import"./MailingDetailsSection-DiZwQ9QV-C9cOsJmb.js";import"./LabeledAddressValueField-CAr-IiTa-BbDMgSK1.js";import"./MagicLinkTitleSection-CtsQ_c44-CLgX51Lh.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]="8c2674ab-ae4d-41cc-a6f6-222bf13de472",e._sentryDebugIdIdentifier="sentry-dbid-8c2674ab-ae4d-41cc-a6f6-222bf13de472")}catch{}})();const H=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:d,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,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:f,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:c,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-CVe1fo1a.js";import{n as s}from"./mui-DcvwYC51.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-KcTwm1K9.js";import{n as s}from"./mui-n8MJ8WXv.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-DA3UteIy.js";import{a as g}from"./sentry-CFYfTv_F.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-BAxGDYbL.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-BZiG8B71.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-CVe1fo1a.js";import{n as M,D as Vn,S as Nt}from"./mui-DcvwYC51.js";import{t as Ln,A as Bn}from"./AddressScreen-Do5YL4Hs.js";import oe from"./NotFoundScreen-BGyIaLbV.js";import{F as On}from"./FeaturePreviewScreen-2RPLc4Gf.js";import{b as q,v as et,c as Jn}from"./routePaths-B9s6SzIs.js";import{p as Mt}from"./pathToGoBack-DgCvIIns.js";import{M as me}from"./MobileAppDrawer-qasrJsA4.js";import{S as Un}from"./zeni-icon-only-DWQkIW-o.js";import{D as Nn}from"./DrawerScreen-DHeqOl2i.js";import{g as Mn,m as Rn}from"./accountMappingHelper-rwWvpsms.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.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-Bel8Snu-.js";import{a as g}from"./sentry-JtTANUcK.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-BKvxtRah.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-4Sh7AIuB.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-KcTwm1K9.js";import{n as M,D as Vn,S as Nt}from"./mui-n8MJ8WXv.js";import{t as Ln,A as Bn}from"./AddressScreen-PFAhLrpu.js";import oe from"./NotFoundScreen-Do4glXJR.js";import{F as On}from"./FeaturePreviewScreen-DpQUlVdb.js";import{b as q,v as et,c as Jn}from"./routePaths-IQhVVjuV.js";import{p as Mt}from"./pathToGoBack-BiD1mrMc.js";import{M as me}from"./MobileAppDrawer-D_Zv7SEm.js";import{S as Un}from"./zeni-icon-only-i09YF2Nh.js";import{D as Nn}from"./DrawerScreen-LnM4SFeC.js";import{g as Mn,m as Rn}from"./accountMappingHelper-BJJweXl5.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.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 x,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-CVe1fo1a.js";import{a as l}from"./sentry-CFYfTv_F.js";import{n as t}from"./mui-DcvwYC51.js";import{bs as W}from"./zeni-epic-state-BZiG8B71.js";import{A as X,Z as k}from"./AccountLockedInfoModal-B6A-nGIq-Dg3p8NEN.js";import"./pdf-DA3UteIy.js";import"./core-BAxGDYbL.js";import"./lottie-DR43ghJ6.js";import"./liveblocks-DIb7UiB5.js";import"./recharts-LOG_L3Q0.js";import"./dnd-BEk5qqV2.js";import"./analytics-DIWVqtXV.js";import"./plaid-Dma9BWZs.js";import"./utils-B0HnpOzO.js";import"./handshake-BPg58FML-DXXhI3e_.js";import"./unlock-BPWn2I5L-CncAfPJ6.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]="d5c10f25-10bf-49ee-abfb-2e7605e467c3",e._sentryDebugIdIdentifier="sentry-dbid-d5c10f25-10bf-49ee-abfb-2e7605e467c3")}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,f="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:{[f]:""}}),y=m.watch(f),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(f,""))},[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(x,{children:[o.changePhoneNumberHelperText,r.jsx(fe,{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(f,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(x,{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(f,""),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 x,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-KcTwm1K9.js";import{a as l}from"./sentry-JtTANUcK.js";import{n as t}from"./mui-n8MJ8WXv.js";import{bs as W}from"./zeni-epic-state-4Sh7AIuB.js";import{A as X,Z as k}from"./AccountLockedInfoModal-B6A-nGIq-f9xp9SZb.js";import"./pdf-Bel8Snu-.js";import"./core-BKvxtRah.js";import"./lottie-DSHEuZXs.js";import"./liveblocks-B5iiMj-5.js";import"./recharts-CWIF3mJW.js";import"./dnd-C7c3o2xJ.js";import"./analytics-CBcw09YE.js";import"./plaid-DlPRc3VW.js";import"./utils-NVDzAOjk.js";import"./handshake-BPg58FML-DOiOu9KH.js";import"./unlock-BPWn2I5L-ciNOv6AF.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]="d5c10f25-10bf-49ee-abfb-2e7605e467c3",e._sentryDebugIdIdentifier="sentry-dbid-d5c10f25-10bf-49ee-abfb-2e7605e467c3")}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,f="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:{[f]:""}}),y=m.watch(f),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(f,""))},[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(x,{children:[o.changePhoneNumberHelperText,r.jsx(fe,{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(f,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(x,{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(f,""),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"};