@zeniai/web-cockpit-ui 1.14.89-dev → 1.14.89-prod

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-BBq7KpbY-DmD51smT.js → ACHDetailsPage-BBq7KpbY-CpL5U89v.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Djq6mgKa-C2iGvIUP.js → AIPerformancePage-Djq6mgKa-BXUkte6G.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-CxWBk_t_-BI9wbnyE.js → AccountInfoPage-CxWBk_t_-C853qZJF.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DO6aVqBW-6U18ww_h.js → AccountInfoPageContent-DO6aVqBW-CcG81fXf.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-DVvzKHJQ-BlItIAEt.js → AccountLockedInfoModal-DVvzKHJQ-BNuMKDDn.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DEKzSPCP-DohPnhDC.js → AccountReconDetailsDrawerPage-DEKzSPCP-s5lyisHF.js} +1 -1
  7. package/dist/assets/{AccountRow-Ck53DDbT-BeebPIea.js → AccountRow-Ck53DDbT-DgVym5NM.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-BYjuB-4I-DMxflS-k.js → AccountsPromoCardStack-BYjuB-4I-DdN6kRaj.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-e8qbO2Y5-CvQDLLw2.js → AddAddressForCardDrawer-e8qbO2Y5-DvtRki6M.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DA6AmuaY-e01eq7ol.js → AddToWalletPage-DA6AmuaY-BQi9MsaD.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-B_Hhl_Is-4sV-u-EE.js → AgingReportsPage-B_Hhl_Is-DGuqbTZb.js} +1 -1
  12. package/dist/assets/{AllUserItems-BV22Ibpn-WegHhloq.js → AllUserItems-BV22Ibpn-D4sEkFpc.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-DqV1vOVH-DDYGtIes.js → ApAgingDetailPage-DqV1vOVH-C05RVobp.js} +1 -1
  14. package/dist/assets/{AppBasePage-LrgCcvIv-CPbTcwwM.js → AppBasePage-LrgCcvIv-Ch9LW15t.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-aZG5Qc_X-0oLi5_ah.js → AppDrawerContent-aZG5Qc_X-DEDViUw7.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-DQQw30S5-BEsS6TL7.js → ApprovalRulesSettingsPage-DQQw30S5-Cxbiv_Ie.js} +1 -1
  17. package/dist/assets/{ArAgingChart-Am7LTkqG-CEoxIo8X.js → ArAgingChart-Am7LTkqG-B6qiKVZ7.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BEKsyA9Q-DyjljPZX.js → ArAgingDetailPage-BEKsyA9Q-DYnsL3vQ.js} +1 -1
  19. package/dist/assets/{AttachmentView-Bujbmx1d-B9I0wNAl.js → AttachmentView-Bujbmx1d-DqiQcBPx.js} +1 -1
  20. package/dist/assets/{BankAccountSection-C5rYUW3V-B24i3wVy.js → BankAccountSection-C5rYUW3V-Bq5OdcQr.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-DakysSbk-CfJ3ZIAx.js → BankAccountWarningSection-DakysSbk-DtGHGGlf.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BjZDNgZG-CWXR52fl.js → BankConnectionsSettingsPage-BjZDNgZG-CzKGiQZr.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DYc_nZRU-BRz45yqn.js → BillDetailPage-DYc_nZRU-Bfft4Wvj.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-ppU1Epmy-CKu9yeh6.js → BillPayApprovalRuleDetailPage-ppU1Epmy-wt7XFnWO.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-UblNi2mR-DDdlB9l6.js → BillPayApprovalRulesPage-UblNi2mR-Cy8f-c8U.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-BK2J56U5-BV_HtQh9.js → BillPayPromoPage-BK2J56U5-Dr_7W8ch.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-Jic5E25q-B-iLCf2O.js → BillPaySetUpPage-Jic5E25q-ByxpO-dO.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-CKZVChEm-D4ayDBSH.js → BillingSettingsPage-CKZVChEm-DCpRgyWO.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-C4Ra5e82-Ci4V1_TC.js → BillsBulkReviewDrawerPage-C4Ra5e82-pr6_FYet.js} +1 -1
  30. package/dist/assets/{BoxItem-8PfNfaHq-CqIGaIYz.js → BoxItem-8PfNfaHq-B3NqjMnf.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-JGge-Iiw-DkN8E6Gl.js → BusinessVerificationPage-JGge-Iiw-CDuaPB9j.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-W81SQ4GF-D5AG2b-c.js → CardNumberSubText-W81SQ4GF-D9TP2ZHa.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-DnOcmx2i-DuXs2k0a.js → CashbackDetailPage-DnOcmx2i-BC6CYrJs.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DNVMsxzE-W83HRYcY.js → ChargeCardDetailPage-DNVMsxzE-BSQk_5-_.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-Dgj-WWWI-C1jII8Vl.js → ChargeCardListPage-Dgj-WWWI-w23hoUyI.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-uJZKWoh7-DGMj8Kk8.js → ChargeCardListTable-uJZKWoh7-C3O6hd1k.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-uqT96W3_-DGpf3zxD.js → ChargeCardPromoPage-uqT96W3_-BnyG_G4H.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-BDbJU-vm-DZJfRa0I.js → ChargeCardSetupPage-BDbJU-vm-lGDN0gVp.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-DImRqpH1-BlCyBAS3.js → ChargeCardStatementsPage-DImRqpH1-BOXYEkI8.js} +1 -1
  40. package/dist/assets/{CheckDepositDrawerPage-BVtOOPoa-CKWcHjV6.js → CheckDepositDrawerPage-BVtOOPoa-BIViF4jr.js} +1 -1
  41. package/dist/assets/{CollapsableReportTable-Crihcv_z-B6sIoSI3.js → CollapsableReportTable-Crihcv_z-1kvNpwNO.js} +1 -1
  42. package/dist/assets/{CompanyOfficerDetailsSection-CNxtAkKM-D2joEvpM.js → CompanyOfficerDetailsSection-CNxtAkKM-85Q00Xll.js} +1 -1
  43. package/dist/assets/{CompanyPassportCard-DMRQkRPb-BLaDLsxp.js → CompanyPassportCard-DMRQkRPb-Da9mkNtI.js} +1 -1
  44. package/dist/assets/{CompanyPassportPage-D3XvbSF_-BPFOIUV0.js → CompanyPassportPage-D3XvbSF_-CYpevto3.js} +1 -1
  45. package/dist/assets/{CompleteProfile-BqjXO5ze-fJjklbCs.js → CompleteProfile-BqjXO5ze-Ctdetiwt.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-DtwLo4WZ-DhNKCJ7F.js → ConfettiBurst-DtwLo4WZ-C2L-ZVQE.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-FrGRJxMy-lyDeY9QD.js → CreateOrEditVendorPage-FrGRJxMy-CD1A265s.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-BvifQpD3-CJD0XzyN.js → CreditCardPaymentDrawerPage-BvifQpD3-CNzp5-gT.js} +1 -1
  49. package/dist/assets/{CurrencySelectField-ClOg6nnS-wUZ5kAZB.js → CurrencySelectField-ClOg6nnS-kGQo9dVf.js} +1 -1
  50. package/dist/assets/{CustomerOnboardingActivationPage-Du-zzeL2-DGgRqDAq.js → CustomerOnboardingActivationPage-Du-zzeL2-DcQOmDTQ.js} +1 -1
  51. package/dist/assets/CustomerOnboardingContainerPage-DMZOvVMM-Cjd_r5yY.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BgY95XeU-Dah0hLGQ.js → CustomerOnboardingDetailPageSkeleton-BgY95XeU-CxxSHxC_.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-BsKoqUta-D3bS1mcO.js → CustomerOnboardingNoStepsPage-BsKoqUta-Dc6IfrxS.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingPage-DUMQKVfM-C7dz_0GY.js → CustomerOnboardingPage-DUMQKVfM-grMFHxOC.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingProductSuitePage-DGVV8Tkk-CiyIz1Ai.js → CustomerOnboardingProductSuitePage-DGVV8Tkk-CYHRi8SS.js} +1 -1
  56. package/dist/assets/{Dashboard-CdYlvep--B2Vkh5DQ.js → Dashboard-CdYlvep--BGWE43Rb.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-c6q027Qp-B9wSLZAf.js → DashboardReportPage-c6q027Qp-DuE_OhrG.js} +1 -1
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-BdDVYK19-COjDYEak.js → DashboardSidebarBackgroundAnimation-BdDVYK19-CxxrP75O.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-D8kL8enp-J-22cTZM.js → DepositAccTransactionItem-D8kL8enp-Dq5wJete.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionListPage-BS-OReem-Daf8x2X1.js → DepositAccTransactionListPage-BS-OReem-BilXaW65.js} +1 -1
  61. package/dist/assets/{DomesticWireDetailsPage-CjM1DXnn-ByLr_bfJ.js → DomesticWireDetailsPage-CjM1DXnn-f9WMmV-Y.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-Dr4uLNpZ-PWDmhVak.js → DownloadOverlay-Dr4uLNpZ-DONqYIqe.js} +1 -1
  63. package/dist/assets/{DrawerPage-CbKBsc7w-BANqCEyN.js → DrawerPage-CbKBsc7w-SC5EmQrv.js} +1 -1
  64. package/dist/assets/{EditPeoplePage-BgsR09q8-DQro3ypx.js → EditPeoplePage-BgsR09q8-Clk10Ml0.js} +1 -1
  65. package/dist/assets/{EditReimbursementDetailPage-BTrwOX_s-Bpc20RR2.js → EditReimbursementDetailPage-BTrwOX_s-CLWs3phi.js} +1 -1
  66. package/dist/assets/{EntityDetailPage-Cvd4MG0F-Uu1ExrMV.js → EntityDetailPage-Cvd4MG0F-BwgJTkQo.js} +1 -1
  67. package/dist/assets/{EntitySummarySection-BIV9aAq2-CUHksODf.js → EntitySummarySection-BIV9aAq2-gyi2P83i.js} +1 -1
  68. package/dist/assets/{ExpenseAutomationOverviewPage-B5MtjO2p-B5sSDEu8.js → ExpenseAutomationOverviewPage-B5MtjO2p-CJFA1E0S.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationPage-DW6Pxoah-DpT-FAIA.js → ExpenseAutomationPage-DW6Pxoah-DEkIGTkH.js} +1 -1
  70. package/dist/assets/{ExpressPayPage-DnpQuDmt-CY033VTz.js → ExpressPayPage-DnpQuDmt-B1wqsfAL.js} +1 -1
  71. package/dist/assets/{FeaturePreviewPage-BmwBZ7ZP-kerQig1g.js → FeaturePreviewPage-BmwBZ7ZP-B0W4Ko3A.js} +1 -1
  72. package/dist/assets/{FollowStepsSection-B2I9SddL-BxrnE678.js → FollowStepsSection-B2I9SddL-0icECvY3.js} +1 -1
  73. package/dist/assets/{GlobalReviewListPage-D3GCP5Xd-Bht9J0K_.js → GlobalReviewListPage-D3GCP5Xd-DDpKubDJ.js} +1 -1
  74. package/dist/assets/{InformationCardStack-mEhasBqu-BZ_Gox0K.js → InformationCardStack-mEhasBqu-Cby7NjOe.js} +1 -1
  75. package/dist/assets/{InsightsCardStack-Mj7QcQnH-CT4vpE1x.js → InsightsCardStack-Mj7QcQnH-9E267zSA.js} +1 -1
  76. package/dist/assets/{InsightsSection-B3xD0SZ9-CKtY4Hiz.js → InsightsSection-B3xD0SZ9-D-qnLmvb.js} +1 -1
  77. package/dist/assets/{IntegrationsSettingsPage-CsI_agJB-CclnkA74.js → IntegrationsSettingsPage-CsI_agJB-BC2VX2XQ.js} +1 -1
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-Dszmi69h-BjjhlMpG.js → InternationalWireSwiftDetailsPage-Dszmi69h-kUzCnm4M.js} +1 -1
  79. package/dist/assets/{InternationalWireVerificationPage-DG9Enrpo-DEQAkYYx.js → InternationalWireVerificationPage-DG9Enrpo-B4oK9pjT.js} +1 -1
  80. package/dist/assets/{InviteFormPage-DK6X9Zwi-DR66hPVd.js → InviteFormPage-DK6X9Zwi-B6zDF_N3.js} +1 -1
  81. package/dist/assets/{InvitePageListView-CwKbcKlM-BOO2EOMw.js → InvitePageListView-CwKbcKlM-BpKjoalu.js} +1 -1
  82. package/dist/assets/{InvitePeoplePage-BqzJOjVI-hAq8wZOI.js → InvitePeoplePage-BqzJOjVI-jVQ9WiMY.js} +1 -1
  83. package/dist/assets/{InvoiceUploadSection-CokNNkKu-CL4OwcxH.js → InvoiceUploadSection-CokNNkKu-LMnKce0C.js} +1 -1
  84. package/dist/assets/{IssueChargeCardPage-CRtJDmrZ-CFmNSL2f.js → IssueChargeCardPage-CRtJDmrZ-BSgoE7Zm.js} +1 -1
  85. package/dist/assets/{LabeledAddressValue-BhwrrtZX-BVe1F8jA.js → LabeledAddressValue-BhwrrtZX-Dtm3Vn-k.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-DzmwP7hP-7gvUeBGH.js → LabeledAddressValueField-DzmwP7hP-DTG2n0wD.js} +1 -1
  87. package/dist/assets/{LabeledControlledCheckBoxField-B6ndrF2e-LWUc8yBI.js → LabeledControlledCheckBoxField-B6ndrF2e-DY1ubvCV.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-CfzLlkho-CxZaZJZN.js → LabeledCreatableSingleSelectField-CfzLlkho-BHPGlraH.js} +1 -1
  89. package/dist/assets/{LabeledDocumentField-p3pI5qLu-I9C3lX6x.js → LabeledDocumentField-p3pI5qLu-DGU5hH4V.js} +1 -1
  90. package/dist/assets/{LabeledDropDownFormattedTextField-oQX33Fim-Bbplhays.js → LabeledDropDownFormattedTextField-oQX33Fim-BfNjnfMR.js} +1 -1
  91. package/dist/assets/{LabeledText-Db46hFZY-CvrCjgF_.js → LabeledText-Db46hFZY-BVLwPpan.js} +1 -1
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B9Xx3bxn-f0PElM5i.js → LabeledUserSingleSelectWithSubtitlesField-B9Xx3bxn-BVcg7w-8.js} +1 -1
  93. package/dist/assets/{LabeledZeniRolesDropDownField-Docjgj8Y-C6xxx7IQ.js → LabeledZeniRolesDropDownField-Docjgj8Y-C1lu43_h.js} +1 -1
  94. package/dist/assets/{LinkJETransactionPage-BZSRaZqY-9NIG46T3.js → LinkJETransactionPage-BZSRaZqY-CJzDRMx9.js} +1 -1
  95. package/dist/assets/{LockCardPage-KTyESoXL-C_hGUeR9.js → LockCardPage-KTyESoXL-BEIak2Ih.js} +1 -1
  96. package/dist/assets/{LowBalancePopup-B0BDCEui-BMVW4mzF.js → LowBalancePopup-B0BDCEui-imBShbhH.js} +1 -1
  97. package/dist/assets/{MagicLinkACHDetailsPage-DwFvuGwG-C2ShsQ5E.js → MagicLinkACHDetailsPage-DwFvuGwG-D28XX0Mk.js} +1 -1
  98. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CDB2igue-CMZ17cvq.js → MagicLinkDomesticWireDetailsPage-CDB2igue-93p71ZIQ.js} +1 -1
  99. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C2kxncrD-DZt4WyHf.js → MagicLinkInternationalWireDetailsPage-C2kxncrD-Ce8g6h3x.js} +1 -1
  100. package/dist/assets/{MagicLinkSuccessPage-DNVe2qMu-BMSr-yiU.js → MagicLinkSuccessPage-DNVe2qMu-CdrXg-uF.js} +1 -1
  101. package/dist/assets/{MagicLinkTitleSection-CWw516D8-CjWjg4GW.js → MagicLinkTitleSection-CWw516D8-pIsP-hCT.js} +1 -1
  102. package/dist/assets/{MailingDetailsSection-CugAM90r-CMuXq6mA.js → MailingDetailsSection-CugAM90r-1QhNZBqO.js} +1 -1
  103. package/dist/assets/{Menu-CGN2qO6T-CKP1jX2H.js → Menu-CGN2qO6T-C4Fa3L7f.js} +1 -1
  104. package/dist/assets/{MyBankConnectionsSettingsPage-CQUfVa0r-9xTXMtPS.js → MyBankConnectionsSettingsPage-CQUfVa0r-qcVSSqGc.js} +1 -1
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-TOQWRGjp-DCcWmjzI.js → MyPendingActivationChargeCardListPage-TOQWRGjp-C-dJs3xW.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-lCG03Uoh-DnrGHNt2.js → MyProfileSettingsPage-lCG03Uoh-DVrg-p-V.js} +1 -1
  107. package/dist/assets/{NavBarWithPicker-DLLvivn4-6K-3U9T7.js → NavBarWithPicker-DLLvivn4-BzT_Crvs.js} +1 -1
  108. package/dist/assets/{NavigationArrow-B4j2t8Qu-C8IxiTof.js → NavigationArrow-B4j2t8Qu-hrsh9ohB.js} +1 -1
  109. package/dist/assets/{NavigationDots-DyMqwpgy-DXf5bt3G.js → NavigationDots-DyMqwpgy-JfxKvmss.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-Bx7iBsCP-DGrKqfpE.js → NewGlobalMerchantPage-Bx7iBsCP-BFKhG52x.js} +1 -1
  111. package/dist/assets/{NoDataChart-Ce1_TZ5w-BfNH_4T8.js → NoDataChart-Ce1_TZ5w-DDbLlhh6.js} +1 -1
  112. package/dist/assets/{NoDataTable-l2T5Hw3t-Bh_N31mD.js → NoDataTable-l2T5Hw3t-BXRvsSzg.js} +1 -1
  113. package/dist/assets/{NotFoundPage-msdN-Eu6-BKPOdh9t.js → NotFoundPage-msdN-Eu6-C6ZelS6k.js} +1 -1
  114. package/dist/assets/{NotificationSettingsPage-_ovcjr8E-Bj-DE2Dk.js → NotificationSettingsPage-_ovcjr8E-CGt9EpNU.js} +1 -1
  115. package/dist/assets/{NotificationsListConfig-BJm7A9Mz-Dg3_VsE9.js → NotificationsListConfig-BJm7A9Mz-BFc01g7L.js} +1 -1
  116. package/dist/assets/{NotificationsPage-Ddxb5kE0-DzIBWdK5.js → NotificationsPage-Ddxb5kE0-D6sdzZ5M.js} +1 -1
  117. package/dist/assets/{OpExByVendorPage-BLAHey0l-neBDRa7k.js → OpExByVendorPage-BLAHey0l-BlNwZbg2.js} +1 -1
  118. package/dist/assets/{OverlayContainerPage-CrZuT2Jj-DMNYxA7f.js → OverlayContainerPage-CrZuT2Jj-Dr75-ri4.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-B7Z73Sq--BDluLKs7.js → PandLWithForecastPage-B7Z73Sq--CNDc-1lT.js} +1 -1
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-pL7omrJk-Cgju1Qqc.js → PaymentAccountSetupBillingAddressSection-pL7omrJk-2WYjNORF.js} +1 -1
  121. package/dist/assets/{PeoplePage-BHRFiM0D-FOmgjcav.js → PeoplePage-BHRFiM0D-DRMll50T.js} +1 -1
  122. package/dist/assets/{ProductsCarousel-D2bf_6Gb-NT7Dhd8p.js → ProductsCarousel-D2bf_6Gb-TEfA4CrL.js} +1 -1
  123. package/dist/assets/{PromoBaseCards-CI7UOpeY-DI52WXKx.js → PromoBaseCards-CI7UOpeY-B1evZov_.js} +1 -1
  124. package/dist/assets/{QBOConnectionDialog-D7MeKn1t-DelTIGIf.js → QBOConnectionDialog-D7MeKn1t-B2w1QKzx.js} +1 -1
  125. package/dist/assets/{QBOSetupSection-DWhfA4Xv-kSdJytyB.js → QBOSetupSection-DWhfA4Xv-qK0GI5W7.js} +1 -1
  126. package/dist/assets/{ReimbursementApprovalRuleDetailPage-C_dTOk5P-Dc_LvsYr.js → ReimbursementApprovalRuleDetailPage-C_dTOk5P-b8CZcjjJ.js} +1 -1
  127. package/dist/assets/{ReimbursementApprovalRulesPage-B5lca4qx-DAjvVIOI.js → ReimbursementApprovalRulesPage-B5lca4qx-BsFO_SEH.js} +1 -1
  128. package/dist/assets/{ReimbursementDetailPage-COIRwy7i-W0eUs7nE.js → ReimbursementDetailPage-COIRwy7i-CGhFzpju.js} +1 -1
  129. package/dist/assets/{ReimbursementPromoPage-Bjm0UHcm-Crjakfj5.js → ReimbursementPromoPage-Bjm0UHcm-OX27QZ1k.js} +1 -1
  130. package/dist/assets/{ReimbursementSetUpPage-CMYR8CcH-B6Pjnu_N.js → ReimbursementSetUpPage-CMYR8CcH-dSx9uq0k.js} +1 -1
  131. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BDdhVfaz-Qu76KNt7.js → ReimbursementsBulkReviewDrawerPage-BDdhVfaz-CHho_I4c.js} +1 -1
  132. package/dist/assets/{ReloadCard-B2sJR97f-4aiyry-A.js → ReloadCard-B2sJR97f-BCtofZlK.js} +1 -1
  133. package/dist/assets/{ReportTableViewSelector-_IO343vS-DFegVWwX.js → ReportTableViewSelector-_IO343vS-Czn5ein5.js} +1 -1
  134. package/dist/assets/{ReportsPage-C-aQ1bdd-DQkYUdHM.js → ReportsPage-C-aQ1bdd-CGJdsE_g.js} +1 -1
  135. package/dist/assets/{RevenueChart-Bgq6My4J-Bd7qmjtO.js → RevenueChart-Bgq6My4J-CVvgi3IE.js} +1 -1
  136. package/dist/assets/{ReviewDetailsPage-COx9R71r-BNEXmQ6j.js → ReviewDetailsPage-COx9R71r-88bs-gXn.js} +1 -1
  137. package/dist/assets/{ReviewOverlay-CPU7RPiJ-LkDgAnlD.js → ReviewOverlay-CPU7RPiJ-Boo32wAd.js} +1 -1
  138. package/dist/assets/{RoleWithToolTip-DSSGBzvw-1jeqwzcs.js → RoleWithToolTip-DSSGBzvw-LpQZuizj.js} +1 -1
  139. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DKGBfhAM-DIiqwEOV.js → ScheduleDetailsFixedAssetsPage-DKGBfhAM-_HxIg-El.js} +1 -1
  140. package/dist/assets/{ScheduleDetailsPage-B-fKJ7Ct-DSkiCN2O.js → ScheduleDetailsPage-B-fKJ7Ct-D7Ghhz-Q.js} +1 -1
  141. package/dist/assets/{ScheduleSequenceTable-Dh_aT47H-BHM_c04w.js → ScheduleSequenceTable-Dh_aT47H-CH4pWS8t.js} +1 -1
  142. package/dist/assets/{ScreenRoutes-DuXEW70Q.js → ScreenRoutes-CAl3Z8kZ.js} +1 -1
  143. package/dist/assets/{SetUpAccountSection-DrMCC1IY-D33epaX0.js → SetUpAccountSection-DrMCC1IY-DKdlON5F.js} +1 -1
  144. package/dist/assets/{SignIn-Ij6tlYI5-DeE6t8Fq.js → SignIn-Ij6tlYI5-W_hhag2x.js} +1 -1
  145. package/dist/assets/{SignInScreen-LCpnq8M3.js → SignInScreen-C1qvvdaH.js} +1 -1
  146. package/dist/assets/{SpendManagementListViewPage-AI676Urw-DJru7ByR.js → SpendManagementListViewPage-AI676Urw-BtTyp4PL.js} +3 -3
  147. package/dist/assets/{SpendManagementPerTabPage-D79c3Xqh-D8DfakVn.js → SpendManagementPerTabPage-D79c3Xqh-lldxOES4.js} +1 -1
  148. package/dist/assets/{SpendManagementSection-BqWbsmBW-BhpclPa8.js → SpendManagementSection-BqWbsmBW-DdAcoAqN.js} +1 -1
  149. package/dist/assets/{StatementItem-Aal79YaO-3cBWg-5i.js → StatementItem-Aal79YaO-6BMegZOO.js} +1 -1
  150. package/dist/assets/{StatementsPage-BG_pNQzc-C7UMTTVJ.js → StatementsPage-BG_pNQzc-C5W9jefo.js} +1 -1
  151. package/dist/assets/{StatusSwitcher-DYRXaLvx-GT20DbHu.js → StatusSwitcher-DYRXaLvx-C8j2Xkv0.js} +1 -1
  152. package/dist/assets/{SubTabSwitcher-C75XU1EG-BZOngUzL.js → SubTabSwitcher-C75XU1EG-Bq01jAuq.js} +1 -1
  153. package/dist/assets/{SummaryCard-DEnzgi31-BhOErS-o.js → SummaryCard-DEnzgi31-uIlH28-c.js} +1 -1
  154. package/dist/assets/{TaskManagementPage-BacWm0wS-tQV5bDZ1.js → TaskManagementPage-BacWm0wS-3n2EdCaU.js} +1 -1
  155. package/dist/assets/{TimeRangeSwitcher-BOzR-0O6-8myc4JmX.js → TimeRangeSwitcher-BOzR-0O6-xiPqTTPj.js} +1 -1
  156. package/dist/assets/{TimeframeSwitcher-BVgI_VZw-Re-kZX07.js → TimeframeSwitcher-BVgI_VZw-Dr2i-g4z.js} +1 -1
  157. package/dist/assets/{TimeframeSwitcherWithToggle-CPVSAvFa-Bg7OmG92.js → TimeframeSwitcherWithToggle-CPVSAvFa-CkdcdrPb.js} +1 -1
  158. package/dist/assets/{TopExCard-ImUx-vXr--haKJkNG.js → TopExCard-ImUx-vXr-RGtoQGSt.js} +1 -1
  159. package/dist/assets/{TopExDetailPage-Dg_8DQk8-4TF178rD.js → TopExDetailPage-Dg_8DQk8-C4FAKt7P.js} +1 -1
  160. package/dist/assets/{TransactionDetailPage-BzaDB50S-CJmLmWoQ.js → TransactionDetailPage-BzaDB50S-5UQplDsu.js} +1 -1
  161. package/dist/assets/{TransactionList-DMd3dgoK-DFvlE42h.js → TransactionList-DMd3dgoK-GAchYYqt.js} +1 -1
  162. package/dist/assets/{TransactionListBig-BxHqh8u6-eMcF_DZh.js → TransactionListBig-BxHqh8u6-x9Ey0UsD.js} +1 -1
  163. package/dist/assets/{TransactionListPage-CN9fZznd-DZJjs91-.js → TransactionListPage-CN9fZznd-BrDL89Z5.js} +1 -1
  164. package/dist/assets/{TransactionVendorDetailPage-CykcquSh-UwSp0CrJ.js → TransactionVendorDetailPage-CykcquSh-B4MWnYyc.js} +1 -1
  165. package/dist/assets/{TransferDrawerPage-oV7ickRP-yOers3_6.js → TransferDrawerPage-oV7ickRP-D-sipkzC.js} +1 -1
  166. package/dist/assets/{TreasuryOverviewPage-CECDKjNn-HTBJsJ5M.js → TreasuryOverviewPage-CECDKjNn-DafLwMhl.js} +1 -1
  167. package/dist/assets/{TreasuryPromoPage-Bgt7uGAE-oIwaWu5X.js → TreasuryPromoPage-Bgt7uGAE-Iq5Spa9l.js} +1 -1
  168. package/dist/assets/{TreasuryStatementsPage-QyWxshsI-BxKUXQKE.js → TreasuryStatementsPage-QyWxshsI-NmuXI2Gt.js} +1 -1
  169. package/dist/assets/{TreasuryTaxLetterPage-BLmfU0VD-CZkFVEWV.js → TreasuryTaxLetterPage-BLmfU0VD-CtEdSJnO.js} +1 -1
  170. package/dist/assets/{TrendChart-C_6ob-SX-BWR7UfmP.js → TrendChart-C_6ob-SX-UqLmUzGG.js} +1 -1
  171. package/dist/assets/{TrendWithTransactions-lMD2sZ-C-B_BL8w82.js → TrendWithTransactions-lMD2sZ-C-CwJLlCAn.js} +1 -1
  172. package/dist/assets/{UncategorizedAccountsMappingPage-DEgz17_R-CooBTMrf.js → UncategorizedAccountsMappingPage-DEgz17_R-BI_hO66l.js} +1 -1
  173. package/dist/assets/{UnitIntegrationPage-D9Pzxqju-CvrKT10L.js → UnitIntegrationPage-D9Pzxqju-DEb5YSJD.js} +1 -1
  174. package/dist/assets/{UploadAdditionalDocumentOverlay-CJYvOjh0-D-S1zfGQ.js → UploadAdditionalDocumentOverlay-CJYvOjh0-CyuAR94x.js} +1 -1
  175. package/dist/assets/{Vendor2FAPopup-D-r0NVE--CwiNcgO0.js → Vendor2FAPopup-D-r0NVE--Cj-W5XDH.js} +1 -1
  176. package/dist/assets/{VendorACHDetailsPage-Dv6bTD6Y-13eGKSpU.js → VendorACHDetailsPage-Dv6bTD6Y-Bs2SlaRU.js} +1 -1
  177. package/dist/assets/{VendorDetailPage-BhfawsBd-Caqe1lVz.js → VendorDetailPage-BhfawsBd-B6AIf-oM.js} +1 -1
  178. package/dist/assets/{VendorDomesticWireDetailsPage-BjmlrfTQ-t6Qb8_Zl.js → VendorDomesticWireDetailsPage-BjmlrfTQ-BBrkrthi.js} +1 -1
  179. package/dist/assets/{VendorFiling1099EditablePage-glvi0GTU-Ctoy4jdk.js → VendorFiling1099EditablePage-glvi0GTU-NorBD_dQ.js} +1 -1
  180. package/dist/assets/{VendorFirstReviewPage-DUuUM8ZT-CU9frkxN.js → VendorFirstReviewPage-DUuUM8ZT-v0NQaBfE.js} +1 -1
  181. package/dist/assets/{VendorInternationalWireDetailsPage--Lb-TviQ-DUgeyPBL.js → VendorInternationalWireDetailsPage--Lb-TviQ-RCdBVGb0.js} +1 -1
  182. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C6KviV2Z-CuCByIJB.js → VendorInternationalWireSwiftDetailsPage-C6KviV2Z-BcKJJc7Z.js} +1 -1
  183. package/dist/assets/{VendorsAccountsSection-EmHO3wQ0-CSPWzKcg.js → VendorsAccountsSection-EmHO3wQ0-CCWdfZ9i.js} +1 -1
  184. package/dist/assets/{VerifyDevice-DE3UbLEe-DJm7Kfur.js → VerifyDevice-DE3UbLEe-xqLTy9aT.js} +1 -1
  185. package/dist/assets/{VideoPlayer-Gw_PLr8F-BcD3Qyt1.js → VideoPlayer-Gw_PLr8F-LYtV3YjE.js} +1 -1
  186. package/dist/assets/{VideoPopup-DPZYhLgy-CJt98Dbq.js → VideoPopup-DPZYhLgy-BO96yEx0.js} +1 -1
  187. package/dist/assets/{WarningsDrawerPage-CZvToguS-Ba7pscqf.js → WarningsDrawerPage-CZvToguS-ZmIZ7qVV.js} +1 -1
  188. package/dist/assets/{ZeniAccountDetailPage-CQhqngBz-CmRc3epW.js → ZeniAccountDetailPage-CQhqngBz-C7s0f_Qs.js} +1 -1
  189. package/dist/assets/{ZeniAccountListViewPage-CpX8vqYa-CrcimjI_.js → ZeniAccountListViewPage-CpX8vqYa-D69L6A9u.js} +1 -1
  190. package/dist/assets/{ZeniAccountNavBarPieces-DsUwG15z-DiPlFFTl.js → ZeniAccountNavBarPieces-DsUwG15z-B89t8_rk.js} +1 -1
  191. package/dist/assets/{ZeniAccountPromoPage-DA611IgH-CipxvQgU.js → ZeniAccountPromoPage-DA611IgH-CDNeuQb5.js} +1 -1
  192. package/dist/assets/{ZeniAccountSetupPage-CJv2Fk1i-BEZSbbPm.js → ZeniAccountSetupPage-CJv2Fk1i-DgoWwbJ9.js} +1 -1
  193. package/dist/assets/{ZeniCopyright-FFqiWypL-DiiU36pR.js → ZeniCopyright-FFqiWypL-jhRC6VHA.js} +1 -1
  194. package/dist/assets/{ZeniTransferAmountSlider-DSrBZUbA-BFqVxMPD.js → ZeniTransferAmountSlider-DSrBZUbA-B8KinheN.js} +1 -1
  195. package/dist/assets/{analyticsHelper-CczQLvkM-BG3MqU2b.js → analyticsHelper-CczQLvkM-CJFzfxe1.js} +1 -1
  196. package/dist/assets/{analyticsHelper-CPNXs_BN.js → analyticsHelper-DP2qtYwK.js} +1 -1
  197. package/dist/assets/{chartTypes-CwQl8aoN-DVag5uGx.js → chartTypes-CwQl8aoN-mEF0MFro.js} +1 -1
  198. package/dist/assets/{commonDimensions-B1u_MhON-D3_HfKhE.js → commonDimensions-B1u_MhON-DBkNP1J8.js} +1 -1
  199. package/dist/assets/{detailCommon-nYxvvV_i-CatRpXM4.js → detailCommon-nYxvvV_i-Can4Gb-c.js} +1 -1
  200. package/dist/assets/{downloadPdf-yGlKpV2--PjZSq5HD.js → downloadPdf-yGlKpV2--fFgmg-2D.js} +1 -1
  201. package/dist/assets/{index-Ci63exms.js → index-DcV3YN51.js} +4 -4
  202. package/dist/assets/{mapLoadingInProgressToTreeNode-DIAuL28N-uQ9ZpPGq.js → mapLoadingInProgressToTreeNode-DIAuL28N-Bvp61kW7.js} +1 -1
  203. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DRSmQ56_-BfuaGrUM.js → mapSectionWithAcOnlyToTreeNode-DRSmQ56_-CVFismWT.js} +1 -1
  204. package/dist/assets/{mapSpacerToTreeNode-DOEVwUIo-DiQ0KiMB.js → mapSpacerToTreeNode-DOEVwUIo-1MsMz7Z4.js} +1 -1
  205. package/dist/assets/{mapTimeframeBalancesToTreeNode-DbnAvW1M-DvZ_ljbo.js → mapTimeframeBalancesToTreeNode-DbnAvW1M-DsWNrW_e.js} +1 -1
  206. package/dist/assets/{mapTimeframeBalancesToTreeNode-DkrEWOxt-u1VbFdjk.js → mapTimeframeBalancesToTreeNode-DkrEWOxt-D-u3haR2.js} +1 -1
  207. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-DJb78S-u.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-CQahu__z.js} +1 -1
  208. package/dist/assets/{toCOABalancesWithID-rZFEkHuM-BjqaEj9u.js → toCOABalancesWithID-rZFEkHuM-CcmAJqxc.js} +1 -1
  209. package/dist/assets/{toChartData-C-dHC-Oz-CLJWjMkx.js → toChartData-C-dHC-Oz-CP4vBFhW.js} +1 -1
  210. package/dist/assets/{uploadAttachment-D3clfqPu-NbmOED_L.js → uploadAttachment-D3clfqPu-R41YBfbA.js} +1 -1
  211. package/dist/assets/{uploadReceipts-Bkf_PaOH-DuaAGaHX.js → uploadReceipts-Bkf_PaOH-BpDx2Xyf.js} +1 -1
  212. package/dist/index.html +1 -1
  213. package/package.json +1 -1
  214. package/dist/assets/CustomerOnboardingContainerPage-DMZOvVMM-ly2XWpHL.js +0 -1
