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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/dist/assets/{ACHDetailsPage-StkGXn1c-DnerZ6yw.js → ACHDetailsPage-StkGXn1c-QVuWqUed.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-cGtd6TYJ-Cp-PQoT7.js → AIPerformancePage-cGtd6TYJ-QRKa4AxL.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-BnHC_Y3E-ByMcEeMx.js → AccountInfoPage-BnHC_Y3E-B72E7e0X.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-9hQV-QKt-DIbr8exN.js → AccountInfoPageContent-9hQV-QKt-R-xf6NE9.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BS5pz9ze-B8_cH9pi.js → AccountLockedInfoModal-BS5pz9ze-vd3nemno.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-D_348I-1-wLi2j7Hz.js → AccountReconDetailsDrawerPage-D_348I-1-BgIx6Bmu.js} +1 -1
  7. package/dist/assets/{AccountRow-DbyUdPZG-D3G-oWRQ.js → AccountRow-DbyUdPZG-kPApYWvO.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CeGcTU8h-CiwKEYdC.js → AccountsPromoCardStack-CeGcTU8h-nrGLKwQX.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-D5EnX225-LqDDXshB.js → AddAddressForCardDrawer-D5EnX225-DlgrCRko.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-D45TGyNS-FyEeS4ax.js → AddToWalletPage-D45TGyNS-DpxcbTMf.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-Cxe-3oBx-BYtw6E86.js → AgingReportsPage-Cxe-3oBx-BdtauDu4.js} +1 -1
  12. package/dist/assets/{AllUserItems-Cc_-o3gE-BoV9oLkk.js → AllUserItems-Cc_-o3gE-Dj-vsTnw.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-DoaKW48m-OHK-ezBl.js → ApAgingDetailPage-DoaKW48m-B9QImbCC.js} +1 -1
  14. package/dist/assets/{AppBasePage-BUE60uZt-eqCd5DKr.js → AppBasePage-BUE60uZt-C6OIIfvZ.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-P20acbi4-B9KrqH0V.js → AppDrawerContent-P20acbi4-DSZQpDPf.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-C5KUTjie-BXW85Fbu.js → ApprovalRulesSettingsPage-C5KUTjie-BG0_ZC6k.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DIABTV5P-DnLiVsos.js → ArAgingChart-DIABTV5P-D3hRykT_.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-CA4JP8HZ-DZ9wu-cb.js → ArAgingDetailPage-CA4JP8HZ-DzwzorRb.js} +1 -1
  19. package/dist/assets/{Area-Sl30rGq6-WMXLxt2t.js → Area-Sl30rGq6-CogxmVvt.js} +1 -1
  20. package/dist/assets/{AreaChart-2AgE74bB-juQGB2-h.js → AreaChart-2AgE74bB-DgDnH-B0.js} +1 -1
  21. package/dist/assets/{AttachmentView-DRBK6aiE-DxR-B_-8.js → AttachmentView-DRBK6aiE-C1Ruc-VW.js} +1 -1
  22. package/dist/assets/{BankAccountSection-CwPIXA5w-DE6FMEHD.js → BankAccountSection-CwPIXA5w-DDDsPYwm.js} +1 -1
  23. package/dist/assets/{BankAccountWarningSection-DGSw5Uvq-4-yHVJQf.js → BankAccountWarningSection-DGSw5Uvq-DbOA1NjS.js} +1 -1
  24. package/dist/assets/{BankConnectionsSettingsPage-bk8eOcuj-7VKzOuZH.js → BankConnectionsSettingsPage-bk8eOcuj-DxzeQDqg.js} +1 -1
  25. package/dist/assets/{BillDetailPage-CQ8iqo9y-D1hvEdQD.js → BillDetailPage-CQ8iqo9y-Tp3WmchS.js} +1 -1
  26. package/dist/assets/{BillPayApprovalRuleDetailPage-B8LMww_O-C3Z44ei8.js → BillPayApprovalRuleDetailPage-B8LMww_O-CRWeyw0Q.js} +1 -1
  27. package/dist/assets/{BillPayApprovalRulesPage-BCoXLnmv-Aq-Dw7YV.js → BillPayApprovalRulesPage-BCoXLnmv-DCVONktr.js} +1 -1
  28. package/dist/assets/{BillPayPromoPage-CIUhDNjJ-D6Jrrfcx.js → BillPayPromoPage-CIUhDNjJ-Cwqxzge6.js} +1 -1
  29. package/dist/assets/{BillPaySetUpPage-CrfwREgO-oxkPqY3f.js → BillPaySetUpPage-CrfwREgO-CJ9_P2PZ.js} +1 -1
  30. package/dist/assets/{BillingSettingsPage-CitBvGaR-nwEc2ngU.js → BillingSettingsPage-CitBvGaR-DZa8FJ6b.js} +1 -1
  31. package/dist/assets/{BillsBulkReviewDrawerPage-Cal9oN8I-BL6vOdpc.js → BillsBulkReviewDrawerPage-Cal9oN8I-D6VU0QwP.js} +1 -1
  32. package/dist/assets/{BoxItem-B6Qj2tSj-aLWYhGMW.js → BoxItem-B6Qj2tSj-J1Dptt9x.js} +1 -1
  33. package/dist/assets/{BusinessVerificationPage-aj1YPi-U-D08S06Tj.js → BusinessVerificationPage-aj1YPi-U-D4YVlN1d.js} +1 -1
  34. package/dist/assets/{CardNumberSubText-COZ0PEHK-CGMTIPNh.js → CardNumberSubText-COZ0PEHK-DfX-_Vv0.js} +1 -1
  35. package/dist/assets/{CashbackDetailPage-BloaeO12-DkRvSRPk.js → CashbackDetailPage-BloaeO12-CKXrQ4pr.js} +1 -1
  36. package/dist/assets/{ChargeCardDetailPage-CjW48x_w-DZEJnmps.js → ChargeCardDetailPage-CjW48x_w-CYCiZNdX.js} +1 -1
  37. package/dist/assets/{ChargeCardListPage-CiUoFBZq-BBkjDTTQ.js → ChargeCardListPage-CiUoFBZq-fokUM1Ml.js} +1 -1
  38. package/dist/assets/{ChargeCardListTable-BGdEyXLV-BJk1B__-.js → ChargeCardListTable-BGdEyXLV-i14Xe5Xy.js} +1 -1
  39. package/dist/assets/{ChargeCardPromoPage-BYgvGdtQ-jQVVK6Po.js → ChargeCardPromoPage-BYgvGdtQ-BP8Ml7dN.js} +1 -1
  40. package/dist/assets/{ChargeCardSetupPage-B0L57e-5-DfN8lydv.js → ChargeCardSetupPage-B0L57e-5-g-QFSpA6.js} +1 -1
  41. package/dist/assets/{ChargeCardStatementsPage-CB76MDoV-B8r9tvXY.js → ChargeCardStatementsPage-CB76MDoV-DzuODTlT.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-Cr_oz-BZ-B8n362Tm.js → CheckDepositDrawerPage-Cr_oz-BZ-COLf_Spm.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-B3_in9eE-D8gjZt8q.js → CollapsableReportTable-B3_in9eE-DAO-TPrY.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-K0bu4TF7-zO2jQ48g.js → CompanyOfficerDetailsSection-K0bu4TF7-A5XuxES5.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-Bn50f4y5-D-A9Krsj.js → CompanyPassportCard-Bn50f4y5-DOiZtliu.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-CamFfvAV-lyA9J8un.js → CompanyPassportPage-CamFfvAV-Dh23xkTd.js} +1 -1
  47. package/dist/assets/{CompleteProfile-2jFR92oO-DA0X1epS.js → CompleteProfile-2jFR92oO-Dv25uofO.js} +1 -1
  48. package/dist/assets/{ComposedChart-Cot0K7Et-DQrzoGG2.js → ComposedChart-Cot0K7Et-Cs0IcUoo.js} +1 -1
  49. package/dist/assets/{ConfettiBurst-D34cviSS-Z_WPGmrN.js → ConfettiBurst-D34cviSS---m1oxyT.js} +1 -1
  50. package/dist/assets/{CreateOrEditVendorPage-Abz0ijRD-C8cSnLG_.js → CreateOrEditVendorPage-Abz0ijRD-Wxr0ruoD.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentDrawerPage-BRcbxJYU-DxBcUp2U.js → CreditCardPaymentDrawerPage-BRcbxJYU-BrdaibUh.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-DR8cDrIS-TTiuldkA.js → CurrencySelectField-DR8cDrIS-BWQqgMWL.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-DPghXiES-Be3J744M.js → CustomerOnboardingActivationPage-DPghXiES-BYZrYsLp.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-CiLsQ_pQ-BfS6D7SD.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DImhzWZN-BU1ePL5b.js → CustomerOnboardingDetailPageSkeleton-DImhzWZN-Cc3W2piF.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-B0y5uw1X-DTSY3wEk.js → CustomerOnboardingNoStepsPage-B0y5uw1X-CpWrxFy5.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-BheJqVUY-DnAWhFCF.js → CustomerOnboardingPage-BheJqVUY-gSyXgh3g.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-BaYYKqZ9-C13CIlQM.js → CustomerOnboardingProductSuitePage-BaYYKqZ9-Cjiy9Y20.js} +1 -1
  59. package/dist/assets/{Dashboard-DJs11vgV-CqS9vdTt.js → Dashboard-DJs11vgV-KI7JNzAI.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-CL0RrJ4A-FEfXS09v.js → DashboardReportPage-CL0RrJ4A-CMyxRLdL.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-DHlKExbg-wP92oaCm.js → DashboardSidebarBackgroundAnimation-DHlKExbg-2TSvr-F-.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-C36JnddA-CD1u3HOE.js → DepositAccTransactionItem-C36JnddA-BuRFl8Tj.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-Db5EpWjl-D4uYWawD.js → DepositAccTransactionListPage-Db5EpWjl-fYOiHNFH.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-C_flRkmQ-DX47g_ws.js → DomesticWireDetailsPage-C_flRkmQ-D2Y9zL_T.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-CLWNXGnb-DS0DZTJ1.js → DownloadOverlay-CLWNXGnb-CzOVbqqI.js} +1 -1
  66. package/dist/assets/{DrawerPage-BdYS_9Mt-BL0llqyf.js → DrawerPage-BdYS_9Mt-Bc1McCUH.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-B7bjXrqC-Bm6qgPK0.js → EditPeoplePage-B7bjXrqC-OL09v3a6.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-BRYd6JMC-BudgCO3p.js → EditReimbursementDetailPage-BRYd6JMC-F9QPl0Ac.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-B1aKw_1J-DOXQOxN6.js → EntityDetailPage-B1aKw_1J-CWSa9OE7.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-Cp-CFb9j-NVB6pHEa.js → EntitySummarySection-Cp-CFb9j-DWbzDu3x.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-C7tY6mua-BYHSgS-c.js → ExpenseAutomationOverviewPage-C7tY6mua-CIo35h3r.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-CeP8I1tB-C-mlsXcM.js → ExpenseAutomationPage-CeP8I1tB-DHQpDifW.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-DYUtczg7-BDKERlx3.js → ExpressPayPage-DYUtczg7-Cb7gdmam.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-Brau5064-B_mFzC9F.js → FeaturePreviewPage-Brau5064-B6gubfR5.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-Dhf67oqf-CptFWIJS.js → FollowStepsSection-Dhf67oqf-C9-DQpEq.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-C89Tsajc-e0Pd9wZo.js → GlobalReviewListPage-C89Tsajc-C8QIbpaJ.js} +1 -1
  77. package/dist/assets/{InformationCardStack-BLD4XmMT-Dp1BbBqU.js → InformationCardStack-BLD4XmMT-CaIFPHpb.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-CAwTWreO-DWsXatY7.js → InsightsCardStack-CAwTWreO-DMHtrXvo.js} +1 -1
  79. package/dist/assets/{InsightsSection-DJrMi3DN-DUYhJ5vl.js → InsightsSection-DJrMi3DN-BZzGhpNe.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-LAjqcDLQ-BjUKkE_z.js → IntegrationsSettingsPage-LAjqcDLQ-CwsnsoHn.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-_4BMP68N-DzpoTdAd.js → InternationalWireSwiftDetailsPage-_4BMP68N-D2TibYHD.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-BiDh0ost-o29PWd-q.js → InternationalWireVerificationPage-BiDh0ost-DRFXu-Md.js} +1 -1
  83. package/dist/assets/{InviteFormPage-DN2uvROT-Dfc30Liy.js → InviteFormPage-DN2uvROT-D-pHqBtv.js} +1 -1
  84. package/dist/assets/{InvitePageListView-DDi1bLaG-BIsQyZAc.js → InvitePageListView-DDi1bLaG-CWBEJEz9.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-D4bsu9K1-CnzfbNDf.js → InvitePeoplePage-D4bsu9K1-K8YB3huJ.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-BducuHAy-CwGoLvBS.js → InvoiceUploadSection-BducuHAy-DP3yW3zT.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-C2I9mUTD-8YcF3Lm8.js → IssueChargeCardPage-C2I9mUTD-Dk0ZH0_P.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-mLMacnQu-BhboedQp.js → LabeledAddressValue-mLMacnQu-Bs8h4KYU.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-C74ZzWQ3-j8ky07qz.js → LabeledAddressValueField-C74ZzWQ3-CvAM7L7i.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-D7yxgfu0-DldJVWKR.js → LabeledControlledCheckBoxField-D7yxgfu0-DgJw74_b.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-BoymBi06-CmNh4XiF.js → LabeledCreatableSingleSelectField-BoymBi06-B5wgIZxM.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-BEg2KNOF-CXhVMSrJ.js → LabeledDocumentField-BEg2KNOF-CI4r3QEJ.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-B4_WiAaD-BNmJ6YJs.js → LabeledDropDownFormattedTextField-B4_WiAaD-C8oOx3AR.js} +1 -1
  94. package/dist/assets/{LabeledText-iHeu8MCf-BqC7UtSs.js → LabeledText-iHeu8MCf-GFbIBet5.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-O_tz5mgs-3DtmJ9nC.js → LabeledUserSingleSelectWithSubtitlesField-O_tz5mgs-90UTcRc3.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DoF6cXd_-NHc4m6ED.js → LabeledZeniRolesDropDownField-DoF6cXd_-DT1LbBkc.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-C1FL0hR6-BhDC9P29.js → LinkJETransactionPage-C1FL0hR6-Bp0Um_Sm.js} +1 -1
  98. package/dist/assets/{LockCardPage-Do7WCHaW-DegBv6L_.js → LockCardPage-Do7WCHaW-ZupVtZLk.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-CEiTKqxT-F00svkBR.js → LowBalancePopup-CEiTKqxT-DJVUP8TV.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-C7xvzxN5-Dc6R7yOX.js → MagicLinkACHDetailsPage-C7xvzxN5-pg2IguPb.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-D8iNxVu6-BUAijWLq.js → MagicLinkDomesticWireDetailsPage-D8iNxVu6-Boex5dqe.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DNmvv77I-BpwPqLdA.js → MagicLinkInternationalWireDetailsPage-DNmvv77I-C23EkFxR.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-BO-k4XK1-MGQVRHRk.js → MagicLinkSuccessPage-BO-k4XK1-QkgOmsPy.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-CzGvBYzB-DMlmyXfy.js → MagicLinkTitleSection-CzGvBYzB-B3pEwVq_.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-C_TtoLpj-DODfBmzp.js → MailingDetailsSection-C_TtoLpj-DxhbJD-R.js} +1 -1
  106. package/dist/assets/{Menu-pyYbFxsT-C1MdlXRT.js → Menu-pyYbFxsT-BjDDhfv4.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BP6RBO_Y-CehX8chf.js → MyBankConnectionsSettingsPage-BP6RBO_Y-BFwv-Z-d.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-CBwy21Ec-BLf4vWlb.js → MyPendingActivationChargeCardListPage-CBwy21Ec-CDRbSeBl.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-yHoOgEgo-DBI4IsMo.js → MyProfileSettingsPage-yHoOgEgo-daGXrnbi.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-FYZ2a05o-CmU_pgV6.js → NavBarWithPicker-FYZ2a05o-B8iO0ddX.js} +1 -1
  111. package/dist/assets/{NavigationArrow-DlO0Lww9-Ct543iDt.js → NavigationArrow-DlO0Lww9-C_GP4JM3.js} +1 -1
  112. package/dist/assets/{NavigationDots-DO5y6mdV-DGnlFBBn.js → NavigationDots-DO5y6mdV-CX8opgkb.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-FW6_Vbee-CfGEofWn.js → NewGlobalMerchantPage-FW6_Vbee-GgZoUq7l.js} +1 -1
  114. package/dist/assets/{NoDataChart-C0lCeeVH-BiooJKO2.js → NoDataChart-C0lCeeVH-DA9wYEab.js} +1 -1
  115. package/dist/assets/{NoDataTable-Mkdamra1-CCnSaZtC.js → NoDataTable-Mkdamra1-C4lxq944.js} +1 -1
  116. package/dist/assets/{NotFoundPage-DGkjOhKP-kjD5UcP7.js → NotFoundPage-DGkjOhKP-_tY2chCo.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-BhlKl9Ll-BUY5FCkq.js → NotificationSettingsPage-BhlKl9Ll-DUhiPe-6.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-DsgxTfdY-t5wE01Ro.js → NotificationsListConfig-DsgxTfdY-Bf7tXkyY.js} +1 -1
  119. package/dist/assets/{NotificationsPage-ZeNj-N6e-Bg1RwKL7.js → NotificationsPage-ZeNj-N6e-BTrejAUV.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-BFHzD656-CkhDsmtK.js → OpExByVendorPage-BFHzD656-CtmebRpb.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-C0a1XRUE-Coei_22L.js → OverlayContainerPage-C0a1XRUE-V98nAOZV.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-Ccd2Dj3E-BSp6SVyg.js → PandLWithForecastPage-Ccd2Dj3E-CdBcqIm3.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-NPYLXD6--Bula2_j9.js → PaymentAccountSetupBillingAddressSection-NPYLXD6--CVxMCQA5.js} +1 -1
  124. package/dist/assets/{PeoplePage-Dzl5Uh33-C_9NQRDZ.js → PeoplePage-Dzl5Uh33-BdlH9bSI.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-B7wcRg4N-MgqN7eQE.js → ProductsCarousel-B7wcRg4N-CnpQ0WOo.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-38oPeuBR-DNrev2WE.js → PromoBaseCards-38oPeuBR-B0H8TJQa.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-Bn425Vnl-D7-SW8Tv.js → QBOConnectionDialog-Bn425Vnl-BbJL04ac.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-BqbiJ_dk-CZU6Pjgx.js → QBOSetupSection-BqbiJ_dk-32r8g9xi.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DmhPPX4d-DMO5czP7.js → ReimbursementApprovalRuleDetailPage-DmhPPX4d-D9mrhM9N.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRulesPage-DwaZeT8t-Ds2HMmHz.js → ReimbursementApprovalRulesPage-DwaZeT8t-Dv8_jFtg.js} +1 -1
  131. package/dist/assets/{ReimbursementDetailPage-D2tg-yOT-C3XwZ7Pf.js → ReimbursementDetailPage-D2tg-yOT-BzN7qc1_.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-kn4Die2q-BNaLqm9R.js → ReimbursementPromoPage-kn4Die2q-CKqS3hXc.js} +1 -1
  133. package/dist/assets/{ReimbursementSetUpPage-D4FP9co3-fxCiVZhE.js → ReimbursementSetUpPage-D4FP9co3-CEmWCDyN.js} +1 -1
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-hhvxZzxC-BXtCzSIP.js → ReimbursementsBulkReviewDrawerPage-hhvxZzxC-DWqEVSUF.js} +1 -1
  135. package/dist/assets/{ReloadCard-CreyuBvN-CLMqgpFk.js → ReloadCard-CreyuBvN-DjNwhyuW.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-BeCqfOU9-DQYZGv2r.js → ReportTableViewSelector-BeCqfOU9-Dl1-rF4w.js} +1 -1
  137. package/dist/assets/{ReportsPage-CZpFSu1Y-DlpOcAya.js → ReportsPage-CZpFSu1Y-CZ0qiQOk.js} +1 -1
  138. package/dist/assets/{RevenueChart-CI7LXu5--DgnFQndd.js → RevenueChart-CI7LXu5--C_eMlqa_.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-DaTETUBT-PWso5Dab.js → ReviewDetailsPage-DaTETUBT-BNZWzAUG.js} +1 -1
  140. package/dist/assets/{ReviewOverlay-De5_nrll-D6fwtyEd.js → ReviewOverlay-De5_nrll-UZnD0Wrb.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-CWH-iJqI-DmzPBpda.js → RoleWithToolTip-CWH-iJqI-1DRRWE9G.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Bq9TnStX-DDHnOsNU.js → ScheduleDetailsFixedAssetsPage-Bq9TnStX-BBlEeAEF.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-CkpwjK55-BLiF70NF.js → ScheduleDetailsPage-CkpwjK55-CdEJvs9J.js} +1 -1
  144. package/dist/assets/{ScheduleSequenceTable-3IZuZOPj-CeUyJkl1.js → ScheduleSequenceTable-3IZuZOPj-CpD5-K5M.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-B29orzq3.js → ScreenRoutes-OiTPRoV-.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-DQMufunh-D76vpY_K.js → SetUpAccountSection-DQMufunh-CK9nyz6l.js} +1 -1
  147. package/dist/assets/{SignIn-xXGNpo08-CUzVPK00.js → SignIn-xXGNpo08-BfJajWh7.js} +1 -1
  148. package/dist/assets/{SignInScreen-CDr9y3Na.js → SignInScreen-C1mSw17d.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-BnfCoW19-BZB7Hw4I.js → SpendManagementListViewPage-BnfCoW19-KBHNQHIP.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-CqbhJrUj-DTu-7Bk6.js → SpendManagementPerTabPage-CqbhJrUj-kkilMuTU.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-ajHIu1O8-Cq9RGBsG.js → SpendManagementSection-ajHIu1O8-DADkbXE-.js} +1 -1
  152. package/dist/assets/{StatementItem-GE_8ctAq-DDQXsDRX.js → StatementItem-GE_8ctAq-DrycMqry.js} +1 -1
  153. package/dist/assets/{StatementsPage-C3NFPx6M-jgAzPQMr.js → StatementsPage-C3NFPx6M-DxRvU8jY.js} +1 -1
  154. package/dist/assets/{StatusSwitcher-BFs1Anoq-B4RP8Uzy.js → StatusSwitcher-BFs1Anoq-DpyTt46Q.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-D66ATBlk-cmQvyV1w.js → SubTabSwitcher-D66ATBlk-DOhgjMp3.js} +1 -1
  156. package/dist/assets/{SummaryCard-Bm1IRZgD-Bll-orHR.js → SummaryCard-Bm1IRZgD-91ZI-22I.js} +1 -1
  157. package/dist/assets/{Switch-0GHq7mOt-Dq45hGqf.js → Switch-0GHq7mOt-DbAV4YYH.js} +1 -1
  158. package/dist/assets/{TaskManagementPage-BGrBiImq-E6_WY2ZU.js → TaskManagementPage-BGrBiImq-BfzNLv5E.js} +1 -1
  159. package/dist/assets/{TimeRangeSwitcher-BLZFMJtQ-wzd2C_JZ.js → TimeRangeSwitcher-BLZFMJtQ-DGm3ShK1.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcher-BsjH-yMO-V_f8h8uY.js → TimeframeSwitcher-BsjH-yMO-BPnsY2-U.js} +1 -1
  161. package/dist/assets/{TimeframeSwitcherWithToggle-Cu3G5WXl-BNaAKXj3.js → TimeframeSwitcherWithToggle-Cu3G5WXl-DA09Uj2K.js} +1 -1
  162. package/dist/assets/{TopExCard-ZSEsgTG--BNm-M2ne.js → TopExCard-ZSEsgTG--CATJC-Xk.js} +1 -1
  163. package/dist/assets/{TopExDetailPage-0MGEdNiZ-CVCWUWVh.js → TopExDetailPage-0MGEdNiZ-zdtgEwyG.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-C7wPASNo-BTqu7QgN.js → TransactionDetailPage-C7wPASNo-DbosApC9.js} +1 -1
  165. package/dist/assets/{TransactionList-Brm_EWed-DwQzznTi.js → TransactionList-Brm_EWed-Cq3RVCVg.js} +1 -1
  166. package/dist/assets/{TransactionListBig-Br5XrVkF-BW7DnMvS.js → TransactionListBig-Br5XrVkF-CTCHs4ax.js} +1 -1
  167. package/dist/assets/{TransactionListPage-BE_E_82V-SHPPjUOF.js → TransactionListPage-BE_E_82V-nYGMiY-b.js} +1 -1
  168. package/dist/assets/{TransactionVendorDetailPage-CtVIgF01-3kEoBcmO.js → TransactionVendorDetailPage-CtVIgF01-wm39V-7s.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-CCKQSH2d-21ckGGxB.js → TransferDrawerPage-CCKQSH2d-C1fxF28H.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-D7OhHT_I-DWU8OjtE.js → TreasuryOverviewPage-D7OhHT_I-CJSivn-m.js} +1 -1
  171. package/dist/assets/{TreasuryPromoPage-ssGWinby-BKoFmxRZ.js → TreasuryPromoPage-ssGWinby-7M6uQ6F0.js} +1 -1
  172. package/dist/assets/{TreasuryStatementsPage-CB4g45eo-D4tAMGAJ.js → TreasuryStatementsPage-CB4g45eo-FvCbZGLY.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-CixtQrG2-DyQ3GU2a.js → TreasuryTaxLetterPage-CixtQrG2-CdrNDE0k.js} +1 -1
  174. package/dist/assets/{TrendChart-ZXja3Lv--B4yGBgeP.js → TrendChart-ZXja3Lv--DjXJyQYi.js} +1 -1
  175. package/dist/assets/{TrendWithTransactions-Bacaqvbc-CDzpSeHr.js → TrendWithTransactions-Bacaqvbc-CuLqX3Nb.js} +1 -1
  176. package/dist/assets/{UncategorizedAccountsMappingPage-DgSFpzWV-Bo91RVO4.js → UncategorizedAccountsMappingPage-DgSFpzWV-DQ46RXxs.js} +1 -1
  177. package/dist/assets/{UnitIntegrationPage-B2KxkPGT-Cj7aVov9.js → UnitIntegrationPage-B2KxkPGT-UD1zrCcb.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-DCq4eMPQ-0xv-e5Z1.js → UploadAdditionalDocumentOverlay-DCq4eMPQ-DgDGrP6S.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-DyQl5kF8-BPyop29n.js → Vendor2FAPopup-DyQl5kF8-DEaADgAn.js} +1 -1
  180. package/dist/assets/{VendorACHDetailsPage-NEsVAzoZ-DqBD51QK.js → VendorACHDetailsPage-NEsVAzoZ-Bc_YmJ7L.js} +1 -1
  181. package/dist/assets/{VendorDetailPage-gDnCoaGz-Bq_C256n.js → VendorDetailPage-gDnCoaGz-DnPFm_s9.js} +1 -1
  182. package/dist/assets/{VendorDomesticWireDetailsPage-BeqPYONY-C4JA1J7T.js → VendorDomesticWireDetailsPage-BeqPYONY-DWVhQVkv.js} +1 -1
  183. package/dist/assets/{VendorFiling1099EditablePage-UIV2Tn2v-dXlu2VP0.js → VendorFiling1099EditablePage-UIV2Tn2v-IWBkVx3W.js} +1 -1
  184. package/dist/assets/{VendorFirstReviewPage-DiNHrTKs--rE1SgmE.js → VendorFirstReviewPage-DiNHrTKs-dMUj2lfg.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage-X2xViJmq-BLoiZ84q.js → VendorInternationalWireDetailsPage-X2xViJmq-1IEQyhex.js} +1 -1
  186. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DUjY1sSV-xU4diICn.js → VendorInternationalWireSwiftDetailsPage-DUjY1sSV-7mNdGNdo.js} +1 -1
  187. package/dist/assets/{VendorsAccountsSection-tcJAh1A7-COfHef35.js → VendorsAccountsSection-tcJAh1A7-Dj7jjfw5.js} +1 -1
  188. package/dist/assets/{VerifyDevice-BpRkPdzL-DdjhGhQl.js → VerifyDevice-BpRkPdzL-B5ybgDmP.js} +1 -1
  189. package/dist/assets/{VideoPlayer-DVIeTdLq-CMw9Re6n.js → VideoPlayer-DVIeTdLq-C7AoMVy0.js} +1 -1
  190. package/dist/assets/{VideoPopup-CPW65Ljn-Mlf95YHy.js → VideoPopup-CPW65Ljn-DMNmv8U3.js} +1 -1
  191. package/dist/assets/{WarningsDrawerPage-DmT71mwN-DESwOtN_.js → WarningsDrawerPage-DmT71mwN-Di-UIPop.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-BDnKHtXx-DnCgg11y.js → ZeniAccountDetailPage-BDnKHtXx-_4OD2XSq.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-D1I68D9x-zovkBtXJ.js → ZeniAccountListViewPage-D1I68D9x-Bvus0P_k.js} +1 -1
  194. package/dist/assets/{ZeniAccountNavBarPieces-2a3O6Mrv-CEltxOUL.js → ZeniAccountNavBarPieces-2a3O6Mrv-Bn4VbLw2.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-C0xo5aaW-EZZNv-KJ.js → ZeniAccountPromoPage-C0xo5aaW-D7P5Lhzj.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-BfUwEF_n-Cb98B4Sd.js → ZeniAccountSetupPage-BfUwEF_n-Bwo0JfQm.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-DPuPyAW5-BSJS_xPn.js → ZeniCopyright-DPuPyAW5-Bnt6ioyH.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-CPHnjZJx-BmCI7vMf.js → ZeniTransferAmountSlider-CPHnjZJx-BGffL5pM.js} +1 -1
  199. package/dist/assets/{_baseUnset-WRwI4F7w-C17FI5GR.js → _baseUnset-WRwI4F7w-SKv6CaOr.js} +1 -1
  200. package/dist/assets/{analyticsHelper-DQrzJx-G.js → analyticsHelper-C19sEVMv.js} +1 -1
  201. package/dist/assets/{analyticsHelper-QM8g-I4_-BsSO6wHs.js → analyticsHelper-QM8g-I4_-D8fsuugi.js} +1 -1
  202. package/dist/assets/{chartTypes-BADtYh4F-X-tWlUJq.js → chartTypes-BADtYh4F-B1Z_E0y8.js} +1 -1
  203. package/dist/assets/{commonDimensions-B2oTTz3C-DxkHqcKn.js → commonDimensions-B2oTTz3C-BcwGbjhJ.js} +1 -1
  204. package/dist/assets/{detailCommon-B2986coM-C1gDOjW1.js → detailCommon-B2986coM-NlrX1KrH.js} +1 -1
  205. package/dist/assets/{downloadPdf-C0_jxUh_-bREzf3Cq.js → downloadPdf-C0_jxUh_-xl909S0g.js} +1 -1
  206. package/dist/assets/{flatten-CIVR5K8J-DvOZeE7b.js → flatten-CIVR5K8J-D-QSFstn.js} +1 -1
  207. package/dist/assets/{groupBy-LtwzERV9-C02NtlDV.js → groupBy-LtwzERV9-DfsHYWjt.js} +1 -1
  208. package/dist/assets/{index-2CdI-B2B.js → index-OJbFNHch.js} +4 -4
  209. package/dist/assets/map-CnboTxlt-iF8o7Kja.js +1 -0
  210. package/dist/assets/{mapLoadingInProgressToTreeNode-wIyHFu9f-XNeJbueD.js → mapLoadingInProgressToTreeNode-wIyHFu9f-BUan4l0E.js} +1 -1
  211. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CPOj7SUJ-C7GfKtaE.js → mapSectionWithAcOnlyToTreeNode-CPOj7SUJ-BBvkWVpb.js} +1 -1
  212. package/dist/assets/{mapSpacerToTreeNode-D35gt6vK-B3lOm-Wx.js → mapSpacerToTreeNode-D35gt6vK-Dg4nN-DB.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-CreSrgeo-D32OjiRY.js → mapTimeframeBalancesToTreeNode-CreSrgeo-DJ7qRU6g.js} +1 -1
  214. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cv8OFsQz-CIsvQJMh.js → mapTimeframeBalancesToTreeNode-Cv8OFsQz-BQTTe1de.js} +1 -1
  215. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CJ8hkVjB-DOWHQg2-.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CJ8hkVjB-B-rBOsE2.js} +1 -1
  216. package/dist/assets/{omit-5LZGrM3q-cCGLyNB9.js → omit-5LZGrM3q-Dkas3Ge8.js} +1 -1
  217. package/dist/assets/{orderBy-D3W4CDe6-BoPe-dQB.js → orderBy-D3W4CDe6-C2Pj0hxa.js} +1 -1
  218. package/dist/assets/{remove-ADLCpWJf-CcDvT7jc.js → remove-ADLCpWJf-C_kUyMnr.js} +1 -1
  219. package/dist/assets/{toCOABalancesWithID-C_Swao_b-2UkzUVnC.js → toCOABalancesWithID-C_Swao_b-UbAQtm0o.js} +1 -1
  220. package/dist/assets/{toChartData-DfujfQ7D-nillWsTs.js → toChartData-DfujfQ7D-DwlIUYBD.js} +1 -1
  221. package/dist/assets/{uploadAttachment-Wnp0PZFn-CVVetHUv.js → uploadAttachment-Wnp0PZFn-BWKvLRtm.js} +1 -1
  222. package/dist/assets/{uploadReceipts-BkHrFC8j-DevoCqHx.js → uploadReceipts-BkHrFC8j-BKjYP7lf.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +1 -1
  225. package/dist/assets/CustomerOnboardingContainerPage-CiLsQ_pQ-BpWpryzi.js +0 -1
  226. package/dist/assets/map-CnboTxlt-CZn0FfBt.js +0 -1
@@ -1,4 +1,4 @@
1
- import{i as at,cd as ct,ce as ht,j as c,bm as C,cf as lt,A as ut,b as x,ah as dt,cg as V,ch as h,ci as pt}from"./index-2CdI-B2B.js";import{a as u}from"./core-tlHkQPPu.js";import{n as b}from"./mui-kiGMfX4-.js";import{j as _t}from"./TransactionList-Brm_EWed-DwQzznTi.js";import{r as ft}from"./page-detail-L_-1iNMr-DCxtcaOg.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./BoxItem-B6Qj2tSj-aLWYhGMW.js";import"./commonDimensions-B2oTTz3C-DxkHqcKn.js";import"./groupBy-LtwzERV9-C02NtlDV.js";import"./map-CnboTxlt-CZn0FfBt.js";import"./orderBy-D3W4CDe6-BoPe-dQB.js";const d=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,S="9.47.1";function $(){return A(h),h}function A(n){const t=n.__SENTRY__=n.__SENTRY__||{};return t.version=t.version||S,t[S]=t[S]||{}}function T(n,t,e=h){const s=e.__SENTRY__=e.__SENTRY__||{},i=s[S]=s[S]||{};return i[n]||(i[n]=t())}const U={};function J(n){if(!("console"in h))return n();const t=h.console,e={},s=Object.keys(U);s.forEach(i=>{const r=U[i];e[i]=t[i],t[i]=r});try{return n()}finally{s.forEach(i=>{t[i]=e[i]})}}function K(){return j().enabled}function I(n,...t){d&&K()&&J(()=>{h.console[n](`Sentry Logger [${n}]:`,...t)})}function j(){return d?T("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const w={enable:function(){j().enabled=!0},disable:function(){j().enabled=!1},isEnabled:K,log:function(...n){I("log",...n)},warn:function(...n){I("warn",...n)},error:function(...n){I("error",...n)}},gt=Object.prototype.toString;function mt(n){return function(t,e){return gt.call(t)===`[object ${e}]`}(n,"Object")}function St(n,t=0){return typeof n!="string"||t===0||n.length<=t?n:`${n.slice(0,t)}...`}function m(n=function(){const t=h;return t.crypto||t.msCrypto}()){let t=()=>16*Math.random();try{if(n?.randomUUID)return n.randomUUID().replace(/-/g,"");n?.getRandomValues&&(t=()=>{const e=new Uint8Array(1);return n.getRandomValues(e),e[0]})}catch{}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&t())>>e/4).toString(16))}function q(n,t,e=2){if(!t||typeof t!="object"||e<=0)return t;if(n&&Object.keys(t).length===0)return n;const s={...n};for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&(s[i]=q(s[i],t[i],e-1));return s}function Y(){return m()}const N="_sentrySpan";function F(n,t){t?function(e,s,i){try{Object.defineProperty(e,s,{value:i,writable:!0,configurable:!0})}catch{d&&w.log(`Failed to add non-enumerable property "${s}" to object`,e)}}(n,N,t):delete n[N]}function G(n){return n[N]}class l{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Y(),sampleRand:Math.random()}}clone(){const t=new l;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,F(t,G(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&function(e,s={}){if(s.user&&(!e.ipAddress&&s.user.ip_address&&(e.ipAddress=s.user.ip_address),e.did||s.did||(e.did=s.user.id||s.user.email||s.user.username)),e.timestamp=s.timestamp||pt(),s.abnormal_mechanism&&(e.abnormal_mechanism=s.abnormal_mechanism),s.ignoreDuration&&(e.ignoreDuration=s.ignoreDuration),s.sid&&(e.sid=s.sid.length===32?s.sid:m()),s.init!==void 0&&(e.init=s.init),!e.did&&s.did&&(e.did=`${s.did}`),typeof s.started=="number"&&(e.started=s.started),e.ignoreDuration)e.duration=void 0;else if(typeof s.duration=="number")e.duration=s.duration;else{const i=e.timestamp-e.started;e.duration=i>=0?i:0}s.release&&(e.release=s.release),s.environment&&(e.environment=s.environment),!e.ipAddress&&s.ipAddress&&(e.ipAddress=s.ipAddress),!e.userAgent&&s.userAgent&&(e.userAgent=s.userAgent),typeof s.errors=="number"&&(e.errors=s.errors),s.status&&(e.status=s.status)}(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return e===null?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const e=typeof t=="function"?t(this):t,s=e instanceof l?e.getScopeData():mt(e)?t:void 0,{tags:i,extra:r,user:a,contexts:o,level:v,fingerprint:y=[],propagationContext:_}=s||{};return this._tags={...this._tags,...i},this._extra={...this._extra,...r},this._contexts={...this._contexts,...o},a&&Object.keys(a).length&&(this._user=a),v&&(this._level=v),y.length&&(this._fingerprint=y),_&&(this._propagationContext=_),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,F(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Y(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){const s=typeof e=="number"?e:100;if(s<=0)return this;const i={timestamp:V(),...t,message:t.message?St(t.message,2048):t.message};return this._breadcrumbs.push(i),this._breadcrumbs.length>s&&(this._breadcrumbs=this._breadcrumbs.slice(-s),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:G(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=q(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){const s=e?.event_id||m();if(!this._client)return d&&w.warn("No client configured on scope - will not capture exception!"),s;const i=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:i,...e,event_id:s},this),s}captureMessage(t,e,s){const i=s?.event_id||m();if(!this._client)return d&&w.warn("No client configured on scope - will not capture message!"),i;const r=new Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:r,...s,event_id:i},this),i}captureEvent(t,e){const s=e?.event_id||m();return this._client?(this._client.captureEvent(t,{...e,event_id:s},this),s):(d&&w.warn("No client configured on scope - will not capture event!"),s)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}class xt{constructor(t,e){let s,i;s=t||new l,i=e||new l,this._stack=[{scope:s}],this._isolationScope=i}withScope(t){const e=this._pushScope();let s;try{s=t(e)}catch(r){throw this._popScope(),r}return i=s,i?.then&&typeof i.then=="function"?s.then(r=>(this._popScope(),r),r=>{throw this._popScope(),r}):(this._popScope(),s);var i}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function p(){const n=A($());return n.stack=n.stack||new xt(T("defaultCurrentScope",()=>new l),T("defaultIsolationScope",()=>new l))}function bt(n){return p().withScope(n)}function vt(n,t){const e=p();return e.withScope(()=>(e.getStackTop().scope=n,t(n)))}function z(n){return p().withScope(()=>n(p().getIsolationScope()))}function H(n){const t=A(n);return t.acs?t.acs:{withIsolationScope:z,withScope:bt,withSetScope:vt,withSetIsolationScope:(e,s)=>z(s),getCurrentScope:()=>p().getScope(),getIsolationScope:()=>p().getIsolationScope()}}function yt(){return H($()).getCurrentScope().getClient()}const wt=100;function Lt(n,t){const e=yt(),s=H($()).getIsolationScope();if(!e)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:r=wt}=e.getOptions();if(r<=0)return;const a={timestamp:V(),...n},o=i?J(()=>i(a,t)):a;o!==null&&(e.emit&&e.emit("beforeAddBreadcrumb",o,t),s.addBreadcrumb(o,r))}const Et=b.div`
1
+ import{i as at,cd as ct,ce as ht,j as c,bm as C,cf as lt,A as ut,b as x,ah as dt,cg as V,ch as h,ci as pt}from"./index-OJbFNHch.js";import{a as u}from"./core-tlHkQPPu.js";import{n as b}from"./mui-kiGMfX4-.js";import{j as _t}from"./TransactionList-Brm_EWed-Cq3RVCVg.js";import{r as ft}from"./page-detail-L_-1iNMr-DCxtcaOg.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./BoxItem-B6Qj2tSj-J1Dptt9x.js";import"./commonDimensions-B2oTTz3C-BcwGbjhJ.js";import"./groupBy-LtwzERV9-DfsHYWjt.js";import"./map-CnboTxlt-iF8o7Kja.js";import"./orderBy-D3W4CDe6-C2Pj0hxa.js";const d=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,S="9.47.1";function $(){return A(h),h}function A(n){const t=n.__SENTRY__=n.__SENTRY__||{};return t.version=t.version||S,t[S]=t[S]||{}}function T(n,t,e=h){const s=e.__SENTRY__=e.__SENTRY__||{},i=s[S]=s[S]||{};return i[n]||(i[n]=t())}const U={};function J(n){if(!("console"in h))return n();const t=h.console,e={},s=Object.keys(U);s.forEach(i=>{const r=U[i];e[i]=t[i],t[i]=r});try{return n()}finally{s.forEach(i=>{t[i]=e[i]})}}function K(){return j().enabled}function I(n,...t){d&&K()&&J(()=>{h.console[n](`Sentry Logger [${n}]:`,...t)})}function j(){return d?T("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const w={enable:function(){j().enabled=!0},disable:function(){j().enabled=!1},isEnabled:K,log:function(...n){I("log",...n)},warn:function(...n){I("warn",...n)},error:function(...n){I("error",...n)}},gt=Object.prototype.toString;function mt(n){return function(t,e){return gt.call(t)===`[object ${e}]`}(n,"Object")}function St(n,t=0){return typeof n!="string"||t===0||n.length<=t?n:`${n.slice(0,t)}...`}function m(n=function(){const t=h;return t.crypto||t.msCrypto}()){let t=()=>16*Math.random();try{if(n?.randomUUID)return n.randomUUID().replace(/-/g,"");n?.getRandomValues&&(t=()=>{const e=new Uint8Array(1);return n.getRandomValues(e),e[0]})}catch{}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&t())>>e/4).toString(16))}function q(n,t,e=2){if(!t||typeof t!="object"||e<=0)return t;if(n&&Object.keys(t).length===0)return n;const s={...n};for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&(s[i]=q(s[i],t[i],e-1));return s}function Y(){return m()}const N="_sentrySpan";function F(n,t){t?function(e,s,i){try{Object.defineProperty(e,s,{value:i,writable:!0,configurable:!0})}catch{d&&w.log(`Failed to add non-enumerable property "${s}" to object`,e)}}(n,N,t):delete n[N]}function G(n){return n[N]}class l{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Y(),sampleRand:Math.random()}}clone(){const t=new l;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,F(t,G(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&function(e,s={}){if(s.user&&(!e.ipAddress&&s.user.ip_address&&(e.ipAddress=s.user.ip_address),e.did||s.did||(e.did=s.user.id||s.user.email||s.user.username)),e.timestamp=s.timestamp||pt(),s.abnormal_mechanism&&(e.abnormal_mechanism=s.abnormal_mechanism),s.ignoreDuration&&(e.ignoreDuration=s.ignoreDuration),s.sid&&(e.sid=s.sid.length===32?s.sid:m()),s.init!==void 0&&(e.init=s.init),!e.did&&s.did&&(e.did=`${s.did}`),typeof s.started=="number"&&(e.started=s.started),e.ignoreDuration)e.duration=void 0;else if(typeof s.duration=="number")e.duration=s.duration;else{const i=e.timestamp-e.started;e.duration=i>=0?i:0}s.release&&(e.release=s.release),s.environment&&(e.environment=s.environment),!e.ipAddress&&s.ipAddress&&(e.ipAddress=s.ipAddress),!e.userAgent&&s.userAgent&&(e.userAgent=s.userAgent),typeof s.errors=="number"&&(e.errors=s.errors),s.status&&(e.status=s.status)}(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return e===null?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const e=typeof t=="function"?t(this):t,s=e instanceof l?e.getScopeData():mt(e)?t:void 0,{tags:i,extra:r,user:a,contexts:o,level:v,fingerprint:y=[],propagationContext:_}=s||{};return this._tags={...this._tags,...i},this._extra={...this._extra,...r},this._contexts={...this._contexts,...o},a&&Object.keys(a).length&&(this._user=a),v&&(this._level=v),y.length&&(this._fingerprint=y),_&&(this._propagationContext=_),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,F(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Y(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){const s=typeof e=="number"?e:100;if(s<=0)return this;const i={timestamp:V(),...t,message:t.message?St(t.message,2048):t.message};return this._breadcrumbs.push(i),this._breadcrumbs.length>s&&(this._breadcrumbs=this._breadcrumbs.slice(-s),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:G(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=q(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){const s=e?.event_id||m();if(!this._client)return d&&w.warn("No client configured on scope - will not capture exception!"),s;const i=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:i,...e,event_id:s},this),s}captureMessage(t,e,s){const i=s?.event_id||m();if(!this._client)return d&&w.warn("No client configured on scope - will not capture message!"),i;const r=new Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:r,...s,event_id:i},this),i}captureEvent(t,e){const s=e?.event_id||m();return this._client?(this._client.captureEvent(t,{...e,event_id:s},this),s):(d&&w.warn("No client configured on scope - will not capture event!"),s)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}class xt{constructor(t,e){let s,i;s=t||new l,i=e||new l,this._stack=[{scope:s}],this._isolationScope=i}withScope(t){const e=this._pushScope();let s;try{s=t(e)}catch(r){throw this._popScope(),r}return i=s,i?.then&&typeof i.then=="function"?s.then(r=>(this._popScope(),r),r=>{throw this._popScope(),r}):(this._popScope(),s);var i}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function p(){const n=A($());return n.stack=n.stack||new xt(T("defaultCurrentScope",()=>new l),T("defaultIsolationScope",()=>new l))}function bt(n){return p().withScope(n)}function vt(n,t){const e=p();return e.withScope(()=>(e.getStackTop().scope=n,t(n)))}function z(n){return p().withScope(()=>n(p().getIsolationScope()))}function H(n){const t=A(n);return t.acs?t.acs:{withIsolationScope:z,withScope:bt,withSetScope:vt,withSetIsolationScope:(e,s)=>z(s),getCurrentScope:()=>p().getScope(),getIsolationScope:()=>p().getIsolationScope()}}function yt(){return H($()).getCurrentScope().getClient()}const wt=100;function Lt(n,t){const e=yt(),s=H($()).getIsolationScope();if(!e)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:r=wt}=e.getOptions();if(r<=0)return;const a={timestamp:V(),...n},o=i?J(()=>i(a,t)):a;o!==null&&(e.emit&&e.emit("beforeAddBreadcrumb",o,t),s.addBreadcrumb(o,r))}const Et=b.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{u as H,a as F,j as o,A as B,bm as j,bC as W,b as t,R as g,f as q,d as G,dT as U,a8 as _,it as R,iu as k,iv as M,dt as X,aa as Z,s as a,i as J,dv as K,i3 as N,iB as Q,iC as Y,iD as ee,bH as oe}from"./index-2CdI-B2B.js";import{a as P}from"./core-tlHkQPPu.js";import{n as r}from"./mui-kiGMfX4-.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const I=(e,p)=>`${e}.${p}`,V={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},s=F.getLocalizedStrings().transactionDetail.vendorDetails.vendorCreation,te=({selectedAccountId:e,isSaveError:p,selectedClassId:m,selectedOwnerId:i,selectedVendorName:w,allAccounts:l,allClasses:L,allOwners:$,sectionId:v,isDisabled:d,accountsHierarchyList:x,classHierarchyList:S})=>{const n=H(),y=J(),O=V.labelWidth.value(n),b=V.controlWidth.value(n);return o.jsxs(ae,{"data-testid":j("vendor-details-section",v),children:[o.jsx(ne,{children:s.vendorDetails.title}),o.jsxs(se,{children:[o.jsx(K,{label:{label:s.vendorDetails.vendorName,width:O},text:{type:"text",name:I(v,"vendorName"),placeholder:s.placeholders.vendor,defaultValue:w,autoComplete:"off",options:{required:!0}},isSaveError:p,showAdditionalInfoLabel:!1,additionalInfoLabel:s.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(re,{}),o.jsx(N,{isLoading:!1,label:{label:s.vendorDetails.vendorCategory,width:O},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:I(v,"vendorCategory"),placeholder:s.placeholders.category,valueToInfo:h=>(u=>l.filter(C=>C.accountId===u)[0]?.coaId??"")(h),defaultValue:{selectedOption:e,allOptions:k(x)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:d,disableCurrentOption:h=>{const u=l.find(c=>c.accountId===h)?.accountName;return[Q,Y].includes(u??"")},zIndexOnFocus:!0,additionalLabelInfo:s.vendorDetails.vendorCategoryAdditionText}),o.jsx(N,{isLoading:!1,label:{label:s.vendorDetails.vendorClass,width:O},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:I(v,"vendorClass"),placeholder:s.placeholders.class,valueToInfo:h=>(u=>L.filter(C=>C.classId===u)[0]?.accountingClassNumber??"")(h),defaultValue:{selectedOption:m,allOptions:R(S)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:s.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:d}),$!=null?o.jsx(ee,{label:{label:s.vendorDetails.vendorOwner,width:O},userSingleSelectField:{name:I(v,"vendorOwner"),placeholder:s.placeholders.owner,defaultValue:{allOptions:M($),selectedOption:i},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:d,style:{justifyContent:"space-between"},controlWidth:b}):null]})]})},ae=r.div`
1
+ import{u as H,a as F,j as o,A as B,bm as j,bC as W,b as t,R as g,f as q,d as G,dT as U,a8 as _,it as R,iu as k,iv as M,dt as X,aa as Z,s as a,i as J,dv as K,i3 as N,iB as Q,iC as Y,iD as ee,bH as oe}from"./index-OJbFNHch.js";import{a as P}from"./core-tlHkQPPu.js";import{n as r}from"./mui-kiGMfX4-.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const I=(e,p)=>`${e}.${p}`,V={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},s=F.getLocalizedStrings().transactionDetail.vendorDetails.vendorCreation,te=({selectedAccountId:e,isSaveError:p,selectedClassId:m,selectedOwnerId:i,selectedVendorName:w,allAccounts:l,allClasses:L,allOwners:$,sectionId:v,isDisabled:d,accountsHierarchyList:x,classHierarchyList:S})=>{const n=H(),y=J(),O=V.labelWidth.value(n),b=V.controlWidth.value(n);return o.jsxs(ae,{"data-testid":j("vendor-details-section",v),children:[o.jsx(ne,{children:s.vendorDetails.title}),o.jsxs(se,{children:[o.jsx(K,{label:{label:s.vendorDetails.vendorName,width:O},text:{type:"text",name:I(v,"vendorName"),placeholder:s.placeholders.vendor,defaultValue:w,autoComplete:"off",options:{required:!0}},isSaveError:p,showAdditionalInfoLabel:!1,additionalInfoLabel:s.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(re,{}),o.jsx(N,{isLoading:!1,label:{label:s.vendorDetails.vendorCategory,width:O},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:I(v,"vendorCategory"),placeholder:s.placeholders.category,valueToInfo:h=>(u=>l.filter(C=>C.accountId===u)[0]?.coaId??"")(h),defaultValue:{selectedOption:e,allOptions:k(x)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:d,disableCurrentOption:h=>{const u=l.find(c=>c.accountId===h)?.accountName;return[Q,Y].includes(u??"")},zIndexOnFocus:!0,additionalLabelInfo:s.vendorDetails.vendorCategoryAdditionText}),o.jsx(N,{isLoading:!1,label:{label:s.vendorDetails.vendorClass,width:O},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:I(v,"vendorClass"),placeholder:s.placeholders.class,valueToInfo:h=>(u=>L.filter(C=>C.classId===u)[0]?.accountingClassNumber??"")(h),defaultValue:{selectedOption:m,allOptions:R(S)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:s.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:d}),$!=null?o.jsx(ee,{label:{label:s.vendorDetails.vendorOwner,width:O},userSingleSelectField:{name:I(v,"vendorOwner"),placeholder:s.placeholders.owner,defaultValue:{allOptions:M($),selectedOption:i},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:d,style:{justifyContent:"space-between"},controlWidth:b}):null]})]})},ae=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${t.sp3};
@@ -1,4 +1,4 @@
1
- import{j as t,u as ue,bm as A,iN as lt,a as E,bn as N,B as Le,iZ as st,A as He,bC as Se,b as a,R as c,f as Ze,L as ct,bJ as dt,as as ut,H as Te,af as $e,ah as fe,bB as ce,gV as ft,a8 as qe,dt as pt,bv as mt,bo as ht,C as H,aa as Qe,gZ as Pe,g_ as je,hx as gt,cH as ye,hr as wt,i_ as xt,s as o,gL as bt,d6 as Je,cQ as Dt,gl as St,cq as Tt,ai as Ue,ha as $t,eQ as yt,cS as Ge,iO as Ct,iQ as vt}from"./index-2CdI-B2B.js";import{a as u}from"./core-tlHkQPPu.js";import{n as r}from"./mui-kiGMfX4-.js";import{bO as kt}from"./zeni-epic-state-Bo1aGezX.js";import{d as At}from"./ZeniTransferAmountSlider-CPHnjZJx-BmCI7vMf.js";import{T as Lt}from"./AccountInfoPageContent-9hQV-QKt-DIbr8exN.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./downloadPdf-C0_jxUh_-bREzf3Cq.js";import"./commonDimensions-B2oTTz3C-DxkHqcKn.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:S}}}=E.getLocalizedStrings(),Ke="amount",ze="transferFrom",k="transferDetails",et="transferDetailPage",xe=(e,n)=>`${e}.${n}`,tt=e=>`${e}_form`,f={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 Pt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:b,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:p,maxInsuredAmount:s,setIsCalculatorOpen:$,setShowAnnualYieldEarned:y,setTransferAmount:C,setYieldEarned:B,setTotalBalance:F,onSaveChangesToLocalStore:Z,onBackClick:M,onEstablishConnectionClick:I,fireTrackTransferBetweenAccountsFormClicked:O,onFetchLinkTokenClick:q,onReviewClick:Q}){const i=ue(),R=f.largeLabelWidth.value(i),[_,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[W,oe]=u.useState(!1),J=n.transferMoneyPartiesFetchState,U=ce(J),G=n.transferDetailLocalData.transferFrom?.id,K=n.transferDetailLocalData.transferTo?.id,Ce=ce(G),ve=ce(K),pe=n.transferMoneyParties.map(l=>l.id),me=ce(pe),at=u.useCallback(l=>{I?.(l),M(),oe(!1),z(!1)},[M,I]),rt=u.useCallback((l,h)=>{l!=null&&console.log("Plaid Connection Error",l,h)},[]),{open:Y,ready:ee}=ft({token:v,onSuccess:at,onExit:rt}),ie=u.useCallback(l=>{l.preventDefault(),l.stopPropagation(),ee?Y():z(!0)},[Y,ee]),L=qe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Be(n,ie),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&ee&&oe(!0)},[ee,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{W&&x&&Y()},[W,Y,x]),u.useEffect(()=>{(kt(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);(U==="In-Progress"&&J==="Completed"||Ce!==G||ve!==K||l)&&L.reset(Be(n,()=>Y()))},[ee,v,m.fetchStatus.fetchState,U,J,Ce,ve,K,G,me,pe,L,n,Y]);const{isValid:nt}=L.formState;u.useEffect(()=>{const l=L.watch((h,{name:le})=>{if(le!=null&&h!=null){const se=h[k]?.amount??0,he=h[k]?.transferFrom,te=h[k]?.transferTo,ge=n.transferMoneyParties.find(we=>we.id===he?.selectedOption),ae=n.transferMoneyParties.find(we=>we.id===te?.selectedOption);ge?.accType==="paymentAccount"&&ae?.accType==="depositAccount"&&se!==0?($(!0),y(!0)):y(!1),C(se)}});return()=>{l.unsubscribe()}},[L,n.transferMoneyParties]),u.useEffect(()=>{const l=L.watch((h,{name:le})=>{le!=null&&h!=null&&pt(()=>(async(se,he)=>{if(se!=null){const te={...he},ge={amount:{amount:te[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===te[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===te[k].transferTo.selectedOption)};Z(ge)}})(le,h))});return()=>{l.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const ot=L.handleSubmit(()=>{nt&&(O("Review","Amount Details"),Q())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&L.setValue(`${k}.${ze}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,ie,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const ke=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Ae=ke[ke.length-1].annualPercentageYield.toString(),it=mt(ht(s),s,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[_?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(Et,{}),t.jsxs(It,{children:[t.jsx(Ot,{children:n.reviewTransferDetail.error?.title}),t.jsx(_t,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{O("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:H.heroLight}})})]})}):null,t.jsx(Vt,{children:N("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Qe,{...L,children:t.jsxs(Bt,{id:tt(et),onSubmit:ot,children:[t.jsxs(Kt,{children:[t.jsx(Oe,{size:i,children:t.jsx(Fe,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:f.labeleMarginLeft.valuePx(i),marginBottom:f.labeleMarginBottom.valuePx(i),marginRight:f.labelMarginRight.valuePx(i)}},errorInfoLabel:S.transferDrawer.transferFromError,style:{paddingTop:f.labeledFieldPaddingTop.valuePx(i),paddingBottom:f.labeledFieldPaddingBottom.valuePx(i),paddingLeft:f.labeledFieldPaddingLeft.valuePx(i),paddingRight:f.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:f.infoLabelPaddingRight.valuePx(i),marginTop:f.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:xe(k,ze),placeholder:S.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(l,h)=>je(n.transferMoneyParties,l,h),valueToSubLabels:(l,h)=>Pe(n.transferMoneyParties,l,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,ie,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})}),t.jsx(Ie,{}),t.jsx(Oe,{size:i,children:t.jsx(ea,{size:i,children:t.jsx(Fe,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:f.labeleMarginLeft.valuePx(i),marginBottom:f.labeleMarginBottom.valuePx(i),marginRight:f.labelMarginRight.valuePx(i)}},errorInfoLabel:S.transferDrawer.transferToError,style:{paddingTop:f.labeledFieldPaddingTop.valuePx(i),paddingBottom:f.labeledFieldPaddingBottom.valuePx(i),paddingLeft:f.labeledFieldPaddingLeft.valuePx(i),paddingRight:f.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:f.infoLabelPaddingRight.valuePx(i),marginTop:f.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:xe(k,"transferTo"),placeholder:S.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(l,h)=>je(n.transferMoneyParties,l,h),valueToSubLabels:(l,h)=>Pe(n.transferMoneyParties,l,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,ie)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})})}),t.jsx(Ie,{}),t.jsx(gt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:S.transferDrawer.amountError,formattedTextField:{type:"number",name:xe(k,Ke),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:S.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(Xt,{children:[b?t.jsxs(Wt,{children:[t.jsx(Yt,{children:S.transferDrawer.calculator.heading.replace("__rate__",Ae).replace("__amount__",it)}),t.jsx(At,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:B,setTotalBalance:F})]}):null,t.jsxs(Ht,{windowSize:i,children:[t.jsx(Qt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(Me,{children:`${S.transferDrawer.calculator.footerText.annualYieldEarned} ${N("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:S.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(qt,{windowSize:i}),t.jsx(Jt,{children:`${S.transferDrawer.calculator.footerText.forTotalBalance} ${N("0,0",{amount:p,currencySymbol:"$"})}`})]}):t.jsx(Me,{children:S.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Ae)})}),b?t.jsxs(Ee,{windowSize:i,onClick:()=>$(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Re,{className:"calculatorFooterLeftText",children:S.transferDrawer.calculator.footerText.hide}),t.jsx(Ut,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Ee,{windowSize:i,onClick:()=>$(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Re,{className:"calculatorFooterLeftText",children:S.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Gt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(He,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,b=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const p={label:d.label,value:d.id};return b&&(p.isDisabled=n?d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),p});if(T){const d={label:S.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Be=(e,n)=>({transferDetails:{[Ke]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=r.div`
1
+ import{j as t,u as ue,bm as A,iN as lt,a as E,bn as N,B as Le,iZ as st,A as He,bC as Se,b as a,R as c,f as Ze,L as ct,bJ as dt,as as ut,H as Te,af as $e,ah as fe,bB as ce,gV as ft,a8 as qe,dt as pt,bv as mt,bo as ht,C as H,aa as Qe,gZ as Pe,g_ as je,hx as gt,cH as ye,hr as wt,i_ as xt,s as o,gL as bt,d6 as Je,cQ as Dt,gl as St,cq as Tt,ai as Ue,ha as $t,eQ as yt,cS as Ge,iO as Ct,iQ as vt}from"./index-OJbFNHch.js";import{a as u}from"./core-tlHkQPPu.js";import{n as r}from"./mui-kiGMfX4-.js";import{bO as kt}from"./zeni-epic-state-Bo1aGezX.js";import{d as At}from"./ZeniTransferAmountSlider-CPHnjZJx-BGffL5pM.js";import{T as Lt}from"./AccountInfoPageContent-9hQV-QKt-R-xf6NE9.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./downloadPdf-C0_jxUh_-xl909S0g.js";import"./commonDimensions-B2oTTz3C-BcwGbjhJ.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:S}}}=E.getLocalizedStrings(),Ke="amount",ze="transferFrom",k="transferDetails",et="transferDetailPage",xe=(e,n)=>`${e}.${n}`,tt=e=>`${e}_form`,f={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 Pt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:b,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:p,maxInsuredAmount:s,setIsCalculatorOpen:$,setShowAnnualYieldEarned:y,setTransferAmount:C,setYieldEarned:B,setTotalBalance:F,onSaveChangesToLocalStore:Z,onBackClick:M,onEstablishConnectionClick:I,fireTrackTransferBetweenAccountsFormClicked:O,onFetchLinkTokenClick:q,onReviewClick:Q}){const i=ue(),R=f.largeLabelWidth.value(i),[_,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[W,oe]=u.useState(!1),J=n.transferMoneyPartiesFetchState,U=ce(J),G=n.transferDetailLocalData.transferFrom?.id,K=n.transferDetailLocalData.transferTo?.id,Ce=ce(G),ve=ce(K),pe=n.transferMoneyParties.map(l=>l.id),me=ce(pe),at=u.useCallback(l=>{I?.(l),M(),oe(!1),z(!1)},[M,I]),rt=u.useCallback((l,h)=>{l!=null&&console.log("Plaid Connection Error",l,h)},[]),{open:Y,ready:ee}=ft({token:v,onSuccess:at,onExit:rt}),ie=u.useCallback(l=>{l.preventDefault(),l.stopPropagation(),ee?Y():z(!0)},[Y,ee]),L=qe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Be(n,ie),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&ee&&oe(!0)},[ee,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{W&&x&&Y()},[W,Y,x]),u.useEffect(()=>{(kt(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);(U==="In-Progress"&&J==="Completed"||Ce!==G||ve!==K||l)&&L.reset(Be(n,()=>Y()))},[ee,v,m.fetchStatus.fetchState,U,J,Ce,ve,K,G,me,pe,L,n,Y]);const{isValid:nt}=L.formState;u.useEffect(()=>{const l=L.watch((h,{name:le})=>{if(le!=null&&h!=null){const se=h[k]?.amount??0,he=h[k]?.transferFrom,te=h[k]?.transferTo,ge=n.transferMoneyParties.find(we=>we.id===he?.selectedOption),ae=n.transferMoneyParties.find(we=>we.id===te?.selectedOption);ge?.accType==="paymentAccount"&&ae?.accType==="depositAccount"&&se!==0?($(!0),y(!0)):y(!1),C(se)}});return()=>{l.unsubscribe()}},[L,n.transferMoneyParties]),u.useEffect(()=>{const l=L.watch((h,{name:le})=>{le!=null&&h!=null&&pt(()=>(async(se,he)=>{if(se!=null){const te={...he},ge={amount:{amount:te[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===te[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===te[k].transferTo.selectedOption)};Z(ge)}})(le,h))});return()=>{l.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const ot=L.handleSubmit(()=>{nt&&(O("Review","Amount Details"),Q())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&L.setValue(`${k}.${ze}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,ie,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const ke=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Ae=ke[ke.length-1].annualPercentageYield.toString(),it=mt(ht(s),s,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[_?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(Et,{}),t.jsxs(It,{children:[t.jsx(Ot,{children:n.reviewTransferDetail.error?.title}),t.jsx(_t,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{O("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:H.heroLight}})})]})}):null,t.jsx(Vt,{children:N("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Qe,{...L,children:t.jsxs(Bt,{id:tt(et),onSubmit:ot,children:[t.jsxs(Kt,{children:[t.jsx(Oe,{size:i,children:t.jsx(Fe,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:f.labeleMarginLeft.valuePx(i),marginBottom:f.labeleMarginBottom.valuePx(i),marginRight:f.labelMarginRight.valuePx(i)}},errorInfoLabel:S.transferDrawer.transferFromError,style:{paddingTop:f.labeledFieldPaddingTop.valuePx(i),paddingBottom:f.labeledFieldPaddingBottom.valuePx(i),paddingLeft:f.labeledFieldPaddingLeft.valuePx(i),paddingRight:f.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:f.infoLabelPaddingRight.valuePx(i),marginTop:f.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:xe(k,ze),placeholder:S.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(l,h)=>je(n.transferMoneyParties,l,h),valueToSubLabels:(l,h)=>Pe(n.transferMoneyParties,l,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,ie,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})}),t.jsx(Ie,{}),t.jsx(Oe,{size:i,children:t.jsx(ea,{size:i,children:t.jsx(Fe,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:f.labeleMarginLeft.valuePx(i),marginBottom:f.labeleMarginBottom.valuePx(i),marginRight:f.labelMarginRight.valuePx(i)}},errorInfoLabel:S.transferDrawer.transferToError,style:{paddingTop:f.labeledFieldPaddingTop.valuePx(i),paddingBottom:f.labeledFieldPaddingBottom.valuePx(i),paddingLeft:f.labeledFieldPaddingLeft.valuePx(i),paddingRight:f.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:f.infoLabelPaddingRight.valuePx(i),marginTop:f.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:xe(k,"transferTo"),placeholder:S.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(l,h)=>je(n.transferMoneyParties,l,h),valueToSubLabels:(l,h)=>Pe(n.transferMoneyParties,l,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,ie)},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption}}})})}),t.jsx(Ie,{}),t.jsx(gt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:S.transferDrawer.amountError,formattedTextField:{type:"number",name:xe(k,Ke),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:S.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(Xt,{children:[b?t.jsxs(Wt,{children:[t.jsx(Yt,{children:S.transferDrawer.calculator.heading.replace("__rate__",Ae).replace("__amount__",it)}),t.jsx(At,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:B,setTotalBalance:F})]}):null,t.jsxs(Ht,{windowSize:i,children:[t.jsx(Qt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(Me,{children:`${S.transferDrawer.calculator.footerText.annualYieldEarned} ${N("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:S.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(qt,{windowSize:i}),t.jsx(Jt,{children:`${S.transferDrawer.calculator.footerText.forTotalBalance} ${N("0,0",{amount:p,currencySymbol:"$"})}`})]}):t.jsx(Me,{children:S.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Ae)})}),b?t.jsxs(Ee,{windowSize:i,onClick:()=>$(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Re,{className:"calculatorFooterLeftText",children:S.transferDrawer.calculator.footerText.hide}),t.jsx(Ut,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Ee,{windowSize:i,onClick:()=>$(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Re,{className:"calculatorFooterLeftText",children:S.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Gt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(He,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,b=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const p={label:d.label,value:d.id};return b&&(p.isDisabled=n?d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),p});if(T){const d={label:S.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Be=(e,n)=>({transferDetails:{[Ke]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=r.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{u as C,i as A,a7 as Fe,d4 as Ke,j as t,a as L,bn as K,cH as ae,cf as Ve,t as te,bm as V,A as We,b as i,af as k,C as $,cq as Ee,R as u,gC as J,d as M,s as p,iS as se,bS as le,bR as de,cv as Ge,bD as re,cz as De,bq as Le,a$ as Ue,hd as qe,ij as Je,B as Xe,ah as B,bz as _e,kL as Ze,ll as Qe,bV as et,g0 as tt,dX as it,ha as ot,mg as at,kj as Re,kk as Ae,dj as rt,ka as nt,kb as st,cF as lt,ai as W,di as ce,mh as dt,kh as ct,dq as ht}from"./index-2CdI-B2B.js";import{a as f,o as pt}from"./core-tlHkQPPu.js";import{n as o,c as he}from"./mui-kiGMfX4-.js";import{bO as E,c4 as xt}from"./zeni-epic-state-Bo1aGezX.js";import{a as mt}from"./commonDimensions-B2oTTz3C-DxkHqcKn.js";import{b as pe}from"./BoxItem-B6Qj2tSj-aLWYhGMW.js";import{r as gt}from"./transaction-placeholder-BDef7K0p-Dqvh6We2.js";import{t as ut}from"./shield-E_rJ2OWj-kTEIYW8Q.js";import{o as xe}from"./AreaChart-2AgE74bB-juQGB2-h.js";import{_ as me}from"./Area-Sl30rGq6-WMXLxt2t.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const ne=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:ne.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},ft={key:"date",value:ne.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},wt={key:"amount",value:ne.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},ie=()=>[yt,ft,wt],b={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(p[0],p[4]),headerLastColumnRightPadding:new u(p[3],p[11]),headerLastColumnBottomPadding:new u(p[0],p[4]),headerLastColumnLeftPadding:new u(p[3],p[11]),headerHeight:new u(Re,Ae),sortIconSize:new u(p[2],p[2]),headerPaddingTop:new u(p[0],2)},$t=pt.memo(function({companyNameSticky:e,sortConfig:a,onColumnSortConfigChanged:n}){const h=A(),s=C(),[r,g]=f.useState(ie());f.useEffect(()=>{const d=[...r];for(const j of d)j.key===a.sortKey?j.sortOrder=a.sortOrder:j.sortOrder="ascending";g(d)},[a.sortKey,a.sortOrder]);const c=(d,j)=>{let l=j;a.sortKey===d&&(l=j==="ascending"?"descending":"ascending"),n(d,l)},m=r.find(d=>d.key===a.sortKey)??r[0],x=r.map(d=>d.key),y=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return s==="small"?t.jsxs(St,{windowSize:s,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(lt,{title:y.sortBy,placeholder:y.sortBy,pickerValues:x,valueToLabel:d=>r.find(j=>j.key===d)?.value??"",selectedValue:a.sortKey,onPickerSelectionChanged:d=>{c(d,"ascending")},optionTextStyle:te.extraSmallRegular,titleTextStyle:te.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>c(m.key,m.sortOrder),"data-testid":V("mobile-cards-list-sort-clicked",a.sortKey),children:[t.jsx(W,{children:m.value}),t.jsx(ge,{windowSize:s,sortDataValue:a.sortKey,headerdata:m,children:t.jsx(ue,{windowSize:s,isSelected:a.sortKey===m.key,children:t.jsx(ce,{})})})]})]}):t.jsx(jt,{windowSize:s,children:t.jsx(vt,{children:r.map(d=>d.width.value(s)!==0&&t.jsxs(bt,{companyNameSticky:e,sortDataValue:a.sortKey,actualDataValue:d.key,wrapperWidth:d.width,windowSize:s,children:[t.jsxs(Dt,{onClick:()=>c(d.key,d.sortOrder),"data-testid":V("cards-list-sort-clicked",a.sortKey),children:[t.jsx(W,{children:d.value}),t.jsx(ge,{windowSize:s,sortDataValue:a.sortKey,headerdata:d,children:t.jsx(ue,{windowSize:s,isSelected:a.sortKey===d.key,children:t.jsx(ce,{})})})]}),t.jsx(Tt,{sortDataValue:a.sortKey,windowSize:s,isVisible:a.sortKey===d.key&&d.key!=="date",children:t.jsx(kt,{onClick:()=>c("date","ascending"),"data-testid":V("cards-list-sort-cancel",a.sortKey)})})]},d.key))})})}),jt=o.div`
1
+ import{u as C,i as A,a7 as Fe,d4 as Ke,j as t,a as L,bn as K,cH as ae,cf as Ve,t as te,bm as V,A as We,b as i,af as k,C as $,cq as Ee,R as u,gC as J,d as M,s as p,iS as se,bS as le,bR as de,cv as Ge,bD as re,cz as De,bq as Le,a$ as Ue,hd as qe,ij as Je,B as Xe,ah as B,bz as _e,kL as Ze,ll as Qe,bV as et,g0 as tt,dX as it,ha as ot,mg as at,kj as Re,kk as Ae,dj as rt,ka as nt,kb as st,cF as lt,ai as W,di as ce,mh as dt,kh as ct,dq as ht}from"./index-OJbFNHch.js";import{a as f,o as pt}from"./core-tlHkQPPu.js";import{n as o,c as he}from"./mui-kiGMfX4-.js";import{bO as E,c4 as xt}from"./zeni-epic-state-Bo1aGezX.js";import{a as mt}from"./commonDimensions-B2oTTz3C-BcwGbjhJ.js";import{b as pe}from"./BoxItem-B6Qj2tSj-J1Dptt9x.js";import{r as gt}from"./transaction-placeholder-BDef7K0p-Dqvh6We2.js";import{t as ut}from"./shield-E_rJ2OWj-kTEIYW8Q.js";import{o as xe}from"./AreaChart-2AgE74bB-DgDnH-B0.js";import{_ as me}from"./Area-Sl30rGq6-CogxmVvt.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const ne=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:ne.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},ft={key:"date",value:ne.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},wt={key:"amount",value:ne.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},ie=()=>[yt,ft,wt],b={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(p[0],p[4]),headerLastColumnRightPadding:new u(p[3],p[11]),headerLastColumnBottomPadding:new u(p[0],p[4]),headerLastColumnLeftPadding:new u(p[3],p[11]),headerHeight:new u(Re,Ae),sortIconSize:new u(p[2],p[2]),headerPaddingTop:new u(p[0],2)},$t=pt.memo(function({companyNameSticky:e,sortConfig:a,onColumnSortConfigChanged:n}){const h=A(),s=C(),[r,g]=f.useState(ie());f.useEffect(()=>{const d=[...r];for(const j of d)j.key===a.sortKey?j.sortOrder=a.sortOrder:j.sortOrder="ascending";g(d)},[a.sortKey,a.sortOrder]);const c=(d,j)=>{let l=j;a.sortKey===d&&(l=j==="ascending"?"descending":"ascending"),n(d,l)},m=r.find(d=>d.key===a.sortKey)??r[0],x=r.map(d=>d.key),y=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return s==="small"?t.jsxs(St,{windowSize:s,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(lt,{title:y.sortBy,placeholder:y.sortBy,pickerValues:x,valueToLabel:d=>r.find(j=>j.key===d)?.value??"",selectedValue:a.sortKey,onPickerSelectionChanged:d=>{c(d,"ascending")},optionTextStyle:te.extraSmallRegular,titleTextStyle:te.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>c(m.key,m.sortOrder),"data-testid":V("mobile-cards-list-sort-clicked",a.sortKey),children:[t.jsx(W,{children:m.value}),t.jsx(ge,{windowSize:s,sortDataValue:a.sortKey,headerdata:m,children:t.jsx(ue,{windowSize:s,isSelected:a.sortKey===m.key,children:t.jsx(ce,{})})})]})]}):t.jsx(jt,{windowSize:s,children:t.jsx(vt,{children:r.map(d=>d.width.value(s)!==0&&t.jsxs(bt,{companyNameSticky:e,sortDataValue:a.sortKey,actualDataValue:d.key,wrapperWidth:d.width,windowSize:s,children:[t.jsxs(Dt,{onClick:()=>c(d.key,d.sortOrder),"data-testid":V("cards-list-sort-clicked",a.sortKey),children:[t.jsx(W,{children:d.value}),t.jsx(ge,{windowSize:s,sortDataValue:a.sortKey,headerdata:d,children:t.jsx(ue,{windowSize:s,isSelected:a.sortKey===d.key,children:t.jsx(ce,{})})})]}),t.jsx(Tt,{sortDataValue:a.sortKey,windowSize:s,isVisible:a.sortKey===d.key&&d.key!=="date",children:t.jsx(kt,{onClick:()=>c("date","ascending"),"data-testid":V("cards-list-sort-cancel",a.sortKey)})})]},d.key))})})}),jt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{i as de,u as G,a$ as Ce,a7 as we,bB as $e,a as N,j as r,cf as fe,gO as ye,bD as ke,b as i,kL as je,cH as be,af as j,B as J,bm as K,d as f,as as A,C as a,R as v,ah as W,dX as Se,cJ as ve,L as ze,ai as Le,gw as Me,s as h,f4 as Be,bU as Pe,H as Ee,f as Te,t as Q,dT as Ie}from"./index-2CdI-B2B.js";import{a as s,o as De}from"./core-tlHkQPPu.js";import{n as o}from"./mui-kiGMfX4-.js";import{gw as We}from"./zeni-epic-state-Bo1aGezX.js";import{G as Re,T as _e}from"./VideoPlayer-DVIeTdLq-CMw9Re6n.js";import{t as He}from"./auto-transfer-rule-D1bNopxW-BXcmbJh5.js";import{t as Ge}from"./shield-E_rJ2OWj-kTEIYW8Q.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const Ne=({isOpen:e,onClose:$})=>{const c=G(),C=N.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Me,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:$,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ae,{windowSize:c,children:[r.jsx(Oe,{children:r.jsx(qe,{onClick:$})}),r.jsxs(Fe,{children:[r.jsx(Ve,{windowSize:c,children:C.agreementDrawer.title}),r.jsx(Z,{children:C.agreementDrawer.intro}),r.jsx(_,{children:C.agreementDrawer.introBullets.map((p,g)=>r.jsx(re,{children:p},g))}),r.jsx(_,{children:C.agreementDrawer.documents.map((p,g)=>r.jsx(Ue,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ye,{children:p.links.map((w,u)=>r.jsx(Xe,{children:w.link!==""?r.jsx(ee,{href:w.link,target:"_blank",rel:"noopener noreferrer",children:w.text}):w.text},u))}):r.jsx(ee,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},g))}),r.jsx(Z,{style:{marginTop:i.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(_,{children:C.agreementDrawer.confirmBullets.map((p,g)=>r.jsx(re,{children:p},g))})]})]})})},Ae=o.div`
1
+ import{i as de,u as G,a$ as Ce,a7 as we,bB as $e,a as N,j as r,cf as fe,gO as ye,bD as ke,b as i,kL as je,cH as be,af as j,B as J,bm as K,d as f,as as A,C as a,R as v,ah as W,dX as Se,cJ as ve,L as ze,ai as Le,gw as Me,s as h,f4 as Be,bU as Pe,H as Ee,f as Te,t as Q,dT as Ie}from"./index-OJbFNHch.js";import{a as s,o as De}from"./core-tlHkQPPu.js";import{n as o}from"./mui-kiGMfX4-.js";import{gw as We}from"./zeni-epic-state-Bo1aGezX.js";import{G as Re,T as _e}from"./VideoPlayer-DVIeTdLq-C7AoMVy0.js";import{t as He}from"./auto-transfer-rule-D1bNopxW-BXcmbJh5.js";import{t as Ge}from"./shield-E_rJ2OWj-kTEIYW8Q.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const Ne=({isOpen:e,onClose:$})=>{const c=G(),C=N.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Me,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:$,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ae,{windowSize:c,children:[r.jsx(Oe,{children:r.jsx(qe,{onClick:$})}),r.jsxs(Fe,{children:[r.jsx(Ve,{windowSize:c,children:C.agreementDrawer.title}),r.jsx(Z,{children:C.agreementDrawer.intro}),r.jsx(_,{children:C.agreementDrawer.introBullets.map((p,g)=>r.jsx(re,{children:p},g))}),r.jsx(_,{children:C.agreementDrawer.documents.map((p,g)=>r.jsx(Ue,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ye,{children:p.links.map((w,u)=>r.jsx(Xe,{children:w.link!==""?r.jsx(ee,{href:w.link,target:"_blank",rel:"noopener noreferrer",children:w.text}):w.text},u))}):r.jsx(ee,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},g))}),r.jsx(Z,{style:{marginTop:i.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(_,{children:C.agreementDrawer.confirmBullets.map((p,g)=>r.jsx(re,{children:p},g))})]})]})})},Ae=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{i as j,u as v,j as t,cf as z,a as C,bG as R,b as r,C as d,dj as P,R as B,s as c,ah as I}from"./index-2CdI-B2B.js";import{a as m}from"./core-tlHkQPPu.js";import{n as a}from"./mui-kiGMfX4-.js";import{s as L}from"./BoxItem-B6Qj2tSj-aLWYhGMW.js";import{e as T}from"./commonDimensions-B2oTTz3C-DxkHqcKn.js";import{b as E}from"./StatementItem-GE_8ctAq-DDQXsDRX.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./downloadPdf-C0_jxUh_-bREzf3Cq.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new B(c[3],c[8])},_=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:i,onBackClick:b})=>{const g=j(),o=v(),f=m.createRef(),y=m.useRef(),S=i.statements.length===0,k=()=>T.transactionItemHeightResponsive.value(o),$=({index:s,style:n})=>{const l=i.statements[s];return S===!1?t.jsx(p,{windowSize:o,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(o)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:L(s,i.statements.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:o,children:t.jsx(A,{children:h.noStatements})})})})};return t.jsxs(V,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(G,{windowSize:o,children:t.jsx(R,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:i.statements.length,itemSize:k,initialScrollOffset:0,children:$})})})]})},M=a.div``,p=a.div`
1
+ import{i as j,u as v,j as t,cf as z,a as C,bG as R,b as r,C as d,dj as P,R as B,s as c,ah as I}from"./index-OJbFNHch.js";import{a as m}from"./core-tlHkQPPu.js";import{n as a}from"./mui-kiGMfX4-.js";import{s as L}from"./BoxItem-B6Qj2tSj-J1Dptt9x.js";import{e as T}from"./commonDimensions-B2oTTz3C-BcwGbjhJ.js";import{b as E}from"./StatementItem-GE_8ctAq-DrycMqry.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./downloadPdf-C0_jxUh_-xl909S0g.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new B(c[3],c[8])},_=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:i,onBackClick:b})=>{const g=j(),o=v(),f=m.createRef(),y=m.useRef(),S=i.statements.length===0,k=()=>T.transactionItemHeightResponsive.value(o),$=({index:s,style:n})=>{const l=i.statements[s];return S===!1?t.jsx(p,{windowSize:o,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(o)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:L(s,i.statements.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:o,children:t.jsx(A,{children:h.noStatements})})})})};return t.jsxs(V,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(G,{windowSize:o,children:t.jsx(R,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:i.statements.length,itemSize:k,initialScrollOffset:0,children:$})})})]})},M=a.div``,p=a.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{i as j,u as v,j as t,cf as z,a as L,bG as C,b as r,C as d,dj as R,R as P,s as c,ah as I}from"./index-2CdI-B2B.js";import{a as h}from"./core-tlHkQPPu.js";import{n as a}from"./mui-kiGMfX4-.js";import{s as T}from"./BoxItem-B6Qj2tSj-aLWYhGMW.js";import{e as B}from"./commonDimensions-B2oTTz3C-DxkHqcKn.js";import{b as E}from"./StatementItem-GE_8ctAq-DDQXsDRX.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./downloadPdf-C0_jxUh_-bREzf3Cq.js";const p=L.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(c[3],c[8])},_=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,taxLetterListView:i,onBackClick:b})=>{const g=j(),o=v(),f=h.createRef(),y=h.useRef(),k=i.taxLetters.length===0,S=()=>B.transactionItemHeightResponsive.value(o),$=({index:s,style:n})=>{const l=i.taxLetters[s];return k===!1?t.jsx(m,{windowSize:o,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(o)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"taxLetter",boxType:T(s,i.taxLetters.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:o,children:t.jsx(A,{children:p.noTaxLetter})})})})};return t.jsxs(V,{children:[t.jsx(z,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(G,{windowSize:o,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:i.taxLetters.length,itemSize:S,initialScrollOffset:0,children:$})})})]})},M=a.div``,m=a.div`
1
+ import{i as j,u as v,j as t,cf as z,a as L,bG as C,b as r,C as d,dj as R,R as P,s as c,ah as I}from"./index-OJbFNHch.js";import{a as h}from"./core-tlHkQPPu.js";import{n as a}from"./mui-kiGMfX4-.js";import{s as T}from"./BoxItem-B6Qj2tSj-J1Dptt9x.js";import{e as B}from"./commonDimensions-B2oTTz3C-BcwGbjhJ.js";import{b as E}from"./StatementItem-GE_8ctAq-DrycMqry.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./downloadPdf-C0_jxUh_-xl909S0g.js";const p=L.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(c[3],c[8])},_=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,taxLetterListView:i,onBackClick:b})=>{const g=j(),o=v(),f=h.createRef(),y=h.useRef(),k=i.taxLetters.length===0,S=()=>B.transactionItemHeightResponsive.value(o),$=({index:s,style:n})=>{const l=i.taxLetters[s];return k===!1?t.jsx(m,{windowSize:o,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(o)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"taxLetter",boxType:T(s,i.taxLetters.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:o,children:t.jsx(A,{children:p.noTaxLetter})})})})};return t.jsxs(V,{children:[t.jsx(z,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(G,{windowSize:o,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:i.taxLetters.length,itemSize:S,initialScrollOffset:0,children:$})})})]})},M=a.div``,m=a.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{a as k,j as s,i as R,bm as T,bG as z,ct as A,cu as B,bS as O,t as L,bR as P,bv as q,cv as G,bT as _,cs as K,b as $,C as N,ah as V}from"./index-2CdI-B2B.js";import{a as j,o as W}from"./core-tlHkQPPu.js";import{f6 as h}from"./zeni-epic-state-Bo1aGezX.js";import{c as S,s as I,n as C,r as Q}from"./chartTypes-BADtYh4F-X-tWlUJq.js";import{n as w}from"./mui-kiGMfX4-.js";import{t as X}from"./toCOABalancesWithID-C_Swao_b-2UkzUVnC.js";import{t as Z}from"./toChartData-DfujfQ7D-nillWsTs.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const H=w.div`
1
+ import{a as k,j as s,i as R,bm as T,bG as z,ct as A,cu as B,bS as O,t as L,bR as P,bv as q,cv as G,bT as _,cs as K,b as $,C as N,ah as V}from"./index-OJbFNHch.js";import{a as j,o as W}from"./core-tlHkQPPu.js";import{f6 as h}from"./zeni-epic-state-Bo1aGezX.js";import{c as S,s as I,n as C,r as Q}from"./chartTypes-BADtYh4F-B1Z_E0y8.js";import{n as w}from"./mui-kiGMfX4-.js";import{t as X}from"./toCOABalancesWithID-C_Swao_b-UbAQtm0o.js";import{t as Z}from"./toChartData-DfujfQ7D-DwlIUYBD.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const H=w.div`
2
2
  display: flex;
3
3
  `,J=w.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{u as k,j as i,A as L,R as l,b as t,a as R,bm as S,bG as N,bH as D,H as B,s as a,ah as A,f as E}from"./index-2CdI-B2B.js";import{a as H}from"./core-tlHkQPPu.js";import{n}from"./mui-kiGMfX4-.js";import q from"./TrendChart-ZXja3Lv--B4yGBgeP.js";import{x as K}from"./NoDataChart-C0lCeeVH-BiooJKO2.js";import{k as V}from"./InsightsSection-DJrMi3DN-DUYhJ5vl.js";import{j as W}from"./TransactionList-Brm_EWed-DwQzznTi.js";const _=n.div`
1
+ import{u as k,j as i,A as L,R as l,b as t,a as R,bm as S,bG as N,bH as D,H as B,s as a,ah as A,f as E}from"./index-OJbFNHch.js";import{a as H}from"./core-tlHkQPPu.js";import{n}from"./mui-kiGMfX4-.js";import q from"./TrendChart-ZXja3Lv--DjXJyQYi.js";import{x as K}from"./NoDataChart-C0lCeeVH-DA9wYEab.js";import{k as V}from"./InsightsSection-DJrMi3DN-BZzGhpNe.js";import{j as W}from"./TransactionList-Brm_EWed-Cq3RVCVg.js";const _=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{i as te,u as ce,a$ as Qe,bB as Ze,hZ as S,ja as J,a as G,a8 as Xe,jb as Ke,jc as je,dt as Ye,jd as Ve,j as o,cf as en,dc as nn,dd as on,de as tn,aa as cn,je as sn,A as an,jf as Z,jg as ln,bC as rn,gS as dn,R as u,ah as un,b as a,dF as we,bs as N,i3 as oe,jh as ie,s as d,d as fe,C as Ae,hq as _e,af as $e,bX as pn}from"./index-2CdI-B2B.js";import{a as X}from"./core-tlHkQPPu.js";import{n as s}from"./mui-kiGMfX4-.js";import{fU as Te,fz as mn,fA as gn,fV as xn}from"./zeni-epic-state-Bo1aGezX.js";import{R as hn}from"./VendorsAccountsSection-tcJAh1A7-COfHef35.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},qe={title:new fe("standardMedium","largeMedium")},bn=s.div`
1
+ import{i as te,u as ce,a$ as Qe,bB as Ze,hZ as S,ja as J,a as G,a8 as Xe,jb as Ke,jc as je,dt as Ye,jd as Ve,j as o,cf as en,dc as nn,dd as on,de as tn,aa as cn,je as sn,A as an,jf as Z,jg as ln,bC as rn,gS as dn,R as u,ah as un,b as a,dF as we,bs as N,i3 as oe,jh as ie,s as d,d as fe,C as Ae,hq as _e,af as $e,bX as pn}from"./index-OJbFNHch.js";import{a as X}from"./core-tlHkQPPu.js";import{n as s}from"./mui-kiGMfX4-.js";import{fU as Te,fz as mn,fA as gn,fV as xn}from"./zeni-epic-state-Bo1aGezX.js";import{R as hn}from"./VendorsAccountsSection-tcJAh1A7-Dj7jjfw5.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},qe={title:new fe("standardMedium","largeMedium")},bn=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{bB as S,j as t,jj as W,jk as q,u as F,a as O,dc as E,ac as k,dd as U,de as z,a8 as _,aa as M,dB as H,dx as T,R as b,dy as G,C as A,ak as J,A as Z,B as K,b as i,ah as Q,s as B,as as X,bM as Y}from"./index-2CdI-B2B.js";import{a as c}from"./core-tlHkQPPu.js";import{n as f}from"./mui-kiGMfX4-.js";import{bO as ee,bj as te}from"./zeni-epic-state-Bo1aGezX.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const y={labelWidth:new b(152,176,176),smallLabelWidth:new b(92,110,110),paddingBottom:new b(B[3],B[2]),width:new b(300,420,420)},ie=f.div`
1
+ import{bB as S,j as t,jj as W,jk as q,u as F,a as O,dc as E,ac as k,dd as U,de as z,a8 as _,aa as M,dB as H,dx as T,R as b,dy as G,C as A,ak as J,A as Z,B as K,b as i,ah as Q,s as B,as as X,bM as Y}from"./index-OJbFNHch.js";import{a as c}from"./core-tlHkQPPu.js";import{n as f}from"./mui-kiGMfX4-.js";import{bO as ee,bj as te}from"./zeni-epic-state-Bo1aGezX.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const y={labelWidth:new b(152,176,176),smallLabelWidth:new b(92,110,110),paddingBottom:new b(B[3],B[2]),width:new b(300,420,420)},ie=f.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{a8 as W,gT as h,bB as H,u as _,a as q,j as i,dt as A,aa as J,bm as K,gU as G,b as a,C as Q,dC as X,bC as Y,R as g,f as Z,H as ee,bM as te,bJ as ie,s as d}from"./index-2CdI-B2B.js";import{a as c}from"./core-tlHkQPPu.js";import{n as o}from"./mui-kiGMfX4-.js";import{eK as ae}from"./zeni-epic-state-Bo1aGezX.js";const x={marginRight:new g(d[3],d[8]),marginLeft:new g(d[3],d[8]),height:new g(d[5],62)},m="additionalDocumentsForm",s="ssnCard";function ge(e){const{filesEndPoint:w,authParams:C,companyOfficer:t,updateStatus:u,onClose:y,onEditFileName:I,onDeleteFile:D,updateFilesEntity:z,onSendForVerificationClick:E,onCompanyOfficerUpdated:P}=e,l=W({mode:"all",reValidateMode:"onChange",defaultValues:c.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:h(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[B,S]=c.useState(!1),[L,N]=c.useState(!1),F=H(u.fetchState),b=t?.deleteFileStatusById??{},T=t?.updateFileStatusById??{},O=Object.values(b??{}).filter(r=>r!=null),R=ae(O);c.useEffect(()=>{F==="In-Progress"&&u.fetchState==="Completed"&&l.reset({additionalDocumentsForm:{selectDocumentType:s,front:h(!0,t?.additionalFiles??[],s)}})},[F,u,l,t?.additionalFiles]);const n=_(),p=q.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:f}=p,V=`${f.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,M=l.handleSubmit(()=>{R.fetchState!=="In-Progress"&&E?.(t?.officerType??"Officer_1")});return c.useEffect(()=>{const r=l.watch(($,{name:j})=>{j!=null&&$!=null&&A(()=>(async(U,k)=>{const v=k[m].front;U.includes("front")&&v?.fileId!=null?(P?.(t?.officerType??"Officer_1",[v?.fileId]),S(!0)):S(!1)})(j,$))});return()=>{r.unsubscribe()}}),i.jsx(J,{...l,children:i.jsxs("form",{id:m,onSubmit:M,children:[i.jsxs(ce,{size:n,children:[i.jsx(re,{size:n,children:i.jsx(de,{size:n,onClick:y,"data-testid":K("upload-additional-documents-close",m)})}),i.jsxs(me,{children:[i.jsx(se,{children:f.title[s]}),i.jsx(oe,{children:f.description[s]})]}),i.jsx(ne,{children:i.jsx(le,{children:V})}),i.jsx(G,{name:m,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:X,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${Q.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:h(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:b,updateFileStatusById:T,filesEndPoint:w,authParams:C,hasError:L,onEditFileName:I,onDeleteFile:D,updateFilesEntity:z,onFileSizeError:r=>N(r),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),B?i.jsx(Y,{formId:m,primaryBtn:{label:p.sendForVerificationButton,style:{width:"auto",minWidth:n==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:p.cancel,style:{width:n==="small"?"auto":"181px"},onClick:y},style:{position:"absolute",width:"100%"}}):null]})})}const se=o(ee)`
1
+ import{a8 as W,gT as h,bB as H,u as _,a as q,j as i,dt as A,aa as J,bm as K,gU as G,b as a,C as Q,dC as X,bC as Y,R as g,f as Z,H as ee,bM as te,bJ as ie,s as d}from"./index-OJbFNHch.js";import{a as c}from"./core-tlHkQPPu.js";import{n as o}from"./mui-kiGMfX4-.js";import{eK as ae}from"./zeni-epic-state-Bo1aGezX.js";const x={marginRight:new g(d[3],d[8]),marginLeft:new g(d[3],d[8]),height:new g(d[5],62)},m="additionalDocumentsForm",s="ssnCard";function ge(e){const{filesEndPoint:w,authParams:C,companyOfficer:t,updateStatus:u,onClose:y,onEditFileName:I,onDeleteFile:D,updateFilesEntity:z,onSendForVerificationClick:E,onCompanyOfficerUpdated:P}=e,l=W({mode:"all",reValidateMode:"onChange",defaultValues:c.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:h(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[B,S]=c.useState(!1),[L,N]=c.useState(!1),F=H(u.fetchState),b=t?.deleteFileStatusById??{},T=t?.updateFileStatusById??{},O=Object.values(b??{}).filter(r=>r!=null),R=ae(O);c.useEffect(()=>{F==="In-Progress"&&u.fetchState==="Completed"&&l.reset({additionalDocumentsForm:{selectDocumentType:s,front:h(!0,t?.additionalFiles??[],s)}})},[F,u,l,t?.additionalFiles]);const n=_(),p=q.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:f}=p,V=`${f.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,M=l.handleSubmit(()=>{R.fetchState!=="In-Progress"&&E?.(t?.officerType??"Officer_1")});return c.useEffect(()=>{const r=l.watch(($,{name:j})=>{j!=null&&$!=null&&A(()=>(async(U,k)=>{const v=k[m].front;U.includes("front")&&v?.fileId!=null?(P?.(t?.officerType??"Officer_1",[v?.fileId]),S(!0)):S(!1)})(j,$))});return()=>{r.unsubscribe()}}),i.jsx(J,{...l,children:i.jsxs("form",{id:m,onSubmit:M,children:[i.jsxs(ce,{size:n,children:[i.jsx(re,{size:n,children:i.jsx(de,{size:n,onClick:y,"data-testid":K("upload-additional-documents-close",m)})}),i.jsxs(me,{children:[i.jsx(se,{children:f.title[s]}),i.jsx(oe,{children:f.description[s]})]}),i.jsx(ne,{children:i.jsx(le,{children:V})}),i.jsx(G,{name:m,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:X,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${Q.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:h(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:b,updateFileStatusById:T,filesEndPoint:w,authParams:C,hasError:L,onEditFileName:I,onDeleteFile:D,updateFilesEntity:z,onFileSizeError:r=>N(r),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),B?i.jsx(Y,{formId:m,primaryBtn:{label:p.sendForVerificationButton,style:{width:"auto",minWidth:n==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"},cancelBtn:{label:p.cancel,style:{width:n==="small"?"auto":"181px"},onClick:y},style:{position:"absolute",width:"100%"}}):null]})})}const se=o(ee)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{bB as o,a as E,j as n,jj as v,jk as k}from"./index-2CdI-B2B.js";import{a as t}from"./core-tlHkQPPu.js";import"./mui-kiGMfX4-.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const B=({vendorViewDetails:S,isExpressPayPage:r,onSaveVendor:h,onGetOtp:d,onResendOtp:m,onVerifyOtp:V,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:c,newVendorState:g}=S,i=Object.assign({},c??g),[C,s]=t.useState(!1),[O,a]=t.useState(e.initiateVerification===!0),u=o(i?.saveStatus?.fetchState),P=o(e.userVerificationStatus.fetchState),f=o(e.otpVerificationStatus?.fetchState),l=o(e.sendOtpStatus.fetchState),x=E.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return t.useEffect(()=>{u==="In-Progress"&&i?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&a(!0)},[i,e,u]),t.useEffect(()=>{P==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(s(!1),h())},[e.userVerificationStatus]),t.useEffect(()=>{f==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[f,e,p]),t.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[l,e.sendOtpStatus.fetchState]),n.jsx(n.Fragment,{children:C===!0?n.jsx(v,{showHelperText:!r,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:V,onCancelClick:()=>s(!1),onResendOtp:m,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?n.jsx(k,{showHelperText:!r,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:r?x:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:j=>d?.(j)}}):null})};export{B as default};
1
+ import{bB as o,a as E,j as n,jj as v,jk as k}from"./index-OJbFNHch.js";import{a as t}from"./core-tlHkQPPu.js";import"./mui-kiGMfX4-.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const B=({vendorViewDetails:S,isExpressPayPage:r,onSaveVendor:h,onGetOtp:d,onResendOtp:m,onVerifyOtp:V,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:c,newVendorState:g}=S,i=Object.assign({},c??g),[C,s]=t.useState(!1),[O,a]=t.useState(e.initiateVerification===!0),u=o(i?.saveStatus?.fetchState),P=o(e.userVerificationStatus.fetchState),f=o(e.otpVerificationStatus?.fetchState),l=o(e.sendOtpStatus.fetchState),x=E.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return t.useEffect(()=>{u==="In-Progress"&&i?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&a(!0)},[i,e,u]),t.useEffect(()=>{P==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(s(!1),h())},[e.userVerificationStatus]),t.useEffect(()=>{f==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[f,e,p]),t.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[l,e.sendOtpStatus.fetchState]),n.jsx(n.Fragment,{children:C===!0?n.jsx(v,{showHelperText:!r,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:V,onCancelClick:()=>s(!1),onResendOtp:m,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?n.jsx(k,{showHelperText:!r,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:r?x:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:j=>d?.(j)}}):null})};export{B as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-2CdI-B2B.js";import{a as d}from"./core-tlHkQPPu.js";import{T as k}from"./ACHDetailsPage-StkGXn1c-DnerZ6yw.js";import"./mui-kiGMfX4-.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./BankAccountWarningSection-DGSw5Uvq-4-yHVJQf.js";import"./MagicLinkTitleSection-CzGvBYzB-DMlmyXfy.js";import"./BankAccountSection-CwPIXA5w-DE6FMEHD.js";const D=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:c})=>{const{bankAccountCreationState:o,bankNameByRouting:m,bankAccountToCreate:s,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:s,bankAccountCreationState:o,bankNameByRouting:m,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:c})};export{D as default};
1
+ import{j as u}from"./index-OJbFNHch.js";import{a as d}from"./core-tlHkQPPu.js";import{T as k}from"./ACHDetailsPage-StkGXn1c-QVuWqUed.js";import"./mui-kiGMfX4-.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./BankAccountWarningSection-DGSw5Uvq-DbOA1NjS.js";import"./MagicLinkTitleSection-CzGvBYzB-B3pEwVq_.js";import"./BankAccountSection-CwPIXA5w-DDDsPYwm.js";const D=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:c})=>{const{bankAccountCreationState:o,bankNameByRouting:m,bankAccountToCreate:s,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:s,bankAccountCreationState:o,bankNameByRouting:m,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:c})};export{D as default};
@@ -1,4 +1,4 @@
1
- import{a as R,i as Ee,u as le,R as g,b3 as we,a8 as ut,it as Ue,iu as qe,iv as Ge,iw as Se,ix as vt,bs as xt,dt as yt,j as t,cf as bt,aa as ft,iy as wt,iz as ve,s as n,du as St,bC as Ct,iA as $t,b as s,eI as Dt,cA as S,eH as Tt,dQ as jt,bv as ce,dF as Lt,i3 as Ce,iB as Vt,iC as It,iD as kt,dv as Ot,dw as Pt,dx as Nt,iE as Mt,hy as _t,dD as zt,iF as Ft,iG as Rt,C as F,d6 as Ye,iH as At,d as $e,e as Qe,bH as Ze,af as Xe,eQ as Wt,bz as Ht,ah as Bt}from"./index-2CdI-B2B.js";import{a as w}from"./core-tlHkQPPu.js";import{n as o,c as Et}from"./mui-kiGMfX4-.js";import{b as Ut}from"./omit-5LZGrM3q-cCGLyNB9.js";import{bi as De,fQ as qt,fR as Gt}from"./zeni-epic-state-Bo1aGezX.js";import{n as Yt}from"./SubTabSwitcher-D66ATBlk-cmQvyV1w.js";import{j as Qt}from"./TransactionList-Brm_EWed-DwQzznTi.js";import{W as Zt}from"./TrendWithTransactions-Bacaqvbc-CDzpSeHr.js";import{r as Xt,t as Jt}from"./arrow-south-east-round-D5pI7KCC-DyTRFc-f.js";import{c as Kt}from"./LabeledAddressValueField-C74ZzWQ3-j8ky07qz.js";import{m as ea}from"./LabeledDropDownFormattedTextField-B4_WiAaD-BNmJ6YJs.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./_baseUnset-WRwI4F7w-C17FI5GR.js";import"./flatten-CIVR5K8J-DvOZeE7b.js";import"./BoxItem-B6Qj2tSj-aLWYhGMW.js";import"./commonDimensions-B2oTTz3C-DxkHqcKn.js";import"./groupBy-LtwzERV9-C02NtlDV.js";import"./map-CnboTxlt-CZn0FfBt.js";import"./orderBy-D3W4CDe6-BoPe-dQB.js";import"./TrendChart-ZXja3Lv--B4yGBgeP.js";import"./chartTypes-BADtYh4F-X-tWlUJq.js";import"./toCOABalancesWithID-C_Swao_b-2UkzUVnC.js";import"./toChartData-DfujfQ7D-nillWsTs.js";import"./NoDataChart-C0lCeeVH-BiooJKO2.js";import"./InsightsSection-DJrMi3DN-DUYhJ5vl.js";import"./NavigationDots-DO5y6mdV-DGnlFBBn.js";const ta=o.div`
1
+ import{a as R,i as Ee,u as le,R as g,b3 as we,a8 as ut,it as Ue,iu as qe,iv as Ge,iw as Se,ix as vt,bs as xt,dt as yt,j as t,cf as bt,aa as ft,iy as wt,iz as ve,s as n,du as St,bC as Ct,iA as $t,b as s,eI as Dt,cA as S,eH as Tt,dQ as jt,bv as ce,dF as Lt,i3 as Ce,iB as Vt,iC as It,iD as kt,dv as Ot,dw as Pt,dx as Nt,iE as Mt,hy as _t,dD as zt,iF as Ft,iG as Rt,C as F,d6 as Ye,iH as At,d as $e,e as Qe,bH as Ze,af as Xe,eQ as Wt,bz as Ht,ah as Bt}from"./index-OJbFNHch.js";import{a as w}from"./core-tlHkQPPu.js";import{n as o,c as Et}from"./mui-kiGMfX4-.js";import{b as Ut}from"./omit-5LZGrM3q-Dkas3Ge8.js";import{bi as De,fQ as qt,fR as Gt}from"./zeni-epic-state-Bo1aGezX.js";import{n as Yt}from"./SubTabSwitcher-D66ATBlk-DOhgjMp3.js";import{j as Qt}from"./TransactionList-Brm_EWed-Cq3RVCVg.js";import{W as Zt}from"./TrendWithTransactions-Bacaqvbc-CuLqX3Nb.js";import{r as Xt,t as Jt}from"./arrow-south-east-round-D5pI7KCC-DyTRFc-f.js";import{c as Kt}from"./LabeledAddressValueField-C74ZzWQ3-CvAM7L7i.js";import{m as ea}from"./LabeledDropDownFormattedTextField-B4_WiAaD-C8oOx3AR.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./_baseUnset-WRwI4F7w-SKv6CaOr.js";import"./flatten-CIVR5K8J-D-QSFstn.js";import"./BoxItem-B6Qj2tSj-J1Dptt9x.js";import"./commonDimensions-B2oTTz3C-BcwGbjhJ.js";import"./groupBy-LtwzERV9-DfsHYWjt.js";import"./map-CnboTxlt-iF8o7Kja.js";import"./orderBy-D3W4CDe6-C2Pj0hxa.js";import"./TrendChart-ZXja3Lv--DjXJyQYi.js";import"./chartTypes-BADtYh4F-B1Z_E0y8.js";import"./toCOABalancesWithID-C_Swao_b-UbAQtm0o.js";import"./toChartData-DfujfQ7D-DwlIUYBD.js";import"./NoDataChart-C0lCeeVH-DA9wYEab.js";import"./InsightsSection-DJrMi3DN-BZzGhpNe.js";import"./NavigationDots-DO5y6mdV-CX8opgkb.js";const ta=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{j as S}from"./index-2CdI-B2B.js";import{a as C}from"./core-tlHkQPPu.js";import{z as b}from"./DomesticWireDetailsPage-C_flRkmQ-DX47g_ws.js";import"./mui-kiGMfX4-.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./BankAccountSection-CwPIXA5w-DE6FMEHD.js";import"./MagicLinkTitleSection-CzGvBYzB-DMlmyXfy.js";import"./BankAccountWarningSection-DGSw5Uvq-4-yHVJQf.js";import"./MailingDetailsSection-C_TtoLpj-DODfBmzp.js";import"./LabeledAddressValueField-C74ZzWQ3-j8ky07qz.js";const w=({vendorViewDetails:r,bankAccountContext:e,isDisabled:s,onSaveHandler:d,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:c,onAddressClick:m})=>{const{bankAccountCreationState:o,editVendorState:n,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,t=Object.assign({},n??p);return C.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t?.saveStatus?.fetchState,a,e]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:s,onSaveHandler:d,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:m,onFetchBankName:c})};export{w as default};
1
+ import{j as S}from"./index-OJbFNHch.js";import{a as C}from"./core-tlHkQPPu.js";import{z as b}from"./DomesticWireDetailsPage-C_flRkmQ-D2Y9zL_T.js";import"./mui-kiGMfX4-.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./BankAccountSection-CwPIXA5w-DDDsPYwm.js";import"./MagicLinkTitleSection-CzGvBYzB-B3pEwVq_.js";import"./BankAccountWarningSection-DGSw5Uvq-DbOA1NjS.js";import"./MailingDetailsSection-C_TtoLpj-DxhbJD-R.js";import"./LabeledAddressValueField-C74ZzWQ3-CvAM7L7i.js";const w=({vendorViewDetails:r,bankAccountContext:e,isDisabled:s,onSaveHandler:d,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:c,onAddressClick:m})=>{const{bankAccountCreationState:o,editVendorState:n,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,t=Object.assign({},n??p);return C.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t?.saveStatus?.fetchState,a,e]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:s,onSaveHandler:d,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:m,onFetchBankName:c})};export{w as default};
@@ -1,4 +1,4 @@
1
- import{u as ce,i as Ae,a as ue,a8 as ze,gi as Y,iI as pe,dt as Be,dN as Re,gj as ke,R as b,j as t,cf as Ee,bm as Oe,aa as We,dv as L,b as s,dz as Me,iE as He,hy as qe,dD as Ge,iF as Ke,iG as Ue,dL as _e,bC as Ye,s as n,f as Je,cA as D,dr as Qe,iJ as Ze,C as N,S as Xe,d6 as et,ah as ge,fY as tt,iK as st,iL as lt,iM as K,gk as at}from"./index-2CdI-B2B.js";import{a as m}from"./core-tlHkQPPu.js";import{n as r}from"./mui-kiGMfX4-.js";import{m as it}from"./LabeledDropDownFormattedTextField-B4_WiAaD-BNmJ6YJs.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const ae={largeLabelWidth:new b(160,210,230),paddingBottom:new b(n[3],n[2])},S=(e,a)=>`${e}.${a}`;function rt(e){const{loadingState:a}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||a==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:a,sectionId:o,isDisabled:p,style:M}){const O=ce(),c=ue.getLocalizedStrings().companyPassport,u=ae.largeLabelWidth.value(O);return t.jsxs(t.Fragment,{children:[t.jsx(ie,{type:"hidden",value:"noAutoFill"}),t.jsx(dt,{style:M,children:t.jsxs(nt,{children:[t.jsx(st,{isDisabled:p,label:{label:c.address.street,width:u,showBullet:!0},addressField:{name:S(o,"street"),defaultValue:{addressString:a?.street[0]??"",addressValue:a!=null?pe(a):void 0},placeholder:K(c.address.street),registerOptions:{required:!0,validate:$=>$!=null&&!!$.addressString},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(L,{isDisabled:p,label:{label:c.address.suite,width:u,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:S(o,"suite"),defaultValue:a?.street[1],placeholder:c.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(L,{isDisabled:p,label:{label:c.address.city,width:u,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(o,"city"),defaultValue:a?.city,placeholder:K(c.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(L,{isDisabled:p,label:{label:c.address.state,width:u,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(o,"state"),defaultValue:a?.state,placeholder:K(c.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(ie,{readOnly:!0,value:"noAutoFill"}),t.jsx(at,{isDisabled:p,label:{label:c.address.country,width:u,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:S(o,"country"),placeholder:c.address.countryPlaceholder,defaultValue:Y(a?.country),registerOptions:{validate:$=>$!=null&&!!$.selectedOption}}}),t.jsx(L,{isDisabled:p,label:{label:c.address.zipCode,width:u,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(o,"postalCode"),defaultValue:a?.postalCode,placeholder:c.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(L,{isDisabled:p,label:{label:c.address.secondaryInfo,width:u,showBullet:!0},style:{paddingBottom:ae.paddingBottom.valuePx(O),width:"100%",outline:"none"},text:{type:"text",name:S(o,"secondaryInfo"),defaultValue:a?.street[2],placeholder:c.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const dt=r.div`
1
+ import{u as ce,i as Ae,a as ue,a8 as ze,gi as Y,iI as pe,dt as Be,dN as Re,gj as ke,R as b,j as t,cf as Ee,bm as Oe,aa as We,dv as L,b as s,dz as Me,iE as He,hy as qe,dD as Ge,iF as Ke,iG as Ue,dL as _e,bC as Ye,s as n,f as Je,cA as D,dr as Qe,iJ as Ze,C as N,S as Xe,d6 as et,ah as ge,fY as tt,iK as st,iL as lt,iM as K,gk as at}from"./index-OJbFNHch.js";import{a as m}from"./core-tlHkQPPu.js";import{n as r}from"./mui-kiGMfX4-.js";import{m as it}from"./LabeledDropDownFormattedTextField-B4_WiAaD-C8oOx3AR.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const ae={largeLabelWidth:new b(160,210,230),paddingBottom:new b(n[3],n[2])},S=(e,a)=>`${e}.${a}`;function rt(e){const{loadingState:a}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||a==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:a,sectionId:o,isDisabled:p,style:M}){const O=ce(),c=ue.getLocalizedStrings().companyPassport,u=ae.largeLabelWidth.value(O);return t.jsxs(t.Fragment,{children:[t.jsx(ie,{type:"hidden",value:"noAutoFill"}),t.jsx(dt,{style:M,children:t.jsxs(nt,{children:[t.jsx(st,{isDisabled:p,label:{label:c.address.street,width:u,showBullet:!0},addressField:{name:S(o,"street"),defaultValue:{addressString:a?.street[0]??"",addressValue:a!=null?pe(a):void 0},placeholder:K(c.address.street),registerOptions:{required:!0,validate:$=>$!=null&&!!$.addressString},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(L,{isDisabled:p,label:{label:c.address.suite,width:u,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:S(o,"suite"),defaultValue:a?.street[1],placeholder:c.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(L,{isDisabled:p,label:{label:c.address.city,width:u,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(o,"city"),defaultValue:a?.city,placeholder:K(c.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(L,{isDisabled:p,label:{label:c.address.state,width:u,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(o,"state"),defaultValue:a?.state,placeholder:K(c.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(ie,{readOnly:!0,value:"noAutoFill"}),t.jsx(at,{isDisabled:p,label:{label:c.address.country,width:u,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:S(o,"country"),placeholder:c.address.countryPlaceholder,defaultValue:Y(a?.country),registerOptions:{validate:$=>$!=null&&!!$.selectedOption}}}),t.jsx(L,{isDisabled:p,label:{label:c.address.zipCode,width:u,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:S(o,"postalCode"),defaultValue:a?.postalCode,placeholder:c.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(L,{isDisabled:p,label:{label:c.address.secondaryInfo,width:u,showBullet:!0},style:{paddingBottom:ae.paddingBottom.valuePx(O),width:"100%",outline:"none"},text:{type:"text",name:S(o,"secondaryInfo"),defaultValue:a?.street[2],placeholder:c.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const dt=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{u as oe,a$ as $n,i as nn,a8 as Bn,ju as Ne,dt as An,a_ as yn,jv as ne,jw as he,jx as ge,jy as we,jz as ae,a as be,j as n,jq as Fn,aa as _n,cf as En,a9 as Un,dc as Wn,dd as qn,de as Gn,cJ as Hn,bm as Q,cz as Qn,da as Kn,bG as Jn,eC as Yn,dj as Xn,R as w,A as Zn,G as Re,b as t,br as jn,ah as Ie,bq as et,s as c,af as Se,di as nt,eI as Cn,cA as Me,bW as Rn,dq as tt,cP as ot,eX as rt,bM as He,c6 as tn,C as F,g as Vn,ii as it,ex as ln,dQ as Je,jA as st,jB as Ye,ak as lt,cH as Be,f6 as at,jC as an,fN as dn,cq as dt,eR as ct,B as cn,jD as mt,dF as pt,dN as ut,dO as ht,fT as gt,ai as kn,jE as wt,cp as te,i5 as vt,aw as xt,av as ft,eQ as bt,t as Mn,d as St,h as $t,bt as Ze}from"./index-2CdI-B2B.js";import{a as x,d as yt}from"./core-tlHkQPPu.js";import{n as r,c as en}from"./mui-kiGMfX4-.js";import{fY as jt,ea as Ct}from"./zeni-epic-state-Bo1aGezX.js";import{h as Rt}from"./Menu-pyYbFxsT-C1MdlXRT.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const Nn=({steps:e})=>{const l=oe();return n.jsx(kt,{windowSize:l,children:e.map((m,d)=>n.jsxs(Vt,{children:[n.jsx(Nt,{children:d!==e.length-1?d+1:n.jsx(It,{})}),n.jsx(Ot,{children:m}),d<e.length-1?n.jsx(Mt,{}):null]},`step_${d}`))})},Vt=r.div`
1
+ import{u as oe,a$ as $n,i as nn,a8 as Bn,ju as Ne,dt as An,a_ as yn,jv as ne,jw as he,jx as ge,jy as we,jz as ae,a as be,j as n,jq as Fn,aa as _n,cf as En,a9 as Un,dc as Wn,dd as qn,de as Gn,cJ as Hn,bm as Q,cz as Qn,da as Kn,bG as Jn,eC as Yn,dj as Xn,R as w,A as Zn,G as Re,b as t,br as jn,ah as Ie,bq as et,s as c,af as Se,di as nt,eI as Cn,cA as Me,bW as Rn,dq as tt,cP as ot,eX as rt,bM as He,c6 as tn,C as F,g as Vn,ii as it,ex as ln,dQ as Je,jA as st,jB as Ye,ak as lt,cH as Be,f6 as at,jC as an,fN as dn,cq as dt,eR as ct,B as cn,jD as mt,dF as pt,dN as ut,dO as ht,fT as gt,ai as kn,jE as wt,cp as te,i5 as vt,aw as xt,av as ft,eQ as bt,t as Mn,d as St,h as $t,bt as Ze}from"./index-OJbFNHch.js";import{a as x,d as yt}from"./core-tlHkQPPu.js";import{n as r,c as en}from"./mui-kiGMfX4-.js";import{fY as jt,ea as Ct}from"./zeni-epic-state-Bo1aGezX.js";import{h as Rt}from"./Menu-pyYbFxsT-BjDDhfv4.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const Nn=({steps:e})=>{const l=oe();return n.jsx(kt,{windowSize:l,children:e.map((m,d)=>n.jsxs(Vt,{children:[n.jsx(Nt,{children:d!==e.length-1?d+1:n.jsx(It,{})}),n.jsx(Ot,{children:m}),d<e.length-1?n.jsx(Mt,{}):null]},`step_${d}`))})},Vt=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as t,u as K,a8 as ye,a as G,dt as be,b3 as fe,dc as xe,dd as ve,de as Ce,aa as we,bC as $e,R as d,gi as ne,gj as De,b as g,bJ as je,dF as re,i as se,gk as Te,gl as Y,dL as J,bK as H,dv as Se,fF as Fe,s as a,dN as Le,bm as ke,A as Oe,C as _,d as Ae,cH as ze,af as Ie,cq as Re}from"./index-2CdI-B2B.js";import{a as R}from"./core-tlHkQPPu.js";import{n as y}from"./mui-kiGMfX4-.js";import{bi as Z}from"./zeni-epic-state-Bo1aGezX.js";import{u as We,j as Pe}from"./BankAccountWarningSection-DGSw5Uvq-4-yHVJQf.js";import{g as Be}from"./MailingDetailsSection-C_TtoLpj-DODfBmzp.js";import{O as Ee}from"./CurrencySelectField-DR8cDrIS-TTiuldkA.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./LabeledAddressValueField-C74ZzWQ3-j8ky07qz.js";const k={width:new d(343,580,726),height:new d(a[6],a[6]),controlHeight:new d(a[6],a[6]),paddingTopBottom:new d(a[2],a[2]),marginRight:new d(a[2],a[2]),labelMarginLeft:new d(a[3],a[4]),labelMarginRight:new d(a[3],a[4]),labelMarginTop:new d(a[2],a[2])},de={infoLabel:new Ae("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:l,currencySelectField:i,style:f,errorInfoLabel:c,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:j,additionalInfoLabel:C,showAdditionalInfoLabel:F=!0}){const w=K(),{formState:{errors:b}}=re(),$=se(),D=Le(b,i.name);return t.jsxs(Me,{size:w,style:f,isDisabled:e!=null,isError:D,"data-testid":ke("labeled-currency-field",i.name),children:[t.jsx(J,{isDisabled:e,label:l.label,htmlFor:i.name,style:{marginLeft:k.labelMarginLeft.value(w),marginRight:k.labelMarginRight.value(w),marginTop:k.labelMarginTop.value(w),width:l.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(He,{labelWidth:l.width,children:[t.jsx(Ee,{...i,isDisabled:e,style:{display:"flex",flexGrow:1,height:k.controlHeight.value(w)}}),D?t.jsx(Ve,{windowSize:w,hasError:D,children:c}):null,(()=>{if(n===!0)return t.jsx(Ue,{children:t.jsx(Oe,{size:"Small",start:!0})});if(F&&C||D){let p=null;return o===!0&&F&&j&&(p=t.jsx(ze,{placement:w==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(qe,{children:j}),children:t.jsx(Ge,{children:t.jsx(Je,{})})})),t.jsxs(Ne,{size:w,isError:D,hasToolTip:o,isDisabled:e!=null,children:[p,C]})}})()]})]})}const Me=y.div`
1
+ import{j as t,u as K,a8 as ye,a as G,dt as be,b3 as fe,dc as xe,dd as ve,de as Ce,aa as we,bC as $e,R as d,gi as ne,gj as De,b as g,bJ as je,dF as re,i as se,gk as Te,gl as Y,dL as J,bK as H,dv as Se,fF as Fe,s as a,dN as Le,bm as ke,A as Oe,C as _,d as Ae,cH as ze,af as Ie,cq as Re}from"./index-OJbFNHch.js";import{a as R}from"./core-tlHkQPPu.js";import{n as y}from"./mui-kiGMfX4-.js";import{bi as Z}from"./zeni-epic-state-Bo1aGezX.js";import{u as We,j as Pe}from"./BankAccountWarningSection-DGSw5Uvq-DbOA1NjS.js";import{g as Be}from"./MailingDetailsSection-C_TtoLpj-DxhbJD-R.js";import{O as Ee}from"./CurrencySelectField-DR8cDrIS-BWQqgMWL.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./LabeledAddressValueField-C74ZzWQ3-CvAM7L7i.js";const k={width:new d(343,580,726),height:new d(a[6],a[6]),controlHeight:new d(a[6],a[6]),paddingTopBottom:new d(a[2],a[2]),marginRight:new d(a[2],a[2]),labelMarginLeft:new d(a[3],a[4]),labelMarginRight:new d(a[3],a[4]),labelMarginTop:new d(a[2],a[2])},de={infoLabel:new Ae("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:l,currencySelectField:i,style:f,errorInfoLabel:c,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:j,additionalInfoLabel:C,showAdditionalInfoLabel:F=!0}){const w=K(),{formState:{errors:b}}=re(),$=se(),D=Le(b,i.name);return t.jsxs(Me,{size:w,style:f,isDisabled:e!=null,isError:D,"data-testid":ke("labeled-currency-field",i.name),children:[t.jsx(J,{isDisabled:e,label:l.label,htmlFor:i.name,style:{marginLeft:k.labelMarginLeft.value(w),marginRight:k.labelMarginRight.value(w),marginTop:k.labelMarginTop.value(w),width:l.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(He,{labelWidth:l.width,children:[t.jsx(Ee,{...i,isDisabled:e,style:{display:"flex",flexGrow:1,height:k.controlHeight.value(w)}}),D?t.jsx(Ve,{windowSize:w,hasError:D,children:c}):null,(()=>{if(n===!0)return t.jsx(Ue,{children:t.jsx(Oe,{size:"Small",start:!0})});if(F&&C||D){let p=null;return o===!0&&F&&j&&(p=t.jsx(ze,{placement:w==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(qe,{children:j}),children:t.jsx(Ge,{children:t.jsx(Je,{})})})),t.jsxs(Ne,{size:w,isError:D,hasToolTip:o,isDisabled:e!=null,children:[p,C]})}})()]})]})}const Me=y.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{j as l}from"./index-2CdI-B2B.js";import{a as B}from"./core-tlHkQPPu.js";import{k as u}from"./InternationalWireSwiftDetailsPage-_4BMP68N-DzpoTdAd.js";import"./mui-kiGMfX4-.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./BankAccountWarningSection-DGSw5Uvq-4-yHVJQf.js";import"./MailingDetailsSection-C_TtoLpj-DODfBmzp.js";import"./LabeledAddressValueField-C74ZzWQ3-j8ky07qz.js";import"./MagicLinkTitleSection-CzGvBYzB-DMlmyXfy.js";const V=({vendorViewDetails:o,bankAccountContext:n,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:k,newVendorState:p,bankNameBySwift:S,fetchBankNameBySwiftStatus:f}=o,t={...k??p};return B.useEffect(()=>{(n==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,n]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:S,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:f,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{V as default};
1
+ import{j as l}from"./index-OJbFNHch.js";import{a as B}from"./core-tlHkQPPu.js";import{k as u}from"./InternationalWireSwiftDetailsPage-_4BMP68N-D2TibYHD.js";import"./mui-kiGMfX4-.js";import"./sentry-Dhk5jNhq.js";import"./zeni-epic-state-Bo1aGezX.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./BankAccountWarningSection-DGSw5Uvq-DbOA1NjS.js";import"./MailingDetailsSection-C_TtoLpj-DxhbJD-R.js";import"./LabeledAddressValueField-C74ZzWQ3-CvAM7L7i.js";import"./MagicLinkTitleSection-CzGvBYzB-B3pEwVq_.js";const V=({vendorViewDetails:o,bankAccountContext:n,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:k,newVendorState:p,bankNameBySwift:S,fetchBankNameBySwiftStatus:f}=o,t={...k??p};return B.useEffect(()=>{(n==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,n]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:S,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:f,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{V as default};
@@ -1,4 +1,4 @@
1
- import{u as ie,i as oe,a as te,R as c,hZ as w,bs as L,j as i,ji as g,jh as m,b as n,d as re,C as ne,eP as se,af as le,s as a}from"./index-2CdI-B2B.js";import{n as l}from"./mui-kiGMfX4-.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},k={title:new re("standardMedium","largeMedium")},de=l.div`
1
+ import{u as ie,i as oe,a as te,R as c,hZ as w,bs as L,j as i,ji as g,jh as m,b as n,d as re,C as ne,eP as se,af as le,s as a}from"./index-OJbFNHch.js";import{n as l}from"./mui-kiGMfX4-.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},k={title:new re("standardMedium","largeMedium")},de=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>s.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{bB as N,a8 as M,a as L,j as r,cG as R,a9 as a,aa as T,cH as _,af as f,cI as H,b as o,B as I,cJ as B,ah as O,cK as z,cL as k,cq as A,C as y,bM as S,cM as q}from"./index-2CdI-B2B.js";import{a as s}from"./core-tlHkQPPu.js";import{n as t}from"./mui-kiGMfX4-.js";import{bj as G}from"./zeni-epic-state-Bo1aGezX.js";import{A as J,Z as D}from"./AccountLockedInfoModal-BS5pz9ze-B8_cH9pi.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./handshake-D4b9T-E0-BvZJz7M_.js";const K=e=>{if(!e)return"";try{const l=z(e);if(!l){const i=e.replace(/\D/g,"");if(i.length>=4){const g=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${g}`}return k(e)||e}const d=l.countryCallingCode,u=l.nationalNumber;return`+${d} (•••) ••• ${u.slice(-4)}`}catch{const l=e.replace(/\D/g,"");if(l.length>=4){const d=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${d}`}return k(e)||e}},n=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",Ee=e=>{const l=e.verifyOtpFetchState==="In-Progress",[d,u]=s.useState(!1),[i,g]=s.useState(!1),[j,P]=s.useState(0),[v,w]=s.useState(120),[p,C]=s.useState(30),E=N(e.verifyOtpFetchState),h=M({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),$=h.watch(x),V=n.footerHelperText.replace(/<button_text>/,n.verify);return s.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(u(!0),P(c=>c+1),h.setValue(x,""))},[E,e.verifyOtpFetchState,h]),s.useEffect(()=>{if(v<=0)return void g(!0);const c=setInterval(()=>{w(m=>m<=1?0:m-1)},1e3);return()=>clearInterval(c)},[v]),s.useEffect(()=>{if(p<=0)return;const c=setInterval(()=>{C(m=>m<=1?0:m-1)},1e3);return()=>clearInterval(c)},[p]),r.jsx(R,{open:!0,children:r.jsxs(U,{children:[r.jsx(a,{controller:j>2,children:r.jsx(J,{unlockDate:G().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(a,{controller:j<=2,children:r.jsx(T,{...h,children:r.jsxs(ce,{children:[r.jsxs(se,{children:[r.jsx(W,{children:n.verifyDeviceTitle}),r.jsx(X,{children:n.verifyDeviceDescription}),r.jsxs(Q,{children:[r.jsx(Z,{children:K(e.phoneNumber+"")}),r.jsx(_,{placement:"top",title:r.jsxs(f,{children:[n.changePhoneNumberHelperText,r.jsx(xe,{href:`mailto:${D}`,children:D})]}),enterDelay:600,children:r.jsx(me,{})})]})]}),r.jsxs(Y,{children:[r.jsx(H,{value:$,valueLength:6,hasError:i===!0||d===!0,style:{margin:o.sp0},onChange:c=>{h.setValue(x,c),u(!1)}}),r.jsx(a,{controller:i===!1,children:r.jsx(F,{children:r.jsxs(de,{children:[n.codeExpiresIn," ",(b=v,`${Math.floor(b/60)}:${(b%60).toString().padStart(2,"0")}`)]})})}),r.jsx(a,{controller:i===!0,children:r.jsx(F,{children:r.jsx(pe,{children:n.codeExpired})})})]}),d===!0&&i===!1?r.jsxs(r.Fragment,{children:[r.jsx(a,{controller:j>=1,children:r.jsx(ee,{children:n.incorrectCode})}),r.jsx(a,{controller:j===2,children:r.jsx(he,{children:r.jsxs(f,{children:[r.jsx(ue,{}),n.accountLockWarning]})})})]}):null,r.jsx(a,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(re,{children:[r.jsx(te,{children:n.codeNotReceived}),r.jsx(ne,{disabled:p>0,onClick:()=>{p===0&&(e.onResendOtp(),u(!1),g(!1),h.setValue(x,""),w(120),C(30))},children:n.resend}),p>0&&r.jsxs(oe,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",p,"s"]})]})}),r.jsxs(ae,{children:[r.jsxs(le,{children:[r.jsx(I,{label:n.cancel,onClick:()=>{e.onCancelVerifyDevice()},style:{width:82}}),r.jsx(I,{variant:"primary",label:n.verify,onClick:()=>{$.trim().length===6&&e.onVerifyOtp($)},style:{width:82},loading:l,disabled:$.trim().length!==6||i===!0})]}),r.jsx(ie,{children:V})]})]})})})]})});var b},U=t.div`
1
+ import{bB as N,a8 as M,a as L,j as r,cG as R,a9 as a,aa as T,cH as _,af as f,cI as H,b as o,B as I,cJ as B,ah as O,cK as z,cL as k,cq as A,C as y,bM as S,cM as q}from"./index-OJbFNHch.js";import{a as s}from"./core-tlHkQPPu.js";import{n as t}from"./mui-kiGMfX4-.js";import{bj as G}from"./zeni-epic-state-Bo1aGezX.js";import{A as J,Z as D}from"./AccountLockedInfoModal-BS5pz9ze-vd3nemno.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./handshake-D4b9T-E0-BvZJz7M_.js";const K=e=>{if(!e)return"";try{const l=z(e);if(!l){const i=e.replace(/\D/g,"");if(i.length>=4){const g=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${g}`}return k(e)||e}const d=l.countryCallingCode,u=l.nationalNumber;return`+${d} (•••) ••• ${u.slice(-4)}`}catch{const l=e.replace(/\D/g,"");if(l.length>=4){const d=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${d}`}return k(e)||e}},n=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",Ee=e=>{const l=e.verifyOtpFetchState==="In-Progress",[d,u]=s.useState(!1),[i,g]=s.useState(!1),[j,P]=s.useState(0),[v,w]=s.useState(120),[p,C]=s.useState(30),E=N(e.verifyOtpFetchState),h=M({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),$=h.watch(x),V=n.footerHelperText.replace(/<button_text>/,n.verify);return s.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(u(!0),P(c=>c+1),h.setValue(x,""))},[E,e.verifyOtpFetchState,h]),s.useEffect(()=>{if(v<=0)return void g(!0);const c=setInterval(()=>{w(m=>m<=1?0:m-1)},1e3);return()=>clearInterval(c)},[v]),s.useEffect(()=>{if(p<=0)return;const c=setInterval(()=>{C(m=>m<=1?0:m-1)},1e3);return()=>clearInterval(c)},[p]),r.jsx(R,{open:!0,children:r.jsxs(U,{children:[r.jsx(a,{controller:j>2,children:r.jsx(J,{unlockDate:G().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(a,{controller:j<=2,children:r.jsx(T,{...h,children:r.jsxs(ce,{children:[r.jsxs(se,{children:[r.jsx(W,{children:n.verifyDeviceTitle}),r.jsx(X,{children:n.verifyDeviceDescription}),r.jsxs(Q,{children:[r.jsx(Z,{children:K(e.phoneNumber+"")}),r.jsx(_,{placement:"top",title:r.jsxs(f,{children:[n.changePhoneNumberHelperText,r.jsx(xe,{href:`mailto:${D}`,children:D})]}),enterDelay:600,children:r.jsx(me,{})})]})]}),r.jsxs(Y,{children:[r.jsx(H,{value:$,valueLength:6,hasError:i===!0||d===!0,style:{margin:o.sp0},onChange:c=>{h.setValue(x,c),u(!1)}}),r.jsx(a,{controller:i===!1,children:r.jsx(F,{children:r.jsxs(de,{children:[n.codeExpiresIn," ",(b=v,`${Math.floor(b/60)}:${(b%60).toString().padStart(2,"0")}`)]})})}),r.jsx(a,{controller:i===!0,children:r.jsx(F,{children:r.jsx(pe,{children:n.codeExpired})})})]}),d===!0&&i===!1?r.jsxs(r.Fragment,{children:[r.jsx(a,{controller:j>=1,children:r.jsx(ee,{children:n.incorrectCode})}),r.jsx(a,{controller:j===2,children:r.jsx(he,{children:r.jsxs(f,{children:[r.jsx(ue,{}),n.accountLockWarning]})})})]}):null,r.jsx(a,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(re,{children:[r.jsx(te,{children:n.codeNotReceived}),r.jsx(ne,{disabled:p>0,onClick:()=>{p===0&&(e.onResendOtp(),u(!1),g(!1),h.setValue(x,""),w(120),C(30))},children:n.resend}),p>0&&r.jsxs(oe,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",p,"s"]})]})}),r.jsxs(ae,{children:[r.jsxs(le,{children:[r.jsx(I,{label:n.cancel,onClick:()=>{e.onCancelVerifyDevice()},style:{width:82}}),r.jsx(I,{variant:"primary",label:n.verify,onClick:()=>{$.trim().length===6&&e.onVerifyOtp($)},style:{width:82},loading:l,disabled:$.trim().length!==6||i===!0})]}),r.jsx(ie,{children:V})]})]})})})]})});var b},U=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${"256px"};
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-DBTaojCw-BTbEMBGt.js","assets/core-tlHkQPPu.js","assets/mixin-XJuHfVsL-Dozz_ZkW.js","assets/hls-CsNM3rq8-NlJdpMmx.js","assets/react-CvWP22DQ-DgwH1WE1.js","assets/zeni-epic-state-Bo1aGezX.js","assets/mui-kiGMfX4-.js","assets/index-BYRTFU-W-YvTg_8TB.js","assets/react-CWXWcDMY-C8y3pdCP.js","assets/react-B2-P-PS--DYmRygxV.js","assets/react-G6j-OGKl--ofewKrH.js","assets/react-CytUn6Kg-Dh6LSVZI.js","assets/react-CWt3gw2R-CPQu_93E.js","assets/react-6Tvfe2S2-C3CHfLw_.js","assets/Preview-Ciq7dXYi-CJfe3XpZ.js"])))=>i.map(i=>d[i]);
2
- import{bf as p}from"./zeni-epic-state-Bo1aGezX.js";import{u as W,j as u,ak as Z,C as q}from"./index-2CdI-B2B.js";import{a as t,d as Y,o as h}from"./core-tlHkQPPu.js";import{n as I,k as H}from"./mui-kiGMfX4-.js";const $=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,L=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,D=/\.(m3u8)($|\?)/i,J=/\.(mpd)($|\?)/i,K=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Q=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,X=/vimeo\.com\/(?!progressive_redirect).+/,ee=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,te=/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]+)/,S=(e,l)=>{if(Array.isArray(e)){for(const a of e)if(typeof a=="string"&&S(a,l)||S(a.src,l))return!0;return!1}return l(e)},m={html:e=>S(e,l=>$.test(l)||L.test(l)),hls:e=>S(e,l=>D.test(l)),dash:e=>S(e,l=>J.test(l)),mux:e=>K.test(e),youtube:e=>Q.test(e),vimeo:e=>X.test(e)&&!L.test(e)&&!D.test(e),wistia:e=>ee.test(e),spotify:e=>te.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)};var oe=h.forwardRef((e,l)=>{const a=$.test(`${e.src}`)?"audio":"video";return h.createElement(a,{...e,ref:l},e.children)}),T=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>p(()=>import("./react-DBTaojCw-BTbEMBGt.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>p(()=>import("./react-CvWP22DQ-DgwH1WE1.js"),__vite__mapDeps([4,5,1,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>p(()=>import("./index-BYRTFU-W-YvTg_8TB.js"),__vite__mapDeps([7,6,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>p(()=>import("./react-CWXWcDMY-C8y3pdCP.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>p(()=>import("./react-B2-P-PS--DYmRygxV.js"),__vite__mapDeps([9,6,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>p(()=>import("./react-G6j-OGKl--ofewKrH.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>p(()=>import("./react-CytUn6Kg-Dh6LSVZI.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>p(()=>import("./react-CWt3gw2R-CPQu_93E.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>p(()=>import("./react-6Tvfe2S2-C3CHfLw_.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:oe}];const ae={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},G=h.forwardRef((e,l)=>{const{playing:a,pip:i}=e,c=e.activePlayer,r=t.useRef(null),f=t.useRef(!0);if(t.useEffect(()=>{var o,n;r.current&&(r.current.paused&&a===!0&&r.current.play(),r.current.paused||a!==!1||r.current.pause(),r.current.playbackRate=(o=e.playbackRate)!=null?o:1,r.current.volume=(n=e.volume)!=null?n:1)}),t.useEffect(()=>{var o,n,s,P,g;if(r.current&&globalThis.document){if(i&&!document.pictureInPictureElement)try{(n=(o=r.current).requestPictureInPicture)==null||n.call(o)}catch{}if(!i&&document.pictureInPictureElement)try{(P=(s=r.current).exitPictureInPicture)==null||P.call(s),(g=document.exitPictureInPicture)==null||g.call(document)}catch{}}},[i]),!c)return null;const E={},_=["onReady","onStart"];for(const o in e)o.startsWith("on")&&!_.includes(o)&&(E[o]=e[o]);return h.createElement(c,{...E,style:e.style,className:e.className,slot:e.slot,ref:t.useCallback(o=>{r.current=o,typeof l=="function"?l(o):l!==null&&(l.current=o)},[l]),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:o=>{var n,s;f.current=!0,(n=e.onReady)==null||n.call(e),(s=e.onLoadStart)==null||s.call(e,o)},onPlay:o=>{var n,s;f.current&&(f.current=!1,(n=e.onStart)==null||n.call(e,o)),(s=e.onPlay)==null||s.call(e,o)}},e.children)});G.displayName="Player";var ne=G;const ie=t.lazy(()=>p(()=>import("./Preview-Ciq7dXYi-CJfe3XpZ.js"),__vite__mapDeps([14,1]))),R=[],U=({children:e})=>e;var V=((e,l)=>{const a=h.forwardRef((i,c)=>{const r={...ae,...i},{src:f,slot:E,className:_,style:o,width:n,height:s,fallback:P,wrapper:g}=r,[k,x]=t.useState(!!r.light);t.useEffect(()=>{r.light?x(!0):x(!1)},[r.light]);const b=w=>{var d;x(!1),(d=r.onClickPreview)==null||d.call(r,w)},v=g??U,A=P===!1?U:t.Suspense;return h.createElement(v,{slot:E,className:_,style:{width:n,height:s,...o}},h.createElement(A,{fallback:P},k?(w=>{if(!w)return null;const{light:d,playIcon:C,previewTabIndex:y,oEmbedUrl:F,previewAriaLabel:O}=r;return h.createElement(ie,{src:w,light:d,playIcon:C,previewTabIndex:y,previewAriaLabel:O,oEmbedUrl:F,onClickPreview:b})})(f):(w=>{var d,C;const y=(j=>{for(const z of[...R,...e])if(j&&z.canPlay(j))return z;return l||null})(w);if(!y)return null;const{style:F,width:O,height:N,wrapper:B}=r,M=(d=r.config)==null?void 0:d[y.key];return h.createElement(ne,{...r,ref:c,activePlayer:(C=y.player)!=null?C:y,slot:B?void 0:E,className:B?void 0:_,style:B?{display:"block",width:"100%",height:"100%"}:{display:"block",width:O,height:N,...F},config:M})})(f)))});return a.displayName="ReactPlayer",a.addCustomPlayer=i=>{R.push(i)},a.removeCustomPlayers=()=>{R.length=0},a.canPlay=i=>{if(i){for(const c of[...R,...e])if(c.canPlay(i))return!0}return!1},a.canEnablePIP=i=>{var c;if(i){for(const r of[...R,...e])if(r.canPlay(i)&&((c=r.canEnablePIP)!=null&&c.call(r)))return!0}return!1},a})(T,T[T.length-1]);const se=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 ve({src:e,autoPlay:l=!0,config:a,controls:i=!0,height:c="100%",isModalOpen:r,loop:f=!1,muted:E=!1,showPlayButton:_=!1,style:o,thumbnail:n,width:s="100%",onEnded:P,onModalClose:g,onPlay:k}){const x=W(),[b,v]=t.useState(!1);t.useEffect(()=>{r===!0&&l?v(!0):r===!1&&v(!1)},[r,l]);const A={};a?.youtube&&(A.youtube=a.youtube);const w=()=>{v(!0),k?.()},d=()=>{v(!1),g?.()},C=()=>{v(!1),P?.(),r!=null&&g?.()},y=()=>{v(!0),k?.()};return r!=null?r?Y.createPortal(u.jsx(fe,{windowSize:x,role:"presentation",children:u.jsx(Z,{onClickAway:d,children:u.jsx(de,{windowSize:x,"data-testid":"video-player-modal",children:u.jsxs(ye,{children:[_&&!b&&u.jsxs(u.Fragment,{children:[n!=null&&n!==""&&u.jsx(pe,{src:n,alt:"Video thumbnail"}),u.jsx(ue,{onClick:w,children:u.jsx(me,{windowSize:x})})]}),(!_||b)&&u.jsx(V,{src:e,playing:b,controls:i,muted:E,loop:f,width:"100%",height:"100%",onEnded:C,onPlay:y,config:A})]})})})}),document.body):null:u.jsx(V,{src:e,playing:b,controls:i,muted:E,loop:f,width:s,height:c,style:o,light:!(!_||b)&&(n??!0),onEnded:C,onPlay:y,config:A})}const ce=H`
2
+ import{bf as p}from"./zeni-epic-state-Bo1aGezX.js";import{u as W,j as u,ak as Z,C as q}from"./index-OJbFNHch.js";import{a as t,d as Y,o as h}from"./core-tlHkQPPu.js";import{n as I,k as H}from"./mui-kiGMfX4-.js";const $=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,L=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,D=/\.(m3u8)($|\?)/i,J=/\.(mpd)($|\?)/i,K=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Q=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,X=/vimeo\.com\/(?!progressive_redirect).+/,ee=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,te=/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]+)/,S=(e,l)=>{if(Array.isArray(e)){for(const a of e)if(typeof a=="string"&&S(a,l)||S(a.src,l))return!0;return!1}return l(e)},m={html:e=>S(e,l=>$.test(l)||L.test(l)),hls:e=>S(e,l=>D.test(l)),dash:e=>S(e,l=>J.test(l)),mux:e=>K.test(e),youtube:e=>Q.test(e),vimeo:e=>X.test(e)&&!L.test(e)&&!D.test(e),wistia:e=>ee.test(e),spotify:e=>te.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)};var oe=h.forwardRef((e,l)=>{const a=$.test(`${e.src}`)?"audio":"video";return h.createElement(a,{...e,ref:l},e.children)}),T=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>p(()=>import("./react-DBTaojCw-BTbEMBGt.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>p(()=>import("./react-CvWP22DQ-DgwH1WE1.js"),__vite__mapDeps([4,5,1,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>p(()=>import("./index-BYRTFU-W-YvTg_8TB.js"),__vite__mapDeps([7,6,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>p(()=>import("./react-CWXWcDMY-C8y3pdCP.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>p(()=>import("./react-B2-P-PS--DYmRygxV.js"),__vite__mapDeps([9,6,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>p(()=>import("./react-G6j-OGKl--ofewKrH.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>p(()=>import("./react-CytUn6Kg-Dh6LSVZI.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>p(()=>import("./react-CWt3gw2R-CPQu_93E.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>p(()=>import("./react-6Tvfe2S2-C3CHfLw_.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:oe}];const ae={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},G=h.forwardRef((e,l)=>{const{playing:a,pip:i}=e,c=e.activePlayer,r=t.useRef(null),f=t.useRef(!0);if(t.useEffect(()=>{var o,n;r.current&&(r.current.paused&&a===!0&&r.current.play(),r.current.paused||a!==!1||r.current.pause(),r.current.playbackRate=(o=e.playbackRate)!=null?o:1,r.current.volume=(n=e.volume)!=null?n:1)}),t.useEffect(()=>{var o,n,s,P,g;if(r.current&&globalThis.document){if(i&&!document.pictureInPictureElement)try{(n=(o=r.current).requestPictureInPicture)==null||n.call(o)}catch{}if(!i&&document.pictureInPictureElement)try{(P=(s=r.current).exitPictureInPicture)==null||P.call(s),(g=document.exitPictureInPicture)==null||g.call(document)}catch{}}},[i]),!c)return null;const E={},_=["onReady","onStart"];for(const o in e)o.startsWith("on")&&!_.includes(o)&&(E[o]=e[o]);return h.createElement(c,{...E,style:e.style,className:e.className,slot:e.slot,ref:t.useCallback(o=>{r.current=o,typeof l=="function"?l(o):l!==null&&(l.current=o)},[l]),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:o=>{var n,s;f.current=!0,(n=e.onReady)==null||n.call(e),(s=e.onLoadStart)==null||s.call(e,o)},onPlay:o=>{var n,s;f.current&&(f.current=!1,(n=e.onStart)==null||n.call(e,o)),(s=e.onPlay)==null||s.call(e,o)}},e.children)});G.displayName="Player";var ne=G;const ie=t.lazy(()=>p(()=>import("./Preview-Ciq7dXYi-CJfe3XpZ.js"),__vite__mapDeps([14,1]))),R=[],U=({children:e})=>e;var V=((e,l)=>{const a=h.forwardRef((i,c)=>{const r={...ae,...i},{src:f,slot:E,className:_,style:o,width:n,height:s,fallback:P,wrapper:g}=r,[k,x]=t.useState(!!r.light);t.useEffect(()=>{r.light?x(!0):x(!1)},[r.light]);const b=w=>{var d;x(!1),(d=r.onClickPreview)==null||d.call(r,w)},v=g??U,A=P===!1?U:t.Suspense;return h.createElement(v,{slot:E,className:_,style:{width:n,height:s,...o}},h.createElement(A,{fallback:P},k?(w=>{if(!w)return null;const{light:d,playIcon:C,previewTabIndex:y,oEmbedUrl:F,previewAriaLabel:O}=r;return h.createElement(ie,{src:w,light:d,playIcon:C,previewTabIndex:y,previewAriaLabel:O,oEmbedUrl:F,onClickPreview:b})})(f):(w=>{var d,C;const y=(j=>{for(const z of[...R,...e])if(j&&z.canPlay(j))return z;return l||null})(w);if(!y)return null;const{style:F,width:O,height:N,wrapper:B}=r,M=(d=r.config)==null?void 0:d[y.key];return h.createElement(ne,{...r,ref:c,activePlayer:(C=y.player)!=null?C:y,slot:B?void 0:E,className:B?void 0:_,style:B?{display:"block",width:"100%",height:"100%"}:{display:"block",width:O,height:N,...F},config:M})})(f)))});return a.displayName="ReactPlayer",a.addCustomPlayer=i=>{R.push(i)},a.removeCustomPlayers=()=>{R.length=0},a.canPlay=i=>{if(i){for(const c of[...R,...e])if(c.canPlay(i))return!0}return!1},a.canEnablePIP=i=>{var c;if(i){for(const r of[...R,...e])if(r.canPlay(i)&&((c=r.canEnablePIP)!=null&&c.call(r)))return!0}return!1},a})(T,T[T.length-1]);const se=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 ve({src:e,autoPlay:l=!0,config:a,controls:i=!0,height:c="100%",isModalOpen:r,loop:f=!1,muted:E=!1,showPlayButton:_=!1,style:o,thumbnail:n,width:s="100%",onEnded:P,onModalClose:g,onPlay:k}){const x=W(),[b,v]=t.useState(!1);t.useEffect(()=>{r===!0&&l?v(!0):r===!1&&v(!1)},[r,l]);const A={};a?.youtube&&(A.youtube=a.youtube);const w=()=>{v(!0),k?.()},d=()=>{v(!1),g?.()},C=()=>{v(!1),P?.(),r!=null&&g?.()},y=()=>{v(!0),k?.()};return r!=null?r?Y.createPortal(u.jsx(fe,{windowSize:x,role:"presentation",children:u.jsx(Z,{onClickAway:d,children:u.jsx(de,{windowSize:x,"data-testid":"video-player-modal",children:u.jsxs(ye,{children:[_&&!b&&u.jsxs(u.Fragment,{children:[n!=null&&n!==""&&u.jsx(pe,{src:n,alt:"Video thumbnail"}),u.jsx(ue,{onClick:w,children:u.jsx(me,{windowSize:x})})]}),(!_||b)&&u.jsx(V,{src:e,playing:b,controls:i,muted:E,loop:f,width:"100%",height:"100%",onEnded:C,onPlay:y,config:A})]})})})}),document.body):null:u.jsx(V,{src:e,playing:b,controls:i,muted:E,loop:f,width:s,height:c,style:o,light:!(!_||b)&&(n??!0),onEnded:C,onPlay:y,config:A})}const ce=H`
3
3
  0% {
4
4
  transform: rotate(0deg);
5
5
  }
@@ -1,4 +1,4 @@
1
- import{u as d,j as i,ak as a,bm as l,C as c,b as n,R as r}from"./index-2CdI-B2B.js";import{n as t}from"./mui-kiGMfX4-.js";import{T as h}from"./VideoPlayer-DVIeTdLq-CMw9Re6n.js";const s={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
1
+ import{u as d,j as i,ak as a,bm as l,C as c,b as n,R as r}from"./index-OJbFNHch.js";import{n as t}from"./mui-kiGMfX4-.js";import{T as h}from"./VideoPlayer-DVIeTdLq-C7AoMVy0.js";const s={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,4 +1,4 @@
1
- import{u as I,a as j,j as s,c as S,S as B,B as D,t as L,b as n,R as g,d as M,e as E,f as z,H as P,C as $,g as R,h as N,s as d,L as T}from"./index-2CdI-B2B.js";import{n as t}from"./mui-kiGMfX4-.js";import{cH as A}from"./zeni-epic-state-Bo1aGezX.js";import"./core-tlHkQPPu.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const e=j.getLocalizedStrings(),u={navBarHeight:new g(62,62,62),navBarPaddingLeft:new g(d[3],d[3],d[8]),navBarPaddingRight:new g(d[3],d[3],d[8]),navBarPaddingTop:new g(12,12,d[3]),navBarPaddingBottom:new g(12,12,19)},H={title:new M("largeMedium","largeSemiBold")},ue=({companyView:o,allUsers:a,onRetryBankAccountConnection:r,onCloseClick:C})=>{const k=I(),b=o!=null?A(o):0,f=o?.onboardingInfo?.bankAccountLinked,v=o?.onboardingInfo?.qboLinked,w=o?.onboardingInfo?.identityVerified,h=o?.onboardingInfo?.businessVerified,y=o?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",p=[];if(f!=null){const i=a.find(m=>m.userId===f.userIds[0]),{errorMessage:c,successMessage:l}=F(f,y,i);p.push({status:c!=null?"Error":l!=null?"Complete":"Incomplete",userInfo:i,message:c??l??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:r})}if(v!=null){const i=a.find(m=>m.userId===v.userIds[0]),{errorMessage:c,successMessage:l}=O(v,y,i);p.push({status:c!=null?"Error":l!=null?"Complete":"Incomplete",userInfo:i,message:c??l??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(w!=null){const i=a.find(m=>m.userId===w.userIds[0]),{errorMessage:c,successMessage:l}=Q(w,y,i);p.push({status:c!=null?"Error":l!=null?"Complete":"Incomplete",userInfo:i,message:c??l??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${w.status}`})}if(h!=null){const i=a.find(m=>m.userId===h.userIds[0]),{errorMessage:c,successMessage:l}=G(h,y,i);p.push({status:c!=null?"Error":l!=null?"Complete":"Incomplete",userInfo:i,message:c??l??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${h.status}`})}return s.jsxs(V,{children:[s.jsx(W,{windowSize:k,children:s.jsx(q,{children:s.jsxs(J,{windowSize:k,children:[s.jsx(K,{windowSize:k,children:o?.name}),s.jsx(se,{onClick:C})]})})}),s.jsxs(_,{children:[s.jsx(U,{children:b>0?s.jsxs(x,{children:[s.jsx(x,{children:S(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${b}${e.common.strings.closingBrace}`})]}):s.jsx(x,{children:`${e.common.no}
1
+ import{u as I,a as j,j as s,c as S,S as B,B as D,t as L,b as n,R as g,d as M,e as E,f as z,H as P,C as $,g as R,h as N,s as d,L as T}from"./index-OJbFNHch.js";import{n as t}from"./mui-kiGMfX4-.js";import{cH as A}from"./zeni-epic-state-Bo1aGezX.js";import"./core-tlHkQPPu.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const e=j.getLocalizedStrings(),u={navBarHeight:new g(62,62,62),navBarPaddingLeft:new g(d[3],d[3],d[8]),navBarPaddingRight:new g(d[3],d[3],d[8]),navBarPaddingTop:new g(12,12,d[3]),navBarPaddingBottom:new g(12,12,19)},H={title:new M("largeMedium","largeSemiBold")},ue=({companyView:o,allUsers:a,onRetryBankAccountConnection:r,onCloseClick:C})=>{const k=I(),b=o!=null?A(o):0,f=o?.onboardingInfo?.bankAccountLinked,v=o?.onboardingInfo?.qboLinked,w=o?.onboardingInfo?.identityVerified,h=o?.onboardingInfo?.businessVerified,y=o?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",p=[];if(f!=null){const i=a.find(m=>m.userId===f.userIds[0]),{errorMessage:c,successMessage:l}=F(f,y,i);p.push({status:c!=null?"Error":l!=null?"Complete":"Incomplete",userInfo:i,message:c??l??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:r})}if(v!=null){const i=a.find(m=>m.userId===v.userIds[0]),{errorMessage:c,successMessage:l}=O(v,y,i);p.push({status:c!=null?"Error":l!=null?"Complete":"Incomplete",userInfo:i,message:c??l??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(w!=null){const i=a.find(m=>m.userId===w.userIds[0]),{errorMessage:c,successMessage:l}=Q(w,y,i);p.push({status:c!=null?"Error":l!=null?"Complete":"Incomplete",userInfo:i,message:c??l??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${w.status}`})}if(h!=null){const i=a.find(m=>m.userId===h.userIds[0]),{errorMessage:c,successMessage:l}=G(h,y,i);p.push({status:c!=null?"Error":l!=null?"Complete":"Incomplete",userInfo:i,message:c??l??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${h.status}`})}return s.jsxs(V,{children:[s.jsx(W,{windowSize:k,children:s.jsx(q,{children:s.jsxs(J,{windowSize:k,children:[s.jsx(K,{windowSize:k,children:o?.name}),s.jsx(se,{onClick:C})]})})}),s.jsxs(_,{children:[s.jsx(U,{children:b>0?s.jsxs(x,{children:[s.jsx(x,{children:S(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${b}${e.common.strings.closingBrace}`})]}):s.jsx(x,{children:`${e.common.no}
2
2
  ${S(e.cockpit.review.warningsDrawer.issueFound)}`})}),p.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(re,{}):i.status==="Error"?s.jsx(B,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(oe,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(D,{label:e.common.retry,onClick:i.onClickRetry,loading:o?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...L.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},F=(o,a,r)=>({errorMessage:o.error===!0?o.errorDetails!=null?o.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,successMessage:o.completed===!0?r!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${r.firstName} ${r.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null}),O=(o,a,r)=>({errorMessage:o.error===!0?o.errorDetails!=null?o.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,successMessage:o.completed===!0?r!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${r.firstName} ${r.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null}),Q=(o,a,r)=>({errorMessage:o.status==="Error"?r!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${r.firstName} ${r.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,successMessage:o.status==="Complete"?r!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${r.firstName} ${r.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null}),G=(o,a,r)=>({errorMessage:o.status==="Error"?r!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${r.firstName} ${r.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,successMessage:o.status==="Complete"?r!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${r.firstName} ${r.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null}),V=t.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{a8 as De,u as H,a$ as Te,i as pe,bB as Pe,j as t,a as _,bn as P,cH as B,b as o,cf as Be,t as z,dc as O,dd as W,de as F,aa as Le,fF as Ne,C as y,dN as He,bm as v,A as ue,af as w,cq as Me,cz as Ee,bq as Re,R as j,ig as Ie,gC as ae,s as p,iS as Ue,cu as Oe,bS as We,bR as Fe,cv as Ve,ah as X,iT as Ge,bH as Ye,bz as qe,iU as Je,L as Ke,iV as _e,g as Xe,ii as Ze,dU as Qe,ai as et,d as tt,d6 as ot}from"./index-2CdI-B2B.js";import{a as r}from"./core-tlHkQPPu.js";import{n as a}from"./mui-kiGMfX4-.js";import{fS as at,bO as V}from"./zeni-epic-state-Bo1aGezX.js";import{s as it}from"./BoxItem-B6Qj2tSj-aLWYhGMW.js";import{t as nt}from"./downloadPdf-C0_jxUh_-bREzf3Cq.js";import{c as lt}from"./DepositAccTransactionItem-C36JnddA-CD1u3HOE.js";import{h as rt}from"./ZeniAccountNavBarPieces-2a3O6Mrv-CEltxOUL.js";import{o as st}from"./AreaChart-2AgE74bB-juQGB2-h.js";import{_ as ct}from"./Area-Sl30rGq6-WMXLxt2t.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./commonDimensions-B2oTTz3C-DxkHqcKn.js";const dt=a.div`
1
+ import{a8 as De,u as H,a$ as Te,i as pe,bB as Pe,j as t,a as _,bn as P,cH as B,b as o,cf as Be,t as z,dc as O,dd as W,de as F,aa as Le,fF as Ne,C as y,dN as He,bm as v,A as ue,af as w,cq as Me,cz as Ee,bq as Re,R as j,ig as Ie,gC as ae,s as p,iS as Ue,cu as Oe,bS as We,bR as Fe,cv as Ve,ah as X,iT as Ge,bH as Ye,bz as qe,iU as Je,L as Ke,iV as _e,g as Xe,ii as Ze,dU as Qe,ai as et,d as tt,d6 as ot}from"./index-OJbFNHch.js";import{a as r}from"./core-tlHkQPPu.js";import{n as a}from"./mui-kiGMfX4-.js";import{fS as at,bO as V}from"./zeni-epic-state-Bo1aGezX.js";import{s as it}from"./BoxItem-B6Qj2tSj-J1Dptt9x.js";import{t as nt}from"./downloadPdf-C0_jxUh_-xl909S0g.js";import{c as lt}from"./DepositAccTransactionItem-C36JnddA-BuRFl8Tj.js";import{h as rt}from"./ZeniAccountNavBarPieces-2a3O6Mrv-Bn4VbLw2.js";import{o as st}from"./AreaChart-2AgE74bB-DgDnH-B0.js";import{_ as ct}from"./Area-Sl30rGq6-CogxmVvt.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";import"./commonDimensions-B2oTTz3C-BcwGbjhJ.js";const dt=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{u as J,a8 as Me,bB as Ie,i as _e,bv as Ee,a as K,bo as De,j as n,dc as W,C as o,aa as Fe,b as t,fF as Re,dN as Ge,dd as te,de as ie,iN as Ne,bn as R,cH as fe,cf as Ue,t as S,as as Oe,ah as We,L as Ye,cP as Ve,cq as ye,af as b,a$ as Ze,d4 as qe,gC as F,bm as G,R as j,ai as X,iO as He,d as Qe,e as Je,aj as Ke,dP as Xe,d6 as en,hr as nn,s as u,f4 as tn,h3 as on,iP as rn,B as sn,iQ as an,cz as cn,bq as ln}from"./index-2CdI-B2B.js";import{a as g}from"./core-tlHkQPPu.js";import{n as i}from"./mui-kiGMfX4-.js";import{fS as dn}from"./zeni-epic-state-Bo1aGezX.js";import{t as pn}from"./auto-transfer-rule-D1bNopxW-BXcmbJh5.js";import{t as un}from"./shield-E_rJ2OWj-kTEIYW8Q.js";import{h as mn}from"./ZeniAccountNavBarPieces-2a3O6Mrv-CEltxOUL.js";import{d as hn}from"./ZeniTransferAmountSlider-CPHnjZJx-BmCI7vMf.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=K.getLocalizedStrings(),gn=({yieldPercentage:e=4.35,insuredAmount:s=5e5,onGetStartedClick:y,style:z})=>{const r=J(),C=(l,M)=>Object.entries(M).reduce((I,[A,w])=>I.replace(new RegExp(`__${A}__`,"g"),w),l),B=`${e}%`,T=(f=s,`$${Intl.NumberFormat("en",{notation:"compact"}).format(f)}`);var f;const v=[{icon:n.jsx(An,{}),title:C(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:n.jsx(Sn,{}),title:C(m.features.insured,{insuredAmount:T}),id:"insured"},{icon:n.jsx(zn,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:n.jsx(Cn,{}),title:m.features.automation,id:"automation"}];return n.jsxs(xn,{style:z,children:[n.jsx(wn,{}),r!=="small"&&n.jsxs(n.Fragment,{children:[n.jsx($n,{}),n.jsx(fn,{})]}),n.jsx(yn,{windowSize:r,children:r==="small"?n.jsxs(n.Fragment,{children:[n.jsxs(kn,{children:[n.jsx(re,{windowSize:r,children:n.jsx(se,{windowSize:r})}),n.jsx(ae,{children:m.title})]}),n.jsx(ce,{windowSize:r,children:v.map(l=>n.jsxs(le,{windowSize:r,children:[n.jsx(de,{children:l.icon}),n.jsxs(pe,{children:[l.title,l.showAsterisk===!0&&n.jsx(ue,{children:"*"})]})]},l.id))}),n.jsx(jn,{children:n.jsx(me,{children:n.jsx(he,{variant:"primary",label:m.button,onClick:y,size:"small",style:{padding:`${t.sp1} 12px`}})})}),n.jsx(ge,{windowSize:r,children:n.jsxs(xe,{windowSize:r,children:[m.disclaimer.split("__termsLink__")[0],n.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):n.jsxs(n.Fragment,{children:[n.jsx(re,{windowSize:r,children:n.jsx(se,{windowSize:r})}),n.jsxs(bn,{windowSize:r,children:[n.jsx(ae,{children:m.title}),n.jsx(ce,{windowSize:r,children:v.map(l=>n.jsxs(le,{windowSize:r,children:[n.jsx(de,{children:l.icon}),n.jsxs(pe,{children:[l.title,l.showAsterisk===!0&&n.jsx(ue,{children:"*"})]})]},l.id))}),n.jsx(ge,{windowSize:r,children:n.jsxs(xe,{windowSize:r,children:[m.disclaimer.split("__termsLink__")[0],n.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),n.jsx(me,{children:n.jsx(he,{variant:"primary",label:m.button,onClick:y,size:"small",style:{padding:`${t.sp1} 12px`}})})]})})]})},xn=i.div`
1
+ import{u as J,a8 as Me,bB as Ie,i as _e,bv as Ee,a as K,bo as De,j as n,dc as W,C as o,aa as Fe,b as t,fF as Re,dN as Ge,dd as te,de as ie,iN as Ne,bn as R,cH as fe,cf as Ue,t as S,as as Oe,ah as We,L as Ye,cP as Ve,cq as ye,af as b,a$ as Ze,d4 as qe,gC as F,bm as G,R as j,ai as X,iO as He,d as Qe,e as Je,aj as Ke,dP as Xe,d6 as en,hr as nn,s as u,f4 as tn,h3 as on,iP as rn,B as sn,iQ as an,cz as cn,bq as ln}from"./index-OJbFNHch.js";import{a as g}from"./core-tlHkQPPu.js";import{n as i}from"./mui-kiGMfX4-.js";import{fS as dn}from"./zeni-epic-state-Bo1aGezX.js";import{t as pn}from"./auto-transfer-rule-D1bNopxW-BXcmbJh5.js";import{t as un}from"./shield-E_rJ2OWj-kTEIYW8Q.js";import{h as mn}from"./ZeniAccountNavBarPieces-2a3O6Mrv-Bn4VbLw2.js";import{d as hn}from"./ZeniTransferAmountSlider-CPHnjZJx-BGffL5pM.js";import"./sentry-Dhk5jNhq.js";import"./liveblocks-BrzOBACZ.js";import"./utils-BLUF9kAp.js";import"./analytics-CeQu-r45.js";const{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=K.getLocalizedStrings(),gn=({yieldPercentage:e=4.35,insuredAmount:s=5e5,onGetStartedClick:y,style:z})=>{const r=J(),C=(l,M)=>Object.entries(M).reduce((I,[A,w])=>I.replace(new RegExp(`__${A}__`,"g"),w),l),B=`${e}%`,T=(f=s,`$${Intl.NumberFormat("en",{notation:"compact"}).format(f)}`);var f;const v=[{icon:n.jsx(An,{}),title:C(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:n.jsx(Sn,{}),title:C(m.features.insured,{insuredAmount:T}),id:"insured"},{icon:n.jsx(zn,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:n.jsx(Cn,{}),title:m.features.automation,id:"automation"}];return n.jsxs(xn,{style:z,children:[n.jsx(wn,{}),r!=="small"&&n.jsxs(n.Fragment,{children:[n.jsx($n,{}),n.jsx(fn,{})]}),n.jsx(yn,{windowSize:r,children:r==="small"?n.jsxs(n.Fragment,{children:[n.jsxs(kn,{children:[n.jsx(re,{windowSize:r,children:n.jsx(se,{windowSize:r})}),n.jsx(ae,{children:m.title})]}),n.jsx(ce,{windowSize:r,children:v.map(l=>n.jsxs(le,{windowSize:r,children:[n.jsx(de,{children:l.icon}),n.jsxs(pe,{children:[l.title,l.showAsterisk===!0&&n.jsx(ue,{children:"*"})]})]},l.id))}),n.jsx(jn,{children:n.jsx(me,{children:n.jsx(he,{variant:"primary",label:m.button,onClick:y,size:"small",style:{padding:`${t.sp1} 12px`}})})}),n.jsx(ge,{windowSize:r,children:n.jsxs(xe,{windowSize:r,children:[m.disclaimer.split("__termsLink__")[0],n.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):n.jsxs(n.Fragment,{children:[n.jsx(re,{windowSize:r,children:n.jsx(se,{windowSize:r})}),n.jsxs(bn,{windowSize:r,children:[n.jsx(ae,{children:m.title}),n.jsx(ce,{windowSize:r,children:v.map(l=>n.jsxs(le,{windowSize:r,children:[n.jsx(de,{children:l.icon}),n.jsxs(pe,{children:[l.title,l.showAsterisk===!0&&n.jsx(ue,{children:"*"})]})]},l.id))}),n.jsx(ge,{windowSize:r,children:n.jsxs(xe,{windowSize:r,children:[m.disclaimer.split("__termsLink__")[0],n.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),n.jsx(me,{children:n.jsx(he,{variant:"primary",label:m.button,onClick:y,size:"small",style:{padding:`${t.sp1} 12px`}})})]})})]})},xn=i.div`
2
2
  position: relative;
3
3
  display: flex;
4
4
  flex-direction: column;