@zeniai/web-cockpit-ui 1.14.80-dev → 1.14.80-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 (214) hide show
  1. package/dist/assets/{ACHDetailsPage-BBr3hjKe-B6NISeLa.js → ACHDetailsPage-BBr3hjKe-B9T8kktV.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-B-vYofxm-D5yGK9zf.js → AIPerformancePage-B-vYofxm-WB8Om1Qz.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-Cz3aGZOP-BgP1tdJP.js → AccountInfoPage-Cz3aGZOP-DJso-kbs.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BhIHvb1W-CfPQCR_m.js → AccountInfoPageContent-BhIHvb1W-B4KU9_Q0.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-DVj5pK2w-1KS-HYSL.js → AccountLockedInfoModal-DVj5pK2w-BTqBjuhQ.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CgOvOCsd-BvJFzhTv.js → AccountReconDetailsDrawerPage-CgOvOCsd-B16QRj3a.js} +1 -1
  7. package/dist/assets/{AccountRow-BL5koYgc-CmBLqAm5.js → AccountRow-BL5koYgc-TGKaviY1.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-BU8h97bJ-CmOgVnhx.js → AccountsPromoCardStack-BU8h97bJ-BIhLQk8n.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-DVZMh4b0-DgpasdY3.js → AddAddressForCardDrawer-DVZMh4b0-BvEc6wkn.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-D5-phSVU-DlJRKjp2.js → AddToWalletPage-D5-phSVU-CnMiuAwO.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-DO2vxSPF-nUIVOnlN.js → AgingReportsPage-DO2vxSPF-RLKrCQD-.js} +1 -1
  12. package/dist/assets/{AllUserItems-Bj10fUCN-t1WNVSs_.js → AllUserItems-Bj10fUCN-Bvh4Jx7A.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-C94W-Km1-BfEXORoE.js → ApAgingDetailPage-C94W-Km1-Ctnt2AV5.js} +1 -1
  14. package/dist/assets/{AppBasePage-NJuErq7s-k4N4_D1s.js → AppBasePage-NJuErq7s-BWAjJyCW.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-DCMF1Jd6-D4glJ1ID.js → AppDrawerContent-DCMF1Jd6-5SVkjVtR.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-DEqUEc5k-BcaGVE7w.js → ApprovalRulesSettingsPage-DEqUEc5k-Dvg-ho8O.js} +1 -1
  17. package/dist/assets/{ArAgingChart-CwIX1AQg-CuS22MfQ.js → ArAgingChart-CwIX1AQg-DUoQuuf8.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BnVT2zeq-MobZ6S-t.js → ArAgingDetailPage-BnVT2zeq-BFV7gViu.js} +1 -1
  19. package/dist/assets/{AttachmentView-C7P-Qoub-BsMQbsOA.js → AttachmentView-C7P-Qoub-nZszDnEa.js} +1 -1
  20. package/dist/assets/{BankAccountSection-E80ZBAai-CaIVjxdz.js → BankAccountSection-E80ZBAai-CtLe6zY7.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CztvYd12-B4y7lI4K.js → BankAccountWarningSection-CztvYd12-UN6QucwG.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-CyJ4kVQ0-BDOFv1so.js → BankConnectionsSettingsPage-CyJ4kVQ0-BrmEbHM_.js} +1 -1
  23. package/dist/assets/{BillDetailPage-CZFQXWJm-CtNHZisl.js → BillDetailPage-CZFQXWJm-ByaT3_3w.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-B3akEM1B-DUbkdSbq.js → BillPayApprovalRuleDetailPage-B3akEM1B-Dx-OsA8O.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CVCYQOAl-Cn_dvGvN.js → BillPayApprovalRulesPage-CVCYQOAl-D6OHVlxh.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CBDs8wIP-Dnwun2Kh.js → BillPayPromoPage-CBDs8wIP-CW6T3uJk.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-QnIsNFDl-CuEIsBEO.js → BillPaySetUpPage-QnIsNFDl-BHaHXQB9.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-DwEDJO53-CXTL28SF.js → BillingSettingsPage-DwEDJO53-CpLZIx53.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-Dx5gsUBe-CIp811Rn.js → BillsBulkReviewDrawerPage-Dx5gsUBe-DZOjViAl.js} +1 -1
  30. package/dist/assets/{BoxItem-Cmm6_sNo-CTFB4Wd5.js → BoxItem-Cmm6_sNo-Uk06g_Yu.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-FnZN5SVF-BfzlYcny.js → BusinessVerificationPage-FnZN5SVF-DNIIBFZf.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BWqNeBhp-DD44OYet.js → CardNumberSubText-BWqNeBhp-B6lC_cv3.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-6tp15mNj-BU5vpMnX.js → CashbackDetailPage-6tp15mNj-4yjdSPMB.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DvT8GPmj-DYgy__PB.js → ChargeCardDetailPage-DvT8GPmj-BIn6u_S3.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-CcolSO9a-DOlurv7z.js → ChargeCardListPage-CcolSO9a-DyJxmTK8.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-3WcSb2vU-CRoceVY4.js → ChargeCardListTable-3WcSb2vU-B_ux2quB.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-C6Fq87Lk-BiJgB8N2.js → ChargeCardPromoPage-C6Fq87Lk-DNRD76hm.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-CfL5Cfh5-CwJ4lTR4.js → ChargeCardSetupPage-CfL5Cfh5-DwdFFLs4.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-Dgl3uOoL-Bd2cl-Ny.js → ChargeCardStatementsPage-Dgl3uOoL-Dsg26xuA.js} +1 -1
  40. package/dist/assets/{CheckDepositDrawerPage-DO7f1vLd-BfsZPxbb.js → CheckDepositDrawerPage-DO7f1vLd-DsAsU2k1.js} +1 -1
  41. package/dist/assets/{CollapsableReportTable-CtL_gFPp-B_E3R3Vd.js → CollapsableReportTable-CtL_gFPp-C5vPH081.js} +1 -1
  42. package/dist/assets/{CompanyOfficerDetailsSection-DhtqyLX4-CcO2Bpe6.js → CompanyOfficerDetailsSection-DhtqyLX4-CUTa9SYg.js} +1 -1
  43. package/dist/assets/{CompanyPassportCard-DQk1WcK--De69G4t4.js → CompanyPassportCard-DQk1WcK--DLU6gddi.js} +1 -1
  44. package/dist/assets/{CompanyPassportPage-BMWNDGSb-D1Fjer0h.js → CompanyPassportPage-BMWNDGSb-sPFN-9gp.js} +1 -1
  45. package/dist/assets/{CompleteProfile-D80H4Rzf-CjAU8FY3.js → CompleteProfile-D80H4Rzf-C1sckDot.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-yJiBV372-Dy5wEyBD.js → ConfettiBurst-yJiBV372-Bf3tJl9W.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-rHMje8ez-C_kl0e_B.js → CreateOrEditVendorPage-rHMje8ez-H8KWQZF4.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-4OU7Lhdi-DWonW0Cy.js → CreditCardPaymentDrawerPage-4OU7Lhdi-E-oOPPTJ.js} +1 -1
  49. package/dist/assets/{CurrencySelectField-COHkbTPk-CyQJY4K_.js → CurrencySelectField-COHkbTPk-D-KkWyQd.js} +1 -1
  50. package/dist/assets/{CustomerOnboardingActivationPage-CJPKW9XR-Dk-IPYqv.js → CustomerOnboardingActivationPage-CJPKW9XR-Dqm6JOAt.js} +1 -1
  51. package/dist/assets/CustomerOnboardingContainerPage-BaxDMttb-BomBItcj.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cc2tiqfe-DND3pAkC.js → CustomerOnboardingDetailPageSkeleton-Cc2tiqfe-Dmzj5qHw.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-DC588ynj-fGdVDHgU.js → CustomerOnboardingNoStepsPage-DC588ynj-C2CHenYZ.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingPage-TZNAbEGl-B5FaEaS2.js → CustomerOnboardingPage-TZNAbEGl-D6TpUKtv.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingProductSuitePage-DBwiHpQh-mzZ7FH8J.js → CustomerOnboardingProductSuitePage-DBwiHpQh-DbBmg2h_.js} +1 -1
  56. package/dist/assets/{Dashboard-pJczkSFT-CW9zJdjH.js → Dashboard-pJczkSFT-CWinZuuL.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-8hlyFHVx-Dtlvxeg1.js → DashboardReportPage-8hlyFHVx-C8R0QxdX.js} +1 -1
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-CUljkJMW-BKW2nZS8.js → DashboardSidebarBackgroundAnimation-CUljkJMW-D2X0G_PO.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-CRbSf5Q4-C_wFqf5p.js → DepositAccTransactionItem-CRbSf5Q4-B4IPUBoz.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionListPage-vfY6wjIt-Cg68eO0U.js → DepositAccTransactionListPage-vfY6wjIt-C_FZCy4P.js} +1 -1
  61. package/dist/assets/{DomesticWireDetailsPage-CT0V_5n--BFvnUlMr.js → DomesticWireDetailsPage-CT0V_5n--Czm4ARPw.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-RhapSbyy-Dem3hvnB.js → DownloadOverlay-RhapSbyy-CVlyPpp6.js} +1 -1
  63. package/dist/assets/{DrawerPage-BGxCMICq-m_nRwX7B.js → DrawerPage-BGxCMICq-Crg9c6Ql.js} +1 -1
  64. package/dist/assets/{EditPeoplePage-zkGpgy0E-D9emZ1Ni.js → EditPeoplePage-zkGpgy0E-D9iiW9gr.js} +1 -1
  65. package/dist/assets/{EditReimbursementDetailPage-YNr7t4uO-BQxUiPkk.js → EditReimbursementDetailPage-YNr7t4uO-DxwfUa5x.js} +1 -1
  66. package/dist/assets/{EntityDetailPage-CvHVRPti-D--TW5-l.js → EntityDetailPage-CvHVRPti-f6jQ-vpY.js} +1 -1
  67. package/dist/assets/{EntitySummarySection-BL4KXUKt-Z5WryHyE.js → EntitySummarySection-BL4KXUKt-BbkadSg4.js} +1 -1
  68. package/dist/assets/{ExpenseAutomationOverviewPage-cfIfBAdG-B2VKoRyc.js → ExpenseAutomationOverviewPage-cfIfBAdG-DAhgG2uf.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationPage-w5KBIkzX-DhG3wavn.js → ExpenseAutomationPage-w5KBIkzX-D0r8DROw.js} +1 -1
  70. package/dist/assets/{ExpressPayPage-C0BRzjKh-eAENz4RK.js → ExpressPayPage-C0BRzjKh-D4MysqVB.js} +1 -1
  71. package/dist/assets/{FeaturePreviewPage-CvXMDwqC-pyUHVN-x.js → FeaturePreviewPage-CvXMDwqC-7-ucPPuD.js} +1 -1
  72. package/dist/assets/{FollowStepsSection-BhicFBJC-Dn1KgUV2.js → FollowStepsSection-BhicFBJC-axB3LPaL.js} +1 -1
  73. package/dist/assets/{GlobalReviewListPage-NWw4VpLx-CU88XmDR.js → GlobalReviewListPage-NWw4VpLx-DrtrJcjF.js} +1 -1
  74. package/dist/assets/{InformationCardStack-DPF-q0NU-_GVLiCPk.js → InformationCardStack-DPF-q0NU-Bwy-svee.js} +1 -1
  75. package/dist/assets/{InsightsCardStack-DqXScToX-D1GqU3bl.js → InsightsCardStack-DqXScToX-DVfAbscp.js} +1 -1
  76. package/dist/assets/{InsightsSection-89tqblCE-BGMx36rk.js → InsightsSection-89tqblCE-CpfwBJHu.js} +1 -1
  77. package/dist/assets/{IntegrationsSettingsPage-TqeoKF96-BVxeheTB.js → IntegrationsSettingsPage-TqeoKF96-DJqSsIj0.js} +1 -1
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-B539-ETc-Bm8WGgWm.js → InternationalWireSwiftDetailsPage-B539-ETc-DdmivPbC.js} +1 -1
  79. package/dist/assets/{InternationalWireVerificationPage-de0B053v-BEkdkcEZ.js → InternationalWireVerificationPage-de0B053v-BCCdQMqY.js} +1 -1
  80. package/dist/assets/{InviteFormPage-DAvP-Mqn-Cgw9rsTm.js → InviteFormPage-DAvP-Mqn-3YYHZKC2.js} +1 -1
  81. package/dist/assets/{InvitePageListView-1fpa5DiR-C5_dtv7G.js → InvitePageListView-1fpa5DiR-CopW6RQ6.js} +1 -1
  82. package/dist/assets/{InvitePeoplePage-Dty9Mavy-CCYBAQmO.js → InvitePeoplePage-Dty9Mavy-Du0_Umds.js} +1 -1
  83. package/dist/assets/{InvoiceUploadSection-cqqlOUmi-DJmq9ytp.js → InvoiceUploadSection-cqqlOUmi-BTyM887u.js} +1 -1
  84. package/dist/assets/{IssueChargeCardPage-B8QKtUJX-CNO5fRMU.js → IssueChargeCardPage-B8QKtUJX-C0O1ae0o.js} +1 -1
  85. package/dist/assets/{LabeledAddressValue-XDIk4yMe-BTR7Y9Vd.js → LabeledAddressValue-XDIk4yMe-ffQhIClc.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-wQ3ZPcTl-rfTS37Ai.js → LabeledAddressValueField-wQ3ZPcTl-DPjH_IpF.js} +1 -1
  87. package/dist/assets/{LabeledControlledCheckBoxField-CXbrD37F-CdzfIBRv.js → LabeledControlledCheckBoxField-CXbrD37F-En1zfNXP.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-DYSTwuBo-LtcoBsAh.js → LabeledCreatableSingleSelectField-DYSTwuBo-UNZGU4iw.js} +1 -1
  89. package/dist/assets/{LabeledDocumentField-DqyIwz8V-CrdV2f3s.js → LabeledDocumentField-DqyIwz8V-D18jLdSp.js} +1 -1
  90. package/dist/assets/{LabeledDropDownFormattedTextField-CY8863G0-UwIUrSXh.js → LabeledDropDownFormattedTextField-CY8863G0-CEXiv0SN.js} +1 -1
  91. package/dist/assets/{LabeledText-BwCD1YQu-teMObQ_p.js → LabeledText-BwCD1YQu-B03R3GHp.js} +1 -1
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Dx_h7UNS-CIfLG95R.js → LabeledUserSingleSelectWithSubtitlesField-Dx_h7UNS-DD1Q0pHw.js} +1 -1
  93. package/dist/assets/{LabeledZeniRolesDropDownField-CV7z94YU-BNnf6TAR.js → LabeledZeniRolesDropDownField-CV7z94YU-DjTTqwE6.js} +1 -1
  94. package/dist/assets/{LinkJETransactionPage-D1y5q5Wg-3QO0m5JM.js → LinkJETransactionPage-D1y5q5Wg-CiAG5KMg.js} +1 -1
  95. package/dist/assets/{LockCardPage-Bh3qAiju-CTCbb94m.js → LockCardPage-Bh3qAiju-B3nziLv_.js} +1 -1
  96. package/dist/assets/{LowBalancePopup-BnLcsJ93-D6B_izrC.js → LowBalancePopup-BnLcsJ93-CQzlAt_o.js} +1 -1
  97. package/dist/assets/{MagicLinkACHDetailsPage-BZ2OEqOP-B7iR9_5S.js → MagicLinkACHDetailsPage-BZ2OEqOP-ChKjMOul.js} +1 -1
  98. package/dist/assets/{MagicLinkDomesticWireDetailsPage-V_TzduIL-bM0AZBZt.js → MagicLinkDomesticWireDetailsPage-V_TzduIL-DP4MFdvH.js} +1 -1
  99. package/dist/assets/{MagicLinkInternationalWireDetailsPage-Z-ssCodH-oqs67eaH.js → MagicLinkInternationalWireDetailsPage-Z-ssCodH-CIdkePpN.js} +1 -1
  100. package/dist/assets/{MagicLinkSuccessPage-h-3JwH0l-CCXTotF7.js → MagicLinkSuccessPage-h-3JwH0l-CcEBek_w.js} +1 -1
  101. package/dist/assets/{MagicLinkTitleSection-BvFcpyWQ-BDlcz3h8.js → MagicLinkTitleSection-BvFcpyWQ-B3a1nYgJ.js} +1 -1
  102. package/dist/assets/{MailingDetailsSection-BvORwvuJ-D_4lXC3Q.js → MailingDetailsSection-BvORwvuJ-mzI5OvsT.js} +1 -1
  103. package/dist/assets/{Menu-Be5LGB2P-BmmtEPgq.js → Menu-Be5LGB2P-CKSnS_5E.js} +1 -1
  104. package/dist/assets/{MyBankConnectionsSettingsPage-CpUST0yD-DPaxOuQ0.js → MyBankConnectionsSettingsPage-CpUST0yD-B1ezqW-K.js} +1 -1
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-FwhUaTr1-AgjR1Pfo.js → MyPendingActivationChargeCardListPage-FwhUaTr1-DD1aAnGf.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-BssE8V9S-DmA0PR7G.js → MyProfileSettingsPage-BssE8V9S-lp60kOR5.js} +1 -1
  107. package/dist/assets/{NavBarWithPicker-DcLSQEDR-2ew5THRg.js → NavBarWithPicker-DcLSQEDR-DBb19zjJ.js} +1 -1
  108. package/dist/assets/{NavigationArrow-BGfn2Qeo-BAyzQ5wz.js → NavigationArrow-BGfn2Qeo-BsHhCubM.js} +1 -1
  109. package/dist/assets/{NavigationDots-Du9pIMPO-CNITsESp.js → NavigationDots-Du9pIMPO-CAKlD_Vt.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-oxKXaotj-D1oQ0lbC.js → NewGlobalMerchantPage-oxKXaotj-DiI9qdZA.js} +1 -1
  111. package/dist/assets/{NoDataChart-rSvTjDyU-CBUA4ubg.js → NoDataChart-rSvTjDyU-CJHAQP5p.js} +1 -1
  112. package/dist/assets/{NoDataTable-D-FagLTd-C5_hyl6E.js → NoDataTable-D-FagLTd-CRegIv6r.js} +1 -1
  113. package/dist/assets/{NotFoundPage-Bjlp3h5o-CUsErgN0.js → NotFoundPage-Bjlp3h5o-CirEfAFQ.js} +1 -1
  114. package/dist/assets/{NotificationSettingsPage-DLdHPA7P-DyDkWAmG.js → NotificationSettingsPage-DLdHPA7P-DH9PxdQJ.js} +1 -1
  115. package/dist/assets/{NotificationsListConfig-61mZY8cq-DSJl4me6.js → NotificationsListConfig-61mZY8cq-DzlL-uy5.js} +1 -1
  116. package/dist/assets/{NotificationsPage-BV6UT90B-CAV0okuz.js → NotificationsPage-BV6UT90B-CVMQgZ83.js} +1 -1
  117. package/dist/assets/{OpExByVendorPage-C2uIYLJE-B7n39kAu.js → OpExByVendorPage-C2uIYLJE-BvSNxzsz.js} +1 -1
  118. package/dist/assets/{OverlayContainerPage-BKHs_4eI-GxCO1Epp.js → OverlayContainerPage-BKHs_4eI-CPw90P1g.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-011GoPMW-D3re-vwp.js → PandLWithForecastPage-011GoPMW--KGW54Mp.js} +1 -1
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-FIKucVHC-CwyM7Qi8.js → PaymentAccountSetupBillingAddressSection-FIKucVHC-BKrg-9jL.js} +1 -1
  121. package/dist/assets/{PeoplePage-D73jfjjL-CLFF7bFh.js → PeoplePage-D73jfjjL-B3OiqCzS.js} +1 -1
  122. package/dist/assets/{ProductsCarousel-B2I3MkC--BINPtrs8.js → ProductsCarousel-B2I3MkC--BnV9MLdC.js} +1 -1
  123. package/dist/assets/{PromoBaseCards-K94TnRI--CLM2pvVT.js → PromoBaseCards-K94TnRI--BJPhnSnL.js} +1 -1
  124. package/dist/assets/{QBOConnectionDialog-BElkJYqc-B5YJmYKP.js → QBOConnectionDialog-BElkJYqc-IVOGBNG1.js} +1 -1
  125. package/dist/assets/{QBOSetupSection-BM1ND3Rh-D1Lyrfg-.js → QBOSetupSection-BM1ND3Rh-CG5Qp8GY.js} +1 -1
  126. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CTK_6r1g-D2oY4sYj.js → ReimbursementApprovalRuleDetailPage-CTK_6r1g-BHpUjDEB.js} +1 -1
  127. package/dist/assets/{ReimbursementApprovalRulesPage-2BX5dPNw-D0drpjUk.js → ReimbursementApprovalRulesPage-2BX5dPNw-DMSA64l1.js} +1 -1
  128. package/dist/assets/{ReimbursementDetailPage-DCt2BBxN-C_07xRE7.js → ReimbursementDetailPage-DCt2BBxN-DXb3iuV_.js} +1 -1
  129. package/dist/assets/{ReimbursementPromoPage-BFhBDfxP-9nOGc8wJ.js → ReimbursementPromoPage-BFhBDfxP-BzhB-zcw.js} +1 -1
  130. package/dist/assets/{ReimbursementSetUpPage-CtuEiJUp-CXlQJzHN.js → ReimbursementSetUpPage-CtuEiJUp-B7ULHP7j.js} +1 -1
  131. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DLAi8-G--F7Yd4X5L.js → ReimbursementsBulkReviewDrawerPage-DLAi8-G--C9DB4ji5.js} +1 -1
  132. package/dist/assets/{ReloadCard-r88gK1Nl-BJ6WSxAA.js → ReloadCard-r88gK1Nl-BXLhRzI0.js} +1 -1
  133. package/dist/assets/{ReportTableViewSelector-DfEmPzs8-CPMx52cB.js → ReportTableViewSelector-DfEmPzs8-DZ2J8JwR.js} +1 -1
  134. package/dist/assets/{ReportsPage-DKyERqNb-ChHUt_VS.js → ReportsPage-DKyERqNb-BtoOsCMs.js} +1 -1
  135. package/dist/assets/{RevenueChart-Cm8B-tgV-DY-8kg2t.js → RevenueChart-Cm8B-tgV-DgVV0_Vj.js} +1 -1
  136. package/dist/assets/{ReviewDetailsPage-DCWJANse-vp7STyJM.js → ReviewDetailsPage-DCWJANse-Bz1cXuqZ.js} +1 -1
  137. package/dist/assets/{ReviewOverlay-euS8ygX5-BOm7Qkwx.js → ReviewOverlay-euS8ygX5-DJKDzt0_.js} +1 -1
  138. package/dist/assets/{RoleWithToolTip-DBoLqf02-sOibwiKs.js → RoleWithToolTip-DBoLqf02-B-CJr1lR.js} +1 -1
  139. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ben60pXV-DkNT_q4E.js → ScheduleDetailsFixedAssetsPage-Ben60pXV-DGqgPMZv.js} +1 -1
  140. package/dist/assets/{ScheduleDetailsPage-CoSd_hY0-oKpFk5X8.js → ScheduleDetailsPage-CoSd_hY0-BxiqFCs7.js} +1 -1
  141. package/dist/assets/{ScheduleSequenceTable-DNaegdk6-BZ4WEOWy.js → ScheduleSequenceTable-DNaegdk6-CY52Rg7i.js} +1 -1
  142. package/dist/assets/{ScreenRoutes-AY7h0pch.js → ScreenRoutes-BjPtS_wk.js} +1 -1
  143. package/dist/assets/{SetUpAccountSection-r3-A3Qt7-BDdkKPY8.js → SetUpAccountSection-r3-A3Qt7-2ZdT9piP.js} +1 -1
  144. package/dist/assets/{SignIn-BZiwaRoI-WzUdCmrB.js → SignIn-BZiwaRoI-Op9iHDUI.js} +1 -1
  145. package/dist/assets/{SignInScreen-DUl6thuf.js → SignInScreen-MdF0WXs_.js} +1 -1
  146. package/dist/assets/{SpendManagementListViewPage-CbIlUHNO-Dak7PfiO.js → SpendManagementListViewPage-CbIlUHNO-C8L_kDbk.js} +3 -3
  147. package/dist/assets/{SpendManagementPerTabPage-Bzztq_eL-Jdw9s1bX.js → SpendManagementPerTabPage-Bzztq_eL-CPfPS74m.js} +1 -1
  148. package/dist/assets/{SpendManagementSection-CfZUGMdU-CezVwWi-.js → SpendManagementSection-CfZUGMdU-7dq4H_EY.js} +1 -1
  149. package/dist/assets/{StatementItem-1oYAnZBe-DovGIBCV.js → StatementItem-1oYAnZBe-BQKnc9Y7.js} +1 -1
  150. package/dist/assets/{StatementsPage-Dij9AQNC-2cEOO6Cs.js → StatementsPage-Dij9AQNC-D5rwuSP4.js} +1 -1
  151. package/dist/assets/{StatusSwitcher-DkXBTB62-5B4sXcJJ.js → StatusSwitcher-DkXBTB62-DWfE67uD.js} +1 -1
  152. package/dist/assets/{SubTabSwitcher-V4wilVXH-CsYOfLTV.js → SubTabSwitcher-V4wilVXH-B_kHOzAc.js} +1 -1
  153. package/dist/assets/{SummaryCard-BL_m-4zh-Bh1_mqFg.js → SummaryCard-BL_m-4zh-CJvLV2Cd.js} +1 -1
  154. package/dist/assets/{TaskManagementPage-BajeQTSZ-BnD5YXg8.js → TaskManagementPage-BajeQTSZ-DuhLgLEP.js} +1 -1
  155. package/dist/assets/{TimeRangeSwitcher-CAsAYfkz-BnhBhKZ3.js → TimeRangeSwitcher-CAsAYfkz-B3aFKlvF.js} +1 -1
  156. package/dist/assets/{TimeframeSwitcher-pwO8bqPA-C13PjV0e.js → TimeframeSwitcher-pwO8bqPA-Dd_BYZ6v.js} +1 -1
  157. package/dist/assets/{TimeframeSwitcherWithToggle-CylL4Wwl-BQ_T8EA6.js → TimeframeSwitcherWithToggle-CylL4Wwl-CXVnXbpC.js} +1 -1
  158. package/dist/assets/{TopExCard-8b4BYDqW-jhuWe7uI.js → TopExCard-8b4BYDqW-DI3nT739.js} +1 -1
  159. package/dist/assets/{TopExDetailPage-BwYkPIGL-CCt80egW.js → TopExDetailPage-BwYkPIGL-DniEeEeG.js} +1 -1
  160. package/dist/assets/{TransactionDetailPage-asV0VD04-e_1ttI-8.js → TransactionDetailPage-asV0VD04-BHlvmRx4.js} +1 -1
  161. package/dist/assets/{TransactionList-BTYUuFF0-DFRDKzzB.js → TransactionList-BTYUuFF0-CjCpqArV.js} +1 -1
  162. package/dist/assets/{TransactionListBig-EEgwS3bL-B25dgSfk.js → TransactionListBig-EEgwS3bL-CJaqDADu.js} +1 -1
  163. package/dist/assets/{TransactionListPage-JcTgXQlG-DvQNFiBE.js → TransactionListPage-JcTgXQlG-mpWKBW9n.js} +1 -1
  164. package/dist/assets/{TransactionVendorDetailPage-3i4vhXP0-BMm-cEfA.js → TransactionVendorDetailPage-3i4vhXP0-BIeD1ZFG.js} +1 -1
  165. package/dist/assets/{TransferDrawerPage-lxqmIEDE-oLg-rp6s.js → TransferDrawerPage-lxqmIEDE-R23EEhKq.js} +1 -1
  166. package/dist/assets/{TreasuryOverviewPage-Dtg3XYHp-D41aDv4s.js → TreasuryOverviewPage-Dtg3XYHp-BiBChqiW.js} +1 -1
  167. package/dist/assets/{TreasuryPromoPage-9JgpPvwF-CG67djJw.js → TreasuryPromoPage-9JgpPvwF-B8Q2Piqe.js} +1 -1
  168. package/dist/assets/{TreasuryStatementsPage-C_n6todR-DoWvNqyd.js → TreasuryStatementsPage-C_n6todR-TkyyxH5K.js} +1 -1
  169. package/dist/assets/{TreasuryTaxLetterPage-BkUuZRBn-CFxgFV59.js → TreasuryTaxLetterPage-BkUuZRBn-oqCxzCbO.js} +1 -1
  170. package/dist/assets/{TrendChart-jDPeWiPY-Bfhf2g-W.js → TrendChart-jDPeWiPY-3kiAlDm6.js} +1 -1
  171. package/dist/assets/{TrendWithTransactions-Ci3vAGZ6-DN6EhZFt.js → TrendWithTransactions-Ci3vAGZ6-CA-8Yv6s.js} +1 -1
  172. package/dist/assets/{UncategorizedAccountsMappingPage-cKYwTc7z-CHKjHSWx.js → UncategorizedAccountsMappingPage-cKYwTc7z-BAy7vsS1.js} +1 -1
  173. package/dist/assets/{UnitIntegrationPage-CdoyFTUL-CWkKm1-V.js → UnitIntegrationPage-CdoyFTUL-ZhV0WsNJ.js} +1 -1
  174. package/dist/assets/{UploadAdditionalDocumentOverlay-RzDi2m23-CoZRAQza.js → UploadAdditionalDocumentOverlay-RzDi2m23-CV-xvrB5.js} +1 -1
  175. package/dist/assets/{Vendor2FAPopup-CZQ1MJ_y-C-giW_w8.js → Vendor2FAPopup-CZQ1MJ_y-BotzerLq.js} +1 -1
  176. package/dist/assets/{VendorACHDetailsPage-D4y31eUn-D2dshQqO.js → VendorACHDetailsPage-D4y31eUn-Ck-Qxwxm.js} +1 -1
  177. package/dist/assets/{VendorDetailPage-BldaRW5A-CEUt2DHo.js → VendorDetailPage-BldaRW5A-BJXjQ99Y.js} +1 -1
  178. package/dist/assets/{VendorDomesticWireDetailsPage-C12NRy8p-BP1Ij5q_.js → VendorDomesticWireDetailsPage-C12NRy8p-BKREOWnR.js} +1 -1
  179. package/dist/assets/{VendorFiling1099EditablePage-B3y2ImTz-CDw0h02p.js → VendorFiling1099EditablePage-B3y2ImTz-DNnpJJig.js} +1 -1
  180. package/dist/assets/{VendorFirstReviewPage-e3aUtVX3-Ccm6IKRk.js → VendorFirstReviewPage-e3aUtVX3-xuJuh7FL.js} +1 -1
  181. package/dist/assets/{VendorInternationalWireDetailsPage-CMPGutjq-DyKeNZH0.js → VendorInternationalWireDetailsPage-CMPGutjq-CYzJSofS.js} +1 -1
  182. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-OEKIn5Ns-Di9fGglZ.js → VendorInternationalWireSwiftDetailsPage-OEKIn5Ns-BJ7OFyAv.js} +1 -1
  183. package/dist/assets/{VendorsAccountsSection-BihANnr3-DJXMjWCt.js → VendorsAccountsSection-BihANnr3-CSIglMpy.js} +1 -1
  184. package/dist/assets/{VerifyDevice-BTvVtu6y-CxIvwcrh.js → VerifyDevice-BTvVtu6y-Dmy_K3g8.js} +1 -1
  185. package/dist/assets/{VideoPlayer-DfTUoEz0-DXLAtyGP.js → VideoPlayer-DfTUoEz0-Dh5rMA4r.js} +1 -1
  186. package/dist/assets/{VideoPopup-B0Q_OHQY-B6uKD3G8.js → VideoPopup-B0Q_OHQY-DMb6Tfa0.js} +1 -1
  187. package/dist/assets/{WarningsDrawerPage-CrqblZGy-Dnn1VdIb.js → WarningsDrawerPage-CrqblZGy-BOfJDcXS.js} +1 -1
  188. package/dist/assets/{ZeniAccountDetailPage-DlUMJ31l-C57AAYZE.js → ZeniAccountDetailPage-DlUMJ31l-Cy0ACmJn.js} +1 -1
  189. package/dist/assets/{ZeniAccountListViewPage-B5eFGMk6-tbUsrqSy.js → ZeniAccountListViewPage-B5eFGMk6-DO9xBICg.js} +1 -1
  190. package/dist/assets/{ZeniAccountNavBarPieces-DHS4RmYE-BC2YCY2t.js → ZeniAccountNavBarPieces-DHS4RmYE-CmJa1gMk.js} +1 -1
  191. package/dist/assets/{ZeniAccountPromoPage-BSm60eyo-U40rIGvn.js → ZeniAccountPromoPage-BSm60eyo-CkqZXE-x.js} +1 -1
  192. package/dist/assets/{ZeniAccountSetupPage-CmW6e4wI-BoyXjPZH.js → ZeniAccountSetupPage-CmW6e4wI-CIRWgAAH.js} +1 -1
  193. package/dist/assets/{ZeniCopyright-FdRtkqZd-DR07QH7O.js → ZeniCopyright-FdRtkqZd-DXg9fkkU.js} +1 -1
  194. package/dist/assets/{ZeniTransferAmountSlider-BFufV56Y-ctCIsfWJ.js → ZeniTransferAmountSlider-BFufV56Y-nwjsMsju.js} +1 -1
  195. package/dist/assets/{analyticsHelper-Bp-WofY6-ql9XZwgU.js → analyticsHelper-Bp-WofY6-FQ5OukaE.js} +1 -1
  196. package/dist/assets/{analyticsHelper-D88Z1vaE.js → analyticsHelper-DxxIWBVw.js} +1 -1
  197. package/dist/assets/{chartTypes-B2M-L_2B-DXrECJ4n.js → chartTypes-B2M-L_2B-BLVk-Q1M.js} +1 -1
  198. package/dist/assets/{commonDimensions-V7mnkdlI-BGhwGdt4.js → commonDimensions-V7mnkdlI-CGqgHYcV.js} +1 -1
  199. package/dist/assets/{detailCommon-DwrYiaFL-jvZlSgAS.js → detailCommon-DwrYiaFL-BvSrKKzz.js} +1 -1
  200. package/dist/assets/{downloadPdf-Byh_NifO-BBc1gN_t.js → downloadPdf-Byh_NifO-B_AmJ9XF.js} +1 -1
  201. package/dist/assets/{index-ChqnORUl.js → index-BlbI_ZkF.js} +4 -4
  202. package/dist/assets/{mapLoadingInProgressToTreeNode-D6GLjoFV-CIW5g6OW.js → mapLoadingInProgressToTreeNode-D6GLjoFV-BulQ_Zmp.js} +1 -1
  203. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D-8W8W6B-BnVSFfiJ.js → mapSectionWithAcOnlyToTreeNode-D-8W8W6B-CsX_dKEr.js} +1 -1
  204. package/dist/assets/{mapSpacerToTreeNode-ByHELHOn-a-MFj2iK.js → mapSpacerToTreeNode-ByHELHOn-CRfUZy8t.js} +1 -1
  205. package/dist/assets/{mapTimeframeBalancesToTreeNode-B-c4aUT4-ZOBY-e-X.js → mapTimeframeBalancesToTreeNode-B-c4aUT4-B-8rZK-Q.js} +1 -1
  206. package/dist/assets/{mapTimeframeBalancesToTreeNode-BJ934QgM-CsExQkIg.js → mapTimeframeBalancesToTreeNode-BJ934QgM-Lyx78Qvf.js} +1 -1
  207. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-pA0oPIQY-C0Z5sxU_.js → mapTimeframeHeaderLoadingInProgressToTreeNode-pA0oPIQY-DL1CwU_T.js} +1 -1
  208. package/dist/assets/{toCOABalancesWithID-Db8tb9a8-BrFxL4q7.js → toCOABalancesWithID-Db8tb9a8-Ceh38ZAP.js} +1 -1
  209. package/dist/assets/{toChartData-DAKm9HcI-C_5zdg7-.js → toChartData-DAKm9HcI-DFys-EkL.js} +1 -1
  210. package/dist/assets/{uploadAttachment-BEGz93Tv-nYoO7o8u.js → uploadAttachment-BEGz93Tv-BOhOTXs3.js} +1 -1
  211. package/dist/assets/{uploadReceipts-Dp1dvCjf-ukv5u6B4.js → uploadReceipts-Dp1dvCjf-i_QZ9gca.js} +1 -1
  212. package/dist/index.html +1 -1
  213. package/package.json +1 -1
  214. package/dist/assets/CustomerOnboardingContainerPage-BaxDMttb-io--Hf5O.js +0 -1