@@ -1,4 +1,4 @@
1
- import{V as t,o,ag as p,F as f}from"./index-Ci63exms.js";import{n as i}from"./mui-bYXq4XMS.js";const u=i.div`
1
+ import{V as t,o,ag as p,F as f}from"./index-DcV3YN51.js";import{n as i}from"./mui-bYXq4XMS.js";const u=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,V as o,y as n,ag as w,bH as x}from"./index-Ci63exms.js";import{n as r}from"./mui-bYXq4XMS.js";import{b as l}from"./TimeframeSwitcher-BVgI_VZw-Re-kZX07.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...t})=>o.jsx(x,{...t,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=>o.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
1
+ import{Q as c,V as o,y as n,ag as w,bH as x}from"./index-DcV3YN51.js";import{n as r}from"./mui-bYXq4XMS.js";import{b as l}from"./TimeframeSwitcher-BVgI_VZw-Dr2i-g4z.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...t})=>o.jsx(x,{...t,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=>o.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{aA as M,Q as _,V as t,d as x,u as f,aV as q,b as T,aL as R,aI as H,o as p,ag as C,b7 as X,ak as F,F as S,aJ as G,aK as J,aP as E,b0 as Q,b1 as Y,aQ as N,bO as U}from"./index-Ci63exms.js";import{w,a as W}from"./core-3dlyNYRL.js";import{EL as Z}from"./zeni-epic-state-BwKvATgd.js";import{n as g}from"./mui-bYXq4XMS.js";import{I as ee,T as te}from"./ReloadCard-B2sJR97f-4aiyry-A.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-x_U9o4ZQ.js";import{B as k,X as L,Y as $,b as O,e as A,f as ne,g as oe}from"./recharts-h5iNQbFd.js";const ie=g(E)`
1
+ import{aA as M,Q as _,V as t,d as x,u as f,aV as q,b as T,aL as R,aI as H,o as p,ag as C,b7 as X,ak as F,F as S,aJ as G,aK as J,aP as E,b0 as Q,b1 as Y,aQ as N,bO as U}from"./index-DcV3YN51.js";import{w,a as W}from"./core-3dlyNYRL.js";import{EL as Z}from"./zeni-epic-state-BwKvATgd.js";import{n as g}from"./mui-bYXq4XMS.js";import{I as ee,T as te}from"./ReloadCard-B2sJR97f-BCtofZlK.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-x_U9o4ZQ.js";import{B as k,X as L,Y as $,b as O,e as A,f as ne,g as oe}from"./recharts-h5iNQbFd.js";const ie=g(E)`
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,V as t,bz as A,F as u,aL as b,b1 as B,x as H,o as i,y as E,bN as z,bq as P,u as c,p as V,ak as $,aK as F,aZ as T}from"./index-Ci63exms.js";import{n as l}from"./mui-bYXq4XMS.js";import{EL as D}from"./zeni-epic-state-BwKvATgd.js";import{E as L,I as M}from"./TopExCard-ImUx-vXr--haKJkNG.js";import{b as Z}from"./TimeframeSwitcher-BVgI_VZw-Re-kZX07.js";import{d as _}from"./NoDataTable-l2T5Hw3t-Bh_N31mD.js";import{w as I,a as o}from"./core-3dlyNYRL.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./ReloadCard-B2sJR97f-4aiyry-A.js";import"./graphic-no-data-l-DU4J8fDt-x_U9o4ZQ.js";const j="141px",O=i.sp4,N="123px",Q=l(T)`
1
+ import{d as v,Q as S,V as t,bz as A,F as u,aL as b,b1 as B,x as H,o as i,y as E,bN as z,bq as P,u as c,p as V,ak as $,aK as F,aZ as T}from"./index-DcV3YN51.js";import{n as l}from"./mui-bYXq4XMS.js";import{EL as D}from"./zeni-epic-state-BwKvATgd.js";import{E as L,I as M}from"./TopExCard-ImUx-vXr-RGtoQGSt.js";import{b as Z}from"./TimeframeSwitcher-BVgI_VZw-Dr2i-g4z.js";import{d as _}from"./NoDataTable-l2T5Hw3t-BXRvsSzg.js";import{w as I,a as o}from"./core-3dlyNYRL.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./ReloadCard-B2sJR97f-BCtofZlK.js";import"./graphic-no-data-l-DU4J8fDt-x_U9o4ZQ.js";const j="141px",O=i.sp4,N="123px",Q=l(T)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{k as qn,D as Wn,d as Pt,a8 as Fn,Q as ae,F as q,aN as Jt,dN as Hn,dO as Gn,cB as Yn,aA as Zn,dP as nn,dQ as Jn,V as i,aK as W,ab as Xn,bz as Qn,dR as Kn,dS as ea,A as oi,dT as zi,aO as ta,y as N,dU as ia,dV as an,dW as on,dX as sn,dY as Te,dZ as Oe,d_ as Pe,d$ as Ke,e0 as et,e1 as St,e2 as kt,e3 as tt,e4 as gt,e5 as zt,e6 as At,e7 as Xt,e8 as ee,e9 as ei,ea as ue,eb as pe,aH as na,ec as Dt,ed as Ai,ee as aa,n as oa,cm as sa,o as a,ca as la,ef as ra,u as O,x as wi,p as le,ap as Di,b8 as si,s as ca,eg as da,ch as ua,cf as li,aL as Le,cO as st,eh as pa,ei as Ht,aR as ln,cT as ma,ej as ha,cd as ga,ce as fa,ak as fe,aZ as ya,ek as ba,el as rn,em as Qt,en as Kt,eo as mi,dc as xa,b1 as wa,cq as va,cW as Ti,a7 as cn,ep as ti,eq as ii,er as dn,cU as un,bQ as Oi,es as hi,dh as gi,et as Ca,bq as Ia,eu as $a,ev as Vi,ew as Da,ax as Ta,cX as Oa,ex as La,B as pn,ey as mn,bI as ja,ez as Ri,eA as hn,eB as gn,eC as fn,bG as lt,at as Sa,as as ka,dq as za,b as yn,eD as Aa,bE as Va,_ as Ra,al as Ea,a as Pa,aT as vi}from"./index-Ci63exms.js";import{a as v,w as Tt}from"./core-3dlyNYRL.js";import{n as l}from"./mui-bYXq4XMS.js";import{Fa as _a,un as Na,bG as Rt,bF as Et,bH as Ua,c5 as Ba,l6 as Ma,bj as qa}from"./zeni-epic-state-BwKvATgd.js";import{x as Ei}from"./LabeledControlledCheckBoxField-B6ndrF2e-LWUc8yBI.js";import{R as Wa}from"./TrendWithTransactions-lMD2sZ-C-B_BL8w82.js";import{u as Fa,c as Ha,d as Ga,m as Ya}from"./uploadAttachment-D3clfqPu-NbmOED_L.js";import{o as Za}from"./radio-default-CiSgisfh-Clpw2LWj.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./TrendChart-C_6ob-SX-BWR7UfmP.js";import"./chartTypes-CwQl8aoN-DVag5uGx.js";import"./toCOABalancesWithID-rZFEkHuM-BjqaEj9u.js";import"./toChartData-C-dHC-Oz-CLJWjMkx.js";import"./NoDataChart-Ce1_TZ5w-BfNH_4T8.js";import"./InsightsSection-B3xD0SZ9-CKtY4Hiz.js";import"./NavigationDots-DyMqwpgy-DXf5bt3G.js";import"./TransactionList-DMd3dgoK-DFvlE42h.js";import"./BoxItem-8PfNfaHq-CqIGaIYz.js";import"./commonDimensions-B1u_MhON-D3_HfKhE.js";const Ja={headerMarginTop:new N(O[7],O[8])},Xa=l(fe)`
1
+ import{k as qn,D as Wn,d as Pt,a8 as Fn,Q as ae,F as q,aN as Jt,dN as Hn,dO as Gn,cB as Yn,aA as Zn,dP as nn,dQ as Jn,V as i,aK as W,ab as Xn,bz as Qn,dR as Kn,dS as ea,A as oi,dT as zi,aO as ta,y as N,dU as ia,dV as an,dW as on,dX as sn,dY as Te,dZ as Oe,d_ as Pe,d$ as Ke,e0 as et,e1 as St,e2 as kt,e3 as tt,e4 as gt,e5 as zt,e6 as At,e7 as Xt,e8 as ee,e9 as ei,ea as ue,eb as pe,aH as na,ec as Dt,ed as Ai,ee as aa,n as oa,cm as sa,o as a,ca as la,ef as ra,u as O,x as wi,p as le,ap as Di,b8 as si,s as ca,eg as da,ch as ua,cf as li,aL as Le,cO as st,eh as pa,ei as Ht,aR as ln,cT as ma,ej as ha,cd as ga,ce as fa,ak as fe,aZ as ya,ek as ba,el as rn,em as Qt,en as Kt,eo as mi,dc as xa,b1 as wa,cq as va,cW as Ti,a7 as cn,ep as ti,eq as ii,er as dn,cU as un,bQ as Oi,es as hi,dh as gi,et as Ca,bq as Ia,eu as $a,ev as Vi,ew as Da,ax as Ta,cX as Oa,ex as La,B as pn,ey as mn,bI as ja,ez as Ri,eA as hn,eB as gn,eC as fn,bG as lt,at as Sa,as as ka,dq as za,b as yn,eD as Aa,bE as Va,_ as Ra,al as Ea,a as Pa,aT as vi}from"./index-DcV3YN51.js";import{a as v,w as Tt}from"./core-3dlyNYRL.js";import{n as l}from"./mui-bYXq4XMS.js";import{Fa as _a,un as Na,bG as Rt,bF as Et,bH as Ua,c5 as Ba,l6 as Ma,bj as qa}from"./zeni-epic-state-BwKvATgd.js";import{x as Ei}from"./LabeledControlledCheckBoxField-B6ndrF2e-DY1ubvCV.js";import{R as Wa}from"./TrendWithTransactions-lMD2sZ-C-CwJLlCAn.js";import{u as Fa,c as Ha,d as Ga,m as Ya}from"./uploadAttachment-D3clfqPu-R41YBfbA.js";import{o as Za}from"./radio-default-CiSgisfh-Clpw2LWj.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./TrendChart-C_6ob-SX-UqLmUzGG.js";import"./chartTypes-CwQl8aoN-mEF0MFro.js";import"./toCOABalancesWithID-rZFEkHuM-CcmAJqxc.js";import"./toChartData-C-dHC-Oz-CP4vBFhW.js";import"./NoDataChart-Ce1_TZ5w-DDbLlhh6.js";import"./InsightsSection-B3xD0SZ9-D-qnLmvb.js";import"./NavigationDots-DyMqwpgy-JfxKvmss.js";import"./TransactionList-DMd3dgoK-GAchYYqt.js";import"./BoxItem-8PfNfaHq-B3NqjMnf.js";import"./commonDimensions-B1u_MhON-DBkNP1J8.js";const Ja={headerMarginTop:new N(O[7],O[8])},Xa=l(fe)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Qa=l(fe)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{ca as ct,Q as R,V as e,b1 as mt,aK as x,dc as ft,F as v,dd as xt,d7 as ut,de as ht,o as a,p as q,cq as pt,y as G,A as gt,ak as y,u as g,ag as wt,df as J,c_ as K,aL as X,al as bt}from"./index-Ci63exms.js";import{a as p,w as $t}from"./core-3dlyNYRL.js";import{n}from"./mui-bYXq4XMS.js";import{EM as Q,EN as V,EO as U,EP as L,bj as vt,E$ as tt,bG as et}from"./zeni-epic-state-BwKvATgd.js";import{g as it}from"./BoxItem-8PfNfaHq-CqIGaIYz.js";import{o as B}from"./commonDimensions-B1u_MhON-D3_HfKhE.js";const D=t=>t?24:125,yt={containerPaddingBottom:new G(g[9],g[8])},W=n.div`
1
+ import{ca as ct,Q as R,V as e,b1 as mt,aK as x,dc as ft,F as v,dd as xt,d7 as ut,de as ht,o as a,p as q,cq as pt,y as G,A as gt,ak as y,u as g,ag as wt,df as J,c_ as K,aL as X,al as bt}from"./index-DcV3YN51.js";import{a as p,w as $t}from"./core-3dlyNYRL.js";import{n}from"./mui-bYXq4XMS.js";import{EM as Q,EN as V,EO as U,EP as L,bj as vt,E$ as tt,bG as et}from"./zeni-epic-state-BwKvATgd.js";import{g as it}from"./BoxItem-8PfNfaHq-B3NqjMnf.js";import{o as B}from"./commonDimensions-B1u_MhON-DBkNP1J8.js";const D=t=>t?24:125,yt={containerPaddingBottom:new G(g[9],g[8])},W=n.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 R,av as W,aB as ie,aV as ne,V as t,aK as x,b1 as re,F as w,u as n,b as ae,p as B,o,B as j,M as Q,bo as se,bp as le,ag as de,ap as ce,aL as me,bq as pe,an as he,A as ge,n as Z,x as G,br as X,aQ as ee}from"./index-Ci63exms.js";import{a as U,w as f}from"./core-3dlyNYRL.js";import{n as i,b as ue}from"./mui-bYXq4XMS.js";import{Es as xe,bh as we,bD as N}from"./zeni-epic-state-BwKvATgd.js";import{G as $e,c as be}from"./AccountsPromoCardStack-BYjuB-4I-DMxflS-k.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./SummaryCard-DEnzgi31-BhOErS-o.js";import"./ReloadCard-B2sJR97f-4aiyry-A.js";import"./NavigationArrow-B4j2t8Qu-C8IxiTof.js";import"./NavigationDots-DyMqwpgy-DXf5bt3G.js";const ye={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
1
+ import{y as a,Q as R,av as W,aB as ie,aV as ne,V as t,aK as x,b1 as re,F as w,u as n,b as ae,p as B,o,B as j,M as Q,bo as se,bp as le,ag as de,ap as ce,aL as me,bq as pe,an as he,A as ge,n as Z,x as G,br as X,aQ as ee}from"./index-DcV3YN51.js";import{a as U,w as f}from"./core-3dlyNYRL.js";import{n as i,b as ue}from"./mui-bYXq4XMS.js";import{Es as xe,bh as we,bD as N}from"./zeni-epic-state-BwKvATgd.js";import{G as $e,c as be}from"./AccountsPromoCardStack-BYjuB-4I-DdN6kRaj.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./SummaryCard-DEnzgi31-uIlH28-c.js";import"./ReloadCard-B2sJR97f-BCtofZlK.js";import"./NavigationArrow-B4j2t8Qu-hrsh9ohB.js";import"./NavigationDots-DyMqwpgy-JfxKvmss.js";const ye={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,Se=i.div`
@@ -1,4 +1,4 @@
1
- import{d as z,bx as R,by as M,V as o,aK as p,bz as V,A as Z,o as n,ak as q}from"./index-Ci63exms.js";import{a as r}from"./core-3dlyNYRL.js";import{n as l}from"./mui-bYXq4XMS.js";import{f as G}from"./TransactionList-DMd3dgoK-DFvlE42h.js";import{t as K}from"./page-detail-CWX5S47F-Bc8Xpsuq.js";import{e as _}from"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./BoxItem-8PfNfaHq-CqIGaIYz.js";import"./commonDimensions-B1u_MhON-D3_HfKhE.js";const H=l.div`
1
+ import{d as z,bx as R,by as M,V as o,aK as p,bz as V,A as Z,o as n,ak as q}from"./index-DcV3YN51.js";import{a as r}from"./core-3dlyNYRL.js";import{n as l}from"./mui-bYXq4XMS.js";import{f as G}from"./TransactionList-DMd3dgoK-GAchYYqt.js";import{t as K}from"./page-detail-CWX5S47F-Bc8Xpsuq.js";import{e as _}from"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./BoxItem-8PfNfaHq-B3NqjMnf.js";import"./commonDimensions-B1u_MhON-DBkNP1J8.js";const H=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{Q as H,F,V as o,A as q,aK as L,aO as W,o as a,y as g,_,B as J,d0 as K,a8 as Q,h1 as B,h2 as k,h3 as M,cB as U,ab as G,u as r,d as X,cE as Y,gF as z,h8 as Z,b5 as ee,hc as oe,hd as te}from"./index-Ci63exms.js";import{a as j}from"./core-3dlyNYRL.js";import{n as d}from"./mui-bYXq4XMS.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const D=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=F.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:p,selectedOwnerId:t,selectedVendorName:m,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const s=H(),b=X(),$=N.labelWidth.value(s),I=N.controlWidth.value(s),V=n=>h.filter(O=>O.accountId===n)[0]?.coaId??"",l=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",y=n=>{const O=h.find(R=>R.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":L("vendor-details-section",v),children:[o.jsx(le,{children:i.vendorDetails.title}),o.jsxs(se,{children:[o.jsx(Y,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:D(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:D(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>V(n),defaultValue:{selectedOption:e,allOptions:k(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>l(n),defaultValue:{selectedOption:p,allOptions:B(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:M(S),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 H,F,V as o,A as q,aK as L,aO as W,o as a,y as g,_,B as J,d0 as K,a8 as Q,h1 as B,h2 as k,h3 as M,cB as U,ab as G,u as r,d as X,cE as Y,gF as z,h8 as Z,b5 as ee,hc as oe,hd as te}from"./index-DcV3YN51.js";import{a as j}from"./core-3dlyNYRL.js";import{n as d}from"./mui-bYXq4XMS.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const D=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=F.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:p,selectedOwnerId:t,selectedVendorName:m,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const s=H(),b=X(),$=N.labelWidth.value(s),I=N.controlWidth.value(s),V=n=>h.filter(O=>O.accountId===n)[0]?.coaId??"",l=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",y=n=>{const O=h.find(R=>R.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":L("vendor-details-section",v),children:[o.jsx(le,{children:i.vendorDetails.title}),o.jsxs(se,{children:[o.jsx(Y,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:D(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:D(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>V(n),defaultValue:{selectedOption:e,allOptions:k(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>l(n),defaultValue:{selectedOption:p,allOptions:B(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:M(S),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{V as t,Q as ue,aK as A,hl as st,F as I,aL as Z,n as ve,hw as ct,A as Ye,aO as $e,o as a,y as c,_ as Ne,c as dt,b7 as ut,ap as ft,E as De,ag as be,ak as fe,aN as ce,fv as pt,a8 as Xe,cB as mt,aV as ht,aM as gt,p as G,ab as qe,fz as ke,fA as Ae,g7 as wt,bQ as ye,g1 as xt,hx as $t,u as o,fk as Dt,cf as Ze,bZ as bt,eX as yt,bI as Tt,al as Je,fM as Ct,dq as St,b$ as Ge,hm as vt,ho as kt}from"./index-Ci63exms.js";import{a as u}from"./core-3dlyNYRL.js";import{n}from"./mui-bYXq4XMS.js";import{bO as At}from"./zeni-epic-state-BwKvATgd.js";import{v as Lt}from"./ZeniTransferAmountSlider-DSrBZUbA-BFqVxMPD.js";import{r as Pt}from"./AccountInfoPageContent-DO6aVqBW-6U18ww_h.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./downloadPdf-yGlKpV2--PjZSq5HD.js";import"./commonDimensions-B1u_MhON-D3_HfKhE.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ke="amount",jt="transferTo",Le="transferFrom",k="transferDetails",Qe="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ue=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:s,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:K,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:Q,onReviewClick:U}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=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(l=>l.id),me=ce(pe),He=u.useCallback(l=>{O?.(l),E(),N(!1),z(!1)},[E,O]),et=u.useCallback((l,h)=>{l!=null&&console.log("Plaid Connection Error",l,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:He,onExit:et}),le=u.useCallback(l=>{l.preventDefault(),l.stopPropagation(),te?q():z(!0)},[q,te]),L=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Pe(r,le),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(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(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&Q?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const l=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&H==="Completed"||ie!==X||Te!==ee||l)&&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(l,h)=>{if(l!=null){const B={...h},se={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)};K(se)}};u.useEffect(()=>{const l=L.watch((h,{name:B})=>{if(B!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),lt=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&lt?.accType==="depositAccount"&&se!==0?(T(!0),C(!0)):C(!1),S(se)}});return()=>{l.unsubscribe()}},[L,r.transferMoneyParties]),u.useEffect(()=>{const l=L.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{l.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=L.handleSubmit(()=>{tt&&(_("Review","Amount Details"),U())});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,le,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(s),s,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(Et,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{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:G.heroLight}})})]})}):null,t.jsx(Yt,{children:Z("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...L,children:t.jsxs(Mt,{id:Ue(Qe),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:(l,h)=>Ae(r.transferMoneyParties,l,h),valueToSubLabels:(l,h)=>ke(r.transferMoneyParties,l,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.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:(l,h)=>Ae(r.transferMoneyParties,l,h),valueToSubLabels:(l,h)=>ke(r.transferMoneyParties,l,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ke),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:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Zt,{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(Jt,{windowSize:i,children:[t.jsx(Qt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Gt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${Z("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(Kt,{windowSize:i}),t.jsx(Ut,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${Z("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:{[Ke]: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{V as t,Q as ue,aK as A,hl as st,F as I,aL as Z,n as ve,hw as ct,A as Ye,aO as $e,o as a,y as c,_ as Ne,c as dt,b7 as ut,ap as ft,E as De,ag as be,ak as fe,aN as ce,fv as pt,a8 as Xe,cB as mt,aV as ht,aM as gt,p as G,ab as qe,fz as ke,fA as Ae,g7 as wt,bQ as ye,g1 as xt,hx as $t,u as o,fk as Dt,cf as Ze,bZ as bt,eX as yt,bI as Tt,al as Je,fM as Ct,dq as St,b$ as Ge,hm as vt,ho as kt}from"./index-DcV3YN51.js";import{a as u}from"./core-3dlyNYRL.js";import{n}from"./mui-bYXq4XMS.js";import{bO as At}from"./zeni-epic-state-BwKvATgd.js";import{v as Lt}from"./ZeniTransferAmountSlider-DSrBZUbA-B8KinheN.js";import{r as Pt}from"./AccountInfoPageContent-DO6aVqBW-CcG81fXf.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./downloadPdf-yGlKpV2--fFgmg-2D.js";import"./commonDimensions-B1u_MhON-DBkNP1J8.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ke="amount",jt="transferTo",Le="transferFrom",k="transferDetails",Qe="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ue=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:s,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:K,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:Q,onReviewClick:U}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=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(l=>l.id),me=ce(pe),He=u.useCallback(l=>{O?.(l),E(),N(!1),z(!1)},[E,O]),et=u.useCallback((l,h)=>{l!=null&&console.log("Plaid Connection Error",l,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:He,onExit:et}),le=u.useCallback(l=>{l.preventDefault(),l.stopPropagation(),te?q():z(!0)},[q,te]),L=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Pe(r,le),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(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(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&Q?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const l=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&H==="Completed"||ie!==X||Te!==ee||l)&&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(l,h)=>{if(l!=null){const B={...h},se={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)};K(se)}};u.useEffect(()=>{const l=L.watch((h,{name:B})=>{if(B!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),lt=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&lt?.accType==="depositAccount"&&se!==0?(T(!0),C(!0)):C(!1),S(se)}});return()=>{l.unsubscribe()}},[L,r.transferMoneyParties]),u.useEffect(()=>{const l=L.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{l.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=L.handleSubmit(()=>{tt&&(_("Review","Amount Details"),U())});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,le,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(s),s,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(Et,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{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:G.heroLight}})})]})}):null,t.jsx(Yt,{children:Z("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...L,children:t.jsxs(Mt,{id:Ue(Qe),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:(l,h)=>Ae(r.transferMoneyParties,l,h),valueToSubLabels:(l,h)=>ke(r.transferMoneyParties,l,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.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:(l,h)=>Ae(r.transferMoneyParties,l,h),valueToSubLabels:(l,h)=>ke(r.transferMoneyParties,l,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ke),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:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Zt,{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(Jt,{windowSize:i,children:[t.jsx(Qt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Gt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${Z("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(Kt,{windowSize:i}),t.jsx(Ut,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${Z("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:{[Ke]: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,a7 as Ne,ca as Fe,V as t,F as L,aL as V,bQ as ae,bz as Ve,b as ie,aK as W,A as We,o as i,ag as k,p as w,bI as Ee,y,fc as Z,B as R,u as p,b2 as ne,bL as Le,aQ as Me,av as Ue,fP as Ge,gU as Xe,n as Je,ak as O,aZ as Ze,jh as qe,jU as Qe,be as _e,eH as et,d5 as tt,fM as it,kO as ot,iT as Oe,iU as Ae,cq as rt,iK as at,iL as nt,kP as st,bO as lt,al as E,cv as le,iS as dt,cy as ct}from"./index-Ci63exms.js";import{a as f,w as ht}from"./core-3dlyNYRL.js";import{n as o,b as de}from"./mui-bYXq4XMS.js";import{bO as U,c3 as pt}from"./zeni-epic-state-BwKvATgd.js";import{s as xt}from"./commonDimensions-B1u_MhON-D3_HfKhE.js";import{g as ce}from"./BoxItem-8PfNfaHq-CqIGaIYz.js";import{o as mt}from"./transaction-placeholder-CpOwZAMG-0pwHfQC6.js";import{o as gt}from"./shield-DOlUxcFf-BXuToJ7O.js";import{h as he,A as pe,X as xe,Y as me,a as ge,T as ut}from"./recharts-h5iNQbFd.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./lexical-DPEnH3HH.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],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(Oe,Ae),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let g=s;r.sortKey===c&&(g=s==="ascending"?"descending":"ascending"),n(c,g)},m=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(lt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.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(Mt,{onClick:()=>d(m.key,m.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:m.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:m,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===m.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=ht.memo($t),bt=o.div`
1
+ import{Q as C,d as M,a7 as Ne,ca as Fe,V as t,F as L,aL as V,bQ as ae,bz as Ve,b as ie,aK as W,A as We,o as i,ag as k,p as w,bI as Ee,y,fc as Z,B as R,u as p,b2 as ne,bL as Le,aQ as Me,av as Ue,fP as Ge,gU as Xe,n as Je,ak as O,aZ as Ze,jh as qe,jU as Qe,be as _e,eH as et,d5 as tt,fM as it,kO as ot,iT as Oe,iU as Ae,cq as rt,iK as at,iL as nt,kP as st,bO as lt,al as E,cv as le,iS as dt,cy as ct}from"./index-DcV3YN51.js";import{a as f,w as ht}from"./core-3dlyNYRL.js";import{n as o,b as de}from"./mui-bYXq4XMS.js";import{bO as U,c3 as pt}from"./zeni-epic-state-BwKvATgd.js";import{s as xt}from"./commonDimensions-B1u_MhON-DBkNP1J8.js";import{g as ce}from"./BoxItem-8PfNfaHq-B3NqjMnf.js";import{o as mt}from"./transaction-placeholder-CpOwZAMG-0pwHfQC6.js";import{o as gt}from"./shield-DOlUxcFf-BXuToJ7O.js";import{h as he,A as pe,X as xe,Y as me,a as ge,T as ut}from"./recharts-h5iNQbFd.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./lexical-DPEnH3HH.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],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(Oe,Ae),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let g=s;r.sortKey===c&&(g=s==="ascending"?"descending":"ascending"),n(c,g)},m=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(lt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.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(Mt,{onClick:()=>d(m.key,m.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:m.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:m,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===m.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=ht.memo($t),bt=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 V,av as $e,a7 as fe,aN as ye,F as A,V as r,bz as ke,fo as je,b2 as be,o as i,jh as Se,bQ as ze,ag as j,n as J,aK as Z,B as $,ap as F,p as a,y as z,ak as R,d5 as ve,bS as Le,c as Me,al as Pe,f6 as Be,u as h,dK as Ee,bd as Te,E as Ie,_ as De,b as ee,d0 as We}from"./index-Ci63exms.js";import{a as s,w as _e}from"./core-3dlyNYRL.js";import{n as t}from"./mui-bYXq4XMS.js";import{Ga as Re}from"./zeni-epic-state-BwKvATgd.js";import{I as Ge,N as Ne}from"./VideoPlayer-Gw_PLr8F-BcD3Qyt1.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-iFkTgScT.js";import{o as Ve}from"./shield-DOlUxcFf-BXuToJ7O.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const Ae=({isOpen:e,onClose:C})=>{const c=V(),x=A.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{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(Fe,{windowSize:c,children:[r.jsx(Oe,{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(N,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(te,{children:p},w))}),r.jsx(N,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Ke,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Qe,{children:p.links.map((g,k)=>r.jsx(Je,{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(N,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(te,{children:p},w))})]})]})})},Fe=t.div`
1
+ import{d as ce,Q as V,av as $e,a7 as fe,aN as ye,F as A,V as r,bz as ke,fo as je,b2 as be,o as i,jh as Se,bQ as ze,ag as j,n as J,aK as Z,B as $,ap as F,p as a,y as z,ak as R,d5 as ve,bS as Le,c as Me,al as Pe,f6 as Be,u as h,dK as Ee,bd as Te,E as Ie,_ as De,b as ee,d0 as We}from"./index-DcV3YN51.js";import{a as s,w as _e}from"./core-3dlyNYRL.js";import{n as t}from"./mui-bYXq4XMS.js";import{Ga as Re}from"./zeni-epic-state-BwKvATgd.js";import{I as Ge,N as Ne}from"./VideoPlayer-Gw_PLr8F-LYtV3YjE.js";import{r as He}from"./auto-transfer-rule-mbafm5D3-iFkTgScT.js";import{o as Ve}from"./shield-DOlUxcFf-BXuToJ7O.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const Ae=({isOpen:e,onClose:C})=>{const c=V(),x=A.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{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(Fe,{windowSize:c,children:[r.jsx(Oe,{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(N,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(te,{children:p},w))}),r.jsx(N,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Ke,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Qe,{children:p.links.map((g,k)=>r.jsx(Je,{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(N,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(te,{children:p},w))})]})]})})},Fe=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,V as e,bz as z,F as P,b1 as C,o as r,p as c,cq as I,y as B,u as d,ak as E}from"./index-Ci63exms.js";import{a as m}from"./core-3dlyNYRL.js";import{n as o}from"./mui-bYXq4XMS.js";import{$ as M}from"./BoxItem-8PfNfaHq-CqIGaIYz.js";import{o as R}from"./commonDimensions-B1u_MhON-D3_HfKhE.js";import{O as T}from"./StatementItem-Aal79YaO-3cBWg-5i.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./downloadPdf-yGlKpV2--PjZSq5HD.js";const p=P.getLocalizedStrings().spendManagement.treasury.statements,w={listItemMargin:new B(d[3],d[8])},rt=({currentTenantCompanyName:t,authParams:x,downloadEndPoint:b,statementListView:a,onBackClick:u})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>R.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?e.jsx(h,{windowSize:i,style:{...n,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:e.jsx(T,{currentTenantCompanyName:t,accountLast4:"",data:l,authParams:x,downloadEndPoint:b,documentType:"treasuryStatement",boxType:M(s,a.statements.length)},l.id)}):e.jsx(L,{style:{...n},children:e.jsx(N,{children:e.jsx(h,{windowSize:i,children:e.jsx(H,{children:p.noStatements})})})})};return e.jsxs(V,{children:[e.jsx(z,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),e.jsx(K,{windowSize:i,children:e.jsx(C,{children:({height:s,width:n})=>e.jsx(O,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,h=o.div`
1
+ import{d as j,Q as v,V as e,bz as z,F as P,b1 as C,o as r,p as c,cq as I,y as B,u as d,ak as E}from"./index-DcV3YN51.js";import{a as m}from"./core-3dlyNYRL.js";import{n as o}from"./mui-bYXq4XMS.js";import{$ as M}from"./BoxItem-8PfNfaHq-B3NqjMnf.js";import{o as R}from"./commonDimensions-B1u_MhON-DBkNP1J8.js";import{O as T}from"./StatementItem-Aal79YaO-6BMegZOO.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./downloadPdf-yGlKpV2--fFgmg-2D.js";const p=P.getLocalizedStrings().spendManagement.treasury.statements,w={listItemMargin:new B(d[3],d[8])},rt=({currentTenantCompanyName:t,authParams:x,downloadEndPoint:b,statementListView:a,onBackClick:u})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>R.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?e.jsx(h,{windowSize:i,style:{...n,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:e.jsx(T,{currentTenantCompanyName:t,accountLast4:"",data:l,authParams:x,downloadEndPoint:b,documentType:"treasuryStatement",boxType:M(s,a.statements.length)},l.id)}):e.jsx(L,{style:{...n},children:e.jsx(N,{children:e.jsx(h,{windowSize:i,children:e.jsx(H,{children:p.noStatements})})})})};return e.jsxs(V,{children:[e.jsx(z,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),e.jsx(K,{windowSize:i,children:e.jsx(C,{children:({height:s,width:n})=>e.jsx(O,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,h=o.div`
2
2
  margin: ${t=>`${r.sp0} ${w.listItemMargin.valuePx(t.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{d as v,Q as S,V as e,bz as L,F as z,b1 as P,o as r,p as c,cq as C,y as I,u as d,ak as T}from"./index-Ci63exms.js";import{a as p}from"./core-3dlyNYRL.js";import{n as o}from"./mui-bYXq4XMS.js";import{$ as B}from"./BoxItem-8PfNfaHq-CqIGaIYz.js";import{o as E}from"./commonDimensions-B1u_MhON-D3_HfKhE.js";import{O as M}from"./StatementItem-Aal79YaO-3cBWg-5i.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./downloadPdf-yGlKpV2--PjZSq5HD.js";const h=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new I(d[3],d[8])},rt=({currentTenantCompanyName:t,authParams:w,downloadEndPoint:b,taxLetterListView:a,onBackClick:g})=>{const u=v(),i=S(),f=p.createRef(),y=p.useRef(),$=a.taxLetters.length===0,k=()=>E.transactionItemHeightResponsive.value(i),j=({index:n,style:s})=>{const l=a.taxLetters[n];return $===!1?e.jsx(m,{windowSize:i,style:{...s,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:e.jsx(M,{currentTenantCompanyName:t,accountLast4:"",data:l,authParams:w,downloadEndPoint:b,documentType:"taxLetter",boxType:B(n,a.taxLetters.length)},l.id)}):e.jsx(R,{style:{...s},children:e.jsx(N,{children:e.jsx(m,{windowSize:i,children:e.jsx(H,{children:h.noTaxLetter})})})})};return e.jsxs(V,{children:[e.jsx(L,{title:h.title,backgroundColor:u.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),e.jsx(K,{windowSize:i,children:e.jsx(P,{children:({height:n,width:s})=>e.jsx(O,{ref:f,height:n,width:s,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},R=o.div``,m=o.div`
1
+ import{d as v,Q as S,V as e,bz as L,F as z,b1 as P,o as r,p as c,cq as C,y as I,u as d,ak as T}from"./index-DcV3YN51.js";import{a as p}from"./core-3dlyNYRL.js";import{n as o}from"./mui-bYXq4XMS.js";import{$ as B}from"./BoxItem-8PfNfaHq-B3NqjMnf.js";import{o as E}from"./commonDimensions-B1u_MhON-DBkNP1J8.js";import{O as M}from"./StatementItem-Aal79YaO-6BMegZOO.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./downloadPdf-yGlKpV2--fFgmg-2D.js";const h=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new I(d[3],d[8])},rt=({currentTenantCompanyName:t,authParams:w,downloadEndPoint:b,taxLetterListView:a,onBackClick:g})=>{const u=v(),i=S(),f=p.createRef(),y=p.useRef(),$=a.taxLetters.length===0,k=()=>E.transactionItemHeightResponsive.value(i),j=({index:n,style:s})=>{const l=a.taxLetters[n];return $===!1?e.jsx(m,{windowSize:i,style:{...s,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:e.jsx(M,{currentTenantCompanyName:t,accountLast4:"",data:l,authParams:w,downloadEndPoint:b,documentType:"taxLetter",boxType:B(n,a.taxLetters.length)},l.id)}):e.jsx(R,{style:{...s},children:e.jsx(N,{children:e.jsx(m,{windowSize:i,children:e.jsx(H,{children:h.noTaxLetter})})})})};return e.jsxs(V,{children:[e.jsx(L,{title:h.title,backgroundColor:u.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),e.jsx(K,{windowSize:i,children:e.jsx(P,{children:({height:n,width:s})=>e.jsx(O,{ref:f,height:n,width:s,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},R=o.div``,m=o.div`
2
2
  margin: ${t=>`${r.sp0} ${x.listItemMargin.valuePx(t.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{F as k,V as s,d as P,aK as $,b1 as B,b as j,aV as R,o as L,p as z,ak as A}from"./index-Ci63exms.js";import{a as v,w as O}from"./core-3dlyNYRL.js";import{EP as u}from"./zeni-epic-state-BwKvATgd.js";import{d as V,g as T,p as D,u as q}from"./chartTypes-CwQl8aoN-DVag5uGx.js";import{n as w}from"./mui-bYXq4XMS.js";import{o as K}from"./toCOABalancesWithID-rZFEkHuM-BjqaEj9u.js";import{V as _}from"./toChartData-C-dHC-Oz-CLJWjMkx.js";import{B as G,C as N,X as W,Y as X,T as Q,R as Z,b as H}from"./recharts-h5iNQbFd.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./lexical-DPEnH3HH.js";const I=w.div`
1
+ import{F as k,V as s,d as P,aK as $,b1 as B,b as j,aV as R,o as L,p as z,ak as A}from"./index-DcV3YN51.js";import{a as v,w as O}from"./core-3dlyNYRL.js";import{EP as u}from"./zeni-epic-state-BwKvATgd.js";import{d as V,g as T,p as D,u as q}from"./chartTypes-CwQl8aoN-mEF0MFro.js";import{n as w}from"./mui-bYXq4XMS.js";import{o as K}from"./toCOABalancesWithID-rZFEkHuM-CcmAJqxc.js";import{V as _}from"./toChartData-C-dHC-Oz-CP4vBFhW.js";import{B as G,C as N,X as W,Y as X,T as Q,R as Z,b as H}from"./recharts-h5iNQbFd.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./lexical-DPEnH3HH.js";const I=w.div`
2
2
  display: flex;
3
3
  `,J=w.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{Q as D,V as i,A as b,o as t,F as R,y as c,aK as S,b1 as E,b5 as Y,E as V,u as a,ak as _,_ as q}from"./index-Ci63exms.js";import{a as H}from"./core-3dlyNYRL.js";import{n}from"./mui-bYXq4XMS.js";import K from"./TrendChart-C_6ob-SX-BWR7UfmP.js";import{C as W}from"./NoDataChart-Ce1_TZ5w-BfNH_4T8.js";import{q as Q}from"./InsightsSection-B3xD0SZ9-CKtY4Hiz.js";import{f as X}from"./TransactionList-DMd3dgoK-DFvlE42h.js";const Z=n.div`
1
+ import{Q as D,V as i,A as b,o as t,F as R,y as c,aK as S,b1 as E,b5 as Y,E as V,u as a,ak as _,_ as q}from"./index-DcV3YN51.js";import{a as H}from"./core-3dlyNYRL.js";import{n}from"./mui-bYXq4XMS.js";import K from"./TrendChart-C_6ob-SX-UqLmUzGG.js";import{C as W}from"./NoDataChart-Ce1_TZ5w-DDbLlhh6.js";import{q as Q}from"./InsightsSection-B3xD0SZ9-D-qnLmvb.js";import{f as X}from"./TransactionList-DMd3dgoK-GAchYYqt.js";const Z=n.div`
2
2
  display: inline-block;
3
3
  `,G=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{d as ie,Q as ce,av as Ke,aN as en,gA as I,hI as U,F as q,a8 as nn,hJ as tn,hK as je,cB as on,V as t,bz as cn,cm as sn,cn as an,co as ln,ab as dn,hL as rn,A as un,hM as Z,hN as pn,aO as mn,fs as gn,hO as Ve,y as u,ak as xn,o as a,cO as ye,aS as W,gF as te,hP as oe,u as r,B as fe,p as Ae,g0 as _e,ag as $e,bg as hn}from"./index-Ci63exms.js";import{a as Y}from"./core-3dlyNYRL.js";import{n as s}from"./mui-bYXq4XMS.js";import{Fz as Te,Fe as wn,Ff as bn,FA as yn}from"./zeni-epic-state-BwKvATgd.js";import{h as fn}from"./VendorsAccountsSection-EmHO3wQ0-CSPWzKcg.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.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])},He={title:new fe("standardMedium","largeMedium")},An=s.div`
1
+ import{d as ie,Q as ce,av as Ke,aN as en,gA as I,hI as U,F as q,a8 as nn,hJ as tn,hK as je,cB as on,V as t,bz as cn,cm as sn,cn as an,co as ln,ab as dn,hL as rn,A as un,hM as Z,hN as pn,aO as mn,fs as gn,hO as Ve,y as u,ak as xn,o as a,cO as ye,aS as W,gF as te,hP as oe,u as r,B as fe,p as Ae,g0 as _e,ag as $e,bg as hn}from"./index-DcV3YN51.js";import{a as Y}from"./core-3dlyNYRL.js";import{n as s}from"./mui-bYXq4XMS.js";import{Fz as Te,Fe as wn,Ff as bn,FA as yn}from"./zeni-epic-state-BwKvATgd.js";import{h as fn}from"./VendorsAccountsSection-EmHO3wQ0-CCWdfZ9i.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.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])},He={title:new fe("standardMedium","largeMedium")},An=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{aN as b,V as t,hR as q,hS as R,Q as O,F as T,cm as L,ad as C,cn as U,co as A,a8 as _,ab as G,cK as H,cG as F,y as g,cH as M,p as N,an as J,A as K,n as Q,o as i,ak as Y,u as D,ap as X,b8 as Z}from"./index-Ci63exms.js";import{a as c}from"./core-3dlyNYRL.js";import{n as f}from"./mui-bYXq4XMS.js";import{bO as ee,bj as te}from"./zeni-epic-state-BwKvATgd.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(D[3],D[2]),width:new g(300,420,420)},ie=f.div`
1
+ import{aN as b,V as t,hR as q,hS as R,Q as O,F as T,cm as L,ad as C,cn as U,co as A,a8 as _,ab as G,cK as H,cG as F,y as g,cH as M,p as N,an as J,A as K,n as Q,o as i,ak as Y,u as D,ap as X,b8 as Z}from"./index-DcV3YN51.js";import{a as c}from"./core-3dlyNYRL.js";import{n as f}from"./mui-bYXq4XMS.js";import{bO as ee,bj as te}from"./zeni-epic-state-BwKvATgd.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(D[3],D[2]),width:new g(300,420,420)},ie=f.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{a8 as _,ft as y,aN as k,Q as M,F as A,V as i,cB as W,ab as q,aK as G,fu as K,o as a,p as Q,cL as H,aO as J,y as x,_ as X,E as Y,b8 as Z,b7 as ee,u as c}from"./index-Ci63exms.js";import{a as m}from"./core-3dlyNYRL.js";import{n as o}from"./mui-bYXq4XMS.js";import{Et as te}from"./zeni-epic-state-BwKvATgd.js";const b={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},f="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:u,onClose:F,onEditFileName:D,onDeleteFile:I,updateFilesEntity:z,onSendForVerificationClick:v,onCompanyOfficerUpdated:P}=e,n=_({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:y(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,$]=m.useState(!1),[N,O]=m.useState(!1),S=k(u.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(l=>l!=null),V=te(T);m.useEffect(()=>{S==="In-Progress"&&u.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:y(!0,t?.additionalFiles??[],s)}})},[S,u,n,t?.additionalFiles]);const r=M(),h=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,U=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&v?.(t?.officerType??"Officer_1")}),R=async(l,p)=>{const d=p[f].front;l.includes("front")&&d?.fileId!=null?(P?.(t?.officerType??"Officer_1",[d?.fileId]),$(!0)):$(!1)};return m.useEffect(()=>{const l=n.watch((p,{name:d})=>{d!=null&&p!=null&&W(()=>R(d,p))});return()=>{l.unsubscribe()}}),i.jsx(q,{...n,children:i.jsxs("form",{id:f,onSubmit:U,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:F,"data-testid":G("upload-additional-documents-close",f)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:L})}),i.jsx(K,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${Q.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:y(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:D,onDeleteFile:I,updateFilesEntity:z,onFileSizeError:l=>O(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),C?i.jsx(J,{formId:f,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:F},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
1
+ import{a8 as _,ft as y,aN as k,Q as M,F as A,V as i,cB as W,ab as q,aK as G,fu as K,o as a,p as Q,cL as H,aO as J,y as x,_ as X,E as Y,b8 as Z,b7 as ee,u as c}from"./index-DcV3YN51.js";import{a as m}from"./core-3dlyNYRL.js";import{n as o}from"./mui-bYXq4XMS.js";import{Et as te}from"./zeni-epic-state-BwKvATgd.js";const b={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},f="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:u,onClose:F,onEditFileName:D,onDeleteFile:I,updateFilesEntity:z,onSendForVerificationClick:v,onCompanyOfficerUpdated:P}=e,n=_({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:y(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,$]=m.useState(!1),[N,O]=m.useState(!1),S=k(u.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(l=>l!=null),V=te(T);m.useEffect(()=>{S==="In-Progress"&&u.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:y(!0,t?.additionalFiles??[],s)}})},[S,u,n,t?.additionalFiles]);const r=M(),h=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,U=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&v?.(t?.officerType??"Officer_1")}),R=async(l,p)=>{const d=p[f].front;l.includes("front")&&d?.fileId!=null?(P?.(t?.officerType??"Officer_1",[d?.fileId]),$(!0)):$(!1)};return m.useEffect(()=>{const l=n.watch((p,{name:d})=>{d!=null&&p!=null&&W(()=>R(d,p))});return()=>{l.unsubscribe()}}),i.jsx(q,{...n,children:i.jsxs("form",{id:f,onSubmit:U,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:F,"data-testid":G("upload-additional-documents-close",f)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:L})}),i.jsx(K,{name:f,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${Q.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:y(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:D,onDeleteFile:I,updateFilesEntity:z,onFileSizeError:l=>O(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),C?i.jsx(J,{formId:f,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:F},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{aN as s,F as v,V as i,hR as y,hS as b}from"./index-Ci63exms.js";import{a as e}from"./core-3dlyNYRL.js";import"./mui-bYXq4XMS.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const A=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:V,newVendorState:g}=S,r=Object.assign({},V??g),[C,a]=e.useState(!1),[O,o]=e.useState(t.initiateVerification===!0),p=s(r?.saveStatus?.fetchState),x=s(t.userVerificationStatus.fetchState),f=s(t.otpVerificationStatus?.fetchState),u=s(t.sendOtpStatus.fetchState),P=v.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&o(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(a(!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"&&(a(!0),o(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(y,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>a(!1),onResendOtp:d,onEditButtonClick:()=>{o(!0),a(!1)}}}):O===!0?i.jsx(b,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>o(!1),onGetCodeClick:E=>h?.(E)}}):null})};export{A as default};
1
+ import{aN as s,F as v,V as i,hR as y,hS as b}from"./index-DcV3YN51.js";import{a as e}from"./core-3dlyNYRL.js";import"./mui-bYXq4XMS.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const A=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:V,newVendorState:g}=S,r=Object.assign({},V??g),[C,a]=e.useState(!1),[O,o]=e.useState(t.initiateVerification===!0),p=s(r?.saveStatus?.fetchState),x=s(t.userVerificationStatus.fetchState),f=s(t.otpVerificationStatus?.fetchState),u=s(t.sendOtpStatus.fetchState),P=v.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&o(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(a(!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"&&(a(!0),o(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(y,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>a(!1),onResendOtp:d,onEditButtonClick:()=>{o(!0),a(!1)}}}):O===!0?i.jsx(b,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>o(!1),onGetCodeClick:E=>h?.(E)}}):null})};export{A as default};
@@ -1 +1 @@
1
- import{V as d}from"./index-Ci63exms.js";import{a as u}from"./core-3dlyNYRL.js";import{f as k}from"./ACHDetailsPage-BBq7KpbY-DmD51smT.js";import"./mui-bYXq4XMS.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./BankAccountWarningSection-DakysSbk-CfJ3ZIAx.js";import"./MagicLinkTitleSection-CWw516D8-CjWjg4GW.js";import"./BankAccountSection-C5rYUW3V-B24i3wVy.js";const H=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:m})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:s,fetchBankNameByRoutingStatus:p}=t;return u.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),d.jsx(k,{bankAccountToCreate:s,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:m})};export{H as default};
1
+ import{V as d}from"./index-DcV3YN51.js";import{a as u}from"./core-3dlyNYRL.js";import{f as k}from"./ACHDetailsPage-BBq7KpbY-CpL5U89v.js";import"./mui-bYXq4XMS.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./BankAccountWarningSection-DakysSbk-DtGHGGlf.js";import"./MagicLinkTitleSection-CWw516D8-pIsP-hCT.js";import"./BankAccountSection-C5rYUW3V-Bq5OdcQr.js";const H=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:m})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:s,fetchBankNameByRoutingStatus:p}=t;return u.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),d.jsx(k,{bankAccountToCreate:s,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:m})};export{H as default};
@@ -1,4 +1,4 @@
1
- import{F as _,d as Be,Q as ae,y as g,aA as ye,cD as xt,a8 as yt,h1 as Re,h2 as Ae,h3 as Ee,h4 as be,h5 as bt,aS as ft,cB as wt,V as t,bz as $t,ab as Ct,h6 as St,h7 as ge,u as l,cC as Dt,aO as jt,o,bM as S,cO as Tt,gF as fe,h8 as Lt,cE as Vt,cF as kt,cG as Ot,h9 as It,g8 as Pt,cM as Mt,ha as zt,hb as Ft,p as F,dp as _t,dn as Nt,c_ as Wt,aV as re,b5 as Ue,ag as Ye,dq as Ht,aZ as Bt,hc as Rt,hd as At,ak as Et,he as Ut,cf as qe,hf as Yt,B as we,M as Ge}from"./index-Ci63exms.js";import{a as C}from"./core-3dlyNYRL.js";import{n as a,b as qt}from"./mui-bYXq4XMS.js";import{bi as $e,Fv as Gt,Fw as Qt}from"./zeni-epic-state-BwKvATgd.js";import{k as Zt}from"./SubTabSwitcher-C75XU1EG-BZOngUzL.js";import{f as Kt}from"./TransactionList-DMd3dgoK-DFvlE42h.js";import{R as Xt}from"./TrendWithTransactions-lMD2sZ-C-B_BL8w82.js";import{o as Jt,t as es}from"./arrow-south-east-round-PEovUgvH-7DsZUZDF.js";import{W as ts}from"./LabeledAddressValueField-DzmwP7hP-7gvUeBGH.js";import{Y as ss}from"./LabeledDropDownFormattedTextField-oQX33Fim-Bbplhays.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./BoxItem-8PfNfaHq-CqIGaIYz.js";import"./commonDimensions-B1u_MhON-D3_HfKhE.js";import"./TrendChart-C_6ob-SX-BWR7UfmP.js";import"./chartTypes-CwQl8aoN-DVag5uGx.js";import"./toCOABalancesWithID-rZFEkHuM-BjqaEj9u.js";import"./toChartData-C-dHC-Oz-CLJWjMkx.js";import"./NoDataChart-Ce1_TZ5w-BfNH_4T8.js";import"./InsightsSection-B3xD0SZ9-CKtY4Hiz.js";import"./NavigationDots-DyMqwpgy-DXf5bt3G.js";const os=a.div`
1
+ import{F as _,d as Be,Q as ae,y as g,aA as ye,cD as xt,a8 as yt,h1 as Re,h2 as Ae,h3 as Ee,h4 as be,h5 as bt,aS as ft,cB as wt,V as t,bz as $t,ab as Ct,h6 as St,h7 as ge,u as l,cC as Dt,aO as jt,o,bM as S,cO as Tt,gF as fe,h8 as Lt,cE as Vt,cF as kt,cG as Ot,h9 as It,g8 as Pt,cM as Mt,ha as zt,hb as Ft,p as F,dp as _t,dn as Nt,c_ as Wt,aV as re,b5 as Ue,ag as Ye,dq as Ht,aZ as Bt,hc as Rt,hd as At,ak as Et,he as Ut,cf as qe,hf as Yt,B as we,M as Ge}from"./index-DcV3YN51.js";import{a as C}from"./core-3dlyNYRL.js";import{n as a,b as qt}from"./mui-bYXq4XMS.js";import{bi as $e,Fv as Gt,Fw as Qt}from"./zeni-epic-state-BwKvATgd.js";import{k as Zt}from"./SubTabSwitcher-C75XU1EG-Bq01jAuq.js";import{f as Kt}from"./TransactionList-DMd3dgoK-GAchYYqt.js";import{R as Xt}from"./TrendWithTransactions-lMD2sZ-C-CwJLlCAn.js";import{o as Jt,t as es}from"./arrow-south-east-round-PEovUgvH-7DsZUZDF.js";import{W as ts}from"./LabeledAddressValueField-DzmwP7hP-DTG2n0wD.js";import{Y as ss}from"./LabeledDropDownFormattedTextField-oQX33Fim-BfNjnfMR.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./BoxItem-8PfNfaHq-B3NqjMnf.js";import"./commonDimensions-B1u_MhON-DBkNP1J8.js";import"./TrendChart-C_6ob-SX-UqLmUzGG.js";import"./chartTypes-CwQl8aoN-mEF0MFro.js";import"./toCOABalancesWithID-rZFEkHuM-CcmAJqxc.js";import"./toChartData-C-dHC-Oz-CP4vBFhW.js";import"./NoDataChart-Ce1_TZ5w-DDbLlhh6.js";import"./InsightsSection-B3xD0SZ9-D-qnLmvb.js";import"./NavigationDots-DyMqwpgy-JfxKvmss.js";const os=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{V as S}from"./index-Ci63exms.js";import{a as C}from"./core-3dlyNYRL.js";import{w as f}from"./DomesticWireDetailsPage-CjM1DXnn-ByLr_bfJ.js";import"./mui-bYXq4XMS.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./BankAccountSection-C5rYUW3V-B24i3wVy.js";import"./MagicLinkTitleSection-CWw516D8-CjWjg4GW.js";import"./BankAccountWarningSection-DakysSbk-CfJ3ZIAx.js";import"./MailingDetailsSection-CugAM90r-CMuXq6mA.js";import"./LabeledAddressValueField-DzmwP7hP-7gvUeBGH.js";const H=({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(f,{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{H as default};
1
+ import{V as S}from"./index-DcV3YN51.js";import{a as C}from"./core-3dlyNYRL.js";import{w as f}from"./DomesticWireDetailsPage-CjM1DXnn-f9WMmV-Y.js";import"./mui-bYXq4XMS.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./BankAccountSection-C5rYUW3V-Bq5OdcQr.js";import"./MagicLinkTitleSection-CWw516D8-pIsP-hCT.js";import"./BankAccountWarningSection-DakysSbk-DtGHGGlf.js";import"./MailingDetailsSection-CugAM90r-1QhNZBqO.js";import"./LabeledAddressValueField-DzmwP7hP-DTG2n0wD.js";const H=({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(f,{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{H as default};
@@ -1,4 +1,4 @@
1
- import{Q as oe,d as Ne,F as ne,a8 as ke,eU as G,hg as de,cB as Ae,y as w,V as t,bz as Be,aK as Ee,ab as We,cE as C,o as s,cI as Re,h9 as Oe,g8 as Me,cM as qe,ha as Ue,hb as He,cU as Ge,aO as Ke,cW as Ye,eV as _e,u as c,_ as Qe,bM as P,cz as Ze,hh as Xe,p as I,U as Je,cf as et,ak as ce,eD as tt,hi as st,hj as lt,hk as q,eW as it}from"./index-Ci63exms.js";import{a as x}from"./core-3dlyNYRL.js";import{n as a}from"./mui-bYXq4XMS.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-oQX33Fim-Bbplhays.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.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:q(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:q(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:q(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,a8 as ke,eU as G,hg as de,cB as Ae,y as w,V as t,bz as Be,aK as Ee,ab as We,cE as C,o as s,cI as Re,h9 as Oe,g8 as Me,cM as qe,ha as Ue,hb as He,cU as Ge,aO as Ke,cW as Ye,eV as _e,u as c,_ as Qe,bM as P,cz as Ze,hh as Xe,p as I,U as Je,cf as et,ak as ce,eD as tt,hi as st,hj as lt,hk as q,eW as it}from"./index-DcV3YN51.js";import{a as x}from"./core-3dlyNYRL.js";import{n as a}from"./mui-bYXq4XMS.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-oQX33Fim-BfNjnfMR.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.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:q(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:q(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:q(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,av as Nn,d as mn,a8 as et,i0 as ze,cB as nt,ax as On,i1 as re,i2 as ve,i3 as fe,i4 as be,i5 as me,F as je,V as n,hY as tt,ab as ot,bz as it,a9 as rt,cm as st,cn as at,co as lt,bS as dt,aK as Y,bL as ct,cj as mt,b1 as pt,dj as ut,cq as ht,y as w,A as gt,x as Ne,o as t,aR as In,ak as De,aQ as wt,u as c,ag as Re,cv as xt,dp as Pn,bM as Pe,bf as zn,cy as vt,bY as ft,dC as bt,b8 as Ye,br as pn,p as F,s as Tn,gT as $t,df as wn,c_ as rn,i6 as St,i7 as sn,an as yt,bQ as Fe,dM as jt,es as xn,bI as Rt,dr as Vt,n as vn,i8 as Ct,cO as kt,cW as Mt,cX as Nt,ex as Ot,al as Dn,i9 as It,bG as se,ia as fn,gH as Pt,at as zt,as as Tt,dq as Dt,b as Ln,B as Lt,a as _t,aT as dn}from"./index-Ci63exms.js";import{a as f,c as At}from"./core-3dlyNYRL.js";import{n as o,b as cn}from"./mui-bYXq4XMS.js";import{gv as Bt,FD as Ft}from"./zeni-epic-state-BwKvATgd.js";import{P as Et}from"./Menu-CGN2qO6T-CKP1jX2H.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const _n=({steps:e})=>{const s=ae();return n.jsx(qt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{children:[n.jsx(Gt,{children:d!==e.length-1?d+1:n.jsx(Qt,{})}),n.jsx(Ht,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Ut=o.div`
1
+ import{Q as ae,av as Nn,d as mn,a8 as et,i0 as ze,cB as nt,ax as On,i1 as re,i2 as ve,i3 as fe,i4 as be,i5 as me,F as je,V as n,hY as tt,ab as ot,bz as it,a9 as rt,cm as st,cn as at,co as lt,bS as dt,aK as Y,bL as ct,cj as mt,b1 as pt,dj as ut,cq as ht,y as w,A as gt,x as Ne,o as t,aR as In,ak as De,aQ as wt,u as c,ag as Re,cv as xt,dp as Pn,bM as Pe,bf as zn,cy as vt,bY as ft,dC as bt,b8 as Ye,br as pn,p as F,s as Tn,gT as $t,df as wn,c_ as rn,i6 as St,i7 as sn,an as yt,bQ as Fe,dM as jt,es as xn,bI as Rt,dr as Vt,n as vn,i8 as Ct,cO as kt,cW as Mt,cX as Nt,ex as Ot,al as Dn,i9 as It,bG as se,ia as fn,gH as Pt,at as zt,as as Tt,dq as Dt,b as Ln,B as Lt,a as _t,aT as dn}from"./index-DcV3YN51.js";import{a as f,c as At}from"./core-3dlyNYRL.js";import{n as o,b as cn}from"./mui-bYXq4XMS.js";import{gv as Bt,FD as Ft}from"./zeni-epic-state-BwKvATgd.js";import{P as Et}from"./Menu-CGN2qO6T-C4Fa3L7f.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const _n=({steps:e})=>{const s=ae();return n.jsx(qt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{children:[n.jsx(Gt,{children:d!==e.length-1?d+1:n.jsx(Qt,{})}),n.jsx(Ht,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Ut=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{V as t,Q,a8 as he,F as N,cB as ye,aA as ge,cm as be,cn as fe,co as xe,ab as ve,aO as we,y as p,eU as le,eV as Ce,o as y,b7 as $e,cO as oe,d as ne,eW as De,eX as Y,cU as G,a$ as H,cE as Te,ek as je,u as a,cW as ke,aK as Se,p as V,A as Oe,B as Ae,bQ as Fe,ag as Le,bI as We}from"./index-Ci63exms.js";import{a as R}from"./core-3dlyNYRL.js";import{n as g}from"./mui-bYXq4XMS.js";import{bi as K}from"./zeni-epic-state-BwKvATgd.js";import{W as ze,A as Ie}from"./BankAccountWarningSection-DakysSbk-CfJ3ZIAx.js";import{T as Re}from"./MailingDetailsSection-CugAM90r-CMuXq6mA.js";import{S as Pe}from"./CurrencySelectField-ClOg6nnS-wUZ5kAZB.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./LabeledAddressValueField-DzmwP7hP-7gvUeBGH.js";const A={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 Ae("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:T,showAdditionalInfoLabel:S=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Oe,{size:"Small",start:!0})});if(S&&T||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Fe,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(qe,{children:t.jsx(Ne,{})})})),t.jsxs(Ue,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,T]})}};return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:A.controlHeight.value(C)}}),D?t.jsx(Ee,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Be=g.div`
1
+ import{V as t,Q,a8 as he,F as N,cB as ye,aA as ge,cm as be,cn as fe,co as xe,ab as ve,aO as we,y as p,eU as le,eV as Ce,o as y,b7 as $e,cO as oe,d as ne,eW as De,eX as Y,cU as G,a$ as H,cE as Te,ek as je,u as a,cW as ke,aK as Se,p as V,A as Oe,B as Ae,bQ as Fe,ag as Le,bI as We}from"./index-DcV3YN51.js";import{a as R}from"./core-3dlyNYRL.js";import{n as g}from"./mui-bYXq4XMS.js";import{bi as K}from"./zeni-epic-state-BwKvATgd.js";import{W as ze,A as Ie}from"./BankAccountWarningSection-DakysSbk-DtGHGGlf.js";import{T as Re}from"./MailingDetailsSection-CugAM90r-1QhNZBqO.js";import{S as Pe}from"./CurrencySelectField-ClOg6nnS-kGQo9dVf.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./LabeledAddressValueField-DzmwP7hP-DTG2n0wD.js";const A={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 Ae("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:T,showAdditionalInfoLabel:S=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Oe,{size:"Small",start:!0})});if(S&&T||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Fe,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(qe,{children:t.jsx(Ne,{})})})),t.jsxs(Ue,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,T]})}};return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:A.controlHeight.value(C)}}),D?t.jsx(Ee,{windowSize:C,hasError:D,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{V as l}from"./index-Ci63exms.js";import{a as B}from"./core-3dlyNYRL.js";import{f as u}from"./InternationalWireSwiftDetailsPage-Dszmi69h-BjjhlMpG.js";import"./mui-bYXq4XMS.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./BankAccountWarningSection-DakysSbk-CfJ3ZIAx.js";import"./MailingDetailsSection-CugAM90r-CMuXq6mA.js";import"./LabeledAddressValueField-DzmwP7hP-7gvUeBGH.js";import"./MagicLinkTitleSection-CWw516D8-CjWjg4GW.js";const g=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:s,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:m})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:c,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:c,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:s,onBackClick:e,onAddressClick:m,onFetchBankNameBySwift:d})};export{g as default};
1
+ import{V as l}from"./index-DcV3YN51.js";import{a as B}from"./core-3dlyNYRL.js";import{f as u}from"./InternationalWireSwiftDetailsPage-Dszmi69h-kUzCnm4M.js";import"./mui-bYXq4XMS.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./BankAccountWarningSection-DakysSbk-DtGHGGlf.js";import"./MailingDetailsSection-CugAM90r-1QhNZBqO.js";import"./LabeledAddressValueField-DzmwP7hP-DTG2n0wD.js";import"./MagicLinkTitleSection-CWw516D8-pIsP-hCT.js";const g=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:s,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:m})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:c,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:c,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:i,onBankDetailsUpdated:s,onBackClick:e,onAddressClick:m,onFetchBankNameBySwift:d})};export{g as default};
@@ -1,4 +1,4 @@
1
- import{Q as ie,d as oe,F as te,y as c,gA as w,aS as k,V as i,hQ as g,hP as m,o as n,B as re,p as ne,dw as se,ag as de,u as a}from"./index-Ci63exms.js";import{n as d}from"./mui-bYXq4XMS.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},L={title:new re("standardMedium","largeMedium")},le=d.div`
1
+ import{Q as ie,d as oe,F as te,y as c,gA as w,aS as k,V as i,hQ as g,hP as m,o as n,B as re,p as ne,dw as se,ag as de,u as a}from"./index-DcV3YN51.js";import{n as d}from"./mui-bYXq4XMS.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},L={title:new re("standardMedium","largeMedium")},le=d.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{aN as U,a8 as z,F as L,V as r,bP as B,a9 as d,ab as G,bQ as Q,ag as f,bR as W,o as n,n as E,bS as X,ak as N,bT as Z,bU as V,bI as q,p as y,b8 as v,bV as J}from"./index-Ci63exms.js";import{a as c}from"./core-3dlyNYRL.js";import{n as t}from"./mui-bYXq4XMS.js";import{bj as K}from"./zeni-epic-state-BwKvATgd.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-DVvzKHJQ-BlItIAEt.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./handshake-BPg58FML-D7G7L1P7.js";const ee=e=>{if(!e)return"";try{const s=Z(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 V(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 V(e)||e}},C=120,I=30,T=2,re="456px",te="256px",F=6,o=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Me=e=>{const s=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,g]=c.useState(!1),[$,_]=c.useState(0),[b,S]=c.useState(C),[h,w]=c.useState(I),D=U(e.verifyOtpFetchState),u=z({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),P=()=>{e.onCancelVerifyDevice()},M=()=>{j.trim().length===F&&e.onVerifyOtp(j)},R=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{D==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),_(i=>i+1),u.setValue(m,""))},[D,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(b<=0){g(!0);return}const i=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[b]),c.useEffect(()=>{if(h<=0)return;const i=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[h]);const A=i=>{const a=Math.floor(i/60),H=i%60;return`${a}:${H.toString().padStart(2,"0")}`};return r.jsx(B,{open:!0,children:r.jsxs(ne,{children:[r.jsx(d,{controller:$>T,children:r.jsx(Y,{unlockDate:K().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=T,children:r.jsx(G,{...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(Q,{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(W,{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(O,{children:r.jsxs(je,{children:[o.codeExpiresIn," ",A(b)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(O,{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(be,{children:r.jsxs(f,{children:[r.jsx(ve,{}),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(C),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(E,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(E,{variant:"primary",label:o.verify,onClick:M,style:{width:82},loading:s,disabled:j.trim().length!==F||l===!0})]}),r.jsx(me,{children:R})]})]})})})]})})},ne=t.div`
1
+ import{aN as U,a8 as z,F as L,V as r,bP as B,a9 as d,ab as G,bQ as Q,ag as f,bR as W,o as n,n as E,bS as X,ak as N,bT as Z,bU as V,bI as q,p as y,b8 as v,bV as J}from"./index-DcV3YN51.js";import{a as c}from"./core-3dlyNYRL.js";import{n as t}from"./mui-bYXq4XMS.js";import{bj as K}from"./zeni-epic-state-BwKvATgd.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-DVvzKHJQ-BNuMKDDn.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./handshake-BPg58FML-D7G7L1P7.js";const ee=e=>{if(!e)return"";try{const s=Z(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 V(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 V(e)||e}},C=120,I=30,T=2,re="456px",te="256px",F=6,o=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Me=e=>{const s=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,g]=c.useState(!1),[$,_]=c.useState(0),[b,S]=c.useState(C),[h,w]=c.useState(I),D=U(e.verifyOtpFetchState),u=z({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),P=()=>{e.onCancelVerifyDevice()},M=()=>{j.trim().length===F&&e.onVerifyOtp(j)},R=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{D==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),_(i=>i+1),u.setValue(m,""))},[D,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(b<=0){g(!0);return}const i=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[b]),c.useEffect(()=>{if(h<=0)return;const i=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[h]);const A=i=>{const a=Math.floor(i/60),H=i%60;return`${a}:${H.toString().padStart(2,"0")}`};return r.jsx(B,{open:!0,children:r.jsxs(ne,{children:[r.jsx(d,{controller:$>T,children:r.jsx(Y,{unlockDate:K().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=T,children:r.jsx(G,{...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(Q,{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(W,{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(O,{children:r.jsxs(je,{children:[o.codeExpiresIn," ",A(b)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(O,{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(be,{children:r.jsxs(f,{children:[r.jsx(ve,{}),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(C),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(E,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(E,{variant:"primary",label:o.verify,onClick:M,style:{width:82},loading:s,disabled:j.trim().length!==F||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,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-CA3XI5Yc.js","assets/core-3dlyNYRL.js","assets/mixin-D3UDm--6.js","assets/hls-BA0yQjS5.js","assets/react-BUQtf2po.js","assets/zeni-epic-state-BwKvATgd.js","assets/mui-bYXq4XMS.js","assets/index-DQmBF4-D.js","assets/react-BpmEXSTM.js","assets/react-BuvI16A0.js","assets/react-Egsc5mMa.js","assets/react-B84192hO.js","assets/react-Cz0zQhlY.js","assets/react-BvHTyLQY.js","assets/Preview-Bnbo8Nq1.js"])))=>i.map(i=>d[i]);
2
- import{Q as W,V as f,an as X,p as Y}from"./index-Ci63exms.js";import{w as _,a as t,c as K}from"./core-3dlyNYRL.js";import{n as k,k as Z}from"./mui-bYXq4XMS.js";import{bb as y}from"./zeni-epic-state-BwKvATgd.js";const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,q=/\.(mpd)($|\?)/i,Q=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,J=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,R=(e,r)=>{if(Array.isArray(e)){for(const c of e)if(typeof c=="string"&&R(c,r)||R(c.src,r))return!0;return!1}return r(e)},m={html:e=>R(e,r=>N.test(r)||z.test(r)),hls:e=>R(e,r=>V.test(r)),dash:e=>R(e,r=>q.test(r)),mux:e=>Q.test(e),youtube:e=>J.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const c=N.test(`${e.src}`)?"audio":"video";return _.createElement(c,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CA3XI5Yc.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-BUQtf2po.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-DQmBF4-D.js"),__vite__mapDeps([7,1,6,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-BpmEXSTM.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-BuvI16A0.js"),__vite__mapDeps([9,1,6])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-Egsc5mMa.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-B84192hO.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-Cz0zQhlY.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BvHTyLQY.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:ne}];var D=ie;const se={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},H=_.forwardRef((e,r)=>{const{playing:c,pip:u}=e,n=e.activePlayer,a=t.useRef(null),o=t.useRef(!0);t.useEffect(()=>{var l,i;a.current&&(a.current.paused&&c===!0&&a.current.play(),!a.current.paused&&c===!1&&a.current.pause(),a.current.playbackRate=(l=e.playbackRate)!=null?l:1,a.current.volume=(i=e.volume)!=null?i:1)}),t.useEffect(()=>{var l,i,s,P,v;if(!(!a.current||!globalThis.document)){if(u&&!document.pictureInPictureElement)try{(i=(l=a.current).requestPictureInPicture)==null||i.call(l)}catch{}if(!u&&document.pictureInPictureElement)try{(P=(s=a.current).exitPictureInPicture)==null||P.call(s),(v=document.exitPictureInPicture)==null||v.call(document)}catch{}}},[u]);const g=l=>{var i,s;o.current=!0,(i=e.onReady)==null||i.call(e),(s=e.onLoadStart)==null||s.call(e,l)},h=l=>{var i,s;o.current&&(o.current=!1,(i=e.onStart)==null||i.call(e,l)),(s=e.onPlay)==null||s.call(e,l)};if(!n)return null;const b={},E=["onReady","onStart"];for(const l in e)l.startsWith("on")&&!E.includes(l)&&(b[l]=e[l]);return _.createElement(n,{...b,style:e.style,className:e.className,slot:e.slot,ref:t.useCallback(l=>{a.current=l,typeof r=="function"?r(l):r!==null&&(r.current=l)},[r]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:g,onPlay:h},e.children)});H.displayName="Player";var ce=H;const ue=t.lazy(()=>y(()=>import("./Preview-Bnbo8Nq1.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const c=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:g,slot:h,className:b,style:E,width:l,height:i,fallback:s,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const w=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:T,previewTabIndex:C,oEmbedUrl:U,previewAriaLabel:F}=o;return _.createElement(ue,{src:p,light:x,playIcon:T,previewTabIndex:C,previewAriaLabel:F,oEmbedUrl:U,onClickPreview:w})},O=p=>{var x,T;const C=c(p);if(!C)return null;const{style:U,width:F,height:$,wrapper:B}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(T=C.player)!=null?T:C,slot:B?void 0:h,className:B?void 0:b,style:B?{display:"block",width:"100%",height:"100%"}:{display:"block",width:F,height:$,...U},config:G})},L=P??M,S=s===!1?M:t.Suspense;return _.createElement(L,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(S,{fallback:s},v?I(g):O(g)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=D[D.length-1];var j=de(D,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.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"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.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"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.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"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function Ce({src:e,autoPlay:r=!0,config:c,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:g=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:s,onPlay:P}){const v=W(),[d,w]=t.useState(!1);t.useEffect(()=>{a===!0&&r?w(!0):a===!1&&w(!1)},[a,r]);const I={};c?.youtube&&(I.youtube=c.youtube);const O=()=>{w(!0),P?.()},L=()=>{w(!1),s?.()},S=()=>{w(!1),i?.(),a!=null&&s?.()},p=()=>{w(!0),P?.()};return a!=null?a?K.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:L,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:g,loop:o,width:"100%",height:"100%",onEnded:S,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:g,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:S,onPlay:p,config:I})}const ye=Z`
2
+ import{Q as W,V as f,an as X,p as Y}from"./index-DcV3YN51.js";import{w as _,a as t,c as K}from"./core-3dlyNYRL.js";import{n as k,k as Z}from"./mui-bYXq4XMS.js";import{bb as y}from"./zeni-epic-state-BwKvATgd.js";const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,q=/\.(mpd)($|\?)/i,Q=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,J=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,R=(e,r)=>{if(Array.isArray(e)){for(const c of e)if(typeof c=="string"&&R(c,r)||R(c.src,r))return!0;return!1}return r(e)},m={html:e=>R(e,r=>N.test(r)||z.test(r)),hls:e=>R(e,r=>V.test(r)),dash:e=>R(e,r=>q.test(r)),mux:e=>Q.test(e),youtube:e=>J.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const c=N.test(`${e.src}`)?"audio":"video";return _.createElement(c,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CA3XI5Yc.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-BUQtf2po.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-DQmBF4-D.js"),__vite__mapDeps([7,1,6,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-BpmEXSTM.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-BuvI16A0.js"),__vite__mapDeps([9,1,6])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-Egsc5mMa.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-B84192hO.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-Cz0zQhlY.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BvHTyLQY.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:ne}];var D=ie;const se={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},H=_.forwardRef((e,r)=>{const{playing:c,pip:u}=e,n=e.activePlayer,a=t.useRef(null),o=t.useRef(!0);t.useEffect(()=>{var l,i;a.current&&(a.current.paused&&c===!0&&a.current.play(),!a.current.paused&&c===!1&&a.current.pause(),a.current.playbackRate=(l=e.playbackRate)!=null?l:1,a.current.volume=(i=e.volume)!=null?i:1)}),t.useEffect(()=>{var l,i,s,P,v;if(!(!a.current||!globalThis.document)){if(u&&!document.pictureInPictureElement)try{(i=(l=a.current).requestPictureInPicture)==null||i.call(l)}catch{}if(!u&&document.pictureInPictureElement)try{(P=(s=a.current).exitPictureInPicture)==null||P.call(s),(v=document.exitPictureInPicture)==null||v.call(document)}catch{}}},[u]);const g=l=>{var i,s;o.current=!0,(i=e.onReady)==null||i.call(e),(s=e.onLoadStart)==null||s.call(e,l)},h=l=>{var i,s;o.current&&(o.current=!1,(i=e.onStart)==null||i.call(e,l)),(s=e.onPlay)==null||s.call(e,l)};if(!n)return null;const b={},E=["onReady","onStart"];for(const l in e)l.startsWith("on")&&!E.includes(l)&&(b[l]=e[l]);return _.createElement(n,{...b,style:e.style,className:e.className,slot:e.slot,ref:t.useCallback(l=>{a.current=l,typeof r=="function"?r(l):r!==null&&(r.current=l)},[r]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:g,onPlay:h},e.children)});H.displayName="Player";var ce=H;const ue=t.lazy(()=>y(()=>import("./Preview-Bnbo8Nq1.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const c=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:g,slot:h,className:b,style:E,width:l,height:i,fallback:s,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const w=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:T,previewTabIndex:C,oEmbedUrl:U,previewAriaLabel:F}=o;return _.createElement(ue,{src:p,light:x,playIcon:T,previewTabIndex:C,previewAriaLabel:F,oEmbedUrl:U,onClickPreview:w})},O=p=>{var x,T;const C=c(p);if(!C)return null;const{style:U,width:F,height:$,wrapper:B}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(T=C.player)!=null?T:C,slot:B?void 0:h,className:B?void 0:b,style:B?{display:"block",width:"100%",height:"100%"}:{display:"block",width:F,height:$,...U},config:G})},L=P??M,S=s===!1?M:t.Suspense;return _.createElement(L,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(S,{fallback:s},v?I(g):O(g)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=D[D.length-1];var j=de(D,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.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"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.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"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.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"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function Ce({src:e,autoPlay:r=!0,config:c,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:g=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:s,onPlay:P}){const v=W(),[d,w]=t.useState(!1);t.useEffect(()=>{a===!0&&r?w(!0):a===!1&&w(!1)},[a,r]);const I={};c?.youtube&&(I.youtube=c.youtube);const O=()=>{w(!0),P?.()},L=()=>{w(!1),s?.()},S=()=>{w(!1),i?.(),a!=null&&s?.()},p=()=>{w(!0),P?.()};return a!=null?a?K.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:L,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:g,loop:o,width:"100%",height:"100%",onEnded:S,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:g,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:S,onPlay:p,config:I})}const ye=Z`
3
3
  0% {
4
4
  transform: rotate(0deg);
5
5
  }
@@ -1,4 +1,4 @@
1
- import{Q as l,V as i,an as s,aK as a,p as c,o as n,y as r}from"./index-Ci63exms.js";import{n as t}from"./mui-bYXq4XMS.js";import{N as h}from"./VideoPlayer-Gw_PLr8F-BcD3Qyt1.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
1
+ import{Q as l,V as i,an as s,aK as a,p as c,o as n,y as r}from"./index-DcV3YN51.js";import{n as t}from"./mui-bYXq4XMS.js";import{N as h}from"./VideoPlayer-Gw_PLr8F-LYtV3YjE.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;