@@ -1,4 +1,4 @@
1
- import{j as t,o,ai as p,F as u}from"./index-ChqnORUl.js";import{n as i}from"./vendor-Bs1fkIUX.js";const f=i.div`
1
+ import{j as t,o,ai as p,F as u}from"./index-BlbI_ZkF.js";import{n as i}from"./vendor-Bs1fkIUX.js";const f=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{q as c,j as t,y as n,ai as x,bP as w}from"./index-ChqnORUl.js";import{n as r}from"./vendor-Bs1fkIUX.js";import{b as l}from"./TimeframeSwitcher-pwO8bqPA-C13PjV0e.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
1
+ import{q as c,j as t,y as n,ai as x,bP as w}from"./index-BlbI_ZkF.js";import{n as r}from"./vendor-Bs1fkIUX.js";import{b as l}from"./TimeframeSwitcher-pwO8bqPA-Dd_BYZ6v.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aC as V,q as R,j as t,d as f,bR as T,bi as C,bh as S,bV as E,c1 as k,u as x,aX as _,b as L,c2 as q,c3 as H,aN as X,l as F,aK as G,o as p,ai as $,b9 as N,am as Y,F as A,aL as J,aM as Q,aR as O,b2 as U,b3 as W,aS as Z,c4 as ee}from"./index-ChqnORUl.js";import{w,b as te,n as g}from"./vendor-Bs1fkIUX.js";import{z as ae,I as re}from"./ReloadCard-r88gK1Nl-BJ6WSxAA.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const ie=g(O)`
1
+ import{aC as V,q as R,j as t,d as f,bR as T,bi as C,bh as S,bV as E,c1 as k,u as x,aX as _,b as L,c2 as q,c3 as H,aN as X,l as F,aK as G,o as p,ai as $,b9 as N,am as Y,F as A,aL as J,aM as Q,aR as O,b2 as U,b3 as W,aS as Z,c4 as ee}from"./index-BlbI_ZkF.js";import{w,b as te,n as g}from"./vendor-Bs1fkIUX.js";import{z as ae,I as re}from"./ReloadCard-r88gK1Nl-BXLhRzI0.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const ie=g(O)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -1,4 +1,4 @@
1
- import{d as v,q as S,l as A,j as t,bG as B,F as u,aN as b,b3 as H,D as z,o as i,y as E,c0 as P,bx as F,u as c,p as V,am as y,aM as T,a$ as D}from"./index-ChqnORUl.js";import{n as l,w as M,b as o}from"./vendor-Bs1fkIUX.js";import{E as _,I as L}from"./TopExCard-8b4BYDqW-jhuWe7uI.js";import{b as Z}from"./TimeframeSwitcher-pwO8bqPA-C13PjV0e.js";import{d as I}from"./NoDataTable-D-FagLTd-C5_hyl6E.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./ReloadCard-r88gK1Nl-BJ6WSxAA.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const j="141px",O=i.sp4,N="123px",R=l(D)`
1
+ import{d as v,q as S,l as A,j as t,bG as B,F as u,aN as b,b3 as H,D as z,o as i,y as E,c0 as P,bx as F,u as c,p as V,am as y,aM as T,a$ as D}from"./index-BlbI_ZkF.js";import{n as l,w as M,b as o}from"./vendor-Bs1fkIUX.js";import{E as _,I as L}from"./TopExCard-8b4BYDqW-DI3nT739.js";import{b as Z}from"./TimeframeSwitcher-pwO8bqPA-Dd_BYZ6v.js";import{d as I}from"./NoDataTable-D-FagLTd-CRegIv6r.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./ReloadCard-r88gK1Nl-BXLhRzI0.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const j="141px",O=i.sp4,N="123px",R=l(D)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{J as Un,Q as qn,d as Et,aa as Fn,q as ae,F as q,aP as Yt,e8 as Wn,e9 as Hn,cT as Gn,aC as Zn,ea as tn,l as me,eb as Yn,j as i,aM as F,ad as Jn,bG as Qn,ec as Xn,ed as Kn,k as ai,ee as ki,aQ as ea,y as N,ef as ta,eg as nn,eh as an,ei as on,ej as Oe,ek as Le,el as _e,em as et,en as tt,eo as kt,ep as zt,eq as it,er as ft,es as At,et as Vt,eu as Jt,ev as ee,ew as Kt,ex as ue,ey as pe,aJ as ia,ez as Tt,eA as zi,eB as na,n as aa,cE as oa,o as a,cs as sa,eC as la,u as O,D as xi,p as le,ar as Ii,ba as oi,r as ra,eD as ca,cz as da,cx as si,aN as je,d4 as lt,eE as ua,eF as Wt,aT as sn,d9 as pa,eG as ma,cv as ha,cw as ga,am as ye,a$ as fa,dp as ya,eH as ln,eI as Qt,eJ as Xt,eK as pi,dA as ba,b3 as xa,cI as va,dc as Di,a9 as rn,eL as ei,eM as ti,eN as cn,da as dn,c6 as Ti,eO as mi,dF as hi,eP as wa,bx as Ca,eQ as $a,eR as Ai,eS as Ia,az as Da,dd as Ta,eT as Oa,B as un,eU as pn,bQ as La,eV as Vi,eW as mn,eX as hn,eY as gn,bO as rt,av as ja,au as Sa,dN as ka,b as fn,eZ as za,bM as Aa,L as Va,an as Ra,t as Ea,aV as vi}from"./index-ChqnORUl.js";import{b as w,n as l,w as Ot}from"./vendor-Bs1fkIUX.js";import{x as Ri}from"./LabeledControlledCheckBoxField-CXbrD37F-CdzfIBRv.js";import{R as Pa}from"./TrendWithTransactions-Ci3vAGZ6-DN6EhZFt.js";import{u as _a,c as Na,d as Ba,m as Ma}from"./uploadAttachment-BEGz93Tv-nYoO7o8u.js";import{o as Ua}from"./radio-default-CiSgisfh-Cuu8ymvq.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./TrendChart-jDPeWiPY-Bfhf2g-W.js";import"./chartTypes-B2M-L_2B-DXrECJ4n.js";import"./toCOABalancesWithID-Db8tb9a8-BrFxL4q7.js";import"./toChartData-DAKm9HcI-C_5zdg7-.js";import"./NoDataChart-rSvTjDyU-CBUA4ubg.js";import"./InsightsSection-89tqblCE-BGMx36rk.js";import"./NavigationDots-Du9pIMPO-CNITsESp.js";import"./TransactionList-BTYUuFF0-DFRDKzzB.js";import"./BoxItem-Cmm6_sNo-CTFB4Wd5.js";import"./commonDimensions-V7mnkdlI-BGhwGdt4.js";const qa={headerMarginTop:new N(O[7],O[8])},Fa=l(ye)`
1
+ import{J as Un,Q as qn,d as Et,aa as Fn,q as ae,F as q,aP as Yt,e8 as Wn,e9 as Hn,cT as Gn,aC as Zn,ea as tn,l as me,eb as Yn,j as i,aM as F,ad as Jn,bG as Qn,ec as Xn,ed as Kn,k as ai,ee as ki,aQ as ea,y as N,ef as ta,eg as nn,eh as an,ei as on,ej as Oe,ek as Le,el as _e,em as et,en as tt,eo as kt,ep as zt,eq as it,er as ft,es as At,et as Vt,eu as Jt,ev as ee,ew as Kt,ex as ue,ey as pe,aJ as ia,ez as Tt,eA as zi,eB as na,n as aa,cE as oa,o as a,cs as sa,eC as la,u as O,D as xi,p as le,ar as Ii,ba as oi,r as ra,eD as ca,cz as da,cx as si,aN as je,d4 as lt,eE as ua,eF as Wt,aT as sn,d9 as pa,eG as ma,cv as ha,cw as ga,am as ye,a$ as fa,dp as ya,eH as ln,eI as Qt,eJ as Xt,eK as pi,dA as ba,b3 as xa,cI as va,dc as Di,a9 as rn,eL as ei,eM as ti,eN as cn,da as dn,c6 as Ti,eO as mi,dF as hi,eP as wa,bx as Ca,eQ as $a,eR as Ai,eS as Ia,az as Da,dd as Ta,eT as Oa,B as un,eU as pn,bQ as La,eV as Vi,eW as mn,eX as hn,eY as gn,bO as rt,av as ja,au as Sa,dN as ka,b as fn,eZ as za,bM as Aa,L as Va,an as Ra,t as Ea,aV as vi}from"./index-BlbI_ZkF.js";import{b as w,n as l,w as Ot}from"./vendor-Bs1fkIUX.js";import{x as Ri}from"./LabeledControlledCheckBoxField-CXbrD37F-En1zfNXP.js";import{R as Pa}from"./TrendWithTransactions-Ci3vAGZ6-CA-8Yv6s.js";import{u as _a,c as Na,d as Ba,m as Ma}from"./uploadAttachment-BEGz93Tv-BOhOTXs3.js";import{o as Ua}from"./radio-default-CiSgisfh-Cuu8ymvq.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./TrendChart-jDPeWiPY-3kiAlDm6.js";import"./chartTypes-B2M-L_2B-BLVk-Q1M.js";import"./toCOABalancesWithID-Db8tb9a8-Ceh38ZAP.js";import"./toChartData-DAKm9HcI-DFys-EkL.js";import"./NoDataChart-rSvTjDyU-CJHAQP5p.js";import"./InsightsSection-89tqblCE-CpfwBJHu.js";import"./NavigationDots-Du9pIMPO-CAKlD_Vt.js";import"./TransactionList-BTYUuFF0-CjCpqArV.js";import"./BoxItem-Cmm6_sNo-Uk06g_Yu.js";import"./commonDimensions-V7mnkdlI-CGqgHYcV.js";const qa={headerMarginTop:new N(O[7],O[8])},Fa=l(ye)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Wa=l(ye)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{cs as rt,q as B,j as e,b3 as nt,aM as u,dA as st,F as v,dB as lt,du as dt,dC as ct,o as a,p as Z,cI as mt,y as U,l as m,k as ft,am as j,u as b,ai as xt,dD as W,dg as G,aN as J,an as ut}from"./index-ChqnORUl.js";import{b as g,n as s,w as ht}from"./vendor-Bs1fkIUX.js";import{g as _}from"./BoxItem-Cmm6_sNo-CTFB4Wd5.js";import{o as E}from"./commonDimensions-V7mnkdlI-BGhwGdt4.js";const D=t=>t?24:125,pt={containerPaddingBottom:new U(b[9],b[8])},V=s.div`
1
+ import{cs as rt,q as B,j as e,b3 as nt,aM as u,dA as st,F as v,dB as lt,du as dt,dC as ct,o as a,p as Z,cI as mt,y as U,l as m,k as ft,am as j,u as b,ai as xt,dD as W,dg as G,aN as J,an as ut}from"./index-BlbI_ZkF.js";import{b as g,n as s,w as ht}from"./vendor-Bs1fkIUX.js";import{g as _}from"./BoxItem-Cmm6_sNo-Uk06g_Yu.js";import{o as E}from"./commonDimensions-V7mnkdlI-CGqgHYcV.js";const D=t=>t?24:125,pt={containerPaddingBottom:new U(b[9],b[8])},V=s.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{y as a,q as L,ax as W,aD as ie,aX as ne,l as B,j as t,aM as x,b3 as re,F as w,u as n,b as ae,p as D,o,B as j,M as X,bv as se,bw as le,ai as de,ar as ce,aN as me,bx as pe,ap as he,k as ue,n as Z,D as G,by as Q,aS as ee}from"./index-ChqnORUl.js";import{b as N,n as i,w as f,i as ge}from"./vendor-Bs1fkIUX.js";import{Y as xe,c as we}from"./AccountsPromoCardStack-BU8h97bJ-CmOgVnhx.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./SummaryCard-BL_m-4zh-Bh1_mqFg.js";import"./ReloadCard-r88gK1Nl-BJ6WSxAA.js";import"./NavigationArrow-BGfn2Qeo-BAyzQ5wz.js";import"./NavigationDots-Du9pIMPO-CNITsESp.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
1
+ import{y as a,q as L,ax as W,aD as ie,aX as ne,l as B,j as t,aM as x,b3 as re,F as w,u as n,b as ae,p as D,o,B as j,M as X,bv as se,bw as le,ai as de,ar as ce,aN as me,bx as pe,ap as he,k as ue,n as Z,D as G,by as Q,aS as ee}from"./index-BlbI_ZkF.js";import{b as N,n as i,w as f,i as ge}from"./vendor-Bs1fkIUX.js";import{Y as xe,c as we}from"./AccountsPromoCardStack-BU8h97bJ-BIhLQk8n.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./SummaryCard-BL_m-4zh-CJvLV2Cd.js";import"./ReloadCard-r88gK1Nl-BXLhRzI0.js";import"./NavigationArrow-BGfn2Qeo-BsHhCubM.js";import"./NavigationDots-Du9pIMPO-CAKlD_Vt.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,be=i.div`
@@ -1,4 +1,4 @@
1
- import{d as A,bE as M,bF as z,j as o,aM as u,bG as G,k as _,bH as H,o as n,am as Q}from"./index-ChqnORUl.js";import{b as r,n as l}from"./vendor-Bs1fkIUX.js";import{f as X}from"./TransactionList-BTYUuFF0-DFRDKzzB.js";import{t as Z}from"./page-detail-CWX5S47F-lMo0MYzU.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./BoxItem-Cmm6_sNo-CTFB4Wd5.js";import"./commonDimensions-V7mnkdlI-BGhwGdt4.js";const q=l.div`
1
+ import{d as A,bE as M,bF as z,j as o,aM as u,bG as G,k as _,bH as H,o as n,am as Q}from"./index-BlbI_ZkF.js";import{b as r,n as l}from"./vendor-Bs1fkIUX.js";import{f as X}from"./TransactionList-BTYUuFF0-CjCpqArV.js";import{t as Z}from"./page-detail-CWX5S47F-lMo0MYzU.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./BoxItem-Cmm6_sNo-Uk06g_Yu.js";import"./commonDimensions-V7mnkdlI-CGqgHYcV.js";const q=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{q as k,F as A,j as o,k as R,aM as D,aQ as W,o as a,y as g,L as _,B as J,di as Q,aa as U,hj as F,hk as B,hl as M,cT as X,ad as G,u as r,d as K,cW as Y,gX as z,hq as Z,b7 as ee,hu as oe,hv as te}from"./index-ChqnORUl.js";import{b as j,n as d}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const O=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=A.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:p,selectedOwnerId:t,selectedVendorName:m,allAccounts:h,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=k(),y=K(),$=N.labelWidth.value(l),I=N.controlWidth.value(l),P=n=>h.filter(L=>L.accountId===n)[0]?.coaId??"",s=n=>C.filter(L=>L.classId===n)[0]?.accountingClassNumber??"",S=n=>{const L=h.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(L??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:B(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:p,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:M(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:I}):null]})]})},re=d.div`
1
+ import{q as k,F as A,j as o,k as R,aM as D,aQ as W,o as a,y as g,L as _,B as J,di as Q,aa as U,hj as F,hk as B,hl as M,cT as X,ad as G,u as r,d as K,cW as Y,gX as z,hq as Z,b7 as ee,hu as oe,hv as te}from"./index-BlbI_ZkF.js";import{b as j,n as d}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const O=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=A.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:p,selectedOwnerId:t,selectedVendorName:m,allAccounts:h,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=k(),y=K(),$=N.labelWidth.value(l),I=N.controlWidth.value(l),P=n=>h.filter(L=>L.accountId===n)[0]?.coaId??"",s=n=>C.filter(L=>L.classId===n)[0]?.accountingClassNumber??"",S=n=>{const L=h.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(L??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:B(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:p,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:M(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:I}):null]})]})},re=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{j as t,q as ue,aM as A,hD as lt,F as I,aN as G,n as ve,hP as ct,k as Ye,aQ as $e,o as a,y as c,L as Ne,c as dt,b9 as ut,ar as ft,a as De,ai as be,am as fe,aP as ce,fL as pt,aa as Xe,l as mt,cT as ht,aX as gt,aO as wt,p as Z,ad as qe,fZ as ke,f_ as Ae,gp as xt,c6 as ye,gj as $t,hQ as Dt,u as o,fC as bt,cx as Ge,cf as yt,dn as Tt,bQ as Ct,an as Qe,fT as St,dN as vt,ch as Ze,hE as kt,hG as At}from"./index-ChqnORUl.js";import{b as u,n}from"./vendor-Bs1fkIUX.js";import{v as Lt}from"./ZeniTransferAmountSlider-BFufV56Y-ctCIsfWJ.js";import{r as Pt}from"./AccountInfoPageContent-BhIHvb1W-CfPQCR_m.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./downloadPdf-Byh_NifO-BBc1gN_t.js";import"./commonDimensions-V7mnkdlI-BGhwGdt4.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",jt="transferTo",Le="transferFrom",k="transferDetails",Je="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:U,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:K}){const i=ue(),R=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),H=r.transferMoneyPartiesFetchState,oe=ce(H),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),He=u.useCallback(s=>{O?.(s),E(),N(!1),z(!1)},[E,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:He,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),L=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Pe(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&H==="Completed"||ie!==X||Te!==ee||s)&&L.reset(Pe(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,H,ie,Te,ee,X,me,pe,L,r,q]);const{isValid:tt}=L.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};U(le)}};u.useEffect(()=>{const s=L.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[L,r.transferMoneyParties]),u.useEffect(()=>{const s=L.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=L.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&L.setValue(`${k}.${Le}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Et,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Z.heroLight}})})]})}):null,t.jsx(Yt,{children:G("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...L,children:t.jsxs(Mt,{id:Ke(Je),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ee,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Le),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ee,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ue),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.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(Gt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Lt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Qt,{windowSize:i,children:[t.jsx(Jt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${G("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Ut,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${G("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Pe=(e,r)=>({transferDetails:{[Ue]: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:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
1
+ import{j as t,q as ue,aM as A,hD as lt,F as I,aN as G,n as ve,hP as ct,k as Ye,aQ as $e,o as a,y as c,L as Ne,c as dt,b9 as ut,ar as ft,a as De,ai as be,am as fe,aP as ce,fL as pt,aa as Xe,l as mt,cT as ht,aX as gt,aO as wt,p as Z,ad as qe,fZ as ke,f_ as Ae,gp as xt,c6 as ye,gj as $t,hQ as Dt,u as o,fC as bt,cx as Ge,cf as yt,dn as Tt,bQ as Ct,an as Qe,fT as St,dN as vt,ch as Ze,hE as kt,hG as At}from"./index-BlbI_ZkF.js";import{b as u,n}from"./vendor-Bs1fkIUX.js";import{v as Lt}from"./ZeniTransferAmountSlider-BFufV56Y-nwjsMsju.js";import{r as Pt}from"./AccountInfoPageContent-BhIHvb1W-B4KU9_Q0.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./downloadPdf-Byh_NifO-B_AmJ9XF.js";import"./commonDimensions-V7mnkdlI-CGqgHYcV.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",jt="transferTo",Le="transferFrom",k="transferDetails",Je="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:U,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:K}){const i=ue(),R=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),H=r.transferMoneyPartiesFetchState,oe=ce(H),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),He=u.useCallback(s=>{O?.(s),E(),N(!1),z(!1)},[E,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:He,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),L=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Pe(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&H==="Completed"||ie!==X||Te!==ee||s)&&L.reset(Pe(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,H,ie,Te,ee,X,me,pe,L,r,q]);const{isValid:tt}=L.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};U(le)}};u.useEffect(()=>{const s=L.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[L,r.transferMoneyParties]),u.useEffect(()=>{const s=L.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=L.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&L.setValue(`${k}.${Le}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Et,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Z.heroLight}})})]})}):null,t.jsx(Yt,{children:G("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...L,children:t.jsxs(Mt,{id:Ke(Je),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ee,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Le),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ee,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ue),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.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(Gt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Lt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Qt,{windowSize:i,children:[t.jsx(Jt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${G("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Ut,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${G("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Pe=(e,r)=>({transferDetails:{[Ue]: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:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=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{q as C,d as M,a9 as Fe,cs as Ke,j as t,F as L,aN as V,c6 as re,bG as We,b as ie,aM as E,k as Ve,o as i,ai as k,p as w,bQ as Ee,y,fu as q,B as R,l as W,u as p,hI as le,bf as de,bi as ce,bh as he,bg as pe,bT as Ge,b4 as ae,b_ as Le,aS as Me,ax as Ue,g5 as Je,ha as _e,n as qe,am as A,a$ as Xe,jC as Ze,kd as Qe,bl as et,f1 as tt,ds as it,fT as ot,l9 as nt,ja as Ae,jb as Be,cI as rt,j1 as at,j2 as st,la as lt,c4 as dt,an as G,cN as xe,j9 as ct,cQ as ht}from"./index-ChqnORUl.js";import{b as f,n as o,w as pt,i as ge}from"./vendor-Bs1fkIUX.js";import{s as xt}from"./commonDimensions-V7mnkdlI-BGhwGdt4.js";import{g as me}from"./BoxItem-Cmm6_sNo-CTFB4Wd5.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CGEA36Na.js";import{o as mt}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Be),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function wt({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const h=M(),l=C(),[r,u]=f.useState(oe());f.useEffect(()=>{const c=[...r];for(const s of c)s.key===n.sortKey?s.sortOrder=n.sortOrder:s.sortOrder="ascending";u(c)},[n.sortKey,n.sortOrder]);const d=(c,s)=>{let m=s;n.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),a(c,m)},g=r.find(c=>c.key===n.sortKey)??r[0],x=c=>r.find(s=>s.key===c)?.value??"",$=r.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:n.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(G,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:n.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:n.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:r.map(c=>c.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":E("cards-list-sort-clicked",n.sortKey),children:[t.jsx(G,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:n.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:n.sortKey===c.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===c.key&&c.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",n.sortKey)})})]},c.key))})})}const $t=pt.memo(wt),jt=o.div`
1
+ import{q as C,d as M,a9 as Fe,cs as Ke,j as t,F as L,aN as V,c6 as re,bG as We,b as ie,aM as E,k as Ve,o as i,ai as k,p as w,bQ as Ee,y,fu as q,B as R,l as W,u as p,hI as le,bf as de,bi as ce,bh as he,bg as pe,bT as Ge,b4 as ae,b_ as Le,aS as Me,ax as Ue,g5 as Je,ha as _e,n as qe,am as A,a$ as Xe,jC as Ze,kd as Qe,bl as et,f1 as tt,ds as it,fT as ot,l9 as nt,ja as Ae,jb as Be,cI as rt,j1 as at,j2 as st,la as lt,c4 as dt,an as G,cN as xe,j9 as ct,cQ as ht}from"./index-BlbI_ZkF.js";import{b as f,n as o,w as pt,i as ge}from"./vendor-Bs1fkIUX.js";import{s as xt}from"./commonDimensions-V7mnkdlI-CGqgHYcV.js";import{g as me}from"./BoxItem-Cmm6_sNo-Uk06g_Yu.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CGEA36Na.js";import{o as mt}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Be),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function wt({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const h=M(),l=C(),[r,u]=f.useState(oe());f.useEffect(()=>{const c=[...r];for(const s of c)s.key===n.sortKey?s.sortOrder=n.sortOrder:s.sortOrder="ascending";u(c)},[n.sortKey,n.sortOrder]);const d=(c,s)=>{let m=s;n.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),a(c,m)},g=r.find(c=>c.key===n.sortKey)??r[0],x=c=>r.find(s=>s.key===c)?.value??"",$=r.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:n.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(G,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:n.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:n.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:r.map(c=>c.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":E("cards-list-sort-clicked",n.sortKey),children:[t.jsx(G,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:n.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:n.sortKey===c.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:n.sortKey,windowSize:l,isVisible:n.sortKey===c.key&&c.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",n.sortKey)})})]},c.key))})})}const $t=pt.memo(wt),jt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{d as ce,q as A,ax as $e,a9 as fe,aP as ye,l as ke,F,j as r,bG as je,fG as be,b4 as Se,o as i,jC as ze,c6 as ve,ai as j,n as Q,aM as Z,B as $,ar as O,p as a,y as z,am as R,ds as Le,c8 as Me,c as Be,an as Pe,fo as Ee,u as h,e5 as Te,bk as Ie,a as De,L as We,b as ee,di as _e}from"./index-ChqnORUl.js";import{b as s,n as t,w as Re}from"./vendor-Bs1fkIUX.js";import{I as Ge,K as He}from"./VideoPlayer-DfTUoEz0-DXLAtyGP.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as Ae}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const Fe=({isOpen:e,onClose:C})=>{const c=A(),x=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ee,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Oe,{windowSize:c,children:[r.jsx(Ve,{children:r.jsx(Ye,{onClick:C})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:c,children:x.agreementDrawer.title}),r.jsx(re,{children:x.agreementDrawer.intro}),r.jsx(H,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(te,{children:p},w))}),r.jsx(H,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Ke,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Je,{children:p.links.map((g,k)=>r.jsx(Qe,{children:g.link!==""?r.jsx(ie,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(ie,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:i.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(H,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(te,{children:p},w))})]})]})})},Oe=t.div`
1
+ import{d as ce,q as A,ax as $e,a9 as fe,aP as ye,l as ke,F,j as r,bG as je,fG as be,b4 as Se,o as i,jC as ze,c6 as ve,ai as j,n as Q,aM as Z,B as $,ar as O,p as a,y as z,am as R,ds as Le,c8 as Me,c as Be,an as Pe,fo as Ee,u as h,e5 as Te,bk as Ie,a as De,L as We,b as ee,di as _e}from"./index-BlbI_ZkF.js";import{b as s,n as t,w as Re}from"./vendor-Bs1fkIUX.js";import{I as Ge,K as He}from"./VideoPlayer-DfTUoEz0-Dh5rMA4r.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as Ae}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const Fe=({isOpen:e,onClose:C})=>{const c=A(),x=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ee,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Oe,{windowSize:c,children:[r.jsx(Ve,{children:r.jsx(Ye,{onClick:C})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:c,children:x.agreementDrawer.title}),r.jsx(re,{children:x.agreementDrawer.intro}),r.jsx(H,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(te,{children:p},w))}),r.jsx(H,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Ke,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Je,{children:p.links.map((g,k)=>r.jsx(Qe,{children:g.link!==""?r.jsx(ie,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(ie,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:i.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(H,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(te,{children:p},w))})]})]})})},Oe=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{d as j,q as v,j as t,bG as z,F as P,b3 as C,o as r,p as c,cI as I,y as R,u as d,am as T}from"./index-ChqnORUl.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";import{$ as B}from"./BoxItem-Cmm6_sNo-CTFB4Wd5.js";import{o as E}from"./commonDimensions-V7mnkdlI-BGhwGdt4.js";import{O as L}from"./StatementItem-1oYAnZBe-DovGIBCV.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./downloadPdf-Byh_NifO-BBc1gN_t.js";const h=P.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new R(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>E.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:B(s,a.statements.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(K,{children:h.noStatements})})})})};return t.jsxs(H,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(O,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=o.div``,p=o.div`
1
+ import{d as j,q as v,j as t,bG as z,F as P,b3 as C,o as r,p as c,cI as I,y as R,u as d,am as T}from"./index-BlbI_ZkF.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";import{$ as B}from"./BoxItem-Cmm6_sNo-Uk06g_Yu.js";import{o as E}from"./commonDimensions-V7mnkdlI-CGqgHYcV.js";import{O as L}from"./StatementItem-1oYAnZBe-BQKnc9Y7.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./downloadPdf-Byh_NifO-B_AmJ9XF.js";const h=P.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new R(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>E.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:B(s,a.statements.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(K,{children:h.noStatements})})})})};return t.jsxs(H,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(O,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=o.div``,p=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{d as S,q as v,j as t,bG as L,F as z,b3 as P,o as r,p as c,cI as C,y as I,u as d,am as T}from"./index-ChqnORUl.js";import{b as h,n as o}from"./vendor-Bs1fkIUX.js";import{$ as R}from"./BoxItem-Cmm6_sNo-CTFB4Wd5.js";import{o as B}from"./commonDimensions-V7mnkdlI-BGhwGdt4.js";import{O as E}from"./StatementItem-1oYAnZBe-DovGIBCV.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./downloadPdf-Byh_NifO-BBc1gN_t.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:b,taxLetterListView:a,onBackClick:u})=>{const g=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>B.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:b,documentType:"taxLetter",boxType:R(s,a.taxLetters.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(K,{children:p.noTaxLetter})})})})};return t.jsxs(H,{children:[t.jsx(L,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(O,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},M=o.div``,m=o.div`
1
+ import{d as S,q as v,j as t,bG as L,F as z,b3 as P,o as r,p as c,cI as C,y as I,u as d,am as T}from"./index-BlbI_ZkF.js";import{b as h,n as o}from"./vendor-Bs1fkIUX.js";import{$ as R}from"./BoxItem-Cmm6_sNo-Uk06g_Yu.js";import{o as B}from"./commonDimensions-V7mnkdlI-CGqgHYcV.js";import{O as E}from"./StatementItem-1oYAnZBe-BQKnc9Y7.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./downloadPdf-Byh_NifO-B_AmJ9XF.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:b,taxLetterListView:a,onBackClick:u})=>{const g=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>B.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:b,documentType:"taxLetter",boxType:R(s,a.taxLetters.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(K,{children:p.noTaxLetter})})})})};return t.jsxs(H,{children:[t.jsx(L,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(O,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},M=o.div``,m=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{F as Y,j as i,l as u,d as R,aM as w,b3 as Z,bR as z,bS as A,bi as B,b as k,bh as P,aX as O,bT as q,bj as _,bV as G,o as L,p as K,am as N}from"./index-ChqnORUl.js";import{b as D,w as V,n as $}from"./vendor-Bs1fkIUX.js";import{d as W,g as T,p as v,u as X}from"./chartTypes-B2M-L_2B-DXrECJ4n.js";import{o as Q}from"./toCOABalancesWithID-Db8tb9a8-BrFxL4q7.js";import{V as H}from"./toChartData-DAKm9HcI-C_5zdg7-.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const I=$.div`
1
+ import{F as Y,j as i,l as u,d as R,aM as w,b3 as Z,bR as z,bS as A,bi as B,b as k,bh as P,aX as O,bT as q,bj as _,bV as G,o as L,p as K,am as N}from"./index-BlbI_ZkF.js";import{b as D,w as V,n as $}from"./vendor-Bs1fkIUX.js";import{d as W,g as T,p as v,u as X}from"./chartTypes-B2M-L_2B-BLVk-Q1M.js";import{o as Q}from"./toCOABalancesWithID-Db8tb9a8-Ceh38ZAP.js";import{V as H}from"./toChartData-DAKm9HcI-DFys-EkL.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const I=$.div`
2
2
  display: flex;
3
3
  `,J=$.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{q as D,j as i,k as R,o as t,F,y as c,aM as S,b3 as A,b7 as Y,a as E,u as a,am as K,L as V}from"./index-ChqnORUl.js";import{b as H,n}from"./vendor-Bs1fkIUX.js";import W from"./TrendChart-jDPeWiPY-Bfhf2g-W.js";import{C as _}from"./NoDataChart-rSvTjDyU-CBUA4ubg.js";import{q as X}from"./InsightsSection-89tqblCE-BGMx36rk.js";import{f as Z}from"./TransactionList-BTYUuFF0-DFRDKzzB.js";const G=n.div`
1
+ import{q as D,j as i,k as R,o as t,F,y as c,aM as S,b3 as A,b7 as Y,a as E,u as a,am as K,L as V}from"./index-BlbI_ZkF.js";import{b as H,n}from"./vendor-Bs1fkIUX.js";import W from"./TrendChart-jDPeWiPY-3kiAlDm6.js";import{C as _}from"./NoDataChart-rSvTjDyU-CJHAQP5p.js";import{q as X}from"./InsightsSection-89tqblCE-CpfwBJHu.js";import{f as Z}from"./TransactionList-BTYUuFF0-CjCpqArV.js";const G=n.div`
2
2
  display: inline-block;
3
3
  `,J=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{d as ce,q as se,ax as Ke,aP as en,gS as R,h$ as U,F as H,aa as nn,i0 as tn,i1 as Te,cT as on,j as t,bG as cn,cE as sn,cF as ln,cG as an,ad as dn,l as J,i2 as rn,k as un,i3 as Y,i4 as pn,aQ as mn,fK as gn,i5 as _e,y as u,am as xn,o as l,d4 as fe,aU as W,gX as oe,i6 as ie,u as r,B as Ae,p as $e,gi as Ve,ai as Se,bn as hn}from"./index-ChqnORUl.js";import{b as X,n as s}from"./vendor-Bs1fkIUX.js";import{h as wn}from"./VendorsAccountsSection-BihANnr3-DJXMjWCt.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const C={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 Ae("standardMedium","largeMedium")},bn=s.div`
1
+ import{d as ce,q as se,ax as Ke,aP as en,gS as R,h$ as U,F as H,aa as nn,i0 as tn,i1 as Te,cT as on,j as t,bG as cn,cE as sn,cF as ln,cG as an,ad as dn,l as J,i2 as rn,k as un,i3 as Y,i4 as pn,aQ as mn,fK as gn,i5 as _e,y as u,am as xn,o as l,d4 as fe,aU as W,gX as oe,i6 as ie,u as r,B as Ae,p as $e,gi as Ve,ai as Se,bn as hn}from"./index-BlbI_ZkF.js";import{b as X,n as s}from"./vendor-Bs1fkIUX.js";import{h as wn}from"./VendorsAccountsSection-BihANnr3-CSIglMpy.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const C={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 Ae("standardMedium","largeMedium")},bn=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aP as b,j as t,i8 as R,i9 as _,q as F,F as O,cE as U,af as C,cF as z,cG as N,aa as G,ad as M,d0 as H,l as T,cY as D,y as g,cZ as Y,p as A,ap as J,k as Z,n as K,o as i,am as Q,u as E,ar as X,ba as ee}from"./index-ChqnORUl.js";import{b as c,n as f}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(E[3],E[2]),width:new g(300,420,420)},te=f.div`
1
+ import{aP as b,j as t,i8 as R,i9 as _,q as F,F as O,cE as U,af as C,cF as z,cG as N,aa as G,ad as M,d0 as H,l as T,cY as D,y as g,cZ as Y,p as A,ap as J,k as Z,n as K,o as i,am as Q,u as E,ar as X,ba as ee}from"./index-BlbI_ZkF.js";import{b as c,n as f}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(E[3],E[2]),width:new g(300,420,420)},te=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{aa as M,fV as g,aP as k,l as W,q,F as A,j as i,cT as _,ad as G,aM as Q,fW as H,o as a,p as J,d1 as K,aQ as X,y as x,L as Y,a as Z,ba as ee,b9 as te,u as c}from"./index-ChqnORUl.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:f,onClose:$,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onSendForVerificationClick:D,onCompanyOfficerUpdated:z}=e,n=M({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,b]=m.useState(!1),[N,B]=m.useState(!1),S=k(f.fetchState),j=t?.deleteFileStatusById??{},L=t?.updateFileStatusById??{},O=Object.values(j??{}).filter(l=>l!=null),T=W.reduceAllFetchState(O);m.useEffect(()=>{S==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}})},[S,f,n,t?.additionalFiles]);const r=q(),h=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:y}=h,V=`${y.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{T.fetchState!=="In-Progress"&&D?.(t?.officerType??"Officer_1")}),U=async(l,p)=>{const d=p[u].front;l.includes("front")&&d?.fileId!=null?(z?.(t?.officerType??"Officer_1",[d?.fileId]),b(!0)):b(!1)};return m.useEffect(()=>{const l=n.watch((p,{name:d})=>{d!=null&&p!=null&&_(()=>U(d,p))});return()=>{l.unsubscribe()}}),i.jsx(G,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":Q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:y.title[s]}),i.jsx(ae,{children:y.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:V})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:K,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.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:j,updateFileStatusById:L,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onFileSizeError:l=>B(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),C?i.jsx(X,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Z)`
1
+ import{aa as M,fV as g,aP as k,l as W,q,F as A,j as i,cT as _,ad as G,aM as Q,fW as H,o as a,p as J,d1 as K,aQ as X,y as x,L as Y,a as Z,ba as ee,b9 as te,u as c}from"./index-BlbI_ZkF.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:f,onClose:$,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onSendForVerificationClick:D,onCompanyOfficerUpdated:z}=e,n=M({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,b]=m.useState(!1),[N,B]=m.useState(!1),S=k(f.fetchState),j=t?.deleteFileStatusById??{},L=t?.updateFileStatusById??{},O=Object.values(j??{}).filter(l=>l!=null),T=W.reduceAllFetchState(O);m.useEffect(()=>{S==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:g(!0,t?.additionalFiles??[],s)}})},[S,f,n,t?.additionalFiles]);const r=q(),h=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:y}=h,V=`${y.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{T.fetchState!=="In-Progress"&&D?.(t?.officerType??"Officer_1")}),U=async(l,p)=>{const d=p[u].front;l.includes("front")&&d?.fileId!=null?(z?.(t?.officerType??"Officer_1",[d?.fileId]),b(!0)):b(!1)};return m.useEffect(()=>{const l=n.watch((p,{name:d})=>{d!=null&&p!=null&&_(()=>U(d,p))});return()=>{l.unsubscribe()}}),i.jsx(G,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":Q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:y.title[s]}),i.jsx(ae,{children:y.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:V})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:K,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.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:j,updateFileStatusById:L,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onFileSizeError:l=>B(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),C?i.jsx(X,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Z)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{aP as o,F as b,j as i,i8 as j,i9 as v}from"./index-ChqnORUl.js";import{b as e}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const H=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:d,onResendOtp:h,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:V,newVendorState:g}=S,r=Object.assign({},V??g),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),P=b.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(j,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:h,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(v,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:E=>d?.(E)}}):null})};export{H as default};
1
+ import{aP as o,F as b,j as i,i8 as j,i9 as v}from"./index-BlbI_ZkF.js";import{b as e}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const H=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:d,onResendOtp:h,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:V,newVendorState:g}=S,r=Object.assign({},V??g),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),P=b.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(j,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:h,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(v,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:E=>d?.(E)}}):null})};export{H as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-ChqnORUl.js";import{b as d}from"./vendor-Bs1fkIUX.js";import{f as k}from"./ACHDetailsPage-BBr3hjKe-B6NISeLa.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./BankAccountWarningSection-CztvYd12-B4y7lI4K.js";import"./MagicLinkTitleSection-BvFcpyWQ-BDlcz3h8.js";import"./BankAccountSection-E80ZBAai-CaIVjxdz.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
1
+ import{j as u}from"./index-BlbI_ZkF.js";import{b as d}from"./vendor-Bs1fkIUX.js";import{f as k}from"./ACHDetailsPage-BBr3hjKe-B9T8kktV.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./BankAccountWarningSection-CztvYd12-UN6QucwG.js";import"./MagicLinkTitleSection-BvFcpyWQ-B3a1nYgJ.js";import"./BankAccountSection-E80ZBAai-CtLe6zY7.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
@@ -1,4 +1,4 @@
1
- import{F as _,d as Be,q as ne,y as g,aC as be,l as se,cV as xt,aa as yt,hj as Re,hk as Ae,hl as Ee,hm as fe,hn as bt,aU as ft,cT as wt,j as t,bG as Ct,ad as $t,ho as St,hp as ue,u as l,cU as Dt,aQ as jt,o,b$ as S,d4 as Tt,gX as we,hq as Lt,cW as Vt,cX as kt,cY as It,hr as Ot,gq as Pt,d2 as Mt,hs as zt,ht as Ft,p as F,dM as _t,dL as Nt,dg as Wt,aX as de,b7 as Ue,ai as Ye,dN as Ht,a$ as Bt,hu as Rt,hv as At,am as Et,hw as Ut,cx as qe,hx as Yt,B as Ce,M as Ge}from"./index-ChqnORUl.js";import{b as $,n as a,i as qt}from"./vendor-Bs1fkIUX.js";import{k as Gt}from"./SubTabSwitcher-V4wilVXH-CsYOfLTV.js";import{f as Qt}from"./TransactionList-BTYUuFF0-DFRDKzzB.js";import{R as Xt}from"./TrendWithTransactions-Ci3vAGZ6-DN6EhZFt.js";import{o as Zt,t as Jt}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{W as Kt}from"./LabeledAddressValueField-wQ3ZPcTl-rfTS37Ai.js";import{Y as es}from"./LabeledDropDownFormattedTextField-CY8863G0-UwIUrSXh.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./BoxItem-Cmm6_sNo-CTFB4Wd5.js";import"./commonDimensions-V7mnkdlI-BGhwGdt4.js";import"./TrendChart-jDPeWiPY-Bfhf2g-W.js";import"./chartTypes-B2M-L_2B-DXrECJ4n.js";import"./toCOABalancesWithID-Db8tb9a8-BrFxL4q7.js";import"./toChartData-DAKm9HcI-C_5zdg7-.js";import"./NoDataChart-rSvTjDyU-CBUA4ubg.js";import"./InsightsSection-89tqblCE-BGMx36rk.js";import"./NavigationDots-Du9pIMPO-CNITsESp.js";const ts=a.div`
1
+ import{F as _,d as Be,q as ne,y as g,aC as be,l as se,cV as xt,aa as yt,hj as Re,hk as Ae,hl as Ee,hm as fe,hn as bt,aU as ft,cT as wt,j as t,bG as Ct,ad as $t,ho as St,hp as ue,u as l,cU as Dt,aQ as jt,o,b$ as S,d4 as Tt,gX as we,hq as Lt,cW as Vt,cX as kt,cY as It,hr as Ot,gq as Pt,d2 as Mt,hs as zt,ht as Ft,p as F,dM as _t,dL as Nt,dg as Wt,aX as de,b7 as Ue,ai as Ye,dN as Ht,a$ as Bt,hu as Rt,hv as At,am as Et,hw as Ut,cx as qe,hx as Yt,B as Ce,M as Ge}from"./index-BlbI_ZkF.js";import{b as $,n as a,i as qt}from"./vendor-Bs1fkIUX.js";import{k as Gt}from"./SubTabSwitcher-V4wilVXH-B_kHOzAc.js";import{f as Qt}from"./TransactionList-BTYUuFF0-CjCpqArV.js";import{R as Xt}from"./TrendWithTransactions-Ci3vAGZ6-CA-8Yv6s.js";import{o as Zt,t as Jt}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{W as Kt}from"./LabeledAddressValueField-wQ3ZPcTl-DPjH_IpF.js";import{Y as es}from"./LabeledDropDownFormattedTextField-CY8863G0-CEXiv0SN.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./BoxItem-Cmm6_sNo-Uk06g_Yu.js";import"./commonDimensions-V7mnkdlI-CGqgHYcV.js";import"./TrendChart-jDPeWiPY-3kiAlDm6.js";import"./chartTypes-B2M-L_2B-BLVk-Q1M.js";import"./toCOABalancesWithID-Db8tb9a8-Ceh38ZAP.js";import"./toChartData-DAKm9HcI-DFys-EkL.js";import"./NoDataChart-rSvTjDyU-CJHAQP5p.js";import"./InsightsSection-89tqblCE-CpfwBJHu.js";import"./NavigationDots-Du9pIMPO-CAKlD_Vt.js";const ts=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{j as S}from"./index-ChqnORUl.js";import{b as C}from"./vendor-Bs1fkIUX.js";import{D as b}from"./DomesticWireDetailsPage-CT0V_5n--BFvnUlMr.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./BankAccountSection-E80ZBAai-CaIVjxdz.js";import"./MagicLinkTitleSection-BvFcpyWQ-BDlcz3h8.js";import"./BankAccountWarningSection-CztvYd12-B4y7lI4K.js";import"./MailingDetailsSection-BvORwvuJ-D_4lXC3Q.js";import"./LabeledAddressValueField-wQ3ZPcTl-rfTS37Ai.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
1
+ import{j as S}from"./index-BlbI_ZkF.js";import{b as C}from"./vendor-Bs1fkIUX.js";import{D as b}from"./DomesticWireDetailsPage-CT0V_5n--Czm4ARPw.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./BankAccountSection-E80ZBAai-CtLe6zY7.js";import"./MagicLinkTitleSection-BvFcpyWQ-B3a1nYgJ.js";import"./BankAccountWarningSection-CztvYd12-UN6QucwG.js";import"./MailingDetailsSection-BvORwvuJ-mzI5OvsT.js";import"./LabeledAddressValueField-wQ3ZPcTl-DPjH_IpF.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
@@ -1,4 +1,4 @@
1
- import{q as oe,d as Ne,F as ne,aa as ke,dk as G,hy as de,cT as Be,y as w,j as t,bG as Ae,aM as Ee,ad as We,cW as C,o as s,c_ as Re,hr as qe,gq as Oe,d2 as Me,hs as He,ht as Ye,da as Ge,aQ as Ue,dc as Ke,dl as Ze,u as c,L as _e,b$ as D,cR as Qe,hz as Je,p as I,Y as Xe,cx as et,am as ce,eZ as tt,hA as st,hB as lt,hC as M,dm as it}from"./index-ChqnORUl.js";import{b as y,n as a}from"./vendor-Bs1fkIUX.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-CY8863G0-UwIUrSXh.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:R}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:G(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
1
+ import{q as oe,d as Ne,F as ne,aa as ke,dk as G,hy as de,cT as Be,y as w,j as t,bG as Ae,aM as Ee,ad as We,cW as C,o as s,c_ as Re,hr as qe,gq as Oe,d2 as Me,hs as He,ht as Ye,da as Ge,aQ as Ue,dc as Ke,dl as Ze,u as c,L as _e,b$ as D,cR as Qe,hz as Je,p as I,Y as Xe,cx as et,am as ce,eZ as tt,hA as st,hB as lt,hC as M,dm as it}from"./index-BlbI_ZkF.js";import{b as y,n as a}from"./vendor-Bs1fkIUX.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-CY8863G0-CEXiv0SN.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:R}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:G(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{q as ae,ax as Nn,d as mn,aa as nt,ik as Pe,cT as tt,az as On,il as ie,im as ve,io as fe,ip as be,iq as me,F as je,j as n,ig as ot,ad as rt,bG as it,ab as st,cE as at,cF as lt,cG as dt,c8 as ct,aM as J,b_ as mt,cB as pt,b3 as ut,dH as ht,cI as gt,y as w,k as wt,D as Ne,o as t,aT as In,am as De,aS as xt,u as c,ai as Re,cN as vt,l as zn,dM as Pn,b$ as ze,bm as Tn,cQ as ft,ce as bt,dZ as $t,ba as Je,by as pn,p as F,r as Dn,h9 as St,dD as wn,dg as rn,ir as yt,is as sn,ap as jt,c6 as Fe,e7 as Rt,eO as xn,bQ as Vt,dO as Ct,n as vn,it as kt,d4 as Mt,dc as Nt,dd as Ot,eT as It,an as Ln,iu as zt,bO as se,iv as fn,gZ as Pt,av as Tt,au as Dt,dN as Lt,b as _n,B as _t,t as At,aV as dn}from"./index-ChqnORUl.js";import{b as f,n as o,i as cn}from"./vendor-Bs1fkIUX.js";import{r as Bt}from"./mui-Ty75qFQF.js";import{P as Ft}from"./Menu-Be5LGB2P-BmmtEPgq.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const An=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(Wt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(qt,{}):null]},`step_${d}`))})},Et=o.div`
1
+ import{q as ae,ax as Nn,d as mn,aa as nt,ik as Pe,cT as tt,az as On,il as ie,im as ve,io as fe,ip as be,iq as me,F as je,j as n,ig as ot,ad as rt,bG as it,ab as st,cE as at,cF as lt,cG as dt,c8 as ct,aM as J,b_ as mt,cB as pt,b3 as ut,dH as ht,cI as gt,y as w,k as wt,D as Ne,o as t,aT as In,am as De,aS as xt,u as c,ai as Re,cN as vt,l as zn,dM as Pn,b$ as ze,bm as Tn,cQ as ft,ce as bt,dZ as $t,ba as Je,by as pn,p as F,r as Dn,h9 as St,dD as wn,dg as rn,ir as yt,is as sn,ap as jt,c6 as Fe,e7 as Rt,eO as xn,bQ as Vt,dO as Ct,n as vn,it as kt,d4 as Mt,dc as Nt,dd as Ot,eT as It,an as Ln,iu as zt,bO as se,iv as fn,gZ as Pt,av as Tt,au as Dt,dN as Lt,b as _n,B as _t,t as At,aV as dn}from"./index-BlbI_ZkF.js";import{b as f,n as o,i as cn}from"./vendor-Bs1fkIUX.js";import{r as Bt}from"./mui-Ty75qFQF.js";import{P as Ft}from"./Menu-Be5LGB2P-CKSnS_5E.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const An=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(Wt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(qt,{}):null]},`step_${d}`))})},Et=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as t,q as Q,aa as he,F as U,cT as ye,aC as ge,l as Y,cE as be,cF as fe,cG as xe,ad as ve,aQ as we,y as p,dk as le,dl as Ce,o as y,b9 as $e,d4 as oe,d as ne,dm as je,dn as J,da as G,b1 as H,cW as De,dp as Te,u as a,dc as ke,aM as Fe,p as V,k as Se,B as Oe,c6 as Ae,ai as Le,bQ as We}from"./index-ChqnORUl.js";import{b as R,n as g}from"./vendor-Bs1fkIUX.js";import{W as ze,F as Ie}from"./BankAccountWarningSection-CztvYd12-B4y7lI4K.js";import{T as Re}from"./MailingDetailsSection-BvORwvuJ-D_4lXC3Q.js";import{S as Pe}from"./CurrencySelectField-COHkbTPk-CyQJY4K_.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./LabeledAddressValueField-wQ3ZPcTl-rfTS37Ai.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:F=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),j=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Se,{size:"Small",start:!0})});if(F&&D||j){let c=null;return o===!0&&F&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":Fe("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(_e,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const Be=g.div`
1
+ import{j as t,q as Q,aa as he,F as U,cT as ye,aC as ge,l as Y,cE as be,cF as fe,cG as xe,ad as ve,aQ as we,y as p,dk as le,dl as Ce,o as y,b9 as $e,d4 as oe,d as ne,dm as je,dn as J,da as G,b1 as H,cW as De,dp as Te,u as a,dc as ke,aM as Fe,p as V,k as Se,B as Oe,c6 as Ae,ai as Le,bQ as We}from"./index-BlbI_ZkF.js";import{b as R,n as g}from"./vendor-Bs1fkIUX.js";import{W as ze,F as Ie}from"./BankAccountWarningSection-CztvYd12-UN6QucwG.js";import{T as Re}from"./MailingDetailsSection-BvORwvuJ-mzI5OvsT.js";import{S as Pe}from"./CurrencySelectField-COHkbTPk-D-KkWyQd.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./LabeledAddressValueField-wQ3ZPcTl-DPjH_IpF.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:F=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),j=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Se,{size:"Small",start:!0})});if(F&&D||j){let c=null;return o===!0&&F&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":Fe("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(_e,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const Be=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{j as l}from"./index-ChqnORUl.js";import{b as B}from"./vendor-Bs1fkIUX.js";import{f as u}from"./InternationalWireSwiftDetailsPage-B539-ETc-Bm8WGgWm.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./BankAccountWarningSection-CztvYd12-B4y7lI4K.js";import"./MailingDetailsSection-BvORwvuJ-D_4lXC3Q.js";import"./LabeledAddressValueField-wQ3ZPcTl-rfTS37Ai.js";import"./MagicLinkTitleSection-BvFcpyWQ-BDlcz3h8.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
1
+ import{j as l}from"./index-BlbI_ZkF.js";import{b as B}from"./vendor-Bs1fkIUX.js";import{f as u}from"./InternationalWireSwiftDetailsPage-B539-ETc-DdmivPbC.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./BankAccountWarningSection-CztvYd12-UN6QucwG.js";import"./MailingDetailsSection-BvORwvuJ-mzI5OvsT.js";import"./LabeledAddressValueField-wQ3ZPcTl-DPjH_IpF.js";import"./MagicLinkTitleSection-BvFcpyWQ-B3a1nYgJ.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{q as ie,d as oe,F as te,y as c,gS as w,aU as T,j as i,i7 as m,i6 as g,o as n,B as re,p as ne,dT as se,ai as le,u as a}from"./index-ChqnORUl.js";import{n as l}from"./vendor-Bs1fkIUX.js";const s={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:n.sp6},k={title:new re("standardMedium","largeMedium")},de=l.div`
1
+ import{q as ie,d as oe,F as te,y as c,gS as w,aU as T,j as i,i7 as m,i6 as g,o as n,B as re,p as ne,dT as se,ai as le,u as a}from"./index-BlbI_ZkF.js";import{n as l}from"./vendor-Bs1fkIUX.js";const s={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:n.sp6},k={title:new re("standardMedium","largeMedium")},de=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>s.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aP as A,aa as U,F as L,j as r,c5 as B,ab as d,l as Q,ad as W,c6 as X,ai as f,c7 as Z,o as n,n as D,c8 as q,am as N,c9 as G,ca as C,bQ as J,p as y,ba as b,cb as K}from"./index-ChqnORUl.js";import{b as c,n as t}from"./vendor-Bs1fkIUX.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-DVj5pK2w-1KS-HYSL.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./handshake-BPg58FML-BpN0H-2S.js";const ee=e=>{if(!e)return"";try{const s=G(e);if(!s){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return C(e)||e}const p=s.countryCallingCode,x=s.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const s=e.replace(/\D/g,"");if(s.length>=4){const p=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},F=120,I=30,V=2,re="456px",te="256px",O=6,o=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Te=e=>{const s=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,g]=c.useState(!1),[$,T]=c.useState(0),[v,S]=c.useState(F),[h,w]=c.useState(I),E=A(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),_=()=>{e.onCancelVerifyDevice()},M=()=>{j.trim().length===O&&e.onVerifyOtp(j)},R=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),T(i=>i+1),u.setValue(m,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const i=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[v]),c.useEffect(()=>{if(h<=0)return;const i=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[h]);const H=i=>{const a=Math.floor(i/60),z=i%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(B,{open:!0,children:r.jsxs(ne,{children:[r.jsx(d,{controller:$>V,children:r.jsx(Y,{unlockDate:Q.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=V,children:r.jsx(W,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(X,{placement:"top",title:r.jsxs(f,{children:[o.changePhoneNumberHelperText,r.jsx(we,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(Se,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Z,{value:j,valueLength:6,hasError:l===!0||p===!0,style:{margin:n.sp0},onChange:i=>{u.setValue(m,i),x(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(P,{children:r.jsxs(je,{children:[o.codeExpiresIn," ",H(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(P,{children:r.jsx(ye,{children:o.codeExpired})})})]}),p===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(ve,{children:r.jsxs(f,{children:[r.jsx(be,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),g(!1),u.setValue(m,""),S(F),w(I))},children:o.resend}),h>0&&r.jsxs(he,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(xe,{children:[r.jsx(D,{label:o.cancel,onClick:_,style:{width:82}}),r.jsx(D,{variant:"primary",label:o.verify,onClick:M,style:{width:82},loading:s,disabled:j.trim().length!==O||l===!0})]}),r.jsx(me,{children:R})]})]})})})]})})},ne=t.div`
1
+ import{aP as A,aa as U,F as L,j as r,c5 as B,ab as d,l as Q,ad as W,c6 as X,ai as f,c7 as Z,o as n,n as D,c8 as q,am as N,c9 as G,ca as C,bQ as J,p as y,ba as b,cb as K}from"./index-BlbI_ZkF.js";import{b as c,n as t}from"./vendor-Bs1fkIUX.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-DVj5pK2w-BTqBjuhQ.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./handshake-BPg58FML-BpN0H-2S.js";const ee=e=>{if(!e)return"";try{const s=G(e);if(!s){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return C(e)||e}const p=s.countryCallingCode,x=s.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const s=e.replace(/\D/g,"");if(s.length>=4){const p=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},F=120,I=30,V=2,re="456px",te="256px",O=6,o=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Te=e=>{const s=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,g]=c.useState(!1),[$,T]=c.useState(0),[v,S]=c.useState(F),[h,w]=c.useState(I),E=A(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),_=()=>{e.onCancelVerifyDevice()},M=()=>{j.trim().length===O&&e.onVerifyOtp(j)},R=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),T(i=>i+1),u.setValue(m,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const i=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[v]),c.useEffect(()=>{if(h<=0)return;const i=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[h]);const H=i=>{const a=Math.floor(i/60),z=i%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(B,{open:!0,children:r.jsxs(ne,{children:[r.jsx(d,{controller:$>V,children:r.jsx(Y,{unlockDate:Q.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=V,children:r.jsx(W,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(X,{placement:"top",title:r.jsxs(f,{children:[o.changePhoneNumberHelperText,r.jsx(we,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(Se,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Z,{value:j,valueLength:6,hasError:l===!0||p===!0,style:{margin:n.sp0},onChange:i=>{u.setValue(m,i),x(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(P,{children:r.jsxs(je,{children:[o.codeExpiresIn," ",H(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(P,{children:r.jsx(ye,{children:o.codeExpired})})})]}),p===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(ve,{children:r.jsxs(f,{children:[r.jsx(be,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),g(!1),u.setValue(m,""),S(F),w(I))},children:o.resend}),h>0&&r.jsxs(he,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(xe,{children:[r.jsx(D,{label:o.cancel,onClick:_,style:{width:82}}),r.jsx(D,{variant:"primary",label:o.verify,onClick:M,style:{width:82},loading:s,disabled:j.trim().length!==O||l===!0})]}),r.jsx(me,{children:R})]})]})})})]})})},ne=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};
@@ -1,4 +1,4 @@
1
- import{q as k,j as t,ap as j,dz as y,p as S}from"./index-ChqnORUl.js";import{b as e,n,k as A}from"./vendor-Bs1fkIUX.js";import{r as O}from"./mui-Ty75qFQF.js";const U=o=>e.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},e.createElement("g",{filter:"url(#filter0_f_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),e.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),e.createElement("g",{filter:"url(#filter1_d_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),e.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),e.createElement("g",{clipPath:"url(#clip0_251_38441)"},e.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),e.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:4}),e.createElement("feGaussianBlur",{stdDeviation:2}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),e.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("clipPath",{id:"clip0_251_38441"},e.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function W({src:o,autoPlay:p=!0,config:d,controls:m=!0,height:_="100%",isModalOpen:r,loop:u=!1,muted:E=!1,showPlayButton:s=!1,style:w,thumbnail:i,width:b="100%",onEnded:v,onModalClose:h,onPlay:x}){const c=k(),[a,l]=e.useState(!1);e.useEffect(()=>{r===!0&&p?l(!0):r===!1&&l(!1)},[r,p]);const f={};d?.youtube&&(f.youtube=d.youtube);const B=()=>{l(!0),x?.()},F=()=>{l(!1),h?.()},g=()=>{l(!1),v?.(),r!=null&&h?.()},C=()=>{l(!0),x?.()};return r!=null?r?O.createPortal(t.jsx(I,{windowSize:c,role:"presentation",children:t.jsx(j,{onClickAway:F,children:t.jsx(M,{windowSize:c,"data-testid":"video-player-modal",children:t.jsxs($,{children:[s&&!a&&t.jsxs(t.Fragment,{children:[i!=null&&i!==""&&t.jsx(P,{src:i,alt:"Video thumbnail"}),t.jsx(z,{onClick:B,children:t.jsx(D,{windowSize:c})})]}),(!s||a)&&t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:"100%",height:"100%",onEnded:g,onPlay:C,config:f})]})})})}),document.body):null:t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:b,height:_,style:w,light:s&&!a?i??!0:!1,onEnded:g,onPlay:C,config:f})}const G=A`
1
+ import{q as k,j as t,ap as j,dz as y,p as S}from"./index-BlbI_ZkF.js";import{b as e,n,k as A}from"./vendor-Bs1fkIUX.js";import{r as O}from"./mui-Ty75qFQF.js";const U=o=>e.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},e.createElement("g",{filter:"url(#filter0_f_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),e.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),e.createElement("g",{filter:"url(#filter1_d_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),e.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),e.createElement("g",{clipPath:"url(#clip0_251_38441)"},e.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),e.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:4}),e.createElement("feGaussianBlur",{stdDeviation:2}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),e.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("clipPath",{id:"clip0_251_38441"},e.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function W({src:o,autoPlay:p=!0,config:d,controls:m=!0,height:_="100%",isModalOpen:r,loop:u=!1,muted:E=!1,showPlayButton:s=!1,style:w,thumbnail:i,width:b="100%",onEnded:v,onModalClose:h,onPlay:x}){const c=k(),[a,l]=e.useState(!1);e.useEffect(()=>{r===!0&&p?l(!0):r===!1&&l(!1)},[r,p]);const f={};d?.youtube&&(f.youtube=d.youtube);const B=()=>{l(!0),x?.()},F=()=>{l(!1),h?.()},g=()=>{l(!1),v?.(),r!=null&&h?.()},C=()=>{l(!0),x?.()};return r!=null?r?O.createPortal(t.jsx(I,{windowSize:c,role:"presentation",children:t.jsx(j,{onClickAway:F,children:t.jsx(M,{windowSize:c,"data-testid":"video-player-modal",children:t.jsxs($,{children:[s&&!a&&t.jsxs(t.Fragment,{children:[i!=null&&i!==""&&t.jsx(P,{src:i,alt:"Video thumbnail"}),t.jsx(z,{onClick:B,children:t.jsx(D,{windowSize:c})})]}),(!s||a)&&t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:"100%",height:"100%",onEnded:g,onPlay:C,config:f})]})})})}),document.body):null:t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:b,height:_,style:w,light:s&&!a?i??!0:!1,onEnded:g,onPlay:C,config:f})}const G=A`
2
2
  0% {
3
3
  transform: rotate(0deg);
4
4
  }
@@ -1,4 +1,4 @@
1
- import{q as l,j as i,ap as s,aM as a,p as c,o as n,y as r}from"./index-ChqnORUl.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{K as h}from"./VideoPlayer-DfTUoEz0-DXLAtyGP.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
1
+ import{q as l,j as i,ap as s,aM as a,p as c,o as n,y as r}from"./index-BlbI_ZkF.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{K as h}from"./VideoPlayer-DfTUoEz0-Dh5rMA4r.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,4 +1,4 @@
1
- import{q as B,l as C,F as D,j as s,A as j,Y as S,n as M,b as L,o as n,y as $,B as E,M as P,L as z,a as N,p as h,c as A,r as R,t as T,u}from"./index-ChqnORUl.js";import{n as t}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const e=D.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},F={title:new E("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=B(),I=r!=null?C.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=q(x,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=O(v,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=G(y,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=Q(k,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(V,{children:[s.jsx(H,{windowSize:l,children:s.jsx(Y,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(J,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(_,{children:[s.jsx(U,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
1
+ import{q as B,l as C,F as D,j as s,A as j,Y as S,n as M,b as L,o as n,y as $,B as E,M as P,L as z,a as N,p as h,c as A,r as R,t as T,u}from"./index-BlbI_ZkF.js";import{n as t}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";const e=D.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},F={title:new E("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=B(),I=r!=null?C.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=q(x,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=O(v,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=G(y,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=Q(k,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(V,{children:[s.jsx(H,{windowSize:l,children:s.jsx(Y,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(J,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(_,{children:[s.jsx(U,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
2
2
  ${j(e.cockpit.review.warningsDrawer.issueFound)}`})}),g.map((i,c)=>s.jsx(K,{isStepInError:i.status==="Error",children:s.jsxs(X,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(S,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(M,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...L.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},q=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},O=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},G=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},Q=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},V=t.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aa as Te,q as M,ax as Pe,l as P,d as pe,aP as Be,j as t,F as _,aN as B,c6 as L,o,bG as Le,b as D,cE as R,cF as F,cG as G,ad as Ne,dp as Ee,p as f,dc as Me,aM as C,k as he,ai as b,bQ as He,b_ as Ie,aS as Ue,y as j,h7 as We,fu as ae,u as p,hI as Oe,bf as Re,bS as Fe,bi as Ge,bh as Ye,bT as Ve,bg as Je,am as X,hJ as qe,b7 as Ke,a$ as _e,hK as Xe,c as Ze,hL as Qe,r as et,h9 as tt,dj as ot,an as at,B as it,cx as nt}from"./index-ChqnORUl.js";import{b as r,n as a}from"./vendor-Bs1fkIUX.js";import{$ as lt}from"./BoxItem-Cmm6_sNo-CTFB4Wd5.js";import{w as rt}from"./downloadPdf-Byh_NifO-BBc1gN_t.js";import{H as ct}from"./DepositAccTransactionItem-CRbSf5Q4-C_wFqf5p.js";import{U as st}from"./ZeniAccountNavBarPieces-DHS4RmYE-BC2YCY2t.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./commonDimensions-V7mnkdlI-BGhwGdt4.js";const dt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
1
+ import{aa as Te,q as M,ax as Pe,l as P,d as pe,aP as Be,j as t,F as _,aN as B,c6 as L,o,bG as Le,b as D,cE as R,cF as F,cG as G,ad as Ne,dp as Ee,p as f,dc as Me,aM as C,k as he,ai as b,bQ as He,b_ as Ie,aS as Ue,y as j,h7 as We,fu as ae,u as p,hI as Oe,bf as Re,bS as Fe,bi as Ge,bh as Ye,bT as Ve,bg as Je,am as X,hJ as qe,b7 as Ke,a$ as _e,hK as Xe,c as Ze,hL as Qe,r as et,h9 as tt,dj as ot,an as at,B as it,cx as nt}from"./index-BlbI_ZkF.js";import{b as r,n as a}from"./vendor-Bs1fkIUX.js";import{$ as lt}from"./BoxItem-Cmm6_sNo-Uk06g_Yu.js";import{w as rt}from"./downloadPdf-Byh_NifO-B_AmJ9XF.js";import{H as ct}from"./DepositAccTransactionItem-CRbSf5Q4-B4IPUBoz.js";import{U as st}from"./ZeniAccountNavBarPieces-DHS4RmYE-CmJa1gMk.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CqlKkwGG.js";import"./commonDimensions-V7mnkdlI-CGqgHYcV.js";const dt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;